@piveau/dpi 0.2.0-alpha.17 → 0.2.0-alpha.19
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/ui/OptionalDataStep/OptionalDataStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +140 -167
- 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 +463 -487
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +297 -234
- 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 +5 -4
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +85 -71
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +67 -67
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +155 -164
- package/package.json +1 -1
package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js
CHANGED
|
@@ -1,220 +1,264 @@
|
|
|
1
|
-
import { computed as v, ref as
|
|
1
|
+
import { computed as v, ref as h, onMounted as Te, resolveComponent as Me, createElementBlock as l, openBlock as o, Fragment as S, createCommentVNode as u, createBlock as $, createVNode as f, createElementVNode as a, unref as p, toDisplayString as s, renderList as B, createTextVNode as N, withCtx as E, isRef as _e } from "vue";
|
|
2
2
|
import "@formkit/core";
|
|
3
|
-
import { useFormKitNodeById as
|
|
3
|
+
import { useFormKitNodeById as ze } from "@formkit/vue";
|
|
4
4
|
import "@phosphor-icons/vue";
|
|
5
|
-
import { useI18n as
|
|
5
|
+
import { useI18n as Pe } from "vue-i18n";
|
|
6
6
|
import "vue-router";
|
|
7
7
|
import { useStore as Re } from "vuex";
|
|
8
8
|
import { useFormValues as we } from "../composables/useDpiFormValues.js";
|
|
9
|
-
import
|
|
9
|
+
import m from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
10
10
|
import He from "../HappyFlowComponents/ui/Chip.vue.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
11
|
+
import Ne from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
12
|
+
import ge from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
13
|
+
import Ee from "../HappyFlowComponents/ui/RapModal.vue.js";
|
|
14
|
+
import he from "../HappyFlowComponents/ui/StateTag.vue.js";
|
|
15
|
+
import Fe from "../HappyFlowComponents/ui/TableRowV3.vue.js";
|
|
16
|
+
import F from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
17
|
+
import Oe from "./VisibilityPage.vue.js";
|
|
16
18
|
/* empty css */
|
|
17
19
|
/* empty css */
|
|
18
20
|
/* empty css */
|
|
19
|
-
import
|
|
20
|
-
import { useDpiContext as
|
|
21
|
-
const
|
|
21
|
+
import Le from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
22
|
+
import { useDpiContext as We } from "../composables/useDpiContext.js";
|
|
23
|
+
const je = { key: 0 }, Ke = {
|
|
22
24
|
key: 1,
|
|
23
25
|
class: "dpiV3InnerComponentWrap V3-typography"
|
|
24
|
-
},
|
|
26
|
+
}, Ue = { class: "w-100" }, Ge = { class: "dpiV3_Frame_831" }, Ye = { key: 0 }, Ze = {
|
|
25
27
|
key: 1,
|
|
26
28
|
class: "dpiV3_Frame_840"
|
|
27
|
-
},
|
|
29
|
+
}, Ie = { class: "dpiV3_title" }, qe = { class: "dpiV3_intro copy-large-regular" }, Je = {
|
|
28
30
|
key: 0,
|
|
29
31
|
class: "dpiV3Card rapFindability"
|
|
30
|
-
},
|
|
32
|
+
}, Qe = { class: "firstSec" }, Xe = { class: "secondSec" }, Ae = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "headline-5"
|
|
35
|
+
}, et = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "copy-large-regular"
|
|
38
|
+
}, tt = {
|
|
39
|
+
key: 1,
|
|
40
|
+
class: "dpiV3Card rapFindability"
|
|
41
|
+
}, at = { class: "firstSec" }, st = { class: "secondSec" }, ot = {
|
|
31
42
|
class: "copy-large-regular",
|
|
32
43
|
style: { "margin-bottom": "4px" }
|
|
33
|
-
},
|
|
44
|
+
}, it = {
|
|
34
45
|
key: 0,
|
|
35
46
|
class: "thirdSec"
|
|
36
|
-
},
|
|
37
|
-
key:
|
|
47
|
+
}, lt = { class: "headline-5" }, nt = {
|
|
48
|
+
key: 2,
|
|
38
49
|
class: "dpiV3Card rapEssentials"
|
|
39
|
-
},
|
|
50
|
+
}, rt = { class: "firstSec" }, dt = { class: "secondSec" }, ct = { class: "heading-3" }, ut = { class: "thirdSec" }, pt = { class: "fourthSec flexSec" }, vt = { class: "copy-large-regular" }, ft = { class: "copy-large-semi-bold" }, _t = { class: "fifthSec flexSec" }, gt = { class: "copy-large-regular" }, ht = { class: "headline-5" }, yt = { class: "copy-large-regular" }, bt = ["href"], mt = { class: "sixthSec flexSec" }, kt = { class: "copy-large-regular" }, St = { class: "headline-5" }, Ct = { class: "copy-large-regular" }, Dt = { class: "copy-large-regular" }, xt = { class: "dpiV3Card rapCoverage" }, Vt = { class: "firstSec" }, $t = {
|
|
40
51
|
key: 0,
|
|
41
52
|
class: "secondSec flexSec"
|
|
42
|
-
},
|
|
53
|
+
}, Bt = { class: "rapHeadWrap" }, Tt = { class: "copy-large-regular" }, Mt = { class: "coveragePlaceWrap" }, zt = { class: "headline-5" }, Pt = {
|
|
43
54
|
key: 1,
|
|
44
55
|
class: "thirdSec"
|
|
45
|
-
},
|
|
56
|
+
}, Rt = { class: "rapHeadWrap" }, wt = { class: "copy-large-regular" }, Ht = { class: "dpiV3_RapInnerCardWrapper" }, Nt = { class: "dpiV3_RapInnerCard" }, Et = { class: "copy-small-regular" }, Ft = { key: 0 }, Ot = { class: "copy-small-regular" }, Lt = { key: 0 }, Wt = { class: "dpiV3Card rapDistribution" }, jt = { class: "firstSec" }, Kt = { class: "secondSec flexSec" }, Ut = { class: "copy-large-regular" }, Gt = { class: "headline-5" }, Yt = { class: "thirdSec flexSec" }, Zt = { class: "copy-large-regular" }, It = { class: "headline-5" }, qt = { class: "fourthSec flexSec" }, Jt = { class: "copy-large-regular" }, Qt = { class: "dpiV3_distCard" }, Xt = { class: "copy-large-semi-bold" }, At = {
|
|
46
57
|
key: 0,
|
|
47
58
|
class: "dpiV3Card rapDistribution"
|
|
48
|
-
},
|
|
59
|
+
}, ea = { class: "firstSec" }, ta = { class: "secondSec flexSec" }, aa = { class: "dpiV3_optionalSpanHeadWrap" }, sa = { class: "dpiV3_optionalSpan copy-large-regular" }, oa = { key: 0 }, ia = { key: 0 }, la = { key: 1 }, na = { key: 2 }, ra = { key: 3 }, da = { key: 4 }, ca = { key: 5 }, ua = { key: 6 }, pa = { key: 7 }, va = { key: 8 }, fa = { class: "dpiV3_tempAddMore" }, _a = {
|
|
49
60
|
key: 1,
|
|
50
61
|
class: "dpiV3_tempAddMore"
|
|
51
|
-
},
|
|
62
|
+
}, ga = {
|
|
52
63
|
__name: "ReviewAndPublishPage",
|
|
53
64
|
props: {
|
|
54
65
|
context: Object
|
|
55
66
|
},
|
|
56
|
-
setup(
|
|
57
|
-
const { t:
|
|
67
|
+
setup(O) {
|
|
68
|
+
const { t: L } = Pe(), D = We();
|
|
58
69
|
v(() => {
|
|
59
70
|
var e;
|
|
60
71
|
return !!((e = D.value.edit) != null && e.enabled);
|
|
61
72
|
});
|
|
62
|
-
let
|
|
73
|
+
let ye = h(
|
|
63
74
|
D.value.edit.enabled && !D.value.edit.fromDraft
|
|
64
75
|
);
|
|
65
|
-
|
|
76
|
+
function be() {
|
|
66
77
|
d.value.Covering["dcat:temporalResolution"] = {};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
let y =
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
}
|
|
79
|
+
h([{ isValid: !0 }]), h(!1), Re(), h(null);
|
|
80
|
+
let y = h(!1), b = h({});
|
|
81
|
+
const T = h(!1), W = h(!1), { formValues: d } = we();
|
|
82
|
+
ze("dpiForm", (e) => {
|
|
83
|
+
W.value = !0;
|
|
73
84
|
});
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
85
|
+
const P = v(() => {
|
|
86
|
+
var t, r, c;
|
|
87
|
+
const e = (r = (t = d.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.visibilityPage;
|
|
88
|
+
if (Array.isArray(e)) {
|
|
89
|
+
if (e[1] && typeof e[1] == "string")
|
|
90
|
+
return e[1];
|
|
91
|
+
if ((c = e[0]) != null && c.visibility)
|
|
92
|
+
return e[0].visibility;
|
|
93
|
+
}
|
|
94
|
+
return "";
|
|
95
|
+
});
|
|
96
|
+
function me(e) {
|
|
97
|
+
let t, r, c, g, x, V;
|
|
98
|
+
return e.forEach((_) => {
|
|
99
|
+
_.Year && (t = Number.parseInt(_.Year)), _.Month && (r = Number.parseInt(_.Month) - 1), _.Day && (c = Number.parseInt(_.Day)), _.Hour && (g = Number.parseInt(_.Hour)), _.Minute && (x = Number.parseInt(_.Minute)), _.Second && (V = Number.parseInt(_.Second));
|
|
78
100
|
}), new Date(
|
|
79
101
|
t || 2025,
|
|
80
102
|
r || 0,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
103
|
+
c || 1,
|
|
104
|
+
g || 0,
|
|
105
|
+
x || 0,
|
|
106
|
+
V || 0
|
|
85
107
|
).toLocaleString("de", {
|
|
86
108
|
timeZone: "Europe/Berlin",
|
|
87
109
|
timeZoneName: "short"
|
|
88
110
|
});
|
|
89
111
|
}
|
|
90
|
-
const
|
|
91
|
-
function
|
|
112
|
+
const j = h(), R = h(!1);
|
|
113
|
+
function K(e) {
|
|
92
114
|
return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
|
|
93
115
|
}
|
|
94
|
-
const
|
|
116
|
+
const ke = v(() => {
|
|
95
117
|
var t, r;
|
|
96
118
|
const e = (r = (t = d.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.discoverabilityPage;
|
|
97
|
-
return Array.isArray(e) ? (e == null ? void 0 : e.filter(
|
|
98
|
-
}),
|
|
119
|
+
return Array.isArray(e) ? (e == null ? void 0 : e.filter(K)) || [] : [];
|
|
120
|
+
}), U = v(() => {
|
|
99
121
|
var e, t;
|
|
100
122
|
return ((t = (e = d.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
|
|
101
|
-
}),
|
|
102
|
-
var r,
|
|
103
|
-
const e = (
|
|
123
|
+
}), Se = v(() => {
|
|
124
|
+
var r, c;
|
|
125
|
+
const e = (c = (r = d.value) == null ? void 0 : r.BasicInfos) == null ? void 0 : c["dct:title"], t = e == null ? void 0 : e.find((g) => g["@language"] === "de");
|
|
104
126
|
return t ? t["@value"] : null;
|
|
105
|
-
}),
|
|
106
|
-
var e, t, r,
|
|
107
|
-
return ((
|
|
108
|
-
}),
|
|
109
|
-
var t, r,
|
|
110
|
-
const e = (
|
|
127
|
+
}), Ce = v(() => {
|
|
128
|
+
var e, t, r, c;
|
|
129
|
+
return ((c = (r = (t = (e = d.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : r[0]) == null ? void 0 : c["@value"]) || "";
|
|
130
|
+
}), G = v(() => {
|
|
131
|
+
var t, r, c, g;
|
|
132
|
+
const e = (g = (c = (r = (t = d.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : r["dct:modified"]) == null ? void 0 : c[0]) == null ? void 0 : g["@value"];
|
|
111
133
|
return e ? new Date(e).toLocaleDateString("de-DE", {
|
|
112
134
|
day: "2-digit",
|
|
113
135
|
month: "2-digit",
|
|
114
136
|
year: "numeric"
|
|
115
137
|
}) : "";
|
|
116
|
-
}),
|
|
138
|
+
}), M = v(() => {
|
|
117
139
|
var e, t, r;
|
|
118
140
|
return ((r = (t = (e = d.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : r[0]) || {};
|
|
119
141
|
}), w = v(() => {
|
|
120
142
|
var e, t, r;
|
|
121
143
|
return ((r = (t = (e = d.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : r[0]) || {};
|
|
122
144
|
}), H = v(() => {
|
|
123
|
-
var e, t, r,
|
|
124
|
-
return ((
|
|
125
|
-
|
|
126
|
-
)) == null ? void 0 :
|
|
127
|
-
}),
|
|
145
|
+
var e, t, r, c;
|
|
146
|
+
return ((c = (r = (t = (e = d.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : r.filter(
|
|
147
|
+
K
|
|
148
|
+
)) == null ? void 0 : c[0]) || {};
|
|
149
|
+
}), z = v(() => {
|
|
128
150
|
var e, t;
|
|
129
151
|
return ((t = (e = d.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) || {};
|
|
130
|
-
}),
|
|
152
|
+
}), De = v(() => Object.keys(H.value).length > 1), xe = v(() => {
|
|
131
153
|
var e;
|
|
132
|
-
return ((e =
|
|
154
|
+
return ((e = z.value["dct:temporal"]) == null ? void 0 : e.length) > 0 && z.value["dct:temporal"][0]["dcat:startDate"] != "" && z.value["dct:temporal"][0]["dcat:endDate"] != "";
|
|
133
155
|
});
|
|
134
|
-
let
|
|
135
|
-
|
|
136
|
-
var e, t, r,
|
|
137
|
-
return ((
|
|
156
|
+
let Y = h();
|
|
157
|
+
Y.value = v(() => {
|
|
158
|
+
var e, t, r, c, g;
|
|
159
|
+
return ((g = (c = (r = (t = (e = d.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : c["dct:license"]) == null ? void 0 : g[0]) || {};
|
|
138
160
|
});
|
|
139
|
-
const
|
|
161
|
+
const Ve = v(() => {
|
|
140
162
|
var e, t;
|
|
141
163
|
return ((t = (e = d.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
|
|
142
|
-
}),
|
|
164
|
+
}), k = v(() => {
|
|
143
165
|
var e;
|
|
144
166
|
return ((e = d.value) == null ? void 0 : e.Additionals) || {};
|
|
145
|
-
}),
|
|
146
|
-
if (
|
|
147
|
-
const t =
|
|
148
|
-
(t === void 0 || Array.isArray(t) && t.length === 0) && delete
|
|
167
|
+
}), Z = v(() => (Object.keys(k.value).forEach((e) => {
|
|
168
|
+
if (k.value.hasOwnProperty(e)) {
|
|
169
|
+
const t = k.value[e];
|
|
170
|
+
(t === void 0 || Array.isArray(t) && t.length === 0) && delete k.value[e];
|
|
149
171
|
}
|
|
150
|
-
}), Object.keys(
|
|
151
|
-
function
|
|
152
|
-
|
|
172
|
+
}), Object.keys(k.value))), I = v(() => Z.value.length > 0);
|
|
173
|
+
function C(e) {
|
|
174
|
+
j.value = e, R.value = !0, document.body.style.overflow = "hidden";
|
|
153
175
|
}
|
|
154
|
-
function
|
|
176
|
+
function $e() {
|
|
155
177
|
document.body.style.overflow = "", R.value = !1;
|
|
156
178
|
}
|
|
157
|
-
function
|
|
179
|
+
function q(e) {
|
|
158
180
|
delete d.value.Additionals[e];
|
|
159
181
|
}
|
|
160
|
-
function
|
|
161
|
-
y.value = !0,
|
|
182
|
+
function Be(e, t) {
|
|
183
|
+
y.value = !0, b.value = {
|
|
162
184
|
button: "Löschen",
|
|
163
|
-
header: `${
|
|
164
|
-
text: `Sind Sie sicher, dass Sie das optionale Feld ${
|
|
185
|
+
header: `${L(`message.dataupload.additionals.${e}`)} löschen`,
|
|
186
|
+
text: `Sind Sie sicher, dass Sie das optionale Feld ${L(
|
|
165
187
|
`message.dataupload.additionals.${e}`
|
|
166
188
|
)} löschen wollen?`,
|
|
167
189
|
action: e
|
|
168
190
|
};
|
|
169
191
|
}
|
|
170
|
-
const
|
|
171
|
-
return
|
|
172
|
-
|
|
192
|
+
const J = h(!1);
|
|
193
|
+
return Te(() => {
|
|
194
|
+
J.value = !0;
|
|
173
195
|
}), (e, t) => {
|
|
174
|
-
var
|
|
175
|
-
const r =
|
|
196
|
+
var c, g, x, V, _, Q, X, A, ee, te, ae, se, oe, ie, le, ne, re, de, ce, ue, pe, ve, fe;
|
|
197
|
+
const r = Me("formatbubble");
|
|
176
198
|
return o(), l(S, null, [
|
|
177
|
-
|
|
178
|
-
R.value ? (o(),
|
|
199
|
+
J.value && W.value ? (o(), l("div", je, [
|
|
200
|
+
R.value ? (o(), $(Ee, {
|
|
179
201
|
key: 0,
|
|
180
|
-
context:
|
|
181
|
-
"active-section":
|
|
182
|
-
onClose:
|
|
183
|
-
}, null, 8, ["context", "active-section"])) :
|
|
184
|
-
(o(), l("div",
|
|
185
|
-
a("div",
|
|
186
|
-
a("div",
|
|
187
|
-
|
|
188
|
-
(o(),
|
|
189
|
-
id: (
|
|
190
|
-
key: (
|
|
191
|
-
"data-cy":
|
|
202
|
+
context: O.context,
|
|
203
|
+
"active-section": j.value,
|
|
204
|
+
onClose: $e
|
|
205
|
+
}, null, 8, ["context", "active-section"])) : u("", !0),
|
|
206
|
+
(o(), l("div", Ke, [
|
|
207
|
+
a("div", Ue, [
|
|
208
|
+
a("div", Ge, [
|
|
209
|
+
p(D).edit.fromDraft || p(D).edit.enabled ? (o(), l("div", Ye, [
|
|
210
|
+
(o(), $(Fe, {
|
|
211
|
+
id: (g = (c = p(d).value) == null ? void 0 : c.BasicInfos) == null ? void 0 : g.datasetID,
|
|
212
|
+
key: (V = (x = p(d).value) == null ? void 0 : x.BasicInfos) == null ? void 0 : V.datasetID,
|
|
213
|
+
"data-cy": p(d).value,
|
|
192
214
|
catalogue: "test-catalog",
|
|
193
|
-
text: ((
|
|
194
|
-
date:
|
|
195
|
-
draft: !
|
|
215
|
+
text: ((Q = (_ = p(d).value) == null ? void 0 : _.BasicInfos) == null ? void 0 : Q.title.de) || ((A = (X = p(d).value) == null ? void 0 : X.BasicInfos) == null ? void 0 : A.title.en),
|
|
216
|
+
date: G.value,
|
|
217
|
+
draft: !p(ye),
|
|
196
218
|
dataset: e.dataset,
|
|
197
219
|
"from-draft": "true"
|
|
198
220
|
}, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
|
|
199
|
-
])) : (o(), l("div",
|
|
200
|
-
a("h4",
|
|
201
|
-
a("div",
|
|
221
|
+
])) : (o(), l("div", Ze, [
|
|
222
|
+
a("h4", Ie, s(e.$t("message.dataupload.datasets.rap.title")), 1),
|
|
223
|
+
a("div", qe, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
|
|
202
224
|
]))
|
|
203
225
|
])
|
|
204
226
|
]),
|
|
205
|
-
(o(), l("div",
|
|
206
|
-
a("div",
|
|
227
|
+
(o(), l("div", Je, [
|
|
228
|
+
a("div", Qe, [
|
|
229
|
+
t[13] || (t[13] = a("span", null, "Sichtbarkeit", -1)),
|
|
230
|
+
f(m, {
|
|
231
|
+
size: "large",
|
|
232
|
+
"icon-start": "pen",
|
|
233
|
+
variant: "secondary",
|
|
234
|
+
onClick: t[0] || (t[0] = (n) => T.value = !0)
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
a("div", Xe, [
|
|
238
|
+
t[14] || (t[14] = a("span", {
|
|
239
|
+
class: "copy-large-regular",
|
|
240
|
+
style: { "margin-bottom": "4px" }
|
|
241
|
+
}, " Sichtbarkeit des Datensatzes: ", -1)),
|
|
242
|
+
P.value ? (o(), l("h5", Ae, s({
|
|
243
|
+
public: "Öffentlich",
|
|
244
|
+
restricted: "Eingeschränkt",
|
|
245
|
+
internal: "Intern"
|
|
246
|
+
}[P.value] || P.value), 1)) : (o(), l("span", et, "–"))
|
|
247
|
+
])
|
|
248
|
+
])),
|
|
249
|
+
(o(), l("div", tt, [
|
|
250
|
+
a("div", at, [
|
|
207
251
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
|
|
208
|
-
|
|
252
|
+
f(m, {
|
|
209
253
|
size: "large",
|
|
210
254
|
"icon-start": "pen",
|
|
211
255
|
variant: "secondary",
|
|
212
|
-
onClick: t[
|
|
256
|
+
onClick: t[1] || (t[1] = (n) => C("findabilityHvd"))
|
|
213
257
|
})
|
|
214
258
|
]),
|
|
215
|
-
a("div",
|
|
216
|
-
a("span",
|
|
217
|
-
(o(!0), l(S, null, B(
|
|
259
|
+
a("div", st, [
|
|
260
|
+
a("span", ot, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
|
|
261
|
+
(o(!0), l(S, null, B(ke.value, (n, i) => (o(), $(He, {
|
|
218
262
|
key: i,
|
|
219
263
|
text: n.label,
|
|
220
264
|
data: { "@value": n.value, URI: n.URI },
|
|
@@ -225,88 +269,88 @@ const Fe = { key: 0 }, Oe = {
|
|
|
225
269
|
}
|
|
226
270
|
}, null, 8, ["text", "data"]))), 128))
|
|
227
271
|
]),
|
|
228
|
-
(
|
|
229
|
-
|
|
272
|
+
(te = (ee = U.value) == null ? void 0 : ee[0]) != null && te.label ? (o(), l("div", it, [
|
|
273
|
+
f(he, {
|
|
230
274
|
label: "HVD",
|
|
231
275
|
state: "hvd",
|
|
232
276
|
size: "page"
|
|
233
277
|
}),
|
|
234
|
-
a("h5",
|
|
235
|
-
])) :
|
|
278
|
+
a("h5", lt, s((se = (ae = U.value) == null ? void 0 : ae[0]) == null ? void 0 : se.label), 1)
|
|
279
|
+
])) : u("", !0)
|
|
236
280
|
])),
|
|
237
|
-
(o(), l("div",
|
|
238
|
-
a("div",
|
|
281
|
+
(o(), l("div", nt, [
|
|
282
|
+
a("div", rt, [
|
|
239
283
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
|
|
240
|
-
|
|
284
|
+
f(m, {
|
|
241
285
|
size: "large",
|
|
242
286
|
"icon-start": "pen",
|
|
243
287
|
variant: "secondary",
|
|
244
|
-
onClick: t[
|
|
288
|
+
onClick: t[2] || (t[2] = (n) => C("essentials"))
|
|
245
289
|
})
|
|
246
290
|
]),
|
|
247
|
-
a("div",
|
|
248
|
-
a("h3",
|
|
291
|
+
a("div", dt, [
|
|
292
|
+
a("h3", ct, s(Se.value), 1)
|
|
249
293
|
]),
|
|
250
|
-
a("div",
|
|
251
|
-
a("span", null, s(
|
|
294
|
+
a("div", ut, [
|
|
295
|
+
a("span", null, s(Ce.value), 1)
|
|
252
296
|
]),
|
|
253
|
-
a("div",
|
|
254
|
-
a("span",
|
|
255
|
-
a("span",
|
|
297
|
+
a("div", pt, [
|
|
298
|
+
a("span", vt, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
|
|
299
|
+
a("span", ft, s(G.value), 1)
|
|
256
300
|
]),
|
|
257
|
-
a("div",
|
|
258
|
-
a("span",
|
|
259
|
-
a("h5",
|
|
260
|
-
a("a",
|
|
301
|
+
a("div", _t, [
|
|
302
|
+
a("span", gt, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
|
|
303
|
+
a("h5", ht, s(M.value["foaf:name"] || ""), 1),
|
|
304
|
+
a("a", yt, s(M.value["foaf:mbox"] || ""), 1),
|
|
261
305
|
a("a", {
|
|
262
306
|
class: "copy-large-regular",
|
|
263
|
-
href:
|
|
264
|
-
}, s(
|
|
307
|
+
href: M.value["foaf:homepage"] || ""
|
|
308
|
+
}, s(M.value["foaf:homepage"] || ""), 9, bt)
|
|
265
309
|
]),
|
|
266
|
-
a("div",
|
|
267
|
-
a("span",
|
|
268
|
-
a("h5",
|
|
269
|
-
a("a",
|
|
270
|
-
a("span",
|
|
310
|
+
a("div", mt, [
|
|
311
|
+
a("span", kt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
|
|
312
|
+
a("h5", St, s(w.value["vcard:fn"] || ""), 1),
|
|
313
|
+
a("a", Ct, s(w.value["vcard:hasEmail"] || ""), 1),
|
|
314
|
+
a("span", Dt, s(w.value["vcard:hasTelephone"] || ""), 1)
|
|
271
315
|
])
|
|
272
316
|
])),
|
|
273
|
-
(o(), l(S, { key:
|
|
274
|
-
a("div",
|
|
275
|
-
a("div",
|
|
317
|
+
(o(), l(S, { key: 3 }, [
|
|
318
|
+
a("div", xt, [
|
|
319
|
+
a("div", Vt, [
|
|
276
320
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
|
|
277
|
-
|
|
321
|
+
f(m, {
|
|
278
322
|
size: "large",
|
|
279
323
|
"icon-start": "pen",
|
|
280
324
|
variant: "secondary",
|
|
281
|
-
onClick: t[
|
|
325
|
+
onClick: t[3] || (t[3] = (n) => C("coverage"))
|
|
282
326
|
})
|
|
283
327
|
]),
|
|
284
|
-
|
|
285
|
-
a("div",
|
|
286
|
-
a("span",
|
|
287
|
-
|
|
328
|
+
De.value ? (o(), l("div", $t, [
|
|
329
|
+
a("div", Bt, [
|
|
330
|
+
a("span", Tt, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
|
|
331
|
+
f(F, { "button-text": "löschen" })
|
|
288
332
|
]),
|
|
289
|
-
a("div",
|
|
290
|
-
a("h5",
|
|
291
|
-
|
|
292
|
-
label: ((
|
|
333
|
+
a("div", Mt, [
|
|
334
|
+
a("h5", zt, s(H.value.label || ""), 1),
|
|
335
|
+
f(he, {
|
|
336
|
+
label: ((oe = H.value.inVoc) == null ? void 0 : oe.toUpperCase()) || "",
|
|
293
337
|
state: "geopolitical",
|
|
294
338
|
size: "page"
|
|
295
339
|
}, null, 8, ["label"])
|
|
296
340
|
])
|
|
297
|
-
])) :
|
|
298
|
-
|
|
299
|
-
a("div",
|
|
300
|
-
a("span",
|
|
301
|
-
|
|
341
|
+
])) : u("", !0),
|
|
342
|
+
xe.value ? (o(), l("div", Pt, [
|
|
343
|
+
a("div", Rt, [
|
|
344
|
+
a("span", wt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
|
|
345
|
+
f(F, {
|
|
302
346
|
"button-text": "löschen",
|
|
303
|
-
onClick:
|
|
347
|
+
onClick: be
|
|
304
348
|
})
|
|
305
349
|
]),
|
|
306
|
-
a("div",
|
|
307
|
-
(o(!0), l(S, null, B(
|
|
308
|
-
a("div",
|
|
309
|
-
t[
|
|
350
|
+
a("div", Ht, [
|
|
351
|
+
(o(!0), l(S, null, B(z.value["dct:temporal"] || [], (n) => (o(), l("div", Nt, [
|
|
352
|
+
a("div", Et, [
|
|
353
|
+
t[15] || (t[15] = N(" von: ", -1)),
|
|
310
354
|
a("div", null, [
|
|
311
355
|
a("span", null, s(new Date(n["dcat:startDate"]).toLocaleDateString(
|
|
312
356
|
"de-DE",
|
|
@@ -316,11 +360,11 @@ const Fe = { key: 0 }, Oe = {
|
|
|
316
360
|
year: "numeric"
|
|
317
361
|
}
|
|
318
362
|
)), 1),
|
|
319
|
-
n.startTime != null ? (o(), l("span",
|
|
363
|
+
n.startTime != null ? (o(), l("span", Ft, s(n.startTime), 1)) : u("", !0)
|
|
320
364
|
])
|
|
321
365
|
]),
|
|
322
|
-
a("div",
|
|
323
|
-
t[
|
|
366
|
+
a("div", Ot, [
|
|
367
|
+
t[16] || (t[16] = N(" bis: ", -1)),
|
|
324
368
|
a("div", null, [
|
|
325
369
|
a("span", null, s(new Date(n["dcat:endDate"]).toLocaleDateString(
|
|
326
370
|
"de-DE",
|
|
@@ -330,42 +374,42 @@ const Fe = { key: 0 }, Oe = {
|
|
|
330
374
|
year: "numeric"
|
|
331
375
|
}
|
|
332
376
|
)), 1),
|
|
333
|
-
n.endTime != null ? (o(), l("span",
|
|
377
|
+
n.endTime != null ? (o(), l("span", Lt, s(n.endTime), 1)) : u("", !0)
|
|
334
378
|
])
|
|
335
379
|
])
|
|
336
380
|
]))), 256))
|
|
337
381
|
])
|
|
338
|
-
])) :
|
|
382
|
+
])) : u("", !0)
|
|
339
383
|
]),
|
|
340
|
-
a("div",
|
|
341
|
-
a("div",
|
|
384
|
+
a("div", Wt, [
|
|
385
|
+
a("div", jt, [
|
|
342
386
|
a("span", null, s(e.$t("message.metadata.distributions")), 1),
|
|
343
|
-
|
|
387
|
+
f(m, {
|
|
344
388
|
size: "large",
|
|
345
389
|
"icon-start": "pen",
|
|
346
390
|
variant: "secondary",
|
|
347
|
-
onClick: t[
|
|
391
|
+
onClick: t[4] || (t[4] = (n) => C("distributions"))
|
|
348
392
|
})
|
|
349
393
|
]),
|
|
350
|
-
a("div",
|
|
351
|
-
a("span",
|
|
352
|
-
a("h5",
|
|
394
|
+
a("div", Kt, [
|
|
395
|
+
a("span", Ut, s(e.$t("message.dataupload.steps.dct:license")), 1),
|
|
396
|
+
a("h5", Gt, s(p(Y)["dcterms:license"] || ((ne = (le = (ie = p(d).DistributionSimple) == null ? void 0 : ie["dct:license"]) == null ? void 0 : le[0]) == null ? void 0 : ne["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
|
|
353
397
|
]),
|
|
354
|
-
a("div",
|
|
355
|
-
a("span",
|
|
398
|
+
a("div", Yt, [
|
|
399
|
+
a("span", Zt, s(e.$t(
|
|
356
400
|
"message.dataupload.datasets.dcat:distribution.advanced.dcatde:licenseAttributionByText"
|
|
357
401
|
)), 1),
|
|
358
|
-
a("h5",
|
|
402
|
+
a("h5", It, s(((ue = (ce = (de = (re = p(d)) == null ? void 0 : re.DistributionSimple) == null ? void 0 : de["dcat:distribution"]) == null ? void 0 : ce[0]) == null ? void 0 : ue["dcatde:licenseAttributionByText"]) || ((fe = (ve = (pe = p(d).DistributionSimple) == null ? void 0 : pe["dct:license"]) == null ? void 0 : ve[0]) == null ? void 0 : fe.attribution) || "Kein Titel angegeben"), 1)
|
|
359
403
|
]),
|
|
360
|
-
a("div",
|
|
361
|
-
a("span",
|
|
362
|
-
(o(!0), l(S, null, B(
|
|
363
|
-
a("span",
|
|
364
|
-
|
|
365
|
-
default:
|
|
404
|
+
a("div", qt, [
|
|
405
|
+
a("span", Jt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
|
|
406
|
+
(o(!0), l(S, null, B(Ve.value, (n) => (o(), l("div", Qt, [
|
|
407
|
+
a("span", Xt, s(n["dct:title"]), 1),
|
|
408
|
+
f(r, null, {
|
|
409
|
+
default: E(() => {
|
|
366
410
|
var i;
|
|
367
411
|
return [
|
|
368
|
-
|
|
412
|
+
N(s(((i = n["dct:format"]) == null ? void 0 : i.label) || "Kein Format angegeben"), 1)
|
|
369
413
|
];
|
|
370
414
|
}),
|
|
371
415
|
_: 2
|
|
@@ -373,80 +417,99 @@ const Fe = { key: 0 }, Oe = {
|
|
|
373
417
|
]))), 256))
|
|
374
418
|
])
|
|
375
419
|
]),
|
|
376
|
-
|
|
377
|
-
a("div",
|
|
420
|
+
I.value ? (o(), l("div", At, [
|
|
421
|
+
a("div", ea, [
|
|
378
422
|
a("span", null, s(e.$t("message.metadata.additionals")), 1)
|
|
379
423
|
]),
|
|
380
|
-
(o(!0), l(S, null, B(
|
|
381
|
-
a("div",
|
|
382
|
-
a("span",
|
|
383
|
-
|
|
424
|
+
(o(!0), l(S, null, B(Z.value, (n) => (o(), l("div", ta, [
|
|
425
|
+
a("div", aa, [
|
|
426
|
+
a("span", sa, s(e.$t(`message.dataupload.additionals.${n}`)) + " (optional)", 1),
|
|
427
|
+
f(F, {
|
|
384
428
|
"button-text": "löschen",
|
|
385
|
-
onClick: (i) =>
|
|
429
|
+
onClick: (i) => Be(n)
|
|
386
430
|
}, null, 8, ["onClick"])
|
|
387
431
|
]),
|
|
388
|
-
n === "dcat:temporalResolution" ? (o(), l("div",
|
|
389
|
-
a("span", null, s(
|
|
390
|
-
])) :
|
|
391
|
-
n != "dcat:temporalResolution" ? (o(!0), l(S, { key: 1 }, B(
|
|
392
|
-
|
|
393
|
-
|
|
432
|
+
n === "dcat:temporalResolution" ? (o(), l("div", oa, [
|
|
433
|
+
a("span", null, s(me(k.value[n] || [])), 1)
|
|
434
|
+
])) : u("", !0),
|
|
435
|
+
n != "dcat:temporalResolution" ? (o(!0), l(S, { key: 1 }, B(k.value[n] || [], (i) => (o(), l("div", {
|
|
436
|
+
key: i ? i["@id"] || i["@value"] || i["rdfs:label"] : null,
|
|
437
|
+
class: "additionalSubPropsWrapper"
|
|
394
438
|
}, [
|
|
395
|
-
i && i["rdf:type"] ? (o(), l("span",
|
|
396
|
-
i && i["@value"] ? (o(), l("span",
|
|
397
|
-
i && i["dct:title"] ? (o(), l("span",
|
|
398
|
-
i && i["dct:description"] ? (o(), l("span",
|
|
399
|
-
i && i["@id"] ? (o(), l("span",
|
|
400
|
-
i && i["rdfs:label"] ? (o(), l("span",
|
|
401
|
-
i && i["foaf:name"] ? (o(), l("span",
|
|
402
|
-
i && i["foaf:homepage"] ? (o(), l("span",
|
|
403
|
-
i && i["foaf:mbox"] ? (o(), l("span",
|
|
404
|
-
]))), 128)) :
|
|
439
|
+
i && i["rdf:type"] ? (o(), l("span", ia, s(i["rdf:type"]), 1)) : u("", !0),
|
|
440
|
+
i && i["@value"] ? (o(), l("span", la, s(i["@value"]), 1)) : u("", !0),
|
|
441
|
+
i && i["dct:title"] ? (o(), l("span", na, s(i["dct:title"]), 1)) : u("", !0),
|
|
442
|
+
i && i["dct:description"] ? (o(), l("span", ra, s(i["dct:description"]), 1)) : u("", !0),
|
|
443
|
+
i && i["@id"] ? (o(), l("span", da, s(i["@id"]), 1)) : u("", !0),
|
|
444
|
+
i && i["rdfs:label"] ? (o(), l("span", ca, s(i["rdfs:label"]), 1)) : u("", !0),
|
|
445
|
+
i && i["foaf:name"] ? (o(), l("span", ua, s(i["foaf:name"]), 1)) : u("", !0),
|
|
446
|
+
i && i["foaf:homepage"] ? (o(), l("span", pa, s(i["foaf:homepage"]), 1)) : u("", !0),
|
|
447
|
+
i && i["foaf:mbox"] ? (o(), l("span", va, s(i["foaf:mbox"]), 1)) : u("", !0)
|
|
448
|
+
]))), 128)) : u("", !0)
|
|
405
449
|
]))), 256)),
|
|
406
|
-
a("div",
|
|
407
|
-
|
|
450
|
+
a("div", fa, [
|
|
451
|
+
f(m, {
|
|
408
452
|
"button-text": "Optionale Informationen hinzufügen",
|
|
409
453
|
size: "large",
|
|
410
454
|
"icon-start": "plus",
|
|
411
455
|
variant: "tertiary",
|
|
412
|
-
onClick: t[
|
|
456
|
+
onClick: t[5] || (t[5] = (n) => C("additionals"))
|
|
413
457
|
})
|
|
414
458
|
])
|
|
415
|
-
])) :
|
|
416
|
-
|
|
417
|
-
|
|
459
|
+
])) : u("", !0),
|
|
460
|
+
I.value ? u("", !0) : (o(), l("div", _a, [
|
|
461
|
+
f(m, {
|
|
418
462
|
"button-text": "Optionale Informationen hinzufügen",
|
|
419
463
|
size: "large",
|
|
420
464
|
"icon-start": "plus",
|
|
421
465
|
variant: "tertiary",
|
|
422
|
-
onClick: t[
|
|
466
|
+
onClick: t[6] || (t[6] = (n) => C("additionals"))
|
|
423
467
|
})
|
|
424
468
|
]))
|
|
425
469
|
], 64))
|
|
426
470
|
])),
|
|
427
|
-
|
|
471
|
+
p(y) ? (o(), $(ge, {
|
|
428
472
|
key: 2,
|
|
429
|
-
buttons:
|
|
430
|
-
"header-text":
|
|
431
|
-
text:
|
|
432
|
-
action:
|
|
433
|
-
onClose: t[
|
|
434
|
-
onActionHandling: t[
|
|
435
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
436
|
-
|
|
437
|
-
|
|
473
|
+
buttons: p(b).button,
|
|
474
|
+
"header-text": p(b).header,
|
|
475
|
+
text: p(b).text,
|
|
476
|
+
action: p(b).action,
|
|
477
|
+
onClose: t[7] || (t[7] = (n) => _e(y) ? y.value = !1 : y = !1),
|
|
478
|
+
onActionHandling: t[8] || (t[8] = (n) => q(n))
|
|
479
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0),
|
|
480
|
+
f(Ne, {
|
|
481
|
+
modelValue: T.value,
|
|
482
|
+
"onUpdate:modelValue": t[10] || (t[10] = (n) => T.value = n),
|
|
483
|
+
title: "Sichtbarkeit"
|
|
484
|
+
}, {
|
|
485
|
+
footer: E(() => [
|
|
486
|
+
f(m, {
|
|
487
|
+
size: "large",
|
|
488
|
+
variant: "primary",
|
|
489
|
+
"button-text": "Schließen",
|
|
490
|
+
style: { "margin-left": "auto" },
|
|
491
|
+
onClick: t[9] || (t[9] = (n) => T.value = !1)
|
|
492
|
+
})
|
|
493
|
+
]),
|
|
494
|
+
default: E(() => [
|
|
495
|
+
f(Oe, { context: O.context }, null, 8, ["context"])
|
|
496
|
+
]),
|
|
497
|
+
_: 1
|
|
498
|
+
}, 8, ["modelValue"])
|
|
499
|
+
])) : u("", !0),
|
|
500
|
+
p(y) ? (o(), $(ge, {
|
|
438
501
|
key: 1,
|
|
439
|
-
buttons:
|
|
440
|
-
"header-text":
|
|
441
|
-
text:
|
|
442
|
-
action:
|
|
443
|
-
onClose: t[
|
|
444
|
-
onActionHandling: t[
|
|
445
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
502
|
+
buttons: p(b).button,
|
|
503
|
+
"header-text": p(b).header,
|
|
504
|
+
text: p(b).text,
|
|
505
|
+
action: p(b).action,
|
|
506
|
+
onClose: t[11] || (t[11] = (n) => _e(y) ? y.value = !1 : y = !1),
|
|
507
|
+
onActionHandling: t[12] || (t[12] = (n) => q(n))
|
|
508
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0)
|
|
446
509
|
], 64);
|
|
447
510
|
};
|
|
448
511
|
}
|
|
449
|
-
},
|
|
512
|
+
}, Oa = /* @__PURE__ */ Le(ga, [["__scopeId", "data-v-60b5759e"]]);
|
|
450
513
|
export {
|
|
451
|
-
|
|
514
|
+
Oa as default
|
|
452
515
|
};
|