{"version":3,"sources":["webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/ApartmentSelector/ApartmentSelector.scss?be85","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/DialogAddBadge.vue?12e1","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/GuestSelector/GuestSelector.vue?1680","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/GuestSelector/GuestSelector.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/GuestSelector/GuestSelector.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/DialogAddBadge.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/DialogAddBadge.vue","webpack:///./src/assets/images/entrancePlants/helpSetup/help-set-up-the-plant@2x.webp","webpack:///./src/assets/images/entrancePlants/icon-message.svg","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:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/AddBadgePage/AddBadgePage.scss?c8d0","webpack:///./src/assets/images/entrancePlants/icon-parameters.svg","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/BuildingSelector/BuildingSelector.scss?009b","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/AddBadgePage/AddBadgePage.vue?16ac","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/AddBadgePage/AddBadgePage.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/AddBadgePage/AddBadgePage.vue","webpack:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantGuests/GuestItem/GuestItem.vue?b2f8","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantGuests/GuestItem/GuestItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantGuests/GuestItem/GuestItem.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/BadgeItem/BadgeItem.vue?7c3c","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/BadgeItem/BadgeItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/BadgeItem/BadgeItem.vue","webpack:///./src/core/utils/axios-instance.ts","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./src/assets/images/icons/icon-alert-medium-outline.svg","webpack:///./src/assets/images/entrancePlants/icon-building.svg","webpack:///./src/assets/images/entrancePlants/tab-edited.svg","webpack:///./src/assets/images/entrancePlants/helpSetup/help-set-up-the-plant.webp","webpack:///./src/assets/images/entrancePlants/guest-periodic.svg","webpack:///./src/assets/images/entrancePlants/icon-apartment.svg","webpack:///./src/core/services/plants.ts","webpack:///./src/assets/images/entrancePlants/icon-resident.svg","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./src/assets/images/entrancePlants/plantType/enrtance-plant@3x.webp","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/GuestSelector/GuestSelector.scss?4973","webpack:///./src/assets/images/entrancePlants/helpSetup/help-set-up-the-plant@3x.webp","webpack:///./src/assets/images/entrancePlants sync ^\\.\\/.*$","webpack:///./src/assets/images/entrancePlants/icon-badge.svg","webpack:///./node_modules/core-js/internals/string-trim-forced.js","webpack:///./node_modules/core-js/modules/es.string.small.js","webpack:///./src/assets/images/entrancePlants/guest-one-time.svg","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/ApartmentSelector/ApartmentSelector.vue?7866","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/ApartmentSelector/ApartmentSelector.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/ApartmentSelector/ApartmentSelector.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/BuildingSelector/BuildingSelector.vue?f719","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/BuildingSelector/BuildingSelector.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantBadges/DialogAddBadge/BuildingSelector/BuildingSelector.vue","webpack:///./src/assets/images/entrancePlants/icon-switchboard.svg","webpack:///./src/assets/images/entrancePlants/plantType/enrtance-plant@2x.webp","webpack:///./src/assets/images/entrancePlants/icon-guest.svg"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","style","_hoisted_5","key","_hoisted_6","_hoisted_7","_hoisted_8","render","_ctx","_cache","$props","$setup","$data","$options","_component_GuestSelector","_component_BuildingSelector","_component_ApartmentSelector","_component_AddBadgePage","_component_Button","_component_Dialog","visible","isDialogVisible","$event","onHide","doHideDialog","modal","showHeader","closable","default","dialogTitle","step","guestBadge","onGuestSelected","selectGuest","onBuildingSelected","selectBuilding","selectedBuilding","onApartmentSelected","selectApartment","gateGuest","selectedGuest","apartment","selectedApartment","badgesList","plantBadges","onAddBadge","addBadge","onRemoveBadge","removeBadge","label","secondaryButtonLabel","onClick","handleSecondaryButtonAction","buttonSubmitLabel","handleButtonSubmitAction","disabled","saveButtonDisabled","_","_component_GuestItem","_component_ElScrollbar","$t","guests","guest","i","today","Date","parse","toDateString","validGuestForBadge","this","currentEntrancePlant","gateGuests","filter","guestNotExpired","undefined","durationUntil","valueOf","guestNotHasBadge","badgeCode","isRecurrent","$emit","name","props","fromGuestTab","type","Object","required","computed","components","GuestItem","emits","__exports__","isVisible","fromResidentTab","building","addedBadge","push","badgeToRemove","badge","addressingType","BuildingRiserFloorApartment","length","saveBadges","desktopId","$store","dispatch","plants","badgePOST","$toast","add","severity","summary","life","console","log","setTimeout","Boolean","residentBadge","AddBadgePage","GuestSelector","BuildingSelector","ApartmentSelector","watch","newValue","module","exports","_component_InlineSvgScoped","_component_Card","content","src","risersFloorApartmentCount","icon","risersCount","floorsCount","apartmentsCount","risers","floors","apartments","dialogMessage","handleHideDialog","doConfirm","title","message","String","for","_hoisted_9","_hoisted_10","_component_InputText","_component_BadgeItem","onSubmit","id","isValidCode","placeholder","autocomplete","minlength","maxlength","modelValue","addButtonDisabled","invalidCodeReason","index","small","onDeleteBadge","noBadgeText","codeNotValid","trim","guestHasAlreadyBadge","some","apartmentExistingBadges","badgeList","apartmentAddedBadges","apartmentId","apartmentTotalBadges","textToSplit","noBadgeTextLines","split","codeToCheck","toUpperCase","hexRegex","RegExp","hexValid","test","alreadyExisting","plantBadge","toLowerCase","alreadyAdded","BadgeItem","verifyValidityOfCode","$","$trim","forcedStringTrimMethod","target","proto","forced","guestItemIcon","description","getParsedDate","isOneTimeGuest","isDateAlways","options","month","day","year","timeZone","toLocaleString","navigator","language","_hoisted_11","_hoisted_12","_component_DialogConfirmDelete","$attrs","badgeTab","toggleDeleteBadgeConfirm","handleDeleteBadge","isVisibleDeleteBadgeConfirm","onHideDialog","onConfirm","DialogConfirmDelete","a","defaults","timeout","interceptors","request","use","config","getToken","token","headers","Authorization","response","error","addError","JSON","stringify","toJSON","status","emit","Promise","reject","requireObjectCoercible","quot","string","tag","attribute","value","S","p1","replace","prototype","init","data","property","hasOwnProperty","call","$type","plantsClient","fails","METHOD_NAME","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","resolve","whitespaces","non","createHTML","forcedStringHTMLMethod","_component_ListItemRadio","_component_TabPanel","_component_ScrollableTabView","AddressingType","scrollable","buildingStructure","riserTab","riserIndex","header","riser","floorsection","floorIndex","floor","apartmentIndex","sublabel","inputId","apartmentSelected","maxBadgesReached","last","isLast","fn","buildings","array","_component_BuildingItem","plantAddressType","buildingSelected","BuildingItem"],"mappings":"oLAAA,W,6ECEMA,EAAa,CAAEC,MAAO,8BACtBC,EAAa,CAAED,MAAO,wBACtBE,EAAa,CAAEF,MAAO,sCACtBG,EAAa,CAAEC,MAAO,CAAC,MAAQ,QAAQ,OAAS,wBAChDC,EAAa,CACjBC,IAAK,EACLN,MAAO,QAEHO,EAAa,CACjBD,IAAK,EACLN,MAAO,QAEHQ,EAAa,CACjBF,IAAK,EACLN,MAAO,QAEHS,EAAa,CAAET,MAAO,yBAEtB,SAAUU,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA2B,8BAAkB,iBAC7CC,EAA8B,8BAAkB,oBAChDC,EAA+B,8BAAkB,qBACjDC,EAA0B,8BAAkB,gBAC5CC,EAAoB,8BAAkB,UACtCC,EAAoB,8BAAkB,UAE5C,OAAQ,yBAAc,yBAAaA,EAAmB,CACpDC,QAASZ,EAAKa,gBACd,mBAAoBZ,EAAO,KAAOA,EAAO,GAAK,SAACa,GAAD,OAAkBd,EAAKa,gBAAkBC,IACvFC,OAAQf,EAAKgB,aACbC,OAAO,EACPC,YAAY,EACZC,UAAU,EACV9B,MAAO,kCACN,CACD+B,QAAS,sBAAS,iBAAM,CACtB,yBAAa,SAAUhC,EAAY,CACjC,yBAAa,KAAME,EAAY,6BAAiBU,EAAKqB,aAAc,KAErE,yBAAa,MAAO9B,EAAY,CAC9B,yBAAa,MAAOC,EAAY,CACf,IAAdQ,EAAKsB,MACD,yBAAc,yBAAa,MAAO5B,EAAY,CAC5CM,EAAKuB,YACD,yBAAc,yBAAajB,EAA0B,CACpDX,IAAK,EACL6B,gBAAiBxB,EAAKyB,aACrB,KAAM,EA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YC,EAAYC,EAAYC,EAAWC,GAC9E,IAAM0R,EAA0B,8BAAkB,gBAC5C5O,EAAyB,8BAAkB,eAEjD,OAAQ,yBAAc,yBAAaA,EAAwB,CAAE9D,MAAO,aAAe,CACjF+B,QAAS,sBAAS,iBAAM,EACrB,wBAAW,GAAO,yBAAa,cAAW,KAAM,wBAAYpB,EAAK8D,qBAAqB+N,WAAW,SAACvM,EAAUiE,GAC3G,OAAQ,yBAAc,yBAAawI,EAAyB,CAC1DpS,IAAK4J,EACLlK,MAAO,qCACPiG,SAAUA,EACV0M,iBAAkBhS,EAAK8D,qBAAqB6B,eAC5ChD,QAAS,SAAC7B,GAAD,OAAkBd,EAAKiS,iBAAiB3M,KAChD,KAAM,EAAG,CAAC,WAAY,mBAAoB,eAC3C,UAENrC,EAAG,I,gHCAc,EAArB,kLAGE,SAAiBqC,GACfzB,KAAKW,MAAM,oBAAqBc,OAJpC,GAA8C,QAAzB,EAAgB,gBAVpC,eAAQ,CACPb,KAAM,mBACNM,SAAU,kBACL,eAAS,CAAC,0BAEfC,WAAY,CACVkN,eAAA,MAEFhN,MAAO,CAAC,wBAEW,W,iCCXrB,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASpF,KAErD,U,qBCTfqH,EAAOC,QAAU,IAA0B,qC,qBCA3CD,EAAOC,QAAU,IAA0B,uC,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/page-entranceplant-badges~page-entranceplant-guests~page-entranceplant-reisdents.c49c1b9b.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!./ApartmentSelector.scss?vue&type=style&index=0&lang=scss\"","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-4\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"width\":\"450px\",\"height\":\"calc(100vh - 330px)\"} }\nconst _hoisted_5 = {\n key: 0,\n class: \"mb-4\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"mb-4\"\n}\nconst _hoisted_7 = {\n key: 2,\n class: \"mb-4\"\n}\nconst _hoisted_8 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_GuestSelector = _resolveComponent(\"GuestSelector\")\n const _component_BuildingSelector = _resolveComponent(\"BuildingSelector\")\n const _component_ApartmentSelector = _resolveComponent(\"ApartmentSelector\")\n const _component_AddBadgePage = _resolveComponent(\"AddBadgePage\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom add-badge_dialog\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n (_ctx.step === 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_5, [\n (_ctx.guestBadge)\n ? (_openBlock(), _createBlock(_component_GuestSelector, {\n key: 0,\n onGuestSelected: _ctx.selectGuest\n }, null, 8, [\"onGuestSelected\"]))\n : (_openBlock(), _createBlock(_component_BuildingSelector, {\n key: 1,\n onBuildingSelected: _ctx.selectBuilding\n }, null, 8, [\"onBuildingSelected\"]))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.step === 1)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_6, [\n _createVNode(_component_ApartmentSelector, {\n selectedBuilding: _ctx.selectedBuilding,\n onApartmentSelected: _ctx.selectApartment\n }, null, 8, [\"selectedBuilding\", \"onApartmentSelected\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.step === 2)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _createVNode(_component_AddBadgePage, {\n gateGuest: _ctx.selectedGuest,\n apartment: _ctx.selectedApartment,\n badgesList: _ctx.badgesList,\n plantBadges: _ctx.plantBadges,\n onAddBadge: _ctx.addBadge,\n onRemoveBadge: _ctx.removeBadge\n }, null, 8, [\"gateGuest\", \"apartment\", \"badgesList\", \"plantBadges\", \"onAddBadge\", \"onRemoveBadge\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"footer\", _hoisted_8, [\n _createVNode(_component_Button, {\n class: \"p-button-text mr-2\",\n label: _ctx.secondaryButtonLabel,\n onClick: _ctx.handleSecondaryButtonAction\n }, null, 8, [\"label\", \"onClick\"]),\n (_ctx.step !== 0)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n label: _ctx.buttonSubmitLabel,\n onClick: _ctx.handleButtonSubmitAction,\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveButtonDisabled\n }, null, 8, [\"label\", \"onClick\", \"disabled\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { toDisplayString as _toDisplayString, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-field mb-1\" }\nconst _hoisted_2 = { class: \"p-field-label\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_GuestItem = _resolveComponent(\"GuestItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"label\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.AddBadgesGuestSubtitle\")), 1)\n ]),\n _createVNode(_component_ElScrollbar, { class: \"card-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.guests, (guest, i) => {\n return (_openBlock(), _createBlock(_component_GuestItem, {\n key: i,\n class: \"guest-card card--slim mx-3 my-2\",\n guest: guest,\n onClick: ($event: any) => (_ctx.selectGuest(guest))\n }, null, 8, [\"guest\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n })\n ], 64))\n}","import { PropType } from 'vue';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n GateGuestDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport GuestItem from '../../../EntrancePlantGuests/GuestItem/GuestItem.vue';\n\n@Options({\n name: 'GuestSelector',\n props: {\n fromGuestTab: {\n type: Object as PropType,\n required: false,\n default: null,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n GuestItem,\n },\n emits: ['guest-selected'],\n})\nexport default class GuestSelector extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n fromGuestTab!: GateGuestDTO;\n selectedGuest: GateGuestDTO | null = null;\n\n mounted() {}\n\n get guests() {\n const today = Date.parse(new Date().toDateString());\n\n const validGuestForBadge = this.currentEntrancePlant.gateGuests?.filter(\n (guest) => {\n const guestNotExpired =\n guest.durationUntil === undefined ||\n (guest.durationUntil && guest.durationUntil.valueOf() >= today);\n const guestNotHasBadge = guest.badgeCode === '' || !guest.badgeCode;\n if (guest.isRecurrent && guestNotExpired && guestNotHasBadge) {\n return true;\n }\n }\n );\n\n return validGuestForBadge;\n }\n\n selectGuest(guest: GateGuestDTO) {\n this.$emit('guest-selected', guest);\n }\n}\n","import { render } from \"./GuestSelector.vue?vue&type=template&id=da78a474&ts=true\"\nimport script from \"./GuestSelector.ts?vue&type=script&lang=ts\"\nexport * from \"./GuestSelector.ts?vue&type=script&lang=ts\"\n\nimport \"./GuestSelector.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 { PropType } from 'vue';\nimport { mapState } from 'vuex';\nimport plantsClient from '@/core/services/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n AddressingType,\n ApartmentDTO,\n BadgeDTO,\n BuildingDTO,\n EntrancePlantDetailDTO,\n GateGuestDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport AddBadgePage from './AddBadgePage/AddBadgePage.vue';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport GuestSelector from './GuestSelector/GuestSelector.vue';\nimport BuildingSelector from './BuildingSelector/BuildingSelector.vue';\nimport ApartmentSelector from './ApartmentSelector/ApartmentSelector.vue';\n\n@Options({\n name: 'DialogAddBadge',\n props: {\n plantBadges: {\n type: Object as PropType,\n required: true,\n },\n isVisible: {\n type: Boolean,\n required: true,\n },\n guestBadge: {\n type: Boolean,\n required: false,\n default: false,\n },\n fromGuestTab: {\n type: Object as PropType,\n required: false,\n default: null,\n },\n residentBadge: {\n type: Boolean,\n required: false,\n default: false,\n },\n fromResidentTab: {\n type: Object as PropType,\n required: false,\n default: null,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n AddBadgePage,\n GuestSelector,\n BuildingSelector,\n ApartmentSelector,\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n if (!this.isDialogVisible) {\n this.step = 0;\n this.badgesList = [];\n this.selectedApartment = null;\n this.selectedBuilding = null;\n this.selectedGuest = null;\n } else {\n if (\n this.currentEntrancePlant.addressingType !==\n AddressingType.BuildingRiserFloorApartment &&\n !this.guestBadge\n ) {\n this.step = 1;\n }\n }\n },\n },\n emits: ['hide-dialog', 'update-list', 'add-badge-tab'],\n})\nexport default class DialogAddBadge extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n plantBadges!: BadgeDTO[];\n guestBadge!: boolean;\n fromGuestTab!: GateGuestDTO;\n residentBadge!: boolean;\n fromResidentTab!: ApartmentDTO;\n badgesList: BadgeDTO[] = [];\n selectedApartment: ApartmentDTO | null = null;\n selectedBuilding: BuildingDTO | null = null;\n selectedGuest: GateGuestDTO | null = null;\n\n isVisible!: boolean;\n isDialogVisible = false;\n step = 0;\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n if (this.fromGuestTab) {\n this.selectGuest(this.fromGuestTab);\n }\n if (this.fromResidentTab) {\n this.selectApartment(this.fromResidentTab);\n this.step = 2;\n }\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n get dialogTitle() {\n return this.$t('AppResourceEP.BadgesAdd');\n }\n\n selectApartment(apartment: ApartmentDTO) {\n this.selectedApartment = apartment;\n }\n\n selectBuilding(building: BuildingDTO) {\n this.selectedBuilding = building;\n this.step++;\n }\n\n selectGuest(guest: GateGuestDTO) {\n this.selectedGuest = guest;\n this.step = 2;\n }\n\n addBadge(addedBadge: BadgeDTO) {\n this.badgesList.push(addedBadge);\n }\n\n removeBadge(badgeToRemove: BadgeDTO) {\n this.badgesList = this.badgesList.filter(\n (badge) => badge !== badgeToRemove\n );\n }\n\n get secondaryButtonLabel() {\n let label: string = '';\n switch (this.step) {\n case 0:\n label = this.$t('AppResource.Cancel');\n break;\n case 1:\n if (\n this.currentEntrancePlant.addressingType ===\n AddressingType.BuildingRiserFloorApartment\n ) {\n label = this.$t('AppResource.Back');\n } else {\n label = this.$t('AppResource.Cancel');\n }\n break;\n case 2:\n if (this.fromGuestTab || this.fromResidentTab) {\n label = this.$t('AppResource.Cancel');\n } else {\n label = this.$t('AppResource.Back');\n }\n break;\n }\n return label;\n }\n\n handleSecondaryButtonAction() {\n switch (this.step) {\n case 0:\n this.isDialogVisible = false;\n break;\n\n case 1:\n if (\n this.currentEntrancePlant.addressingType !==\n AddressingType.BuildingRiserFloorApartment\n ) {\n this.isDialogVisible = false;\n } else {\n this.step--;\n }\n break;\n\n case 2:\n if (this.guestBadge) {\n if (this.fromGuestTab) {\n this.isDialogVisible = false;\n } else {\n this.step = 0;\n }\n } else {\n if (this.fromResidentTab) {\n this.isDialogVisible = false;\n } else {\n this.step--;\n this.selectedApartment = null;\n }\n }\n break;\n }\n }\n\n get buttonSubmitLabel() {\n return this.step < 2\n ? this.$t('AppResource.Continue')\n : this.$t('AppResource.Save');\n }\n\n get saveButtonDisabled() {\n if (this.step === 1 && this.selectedApartment === null) {\n return true;\n }\n if (this.step == 2 && this.badgesList.length === 0) {\n return true;\n }\n return false;\n }\n\n async handleButtonSubmitAction() {\n switch (this.step) {\n case 1:\n this.step++;\n break;\n\n case 2:\n if (this.fromGuestTab) { \n this.$emit('add-badge-tab', this.badgesList[0]);\n this.isDialogVisible = false;\n } else if(this.fromResidentTab) {\n this.$emit('add-badge-tab', this.badgesList);\n this.isDialogVisible = false;\n } else {\n this.saveBadges();\n }\n break;\n }\n }\n\n async saveBadges() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await plantsClient.badgePOST(\n this.currentEntrancePlant.desktopId,\n this.badgesList\n );\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResourceEP.BadgeAdded'),\n closable: false,\n life: 3000,\n });\n } catch (error) {\n console.log(error);\n setTimeout(() => {\n this.$toast.add({\n severity: 'error',\n summary: 'Error',\n closable: false,\n life: 3000,\n });\n }, 1500);\n } finally {\n this.isDialogVisible = false;\n this.$store.dispatch(SET_APP_LOADING, false);\n this.$emit('update-list');\n }\n }\n}\n","import { render } from \"./DialogAddBadge.vue?vue&type=template&id=40d3eb9a&ts=true\"\nimport script from \"./DialogAddBadge.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogAddBadge.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__","module.exports = __webpack_public_path__ + \"img/help-set-up-the-plant@2x.156a750c.webp\";","module.exports = __webpack_public_path__ + \"img/icon-message.297290d6.svg\";","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__","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!./AddBadgePage.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-parameters.b57aa86c.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!./BuildingSelector.scss?vue&type=style&index=0&lang=scss\"","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, withModifiers as _withModifiers, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-field\" }\nconst _hoisted_2 = {\n class: \"p-field-label\",\n for: \"badgecode\"\n}\nconst _hoisted_3 = { class: \"p-field-with-button\" }\nconst _hoisted_4 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_5 = { class: \"ml-2\" }\nconst _hoisted_6 = {\n for: \"badgecode\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_7 = { class: \"p-field\" }\nconst _hoisted_8 = { class: \"p-field-label mb-3\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"no-badge text-center my-4\"\n}\nconst _hoisted_10 = { class: \"text-gray\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_BadgeItem = _resolveComponent(\"BadgeItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"form\", {\n onSubmit: _cache[2] || (_cache[2] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addBadge && _ctx.addBadge(...args)), [\"prevent\"]))\n }, [\n _createVNode(\"label\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.Code\")), 1),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(_component_InputText, {\n id: \"badgecode\",\n type: \"text\",\n class: [\"w-100\", {\n 'input-error': !_ctx.isValidCode,\n }],\n placeholder: _ctx.$t('AppResourceEP.BadgeAddManuallySubtitle'),\n autocomplete: \"off\",\n minlength: \"8\",\n maxlength: \"8\",\n modelValue: _ctx.badgeCode,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.badgeCode = $event))\n }, null, 8, [\"placeholder\", \"modelValue\", \"class\"]),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-rounded p-button-field\",\n disabled: _ctx.addButtonDisabled,\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_4, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-plus-outline.svg`)\n ,\n \"aria-label\": \"icon-plus-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.Add\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ], 32),\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.invalidCodeReason), 1)\n ]),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"entrancePlant.BadgeAddedList\")), 1),\n _createVNode(_component_ElScrollbar, {\n class: [\"added-badge-list\", { 'scrollable-badges': !_ctx.gateGuest }]\n }, {\n default: _withCtx(() => [\n (_ctx.badgesList.length > 0)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 0 }, _renderList(_ctx.badgesList, (addedBadge, index) => {\n return (_openBlock(), _createBlock(_component_BadgeItem, {\n class: \"mx-3 my-2\",\n small: \"\",\n key: index,\n badge: addedBadge,\n onDeleteBadge: _ctx.removeBadge\n }, null, 8, [\"badge\", \"onDeleteBadge\"]))\n }), 128))\n : (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"small\", _hoisted_10, _toDisplayString(_ctx.noBadgeText[0]), 1)\n ]))\n ]),\n _: 1\n }, 8, [\"class\"])\n ])\n ], 64))\n}","import { Options, Vue } from 'vue-class-component';\nimport BadgeItem from '../../BadgeItem/BadgeItem.vue';\nimport {\n ApartmentDTO,\n BadgeDTO,\n GateGuestDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { PropType } from 'vue';\n\n@Options({\n name: 'AddBadgePage',\n props: {\n plantBadges: {\n type: Object as PropType,\n required: true,\n },\n badgesList: {\n type: Object as PropType,\n required: true,\n },\n gateGuest: {\n type: Object as PropType,\n required: false,\n default: null,\n },\n apartment: {\n type: Object as PropType,\n required: false,\n default: null,\n },\n },\n components: {\n BadgeItem,\n },\n watch: {\n badgeCode: function (newValue) {\n this.verifyValidityOfCode(newValue);\n },\n },\n emits: ['add-badge', 'remove-badge'],\n})\nexport default class AddBadgePage extends Vue {\n plantBadges!: BadgeDTO[];\n badgesList!: BadgeDTO[];\n apartment!: ApartmentDTO;\n gateGuest!: GateGuestDTO;\n badgeCode: string = '';\n isValidCode = true;\n invalidCodeReason = '';\n\n get addButtonDisabled() {\n const codeNotValid = !this.isValidCode || this.badgeCode?.trim().length < 8;\n if (this.gateGuest) {\n const guestHasAlreadyBadge = this.badgesList.some(\n (badge) => badge.gateGuest?.id === this.gateGuest.id\n );\n return codeNotValid || guestHasAlreadyBadge;\n }\n if (this.apartment) {\n //check if apartement badges plus the added badges for the apartement are 10 or more\n const apartmentExistingBadges = this.apartment.badgeList?.length || 0;\n const apartmentAddedBadges = this.badgesList.filter(\n (badge) => badge.apartment?.apartmentId === this.apartment.apartmentId\n ).length;\n const apartmentTotalBadges = apartmentExistingBadges + apartmentAddedBadges;\n\n if (apartmentTotalBadges >= 10) {\n this.invalidCodeReason = this.$t('entrancePlant.popupMessageMaxBadgesReachedWarning');\n }\n return codeNotValid || apartmentTotalBadges >= 10;\n }\n }\n\n get noBadgeText() {\n const textToSplit = this.$t('AppResourceEP.BadgesListEmptyMessage');\n const noBadgeTextLines = textToSplit.split('\\n');\n return noBadgeTextLines;\n }\n\n addBadge() {\n const addedBadge: BadgeDTO = new BadgeDTO({\n badgeCode: this.badgeCode,\n gateGuest: this.gateGuest,\n apartment: this.apartment,\n });\n this.$emit('add-badge', addedBadge);\n this.badgeCode = '';\n }\n\n removeBadge(badgeToRemove: BadgeDTO) {\n this.$emit('remove-badge', badgeToRemove);\n }\n\n async verifyValidityOfCode(codeToCheck: string) {\n this.badgeCode = codeToCheck.toUpperCase().trim();\n \n if (codeToCheck.length === 8) {\n const hexRegex = new RegExp(\"^[A-F0-9]{8}$\");\n const hexValid = hexRegex.test(this.badgeCode);\n \n const alreadyExisting = this.plantBadges.some(\n (plantBadge) =>\n plantBadge.badgeCode?.toLowerCase().trim() ===\n this.badgeCode?.toLowerCase().trim()\n );\n \n const alreadyAdded = this.badgesList.some(\n (addedBadge) =>\n addedBadge.badgeCode?.toLowerCase().trim() ===\n this.badgeCode?.toLowerCase().trim()\n );\n \n this.isValidCode = hexValid && !alreadyExisting && !alreadyAdded;\n if (!hexValid) {\n this.invalidCodeReason = this.$t('AppResourceEP.InputNotValid');\n } else {\n this.invalidCodeReason = this.isValidCode\n ? ''\n : this.$t('general.alreadyExisting');\n }\n } else {\n this.isValidCode = true;\n this.invalidCodeReason = '';\n }\n }\n}\n","import { render } from \"./AddBadgePage.vue?vue&type=template&id=c940971c&ts=true\"\nimport script from \"./AddBadgePage.ts?vue&type=script&lang=ts\"\nexport * from \"./AddBadgePage.ts?vue&type=script&lang=ts\"\n\nimport \"./AddBadgePage.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__","'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 { 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 align-items-center\" }\nconst _hoisted_2 = { class: \"d-flex align-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: \"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/${_ctx.guestItemIcon}`)\n ,\n \"aria-label\": _ctx.guestItemIcon\n }, null, 8, [\"src\", \"aria-label\"])\n ]),\n _createVNode(\"span\", _hoisted_4, [\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.guest.description), 1),\n _createVNode(\"small\", _hoisted_6, _toDisplayString(_ctx.getParsedDate()), 1)\n ])\n ]),\n _createVNode(_component_Button, {\n icon: \"pi pi-chevron-right\",\n class: \"p-button-text p-button-secondary ml-auto\"\n })\n ])\n ]),\n _: 1\n }))\n}","import { GateGuestDTO } from 'client-generator/generated-clients/plants';\nimport { PropType } from 'vue';\nimport { Options, Vue } from 'vue-class-component';\n\n@Options({\n name: 'guestItem',\n props: {\n guest: {\n type: Object as PropType,\n required: true,\n }\n },\n components: {},\n emits: [],\n})\nexport default class GuestItem extends Vue {\n guest!: GateGuestDTO;\n\n get guestItemIcon() {\n if (this.guest.isOneTimeGuest) {\n return 'guest-one-time.svg';\n } else {\n return 'guest-periodic.svg';\n }\n }\n\n getParsedDate() {\n if (this.guest.isDateAlways) return '-';\n const options: any = {\n month: 'long',\n day: 'numeric',\n year: 'numeric',\n timeZone: 'Utc'\n };\n return this.guest.durationUntil?.toLocaleString(navigator.language, options);\n }\n}\n","import { render } from \"./GuestItem.vue?vue&type=template&id=5cc90837&ts=true\"\nimport script from \"./GuestItem.ts?vue&type=script&lang=ts\"\nexport * from \"./GuestItem.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, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, mergeProps as _mergeProps, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex aling-items-center justify-content-between\" }\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 = { key: 0 }\nconst _hoisted_6 = { class: \"my-0\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"my-0\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"my-0\"\n}\nconst _hoisted_9 = { key: 1 }\nconst _hoisted_10 = { class: \"my-0\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"my-0 text-gray\"\n}\nconst _hoisted_12 = {\n key: 1,\n class: \"my-0 text-gray\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Card = _resolveComponent(\"Card\")\n const _component_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_Card, _mergeProps(_ctx.$attrs, {\n class: [\"card--slim\", { 'm-1': _ctx.small }]\n }), {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"span\", _hoisted_3, [\n _createVNode(_component_InlineSvgScoped, {\n src: require(`@/assets/images/entrancePlants/icon-badge.svg`)\n ,\n \"aria-label\": \"icon-badge\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n (!_ctx.small)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_5, [\n _createVNode(\"h4\", _hoisted_6, _toDisplayString(_ctx.badge.badgeCode), 1),\n (_ctx.badge.apartment)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, _toDisplayString(_ctx.badge.apartment.name), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.badge.gateGuest)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_8, _toDisplayString(_ctx.badge.gateGuest.description), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.small)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_9, [\n _createVNode(\"h6\", _hoisted_10, _toDisplayString(_ctx.badge.badgeCode), 1),\n (_ctx.badge.apartment)\n ? (_openBlock(), _createBlock(\"small\", _hoisted_11, _toDisplayString(_ctx.badge.apartment.name), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.badge.gateGuest)\n ? (_openBlock(), _createBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.badge.gateGuest.description), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (!_ctx.small && !_ctx.badgeTab)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n disabled: _ctx.disabled,\n onClick: _ctx.toggleDeleteBadgeConfirm,\n class: \"text-danger p-button-text\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.small || _ctx.badgeTab)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n disabled: _ctx.disabled,\n class: \"text-danger ml-auto p-button-text\",\n onClick: _ctx.handleDeleteBadge\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 16, [\"class\"]),\n (!_ctx.small)\n ? (_openBlock(), _createBlock(_component_DialogConfirmDelete, {\n key: 0,\n \"is-visible\": _ctx.isVisibleDeleteBadgeConfirm,\n title: _ctx.$t('AppResourceEP.BadgeRemotionTitle'),\n message: _ctx.$t('AppResourceEP.BadgeRemotionMessage'),\n onHideDialog: _ctx.toggleDeleteBadgeConfirm,\n onConfirm: _ctx.handleDeleteBadge\n }, null, 8, [\"is-visible\", \"title\", \"message\", \"onHideDialog\", \"onConfirm\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { PropType } from 'vue';\nimport { Options, Vue } from 'vue-class-component';\nimport { BadgeDTO } from 'client-generator/generated-clients/plants';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\n\n@Options({\n name: 'BadgeItem',\n props: {\n badge: {\n type: Object as PropType,\n required: true,\n },\n small: {\n type: Boolean,\n required: false,\n default: false,\n },\n badgeTab: {\n type: Boolean,\n required: false,\n default: false,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n components: {\n DialogConfirmDelete,\n },\n emits: ['delete-badge'],\n})\nexport default class BadgeItem extends Vue {\n badge!: BadgeDTO;\n small!: boolean;\n badgeTab!: boolean;\n isVisibleDeleteBadgeConfirm = false;\n disabled!: boolean;\n toggleDeleteBadgeConfirm() {\n this.isVisibleDeleteBadgeConfirm = !this.isVisibleDeleteBadgeConfirm;\n }\n\n async handleDeleteBadge() {\n this.$emit('delete-badge', this.badge);\n }\n}\n","import { render } from \"./BadgeItem.vue?vue&type=template&id=4f0e0080&ts=true\"\nimport script from \"./BadgeItem.ts?vue&type=script&lang=ts\"\nexport * from \"./BadgeItem.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","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar quot = /\"/g;\n\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = String(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","module.exports = __webpack_public_path__ + \"img/icon-alert-medium-outline.b8add9d7.svg\";","module.exports = __webpack_public_path__ + \"img/icon-building.7c6caebd.svg\";","module.exports = __webpack_public_path__ + \"img/tab-edited.106d339a.svg\";","module.exports = __webpack_public_path__ + \"img/help-set-up-the-plant.69d856b4.webp\";","module.exports = __webpack_public_path__ + \"img/guest-periodic.ae96eed1.svg\";","module.exports = __webpack_public_path__ + \"img/icon-apartment.5ae334cb.svg\";","import {\n Client,\n ActuatorSettings,\n CommandSettings,\n GeneralCommandsAndGroupsAction,\n DefaultObjectAction,\n ObjectAction,\n WaitTimeAction,\n Action,\n Trigger,\n Condition,\n ObjectTrigger,\n ButtonTrigger,\n DateAndTimeTrigger,\n TimeCondition,\n ObjectCondition,\n ExtDevice,\n ColoredLightExtDevice,\n XmeterExtDevice,\n PlayerExtDevice,\n} from '@/../client-generator/generated-clients/plants';\nimport axiosInstance from '../utils/axios-instance';\n\nCondition.prototype.init \n= Trigger.prototype.init \n= Action.prototype.init \n= ActuatorSettings.prototype.init \n= CommandSettings.prototype.init \n= GeneralCommandsAndGroupsAction.prototype.init \n= DefaultObjectAction.prototype.init \n= ObjectAction.prototype.init \n= WaitTimeAction.prototype.init \n= ObjectTrigger.prototype.init \n= ButtonTrigger.prototype.init \n= DateAndTimeTrigger.prototype.init \n= TimeCondition.prototype.init \n= ObjectCondition.prototype.init\n= ExtDevice.prototype.init\n= ColoredLightExtDevice.prototype.init\n= XmeterExtDevice.prototype.init\n= PlayerExtDevice.prototype.init = function (\n data?: any\n) {\n if (data) {\n for (var property in data) {\n if (Object.prototype.hasOwnProperty.call(data, property))\n (this)[property] = (data)[property];\n }\n }\n};\n\nCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Condition, ProtocolManager`,\n ...this,\n };\n};\nTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Trigger, ProtocolManager`,\n ...this,\n };\n};\nAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Action, ProtocolManager`,\n ...this,\n };\n};\nActuatorSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ActuatorSettings, ProtocolManager`,\n ...this,\n };\n};\nCommandSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.CommandSettings, ProtocolManager`,\n ...this,\n };\n};\nGeneralCommandsAndGroupsAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.GeneralCommandsAndGroupsAction, ProtocolManager`,\n ...this,\n };\n};\nDefaultObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DefaultObjectAction, ProtocolManager`,\n ...this,\n };\n};\nObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectAction, ProtocolManager`,\n ...this,\n };\n};\nWaitTimeAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.WaitTimeAction, ProtocolManager`,\n ...this,\n };\n};\nObjectTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectTrigger, ProtocolManager`,\n ...this,\n };\n};\nButtonTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ButtonTrigger, ProtocolManager`,\n ...this,\n };\n};\nDateAndTimeTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DateAndTimeTrigger, ProtocolManager`,\n ...this,\n };\n};\nTimeCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.TimeCondition, ProtocolManager`,\n ...this,\n };\n};\nObjectCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectCondition, ProtocolManager`,\n ...this,\n };\n};\nExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ExtDevice, ProtocolManager`,\n ...this,\n };\n};\nColoredLightExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ColoredLightExtDevice, ProtocolManager`,\n ...this,\n };\n};\nXmeterExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.XmeterExtDevice, ProtocolManager`,\n ...this,\n };\n};\nPlayerExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.PlayerExtDevice, ProtocolManager`,\n ...this,\n };\n};\n\nconst plantsClient = new Client('', axiosInstance);\n\nexport default plantsClient;\n","module.exports = __webpack_public_path__ + \"img/icon-resident.fa4efdcd.svg\";","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","module.exports = __webpack_public_path__ + \"img/enrtance-plant@3x.8d7cf0c2.webp\";","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!./GuestSelector.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/help-set-up-the-plant@3x.49005909.webp\";","var map = {\n\t\"./guest-one-time.svg\": \"d345\",\n\t\"./guest-periodic.svg\": \"9ae0\",\n\t\"./helpSetup/help-set-up-the-plant.webp\": \"9875\",\n\t\"./helpSetup/help-set-up-the-plant@2x.webp\": \"15bb\",\n\t\"./helpSetup/help-set-up-the-plant@3x.webp\": \"c424\",\n\t\"./icon-apartment.svg\": \"a690\",\n\t\"./icon-badge.svg\": \"c8b7\",\n\t\"./icon-building.svg\": \"8cea\",\n\t\"./icon-gate.svg\": \"730c\",\n\t\"./icon-guest.svg\": \"f0a6\",\n\t\"./icon-keypad.svg\": \"6995\",\n\t\"./icon-message.svg\": \"2317\",\n\t\"./icon-new-pe.svg\": \"6da0\",\n\t\"./icon-parameters.svg\": \"30ed\",\n\t\"./icon-plant-configured.svg\": \"5849\",\n\t\"./icon-resident.svg\": \"a878\",\n\t\"./icon-riser.svg\": \"2f7f\",\n\t\"./icon-smart-reader.svg\": \"abf8\",\n\t\"./icon-switchboard.svg\": \"e18c\",\n\t\"./plantType/enrtance-plant.webp\": \"af82\",\n\t\"./plantType/enrtance-plant@2x.webp\": \"ef2e\",\n\t\"./plantType/enrtance-plant@3x.webp\": \"b23f\",\n\t\"./tab-edited.svg\": \"9509\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"c5cd\";","module.exports = __webpack_public_path__ + \"img/icon-badge.0c90095c.svg\";","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","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","module.exports = __webpack_public_path__ + \"img/guest-one-time.4a4132c5.svg\";","import { toDisplayString as _toDisplayString, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createSlots as _createSlots, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-field\" }\nconst _hoisted_2 = { class: \"p-field-label\" }\nconst _hoisted_3 = { class: \"apartment-selector__page\" }\nconst _hoisted_4 = { class: \"dialog-custom__title mt-3\" }\nconst _hoisted_5 = { class: \"fs-13 label-error max-badges\" }\nconst _hoisted_6 = { class: \"fs-13 label-error max-badges\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ListItemRadio = _resolveComponent(\"ListItemRadio\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_TabPanel = _resolveComponent(\"TabPanel\")\n const _component_ScrollableTabView = _resolveComponent(\"ScrollableTabView\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"label\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.AddBadgesApartmentsSubtitle\")), 1)\n ]),\n _createVNode(\"span\", _hoisted_3, [\n (\n _ctx.currentEntrancePlant.addressingType ===\n _ctx.AddressingType.BuildingRiserFloorApartment\n )\n ? (_openBlock(), _createBlock(_component_ScrollableTabView, {\n key: 0,\n scrollable: \"\",\n class: \"p-tabview--custom add-badge-tab mt-3 white-back\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.buildingStructure, (riserTab, riserIndex) => {\n return (_openBlock(), _createBlock(_component_TabPanel, {\n key: riserIndex,\n header: riserTab.riser.name\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ElScrollbar, { class: \"apartment-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(riserTab.floors, (floorsection, floorIndex) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: floorIndex,\n class: \"mb-5\"\n }, [\n _createVNode(\"h1\", _hoisted_4, _toDisplayString(floorsection.floor.name), 1),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(floorsection.apartments, (apartment, apartmentIndex) => {\n return (_openBlock(), _createBlock(_component_ListItemRadio, {\n key: apartmentIndex,\n value: apartment,\n label: apartment.name,\n sublabel: `${_ctx.$t('AppResourceEP.Apartment')} ${apartmentIndex + 1}`,\n inputId: `apartment${apartmentIndex + 1}`,\n modelValue: _ctx.selectedApartment,\n \"onUpdate:modelValue\": [\n _cache[1] || (_cache[1] = ($event: any) => (_ctx.selectedApartment = $event)),\n _ctx.apartmentSelected\n ],\n name: \"apartment\",\n disabled: _ctx.maxBadgesReached(apartment),\n last: _ctx.isLast(apartmentIndex, floorsection.apartments)\n }, _createSlots({ _: 2 }, [\n (_ctx.maxBadgesReached(apartment))\n ? {\n name: \"info-label\",\n fn: _withCtx(() => [\n _createVNode(\"label\", _hoisted_5, _toDisplayString(_ctx.$t('entrancePlant.maxNumberOfBadges')), 1)\n ])\n }\n : undefined\n ]), 1032, [\"value\", \"label\", \"sublabel\", \"inputId\", \"modelValue\", \"disabled\", \"onUpdate:modelValue\", \"last\"]))\n }), 128))\n ]))\n }), 128))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"header\"]))\n }), 128))\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_ScrollableTabView, {\n key: 1,\n scrollable: \"\",\n class: \"p-tabview--custom add-badge-tab mt-3 white-back\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.currentEntrancePlant.buildings, (building, index) => {\n return (_openBlock(), _createBlock(_component_TabPanel, {\n key: index,\n header: building.name\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ElScrollbar, { class: \"apartment-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(building.apartments, (apartment, apartmentIndex) => {\n return (_openBlock(), _createBlock(_component_ListItemRadio, {\n key: apartmentIndex,\n value: apartment,\n label: apartment.name,\n inputId: `apartment${apartmentIndex + 1}`,\n modelValue: _ctx.selectedApartment,\n \"onUpdate:modelValue\": [\n _cache[2] || (_cache[2] = ($event: any) => (_ctx.selectedApartment = $event)),\n _ctx.apartmentSelected\n ],\n name: \"apartment\",\n disabled: _ctx.maxBadgesReached(apartment),\n last: _ctx.isLast(apartmentIndex, building.apartments)\n }, _createSlots({ _: 2 }, [\n (_ctx.maxBadgesReached(apartment))\n ? {\n name: \"info-label\",\n fn: _withCtx(() => [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t('entrancePlant.maxNumberOfBadges')), 1)\n ])\n }\n : undefined\n ]), 1032, [\"value\", \"label\", \"inputId\", \"modelValue\", \"disabled\", \"onUpdate:modelValue\", \"last\"]))\n }), 128))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"header\"]))\n }), 128))\n ]),\n _: 1\n }))\n ])\n ], 64))\n}","import { mapState } from 'vuex';\nimport {\n AddressingType,\n ApartmentDTO,\n BuildingDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport { loadRisersFloorsApartments } from '@/core/utils/EntrancePlant/entrance-plant.utils';\n\n@Options({\n name: 'ApartmentSelector',\n props: {\n selectedBuilding: {\n type: BuildingDTO,\n required: false,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n emits: ['apartment-selected'],\n})\nexport default class ApartmentSelector extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n selectedBuilding!: BuildingDTO;\n selectedApartment: ApartmentDTO | null = null;\n\n AddressingType = AddressingType;\n\n mounted() {}\n\n get buildingStructure() {\n if (this.selectedBuilding?.risers === undefined) return [];\n return loadRisersFloorsApartments(this.selectedBuilding);\n }\n\n apartmentSelected() {\n this.$emit('apartment-selected', this.selectedApartment);\n }\n\n isLast(index: number, array?: ApartmentDTO[]) {\n if (array === undefined) return false;\n return index === array.length - 1;\n }\n\n maxBadgesReached(apartment: ApartmentDTO) {\n if (apartment.badgeList === undefined) return false;\n return apartment.badgeList.length >= 10;\n }\n}\n","import { render } from \"./ApartmentSelector.vue?vue&type=template&id=cd95fdce&ts=true\"\nimport script from \"./ApartmentSelector.ts?vue&type=script&lang=ts\"\nexport * from \"./ApartmentSelector.ts?vue&type=script&lang=ts\"\n\nimport \"./ApartmentSelector.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 { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BuildingItem = _resolveComponent(\"BuildingItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_component_ElScrollbar, { class: \"card-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.currentEntrancePlant.buildings, (building, index) => {\n return (_openBlock(), _createBlock(_component_BuildingItem, {\n key: index,\n class: \"building-card card--slim mx-3 my-2\",\n building: building,\n plantAddressType: _ctx.currentEntrancePlant.addressingType,\n onClick: ($event: any) => (_ctx.buildingSelected(building))\n }, null, 8, [\"building\", \"plantAddressType\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n }))\n}","import { mapState } from 'vuex';\nimport {\n BuildingDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport BuildingItem from '../../../EntrancePlantSettings/EntrancePlantStructure/BuildingItem/BuildingItem.vue';\n\n@Options({\n name: 'BuildingSelector',\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n BuildingItem,\n },\n emits: ['building-selected'],\n})\nexport default class BuildingSelector extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n\n buildingSelected(building: BuildingDTO) {\n this.$emit('building-selected', building);\n }\n}\n","import { render } from \"./BuildingSelector.vue?vue&type=template&id=dd3f3b22&ts=true\"\nimport script from \"./BuildingSelector.ts?vue&type=script&lang=ts\"\nexport * from \"./BuildingSelector.ts?vue&type=script&lang=ts\"\n\nimport \"./BuildingSelector.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__","module.exports = __webpack_public_path__ + \"img/icon-switchboard.8b491d14.svg\";","module.exports = __webpack_public_path__ + \"img/enrtance-plant@2x.6e6ea7f3.webp\";","module.exports = __webpack_public_path__ + \"img/icon-guest.8344f74b.svg\";"],"sourceRoot":""}