@piveau/dpi 0.2.0-alpha.13 → 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 (90) 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/AboutProject.vue.js +46 -48
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +101 -79
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +4 -94
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +128 -0
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +64 -52
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +9 -6
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +26 -27
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +19 -19
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +1 -1
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +18 -17
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +1 -1
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +35 -28
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +190 -156
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +2 -2
  40. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +73 -71
  41. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +4 -4
  42. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  43. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
  44. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  45. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +133 -131
  46. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  47. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +50 -45
  48. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  49. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +85 -83
  50. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
  51. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  52. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +341 -341
  53. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
  54. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
  55. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +205 -143
  56. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
  57. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +172 -0
  58. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
  59. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -0
  60. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  61. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +111 -91
  62. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +3 -3
  63. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +24 -19
  64. package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
  65. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +2 -2
  66. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +137 -94
  67. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +152 -135
  68. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +202 -167
  69. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiContext.js +9 -10
  70. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +89 -65
  71. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +287 -281
  72. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +82 -82
  73. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiUtils.js +18 -9
  74. package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +95 -0
  75. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +83 -0
  76. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +85 -0
  77. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
  78. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +48 -45
  79. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
  80. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +405 -409
  81. package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
  82. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  83. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
  84. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  85. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
  86. package/dist/packages/dpi/src/utils/schema/schemaProject.js +210 -0
  87. package/dist/packages/dpi/src/utils/schema/shared.js +23 -0
  88. package/package.json +5 -5
  89. package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
  90. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
@@ -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
  };
@@ -1,29 +1,29 @@
1
- import { ref as a, computed as u, createElementBlock as c, openBlock as p, createElementVNode as e, createVNode as n, unref as r, withCtx as i, createTextVNode as m } from "vue";
2
- import { FormKit as d } from "@formkit/vue";
1
+ import { ref as a, computed as c, createElementBlock as u, openBlock as p, createElementVNode as e, createVNode as n, unref as r, withCtx as i, createTextVNode as d } from "vue";
2
+ import { FormKit as m } from "@formkit/vue";
3
3
  import { PhLightbulb as h } from "@phosphor-icons/vue";
4
4
  import g from "../../../components/StepActionsSection.vue.js";
5
5
  import f from "../Card.vue.js";
6
- import _ from "../TextArea/TextAreaDefinition.js";
6
+ import z from "../TextArea/TextAreaDefinition.js";
7
7
  /* empty css */
8
- import b from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
9
- const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" }, v = { class: "funny-flex" }, y = { class: "funny-section" }, w = { class: "funny-section" }, x = 500, P = {
8
+ import _ from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
9
+ const b = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" }, v = { class: "funny-flex" }, y = { class: "funny-section" }, w = { class: "funny-section" }, x = 500, P = {
10
10
  __name: "ProjectDescriptionStep",
