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

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 (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue2.js +48 -47
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +74 -71
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +4 -94
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +104 -0
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +1 -1
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +64 -52
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +8 -8
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +1 -1
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +4 -4
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +21 -21
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +2 -2
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +73 -71
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +4 -4
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +133 -131
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +85 -83
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +4 -4
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +179 -133
  27. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
  28. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  29. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +111 -91
  30. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +3 -3
  31. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +24 -19
  32. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
  33. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +2 -2
  34. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +137 -94
  35. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +152 -135
  36. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +201 -164
  37. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiContext.js +9 -10
  38. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +88 -66
  39. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +274 -273
  40. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +33 -32
  41. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiUtils.js +18 -9
  42. package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +65 -0
  43. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +50 -0
  44. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
  45. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
  46. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +48 -45
  47. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
  48. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +386 -397
  49. package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
  50. package/dist/packages/dpi/src/utils/schema/schemaProject.js +210 -0
  51. package/dist/packages/dpi/src/utils/schema/shared.js +23 -0
  52. package/package.json +3 -3
@@ -1,12 +1,13 @@
1
- import { defineComponent as j, mergeModels as M, computed as l, ref as I, useModel as H, watch as R, createBlock as U, openBlock as k, unref as m, createSlots as Q, withCtx as P, createElementVNode as G, createTextVNode as J, createCommentVNode as K, toDisplayString as W, renderSlot as X } from "vue";
2
- import { PhSpinner as Y } from "@phosphor-icons/vue";
3
- import { defineHubSearch as Z } from "@piveau/sdk-vue";
4
- import { useDebounce as _ } from "@vueuse/core";
5
- import w from "zod";
6
- import ee from "./Autocomplete.vue.js";
7
- const re = { class: "autocomplete-vocab__label" }, ie = /* @__PURE__ */ j({
1
+ import { defineComponent as Q, mergeModels as M, computed as l, ref as B, useModel as G, watch as A, createBlock as D, openBlock as I, unref as m, createSlots as J, withCtx as P, createElementVNode as K, createTextVNode as W, createCommentVNode as X, toDisplayString as Y, renderSlot as Z } from "vue";
2
+ import { PhSpinner as w } from "@phosphor-icons/vue";
3
+ import { defineHubSearch as ee } from "@piveau/sdk-vue";
4
+ import { useDebounce as R } from "@vueuse/core";
5
+ import re from "zod";
6
+ import oe from "./Autocomplete.vue.js";
7
+ const le = { class: "autocomplete-vocab__label" }, de = /* @__PURE__ */ Q({
8
8
  __name: "AutocompleteVocab",
9
9
  props: /* @__PURE__ */ M({
10
+ by: { default: "" },
10
11
  baseUrl: { default: "https://staging.bydata.de/api/hub/search" },
11
12
  vocabulary: {},
12
13
  resource: {},
@@ -15,102 +16,113 @@ const re = { class: "autocomplete-vocab__label" }, ie = /* @__PURE__ */ j({
15
16
  errorMessage: { default: "" },
16
17
  name: { default: "" },
17
18
  setupFn: {},
18
- disabled: { type: Boolean, default: !1 }
19
+ disabled: { type: Boolean, default: !1 },
20
+ isAutocompleteDisabled: { type: Boolean, default: !1 }
19
21
  }, {
20
22
  modelValue: { default: () => "" },
21
23
  modelModifiers: {}
22
24
  }),
23
25
  emits: /* @__PURE__ */ M(["select"], ["update:modelValue"]),
24
- setup(f, { emit: $ }) {
25
- const t = f, B = $, i = l(() => !!t.vocabulary), C = l(() => t.resource === "dataset" ? "dataset" : i.value ? "vocabulary" : "resource"), D = l(() => t.resource === "dataset" ? "datasets" : i.value ? "vocabularies" : `resources/${t.resource}`), { useSearch: E, useResource: F } = Z({
26
- baseUrl: t.baseUrl,
27
- index: C.value,
28
- indexDetails: D.value,
29
- schema: w.any()
26
+ setup(b, { emit: U }) {
27
+ const o = b, k = U, u = l(() => !!o.vocabulary), v = l(() => o.by || u.value ? "vocabulary" : "resource"), E = l(() => o.resource === "dataset" ? "dataset" : u.value ? "vocabulary" : v.value), _ = l(() => o.resource === "dataset" ? "datasets" : u.value ? "vocabularies" : v.value === "resource" ? `resources/${o.resource}` : "vocabularies"), $ = l(() => !o.isAutocompleteDisabled && !!(o.resource || o.vocabulary)), { useSearch: C, useResource: F } = ee({
28
+ baseUrl: o.baseUrl,
29
+ index: E.value,
30
+ indexDetails: _.value,
31
+ schema: re.any()
30
32
  }, (e) => {
31
- var d, V, q;
32
- const r = (d = t.setupFn) == null ? void 0 : d.call(t, e), a = String((r == null ? void 0 : r.id) || (e == null ? void 0 : e.resource) || ""), u = String((r == null ? void 0 : r.name) || ((V = e == null ? void 0 : e.pref_label) == null ? void 0 : V.de) || ((q = e == null ? void 0 : e.pref_label) == null ? void 0 : q.en) || "");
33
+ var d, q, V;
34
+ const r = (d = o.setupFn) == null ? void 0 : d.call(o, e), a = String((r == null ? void 0 : r.id) || (e == null ? void 0 : e.resource) || ""), n = String((r == null ? void 0 : r.name) || ((q = e == null ? void 0 : e.pref_label) == null ? void 0 : q.de) || ((V = e == null ? void 0 : e.pref_label) == null ? void 0 : V.en) || "");
33
35
  return {
34
36
  ...r,
35
37
  id: a,
36
- name: u
38
+ name: n
37
39
  };
38
- }), v = I(""), L = _(v, 300), p = l(() => t.vocabulary), { getSearchResultsEnhanced: N } = E({
40
+ }), f = B(""), L = R(f, 300), N = l(() => o.vocabulary), { getSearchResultsEnhanced: O } = C({
41
+ queryOptions: {
42
+ enabled: $
43
+ },
39
44
  queryParams: {
40
45
  q: L,
41
46
  limit: 12,
42
- ...p.value ? { vocabulary: p.value } : { resource: t.resource }
43
- }
44
- }), o = H(f, "modelValue"), b = l(() => !(!o.value || typeof o.value == "string")), x = l(() => typeof o.value == "string");
45
- function n(e) {
47
+ // ...vocabularyRef.value
48
+ // ? { vocabulary: vocabularyRef }
49
+ // : { resource: props.resource },
50
+ vocabulary: l(() => u.value ? N.value : "")
51
+ // resource: computed(() => props.resource || ''),
52
+ },
53
+ additionalParams: l(() => ({
54
+ resource: v.value === "resource" ? o.resource : ""
55
+ }))
56
+ }), t = G(b, "modelValue"), p = l(() => !(!t.value || typeof t.value == "string")), x = l(() => typeof t.value == "string");
57
+ function i(e) {
46
58
  return String(e ?? "").trim();
47
59
  }
48
60
  const c = l(() => {
49
61
  var e;
50
- return typeof o.value == "string" ? n(o.value) : n((e = o.value) == null ? void 0 : e.id);
51
- }), y = l(() => x.value && !!c.value), z = l(() => y.value ? i.value ? `${t.vocabulary}/vocable` : c.value : ""), A = l(() => i.value ? { resource: c.value } : {}), {
52
- resultEnhanced: O,
53
- isSuccess: oe,
54
- isLoading: T
62
+ return typeof t.value == "string" ? i(t.value) : i((e = t.value) == null ? void 0 : e.id);
63
+ }), y = l(() => x.value && !!c.value), z = l(() => y.value ? u.value ? `${o.vocabulary}/vocable` : c.value : ""), T = l(() => u.value ? { resource: c.value } : {}), {
64
+ resultEnhanced: j,
65
+ isSuccess: te,
66
+ isLoading: H
55
67
  } = F(z, {
56
- additionalParams: A,
68
+ additionalParams: T,
57
69
  queryOptions: {
58
70
  enabled: y
59
71
  }
60
- }), g = _(T, 350), s = I(), h = l({
72
+ }), g = R(H, 350), s = B(), h = l({
61
73
  get: () => {
62
- var a, u;
74
+ var a, n;
63
75
  const e = c.value;
64
76
  if (!e)
65
77
  return { id: "", name: "" };
66
- const r = typeof o.value == "object" && o.value !== null ? o.value.name : n((a = s.value) == null ? void 0 : a.id) === e ? ((u = s.value) == null ? void 0 : u.name) ?? "" : "";
78
+ const r = typeof t.value == "object" && t.value !== null ? t.value.name : i((a = s.value) == null ? void 0 : a.id) === e ? ((n = s.value) == null ? void 0 : n.name) ?? "" : "";
67
79
  return { id: e, name: r };
68
80
  },
69
81
  set: (e) => {
70
82
  if (!e) {
71
- s.value = void 0, o.value = "";
83
+ s.value = void 0, t.value = "";
72
84
  return;
73
85
  }
74
86
  if (typeof e == "string") {
75
- s.value = void 0, o.value = e.trim();
87
+ s.value = void 0, t.value = e.trim();
76
88
  return;
77
89
  }
78
- s.value = e, o.value = n(e.id);
90
+ s.value = e, t.value = i(e.id);
79
91
  }
80
92
  });
81
- return R(O, (e, r) => {
82
- e && (r && r.id === e.id || (s.value = e, b.value && (o.value = e), b.value || (o.value = n(e.id))));
83
- }, { immediate: !0 }), R(s, (e) => {
84
- e && B("select", e);
85
- }, { immediate: !0 }), (e, r) => (k(), U(ee, {
93
+ return A(j, (e, r) => {
94
+ e && (r && r.id === e.id || (s.value = e, p.value && (t.value = e), p.value || (t.value = i(e.id))));
95
+ }, { immediate: !0 }), A(s, (e) => {
96
+ e && k("select", e);
97
+ }, { immediate: !0 }), (e, r) => (I(), D(oe, {
86
98
  modelValue: h.value,
87
99
  "onUpdate:modelValue": r[0] || (r[0] = (a) => h.value = a),
88
- query: v.value,
89
- "onUpdate:query": r[1] || (r[1] = (a) => v.value = a),
90
- options: m(N) || [],
100
+ query: f.value,
101
+ "onUpdate:query": r[1] || (r[1] = (a) => f.value = a),
102
+ options: m(O) || [],
91
103
  label: e.label,
92
104
  "error-message": e.errorMessage,
93
105
  placeholder: e.placeholder,
94
106
  name: e.name,
95
- disabled: m(g) || t.disabled
96
- }, Q({
107
+ disabled: m(g) || o.disabled
108
+ }, J({
97
109
  label: P(() => [
98
- G("div", re, [
99
- J(W(e.label) + " ", 1),
100
- m(g) ? (k(), U(m(Y), {
110
+ K("div", le, [
111
+ W(Y(e.label) + " ", 1),
112
+ m(g) ? (I(), D(m(w), {
101
113
  key: 0,
102
114
  class: "animate-spin"
103
- })) : K("", !0)
115
+ })) : X("", !0)
104
116
  ])
105
117
  ]),
106
118
  _: 2
107
119
  }, [
108
120
  e.$slots.option ? {
109
121
  name: "option",
110
- fn: P(({ option: a, active: u, selected: S, disabled: d }) => [
111
- X(e.$slots, "option", {
122
+ fn: P(({ option: a, active: n, selected: S, disabled: d }) => [
123
+ Z(e.$slots, "option", {
112
124
  option: a,
113
- active: u,
125
+ active: n,
114
126
  selected: S,
115
127
  disabled: d
116
128
  }, void 0, !0)
@@ -121,5 +133,5 @@ const re = { class: "autocomplete-vocab__label" }, ie = /* @__PURE__ */ j({
121
133
  }
122
134
  });
123
135
  export {
124
- ie as default
136
+ de as default
125
137
  };
@@ -2,11 +2,11 @@ import { createElementBlock as i, openBlock as o, createElementVNode as e, creat
2
2
  import { FormKit as l } from "@formkit/vue";
3
3
  import { PhLightbulb as u } from "@phosphor-icons/vue";
4
4
  import m from "../../../components/StepActionsSection.vue.js";
5
- import d from "../Card.vue.js";
6
- import c from "../InputField/InputFieldDefinition.js";
5
+ import c from "../Card.vue.js";
6
+ import d from "../InputField/InputFieldDefinition.js";
7
7
  /* empty css */
8
8
  import p from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
9
- const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" }, h = { class: "funny-flex" }, _ = { class: "funny-section" }, k = { class: "funny-section" }, b = {
9
+ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" }, h = { class: "funny-flex" }, _ = { class: "funny-section" }, b = { class: "funny-section" }, k = {
10
10
  __name: "ProjectNameStep",
11
11
  setup(y) {
12
12
  return (z, t) => (o(), i("div", f, [
@@ -15,7 +15,7 @@ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" },
15
15
  t[0] || (t[0] = e("h4", null, " Geben Sie Ihrem Projekt einen Namen ", -1)),
16
16
  t[1] || (t[1] = e("span", { class: "copy-large-regular" }, "Ein aussagekräftiger Projektname bildet den ersten Grundstein für eine gute Auffindbarkeit Ihres Projekts.", -1)),
17
17
  n(s(l), {
18
- type: s(c),
18
+ type: s(d),
19
19
  name: "projectName",
20
20
  "text-label": "Name",
21
21
  placeholder: "Geben Sie Ihrem Projekt einen Namen.",
@@ -25,10 +25,10 @@ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" },
25
25
  ])
26
26
  ]),
27
27
  e("section", _, [
28
- n(m)
28
+ n(m, { "hide-cancel": "" })
29
29
  ]),
30
- e("section", k, [
31
- n(d, { variant: "default" }, {
30
+ e("section", b, [
31
+ n(c, { variant: "default" }, {
32
32
  icon: r(() => [
33
33
  n(s(u), {
34
34
  size: 32,
@@ -52,7 +52,7 @@ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" },
52
52
  ])
53
53
  ]));
54
54
  }
55
- }, E = /* @__PURE__ */ p(b, [["__scopeId", "data-v-dfd03fa8"]]);
55
+ }, E = /* @__PURE__ */ p(k, [["__scopeId", "data-v-23f0fe6b"]]);
56
56
  export {
57
57
  E as default
58
58
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DpiModalBase.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7c55601b"]]);
3
+ import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-5929dac5"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -71,7 +71,7 @@ const $ = { class: "dpiV3_RapModalContainer" }, D = { class: "dpiV3_RapModalInne
71
71
  o("div", D, [
72
72
  o("div", R, [
73
73
  r(e.$slots, "header", {}, () => [
74
- o("h2", w, C(e.title) + " bearbeiten ", 1)
74
+ o("h4", w, C(e.title) + " bearbeiten ", 1)
75
75
  ], !0),
76
76
  !p.persistent && !e.hideCloseBtn ? (s(), _("div", N, [
77
77
  i(g, {
@@ -1,7 +1,7 @@
1
1
  import o from "./CategoriesStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1ab9488a"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d403793c"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -6,7 +6,7 @@ import b from "../ChipToggleList/ChipToggleList.vue.js";
6
6
  const S = { class: "dpiV3_page V3-typography" }, V = { class: "funny-section" }, C = { class: "funny-flex" }, k = { class: "funny-section" }, K = /* @__PURE__ */ m({
7
7
  __name: "CategoriesStep",
8
8
  setup(x) {
9
- const s = c([]), u = c(""), { useSearch: p } = y({
9
+ const s = c([]), u = c(""), { useSearch: a } = y({
10
10
  baseUrl: "https://staging.bydata.de/api/hub/search",
11
11
  index: "vocabulary",
12
12
  schema: _.any()
@@ -17,7 +17,7 @@ const S = { class: "dpiV3_page V3-typography" }, V = { class: "funny-section" },
17
17
  id: o,
18
18
  name: i
19
19
  };
20
- }), { getSearchResultsEnhanced: a } = p({
20
+ }), { getSearchResultsEnhanced: p } = a({
21
21
  queryParams: {
22
22
  q: u,
23
23
  limit: 12,
@@ -44,12 +44,12 @@ const S = { class: "dpiV3_page V3-typography" }, V = { class: "funny-section" },
44
44
  r(b, {
45
45
  modelValue: s.value,
46
46
  "onUpdate:modelValue": o[1] || (o[1] = (t) => s.value = t),
47
- options: g(a) || []
47
+ options: g(p) || []
48
48
  }, null, 8, ["modelValue", "options"])
49
49
  ])
50
50
  ]),
51
51
  n("section", k, [
52
- r(v)
52
+ r(v, { "hide-cancel": "" })
53
53
  ])
54
54
  ]);
55
55
  };
@@ -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-216d8d8e"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-07d1a087"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
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";
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
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,7 +23,7 @@ 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
- }, oe = { class: "partner-cards-container" }, se = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
26
+ }, se = { class: "partner-cards-container" }, oe = { class: "action-container" }, ue = 500, Ve = /* @__PURE__ */ I({
27
27
  __name: "OptionalDataStep",
28
28
  setup(de) {
29
29
  const x = g(""), V = g([]), C = g([]), w = g([]), F = B(() => {
@@ -36,7 +36,7 @@ const Z = { class: "dpiV3_page V3-typography" }, q = {
36
36
  u.value.includes(e) || u.value.push(e), b.value = "";
37
37
  }
38
38
  }
39
- return (p, e) => (s(), h("div", Z, [
39
+ return (p, e) => (o(), h("div", Z, [
40
40
  e[22] || (e[22] = t("section", { class: "funny-section" }, [
41
41
  t("div", { class: "funny-flex" }, [
42
42
  t("h4", null, "Fügen Sie optionale Daten hinzu"),
@@ -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: o, value: d }) => [
58
- (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
57
+ default: r(({ items: n, node: s, value: d }) => [
58
+ (o(!0), h(v, null, y(n, (m, c) => (o(), 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: () => o.input(d.filter((_, k) => k !== c))
71
+ onClick: () => s.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) => o.input(d.concat({}))
85
+ onClick: (m) => s.input(d.concat({}))
86
86
  }, null, 8, ["onClick"])
87
87
  ])
88
88
  ]),
@@ -144,7 +144,7 @@ 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: "financialSupport",
147
+ name: "budgetDescription",
148
148
  "text-label": "Förderung (optional)",
149
149
  placeholder: "Beschreiben Sie welche Förderung Sie erhalten haben.",
150
150
  validation: "length:0,500",
@@ -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 ? (s(), h("div", Y, [
185
- (s(!0), h(v, null, y(u.value, (n) => (s(), h("div", {
184
+ u.value.length > 0 ? (o(), h("div", Y, [
185
+ (o(!0), h(v, null, y(u.value, (n) => (o(), h("div", {
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] = (o) => u.value = o),
191
+ "onUpdate:modelValue": e[3] || (e[3] = (s) => u.value = s),
192
192
  class: "label-chip__input",
193
193
  type: "checkbox",
194
194
  value: n
@@ -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: o, value: d }) => [
253
- (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
252
+ default: r(({ items: n, node: s, value: d }) => [
253
+ (o(!0), h(v, null, y(n, (m, c) => (o(), 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: () => o.input(d.filter((_, k) => k !== c))
266
+ onClick: () => s.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) => o.input(d.concat({}))
280
+ onClick: (m) => s.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", oe, [
291
+ t("div", se, [
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: o, value: d }) => [
300
- (s(!0), h(v, null, y(n, (m, c) => (s(), z(l(a), {
299
+ default: r(({ items: n, node: s, value: d }) => [
300
+ (o(!0), h(v, null, y(n, (m, c) => (o(), 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: () => o.input(d.filter((_, k) => k !== c))
313
+ onClick: () => s.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", se, [
321
+ t("div", oe, [
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) => o.input(d.concat({}))
327
+ onClick: (m) => s.input(d.concat({}))
328
328
  }, null, 8, ["onClick"])
329
329
  ])
330
330
  ]),
@@ -1,7 +1,7 @@
1
1
  import t from "./DatasetStep.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-6d753025"]]);
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b49e83d7"]]);
5
5
  export {
6
- e as default
6
+ r as default
7
7
  };