@piveau/dpi 0.2.0-alpha.7 → 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 (51) 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/ButtonV3.vue.js +30 -29
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +119 -137
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +189 -0
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -11
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +25 -25
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +117 -117
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +72 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +22 -22
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +9 -4
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +1 -1
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +16 -15
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +31 -26
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +32 -26
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +30 -25
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +67 -27
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +5 -932
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1053 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +41 -46
  38. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  39. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +41 -38
  40. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +2 -2
  41. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +22 -22
  42. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +158 -156
  43. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
  44. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +6 -6
  45. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +1 -1
  46. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +15 -12
  47. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  48. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +1 -0
  49. package/package.json +1 -1
  50. package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
  51. package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
@@ -5,9 +5,9 @@ const M = /* @__PURE__ */ V({
5
5
  props: {
6
6
  context: {}
7
7
  },
8
- setup(_) {
9
- var c, p, x, u, d, m, f;
10
- const t = _, s = o({
8
+ setup(y) {
9
+ var x, d, m, g, f, v, h;
10
+ const t = y, s = o({
11
11
  get: () => {
12
12
  var e;
13
13
  return ((e = t.context) == null ? void 0 : e._value) || "";
@@ -16,40 +16,40 @@ const M = /* @__PURE__ */ V({
16
16
  var n;
17
17
  (n = t.context) == null || n.node.input(e);
18
18
  }
19
- }), T = o(() => {
19
+ }), b = o(() => {
20
20
  var e;
21
21
  return (e = t.context) == null ? void 0 : e.textLabel;
22
- }), k = o(() => {
22
+ }), I = o(() => {
23
23
  var e;
24
24
  return (e = t.context) == null ? void 0 : e.name;
25
- }), y = o(() => {
25
+ }), i = o(() => {
26
26
  var e;
27
27
  return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
28
- }), b = o(() => {
28
+ }), c = o(() => {
29
29
  var e;
30
30
  return ((e = t.context) == null ? void 0 : e.trailing_text) || "$";
31
- }), I = o(() => {
31
+ }), p = o(() => {
32
32
  var e;
33
33
  return ((e = t.context) == null ? void 0 : e.trailingText) || !1;
34
- }), i = o(() => {
34
+ }), u = o(() => {
35
35
  var e;
36
36
  return Object.keys((e = t.context) == null ? void 0 : e.messages).length > 0;
37
37
  }), r = o(() => {
38
- var n, l, g, h, v;
39
- if (!i.value)
38
+ var n, l, _, T, k;
39
+ if (!u.value)
40
40
  return "";
41
41
  const e = (l = Object.keys((n = t.context) == null ? void 0 : n.messages)) == null ? void 0 : l[0];
42
- return ((v = (h = (g = t.context) == null ? void 0 : g.messages) == null ? void 0 : h[e]) == null ? void 0 : v.value) || "";
43
- }), w = ((c = t.context) == null ? void 0 : c.inputType) || "text", E = ((p = t.context) == null ? void 0 : p.addOnText) || !1, O = ((x = t.context) == null ? void 0 : x.datePicker) || !1;
44
- (u = t.context) != null && u.infoIcon;
45
- const B = ((d = t.context) == null ? void 0 : d.preIcon) || !1;
46
- (m = t.context) == null || m.showEndIcon;
47
- const F = ((f = t.context) == null ? void 0 : f.tooltipText) || "This is helpful information";
48
- return (e, n) => (K(), j(P, {
42
+ return ((k = (T = (_ = t.context) == null ? void 0 : _.messages) == null ? void 0 : T[e]) == null ? void 0 : k.value) || "";
43
+ }), w = ((x = t.context) == null ? void 0 : x.inputType) || "text", E = ((d = t.context) == null ? void 0 : d.addOnText) || !1, O = ((m = t.context) == null ? void 0 : m.datePicker) || !1;
44
+ (g = t.context) != null && g.infoIcon;
45
+ const B = ((f = t.context) == null ? void 0 : f.preIcon) || !1;
46
+ (v = t.context) == null || v.showEndIcon;
47
+ const F = ((h = t.context) == null ? void 0 : h.tooltipText) || "This is helpful information";
48
+ return console.log(p.value, c.value, i.value), (e, n) => (K(), j(P, {
49
49
  modelValue: s.value,
50
50
  "onUpdate:modelValue": n[0] || (n[0] = (l) => s.value = l),
51
- label: T.value,
52
- placeholder: y.value,
51
+ label: b.value,
52
+ placeholder: i.value,
53
53
  "input-type": a(w),
54
54
  "add-on-text": a(E),
55
55
  "date-picker": a(O),
@@ -57,14 +57,14 @@ const M = /* @__PURE__ */ V({
57
57
  "pre-icon": a(B),
58
58
  "show-end-icon": !1,
59
59
  "tooltip-text": a(F),
60
- "show-error": i.value,
60
+ "show-error": u.value,
61
61
  "supporting-hint-message": r.value,
62
62
  "initial-hint-text": r.value,
63
63
  error_message: r.value,
64
- name: k.value,
65
- trailing_text: b.value,
66
- "trailing-text": I.value
67
- }, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "pre-icon", "tooltip-text", "show-error", "supporting-hint-message", "initial-hint-text", "error_message", "name", "trailing_text", "trailing-text"]));
64
+ name: I.value,
65
+ "trailing-text": p.value,
66
+ trailing_text: c.value
67
+ }, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "pre-icon", "tooltip-text", "show-error", "supporting-hint-message", "initial-hint-text", "error_message", "name", "trailing-text", "trailing_text"]));
68
68
  }
69
69
  });
70
70
  export {
@@ -471,7 +471,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
471
471
  ])) : i("", !0)
472
472
  ]));
