@piveau/dpi 0.2.0-alpha.1 → 0.2.0-alpha.3
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/assets/stadt.png +0 -0
- package/dist/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +99 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +35 -11
- package/dist/data-provider-interface/HappyFlowComponents/img/DataProcessingSteps.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +18 -18
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +10 -11
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +89 -67
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +34 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +62 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +45 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +5 -3
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +45 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +39 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +2 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +20 -16
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +41 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +341 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +21 -15
- package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
- package/dist/data-provider-interface/components/ProgressSteps.vue2.js +45 -44
- package/dist/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/data-provider-interface/components/StepActionsSection.vue2.js +119 -42
- package/dist/data-provider-interface/composables/useDpiStepper.js +7 -7
- package/dist/data-provider-interface/views/InputPageProject.vue.js +328 -315
- package/dist/stories/components/LinkCard.vue.js +7 -0
- package/dist/stories/components/LinkCard.vue2.js +52 -0
- package/dist/stories/components/PartnerCard.vue.js +1 -1
- package/dist/stories/components/PartnerCard.vue2.js +18 -18
- package/dist/stories/components/ScreenshotCard.vue.js +7 -0
- package/dist/stories/components/ScreenshotCard.vue2.js +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { defineComponent as I, ref as g, computed as B, createElementBlock as h, openBlock as o, createElementVNode as n, createVNode as i, unref as l, withCtx as a, Fragment as v, renderList as y, createBlock as x, normalizeClass as j, createTextVNode as D, createCommentVNode as L, withDirectives as E, vModelCheckbox as U } from "vue";
|
|
2
|
+
import { FormKit as s } from "@formkit/vue";
|
|
3
|
+
import { PhLightbulb as $ } from "@phosphor-icons/vue";
|
|
4
|
+
import A from "../../../../stories/components/LinkCard.vue.js";
|
|
5
|
+
import N from "../../../../stories/components/PartnerCard.vue.js";
|
|
6
|
+
import G from "../../../../stories/components/ScreenshotCard.vue.js";
|
|
7
|
+
import K from "../../../components/StepActionsSection.vue.js";
|
|
8
|
+
import f from "../ButtonV3.vue.js";
|
|
9
|
+
import T from "../Card.vue.js";
|
|
10
|
+
import M from "../Chip.vue.js";
|
|
11
|
+
import W from "../InputField.vue.js";
|
|
12
|
+
import C from "../InputField/InputFieldDefinition.js";
|
|
13
|
+
import Z from "../TextArea/TextAreaDefinition.js";
|
|
14
|
+
const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
15
|
+
id: "partners-section",
|
|
16
|
+
class: "funny-section"
|
|
17
|
+
}, q = { class: "partner-cards-container" }, H = { class: "action-container" }, J = { class: "funny-section" }, Q = { class: "start-and-end" }, X = { class: "funny-section" }, Y = { class: "funny-section" }, ee = { class: "funny-section" }, ne = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "d-flex"
|
|
20
|
+
}, te = ["id", "value"], ie = ["for"], le = { class: "action-container" }, ae = {
|
|
21
|
+
id: "partners-section",
|
|
22
|
+
class: "funny-section"
|
|
23
|
+
}, se = { class: "partner-cards-container" }, re = { class: "action-container" }, oe = {
|
|
24
|
+
id: "partners-section",
|
|
25
|
+
class: "funny-section"
|
|
26
|
+
}, ue = { class: "partner-cards-container" }, de = { class: "action-container" }, ce = { class: "funny-section" }, me = 500, we = /* @__PURE__ */ I({
|
|
27
|
+
__name: "OptionalDataStep",
|
|
28
|
+
setup(pe) {
|
|
29
|
+
const z = g(""), S = g([]), V = g([]), _ = g([]), F = B(() => {
|
|
30
|
+
var d;
|
|
31
|
+
return (d = z.value) == null ? void 0 : d.length;
|
|
32
|
+
}), k = g(""), u = g([]);
|
|
33
|
+
function P(d) {
|
|
34
|
+
if (d && d.trim()) {
|
|
35
|
+
const e = d.trim();
|
|
36
|
+
u.value.includes(e) || u.value.push(e), k.value = "";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return (d, e) => (o(), h("div", O, [
|
|
40
|
+
e[22] || (e[22] = n("section", { class: "funny-section" }, [
|
|
41
|
+
n("div", { class: "funny-flex" }, [
|
|
42
|
+
n("h4", null, "Fügen Sie optionale Daten hinzu"),
|
|
43
|
+
n("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. ")
|
|
44
|
+
])
|
|
45
|
+
], -1)),
|
|
46
|
+
n("section", R, [
|
|
47
|
+
e[8] || (e[8] = n("h5", null, " Partner ", -1)),
|
|
48
|
+
e[9] || (e[9] = n("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
|
|
49
|
+
n("div", q, [
|
|
50
|
+
i(l(s), {
|
|
51
|
+
modelValue: S.value,
|
|
52
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => S.value = t),
|
|
53
|
+
type: "list",
|
|
54
|
+
name: "partners",
|
|
55
|
+
dynamic: ""
|
|
56
|
+
}, {
|
|
57
|
+
default: a(({ items: t, node: r, value: c }) => [
|
|
58
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(s), {
|
|
59
|
+
key: m,
|
|
60
|
+
type: "group",
|
|
61
|
+
index: p
|
|
62
|
+
}, {
|
|
63
|
+
default: a(() => [
|
|
64
|
+
i(N, null, {
|
|
65
|
+
action: a(() => [
|
|
66
|
+
i(f, {
|
|
67
|
+
"button-text": "Löschen",
|
|
68
|
+
size: "small",
|
|
69
|
+
variant: "secondary",
|
|
70
|
+
"icon-start": "trash",
|
|
71
|
+
onClick: () => r.input(c.filter((w, b) => b !== p))
|
|
72
|
+
}, null, 8, ["onClick"])
|
|
73
|
+
]),
|
|
74
|
+
_: 2
|
|
75
|
+
}, 1024)
|
|
76
|
+
]),
|
|
77
|
+
_: 2
|
|
78
|
+
}, 1032, ["index"]))), 128)),
|
|
79
|
+
n("div", H, [
|
|
80
|
+
i(f, {
|
|
81
|
+
"button-text": "Partner hinzufügen",
|
|
82
|
+
size: "medium",
|
|
83
|
+
variant: "tertiary",
|
|
84
|
+
"icon-start": "plus",
|
|
85
|
+
onClick: (m) => r.input(c.concat({}))
|
|
86
|
+
}, null, 8, ["onClick"])
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["modelValue"])
|
|
91
|
+
])
|
|
92
|
+
]),
|
|
93
|
+
n("section", J, [
|
|
94
|
+
e[10] || (e[10] = n("h5", null, " Projektzeitraum ", -1)),
|
|
95
|
+
e[11] || (e[11] = n("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
|
|
96
|
+
n("div", Q, [
|
|
97
|
+
i(l(s), {
|
|
98
|
+
type: l(C),
|
|
99
|
+
name: "startDate",
|
|
100
|
+
"text-label": "Startdatum",
|
|
101
|
+
"input-type": "date",
|
|
102
|
+
placeholder: "Enter text here",
|
|
103
|
+
"tooltip-text": "This is helpful information",
|
|
104
|
+
"add-on-text": !1,
|
|
105
|
+
"info-icon": !1,
|
|
106
|
+
"pre-icon": !1,
|
|
107
|
+
"show-end-icon": !1,
|
|
108
|
+
"initial-hint-text": !1
|
|
109
|
+
}, null, 8, ["type"]),
|
|
110
|
+
i(l(s), {
|
|
111
|
+
type: l(C),
|
|
112
|
+
name: "endDate",
|
|
113
|
+
"text-label": "Enddatum",
|
|
114
|
+
"input-type": "date",
|
|
115
|
+
placeholder: "Enter text here",
|
|
116
|
+
"tooltip-text": "This is helpful information",
|
|
117
|
+
"add-on-text": !1,
|
|
118
|
+
"info-icon": !1,
|
|
119
|
+
"pre-icon": !1,
|
|
120
|
+
"show-end-icon": !1,
|
|
121
|
+
"initial-hint-text": !1
|
|
122
|
+
}, null, 8, ["type"])
|
|
123
|
+
])
|
|
124
|
+
]),
|
|
125
|
+
n("section", X, [
|
|
126
|
+
e[12] || (e[12] = n("h5", null, "Budget", -1)),
|
|
127
|
+
e[13] || (e[13] = n("div", { class: "budget" }, [
|
|
128
|
+
n("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
|
|
129
|
+
], -1)),
|
|
130
|
+
i(l(s), {
|
|
131
|
+
type: l(C),
|
|
132
|
+
name: "budget",
|
|
133
|
+
"text-label": "Budget",
|
|
134
|
+
placeholder: "...."
|
|
135
|
+
}, null, 8, ["type"]),
|
|
136
|
+
i(l(s), {
|
|
137
|
+
id: "Förderung",
|
|
138
|
+
modelValue: z.value,
|
|
139
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => z.value = t),
|
|
140
|
+
class: j(d.budgetArea),
|
|
141
|
+
label: "Förderung (optional)",
|
|
142
|
+
type: l(Z),
|
|
143
|
+
name: "budget",
|
|
144
|
+
"text-label": "Förderung (optional)",
|
|
145
|
+
placeholder: "Beschreiben Sie welche Förderung Sie erhalten haben.",
|
|
146
|
+
validation: "length:0,500",
|
|
147
|
+
"validation-visibility": "live",
|
|
148
|
+
hint: "true",
|
|
149
|
+
help: `${F.value} von ${me} Zeichen`,
|
|
150
|
+
"count-hint": !0
|
|
151
|
+
}, null, 8, ["modelValue", "class", "type", "help"])
|
|
152
|
+
]),
|
|
153
|
+
n("section", Y, [
|
|
154
|
+
i(T, { variant: "default" }, {
|
|
155
|
+
icon: a(() => [
|
|
156
|
+
i(l($), {
|
|
157
|
+
size: 32,
|
|
158
|
+
color: "#009fe3"
|
|
159
|
+
})
|
|
160
|
+
]),
|
|
161
|
+
title: a(() => e[14] || (e[14] = [
|
|
162
|
+
D(" Information ", -1)
|
|
163
|
+
])),
|
|
164
|
+
default: a(() => [
|
|
165
|
+
e[15] || (e[15] = n("div", { class: "copy-large-regular" }, [
|
|
166
|
+
n("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.")
|
|
167
|
+
], -1))
|
|
168
|
+
]),
|
|
169
|
+
_: 1,
|
|
170
|
+
__: [15]
|
|
171
|
+
})
|
|
172
|
+
]),
|
|
173
|
+
n("section", ee, [
|
|
174
|
+
e[16] || (e[16] = n("h5", null, "Erforderliche Fachkompetenzen", -1)),
|
|
175
|
+
e[17] || (e[17] = n("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)),
|
|
176
|
+
i(l(s), {
|
|
177
|
+
modelValue: u.value,
|
|
178
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => u.value = t),
|
|
179
|
+
type: "hidden",
|
|
180
|
+
name: "requiredExpertise"
|
|
181
|
+
}, null, 8, ["modelValue"]),
|
|
182
|
+
u.value.length > 0 ? (o(), h("div", ne, [
|
|
183
|
+
(o(!0), h(v, null, y(u.value, (t) => (o(), h("div", {
|
|
184
|
+
key: t,
|
|
185
|
+
class: "label-chip"
|
|
186
|
+
}, [
|
|
187
|
+
E(n("input", {
|
|
188
|
+
id: `hardware-${t}`,
|
|
189
|
+
"onUpdate:modelValue": e[3] || (e[3] = (r) => u.value = r),
|
|
190
|
+
class: "label-chip__input",
|
|
191
|
+
type: "checkbox",
|
|
192
|
+
value: t
|
|
193
|
+
}, null, 8, te), [
|
|
194
|
+
[U, u.value]
|
|
195
|
+
]),
|
|
196
|
+
n("label", {
|
|
197
|
+
class: "label-chip__label",
|
|
198
|
+
for: `hardware-${t}`
|
|
199
|
+
}, [
|
|
200
|
+
i(M, {
|
|
201
|
+
class: "label-chip__inner",
|
|
202
|
+
text: t,
|
|
203
|
+
data: {
|
|
204
|
+
"@value": t,
|
|
205
|
+
URI: "https://example.com/default"
|
|
206
|
+
},
|
|
207
|
+
setup: {
|
|
208
|
+
"@type": "selected",
|
|
209
|
+
"@icon": "suffix",
|
|
210
|
+
"@inTable": !1
|
|
211
|
+
}
|
|
212
|
+
}, null, 8, ["text", "data"])
|
|
213
|
+
], 8, ie)
|
|
214
|
+
]))), 128))
|
|
215
|
+
])) : L("", !0),
|
|
216
|
+
i(W, {
|
|
217
|
+
modelValue: k.value,
|
|
218
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => k.value = t),
|
|
219
|
+
label: "Erforderliche Fachkompetenz",
|
|
220
|
+
"input-type": "text",
|
|
221
|
+
placeholder: "Nennen Sie eine Fachkompetenz.",
|
|
222
|
+
"tooltip-text": "This is helpful information",
|
|
223
|
+
"add-on-text": !1,
|
|
224
|
+
"info-icon": !1,
|
|
225
|
+
"pre-icon": !1,
|
|
226
|
+
"show-end-icon": !1,
|
|
227
|
+
"initial-hint-text": !1
|
|
228
|
+
}, null, 8, ["modelValue"]),
|
|
229
|
+
n("div", le, [
|
|
230
|
+
i(f, {
|
|
231
|
+
"button-text": "Fachkompetenz hinzufügen",
|
|
232
|
+
size: "medium",
|
|
233
|
+
variant: "tertiary",
|
|
234
|
+
"icon-start": "plus",
|
|
235
|
+
onClick: e[5] || (e[5] = (t) => P(k.value))
|
|
236
|
+
})
|
|
237
|
+
])
|
|
238
|
+
]),
|
|
239
|
+
n("section", ae, [
|
|
240
|
+
e[18] || (e[18] = n("h5", null, " Screenshots ", -1)),
|
|
241
|
+
e[19] || (e[19] = n("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)),
|
|
242
|
+
n("div", se, [
|
|
243
|
+
i(l(s), {
|
|
244
|
+
modelValue: V.value,
|
|
245
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => V.value = t),
|
|
246
|
+
type: "list",
|
|
247
|
+
name: "screenshots",
|
|
248
|
+
dynamic: ""
|
|
249
|
+
}, {
|
|
250
|
+
default: a(({ items: t, node: r, value: c }) => [
|
|
251
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(s), {
|
|
252
|
+
key: m,
|
|
253
|
+
type: "group",
|
|
254
|
+
index: p
|
|
255
|
+
}, {
|
|
256
|
+
default: a(() => [
|
|
257
|
+
i(G, null, {
|
|
258
|
+
action: a(() => [
|
|
259
|
+
i(f, {
|
|
260
|
+
"button-text": "Löschen",
|
|
261
|
+
size: "small",
|
|
262
|
+
variant: "secondary",
|
|
263
|
+
"icon-start": "trash",
|
|
264
|
+
onClick: () => r.input(c.filter((w, b) => b !== p))
|
|
265
|
+
}, null, 8, ["onClick"])
|
|
266
|
+
]),
|
|
267
|
+
_: 2
|
|
268
|
+
}, 1024)
|
|
269
|
+
]),
|
|
270
|
+
_: 2
|
|
271
|
+
}, 1032, ["index"]))), 128)),
|
|
272
|
+
n("div", re, [
|
|
273
|
+
i(f, {
|
|
274
|
+
"button-text": "Screenshot hinzufügen",
|
|
275
|
+
size: "medium",
|
|
276
|
+
variant: "tertiary",
|
|
277
|
+
"icon-start": "plus",
|
|
278
|
+
onClick: (m) => r.input(c.concat({}))
|
|
279
|
+
}, null, 8, ["onClick"])
|
|
280
|
+
])
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}, 8, ["modelValue"])
|
|
284
|
+
])
|
|
285
|
+
]),
|
|
286
|
+
n("section", oe, [
|
|
287
|
+
e[20] || (e[20] = n("h5", null, " Weiterführende Links ", -1)),
|
|
288
|
+
e[21] || (e[21] = n("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)),
|
|
289
|
+
n("div", ue, [
|
|
290
|
+
i(l(s), {
|
|
291
|
+
modelValue: _.value,
|
|
292
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => _.value = t),
|
|
293
|
+
type: "list",
|
|
294
|
+
name: "links",
|
|
295
|
+
dynamic: ""
|
|
296
|
+
}, {
|
|
297
|
+
default: a(({ items: t, node: r, value: c }) => [
|
|
298
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(s), {
|
|
299
|
+
key: m,
|
|
300
|
+
type: "group",
|
|
301
|
+
index: p
|
|
302
|
+
}, {
|
|
303
|
+
default: a(() => [
|
|
304
|
+
i(A, null, {
|
|
305
|
+
action: a(() => [
|
|
306
|
+
i(f, {
|
|
307
|
+
"button-text": "Löschen",
|
|
308
|
+
size: "small",
|
|
309
|
+
variant: "secondary",
|
|
310
|
+
"icon-start": "trash",
|
|
311
|
+
onClick: () => r.input(c.filter((w, b) => b !== p))
|
|
312
|
+
}, null, 8, ["onClick"])
|
|
313
|
+
]),
|
|
314
|
+
_: 2
|
|
315
|
+
}, 1024)
|
|
316
|
+
]),
|
|
317
|
+
_: 2
|
|
318
|
+
}, 1032, ["index"]))), 128)),
|
|
319
|
+
n("div", de, [
|
|
320
|
+
i(f, {
|
|
321
|
+
"button-text": "Link hinzufügen",
|
|
322
|
+
size: "medium",
|
|
323
|
+
variant: "tertiary",
|
|
324
|
+
"icon-start": "plus",
|
|
325
|
+
onClick: (m) => r.input(c.concat({}))
|
|
326
|
+
}, null, 8, ["onClick"])
|
|
327
|
+
])
|
|
328
|
+
]),
|
|
329
|
+
_: 1
|
|
330
|
+
}, 8, ["modelValue"])
|
|
331
|
+
])
|
|
332
|
+
]),
|
|
333
|
+
n("section", ce, [
|
|
334
|
+
i(K)
|
|
335
|
+
])
|
|
336
|
+
]));
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
export {
|
|
340
|
+
we as default
|
|
341
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./WipStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-47cf5f4a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, createElementBlock as c, openBlock as i, createElementVNode as e, createVNode as t, withCtx as p, toDisplayString as a } from "vue";
|
|
2
2
|
import r from "../../components/StepActionsSection.vue.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import l from "./Card.vue.js";
|
|
4
|
+
const _ = { class: "wip-step dpiV3_page V3-typography" }, d = { class: "funny-section" }, m = { class: "wip-container copy-large-semi-bold" }, f = { class: "funny-section" }, V = /* @__PURE__ */ s({
|
|
5
5
|
__name: "WipStep",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
props: {
|
|
7
|
+
name: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const n = o;
|
|
14
|
+
return (u, h) => (i(), c("div", _, [
|
|
15
|
+
e("section", d, [
|
|
16
|
+
t(l, null, {
|
|
17
|
+
default: p(() => [
|
|
18
|
+
e("div", m, " WIP: " + a(n.name), 1)
|
|
19
|
+
]),
|
|
20
|
+
_: 1
|
|
15
21
|
})
|
|
16
22
|
]),
|
|
17
|
-
e("section",
|
|
18
|
-
|
|
23
|
+
e("section", f, [
|
|
24
|
+
t(r)
|
|
19
25
|
])
|
|
20
26
|
]));
|
|
21
27
|
}
|
|
22
28
|
});
|
|
23
29
|
export {
|
|
24
|
-
|
|
30
|
+
V as default
|
|
25
31
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ProgressSteps.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cfe04ddd"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as O, mergeModels as V, computed as k, useModel as S, createElementBlock as i, openBlock as c, Fragment as y, renderList as x, withDirectives as a, createElementVNode as s, vModelCheckbox as C, unref as d, normalizeClass as M, toDisplayString as F, vShow as h } from "vue";
|
|
2
2
|
import { looseIndexOf as b } from "@vue/shared";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
3
|
+
import B from "../HappyFlowComponents/img/Circle.svg.js";
|
|
4
|
+
import D from "../HappyFlowComponents/img/CircleFill.svg.js";
|
|
5
|
+
const w = { class: "progress-steps" }, U = ["value"], j = { class: "progress-step__headline" }, z = ["src"], I = { class: "progress-step__content" }, L = { class: "progress-step__content-line-container" }, P = { class: "progress-steps progress-steps--substep" }, R = ["value"], q = { class: "progress-step__headline" }, A = ["src"], G = { class: "progress-step__content" }, H = { class: "progress-step__content-line-container" }, W = /* @__PURE__ */ O({
|
|
6
6
|
__name: "ProgressSteps",
|
|
7
|
-
props: /* @__PURE__ */
|
|
7
|
+
props: /* @__PURE__ */ V({
|
|
8
8
|
steps: {},
|
|
9
9
|
currentStep: {},
|
|
10
|
-
visitedSteps: { default: () => [] }
|
|
10
|
+
visitedSteps: { default: () => [] },
|
|
11
|
+
hideFirst: { type: Boolean, default: !1 }
|
|
11
12
|
}, {
|
|
12
13
|
checked: {
|
|
13
14
|
default: () => []
|
|
@@ -19,89 +20,89 @@ const F = { class: "progress-steps" }, U = ["value"], j = { class: "progress-ste
|
|
|
19
20
|
currentModifiers: {}
|
|
20
21
|
}),
|
|
21
22
|
emits: ["update:checked", "update:current"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
}), Object.entries(
|
|
23
|
+
setup(u) {
|
|
24
|
+
const p = u, g = k(() => {
|
|
25
|
+
const t = {};
|
|
26
|
+
return (p.hideFirst ? p.steps.slice(1) : p.steps).forEach((e) => {
|
|
27
|
+
const o = e.includes("/") ? e.split("/")[0] : e;
|
|
28
|
+
t[o] || (t[o] = []), t[o].push(e);
|
|
29
|
+
}), Object.entries(t).map(([e, o]) => ({ name: e, substeps: o }));
|
|
29
30
|
});
|
|
30
|
-
function
|
|
31
|
-
return
|
|
31
|
+
function E(t) {
|
|
32
|
+
return t.includes("/") ? t.split("/")[1] : t;
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
-
return !
|
|
34
|
+
function f(t) {
|
|
35
|
+
return !t.includes("/");
|
|
35
36
|
}
|
|
36
|
-
const
|
|
37
|
-
function
|
|
38
|
-
return b(
|
|
37
|
+
const l = S(u, "checked");
|
|
38
|
+
function _(t) {
|
|
39
|
+
return b(l.value, t) !== -1;
|
|
39
40
|
}
|
|
40
|
-
const
|
|
41
|
-
return
|
|
42
|
-
(
|
|
43
|
-
key:
|
|
41
|
+
const m = S(u, "current");
|
|
42
|
+
return k(() => b(p.steps, m.value)), (t, n) => (c(), i("div", w, [
|
|
43
|
+
(c(!0), i(y, null, x(g.value, (e, o) => (c(), i("div", {
|
|
44
|
+
key: e.name,
|
|
44
45
|
class: "progress-step"
|
|
45
46
|
}, [
|
|
46
|
-
|
|
47
|
-
"onUpdate:modelValue":
|
|
47
|
+
a(s("input", {
|
|
48
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r),
|
|
48
49
|
name: "progress-step",
|
|
49
50
|
type: "checkbox",
|
|
50
51
|
class: "progress-input",
|
|
51
|
-
value:
|
|
52
|
+
value: e.name
|
|
52
53
|
}, null, 8, U), [
|
|
53
|
-
[
|
|
54
|
+
[C, l.value]
|
|
54
55
|
]),
|
|
55
56
|
s("div", j, [
|
|
56
57
|
s("img", {
|
|
57
|
-
src:
|
|
58
|
+
src: _(e.name) ? d(D) : d(B),
|
|
58
59
|
class: "progress-step__headline__icon",
|
|
59
60
|
alt: ""
|
|
60
61
|
}, null, 8, z),
|
|
61
62
|
s("span", {
|
|
62
|
-
class:
|
|
63
|
-
},
|
|
63
|
+
class: M({ "progress-step__headline__span--checked": m.value === e.name })
|
|
64
|
+
}, F(e.name), 3)
|
|
64
65
|
]),
|
|
65
66
|
s("div", I, [
|
|
66
|
-
|
|
67
|
+
a(s("div", L, n[2] || (n[2] = [
|
|
67
68
|
s("div", { class: "progress-step__content-line" }, null, -1)
|
|
68
69
|
]), 512), [
|
|
69
|
-
[
|
|
70
|
+
[h, o < g.value.length - 1]
|
|
70
71
|
]),
|
|
71
|
-
|
|
72
|
-
(
|
|
72
|
+
a(s("div", P, [
|
|
73
|
+
(c(!0), i(y, null, x(e.substeps.filter((r) => !f(r)), (r, N) => (c(), i("div", {
|
|
73
74
|
key: r,
|
|
74
75
|
class: "progress-step"
|
|
75
76
|
}, [
|
|
76
|
-
|
|
77
|
-
"onUpdate:modelValue":
|
|
77
|
+
a(s("input", {
|
|
78
|
+
"onUpdate:modelValue": n[1] || (n[1] = (v) => l.value = v),
|
|
78
79
|
name: "progress-step",
|
|
79
80
|
type: "checkbox",
|
|
80
81
|
class: "progress-input",
|
|
81
82
|
value: r
|
|
82
83
|
}, null, 8, R), [
|
|
83
|
-
[
|
|
84
|
+
[C, l.value]
|
|
84
85
|
]),
|
|
85
86
|
s("div", q, [
|
|
86
87
|
s("img", {
|
|
87
|
-
src:
|
|
88
|
+
src: _(r) ? d(D) : d(B),
|
|
88
89
|
class: "progress-step__headline__icon",
|
|
89
90
|
alt: ""
|
|
90
91
|
}, null, 8, A),
|
|
91
92
|
s("span", {
|
|
92
|
-
class:
|
|
93
|
-
},
|
|
93
|
+
class: M({ "progress-step__headline__span--checked": m.value === r })
|
|
94
|
+
}, F(E(r)), 3)
|
|
94
95
|
]),
|
|
95
96
|
s("div", G, [
|
|
96
|
-
|
|
97
|
+
a(s("div", H, n[3] || (n[3] = [
|
|
97
98
|
s("div", { class: "progress-step__content-line" }, null, -1)
|
|
98
99
|
]), 512), [
|
|
99
|
-
[
|
|
100
|
+
[h, N < e.substeps.filter((v) => !f(v)).length - 1]
|
|
100
101
|
])
|
|
101
102
|
])
|
|
102
103
|
]))), 128))
|
|
103
104
|
], 512), [
|
|
104
|
-
[
|
|
105
|
+
[h, !_(e.name)]
|
|
105
106
|
])
|
|
106
107
|
])
|
|
107
108
|
]))), 128))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./StepActionsSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-25697b7a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|