@piveau/dpi 0.2.0-alpha.14 → 0.2.0-alpha.16
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.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +46 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +107 -88
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +86 -62
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +7 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +26 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +140 -116
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +36 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +189 -155
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +50 -45
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +367 -379
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +157 -141
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +172 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -0
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +20 -20
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +68 -70
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +61 -59
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +185 -180
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +60 -61
- package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +76 -46
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +67 -34
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +85 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +98 -94
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +314 -307
- package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
- package/package.json +5 -5
- package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js
CHANGED
|
@@ -1,98 +1,122 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useDebounce as
|
|
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
|
|
6
|
-
import { useStore as
|
|
7
|
-
import { useRuntimeEnv as
|
|
8
|
-
import
|
|
9
|
-
import { useProjectSearch as
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
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
|
-
},
|
|
20
|
+
}, fe = /* @__PURE__ */ H({
|
|
20
21
|
__name: "ProjectTable",
|
|
21
|
-
setup(
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
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
|
|
30
|
-
i(() =>
|
|
31
|
-
const
|
|
32
|
-
var
|
|
33
|
-
return (e = (
|
|
34
|
-
}), { useSearch:
|
|
35
|
-
Authorization: `Bearer ${
|
|
36
|
-
})), { getSearchResultsEnhanced:
|
|
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:
|
|
45
|
-
}),
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
57
|
-
console.error(
|
|
58
|
-
message:
|
|
73
|
+
C(l, () => {
|
|
74
|
+
console.error(l), w({
|
|
75
|
+
message: l.value.message,
|
|
59
76
|
color: "error"
|
|
60
77
|
});
|
|
61
78
|
});
|
|
62
|
-
const
|
|
63
|
-
return (
|
|
64
|
-
|
|
65
|
-
e[0] || (e[0] =
|
|
66
|
-
e[1] || (e[1] =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
]))) : (
|
|
83
|
-
e[3] || (e[3] =
|
|
84
|
-
|
|
85
|
-
(
|
|
86
|
-
id:
|
|
87
|
-
key:
|
|
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:
|
|
90
|
-
date:
|
|
91
|
-
dataset:
|
|
92
|
-
visibility:
|
|
93
|
-
draft:
|
|
94
|
-
catalogue:
|
|
95
|
-
|
|
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
|
-
|
|
127
|
+
fe as default
|
|
104
128
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js
CHANGED
|
@@ -1,106 +1,76 @@
|
|
|
1
|
-
import
|
|
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
|
|
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
|
-
},
|
|
9
|
+
}, i = async (a) => {
|
|
10
10
|
try {
|
|
11
11
|
let e = `${a}vocabularies/data-theme`;
|
|
12
|
-
return (await
|
|
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
|
-
},
|
|
16
|
+
}, g = async (a) => {
|
|
17
17
|
try {
|
|
18
18
|
let e = `${a}vocabularies/file-type`;
|
|
19
|
-
return (await
|
|
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
|
-
},
|
|
26
|
-
let
|
|
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
|
|
59
|
-
return
|
|
60
|
-
} catch (
|
|
61
|
-
throw console.error("Error fetching Dataset categories:",
|
|
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
|
-
},
|
|
33
|
+
}, d = async (a) => {
|
|
64
34
|
try {
|
|
65
35
|
let e = `${a}vocabularies/planned-availability`;
|
|
66
|
-
return (await
|
|
67
|
-
value:
|
|
68
|
-
label:
|
|
69
|
-
uri:
|
|
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
|
-
},
|
|
44
|
+
}, p = async (a, e = "de") => {
|
|
75
45
|
try {
|
|
76
|
-
let t = `${a}vocabularies/language`,
|
|
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
|
|
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
|
-
},
|
|
55
|
+
}, b = async (a, e = "de") => {
|
|
86
56
|
try {
|
|
87
57
|
let t = `${a}vocabularies/licenses`;
|
|
88
|
-
return (await
|
|
89
|
-
var
|
|
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: ((
|
|
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
|
-
},
|
|
70
|
+
}, y = async (a, e = "de") => {
|
|
101
71
|
try {
|
|
102
72
|
let t = `${a}vocabularies/dataset-status`;
|
|
103
|
-
return (await
|
|
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
|
-
},
|
|
81
|
+
}, f = async (a, e = "en") => {
|
|
112
82
|
try {
|
|
113
83
|
let t = `${a}vocabularies/spdx-checksum-algorithm`;
|
|
114
|
-
return (await
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
|
2
|
-
import { FormKit as
|
|
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
|
|
6
|
+
import z from "../TextArea/TextAreaDefinition.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import
|
|
9
|
-
const
|
|
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(
|
|
12
|
-
const s = a(""), o =
|
|
13
|
-
return (
|
|
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(
|
|
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: "
|
|
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
|
-
|
|
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__ */
|
|
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" },
|
|
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, {
|
|
28
|
+
n(m, {
|
|
29
|
+
"hide-cancel": "",
|
|
30
|
+
class: "project-name-step-actions"
|
|
31
|
+
})
|
|
29
32
|
]),
|
|
30
|
-
e("section",
|
|
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(
|
|
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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5d269d07"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
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
|
|
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-
|
|
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(
|
|
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:
|
|
59
|
+
title: s(() => n[2] || (n[2] = [
|
|
60
60
|
r(" Work-in-Progress ", -1)
|
|
61
61
|
])),
|
|
62
|
-
icon:
|
|
63
|
-
o(
|
|
62
|
+
icon: s(() => [
|
|
63
|
+
o(i(p), {
|
|
64
64
|
size: 32,
|
|
65
65
|
color: "#009fe3"
|
|
66
66
|
})
|
|
67
67
|
]),
|
|
68
|
-
default:
|
|
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:
|
|
81
|
-
o(
|
|
80
|
+
default: s(() => [
|
|
81
|
+
o(i(l), {
|
|
82
82
|
type: "group",
|
|
83
83
|
name: "contact"
|
|
84
84
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
o(
|
|
87
|
-
type:
|
|
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(
|
|
94
|
-
type:
|
|
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(
|
|
102
|
-
type:
|
|
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
|
-
|
|
119
|
-
o(y)
|
|
120
|
-
])
|
|
119
|
+
o(y)
|
|
121
120
|
]),
|
|
122
|
-
e("section",
|
|
123
|
-
e("div",
|
|
121
|
+
e("section", G, [
|
|
122
|
+
e("div", I, [
|
|
124
123
|
o(m, { variant: "default" }, {
|
|
125
|
-
icon:
|
|
126
|
-
o(
|
|
124
|
+
icon: s(() => [
|
|
125
|
+
o(i(p), {
|
|
127
126
|
size: 32,
|
|
128
127
|
color: "#009fe3"
|
|
129
128
|
})
|
|
130
129
|
]),
|
|
131
|
-
title:
|
|
130
|
+
title: s(() => n[6] || (n[6] = [
|
|
132
131
|
r(" Wichtig! ", -1)
|
|
133
132
|
])),
|
|
134
|
-
default:
|
|
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
|
-
|
|
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" },
|
|
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(
|
|
10
|
-
const n = r(["
|
|
11
|
-
return (
|
|
12
|
-
e("section",
|
|
13
|
-
e("div",
|
|
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
|
-
},
|
|
32
|
+
}, I = /* @__PURE__ */ u(h, [["__scopeId", "data-v-fe681f1d"]]);
|
|
33
33
|
export {
|
|
34
|
-
|
|
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
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c2be8f0e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|