{"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:///./node_modules/core-js/modules/es.array.flat.js","webpack:///./src/assets/images/icons/icon-xmeter.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.scss?53a4","webpack:///./node_modules/core-js/modules/es.object.values.js","webpack:///./src/assets/images/icons/icon-filter.svg","webpack:///./src/assets/images/icons/icon-round.svg","webpack:///./src/assets/images/icons/icon-star.svg","webpack:///./src/assets/images/icons/icon_command_night.svg","webpack:///./src/assets/images/icons/icon-datetime.svg","webpack:///./src/assets/images/icons/icon-all-plants.svg","webpack:///./src/assets/images/icons/icon-garden.svg","webpack:///./src/assets/images/icons/icon-refresh.svg","webpack:///./src/views/components/CardContainer/CardContainer.scss?6b44","webpack:///./src/assets/images/icons/icon-general-view.svg","webpack:///./src/assets/images/icons/icon-shutter.svg","webpack:///./src/assets/images/icons/icon-done.svg","webpack:///./src/assets/images/icons/icon-edit.svg","webpack:///./src/assets/images/icons/icon-automation-2.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantDuplicate/DialogPlantDuplicate.scss?7a23","webpack:///./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:///./node_modules/core-js/modules/es.array.unscopables.flat.js","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:///./src/assets/images/icons/icon-socket.svg","webpack:///./src/assets/images/icons/icon-sync.svg","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.vue?3cd3","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardAutomationPlant/DialogAutomationPlantCreate/DialogPlantCreateStep3/DialogPlantCreateStep3.vue","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.vue?0373","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.ts","webpack:///./src/views/components/DialogConfirmDeletePlant/DialogConfirmDeletePlant.vue","webpack:///./src/assets/images/icons/icon-diningroom.svg","webpack:///./src/assets/images/icons/icon-grid.svg","webpack:///./src/assets/images/icons/icon-blueprint.svg","webpack:///./src/assets/images/icons/icon-round-outline.svg","webpack:///./src/assets/images/icons/icon-confirm-outline.svg","webpack:///./src/assets/images/icons sync ^\\.\\/.*\\.svg$","webpack:///./src/assets/images/plants/server/ImagesMX-300EOS.png","webpack:///./node_modules/core-js/modules/es.set.js","webpack:///./src/assets/images/icons/icon-server-mhs-1.svg","webpack:///./src/assets/images/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:///./node_modules/core-js/internals/object-to-array.js","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?1f0f","webpack:///./src/views/components/CardContainer/CardContainer.ts","webpack:///./src/views/components/CardContainer/CardContainer.vue","webpack:///./src/assets/images/icons/icon-office.svg","webpack:///./src/assets/images/icons/icon-remove-hand-02.svg","webpack:///./src/assets/images/icons/icon-dimmer-dmx.svg","webpack:///./src/assets/images/icons/icon-checkbox-disabled.svg","webpack:///./src/assets/images/icons/icon-fancoil.svg","webpack:///./src/assets/images/icons/icon-assistant.svg","webpack:///./src/assets/images/icon-check.svg","webpack:///./src/assets/images/icons/icon-colored-light.svg","webpack:///./src/assets/images/icons/icon-general-light.svg","webpack:///./src/assets/images/icons/icon-arrows-next.svg","webpack:///./src/assets/images/icons/icon-staff.svg","webpack:///./src/assets/images/icons/icon-add-outline.svg","webpack:///./src/assets/images/icons/icon-delete.svg","webpack:///./src/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/internals/flatten-into-array.js","webpack:///./src/assets/images/icons/icon-failed-full.svg","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?ef7c","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?07d9","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?8d8a","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep4/DialogEntrancePlantCreateStep4.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.vue?0587","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep5/DialogEntrancePlantCreateStep5.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep6/DialogEntrancePlantCreateStep6.vue?483e","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?b1ee","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/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/DialogEntrancePlantCreate/DialogEntrancePlantCreateStep7/DialogEntrancePlantCreateStep7.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/WizardEntrancePlant/WizardEntrancePlant.vue","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.ts","webpack:///./src/views/pages/PlantsHub/DialogPlantCreate/DialogPlantCreate.vue","webpack:///./src/assets/images/icons/icon-garage.svg","webpack:///./src/assets/images/icons/icon-loading.svg","webpack:///./src/assets/images/icons/icon-network.svg","webpack:///./src/assets/images/icons/icon-weather.svg","webpack:///./src/assets/images/icons/icon-mx-server.svg","webpack:///./src/assets/images/icons/icon-favourite.svg","webpack:///./src/assets/images/icons/icon-favourite-outline.svg","webpack:///./src/assets/images/icons/icon-wifi.svg","webpack:///./src/assets/images/icons/icon-email.svg","webpack:///./src/assets/images/icons/icon-filters.svg","webpack:///./src/assets/images/icons/icon-kitchen.svg","webpack:///./node_modules/lodash.debounce/index.js","webpack:///./src/assets/images/icons/icon-start-plan.svg","webpack:///./src/assets/images/icons/icon-paperclip.svg","webpack:///./src/assets/images/icons/icon-reorder-drag-and-drop.svg","webpack:///./src/assets/images/icons/icon-mobile-device.svg","webpack:///./src/views/components/ButtonSelection/ButtonSelection.scss?4a7a","webpack:///./src/assets/images/icons/icon-plan-duplicate.svg"],"names":["module","exports","$","flattenIntoArray","toObject","toLength","toInteger","arraySpeciesCreate","target","proto","flat","depthArg","arguments","length","undefined","O","this","sourceLen","A","$values","values","stat","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","asciiWords","string","match","basePropertyOf","object","key","deburrLetter","hasUnicodeWord","test","unicodeWords","objectProto","prototype","objectToString","toString","Symbol","symbolProto","symbolToString","baseToString","value","isSymbol","call","result","createCompounder","callback","words","deburr","replace","isObjectLike","kebabCase","word","toLowerCase","pattern","guard","addToUnscopables","_hoisted_1","class","_hoisted_2","_hoisted_3","id","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","render","_ctx","_cache","$props","$setup","$data","$options","_component_ProgressSpinner","_component_NumberButtons","_component_InputText","_component_ElScrollbar","_component_Button","_component_Dialog","modal","showHeader","onHide","doHideDialog","visible","isDialogVisible","$event","default","dialogTitle","isLoading","$t","modelValue","plantsCount","plantsToCreate","plant","idx","type","ref","name","isInvalid","onInput","handleNameChange","_","onClick","handleHideDialog","doConfirm","disabled","isConfirmDisabled","entitiesPrefetchDone","allValidNames","every","p","console","log","$emit","$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","push","additionalEntities","currentName","props","isVisible","Boolean","required","watch","newValue","dispose","doFirstPrefetch","initializeFirstName","emits","components","NumberButtons","__exports__","style","_component_InlineSvgScoped","$attrs","stepTitle","stepSubTitle","roomTypes","roomType","src","getRoomIcon","label","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","String","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","keys","resolve","collection","collectionStrong","init","DESCRIPTORS","objectKeys","toIndexedObject","propertyIsEnumerable","f","createMethod","TO_ENTRIES","it","entries","_component_Card","content","$slots","titleIcon","title","showActionButton","onActionButtonClick","actionButtonLabel","isArray","bind","original","source","start","depth","mapper","thisArg","element","targetIndex","sourceIndex","mapFn","TypeError","_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","Number","dialogStepComponent","onIsLoading","handleStepLoading","onNextEnabled","handleNextEnabledChange","isBackButtonVisible","handleStepBack","handleButtonSubmitAction","buttonSubmitLabel","nextEnabled","dialogStep","mxServer","model","for","_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","Math","max","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","t","newTag","groupIndex","findIndex","g","splice","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","structure","entranceplantPOST","_component_CallModeForm","_component_DialogImportFile","infoPlant","language","validLanguages","isBRFA","triggerFilePicker","onChange","onFileSelected","accept","EntrancePlantDetail","importedData","isVisibleDialogImportFile","onHideDialog","handleCloseDialog","onOverwrite","overwrite","isCreationMode","onUpdatePlant","handleUpdatePlant","onGrouped","handleGrouped","isCallingMode","isCallingCode","Language","CallMode","settingsList","i18n","Numbers","Letters","apartmentSelected","initializeData","addressBookSorting","addressingType","denominationApartments","denominationBuildings","denominationFloors","denominationRisers","grouped","dictionary","group","BuildingName","labels","validLines","surname","Line1","Line2","companyName","Type","Business","labelType","Private","information","Info","ApartmentName","buildings","apartments","DirectCall_Alphanumeric","DirectCall_NumbersOnly","BuildingRiserFloorApartment","infoCreate","input","getElementById","event","file","text","data","readAsText","ToggleSwitchButton","ListItemRadio","HelpPopupButton","CallModeForm","DialogImportFile","_component_CardContainer","titleCard","onOnActionButtonClick","addBuilding","building","apartmentsCount","noAppartmentOptions","handleBuildingRemove","getNewBuildingName","fillBuildings","buildingId","newBuildingName","counter","buildingsCreate","nextPage","CardContainer","buildingName","actionButton","lightTheme","minValue","risersCount","onIncrement","addRiser","onDecrement","removeRiser","currentRFAConfig","risers","riser","riserName","floorsCountValues","floors","changeFloorNumber","floor","floorName","apartmentCountValues","numberOfApartments","changeApartmentNumber","currentBuildingIndex","distributeApartmentsToRaisersAndFloors","rfaConfig","currentBuilding","Array","addFloors","abs","removeFloors","floorsCount","floorIndex","riserId","parseInt","a","floorId","plantConfigStructure","_hoisted_26","_hoisted_27","gray","recapCode","riserDoubleChars","floorDoubleChars","apartmentDoubleChars","buildingCode","riserCode","floorCode","apartmentCode","callingcoderecap","gates","addGate","gate","handleGateRemove","getNewGateName","newGateName","gateCreate","prevPage","_component_ButtonSelection","_component_ListItemCheck","pageTitle","currentGate","onChanged","onChangeNewPe","newPeSelected","newPeDisabled","onChangeKeypad","keypadSelected","keypadDisabled","onChangeSmartReader","smartReaderSelected","smartReaderDisabled","min","MIN_SCS_ADDRESS","MAX_SCS_ADDRESS","scsAddress","scsAddrNotValid","inputId","handleUpdateBuildingSelection","more_building_value","selectedBuildingIds","currentGateId","last","selectedBuildings","b","all_risers_value","selectedRiserIds","handleUpdateRiserSelection","_withId","active","localValue","toggleValue","currentGateIndex","gateConfig","includes","gateId","connectedBuildingIds","devices","d","linea5000","KeyPad","SmartAccess","connectedRiserIds","buildForm","refreshDeviceSelection","gateConfigStructure","Set","devicesSelected","buildingsSelected","risersSelected","indexOf","ButtonSelection","ListItemCheck","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","nativeMax","nativeMin","now","Date","debounce","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","apply","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","toNumber","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ACpB,QAASA,GAAyB,iBAATA,EAoB3B,SAASC,EAASD,GAChB,MAAuB,iBAATA,GACXS,EAAaT,IAAUN,EAAeQ,KAAKF,IAAU5E,EA0B1D,SAASgtB,EAASpoB,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAAIC,EAASD,GACX,OAAO8lB,EAET,GAAIuC,EAASroB,GAAQ,CACnB,IAAIsoB,EAAgC,mBAAjBtoB,EAAMuoB,QAAwBvoB,EAAMuoB,UAAYvoB,EACnEA,EAAQqoB,EAASC,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAATtoB,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQA,EAAMQ,QAAQulB,EAAQ,IAC9B,IAAIyC,EAAWvC,EAAW3mB,KAAKU,GAC/B,OAAQwoB,GAAYtC,EAAU5mB,KAAKU,GAC/BmmB,EAAanmB,EAAMyoB,MAAM,GAAID,EAAW,EAAI,GAC3CxC,EAAW1mB,KAAKU,GAAS8lB,GAAO9lB,EAGvCnG,EAAOC,QAAU0sB,I,2CCxXjB3sB,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.686bc44e.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\";","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","module.exports = __webpack_public_path__ + \"img/icon-xmeter.cdd95f85.svg\";","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./WizardEntrancePlant.scss?vue&type=style&index=0&lang=scss\"","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","module.exports = __webpack_public_path__ + \"img/icon-filter.4f75b6cb.svg\";","module.exports = __webpack_public_path__ + \"img/icon-round.e7c23e5d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-star.50c24909.svg\";","module.exports = __webpack_public_path__ + \"img/icon_command_night.badbdbf4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-datetime.25498852.svg\";","module.exports = __webpack_public_path__ + \"img/icon-all-plants.8e1b500b.svg\";","module.exports = __webpack_public_path__ + \"img/icon-garden.b5326b97.svg\";","module.exports = __webpack_public_path__ + \"img/icon-refresh.e78fba07.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./CardContainer.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-general-view.6e8cf869.svg\";","module.exports = __webpack_public_path__ + \"img/icon-shutter.b88b133c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-done.3da9ef41.svg\";","module.exports = __webpack_public_path__ + \"img/icon-edit.e6654111.svg\";","module.exports = __webpack_public_path__ + \"img/icon-automation-2.bdcf38c1.svg\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./DialogPlantDuplicate.scss?vue&type=style&index=0&lang=scss\"","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\";","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","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\"","module.exports = __webpack_public_path__ + \"img/icon-socket.27818ce0.svg\";","module.exports = __webpack_public_path__ + \"img/icon-sync.504e71f4.svg\";","import { toDisplayString as _toDisplayString, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__title mb-0\" }\nconst _hoisted_2 = { class: \"fs-18 text-gray\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 330px)\"} }\nconst _hoisted_5 = {\n class: \"p-selectbutton--blocks p-2\",\n style: {\"--cols\":\"6\"}\n}\nconst _hoisted_6 = { class: \"bt-icon text-gray\" }\nconst _hoisted_7 = { class: \"mb-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_NumberButtons = _resolveComponent(\"NumberButtons\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", {\n \"data-plant\": _ctx.$attrs.plantId,\n class: \"dialog-custom__header\"\n }, [\n _createVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.stepTitle), 1),\n _createVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.stepSubTitle), 1)\n ], 8, [\"data-plant\"]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.roomTypes, (roomType) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: roomType.type,\n class: \"p-button text-primary\"\n }, [\n _createVNode(\"span\", _hoisted_6, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/${_ctx.getRoomIcon(roomType.type)}.svg`)\n \n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"p\", _hoisted_7, _toDisplayString(roomType.label), 1),\n _createVNode(_component_NumberButtons, {\n modelValue: roomType.count,\n \"onUpdate:modelValue\": ($event: any) => (roomType.count = $event),\n onInput: ($event: any) => (_ctx.updatePlantRoom(roomType))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onInput\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n PlantDetailDTO,\n PlantDTO,\n PlantRoomCount,\n RoomDTO,\n RoomType,\n} from '@/../client-generator/generated-clients/plants';\nimport { getRoomIconFromType } from '@/core/utils/utils';\nimport configurationsClient from '@/core/services/configurations-service';\nimport { DefaultRoomDTO } from '@/../client-generator/generated-clients/configurations';\n\nimport NumberButtons from '@/views/components/NumberButtons/NumberButtons.vue';\n\n@Options({\n name: 'DialogPlantCreateStep3',\n props: {\n plant: {\n required: true,\n type: Object as () => PlantDTO,\n },\n isInEditMode: {\n type: Boolean,\n },\n },\n components: {\n NumberButtons,\n },\n emits: ['is-loading'],\n})\nexport default class DialogPlantCreateStep3 extends Vue {\n plant!: PlantDTO;\n roomTypes: DefaultRoomDTO[] = [];\n getRoomIcon = getRoomIconFromType;\n isInEditMode!: boolean;\n\n get stepTitle() {\n if (this.isInEditMode) return this.$t('AppResource.AddARoom');\n return this.$t('AppResource.CreateStructure');\n }\n get stepSubTitle() {\n if (this.isInEditMode) return this.$t('AppResource.ChooseRoomToAdd');\n return this.$t('AppResource.SelectRoomsText');\n }\n\n get theRooms() {\n return this.isInEditMode\n ? (this.plant as PlantDetailDTO).rooms\n : (this.plant as PlantDTO).roomsCounts;\n }\n\n async created() {\n this.fetchRooms();\n }\n\n async fetchRooms() {\n this.$emit('is-loading', true);\n try {\n this.roomTypes = await configurationsClient.defaultRoomsList();\n this.roomTypes.forEach(r => r.label = this.$t(`AppResource.${RoomType[r.type!]}`))\n if (this.isInEditMode) this.roomTypes.forEach((rt) => (rt.count = 0));\n const theRooms = this.plant.roomsCounts;\n if (!theRooms || (theRooms && theRooms.length === 0)) {\n (this.plant as PlantDTO).roomsCounts = this.roomTypes.map(\n (rt) =>\n ({\n type: rt.type!,\n count: rt.count!,\n } as PlantRoomCount)\n );\n }\n\n this.roomTypes = this.roomTypes.map(\n (rt) =>\n ({\n ...rt,\n count: (() => {\n if (!this.isInEditMode) {\n const plantRoomCount = theRooms?.find(\n (rc) => rc.type === rt.type\n );\n if (plantRoomCount) {\n return plantRoomCount.count;\n }\n return rt.count;\n }\n return 0;\n })(),\n } as DefaultRoomDTO)\n );\n } catch (error) {\n console.log(error);\n } finally {\n this.$emit('is-loading', false);\n }\n }\n\n updatePlantRoom(room: DefaultRoomDTO) {\n const plantRoom = this.plant.roomsCounts?.find(\n (rc) => rc.type === room.type\n );\n\n if (!plantRoom) {\n console.log('Plant room not found');\n return;\n }\n\n plantRoom.count = room.count;\n plantRoom.label = room.label;\n }\n}\n","import { render } from \"./DialogPlantCreateStep3.vue?vue&type=template&id=467fb4cd&ts=true\"\nimport script from \"./DialogPlantCreateStep3.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogPlantCreateStep3.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withModifiers as _withModifiers, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon text-primary\" }\nconst _hoisted_2 = { class: \"dialog-confirm__title\" }\nconst _hoisted_3 = { class: \"dialog-confirm__message\" }\nconst _hoisted_4 = { class: \"p-field\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_6 = { class: \"dialog-confirm__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-confirm\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert-medium-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"h5\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.PlantDeletion\")), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(\"plantDetail.deletePlantConfirm\", {\n plantName: _ctx.plantName,\n code: _ctx.codeToCheck,\n })), 1),\n _createVNode(\"form\", {\n class: \"w-50 mb-4\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n maxlength: \"6\",\n modelValue: _ctx.theCode,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.theCode = $event)),\n onPaste: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"]))\n }, null, 8, [\"modelValue\"])\n ])\n ], 32),\n _hoisted_5,\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-button-secondary text-uppercase mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.doConfirm,\n disabled: _ctx.isConfirmDisabled\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\nimport { getRandomInt } from '../../../core/utils/utils';\n\n@Options({\n name: 'DialogConfirmDeletePlant',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n plantName: {\n type: String,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n})\nexport default class DialogConfirmDeletePlant extends Vue {\n isVisible!: boolean;\n isDialogVisible = false;\n codeToCheck = '';\n theCode = '';\n\n get isConfirmDisabled() {\n return this.theCode !== this.codeToCheck;\n }\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n this.resetCodes();\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n\n this.$nextTick(() => {\n this.resetCodes();\n });\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n\n resetCodes() {\n this.theCode = '';\n let randStr = ``;\n for (let i = 0; i < 4; i++) randStr += getRandomInt(0, 9, true);\n this.codeToCheck = randStr;\n }\n}\n","import { render } from \"./DialogConfirmDeletePlant.vue?vue&type=template&id=090d81b2&ts=true\"\nimport script from \"./DialogConfirmDeletePlant.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDeletePlant.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon-diningroom.492ece47.svg\";","module.exports = __webpack_public_path__ + \"img/icon-grid.d7beaf2c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-blueprint.ef378b33.svg\";","module.exports = __webpack_public_path__ + \"img/icon-round-outline.3cd1592a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-confirm-outline.dba5a9f6.svg\";","var map = {\n\t\"./icon-actuator-2.svg\": \"46f4\",\n\t\"./icon-add-circle-outline.svg\": \"a2b6\",\n\t\"./icon-add-outline.svg\": \"94b1\",\n\t\"./icon-add.svg\": \"605f\",\n\t\"./icon-alert-hight-full.svg\": \"0450\",\n\t\"./icon-alert-hight-outline.svg\": \"4a7c\",\n\t\"./icon-alert-medium-full.svg\": \"df0f\",\n\t\"./icon-alert-medium-outline.svg\": \"8c5c\",\n\t\"./icon-all-plants.svg\": \"15c1\",\n\t\"./icon-arrows-back.svg\": \"6b1a\",\n\t\"./icon-arrows-down.svg\": \"7526\",\n\t\"./icon-arrows-next.svg\": \"8cbd\",\n\t\"./icon-arrows-up.svg\": \"764e\",\n\t\"./icon-assistant.svg\": \"8049\",\n\t\"./icon-automation-2.svg\": \"1f93\",\n\t\"./icon-automation.svg\": \"33d3\",\n\t\"./icon-ban-light.svg\": \"cba1\",\n\t\"./icon-bathroom.svg\": \"3a90\",\n\t\"./icon-bedroom.svg\": \"2dc5\",\n\t\"./icon-blind.svg\": \"3343\",\n\t\"./icon-blueprint.svg\": \"50da\",\n\t\"./icon-book.svg\": \"a24e\",\n\t\"./icon-checkbox-disabled.svg\": \"7a74\",\n\t\"./icon-close.svg\": \"9f16\",\n\t\"./icon-colored-light.svg\": \"89d8\",\n\t\"./icon-command.svg\": \"df05\",\n\t\"./icon-confirm-full.svg\": \"754d\",\n\t\"./icon-confirm-outline.svg\": \"56b2\",\n\t\"./icon-connected-server.svg\": \"a17c\",\n\t\"./icon-corridor.svg\": \"b9ef\",\n\t\"./icon-datetime.svg\": \"1496\",\n\t\"./icon-delete.svg\": \"94ba\",\n\t\"./icon-desktop.svg\": \"983e\",\n\t\"./icon-device.svg\": \"03b8\",\n\t\"./icon-dimmer-dmx.svg\": \"7a49\",\n\t\"./icon-diningroom.svg\": \"501c\",\n\t\"./icon-done.svg\": \"1e96\",\n\t\"./icon-duplication-all.svg\": \"b32a\",\n\t\"./icon-duplication.svg\": \"3a03\",\n\t\"./icon-edit-page.svg\": \"d0d6\",\n\t\"./icon-edit.svg\": \"1eee\",\n\t\"./icon-electrical-cabinet.svg\": \"2aa1\",\n\t\"./icon-ellipsis-v.svg\": \"137d\",\n\t\"./icon-email.svg\": \"f1cb\",\n\t\"./icon-energy.svg\": \"b05d\",\n\t\"./icon-entrance.svg\": \"b000\",\n\t\"./icon-expand-menu.svg\": \"420d\",\n\t\"./icon-failed-full.svg\": \"a6b2\",\n\t\"./icon-failed-outline.svg\": \"78b2\",\n\t\"./icon-fancoil.svg\": \"7b42\",\n\t\"./icon-faq.svg\": \"3437\",\n\t\"./icon-favourite-outline.svg\": \"efba\",\n\t\"./icon-favourite.svg\": \"ef9e\",\n\t\"./icon-filter.svg\": \"0931\",\n\t\"./icon-filters.svg\": \"f5b0\",\n\t\"./icon-garage.svg\": \"e25a\",\n\t\"./icon-garden.svg\": \"18bc\",\n\t\"./icon-general-light.svg\": \"8bae\",\n\t\"./icon-general-view.svg\": \"1cb3\",\n\t\"./icon-grid.svg\": \"5084\",\n\t\"./icon-group-lights.svg\": \"c7c0\",\n\t\"./icon-import.svg\": \"467b\",\n\t\"./icon-kitchen.svg\": \"f795\",\n\t\"./icon-laundry.svg\": \"26cc\",\n\t\"./icon-less.svg\": \"1fe0\",\n\t\"./icon-light.svg\": \"2967\",\n\t\"./icon-list.svg\": \"9a3b\",\n\t\"./icon-livingroom.svg\": \"2d2a\",\n\t\"./icon-loading.svg\": \"e315\",\n\t\"./icon-lock.svg\": \"a1b1\",\n\t\"./icon-mail.svg\": \"aaa7\",\n\t\"./icon-mobile-device.svg\": \"fcc4\",\n\t\"./icon-music-player.svg\": \"2a2b\",\n\t\"./icon-mx-server.svg\": \"eba1\",\n\t\"./icon-network.svg\": \"e331\",\n\t\"./icon-no-view.svg\": \"c6d8\",\n\t\"./icon-notification.svg\": \"dce2\",\n\t\"./icon-office.svg\": \"790c\",\n\t\"./icon-outdoor.svg\": \"6f2c\",\n\t\"./icon-paperclip.svg\": \"fa60\",\n\t\"./icon-plan-duplicate.svg\": \"fffe\",\n\t\"./icon-plants.svg\": \"f643\",\n\t\"./icon-player.svg\": \"c733\",\n\t\"./icon-plus-outline.svg\": \"1212\",\n\t\"./icon-profile.svg\": \"4fab\",\n\t\"./icon-push-notification.svg\": \"6d4c\",\n\t\"./icon-refresh.svg\": \"1af7\",\n\t\"./icon-remove-hand-02.svg\": \"797b\",\n\t\"./icon-remove-outline.svg\": \"79ab\",\n\t\"./icon-reorder-drag-and-drop.svg\": \"fcb4\",\n\t\"./icon-room.svg\": \"a24d\",\n\t\"./icon-round-outline.svg\": \"5115\",\n\t\"./icon-round.svg\": \"0b54\",\n\t\"./icon-scan-qr-code-02.svg\": \"b205\",\n\t\"./icon-scene.svg\": \"c4c4\",\n\t\"./icon-search.svg\": \"6a1a\",\n\t\"./icon-security-2.svg\": \"2f55\",\n\t\"./icon-security.svg\": \"a13f\",\n\t\"./icon-server-mhs-1.svg\": \"63ec\",\n\t\"./icon-setting.svg\": \"e942\",\n\t\"./icon-shutter.svg\": \"1e5c\",\n\t\"./icon-socket.svg\": \"4e1f\",\n\t\"./icon-staff.svg\": \"8dec\",\n\t\"./icon-staircase.svg\": \"a1a2\",\n\t\"./icon-star.svg\": \"0c24\",\n\t\"./icon-start-plan.svg\": \"f9fc\",\n\t\"./icon-sync.svg\": \"4e9a\",\n\t\"./icon-thermo.svg\": \"dc59\",\n\t\"./icon-thermostat.svg\": \"a231\",\n\t\"./icon-toilets.svg\": \"01b6\",\n\t\"./icon-towel-rail.svg\": \"2a06\",\n\t\"./icon-user.svg\": \"a26a\",\n\t\"./icon-weather.svg\": \"e6c0\",\n\t\"./icon-wifi-01-1.svg\": \"c297\",\n\t\"./icon-wifi.svg\": \"f077\",\n\t\"./icon-wizard-assegna-attuatore.svg\": \"6a9d\",\n\t\"./icon-xmeter.svg\": \"0519\",\n\t\"./icon_command_day.svg\": \"78b0\",\n\t\"./icon_command_enter.svg\": \"afda\",\n\t\"./icon_command_exit.svg\": \"c34e\",\n\t\"./icon_command_night.svg\": \"0ec0\",\n\t\"./icon_parameters_and_settings_folder_2.svg\": \"14b1\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"5981\";","module.exports = __webpack_public_path__ + \"img/ImagesMX-300EOS.2eddd116.png\";","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","module.exports = __webpack_public_path__ + \"img/icon-server-mhs-1.ea1fa748.svg\";","module.exports = __webpack_public_path__ + \"img/icon-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 DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var map = {\n\t\"./icon-favourite-outline.svg\": \"efba\",\n\t\"./icon-favourite.svg\": \"ef9e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"7235\";","module.exports = __webpack_public_path__ + \"img/icon-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 { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex align-items-center\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = { class: \"ml-2\" }\nconst _hoisted_4 = { class: \"ml-auto mr-2\" }\nconst _hoisted_5 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_6 = { class: \"ml-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Card = _resolveComponent(\"Card\")\n\n return (_openBlock(), _createBlock(_component_Card, { class: \"card--primary\" }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"title\", {}, () => [\n _createVNode(\"h3\", _hoisted_2, [\n _createVNode(_component_InlineSvgScoped, { src: _ctx.titleIcon }, null, 8, [\"src\"]),\n _createVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.title), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"actionButton\", {}, () => [\n (_ctx.showActionButton)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n disabled: _ctx.disabled,\n onClick: _ctx.onActionButtonClick,\n class: \"p-button-rounded p-button-outlined\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_5, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-plus-outline.svg`)\n ,\n \"aria-label\": \"icon-grid\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.actionButtonLabel), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 1\n }))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'CardContainer',\n components: {},\n props: {\n titleIcon: {\n type: String,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n showActionButton: {\n type: Boolean,\n required: false,\n },\n actionButtonLabel: {\n type: String,\n required: false,\n },\n disabled: {\n type:Boolean,\n required: false, \n default: false\n\n }\n },\n watch: {},\n emits: ['on-Action-Button-Click']\n})\n\nexport default class CardContainer extends Vue {\n titleIcon!: string;\n title!: string;\n showActionButton!: boolean;\n actionButtonLabel!: string;\n disabled!:boolean;\n\n\n\n onActionButtonClick () {\n this.$emit('on-Action-Button-Click');\n }\n}\n","import { render } from \"./CardContainer.vue?vue&type=template&id=5aab2bae&ts=true\"\nimport script from \"./CardContainer.ts?vue&type=script&lang=ts\"\nexport * from \"./CardContainer.ts?vue&type=script&lang=ts\"\n\nimport \"./CardContainer.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon-office.87b0bb72.svg\";","module.exports = __webpack_public_path__ + \"img/icon-remove-hand-02.b3013ce2.svg\";","module.exports = __webpack_public_path__ + \"img/icon-dimmer-dmx.6b6ebf5a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-checkbox-disabled.e73b0c58.svg\";","module.exports = __webpack_public_path__ + \"img/icon-fancoil.4c6f40ef.svg\";","module.exports = __webpack_public_path__ + \"img/icon-assistant.fe90f648.svg\";","module.exports = __webpack_public_path__ + \"img/icon-check.ea86f165.svg\";","module.exports = __webpack_public_path__ + \"img/icon-colored-light.ac91883d.svg\";","module.exports = __webpack_public_path__ + \"img/icon-general-light.5d647674.svg\";","module.exports = __webpack_public_path__ + \"img/icon-arrows-next.74ae035b.svg\";","module.exports = __webpack_public_path__ + \"img/icon-staff.6521f768.svg\";","module.exports = __webpack_public_path__ + \"img/icon-add-outline.c9d7b603.svg\";","module.exports = __webpack_public_path__ + \"img/icon-delete.07c02c83.svg\";","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 isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","module.exports = __webpack_public_path__ + \"img/icon-failed-full.110550e8.svg\";","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/ykRA9CytXHs1JH9E3AjPUsmEqyNE2eP7Z9NRjO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5N3MZ6F5sCx5RpSCtb1x+K0kkoq+7ySZn2PJz6CuHOkE8kwnnsh1Z+zqBlCD0ReIo5a2gklFYU/lBBqGVwb953DDvIFepPAnpkI2Q0JHwDp4VJQ/zxUQe1WrzGLBY7Ut7xL2lJg/DlFz34Ut5C5raHfnYO0KnlMDHQ/84m/hzH8wG8WWiz/gAO8HQWyOpNcgolkpiZe5WN3mV8gsoSj/xgB5J8drTGSb5Xk+HKbYXvSkyl83iAv8ABR0fYe03Wts+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, 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: \"row mr-n2\" }\nconst _hoisted_6 = { class: \"col-6\" }\nconst _hoisted_7 = { class: \"mb-4\" }\nconst _hoisted_8 = { class: \"p-field\" }\nconst _hoisted_9 = { class: \"p-field-label\" }\nconst _hoisted_10 = {\n class: \"column\",\n style: {\"padding-top\":\"40px\"}\n}\nconst _hoisted_11 = { class: \"d-flex align-items-center\" }\nconst _hoisted_12 = { class: \"title\" }\nconst _hoisted_13 = { class: \"bt-icon bt-icon--xs\" }\nconst _hoisted_14 = { class: \"ml-2\" }\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_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CallModeForm = _resolveComponent(\"CallModeForm\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_DialogImportFile = _resolveComponent(\"DialogImportFile\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupThePlant\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"h5\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.SystemParameters\")), 1),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.$t(\"AppResourceEP.DeviceLanguage\")), 1),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.infoPlant.language,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.infoPlant.language = $event)),\n options: _ctx.validLanguages,\n optionLabel: \"name\",\n optionValue: \"code\",\n class: \"w-100\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResourceEP.CallMode\")), 1),\n _createVNode(_component_Button, {\n disabled: _ctx.isBRFA,\n class: \"p-button-rounded ml-auto p-button-outlined\",\n style: {\"max-height\":\"24px !important\"},\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.triggerFilePicker()))\n }, {\n default: _withCtx(() => [\n _createVNode(\"input\", {\n type: \"file\",\n id: \"fileInput\",\n style: {\"display\":\"none\"},\n onChange: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.onFileSelected && _ctx.onFileSelected(...args))),\n accept: \".csv\"\n }, null, 32),\n _createVNode(\"span\", _hoisted_13, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"span\", _hoisted_14, _toDisplayString(_ctx.$t(\"general.import\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ])\n ])\n ]),\n _createVNode(_component_CallModeForm, {\n class: \"mt-4\",\n ref: \"callModeForm\",\n infoPlant: _ctx.infoPlant\n }, null, 8, [\"infoPlant\"])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_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 _createVNode(_component_DialogImportFile, {\n EntrancePlantDetail: _ctx.infoPlant,\n importedData: _ctx.importedData,\n isVisible: _ctx.isVisibleDialogImportFile,\n onHideDialog: _ctx.handleCloseDialog,\n onOverwrite: _ctx.overwrite,\n isCreationMode: true,\n onUpdatePlant: _ctx.handleUpdatePlant,\n onGrouped: _ctx.handleGrouped,\n isCallingMode: _ctx.isCallingCode\n }, null, 8, [\"EntrancePlantDetail\", \"importedData\", \"isVisible\", \"onHideDialog\", \"onOverwrite\", \"onUpdatePlant\", \"onGrouped\", \"isCallingMode\"])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n Language,\n EntrancePlantDetailDTO,\n EntrancePlantInfoCreateDTO,\n EntrancePlantStructureCreateDTO,\n ApartmentLabelDTO,\n ApartmentDTO,\n LabelType,\n BuildingImportDto,\n AddressingType,\n} from '@/../client-generator/generated-clients/plants';\nimport { processCsvData } from '@/core/utils/utils';\nimport i18n from '@/core/translations/i18n';\nimport { DenominationMode } from '@/../client-generator/generated-clients/plants';\nimport { validLanguages } from '@/core/utils/utils';\nimport plantsClient from '@/core/services/plants';\nimport { CallMode } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport ToggleSwitchButton from '@/views/components/ToggleSwitchButton/ToggleSwitchButton.vue';\nimport ListItemRadio from '@/views/components/ListItemRadio/ListItemRadio.vue';\nimport HelpPopupButton from '@/views/components/HelpPopupButton/HelpPopupButton.vue';\nimport CallModeForm from '@/views/components/CallModeForm/CallModeForm.vue';\nimport DialogImportFile, {\n multiLabelApartment,\n singleLabelApartment,\n} from '@/views/pages/EntrancePlantDetail/EntrancePlantResidents/DialogImportFile/DialogImportFile.vue';\ntype SelectButtonValue = {\n label: string;\n value: DenominationMode;\n};\n\n@Options({\n name: 'DialogEntrancePlantCreateStep2',\n components: {\n ToggleSwitchButton,\n ListItemRadio,\n HelpPopupButton,\n CallModeForm,\n DialogImportFile,\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.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n})\nexport default class DialogEntrancePlantCreateStep2 extends Vue {\n plant!: EntrancePlantDetailDTO;\n plantId!: number;\n infoPlant: EntrancePlantInfoCreateDTO = new EntrancePlantInfoCreateDTO();\n Language = Language;\n CallMode = CallMode;\n validLanguages = validLanguages;\n settingsList: SelectButtonValue[] = [\n {\n label: i18n.global.t('AppResourceEP.SetupBrfaNumbers'),\n value: DenominationMode.Numbers,\n },\n {\n label: i18n.global.t('AppResourceEP.SetupBrfaLetters'),\n value: DenominationMode.Letters,\n },\n ];\n apartmentSelected: singleLabelApartment[] | null = [];\n importedData: singleLabelApartment[] = [];\n isVisibleDialogImportFile: boolean = false;\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.infoPlant = new EntrancePlantInfoCreateDTO({\n addressBookSorting: this.plant.addressBookSorting,\n addressingType: this.plant.addressingType,\n denominationApartments: this.plant.denominationApartments,\n denominationBuildings: this.plant.denominationBuildings,\n denominationFloors: this.plant.denominationFloors,\n denominationRisers: this.plant.denominationRisers,\n language: this.plant.language,\n });\n }\n\n handleGrouped(grouped: multiLabelApartment[]) {\n let dictionary = {} as { [key: string]: ApartmentDTO[] };\n\n grouped.forEach((group) => {\n if (!dictionary[group.BuildingName!]) {\n dictionary[group.BuildingName!] = [];\n }\n\n const labels = group.validLines!.map(\n (label) =>\n new ApartmentLabelDTO({\n surname: label.Line1,\n name: label.Line2,\n companyName:\n label.Type === LabelType.Business ? label.Line1 : undefined,\n labelType: label.Type || LabelType.Private,\n information:label.Info\n })\n );\n\n dictionary[group.BuildingName!].push(\n new ApartmentDTO({\n name: group.ApartmentName,\n labels: labels,\n })\n );\n });\n\n this.infoPlant.buildings = Object.keys(dictionary).map((key) => {\n return new BuildingImportDto({\n name: key,\n apartments: dictionary[key],\n });\n });\n }\n\n get isCallingCode() {\n return (\n this.infoPlant.addressingType ===\n AddressingType.DirectCall_Alphanumeric ||\n this.infoPlant.addressingType === AddressingType.DirectCall_NumbersOnly\n );\n }\n\n get isBRFA() {\n return (\n this.infoPlant.addressingType ===\n AddressingType.BuildingRiserFloorApartment\n );\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 2,\n infoCreate: this.infoPlant,\n });\n }\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep1');\n }\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n this.$emit('onNext', 'DialogEntrancePlantCreateStep3');\n }\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n triggerFilePicker() {\n const input = document.getElementById('fileInput') as HTMLInputElement;\n input.value = '';\n input.click();\n }\n\n async onFileSelected(event: Event): Promise {\n this.apartmentSelected = null;\n const input = event.target as HTMLInputElement;\n if (!input.files || input.files.length === 0) {\n console.error('No file selected!');\n return;\n }\n\n const file = input.files[0];\n if (file.type !== 'text/csv') {\n console.error('File is not a CSV!');\n return;\n }\n this.$store.dispatch('SET_APP_LOADING', true);\n const reader = new FileReader();\n\n reader.onload = async (e: ProgressEvent) => {\n const text = e.target?.result;\n this.$store.dispatch('SET_APP_LOADING', false);\n if (typeof text !== 'string') {\n console.error('Failed to read file as text!');\n return;\n } else {\n const data = await processCsvData(text);\n if (data.length === 0) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('importFile.error'),\n closable: true,\n life: 6000,\n });\n }\n this.importedData = data;\n this.isVisibleDialogImportFile = true;\n }\n };\n\n reader.onerror = (e) => {\n console.error('Failed to read file!', e);\n };\n reader.readAsText(file); // Legge il contenuto del file come stringa\n }\n\n handleCloseDialog() {\n this.importedData = [];\n this.isVisibleDialogImportFile = false;\n }\n\n async overwrite() {\n this.handleCloseDialog();\n this.handleNextButton();\n }\n\n async handleUpdatePlant(plant: EntrancePlantDetailDTO) {\n this.plant = plant;\n }\n\n data() {\n return {\n plant: this.plant,\n };\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep2.vue?vue&type=template&id=12cd6c82&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 bigger-label\" }\nconst _hoisted_12 = { class: \"d-flex flex-column\" }\nconst _hoisted_13 = { class: \"p-field\" }\nconst _hoisted_14 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_15 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CardContainer = _resolveComponent(\"CardContainer\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResource.CreateStructure\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, 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(\"NameBuilding\")} ${\n i + 1\n }`) + \": \", 1),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"input-field-bottom-bord w-100\",\n modelValue: building.name,\n \"onUpdate:modelValue\": ($event: any) => (building.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\n \"AppResourceEP.NumberOfApartmentsUpper\"\n )) + \": \", 1),\n _createVNode(_component_Dropdown, {\n class: \"input-field-bottom-bord\",\n modelValue: building.apartmentsCount,\n \"onUpdate:modelValue\": ($event: any) => (building.apartmentsCount = $event),\n options: _ctx.noAppartmentOptions,\n optionLabel: \"label\",\n optionValue: \"value\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\"])\n ]),\n _createVNode(_component_Button, {\n disabled: _ctx.buildings.length == 1,\n label: _ctx.$t('AppResource.Delete'),\n class: [\"ml-auto p-button-text\", {\n 'grey-text': _ctx.buildings.length === 1,\n }],\n onClick: ($event: any) => (_ctx.handleBuildingRemove(i))\n }, null, 8, [\"disabled\", \"label\", \"class\", \"onClick\"])\n ])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }, 8, [\"titleIcon\", \"title\", \"onOnActionButtonClick\", \"actionButtonLabel\"])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_15, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n BuildingCreateDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { AddressingType } from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\nimport { noAppartmentOptions } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport plantsClient from '@/core/services/plants';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep3',\n components: {\n CardContainer,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n },\n watch: {\n plant: function (newValue) {\n if (newValue) this.initializeData();\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 noAppartmentOptions = noAppartmentOptions;\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.initializeData();\n }\n\n initializeData() {\n this.fillBuildings();\n if (this.buildings.length === 0) {\n this.addBuilding();\n }\n }\n\n fillBuildings() {\n this.plant.buildings?.forEach((building) => {\n this.buildings.push(\n new BuildingCreateDTO({\n apartmentsCount: building.apartments?.length,\n buildingId: building.buildingId,\n name: building.name,\n })\n );\n });\n }\n\n handleBuildingRemove(index: number) {\n this.buildings.splice(index, 1);\n }\n\n private getNewBuildingName(plant: EntrancePlantDetailDTO): string {\n let newBuildingName: string;\n let buildingIndex: number;\n let counter = 0;\n do {\n counter++;\n buildingIndex = this.buildings.length + counter;\n newBuildingName = `${this.$t('AppResourceEP.Building')} ${toLabel(\n counter,\n plant.denominationBuildings\n )}`;\n } while (this.buildings.some((x) => x.name == newBuildingName));\n return newBuildingName;\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n buildingsCreate: this.buildings,\n });\n }\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep2');\n }\n\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n\n const nextPage =\n this.plant.addressingType === AddressingType.BuildingRiserFloorApartment\n ? 'DialogEntrancePlantCreateStep4'\n : 'DialogEntrancePlantCreateStep6';\n\n this.$emit('onNext', nextPage);\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep3.vue?vue&type=template&id=397a447d&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 px-4\"\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 bigger-label\" }\nconst _hoisted_12 = { class: \"d-flex flex-column\" }\nconst _hoisted_13 = { class: \"p-field\" }\nconst _hoisted_14 = { class: \"p-field-label bigger-label\" }\nconst _hoisted_15 = {\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 bigger-label\" }\nconst _hoisted_19 = { class: \"d-flex flex-column\" }\nconst _hoisted_20 = { class: \"p-field\" }\nconst _hoisted_21 = { class: \"p-field-label bigger-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 input-field-bottom-bord\",\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(\"NoOfFloor\")) + \": \", 1),\n _createVNode(_component_Dropdown, {\n class: \"input-field-bottom-bord\",\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 input-field-bottom-bord\",\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.NumberOfApartmentsUpper\"\n )) + \": \", 1),\n _createVNode(_component_Dropdown, {\n class: \"w-100 input-field-bottom-bord\",\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.initializeData();\n },\n },\n emits: ['is-loading', 'onBack', 'onNext'],\n computed: {},\n})\nexport default class DialogEntrancePlantCreateStep4 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(\n (i) => i + 1\n );\n }\n\n riserName(index: number): string {\n return `${this.$t('AppResourceEP.Name')} ${this.$t(\n 'AppResourceEP.Riser'\n )} ${toLabel(index, this.plant.denominationRisers)}`;\n }\n\n floorName(index: number): string {\n return `${this.$t('AppResourceEP.Name')} ${this.$t(\n 'AppResourceEP.Floor'\n )} ${toLabel(index, this.plant.denominationFloors)}`;\n }\n\n changeFloorNumber(riser: RiserConfigDTO, value: number) {\n if (!this.currentRFAConfig) return;\n if (!riser.floors) riser.floors = [];\n const count = riser.floors.length - value;\n if (count < 0) {\n this.addFloors(riser, Math.abs(count));\n this.distributeApartmentsToRaisersAndFloors(this.currentRFAConfig);\n } else {\n this.removeFloors(riser, count);\n }\n }\n\n changeApartmentNumber(floor: FloorConfigDTO, value: number) {\n if (!this.currentRFAConfig) return;\n floor.numberOfApartments = value;\n }\n\n addRiser() {\n if (!this.currentRFAConfig) return;\n if (!this.currentRFAConfig.risers) this.currentRFAConfig.risers = [];\n\n const riserName = `${this.$t('AppResourceEP.Riser')} ${toLabel(\n this.risersCount + 1,\n this.plant.denominationRisers\n )}`;\n\n const riser = new RiserConfigDTO({\n index: this.risersCount + 1,\n name: riserName,\n });\n\n this.addFloors(riser, 1);\n\n this.currentRFAConfig.risers.push(riser);\n this.distributeApartmentsToRaisersAndFloors(this.currentRFAConfig);\n }\n\n addFloors(riser: RiserConfigDTO, floorsCount: number) {\n if (!riser.floors) riser.floors = [];\n\n for (let index = 0; index < floorsCount; index++) {\n const floorIndex = riser.floors.length + 1;\n const floorName = `${this.$t('AppResourceEP.Floor')} ${toLabel(\n floorIndex,\n this.plant.denominationFloors\n )}`;\n\n riser.floors.push(\n new FloorConfigDTO({\n index: floorIndex,\n name: floorName,\n numberOfApartments: 1,\n })\n );\n }\n }\n\n removeFloors(riser: RiserConfigDTO, floorsCount: number) {\n if (!riser.floors) return;\n riser.floors.splice(riser.floors.length - floorsCount, floorsCount);\n }\n\n removeRiser() {\n if (!this.currentRFAConfig) return;\n if (!this.currentRFAConfig.risers) return;\n this.currentRFAConfig.risers.splice(\n this.currentRFAConfig.risers.length - 1,\n 1\n );\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n this.floorsCountValues = [\n ...Array(this.currentBuilding?.apartments?.length).keys(),\n ].map((i) => i + 1);\n if (this.plant.buildings) {\n for (const building of this.plant.buildings) {\n if (!building.buildingId) continue;\n if (!building.apartments) continue;\n if (building.risers == null || building.risers.length == 0) {\n this.rfaConfig[building.buildingId] = new RFAConfigDTO({\n numberOfApartments: building.apartments.length,\n risers: [\n new RiserConfigDTO({\n index: 1,\n name: `${this.$t('AppResourceEP.Riser')} ${toLabel(\n 1,\n this.plant.denominationRisers\n )}`,\n floors: [\n new FloorConfigDTO({\n index: 1,\n name: `${this.$t('AppResourceEP.Floor')} ${toLabel(\n 1,\n this.plant.denominationFloors\n )}`,\n numberOfApartments: building.apartments.length,\n }),\n ],\n }),\n ],\n });\n }\n else {\n var rfaConfig = new RFAConfigDTO({\n numberOfApartments: building.apartments.length,\n risers: [],\n });\n building.risers.forEach((riser) => {\n rfaConfig.risers?.push(\n new RiserConfigDTO({\n riserId: riser.riserId,\n index: Number.parseInt(riser.index!),\n name: riser.name,\n floors: building.floors?.filter(r=>r.riserId==riser.riserId).map((floor) => {\n return new FloorConfigDTO({\n index: Number.parseInt(floor.index!),\n name: floor.name,\n numberOfApartments:building.apartments?.filter(a=>a.floorId==floor.floorId).length,\n });\n }),\n }),\n );\n });\n this.rfaConfig[building.buildingId] = rfaConfig;\n }\n }\n }\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 4,\n plantConfigStructure: this.rfaConfig,\n });\n }\n\n handleBackButton() {\n if (this.plant.buildings) {\n if (this.currentBuildingIndex > 0) {\n this.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=0ad77201&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.initializeData();\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.initializeData();\n }\n\n async initializeData() {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n this.recapCode = await plantsClient.callingcoderecap(this.plantId);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n\n\n handleBackButton() {\n this.$emit('onBack', 'DialogEntrancePlantCreateStep4');\n }\n\n async handleNextButton() {\n this.$emit('onNext', 'DialogEntrancePlantCreateStep6');\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep5.vue?vue&type=template&id=a58b476a&ts=true\"\nimport script from \"./DialogEntrancePlantCreateStep5.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogEntrancePlantCreateStep5.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogEntrancePlantCreateStep5.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"height\":\"calc(100vh - 300px)\"} }\nconst _hoisted_5 = { class: \"mr-3\" }\nconst _hoisted_6 = { class: \"p-field\" }\nconst _hoisted_7 = { class: \"p-field-label mb-3\" }\nconst _hoisted_8 = { class: \"list-blocks\" }\nconst _hoisted_9 = { class: \"form-custom d-flex align-items-center w-100\" }\nconst _hoisted_10 = { class: \"p-field mr-4\" }\nconst _hoisted_11 = { class: \"p-field-label\" }\nconst _hoisted_12 = { class: \"d-flex flex-column input-field-bottom-bord\" }\nconst _hoisted_13 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_CardContainer = _resolveComponent(\"CardContainer\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(\"AppResourceEP.AddGates\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, null, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResourceEP.SetupNumberOfGates\")), 1)\n ]),\n (_ctx.plant.gates)\n ? (_openBlock(), _createBlock(_component_CardContainer, {\n key: 0,\n titleIcon: \n require(`@/assets/images/entrancePlants/icon-gate.svg`)\n ,\n title: _ctx.titleCard,\n showActionButton: true,\n onOnActionButtonClick: _ctx.addGate,\n actionButtonLabel: _ctx.$t('AppResource.Add')\n }, {\n default: _withCtx(() => [\n _createVNode(\"ul\", _hoisted_8, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plant.gates, (gate, i) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: \"new-building\",\n key: i\n }, [\n _createVNode(\"form\", _hoisted_9, [\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"label\", _hoisted_11, _toDisplayString(_ctx.$t(\"AppResourceEP.Name\")) + \": \", 1),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_InputText, {\n type: \"text\",\n class: \"w-100\",\n modelValue: gate.name,\n \"onUpdate:modelValue\": ($event: any) => (gate.name = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]),\n _createVNode(_component_Button, {\n disabled: _ctx.plant.gates.length == 1,\n label: _ctx.$t('AppResource.Delete'),\n class: \"ml-auto p-button-text\",\n onClick: ($event: any) => (_ctx.handleGateRemove(i))\n }, null, 8, [\"disabled\", \"label\", \"onClick\"])\n ])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }, 8, [\"titleIcon\", \"title\", \"onOnActionButtonClick\", \"actionButtonLabel\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(\"footer\", _hoisted_13, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\"\n }, null, 8, [\"onClick\", \"label\"])\n ])\n ], 64))\n}","import { Vue, Options } from 'vue-class-component';\nimport {\n AddressingType,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n GateDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { DenominationMode } from '@/../client-generator/generated-clients/plants';\nimport CardContainer from '@/views/components/CardContainer/CardContainer.vue';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\nimport plantsClient from '@/core/services/plants';\n\n@Options({\n name: 'DialogEntrancePlantCreateStep6',\n components: {\n CardContainer,\n },\n props: {\n plant: {\n required: true,\n type: Object as () => EntrancePlantDetailDTO,\n },\n plantId: {\n type: Number,\n required: false,\n },\n },\n // watch: {\n // plant: function (newValue) {\n // if (newValue) this.initializeData();\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 const prevPage =\n this.plant.addressingType !== AddressingType.BuildingRiserFloorApartment\n ? 'DialogEntrancePlantCreateStep3'\n : 'DialogEntrancePlantCreateStep5';\n this.$emit('onBack', prevPage);\n }\n async handleNextButton() {\n await this.updatePlantStructure(this.getDataToSave());\n this.$emit('onNext', 'DialogEntrancePlantCreateStep7');\n }\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep6.vue?vue&type=template&id=e40a7a1c&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 = { key: 2 }\nconst _hoisted_13 = { class: \"mt-4 mb-3 secondary-label fw-normal fs-12 text-uppercase\" }\nconst _hoisted_14 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ButtonSelection = _resolveComponent(\"ButtonSelection\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_ListItemCheck = _resolveComponent(\"ListItemCheck\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_Button = _resolveComponent(\"Button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.pageTitle), 1)\n ]),\n (_ctx.currentGate)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ElScrollbar, { class: \"list\" }, {\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 style: {\"width\":\"40%\"},\n min: _ctx.MIN_SCS_ADDRESS,\n max: _ctx.MAX_SCS_ADDRESS,\n modelValue: _ctx.currentGate.scsAddress,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.currentGate.scsAddress = $event))\n }, null, 8, [\"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_ListItemCheck, {\n label: _ctx.$t(\n 'AppResource.All'\n )\n ,\n name: \"building\",\n inputId: \"234\",\n \"onUpdate:value\": _ctx.handleUpdateBuildingSelection,\n value: _ctx.more_building_value,\n modelValue: _ctx.selectedBuildingIds[_ctx.currentGateId],\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.selectedBuildingIds[_ctx.currentGateId] = $event))\n }, null, 8, [\"label\", \"onUpdate:value\", \"value\", \"modelValue\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.plant.buildings, (building, i) => {\n return (_openBlock(), _createBlock(_component_ListItemCheck, {\n key: i,\n value: building.buildingId,\n name: \"building\",\n modelValue: _ctx.selectedBuildingIds[_ctx.currentGateId],\n inputId: 'building' + i,\n \"onUpdate:value\": _ctx.handleUpdateBuildingSelection,\n last: i == _ctx.plant.buildings.length - 1,\n label: building.name\n }, null, 8, [\"value\", \"modelValue\", \"inputId\", \"onUpdate:value\", \"last\", \"label\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isBRFA)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_12, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.selectedBuildings, (b, i) => {\n return (_openBlock(), _createBlock(_Fragment, { key: i }, [\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.$t(\"AppResource.For\")) + \" \" + _toDisplayString(b.name) + \" \" + _toDisplayString(_ctx.$t(\"TheyManage\")), 1)\n ]),\n (b && b.risers)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_ListItemCheck, {\n label: _ctx.$t(\n 'AppResourceEP.SetupDefineGatesBuildingAllRisers'\n )\n ,\n value: _ctx.all_risers_value,\n modelValue: _ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId],\n \"onUpdate:modelValue\": ($event: any) => (_ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId] = $event),\n \"onUpdate:value\": ($event: any) => (_ctx.handleUpdateRiserSelection(_ctx.all_risers_value,b.buildingId)),\n name: \"riser\",\n inputId: \"riser\"\n }, null, 8, [\"label\", \"value\", \"modelValue\", \"onUpdate:modelValue\", \"onUpdate:value\"]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(b.risers, (riser, i) => {\n return (_openBlock(), _createBlock(_component_ListItemCheck, {\n key: i,\n label: riser.name,\n value: riser.riserId,\n \"onUpdate:value\": ($event: any) => (_ctx.handleUpdateRiserSelection(riser.riserId,b.buildingId)),\n modelValue: _ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId],\n \"onUpdate:modelValue\": ($event: any) => (_ctx.selectedRiserIds[_ctx.currentGateId][b.buildingId] = $event),\n name: \"riser\",\n inputId: 'riser' + i,\n last: i == b.risers.length - 1\n }, null, 8, [\"label\", \"value\", \"onUpdate:value\", \"modelValue\", \"onUpdate:modelValue\", \"inputId\", \"last\"]))\n }), 128))\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"footer\", _hoisted_14, [\n _createVNode(_component_Button, {\n onClick: _ctx.handleBackButton,\n label: _ctx.$t('AppResource.Back'),\n class: \"p-button-text mr-3\"\n }, null, 8, [\"onClick\", \"label\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.handleNextButton,\n label: _ctx.$t('AppResource.Continue'),\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: !_ctx.nextEnabled\n }, null, 8, [\"onClick\", \"label\", \"disabled\"])\n ])\n ], 64))\n}","import { 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 { Vue, Options } from 'vue-class-component';\nimport {\n AddressingType,\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';\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';\nimport { EPDeviceTypeEnum } from '@/core/utils/EntrancePlant/entrance-plant.utils';\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 plant: function (newValue) {\n if (newValue) this.initializeData();\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 readonly MIN_SCS_ADDRESS = 0;\n readonly MAX_SCS_ADDRESS = 95;\n scsAddrNotValid: boolean = false;\n\n readonly more_building_value = 'more_building';\n readonly all_risers_value = 'all_risers';\n \n selectedBuildingIds:{ [key: string]: string[] } = {};\n selectedRiserIds: { [key: string]: { [innerKey: string]: string[] } } = {};\n\n get selectedBuildings(): BuildingDTO[] | null {\n if (!this.plant.buildings) return null;\n return this.plant.buildings.filter(b => this.selectedBuildingIds[this.currentGateId!].includes(b.buildingId!));\n }\n\n get currentGateId(): string | null {\n if (!this.plant.gates) return null;\n return this.plant.gates[this.currentGateIndex].gateId ?? null;\n }\n\n get 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 }\n return g;\n }\n get isBRFA() { \n return this.plant.addressingType==AddressingType.BuildingRiserFloorApartment;\n }\n\n get pageTitle() {\n return `${this.$t('AppResourceEP.SetupGateTitle').toString()} ${\n this.currentGateIndex + 1\n }`;\n }\n\n mounted(): void {\n this.initializeData();\n }\n\n initializeData() {\n if (!this.plant.gates) return; \n for (const gate of this.plant.gates) {\n this.selectedBuildingIds[gate.gateId!] = [];\n this.selectedRiserIds[gate.gateId!] = {};\n this.plant.buildings?.forEach((building) => {\n this.selectedRiserIds[gate.gateId!][building.buildingId!] = [];\n });\n gate!.connectedBuildingIds!.forEach((buildingId) => {\n this.selectedRiserIds[gate.gateId!][buildingId] = [];\n });\n this.gateConfig[gate.gateId!] = new GateConfigDTO({\n newPeSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.linea5000) ?? false,\n keypadSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.KeyPad) ?? false,\n smartReaderSelected: gate.devices?.some((d) => d.type == EPDeviceTypeEnum.SmartAccess) ?? false,\n connectedBuildingIds: gate.connectedBuildingIds ?? [],\n connectedRiserIds: gate.connectedRiserIds ?? [],\n });\n }\n this.buildForm(); \n this.refreshDeviceSelection();\n }\n buildForm() {\n if (this.plant.gates && this.plant.gates.length > 0) {\n for (const gate of this.plant.gates) {\n if (gate.connectedBuildingIds) {\n gate.connectedBuildingIds!.forEach((buildingId) => {\n this.selectedBuildingIds[gate.gateId!].push(buildingId);\n let buildings = this.plant.buildings!.filter(b => b.buildingId == buildingId);\n let building = buildings.length > 0 ? buildings[0] : null;\n if (building) {\n gate.connectedRiserIds!.forEach(riserId => {\n if (!this.selectedRiserIds[gate.gateId!][buildingId].includes(riserId!) && building!.risers!.some(r => r.riserId == riserId!)) {\n this.selectedRiserIds[gate.gateId!][buildingId].push(riserId);\n }\n });\n }\n });\n }\n }\n }\n }\n\n getDataToSave() {\n return new EntrancePlantStructureCreateDTO({\n wizardStep: 3,\n gateConfigStructure: this.gateConfig,\n });\n }\n\n checkInputValidity() {\n if(this.currentGate) {\n if(this.currentGate.scsAddress! < this.MIN_SCS_ADDRESS)this.currentGate.scsAddress = this.MIN_SCS_ADDRESS\n if(this.currentGate.scsAddress! > this.MAX_SCS_ADDRESS)this.currentGate.scsAddress = this.MAX_SCS_ADDRESS\n }\n }\n\n 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 this.currentGate.connectedRiserIds =[... new Set(Object.values(this.selectedRiserIds[this.currentGateId!]).flat().filter(r => r != this.all_risers_value))];\n this.currentGate.connectedBuildingIds = [...new Set(this.selectedBuildingIds[this.currentGateId!].filter(b => b != this.more_building_value))];\n }\n if (this.plant.gates) {\n if (this.currentGateIndex < this.plant.gates.length - 1) {\n this.currentGateIndex++;\n this.refreshDeviceSelection();\n return;\n }\n await this.updatePlantStructure(this.getDataToSave());\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 this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResource.PlantCreated'),\n closable: false,\n life: 3000,\n });\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n });\n }\n\n async updatePlantStructure(structure: EntrancePlantStructureCreateDTO) {\n if (!this.plantId) return;\n this.$emit('is-loading', true);\n try {\n await plantsClient.structure(this.plant.desktopId!, structure);\n } catch (error) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 6000,\n });\n } finally {\n this.$emit('is-loading', false);\n }\n }\n newPeDisabled = false;\n keypadDisabled = false;\n smartReaderDisabled = false;\n refreshDeviceSelection() {\n if (!this.currentGate) return;\n this.newPeDisabled = false;\n this.keypadDisabled = false;\n this.smartReaderDisabled = false;\n if (this.currentGate.newPeSelected) this.onChangeNewPe();\n if (this.currentGate.keypadSelected) this.onChangeKeypad();\n if (this.currentGate.smartReaderSelected) this.onChangeSmartReader();\n\n if(this.selectedBuildingIds[this.currentGateId!].length==this.plant.buildings?.length) {\n this.selectedBuildingIds[this.currentGateId!].push(this.more_building_value);\n }\n this.selectedBuildingIds[this.currentGateId!].filter(b=>b!=this.more_building_value).forEach((buildingId) => { \n if(this.selectedRiserIds[this.currentGateId!][buildingId].length==this.plant.buildings?.filter(b => b.buildingId == buildingId)[0].risers?.length) {\n this.selectedRiserIds[this.currentGateId!][buildingId].push(this.all_risers_value);\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 || !this.selectedBuildingIds[this.currentGateId!]) return false;\n let devicesSelected= ((this.currentGate.newPeSelected == true || this.currentGate.keypadSelected == true || this.currentGate.smartReaderSelected == true));\n let buildingsSelected = this.selectedBuildingIds[this.currentGateId!].length > 0;\n let risersSelected = true;\n if (this.isBRFA) {\n //foreach building selected, check if one riser is selected\n this.selectedBuildingIds[this.currentGateId!].filter(b => b != this.more_building_value).forEach((buildingId) => { \n if (this.selectedRiserIds[this.currentGateId!] && this.selectedRiserIds[this.currentGateId!][buildingId]) {\n risersSelected = risersSelected && this.selectedRiserIds[this.currentGateId!][buildingId].length > 0;\n }\n });\n return devicesSelected && buildingsSelected && risersSelected;\n }\n return devicesSelected && buildingsSelected;\n }\n\n handleUpdateBuildingSelection(value: string) {\n if (value == this.more_building_value) {\n if (!this.selectedBuildingIds[this.currentGateId!].includes(this.more_building_value)) {\n this.selectedBuildingIds[this.currentGateId!].splice(0);\n this.selectedRiserIds[this.currentGateId!][value] = [];\n }\n else {\n this.plant.buildings!.forEach(element => {\n this.selectedBuildingIds[this.currentGateId!].push(element.buildingId!);\n this.selectedRiserIds[this.currentGateId!][element.buildingId!] = [];\n });\n }\n }\n else {\n if (!this.selectedBuildingIds[this.currentGateId!].includes(this.more_building_value) && this.selectedBuildingIds[this.currentGateId!].length == this.plant.buildings?.length) {\n this.selectedBuildingIds[this.currentGateId!].push(this.more_building_value);\n this.selectedRiserIds[this.currentGateId!][value] = [];\n }\n else if (this.selectedBuildingIds[this.currentGateId!].includes(this.more_building_value)) {\n this.selectedBuildingIds[this.currentGateId!].splice(this.selectedBuildingIds[this.currentGateId!].indexOf(this.more_building_value), 1);\n this.selectedRiserIds[this.currentGateId!][value] = [];\n }\n }\n }\n\n handleUpdateRiserSelection(value: string, buildingId: string) {\n let buildings = this.plant.buildings!.filter(b => b.buildingId == buildingId);\n let building = buildings.length > 0 ? buildings[0] : null;\n if (building) { \n if (value == this.all_risers_value) {\n if (!this.selectedRiserIds[this.currentGateId!][buildingId].includes(this.all_risers_value)) {\n this.selectedRiserIds[this.currentGateId!][buildingId].splice(0);\n }\n else {\n building.risers!.forEach(element => {\n this.selectedRiserIds[this.currentGateId!][buildingId].push(element.riserId!);\n });\n }\n }\n else {\n if (!this.selectedRiserIds[this.currentGateId!][buildingId].includes(this.all_risers_value) && this.selectedRiserIds[this.currentGateId!][buildingId].length == building.risers!.length) {\n this.selectedRiserIds[this.currentGateId!][buildingId].push(this.all_risers_value);\n }\n else if (this.selectedRiserIds[this.currentGateId!][buildingId].includes(this.all_risers_value)) {\n this.selectedRiserIds[this.currentGateId!][buildingId].splice(this.selectedRiserIds[this.currentGateId!][buildingId].indexOf(this.all_risers_value), 1);\n }\n }\n }\n }\n}\n","import { render } from \"./DialogEntrancePlantCreateStep7.vue?vue&type=template&id=77ba7e4e&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__","module.exports = __webpack_public_path__ + \"img/icon-garage.ff736917.svg\";","module.exports = __webpack_public_path__ + \"img/icon-loading.83458905.svg\";","module.exports = __webpack_public_path__ + \"img/icon-network.0411b7d4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-weather.5a72b355.svg\";","module.exports = __webpack_public_path__ + \"img/icon-mx-server.529b5e1c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-favourite.ce7f9138.svg\";","module.exports = __webpack_public_path__ + \"img/icon-favourite-outline.56d4bb98.svg\";","module.exports = __webpack_public_path__ + \"img/icon-wifi.d72ad1e9.svg\";","module.exports = __webpack_public_path__ + \"img/icon-email.b2a6500a.svg\";","module.exports = __webpack_public_path__ + \"img/icon-filters.c0b258d4.svg\";","module.exports = __webpack_public_path__ + \"img/icon-kitchen.40fc9f7b.svg\";","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","module.exports = __webpack_public_path__ + \"img/icon-start-plan.2cb818f6.svg\";","module.exports = __webpack_public_path__ + \"img/icon-paperclip.f564901c.svg\";","module.exports = __webpack_public_path__ + \"img/icon-reorder-drag-and-drop.7f077836.svg\";","module.exports = __webpack_public_path__ + \"img/icon-mobile-device.1ca476dd.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ButtonSelection.scss?vue&type=style&index=0&id=0849788d&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/icon-plan-duplicate.7f36dbd5.svg\";"],"sourceRoot":""}