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

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 (28) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +30 -29
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +101 -91
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +68 -59
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +59 -62
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +72 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +22 -22
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +9 -4
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +1 -1
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +16 -15
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +57 -22
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +161 -161
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +41 -46
  20. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +32 -29
  22. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
  23. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +3 -4
  24. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  25. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +11 -13
  26. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  27. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +6 -7
  28. package/package.json +1 -1
@@ -1,62 +1,67 @@
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";
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";
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
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 = {
7
+ import C from "../Card.vue.js";
8
+ import N from "../TextArea/TextAreaDefinition.js";
9
+ import { dpiStepperKey as R } from "../../../utils/injectionKeys.js";
10
+ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, T = { class: "funny-section" }, $ = {
10
11
  id: "partners-section",
11
12
  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
+ }, 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
14
  __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, [
15
+ setup(G) {
16
+ const f = b(""), y = b([]);
17
+ b([]);
18
+ const V = D(() => {
19
+ var g;
20
+ return ((g = f.value) == null ? void 0 : g.length) || 0;
21
+ }), l = L(R);
22
+ console.log(l);
23
+ function w() {
24
+ l == null || l.goTo("3. Datensimulation/Grundlegende Informationen");
25
+ }
26
+ return (g, e) => (s(), _("div", E, [
22
27
  e[8] || (e[8] = t("section", { class: "funny-section" }, [
23
28
  t("div", { class: "funny-flex" }, [
24
29
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenverarbeitung"),
25
30
  t("span", { class: "copy-large-regular" }, [
26
- m(" Beschreiben Sie im Schritt der "),
31
+ h(" Beschreiben Sie im Schritt der "),
27
32
  t("strong", null, "Datenverarbeitung"),
28
- m(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
33
+ h(", wie Sie die Rohdaten zusammengeführt und aufbereitet haben. ")
29
34
  ])
30
35
  ])
31
36
  ], -1)),
32
- t("section", N, [
33
- n(o(v), {
37
+ t("section", F, [
38
+ n(o(k), {
34
39
  id: "Beschreibung",
35
- modelValue: p.value,
36
- "onUpdate:modelValue": e[0] || (e[0] = (r) => p.value = r),
40
+ modelValue: f.value,
41
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
37
42
  class: "budgetArea",
38
43
  label: "Beschreibung",
39
- type: o(W),
44
+ type: o(N),
40
45
  name: "description",
41
46
  "text-label": "Beschreibung",
42
47
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
43
48
  validation: "length:0,1000",
44
49
  "validation-visibility": "live",
45
50
  hint: "true",
46
- help: `${C.value} von ${Z} Zeichen`,
51
+ help: `${V.value} von ${q} Zeichen`,
47
52
  "count-hint": !0
48
53
  }, null, 8, ["modelValue", "type", "help"])
49
54
  ]),
50
- t("section", R, [
51
- n(z, { variant: "default" }, {
55
+ t("section", T, [
56
+ n(C, { variant: "default" }, {
52
57
  icon: i(() => [
53
- n(o(_), {
58
+ n(o(z), {
54
59
  size: 32,
55
60
  color: "#009fe3"
56
61
  })
57
62
  ]),
58
63
  title: i(() => e[2] || (e[2] = [
59
- m(" Beispiel ", -1)
64
+ h(" Beispiel ", -1)
60
65
  ])),
61
66
  default: i(() => [
62
67
  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))
@@ -65,32 +70,32 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
65
70
  __: [3]
66
71
  })
67
72
  ]),
68
- t("section", I, [
73
+ t("section", $, [
69
74
  e[4] || (e[4] = t("h5", null, " Weiterführende Links (optional) ", -1)),
70
75
  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),
76
+ t("div", j, [
77
+ n(o(k), {
78
+ modelValue: y.value,
79
+ "onUpdate:modelValue": e[1] || (e[1] = (r) => y.value = r),
75
80
  type: "list",
76
81
  name: "links",
77
82
  dynamic: ""
78
83
  }, {
79
- default: i(({ items: r, node: l, value: u }) => [
80
- (s(!0), x(B, null, L(r, (d, c) => (s(), h(o(v), {
84
+ default: i(({ items: r, node: u, value: c }) => [
85
+ (s(!0), _(P, null, W(r, (d, m) => (s(), p(o(k), {
81
86
  key: d,
82
87
  type: "group",
83
- index: c
88
+ index: m
84
89
  }, {
85
90
  default: i(() => [
86
- n(P, null, {
91
+ n(A, null, {
87
92
  action: i(() => [
88
93
  n(a, {
89
94
  "button-text": "Löschen",
90
95
  size: "small",
91
96
  variant: "tertiary",
92
97
  "icon-start": "trash",
93
- onClick: () => l.input(u.filter((y, V) => V !== c))
98
+ onClick: () => u.input(c.filter((x, S) => S !== m))
94
99
  }, null, 8, ["onClick"])
95
100
  ]),
96
101
  _: 2
@@ -98,13 +103,13 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
98
103
  ]),
99
104
  _: 2
100
105
  }, 1032, ["index"]))), 128)),
101
- t("div", F, [
106
+ t("div", K, [
102
107
  n(a, {
103
108
  "button-text": "Link hinzufügen",
104
109
  size: "medium",
105
110
  variant: "tertiary",
106
111
  "icon-start": "plus",
107
- onClick: (d) => l.input(u.concat({}))
112
+ onClick: (d) => u.input(c.concat({}))
108
113
  }, null, 8, ["onClick"])
109
114
  ])
110
115
  ]),
@@ -112,58 +117,62 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
112
117
  }, 8, ["modelValue"])
113
118
  ])
114
119
  ]),
115
- n(D, { "next-text": "Weiter zu Software" }, {
120
+ n(I, {
121
+ classList: "step-actions",
122
+ "next-text": "Weiter zu Software"
123
+ }, {
116
124
  "prev-and-next": i(({
117
125
  hidePrevious: r,
118
- hideNext: l,
119
- previousText: u,
126
+ hideNext: u,
127
+ previousText: c,
120
128
  nextText: d,
121
- handlePrevious: c,
122
- handleSubmit: y
129
+ handlePrevious: m,
130
+ handleSubmit: x
123
131
  }) => [
124
- t("div", $, [
125
- t("div", M, [
126
- r ? b("", !0) : (s(), h(a, {
132
+ t("div", M, [
133
+ t("div", U, [
134
+ r ? v("", !0) : (s(), p(a, {
127
135
  key: 0,
128
136
  variant: "secondary",
129
137
  size: "large",
130
- "button-text": u,
138
+ "button-text": c,
131
139
  "icon-start": "CaretLeft",
132
140
  class: "previus-button",
133
- onClick: c
141
+ onClick: m
134
142
  }, null, 8, ["button-text", "onClick"])),
135
- r ? b("", !0) : (s(), h(a, {
143
+ r ? v("", !0) : (s(), p(a, {
136
144
  key: 1,
137
145
  variant: "secondary",
138
146
  size: "large",
139
147
  "button-text": "Weiter ohne Datenverarbeitung",
148
+ onClick: w,
140
149
  "icon-end": "CaretRight",
141
150
  class: "secondary-button"
142
151
  }))
143
152
  ]),
144
- l ? b("", !0) : (s(), h(a, {
153
+ u ? v("", !0) : (s(), p(a, {
145
154
  key: 0,
146
155
  variant: "primary",
147
156
  size: "large",
148
157
  "button-text": d,
149
158
  "icon-end": "CaretRight",
150
159
  class: "next-button",
151
- onClick: y
160
+ onClick: x
152
161
  }, null, 8, ["button-text", "onClick"]))
153
162
  ])
154
163
  ]),
155
164
  _: 1
156
165
  }),
157
- t("section", U, [
158
- n(z, { variant: "default" }, {
166
+ t("section", Z, [
167
+ n(C, { variant: "default" }, {
159
168
  icon: i(() => [
160
- n(o(_), {
169
+ n(o(z), {
161
170
  size: 32,
162
171
  color: "#009fe3"
163
172
  })
164
173
  ]),
165
174
  title: i(() => e[6] || (e[6] = [
166
- m(" Vorsicht! ", -1)
175
+ h(" Vorsicht! ", -1)
167
176
  ])),
168
177
  default: i(() => [
169
178
  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))
@@ -176,5 +185,5 @@ const A = { class: "dpiV3_page V3-typography" }, N = { class: "funny-section" },
176
185
  }
177
186
  });
178
187
  export {
179
- X as default
188
+ ie as default
180
189
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./OptionalDataStep.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b90f51bd"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-667626eb"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as I, ref as g, computed as B, createElementBlock as h, openBlock as s, createElementVNode as t, createVNode as i, unref as l, withCtx as a, Fragment as v, renderList as y, createBlock as z, createTextVNode as j, createCommentVNode as D, withDirectives as L, vModelCheckbox as E } from "vue";
2
- import { FormKit as r } from "@formkit/vue";
1
+ import { defineComponent as I, ref as g, computed as B, createElementBlock as h, openBlock as o, createElementVNode as t, createVNode as i, unref as l, withCtx as r, Fragment as v, renderList as y, createBlock as z, createTextVNode as j, createCommentVNode as D, withDirectives as L, vModelCheckbox as E } from "vue";
2
+ import { FormKit as a } from "@formkit/vue";
3
3
  import { PhLightbulb as U } from "@phosphor-icons/vue";
4
4
  import $ from "../../../../stories/components/LinkCard.vue.js";
5
5
  import A from "../../../../stories/components/PartnerCard.vue.js";
@@ -11,22 +11,22 @@ import T from "../Chip.vue.js";
11
11
  import W from "../InputField.vue.js";
12
12
  import S from "../InputField/InputFieldDefinition.js";
13
13
  import M from "../TextArea/TextAreaDefinition.js";
14
- const Z = { class: "dpiV3_page V3-typography" }, O = {
14
+ const Z = { class: "dpiV3_page V3-typography" }, q = {
15
15
  id: "partners-section",
16
16
  class: "funny-section"
17
- }, R = { class: "partner-cards-container" }, q = { class: "action-container" }, H = { class: "funny-section" }, J = { class: "start-and-end" }, Q = { class: "funny-section" }, X = { class: "funny-section" }, Y = {
17
+ }, O = { class: "partner-cards-container" }, R = { class: "action-container" }, H = { class: "funny-section" }, J = { class: "start-and-end" }, Q = { class: "funny-section" }, X = { class: "funny-section required-skills" }, Y = {
18
18
  key: 0,
19
19
  class: "d-flex"
20
20
  }, ee = ["id", "value"], te = ["for"], ne = { class: "action-container" }, ie = {
21
21
  id: "partners-section",
22
22
  class: "funny-section"
23
- }, le = { class: "partner-cards-container" }, ae = { class: "action-container" }, re = {
23
+ }, le = { class: "partner-cards-container" }, re = { class: "action-container" }, ae = {
24
24
  id: "partners-section",
25
25
  class: "funny-section"
26
- }, oe = { class: "partner-cards-container" }, se = { class: "action-container" }, ue = { class: "funny-section" }, de = 500, Ce = /* @__PURE__ */ I({
26
+ }, se = { class: "partner-cards-container" }, oe = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
27
27
  __name: "OptionalDataStep",
28
- setup(ce) {
29
- const x = g(""), V = g([]), C = g([]), _ = g([]), P = B(() => {
28
+ setup(de) {
29
+ const x = g(""), V = g([]), C = g([]), w = g([]), P = B(() => {
30
30
  var p;
31
31
  return ((p = x.value) == null ? void 0 : p.length) || 0;
32
32
  }), b = g(""), u = g([]);
@@ -36,39 +36,39 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
36
36
  u.value.includes(e) || u.value.push(e), b.value = "";
37
37
  }
38
38
  }
39
- return (p, e) => (s(), h("div", Z, [
39
+ return (p, e) => (o(), h("div", Z, [
40
40
  e[22] || (e[22] = t("section", { class: "funny-section" }, [
41
41
  t("div", { class: "funny-flex" }, [
42
42
  t("h4", null, "Fügen Sie optionale Daten hinzu"),
43
43
  t("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. ")
44
44
  ])
45
45
  ], -1)),
46
- t("section", O, [
46
+ t("section", q, [
47
47
  e[8] || (e[8] = t("h5", null, " Partner ", -1)),
48
48
  e[9] || (e[9] = t("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
49
- t("div", R, [
50
- i(l(r), {
49
+ t("div", O, [
50
+ i(l(a), {
51
51
  modelValue: V.value,
52
52
  "onUpdate:modelValue": e[0] || (e[0] = (n) => V.value = n),
53
53
  type: "list",
54
54
  name: "partners",
55
55
  dynamic: ""
56
56
  }, {
57
- default: a(({ items: n, node: o, value: d }) => [
58
- (s(!0), h(v, null, y(n, (c, m) => (s(), z(l(r), {
59
- key: c,
57
+ default: r(({ items: n, node: s, value: d }) => [
58
+ (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
59
+ key: m,
60
60
  type: "group",
61
- index: m
61
+ index: c
62
62
  }, {
63
- default: a(() => [
63
+ default: r(() => [
64
64
  i(A, null, {
65
- action: a(() => [
65
+ action: r(() => [
66
66
  i(f, {
67
67
  "button-text": "Löschen",
68
68
  size: "small",
69
69
  variant: "tertiary",
70
70
  "icon-start": "trash",
71
- onClick: () => o.input(d.filter((w, k) => k !== m))
71
+ onClick: () => s.input(d.filter((_, k) => k !== c))
72
72
  }, null, 8, ["onClick"])
73
73
  ]),
74
74
  _: 2
@@ -76,13 +76,13 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
76
76
  ]),
77
77
  _: 2
78
78
  }, 1032, ["index"]))), 128)),
79
- t("div", q, [
79
+ t("div", R, [
80
80
  i(f, {
81
81
  "button-text": "Partner hinzufügen",
82
82
  size: "medium",
83
83
  variant: "tertiary",
84
84
  "icon-start": "plus",
85
- onClick: (c) => o.input(d.concat({}))
85
+ onClick: (m) => s.input(d.concat({}))
86
86
  }, null, 8, ["onClick"])
87
87
  ])
88
88
  ]),
@@ -94,7 +94,7 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
94
94
  e[10] || (e[10] = t("h5", null, " Projektzeitraum ", -1)),
95
95
  e[11] || (e[11] = t("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
96
96
  t("div", J, [
97
- i(l(r), {
97
+ i(l(a), {
98
98
  type: l(S),
99
99
  name: "startDate",
100
100
  "text-label": "Startdatum",
@@ -108,7 +108,7 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
108
108
  "show-end-icon": !1,
109
109
  "initial-hint-text": !1
110
110
  }, null, 8, ["type"]),
111
- i(l(r), {
111
+ i(l(a), {
112
112
  type: l(S),
113
113
  name: "endDate",
114
114
  "text-label": "Enddatum",
@@ -129,16 +129,15 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
129
129
  e[15] || (e[15] = t("div", { class: "budget" }, [
130
130
  t("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
131
131
  ], -1)),
132
- i(l(r), {
132
+ i(l(a), {
133
133
  type: l(S),
134
- "add-on-text": !0,
135
134
  name: "budget",
136
135
  "trailing-text": !0,
137
136
  trailing_text: "€",
138
137
  "text-label": "Budget",
139
138
  placeholder: "....Budget"
140
139
  }, null, 8, ["type"]),
141
- i(l(r), {
140
+ i(l(a), {
142
141
  id: "Förderung",
143
142
  modelValue: x.value,
144
143
  "onUpdate:modelValue": e[1] || (e[1] = (n) => x.value = n),
@@ -151,20 +150,20 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
151
150
  validation: "length:0,500",
152
151
  "validation-visibility": "live",
153
152
  hint: "true",
154
- help: `${P.value} von ${de} Zeichen`,
153
+ help: `${P.value} von ${ue} Zeichen`,
155
154
  "count-hint": !0
156
155
  }, null, 8, ["modelValue", "type", "help"]),
157
156
  i(K, { variant: "default" }, {
158
- icon: a(() => [
157
+ icon: r(() => [
159
158
  i(l(U), {
160
159
  size: 32,
161
160
  color: "#009fe3"
162
161
  })
163
162
  ]),
164
- title: a(() => e[12] || (e[12] = [
163
+ title: r(() => e[12] || (e[12] = [
165
164
  j(" Information ", -1)
166
165
  ])),
167
- default: a(() => [
166
+ default: r(() => [
168
167
  e[13] || (e[13] = t("div", { class: "copy-large-regular" }, [
169
168
  t("p", null, "Ihre Angabe zum Gesamtbudget hilft anderen Kommunen, den Umfang Ihres Projekts besser einzuschätzen. Sie können hier auch einen Schätzwert eingeben, falls das Projekt z.B. noch nicht abgeschlossen ist. Wenn Sie eine Förderung erhalten und das Projekt ausschließlich damit finanziert haben, geben Sie die Fördersumme als Ihr Gesamtbudget an.")
170
169
  ], -1))
@@ -176,20 +175,20 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
176
175
  t("section", X, [
177
176
  e[16] || (e[16] = t("h5", null, "Erforderliche Fachkompetenzen", -1)),
178
177
  e[17] || (e[17] = t("p", null, "Damit andere Kommunen besser einschätzen können, welche Fachkenntnisse das Projektteam mitbringen sollte, bitten wir Sie, hier die Kompetenzfelder anzugeben, die für Ihr Projekt am Wichtigsten waren (z.B. Datenmanagement oder Projektmanagement).", -1)),
179
- i(l(r), {
178
+ i(l(a), {
180
179
  modelValue: u.value,
181
180
  "onUpdate:modelValue": e[2] || (e[2] = (n) => u.value = n),
182
181
  type: "hidden",
183
182
  name: "requiredExpertise"
184
183
  }, null, 8, ["modelValue"]),
185
- u.value.length > 0 ? (s(), h("div", Y, [
186
- (s(!0), h(v, null, y(u.value, (n) => (s(), h("div", {
184
+ u.value.length > 0 ? (o(), h("div", Y, [
185
+ (o(!0), h(v, null, y(u.value, (n) => (o(), h("div", {
187
186
  key: n,
188
187
  class: "label-chip"
189
188
  }, [
190
189
  L(t("input", {
191
190
  id: `hardware-${n}`,
192
- "onUpdate:modelValue": e[3] || (e[3] = (o) => u.value = o),
191
+ "onUpdate:modelValue": e[3] || (e[3] = (s) => u.value = s),
193
192
  class: "label-chip__input",
194
193
  type: "checkbox",
195
194
  value: n
@@ -243,28 +242,28 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
243
242
  e[18] || (e[18] = t("h5", null, " Screenshots ", -1)),
244
243
  e[19] || (e[19] = t("span", { class: "copy-large-regular" }, "Bilder oder Screenshots helfen einen besseren Eindruck von Ihrem Projekt zu bekommen. Aus rechtlichen und technischen Gründen können Sie keine Dateien hochladen. Geben Sie daher bitte die URL an, unter der das Bild oder der Screenshot dauerhaft zu erreichen sein wird.", -1)),
245
244
  t("div", le, [
246
- i(l(r), {
245
+ i(l(a), {
247
246
  modelValue: C.value,
248
247
  "onUpdate:modelValue": e[6] || (e[6] = (n) => C.value = n),
249
248
  type: "list",
250
249
  name: "references",
251
250
  dynamic: ""
252
251
  }, {
253
- default: a(({ items: n, node: o, value: d }) => [
254
- (s(!0), h(v, null, y(n, (c, m) => (s(), z(l(r), {
255
- key: c,
252
+ default: r(({ items: n, node: s, value: d }) => [
253
+ (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
254
+ key: m,
256
255
  type: "group",
257
- index: m
256
+ index: c
258
257
  }, {
259
- default: a(() => [
258
+ default: r(() => [
260
259
  i(N, null, {
261
- action: a(() => [
260
+ action: r(() => [
262
261
  i(f, {
263
262
  "button-text": "Löschen",
264
263
  size: "small",
265
264
  variant: "tertiary",
266
265
  "icon-start": "trash",
267
- onClick: () => o.input(d.filter((w, k) => k !== m))
266
+ onClick: () => s.input(d.filter((_, k) => k !== c))
268
267
  }, null, 8, ["onClick"])
269
268
  ]),
270
269
  _: 2
@@ -272,13 +271,13 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
272
271
  ]),
273
272
  _: 2
274
273
  }, 1032, ["index"]))), 128)),
275
- t("div", ae, [
274
+ t("div", re, [
276
275
  i(f, {
277
276
  "button-text": "Screenshot hinzufügen",
278
277
  size: "medium",
279
278
  variant: "tertiary",
280
279
  "icon-start": "plus",
281
- onClick: (c) => o.input(d.concat({}))
280
+ onClick: (m) => s.input(d.concat({}))
282
281
  }, null, 8, ["onClick"])
283
282
  ])
284
283
  ]),
@@ -286,32 +285,32 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
286
285
  }, 8, ["modelValue"])
287
286
  ])
288
287
  ]),
289
- t("section", re, [
288
+ t("section", ae, [
290
289
  e[20] || (e[20] = t("h5", null, " Weiterführende Links ", -1)),
291
290
  e[21] || (e[21] = t("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)),
292
- t("div", oe, [
293
- i(l(r), {
294
- modelValue: _.value,
295
- "onUpdate:modelValue": e[7] || (e[7] = (n) => _.value = n),
291
+ t("div", se, [
292
+ i(l(a), {
293
+ modelValue: w.value,
294
+ "onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
296
295
  type: "list",
297
296
  name: "links",
298
297
  dynamic: ""
299
298
  }, {
300
- default: a(({ items: n, node: o, value: d }) => [
301
- (s(!0), h(v, null, y(n, (c, m) => (s(), z(l(r), {
302
- key: c,
299
+ default: r(({ items: n, node: s, value: d }) => [
300
+ (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
301
+ key: m,
303
302
  type: "group",
304
- index: m
303
+ index: c
305
304
  }, {
306
- default: a(() => [
305
+ default: r(() => [
307
306
  i($, null, {
308
- action: a(() => [
307
+ action: r(() => [
309
308
  i(f, {
310
309
  "button-text": "Löschen",
311
310
  size: "small",
312
311
  variant: "tertiary",
313
312
  "icon-start": "trash",
314
- onClick: () => o.input(d.filter((w, k) => k !== m))
313
+ onClick: () => s.input(d.filter((_, k) => k !== c))
315
314
  }, null, 8, ["onClick"])
316
315
  ]),
317
316
  _: 2
@@ -319,13 +318,13 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
319
318
  ]),
320
319
  _: 2
321
320
  }, 1032, ["index"]))), 128)),
322
- t("div", se, [
321
+ t("div", oe, [
323
322
  i(f, {
324
323
  "button-text": "Link hinzufügen",
325
324
  size: "medium",
326
325
  variant: "tertiary",
327
326
  "icon-start": "plus",
328
- onClick: (c) => o.input(d.concat({}))
327
+ onClick: (m) => s.input(d.concat({}))
329
328
  }, null, 8, ["onClick"])
330
329
  ])
331
330
  ]),
@@ -333,12 +332,10 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
333
332
  }, 8, ["modelValue"])
334
333
  ])
335
334
  ]),
336
- t("section", ue, [
337
- i(G, { "next-text": "Weiter zu den Projektphasen" })
338
- ])
335
+ i(G, { "next-text": "Weiter zu den Projektphasen" })
339
336
  ]));
340
337
  }
341
338
  });
342
339
  export {
343
- Ce as default
340
+ Ve as default
344
341
  };
@@ -1,74 +1,7 @@
1
- import { defineComponent as w, watch as y, createElementBlock as k, openBlock as B, createElementVNode as i, createVNode as l, mergeProps as _, unref as d, isRef as j, withCtx as A } from "vue";
2
- import { toTypedSchema as C } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
3
- import { useForm as E } from "vee-validate";
4
- import * as D from "zod";
5
- import I from "../Autocomplete/AutocompleteVocab.vue.js";
6
- import N from "../ButtonV3.vue.js";
7
- import R from "./RichOption.vue.js";
8
- const W = { class: "dpi-project-process-step V3-typography" }, K = { class: "step-section" }, O = { class: "step-section-actions" }, H = /* @__PURE__ */ w({
9
- __name: "DatasetForm",
10
- props: {
11
- exclude: { default: () => [] }
12
- },
13
- emits: ["submit"],
14
- setup(v, { emit: z }) {
15
- const S = v, g = z, V = D.object({ id: D.string() }), { defineField: x } = E({
16
- validationSchema: C(V),
17
- initialValues: { id: "" },
18
- name: "datasetForm"
19
- }), [s, F] = x("id");
20
- return y(s, (m) => {
21
- const n = String(m || "").trim();
22
- n && g("submit", { id: n });
23
- }), (m, n) => (B(), k("div", W, [
24
- i("section", K, [
25
- n[1] || (n[1] = i("h5", null, "Wählen Sie einen bestehenden Datensatz", -1)),
26
- n[2] || (n[2] = i("p", null, "Falls der Datensatz schon in unserem System existiert, können Sie ihn hier auswählen.", -1)),
27
- l(I, _({
28
- modelValue: d(s),
29
- "onUpdate:modelValue": n[0] || (n[0] = (e) => j(s) ? s.value = e : null)
30
- }, d(F), {
31
- "base-url": "https://twin.bydata.de/api/hub/search",
32
- resource: "dataset",
33
- label: "",
34
- placeholder: "Wählen Sie einen Datensatz.",
35
- name: "dataset",
36
- "setup-fn": (e) => {
37
- var t, r, o, u, p, c, f, h, b;
38
- return {
39
- id: e == null ? void 0 : e.id,
40
- name: ((t = e == null ? void 0 : e.title) == null ? void 0 : t.de) || ((r = e == null ? void 0 : e.title) == null ? void 0 : r.en) || (e == null ? void 0 : e.id),
41
- description: ((o = e == null ? void 0 : e.description) == null ? void 0 : o.de) || ((u = e == null ? void 0 : e.description) == null ? void 0 : u.en),
42
- manufacturer: ((c = (p = e == null ? void 0 : e.publisher) == null ? void 0 : p.name) == null ? void 0 : c.de) || ((h = (f = e == null ? void 0 : e.publisher) == null ? void 0 : f.name) == null ? void 0 : h.en) || ((b = e == null ? void 0 : e.publisher) == null ? void 0 : b.name),
43
- unavailable: S.exclude.includes(e == null ? void 0 : e.id)
44
- };
45
- }
46
- }), {
47
- option: A(({ option: e, active: t, selected: r, disabled: o }) => [
48
- l(R, {
49
- name: e.name,
50
- manufacturer: e.manufacturer,
51
- description: e.description,
52
- active: t,
53
- selected: r,
54
- disabled: o
55
- }, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
56
- ]),
57
- _: 1
58
- }, 16, ["modelValue", "setup-fn"]),
59
- n[3] || (n[3] = i("h5", null, "oder", -1)),
60
- n[4] || (n[4] = i("p", null, " Sollte der verwendete Datensatz noch nicht im Katalog verfügbar sein, legen Sie einen neuen Datensatz an. Der Datensatz kann zugeordnet werden, sobald er veröffentlicht ist. ", -1)),
61
- i("div", O, [
62
- l(N, {
63
- "button-text": "Zur Datensatzanlage",
64
- size: "medium",
65
- variant: "secondary"
66
- })
67
- ])
68
- ])
69
- ]));
70
- }
71
- });
1
+ import o from "./DatasetForm.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8bc23de1"]]);
72
5
  export {
73
- H as default
6
+ e as default
74
7
  };