{"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?c9dc","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSwitchboards/SwitchboardItem/SwitchboardItem.vue?128e","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?7610","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:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./src/core/utils/axios-instance.ts","webpack:///./src/assets/images/icons/icon-alert-medium-outline.svg","webpack:///./src/core/services/plants.ts","webpack:///./node_modules/core-js/internals/string-trim-forced.js","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","currentPlant","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","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","buttonSubmitLabel","handleButtonSubmitAction","disabled","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","initSwitchboard","verifyValidityOfName","verifyValidityOfScsAddress","$route","query","addSwitchboard","params","length","switchboardDELETE","SwitchboardItem","DialogAddEditSwitchboard","$","$trim","forcedStringTrimMethod","target","proto","forced","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","fails","whitespaces","non","METHOD_NAME"],"mappings":"mJAEMA,EAAa,CAAEC,MAAO,wBACtB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BACEI,MAAO,0DACJ3K,OAGP,QAAgBqK,UAAUP,OAAS,SAAUS,GAC3C,uBACEI,MAAO,0DACJ3K,OAIP,IAAM4K,EAAe,IAAI,OAAO,GAAI,QAErB,U,qBClKf,IAAIC,EAAQ,EAAQ,QAChBC,EAAc,EAAQ,QAEtBC,EAAM,MAIVZ,EAAOC,QAAU,SAAUY,GACzB,OAAOH,GAAM,WACX,QAASC,EAAYE,MAAkBD,EAAIC,MAAkBD,GAAOD,EAAYE,GAAa3K,OAAS2K,O,qBCT1Gb,EAAOC,QAAU,IAA0B","file":"js/page-entranceplant-switchboards.27c7b4c0.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.currentPlant.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 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, [\"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 currentPlant: _ctx.currentPlant,\n switchboardToEdit: _ctx.switchboardToEdit,\n isVisible: _ctx.isVisibleAddEditSwitchboard,\n onHideDialog: _ctx.hideAddEditSwitchboard,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"currentPlant\", \"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, { onClick: _ctx.handleEditSwitchboard }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.Edit\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleDeleteSwitchboardConfirm }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"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 },\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\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=ff66b950&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 - 330px)\"} }\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\" }\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 \"AppResourceEP.SwitchboardEditPELinkedMessage\"\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.deviceId}`), 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 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 currentPlant: {\n type: EntrancePlantDetailDTO,\n required: true,\n },\n isVisible: {\n type: Boolean,\n required: true,\n },\n switchboardToEdit: {\n type: Object as PropType,\n required: false,\n },\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 currentPlant!: 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.currentPlant.gates === undefined) return [];\n const EPDeviceList: {\n device: EPDeviceDTO;\n gate: string | undefined;\n }[] = [];\n for (const gate of this.currentPlant.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.currentPlant.gates === undefined) return [];\n const gates = this.currentPlant.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.currentPlant.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.currentPlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n if (this.isEdit) {\n await plantsClient.switchboardPUT(\n this.currentPlant.desktopId,\n new SwitchboardConfigDTO(this.newSwitchboard)\n );\n } else {\n await plantsClient.switchboardPOST(\n this.currentPlant.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=10ee1c04&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 { PropType } from 'vue';\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 props: {\n currentPlant: {\n type: Object as PropType,\n required: true,\n },\n },\n components: {\n SwitchboardItem,\n DialogAddEditSwitchboard,\n },\n emits: ['update-list'],\n})\nexport default class EntrancePlantSwitchboards extends Vue {\n currentPlant!: 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.currentPlant.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.currentPlant.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=41eab5a6&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__","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","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","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","module.exports = __webpack_public_path__ + \"img/icon-switchboard.8b491d14.svg\";"],"sourceRoot":""}