@piveau/dpi 0.2.0-alpha.6 → 0.2.0-alpha.8

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 (68) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +20 -17
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +4 -4
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +45 -44
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +18 -21
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +49 -41
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +30 -24
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +105 -133
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +180 -0
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +63 -61
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +48 -39
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +40 -36
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +8 -3
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +65 -37
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +21 -22
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +96 -93
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +59 -56
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +38 -0
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue2.js +4 -0
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +1 -1
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +32 -34
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +38 -33
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +38 -32
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +36 -31
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +35 -30
  40. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +7 -0
  41. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1055 -0
  42. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
  43. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
  44. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
  45. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
  46. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +2 -2
  47. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  48. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +70 -65
  49. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +7 -0
  50. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +42 -0
  51. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +7 -0
  52. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +249 -0
  53. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/fixtures.js +287 -0
  54. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +281 -0
  55. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +244 -0
  56. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +330 -0
  57. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/shared.js +37 -0
  58. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +114 -0
  59. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +406 -371
  60. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
  61. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +12 -11
  62. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  63. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +21 -16
  64. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  65. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +8 -6
  66. package/package.json +5 -2
  67. package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
  68. package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
@@ -1,9 +1,9 @@
1
- import { defineComponent as m, mergeModels as p, useModel as f, createElementBlock as d, openBlock as a, Fragment as h, renderList as v, withDirectives as x, createElementVNode as u, vModelCheckbox as k, createVNode as _ } from "vue";
2
- import { looseIndexOf as c } from "@vue/shared";
3
- import C from "../Chip.vue.js";
4
- const b = { class: "chip-toggle-list" }, g = ["id", "value"], V = ["for", "onClick"], $ = /* @__PURE__ */ m({
1
+ import { defineComponent as v, mergeModels as f, useModel as h, computed as x, createElementBlock as s, openBlock as c, Fragment as k, renderList as C, withDirectives as V, createElementVNode as u, vModelCheckbox as _, createVNode as b } from "vue";
2
+ import { looseIndexOf as n } from "@vue/shared";
3
+ import g from "../Chip.vue.js";
4
+ const y = { class: "chip-toggle-list" }, I = ["id", "value"], M = ["for", "onClick"], B = /* @__PURE__ */ v({
5
5
  __name: "ChipToggleList",
6
- props: /* @__PURE__ */ p({
6
+ props: /* @__PURE__ */ f({
7
7
  options: {}
8
8
  }, {
9
9
  modelValue: {
@@ -12,51 +12,57 @@ const b = { class: "chip-toggle-list" }, g = ["id", "value"], V = ["for", "onCli
12
12
  modelModifiers: {}
13
13
  }),
14
14
  emits: ["update:modelValue"],
15
- setup(r) {
16
- const l = f(r, "modelValue");
17
- function n(t) {
18
- return c(l.value, t) !== -1;
15
+ setup(i) {
16
+ const r = i, t = h(i, "modelValue");
17
+ function o(l) {
18
+ return n(t.value, l) !== -1;
19
19
  }
20
- function o(t) {
21
- c(l.value, t.id) !== -1 ? l.value = l.value.filter((e) => e !== t.id) : l.value = [...l.value, t.id];
20
+ function m(l) {
21
+ n(t.value, l.id) !== -1 ? t.value = t.value.filter((e) => e !== l.id) : t.value = [...t.value, l.id];
22
22
  }
23
- return (t, i) => (a(), d("div", b, [
24
- (a(!0), d(h, null, v(t.options, (e) => (a(), d("div", {
23
+ const p = x(() => r.options.map((l) => ({
24
+ ...l,
25
+ selected: o(l.id)
26
+ })));
27
+ return (l, a) => (c(), s("div", y, [
28
+ (c(!0), s(k, null, C(p.value, (e) => (c(), s("div", {
25
29
  key: e.id,
26
30
  class: "chip-item"
27
31
  }, [
28
- x(u("input", {
32
+ V(u("input", {
29
33
  id: `chip-${e.id}`,
30
- "onUpdate:modelValue": i[0] || (i[0] = (s) => l.value = s),
34
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => t.value = d),
31
35
  class: "chip-checkbox",
32
36
  type: "checkbox",
33
37
  value: e.id
34
- }, null, 8, g), [
35
- [k, l.value]
38
+ }, null, 8, I), [
39
+ [_, t.value]
36
40
  ]),
37
41
  u("label", {
38
42
  class: "chip-label",
39
43
  for: `chip-${e.id}`,
40
- onClick: (s) => o(e)
44
+ onClick: (d) => m(e)
41
45
  }, [
42
- _(C, {
46
+ b(g, {
47
+ "select-value": e.selected,
48
+ "onUpdate:selectValue": (d) => e.selected = d,
43
49
  text: e.name,
44
50
  data: {
45
51
  "@value": e.id,
46
- URI: e.uri || "https://example.com/default"
52
+ URI: "https://example.com/default"
47
53
  },
48
54
  setup: {
49
55
  "@type": "select",
50
56
  "@inTable": !1,
51
57
  "@findability": !0,
52
- "@selected": n(e.id)
58
+ "@selected": e.selected
53
59
  }
54
- }, null, 8, ["text", "data", "setup"])
55
- ], 8, V)
60
+ }, null, 8, ["select-value", "onUpdate:selectValue", "text", "data", "setup"])
61
+ ], 8, M)
56
62
  ]))), 128))
57
63
  ]));
58
64
  }
59
65
  });
60
66
  export {
61
- $ as default
67
+ B as default
62
68
  };
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d774378f"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3ed29800"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,163 +1,96 @@
1
- import { defineComponent as S, ref as y, computed as I, createElementBlock as b, openBlock as d, createElementVNode as n, createVNode as t, unref as r, withCtx as s, createTextVNode as c, Fragment as _, renderList as V, createBlock as C } from "vue";
2
- import { FormKit as p } from "@formkit/vue";
3
- import { PhLightbulb as k } from "@phosphor-icons/vue";
4
- import M from "../../../../stories/components/LinkCard.vue.js";
5
- import L from "../../../../stories/components/MethodsCard.vue.js";
6
- import P from "../../../components/StepActionsSection.vue.js";
7
- import m from "../ButtonV3.vue.js";
8
- import v from "../Card.vue.js";
9
- import D from "../TextArea/TextAreaDefinition.js";
10
- const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" }, F = { class: "funny-section" }, G = {
1
+ import { defineComponent as S, ref as g, computed as V, createElementBlock as _, openBlock as r, createElementVNode as t, createTextVNode as m, createVNode as n, unref as o, withCtx as s, Fragment as B, renderList as L, createBlock as p, createCommentVNode as b } from "vue";
2
+ import { FormKit as k } from "@formkit/vue";
3
+ import { PhLightbulb as x } from "@phosphor-icons/vue";
4
+ import P from "../../../../stories/components/LinkCard.vue.js";
5
+ import D from "../../../components/StepActionsSection.vue.js";
6
+ import a from "../ButtonV3.vue.js";
7
+ import z from "../Card.vue.js";
8
+ import I from "../TextArea/TextAreaDefinition.js";
9
+ const N = { class: "dpiV3_page V3-typography" }, W = { class: "funny-section" }, E = { class: "funny-section" }, F = {
11
10
  id: "partners-section",
12
11
  class: "funny-section"
13
- }, W = { class: "partner-cards-container" }, Z = { class: "action-container" }, $ = {
14
- id: "partners-section",
15
- class: "funny-section"
16
- }, E = { class: "partner-cards-container" }, K = { class: "action-container" }, T = { class: "funny-section" }, U = { class: "funny-section" }, j = 500, te = /* @__PURE__ */ S({
12
+ }, M = { class: "partner-cards-container" }, R = { class: "action-container" }, T = { class: "funny-section" }, Z = { class: "step-actions__prev-and-next" }, $ = { class: "actions" }, A = { class: "funny-section" }, K = 1e3, Y = /* @__PURE__ */ S({
17
13
  __name: "BasicInformationStep",
18
- setup(O) {
19
- const f = y(""), z = y([]), w = y([]), B = I(() => {
20
- var h;
21
- return ((h = f.value) == null ? void 0 : h.length) || 0;
14
+ setup(U) {
15
+ const h = g(""), v = g([]);
16
+ g([]);
17
+ const w = V(() => {
18
+ var f;
19
+ return ((f = h.value) == null ? void 0 : f.length) || 0;
22
20
  });
23
- return (h, e) => (d(), b("div", A, [
24
- e[13] || (e[13] = n("section", { class: "funny-section" }, [
25
- n("div", { class: "funny-flex" }, [
26
- n("h4", null, "Fügen Sie optionale Daten hinzu"),
27
- n("span", { class: "copy-large-regular" }, " Zusätzliche Informationen, wie etwa zur Laufzeit oder zum Budgetrahmen Ihres Projekts, können für andere Kommunen hilfreich sein. ")
21
+ return (f, e) => (r(), _("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 Datenerfassung"),
25
+ t("span", { class: "copy-large-regular" }, [
26
+ m(" Teilen Sie im Schritt der "),
27
+ t("strong", null, "Datenerfassung"),
28
+ m(" mit anderen Kommunen, wie Sie relevante Daten, wie etwa Verwaltungs- oder Sensordaten, erhoben haben. ")
29
+ ])
28
30
  ])
29
31
  ], -1)),
30
- n("section", N, [
31
- t(r(p), {
32
+ t("section", W, [
33
+ n(o(k), {
32
34
  id: "Beschreibung",
33
- modelValue: f.value,
34
- "onUpdate:modelValue": e[0] || (e[0] = (i) => f.value = i),
35
+ modelValue: h.value,
36
+ "onUpdate:modelValue": e[0] || (e[0] = (i) => h.value = i),
35
37
  class: "budgetArea",
36
38
  label: "Beschreibung",
37
- type: r(D),
39
+ type: o(I),
38
40
  name: "description",
39
41
  "text-label": "Beschreibung",
40
- placeholder: "Briefly describe your approach, goal and result of the process step.",
42
+ placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
41
43
  validation: "length:0,1000",
42
44
  "validation-visibility": "live",
43
45
  hint: "true",
44
- help: `${B.value} von ${j} Zeichen`,
46
+ help: `${w.value} von ${K} Zeichen`,
45
47
  "count-hint": !0
46
48
  }, null, 8, ["modelValue", "type", "help"])
47
49
  ]),
48
- n("section", F, [
49
- t(v, { variant: "default" }, {
50
+ t("section", E, [
51
+ n(z, { variant: "default" }, {
50
52
  icon: s(() => [
51
- t(r(k), {
53
+ n(o(x), {
52
54
  size: 32,
53
55
  color: "#009fe3"
54
56
  })
55
57
  ]),
56
- title: s(() => e[3] || (e[3] = [
57
- c(" Beispiel ", -1)
58
+ title: s(() => e[2] || (e[2] = [
59
+ m(" Beispiel ", -1)
58
60
  ])),
59
61
  default: s(() => [
60
- e[4] || (e[4] = n("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))
62
+ 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))
61
63
  ]),
62
64
  _: 1,
63
- __: [4]
65
+ __: [3]
64
66
  })
65
67
  ]),
66
- n("section", G, [
67
- e[5] || (e[5] = n("h5", null, " Verwendete Methoden (optional) ", -1)),
68
- e[6] || (e[6] = n("span", { class: "copy-large-regular" }, "Geben Sie hier Methoden, Verfahren oder Werkzeuge an, die im Prozessschritt verwendet wurden (z.B. KI-Modelle, GIS-Anwendungen oder spezielle Messtechniken).", -1)),
69
- n("div", W, [
70
- t(r(p), {
71
- modelValue: w.value,
72
- "onUpdate:modelValue": e[1] || (e[1] = (i) => w.value = i),
73
- type: "list",
74
- name: "methods",
75
- dynamic: ""
76
- }, {
77
- default: s(({ items: i, node: o, value: l }) => [
78
- (d(!0), b(_, null, V(i, (a, u) => (d(), C(r(p), {
79
- key: a,
80
- type: "group",
81
- index: u
82
- }, {
83
- default: s(() => [
84
- t(L, null, {
85
- action: s(() => [
86
- t(m, {
87
- "button-text": "Löschen",
88
- size: "small",
89
- variant: "tertiary",
90
- "icon-start": "trash",
91
- onClick: () => o.input(l.filter((x, g) => g !== u))
92
- }, null, 8, ["onClick"])
93
- ]),
94
- _: 2
95
- }, 1024)
96
- ]),
97
- _: 2
98
- }, 1032, ["index"]))), 128)),
99
- n("div", Z, [
100
- t(m, {
101
- "button-text": "Link hinzufügen",
102
- size: "medium",
103
- variant: "tertiary",
104
- "icon-start": "plus",
105
- onClick: (a) => o.input(l.concat({}))
106
- }, null, 8, ["onClick"])
107
- ])
108
- ]),
109
- _: 1
110
- }, 8, ["modelValue"])
111
- ])
112
- ]),
113
- t(v, { variant: "default" }, {
114
- icon: s(() => [
115
- t(r(k), {
116
- size: 32,
117
- color: "#009fe3"
118
- })
119
- ]),
120
- title: s(() => e[7] || (e[7] = [
121
- c(" Beispiel ", -1)
122
- ])),
123
- default: s(() => [
124
- e[8] || (e[8] = n("p", null, [
125
- n("strong", null, "Name"),
126
- c(": Automatisierte Pegelerfassung "),
127
- n("br"),
128
- n("strong", null, " Beschreibung"),
129
- c(": Erhebung von Wasserstandsdaten mithilfe installierter Pegelsensoren und hydrologischen Modellen nach DIN 4049 sowie Übertragung der Messwerte per IoT-Gateway in zentrale Datenbanken. ")
130
- ], -1))
131
- ]),
132
- _: 1,
133
- __: [8]
134
- }),
135
- n("section", $, [
136
- e[9] || (e[9] = n("h5", null, " Weiterführende Links ", -1)),
137
- e[10] || (e[10] = n("span", { class: "copy-large-regular" }, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zu Ihrer Vorgehensweise beim Aufbau eines Digitalen Zwillings enthalten, wie etwa Status- oder Abschlussberichte.", -1)),
138
- n("div", E, [
139
- t(r(p), {
140
- modelValue: z.value,
141
- "onUpdate:modelValue": e[2] || (e[2] = (i) => z.value = i),
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", M, [
72
+ n(o(k), {
73
+ modelValue: v.value,
74
+ "onUpdate:modelValue": e[1] || (e[1] = (i) => v.value = i),
142
75
  type: "list",
143
76
  name: "links",
144
77
  dynamic: ""
145
78
  }, {
146
- default: s(({ items: i, node: o, value: l }) => [
147
- (d(!0), b(_, null, V(i, (a, u) => (d(), C(r(p), {
148
- key: a,
79
+ default: s(({ items: i, node: l, value: u }) => [
80
+ (r(!0), _(B, null, L(i, (d, c) => (r(), p(o(k), {
81
+ key: d,
149
82
  type: "group",
150
- index: u
83
+ index: c
151
84
  }, {
152
85
  default: s(() => [
153
- t(M, null, {
86
+ n(P, null, {
154
87
  action: s(() => [
155
- t(m, {
88
+ n(a, {
156
89
  "button-text": "Löschen",
157
90
  size: "small",
158
91
  variant: "tertiary",
159
92
  "icon-start": "trash",
160
- onClick: () => o.input(l.filter((x, g) => g !== u))
93
+ onClick: () => l.input(u.filter((y, C) => C !== c))
161
94
  }, null, 8, ["onClick"])
162
95
  ]),
163
96
  _: 2
@@ -165,13 +98,13 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
165
98
  ]),
166
99
  _: 2
167
100
  }, 1032, ["index"]))), 128)),
168
- n("div", K, [
169
- t(m, {
101
+ t("div", R, [
102
+ n(a, {
170
103
  "button-text": "Link hinzufügen",
171
104
  size: "medium",
172
105
  variant: "tertiary",
173
106
  "icon-start": "plus",
174
- onClick: (a) => o.input(l.concat({}))
107
+ onClick: (d) => l.input(u.concat({}))
175
108
  }, null, 8, ["onClick"])
176
109
  ])
177
110
  ]),
@@ -179,30 +112,69 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
179
112
  }, 8, ["modelValue"])
180
113
  ])
181
114
  ]),
182
- n("section", T, [
183
- t(P)
115
+ t("section", T, [
116
+ n(D, { "next-text": "Weiter zu Software" }, {
117
+ "prev-and-next": s(({
118
+ hidePrevious: i,
119
+ hideNext: l,
120
+ previousText: u,
121
+ nextText: d,
122
+ handlePrevious: c,
123
+ handleSubmit: y
124
+ }) => [
125
+ t("div", Z, [
126
+ t("div", $, [
127
+ i ? b("", !0) : (r(), p(a, {
128
+ key: 0,
129
+ variant: "secondary",
130
+ size: "large",
131
+ "button-text": u,
132
+ "icon-start": "CaretLeft",
133
+ onClick: c
134
+ }, null, 8, ["button-text", "onClick"])),
135
+ i ? b("", !0) : (r(), p(a, {
136
+ key: 1,
137
+ variant: "secondary",
138
+ size: "large",
139
+ "button-text": "Weiter ohne Datenerfassung",
140
+ "icon-end": "CaretRight"
141
+ }))
142
+ ]),
143
+ l ? b("", !0) : (r(), p(a, {
144
+ key: 0,
145
+ variant: "primary",
146
+ size: "large",
147
+ "button-text": d,
148
+ "icon-end": "CaretRight",
149
+ class: "next-button",
150
+ onClick: y
151
+ }, null, 8, ["button-text", "onClick"]))
152
+ ])
153
+ ]),
154
+ _: 1
155
+ })
184
156
  ]),
185
- n("section", U, [
186
- t(v, { variant: "default" }, {
157
+ t("section", A, [
158
+ n(z, { variant: "default" }, {
187
159
  icon: s(() => [
188
- t(r(k), {
160
+ n(o(x), {
189
161
  size: 32,
190
162
  color: "#009fe3"
191
163
  })
192
164
  ]),
193
- title: s(() => e[11] || (e[11] = [
194
- c(" Vorsicht! ", -1)
165
+ title: s(() => e[6] || (e[6] = [
166
+ m(" Vorsicht! ", -1)
195
167
  ])),
196
168
  default: s(() => [
197
- e[12] || (e[12] = n("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datenerfassung" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
169
+ 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))
198
170
  ]),
199
171
  _: 1,
200
- __: [12]
172
+ __: [7]
201
173
  })
202
174
  ])
203
175
  ]));
204
176
  }
205
177
  });
206
178
  export {
207
- te as default
179
+ Y as default
208
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 f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0a5d5f1b"]]);
5
+ export {
6
+ f as default
7
+ };
@@ -0,0 +1,180 @@
1
+ import { defineComponent as w, ref as g, computed as S, createElementBlock as x, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as m, unref as o, withCtx as i, Fragment as B, renderList as L, createBlock as h, createCommentVNode as b } from "vue";
2
+ import { FormKit as v } from "@formkit/vue";
3
+ import { PhLightbulb as _ } from "@phosphor-icons/vue";
4
+ import P from "../../../../stories/components/LinkCard.vue.js";
5
+ import D from "../../../components/StepActionsSection.vue.js";
6
+ import a from "../ButtonV3.vue.js";
7
+ import z from "../Card.vue.js";
8
+ import W from "../TextArea/TextAreaDefinition.js";
9
+ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" }, R = { class: "funny-section" }, I = {
10
+ id: "partners-section",
11
+ class: "funny-section"
12
+ }, E = { class: "partner-cards-container" }, F = { class: "action-container" }, $ = { class: "step-actions__prev-and-next" }, M = { class: "actions" }, U = { class: "funny-section" }, Z = 1e3, X = /* @__PURE__ */ w({
13
+ __name: "BasicInformationStep",
14
+ setup(j) {
15
+ const p = g(""), k = g([]);
16
+ g([]);
17
+ const C = S(() => {
18
+ var f;
19
+ return ((f = p.value) == null ? void 0 : f.length) || 0;
20
+ });
21
+ return (f, e) => (s(), x("div", A, [
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 Datenverarbeitung"),
25
+ t("span", { class: "copy-large-regular" }, [
26
+ m(" Beschreiben Sie im Schritt der "),
27
+ t("strong", null, "Datenverarbeitung"),
28
+ m(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
29
+ ])
30
+ ])
31
+ ], -1)),
32
+ t("section", N, [
33
+ n(o(v), {
34
+ id: "Beschreibung",
35
+ modelValue: p.value,
36
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => p.value = r),
37
+ class: "budgetArea",
38
+ label: "Beschreibung",
39
+ type: o(W),
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: `${C.value} von ${Z} Zeichen`,
47
+ "count-hint": !0
48
+ }, null, 8, ["modelValue", "type", "help"])
49
+ ]),
50
+ t("section", R, [
51
+ n(z, { variant: "default" }, {
52
+ icon: i(() => [
53
+ n(o(_), {
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, " 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))
63
+ ]),
64
+ _: 1,
65
+ __: [3]
66
+ })
67
+ ]),
68
+ t("section", I, [
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", E, [
72
+ n(o(v), {
73
+ modelValue: k.value,
74
+ "onUpdate:modelValue": e[1] || (e[1] = (r) => k.value = r),
75
+ type: "list",
76
+ name: "links",
77
+ dynamic: ""
78
+ }, {
79
+ default: i(({ items: r, node: l, value: u }) => [
80
+ (s(!0), x(B, null, L(r, (d, c) => (s(), h(o(v), {
81
+ key: d,
82
+ type: "group",
83
+ index: c
84
+ }, {
85
+ default: i(() => [
86
+ n(P, null, {
87
+ action: i(() => [
88
+ n(a, {
89
+ "button-text": "Löschen",
90
+ size: "small",
91
+ variant: "tertiary",
92
+ "icon-start": "trash",
93
+ onClick: () => l.input(u.filter((y, V) => V !== c))
94
+ }, null, 8, ["onClick"])
95
+ ]),
96
+ _: 2
97
+ }, 1024)
98
+ ]),
99
+ _: 2
100
+ }, 1032, ["index"]))), 128)),
101
+ t("div", F, [
102
+ n(a, {
103
+ "button-text": "Link hinzufügen",
104
+ size: "medium",
105
+ variant: "tertiary",
106
+ "icon-start": "plus",
107
+ onClick: (d) => l.input(u.concat({}))
108
+ }, null, 8, ["onClick"])
109
+ ])
110
+ ]),
111
+ _: 1
112
+ }, 8, ["modelValue"])
113
+ ])
114
+ ]),
115
+ n(D, { "next-text": "Weiter zu Software" }, {
116
+ "prev-and-next": i(({
117
+ hidePrevious: r,
118
+ hideNext: l,
119
+ previousText: u,
120
+ nextText: d,
121
+ handlePrevious: c,
122
+ handleSubmit: y
123
+ }) => [
124
+ t("div", $, [
125
+ t("div", M, [
126
+ r ? b("", !0) : (s(), h(a, {
127
+ key: 0,
128
+ variant: "secondary",
129
+ size: "large",
130
+ "button-text": u,
131
+ "icon-start": "CaretLeft",
132
+ class: "previus-button",
133
+ onClick: c
134
+ }, null, 8, ["button-text", "onClick"])),
135
+ r ? b("", !0) : (s(), h(a, {
136
+ key: 1,
137
+ variant: "secondary",
138
+ size: "large",
139
+ "button-text": "Weiter ohne Datenverarbeitung",
140
+ "icon-end": "CaretRight",
141
+ class: "secondary-button"
142
+ }))
143
+ ]),
144
+ l ? b("", !0) : (s(), h(a, {
145
+ key: 0,
146
+ variant: "primary",
147
+ size: "large",
148
+ "button-text": d,
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", U, [
158
+ n(z, { variant: "default" }, {
159
+ icon: i(() => [
160
+ n(o(_), {
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 "Datenverarbeitung" ü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
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./DpiModalBase.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-637db601"]]);
3
+ import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ a(o, [["__scopeId", "data-v-c3a5360e"]]);
5
5
  export {
6
- m as default
6
+ e as default
7
7
  };
@@ -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 c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-523cd381"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-341c16e4"]]);
5
5
  export {
6
6
  c as default
7
7
  };