{"version":3,"sources":["webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantSettings.scss?c154","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/BuildingItem/BuildingItem.vue?5f36","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/BuildingItem/BuildingItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/BuildingItem/BuildingItem.vue","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue?b090","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.ts","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue","webpack:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructure.vue?42fb","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructure.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructure.vue","webpack:///./src/views/components/KeypadCodeInput/KeypadCodeInput.vue?fd8a","webpack:///./src/views/components/KeypadCodeInput/KeypadCodeInput.ts","webpack:///./src/views/components/KeypadCodeInput/KeypadCodeInput.vue","webpack:///./src/core/utils/axios-instance.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/AccessCodeTab/AccessCodeTab.scss?c95c","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructure.scss?8de6","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantSettings.vue?87f1","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/DeviceLanguageTab/DeviceLanguageTab.vue?4f9c","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/DeviceLanguageTab/DeviceLanguageTab.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/DeviceLanguageTab/DeviceLanguageTab.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/CallModeTab/CallModeTab.vue?4cee","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/CallModeTab/CallModeTab.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/CallModeTab/CallModeTab.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/AccessCodeTab/AccessCodeTab.vue?813e","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/AccessCodeTab/AccessCodeTab.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/AccessCodeTab/AccessCodeTab.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantSettings.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantSettings.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/DeviceLanguageTab/DeviceLanguageTab.scss?2a14","webpack:///./src/core/services/plants.ts","webpack:///./node_modules/core-js/modules/es.array.find-index.js","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/CallModeTab/CallModeTab.scss","webpack:///./node_modules/core-js/internals/string-trim-forced.js"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","render","_ctx","_cache","$props","$setup","$data","$options","_component_InlineSvgScoped","_component_Button","_component_Card","content","src","building","name","risersFloorApartmentCount","icon","_","risersCount","floorsCount","apartmentsCount","this","currentEntrancePlant","addressingType","BuildingRiserFloorApartment","risers","length","$t","floors","apartments","props","type","required","computed","emits","__exports__","_component_Dialog","visible","isDialogVisible","$event","onHide","doHideDialog","modal","showHeader","closable","default","dialogTitle","dialogMessage","onClick","handleHideDialog","doConfirm","title","message","isVisible","$emit","Boolean","String","watch","newValue","$","$trim","trim","forcedStringTrimMethod","target","proto","forced","_component_BuildingItem","_component_ElScrollbar","_component_DialogAddEditBuilding","disabled","syncStatus","isPlantActive","apartmentsAvailable","toggleAddEditBuilding","buildings","index","key","goToBuilding","isVisibleAddEditBuilding","onHideDialog","onUpdateList","handleUpdateList","reduce","acc","$router","push","params","buildingId","infoPlant","components","BuildingItem","DialogAddEditBuilding","_hoisted_7","_hoisted_8","style","_hoisted_9","_hoisted_10","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_Password","label","trigger","placement","dropdown","codeGenerator","fullWidth","toggleMask","feedback","maxlength","keypadCodeRequiredLength","modelValue","keypadCode","inputClass","newCodeNotValid","onBlur","checkNewCodeValidation","onFocus","resetNewCodeValidation","invalidNewCodeMessage","id","labelId","codeCheck","codeWasEdited","codeConfirmationNotValid","codeConfirmationValid","checkCodeConfirmationValid","resetConfirmValidation","for","oldKeypadCode","v","alreadyUsedCodes","filter","code","validation","usedCodes","OK","KO_OnlyDigitsAllowed","KO_TooShort","KO_TooLong","KO_SameDigitRepeated","KO_ConsecutiveDigits","KO_AlreadyUsed","errorCodeValidation","isCorrectValue","codeInputHasError","keypadCodeEdited","plants","randomkeypadcode","randStr","toString","Number","Array","value","oldValue","a","defaults","timeout","interceptors","request","use","config","getToken","token","headers","Authorization","response","error","addError","JSON","stringify","toJSON","status","emit","Promise","reject","_component_router_link","_component_TabPanel","_component_TabView","to","backLink","activeIndex","adminView","onTabChange","handleTabClick","header","tabContent","ref","_component_Dropdown","editedInfoPlant","language","options","validLanguages","optionLabel","optionValue","saveDisabled","handleChangeLanguage","initializeData","$store","dispatch","saveLanguage","undefined","desktopId","editinfo","console","log","setTimeout","$toast","add","severity","summary","life","_component_CallModeForm","disableCallModeChange","sortingEnabled","handleChangeCallMode","addresTypeChanged","sortingChanged","addressBookSorting","brfaNamingChanged","checkIfBrfaNamingChanged","callingCodeShowAddressBookChanged","callingCodeShowAddressBook","split","denominationApartments","denominationBuildings","denominationFloors","denominationRisers","buildNamingChanged","riserNamingChanged","floorNamingChanged","apartmentNamingChanged","saveCallMode","CallModeForm","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_component_ToggleSwitchButton","_component_ListItemRadio","_component_KeypadCodeInput","_component_DialogConfirmDelete","lengthValue","lengthOptions","passpartoutEnabled","sameCode","inputId","canEditWithPropagation","last","requiredLength","passpartoutCode","onKeyCodeEdited","handleKeyCodeEdited","onErrorKeyCode","handleErrorKeyCode","savedBuildingsCode","keypadCodePasspartoutCode","buildingName","handleBuildingKeyCodeEdited","handleSaveCode","showLengthWarning","onConfirm","confirmChangeLength","passpartoutMode","Disabled","errorKeyCode","codeChanged","lengthChoice","noChanges","hasError","mode","keypadCodePasspartoutMode","SameEntirePlant","every","keypadCodeEmpty","DifferentEachBuilding","some","initializeSavedBuildingsCode","map","keyCode","forEach","saveCode","buildingsKeycode","editedBuilding","buildingskeypad","DialogConfirmDelete","ToggleSwitchButton","KeypadCodeInput","setPasspartoutMode","ParametersTab","tabSelected","structure","$route","event","devLanguage","callmode","accessCode","EntrancePlantStructure","DeviceLanguageTab","CallModeTab","AccessCodeTab","prototype","init","data","property","Object","hasOwnProperty","call","$type","plantsClient","$findIndex","findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","callbackfn","arguments","fails","whitespaces","non","module","exports","METHOD_NAME"],"mappings":"wJAAA,W,8DCEMA,EAAa,CAAEC,MAAO,wCACtBC,EAAa,CAAED,MAAO,kCACtBE,EAAa,CAAEF,MAAO,8BACtBG,EAAa,CAAEH,MAAO,QACtBI,EAAa,CAAEJ,MAAO,aACtBK,EAAa,CAAEL,MAAO,kBAEtB,SAAUM,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAoB,8BAAkB,UACtCC,EAAkB,8BAAkB,QAE1C,OAAQ,yBAAc,yBAAaA,EAAiB,CAAEf,MAAO,4BAA8B,CACzFg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AGP,QAAgB8R,UAAUxI,OAAS,SAAU0I,GAC3C,uBACEK,MAAO,0DACJrS,OAGP,QAAU8R,UAAUxI,OAAS,SAAU0I,GACrC,uBACEK,MAAO,oDACJrS,OAGP,OAAsB8R,UAAUxI,OAAS,SAAU0I,GACjD,uBACEK,MAAO,gEACJrS,OAGP,QAAgB8R,UAAUxI,OAAS,SAAU0I,GAC3C,uBACEK,MAAO,0DACJrS,OAGP,QAAgB8R,UAAUxI,OAAS,SAAU0I,GAC3C,uBACEK,MAAO,0DACJrS,OAIP,IAAMsS,EAAe,IAAI,OAAO,GAAI,QAErB,U,yDCjKf,IAAIhQ,EAAI,EAAQ,QACZiQ,EAAa,EAAQ,QAAgCC,UACrDC,EAAmB,EAAQ,QAE3BC,EAAa,YACbC,GAAc,EAGdD,IAAc,IAAIvK,MAAM,GAAGuK,IAAY,WAAcC,GAAc,KAIvErQ,EAAE,CAAEI,OAAQ,QAASC,OAAO,EAAMC,OAAQ+P,GAAe,CACvDH,UAAW,SAAmBI,GAC5B,OAAOL,EAAWvS,KAAM4S,EAAYC,UAAUxS,OAAS,EAAIwS,UAAU,QAAKzH,MAK9EqH,EAAiBC,I,kCCpBjB,W,qBCAA,IAAII,EAAQ,EAAQ,QAChBC,EAAc,EAAQ,QAEtBC,EAAM,MAIVC,EAAOC,QAAU,SAAUC,GACzB,OAAOL,GAAM,WACX,QAASC,EAAYI,MAAkBH,EAAIG,MAAkBH,GAAOD,EAAYI,GAAa1T,OAAS0T","file":"js/page-entranceplant-settings.e7fc399b.js","sourcesContent":["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!./EntrancePlantSettings.scss?vue&type=style&index=0&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex aling-items-center\" }\nconst _hoisted_2 = { class: \"d-flex aling-items-center ml-2\" }\nconst _hoisted_3 = { class: \"bt-icon my-auto bt-icon--m\" }\nconst _hoisted_4 = { class: \"ml-3\" }\nconst _hoisted_5 = { class: \"mt-1 mb-0\" }\nconst _hoisted_6 = { class: \"my-0 text-gray\" }\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_Card = _resolveComponent(\"Card\")\n\n return (_openBlock(), _createBlock(_component_Card, { class: \"building-card card--slim\" }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"span\", _hoisted_3, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/entrancePlants/icon-building.svg`)\n ,\n \"aria-label\": \"icon-building\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.building.name), 1),\n _createVNode(\"small\", _hoisted_6, _toDisplayString(_ctx.risersFloorApartmentCount), 1)\n ])\n ]),\n _createVNode(_component_Button, {\n icon: \"pi pi-chevron-right\",\n class: \"p-button-text p-button-secondary ml-auto mr-1\"\n })\n ])\n ]),\n _: 1\n }))\n}","import { mapState } from 'vuex';\nimport {\n AddressingType,\n BuildingDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { Options, Vue } from 'vue-class-component';\n\n@Options({\n name: 'BuildingItem',\n props: {\n building: {\n type: BuildingDTO,\n required: true,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n emits: ['building-selected'],\n})\nexport default class BuildingItem extends Vue {\n building!: BuildingDTO;\n currentEntrancePlant!: EntrancePlantDetailDTO;\n\n get risersFloorApartmentCount() {\n let risersCount = '';\n let floorsCount = '';\n let apartmentsCount = '';\n\n if (\n this.currentEntrancePlant.addressingType ===\n AddressingType.BuildingRiserFloorApartment\n ) {\n risersCount = `${this.building.risers?.length} ${this.$t(\n 'AppResourceEP.Risers'\n )}`;\n floorsCount = `${this.building.floors?.length} ${this.$t(\n 'AppResourceEP.Floors'\n )}`;\n }\n\n apartmentsCount = `${this.building.apartments?.length} ${this.$t(\n 'AppResourceEP.Apartments'\n )}`;\n\n return `${risersCount} ${floorsCount} ${apartmentsCount}`;\n }\n}\n","import { render } from \"./BuildingItem.vue?vue&type=template&id=ce72c80c&ts=true\"\nimport script from \"./BuildingItem.ts?vue&type=script&lang=ts\"\nexport * from \"./BuildingItem.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: \"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__","'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 { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-start\" }\nconst _hoisted_2 = { class: \"my-4 ml-auto d-flex align-items-center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")\n const _component_BuildingItem = _resolveComponent(\"BuildingItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_DialogAddEditBuilding = _resolveComponent(\"DialogAddEditBuilding\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Button, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive || !_ctx.apartmentsAvailable,\n class: \"p-button-rounded p-button-raised p-button--m\",\n onClick: _ctx.toggleAddEditBuilding\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"entrancePlant.newBuilding\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ])\n ]),\n _createVNode(_component_ElScrollbar, { class: \"building-card-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.buildings, (building, index) => {\n return (_openBlock(), _createBlock(_component_BuildingItem, {\n class: \"building-card mt-3\",\n key: index,\n building: building,\n onClick: ($event: any) => (_ctx.goToBuilding(building))\n }, null, 8, [\"building\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n }),\n _createVNode(_component_DialogAddEditBuilding, {\n isVisible: _ctx.isVisibleAddEditBuilding,\n onHideDialog: _ctx.toggleAddEditBuilding,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"isVisible\", \"onHideDialog\", \"onUpdateList\"])\n ], 64))\n}","import { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n BuildingDTO,\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport BuildingItem from './BuildingItem/BuildingItem.vue';\nimport DialogAddEditBuilding from './DialogAddEditBuilding/DialogAddEditBuilding.vue';\n\n@Options({\n name: 'EntrancePlantStructure',\n props: {\n infoPlant: {\n required: false,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n BuildingItem,\n DialogAddEditBuilding,\n },\n emits: ['update-list'],\n})\nexport default class EntrancePlantStructure extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n\n isVisibleAddEditBuilding = false;\n\n async mounted() {}\n\n get buildings() {\n return this.currentEntrancePlant.buildings;\n }\n \n get apartmentsAvailable() {\n return this.currentEntrancePlant.buildings!.reduce(\n (acc, building) => acc + building.apartments!.length,\n 0\n ) < 3999;\n }\n\n goToBuilding(building: BuildingDTO) {\n this.$router.push({\n name: 'page-entranceplant-structure-building',\n params: { buildingId: building.buildingId ?? '' },\n });\n }\n\n toggleAddEditBuilding() {\n this.isVisibleAddEditBuilding = !this.isVisibleAddEditBuilding;\n }\n\n handleUpdateList() {\n this.$emit('update-list');\n }\n}\n","import { render } from \"./EntrancePlantStructure.vue?vue&type=template&id=585d6d23&ts=true\"\nimport script from \"./EntrancePlantStructure.ts?vue&type=script&lang=ts\"\nexport * from \"./EntrancePlantStructure.ts?vue&type=script&lang=ts\"\n\nimport \"./EntrancePlantStructure.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 { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-field\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = { class: \"fw-bold\" }\nconst _hoisted_4 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_5 = { class: \"ml-2\" }\nconst _hoisted_6 = { class: \"btn-stripped\" }\nconst _hoisted_7 = { class: \"p-field-label mt-3\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"fs-13 label-error\",\n style: {\"position\":\"absolute\"}\n}\nconst _hoisted_9 = { class: \"p-field\" }\nconst _hoisted_10 = { class: \"p-field-label\" }\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_Password = _resolveComponent(\"Password\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"span\", _hoisted_2, [\n _createVNode(\"label\", _hoisted_3, _toDisplayString(_ctx.label), 1),\n _createVNode(_component_ElDropdown, {\n class: \"ml-auto\",\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\":\"200px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_ElDropdownItem, {\n disabled: _ctx.disabled,\n onClick: _ctx.codeGenerator\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResourceEP.GenerateKeypadCode\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, { class: \"p-button-rounded p-button-outlined ml-auto\" }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_4, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-ellipsis-v.svg`)\n ,\n \"aria-label\": \"icon-ellipsis\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.More\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.KeypadCode\")), 1),\n _createVNode(_component_Password, {\n disabled: _ctx.disabled,\n class: [\"w-50\", { 'w-100': _ctx.fullWidth }],\n toggleMask: \"\",\n feedback: false,\n maxlength: _ctx.keypadCodeRequiredLength,\n modelValue: _ctx.keypadCode,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.keypadCode = $event)),\n inputClass: {\n 'w-100': true,\n 'input-error': _ctx.newCodeNotValid,\n },\n onBlur: _ctx.checkNewCodeValidation,\n onFocus: _ctx.resetNewCodeValidation\n }, null, 8, [\"disabled\", \"maxlength\", \"modelValue\", \"inputClass\", \"class\", \"onBlur\", \"onFocus\"]),\n _createVNode(\"div\", null, [\n (_ctx.newCodeNotValid)\n ? (_openBlock(), _createBlock(\"label\", _hoisted_8, _toDisplayString(_ctx.invalidNewCodeMessage), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.KeypadCodeConfirmationUpper\")), 1),\n _createVNode(_component_Password, {\n disabled: _ctx.disabled,\n toggleMask: \"\",\n id: 'codecheck_' + _ctx.labelId,\n maxlength: _ctx.keypadCodeRequiredLength,\n class: [\"w-50\", { 'w-100': _ctx.fullWidth }],\n feedback: false,\n modelValue: _ctx.codeCheck,\n \"onUpdate:modelValue\": [\n _cache[2] || (_cache[2] = ($event: any) => (_ctx.codeCheck = $event)),\n _ctx.codeWasEdited\n ],\n inputClass: {\n 'w-100': true,\n 'input-error': _ctx.codeConfirmationNotValid,\n 'input-valid': _ctx.codeConfirmationValid,\n },\n onBlur: _ctx.checkCodeConfirmationValid,\n onFocus: _ctx.resetConfirmValidation\n }, null, 8, [\"disabled\", \"id\", \"maxlength\", \"modelValue\", \"inputClass\", \"class\", \"onUpdate:modelValue\", \"onBlur\", \"onFocus\"]),\n _createVNode(\"div\", null, [\n (_ctx.codeConfirmationValid)\n ? (_openBlock(), _createBlock(\"label\", {\n key: 0,\n for: 'codecheck_' + _ctx.labelId,\n class: \"fs-13 label-valid\"\n }, _toDisplayString(_ctx.$t(\"AppResourceEP.KeypadCodeConfirmationMatch\")), 9, [\"for\"]))\n : (_ctx.codeConfirmationNotValid)\n ? (_openBlock(), _createBlock(\"label\", {\n key: 1,\n for: 'codecheck_' + _ctx.labelId,\n class: \"fs-13 label-error\"\n }, _toDisplayString(_ctx.$t(\"AppResourceEP.KeypadCodeConfirmationDoesNotMatch\")), 9, [\"for\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n}","import plantsClient from '@/core/services/plants';\nimport { isCodeCorrectValue, KeypadCodeValidation } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport { Options, Vue } from 'vue-class-component';\n\n@Options({\n name: 'KeypadCodeInput',\n props: {\n modelValue: {\n type: String,\n required: true,\n },\n keypadCodeRequiredLength: {\n type: Number,\n required: true,\n },\n fullWidth: {\n type: Boolean,\n required: false,\n default: false,\n },\n label: {\n type: String,\n required: false,\n },\n labelId: {\n type: Number,\n required: false,\n default: 0,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n alreadyUsedCodes: {\n type: Array,\n required: true,\n default: [],\n }\n },\n watch: {\n keypadCode: function (value: string, oldValue: string) {\n if (value !== oldValue && this.keypadCodeEdited()) {\n this.resetConfirmValidation();\n }\n this.codeWasEdited();\n },\n codeCheck: function () {\n this.codeWasEdited();\n },\n },\n\n emits: ['key-code-edited', 'error-key-code', 'update:modelValue'],\n})\nexport default class KeypadCodeInput extends Vue {\n modelValue!: string;\n keypadCodeRequiredLength!: number;\n fullWidth!: boolean;\n label!: string;\n labelId!: number;\n alreadyUsedCodes!: string[];\n codeCheck: string = '';\n codeConfirmationNotValid = false;\n codeConfirmationValid = false;\n newCodeNotValid = false;\n oldKeypadCode = '';\n disabled!: boolean;\n invalidNewCodeMessage = '';\n\n mounted() {\n if (this.modelValue) {\n this.oldKeypadCode = this.modelValue;\n this.keypadCode = this.modelValue;\n this.codeCheck = this.modelValue;\n }\n }\n\n get keypadCode() {\n return this.modelValue;\n }\n\n set keypadCode(v: any) {\n this.$emit('update:modelValue', v);\n }\n\n get usedCodes() {\n return this.alreadyUsedCodes.filter((code) => code !== this.oldKeypadCode);\n }\n\n get isCorrectValue() {\n const validation = isCodeCorrectValue(this.keypadCode, this.usedCodes, this.keypadCodeRequiredLength);\n switch (validation) {\n case KeypadCodeValidation.OK:\n this.invalidNewCodeMessage = '';\n return true;\n case KeypadCodeValidation.KO_OnlyDigitsAllowed:\n this.invalidNewCodeMessage = this.$t('entrancePlant.keypadCodeOnlyDigitsAllowed');\n return false;\n case KeypadCodeValidation.KO_TooShort:\n this.invalidNewCodeMessage = this.$t('entrancePlant.keypadCodeTooShort');\n return false;\n case KeypadCodeValidation.KO_TooLong:\n this.invalidNewCodeMessage = this.$t('entrancePlant.keypadCodeTooLong');\n return false;\n case KeypadCodeValidation.KO_SameDigitRepeated:\n this.invalidNewCodeMessage = this.$t('entrancePlant.keypadCodeSameDigitRepeated');\n return false;\n case KeypadCodeValidation.KO_ConsecutiveDigits:\n this.invalidNewCodeMessage = this.$t('entrancePlant.keypadCodeConsecutiveDigits');\n return false;\n case KeypadCodeValidation.KO_AlreadyUsed:\n this.invalidNewCodeMessage = this.$t('AppResourceEP.keypadCodeAlreadyExistsInPlant');\n return false;\n }\n }\n\n get enableShare() {\n return this.codeCheck !== '' && this.codeCheck === this.keypadCode;\n }\n\n get codeInputHasError() {\n const errorCodeValidation = !this.isCorrectValue || (this.codeCheck !== this.keypadCode);\n return errorCodeValidation;\n }\n\n codeWasEdited() {\n this.$emit('error-key-code', this.codeInputHasError);\n this.$emit('key-code-edited', this.keypadCodeEdited(), this.keypadCode, this.labelId);\n }\n\n checkNewCodeValidation() {\n this.newCodeNotValid = this.keypadCode !== '' && !this.isCorrectValue;\n }\n\n resetNewCodeValidation() {\n this.newCodeNotValid = false;\n this.codeConfirmationNotValid = false;\n }\n\n checkCodeConfirmationValid() {\n if (this.codeCheck.trim() !== '' || this.keypadCode.trim() !== '') {\n this.codeConfirmationNotValid = this.codeCheck !== this.keypadCode;\n this.codeConfirmationValid =\n this.isCorrectValue && this.codeCheck === this.keypadCode;\n }\n }\n\n resetConfirmValidation() {\n this.codeConfirmationNotValid = false;\n this.codeConfirmationValid = false;\n }\n\n keypadCodeEdited() {\n if (this.keypadCode !== '') {\n return (\n this.codeCheck === this.keypadCode &&\n this.keypadCode !== this.oldKeypadCode\n );\n } else {\n return this.keypadCode !== this.oldKeypadCode;\n }\n }\n\n async codeGenerator() {\n this.resetConfirmValidation();\n this.resetNewCodeValidation();\n const randStr = await plantsClient.randomkeypadcode(\n this.keypadCodeRequiredLength\n );\n this.keypadCode = randStr.toString();\n this.codeCheck = randStr.toString();\n }\n}\n","import { render } from \"./KeypadCodeInput.vue?vue&type=template&id=28e334f4&ts=true\"\nimport script from \"./KeypadCodeInput.ts?vue&type=script&lang=ts\"\nexport * from \"./KeypadCodeInput.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","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!./AccessCodeTab.scss?vue&type=style&index=0&lang=scss\"","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!./EntrancePlantStructure.scss?vue&type=style&index=0&lang=scss\"","import { createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-start\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-chevron-left mr-1\" }, null, -1)\nconst _hoisted_3 = { class: \"mt-2\" }\nconst _hoisted_4 = { class: \"d-flex align-items-baseline justify-content-between\" }\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_TabPanel = _resolveComponent(\"TabPanel\")\n const _component_TabView = _resolveComponent(\"TabView\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", null, [\n _createVNode(\"div\", _hoisted_1, [\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_2,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\"general.backTo\")) + \": \" + _toDisplayString(_ctx.currentEntrancePlant.name), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResourceEP.ParametersAndSettings\")), 1)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_TabView, {\n activeIndex: _ctx.adminView ? 1 : 0,\n class: \"parameters-tabs p-tabview--custom\",\n onTabChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleTabClick($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_TabPanel, {\n disabled: _ctx.adminView,\n header: _ctx.$t('AppResourceEP.Structure')\n }, null, 8, [\"disabled\", \"header\"]),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResourceEP.DeviceLanguage')\n }, null, 8, [\"header\"]),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResourceEP.CallMode')\n }, null, 8, [\"header\"]),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResourceEP.AccessCode')\n }, null, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"activeIndex\"])\n ]),\n _createVNode(\"div\", null, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tabContent), {\n ref: _ctx.tabContent,\n infoPlant: _ctx.infoPlant,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"infoPlant\", \"onUpdateList\"]))\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-custom ml-4\" }\nconst _hoisted_2 = { class: \"devicelang-tab__content\" }\nconst _hoisted_3 = { class: \"p-field-label\" }\nconst _hoisted_4 = { class: \"apartment__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"label\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceLanguage\")), 1),\n _createVNode(_component_Dropdown, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive,\n class: \"device-lang__dropdown\",\n modelValue: _ctx.editedInfoPlant.language,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.editedInfoPlant.language = $event)),\n options: _ctx.validLanguages,\n optionLabel: \"name\",\n optionValue: \"code\"\n }, null, 8, [\"disabled\", \"modelValue\", \"options\"])\n ])\n ]),\n _createVNode(\"footer\", _hoisted_4, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveDisabled,\n onClick: _ctx.handleChangeLanguage\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Save\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ], 64))\n}","import {\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport { validLanguages } from '@/core/utils/utils';\nimport plantsClient from '@/core/services/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\n\n@Options({\n name: 'DeviceLanguageTab',\n props: {\n infoPlant: {\n type: EntrancePlantInfoCreateDTO,\n required: true,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {},\n emits: ['update-list'],\n})\nexport default class DeviceLanguageTab extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n validLanguages = validLanguages;\n infoPlant!: EntrancePlantDetailDTO;\n editedInfoPlant: EntrancePlantDetailDTO = new EntrancePlantInfoCreateDTO();\n\n mounted() {\n this.initializeData();\n }\n\n initializeData() {\n this.editedInfoPlant = new EntrancePlantInfoCreateDTO({\n language: this.infoPlant.language,\n });\n }\n\n get saveDisabled() {\n return this.editedInfoPlant.language === this.infoPlant.language || this.currentEntrancePlant.syncStatus?.isPlantActive;\n }\n\n async handleChangeLanguage() {\n this.$store.dispatch(SET_APP_LOADING, true);\n await this.saveLanguage();\n this.$emit('update-list');\n \n this.$store.dispatch(SET_APP_LOADING, false);\n }\n\n async saveLanguage() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n try {\n this.infoPlant.language = this.editedInfoPlant.language;\n\n await plantsClient.editinfo(\n this.currentEntrancePlant.desktopId,\n this.infoPlant\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 }\n }\n}\n","import { render } from \"./DeviceLanguageTab.vue?vue&type=template&id=892c732c&ts=true\"\nimport script from \"./DeviceLanguageTab.ts?vue&type=script&lang=ts\"\nexport * from \"./DeviceLanguageTab.ts?vue&type=script&lang=ts\"\n\nimport \"./DeviceLanguageTab.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, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-custom ml-4\" }\nconst _hoisted_2 = { class: \"apartment__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CallModeForm = _resolveComponent(\"CallModeForm\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_CallModeForm, {\n disabled: _ctx.disableCallModeChange,\n class: \"mt-4\",\n ref: \"callModeForm\",\n infoPlant: _ctx.editedInfoPlant,\n adminView: _ctx.adminView,\n sortingEnabled: true\n }, null, 8, [\"disabled\", \"infoPlant\", \"adminView\"])\n ]),\n _createVNode(\"footer\", _hoisted_2, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveDisabled,\n onClick: _ctx.handleChangeCallMode\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Save\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ], 64))\n}","import {\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport plantsClient from '@/core/services/plants';\nimport CallModeForm from '@/views/components/CallModeForm/CallModeForm.vue';\n\n@Options({\n name: 'CallModeTab',\n props: {\n infoPlant: {\n type: EntrancePlantInfoCreateDTO,\n required: true,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant', 'adminView']),\n },\n components: {\n CallModeForm,\n },\n emits: ['update-list'],\n})\nexport default class CallModeTab extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n adminView!: boolean;\n infoPlant!: EntrancePlantDetailDTO;\n editedInfoPlant: EntrancePlantDetailDTO = new EntrancePlantInfoCreateDTO();\n\n get saveDisabled() {\n const addresTypeChanged =\n this.editedInfoPlant.addressingType !== this.infoPlant.addressingType;\n const sortingChanged =\n this.editedInfoPlant.addressBookSorting !==\n this.infoPlant.addressBookSorting;\n const brfaNamingChanged = this.checkIfBrfaNamingChanged();\n const callingCodeShowAddressBookChanged =\n this.editedInfoPlant.callingCodeShowAddressBook !==\n this.infoPlant.callingCodeShowAddressBook;\n return (\n !addresTypeChanged &&\n !sortingChanged &&\n !brfaNamingChanged &&\n !callingCodeShowAddressBookChanged\n );\n }\n\n get callModeHelpDescription() {\n return this.$t('AppResourceEP.CallModeHelpDescription').split('\\n');\n }\n\n get disableCallModeChange() {\n //FOR NOW WE WANT TO DISABLE CALL MODE CHANGE\n return true;\n\n return this.currentEntrancePlant.syncStatus?.isPlantActive\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.editedInfoPlant = new EntrancePlantInfoCreateDTO({\n addressBookSorting: this.infoPlant.addressBookSorting,\n addressingType: this.infoPlant.addressingType,\n denominationApartments: this.infoPlant.denominationApartments,\n denominationBuildings: this.infoPlant.denominationBuildings,\n denominationFloors: this.infoPlant.denominationFloors,\n denominationRisers: this.infoPlant.denominationRisers,\n callingCodeShowAddressBook: this.infoPlant.callingCodeShowAddressBook,\n });\n }\n\n checkIfBrfaNamingChanged(): boolean {\n const buildNamingChanged =\n this.editedInfoPlant.denominationBuildings !==\n this.infoPlant.denominationBuildings;\n const riserNamingChanged =\n this.editedInfoPlant.denominationRisers !==\n this.infoPlant.denominationRisers;\n const floorNamingChanged =\n this.editedInfoPlant.denominationFloors !==\n this.infoPlant.denominationFloors;\n const apartmentNamingChanged =\n this.editedInfoPlant.denominationApartments !==\n this.infoPlant.denominationApartments;\n\n return (\n buildNamingChanged ||\n riserNamingChanged ||\n floorNamingChanged ||\n apartmentNamingChanged\n );\n }\n\n async handleChangeCallMode() {\n this.$store.dispatch(SET_APP_LOADING, true);\n if (!this.adminView) await this.saveCallMode();\n else this.editedInfoPlant = new EntrancePlantInfoCreateDTO(this.infoPlant);\n this.$emit('update-list');\n\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n\n async saveCallMode() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n try {\n this.infoPlant.addressBookSorting = this.editedInfoPlant.addressBookSorting;\n this.infoPlant.addressingType = this.editedInfoPlant.addressingType;\n this.infoPlant.denominationApartments = this.editedInfoPlant.denominationApartments;\n this.infoPlant.denominationBuildings = this.editedInfoPlant.denominationBuildings;\n this.infoPlant.denominationFloors = this.editedInfoPlant.denominationFloors;\n this.infoPlant.denominationRisers = this.editedInfoPlant.denominationRisers;\n this.infoPlant.callingCodeShowAddressBook = this.editedInfoPlant.callingCodeShowAddressBook;\n\n await plantsClient.editinfo(\n this.currentEntrancePlant.desktopId,\n this.infoPlant\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 }\n }\n}\n","import { render } from \"./CallModeTab.vue?vue&type=template&id=744dab38&ts=true\"\nimport script from \"./CallModeTab.ts?vue&type=script&lang=ts\"\nexport * from \"./CallModeTab.ts?vue&type=script&lang=ts\"\n\nimport \"./CallModeTab.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 { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-custom ml-4\" }\nconst _hoisted_2 = { class: \"accesscode-tab__content\" }\nconst _hoisted_3 = { class: \"p-field-label\" }\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = { class: \"mt-4 d-flex align-items-center\" }\nconst _hoisted_6 = { class: \"mt-2\" }\nconst _hoisted_7 = { class: \"mt-1 text-gray\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"mt-3\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"mt-4\"\n}\nconst _hoisted_10 = { class: \"p-field-label\" }\nconst _hoisted_11 = { class: \"mt-1\" }\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_14 = {\n key: 0,\n class: \"building-code__input\"\n}\nconst _hoisted_15 = { class: \"mt-5\" }\nconst _hoisted_16 = { class: \"p-field-label\" }\nconst _hoisted_17 = { class: \"mt-1\" }\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_20 = { class: \"apartment__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_ToggleSwitchButton = _resolveComponent(\"ToggleSwitchButton\")\n const _component_ListItemRadio = _resolveComponent(\"ListItemRadio\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_KeypadCodeInput = _resolveComponent(\"KeypadCodeInput\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_ElScrollbar, { class: \"dialog-scroll\" }, {\n default: _withCtx(() => [\n _createVNode(\"div\", null, [\n _createVNode(\"label\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResourceEP.KeypadCodeSettingsLength\")), 1),\n (!_ctx.adminView)\n ? (_openBlock(), _createBlock(_component_Dropdown, {\n key: 0,\n class: \"keypadlength__dropdown\",\n modelValue: _ctx.lengthValue,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.lengthValue = $event)),\n options: _ctx.lengthOptions,\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive\n }, null, 8, [\"modelValue\", \"options\", \"disabled\"]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_4, _toDisplayString(_ctx.lengthValue), 1))\n ]),\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, [\n _createTextVNode(_toDisplayString(_ctx.$t(\n \"AppResourceEP.KeypadCodeSettingsPasspartout\"\n )) + \" \", 1),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.$t(\n \"AppResourceEP.KeypadCodeSettingsPasspartoutSwitch\"\n )), 1)\n ])\n ]),\n _createVNode(_component_ToggleSwitchButton, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive,\n class: \"ml-auto\",\n modelValue: _ctx.keypadCode.passpartoutEnabled,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.keypadCode.passpartoutEnabled = $event))\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n (_ctx.keypadCode.passpartoutEnabled)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_8, [\n _createVNode(_component_ListItemRadio, {\n modelValue: _ctx.keypadCode.sameCode,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.keypadCode.sameCode = $event)),\n label: _ctx.$t('AppResourceEP.AccessCodeSameForBuildings')\n ,\n inputId: \"SameCode\",\n name: \"sameCode\",\n value: true,\n disabled: !_ctx.keypadCode.passpartoutEnabled || !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation\n }, null, 8, [\"modelValue\", \"label\", \"disabled\"]),\n _createVNode(_component_ListItemRadio, {\n modelValue: _ctx.keypadCode.sameCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.keypadCode.sameCode = $event)),\n label: _ctx.$t(\n 'AppResourceEP.AccessCodeDifferentForBuildings'\n )\n ,\n inputId: \"DifferentCode\",\n name: \"differentCode\",\n value: false,\n disabled: !_ctx.keypadCode.passpartoutEnabled || !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation,\n last: \"\"\n }, null, 8, [\"modelValue\", \"label\", \"disabled\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.keypadCode.passpartoutEnabled && !_ctx.keypadCode.sameCode)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"span\", null, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.AccessCodeInstruction\")), 1),\n _createVNode(\"div\", _hoisted_11, [\n _createTextVNode(_toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_Lenght\",\n [_ctx.keypadCode.requiredLength]\n )) + \" \", 1),\n _hoisted_12,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_Consecutive\"\n )) + \" \", 1),\n _hoisted_13,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_SameNumber\"\n )), 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n (_ctx.keypadCode.passpartoutEnabled && _ctx.keypadCode.sameCode)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_14, [\n _createVNode(_component_KeypadCodeInput, {\n key: _ctx.keypadCode.requiredLength,\n modelValue: _ctx.keypadCode.passpartoutCode,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.keypadCode.passpartoutCode = $event)),\n label: _ctx.$t('AppResourceEP.KeypadCodePlaceHolder'),\n keypadCodeRequiredLength: _ctx.keypadCode.requiredLength,\n onKeyCodeEdited: _ctx.handleKeyCodeEdited,\n onErrorKeyCode: _ctx.handleErrorKeyCode,\n disabled: !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation\n }, null, 8, [\"modelValue\", \"label\", \"keypadCodeRequiredLength\", \"onKeyCodeEdited\", \"onErrorKeyCode\", \"disabled\"]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"label\", _hoisted_16, _toDisplayString(_ctx.$t(\"AppResourceEP.AccessCodeInstruction\")), 1),\n _createVNode(\"div\", _hoisted_17, [\n _createTextVNode(_toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_Lenght\",\n [_ctx.keypadCode.requiredLength]\n )) + \" \", 1),\n _hoisted_18,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_Consecutive\"\n )) + \" \", 1),\n _hoisted_19,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\n \"AppResourceEP.AccessCodeInstruction_SameNumber\"\n )), 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.keypadCode.passpartoutEnabled && !_ctx.keypadCode.sameCode)\n ? (_openBlock(), _createBlock(\"span\", {\n class: \"building-code__input\",\n key: _ctx.keypadCode.requiredLength\n }, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.savedBuildingsCode, (building, index) => {\n return (_openBlock(), _createBlock(_component_KeypadCodeInput, {\n key: building.buildingId,\n modelValue: building.keypadCodePasspartoutCode,\n \"onUpdate:modelValue\": ($event: any) => (building.keypadCodePasspartoutCode = $event),\n label: building.buildingName,\n labelId: index,\n keypadCodeRequiredLength: _ctx.keypadCode.requiredLength,\n onKeyCodeEdited: _ctx.handleBuildingKeyCodeEdited,\n onErrorKeyCode: _ctx.handleErrorKeyCode,\n disabled: !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"label\", \"labelId\", \"keypadCodeRequiredLength\", \"onKeyCodeEdited\", \"onErrorKeyCode\", \"disabled\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_20, [\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveDisabled,\n onClick: _ctx.handleSaveCode\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Save\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _createVNode(_component_DialogConfirmDelete, {\n isVisible: _ctx.showLengthWarning,\n title: _ctx.$t('AppResource.Warning'),\n message: _ctx.$t('AppResourceEP.KeyPadCodeConfirmationReset'),\n onHideDialog: _cache[6] || (_cache[6] = () => (_ctx.showLengthWarning = false)),\n onConfirm: _ctx.confirmChangeLength\n }, null, 8, [\"isVisible\", \"title\", \"message\", \"onConfirm\"])\n ], 64))\n}","import {\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n PasspartoutModes,\n} from '@/../client-generator/generated-clients/plants';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport plantsClient from '@/core/services/plants';\nimport ToggleSwitchButton from '@/views/components/ToggleSwitchButton/ToggleSwitchButton.vue';\nimport KeypadCodeInput from '@/views/components/KeypadCodeInput/KeypadCodeInput.vue';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\n\ninterface KeypadCode {\n passpartoutEnabled?: boolean;\n sameCode?: boolean;\n passpartoutCode?: string;\n requiredLength?: number;\n}\n\n@Options({\n name: 'AccessCodeTab',\n props: {\n infoPlant: {\n type: EntrancePlantInfoCreateDTO,\n required: true,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant', 'adminView']),\n },\n components: {\n DialogConfirmDelete,\n ToggleSwitchButton,\n KeypadCodeInput,\n },\n watch: {\n 'keypadCode.sameCode': function () {\n this.setPasspartoutMode();\n },\n 'keypadCode.passpartoutEnabled': function () {\n this.setPasspartoutMode();\n },\n },\n emits: ['update-list'],\n})\nexport default class AccessCodeTab extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n adminView!: boolean;\n infoPlant!: EntrancePlantInfoCreateDTO;\n keypadCode: KeypadCode = {\n passpartoutEnabled: false,\n sameCode: true,\n passpartoutCode: '',\n requiredLength: 5,\n };\n savedBuildingsCode: {\n buildingId?: string;\n buildingName?: string;\n keypadCodePasspartoutCode?: string;\n codeChanged: boolean;\n }[] = [];\n lengthOptions = [4, 5, 6, 7, 8, 9];\n passpartoutMode = PasspartoutModes.Disabled;\n errorKeyCode = false;\n codeChanged = false;\n lengthChoice?: number;\n showLengthWarning = false;\n\n get lengthValue() {\n return this.keypadCode.requiredLength;\n }\n\n set lengthValue(value: number | undefined) {\n if (value !== this.keypadCode.requiredLength) {\n this.lengthChoice = value;\n this.showLengthWarning = true;\n }\n }\n\n get saveDisabled() {\n return this.noChanges || this.hasError || !this.currentEntrancePlant.syncStatus?.canEditWithPropagation;\n }\n\n get noChanges() {\n const length =\n this.keypadCode.requiredLength ===\n this.infoPlant.keypadCodeRequiredLength;\n const mode =\n this.passpartoutMode === this.infoPlant.keypadCodePasspartoutMode;\n\n const code =\n this.passpartoutMode === PasspartoutModes.SameEntirePlant\n ? !this.codeChanged\n : this.savedBuildingsCode.every((building) => !building.codeChanged);\n\n return length && mode && code;\n }\n\n get hasError() {\n let keypadCodeEmpty = false;\n if (this.passpartoutMode === PasspartoutModes.SameEntirePlant) {\n keypadCodeEmpty =\n this.keypadCode.passpartoutCode === '' ||\n this.keypadCode.passpartoutCode === undefined;\n }\n if (this.passpartoutMode === PasspartoutModes.DifferentEachBuilding) {\n keypadCodeEmpty = this.savedBuildingsCode.some(\n (building) =>\n building.keypadCodePasspartoutCode === '' ||\n building.keypadCodePasspartoutCode === undefined\n );\n }\n return keypadCodeEmpty || this.errorKeyCode;\n }\n\n created(): void {\n this.initializeData();\n this.initializeSavedBuildingsCode();\n }\n\n initializeData() {\n switch (this.infoPlant.keypadCodePasspartoutMode) {\n case PasspartoutModes.Disabled:\n this.keypadCode.passpartoutEnabled = false;\n break;\n\n case PasspartoutModes.SameEntirePlant:\n this.keypadCode.passpartoutEnabled = true;\n this.keypadCode.sameCode = true;\n break;\n\n case PasspartoutModes.DifferentEachBuilding:\n this.keypadCode.passpartoutEnabled = true;\n this.keypadCode.sameCode = false;\n break;\n }\n this.keypadCode.passpartoutCode = this.infoPlant.keypadCodePasspartoutCode;\n this.keypadCode.requiredLength = this.infoPlant.keypadCodeRequiredLength;\n }\n\n initializeSavedBuildingsCode() {\n if (!this.currentEntrancePlant.buildings) this.savedBuildingsCode = [];\n else\n this.savedBuildingsCode = this.currentEntrancePlant.buildings.map(\n (building) => ({\n buildingId: building.buildingId,\n buildingName: building.name,\n keypadCodePasspartoutCode: building.keypadCodePasspartoutCode,\n codeChanged: false,\n })\n );\n }\n\n handleKeyCodeEdited(value: boolean, keyCode: string) {\n this.codeChanged = value;\n\n if (!this.errorKeyCode) {\n this.keypadCode.passpartoutCode = keyCode;\n }\n }\n\n handleBuildingKeyCodeEdited(value: boolean, keyCode: string, index: number) {\n this.savedBuildingsCode[index].codeChanged = value;\n }\n\n handleErrorKeyCode(value: boolean) {\n this.errorKeyCode = value;\n }\n\n setPasspartoutMode() {\n if (this.keypadCode.passpartoutEnabled) {\n if (this.keypadCode.sameCode) {\n this.passpartoutMode = PasspartoutModes.SameEntirePlant;\n this.savedBuildingsCode.forEach(\n (building) => (building.keypadCodePasspartoutCode = '')\n );\n } else {\n this.passpartoutMode = PasspartoutModes.DifferentEachBuilding;\n this.keypadCode.passpartoutCode = '';\n }\n } else {\n this.passpartoutMode = PasspartoutModes.Disabled;\n this.keypadCode.passpartoutCode = '';\n this.savedBuildingsCode.forEach(\n (building) => (building.keypadCodePasspartoutCode = '')\n );\n }\n }\n\n confirmChangeLength() {\n this.keypadCode.requiredLength = this.lengthChoice;\n this.keypadCode.passpartoutCode = '';\n this.codeChanged = true;\n this.savedBuildingsCode.forEach((building) => {\n building.keypadCodePasspartoutCode = '';\n building.codeChanged = true;\n });\n this.showLengthWarning = false;\n }\n\n async handleSaveCode() {\n this.$store.dispatch(SET_APP_LOADING, true);\n\n await this.saveCode();\n this.$emit('update-list');\n\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n\n async saveCode() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n try {\n this.infoPlant.keypadCodePasspartoutMode = this.passpartoutMode;\n this.infoPlant.keypadCodePasspartoutCode =\n this.passpartoutMode === PasspartoutModes.SameEntirePlant\n ? this.keypadCode.passpartoutCode\n : '';\n this.infoPlant.keypadCodeRequiredLength = this.keypadCode.requiredLength;\n this.codeChanged = false;\n\n await plantsClient.editinfo(\n this.currentEntrancePlant.desktopId,\n this.infoPlant\n );\n\n const buildingsKeycode: { [key: string]: string } = {};\n for (const editedBuilding of this.savedBuildingsCode) {\n if (!editedBuilding.buildingId) continue;\n buildingsKeycode[editedBuilding.buildingId] =\n this.passpartoutMode === PasspartoutModes.DifferentEachBuilding\n ? editedBuilding.keypadCodePasspartoutCode || ''\n : '';\n editedBuilding.codeChanged = false;\n }\n\n await plantsClient.buildingskeypad(\n this.currentEntrancePlant.desktopId,\n buildingsKeycode\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 }\n }\n}\n","import { render } from \"./AccessCodeTab.vue?vue&type=template&id=a7da1ba0&ts=true\"\nimport script from \"./AccessCodeTab.ts?vue&type=script&lang=ts\"\nexport * from \"./AccessCodeTab.ts?vue&type=script&lang=ts\"\n\nimport \"./AccessCodeTab.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 EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport EntrancePlantStructure from './EntrancePlantStructure/EntrancePlantStructure.vue';\nimport DeviceLanguageTab from './DeviceLanguageTab/DeviceLanguageTab.vue';\nimport CallModeTab from './CallModeTab/CallModeTab.vue';\nimport AccessCodeTab from './AccessCodeTab/AccessCodeTab.vue';\n\nenum ParametersTab {\n structure = 'structure',\n devLanguage = 'devLanguage',\n callmode = 'callMode',\n accessCode = 'accessCode',\n // submitIssue = 'submitIssue',\n}\n\n@Options({\n name: 'EntrancePlantSettings',\n computed: {\n ...mapState(['currentEntrancePlant', 'adminView']),\n },\n components: {\n EntrancePlantStructure,\n DeviceLanguageTab,\n CallModeTab,\n AccessCodeTab,\n // SubmitIssueTab\n },\n emits: ['update-list'],\n})\nexport default class EntrancePlantSettings extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n adminView!: boolean;\n tabSelected: ParametersTab = ParametersTab.structure;\n tabContent = 'EntrancePlantStructure';\n infoPlant: EntrancePlantInfoCreateDTO = new EntrancePlantInfoCreateDTO();\n\n async mounted() {\n this.tabContent = this.adminView\n ? 'DeviceLanguageTab'\n : 'EntrancePlantStructure';\n this.initializeData();\n }\n\n get backLink() {\n return {\n name: 'page-entranceplant-dashboard',\n params: this.$route.params,\n };\n }\n\n initializeData() {\n this.infoPlant = new EntrancePlantInfoCreateDTO({\n language: this.currentEntrancePlant.language,\n addressBookSorting: this.currentEntrancePlant.addressBookSorting,\n addressingType: this.currentEntrancePlant.addressingType,\n denominationApartments: this.currentEntrancePlant.denominationApartments,\n denominationBuildings: this.currentEntrancePlant.denominationBuildings,\n denominationFloors: this.currentEntrancePlant.denominationFloors,\n denominationRisers: this.currentEntrancePlant.denominationRisers,\n callingCodeShowAddressBook: this.currentEntrancePlant.callingCodeShowAddressBook,\n keypadCodePasspartoutMode: this.currentEntrancePlant.keypadCodePasspartoutMode,\n keypadCodePasspartoutCode: this.currentEntrancePlant.keypadCodePasspartoutCode,\n keypadCodeRequiredLength: this.currentEntrancePlant.keypadCodeRequiredLength\n });\n }\n\n handleTabClick(event: { index: number }) {\n let tab: ParametersTab = ParametersTab.structure;\n switch (event.index) {\n case 0:\n tab = ParametersTab.structure;\n this.tabContent = 'EntrancePlantStructure';\n break;\n case 1:\n tab = ParametersTab.devLanguage;\n this.tabContent = 'DeviceLanguageTab';\n break;\n case 2:\n tab = ParametersTab.callmode;\n this.tabContent = 'CallModeTab';\n break;\n case 3:\n tab = ParametersTab.accessCode;\n this.tabContent = 'AccessCodeTab';\n break;\n // case 4:\n // tab = ParametersTab.submitIssue;\n // this.tabContent = 'SubmitIssueTab';\n // break;\n }\n }\n\n handleUpdateList() {\n this.$emit('update-list');\n }\n}\n","import { render } from \"./EntrancePlantSettings.vue?vue&type=template&id=565ddd66&ts=true\"\nimport script from \"./EntrancePlantSettings.ts?vue&type=script&lang=ts\"\nexport * from \"./EntrancePlantSettings.ts?vue&type=script&lang=ts\"\n\nimport \"./EntrancePlantSettings.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__","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!./DeviceLanguageTab.scss?vue&type=style&index=0&lang=scss\"","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","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","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!./CallModeTab.scss?vue&type=style&index=0&lang=scss\"","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"],"sourceRoot":""}