@piveau/dpi 0.2.0-alpha.11 → 0.2.0-alpha.13
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/HappyFlowComponents/services/dpiV3_apis.js +1 -1
- 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 +180 -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 +215 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +37 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +8 -8
- 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 +127 -118
- 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 +64 -57
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +21 -23
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
- 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 +105 -96
- 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 +89 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +6 -5
- 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 +388 -375
- 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/TextAreaV3.vue.js +43 -35
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
- 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 +11 -11
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +131 -124
- package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ft, mergeModels as he, useModel as ht, unref as i, watch as ve, ref as
|
|
2
|
-
import { toTypedSchema as
|
|
3
|
-
import { useForm 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 s, createCommentVNode as F, 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
|
+
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 x } from "vee-validate";
|
|
4
4
|
import * as o 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
|
-
import
|
|
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
11
|
import H from "./ProcessStepInputCard.vue.js";
|
|
@@ -13,10 +13,13 @@ import bt from "./RichOption.vue.js";
|
|
|
13
13
|
const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "step-section" }, kt = { key: 0 }, yt = { class: "step-section-actions" }, St = { class: "step-section" }, Vt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "functionalities-container"
|
|
16
|
-
}, zt = ["id", "value"], It = { class: "step-section-actions" }, Ft = { class: "step-section" }, Ht = { class: "step-section" }, xt = { class: "step-section-actions" }, Bt = { class: "step-section" },
|
|
16
|
+
}, zt = ["id", "value"], It = { class: "step-section-actions" }, Ft = { class: "step-section" }, Ht = { class: "step-section" }, xt = { class: "step-section-actions" }, Bt = { class: "step-section" }, $t = { class: "step-section-actions" }, Ut = { class: "step-section" }, At = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "functionalities-container"
|
|
19
|
-
}, Ct = ["id", "value"], Dt = { class: "step-section-actions" }, Pt = { class: "step-section" }, Zt = { class: "step-section-actions" }, Wt = { class: "step-section" }, Lt = { class: "step-section-actions" }, _t = { class: "step-section" }, Gt = { class: "step-section-actions" }, Rt = { class: "step-section-actions" },
|
|
19
|
+
}, Ct = ["id", "value"], Dt = { class: "step-section-actions" }, Pt = { class: "step-section" }, Zt = { class: "step-section-actions" }, Wt = { class: "step-section" }, Lt = { class: "step-section-actions" }, _t = { class: "step-section" }, Gt = { class: "step-section-actions" }, Rt = { class: "step-section-actions" }, Et = {
|
|
20
|
+
key: 0,
|
|
21
|
+
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, tn = /* @__PURE__ */ ft({
|
|
20
23
|
__name: "HardwareForm",
|
|
21
24
|
props: /* @__PURE__ */ he({
|
|
22
25
|
modelValue: {},
|
|
@@ -28,10 +31,10 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
28
31
|
},
|
|
29
32
|
modelModifiers: {}
|
|
30
33
|
}),
|
|
31
|
-
emits: /* @__PURE__ */ he(["submit", "patch"], ["update:modelValue"]),
|
|
32
|
-
setup(
|
|
34
|
+
emits: /* @__PURE__ */ he(["submit", "patch", "close"], ["update:modelValue"]),
|
|
35
|
+
setup(q, { emit: ze }) {
|
|
33
36
|
var ne, ie, le, se, oe, re, ae, ue, de, ce;
|
|
34
|
-
const m =
|
|
37
|
+
const m = q, D = ze, Ie = ht(q, "modelValue"), B = !!m.modelValue, Fe = i(m.modelValue) || "", He = o.object({
|
|
35
38
|
lat: o.string().min(1, "Geben Sie einen Wert für die Breite ein"),
|
|
36
39
|
lng: o.string().min(1, "Geben Sie einen Wert für die Länge ein")
|
|
37
40
|
}), xe = o.array(He), Be = o.object({
|
|
@@ -42,7 +45,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
42
45
|
function Q(n) {
|
|
43
46
|
return Array.isArray(n) ? n : n != null ? [n] : [];
|
|
44
47
|
}
|
|
45
|
-
const
|
|
48
|
+
const $e = o.object({
|
|
46
49
|
id: o.string(),
|
|
47
50
|
description: o.string().optional(),
|
|
48
51
|
functionalities: o.array(o.string()).min(1),
|
|
@@ -53,12 +56,12 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
53
56
|
isHostedBy: o.array(o.string()),
|
|
54
57
|
hosts: o.array(o.string())
|
|
55
58
|
}), {
|
|
56
|
-
defineField:
|
|
57
|
-
handleSubmit:
|
|
59
|
+
defineField: $,
|
|
60
|
+
handleSubmit: Ue,
|
|
58
61
|
resetForm: Ae,
|
|
59
62
|
errors: c
|
|
60
|
-
} =
|
|
61
|
-
validationSchema:
|
|
63
|
+
} = K({
|
|
64
|
+
validationSchema: j($e),
|
|
62
65
|
initialValues: {
|
|
63
66
|
id: m.modelValue || "",
|
|
64
67
|
description: ((ne = m.initializeWith) == null ? void 0 : ne.description) || "",
|
|
@@ -71,7 +74,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
71
74
|
hosts: Q((ue = m.initializeWith) == null ? void 0 : ue.hosts)
|
|
72
75
|
},
|
|
73
76
|
name: "hardwareForm"
|
|
74
|
-
}), [I, Ce] =
|
|
77
|
+
}), [I, Ce] = $("id"), [v, De] = $("functionalities"), [h, Pe] = $("forProperty"), [Nt, Ze] = $("description"), {
|
|
75
78
|
remove: We,
|
|
76
79
|
push: Le,
|
|
77
80
|
fields: _e
|
|
@@ -95,7 +98,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
95
98
|
ve(I, (n) => {
|
|
96
99
|
Ie.value = n || "";
|
|
97
100
|
}, { immediate: !0 });
|
|
98
|
-
const
|
|
101
|
+
const P = T(null);
|
|
99
102
|
function Je(n) {
|
|
100
103
|
const t = {
|
|
101
104
|
id: String(n.id || ""),
|
|
@@ -107,17 +110,17 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
107
110
|
version: n.version,
|
|
108
111
|
unavailable: n.unavailable
|
|
109
112
|
};
|
|
110
|
-
|
|
113
|
+
P.value = t;
|
|
111
114
|
}
|
|
112
115
|
const r = S(() => !!I.value), Y = S(() => {
|
|
113
116
|
var n;
|
|
114
117
|
return (((n = v.value) == null ? void 0 : n.length) ?? 0) > 0;
|
|
115
118
|
}), Xe = S(() => {
|
|
116
119
|
var n;
|
|
117
|
-
return ((n =
|
|
120
|
+
return ((n = P.value) == null ? void 0 : n.functionalities) ?? [];
|
|
118
121
|
}), et = S(() => {
|
|
119
122
|
var n;
|
|
120
|
-
return ((n =
|
|
123
|
+
return ((n = P.value) == null ? void 0 : n.forProperty) ?? [];
|
|
121
124
|
}), tt = o.object({
|
|
122
125
|
functionalitySelect: o.string().optional(),
|
|
123
126
|
functionalityInput: o.string().optional()
|
|
@@ -135,10 +138,10 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
135
138
|
}), {
|
|
136
139
|
defineField: J,
|
|
137
140
|
handleSubmit: nt,
|
|
138
|
-
errors:
|
|
139
|
-
resetForm:
|
|
140
|
-
} =
|
|
141
|
-
validationSchema:
|
|
141
|
+
errors: Z,
|
|
142
|
+
resetForm: W
|
|
143
|
+
} = K({
|
|
144
|
+
validationSchema: j(tt),
|
|
142
145
|
initialValues: {
|
|
143
146
|
functionalitySelect: "",
|
|
144
147
|
functionalityInput: ""
|
|
@@ -160,23 +163,23 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
160
163
|
}), {
|
|
161
164
|
defineField: X,
|
|
162
165
|
handleSubmit: lt,
|
|
163
|
-
errors:
|
|
164
|
-
resetForm:
|
|
165
|
-
} =
|
|
166
|
-
validationSchema:
|
|
166
|
+
errors: L,
|
|
167
|
+
resetForm: _
|
|
168
|
+
} = K({
|
|
169
|
+
validationSchema: j(it),
|
|
167
170
|
initialValues: {
|
|
168
171
|
zweckSelect: "",
|
|
169
172
|
zweckInput: ""
|
|
170
173
|
}
|
|
171
174
|
});
|
|
172
175
|
ve(I, (n, t) => {
|
|
173
|
-
!!t && !!n && n !== t && (
|
|
176
|
+
!!t && !!n && n !== t && (W(), v.value = [], _(), h.value = []);
|
|
174
177
|
});
|
|
175
|
-
const [
|
|
178
|
+
const [G, st] = J("functionalitySelect"), [R, ot] = 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));
|
|
176
179
|
function ut() {
|
|
177
180
|
h.value = [];
|
|
178
181
|
}
|
|
179
|
-
const te =
|
|
182
|
+
const te = Ue((n) => {
|
|
180
183
|
const t = {
|
|
181
184
|
id: n.id,
|
|
182
185
|
description: n.description || "",
|
|
@@ -192,19 +195,19 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
192
195
|
isHostedBy: (n.isHostedBy || []).filter(Boolean),
|
|
193
196
|
hosts: (n.hosts || []).filter(Boolean)
|
|
194
197
|
};
|
|
195
|
-
B ?
|
|
198
|
+
B ? D("patch", {
|
|
196
199
|
id: Fe,
|
|
197
200
|
hardware: t
|
|
198
|
-
}) :
|
|
201
|
+
}) : D("submit", t), W(), _(), Ae();
|
|
199
202
|
}), dt = nt((n) => {
|
|
200
203
|
var e, l;
|
|
201
204
|
const t = n.functionalitySelect || n.functionalityInput;
|
|
202
|
-
t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)),
|
|
205
|
+
t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)), W();
|
|
203
206
|
}), ct = lt((n) => {
|
|
204
207
|
var e, l;
|
|
205
208
|
const t = n.zweckSelect || n.zweckInput;
|
|
206
|
-
t && t.trim().length > 0 && !((e = h.value) != null && e.includes(t)) && ((l = h.value) == null || l.push(t)),
|
|
207
|
-
}),
|
|
209
|
+
t && t.trim().length > 0 && !((e = h.value) != null && e.includes(t)) && ((l = h.value) == null || l.push(t)), _();
|
|
210
|
+
}), O = T(""), pt = S(() => O.value.length);
|
|
208
211
|
function mt(n) {
|
|
209
212
|
var t;
|
|
210
213
|
return ((t = n.value.description) == null ? void 0 : t.length) ?? 0;
|
|
@@ -212,7 +215,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
212
215
|
return (n, t) => (d(), p("div", wt, [
|
|
213
216
|
s("section", gt, [
|
|
214
217
|
B ? F("", !0) : (d(), p("h5", kt, "Wählen Sie eine bestehende Hardware")),
|
|
215
|
-
u(vt,
|
|
218
|
+
u(vt, w({
|
|
216
219
|
modelValue: i(I),
|
|
217
220
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => V(I) ? I.value = e : null),
|
|
218
221
|
label: "Falls die Hardware bereits angelegt wurde, können Sie sie hier auswählen."
|
|
@@ -236,7 +239,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
236
239
|
},
|
|
237
240
|
onSelect: Je
|
|
238
241
|
}), {
|
|
239
|
-
option:
|
|
242
|
+
option: g(({ option: e, active: l, selected: a, disabled: A }) => [
|
|
240
243
|
u(bt, {
|
|
241
244
|
name: e.name,
|
|
242
245
|
manufacturer: e.manufacturer,
|
|
@@ -248,9 +251,9 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
248
251
|
]),
|
|
249
252
|
_: 1
|
|
250
253
|
}, 16, ["modelValue", "setup-fn"]),
|
|
251
|
-
B ? F("", !0) : (d(), p(
|
|
252
|
-
t[
|
|
253
|
-
t[
|
|
254
|
+
B ? F("", !0) : (d(), p(k, { key: 1 }, [
|
|
255
|
+
t[15] || (t[15] = s("h5", null, "oder", -1)),
|
|
256
|
+
t[16] || (t[16] = s("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)),
|
|
254
257
|
s("div", yt, [
|
|
255
258
|
u(f, {
|
|
256
259
|
"button-text": "Zur Hardwarebeantragung",
|
|
@@ -261,14 +264,14 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
261
264
|
], 64))
|
|
262
265
|
]),
|
|
263
266
|
s("section", St, [
|
|
264
|
-
t[
|
|
265
|
-
t[
|
|
267
|
+
t[17] || (t[17] = s("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
|
|
268
|
+
t[18] || (t[18] = s("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)),
|
|
266
269
|
ee.value.length > 0 ? (d(), p("div", Vt, [
|
|
267
|
-
(d(!0), p(
|
|
270
|
+
(d(!0), p(k, null, z(ee.value, (e, l) => (d(), p("div", {
|
|
268
271
|
key: l,
|
|
269
272
|
class: "functionalities"
|
|
270
273
|
}, [
|
|
271
|
-
be(s("input",
|
|
274
|
+
be(s("input", w({
|
|
272
275
|
id: e,
|
|
273
276
|
"onUpdate:modelValue": t[1] || (t[1] = (a) => V(v) ? v.value = a : null),
|
|
274
277
|
hidden: "",
|
|
@@ -294,21 +297,21 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
294
297
|
}, null, 8, ["for", "text", "data"])
|
|
295
298
|
]))), 128))
|
|
296
299
|
])) : F("", !0),
|
|
297
|
-
u(ke,
|
|
298
|
-
modelValue: i(
|
|
299
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => V(
|
|
300
|
+
u(ke, w({
|
|
301
|
+
modelValue: i(G),
|
|
302
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => V(G) ? G.value = e : null),
|
|
300
303
|
options: Xe.value,
|
|
301
|
-
"error-message": i(
|
|
304
|
+
"error-message": i(Z).functionalitySelect,
|
|
302
305
|
label: "Funktionalitäten auswählen",
|
|
303
306
|
placeholder: "Wählen Sie eine Funktionalität.",
|
|
304
307
|
disabled: !r.value
|
|
305
308
|
}, i(st)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
306
|
-
t[
|
|
307
|
-
u(
|
|
308
|
-
modelValue: i(
|
|
309
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) => V(
|
|
310
|
-
error_message: i(
|
|
311
|
-
"show-error": !!i(
|
|
309
|
+
t[19] || (t[19] = s("h5", null, " oder ", -1)),
|
|
310
|
+
u(b, w({
|
|
311
|
+
modelValue: i(R),
|
|
312
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => V(R) ? R.value = e : null),
|
|
313
|
+
error_message: i(Z).functionalityInput,
|
|
314
|
+
"show-error": !!i(Z).functionalityInput,
|
|
312
315
|
"add-on-text": !1,
|
|
313
316
|
"date-picker": !1,
|
|
314
317
|
"info-icon": !1,
|
|
@@ -331,11 +334,11 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
331
334
|
])
|
|
332
335
|
]),
|
|
333
336
|
s("section", Ft, [
|
|
334
|
-
t[
|
|
335
|
-
t[
|
|
336
|
-
u(ye,
|
|
337
|
-
modelValue:
|
|
338
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) =>
|
|
337
|
+
t[20] || (t[20] = s("h5", null, "Beschreibung der Nutzung (optional)", -1)),
|
|
338
|
+
t[21] || (t[21] = s("p", null, "Beschreiben Sie die ausgewählte Hardware.", -1)),
|
|
339
|
+
u(ye, w({
|
|
340
|
+
modelValue: O.value,
|
|
341
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => O.value = e),
|
|
339
342
|
label: "Beschreibung",
|
|
340
343
|
placeholder: "Beschreiben Sie die Hardware",
|
|
341
344
|
"is-disabled": !r.value
|
|
@@ -348,14 +351,14 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
348
351
|
}), null, 16, ["modelValue", "is-disabled", "hint-message"])
|
|
349
352
|
]),
|
|
350
353
|
s("section", Ht, [
|
|
351
|
-
t[
|
|
352
|
-
t[
|
|
353
|
-
(d(!0), p(
|
|
354
|
+
t[22] || (t[22] = s("h5", null, "Host-Plattform (optional)", -1)),
|
|
355
|
+
t[23] || (t[23] = s("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)),
|
|
356
|
+
(d(!0), p(k, null, z(i(Ke), (e, l) => (d(), y(H, {
|
|
354
357
|
key: e.key,
|
|
355
358
|
onDelete: (a) => i(Te)(l)
|
|
356
359
|
}, {
|
|
357
|
-
default:
|
|
358
|
-
u(
|
|
360
|
+
default: g(() => [
|
|
361
|
+
u(b, {
|
|
359
362
|
modelValue: e.value,
|
|
360
363
|
"onUpdate:modelValue": (a) => e.value = a,
|
|
361
364
|
"add-on-text": !1,
|
|
@@ -384,14 +387,14 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
384
387
|
])
|
|
385
388
|
]),
|
|
386
389
|
s("section", Bt, [
|
|
387
|
-
t[
|
|
388
|
-
t[
|
|
389
|
-
(d(!0), p(
|
|
390
|
+
t[24] || (t[24] = s("h5", null, "Gehostete Geräte (optional)", -1)),
|
|
391
|
+
t[25] || (t[25] = 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)),
|
|
392
|
+
(d(!0), p(k, null, z(i(Ye), (e, l) => (d(), y(H, {
|
|
390
393
|
key: e.key,
|
|
391
394
|
onDelete: (a) => i(qe)(l)
|
|
392
395
|
}, {
|
|
393
|
-
default:
|
|
394
|
-
u(
|
|
396
|
+
default: g(() => [
|
|
397
|
+
u(b, {
|
|
395
398
|
modelValue: e.value,
|
|
396
399
|
"onUpdate:modelValue": (a) => e.value = a,
|
|
397
400
|
"add-on-text": !1,
|
|
@@ -408,7 +411,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
408
411
|
]),
|
|
409
412
|
_: 2
|
|
410
413
|
}, 1032, ["onDelete"]))), 128)),
|
|
411
|
-
s("div",
|
|
414
|
+
s("div", $t, [
|
|
412
415
|
u(f, {
|
|
413
416
|
"button-text": "Gehostetes Gerät hinzufügen",
|
|
414
417
|
size: "medium",
|
|
@@ -419,15 +422,15 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
419
422
|
}, null, 8, ["disabled"])
|
|
420
423
|
])
|
|
421
424
|
]),
|
|
422
|
-
s("section",
|
|
423
|
-
t[
|
|
424
|
-
t[
|
|
425
|
-
|
|
426
|
-
(d(!0), p(
|
|
425
|
+
s("section", Ut, [
|
|
426
|
+
t[27] || (t[27] = s("h5", null, "Zweck (optional)", -1)),
|
|
427
|
+
t[28] || (t[28] = s("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
|
|
428
|
+
U.value ? (d(), p("div", At, [
|
|
429
|
+
(d(!0), p(k, null, z(i(h), (e, l) => (d(), p("div", {
|
|
427
430
|
key: `zweck-${l}`,
|
|
428
431
|
class: "functionalities"
|
|
429
432
|
}, [
|
|
430
|
-
be(s("input",
|
|
433
|
+
be(s("input", w({
|
|
431
434
|
id: `zweck-${e}`,
|
|
432
435
|
"onUpdate:modelValue": t[7] || (t[7] = (a) => V(h) ? h.value = a : null),
|
|
433
436
|
hidden: "",
|
|
@@ -453,11 +456,11 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
453
456
|
}, null, 8, ["for", "text", "data"])
|
|
454
457
|
]))), 128))
|
|
455
458
|
])) : F("", !0),
|
|
456
|
-
|
|
459
|
+
M.value && !U.value ? (d(), y(H, {
|
|
457
460
|
key: 1,
|
|
458
461
|
onDelete: ut
|
|
459
462
|
}, {
|
|
460
|
-
actions:
|
|
463
|
+
actions: g(() => [
|
|
461
464
|
u(f, {
|
|
462
465
|
"button-text": "Zweck hinzufügen",
|
|
463
466
|
size: "medium",
|
|
@@ -467,57 +470,57 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
467
470
|
onClick: i(ct)
|
|
468
471
|
}, null, 8, ["disabled", "onClick"])
|
|
469
472
|
]),
|
|
470
|
-
default:
|
|
471
|
-
u(ke,
|
|
472
|
-
modelValue: i(
|
|
473
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) => V(
|
|
473
|
+
default: g(() => [
|
|
474
|
+
u(ke, w({
|
|
475
|
+
modelValue: i(E),
|
|
476
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => V(E) ? E.value = e : null),
|
|
474
477
|
options: et.value,
|
|
475
|
-
"error-message": i(
|
|
478
|
+
"error-message": i(L).zweckSelect,
|
|
476
479
|
label: "Zweck auswählen",
|
|
477
480
|
placeholder: "Wählen Sie einen Zweck.",
|
|
478
|
-
disabled: !r.value ||
|
|
481
|
+
disabled: !r.value || U.value
|
|
479
482
|
}, i(rt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
480
|
-
t[
|
|
481
|
-
u(
|
|
482
|
-
modelValue: i(
|
|
483
|
-
"onUpdate:modelValue": t[9] || (t[9] = (e) => V(
|
|
484
|
-
error_message: i(
|
|
485
|
-
"show-error": !!i(
|
|
483
|
+
t[26] || (t[26] = s("h5", null, "oder", -1)),
|
|
484
|
+
u(b, w({
|
|
485
|
+
modelValue: i(N),
|
|
486
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => V(N) ? N.value = e : null),
|
|
487
|
+
error_message: i(L).zweckInput,
|
|
488
|
+
"show-error": !!i(L).zweckInput,
|
|
486
489
|
"add-on-text": !1,
|
|
487
490
|
"date-picker": !1,
|
|
488
491
|
"info-icon": !1,
|
|
489
492
|
"show-end-icon": !1,
|
|
490
493
|
"pre-icon": !1,
|
|
491
|
-
"is-disabled": !r.value ||
|
|
494
|
+
"is-disabled": !r.value || U.value,
|
|
492
495
|
label: "Zweck nennen",
|
|
493
496
|
placeholder: "Nennen Sie einen Zweck",
|
|
494
497
|
"initial-hint-text": !1
|
|
495
498
|
}, i(at)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"])
|
|
496
499
|
]),
|
|
497
500
|
_: 1,
|
|
498
|
-
__: [
|
|
501
|
+
__: [26]
|
|
499
502
|
})) : F("", !0),
|
|
500
503
|
s("div", Dt, [
|
|
501
|
-
|
|
504
|
+
M.value ? F("", !0) : (d(), y(f, {
|
|
502
505
|
key: 0,
|
|
503
506
|
"button-text": "Zweck hinzufügen",
|
|
504
507
|
size: "medium",
|
|
505
508
|
variant: "tertiary",
|
|
506
509
|
"icon-start": "plus",
|
|
507
510
|
disabled: !r.value,
|
|
508
|
-
onClick: t[10] || (t[10] = (e) => r.value && (
|
|
511
|
+
onClick: t[10] || (t[10] = (e) => r.value && (M.value = !0))
|
|
509
512
|
}, null, 8, ["disabled"]))
|
|
510
513
|
])
|
|
511
514
|
]),
|
|
512
515
|
s("section", Pt, [
|
|
513
|
-
t[
|
|
514
|
-
t[
|
|
515
|
-
(d(!0), p(
|
|
516
|
+
t[29] || (t[29] = s("h5", null, "Standort (optional)", -1)),
|
|
517
|
+
t[30] || (t[30] = s("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
518
|
+
(d(!0), p(k, null, z(i(_e), (e, l) => (d(), y(H, {
|
|
516
519
|
key: e.key,
|
|
517
520
|
onDelete: (a) => i(We)(l)
|
|
518
521
|
}, {
|
|
519
|
-
default:
|
|
520
|
-
u(
|
|
522
|
+
default: g(() => [
|
|
523
|
+
u(b, {
|
|
521
524
|
modelValue: e.value.lat,
|
|
522
525
|
"onUpdate:modelValue": (a) => e.value.lat = a,
|
|
523
526
|
"add-on-text": !1,
|
|
@@ -532,7 +535,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
532
535
|
"show-error": !!i(c)[`locations[${l}].lat`],
|
|
533
536
|
error_message: i(c)[`locations[${l}].lat`]
|
|
534
537
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "initial-hint-text", "show-error", "error_message"]),
|
|
535
|
-
u(
|
|
538
|
+
u(b, {
|
|
536
539
|
modelValue: e.value.lng,
|
|
537
540
|
"onUpdate:modelValue": (a) => e.value.lng = a,
|
|
538
541
|
"add-on-text": !1,
|
|
@@ -562,14 +565,14 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
562
565
|
])
|
|
563
566
|
]),
|
|
564
567
|
s("section", Wt, [
|
|
565
|
-
t[
|
|
566
|
-
t[
|
|
567
|
-
(d(!0), p(
|
|
568
|
+
t[31] || (t[31] = s("h5", null, "Darstellungen (optional)", -1)),
|
|
569
|
+
t[32] || (t[32] = s("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
|
|
570
|
+
(d(!0), p(k, null, z(i(Ee), (e, l) => (d(), y(H, {
|
|
568
571
|
key: e.key,
|
|
569
572
|
onDelete: (a) => i(Ge)(l)
|
|
570
573
|
}, {
|
|
571
|
-
default:
|
|
572
|
-
u(
|
|
574
|
+
default: g(() => [
|
|
575
|
+
u(b, {
|
|
573
576
|
modelValue: e.value,
|
|
574
577
|
"onUpdate:modelValue": (a) => e.value = a,
|
|
575
578
|
"add-on-text": !1,
|
|
@@ -598,14 +601,14 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
598
601
|
])
|
|
599
602
|
]),
|
|
600
603
|
s("section", _t, [
|
|
601
|
-
t[
|
|
602
|
-
t[
|
|
603
|
-
(d(!0), p(
|
|
604
|
+
t[33] || (t[33] = s("h5", null, "Weiterführende Links (optional)", -1)),
|
|
605
|
+
t[34] || (t[34] = s("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
606
|
+
(d(!0), p(k, null, z(i(Oe), (e, l) => (d(), y(H, {
|
|
604
607
|
key: e.key,
|
|
605
608
|
onDelete: (a) => i(Ne)(l)
|
|
606
609
|
}, {
|
|
607
|
-
default:
|
|
608
|
-
u(
|
|
610
|
+
default: g(() => [
|
|
611
|
+
u(b, {
|
|
609
612
|
modelValue: e.value.name,
|
|
610
613
|
"onUpdate:modelValue": (a) => e.value.name = a,
|
|
611
614
|
"add-on-text": !1,
|
|
@@ -620,7 +623,7 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
620
623
|
"show-error": !!i(c)[`references[${l}].name`],
|
|
621
624
|
"initial-hint-text": !!i(c)[`references[${l}].name`]
|
|
622
625
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
|
|
623
|
-
u(
|
|
626
|
+
u(b, {
|
|
624
627
|
modelValue: e.value.url,
|
|
625
628
|
"onUpdate:modelValue": (a) => e.value.url = a,
|
|
626
629
|
"add-on-text": !1,
|
|
@@ -666,12 +669,18 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
666
669
|
])
|
|
667
670
|
]),
|
|
668
671
|
s("section", Rt, [
|
|
669
|
-
B ? (d(),
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
672
|
+
B ? (d(), p("div", Et, [
|
|
673
|
+
u(f, {
|
|
674
|
+
"button-text": "Abbrechen",
|
|
675
|
+
variant: "tertiary",
|
|
676
|
+
onClick: t[14] || (t[14] = (e) => D("close"))
|
|
677
|
+
}),
|
|
678
|
+
u(f, {
|
|
679
|
+
"button-text": "Speichern",
|
|
680
|
+
disabled: !r.value || !Y.value,
|
|
681
|
+
onClick: i(te)
|
|
682
|
+
}, null, 8, ["disabled", "onClick"])
|
|
683
|
+
])) : (d(), y(f, {
|
|
675
684
|
key: 1,
|
|
676
685
|
"icon-start": "PlusSquare",
|
|
677
686
|
"button-text": "Hardware hinzufügen",
|
|
@@ -683,5 +692,5 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
683
692
|
}
|
|
684
693
|
});
|
|
685
694
|
export {
|
|
686
|
-
|
|
695
|
+
tn as default
|
|
687
696
|
};
|
|
@@ -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 d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b6dfd202"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|