@piveau/dpi 0.2.0-alpha.11 → 0.2.0-alpha.13

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 (41) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +7 -0
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +180 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +7 -0
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +215 -0
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +37 -29
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +4 -4
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +8 -8
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +127 -118
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +64 -57
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +21 -23
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +105 -96
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +89 -80
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +6 -5
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +4 -3
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +6 -5
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +6 -5
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +388 -375
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +4 -3
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +35 -31
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +43 -35
  32. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
  33. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  34. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +11 -11
  35. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
  36. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
  37. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
  38. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
  39. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +131 -124
  40. package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
  41. package/package.json +1 -1
@@ -1,4 +1,4 @@
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";
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 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
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";
@@ -23,20 +23,20 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
23
23
  }, le = { class: "partner-cards-container" }, re = { class: "action-container" }, ae = {
24
24
  id: "partners-section",
25
25
  class: "funny-section"
26
- }, se = { class: "partner-cards-container" }, oe = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
26
+ }, oe = { class: "partner-cards-container" }, se = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
27
27
  __name: "OptionalDataStep",
28
28
  setup(de) {
29
- const x = g(""), V = g([]), C = g([]), w = g([]), P = B(() => {
29
+ const x = g(""), V = g([]), C = g([]), w = g([]), F = B(() => {
30
30
  var p;
31
31
  return ((p = x.value) == null ? void 0 : p.length) || 0;
32
32
  }), b = g(""), u = g([]);
33
- function F(p) {
33
+ function P(p) {
34
34
  if (p && p.trim()) {
35
35
  const e = p.trim();
36
36
  u.value.includes(e) || u.value.push(e), b.value = "";
37
37
  }
38
38
  }
39
- return (p, e) => (o(), h("div", Z, [
39
+ return (p, e) => (s(), 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"),
@@ -54,8 +54,8 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
54
54
  name: "partners",
55
55
  dynamic: ""
56
56
  }, {
57
- default: r(({ items: n, node: s, value: d }) => [
58
- (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
57
+ default: r(({ items: n, node: o, value: d }) => [
58
+ (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
59
59
  key: m,
60
60
  type: "group",
61
61
  index: c
@@ -68,7 +68,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
68
68
  size: "small",
69
69
  variant: "tertiary",
70
70
  "icon-start": "trash",
71
- onClick: () => s.input(d.filter((_, k) => k !== c))
71
+ onClick: () => o.input(d.filter((_, k) => k !== c))
72
72
  }, null, 8, ["onClick"])
73
73
  ]),
74
74
  _: 2
@@ -82,7 +82,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
82
82
  size: "medium",
83
83
  variant: "tertiary",
84
84
  "icon-start": "plus",
85
- onClick: (m) => s.input(d.concat({}))
85
+ onClick: (m) => o.input(d.concat({}))
86
86
  }, null, 8, ["onClick"])
87
87
  ])
88
88
  ]),
@@ -101,7 +101,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
101
101
  "input-type": "date",
102
102
  placeholder: "Enter text here",
103
103
  "tooltip-text": "This is helpful information",
104
- datePicker: !0,
104
+ "date-picker": !0,
105
105
  "add-on-text": !1,
106
106
  "info-icon": !1,
107
107
  "pre-icon": !1,
@@ -115,7 +115,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
115
115
  "input-type": "date",
116
116
  placeholder: "Enter text here",
117
117
  "tooltip-text": "This is helpful information",
118
- datePicker: !0,
118
+ "date-picker": !0,
119
119
  "add-on-text": !1,
120
120
  "info-icon": !1,
121
121
  "pre-icon": !1,
@@ -144,13 +144,13 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
144
144
  class: "budgetArea",
145
145
  label: "Förderung (optional)",
146
146
  type: l(M),
147
- name: "budget",
147
+ name: "financialSupport",
148
148
  "text-label": "Förderung (optional)",
149
149
  placeholder: "Beschreiben Sie welche Förderung Sie erhalten haben.",
150
150
  validation: "length:0,500",
151
151
  "validation-visibility": "live",
152
152
  hint: "true",
153
- help: `${P.value} von ${ue} Zeichen`,
153
+ help: `${F.value} von ${ue} Zeichen`,
154
154
  "count-hint": !0
155
155
  }, null, 8, ["modelValue", "type", "help"]),
156
156
  i(K, { variant: "default" }, {
@@ -181,14 +181,14 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
181
181
  type: "hidden",
182
182
  name: "requiredExpertise"
183
183
  }, null, 8, ["modelValue"]),
184
- u.value.length > 0 ? (o(), h("div", Y, [
185
- (o(!0), h(v, null, y(u.value, (n) => (o(), h("div", {
184
+ u.value.length > 0 ? (s(), h("div", Y, [
185
+ (s(!0), h(v, null, y(u.value, (n) => (s(), h("div", {
186
186
  key: n,
187
187
  class: "label-chip"
188
188
  }, [
189
189
  L(t("input", {
190
190
  id: `hardware-${n}`,
191
- "onUpdate:modelValue": e[3] || (e[3] = (s) => u.value = s),
191
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => u.value = o),
192
192
  class: "label-chip__input",
193
193
  type: "checkbox",
194
194
  value: n
@@ -234,7 +234,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
234
234
  size: "medium",
235
235
  variant: "tertiary",
236
236
  "icon-start": "plus",
237
- onClick: e[5] || (e[5] = (n) => F(b.value))
237
+ onClick: e[5] || (e[5] = (n) => P(b.value))
238
238
  })
239
239
  ])
240
240
  ]),
@@ -249,8 +249,8 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
249
249
  name: "references",
250
250
  dynamic: ""
251
251
  }, {
252
- default: r(({ items: n, node: s, value: d }) => [
253
- (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
252
+ default: r(({ items: n, node: o, value: d }) => [
253
+ (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
254
254
  key: m,
255
255
  type: "group",
256
256
  index: c
@@ -263,7 +263,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
263
263
  size: "small",
264
264
  variant: "tertiary",
265
265
  "icon-start": "trash",
266
- onClick: () => s.input(d.filter((_, k) => k !== c))
266
+ onClick: () => o.input(d.filter((_, k) => k !== c))
267
267
  }, null, 8, ["onClick"])
268
268
  ]),
269
269
  _: 2
@@ -277,7 +277,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
277
277
  size: "medium",
278
278
  variant: "tertiary",
279
279
  "icon-start": "plus",
280
- onClick: (m) => s.input(d.concat({}))
280
+ onClick: (m) => o.input(d.concat({}))
281
281
  }, null, 8, ["onClick"])
282
282
  ])
283
283
  ]),
@@ -288,7 +288,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
288
288
  t("section", ae, [
289
289
  e[20] || (e[20] = t("h5", null, " Weiterführende Links ", -1)),
290
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, [
291
+ t("div", oe, [
292
292
  i(l(a), {
293
293
  modelValue: w.value,
294
294
  "onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
@@ -296,8 +296,8 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
296
296
  name: "links",
297
297
  dynamic: ""
298
298
  }, {
299
- default: r(({ items: n, node: s, value: d }) => [
300
- (o(!0), h(v, null, y(n, (m, c) => (o(), z(l(a), {
299
+ default: r(({ items: n, node: o, value: d }) => [
300
+ (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
301
301
  key: m,
302
302
  type: "group",
303
303
  index: c
@@ -310,7 +310,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
310
310
  size: "small",
311
311
  variant: "tertiary",
312
312
  "icon-start": "trash",
313
- onClick: () => s.input(d.filter((_, k) => k !== c))
313
+ onClick: () => o.input(d.filter((_, k) => k !== c))
314
314
  }, null, 8, ["onClick"])
315
315
  ]),
316
316
  _: 2
@@ -318,13 +318,13 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
318
318
  ]),
319
319
  _: 2
320
320
  }, 1032, ["index"]))), 128)),
321
- t("div", oe, [
321
+ t("div", se, [
322
322
  i(f, {
323
323
  "button-text": "Link hinzufügen",
324
324
  size: "medium",
325
325
  variant: "tertiary",
326
326
  "icon-start": "plus",
327
- onClick: (m) => s.input(d.concat({}))
327
+ onClick: (m) => o.input(d.concat({}))
328
328
  }, null, 8, ["onClick"])
329
329
  ])
330
330
  ]),
@@ -1,7 +1,7 @@
1
- import e from "./DatasetStep.vue2.js";
1
+ import t from "./DatasetStep.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(e, [["__scopeId", "data-v-40ceeeee"]]);
3
+ import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6d753025"]]);
5
5
  export {
6
- r as default
6
+ e as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, ref as I, computed as l, toRef as M, createBlock as u, openBlock as r, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as d, isRef as N, Fragment as T, renderList as $, createCommentVNode as h, createTextVNode as c, toDisplayString as D } from "vue";
1
+ import { defineComponent as H, ref as I, computed as l, toRef as M, createBlock as u, openBlock as r, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as d, isRef as N, Fragment as T, renderList as $, createCommentVNode as D, createTextVNode as c, toDisplayString as h } from "vue";
2
2
  import { FormKit as b } from "@formkit/vue";
3
3
  import { schemaDataset as G } from "@piveau/sdk-core";
4
4
  import { defineHubSearch as O, dcatApDataset as E } from "@piveau/sdk-vue";
@@ -88,7 +88,7 @@ const J = {
88
88
  key: p,
89
89
  class: "software-card",
90
90
  "no-edit": !0,
91
- onDelete: (Z) => s({ id: t.id || "", resourceType: "Software", resource: t.name, callback: w })
91
+ onDelete: (Z) => s({ id: t.id || "", resourceType: "Datensätzen", resource: t.name, callback: w })
92
92
  }, {
93
93
  "standalone-name": i(() => e[3] || (e[3] = [
94
94
  c(" Datensatz ", -1)
@@ -97,7 +97,7 @@ const J = {
97
97
  v("div", X, [
98
98
  o(_, { title: "Name" }, {
99
99
  default: i(() => [
100
- c(D(t.name), 1)
100
+ c(h(t.name), 1)
101
101
  ]),
102
102
  _: 2
103
103
  }, 1024),
@@ -106,19 +106,19 @@ const J = {
106
106
  title: "Datenbereitsteller, Aktualisiert"
107
107
  }, {
108
108
  default: i(() => [
109
- c(D(t.manufacturer), 1)
109
+ c(h(t.manufacturer), 1)
110
110
  ]),
111
111
  _: 2
112
- }, 1024)) : h("", !0),
112
+ }, 1024)) : D("", !0),
113
113
  t.description ? (r(), u(_, {
114
114
  key: 1,
115
115
  title: "Beschreibung"
116
116
  }, {
117
117
  default: i(() => [
118
- c(D(t.description), 1)
118
+ c(h(t.description), 1)
119
119
  ]),
120
120
  _: 2
121
- }, 1024)) : h("", !0)
121
+ }, 1024)) : D("", !0)
122
122
  ])
123
123
  ]),
124
124
  _: 2
@@ -147,7 +147,7 @@ const J = {
147
147
  d(B) === 0 ? (r(), u(W, {
148
148
  key: 0,
149
149
  "resource-label": "Datensätze"
150
- })) : h("", !0)
150
+ })) : D("", !0)
151
151
  ])
152
152
  ]),
153
153
  _: 1
@@ -1,7 +1,7 @@
1
1
  import o from "./HardwareForm.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-017dbc28"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-68b9edda"]]);
5
5
  export {
6
- p as default
6
+ d as default
7
7
  };