@piveau/dpi 0.2.0-alpha.5 → 0.2.0-alpha.7

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/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +2 -2
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +18 -21
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +49 -41
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +2 -2
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +30 -24
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +5 -5
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +63 -61
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +47 -38
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +33 -29
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +8 -3
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +65 -37
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +21 -22
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue.js +31 -0
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue2.js +4 -0
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +72 -62
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +38 -0
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue2.js +4 -0
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +76 -69
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +78 -91
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +27 -42
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +17 -17
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +10 -10
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +1 -1
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +16 -16
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +13 -13
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +934 -0
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +4 -0
  35. package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue.js +1 -1
  36. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  37. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +75 -63
  38. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +7 -0
  39. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +42 -0
  40. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +7 -0
  41. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +249 -0
  42. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/fixtures.js +287 -0
  43. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +281 -0
  44. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +244 -0
  45. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +330 -0
  46. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/shared.js +37 -0
  47. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +114 -0
  48. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +387 -328
  49. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
  50. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +6 -6
  51. package/package.json +5 -2
@@ -1,5 +1,5 @@
1
- import { defineComponent as P, ref as m, computed as c, watch as $, toRef as M, createBlock as p, openBlock as r, withCtx as u, createElementVNode as v, createVNode as s, createElementBlock as S, unref as w, isRef as W, Fragment as _, renderList as z, createTextVNode as D, toDisplayString as K, createCommentVNode as L, nextTick as j } from "vue";
2
- import { FormKit as I } from "@formkit/vue";
1
+ import { defineComponent as $, ref as v, computed as c, watch as M, toRef as W, createBlock as f, openBlock as o, withCtx as u, createVNode as s, createElementBlock as S, createElementVNode as x, unref as m, isRef as K, Fragment as g, renderList as D, createTextVNode as B, toDisplayString as L, createCommentVNode as I, nextTick as j } from "vue";
2
+ import { FormKit as R } from "@formkit/vue";
3
3
  import { defineHubSearch as q } from "@piveau/sdk-vue";
4
4
  import J from "zod";
5
5
  import Q from "../../../components/StepActionsSection.vue.js";
@@ -8,134 +8,117 @@ import Y from "../Card.vue.js";
8
8
  import Z from "../Chip.vue.js";
9
9
  import ee from "../DpiModalBase.vue.js";
10
10
  import te from "../SummaryBox.vue.js";
11
- import ne from "./ProcessStepBase.vue.js";
11
+ import ne from "./AreYouSureToSkipCard.vue.js";
12
+ import re from "./ProcessStepBase.vue.js";
12
13
  /* empty css */
