@piveau/dpi 0.2.0-alpha.40 → 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 (42) 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 +2 -2
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +84 -65
  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/Card.vue.js +3 -3
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +30 -27
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +97 -80
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +107 -90
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +1 -1
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +96 -80
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +96 -77
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +120 -109
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -38
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +20 -14
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListboxVeeValidate.vue.js +16 -11
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +140 -121
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue.js +2 -2
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue2.js +45 -49
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +179 -184
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue.js +30 -0
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue2.js +4 -0
  29. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  30. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +104 -92
  31. package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitMessages.js +14 -0
  32. package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitSummary.js +46 -0
  33. package/dist/packages/dpi/src/data-provider-interface/utils/useSteps.js +35 -29
  34. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +2 -2
  35. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +24 -26
  36. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  37. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +15 -19
  38. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  39. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +13 -18
  40. package/dist/packages/dpi/src/utils/twinbyUtils.js +29 -4
  41. package/dist/styles/_dpi.scss +16 -0
  42. package/package.json +1 -1
@@ -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
  };
@@ -1,83 +1,99 @@
1
- import { defineComponent as R, ref as p, computed as E, useModel as L, inject as F, createElementBlock as V, openBlock as o, createElementVNode as t, createVNode as i, createBlock as l, createCommentVNode as h, createTextVNode as y, unref as r, isRef as D, withCtx as s, Fragment as M, renderList as N } from "vue";
2
- import { FormKit as v } from "@formkit/vue";
3
- import { PhLightbulb as O, PhExclamationMark as H } from "@phosphor-icons/vue";
1
+ import { defineComponent as I, ref as f, computed as w, useModel as A, inject as D, createElementBlock as _, openBlock as a, createElementVNode as t, createVNode as r, createBlock as u, createCommentVNode as g, createTextVNode as z, unref as i, isRef as M, withCtx as s, Fragment as H, renderList as N } from "vue";
2
+ import { FormKit as k } from "@formkit/vue";
3
+ import { PhLightbulb as O, PhExclamationMark as q } from "@phosphor-icons/vue";
4
4
  import K from "../../../../stories/components/LinkCard.vue.js";
