@piveau/dpi 0.2.0-alpha.29 → 0.2.0-alpha.30

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.
Files changed (41) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +1 -1
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +19 -19
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +35 -33
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +25 -21
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +1 -1
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +13 -10
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +3 -3
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +16 -15
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +34 -32
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +56 -43
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +1 -1
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +56 -54
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +372 -325
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +71 -68
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +45 -36
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue.js +2 -2
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue2.js +33 -23
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +137 -133
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +62 -59
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +3 -3
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +250 -241
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -36
  39. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
  40. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +61 -57
  41. package/package.json +1 -1
@@ -1,29 +1,31 @@
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
- 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 H } from "vee-validate";
4
- import * as s from "zod";
5
- import { useTwinbyUser as wt } from "../../../composables/useTwinbyUser.js";
6
- import gt from "../Autocomplete/AutocompleteVocab.vue.js";
1
+ import { defineComponent as gt, mergeModels as we, useModel as wt, unref as i, watch as K, ref as ke, computed as g, createElementBlock as p, openBlock as d, createElementVNode as s, createCommentVNode as w, createVNode as a, Fragment as k, mergeProps as y, isRef as S, withCtx as v, renderList as F, withDirectives as ye, vModelCheckbox as Se, createTextVNode as kt, createBlock as z } from "vue";
2
+ import { PhLightbulb as yt } from "@phosphor-icons/vue";
3
+ import { toTypedSchema as q } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
4
+ import { useForm as Q, useFieldArray as x } from "vee-validate";
5
+ import * as o from "zod";
6
+ import { useTwinbyUser as St } from "../../../composables/useTwinbyUser.js";
7
+ import zt from "../Autocomplete/AutocompleteVocab.vue.js";
7
8
  import f from "../ButtonV3.vue.js";
8
- import Se from "../Chip.vue.js";
9
+ import Vt from "../Card.vue.js";
10
+ import ze from "../Chip.vue.js";
9
11
  import V from "../InputField.vue.js";
10
- import q from "../ListBox/Listbox.vue.js";
11
- import ze from "../TextAreaV3.vue.js";
12
+ import Y from "../ListBox/Listbox.vue.js";
13
+ import Ve from "../TextAreaV3.vue.js";
12
14
  import B from "./ProcessStepInputCard.vue.js";
