@piveau/dpi 0.2.0-alpha.23 → 0.2.0-alpha.26
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/DPIHome.vue.js +43 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +23 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +44 -40
- 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 +206 -0
- 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 +76 -62
- 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 +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +7 -7
- 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 +97 -128
- 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/DatasetStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +35 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +114 -111
- 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 +59 -52
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +44 -33
- 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 +7 -7
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +90 -82
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +14 -14
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +86 -73
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +320 -317
- package/package.json +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +0 -7
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +0 -143
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
import { defineComponent as vt, mergeModels as
|
|
1
|
+
import { defineComponent as vt, mergeModels as we, useModel as bt, unref as i, watch as O, ref as ge, computed as b, createElementBlock as m, openBlock as d, createElementVNode as o, createCommentVNode as w, createVNode as u, mergeProps as g, isRef as k, withCtx as y, Fragment as S, renderList as F, withDirectives as ke, vModelCheckbox as ye, createBlock as z } 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
3
|
import { useForm as K, useFieldArray as H } from "vee-validate";
|
|
4
4
|
import * as s from "zod";
|
|
5
5
|
import { useTwinbyUser as wt } from "../../../composables/useTwinbyUser.js";
|
|
6
6
|
import gt from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
7
7
|
import f from "../ButtonV3.vue.js";
|
|
8
|
-
import
|
|
8
|
+
import Se from "../Chip.vue.js";
|
|
9
9
|
import V from "../InputField.vue.js";
|
|
10
10
|
import q from "../ListBox/Listbox.vue.js";
|
|
11
|
-
import
|
|
11
|
+
import ze from "../TextAreaV3.vue.js";
|
|
12
12
|
import B from "./ProcessStepInputCard.vue.js";
|
|
13
13
|
import kt from "./RichOption.vue.js";
|
|
14
14
|
const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "step-section" }, zt = { key: 0 }, Vt = { class: "step-section-actions" }, It = ["href"], Ft = { class: "step-section" }, Ht = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "functionalities-container"
|
|
17
|
-
}, Bt = ["id", "value"], $t = { class: "step-section-actions" }, xt = { class: "step-section" }, Ut = { class: "step-section" }, At = {
|
|
17
|
+
}, Bt = ["id", "value"], $t = { class: "step-section-actions" }, xt = { class: "step-section" }, Ut = { class: "step-section" }, At = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "step-section-actions"
|
|
20
|
+
}, Pt = { class: "step-section" }, Ct = {
|
|
18
21
|
key: 0,
|
|
19
22
|
class: "functionalities-container"
|
|
20
23
|
}, Dt = ["id", "value"], Zt = { class: "step-section-actions" }, Lt = { class: "step-section" }, _t = { class: "step-section-actions" }, Wt = { class: "step-section" }, Rt = { class: "step-section-actions" }, Et = { class: "step-section" }, Gt = { class: "step-section-actions" }, Nt = { class: "step-section-actions" }, Tt = {
|
|
21
24
|
key: 0,
|
|
22
25
|
class: "button-row"
|
|
23
|
-
},
|
|
26
|
+
}, Ve = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Ie = "Wählen Sie einen Zweck aus oder nennen Sie einen Zweck.", D = 500, rn = /* @__PURE__ */ vt({
|
|
24
27
|
__name: "HardwareForm",
|
|
25
|
-
props: /* @__PURE__ */
|
|
28
|
+
props: /* @__PURE__ */ we({
|
|
26
29
|
modelValue: {},
|
|
27
30
|
initializeWith: {},
|
|
28
31
|
exclude: { default: () => [] }
|
|
@@ -32,13 +35,13 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
32
35
|
},
|
|
33
36
|
modelModifiers: {}
|
|
34
37
|
}),
|
|
35
|
-
emits: /* @__PURE__ */
|
|
36
|
-
setup(Q, { emit:
|
|
37
|
-
var
|
|
38
|
-
const p = Q, Z =
|
|
38
|
+
emits: /* @__PURE__ */ we(["submit", "patch", "close"], ["update:modelValue"]),
|
|
39
|
+
setup(Q, { emit: Fe }) {
|
|
40
|
+
var oe, se, re, ae, ue, de, ce, me, pe, fe;
|
|
41
|
+
const p = Q, Z = Fe, He = bt(Q, "modelValue"), $ = !!p.modelValue, Be = i(p.modelValue) || "", $e = s.object({
|
|
39
42
|
lat: s.string().min(1, "Geben Sie einen Wert für die Breite ein"),
|
|
40
43
|
lng: s.string().min(1, "Geben Sie einen Wert für die Länge ein")
|
|
41
|
-
}),
|
|
44
|
+
}), xe = s.array($e), Ue = s.object({
|
|
42
45
|
name: s.string().min(1, "Geben Sie einen Namen ein").default(""),
|
|
43
46
|
url: s.string().min(1, "Geben Sie eine URL ein").default(""),
|
|
44
47
|
description: s.string().min(1, "Geben Sie eine Beschreibung ein").default("")
|
|
@@ -46,17 +49,17 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
46
49
|
function Y(n) {
|
|
47
50
|
return Array.isArray(n) ? n : n != null ? [n] : [];
|
|
48
51
|
}
|
|
49
|
-
const
|
|
52
|
+
const Ae = s.object({
|
|
50
53
|
id: s.string(),
|
|
51
54
|
description: s.string().optional(),
|
|
52
55
|
functionalities: s.array(s.string()).min(1),
|
|
53
56
|
forProperty: s.array(s.string()),
|
|
54
|
-
locations:
|
|
57
|
+
locations: xe,
|
|
55
58
|
depictions: s.array(s.string()),
|
|
56
|
-
references: s.array(
|
|
59
|
+
references: s.array(Ue),
|
|
57
60
|
isHostedBy: s.array(s.string()),
|
|
58
61
|
hosts: s.array(s.string())
|
|
59
|
-
}),
|
|
62
|
+
}), Pe = [
|
|
60
63
|
"Mast",
|
|
61
64
|
"Ampel",
|
|
62
65
|
"Verkehrsschild",
|
|
@@ -72,48 +75,48 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
72
75
|
"Sonstiges"
|
|
73
76
|
], {
|
|
74
77
|
defineField: x,
|
|
75
|
-
handleSubmit:
|
|
76
|
-
resetForm:
|
|
78
|
+
handleSubmit: Ce,
|
|
79
|
+
resetForm: De,
|
|
77
80
|
errors: c
|
|
78
81
|
} = K({
|
|
79
|
-
validationSchema: j(
|
|
82
|
+
validationSchema: j(Ae),
|
|
80
83
|
initialValues: {
|
|
81
84
|
id: p.modelValue || "",
|
|
82
|
-
description: ((
|
|
83
|
-
functionalities: ((
|
|
84
|
-
forProperty: ((
|
|
85
|
-
locations: ((
|
|
86
|
-
depictions: ((
|
|
87
|
-
references: ((
|
|
88
|
-
isHostedBy: Y((
|
|
89
|
-
hosts: Y((
|
|
85
|
+
description: ((oe = p.initializeWith) == null ? void 0 : oe.description) || "",
|
|
86
|
+
functionalities: ((se = p.initializeWith) == null ? void 0 : se.functionalities) || [],
|
|
87
|
+
forProperty: ((re = p.initializeWith) == null ? void 0 : re.forProperty) || [],
|
|
88
|
+
locations: ((ae = p.initializeWith) == null ? void 0 : ae.locations) || [],
|
|
89
|
+
depictions: ((ue = p.initializeWith) == null ? void 0 : ue.depictions) || [],
|
|
90
|
+
references: ((de = p.initializeWith) == null ? void 0 : de.references) || [],
|
|
91
|
+
isHostedBy: Y((ce = p.initializeWith) == null ? void 0 : ce.isHostedBy),
|
|
92
|
+
hosts: Y((me = p.initializeWith) == null ? void 0 : me.hosts)
|
|
90
93
|
},
|
|
91
94
|
name: "hardwareForm"
|
|
92
|
-
}), [I,
|
|
93
|
-
remove:
|
|
94
|
-
push:
|
|
95
|
-
fields:
|
|
95
|
+
}), [I, Ze] = x("id"), [v, Le] = x("functionalities"), [h, _e] = x("forProperty"), [U, We] = x("description"), {
|
|
96
|
+
remove: Re,
|
|
97
|
+
push: Ee,
|
|
98
|
+
fields: Ge
|
|
96
99
|
} = H("locations"), {
|
|
97
|
-
remove:
|
|
98
|
-
push:
|
|
99
|
-
fields:
|
|
100
|
+
remove: Ne,
|
|
101
|
+
push: Te,
|
|
102
|
+
fields: Me
|
|
100
103
|
} = H("depictions"), {
|
|
101
|
-
remove:
|
|
102
|
-
push:
|
|
103
|
-
fields:
|
|
104
|
+
remove: Oe,
|
|
105
|
+
push: je,
|
|
106
|
+
fields: Ke
|
|
104
107
|
} = H("references"), {
|
|
105
|
-
remove:
|
|
106
|
-
push:
|
|
107
|
-
fields:
|
|
108
|
+
remove: qe,
|
|
109
|
+
push: Qe,
|
|
110
|
+
fields: J
|
|
108
111
|
} = H("isHostedBy"), {
|
|
109
112
|
remove: Mt,
|
|
110
113
|
push: Ot,
|
|
111
114
|
fields: jt
|
|
112
115
|
} = H("hosts");
|
|
113
116
|
O(I, (n) => {
|
|
114
|
-
|
|
117
|
+
He.value = n || "";
|
|
115
118
|
}, { immediate: !0 });
|
|
116
|
-
const L =
|
|
119
|
+
const L = ge(null);
|
|
117
120
|
function Ye(n) {
|
|
118
121
|
const t = {
|
|
119
122
|
id: String(n.id || ""),
|
|
@@ -127,7 +130,7 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
127
130
|
};
|
|
128
131
|
L.value = t;
|
|
129
132
|
}
|
|
130
|
-
const r = b(() => !!I.value),
|
|
133
|
+
const r = b(() => !!I.value), X = b(() => {
|
|
131
134
|
var n;
|
|
132
135
|
return (((n = v.value) == null ? void 0 : n.length) ?? 0) > 0;
|
|
133
136
|
}), Je = b(() => {
|
|
@@ -143,15 +146,15 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
143
146
|
const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0, l = n.functionalityInput && n.functionalityInput.trim().length > 0;
|
|
144
147
|
!e && !l && (t.addIssue({
|
|
145
148
|
code: s.ZodIssueCode.custom,
|
|
146
|
-
message:
|
|
149
|
+
message: Ve,
|
|
147
150
|
path: ["functionalitySelect"]
|
|
148
151
|
}), t.addIssue({
|
|
149
152
|
code: s.ZodIssueCode.custom,
|
|
150
|
-
message:
|
|
153
|
+
message: Ve,
|
|
151
154
|
path: ["functionalityInput"]
|
|
152
155
|
}));
|
|
153
156
|
}), {
|
|
154
|
-
defineField:
|
|
157
|
+
defineField: ee,
|
|
155
158
|
handleSubmit: tt,
|
|
156
159
|
errors: _,
|
|
157
160
|
resetForm: W
|
|
@@ -168,15 +171,15 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
168
171
|
const e = n.zweckSelect && n.zweckSelect.trim().length > 0, l = n.zweckInput && n.zweckInput.trim().length > 0;
|
|
169
172
|
!e && !l && (t.addIssue({
|
|
170
173
|
code: s.ZodIssueCode.custom,
|
|
171
|
-
message:
|
|
174
|
+
message: Ie,
|
|
172
175
|
path: ["zweckSelect"]
|
|
173
176
|
}), t.addIssue({
|
|
174
177
|
code: s.ZodIssueCode.custom,
|
|
175
|
-
message:
|
|
178
|
+
message: Ie,
|
|
176
179
|
path: ["zweckInput"]
|
|
177
180
|
}));
|
|
178
181
|
}), {
|
|
179
|
-
defineField:
|
|
182
|
+
defineField: te,
|
|
180
183
|
handleSubmit: it,
|
|
181
184
|
errors: R,
|
|
182
185
|
resetForm: E
|
|
@@ -190,11 +193,11 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
190
193
|
O(I, (n, t) => {
|
|
191
194
|
!!t && !!n && n !== t && (W(), v.value = [], E(), h.value = []);
|
|
192
195
|
});
|
|
193
|
-
const [A, lt] =
|
|
196
|
+
const [A, lt] = ee("functionalitySelect"), [G, ot] = ee("functionalityInput"), ne = b(() => Array.from(v.value || [])), [N, st] = te("zweckSelect"), [T, rt] = te("zweckInput"), P = b(() => h.value && h.value.length > 0), M = ge(!!((fe = (pe = p.initializeWith) == null ? void 0 : pe.forProperty) != null && fe.length));
|
|
194
197
|
function at() {
|
|
195
198
|
h.value = [];
|
|
196
199
|
}
|
|
197
|
-
const
|
|
200
|
+
const ie = Ce((n) => {
|
|
198
201
|
const t = {
|
|
199
202
|
id: n.id,
|
|
200
203
|
description: n.description || "",
|
|
@@ -211,16 +214,16 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
211
214
|
hosts: (n.hosts || []).filter(Boolean)
|
|
212
215
|
};
|
|
213
216
|
$ ? Z("patch", {
|
|
214
|
-
id:
|
|
217
|
+
id: Be,
|
|
215
218
|
hardware: t
|
|
216
|
-
}) : Z("submit", t), W(), E(),
|
|
217
|
-
}),
|
|
219
|
+
}) : Z("submit", t), W(), E(), De();
|
|
220
|
+
}), le = tt((n) => {
|
|
218
221
|
var e, l;
|
|
219
222
|
const t = n.functionalitySelect || n.functionalityInput;
|
|
220
223
|
t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)), W();
|
|
221
224
|
});
|
|
222
225
|
O(A, (n) => {
|
|
223
|
-
n && n.trim().length > 0 &&
|
|
226
|
+
n && n.trim().length > 0 && le();
|
|
224
227
|
});
|
|
225
228
|
function ut(n) {
|
|
226
229
|
return [
|
|
@@ -249,26 +252,26 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
249
252
|
const { authToken: pt, username: ft } = wt(), ht = b(() => `https://form.typeform.com/to/ayL37uiV#token=${pt.value}&account=${ft.value}`);
|
|
250
253
|
return (n, t) => (d(), m("div", yt, [
|
|
251
254
|
o("section", St, [
|
|
252
|
-
$ ?
|
|
253
|
-
u(gt,
|
|
255
|
+
$ ? w("", !0) : (d(), m("h5", zt, "Wählen Sie eine bestehende Hardware")),
|
|
256
|
+
u(gt, g({
|
|
254
257
|
modelValue: i(I),
|
|
255
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
258
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => k(I) ? I.value = e : null),
|
|
256
259
|
label: "Falls die Hardware bereits angelegt wurde, können Sie sie hier auswählen."
|
|
257
|
-
}, i(
|
|
260
|
+
}, i(Ze), {
|
|
258
261
|
"base-url": "https://twin.bydata.de/api/hub/search",
|
|
259
262
|
resource: "hardware",
|
|
260
263
|
placeholder: "Hardware...",
|
|
261
264
|
name: "hardware",
|
|
262
265
|
"setup-fn": (e) => {
|
|
263
|
-
var l, a, C,
|
|
266
|
+
var l, a, C, he, ve, be;
|
|
264
267
|
return {
|
|
265
268
|
id: e == null ? void 0 : e.id,
|
|
266
269
|
name: ((l = e == null ? void 0 : e.name) == null ? void 0 : l.de) || ((a = e == null ? void 0 : e.name) == null ? void 0 : a.en),
|
|
267
270
|
functionalities: (e == null ? void 0 : e.functionalities) || [],
|
|
268
271
|
forProperties: (e == null ? void 0 : e.measured_actuated_properties) || [],
|
|
269
272
|
unavailable: p.exclude.includes(e == null ? void 0 : e.id),
|
|
270
|
-
manufacturer: (
|
|
271
|
-
description: ((
|
|
273
|
+
manufacturer: (he = (C = e == null ? void 0 : e.manufacturer) == null ? void 0 : C[0]) == null ? void 0 : he.label,
|
|
274
|
+
description: ((ve = e == null ? void 0 : e.description) == null ? void 0 : ve.de) || ((be = e == null ? void 0 : e.description) == null ? void 0 : be.en),
|
|
272
275
|
version: e == null ? void 0 : e.version
|
|
273
276
|
};
|
|
274
277
|
},
|
|
@@ -287,7 +290,7 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
287
290
|
]),
|
|
288
291
|
_: 1
|
|
289
292
|
}, 16, ["modelValue", "setup-fn"]),
|
|
290
|
-
$ ?
|
|
293
|
+
$ ? w("", !0) : (d(), m(S, { key: 1 }, [
|
|
291
294
|
t[15] || (t[15] = o("h5", null, "oder", -1)),
|
|
292
295
|
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)),
|
|
293
296
|
o("div", Vt, [
|
|
@@ -307,22 +310,22 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
307
310
|
o("section", Ft, [
|
|
308
311
|
t[17] || (t[17] = o("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
|
|
309
312
|
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)),
|
|
310
|
-
|
|
311
|
-
(d(!0), m(S, null, F(
|
|
313
|
+
ne.value.length > 0 ? (d(), m("div", Ht, [
|
|
314
|
+
(d(!0), m(S, null, F(ne.value, (e, l) => (d(), m("div", {
|
|
312
315
|
key: l,
|
|
313
316
|
class: "functionalities"
|
|
314
317
|
}, [
|
|
315
|
-
|
|
318
|
+
ke(o("input", g({
|
|
316
319
|
id: e,
|
|
317
|
-
"onUpdate:modelValue": t[1] || (t[1] = (a) =>
|
|
320
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => k(v) ? v.value = a : null),
|
|
318
321
|
hidden: "",
|
|
319
322
|
value: e,
|
|
320
323
|
name: "selectedFunctionalities",
|
|
321
324
|
type: "checkbox"
|
|
322
|
-
}, { ref_for: !0 }, i(
|
|
323
|
-
[
|
|
325
|
+
}, { ref_for: !0 }, i(Le)), null, 16, Bt), [
|
|
326
|
+
[ye, i(v)]
|
|
324
327
|
]),
|
|
325
|
-
u(
|
|
328
|
+
u(Se, {
|
|
326
329
|
as: "label",
|
|
327
330
|
for: e,
|
|
328
331
|
text: e,
|
|
@@ -337,10 +340,10 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
337
340
|
"select-value": !0
|
|
338
341
|
}, null, 8, ["for", "text", "data"])
|
|
339
342
|
]))), 128))
|
|
340
|
-
])) :
|
|
341
|
-
u(q,
|
|
343
|
+
])) : w("", !0),
|
|
344
|
+
u(q, g({
|
|
342
345
|
modelValue: i(A),
|
|
343
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
|
346
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => k(A) ? A.value = e : null),
|
|
344
347
|
options: Je.value,
|
|
345
348
|
"error-message": i(_).functionalitySelect,
|
|
346
349
|
label: "Funktionalitäten auswählen",
|
|
@@ -348,9 +351,9 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
348
351
|
disabled: !r.value
|
|
349
352
|
}, i(lt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
350
353
|
t[19] || (t[19] = o("h5", null, " oder ", -1)),
|
|
351
|
-
u(V,
|
|
354
|
+
u(V, g({
|
|
352
355
|
modelValue: i(G),
|
|
353
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) =>
|
|
356
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => k(G) ? G.value = e : null),
|
|
354
357
|
error_message: i(_).functionalityInput,
|
|
355
358
|
"show-error": !!i(_).functionalityInput,
|
|
356
359
|
"add-on-text": !1,
|
|
@@ -370,20 +373,20 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
370
373
|
variant: "tertiary",
|
|
371
374
|
"icon-start": "plus",
|
|
372
375
|
disabled: !r.value,
|
|
373
|
-
onClick: i(
|
|
376
|
+
onClick: i(le)
|
|
374
377
|
}, null, 8, ["disabled", "onClick"])
|
|
375
378
|
])
|
|
376
379
|
]),
|
|
377
380
|
o("section", xt, [
|
|
378
381
|
t[20] || (t[20] = o("h5", null, "Beschreibung der Nutzung (optional)", -1)),
|
|
379
382
|
t[21] || (t[21] = o("p", null, "Beschreiben Sie die ausgewählte Hardware.", -1)),
|
|
380
|
-
u(
|
|
383
|
+
u(ze, g({
|
|
381
384
|
modelValue: i(U),
|
|
382
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) =>
|
|
385
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => k(U) ? U.value = e : null),
|
|
383
386
|
label: "Beschreibung",
|
|
384
387
|
placeholder: "Beschreiben Sie die Hardware",
|
|
385
388
|
"is-disabled": !r.value
|
|
386
|
-
}, i(
|
|
389
|
+
}, i(We), {
|
|
387
390
|
max: D,
|
|
388
391
|
validation: "required|length:0,500",
|
|
389
392
|
hint: "true",
|
|
@@ -394,15 +397,15 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
394
397
|
o("section", Ut, [
|
|
395
398
|
t[22] || (t[22] = o("h5", null, "Host-Plattform (optional)", -1)),
|
|
396
399
|
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)),
|
|
397
|
-
(d(!0), m(S, null, F(i(
|
|
400
|
+
(d(!0), m(S, null, F(i(J), (e, l) => (d(), z(B, {
|
|
398
401
|
key: e.key,
|
|
399
|
-
onDelete: (a) => i(
|
|
402
|
+
onDelete: (a) => i(qe)(l)
|
|
400
403
|
}, {
|
|
401
404
|
default: y(() => [
|
|
402
405
|
u(q, {
|
|
403
406
|
modelValue: e.value,
|
|
404
407
|
"onUpdate:modelValue": (a) => e.value = a,
|
|
405
|
-
options:
|
|
408
|
+
options: Pe,
|
|
406
409
|
label: "Host-Plattform",
|
|
407
410
|
placeholder: "Wählen Sie eine Host-Plattform.",
|
|
408
411
|
disabled: !r.value
|
|
@@ -410,18 +413,18 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
410
413
|
]),
|
|
411
414
|
_: 2
|
|
412
415
|
}, 1032, ["onDelete"]))), 128)),
|
|
413
|
-
|
|
416
|
+
i(J).length === 0 ? (d(), m("div", At, [
|
|
414
417
|
u(f, {
|
|
415
418
|
"button-text": "Host-Plattform hinzufügen",
|
|
416
419
|
size: "medium",
|
|
417
420
|
variant: "tertiary",
|
|
418
421
|
"icon-start": "plus",
|
|
419
422
|
disabled: !r.value,
|
|
420
|
-
onClick: t[5] || (t[5] = (e) => r.value && i(
|
|
423
|
+
onClick: t[5] || (t[5] = (e) => r.value && i(Qe)(""))
|
|
421
424
|
}, null, 8, ["disabled"])
|
|
422
|
-
])
|
|
425
|
+
])) : w("", !0)
|
|
423
426
|
]),
|
|
424
|
-
|
|
427
|
+
w("", !0),
|
|
425
428
|
o("section", Pt, [
|
|
426
429
|
t[27] || (t[27] = o("h5", null, "Zweck (optional)", -1)),
|
|
427
430
|
t[28] || (t[28] = o("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
|
|
@@ -430,17 +433,17 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
430
433
|
key: `zweck-${l}`,
|
|
431
434
|
class: "functionalities"
|
|
432
435
|
}, [
|
|
433
|
-
|
|
436
|
+
ke(o("input", g({
|
|
434
437
|
id: `zweck-${e}`,
|
|
435
|
-
"onUpdate:modelValue": t[7] || (t[7] = (a) =>
|
|
438
|
+
"onUpdate:modelValue": t[7] || (t[7] = (a) => k(h) ? h.value = a : null),
|
|
436
439
|
hidden: "",
|
|
437
440
|
value: e,
|
|
438
441
|
name: "selectedForProperties",
|
|
439
442
|
type: "checkbox"
|
|
440
|
-
}, { ref_for: !0 }, i(
|
|
441
|
-
[
|
|
443
|
+
}, { ref_for: !0 }, i(_e)), null, 16, Dt), [
|
|
444
|
+
[ye, i(h)]
|
|
442
445
|
]),
|
|
443
|
-
u(
|
|
446
|
+
u(Se, {
|
|
444
447
|
as: "label",
|
|
445
448
|
for: `zweck-${e}`,
|
|
446
449
|
text: e,
|
|
@@ -455,7 +458,7 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
455
458
|
"select-value": !0
|
|
456
459
|
}, null, 8, ["for", "text", "data"])
|
|
457
460
|
]))), 128))
|
|
458
|
-
])) :
|
|
461
|
+
])) : w("", !0),
|
|
459
462
|
M.value && !P.value ? (d(), z(B, {
|
|
460
463
|
key: 1,
|
|
461
464
|
onDelete: at
|
|
@@ -471,9 +474,9 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
471
474
|
}, null, 8, ["disabled", "onClick"])
|
|
472
475
|
]),
|
|
473
476
|
default: y(() => [
|
|
474
|
-
u(q,
|
|
477
|
+
u(q, g({
|
|
475
478
|
modelValue: i(N),
|
|
476
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
|
479
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => k(N) ? N.value = e : null),
|
|
477
480
|
options: Xe.value,
|
|
478
481
|
"error-message": i(R).zweckSelect,
|
|
479
482
|
label: "Zweck auswählen",
|
|
@@ -481,9 +484,9 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
481
484
|
disabled: !r.value || P.value
|
|
482
485
|
}, i(st)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
483
486
|
t[26] || (t[26] = o("h5", null, "oder", -1)),
|
|
484
|
-
u(V,
|
|
487
|
+
u(V, g({
|
|
485
488
|
modelValue: i(T),
|
|
486
|
-
"onUpdate:modelValue": t[9] || (t[9] = (e) =>
|
|
489
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => k(T) ? T.value = e : null),
|
|
487
490
|
error_message: i(R).zweckInput,
|
|
488
491
|
"show-error": !!i(R).zweckInput,
|
|
489
492
|
"add-on-text": !1,
|
|
@@ -499,9 +502,9 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
499
502
|
]),
|
|
500
503
|
_: 1,
|
|
501
504
|
__: [26]
|
|
502
|
-
})) :
|
|
505
|
+
})) : w("", !0),
|
|
503
506
|
o("div", Zt, [
|
|
504
|
-
M.value ?
|
|
507
|
+
M.value ? w("", !0) : (d(), z(f, {
|
|
505
508
|
key: 0,
|
|
506
509
|
"button-text": "Zweck hinzufügen",
|
|
507
510
|
size: "medium",
|
|
@@ -515,9 +518,9 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
515
518
|
o("section", Lt, [
|
|
516
519
|
t[29] || (t[29] = o("h5", null, "Standort (optional)", -1)),
|
|
517
520
|
t[30] || (t[30] = o("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
518
|
-
(d(!0), m(S, null, F(i(
|
|
521
|
+
(d(!0), m(S, null, F(i(Ge), (e, l) => (d(), z(B, {
|
|
519
522
|
key: e.key,
|
|
520
|
-
onDelete: (a) => i(
|
|
523
|
+
onDelete: (a) => i(Re)(l)
|
|
521
524
|
}, {
|
|
522
525
|
default: y(() => [
|
|
523
526
|
u(V, {
|
|
@@ -560,16 +563,16 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
560
563
|
variant: "tertiary",
|
|
561
564
|
"icon-start": "plus",
|
|
562
565
|
disabled: !r.value,
|
|
563
|
-
onClick: t[11] || (t[11] = (e) => r.value && i(
|
|
566
|
+
onClick: t[11] || (t[11] = (e) => r.value && i(Ee)({ lat: "", lng: "" }))
|
|
564
567
|
}, null, 8, ["disabled"])
|
|
565
568
|
])
|
|
566
569
|
]),
|
|
567
570
|
o("section", Wt, [
|
|
568
571
|
t[31] || (t[31] = o("h5", null, "Darstellungen (optional)", -1)),
|
|
569
572
|
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)),
|
|
570
|
-
(d(!0), m(S, null, F(i(
|
|
573
|
+
(d(!0), m(S, null, F(i(Me), (e, l) => (d(), z(B, {
|
|
571
574
|
key: e.key,
|
|
572
|
-
onDelete: (a) => i(
|
|
575
|
+
onDelete: (a) => i(Ne)(l)
|
|
573
576
|
}, {
|
|
574
577
|
default: y(() => [
|
|
575
578
|
u(V, {
|
|
@@ -596,16 +599,16 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
596
599
|
variant: "tertiary",
|
|
597
600
|
"icon-start": "plus",
|
|
598
601
|
disabled: !r.value,
|
|
599
|
-
onClick: t[12] || (t[12] = (e) => r.value && i(
|
|
602
|
+
onClick: t[12] || (t[12] = (e) => r.value && i(Te)(""))
|
|
600
603
|
}, null, 8, ["disabled"])
|
|
601
604
|
])
|
|
602
605
|
]),
|
|
603
606
|
o("section", Et, [
|
|
604
607
|
t[33] || (t[33] = o("h5", null, "Weiterführende Links (optional)", -1)),
|
|
605
608
|
t[34] || (t[34] = o("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
606
|
-
(d(!0), m(S, null, F(i(
|
|
609
|
+
(d(!0), m(S, null, F(i(Ke), (e, l) => (d(), z(B, {
|
|
607
610
|
key: e.key,
|
|
608
|
-
onDelete: (a) => i(
|
|
611
|
+
onDelete: (a) => i(Oe)(l)
|
|
609
612
|
}, {
|
|
610
613
|
default: y(() => [
|
|
611
614
|
u(V, {
|
|
@@ -639,7 +642,7 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
639
642
|
"show-error": !!i(c)[`references[${l}].url`],
|
|
640
643
|
"initial-hint-text": !!i(c)[`references[${l}].url`]
|
|
641
644
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
|
|
642
|
-
u(
|
|
645
|
+
u(ze, {
|
|
643
646
|
modelValue: e.value.description,
|
|
644
647
|
"onUpdate:modelValue": (a) => e.value.description = a,
|
|
645
648
|
label: "Beschreibung",
|
|
@@ -664,7 +667,7 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
664
667
|
variant: "tertiary",
|
|
665
668
|
"icon-start": "plus",
|
|
666
669
|
disabled: !r.value,
|
|
667
|
-
onClick: t[13] || (t[13] = (e) => r.value && i(
|
|
670
|
+
onClick: t[13] || (t[13] = (e) => r.value && i(je)({ name: "", url: "", description: "" }))
|
|
668
671
|
}, null, 8, ["disabled"])
|
|
669
672
|
])
|
|
670
673
|
]),
|
|
@@ -677,15 +680,15 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
|
|
|
677
680
|
}),
|
|
678
681
|
u(f, {
|
|
679
682
|
"button-text": "Speichern",
|
|
680
|
-
disabled: !r.value || !
|
|
681
|
-
onClick: i(
|
|
683
|
+
disabled: !r.value || !X.value,
|
|
684
|
+
onClick: i(ie)
|
|
682
685
|
}, null, 8, ["disabled", "onClick"])
|
|
683
686
|
])) : (d(), z(f, {
|
|
684
687
|
key: 1,
|
|
685
688
|
"icon-start": "PlusSquare",
|
|
686
689
|
"button-text": "Hardware hinzufügen",
|
|
687
|
-
disabled: !r.value || !
|
|
688
|
-
onClick: i(
|
|
690
|
+
disabled: !r.value || !X.value,
|
|
691
|
+
onClick: i(ie)
|
|
689
692
|
}, null, 8, ["disabled", "onClick"]))
|
|
690
693
|
])
|
|
691
694
|
]));
|
|
@@ -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 e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-23f59b4a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|