{"version":3,"sources":["webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue?b090","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.ts","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue","webpack:///./src/core/utils/thermo-preferences.utils.ts","webpack:///./src/assets/images/icons/icon-arrows-down.svg","webpack:///./src/assets/images/icons/icon-checkbox-disabled.svg","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/DialogThermoObjectSettings.scss?5595","webpack:///./src/assets/images/icons/icon-add-circle-outline.svg","webpack:///./node_modules/core-js/modules/es.object.from-entries.js","webpack:///./src/views/pages/PlantDetail/PlantRoom/PlantRoom.vue?f8b7","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/RoomObjectGroup.vue?8453","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogCommandIcon/DialogCommandIcon.vue?62b5","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogCommandIcon/DialogCommandIcon.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogCommandIcon/DialogCommandIcon.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogObjectSettings/DialogObjectSettings.vue?d0e0","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogObjectSettings/DialogObjectSettings.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogObjectSettings/DialogObjectSettings.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/DialogThermoObjectSettings.vue?8e65","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/ThermostatPreferences/ThermostatPreferences.vue?a73e","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/ThermostatPreferences/ThermostatPreferences.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/ThermostatPreferences/ThermostatPreferences.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/DialogThermoObjectSettings.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/DialogThermoObjectSettings/DialogThermoObjectSettings.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/RoomObjectGroup.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/RoomObjectGroup/RoomObjectGroup.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfigureRoom/DialogConfigureRoom.vue?bf65","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfigureRoom/DialogConfigureRoom.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfigureRoom/DialogConfigureRoom.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfirmDeleteRoom/DialogConfirmDeleteRoom.vue?39a0","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfirmDeleteRoom/DialogConfirmDeleteRoom.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfirmDeleteRoom/DialogConfirmDeleteRoom.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/PlantRoom.ts","webpack:///./src/views/pages/PlantDetail/PlantRoom/PlantRoom.vue","webpack:///./src/views/pages/PlantDetail/PlantRoom/DialogConfigureRoom/DialogConfigureRoom.scss?a870","webpack:///./src/views/components/ThermostatPreferencesComponents lazy ^\\.\\/Preference.*\\.vue$ namespace object"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","render","_ctx","_cache","$props","$setup","$data","$options","_component_InlineSvgScoped","_component_Button","_component_Dialog","visible","isDialogVisible","$event","onHide","doHideDialog","modal","showHeader","closable","default","src","dialogTitle","dialogMessage","onClick","handleHideDialog","$t","_","doConfirm","this","title","message","isVisible","$emit","name","props","type","Boolean","required","String","watch","newValue","emits","__exports__","ThermoSettingsRegion","getThermoPreferencesSections","preferences","Object","values","filter","value","map","p","label","global","t","loadThermoPreferencesSectionsComponents","fromEntries","module","exports","$","iterate","createProperty","target","stat","iterable","obj","k","v","AS_ENTRIES","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","key","_hoisted_11","_component_router_link","_component_Divider","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_RoomObjectGroup","_component_DialogConfigureRoom","_component_DialogConfirmDeleteRoom","to","backLink","currentRoom","toggleAddRoomObjectDialog","roomEditEnabled","layout","trigger","placement","dropdown","style","toggleConfigureRoomDialog","hasObjects","toggleDeleteRoomConfirm","countConfigurationToEnd","roomObjects","roomObject","id","room","roomConfigEnabled","roomObjectDeleteEnabled","onDeleteObject","handleDeleteObject","isVisibleDialogConfigureRoom","currentPlant","desktopId","roomId","onHideDialog","isVisibleDeleteRoomConfirm","onOkDialog","deleteRoom","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_component_Card","_component_DialogCommandIcon","_component_DialogObjectSettings","_component_DialogThermoObjectSettings","_component_DialogConfirmDelete","$attrs","content","getObjectIconFromType","getObjectDescLabel","hasConfigurationToEnd","hideConfig","goToAssignObject","toggleDeleteObjectConfirm","disableActions","RoomObjectType","AlarmSensor","roomObjectDevices","length","device","getDeviceIcon","model","getConfiguredChannelsOrModulesText","defaultSettings","hasDeviceSettingsButtonVisible","getConfiguredChannelsOrModulesSettings","toggleDialogObjectSettings","hasDeviceCommandIconButtonVisible","toggleDialogCommandIcon","isThermoRoomObject","toggleDialogThermoObjectSettings","extDevices","extDevice","i","getExtDeviceIconFromType","componentType","getExtDeviceIdentifier","getExtDeviceActiveLink","Thermostat99zones","getThermo99Description","selectedDefaultSettings","isVisibleDialogCommandIcon","isVisibleDialogObjectSettings","isVisibleDialogThermoObjectSettings","$route","params","plantId","isVisibleDeleteObjectConfirm","onConfirm","_component_CommandIconComponent","deviceName","readonly","components","CommandIconComponent","_component_ObjectSettings","plantRoomObjectSettingsEditDialog","ObjectSettings","computed","_component_ThermostatPreferences","_component_ElScrollbar","_component_AccordionTab","_component_Accordion","preferencesList","header","preferenceComponent","currentPreference","preferenceComponentName","$store","dispatch","plants","thermoGET","roomObjectId","fetchRoomObject","ThermostatPreferences","Thermostat","$router","push","query","roomType","roomName","devices","devicesToClone","isAssignedActuatorAndCommand","deviceToClone","selectedComponentType","Command","concat","activeLinksLabel","DialogConfirmDelete","DialogCommandIcon","DialogObjectSettings","DialogThermoObjectSettings","for","_component_InputText","_component_SelectButton","_component_ProgressSpinner","isValidName","modelValue","theRoom","invalidNameReason","options","roomTypes","optionLabel","optionValue","option","slotProps","getRoomIcon","doSubmit","disabled","lockSave","isLoading","fetchRoomTypes","fromJS","initialName","verifyValidityOfName","isValidEntityTypeName","validName","suggestNextValidEntityName","eType","ROOM","metadata","suggestedName","trim","defaultRoomsList","forEach","r","console","log","roomsPUT","$emitter","emit","messageError","status","toString","$toast","add","severity","summary","life","Number","requred","handleOkDialog","isVisibleDialogAssignObject","getRoomIconFromType","objects","x","Alarm","sort","a","b","rooms","find","refresh","prefetchFlatEntities","ROOM_OBJECT","doUpdate","flushCache","roomsDELETE","object","deleteRoomObject","RoomObjectGroup","DialogConfigureRoom","DialogConfirmDeleteRoom","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","keys"],"mappings":"4JAEMA,EAAa,CAAEC,MAAO,wBACtBC,EAAa,CAAED,MAAO,yBACtBE,EAAa,CAAEF,MAAO,2BACtBG,EAA0B,yBAAa,KAAM,KAAM,MAAO,GAC1DC,EAAa,CAAEJ,MAAO,0BAEtB,SAAUK,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAoB,8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AO9P,OAAO8P,KAAK1P,IAEpB+O,EAAoB7L,GAAK,OACzB3C,EAAOC,QAAUuO","file":"js/page-plant-room.be6d55d4.js","sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon text-primary\" }\nconst _hoisted_2 = { class: \"dialog-confirm__title\" }\nconst _hoisted_3 = { class: \"dialog-confirm__message\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_5 = { class: \"dialog-confirm__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-confirm\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert-medium-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"h5\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.dialogMessage), 1),\n _hoisted_4,\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-button-secondary text-uppercase mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.doConfirm\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'DialogConfirmDelete',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n})\nexport default class DialogConfirmDelete extends Vue {\n isVisible!: boolean;\n title!: string;\n message!: string;\n isDialogVisible = false;\n\n get dialogTitle() {\n return this.title;\n }\n\n get dialogMessage() {\n return this.message;\n }\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogConfirmDelete.vue?vue&type=template&id=009d4b24&ts=true\"\nimport script from \"./DialogConfirmDelete.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDelete.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineAsyncComponent } from 'vue';\nimport i18n from '../translations/i18n';\n\nexport enum ThermoSettingsRegion {\n CelsiusFahrenheit,\n TemperatureRange,\n CirculationPumpDelay,\n ButtonsManagement,\n Backlight,\n RegulationBand,\n WindowsContact,\n AutoCommutation,\n ExternalSensorType,\n}\n\nexport type ThermoSettingsPreference = {\n value: ThermoSettingsRegion | string;\n label: string;\n};\n\nconst getThermoPreferencesSections = (): ThermoSettingsPreference[] => {\n const preferences = Object.values(ThermoSettingsRegion).filter(\n (value) => typeof value !== 'number'\n );\n\n return preferences.map((p) => ({\n value: p,\n label: i18n.global.t(`AppResource.${p}`),\n }));\n};\n\nconst loadThermoPreferencesSectionsComponents = () =>\n Object.fromEntries(\n Object.values(ThermoSettingsRegion)\n .filter((value) => typeof value !== 'number')\n .map((value) => [\n `Preference${value}`,\n defineAsyncComponent(\n () =>\n import(\n `@/views/components/ThermostatPreferencesComponents/Preference${value}/Preference${value}.vue`\n )\n ),\n ])\n );\n\nexport {\n getThermoPreferencesSections,\n loadThermoPreferencesSectionsComponents,\n};\n","module.exports = __webpack_public_path__ + \"img/icon-arrows-down.d33a9aed.svg\";","module.exports = __webpack_public_path__ + \"img/icon-checkbox-disabled.e73b0c58.svg\";","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./DialogThermoObjectSettings.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-add-circle-outline.37b9f1a7.svg\";","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","import { createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-4\" }\nconst _hoisted_2 = { class: \"d-flex align-items-start\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-chevron-left mr-1\" }, null, -1)\nconst _hoisted_4 = { class: \"mt-2\" }\nconst _hoisted_5 = { class: \"ml-auto d-flex align-items-center\" }\nconst _hoisted_6 = { class: \"btn-stripped d-flex align-items-center w-100\" }\nconst _hoisted_7 = { class: \"btn-stripped d-flex align-items-center w-100\" }\nconst _hoisted_8 = { class: \"text-danger\" }\nconst _hoisted_9 = { class: \"fs-18 text-gray\" }\nconst _hoisted_10 = {\n key: 1,\n class: \"py-5 text-center\"\n}\nconst _hoisted_11 = { class: \"fs-18 text-gray\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Divider = _resolveComponent(\"Divider\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_ElDropdownItem = _resolveComponent(\"ElDropdownItem\")\n const _component_ElDropdownMenu = _resolveComponent(\"ElDropdownMenu\")\n const _component_ElDropdown = _resolveComponent(\"ElDropdown\")\n const _component_RoomObjectGroup = _resolveComponent(\"RoomObjectGroup\")\n const _component_DialogConfigureRoom = _resolveComponent(\"DialogConfigureRoom\")\n const _component_DialogConfirmDeleteRoom = _resolveComponent(\"DialogConfirmDeleteRoom\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", null, [\n _createVNode(_component_router_link, {\n to: _ctx.backLink,\n class: \"fs-18 text-decoration-none text-gray\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\"general.backTo\")) + \": \" + _toDisplayString(_ctx.$t(\"AppResource.Structure\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(\"h1\", _hoisted_4, _toDisplayString(_ctx.currentRoom.name), 1)\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button-raised p-button--m\",\n onClick: _ctx.toggleAddRoomObjectDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"plantDetail.addObjects\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n (_ctx.roomEditEnabled)\n ? (_openBlock(), _createBlock(_component_Divider, {\n key: 0,\n layout: \"vertical\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.roomEditEnabled)\n ? (_openBlock(), _createBlock(_component_ElDropdown, {\n key: 1,\n trigger: \"click\",\n placement: \"bottom-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_ElDropdownMenu, { style: {\"width\":\"300px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleConfigureRoomDialog }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_6, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.Edit\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n (!_ctx.hasObjects)\n ? (_openBlock(), _createBlock(_component_ElDropdownItem, {\n key: 0,\n onClick: _ctx.toggleDeleteRoomConfirm\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_7, [\n _createVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, { class: \"p-button-text p-button-secondary p-1\" }, {\n default: _withCtx(() => [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-ellipsis-v.svg')\n ,\n \"aria-label\": \"icon-ellipsis-v\"\n }, null, 8, [\"src\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_9, _toDisplayString(_ctx.$t(\"AppResource.ConfigurationToEnd\")) + \": \" + _toDisplayString(_ctx.countConfigurationToEnd), 1)\n ]),\n (_ctx.hasObjects)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 0 }, _renderList(_ctx.roomObjects, (roomObject) => {\n return (_openBlock(), _createBlock(_component_RoomObjectGroup, {\n key: roomObject.id,\n name: roomObject.id,\n room: _ctx.currentRoom,\n \"room-object\": roomObject,\n \"hide-config\": !_ctx.roomConfigEnabled,\n \"disable-actions\": !_ctx.roomObjectDeleteEnabled,\n onDeleteObject: ($event: any) => (_ctx.handleDeleteObject(roomObject)),\n class: \"mt-3\"\n }, null, 8, [\"name\", \"room\", \"room-object\", \"hide-config\", \"disable-actions\", \"onDeleteObject\"]))\n }), 128))\n : (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n _createVNode(\"h1\", null, _toDisplayString(_ctx.$t(\"AppResource.NoDevices\")), 1),\n _createVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResource.AddNewNew\")), 1)\n ])),\n _createVNode(_component_DialogConfigureRoom, {\n \"is-visible\": _ctx.isVisibleDialogConfigureRoom,\n \"plant-id\": _ctx.currentPlant.desktopId,\n \"room-id\": _ctx.roomId,\n room: _ctx.currentRoom,\n onHideDialog: _ctx.toggleConfigureRoomDialog\n }, null, 8, [\"is-visible\", \"plant-id\", \"room-id\", \"room\", \"onHideDialog\"]),\n _createVNode(_component_DialogConfirmDeleteRoom, {\n \"is-visible\": _ctx.isVisibleDeleteRoomConfirm,\n onHideDialog: _ctx.toggleDeleteRoomConfirm,\n onOkDialog: _ctx.deleteRoom\n }, null, 8, [\"is-visible\", \"onHideDialog\", \"onOkDialog\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withCtx as _withCtx, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, mergeProps as _mergeProps } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex align-items-center\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center text-uppercase mb-0\" }\nconst _hoisted_3 = { class: \"bt-icon bt-icon--m\" }\nconst _hoisted_4 = { class: \"ml-2\" }\nconst _hoisted_5 = { class: \"ml-3\" }\nconst _hoisted_6 = { class: \"d-flex align-items-center ml-auto\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"d-inline-flex align-items-center fs-18 mb-0 mr-3\"\n}\nconst _hoisted_8 = { class: \"bt-icon bt-icon--s ml-2 text-warning\" }\nconst _hoisted_9 = { class: \"btn-stripped text-danger\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"list-blocks\"\n}\nconst _hoisted_11 = { class: \"list-unstyled d-flex align-items-center mb-0\" }\nconst _hoisted_12 = { class: \"room-object__head\" }\nconst _hoisted_13 = { class: \"room-object__icon bt-icon bt-icon--s\" }\nconst _hoisted_14 = { class: \"room-object__quick-actions\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"room-object room-object--thermo-settings\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"list-blocks\"\n}\nconst _hoisted_17 = { class: \"list-unstyled d-flex align-items-center mb-0\" }\nconst _hoisted_18 = { class: \"room-object__head\" }\nconst _hoisted_19 = { class: \"room-object__icon bt-icon bt-icon--s\" }\nconst _hoisted_20 = {\n key: 2,\n class: \"list-blocks\"\n}\nconst _hoisted_21 = { class: \"list-unstyled d-flex align-items-center mb-0\" }\nconst _hoisted_22 = { class: \"room-object\" }\nconst _hoisted_23 = { class: \"room-object__head\" }\nconst _hoisted_24 = { class: \"room-object__icon bt-icon bt-icon--s\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_ElDropdownItem = _resolveComponent(\"ElDropdownItem\")\n const _component_ElDropdownMenu = _resolveComponent(\"ElDropdownMenu\")\n const _component_ElDropdown = _resolveComponent(\"ElDropdown\")\n const _component_Card = _resolveComponent(\"Card\")\n const _component_DialogCommandIcon = _resolveComponent(\"DialogCommandIcon\")\n const _component_DialogObjectSettings = _resolveComponent(\"DialogObjectSettings\")\n const _component_DialogThermoObjectSettings = _resolveComponent(\"DialogThermoObjectSettings\")\n const _component_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_Card, _mergeProps(_ctx.$attrs, { class: \"card--primary\" }), {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"h4\", _hoisted_2, [\n _createVNode(\"span\", _hoisted_3, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getObjectIconFromType(\n _ctx.roomObject.type\n )}.svg`)\n ,\n \"aria-label\": \"icon-blueprint\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.roomObject.name), 1)\n ]),\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.getObjectDescLabel(_ctx.roomObject)), 1),\n _createVNode(\"div\", _hoisted_6, [\n (_ctx.roomObject.hasConfigurationToEnd)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_7, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.ConfigurationToEnd\")), 1),\n _createVNode(\"span\", _hoisted_8, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-alert-hight-full.svg')\n ,\n \"aria-label\": \"icon-alert-hight-full\"\n }, null, 8, [\"src\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.hideConfig)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n class: \"apartment__action p-button-rounded ml-auto\",\n label: _ctx.$t('AppResource.Configure'),\n onClick: _ctx.goToAssignObject\n }, null, 8, [\"label\", \"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ElDropdown, {\n trigger: \"click\",\n placement: \"bottom-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_ElDropdownMenu, { style: {\"width\":\"300px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleDeleteObjectConfirm }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_9, _toDisplayString(_ctx.$t(\"AppResource.DeleteObject\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_Button, { class: \"p-button p-button-text p-button-secondary py-0 ml-2\" }, {\n default: _withCtx(() => [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-ellipsis-v.svg')\n ,\n \"aria-label\": \"icon-ellipsis-v\"\n }, null, 8, [\"src\"])\n ]),\n _: 1\n }, 512), [\n [_vShow, \n !_ctx.disableActions &&\n _ctx.roomObject.type != _ctx.RoomObjectType.AlarmSensor\n ]\n ])\n ]),\n _: 1\n })\n ])\n ]),\n (_ctx.roomObjectDevices.length > 0)\n ? (_openBlock(), _createBlock(\"ul\", _hoisted_10, [\n _createVNode(\"li\", null, [\n _createVNode(\"ul\", _hoisted_11, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.roomObjectDevices, (device) => {\n return (_openBlock(), _createBlock(\"li\", {\n key: device.id,\n class: \"room-object\"\n }, [\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"span\", _hoisted_13, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getDeviceIcon(\n device\n )}.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", null, _toDisplayString(device.model) + \" - ID \" + _toDisplayString(device.id), 1)\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.getConfiguredChannelsOrModulesText(device)), 1),\n _createVNode(\"div\", _hoisted_14, [\n (device.defaultSettings)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n (\n _ctx.hasDeviceSettingsButtonVisible(\n _ctx.getConfiguredChannelsOrModulesSettings(\n device\n )\n )\n )\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => (\n _ctx.toggleDialogObjectSettings(\n _ctx.getConfiguredChannelsOrModulesSettings(\n device\n )\n )\n ),\n label: _ctx.$t('AppResource.Settings'),\n class: \"p-button-text\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (\n _ctx.hasDeviceCommandIconButtonVisible(\n _ctx.getConfiguredChannelsOrModulesSettings(\n device\n )\n )\n )\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n class: \"p-button-text\",\n onClick: ($event: any) => (\n _ctx.toggleDialogCommandIcon(\n _ctx.getConfiguredChannelsOrModulesSettings(\n device\n )\n )\n )\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.CommandIcon\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128)),\n (_ctx.isThermoRoomObject)\n ? (_openBlock(), _createBlock(\"li\", _hoisted_15, [\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.toggleDialogThermoObjectSettings())),\n label: _ctx.$t('AppResource.Settings'),\n class: \"p-button-text\"\n }, null, 8, [\"label\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (\n _ctx.roomObject.extDevices &&\n _ctx.roomObject.extDevices.length > 0 &&\n _ctx.roomObject.type != _ctx.RoomObjectType.AlarmSensor\n )\n ? (_openBlock(), _createBlock(\"ul\", _hoisted_16, [\n _createVNode(\"li\", null, [\n _createVNode(\"ul\", _hoisted_17, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.roomObject.extDevices, (extDevice, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n key: i,\n class: \"room-object\"\n }, [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"span\", _hoisted_19, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getExtDeviceIconFromType(\n extDevice.componentType\n )}.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.getExtDeviceIdentifier(extDevice)), 1)\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.getExtDeviceActiveLink(extDevice)), 1)\n ]))\n }), 128))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.type == _ctx.RoomObjectType.Thermostat99zones)\n ? (_openBlock(), _createBlock(\"ul\", _hoisted_20, [\n _createVNode(\"li\", null, [\n _createVNode(\"ul\", _hoisted_21, [\n _createVNode(\"li\", _hoisted_22, [\n _createVNode(\"div\", _hoisted_23, [\n _createVNode(\"span\", _hoisted_24, [\n _createVNode(_component_InlineSvgScoped, {\n class: \"text-primary\",\n src: \n require(`@/assets/images/icons/icon-room.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.ZoneUpper\")), 1)\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.getThermo99Description(_ctx.roomObject)), 1)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 16),\n (_ctx.selectedDefaultSettings)\n ? (_openBlock(), _createBlock(_component_DialogCommandIcon, {\n key: 0,\n \"is-visible\": _ctx.isVisibleDialogCommandIcon,\n defaultSettings: _ctx.selectedDefaultSettings,\n onHideDialog: _ctx.toggleDialogCommandIcon\n }, null, 8, [\"is-visible\", \"defaultSettings\", \"onHideDialog\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedDefaultSettings)\n ? (_openBlock(), _createBlock(_component_DialogObjectSettings, {\n key: 1,\n \"is-visible\": _ctx.isVisibleDialogObjectSettings,\n defaultSettings: _ctx.selectedDefaultSettings,\n onHideDialog: _ctx.toggleDialogObjectSettings\n }, null, 8, [\"is-visible\", \"defaultSettings\", \"onHideDialog\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_DialogThermoObjectSettings, {\n \"is-visible\": _ctx.isVisibleDialogThermoObjectSettings,\n onHideDialog: _ctx.toggleDialogThermoObjectSettings,\n \"plant-id\": _ctx.$route.params.plantId,\n \"room-id\": _ctx.$route.params.roomId,\n \"room-object-id\": _ctx.roomObject.id\n }, null, 8, [\"is-visible\", \"onHideDialog\", \"plant-id\", \"room-id\", \"room-object-id\"]),\n _createVNode(_component_DialogConfirmDelete, {\n \"is-visible\": _ctx.isVisibleDeleteObjectConfirm,\n title: _ctx.$t('AppResource.DeleteObject'),\n message: _ctx.$t('AppResource.DeleteObjectQuestion'),\n onHideDialog: _ctx.toggleDeleteObjectConfirm,\n onConfirm: _ctx.handleDeleteObject\n }, null, 8, [\"is-visible\", \"title\", \"message\", \"onHideDialog\", \"onConfirm\"])\n ], 64))\n}","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-0\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"form-custom dialog-custom__content\" }\nconst _hoisted_4 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CommandIconComponent = _resolveComponent(\"CommandIconComponent\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom\",\n style: {\"max-width\":\"1125px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h4\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.CommandIcon\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(_component_CommandIconComponent, {\n defaultSettings: _ctx.defaultSettings,\n \"onUpdate:defaultSettings\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.defaultSettings = $event)),\n deviceName: \"\",\n readonly: true\n }, null, 8, [\"defaultSettings\"])\n ]),\n _createVNode(\"footer\", _hoisted_4, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Close\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\nimport CommandIconComponent from '@/views/components/CommandIcon/CommandIconComponent.vue';\nimport { DefaultDevicesSettingsDTO } from '@/../client-generator/generated-clients/plants';\nimport { PropType } from 'vue';\n\n@Options({\n name: 'DialogCommandIcon',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n defaultSettings: {\n type: Object as PropType,\n required: true,\n },\n },\n watch: {\n isVisible(newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n components: {\n CommandIconComponent,\n },\n})\nexport default class DialogCommandIcon extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogCommandIcon.vue?vue&type=template&id=8acae3c4&ts=true\"\nimport script from \"./DialogCommandIcon.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogCommandIcon.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-custom dialog-custom__content\" }\nconst _hoisted_2 = { class: \"dialog-custom__footer mt-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ObjectSettings = _resolveComponent(\"ObjectSettings\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom\",\n style: {\"min-width\":\"500px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_ObjectSettings, {\n defaultSettings: _ctx.defaultSettings,\n \"onUpdate:defaultSettings\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.defaultSettings = $event)),\n deviceName: \"\",\n readonly: !_ctx.plantRoomObjectSettingsEditDialog\n }, null, 8, [\"defaultSettings\", \"readonly\"])\n ]),\n _createVNode(\"footer\", _hoisted_2, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Close\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { PropType } from 'vue';\nimport { Vue, Options } from 'vue-class-component';\nimport ObjectSettings from '@/views/components/ObjectSettings/ObjectSettings.vue';\nimport { DefaultDevicesSettingsDTO } from '@/../client-generator/generated-clients/plants';\nimport { mapGetters } from 'vuex';\n\n@Options({\n name: 'DialogObjectSettings',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n defaultSettings: {\n type: Object as PropType,\n required: true,\n },\n },\n watch: {\n isVisible(newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n components: {\n ObjectSettings,\n },\n computed: {\n ...mapGetters('UI', ['plantRoomObjectSettingsEditDialog']),\n },\n})\nexport default class DialogObjectSettings extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogObjectSettings.vue?vue&type=template&id=7ca5a4bc&ts=true\"\nimport script from \"./DialogObjectSettings.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogObjectSettings.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"form-custom dialog-custom__content\"\n}\nconst _hoisted_2 = { class: \"dialog-custom__footer mt-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ThermostatPreferences = _resolveComponent(\"ThermostatPreferences\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom dialog-thermo-object-settings\",\n style: {\"min-width\":\"1000px\"}\n }, {\n default: _withCtx(() => [\n (_ctx.roomObject)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(_component_ThermostatPreferences, { \"room-object\": _ctx.roomObject }, null, 8, [\"room-object\"])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"footer\", _hoisted_2, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Close\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveDynamicComponent as _resolveDynamicComponent, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AccordionTab = _resolveComponent(\"AccordionTab\")\n const _component_Accordion = _resolveComponent(\"Accordion\")\n\n return (_openBlock(), _createBlock(_component_Accordion, null, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.preferencesList, (p) => {\n return (_openBlock(), _createBlock(_component_AccordionTab, {\n header: p.label,\n key: p\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.preferenceComponent(p.value)), {\n \"room-object\": _ctx.roomObject,\n \"read-only\": true\n }, null, 8, [\"room-object\"]))\n ]),\n _: 2\n }, 1032, [\"header\"]))\n }), 128))\n ]),\n _: 1\n }))\n}","import { Options, Vue } from 'vue-class-component';\nimport {\n getThermoPreferencesSections,\n ThermoSettingsPreference,\n loadThermoPreferencesSectionsComponents,\n} from '@/core/utils/thermo-preferences.utils';\nimport { IThermoRoomObjectDTO } from 'client-generator/generated-clients/plants';\nimport { PropType } from 'vue';\n\n@Options({\n name: 'ThermostatPreferences',\n props: {\n roomObject: {\n type: Object as PropType,\n required: true,\n },\n },\n components: loadThermoPreferencesSectionsComponents(),\n})\nexport default class ThermostatPreferences extends Vue {\n roomObject!: IThermoRoomObjectDTO;\n currentPreference: ThermoSettingsPreference | null = null;\n\n get preferencesList(): ThermoSettingsPreference[] {\n return getThermoPreferencesSections();\n }\n\n preferenceComponent(preferenceComponentName: string) {\n return `Preference${preferenceComponentName}`;\n }\n}\n","import { render } from \"./ThermostatPreferences.vue?vue&type=template&id=402a5b5f&ts=true\"\nimport script from \"./ThermostatPreferences.ts?vue&type=script&lang=ts\"\nexport * from \"./ThermostatPreferences.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { Vue, Options } from 'vue-class-component';\nimport { IThermoRoomObjectDTO } from '@/../client-generator/generated-clients/plants';\nimport plantsClient from '@/core/services/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport ThermostatPreferences from './ThermostatPreferences/ThermostatPreferences.vue';\n\n@Options({\n name: 'DialogThermoObjectSettings',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n plantId: {\n type: String,\n required: true,\n },\n roomId: {\n type: String,\n required: true,\n },\n roomObjectId: {\n type: String,\n required: true,\n },\n },\n watch: {\n isVisible(newValue) {\n this.isDialogVisible = newValue;\n if (this.isDialogVisible) this.fetchRoomObject();\n },\n },\n emits: ['hide-dialog', 'confirm'],\n components: {\n ThermostatPreferences,\n },\n})\nexport default class DialogThermoObjectSettings extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n plantId!: number;\n roomId!: string;\n roomObjectId!: string;\n roomObject: IThermoRoomObjectDTO | null = null;\n\n async mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n async fetchRoomObject() {\n this.$store.dispatch(SET_APP_LOADING, true);\n this.roomObject = await plantsClient.thermoGET(\n this.plantId,\n this.roomId,\n this.roomObjectId\n );\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogThermoObjectSettings.vue?vue&type=template&id=20b9fb72&ts=true\"\nimport script from \"./DialogThermoObjectSettings.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogThermoObjectSettings.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogThermoObjectSettings.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {\n getDeviceIcon,\n getObjectDescLabel,\n getObjectIconFromType,\n getExtDeviceIdentifier,\n getExtDeviceActiveLink,\n getExtDeviceIconFromType,\n getConfiguredChannelsOrModulesSettings,\n hasDeviceSettingsButtonVisible,\n hasDeviceCommandIconButtonVisible,\n getThermo99Description,\n} from '@/core/utils/utils';\nimport { PropType } from 'vue';\nimport { Vue, Options } from 'vue-class-component';\nimport {\n RoomDTO,\n DeviceDTO,\n ComponentType,\n RoomObjectDTO,\n RoomObjectType,\n DefaultDevicesSettingsDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport DialogCommandIcon from './DialogCommandIcon/DialogCommandIcon.vue';\nimport DialogObjectSettings from './DialogObjectSettings/DialogObjectSettings.vue';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\nimport DialogThermoObjectSettings from './DialogThermoObjectSettings/DialogThermoObjectSettings.vue';\n\n@Options({\n name: 'RoomObjectGroup',\n props: {\n roomObject: {\n type: Object as PropType,\n required: true,\n },\n room: {\n type: Object as PropType,\n required: true,\n },\n hideConfig: {\n type: Boolean,\n default: false,\n },\n disableActions: {\n type: Boolean,\n default: false,\n },\n },\n components: {\n DialogConfirmDelete,\n DialogCommandIcon,\n DialogObjectSettings,\n DialogThermoObjectSettings,\n },\n emits: ['delete-object'],\n})\nexport default class RoomObjectGroup extends Vue {\n room!: RoomDTO;\n roomObject!: RoomObjectDTO;\n getDeviceIcon = getDeviceIcon;\n getExtDeviceIconFromType = getExtDeviceIconFromType;\n getExtDeviceIdentifier = getExtDeviceIdentifier;\n getExtDeviceActiveLink = getExtDeviceActiveLink;\n RoomObjectType = RoomObjectType;\n getObjectDescLabel = getObjectDescLabel;\n getObjectIconFromType = getObjectIconFromType;\n getConfiguredChannelsOrModulesSettings = getConfiguredChannelsOrModulesSettings;\n hasDeviceSettingsButtonVisible = hasDeviceSettingsButtonVisible;\n hasDeviceCommandIconButtonVisible = hasDeviceCommandIconButtonVisible;\n getThermo99Description = getThermo99Description;\n\n isVisibleDialogCommandIcon = false;\n isVisibleDialogObjectSettings = false;\n isVisibleDialogThermoObjectSettings = false;\n isVisibleDeleteObjectConfirm = false;\n selectedDefaultSettings: DefaultDevicesSettingsDTO | null = null;\n\n get isThermoRoomObject() {\n return this.roomObject.type === RoomObjectType.Thermostat;\n }\n\n goToAssignObject() {\n this.$router.push({\n name:\n this.roomObject.type !== RoomObjectType.Thermostat\n ? 'page-assign-room-object'\n : 'page-assign-thermo-room-object',\n params: {\n roomObjectId: this.roomObject.id ?? -1,\n },\n query: {\n roomType: this.room.type,\n roomName: this.room.name,\n },\n });\n }\n\n get roomObjectDevices() {\n const devices = this.roomObject.devices;\n if (!devices) return [];\n const devicesToClone: DeviceDTO[] = [];\n for (const device of devices) {\n if (device.isAssignedActuatorAndCommand) {\n const deviceToClone = { ...device } as DeviceDTO;\n deviceToClone.selectedComponentType = ComponentType.Command;\n devicesToClone.push(deviceToClone);\n }\n }\n return devices.concat(devicesToClone);\n }\n\n getConfiguredChannelsOrModulesText(device: DeviceDTO) {\n return getConfiguredChannelsOrModulesSettings(device)?.activeLinksLabel;\n }\n\n toggleDeleteObjectConfirm() {\n this.isVisibleDeleteObjectConfirm = !this.isVisibleDeleteObjectConfirm;\n }\n\n async handleDeleteObject() {\n this.$emit('delete-object');\n }\n\n toggleDialogCommandIcon(defaultSettings: DefaultDevicesSettingsDTO) {\n this.isVisibleDialogCommandIcon = !this.isVisibleDialogCommandIcon;\n this.selectedDefaultSettings = defaultSettings;\n }\n\n toggleDialogObjectSettings(defaultSettings: DefaultDevicesSettingsDTO) {\n this.isVisibleDialogObjectSettings = !this.isVisibleDialogObjectSettings;\n this.selectedDefaultSettings = defaultSettings;\n }\n\n toggleDialogThermoObjectSettings() {\n this.isVisibleDialogThermoObjectSettings = !this\n .isVisibleDialogThermoObjectSettings;\n }\n}\n","import { render } from \"./RoomObjectGroup.vue?vue&type=template&id=4a8330fd&ts=true\"\nimport script from \"./RoomObjectGroup.ts?vue&type=script&lang=ts\"\nexport * from \"./RoomObjectGroup.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_2 = { class: \"dialog-custom__header\" }\nconst _hoisted_3 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_4 = { class: \"form-custom dialog-custom__content\" }\nconst _hoisted_5 = { class: \"p-field\" }\nconst _hoisted_6 = { class: \"row\" }\nconst _hoisted_7 = { class: \"col-6\" }\nconst _hoisted_8 = {\n class: \"p-field-label\",\n for: \"room-name\"\n}\nconst _hoisted_9 = {\n for: \"room-name\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_10 = { class: \"p-field mr-3 mb-4\" }\nconst _hoisted_11 = { class: \"p-field-label mb-4\" }\nconst _hoisted_12 = { class: \"bt-icon text-gray\" }\nconst _hoisted_13 = { class: \"mb-0\" }\nconst _hoisted_14 = { class: \"dialog-custom__footer\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"app-loader app-loader--contextual\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.isDialogVisible = $event)),\n showHeader: false,\n modal: true,\n onHide: _ctx.doHideDialog,\n class: \"dialog-custom dialog-configure-room\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n label: \"close\",\n onClick: _ctx.handleHideDialog,\n class: \"dialog-custom__close-button p-button-text\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: require(`@/assets/images/icons/icon-close.svg`)\n }, null, 8, [\"src\"])\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(\"header\", _hoisted_2, [\n _createVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResource.RoomParameters\")), 1)\n ]),\n _createVNode(_component_ElScrollbar, { class: \"el-scrollbar--v-only\" }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResource.Name\")), 1),\n _createVNode(_component_InputText, {\n id: \"room-name\",\n type: \"text\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidName }],\n modelValue: _ctx.theRoom.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.theRoom.name = $event))\n }, null, 8, [\"class\", \"modelValue\"]),\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.invalidNameReason), 1)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResource.TypeUpper\")), 1),\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.theRoom.type,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.theRoom.type = $event)),\n options: _ctx.roomTypes,\n optionLabel: \"type\",\n optionValue: \"type\",\n class: \"p-selectbutton--blocks p-2\",\n style: {\"--cols\":\"6\"}\n }, {\n option: _withCtx((slotProps) => [\n _createVNode(\"span\", _hoisted_12, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getRoomIcon(slotProps.option.type)}.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"p\", _hoisted_13, _toDisplayString(slotProps.option.label), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(\"footer\", _hoisted_14, [\n _createVNode(_component_Button, {\n label: _ctx.$t('AppResource.Save'),\n onClick: _ctx.doSubmit,\n disabled: _ctx.lockSave,\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"label\", \"onClick\", \"disabled\"])\n ]),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_15, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\n\nimport configurationsClient from '@/core/services/configurations-service';\nimport plantsClient from '@/core/services/plants';\nimport {\n DefaultRoomDTO,\n PlantEntityType,\n} from '@/../client-generator/generated-clients/configurations';\nimport {\n IRoomDTO,\n RoomDTO,\n RoomType,\n} from '@/../client-generator/generated-clients/plants';\nimport debounce from 'lodash.debounce';\nimport { FETCH_PLANT, HANDLE_REFRESH_PLANT } from '@/core/utils/emitter-events';\nimport { NamingService } from '@/core/services/naming.service';\nimport { NAME_VALIDATION_DEBOUNCE_TIME, getRoomIconFromType } from '@/core/utils/utils';\n\n@Options({\n name: 'DialogConfigureRoom',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n plantId: {\n type: Number,\n requred: true,\n },\n roomId: {\n type: String,\n requred: true,\n },\n room: {\n type: Object as IRoomDTO,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n 'theRoom.name': function () {\n this.verifyValidityOfName();\n },\n },\n emits: ['hide-dialog', 'update-list'],\n})\nexport default class DialogConfigureRoom extends Vue {\n getRoomIcon = getRoomIconFromType\n isVisible!: boolean;\n isDialogVisible = false;\n isLoading = false;\n\n plantId!: number;\n roomId!: string;\n room!: IRoomDTO;\n theRoom: IRoomDTO | null = null;\n\n roomTypes: DefaultRoomDTO[] = [];\n\n /////////////////////////////////////////\n // Room naming validation properties\n /////////////////////////////////////////\n lockSave = true;\n isValidName = true;\n initialName!: string;\n invalidNameReason: string = '';\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n this.fetchRoomTypes();\n\n this.theRoom = RoomDTO.fromJS(this.room);\n this.initialName = this.theRoom.name ?? '';\n this.verifyValidityOfName = debounce(\n this.verifyValidityOfName,\n NAME_VALIDATION_DEBOUNCE_TIME\n );\n }\n\n private async verifyValidityOfName() {\n this.lockSave = true;\n const validName = await NamingService.isValidEntityTypeName(\n this.theRoom?.name\n );\n if (this.initialName !== this.theRoom?.name && !validName) {\n let suggestedName = await NamingService.suggestNextValidEntityName({\n plantId: this.plantId,\n eType: PlantEntityType.ROOM,\n metadata: {\n roomType: this.theRoom?.type,\n },\n });\n suggestedName = suggestedName.trim();\n this.isValidName = validName;\n this.invalidNameReason = this.$t(\n `uniqueNaming.validationErrorWithSuggestion`,\n { suggestedName }\n );\n this.$emit('next-enabled', false);\n } else {\n this.lockSave = false;\n this.isValidName = true;\n this.invalidNameReason = '';\n }\n }\n\n async fetchRoomTypes() {\n this.isLoading = true;\n try {\n this.roomTypes = await configurationsClient.defaultRoomsList();\n this.roomTypes.forEach(r => r.label = this.$t(`AppResource.${RoomType[r.type!]}`))\n } catch (error) {\n console.log(error);\n } finally {\n this.isLoading = false;\n }\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n async doSubmit() {\n this.isLoading = true;\n\n const theRoom = new RoomDTO(this.theRoom as IRoomDTO);\n\n try {\n await plantsClient.roomsPUT(this.plantId, this.roomId, theRoom);\n this.$emitter.emit(FETCH_PLANT);\n this.handleHideDialog();\n } catch (error) {\n let messageError = '';\n\n switch (error.status) {\n case 409:\n this.$emitter.emit(HANDLE_REFRESH_PLANT);\n this.$router.push({\n name: 'page-plant-dashboard',\n params: this.$route.params,\n });\n break;\n default:\n messageError = this.$t('apiErrors.serverError').toString();\n }\n\n if (messageError) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n }\n } finally {\n this.isLoading = false;\n }\n }\n}\n","import { render } from \"./DialogConfigureRoom.vue?vue&type=template&id=20288aaa&ts=true\"\nimport script from \"./DialogConfigureRoom.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfigureRoom.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogConfigureRoom.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon text-primary\" }\nconst _hoisted_2 = { class: \"dialog-confirm__title\" }\nconst _hoisted_3 = { class: \"dialog-confirm__message\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_5 = { class: \"dialog-confirm__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-confirm\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert-medium-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"h5\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.DeleteRoom\")), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResource.DeleteRoomQuestion\")), 1),\n _hoisted_4,\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-button-secondary text-uppercase mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.handleOkDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Confirm\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'DialogConfirmDeletePlant',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog','ok-dialog'],\n})\nexport default class DialogConfirmDeletePlant extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n handleOkDialog() {\n this.handleHideDialog();\n this.$emit('ok-dialog');\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n}\n","import { render } from \"./DialogConfirmDeleteRoom.vue?vue&type=template&id=6a56d43d&ts=true\"\nimport script from \"./DialogConfirmDeleteRoom.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDeleteRoom.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { PropType } from 'vue';\nimport { mapGetters } from 'vuex';\nimport plantsClient from '@/core/services/plants';\nimport { Vue, Options } from 'vue-class-component';\nimport {\n IRoomDTO,\n PlantDetailDTO,\n RoomObjectDTO,\n RoomObjectType,\n} from '@/../client-generator/generated-clients/plants';\nimport { getRoomIconFromType } from '@/core/utils/utils';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport { NamingService } from '@/core/services/naming.service';\nimport RoomObjectGroup from './RoomObjectGroup/RoomObjectGroup.vue';\nimport DialogConfigureRoom from './DialogConfigureRoom/DialogConfigureRoom.vue';\nimport { PlantEntityType } from '@/../client-generator/generated-clients/configurations';\nimport DialogConfirmDeleteRoom from './DialogConfirmDeleteRoom/DialogConfirmDeleteRoom.vue';\n\n@Options({\n name: 'PlantRoom',\n emits: ['add-object', 'add-structure', 'update-list'],\n props: {\n currentPlant: {\n type: Object as PropType,\n required: false,\n },\n },\n components: {\n RoomObjectGroup,\n DialogConfigureRoom,\n DialogConfirmDeleteRoom,\n },\n computed: {\n ...mapGetters('UI', [\n 'roomEditEnabled',\n 'roomConfigEnabled',\n 'roomObjectDeleteEnabled',\n ]),\n },\n})\nexport default class PlantRoom extends Vue {\n currentPlant!: PlantDetailDTO;\n isVisibleDeleteRoomConfirm = false;\n isVisibleDialogAssignObject = false;\n isVisibleDialogConfigureRoom = false;\n getRoomIconFromType = getRoomIconFromType;\n\n get roomObjects() {\n let objects: RoomObjectDTO[] = [];\n\n if (\n this.currentRoom?.roomObjects &&\n this.currentRoom.roomObjects.length > 0\n ) {\n objects = this.currentRoom?.roomObjects\n .filter((x) => x.type != RoomObjectType.Alarm)\n .sort((a, b) => a.type! - b.type!);\n }\n\n return objects;\n }\n\n get hasObjects() {\n if (this.roomObjects) {\n return this.roomObjects?.length > 0;\n }\n\n return false;\n }\n\n get currentRoom(): IRoomDTO {\n return (\n this.currentPlant?.rooms?.find(\n (x) => x.id?.toString() === this.$route.params.roomId\n ) ?? {}\n );\n }\n\n get roomId() {\n return this.$route.params.roomId as string;\n }\n\n get backLink() {\n return {\n name: 'page-plant-dashboard',\n params: this.$route.params,\n };\n }\n\n get countConfigurationToEnd() {\n return this.roomObjects.filter((k) => k.hasConfigurationToEnd).length;\n }\n\n mounted() {\n if (this.$route.query.refresh) {\n this.$emit('update-list');\n this.$router.push({ name: 'page-plant-room' });\n }\n }\n\n async toggleAddRoomObjectDialog() {\n this.$store.dispatch(SET_APP_LOADING, true);\n await NamingService.prefetchFlatEntities(\n this.currentPlant.desktopId as any,\n PlantEntityType.ROOM_OBJECT\n );\n this.$store.dispatch(SET_APP_LOADING, false);\n this.$emit('add-object', this.currentRoom);\n }\n\n async toggleConfigureRoomDialog(doUpdate: boolean) {\n if (this.isVisibleDialogConfigureRoom) {\n this.isVisibleDialogConfigureRoom = false;\n this.$store.dispatch(SET_APP_LOADING, false);\n } else {\n NamingService.flushCache();\n this.$store.dispatch(SET_APP_LOADING, true);\n await NamingService.prefetchFlatEntities(\n +this.currentPlant.desktopId!,\n PlantEntityType.ROOM\n );\n this.isVisibleDialogConfigureRoom = true;\n }\n }\n\n toggleDeleteRoomConfirm(doUpdate: boolean) {\n this.isVisibleDeleteRoomConfirm = !this.isVisibleDeleteRoomConfirm;\n }\n\n async deleteRoom() {\n if (\n !this.currentPlant ||\n !this.currentPlant.desktopId ||\n !this.currentRoom.id\n )\n return;\n try {\n this.$store.dispatch(SET_APP_LOADING, true);\n await plantsClient.roomsDELETE(\n this.currentPlant.desktopId,\n this.currentRoom.id\n );\n this.$store.dispatch(SET_APP_LOADING, false);\n this.$emit('update-list');\n this.$router.push({ name: 'page-plant-dashboard' });\n } catch (error) {\n switch (error.status) {\n case 423:\n this.$router.push({\n name: 'page-plants-hub',\n });\n break;\n }\n console.log(error);\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n\n async handleDeleteObject(object: RoomObjectDTO) {\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await plantsClient.deleteRoomObject(\n this.currentPlant.desktopId as number,\n this.roomId,\n object.id ?? ''\n );\n\n this.$emit('update-list');\n this.$router.push({ name: 'page-plant-room' });\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n}\n","import { render } from \"./PlantRoom.vue?vue&type=template&id=32bd7c04&ts=true\"\nimport script from \"./PlantRoom.ts?vue&type=script&lang=ts\"\nexport * from \"./PlantRoom.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./DialogConfigureRoom.scss?vue&type=style&index=0&lang=scss\"","var map = {\n\t\"./PreferenceAutoCommutation/PreferenceAutoCommutation.vue\": [\n\t\t\"ef61\",\n\t\t\"chunk-0266b1e7\"\n\t],\n\t\"./PreferenceBacklight/PreferenceBacklight.vue\": [\n\t\t\"aa43\",\n\t\t\"chunk-438c5044\"\n\t],\n\t\"./PreferenceButtonsManagement/PreferenceButtonsManagement.vue\": [\n\t\t\"9b88\",\n\t\t\"chunk-5cdd4d1a\"\n\t],\n\t\"./PreferenceCelsiusFahrenheit/PreferenceCelsiusFahrenheit.vue\": [\n\t\t\"b940\",\n\t\t\"chunk-d0f99ae0\"\n\t],\n\t\"./PreferenceCirculationPumpDelay/PreferenceCirculationPumpDelay.vue\": [\n\t\t\"e41e\",\n\t\t\"chunk-08a8c660\"\n\t],\n\t\"./PreferenceExternalSensorType/PreferenceExternalSensorType.vue\": [\n\t\t\"930b\",\n\t\t\"chunk-2a007f92\"\n\t],\n\t\"./PreferenceRegulationBand/PreferenceRegulationBand.vue\": [\n\t\t\"9f3f\",\n\t\t\"chunk-4261c4e3\"\n\t],\n\t\"./PreferenceTemperatureRange/PreferenceTemperatureRange.vue\": [\n\t\t\"96742\",\n\t\t\"chunk-3aa1ad77\"\n\t],\n\t\"./PreferenceWindowsContact/PreferenceWindowsContact.vue\": [\n\t\t\"1168\",\n\t\t\"chunk-6ed3c7e1\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"ed09\";\nmodule.exports = webpackAsyncContext;"],"sourceRoot":""}