@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,98 +1,122 @@
1
- import { defineComponent as V, ref as l, computed as i, watch as P, createElementBlock as d, openBlock as o, createElementVNode as s, createVNode as c, withCtx as I, unref as u, createStaticVNode as D, Fragment as H, renderList as T, createBlock as w } from "vue";
2
- import { useDebounce as x } from "@vueuse/core";
1
+ import { defineComponent as H, ref as b, computed as i, watch as C, createElementBlock as n, openBlock as s, createElementVNode as o, createBlock as g, resolveDynamicComponent as N, unref as r, withCtx as x, createVNode as B, createStaticVNode as L, Fragment as U, renderList as R } from "vue";
2
+ import { whenever as q, useDebounce as W } from "@vueuse/core";
3
3
  import "axios";
4
4
  import "jquery";
5
- import { useRouter as B } from "vue-router";
6
- import { useStore as C } from "vuex";
7
- import { useRuntimeEnv as L } from "../../composables/useRuntimeEnv.js";
8
- import N from "../../widgets/AppLink.vue.js";
9
- import { useProjectSearch as E } from "../composables/useTwinbyHome.js";
10
- import { formatDate as R } from "../utils/formatDate.js";
11
- import U from "./ui/ButtonV3.vue.js";
12
- import q from "./ui/TableRowV3.vue.js";
13
- const W = { class: "dpiV3_dpiHome V3-typography" }, z = { class: "dpiV3_homeHeadWrap" }, A = { class: "interactionButtonsDPIHome" }, F = { class: "dpiV3_table" }, K = {
5
+ import { useRouter as $ } from "vue-router";
6
+ import { useStore as z } from "vuex";
7
+ import { useRuntimeEnv as F } from "../../composables/useRuntimeEnv.js";
8
+ import { useErrorDialog as J } from "../composables/useErrorDialog.js";
9
+ import { useProjectSearch as O } from "../composables/useTwinbyHome.js";
10
+ import { useTwinbyUser as A } from "../composables/useTwinbyUser.js";
11
+ import { formatDate as K } from "../utils/formatDate.js";
12
+ import G from "./ui/ButtonV3.vue.js";
13
+ import M from "./ui/TableRowV3.vue.js";
14
+ const Q = { class: "dpiV3_dpiHome V3-typography" }, X = { class: "dpiV3_homeHeadWrap" }, Y = { class: "interactionButtonsDPIHome" }, Z = { class: "dpiV3_table" }, j = {
14
15
  key: 0,
15
16
  class: "loading-screen"
16
- }, $ = {
17
+ }, ee = {
17
18
  key: 1,
18
19
  class: "dpiV3_innerTable"
19
- }, se = /* @__PURE__ */ V({
20
+ }, fe = /* @__PURE__ */ H({
20
21
  __name: "ProjectTable",
21
- setup(G) {
22
- L();
23
- const r = C();
24
- B(), localStorage.getItem("dpi_duplicate"), l(""), i(() => r.getters["auth/getUserCatalogIds"]), l({
22
+ setup(ae) {
23
+ var p, v, f, h;
24
+ const u = F(), d = z();
25
+ $(), localStorage.getItem("dpi_duplicate"), b(""), i(() => d.getters["auth/getUserCatalogIds"]), b({
25
26
  loading: !1,
26
27
  message: "",
27
28
  confirm: () => null
28
29
  });
29
- const p = i(() => r.getters["auth/getUserData"]);
30
- i(() => p.value.rtpToken);
31
- const m = (a) => r.dispatch("snackbar/showSnackbar", a), v = i(() => {
32
- var a, e;
33
- return (e = (a = r.getters) == null ? void 0 : a["auth/getUserData"]) == null ? void 0 : e.authToken;
34
- }), { useSearch: b } = E("https://twin.bydata.de/api/hub/search"), f = i(() => ({
35
- Authorization: `Bearer ${v.value}`
36
- })), { getSearchResultsEnhanced: h, isLoading: g, query: _ } = b({
30
+ const k = i(() => d.getters["auth/getUserData"]);
31
+ i(() => k.value.rtpToken);
32
+ const w = (t) => d.dispatch("snackbar/showSnackbar", t), _ = i(() => {
33
+ var t, e;
34
+ return (e = (t = d.getters) == null ? void 0 : t["auth/getUserData"]) == null ? void 0 : e.authToken;
35
+ }), { useSearch: y } = O(u.api.baseUrl), m = i(() => ({
36
+ Authorization: `Bearer ${_.value}`
37
+ })), { getSearchResultsEnhanced: S, isLoading: P, query: V } = y({
37
38
  queryParams: {
38
39
  limit: 100
39
40
  },
40
41
  additionalParams: {
41
42
  resource: "project",
42
- accessControlPermissions: "edit"
43
+ accessControlPermissions: "edit,publish,delete"
43
44
  },
44
- headers: f
45
- }), n = i(() => _.error.value), k = i(() => {
46
- var a;
47
- return (a = h.value) == null ? void 0 : a.map((e) => ({
45
+ headers: m
46
+ }), l = i(() => V.error.value), { openErrorDialog: D } = J();
47
+ q(l, () => {
48
+ if (!l.value)
49
+ return;
50
+ const t = new Error(`${JSON.stringify(l.value)}
51
+
52
+ ${JSON.stringify(m.value)}`);
53
+ D(t, "Fehler beim Laden der Projekte");
54
+ });
55
+ const { allowedToCreate: c } = A({
56
+ keycloak: ((v = (p = u.authentication) == null ? void 0 : p.keycloak) == null ? void 0 : v.url) || "https://keycloak.twin.bydata.de",
57
+ realm: ((h = (f = u.authentication) == null ? void 0 : f.keycloak) == null ? void 0 : h.realm) || "piveau",
58
+ audience: "piveau-hub-repo"
59
+ }), E = i(() => {
60
+ var t;
61
+ return (t = S.value) == null ? void 0 : t.map((e) => ({
48
62
  id: e.id,
49
63
  title: e.title,
50
64
  modified: e.modified,
51
65
  publicationStatus: e.publicationStatus,
52
66
  visibility: e.accessLevel,
53
- catalogId: e.catalogId
67
+ catalogId: e.catalogId,
68
+ allowEdit: e.allowEdit,
69
+ allowPublish: e.allowPublish,
70
+ allowDelete: e.allowDelete
54
71
  }));
55
72
  });
56
- P(n, () => {
57
- console.error(n), m({
58
- message: n.value.message,
73
+ C(l, () => {
74
+ console.error(l), w({
75
+ message: l.value.message,
59
76
  color: "error"
60
77
  });
61
78
  });
62
- const y = x(g, 500);
63
- return (a, e) => (o(), d("div", W, [
64
- s("div", z, [
65
- e[0] || (e[0] = s("h2", { class: "dpiV3_tableHeader" }, " Ihre Projekte ", -1)),
66
- e[1] || (e[1] = s("p", null, "Hier sehen Sie alle Projekte, die Sie bearbeiten oder veröffentlichen können.", -1)),
67
- s("div", A, [
68
- c(N, { to: { name: "DataProviderInterface-InputProject", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
69
- default: I(() => [
70
- c(U, {
79
+ const I = W(P, 500);
80
+ return (t, e) => (s(), n("div", Q, [
81
+ o("div", X, [
82
+ e[0] || (e[0] = o("h2", { class: "dpiV3_tableHeader" }, " Ihre Projekte ", -1)),
83
+ e[1] || (e[1] = o("p", null, "Hier sehen Sie alle Projekte, die Sie bearbeiten oder veröffentlichen können.", -1)),
84
+ o("div", Y, [
85
+ (s(), g(N(r(c) ? "RouterLink" : "span"), {
86
+ disabled: !r(c),
87
+ to: { name: "DataProviderInterface-InputProject", query: { locale: "de", edit: !1 }, params: { property: "datasets" } }
88
+ }, {
89
+ default: x(() => [
90
+ B(G, {
91
+ disabled: !r(c),
71
92
  "button-text": "Neues Projekt erstellen",
72
93
  size: "large"
73
- })
94
+ }, null, 8, ["disabled"])
74
95
  ]),
75
96
  _: 1
76
- })
97
+ }, 8, ["disabled"]))
77
98
  ])
78
99
  ]),
79
- s("div", F, [
80
- u(y) ? (o(), d("div", K, e[2] || (e[2] = [
81
- s("p", null, "Lädt Daten...", -1)
82
- ]))) : (o(), d("div", $, [
83
- e[3] || (e[3] = D('<div class="dpiV3_tableHeadWrap" data-v-b5dc47fb><div class="dpiV3_thWrap" data-v-b5dc47fb><div scope="col" data-v-b5dc47fb><span data-v-b5dc47fb>Name</span></div><div scope="col" class="dpiV3_statusHead" data-v-b5dc47fb><span data-v-b5dc47fb>Status</span></div><div scope="col" class="dpiV3_statusHead" data-v-b5dc47fb><span data-v-b5dc47fb>Sichtbarkeit</span></div></div><div class="dpiV3_blankCell" data-v-b5dc47fb></div></div>', 1)),
84
- s("div", null, [
85
- (o(!0), d(H, null, T(k.value, (t, S) => (o(), w(q, {
86
- id: t.id,
87
- key: t.id ?? S,
100
+ o("div", Z, [
101
+ r(I) ? (s(), n("div", j, e[2] || (e[2] = [
102
+ o("p", null, "Lädt Daten...", -1)
103
+ ]))) : (s(), n("div", ee, [
104
+ e[3] || (e[3] = L('<div class="dpiV3_tableHeadWrap" data-v-1cfd553a><div class="dpiV3_thWrap" data-v-1cfd553a><div scope="col" data-v-1cfd553a><span data-v-1cfd553a>Name</span></div><div scope="col" class="dpiV3_statusHead" data-v-1cfd553a><span data-v-1cfd553a>Status</span></div><div scope="col" class="dpiV3_statusHead" data-v-1cfd553a><span data-v-1cfd553a>Sichtbarkeit</span></div></div><div class="dpiV3_blankCell" data-v-1cfd553a></div></div>', 1)),
105
+ o("div", null, [
106
+ (s(!0), n(U, null, R(E.value, (a, T) => (s(), g(M, {
107
+ id: a.id,
108
+ key: a.id ?? T,
88
109
  type: "project",
89
- text: t.title || "Kein Titel in englisch oder deutsch vohanden",
90
- date: t.modified ? u(R)(t.modified) : "-",
91
- dataset: t,
92
- visibility: t.visibility,
93
- draft: t.publicationStatus === "draft",
94
- catalogue: t.catalogId
95
- }, null, 8, ["id", "text", "date", "dataset", "visibility", "draft", "catalogue"]))), 128))
110
+ text: a.title || "Kein Titel in englisch oder deutsch vohanden",
111
+ date: a.modified ? r(K)(a.modified) : "-",
112
+ dataset: a,
113
+ visibility: a.visibility,
114
+ draft: a.publicationStatus === "draft",
115
+ catalogue: a.catalogId,
116
+ "allow-edit": a.allowEdit,
117
+ "allow-publish": a.allowPublish,
118
+ "allow-delete": a.allowDelete
119
+ }, null, 8, ["id", "text", "date", "dataset", "visibility", "draft", "catalogue", "allow-edit", "allow-publish", "allow-delete"]))), 128))
96
120
  ])
97
121
  ]))
98
122
  ])
@@ -100,5 +124,5 @@ const W = { class: "dpiV3_dpiHome V3-typography" }, z = { class: "dpiV3_homeHead
100
124
  }
101
125
  });
102
126
  export {
103
- se as default
127
+ fe as default
104
128
  };
@@ -1,106 +1,76 @@
1
- import c from "axios";
1
+ import o from "axios";
2
2
  const u = async (a) => {
3
3
  try {
4
4
  let e = `${a}vocabularies/hvd-category`;
5
- return (await c.get(e)).data.result.results;
5
+ return (await o.get(e)).data.result.results;
6
6
  } catch (e) {
7
7
  throw console.error("Error fetching HVD categories:", e), e;
8
8
  }
9
- }, g = async (a) => {
9
+ }, i = async (a) => {
10
10
  try {
11
11
  let e = `${a}vocabularies/data-theme`;
12
- return (await c.get(e)).data.result.results;
12
+ return (await o.get(e)).data.result.results;
13
13
  } catch (e) {
14
14
  throw console.error("Error fetching Dataset categories:", e), e;
15
15
  }
16
- }, d = async (a) => {
16
+ }, g = async (a) => {
17
17
  try {
18
18
  let e = `${a}vocabularies/file-type`;
19
- return (await c.get(e, {
19
+ return (await o.get(e, {
20
20
  headers: { Accept: "application/json" }
21
21
  })).data.result;
22
22
  } catch (e) {
23
23
  throw console.error("Error fetching file types:", e), e;
24
24
  }
25
- }, n = async (a) => {
26
- let e = [
27
- "district-key",
28
- "government-district-key",
29
- "municipal-association-key",
30
- "municipality-key",
31
- "regional-key",
32
- "state-key"
33
- ], t = [], l = [];
34
- try {
35
- let s = `${a}vocabularies/political-geocoding-level`;
36
- const r = await c.get(s);
37
- for (let o = 0; o < r.data.result.results.length; o++)
38
- l.push(
39
- await c.get(
40
- `${a}vocabularies/political-geocoding-` + e[o]
41
- )
42
- ), t.push({
43
- headers: e[o],
44
- list: l[o].data.result.results
45
- });
46
- return t;
47
- } catch (s) {
48
- throw console.error("Error fetching Dataset categories:", s), s;
49
- }
50
- }, h = async (a, e) => (await n(e)).map((s) => {
51
- const r = s.list.filter(
52
- (o) => o.alt_label && o.alt_label.de && o.alt_label.de.includes(a)
53
- );
54
- return { ...s, list: r };
55
- }).filter((s) => s.list.length > 0), p = async (a, e, t) => {
56
- let l = [];
25
+ }, h = async (a, e, t) => {
26
+ let s = [];
57
27
  try {
58
- let s = `${e}vocabularies/${t}`;
59
- return l = (await c.get(s)).data.result.results, l;
60
- } catch (s) {
61
- throw console.error("Error fetching Dataset categories:", s), s;
28
+ let l = `${e}vocabularies/${t}`;
29
+ return s = (await o.get(l)).data.result.results, s;
30
+ } catch (l) {
31
+ throw console.error("Error fetching Dataset categories:", l), l;
62
32
  }
63
- }, y = async (a) => {
33
+ }, d = async (a) => {
64
34
  try {
65
35
  let e = `${a}vocabularies/planned-availability`;
66
- return (await c.get(e)).data.result.results.map((l) => ({
67
- value: l.id,
68
- label: l.pref_label.de,
69
- uri: l.resource
36
+ return (await o.get(e)).data.result.results.map((s) => ({
37
+ value: s.id,
38
+ label: s.pref_label.de,
39
+ uri: s.resource
70
40
  }));
71
41
  } catch (e) {
72
42
  throw console.error("Error fetching planned availability:", e), e;
73
43
  }
74
- }, b = async (a, e = "de") => {
44
+ }, p = async (a, e = "de") => {
75
45
  try {
76
- let t = `${a}vocabularies/language`, s = (await c.get(t)).data.result.results.map((r) => ({
46
+ let t = `${a}vocabularies/language`, l = (await o.get(t)).data.result.results.map((r) => ({
77
47
  value: r.id,
78
48
  label: `${r.pref_label[e] || r.pref_label.en || r.id} (${r.id})`,
79
49
  uri: r.resource
80
50
  }));
81
- return s.sort((r, o) => r.label.localeCompare(o.label, e)), s;
51
+ return l.sort((r, c) => r.label.localeCompare(c.label, e)), l;
82
52
  } catch (t) {
83
53
  throw console.error("Error fetching languages:", t), t;
84
54
  }
85
- }, f = async (a, e = "de") => {
55
+ }, b = async (a, e = "de") => {
86
56
  try {
87
57
  let t = `${a}vocabularies/licenses`;
88
- return (await c.get(t)).data.result.results.map((r) => {
89
- var o;
58
+ return (await o.get(t)).data.result.results.map((r) => {
59
+ var c;
90
60
  return {
91
61
  value: r.id,
92
62
  label: r.pref_label[e] || r.pref_label.en || r.id,
93
- homepage: ((o = r.extensions) == null ? void 0 : o.foaf_homepage) || null,
63
+ homepage: ((c = r.extensions) == null ? void 0 : c.foaf_homepage) || null,
94
64
  uri: r.resource
95
65
  };
96
66
  });
97
67
  } catch (t) {
98
68
  throw console.error("Error fetching licenses:", t), t;
99
69
  }
100
- }, v = async (a, e = "de") => {
70
+ }, y = async (a, e = "de") => {
101
71
  try {
102
72
  let t = `${a}vocabularies/dataset-status`;
103
- return (await c.get(t)).data.result.results.map((r) => ({
73
+ return (await o.get(t)).data.result.results.map((r) => ({
104
74
  value: r.id,
105
75
  label: r.pref_label[e] || r.pref_label.en || r.id,
106
76
  resource: r.resource || null
@@ -108,10 +78,10 @@ const u = async (a) => {
108
78
  } catch (t) {
109
79
  throw console.error("Error fetching dataset status:", t), t;
110
80
  }
111
- }, w = async (a, e = "en") => {
81
+ }, f = async (a, e = "en") => {
112
82
  try {
113
83
  let t = `${a}vocabularies/spdx-checksum-algorithm`;
114
- return (await c.get(t)).data.result.results.map((r) => ({
84
+ return (await o.get(t)).data.result.results.map((r) => ({
115
85
  value: r.id,
116
86
  label: r.pref_label[e] || r.pref_label.en || r.id,
117
87
  resource: r.resource || null
@@ -121,15 +91,13 @@ const u = async (a) => {
121
91
  }
122
92
  };
123
93
  export {
124
- h as filterGeocodingURIs,
125
- w as getChecksumAlgorithms,
126
- g as getDatasetCategories,
127
- v as getDatasetStatus,
128
- d as getFileTypes,
129
- n as getGeocodingURIs,
94
+ f as getChecksumAlgorithms,
95
+ i as getDatasetCategories,
96
+ y as getDatasetStatus,
97
+ g as getFileTypes,
130
98
  u as getHvdCategories,
131
- b as getLanguages,
132
- f as getLicenses,
133
- p as getOptionalURIs,
134
- y as getPlannedAvailability
99
+ p as getLanguages,
100
+ b as getLicenses,
101
+ h as getOptionalURIs,
102
+ d as getPlannedAvailability
135
103
  };
@@ -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
  };
@@ -6,7 +6,7 @@ import c from "../Card.vue.js";
6
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" }, b = { class: "funny-section" }, k = {
9
+ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" }, h = { class: "funny-flex" }, _ = { class: "funny-section" }, k = { class: "funny-section" }, b = {
10
10
  __name: "ProjectNameStep",
11
11
  setup(y) {
12
12
  return (z, t) => (o(), i("div", f, [
@@ -25,9 +25,12 @@ const f = { class: "dpiV3_page V3-typography" }, g = { class: "funny-section" },
25
25
  ])
26
26
  ]),
27
27
  e("section", _, [
28
- n(m, { "hide-cancel": "" })
28
+ n(m, {
29
+ "hide-cancel": "",
30
+ class: "project-name-step-actions"
31
+ })
29
32
  ]),
30
- e("section", b, [
33
+ e("section", k, [
31
34
  n(c, { variant: "default" }, {
32
35
  icon: r(() => [
33
36
  n(s(u), {
@@ -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(k, [["__scopeId", "data-v-23f0fe6b"]]);
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
  };