@piveau/dpi 0.2.0-alpha.14 → 0.2.0-alpha.16

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 (70) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +46 -48
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +107 -88
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +86 -62
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +7 -4
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +26 -27
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +19 -19
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +140 -116
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +36 -29
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +189 -155
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +50 -45
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  40. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +367 -379
  41. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
  42. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
  43. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +157 -141
  44. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
  45. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +172 -0
  46. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
  47. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -0
  48. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
  49. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +2 -2
  50. package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
  51. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +20 -20
  52. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +68 -70
  53. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +61 -59
  54. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +185 -180
  55. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +60 -61
  56. package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +76 -46
  57. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +67 -34
  58. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +85 -0
  59. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
  60. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +98 -94
  61. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
  62. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +314 -307
  63. package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
  64. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  65. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
  66. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  67. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
  68. package/package.json +5 -5
  69. package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
  70. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
@@ -1,32 +1,32 @@
1
- import { defineComponent as B, ref as g, computed as D, inject as L, createElementBlock as _, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as p, unref as o, withCtx as i, Fragment as P, renderList as I, createBlock as m, createCommentVNode as b } from "vue";
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
2
  import { FormKit as v } from "@formkit/vue";
3
- import { PhLightbulb as z } from "@phosphor-icons/vue";
3
+ import { PhLightbulb as _ } from "@phosphor-icons/vue";
4
4
  import N from "../../../../stories/components/LinkCard.vue.js";
5
5
  import T from "../../../components/StepActionsSection.vue.js";
6
+ import { dpiStepperKey as W } from "../../../utils/injectionKeys.js";
6
7
  import a from "../ButtonV3.vue.js";
7
- import S from "../Card.vue.js";
8
- import W from "../TextArea/TextAreaDefinition.js";
9
- import { dpiStepperKey as E } from "../../../utils/injectionKeys.js";
8
+ import z from "../Card.vue.js";
9
+ import E from "../TextArea/TextAreaDefinition.js";
10
10
  const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" }, M = { class: "funny-section" }, R = {
11
11
  id: "partners-section",
12
12
  class: "funny-section"
13
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
14
  __name: "BasicInformationStep",
15
- setup(O) {
15
+ setup(q) {
16
16
  const f = g(""), k = g([]);
17
17
  g([]);
18
18
  const w = D(() => {
19
19
  var h;
20
20
  return ((h = f.value) == null ? void 0 : h.length) || 0;
21
- }), y = L(E);
21
+ }), y = P(W);
22
22
  function C() {
23
23
  if (!y) {
24
24
  console.warn("dpiStepper is not provided");
25
25
  return;
26
26
  }
27
- y.goTo("2. Datenverarbeitung/Grundlegende Informationen");
27
+ y.goToStep("2. Datenverarbeitung/Grundlegende Informationen");
28
28
  }
