@piveau/dpi 0.2.0-alpha.40 → 0.2.0-alpha.41
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/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +84 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +30 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +18 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListboxVeeValidate.vue.js +16 -11
- 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 +113 -105
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue2.js +45 -49
- 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 +103 -103
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue.js +30 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +68 -67
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +24 -26
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +15 -19
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +13 -18
- package/dist/packages/dpi/src/utils/twinbyUtils.js +28 -4
- package/package.json +1 -1
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import { PhLightbulb as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { defineComponent as j, ref as h, computed as D, createElementBlock as f, openBlock as u, createElementVNode as t, createVNode as i, unref as l, withCtx as r, Fragment as k, renderList as y, createBlock as V, createTextVNode as L, createCommentVNode as U, withDirectives as E, vModelCheckbox as $ } from "vue";
|
|
2
|
+
import { FormKit as s } from "@formkit/vue";
|
|
3
|
+
import { PhLightbulb as A } from "@phosphor-icons/vue";
|
|
4
|
+
import N from "../../../../stories/components/LinkCard.vue.js";
|
|
5
|
+
import G from "../../../../stories/components/PartnerCard.vue.js";
|
|
6
|
+
import K from "../../../../stories/components/ScreenshotCard.vue.js";
|
|
7
|
+
import T from "../../../components/StepActionsSection.vue.js";
|
|
8
8
|
import g from "../ButtonV3.vue.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import W from "../Card.vue.js";
|
|
10
|
+
import M from "../Chip.vue.js";
|
|
11
|
+
import Z from "../InputField.vue.js";
|
|
12
12
|
import S from "../InputField/InputFieldDefinition.js";
|
|
13
13
|
import R from "../TextArea/TextAreaDefinition.js";
|
|
14
|
-
const
|
|
14
|
+
const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
15
15
|
id: "partners-section",
|
|
16
16
|
class: "funny-section"
|
|
17
|
-
},
|
|
17
|
+
}, H = { class: "partner-cards-container" }, J = { class: "action-container" }, Q = { class: "funny-section" }, X = { class: "start-and-end" }, Y = { class: "funny-section" }, ee = { class: "budget-field" }, te = { class: "funny-section required-skills" }, ne = {
|
|
18
18
|
key: 0,
|
|
19
19
|
style: { display: "flex", "flex-wrap": "wrap" }
|
|
20
|
-
},
|
|
20
|
+
}, ie = ["id", "value"], le = ["for"], ae = { class: "action-container" }, re = {
|
|
21
21
|
id: "partners-section",
|
|
22
22
|
class: "funny-section"
|
|
23
|
-
},
|
|
23
|
+
}, se = { class: "partner-cards-container" }, oe = { class: "action-container" }, ue = {
|
|
24
24
|
id: "partners-section",
|
|
25
25
|
class: "funny-section"
|
|
26
|
-
},
|
|
26
|
+
}, de = { class: "partner-cards-container" }, me = { class: "action-container" }, pe = 500, _e = /* @__PURE__ */ j({
|
|
27
27
|
__name: "OptionalDataStep",
|
|
28
|
-
setup(
|
|
29
|
-
const x = h(""), C = h([]), w = h([]), _ = h([]), P =
|
|
30
|
-
var
|
|
31
|
-
return ((
|
|
32
|
-
}),
|
|
33
|
-
function I(
|
|
34
|
-
if (
|
|
35
|
-
const e =
|
|
36
|
-
|
|
28
|
+
setup(ce) {
|
|
29
|
+
const x = h(""), C = h([]), w = h([]), _ = h([]), P = D(() => {
|
|
30
|
+
var a;
|
|
31
|
+
return ((a = x.value) == null ? void 0 : a.length) || 0;
|
|
32
|
+
}), b = h(""), d = h([]);
|
|
33
|
+
function I(a) {
|
|
34
|
+
if (a && a.trim()) {
|
|
35
|
+
const e = a.trim();
|
|
36
|
+
d.value.includes(e) || d.value.push(e), b.value = "";
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
const z = h("");
|
|
40
|
-
|
|
40
|
+
function B(a) {
|
|
41
|
+
return a._value === null || a._value === void 0 ? !0 : typeof a._value != "string" ? !1 : /^\d*$/.test(a._value);
|
|
42
|
+
}
|
|
43
|
+
return (a, e) => (u(), f("div", q, [
|
|
41
44
|
e[24] || (e[24] = t("section", { class: "funny-section" }, [
|
|
42
45
|
t("div", { class: "funny-flex" }, [
|
|
43
46
|
t("h4", null, "Fügen Sie optionale Daten hinzu"),
|
|
44
47
|
t("span", { class: "copy-large-regular" }, " Zusätzliche Informationen, wie etwa zur Laufzeit oder zum Budgetrahmen Ihres Projekts, können für andere Kommunen hilfreich sein. ")
|
|
45
48
|
])
|
|
46
49
|
], -1)),
|
|
47
|
-
t("section",
|
|
50
|
+
t("section", O, [
|
|
48
51
|
e[9] || (e[9] = t("h5", null, " Partner ", -1)),
|
|
49
52
|
e[10] || (e[10] = t("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
|
|
50
|
-
t("div",
|
|
51
|
-
i(l(
|
|
53
|
+
t("div", H, [
|
|
54
|
+
i(l(s), {
|
|
52
55
|
modelValue: C.value,
|
|
53
56
|
"onUpdate:modelValue": e[0] || (e[0] = (n) => C.value = n),
|
|
54
57
|
type: "list",
|
|
55
58
|
name: "partners",
|
|
56
59
|
dynamic: ""
|
|
57
60
|
}, {
|
|
58
|
-
default:
|
|
59
|
-
(
|
|
60
|
-
key:
|
|
61
|
+
default: r(({ items: n, node: o, value: m }) => [
|
|
62
|
+
(u(!0), f(k, null, y(n, (p, c) => (u(), V(l(s), {
|
|
63
|
+
key: p,
|
|
61
64
|
type: "group",
|
|
62
|
-
index:
|
|
65
|
+
index: c
|
|
63
66
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
i(
|
|
66
|
-
action:
|
|
67
|
+
default: r(() => [
|
|
68
|
+
i(G, null, {
|
|
69
|
+
action: r(() => [
|
|
67
70
|
i(g, {
|
|
68
71
|
"button-text": "Löschen",
|
|
69
72
|
size: "small",
|
|
70
73
|
variant: "tertiary",
|
|
71
74
|
"icon-start": "trash",
|
|
72
|
-
onClick: () =>
|
|
75
|
+
onClick: () => o.input(m.filter((F, v) => v !== c))
|
|
73
76
|
}, null, 8, ["onClick"])
|
|
74
77
|
]),
|
|
75
78
|
_: 2
|
|
@@ -77,13 +80,13 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
77
80
|
]),
|
|
78
81
|
_: 2
|
|
79
82
|
}, 1032, ["index"]))), 128)),
|
|
80
|
-
t("div",
|
|
83
|
+
t("div", J, [
|
|
81
84
|
i(g, {
|
|
82
85
|
"button-text": "Partner hinzufügen",
|
|
83
86
|
size: "medium",
|
|
84
87
|
variant: "tertiary",
|
|
85
88
|
"icon-start": "plus",
|
|
86
|
-
onClick: (
|
|
89
|
+
onClick: (p) => o.input(m.concat({}))
|
|
87
90
|
}, null, 8, ["onClick"])
|
|
88
91
|
])
|
|
89
92
|
]),
|
|
@@ -91,11 +94,11 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
91
94
|
}, 8, ["modelValue"])
|
|
92
95
|
])
|
|
93
96
|
]),
|
|
94
|
-
t("section",
|
|
97
|
+
t("section", Q, [
|
|
95
98
|
e[11] || (e[11] = t("h5", null, " Projektzeitraum ", -1)),
|
|
96
99
|
e[12] || (e[12] = t("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
|
|
97
|
-
t("div",
|
|
98
|
-
i(l(
|
|
100
|
+
t("div", X, [
|
|
101
|
+
i(l(s), {
|
|
99
102
|
type: l(S),
|
|
100
103
|
name: "startDate",
|
|
101
104
|
"text-label": "Startdatum",
|
|
@@ -108,7 +111,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
108
111
|
"show-end-icon": !1,
|
|
109
112
|
"initial-hint-text": !1
|
|
110
113
|
}, null, 8, ["type"]),
|
|
111
|
-
i(l(
|
|
114
|
+
i(l(s), {
|
|
112
115
|
type: l(S),
|
|
113
116
|
name: "endDate",
|
|
114
117
|
"text-label": "Enddatum",
|
|
@@ -123,31 +126,36 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
123
126
|
}, null, 8, ["type"])
|
|
124
127
|
])
|
|
125
128
|
]),
|
|
126
|
-
t("section",
|
|
129
|
+
t("section", Y, [
|
|
127
130
|
e[16] || (e[16] = t("h5", null, "Budget", -1)),
|
|
128
131
|
e[17] || (e[17] = t("div", { class: "budget" }, [
|
|
129
132
|
t("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
|
|
130
133
|
], -1)),
|
|
131
|
-
t("div",
|
|
132
|
-
i(l(
|
|
134
|
+
t("div", ee, [
|
|
135
|
+
i(l(s), {
|
|
133
136
|
modelValue: z.value,
|
|
134
137
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => z.value = n),
|
|
135
|
-
type: l(S),
|
|
136
138
|
name: "budget",
|
|
139
|
+
number: "",
|
|
137
140
|
"trailing-text": !0,
|
|
138
141
|
trailing_text: "€",
|
|
139
|
-
|
|
142
|
+
"class-list": "budget-field-input",
|
|
140
143
|
"text-label": "Budget",
|
|
141
144
|
placeholder: "....",
|
|
142
|
-
|
|
143
|
-
validation:
|
|
145
|
+
"input-style": { paddingRight: "50px" },
|
|
146
|
+
"validation-rules": { numeric: B },
|
|
147
|
+
validation: "numeric",
|
|
144
148
|
"validation-visibility": "submit",
|
|
145
149
|
inputmode: "numeric",
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
type: l(S),
|
|
151
|
+
pattern: "[0-9]*",
|
|
152
|
+
"validation-messages": {
|
|
153
|
+
numeric: "Budget muss eine Zahl sein, ohne Sonderzeichen."
|
|
154
|
+
}
|
|
155
|
+
}, null, 8, ["modelValue", "validation-rules", "type"]),
|
|
148
156
|
e[13] || (e[13] = t("div", { class: "euro-icon" }, " € ", -1))
|
|
149
157
|
]),
|
|
150
|
-
i(l(
|
|
158
|
+
i(l(s), {
|
|
151
159
|
id: "Förderung",
|
|
152
160
|
modelValue: x.value,
|
|
153
161
|
"onUpdate:modelValue": e[2] || (e[2] = (n) => x.value = n),
|
|
@@ -161,20 +169,20 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
161
169
|
validation: "length:0,500",
|
|
162
170
|
"validation-visibility": "live",
|
|
163
171
|
hint: "true",
|
|
164
|
-
help: `${P.value} von ${
|
|
172
|
+
help: `${P.value} von ${pe} Zeichen`,
|
|
165
173
|
"count-hint": !0
|
|
166
174
|
}, null, 8, ["modelValue", "type", "disabled", "help"]),
|
|
167
|
-
i(
|
|
168
|
-
icon:
|
|
169
|
-
i(l(
|
|
175
|
+
i(W, { variant: "default" }, {
|
|
176
|
+
icon: r(() => [
|
|
177
|
+
i(l(A), {
|
|
170
178
|
size: 32,
|
|
171
179
|
color: "#009fe3"
|
|
172
180
|
})
|
|
173
181
|
]),
|
|
174
|
-
title:
|
|
175
|
-
|
|
182
|
+
title: r(() => e[14] || (e[14] = [
|
|
183
|
+
L(" Information ", -1)
|
|
176
184
|
])),
|
|
177
|
-
default:
|
|
185
|
+
default: r(() => [
|
|
178
186
|
e[15] || (e[15] = t("div", { class: "copy-large-regular" }, [
|
|
179
187
|
t("p", null, "Ihre Angabe zum Gesamtbudget hilft anderen Kommunen, den Umfang Ihres Projekts besser einzuschätzen. Sie können hier auch einen Schätzwert eingeben, falls das Projekt z.B. noch nicht abgeschlossen ist. Wenn Sie eine Förderung erhalten und das Projekt ausschließlich damit finanziert haben, geben Sie die Fördersumme als Ihr Gesamtbudget an.")
|
|
180
188
|
], -1))
|
|
@@ -183,34 +191,34 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
183
191
|
__: [15]
|
|
184
192
|
})
|
|
185
193
|
]),
|
|
186
|
-
t("section",
|
|
194
|
+
t("section", te, [
|
|
187
195
|
e[18] || (e[18] = t("h5", null, "Erforderliche Fachkompetenzen", -1)),
|
|
188
196
|
e[19] || (e[19] = t("p", null, "Damit andere Kommunen besser einschätzen können, welche Fachkenntnisse das Projektteam mitbringen sollte, bitten wir Sie, hier die Kompetenzfelder anzugeben, die für Ihr Projekt am Wichtigsten waren (z.B. Datenmanagement oder Projektmanagement).", -1)),
|
|
189
|
-
i(l(
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": e[3] || (e[3] = (n) =>
|
|
197
|
+
i(l(s), {
|
|
198
|
+
modelValue: d.value,
|
|
199
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => d.value = n),
|
|
192
200
|
type: "hidden",
|
|
193
201
|
name: "requiredExpertise"
|
|
194
202
|
}, null, 8, ["modelValue"]),
|
|
195
|
-
|
|
196
|
-
(
|
|
203
|
+
d.value.length > 0 ? (u(), f("div", ne, [
|
|
204
|
+
(u(!0), f(k, null, y(d.value, (n) => (u(), f("div", {
|
|
197
205
|
key: n,
|
|
198
206
|
class: "label-chip"
|
|
199
207
|
}, [
|
|
200
|
-
|
|
208
|
+
E(t("input", {
|
|
201
209
|
id: `hardware-${n}`,
|
|
202
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
210
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => d.value = o),
|
|
203
211
|
class: "label-chip__input",
|
|
204
212
|
type: "checkbox",
|
|
205
213
|
value: n
|
|
206
|
-
}, null, 8,
|
|
207
|
-
[
|
|
214
|
+
}, null, 8, ie), [
|
|
215
|
+
[$, d.value]
|
|
208
216
|
]),
|
|
209
217
|
t("label", {
|
|
210
218
|
class: "label-chip__label",
|
|
211
219
|
for: `hardware-${n}`
|
|
212
220
|
}, [
|
|
213
|
-
i(
|
|
221
|
+
i(M, {
|
|
214
222
|
class: "label-chip__inner",
|
|
215
223
|
text: n,
|
|
216
224
|
data: {
|
|
@@ -223,12 +231,12 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
223
231
|
"@inTable": !1
|
|
224
232
|
}
|
|
225
233
|
}, null, 8, ["text", "data"])
|
|
226
|
-
], 8,
|
|
234
|
+
], 8, le)
|
|
227
235
|
]))), 128))
|
|
228
|
-
])) :
|
|
229
|
-
i(
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue": e[5] || (e[5] = (n) =>
|
|
236
|
+
])) : U("", !0),
|
|
237
|
+
i(Z, {
|
|
238
|
+
modelValue: b.value,
|
|
239
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => b.value = n),
|
|
232
240
|
label: "Erforderliche Fachkompetenz",
|
|
233
241
|
"input-type": "text",
|
|
234
242
|
placeholder: "Nennen Sie eine Fachkompetenz.",
|
|
@@ -239,42 +247,42 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
239
247
|
"show-end-icon": !1,
|
|
240
248
|
"initial-hint-text": !1
|
|
241
249
|
}, null, 8, ["modelValue"]),
|
|
242
|
-
t("div",
|
|
250
|
+
t("div", ae, [
|
|
243
251
|
i(g, {
|
|
244
252
|
"button-text": "Fachkompetenz hinzufügen",
|
|
245
253
|
size: "medium",
|
|
246
254
|
variant: "tertiary",
|
|
247
255
|
"icon-start": "plus",
|
|
248
|
-
onClick: e[6] || (e[6] = (n) => I(
|
|
256
|
+
onClick: e[6] || (e[6] = (n) => I(b.value))
|
|
249
257
|
})
|
|
250
258
|
])
|
|
251
259
|
]),
|
|
252
|
-
t("section",
|
|
260
|
+
t("section", re, [
|
|
253
261
|
e[20] || (e[20] = t("h5", null, " Screenshots ", -1)),
|
|
254
262
|
e[21] || (e[21] = t("span", { class: "copy-large-regular" }, "Bilder oder Screenshots helfen einen besseren Eindruck von Ihrem Projekt zu bekommen. Aus rechtlichen und technischen Gründen können Sie keine Dateien hochladen. Geben Sie daher bitte die URL an, unter der das Bild oder der Screenshot dauerhaft zu erreichen sein wird.", -1)),
|
|
255
|
-
t("div",
|
|
256
|
-
i(l(
|
|
263
|
+
t("div", se, [
|
|
264
|
+
i(l(s), {
|
|
257
265
|
modelValue: w.value,
|
|
258
266
|
"onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
|
|
259
267
|
type: "list",
|
|
260
268
|
name: "references",
|
|
261
269
|
dynamic: ""
|
|
262
270
|
}, {
|
|
263
|
-
default:
|
|
264
|
-
(
|
|
265
|
-
key:
|
|
271
|
+
default: r(({ items: n, node: o, value: m }) => [
|
|
272
|
+
(u(!0), f(k, null, y(n, (p, c) => (u(), V(l(s), {
|
|
273
|
+
key: p,
|
|
266
274
|
type: "group",
|
|
267
|
-
index:
|
|
275
|
+
index: c
|
|
268
276
|
}, {
|
|
269
|
-
default:
|
|
270
|
-
i(
|
|
271
|
-
action:
|
|
277
|
+
default: r(() => [
|
|
278
|
+
i(K, null, {
|
|
279
|
+
action: r(() => [
|
|
272
280
|
i(g, {
|
|
273
281
|
"button-text": "Löschen",
|
|
274
282
|
size: "small",
|
|
275
283
|
variant: "tertiary",
|
|
276
284
|
"icon-start": "trash",
|
|
277
|
-
onClick: () =>
|
|
285
|
+
onClick: () => o.input(m.filter((F, v) => v !== c))
|
|
278
286
|
}, null, 8, ["onClick"])
|
|
279
287
|
]),
|
|
280
288
|
_: 2
|
|
@@ -282,13 +290,13 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
282
290
|
]),
|
|
283
291
|
_: 2
|
|
284
292
|
}, 1032, ["index"]))), 128)),
|
|
285
|
-
t("div",
|
|
293
|
+
t("div", oe, [
|
|
286
294
|
i(g, {
|
|
287
295
|
"button-text": "Screenshot hinzufügen",
|
|
288
296
|
size: "medium",
|
|
289
297
|
variant: "tertiary",
|
|
290
298
|
"icon-start": "plus",
|
|
291
|
-
onClick: (
|
|
299
|
+
onClick: (p) => o.input(m.concat({}))
|
|
292
300
|
}, null, 8, ["onClick"])
|
|
293
301
|
])
|
|
294
302
|
]),
|
|
@@ -296,32 +304,32 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
296
304
|
}, 8, ["modelValue"])
|
|
297
305
|
])
|
|
298
306
|
]),
|
|
299
|
-
t("section",
|
|
307
|
+
t("section", ue, [
|
|
300
308
|
e[22] || (e[22] = t("h5", null, " Weiterführende Links ", -1)),
|
|
301
309
|
e[23] || (e[23] = t("span", { class: "copy-large-regular" }, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zu Ihrer Vorgehensweise beim Aufbau eines Digitalen Zwillings enthalten, wie etwa Status- oder Abschlussberichte.", -1)),
|
|
302
|
-
t("div",
|
|
303
|
-
i(l(
|
|
310
|
+
t("div", de, [
|
|
311
|
+
i(l(s), {
|
|
304
312
|
modelValue: _.value,
|
|
305
313
|
"onUpdate:modelValue": e[8] || (e[8] = (n) => _.value = n),
|
|
306
314
|
type: "list",
|
|
307
315
|
name: "links",
|
|
308
316
|
dynamic: ""
|
|
309
317
|
}, {
|
|
310
|
-
default:
|
|
311
|
-
(
|
|
312
|
-
key:
|
|
318
|
+
default: r(({ items: n, node: o, value: m }) => [
|
|
319
|
+
(u(!0), f(k, null, y(n, (p, c) => (u(), V(l(s), {
|
|
320
|
+
key: p,
|
|
313
321
|
type: "group",
|
|
314
|
-
index:
|
|
322
|
+
index: c
|
|
315
323
|
}, {
|
|
316
|
-
default:
|
|
317
|
-
i(
|
|
318
|
-
action:
|
|
324
|
+
default: r(() => [
|
|
325
|
+
i(N, null, {
|
|
326
|
+
action: r(() => [
|
|
319
327
|
i(g, {
|
|
320
328
|
"button-text": "Löschen",
|
|
321
329
|
size: "small",
|
|
322
330
|
variant: "tertiary",
|
|
323
331
|
"icon-start": "trash",
|
|
324
|
-
onClick: () =>
|
|
332
|
+
onClick: () => o.input(m.filter((F, v) => v !== c))
|
|
325
333
|
}, null, 8, ["onClick"])
|
|
326
334
|
]),
|
|
327
335
|
_: 2
|
|
@@ -329,13 +337,13 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
329
337
|
]),
|
|
330
338
|
_: 2
|
|
331
339
|
}, 1032, ["index"]))), 128)),
|
|
332
|
-
t("div",
|
|
340
|
+
t("div", me, [
|
|
333
341
|
i(g, {
|
|
334
342
|
"button-text": "Link hinzufügen",
|
|
335
343
|
size: "medium",
|
|
336
344
|
variant: "tertiary",
|
|
337
345
|
"icon-start": "plus",
|
|
338
|
-
onClick: (
|
|
346
|
+
onClick: (p) => o.input(m.concat({}))
|
|
339
347
|
}, null, 8, ["onClick"])
|
|
340
348
|
])
|
|
341
349
|
]),
|
|
@@ -343,10 +351,10 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
|
|
|
343
351
|
}, 8, ["modelValue"])
|
|
344
352
|
])
|
|
345
353
|
]),
|
|
346
|
-
i(
|
|
354
|
+
i(T, { "next-text": "Weiter zu den Projektphasen" })
|
|
347
355
|
]));
|
|
348
356
|
}
|
|
349
357
|
});
|
|
350
358
|
export {
|
|
351
|
-
|
|
359
|
+
_e as default
|
|
352
360
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FunctionalityForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9d393151"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { toTypedSchema as
|
|
3
|
-
import { useForm as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as C, mergeModels as _, useModel as N, computed as y, ref as v, watch as x, createElementBlock as a, openBlock as u, createCommentVNode as A, createVNode as s, createElementVNode as h, Fragment as B, renderList as E, unref as M } from "vue";
|
|
2
|
+
import { toTypedSchema as R } 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 U } from "vee-validate";
|
|
4
|
+
import * as c from "zod";
|
|
5
|
+
import z from "../ButtonV3.vue.js";
|
|
6
|
+
import O from "../Chip.vue.js";
|
|
7
|
+
import T from "../InputField/InputFieldVeeValidate.vue.js";
|
|
8
|
+
import $ from "../ListBox/ListboxVeeValidate.vue.js";
|
|
9
|
+
const j = { class: "functionality-form" }, w = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "functionalities-container"
|
|
12
|
-
},
|
|
12
|
+
}, D = { class: "step-section-actions" }, L = "Funktionalität ist erforderlich.", K = /* @__PURE__ */ C({
|
|
13
13
|
__name: "FunctionalityForm",
|
|
14
|
-
props: /* @__PURE__ */
|
|
14
|
+
props: /* @__PURE__ */ _({
|
|
15
15
|
options: {},
|
|
16
16
|
disabled: { type: Boolean, default: !1 }
|
|
17
17
|
}, {
|
|
@@ -22,28 +22,24 @@ const w = { class: "functionality-form" }, D = {
|
|
|
22
22
|
}),
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(m) {
|
|
25
|
-
const
|
|
25
|
+
const b = m, i = N(m, "modelValue"), r = y(
|
|
26
26
|
() => Array.from(i.value || [])
|
|
27
|
-
),
|
|
27
|
+
), F = y(() => {
|
|
28
28
|
var e, n;
|
|
29
|
-
const t =
|
|
30
|
-
return (n = (e =
|
|
31
|
-
}),
|
|
32
|
-
functionalitySelect:
|
|
33
|
-
functionalityInput:
|
|
29
|
+
const t = r.value.join(" ");
|
|
30
|
+
return (n = (e = b.options) == null ? void 0 : e.filter((l) => !t.includes(l))) == null ? void 0 : n.sort((l, p) => l.localeCompare(p));
|
|
31
|
+
}), S = c.object({
|
|
32
|
+
functionalitySelect: c.string().optional(),
|
|
33
|
+
functionalityInput: c.string().optional()
|
|
34
34
|
}).superRefine((t, e) => {
|
|
35
35
|
const n = t.functionalitySelect && t.functionalitySelect.trim().length > 0, l = t.functionalityInput && t.functionalityInput.trim().length > 0;
|
|
36
|
-
!n && !l &&
|
|
37
|
-
code:
|
|
38
|
-
message:
|
|
39
|
-
path: ["functionalitySelect"]
|
|
40
|
-
}), e.addIssue({
|
|
41
|
-
code: o.ZodIssueCode.custom,
|
|
42
|
-
message: b,
|
|
36
|
+
!n && !l && e.addIssue({
|
|
37
|
+
code: c.ZodIssueCode.custom,
|
|
38
|
+
message: L,
|
|
43
39
|
path: ["functionalityInput"]
|
|
44
|
-
})
|
|
45
|
-
}), V =
|
|
46
|
-
validationSchema:
|
|
40
|
+
});
|
|
41
|
+
}), V = U({
|
|
42
|
+
validationSchema: R(S),
|
|
47
43
|
initialValues: {
|
|
48
44
|
functionalitySelect: "",
|
|
49
45
|
functionalityInput: ""
|
|
@@ -51,26 +47,26 @@ const w = { class: "functionality-form" }, D = {
|
|
|
51
47
|
name: "functionalityForm"
|
|
52
48
|
}), {
|
|
53
49
|
handleSubmit: k,
|
|
54
|
-
resetForm:
|
|
55
|
-
} = V,
|
|
50
|
+
resetForm: I
|
|
51
|
+
} = V, o = v(""), d = v(""), f = k((t) => {
|
|
56
52
|
var n;
|
|
57
53
|
const e = t.functionalitySelect || t.functionalityInput;
|
|
58
|
-
e && e.trim().length > 0 && !((n = i.value) != null && n.includes(e)) && (i.value = [...i.value || [], e]),
|
|
54
|
+
e && e.trim().length > 0 && !((n = i.value) != null && n.includes(e)) && (i.value = [...i.value || [], e]), I(), o.value = "", d.value = "";
|
|
59
55
|
});
|
|
60
|
-
|
|
56
|
+
x(o, (t) => {
|
|
61
57
|
t && t.trim().length > 0 && f();
|
|
62
58
|
});
|
|
63
|
-
function
|
|
59
|
+
function g(t) {
|
|
64
60
|
var e;
|
|
65
61
|
i.value = ((e = i.value) == null ? void 0 : e.filter((n) => n !== t)) || [];
|
|
66
62
|
}
|
|
67
|
-
return (t, e) => (u(),
|
|
68
|
-
|
|
69
|
-
(u(!0),
|
|
63
|
+
return (t, e) => (u(), a("div", j, [
|
|
64
|
+
r.value.length > 0 ? (u(), a("div", w, [
|
|
65
|
+
(u(!0), a(B, null, E(r.value, (n, l) => (u(), a("div", {
|
|
70
66
|
key: l,
|
|
71
67
|
class: "functionalities"
|
|
72
68
|
}, [
|
|
73
|
-
|
|
69
|
+
s(O, {
|
|
74
70
|
text: n,
|
|
75
71
|
setup: {
|
|
76
72
|
"@type": "select",
|
|
@@ -81,23 +77,23 @@ const w = { class: "functionality-form" }, D = {
|
|
|
81
77
|
},
|
|
82
78
|
data: { "@value": n, URI: n },
|
|
83
79
|
"select-value": !0,
|
|
84
|
-
onClick: (p) =>
|
|
80
|
+
onClick: (p) => g(n)
|
|
85
81
|
}, null, 8, ["text", "data", "onClick"])
|
|
86
82
|
]))), 128))
|
|
87
|
-
])) :
|
|
88
|
-
|
|
89
|
-
modelValue:
|
|
90
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) =>
|
|
83
|
+
])) : A("", !0),
|
|
84
|
+
s($, {
|
|
85
|
+
modelValue: o.value,
|
|
86
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => o.value = n),
|
|
91
87
|
name: "functionalitySelect",
|
|
92
|
-
options:
|
|
88
|
+
options: F.value,
|
|
93
89
|
label: "Funktionalitäten auswählen",
|
|
94
90
|
placeholder: "Wählen Sie eine Funktionalität.",
|
|
95
91
|
disabled: t.disabled
|
|
96
92
|
}, null, 8, ["modelValue", "options", "disabled"]),
|
|
97
93
|
e[2] || (e[2] = h("h5", null, " oder ", -1)),
|
|
98
|
-
|
|
99
|
-
modelValue:
|
|
100
|
-
"onUpdate:modelValue": e[1] || (e[1] = (n) =>
|
|
94
|
+
s(T, {
|
|
95
|
+
modelValue: d.value,
|
|
96
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => d.value = n),
|
|
101
97
|
name: "functionalityInput",
|
|
102
98
|
"add-on-text": !1,
|
|
103
99
|
"date-picker": !1,
|
|
@@ -108,14 +104,14 @@ const w = { class: "functionality-form" }, D = {
|
|
|
108
104
|
label: "Funktionalitäten nennen",
|
|
109
105
|
placeholder: "Nennen Sie eine Funktionalität."
|
|
110
106
|
}, null, 8, ["modelValue", "is-disabled"]),
|
|
111
|
-
h("div",
|
|
112
|
-
|
|
107
|
+
h("div", D, [
|
|
108
|
+
s(z, {
|
|
113
109
|
"button-text": "Funktionalität hinzufügen",
|
|
114
110
|
size: "medium",
|
|
115
111
|
variant: "tertiary",
|
|
116
112
|
"icon-start": "plus",
|
|
117
113
|
disabled: t.disabled,
|
|
118
|
-
onClick:
|
|
114
|
+
onClick: M(f)
|
|
119
115
|
}, null, 8, ["disabled", "onClick"])
|
|
120
116
|
])
|
|
121
117
|
]));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HardwareForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bf22c9c3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|