@piveau/dpi 0.2.0-alpha.11 → 0.2.0-alpha.13

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/services/dpiV3_apis.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +7 -0
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +180 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +7 -0
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +215 -0
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +37 -29
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +4 -4
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +8 -8
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +127 -118
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +64 -57
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +21 -23
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +105 -96
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +89 -80
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +6 -5
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +4 -3
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +6 -5
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +6 -5
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +388 -375
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +4 -3
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +35 -31
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +43 -35
  32. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
  33. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  34. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +11 -11
  35. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
  36. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
  37. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
  38. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
  39. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +131 -124
  40. package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
  41. package/package.json +1 -1
@@ -84,7 +84,7 @@ const u = async (a) => {
84
84
  }
85
85
  }, f = async (a, e = "de") => {
86
86
  try {
87
- let t = `${a}vocabularies/licence`;
87
+ let t = `${a}vocabularies/licenses`;
88
88
  return (await c.get(t)).data.result.results.map((r) => {
89
89
  var o;
90
90
  return {
@@ -0,0 +1,7 @@
1
+ import o from "./BasicInformationStep.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d0358859"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,180 @@
1
+ import { defineComponent as V, ref as g, computed as w, createElementBlock as z, openBlock as r, createElementVNode as t, createVNode as n, createTextVNode as m, unref as o, withCtx as i, Fragment as B, renderList as D, createBlock as h, createCommentVNode as b } from "vue";
2
+ import { FormKit as v } from "@formkit/vue";
3
+ import { PhLightbulb as S } from "@phosphor-icons/vue";
4
+ import L from "../../../../stories/components/LinkCard.vue.js";
5
+ import P from "../../../components/StepActionsSection.vue.js";
6
+ import l from "../ButtonV3.vue.js";
7
+ import x from "../Card.vue.js";
8
+ import E from "../TextArea/TextAreaDefinition.js";
9
+ const N = { class: "dpiV3_page V3-typography" }, I = { class: "funny-section" }, A = { class: "funny-section" }, F = {
10
+ id: "partners-section",
11
+ class: "funny-section"
12
+ }, R = { class: "partner-cards-container" }, W = { class: "action-container" }, $ = { class: "step-actions__prev-and-next" }, U = { class: "actions" }, Z = { class: "funny-section" }, j = 1e3, X = /* @__PURE__ */ V({
13
+ __name: "BasicInformationStep",
14
+ setup(K) {
15
+ const p = g(""), k = g([]);
16
+ g([]);
17
+ const _ = w(() => {
18
+ var f;
19
+ return ((f = p.value) == null ? void 0 : f.length) || 0;
20
+ });
21
+ return (f, e) => (r(), z("div", N, [
22
+ e[8] || (e[8] = t("section", { class: "funny-section" }, [
23
+ t("div", { class: "funny-flex" }, [
24
+ t("h4", null, "Beschreiben Sie den Prozessschritt zur Datensimulation"),
25
+ t("span", { class: "copy-large-regular" }, [
26
+ m(" Schildern Sie im Schritt der "),
27
+ t("strong", null, "Datensimulation"),
28
+ m(", ob und wie Sie auf Basis der verarbeiteten Daten Szenarien mithilfe von Simulationsmodellen nachgebildet und analysiert haben. ")
29
+ ])
30
+ ])
31
+ ], -1)),
32
+ t("section", I, [
33
+ n(o(v), {
34
+ id: "Beschreibung",
35
+ modelValue: p.value,
36
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => p.value = s),
37
+ class: "budgetArea",
38
+ label: "Beschreibung",
39
+ type: o(E),
40
+ name: "description",
41
+ "text-label": "Beschreibung",
42
+ placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
43
+ validation: "length:0,1000",
44
+ "validation-visibility": "live",
45
+ hint: "true",
46
+ help: `${_.value} von ${j} Zeichen`,
47
+ "count-hint": !0
48
+ }, null, 8, ["modelValue", "type", "help"])
49
+ ]),
50
+ t("section", A, [
51
+ n(x, { variant: "default" }, {
52
+ icon: i(() => [
53
+ n(o(S), {
54
+ size: 32,
55
+ color: "#009fe3"
56
+ })
57
+ ]),
58
+ title: i(() => e[2] || (e[2] = [
59
+ m(" Beispiel ", -1)
60
+ ])),
61
+ default: i(() => [
62
+ e[3] || (e[3] = t("p", null, " Basierend auf den verarbeiteten Daten werden mithilfe eines hydrologischen Simulationsmodells verschiedene Szenarien wie Starkregenereignisse oder Schneeschmelze durchgespielt. Die Simulation prognostiziert mögliche Überflutungsgebiete und berechnet die voraussichtlichen Auswirkungen auf die umliegende Infrastruktur. Die Ergebnisse dienen als Entscheidungsgrundlage für präventive Schutzmaßnahmen. ", -1))
63
+ ]),
64
+ _: 1,
65
+ __: [3]
66
+ })
67
+ ]),
68
+ t("section", F, [
69
+ e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
70
+ e[5] || (e[5] = t("span", { class: "copy-large-regular further-links-text" }, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zur Vorgehensweise in diesem Prozessschritt enthalten, wie etwa einzuhaltende Richtlinien oder Standardarbeitsanweisungen..", -1)),
71
+ t("div", R, [
72
+ n(o(v), {
73
+ modelValue: k.value,
74
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => k.value = s),
75
+ type: "list",
76
+ name: "links",
77
+ dynamic: ""
78
+ }, {
79
+ default: i(({ items: s, node: a, value: u }) => [
80
+ (r(!0), z(B, null, D(s, (c, d) => (r(), h(o(v), {
81
+ key: c,
82
+ type: "group",
83
+ index: d
84
+ }, {
85
+ default: i(() => [
86
+ n(L, null, {
87
+ action: i(() => [
88
+ n(l, {
89
+ "button-text": "Löschen",
90
+ size: "small",
91
+ variant: "tertiary",
92
+ "icon-start": "trash",
93
+ onClick: () => a.input(u.filter((y, C) => C !== d))
94
+ }, null, 8, ["onClick"])
95
+ ]),
96
+ _: 2
97
+ }, 1024)
98
+ ]),
99
+ _: 2
100
+ }, 1032, ["index"]))), 128)),
101
+ t("div", W, [
102
+ n(l, {
103
+ "button-text": "Link hinzufügen",
104
+ size: "medium",
105
+ variant: "tertiary",
106
+ "icon-start": "plus",
107
+ onClick: (c) => a.input(u.concat({}))
108
+ }, null, 8, ["onClick"])
109
+ ])
110
+ ]),
111
+ _: 1
112
+ }, 8, ["modelValue"])
113
+ ])
114
+ ]),
115
+ n(P, { "next-text": "Weiter zu Software" }, {
116
+ "prev-and-next": i(({
117
+ hidePrevious: s,
118
+ hideNext: a,
119
+ previousText: u,
120
+ nextText: c,
121
+ handlePrevious: d,
122
+ handleSubmit: y
123
+ }) => [
124
+ t("div", $, [
125
+ t("div", U, [
126
+ s ? b("", !0) : (r(), h(l, {
127
+ key: 0,
128
+ variant: "secondary",
129
+ size: "large",
130
+ "button-text": u,
131
+ "icon-start": "CaretLeft",
132
+ class: "previus-button",
133
+ onClick: d
134
+ }, null, 8, ["button-text", "onClick"])),
135
+ s ? b("", !0) : (r(), h(l, {
136
+ key: 1,
137
+ variant: "secondary",
138
+ size: "large",
139
+ "button-text": "Weiter ohne Datensimulation",
140
+ "icon-end": "CaretRight",
141
+ class: "secondary-button"
142
+ }))
143
+ ]),
144
+ a ? b("", !0) : (r(), h(l, {
145
+ key: 0,
146
+ variant: "primary",
147
+ size: "large",
148
+ "button-text": c,
149
+ "icon-end": "CaretRight",
150
+ class: "next-button",
151
+ onClick: y
152
+ }, null, 8, ["button-text", "onClick"]))
153
+ ])
154
+ ]),
155
+ _: 1
156
+ }),
157
+ t("section", Z, [
158
+ n(x, { variant: "default" }, {
159
+ icon: i(() => [
160
+ n(o(S), {
161
+ size: 32,
162
+ color: "#009fe3"
163
+ })
164
+ ]),
165
+ title: i(() => e[6] || (e[6] = [
166
+ m(" Vorsicht! ", -1)
167
+ ])),
168
+ default: i(() => [
169
+ e[7] || (e[7] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datensimulation" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
170
+ ]),
171
+ _: 1,
172
+ __: [7]
173
+ })
174
+ ])
175
+ ]));
176
+ }
177
+ });
178
+ export {
179
+ X as default
180
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./BasicInformationStep.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7c2ec289"]]);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,215 @@
1
+ import { defineComponent as M, ref as h, computed as j, useModel as D, inject as K, createElementBlock as V, openBlock as u, createElementVNode as t, createVNode as o, createBlock as m, createCommentVNode as g, createTextVNode as b, unref as d, withCtx as r, Fragment as L, renderList as P } from "vue";
2
+ import { FormKit as x } from "@formkit/vue";
3
+ import { PhLightbulb as F, PhExclamationMark as W } from "@phosphor-icons/vue";
4
+ import A from "../../../../stories/components/LinkCard.vue.js";
5
+ import I from "../../../components/StepActionsSection.vue.js";
6
+ import p from "../ButtonV3.vue.js";
7
+ import _ from "../Card.vue.js";
8
+ import N from "../TextArea/TextAreaDefinition.js";
9
+ import { dpiStepperKey as O } from "../../../utils/injectionKeys.js";
10
+ const Z = { class: "dpiV3_page V3-typography" }, $ = { class: "funny-section" }, G = { class: "funny-section" }, R = {
11
+ id: "partners-section",
12
+ class: "funny-section"
13
+ }, T = { class: "partner-cards-container" }, U = { class: "action-container" }, q = { class: "step-actions__prev-and-next" }, H = { class: "actions" }, J = 1e3, oe = /* @__PURE__ */ M({
14
+ __name: "BasicInformationStep",
15
+ props: {
16
+ modelValue: {},
17
+ modelModifiers: {}
18
+ },
19
+ emits: ["update:modelValue"],
20
+ setup(w) {
21
+ const v = h(""), z = h([]);
22
+ h([]);
23
+ const k = h(!1), B = j(() => {
24
+ var l;
25
+ return ((l = v.value) == null ? void 0 : l.length) || 0;
26
+ }), S = D(w, "modelValue"), y = K(O);
27
+ function E() {
28
+ const l = S.value;
29
+ if (!l || typeof l != "object") return !1;
30
+ const e = Object.keys(l).filter(
31
+ (n) => n.startsWith("4. Datenvisualisierung/")
32
+ );
33
+ for (const n of e) {
34
+ const s = l[n];
35
+ if (!s || typeof s != "object") continue;
36
+ const c = Object.keys(s).filter((a) => a !== "__resourceCount");
37
+ for (const a of c) {
38
+ const i = s[a];
39
+ if (Array.isArray(i) && i.length > 0 || typeof i == "string" && i.trim() !== "" || typeof i == "object" && i !== null && Object.keys(i).length > 0)
40
+ return k.value = !1, y == null ? void 0 : y.goTo("Vorschau");
41
+ }
42
+ }
43
+ return k.value = !0;
44
+ }
45
+ return (l, e) => (u(), V("div", Z, [
46
+ e[8] || (e[8] = t("section", { class: "funny-section" }, [
47
+ t("div", { class: "funny-flex" }, [
48
+ t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenvisualisierung"),
49
+ t("span", { class: "copy-large-regular" }, [
50
+ b(" Führen Sie im Schritt der "),
51
+ t("strong", null, "Datenvisualisierung"),
52
+ b(" aus, in welcher Form die Ergebnisse der Simulationen verständlich aufbereitet und visualisiert wurden. ")
53
+ ])
54
+ ])
55
+ ], -1)),
56
+ t("section", $, [
57
+ o(d(x), {
58
+ id: "Beschreibung",
59
+ modelValue: v.value,
60
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => v.value = n),
61
+ class: "budgetArea",
62
+ label: "Beschreibung",
63
+ type: d(N),
64
+ name: "description",
65
+ "text-label": "Beschreibung",
66
+ placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
67
+ validation: "length:0,1000",
68
+ "validation-visibility": "live",
69
+ hint: "true",
70
+ help: `${B.value} von ${J} Zeichen`,
71
+ "count-hint": !0
72
+ }, null, 8, ["modelValue", "type", "help"])
73
+ ]),
74
+ t("section", G, [
75
+ o(_, { variant: "default" }, {
76
+ icon: r(() => [
77
+ o(d(F), {
78
+ size: 32,
79
+ color: "#009FE3"
80
+ })
81
+ ]),
82
+ title: r(() => e[2] || (e[2] = [
83
+ b(" Beispiel ", -1)
84
+ ])),
85
+ default: r(() => [
86
+ e[3] || (e[3] = t("p", null, " Die Simulationsergebnisse und aktuellen Messdaten werden in einer interaktiven Kartenanwendung dargestellt. Zusätzlich werden visuelle Warnhinweise sowie zeitbasierte Entwicklungen übersichtlich präsentiert, um die Kommunikation mit Einsatzkräften und Bürgern zu unterstützen. ", -1))
87
+ ]),
88
+ _: 1,
89
+ __: [3]
90
+ })
91
+ ]),
92
+ t("section", R, [
93
+ e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
94
+ e[5] || (e[5] = t("span", { class: "copy-large-regular further-links-text" }, "Geben Sie hier Methoden, Verfahren oder Werkzeuge an, die im Prozessschritt verwendet wurden (z.B. KI-Modelle, GIS-Anwendungen oder spezielle Messtechniken).", -1)),
95
+ t("div", T, [
96
+ o(d(x), {
97
+ modelValue: z.value,
98
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => z.value = n),
99
+ type: "list",
100
+ name: "links",
101
+ dynamic: ""
102
+ }, {
103
+ default: r(({ items: n, node: s, value: c }) => [
104
+ (u(!0), V(L, null, P(n, (a, i) => (u(), m(d(x), {
105
+ key: a,
106
+ type: "group",
107
+ index: i
108
+ }, {
109
+ default: r(() => [
110
+ o(A, null, {
111
+ action: r(() => [
112
+ o(p, {
113
+ "button-text": "Löschen",
114
+ size: "small",
115
+ variant: "tertiary",
116
+ "icon-start": "trash",
117
+ onClick: () => s.input(c.filter((C, f) => f !== i))
118
+ }, null, 8, ["onClick"])
119
+ ]),
120
+ _: 2
121
+ }, 1024)
122
+ ]),
123
+ _: 2
124
+ }, 1032, ["index"]))), 128)),
125
+ t("div", U, [
126
+ o(p, {
127
+ "button-text": "Link hinzufügen",
128
+ size: "medium",
129
+ variant: "tertiary",
130
+ "icon-start": "plus",
131
+ onClick: (a) => s.input(c.concat({}))
132
+ }, null, 8, ["onClick"])
133
+ ])
134
+ ]),
135
+ _: 1
136
+ }, 8, ["modelValue"])
137
+ ])
138
+ ]),
139
+ o(I, {
140
+ "next-text": "Weiter zu Software",
141
+ class: "actions-container"
142
+ }, {
143
+ "prev-and-next": r(({
144
+ hidePrevious: n,
145
+ hideNext: s,
146
+ previousText: c,
147
+ nextText: a,
148
+ handlePrevious: i,
149
+ handleSubmit: C
150
+ }) => [
151
+ t("div", q, [
152
+ t("div", H, [
153
+ n ? g("", !0) : (u(), m(p, {
154
+ key: 0,
155
+ variant: "secondary",
156
+ size: "large",
157
+ "button-text": c,
158
+ "icon-start": "CaretLeft",
159
+ class: "previus-button",
160
+ onClick: i
161
+ }, null, 8, ["button-text", "onClick"])),
162
+ n ? g("", !0) : (u(), m(p, {
163
+ key: 1,
164
+ variant: "secondary",
165
+ class: "skip-button",
166
+ onClick: E,
167
+ size: "large",
168
+ "button-text": "Weiter ohne Datensimulation",
169
+ "icon-end": "CaretRight"
170
+ }))
171
+ ]),
172
+ s ? g("", !0) : (u(), m(p, {
173
+ key: 0,
174
+ variant: "primary",
175
+ size: "large",
176
+ "button-text": a,
177
+ "icon-end": "CaretRight",
178
+ class: "next-button",
179
+ onClick: () => {
180
+ const f = C();
181
+ return console.log(f), f;
182
+ }
183
+ }, null, 8, ["button-text", "onClick"]))
184
+ ])
185
+ ]),
186
+ _: 1
187
+ }),
188
+ k.value ? (u(), m(_, {
189
+ key: 0,
190
+ variant: "error",
191
+ class: "error"
192
+ }, {
193
+ icon: r(() => [
194
+ o(d(W), {
195
+ size: 32,
196
+ color: "currentColor"
197
+ })
198
+ ]),
199
+ title: r(() => e[6] || (e[6] = [
200
+ t("span", { class: "error-title" }, "Fehler", -1)
201
+ ])),
202
+ default: r(() => [
203
+ e[7] || (e[7] = t("ul", { class: "validation-errors" }, [
204
+ t("li", null, " Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ")
205
+ ], -1))
206
+ ]),
207
+ _: 1,
208
+ __: [7]
209
+ })) : g("", !0)
210
+ ]));
211
+ }
212
+ });
213
+ export {
214
+ oe as default
215
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./DpiModalBase.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ a(o, [["__scopeId", "data-v-c3a5360e"]]);
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7c55601b"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,40 +1,46 @@
1
- import { defineComponent as f, mergeModels as v, useModel as c, computed as V, createBlock as k, openBlock as _, unref as a, withCtx as n, createVNode as i, createElementVNode as o, renderSlot as l, createElementBlock as B, createCommentVNode as C } from "vue";
2
- import { TransitionRoot as b, Dialog as y, TransitionChild as u, DialogPanel as M } from "@headlessui/vue";
3
- import h from "./CrossOutButton.vue.js";
4
- const $ = { class: "dpiV3_RapModalContainer" }, g = { class: "dpiV3_RapModalInner" }, R = { class: "dpiV3_modalHead" }, w = {
1
+ import { defineComponent as v, mergeModels as V, useModel as B, computed as k, createBlock as y, openBlock as s, unref as a, withCtx as n, createVNode as i, createElementVNode as o, createElementBlock as _, createCommentVNode as m, renderSlot as r, toDisplayString as C } from "vue";
2
+ import { TransitionRoot as h, Dialog as b, TransitionChild as c, DialogPanel as M } from "@headlessui/vue";
3
+ import g from "./CrossOutButton.vue.js";
4
+ const $ = { class: "dpiV3_RapModalContainer" }, D = { class: "dpiV3_RapModalInner" }, R = { class: "dpiV3_modalHead" }, w = { class: "editModalHeader" }, N = {
5
5
  key: 0,
6
6
  class: "dpiV3_closeButtonContainer"
7
- }, D = { class: "dpiV3_modalBody" }, N = { class: "dpiV3_interactionWrap" }, P = /* @__PURE__ */ f({
7
+ }, O = { class: "dpiV3_modalBody" }, E = {
8
+ key: 0,
9
+ class: "dpiV3_interactionWrap"
10
+ }, S = /* @__PURE__ */ v({
8
11
  __name: "DpiModalBase",
9
- props: /* @__PURE__ */ v({
10
- persistent: { type: Boolean }
12
+ props: /* @__PURE__ */ V({
13
+ persistent: { type: Boolean },
14
+ hideCloseBtn: { type: Boolean },
15
+ compactLayout: { type: Boolean },
16
+ title: {}
11
17
  }, {
12
18
  modelValue: { type: Boolean },
13
19
  modelModifiers: {}
14
20
  }),
15
21
  emits: ["update:modelValue"],
16
- setup(r) {
17
- const d = r, p = c(r, "modelValue"), s = V({
22
+ setup(d) {
23
+ const p = d, u = B(d, "modelValue"), l = k({
18
24
  get() {
19
- return p.value;
25
+ return u.value;
20
26
  },
21
27
  set(e) {
22
- d.persistent && !e || (p.value = e);
28
+ p.persistent && !e || (u.value = e);
23
29
  }
24
30
  });
25
- return (e, t) => (_(), k(a(b), {
26
- show: s.value,
31
+ return (e, t) => (s(), y(a(h), {
32
+ show: l.value,
27
33
  as: "template",
28
34
  unmount: !1
29
35
  }, {
30
36
  default: n(() => [
31
- i(a(y), {
37
+ i(a(b), {
32
38
  style: { position: "relative", "z-index": "10000" },
33
39
  unmount: !1,
34
- onClose: t[1] || (t[1] = (m) => s.value = !1)
40
+ onClose: t[1] || (t[1] = (f) => l.value = !1)
35
41
  }, {
36
42
  default: n(() => [
37
- i(a(u), {
43
+ i(a(c), {
38
44
  enter: "dpiV3__backdrop-transition--enter",
39
45
  leave: "dpiV3__backdrop-transition--leave",
40
46
  "enter-from": "dpiV3__backdrop-transition--enter-from",
@@ -50,7 +56,7 @@ const $ = { class: "dpiV3_RapModalContainer" }, g = { class: "dpiV3_RapModalInne
50
56
  __: [2]
51
57
  }),
52
58
  o("div", $, [
53
- i(a(u), {
59
+ i(a(c), {
54
60
  enter: "dpiV3__modal-transition--enter",
55
61
  leave: "dpiV3__modal-transition--leave",
56
62
  "enter-from": "dpiV3__modal-transition--enter-from",
@@ -62,24 +68,26 @@ const $ = { class: "dpiV3_RapModalContainer" }, g = { class: "dpiV3_RapModalInne
62
68
  default: n(() => [
63
69
  i(a(M), { class: "dpiV3_RapModalOuter" }, {
64
70
  default: n(() => [
65
- o("div", g, [
71
+ o("div", D, [
66
72
  o("div", R, [
67
- l(e.$slots, "header", {}, void 0, !0),
68
- d.persistent ? C("", !0) : (_(), B("div", w, [
69
- i(h, {
73
+ r(e.$slots, "header", {}, () => [
74
+ o("h2", w, C(e.title) + " bearbeiten ", 1)
75
+ ], !0),
76
+ !p.persistent && !e.hideCloseBtn ? (s(), _("div", N, [
77
+ i(g, {
70
78
  class: "dpiV3_closeButton",
71
79
  type: "default",
72
- onClick: t[0] || (t[0] = (m) => s.value = !1)
80
+ onClick: t[0] || (t[0] = (f) => l.value = !1)
73
81
  })
74
- ]))
82
+ ])) : m("", !0)
75
83
  ]),
76
- o("div", D, [
77
- l(e.$slots, "default", {}, void 0, !0)
84
+ o("div", O, [
85
+ r(e.$slots, "default", {}, void 0, !0)
78
86
  ])
79
87
  ]),
80
- o("div", N, [
81
- l(e.$slots, "footer", {}, void 0, !0)
82
- ])
88
+ e.compactLayout ? m("", !0) : (s(), _("div", E, [
89
+ r(e.$slots, "footer", {}, void 0, !0)
90
+ ]))
83
91
  ]),
84
92
  _: 3
85
93
  })
@@ -96,5 +104,5 @@ const $ = { class: "dpiV3_RapModalContainer" }, g = { class: "dpiV3_RapModalInne
96
104
  }
97
105
  });
98
106
  export {
99
- P as default
107
+ S as default
100
108
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./OptionalDataStep.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-667626eb"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-216d8d8e"]]);
5
5
  export {
6
6
  e as default
7
7
  };