{"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/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/EntrancePlantSwitchboards.vue?1406","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/SwitchboardItem/SwitchboardItem.vue?f6b0","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/SwitchboardItem/SwitchboardItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/SwitchboardItem/SwitchboardItem.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/DialogAddEditSwitchboard/DialogAddEditSwitchboard.vue?0d59","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/DialogAddEditSwitchboard/DialogAddEditSwitchboard.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/DialogAddEditSwitchboard/DialogAddEditSwitchboard.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/EntrancePlantSwitchboards.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/EntrancePlantSwitchboards.vue","webpack:///./src/core/utils/axios-instance.ts","webpack:///./src/assets/images/icons/icon-alert-medium-outline.svg","webpack:///./src/core/services/plants.ts","webpack:///./src/assets/images/entrancePlants/icon-switchboard.svg"],"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__","_hoisted_6","key","_hoisted_7","_component_router_link","_component_SwitchboardItem","_component_DialogAddEditSwitchboard","to","backLink","currentEntrancePlant","disabled","syncStatus","isPlantActive","handleAddSwitchboard","hasSwitchboards","switchboards","switchboard","index","onDeleteSwitchboard","handleDeleteSwitchboard","onEditSwitchboard","handleEditSwitchboard","switchboardToEdit","isVisibleAddEditSwitchboard","onHideDialog","hideAddEditSwitchboard","onUpdateList","handleUpdateList","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_Card","_component_DialogConfirmDelete","$attrs","content","trigger","placement","dropdown","style","disableOptions","toggleDeleteSwitchboardConfirm","label","isVisibleDeleteSwitchboardConfirm","onConfirm","Object","components","DialogConfirmDelete","for","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_component_InputText","_component_Checkbox","_component_ElScrollbar","newSwitchboard","id","isValidName","validator","modelValue","invalidNameReason","isValidScs","min","max","scsAddr","devices","option","i","device","deviceId","value","deviceName","buttonSubmitLabel","handleButtonSubmitAction","saveButtonDisabled","isEdit","checkIfSwitchboardHasDevices","deviceList","fillDeviceList","disabledForNameCheck","trim","disabledForScsCheck","undefined","gates","EPDeviceList","gate","push","selectedDevices","switchboardId","listToCheck","filter","exist","some","existing","toLowerCase","saveSwitchboard","$toast","add","severity","summary","life","setTimeout","desktopId","$store","dispatch","plants","switchboardPUT","switchboardPOST","console","log","computed","initSwitchboard","verifyValidityOfName","verifyValidityOfScsAddress","$route","query","addSwitchboard","params","length","switchboardDELETE","SwitchboardItem","DialogAddEditSwitchboard","a","defaults","timeout","interceptors","request","use","config","getToken","token","headers","Authorization","response","error","addError","JSON","stringify","toJSON","status","emit","Promise","reject","module","exports","prototype","init","data","property","hasOwnProperty","call","$type","plantsClient"],"mappings":"mJAEMA,EAAa,CAAEC,MAAO,wBACtBC,EAAa,CAAED,MAAO,yBACtBE,EAAa,CAAEF,MAAO,2BACtBG,EAA0B,yBAAa,KAAM,KAAM,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U,qBClKfT,EAAOC,QAAU,IAA0B","file":"js/page-entranceplant-switchboards.a2c9fe4b.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 { createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } 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 = {\n key: 1,\n class: \"py-5 text-center\"\n}\nconst _hoisted_7 = { 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_SwitchboardItem = _resolveComponent(\"SwitchboardItem\")\n const _component_DialogAddEditSwitchboard = _resolveComponent(\"DialogAddEditSwitchboard\")\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.currentEntrancePlant.name), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(\"h1\", _hoisted_4, _toDisplayString(_ctx.$t(\"AppResourceEP.Switchboard\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive,\n class: \"p-button-rounded p-button-raised p-button--m\",\n onClick: _ctx.handleAddSwitchboard\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SwitchboardAddTitle\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ])\n ]),\n (_ctx.hasSwitchboards)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 0 }, _renderList(_ctx.switchboards, (switchboard, index) => {\n return (_openBlock(), _createBlock(_component_SwitchboardItem, {\n class: \"mt-3\",\n key: index,\n switchboard: switchboard,\n onDeleteSwitchboard: ($event: any) => (_ctx.handleDeleteSwitchboard(switchboard)),\n onEditSwitchboard: _ctx.handleEditSwitchboard\n }, null, 8, [\"switchboard\", \"onDeleteSwitchboard\", \"onEditSwitchboard\"]))\n }), 128))\n : (_openBlock(), _createBlock(\"div\", _hoisted_6, [\n _createVNode(\"h1\", null, _toDisplayString(_ctx.$t(\"entrancePlant.noSwitchboard\")), 1),\n _createVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.$t(\"entrancePlant.hintNewSwitchboard\")), 1)\n ])),\n _createVNode(_component_DialogAddEditSwitchboard, {\n switchboardToEdit: _ctx.switchboardToEdit,\n isVisible: _ctx.isVisibleAddEditSwitchboard,\n onHideDialog: _ctx.hideAddEditSwitchboard,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"switchboardToEdit\", \"isVisible\", \"onHideDialog\", \"onUpdateList\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex align-items-center\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center mb-0\" }\nconst _hoisted_3 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_4 = { class: \"ml-3\" }\nconst _hoisted_5 = { class: \"btn-stripped\" }\nconst _hoisted_6 = { class: \"btn-stripped text-danger\" }\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_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_Card, _ctx.$attrs, {\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/entrancePlants/icon-switchboard.svg`)\n ,\n \"aria-label\": \"icon-switchboard\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.switchboard.name), 1)\n ]),\n _createVNode(_component_ElDropdown, {\n class: \"ml-auto p-button-text\",\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, {\n disabled: !_ctx.disableOptions,\n onClick: _ctx.handleEditSwitchboard\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.Edit\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_ElDropdownItem, {\n disabled: !_ctx.disableOptions,\n onClick: _ctx.toggleDeleteSwitchboardConfirm\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('AppResource.More'),\n class: \"ml-auto p-button-text\"\n }, null, 8, [\"label\"])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 16),\n _createVNode(_component_DialogConfirmDelete, {\n \"is-visible\": _ctx.isVisibleDeleteSwitchboardConfirm,\n title: _ctx.$t('entrancePlant.deleteSwitchboard'),\n message: _ctx.$t('entrancePlant.deleteSwitchboardQuestion'),\n onHideDialog: _ctx.toggleDeleteSwitchboardConfirm,\n onConfirm: _ctx.handleDeleteSwitchboard\n }, null, 8, [\"is-visible\", \"title\", \"message\", \"onHideDialog\", \"onConfirm\"])\n ], 64))\n}","import { PropType } from 'vue';\nimport { Options, Vue } from 'vue-class-component';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\nimport { SwitchboardDTO } from 'client-generator/generated-clients/plants';\n\n@Options({\n name: 'SwitchboardItem',\n props: {\n switchboard: {\n type: Object as PropType,\n required: true,\n },\n disableOptions: {\n type:Boolean,\n required: false,\n default:false\n }\n },\n components: {\n DialogConfirmDelete,\n },\n emits: ['delete-switchboard', 'edit-switchboard'],\n})\nexport default class SwitchboardItem extends Vue {\n switchboard!: SwitchboardDTO;\n isVisibleDeleteSwitchboardConfirm = false; \n disableOptions!:boolean;\n\n toggleDeleteSwitchboardConfirm(){\n this.isVisibleDeleteSwitchboardConfirm = !this.isVisibleDeleteSwitchboardConfirm;\n }\n\n async handleDeleteSwitchboard() {\n this.$emit('delete-switchboard', this.switchboard);\n }\n\n async handleEditSwitchboard() {\n this.$emit('edit-switchboard', this.switchboard);\n }\n}\n","import { render } from \"./SwitchboardItem.vue?vue&type=template&id=c8a5fbf0&ts=true\"\nimport script from \"./SwitchboardItem.ts?vue&type=script&lang=ts\"\nexport * from \"./SwitchboardItem.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 { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, withCtx as _withCtx, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-4\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"width\":\"450px\",\"height\":\"calc(100vh - 30%)\"} }\nconst _hoisted_5 = { class: \"mb-4\" }\nconst _hoisted_6 = { class: \"p-field\" }\nconst _hoisted_7 = {\n class: \"p-field-label\",\n for: \"switchboardname\"\n}\nconst _hoisted_8 = {\n for: \"switchboardname\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_9 = { class: \"p-field\" }\nconst _hoisted_10 = {\n class: \"p-field-label\",\n for: \"switchboardscs\"\n}\nconst _hoisted_11 = { class: \"p-field mb-3\" }\nconst _hoisted_12 = { class: \"p-field-label my-4\" }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_14 = { class: \"p-field-checkbox d-flex align-items-center\" }\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_16 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Checkbox = _resolveComponent(\"Checkbox\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_ctx.newSwitchboard && _ctx.newSwitchboard.switchboard)\n ? (_openBlock(), _createBlock(_component_Dialog, {\n key: 0,\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResource.NameUpper\")), 1),\n _createVNode(_component_InputText, {\n id: \"switchboardname\",\n type: \"text\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidName }],\n validator: '/^(?!\\s).+(? (_ctx.newSwitchboard.switchboard.name = $event))\n }, null, 8, [\"validator\", \"modelValue\", \"class\"]),\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.invalidNameReason), 1)\n ]),\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceScsAddress\")), 1),\n _createVNode(_component_InputText, {\n id: \"switchboardscs\",\n type: \"number\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidScs }],\n min: 0,\n max: 95,\n modelValue: _ctx.newSwitchboard.switchboard.scsAddr,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.newSwitchboard.switchboard.scsAddr = $event))\n }, null, 8, [\"modelValue\", \"class\"])\n ]),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\n \"SelectDevicesInGate\"\n )), 1),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.devices, (option, i) => {\n return (_openBlock(), _createBlock(\"div\", { key: i }, [\n _hoisted_13,\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(_component_Checkbox, {\n id: option.device.deviceId,\n value: option.device,\n modelValue: _ctx.newSwitchboard.devices,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.newSwitchboard.devices = $event))\n }, null, 8, [\"id\", \"value\", \"modelValue\"]),\n _createVNode(\"label\", {\n for: option.device.deviceId\n }, _toDisplayString(`${option.device.deviceName}`), 9, [\"for\"])\n ])\n ]))\n }), 128)),\n _hoisted_15\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_16, [\n _createVNode(_component_Button, {\n class: \"p-button-text 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 label: _ctx.buttonSubmitLabel,\n onClick: _ctx.handleButtonSubmitAction,\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveButtonDisabled\n }, null, 8, [\"label\", \"onClick\", \"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n : _createCommentVNode(\"\", true)\n}","import { PropType } from 'vue';\nimport { mapState } from 'vuex';\nimport plantsClient from '@/core/services/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n EPDeviceDTO,\n EntrancePlantDetailDTO,\n SwitchboardConfigDTO,\n SwitchboardDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\n\n@Options({\n name: 'DialogAddEditSwitchboard',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n switchboardToEdit: {\n type: Object as PropType,\n required: false,\n },\n },\n computed:{\n ...mapState(['currentEntrancePlant'])\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n if (this.isDialogVisible) {\n this.invalidNameReason = '';\n this.isValidName = true;\n this.isValidScs = true;\n this.initSwitchboard();\n }\n },\n 'newSwitchboard.switchboard.name': function () {\n if (this.newSwitchboard.switchboard) {\n this.verifyValidityOfName();\n }\n },\n 'newSwitchboard.switchboard.scsAddr': function () {\n if (this.newSwitchboard.switchboard) {\n this.verifyValidityOfScsAddress();\n }\n },\n },\n emits: ['hide-dialog', 'update-list'],\n})\nexport default class DialogAddEditSwitchboard extends Vue {\n newSwitchboard: SwitchboardConfigDTO = new SwitchboardConfigDTO();\n currentEntrancePlant!: EntrancePlantDetailDTO;\n switchboardToEdit!: SwitchboardDTO;\n isVisible!: boolean;\n isDialogVisible = false;\n isEdit = false;\n\n // Naming validation props\n isValidName = true;\n isValidScs = true;\n invalidNameReason: string = '';\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n async initSwitchboard() {\n if (this.switchboardToEdit) {\n this.isEdit = true;\n this.newSwitchboard.switchboard = new SwitchboardDTO(\n this.switchboardToEdit\n );\n this.newSwitchboard.devices = await this.checkIfSwitchboardHasDevices();\n } else {\n this.isEdit = false;\n this.newSwitchboard.switchboard = new SwitchboardDTO();\n this.newSwitchboard.switchboard.scsAddr = 0;\n this.newSwitchboard.devices = [];\n }\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n get dialogTitle() {\n return this.isEdit\n ? this.$t('AppResourceEP.SwitchboardEditTitle')\n : this.$t('AppResourceEP.SwitchboardAddTitle');\n }\n\n get buttonSubmitLabel() {\n return this.$t('AppResource.Save');\n }\n\n get devices() {\n const deviceList = this.fillDeviceList();\n return deviceList;\n }\n\n get saveButtonDisabled() {\n const disabledForNameCheck =\n !this.isValidName || !this.newSwitchboard.switchboard?.name?.trim();\n const disabledForScsCheck = !this.isValidScs;\n return disabledForNameCheck || disabledForScsCheck;\n }\n\n fillDeviceList() {\n if (this.currentEntrancePlant.gates === undefined) return [];\n const EPDeviceList: {\n device: EPDeviceDTO;\n gate: string | undefined;\n }[] = [];\n for (const gate of this.currentEntrancePlant.gates) {\n if (gate.devices) {\n for (const device of gate.devices) {\n EPDeviceList.push({\n device: device,\n gate: gate.name,\n });\n }\n }\n }\n return EPDeviceList;\n }\n\n async checkIfSwitchboardHasDevices() {\n if (this.currentEntrancePlant.gates === undefined) return [];\n const gates = this.currentEntrancePlant.gates;\n let selectedDevices: EPDeviceDTO[] = [];\n for (const gate of gates) {\n if (gate.devices) {\n for (const device of gate.devices) {\n if (\n device.switchboardId ===\n this.newSwitchboard.switchboard?.switchboardId\n ) {\n selectedDevices.push(device);\n }\n }\n }\n }\n return selectedDevices;\n }\n\n verifyValidityOfName() {\n if (this.newSwitchboard.switchboard?.name === undefined) return;\n\n this.newSwitchboard.switchboard.name = this.newSwitchboard.switchboard.name.trim();\n let listToCheck = this.currentEntrancePlant.switchboards || [];\n\n if (this.isEdit) {\n listToCheck = listToCheck.filter(\n (value) => value.switchboardId !== this.switchboardToEdit.switchboardId\n );\n }\n const exist = listToCheck.some(\n (existing) =>\n existing.name?.toLowerCase().trim() ==\n this.newSwitchboard.switchboard?.name?.toLowerCase().trim()\n );\n this.isValidName = !exist;\n this.invalidNameReason = this.isValidName\n ? ''\n : this.$t('general.alreadyExisting');\n }\n\n verifyValidityOfScsAddress() {\n if (this.newSwitchboard.switchboard?.scsAddr === undefined) return false;\n\n this.isValidScs = this.newSwitchboard.switchboard.scsAddr >= 0;\n }\n\n async handleButtonSubmitAction() {\n this.isDialogVisible = false;\n\n await this.saveSwitchboard();\n\n this.$emit('update-list');\n this.$toast.add({\n severity: 'success',\n summary: this.isEdit\n ? this.$t('entrancePlant.editedSwitchboard')\n : this.$t('AppResourceEP.SwitchboardBannerCreated'),\n closable: false,\n life: 3000,\n });\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n }\n\n async saveSwitchboard() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n if (this.isEdit) {\n await plantsClient.switchboardPUT(\n this.currentEntrancePlant.desktopId,\n new SwitchboardConfigDTO(this.newSwitchboard)\n );\n } else {\n await plantsClient.switchboardPOST(\n this.currentEntrancePlant.desktopId,\n this.newSwitchboard\n );\n }\n } catch (error) {\n console.log(error);\n setTimeout(() => {\n this.$toast.add({\n severity: 'error',\n summary: 'Error',\n closable: false,\n life: 3000,\n });\n }, 1500);\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n}\n","import { render } from \"./DialogAddEditSwitchboard.vue?vue&type=template&id=6feac81c&ts=true\"\nimport script from \"./DialogAddEditSwitchboard.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogAddEditSwitchboard.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 { mapState } from 'vuex';\nimport plantsClient from '@/core/services/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n EntrancePlantDetailDTO,\n SwitchboardDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport SwitchboardItem from './SwitchboardItem/SwitchboardItem.vue';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport DialogAddEditSwitchboard from './DialogAddEditSwitchboard/DialogAddEditSwitchboard.vue';\n\n@Options({\n name: 'EntrancePlantSwitchboards',\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n SwitchboardItem,\n DialogAddEditSwitchboard,\n },\n emits: ['update-list'],\n})\nexport default class EntrancePlantSwitchboards extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n switchboardToEdit: SwitchboardDTO | null = null;\n isVisibleAddEditSwitchboard = false;\n isVisibleDeleteSwitchboardConfirm = false;\n\n async mounted() {\n if (this.$route.query.addSwitchboard) {\n this.handleAddSwitchboard();\n }\n }\n\n get backLink() {\n return {\n name: 'page-entranceplant-dashboard',\n params: this.$route.params,\n };\n }\n\n get switchboards() {\n return this.currentEntrancePlant.switchboards;\n }\n\n get hasSwitchboards() {\n if (this.switchboards) {\n return this.switchboards.length > 0;\n }\n return false;\n }\n\n async handleDeleteSwitchboard(switchboard: SwitchboardDTO) {\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await plantsClient.switchboardDELETE(\n this.currentEntrancePlant.desktopId as number,\n switchboard\n );\n\n this.$emit('update-list');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResourceEP.SwitchboardBannerDeleted'),\n closable: false,\n life: 3000,\n });\n }, 1500);\n } catch {\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 handleAddSwitchboard() {\n this.switchboardToEdit = null;\n this.isVisibleAddEditSwitchboard = !this.isVisibleAddEditSwitchboard;\n }\n\n handleEditSwitchboard(switchboard: SwitchboardDTO) {\n this.switchboardToEdit = switchboard;\n this.isVisibleAddEditSwitchboard = !this.isVisibleAddEditSwitchboard;\n }\n\n hideAddEditSwitchboard() {\n this.isVisibleAddEditSwitchboard = !this.isVisibleAddEditSwitchboard;\n }\n\n handleUpdateList() {\n this.$emit('update-list');\n }\n}\n","import { render } from \"./EntrancePlantSwitchboards.vue?vue&type=template&id=02f2d8e6&ts=true\"\nimport script from \"./EntrancePlantSwitchboards.ts?vue&type=script&lang=ts\"\nexport * from \"./EntrancePlantSwitchboards.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 axios from 'axios';\nimport router from '../../core/router/index';\n\naxios.defaults.timeout = 30000;\n\nimport authService from '../services/auth.service';\nimport emitter from '@/core/config/emitter';\nimport { MANAGE_ELIOT_PARSE_EXCEPTION } from './emitter-events';\nimport globalErrors from './global-errors';\n\naxios.interceptors.request.use(async (config) => {\n const token = await authService.getToken();\n if (token) config.headers.Authorization = `Bearer ${token}`;\n else config.headers.Authorization = '';\n return config;\n});\n\naxios.interceptors.response.use(\n (response) => {\n return response;\n },\n (error) => {\n globalErrors.addError(JSON.stringify(error.toJSON()));\n if (error.response.status === 412) {\n emitter.emit(MANAGE_ELIOT_PARSE_EXCEPTION);\n } else if (error.response.status === 477) {\n // user is not in allowed list\n router.push({ name: 'page-user-not-allowed' });\n } else {\n return Promise.reject(error);\n }\n }\n);\n\nexport default axios;\n","module.exports = __webpack_public_path__ + \"img/icon-alert-medium-outline.b8add9d7.svg\";","import {\n Client,\n ActuatorSettings,\n CommandSettings,\n GeneralCommandsAndGroupsAction,\n DefaultObjectAction,\n ObjectAction,\n WaitTimeAction,\n Action,\n Trigger,\n Condition,\n ObjectTrigger,\n ButtonTrigger,\n DateAndTimeTrigger,\n TimeCondition,\n ObjectCondition,\n ExtDevice,\n ColoredLightExtDevice,\n XmeterExtDevice,\n PlayerExtDevice,\n} from '@/../client-generator/generated-clients/plants';\nimport axiosInstance from '../utils/axios-instance';\n\nCondition.prototype.init \n= Trigger.prototype.init \n= Action.prototype.init \n= ActuatorSettings.prototype.init \n= CommandSettings.prototype.init \n= GeneralCommandsAndGroupsAction.prototype.init \n= DefaultObjectAction.prototype.init \n= ObjectAction.prototype.init \n= WaitTimeAction.prototype.init \n= ObjectTrigger.prototype.init \n= ButtonTrigger.prototype.init \n= DateAndTimeTrigger.prototype.init \n= TimeCondition.prototype.init \n= ObjectCondition.prototype.init\n= ExtDevice.prototype.init\n= ColoredLightExtDevice.prototype.init\n= XmeterExtDevice.prototype.init\n= PlayerExtDevice.prototype.init = function (\n data?: any\n) {\n if (data) {\n for (var property in data) {\n if (Object.prototype.hasOwnProperty.call(data, property))\n (this)[property] = (data)[property];\n }\n }\n};\n\nCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Condition, ProtocolManager`,\n ...this,\n };\n};\nTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Trigger, ProtocolManager`,\n ...this,\n };\n};\nAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Action, ProtocolManager`,\n ...this,\n };\n};\nActuatorSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ActuatorSettings, ProtocolManager`,\n ...this,\n };\n};\nCommandSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.CommandSettings, ProtocolManager`,\n ...this,\n };\n};\nGeneralCommandsAndGroupsAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.GeneralCommandsAndGroupsAction, ProtocolManager`,\n ...this,\n };\n};\nDefaultObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DefaultObjectAction, ProtocolManager`,\n ...this,\n };\n};\nObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectAction, ProtocolManager`,\n ...this,\n };\n};\nWaitTimeAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.WaitTimeAction, ProtocolManager`,\n ...this,\n };\n};\nObjectTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectTrigger, ProtocolManager`,\n ...this,\n };\n};\nButtonTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ButtonTrigger, ProtocolManager`,\n ...this,\n };\n};\nDateAndTimeTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DateAndTimeTrigger, ProtocolManager`,\n ...this,\n };\n};\nTimeCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.TimeCondition, ProtocolManager`,\n ...this,\n };\n};\nObjectCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectCondition, ProtocolManager`,\n ...this,\n };\n};\nExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ExtDevice, ProtocolManager`,\n ...this,\n };\n};\nColoredLightExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ColoredLightExtDevice, ProtocolManager`,\n ...this,\n };\n};\nXmeterExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.XmeterExtDevice, ProtocolManager`,\n ...this,\n };\n};\nPlayerExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.PlayerExtDevice, ProtocolManager`,\n ...this,\n };\n};\n\nconst plantsClient = new Client('', axiosInstance);\n\nexport default plantsClient;\n","module.exports = __webpack_public_path__ + \"img/icon-switchboard.8b491d14.svg\";"],"sourceRoot":""}