13
- import kt from "./RichOption.vue.js";
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
+ import It from "./RichOption.vue.js";
16
+ const Ft = { class: "dpi-project-process-step V3-typography" }, Ht = { class: "step-section" }, xt = { class: "step-section-actions" }, Bt = ["href"], Ct = { class: "step-section" }, $t = {
15
17
  key: 0,
16
18
  class: "functionalities-container"
17
- }, Bt = ["id", "value"], $t = { class: "step-section-actions" }, xt = { class: "step-section" }, Ut = { class: "step-section" }, At = {
19
+ }, Pt = ["id", "value"], Ut = { class: "step-section-actions" }, At = { class: "step-section" }, Dt = { class: "step-section step-section--lg" }, _t = { class: "step-section" }, Lt = {
18
20
  key: 0,
19
21
  class: "step-section-actions"
20
- }, Pt = { class: "step-section" }, Ct = {
22
+ }, Zt = { class: "step-section" }, Wt = {
21
23
  key: 0,
22
24
  class: "functionalities-container"
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 = {
25
+ }, Rt = ["id", "value"], Et = { class: "step-section step-section--lg" }, Nt = { style: { display: "flex", "justify-content": "flex-end" } }, Gt = { style: { display: "inline-flex", "justify-content": "flex-end" } }, Tt = { class: "step-section-actions" }, Mt = { class: "step-section" }, Ot = { class: "step-section-actions" }, jt = { class: "step-section" }, Kt = { class: "step-section-actions" }, qt = { class: "step-section" }, Qt = { class: "step-section-actions" }, Yt = { class: "step-section-actions" }, Jt = {
24
26
  key: 0,
25
27
  class: "button-row"
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({
28
+ }, Ie = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Fe = "Wählen Sie einen Zweck aus oder nennen Sie einen Zweck.", L = 500, bn = /* @__PURE__ */ gt({
27
29
  __name: "HardwareForm",
28
30
  props: /* @__PURE__ */ we({
29
31
  modelValue: {},
@@ -36,88 +38,90 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
36
38
  modelModifiers: {}
37
39
  }),
38
40
  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({
42
- lat: s.string().min(1, "Geben Sie einen Wert für die Breite ein"),
43
- lng: s.string().min(1, "Geben Sie einen Wert für die Länge ein")
44
- }), xe = s.array($e), Ue = s.object({
45
- name: s.string().min(1, "Geben Sie einen Namen ein").default(""),
46
- url: s.string().min(1, "Geben Sie eine URL ein").default(""),
47
- description: s.string().min(1, "Geben Sie eine Beschreibung ein").default("")
41
+ setup(J, { emit: He }) {
42
+ var oe, re, ae, ue, de, ce, pe, me, fe, he;
43
+ const m = J, Z = He, xe = wt(J, "modelValue"), H = !!m.modelValue, Be = i(m.modelValue) || "", Ce = o.object({
44
+ lat: o.string().min(1, "Geben Sie einen Wert für die Breite ein"),
45
+ lng: o.string().min(1, "Geben Sie einen Wert für die Länge ein")
46
+ }), $e = o.array(Ce), Pe = o.object({
47
+ name: o.string().min(1, "Geben Sie einen Namen ein").default(""),
48
+ url: o.string().min(1, "Geben Sie eine URL ein").default(""),
49
+ description: o.string().min(1, "Geben Sie eine Beschreibung ein").default("")
48
50
  });
49
- function Y(n) {
51
+ function X(n) {
50
52
  return Array.isArray(n) ? n : n != null ? [n] : [];
51
53
  }
52
- const Ae = s.object({
53
- id: s.string(),
54
- description: s.string().optional(),
55
- functionalities: s.array(s.string()).min(1),
56
- forProperty: s.array(s.string()),
57
- locations: xe,
58
- depictions: s.array(s.string()),
59
- references: s.array(Ue),
60
- isHostedBy: s.array(s.string()),
61
- hosts: s.array(s.string())
62
- }), Pe = [
63
- "Mast",
64
- "Ampel",
65
- "Verkehrsschild",
66
- "Gebäude",
67
- "Straßenbelag",
68
- "Brücke",
69
- "Bushaltestelle",
70
- "Dachfläche",
71
- "Straßenmobiliar",
72
- "Parkhaus",
73
- "Kanaldeckel",
74
- "Grünfläche",
54
+ const Ue = o.object({
55
+ id: o.string(),
56
+ description: o.string().optional(),
57
+ functionalities: o.array(o.string()).min(1),
58
+ forProperty: o.array(o.string()),
59
+ locations: $e,
60
+ depictions: o.array(o.string()),
61
+ references: o.array(Pe),
62
+ isHostedBy: o.array(o.string()),
63
+ hosts: o.array(o.string())
64
+ }), Ae = [
65
+ ...[
66
+ "Mast",
67
+ "Ampel",
68
+ "Verkehrsschild",
69
+ "Gebäude",
70
+ "Straßenbelag",
71
+ "Brücke",
72
+ "Bushaltestelle",
73
+ "Dachfläche",
74
+ "Straßenmobiliar",
75
+ "Parkhaus",
76
+ "Kanaldeckel",
77
+ "Grünfläche"
78
+ ].sort((n, t) => n.localeCompare(t)),
75
79
  "Sonstiges"
76
80
  ], {
77
- defineField: x,
78
- handleSubmit: Ce,
79
- resetForm: De,
81
+ defineField: C,
82
+ handleSubmit: De,
83
+ resetForm: _e,
80
84
  errors: c
81
- } = K({
82
- validationSchema: j(Ae),
85
+ } = Q({
86
+ validationSchema: q(Ue),
83
87
  initialValues: {
84
- id: p.modelValue || "",
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)
88
+ id: m.modelValue || "",
89
+ description: ((oe = m.initializeWith) == null ? void 0 : oe.description) || "",
90
+ functionalities: ((re = m.initializeWith) == null ? void 0 : re.functionalities) || [],
91
+ forProperty: ((ae = m.initializeWith) == null ? void 0 : ae.forProperty) || [],
92
+ locations: ((ue = m.initializeWith) == null ? void 0 : ue.locations) || [],
93
+ depictions: ((de = m.initializeWith) == null ? void 0 : de.depictions) || [],
94
+ references: ((ce = m.initializeWith) == null ? void 0 : ce.references) || [],
95
+ isHostedBy: X((pe = m.initializeWith) == null ? void 0 : pe.isHostedBy),
96
+ hosts: X((me = m.initializeWith) == null ? void 0 : me.hosts)
93
97
  },
94
98
  name: "hardwareForm"
95
- }), [I, Ze] = x("id"), [v, Le] = x("functionalities"), [h, _e] = x("forProperty"), [U, We] = x("description"), {
96
- remove: Re,
97
- push: Ee,
99
+ }), [I, Le] = C("id"), [b, Ze] = C("functionalities"), [h, We] = C("forProperty"), [$, Re] = C("description"), {
100
+ remove: Ee,
101
+ push: Ne,
98
102
  fields: Ge
99
- } = H("locations"), {
100
- remove: Ne,
101
- push: Te,
102
- fields: Me
103
- } = H("depictions"), {
104
- remove: Oe,
105
- push: je,
106
- fields: Ke
107
- } = H("references"), {
108
- remove: qe,
109
- push: Qe,
110
- fields: J
111
- } = H("isHostedBy"), {
112
- remove: Mt,
113
- push: Ot,
114
- fields: jt
115
- } = H("hosts");
116
- O(I, (n) => {
117
- He.value = n || "";
103
+ } = x("locations"), {
104
+ remove: Te,
105
+ push: Me,
106
+ fields: Oe
107
+ } = x("depictions"), {
108
+ remove: je,
109
+ push: Ke,
110
+ fields: qe
111
+ } = x("references"), {
112
+ remove: Qe,
113
+ push: Ye,
114
+ fields: ee
115
+ } = x("isHostedBy"), {
116
+ remove: Xt,
117
+ push: en,
118
+ fields: tn
119
+ } = x("hosts");
120
+ K(I, (n) => {
121
+ xe.value = n || "";
118
122
  }, { immediate: !0 });
119
- const L = ge(null);
120
- function Ye(n) {
123
+ const W = ke(null);
124
+ function Je(n) {
121
125
  const t = {
122
126
  id: String(n.id || ""),
123
127
  name: typeof n.name == "string" ? n.name : "",
@@ -128,80 +132,84 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
128
132
  version: n.version,
129
133
  unavailable: n.unavailable
130
134
  };
131
- L.value = t;
135
+ W.value = t;
132
136
  }
133
- const r = b(() => !!I.value), X = b(() => {
137
+ const u = g(() => !!I.value), te = g(() => {
134
138
  var n;
135
- return (((n = v.value) == null ? void 0 : n.length) ?? 0) > 0;
136
- }), Je = b(() => {
139
+ return (((n = b.value) == null ? void 0 : n.length) ?? 0) > 0;
140
+ }), R = g(() => {
137
141
  var n;
138
- return ((n = L.value) == null ? void 0 : n.functionalities) ?? [];
139
- }), Xe = b(() => {
142
+ return ((n = W.value) == null ? void 0 : n.functionalities) ?? [];
143
+ }), Xe = g(() => {
140
144
  var n;
141
- return ((n = L.value) == null ? void 0 : n.forProperty) ?? [];
142
- }), et = s.object({
143
- functionalitySelect: s.string().optional(),
144
- functionalityInput: s.string().optional()
145
+ return [...((n = W.value) == null ? void 0 : n.forProperty) || []].sort((t, e) => t.localeCompare(e)) ?? [];
146
+ }), et = o.object({
147
+ functionalitySelect: o.string().optional(),
148
+ functionalityInput: o.string().optional()
145
149
  }).superRefine((n, t) => {
146
150
  const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0, l = n.functionalityInput && n.functionalityInput.trim().length > 0;
147
151
  !e && !l && (t.addIssue({
148
- code: s.ZodIssueCode.custom,
149
- message: Ve,
152
+ code: o.ZodIssueCode.custom,
153
+ message: Ie,
150
154
  path: ["functionalitySelect"]
151
155
  }), t.addIssue({
152
- code: s.ZodIssueCode.custom,
153
- message: Ve,
156
+ code: o.ZodIssueCode.custom,
157
+ message: Ie,
154
158
  path: ["functionalityInput"]
155
159
  }));
156
160
  }), {
157
- defineField: ee,
161
+ defineField: ne,
158
162
  handleSubmit: tt,
159
- errors: _,
160
- resetForm: W
161
- } = K({
162
- validationSchema: j(et),
163
+ errors: E,
164
+ resetForm: N
165
+ } = Q({
166
+ validationSchema: q(et),
163
167
  initialValues: {
164
168
  functionalitySelect: "",
165
169
  functionalityInput: ""
166
170
  }
167
- }), nt = s.object({
168
- zweckSelect: s.string().optional(),
169
- zweckInput: s.string().optional()
171
+ }), nt = o.object({
172
+ zweckSelect: o.string().optional(),
173
+ zweckInput: o.string().optional()
170
174
  }).superRefine((n, t) => {
171
175
  const e = n.zweckSelect && n.zweckSelect.trim().length > 0, l = n.zweckInput && n.zweckInput.trim().length > 0;
172
176
  !e && !l && (t.addIssue({
173
- code: s.ZodIssueCode.custom,
174
- message: Ie,
177
+ code: o.ZodIssueCode.custom,
178
+ message: Fe,
175
179
  path: ["zweckSelect"]
176
180
  }), t.addIssue({
177
- code: s.ZodIssueCode.custom,
178
- message: Ie,
181
+ code: o.ZodIssueCode.custom,
182
+ message: Fe,
179
183
  path: ["zweckInput"]
180
184
  }));
181
185
  }), {
182
- defineField: te,
186
+ defineField: ie,
183
187
  handleSubmit: it,
184
- errors: R,
185
- resetForm: E
186
- } = K({
187
- validationSchema: j(nt),
188
+ errors: G,
189
+ resetForm: P
190
+ } = Q({
191
+ validationSchema: q(nt),
188
192
  initialValues: {
189
193
  zweckSelect: "",
190
194
  zweckInput: ""
191
195
  }
192
196
  });
193
- O(I, (n, t) => {
194
- !!t && !!n && n !== t && (W(), v.value = [], E(), h.value = []);
197
+ K(I, (n, t) => {
198
+ !!t && !!n && n !== t && (N(), b.value = [], P(), h.value = []);
195
199
  });
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));
197
- function at() {
200
+ const [U, lt] = ne("functionalitySelect"), [T, st] = ne("functionalityInput"), M = g(() => Array.from(b.value || [])), ot = g(() => {
201
+ var t, e;
202
+ const n = M.value.join(" ");
203
+ return (e = (t = R == null ? void 0 : R.value) == null ? void 0 : t.filter((l) => !n.includes(l))) == null ? void 0 : e.sort((l, r) => l.localeCompare(r));
204
+ }), [O, rt] = ie("zweckSelect"), [j, at] = ie("zweckInput"), A = g(() => h.value && h.value.length > 0), D = ke(!!((he = (fe = m.initializeWith) == null ? void 0 : fe.forProperty) != null && he.length));
205
+ function ut() {
198
206
  h.value = [];
199
207
  }
200
- const ie = Ce((n) => {
208
+ const le = De((n) => {
201
209
  const t = {
202
210
  id: n.id,
203
211
  description: n.description || "",
204
- functionalities: Array.from(v.value || []).filter(Boolean),
212
+ functionalities: Array.from(b.value || []).filter(Boolean),
205
213
  forProperty: (n.forProperty || []).filter(Boolean),
206
214
  locations: n.locations || [],
207
215
  depictions: (n.depictions || []).filter(Boolean),
@@ -213,19 +221,19 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
213
221
  isHostedBy: (n.isHostedBy || []).filter(Boolean),
214
222
  hosts: (n.hosts || []).filter(Boolean)
215
223
  };
216
- $ ? Z("patch", {
224
+ H ? Z("patch", {
217
225
  id: Be,
218
226
  hardware: t
219
- }) : Z("submit", t), W(), E(), De();
220
- }), le = tt((n) => {
227
+ }) : Z("submit", t), N(), P(), _e();
228
+ }), se = tt((n) => {
221
229
  var e, l;
222
230
  const t = n.functionalitySelect || n.functionalityInput;
223
- t && t.trim().length > 0 && !((e = v.value) != null && e.includes(t)) && ((l = v.value) == null || l.push(t)), W();
231
+ t && t.trim().length > 0 && !((e = b.value) != null && e.includes(t)) && ((l = b.value) == null || l.push(t)), N();
224
232
  });
225
- O(A, (n) => {
226
- n && n.trim().length > 0 && le();
233
+ K(U, (n) => {
234
+ n && n.trim().length > 0 && se();
227
235
  });
228
- function ut(n) {
236
+ function dt(n) {
229
237
  return [
230
238
  ...n,
231
239
  {
@@ -237,95 +245,102 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
237
245
  }
238
246
  ];
239
247
  }
240
- const dt = it((n) => {
248
+ const ct = it((n) => {
241
249
  var e, l;
242
250
  const t = n.zweckSelect || n.zweckInput;
243
- t && t.trim().length > 0 && !((e = h.value) != null && e.includes(t)) && ((l = h.value) == null || l.push(t)), E();
244
- }), ct = b(() => {
251
+ t && t.trim().length > 0 && !((e = h.value) != null && e.includes(t)) && ((l = h.value) == null || l.push(t)), P();
252
+ });
253
+ function pt() {
254
+ P(), D.value = !1;
255
+ }
256
+ const mt = g(() => {
245
257
  var n;
246
- return ((n = U.value) == null ? void 0 : n.length) || 0;
258
+ return ((n = $.value) == null ? void 0 : n.length) || 0;
247
259
  });
248
- function mt(n) {
260
+ function ft(n) {
249
261
  var t;
250
262
  return ((t = n.value.description) == null ? void 0 : t.length) ?? 0;
251
263
  }
252
- const { authToken: pt, username: ft } = wt(), ht = b(() => `https://form.typeform.com/to/ayL37uiV#token=${pt.value}&account=${ft.value}`);
253
- return (n, t) => (d(), m("div", yt, [
254
- o("section", St, [
255
- $ ? w("", !0) : (d(), m("h5", zt, "Wählen Sie eine bestehende Hardware")),
256
- u(gt, g({
264
+ const { authToken: ht, username: vt } = St(), bt = g(() => `https://form.typeform.com/to/ayL37uiV#token=${ht.value}&account=${vt.value}`);
265
+ return (n, t) => (d(), p("div", Ft, [
266
+ s("section", Ht, [
267
+ H ? w("", !0) : (d(), p(k, { key: 0 }, [
268
+ t[15] || (t[15] = s("h5", null, "Wählen Sie eine bestehende Hardware", -1)),
269
+ t[16] || (t[16] = s("p", null, " Falls die Hardware bereits angelegt wurde, können Sie sie hier auswählen. ", -1))
270
+ ], 64)),
271
+ a(zt, y({
257
272
  modelValue: i(I),
258
- "onUpdate:modelValue": t[0] || (t[0] = (e) => k(I) ? I.value = e : null),
259
- label: "Falls die Hardware bereits angelegt wurde, können Sie sie hier auswählen."
260
- }, i(Ze), {
273
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => S(I) ? I.value = e : null),
274
+ label: H ? "Hardware auswählen" : ""
275
+ }, i(Le), {
261
276
  "base-url": "https://twin.bydata.de/api/hub/search",
262
277
  resource: "hardware",
263
- placeholder: "Hardware...",
278
+ placeholder: "Wählen Sie eine Hardware.",
264
279
  name: "hardware",
265
280
  "setup-fn": (e) => {
266
- var l, a, C, he, ve, be;
281
+ var l, r, _, ve, be, ge;
267
282
  return {
268
283
  id: e == null ? void 0 : e.id,
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),
284
+ name: ((l = e == null ? void 0 : e.name) == null ? void 0 : l.de) || ((r = e == null ? void 0 : e.name) == null ? void 0 : r.en),
270
285
  functionalities: (e == null ? void 0 : e.functionalities) || [],
271
286
  forProperties: (e == null ? void 0 : e.measured_actuated_properties) || [],
272
- unavailable: p.exclude.includes(e == null ? void 0 : e.id),
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),
287
+ unavailable: m.exclude.includes(e == null ? void 0 : e.id),
288
+ manufacturer: (ve = (_ = e == null ? void 0 : e.manufacturer) == null ? void 0 : _[0]) == null ? void 0 : ve.label,
289
+ description: ((be = e == null ? void 0 : e.description) == null ? void 0 : be.de) || ((ge = e == null ? void 0 : e.description) == null ? void 0 : ge.en),
275
290
  version: e == null ? void 0 : e.version
276
291
  };
277
292
  },
278
- "post-process-fn": ut,
279
- onSelect: Ye
293
+ "post-process-fn": dt,
294
+ onSelect: Je
280
295
  }), {
281
- option: y(({ option: e, active: l, selected: a, disabled: C }) => [
282
- u(kt, {
296
+ option: v(({ option: e, active: l, selected: r, disabled: _ }) => [
297
+ a(It, {
283
298
  name: e.name,
284
299
  manufacturer: e.manufacturer,
285
300
  description: e.description,
286
301
  active: l,
287
- selected: a,
288
- disabled: C
302
+ selected: r,
303
+ disabled: _
289
304
  }, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
290
305
  ]),
291
306
  _: 1
292
- }, 16, ["modelValue", "setup-fn"]),
293
- $ ? w("", !0) : (d(), m(S, { key: 1 }, [
294
- t[15] || (t[15] = o("h5", null, "oder", -1)),
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)),
296
- o("div", Vt, [
297
- o("a", {
298
- href: ht.value,
307
+ }, 16, ["modelValue", "label", "setup-fn"]),
308
+ H ? w("", !0) : (d(), p(k, { key: 1 }, [
309
+ t[17] || (t[17] = s("h5", null, "oder", -1)),
310
+ t[18] || (t[18] = 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)),
311
+ s("div", xt, [
312
+ s("a", {
313
+ href: bt.value,
299
314
  target: "_blank"
300
315
  }, [
301
- u(f, {
316
+ a(f, {
302
317
  "button-text": "Zur Hardwarebeantragung",
303
318
  size: "medium",
304
319
  variant: "secondary"
305
320
  })
306
- ], 8, It)
321
+ ], 8, Bt)
307
322
  ])
308
323
  ], 64))
309
324
  ]),
310
- o("section", Ft, [
311
- t[17] || (t[17] = o("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
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)),
313
- ne.value.length > 0 ? (d(), m("div", Ht, [
314
- (d(!0), m(S, null, F(ne.value, (e, l) => (d(), m("div", {
325
+ s("section", Ct, [
326
+ t[19] || (t[19] = s("h5", null, "Wie haben Sie die Hardware verwendet?", -1)),
327
+ t[20] || (t[20] = 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)),
328
+ M.value.length > 0 ? (d(), p("div", $t, [
329
+ (d(!0), p(k, null, F(M.value, (e, l) => (d(), p("div", {
315
330
  key: l,
316
331
  class: "functionalities"
317
332
  }, [
318
- ke(o("input", g({
333
+ ye(s("input", y({
319
334
  id: e,
320
- "onUpdate:modelValue": t[1] || (t[1] = (a) => k(v) ? v.value = a : null),
335
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => S(b) ? b.value = r : null),
321
336
  hidden: "",
322
337
  value: e,
323
338
  name: "selectedFunctionalities",
324
339
  type: "checkbox"
325
- }, { ref_for: !0 }, i(Le)), null, 16, Bt), [
326
- [ye, i(v)]
340
+ }, { ref_for: !0 }, i(Ze)), null, 16, Pt), [
341
+ [Se, i(b)]
327
342
  ]),
328
- u(Se, {
343
+ a(ze, {
329
344
  as: "label",
330
345
  for: e,
331
346
  text: e,
@@ -341,109 +356,128 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
341
356
  }, null, 8, ["for", "text", "data"])
342
357
  ]))), 128))
343
358
  ])) : w("", !0),
344
- u(q, g({
345
- modelValue: i(A),
346
- "onUpdate:modelValue": t[2] || (t[2] = (e) => k(A) ? A.value = e : null),
347
- options: Je.value,
348
- "error-message": i(_).functionalitySelect,
359
+ a(Y, y({
360
+ modelValue: i(U),
361
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => S(U) ? U.value = e : null),
362
+ options: ot.value,
363
+ "error-message": i(E).functionalitySelect,
349
364
  label: "Funktionalitäten auswählen",
350
365
  placeholder: "Wählen Sie eine Funktionalität.",
351
- disabled: !r.value
366
+ disabled: !u.value
352
367
  }, i(lt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
353
- t[19] || (t[19] = o("h5", null, " oder ", -1)),
354
- u(V, g({
355
- modelValue: i(G),
356
- "onUpdate:modelValue": t[3] || (t[3] = (e) => k(G) ? G.value = e : null),
357
- error_message: i(_).functionalityInput,
358
- "show-error": !!i(_).functionalityInput,
368
+ t[21] || (t[21] = s("h5", null, " oder ", -1)),
369
+ a(V, y({
370
+ modelValue: i(T),
371
+ "onUpdate:modelValue": t[3] || (t[3] = (e) => S(T) ? T.value = e : null),
372
+ error_message: i(E).functionalityInput,
373
+ "show-error": !!i(E).functionalityInput,
359
374
  "add-on-text": !1,
360
375
  "date-picker": !1,
361
376
  "info-icon": !1,
362
377
  "show-end-icon": !1,
363
378
  "pre-icon": !1,
364
- "is-disabled": !r.value,
379
+ "is-disabled": !u.value,
365
380
  label: "Funktionalitäten nennen",
366
- placeholder: "Nennen Sie eine Funktionalität",
381
+ placeholder: "Nennen Sie eine Funktionalität.",
367
382
  "initial-hint-text": !1
368
- }, i(ot)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"]),
369
- o("div", $t, [
370
- u(f, {
383
+ }, i(st)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"]),
384
+ s("div", Ut, [
385
+ a(f, {
371
386
  "button-text": "Funktionalität hinzufügen",
372
387
  size: "medium",
373
388
  variant: "tertiary",
374
389
  "icon-start": "plus",
375
- disabled: !r.value,
376
- onClick: i(le)
390
+ disabled: !u.value,
391
+ onClick: i(se)
377
392
  }, null, 8, ["disabled", "onClick"])
378
393
  ])
379
394
  ]),
380
- o("section", xt, [
381
- t[20] || (t[20] = o("h5", null, "Beschreibung der Nutzung (optional)", -1)),
382
- t[21] || (t[21] = o("p", null, "Beschreiben Sie die ausgewählte Hardware.", -1)),
383
- u(ze, g({
384
- modelValue: i(U),
385
- "onUpdate:modelValue": t[4] || (t[4] = (e) => k(U) ? U.value = e : null),
386
- label: "Beschreibung",
387
- placeholder: "Beschreiben Sie die Hardware",
388
- "is-disabled": !r.value
389
- }, i(We), {
390
- max: D,
391
- validation: "required|length:0,500",
392
- hint: "true",
393
- "hint-message": `${ct.value} von ${D} Zeichen`,
394
- "count-hint": !0
395
- }), null, 16, ["modelValue", "is-disabled", "hint-message"])
395
+ s("section", At, [
396
+ t[24] || (t[24] = s("h5", null, "Beschreibung der Nutzung (optional)", -1)),
397
+ s("div", Dt, [
398
+ a(Ve, y({
399
+ modelValue: i($),
400
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => S($) ? $.value = e : null),
401
+ label: "",
402
+ placeholder: "Beschreiben Sie in ein paar Sätzen, wie Sie die Hardware eingesetzt haben.",
403
+ "is-disabled": !u.value
404
+ }, i(Re), {
405
+ max: L,
406
+ validation: "required|length:0,500",
407
+ hint: "true",
408
+ "hint-message": `${mt.value} von ${L} Zeichen`,
409
+ "count-hint": !0
410
+ }), null, 16, ["modelValue", "is-disabled", "hint-message"]),
411
+ a(Vt, { variant: "default" }, {
412
+ icon: v(() => [
413
+ a(i(yt), {
414
+ size: 32,
415
+ color: "#009fe3"
416
+ })
417
+ ]),
418
+ title: v(() => t[22] || (t[22] = [
419
+ kt(" Beispiel ", -1)
420
+ ])),
421
+ default: v(() => [
422
+ t[23] || (t[23] = s("div", { class: "copy-large-regular" }, [
423
+ s("p", null, " Der eingesetzte Pegelstandssensor misst kontinuierlich den Wasserstand der Elbe und überträgt die Daten für Prognoseberechnungen an das digitale Modell. ")
424
+ ], -1))
425
+ ]),
426
+ _: 1,
427
+ __: [23]
428
+ })
429
+ ])
396
430
  ]),
397
- o("section", Ut, [
398
- t[22] || (t[22] = o("h5", null, "Host-Plattform (optional)", -1)),
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)),
400
- (d(!0), m(S, null, F(i(J), (e, l) => (d(), z(B, {
431
+ s("section", _t, [
432
+ t[25] || (t[25] = s("h5", null, "Host-Plattform (optional)", -1)),
433
+ t[26] || (t[26] = 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)),
434
+ (d(!0), p(k, null, F(i(ee), (e, l) => (d(), z(B, {
401
435
  key: e.key,
402
- onDelete: (a) => i(qe)(l)
436
+ onDelete: (r) => i(Qe)(l)
403
437
  }, {
404
- default: y(() => [
405
- u(q, {
438
+ default: v(() => [
439
+ a(Y, {
406
440
  modelValue: e.value,
407
- "onUpdate:modelValue": (a) => e.value = a,
408
- options: Pe,
441
+ "onUpdate:modelValue": (r) => e.value = r,
442
+ options: Ae,
409
443
  label: "Host-Plattform",
410
444
  placeholder: "Wählen Sie eine Host-Plattform.",
411
- disabled: !r.value
445
+ disabled: !u.value
412
446
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
413
447
  ]),
414
448
  _: 2
415
449
  }, 1032, ["onDelete"]))), 128)),
416
- i(J).length === 0 ? (d(), m("div", At, [
417
- u(f, {
450
+ i(ee).length === 0 ? (d(), p("div", Lt, [
451
+ a(f, {
418
452
  "button-text": "Host-Plattform hinzufügen",
419
453
  size: "medium",
420
454
  variant: "tertiary",
421
455
  "icon-start": "plus",
422
- disabled: !r.value,
423
- onClick: t[5] || (t[5] = (e) => r.value && i(Qe)(""))
456
+ disabled: !u.value,
457
+ onClick: t[5] || (t[5] = (e) => u.value && i(Ye)(""))
424
458
  }, null, 8, ["disabled"])
425
459
  ])) : w("", !0)
426
460
  ]),
427
461
  w("", !0),
428
- o("section", Pt, [
429
- t[27] || (t[27] = o("h5", null, "Zweck (optional)", -1)),
430
- t[28] || (t[28] = o("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
431
- P.value ? (d(), m("div", Ct, [
432
- (d(!0), m(S, null, F(i(h), (e, l) => (d(), m("div", {
462
+ s("section", Zt, [
463
+ t[30] || (t[30] = s("h5", null, "Zweck (optional)", -1)),
464
+ t[31] || (t[31] = s("p", null, "Geben Sie hier an, welches Mess- oder Überwachungsziel die von Ihnen verwendete Hardware verfolgt.", -1)),
465
+ A.value ? (d(), p("div", Wt, [
466
+ (d(!0), p(k, null, F(i(h), (e, l) => (d(), p("div", {
433
467
  key: `zweck-${l}`,
434
468
  class: "functionalities"
435
469
  }, [
436
- ke(o("input", g({
470
+ ye(s("input", y({
437
471
  id: `zweck-${e}`,
438
- "onUpdate:modelValue": t[7] || (t[7] = (a) => k(h) ? h.value = a : null),
472
+ "onUpdate:modelValue": t[7] || (t[7] = (r) => S(h) ? h.value = r : null),
439
473
  hidden: "",
440
474
  value: e,
441
475
  name: "selectedForProperties",
442
476
  type: "checkbox"
443
- }, { ref_for: !0 }, i(_e)), null, 16, Dt), [
444
- [ye, i(h)]
477
+ }, { ref_for: !0 }, i(We)), null, 16, Rt), [
478
+ [Se, i(h)]
445
479
  ]),
446
- u(Se, {
480
+ a(ze, {
447
481
  as: "label",
448
482
  for: `zweck-${e}`,
449
483
  text: e,
@@ -459,94 +493,107 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
459
493
  }, null, 8, ["for", "text", "data"])
460
494
  ]))), 128))
461
495
  ])) : w("", !0),
462
- M.value && !P.value ? (d(), z(B, {
496
+ D.value && !A.value ? (d(), z(B, {
463
497
  key: 1,
464
- onDelete: at
498
+ onDelete: ut
465
499
  }, {
466
- actions: y(() => [
467
- u(f, {
468
- "button-text": "Zweck hinzufügen",
469
- size: "medium",
470
- variant: "tertiary",
471
- "icon-start": "plus",
472
- disabled: !r.value,
473
- onClick: i(dt)
474
- }, null, 8, ["disabled", "onClick"])
500
+ actions: v(() => [
501
+ s("div", Et, [
502
+ s("div", Nt, [
503
+ a(f, {
504
+ "button-text": "Zweck hinzufügen",
505
+ size: "medium",
506
+ variant: "tertiary",
507
+ "icon-start": "plus",
508
+ disabled: !u.value,
509
+ onClick: i(ct)
510
+ }, null, 8, ["disabled", "onClick"])
511
+ ]),
512
+ s("div", Gt, [
513
+ a(f, {
514
+ "button-text": "Löschen",
515
+ size: "medium",
516
+ variant: "tertiary",
517
+ "icon-start": "trash",
518
+ onClick: pt
519
+ })
520
+ ])
521
+ ])
475
522
  ]),
476
- default: y(() => [
477
- u(q, g({
478
- modelValue: i(N),
479
- "onUpdate:modelValue": t[8] || (t[8] = (e) => k(N) ? N.value = e : null),
523
+ default: v(() => [
524
+ a(Y, y({
525
+ modelValue: i(O),
526
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => S(O) ? O.value = e : null),
480
527
  options: Xe.value,
481
- "error-message": i(R).zweckSelect,
528
+ "error-message": i(G).zweckSelect,
482
529
  label: "Zweck auswählen",
483
530
  placeholder: "Wählen Sie einen Zweck.",
484
- disabled: !r.value || P.value
485
- }, i(st)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
486
- t[26] || (t[26] = o("h5", null, "oder", -1)),
487
- u(V, g({
488
- modelValue: i(T),
489
- "onUpdate:modelValue": t[9] || (t[9] = (e) => k(T) ? T.value = e : null),
490
- error_message: i(R).zweckInput,
491
- "show-error": !!i(R).zweckInput,
531
+ disabled: !u.value || A.value
532
+ }, i(rt)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
533
+ t[29] || (t[29] = s("h5", null, "oder", -1)),
534
+ a(V, y({
535
+ modelValue: i(j),
536
+ "onUpdate:modelValue": t[9] || (t[9] = (e) => S(j) ? j.value = e : null),
537
+ error_message: i(G).zweckInput,
538
+ "show-error": !!i(G).zweckInput,
492
539
  "add-on-text": !1,
493
540
  "date-picker": !1,
494
541
  "info-icon": !1,
495
542
  "show-end-icon": !1,
496
543
  "pre-icon": !1,
497
- "is-disabled": !r.value || P.value,
544
+ "is-disabled": !u.value || A.value,
498
545
  label: "Zweck nennen",
499
- placeholder: "Nennen Sie einen Zweck",
546
+ placeholder: "Nennen Sie einen Zweck.",
500
547
  "initial-hint-text": !1
501
- }, i(rt)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"])
548
+ }, i(at)), null, 16, ["modelValue", "error_message", "show-error", "is-disabled"])
502
549
  ]),
503
550
  _: 1,
504
- __: [26]
551
+ __: [29]
505
552
  })) : w("", !0),
506
- o("div", Zt, [
507
- M.value ? w("", !0) : (d(), z(f, {
553
+ s("div", Tt, [
554
+ D.value ? w("", !0) : (d(), z(f, {
508
555
  key: 0,
509
556
  "button-text": "Zweck hinzufügen",
510
557
  size: "medium",
511
558
  variant: "tertiary",
512
559
  "icon-start": "plus",
513
- disabled: !r.value,
514
- onClick: t[10] || (t[10] = (e) => r.value && (M.value = !0))
560
+ disabled: !u.value,
561
+ onClick: t[10] || (t[10] = (e) => u.value && (D.value = !0))
515
562
  }, null, 8, ["disabled"]))
516
563
  ])
517
564
  ]),
518
- o("section", Lt, [
519
- t[29] || (t[29] = o("h5", null, "Standort (optional)", -1)),
520
- t[30] || (t[30] = o("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
521
- (d(!0), m(S, null, F(i(Ge), (e, l) => (d(), z(B, {
565
+ s("section", Mt, [
566
+ t[32] || (t[32] = s("h5", null, "Standort (optional)", -1)),
567
+ t[33] || (t[33] = s("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
568
+ (d(!0), p(k, null, F(i(Ge), (e, l) => (d(), z(B, {
522
569
  key: e.key,
523
- onDelete: (a) => i(Re)(l)
570
+ onDelete: (r) => i(Ee)(l)
524
571
  }, {
525
- default: y(() => [
526
- u(V, {
572
+ default: v(() => [
573
+ a(V, {
527
574
  modelValue: e.value.lat,
528
- "onUpdate:modelValue": (a) => e.value.lat = a,
575
+ "onUpdate:modelValue": (r) => e.value.lat = r,
529
576
  "add-on-text": !1,
530
577
  "date-picker": !1,
531
578
  "info-icon": !1,
532
579
  "show-end-icon": !1,
533
580
  "pre-icon": !1,
534
- "is-disabled": !r.value,
581
+ "is-disabled": !u.value,
535
582
  "initial-hint-text": !!i(c)[`locations[${l}].lat`],
536
583
  label: "Latitude / Breite",
537
584
  placeholder: "Geben Sie die Ortskoordinate Latitude an.",
538
585
  "show-error": !!i(c)[`locations[${l}].lat`],
539
586
  error_message: i(c)[`locations[${l}].lat`]
540
587
  }, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "initial-hint-text", "show-error", "error_message"]),
541
- u(V, {
588
+ a(V, {
542
589
  modelValue: e.value.lng,
543
- "onUpdate:modelValue": (a) => e.value.lng = a,
590
+ "onUpdate:modelValue": (r) => e.value.lng = r,
544
591
  "add-on-text": !1,
545
592
  "date-picker": !1,
546
593
  "info-icon": !1,
547
594
  "show-end-icon": !1,
548
595
  "pre-icon": !1,
549
- "is-disabled": !r.value,
596
+ "is-disabled": !u.value,
550
597
  label: "Longitude / Länge",
551
598
  "initial-hint-text": !!i(c)[`locations[${l}].lng`],
552
599
  placeholder: "Geben Sie die Ortskoordinate Longitude an.",
@@ -556,34 +603,34 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
556
603
  ]),
557
604
  _: 2
558
605
  }, 1032, ["onDelete"]))), 128)),
559
- o("div", _t, [
560
- u(f, {
561
- "button-text": "Hinzufügen",
606
+ s("div", Ot, [
607
+ a(f, {
608
+ "button-text": "Standort hinzufügen",
562
609
  size: "medium",
563
610
  variant: "tertiary",
564
611
  "icon-start": "plus",
565
- disabled: !r.value,
566
- onClick: t[11] || (t[11] = (e) => r.value && i(Ee)({ lat: "", lng: "" }))
612
+ disabled: !u.value,
613
+ onClick: t[11] || (t[11] = (e) => u.value && i(Ne)({ lat: "", lng: "" }))
567
614
  }, null, 8, ["disabled"])
568
615
  ])
569
616
  ]),
570
- o("section", Wt, [
571
- t[31] || (t[31] = o("h5", null, "Darstellungen (optional)", -1)),
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)),
573
- (d(!0), m(S, null, F(i(Me), (e, l) => (d(), z(B, {
617
+ s("section", jt, [
618
+ t[34] || (t[34] = s("h5", null, "Darstellungen (optional)", -1)),
619
+ t[35] || (t[35] = s("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
620
+ (d(!0), p(k, null, F(i(Oe), (e, l) => (d(), z(B, {
574
621
  key: e.key,
575
- onDelete: (a) => i(Ne)(l)
622
+ onDelete: (r) => i(Te)(l)
576
623
  }, {
577
- default: y(() => [
578
- u(V, {
624
+ default: v(() => [
625
+ a(V, {
579
626
  modelValue: e.value,
580
- "onUpdate:modelValue": (a) => e.value = a,
627
+ "onUpdate:modelValue": (r) => e.value = r,
581
628
  "add-on-text": !1,
582
629
  "date-picker": !1,
583
630
  "info-icon": !1,
584
631
  "show-end-icon": !1,
585
632
  "pre-icon": !1,
586
- "is-disabled": !r.value,
633
+ "is-disabled": !u.value,
587
634
  "input-type": "url",
588
635
  label: "URL",
589
636
  placeholder: "https://www.url.com",
@@ -592,49 +639,49 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
592
639
  ]),
593
640
  _: 2
594
641
  }, 1032, ["onDelete"]))), 128)),
595
- o("div", Rt, [
596
- u(f, {
642
+ s("div", Kt, [
643
+ a(f, {
597
644
  "button-text": "Darstellung hinzufügen",
598
645
  size: "medium",
599
646
  variant: "tertiary",
600
647
  "icon-start": "plus",
601
- disabled: !r.value,
602
- onClick: t[12] || (t[12] = (e) => r.value && i(Te)(""))
648
+ disabled: !u.value,
649
+ onClick: t[12] || (t[12] = (e) => u.value && i(Me)(""))
603
650
  }, null, 8, ["disabled"])
604
651
  ])
605
652
  ]),
606
- o("section", Et, [
607
- t[33] || (t[33] = o("h5", null, "Weiterführende Links (optional)", -1)),
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)),
609
- (d(!0), m(S, null, F(i(Ke), (e, l) => (d(), z(B, {
653
+ s("section", qt, [
654
+ t[36] || (t[36] = s("h5", null, "Weiterführende Links (optional)", -1)),
655
+ t[37] || (t[37] = s("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
656
+ (d(!0), p(k, null, F(i(qe), (e, l) => (d(), z(B, {
610
657
  key: e.key,
611
- onDelete: (a) => i(Oe)(l)
658
+ onDelete: (r) => i(je)(l)
612
659
  }, {
613
- default: y(() => [
614
- u(V, {
660
+ default: v(() => [
661
+ a(V, {
615
662
  modelValue: e.value.name,
616
- "onUpdate:modelValue": (a) => e.value.name = a,
663
+ "onUpdate:modelValue": (r) => e.value.name = r,
617
664
  "add-on-text": !1,
618
665
  "date-picker": !1,
619
666
  "info-icon": !1,
620
667
  "show-end-icon": !1,
621
668
  "pre-icon": !1,
622
- "is-disabled": !r.value,
669
+ "is-disabled": !u.value,
623
670
  label: "Name",
624
671
  placeholder: "Benennen Sie den Link.",
625
672
  error_message: i(c)[`references[${l}].name`],
626
673
  "show-error": !!i(c)[`references[${l}].name`],
627
674
  "initial-hint-text": !!i(c)[`references[${l}].name`]
628
675
  }, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
629
- u(V, {
676
+ a(V, {
630
677
  modelValue: e.value.url,
631
- "onUpdate:modelValue": (a) => e.value.url = a,
678
+ "onUpdate:modelValue": (r) => e.value.url = r,
632
679
  "add-on-text": !1,
633
680
  "date-picker": !1,
634
681
  "info-icon": !1,
635
682
  "show-end-icon": !1,
636
683
  "pre-icon": !1,
637
- "is-disabled": !r.value,
684
+ "is-disabled": !u.value,
638
685
  "input-type": "url",
639
686
  label: "URL",
640
687
  placeholder: "https://www.url.com",
@@ -642,58 +689,58 @@ const yt = { class: "dpi-project-process-step V3-typography" }, St = { class: "s
642
689
  "show-error": !!i(c)[`references[${l}].url`],
643
690
  "initial-hint-text": !!i(c)[`references[${l}].url`]
644
691
  }, null, 8, ["modelValue", "onUpdate:modelValue", "is-disabled", "error_message", "show-error", "initial-hint-text"]),
645
- u(ze, {
692
+ a(Ve, {
646
693
  modelValue: e.value.description,
647
- "onUpdate:modelValue": (a) => e.value.description = a,
694
+ "onUpdate:modelValue": (r) => e.value.description = r,
648
695
  label: "Beschreibung",
649
696
  placeholder: "Beschreiben Sie Ihren weiterführenden Link in ein paar Sätzen.",
650
697
  error_message: i(c)[`references[${l}].description`],
651
698
  "show-error": !!i(c)[`references[${l}].description`],
652
699
  "initial-hint-text": !!i(c)[`references[${l}].description`],
653
- "is-disabled": !r.value,
654
- max: D,
700
+ "is-disabled": !u.value,
701
+ max: L,
655
702
  validation: "required|length:0,500",
656
703
  hint: "true",
657
- "hint-message": `${mt(e)} von ${D} Zeichen`,
704
+ "hint-message": `${ft(e)} von ${L} Zeichen`,
658
705
  "count-hint": !0
659
706
  }, null, 8, ["modelValue", "onUpdate:modelValue", "error_message", "show-error", "initial-hint-text", "is-disabled", "hint-message"])
660
707
  ]),
661
708
  _: 2
662
709
  }, 1032, ["onDelete"]))), 128)),
663
- o("div", Gt, [
664
- u(f, {
710
+ s("div", Qt, [
711
+ a(f, {
665
712
  "button-text": "Link hinzufügen",
666
713
  size: "medium",
667
714
  variant: "tertiary",
668
715
  "icon-start": "plus",
669
- disabled: !r.value,
670
- onClick: t[13] || (t[13] = (e) => r.value && i(je)({ name: "", url: "", description: "" }))
716
+ disabled: !u.value,
717
+ onClick: t[13] || (t[13] = (e) => u.value && i(Ke)({ name: "", url: "", description: "" }))
671
718
  }, null, 8, ["disabled"])
672
719
  ])
673
720
  ]),
674
- o("section", Nt, [
675
- $ ? (d(), m("div", Tt, [
676
- u(f, {
721
+ s("section", Yt, [
722
+ H ? (d(), p("div", Jt, [
723
+ a(f, {
677
724
  "button-text": "Abbrechen",
678
725
  variant: "tertiary",
679
726
  onClick: t[14] || (t[14] = (e) => Z("close"))
680
727
  }),
681
- u(f, {
728
+ a(f, {
682
729
  "button-text": "Speichern",
683
- disabled: !r.value || !X.value,
684
- onClick: i(ie)
730
+ disabled: !u.value || !te.value,
731
+ onClick: i(le)
685
732
  }, null, 8, ["disabled", "onClick"])
686
733
  ])) : (d(), z(f, {
687
734
  key: 1,
688
735
  "icon-start": "PlusSquare",
689
736
  "button-text": "Hardware hinzufügen",
690
- disabled: !r.value || !X.value,
691
- onClick: i(ie)
737
+ disabled: !u.value || !te.value,
738
+ onClick: i(le)
692
739
  }, null, 8, ["disabled", "onClick"]))
693
740
  ])
694
741
  ]));
695
742
  }
696
743
  });
697
744
  export {
698
- rn as default
745
+ bn as default
699
746
  };