473
473
  }
474
- }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-31b5c8b4"]]);
474
+ }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-7dd0458d"]]);
475
475
  export {
476
476
  Oe as default
477
477
  };
@@ -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 e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-aeb6c9d9"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-667626eb"]]);
5
5
  export {
6
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 o, createElementVNode as n, 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";
@@ -8,67 +8,67 @@ import G from "../../../components/StepActionsSection.vue.js";
8
8
  import f from "../ButtonV3.vue.js";
9
9
  import K from "../Card.vue.js";
10
10
  import T from "../Chip.vue.js";
11
- import M from "../InputField.vue.js";
11
+ import W from "../InputField.vue.js";
12
12
  import S from "../InputField/InputFieldDefinition.js";
13
- import W from "../TextArea/TextAreaDefinition.js";
14
- const Z = { class: "dpiV3_page V3-typography" }, O = {
13
+ import M from "../TextArea/TextAreaDefinition.js";
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 = { class: "funny-section" }, ee = {
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
- }, ne = ["id", "value"], te = ["for"], ie = { class: "action-container" }, le = {
20
+ }, ee = ["id", "value"], te = ["for"], ne = { class: "action-container" }, ie = {
21
21
  id: "partners-section",
22
22
  class: "funny-section"
23
- }, ae = { class: "partner-cards-container" }, re = { class: "action-container" }, se = {
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" }, ue = { class: "action-container" }, de = { class: "funny-section" }, ce = 500, _e = /* @__PURE__ */ I({
26
+ }, se = { class: "partner-cards-container" }, oe = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
27
27
  __name: "OptionalDataStep",
28
- setup(me) {
29
- const x = g(""), V = g([]), C = g([]), _ = g([]), F = 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
- }), k = g(""), u = g([]);
33
- function P(p) {
32
+ }), b = g(""), u = g([]);
33
+ function F(p) {
34
34
  if (p && p.trim()) {
35
35
  const e = p.trim();
36
- u.value.includes(e) || u.value.push(e), k.value = "";
36
+ u.value.includes(e) || u.value.push(e), b.value = "";
37
37
  }
38
38
  }
