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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +46 -48
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +107 -88
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +86 -62
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +7 -4
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +26 -27
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +19 -19
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +18 -17
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +35 -28
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +189 -155
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +50 -45
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  40. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +337 -337
  41. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
  42. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
  43. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +157 -141
  44. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
  45. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +172 -0
  46. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
  47. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -0
  48. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
  49. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +2 -2
  50. package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
  51. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +53 -55
  52. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +61 -59
  53. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +185 -180
  54. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +60 -61
  55. package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +76 -46
  56. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +67 -34
  57. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +85 -0
  58. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
  59. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
  60. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +314 -307
  61. package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
  62. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  63. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
  64. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  65. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
  66. package/package.json +5 -5
  67. package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
  68. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
@@ -1,4 +1,4 @@
1
- import { defineComponent as se, mergeModels as _, useModel as re, unref as i, watch as R, ref as ue, computed as y, createElementBlock as c, openBlock as a, createElementVNode as o, createCommentVNode as g, createVNode as u, Fragment as z, mergeProps as w, isRef as F, withCtx as ae, renderList as ce, withDirectives as de, vModelCheckbox as fe, createBlock as me } from "vue";
1
+ import { defineComponent as se, mergeModels as W, useModel as re, unref as i, watch as R, ref as ue, computed as y, createElementBlock as c, openBlock as a, createElementVNode as o, createCommentVNode as g, createVNode as u, Fragment as A, mergeProps as w, isRef as k, withCtx as ae, renderList as ce, withDirectives as de, vModelCheckbox as fe, createBlock as me } from "vue";
2
2
  import { toTypedSchema as P } 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
3
  import { useForm as T, useFieldArray as pe } from "vee-validate";
4
4
  import * as l from "zod";
@@ -8,15 +8,18 @@ import Se from "../Chip.vue.js";
8
8
  import be from "../InputField.vue.js";
9
9
  import ve from "../ListBox/Listbox.vue.js";
10
10
  import ye from "./RichOption.vue.js";
11
- const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "step-section" }, Fe = { class: "step-section-actions" }, ke = { class: "step-section" }, Ve = {
11
+ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "step-section" }, ke = { class: "step-section-actions" }, Fe = {
12
+ href: "https://form.typeform.com/to/r9b1mAZL#token=xxxxx&account=xxxxx",
13
+ target: "_blank"
14
+ }, Ve = { class: "step-section" }, Ie = {
12
15
  key: 0,
13
16
  class: "functionalities-container"
14
- }, Ie = ["id", "value"], xe = { class: "step-section-actions" }, ze = { class: "step-section-actions" }, Ae = {
17
+ }, xe = ["id", "value"], Ae = { class: "step-section-actions" }, ze = { class: "step-section-actions" }, Ce = {
15
18
  key: 0,
16
19
  class: "button-row"
17
- }, j = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", je = /* @__PURE__ */ se({
20
+ }, Z = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", je = /* @__PURE__ */ se({
18
21
  __name: "SoftwareForm",