5
- import W from "../../../components/StepActionsSection.vue.js";
6
- import { dpiStepperKey as $ } from "../../../utils/injectionKeys.js";
7
- import a from "../ButtonV3.vue.js";
8
- import w from "../Card.vue.js";
9
- import { useProcessStepResources as j, ensureHasOneResource as I } from "../ProcessSteps/utils.js";
10
- import U from "../TextArea/TextAreaDefinition.js";
11
- const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" }, T = { class: "funny-section" }, G = {
5
+ import { empty as S, generateIsRequiredMsg as W } from "../../../../utils/twinbyUtils.js";
6
+ import $ from "../../../components/StepActionsSection.vue.js";
7
+ import { dpiStepperKey as j } from "../../../utils/injectionKeys.js";
8
+ import d from "../ButtonV3.vue.js";
9
+ import B from "../Card.vue.js";
10
+ import { useProcessStepResources as U, ensureHasOneResource as Z } from "../ProcessSteps/utils.js";
11
+ import T from "../TextArea/TextAreaDefinition.js";
12
+ const G = { class: "dpiV3_page V3-typography" }, J = { class: "funny-section" }, Q = { class: "funny-section" }, X = {
12
13
  id: "partners-section",
13
14
  class: "funny-section"
14
- }, q = { class: "partner-cards-container" }, J = { class: "action-container" }, Q = { class: "step-actions__prev-and-next" }, X = { class: "actions" }, Y = 1e3, ce = /* @__PURE__ */ R({
15
+ }, Y = { class: "partner-cards-container" }, ee = { class: "action-container" }, te = { class: "step-actions__prev-and-next" }, ne = { class: "actions" }, ie = 1e3, he = /* @__PURE__ */ I({
15
16
  __name: "BasicInformationStep",
16
17
  props: {
17
18
  modelValue: {},
18
19
  modelModifiers: {}
19
20
  },
20
21
  emits: ["update:modelValue"],
21
- setup(_) {
22
- const f = p(""), z = p([]);
23
- p([]);
24
- const S = p(!1), B = E(() => {
25
- var b;
26
- return ((b = f.value) == null ? void 0 : b.length) || 0;
22
+ setup(L) {
23
+ const c = f(""), m = f([]);
24
+ f([]);
25
+ const P = f(!1), R = w(() => {
26
+ var o;
27
+ return ((o = c.value) == null ? void 0 : o.length) || 0;
27
28
  });
28
- L(_, "modelValue");
29
- const P = F($), { globalResourceCount: g } = j("4. Datenvisualisierung", !1);
30
- return (b, e) => (o(), V("div", Z, [
29
+ A(L, "modelValue");
30
+ const E = D(j), C = w(() => {
31
+ const o = !S(c.value), e = Array.isArray(m.value) && m.value.length > 0;
32
+ return o || e;
33
+ });
34
+ function F(o) {
35
+ var n, l;
36
+ const e = o.at("$parent");
37
+ return !e || e.type !== "group" ? !0 : Array.isArray((n = e.value) == null ? void 0 : n.links) && ((l = e.value) == null ? void 0 : l.links).length > 0 ? !S(o.value) : !0;
38
+ }
39
+ const { globalResourceCount: b } = U("4. Datenvisualisierung", !1);
40
+ return (o, e) => (a(), _("div", G, [
31
41
  e[9] || (e[9] = t("section", { class: "funny-section" }, [
32
42
  t("div", { class: "funny-flex" }, [
33
43
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenvisualisierung"),
34
44
  t("span", { class: "copy-large-regular" }, [
35
- y(" Führen Sie im Schritt der "),
45
+ z(" Führen Sie im Schritt der "),
36
46
  t("strong", null, "Datenvisualisierung"),
37
- y(" aus, in welcher Form die Ergebnisse der Simulationen verständlich aufbereitet und visualisiert wurden. ")
47
+ z(" aus, in welcher Form die Ergebnisse der Simulationen verständlich aufbereitet und visualisiert wurden. ")
38
48
  ])
39
49
  ])
40
50
  ], -1)),
41
- i(r(v), {
42
- modelValue: r(g),
43
- "onUpdate:modelValue": e[0] || (e[0] = (n) => D(g) ? g.value = n : null),
51
+ r(i(k), {
52
+ modelValue: i(b),
53
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => M(b) ? b.value = n : null),
44
54
  type: "hidden",
45
55
  name: "__resourceCountGlobal",
46
56
  hidden: "",
47
57
  "aria-hidden": "",
48
- "validation-rules": { ensureHasOneResource: r(I) },
58
+ "validation-rules": { ensureHasOneResource: i(Z) },
49
59
  validation: "+ensureHasOneResource",
50
60
  "validation-visibility": "live",
51
61
  "validation-messages": { ensureHasOneResource: "Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden." }
52
62
  }, null, 8, ["modelValue", "validation-rules"]),
53
- t("section", A, [
54
- i(r(v), {
63
+ t("section", J, [
64
+ r(i(k), {
55
65
  id: "Beschreibung",
56
- modelValue: f.value,
57
- "onUpdate:modelValue": e[1] || (e[1] = (n) => f.value = n),
66
+ modelValue: c.value,
67
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => c.value = n),
58
68
  class: "budgetArea",
59
69
  label: "Beschreibung",
60
- type: r(U),
70
+ type: i(T),
61
71
  name: "description",
62
72
  "text-label": "Beschreibung",
63
73
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
64
- validation: "length:0,1000",
74
+ validation: "+requireIfLink|length:0,1000",
65
75
  "validation-visibility": "live",
66
76
  hint: "true",
67
- help: `${B.value} von ${Y} Zeichen`,
68
- "count-hint": !0
69
- }, null, 8, ["modelValue", "type", "help"])
77
+ help: `${R.value} von ${ie} Zeichen`,
78
+ "count-hint": !0,
79
+ "validation-rules": {
80
+ requireIfLink: F
81
+ },
82
+ "validation-messages": {
83
+ requireIfLink: i(W)("Beschreibung")
84
+ }
85
+ }, null, 8, ["modelValue", "type", "help", "validation-rules", "validation-messages"])
70
86
  ]),
71
- t("section", T, [
72
- i(w, { variant: "default" }, {
87
+ t("section", Q, [
88
+ r(B, { variant: "default" }, {
73
89
  icon: s(() => [
74
- i(r(O), {
90
+ r(i(O), {
75
91
  size: 32,
76
92
  color: "#009FE3"
77
93
  })
78
94
  ]),
79
95
  title: s(() => e[3] || (e[3] = [
80
- y(" Beispiel ", -1)
96
+ z(" Beispiel ", -1)
81
97
  ])),
82
98
  default: s(() => [
83
99
  e[4] || (e[4] = 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))
@@ -86,32 +102,32 @@ const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" },
86
102
  __: [4]
87
103
  })
88
104
  ]),
89
- t("section", G, [
105
+ t("section", X, [
90
106
  e[5] || (e[5] = t("h5", null, " Weiterführende Links (optional) ", -1)),
91
107
  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)),
92
- t("div", q, [
93
- i(r(v), {
94
- modelValue: z.value,
95
- "onUpdate:modelValue": e[2] || (e[2] = (n) => z.value = n),
108
+ t("div", Y, [
109
+ r(i(k), {
110
+ modelValue: m.value,
111
+ "onUpdate:modelValue": e[2] || (e[2] = (n) => m.value = n),
96
112
  type: "list",
97
113
  name: "links",
98
114
  dynamic: ""
99
115
  }, {
100
- default: s(({ items: n, node: u, value: d }) => [
101
- (o(!0), V(M, null, N(n, (c, m) => (o(), l(r(v), {
102
- key: c,
116
+ default: s(({ items: n, node: l, value: p }) => [
117
+ (a(!0), _(H, null, N(n, (v, h) => (a(), u(i(k), {
118
+ key: v,
103
119
  type: "group",
104
- index: m
120
+ index: h
105
121
  }, {
106
122
  default: s(() => [
107
- i(K, null, {
123
+ r(K, null, {
108
124
  action: s(() => [
109
- i(a, {
125
+ r(d, {
110
126
  "button-text": "Löschen",
111
127
  size: "small",
112
128
  variant: "tertiary",
113
129
  "icon-start": "trash",
114
- onClick: () => u.input(d.filter((x, k) => k !== m))
130
+ onClick: () => l.input(p.filter((x, y) => y !== h))
115
131
  }, null, 8, ["onClick"])
116
132
  ]),
117
133
  _: 2
@@ -119,13 +135,13 @@ const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" },
119
135
  ]),
120
136
  _: 2
121
137
  }, 1032, ["index"]))), 128)),
122
- t("div", J, [
123
- i(a, {
138
+ t("div", ee, [
139
+ r(d, {
124
140
  "button-text": "Link hinzufügen",
125
141
  size: "medium",
126
142
  variant: "tertiary",
127
143
  "icon-start": "plus",
128
- onClick: (c) => u.input(d.concat({}))
144
+ onClick: (v) => l.input(p.concat({}))
129
145
  }, null, 8, ["onClick"])
130
146
  ])
131
147
  ]),
@@ -133,7 +149,7 @@ const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" },
133
149
  }, 8, ["modelValue"])
134
150
  ])
135
151
  ]),
136
- i(W, {
152
+ r($, {
137
153
  compact: "",
138
154
  "next-text": "Weiter zu Software",
139
155
  class: "actions-container",
@@ -141,57 +157,60 @@ const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" },
141
157
  }, {
142
158
  "prev-and-next": s(({
143
159
  hidePrevious: n,
144
- hideNext: u,
145
- previousText: d,
146
- nextText: c,
147
- handleNext: m,
160
+ hideNext: l,
161
+ previousText: p,
162
+ nextText: v,
163
+ handleNext: h,
148
164
  handlePrevious: x,
149
- validate: k
165
+ validate: y
150
166
  }) => [
151
- t("div", Q, [
152
- t("div", X, [
153
- n ? h("", !0) : (o(), l(a, {
167
+ t("div", te, [
168
+ t("div", ne, [
169
+ n ? g("", !0) : (a(), u(d, {
154
170
  key: 0,
155
171
  variant: "secondary",
156
172
  size: "large",
157
- "button-text": d,
173
+ "button-text": p,
158
174
  "icon-start": "CaretLeft",
159
175
  class: "previus-button",
160
176
  onClick: x
161
177
  }, null, 8, ["button-text", "onClick"])),
162
- n ? h("", !0) : (o(), l(a, {
178
+ n ? g("", !0) : (a(), u(d, {
163
179
  key: 1,
180
+ disabled: C.value,
164
181
  variant: "secondary",
165
182
  class: "skip-button",
166
183
  size: "large",
167
184
  "button-text": "Weiter ohne Datenvisualisierung",
168
185
  "icon-end": "CaretRight",
169
- onClick: (ee) => k(() => {
170
- var C;
171
- return (C = r(P)) == null ? void 0 : C.goToStep("Vorschau");
172
- })
173
- }, null, 8, ["onClick"]))
186
+ onClick: () => {
187
+ C.value || y(() => {
188
+ var V;
189
+ return (V = i(E)) == null ? void 0 : V.goToStep("Vorschau");
190
+ });
191
+ }
192
+ }, null, 8, ["disabled", "onClick"]))
174
193
  ]),
175
- u ? h("", !0) : (o(), l(a, {
194
+ l ? g("", !0) : (a(), u(d, {
176
195
  key: 0,
177
196
  variant: "primary",
178
197
  size: "large",
179
- "button-text": c,
198
+ "button-text": v,
180
199
  "icon-end": "CaretRight",
181
200
  class: "next-button",
182
- onClick: m
201
+ onClick: h
183
202
  }, null, 8, ["button-text", "onClick"]))
184
203
  ])
185
204
  ]),
186
205
  _: 1
187
206
  }),
188
- S.value ? (o(), l(w, {
207
+ P.value ? (a(), u(B, {
189
208
  key: 0,
190
209
  variant: "error",
191
210
  class: "error"
192
211
  }, {
193
212
  icon: s(() => [
194
- i(r(H), {
213
+ r(i(q), {
195
214
  size: 32,
196
215
  color: "currentColor"
197
216
  })
@@ -206,10 +225,10 @@ const Z = { class: "dpiV3_page V3-typography" }, A = { class: "funny-section" },
206
225
  ]),
207
226
  _: 1,
208
227
  __: [8]
209
- })) : h("", !0)
228
+ })) : g("", !0)
210
229
  ]));
211
230
  }
212
231
  });
213
232
  export {
214
- ce as default
233
+ he as default
215
234
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ApplicationsStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92060eba"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-632b4b70"]]);
5
5
  export {
6
- e as default
6
+ i as default
7
7
  };