13
- import B from "./SoftwareForm.vue.js";
14
- import { useProcessStepResources as ie, ensureHasOneResource as oe } from "./utils.js";
15
- const re = {
14
+ import z from "./SoftwareForm.vue.js";
15
+ import { useProcessStepResources as oe, ensureHasOneResource as ie } from "./utils.js";
16
+ const ae = {
16
17
  key: 0,
17
18
  class: "software-step__card-list--empty"
18
- }, ae = {
19
+ }, le = {
19
20
  key: 1,
20
21
  class: "software-step__card-list"
21
- }, le = { class: "functionalities" }, ue = { class: "" }, ge = /* @__PURE__ */ P({
22
+ }, ue = { class: "functionalities" }, se = { class: "" }, ge = /* @__PURE__ */ $({
22
23
  __name: "SoftwareStep",
23
24
  props: {
24
25
  stepGroup: {},
25
26
  edit: { type: Boolean }
26
27
  },
27
- setup(E) {
28
- const y = E, d = m(!1), i = m([]), { useResources: R } = q({
28
+ setup(T) {
29
+ const y = T, d = v(!1), r = v([]), { useResources: C } = q({
29
30
  baseUrl: "https://twin.bydata.de/api/hub/search",
30
31
  index: "resource",
31
32
  indexDetails: "resources/software",
32
33
  schema: J.any()
33
34
  }, (e) => {
34
- var f, l;
35
- const t = String((e == null ? void 0 : e.id) || ""), o = String(((f = e == null ? void 0 : e.name) == null ? void 0 : f.de) || ((l = e == null ? void 0 : e.name) == null ? void 0 : l.en) || "");
35
+ var p, l;
36
+ const t = String((e == null ? void 0 : e.id) || ""), i = String(((p = e == null ? void 0 : e.name) == null ? void 0 : p.de) || ((l = e == null ? void 0 : e.name) == null ? void 0 : l.en) || "");
36
37
  return {
37
38
  ...e,
38
39
  id: t,
39
- name: o
40
+ name: i
40
41
  };
41
- }), b = R(c(() => i.value.map((e) => ({
42
+ }), b = C(c(() => r.value.map((e) => ({
42
43
  resourceId: e.id
43
- })))), T = c(() => b.value.every((e) => e.isSuccess)), k = c(() => T.value ? b.value.map((e, t) => {
44
- const o = e.resultEnhanced;
44
+ })))), E = c(() => b.value.every((e) => e.isSuccess)), _ = c(() => E.value ? b.value.map((e, t) => {
45
+ const i = e.resultEnhanced;
45
46
  return {
46
- id: o.id,
47
- name: (o == null ? void 0 : o.name) || "",
48
- functionalities: i.value[t].functionalities
47
+ id: i.id,
48
+ name: (i == null ? void 0 : i.name) || "",
49
+ functionalities: r.value[t].functionalities
49
50
  };
50
- }) : []), a = m(""), C = c(() => {
51
+ }) : []), a = v(""), F = c(() => {
51
52
  var e;
52
- return [...((e = i.value.find((t) => t.id === a.value)) == null ? void 0 : e.functionalities) || []];
53
- }), h = m(0);
54
- $(d, (e, t) => {
55
- !e && t && h.value++;
53
+ return [...((e = r.value.find((t) => t.id === a.value)) == null ? void 0 : e.functionalities) || []];
54
+ }), w = v(0);
55
+ M(d, (e, t) => {
56
+ !e && t && w.value++;
56
57
  });
57
58
  function H(e) {
58
- return i.value.find((t) => t.id === e);
59
+ return r.value.find((t) => t.id === e);
59
60
  }
60
- function g(e) {
61
- return i.value.findIndex((t) => t.id === e);
62
- }
63
- function F(e) {
64
- const t = g(e);
65
- t !== -1 && i.value.splice(t, 1);
61
+ function V(e) {
62
+ return r.value.findIndex((t) => t.id === e);
66
63
  }
67
- async function N(e) {
68
- H(e) && (a.value = e, h.value++, await j(), d.value = !0);
64
+ function N(e) {
65
+ const t = V(e);
66
+ t !== -1 && r.value.splice(t, 1);
69
67
  }
70
- function V(e) {
71
- i.value.push(e), d.value = !1, a.value = "";
68
+ async function U(e) {
69
+ H(e) && (a.value = e, w.value++, await j(), d.value = !0);
72
70
  }
73
- function U(e) {
74
- const t = g(e.id);
75
- t !== -1 && (i.value.splice(t, 1), i.value.splice(t, 0, e.software), a.value = "", d.value = !1);
71
+ function k(e) {
72
+ r.value.push(e), d.value = !1, a.value = "";
76
73
  }
77
- function A() {
78
- const e = [
79
- {
80
- id: "9121b609-c2e1-4aa8-a602-f26869717c85",
81
- functionalities: [
82
- "Interaktive Dashboards"
83
- ]
84
- },
85
- {
86
- id: "78302e16-32b1-44ed-896c-b92da0d2029f",
87
- functionalities: [
88
- "Entscheidungsunterstuetzungswerkzeuge",
89
- "Benutzerdefinierte Ebenen",
90
- "Echtzeit-Integration von Sensordaten"
91
- ]
92
- }
93
- ];
94
- i.value = [...e];
74
+ function A(e) {
75
+ const t = V(e.id);
76
+ t !== -1 && (r.value.splice(t, 1), r.value.splice(t, 0, e.software), a.value = "", d.value = !1);
95
77
  }
96
- const G = c(() => i.value.length > 0 ? "Weiter" : "Weiter ohne Hardware"), O = c(() => i.value.length > 0 ? "primary" : "secondary"), { model: x } = ie(y.stepGroup || "", M(y.edit));
97
- return (e, t) => (r(), p(ne, {
78
+ const G = c(() => r.value.length > 0 ? "Weiter" : "Weiter ohne Software"), O = c(() => r.value.length > 0 ? "primary" : "secondary"), { count: h, realCount: P } = oe(y.stepGroup || "", W(y.edit));
79
+ return (e, t) => (o(), f(re, {
98
80
  title: "Geben Sie Informationen zur verwendeten Software an",
99
81
  subtitle: "Die Software wird zentral von uns verwaltet. Sie können in diesem Schritt auswählen, welche Software Sie verwendet haben. Sobald Sie eine Software zugeordnet haben, geben Sie bitte an, welche Funktionalitäten der Software Sie für diesen Schritt benötigt haben."
100
82
  }, {
101
- default: u(({ confirm: o }) => [
102
- v("button", { onClick: A }, " Software hinzufügen "),
103
- s(w(I), {
104
- modelValue: w(x),
105
- "onUpdate:modelValue": t[0] || (t[0] = (n) => W(x) ? x.value = n : null),
106
- type: "group",
83
+ default: u(({ confirm: i }) => [
84
+ s(m(R), {
85
+ modelValue: m(h),
86
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => K(h) ? h.value = n : null),
87
+ type: "hidden",
88
+ name: "__resourceCount",
89
+ hidden: "",
107
90
  "aria-hidden": "",
108
- "validation-rules": { ensureHasOneResource: w(oe) },
91
+ "validation-rules": { ensureHasOneResource: m(ie) },
109
92
  validation: "+ensureHasOneResource",
110
93
  "validation-visibility": "live",
111
94
  "validation-messages": { ensureHasOneResource: "Sie müssen pro Schritt mindestens eine Software, einen Datensatz oder eine Hardware zuordnen, um fortfahren zu können." }
112
95
  }, null, 8, ["modelValue", "validation-rules"]),
113
- s(w(I), {
114
- modelValue: i.value,
115
- "onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
96
+ s(m(R), {
97
+ modelValue: r.value,
98
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => r.value = n),
116
99
  name: "selected",
117
100
  type: "list",
118
101
  hidden: "",
119
102
  "aria-hidden": ""
120
103
  }, null, 8, ["modelValue"]),
121
- k.value.length ? (r(), S("section", ae, [
122
- (r(!0), S(_, null, z(k.value, (n, f) => (r(), p(X, {
123
- key: f,
104
+ _.value.length ? (o(), S("section", le, [
105
+ (o(!0), S(g, null, D(_.value, (n, p) => (o(), f(X, {
106
+ key: p,
124
107
  class: "software-card",
125
- onEdit: (l) => N(n.id),
126
- onDelete: (l) => o({ id: n.id, resourceType: "Software", resource: n.name, callback: F })
108
+ onEdit: (l) => U(n.id),
109
+ onDelete: (l) => i({ id: n.id, resourceType: "Software", resource: n.name, callback: N })
127
110
  }, {
128
111
  "sub-title": u(() => t[5] || (t[5] = [
129
- D(" Name ", -1)
112
+ B(" Name ", -1)
130
113
  ])),
131
114
  title: u(() => [
132
- D(K(n.name), 1)
115
+ B(L(n.name), 1)
133
116
  ]),
134
117
  default: u(() => [
135
118
  s(te, { title: "Genutzte Funktionalitäten" }, {
136
119
  default: u(() => [
137
- v("div", le, [
138
- (r(!0), S(_, null, z(n.functionalities, (l) => (r(), p(Z, {
120
+ x("div", ue, [
121
+ (o(!0), S(g, null, D(n.functionalities, (l) => (o(), f(Z, {
139
122
  key: l,
140
123
  text: l,
141
124
  data: { "@value": "", URI: "" },
@@ -148,42 +131,46 @@ const re = {
148
131
  ]),
149
132
  _: 2
150
133
  }, 1032, ["onEdit", "onDelete"]))), 128))
151
- ])) : (r(), S("section", re, [
134
+ ])) : (o(), S("section", ae, [
152
135
  s(Y, {
153
136
  small: "",
154
137
  class: "empty-card"
155
138
  }, {
156
139
  default: u(() => t[4] || (t[4] = [
157
- v("p", { class: "copy-large-regular empty-card-text" }, " Aktuell haben Sie noch keine Software im Prozessschritt hinterlegt. ", -1)
140
+ x("p", { class: "copy-large-regular empty-card-text" }, " Aktuell haben Sie noch keine Software im Prozessschritt hinterlegt. ", -1)
158
141
  ])),
159
142
  _: 1,
160
143
  __: [4]
161
144
  })
162
145
  ])),
163
- s(B, {
164
- exclude: i.value.map((n) => n.id),
165
- onSubmit: V
146
+ s(z, {
147
+ exclude: r.value.map((n) => n.id),
148
+ onSubmit: k
166
149
  }, null, 8, ["exclude"]),
167
- v("section", ue, [
150
+ x("section", se, [
168
151
  s(Q, {
169
152
  "next-text": G.value,
170
153
  "next-variant": O.value
171
- }, null, 8, ["next-text", "next-variant"])
154
+ }, null, 8, ["next-text", "next-variant"]),
155
+ m(P) === 0 ? (o(), f(ne, {
156
+ key: 0,
157
+ "resource-label": "Software"
158
+ })) : I("", !0)
172
159
  ]),
173
160
  s(ee, {
174
161
  modelValue: d.value,
175
162
  "onUpdate:modelValue": t[3] || (t[3] = (n) => d.value = n)
176
163
  }, {
177
164
  default: u(() => [
178
- a.value ? (r(), p(B, {
179
- key: h.value,
165
+ a.value ? (o(), f(z, {
166
+ key: w.value,
180
167
  modelValue: a.value,
181
168
  "onUpdate:modelValue": t[2] || (t[2] = (n) => a.value = n),
182
- functionalities: C.value,
183
- exclude: i.value.map((n) => n.id),
184
- onSubmit: V,
185
- onPatch: U
186
- }, null, 8, ["modelValue", "functionalities", "exclude"])) : L("", !0)
169
+ functionalities: F.value,
170
+ exclude: r.value.map((n) => n.id),
171
+ onSubmit: k,
172
+ onPatch: A
173
+ }, null, 8, ["modelValue", "functionalities", "exclude"])) : I("", !0)
187
174
  ]),
188
175
  _: 1
189
176
  }, 8, ["modelValue"])
@@ -1,49 +1,34 @@
1
- import { required as m } from "@formkit/rules";
2
- import { useFormKitNodeById as l } from "@formkit/vue";
3
- import { computed as a, toValue as p } from "vue";
4
- function b(e) {
1
+ import { useFormKitNodeById as u } from "@formkit/vue";
2
+ import { computed as o, toValue as m } from "vue";
3
+ const y = 999;
4
+ function h(e) {
5
5
  if (e != null && !(Array.isArray(e) && e.length === 0) && !(typeof e == "object" && Object.keys(e).length === 0) && !(typeof e == "string" && e.trim() === ""))
6
6
  return e;
7
7
  }
8
- function v(e, c) {
9
- const n = l(`${e}/Software`), u = l(`${e}/Datensätze`), f = l(`${e}/Hardware`), i = a(() => {
10
- var t, r, o;
11
- return ((o = (r = (t = n.value) == null ? void 0 : t._value) == null ? void 0 : r.selected) == null ? void 0 : o.length) ?? 0;
12
- }), d = a(() => {
13
- var t, r, o;
14
- return ((o = (r = (t = u.value) == null ? void 0 : t._value) == null ? void 0 : r.selected) == null ? void 0 : o.length) ?? 0;
15
- }), h = a(() => {
16
- var t, r, o;
17
- return ((o = (r = (t = f.value) == null ? void 0 : t._value) == null ? void 0 : r.selected) == null ? void 0 : o.length) ?? 0;
18
- });
19
- return {
20
- model: a({
21
- get() {
22
- const t = p(c);
23
- return {
24
- Software: t ? i.value : 999,
25
- Datensätze: t ? d.value : 999,
26
- Hardware: t ? h.value : 999
27
- };
28
- },
29
- set() {
30
- }
31
- })
32
- };
33
- }
34
- function O(e) {
35
- const c = ["Software", "Datensätze", "Hardware"], n = e.at("$parent"), u = n == null ? void 0 : n.name, [f, i] = (u == null ? void 0 : u.split("/")) || [];
36
- if (c.filter((s) => s !== i).every((s) => {
8
+ function w(e, i) {
9
+ const l = u(`${e}/Software`), d = u(`${e}/Datensätze`), f = u(`${e}/Hardware`), n = (t) => Array.isArray(t) ? t.length : 0, s = o(() => {
10
+ var t, r;
11
+ return n((r = (t = l.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
12
+ }), c = o(() => {
37
13
  var t, r;
38
- return (t = e == null ? void 0 : e._value) != null && t[s] ? Number((r = e == null ? void 0 : e._value) == null ? void 0 : r[s]) === 0 : !0;
39
- })) {
40
- const s = e.at("$parent.selected");
41
- return s ? m(s) : !0;
42
- }
43
- return !0;
14
+ return n((r = (t = d.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
15
+ }), a = o(() => {
16
+ var t, r;
17
+ return n((r = (t = f.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
18
+ }), v = o({
19
+ get() {
20
+ return !m(i) ? String(y) : String(s.value + c.value + a.value);
21
+ },
22
+ set() {
23
+ }
24
+ }), S = o(() => s.value + c.value + a.value);
25
+ return { count: v, softwareSelected: s, datasetsSelected: c, hardwareSelected: a, realCount: S };
26
+ }
27
+ function A(e) {
28
+ return Number((e == null ? void 0 : e._value) ?? 0) > 0;
44
29
  }
45
30
  export {
46
- O as ensureHasOneResource,
47
- b as looseRenderable,
48
- v as useProcessStepResources
31
+ A as ensureHasOneResource,
32
+ h as looseRenderable,
33
+ w as useProcessStepResources
49
34
  };
@@ -1,27 +1,27 @@
1
- import { reactive as m, createElementBlock as c, openBlock as o, createElementVNode as i, createVNode as u, Fragment as h, renderList as _, unref as s, createBlock as g } from "vue";
2
- import { FormKit as v } from "@formkit/vue";
3
- import b from "../../../components/StepActionsSection.vue.js";
4
- import f from "../TextArea/TextAreaDefinition.js";
1
+ import { reactive as u, createElementBlock as c, openBlock as o, createElementVNode as i, createVNode as m, Fragment as h, renderList as g, unref as s, createBlock as b } from "vue";
2
+ import { FormKit as f } from "@formkit/vue";
3
+ import v from "../../../components/StepActionsSection.vue.js";
4
+ import k from "../TextArea/TextAreaDefinition.js";
5
5
  /* empty css */
6
- import k from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
6
+ import _ from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const j = { class: "project-phasen-initiieren" }, w = { class: "project-phasen-initiieren-content" }, l = 1e3, V = {
8
8
  __name: "InitiierenStep",
9
9
  setup(x) {
10
- const n = m({
10
+ const n = u({
11
11
  questions: {
12
- project_triggers: {
12
+ projectTriggers: {
13
13
  question: "Was waren Auslöser für das Projekta (z.B. rechtliche oder politische Vorgaben, intrinsische Motivation oder inspirierende Projekte aus anderen Kommunen)?",
14
14
  answer: ""
15
15
  },
16
- involved_stakeholders: {
16
+ involvedStakeholders: {
17
17
  question: "Welche relevanten Akteure - innerhalb oder außerhalb Ihrer Organisation - haben Sie frühzeitig involviert (z.B. um politische Rückendeckung sicherzustellen)?",
18
18
  answer: ""
19
19
  },
20
- data_collection_method: {
20
+ dataCollectionMethod: {
21
21
  question: "Wie haben Sie den Bestand vorhandener Daten erhoben?",
22
22
  answer: ""
23
23
  },
24
- budget_planning: {
24
+ budgetPlanning: {
25
25
  question: "Wie haben Sie das (erste) Budget berechnet und nachhaltig gesichert?",
26
26
  answer: ""
27
27
  }
@@ -39,26 +39,26 @@ const j = { class: "project-phasen-initiieren" }, w = { class: "project-phasen-i
39
39
  ], -1)),
40
40
  i("div", w, [
41
41
  t[0] || (t[0] = i("p", { class: "project-phasen-initiieren-description" }, " Von der Projektid bis zum Projektplan. ", -1)),
42
- (o(!0), c(h, null, _(s(d), (e) => (o(), g(s(v), {
43
- key: e.name,
42
+ (o(!0), c(h, null, g(s(d), (e) => (o(), b(s(f), {
44
43
  id: e.name,
44
+ key: e.name,
45
45
  modelValue: n.questions[e.name].answer,
46
46
  "onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
47
47
  label: e.text,
48
- type: s(f),
48
+ type: s(k),
49
49
  name: e.name,
50
50
  validation: "length:0,1000",
51
51
  hint: "true",
52
52
  help: `${n.questions[e.name].answer.length || 0} von ${l} Zeichen`,
53
53
  "count-hint": !0,
54
- onInput: (a) => p(e.name, a),
55
- maxlength: l
54
+ maxlength: l,
55
+ onInput: (a) => p(e.name, a)
56
56
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
57
- u(b)
57
+ m(v)
58
58
  ])
59
59
  ]));
60
60
  }
61
- }, W = /* @__PURE__ */ k(V, [["__scopeId", "data-v-525ce1e7"]]);
61
+ }, W = /* @__PURE__ */ _(V, [["__scopeId", "data-v-5f6263b9"]]);
62
62
  export {
63
63
  W as default
64
64
  };
@@ -1,7 +1,7 @@
1
1
  import { reactive as d, createElementBlock as u, openBlock as o, createElementVNode as s, createVNode as m, Fragment as h, renderList as g, unref as i, createBlock as f } from "vue";
2
2
  import { FormKit as b } from "@formkit/vue";
3
- import _ from "../../../components/StepActionsSection.vue.js";
4
- import w from "../TextArea/TextAreaDefinition.js";
3
+ import w from "../../../components/StepActionsSection.vue.js";
4
+ import _ from "../TextArea/TextAreaDefinition.js";
5
5
  /* empty css */
6
6
  import k from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-planen-content" }, l = 1e3, S = {
@@ -9,19 +9,19 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
9
9
  setup(q) {
10
10
  const n = d({
11
11
  questions: {
12
- requirements_gatherings: {
12
+ requirementsGatherings: {
13
13
  question: "Wie haben Sie die Anforderungen erhoben und dokumentiert (z.B. durch Markterkundung, externe Berater oder Workshops)?",
14
14
  answer: ""
15
15
  },
16
- tender_format: {
16
+ tenderFormat: {
17
17
  question: "Welche Ausschreibungsform haben Sie gewählt und warum? Gab es eine Vorlage oder Muster-Leistungsbeschreibung, die hilfreich war und die Sie teilen können?",
18
18
  answer: ""
19
19
  },
20
- tender_tips: {
20
+ tenderTips: {
21
21
  question: "Welche Tipps haben Sie für eine erfolgreiche Ausschreibung?",
22
22
  answer: ""
23
23
  },
24
- resource_planning: {
24
+ resourcePlanning: {
25
25
  question: "Wie haben Sie die Ressourcenplanung für die Entwicklung und den Betrieb Ihres Digitalen Zwillings gestaltet und gesichert?",
26
26
  answer: ""
27
27
  }
@@ -45,7 +45,7 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
45
45
  modelValue: n.questions[e.name].answer,
46
46
  "onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
47
47
  label: e.text,
48
- type: i(w),
48
+ type: i(_),
49
49
  name: e.name,
50
50
  validation: "length:0,1000",
51
51
  hint: "true",
@@ -54,11 +54,11 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
54
54
  onInput: (a) => c(e.name, a),
55
55
  maxlength: l
56
56
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
57
- m(_)
57
+ m(w)
58
58
  ])
59
59
  ]));
60
60
  }
61
- }, y = /* @__PURE__ */ k(S, [["__scopeId", "data-v-7497c24a"]]);
61
+ }, P = /* @__PURE__ */ k(S, [["__scopeId", "data-v-4cf72e48"]]);
62
62
  export {
63
- y as default
63
+ P as default
64
64
  };
@@ -42,7 +42,7 @@ const v = { class: "project-phasen-overview" }, m = { class: "project-phasen-ove
42
42
  ])
43
43
  ]));
44
44
  }
45
- }, w = /* @__PURE__ */ h(j, [["__scopeId", "data-v-3bfd4517"]]);
45
+ }, w = /* @__PURE__ */ h(j, [["__scopeId", "data-v-71eb4095"]]);
46
46
  export {
47
47
  w as default
48
48
  };
@@ -1,27 +1,27 @@
1
- import { reactive as c, createElementBlock as l, openBlock as o, createElementVNode as r, createVNode as p, Fragment as h, renderList as g, unref as i, createBlock as _ } from "vue";
2
- import { FormKit as f } from "@formkit/vue";
3
- import w from "../../../components/StepActionsSection.vue.js";
4
- import b from "../TextArea/TextAreaDefinition.js";
1
+ import { reactive as c, createElementBlock as l, openBlock as o, createElementVNode as r, createVNode as p, Fragment as h, renderList as g, unref as i, createBlock as f } from "vue";
2
+ import { FormKit as w } from "@formkit/vue";
3
+ import b from "../../../components/StepActionsSection.vue.js";
4
+ import z from "../TextArea/TextAreaDefinition.js";
5
5
  /* empty css */
6
- import z from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
6
+ import _ from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const v = { class: "project-phasen-umstezen" }, S = { class: "project-phasen-umstezen-content" }, u = 1e3, V = {
8
8
  __name: "UmstezenStep",
9
9
  setup(k) {
10
10
  const n = c({
11
11
  questions: {
12
- project_triggers: {
12
+ projectTriggers: {
13
13
  question: "Wie haben Sie die Zusammenarbeit mit den Dienstleistern organisiert und wie wurden relevante Stakeholder in Entscheidungsprozesse eingebunden (z.B. Meetingstruktur oder Frameworks)?",
14
14
  answer: ""
15
15
  },
16
- involved_stakeholders: {
16
+ involvedStakeholders: {
17
17
  question: "Gab es Verzögerungen und wenn ja, was waren die Gründe?",
18
18
  answer: ""
19
19
  },
20
- data_collection_method: {
20
+ dataCollectionMethod: {
21
21
  question: "Welche Schnittstellen wurden genutzt und traten technische Herausforderungen auf?",
22
22
  answer: ""
23
23
  },
24
- budget_planning: {
24
+ budgetPlanning: {
25
25
  question: "Welche Überlegungen sind in Ihre Entscheidung für eine Open-Source-Lösung geflossen und welche Erfahrungen haben Sie bisher damit gemacht?",
26
26
  answer: ""
27
27
  }
@@ -39,26 +39,26 @@ const v = { class: "project-phasen-umstezen" }, S = { class: "project-phasen-ums
39
39
  ], -1)),
40
40
  r("div", S, [
41
41
  t[0] || (t[0] = r("p", { class: "project-phasen-umstezen-description" }, " Von der Dienstleistersteuerung bis zur Meilensteinerreichung. ", -1)),
42
- (o(!0), l(h, null, g(i(m), (e) => (o(), _(i(f), {
43
- key: e.name,
42
+ (o(!0), l(h, null, g(i(m), (e) => (o(), f(i(w), {
44
43
  id: e.name,
44
+ key: e.name,
45
45
  modelValue: n.questions[e.name].answer,
46
46
  "onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
47
47
  label: e.text,
48
- type: i(b),
48
+ type: i(z),
49
49
  name: e.name,
50
50
  validation: "length:0,1000",
51
51
  hint: "true",
52
52
  help: `${n.questions[e.name].answer.length || 0} von ${u} Zeichen`,
53
53
  "count-hint": !0,
54
- onInput: (a) => d(e.name, a),
55
- maxlength: u
54
+ maxlength: u,
55
+ onInput: (a) => d(e.name, a)
56
56
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
57
- p(w)
57
+ p(b)
58
58
  ])
59
59
  ]));
60
60
  }
61
- }, B = /* @__PURE__ */ z(V, [["__scopeId", "data-v-b35066b7"]]);
61
+ }, B = /* @__PURE__ */ _(V, [["__scopeId", "data-v-69f26bb3"]]);
62
62
  export {
63
63
  B as default
64
64
  };
@@ -1,27 +1,27 @@
1
1
  import { reactive as c, createElementBlock as l, openBlock as a, createElementVNode as s, createVNode as p, Fragment as h, renderList as g, unref as o, createBlock as k } from "vue";
2
2
  import { FormKit as w } from "@formkit/vue";
3
3
  import f from "../../../components/StepActionsSection.vue.js";
4
- import _ from "../TextArea/TextAreaDefinition.js";
4
+ import b from "../TextArea/TextAreaDefinition.js";
5
5
  /* empty css */
6
- import b from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
- const j = { class: "project-phasen-weiterdenken" }, v = { class: "project-phasen-weiterdenken-content" }, d = 1e3, z = {
6
+ import S from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const _ = { class: "project-phasen-weiterdenken" }, j = { class: "project-phasen-weiterdenken-content" }, d = 1e3, v = {
8
8
  __name: "WeiterdenkenStep",
9
- setup(S) {
9
+ setup(z) {
10
10
  const n = c({
11
11
  questions: {
12
- project_triggers: {
12
+ projectTriggers: {
13
13
  question: "Was sind Ihre wichtigsten Learnings aus dem Projekt? Was würden Sie beim nächsten Use Case anders machen?",
14
14
  answer: ""
15
15
  },
16
- involved_stakeholders: {
16
+ involvedStakeholders: {
17
17
  question: "Wird die Wirksamkeit Ihres Projekts überwacht und wenn ja, wie? Ist der erwartete Nutzen eingetreten (z.B. ökologisch, sozial oder monetär)?",
18
18
  answer: ""
19
19
  },
20
- data_collection_method: {
20
+ dataCollectionMethod: {
21
21
  question: "Gibt es Pläne für eine Skalierung oder Weiterentwicklung? Wenn ja, wie sichern Sie die Finanzierung dafür?",
22
22
  answer: ""
23
23
  },
24
- budget_planning: {
24
+ budgetPlanning: {
25
25
  question: "Besonders wichtig für uns waren Förderprogramme, wie das Landesprogramm zur Digitalisierung im Bevölkerungsschutz. Dadurch konnten wir einen Großteil der Kosten für Software, Sensorik und externe Beratung abdecken. Gefehlt haben uns regelmäßige, themenspezifische Austauschformate oder Workshops mit anderen Kommunen, um voneinander zu lernen und Synergien besser nutzen zu können.",
26
26
  answer: ""
27
27
  }
@@ -33,11 +33,11 @@ const j = { class: "project-phasen-weiterdenken" }, v = { class: "project-phasen
33
33
  function m(r, t) {
34
34
  n.questions[r].answer = t.slice(0, d);
35
35
  }
36
- return (r, t) => (a(), l("div", j, [
36
+ return (r, t) => (a(), l("div", _, [
37
37
  t[1] || (t[1] = s("div", { class: "project-phasen-weiterdenken-header" }, [
38
38
  s("h4", null, "Weiterdenken")
39
39
  ], -1)),
40
- s("div", v, [
40
+ s("div", j, [
41
41
  t[0] || (t[0] = s("p", { class: "project-phasen-weiterdenken-description" }, " Von den Learnings bis zur Skalierung der Projektergebnisse. ", -1)),
42
42
  (a(!0), l(h, null, g(o(u), (e) => (a(), k(o(w), {
43
43
  key: e.name,
@@ -45,7 +45,7 @@ const j = { class: "project-phasen-weiterdenken" }, v = { class: "project-phasen
45
45
  modelValue: n.questions[e.name].answer,
46
46
  "onUpdate:modelValue": (i) => n.questions[e.name].answer = i,
47
47
  label: e.text,
48
- type: o(_),
48
+ type: o(b),
49
49
  name: e.name,
50
50
  validation: "length:0,1000",
51
51
  hint: "true",
@@ -58,7 +58,7 @@ const j = { class: "project-phasen-weiterdenken" }, v = { class: "project-phasen
58
58
  ])
59
59
  ]));
60
60
  }
61
- }, y = /* @__PURE__ */ b(z, [["__scopeId", "data-v-407407f4"]]);
61
+ }, P = /* @__PURE__ */ S(v, [["__scopeId", "data-v-46334215"]]);
62
62
  export {
63
- y as default
63
+ P as default
64
64
  };