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