{"version":3,"sources":["webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardPlantTypeSelection/WizardPlantTypeSelection.scss?53a9","webpack:///./src/assets/images/icons/icon-toilets.svg","webpack:///./src/assets/images/icons/icon-device.svg","webpack:///./src/assets/images/icons/icon-alert-hight-full.svg","webpack:///./src/assets/images/icons/icon-xmeter.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.scss?53a4","webpack:///./node_modules/core-js/modules/es.object.values.js","webpack:///./src/assets/images/icons/icon-filter.svg","webpack:///./src/assets/images/icons/icon-round.svg","webpack:///./src/assets/images/icons/icon-star.svg","webpack:///./src/assets/images/icons/icon_command_night.svg","webpack:///./src/assets/images/icons/icon-datetime.svg","webpack:///./src/assets/images/icons/icon-all-plants.svg","webpack:///./src/assets/images/icons/icon-garden.svg","webpack:///./src/assets/images/icons/icon-refresh.svg","webpack:///./src/views/components/CardContainer/CardContainer.scss?6b44","webpack:///./src/assets/images/icons/icon-general-view.svg","webpack:///./src/assets/images/icons/icon-shutter.svg","webpack:///./src/assets/images/icons/icon-done.svg","webpack:///./src/assets/images/icons/icon-edit.svg","webpack:///./src/assets/images/icons/icon-automation-2.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.scss?7a23","webpack:///./node_modules/core-js/modules/es.number.parse-int.js","webpack:///./src/assets/images/icons/icon-laundry.svg","webpack:///./src/assets/images/icons/icon-light.svg","webpack:///./src/assets/images/icons/icon-towel-rail.svg","webpack:///./src/assets/images/icons/icon-music-player.svg","webpack:///./src/assets/images/icons/icon-electrical-cabinet.svg","webpack:///./src/assets/images/icons/icon-livingroom.svg","webpack:///./src/assets/images/icons/icon-bedroom.svg","webpack:///./src/assets/images/icons/icon-security-2.svg","webpack:///./src/assets/images/icons/icon-blind.svg","webpack:///./node_modules/lodash.kebabcase/index.js","webpack:///./src/assets/images/icons/icon-automation.svg","webpack:///./src/assets/images/icons/icon-faq.svg","webpack:///./src/assets/images/icons/icon-duplication.svg","webpack:///./src/assets/images/icons/icon-bathroom.svg","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantCard/PlantCard.scss?5ea9","webpack:///./src/assets/images/icons/icon-expand-menu.svg","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantsList.vue?18c7","webpack:///./node_modules/primevue/paginator/paginator.esm.js","webpack:///./node_modules/primevue/tieredmenu/tieredmenu.esm.js","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantCard/PlantCard.vue?e9c9","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantCard/PlantCard.ts","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantCard/PlantCard.vue","webpack:///./client-generator/generated-clients/welcome.ts","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantsList.ts","webpack:///./src/core/services/welcome-service.ts","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantsList.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.scss?727f","webpack:///./src/assets/images/icons/icon-actuator-2.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.vue?418e","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.vue","webpack:///./src/assets/images/icons/icon-alert-hight-outline.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.scss?f901","webpack:///./src/assets/images/icons/icon-socket.svg","webpack:///./src/assets/images/icons/icon-sync.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.vue?3cd3","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.vue","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.vue?0373","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.ts","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.vue","webpack:///./src/assets/images/icons/icon-diningroom.svg","webpack:///./src/assets/images/icons/icon-grid.svg","webpack:///./src/assets/images/icons/icon-blueprint.svg","webpack:///./src/assets/images/icons/icon-round-outline.svg","webpack:///./src/assets/images/icons/icon-confirm-outline.svg","webpack:///./src/assets/images/icons sync ^\\.\\/.*\\.svg$","webpack:///./src/assets/images/plants/server/ImagesMX-300EOS.png","webpack:///./node_modules/core-js/modules/es.set.js","webpack:///./src/assets/images/icons/icon-server-mhs-1.svg","webpack:///./src/assets/images/icons/icon-search.svg","webpack:///./src/assets/images/icons/icon-wizard-assegna-attuatore.svg","webpack:///./src/assets/images/icons/icon-arrows-back.svg","webpack:///./src/assets/images/icons/icon-push-notification.svg","webpack:///./src/assets/images/icons/icon-outdoor.svg","webpack:///./node_modules/core-js/internals/object-to-array.js","webpack:///./src/assets/images/icons sync ^\\.\\/icon\\-favourite.*\\.svg$","webpack:///./src/assets/images/icons/icon-arrows-down.svg","webpack:///./src/assets/images/icons/icon-confirm-full.svg","webpack:///./src/assets/images/icons/icon-arrows-up.svg","webpack:///./src/assets/images/icons/icon_command_day.svg","webpack:///./src/assets/images/icons/icon-failed-outline.svg","webpack:///./src/views/components/CardContainer/CardContainer.vue?1f0f","webpack:///./src/views/components/CardContainer/CardContainer.ts","webpack:///./src/views/components/CardContainer/CardContainer.vue","webpack:///./src/assets/images/icons/icon-office.svg","webpack:///./src/assets/images/icons/icon-remove-hand-02.svg","webpack:///./src/assets/images/icons/icon-dimmer-dmx.svg","webpack:///./src/assets/images/icons/icon-checkbox-disabled.svg","webpack:///./src/assets/images/icons/icon-fancoil.svg","webpack:///./src/assets/images/icons/icon-assistant.svg","webpack:///./src/assets/images/icon-check.svg","webpack:///./src/assets/images/icons/icon-colored-light.svg","webpack:///./src/assets/images/icons/icon-general-light.svg","webpack:///./src/assets/images/icons/icon-arrows-next.svg","webpack:///./src/assets/images/icons/icon-staff.svg","webpack:///./src/assets/images/icons/icon-add-outline.svg","webpack:///./src/assets/images/icons/icon-delete.svg","webpack:///./src/views/pages/PlantsHub/PlantsList/PlantsList.scss?a052","webpack:///./src/assets/images/icons/icon-desktop.svg","webpack:///./src/assets/images/icons/icon-list.svg","webpack:///./src/assets/images/plants/server/ImagesMHS1.png","webpack:///./src/assets/images/icons/icon-close.svg","webpack:///./src/assets/images/icons/icon-security.svg","webpack:///./src/assets/images/icons/icon-connected-server.svg","webpack:///./src/assets/images/icons/icon-staircase.svg","webpack:///./src/assets/images/icons/icon-lock.svg","webpack:///./src/assets/images/icons/icon-thermostat.svg","webpack:///./src/assets/images/icons/icon-room.svg","webpack:///./src/assets/images/icons/icon-book.svg","webpack:///./src/assets/images/icons/icon-user.svg","webpack:///./src/assets/images/icons/icon-add-circle-outline.svg","webpack:///./src/assets/images/icons/icon-failed-full.svg","webpack:///./src/assets/images/icons/icon_command_enter.svg","webpack:///./src/assets/images/icons/icon-entrance.svg","webpack:///./src/assets/images/icons/icon-energy.svg","webpack:///./src/assets/images/icons/icon-scan-qr-code-02.svg","webpack:///./src/assets/images/icons/icon-duplication-all.svg","webpack:///./src/assets/images/icons/icon-corridor.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/WizardAutomationPlant.scss?0daf","webpack:///./node_modules/core-js/internals/number-parse-int.js","webpack:///./src/assets/images/icons/icon-wifi-01-1.svg","webpack:///./src/assets/images/icons/icon_command_exit.svg","webpack:///./src/assets/images/icons/icon-scene.svg","webpack:///./src/assets/images/icons/icon-no-view.svg","webpack:///./src/assets/images/icons/icon-player.svg","webpack:///./src/assets/images/icons/icon-group-lights.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.scss?8a0a","webpack:///./src/views/components/ButtonSelection/ButtonSelection.vue?e3dd","webpack:///./src/views/components/ButtonSelection/ButtonSelection.ts","webpack:///./src/views/components/ButtonSelection/ButtonSelection.vue","webpack:///./src/assets/images/icons/icon-ban-light.svg","webpack:///./src/assets/images/icons/icon-edit-page.svg","webpack:///./src/assets/images/icons/icon-thermo.svg","webpack:///./src/assets/images/icons/icon-notification.svg","webpack:///./src/assets/images/icons/icon-command.svg","webpack:///./src/assets/images/icons/icon-alert-medium-full.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.vue?6822","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardPlantTypeSelection/WizardPlantTypeSelection.vue?ddf3","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardPlantTypeSelection/WizardPlantTypeSelection.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardPlantTypeSelection/WizardPlantTypeSelection.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/WizardAutomationPlant.vue?a195","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep1/DialogPlantCreateStep1.vue?a59b","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep1/DialogPlantCreateStep1.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep1/DialogPlantCreateStep1.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep2/DialogPlantCreateStep2.vue?c774","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep2/DialogPlantCreateStep2.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep2/DialogPlantCreateStep2.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/WizardAutomationPlant.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/WizardAutomationPlant.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.vue?7a89","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep1/DialogEntrancePlantCreateStep1.vue?63fb","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep1/DialogEntrancePlantCreateStep1.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep1/DialogEntrancePlantCreateStep1.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep2/DialogEntrancePlantCreateStep2.vue?0c50","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep2/DialogEntrancePlantCreateStep2.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep2/DialogEntrancePlantCreateStep2.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep3/DialogEntrancePlantCreateStep3.vue?2d0f","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep3/DialogEntrancePlantCreateStep3.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep3/DialogEntrancePlantCreateStep3.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.vue?0b92","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.vue?0587","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep6/DialogEntrancePlantCreateStep6.vue?ec7a","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep6/DialogEntrancePlantCreateStep6.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep6/DialogEntrancePlantCreateStep6.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.vue?4ac5","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.vue","webpack:///./src/assets/images/icons/icon-garage.svg","webpack:///./src/assets/images/icons/icon-loading.svg","webpack:///./src/assets/images/icons/icon-network.svg","webpack:///./src/assets/images/icons/icon-weather.svg","webpack:///./src/assets/images/icons/icon-mx-server.svg","webpack:///./src/assets/images/icons/icon-favourite.svg","webpack:///./src/assets/images/icons/icon-favourite-outline.svg","webpack:///./src/assets/images/icons/icon-wifi.svg","webpack:///./src/assets/images/icons/icon-email.svg","webpack:///./src/assets/images/icons/icon-filters.svg","webpack:///./src/assets/images/icons/icon-kitchen.svg","webpack:///./node_modules/lodash.debounce/index.js","webpack:///./src/assets/images/icons/icon-start-plan.svg","webpack:///./src/assets/images/icons/icon-paperclip.svg","webpack:///./src/assets/images/icons/icon-reorder-drag-and-drop.svg","webpack:///./src/assets/images/icons/icon-mobile-device.svg","webpack:///./src/views/components/ButtonSelection/ButtonSelection.scss?4a7a","webpack:///./src/assets/images/icons/icon-plan-duplicate.svg"],"names":["module","exports","$","$values","values","target","stat","O","parseInt","forced","Number","INFINITY","symbolTag","reAsciiWord","reLatin","rsAstralRange","rsComboMarksRange","rsComboSymbolsRange","rsDingbatRange","rsLowerRange","rsMathOpRange","rsNonCharRange","rsPunctuationRange","rsSpaceRange","rsUpperRange","rsVarRange","rsBreakRange","rsApos","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsModifier","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsZWJ","rsLowerMisc","rsUpperMisc","rsOptLowerContr","rsOptUpperContr","reOptMod","rsOptVar","rsOptJoin","join","rsSeq","rsEmoji","reApos","RegExp","reComboMark","reUnicodeWord","reHasUnicodeWord","deburredLetters","freeGlobal","global","Object","freeSelf","self","root","Function","arrayReduce","array","iteratee","accumulator","initAccum","index","length","asciiWords","string","match","basePropertyOf","object","key","undefined","deburrLetter","hasUnicodeWord","test","unicodeWords","objectProto","prototype","objectToString","toString","Symbol","symbolProto","symbolToString","baseToString","value","isSymbol","call","result","createCompounder","callback","words","deburr","replace","isObjectLike","kebabCase","word","toLowerCase","pattern","guard","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","id","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","render","_ctx","_cache","$props","$setup","$data","$options","_component_InputText","_component_Divider","_component_Button","_component_TabPanel","_component_TabView","_component_Dropdown","_component_PlantCardV2","_component_Paginator","_component_DialogPlantDuplicate","_component_DialogPlantCreate","_component_DialogConfirmDeletePlant","$t","type","placeholder","modelValue","searchTerm","$event","onInput","handleSearch","layout","onClick","toggleCreateDialog","default","_","onTabChange","handleTabClick","header","options","filterByOptions","selectedFilterBy","onChange","onFilterByChange","optionLabel","optionValue","orderBy","orderByOptions","isLoading","hasPlants","selectedPlants","plant","i","onEdit","handleEditPlant","onDuplicate","handleDuplicatePlant","onDelete","toggleDeletePlantConfirm","wasSearchExecuted","totalRecords","totalPlants","rows","pageSize","currentPageReportTemplate","onPage","handlePageChange","onFetchPlants","refreshList","onHideDialog","handleHideDialog","plantUnderDuplication","isPlantDuplicateDialogVisible","isVisibleCreateDialog","selectedPlantId","selectedPlantType","isEdit","onPlantEdited","isVisibleDeletePlantConfirm","plantToDeleteName","onConfirm","handleDeletePlant","script","inheritAttrs","props","pageCount","page","first","template","String","computed","text","this","Math","min","script$1","$attrs","disabled","directives","_hoisted_1$1","render$1","_directive_ripple","containerClass","script$2","_hoisted_1$2","render$2","script$3","_hoisted_1$3","render$3","script$4","emits","Array","methods","event","pageLink","$emit","originalEvent","_hoisted_1$4","render$4","onPageLinkClick","script$5","_hoisted_1$5","render$5","script$6","opts","push","label","components","render$6","_component_RPPDropdown","rowsOptions","script$7","pageLinkSize","rowsPerPageOptions","alwaysShow","Boolean","d_first","d_rows","watch","newValue","changePage","p","pc","state","isFirstPage","preventDefault","isLastPage","keys","split","map","trim","floor","ceil","numberOfPages","visiblePages","start","max","end","delta","pageLinks","boundaries","calculatePageLinkBoundaries","_hoisted_1$6","render$7","_component_FirstPageLink","_component_PrevPageLink","_component_NextPageLink","_component_LastPageLink","_component_PageLinks","_component_CurrentPageReport","_component_RowsPerPageDropdown","$slots","currentState","templateItems","item","changePageToFirst","changePageToPrev","changePageToNext","changePageToLast","changePageLink","onRowsChange","onRowChange","styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","css_248z","name","model","popup","parentActive","documentClickListener","activeItem","bindDocumentClickListener","unbindDocumentClickListener","navigate","command","items","onLeafClick","to","listItem","currentTarget","parentElement","which","nextItem","findNextItem","children","focus","prevItem","findPrevItem","setTimeout","element","previousElementSibling","nextElementSibling","hasClass","$el","contains","addEventListener","removeEventListener","visible","_component_router_link","_component_sub_menu","role","separator","getItemClass","onMouseenter","onItemMouseEnter","custom","href","onItemClick","getLinkClass","onKeydown","onItemKeyDown","icon","url","tabindex","onKeydownItem","onChildItemKeyDown","appendTo","autoZIndex","baseZIndex","container","outsideClickListener","scrollHandler","resizeListener","restoreAppend","unbindResizeListener","unbindOutsideClickListener","destroy","hide","show","appendContainer","alignOverlay","bindOutsideClickListener","bindResizeListener","bindScrollListener","zIndex","generateZIndex","unbindScrollListener","absolutePosition","isTargetClicked","window","body","getElementById","removeChild","el","_component_TieredMenuSub","onEnter","onLeave","containerRef","_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","_component_InlineSvgScoped","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_ElPopover","_directive_tooltip","isSessionLocked","handleGoToPlantDetail","togglePlantFromFavorites","src","favouriteIcon","trigger","placement","dropdown","showDuplicate","handleDuplicateCard","handleEdit","plantEditListEnabled","handleDelete","plantDeleteListEnabled","handleOptionsClick","imageURLs","srcset","imageSrcSetURLs","alt","showOverlay","overlayIcon","computePlantAddress","top","computedTags","list","tag","extraTags","sessionLockedByName","formattedUpdateDate","title","username","reference","userInitials","iconDeviceLabel","iconDevice","doShowOverlay","iconStatus","status","PROJECT","COMMISSIONED","INSTALLED","address","country","lastModifyByDesktop","tags","slice","remainderTags","lastModifyBy","surname","plantTypeIcon","customIconImageUrl","plantType","lastModify","toLocaleDateString","day","month","year","hour","minute","isFavourite","sessionLocked","sessionLockedBy","justSynchronized","AUTOMATION_PLANT","desktopId","plants","$toast","add","severity","summary","closable","life","pageName","ENTRANCE_PLANT","$router","params","plantId","e","$store","dispatch","required","$nextTick","handleDisplayOverlay","__exports__","RoomType","baseUrl","instance","jsonParseReviver","a","create","cancelToken","url_","options_","method","headers","request","catch","_error","isAxiosError","response","then","_response","processWelcome","_headers","k","hasOwnProperty","_responseText","data","result200","resultData200","isArray","fromJS","throwException","Promise","resolve","property","_data","count","DefaultRoomDTO","init","message","isApiException","obj","Error","PlantsSelectionCriteria","welcomeClient","tagAllKey","allTag","i18n","t","isImportant","pageNumber","searchTermFinal","filterBy","MODIFIED_DATE","myTags","plantsSelectionCriteria","all","isPausedFetchupdate","intervalFetchUpdate","tempPlant","filteredPlants","favourites","filter","installed","project","commissioned","selectionCriteria","PLANT_NAME","welcome","console","error","fetchPlants","fetchPlantTags","registerPeriodicFetchUpdates","unregisterPeriodicFetchUpdates","activateLoader","filterTagKeys","find","x","plantsList","plantsResult","total","log","tagsList","doFetchUpdatesInternal","$config","PLANT_REFRESH_INTERVAL","clearTimeout","isNew","setSelectionCriteria","plantDELETE","alert","Paginator","TieredMenu","PlantCardV2","DialogPlantCreate","DialogPlantDuplicate","DialogConfirmDeletePlant","_component_ProgressSpinner","_component_NumberButtons","_component_ElScrollbar","_component_Dialog","modal","showHeader","onHide","doHideDialog","isDialogVisible","dialogTitle","plantsCount","plantsToCreate","idx","isInvalid","handleNameChange","doConfirm","isConfirmDisabled","entitiesPrefetchDone","allValidNames","every","duplicatePlant","validatePlantAgainstList","flushCache","prefetchFlatEntities","PLANT","suggestNameIfNeeded","prevValue","currValue","suggestNextValidEntityName","eType","metadata","plantSourceName","updateNamingServiceAdditionalEntities","pop","additionalEntities","currentName","isVisible","dispose","doFirstPrefetch","initializeFirstName","NumberButtons","stepTitle","stepSubTitle","roomTypes","roomType","getRoomIcon","updatePlantRoom","isInEditMode","rooms","roomsCounts","fetchRooms","defaultRoomsList","forEach","r","rt","theRooms","plantRoomCount","rc","room","plantRoom","plantName","code","codeToCheck","onSubmit","maxlength","theCode","onPaste","resetCodes","randStr","webpackContext","req","webpackContextResolve","__webpack_require__","o","collection","collectionStrong","arguments","DESCRIPTORS","objectKeys","toIndexedObject","propertyIsEnumerable","f","createMethod","TO_ENTRIES","it","entries","_component_Card","content","titleIcon","showActionButton","onActionButtonClick","actionButtonLabel","whitespaces","$parseInt","hex","FORCED","radix","S","_withId","active","localValue","toggleValue","_component_WizardPlantTypeSelection","_component_WizardAutomationPlant","_component_WizardEntrancePlant","plantCreateSteps","PlantCreateSteps","TYPE_SELECTION","residentialType","selectedResidentialType","handleContinueButton","WIZARD_AUTOMATION","localPlantId","onUpdate","updateId","onExitWizard","WIZARD_ENTRANCE","_component_SelectButton","toUpperCase","pt","plantTypesImages","option","slotProps","subTitle","Type","residentialTypesButtons","button","changeRtValue","val","NEW_PLANT","CONFIGURED_PLANT","faqUrl","open","newVal","dialogStepComponent","onIsLoading","handleStepLoading","onNextEnabled","handleNextEnabledChange","isBackButtonVisible","handleStepBack","handleButtonSubmitAction","buttonSubmitLabel","nextEnabled","dialogStep","mxServer","for","isValidName","invalidNameReason","countries","images","addTag","newTagName","tempTags","isTagSelected","toggleTagSelection","drawScaledImage","ctx","img","scale","canvas","width","height","y","drawImage","image","plantEditImageCustomEnabled","customIconDataUrl","ICON_CUSTOM","fetchCountries","finally","verifyValidityOfName","checkNextButtonState","querySelector","remove","handlerUploadInput","initialName","imageBinary","countriesAutocomplete","stopPropagation","stopImmediatePropagation","uploadInput","setAttribute","append","reader","FileReader","onload","evLoad","Image","getContext","fileRead","toDataURL","onerror","err","files","readAsDataURL","click","tagKey","some","newTag","groupIndex","findIndex","g","splice","validName","isValidEntityTypeName","suggestedName","preSelectedTags","plantServerImages","ServerModel","Classe300EOS","MyHomeServer1","plantServerUseMHS1Only","ENTRANCE_PLANT_ENABLED","initFormPlant","fetchPlantDetails","plantGET","handleCreatePlant","createdPlantId","goToPlantDetail","createdPlant","plantPOST","plantPUT","DialogPlantCreateStep1","DialogPlantCreateStep2","DialogPlantCreateStep3","dialogStepEntrancePlantComponent","entrancePlant","onOnBack","handleBack","onOnNext","handleNext","handleEditedPlant","_hoisted_27","timeZone","handleBackButton","handleNextButton","nextButtonLabel","Intl","DateTimeFormat","resolvedOptions","c","timeZoneId","regex","usedNames","initialEntities","wizardStep","headCreate","updatePlantStructure","getDataToSave","createPlant","peId","structure","entranceplantPOST","_component_ToggleSwitchButton","_component_CallModeForm","_component_DialogImportFile","infoPlant","language","validLanguages","switchboardActive","isBRFA","triggerFilePicker","onFileSelected","accept","entrancePlantDetail","importedData","isVisibleDialogImportFile","handleCloseDialog","onOverwrite","overwrite","isCreationMode","onUpdatePlant","handleUpdatePlant","onGrouped","handleGrouped","Language","CallMode","settingsList","Numbers","Letters","initializeData","addressBookSorting","addressingType","denominationApartments","denominationBuildings","denominationFloors","denominationRisers","callingCodeShowAddressBook","grouped","dictionary","buildingKey","building","apartment","apartmentName","labels","Private","line1","line2","companyName","Business","isPrivate","labelType","information","info","manuallyEdited","buildings","apartments","DirectCall_Alphanumeric","DirectCall_NumbersOnly","BuildingRiserFloorApartment","infoCreate","switchboard","scsAddr","devices","switchboardPOST","input","file","includes","replaceAll","readAsText","ToggleSwitchButton","HelpPopupButton","CallModeForm","DialogImportFile","_component_CardContainer","cantAddBuildingString","titleCard","onOnActionButtonClick","addBuilding","apartmentsCount","noAppartmentOptions","handleBuildingRemove","buldingIndex","otherBuildings","totalApartments","reduce","acc","getNewBuildingName","cantAddBuilding","maxApartments","fillBuildings","buildingId","newBuildingName","counter","buildingsCreate","nextPage","CardContainer","buildingName","changingBuilding","actionButton","lightTheme","minValue","risersCount","onIncrement","addRiser","onDecrement","removeRiser","currentRFAConfig","risers","riser","riserName","floorsCountValues","floors","changeFloorNumber","floorName","apartmentCountValues","numberOfApartments","changeApartmentNumber","currentBuildingIndex","distributeApartmentsToRaisersAndFloors","rfaConfig","currentBuilding","addFloors","abs","removeFloors","floorsCount","floorIndex","riserId","floorId","plantConfigStructure","changeBuilding","direction","gray","recapCode","riserDoubleChars","floorDoubleChars","apartmentDoubleChars","buildingCode","riserCode","floorCode","apartmentCode","callingcoderecap","gates","addGate","gate","handleGateRemove","getNewGateName","newGateName","gateCreate","prevPage","_component_ButtonSelection","_component_ListItemCheck","pageTitle","currentGate","changingGate","newPeSelected","newPeDisabled","keypadSelected","keypadDisabled","smartReaderSelected","smartReaderDisabled","scsAddrNotValid","MIN_SCS_ADDRESS","MAX_SCS_ADDRESS","scsAddress","invalidScsReason","currentGateId","inputId","allBuildings","handleUpdateBuildingSelection","AllBuildingsValue","binary","last","selectedBuildingIds","selectedBuildings","b","allRisers","handleUpdateRiserSelection","AllRisersValue","selectedRiserIds","currentGateIndex","gateConfig","gateId","connectedBuildingIds","gateName","d","Linea5000","KeyPad","SmartAccess","connectedRiserIds","connectedApartmentsIds","buildForm","refreshDeviceSelection","gateConfigStructure","scsAddressesPlusCurrentAdress","scsAddressHelper","availableScsAddressGate","addr","currentGateScs","acceptedRange","isItAvailable","selectBuildings","selectedApartments","flatMap","apartmentId","changeGate","Set","flat","retrieveApartmentIds","devicesSelected","buildingsSelected","risersSelected","ButtonSelection","verifyValidityOfScsAddress","fetchPePlant","nextComponentName","prevComponentName","entranceplantGET","DialogEntrancePlantCreateStep1","DialogEntrancePlantCreateStep2","DialogEntrancePlantCreateStep3","DialogEntrancePlantCreateStep4","DialogEntrancePlantCreateStep5","DialogEntrancePlantCreateStep6","DialogEntrancePlantCreateStep7","editPlantId","editPlantType","WizardPlantTypeSelection","WizardAutomationPlant","WizardEntrancePlant","FUNC_ERROR_TEXT","NAN","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","nativeMax","nativeMin","now","Date","debounce","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","toNumber","isObject","other","valueOf","isBinary"],"mappings":"oHAAA,W,uBCAAA,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,gC,uBCA3CD,EAAOC,QAAU,IAA0B,0C,uBCA3CD,EAAOC,QAAU,IAA0B,gC,oCCA3C,W,uBCAA,IAAIC,EAAI,EAAQ,QACZC,EAAU,EAAQ,QAAgCC,OAItDF,EAAE,CAAEG,OAAQ,SAAUC,MAAM,GAAQ,CAClCF,OAAQ,SAAgBG,GACtB,OAAOJ,EAAQI,O,uBCPnBP,EAAOC,QAAU,IAA0B,gC,gDCA3CD,EAAOC,QAAU,IAA0B,+B,uBCA3CD,EAAOC,QAAU,IAA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BAATA,EACT,OAAOA,EAET,GAAIC,EAASD,GACX,OAAO09B,EAET,GAAIwC,EAASlgC,GAAQ,CACnB,IAAImgC,EAAgC,mBAAjBngC,EAAMogC,QAAwBpgC,EAAMogC,UAAYpgC,EACnEA,EAAQkgC,EAASC,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAATngC,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQA,EAAMQ,QAAQm9B,EAAQ,IAC9B,IAAI0C,EAAWxC,EAAWv+B,KAAKU,GAC/B,OAAQqgC,GAAYvC,EAAUx+B,KAAKU,GAC/B+9B,EAAa/9B,EAAMkX,MAAM,GAAImpB,EAAW,EAAI,GAC3CzC,EAAWt+B,KAAKU,GAAS09B,GAAO19B,EAGvC1F,EAAOC,QAAU6jC,I,2CCxXjB9jC,EAAOC,QAAU,IAA0B,oC,qBCA3CD,EAAOC,QAAU,IAA0B,mC,qBCA3CD,EAAOC,QAAU,IAA0B,+C,qBCA3CD,EAAOC,QAAU,IAA0B,uC,kCCA3C,W,qBCAAD,EAAOC,QAAU,IAA0B","file":"js/page-plants-list.14280327.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!./WizardPlantTypeSelection.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-toilets.475eec05.svg\";","module.exports = __webpack_public_path__ + \"img/icon-device.fd288cca.svg\";","module.exports = __webpack_public_path__ + \"img/icon-alert-hight-full.3b0f559f.svg\";","module.exports = __webpack_public_path__ + \"img/icon-xmeter.cdd95f85.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!./WizardEntrancePlant.scss?vue&type=style&index=0&lang=scss\"","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","module.exports = __webpack_public_path__ + \"img/icon-filter.4f75b6cb.svg\";","module.exports = __webpack_public_path__ + \"img/icon-round.e7c23e5d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-star.50c24909.svg\";","module.exports = __webpack_public_path__ + \"img/icon_command_night.badbdbf4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-datetime.25498852.svg\";","module.exports = __webpack_public_path__ + \"img/icon-all-plants.8e1b500b.svg\";","module.exports = __webpack_public_path__ + \"img/icon-garden.b5326b97.svg\";","module.exports = __webpack_public_path__ + \"img/icon-refresh.e78fba07.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!./CardContainer.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-general-view.6e8cf869.svg\";","module.exports = __webpack_public_path__ + \"img/icon-shutter.b88b133c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-done.3da9ef41.svg\";","module.exports = __webpack_public_path__ + \"img/icon-edit.e6654111.svg\";","module.exports = __webpack_public_path__ + \"img/icon-automation-2.bdcf38c1.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!./DialogPlantDuplicate.scss?vue&type=style&index=0&lang=scss\"","var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","module.exports = __webpack_public_path__ + \"img/icon-laundry.6b1b960c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-light.9f4df880.svg\";","module.exports = __webpack_public_path__ + \"img/icon-towel-rail.a4348895.svg\";","module.exports = __webpack_public_path__ + \"img/icon-music-player.88e7fe63.svg\";","module.exports = __webpack_public_path__ + \"img/icon-electrical-cabinet.2f0f7dac.svg\";","module.exports = __webpack_public_path__ + \"img/icon-livingroom.b9d081af.svg\";","module.exports = __webpack_public_path__ + \"img/icon-bedroom.acd3f824.svg\";","module.exports = __webpack_public_path__ + \"img/icon-security-2.2f15498d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-blind.dd2cda6f.svg\";","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match words composed of alphanumeric characters. */\nvar reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20f0',\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\",\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',\n rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;\n\n/** Used to match apostrophes. */\nvar reApos = RegExp(rsApos, 'g');\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/** Used to match complex or compound words. */\nvar reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')',\n rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,\n rsUpper + '+' + rsOptUpperContr,\n rsDigits,\n rsEmoji\n].join('|'), 'g');\n\n/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/** Used to map Latin Unicode letters to basic Latin letters. */\nvar deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 'ss'\n};\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array ? array.length : 0;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\n/**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction asciiWords(string) {\n return string.match(reAsciiWord) || [];\n}\n\n/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n}\n\n/**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\nvar deburrLetter = basePropertyOf(deburredLetters);\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n}\n\n/**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n}\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\nfunction createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\n/**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\nvar kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n});\n\n/**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\nfunction words(string, pattern, guard) {\n string = toString(string);\n pattern = guard ? undefined : pattern;\n\n if (pattern === undefined) {\n return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n }\n return string.match(pattern) || [];\n}\n\nmodule.exports = kebabCase;\n","module.exports = __webpack_public_path__ + \"img/icon-automation.9592e7a0.svg\";","module.exports = __webpack_public_path__ + \"img/icon-faq.0c68bdd5.svg\";","module.exports = __webpack_public_path__ + \"img/icon-duplication.6f861d54.svg\";","module.exports = __webpack_public_path__ + \"img/icon-bathroom.da2ccc30.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!./PlantCard.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-expand-menu.b4f3b9a9.svg\";","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"page-plants-list\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center justify-content-between\" }\nconst _hoisted_3 = { class: \"mb-0\" }\nconst _hoisted_4 = { class: \"p-input-icon-left p-input-icon-custom ml-auto mr-3 mr-xl-0\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-search\" }, null, -1)\nconst _hoisted_6 = {\n id: \"navigation-wrp\",\n class: \"d-flex align-items-baseline justify-content-between mt-4\"\n}\nconst _hoisted_7 = { id: \"dropdowns-wrp\" }\nconst _hoisted_8 = { class: \"layout-plants-hub__content\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"plants-list plants-list__cards\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"py-5 text-center\"\n}\nconst _hoisted_11 = { class: \"fs-18 text-gray\" }\nconst _hoisted_12 = { key: 1 }\nconst _hoisted_13 = {\n key: 0,\n id: \"paginator-wrapper\",\n class: \"mt-3\"\n}\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_Divider = _resolveComponent(\"Divider\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_TabPanel = _resolveComponent(\"TabPanel\")\n const _component_TabView = _resolveComponent(\"TabView\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_PlantCardV2 = _resolveComponent(\"PlantCardV2\")\n const _component_Paginator = _resolveComponent(\"Paginator\")\n const _component_DialogPlantDuplicate = _resolveComponent(\"DialogPlantDuplicate\")\n const _component_DialogPlantCreate = _resolveComponent(\"DialogPlantCreate\")\n const _component_DialogConfirmDeletePlant = _resolveComponent(\"DialogConfirmDeletePlant\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResource.Plants\")), 1),\n _createVNode(\"span\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_InputText, {\n type: \"text\",\n placeholder: _ctx.$t('AppResource.SearchByPlantName'),\n modelValue: _ctx.searchTerm,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.searchTerm = $event)),\n onInput: _ctx.handleSearch\n }, null, 8, [\"placeholder\", \"modelValue\", \"onInput\"])\n ]),\n _createVNode(_component_Divider, { layout: \"vertical\" }),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button-raised p-button--m\",\n onClick: _ctx.toggleCreateDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.NewPlant\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(_component_TabView, {\n class: \"p-tabview--custom\",\n onTabChange: _cache[2] || (_cache[2] = ($event: any) => (_ctx.handleTabClick($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResource.All')\n }, null, 8, [\"header\"]),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('general.favourites')\n }, null, 8, [\"header\"])\n ]),\n _: 1\n }),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_Dropdown, {\n options: _ctx.filterByOptions,\n modelValue: _ctx.selectedFilterBy,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.selectedFilterBy = $event)),\n onChange: _cache[4] || (_cache[4] = ($event: any) => (_ctx.onFilterByChange($event))),\n optionLabel: \"label\",\n optionValue: \"value\",\n class: \"plants-list__filter ml-auto mr-4 w-100\"\n }, null, 8, [\"options\", \"modelValue\"]),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.orderBy,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.orderBy = $event)),\n options: _ctx.orderByOptions,\n optionLabel: \"label\",\n optionValue: \"value\",\n class: \"plants-list__filter ml-auto w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n (!_ctx.isLoading)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n (_ctx.hasPlants)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.selectedPlants, (plant, i) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"plants-list__card\",\n key: `card-plant-${i}`\n }, [\n _createVNode(_component_PlantCardV2, {\n plant: plant,\n onEdit: () => _ctx.handleEditPlant(plant),\n onDuplicate: () => _ctx.handleDuplicatePlant(plant),\n onDelete: () => _ctx.toggleDeletePlantConfirm(plant)\n }, null, 8, [\"plant\", \"onEdit\", \"onDuplicate\", \"onDelete\"])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n (!_ctx.wasSearchExecuted)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(\"h1\", null, _toDisplayString(_ctx.$t(\"AppResource.NoPlantsUpper\")), 1),\n _createVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.$t(\"plants.noPlantsHint\")), 1)\n ], 64))\n : (_openBlock(), _createBlock(\"h1\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResource.NoPlantsUpper\")), 1))\n ]))\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n (!!_ctx.selectedPlants && _ctx.selectedPlants.length)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_13, [\n _createVNode(_component_Paginator, {\n totalRecords: _ctx.totalPlants,\n rows: _ctx.pageSize,\n currentPageReportTemplate: '{first} - {last} of {totalRecords}',\n class: \"p-0\",\n onPage: _cache[6] || (_cache[6] = ($event: any) => (_ctx.handlePageChange($event)))\n }, null, 8, [\"totalRecords\", \"rows\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_DialogPlantDuplicate, {\n onFetchPlants: _ctx.refreshList,\n onHideDialog: _ctx.handleHideDialog,\n plant: _ctx.plantUnderDuplication,\n \"is-visible\": _ctx.isPlantDuplicateDialogVisible\n }, null, 8, [\"onFetchPlants\", \"onHideDialog\", \"plant\", \"is-visible\"]),\n _createVNode(_component_DialogPlantCreate, {\n \"is-visible\": _ctx.isVisibleCreateDialog,\n \"edit-plantId\": _ctx.selectedPlantId,\n \"edit-plantType\": _ctx.selectedPlantType,\n isEdit: _ctx.isEdit,\n onPlantEdited: _ctx.refreshList,\n onHideDialog: _ctx.toggleCreateDialog\n }, null, 8, [\"is-visible\", \"edit-plantId\", \"edit-plantType\", \"isEdit\", \"onPlantEdited\", \"onHideDialog\"]),\n _createVNode(_component_DialogConfirmDeletePlant, {\n \"is-visible\": _ctx.isVisibleDeletePlantConfirm,\n \"plant-name\": _ctx.plantToDeleteName,\n onHideDialog: _cache[7] || (_cache[7] = ($event: any) => (_ctx.toggleDeletePlantConfirm(null))),\n onConfirm: _ctx.handleDeletePlant\n }, null, 8, [\"is-visible\", \"plant-name\", \"onConfirm\"])\n ]))\n}","import { openBlock, createBlock, toDisplayString, resolveDirective, withDirectives, createVNode, Fragment, renderList, resolveComponent, renderSlot, createCommentVNode } from 'vue';\nimport Ripple from 'primevue/ripple';\nimport Dropdown from 'primevue/dropdown';\n\nvar script = {\n\t\tinheritAttrs: false,\n\t\tprops: {\n\t\t\tpageCount: {\n type: Number,\n default: 0\n },\n page: {\n type: Number,\n default: 0\n },\n first: {\n type: Number,\n default: 0\n },\n rows: {\n type: Number,\n default: 0\n },\n totalRecords: {\n type: Number,\n default: 0\n },\n\t\t\ttemplate: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '({currentPage} of {totalPages})'\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n text() {\n let text = this.template\n .replace(\"{currentPage}\", this.page + 1)\n .replace(\"{totalPages}\", this.pageCount)\n .replace(\"{first}\", this.first + 1)\n .replace(\"{last}\", Math.min(this.first + this.rows, this.totalRecords))\n .replace(\"{rows}\", this.rows)\n .replace(\"{totalRecords}\", this.totalRecords);\n\n return text;\n }\n\t\t}\n\t};\n\nconst _hoisted_1 = { class: \"p-paginator-current\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createBlock(\"span\", _hoisted_1, toDisplayString($options.text), 1))\n}\n\nscript.render = render;\n\nvar script$1 = {\n computed: {\n containerClass() {\n return ['p-paginator-first p-paginator-element p-link', {\n 'p-disabled': this.$attrs.disabled\n }];\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1$1 = /*#__PURE__*/createVNode(\"span\", { class: \"p-paginator-icon pi pi-angle-double-left\" }, null, -1);\n\nfunction render$1(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return withDirectives((openBlock(), createBlock(\"button\", {\n class: $options.containerClass,\n type: \"button\"\n }, [\n _hoisted_1$1\n ], 2)), [\n [_directive_ripple]\n ])\n}\n\nscript$1.render = render$1;\n\nvar script$2 = {\n computed: {\n containerClass() {\n return ['p-paginator-last p-paginator-element p-link', {\n 'p-disabled': this.$attrs.disabled\n }];\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1$2 = /*#__PURE__*/createVNode(\"span\", { class: \"p-paginator-icon pi pi-angle-double-right\" }, null, -1);\n\nfunction render$2(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return withDirectives((openBlock(), createBlock(\"button\", {\n class: $options.containerClass,\n type: \"button\"\n }, [\n _hoisted_1$2\n ], 2)), [\n [_directive_ripple]\n ])\n}\n\nscript$2.render = render$2;\n\nvar script$3 = {\n computed: {\n containerClass() {\n return ['p-paginator-next p-paginator-element p-link', {\n 'p-disabled': this.$attrs.disabled\n }];\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1$3 = /*#__PURE__*/createVNode(\"span\", { class: \"p-paginator-icon pi pi-angle-right\" }, null, -1);\n\nfunction render$3(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return withDirectives((openBlock(), createBlock(\"button\", {\n class: $options.containerClass,\n type: \"button\"\n }, [\n _hoisted_1$3\n ], 2)), [\n [_directive_ripple]\n ])\n}\n\nscript$3.render = render$3;\n\nvar script$4 = {\n inheritAttrs: false,\n emits: ['click'],\n props: {\n value: Array,\n page: Number\n },\n methods: {\n onPageLinkClick(event, pageLink) {\n this.$emit('click', {\n originalEvent: event,\n value: pageLink\n });\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1$4 = { class: \"p-paginator-pages\" };\n\nfunction render$4(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return (openBlock(), createBlock(\"span\", _hoisted_1$4, [\n (openBlock(true), createBlock(Fragment, null, renderList($props.value, (pageLink) => {\n return withDirectives((openBlock(), createBlock(\"button\", {\n key: pageLink,\n class: ['p-paginator-page p-paginator-element p-link', {'p-highlight': ((pageLink - 1) === $props.page)}],\n type: \"button\",\n onClick: $event => ($options.onPageLinkClick($event, pageLink))\n }, toDisplayString(pageLink), 11, [\"onClick\"])), [\n [_directive_ripple]\n ])\n }), 128))\n ]))\n}\n\nscript$4.render = render$4;\n\nvar script$5 = {\n computed: {\n containerClass() {\n return ['p-paginator-prev p-paginator-element p-link', {\n 'p-disabled': this.$attrs.disabled\n }];\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1$5 = /*#__PURE__*/createVNode(\"span\", { class: \"p-paginator-icon pi pi-angle-left\" }, null, -1);\n\nfunction render$5(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return withDirectives((openBlock(), createBlock(\"button\", {\n class: $options.containerClass,\n type: \"button\"\n }, [\n _hoisted_1$5\n ], 2)), [\n [_directive_ripple]\n ])\n}\n\nscript$5.render = render$5;\n\nvar script$6 = {\n inheritAttrs: false,\n emits: ['rows-change'],\n props: {\n options: Array,\n rows: Number\n },\n methods: {\n onChange(value) {\n this.$emit('rows-change', value);\n }\n },\n computed: {\n rowsOptions() {\n let opts = [];\n if (this.options) {\n for(let i= 0; i < this.options.length; i++) {\n opts.push({label: String(this.options[i]), value: this.options[i]});\n }\n }\n return opts;\n }\n },\n components: {\n 'RPPDropdown': Dropdown\n }\n};\n\nfunction render$6(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_RPPDropdown = resolveComponent(\"RPPDropdown\");\n\n return (openBlock(), createBlock(_component_RPPDropdown, {\n modelValue: $props.rows,\n options: $options.rowsOptions,\n optionLabel: \"label\",\n optionValue: \"value\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => ($options.onChange($event)))\n }, null, 8, [\"modelValue\", \"options\"]))\n}\n\nscript$6.render = render$6;\n\nvar script$7 = {\n emits: ['update:first', 'update:rows', 'page'],\n props: {\n totalRecords: {\n type: Number,\n default: 0\n },\n rows: {\n type: Number,\n default: 0\n },\n first: {\n type: Number,\n default: 0\n },\n pageLinkSize: {\n type: Number,\n default: 5\n },\n rowsPerPageOptions: {\n type: Array,\n default: null\n },\n template: {\n type: String,\n default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'\n },\n currentPageReportTemplate: {\n type: null,\n default: '({currentPage} of {totalPages})'\n },\n alwaysShow: {\n type: Boolean,\n default: true\n }\n },\n data() {\n return {\n d_first: this.first,\n d_rows: this.rows\n }\n },\n watch: {\n first(newValue) {\n this.d_first = newValue;\n },\n rows(newValue) {\n this.d_rows = newValue;\n },\n totalRecords(newValue) {\n if (this.page > 0 && newValue && (this.d_first >= newValue)) {\n this.changePage(this.pageCount - 1);\n }\n }\n },\n methods: {\n changePage(p) {\n const pc = this.pageCount;\n\n if (p >= 0 && p < pc) {\n this.d_first = this.d_rows * p;\n const state = {\n page: p,\n first: this.d_first,\n rows: this.d_rows,\n pageCount: pc\n };\n\n\t\t\t\tthis.$emit('update:first', this.d_first);\n this.$emit('update:rows', this.d_rows);\n this.$emit('page', state);\n }\n },\n changePageToFirst(event) {\n if(!this.isFirstPage) {\n this.changePage(0);\n }\n\n event.preventDefault();\n },\n changePageToPrev(event) {\n this.changePage(this.page - 1);\n event.preventDefault();\n },\n changePageLink(event) {\n this.changePage(event.value - 1);\n event.originalEvent.preventDefault();\n },\n changePageToNext(event) {\n this.changePage(this.page + 1);\n event.preventDefault();\n },\n changePageToLast(event) {\n if(!this.isLastPage) {\n this.changePage(this.pageCount - 1);\n }\n\n event.preventDefault();\n },\n onRowChange(value) {\n this.d_rows = value;\n this.changePage(this.page);\n }\n },\n computed: {\n templateItems() {\n let keys = [];\n this.template.split(' ').map((value) => {\n keys.push(value.trim());\n });\n return keys;\n },\n page() {\n return Math.floor(this.d_first / this.d_rows);\n },\n pageCount() {\n return Math.ceil(this.totalRecords / this.d_rows) || 1;\n },\n isFirstPage() {\n return this.page === 0;\n },\n isLastPage() {\n return this.page === this.pageCount - 1;\n },\n calculatePageLinkBoundaries() {\n const numberOfPages = this.pageCount;\n const visiblePages = Math.min(this.pageLinkSize, numberOfPages);\n\n //calculate range, keep current in middle if necessary\n let start = Math.max(0, Math.ceil(this.page - ((visiblePages) / 2)));\n let end = Math.min(numberOfPages - 1, start + visiblePages - 1);\n\n //check when approaching to last page\n const delta = this.pageLinkSize - (end - start + 1);\n start = Math.max(0, start - delta);\n\n return [start, end];\n },\n pageLinks() {\n let pageLinks = [];\n let boundaries = this.calculatePageLinkBoundaries;\n let start = boundaries[0];\n let end = boundaries[1];\n\n for(var i = start; i <= end; i++) {\n pageLinks.push(i + 1);\n }\n\n return pageLinks;\n },\n currentState() {\n return {\n page: this.page,\n first: this.d_first,\n rows: this.d_rows\n }\n }\n },\n components: {\n 'CurrentPageReport': script,\n 'FirstPageLink': script$1,\n 'LastPageLink': script$2,\n 'NextPageLink': script$3,\n 'PageLinks': script$4,\n 'PrevPageLink': script$5,\n 'RowsPerPageDropdown': script$6,\n }\n};\n\nconst _hoisted_1$6 = {\n key: 0,\n class: \"p-paginator p-component\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"p-paginator-left-content\"\n};\nconst _hoisted_3 = {\n key: 1,\n class: \"p-paginator-right-content\"\n};\n\nfunction render$7(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_FirstPageLink = resolveComponent(\"FirstPageLink\");\n const _component_PrevPageLink = resolveComponent(\"PrevPageLink\");\n const _component_NextPageLink = resolveComponent(\"NextPageLink\");\n const _component_LastPageLink = resolveComponent(\"LastPageLink\");\n const _component_PageLinks = resolveComponent(\"PageLinks\");\n const _component_CurrentPageReport = resolveComponent(\"CurrentPageReport\");\n const _component_RowsPerPageDropdown = resolveComponent(\"RowsPerPageDropdown\");\n\n return ($props.alwaysShow ? true : ($options.pageLinks && $options.pageLinks.length > 1))\n ? (openBlock(), createBlock(\"div\", _hoisted_1$6, [\n (_ctx.$slots.left)\n ? (openBlock(), createBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"left\", { state: $options.currentState })\n ]))\n : createCommentVNode(\"\", true),\n (openBlock(true), createBlock(Fragment, null, renderList($options.templateItems, (item) => {\n return (openBlock(), createBlock(Fragment, { key: item }, [\n (item === 'FirstPageLink')\n ? (openBlock(), createBlock(_component_FirstPageLink, {\n key: 0,\n onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToFirst($event))),\n disabled: $options.isFirstPage\n }, null, 8, [\"disabled\"]))\n : (item === 'PrevPageLink')\n ? (openBlock(), createBlock(_component_PrevPageLink, {\n key: 1,\n onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToPrev($event))),\n disabled: $options.isFirstPage\n }, null, 8, [\"disabled\"]))\n : (item === 'NextPageLink')\n ? (openBlock(), createBlock(_component_NextPageLink, {\n key: 2,\n onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToNext($event))),\n disabled: $options.isLastPage\n }, null, 8, [\"disabled\"]))\n : (item === 'LastPageLink')\n ? (openBlock(), createBlock(_component_LastPageLink, {\n key: 3,\n onClick: _cache[4] || (_cache[4] = $event => ($options.changePageToLast($event))),\n disabled: $options.isLastPage\n }, null, 8, [\"disabled\"]))\n : (item === 'PageLinks')\n ? (openBlock(), createBlock(_component_PageLinks, {\n key: 4,\n value: $options.pageLinks,\n page: $options.page,\n onClick: _cache[5] || (_cache[5] = $event => ($options.changePageLink($event)))\n }, null, 8, [\"value\", \"page\"]))\n : (item === 'CurrentPageReport')\n ? (openBlock(), createBlock(_component_CurrentPageReport, {\n key: 5,\n template: $props.currentPageReportTemplate,\n page: $options.page,\n pageCount: $options.pageCount,\n first: $data.d_first,\n rows: $data.d_rows,\n totalRecords: $props.totalRecords\n }, null, 8, [\"template\", \"page\", \"pageCount\", \"first\", \"rows\", \"totalRecords\"]))\n : (item === 'RowsPerPageDropdown' && $props.rowsPerPageOptions)\n ? (openBlock(), createBlock(_component_RowsPerPageDropdown, {\n key: 6,\n rows: $data.d_rows,\n options: $props.rowsPerPageOptions,\n onRowsChange: _cache[6] || (_cache[6] = $event => ($options.onRowChange($event)))\n }, null, 8, [\"rows\", \"options\"]))\n : createCommentVNode(\"\", true)\n ], 64))\n }), 128)),\n (_ctx.$slots.right)\n ? (openBlock(), createBlock(\"div\", _hoisted_3, [\n renderSlot(_ctx.$slots, \"right\", { state: $options.currentState })\n ]))\n : createCommentVNode(\"\", true)\n ]))\n : createCommentVNode(\"\", true)\n}\n\nfunction styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css_248z = \"\\n.p-paginator {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -ms-flex-wrap: wrap;\\n flex-wrap: wrap;\\n}\\n.p-paginator-left-content {\\n\\tmargin-right: auto;\\n}\\n.p-paginator-right-content {\\n\\tmargin-left: auto;\\n}\\n.p-paginator-page,\\n.p-paginator-next,\\n.p-paginator-last,\\n.p-paginator-first,\\n.p-paginator-prev,\\n.p-paginator-current {\\n cursor: pointer;\\n display: -webkit-inline-box;\\n display: -ms-inline-flexbox;\\n display: inline-flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n line-height: 1;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n overflow: hidden;\\n position: relative;\\n}\\n.p-paginator-element:focus {\\n z-index: 1;\\n position: relative;\\n}\\n\";\nstyleInject(css_248z);\n\nscript$7.render = render$7;\n\nexport default script$7;\n","import { DomHandler, ConnectedOverlayScrollHandler } from 'primevue/utils';\nimport Ripple from 'primevue/ripple';\nimport { resolveComponent, resolveDirective, openBlock, createBlock, Fragment, renderList, withCtx, withDirectives, createVNode, toDisplayString, createCommentVNode, Transition } from 'vue';\n\nvar script = {\n emits: ['leaf-click', 'keydown-item'],\n name: 'sub-menu',\n props: {\n model: {\n type: Array,\n default: null\n },\n root: {\n type: Boolean,\n default: false\n },\n popup: {\n type: Boolean,\n default: false\n },\n parentActive: {\n type: Boolean,\n default: false\n }\n },\n documentClickListener: null,\n watch: {\n parentActive(newValue) {\n if (!newValue) {\n this.activeItem = null;\n }\n }\n },\n data() {\n return {\n activeItem: null\n }\n },\n updated() {\n if (this.root && this.activeItem) {\n this.bindDocumentClickListener();\n }\n },\n beforeUnmount() {\n this.unbindDocumentClickListener();\n },\n methods: {\n onItemMouseEnter(event, item) {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (this.root) {\n if (this.activeItem || this.popup) {\n this.activeItem = item;\n }\n }\n else {\n this.activeItem = item;\n }\n },\n onItemClick(event, item, navigate) {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item\n });\n }\n\n if (item.items) {\n if (this.activeItem && item === this.activeItem)\n this.activeItem = null;\n else\n this.activeItem = item;\n }\n\n if (!item.items) {\n this.onLeafClick();\n }\n\n if (item.to && navigate) {\n navigate(event);\n }\n },\n onLeafClick() {\n this.activeItem = null;\n this.$emit('leaf-click');\n },\n onItemKeyDown(event, item) {\n let listItem = event.currentTarget.parentElement;\n\n switch (event.which) {\n //down\n case 40:\n var nextItem = this.findNextItem(listItem);\n if (nextItem) {\n nextItem.children[0].focus();\n }\n\n event.preventDefault();\n break;\n\n //up\n case 38:\n var prevItem = this.findPrevItem(listItem);\n if (prevItem) {\n prevItem.children[0].focus();\n }\n\n event.preventDefault();\n break;\n\n //right\n case 39:\n if (item.items) {\n this.activeItem = item;\n\n setTimeout(() => {\n listItem.children[1].children[0].children[0].focus();\n }, 50);\n }\n\n event.preventDefault();\n break;\n }\n\n this.$emit('keydown-item', {\n originalEvent: event,\n element: listItem\n });\n },\n onChildItemKeyDown(event) {\n //left\n if (event.originalEvent.which === 37) {\n this.activeItem = null;\n event.element.parentElement.previousElementSibling.focus();\n }\n },\n findNextItem(item) {\n let nextItem = item.nextElementSibling;\n\n if (nextItem)\n return DomHandler.hasClass(nextItem, 'p-disabled') || !DomHandler.hasClass(nextItem, 'p-menuitem') ? this.findNextItem(nextItem) : nextItem;\n else\n return null;\n },\n findPrevItem(item) {\n let prevItem = item.previousElementSibling;\n\n if (prevItem)\n return DomHandler.hasClass(prevItem, 'p-disabled') || !DomHandler.hasClass(prevItem, 'p-menuitem') ? this.findPrevItem(prevItem) : prevItem;\n else\n return null;\n },\n getItemClass(item) {\n return [\n 'p-menuitem', item.class, {\n 'p-menuitem-active': this.activeItem === item\n }\n ]\n },\n getLinkClass(item) {\n return ['p-menuitem-link', {'p-disabled': item.disabled}];\n },\n bindDocumentClickListener() {\n if (!this.documentClickListener) {\n this.documentClickListener = (event) => {\n if (this.$el && !this.$el.contains(event.target)) {\n this.activeItem = null;\n this.unbindDocumentClickListener();\n }\n };\n\n document.addEventListener('click', this.documentClickListener);\n }\n },\n unbindDocumentClickListener() {\n if (this.documentClickListener) {\n document.removeEventListener('click', this.documentClickListener);\n this.documentClickListener = null;\n }\n },\n visible(item) {\n return (typeof item.visible === 'function' ? item.visible() : item.visible !== false);\n }\n },\n computed: {\n containerClass() {\n return {'p-submenu-list': !this.root};\n }\n },\n directives: {\n 'ripple': Ripple\n }\n};\n\nconst _hoisted_1 = { class: \"p-menuitem-text\" };\nconst _hoisted_2 = { class: \"p-menuitem-text\" };\nconst _hoisted_3 = {\n key: 0,\n class: \"p-submenu-icon pi pi-angle-right\"\n};\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_router_link = resolveComponent(\"router-link\");\n const _component_sub_menu = resolveComponent(\"sub-menu\");\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return (openBlock(), createBlock(\"ul\", {\n ref: \"element\",\n class: $options.containerClass,\n role: \"'menubar' : 'menu'\",\n \"aria-orientation\": \"horizontal\"\n }, [\n (openBlock(true), createBlock(Fragment, null, renderList($props.model, (item, i) => {\n return (openBlock(), createBlock(Fragment, null, [\n ($options.visible(item) && !item.separator)\n ? (openBlock(), createBlock(\"li\", {\n class: $options.getItemClass(item),\n style: item.style,\n key: item.label + i,\n onMouseenter: $event => ($options.onItemMouseEnter($event, item)),\n role: \"none\"\n }, [\n (item.to && !item.disabled)\n ? (openBlock(), createBlock(_component_router_link, {\n key: 0,\n to: item.to,\n custom: \"\"\n }, {\n default: withCtx(({navigate, href}) => [\n withDirectives(createVNode(\"a\", {\n href: href,\n onClick: $event => ($options.onItemClick($event, item, navigate)),\n class: $options.getLinkClass(item),\n onKeydown: $event => ($options.onItemKeyDown($event, item)),\n role: \"menuitem\"\n }, [\n createVNode(\"span\", {\n class: ['p-menuitem-icon', item.icon]\n }, null, 2),\n createVNode(\"span\", _hoisted_1, toDisplayString(item.label), 1)\n ], 42, [\"href\", \"onClick\", \"onKeydown\"]), [\n [_directive_ripple]\n ])\n ]),\n _: 2\n }, 1032, [\"to\"]))\n : withDirectives((openBlock(), createBlock(\"a\", {\n key: 1,\n href: item.url,\n class: $options.getLinkClass(item),\n target: item.target,\n \"aria-haspopup\": item.items != null,\n \"aria-expanded\": item === $data.activeItem,\n onClick: $event => ($options.onItemClick($event, item)),\n onKeydown: $event => ($options.onItemKeyDown($event, item)),\n role: \"menuitem\",\n tabindex: item.disabled ? null : '0'\n }, [\n createVNode(\"span\", {\n class: ['p-menuitem-icon', item.icon]\n }, null, 2),\n createVNode(\"span\", _hoisted_2, toDisplayString(item.label), 1),\n (item.items)\n ? (openBlock(), createBlock(\"span\", _hoisted_3))\n : createCommentVNode(\"\", true)\n ], 42, [\"href\", \"target\", \"aria-haspopup\", \"aria-expanded\", \"onClick\", \"onKeydown\", \"tabindex\"])), [\n [_directive_ripple]\n ]),\n ($options.visible(item) && item.items)\n ? (openBlock(), createBlock(_component_sub_menu, {\n model: item.items,\n key: item.label + '_sub_',\n onLeafClick: $options.onLeafClick,\n onKeydownItem: $options.onChildItemKeyDown,\n parentActive: item === $data.activeItem\n }, null, 8, [\"model\", \"onLeafClick\", \"onKeydownItem\", \"parentActive\"]))\n : createCommentVNode(\"\", true)\n ], 46, [\"onMouseenter\"]))\n : createCommentVNode(\"\", true),\n ($options.visible(item) && item.separator)\n ? (openBlock(), createBlock(\"li\", {\n class: ['p-menu-separator', item.class],\n style: item.style,\n key: 'separator' + i,\n role: \"separator\"\n }, null, 6))\n : createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ], 2))\n}\n\nscript.render = render;\n\nvar script$1 = {\n props: {\n popup: {\n type: Boolean,\n default: false\n },\n\t\tmodel: {\n type: Array,\n default: null\n },\n appendTo: {\n type: String,\n default: null\n },\n autoZIndex: {\n type: Boolean,\n default: true\n },\n baseZIndex: {\n type: Number,\n default: 0\n }\n },\n target: null,\n container: null,\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n data() {\n return {\n visible: false\n };\n },\n beforeUnmount() {\n this.restoreAppend();\n this.unbindResizeListener();\n this.unbindOutsideClickListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n this.target = null;\n this.container = null;\n },\n methods: {\n itemClick(event) {\n const item = event.item;\n if (item.command) {\n item.command(event);\n event.originalEvent.preventDefault();\n }\n this.hide();\n },\n toggle(event) {\n if (this.visible)\n this.hide();\n else\n this.show(event);\n },\n show(event) {\n this.visible = true;\n this.target = event.currentTarget;\n },\n hide() {\n this.visible = false;\n },\n onEnter() {\n this.appendContainer();\n this.alignOverlay();\n this.bindOutsideClickListener();\n this.bindResizeListener();\n this.bindScrollListener();\n\n if (this.autoZIndex) {\n this.container.style.zIndex = String(this.baseZIndex + DomHandler.generateZIndex());\n }\n },\n onLeave() {\n this.unbindOutsideClickListener();\n this.unbindResizeListener();\n this.unbindScrollListener();\n },\n alignOverlay() {\n DomHandler.absolutePosition(this.container, this.target);\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.visible && this.container && !this.container.contains(event.target) && !this.isTargetClicked(event)) {\n this.hide();\n }\n };\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {\n if (this.visible) {\n this.hide();\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.visible) {\n this.hide();\n }\n };\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n isTargetClicked() {\n return this.target && (this.target === event.target || this.target.contains(event.target));\n },\n appendContainer() {\n if (this.appendTo) {\n if (this.appendTo === 'body')\n document.body.appendChild(this.container);\n else\n document.getElementById(this.appendTo).appendChild(this.container);\n }\n },\n restoreAppend() {\n if (this.container && this.appendTo) {\n if (this.appendTo === 'body')\n document.body.removeChild(this.container);\n else\n document.getElementById(this.appendTo).removeChild(this.container);\n }\n },\n onLeafClick() {\n if (this.popup) {\n this.hide();\n }\n },\n containerRef(el) {\n this.container = el;\n }\n },\n computed: {\n containerClass() {\n return ['p-tieredmenu p-component', {\n 'p-tieredmenu-overlay': this.popup\n }];\n }\n },\n components: {\n 'TieredMenuSub': script\n }\n};\n\nfunction render$1(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_TieredMenuSub = resolveComponent(\"TieredMenuSub\");\n\n return (openBlock(), createBlock(Transition, {\n name: \"p-connected-overlay\",\n onEnter: $options.onEnter,\n onLeave: $options.onLeave\n }, {\n default: withCtx(() => [\n ($props.popup ? $data.visible : true)\n ? (openBlock(), createBlock(\"div\", {\n key: 0,\n ref: $options.containerRef,\n class: $options.containerClass\n }, [\n createVNode(_component_TieredMenuSub, {\n model: $props.model,\n root: true,\n popup: $props.popup,\n onLeafClick: $options.onLeafClick\n }, null, 8, [\"model\", \"popup\", \"onLeafClick\"])\n ], 2))\n : createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"onEnter\", \"onLeave\"]))\n}\n\nfunction styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css_248z = \"\\n.p-tieredmenu-overlay {\\n position: absolute;\\n}\\n.p-tieredmenu ul {\\n margin: 0;\\n padding: 0;\\n list-style: none;\\n}\\n.p-tieredmenu .p-submenu-list {\\n position: absolute;\\n min-width: 100%;\\n z-index: 1;\\n display: none;\\n}\\n.p-tieredmenu .p-menuitem-link {\\n cursor: pointer;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n text-decoration: none;\\n overflow: hidden;\\n position: relative;\\n}\\n.p-tieredmenu .p-menuitem-text {\\n line-height: 1;\\n}\\n.p-tieredmenu .p-menuitem {\\n position: relative;\\n}\\n.p-tieredmenu .p-menuitem-link .p-submenu-icon {\\n margin-left: auto;\\n}\\n.p-tieredmenu .p-menuitem-active > .p-submenu-list {\\n display: block;\\n left: 100%;\\n top: 0;\\n}\\n\";\nstyleInject(css_248z);\n\nscript$1.render = render$1;\n\nexport default script$1;\n","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card-wrapper__header\" }\nconst _hoisted_2 = { class: \"card-wrapper__plant_title text-truncate\" }\nconst _hoisted_3 = { class: \"card-wrapper__top_actions\" }\nconst _hoisted_4 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_5 = { class: \"mt-1\" }\nconst _hoisted_6 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_7 = { class: \"btn-stripped d-flex align-items-center\" }\nconst _hoisted_8 = { class: \"bt-icon bt-icon--sm mr-3 text-gray\" }\nconst _hoisted_9 = { class: \"btn-stripped d-flex align-items-center\" }\nconst _hoisted_10 = { class: \"bt-icon bt-icon--sm mr-3 text-gray\" }\nconst _hoisted_11 = { class: \"btn-stripped d-flex align-items-center text-danger\" }\nconst _hoisted_12 = { class: \"card-wrapper__body\" }\nconst _hoisted_13 = { class: \"card-wrapper__thumb\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"bt-icon rotate-animation\"\n}\nconst _hoisted_15 = {\n key: 1,\n class: \"bt-icon\"\n}\nconst _hoisted_16 = { class: \"card-wrapper__details\" }\nconst _hoisted_17 = {\n key: 1,\n class: \"card-wrapper__address two-rows-ellipsis\"\n}\nconst _hoisted_18 = { class: \"card-wrapper__tags\" }\nconst _hoisted_19 = { key: 0 }\nconst _hoisted_20 = { class: \"card-wrapper__footer\" }\nconst _hoisted_21 = { class: \"card-wrapper__updated\" }\nconst _hoisted_22 = { key: 0 }\nconst _hoisted_23 = {\n key: 1,\n class: \"text-truncate mr-3\"\n}\nconst _hoisted_24 = { class: \"list-bubbles\" }\nconst _hoisted_25 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_26 = {\n key: 0,\n class: \"card-wrapper__disabled-overlay\"\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_ElDropdownItem = _resolveComponent(\"ElDropdownItem\")\n const _component_ElDropdownMenu = _resolveComponent(\"ElDropdownMenu\")\n const _component_ElDropdown = _resolveComponent(\"ElDropdown\")\n const _component_ElPopover = _resolveComponent(\"ElPopover\")\n const _directive_tooltip = _resolveDirective(\"tooltip\")\n\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"card-wrapper\", { 'card-wrapper--locked': _ctx.isSessionLocked }],\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.handleGoToPlantDetail && _ctx.handleGoToPlantDetail(...args)))\n }, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.plant.name), 1),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", null, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-1\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(($event: any) => (_ctx.togglePlantFromFavorites()), [\"stop\"])),\n disabled: _ctx.isSessionLocked\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_4, [\n _createVNode(_component_InlineSvgScoped, {\n src: _ctx.favouriteIcon,\n \"aria-label\": _ctx.favouriteIcon\n }, null, 8, [\"src\", \"aria-label\"])\n ])\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_ElDropdown, {\n trigger: \"click\",\n placement: \"bottom-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_ElDropdownMenu, { style: {\"width\":\"300px\"} }, {\n default: _withCtx(() => [\n (_ctx.showDuplicate)\n ? (_openBlock(), _createBlock(_component_ElDropdownItem, {\n key: 0,\n onClick: _ctx.handleDuplicateCard\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_7, [\n _createVNode(\"span\", _hoisted_8, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-duplication.svg')\n ,\n \"aria-label\": \"icon-duplication\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.Duplicate\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ElDropdownItem, {\n onClick: _ctx.handleEdit,\n disabled: !_ctx.plantEditListEnabled\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_9, [\n _createVNode(\"span\", _hoisted_10, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-edit.svg')\n ,\n \"aria-label\": \"icon-edit\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.Edit\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"]),\n _createVNode(_component_ElDropdownItem, {\n onClick: _ctx.handleDelete,\n disabled: !_ctx.plantDeleteListEnabled\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_11, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n onClick: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (_ctx.handleOptionsClick($event)), [\"stop\"])),\n class: \"p-button-text p-1\",\n disabled: _ctx.isSessionLocked\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_6, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-ellipsis-v.svg`)\n ,\n \"aria-label\": \"icon-ellipsis-v\"\n }, null, 8, [\"src\"])\n ])\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"img\", {\n src: _ctx.imageURLs[0],\n srcset: _ctx.imageSrcSetURLs,\n alt: \"img\"\n }, null, 8, [\"src\", \"srcset\"]),\n _createVNode(\"span\", {\n class: [\"card-wrapper__overlay text-primary\", { 'is--visible': _ctx.showOverlay }]\n }, [\n (_ctx.overlayIcon)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_14, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.overlayIcon}.svg`)\n ,\n \"aria-label\": \"icon-sync\"\n }, null, 8, [\"src\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isSessionLocked)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_15, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-ban-light.svg`)\n ,\n \"aria-label\": \"icon-sync\"\n }, null, 8, [\"src\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _createVNode(\"div\", _hoisted_16, [\n (_ctx.computePlantAddress.length >= 57)\n ? _withDirectives((_openBlock(), _createBlock(\"p\", {\n key: 0,\n class: \"card-wrapper__address two-rows-ellipsis\"\n }, _toDisplayString(_ctx.computePlantAddress), 513)), [\n [\n _directive_tooltip,\n _ctx.computePlantAddress,\n void 0,\n { top: true }\n ]\n ])\n : (_openBlock(), _createBlock(\"p\", _hoisted_17, _toDisplayString(_ctx.computePlantAddress), 1)),\n _createVNode(\"ul\", _hoisted_18, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.computedTags.list, (tag, index) => {\n return (_openBlock(), _createBlock(\"li\", { key: index }, _toDisplayString(tag.value), 1))\n }), 128)),\n (_ctx.computedTags.extraTags)\n ? (_openBlock(), _createBlock(\"li\", _hoisted_19, _toDisplayString(_ctx.computedTags.extraTags), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"div\", _hoisted_21, [\n (!_ctx.isSessionLocked)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_22, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"general.modified\")) + \": \", 1),\n _createVNode(\"time\", null, _toDisplayString(_ctx.formattedUpdateDate), 1)\n ]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_23, _toDisplayString(_ctx.sessionLockedByName) + \" \" + _toDisplayString(_ctx.$t(\"isEditingPlant\")), 1)),\n _createVNode(\"span\", _hoisted_24, [\n _createVNode(_component_ElPopover, {\n placement: \"top\",\n trigger: \"hover\",\n title: _ctx.username,\n \"popper-class\": \"el-popover--dark el-popover--slim\"\n }, {\n reference: _withCtx(() => [\n _createVNode(_component_Button, {\n disabled: \"\",\n class: \"p-button-rounded p-button-sm p-button-secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.userInitials), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_ElPopover, {\n placement: \"top\",\n trigger: \"hover\",\n title: _ctx.iconDeviceLabel,\n \"popper-class\": \"el-popover--dark el-popover--slim\"\n }, {\n reference: _withCtx(() => [\n _createVNode(_component_Button, {\n disabled: \"\",\n class: \"p-button-rounded p-button-icon-only p-button-sm p-button-secondary\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_25, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.iconDevice}.svg`)\n ,\n \"aria-label\": _ctx.iconDevice\n }, null, 8, [\"src\", \"aria-label\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\"])\n ])\n ]),\n (_ctx.showOverlay)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_26))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n}","import {\n sleep,\n getPlantLastModifyByIcon,\n getPlantLastModifyByLabel,\n getPlantIconImageUrlsByType,\n getUserInitialsForBubble,\n} from '@/core/utils/utils';\nimport { mapGetters } from 'vuex';\nimport plantsClient from '@/core/services/plants';\nimport { Vue, Options } from 'vue-class-component';\nimport {\n PlantStatus,\n PlantListDTO,\n PlantDetailDTO,\n PlantType,\n PlantTagDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { SET_SELECTED_PLANT } from '@/core/store/action-types';\n\n@Options({\n name: 'PlantCard',\n props: {\n plant: {\n required: true,\n type: Object as () => PlantListDTO,\n },\n },\n emits: ['duplicate', 'duplicate-full', 'edit', 'delete'],\n watch: {\n 'plant.justSynchronized': function (newValue) {\n if (newValue) {\n this.$nextTick(() => {\n this.handleDisplayOverlay();\n });\n }\n },\n },\n computed: {\n ...mapGetters('UI', ['plantEditListEnabled', 'plantDeleteListEnabled']),\n },\n})\nexport default class PlantCard extends Vue {\n plant!: PlantListDTO;\n currentPlant!: PlantDetailDTO;\n plantEditListEnabled!: boolean;\n plantDeleteListEnabled!: boolean;\n\n isLoading = false;\n doShowOverlay = false;\n\n get iconStatus() {\n let iconStatus = 'icon-edit-page';\n\n switch (this.plant.status) {\n case PlantStatus.PROJECT:\n iconStatus = 'icon-edit-page';\n break;\n case PlantStatus.COMMISSIONED:\n iconStatus = 'icon-user';\n break;\n case PlantStatus.INSTALLED:\n iconStatus = 'icon-staff';\n break;\n }\n\n return iconStatus;\n }\n\n get computePlantAddress(): string {\n return `${this.plant.address}, ${this.plant.country}`;\n }\n\n get iconDevice() {\n return getPlantLastModifyByIcon(this.plant.lastModifyByDesktop);\n }\n\n get iconDeviceLabel() {\n return getPlantLastModifyByLabel(this.plant.lastModifyByDesktop);\n }\n\n get computedTags() {\n const tags: { list: PlantTagDTO[]; extraTags: number | string } = {list: [], extraTags: 0};\n if (!this.plant.tags) return tags;\n\n tags.list = this.plant.tags.slice(0, 3);\n const remainderTags = this.plant.tags.length - tags.list.length;\n tags.extraTags = remainderTags > 0 ? `+ ${remainderTags}` : 0;\n\n return tags;\n }\n\n get username() {\n return `${this.plant.lastModifyBy?.name} ${this.plant.lastModifyBy?.surname}`;\n }\n\n get userInitials() {\n return getUserInitialsForBubble(this.plant.lastModifyBy);\n }\n\n get status() {\n if (this.plant.status === undefined) return '';\n return this.$t(`plants.status.${PlantStatus[this.plant.status]}`);\n }\n\n get imageURLs() {\n return getPlantIconImageUrlsByType(\n this.plant.plantTypeIcon,\n this.plant.customIconImageUrl,\n this.plant.plantType\n );\n }\n\n get imageSrcSetURLs() {\n if (this.imageURLs.length <= 1) return this.imageURLs[0];\n return `${this.imageURLs[0]}, ${this.imageURLs[1]} 2x, ${this.imageURLs[2]} 3x`;\n }\n\n get formattedUpdateDate() {\n return this.plant.lastModify?.toLocaleDateString(undefined, {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n });\n }\n\n get favouriteIcon() {\n return require(`@/assets/images/icons/icon-favourite${\n !this.plant.isFavourite ? '-outline' : ''\n }.svg`);\n }\n\n get isSessionLocked() {\n return this.plant.sessionLocked;\n }\n\n get sessionLockedByName() {\n return `${this.plant.sessionLockedBy?.name} ${this.plant.sessionLockedBy?.surname}`;\n }\n\n get showOverlay() {\n return (\n (this.plant.justSynchronized && this.doShowOverlay) ||\n this.isSessionLocked ||\n this.isLoading\n );\n }\n\n get overlayIcon() {\n let icon = '';\n\n if (this.plant.justSynchronized || this.isLoading) {\n icon = 'icon-sync';\n }\n\n return icon;\n }\n\n get showDuplicate() {\n return this.plant.plantType === PlantType.AUTOMATION_PLANT;\n }\n\n handleEdit() {\n this.$emit('edit');\n }\n\n handleDelete() {\n this.$emit('delete');\n }\n\n handleDuplicateCard() {\n this.$emit('duplicate');\n }\n\n handleDuplicateCardFull() {\n this.$emit('duplicate-full');\n }\n\n async handleDisplayOverlay() {\n this.doShowOverlay = true;\n await sleep(2000);\n this.doShowOverlay = false;\n }\n\n async togglePlantFromFavorites() {\n if (!this.plant.desktopId) return;\n try {\n this.isLoading = true;\n this.plant.isFavourite = await plantsClient.togglePlantFromFavorites(\n this.plant.desktopId\n );\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.isLoading = false;\n }\n }\n\n handleGoToPlantDetail() {\n if (this.isSessionLocked) return;\n\n let pageName: String = '';\n switch (this.plant.plantType) {\n case PlantType.AUTOMATION_PLANT:\n pageName = 'page-plant-detail';\n break;\n case PlantType.ENTRANCE_PLANT:\n pageName = 'page-entranceplant-detail';\n }\n\n this.$router.push({\n name: `${pageName}`,\n params: {\n plantId: this.plant.desktopId?.toString() ?? '',\n },\n });\n }\n\n handleOptionsClick(e: MouseEvent) {\n this.$store.dispatch(SET_SELECTED_PLANT, this.plant);\n }\n}\n","import { render } from \"./PlantCard.vue?vue&type=template&id=5cc7c6b4&ts=true\"\nimport script from \"./PlantCard.ts?vue&type=script&lang=ts\"\nexport * from \"./PlantCard.ts?vue&type=script&lang=ts\"\n\nimport \"./PlantCard.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__","/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// \n// Generated using the NSwag toolchain v13.13.2.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\n\nexport class Client {\n private instance: AxiosInstance;\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, instance?: AxiosInstance) {\n this.instance = instance ? instance : axios.create();\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\n }\n\n /**\n * Call eliot patch consencts and welcome (Auth)\n * @return Eliot welcome success\n */\n welcome( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/welcome\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processWelcome(_response);\n });\n }\n\n protected processWelcome(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n if (Array.isArray(resultData200)) {\n result200 = [] as any;\n for (let item of resultData200)\n result200!.push(DefaultRoomDTO.fromJS(item));\n }\n else {\n result200 = null;\n }\n return result200;\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Generic error\", status, _responseText, _headers);\n } else if (status === 401) {\n const _responseText = response.data;\n return throwException(\"Unauthorized\", status, _responseText, _headers);\n } else if (status === 403) {\n const _responseText = response.data;\n return throwException(\"Forbidden\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n}\n\nexport class DefaultRoomDTO implements IDefaultRoomDTO {\n type?: RoomType;\n count?: number;\n icon?: string | undefined;\n label?: string | undefined;\n\n constructor(data?: IDefaultRoomDTO) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.type = _data[\"type\"];\n this.count = _data[\"count\"];\n this.icon = _data[\"icon\"];\n this.label = _data[\"label\"];\n }\n }\n\n static fromJS(data: any): DefaultRoomDTO {\n data = typeof data === 'object' ? data : {};\n let result = new DefaultRoomDTO();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"type\"] = this.type;\n data[\"count\"] = this.count;\n data[\"icon\"] = this.icon;\n data[\"label\"] = this.label;\n return data; \n }\n}\n\nexport interface IDefaultRoomDTO {\n type?: RoomType;\n count?: number;\n icon?: string | undefined;\n label?: string | undefined;\n}\n\n/** 0 = Livingroom 1 = Bathroom 2 = Kitchen 3 = Bedroom 4 = Dining_room 5 = Toilets 6 = Lobby 7 = Corridor 8 = Garage 9 = Outdoor 10 = Home_office 11 = Stairs 12 = Electrical_cabinet 13 = Custom 14 = Unknown */\nexport enum RoomType {\n Livingroom = 0,\n Bathroom = 1,\n Kitchen = 2,\n Bedroom = 3,\n Dining_room = 4,\n Toilets = 5,\n Lobby = 6,\n Corridor = 7,\n Garage = 8,\n Outdoor = 9,\n Home_office = 10,\n Stairs = 11,\n Electrical_cabinet = 12,\n Custom = 13,\n Unknown = 14,\n}\n\nexport class ApiException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isApiException = true;\n\n static isApiException(obj: any): obj is ApiException {\n return obj.isApiException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n if (result !== null && result !== undefined)\n throw result;\n else\n throw new ApiException(message, status, response, headers, null);\n}\n\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\n return obj && obj.isAxiosError === true;\n}","import debounce from 'lodash.debounce';\nimport Paginator from 'primevue/paginator';\nimport TieredMenu from 'primevue/tieredmenu';\nimport plantsClient from '@/core/services/plants';\nimport { Vue, Options } from 'vue-class-component';\nimport {\n PlantStatus,\n IPlantTagDTO,\n PlantListDTO,\n PlantsOrderBy,\n PlantType,\n} from '@/../client-generator/generated-clients/plants';\nimport PlantCardV2 from './PlantCard/PlantCard.vue';\nimport welcomeClient from '@/core/services/welcome-service';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport DialogPlantCreate from '../DialogPlantCreate/DialogPlantCreate.vue';\nimport DialogPlantDuplicate from '../DialogPlantDuplicate/DialogPlantDuplicate.vue';\nimport DialogConfirmDeletePlant from '@/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.vue';\nimport i18n from '@/core/translations/i18n';\n\nconst tagAllKey = 'tmp-fe-tag-all-key';\n\nenum PlantsSelectionCriteria {\n all = 'all',\n project = 'project',\n installed = 'installed',\n favourites = 'favourites',\n commissioned = 'commissioned',\n}\n\ntype PageChangeEvent = {\n rows: number;\n page: number;\n first: number;\n pageCount: number;\n};\n\nconst allTag = {\n value: i18n.global.t('AppResource.All'),\n key: tagAllKey,\n isImportant: true,\n};\n\n@Options({\n name: 'PlantsList',\n components: {\n Paginator,\n TieredMenu,\n PlantCardV2,\n DialogPlantCreate,\n DialogPlantDuplicate,\n DialogConfirmDeletePlant,\n },\n watch: {\n orderBy() {\n this.fetchPlants(true);\n },\n },\n})\nexport default class PlantsList extends Vue {\n isVisibleCreateDialog = false;\n isPlantDuplicateDialogVisible = false;\n\n isEdit = false;\n pageSize = 12;\n pageNumber = 0;\n searchTerm = '';\n searchTermFinal = '';\n filterBy: IPlantTagDTO[] = [];\n selectedFilterBy: any = allTag.key;\n selectedPlantId: number | null = null;\n selectedPlantType: PlantType | null = null;\n orderBy: PlantsOrderBy = PlantsOrderBy.MODIFIED_DATE;\n\n myTags: IPlantTagDTO[] = [];\n\n plantsSelectionCriteria = PlantsSelectionCriteria.all;\n\n totalPlants: number = 0;\n plants: PlantListDTO[] = [];\n plantUnderDuplication: PlantListDTO | null = {} as any;\n\n isPausedFetchupdate = false;\n intervalFetchUpdate: any | null = null;\n\n isVisibleDeletePlantConfirm = false;\n tempPlant: PlantListDTO | null = null;\n\n wasSearchExecuted = false;\n\n get selectedPlants() {\n let filteredPlants = [];\n\n switch (this.plantsSelectionCriteria) {\n case PlantsSelectionCriteria.all:\n filteredPlants = this.plants;\n break;\n\n case PlantsSelectionCriteria.favourites:\n filteredPlants = this.plants.filter((p) => p.isFavourite === true);\n break;\n\n case PlantsSelectionCriteria.installed:\n filteredPlants = this.plants.filter(\n (p) => p.status === PlantStatus.INSTALLED\n );\n break;\n\n case PlantsSelectionCriteria.project:\n filteredPlants = this.plants.filter(\n (p) => p.status === PlantStatus.PROJECT\n );\n break;\n\n case PlantsSelectionCriteria.commissioned:\n filteredPlants = this.plants.filter(\n (p) => p.status === PlantStatus.COMMISSIONED\n );\n break;\n }\n\n return filteredPlants;\n }\n\n get hasPlants() {\n return this.selectedPlants.length > 0;\n }\n\n get menuItems() {\n return [\n {\n selectionCriteria: PlantsSelectionCriteria.all,\n label: this.$t('AppResource.Plants'),\n icon: 'icon-all-plants',\n },\n {\n selectionCriteria: PlantsSelectionCriteria.favourites,\n label: this.$t('general.favourites'),\n icon: 'icon-star',\n },\n ];\n }\n\n get filterByOptions() {\n const opts = [allTag, ...this.myTags].map((tag) => ({\n value: tag.key,\n label: tag.value,\n }));\n return opts;\n }\n\n get orderByOptions() {\n return [\n {\n label: this.$t('plants.recentlyModified'),\n value: PlantsOrderBy.MODIFIED_DATE,\n },\n {\n label: this.$t('plants.plantName'),\n value: PlantsOrderBy.PLANT_NAME,\n },\n ];\n }\n\n get isLoading() {\n return this.$store.state.isLoading;\n }\n\n get plantToDeleteName() {\n if (this.tempPlant) {\n return this.tempPlant.name;\n }\n\n return '';\n }\n\n created() {\n this.handleSearch = debounce(this.handleSearch, 500);\n }\n\n async mounted() {\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await welcomeClient.welcome();\n } catch {\n console.error('welcome failed');\n }\n\n await this.fetchPlants();\n await this.fetchPlantTags();\n this.$store.dispatch(SET_APP_LOADING, false);\n\n this.registerPeriodicFetchUpdates();\n }\n\n beforeUnmount() {\n this.unregisterPeriodicFetchUpdates();\n }\n\n async fetchPlants(activateLoader = false) {\n if (this.wasSearchExecuted) {\n this.wasSearchExecuted = false;\n }\n\n try {\n if (activateLoader) this.$store.dispatch(SET_APP_LOADING, true);\n let filterTagKeys: string[] = [];\n\n if (this.filterBy && this.filterBy.length > 0) {\n if (!this.filterBy.find((x) => x.key === tagAllKey)) {\n filterTagKeys = this.filterBy.map((x) => x.key ?? '');\n }\n }\n\n const plantsResult = await plantsClient.plantsList(\n this.pageNumber,\n this.pageSize,\n this.orderBy,\n this.orderBy == PlantsOrderBy.PLANT_NAME,\n filterTagKeys,\n this.searchTermFinal\n );\n\n this.plants = plantsResult.data as PlantListDTO[];\n this.totalPlants = plantsResult.total as number;\n } catch (error) {\n console.log(error);\n } finally {\n if (activateLoader) this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n\n async fetchPlantTags() {\n try {\n this.myTags = await plantsClient.tagsList();\n } catch (error) {\n console.log(error);\n }\n }\n\n registerPeriodicFetchUpdates() {\n this.intervalFetchUpdate = setTimeout(async () => {\n await this.doFetchUpdatesInternal();\n this.registerPeriodicFetchUpdates();\n }, this.$config.PLANT_REFRESH_INTERVAL);\n }\n\n private async doFetchUpdatesInternal() {\n if (this.isPausedFetchupdate) {\n return;\n }\n\n await this.fetchPlants();\n this.fetchPlantTags();\n }\n\n unregisterPeriodicFetchUpdates() {\n clearTimeout(this.intervalFetchUpdate);\n }\n\n toggleCreateDialog(isNew = true) {\n if (isNew) {\n this.isEdit = false;\n this.selectedPlantId = null;\n }\n this.isVisibleCreateDialog = !this.isVisibleCreateDialog;\n }\n\n handlePageChange(event: PageChangeEvent) {\n this.pageNumber = event.page;\n this.fetchPlants(true);\n }\n\n async handleTabClick(event: { index: number }) {\n this.setSelectionCriteria(\n event.index === 0\n ? PlantsSelectionCriteria.all\n : PlantsSelectionCriteria.favourites\n );\n this.pageNumber = 0;\n await this.fetchPlants(true);\n }\n\n async handleSearch(event: Event) {\n const target = event.target as HTMLInputElement;\n\n if (target) {\n this.searchTermFinal = target.value;\n await this.fetchPlants(true);\n this.wasSearchExecuted = true;\n }\n }\n\n onFilterByChange(data: { value: string }) {\n const tag = [allTag, ...this.myTags].find((t) => t.key === data.value);\n if (!tag) {\n this.filterBy = [];\n return;\n }\n\n this.filterBy = [tag];\n this.fetchPlants(true);\n this.selectedFilterBy = tag.key!;\n }\n\n setSelectionCriteria(selectionCriteria: PlantsSelectionCriteria) {\n this.plantsSelectionCriteria = selectionCriteria;\n }\n\n handleEditPlant(plant: PlantListDTO) {\n this.selectedPlantId = plant.desktopId ?? null;\n this.selectedPlantType = plant.plantType ?? null;\n this.isEdit = true;\n this.toggleCreateDialog(false);\n }\n\n toggleDeletePlantConfirm(plant: PlantListDTO) {\n this.tempPlant = plant;\n this.isVisibleDeletePlantConfirm = !this.isVisibleDeletePlantConfirm;\n }\n\n async handleDeletePlant() {\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await plantsClient.plantDELETE(this.tempPlant?.desktopId as number);\n this.$router.push({\n name: 'page-plants-hub',\n });\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n this.tempPlant = null;\n this.refreshList();\n }\n }\n\n async handleDuplicatePlant(plant: PlantListDTO) {\n this.plantUnderDuplication = plant;\n this.isPlantDuplicateDialogVisible = true;\n }\n\n handleDuplicatePlantFull(plant: PlantListDTO) {\n alert(`Duplicate full: ${plant.name}`);\n }\n\n handleHideDialog() {\n this.isPlantDuplicateDialogVisible = false;\n }\n\n async refreshList() {\n this.$store.dispatch(SET_APP_LOADING, true);\n await this.fetchPlants();\n this.$router.push({\n name: 'page-plants-hub',\n });\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n}\n","import { Client } from '@/../client-generator/generated-clients/welcome';\nimport axiosInstance from '../utils/axios-instance';\n\nconst welcomeClient = new Client('', axiosInstance);\n\nexport default welcomeClient;\n","import { render } from \"./PlantsList.vue?vue&type=template&id=6d0f4090&ts=true\"\nimport script from \"./PlantsList.ts?vue&type=script&lang=ts\"\nexport * from \"./PlantsList.ts?vue&type=script&lang=ts\"\n\nimport \"./PlantsList.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./DialogEntrancePlantCreateStep5.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-actuator-2.eda64991.svg\";","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-4\" }\nconst _hoisted_2 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_3 = {\n key: 0,\n id: \"dialog-plant-duplicate-spinner\"\n}\nconst _hoisted_4 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_5 = { class: \"p-field mb-4\" }\nconst _hoisted_6 = { class: \"d-block mb-2 p-field-label\" }\nconst _hoisted_7 = { class: \"mr-3\" }\nconst _hoisted_8 = { class: \"p-field\" }\nconst _hoisted_9 = { class: \"p-field-label\" }\nconst _hoisted_10 = { class: \"dialog-custom__footer\" }\nconst _hoisted_11 = {\n key: 1,\n class: \"app-loader app-loader--contextual\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")\n const _component_NumberButtons = _resolveComponent(\"NumberButtons\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n modal: true,\n showHeader: false,\n onHide: _ctx.doHideDialog,\n id: \"plant-duplicate-dialog\",\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.isDialogVisible = $event)),\n class: \"dialog-custom dialog-plant-duplicate\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1)\n ]),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"plantDialogDuplicate.howManyCopies\")), 1),\n _createVNode(_component_NumberButtons, {\n modelValue: _ctx.plantsCount,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.plantsCount = $event)),\n \"disable-decrease\": _ctx.plantsCount === 1\n }, null, 8, [\"modelValue\", \"disable-decrease\"])\n ]),\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.$t(\"plantsList.duplicateDialog.inputLabel\")), 1),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plantsToCreate, (plant, idx) => {\n return (_openBlock(), _createBlock(_component_InputText, {\n type: \"text\",\n ref: \"nameInput\",\n modelValue: plant.name,\n \"onUpdate:modelValue\": ($event: any) => (plant.name = $event),\n key: 'plant_ ' + idx,\n class: [\"mt-2 mb-4 w-100\", {\n 'input-error': !!plant.isInvalid,\n }],\n onInput: ($event: any) => (_ctx.handleNameChange(plant))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onInput\", \"class\"]))\n }), 128))\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleHideDialog,\n class: \"p-button-text p-button-secondary text-uppercase mr-2\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.doConfirm,\n disabled: _ctx.isConfirmDisabled,\n class: \"p-button-rounded p-button--m\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ]),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"onHide\", \"visible\"]))\n}","import { PropType } from 'vue';\nimport debounce from 'lodash.debounce';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n PlantDTO,\n PlantListDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport plantsClient from '../../../../core/services/plants';\nimport {\n PlantEntityType,\n PlantFlatEntityDTO,\n} from '@/../client-generator/generated-clients/configurations';\nimport { NAME_VALIDATION_DEBOUNCE_TIME } from '@/core/utils/utils';\nimport { SET_APP_LOADING } from '../../../../core/store/action-types';\nimport { NamingService, ValidablePlant } from '@/core/services/naming.service';\nimport NumberButtons from '../../../components/NumberButtons/NumberButtons.vue';\n\n@Options({\n name: 'DialogPlantDuplicate',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n plant: {\n type: Object as PropType,\n required: true,\n },\n },\n watch: {\n isVisible: async function (newValue) {\n this.isDialogVisible = newValue;\n\n if (!this.plant.desktopId || !this.isDialogVisible) {\n this.dispose();\n return;\n }\n\n await this.doFirstPrefetch();\n await this.initializeFirstName();\n },\n plantsCount: async function (newValue, prevValue) {\n await this.suggestNameIfNeeded(prevValue, newValue);\n },\n },\n emits: ['hide-dialog', 'plant-edited', 'fetch-plants'],\n components: {\n NumberButtons,\n },\n})\nexport default class DialogPlantCreate extends Vue {\n plantsCount = 1;\n isLoading = false;\n isVisible!: boolean;\n plant!: PlantListDTO;\n isDialogVisible = false;\n entitiesPrefetchDone = false;\n\n plantsToCreate: ValidablePlant[] = [];\n\n get dialogTitle() {\n return `${this.$t('AppResource.PlantDuplication')}: ${ this.plant.name}`;\n }\n\n get isConfirmDisabled(): boolean {\n const allValidNames = this.plantsToCreate.every((p) => !p.isInvalid);\n console.log(allValidNames);\n return !allValidNames;\n }\n\n async doConfirm() {\n this.$emit('hide-dialog');\n try {\n this.$store.dispatch(SET_APP_LOADING, true);\n await plantsClient.duplicatePlant(\n +this.plant.desktopId!,\n this.plantsToCreate.map((p) => p.name) as string[]\n );\n this.$toast.add({\n severity: 'success',\n summary: this.$t('plantDialogDuplicate.success'),\n closable: true,\n life: 3000,\n });\n } catch (e) {\n console.log('Error duplicating plant', e);\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n this.$emit('fetch-plants');\n }\n }\n\n mounted() {\n this.handleNameChange = debounce(\n this.handleNameChange,\n NAME_VALIDATION_DEBOUNCE_TIME\n );\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n async handleNameChange() {\n // validate the cloned list\n this.plantsToCreate = [\n ...NamingService.validatePlantAgainstList(this.plantsToCreate),\n ];\n }\n\n // DO NOT DELETE ME\n // I'm used in the watcher\n private dispose() {\n NamingService.flushCache();\n this.entitiesPrefetchDone = false;\n this.plantsCount = 1;\n this.plantsToCreate = [];\n }\n\n // DO NOT DELETE ME\n // I'm used in the watcher\n private async doFirstPrefetch() {\n this.isLoading = true;\n await NamingService.prefetchFlatEntities(\n +this.plant.desktopId!,\n PlantEntityType.PLANT\n );\n this.entitiesPrefetchDone = true;\n this.isLoading = false;\n }\n\n // DO NOT DELETE ME\n // I'm used in the watcher\n private async initializeFirstName() {\n this.isLoading = true;\n await this.suggestNameIfNeeded(0, 0);\n this.isLoading = false;\n console.log(this.plantsToCreate);\n return;\n }\n\n // DO NOT DELETE ME\n // I'm used in the watcher\n private async suggestNameIfNeeded(prevValue: number, currValue: number) {\n if (currValue === 0) {\n this.plantsCount = 1;\n this.plantsToCreate = [\n {\n name: await NamingService.suggestNextValidEntityName({\n eType: PlantEntityType.PLANT,\n plantId: +this.plant.desktopId!,\n metadata: { plantSourceName: this.plant.name },\n }),\n },\n ];\n this.updateNamingServiceAdditionalEntities();\n return;\n }\n\n if (prevValue > currValue) {\n this.plantsToCreate.pop();\n this.updateNamingServiceAdditionalEntities();\n return;\n }\n\n this.plantsToCreate.push({\n name: await NamingService.suggestNextValidEntityName({\n eType: PlantEntityType.PLANT,\n plantId: +this.plant.desktopId!,\n metadata: { plantSourceName: this.plant.name },\n }),\n });\n\n this.updateNamingServiceAdditionalEntities();\n }\n\n private updateNamingServiceAdditionalEntities() {\n NamingService.additionalEntities = this.plantsToCreate.map(\n (p, id) =>\n new PlantFlatEntityDTO({\n id: id.toString(),\n currentName: p.name,\n })\n );\n }\n}\n","import { render } from \"./DialogPlantDuplicate.vue?vue&type=template&id=24289664&ts=true\"\nimport script from \"./DialogPlantDuplicate.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantDuplicate.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogPlantDuplicate.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-alert-hight-outline.2c606bba.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!./DialogEntrancePlantCreateStep4.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-socket.27818ce0.svg\";","module.exports = __webpack_public_path__ + \"img/icon-sync.504e71f4.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 } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_2 = { class: \"fs-18 text-gray\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 330px)\"} }\nconst _hoisted_5 = {\n class: \"p-selectbutton--blocks p-2\",\n style: {\"--cols\":\"6\"}\n}\nconst _hoisted_6 = { class: \"bt-icon text-gray\" }\nconst _hoisted_7 = { class: \"mb-3\" }\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_NumberButtons = _resolveComponent(\"NumberButtons\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", {\n \"data-plant\": _ctx.$attrs.plantId,\n class: \"dialog-custom__header\"\n }, [\n _createVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.stepTitle), 1),\n _createVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.stepSubTitle), 1)\n ], 8, [\"data-plant\"]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.roomTypes, (roomType) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: roomType.type,\n class: \"p-button text-primary\"\n }, [\n _createVNode(\"span\", _hoisted_6, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getRoomIcon(roomType.type)}.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"p\", _hoisted_7, _toDisplayString(roomType.label), 1),\n _createVNode(_component_NumberButtons, {\n modelValue: roomType.count,\n \"onUpdate:modelValue\": ($event: any) => (roomType.count = $event),\n onInput: ($event: any) => (_ctx.updatePlantRoom(roomType))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onInput\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n PlantDetailDTO,\n PlantDTO,\n PlantRoomCount,\n RoomDTO,\n RoomType,\n} from '@/../client-generator/generated-clients/plants';\nimport { getRoomIconFromType } from '@/core/utils/utils';\nimport configurationsClient from '@/core/services/configurations-service';\nimport { DefaultRoomDTO } from '@/../client-generator/generated-clients/configurations';\n\nimport NumberButtons from '@/views/components/NumberButtons/NumberButtons.vue';\n\n@Options({\n name: 'DialogPlantCreateStep3',\n props: {\n plant: {\n required: true,\n type: Object as () => PlantDTO,\n },\n isInEditMode: {\n type: Boolean,\n },\n },\n components: {\n NumberButtons,\n },\n emits: ['is-loading'],\n})\nexport default class DialogPlantCreateStep3 extends Vue {\n plant!: PlantDTO;\n roomTypes: DefaultRoomDTO[] = [];\n getRoomIcon = getRoomIconFromType;\n isInEditMode!: boolean;\n\n get stepTitle() {\n if (this.isInEditMode) return this.$t('AppResource.AddARoom');\n return this.$t('AppResource.CreateStructure');\n }\n get stepSubTitle() {\n if (this.isInEditMode) return this.$t('AppResource.ChooseRoomToAdd');\n return this.$t('AppResource.SelectRoomsText');\n }\n\n get theRooms() {\n return this.isInEditMode\n ? (this.plant as PlantDetailDTO).rooms\n : (this.plant as PlantDTO).roomsCounts;\n }\n\n async created() {\n this.fetchRooms();\n }\n\n async fetchRooms() {\n this.$emit('is-loading', true);\n try {\n this.roomTypes = await configurationsClient.defaultRoomsList();\n this.roomTypes.forEach(r => r.label = this.$t(`AppResource.${RoomType[r.type!]}`))\n if (this.isInEditMode) this.roomTypes.forEach((rt) => (rt.count = 0));\n const theRooms = this.plant.roomsCounts;\n if (!theRooms || (theRooms && theRooms.length === 0)) {\n (this.plant as PlantDTO).roomsCounts = this.roomTypes.map(\n (rt) =>\n ({\n type: rt.type!,\n count: rt.count!,\n } as PlantRoomCount)\n );\n }\n\n this.roomTypes = this.roomTypes.map(\n (rt) =>\n ({\n ...rt,\n count: (() => {\n if (!this.isInEditMode) {\n const plantRoomCount = theRooms?.find(\n (rc) => rc.type === rt.type\n );\n if (plantRoomCount) {\n return plantRoomCount.count;\n }\n return rt.count;\n }\n return 0;\n })(),\n } as DefaultRoomDTO)\n );\n } catch (error) {\n console.log(error);\n } finally {\n this.$emit('is-loading', false);\n }\n }\n\n updatePlantRoom(room: DefaultRoomDTO) {\n const plantRoom = this.plant.roomsCounts?.find(\n (rc) => rc.type === room.type\n );\n\n if (!plantRoom) {\n console.log('Plant room not found');\n return;\n }\n\n plantRoom.count = room.count;\n plantRoom.label = room.label;\n }\n}\n","import { render } from \"./DialogPlantCreateStep3.vue?vue&type=template&id=467fb4cd&ts=true\"\nimport script from \"./DialogPlantCreateStep3.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantCreateStep3.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, withModifiers as _withModifiers, 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 = { class: \"p-field\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_6 = { 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_InputText = _resolveComponent(\"InputText\")\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[4] || (_cache[4] = ($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.$t(\"AppResource.PlantDeletion\")), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(\"plantDetail.deletePlantConfirm\", {\n plantName: _ctx.plantName,\n code: _ctx.codeToCheck,\n })), 1),\n _createVNode(\"form\", {\n class: \"w-50 mb-4\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n maxlength: \"6\",\n modelValue: _ctx.theCode,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.theCode = $event)),\n onPaste: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"]))\n }, null, 8, [\"modelValue\"])\n ])\n ], 32),\n _hoisted_5,\n _createVNode(\"div\", _hoisted_6, [\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 disabled: _ctx.isConfirmDisabled\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\nimport { getRandomInt } from '../../../core/utils/utils';\n\n@Options({\n name: 'DialogConfirmDeletePlant',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n plantName: {\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 DialogConfirmDeletePlant extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n codeToCheck = '';\n theCode = '';\n\n get isConfirmDisabled() {\n return this.theCode !== this.codeToCheck;\n }\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n this.resetCodes();\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n\n this.$nextTick(() => {\n this.resetCodes();\n });\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n\n resetCodes() {\n this.theCode = '';\n let randStr = ``;\n for (let i = 0; i < 4; i++) randStr += getRandomInt(0, 9, true);\n this.codeToCheck = randStr;\n }\n}\n","import { render } from \"./DialogConfirmDeletePlant.vue?vue&type=template&id=090d81b2&ts=true\"\nimport script from \"./DialogConfirmDeletePlant.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDeletePlant.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/icon-diningroom.492ece47.svg\";","module.exports = __webpack_public_path__ + \"img/icon-grid.d7beaf2c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-blueprint.ef378b33.svg\";","module.exports = __webpack_public_path__ + \"img/icon-round-outline.3cd1592a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-confirm-outline.dba5a9f6.svg\";","var map = {\n\t\"./icon-actuator-2.svg\": \"46f4\",\n\t\"./icon-add-circle-outline.svg\": \"a2b6\",\n\t\"./icon-add-outline.svg\": \"94b1\",\n\t\"./icon-add.svg\": \"605f\",\n\t\"./icon-alert-hight-full.svg\": \"0450\",\n\t\"./icon-alert-hight-outline.svg\": \"4a7c\",\n\t\"./icon-alert-medium-full.svg\": \"df0f\",\n\t\"./icon-alert-medium-outline.svg\": \"8c5c\",\n\t\"./icon-all-plants.svg\": \"15c1\",\n\t\"./icon-arrows-back.svg\": \"6b1a\",\n\t\"./icon-arrows-down.svg\": \"7526\",\n\t\"./icon-arrows-next.svg\": \"8cbd\",\n\t\"./icon-arrows-up.svg\": \"764e\",\n\t\"./icon-assistant.svg\": \"8049\",\n\t\"./icon-automation-2.svg\": \"1f93\",\n\t\"./icon-automation.svg\": \"33d3\",\n\t\"./icon-ban-light.svg\": \"cba1\",\n\t\"./icon-bathroom.svg\": \"3a90\",\n\t\"./icon-bedroom.svg\": \"2dc5\",\n\t\"./icon-blind.svg\": \"3343\",\n\t\"./icon-blueprint.svg\": \"50da\",\n\t\"./icon-book.svg\": \"a24e\",\n\t\"./icon-checkbox-disabled.svg\": \"7a74\",\n\t\"./icon-close.svg\": \"9f16\",\n\t\"./icon-colored-light.svg\": \"89d8\",\n\t\"./icon-command.svg\": \"df05\",\n\t\"./icon-confirm-full.svg\": \"754d\",\n\t\"./icon-confirm-outline.svg\": \"56b2\",\n\t\"./icon-connected-server.svg\": \"a17c\",\n\t\"./icon-corridor.svg\": \"b9ef\",\n\t\"./icon-datetime.svg\": \"1496\",\n\t\"./icon-delete.svg\": \"94ba\",\n\t\"./icon-desktop.svg\": \"983e\",\n\t\"./icon-device.svg\": \"03b8\",\n\t\"./icon-dimmer-dmx.svg\": \"7a49\",\n\t\"./icon-diningroom.svg\": \"501c\",\n\t\"./icon-done.svg\": \"1e96\",\n\t\"./icon-duplication-all.svg\": \"b32a\",\n\t\"./icon-duplication.svg\": \"3a03\",\n\t\"./icon-edit-page.svg\": \"d0d6\",\n\t\"./icon-edit.svg\": \"1eee\",\n\t\"./icon-electrical-cabinet.svg\": \"2aa1\",\n\t\"./icon-ellipsis-v.svg\": \"137d\",\n\t\"./icon-email.svg\": \"f1cb\",\n\t\"./icon-energy.svg\": \"b05d\",\n\t\"./icon-entrance.svg\": \"b000\",\n\t\"./icon-expand-menu.svg\": \"420d\",\n\t\"./icon-failed-full.svg\": \"a6b2\",\n\t\"./icon-failed-outline.svg\": \"78b2\",\n\t\"./icon-fancoil.svg\": \"7b42\",\n\t\"./icon-faq.svg\": \"3437\",\n\t\"./icon-favourite-outline.svg\": \"efba\",\n\t\"./icon-favourite.svg\": \"ef9e\",\n\t\"./icon-filter.svg\": \"0931\",\n\t\"./icon-filters.svg\": \"f5b0\",\n\t\"./icon-garage.svg\": \"e25a\",\n\t\"./icon-garden.svg\": \"18bc\",\n\t\"./icon-general-light.svg\": \"8bae\",\n\t\"./icon-general-view.svg\": \"1cb3\",\n\t\"./icon-grid.svg\": \"5084\",\n\t\"./icon-group-lights.svg\": \"c7c0\",\n\t\"./icon-import.svg\": \"467b\",\n\t\"./icon-kitchen.svg\": \"f795\",\n\t\"./icon-laundry.svg\": \"26cc\",\n\t\"./icon-less.svg\": \"1fe0\",\n\t\"./icon-light.svg\": \"2967\",\n\t\"./icon-list.svg\": \"9a3b\",\n\t\"./icon-livingroom.svg\": \"2d2a\",\n\t\"./icon-loading.svg\": \"e315\",\n\t\"./icon-lock.svg\": \"a1b1\",\n\t\"./icon-mail.svg\": \"aaa7\",\n\t\"./icon-mobile-device.svg\": \"fcc4\",\n\t\"./icon-music-player.svg\": \"2a2b\",\n\t\"./icon-mx-server.svg\": \"eba1\",\n\t\"./icon-network.svg\": \"e331\",\n\t\"./icon-no-view.svg\": \"c6d8\",\n\t\"./icon-notification.svg\": \"dce2\",\n\t\"./icon-office.svg\": \"790c\",\n\t\"./icon-outdoor.svg\": \"6f2c\",\n\t\"./icon-paperclip.svg\": \"fa60\",\n\t\"./icon-plan-duplicate.svg\": \"fffe\",\n\t\"./icon-plants.svg\": \"f643\",\n\t\"./icon-player.svg\": \"c733\",\n\t\"./icon-plus-outline.svg\": \"1212\",\n\t\"./icon-profile.svg\": \"4fab\",\n\t\"./icon-push-notification.svg\": \"6d4c\",\n\t\"./icon-refresh.svg\": \"1af7\",\n\t\"./icon-remove-hand-02.svg\": \"797b\",\n\t\"./icon-remove-outline.svg\": \"79ab\",\n\t\"./icon-reorder-drag-and-drop.svg\": \"fcb4\",\n\t\"./icon-room.svg\": \"a24d\",\n\t\"./icon-round-outline.svg\": \"5115\",\n\t\"./icon-round.svg\": \"0b54\",\n\t\"./icon-scan-qr-code-02.svg\": \"b205\",\n\t\"./icon-scene.svg\": \"c4c4\",\n\t\"./icon-search.svg\": \"6a1a\",\n\t\"./icon-security-2.svg\": \"2f55\",\n\t\"./icon-security.svg\": \"a13f\",\n\t\"./icon-server-mhs-1.svg\": \"63ec\",\n\t\"./icon-setting.svg\": \"e942\",\n\t\"./icon-shutter.svg\": \"1e5c\",\n\t\"./icon-socket.svg\": \"4e1f\",\n\t\"./icon-staff.svg\": \"8dec\",\n\t\"./icon-staircase.svg\": \"a1a2\",\n\t\"./icon-star.svg\": \"0c24\",\n\t\"./icon-start-plan.svg\": \"f9fc\",\n\t\"./icon-sync.svg\": \"4e9a\",\n\t\"./icon-thermo.svg\": \"dc59\",\n\t\"./icon-thermostat.svg\": \"a231\",\n\t\"./icon-toilets.svg\": \"01b6\",\n\t\"./icon-towel-rail.svg\": \"2a06\",\n\t\"./icon-user.svg\": \"a26a\",\n\t\"./icon-weather.svg\": \"e6c0\",\n\t\"./icon-wifi-01-1.svg\": \"c297\",\n\t\"./icon-wifi.svg\": \"f077\",\n\t\"./icon-wizard-assegna-attuatore.svg\": \"6a9d\",\n\t\"./icon-xmeter.svg\": \"0519\",\n\t\"./icon_command_day.svg\": \"78b0\",\n\t\"./icon_command_enter.svg\": \"afda\",\n\t\"./icon_command_exit.svg\": \"c34e\",\n\t\"./icon_command_night.svg\": \"0ec0\",\n\t\"./icon_parameters_and_settings_folder_2.svg\": \"14b1\"\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 = \"5981\";","module.exports = __webpack_public_path__ + \"img/ImagesMX-300EOS.2eddd116.png\";","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","module.exports = __webpack_public_path__ + \"img/icon-server-mhs-1.ea1fa748.svg\";","module.exports = __webpack_public_path__ + \"img/icon-search.9e4d57d8.svg\";","module.exports = __webpack_public_path__ + \"img/icon-wizard-assegna-attuatore.ff6687dc.svg\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-back.36b433eb.svg\";","module.exports = __webpack_public_path__ + \"img/icon-push-notification.b4cc549d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-outdoor.5771a8e2.svg\";","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var map = {\n\t\"./icon-favourite-outline.svg\": \"efba\",\n\t\"./icon-favourite.svg\": \"ef9e\"\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 = \"7235\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-down.d33a9aed.svg\";","module.exports = __webpack_public_path__ + \"img/icon-confirm-full.e9a56b47.svg\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-up.78952d2b.svg\";","module.exports = __webpack_public_path__ + \"img/icon_command_day.6344b347.svg\";","module.exports = __webpack_public_path__ + \"img/icon-failed-outline.bd9eeab3.svg\";","import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex align-items-center\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = { class: \"ml-2\" }\nconst _hoisted_4 = { class: \"ml-auto mr-2\" }\nconst _hoisted_5 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_6 = { class: \"ml-2\" }\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--primary\" }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"title\", {}, () => [\n _createVNode(\"h3\", _hoisted_2, [\n _createVNode(_component_InlineSvgScoped, { src: _ctx.titleIcon }, null, 8, [\"src\"]),\n _createVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.title), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"actionButton\", {}, () => [\n (_ctx.showActionButton)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n disabled: _ctx.disabled,\n onClick: _ctx.onActionButtonClick,\n class: \"p-button-rounded p-button-outlined\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_5, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-plus-outline.svg`)\n ,\n \"aria-label\": \"icon-grid\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.actionButtonLabel), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 1\n }))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'CardContainer',\n components: {},\n props: {\n titleIcon: {\n type: String,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n showActionButton: {\n type: Boolean,\n required: false,\n },\n actionButtonLabel: {\n type: String,\n required: false,\n },\n disabled: {\n type:Boolean,\n required: false, \n default: false\n\n }\n },\n watch: {},\n emits: ['on-Action-Button-Click']\n})\n\nexport default class CardContainer extends Vue {\n titleIcon!: string;\n title!: string;\n showActionButton!: boolean;\n actionButtonLabel!: string;\n disabled!:boolean;\n\n\n\n onActionButtonClick () {\n this.$emit('on-Action-Button-Click');\n }\n}\n","import { render } from \"./CardContainer.vue?vue&type=template&id=5aab2bae&ts=true\"\nimport script from \"./CardContainer.ts?vue&type=script&lang=ts\"\nexport * from \"./CardContainer.ts?vue&type=script&lang=ts\"\n\nimport \"./CardContainer.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-office.87b0bb72.svg\";","module.exports = __webpack_public_path__ + \"img/icon-remove-hand-02.b3013ce2.svg\";","module.exports = __webpack_public_path__ + \"img/icon-dimmer-dmx.6b6ebf5a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-checkbox-disabled.e73b0c58.svg\";","module.exports = __webpack_public_path__ + \"img/icon-fancoil.4c6f40ef.svg\";","module.exports = __webpack_public_path__ + \"img/icon-assistant.fe90f648.svg\";","module.exports = __webpack_public_path__ + \"img/icon-check.ea86f165.svg\";","module.exports = __webpack_public_path__ + \"img/icon-colored-light.ac91883d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-general-light.5d647674.svg\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-next.74ae035b.svg\";","module.exports = __webpack_public_path__ + \"img/icon-staff.6521f768.svg\";","module.exports = __webpack_public_path__ + \"img/icon-add-outline.c9d7b603.svg\";","module.exports = __webpack_public_path__ + \"img/icon-delete.07c02c83.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!./PlantsList.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-desktop.71f04af6.svg\";","module.exports = __webpack_public_path__ + \"img/icon-list.bef321b2.svg\";","module.exports = __webpack_public_path__ + \"img/ImagesMHS1.905aa28c.png\";","module.exports = __webpack_public_path__ + \"img/icon-close.87d20c21.svg\";","module.exports = __webpack_public_path__ + \"img/icon-security.348daf12.svg\";","module.exports = __webpack_public_path__ + \"img/icon-connected-server.8dcc623c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-staircase.35c161c5.svg\";","module.exports = __webpack_public_path__ + \"img/icon-lock.8a711cb2.svg\";","module.exports = __webpack_public_path__ + \"img/icon-thermostat.dd8c3261.svg\";","module.exports = __webpack_public_path__ + \"img/icon-room.0000d9fd.svg\";","module.exports = __webpack_public_path__ + \"img/icon-book.356ba9c9.svg\";","module.exports = __webpack_public_path__ + \"img/icon-user.5b7b44ae.svg\";","module.exports = __webpack_public_path__ + \"img/icon-add-circle-outline.37b9f1a7.svg\";","module.exports = __webpack_public_path__ + \"img/icon-failed-full.110550e8.svg\";","module.exports = __webpack_public_path__ + \"img/icon_command_enter.b137fbf5.svg\";","module.exports = __webpack_public_path__ + \"img/icon-entrance.e9394a23.svg\";","module.exports = __webpack_public_path__ + \"img/icon-energy.6218eb17.svg\";","module.exports = __webpack_public_path__ + \"img/icon-scan-qr-code-02.02353839.svg\";","module.exports = __webpack_public_path__ + \"img/icon-duplication-all.2082cf06.svg\";","module.exports = __webpack_public_path__ + \"img/icon-corridor.bfa294ac.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!./WizardAutomationPlant.scss?vue&type=style&index=0&lang=scss\"","var global = require('../internals/global');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar hex = /^[+-]?0[Xx]/;\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(String(string));\n return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));\n} : $parseInt;\n","module.exports = __webpack_public_path__ + \"img/icon-wifi-01-1.c4c4f56a.svg\";","module.exports = __webpack_public_path__ + \"img/icon_command_exit.b2fa1a4e.svg\";","module.exports = __webpack_public_path__ + \"img/icon-scene.ac54a2af.svg\";","module.exports = __webpack_public_path__ + \"img/icon-no-view.d400a52f.svg\";","module.exports = __webpack_public_path__ + \"img/icon-player.f26ab061.svg\";","module.exports = __webpack_public_path__ + \"img/icon-group-lights.e1c60001.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!./DialogPlantCreate.scss?vue&type=style&index=0&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-0849788d\")\n\n_pushScopeId(\"data-v-0849788d\")\nconst _hoisted_1 = {\n key: 0,\n class: \"badge\"\n}\nconst _hoisted_2 = { class: \"ml-2\" }\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\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"button-selection\", { disabled: _ctx.disabled, active: _ctx.localValue }],\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.toggleValue()))\n }, [\n (_ctx.localValue)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: require(`@/assets/images/icon-check.svg`),\n \"aria-label\": \"icon-blueprint\"\n }, null, 8, [\"src\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_InlineSvgScoped, {\n src: _ctx.icon,\n \"aria-label\": \"icon-blueprint\"\n }, null, 8, [\"src\"]),\n _createVNode(\"span\", _hoisted_2, _toDisplayString(_ctx.label), 1)\n ], 2))\n})","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'ButtonSelection',\n props: {\n modelValue: {\n type: Boolean,\n required: true,\n },\n disabled: {\n type: Boolean,\n default: false,\n required: true,\n },\n icon: {\n type: String,\n required: true,\n },\n label: {\n type: String,\n required: true,\n },\n },\n emits: ['update:modelValue'],\n})\nexport default class ToggleSwitchButton extends Vue {\n modelValue?: boolean;\n disabled?: boolean;\n icon !: string;\n label !: string;\n\n get localValue (){\n return this.modelValue ?? false\n }\n set localValue (value: boolean){\n if (this.disabled) return;\n this.$emit('update:modelValue', value);\n }\n\n toggleValue() {\n this.localValue = !this.localValue;\n }\n}\n","import { render } from \"./ButtonSelection.vue?vue&type=template&id=0849788d&scoped=true&ts=true\"\nimport script from \"./ButtonSelection.ts?vue&type=script&lang=ts\"\nexport * from \"./ButtonSelection.ts?vue&type=script&lang=ts\"\n\nimport \"./ButtonSelection.scss?vue&type=style&index=0&id=0849788d&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-0849788d\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon-ban-light.7cc014d7.svg\";","module.exports = __webpack_public_path__ + \"img/icon-edit-page.8332bf81.svg\";","module.exports = __webpack_public_path__ + \"img/icon-thermo.2a08b930.svg\";","module.exports = __webpack_public_path__ + \"img/icon-notification.15686f96.svg\";","module.exports = __webpack_public_path__ + \"img/icon-command.3f00fc4d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-alert-medium-full.bcb368fc.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon bt-icon--sm\" }\nconst _hoisted_2 = { class: \"dialog-custom__footer\" }\nconst _hoisted_3 = {\n key: 3,\n class: \"app-loader app-loader--contextual\"\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_WizardPlantTypeSelection = _resolveComponent(\"WizardPlantTypeSelection\")\n const _component_WizardAutomationPlant = _resolveComponent(\"WizardAutomationPlant\")\n const _component_WizardEntrancePlant = _resolveComponent(\"WizardEntrancePlant\")\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.isDialogVisible = $event)),\n showHeader: false,\n modal: true,\n onHide: _ctx.doHideDialog,\n class: \"dialog-custom dialog-plant-create\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n label: \"close\",\n onClick: _ctx.handleHideDialog,\n class: \"dialog-custom__close-button p-button-text\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: require(`@/assets/images/icons/icon-close.svg`)\n }, null, 8, [\"src\"])\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n (_ctx.plantCreateSteps == _ctx.PlantCreateSteps.TYPE_SELECTION)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_WizardPlantTypeSelection, {\n plantType: _ctx.selectedPlantType,\n \"onUpdate:plantType\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.selectedPlantType = $event)),\n residentialType: _ctx.selectedResidentialType,\n \"onUpdate:residentialType\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.selectedResidentialType = $event))\n }, null, 8, [\"plantType\", \"residentialType\"]),\n _createVNode(\"footer\", _hoisted_2, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleContinueButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.plantCreateSteps == _ctx.PlantCreateSteps.WIZARD_AUTOMATION)\n ? (_openBlock(), _createBlock(_component_WizardAutomationPlant, {\n key: 1,\n plantId: _ctx.localPlantId,\n onUpdate: _ctx.updateId,\n onPlantEdited: _ctx.onPlantEdited,\n onExitWizard: _cache[3] || (_cache[3] = ($event: any) => (_ctx.plantCreateSteps = _ctx.PlantCreateSteps.TYPE_SELECTION))\n }, null, 8, [\"plantId\", \"onUpdate\", \"onPlantEdited\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.plantCreateSteps == _ctx.PlantCreateSteps.WIZARD_ENTRANCE)\n ? (_openBlock(), _createBlock(_component_WizardEntrancePlant, {\n key: 2,\n plantId: _ctx.localPlantId,\n isEdit: _ctx.isEdit,\n onUpdate: _ctx.updateId,\n onPlantEdited: _ctx.onPlantEdited,\n onExitWizard: _cache[4] || (_cache[4] = ($event: any) => (_ctx.plantCreateSteps = _ctx.PlantCreateSteps.TYPE_SELECTION))\n }, null, 8, [\"plantId\", \"isEdit\", \"onUpdate\", \"onPlantEdited\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_2 = { class: \"fs-18 text-gray\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 330px)\"} }\nconst _hoisted_5 = { class: \"plant-type-selection\" }\nconst _hoisted_6 = { class: \"centered\" }\nconst _hoisted_7 = { class: \"px-3 mt-3 text-dark\" }\nconst _hoisted_8 = { class: \"text-dark\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"residential-plant-type\"\n}\nconst _hoisted_10 = { class: \"mx-3\" }\nconst _hoisted_11 = { class: \"text-dark\" }\nconst _hoisted_12 = { class: \"text-gray\" }\nconst _hoisted_13 = { class: \"residential-type-card__content\" }\nconst _hoisted_14 = { class: \"residential-type-card__icon bt-icon\" }\nconst _hoisted_15 = { class: \"residential-type-card__head ml-4\" }\nconst _hoisted_16 = { class: \"text-gray\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Card = _resolveComponent(\"Card\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", {\n \"data-plant\": _ctx.$attrs.plantId,\n class: \"dialog-custom__header\"\n }, [\n _createVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.$t(\"AppResource.Typeofplant\")), 1),\n _createVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.TypeofplantDescription\").toUpperCase()), 1)\n ], 8, [\"data-plant\"]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.pt,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.pt = $event)),\n options: _ctx.plantTypesImages,\n optionLabel: \"value\",\n optionValue: \"value\",\n class: \"p-selectbutton--blocks p-selectbutton--img-only m-3\"\n }, {\n option: _withCtx((slotProps) => [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"img\", {\n src: slotProps.option.imageURLs[0],\n alt: \"img\"\n }, null, 8, [\"src\"]),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"strong\", null, _toDisplayString(slotProps.option.title), 1)\n ]),\n _createVNode(\"div\", _hoisted_8, _toDisplayString(slotProps.option.subTitle), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"]),\n (_ctx.pt == _ctx.Type.ENTRANCE_PLANT)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"h4\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResourceEP.ChooseEntrancePlantTypeTitle\")), 1),\n _createVNode(\"p\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResourceEP.ChooseEntrancePlantTypeDescription\")), 1)\n ]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.residentialTypesButtons, (button, i) => {\n return (_openBlock(), _createBlock(_component_Card, {\n key: i,\n class: [\"residential-type-card m-3\", {'residential-type-card--selected-type': button.value == _ctx.rt}],\n onClick: ($event: any) => (_ctx.changeRtValue(button.value))\n }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"span\", _hoisted_14, [\n _createVNode(_component_InlineSvgScoped, {\n src: button.imageURLs,\n \"aria-label\": \"icon-badge\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"h5\", null, _toDisplayString(button.title), 1),\n _createVNode(\"small\", _hoisted_16, _toDisplayString(button.subTitle), 1)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"onClick\", \"class\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport { PlantType } from '@/../client-generator/generated-clients/plants';\nimport { ResidentialTypePlant } from '@/core/utils/EntrancePlant/entrance-plant.utils';\n\n@Options({\n name: 'WizardPlantTypeSelection',\n props: {\n plantType: {\n required: true,\n type: Number as () => PlantType,\n },\n residentialType: {\n required: true,\n type: Number as () => ResidentialTypePlant,\n },\n },\n watch: {\n plantType: function (newVal: PlantType) {\n if (newVal === PlantType.ENTRANCE_PLANT) {\n this.rt = ResidentialTypePlant.NEW_PLANT;\n }\n }\n },\n emits: ['update:plantType', 'update:residentialType'],\n})\nexport default class WizardPlantTypeSelection extends Vue {\n plantType!: PlantType;\n residentialType!: ResidentialTypePlant;\n\n Type = PlantType;\n\n get pt() {\n return this.plantType;\n }\n\n set pt(val) {\n this.$emit('update:plantType', val);\n }\n\n get rt() {\n return this.residentialType;\n }\n\n set rt(val) {\n this.$emit('update:residentialType', val);\n }\n\n get plantTypesImages() {\n return [\n {\n imageURLs: [require('@/assets/images/plants/plantType/smart-home.jpg')],\n value: PlantType.AUTOMATION_PLANT,\n title: this.$t('AppResourceEP.DomoticSmartHome').toString(),\n subTitle: `${this.$t('AppResource.MxServer').toString()}, ${this.$t(\n 'AppResource.MyHomeServer1'\n ).toString()}`,\n },\n {\n imageURLs: [\n require('@/assets/images/entrancePlants/plantType/enrtance-plant.webp'),\n ],\n value: PlantType.ENTRANCE_PLANT,\n title: this.$t('AppResourceEP.ResidentialDoorEntrySystem').toString(),\n subTitle: this.$t('AppResourceEP.NewPeDevice').toString(),\n },\n ];\n }\n\n get residentialTypesButtons() {\n return [\n {\n imageURLs: require('@/assets/images/icons/icon-add.svg'),\n value: ResidentialTypePlant.NEW_PLANT,\n title: this.$t('AppResourceEP.EntrancePlantNewTitle').toString(),\n subTitle: `${this.$t('AppResourceEP.EntrancePlantNewDescription').toString()}`,\n },\n {\n imageURLs:require('@/assets/images/entrancePlants/icon-plant-configured.svg'),\n value: ResidentialTypePlant.CONFIGURED_PLANT,\n title: this.$t('AppResourceEP.EntrancePlantConfiguredTitle').toString(),\n subTitle: this.$t('AppResourceEP.EntrancePlantConfiguredDescription').toString(),\n },\n ];\n }\n\n changeRtValue(value: ResidentialTypePlant) {\n if(value === ResidentialTypePlant.NEW_PLANT){\n this.rt = value;\n }\n else {\n const faqUrl = \"https://qna.legrand.com/linea-5000/b2e83fb2-e7f2-4d9a-b106-62fe3b444f8f/LIN018?\";\n window.open(faqUrl, \"_blank\");\n }\n }\n}\n","import { render } from \"./WizardPlantTypeSelection.vue?vue&type=template&id=1dfca87f&ts=true\"\nimport script from \"./WizardPlantTypeSelection.ts?vue&type=script&lang=ts\"\nexport * from \"./WizardPlantTypeSelection.ts?vue&type=script&lang=ts\"\n\nimport \"./WizardPlantTypeSelection.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 { resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__footer\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"app-loader app-loader--contextual\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.dialogStepComponent), {\n plant: _ctx.plant,\n plantId: _ctx.plantId,\n onIsLoading: _ctx.handleStepLoading,\n onNextEnabled: _ctx.handleNextEnabledChange\n }, null, 8, [\"plant\", \"plantId\", \"onIsLoading\", \"onNextEnabled\"])),\n _createVNode(\"footer\", _hoisted_1, [\n (_ctx.isBackButtonVisible)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _ctx.handleStepBack,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n onClick: _ctx.handleButtonSubmitAction,\n label: _ctx.buttonSubmitLabel,\n disabled: \n !_ctx.nextEnabled ||\n (_ctx.dialogStep === 2 && _ctx.plant.mxServer?.model == undefined)\n ,\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\", \"disabled\"])\n ]),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_2, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","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, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { class: \"dialog-plant-create__grid\" }\nconst _hoisted_5 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_6 = { class: \"mr-3\" }\nconst _hoisted_7 = { class: \"p-field\" }\nconst _hoisted_8 = {\n class: \"p-field-label\",\n for: \"plantname\"\n}\nconst _hoisted_9 = {\n for: \"name\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_10 = { class: \"p-field\" }\nconst _hoisted_11 = {\n class: \"p-field-label\",\n for: \"country\"\n}\nconst _hoisted_12 = { class: \"p-field\" }\nconst _hoisted_13 = {\n class: \"p-field-label\",\n for: \"address\"\n}\nconst _hoisted_14 = { class: \"p-field mr-3 mb-4\" }\nconst _hoisted_15 = { class: \"p-field-label mb-4 ml-3\" }\nconst _hoisted_16 = { class: \"p-field\" }\nconst _hoisted_17 = { class: \"p-field-label\" }\nconst _hoisted_18 = { class: \"p-field-with-button\" }\nconst _hoisted_19 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_20 = { class: \"ml-2\" }\nconst _hoisted_21 = { class: \"menu-filters mt-3\" }\nconst _hoisted_22 = { class: \"menu-filters__buttons list-unstyled p-select-button\" }\nconst _hoisted_23 = { class: \"p-button-label\" }\nconst _hoisted_24 = {\n key: 0,\n class: \"bt-icon bt-icon--2xs p-button-icon-hidden\"\n}\nconst _hoisted_25 = { class: \"ml-3 bt-icon bt-icon--2xs\" }\nconst _hoisted_26 = { key: 1 }\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_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.title), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResource.PlantNameUpper\")), 1),\n _createVNode(_component_InputText, {\n id: \"plantname\",\n type: \"text\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidName }],\n modelValue: _ctx.plant.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.plant.name = $event))\n }, null, 8, [\"modelValue\", \"class\"]),\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.invalidNameReason), 1)\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResource.PlantCountry\")), 1),\n _createVNode(_component_Dropdown, {\n id: \"country\",\n modelValue: _ctx.plant.country,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.plant.country = $event)),\n options: _ctx.countries,\n optionLabel: \"name\",\n optionValue: \"code\",\n class: \"w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"label\", _hoisted_13, _toDisplayString(_ctx.$t(\"AppResource.HomeAddressUpper\")), 1),\n _createVNode(_component_InputText, {\n id: \"address\",\n type: \"text\",\n class: \"w-100\",\n modelValue: _ctx.plant.address,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.plant.address = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"label\", _hoisted_15, _toDisplayString(_ctx.$t(\"AppResource.PlantIcon\")), 1),\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.plant.icon,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.plant.icon = $event)),\n options: _ctx.images,\n optionLabel: \"value\",\n optionValue: \"value\",\n class: \"p-selectbutton--blocks p-selectbutton--img-only pl-3\"\n }, {\n option: _withCtx((slotProps) => [\n _createVNode(\"img\", {\n class: \"automation\",\n src: slotProps.option.imageURLs[0],\n srcset: \n slotProps.option.imageURLs\n .length === 1\n ? `${slotProps.option.imageURLs[0]}`\n : `${slotProps.option.imageURLs[0]}, ${slotProps.option.imageURLs[1]} 2x, ${slotProps.option.imageURLs[2]} 3x`\n ,\n alt: \"img\"\n }, null, 8, [\"src\", \"srcset\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"span\", _hoisted_17, _toDisplayString(_ctx.$t(\"AppResource.PlantGroups\")), 1),\n _createVNode(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addTag && _ctx.addTag(...args)), [\"prevent\"]))\n }, [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(_component_InputText, {\n type: \"text\",\n placeholder: _ctx.$t('newPlantDialog.insertGroup'),\n class: \"w-100\",\n modelValue: _ctx.newTagName,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.newTagName = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"]),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-rounded p-button-field\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_19, [\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_20, _toDisplayString(_ctx.$t(\"AppResource.Add\")), 1)\n ]),\n _: 1\n })\n ])\n ], 32),\n _createVNode(\"div\", _hoisted_21, [\n _createVNode(\"ul\", _hoisted_22, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.tempTags, (tag) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: [\"p-button has--hidden-icon pr-3\", { 'p-highlight': _ctx.isTagSelected(tag) }],\n key: tag.key,\n onClick: ($event: any) => (_ctx.toggleTagSelection(tag))\n }, [\n _createVNode(\"span\", _hoisted_23, [\n _createTextVNode(_toDisplayString(tag.value) + \" \", 1),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_24, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-close.svg')\n ,\n \"aria-label\": \"icon-close\"\n }, null, 8, [\"src\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"span\", _hoisted_25, [\n (!_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(_component_InlineSvgScoped, {\n key: 0,\n src: \n require('@/assets/images/icons/icon-add.svg')\n ,\n \"aria-label\": \"icon-close\"\n }, null, 8, [\"src\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_26, \"✓\"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 10, [\"onClick\"]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n PlantDTO,\n PlantIconEnum,\n PlantTagDTO,\n PlantType,\n} from '@/../client-generator/generated-clients/plants';\nimport debounce from 'lodash.debounce';\nimport plantsClient from '@/core/services/plants';\nimport {\n getPlantIconImages,\n getPlantIconImageUrls,\n NAME_VALIDATION_DEBOUNCE_TIME,\n} from '@/core/utils/utils';\nimport {\n Country,\n PlantEntityType,\n} from '@/../client-generator/generated-clients/configurations';\n\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport { NamingService } from '@/core/services/naming.service';\nimport configurationsClient from '@/core/services/configurations-service';\nimport { mapGetters } from 'vuex';\n\nconst kebabCase = require('lodash.kebabcase');\n\n// get the max scale to fit\nfunction drawScaledImage(ctx: any, img: any) {\n var scale = Math.max(\n ctx.canvas.width / img.width,\n ctx.canvas.height / img.height\n );\n var x = (ctx.canvas.width - img.width * scale) / 2;\n var y = (ctx.canvas.height - img.height * scale) / 2;\n ctx.drawImage(img, x, y, img.width * scale, img.height * scale);\n}\n\n@Options({\n name: 'DialogPlantCreateStep1',\n props: {\n plant: {\n required: true,\n type: Object as () => PlantDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n preSelectedTags: {\n type: Object as () => PlantTagDTO[],\n },\n },\n watch: {\n 'plant.name': function () {\n this.verifyValidityOfName();\n },\n 'plant.address': function () {\n this.checkNextButtonState();\n }\n },\n emits: ['is-loading', 'next-enabled'],\n computed: {\n ...mapGetters('UI', ['plantEditImageCustomEnabled']),\n },\n})\nexport default class DialogPlantCreateStep1 extends Vue {\n plant!: PlantDTO;\n initialName!: string;\n preSelectedTags!: PlantTagDTO[] | undefined;\n plantEditImageCustomEnabled!: boolean;\n\n plantId: number | null = null;\n\n tempTags: PlantTagDTO[] = [];\n countries: Country[] = [];\n newTagName = '';\n\n // Naming validation props\n isValidName = true;\n invalidNameReason: string = '';\n\n get title() {\n return this.$t(\n !this.plantId ? 'AppResource.CreateThePlant' : 'AppResource.PlantInfo'\n ).toString();\n }\n\n get isCreateTagDisabled() {\n return !this.newTagName.trim();\n }\n\n get images() {\n const images = [\n ...getPlantIconImages().map((image) => ({\n imageURLs: getPlantIconImageUrls(image),\n value: image.value,\n })),\n ];\n if (this.plantEditImageCustomEnabled)\n images.push({\n imageURLs: [\n this.plant.customIconDataUrl ||\n (this.plant as any).customIconImageUrl ||\n require(`@/assets/images/plants/add-your-image-here.jpg`),\n ],\n value: PlantIconEnum.ICON_CUSTOM,\n });\n return images;\n }\n\n created() {\n if (this.plant.tags && this.plant.tags.length > 0) {\n this.tempTags = this.plant.tags;\n }\n\n if (\n !this.tempTags ||\n this.tempTags.length === 0 ||\n this.countries.length === 0\n ) {\n this.$emit('is-loading', true);\n Promise.all([this.fetchPlantTags(), this.fetchCountries()]).finally(\n () => {\n this.$emit('is-loading', false);\n }\n );\n }\n }\n\n async beforeMount() {\n this.verifyValidityOfName = debounce(\n this.verifyValidityOfName,\n NAME_VALIDATION_DEBOUNCE_TIME\n );\n this.checkNextButtonState();\n\n NamingService.flushCache();\n await NamingService.prefetchFlatEntities(\n 0, // this must be 0, as from API specification\n PlantEntityType.PLANT\n );\n }\n\n beforeUnmount() {\n document.querySelector('#uploadCustomImageInput')?.remove();\n document\n .querySelector(\n `.el-scrollbar__view .p-button[aria-label=\"${PlantIconEnum.ICON_CUSTOM}\"]`\n )\n ?.removeEventListener('click', this.handlerUploadInput);\n }\n\n async mounted() {\n document\n .querySelector(\n `.el-scrollbar__view .p-button[aria-label=\"${PlantIconEnum.ICON_CUSTOM}\"]`\n )\n ?.addEventListener('click', this.handlerUploadInput);\n }\n\n updated() {\n if (this.plantId && this.plant?.name) this.initialName = this.plant.name;\n }\n\n fileRead(imageBinary: string | undefined) {\n if (!imageBinary) {\n this.plant.icon = undefined;\n }\n this.plant.customIconDataUrl = imageBinary;\n }\n\n async fetchPlantTags() {\n try {\n this.tempTags = await plantsClient.tagsList();\n } catch (error) {\n console.log(error);\n }\n }\n\n async fetchCountries() {\n try {\n this.countries = await configurationsClient.countriesAutocomplete(PlantType.AUTOMATION_PLANT);\n } catch (error) {\n console.log(error);\n }\n }\n\n handlerUploadInput(e: any) {\n e.preventDefault();\n e.stopPropagation();\n e.stopImmediatePropagation();\n let uploadInput: any = document.querySelector('#uploadCustomImageInput');\n if (!uploadInput) {\n // upload input create\n uploadInput = document.createElement('input');\n uploadInput.id = 'uploadCustomImageInput';\n uploadInput.setAttribute('type', 'file');\n uploadInput.setAttribute('hidden', '');\n uploadInput.setAttribute('accept', '.bmp,.gif,.jpeg,.jpg,.png,.tiff');\n document.body.append(uploadInput);\n\n // upload input change listener\n uploadInput.addEventListener('change', (e: any) => {\n const reader = new FileReader();\n reader.onload = (evLoad) => {\n // reader loaded data url\n let image = new Image();\n image.onload = () => {\n // image loaded for size reason)\n let canvas = document.createElement('CANVAS') as any;\n canvas.width = 680;\n canvas.height = 320;\n let ctx = canvas.getContext('2d');\n // use canvas and image for scaling the size\n drawScaledImage(ctx, image);\n this.fileRead(canvas.toDataURL());\n };\n image.src = evLoad.target?.result as string;\n };\n reader.onerror = (err) => {\n console.error(err);\n };\n\n if (e.target.files.length > 0) {\n reader.readAsDataURL(uploadInput.files[0]);\n } else {\n this.fileRead(undefined);\n }\n });\n }\n uploadInput.click();\n }\n\n addTag() {\n this.newTagName = this.newTagName.trim();\n\n if (!this.newTagName) return;\n\n const tagKey = kebabCase(this.newTagName);\n\n if (!this.plant.tags) {\n console.log('plant.tags undefined');\n return;\n }\n if (this.plant.tags.some((t) => t.key == tagKey)) {\n return;\n }\n const newTag = new PlantTagDTO({\n key: tagKey,\n value: this.newTagName,\n });\n this.tempTags.push(newTag);\n this.plant.tags.push(newTag);\n\n this.newTagName = '';\n }\n\n toggleTagSelection(tag: PlantTagDTO) {\n if (!this.plant.tags) {\n console.log('plant.tags undefined');\n return;\n }\n\n const groupIndex = this.plant.tags.findIndex((g) => g.key === tag.key);\n\n if (groupIndex >= 0) {\n this.plant.tags.splice(groupIndex, 1);\n } else {\n this.plant.tags.push(tag);\n }\n }\n\n isTagSelected(tag: PlantTagDTO) {\n return this.plant.tags?.some((x) => x.key === tag.key);\n }\n\n private async verifyValidityOfName() {\n this.$store.dispatch(SET_APP_LOADING, true);\n const validName = NamingService.isValidEntityTypeName(this.plant.name);\n if (this.plant.name && this.initialName !== this.plant.name && !validName) {\n const suggestedName = await NamingService.suggestNextValidEntityName({\n plantId: this.plantId!,\n eType: PlantEntityType.PLANT,\n metadata: { plantSourceName: this.plant.name },\n });\n this.isValidName = validName;\n this.invalidNameReason = this.$t(\n `uniqueNaming.validationErrorWithSuggestion`,\n { suggestedName }\n );\n this.$emit('next-enabled', false);\n } else {\n this.isValidName = true;\n this.invalidNameReason = '';\n this.$emit('next-enabled', true);\n }\n this.checkNextButtonState();\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n\n private checkNextButtonState() {\n if (this.plant.name && this.isValidName && this.plant.address)\n this.$emit('next-enabled', true);\n else this.$emit('next-enabled', false);\n }\n}\n","import { render } from \"./DialogPlantCreateStep1.vue?vue&type=template&id=e3d6eae4&ts=true\"\nimport script from \"./DialogPlantCreateStep1.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantCreateStep1.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_2 = { class: \"fs-18 text-gray\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"dialog-custom__content form-custom\"\n}\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 330px)\"} }\nconst _hoisted_5 = { class: \"centered\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", {\n \"data-plant\": _ctx.$attrs.plantId,\n class: \"dialog-custom__header\"\n }, [\n _createVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.$t(\"AppResource.Associatethegateway\")), 1),\n _createVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.ChoosegatewayTitle\")), 1)\n ], 8, [\"data-plant\"]),\n (_ctx.plant.mxServer)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.plant.mxServer.model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.plant.mxServer.model = $event)),\n options: _ctx.plantServerImages,\n optionLabel: \"value\",\n optionValue: \"value\",\n class: \"p-selectbutton--blocks p-selectbutton--img-only\"\n }, {\n option: _withCtx((slotProps) => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"img\", {\n src: slotProps.option.imageURLs[0],\n alt: \"img\"\n }, null, 8, [\"src\"]),\n _createVNode(\"div\", {\n class: [\"p-3\", {'text-dark': _ctx.plant.mxServer.model !== slotProps.option.value }]\n }, _toDisplayString(_ctx.$t(`AppResource.${_ctx.ServerModel[slotProps.option.value]}`)), 3)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n PlantDTO,\n ServerModel,\n} from '@/../client-generator/generated-clients/plants';\nimport { getRoomIconFromType } from '@/core/utils/utils';\nimport { DefaultRoomDTO } from '@/../client-generator/generated-clients/configurations';\n\nimport NumberButtons from '@/views/components/NumberButtons/NumberButtons.vue';\nimport { mapGetters } from 'vuex';\n\n@Options({\n name: 'DialogPlantCreateStep2',\n props: {\n plant: {\n required: true,\n type: Object as () => PlantDTO,\n },\n },\n computed: {\n ...mapGetters('UI', ['plantServerUseMHS1Only']),\n },\n components: {\n NumberButtons,\n },\n emits: ['is-loading'],\n})\nexport default class DialogPlantCreateStep2 extends Vue {\n plant!: PlantDTO;\n ServerModel = ServerModel;\n roomTypes: DefaultRoomDTO[] = [];\n getRoomIcon = getRoomIconFromType;\n private readonly plantServerUseMHS1Only!: boolean;\n\n get plantServerImages() {\n return [\n {\n imageURLs: [\n require('@/assets/images/plants/server/ImagesMX-300EOS.png'),\n ],\n value: ServerModel.Classe300EOS,\n },\n {\n imageURLs: [require('@/assets/images/plants/server/ImagesMHS1.png')],\n value: ServerModel.MyHomeServer1,\n },\n ].filter((x) =>\n this.plantServerUseMHS1Only ? x.value === ServerModel.MyHomeServer1 : true\n );\n }\n\n async created() {}\n\n updatePlantRoom(room: DefaultRoomDTO) {\n const plantRoom = this.plant.roomsCounts?.find(\n (rc) => rc.type === room.type\n );\n\n if (!plantRoom) {\n console.log('Plant room not found');\n return;\n }\n\n plantRoom.count = room.count;\n }\n}\n","import { render } from \"./DialogPlantCreateStep2.vue?vue&type=template&id=61d4d610&ts=true\"\nimport script from \"./DialogPlantCreateStep2.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantCreateStep2.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 { Vue, Options } from 'vue-class-component';\nimport {\n PlantDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport DialogPlantCreateStep1 from './DialogAutomationPlantCreate/DialogPlantCreateStep1/DialogPlantCreateStep1.vue';\nimport DialogPlantCreateStep2 from './DialogAutomationPlantCreate/DialogPlantCreateStep2/DialogPlantCreateStep2.vue';\nimport DialogPlantCreateStep3 from './DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.vue';\n\nimport plantsClient from '@/core/services/plants';\nimport {\n SET_SELECTED_PLANT_ID,\n} from '@/core/store/action-types';\nimport { defaultNewPlant, cloneObject } from '@/core/utils/utils';\n@Options({\n name: 'WizardAutomationPLant',\n components: {\n DialogPlantCreateStep1,\n DialogPlantCreateStep2,\n DialogPlantCreateStep3,\n },\n props: {\n plantId: {\n type: Number,\n required: false,\n },\n },\n emits: ['exit-wizard', 'plant-edited', 'update'],\n})\nexport default class WizardAutomationPLant extends Vue {\n plantId: number | null = null;\n isLoading = false;\n nextEnabled = true;\n dialogStep = 1;\n plant: PlantDTO = cloneObject(defaultNewPlant);\n\n get dialogStepComponent() {\n return `DialogPlantCreateStep${this.dialogStep}`;\n }\n get buttonSubmitLabel() {\n if (this.plantId) {\n return this.$t('AppResource.Save');\n }\n if (!this.plantId) {\n if (this.dialogStep <= 2) {\n return this.$t('AppResource.Continue');\n }\n }\n return this.$t('AppResource.Create');\n }\n\n get isBackButtonVisible() {\n return this.dialogStep == 1 ? this.plantId ? false : this.$config.ENTRANCE_PLANT_ENABLED : true;\n }\n\n mounted(): void {\n this.initFormPlant();\n }\n\n initFormPlant() {\n if (this.plantId) {\n this.fetchPlantDetails();\n } else {\n this.plant = cloneObject(defaultNewPlant);\n }\n }\n\n handleNextEnabledChange(e: boolean) {\n this.nextEnabled = e;\n }\n\n async fetchPlantDetails() {\n this.isLoading = true;\n\n try {\n this.plant = await plantsClient.plantGET(\n this.plantId as number,\n undefined\n );\n this.plant.roomsCounts = [];\n } catch (error) {\n console.log(error);\n } finally {\n this.isLoading = false;\n }\n }\n\n async handleButtonSubmitAction() {\n if (this.plantId) {\n await this.handleEditPlant();\n } else {\n if (this.dialogStep <= 2) {\n this.dialogStep++;\n } else {\n const createdPlantId = await this.handleCreatePlant();\n if (createdPlantId) {\n this.goToPlantDetail(createdPlantId, true);\n }\n }\n }\n }\n\n handleStepBack() {\n if (this.dialogStep == 1) {\n this.plant = cloneObject(defaultNewPlant);\n this.nextEnabled = true;\n this.$emit(\"exit-wizard\");\n }\n this.dialogStep--;\n }\n\n async handleCreatePlant() {\n let createdPlant = null;\n this.isLoading = true;\n\n try {\n this.plant.roomsCounts = this.plant.roomsCounts?.filter(\n (room) => (room.count as number) > 0\n );\n createdPlant = await plantsClient.plantPOST(this.plant);\n this.$emit('update', createdPlant)\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.isLoading = false;\n }\n\n return createdPlant;\n }\n\n async handleEditPlant() {\n if (!this.plantId) return;\n\n this.isLoading = true;\n\n try {\n await plantsClient.plantPUT(this.plantId, this.plant);\n this.$emit('plant-edited');\n } catch (error) {\n console.log(error);\n } finally {\n this.isLoading = false;\n }\n }\n\n goToPlantDetail(plantId: number | null, isNew = false) {\n this.$nextTick(async () => {\n await this.$store.dispatch(SET_SELECTED_PLANT_ID, plantId);\n this.$router.push({\n name: 'page-plant-dashboard',\n params: { plantId: plantId?.toString() ?? '' },\n });\n\n this.$toast.add({\n severity: 'success',\n summary: this.$t(\n isNew ? 'AppResource.PlantCreated' : 'newPlantDialog.modified'\n ),\n closable: false,\n life: 3000,\n });\n\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n });\n }\n\n handleStepLoading(isLoading: boolean) {\n this.isLoading = isLoading;\n }\n}\n","import { render } from \"./WizardAutomationPlant.vue?vue&type=template&id=c0025736&ts=true\"\nimport script from \"./WizardAutomationPlant.ts?vue&type=script&lang=ts\"\nexport * from \"./WizardAutomationPlant.ts?vue&type=script&lang=ts\"\n\nimport \"./WizardAutomationPlant.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 { resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"app-loader app-loader--contextual\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.dialogStepEntrancePlantComponent), {\n ref: _ctx.dialogStepEntrancePlantComponent,\n plant: _ctx.entrancePlant,\n \"plant-id\": _ctx.plantId,\n isEdit: _ctx.isEdit,\n onIsLoading: _ctx.handleStepLoading,\n onOnBack: _ctx.handleBack,\n onOnNext: _ctx.handleNext,\n onPlantEdited: _ctx.handleEditedPlant\n }, null, 8, [\"plant\", \"plant-id\", \"isEdit\", \"onIsLoading\", \"onOnBack\", \"onOnNext\", \"onPlantEdited\"])),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_ProgressSpinner)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","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, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { class: \"dialog-plant-create__grid\" }\nconst _hoisted_5 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_6 = { class: \"mr-3\" }\nconst _hoisted_7 = { class: \"p-field\" }\nconst _hoisted_8 = {\n class: \"p-field-label\",\n for: \"plantname\"\n}\nconst _hoisted_9 = {\n for: \"name\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_10 = { class: \"p-field\" }\nconst _hoisted_11 = {\n class: \"p-field-label\",\n for: \"country\"\n}\nconst _hoisted_12 = { class: \"p-field\" }\nconst _hoisted_13 = {\n class: \"p-field-label\",\n for: \"address\"\n}\nconst _hoisted_14 = { class: \"p-field mr-3 mb-4\" }\nconst _hoisted_15 = { class: \"p-field-label mb-4 ml-3\" }\nconst _hoisted_16 = { class: \"p-field\" }\nconst _hoisted_17 = { class: \"p-field-label\" }\nconst _hoisted_18 = { class: \"p-field-with-button\" }\nconst _hoisted_19 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_20 = { class: \"ml-2\" }\nconst _hoisted_21 = { class: \"menu-filters mt-3\" }\nconst _hoisted_22 = { class: \"menu-filters__buttons list-unstyled p-select-button\" }\nconst _hoisted_23 = { class: \"p-button-label\" }\nconst _hoisted_24 = {\n key: 0,\n class: \"bt-icon bt-icon--2xs p-button-icon-hidden\"\n}\nconst _hoisted_25 = { class: \"ml-3 bt-icon bt-icon--2xs\" }\nconst _hoisted_26 = { key: 1 }\nconst _hoisted_27 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.title), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_ElScrollbar, { class: \"dialog-scroll\" }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResource.PlantNameUpper\")), 1),\n _createVNode(_component_InputText, {\n id: \"plantname\",\n type: \"text\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidName }],\n modelValue: _ctx.plant.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.plant.name = $event))\n }, null, 8, [\"modelValue\", \"class\"]),\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.invalidNameReason), 1)\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResource.PlantCountry\")), 1),\n _createVNode(_component_Dropdown, {\n id: \"country\",\n modelValue: _ctx.plant.timeZone,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.plant.timeZone = $event)),\n options: _ctx.countries,\n optionLabel: \"extendedName\",\n optionValue: \"timeZoneId\",\n class: \"w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"label\", _hoisted_13, _toDisplayString(_ctx.$t(\"AppResource.HomeAddressUpper\")), 1),\n _createVNode(_component_InputText, {\n id: \"address\",\n type: \"text\",\n class: \"w-100\",\n modelValue: _ctx.plant.address,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.plant.address = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"label\", _hoisted_15, _toDisplayString(_ctx.$t(\"AppResource.PlantIcon\")), 1),\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.plant.icon,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.plant.icon = $event)),\n options: _ctx.images,\n optionLabel: \"value\",\n optionValue: \"value\",\n class: \"p-selectbutton--blocks p-selectbutton--img-only pl-3\"\n }, {\n option: _withCtx((slotProps) => [\n _createVNode(\"img\", {\n src: slotProps.option.imageURLs[0],\n srcset: \n slotProps.option.imageURLs\n .length === 1\n ? `${slotProps.option.imageURLs[0]}`\n : `${slotProps.option.imageURLs[0]}, ${slotProps.option.imageURLs[1]} 2x, ${slotProps.option.imageURLs[2]} 3x`\n ,\n alt: \"img\"\n }, null, 8, [\"src\", \"srcset\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"span\", _hoisted_17, _toDisplayString(_ctx.$t(\"AppResource.PlantGroups\")), 1),\n _createVNode(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addTag && _ctx.addTag(...args)), [\"prevent\"]))\n }, [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(_component_InputText, {\n type: \"text\",\n placeholder: _ctx.$t('newPlantDialog.insertGroup'),\n class: \"w-100\",\n modelValue: _ctx.newTagName,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.newTagName = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"]),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-rounded p-button-field\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_19, [\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_20, _toDisplayString(_ctx.$t(\"AppResource.Add\")), 1)\n ]),\n _: 1\n })\n ])\n ], 32),\n _createVNode(\"div\", _hoisted_21, [\n _createVNode(\"ul\", _hoisted_22, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.tempTags, (tag) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: [\"p-button has--hidden-icon pr-3\", { 'p-highlight': _ctx.isTagSelected(tag) }],\n key: tag.key,\n onClick: ($event: any) => (_ctx.toggleTagSelection(tag))\n }, [\n _createVNode(\"span\", _hoisted_23, [\n _createTextVNode(_toDisplayString(tag.value) + \" \", 1),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_24, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-close.svg')\n ,\n \"aria-label\": \"icon-close\"\n }, null, 8, [\"src\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"span\", _hoisted_25, [\n (!_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(_component_InlineSvgScoped, {\n key: 0,\n src: \n require('@/assets/images/icons/icon-add.svg')\n ,\n \"aria-label\": \"icon-close\"\n }, null, 8, [\"src\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_26, \"✓\"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 10, [\"onClick\"]))\n }), 128))\n ])\n ])\n ])\n ])\n ]),\n _createVNode(\"footer\", _hoisted_27, [\n (!_ctx.plantId)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.nextButtonLabel,\n disabled: !_ctx.nextEnabled,\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\", \"disabled\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\nEntrancePlantDetailDTO,\n EntrancePlantHeadCreateDTO,\n EntrancePlantStructureCreateDTO,\n PlantDTO,\n PlantIconEnum,\n PlantTagDTO,\n PlantType,\n} from '@/../client-generator/generated-clients/plants';\nimport debounce from 'lodash.debounce';\nimport plantsClient from '@/core/services/plants';\nimport {\n getEpPlantIconImages,\n getEpPlantIconImageUrls,\n NAME_VALIDATION_DEBOUNCE_TIME,\n} from '@/core/utils/utils';\nimport {\n Country,\n PlantEntityType,\n} from '@/../client-generator/generated-clients/configurations';\n\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport { NamingService } from '@/core/services/naming.service';\nimport configurationsClient from '@/core/services/configurations-service';\nimport { mapGetters } from 'vuex';\nimport { PropType } from 'vue';\n\nconst kebabCase = require('lodash.kebabcase');\n\n// get the max scale to fit\nfunction drawScaledImage(ctx: any, img: any) {\n var scale = Math.max(\n ctx.canvas.width / img.width,\n ctx.canvas.height / img.height\n );\n var x = (ctx.canvas.width - img.width * scale) / 2;\n var y = (ctx.canvas.height - img.height * scale) / 2;\n ctx.drawImage(img, x, y, img.width * scale, img.height * scale);\n}\n\n@Options({\n name: 'DialogEntrancePlantCreateStep1',\n props: {\n plant: {\n required: true,\n type: Object as PropType,\n },\n plantId: {\n type: Number,\n required: false,\n },\n preSelectedTags: {\n type: Object as PropType,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n 'plant.name': function () {\n this.verifyValidityOfName();\n },\n 'plant.address': function () {\n this.checkNextButtonState();\n },\n 'plant.timeZone': function () {\n this.plant.country = this.countries.find((c: Country) => c.timeZoneId === this.plant.timeZone)?.code;\n }\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {\n ...mapGetters('UI', ['plantEditImageCustomEnabled']),\n },\n})\nexport default class DialogEntrancePlantCreateStep1 extends Vue {\n plant!: EntrancePlantDetailDTO;\n isEdit!: boolean;\n initialName!: string;\n preSelectedTags!: PlantTagDTO[] | undefined;\n plantEditImageCustomEnabled!: boolean;\n\n plantId: number | null = null;\n\n tempTags: PlantTagDTO[] = [];\n countries: Country[] = [];\n newTagName = '';\n nextEnabled = false;\n\n // Naming validation props\n isValidName = true;\n invalidNameReason: string = '';\n\n get title() {\n return this.$t(\n this.plantId ? 'AppResourceEP.EditEntrancePlantDetails' : 'AppResourceEP.CreateEntrancePlant'\n ).toString();\n }\n\n get isCreateTagDisabled() {\n return !this.newTagName.trim();\n }\n\n get images() {\n const images = [\n ...getEpPlantIconImages().map((image) => ({\n imageURLs: getEpPlantIconImageUrls(image),\n value: image.value,\n })),\n ];\n if (this.plantEditImageCustomEnabled)\n images.push({\n imageURLs: [\n this.plant.customIconDataUrl ||\n (this.plant as any).customIconImageUrl ||\n require(`@/assets/images/plants/add-your-image-here.jpg`),\n ],\n value: PlantIconEnum.ICON_CUSTOM,\n });\n return images;\n }\n\n created() {\n if (this.plant.tags && this.plant.tags.length > 0) {\n this.tempTags = this.plant.tags;\n }\n\n if (\n !this.tempTags ||\n this.tempTags.length === 0 ||\n this.countries.length === 0\n ) {\n this.$emit('is-loading', true);\n Promise.all([this.fetchPlantTags(), this.fetchCountries()]).finally(\n () => {\n this.$emit('is-loading', false);\n }\n );\n }\n }\n\n async beforeMount() {\n this.verifyValidityOfName();\n this.checkNextButtonState();\n\n NamingService.flushCache();\n await NamingService.prefetchFlatEntities(\n 0, // this must be 0, as from API specification\n PlantEntityType.PLANT\n );\n }\n\n beforeUnmount() {\n document.querySelector('#uploadCustomImageInput')?.remove();\n document\n .querySelector(\n `.el-scrollbar__view .p-button[aria-label=\"${PlantIconEnum.ICON_CUSTOM}\"]`\n )\n ?.removeEventListener('click', this.handlerUploadInput);\n }\n\n async mounted() {\n document\n .querySelector(\n `.el-scrollbar__view .p-button[aria-label=\"${PlantIconEnum.ICON_CUSTOM}\"]`\n )\n ?.addEventListener('click', this.handlerUploadInput);\n }\n\n updated() {\n if (this.plantId && this.plant?.name) this.initialName = this.plant.name;\n if (!this.plantId) {\n this.plant.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n this.plant.country = this.countries.find((c: Country) => c.timeZoneId === this.plant.timeZone)?.code;\n }\n }\n\n fileRead(imageBinary: string | undefined) {\n if (!imageBinary) {\n this.plant.icon = undefined;\n }\n this.plant.customIconDataUrl = imageBinary;\n }\n\n async fetchPlantTags() {\n try {\n this.tempTags = await plantsClient.tagsList();\n } catch (error) {\n console.log(error);\n }\n }\n\n async fetchCountries() {\n try {\n this.countries = await configurationsClient.countriesAutocomplete(PlantType.ENTRANCE_PLANT);\n } catch (error) {\n console.log(error);\n }\n }\n\n handlerUploadInput(e: any) {\n e.preventDefault();\n e.stopPropagation();\n e.stopImmediatePropagation();\n let uploadInput: any = document.querySelector('#uploadCustomImageInput');\n if (!uploadInput) {\n // upload input create\n uploadInput = document.createElement('input');\n uploadInput.id = 'uploadCustomImageInput';\n uploadInput.setAttribute('type', 'file');\n uploadInput.setAttribute('hidden', '');\n uploadInput.setAttribute('accept', '.bmp,.gif,.jpeg,.jpg,.png,.tiff');\n document.body.append(uploadInput);\n\n // upload input change listener\n uploadInput.addEventListener('change', (e: any) => {\n const reader = new FileReader();\n reader.onload = (evLoad) => {\n // reader loaded data url\n let image = new Image();\n image.onload = () => {\n // image loaded for size reason)\n let canvas = document.createElement('CANVAS') as any;\n canvas.width = 680;\n canvas.height = 320;\n let ctx = canvas.getContext('2d');\n // use canvas and image for scaling the size\n drawScaledImage(ctx, image);\n this.fileRead(canvas.toDataURL());\n };\n image.src = evLoad.target?.result as string;\n };\n reader.onerror = (err) => {\n console.error(err);\n };\n\n if (e.target.files.length > 0) {\n reader.readAsDataURL(uploadInput.files[0]);\n } else {\n this.fileRead(undefined);\n }\n });\n }\n uploadInput.click();\n }\n\n addTag() {\n this.newTagName = this.newTagName.trim();\n\n if (!this.newTagName) return;\n\n const tagKey = kebabCase(this.newTagName);\n\n if (!this.plant.tags) {\n console.log('plant.tags undefined');\n return;\n }\n if (this.plant.tags.some((t) => t.key == tagKey)) {\n return;\n }\n const newTag = new PlantTagDTO({\n key: tagKey,\n value: this.newTagName,\n });\n this.tempTags.push(newTag);\n this.plant.tags.push(newTag);\n\n this.newTagName = '';\n }\n\n toggleTagSelection(tag: PlantTagDTO) {\n if (!this.plant.tags) {\n console.log('plant.tags undefined');\n return;\n }\n\n const groupIndex = this.plant.tags.findIndex((g) => g.key === tag.key);\n\n if (groupIndex >= 0) {\n this.plant.tags.splice(groupIndex, 1);\n } else {\n this.plant.tags.push(tag);\n }\n }\n\n isTagSelected(tag: PlantTagDTO) {\n return this.plant.tags?.some((x) => x.key === tag.key);\n }\n\n private async verifyValidityOfName() {\n const regex = new RegExp(\"^[\\\\w\\\\sÀ-ÖØ-öø-ÿ:.,_-]*$\");\n if (!regex.test(this.plant.name!)) {\n this.isValidName = false;\n this.invalidNameReason = this.$t('AppResource.characternotallowed');\n this.nextEnabled = false;\n return;\n }\n const usedNames = NamingService.initialEntities;\n\n if (this.plantId) {\n const idx = usedNames.findIndex((e) => e.id === this.plantId!.toString());\n if (idx > -1) usedNames.splice(idx, 1);\n }\n const validName = usedNames.every((e) => e.currentName?.toLowerCase().trim() !== this.plant.name?.toLowerCase().trim());\n if (this.plant.name && this.initialName !== this.plant.name && !validName) {\n const suggestedName = await NamingService.suggestNextValidEntityName({\n plantId: this.plantId!,\n eType: PlantEntityType.PLANT,\n metadata: { plantSourceName: this.plant.name },\n });\n this.isValidName = validName;\n this.invalidNameReason = this.$t(\n `uniqueNaming.validationErrorWithSuggestion`,\n { suggestedName }\n );\n this.nextEnabled = false;\n } else {\n this.isValidName = true;\n this.invalidNameReason = '';\n this.nextEnabled = true;\n }\n this.checkNextButtonState();\n }\n\n private checkNextButtonState() {\n this.nextEnabled = this.plant.name && this.isValidName && this.plant.address ? true : false;\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 2,\n headCreate: new EntrancePlantHeadCreateDTO({\n address: this.plant.address,\n country: this.plant.country,\n timeZone: this.plant.timeZone,\n customIconDataUrl: this.plant.customIconDataUrl,\n customIconImageUrl: this.plant.customIconImageUrl,\n desktopId: this.plant.desktopId,\n icon : this.plant.icon,\n name: this.plant.name,\n plantType: this.plant.plantType,\n tags: this.plant.tags\n }),\n });\n }\n\n get nextButtonLabel() {\n return this.plantId ? this.$t('save') : this.$t('saveAndContinue');\n }\n\n handleBackButton(){\n if (this.plantId) return;\n this.$emit(\"onBack\")\n }\n\n async handleNextButton(){\n if (this.plantId) {\n await this.updatePlantStructure(this.getDataToSave());\n if (this.isEdit) {\n this.$emit('plant-edited');\n } else {\n this.$emit(\"onNext\", \"DialogEntrancePlantCreateStep2\")\n }\n } else {\n const peId = await this.createPlant(this.getDataToSave());\n this.$emit(\"onNext\", \"DialogEntrancePlantCreateStep2\", peId)\n }\n }\n\n async createPlant(structure: EntrancePlantStructureCreateDTO) {\n let createdPlantId = null;\n this.$emit('is-loading', true);\n\n try {\n createdPlantId = await plantsClient.entranceplantPOST(structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n\n return createdPlantId;\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep1.vue?vue&type=template&id=b7ab0d8c&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep1.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep1.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"row mx-0\" }\nconst _hoisted_6 = { class: \"col-6\" }\nconst _hoisted_7 = { class: \"mb-4\" }\nconst _hoisted_8 = { class: \"p-field\" }\nconst _hoisted_9 = { class: \"p-field-label\" }\nconst _hoisted_10 = {\n class: \"col-6\",\n style: {\"padding-top\":\"48px\"}\n}\nconst _hoisted_11 = { class: \"p-field\" }\nconst _hoisted_12 = { class: \"d-flex align-items-center\" }\nconst _hoisted_13 = { class: \"p-field-label\" }\nconst _hoisted_14 = { class: \"mt-2\" }\nconst _hoisted_15 = { class: \"row mx-0\" }\nconst _hoisted_16 = {\n class: \"col-6\",\n style: {\"padding-top\":\"40px\"}\n}\nconst _hoisted_17 = { class: \"d-flex align-items-center\" }\nconst _hoisted_18 = { class: \"title\" }\nconst _hoisted_19 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_20 = { class: \"ml-2\" }\nconst _hoisted_21 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_ToggleSwitchButton = _resolveComponent(\"ToggleSwitchButton\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CallModeForm = _resolveComponent(\"CallModeForm\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_DialogImportFile = _resolveComponent(\"DialogImportFile\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupThePlant\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, { class: \"dialog-scroll\" }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"h5\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.SystemParameters\")), 1),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceLanguage\")), 1),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.infoPlant.language,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.infoPlant.language = $event)),\n options: _ctx.validLanguages,\n optionLabel: \"name\",\n optionValue: \"code\",\n class: \"w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"div\", null, [\n _createVNode(\"label\", _hoisted_13, _toDisplayString(_ctx.$t(\"AppResourceEP.Switchboard\")), 1),\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.$t(\n \"AppResourceEP.InsertASwitchboardAtPlantCreation\"\n )), 1)\n ])\n ]),\n _createVNode(_component_ToggleSwitchButton, {\n class: \"ml-auto\",\n modelValue: _ctx.switchboardActive,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.switchboardActive = $event))\n }, null, 8, [\"modelValue\"])\n ])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"label\", _hoisted_18, _toDisplayString(_ctx.$t(\"AppResourceEP.CallMode\")), 1),\n (!_ctx.isBRFA)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-rounded ml-auto p-button-outlined\",\n style: {\"max-height\":\"24px !important\"},\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.triggerFilePicker()))\n }, {\n default: _withCtx(() => [\n _createVNode(\"input\", {\n type: \"file\",\n id: \"fileInput\",\n style: {\"display\":\"none\"},\n onChange: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.onFileSelected && _ctx.onFileSelected(...args))),\n accept: \".csv\"\n }, null, 32),\n _createVNode(\"span\", _hoisted_19, [\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_20, _toDisplayString(_ctx.$t(\"general.import\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(_component_CallModeForm, {\n class: \"mt-4\",\n ref: \"callModeForm\",\n infoPlant: _ctx.infoPlant\n }, null, 8, [\"infoPlant\"])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_21, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ]),\n _createVNode(_component_DialogImportFile, {\n entrancePlantDetail: _ctx.infoPlant,\n importedData: _ctx.importedData,\n isVisible: _ctx.isVisibleDialogImportFile,\n onHideDialog: _ctx.handleCloseDialog,\n onOverwrite: _ctx.overwrite,\n isCreationMode: true,\n onUpdatePlant: _ctx.handleUpdatePlant,\n onGrouped: _ctx.handleGrouped\n }, null, 8, [\"entrancePlantDetail\", \"importedData\", \"isVisible\", \"onHideDialog\", \"onOverwrite\", \"onUpdatePlant\", \"onGrouped\"])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n Language,\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n EntrancePlantStructureCreateDTO,\n ApartmentLabelDTO,\n ApartmentDTO,\n LabelType,\n BuildingImportDto,\n AddressingType,\n SwitchboardConfigDTO,\n SwitchboardDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport i18n from '@/core/translations/i18n';\nimport { DenominationMode } from '@/../client-generator/generated-clients/plants';\nimport { validLanguages } from '@/core/utils/utils';\nimport plantsClient from '@/core/services/plants';\nimport { CallMode, processCsvData, SimpleLabel, SingleLabelApartment } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport ToggleSwitchButton from '@/views/components/ToggleSwitchButton/ToggleSwitchButton.vue';\nimport HelpPopupButton from '@/views/components/HelpPopupButton/HelpPopupButton.vue';\nimport CallModeForm from '@/views/components/CallModeForm/CallModeForm.vue';\nimport DialogImportFile from '@/views/pages/EntrancePlantDetail/EntrancePlantResidents/DialogImportFile/DialogImportFile.vue';\nimport { PropType } from 'vue';\ntype SelectButtonValue = {\n label: string;\n value: DenominationMode;\n};\n\n@Options({\n name: 'DialogEntrancePlantCreateStep2',\n components: {\n ToggleSwitchButton,\n HelpPopupButton,\n CallModeForm,\n DialogImportFile,\n },\n props: {\n plant: {\n type: Object as PropType,\n required: true,\n },\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n})\nexport default class DialogEntrancePlantCreateStep2 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n infoPlant: EntrancePlantInfoCreateDTO = new EntrancePlantInfoCreateDTO();\n Language = Language;\n CallMode = CallMode;\n validLanguages = validLanguages;\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 importedData: SingleLabelApartment[] = [];\n isVisibleDialogImportFile: boolean = false;\n\n switchboardActive: boolean = false;\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.infoPlant = new EntrancePlantInfoCreateDTO({\n addressBookSorting: this.plant.addressBookSorting,\n addressingType: this.plant.addressingType,\n denominationApartments: this.plant.denominationApartments,\n denominationBuildings: this.plant.denominationBuildings,\n denominationFloors: this.plant.denominationFloors,\n denominationRisers: this.plant.denominationRisers,\n language: this.plant.language,\n callingCodeShowAddressBook: this.plant.callingCodeShowAddressBook,\n });\n }\n\n handleGrouped(grouped: { [buildingKey: string]: { apartmentName: string, labels: SimpleLabel[] }[] }) {\n let dictionary = {} as { [key: string]: ApartmentDTO[] };\n for (const buildingKey in grouped) {\n const building = grouped[buildingKey];\n dictionary[buildingKey] = building.map((apartment) => {\n return new ApartmentDTO({\n name: apartment.apartmentName,\n labels: apartment.labels.map((label) => {\n return new ApartmentLabelDTO({\n surname: label.type === LabelType.Private ? label.line1 : undefined,\n name: label.type === LabelType.Private ? label.line2 : undefined,\n companyName: label.type === LabelType.Business ? label.line1 : undefined,\n isPrivate: label.type === LabelType.Private,\n labelType: label.type,\n information: label.info,\n manuallyEdited: true,\n });\n }),\n });\n });\n }\n\n this.infoPlant.buildings = Object.keys(dictionary).map((key) => {\n return new BuildingImportDto({\n name: key,\n apartments: dictionary[key],\n });\n });\n }\n\n get isCallingCode() {\n return (\n this.infoPlant.addressingType ===\n AddressingType.DirectCall_Alphanumeric ||\n this.infoPlant.addressingType === AddressingType.DirectCall_NumbersOnly\n );\n }\n\n get isBRFA() {\n return (\n this.infoPlant.addressingType ===\n AddressingType.BuildingRiserFloorApartment\n );\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 2,\n infoCreate: this.infoPlant,\n });\n }\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep1');\n }\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n this.$emit('onNext', 'DialogEntrancePlantCreateStep3');\n }\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n if(this.switchboardActive) {\n const switchboard = new SwitchboardConfigDTO ({\n switchboard: new SwitchboardDTO({\n name: `${this.$t('AppResourceEP.Switchboard')} 1`,\n scsAddr: 0,\n }),\n devices: [],\n });\n await plantsClient.switchboardPOST(this.plant.desktopId!, switchboard);\n }\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n triggerFilePicker() {\n const input = document.getElementById('fileInput') as HTMLInputElement;\n input.value = '';\n input.click();\n }\n\n async onFileSelected(event: Event): Promise {\n const input = event.target as HTMLInputElement;\n if (!input.files || input.files.length === 0) {\n console.error('No file selected!');\n return;\n }\n\n const file = input.files[0];\n if (file.type !== 'text/csv') {\n console.error('File is not a CSV!');\n return;\n }\n this.$store.dispatch('SET_APP_LOADING', true);\n const reader = new FileReader();\n\n reader.onload = async (e: ProgressEvent) => {\n let text = e.target?.result;\n this.$store.dispatch('SET_APP_LOADING', false);\n if (typeof text !== 'string') {\n console.error('Failed to read file as text!');\n return;\n } else {\n if (!text.includes(',')) text = text.replaceAll(';', ',');\n const data = await processCsvData(text);\n if (data.length === 0) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('importFile.error'),\n closable: true,\n life: 6000,\n });\n }\n this.importedData = data;\n this.isVisibleDialogImportFile = true;\n }\n };\n\n reader.onerror = (e) => {\n console.error('Failed to read file!', e);\n };\n reader.readAsText(file); // Legge il contenuto del file come stringa\n }\n\n handleCloseDialog() {\n this.importedData = [];\n this.isVisibleDialogImportFile = false;\n }\n\n async overwrite() {\n this.handleCloseDialog();\n this.handleNextButton();\n }\n\n async handleUpdatePlant(plant: EntrancePlantDetailDTO) {\n this.plant = plant;\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep2.vue?vue&type=template&id=bf58db64&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep2.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep2.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, 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: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = {\n class: \"p-field d-flex mb-3 align-items-end\",\n style: {\"height\":\"23px\"}\n}\nconst _hoisted_6 = { class: \"p-field-label\" }\nconst _hoisted_7 = { class: \"fs-15 label-error ml-auto\" }\nconst _hoisted_8 = { class: \"list-blocks\" }\nconst _hoisted_9 = { class: \"form-custom d-flex align-items-center w-100\" }\nconst _hoisted_10 = { class: \"p-field mr-2\" }\nconst _hoisted_11 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_12 = { class: \"d-flex flex-column\" }\nconst _hoisted_13 = { class: \"p-field\" }\nconst _hoisted_14 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_15 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CardContainer = _resolveComponent(\"CardContainer\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.CreateStructure\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, { class: \"dialog-scroll\" }, {\n default: _withCtx(() => [\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupBuilding\")), 1),\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.cantAddBuildingString), 1)\n ]),\n _createVNode(_component_CardContainer, {\n titleIcon: \n require(`@/assets/images/entrancePlants/icon-building.svg`)\n ,\n title: _ctx.titleCard,\n showActionButton: true,\n onOnActionButtonClick: _ctx.addBuilding,\n actionButtonLabel: _ctx.$t('AppResource.Add')\n }, {\n default: _withCtx(() => [\n _createVNode(\"ul\", _hoisted_8, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.buildings, (building, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"new-building\",\n key: i\n }, [\n _createVNode(\"form\", _hoisted_9, [\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(`${_ctx.$t(\"NameBuilding\")} ${\n i + 1\n }`) + \": \", 1),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n modelValue: building.name,\n \"onUpdate:modelValue\": ($event: any) => (building.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\n \"AppResourceEP.NumberOfApartmentsUpper\"\n )) + \": \", 1),\n _createVNode(_component_Dropdown, {\n modelValue: building.apartmentsCount,\n \"onUpdate:modelValue\": ($event: any) => (building.apartmentsCount = $event),\n options: _ctx.noAppartmentOptions(i),\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\"])\n ]),\n _createVNode(_component_Button, {\n disabled: _ctx.buildings.length == 1,\n label: _ctx.$t('AppResource.Delete'),\n class: [\"ml-auto p-button-text\", {\n 'text-gray': _ctx.buildings.length === 1,\n }],\n onClick: ($event: any) => (_ctx.handleBuildingRemove(i))\n }, null, 8, [\"disabled\", \"label\", \"class\", \"onClick\"])\n ])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }, 8, [\"titleIcon\", \"title\", \"onOnActionButtonClick\", \"actionButtonLabel\"])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_15, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n BuildingCreateDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { AddressingType } from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\nimport { noAppartmentOptions } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport plantsClient from '@/core/services/plants';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep3',\n components: {\n CardContainer,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n }, \n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n buildings: BuildingCreateDTO[] = [];\n cantAddBuildingString = '';\n\n get titleCard() {\n return `${this.buildings.length} ${this.$t(\n this.buildings.length == 1\n ? 'AppResourceEP.Building'\n : 'AppResourceEP.Buildings'\n ).toString()}`;\n }\n\n noAppartmentOptions(buldingIndex: number) {\n const otherBuildings = this.buildings.filter(\n (building, index) => index !== buldingIndex\n );\n const totalApartments = otherBuildings.reduce(\n (acc, building) => acc + building.apartmentsCount!,\n 0\n );\n return noAppartmentOptions(3999-totalApartments);\n } \n\n addBuilding() {\n if(this.noAppartmentOptions(this.buildings.length).length === 0) {\n this.cantAddBuilding();\n return;\n }\n this.buildings.push(\n new BuildingCreateDTO({\n name: this.getNewBuildingName(this.plant),\n apartmentsCount: 1,\n })\n );\n }\n\n cantAddBuilding() {\n this.cantAddBuildingString = this.$t('entrancePlant.apartmentLimitReached', { maxApartments: 3999 });\n setTimeout(() => {\n this.cantAddBuildingString = '';\n }, 4000);\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.fillBuildings();\n if (this.buildings.length === 0) {\n this.addBuilding();\n }\n }\n\n fillBuildings() {\n this.plant.buildings?.forEach((building) => {\n this.buildings.push(\n new BuildingCreateDTO({\n apartmentsCount: building.apartments?.length,\n buildingId: building.buildingId,\n name: building.name,\n })\n );\n });\n }\n\n handleBuildingRemove(index: number) {\n this.buildings.splice(index, 1);\n }\n\n private getNewBuildingName(plant: EntrancePlantDetailDTO): string {\n let newBuildingName: string;\n let buildingIndex: number;\n let counter = 0;\n do {\n counter++;\n buildingIndex = this.buildings.length + counter;\n newBuildingName = `${this.$t('AppResourceEP.Building')} ${toLabel(\n counter,\n plant.denominationBuildings\n )}`;\n } while (this.buildings.some((x) => x.name == newBuildingName));\n return newBuildingName;\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n buildingsCreate: this.buildings,\n });\n }\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep2');\n }\n\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n\n const nextPage =\n this.plant.addressingType === AddressingType.BuildingRiserFloorApartment\n ? 'DialogEntrancePlantCreateStep4'\n : 'DialogEntrancePlantCreateStep6';\n\n this.$emit('onNext', nextPage);\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep3.vue?vue&type=template&id=2564ca9a&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep3.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep3.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"p-field\" }\nconst _hoisted_6 = { class: \"p-field-label mb-3\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"list-blocks\"\n}\nconst _hoisted_8 = {\n class: \"d-flex\",\n style: {\"align-items\":\"start\"}\n}\nconst _hoisted_9 = { class: \"p-field mr-3\" }\nconst _hoisted_10 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_11 = { class: \"d-flex flex-column\" }\nconst _hoisted_12 = { class: \"p-field\" }\nconst _hoisted_13 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"list-blocks-secondary p-0\"\n}\nconst _hoisted_15 = { class: \"form-custom d-flex\" }\nconst _hoisted_16 = { class: \"p-field mr-4\" }\nconst _hoisted_17 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_18 = { class: \"d-flex flex-column\" }\nconst _hoisted_19 = { class: \"p-field\" }\nconst _hoisted_20 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_21 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_NumberButtons = _resolveComponent(\"NumberButtons\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_CardContainer = _resolveComponent(\"CardContainer\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"SetupRisersTitle\", { buildingName: _ctx.buildingName })), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n (!_ctx.changingBuilding)\n ? (_openBlock(), _createBlock(_component_ElScrollbar, {\n key: 0,\n class: \"dialog-scroll\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupBuilding\")), 1)\n ]),\n _createVNode(_component_CardContainer, {\n titleIcon: \n require(`@/assets/images/entrancePlants/icon-riser.svg`)\n ,\n title: _ctx.titleCard,\n showActionButton: false\n }, {\n actionButton: _withCtx(() => [\n _createVNode(_component_NumberButtons, {\n lightTheme: \"\",\n minValue: 1,\n modelValue: _ctx.risersCount,\n onIncrement: _ctx.addRiser,\n onDecrement: _ctx.removeRiser\n }, null, 8, [\"modelValue\", \"onIncrement\", \"onDecrement\"])\n ]),\n default: _withCtx(() => [\n (_ctx.currentRFAConfig)\n ? (_openBlock(), _createBlock(\"ul\", _hoisted_7, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.currentRFAConfig.risers, (riser, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"riser-row\",\n key: i\n }, [\n _createVNode(\"form\", _hoisted_8, [\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.riserName(riser.index)) + \": \", 1),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: riser.name,\n \"onUpdate:modelValue\": ($event: any) => (riser.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"label\", _hoisted_13, _toDisplayString(_ctx.$t(\"AppResourceEP.NumberOfFloorsUpper\")) + \": \", 1),\n _createVNode(_component_Dropdown, {\n options: _ctx.floorsCountValues,\n modelValue: riser.floors.length,\n onChange: \n (e) =>\n _ctx.changeFloorNumber(\n riser,\n e.value\n )\n \n }, null, 8, [\"options\", \"modelValue\", \"onChange\"])\n ]),\n (riser.floors)\n ? (_openBlock(), _createBlock(\"ul\", _hoisted_14, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(riser.floors, (floor, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"riser-row\",\n key: i\n }, [\n _createVNode(\"form\", _hoisted_15, [\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"label\", _hoisted_17, _toDisplayString(_ctx.floorName(\n floor.index\n )) + \": \", 1),\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n modelValue: floor.name,\n \"onUpdate:modelValue\": ($event: any) => (floor.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_19, [\n _createVNode(\"label\", _hoisted_20, _toDisplayString(_ctx.$t(\n \"AppResourceEP.NumberOfApartmentsUpper\"\n )) + \": \", 1),\n _createVNode(_component_Dropdown, {\n options: _ctx.apartmentCountValues,\n modelValue: floor.numberOfApartments,\n onChange: \n (e) =>\n _ctx.changeApartmentNumber(\n floor,\n e.value\n )\n \n }, null, 8, [\"options\", \"modelValue\", \"onChange\"])\n ])\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"titleIcon\", \"title\"])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"footer\", _hoisted_21, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n FloorConfigDTO,\n RiserConfigDTO,\n RFAConfigDTO,\n BuildingDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport NumberButtons from '@/views/components/NumberButtons/NumberButtons.vue';\nimport plantsClient from '@/core/services/plants';\nimport { distributeApartmentsToRaisersAndFloors } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep4',\n components: {\n CardContainer,\n NumberButtons,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep4 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n currentBuildingIndex = 0;\n distributeApartmentsToRaisersAndFloors = distributeApartmentsToRaisersAndFloors;\n\n changingBuilding = false;\n rfaConfig: { [key: string]: RFAConfigDTO } = {};\n floorsCountValues: number[] = [];\n\n get titleCard() {\n return `${this.risersCount} ${this.$t(\n this.risersCount == 1 ? 'AppResourceEP.Riser' : 'AppResourceEP.Risers'\n ).toString()}`;\n }\n\n get buildingName() {\n return this.currentBuilding?.name;\n }\n\n get currentBuilding(): BuildingDTO | null {\n if (this.plant.buildings) {\n return this.plant.buildings[this.currentBuildingIndex];\n }\n return null;\n }\n\n get currentRFAConfig(): RFAConfigDTO | null {\n if (!this.currentBuilding) return null;\n if (!this.currentBuilding.buildingId) return null;\n return this.rfaConfig[this.currentBuilding.buildingId];\n }\n\n get risersCount(): number {\n if (!this.currentRFAConfig) return 0;\n if (!this.currentRFAConfig.risers) return 0;\n return this.currentRFAConfig.risers.length;\n }\n\n get apartmentCountValues() {\n return [...Array(this.currentBuilding?.apartments?.length).keys()].map(\n (i) => i + 1\n );\n }\n\n riserName(index: number): string {\n return `${this.$t('AppResourceEP.Name')} ${this.$t(\n 'AppResourceEP.Riser'\n )} ${toLabel(index, this.plant.denominationRisers)}`;\n }\n\n floorName(index: number): string {\n return `${this.$t('AppResourceEP.Name')} ${this.$t(\n 'AppResourceEP.Floor'\n )} ${toLabel(index, this.plant.denominationFloors)}`;\n }\n\n changeFloorNumber(riser: RiserConfigDTO, value: number) {\n if (!this.currentRFAConfig) return;\n if (!riser.floors) riser.floors = [];\n const count = riser.floors.length - value;\n if (count < 0) {\n this.addFloors(riser, Math.abs(count));\n this.distributeApartmentsToRaisersAndFloors(this.currentRFAConfig);\n } else {\n this.removeFloors(riser, count);\n }\n }\n\n changeApartmentNumber(floor: FloorConfigDTO, value: number) {\n if (!this.currentRFAConfig) return;\n floor.numberOfApartments = value;\n }\n\n addRiser() {\n if (!this.currentRFAConfig) return;\n if (!this.currentRFAConfig.risers) this.currentRFAConfig.risers = [];\n\n const riserName = `${this.$t('AppResourceEP.Riser')} ${toLabel(\n this.risersCount + 1,\n this.plant.denominationRisers\n )}`;\n\n const riser = new RiserConfigDTO({\n index: this.risersCount + 1,\n name: riserName,\n });\n\n this.addFloors(riser, 1);\n\n this.currentRFAConfig.risers.push(riser);\n this.distributeApartmentsToRaisersAndFloors(this.currentRFAConfig);\n }\n\n addFloors(riser: RiserConfigDTO, floorsCount: number) {\n if (!riser.floors) riser.floors = [];\n\n for (let index = 0; index < floorsCount; index++) {\n const floorIndex = riser.floors.length + 1;\n const floorName = `${this.$t('AppResourceEP.Floor')} ${toLabel(\n floorIndex,\n this.plant.denominationFloors\n )}`;\n\n riser.floors.push(\n new FloorConfigDTO({\n index: floorIndex,\n name: floorName,\n numberOfApartments: 1,\n })\n );\n }\n }\n\n removeFloors(riser: RiserConfigDTO, floorsCount: number) {\n if (!riser.floors) return;\n riser.floors.splice(riser.floors.length - floorsCount, floorsCount);\n }\n\n removeRiser() {\n if (!this.currentRFAConfig) return;\n if (!this.currentRFAConfig.risers) return;\n this.currentRFAConfig.risers.splice(\n this.currentRFAConfig.risers.length - 1,\n 1\n );\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.floorsCountValues = [\n ...Array(this.currentBuilding?.apartments?.length).keys(),\n ].map((i) => i + 1);\n if (this.plant.buildings) {\n for (const building of this.plant.buildings) {\n if (!building.buildingId) continue;\n if (!building.apartments) continue;\n if (building.risers == null || building.risers.length == 0) {\n this.rfaConfig[building.buildingId] = new RFAConfigDTO({\n numberOfApartments: building.apartments.length,\n risers: [\n new RiserConfigDTO({\n index: 1,\n name: `${this.$t('AppResourceEP.Riser')} ${toLabel(\n 1,\n this.plant.denominationRisers\n )}`,\n floors: [\n new FloorConfigDTO({\n index: 1,\n name: `${this.$t('AppResourceEP.Floor')} ${toLabel(\n 1,\n this.plant.denominationFloors\n )}`,\n numberOfApartments: building.apartments.length,\n }),\n ],\n }),\n ],\n });\n }\n else {\n var rfaConfig = new RFAConfigDTO({\n numberOfApartments: building.apartments.length,\n risers: [],\n });\n building.risers.forEach((riser) => {\n rfaConfig.risers?.push(\n new RiserConfigDTO({\n riserId: riser.riserId,\n index: Number.parseInt(riser.index!),\n name: riser.name,\n floors: building.floors?.filter(r=>r.riserId==riser.riserId).map((floor) => {\n return new FloorConfigDTO({\n index: Number.parseInt(floor.index!),\n name: floor.name,\n numberOfApartments:building.apartments?.filter(a=>a.floorId==floor.floorId).length,\n });\n }),\n }),\n );\n });\n this.rfaConfig[building.buildingId] = rfaConfig;\n }\n }\n }\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 4,\n plantConfigStructure: this.rfaConfig,\n });\n }\n\n handleBackButton() {\n if (this.plant.buildings) {\n if (this.currentBuildingIndex > 0) {\n this.changeBuilding('back');\n return;\n }\n }\n this.$emit('onBack', 'DialogEntrancePlantCreateStep3');\n }\n\n async handleNextButton() {\n if (this.plant.buildings) {\n if (this.currentBuildingIndex < this.plant.buildings.length - 1) {\n await this.changeBuilding('next');\n return;\n }\n await this.updatePlantStructure(this.getDataToSave());\n }\n this.$emit('onNext', 'DialogEntrancePlantCreateStep5');\n }\n\n async changeBuilding(direction: 'next' | 'back') {\n this.$emit('is-loading', true);\n this.changingBuilding = true;\n if (direction === 'next') {\n this.currentBuildingIndex++;\n } else {\n this.currentBuildingIndex--;\n }\n setTimeout(() => {\n this.changingBuilding = false;\n this.$emit('is-loading', false)\n }, 500);\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep4.vue?vue&type=template&id=d390f8fa&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep4.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep4.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogEntrancePlantCreateStep4.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"p-field mr-3\" }\nconst _hoisted_6 = { class: \"p-field-label mb-3\" }\nconst _hoisted_7 = { class: \"calling-code-container\" }\nconst _hoisted_8 = { class: \"calling-code-card\" }\nconst _hoisted_9 = { class: \"column-code\" }\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"div\", { class: \"vertical-line\" }, null, -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"span\", { class: \"code\" }, \"B\", -1)\nconst _hoisted_12 = { class: \"column-code\" }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"div\", { class: \"vertical-line\" }, null, -1)\nconst _hoisted_14 = { class: \"code\" }\nconst _hoisted_15 = { class: \"column-code\" }\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"div\", { class: \"vertical-line\" }, null, -1)\nconst _hoisted_17 = { class: \"code\" }\nconst _hoisted_18 = { class: \"column-code\" }\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"div\", { class: \"vertical-line\" }, null, -1)\nconst _hoisted_20 = { class: \"code\" }\nconst _hoisted_21 = { class: \"text-center mt-4\" }\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"b\", null, \"Example:\", -1)\nconst _hoisted_23 = { class: \"code\" }\nconst _hoisted_24 = { class: \"code\" }\nconst _hoisted_25 = { class: \"code\" }\nconst _hoisted_26 = { class: \"code\" }\nconst _hoisted_27 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupWizardStepSummaryTitle\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupWizardStepSummarySubTitle\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Building\")), 1),\n _hoisted_10,\n _hoisted_11\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Riser\")), 1),\n _hoisted_13,\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.RiserShort\")), 1),\n _createVNode(\"span\", {\n class: {\n gray: !_ctx.recapCode.riserDoubleChars,\n }\n }, _toDisplayString(_ctx.$t(\"AppResourceEP.RiserShort\")), 3)\n ])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Floor\")), 1),\n _hoisted_16,\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.FloorShort\")), 1),\n _createVNode(\"span\", {\n class: {\n gray: !_ctx.recapCode.floorDoubleChars,\n }\n }, _toDisplayString(_ctx.$t(\"AppResourceEP.FloorShort\")), 3)\n ])\n ]),\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Apartment\")), 1),\n _hoisted_19,\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.ApartmentShort\")), 1),\n _createVNode(\"span\", {\n class: {\n gray: !_ctx.recapCode.apartmentDoubleChars,\n }\n }, _toDisplayString(_ctx.$t(\"AppResourceEP.ApartmentShort\")), 3)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createVNode(\"div\", null, [\n _createVNode(\"span\", _hoisted_23, _toDisplayString(_ctx.recapCode.buildingCode), 1),\n _createVNode(\"span\", _hoisted_24, _toDisplayString(_ctx.recapCode.riserCode), 1),\n _createVNode(\"span\", _hoisted_25, _toDisplayString(_ctx.recapCode.floorCode), 1),\n _createVNode(\"span\", _hoisted_26, _toDisplayString(_ctx.recapCode.apartmentCode), 1)\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_27, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\nCallingCodeDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport plantsClient from '@/core/services/plants';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep5',\n components: {\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep5 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n recapCode = new CallingCodeDTO();\n \n mounted(): void {\n this.initializeData();\n }\n\n async initializeData() {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n this.recapCode = await plantsClient.callingcoderecap(this.plantId);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep4');\n }\n\n async handleNextButton() {\n this.$emit('onNext', 'DialogEntrancePlantCreateStep6');\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep5.vue?vue&type=template&id=a58b476a&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep5.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep5.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogEntrancePlantCreateStep5.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"mr-3\" }\nconst _hoisted_6 = { class: \"p-field\" }\nconst _hoisted_7 = { class: \"p-field-label mb-3\" }\nconst _hoisted_8 = { class: \"list-blocks\" }\nconst _hoisted_9 = { class: \"form-custom d-flex align-items-center w-100\" }\nconst _hoisted_10 = { class: \"p-field mr-4\" }\nconst _hoisted_11 = { class: \"p-field-label\" }\nconst _hoisted_12 = { class: \"d-flex flex-column\" }\nconst _hoisted_13 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CardContainer = _resolveComponent(\"CardContainer\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.AddGates\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupNumberOfGates\")), 1)\n ]),\n (_ctx.plant.gates)\n ? (_openBlock(), _createBlock(_component_CardContainer, {\n key: 0,\n titleIcon: \n require(`@/assets/images/entrancePlants/icon-gate.svg`)\n ,\n title: _ctx.titleCard,\n showActionButton: true,\n onOnActionButtonClick: _ctx.addGate,\n actionButtonLabel: _ctx.$t('AppResource.Add')\n }, {\n default: _withCtx(() => [\n _createVNode(\"ul\", _hoisted_8, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plant.gates, (gate, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"new-building\",\n key: i\n }, [\n _createVNode(\"form\", _hoisted_9, [\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResourceEP.Name\")) + \": \", 1),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n modelValue: gate.name,\n \"onUpdate:modelValue\": ($event: any) => (gate.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(_component_Button, {\n disabled: _ctx.plant.gates.length == 1,\n label: _ctx.$t('AppResource.Delete'),\n class: \"ml-auto p-button-text\",\n onClick: ($event: any) => (_ctx.handleGateRemove(i))\n }, null, 8, [\"disabled\", \"label\", \"onClick\"])\n ])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }, 8, [\"titleIcon\", \"title\", \"onOnActionButtonClick\", \"actionButtonLabel\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_13, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n AddressingType,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n GateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { DenominationMode } from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\nimport plantsClient from '@/core/services/plants';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep6',\n components: {\n CardContainer,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep6 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n\n get titleCard() {\n return `${this.plant.gates?.length} ${this.$t(\n this.plant.gates?.length == 1\n ? 'AppResourceEP.Gate'\n : 'AppResourceEP.Gates'\n ).toString()}`;\n }\n\n addGate() {\n if (!this.plant.gates) this.plant.gates = [];\n\n this.plant.gates.push(\n new GateDTO({\n name: this.getNewGateName(),\n apartments: [],\n })\n );\n }\n \n mounted(): void {\n if (!this.plant.gates || this.plant.gates.length === 0) {\n this.plant.gates = [];\n this.addGate();\n }\n }\n\n handleGateRemove(index: number) {\n if (!this.plant.gates) return;\n this.plant.gates.splice(index, 1);\n }\n\n private getNewGateName(): string {\n let newGateName: string;\n let counter = 0;\n do {\n counter++;\n newGateName = `${this.$t('AppResourceEP.Gate')} ${counter}`;\n } while (this.plant.gates?.some((x) => x.name == newGateName));\n return newGateName;\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n gateCreate: this.plant.gates,\n });\n }\n\n handleBackButton() {\n const prevPage =\n this.plant.addressingType !== AddressingType.BuildingRiserFloorApartment\n ? 'DialogEntrancePlantCreateStep3'\n : 'DialogEntrancePlantCreateStep5';\n this.$emit('onBack', prevPage);\n }\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n this.$emit('onNext', 'DialogEntrancePlantCreateStep7');\n }\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep6.vue?vue&type=template&id=403376bd&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep6.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep6.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"dialog-custom__content form-custom\"\n}\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"p-field\" }\nconst _hoisted_6 = { class: \"p-field-label mb-3\" }\nconst _hoisted_7 = { class: \"d-flex mb-4\" }\nconst _hoisted_8 = {\n class: \"p-field-label mt-1\",\n for: \"scsAddr\"\n}\nconst _hoisted_9 = {\n for: \"scsAddr\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_10 = { class: \"p-field-label mt-5 mb-3\" }\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { key: 1 }\nconst _hoisted_13 = { class: \"mt-4 mb-3 secondary-label fw-normal fs-12 text-uppercase\" }\nconst _hoisted_14 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ButtonSelection = _resolveComponent(\"ButtonSelection\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_ListItemCheck = _resolveComponent(\"ListItemCheck\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.pageTitle), 1)\n ]),\n (_ctx.currentGate)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n (!_ctx.changingGate)\n ? (_openBlock(), _createBlock(_component_ElScrollbar, {\n key: 0,\n class: \"list\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"SelectDevicesInGate\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_ButtonSelection, {\n class: \"ml-1 mr-4\",\n icon: require(`@/assets/images/entrancePlants/icon-new-pe.svg`)\n ,\n label: _ctx.$t('AppResourceEP.NewPeDevice'),\n modelValue: _ctx.currentGate.newPeSelected,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.currentGate.newPeSelected = $event)),\n disabled: _ctx.newPeDisabled\n }, null, 8, [\"icon\", \"label\", \"modelValue\", \"disabled\"]),\n _createVNode(_component_ButtonSelection, {\n class: \"mr-4\",\n icon: require(`@/assets/images/entrancePlants/icon-keypad.svg`)\n ,\n label: _ctx.$t('AppResourceEP.KeyPad'),\n modelValue: _ctx.currentGate.keypadSelected,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.currentGate.keypadSelected = $event)),\n disabled: _ctx.keypadDisabled\n }, null, 8, [\"icon\", \"label\", \"modelValue\", \"disabled\"]),\n _createVNode(_component_ButtonSelection, {\n class: \"mr-4\",\n icon: require(`@/assets/images/entrancePlants/icon-smart-reader.svg`)\n ,\n label: _ctx.$t('AppResourceEP.SmartReader'),\n modelValue: _ctx.currentGate.smartReaderSelected,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.currentGate.smartReaderSelected = $event)),\n disabled: _ctx.smartReaderDisabled\n }, null, 8, [\"icon\", \"label\", \"modelValue\", \"disabled\"])\n ]),\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceScsAddress\")), 1),\n _createVNode(_component_InputText, {\n id: \"scsAddr\",\n class: {'input-error': _ctx.scsAddrNotValid},\n type: \"number\",\n style: {\"width\":\"40%\"},\n min: _ctx.MIN_SCS_ADDRESS,\n max: _ctx.MAX_SCS_ADDRESS,\n modelValue: _ctx.currentGate.scsAddress,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.currentGate.scsAddress = $event))\n }, null, 8, [\"class\", \"min\", \"max\", \"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.invalidScsReason), 1)\n ]),\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupDefineGatesBuildingGovern\")), 1),\n (_ctx.plant.buildings && _ctx.currentGateId)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(_component_ListItemCheck, {\n label: _ctx.$t('AppResource.All'),\n inputId: \"AllBuilding\",\n name: \"building\",\n modelValue: _ctx.allBuildings[_ctx.currentGateId],\n \"onUpdate:modelValue\": [\n _cache[5] || (_cache[5] = ($event: any) => (_ctx.allBuildings[_ctx.currentGateId] = $event)),\n _cache[6] || (_cache[6] = ($event: any) => (_ctx.handleUpdateBuildingSelection(_ctx.AllBuildingsValue)))\n ],\n binary: \"\"\n }, null, 8, [\"label\", \"modelValue\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plant.buildings, (building, i) => {\n return (_openBlock(), _createBlock(_component_ListItemCheck, {\n key: i,\n last: i == _ctx.plant.buildings.length - 1,\n label: building.name,\n value: building.buildingId,\n inputId: 'building' + i,\n name: \"building\",\n modelValue: _ctx.selectedBuildingIds[_ctx.currentGateId],\n \"onUpdate:modelValue\": [\n _cache[7] || (_cache[7] = ($event: any) => (_ctx.selectedBuildingIds[_ctx.currentGateId] = $event)),\n ($event: any) => (_ctx.handleUpdateBuildingSelection('', building.buildingId))\n ]\n }, null, 8, [\"last\", \"label\", \"value\", \"inputId\", \"modelValue\", \"onUpdate:modelValue\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isBRFA && _ctx.currentGateId)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_12, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.selectedBuildings, (b, i) => {\n return (_openBlock(), _createBlock(_Fragment, { key: i }, [\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.For\")) + \" \" + _toDisplayString(b.name) + \" \" + _toDisplayString(_ctx.$t(\"TheyManage\")), 1)\n ]),\n (b && b.risers && b.buildingId)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_ListItemCheck, {\n label: _ctx.$t('AppResourceEP.SetupDefineGatesBuildingAllRisers'),\n inputId: \"AllRisers_b_{{b.buildingId}}\",\n name: \"riser\",\n modelValue: _ctx.allRisers[_ctx.currentGateId][b.buildingId],\n \"onUpdate:modelValue\": [($event: any) => (_ctx.allRisers[_ctx.currentGateId][b.buildingId] = $event), ($event: any) => (_ctx.handleUpdateRiserSelection(_ctx.AllRisersValue, b.buildingId))],\n binary: \"\"\n }, null, 8, [\"label\", \"modelValue\", \"onUpdate:modelValue\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(b.risers, (riser, i) => {\n return (_openBlock(), _createBlock(_component_ListItemCheck, {\n key: i,\n last: i == b.risers.length - 1,\n label: riser.name,\n value: riser.riserId,\n inputId: 'riser' + i,\n name: \"riser\",\n modelValue: _ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId],\n \"onUpdate:modelValue\": [($event: any) => (_ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId] = $event), ($event: any) => (_ctx.handleUpdateRiserSelection('', b.buildingId))]\n }, null, 8, [\"last\", \"label\", \"value\", \"inputId\", \"modelValue\", \"onUpdate:modelValue\"]))\n }), 128))\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"footer\", _hoisted_14, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: !_ctx.nextEnabled\n }, null, 8, [\"onClick\", \"label\", \"disabled\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n AddressingType,\n BuildingDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n EPDeviceTypeEnum,\n GateConfigDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport plantsClient from '@/core/services/plants';\nimport ButtonSelection from '@/views/components/ButtonSelection/ButtonSelection.vue';\nimport { SET_SELECTED_PLANT_ID } from '@/core/store/action-types';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep7',\n components: {\n CardContainer,\n ButtonSelection,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\n },\n \"currentGate.scsAddress\"() {\n this.verifyValidityOfScsAddress();\n },\n \"currentGate.newPeSelected\": function (newVal) {\n if (newVal) {\n this.smartReaderDisabled = true;\n this.keypadDisabled = false;\n } else if (!this.currentGate.keypadSelected) {\n this.smartReaderDisabled = false;\n }\n },\n \"currentGate.keypadSelected\": function (newVal) {\n if (newVal) {\n this.smartReaderDisabled = true;\n this.newPeDisabled = false;\n } else if (!this.currentGate.newPeSelected) {\n this.smartReaderDisabled = false;\n }\n },\n \"currentGate.smartReaderSelected\": function (newVal) {\n if (newVal) {\n this.newPeDisabled = true;\n this.keypadDisabled = true;\n } else {\n this.newPeDisabled = false;\n this.keypadDisabled = false;\n }\n },\n },\n emits: ['is-loading', 'onBack', 'onNext', 'plant-edited'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep7 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n currentGateIndex = 0;\n gateConfig: { [key: string]: GateConfigDTO } = {};\n readonly MIN_SCS_ADDRESS = 0;\n readonly MAX_SCS_ADDRESS = 95;\n scsAddrNotValid: boolean = false;\n invalidScsReason: string = '';\n\n changingGate = false;\n\n readonly AllBuildingsValue = \"All_buildings\";\n readonly AllRisersValue = \"All_risers\";\n \n allBuildings: {[key: string]: boolean} = {};\n allRisers: { [key: string]: { [innerKey: string]: boolean } } = {};\n selectedBuildingIds:{ [key: string]: string[] } = {};\n selectedRiserIds: { [key: string]: { [innerKey: string]: string[] } } = {};\n\n get selectedBuildings(): BuildingDTO[] | null {\n if (!this.plant.buildings) return null;\n return this.plant.buildings.filter(b => this.selectedBuildingIds[this.currentGateId!].includes(b.buildingId!));\n }\n\n get currentGateId(): string | null {\n if (!this.plant.gates) return null;\n return this.plant.gates[this.currentGateIndex].gateId ?? null;\n }\n\n get currentGateScs(): number {\n return this.plant.gates![this.currentGateIndex].scsAddress!;\n }\n\n get currentGate(): GateConfigDTO | null {\n if (!this.plant.gates) return null;\n const gateId = this.currentGateId;\n if (!gateId) return null;\n const g = this.gateConfig[gateId];\n return g;\n }\n get isBRFA() { \n return this.plant.addressingType==AddressingType.BuildingRiserFloorApartment;\n }\n\n get pageTitle() {\n return `${this.$t('AppResourceEP.SetupGateTitle').toString()} ${\n this.currentGateIndex + 1\n }`;\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n if (!this.plant.gates) return; \n for (const gate of this.plant.gates) {\n this.selectedBuildingIds[gate.gateId!] = [];\n this.selectedRiserIds[gate.gateId!] = {};\n this.allBuildings[gate.gateId!] = false;\n this.allRisers[gate.gateId!] = {};\n this.plant.buildings?.forEach((building) => {\n this.selectedRiserIds[gate.gateId!][building.buildingId!] = [];\n this.allRisers[gate.gateId!][building.buildingId!] = false;\n });\n gate!.connectedBuildingIds!.forEach((buildingId) => {\n this.selectedRiserIds[gate.gateId!][buildingId] = [];\n this.allRisers[gate.gateId!][buildingId] = false;\n });\n this.gateConfig[gate.gateId!] = new GateConfigDTO({\n scsAddress: gate.scsAddress,\n gateName: gate.name,\n newPeSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.Linea5000) ?? false,\n keypadSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.KeyPad) ?? false,\n smartReaderSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.SmartAccess) ?? false,\n connectedBuildingIds: gate.connectedBuildingIds ?? [],\n connectedRiserIds: gate.connectedRiserIds ?? [],\n connectedApartmentsIds: gate.apartments ?? [],\n });\n }\n this.buildForm(); \n this.refreshDeviceSelection();\n }\n buildForm() {\n if (this.plant.gates && this.plant.gates.length > 0) {\n for (const gate of this.plant.gates) {\n if (gate.connectedBuildingIds) {\n gate.connectedBuildingIds!.forEach((buildingId) => {\n this.selectedBuildingIds[gate.gateId!].push(buildingId);\n let buildings = this.plant.buildings!.filter(b => b.buildingId == buildingId);\n let building = buildings.length > 0 ? buildings[0] : null;\n if (building) {\n gate.connectedRiserIds!.forEach(riserId => {\n if (!this.selectedRiserIds[gate.gateId!][buildingId].includes(riserId!) && building!.risers!.some(r => r.riserId == riserId!)) {\n this.selectedRiserIds[gate.gateId!][buildingId].push(riserId);\n }\n });\n }\n });\n }\n }\n }\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n gateConfigStructure: this.gateConfig,\n });\n }\n\n checkInputValidity() {\n if(this.currentGate) {\n if(this.currentGate.scsAddress! < this.MIN_SCS_ADDRESS)this.currentGate.scsAddress = this.MIN_SCS_ADDRESS\n if(this.currentGate.scsAddress! > this.MAX_SCS_ADDRESS)this.currentGate.scsAddress = this.MAX_SCS_ADDRESS\n }\n }\n\n verifyValidityOfScsAddress() {\n if(this.currentGate) {\n if (this.currentGate.scsAddress === undefined) return false;\n \n const value = Number(this.currentGate.scsAddress);\n\n const scsAddressesPlusCurrentAdress = this.plant.scsAddressHelper!.availableScsAddressGate!.map(addr => addr) ?? [];\n scsAddressesPlusCurrentAdress?.push(this.currentGateScs);\n\n const acceptedRange = value >= this.MIN_SCS_ADDRESS && value <= this.MAX_SCS_ADDRESS;\n const isItAvailable = scsAddressesPlusCurrentAdress.includes(value) ?? false;\n this.scsAddrNotValid = !acceptedRange || !isItAvailable;\n if (!acceptedRange) {\n this.invalidScsReason = this.$t('AppResourceEP.GateScsAddressOutOfRange');\n } else if (!isItAvailable) {\n this.invalidScsReason = this.$t('AppResourceEP.ScsAddressAlreadyInUse');\n } else {\n this.invalidScsReason = '';\n }\n }\n }\n\n retrieveApartmentIds() {\n if (this.isBRFA)\n {\n const selectBuildings = (this.plant.buildings || [])\n .filter((b) => this.currentGate!.connectedBuildingIds?.includes(b.buildingId!));\n const selectedApartments = selectBuildings\n .flatMap((b) => b.apartments || [])\n .filter((r) => r.riserId && this.currentGate!.connectedRiserIds?.includes(r.riserId))\n .map((a) => a.apartmentId!);\n this.currentGate!.connectedApartmentsIds = selectedApartments;\n } \n else \n {\n this.currentGate!.connectedApartmentsIds = this.plant.buildings\n ?.filter((b) => this.currentGate!.connectedBuildingIds?.includes(b.buildingId!))\n .flatMap((b) => b.apartments || [])\n .map((a) => a.apartmentId!) || [];\n }\n }\n\n async handleBackButton() {\n if (this.plant.gates) {\n if (this.currentGateIndex > 0) {\n await this.changeGate('back');\n this.refreshDeviceSelection();\n return;\n }\n }\n this.$emit('onBack', 'DialogEntrancePlantCreateStep6');\n }\n\n async handleNextButton() {\n if (this.currentGate) {\n this.currentGate.connectedRiserIds =[... new Set(Object.values(this.selectedRiserIds[this.currentGateId!]).flat())];\n this.currentGate.connectedBuildingIds = [...new Set(this.selectedBuildingIds[this.currentGateId!])];\n this.retrieveApartmentIds();\n }\n if (this.plant.gates) {\n if (this.currentGateIndex < this.plant.gates.length - 1) {\n await this.changeGate('next');\n this.refreshDeviceSelection();\n return;\n }\n await this.updatePlantStructure(this.getDataToSave());\n }\n this.goToPlantDetail();\n }\n\n async changeGate(direction: 'next' | 'back') {\n this.$emit('is-loading', true);\n this.changingGate = true;\n if (direction === 'next') {\n this.currentGateIndex++;\n } else {\n this.currentGateIndex--;\n }\n setTimeout(() => {\n this.changingGate = false;\n this.$emit('is-loading', false)\n }, 500);\n }\n\n goToPlantDetail() {\n this.$nextTick(async () => {\n await this.$store.dispatch(SET_SELECTED_PLANT_ID, this.plantId);\n this.$router.push({\n name: 'page-entranceplant-dashboard',\n params: { plantId: this.plantId.toString() ?? '' },\n });\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResource.PlantCreated'),\n closable: false,\n life: 3000,\n });\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n });\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n newPeDisabled = false;\n keypadDisabled = false;\n smartReaderDisabled = false;\n refreshDeviceSelection() {\n if (!this.currentGate) return;\n this.newPeDisabled = false;\n this.keypadDisabled = false;\n this.smartReaderDisabled = false;\n\n if(this.selectedBuildingIds[this.currentGateId!].length==this.plant.buildings?.length) {\n this.allBuildings[this.currentGateId!] = true;\n }\n this.selectedBuildingIds[this.currentGateId!].forEach((buildingId) => { \n if(this.selectedRiserIds[this.currentGateId!][buildingId].length==this.plant.buildings?.filter(b => b.buildingId == buildingId)[0].risers?.length) {\n this.allRisers[this.currentGateId!][buildingId] = true;\n }\n });\n }\n\n get nextEnabled(): boolean {\n if (this.scsAddrNotValid) return false\n if (!this.currentGate || !this.selectedBuildingIds[this.currentGateId!]) return false;\n let devicesSelected= ((this.currentGate.newPeSelected == true || this.currentGate.keypadSelected == true || this.currentGate.smartReaderSelected == true));\n let buildingsSelected = this.selectedBuildingIds[this.currentGateId!].length > 0;\n let risersSelected = true;\n if (this.isBRFA) {\n //foreach building selected, check if one riser is selected\n this.selectedBuildingIds[this.currentGateId!].forEach((buildingId) => { \n if (this.selectedRiserIds[this.currentGateId!] && this.selectedRiserIds[this.currentGateId!][buildingId]) {\n risersSelected = risersSelected && this.selectedRiserIds[this.currentGateId!][buildingId].length > 0;\n }\n });\n return devicesSelected && buildingsSelected && risersSelected;\n }\n return devicesSelected && buildingsSelected;\n }\n\n handleUpdateBuildingSelection(option: string, buildingId?: string) {\n if (option == this.AllBuildingsValue) {\n if (!this.allBuildings[this.currentGateId!]) {\n this.selectedBuildingIds[this.currentGateId!].splice(0);\n this.plant.buildings!.forEach(b => {\n this.selectedRiserIds[this.currentGateId!][b.buildingId!] = [];\n this.allRisers[this.currentGateId!][b.buildingId!] = false;\n });\n }\n else {\n this.plant.buildings!.forEach(element => {\n if(!this.selectedBuildingIds[this.currentGateId!].includes(element.buildingId!)) {\n this.selectedBuildingIds[this.currentGateId!].push(element.buildingId!);\n this.selectedRiserIds[this.currentGateId!][element.buildingId!] = [];\n this.allRisers[this.currentGateId!][element.buildingId!] = false;\n }\n });\n }\n }\n else if(buildingId) {\n if (!this.allBuildings[this.currentGateId!] && this.selectedBuildingIds[this.currentGateId!].length == this.plant.buildings?.length) {\n this.allBuildings[this.currentGateId!] = true;\n this.selectedRiserIds[this.currentGateId!][buildingId] = [];\n this.allRisers[this.currentGateId!][buildingId] = false;\n }\n else if (this.allBuildings[this.currentGateId!]) {\n this.allBuildings[this.currentGateId!] = false;\n this.selectedRiserIds[this.currentGateId!][buildingId] = [];\n this.allRisers[this.currentGateId!][buildingId] = false;\n }\n }\n }\n\n handleUpdateRiserSelection(option: string, buildingId: string) {\n let building = this.plant.buildings!.find(b => b.buildingId == buildingId);\n if (building) { \n if (option == this.AllRisersValue) {\n if (!this.allRisers[this.currentGateId!][buildingId]) {\n this.selectedRiserIds[this.currentGateId!][buildingId].splice(0);\n }\n else {\n this.selectedRiserIds[this.currentGateId!][buildingId] = building.risers!.map(r => r.riserId!);\n }\n }\n else {\n if (!this.allRisers[this.currentGateId!][buildingId] && this.selectedRiserIds[this.currentGateId!][buildingId].length == building.risers!.length) {\n this.allRisers[this.currentGateId!][buildingId] = true;\n }\n else if (this.allRisers[this.currentGateId!][buildingId]) {\n this.allRisers[this.currentGateId!][buildingId] = false;\n }\n }\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep7.vue?vue&type=template&id=28b56892&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep7.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep7.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 { Vue, Options } from 'vue-class-component';\nimport {\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport DialogEntrancePlantCreateStep1 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep1/DialogEntrancePlantCreateStep1.vue';\nimport DialogEntrancePlantCreateStep2 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep2/DialogEntrancePlantCreateStep2.vue';\nimport DialogEntrancePlantCreateStep3 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep3/DialogEntrancePlantCreateStep3.vue';\nimport DialogEntrancePlantCreateStep4 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.vue';\nimport DialogEntrancePlantCreateStep5 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.vue';\nimport DialogEntrancePlantCreateStep6 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep6/DialogEntrancePlantCreateStep6.vue';\nimport DialogEntrancePlantCreateStep7 from './DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.vue';\n\nimport plantsClient from '@/core/services/plants';\nimport { SET_SELECTED_PLANT_ID } from '@/core/store/action-types';\nimport { cloneObject, defaultNewEntrancePlant } from '@/core/utils/utils';\n@Options({\n name: 'WizardEntrancePlant',\n components: {\n DialogEntrancePlantCreateStep1,\n DialogEntrancePlantCreateStep2,\n DialogEntrancePlantCreateStep3,\n DialogEntrancePlantCreateStep4,\n DialogEntrancePlantCreateStep5,\n DialogEntrancePlantCreateStep6,\n DialogEntrancePlantCreateStep7,\n },\n props: {\n plantId: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n emits: ['exit-wizard', 'plant-edited', 'update'],\n})\nexport default class WizardEntrancePlant extends Vue {\n plantId: number | null = null;\n isLoading = false;\n nextEnabled = true;\n isEdit!: boolean;\n dialogStep = 1;\n entrancePlant: EntrancePlantDetailDTO = cloneObject(defaultNewEntrancePlant);\n\n dialogStepEntrancePlantComponent = 'DialogEntrancePlantCreateStep1';\n\n mounted() {\n this.initFormPlant();\n }\n\n async initFormPlant() {\n if (this.plantId) {\n await this.fetchPePlant(this.plantId);\n } else {\n this.entrancePlant = cloneObject(defaultNewEntrancePlant);\n }\n }\n\n async handleNext(nextComponentName: string, plantId: number) {\n if (plantId) {\n this.$emit('update', plantId);\n await this.fetchPePlant(plantId);\n } else {\n await this.fetchPePlant(this.plantId);\n }\n this.dialogStepEntrancePlantComponent = nextComponentName;\n }\n\n async handleBack(prevComponentName: string) {\n if (!prevComponentName) this.$emit('exit-wizard');\n else this.dialogStepEntrancePlantComponent = prevComponentName;\n }\n\n async handleEditedPlant() {\n if (this.plantId && this.isEdit) \n this.$emit('plant-edited');\n }\n\n async fetchPePlant(peId: number | null) {\n if (!peId) return;\n this.isLoading = true;\n\n try {\n this.entrancePlant = await plantsClient.entranceplantGET(peId, undefined);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.isLoading = false;\n }\n }\n\n handleStepLoading(isLoading: boolean) {\n this.isLoading = isLoading;\n }\n}\n","import { render } from \"./WizardEntrancePlant.vue?vue&type=template&id=6a941a97&ts=true\"\nimport script from \"./WizardEntrancePlant.ts?vue&type=script&lang=ts\"\nexport * from \"./WizardEntrancePlant.ts?vue&type=script&lang=ts\"\n\nimport \"./WizardEntrancePlant.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 { Vue, Options } from 'vue-class-component';\nimport { PlantType } from '@/../client-generator/generated-clients/plants';\nimport WizardPlantTypeSelection from './WizardPlantTypeSelection/WizardPlantTypeSelection.vue';\nimport WizardAutomationPlant from './WizardAutomationPlant/WizardAutomationPlant.vue'\nimport WizardEntrancePlant from './WizardEntrancePlant/WizardEntrancePlant.vue'\nimport { ResidentialTypePlant } from '@/core/utils/EntrancePlant/entrance-plant.utils';\n\nenum PlantCreateSteps {\n TYPE_SELECTION,\n WIZARD_AUTOMATION,\n WIZARD_ENTRANCE,\n}\n\n@Options({\n name: 'DialogPlantCreate',\n components: {\n WizardPlantTypeSelection,\n WizardAutomationPlant,\n WizardEntrancePlant,\n },\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n editPlantId: {\n type: Number,\n required: false,\n },\n editPlantType: {\n type: Number,\n required: false,\n },\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n if (newValue) this.initFormPlant();\n },\n },\n emits: ['hide-dialog', 'plant-edited'],\n})\nexport default class DialogPlantCreate extends Vue {\n isVisible!: boolean;\n editPlantId: number | null = null;\n localPlantId: number | null = this.editPlantId;\n editPlantType: PlantType | null = null;\n isDialogVisible = false;\n isLoading = false;\n isEdit!: boolean;\n PlantCreateSteps = PlantCreateSteps;\n plantCreateSteps: PlantCreateSteps = PlantCreateSteps.TYPE_SELECTION;\n selectedPlantType: PlantType = PlantType.AUTOMATION_PLANT;\n selectedResidentialType: ResidentialTypePlant = ResidentialTypePlant.NEW_PLANT;\n\n mounted() {\n this.localPlantId = this.editPlantId;\n this.isDialogVisible = this.isVisible;\n }\n\n initFormPlant() {\n this.localPlantId = this.editPlantId;\n if (this.editPlantId) {\n if (this.editPlantType == PlantType.ENTRANCE_PLANT) {\n this.plantCreateSteps = PlantCreateSteps.WIZARD_ENTRANCE;\n } else {\n this.plantCreateSteps = PlantCreateSteps.WIZARD_AUTOMATION;\n }\n } else {\n if (this.$config.ENTRANCE_PLANT_ENABLED) {\n this.plantCreateSteps = PlantCreateSteps.TYPE_SELECTION;\n } else {\n this.plantCreateSteps = PlantCreateSteps.WIZARD_AUTOMATION;\n }\n }\n }\n\n handleContinueButton(){\n if (this.selectedPlantType == PlantType.ENTRANCE_PLANT) {\n this.plantCreateSteps = PlantCreateSteps.WIZARD_ENTRANCE;\n } else {\n this.plantCreateSteps = PlantCreateSteps.WIZARD_AUTOMATION;\n }\n }\n\n updateId(e: number){\n this.localPlantId = e\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n onPlantEdited() {\n this.isDialogVisible = false;\n this.$emit('plant-edited');\n }\n\n handleStepLoading(isLoading: boolean) {\n this.isLoading = isLoading;\n }\n}\n","import { render } from \"./DialogPlantCreate.vue?vue&type=template&id=576365f6&ts=true\"\nimport script from \"./DialogPlantCreate.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantCreate.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogPlantCreate.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-garage.ff736917.svg\";","module.exports = __webpack_public_path__ + \"img/icon-loading.83458905.svg\";","module.exports = __webpack_public_path__ + \"img/icon-network.0411b7d4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-weather.5a72b355.svg\";","module.exports = __webpack_public_path__ + \"img/icon-mx-server.529b5e1c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-favourite.ce7f9138.svg\";","module.exports = __webpack_public_path__ + \"img/icon-favourite-outline.56d4bb98.svg\";","module.exports = __webpack_public_path__ + \"img/icon-wifi.d72ad1e9.svg\";","module.exports = __webpack_public_path__ + \"img/icon-email.b2a6500a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-filters.c0b258d4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-kitchen.40fc9f7b.svg\";","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","module.exports = __webpack_public_path__ + \"img/icon-start-plan.2cb818f6.svg\";","module.exports = __webpack_public_path__ + \"img/icon-paperclip.f564901c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-reorder-drag-and-drop.7f077836.svg\";","module.exports = __webpack_public_path__ + \"img/icon-mobile-device.1ca476dd.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!./ButtonSelection.scss?vue&type=style&index=0&id=0849788d&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/icon-plan-duplicate.7f36dbd5.svg\";"],"sourceRoot":""}