@piveau/dpi 0.2.0-alpha.41 → 0.2.0-alpha.42

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 (29) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +3 -3
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +2 -2
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +97 -80
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +107 -90
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +96 -80
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +2 -2
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +96 -77
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +120 -109
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -38
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +9 -8
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +114 -103
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +180 -185
  22. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +101 -90
  24. package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitMessages.js +14 -0
  25. package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitSummary.js +46 -0
  26. package/dist/packages/dpi/src/data-provider-interface/utils/useSteps.js +35 -29
  27. package/dist/packages/dpi/src/utils/twinbyUtils.js +1 -0
  28. package/dist/styles/_dpi.scss +16 -0
  29. package/package.json +1 -1
@@ -1,100 +1,116 @@
1
- import { defineComponent as B, ref as b, computed as D, inject as P, createElementBlock as _, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as m, unref as o, withCtx as i, Fragment as L, renderList as W, createBlock as h, createCommentVNode as v } from "vue";
2
- import { FormKit as k } from "@formkit/vue";
3
- import { PhLightbulb as z } from "@phosphor-icons/vue";
4
- import A from "../../../../stories/components/LinkCard.vue.js";
5
- import I from "../../../components/StepActionsSection.vue.js";
6
- import { dpiStepperKey as N } from "../../../utils/injectionKeys.js";
7
- import a from "../ButtonV3.vue.js";
8
- import C from "../Card.vue.js";
9
- import R from "../TextArea/TextAreaDefinition.js";
10
- const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, T = { class: "funny-section" }, $ = {
1
+ import { defineComponent as I, ref as v, computed as _, inject as P, createElementBlock as S, openBlock as l, createElementVNode as t, createVNode as i, createTextVNode as h, unref as a, withCtx as r, Fragment as R, renderList as W, createBlock as g, createCommentVNode as k } from "vue";
2
+ import { FormKit as y } from "@formkit/vue";
3
+ import { PhLightbulb as V } from "@phosphor-icons/vue";
4
+ import q from "../../../../stories/components/LinkCard.vue.js";
5
+ import { empty as w, generateIsRequiredMsg as N } from "../../../../utils/twinbyUtils.js";
6
+ import $ from "../../../components/StepActionsSection.vue.js";
7
+ import { dpiStepperKey as E } from "../../../utils/injectionKeys.js";
8
+ import u from "../ButtonV3.vue.js";
9
+ import B from "../Card.vue.js";
10
+ import F from "../TextArea/TextAreaDefinition.js";
11
+ const M = { class: "dpiV3_page V3-typography" }, T = { class: "funny-section" }, j = { class: "funny-section" }, K = {
11
12
  id: "partners-section",
12
13
  class: "funny-section"
13
- }, j = { class: "partner-cards-container" }, K = { class: "action-container" }, M = { class: "step-actions__prev-and-next" }, U = { class: "actions" }, Z = { class: "funny-section" }, q = 1e3, ie = /* @__PURE__ */ B({
14
+ }, U = { class: "partner-cards-container" }, Z = { class: "action-container" }, G = { class: "step-actions__prev-and-next" }, H = { class: "actions" }, O = { class: "funny-section" }, J = 1e3, le = /* @__PURE__ */ I({
14
15
  __name: "BasicInformationStep",
15
- setup(G) {
16
- const p = b(""), y = b([]);
17
- b([]);
18
- const V = D(() => {
19
- var g;
20
- return ((g = p.value) == null ? void 0 : g.length) || 0;
21
- }), f = P(N);
22
- function w() {
23
- f == null || f.goToStep("3. Datensimulation/Grundlegende Informationen");
16
+ setup(Q) {
17
+ const d = v(""), c = v([]);
18
+ v([]);
19
+ const L = _(() => {
20
+ var s;
21
+ return ((s = d.value) == null ? void 0 : s.length) || 0;
22
+ }), b = P(E);
23
+ function A() {
24
+ b == null || b.goToStep("3. Datensimulation/Grundlegende Informationen");
24
25
  }
25
- return (g, e) => (s(), _("div", E, [
26
- e[8] || (e[8] = t("section", { class: "funny-section" }, [
26
+ const x = _(() => {
27
+ const s = !w(d.value), e = Array.isArray(c.value) && c.value.length > 0;
28
+ return s || e;
29
+ });
30
+ function D(s) {
31
+ var n, o;
32
+ const e = s.at("$parent");
33
+ return !e || e.type !== "group" ? !0 : Array.isArray((n = e.value) == null ? void 0 : n.links) && ((o = e.value) == null ? void 0 : o.links).length > 0 ? !w(s.value) : !0;
34
+ }
35
+ return (s, e) => (l(), S("div", M, [
36
+ e[9] || (e[9] = t("section", { class: "funny-section" }, [
27
37
  t("div", { class: "funny-flex" }, [
28
38
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenverarbeitung"),
29
39
  t("span", { class: "copy-large-regular" }, [
30
- m(" Beschreiben Sie im Schritt der "),
40
+ h(" Beschreiben Sie im Schritt der "),
31
41
  t("strong", null, "Datenverarbeitung"),
32
- m(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
42
+ h(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
33
43
  ])
34
44
  ])
35
45
  ], -1)),
36
- t("section", F, [
37
- n(o(k), {
46
+ t("section", T, [
47
+ i(a(y), {
38
48
  id: "Beschreibung",
39
- modelValue: p.value,
40
- "onUpdate:modelValue": e[0] || (e[0] = (r) => p.value = r),
49
+ modelValue: d.value,
50
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => d.value = n),
41
51
  class: "budgetArea",
42
52
  label: "Beschreibung",
43
- type: o(R),
53
+ type: a(F),
44
54
  name: "description",
45
55
  "text-label": "Beschreibung",
46
56
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
47
- validation: "length:0,1000",
57
+ validation: "+requireIfLink|length:0,1000",
48
58
  "validation-visibility": "submit",
49
59
  hint: "true",
50
- help: `${V.value} von ${q} Zeichen`,
51
- "count-hint": !0
52
- }, null, 8, ["modelValue", "type", "help"])
60
+ help: `${L.value} von ${J} Zeichen`,
61
+ "count-hint": !0,
62
+ "validation-rules": {
63
+ requireIfLink: D
64
+ },
65
+ "validation-messages": {
66
+ requireIfLink: a(N)("Beschreibung")
67
+ }
68
+ }, null, 8, ["modelValue", "type", "help", "validation-rules", "validation-messages"])
53
69
  ]),
54
- t("section", T, [
55
- n(C, { variant: "default" }, {
56
- icon: i(() => [
57
- n(o(z), {
70
+ t("section", j, [
71
+ i(B, { variant: "default" }, {
72
+ icon: r(() => [
73
+ i(a(V), {
58
74
  size: 32,
59
75
  color: "#009fe3"
60
76
  })
61
77
  ]),
62
- title: i(() => e[2] || (e[2] = [
63
- m(" Beispiel ", -1)
78
+ title: r(() => e[3] || (e[3] = [
79
+ h(" Beispiel ", -1)
64
80
  ])),
65
- default: i(() => [
66
- e[3] || (e[3] = t("p", null, " Die eingegangenen Messdaten werden automatisiert geprüft, bereinigt und mithilfe von Algorithmen analysiert. Ausreißer und fehlerhafte Werte werden erkannt und im Rahmen der Datenqualitätssicherung gefiltert. Anschließend werden die Wasserstandsdaten mit weiteren relevanten Informationen, wie Wetterdaten oder Bodenbeschaffenheit, kombiniert und für Prognoseberechnungen aufbereitet. ", -1))
81
+ default: r(() => [
82
+ e[4] || (e[4] = t("p", null, " Die eingegangenen Messdaten werden automatisiert geprüft, bereinigt und mithilfe von Algorithmen analysiert. Ausreißer und fehlerhafte Werte werden erkannt und im Rahmen der Datenqualitätssicherung gefiltert. Anschließend werden die Wasserstandsdaten mit weiteren relevanten Informationen, wie Wetterdaten oder Bodenbeschaffenheit, kombiniert und für Prognoseberechnungen aufbereitet. ", -1))
67
83
  ]),
68
84
  _: 1,
69
- __: [3]
85
+ __: [4]
70
86
  })
71
87
  ]),
72
- t("section", $, [
73
- e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
74
- 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)),
75
- t("div", j, [
76
- n(o(k), {
77
- modelValue: y.value,
78
- "onUpdate:modelValue": e[1] || (e[1] = (r) => y.value = r),
88
+ t("section", K, [
89
+ e[5] || (e[5] = t("h5", null, " Weiterführende Links (optional) ", -1)),
90
+ e[6] || (e[6] = 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)),
91
+ t("div", U, [
92
+ i(a(y), {
93
+ modelValue: c.value,
94
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => c.value = n),
79
95
  type: "list",
80
96
  name: "links",
81
97
  dynamic: ""
82
98
  }, {
83
- default: i(({ items: r, node: l, value: u }) => [
84
- (s(!0), _(L, null, W(r, (d, c) => (s(), h(o(k), {
85
- key: d,
99
+ default: r(({ items: n, node: o, value: m }) => [
100
+ (l(!0), S(R, null, W(n, (p, f) => (l(), g(a(y), {
101
+ key: p,
86
102
  type: "group",
87
- index: c
103
+ index: f
88
104
  }, {
89
- default: i(() => [
90
- n(A, null, {
91
- action: i(() => [
92
- n(a, {
105
+ default: r(() => [
106
+ i(q, null, {
107
+ action: r(() => [
108
+ i(u, {
93
109
  "button-text": "Löschen",
94
110
  size: "small",
95
111
  variant: "tertiary",
96
112
  "icon-start": "trash",
97
- onClick: () => l.input(u.filter((x, S) => S !== c))
113
+ onClick: () => o.input(m.filter((z, C) => C !== f))
98
114
  }, null, 8, ["onClick"])
99
115
  ]),
100
116
  _: 2
@@ -102,13 +118,13 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
102
118
  ]),
103
119
  _: 2
104
120
  }, 1032, ["index"]))), 128)),
105
- t("div", K, [
106
- n(a, {
121
+ t("div", Z, [
122
+ i(u, {
107
123
  "button-text": "Link hinzufügen",
108
124
  size: "medium",
109
125
  variant: "tertiary",
110
126
  "icon-start": "plus",
111
- onClick: (d) => l.input(u.concat({}))
127
+ onClick: (p) => o.input(m.concat({}))
112
128
  }, null, 8, ["onClick"])
113
129
  ])
114
130
  ]),
@@ -116,73 +132,74 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
116
132
  }, 8, ["modelValue"])
117
133
  ])
118
134
  ]),
119
- n(I, {
135
+ i($, {
120
136
  compact: "",
121
137
  "next-text": "Weiter zu Software"
122
138
  }, {
123
- "prev-and-next": i(({
124
- hidePrevious: r,
125
- hideNext: l,
126
- previousText: u,
127
- nextText: d,
128
- handlePrevious: c,
129
- handleSubmit: x
139
+ "prev-and-next": r(({
140
+ hidePrevious: n,
141
+ hideNext: o,
142
+ previousText: m,
143
+ nextText: p,
144
+ handlePrevious: f,
145
+ handleSubmit: z
130
146
  }) => [
131
- t("div", M, [
132
- t("div", U, [
133
- r ? v("", !0) : (s(), h(a, {
147
+ t("div", G, [
148
+ t("div", H, [
149
+ n ? k("", !0) : (l(), g(u, {
134
150
  key: 0,
135
151
  variant: "secondary",
136
152
  size: "large",
137
- "button-text": u,
153
+ "button-text": m,
138
154
  "icon-start": "CaretLeft",
139
155
  class: "previus-button",
140
- onClick: c
156
+ onClick: f
141
157
  }, null, 8, ["button-text", "onClick"])),
142
- r ? v("", !0) : (s(), h(a, {
158
+ n ? k("", !0) : (l(), g(u, {
143
159
  key: 1,
160
+ disabled: x.value,
144
161
  variant: "secondary",
145
162
  size: "large",
146
163
  "button-text": "Weiter ohne Datenverarbeitung",
147
164
  "icon-end": "CaretRight",
148
165
  class: "secondary-button",
149
- onClick: w
150
- }))
166
+ onClick: e[2] || (e[2] = (C) => x.value ? null : A())
167
+ }, null, 8, ["disabled"]))
151
168
  ]),
152
- l ? v("", !0) : (s(), h(a, {
169
+ o ? k("", !0) : (l(), g(u, {
153
170
  key: 0,
154
171
  variant: "primary",
155
172
  size: "large",
156
- "button-text": d,
173
+ "button-text": p,
157
174
  "icon-end": "CaretRight",
158
175
  class: "next-button",
159
- onClick: x
176
+ onClick: z
160
177
  }, null, 8, ["button-text", "onClick"]))
161
178
  ])
162
179
  ]),
163
180
  _: 1
164
181
  }),
165
- t("section", Z, [
166
- n(C, { variant: "default" }, {
167
- icon: i(() => [
168
- n(o(z), {
182
+ t("section", O, [
183
+ i(B, { variant: "default" }, {
184
+ icon: r(() => [
185
+ i(a(V), {
169
186
  size: 32,
170
187
  color: "#009fe3"
171
188
  })
172
189
  ]),
173
- title: i(() => e[6] || (e[6] = [
174
- m(" Vorsicht! ", -1)
190
+ title: r(() => e[7] || (e[7] = [
191
+ h(" Vorsicht! ", -1)
175
192
  ])),
176
- default: i(() => [
177
- e[7] || (e[7] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datenverarbeitung" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
193
+ default: r(() => [
194
+ e[8] || (e[8] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datenverarbeitung" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
178
195
  ]),
179
196
  _: 1,
180
- __: [7]
197
+ __: [8]
181
198
  })
182
199
  ])
183
200
  ]));
184
201
  }
185
202
  });
186
203
  export {
187
- ie as default
204
+ le as default
188
205
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9722e622"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fe6419ed"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,97 +1,112 @@
1
- import { defineComponent as w, ref as b, computed as B, inject as D, createElementBlock as z, openBlock as o, createElementVNode as t, createVNode as n, createTextVNode as p, unref as s, withCtx as i, Fragment as L, renderList as P, createBlock as h, createCommentVNode as v } from "vue";
2
- import { FormKit as k } from "@formkit/vue";
3
- import { PhLightbulb as x } from "@phosphor-icons/vue";
4
- import E from "../../../../stories/components/LinkCard.vue.js";
5
- import I from "../../../components/StepActionsSection.vue.js";
6
- import { dpiStepperKey as N } from "../../../utils/injectionKeys.js";
7
- import l from "../ButtonV3.vue.js";
8
- import _ from "../Card.vue.js";
9
- import A from "../TextArea/TextAreaDefinition.js";
10
- const F = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" }, W = { class: "funny-section" }, $ = {
1
+ import { defineComponent as I, ref as b, computed as x, inject as A, createElementBlock as C, openBlock as l, createElementVNode as t, createVNode as i, createTextVNode as g, unref as o, withCtx as r, Fragment as P, renderList as E, createBlock as v, createCommentVNode as k } from "vue";
2
+ import { FormKit as y } from "@formkit/vue";
3
+ import { PhLightbulb as _ } from "@phosphor-icons/vue";
4
+ import N from "../../../../stories/components/LinkCard.vue.js";
5
+ import { empty as V, generateIsRequiredMsg as q } from "../../../../utils/twinbyUtils.js";
6
+ import R from "../../../components/StepActionsSection.vue.js";
7
+ import { dpiStepperKey as $ } from "../../../utils/injectionKeys.js";
8
+ import u from "../ButtonV3.vue.js";
9
+ import B from "../Card.vue.js";
10
+ import F from "../TextArea/TextAreaDefinition.js";
11
+ const W = { class: "dpiV3_page V3-typography" }, j = { class: "funny-section" }, K = { class: "funny-section" }, M = {
11
12
  id: "partners-section",
12
13
  class: "funny-section"
13
- }, j = { class: "partner-cards-container" }, K = { class: "action-container" }, T = { class: "step-actions__prev-and-next" }, U = { class: "actions" }, Z = { class: "funny-section" }, G = 1e3, ne = /* @__PURE__ */ w({
14
+ }, T = { class: "partner-cards-container" }, U = { class: "action-container" }, Z = { class: "step-actions__prev-and-next" }, G = { class: "actions" }, H = { class: "funny-section" }, O = 1e3, ae = /* @__PURE__ */ I({
14
15
  __name: "BasicInformationStep",
15
- setup(M) {
16
- const f = b(""), y = b([]);
16
+ setup(J) {
17
+ const d = b(""), c = b([]);
17
18
  b([]);
18
- const C = B(() => {
19
- var g;
20
- return ((g = f.value) == null ? void 0 : g.length) || 0;
21
- }), V = D(N);
22
- return (g, e) => (o(), z("div", F, [
19
+ const w = x(() => {
20
+ var s;
21
+ return ((s = d.value) == null ? void 0 : s.length) || 0;
22
+ }), L = A($), S = x(() => {
23
+ const s = !V(d.value), e = Array.isArray(c.value) && c.value.length > 0;
24
+ return s || e;
25
+ });
26
+ function D(s) {
27
+ var n, a;
28
+ const e = s.at("$parent");
29
+ return !e || e.type !== "group" ? !0 : Array.isArray((n = e.value) == null ? void 0 : n.links) && ((a = e.value) == null ? void 0 : a.links).length > 0 ? !V(s.value) : !0;
30
+ }
31
+ return (s, e) => (l(), C("div", W, [
23
32
  e[9] || (e[9] = t("section", { class: "funny-section" }, [
24
33
  t("div", { class: "funny-flex" }, [
25
34
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datensimulation"),
26
35
  t("span", { class: "copy-large-regular" }, [
27
- p(" Schildern Sie im Schritt der "),
36
+ g(" Schildern Sie im Schritt der "),
28
37
  t("strong", null, "Datensimulation"),
29
- p(", ob und wie Sie auf Basis der verarbeiteten Daten Szenarien mithilfe von Simulationsmodellen nachgebildet und analysiert haben. ")
38
+ g(", ob und wie Sie auf Basis der verarbeiteten Daten Szenarien mithilfe von Simulationsmodellen nachgebildet und analysiert haben. ")
30
39
  ])
31
40
  ])
32
41
  ], -1)),
33
- t("section", R, [
34
- n(s(k), {
42
+ t("section", j, [
43
+ i(o(y), {
35
44
  id: "Beschreibung",
36
- modelValue: f.value,
37
- "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
45
+ modelValue: d.value,
46
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => d.value = n),
38
47
  class: "budgetArea",
39
48
  label: "Beschreibung",
40
- type: s(A),
49
+ type: o(F),
41
50
  name: "description",
42
51
  "text-label": "Beschreibung",
43
52
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
44
- validation: "length:0,1000",
53
+ validation: "+requireIfLink|length:0,1000",
45
54
  "validation-visibility": "live",
46
55
  hint: "true",
47
- help: `${C.value} von ${G} Zeichen`,
48
- "count-hint": !0
49
- }, null, 8, ["modelValue", "type", "help"])
56
+ help: `${w.value} von ${O} Zeichen`,
57
+ "count-hint": !0,
58
+ "validation-rules": {
59
+ requireIfLink: D
60
+ },
61
+ "validation-messages": {
62
+ requireIfLink: o(q)("Beschreibung")
63
+ }
64
+ }, null, 8, ["modelValue", "type", "help", "validation-rules", "validation-messages"])
50
65
  ]),
51
- t("section", W, [
52
- n(_, { variant: "default" }, {
53
- icon: i(() => [
54
- n(s(x), {
66
+ t("section", K, [
67
+ i(B, { variant: "default" }, {
68
+ icon: r(() => [
69
+ i(o(_), {
55
70
  size: 32,
56
71
  color: "#009fe3"
57
72
  })
58
73
  ]),
59
- title: i(() => e[3] || (e[3] = [
60
- p(" Beispiel ", -1)
74
+ title: r(() => e[3] || (e[3] = [
75
+ g(" Beispiel ", -1)
61
76
  ])),
62
- default: i(() => [
77
+ default: r(() => [
63
78
  e[4] || (e[4] = 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))
64
79
  ]),
65
80
  _: 1,
66
81
  __: [4]
67
82
  })
68
83
  ]),
69
- t("section", $, [
84
+ t("section", M, [
70
85
  e[5] || (e[5] = t("h5", null, " Weiterführende Links (optional) ", -1)),
71
86
  e[6] || (e[6] = 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)),
72
- t("div", j, [
73
- n(s(k), {
74
- modelValue: y.value,
75
- "onUpdate:modelValue": e[1] || (e[1] = (r) => y.value = r),
87
+ t("div", T, [
88
+ i(o(y), {
89
+ modelValue: c.value,
90
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => c.value = n),
76
91
  type: "list",
77
92
  name: "links",
78
93
  dynamic: ""
79
94
  }, {
80
- default: i(({ items: r, node: a, value: u }) => [
81
- (o(!0), z(L, null, P(r, (d, c) => (o(), h(s(k), {
82
- key: d,
95
+ default: r(({ items: n, node: a, value: m }) => [
96
+ (l(!0), C(P, null, E(n, (p, h) => (l(), v(o(y), {
97
+ key: p,
83
98
  type: "group",
84
- index: c
99
+ index: h
85
100
  }, {
86
- default: i(() => [
87
- n(E, null, {
88
- action: i(() => [
89
- n(l, {
101
+ default: r(() => [
102
+ i(N, null, {
103
+ action: r(() => [
104
+ i(u, {
90
105
  "button-text": "Löschen",
91
106
  size: "small",
92
107
  variant: "tertiary",
93
108
  "icon-start": "trash",
94
- onClick: () => a.input(u.filter((S, m) => m !== c))
109
+ onClick: () => a.input(m.filter((z, f) => f !== h))
95
110
  }, null, 8, ["onClick"])
96
111
  ]),
97
112
  _: 2
@@ -99,13 +114,13 @@ const F = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
99
114
  ]),
100
115
  _: 2
101
116
  }, 1032, ["index"]))), 128)),
102
- t("div", K, [
103
- n(l, {
117
+ t("div", U, [
118
+ i(u, {
104
119
  "button-text": "Link hinzufügen",
105
120
  size: "medium",
106
121
  variant: "tertiary",
107
122
  "icon-start": "plus",
108
- onClick: (d) => a.input(u.concat({}))
123
+ onClick: (p) => a.input(m.concat({}))
109
124
  }, null, 8, ["onClick"])
110
125
  ])
111
126
  ]),
@@ -113,67 +128,68 @@ const F = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
113
128
  }, 8, ["modelValue"])
114
129
  ])
115
130
  ]),
116
- n(I, {
131
+ i(R, {
117
132
  compact: "",
118
133
  "next-text": "Weiter zu Software"
119
134
  }, {
120
- "prev-and-next": i(({
121
- hidePrevious: r,
135
+ "prev-and-next": r(({
136
+ hidePrevious: n,
122
137
  hideNext: a,
123
- previousText: u,
124
- nextText: d,
125
- handlePrevious: c,
126
- handleSubmit: S
138
+ previousText: m,
139
+ nextText: p,
140
+ handlePrevious: h,
141
+ handleSubmit: z
127
142
  }) => [
128
- t("div", T, [
129
- t("div", U, [
130
- r ? v("", !0) : (o(), h(l, {
143
+ t("div", Z, [
144
+ t("div", G, [
145
+ n ? k("", !0) : (l(), v(u, {
131
146
  key: 0,
132
147
  variant: "secondary",
133
148
  size: "large",
134
- "button-text": u,
149
+ "button-text": m,
135
150
  "icon-start": "CaretLeft",
136
151
  class: "previus-button",
137
- onClick: c
152
+ onClick: h
138
153
  }, null, 8, ["button-text", "onClick"])),
139
- r ? v("", !0) : (o(), h(l, {
154
+ n ? k("", !0) : (l(), v(u, {
140
155
  key: 1,
156
+ disabled: S.value,
141
157
  variant: "secondary",
142
158
  size: "large",
143
159
  "button-text": "Weiter ohne Datensimulation",
144
160
  "icon-end": "CaretRight",
145
161
  class: "secondary-button",
146
162
  onClick: e[2] || (e[2] = () => {
147
- var m;
148
- return (m = s(V)) == null ? void 0 : m.goToStep("4. Datenvisualisierung/Grundlegende Informationen");
163
+ var f;
164
+ S.value || (f = o(L)) == null || f.goToStep("4. Datenvisualisierung/Grundlegende Informationen");
149
165
  })
150
- }))
166
+ }, null, 8, ["disabled"]))
151
167
  ]),
152
- a ? v("", !0) : (o(), h(l, {
168
+ a ? k("", !0) : (l(), v(u, {
153
169
  key: 0,
154
170
  variant: "primary",
155
171
  size: "large",
156
- "button-text": d,
172
+ "button-text": p,
157
173
  "icon-end": "CaretRight",
158
174
  class: "next-button",
159
- onClick: S
175
+ onClick: z
160
176
  }, null, 8, ["button-text", "onClick"]))
161
177
  ])
162
178
  ]),
163
179
  _: 1
164
180
  }),
165
- t("section", Z, [
166
- n(_, { variant: "default" }, {
167
- icon: i(() => [
168
- n(s(x), {
181
+ t("section", H, [
182
+ i(B, { variant: "default" }, {
183
+ icon: r(() => [
184
+ i(o(_), {
169
185
  size: 32,
170
186
  color: "#009fe3"
171
187
  })
172
188
  ]),
173
- title: i(() => e[7] || (e[7] = [
174
- p(" Vorsicht! ", -1)
189
+ title: r(() => e[7] || (e[7] = [
190
+ g(" Vorsicht! ", -1)
175
191
  ])),
176
- default: i(() => [
192
+ default: r(() => [
177
193
  e[8] || (e[8] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datensimulation" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
178
194
  ]),
179
195
  _: 1,
@@ -184,5 +200,5 @@ const F = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
184
200
  }
185
201
  });
186
202
  export {
187
- ne as default
203
+ ae as default
188
204
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fe9f87e2"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6f7c3628"]]);
5
5
  export {
6
- r as default
6
+ s as default
7
7
  };