11
- setup(j) {
12
- const s = a(""), o = u(() => s.value.length);
13
- return (S, t) => (p(), c("div", z, [
11
+ setup(S) {
12
+ const s = a(""), o = c(() => s.value.length);
13
+ return (j, t) => (p(), u("div", b, [
14
14
  e("section", k, [
15
15
  e("div", v, [
16
16
  t[1] || (t[1] = e("h4", null, "Beschreiben Sie Ihr Projekt", -1)),
17
17
  t[2] || (t[2] = e("span", { class: "copy-large-regular" }, " Beschreiben Sie die wichtigsten Inhalte Ihres Projekts in wenigen, klaren Sätzen, damit interessierte Personen schnell einschätzen können, ob das Projekt für sie relevant ist. ", -1)),
18
- n(r(d), {
18
+ n(r(m), {
19
19
  id: "projectDescription",
20
20
  modelValue: s.value,
21
21
  "onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
22
22
  label: "Beschreibung",
23
- type: r(_),
23
+ type: r(z),
24
24
  name: "projectDescription",
25
25
  "text-label": "Name",
26
- placeholder: "Geben Sie Ihrem Projekt einen Namen.",
26
+ placeholder: "Beschreiben Sie Ihr Projekt in ein paar Sätzen.",
27
27
  validation: "required|length:0,500",
28
28
  hint: "true",
29
29
  help: `${o.value} von ${x} Zeichen`,
@@ -32,7 +32,7 @@ const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" },
32
32
  ])
33
33
  ]),
34
34
  e("section", y, [
35
- n(g)
35
+ n(g, { class: "description-step" })
36
36
  ]),
37
37
  e("section", w, [
38
38
  n(f, { variant: "default" }, {
@@ -43,7 +43,7 @@ const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" },
43
43
  })
44
44
  ]),
45
45
  title: i(() => t[3] || (t[3] = [
46
- m(" Beispiel ", -1)
46
+ d(" Beispiel ", -1)
47
47
  ])),
48
48
  default: i(() => [
49
49
  t[4] || (t[4] = e("div", { class: "copy-large-regular" }, [
@@ -59,7 +59,7 @@ const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" },
59
59
  ])
60
60
  ]));
61
61
  }
62
- }, F = /* @__PURE__ */ b(P, [["__scopeId", "data-v-9f4e9fc8"]]);
62
+ }, F = /* @__PURE__ */ _(P, [["__scopeId", "data-v-83c496c5"]]);
63
63
  export {
64
64
  F as default
65
65
  };
@@ -2,8 +2,8 @@ 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
9
  const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" }, h = { class: "funny-flex" }, _ = { class: "funny-section" }, k = { class: "funny-section" }, b = {
@@ -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,13 @@ 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, {
29
+ "hide-cancel": "",
30
+ class: "project-name-step-actions"
31
+ })
29
32
  ]),
30
33
  e("section", k, [
31
- n(d, { variant: "default" }, {
34
+ n(c, { variant: "default" }, {
32
35
  icon: r(() => [
33
36
  n(s(u), {
34
37
  size: 32,
@@ -52,7 +55,7 @@ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" },
52
55
  ])
53
56
  ]));
54
57
  }
55
- }, E = /* @__PURE__ */ p(b, [["__scopeId", "data-v-dfd03fa8"]]);
58
+ }, E = /* @__PURE__ */ p(b, [["__scopeId", "data-v-90d0d90c"]]);
56
59
  export {
57
60
  E as default
58
61
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ProjectOrganisationStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e50dd05f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5d269d07"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, createElementBlock as c, openBlock as u, createElementVNode as e, createCommentVNode as g, renderSlot as h, toDisplayString as a, createVNode as o, withCtx as i, createTextVNode as r, unref as s } from "vue";
1
+ import { defineComponent as f, createElementBlock as c, openBlock as u, createElementVNode as e, createCommentVNode as g, renderSlot as h, toDisplayString as a, createVNode as o, withCtx as s, createTextVNode as r, unref as i } from "vue";
2
2
  import { FormKit as l } from "@formkit/vue";
3
3
  import { PhLightbulb as p } from "@phosphor-icons/vue";
4
4
  import _ from "../../../../stories/components/PartnerCard.vue.js";
@@ -8,7 +8,7 @@ import d from "../InputField/InputFieldDefinition.js";
8
8
  const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" }, k = { class: "funny-flex" }, S = { class: "funny-section" }, P = { class: "contact-container" }, z = { class: "contact-title" }, D = { class: "contact-wrapper" }, A = ["src"], N = { class: "contact-grid" }, w = { class: "contact-col" }, C = { class: "copy-large-regular" }, E = { class: "copy-large-regular" }, B = { class: "contact-col" }, O = { class: "copy-large-regular" }, V = ["href"], M = {
9
9
  key: 0,
10
10
  class: "funny-section"
11
- }, T = { class: "funny-section" }, W = { class: "funny-flex" }, j = { class: "funny-section" }, G = { class: "funny-flex" }, I = { class: "funny-section" }, F = { class: "funny-flex" }, Q = /* @__PURE__ */ f({
11
+ }, T = { class: "funny-section" }, W = { class: "funny-flex" }, j = { class: "funny-section" }, G = { class: "funny-section" }, I = { class: "funny-flex" }, J = /* @__PURE__ */ f({
12
12
  __name: "ProjectOrganisationStep",
13
13
  props: {
14
14
  isWip: { type: Boolean },
@@ -19,7 +19,7 @@ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" },
19
19
  phone: {},
20
20
  email: {}
21
21
  },
22
- setup(K) {
22
+ setup(F) {
23
23
  return (t, n) => (u(), c("div", b, [
24
24
  e("section", v, [
25
25
  e("div", k, [
@@ -56,16 +56,16 @@ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" },
56
56
  ]),
57
57
  t.isWip ? (u(), c("section", M, [
58
58
  o(m, null, {
59
- title: i(() => n[2] || (n[2] = [
59
+ title: s(() => n[2] || (n[2] = [
60
60
  r(" Work-in-Progress ", -1)
61
61
  ])),
62
- icon: i(() => [
63
- o(s(p), {
62
+ icon: s(() => [
63
+ o(i(p), {
64
64
  size: 32,
65
65
  color: "#009fe3"
66
66
  })
67
67
  ]),
68
- default: i(() => [
68
+ default: s(() => [
69
69
  n[3] || (n[3] = r(" Organisation card above is WIP ", -1))
70
70
  ]),
71
71
  _: 1,
@@ -77,29 +77,30 @@ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" },
77
77
  n[4] || (n[4] = e("h5", null, "Projektkontakt (optional)", -1)),
78
78
  n[5] || (n[5] = e("span", { class: "copy-large-regular" }, " Bitte nennen Sie eine allgemeine E-Mail-Adresse oder Funktionsadresse, unter der interessierte Personen Rückfragen zum Projekt stellen können. Bitte geben Sie keine personenbezogenen Daten an. ", -1)),
79
79
  o(_, null, {
80
- default: i(() => [
81
- o(s(l), {
80
+ default: s(() => [
81
+ o(i(l), {
82
82
  type: "group",
83
83
  name: "contact"
84
84
  }, {
85
- default: i(() => [
86
- o(s(l), {
87
- type: s(d),
85
+ default: s(() => [
86
+ o(i(l), {
87
+ type: i(d),
88
88
  name: "name",
89
89
  "text-label": "Name",
90
90
  placeholder: "Geben Sie einen Namen an.",
91
- "validation-label": "Name"
91
+ "validation-label": "Name",
92
+ "validation-visibility": "submit"
92
93
  }, null, 8, ["type"]),
93
- o(s(l), {
94
- type: s(d),
94
+ o(i(l), {
95
+ type: i(d),
95
96
  name: "mail",
96
97
  "text-label": "E-Mail-Adresse",
97
98
  placeholder: "Geben Sie eine E-Mail-Adresse an.",
98
99
  validation: "email",
99
100
  "validation-label": "E-Mail-Adresse"
100
101
  }, null, 8, ["type"]),
101
- o(s(l), {
102
- type: s(d),
102
+ o(i(l), {
103
+ type: i(d),
103
104
  name: "phone",
104
105
  "text-label": "Telefonnummer",
105
106
  placeholder: "Geben Sie eine Telefonnummer an.",
@@ -115,23 +116,21 @@ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" },
115
116
  ])
116
117
  ]),
117
118
  e("section", j, [
118
- e("div", G, [
119
- o(y)
120
- ])
119
+ o(y)
121
120
  ]),
122
- e("section", I, [
123
- e("div", F, [
121
+ e("section", G, [
122
+ e("div", I, [
124
123
  o(m, { variant: "default" }, {
125
- icon: i(() => [
126
- o(s(p), {
124
+ icon: s(() => [
125
+ o(i(p), {
127
126
  size: 32,
128
127
  color: "#009fe3"
129
128
  })
130
129
  ]),
131
- title: i(() => n[6] || (n[6] = [
130
+ title: s(() => n[6] || (n[6] = [
132
131
  r(" Wichtig! ", -1)
133
132
  ])),
134
- default: i(() => [
133
+ default: s(() => [
135
134
  n[7] || (n[7] = e("div", { class: "copy-large-regular" }, [
136
135
  e("p", null, "Bitte geben Sie keine persönlichen Daten preis! Diese dürfen auf unserer Plattform nicht veröffentlicht werden."),
137
136
  e("p", null, "Dazu zählen Namen, E-Mail-Adresse oder auch Telefonnummern von realen Personen."),
@@ -147,5 +146,5 @@ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" },
147
146
  }
148
147
  });
149
148
  export {
150
- Q as default
149
+ J as default
151
150
  };
@@ -4,13 +4,13 @@ import c from "../../../components/StepActionsSection.vue.js";
4
4
  import p from "../ListBox/ListBoxDefinition.js";
5
5
  /* empty css */
6
6
  import u from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
- const d = { class: "dpiV3_page V3-typography" }, f = { class: "funny-section" }, m = { class: "funny-flex" }, _ = { class: "funny-section" }, h = {
7
+ const d = { class: "dpiV3_page V3-typography" }, m = { class: "funny-section" }, f = { class: "funny-flex" }, _ = { class: "funny-section" }, h = {
8
8
  __name: "ProjectStatusStep",
9
- setup(S) {
10
- const n = r(["Offen", "In Arbeit", "Abgeschlossen"]);
11
- return (b, t) => (a(), i("div", d, [
12
- e("section", f, [
13
- e("div", m, [
9
+ setup(g) {
10
+ const n = r(["In Planung", "In Arbeit", "Abgeschlossen"]);
11
+ return (P, t) => (a(), i("div", d, [
12
+ e("section", m, [
13
+ e("div", f, [
14
14
  t[0] || (t[0] = e("h4", null, " Legen Sie den Status Ihres Projekts fest ", -1)),
15
15
  t[1] || (t[1] = e("span", { class: "copy-large-regular" }, "Ist Ihr Projekt noch in Planung, in Arbeit oder bereits abgeschlossen?", -1)),
16
16
  o(s(l), {
@@ -29,7 +29,7 @@ const d = { class: "dpiV3_page V3-typography" }, f = { class: "funny-section" },
29
29
  ])
30
30
  ]));
31
31
  }
32
- }, x = /* @__PURE__ */ u(h, [["__scopeId", "data-v-4e2fe302"]]);
32
+ }, I = /* @__PURE__ */ u(h, [["__scopeId", "data-v-fe681f1d"]]);
33
33
  export {
34
- x as default
34
+ I as default
35
35
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.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-0fac13a4"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c2be8f0e"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,32 +1,32 @@
1
- import { defineComponent as B, ref as g, computed as D, inject as L, createElementBlock as _, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as p, unref as o, withCtx as i, Fragment as P, renderList as I, createBlock as m, createCommentVNode as b } from "vue";
1
+ import { defineComponent as B, ref as g, computed as D, inject as P, createElementBlock as S, openBlock as s, createElementVNode as t, createVNode as n, createTextVNode as p, unref as o, withCtx as i, Fragment as L, renderList as I, createBlock as m, createCommentVNode as b } from "vue";
2
2
  import { FormKit as v } from "@formkit/vue";
3
- import { PhLightbulb as z } from "@phosphor-icons/vue";
3
+ import { PhLightbulb as _ } from "@phosphor-icons/vue";
4
4
  import N from "../../../../stories/components/LinkCard.vue.js";
5
5
  import T from "../../../components/StepActionsSection.vue.js";
6
+ import { dpiStepperKey as W } from "../../../utils/injectionKeys.js";
6
7
  import a from "../ButtonV3.vue.js";
7
- import S from "../Card.vue.js";
8
- import W from "../TextArea/TextAreaDefinition.js";
9
- import { dpiStepperKey as E } from "../../../utils/injectionKeys.js";
8
+ import z from "../Card.vue.js";
9
+ import E from "../TextArea/TextAreaDefinition.js";
10
10
  const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" }, M = { class: "funny-section" }, R = {
11
11
  id: "partners-section",
12
12
  class: "funny-section"
13
13
  }, Z = { class: "partner-cards-container" }, $ = { class: "action-container" }, j = { class: "step-actions__prev-and-next" }, A = { class: "actions" }, G = { class: "funny-section" }, U = 1e3, ie = /* @__PURE__ */ B({
14
14
  __name: "BasicInformationStep",
15
- setup(O) {
15
+ setup(q) {
16
16
  const f = g(""), k = g([]);
17
17
  g([]);
18
18
  const w = D(() => {
19
19
  var h;
20
20
  return ((h = f.value) == null ? void 0 : h.length) || 0;
21
- }), y = L(E);
21
+ }), y = P(W);
22
22
  function C() {
23
23
  if (!y) {
24
24
  console.warn("dpiStepper is not provided");
25
25
  return;
26
26
  }
27
- y.goTo("2. Datenverarbeitung/Grundlegende Informationen");
27
+ y.goToStep("2. Datenverarbeitung/Grundlegende Informationen");
28
28
  }
29
- return (h, e) => (s(), _("div", F, [
29
+ return (h, e) => (s(), S("div", F, [
30
30
  e[8] || (e[8] = t("section", { class: "funny-section" }, [
31
31
  t("div", { class: "funny-flex" }, [
32
32
  t("h4", null, "Beschreiben Sie den Prozessschritt zur Datenerfassung"),
@@ -44,11 +44,11 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
44
44
  "onUpdate:modelValue": e[0] || (e[0] = (r) => f.value = r),
45
45
  class: "budgetArea",
46
46
  label: "Beschreibung",
47
- type: o(W),
47
+ type: o(E),
48
48
  name: "description",
49
49
  "text-label": "Beschreibung",
50
50
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
51
- validation: "length:0,1000",
51
+ validation: "required|length:0,1000",
52
52
  "validation-visibility": "live",
53
53
  hint: "true",
54
54
  help: `${w.value} von ${U} Zeichen`,
@@ -56,9 +56,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
56
56
  }, null, 8, ["modelValue", "type", "help"])
57
57
  ]),
58
58
  t("section", M, [
59
- n(S, { variant: "default" }, {
59
+ n(z, { variant: "default" }, {
60
60
  icon: i(() => [
61
- n(o(z), {
61
+ n(o(_), {
62
62
  size: 32,
63
63
  color: "#009fe3"
64
64
  })
@@ -85,7 +85,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
85
85
  dynamic: ""
86
86
  }, {
87
87
  default: i(({ items: r, node: l, value: u }) => [
88
- (s(!0), _(P, null, I(r, (d, c) => (s(), m(o(v), {
88
+ (s(!0), S(L, null, I(r, (d, c) => (s(), m(o(v), {
89
89
  key: d,
90
90
  type: "group",
91
91
  index: c
@@ -121,7 +121,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
121
121
  ])
122
122
  ]),
123
123
  n(T, {
124
- classList: "step-container",
124
+ "class-list": "step-container",
125
125
  "next-text": "Weiter zu Software"
126
126
  }, {
127
127
  "prev-and-next": i(({
@@ -146,9 +146,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
146
146
  key: 1,
147
147
  variant: "secondary",
148
148
  size: "large",
149
- onClick: C,
150
149
  "button-text": "Weiter ohne Datenerfassung",
151
- "icon-end": "CaretRight"
150
+ "icon-end": "CaretRight",
151
+ onClick: C
152
152
  }))
153
153
  ]),
154
154
  l ? b("", !0) : (s(), m(a, {
@@ -165,9 +165,9 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
165
165
  _: 1
166
166
  }),
167
167
  t("section", G, [
168
- n(S, { variant: "default" }, {
168
+ n(z, { variant: "default" }, {
169
169
  icon: i(() => [
170
- n(o(z), {
170
+ n(o(_), {
171
171
  size: 32,
172
172
  color: "#009fe3"
173
173
  })
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fad02306"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b22c0cd1"]]);
5
5
  export {
6
- f as default
6
+ s as default
7
7
  };