39
39
  return (p, e) => (o(), h("div", Z, [
40
- e[22] || (e[22] = n("section", { class: "funny-section" }, [
41
- n("div", { class: "funny-flex" }, [
42
- n("h4", null, "Fügen Sie optionale Daten hinzu"),
43
- 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. ")
40
+ e[22] || (e[22] = t("section", { class: "funny-section" }, [
41
+ t("div", { class: "funny-flex" }, [
42
+ t("h4", null, "Fügen Sie optionale Daten hinzu"),
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
- n("section", O, [
47
- e[8] || (e[8] = n("h5", null, " Partner ", -1)),
48
- e[9] || (e[9] = n("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
49
- n("div", R, [
50
- i(l(r), {
46
+ t("section", q, [
47
+ e[8] || (e[8] = t("h5", null, " Partner ", -1)),
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", O, [
50
+ i(l(a), {
51
51
  modelValue: V.value,
52
- "onUpdate:modelValue": e[0] || (e[0] = (t) => V.value = t),
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: t, node: s, value: d }) => [
58
- (o(!0), h(v, null, y(t, (c, m) => (o(), 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
- variant: "secondary",
69
+ variant: "tertiary",
70
70
  "icon-start": "trash",
71
- onClick: () => s.input(d.filter((w, b) => b !== 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
- n("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) => s.input(d.concat({}))
85
+ onClick: (m) => s.input(d.concat({}))
86
86
  }, null, 8, ["onClick"])
87
87
  ])
88
88
  ]),
@@ -90,30 +90,32 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
90
90
  }, 8, ["modelValue"])
91
91
  ])
92
92
  ]),
93
- n("section", H, [
94
- e[10] || (e[10] = n("h5", null, " Projektzeitraum ", -1)),
95
- e[11] || (e[11] = n("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
96
- n("div", J, [
97
- i(l(r), {
93
+ t("section", H, [
94
+ e[10] || (e[10] = t("h5", null, " Projektzeitraum ", -1)),
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
+ t("div", J, [
97
+ i(l(a), {
98
98
  type: l(S),
99
99
  name: "startDate",
100
100
  "text-label": "Startdatum",
101
101
  "input-type": "date",
102
102
  placeholder: "Enter text here",
103
103
  "tooltip-text": "This is helpful information",
104
+ datePicker: !0,
104
105
  "add-on-text": !1,
105
106
  "info-icon": !1,
106
107
  "pre-icon": !1,
107
108
  "show-end-icon": !1,
108
109
  "initial-hint-text": !1
109
110
  }, null, 8, ["type"]),
110
- i(l(r), {
111
+ i(l(a), {
111
112
  type: l(S),
112
113
  name: "endDate",
113
114
  "text-label": "Enddatum",
114
115
  "input-type": "date",
115
116
  placeholder: "Enter text here",
116
117
  "tooltip-text": "This is helpful information",
118
+ datePicker: !0,
117
119
  "add-on-text": !1,
118
120
  "info-icon": !1,
119
121
  "pre-icon": !1,
@@ -122,86 +124,86 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
122
124
  }, null, 8, ["type"])
123
125
  ])
124
126
  ]),
125
- n("section", Q, [
126
- e[12] || (e[12] = n("h5", null, "Budget", -1)),
127
- e[13] || (e[13] = n("div", { class: "budget" }, [
128
- n("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
127
+ t("section", Q, [
128
+ e[14] || (e[14] = t("h5", null, "Budget", -1)),
129
+ e[15] || (e[15] = t("div", { class: "budget" }, [
130
+ t("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
129
131
  ], -1)),
130
- i(l(r), {
132
+ i(l(a), {
131
133
  type: l(S),
132
134
  name: "budget",
135
+ "trailing-text": !0,
136
+ trailing_text: "€",
133
137
  "text-label": "Budget",
134
- placeholder: "...."
138
+ placeholder: "....Budget"
135
139
  }, null, 8, ["type"]),
136
- i(l(r), {
140
+ i(l(a), {
137
141
  id: "Förderung",
138
142
  modelValue: x.value,
139
- "onUpdate:modelValue": e[1] || (e[1] = (t) => x.value = t),
143
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => x.value = n),
140
144
  class: "budgetArea",
141
145
  label: "Förderung (optional)",
142
- type: l(W),
146
+ type: l(M),
143
147
  name: "budget",
144
148
  "text-label": "Förderung (optional)",
145
149
  placeholder: "Beschreiben Sie welche Förderung Sie erhalten haben.",
146
150
  validation: "length:0,500",
147
151
  "validation-visibility": "live",
148
152
  hint: "true",
149
- help: `${F.value} von ${ce} Zeichen`,
153
+ help: `${P.value} von ${ue} Zeichen`,
150
154
  "count-hint": !0
151
- }, null, 8, ["modelValue", "type", "help"])
152
- ]),
153
- n("section", X, [
155
+ }, null, 8, ["modelValue", "type", "help"]),
154
156
  i(K, { variant: "default" }, {
155
- icon: a(() => [
157
+ icon: r(() => [
156
158
  i(l(U), {
157
159
  size: 32,
158
160
  color: "#009fe3"
159
161
  })
160
162
  ]),
161
- title: a(() => e[14] || (e[14] = [
163
+ title: r(() => e[12] || (e[12] = [
162
164
  j(" Information ", -1)
163
165
  ])),
164
- default: a(() => [
165
- e[15] || (e[15] = n("div", { class: "copy-large-regular" }, [
166
- n("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.")
166
+ default: r(() => [
167
+ e[13] || (e[13] = t("div", { class: "copy-large-regular" }, [
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.")
167
169
  ], -1))
168
170
  ]),
169
171
  _: 1,
170
- __: [15]
172
+ __: [13]
171
173
  })
172
174
  ]),
173
- n("section", Y, [
174
- e[16] || (e[16] = n("h5", null, "Erforderliche Fachkompetenzen", -1)),
175
- e[17] || (e[17] = n("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)),
176
- i(l(r), {
175
+ t("section", X, [
176
+ e[16] || (e[16] = t("h5", null, "Erforderliche Fachkompetenzen", -1)),
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)),
178
+ i(l(a), {
177
179
  modelValue: u.value,
178
- "onUpdate:modelValue": e[2] || (e[2] = (t) => u.value = t),
180
+ "onUpdate:modelValue": e[2] || (e[2] = (n) => u.value = n),
179
181
  type: "hidden",
180
182
  name: "requiredExpertise"
181
183
  }, null, 8, ["modelValue"]),
182
- u.value.length > 0 ? (o(), h("div", ee, [
183
- (o(!0), h(v, null, y(u.value, (t) => (o(), h("div", {
184
- key: t,
184
+ u.value.length > 0 ? (o(), h("div", Y, [
185
+ (o(!0), h(v, null, y(u.value, (n) => (o(), h("div", {
186
+ key: n,
185
187
  class: "label-chip"
186
188
  }, [
187
- L(n("input", {
188
- id: `hardware-${t}`,
189
+ L(t("input", {
190
+ id: `hardware-${n}`,
189
191
  "onUpdate:modelValue": e[3] || (e[3] = (s) => u.value = s),
190
192
  class: "label-chip__input",
191
193
  type: "checkbox",
192
- value: t
193
- }, null, 8, ne), [
194
+ value: n
195
+ }, null, 8, ee), [
194
196
  [E, u.value]
195
197
  ]),
196
- n("label", {
198
+ t("label", {
197
199
  class: "label-chip__label",
198
- for: `hardware-${t}`
200
+ for: `hardware-${n}`
199
201
  }, [
200
202
  i(T, {
201
203
  class: "label-chip__inner",
202
- text: t,
204
+ text: n,
203
205
  data: {
204
- "@value": t,
206
+ "@value": n,
205
207
  URI: "https://example.com/default"
206
208
  },
207
209
  setup: {
@@ -213,9 +215,9 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
213
215
  ], 8, te)
214
216
  ]))), 128))
215
217
  ])) : D("", !0),
216
- i(M, {
217
- modelValue: k.value,
218
- "onUpdate:modelValue": e[4] || (e[4] = (t) => k.value = t),
218
+ i(W, {
219
+ modelValue: b.value,
220
+ "onUpdate:modelValue": e[4] || (e[4] = (n) => b.value = n),
219
221
  label: "Erforderliche Fachkompetenz",
220
222
  "input-type": "text",
221
223
  placeholder: "Nennen Sie eine Fachkompetenz.",
@@ -226,42 +228,42 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
226
228
  "show-end-icon": !1,
227
229
  "initial-hint-text": !1
228
230
  }, null, 8, ["modelValue"]),
229
- n("div", ie, [
231
+ t("div", ne, [
230
232
  i(f, {
231
233
  "button-text": "Fachkompetenz hinzufügen",
232
234
  size: "medium",
233
235
  variant: "tertiary",
234
236
  "icon-start": "plus",
235
- onClick: e[5] || (e[5] = (t) => P(k.value))
237
+ onClick: e[5] || (e[5] = (n) => F(b.value))
236
238
  })
237
239
  ])
238
240
  ]),
239
- n("section", le, [
240
- e[18] || (e[18] = n("h5", null, " Screenshots ", -1)),
241
- e[19] || (e[19] = n("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)),
242
- n("div", ae, [
243
- i(l(r), {
241
+ t("section", ie, [
242
+ e[18] || (e[18] = t("h5", null, " Screenshots ", -1)),
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)),
244
+ t("div", le, [
245
+ i(l(a), {
244
246
  modelValue: C.value,
245
- "onUpdate:modelValue": e[6] || (e[6] = (t) => C.value = t),
247
+ "onUpdate:modelValue": e[6] || (e[6] = (n) => C.value = n),
246
248
  type: "list",
247
249
  name: "references",
248
250
  dynamic: ""
249
251
  }, {
250
- default: a(({ items: t, node: s, value: d }) => [
251
- (o(!0), h(v, null, y(t, (c, m) => (o(), z(l(r), {
252
- 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,
253
255
  type: "group",
254
- index: m
256
+ index: c
255
257
  }, {
256
- default: a(() => [
258
+ default: r(() => [
257
259
  i(N, null, {
258
- action: a(() => [
260
+ action: r(() => [
259
261
  i(f, {
260
262
  "button-text": "Löschen",
261
263
  size: "small",
262
- variant: "secondary",
264
+ variant: "tertiary",
263
265
  "icon-start": "trash",
264
- onClick: () => s.input(d.filter((w, b) => b !== m))
266
+ onClick: () => s.input(d.filter((_, k) => k !== c))
265
267
  }, null, 8, ["onClick"])
266
268
  ]),
267
269
  _: 2
@@ -269,13 +271,13 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
269
271
  ]),
270
272
  _: 2
271
273
  }, 1032, ["index"]))), 128)),
272
- n("div", re, [
274
+ t("div", re, [
273
275
  i(f, {
274
276
  "button-text": "Screenshot hinzufügen",
275
277
  size: "medium",
276
278
  variant: "tertiary",
277
279
  "icon-start": "plus",
278
- onClick: (c) => s.input(d.concat({}))
280
+ onClick: (m) => s.input(d.concat({}))
279
281
  }, null, 8, ["onClick"])
280
282
  ])
281
283
  ]),
@@ -283,32 +285,32 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
283
285
  }, 8, ["modelValue"])
284
286
  ])
285
287
  ]),
286
- n("section", se, [
287
- e[20] || (e[20] = n("h5", null, " Weiterführende Links ", -1)),
288
- e[21] || (e[21] = 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)),
289
- n("div", oe, [
290
- i(l(r), {
291
- modelValue: _.value,
292
- "onUpdate:modelValue": e[7] || (e[7] = (t) => _.value = t),
288
+ t("section", ae, [
289
+ e[20] || (e[20] = t("h5", null, " Weiterführende Links ", -1)),
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)),
291
+ t("div", se, [
292
+ i(l(a), {
293
+ modelValue: w.value,
294
+ "onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
293
295
  type: "list",
294
296
  name: "links",
295
297
  dynamic: ""
296
298
  }, {
297
- default: a(({ items: t, node: s, value: d }) => [
298
- (o(!0), h(v, null, y(t, (c, m) => (o(), z(l(r), {
299
- 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,
300
302
  type: "group",
301
- index: m
303
+ index: c
302
304
  }, {
303
- default: a(() => [
305
+ default: r(() => [
304
306
  i($, null, {
305
- action: a(() => [
307
+ action: r(() => [
306
308
  i(f, {
307
309
  "button-text": "Löschen",
308
310
  size: "small",
309
- variant: "secondary",
311
+ variant: "tertiary",
310
312
  "icon-start": "trash",
311
- onClick: () => s.input(d.filter((w, b) => b !== m))
313
+ onClick: () => s.input(d.filter((_, k) => k !== c))
312
314
  }, null, 8, ["onClick"])
313
315
  ]),
314
316
  _: 2
@@ -316,13 +318,13 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
316
318
  ]),
317
319
  _: 2
318
320
  }, 1032, ["index"]))), 128)),
319
- n("div", ue, [
321
+ t("div", oe, [
320
322
  i(f, {
321
323
  "button-text": "Link hinzufügen",
322
324
  size: "medium",
323
325
  variant: "tertiary",
324
326
  "icon-start": "plus",
325
- onClick: (c) => s.input(d.concat({}))
327
+ onClick: (m) => s.input(d.concat({}))
326
328
  }, null, 8, ["onClick"])
327
329
  ])
328
330
  ]),
@@ -330,12 +332,10 @@ const Z = { class: "dpiV3_page V3-typography" }, O = {
330
332
  }, 8, ["modelValue"])
331
333
  ])
332
334
  ]),
333
- n("section", de, [
334
- i(G)
335
- ])
335
+ i(G, { "next-text": "Weiter zu den Projektphasen" })
336
336
  ]));
337
337
  }
338
338
  });
339
339
  export {
340
- _e as default
340
+ Ve as default
341
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
  };