@piveau/dpi 0.1.0-beta.8 → 0.1.0-twinby.0
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/data-provider-interface/DPIMenu.vue.js +7 -7
- package/dist/data-provider-interface/DataProviderInterface.vue2.js +18 -17
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +122 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteInputDefinition.js +14 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +75 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue2.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +29 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +70 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +19 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +32 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +21 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +60 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue2.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +98 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +16 -21
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +83 -81
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +2 -4
- package/dist/data-provider-interface/components/DistLicense.vue.js +61 -63
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +791 -779
- package/dist/data-provider-interface/components/HVDPage.vue.js +45 -43
- package/dist/data-provider-interface/components/InputPageStep.vue.js +9 -11
- package/dist/data-provider-interface/components/ProgressSteps.vue.js +7 -0
- package/dist/data-provider-interface/components/ProgressSteps.vue2.js +106 -0
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +204 -204
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +211 -212
- package/dist/data-provider-interface/composables/useDpiStepper.js +80 -39
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +145 -105
- package/dist/data-provider-interface/store/modules/conversionStore.js +130 -0
- package/dist/data-provider-interface/store/modules/dpiStore.js +18 -16
- package/dist/data-provider-interface/utils/RDFconverter.js +226 -0
- package/dist/data-provider-interface/utils/inputConverter.js +255 -0
- package/dist/data-provider-interface/utils/useSteps.js +39 -30
- package/dist/data-provider-interface/views/InputPage.vue.js +80 -92
- package/dist/data-provider-interface/views/InputPageProject.vue.js +528 -0
- package/dist/index.js +31 -27
- package/dist/stories/components/DemoStep.vue.js +331 -0
- package/dist/stories/components/DemoStepper.vue.js +7 -0
- package/dist/stories/components/DemoStepper.vue2.js +160 -0
- package/dist/stories/components/PartnerCard.vue.js +7 -0
- package/dist/stories/components/PartnerCard.vue2.js +32 -0
- package/dist/stories/components/ReviewStepDemo.vue.js +7 -0
- package/dist/stories/components/ReviewStepDemo.vue2.js +98 -0
- package/package.json +11 -4
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { computed as v, ref as
|
|
1
|
+
import { computed as v, ref as g, onMounted as me, resolveComponent as ye, createElementBlock as n, openBlock as o, Fragment as S, createCommentVNode as p, createBlock as B, createElementVNode as a, unref as c, toDisplayString as s, createVNode as h, renderList as M, createTextVNode as w, withCtx as Se, isRef as ie } from "vue";
|
|
2
2
|
import "@formkit/core";
|
|
3
|
-
import { useFormKitNodeById as
|
|
3
|
+
import { useFormKitNodeById as ke } from "@formkit/vue";
|
|
4
4
|
import "@phosphor-icons/vue";
|
|
5
|
-
import { useI18n as
|
|
5
|
+
import { useI18n as Ce } from "vue-i18n";
|
|
6
6
|
import "vue-router";
|
|
7
|
-
import { useStore as
|
|
8
|
-
import { useFormValues as
|
|
7
|
+
import { useStore as De } from "vuex";
|
|
8
|
+
import { useFormValues as $e } from "../composables/useDpiFormValues.js";
|
|
9
9
|
import C from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
10
|
+
import Ve from "../HappyFlowComponents/ui/Chip.vue.js";
|
|
11
|
+
import re from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
12
|
+
import xe from "../HappyFlowComponents/ui/RapModal.vue.js";
|
|
13
|
+
import de from "../HappyFlowComponents/ui/StateTag.vue.js";
|
|
14
|
+
import Be from "../HappyFlowComponents/ui/TableRowV3.vue.js";
|
|
15
15
|
import E from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
|
-
import
|
|
20
|
-
import { useDpiContext as
|
|
21
|
-
const
|
|
19
|
+
import Me from "../../_virtual/_plugin-vue_export-helper.js";
|
|
20
|
+
import { useDpiContext as Te } from "../composables/useDpiContext.js";
|
|
21
|
+
const He = { key: 0 }, ze = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "dpiV3InnerComponentWrap V3-typography"
|
|
24
|
-
},
|
|
24
|
+
}, Re = { class: "w-100" }, Ne = { class: "dpiV3_Frame_831" }, Pe = { key: 0 }, we = {
|
|
25
25
|
key: 1,
|
|
26
26
|
class: "dpiV3_Frame_840"
|
|
27
|
-
},
|
|
27
|
+
}, Ee = { class: "dpiV3_title" }, Oe = { class: "dpiV3_intro copy-large-regular" }, Fe = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "dpiV3Card rapFindability"
|
|
30
|
-
},
|
|
30
|
+
}, Le = { class: "firstSec" }, je = { class: "secondSec" }, Ie = {
|
|
31
31
|
class: "copy-large-regular",
|
|
32
32
|
style: { "margin-bottom": "4px" }
|
|
33
|
-
},
|
|
33
|
+
}, Ke = { class: "thirdSec" }, We = { class: "headline-5" }, Ue = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "dpiV3Card rapEssentials"
|
|
36
|
-
},
|
|
36
|
+
}, Ge = { class: "firstSec" }, Ye = { class: "secondSec" }, Ze = { class: "heading-3" }, qe = { class: "thirdSec" }, Je = { class: "fourthSec flexSec" }, Qe = { class: "copy-large-regular" }, Xe = { class: "copy-large-semi-bold" }, Ae = { class: "fifthSec flexSec" }, et = { class: "copy-large-regular" }, tt = { class: "headline-5" }, at = { class: "copy-large-regular" }, st = ["href"], ot = { class: "sixthSec flexSec" }, lt = { class: "copy-large-regular" }, nt = { class: "headline-5" }, it = { class: "copy-large-regular" }, rt = { class: "copy-large-regular" }, dt = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "dpiV3Card rapCoverage"
|
|
39
|
-
},
|
|
39
|
+
}, ct = { class: "firstSec" }, ut = {
|
|
40
40
|
key: 0,
|
|
41
41
|
class: "secondSec flexSec"
|
|
42
|
-
},
|
|
42
|
+
}, pt = { class: "rapHeadWrap" }, vt = { class: "copy-large-regular" }, ft = { class: "coveragePlaceWrap" }, _t = { class: "headline-5" }, ht = {
|
|
43
43
|
key: 1,
|
|
44
44
|
class: "thirdSec"
|
|
45
|
-
},
|
|
45
|
+
}, gt = { class: "rapHeadWrap" }, bt = { class: "copy-large-regular" }, mt = { class: "dpiV3_RapInnerCardWrapper" }, yt = { class: "dpiV3_RapInnerCard" }, St = { class: "copy-small-regular" }, kt = { key: 0 }, Ct = { class: "copy-small-regular" }, Dt = { key: 0 }, $t = { class: "dpiV3Card rapDistribution" }, Vt = { class: "firstSec" }, xt = { class: "secondSec flexSec" }, Bt = { class: "copy-large-regular" }, Mt = { class: "headline-5" }, Tt = { class: "thirdSec flexSec" }, Ht = { class: "copy-large-regular" }, zt = { class: "headline-5" }, Rt = { class: "fourthSec flexSec" }, Nt = { class: "copy-large-regular" }, Pt = { class: "dpiV3_distCard" }, wt = { class: "copy-large-semi-bold" }, Et = {
|
|
46
46
|
key: 1,
|
|
47
47
|
class: "dpiV3Card rapDistribution"
|
|
48
|
-
},
|
|
48
|
+
}, Ot = { class: "firstSec" }, Ft = { class: "secondSec flexSec" }, Lt = { class: "dpiV3_optionalSpanHeadWrap" }, jt = { class: "dpiV3_optionalSpan copy-large-regular" }, It = { key: 0 }, Kt = { key: 0 }, Wt = { key: 1 }, Ut = { key: 2 }, Gt = { key: 3 }, Yt = { key: 4 }, Zt = { key: 5 }, qt = { key: 6 }, Jt = { class: "dpiV3_tempAddMore" }, Qt = {
|
|
49
49
|
key: 2,
|
|
50
50
|
class: "dpiV3_tempAddMore"
|
|
51
|
-
},
|
|
51
|
+
}, Xt = {
|
|
52
52
|
__name: "ReviewAndPublishPage",
|
|
53
53
|
props: {
|
|
54
54
|
context: Object
|
|
55
55
|
},
|
|
56
|
-
setup(
|
|
57
|
-
const { t: O } =
|
|
56
|
+
setup(ce) {
|
|
57
|
+
const { t: O } = Ce(), D = Te();
|
|
58
58
|
v(() => {
|
|
59
59
|
var e;
|
|
60
60
|
return !!((e = D.value.edit) != null && e.enabled);
|
|
61
61
|
});
|
|
62
|
-
let F =
|
|
63
|
-
console.log(F),
|
|
64
|
-
let
|
|
65
|
-
const L =
|
|
66
|
-
|
|
62
|
+
let F = g(D.value.edit.enabled && !D.value.edit.fromDraft);
|
|
63
|
+
console.log(F), g([{ isValid: !0 }]), g(!1), De(), g(null);
|
|
64
|
+
let b = g(!1), m = g({});
|
|
65
|
+
const L = g(!1), { formValues: u } = $e();
|
|
66
|
+
ke("dpiForm", (e) => {
|
|
67
67
|
L.value = !0;
|
|
68
68
|
});
|
|
69
|
-
function
|
|
70
|
-
let t, i, d,
|
|
69
|
+
function ue(e) {
|
|
70
|
+
let t, i, d, _, V, x;
|
|
71
71
|
return e.forEach((f) => {
|
|
72
|
-
f.Year && (t = Number.parseInt(f.Year)), f.Month && (i = Number.parseInt(f.Month) - 1), f.Day && (d = Number.parseInt(f.Day)), f.Hour && (
|
|
72
|
+
f.Year && (t = Number.parseInt(f.Year)), f.Month && (i = Number.parseInt(f.Month) - 1), f.Day && (d = Number.parseInt(f.Day)), f.Hour && (_ = Number.parseInt(f.Hour)), f.Minute && (V = Number.parseInt(f.Minute)), f.Second && (x = Number.parseInt(f.Second));
|
|
73
73
|
}), new Date(
|
|
74
74
|
t || 2025,
|
|
75
75
|
i || 0,
|
|
76
76
|
d || 1,
|
|
77
|
-
|
|
77
|
+
_ || 0,
|
|
78
78
|
V || 0,
|
|
79
79
|
x || 0
|
|
80
80
|
).toLocaleString("de", {
|
|
@@ -82,127 +82,127 @@ const $e = { key: 0 }, Ve = {
|
|
|
82
82
|
timeZoneName: "short"
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
const j =
|
|
85
|
+
const j = g(), $ = g(!1);
|
|
86
86
|
function H(e) {
|
|
87
87
|
return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const pe = v(() => {
|
|
90
90
|
var t, i;
|
|
91
|
-
const e = (i = (t =
|
|
91
|
+
const e = (i = (t = u.value) == null ? void 0 : t.Discoverability) == null ? void 0 : i.discoverabilityPage;
|
|
92
92
|
return Array.isArray(e) ? (e == null ? void 0 : e.filter(H)) || [] : [];
|
|
93
|
-
}),
|
|
93
|
+
}), ve = v(() => {
|
|
94
94
|
var e, t;
|
|
95
|
-
return ((t = (e =
|
|
96
|
-
}),
|
|
95
|
+
return ((t = (e = u.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
|
|
96
|
+
}), fe = v(() => {
|
|
97
97
|
var i, d;
|
|
98
|
-
const e = (d = (i =
|
|
98
|
+
const e = (d = (i = u.value) == null ? void 0 : i.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((_) => _["@language"] === "de");
|
|
99
99
|
return t ? t["@value"] : null;
|
|
100
|
-
}),
|
|
100
|
+
}), _e = v(() => {
|
|
101
101
|
var e, t, i, d;
|
|
102
|
-
return ((d = (i = (t = (e =
|
|
102
|
+
return ((d = (i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : i[0]) == null ? void 0 : d["@value"]) || "";
|
|
103
103
|
}), I = v(() => {
|
|
104
|
-
var t, i, d,
|
|
105
|
-
const e = (
|
|
104
|
+
var t, i, d, _;
|
|
105
|
+
const e = (_ = (d = (i = (t = u.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : i["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : _["@value"];
|
|
106
106
|
return e ? new Date(e).toLocaleDateString("de-DE") : "";
|
|
107
107
|
}), T = v(() => {
|
|
108
108
|
var e, t, i;
|
|
109
|
-
return ((i = (t = (e =
|
|
109
|
+
return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : i[0]) || {};
|
|
110
110
|
}), z = v(() => {
|
|
111
111
|
var e, t, i;
|
|
112
|
-
return ((i = (t = (e =
|
|
112
|
+
return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : i[0]) || {};
|
|
113
113
|
}), R = v(() => {
|
|
114
114
|
var e, t, i, d;
|
|
115
|
-
return ((d = (i = (t = (e =
|
|
115
|
+
return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : i.filter(
|
|
116
116
|
H
|
|
117
117
|
)) == null ? void 0 : d[0]) || {};
|
|
118
118
|
}), N = v(() => {
|
|
119
119
|
var e, t, i, d;
|
|
120
|
-
return ((d = (i = (t = (e =
|
|
120
|
+
return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) == null ? void 0 : i.filter(
|
|
121
121
|
H
|
|
122
122
|
)) == null ? void 0 : d[0]) || {};
|
|
123
123
|
}), K = v(() => Object.keys(R.value).length > 1), W = v(() => Object.keys(N.value).length > 1 && N.value["dct:temporal"]);
|
|
124
|
-
let P =
|
|
124
|
+
let P = g();
|
|
125
125
|
P = v(() => {
|
|
126
|
-
var e, t, i;
|
|
127
|
-
return ((i = (t = (e =
|
|
126
|
+
var e, t, i, d, _;
|
|
127
|
+
return ((_ = (d = (i = (t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : i[0]) == null ? void 0 : d["dct:license"]) == null ? void 0 : _[0]) || {};
|
|
128
128
|
});
|
|
129
|
-
const
|
|
129
|
+
const he = v(() => {
|
|
130
130
|
var e, t;
|
|
131
|
-
return ((t = (e =
|
|
132
|
-
}),
|
|
131
|
+
return ((t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
|
|
132
|
+
}), y = v(() => {
|
|
133
133
|
var e;
|
|
134
|
-
return ((e =
|
|
135
|
-
}), U = v(() => (Object.keys(
|
|
136
|
-
if (
|
|
137
|
-
const t =
|
|
138
|
-
(t === void 0 || Array.isArray(t) && t.length === 0) && delete
|
|
134
|
+
return ((e = u.value) == null ? void 0 : e.Additionals) || {};
|
|
135
|
+
}), U = v(() => (Object.keys(y.value).forEach((e) => {
|
|
136
|
+
if (y.value.hasOwnProperty(e)) {
|
|
137
|
+
const t = y.value[e];
|
|
138
|
+
(t === void 0 || Array.isArray(t) && t.length === 0) && delete y.value[e];
|
|
139
139
|
}
|
|
140
|
-
}), Object.keys(
|
|
141
|
-
function
|
|
140
|
+
}), Object.keys(y.value))), G = v(() => U.value.length > 0);
|
|
141
|
+
function k(e) {
|
|
142
142
|
j.value = e, $.value = !0, console.log("Modal sichtbar:", $.value);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ge() {
|
|
145
145
|
$.value = !1, console.log("Modal unsichtbar:", $.value);
|
|
146
146
|
}
|
|
147
147
|
function Y(e) {
|
|
148
|
-
delete
|
|
148
|
+
delete u.value.Additionals[e];
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function be(e, t) {
|
|
151
|
+
b.value = !0, m.value = {
|
|
152
152
|
button: "Löschen",
|
|
153
153
|
header: `${O(`message.dataupload.additionals.${e}`)} löschen`,
|
|
154
154
|
text: `Sind Sie sicher, dass Sie das optionale Feld ${O(`message.dataupload.additionals.${e}`)} löschen wollen?`,
|
|
155
155
|
action: e
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
const Z =
|
|
159
|
-
return
|
|
158
|
+
const Z = g(!1);
|
|
159
|
+
return me(() => {
|
|
160
160
|
Z.value = !0;
|
|
161
161
|
}), (e, t) => {
|
|
162
|
-
var d,
|
|
163
|
-
const i =
|
|
164
|
-
return o(), n(
|
|
165
|
-
Z.value && L.value ? (o(), n("div",
|
|
166
|
-
$.value ? (o(), B(
|
|
162
|
+
var d, _, V, x, f, q, J, Q, X, A, ee, te, ae, se, oe, le, ne;
|
|
163
|
+
const i = ye("formatbubble");
|
|
164
|
+
return o(), n(S, null, [
|
|
165
|
+
Z.value && L.value ? (o(), n("div", He, [
|
|
166
|
+
$.value ? (o(), B(xe, {
|
|
167
167
|
key: 0,
|
|
168
|
-
context:
|
|
168
|
+
context: ce.context,
|
|
169
169
|
"active-section": j.value,
|
|
170
|
-
onClose:
|
|
171
|
-
}, null, 8, ["context", "active-section"])) :
|
|
172
|
-
(o(), n("div",
|
|
173
|
-
a("div",
|
|
174
|
-
a("div",
|
|
175
|
-
|
|
176
|
-
(o(), B(
|
|
177
|
-
id: (
|
|
178
|
-
key: (x = (V = u
|
|
179
|
-
"data-cy": u
|
|
170
|
+
onClose: ge
|
|
171
|
+
}, null, 8, ["context", "active-section"])) : p("", !0),
|
|
172
|
+
(o(), n("div", ze, [
|
|
173
|
+
a("div", Re, [
|
|
174
|
+
a("div", Ne, [
|
|
175
|
+
c(D).edit.fromDraft || c(D).edit.enabled ? (o(), n("div", Pe, [
|
|
176
|
+
(o(), B(Be, {
|
|
177
|
+
id: (_ = (d = c(u).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : _.datasetID,
|
|
178
|
+
key: (x = (V = c(u).value) == null ? void 0 : V.BasicInfos) == null ? void 0 : x.datasetID,
|
|
179
|
+
"data-cy": c(u).value,
|
|
180
180
|
catalogue: "test-catalog",
|
|
181
|
-
text: ((q = (f = u
|
|
181
|
+
text: ((q = (f = c(u).value) == null ? void 0 : f.BasicInfos) == null ? void 0 : q.title.de) || ((Q = (J = c(u).value) == null ? void 0 : J.BasicInfos) == null ? void 0 : Q.title.en),
|
|
182
182
|
date: I.value,
|
|
183
|
-
draft: !
|
|
183
|
+
draft: !c(F),
|
|
184
184
|
dataset: e.dataset,
|
|
185
185
|
"from-draft": "true"
|
|
186
186
|
}, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
|
|
187
|
-
])) : (o(), n("div",
|
|
188
|
-
a("h4",
|
|
189
|
-
a("div",
|
|
187
|
+
])) : (o(), n("div", we, [
|
|
188
|
+
a("h4", Ee, s(e.$t("message.dataupload.datasets.rap.title")), 1),
|
|
189
|
+
a("div", Oe, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
|
|
190
190
|
]))
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
193
|
-
(o(), n("div",
|
|
194
|
-
a("div",
|
|
193
|
+
(o(), n("div", Fe, [
|
|
194
|
+
a("div", Le, [
|
|
195
195
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
|
|
196
|
-
|
|
196
|
+
h(C, {
|
|
197
197
|
size: "large",
|
|
198
198
|
"icon-start": "pen",
|
|
199
199
|
variant: "secondary",
|
|
200
|
-
onClick: t[0] || (t[0] = (l) =>
|
|
200
|
+
onClick: t[0] || (t[0] = (l) => k("findabilityHvd"))
|
|
201
201
|
})
|
|
202
202
|
]),
|
|
203
|
-
a("div",
|
|
204
|
-
a("span",
|
|
205
|
-
(o(!0), n(
|
|
203
|
+
a("div", je, [
|
|
204
|
+
a("span", Ie, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
|
|
205
|
+
(o(!0), n(S, null, M(pe.value, (l, r) => (o(), B(Ve, {
|
|
206
206
|
key: r,
|
|
207
207
|
text: l.label,
|
|
208
208
|
data: { "@value": l.value, URI: l.URI },
|
|
@@ -213,129 +213,129 @@ const $e = { key: 0 }, Ve = {
|
|
|
213
213
|
}
|
|
214
214
|
}, null, 8, ["text", "data"]))), 128))
|
|
215
215
|
]),
|
|
216
|
-
a("div",
|
|
217
|
-
|
|
216
|
+
a("div", Ke, [
|
|
217
|
+
h(de, {
|
|
218
218
|
label: "HVD",
|
|
219
219
|
state: "hvd",
|
|
220
220
|
size: "page"
|
|
221
221
|
}),
|
|
222
|
-
a("h5",
|
|
222
|
+
a("h5", We, s(((A = (X = ve.value) == null ? void 0 : X[0]) == null ? void 0 : A.label) || "Kein HVD Datensatz"), 1)
|
|
223
223
|
])
|
|
224
224
|
])),
|
|
225
|
-
(o(), n("div",
|
|
226
|
-
a("div",
|
|
225
|
+
(o(), n("div", Ue, [
|
|
226
|
+
a("div", Ge, [
|
|
227
227
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
|
|
228
|
-
|
|
228
|
+
h(C, {
|
|
229
229
|
size: "large",
|
|
230
230
|
"icon-start": "pen",
|
|
231
231
|
variant: "secondary",
|
|
232
|
-
onClick: t[1] || (t[1] = (l) =>
|
|
232
|
+
onClick: t[1] || (t[1] = (l) => k("essentials"))
|
|
233
233
|
})
|
|
234
234
|
]),
|
|
235
|
-
a("div",
|
|
236
|
-
a("h3",
|
|
235
|
+
a("div", Ye, [
|
|
236
|
+
a("h3", Ze, s(fe.value), 1)
|
|
237
237
|
]),
|
|
238
|
-
a("div",
|
|
239
|
-
a("span", null, s(
|
|
238
|
+
a("div", qe, [
|
|
239
|
+
a("span", null, s(_e.value), 1)
|
|
240
240
|
]),
|
|
241
|
-
a("div",
|
|
242
|
-
a("span",
|
|
243
|
-
a("span",
|
|
241
|
+
a("div", Je, [
|
|
242
|
+
a("span", Qe, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
|
|
243
|
+
a("span", Xe, s(I.value), 1)
|
|
244
244
|
]),
|
|
245
|
-
a("div",
|
|
246
|
-
a("span",
|
|
247
|
-
a("h5",
|
|
248
|
-
a("a",
|
|
245
|
+
a("div", Ae, [
|
|
246
|
+
a("span", et, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
|
|
247
|
+
a("h5", tt, s(T.value["foaf:name"] || ""), 1),
|
|
248
|
+
a("a", at, s(T.value["foaf:mbox"] || ""), 1),
|
|
249
249
|
a("a", {
|
|
250
250
|
class: "copy-large-regular",
|
|
251
251
|
href: T.value["foaf:homepage"] || ""
|
|
252
|
-
}, s(T.value["foaf:homepage"] || ""), 9,
|
|
252
|
+
}, s(T.value["foaf:homepage"] || ""), 9, st)
|
|
253
253
|
]),
|
|
254
|
-
a("div",
|
|
255
|
-
a("span",
|
|
256
|
-
a("h5",
|
|
257
|
-
a("a",
|
|
258
|
-
a("span",
|
|
254
|
+
a("div", ot, [
|
|
255
|
+
a("span", lt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
|
|
256
|
+
a("h5", nt, s(z.value["vcard:fn"] || ""), 1),
|
|
257
|
+
a("a", it, s(z.value["vcard:hasEmail"] || ""), 1),
|
|
258
|
+
a("span", rt, s(z.value["vcard:hasTelephone"] || ""), 1)
|
|
259
259
|
])
|
|
260
260
|
])),
|
|
261
|
-
(o(), n(
|
|
262
|
-
K.value || W.value ? (o(), n("div",
|
|
263
|
-
a("div",
|
|
261
|
+
(o(), n(S, { key: 2 }, [
|
|
262
|
+
K.value || W.value ? (o(), n("div", dt, [
|
|
263
|
+
a("div", ct, [
|
|
264
264
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
|
|
265
|
-
|
|
265
|
+
h(C, {
|
|
266
266
|
size: "large",
|
|
267
267
|
"icon-start": "pen",
|
|
268
268
|
variant: "secondary",
|
|
269
|
-
onClick: t[2] || (t[2] = (l) =>
|
|
269
|
+
onClick: t[2] || (t[2] = (l) => k("coverage"))
|
|
270
270
|
})
|
|
271
271
|
]),
|
|
272
|
-
K.value ? (o(), n("div",
|
|
273
|
-
a("div",
|
|
274
|
-
a("span",
|
|
275
|
-
|
|
272
|
+
K.value ? (o(), n("div", ut, [
|
|
273
|
+
a("div", pt, [
|
|
274
|
+
a("span", vt, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
|
|
275
|
+
h(E, { "button-text": "löschen" })
|
|
276
276
|
]),
|
|
277
|
-
a("div",
|
|
278
|
-
a("h5",
|
|
279
|
-
|
|
277
|
+
a("div", ft, [
|
|
278
|
+
a("h5", _t, s(R.value.label || ""), 1),
|
|
279
|
+
h(de, {
|
|
280
280
|
label: ((ee = R.value.inVoc) == null ? void 0 : ee.toUpperCase()) || "",
|
|
281
281
|
state: "geopolitical",
|
|
282
282
|
size: "page"
|
|
283
283
|
}, null, 8, ["label"])
|
|
284
284
|
])
|
|
285
|
-
])) :
|
|
286
|
-
W.value ? (o(), n("div",
|
|
287
|
-
a("div",
|
|
288
|
-
a("span",
|
|
289
|
-
|
|
285
|
+
])) : p("", !0),
|
|
286
|
+
W.value ? (o(), n("div", ht, [
|
|
287
|
+
a("div", gt, [
|
|
288
|
+
a("span", bt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
|
|
289
|
+
h(E, { "button-text": "löschen" })
|
|
290
290
|
]),
|
|
291
|
-
a("div",
|
|
292
|
-
(o(!0), n(
|
|
293
|
-
a("div",
|
|
291
|
+
a("div", mt, [
|
|
292
|
+
(o(!0), n(S, null, M(N.value["dct:temporal"] || [], (l) => (o(), n("div", yt, [
|
|
293
|
+
a("div", St, [
|
|
294
294
|
t[10] || (t[10] = w(" von: ", -1)),
|
|
295
295
|
a("div", null, [
|
|
296
296
|
a("span", null, s(new Date(l["dcat:startDate"]).toLocaleDateString(
|
|
297
297
|
"de-DE"
|
|
298
298
|
)), 1),
|
|
299
|
-
l.startTime != null ? (o(), n("span",
|
|
299
|
+
l.startTime != null ? (o(), n("span", kt, s(l.startTime), 1)) : p("", !0)
|
|
300
300
|
])
|
|
301
301
|
]),
|
|
302
|
-
a("div",
|
|
302
|
+
a("div", Ct, [
|
|
303
303
|
t[11] || (t[11] = w(" bis: ", -1)),
|
|
304
304
|
a("div", null, [
|
|
305
305
|
a("span", null, s(new Date(l["dcat:endDate"]).toLocaleDateString(
|
|
306
306
|
"de-DE"
|
|
307
307
|
)), 1),
|
|
308
|
-
l.endTime != null ? (o(), n("span",
|
|
308
|
+
l.endTime != null ? (o(), n("span", Dt, s(l.endTime), 1)) : p("", !0)
|
|
309
309
|
])
|
|
310
310
|
])
|
|
311
311
|
]))), 256))
|
|
312
312
|
])
|
|
313
|
-
])) :
|
|
314
|
-
])) :
|
|
315
|
-
a("div",
|
|
316
|
-
a("div",
|
|
313
|
+
])) : p("", !0)
|
|
314
|
+
])) : p("", !0),
|
|
315
|
+
a("div", $t, [
|
|
316
|
+
a("div", Vt, [
|
|
317
317
|
a("span", null, s(e.$t("message.metadata.distributions")), 1),
|
|
318
|
-
|
|
318
|
+
h(C, {
|
|
319
319
|
size: "large",
|
|
320
320
|
"icon-start": "pen",
|
|
321
321
|
variant: "secondary",
|
|
322
|
-
onClick: t[3] || (t[3] = (l) =>
|
|
322
|
+
onClick: t[3] || (t[3] = (l) => k("distributions"))
|
|
323
323
|
})
|
|
324
324
|
]),
|
|
325
|
-
a("div",
|
|
326
|
-
a("span",
|
|
327
|
-
a("h5",
|
|
325
|
+
a("div", xt, [
|
|
326
|
+
a("span", Bt, s(e.$t("message.dataupload.steps.dct:license")), 1),
|
|
327
|
+
a("h5", Mt, s(c(P)["dcterms:license"] || ((se = (ae = (te = c(u).DistributionSimple) == null ? void 0 : te["dct:license"]) == null ? void 0 : ae[0]) == null ? void 0 : se["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
|
|
328
328
|
]),
|
|
329
|
-
a("div",
|
|
330
|
-
a("span",
|
|
331
|
-
a("h5",
|
|
329
|
+
a("div", Tt, [
|
|
330
|
+
a("span", Ht, s(e.$t("message.dataupload.steps.dct:publisher")), 1),
|
|
331
|
+
a("h5", zt, s(c(P).title || ((ne = (le = (oe = c(u).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : le[0]) == null ? void 0 : ne.title) || "Kein Titel angegeben"), 1)
|
|
332
332
|
]),
|
|
333
|
-
a("div",
|
|
334
|
-
a("span",
|
|
335
|
-
(o(!0), n(
|
|
336
|
-
a("span",
|
|
337
|
-
|
|
338
|
-
default:
|
|
333
|
+
a("div", Rt, [
|
|
334
|
+
a("span", Nt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
|
|
335
|
+
(o(!0), n(S, null, M(he.value, (l) => (o(), n("div", Pt, [
|
|
336
|
+
a("span", wt, s(l["dct:title"]), 1),
|
|
337
|
+
h(i, null, {
|
|
338
|
+
default: Se(() => {
|
|
339
339
|
var r;
|
|
340
340
|
return [
|
|
341
341
|
w(s(((r = l["dct:format"]) == null ? void 0 : r.label) || "Kein Format angegeben"), 1)
|
|
@@ -346,77 +346,77 @@ const $e = { key: 0 }, Ve = {
|
|
|
346
346
|
]))), 256))
|
|
347
347
|
])
|
|
348
348
|
]),
|
|
349
|
-
G.value ? (o(), n("div",
|
|
350
|
-
a("div",
|
|
349
|
+
G.value ? (o(), n("div", Et, [
|
|
350
|
+
a("div", Ot, [
|
|
351
351
|
a("span", null, s(e.$t("message.metadata.additionals")), 1)
|
|
352
352
|
]),
|
|
353
|
-
(o(!0), n(
|
|
354
|
-
a("div",
|
|
355
|
-
a("span",
|
|
356
|
-
|
|
353
|
+
(o(!0), n(S, null, M(U.value, (l) => (o(), n("div", Ft, [
|
|
354
|
+
a("div", Lt, [
|
|
355
|
+
a("span", jt, s(e.$t(`message.dataupload.additionals.${l}`)) + " (optional)", 1),
|
|
356
|
+
h(E, {
|
|
357
357
|
"button-text": "löschen",
|
|
358
|
-
onClick: (r) =>
|
|
358
|
+
onClick: (r) => be(l)
|
|
359
359
|
}, null, 8, ["onClick"])
|
|
360
360
|
]),
|
|
361
|
-
l === "dcat:temporalResolution" ? (o(), n("div",
|
|
362
|
-
a("span", null, s(
|
|
363
|
-
])) :
|
|
364
|
-
l != "dcat:temporalResolution" ? (o(!0), n(
|
|
361
|
+
l === "dcat:temporalResolution" ? (o(), n("div", It, [
|
|
362
|
+
a("span", null, s(ue(y.value[l] || [])), 1)
|
|
363
|
+
])) : p("", !0),
|
|
364
|
+
l != "dcat:temporalResolution" ? (o(!0), n(S, { key: 1 }, M(y.value[l] || [], (r) => (o(), n("div", {
|
|
365
365
|
key: r ? r["@id"] || r["@value"] || r["rdfs:label"] : null
|
|
366
366
|
}, [
|
|
367
|
-
r && r["@value"] ? (o(), n("span",
|
|
368
|
-
r && r["@id"] ? (o(), n("span",
|
|
369
|
-
r && r["rdfs:label"] ? (o(), n("span",
|
|
370
|
-
r && r["foaf:name"] ? (o(), n("span",
|
|
371
|
-
r && r["foaf:homepage"] ? (o(), n("span",
|
|
372
|
-
r && r["foaf:mbox"] ? (o(), n("span",
|
|
373
|
-
r && r["rdf:type"] ? (o(), n("span",
|
|
374
|
-
]))), 128)) :
|
|
367
|
+
r && r["@value"] ? (o(), n("span", Kt, s(r["@value"]), 1)) : p("", !0),
|
|
368
|
+
r && r["@id"] ? (o(), n("span", Wt, s(r["@id"]), 1)) : p("", !0),
|
|
369
|
+
r && r["rdfs:label"] ? (o(), n("span", Ut, s(r["rdfs:label"]), 1)) : p("", !0),
|
|
370
|
+
r && r["foaf:name"] ? (o(), n("span", Gt, s(r["foaf:name"]), 1)) : p("", !0),
|
|
371
|
+
r && r["foaf:homepage"] ? (o(), n("span", Yt, s(r["foaf:homepage"]), 1)) : p("", !0),
|
|
372
|
+
r && r["foaf:mbox"] ? (o(), n("span", Zt, s(r["foaf:mbox"]), 1)) : p("", !0),
|
|
373
|
+
r && r["rdf:type"] ? (o(), n("span", qt, s(r["rdf:type"]), 1)) : p("", !0)
|
|
374
|
+
]))), 128)) : p("", !0)
|
|
375
375
|
]))), 256)),
|
|
376
|
-
a("div",
|
|
377
|
-
|
|
376
|
+
a("div", Jt, [
|
|
377
|
+
h(C, {
|
|
378
378
|
"button-text": "Optionale Informationen hinzufügen",
|
|
379
379
|
size: "large",
|
|
380
380
|
"icon-start": "plus",
|
|
381
381
|
variant: "tertiary",
|
|
382
|
-
onClick: t[4] || (t[4] = (l) =>
|
|
382
|
+
onClick: t[4] || (t[4] = (l) => k("additionals"))
|
|
383
383
|
})
|
|
384
384
|
])
|
|
385
|
-
])) :
|
|
386
|
-
G.value ?
|
|
387
|
-
|
|
385
|
+
])) : p("", !0),
|
|
386
|
+
G.value ? p("", !0) : (o(), n("div", Qt, [
|
|
387
|
+
h(C, {
|
|
388
388
|
"button-text": "Optionale Informationen hinzufügen",
|
|
389
389
|
size: "large",
|
|
390
390
|
"icon-start": "plus",
|
|
391
391
|
variant: "tertiary",
|
|
392
|
-
onClick: t[5] || (t[5] = (l) =>
|
|
392
|
+
onClick: t[5] || (t[5] = (l) => k("additionals"))
|
|
393
393
|
})
|
|
394
394
|
]))
|
|
395
395
|
], 64))
|
|
396
396
|
])),
|
|
397
|
-
|
|
397
|
+
c(b) ? (o(), B(re, {
|
|
398
398
|
key: 2,
|
|
399
|
-
buttons:
|
|
400
|
-
"header-text":
|
|
401
|
-
text:
|
|
402
|
-
action:
|
|
403
|
-
onClose: t[6] || (t[6] = (l) =>
|
|
399
|
+
buttons: c(m).button,
|
|
400
|
+
"header-text": c(m).header,
|
|
401
|
+
text: c(m).text,
|
|
402
|
+
action: c(m).action,
|
|
403
|
+
onClose: t[6] || (t[6] = (l) => ie(b) ? b.value = !1 : b = !1),
|
|
404
404
|
onActionHandling: t[7] || (t[7] = (l) => Y(l))
|
|
405
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
406
|
-
])) :
|
|
407
|
-
|
|
405
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
406
|
+
])) : p("", !0),
|
|
407
|
+
c(b) ? (o(), B(re, {
|
|
408
408
|
key: 1,
|
|
409
|
-
buttons:
|
|
410
|
-
"header-text":
|
|
411
|
-
text:
|
|
412
|
-
action:
|
|
413
|
-
onClose: t[8] || (t[8] = (l) =>
|
|
409
|
+
buttons: c(m).button,
|
|
410
|
+
"header-text": c(m).header,
|
|
411
|
+
text: c(m).text,
|
|
412
|
+
action: c(m).action,
|
|
413
|
+
onClose: t[8] || (t[8] = (l) => ie(b) ? b.value = !1 : b = !1),
|
|
414
414
|
onActionHandling: t[9] || (t[9] = (l) => Y(l))
|
|
415
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
415
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
416
416
|
], 64);
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
|
-
},
|
|
419
|
+
}, ma = /* @__PURE__ */ Me(Xt, [["__scopeId", "data-v-828deb8b"]]);
|
|
420
420
|
export {
|
|
421
|
-
|
|
421
|
+
ma as default
|
|
422
422
|
};
|