{"version":3,"sources":["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:///./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-plus-outline.svg","webpack:///./src/assets/images/icons/icon-ellipsis-v.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/views/components/ListItemCheck/ListItemCheck.vue?3141","webpack:///./src/views/components/ListItemCheck/ListItemCheck.ts","webpack:///./src/views/components/ListItemCheck/ListItemCheck.vue","webpack:///./src/assets/images/icons/icon-automation-2.svg","webpack:///./src/assets/images/icons/icon-less.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.scss?7a23","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/entrancePlants/icon-riser.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/assets/images/icons/icon-expand-menu.svg","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:///./node_modules/core-js/modules/es.regexp.constructor.js","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:///./src/assets/images/icons/icon-add.svg","webpack:///./src/assets/images/icons/icon-server-mhs-1.svg","webpack:///./src/assets/images/entrancePlants/icon-keypad.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/entrancePlants/icon-new-pe.svg","webpack:///./src/assets/images/icons/icon-outdoor.svg","webpack:///./src/assets/images/icons sync ^\\.\\/icon\\-favourite.*\\.svg$","webpack:///./src/assets/images/entrancePlants/icon-gate.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?f25e","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-remove-outline.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-alert-medium-outline.svg","webpack:///./src/assets/images/icons/icon-arrows-next.svg","webpack:///./src/assets/images/entrancePlants/icon-building.svg","webpack:///./src/assets/images/icons/icon-staff.svg","webpack:///./src/views/components/ListItemRadio/ListItemRadio.scss?9aa6","webpack:///./src/assets/images/icons/icon-add-outline.svg","webpack:///./src/assets/images/icons/icon-delete.svg","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:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/assets/images/icons/icon-failed-full.svg","webpack:///./src/views/components/NumberButtons/NumberButtons.vue?065c","webpack:///./src/views/components/NumberButtons/NumberButtons.ts","webpack:///./src/views/components/NumberButtons/NumberButtons.vue","webpack:///./src/core/utils/EntrancePlant/entrance-plant.utils.ts","webpack:///./src/assets/images/entrancePlants/icon-smart-reader.svg","webpack:///./src/assets/images/entrancePlants/plantType/enrtance-plant.webp","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:///./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/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?5d8d","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardPlantTypeSelection/WizardPlantTypeSelection.vue?187d","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?6310","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?32da","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep1/DialogEntrancePlantCreateStep1.vue?8c7d","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?ac32","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?342b","webpack:///./src/core/utils/EntrancePlant/denomination-helper.ts","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?61af","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?701d","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?8e95","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?8fcc","webpack:///./src/views/components/ButtonSelection/ButtonSelection.vue?e3dd","webpack:///./src/views/components/ButtonSelection/ButtonSelection.ts","webpack:///./src/views/components/ButtonSelection/ButtonSelection.vue","webpack:///./src/views/components/ListItemRadio/ListItemRadio.vue?8dbb","webpack:///./src/views/components/ListItemRadio/ListItemRadio.ts","webpack:///./src/views/components/ListItemRadio/ListItemRadio.vue","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/views/components/ListItemCheck/ListItemCheck.scss?1e1f","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/views/components/NumberButtons/NumberButtons.scss?580f","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","_hoisted_1","class","_hoisted_2","_hoisted_3","key","render","_ctx","_cache","$props","$setup","$data","$options","_component_Checkbox","onClick","$event","setValue","binary","inputId","name","modelValue","checked","for","label","last","this","includes","value","splice","indexOf","push","$emit","props","type","Array","required","String","Boolean","default","emits","__exports__","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","undefined","deburrLetter","hasUnicodeWord","test","unicodeWords","objectProto","prototype","objectToString","toString","Symbol","symbolProto","symbolToString","baseToString","isSymbol","call","result","createCompounder","callback","words","deburr","replace","isObjectLike","kebabCase","word","toLowerCase","pattern","guard","id","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_component_ProgressSpinner","_component_NumberButtons","_component_InputText","_component_ElScrollbar","_component_Button","_component_Dialog","modal","showHeader","onHide","doHideDialog","visible","isDialogVisible","dialogTitle","isLoading","$t","plantsCount","plantsToCreate","plant","idx","ref","isInvalid","onInput","handleNameChange","_","handleHideDialog","doConfirm","disabled","isConfirmDisabled","entitiesPrefetchDone","allValidNames","every","p","console","log","$store","dispatch","plants","duplicatePlant","desktopId","map","$toast","add","severity","summary","closable","life","validatePlantAgainstList","flushCache","prefetchFlatEntities","PLANT","suggestNameIfNeeded","prevValue","currValue","suggestNextValidEntityName","eType","plantId","metadata","plantSourceName","updateNamingServiceAdditionalEntities","pop","additionalEntities","currentName","isVisible","watch","newValue","dispose","doFirstPrefetch","initializeFirstName","components","NumberButtons","DESCRIPTORS","isForced","inheritIfRequired","defineProperty","f","getOwnPropertyNames","isRegExp","getFlags","stickyHelpers","redefine","fails","setInternalState","set","setSpecies","wellKnownSymbol","MATCH","NativeRegExp","RegExpPrototype","re1","re2","CORRECT_NEW","UNSUPPORTED_Y","FORCED","RegExpWrapper","flags","sticky","thisIsRegExp","patternIsRegExp","flagsAreUndefined","constructor","source","proxy","configurable","get","it","keys","style","_component_InlineSvgScoped","$attrs","stepTitle","stepSubTitle","roomTypes","roomType","src","getRoomIcon","count","updatePlantRoom","isInEditMode","rooms","roomsCounts","fetchRooms","defaultRoomsList","forEach","r","rt","theRooms","plantRoomCount","find","rc","room","plantRoom","plantName","code","codeToCheck","onSubmit","maxlength","theCode","onPaste","resetCodes","$nextTick","randStr","i","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","resolve","_component_Card","content","titleIcon","title","$slots","showActionButton","onActionButtonClick","actionButtonLabel","$","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","max","Math","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","target","proto","forced","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","actualStart","argumentsLength","arguments","TypeError","light","lightTheme","disableDecrease","tabindex","minValue","maxValue","allowNegative","Number","distributeApartmentsToRaisersAndFloors","structure","risers","distribution","distributeElementsInGroups","numberOfApartments","riser","riserIndex","numberOfApartmentsInRiser","distributeApartmentsToFloors","floors","floorsWithoutRiser","floor","floorIndex","numberOfElements","numberOfGroups","numberOfElementsInGroup","groupsWithExtraElement","groupIndex","elementsInGroup","getDeviceIconFromType","t","isCodeCorrectValue","codeRequiredLength","regex","_component_WizardPlantTypeSelection","_component_WizardAutomationPlant","_component_WizardEntrancePlant","plantCreateSteps","PlantCreateSteps","TYPE_SELECTION","plantType","selectedPlantType","handleContinueButton","WIZARD_AUTOMATION","localPlantId","onUpdate","updateId","onPlantEdited","onExitWizard","WIZARD_ENTRANCE","_component_SelectButton","toUpperCase","pt","options","plantTypesImages","optionLabel","optionValue","option","slotProps","imageURLs","alt","subTitle","val","AUTOMATION_PLANT","ENTRANCE_PLANT","dialogStepComponent","onIsLoading","handleStepLoading","onNextEnabled","handleNextEnabledChange","isBackButtonVisible","handleStepBack","handleButtonSubmitAction","buttonSubmitLabel","nextEnabled","dialogStep","mxServer","model","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_component_Dropdown","isValidName","invalidNameReason","country","countries","address","icon","images","srcset","tempTags","tag","isTagSelected","toggleTagSelection","addTag","placeholder","newTagName","drawScaledImage","ctx","img","scale","canvas","width","height","x","y","drawImage","trim","image","plantEditImageCustomEnabled","customIconDataUrl","customIconImageUrl","ICON_CUSTOM","tags","Promise","all","fetchPlantTags","fetchCountries","finally","verifyValidityOfName","checkNextButtonState","document","querySelector","remove","removeEventListener","handlerUploadInput","addEventListener","initialName","imageBinary","tagsList","countriesAutocomplete","preventDefault","stopPropagation","stopImmediatePropagation","uploadInput","createElement","setAttribute","body","append","reader","FileReader","onload","evLoad","Image","getContext","fileRead","toDataURL","onerror","err","error","files","readAsDataURL","click","tagKey","some","newTag","findIndex","g","validName","isValidEntityTypeName","suggestedName","preSelectedTags","computed","plantServerImages","ServerModel","Classe300EOS","MyHomeServer1","filter","plantServerUseMHS1Only","$config","ENTRANCE_PLANT_ENABLED","initFormPlant","fetchPlantDetails","plantGET","handleEditPlant","handleCreatePlant","createdPlantId","goToPlantDetail","createdPlant","plantPOST","plantPUT","isNew","$router","params","setTimeout","DialogPlantCreateStep1","DialogPlantCreateStep2","DialogPlantCreateStep3","dialogStepEntrancePlantComponent","entrancePlant","onOnBack","handleBack","onOnNext","handleNext","_hoisted_25","handleBackButton","handleNextButton","nextButtonLabel","wizardStep","headCreate","updatePlantStructure","getDataToSave","createPlant","peId","entranceplantPOST","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_component_RadioButton","infoCreate","language","validLanguages","callMode","CallMode","Brfa","denominationBuildings","settingsList","dataKey","denominationRisers","denominationFloors","denominationApartments","DirectCall","addressingType","Language","i18n","Numbers","Letters","BuildingRiserFloorApartment","DirectCall_Alphanumeric","DirectCall_NumbersOnly","Address","AddressBook","inizializeData","addressBookSorting","_component_InputNumber","_component_CardContainer","titleCard","onOnActionButtonClick","addBuilding","buildings","building","apartmentsCount","handleBuildingRemove","denominationMode","convertIndexToLetters","div","mod","getNewBuildingName","fillBuildings","apartments","buildingId","newBuildingName","counter","buildingsCreate","nextPage","CardContainer","buildingName","actionButton","risersCount","onIncrement","addRiser","onDecrement","removeRiser","currentRFAConfig","riserName","floorsCountValues","onChange","changeFloorNumber","floorName","apartmentCountValues","changeApartmentNumber","currentBuildingIndex","rfaConfig","currentBuilding","addFloors","abs","removeFloors","floorsCount","plantConfigStructure","gray","recapCode","riserDoubleChars","floorDoubleChars","apartmentDoubleChars","buildingCode","riserCode","floorCode","apartmentCode","callingcoderecap","gates","addGate","gate","handleGateRemove","getNewGateName","newGateName","gateCreate","_component_ButtonSelection","_component_ListItemRadio","_component_ListItemCheck","pageTitle","currentGate","onChanged","onChangeNewPe","newPeSelected","newPeDisabled","onChangeKeypad","keypadSelected","keypadDisabled","onChangeSmartReader","smartReaderSelected","smartReaderDisabled","MIN_SCS_ADDRESS","MAX_SCS_ADDRESS","scsAddress","scsAddrNotValid","more_building_value","selectedBuildingId","isMoreBuildingSelected","connectedBuildingIds","selectedBuilding","all_risers_value","selectedRiserId","riserId","_withId","active","localValue","toggleValue","setRadioValue","v","currentGateIndex","gateConfig","b","gateId","currentGateId","connectedRiserIds","gateConfigStructure","refreshDeviceSelection","ButtonSelection","ListItemRadio","ListItemCheck","setDefaultBuildingSelection","newVal","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","parseInt","nativeMax","nativeMin","now","Date","debounce","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","toNumber","isObject","other","valueOf","isBinary","slice"],"mappings":"mJAAAA,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,gC,uBCA3CD,EAAOC,QAAU,IAA0B,0C,uBCA3CD,EAAOC,QAAU,IAA0B,gC,oCCA3C,W,uBCAAD,EAAOC,QAAU,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C/B+rB,EAAa/rB,EAAMuuB,MAAM,GAAID,EAAW,EAAI,GAC3C1C,EAAW1mB,KAAKlF,GAAS0rB,GAAO1rB,EAGvC5B,EAAOC,QAAUguB,I,2CCxXjBjuB,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-entranceplant-detail~page-plant-detail~page-plants-list.731af48d.js","sourcesContent":["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\"","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-plus-outline.6d157290.svg\";","module.exports = __webpack_public_path__ + \"img/icon-ellipsis-v.6e5f7bcb.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\";","import { createVNode as _createVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"div\", { class: \"row-line\" }, null, -1)\nconst _hoisted_2 = { class: \"d-flex align-items-center row-content p-field-checkbox\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"row-line\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Checkbox = _resolveComponent(\"Checkbox\")\n\n return (_openBlock(), _createBlock(\"div\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setValue()))\n }, [\n _hoisted_1,\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Checkbox, {\n binary: true,\n inputId: _ctx.inputId,\n name: _ctx.name,\n modelValue: _ctx.checked\n }, null, 8, [\"inputId\", \"name\", \"modelValue\"]),\n _createVNode(\"label\", {\n class: \"ml-2\",\n for: _ctx.inputId\n }, _toDisplayString(_ctx.label), 9, [\"for\"])\n ]),\n (_ctx.last)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'ListItemCheck',\n props: {\n modelValue: {\n type: Array,\n required: true,\n },\n name: {\n required: true,\n type: String,\n },\n inputId: {\n required: true,\n type: String,\n },\n label: {\n required: true,\n type: String,\n },\n value: {\n required: true,\n },\n last: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n emits: ['update:modelValue'],\n})\nexport default class CardRadio extends Vue {\n modelValue!: string[];\n name!: string;\n inputId!: string;\n value!: string;\n last!: boolean;\n label!: string;\n\n get checked () {\n return this.modelValue.includes(this.value)\n }\n\n setValue() {\n if (this.checked){\n this.modelValue.splice(this.modelValue.indexOf(this.value), 1)\n }else{\n this.modelValue.push(this.value)\n }\n this.$emit('update:modelValue', this.modelValue);\n }\n}\n","import { render } from \"./ListItemCheck.vue?vue&type=template&id=e0c9552c&ts=true\"\nimport script from \"./ListItemCheck.ts?vue&type=script&lang=ts\"\nexport * from \"./ListItemCheck.ts?vue&type=script&lang=ts\"\n\nimport \"./ListItemCheck.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-automation-2.bdcf38c1.svg\";","module.exports = __webpack_public_path__ + \"img/icon-less.55ded922.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\"","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-riser.9dcfcad0.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\";","module.exports = __webpack_public_path__ + \"img/icon-expand-menu.b4f3b9a9.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!./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\"","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isRegExp = require('../internals/is-regexp');\nvar getFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar setInternalState = require('../internals/internal-state').set;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n})));\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var sticky;\n\n if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {\n return pattern;\n }\n\n if (CORRECT_NEW) {\n if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;\n } else if (pattern instanceof RegExpWrapper) {\n if (flagsAreUndefined) flags = getFlags.call(pattern);\n pattern = pattern.source;\n }\n\n if (UNSUPPORTED_Y) {\n sticky = !!flags && flags.indexOf('y') > -1;\n if (sticky) flags = flags.replace(/y/g, '');\n }\n\n var result = inheritIfRequired(\n CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),\n thisIsRegExp ? this : RegExpPrototype,\n RegExpWrapper\n );\n\n if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });\n\n return result;\n };\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n var keys = getOwnPropertyNames(NativeRegExp);\n var index = 0;\n while (keys.length > index) proxy(keys[index++]);\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","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-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};\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\";","module.exports = __webpack_public_path__ + \"img/icon-add.e7fd00be.svg\";","module.exports = __webpack_public_path__ + \"img/icon-server-mhs-1.ea1fa748.svg\";","module.exports = __webpack_public_path__ + \"img/icon-keypad.46481c63.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-new-pe.23aa14a1.svg\";","module.exports = __webpack_public_path__ + \"img/icon-outdoor.5771a8e2.svg\";","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-gate.89a8ac52.svg\";","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 { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, renderSlot as _renderSlot, 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 _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 _createVNode(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"actionButton\", {}, () => [\n (_ctx.showActionButton)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\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, [\"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 },\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\n onActionButtonClick () {\n this.$emit('on-Action-Button-Click');\n }\n}\n","import { render } from \"./CardContainer.vue?vue&type=template&id=3cf0fffb&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-remove-outline.ef28dcd9.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-alert-medium-outline.b8add9d7.svg\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-next.74ae035b.svg\";","module.exports = __webpack_public_path__ + \"img/icon-building.7c6caebd.svg\";","module.exports = __webpack_public_path__ + \"img/icon-staff.6521f768.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!./ListItemRadio.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-add-outline.c9d7b603.svg\";","module.exports = __webpack_public_path__ + \"img/icon-delete.07c02c83.svg\";","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\";","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","module.exports = __webpack_public_path__ + \"img/icon-failed-full.110550e8.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"number-buttons\", {light: _ctx.lightTheme}]\n }, [\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n disabled: _ctx.disableDecrease,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setValue(_ctx.modelValue - 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-less.svg'),\n \"aria-label\": \"icon-less\"\n }, null, 8, [\"src\"])\n ], 8, [\"disabled\"]),\n _withDirectives(_createVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.modelValue = $event)),\n class: \"number-buttons__input\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vModelText, _ctx.modelValue]\n ]),\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.setValue(_ctx.modelValue + 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-add.svg'),\n \"aria-label\": \"icon-add\"\n }, null, 8, [\"src\"])\n ])\n ], 2))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'NumberButtons',\n props: {\n modelValue: {\n type: Number,\n default: 1,\n required: true,\n },\n allowNegative: {\n type: Boolean,\n default: false,\n },\n disableDecrease: {\n type: Boolean,\n default: false,\n },\n minValue: {\n required: false,\n type: Number,\n },\n maxValue: {\n required: false,\n type: Number,\n },\n lightTheme: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['update:modelValue', 'input', 'increment', 'decrement'],\n})\nexport default class NumberButtons extends Vue {\n modelValue!: number;\n allowNegative!: boolean;\n disableDecrease!: boolean;\n minValue!: number;\n maxValue!: number;\n lightTheme!: boolean;\n\n setValue(newValue: number) {\n if (typeof this.minValue !== 'undefined' && newValue < this.minValue)\n return;\n if (typeof this.maxValue !== 'undefined' && newValue > this.maxValue)\n return;\n\n if (newValue < 0 && !this.allowNegative) return;\n\n this.$emit('update:modelValue', newValue);\n this.$emit('input', newValue);\n\n if (newValue > this.modelValue) this.$emit('increment');\n else this.$emit('decrement');\n }\n}\n","import { render } from \"./NumberButtons.vue?vue&type=template&id=74e2114f&ts=true\"\nimport script from \"./NumberButtons.ts?vue&type=script&lang=ts\"\nexport * from \"./NumberButtons.ts?vue&type=script&lang=ts\"\n\nimport \"./NumberButtons.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {\n RFAConfigDTO,\n FloorConfigDTO,\n} from 'client-generator/generated-clients/plants';\n\nconst distributeApartmentsToRaisersAndFloors = (structure: RFAConfigDTO) => {\n if (!structure.risers) return;\n if (structure.risers.length > 0) {\n var distribution = distributeElementsInGroups(\n structure.numberOfApartments!,\n structure.risers.length\n );\n for (let riser of structure.risers) {\n const riserIndex = structure.risers.indexOf(riser);\n const numberOfApartmentsInRiser = distribution[riserIndex];\n distributeApartmentsToFloors(riser.floors!, numberOfApartmentsInRiser);\n }\n } else {\n distributeApartmentsToFloors(\n structure.floorsWithoutRiser!,\n structure.numberOfApartments!\n );\n }\n};\n\nfunction distributeApartmentsToFloors(\n floors: FloorConfigDTO[],\n numberOfApartments: number\n) {\n var distribution = distributeElementsInGroups(\n numberOfApartments,\n floors.length\n );\n for (let floor of floors) {\n var floorIndex = floors.indexOf(floor);\n floor.numberOfApartments = distribution[floorIndex];\n }\n}\n\nfunction distributeElementsInGroups(\n numberOfElements: number,\n numberOfGroups: number\n): number[] {\n if (numberOfGroups < 1) throw new Error('Out of range');\n\n if (numberOfElements < 1)\n return Array.from({ length: numberOfGroups }, () => 0);\n\n const numberOfElementsInGroup = (numberOfElements / numberOfGroups) >> 0;\n const groupsWithExtraElement = numberOfElements % numberOfGroups;\n\n const distribution: number[] = [];\n for (let groupIndex = 0; groupIndex < numberOfGroups; groupIndex++) {\n const elementsInGroup =\n groupIndex < groupsWithExtraElement\n ? numberOfElementsInGroup + 1\n : numberOfElementsInGroup;\n distribution.push(elementsInGroup);\n }\n return distribution;\n}\n\nfunction getDeviceIconFromType(t: number | undefined): string {\n switch (t) {\n case 0:\n return 'entrancePlants/icon-new-pe';\n case 1:\n return 'entrancePlants/icon-keypad';\n case 2:\n return 'entrancePlants/icon-smart-reader';\n default:\n return '';\n }\n}\n\nfunction isCodeCorrectValue(code: string, codeRequiredLength: number = 5) {\n const regex = new RegExp(`[0-9]{${codeRequiredLength}}`);\n return code.length === codeRequiredLength && regex.test(code);\n}\n\nexport {\n distributeApartmentsToRaisersAndFloors,\n getDeviceIconFromType,\n isCodeCorrectValue,\n};\n","module.exports = __webpack_public_path__ + \"img/icon-smart-reader.32311338.svg\";","module.exports = \"data:image/webp;base64,UklGRkgMAABXRUJQVlA4WAoAAAAQAAAAGwEA8gAAQUxQSMsDAAABGUVt20BSvw1/xO0OBhH9nwCw4hfVWZ3OUdC2DZPyp312EETEBIA8ekoaM4okSVH19Fo4D+dfFxrguydjREyAArdtlAyOGR5BSdsmRbbyR0Rm9XV31w04ugJYBQ+rYMoQtsKYOUOXBcjI3emU+J+W61GnGu2IcOA2kiKl4RiyTC8g/gNFAFkZlMl4RiCysghJMxWZhHeISQgikBWZ91k2hUxABTPLZdYU5du9l/27Z0mx8xNCAyisbjWvHDu4e7Cd/ykRA9CytXHs1JH9E3AjPUsmEqyNE2eP7Z9NRjOcEgcJYZUcmoqnMRNWx5590/AxyKLe6sgTsV2Fle6caszt8QnZ/9loYus/W//ZroTcNmDrP1v/2frP1n+2/vPkkUAwrA84ys+u9VjB9eEX0Adc9XE9sx6xhhzpIKBQCXbLVYzqjoqqqSgEEmaKcrp3QmXdR+LMAqR373QZS4rIzQvp+oVKMIiq6Oef4ov3evfTt+XA87/GmboE9V3wzdZ6dx/PA3vpJj6HRjLJT9knb9TWbrwMY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bYXvSkyl83iAv8ABR0fYe03Wts+klEiVnjinxTYmZvzy8/X+//1gHD2jTBpaowX2nhlrMH3vPc11B7D9RCJ9Dmuf2QXP1hTfRSElZWRdbl4UU7q6n+YVcqo+hUrH4Afs+Aj9zQ6ddLDwJXUFRSuYmCKJf617rdD/6/sjvA2kpxXTYZiZSgt4BCKuqfi1T8lgPs8oKcuv4cd77CbQlloP4UX5z0jiWz7EJxMXt/nT7WK/re7M4q1xfDH/9KfDMslORx2a+L7+Qco9p1UePZvSjspqB6kbiczQScvk+8x/LBihCK4EZMDFqFsUh71SeZxFTgxOHVhHCluHRvuu+VxSR0UgLsfckb9rgMGHzm5YBecu8gl+vDl8wS2niSILDsH5Lm2nxr6COs/6zwAAAAA=\"","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\"","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\"","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[4] || (_cache[4] = ($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 }, null, 8, [\"plantType\"]),\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[2] || (_cache[2] = ($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 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.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, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } 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: \"centered\" }\nconst _hoisted_6 = { class: \"px-3 mt-3 text-dark\" }\nconst _hoisted_7 = { class: \"text-dark\" }\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.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(_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_5, [\n _createVNode(\"img\", {\n src: slotProps.option.imageURLs[0],\n alt: \"img\"\n }, null, 8, [\"src\"]),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"strong\", null, _toDisplayString(slotProps.option.title), 1)\n ]),\n _createVNode(\"div\", _hoisted_7, _toDisplayString(slotProps.option.subTitle), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport { PlantType } from '@/../client-generator/generated-clients/plants';\n\n@Options({\n name: 'WizardPlantTypeSelection',\n props: {\n plantType: {\n required: true,\n type: Number as () => PlantType,\n },\n },\n emits: ['update:plantType'],\n})\nexport default class WizardPlantTypeSelection extends Vue {\n plantType!: 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 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","import { render } from \"./WizardPlantTypeSelection.vue?vue&type=template&id=63915d85&ts=true\"\nimport script from \"./WizardPlantTypeSelection.ts?vue&type=script&lang=ts\"\nexport * from \"./WizardPlantTypeSelection.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 { 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, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers } 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 mb-2\" }\nconst _hoisted_18 = { class: \"menu-filters\" }\nconst _hoisted_19 = { class: \"menu-filters__buttons list-unstyled p-select-button\" }\nconst _hoisted_20 = { class: \"p-button-label\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"bt-icon bt-icon--2xs p-button-icon-hidden\"\n}\nconst _hoisted_22 = { class: \"ml-3 bt-icon bt-icon--2xs\" }\nconst _hoisted_23 = { key: 1 }\nconst _hoisted_24 = { class: \"p-field-with-button\" }\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\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: \"label\",\n optionValue: \"value\",\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(\"div\", _hoisted_18, [\n _createVNode(\"ul\", _hoisted_19, [\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_20, [\n _createTextVNode(_toDisplayString(tag.value) + \" \", 1),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_21, [\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_22, [\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_23, \"✓\"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 10, [\"onClick\"]))\n }), 128))\n ])\n ]),\n _createVNode(\"div\", _hoisted_24, [\n _createVNode(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addTag && _ctx.addTag(...args)), [\"prevent\"]))\n }, [\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 ], 32)\n ])\n ])\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n PlantDTO,\n PlantIconEnum,\n PlantTagDTO,\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 AutocompleteDTO,\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: AutocompleteDTO[] = [];\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();\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=01f6c6dd&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 onIsLoading: _ctx.handleStepLoading,\n onOnBack: _ctx.handleBack,\n onOnNext: _ctx.handleNext\n }, null, 8, [\"plant\", \"plant-id\", \"onIsLoading\", \"onOnBack\", \"onOnNext\"])),\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, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers } 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 mb-2\" }\nconst _hoisted_18 = { class: \"menu-filters\" }\nconst _hoisted_19 = { class: \"menu-filters__buttons list-unstyled p-select-button\" }\nconst _hoisted_20 = { class: \"p-button-label\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"bt-icon bt-icon--2xs p-button-icon-hidden\"\n}\nconst _hoisted_22 = { class: \"ml-3 bt-icon bt-icon--2xs\" }\nconst _hoisted_23 = { key: 1 }\nconst _hoisted_24 = { class: \"p-field-with-button\" }\nconst _hoisted_25 = { 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, 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: \"label\",\n optionValue: \"value\",\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(\"div\", _hoisted_18, [\n _createVNode(\"ul\", _hoisted_19, [\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_20, [\n _createTextVNode(_toDisplayString(tag.value) + \" \", 1),\n (_ctx.isTagSelected(tag))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_21, [\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_22, [\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_23, \"✓\"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 10, [\"onClick\"]))\n }), 128))\n ])\n ]),\n _createVNode(\"div\", _hoisted_24, [\n _createVNode(\"form\", {\n onSubmit: _cache[6] || (_cache[6] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addTag && _ctx.addTag(...args)), [\"prevent\"]))\n }, [\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 ], 32)\n ])\n ])\n ])\n ]),\n _createVNode(\"footer\", _hoisted_25, [\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} 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 AutocompleteDTO,\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: 'DialogEntrancePlantCreateStep1',\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\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', 'onBack', 'onNext'],\n computed: {\n ...mapGetters('UI', ['plantEditImageCustomEnabled']),\n },\n})\nexport default class DialogEntrancePlantCreateStep1 extends Vue {\n plant!: EntrancePlantDetailDTO;\n\n initialName!: string;\n preSelectedTags!: PlantTagDTO[] | undefined;\n plantEditImageCustomEnabled!: boolean;\n\n plantId: number | null = null;\n\n tempTags: PlantTagDTO[] = [];\n countries: AutocompleteDTO[] = [];\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 ? 'AppResource.PlantInfo' : 'AppResource.CreateThePlant'\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 = 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();\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.nextEnabled = false;\n } else {\n this.isValidName = true;\n this.invalidNameReason = '';\n this.nextEnabled = true;\n }\n this.checkNextButtonState();\n this.$store.dispatch(SET_APP_LOADING, false);\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 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 async handleNextButton(){\n if (this.plantId) {\n await this.updatePlantStructure(this.getDataToSave());\n this.$emit(\"onNext\", \"DialogEntrancePlantCreateStep2\")\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=f3db0d22&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, createTextVNode as _createTextVNode, 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 = { class: \"dialog-plant-create__grid\" }\nconst _hoisted_5 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_6 = { class: \"mr-3\" }\nconst _hoisted_7 = { class: \"mb-4\" }\nconst _hoisted_8 = { class: \"p-field\" }\nconst _hoisted_9 = { class: \"p-field-label\" }\nconst _hoisted_10 = { class: \"mt-5\" }\nconst _hoisted_11 = { class: \"p-field\" }\nconst _hoisted_12 = { class: \"p-field-label my-4\" }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_14 = { class: \"p-field-radiobutton ml-3\" }\nconst _hoisted_15 = { for: \"AddressBook\" }\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_17 = { class: \"p-field-radiobutton ml-3\" }\nconst _hoisted_18 = { for: \"BuildingRiserFloorApartment\" }\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_20 = { class: \"p-field-radiobutton ml-3\" }\nconst _hoisted_21 = { for: \"DirectCall\" }\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_23 = {\n key: 0,\n class: \"p-field\"\n}\nconst _hoisted_24 = { class: \"mb-4\" }\nconst _hoisted_25 = { class: \"p-field mb-2\" }\nconst _hoisted_26 = { class: \"p-field-label\" }\nconst _hoisted_27 = { class: \"menu-filters\" }\nconst _hoisted_28 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_29 = { class: \"p-field mb-2\" }\nconst _hoisted_30 = { class: \"p-field-label\" }\nconst _hoisted_31 = { class: \"menu-filters\" }\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_33 = { class: \"p-field mb-2\" }\nconst _hoisted_34 = { class: \"p-field-label\" }\nconst _hoisted_35 = { class: \"menu-filters\" }\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_37 = { class: \"p-field mb-2\" }\nconst _hoisted_38 = { class: \"p-field-label\" }\nconst _hoisted_39 = { class: \"menu-filters\" }\nconst _hoisted_40 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_41 = {\n key: 1,\n class: \"p-field\"\n}\nconst _hoisted_42 = { class: \"p-field-label my-4\" }\nconst _hoisted_43 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_44 = { class: \"p-field-radiobutton ml-3\" }\nconst _hoisted_45 = { for: \"Numeric\" }\nconst _hoisted_46 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_47 = { class: \"mt-1 text-gray\" }\nconst _hoisted_48 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_49 = { class: \"p-field-radiobutton ml-3\" }\nconst _hoisted_50 = { for: \"Alphanumeric\" }\nconst _hoisted_51 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_52 = { class: \"mt-1 text-gray\" }\nconst _hoisted_53 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_54 = { 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_RadioButton = _resolveComponent(\"RadioButton\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_SelectButton = _resolveComponent(\"SelectButton\")\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.SetupThePlant\")), 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(\"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.infoCreate.language,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.infoCreate.language = $event)),\n options: _ctx.validLanguages,\n optionLabel: \"name\",\n optionValue: \"code\",\n class: \"w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createVNode(\"h5\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.AddressBook\")), 1),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResourceEP.CallMode\")), 1),\n _createVNode(\"div\", null, [\n _hoisted_13,\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(_component_RadioButton, {\n id: \"AddressBook\",\n name: \"callMode\",\n value: 0,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.callMode = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"label\", _hoisted_15, _toDisplayString(_ctx.$t(\"AppResourceEP.AddressBook\")), 1)\n ]),\n _hoisted_16,\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(_component_RadioButton, {\n id: \"BuildingRiserFloorApartment\",\n name: \"callMode\",\n value: 1,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.callMode = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"label\", _hoisted_18, _toDisplayString(_ctx.$t(\n \"AppResourceEP.BuildingRiserFloorApartment\"\n )), 1)\n ]),\n _hoisted_19,\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(_component_RadioButton, {\n id: \"DirectCall\",\n name: \"callMode\",\n value: 2,\n modelValue: _ctx.callMode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.callMode = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"label\", _hoisted_21, _toDisplayString(_ctx.$t(\"AppResourceEP.DirectCall\")), 1)\n ]),\n _hoisted_22\n ])\n ])\n ])\n ]),\n _: 1\n })\n ]),\n (_ctx.callMode === _ctx.CallMode.Brfa)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_23, [\n _createVNode(\"h5\", _hoisted_24, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaPageTitle\")), 1),\n _createVNode(\"div\", _hoisted_25, [\n _createVNode(\"label\", _hoisted_26, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Buildings\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_27, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.infoCreate.denominationBuildings,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.infoCreate.denominationBuildings = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_28,\n _createVNode(\"div\", _hoisted_29, [\n _createVNode(\"label\", _hoisted_30, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Risers\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_31, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.infoCreate.denominationRisers,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.infoCreate.denominationRisers = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_32,\n _createVNode(\"div\", _hoisted_33, [\n _createVNode(\"label\", _hoisted_34, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Floors\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_35, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.infoCreate.denominationFloors,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.infoCreate.denominationFloors = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_36,\n _createVNode(\"div\", _hoisted_37, [\n _createVNode(\"label\", _hoisted_38, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.SetupBrfaTitle\")) + \" \", 1),\n _createVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.Apartments\")), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_39, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.infoCreate.denominationApartments,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.infoCreate.denominationApartments = $event)),\n options: _ctx.settingsList,\n dataKey: \"value\",\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_40\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.callMode === _ctx.CallMode.DirectCall)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_41, [\n _createVNode(\"label\", _hoisted_42, _toDisplayString(_ctx.$t(\"AppResourceEP.Code\")), 1),\n _createVNode(\"div\", null, [\n _hoisted_43,\n _createVNode(\"div\", _hoisted_44, [\n _createVNode(_component_RadioButton, {\n id: \"Numeric\",\n name: \"Code\",\n value: 3,\n modelValue: _ctx.infoCreate.addressingType,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.infoCreate.addressingType = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"label\", _hoisted_45, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.NumericWithFixLength\")) + \" \", 1),\n _hoisted_46,\n _createVNode(\"div\", _hoisted_47, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.$t(\n \"AppResourceEP.NumericWithFixLength_Description\"\n )), 1)\n ])\n ])\n ]),\n _hoisted_48,\n _createVNode(\"div\", _hoisted_49, [\n _createVNode(_component_RadioButton, {\n id: \"Alphanumeric\",\n name: \"Code\",\n value: 2,\n modelValue: _ctx.infoCreate.addressingType,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.infoCreate.addressingType = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"label\", _hoisted_50, [\n _createTextVNode(_toDisplayString(_ctx.$t(\n \"AppResourceEP.AlphanumericWithVariableLength\"\n )) + \" \", 1),\n _hoisted_51,\n _createVNode(\"div\", _hoisted_52, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.$t(\n \"AppResourceEP.AlphanumericWithVariableLength_Description\"\n )), 1)\n ])\n ])\n ]),\n _hoisted_53\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"footer\", _hoisted_54, [\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 Language,\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport i18n from '@/core/translations/i18n';\nimport { AddressingType } from '@/../client-generator/generated-clients/plants';\nimport { DenominationMode } from '@/../client-generator/generated-clients/plants';\nimport { validLanguages } from '@/core/utils/utils';\nimport plantsClient from '@/core/services/plants';\n\ntype SelectButtonValue = {\n label: string;\n value: DenominationMode;\n};\n\nenum CallMode {\n Address = 0,\n Brfa = 1,\n DirectCall = 2,\n}\n\n@Options({\n name: 'DialogEntrancePlantCreateStep2',\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.inizializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep2 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n infoCreate: EntrancePlantInfoCreateDTO = new EntrancePlantInfoCreateDTO();\n\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\n get callMode() {\n switch (this.infoCreate.addressingType) {\n case AddressingType.BuildingRiserFloorApartment:\n return CallMode.Brfa;\n\n case AddressingType.DirectCall_Alphanumeric:\n case AddressingType.DirectCall_NumbersOnly:\n return CallMode.DirectCall;\n\n default:\n return CallMode.Address;\n }\n }\n\n set callMode(value: CallMode) {\n switch (value) {\n case CallMode.Address:\n this.infoCreate.addressingType = AddressingType.AddressBook;\n break;\n\n case CallMode.Brfa:\n this.infoCreate.addressingType =\n AddressingType.BuildingRiserFloorApartment;\n break;\n\n case CallMode.DirectCall:\n this.infoCreate.addressingType = AddressingType.DirectCall_Alphanumeric;\n break;\n }\n }\n\n mounted(): void {\n this.inizializeData();\n }\n\n inizializeData() {\n this.infoCreate = 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 });\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 2,\n infoCreate: this.infoCreate,\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 } 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 \"./DialogEntrancePlantCreateStep2.vue?vue&type=template&id=4fcd4937&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 = { 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: \"p-field\" }\nconst _hoisted_14 = { class: \"p-field-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_InputNumber = _resolveComponent(\"InputNumber\")\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, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupBuilding\")), 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(\"AppResourceEP.Name\")) + \": \", 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(\"AppResourceEP.Apartments\")) + \": \", 1),\n _createVNode(_component_InputNumber, {\n modelValue: building.apartmentsCount,\n \"onUpdate:modelValue\": ($event: any) => (building.apartmentsCount = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\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 onClick: ($event: any) => (_ctx.handleBuildingRemove(i))\n }, null, 8, [\"disabled\", \"label\", \"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 { DenominationMode } from '@/../client-generator/generated-clients/plants';\n\nconst toLabel = (\n index: number,\n denominationMode: DenominationMode | undefined\n) => {\n return denominationMode == DenominationMode.Letters\n ? convertIndexToLetters(index)\n : index.toString();\n};\n\nfunction convertIndexToLetters(index: number): string {\n if (index == 0) return '';\n\n const div = Math.floor((index - 1) / 26);\n const mod = (index - 1) % 26;\n const Letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n return convertIndexToLetters(div) + Letters[mod];\n}\n\nexport { toLabel };\n","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 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 },\n watch: {\n plant: function (newValue) {\n if (newValue) this.inizializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n buildings: BuildingCreateDTO[] = [];\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 addBuilding() {\n this.buildings.push(\n new BuildingCreateDTO({\n name: this.getNewBuildingName(this.plant),\n apartmentsCount: 1,\n })\n );\n }\n\n mounted(): void {\n this.inizializeData();\n }\n\n inizializeData() {\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=530bab88&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: \"mr-3\" }\nconst _hoisted_6 = { class: \"p-field\" }\nconst _hoisted_7 = { class: \"p-field-label mb-3\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"list-blocks\"\n}\nconst _hoisted_9 = {\n class: \"d-flex\",\n style: {\"align-items\":\"start\"}\n}\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: \"p-field\" }\nconst _hoisted_14 = { class: \"p-field-label\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"list-blocks-secondary\"\n}\nconst _hoisted_16 = { class: \"form-custom d-flex\" }\nconst _hoisted_17 = { class: \"p-field mr-4\" }\nconst _hoisted_18 = { class: \"p-field-label\" }\nconst _hoisted_19 = { class: \"d-flex flex-column\" }\nconst _hoisted_20 = { class: \"p-field\" }\nconst _hoisted_21 = { class: \"p-field-label\" }\nconst _hoisted_22 = { 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 _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.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_8, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.currentRFAConfig.risers, (riser, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"riser-row\",\n style: {\"display\":\"block\"},\n key: i\n }, [\n _createVNode(\"form\", _hoisted_9, [\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.riserName(riser.index)) + \": \", 1),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n modelValue: riser.name,\n \"onUpdate:modelValue\": ($event: any) => (riser.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\"AppResourceEP.Floors\")) + \": \", 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_15, [\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_16, [\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"label\", _hoisted_18, _toDisplayString(_ctx.floorName(\n floor.index\n )) + \": \", 1),\n _createVNode(\"div\", _hoisted_19, [\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_20, [\n _createVNode(\"label\", _hoisted_21, _toDisplayString(_ctx.$t(\n \"AppResourceEP.Apartments\"\n )) + \": \", 1),\n _createVNode(_component_Dropdown, {\n class: \"w-100\",\n options: \n _ctx.apartmentCountValues\n ,\n modelValue: \n floor.numberOfApartments\n ,\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 ])\n ]),\n _createVNode(\"footer\", _hoisted_22, [\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 },\n watch: {\n plant: function (newValue) {\n if (newValue) this.inizializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n currentBuildingIndex = 0;\n distributeApartmentsToRaisersAndFloors = distributeApartmentsToRaisersAndFloors;\n\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((i) => i + 1);\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.inizializeData();\n }\n\n inizializeData() {\n this.floorsCountValues = [...Array(10).keys()].map((i) => i + 1);\n\n if (this.plant.buildings) {\n for (const building of this.plant.buildings) {\n if (!building.buildingId) continue;\n if (!building.apartments) continue;\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 }\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.currentBuildingIndex--;\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 this.currentBuildingIndex++;\n return;\n }\n await this.updatePlantStructure(this.getDataToSave());\n }\n this.$emit('onNext', 'DialogEntrancePlantCreateStep5');\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=d52555f4&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 },\n watch: {\n plant: function (newValue) {\n if (newValue) this.inizializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n recapCode = new CallingCodeDTO();\n \n mounted(): void {\n this.inizializeData();\n }\n\n async inizializeData() {\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=44d070d2&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 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 },\n // watch: {\n // plant: function (newValue) {\n // if (newValue) this.inizializeData();\n // },\n // },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 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 this.$emit('onBack', 'DialogEntrancePlantCreateStep5');\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=1c55c1cb&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, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, 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 key: 0,\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: 1 }\nconst _hoisted_12 = { class: \"p-field-label mt-4 mb-3\" }\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_ButtonSelection = _resolveComponent(\"ButtonSelection\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_ListItemRadio = _resolveComponent(\"ListItemRadio\")\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 _createVNode(_component_ElScrollbar, null, {\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 onChanged: _ctx.onChangeNewPe,\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\", \"onChanged\", \"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 onChanged: _ctx.onChangeKeypad,\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\", \"onChanged\", \"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 onChanged: _ctx.onChangeSmartReader,\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\", \"onChanged\", \"modelValue\", \"disabled\"])\n ]),\n _createVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceScsAddress\")), 1),\n _createVNode(_component_InputText, {\n id: \"scsAddr\",\n type: \"number\",\n class: \"w-25\",\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, [\"min\", \"max\", \"modelValue\"]),\n (_ctx.scsAddrNotValid)\n ? (_openBlock(), _createBlock(\"label\", _hoisted_9, _toDisplayString(_ctx.$t(\"AppResource.Invalidaddress\")), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupDefineGatesBuildingGovern\")), 1),\n (_ctx.plant.buildings)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(_component_ListItemRadio, {\n label: _ctx.$t(\n 'AppResourceEP.SetupDefineGatesBuildingMoreBuildings'\n )\n ,\n name: \"building\",\n inputId: \"234\",\n value: _ctx.more_building_value,\n modelValue: _ctx.selectedBuildingId,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.selectedBuildingId = $event))\n }, null, 8, [\"label\", \"value\", \"modelValue\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plant.buildings, (building, i) => {\n return (_openBlock(), _createBlock(_component_ListItemRadio, {\n key: i,\n value: building.buildingId,\n modelValue: _ctx.selectedBuildingId,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.selectedBuildingId = $event)),\n name: \"building\",\n inputId: 'building' + i,\n last: i == _ctx.plant.buildings.length - 1,\n label: _ctx.$t('BuildingNameOnly', {\n buildingName: building.name,\n })\n \n }, null, 8, [\"value\", \"modelValue\", \"inputId\", \"last\", \"label\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"TheyManage\")), 1),\n (_ctx.isMoreBuildingSelected && _ctx.plant.buildings)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 2 }, _renderList(_ctx.plant.buildings, (building, i) => {\n return (_openBlock(), _createBlock(_component_ListItemCheck, {\n key: i,\n label: building.name,\n value: building.buildingId,\n modelValue: _ctx.currentGate.connectedBuildingIds,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.currentGate.connectedBuildingIds = $event)),\n name: \"specificBuilding\",\n inputId: 'specificb' + i,\n last: i == _ctx.plant.buildings.length - 1\n }, null, 8, [\"label\", \"value\", \"modelValue\", \"inputId\", \"last\"]))\n }), 128))\n : (_ctx.selectedBuilding && _ctx.selectedBuilding.risers)\n ? (_openBlock(), _createBlock(_Fragment, { key: 3 }, [\n _createVNode(_component_ListItemRadio, {\n label: _ctx.$t(\n 'AppResourceEP.SetupDefineGatesBuildingAllRisers'\n )\n ,\n value: _ctx.all_risers_value,\n modelValue: _ctx.selectedRiserId,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.selectedRiserId = $event)),\n name: \"riser\",\n inputId: \"riser\"\n }, null, 8, [\"label\", \"value\", \"modelValue\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.selectedBuilding.risers, (riser, i) => {\n return (_openBlock(), _createBlock(_component_ListItemRadio, {\n key: i,\n label: riser.name,\n value: riser.riserId,\n modelValue: _ctx.selectedRiserId,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.selectedRiserId = $event)),\n name: \"riser\",\n inputId: 'riser' + i,\n last: i == _ctx.selectedBuilding.risers.length - 1\n }, null, 8, [\"label\", \"value\", \"modelValue\", \"inputId\", \"last\"]))\n }), 128))\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\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 disabled: !_ctx.nextEnabled\n }, null, 8, [\"onClick\", \"label\", \"disabled\"])\n ])\n ], 64))\n}","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 this.$emit('changed')\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__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"div\", { class: \"row-line\" }, null, -1)\nconst _hoisted_2 = { class: \"d-flex align-items-center row-content p-field-radiobutton\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"row-line\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RadioButton = _resolveComponent(\"RadioButton\")\n\n return (_openBlock(), _createBlock(\"div\", {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.setRadioValue(_ctx.value)))\n }, [\n _hoisted_1,\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_RadioButton, {\n inputId: _ctx.inputId,\n name: _ctx.name,\n value: _ctx.value,\n modelValue: _ctx.localValue,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.localValue = $event))\n }, null, 8, [\"inputId\", \"name\", \"value\", \"modelValue\"]),\n _createVNode(\"label\", {\n class: \"ml-2\",\n for: _ctx.inputId\n }, _toDisplayString(_ctx.label), 9, [\"for\"])\n ]),\n (_ctx.last)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'ListItemRadio',\n props: {\n modelValue: {\n type: String,\n default: '',\n },\n name: {\n required: true,\n type: String,\n },\n inputId: {\n required: true,\n type: String,\n },\n label: {\n required: true,\n type: String,\n },\n value: {\n required: true,\n },\n last: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n emits: ['update:modelValue'],\n})\nexport default class CardRadio extends Vue {\n modelValue!: string;\n name!: string;\n inputId!: string;\n value!: string;\n last!: boolean;\n label!: string;\n\n get localValue () {\n return this.modelValue\n }\n set localValue (v: string){\n this.$emit('update:modelValue', v);\n }\n\n setRadioValue(value: string) {\n this.localValue = value;\n }\n}\n","import { render } from \"./ListItemRadio.vue?vue&type=template&id=355ffacc&ts=true\"\nimport script from \"./ListItemRadio.ts?vue&type=script&lang=ts\"\nexport * from \"./ListItemRadio.ts?vue&type=script&lang=ts\"\n\nimport \"./ListItemRadio.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 {\n BuildingDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n GateConfigDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport plantsClient from '@/core/services/plants';\n\nimport ButtonSelection from '@/views/components/ButtonSelection/ButtonSelection.vue';\nimport ListItemRadio from '@/views/components/ListItemRadio/ListItemRadio.vue';\nimport ListItemCheck from '@/views/components/ListItemCheck/ListItemCheck.vue';\nimport { SET_SELECTED_PLANT_ID } from '@/core/store/action-types';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep6',\n components: {\n CardContainer,\n ButtonSelection,\n ListItemRadio,\n ListItemCheck,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n },\n watch: {\n selectedBuildingId: function (newValue) {\n this.setDefaultBuildingSelection(newValue)\n },\n plant: function (newValue) {\n if (newValue) this.inizializeData();\n },\n \"currentGate.scsAddress\"(newVal) {\n this.scsAddrNotValid = (newVal < this.MIN_SCS_ADDRESS || newVal > this.MAX_SCS_ADDRESS)\n }\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep3 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n currentGateIndex = 0;\n gateConfig: { [key: string]: GateConfigDTO } = {};\n\n readonly MIN_SCS_ADDRESS = 0;\n readonly MAX_SCS_ADDRESS = 95;\n scsAddrNotValid: boolean = false;\n\n readonly more_building_value = 'more_building';\n selectedBuildingId = this.more_building_value;\n\n readonly all_risers_value = 'all_risers';\n selectedRiserId = this.all_risers_value;\n\n setDefaultBuildingSelection(newValue: string ) {\n if (newValue == this.more_building_value) {\n if (this.currentGate && this.plant.buildings){\n this.currentGate.connectedBuildingIds = this.plant.buildings.map(b => b.buildingId!);\n }\n }\n }\n\n get isMoreBuildingSelected() {\n return this.selectedBuildingId == this.more_building_value;\n }\n\n get selectedBuilding(): BuildingDTO | null {\n if (!this.plant.buildings) return null;\n if (this.isMoreBuildingSelected) return null;\n\n return (\n this.plant.buildings?.find(\n (b) => b.buildingId == this.selectedBuildingId\n ) ?? null\n );\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 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 if (g) {\n g.scsAddress = g.scsAddress && g.scsAddress >= 0 ? g.scsAddress : this.currentGateIndex;\n if (this.plant.buildings && g.connectedBuildingIds?.length == 0)\n g.connectedBuildingIds = this.plant.buildings.map(b => b.buildingId!);\n }\n return g;\n }\n\n get pageTitle() {\n return `${this.$t('AppResourceEP.SetupGateTitle').toString()} ${\n this.currentGateIndex + 1\n }`;\n }\n\n mounted(): void {\n this.inizializeData();\n }\n\n inizializeData() {\n if (!this.plant.gates) return; \n this.selectedBuildingId = this.more_building_value;\n\n for (const gate of this.plant.gates) {\n this.gateConfig[gate.gateId!] = new GateConfigDTO({\n keypadSelected: false,\n newPeSelected: false,\n smartReaderSelected: false,\n connectedBuildingIds: [],\n connectedRiserIds: [],\n });\n }\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n gateConfigStructure: this.gateConfig,\n });\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 handleBackButton() {\n if (this.plant.gates) {\n if (this.currentGateIndex > 0) {\n this.currentGateIndex--;\n this.refreshDeviceSelection();\n return;\n }\n }\n this.$emit('onBack', 'DialogEntrancePlantCreateStep6');\n }\n\n async handleNextButton() {\n if (this.currentGate) {\n if (!this.isMoreBuildingSelected) {\n this.currentGate.connectedBuildingIds = [this.selectedBuildingId];\n }\n\n if (this.selectedRiserId == this.all_risers_value) {\n this.currentGate.connectedRiserIds =\n this.selectedBuilding?.risers?.map((r) => r.riserId!) ?? [];\n } else {\n this.currentGate.connectedRiserIds = this.selectedRiserId\n ? [this.selectedRiserId]\n : [];\n }\n }\n\n if (this.plant.gates) {\n if (this.currentGateIndex < this.plant.gates.length - 1) {\n this.currentGateIndex++;\n\n this.refreshDeviceSelection();\n return;\n }\n await this.updatePlantStructure(this.getDataToSave());\n }\n\n this.goToPlantDetail();\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\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResource.PlantCreated'),\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 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 newPeDisabled = false;\n keypadDisabled = false;\n smartReaderDisabled = false;\n\n refreshDeviceSelection() {\n if (!this.currentGate) return;\n this.newPeDisabled = false;\n this.keypadDisabled = false;\n this.smartReaderDisabled = false;\n if (this.currentGate.newPeSelected) this.onChangeNewPe();\n if (this.currentGate.keypadSelected) this.onChangeKeypad();\n if (this.currentGate.smartReaderSelected) this.onChangeSmartReader();\n\n if (this.currentGate.connectedBuildingIds!.length > 1) {\n this.selectedBuildingId = this.more_building_value;\n } else {\n this.selectedBuildingId = this.currentGate.connectedBuildingIds![0];\n if (\n this.currentGate.connectedRiserIds!.length ==\n this.selectedBuilding?.risers?.length\n ) {\n this.selectedRiserId = this.all_risers_value;\n } else {\n this.selectedRiserId = this.currentGate.connectedRiserIds![0];\n }\n }\n }\n\n onChangeNewPe() {\n if (!this.currentGate) return;\n if (this.currentGate.newPeSelected) {\n this.smartReaderDisabled = true;\n this.keypadDisabled = false;\n } else if (!this.currentGate.keypadSelected) {\n this.smartReaderDisabled = false;\n }\n }\n\n onChangeKeypad() {\n if (!this.currentGate) return;\n if (this.currentGate.keypadSelected) {\n this.smartReaderDisabled = true;\n this.newPeDisabled = false;\n } else if (!this.currentGate.newPeSelected) {\n this.smartReaderDisabled = false;\n }\n }\n\n onChangeSmartReader() {\n if (!this.currentGate) return;\n if (this.currentGate.smartReaderSelected) {\n this.newPeDisabled = true;\n this.keypadDisabled = true;\n } else {\n this.newPeDisabled = false;\n this.keypadDisabled = false;\n }\n }\n\n get nextEnabled(): boolean {\n if (!this.currentGate) return false;\n\n return (\n ((this.isMoreBuildingSelected &&\n this.currentGate.connectedBuildingIds!.length > 0) ||\n (!this.isMoreBuildingSelected && this.selectedRiserId != '')) &&\n (this.currentGate.newPeSelected == true ||\n this.currentGate.keypadSelected == true ||\n this.currentGate.smartReaderSelected == true)\n );\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep7.vue?vue&type=template&id=92ce51e4&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 },\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 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 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=487b5276&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 {\n EntrancePlantDetailDTO,\n PlantDTO,\n PlantType,\n} from '@/../client-generator/generated-clients/plants';\nimport WizardPlantTypeSelection from './WizardPlantTypeSelection/WizardPlantTypeSelection.vue';\nimport WizardAutomationPlant from './WizardAutomationPlant/WizardAutomationPlant.vue'\nimport WizardEntrancePlant from './WizardEntrancePlant/WizardEntrancePlant.vue'\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 },\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 PlantCreateSteps = PlantCreateSteps;\n plantCreateSteps: PlantCreateSteps = PlantCreateSteps.TYPE_SELECTION;\n selectedPlantType: PlantType = PlantType.AUTOMATION_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=ae165158&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__","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!./ListItemCheck.scss?vue&type=style&index=0&lang=scss\"","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\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./NumberButtons.scss?vue&type=style&index=0&lang=scss\"","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":""}