29
- return (h, e) => (s(), _("div", F, [
29
+ return (h, e) => (s(), S("div", F, [
30
30
  e[8] || (e[8] = t("section", { class: "funny-section" }, [
31
31
  t("div", { class: "funny-flex" }, [
32
32
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenerfassung"),
@@ -44,11 +44,11 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
44
44
  "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
45
45
  class: "budgetArea",
46
46
  label: "Beschreibung",
47
- type: o(W),
47
+ type: o(E),
48
48
  name: "description",
49
49
  "text-label": "Beschreibung",
50
50
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
51
- validation: "length:0,1000",
51
+ validation: "required|length:0,1000",
52
52
  "validation-visibility": "live",
53
53
  hint: "true",
54
54
  help: `${w.value} von ${U} Zeichen`,
@@ -56,9 +56,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
56
56
  }, null, 8, ["modelValue", "type", "help"])
57
57
  ]),
58
58
  t("section", M, [
59
- n(S, { variant: "default" }, {
59
+ n(z, { variant: "default" }, {
60
60
  icon: i(() => [
61
- n(o(z), {
61
+ n(o(_), {
62
62
  size: 32,
63
63
  color: "#009fe3"
64
64
  })
@@ -85,7 +85,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
85
85
  dynamic: ""
86
86
  }, {
87
87
  default: i(({ items: r, node: l, value: u }) => [
88
- (s(!0), _(P, null, I(r, (d, c) => (s(), m(o(v), {
88
+ (s(!0), S(L, null, I(r, (d, c) => (s(), m(o(v), {
89
89
  key: d,
90
90
  type: "group",
91
91
  index: c
@@ -121,7 +121,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
121
121
  ])
122
122
  ]),
123
123
  n(T, {
124
- classList: "step-container",
124
+ "class-list": "step-container",
125
125
  "next-text": "Weiter zu Software"
126
126
  }, {
127
127
  "prev-and-next": i(({
@@ -146,9 +146,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
146
146
  key: 1,
147
147
  variant: "secondary",
148
148
  size: "large",
149
- onClick: C,
150
149
  "button-text": "Weiter ohne Datenerfassung",
151
- "icon-end": "CaretRight"
150
+ "icon-end": "CaretRight",
151
+ onClick: C
152
152
  }))
153
153
  ]),
154
154
  l ? b("", !0) : (s(), m(a, {
@@ -165,9 +165,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
165
165
  _: 1
166
166
  }),
167
167
  t("section", G, [
168
- n(S, { variant: "default" }, {
168
+ n(z, { variant: "default" }, {
169
169
  icon: i(() => [
170
- n(o(z), {
170
+ n(o(_), {
171
171
  size: 32,
172
172
  color: "#009fe3"
173
173
  })
@@ -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 f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fad02306"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b22c0cd1"]]);
5
5
  export {
6
- f as default
6
+ s as default
7
7
  };
@@ -1,54 +1,53 @@
1
- import { defineComponent as B, ref as b, computed as D, inject as L, createElementBlock as _, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as h, unref as o, withCtx as i, Fragment as P, renderList as W, createBlock as p, createCommentVNode as v } from "vue";
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
2
  import { FormKit as k } from "@formkit/vue";
3
3
  import { PhLightbulb as z } from "@phosphor-icons/vue";
4
4
  import A from "../../../../stories/components/LinkCard.vue.js";
5
5
  import I from "../../../components/StepActionsSection.vue.js";
6
+ import { dpiStepperKey as N } from "../../../utils/injectionKeys.js";
6
7
  import a from "../ButtonV3.vue.js";
7
8
  import C from "../Card.vue.js";
8
- import N from "../TextArea/TextAreaDefinition.js";
9
- import { dpiStepperKey as R } from "../../../utils/injectionKeys.js";
9
+ import R from "../TextArea/TextAreaDefinition.js";
10
10
  const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, T = { class: "funny-section" }, $ = {
11
11
  id: "partners-section",
12
12
  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({
13
+ }, j = { class: "partner-cards-container" }, q = { class: "action-container" }, K = { class: "step-actions__prev-and-next" }, M = { class: "actions" }, U = { class: "funny-section" }, Z = 1e3, ie = /* @__PURE__ */ B({
14
14
  __name: "BasicInformationStep",
15
15
  setup(G) {
16
- const f = b(""), y = b([]);
16
+ const p = b(""), y = b([]);
17
17
  b([]);
18
18
  const V = D(() => {
19
19
  var g;
20
- return ((g = f.value) == null ? void 0 : g.length) || 0;
21
- }), l = L(R);
22
- console.log(l);
20
+ return ((g = p.value) == null ? void 0 : g.length) || 0;
21
+ }), f = P(N);
23
22
  function w() {
24
- l == null || l.goTo("3. Datensimulation/Grundlegende Informationen");
23
+ f == null || f.goToStep("3. Datensimulation/Grundlegende Informationen");
25
24
  }
26
25
  return (g, e) => (s(), _("div", E, [
27
26
  e[8] || (e[8] = t("section", { class: "funny-section" }, [
28
27
  t("div", { class: "funny-flex" }, [
29
28
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenverarbeitung"),
30
29
  t("span", { class: "copy-large-regular" }, [
31
- h(" Beschreiben Sie im Schritt der "),
30
+ m(" Beschreiben Sie im Schritt der "),
32
31
  t("strong", null, "Datenverarbeitung"),
33
- h(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
32
+ m(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
34
33
  ])
35
34
  ])
36
35
  ], -1)),
37
36
  t("section", F, [
38
37
  n(o(k), {
39
38
  id: "Beschreibung",
40
- modelValue: f.value,
41
- "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
39
+ modelValue: p.value,
40
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => p.value = r),
42
41
  class: "budgetArea",
43
42
  label: "Beschreibung",
44
- type: o(N),
43
+ type: o(R),
45
44
  name: "description",
46
45
  "text-label": "Beschreibung",
47
46
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
48
- validation: "length:0,1000",
49
- "validation-visibility": "live",
47
+ validation: "required|length:0,1000",
48
+ "validation-visibility": "submit",
50
49
  hint: "true",
51
- help: `${V.value} von ${q} Zeichen`,
50
+ help: `${V.value} von ${Z} Zeichen`,
52
51
  "count-hint": !0
53
52
  }, null, 8, ["modelValue", "type", "help"])
54
53
  ]),
@@ -61,7 +60,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
61
60
  })
62
61
  ]),
63
62
  title: i(() => e[2] || (e[2] = [
64
- h(" Beispiel ", -1)
63
+ m(" Beispiel ", -1)
65
64
  ])),
66
65
  default: i(() => [
67
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,11 +80,11 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
81
80
  name: "links",
82
81
  dynamic: ""
83
82
  }, {
84
- default: i(({ items: r, node: u, value: c }) => [
85
- (s(!0), _(P, null, W(r, (d, m) => (s(), p(o(k), {
83
+ default: i(({ items: r, node: l, value: u }) => [
84
+ (s(!0), _(L, null, W(r, (d, c) => (s(), h(o(k), {
86
85
  key: d,
87
86
  type: "group",
88
- index: m
87
+ index: c
89
88
  }, {
90
89
  default: i(() => [
91
90
  n(A, null, {
@@ -95,7 +94,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
95
94
  size: "small",
96
95
  variant: "tertiary",
97
96
  "icon-start": "trash",
98
- onClick: () => u.input(c.filter((x, S) => S !== m))
97
+ onClick: () => l.input(u.filter((x, S) => S !== c))
99
98
  }, null, 8, ["onClick"])
100
99
  ]),
101
100
  _: 2
@@ -103,13 +102,13 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
103
102
  ]),
104
103
  _: 2
105
104
  }, 1032, ["index"]))), 128)),
106
- t("div", K, [
105
+ t("div", q, [
107
106
  n(a, {
108
107
  "button-text": "Link hinzufügen",
109
108
  size: "medium",
110
109
  variant: "tertiary",
111
110
  "icon-start": "plus",
112
- onClick: (d) => u.input(c.concat({}))
111
+ onClick: (d) => l.input(u.concat({}))
113
112
  }, null, 8, ["onClick"])
114
113
  ])
115
114
  ]),
@@ -118,39 +117,39 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
118
117
  ])
119
118
  ]),
120
119
  n(I, {
121
- classList: "step-actions",
120
+ "class-list": "step-actions",
122
121
  "next-text": "Weiter zu Software"
123
122
  }, {
124
123
  "prev-and-next": i(({
125
124
  hidePrevious: r,
126
- hideNext: u,
127
- previousText: c,
125
+ hideNext: l,
126
+ previousText: u,
128
127
  nextText: d,
129
- handlePrevious: m,
128
+ handlePrevious: c,
130
129
  handleSubmit: x
131
130
  }) => [
132
- t("div", M, [
133
- t("div", U, [
134
- r ? v("", !0) : (s(), p(a, {
131
+ t("div", K, [
132
+ t("div", M, [
133
+ r ? v("", !0) : (s(), h(a, {
135
134
  key: 0,
136
135
  variant: "secondary",
137
136
  size: "large",
138
- "button-text": c,
137
+ "button-text": u,
139
138
  "icon-start": "CaretLeft",
140
139
  class: "previus-button",
141
- onClick: m
140
+ onClick: c
142
141
  }, null, 8, ["button-text", "onClick"])),
143
- r ? v("", !0) : (s(), p(a, {
142
+ r ? v("", !0) : (s(), h(a, {
144
143
  key: 1,
145
144
  variant: "secondary",
146
145
  size: "large",
147
146
  "button-text": "Weiter ohne Datenverarbeitung",
148
- onClick: w,
149
147
  "icon-end": "CaretRight",
150
- class: "secondary-button"
148
+ class: "secondary-button",
149
+ onClick: w
151
150
  }))
152
151
  ]),
153
- u ? v("", !0) : (s(), p(a, {
152
+ l ? v("", !0) : (s(), h(a, {
154
153
  key: 0,
155
154
  variant: "primary",
156
155
  size: "large",
@@ -163,7 +162,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
163
162
  ]),
164
163
  _: 1
165
164
  }),
166
- t("section", Z, [
165
+ t("section", U, [
167
166
  n(C, { variant: "default" }, {
168
167
  icon: i(() => [
169
168
  n(o(z), {
@@ -172,7 +171,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
172
171
  })
173
172
  ]),
174
173
  title: i(() => e[6] || (e[6] = [
175
- h(" Vorsicht! ", -1)
174
+ m(" Vorsicht! ", -1)
176
175
  ])),
177
176
  default: i(() => [
178
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))
@@ -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-d0358859"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f553622f"]]);
5
5
  export {
6
- r as default
6
+ m as default
7
7
  };
@@ -1,96 +1,97 @@
1
- import { defineComponent as V, ref as g, computed as w, createElementBlock as z, openBlock as r, createElementVNode as t, createVNode as n, createTextVNode as m, unref as o, withCtx as i, Fragment as B, renderList as D, createBlock as h, createCommentVNode as b } from "vue";
2
- import { FormKit as v } from "@formkit/vue";
3
- import { PhLightbulb as S } from "@phosphor-icons/vue";
4
- import L from "../../../../stories/components/LinkCard.vue.js";
5
- import P from "../../../components/StepActionsSection.vue.js";
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
6
  import l from "../ButtonV3.vue.js";
7
- import x from "../Card.vue.js";
8
- import E from "../TextArea/TextAreaDefinition.js";
9
- const N = { class: "dpiV3_page V3-typography" }, I = { class: "funny-section" }, A = { class: "funny-section" }, F = {
7
+ import _ from "../Card.vue.js";
8
+ import N from "../TextArea/TextAreaDefinition.js";
9
+ import { dpiStepperKey as A } from "../../../utils/injectionKeys.js";
10
+ const F = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" }, W = { class: "funny-section" }, $ = {
10
11
  id: "partners-section",
11
12
  class: "funny-section"
12
- }, R = { class: "partner-cards-container" }, W = { class: "action-container" }, $ = { class: "step-actions__prev-and-next" }, U = { class: "actions" }, Z = { class: "funny-section" }, j = 1e3, X = /* @__PURE__ */ V({
13
+ }, 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({
13
14
  __name: "BasicInformationStep",
14
- setup(K) {
15
- const p = g(""), k = g([]);
16
- g([]);
17
- const _ = w(() => {
18
- var f;
19
- return ((f = p.value) == null ? void 0 : f.length) || 0;
20
- });
21
- return (f, e) => (r(), z("div", N, [
22
- e[8] || (e[8] = t("section", { class: "funny-section" }, [
15
+ setup(M) {
16
+ const f = b(""), y = b([]);
17
+ b([]);
18
+ const C = B(() => {
19
+ var g;
20
+ return ((g = f.value) == null ? void 0 : g.length) || 0;
21
+ }), V = D(A);
22
+ return (g, e) => (o(), z("div", F, [
23
+ e[9] || (e[9] = t("section", { class: "funny-section" }, [
23
24
  t("div", { class: "funny-flex" }, [
24
25
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datensimulation"),
25
26
  t("span", { class: "copy-large-regular" }, [
26
- m(" Schildern Sie im Schritt der "),
27
+ p(" Schildern Sie im Schritt der "),
27
28
  t("strong", null, "Datensimulation"),
28
- m(", ob und wie Sie auf Basis der verarbeiteten Daten Szenarien mithilfe von Simulationsmodellen nachgebildet und analysiert haben. ")
29
+ p(", ob und wie Sie auf Basis der verarbeiteten Daten Szenarien mithilfe von Simulationsmodellen nachgebildet und analysiert haben. ")
29
30
  ])
30
31
  ])
31
32
  ], -1)),
32
- t("section", I, [
33
- n(o(v), {
33
+ t("section", R, [
34
+ n(s(k), {
34
35
  id: "Beschreibung",
35
- modelValue: p.value,
36
- "onUpdate:modelValue": e[0] || (e[0] = (s) => p.value = s),
36
+ modelValue: f.value,
37
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
37
38
  class: "budgetArea",
38
39
  label: "Beschreibung",
39
- type: o(E),
40
+ type: s(N),
40
41
  name: "description",
41
42
  "text-label": "Beschreibung",
42
43
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
43
44
  validation: "length:0,1000",
44
45
  "validation-visibility": "live",
45
46
  hint: "true",
46
- help: `${_.value} von ${j} Zeichen`,
47
+ help: `${C.value} von ${G} Zeichen`,
47
48
  "count-hint": !0
48
49
  }, null, 8, ["modelValue", "type", "help"])
49
50
  ]),
50
- t("section", A, [
51
- n(x, { variant: "default" }, {
51
+ t("section", W, [
52
+ n(_, { variant: "default" }, {
52
53
  icon: i(() => [
53
- n(o(S), {
54
+ n(s(x), {
54
55
  size: 32,
55
56
  color: "#009fe3"
56
57
  })
57
58
  ]),
58
- title: i(() => e[2] || (e[2] = [
59
- m(" Beispiel ", -1)
59
+ title: i(() => e[3] || (e[3] = [
60
+ p(" Beispiel ", -1)
60
61
  ])),
61
62
  default: i(() => [
62
- e[3] || (e[3] = t("p", null, " Basierend auf den verarbeiteten Daten werden mithilfe eines hydrologischen Simulationsmodells verschiedene Szenarien wie Starkregenereignisse oder Schneeschmelze durchgespielt. Die Simulation prognostiziert mögliche Überflutungsgebiete und berechnet die voraussichtlichen Auswirkungen auf die umliegende Infrastruktur. Die Ergebnisse dienen als Entscheidungsgrundlage für präventive Schutzmaßnahmen. ", -1))
63
+ 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))
63
64
  ]),
64
65
  _: 1,
65
- __: [3]
66
+ __: [4]
66
67
  })
67
68
  ]),
68
- t("section", F, [
69
- e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
70
- e[5] || (e[5] = t("span", { class: "copy-large-regular further-links-text" }, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zur Vorgehensweise in diesem Prozessschritt enthalten, wie etwa einzuhaltende Richtlinien oder Standardarbeitsanweisungen..", -1)),
71
- t("div", R, [
72
- n(o(v), {
73
- modelValue: k.value,
74
- "onUpdate:modelValue": e[1] || (e[1] = (s) => k.value = s),
69
+ t("section", $, [
70
+ e[5] || (e[5] = t("h5", null, " Weiterführende Links (optional) ", -1)),
71
+ 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),
75
76
  type: "list",
76
77
  name: "links",
77
78
  dynamic: ""
78
79
  }, {
79
- default: i(({ items: s, node: a, value: u }) => [
80
- (r(!0), z(B, null, D(s, (c, d) => (r(), h(o(v), {
81
- key: c,
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,
82
83
  type: "group",
83
- index: d
84
+ index: c
84
85
  }, {
85
86
  default: i(() => [
86
- n(L, null, {
87
+ n(E, null, {
87
88
  action: i(() => [
88
89
  n(l, {
89
90
  "button-text": "Löschen",
90
91
  size: "small",
91
92
  variant: "tertiary",
92
93
  "icon-start": "trash",
93
- onClick: () => a.input(u.filter((y, C) => C !== d))
94
+ onClick: () => a.input(u.filter((S, m) => m !== c))
94
95
  }, null, 8, ["onClick"])
95
96
  ]),
96
97
  _: 2
@@ -98,13 +99,13 @@ const N = { class: "dpiV3_page V3-typography" }, I = { class: "funny-section" },
98
99
  ]),
99
100
  _: 2
100
101
  }, 1032, ["index"]))), 128)),
101
- t("div", W, [
102
+ t("div", K, [
102
103
  n(l, {
103
104
  "button-text": "Link hinzufügen",
104
105
  size: "medium",
105
106
  variant: "tertiary",
106
107
  "icon-start": "plus",
107
- onClick: (c) => a.input(u.concat({}))
108
+ onClick: (d) => a.input(u.concat({}))
108
109
  }, null, 8, ["onClick"])
109
110
  ])
110
111
  ]),
@@ -112,28 +113,32 @@ const N = { class: "dpiV3_page V3-typography" }, I = { class: "funny-section" },
112
113
  }, 8, ["modelValue"])
113
114
  ])
114
115
  ]),
115
- n(P, { "next-text": "Weiter zu Software" }, {
116
+ n(I, { "next-text": "Weiter zu Software" }, {
116
117
  "prev-and-next": i(({
117
- hidePrevious: s,
118
+ hidePrevious: r,
118
119
  hideNext: a,
119
120
  previousText: u,
120
- nextText: c,
121
- handlePrevious: d,
122
- handleSubmit: y
121
+ nextText: d,
122
+ handlePrevious: c,
123
+ handleSubmit: S
123
124
  }) => [
124
- t("div", $, [
125
+ t("div", T, [
125
126
  t("div", U, [
126
- s ? b("", !0) : (r(), h(l, {
127
+ r ? v("", !0) : (o(), h(l, {
127
128
  key: 0,
128
129
  variant: "secondary",
129
130
  size: "large",
130
131
  "button-text": u,
131
132
  "icon-start": "CaretLeft",
132
133
  class: "previus-button",
133
- onClick: d
134
+ onClick: c
134
135
  }, null, 8, ["button-text", "onClick"])),
135
- s ? b("", !0) : (r(), h(l, {
136
+ r ? v("", !0) : (o(), h(l, {
136
137
  key: 1,
138
+ onClick: e[2] || (e[2] = () => {
139
+ var m;
140
+ return (m = s(V)) == null ? void 0 : m.goToStep("4. Datenvisualisierung/Grundlegende Informationen");
141
+ }),
137
142
  variant: "secondary",
138
143
  size: "large",
139
144
  "button-text": "Weiter ohne Datensimulation",
@@ -141,40 +146,40 @@ const N = { class: "dpiV3_page V3-typography" }, I = { class: "funny-section" },
141
146
  class: "secondary-button"
142
147
  }))
143
148
  ]),
144
- a ? b("", !0) : (r(), h(l, {
149
+ a ? v("", !0) : (o(), h(l, {
145
150
  key: 0,
146
151
  variant: "primary",
147
152
  size: "large",
148
- "button-text": c,
153
+ "button-text": d,
149
154
  "icon-end": "CaretRight",
150
155
  class: "next-button",
151
- onClick: y
156
+ onClick: S
152
157
  }, null, 8, ["button-text", "onClick"]))
153
158
  ])
154
159
  ]),
155
160
  _: 1
156
161
  }),
157
162
  t("section", Z, [
158
- n(x, { variant: "default" }, {
163
+ n(_, { variant: "default" }, {
159
164
  icon: i(() => [
160
- n(o(S), {
165
+ n(s(x), {
161
166
  size: 32,
162
167
  color: "#009fe3"
163
168
  })
164
169
  ]),
165
- title: i(() => e[6] || (e[6] = [
166
- m(" Vorsicht! ", -1)
170
+ title: i(() => e[7] || (e[7] = [
171
+ p(" Vorsicht! ", -1)
167
172
  ])),
168
173
  default: i(() => [
169
- e[7] || (e[7] = t("p", null, ' Sind Sie sicher, dass Sie den technischen Prozessschritt "Datensimulation" überspringen wollen? Pro Projekt muss mindestens ein technischer Prozessschritt beschrieben werden. ', -1))
174
+ 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))
170
175
  ]),
171
176
  _: 1,
172
- __: [7]
177
+ __: [8]
173
178
  })
174
179
  ])
175
180
  ]));
176
181
  }
177
182
  });
178
183
  export {
179
- X as default
184
+ ne as default
180
185
  };
@@ -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 s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7c2ec289"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d89199e3"]]);
5
5
  export {
6
6
  s as default
7
7
  };