@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,104 +1,120 @@
1
- import { defineComponent as B, ref as g, computed as D, inject as P, createElementBlock as S, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as p, unref as o, withCtx as i, Fragment as L, renderList as I, createBlock as m, createCommentVNode as b } from "vue";
2
- import { FormKit as v } from "@formkit/vue";
3
- import { PhLightbulb as _ } from "@phosphor-icons/vue";
4
- import N from "../../../../stories/components/LinkCard.vue.js";
5
- import T from "../../../components/StepActionsSection.vue.js";
6
- import { dpiStepperKey as W } from "../../../utils/injectionKeys.js";
7
- import a from "../ButtonV3.vue.js";
8
- import z from "../Card.vue.js";
9
- import E from "../TextArea/TextAreaDefinition.js";
10
- const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" }, M = { class: "funny-section" }, R = {
1
+ import { defineComponent as P, ref as v, computed as C, inject as A, createElementBlock as _, openBlock as l, createElementVNode as t, createVNode as r, createTextVNode as f, unref as a, withCtx as i, Fragment as N, renderList as T, createBlock as h, createCommentVNode as k } from "vue";
2
+ import { FormKit as b } from "@formkit/vue";
3
+ import { PhLightbulb as w } from "@phosphor-icons/vue";
4
+ import $ from "../../../../stories/components/LinkCard.vue.js";
5
+ import { empty as V, generateIsRequiredMsg as q } from "../../../../utils/twinbyUtils.js";
6
+ import M from "../../../components/StepActionsSection.vue.js";
7
+ import { dpiStepperKey as R } from "../../../utils/injectionKeys.js";
8
+ import u from "../ButtonV3.vue.js";
9
+ import B from "../Card.vue.js";
10
+ import W from "../TextArea/TextAreaDefinition.js";
11
+ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, K = { class: "funny-section" }, Z = {
11
12
  id: "partners-section",
12
13
  class: "funny-section"
13
- }, Z = { class: "partner-cards-container" }, $ = { class: "action-container" }, j = { class: "step-actions__prev-and-next" }, A = { class: "actions" }, G = { class: "funny-section" }, U = 1e3, ie = /* @__PURE__ */ B({
14
+ }, j = { class: "partner-cards-container" }, G = { class: "action-container" }, U = { class: "step-actions__prev-and-next" }, H = { class: "actions" }, O = { class: "funny-section" }, J = 1e3, le = /* @__PURE__ */ P({
14
15
  __name: "BasicInformationStep",
15
- setup(O) {
16
- const f = g(""), k = g([]);
17
- g([]);
18
- const w = D(() => {
19
- var h;
20
- return ((h = f.value) == null ? void 0 : h.length) || 0;
21
- }), y = P(W);
22
- function C() {
16
+ setup(Q) {
17
+ const d = v(""), c = v([]);
18
+ v([]);
19
+ const L = C(() => {
20
+ var s;
21
+ return ((s = d.value) == null ? void 0 : s.length) || 0;
22
+ }), y = A(R);
23
+ function I() {
23
24
  if (!y) {
24
25
  console.warn("dpiStepper is not provided");
25
26
  return;
26
27
  }
27
28
  y.goToStep("2. Datenverarbeitung/Grundlegende Informationen");
28
29
  }
29
- return (h, e) => (s(), S("div", F, [
30
- e[8] || (e[8] = t("section", { class: "funny-section" }, [
30
+ const S = C(() => {
31
+ const s = !V(d.value), e = Array.isArray(c.value) && c.value.length > 0;
32
+ return s || e;
33
+ });
34
+ function D(s) {
35
+ var n, o;
36
+ const e = s.at("$parent");
37
+ 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 ? !V(s.value) : !0;
38
+ }
39
+ return (s, e) => (l(), _("div", E, [
40
+ e[9] || (e[9] = t("section", { class: "funny-section" }, [
31
41
  t("div", { class: "funny-flex" }, [
32
42
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenerfassung"),
33
43
  t("span", { class: "copy-large-regular" }, [
34
- p(" Teilen Sie im Schritt der "),
44
+ f(" Teilen Sie im Schritt der "),
35
45
  t("strong", null, "Datenerfassung"),
36
- p(" mit anderen Kommunen, wie Sie relevante Daten, wie etwa Verwaltungs- oder Sensordaten, erhoben haben. ")
46
+ f(" mit anderen Kommunen, wie Sie relevante Daten, wie etwa Verwaltungs- oder Sensordaten, erhoben haben. ")
37
47
  ])
38
48
  ])
39
49
  ], -1)),
40
- t("section", K, [
41
- n(o(v), {
50
+ t("section", F, [
51
+ r(a(b), {
42
52
  id: "Beschreibung",
43
- modelValue: f.value,
44
- "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
53
+ modelValue: d.value,
54
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => d.value = n),
45
55
  class: "budgetArea",
46
56
  label: "Beschreibung",
47
- type: o(E),
57
+ type: a(W),
48
58
  name: "description",
49
59
  "text-label": "Beschreibung",
50
60
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
51
- validation: "length:0,1000",
61
+ validation: "+requireIfLink|length:0,1000",
52
62
  "validation-visibility": "live",
53
63
  hint: "true",
54
- help: `${w.value} von ${U} Zeichen`,
55
- "count-hint": !0
56
- }, null, 8, ["modelValue", "type", "help"])
64
+ help: `${L.value} von ${J} Zeichen`,
65
+ "count-hint": !0,
66
+ "validation-rules": {
67
+ requireIfLink: D
68
+ },
69
+ "validation-messages": {
70
+ requireIfLink: a(q)("Beschreibung")
71
+ }
72
+ }, null, 8, ["modelValue", "type", "help", "validation-rules", "validation-messages"])
57
73
  ]),
58
- t("section", M, [
59
- n(z, { variant: "default" }, {
74
+ t("section", K, [
75
+ r(B, { variant: "default" }, {
60
76
  icon: i(() => [
61
- n(o(_), {
77
+ r(a(w), {
62
78
  size: 32,
63
79
  color: "#009fe3"
64
80
  })
65
81
  ]),
66
- title: i(() => e[2] || (e[2] = [
67
- p(" Beispiel ", -1)
82
+ title: i(() => e[3] || (e[3] = [
83
+ f(" Beispiel ", -1)
68
84
  ])),
69
85
  default: i(() => [
70
- e[3] || (e[3] = t("p", null, " Zur Überwachung der aktuellen Wasserstände wurden moderne Pegelsensoren an ausgewählten Messpunkten entlang der Gewässer installiert. Die erfassten Messdaten werden in festgelegten Intervallen automatisch an das zentrale IT-System der Stadt übertragen und dort gespeichert. ", -1))
86
+ e[4] || (e[4] = t("p", null, " Zur Überwachung der aktuellen Wasserstände wurden moderne Pegelsensoren an ausgewählten Messpunkten entlang der Gewässer installiert. Die erfassten Messdaten werden in festgelegten Intervallen automatisch an das zentrale IT-System der Stadt übertragen und dort gespeichert. ", -1))
71
87
  ]),
72
88
  _: 1,
73
- __: [3]
89
+ __: [4]
74
90
  })
75
91
  ]),
76
- t("section", R, [
77
- e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
78
- 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)),
79
- t("div", Z, [
80
- n(o(v), {
81
- modelValue: k.value,
82
- "onUpdate:modelValue": e[1] || (e[1] = (r) => k.value = r),
92
+ t("section", Z, [
93
+ e[5] || (e[5] = t("h5", null, " Weiterführende Links (optional) ", -1)),
94
+ 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)),
95
+ t("div", j, [
96
+ r(a(b), {
97
+ modelValue: c.value,
98
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => c.value = n),
83
99
  type: "list",
84
100
  name: "links",
85
101
  dynamic: ""
86
102
  }, {
87
- default: i(({ items: r, node: l, value: u }) => [
88
- (s(!0), S(L, null, I(r, (d, c) => (s(), m(o(v), {
89
- key: d,
103
+ default: i(({ items: n, node: o, value: p }) => [
104
+ (l(!0), _(N, null, T(n, (m, g) => (l(), h(a(b), {
105
+ key: m,
90
106
  type: "group",
91
- index: c
107
+ index: g
92
108
  }, {
93
109
  default: i(() => [
94
- n(N, null, {
110
+ r($, null, {
95
111
  action: i(() => [
96
- n(a, {
112
+ r(u, {
97
113
  "button-text": "Löschen",
98
114
  size: "small",
99
115
  variant: "tertiary",
100
116
  "icon-start": "trash",
101
- onClick: () => l.input(u.filter((x, V) => V !== c))
117
+ onClick: () => o.input(p.filter((x, z) => z !== g))
102
118
  }, null, 8, ["onClick"])
103
119
  ]),
104
120
  _: 2
@@ -106,13 +122,13 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
106
122
  ]),
107
123
  _: 2
108
124
  }, 1032, ["index"]))), 128)),
109
- t("div", $, [
110
- n(a, {
125
+ t("div", G, [
126
+ r(u, {
111
127
  "button-text": "Link hinzufügen",
112
128
  size: "medium",
113
129
  variant: "tertiary",
114
130
  "icon-start": "plus",
115
- onClick: (d) => l.input(u.concat({}))
131
+ onClick: (m) => o.input(p.concat({}))
116
132
  }, null, 8, ["onClick"])
117
133
  ])
118
134
  ]),
@@ -120,42 +136,43 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
120
136
  }, 8, ["modelValue"])
121
137
  ])
122
138
  ]),
123
- n(T, {
139
+ r(M, {
124
140
  compact: "",
125
141
  "next-text": "Weiter zu Software"
126
142
  }, {
127
143
  "prev-and-next": i(({
128
- hidePrevious: r,
129
- hideNext: l,
130
- previousText: u,
131
- nextText: d,
132
- handlePrevious: c,
144
+ hidePrevious: n,
145
+ hideNext: o,
146
+ previousText: p,
147
+ nextText: m,
148
+ handlePrevious: g,
133
149
  handleSubmit: x
134
150
  }) => [
135
- t("div", j, [
136
- t("div", A, [
137
- r ? b("", !0) : (s(), m(a, {
151
+ t("div", U, [
152
+ t("div", H, [
153
+ n ? k("", !0) : (l(), h(u, {
138
154
  key: 0,
139
155
  variant: "secondary",
140
156
  size: "large",
141
- "button-text": u,
157
+ "button-text": p,
142
158
  "icon-start": "CaretLeft",
143
- onClick: c
159
+ onClick: g
144
160
  }, null, 8, ["button-text", "onClick"])),
145
- r ? b("", !0) : (s(), m(a, {
161
+ n ? k("", !0) : (l(), h(u, {
146
162
  key: 1,
163
+ disabled: S.value,
147
164
  variant: "secondary",
148
165
  size: "large",
149
166
  "button-text": "Weiter ohne Datenerfassung",
150
167
  "icon-end": "CaretRight",
151
- onClick: C
152
- }))
168
+ onClick: e[2] || (e[2] = (z) => S.value ? null : I())
169
+ }, null, 8, ["disabled"]))
153
170
  ]),
154
- l ? b("", !0) : (s(), m(a, {
171
+ o ? k("", !0) : (l(), h(u, {
155
172
  key: 0,
156
173
  variant: "primary",
157
174
  size: "large",
158
- "button-text": d,
175
+ "button-text": m,
159
176
  "icon-end": "CaretRight",
160
177
  class: "next-button",
161
178
  onClick: x
@@ -164,27 +181,27 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
164
181
  ]),
165
182
  _: 1
166
183
  }),
167
- t("section", G, [
168
- n(z, { variant: "default" }, {
184
+ t("section", O, [
185
+ r(B, { variant: "default" }, {
169
186
  icon: i(() => [
170
- n(o(_), {
187
+ r(a(w), {
171
188
  size: 32,
172
189
  color: "#009fe3"
173
190
  })
174
191
  ]),
175
- title: i(() => e[6] || (e[6] = [
176
- p(" Vorsicht! ", -1)
192
+ title: i(() => e[7] || (e[7] = [
193
+ f(" Vorsicht! ", -1)
177
194
  ])),
178
195
  default: i(() => [
179
- e[7] || (e[7] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datenerfassung" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
196
+ e[8] || (e[8] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datenerfassung" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
180
197
  ]),
181
198
  _: 1,
182
- __: [7]
199
+ __: [8]
183
200
  })
184
201
  ])
185
202
  ]));
186
203
  }
187
204
  });
188
205
  export {
189
- ie as default
206
+ le as default
190
207
  };
@@ -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 c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-378c9df7"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1ff77ba2"]]);
5
5
  export {
6
- c as default
6
+ s as default
7
7
  };
@@ -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
  };