19
- props: /* @__PURE__ */ _({
22
+ props: /* @__PURE__ */ W({
20
23
  modelValue: {},
21
24
  functionalities: {},
22
25
  exclude: { default: () => [] }
@@ -26,9 +29,9 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
26
29
  },
27
30
  modelModifiers: {}
28
31
  }),
29
- emits: /* @__PURE__ */ _(["submit", "patch", "close"], ["update:modelValue"]),
30
- setup(A, { emit: O }) {
31
- const m = A, k = O, Z = re(A, "modelValue"), S = !!m.modelValue, G = i(m.modelValue) || "", K = l.object({
32
+ emits: /* @__PURE__ */ W(["submit", "patch", "close"], ["update:modelValue"]),
33
+ setup(z, { emit: j }) {
34
+ const m = z, F = j, O = re(z, "modelValue"), S = !!m.modelValue, G = i(m.modelValue) || "", K = l.object({
32
35
  lat: l.string().min(1, "Geben Sie einen Wert für die Breite ein"),
33
36
  lng: l.string().min(1, "Geben Sie einen Wert für die Länge ein")
34
37
  }), q = l.array(K), Q = l.object({
@@ -39,7 +42,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
39
42
  defineField: C,
40
43
  handleSubmit: Y,
41
44
  resetForm: $,
42
- errors: Ce
45
+ errors: Be
43
46
  } = T({
44
47
  validationSchema: P(Q),
45
48
  initialValues: {
@@ -49,18 +52,18 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
49
52
  },
50
53
  name: "softwareForm"
51
54
  }), [d, H] = C("id"), [r, J] = C("functionalities"), {
52
- remove: Be,
55
+ remove: _e,
53
56
  push: De,
54
- fields: Ee
57
+ fields: Le
55
58
  } = pe("locations");
56
59
  R(d, (n) => {
57
- Z.value = n || "";
60
+ O.value = n || "";
58
61
  }, { immediate: !0 });
59
62
  const B = ue(null);
60
63
  function X(n) {
61
64
  B.value = n;
62
65
  }
63
- const p = y(() => !!d.value), D = y(() => {
66
+ const p = y(() => !!d.value), _ = y(() => {
64
67
  var n;
65
68
  return (((n = r.value) == null ? void 0 : n.length) ?? 0) > 0;
66
69
  }), ee = y(() => {
@@ -73,15 +76,15 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
73
76
  const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0, s = n.functionalityInput && n.functionalityInput.trim().length > 0;
74
77
  !e && !s && (t.addIssue({
75
78
  code: l.ZodIssueCode.custom,
76
- message: j,
79
+ message: Z,
77
80
  path: ["functionalitySelect"]
78
81
  }), t.addIssue({
79
82
  code: l.ZodIssueCode.custom,
80
- message: j,
83
+ message: Z,
81
84
  path: ["functionalityInput"]
82
85
  }));
83
86
  }), {
84
- defineField: E,
87
+ defineField: D,
85
88
  handleSubmit: ne,
86
89
  errors: b,
87
90
  resetForm: V
@@ -95,14 +98,14 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
95
98
  R(d, (n, t) => {
96
99
  !!t && !!n && n !== t && (V(), r.value = []);
97
100
  });
98
- const [I, ie] = E("functionalitySelect"), [x, oe] = E("functionalityInput"), L = y(() => Array.from(r.value || [])), M = Y((n) => {
99
- S ? k("patch", {
101
+ const [I, ie] = D("functionalitySelect"), [x, oe] = D("functionalityInput"), L = y(() => Array.from(r.value || [])), E = Y((n) => {
102
+ S ? F("patch", {
100
103
  id: G,
101
104
  software: {
102
105
  id: n.id,
103
106
  functionalities: Array.from(r.value || []).filter(Boolean)
104
107
  }
105
- }) : k("submit", {
108
+ }) : F("submit", {
106
109
  id: n.id,
107
110
  functionalities: Array.from(r.value || []).filter(Boolean)
108
111
  }), V(), $();
@@ -113,13 +116,13 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
113
116
  });
114
117
  return (n, t) => (a(), c("div", ge, [
115
118
  o("section", we, [
116
- S ? g("", !0) : (a(), c(z, { key: 0 }, [
119
+ S ? g("", !0) : (a(), c(A, { key: 0 }, [
117
120
  t[6] || (t[6] = o("h5", null, "Wählen Sie eine bestehende Software", -1)),
118
121
  t[7] || (t[7] = o("p", null, "Falls die Software bereits angelegt wurde, können Sie sie hier auswählen.", -1))
119
122
  ], 64)),
120
123
  u(he, w({
121
124
  modelValue: i(d),
122
- "onUpdate:modelValue": t[0] || (t[0] = (e) => F(d) ? d.value = e : null)
125
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => k(d) ? d.value = e : null)
123
126
  }, i(H), {
124
127
  "base-url": "https://twin.bydata.de/api/hub/search",
125
128
  resource: "software",
@@ -127,14 +130,14 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
127
130
  placeholder: "Software...",
128
131
  name: "software",
129
132
  "setup-fn": (e) => {
130
- var s, f, v, N, U, W;
133
+ var s, f, v, M, N, U;
131
134
  return {
132
135
  id: e == null ? void 0 : e.id,
133
136
  name: ((s = e == null ? void 0 : e.name) == null ? void 0 : s.de) || ((f = e == null ? void 0 : e.name) == null ? void 0 : f.en),
134
137
  functionalities: (e == null ? void 0 : e.functionalities) || [],
135
138
  unavailable: m.exclude.includes(e == null ? void 0 : e.id),
136
- manufacturer: (N = (v = e == null ? void 0 : e.manufacturer) == null ? void 0 : v[0]) == null ? void 0 : N.label,
137
- description: ((U = e == null ? void 0 : e.description) == null ? void 0 : U.de) || ((W = e == null ? void 0 : e.description) == null ? void 0 : W.en),
139
+ manufacturer: (M = (v = e == null ? void 0 : e.manufacturer) == null ? void 0 : v[0]) == null ? void 0 : M.label,
140
+ description: ((N = e == null ? void 0 : e.description) == null ? void 0 : N.de) || ((U = e == null ? void 0 : e.description) == null ? void 0 : U.en),
138
141
  version: e == null ? void 0 : e.version
139
142
  };
140
143
  },
@@ -152,34 +155,36 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
152
155
  ]),
153
156
  _: 1
154
157
  }, 16, ["modelValue", "setup-fn"]),
155
- S ? g("", !0) : (a(), c(z, { key: 1 }, [
158
+ S ? g("", !0) : (a(), c(A, { key: 1 }, [
156
159
  t[8] || (t[8] = o("h5", null, "oder", -1)),
157
160
  t[9] || (t[9] = o("p", null, " Sollte die verwendete Software noch nicht im Katalog verfügbar sein, können Sie die Anlage bei uns beantragen. Damit Sie die Dokumentation Ihres Digitalen Zwillings dennoch abschließen können, ordnen Sie dem Prozessschritt vorübergehend den Platzhalter-Datensatz „Software in Beantragung“ zu. Sobald die gewünschten Daten im Katalog verfügbar sind, können Sie diesen Platzhalter durch den tatsächlichen Software-Datensatz ersetzen. ", -1)),
158
- o("div", Fe, [
159
- u(h, {
160
- "button-text": "Zur Softwarebeantragung",
161
- size: "medium",
162
- variant: "secondary"
163
- })
161
+ o("div", ke, [
162
+ o("a", Fe, [
163
+ u(h, {
164
+ "button-text": "Zur Softwarebeantragung",
165
+ size: "medium",
166
+ variant: "secondary"
167
+ })
168
+ ])
164
169
  ])
165
170
  ], 64))
166
171
  ]),
167
- o("section", ke, [
172
+ o("section", Ve, [
168
173
  t[10] || (t[10] = o("h5", null, " Wie haben Sie die Software verwendet? ", -1)),
169
174
  t[11] || (t[11] = o("p", null, " Beschreiben Sie, wie Sie die angegebene Software verwendet haben. Wählen Sie hierzu die genutzten Funktionalitäten aus oder ergänzen Sie diese. ", -1)),
170
- L.value.length > 0 ? (a(), c("div", Ve, [
171
- (a(!0), c(z, null, ce(L.value, (e, s) => (a(), c("div", {
175
+ L.value.length > 0 ? (a(), c("div", Ie, [
176
+ (a(!0), c(A, null, ce(L.value, (e, s) => (a(), c("div", {
172
177
  key: s,
173
178
  class: "functionalities"
174
179
  }, [
175
180
  de(o("input", w({
176
181
  id: e,
177
- "onUpdate:modelValue": t[1] || (t[1] = (f) => F(r) ? r.value = f : null),
182
+ "onUpdate:modelValue": t[1] || (t[1] = (f) => k(r) ? r.value = f : null),
178
183
  hidden: "",
179
184
  value: e,
180
185
  name: "selectedFunctionalities",
181
186
  type: "checkbox"
182
- }, { ref_for: !0 }, i(J)), null, 16, Ie), [
187
+ }, { ref_for: !0 }, i(J)), null, 16, xe), [
183
188
  [fe, i(r)]
184
189
  ]),
185
190
  u(Se, {
@@ -200,7 +205,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
200
205
  ])) : g("", !0),
201
206
  u(ve, w({
202
207
  modelValue: i(I),
203
- "onUpdate:modelValue": t[2] || (t[2] = (e) => F(I) ? I.value = e : null),
208
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => k(I) ? I.value = e : null),
204
209
  options: ee.value,
205
210
  "error-message": i(b).functionalitySelect,
206
211
  label: "Funktionalitäten auswählen",
@@ -210,7 +215,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
210
215
  t[12] || (t[12] = o("h5", null, " oder ", -1)),
211
216
  u(be, w({
212
217
  modelValue: i(x),
213
- "onUpdate:modelValue": t[3] || (t[3] = (e) => F(x) ? x.value = e : null),
218
+ "onUpdate:modelValue": t[3] || (t[3] = (e) => k(x) ? x.value = e : null),
214
219
  "initial-hint-text": !!i(b).functionalityInput,
215
220
  error_message: i(b).functionalityInput,
216
221
  "show-error": !!i(b).functionalityInput,
@@ -223,7 +228,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
223
228
  label: "Funktionalitäten nennen",
224
229
  placeholder: "Nennen Sie eine Funktionalität"
225
230
  }, i(oe)), null, 16, ["modelValue", "initial-hint-text", "error_message", "show-error", "is-disabled"]),
226
- o("div", xe, [
231
+ o("div", Ae, [
227
232
  u(h, {
228
233
  "button-text": "Funktionalität hinzufügen",
229
234
  size: "medium",
@@ -236,23 +241,23 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
236
241
  ]),
237
242
  g("", !0),
238
243
  o("section", ze, [
239
- S ? (a(), c("div", Ae, [
244
+ S ? (a(), c("div", Ce, [
240
245
  u(h, {
241
246
  "button-text": "Abbrechen",
242
247
  variant: "tertiary",
243
- onClick: t[5] || (t[5] = (e) => k("close"))
248
+ onClick: t[5] || (t[5] = (e) => F("close"))
244
249
  }),
245
250
  u(h, {
246
251
  "button-text": "Speichern",
247
- disabled: !p.value || !D.value,
248
- onClick: i(M)
252
+ disabled: !p.value || !_.value,
253
+ onClick: i(E)
249
254
  }, null, 8, ["disabled", "onClick"])
250
255
  ])) : (a(), me(h, {
251
256
  key: 1,
252
257
  "icon-start": "PlusSquare",
253
258
  "button-text": "Software hinzufügen",
254
- disabled: !p.value || !D.value,
255
- onClick: i(M)
259
+ disabled: !p.value || !_.value,
260
+ onClick: i(E)
256
261
  }, null, 8, ["disabled", "onClick"]))
257
262
  ])
258
263
  ]));
@@ -1,34 +1,34 @@
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) {
1
+ import { useFormKitNodeById as a } from "@formkit/vue";
2
+ import { computed as o, toValue as y } from "vue";
3
+ const g = 999;
4
+ function w(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 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(() => {
8
+ function A(e, d) {
9
+ const i = a(`${e}/Software`), l = a(`${e}/Datensätze`), f = a(`${e}/Hardware`), n = (t) => Array.isArray(t) ? t.length : 0, s = o(() => {
10
10
  var t, r;
11
- return n((r = (t = l.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
11
+ return n((r = (t = i.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
12
12
  }), c = o(() => {
13
13
  var t, r;
14
- return n((r = (t = d.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
15
- }), a = o(() => {
14
+ return n((r = (t = l.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
15
+ }), u = o(() => {
16
16
  var t, r;
17
17
  return n((r = (t = f.value) == null ? void 0 : t._value) == null ? void 0 : r.selected);
18
18
  }), v = o({
19
19
  get() {
20
- return !m(i) ? String(y) : String(s.value + c.value + a.value);
20
+ return !y(d) ? String(g) : String(s.value + c.value + u.value);
21
21
  },
22
22
  set() {
23
23
  }
24
- }), S = o(() => s.value + c.value + a.value);
25
- return { count: v, softwareSelected: s, datasetsSelected: c, hardwareSelected: a, realCount: S };
24
+ }), S = o(() => s.value + c.value + u.value);
25
+ return { count: v, softwareSelected: s, datasetsSelected: c, hardwareSelected: u, realCount: S };
26
26
  }
27
- function A(e) {
28
- return Number((e == null ? void 0 : e._value) ?? 0) > 0;
27
+ function N(e) {
28
+ return !0;
29
29
  }
30
30
  export {
31
- A as ensureHasOneResource,
32
- h as looseRenderable,
33
- w as useProcessStepResources
31
+ N as ensureHasOneResource,
32
+ w as looseRenderable,
33
+ A as useProcessStepResources
34
34
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ReviewStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2081331"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6d00c4cc"]]);
5
5
  export {
6
- m as default
6
+ r as default
7
7
  };