@piveau/dpi 0.2.0-alpha.7 → 0.2.0-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/composables/useRuntimeEnv.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/DPIMenu.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue.js +22 -16
- package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue2.js +50 -47
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +4 -96
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue2.js +124 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +80 -47
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +124 -72
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +4 -53
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +64 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue2.js +199 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +63 -75
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +39 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +110 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +100 -67
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +16 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +146 -103
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +117 -84
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +30 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +25 -21
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +11 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +142 -143
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +205 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +204 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +235 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +46 -36
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +179 -127
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +146 -145
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +66 -37
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +48 -40
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +72 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +149 -135
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListboxVeeValidate.vue.js +48 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListboxVeeValidate.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +11 -11
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +502 -385
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +192 -160
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +64 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +108 -74
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +13 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +122 -85
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +170 -99
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +118 -52
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +65 -86
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +105 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +91 -78
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue2.js +122 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +594 -627
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +151 -130
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +55 -37
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +11 -11
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue2.js +33 -23
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +161 -217
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +115 -98
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +36 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +39 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +40 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +38 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +74 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +159 -103
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +5 -932
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1145 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +567 -207
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +82 -62
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -94
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +329 -100
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +51 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +70 -42
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +16 -12
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +229 -113
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +35 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaVeeValidate.vue.js +55 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaVeeValidate.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +63 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue.js +30 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +169 -114
- package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +32 -32
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +297 -102
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +713 -615
- package/dist/packages/dpi/src/data-provider-interface/components/Dropup.vue.js +6 -6
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +106 -86
- package/dist/packages/dpi/src/data-provider-interface/components/InfoSlot.vue.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue2.js +61 -54
- package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +168 -117
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +409 -268
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +192 -0
- package/dist/packages/dpi/src/{stories/components/MethodsCard.vue.js → data-provider-interface/components/SpatialPage.vue.js} +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +59 -0
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +150 -96
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +267 -187
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +392 -0
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +38 -24
- package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +67 -53
- package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/UpdateDate.vue.js +33 -29
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +121 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +137 -94
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +13 -11
- package/dist/packages/dpi/src/data-provider-interface/components/icons/PhCircleInCircle.vue.js +26 -0
- package/dist/packages/dpi/src/data-provider-interface/components/icons/PhCircleInCircle.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +146 -151
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +238 -214
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/questions.js +27 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useDebouncedLoading.js +11 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiContext.js +9 -10
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +89 -65
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +449 -251
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +82 -82
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiUtils.js +18 -9
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitMessages.js +14 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitSummary.js +46 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useOrganizationInfo.js +79 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +95 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +83 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +132 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapde/vocab-prefixes.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +499 -156
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +108 -152
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +10 -3
- package/dist/packages/dpi/src/data-provider-interface/plugins/userConfigShimPlugin.js +2 -3
- package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +103 -95
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +11 -11
- package/dist/packages/dpi/src/data-provider-interface/utils/useSteps.js +35 -29
- package/dist/packages/dpi/src/data-provider-interface/views/DraftsPage.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +474 -390
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +467 -456
- package/dist/packages/dpi/src/form/inputDefinitions.js +57 -53
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +24 -26
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +3 -3
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +19 -20
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +13 -16
- package/dist/packages/dpi/src/utils/schema/schemaProject.js +210 -0
- package/dist/packages/dpi/src/utils/schema/shared.js +23 -0
- package/dist/packages/dpi/src/utils/twinbyUtils.js +33 -0
- package/dist/styles/_dpi.scss +1630 -0
- package/dist/styles/_maps.scss +24 -0
- package/dist/styles/_variables.scss +973 -0
- package/package.json +36 -24
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +0 -96
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +0 -46
- package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -81
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
- package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as tn, mergeModels as pe, useModel as ln, unref as l, watch as N, ref as Z, computed as w, createElementBlock as p, openBlock as c, createElementVNode as i, createCommentVNode as S, createVNode as o, Fragment as g, mergeProps as O, isRef as A, withCtx as v, createTextVNode as on, renderList as P, createBlock as V, withDirectives as fe, vModelCheckbox as sn, vShow as rn } from "vue";
|
|
2
|
+
import { PhLightbulb as an } from "@phosphor-icons/vue";
|
|
3
|
+
import { toTypedSchema as he } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
|
|
4
|
+
import { useForm as ve, useFieldArray as x } from "vee-validate";
|
|
5
|
+
import * as s from "zod";
|
|
6
|
+
import { useRuntimeEnv as un } from "../../../../composables/useRuntimeEnv.js";
|
|
7
|
+
import { generateIsRequiredMsg as k, generateIsInvalidMsg as be } from "../../../../utils/twinbyUtils.js";
|
|
8
|
+
import { useTwinbyUser as dn } from "../../../composables/useTwinbyUser.js";
|
|
9
|
+
import cn from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
6
10
|
import f from "../ButtonV3.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
11
|
+
import mn from "../Card.vue.js";
|
|
12
|
+
import pn from "../Chip.vue.js";
|
|
13
|
+
import H from "../InputField/InputFieldVeeValidate.vue.js";
|
|
14
|
+
import we from "../ListBox/ListboxVeeValidate.vue.js";
|
|
15
|
+
import fn from "../TextArea/TextAreaVeeValidate.vue.js";
|
|
16
|
+
import hn from "../TextAreaV3.vue.js";
|
|
17
|
+
import vn from "./FunctionalityForm.vue.js";
|
|
18
|
+
import U from "./ProcessStepInputCard.vue.js";
|
|
19
|
+
import bn from "./RichOption.vue.js";
|
|
20
|
+
const wn = { class: "dpi-project-process-step V3-typography" }, gn = { class: "step-section" }, kn = { class: "step-section-actions" }, yn = ["href"], zn = { class: "step-section" }, Sn = { class: "step-section" }, Vn = { class: "step-section step-section--lg" }, Hn = { class: "step-section" }, Bn = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "step-section-actions"
|
|
23
|
+
}, Pn = { class: "step-section" }, xn = {
|
|
14
24
|
key: 0,
|
|
15
25
|
class: "functionalities-container"
|
|
16
|
-
},
|
|
26
|
+
}, Un = ["id", "value"], In = { class: "step-section step-section--lg" }, $n = { style: { display: "flex", "justify-content": "flex-end" } }, Cn = { style: { display: "inline-flex", "justify-content": "flex-end" } }, Ln = { class: "step-section-actions" }, Dn = { class: "step-section" }, Fn = { class: "step-section-actions" }, Zn = { class: "step-section" }, An = { class: "step-section-actions" }, Wn = { class: "step-section" }, Rn = { class: "step-section-actions" }, _n = { class: "step-section-actions" }, Mn = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "button-row"
|
|
29
|
+
}, W = 500, ut = /* @__PURE__ */ tn({
|
|
17
30
|
__name: "HardwareForm",
|
|
18
|
-
props: /* @__PURE__ */
|
|
31
|
+
props: /* @__PURE__ */ pe({
|
|
19
32
|
modelValue: {},
|
|
20
33
|
initializeWith: {},
|
|
21
34
|
exclude: { default: () => [] }
|
|
@@ -25,658 +38,612 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
25
38
|
},
|
|
26
39
|
modelModifiers: {}
|
|
27
40
|
}),
|
|
28
|
-
emits: /* @__PURE__ */
|
|
29
|
-
setup(
|
|
30
|
-
var ne, ie, le,
|
|
31
|
-
const m =
|
|
32
|
-
lat:
|
|
33
|
-
lng:
|
|
34
|
-
}),
|
|
35
|
-
name:
|
|
36
|
-
url:
|
|
37
|
-
description:
|
|
41
|
+
emits: /* @__PURE__ */ pe(["submit", "patch", "close"], ["update:modelValue"]),
|
|
42
|
+
setup(T, { emit: ge }) {
|
|
43
|
+
var ee, ne, te, ie, le, oe, se, re, ae, ue;
|
|
44
|
+
const m = T, R = ge, ke = ln(T, "modelValue"), B = !!m.modelValue, ye = l(m.modelValue) || "", ze = s.object({
|
|
45
|
+
lat: s.string().min(1, k("Latitude / Breite")),
|
|
46
|
+
lng: s.string().min(1, k("Longitude / Länge"))
|
|
47
|
+
}), Se = s.array(ze), Ve = s.object({
|
|
48
|
+
name: s.string().min(1, k("Name")).default(""),
|
|
49
|
+
url: s.string().min(1, k("URL")).url(be("URL")).default(""),
|
|
50
|
+
description: s.string().default("")
|
|
38
51
|
});
|
|
39
|
-
function
|
|
40
|
-
return Array.isArray(
|
|
52
|
+
function j(t) {
|
|
53
|
+
return Array.isArray(t) ? t : t != null ? [t] : [];
|
|
41
54
|
}
|
|
42
|
-
const
|
|
43
|
-
id:
|
|
44
|
-
description:
|
|
45
|
-
functionalities:
|
|
46
|
-
forProperty:
|
|
47
|
-
locations:
|
|
48
|
-
depictions:
|
|
49
|
-
references:
|
|
50
|
-
isHostedBy:
|
|
51
|
-
hosts:
|
|
52
|
-
}),
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
const He = s.object({
|
|
56
|
+
id: s.string(),
|
|
57
|
+
description: s.string().optional(),
|
|
58
|
+
functionalities: s.array(s.string()).min(1),
|
|
59
|
+
forProperty: s.array(s.string()),
|
|
60
|
+
locations: Se,
|
|
61
|
+
depictions: s.array(s.string().min(1, k("URL")).url(be("URL"))),
|
|
62
|
+
references: s.array(Ve),
|
|
63
|
+
isHostedBy: s.array(s.string().min(1, k("Host-Plattform"))),
|
|
64
|
+
hosts: s.array(s.string())
|
|
65
|
+
}), Be = [
|
|
66
|
+
...[
|
|
67
|
+
"Mast",
|
|
68
|
+
"Ampel",
|
|
69
|
+
"Verkehrsschild",
|
|
70
|
+
"Gebäude",
|
|
71
|
+
"Straßenbelag",
|
|
72
|
+
"Brücke",
|
|
73
|
+
"Bushaltestelle",
|
|
74
|
+
"Dachfläche",
|
|
75
|
+
"Straßenmobiliar",
|
|
76
|
+
"Parkhaus",
|
|
77
|
+
"Kanaldeckel",
|
|
78
|
+
"Grünfläche"
|
|
79
|
+
].sort((t, e) => t.localeCompare(e)),
|
|
80
|
+
"Sonstiges"
|
|
81
|
+
], b = ve({
|
|
82
|
+
validationSchema: he(He),
|
|
59
83
|
initialValues: {
|
|
60
84
|
id: m.modelValue || "",
|
|
61
|
-
description: ((
|
|
62
|
-
functionalities: ((
|
|
63
|
-
forProperty: ((
|
|
64
|
-
locations: ((
|
|
65
|
-
depictions: ((
|
|
66
|
-
references: ((
|
|
67
|
-
isHostedBy:
|
|
68
|
-
hosts:
|
|
85
|
+
description: ((ee = m.initializeWith) == null ? void 0 : ee.description) || "",
|
|
86
|
+
functionalities: ((ne = m.initializeWith) == null ? void 0 : ne.functionalities) || [],
|
|
87
|
+
forProperty: ((te = m.initializeWith) == null ? void 0 : te.forProperty) || [],
|
|
88
|
+
locations: ((ie = m.initializeWith) == null ? void 0 : ie.locations) || [],
|
|
89
|
+
depictions: ((le = m.initializeWith) == null ? void 0 : le.depictions) || [],
|
|
90
|
+
references: ((oe = m.initializeWith) == null ? void 0 : oe.references) || [],
|
|
91
|
+
isHostedBy: j((se = m.initializeWith) == null ? void 0 : se.isHostedBy),
|
|
92
|
+
hosts: j((re = m.initializeWith) == null ? void 0 : re.hosts)
|
|
69
93
|
},
|
|
70
94
|
name: "hardwareForm"
|
|
71
|
-
}),
|
|
72
|
-
|
|
95
|
+
}), {
|
|
96
|
+
defineField: I,
|
|
97
|
+
handleSubmit: Pe,
|
|
98
|
+
resetForm: xe
|
|
99
|
+
} = b, [y, Ue] = I("id"), [z] = I("functionalities"), [h, Ie] = I("forProperty"), [$, $e] = I("description"), {
|
|
100
|
+
remove: Ce,
|
|
73
101
|
push: Le,
|
|
74
|
-
fields:
|
|
102
|
+
fields: De
|
|
75
103
|
} = x("locations"), {
|
|
76
|
-
remove:
|
|
77
|
-
push:
|
|
78
|
-
fields:
|
|
104
|
+
remove: Fe,
|
|
105
|
+
push: Ze,
|
|
106
|
+
fields: Ae
|
|
79
107
|
} = x("depictions"), {
|
|
80
|
-
remove:
|
|
81
|
-
push:
|
|
82
|
-
fields:
|
|
108
|
+
remove: We,
|
|
109
|
+
push: Re,
|
|
110
|
+
fields: _e
|
|
83
111
|
} = x("references"), {
|
|
84
|
-
remove:
|
|
85
|
-
push:
|
|
86
|
-
fields:
|
|
112
|
+
remove: Me,
|
|
113
|
+
push: Ee,
|
|
114
|
+
fields: G
|
|
87
115
|
} = x("isHostedBy"), {
|
|
88
|
-
remove:
|
|
89
|
-
push:
|
|
90
|
-
fields:
|
|
116
|
+
remove: En,
|
|
117
|
+
push: Nn,
|
|
118
|
+
fields: On
|
|
91
119
|
} = x("hosts");
|
|
92
|
-
|
|
93
|
-
|
|
120
|
+
N(y, (t) => {
|
|
121
|
+
ke.value = t || "";
|
|
94
122
|
}, { immediate: !0 });
|
|
95
|
-
const
|
|
96
|
-
function
|
|
97
|
-
const
|
|
98
|
-
id: String(
|
|
99
|
-
name: typeof
|
|
100
|
-
functionalities: Array.isArray(
|
|
101
|
-
forProperty: Array.isArray(
|
|
102
|
-
manufacturer:
|
|
103
|
-
description:
|
|
104
|
-
version:
|
|
105
|
-
unavailable:
|
|
123
|
+
const _ = Z(null);
|
|
124
|
+
function Ne(t) {
|
|
125
|
+
const e = {
|
|
126
|
+
id: String(t.id || ""),
|
|
127
|
+
name: typeof t.name == "string" ? t.name : "",
|
|
128
|
+
functionalities: Array.isArray(t.functionalities) ? t.functionalities : [],
|
|
129
|
+
forProperty: Array.isArray(t.forProperties) ? t.forProperties : [],
|
|
130
|
+
manufacturer: t.manufacturer,
|
|
131
|
+
description: t.description,
|
|
132
|
+
version: t.version,
|
|
133
|
+
unavailable: t.unavailable
|
|
106
134
|
};
|
|
107
|
-
|
|
135
|
+
_.value = e;
|
|
108
136
|
}
|
|
109
|
-
const r =
|
|
110
|
-
var
|
|
111
|
-
return (((
|
|
112
|
-
}),
|
|
113
|
-
var
|
|
114
|
-
return ((
|
|
115
|
-
}),
|
|
116
|
-
var
|
|
117
|
-
return ((
|
|
118
|
-
}),
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}).superRefine((
|
|
122
|
-
const
|
|
123
|
-
!
|
|
124
|
-
code:
|
|
125
|
-
message:
|
|
126
|
-
path: ["functionalitySelect"]
|
|
127
|
-
}), t.addIssue({
|
|
128
|
-
code: o.ZodIssueCode.custom,
|
|
129
|
-
message: Se,
|
|
130
|
-
path: ["functionalityInput"]
|
|
131
|
-
}));
|
|
132
|
-
}), {
|
|
133
|
-
defineField: J,
|
|
134
|
-
handleSubmit: nt,
|
|
135
|
-
errors: P,
|
|
136
|
-
resetForm: Z
|
|
137
|
-
} = j({
|
|
138
|
-
validationSchema: T(tt),
|
|
139
|
-
initialValues: {
|
|
140
|
-
functionalitySelect: "",
|
|
141
|
-
functionalityInput: ""
|
|
142
|
-
}
|
|
143
|
-
}), it = o.object({
|
|
144
|
-
zweckSelect: o.string().optional(),
|
|
145
|
-
zweckInput: o.string().optional()
|
|
146
|
-
}).superRefine((n, t) => {
|
|
147
|
-
const e = n.zweckSelect && n.zweckSelect.trim().length > 0, l = n.zweckInput && n.zweckInput.trim().length > 0;
|
|
148
|
-
!e && !l && (t.addIssue({
|
|
149
|
-
code: o.ZodIssueCode.custom,
|
|
150
|
-
message: Ve,
|
|
151
|
-
path: ["zweckSelect"]
|
|
152
|
-
}), t.addIssue({
|
|
153
|
-
code: o.ZodIssueCode.custom,
|
|
154
|
-
message: Ve,
|
|
137
|
+
const r = w(() => !!y.value), K = w(() => {
|
|
138
|
+
var t;
|
|
139
|
+
return (((t = z.value) == null ? void 0 : t.length) ?? 0) > 0;
|
|
140
|
+
}), Oe = w(() => {
|
|
141
|
+
var t;
|
|
142
|
+
return ((t = _.value) == null ? void 0 : t.functionalities) ?? [];
|
|
143
|
+
}), Te = w(() => {
|
|
144
|
+
var t;
|
|
145
|
+
return [...((t = _.value) == null ? void 0 : t.forProperty) || []].sort((e, d) => e.localeCompare(d)) ?? [];
|
|
146
|
+
}), je = k("Zweck"), Ge = s.object({
|
|
147
|
+
zweckSelect: s.string().optional(),
|
|
148
|
+
zweckInput: s.string().optional()
|
|
149
|
+
}).superRefine((t, e) => {
|
|
150
|
+
const d = t.zweckSelect && t.zweckSelect.trim().length > 0, n = t.zweckInput && t.zweckInput.trim().length > 0;
|
|
151
|
+
!d && !n && e.addIssue({
|
|
152
|
+
code: s.ZodIssueCode.custom,
|
|
153
|
+
message: je,
|
|
155
154
|
path: ["zweckInput"]
|
|
156
|
-
})
|
|
157
|
-
}), {
|
|
158
|
-
|
|
159
|
-
handleSubmit: lt,
|
|
160
|
-
errors: W,
|
|
161
|
-
resetForm: L
|
|
162
|
-
} = j({
|
|
163
|
-
validationSchema: T(it),
|
|
155
|
+
});
|
|
156
|
+
}), M = ve({
|
|
157
|
+
validationSchema: he(Ge),
|
|
164
158
|
initialValues: {
|
|
165
159
|
zweckSelect: "",
|
|
166
160
|
zweckInput: ""
|
|
167
161
|
}
|
|
162
|
+
}), {
|
|
163
|
+
handleSubmit: Ke,
|
|
164
|
+
resetForm: C
|
|
165
|
+
} = M;
|
|
166
|
+
N(y, (t, e) => {
|
|
167
|
+
!!e && !!t && t !== e && (z.value = [], C(), h.value = []);
|
|
168
168
|
});
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
});
|
|
172
|
-
const [_, st] = J("functionalitySelect"), [G, ot] = J("functionalityInput"), ee = S(() => Array.from(v.value || [])), [R, rt] = X("zweckSelect"), [E, at] = X("zweckInput"), $ = S(() => h.value && h.value.length > 0), N = O(!!((ce = (de = m.initializeWith) == null ? void 0 : de.forProperty) != null && ce.length));
|
|
173
|
-
function ut() {
|
|
169
|
+
const E = Z(""), q = Z(""), L = w(() => h.value && h.value.length > 0), D = Z(!!((ue = (ae = m.initializeWith) == null ? void 0 : ae.forProperty) != null && ue.length));
|
|
170
|
+
function qe() {
|
|
174
171
|
h.value = [];
|
|
175
172
|
}
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
id:
|
|
179
|
-
description:
|
|
180
|
-
functionalities: Array.from(
|
|
181
|
-
forProperty: (
|
|
182
|
-
locations:
|
|
183
|
-
depictions: (
|
|
184
|
-
references: (
|
|
185
|
-
name: (
|
|
186
|
-
url: (
|
|
187
|
-
description: (
|
|
173
|
+
const Q = Pe((t) => {
|
|
174
|
+
const e = {
|
|
175
|
+
id: t.id,
|
|
176
|
+
description: t.description || "",
|
|
177
|
+
functionalities: Array.from(z.value || []).filter(Boolean),
|
|
178
|
+
forProperty: (t.forProperty || []).filter(Boolean),
|
|
179
|
+
locations: t.locations || [],
|
|
180
|
+
depictions: (t.depictions || []).filter(Boolean),
|
|
181
|
+
references: (t.references || []).map((d) => ({
|
|
182
|
+
name: (d == null ? void 0 : d.name) || "",
|
|
183
|
+
url: (d == null ? void 0 : d.url) || "",
|
|
184
|
+
description: (d == null ? void 0 : d.description) || ""
|
|
188
185
|
})),
|
|
189
|
-
isHostedBy: (
|
|
190
|
-
hosts: (
|
|
186
|
+
isHostedBy: (t.isHostedBy || []).filter(Boolean),
|
|
187
|
+
hosts: (t.hosts || []).filter(Boolean)
|
|
191
188
|
};
|
|
192
|
-
B ?
|
|
193
|
-
id:
|
|
194
|
-
hardware:
|
|
195
|
-
}) :
|
|
196
|
-
})
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
189
|
+
B ? R("patch", {
|
|
190
|
+
id: ye,
|
|
191
|
+
hardware: e
|
|
192
|
+
}) : R("submit", e), C(), xe();
|
|
193
|
+
});
|
|
194
|
+
function Qe(t) {
|
|
195
|
+
return [
|
|
196
|
+
...t,
|
|
197
|
+
{
|
|
198
|
+
id: "--hardware-in-request--",
|
|
199
|
+
name: "Hardware in Beantragung",
|
|
200
|
+
manufacturer: "",
|
|
201
|
+
description: "Platzhalter für Hardware, die Sie bei uns beantragt haben.",
|
|
202
|
+
unavailable: !1
|
|
203
|
+
}
|
|
204
|
+
];
|
|
205
|
+
}
|
|
206
|
+
const J = Ke((t) => {
|
|
207
|
+
var d, n;
|
|
208
|
+
const e = t.zweckSelect || t.zweckInput;
|
|
209
|
+
e && e.trim().length > 0 && !((d = h.value) != null && d.includes(e)) && ((n = h.value) == null || n.push(e)), C();
|
|
210
|
+
});
|
|
211
|
+
function Je() {
|
|
212
|
+
C(), D.value = !1;
|
|
213
|
+
}
|
|
214
|
+
N(E, () => J());
|
|
215
|
+
const Xe = w(() => {
|
|
206
216
|
var t;
|
|
207
|
-
return ((t =
|
|
217
|
+
return ((t = $.value) == null ? void 0 : t.length) || 0;
|
|
218
|
+
});
|
|
219
|
+
function Ye(t) {
|
|
220
|
+
var e;
|
|
221
|
+
return ((e = t.value.description) == null ? void 0 : e.length) ?? 0;
|
|
208
222
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
223
|
+
const X = un(), { authToken: Y, username: en } = dn(), nn = w(() => {
|
|
224
|
+
var t;
|
|
225
|
+
return `${((t = X.typeform) == null ? void 0 : t.hardware) ?? "https://form.typeform.com/to/ayL37uiV"}#token=${Y.value}&account=${en.value}`;
|
|
226
|
+
});
|
|
227
|
+
return (t, e) => {
|
|
228
|
+
var d;
|
|
229
|
+
return c(), p("div", wn, [
|
|
230
|
+
i("section", gn, [
|
|
231
|
+
B ? S("", !0) : (c(), p(g, { key: 0 }, [
|
|
232
|
+
e[13] || (e[13] = i("h5", null, "Wählen Sie eine bestehende Hardware", -1)),
|
|
233
|
+
e[14] || (e[14] = i("p", null, " Falls die Hardware bereits angelegt wurde, können Sie sie hier auswählen. ", -1))
|
|
234
|
+
], 64)),
|
|
235
|
+
o(cn, O({
|
|
236
|
+
modelValue: l(y),
|
|
237
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => A(y) ? y.value = n : null),
|
|
238
|
+
label: B ? "Hardware auswählen" : ""
|
|
239
|
+
}, l(Ue), {
|
|
240
|
+
"base-url": ((d = l(X).api) == null ? void 0 : d.baseUrl) ?? "https://twin.bydata.de/api/hub/search",
|
|
241
|
+
resource: "hardware",
|
|
242
|
+
placeholder: "Wählen Sie eine Hardware.",
|
|
243
|
+
name: "hardware",
|
|
244
|
+
"setup-fn": (n) => {
|
|
245
|
+
var u, a, F, de, ce, me;
|
|
246
|
+
return {
|
|
247
|
+
id: n == null ? void 0 : n.id,
|
|
248
|
+
name: ((u = n == null ? void 0 : n.name) == null ? void 0 : u.de) || ((a = n == null ? void 0 : n.name) == null ? void 0 : a.en),
|
|
249
|
+
functionalities: (n == null ? void 0 : n.functionalities) || [],
|
|
250
|
+
forProperties: (n == null ? void 0 : n.measured_actuated_properties) || [],
|
|
251
|
+
unavailable: m.exclude.includes(n == null ? void 0 : n.id),
|
|
252
|
+
manufacturer: (de = (F = n == null ? void 0 : n.manufacturer) == null ? void 0 : F[0]) == null ? void 0 : de.label,
|
|
253
|
+
description: ((ce = n == null ? void 0 : n.description) == null ? void 0 : ce.de) || ((me = n == null ? void 0 : n.description) == null ? void 0 : me.en),
|
|
254
|
+
version: n == null ? void 0 : n.version
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
"post-process-fn": Qe,
|
|
258
|
+
"auth-token": l(Y),
|
|
259
|
+
onSelect: Ne
|
|
260
|
+
}), {
|
|
261
|
+
option: v(({ option: n, active: u, selected: a, disabled: F }) => [
|
|
262
|
+
o(bn, {
|
|
263
|
+
name: n.name,
|
|
264
|
+
manufacturer: n.manufacturer,
|
|
265
|
+
description: n.description,
|
|
266
|
+
active: u,
|
|
267
|
+
selected: a,
|
|
268
|
+
disabled: F
|
|
269
|
+
}, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}, 16, ["modelValue", "label", "base-url", "setup-fn", "auth-token"]),
|
|
273
|
+
B ? S("", !0) : (c(), p(g, { key: 1 }, [
|
|
274
|
+
e[15] || (e[15] = i("h5", null, "oder", -1)),
|
|
275
|
+
e[16] || (e[16] = i("p", null, " Sollte die verwendete Hardware noch nicht im Katalog verfügbar sein, können Sie die Anlage bei uns beantragen. Damit Sie die Dokumentation Ihres Digitalen Zwillings dennoch abschließen können, ordnen Sie dem Prozessschritt vorübergehend den Platzhalter-Datensatz „Hardware in Beantragung“ zu. Sobald die gewünschten Daten im Katalog verfügbar sind, können Sie diesen Platzhalter durch den tatsächlichen Hardware-Datensatz ersetzen. ", -1)),
|
|
276
|
+
i("div", kn, [
|
|
277
|
+
i("a", {
|
|
278
|
+
href: nn.value,
|
|
279
|
+
target: "_blank"
|
|
280
|
+
}, [
|
|
281
|
+
o(f, {
|
|
282
|
+
"button-text": "Zur Hardwarebeantragung",
|
|
283
|
+
size: "medium",
|
|
284
|
+
variant: "secondary"
|
|
285
|
+
})
|
|
286
|
+
], 8, yn)
|
|
287
|
+
])
|
|
288
|
+
], 64))
|
|
289
|
+
]),
|
|
290
|
+
i("section", zn, [
|
|
291
|
+
e[17] || (e[17] = i("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
|
|
292
|
+
e[18] || (e[18] = i("p", null, " Beschreiben Sie, wie Sie die angegebene Hardware eingesetzt haben. Wählen Sie hierzu die genutzten Funktionalitäten aus oder ergänzen Sie diese. ", -1)),
|
|
293
|
+
o(vn, {
|
|
294
|
+
modelValue: l(z),
|
|
295
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => A(z) ? z.value = n : null),
|
|
296
|
+
options: Oe.value,
|
|
297
|
+
disabled: !r.value
|
|
298
|
+
}, null, 8, ["modelValue", "options", "disabled"])
|
|
299
|
+
]),
|
|
300
|
+
i("section", Sn, [
|
|
301
|
+
e[21] || (e[21] = i("h5", null, "Beschreibung der Nutzung (optional)", -1)),
|
|
302
|
+
i("div", Vn, [
|
|
303
|
+
o(hn, O({
|
|
304
|
+
modelValue: l($),
|
|
305
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => A($) ? $.value = n : null),
|
|
306
|
+
label: "",
|
|
307
|
+
placeholder: "Beschreiben Sie in ein paar Sätzen, wie Sie die Hardware eingesetzt haben.",
|
|
308
|
+
"is-disabled": !r.value
|
|
309
|
+
}, l($e), {
|
|
310
|
+
max: W,
|
|
311
|
+
validation: "required|length:0,500",
|
|
312
|
+
hint: "true",
|
|
313
|
+
"hint-message": `${Xe.value} von ${W} Zeichen`,
|
|
314
|
+
"count-hint": !0
|
|
315
|
+
}), null, 16, ["modelValue", "is-disabled", "hint-message"]),
|
|
316
|
+
o(mn, { variant: "default" }, {
|
|
317
|
+
icon: v(() => [
|
|
318
|
+
o(l(an), {
|
|
319
|
+
size: 32,
|
|
320
|
+
color: "#009fe3"
|
|
321
|
+
})
|
|
322
|
+
]),
|
|
323
|
+
title: v(() => e[19] || (e[19] = [
|
|
324
|
+
on(" Beispiel ", -1)
|
|
325
|
+
])),
|
|
326
|
+
default: v(() => [
|
|
327
|
+
e[20] || (e[20] = i("div", { class: "copy-large-regular" }, [
|
|
328
|
+
i("p", null, " Der eingesetzte Pegelstandssensor misst kontinuierlich den Wasserstand der Elbe und überträgt die Daten für Prognoseberechnungen an das digitale Modell. ")
|
|
329
|
+
], -1))
|
|
330
|
+
]),
|
|
331
|
+
_: 1,
|
|
332
|
+
__: [20]
|
|
256
333
|
})
|
|
257
334
|
])
|
|
258
|
-
],
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
[
|
|
335
|
+
]),
|
|
336
|
+
i("section", Hn, [
|
|
337
|
+
e[22] || (e[22] = i("h5", null, "Host-Plattform (optional)", -1)),
|
|
338
|
+
e[23] || (e[23] = i("p", null, "Falls die von Ihnen verwendete Hardware Sensoren oder Aktuatoren sind, geben Sie hier die Plattform oder physische Struktur an, welche diese hostet (z.B. Wetterstation, Lichtmast).", -1)),
|
|
339
|
+
(c(!0), p(g, null, P(l(G), (n, u) => (c(), V(U, {
|
|
340
|
+
key: n.key,
|
|
341
|
+
onDelete: (a) => l(Me)(u)
|
|
342
|
+
}, {
|
|
343
|
+
default: v(() => [
|
|
344
|
+
o(we, {
|
|
345
|
+
modelValue: n.value,
|
|
346
|
+
"onUpdate:modelValue": (a) => n.value = a,
|
|
347
|
+
name: `isHostedBy[${u}]`,
|
|
348
|
+
options: Be,
|
|
349
|
+
label: "Host-Plattform",
|
|
350
|
+
placeholder: "Wählen Sie eine Host-Plattform.",
|
|
351
|
+
disabled: !r.value,
|
|
352
|
+
form: l(b)
|
|
353
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "disabled", "form"])
|
|
277
354
|
]),
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
disabled: !r.value,
|
|
378
|
-
onClick: t[5] || (t[5] = (e) => r.value && i(je)(""))
|
|
379
|
-
}, null, 8, ["disabled"])
|
|
380
|
-
])
|
|
381
|
-
]),
|
|
382
|
-
s("section", Bt, [
|
|
383
|
-
t[23] || (t[23] = s("h5", null, "Gehostete Geräte (optional)", -1)),
|
|
384
|
-
t[24] || (t[24] = s("p", null, "Falls die von Ihnen verwendete Hardware eine Plattform ist, geben Sie hier die Sensoren oder Aktuatoren an, die von dieser Plattform gehostet werden.", -1)),
|
|
385
|
-
(d(!0), p(y, null, z(i(Ye), (e, l) => (d(), b(H, {
|
|
386
|
-
key: e.key,
|
|
387
|
-
onDelete: (a) => i(qe)(l)
|
|
388
|
-
}, {
|
|
389
|
-
default: k(() => [
|
|
390
|
-
u(w, {
|
|
391
|
-
modelValue: e.value,
|
|
392
|
-
"onUpdate:modelValue": (a) => e.value = a,
|
|
393
|
-
"add-on-text": !1,
|
|
394
|
-
"date-picker": !1,
|
|
395
|
-
"info-icon": !1,
|
|
396
|
-
"show-end-icon": !1,
|
|
397
|
-
"pre-icon": !1,
|
|
398
|
-
"is-disabled": !r.value,
|
|
399
|
-
"input-type": "text",
|
|
400
|
-
label: "Gehostetes Gerät",
|
|
401
|
-
placeholder: "Wählen Sie ein gehostetes Gerät.",
|
|
402
|
-
"initial-hint-text": !1
|
|
403
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled"])
|
|
404
|
-
]),
|
|
405
|
-
_: 2
|
|
406
|
-
}, 1032, ["onDelete"]))), 128)),
|
|
407
|
-
s("div", Ut, [
|
|
408
|
-
u(f, {
|
|
409
|
-
"button-text": "Gehostetes Gerät hinzufügen",
|
|
410
|
-
size: "medium",
|
|
411
|
-
variant: "tertiary",
|
|
412
|
-
"icon-start": "plus",
|
|
413
|
-
disabled: !r.value,
|
|
414
|
-
onClick: t[6] || (t[6] = (e) => r.value && i(Qe)(""))
|
|
415
|
-
}, null, 8, ["disabled"])
|
|
416
|
-
])
|
|
417
|
-
]),
|
|
418
|
-
s("section", $t, [
|
|
419
|
-
t[26] || (t[26] = s("h5", null, "Zweck (optional)", -1)),
|
|
420
|
-
t[27] || (t[27] = s("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
|
|
421
|
-
$.value ? (d(), p("div", At, [
|
|
422
|
-
(d(!0), p(y, null, z(i(h), (e, l) => (d(), p("div", {
|
|
423
|
-
key: `zweck-${l}`,
|
|
424
|
-
class: "functionalities"
|
|
425
|
-
}, [
|
|
426
|
-
be(s("input", g({
|
|
427
|
-
id: `zweck-${e}`,
|
|
428
|
-
"onUpdate:modelValue": t[7] || (t[7] = (a) => V(h) ? h.value = a : null),
|
|
429
|
-
hidden: "",
|
|
430
|
-
value: e,
|
|
431
|
-
name: "selectedForProperties",
|
|
432
|
-
type: "checkbox"
|
|
433
|
-
}, { ref_for: !0 }, i(Pe)), null, 16, Ct), [
|
|
434
|
-
[we, i(h)]
|
|
355
|
+
_: 2
|
|
356
|
+
}, 1032, ["onDelete"]))), 128)),
|
|
357
|
+
l(G).length === 0 ? (c(), p("div", Bn, [
|
|
358
|
+
o(f, {
|
|
359
|
+
"button-text": "Host-Plattform hinzufügen",
|
|
360
|
+
size: "medium",
|
|
361
|
+
variant: "tertiary",
|
|
362
|
+
"icon-start": "plus",
|
|
363
|
+
disabled: !r.value,
|
|
364
|
+
onClick: e[3] || (e[3] = (n) => r.value && l(Ee)(""))
|
|
365
|
+
}, null, 8, ["disabled"])
|
|
366
|
+
])) : S("", !0)
|
|
367
|
+
]),
|
|
368
|
+
S("", !0),
|
|
369
|
+
i("section", Pn, [
|
|
370
|
+
e[27] || (e[27] = i("h5", null, "Zweck (optional)", -1)),
|
|
371
|
+
e[28] || (e[28] = i("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
|
|
372
|
+
L.value ? (c(), p("div", xn, [
|
|
373
|
+
(c(!0), p(g, null, P(l(h), (n, u) => (c(), p("div", {
|
|
374
|
+
key: `zweck-${u}`,
|
|
375
|
+
class: "functionalities"
|
|
376
|
+
}, [
|
|
377
|
+
fe(i("input", O({
|
|
378
|
+
id: `zweck-${n}`,
|
|
379
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => A(h) ? h.value = a : null),
|
|
380
|
+
hidden: "",
|
|
381
|
+
value: n,
|
|
382
|
+
name: "selectedForProperties",
|
|
383
|
+
type: "checkbox"
|
|
384
|
+
}, { ref_for: !0 }, l(Ie)), null, 16, Un), [
|
|
385
|
+
[sn, l(h)]
|
|
386
|
+
]),
|
|
387
|
+
o(pn, {
|
|
388
|
+
as: "label",
|
|
389
|
+
for: `zweck-${n}`,
|
|
390
|
+
text: n,
|
|
391
|
+
setup: {
|
|
392
|
+
"@type": "select",
|
|
393
|
+
"@icon": "suffix",
|
|
394
|
+
"@inTable": !1,
|
|
395
|
+
"@search": !1,
|
|
396
|
+
"@selected": !0
|
|
397
|
+
},
|
|
398
|
+
data: { "@value": n, URI: n },
|
|
399
|
+
"select-value": !0
|
|
400
|
+
}, null, 8, ["for", "text", "data"])
|
|
401
|
+
]))), 128))
|
|
402
|
+
])) : S("", !0),
|
|
403
|
+
fe(o(U, { onDelete: qe }, {
|
|
404
|
+
actions: v(() => [
|
|
405
|
+
i("div", In, [
|
|
406
|
+
i("div", $n, [
|
|
407
|
+
o(f, {
|
|
408
|
+
"button-text": "Zweck hinzufügen",
|
|
409
|
+
size: "medium",
|
|
410
|
+
variant: "tertiary",
|
|
411
|
+
"icon-start": "plus",
|
|
412
|
+
disabled: !r.value,
|
|
413
|
+
onClick: l(J)
|
|
414
|
+
}, null, 8, ["disabled", "onClick"])
|
|
415
|
+
]),
|
|
416
|
+
i("div", Cn, [
|
|
417
|
+
o(f, {
|
|
418
|
+
"button-text": "Löschen",
|
|
419
|
+
size: "small",
|
|
420
|
+
variant: "tertiary",
|
|
421
|
+
"icon-start": "trash",
|
|
422
|
+
onClick: Je
|
|
423
|
+
})
|
|
424
|
+
])
|
|
425
|
+
])
|
|
426
|
+
]),
|
|
427
|
+
default: v(() => [
|
|
428
|
+
o(we, {
|
|
429
|
+
modelValue: E.value,
|
|
430
|
+
"onUpdate:modelValue": e[6] || (e[6] = (n) => E.value = n),
|
|
431
|
+
name: "zweckSelect",
|
|
432
|
+
options: Te.value,
|
|
433
|
+
label: "Zweck auswählen",
|
|
434
|
+
placeholder: "Wählen Sie einen Zweck.",
|
|
435
|
+
disabled: !r.value || L.value,
|
|
436
|
+
form: l(M)
|
|
437
|
+
}, null, 8, ["modelValue", "options", "disabled", "form"]),
|
|
438
|
+
e[26] || (e[26] = i("h5", null, "oder", -1)),
|
|
439
|
+
o(H, {
|
|
440
|
+
modelValue: q.value,
|
|
441
|
+
"onUpdate:modelValue": e[7] || (e[7] = (n) => q.value = n),
|
|
442
|
+
name: "zweckInput",
|
|
443
|
+
"add-on-text": !1,
|
|
444
|
+
"date-picker": !1,
|
|
445
|
+
"info-icon": !1,
|
|
446
|
+
"show-end-icon": !1,
|
|
447
|
+
"pre-icon": !1,
|
|
448
|
+
"is-disabled": !r.value || L.value,
|
|
449
|
+
label: "Zweck nennen",
|
|
450
|
+
placeholder: "Nennen Sie einen Zweck.",
|
|
451
|
+
"initial-hint-text": !1,
|
|
452
|
+
form: l(M)
|
|
453
|
+
}, null, 8, ["modelValue", "is-disabled", "form"])
|
|
435
454
|
]),
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
"@search": !1,
|
|
445
|
-
"@selected": !0
|
|
446
|
-
},
|
|
447
|
-
data: { "@value": e, URI: e }
|
|
448
|
-
}, null, 8, ["for", "text", "data"])
|
|
449
|
-
]))), 128))
|
|
450
|
-
])) : F("", !0),
|
|
451
|
-
N.value && !$.value ? (d(), b(H, {
|
|
452
|
-
key: 1,
|
|
453
|
-
onDelete: ut
|
|
454
|
-
}, {
|
|
455
|
-
actions: k(() => [
|
|
456
|
-
u(f, {
|
|
455
|
+
_: 1,
|
|
456
|
+
__: [26]
|
|
457
|
+
}, 512), [
|
|
458
|
+
[rn, D.value && !L.value]
|
|
459
|
+
]),
|
|
460
|
+
i("div", Ln, [
|
|
461
|
+
D.value ? S("", !0) : (c(), V(f, {
|
|
462
|
+
key: 0,
|
|
457
463
|
"button-text": "Zweck hinzufügen",
|
|
458
464
|
size: "medium",
|
|
459
465
|
variant: "tertiary",
|
|
460
466
|
"icon-start": "plus",
|
|
461
467
|
disabled: !r.value,
|
|
462
|
-
onClick:
|
|
468
|
+
onClick: e[8] || (e[8] = (n) => r.value && (D.value = !0))
|
|
469
|
+
}, null, 8, ["disabled"]))
|
|
470
|
+
])
|
|
471
|
+
]),
|
|
472
|
+
i("section", Dn, [
|
|
473
|
+
e[29] || (e[29] = i("h5", null, "Standort (optional)", -1)),
|
|
474
|
+
e[30] || (e[30] = i("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
475
|
+
(c(!0), p(g, null, P(l(De), (n, u) => (c(), V(U, {
|
|
476
|
+
key: n.key,
|
|
477
|
+
onDelete: (a) => l(Ce)(u)
|
|
478
|
+
}, {
|
|
479
|
+
default: v(() => [
|
|
480
|
+
o(H, {
|
|
481
|
+
modelValue: n.value.lat,
|
|
482
|
+
"onUpdate:modelValue": (a) => n.value.lat = a,
|
|
483
|
+
name: `locations[${u}].lat`,
|
|
484
|
+
"add-on-text": !1,
|
|
485
|
+
"date-picker": !1,
|
|
486
|
+
"info-icon": !1,
|
|
487
|
+
"show-end-icon": !1,
|
|
488
|
+
"pre-icon": !1,
|
|
489
|
+
"is-disabled": !r.value,
|
|
490
|
+
label: "Latitude / Breite",
|
|
491
|
+
placeholder: "Geben Sie die Ortskoordinate Latitude an.",
|
|
492
|
+
form: l(b)
|
|
493
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "form"]),
|
|
494
|
+
o(H, {
|
|
495
|
+
modelValue: n.value.lng,
|
|
496
|
+
"onUpdate:modelValue": (a) => n.value.lng = a,
|
|
497
|
+
name: `locations[${u}].lng`,
|
|
498
|
+
"add-on-text": !1,
|
|
499
|
+
"date-picker": !1,
|
|
500
|
+
"info-icon": !1,
|
|
501
|
+
"show-end-icon": !1,
|
|
502
|
+
"pre-icon": !1,
|
|
503
|
+
"is-disabled": !r.value,
|
|
504
|
+
label: "Longitude / Länge",
|
|
505
|
+
placeholder: "Geben Sie die Ortskoordinate Longitude an.",
|
|
506
|
+
form: l(b)
|
|
507
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "form"])
|
|
508
|
+
]),
|
|
509
|
+
_: 2
|
|
510
|
+
}, 1032, ["onDelete"]))), 128)),
|
|
511
|
+
i("div", Fn, [
|
|
512
|
+
o(f, {
|
|
513
|
+
"button-text": "Standort hinzufügen",
|
|
514
|
+
size: "medium",
|
|
515
|
+
variant: "tertiary",
|
|
516
|
+
"icon-start": "plus",
|
|
517
|
+
disabled: !r.value,
|
|
518
|
+
onClick: e[9] || (e[9] = (n) => r.value && l(Le)({ lat: "", lng: "" }))
|
|
519
|
+
}, null, 8, ["disabled"])
|
|
520
|
+
])
|
|
521
|
+
]),
|
|
522
|
+
i("section", Zn, [
|
|
523
|
+
e[31] || (e[31] = i("h5", null, "Darstellungen (optional)", -1)),
|
|
524
|
+
e[32] || (e[32] = i("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
|
|
525
|
+
(c(!0), p(g, null, P(l(Ae), (n, u) => (c(), V(U, {
|
|
526
|
+
key: n.key,
|
|
527
|
+
onDelete: (a) => l(Fe)(u)
|
|
528
|
+
}, {
|
|
529
|
+
default: v(() => [
|
|
530
|
+
o(H, {
|
|
531
|
+
modelValue: n.value,
|
|
532
|
+
"onUpdate:modelValue": (a) => n.value = a,
|
|
533
|
+
name: `depictions[${u}]`,
|
|
534
|
+
"add-on-text": !1,
|
|
535
|
+
"date-picker": !1,
|
|
536
|
+
"info-icon": !1,
|
|
537
|
+
"show-end-icon": !1,
|
|
538
|
+
"pre-icon": !1,
|
|
539
|
+
"is-disabled": !r.value,
|
|
540
|
+
"input-type": "url",
|
|
541
|
+
label: "URL",
|
|
542
|
+
placeholder: "https://www.url.com",
|
|
543
|
+
form: l(b)
|
|
544
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "form"])
|
|
545
|
+
]),
|
|
546
|
+
_: 2
|
|
547
|
+
}, 1032, ["onDelete"]))), 128)),
|
|
548
|
+
i("div", An, [
|
|
549
|
+
o(f, {
|
|
550
|
+
"button-text": "Darstellung hinzufügen",
|
|
551
|
+
size: "medium",
|
|
552
|
+
variant: "tertiary",
|
|
553
|
+
"icon-start": "plus",
|
|
554
|
+
disabled: !r.value,
|
|
555
|
+
onClick: e[10] || (e[10] = (n) => r.value && l(Ze)(""))
|
|
556
|
+
}, null, 8, ["disabled"])
|
|
557
|
+
])
|
|
558
|
+
]),
|
|
559
|
+
i("section", Wn, [
|
|
560
|
+
e[33] || (e[33] = i("h5", null, "Weiterführende Links (optional)", -1)),
|
|
561
|
+
e[34] || (e[34] = i("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
562
|
+
(c(!0), p(g, null, P(l(_e), (n, u) => (c(), V(U, {
|
|
563
|
+
key: n.key,
|
|
564
|
+
onDelete: (a) => l(We)(u)
|
|
565
|
+
}, {
|
|
566
|
+
default: v(() => [
|
|
567
|
+
o(H, {
|
|
568
|
+
modelValue: n.value.name,
|
|
569
|
+
"onUpdate:modelValue": (a) => n.value.name = a,
|
|
570
|
+
name: `references[${u}].name`,
|
|
571
|
+
"add-on-text": !1,
|
|
572
|
+
"date-picker": !1,
|
|
573
|
+
"info-icon": !1,
|
|
574
|
+
"show-end-icon": !1,
|
|
575
|
+
"pre-icon": !1,
|
|
576
|
+
"is-disabled": !r.value,
|
|
577
|
+
label: "Name",
|
|
578
|
+
placeholder: "Benennen Sie den Link.",
|
|
579
|
+
form: l(b)
|
|
580
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "form"]),
|
|
581
|
+
o(H, {
|
|
582
|
+
modelValue: n.value.url,
|
|
583
|
+
"onUpdate:modelValue": (a) => n.value.url = a,
|
|
584
|
+
name: `references[${u}].url`,
|
|
585
|
+
"add-on-text": !1,
|
|
586
|
+
"date-picker": !1,
|
|
587
|
+
"info-icon": !1,
|
|
588
|
+
"show-end-icon": !1,
|
|
589
|
+
"pre-icon": !1,
|
|
590
|
+
"is-disabled": !r.value,
|
|
591
|
+
"input-type": "url",
|
|
592
|
+
label: "URL",
|
|
593
|
+
placeholder: "https://www.url.com",
|
|
594
|
+
form: l(b)
|
|
595
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "form"]),
|
|
596
|
+
o(fn, {
|
|
597
|
+
modelValue: n.value.description,
|
|
598
|
+
"onUpdate:modelValue": (a) => n.value.description = a,
|
|
599
|
+
name: `references[${u}].description`,
|
|
600
|
+
label: "Beschreibung (optional)",
|
|
601
|
+
placeholder: "Beschreiben Sie Ihren weiterführenden Link in ein paar Sätzen.",
|
|
602
|
+
"is-disabled": !r.value,
|
|
603
|
+
max: W,
|
|
604
|
+
hint: "true",
|
|
605
|
+
"hint-message": `${Ye(n)} von ${W} Zeichen`,
|
|
606
|
+
"count-hint": !0,
|
|
607
|
+
form: l(b)
|
|
608
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "hint-message", "form"])
|
|
609
|
+
]),
|
|
610
|
+
_: 2
|
|
611
|
+
}, 1032, ["onDelete"]))), 128)),
|
|
612
|
+
i("div", Rn, [
|
|
613
|
+
o(f, {
|
|
614
|
+
"button-text": "Link hinzufügen",
|
|
615
|
+
size: "medium",
|
|
616
|
+
variant: "tertiary",
|
|
617
|
+
"icon-start": "plus",
|
|
618
|
+
disabled: !r.value,
|
|
619
|
+
onClick: e[11] || (e[11] = (n) => r.value && l(Re)({ name: "", url: "", description: "" }))
|
|
620
|
+
}, null, 8, ["disabled"])
|
|
621
|
+
])
|
|
622
|
+
]),
|
|
623
|
+
i("section", _n, [
|
|
624
|
+
B ? (c(), p("div", Mn, [
|
|
625
|
+
o(f, {
|
|
626
|
+
"button-text": "Abbrechen",
|
|
627
|
+
variant: "tertiary",
|
|
628
|
+
onClick: e[12] || (e[12] = (n) => R("close"))
|
|
629
|
+
}),
|
|
630
|
+
o(f, {
|
|
631
|
+
"button-text": "Speichern",
|
|
632
|
+
disabled: !r.value || !K.value,
|
|
633
|
+
onClick: l(Q)
|
|
463
634
|
}, null, 8, ["disabled", "onClick"])
|
|
464
|
-
]),
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
label: "Zweck auswählen",
|
|
472
|
-
placeholder: "Wählen Sie einen Zweck.",
|
|
473
|
-
disabled: !r.value || $.value
|
|
474
|
-
}, i(rt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
475
|
-
t[25] || (t[25] = s("h5", null, "oder", -1)),
|
|
476
|
-
u(w, g({
|
|
477
|
-
modelValue: i(E),
|
|
478
|
-
"onUpdate:modelValue": t[9] || (t[9] = (e) => V(E) ? E.value = e : null),
|
|
479
|
-
error_message: i(W).zweckInput,
|
|
480
|
-
"show-error": !!i(W).zweckInput,
|
|
481
|
-
"add-on-text": !1,
|
|
482
|
-
"date-picker": !1,
|
|
483
|
-
"info-icon": !1,
|
|
484
|
-
"show-end-icon": !1,
|
|
485
|
-
"pre-icon": !1,
|
|
486
|
-
"is-disabled": !r.value || $.value,
|
|
487
|
-
label: "Zweck nennen",
|
|
488
|
-
placeholder: "Nennen Sie einen Zweck",
|
|
489
|
-
"initial-hint-text": !1
|
|
490
|
-
}, i(at)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"])
|
|
491
|
-
]),
|
|
492
|
-
_: 1,
|
|
493
|
-
__: [25]
|
|
494
|
-
})) : F("", !0),
|
|
495
|
-
s("div", Dt, [
|
|
496
|
-
N.value ? F("", !0) : (d(), b(f, {
|
|
497
|
-
key: 0,
|
|
498
|
-
"button-text": "Zweck hinzufügen",
|
|
499
|
-
size: "medium",
|
|
500
|
-
variant: "tertiary",
|
|
501
|
-
"icon-start": "plus",
|
|
502
|
-
disabled: !r.value,
|
|
503
|
-
onClick: t[10] || (t[10] = (e) => r.value && (N.value = !0))
|
|
504
|
-
}, null, 8, ["disabled"]))
|
|
505
|
-
])
|
|
506
|
-
]),
|
|
507
|
-
s("section", Pt, [
|
|
508
|
-
t[28] || (t[28] = s("h5", null, "Standort (optional)", -1)),
|
|
509
|
-
t[29] || (t[29] = s("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
510
|
-
(d(!0), p(y, null, z(i(_e), (e, l) => (d(), b(H, {
|
|
511
|
-
key: e.key,
|
|
512
|
-
onDelete: (a) => i(We)(l)
|
|
513
|
-
}, {
|
|
514
|
-
default: k(() => [
|
|
515
|
-
u(w, {
|
|
516
|
-
modelValue: e.value.lat,
|
|
517
|
-
"onUpdate:modelValue": (a) => e.value.lat = a,
|
|
518
|
-
"add-on-text": !1,
|
|
519
|
-
"date-picker": !1,
|
|
520
|
-
"info-icon": !1,
|
|
521
|
-
"show-end-icon": !1,
|
|
522
|
-
"pre-icon": !1,
|
|
523
|
-
"is-disabled": !r.value,
|
|
524
|
-
"initial-hint-text": !!i(c)[`locations[${l}].lat`],
|
|
525
|
-
label: "Latitude / Breite",
|
|
526
|
-
placeholder: "Geben Sie die Ortskoordinate Latitude an.",
|
|
527
|
-
"show-error": !!i(c)[`locations[${l}].lat`],
|
|
528
|
-
error_message: i(c)[`locations[${l}].lat`]
|
|
529
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "initial-hint-text", "show-error", "error_message"]),
|
|
530
|
-
u(w, {
|
|
531
|
-
modelValue: e.value.lng,
|
|
532
|
-
"onUpdate:modelValue": (a) => e.value.lng = a,
|
|
533
|
-
"add-on-text": !1,
|
|
534
|
-
"date-picker": !1,
|
|
535
|
-
"info-icon": !1,
|
|
536
|
-
"show-end-icon": !1,
|
|
537
|
-
"pre-icon": !1,
|
|
538
|
-
"is-disabled": !r.value,
|
|
539
|
-
label: "Longitude / Länge",
|
|
540
|
-
"initial-hint-text": !!i(c)[`locations[${l}].lng`],
|
|
541
|
-
placeholder: "Geben Sie die Ortskoordinate Longitude an.",
|
|
542
|
-
"show-error": !!i(c)[`locations[${l}].lng`],
|
|
543
|
-
error_message: i(c)[`locations[${l}].lng`]
|
|
544
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "initial-hint-text", "show-error", "error_message"])
|
|
545
|
-
]),
|
|
546
|
-
_: 2
|
|
547
|
-
}, 1032, ["onDelete"]))), 128)),
|
|
548
|
-
s("div", Zt, [
|
|
549
|
-
u(f, {
|
|
550
|
-
"button-text": "Hinzufügen",
|
|
551
|
-
size: "medium",
|
|
552
|
-
variant: "tertiary",
|
|
553
|
-
"icon-start": "plus",
|
|
554
|
-
disabled: !r.value,
|
|
555
|
-
onClick: t[11] || (t[11] = (e) => r.value && i(Le)({ lat: "", lng: "" }))
|
|
556
|
-
}, null, 8, ["disabled"])
|
|
557
|
-
])
|
|
558
|
-
]),
|
|
559
|
-
s("section", Wt, [
|
|
560
|
-
t[30] || (t[30] = s("h5", null, "Darstellungen (optional)", -1)),
|
|
561
|
-
t[31] || (t[31] = s("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
|
|
562
|
-
(d(!0), p(y, null, z(i(Ee), (e, l) => (d(), b(H, {
|
|
563
|
-
key: e.key,
|
|
564
|
-
onDelete: (a) => i(Ge)(l)
|
|
565
|
-
}, {
|
|
566
|
-
default: k(() => [
|
|
567
|
-
u(w, {
|
|
568
|
-
modelValue: e.value,
|
|
569
|
-
"onUpdate:modelValue": (a) => e.value = a,
|
|
570
|
-
"add-on-text": !1,
|
|
571
|
-
"date-picker": !1,
|
|
572
|
-
"info-icon": !1,
|
|
573
|
-
"show-end-icon": !1,
|
|
574
|
-
"pre-icon": !1,
|
|
575
|
-
"is-disabled": !r.value,
|
|
576
|
-
"input-type": "url",
|
|
577
|
-
label: "URL",
|
|
578
|
-
placeholder: "https://www.url.com",
|
|
579
|
-
"initial-hint-text": !1
|
|
580
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled"])
|
|
581
|
-
]),
|
|
582
|
-
_: 2
|
|
583
|
-
}, 1032, ["onDelete"]))), 128)),
|
|
584
|
-
s("div", Lt, [
|
|
585
|
-
u(f, {
|
|
586
|
-
"button-text": "Darstellung hinzufügen",
|
|
587
|
-
size: "medium",
|
|
588
|
-
variant: "tertiary",
|
|
589
|
-
"icon-start": "plus",
|
|
590
|
-
disabled: !r.value,
|
|
591
|
-
onClick: t[12] || (t[12] = (e) => r.value && i(Re)(""))
|
|
592
|
-
}, null, 8, ["disabled"])
|
|
593
|
-
])
|
|
594
|
-
]),
|
|
595
|
-
s("section", _t, [
|
|
596
|
-
t[32] || (t[32] = s("h5", null, "Weiterführende Links (optional)", -1)),
|
|
597
|
-
t[33] || (t[33] = s("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
598
|
-
(d(!0), p(y, null, z(i(Oe), (e, l) => (d(), b(H, {
|
|
599
|
-
key: e.key,
|
|
600
|
-
onDelete: (a) => i(Ne)(l)
|
|
601
|
-
}, {
|
|
602
|
-
default: k(() => [
|
|
603
|
-
u(w, {
|
|
604
|
-
modelValue: e.value.name,
|
|
605
|
-
"onUpdate:modelValue": (a) => e.value.name = a,
|
|
606
|
-
"add-on-text": !1,
|
|
607
|
-
"date-picker": !1,
|
|
608
|
-
"info-icon": !1,
|
|
609
|
-
"show-end-icon": !1,
|
|
610
|
-
"pre-icon": !1,
|
|
611
|
-
"is-disabled": !r.value,
|
|
612
|
-
label: "Name",
|
|
613
|
-
placeholder: "Benennen Sie den Link.",
|
|
614
|
-
error_message: i(c)[`references[${l}].name`],
|
|
615
|
-
"show-error": !!i(c)[`references[${l}].name`],
|
|
616
|
-
"initial-hint-text": !!i(c)[`references[${l}].name`]
|
|
617
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
|
|
618
|
-
u(w, {
|
|
619
|
-
modelValue: e.value.url,
|
|
620
|
-
"onUpdate:modelValue": (a) => e.value.url = a,
|
|
621
|
-
"add-on-text": !1,
|
|
622
|
-
"date-picker": !1,
|
|
623
|
-
"info-icon": !1,
|
|
624
|
-
"show-end-icon": !1,
|
|
625
|
-
"pre-icon": !1,
|
|
626
|
-
"is-disabled": !r.value,
|
|
627
|
-
"input-type": "url",
|
|
628
|
-
label: "URL",
|
|
629
|
-
placeholder: "https://www.url.com",
|
|
630
|
-
error_message: i(c)[`references[${l}].url`],
|
|
631
|
-
"show-error": !!i(c)[`references[${l}].url`],
|
|
632
|
-
"initial-hint-text": !!i(c)[`references[${l}].url`]
|
|
633
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
|
|
634
|
-
u(ye, {
|
|
635
|
-
modelValue: e.value.description,
|
|
636
|
-
"onUpdate:modelValue": (a) => e.value.description = a,
|
|
637
|
-
label: "Beschreibung",
|
|
638
|
-
placeholder: "Beschreiben Sie Ihren weiterführenden Link in ein paar Sätzen.",
|
|
639
|
-
error_message: i(c)[`references[${l}].description`],
|
|
640
|
-
"show-error": !!i(c)[`references[${l}].description`],
|
|
641
|
-
"initial-hint-text": !!i(c)[`references[${l}].description`],
|
|
642
|
-
"is-disabled": !r.value,
|
|
643
|
-
max: C,
|
|
644
|
-
validation: "required|length:0,500",
|
|
645
|
-
hint: "true",
|
|
646
|
-
"hint-message": `${mt(e)} von ${C} Zeichen`,
|
|
647
|
-
"count-hint": !0
|
|
648
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "error_message", "show-error", "initial-hint-text", "is-disabled", "hint-message"])
|
|
649
|
-
]),
|
|
650
|
-
_: 2
|
|
651
|
-
}, 1032, ["onDelete"]))), 128)),
|
|
652
|
-
s("div", Gt, [
|
|
653
|
-
u(f, {
|
|
654
|
-
"button-text": "Link hinzufügen",
|
|
655
|
-
size: "medium",
|
|
656
|
-
variant: "tertiary",
|
|
657
|
-
"icon-start": "plus",
|
|
658
|
-
disabled: !r.value,
|
|
659
|
-
onClick: t[13] || (t[13] = (e) => r.value && i(Me)({ name: "", url: "", description: "" }))
|
|
660
|
-
}, null, 8, ["disabled"])
|
|
635
|
+
])) : (c(), V(f, {
|
|
636
|
+
key: 1,
|
|
637
|
+
"icon-start": "PlusSquare",
|
|
638
|
+
"button-text": "Hardware hinzufügen",
|
|
639
|
+
disabled: !r.value || !K.value,
|
|
640
|
+
onClick: l(Q)
|
|
641
|
+
}, null, 8, ["disabled", "onClick"]))
|
|
661
642
|
])
|
|
662
|
-
])
|
|
663
|
-
|
|
664
|
-
B ? (d(), b(f, {
|
|
665
|
-
key: 0,
|
|
666
|
-
"button-text": "Speichern",
|
|
667
|
-
disabled: !r.value || !Y.value,
|
|
668
|
-
onClick: i(te)
|
|
669
|
-
}, null, 8, ["disabled", "onClick"])) : (d(), b(f, {
|
|
670
|
-
key: 1,
|
|
671
|
-
"icon-start": "PlusSquare",
|
|
672
|
-
"button-text": "Hardware hinzufügen",
|
|
673
|
-
disabled: !r.value || !Y.value,
|
|
674
|
-
onClick: i(te)
|
|
675
|
-
}, null, 8, ["disabled", "onClick"]))
|
|
676
|
-
])
|
|
677
|
-
]));
|
|
643
|
+
]);
|
|
644
|
+
};
|
|
678
645
|
}
|
|
679
646
|
});
|
|
680
647
|
export {
|
|
681
|
-
|
|
648
|
+
ut as default
|
|
682
649
|
};
|