{"version":3,"sources":["webpack:///./src/views/components/HelpPopupButton/HelpPopupButton.vue?e586","webpack:///./src/views/components/HelpPopupButton/HelpPopupButton.ts","webpack:///./src/views/components/HelpPopupButton/HelpPopupButton.vue","webpack:///./src/assets/images/icons/icon-less.svg","webpack:///./src/views/components/CallModeForm/CallModeForm.scss?6702","webpack:///./src/views/components/CallModeForm/CallModeForm.vue?3dac","webpack:///./src/views/components/CallModeForm/CallModeForm.ts","webpack:///./src/views/components/CallModeForm/CallModeForm.vue","webpack:///./src/assets/images/icons/icon-add.svg","webpack:///./src/core/utils/EntrancePlant/denomination-helper.ts","webpack:///./src/views/components/ToggleSwitchButton/ToggleSwitchButton.scss?61fc","webpack:///./src/views/components/HelpPopupButton/HelpPopupButton.scss?e255","webpack:///./src/views/components/NumberButtons/NumberButtons.vue?065c","webpack:///./src/views/components/NumberButtons/NumberButtons.ts","webpack:///./src/views/components/NumberButtons/NumberButtons.vue","webpack:///./src/views/components/ToggleSwitchButton/ToggleSwitchButton.vue?b83c","webpack:///./src/views/components/ToggleSwitchButton/ToggleSwitchButton.ts","webpack:///./src/views/components/ToggleSwitchButton/ToggleSwitchButton.vue","webpack:///./src/views/components/NumberButtons/NumberButtons.scss?580f"],"names":["_withId","_hoisted_1","class","_hoisted_2","_hoisted_3","src","_hoisted_4","_hoisted_5","_hoisted_6","render","_ctx","_cache","$props","$setup","$data","$options","_component_InlineSvgScoped","_component_Button","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","onVisibleChange","handleDropdownVisibleChange","trigger","placement","dropdown","default","description","callModeHelpDescription","text","index","key","_","showHelpDialog","onClick","toggleHelpDialog","title","i18n","global","t","this","$t","split","visible","name","__exports__","module","exports","style","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_component_HelpPopupButton","_component_ListItemRadio","_component_Dropdown","_component_SelectButton","_component_ToggleSwitchButton","adminView","modelValue","callMode","$event","label","adminViewChosedOptionLabel","sublabel","adminViewChosedOptionDescription","inputId","value","disabled","last","CallMode","Address","sortingEnabled","infoPlant","addressBookSorting","options","addressBookSortingOptions","optionLabel","optionValue","Brfa","denominationBuildings","settingsList","dataKey","denominationRisers","denominationFloors","denominationApartments","DirectCall","callingCodeShowAddressBook","addressingType","Language","validLanguages","Numbers","Letters","BuildingRiserFloorApartment","DirectCall_Alphanumeric","DirectCall_NumbersOnly","AddressBook","props","type","Object","required","Boolean","components","ToggleSwitchButton","HelpPopupButton","emits","toLabel","denominationMode","maxCount","convertIndexToLetters","toString","padStart","div","Math","floor","mod","light","lightTheme","disableDecrease","setValue","tabindex","newValue","minValue","maxValue","allowNegative","$emit","Number","localValue","toggleValue"],"mappings":"qPAGMA,EAAuB,yBAAa,mBAE1C,yBAAa,mBACb,IAAMC,EAAa,CAAEC,MAAO,uBACtBC,EAAa,CAAED,MAAO,QACtBE,EAA0B,yBAAa,MAAO,CAAEC,IAAK,KAAc,MAAO,GAC1EC,EAAa,CAAEJ,MAAO,kBACtBK,EAAa,CAAEL,MAAO,gBACtBM,EAA0B,yBAAa,KAAM,KAAM,MAAO,GAChE,0BAEO,IAAMC,EAAsBT,GAAQ,SAACU,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GACnG,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAoB,8BAAkB,UACtCC,EAA4B,8BAAkB,kBAC9CC,EAA4B,8BAAkB,kBAC9CC,EAAwB,8BAAkB,cAEhD,OAAQ,yBAAc,yBAAaA,EAAuB,CACxDC,gBAAiBX,EAAKY,4BACtBC,QAAS,QACTC,UAAW,YACX,eAAgB,4CACf,CACDC,SAAUzB,GAAQ,iBAAM,CACtB,yBAAamB,EAA2B,KAAM,C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ArB,yG,0BAGE,EAAAmJ,YAAsB,EAHxB,gDAKE,WACE5G,KAAK4G,aAAe5G,KAAKwC,aAN7B,yBAQE,WACKxC,KAAKiD,WAERjD,KAAK4G,YAAc5G,KAAK4G,WACxB5G,KAAK0G,MAAM,oBAAqB1G,KAAK4G,iBAZzC,GAAgD,QAA3B,EAAkB,gBAftC,eAAQ,CACPxG,KAAM,qBACN0E,MAAO,CACLtC,WAAY,CACVuC,KAAMG,QACND,UAAU,GAEZhC,SAAU,CACR8B,KAAMG,QACNhG,SAAS,EACT+F,UAAU,IAGdK,MAAO,CAAC,wBAEW,W,iCCVrB,MAAMjF,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASpC,GAAQ,CAAC,YAAY,qBAE1E,U,kCCTf,W","file":"js/page-entranceplant-detail~page-entranceplant-settings~page-plant-detail~page-plants-list.bfd7e8fc.js","sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/entrancePlants/helpSetup/help-set-up-the-plant.webp'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6ae26ead\")\n\n_pushScopeId(\"data-v-6ae26ead\")\nconst _hoisted_1 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_2 = { class: \"ml-2\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = { class: \"p-4 lower-half\" }\nconst _hoisted_5 = { class: \"text-primary\" }\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_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\n return (_openBlock(), _createBlock(_component_ElDropdown, {\n onVisibleChange: _ctx.handleDropdownVisibleChange,\n trigger: \"click\",\n placement: \"right-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withId(() => [\n _createVNode(_component_ElDropdownMenu, null, {\n default: _withId(() => [\n _createVNode(_component_ElDropdownItem, null, {\n default: _withId(() => [\n _hoisted_3,\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.description), 1),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.callModeHelpDescription, (text, index) => {\n return (_openBlock(), _createBlock(\"span\", { key: index }, [\n _createTextVNode(_toDisplayString(text) + \" \", 1),\n _hoisted_6\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n default: _withId(() => [\n _createVNode(_component_Button, {\n class: [\"p-button-rounded ml-auto\", _ctx.showHelpDialog ? 'p-button-primary' : 'p-button-outlined'],\n onClick: _ctx.toggleHelpDialog\n }, {\n default: _withId(() => [\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\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_2, _toDisplayString(_ctx.title), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])\n ]),\n _: 1\n }, 8, [\"onVisibleChange\"]))\n})","import { Vue, Options } from 'vue-class-component';\nimport i18n from '@/core/translations/i18n';\n@Options({\n name: 'HelpPopupButton',\n})\nexport default class HelpPopupButton extends Vue {\n showHelpDialog = false;\n title = i18n.global.t('AppResource.Help');\n description = i18n.global.t('AppResourceEP.DisplayOfCallModeTypes');\n\n toggleHelpDialog() {\n this.showHelpDialog = !this.showHelpDialog;\n }\n get callModeHelpDescription() {\n return this.$t('AppResourceEP.CallModeHelpDescription').split('\\n');\n }\n handleDropdownVisibleChange(visible: boolean) {\n this.showHelpDialog = visible;\n }\n}\n","import { render } from \"./HelpPopupButton.vue?vue&type=template&id=6ae26ead&scoped=true&ts=true\"\nimport script from \"./HelpPopupButton.ts?vue&type=script&lang=ts\"\nexport * from \"./HelpPopupButton.ts?vue&type=script&lang=ts\"\n\nimport \"./HelpPopupButton.scss?vue&type=style&index=0&id=6ae26ead&lang=scss&scoped=true\"\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],['__scopeId',\"data-v-6ae26ead\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon-less.db1f8193.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./CallModeForm.scss?vue&type=style&index=0&id=7052c420&lang=scss&scoped=true\"","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-7052c420\")\n\n_pushScopeId(\"data-v-7052c420\")\nconst _hoisted_1 = { class: \"call-mode-form\" }\nconst _hoisted_2 = { class: \"call-mode\" }\nconst _hoisted_3 = {\n class: \"d-flex align-items-center\",\n style: {\"justify-content\":\"space-between\"}\n}\nconst _hoisted_4 = { class: \"p-field-label\" }\nconst _hoisted_5 = { class: \"p-field mt-3\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { class: \"mt-4 call-mode\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"p-field\"\n}\nconst _hoisted_10 = { class: \"p-field-label\" }\nconst _hoisted_11 = {\n key: 1,\n class: \"p-field wizard-style-brfa\"\n}\nconst _hoisted_12 = { class: \"p-field mb-2\" }\nconst _hoisted_13 = { class: \"p-field-label\" }\nconst _hoisted_14 = { class: \"menu-filters\" }\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_16 = { class: \"p-field mb-2\" }\nconst _hoisted_17 = { class: \"p-field-label\" }\nconst _hoisted_18 = { class: \"menu-filters\" }\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_20 = { class: \"p-field mb-2\" }\nconst _hoisted_21 = { class: \"p-field-label\" }\nconst _hoisted_22 = { class: \"menu-filters\" }\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_24 = { class: \"p-field mb-2\" }\nconst _hoisted_25 = { class: \"p-field-label\" }\nconst _hoisted_26 = { class: \"menu-filters\" }\nconst _hoisted_27 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_28 = {\n key: 2,\n class: \"p-field\"\n}\nconst _hoisted_29 = { class: \"d-flex align-items-center\" }\nconst _hoisted_30 = { class: \"mt-1 text-gray\" }\nconst _hoisted_31 = { class: \"p-field-label mt-4 mb-3\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_HelpPopupButton = _resolveComponent(\"HelpPopupButton\")\n const _component_ListItemRadio = _resolveComponent(\"ListItemRadio\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_ToggleSwitchButton = _resolveComponent(\"ToggleSwitchButton\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"label\", _hoisted_4, _toDisplayString(_ctx.$t(\"AppResourceEP.CallMode\")), 1),\n _createVNode(_component_HelpPopupButton)\n ]),\n _createVNode(\"div\", _hoisted_5, [\n (!_ctx.adminView)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_6, [\n _createVNode(_component_ListItemRadio, {\n disabled: _ctx.disabled,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.callMode = $event)),\n label: _ctx.$t('AppResourceEP.AddressBook'),\n sublabel: _ctx.$t('AppResourceEP.AddressBookDescription'),\n inputId: \"AddressBook\",\n name: \"callMode\",\n value: 0\n }, null, 8, [\"disabled\", \"modelValue\", \"label\", \"sublabel\"]),\n _createVNode(_component_ListItemRadio, {\n disabled: _ctx.disabled,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.callMode = $event)),\n label: _ctx.$t('AppResourceEP.CallWithCode'),\n sublabel: _ctx.$t('AppResourceEP.CallWithCodeDescription'),\n inputId: \"DirectCall\",\n name: \"callMode\",\n value: 1\n }, null, 8, [\"disabled\", \"modelValue\", \"label\", \"sublabel\"]),\n _createVNode(_component_ListItemRadio, {\n disabled: _ctx.disabled,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.callMode = $event)),\n label: _ctx.$t('AppResourceEP.BuildingRiserFloorApartment'),\n sublabel: _ctx.$t('AppResourceEP.BrfaDescription'),\n inputId: \"BuildingRiserFloorApartment\",\n name: \"callMode\",\n value: 2,\n last: \"\"\n }, null, 8, [\"disabled\", \"modelValue\", \"label\", \"sublabel\"])\n ]))\n : (_ctx.adminView)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _createVNode(_component_ListItemRadio, {\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.callMode = $event)),\n label: _ctx.adminViewChosedOptionLabel,\n sublabel: _ctx.adminViewChosedOptionDescription,\n inputId: '',\n name: \"callMode\",\n value: _ctx.callMode,\n disabled: \"\",\n last: \"\"\n }, null, 8, [\"modelValue\", \"label\", \"sublabel\", \"value\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n (_ctx.callMode === _ctx.CallMode.Address)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.Sorting\")), 1),\n _createVNode(_component_Dropdown, {\n disabled: !_ctx.sortingEnabled || _ctx.adminView,\n class: \"sorting__dropdown\",\n modelValue: _ctx.infoPlant.addressBookSorting,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.infoPlant.addressBookSorting = $event)),\n options: _ctx.addressBookSortingOptions,\n optionLabel: \"name\",\n optionValue: \"code\"\n }, null, 8, [\"disabled\", \"modelValue\", \"options\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.callMode === _ctx.CallMode.Brfa)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"label\", _hoisted_13, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Buildings\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(_component_SelectButton, {\n disabled: _ctx.disabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.denominationBuildings,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.infoPlant.denominationBuildings = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\",\n class: { 'p-disabled': _ctx.disabled || _ctx.adminView }\n }, null, 8, [\"disabled\", \"modelValue\", \"options\", \"class\"])\n ]),\n _hoisted_15,\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"label\", _hoisted_17, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Risers\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(_component_SelectButton, {\n disabled: _ctx.disabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.denominationRisers,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.infoPlant.denominationRisers = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\",\n class: { 'p-disabled': _ctx.disabled || _ctx.adminView }\n }, null, 8, [\"disabled\", \"modelValue\", \"options\", \"class\"])\n ]),\n _hoisted_19,\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"label\", _hoisted_21, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Floors\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_22, [\n _createVNode(_component_SelectButton, {\n disabled: _ctx.disabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.denominationFloors,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.infoPlant.denominationFloors = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\",\n class: { 'p-disabled': _ctx.disabled || _ctx.adminView }\n }, null, 8, [\"disabled\", \"modelValue\", \"options\", \"class\"])\n ]),\n _hoisted_23,\n _createVNode(\"div\", _hoisted_24, [\n _createVNode(\"label\", _hoisted_25, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Apartments\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_26, [\n _createVNode(_component_SelectButton, {\n disabled: _ctx.disabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.denominationApartments,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.infoPlant.denominationApartments = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\",\n class: { 'p-disabled': _ctx.disabled || _ctx.adminView }\n }, null, 8, [\"disabled\", \"modelValue\", \"options\", \"class\"])\n ]),\n _hoisted_27\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.callMode === _ctx.CallMode.DirectCall)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_28, [\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_29, [\n _createVNode(\"div\", null, [\n _createVNode(\"label\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.ShowTheAddressBook\")), 1),\n _createVNode(\"div\", _hoisted_30, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.$t(\n \"AppResourceEP.ShowTheAddressBookDescription\"\n )), 1)\n ])\n ]),\n _createVNode(_component_ToggleSwitchButton, {\n disabled: !_ctx.sortingEnabled || _ctx.adminView,\n class: \"ml-auto\",\n modelValue: _ctx.infoPlant.callingCodeShowAddressBook,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.infoPlant.callingCodeShowAddressBook = $event))\n }, null, 8, [\"disabled\", \"modelValue\"])\n ])\n ]),\n _createVNode(\"label\", _hoisted_31, _toDisplayString(_ctx.$t(\"AppResourceEP.Code\")), 1),\n _createVNode(\"div\", null, [\n _createVNode(_component_ListItemRadio, {\n disabled: !_ctx.sortingEnabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.addressingType,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.infoPlant.addressingType = $event)),\n label: _ctx.$t('AppResourceEP.Numeric'),\n inputId: \"Numeric\",\n name: \"Code\",\n value: 3\n }, null, 8, [\"disabled\", \"modelValue\", \"label\"]),\n _createVNode(_component_ListItemRadio, {\n disabled: !_ctx.sortingEnabled || _ctx.adminView,\n modelValue: _ctx.infoPlant.addressingType,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_ctx.infoPlant.addressingType = $event)),\n label: _ctx.$t('AppResourceEP.Alphanumeric'),\n inputId: \"Alphanumeric\",\n name: \"Code\",\n value: 2,\n last: \"\"\n }, null, 8, [\"disabled\", \"modelValue\", \"label\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n})","import {\n AddressingType,\n DenominationMode,\n EntrancePlantInfoCreateDTO,\n Language,\n} from '@/../client-generator/generated-clients/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n CallMode,\n addressBookSortingOptions,\n} from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport { validLanguages } from '@/core/utils/utils';\nimport i18n from '@/core/translations/i18n';\nimport ToggleSwitchButton from '@/views/components/ToggleSwitchButton/ToggleSwitchButton.vue';\nimport HelpPopupButton from '@/views/components/HelpPopupButton/HelpPopupButton.vue';\nimport { PropType } from 'vue';\n\ntype SelectButtonValue = {\n label: string;\n value: DenominationMode;\n};\n@Options({\n name: 'CallModeForm',\n props: {\n infoPlant: {\n type: Object as PropType,\n required: true,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n sortingEnabled: {\n type: Boolean,\n required: false,\n default: true,\n },\n adminView: {\n type: Boolean,\n default: false,\n },\n },\n components: { ToggleSwitchButton, HelpPopupButton },\n emits: ['update-list'],\n})\nexport default class CallModeForm extends Vue {\n infoPlant: EntrancePlantInfoCreateDTO = new EntrancePlantInfoCreateDTO();\n adminView!: boolean;\n showHelpDialog = false;\n disabled!: boolean;\n sortingEnabled!: boolean;\n Language = Language;\n CallMode = CallMode;\n validLanguages = validLanguages;\n addressBookSortingOptions = addressBookSortingOptions;\n\n settingsList: SelectButtonValue[] = [\n {\n label: i18n.global.t('AppResourceEP.SetupBrfaNumbers'),\n value: DenominationMode.Numbers,\n },\n {\n label: i18n.global.t('AppResourceEP.SetupBrfaLetters'),\n value: DenominationMode.Letters,\n },\n ];\n\n get callMode() {\n switch (this.infoPlant.addressingType!) {\n case AddressingType.BuildingRiserFloorApartment:\n return CallMode.Brfa;\n\n case AddressingType.DirectCall_Alphanumeric:\n case AddressingType.DirectCall_NumbersOnly:\n return CallMode.DirectCall;\n\n case AddressingType.AddressBook:\n return CallMode.Address;\n }\n }\n\n set callMode(value: CallMode) {\n switch (value) {\n case CallMode.Address:\n this.infoPlant.addressingType = AddressingType.AddressBook;\n break;\n\n case CallMode.Brfa:\n this.infoPlant.addressingType =\n AddressingType.BuildingRiserFloorApartment;\n break;\n\n case CallMode.DirectCall:\n this.infoPlant.addressingType =\n this.infoPlant.addressingType ===\n AddressingType.DirectCall_Alphanumeric\n ? AddressingType.DirectCall_Alphanumeric\n : AddressingType.DirectCall_NumbersOnly;\n break;\n }\n }\n\n get callModeHelpDescription() {\n return this.$t('AppResourceEP.CallModeHelpDescription').split('\\n');\n }\n\n get adminViewChosedOptionLabel() {\n switch (this.callMode) {\n case CallMode.Address:\n return this.$t('AppResourceEP.AddressBook');\n\n case CallMode.Brfa:\n return this.$t('AppResourceEP.BuildingRiserFloorApartment');\n\n case CallMode.DirectCall:\n return this.$t('AppResourceEP.CallWithCode');\n }\n }\n\n get adminViewChosedOptionDescription() {\n switch (this.callMode) {\n case CallMode.Address:\n return this.$t('AppResourceEP.AddressBookDescription');\n\n case CallMode.Brfa:\n return this.$t('AppResourceEP.BrfaDescription');\n\n case CallMode.DirectCall:\n return this.$t('AppResourceEP.CallWithCodeDescription');\n }\n }\n\n mounted(): void {}\n}\n","import { render } from \"./CallModeForm.vue?vue&type=template&id=7052c420&scoped=true&ts=true\"\nimport script from \"./CallModeForm.ts?vue&type=script&lang=ts\"\nexport * from \"./CallModeForm.ts?vue&type=script&lang=ts\"\n\nimport \"./CallModeForm.scss?vue&type=style&index=0&id=7052c420&lang=scss&scoped=true\"\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],['__scopeId',\"data-v-7052c420\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon-add.e7fd00be.svg\";","import { DenominationMode } from '@/../client-generator/generated-clients/plants';\n\nconst toLabel = (\n index: number,\n denominationMode: DenominationMode | undefined,\n maxCount: number = 0\n) => {\n return denominationMode == DenominationMode.Letters\n ? convertIndexToLetters(index)\n : index.toString().padStart(maxCount, '0');\n};\n\nfunction convertIndexToLetters(index: number): string {\n if (index == 0) return '';\n\n const div = Math.floor((index - 1) / 26);\n const mod = (index - 1) % 26;\n const Letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n return convertIndexToLetters(div) + Letters[mod];\n}\n\nexport { toLabel };\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!./ToggleSwitchButton.scss?vue&type=style&index=0&id=0afd0e20&lang=scss&scoped=true\"","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!./HelpPopupButton.scss?vue&type=style&index=0&id=6ae26ead&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"number-buttons\", {light: _ctx.lightTheme}]\n }, [\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n disabled: _ctx.disableDecrease,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setValue(_ctx.modelValue - 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-less.svg'),\n \"aria-label\": \"icon-less\"\n }, null, 8, [\"src\"])\n ], 8, [\"disabled\"]),\n _withDirectives(_createVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.modelValue = $event)),\n class: \"number-buttons__input\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vModelText, _ctx.modelValue]\n ]),\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.setValue(_ctx.modelValue + 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-add.svg'),\n \"aria-label\": \"icon-add\"\n }, null, 8, [\"src\"])\n ])\n ], 2))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'NumberButtons',\n props: {\n modelValue: {\n type: Number,\n default: 1,\n required: true,\n },\n allowNegative: {\n type: Boolean,\n default: false,\n },\n disableDecrease: {\n type: Boolean,\n default: false,\n },\n minValue: {\n required: false,\n type: Number,\n },\n maxValue: {\n required: false,\n type: Number,\n },\n lightTheme: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['update:modelValue', 'input', 'increment', 'decrement'],\n})\nexport default class NumberButtons extends Vue {\n modelValue!: number;\n allowNegative!: boolean;\n disableDecrease!: boolean;\n minValue!: number;\n maxValue!: number;\n lightTheme!: boolean;\n\n setValue(newValue: number) {\n if (typeof this.minValue !== 'undefined' && newValue < this.minValue)\n return;\n if (typeof this.maxValue !== 'undefined' && newValue > this.maxValue)\n return;\n\n if (newValue < 0 && !this.allowNegative) return;\n\n this.$emit('update:modelValue', newValue);\n this.$emit('input', newValue);\n\n if (newValue > this.modelValue) this.$emit('increment');\n else this.$emit('decrement');\n }\n}\n","import { render } from \"./NumberButtons.vue?vue&type=template&id=74e2114f&ts=true\"\nimport script from \"./NumberButtons.ts?vue&type=script&lang=ts\"\nexport * from \"./NumberButtons.ts?vue&type=script&lang=ts\"\n\nimport \"./NumberButtons.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 { vModelCheckbox as _vModelCheckbox, createVNode as _createVNode, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-0afd0e20\")\n\n_pushScopeId(\"data-v-0afd0e20\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"span\", { class: \"slider\" }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"toggle-switch-button\", {'disabled': _ctx.disabled, 'active': _ctx.localValue}],\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.toggleValue()))\n }, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.localValue = $event))\n }, null, 512), [\n [_vModelCheckbox, _ctx.localValue]\n ]),\n _hoisted_1\n ], 2))\n})","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'ToggleSwitchButton',\n props: {\n modelValue: {\n type: Boolean,\n required: true,\n },\n disabled: {\n type: Boolean,\n default: false,\n required: true,\n }\n },\n emits: ['update:modelValue'],\n})\nexport default class ToggleSwitchButton extends Vue {\n modelValue!: boolean;\n disabled!: boolean;\n localValue: boolean = false;\n\n created() {\n this.localValue = !!this.modelValue;\n }\n toggleValue() {\n if(this.disabled)\n return;\n this.localValue = !this.localValue;\n this.$emit('update:modelValue', this.localValue)\n }\n}\n","import { render } from \"./ToggleSwitchButton.vue?vue&type=template&id=0afd0e20&scoped=true&ts=true\"\nimport script from \"./ToggleSwitchButton.ts?vue&type=script&lang=ts\"\nexport * from \"./ToggleSwitchButton.ts?vue&type=script&lang=ts\"\n\nimport \"./ToggleSwitchButton.scss?vue&type=style&index=0&id=0afd0e20&lang=scss&scoped=true\"\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],['__scopeId',\"data-v-0afd0e20\"]])\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!./NumberButtons.scss?vue&type=style&index=0&lang=scss\""],"sourceRoot":""}