@piveau/dpi 0.2.0-alpha.13 → 0.2.0-alpha.15
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/data-provider-interface/DataProviderInterface.vue2.js +48 -47
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +46 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +101 -79
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +4 -94
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +128 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
- 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 +64 -52
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +9 -6
- 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 +26 -27
- 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/DataCollection/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
- 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 +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +18 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +35 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +190 -156
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +73 -71
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
- 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 +133 -131
- 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 +50 -45
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +85 -83
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +341 -341
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
- 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/TableRowV3.vue.js +205 -143
- 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 +172 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -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 +111 -91
- 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 +24 -19
- package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
- 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/composables/project-transformer/decodeProject.js +152 -135
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +202 -167
- 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 +287 -281
- 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/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 +85 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +48 -45
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +405 -409
- package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
- package/dist/packages/dpi/src/utils/schema/schemaProject.js +210 -0
- package/dist/packages/dpi/src/utils/schema/shared.js +23 -0
- package/package.json +5 -5
- package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { defineComponent as ft, mergeModels as he, useModel as ht, unref as i, watch as ve, ref as T, computed as S, createElementBlock as p, openBlock as d, createElementVNode as
|
|
1
|
+
import { defineComponent as ft, mergeModels as he, useModel as ht, unref as i, watch as ve, ref as T, computed as S, createElementBlock as p, openBlock as d, createElementVNode as o, createCommentVNode as x, createVNode as u, mergeProps as w, isRef as V, withCtx as g, Fragment as k, renderList as z, withDirectives as be, vModelCheckbox as we, createBlock as y } from "vue";
|
|
2
2
|
import { toTypedSchema as j } 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";
|
|
3
|
-
import { useForm as K, useFieldArray as
|
|
4
|
-
import * as
|
|
3
|
+
import { useForm as K, useFieldArray as H } from "vee-validate";
|
|
4
|
+
import * as s from "zod";
|
|
5
5
|
import vt from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
6
6
|
import f from "../ButtonV3.vue.js";
|
|
7
7
|
import ge from "../Chip.vue.js";
|
|
8
8
|
import b from "../InputField.vue.js";
|
|
9
9
|
import ke from "../ListBox/Listbox.vue.js";
|
|
10
10
|
import ye from "../TextAreaV3.vue.js";
|
|
11
|
-
import
|
|
11
|
+
import F from "./ProcessStepInputCard.vue.js";
|
|
12
12
|
import bt from "./RichOption.vue.js";
|
|
13
|
-
const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "step-section" }, kt = { key: 0 }, yt = { class: "step-section-actions" }, St = {
|
|
13
|
+
const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "step-section" }, kt = { key: 0 }, yt = { class: "step-section-actions" }, St = {
|
|
14
|
+
href: "https://form.typeform.com/to/ayL37uiV#token=xxxxx&account=xxxxx",
|
|
15
|
+
target: "_blank"
|
|
16
|
+
}, Vt = { class: "step-section" }, zt = {
|
|
14
17
|
key: 0,
|
|
15
18
|
class: "functionalities-container"
|
|
16
|
-
},
|
|
19
|
+
}, It = ["id", "value"], xt = { class: "step-section-actions" }, Ft = { class: "step-section" }, Ht = { class: "step-section" }, Bt = { class: "step-section-actions" }, $t = { class: "step-section" }, Ut = { class: "step-section-actions" }, At = { class: "step-section" }, Ct = {
|
|
17
20
|
key: 0,
|
|
18
21
|
class: "functionalities-container"
|
|
19
|
-
},
|
|
22
|
+
}, Dt = ["id", "value"], Pt = { class: "step-section-actions" }, Zt = { class: "step-section" }, Lt = { class: "step-section-actions" }, Wt = { class: "step-section" }, _t = { class: "step-section-actions" }, Gt = { class: "step-section" }, Rt = { class: "step-section-actions" }, Et = { class: "step-section-actions" }, Nt = {
|
|
20
23
|
key: 0,
|
|
21
24
|
class: "button-row"
|
|
22
|
-
}, Se = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Ve = "Wählen Sie einen Zweck aus oder nennen Sie einen Zweck.", C = 500,
|
|
25
|
+
}, Se = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Ve = "Wählen Sie einen Zweck aus oder nennen Sie einen Zweck.", C = 500, nn = /* @__PURE__ */ ft({
|
|
23
26
|
__name: "HardwareForm",
|
|
24
27
|
props: /* @__PURE__ */ he({
|
|
25
28
|
modelValue: {},
|
|
@@ -33,28 +36,28 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
33
36
|
}),
|
|
34
37
|
emits: /* @__PURE__ */ he(["submit", "patch", "close"], ["update:modelValue"]),
|
|
35
38
|
setup(q, { emit: ze }) {
|
|
36
|
-
var ne, ie, le,
|
|
37
|
-
const m = q, D = ze, Ie = ht(q, "modelValue"), B = !!m.modelValue,
|
|
38
|
-
lat:
|
|
39
|
-
lng:
|
|
40
|
-
}),
|
|
41
|
-
name:
|
|
42
|
-
url:
|
|
43
|
-
description:
|
|
39
|
+
var ne, ie, le, oe, se, re, ae, ue, de, ce;
|
|
40
|
+
const m = q, D = ze, Ie = ht(q, "modelValue"), B = !!m.modelValue, xe = i(m.modelValue) || "", Fe = s.object({
|
|
41
|
+
lat: s.string().min(1, "Geben Sie einen Wert für die Breite ein"),
|
|
42
|
+
lng: s.string().min(1, "Geben Sie einen Wert für die Länge ein")
|
|
43
|
+
}), He = s.array(Fe), Be = s.object({
|
|
44
|
+
name: s.string().min(1, "Geben Sie einen Namen ein").default(""),
|
|
45
|
+
url: s.string().min(1, "Geben Sie eine URL ein").default(""),
|
|
46
|
+
description: s.string().min(1, "Geben Sie eine Beschreibung ein").default("")
|
|
44
47
|
});
|
|
45
48
|
function Q(n) {
|
|
46
49
|
return Array.isArray(n) ? n : n != null ? [n] : [];
|
|
47
50
|
}
|
|
48
|
-
const $e =
|
|
49
|
-
id:
|
|
50
|
-
description:
|
|
51
|
-
functionalities:
|
|
52
|
-
forProperty:
|
|
53
|
-
locations:
|
|
54
|
-
depictions:
|
|
55
|
-
references:
|
|
56
|
-
isHostedBy:
|
|
57
|
-
hosts:
|
|
51
|
+
const $e = s.object({
|
|
52
|
+
id: s.string(),
|
|
53
|
+
description: s.string().optional(),
|
|
54
|
+
functionalities: s.array(s.string()).min(1),
|
|
55
|
+
forProperty: s.array(s.string()),
|
|
56
|
+
locations: He,
|
|
57
|
+
depictions: s.array(s.string()),
|
|
58
|
+
references: s.array(Be),
|
|
59
|
+
isHostedBy: s.array(s.string()),
|
|
60
|
+
hosts: s.array(s.string())
|
|
58
61
|
}), {
|
|
59
62
|
defineField: $,
|
|
60
63
|
handleSubmit: Ue,
|
|
@@ -67,34 +70,34 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
67
70
|
description: ((ne = m.initializeWith) == null ? void 0 : ne.description) || "",
|
|
68
71
|
functionalities: ((ie = m.initializeWith) == null ? void 0 : ie.functionalities) || [],
|
|
69
72
|
forProperty: ((le = m.initializeWith) == null ? void 0 : le.forProperty) || [],
|
|
70
|
-
locations: ((
|
|
71
|
-
depictions: ((
|
|
73
|
+
locations: ((oe = m.initializeWith) == null ? void 0 : oe.locations) || [],
|
|
74
|
+
depictions: ((se = m.initializeWith) == null ? void 0 : se.depictions) || [],
|
|
72
75
|
references: ((re = m.initializeWith) == null ? void 0 : re.references) || [],
|
|
73
76
|
isHostedBy: Q((ae = m.initializeWith) == null ? void 0 : ae.isHostedBy),
|
|
74
77
|
hosts: Q((ue = m.initializeWith) == null ? void 0 : ue.hosts)
|
|
75
78
|
},
|
|
76
79
|
name: "hardwareForm"
|
|
77
|
-
}), [I, Ce] = $("id"), [v, De] = $("functionalities"), [h, Pe] = $("forProperty"), [
|
|
78
|
-
remove:
|
|
79
|
-
push:
|
|
80
|
+
}), [I, Ce] = $("id"), [v, De] = $("functionalities"), [h, Pe] = $("forProperty"), [Mt, Ze] = $("description"), {
|
|
81
|
+
remove: Le,
|
|
82
|
+
push: We,
|
|
80
83
|
fields: _e
|
|
81
|
-
} =
|
|
84
|
+
} = H("locations"), {
|
|
82
85
|
remove: Ge,
|
|
83
86
|
push: Re,
|
|
84
87
|
fields: Ee
|
|
85
|
-
} =
|
|
88
|
+
} = H("depictions"), {
|
|
86
89
|
remove: Ne,
|
|
87
90
|
push: Me,
|
|
88
91
|
fields: Oe
|
|
89
|
-
} =
|
|
92
|
+
} = H("references"), {
|
|
90
93
|
remove: Te,
|
|
91
94
|
push: je,
|
|
92
95
|
fields: Ke
|
|
93
|
-
} =
|
|
96
|
+
} = H("isHostedBy"), {
|
|
94
97
|
remove: qe,
|
|
95
98
|
push: Qe,
|
|
96
99
|
fields: Ye
|
|
97
|
-
} =
|
|
100
|
+
} = H("hosts");
|
|
98
101
|
ve(I, (n) => {
|
|
99
102
|
Ie.value = n || "";
|
|
100
103
|
}, { immediate: !0 });
|
|
@@ -121,17 +124,17 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
121
124
|
}), et = S(() => {
|
|
122
125
|
var n;
|
|
123
126
|
return ((n = P.value) == null ? void 0 : n.forProperty) ?? [];
|
|
124
|
-
}), tt =
|
|
125
|
-
functionalitySelect:
|
|
126
|
-
functionalityInput:
|
|
127
|
+
}), tt = s.object({
|
|
128
|
+
functionalitySelect: s.string().optional(),
|
|
129
|
+
functionalityInput: s.string().optional()
|
|
127
130
|
}).superRefine((n, t) => {
|
|
128
131
|
const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0, l = n.functionalityInput && n.functionalityInput.trim().length > 0;
|
|
129
132
|
!e && !l && (t.addIssue({
|
|
130
|
-
code:
|
|
133
|
+
code: s.ZodIssueCode.custom,
|
|
131
134
|
message: Se,
|
|
132
135
|
path: ["functionalitySelect"]
|
|
133
136
|
}), t.addIssue({
|
|
134
|
-
code:
|
|
137
|
+
code: s.ZodIssueCode.custom,
|
|
135
138
|
message: Se,
|
|
136
139
|
path: ["functionalityInput"]
|
|
137
140
|
}));
|
|
@@ -139,31 +142,31 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
139
142
|
defineField: J,
|
|
140
143
|
handleSubmit: nt,
|
|
141
144
|
errors: Z,
|
|
142
|
-
resetForm:
|
|
145
|
+
resetForm: L
|
|
143
146
|
} = K({
|
|
144
147
|
validationSchema: j(tt),
|
|
145
148
|
initialValues: {
|
|
146
149
|
functionalitySelect: "",
|
|
147
150
|
functionalityInput: ""
|
|
148
151
|
}
|
|
149
|
-
}), it =
|
|
150
|
-
zweckSelect:
|
|
151
|
-
zweckInput:
|
|
152
|
+
}), it = s.object({
|
|
153
|
+
zweckSelect: s.string().optional(),
|
|
154
|
+
zweckInput: s.string().optional()
|
|
152
155
|
}).superRefine((n, t) => {
|
|
153
156
|
const e = n.zweckSelect && n.zweckSelect.trim().length > 0, l = n.zweckInput && n.zweckInput.trim().length > 0;
|
|
154
157
|
!e && !l && (t.addIssue({
|
|
155
|
-
code:
|
|
158
|
+
code: s.ZodIssueCode.custom,
|
|
156
159
|
message: Ve,
|
|
157
160
|
path: ["zweckSelect"]
|
|
158
161
|
}), t.addIssue({
|
|
159
|
-
code:
|
|
162
|
+
code: s.ZodIssueCode.custom,
|
|
160
163
|
message: Ve,
|
|
161
164
|
path: ["zweckInput"]
|
|
162
165
|
}));
|
|
163
166
|
}), {
|
|
164
167
|
defineField: X,
|
|
165
168
|
handleSubmit: lt,
|
|
166
|
-
errors:
|
|
169
|
+
errors: W,
|
|
167
170
|
resetForm: _
|
|
168
171
|
} = K({
|
|
169
172
|
validationSchema: j(it),
|
|
@@ -173,9 +176,9 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
173
176
|
}
|
|
174
177
|
});
|
|
175
178
|
ve(I, (n, t) => {
|
|
176
|
-
!!t && !!n && n !== t && (
|
|
179
|
+
!!t && !!n && n !== t && (L(), v.value = [], _(), h.value = []);
|
|
177
180
|
});
|
|
178
|
-
const [G,
|
|
181
|
+
const [G, ot] = J("functionalitySelect"), [R, st] = J("functionalityInput"), ee = S(() => Array.from(v.value || [])), [E, rt] = X("zweckSelect"), [N, at] = X("zweckInput"), U = S(() => h.value && h.value.length > 0), M = T(!!((ce = (de = m.initializeWith) == null ? void 0 : de.forProperty) != null && ce.length));
|
|
179
182
|
function ut() {
|
|
180
183
|
h.value = [];
|
|
181
184
|
}
|
|
@@ -196,13 +199,13 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
196
199
|
hosts: (n.hosts || []).filter(Boolean)
|
|
197
200
|
};
|
|
198
201
|
B ? D("patch", {
|
|
199
|
-
id:
|
|
202
|
+
id: xe,
|
|
200
203
|
hardware: t
|
|
201
|
-
}) : D("submit", t),
|
|
204
|
+
}) : D("submit", t), L(), _(), Ae();
|
|
202
205
|
}), dt = nt((n) => {
|
|
203
206
|
var e, l;
|
|
204
207
|
const t = n.functionalitySelect || n.functionalityInput;
|
|
205
|
-
t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)),
|
|
208
|
+
t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)), L();
|
|
206
209
|
}), ct = lt((n) => {
|
|
207
210
|
var e, l;
|
|
208
211
|
const t = n.zweckSelect || n.zweckInput;
|
|
@@ -213,8 +216,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
213
216
|
return ((t = n.value.description) == null ? void 0 : t.length) ?? 0;
|
|
214
217
|
}
|
|
215
218
|
return (n, t) => (d(), p("div", wt, [
|
|
216
|
-
|
|
217
|
-
B ?
|
|
219
|
+
o("section", gt, [
|
|
220
|
+
B ? x("", !0) : (d(), p("h5", kt, "Wählen Sie eine bestehende Hardware")),
|
|
218
221
|
u(vt, w({
|
|
219
222
|
modelValue: i(I),
|
|
220
223
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => V(I) ? I.value = e : null),
|
|
@@ -251,34 +254,36 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
251
254
|
]),
|
|
252
255
|
_: 1
|
|
253
256
|
}, 16, ["modelValue", "setup-fn"]),
|
|
254
|
-
B ?
|
|
255
|
-
t[15] || (t[15] =
|
|
256
|
-
t[16] || (t[16] =
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
257
|
+
B ? x("", !0) : (d(), p(k, { key: 1 }, [
|
|
258
|
+
t[15] || (t[15] = o("h5", null, "oder", -1)),
|
|
259
|
+
t[16] || (t[16] = o("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)),
|
|
260
|
+
o("div", yt, [
|
|
261
|
+
o("a", St, [
|
|
262
|
+
u(f, {
|
|
263
|
+
"button-text": "Zur Hardwarebeantragung",
|
|
264
|
+
size: "medium",
|
|
265
|
+
variant: "secondary"
|
|
266
|
+
})
|
|
267
|
+
])
|
|
263
268
|
])
|
|
264
269
|
], 64))
|
|
265
270
|
]),
|
|
266
|
-
|
|
267
|
-
t[17] || (t[17] =
|
|
268
|
-
t[18] || (t[18] =
|
|
269
|
-
ee.value.length > 0 ? (d(), p("div",
|
|
271
|
+
o("section", Vt, [
|
|
272
|
+
t[17] || (t[17] = o("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
|
|
273
|
+
t[18] || (t[18] = o("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)),
|
|
274
|
+
ee.value.length > 0 ? (d(), p("div", zt, [
|
|
270
275
|
(d(!0), p(k, null, z(ee.value, (e, l) => (d(), p("div", {
|
|
271
276
|
key: l,
|
|
272
277
|
class: "functionalities"
|
|
273
278
|
}, [
|
|
274
|
-
be(
|
|
279
|
+
be(o("input", w({
|
|
275
280
|
id: e,
|
|
276
281
|
"onUpdate:modelValue": t[1] || (t[1] = (a) => V(v) ? v.value = a : null),
|
|
277
282
|
hidden: "",
|
|
278
283
|
value: e,
|
|
279
284
|
name: "selectedFunctionalities",
|
|
280
285
|
type: "checkbox"
|
|
281
|
-
}, { ref_for: !0 }, i(De)), null, 16,
|
|
286
|
+
}, { ref_for: !0 }, i(De)), null, 16, It), [
|
|
282
287
|
[we, i(v)]
|
|
283
288
|
]),
|
|
284
289
|
u(ge, {
|
|
@@ -296,7 +301,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
296
301
|
"select-value": !0
|
|
297
302
|
}, null, 8, ["for", "text", "data"])
|
|
298
303
|
]))), 128))
|
|
299
|
-
])) :
|
|
304
|
+
])) : x("", !0),
|
|
300
305
|
u(ke, w({
|
|
301
306
|
modelValue: i(G),
|
|
302
307
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => V(G) ? G.value = e : null),
|
|
@@ -305,8 +310,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
305
310
|
label: "Funktionalitäten auswählen",
|
|
306
311
|
placeholder: "Wählen Sie eine Funktionalität.",
|
|
307
312
|
disabled: !r.value
|
|
308
|
-
}, i(
|
|
309
|
-
t[19] || (t[19] =
|
|
313
|
+
}, i(ot)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
314
|
+
t[19] || (t[19] = o("h5", null, " oder ", -1)),
|
|
310
315
|
u(b, w({
|
|
311
316
|
modelValue: i(R),
|
|
312
317
|
"onUpdate:modelValue": t[3] || (t[3] = (e) => V(R) ? R.value = e : null),
|
|
@@ -321,8 +326,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
321
326
|
label: "Funktionalitäten nennen",
|
|
322
327
|
placeholder: "Nennen Sie eine Funktionalität",
|
|
323
328
|
"initial-hint-text": !1
|
|
324
|
-
}, i(
|
|
325
|
-
|
|
329
|
+
}, i(st)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"]),
|
|
330
|
+
o("div", xt, [
|
|
326
331
|
u(f, {
|
|
327
332
|
"button-text": "Funktionalität hinzufügen",
|
|
328
333
|
size: "medium",
|
|
@@ -333,9 +338,9 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
333
338
|
}, null, 8, ["disabled", "onClick"])
|
|
334
339
|
])
|
|
335
340
|
]),
|
|
336
|
-
|
|
337
|
-
t[20] || (t[20] =
|
|
338
|
-
t[21] || (t[21] =
|
|
341
|
+
o("section", Ft, [
|
|
342
|
+
t[20] || (t[20] = o("h5", null, "Beschreibung der Nutzung (optional)", -1)),
|
|
343
|
+
t[21] || (t[21] = o("p", null, "Beschreiben Sie die ausgewählte Hardware.", -1)),
|
|
339
344
|
u(ye, w({
|
|
340
345
|
modelValue: O.value,
|
|
341
346
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => O.value = e),
|
|
@@ -350,10 +355,10 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
350
355
|
"count-hint": !0
|
|
351
356
|
}), null, 16, ["modelValue", "is-disabled", "hint-message"])
|
|
352
357
|
]),
|
|
353
|
-
|
|
354
|
-
t[22] || (t[22] =
|
|
355
|
-
t[23] || (t[23] =
|
|
356
|
-
(d(!0), p(k, null, z(i(Ke), (e, l) => (d(), y(
|
|
358
|
+
o("section", Ht, [
|
|
359
|
+
t[22] || (t[22] = o("h5", null, "Host-Plattform (optional)", -1)),
|
|
360
|
+
t[23] || (t[23] = o("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)),
|
|
361
|
+
(d(!0), p(k, null, z(i(Ke), (e, l) => (d(), y(F, {
|
|
357
362
|
key: e.key,
|
|
358
363
|
onDelete: (a) => i(Te)(l)
|
|
359
364
|
}, {
|
|
@@ -375,7 +380,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
375
380
|
]),
|
|
376
381
|
_: 2
|
|
377
382
|
}, 1032, ["onDelete"]))), 128)),
|
|
378
|
-
|
|
383
|
+
o("div", Bt, [
|
|
379
384
|
u(f, {
|
|
380
385
|
"button-text": "Host-Plattform hinzufügen",
|
|
381
386
|
size: "medium",
|
|
@@ -386,10 +391,10 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
386
391
|
}, null, 8, ["disabled"])
|
|
387
392
|
])
|
|
388
393
|
]),
|
|
389
|
-
|
|
390
|
-
t[24] || (t[24] =
|
|
391
|
-
t[25] || (t[25] =
|
|
392
|
-
(d(!0), p(k, null, z(i(Ye), (e, l) => (d(), y(
|
|
394
|
+
o("section", $t, [
|
|
395
|
+
t[24] || (t[24] = o("h5", null, "Gehostete Geräte (optional)", -1)),
|
|
396
|
+
t[25] || (t[25] = o("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)),
|
|
397
|
+
(d(!0), p(k, null, z(i(Ye), (e, l) => (d(), y(F, {
|
|
393
398
|
key: e.key,
|
|
394
399
|
onDelete: (a) => i(qe)(l)
|
|
395
400
|
}, {
|
|
@@ -411,7 +416,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
411
416
|
]),
|
|
412
417
|
_: 2
|
|
413
418
|
}, 1032, ["onDelete"]))), 128)),
|
|
414
|
-
|
|
419
|
+
o("div", Ut, [
|
|
415
420
|
u(f, {
|
|
416
421
|
"button-text": "Gehostetes Gerät hinzufügen",
|
|
417
422
|
size: "medium",
|
|
@@ -422,22 +427,22 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
422
427
|
}, null, 8, ["disabled"])
|
|
423
428
|
])
|
|
424
429
|
]),
|
|
425
|
-
|
|
426
|
-
t[27] || (t[27] =
|
|
427
|
-
t[28] || (t[28] =
|
|
428
|
-
U.value ? (d(), p("div",
|
|
430
|
+
o("section", At, [
|
|
431
|
+
t[27] || (t[27] = o("h5", null, "Zweck (optional)", -1)),
|
|
432
|
+
t[28] || (t[28] = o("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
|
|
433
|
+
U.value ? (d(), p("div", Ct, [
|
|
429
434
|
(d(!0), p(k, null, z(i(h), (e, l) => (d(), p("div", {
|
|
430
435
|
key: `zweck-${l}`,
|
|
431
436
|
class: "functionalities"
|
|
432
437
|
}, [
|
|
433
|
-
be(
|
|
438
|
+
be(o("input", w({
|
|
434
439
|
id: `zweck-${e}`,
|
|
435
440
|
"onUpdate:modelValue": t[7] || (t[7] = (a) => V(h) ? h.value = a : null),
|
|
436
441
|
hidden: "",
|
|
437
442
|
value: e,
|
|
438
443
|
name: "selectedForProperties",
|
|
439
444
|
type: "checkbox"
|
|
440
|
-
}, { ref_for: !0 }, i(Pe)), null, 16,
|
|
445
|
+
}, { ref_for: !0 }, i(Pe)), null, 16, Dt), [
|
|
441
446
|
[we, i(h)]
|
|
442
447
|
]),
|
|
443
448
|
u(ge, {
|
|
@@ -455,8 +460,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
455
460
|
"select-value": !0
|
|
456
461
|
}, null, 8, ["for", "text", "data"])
|
|
457
462
|
]))), 128))
|
|
458
|
-
])) :
|
|
459
|
-
M.value && !U.value ? (d(), y(
|
|
463
|
+
])) : x("", !0),
|
|
464
|
+
M.value && !U.value ? (d(), y(F, {
|
|
460
465
|
key: 1,
|
|
461
466
|
onDelete: ut
|
|
462
467
|
}, {
|
|
@@ -475,17 +480,17 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
475
480
|
modelValue: i(E),
|
|
476
481
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => V(E) ? E.value = e : null),
|
|
477
482
|
options: et.value,
|
|
478
|
-
"error-message": i(
|
|
483
|
+
"error-message": i(W).zweckSelect,
|
|
479
484
|
label: "Zweck auswählen",
|
|
480
485
|
placeholder: "Wählen Sie einen Zweck.",
|
|
481
486
|
disabled: !r.value || U.value
|
|
482
487
|
}, i(rt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
483
|
-
t[26] || (t[26] =
|
|
488
|
+
t[26] || (t[26] = o("h5", null, "oder", -1)),
|
|
484
489
|
u(b, w({
|
|
485
490
|
modelValue: i(N),
|
|
486
491
|
"onUpdate:modelValue": t[9] || (t[9] = (e) => V(N) ? N.value = e : null),
|
|
487
|
-
error_message: i(
|
|
488
|
-
"show-error": !!i(
|
|
492
|
+
error_message: i(W).zweckInput,
|
|
493
|
+
"show-error": !!i(W).zweckInput,
|
|
489
494
|
"add-on-text": !1,
|
|
490
495
|
"date-picker": !1,
|
|
491
496
|
"info-icon": !1,
|
|
@@ -499,9 +504,9 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
499
504
|
]),
|
|
500
505
|
_: 1,
|
|
501
506
|
__: [26]
|
|
502
|
-
})) :
|
|
503
|
-
|
|
504
|
-
M.value ?
|
|
507
|
+
})) : x("", !0),
|
|
508
|
+
o("div", Pt, [
|
|
509
|
+
M.value ? x("", !0) : (d(), y(f, {
|
|
505
510
|
key: 0,
|
|
506
511
|
"button-text": "Zweck hinzufügen",
|
|
507
512
|
size: "medium",
|
|
@@ -512,12 +517,12 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
512
517
|
}, null, 8, ["disabled"]))
|
|
513
518
|
])
|
|
514
519
|
]),
|
|
515
|
-
|
|
516
|
-
t[29] || (t[29] =
|
|
517
|
-
t[30] || (t[30] =
|
|
518
|
-
(d(!0), p(k, null, z(i(_e), (e, l) => (d(), y(
|
|
520
|
+
o("section", Zt, [
|
|
521
|
+
t[29] || (t[29] = o("h5", null, "Standort (optional)", -1)),
|
|
522
|
+
t[30] || (t[30] = o("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
523
|
+
(d(!0), p(k, null, z(i(_e), (e, l) => (d(), y(F, {
|
|
519
524
|
key: e.key,
|
|
520
|
-
onDelete: (a) => i(
|
|
525
|
+
onDelete: (a) => i(Le)(l)
|
|
521
526
|
}, {
|
|
522
527
|
default: g(() => [
|
|
523
528
|
u(b, {
|
|
@@ -553,21 +558,21 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
553
558
|
]),
|
|
554
559
|
_: 2
|
|
555
560
|
}, 1032, ["onDelete"]))), 128)),
|
|
556
|
-
|
|
561
|
+
o("div", Lt, [
|
|
557
562
|
u(f, {
|
|
558
563
|
"button-text": "Hinzufügen",
|
|
559
564
|
size: "medium",
|
|
560
565
|
variant: "tertiary",
|
|
561
566
|
"icon-start": "plus",
|
|
562
567
|
disabled: !r.value,
|
|
563
|
-
onClick: t[11] || (t[11] = (e) => r.value && i(
|
|
568
|
+
onClick: t[11] || (t[11] = (e) => r.value && i(We)({ lat: "", lng: "" }))
|
|
564
569
|
}, null, 8, ["disabled"])
|
|
565
570
|
])
|
|
566
571
|
]),
|
|
567
|
-
|
|
568
|
-
t[31] || (t[31] =
|
|
569
|
-
t[32] || (t[32] =
|
|
570
|
-
(d(!0), p(k, null, z(i(Ee), (e, l) => (d(), y(
|
|
572
|
+
o("section", Wt, [
|
|
573
|
+
t[31] || (t[31] = o("h5", null, "Darstellungen (optional)", -1)),
|
|
574
|
+
t[32] || (t[32] = o("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
|
|
575
|
+
(d(!0), p(k, null, z(i(Ee), (e, l) => (d(), y(F, {
|
|
571
576
|
key: e.key,
|
|
572
577
|
onDelete: (a) => i(Ge)(l)
|
|
573
578
|
}, {
|
|
@@ -589,7 +594,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
589
594
|
]),
|
|
590
595
|
_: 2
|
|
591
596
|
}, 1032, ["onDelete"]))), 128)),
|
|
592
|
-
|
|
597
|
+
o("div", _t, [
|
|
593
598
|
u(f, {
|
|
594
599
|
"button-text": "Darstellung hinzufügen",
|
|
595
600
|
size: "medium",
|
|
@@ -600,10 +605,10 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
600
605
|
}, null, 8, ["disabled"])
|
|
601
606
|
])
|
|
602
607
|
]),
|
|
603
|
-
|
|
604
|
-
t[33] || (t[33] =
|
|
605
|
-
t[34] || (t[34] =
|
|
606
|
-
(d(!0), p(k, null, z(i(Oe), (e, l) => (d(), y(
|
|
608
|
+
o("section", Gt, [
|
|
609
|
+
t[33] || (t[33] = o("h5", null, "Weiterführende Links (optional)", -1)),
|
|
610
|
+
t[34] || (t[34] = o("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
611
|
+
(d(!0), p(k, null, z(i(Oe), (e, l) => (d(), y(F, {
|
|
607
612
|
key: e.key,
|
|
608
613
|
onDelete: (a) => i(Ne)(l)
|
|
609
614
|
}, {
|
|
@@ -657,7 +662,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
657
662
|
]),
|
|
658
663
|
_: 2
|
|
659
664
|
}, 1032, ["onDelete"]))), 128)),
|
|
660
|
-
|
|
665
|
+
o("div", Rt, [
|
|
661
666
|
u(f, {
|
|
662
667
|
"button-text": "Link hinzufügen",
|
|
663
668
|
size: "medium",
|
|
@@ -668,8 +673,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
668
673
|
}, null, 8, ["disabled"])
|
|
669
674
|
])
|
|
670
675
|
]),
|
|
671
|
-
|
|
672
|
-
B ? (d(), p("div",
|
|
676
|
+
o("section", Et, [
|
|
677
|
+
B ? (d(), p("div", Nt, [
|
|
673
678
|
u(f, {
|
|
674
679
|
"button-text": "Abbrechen",
|
|
675
680
|
variant: "tertiary",
|
|
@@ -692,5 +697,5 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
692
697
|
}
|
|
693
698
|
});
|
|
694
699
|
export {
|
|
695
|
-
|
|
700
|
+
nn as default
|
|
696
701
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HardwareStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5ff1e05e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|