@piveau/dpi 0.1.0-beta.44 → 0.1.0-beta.46
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/HappyFlowComponents/services/dpiV3_apis.js +81 -68
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +2 -12
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +42 -42
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +3 -3
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +348 -336
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +39 -39
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +23 -23
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +79 -75
- package/dist/data-provider-interface/store/modules/authStore.js +14 -12
- package/dist/data-provider-interface/views/InputPage.vue.js +96 -95
- package/package.json +1 -1
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import { ref as v, computed as
|
|
1
|
+
import { ref as v, computed as _e, toRef as st, onUnmounted as it, onMounted as lt, getCurrentInstance as nt, watch as dt, createElementBlock as m, openBlock as r, Fragment as Q, createElementVNode as f, createBlock as X, createCommentVNode as p, toDisplayString as M, renderList as De, unref as L, createVNode as u, withDirectives as ct, vShow as rt } from "vue";
|
|
2
2
|
import "@formkit/core";
|
|
3
|
-
import { PhWarning as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { useStore as
|
|
6
|
-
import { useEditModeInfo as
|
|
7
|
-
import { useFormValues as
|
|
8
|
-
import
|
|
9
|
-
import { getFileTypes as
|
|
10
|
-
import { eventBus as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
3
|
+
import { PhWarning as Y } from "@phosphor-icons/vue";
|
|
4
|
+
import { useI18n as ut } from "vue-i18n";
|
|
5
|
+
import { useStore as mt } from "vuex";
|
|
6
|
+
import { useEditModeInfo as ft } from "../composables/useDpiEditMode.js";
|
|
7
|
+
import { useFormValues as pt } from "../composables/useDpiFormValues.js";
|
|
8
|
+
import B from "../config/dcatapdeHappyFlow/page-content-config.js";
|
|
9
|
+
import { getFileTypes as vt, getFormatTypes as ht, getChecksumAlgorithms as gt, getPlannedAvailability as yt, getLanguages as kt } from "../HappyFlowComponents/services/dpiV3_apis.js";
|
|
10
|
+
import { eventBus as Ie } from "../HappyFlowComponents/services/eventBus.js";
|
|
11
|
+
import z from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
12
|
+
import xt from "../HappyFlowComponents/ui/Dropdown.vue.js";
|
|
13
|
+
import Z from "../HappyFlowComponents/ui/InputField.vue.js";
|
|
14
|
+
import bt from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
15
|
+
import wt from "../HappyFlowComponents/ui/ModalV3.vue.js";
|
|
16
|
+
import _t from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
|
|
17
|
+
import Dt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
|
|
18
|
+
import It from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
|
|
19
|
+
import Tt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
|
|
20
|
+
import Lt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
|
|
21
|
+
import Vt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
|
|
22
|
+
import Ut from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
|
|
23
|
+
import Ct from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
|
|
24
|
+
import ee from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
|
|
25
|
+
import Rt from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
|
|
26
|
+
import At from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
|
|
27
|
+
import St from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
|
|
28
|
+
import Ft from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
|
|
29
|
+
import $t from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
|
|
30
|
+
import A from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
31
31
|
/* empty css */
|
|
32
|
-
import
|
|
33
|
-
const
|
|
32
|
+
import Et from "../../_virtual/_plugin-vue_export-helper.js";
|
|
33
|
+
const Mt = { class: "dpiV3InnerComponentWrap" }, Bt = { key: 0 }, zt = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "copy-large-regular"
|
|
36
|
-
},
|
|
36
|
+
}, Pt = { class: "dpiV3_LinkAndMetadata input-container" }, Nt = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "accUrlError"
|
|
39
|
-
},
|
|
39
|
+
}, Ot = { class: "copy-mini-regular" }, Wt = {
|
|
40
40
|
key: 1,
|
|
41
41
|
class: "validation-error"
|
|
42
|
-
},
|
|
42
|
+
}, Ht = { class: "copy-mini-regular" }, jt = {
|
|
43
43
|
key: 2,
|
|
44
44
|
class: "dpiV3_DocumentationsInDistr"
|
|
45
|
-
},
|
|
45
|
+
}, Jt = { class: "dpiV3_TitleDelete" }, Kt = { class: "dpiV3_documentationContents" }, qt = { class: "dpiV3_Documentation" }, Gt = {
|
|
46
46
|
key: 3,
|
|
47
47
|
class: "dpiV3_DocumentationsInDistr"
|
|
48
|
-
},
|
|
48
|
+
}, Qt = { class: "dpiV3_TitleDelete" }, Xt = { class: "dpiV3_documentationContents" }, Yt = { class: "dpiV3_Documentation" }, Zt = { class: "dpiV3_DocumentationsInDistr" }, ea = { class: "dpiV3_TitleDelete" }, ta = { key: 0 }, aa = {
|
|
49
49
|
key: 0,
|
|
50
50
|
class: "dpiV3_tempAddMore"
|
|
51
|
-
},
|
|
51
|
+
}, oa = {
|
|
52
52
|
key: 5,
|
|
53
53
|
class: "dpiV3_modified dpiV3_label"
|
|
54
|
-
},
|
|
54
|
+
}, sa = {
|
|
55
55
|
key: 6,
|
|
56
56
|
class: "dpiV3_modified dpiV3_label"
|
|
57
|
-
},
|
|
57
|
+
}, ia = { class: "dpiV3_modified dpiV3_label" }, la = {
|
|
58
58
|
key: 7,
|
|
59
59
|
class: "dpiV3_modified dpiV3_label"
|
|
60
|
-
},
|
|
60
|
+
}, na = {
|
|
61
61
|
key: 8,
|
|
62
62
|
class: "dpiV3_modified dpiV3_label"
|
|
63
|
-
},
|
|
63
|
+
}, da = {
|
|
64
64
|
key: 9,
|
|
65
65
|
class: "dpiV3_modified dpiV3_label"
|
|
66
|
-
},
|
|
66
|
+
}, ca = {
|
|
67
67
|
key: 10,
|
|
68
68
|
class: "dpiV3_modified dpiV3_label"
|
|
69
|
-
},
|
|
69
|
+
}, ra = {
|
|
70
70
|
key: 11,
|
|
71
71
|
class: "dpiV3_DocumentationsInDistr"
|
|
72
|
-
},
|
|
72
|
+
}, ua = { class: "dpiV3_TitleDelete" }, ma = {
|
|
73
73
|
key: 12,
|
|
74
74
|
class: "dpiV3_DocumentationsInDistr"
|
|
75
|
-
},
|
|
75
|
+
}, fa = { class: "dpiV3_TitleDelete" }, pa = {
|
|
76
76
|
key: 13,
|
|
77
77
|
class: "dpiV3_modified dpiV3_label"
|
|
78
|
-
},
|
|
78
|
+
}, va = {
|
|
79
79
|
key: 14,
|
|
80
80
|
class: "dpiV3_modified dpiV3_label"
|
|
81
|
-
},
|
|
81
|
+
}, ha = {
|
|
82
82
|
key: 15,
|
|
83
83
|
class: "dpiV3_modified dpiV3_label"
|
|
84
|
-
},
|
|
84
|
+
}, ga = {
|
|
85
85
|
key: 16,
|
|
86
86
|
class: "dpiV3_modified dpiV3_label"
|
|
87
|
-
},
|
|
87
|
+
}, ya = {
|
|
88
88
|
key: 17,
|
|
89
89
|
class: "dpiV3_modified dpiV3_label"
|
|
90
|
-
},
|
|
90
|
+
}, ka = {
|
|
91
91
|
key: 18,
|
|
92
92
|
class: "copy-mini-regular dpiV3_text_error"
|
|
93
|
-
},
|
|
93
|
+
}, xa = { class: "dpiV3_CTA-Distribution" }, ba = { class: "dpiV3_tempAddMore" }, wa = {
|
|
94
94
|
key: 2,
|
|
95
95
|
class: "dpiV3_errormsgWrapper"
|
|
96
|
-
},
|
|
96
|
+
}, _a = {
|
|
97
97
|
__name: "DistributionSimplePage",
|
|
98
98
|
props: {
|
|
99
99
|
context: Object,
|
|
100
100
|
inRap: Boolean
|
|
101
101
|
},
|
|
102
|
-
setup(
|
|
103
|
-
var
|
|
104
|
-
const
|
|
102
|
+
setup(S) {
|
|
103
|
+
var ye, ke, xe;
|
|
104
|
+
const P = S, { isEditMode: te } = ft(), { t: D } = ut(), V = v(null), Te = {
|
|
105
105
|
isValid: "unset",
|
|
106
106
|
id: 1,
|
|
107
107
|
"dcat:accessURL": "",
|
|
@@ -133,49 +133,51 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
133
133
|
title: "",
|
|
134
134
|
"dcterms:license": ""
|
|
135
135
|
}
|
|
136
|
-
}, { formValues: w } =
|
|
137
|
-
() =>
|
|
138
|
-
).value ?
|
|
136
|
+
}, { formValues: w } = pt(), l = _e(
|
|
137
|
+
() => te.value || P.inRap
|
|
138
|
+
).value ? st((ye = w.value.DistributionSimple) == null ? void 0 : ye["dcat:distribution"]) : v([Te]);
|
|
139
139
|
l.value[0]["dcat:downloadURL"] || (console.log(l["dcat:downloadURL"], l), l.value[0]["dcat:downloadURL"] = [{ "@id": "" }]);
|
|
140
|
-
const n = v({}),
|
|
140
|
+
const n = v({}), U = v({}), ae = v([]), F = v(!1), N = v(!1), k = v(0), x = v([]), _ = v([]), oe = v([]), O = v([]), se = v([]);
|
|
141
|
+
v([...x.value]);
|
|
142
|
+
const $ = v([..._.value]), Le = mt(), W = v(null);
|
|
141
143
|
v(null);
|
|
142
|
-
const
|
|
144
|
+
const H = v(!1), ie = v(!1), le = v(!1), j = v(!1), ne = v(!0);
|
|
143
145
|
for (let a = 0; a < l.value.length; a++)
|
|
144
|
-
if (((
|
|
145
|
-
|
|
146
|
+
if (((ke = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : ke.checksum.uri) !== "" || ((xe = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : xe.checksum.title) !== "") {
|
|
147
|
+
ie.value = !1;
|
|
146
148
|
break;
|
|
147
149
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
+
function Ve() {
|
|
151
|
+
ae.value = [
|
|
150
152
|
{
|
|
151
153
|
title: D(
|
|
152
154
|
"message.dataupload.datasets.dcat:distribution.recommended.title"
|
|
153
155
|
),
|
|
154
|
-
items:
|
|
156
|
+
items: B.distributions.Recommended.map(
|
|
155
157
|
(a) => D(
|
|
156
158
|
`message.dataupload.datasets.dcat:distribution.recommended.${a}`
|
|
157
159
|
) || a
|
|
158
160
|
),
|
|
159
|
-
keys:
|
|
161
|
+
keys: B.distributions.Recommended
|
|
160
162
|
},
|
|
161
163
|
{
|
|
162
164
|
title: D("message.dataupload.datasets.dcat:distribution.advanced.title"),
|
|
163
|
-
items:
|
|
165
|
+
items: B.distributions.Advanced.map(
|
|
164
166
|
(a) => D(`message.dataupload.datasets.dcat:distribution.advanced.${a}`) || a
|
|
165
167
|
),
|
|
166
|
-
keys:
|
|
168
|
+
keys: B.distributions.Advanced
|
|
167
169
|
}
|
|
168
170
|
];
|
|
169
171
|
}
|
|
170
|
-
function
|
|
172
|
+
function de(a) {
|
|
171
173
|
var t, e, o;
|
|
172
|
-
(o = (e = (t =
|
|
174
|
+
(o = (e = (t = P.context) == null ? void 0 : t.node) == null ? void 0 : e.name) != null && o.includes("distribution") && (a.includes("dcat:distribution") || a.includes("dct:license")) && (ne.value || J(), ne.value = !1);
|
|
173
175
|
}
|
|
174
|
-
function
|
|
176
|
+
function J(a) {
|
|
175
177
|
let t = !0;
|
|
176
178
|
l.value = l.value.map((e) => {
|
|
177
179
|
var c;
|
|
178
|
-
const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" &&
|
|
180
|
+
const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && K(e["dcat:accessURL"]), s = ((c = e["dct:format"]) == null ? void 0 : c.label) != null && e["dct:format"].label.trim() !== "" && x.value.some(
|
|
179
181
|
(g) => g["@value"].toUpperCase() === e["dct:format"].label.toUpperCase()
|
|
180
182
|
), i = o && s;
|
|
181
183
|
return i || (t = !1), a === e.id ? {
|
|
@@ -189,53 +191,53 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
189
191
|
showErrorDownloadURL: !o,
|
|
190
192
|
showErrorFormat: !s
|
|
191
193
|
};
|
|
192
|
-
}), !t && l.value.length > 0 && (l.value[0].isValid = !1), a == null && (
|
|
194
|
+
}), !t && l.value.length > 0 && (l.value[0].isValid = !1), a == null && (j.value = !t), w.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
193
195
|
}
|
|
194
|
-
function
|
|
196
|
+
function E(a, t) {
|
|
195
197
|
var o, s, i;
|
|
196
198
|
let e = !0;
|
|
197
199
|
if (t === "dcat:accessURL")
|
|
198
|
-
e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ?
|
|
200
|
+
e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? K(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, ((s = a[t]) == null ? void 0 : s.trim()) === "" ? a.urlErrorMessage = "URL ist erforderlich" : a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein");
|
|
199
201
|
else if (t === "dct:format") {
|
|
200
202
|
const c = (i = a[t].label) == null ? void 0 : i.trim();
|
|
201
|
-
e = c !== "" &&
|
|
203
|
+
e = c !== "" && _.value.some(
|
|
202
204
|
(g) => g["@value"].toLowerCase() === c.toLowerCase()
|
|
203
205
|
), e ? (a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, c === "" ? a.formatErrorMessage = "Format ist erforderlich" : a.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
|
|
204
206
|
}
|
|
205
|
-
|
|
207
|
+
Ue();
|
|
206
208
|
}
|
|
207
|
-
function
|
|
209
|
+
function Ue() {
|
|
208
210
|
let a = !0;
|
|
209
211
|
l.value = l.value.map((t) => {
|
|
210
212
|
var i, c;
|
|
211
|
-
const e = ((i = t["dcat:accessURL"]) == null ? void 0 : i.trim()) !== "" &&
|
|
213
|
+
const e = ((i = t["dcat:accessURL"]) == null ? void 0 : i.trim()) !== "" && K(t["dcat:accessURL"]), o = ((c = t["dct:format"].label) == null ? void 0 : c.trim()) !== "" && $.value.some(
|
|
212
214
|
(g) => {
|
|
213
215
|
var h;
|
|
214
216
|
return g["@value"].toUpperCase() === ((h = t["dct:format"].label) == null ? void 0 : h.toUpperCase());
|
|
215
217
|
}
|
|
216
218
|
), s = e && o;
|
|
217
|
-
return s || (a = !1), {
|
|
219
|
+
return console.log(s), s || (a = !1), {
|
|
218
220
|
...t,
|
|
219
221
|
isValid: s
|
|
220
222
|
};
|
|
221
|
-
}), !a && l.value.length > 0 ? l.value[0].isValid = !1 : l.value.length > 0 && (l.value[0].isValid = !0),
|
|
223
|
+
}), !a && l.value.length > 0 ? l.value[0].isValid = !1 : l.value.length > 0 && (l.value[0].isValid = !0), j.value = !a, w.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
222
224
|
}
|
|
223
|
-
function
|
|
225
|
+
function K(a) {
|
|
224
226
|
return /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/i.test(a);
|
|
225
227
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}),
|
|
229
|
-
|
|
230
|
-
const a =
|
|
228
|
+
it(() => {
|
|
229
|
+
Ie.off("nextClicked", de), V.value && clearTimeout(V.value);
|
|
230
|
+
}), lt(async () => {
|
|
231
|
+
Ie.on("nextClicked", de);
|
|
232
|
+
const a = nt(), t = a.appContext.app.config.globalProperties.$env;
|
|
231
233
|
if (a) {
|
|
232
234
|
const e = a.appContext.app.config.globalProperties.$env;
|
|
233
|
-
|
|
235
|
+
W.value = e.content.dataProviderInterface.specification;
|
|
234
236
|
} else
|
|
235
237
|
console.log("Instance is null!");
|
|
236
238
|
try {
|
|
237
|
-
const e = await
|
|
238
|
-
|
|
239
|
+
const e = await vt(t.api.baseUrl);
|
|
240
|
+
x.value = e.results.map((o) => ({
|
|
239
241
|
"@value": o.pref_label.en,
|
|
240
242
|
uri: o.resource,
|
|
241
243
|
selected: !1
|
|
@@ -244,64 +246,74 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
244
246
|
error.value = e;
|
|
245
247
|
}
|
|
246
248
|
try {
|
|
247
|
-
const e = await
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
const e = await ht(t.api.baseUrl);
|
|
250
|
+
_.value = e.results.map((o) => ({
|
|
251
|
+
"@value": o.pref_label.en,
|
|
252
|
+
uri: o.resource,
|
|
253
|
+
selected: !1
|
|
254
|
+
}));
|
|
255
|
+
} catch (e) {
|
|
256
|
+
error.value = e;
|
|
257
|
+
}
|
|
258
|
+
try {
|
|
259
|
+
const e = await gt(t.api.baseUrl);
|
|
260
|
+
oe.value = e;
|
|
261
|
+
const o = await yt(t.api.baseUrl);
|
|
262
|
+
O.value = o;
|
|
263
|
+
const s = await kt(t.api.baseUrl);
|
|
264
|
+
se.value = s;
|
|
253
265
|
} catch (e) {
|
|
254
266
|
console.log(e);
|
|
255
267
|
}
|
|
256
|
-
|
|
268
|
+
Ve();
|
|
257
269
|
});
|
|
258
|
-
function
|
|
270
|
+
function Ce(a, t) {
|
|
259
271
|
const e = l.value.find((s) => s.id === t);
|
|
260
272
|
if (!e) return;
|
|
261
|
-
let o =
|
|
262
|
-
e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "",
|
|
273
|
+
let o = _.value.find((s) => s["@value"] === a).uri || "";
|
|
274
|
+
e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", E(e, "dct:format"), w.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
263
275
|
}
|
|
264
|
-
function
|
|
276
|
+
function ce(a, t) {
|
|
265
277
|
const e = l.value.find((o) => o.id === t);
|
|
266
278
|
e ? (e["dct:modified"] = a, n.value.dctModified = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
267
279
|
}
|
|
268
|
-
function
|
|
280
|
+
function re(a, t) {
|
|
269
281
|
const e = l.value.find((o) => o.id === t);
|
|
270
282
|
e ? (e["dct:issued"] = a, n.value.dctIssued = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
271
283
|
}
|
|
272
|
-
function
|
|
284
|
+
function ue(a, t) {
|
|
273
285
|
const e = l.value.find((o) => o.id === t);
|
|
274
286
|
e ? (e["dct:description"] = a, n.value.dctDescription = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
275
287
|
}
|
|
276
|
-
function
|
|
288
|
+
function me(a, t, e) {
|
|
277
289
|
const o = l.value.find((s) => s.id === t);
|
|
278
|
-
e || (e =
|
|
290
|
+
e || (console.log(O.value), e = O.value.find((s) => s.label === a).uri || ""), o ? (o["dcatap:availability"] = { label: { de: a }, uri: e }, n.value.availabilityText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
279
291
|
}
|
|
280
|
-
function
|
|
292
|
+
function fe(a, t) {
|
|
281
293
|
const e = l.value.find((o) => o.id === t);
|
|
282
294
|
e ? (e["adms:status"] = a, n.value.statusText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
283
295
|
}
|
|
284
|
-
function
|
|
285
|
-
|
|
296
|
+
function pe(a, t, e, o) {
|
|
297
|
+
ie.value = !0;
|
|
286
298
|
const s = l.value.find((i) => i.id === e);
|
|
287
|
-
o || (o =
|
|
299
|
+
o || (o = oe.value.find((i) => i.value === t).resource || ""), s ? (s.checksum.title = a, s.checksum["spdx:checksum"] = t, s.checksum.uri = o || "no URI", n.value.checksumText = a, n.value.checksumDropdownText = t, n.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
|
|
288
300
|
}
|
|
289
|
-
function
|
|
290
|
-
|
|
301
|
+
function ve(a, t, e) {
|
|
302
|
+
le.value = !0;
|
|
291
303
|
const o = l.value.find((s) => s.id === e);
|
|
292
304
|
o ? (o.changeLicense.title = a, o.changeLicense["dcterms:license"] = t, n.value.changeLicenseText = a, n.value.changeLicenseDropdownText = t) : console.warn(`No matching distribution found for ID ${e}.`);
|
|
293
305
|
}
|
|
294
|
-
function
|
|
306
|
+
function he(a, t, e) {
|
|
295
307
|
const o = l.value.find((s) => s.id === t);
|
|
296
|
-
e || (e =
|
|
308
|
+
e || (e = se.value.find((s) => s.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], n.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
297
309
|
}
|
|
298
|
-
function
|
|
310
|
+
function ge(a, t) {
|
|
299
311
|
const e = l.value.find((o) => o.id === t);
|
|
300
312
|
e ? (e["dcat:byteSize"] = a, n.value.byteSizeText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
301
313
|
}
|
|
302
|
-
function
|
|
314
|
+
function I(a, t, e) {
|
|
303
315
|
const o = l.value.find((i) => i.id === e);
|
|
304
|
-
let s =
|
|
316
|
+
let s = x.value.find((i) => i["@value"] === a).uri || "";
|
|
305
317
|
if (o)
|
|
306
318
|
switch (o[t] = { label: a, uri: s }, t) {
|
|
307
319
|
case "dcat:mediaType":
|
|
@@ -317,8 +329,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
317
329
|
else
|
|
318
330
|
console.warn(`No matching distribution found for ID ${e}.`);
|
|
319
331
|
}
|
|
320
|
-
function
|
|
321
|
-
|
|
332
|
+
function Re(a) {
|
|
333
|
+
y(
|
|
322
334
|
a,
|
|
323
335
|
"Konform zu Standard",
|
|
324
336
|
"conformsToItems",
|
|
@@ -326,8 +338,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
326
338
|
!0
|
|
327
339
|
);
|
|
328
340
|
}
|
|
329
|
-
function
|
|
330
|
-
|
|
341
|
+
function Ae(a) {
|
|
342
|
+
y(
|
|
331
343
|
a,
|
|
332
344
|
"Verfügbarkeit",
|
|
333
345
|
"dcatap:availability",
|
|
@@ -335,8 +347,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
335
347
|
!1
|
|
336
348
|
);
|
|
337
349
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
350
|
+
function Se(a) {
|
|
351
|
+
y(
|
|
340
352
|
a,
|
|
341
353
|
"Status",
|
|
342
354
|
"adms:status",
|
|
@@ -344,8 +356,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
344
356
|
!1
|
|
345
357
|
);
|
|
346
358
|
}
|
|
347
|
-
function
|
|
348
|
-
|
|
359
|
+
function Fe(a) {
|
|
360
|
+
y(
|
|
349
361
|
a,
|
|
350
362
|
"Größe in Bytes",
|
|
351
363
|
"dcat:byteSize",
|
|
@@ -354,7 +366,7 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
354
366
|
);
|
|
355
367
|
}
|
|
356
368
|
function $e(a) {
|
|
357
|
-
|
|
369
|
+
y(
|
|
358
370
|
a,
|
|
359
371
|
"Sprache",
|
|
360
372
|
"dct:language",
|
|
@@ -362,11 +374,11 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
362
374
|
!1
|
|
363
375
|
);
|
|
364
376
|
}
|
|
365
|
-
function
|
|
366
|
-
|
|
377
|
+
function q(a, t) {
|
|
378
|
+
y(t, a, a, !0, !1);
|
|
367
379
|
}
|
|
368
|
-
function
|
|
369
|
-
|
|
380
|
+
function Ee(a) {
|
|
381
|
+
y(
|
|
370
382
|
a,
|
|
371
383
|
"Regelwerk",
|
|
372
384
|
"policyItems",
|
|
@@ -374,8 +386,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
374
386
|
!0
|
|
375
387
|
);
|
|
376
388
|
}
|
|
377
|
-
function
|
|
378
|
-
|
|
389
|
+
function Me(a) {
|
|
390
|
+
y(
|
|
379
391
|
a,
|
|
380
392
|
"Dokumentation",
|
|
381
393
|
"documentations",
|
|
@@ -383,8 +395,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
383
395
|
!0
|
|
384
396
|
);
|
|
385
397
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
398
|
+
function Be(a) {
|
|
399
|
+
y(
|
|
388
400
|
a,
|
|
389
401
|
"Ausliefernder Datenservice",
|
|
390
402
|
"accessServices",
|
|
@@ -392,38 +404,38 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
392
404
|
!0
|
|
393
405
|
);
|
|
394
406
|
}
|
|
395
|
-
function
|
|
407
|
+
function ze(a, t, e) {
|
|
396
408
|
const o = w.value.DistributionSimple["dcat:distribution"].find((s) => s.id === t);
|
|
397
409
|
o["dcat:downloadURL"][0] != "init" ? o["dcat:downloadURL"][e] = { "@id": a } : o["dcat:downloadURL"][0] = { "@id": a };
|
|
398
410
|
}
|
|
399
|
-
function
|
|
400
|
-
|
|
411
|
+
function Pe(a) {
|
|
412
|
+
y(
|
|
401
413
|
a,
|
|
402
414
|
"Aktualisierungsdatum",
|
|
403
415
|
"dct:modified",
|
|
404
416
|
!1
|
|
405
417
|
);
|
|
406
418
|
}
|
|
407
|
-
function
|
|
408
|
-
|
|
419
|
+
function Ne(a) {
|
|
420
|
+
y(
|
|
409
421
|
a,
|
|
410
422
|
"Veröffentlichungsdatum",
|
|
411
423
|
"dct:issued",
|
|
412
424
|
!1
|
|
413
425
|
);
|
|
414
426
|
}
|
|
415
|
-
function
|
|
416
|
-
|
|
427
|
+
function Oe(a) {
|
|
428
|
+
y(
|
|
417
429
|
a,
|
|
418
430
|
"Beschreibung",
|
|
419
431
|
"dct:description",
|
|
420
432
|
!0
|
|
421
433
|
);
|
|
422
434
|
}
|
|
423
|
-
const
|
|
424
|
-
|
|
425
|
-
}),
|
|
426
|
-
function
|
|
435
|
+
const We = _e(() => W.value ? Le.getters["dpiStore/getNavSteps"](W.value) : {});
|
|
436
|
+
dt(We, (a) => {
|
|
437
|
+
}), te.value || P.context.node.input([{ isValid: "unset" }]);
|
|
438
|
+
function He() {
|
|
427
439
|
const a = Date.now();
|
|
428
440
|
l.value.push({
|
|
429
441
|
isValid: "unset",
|
|
@@ -457,9 +469,9 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
457
469
|
title: "",
|
|
458
470
|
"dcterms:license": ""
|
|
459
471
|
}
|
|
460
|
-
}),
|
|
472
|
+
}), J(a);
|
|
461
473
|
}
|
|
462
|
-
function
|
|
474
|
+
function je(a, t) {
|
|
463
475
|
const e = l.value.find((o) => o.id === a);
|
|
464
476
|
if (!e) {
|
|
465
477
|
console.error(`Distribution with ID ${a} not found`);
|
|
@@ -493,7 +505,7 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
493
505
|
}
|
|
494
506
|
});
|
|
495
507
|
}
|
|
496
|
-
function
|
|
508
|
+
function Je(a, t) {
|
|
497
509
|
const e = l.value.find((o) => o.id === a);
|
|
498
510
|
if (!e) {
|
|
499
511
|
console.error(`Distribution with ID ${a} not found`);
|
|
@@ -530,7 +542,7 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
530
542
|
}
|
|
531
543
|
});
|
|
532
544
|
}
|
|
533
|
-
function
|
|
545
|
+
function Ke(a, t) {
|
|
534
546
|
var o;
|
|
535
547
|
const e = l.value.find((s) => s.id === a);
|
|
536
548
|
if (!e) {
|
|
@@ -562,7 +574,7 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
562
574
|
}
|
|
563
575
|
});
|
|
564
576
|
}
|
|
565
|
-
function
|
|
577
|
+
function qe(a, t) {
|
|
566
578
|
var o;
|
|
567
579
|
const e = l.value.find((s) => s.id === a);
|
|
568
580
|
if (!e) {
|
|
@@ -594,18 +606,18 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
594
606
|
}
|
|
595
607
|
});
|
|
596
608
|
}
|
|
597
|
-
function
|
|
598
|
-
if (a === "deleteDataset" &&
|
|
609
|
+
function Ge(a) {
|
|
610
|
+
if (a === "deleteDataset" && k.value !== null) {
|
|
599
611
|
if (l.value.length === 1) {
|
|
600
|
-
|
|
612
|
+
H.value = !0;
|
|
601
613
|
return;
|
|
602
614
|
}
|
|
603
615
|
l.value = l.value.filter(
|
|
604
|
-
(t) => t.id !==
|
|
605
|
-
),
|
|
616
|
+
(t) => t.id !== k.value
|
|
617
|
+
), H.value = !1, k.value = null, J();
|
|
606
618
|
}
|
|
607
619
|
}
|
|
608
|
-
function
|
|
620
|
+
function Qe(a) {
|
|
609
621
|
const t = JSON.parse(a), e = l.value.find(
|
|
610
622
|
(o) => o.id === t.distributionId
|
|
611
623
|
);
|
|
@@ -615,9 +627,9 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
615
627
|
}
|
|
616
628
|
t.useUndefined ? e[t.optType] = void 0 : e[t.optType] = "";
|
|
617
629
|
}
|
|
618
|
-
function
|
|
630
|
+
function Xe(a) {
|
|
619
631
|
var e, o, s, i, c;
|
|
620
|
-
|
|
632
|
+
k.value = a;
|
|
621
633
|
const t = l.value.find((g) => g.id === a);
|
|
622
634
|
t && (n.value = {
|
|
623
635
|
button: "",
|
|
@@ -649,13 +661,13 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
649
661
|
conformsToItems: (t == null ? void 0 : t.conformsToItems) || [],
|
|
650
662
|
policyItems: (t == null ? void 0 : t.policyItems) || [],
|
|
651
663
|
downloadURL: (t == null ? void 0 : t.downloadURL) || []
|
|
652
|
-
},
|
|
664
|
+
}, F.value = !0, document.body.style.overflow = "hidden");
|
|
653
665
|
}
|
|
654
|
-
function
|
|
655
|
-
|
|
666
|
+
function Ye() {
|
|
667
|
+
F.value = !1, document.body.style.overflow = "auto";
|
|
656
668
|
}
|
|
657
|
-
function
|
|
658
|
-
|
|
669
|
+
function Ze(a) {
|
|
670
|
+
k.value = a;
|
|
659
671
|
const t = l.value.find((i) => i.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", s = t ? t["dcat:accessURL"] : "";
|
|
660
672
|
n.value = {
|
|
661
673
|
button: "Löschen",
|
|
@@ -669,83 +681,83 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
669
681
|
title: e,
|
|
670
682
|
format: o,
|
|
671
683
|
distributionLink: s
|
|
672
|
-
},
|
|
684
|
+
}, F.value = !0;
|
|
673
685
|
}
|
|
674
|
-
function
|
|
686
|
+
function y(a, t, e, o, s) {
|
|
675
687
|
const c = JSON.stringify({
|
|
676
688
|
distributionId: a,
|
|
677
689
|
optType: e,
|
|
678
690
|
useUndefined: o,
|
|
679
691
|
isArray: s
|
|
680
692
|
});
|
|
681
|
-
|
|
693
|
+
U.value = {
|
|
682
694
|
button: "Löschen",
|
|
683
695
|
header: `${t} löschen`,
|
|
684
696
|
text: `Sind Sie sicher, dass Sie das optionale Feld ${t} löschen wollen?`,
|
|
685
697
|
action: c
|
|
686
|
-
},
|
|
698
|
+
}, N.value = !0;
|
|
687
699
|
}
|
|
688
|
-
function
|
|
700
|
+
function G(a, t, e) {
|
|
689
701
|
var s, i, c, g;
|
|
690
702
|
const o = l.value.find((h) => h.id === e);
|
|
691
703
|
if (o)
|
|
692
704
|
if (t === "dcat:accessURL") {
|
|
693
705
|
const h = (s = a == null ? void 0 : a.target) == null ? void 0 : s.value;
|
|
694
|
-
o[t] = h,
|
|
695
|
-
|
|
706
|
+
o[t] = h, V.value && clearTimeout(V.value), V.value = setTimeout(() => {
|
|
707
|
+
E(o, t);
|
|
696
708
|
}, 800);
|
|
697
709
|
} else if (t === "dct:format") {
|
|
698
710
|
const h = typeof a == "string" ? a.trim() : (c = (i = a == null ? void 0 : a.target) == null ? void 0 : i.value) == null ? void 0 : c.trim();
|
|
699
711
|
if (o.showErrorFormat = !1, o.formatErrorMessage = "", h === "")
|
|
700
|
-
|
|
712
|
+
$.value = [..._.value];
|
|
701
713
|
else {
|
|
702
|
-
const b =
|
|
703
|
-
(
|
|
714
|
+
const b = _.value.find(
|
|
715
|
+
(T) => T["@value"].toLowerCase() === h.toLowerCase()
|
|
704
716
|
);
|
|
705
|
-
b ? (o[t] = { label: b["@value"], uri: b.uri }, o.showErrorFormat = !1, o.formatErrorMessage = "") : h === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: h, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."),
|
|
706
|
-
(
|
|
717
|
+
b ? (o[t] = { label: b["@value"], uri: b.uri }, o.showErrorFormat = !1, o.formatErrorMessage = "") : h === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: h, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), $.value = _.value.filter(
|
|
718
|
+
(T) => T["@value"].toLowerCase().includes(h.toLowerCase())
|
|
707
719
|
);
|
|
708
720
|
}
|
|
709
|
-
|
|
721
|
+
E(o, t);
|
|
710
722
|
} else
|
|
711
|
-
o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value,
|
|
723
|
+
o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, E(o, t);
|
|
712
724
|
}
|
|
713
|
-
function
|
|
725
|
+
function et(a, t) {
|
|
714
726
|
const e = l.value.find((o) => o.id === a);
|
|
715
727
|
e.documentations = e.documentations.filter(
|
|
716
728
|
(o) => t.some((s) => s.id === o.id)
|
|
717
729
|
);
|
|
718
730
|
}
|
|
719
|
-
function
|
|
731
|
+
function tt(a, t) {
|
|
720
732
|
const e = l.value.find((o) => o.id === a);
|
|
721
733
|
e.accessServices = e.accessServices.filter(
|
|
722
734
|
(o) => t.some((s) => s.id === o.id)
|
|
723
735
|
);
|
|
724
736
|
}
|
|
725
|
-
function
|
|
737
|
+
function at(a, t) {
|
|
726
738
|
const e = l.value.find((o) => o.id === a);
|
|
727
739
|
e.conformsToItems = e.conformsToItems.filter(
|
|
728
740
|
(o) => t.some((s) => s.id === o.id)
|
|
729
741
|
);
|
|
730
742
|
}
|
|
731
|
-
function
|
|
743
|
+
function ot(a, t) {
|
|
732
744
|
const e = l.value.find((o) => o.id === a);
|
|
733
745
|
e.policyItems = e.policyItems.filter(
|
|
734
746
|
(o) => t.some((s) => s.id === o.id)
|
|
735
747
|
);
|
|
736
748
|
}
|
|
737
|
-
return (a, t) => (r(), m(
|
|
738
|
-
f("div",
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
(r(!0), m(
|
|
742
|
-
var s, i, c, g, h, b,
|
|
749
|
+
return (a, t) => (r(), m(Q, null, [
|
|
750
|
+
f("div", Mt, [
|
|
751
|
+
S.inRap ? p("", !0) : (r(), m("h4", Bt, M(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
|
|
752
|
+
S.inRap ? p("", !0) : (r(), m("div", zt, M(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
|
|
753
|
+
(r(!0), m(Q, null, De(L(l), (e, o) => {
|
|
754
|
+
var s, i, c, g, h, b, T, be, we;
|
|
743
755
|
return r(), m("div", {
|
|
744
756
|
key: e.id,
|
|
745
757
|
class: "dpiV3AutoCompleteWrap"
|
|
746
758
|
}, [
|
|
747
|
-
f("div",
|
|
748
|
-
u(
|
|
759
|
+
f("div", Pt, [
|
|
760
|
+
u(Z, {
|
|
749
761
|
"add-on-text": !1,
|
|
750
762
|
datePicker: !1,
|
|
751
763
|
infoIcon: !0,
|
|
@@ -763,16 +775,16 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
763
775
|
showEndIcon: !1,
|
|
764
776
|
showError: e.showErrorDownloadURL,
|
|
765
777
|
"model-value": e["dcat:accessURL"],
|
|
766
|
-
onInput: (d) =>
|
|
778
|
+
onInput: (d) => G(d, "dcat:accessURL", e.id)
|
|
767
779
|
}, null, 8, ["placeholder", "label", "showError", "model-value", "onInput"]),
|
|
768
|
-
e.showErrorDownloadURL && e.urlErrorMessage ? (r(), m("div",
|
|
769
|
-
u(L(
|
|
780
|
+
e.showErrorDownloadURL && e.urlErrorMessage ? (r(), m("div", Nt, [
|
|
781
|
+
u(L(Y), {
|
|
770
782
|
size: 16,
|
|
771
783
|
weight: "fill"
|
|
772
784
|
}),
|
|
773
|
-
f("span",
|
|
785
|
+
f("span", Ot, M(e.urlErrorMessage), 1)
|
|
774
786
|
])) : p("", !0),
|
|
775
|
-
u(
|
|
787
|
+
u(xt, {
|
|
776
788
|
"dropdown-width": "large",
|
|
777
789
|
type: "inputField",
|
|
778
790
|
"input-field-props": {
|
|
@@ -793,20 +805,20 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
793
805
|
autocomplete: "true",
|
|
794
806
|
showError: e.showErrorFormat
|
|
795
807
|
},
|
|
796
|
-
data:
|
|
808
|
+
data: $.value,
|
|
797
809
|
autocomplete: !0,
|
|
798
|
-
onInput: (d) =>
|
|
799
|
-
"onUpdate:modelValue": (d) =>
|
|
810
|
+
onInput: (d) => G(d, "dct:format", e.id),
|
|
811
|
+
"onUpdate:modelValue": (d) => Ce(d, e.id),
|
|
800
812
|
"model-value": (s = e == null ? void 0 : e["dct:format"]) == null ? void 0 : s.label
|
|
801
813
|
}, null, 8, ["input-field-props", "data", "onInput", "onUpdate:modelValue", "model-value"]),
|
|
802
|
-
e.showErrorFormat && e.formatErrorMessage ? (r(), m("div",
|
|
803
|
-
u(L(
|
|
814
|
+
e.showErrorFormat && e.formatErrorMessage ? (r(), m("div", Wt, [
|
|
815
|
+
u(L(Y), {
|
|
804
816
|
size: 16,
|
|
805
817
|
weight: "fill"
|
|
806
818
|
}),
|
|
807
|
-
f("span",
|
|
819
|
+
f("span", Ht, M(e.formatErrorMessage), 1)
|
|
808
820
|
])) : p("", !0),
|
|
809
|
-
u(
|
|
821
|
+
u(Z, {
|
|
810
822
|
modelValue: e["dct:title"],
|
|
811
823
|
"onUpdate:modelValue": (d) => e["dct:title"] = d,
|
|
812
824
|
"add-on-text": !1,
|
|
@@ -822,49 +834,49 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
822
834
|
"message.dataupload.datasets.dcat:distribution.distribution-title.label"
|
|
823
835
|
),
|
|
824
836
|
"show-end-icon": !1,
|
|
825
|
-
onInput: (d) =>
|
|
837
|
+
onInput: (d) => G(d, "dct:title", e.id)
|
|
826
838
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
|
|
827
|
-
(e.documentations || []).length > 0 ? (r(), m("div",
|
|
828
|
-
f("div",
|
|
839
|
+
(e.documentations || []).length > 0 ? (r(), m("div", jt, [
|
|
840
|
+
f("div", Jt, [
|
|
829
841
|
t[6] || (t[6] = f("div", null, "Webpage (optional)", -1)),
|
|
830
842
|
f("div", null, [
|
|
831
|
-
u(
|
|
843
|
+
u(A, {
|
|
832
844
|
"button-text": "löschen",
|
|
833
|
-
onClick: (d) =>
|
|
845
|
+
onClick: (d) => Me(e.id)
|
|
834
846
|
}, null, 8, ["onClick"])
|
|
835
847
|
])
|
|
836
848
|
]),
|
|
837
|
-
f("div",
|
|
838
|
-
f("div",
|
|
839
|
-
u(
|
|
849
|
+
f("div", Kt, [
|
|
850
|
+
f("div", qt, [
|
|
851
|
+
u(Ct, {
|
|
840
852
|
documentations: e.documentations,
|
|
841
|
-
"file-types":
|
|
853
|
+
"file-types": x.value,
|
|
842
854
|
"distribution-id": e.id,
|
|
843
855
|
"as-card": !0,
|
|
844
856
|
"show-delete-button": !0,
|
|
845
|
-
onUpdate: (d) =>
|
|
857
|
+
onUpdate: (d) => et(e.id, d)
|
|
846
858
|
}, null, 8, ["documentations", "file-types", "distribution-id", "onUpdate"])
|
|
847
859
|
])
|
|
848
860
|
])
|
|
849
861
|
])) : p("", !0),
|
|
850
|
-
(e.accessServices || []).length > 0 ? (r(), m("div",
|
|
851
|
-
f("div",
|
|
862
|
+
(e.accessServices || []).length > 0 ? (r(), m("div", Gt, [
|
|
863
|
+
f("div", Qt, [
|
|
852
864
|
t[7] || (t[7] = f("div", null, "Ausliefernder Datenservice (optional)", -1)),
|
|
853
865
|
f("div", null, [
|
|
854
|
-
u(
|
|
866
|
+
u(A, {
|
|
855
867
|
"button-text": "löschen",
|
|
856
|
-
onClick: (d) =>
|
|
868
|
+
onClick: (d) => Be(e.id)
|
|
857
869
|
}, null, 8, ["onClick"])
|
|
858
870
|
])
|
|
859
871
|
]),
|
|
860
|
-
f("div",
|
|
861
|
-
f("div",
|
|
862
|
-
u(
|
|
872
|
+
f("div", Xt, [
|
|
873
|
+
f("div", Yt, [
|
|
874
|
+
u(_t, {
|
|
863
875
|
"access-services": e.accessServices,
|
|
864
876
|
"distribution-id": e.id,
|
|
865
877
|
"as-card": !0,
|
|
866
878
|
"show-delete-button": !0,
|
|
867
|
-
onUpdate: (d) =>
|
|
879
|
+
onUpdate: (d) => tt(
|
|
868
880
|
e.id,
|
|
869
881
|
d
|
|
870
882
|
)
|
|
@@ -872,24 +884,24 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
872
884
|
])
|
|
873
885
|
])
|
|
874
886
|
])) : p("", !0),
|
|
875
|
-
(r(!0), m(
|
|
876
|
-
f("div",
|
|
887
|
+
(r(!0), m(Q, { key: 4 }, De(e["dcat:downloadURL"], (d, C) => (r(), m("div", Zt, [
|
|
888
|
+
f("div", ea, [
|
|
877
889
|
t[8] || (t[8] = f("div", {
|
|
878
890
|
class: "dpiV3_label",
|
|
879
891
|
style: { margin: "0" }
|
|
880
892
|
}, "DownloadURL (optional)", -1)),
|
|
881
|
-
e["dcat:downloadURL"].length !== 1 ? (r(), m("div",
|
|
882
|
-
u(
|
|
893
|
+
e["dcat:downloadURL"].length !== 1 ? (r(), m("div", ta, [
|
|
894
|
+
u(A, {
|
|
883
895
|
"button-text": "löschen",
|
|
884
|
-
onClick: (
|
|
896
|
+
onClick: (R) => e["dcat:downloadURL"].splice(C, 1)
|
|
885
897
|
}, null, 8, ["onClick"])
|
|
886
898
|
])) : p("", !0)
|
|
887
899
|
]),
|
|
888
|
-
u(
|
|
889
|
-
onInput: (
|
|
890
|
-
|
|
900
|
+
u(Z, {
|
|
901
|
+
onInput: (R) => ze(
|
|
902
|
+
R.target.value,
|
|
891
903
|
e.id,
|
|
892
|
-
|
|
904
|
+
C
|
|
893
905
|
),
|
|
894
906
|
addOnText: !1,
|
|
895
907
|
datePicker: !1,
|
|
@@ -899,219 +911,219 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
899
911
|
inputFieldSize: "large",
|
|
900
912
|
initialHintText: !1,
|
|
901
913
|
label: "",
|
|
902
|
-
modelValue: e["dcat:downloadURL"][
|
|
903
|
-
"onUpdate:modelValue": (
|
|
914
|
+
modelValue: e["dcat:downloadURL"][C]["@id"],
|
|
915
|
+
"onUpdate:modelValue": (R) => e["dcat:downloadURL"][C]["@id"] = R,
|
|
904
916
|
showEndIcon: !1
|
|
905
917
|
}, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
|
|
906
|
-
|
|
907
|
-
u(
|
|
918
|
+
C === e["dcat:downloadURL"].length - 1 ? (r(), m("div", aa, [
|
|
919
|
+
u(z, {
|
|
908
920
|
buttonText: "Weitere DownloadURL hinzufügen",
|
|
909
921
|
size: "small",
|
|
910
922
|
iconStart: "plus",
|
|
911
923
|
variant: "tertiary",
|
|
912
|
-
onClick: (
|
|
924
|
+
onClick: (R) => e["dcat:downloadURL"].push({ "@id": "" })
|
|
913
925
|
}, null, 8, ["onClick"])
|
|
914
926
|
])) : p("", !0)
|
|
915
927
|
]))), 256)),
|
|
916
|
-
e["dct:modified"] && e["dct:modified"].trim() !== "" ? (r(), m("div",
|
|
917
|
-
u(
|
|
928
|
+
e["dct:modified"] && e["dct:modified"].trim() !== "" ? (r(), m("div", oa, [
|
|
929
|
+
u(St, {
|
|
918
930
|
"show-delete-button": !0,
|
|
919
931
|
"distribution-id": e.id,
|
|
920
932
|
"model-value": e["dct:modified"],
|
|
921
|
-
onAddModifiedDate:
|
|
922
|
-
onDeleteButtonClicked: (d) =>
|
|
933
|
+
onAddModifiedDate: ce,
|
|
934
|
+
onDeleteButtonClicked: (d) => Pe(e.id)
|
|
923
935
|
}, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
|
|
924
936
|
])) : p("", !0),
|
|
925
|
-
e["dct:issued"] && e["dct:issued"].trim() !== "" ? (r(), m("div",
|
|
926
|
-
u(
|
|
937
|
+
e["dct:issued"] && e["dct:issued"].trim() !== "" ? (r(), m("div", sa, [
|
|
938
|
+
u(Rt, {
|
|
927
939
|
"show-delete-button": !0,
|
|
928
940
|
"distribution-id": e.id,
|
|
929
941
|
"model-value": e["dct:issued"],
|
|
930
|
-
onAddIssuedDate:
|
|
931
|
-
onDeleteButtonClicked: (d) =>
|
|
942
|
+
onAddIssuedDate: re,
|
|
943
|
+
onDeleteButtonClicked: (d) => Ne(e.id)
|
|
932
944
|
}, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
|
|
933
945
|
])) : p("", !0),
|
|
934
|
-
|
|
935
|
-
u(
|
|
946
|
+
ct(f("div", ia, [
|
|
947
|
+
u(Ut, {
|
|
936
948
|
"distribution-id": e.id,
|
|
937
949
|
"description-text": e["dct:description"],
|
|
938
950
|
"show-delete-button": !0,
|
|
939
|
-
onAddDescription:
|
|
940
|
-
onDeleteDescription: (d) =>
|
|
951
|
+
onAddDescription: ue,
|
|
952
|
+
onDeleteDescription: (d) => Oe(e.id)
|
|
941
953
|
}, null, 8, ["distribution-id", "description-text", "onDeleteDescription"])
|
|
942
954
|
], 512), [
|
|
943
955
|
[
|
|
944
|
-
|
|
956
|
+
rt,
|
|
945
957
|
e["dct:description"] !== void 0 && e["dct:description"] !== ""
|
|
946
958
|
]
|
|
947
959
|
]),
|
|
948
|
-
e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (r(), m("div",
|
|
949
|
-
u(
|
|
960
|
+
e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (r(), m("div", la, [
|
|
961
|
+
u(Dt, {
|
|
950
962
|
"availability-text": e["dcatap:availability"].label.de,
|
|
951
963
|
"distribution-id": e.id,
|
|
952
964
|
"show-delete-button": !0,
|
|
953
|
-
onAddAvailability:
|
|
954
|
-
onDeleteButtonClicked: (d) =>
|
|
965
|
+
onAddAvailability: me,
|
|
966
|
+
onDeleteButtonClicked: (d) => Ae(e.id)
|
|
955
967
|
}, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
|
|
956
968
|
])) : p("", !0),
|
|
957
|
-
e["adms:status"]["@value"] && e["adms:status"]["@value"].trim() !== "" ? (r(), m("div",
|
|
958
|
-
u(
|
|
969
|
+
e["adms:status"]["@value"] && e["adms:status"]["@value"].trim() !== "" ? (r(), m("div", na, [
|
|
970
|
+
u($t, {
|
|
959
971
|
"status-text": e["adms:status"]["@value"],
|
|
960
972
|
"distribution-id": e.id,
|
|
961
973
|
"show-delete-button": !0,
|
|
962
|
-
onAddStatus:
|
|
963
|
-
onDeleteButtonClicked: (d) =>
|
|
974
|
+
onAddStatus: fe,
|
|
975
|
+
onDeleteButtonClicked: (d) => Se(e.id)
|
|
964
976
|
}, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
|
|
965
977
|
])) : p("", !0),
|
|
966
|
-
e.checksum["spdx:checksum"] != "" ? (r(), m("div",
|
|
967
|
-
u(
|
|
978
|
+
e.checksum["spdx:checksum"] != "" ? (r(), m("div", da, [
|
|
979
|
+
u(Lt, {
|
|
968
980
|
"checksum-text": e.checksum.title,
|
|
969
981
|
"checksum-dropdown-text": e.checksum["spdx:checksum"],
|
|
970
982
|
"distribution-id": e.id,
|
|
971
983
|
distIndex: o,
|
|
972
984
|
"checksum-u-r-i": e.checksum.uri,
|
|
973
985
|
"show-delete-button": !0,
|
|
974
|
-
onAddChecksum:
|
|
986
|
+
onAddChecksum: pe
|
|
975
987
|
}, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "distIndex", "checksum-u-r-i"])
|
|
976
988
|
])) : p("", !0),
|
|
977
|
-
|
|
978
|
-
u(
|
|
989
|
+
le.value ? (r(), m("div", ca, [
|
|
990
|
+
u(Tt, {
|
|
979
991
|
"change-license-text": e.changeLicense.title,
|
|
980
992
|
"change-license-dropdown-text": e.changeLicense["dcterms:license"],
|
|
981
993
|
"distribution-id": e.id,
|
|
982
994
|
"as-card": !0,
|
|
983
995
|
"show-delete-button": !0,
|
|
984
|
-
onAddChangeLicense:
|
|
996
|
+
onAddChangeLicense: ve
|
|
985
997
|
}, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
|
|
986
998
|
])) : p("", !0),
|
|
987
|
-
e.conformsToItems && e.conformsToItems.length > 0 ? (r(), m("div",
|
|
988
|
-
f("div",
|
|
999
|
+
e.conformsToItems && e.conformsToItems.length > 0 ? (r(), m("div", ra, [
|
|
1000
|
+
f("div", ua, [
|
|
989
1001
|
t[9] || (t[9] = f("div", null, "Konform zu Standard (optional)", -1)),
|
|
990
1002
|
f("div", null, [
|
|
991
|
-
u(
|
|
1003
|
+
u(A, {
|
|
992
1004
|
"button-text": "löschen",
|
|
993
|
-
onClick: (d) =>
|
|
1005
|
+
onClick: (d) => Re(e.id)
|
|
994
1006
|
}, null, 8, ["onClick"])
|
|
995
1007
|
])
|
|
996
1008
|
]),
|
|
997
|
-
u(
|
|
1009
|
+
u(Vt, {
|
|
998
1010
|
"conforms-to-items": e.conformsToItems,
|
|
999
1011
|
"distribution-id": e.id,
|
|
1000
1012
|
"as-card": !0,
|
|
1001
1013
|
"show-delete-button": !0,
|
|
1002
|
-
onUpdate: (d) =>
|
|
1014
|
+
onUpdate: (d) => at(e.id, d)
|
|
1003
1015
|
}, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
|
|
1004
1016
|
])) : p("", !0),
|
|
1005
|
-
((c = (i = e == null ? void 0 : e.policyItems) == null ? void 0 : i[0]) == null ? void 0 : c["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (r(), m("div",
|
|
1006
|
-
f("div",
|
|
1017
|
+
((c = (i = e == null ? void 0 : e.policyItems) == null ? void 0 : i[0]) == null ? void 0 : c["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (r(), m("div", ma, [
|
|
1018
|
+
f("div", fa, [
|
|
1007
1019
|
t[10] || (t[10] = f("div", null, "Regelwerk (optional)", -1)),
|
|
1008
1020
|
f("div", null, [
|
|
1009
|
-
u(
|
|
1021
|
+
u(A, {
|
|
1010
1022
|
"button-text": "löschen",
|
|
1011
|
-
onClick: (d) =>
|
|
1023
|
+
onClick: (d) => Ee(e.id)
|
|
1012
1024
|
}, null, 8, ["onClick"])
|
|
1013
1025
|
])
|
|
1014
1026
|
]),
|
|
1015
|
-
u(
|
|
1027
|
+
u(Ft, {
|
|
1016
1028
|
"policy-items": e.policyItems,
|
|
1017
1029
|
"distribution-id": e.id,
|
|
1018
1030
|
"as-card": !0,
|
|
1019
|
-
onUpdate: (d) =>
|
|
1031
|
+
onUpdate: (d) => ot(e.id, d)
|
|
1020
1032
|
}, null, 8, ["policy-items", "distribution-id", "onUpdate"])
|
|
1021
1033
|
])) : p("", !0),
|
|
1022
|
-
(h = (g = e["dct:language"]) == null ? void 0 : g[0]) != null && h.label || (
|
|
1023
|
-
u(
|
|
1034
|
+
(h = (g = e["dct:language"]) == null ? void 0 : g[0]) != null && h.label || (T = (b = e["dct:language"]) == null ? void 0 : b[0]) != null && T["@value"] && ((we = (be = e["dct:language"]) == null ? void 0 : be[0]) == null ? void 0 : we["@value"].trim()) !== "" ? (r(), m("div", pa, [
|
|
1035
|
+
u(At, {
|
|
1024
1036
|
"distribution-id": e.id,
|
|
1025
1037
|
"show-delete-button": !1,
|
|
1026
|
-
onAddLanguage:
|
|
1038
|
+
onAddLanguage: he,
|
|
1027
1039
|
onDeleteButtonClicked: (d) => $e(e.id),
|
|
1028
1040
|
inOverview: !0
|
|
1029
1041
|
}, null, 8, ["distribution-id", "onDeleteButtonClicked"])
|
|
1030
1042
|
])) : p("", !0),
|
|
1031
|
-
e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (r(), m("div",
|
|
1032
|
-
u(
|
|
1043
|
+
e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (r(), m("div", va, [
|
|
1044
|
+
u(It, {
|
|
1033
1045
|
"byte-size-prop": e["dcat:byteSize"],
|
|
1034
1046
|
"distribution-id": e.id,
|
|
1035
1047
|
"show-delete-button": !0,
|
|
1036
|
-
onAddByteSize:
|
|
1037
|
-
onDeleteButtonClicked: (d) =>
|
|
1048
|
+
onAddByteSize: ge,
|
|
1049
|
+
onDeleteButtonClicked: (d) => Fe(e.id)
|
|
1038
1050
|
}, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
|
|
1039
1051
|
])) : p("", !0),
|
|
1040
|
-
e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (r(), m("div",
|
|
1041
|
-
u(
|
|
1052
|
+
e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (r(), m("div", ha, [
|
|
1053
|
+
u(ee, {
|
|
1042
1054
|
"distribution-id": e.id,
|
|
1043
|
-
"file-types":
|
|
1055
|
+
"file-types": x.value,
|
|
1044
1056
|
"file-format-type": "dcat:mediaType",
|
|
1045
1057
|
"file-format-text": e["dcat:mediaType"].label,
|
|
1046
1058
|
"show-delete-button": !0,
|
|
1047
|
-
onAddMediaType:
|
|
1048
|
-
onDeleteButtonClicked: t[0] || (t[0] = (d) =>
|
|
1059
|
+
onAddMediaType: I,
|
|
1060
|
+
onDeleteButtonClicked: t[0] || (t[0] = (d) => q("dcat:mediaType", k.value))
|
|
1049
1061
|
}, null, 8, ["distribution-id", "file-types", "file-format-text"])
|
|
1050
1062
|
])) : p("", !0),
|
|
1051
|
-
e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (r(), m("div",
|
|
1052
|
-
u(
|
|
1063
|
+
e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (r(), m("div", ga, [
|
|
1064
|
+
u(ee, {
|
|
1053
1065
|
"distribution-id": e.id,
|
|
1054
|
-
"file-types":
|
|
1066
|
+
"file-types": x.value,
|
|
1055
1067
|
"file-format-type": "dcat:compressFormat",
|
|
1056
1068
|
"compress-format-text": e["dcat:compressFormat"].label,
|
|
1057
1069
|
"show-delete-button": !0,
|
|
1058
|
-
onAddCompressFormat:
|
|
1059
|
-
onDeleteButtonClicked: t[1] || (t[1] = (d) =>
|
|
1070
|
+
onAddCompressFormat: I,
|
|
1071
|
+
onDeleteButtonClicked: t[1] || (t[1] = (d) => q("dcat:compressFormat", k.value))
|
|
1060
1072
|
}, null, 8, ["distribution-id", "file-types", "compress-format-text"])
|
|
1061
1073
|
])) : p("", !0),
|
|
1062
|
-
e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (r(), m("div",
|
|
1063
|
-
u(
|
|
1074
|
+
e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (r(), m("div", ya, [
|
|
1075
|
+
u(ee, {
|
|
1064
1076
|
"distribution-id": e.id,
|
|
1065
|
-
"file-types":
|
|
1077
|
+
"file-types": x.value,
|
|
1066
1078
|
"file-format-type": "dcat:packageFormat",
|
|
1067
1079
|
"package-format-text": e["dcat:packageFormat"].label,
|
|
1068
1080
|
"show-delete-button": !0,
|
|
1069
|
-
onAddPackageFormat:
|
|
1070
|
-
onDeleteButtonClicked: t[2] || (t[2] = (d) =>
|
|
1081
|
+
onAddPackageFormat: I,
|
|
1082
|
+
onDeleteButtonClicked: t[2] || (t[2] = (d) => q("dcat:packageFormat", k.value))
|
|
1071
1083
|
}, null, 8, ["distribution-id", "file-types", "package-format-text"])
|
|
1072
1084
|
])) : p("", !0),
|
|
1073
|
-
|
|
1085
|
+
H.value && L(l).length === 1 ? (r(), m("p", ka, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
|
|
1074
1086
|
]),
|
|
1075
|
-
f("div",
|
|
1076
|
-
u(
|
|
1087
|
+
f("div", xa, [
|
|
1088
|
+
u(z, {
|
|
1077
1089
|
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
|
|
1078
1090
|
size: "small",
|
|
1079
1091
|
"icon-start": "PlusSquare",
|
|
1080
1092
|
variant: "tertiary",
|
|
1081
|
-
onClick: (d) =>
|
|
1093
|
+
onClick: (d) => Xe(e.id)
|
|
1082
1094
|
}, null, 8, ["button-text", "onClick"]),
|
|
1083
|
-
L(l).length > 1 ? (r(),
|
|
1095
|
+
L(l).length > 1 ? (r(), X(z, {
|
|
1084
1096
|
key: 0,
|
|
1085
1097
|
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.delete"),
|
|
1086
1098
|
size: "small",
|
|
1087
1099
|
"icon-start": "trash",
|
|
1088
1100
|
variant: "tertiary",
|
|
1089
|
-
onClick: (d) =>
|
|
1101
|
+
onClick: (d) => Ze(e.id)
|
|
1090
1102
|
}, null, 8, ["button-text", "onClick"])) : p("", !0)
|
|
1091
1103
|
])
|
|
1092
1104
|
]);
|
|
1093
1105
|
}), 128)),
|
|
1094
|
-
f("div",
|
|
1095
|
-
u(
|
|
1106
|
+
f("div", ba, [
|
|
1107
|
+
u(z, {
|
|
1096
1108
|
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
|
|
1097
1109
|
size: "large",
|
|
1098
1110
|
"icon-start": "plus",
|
|
1099
1111
|
variant: "tertiary",
|
|
1100
|
-
onClick:
|
|
1112
|
+
onClick: He
|
|
1101
1113
|
}, null, 8, ["button-text"])
|
|
1102
1114
|
]),
|
|
1103
|
-
|
|
1104
|
-
u(L(
|
|
1115
|
+
j.value ? (r(), m("div", wa, [
|
|
1116
|
+
u(L(Y), {
|
|
1105
1117
|
size: 16,
|
|
1106
1118
|
weight: "fill"
|
|
1107
1119
|
}),
|
|
1108
1120
|
t[11] || (t[11] = f("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
|
|
1109
1121
|
])) : p("", !0)
|
|
1110
1122
|
]),
|
|
1111
|
-
|
|
1123
|
+
F.value ? (r(), X(wt, {
|
|
1112
1124
|
key: 0,
|
|
1113
|
-
"distibution-id":
|
|
1114
|
-
"file-types":
|
|
1125
|
+
"distibution-id": k.value,
|
|
1126
|
+
"file-types": x.value,
|
|
1115
1127
|
buttons: n.value.button,
|
|
1116
1128
|
"header-text": n.value.header,
|
|
1117
1129
|
text: n.value.text,
|
|
@@ -1123,8 +1135,8 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
1123
1135
|
title: n.value.title,
|
|
1124
1136
|
format: n.value.format,
|
|
1125
1137
|
"distribution-link": n.value.distributionLink,
|
|
1126
|
-
sections:
|
|
1127
|
-
context:
|
|
1138
|
+
sections: ae.value,
|
|
1139
|
+
context: S.context,
|
|
1128
1140
|
"distribution-id": n.value.distributionId,
|
|
1129
1141
|
"modified-date": n.value.dctModified || "",
|
|
1130
1142
|
"issued-date": n.value.dctIssued || "",
|
|
@@ -1145,38 +1157,38 @@ const Ft = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
|
|
|
1145
1157
|
"conforms-to-items": n.value.conformsToItems,
|
|
1146
1158
|
"policy-items": n.value.policyItems,
|
|
1147
1159
|
"download-URL": n.value.downloadURL,
|
|
1148
|
-
onClose:
|
|
1149
|
-
onActionHandling: t[3] || (t[3] = (e) =>
|
|
1150
|
-
onAddDocumentations:
|
|
1151
|
-
onAddAccessServices:
|
|
1152
|
-
onAddModifiedDate:
|
|
1153
|
-
onAddIssuedDate:
|
|
1154
|
-
onAddDescription:
|
|
1160
|
+
onClose: Ye,
|
|
1161
|
+
onActionHandling: t[3] || (t[3] = (e) => Ge(e)),
|
|
1162
|
+
onAddDocumentations: je,
|
|
1163
|
+
onAddAccessServices: Je,
|
|
1164
|
+
onAddModifiedDate: ce,
|
|
1165
|
+
onAddIssuedDate: re,
|
|
1166
|
+
onAddDescription: ue,
|
|
1155
1167
|
onAddAccessRights: a.handleAccessRights,
|
|
1156
|
-
onAddAvailability:
|
|
1157
|
-
onAddLanguage:
|
|
1158
|
-
onAddByteSize:
|
|
1159
|
-
onAddMediaType:
|
|
1160
|
-
onAddCompressFormat:
|
|
1161
|
-
onAddPackageFormat:
|
|
1162
|
-
onAddStatus:
|
|
1163
|
-
onAddChecksum:
|
|
1164
|
-
onAddChangeLicense:
|
|
1165
|
-
onAddConformsToItems:
|
|
1166
|
-
onAddPolicyItems:
|
|
1168
|
+
onAddAvailability: me,
|
|
1169
|
+
onAddLanguage: he,
|
|
1170
|
+
onAddByteSize: ge,
|
|
1171
|
+
onAddMediaType: I,
|
|
1172
|
+
onAddCompressFormat: I,
|
|
1173
|
+
onAddPackageFormat: I,
|
|
1174
|
+
onAddStatus: fe,
|
|
1175
|
+
onAddChecksum: pe,
|
|
1176
|
+
onAddChangeLicense: ve,
|
|
1177
|
+
onAddConformsToItems: Ke,
|
|
1178
|
+
onAddPolicyItems: qe
|
|
1167
1179
|
}, null, 8, ["distibution-id", "file-types", "buttons", "header-text", "text", "show-buttons", "optional-info-view", "documentations", "access-services", "action", "title", "format", "distribution-link", "sections", "context", "distribution-id", "modified-date", "issued-date", "description-text", "access-rights-text", "availability-text", "language-text", "byte-size-text", "media-type-text", "compress-format-text", "package-format-text", "status-text", "checksum-text", "checksum-u-r-i", "checksum-dropdown-text", "change-license-text", "change-license-dropdown-text", "conforms-to-items", "policy-items", "download-URL", "onAddAccessRights"])) : p("", !0),
|
|
1168
|
-
|
|
1180
|
+
N.value ? (r(), X(bt, {
|
|
1169
1181
|
key: 1,
|
|
1170
|
-
buttons:
|
|
1171
|
-
"header-text":
|
|
1172
|
-
text:
|
|
1173
|
-
action:
|
|
1174
|
-
onClose: t[4] || (t[4] = (e) =>
|
|
1175
|
-
onActionHandling: t[5] || (t[5] = (e) =>
|
|
1182
|
+
buttons: U.value.button,
|
|
1183
|
+
"header-text": U.value.header,
|
|
1184
|
+
text: U.value.text,
|
|
1185
|
+
action: U.value.action,
|
|
1186
|
+
onClose: t[4] || (t[4] = (e) => N.value = !1),
|
|
1187
|
+
onActionHandling: t[5] || (t[5] = (e) => Qe(e))
|
|
1176
1188
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
1177
1189
|
], 64));
|
|
1178
1190
|
}
|
|
1179
|
-
},
|
|
1191
|
+
}, oo = /* @__PURE__ */ Et(_a, [["__scopeId", "data-v-5d32bc84"]]);
|
|
1180
1192
|
export {
|
|
1181
|
-
|
|
1193
|
+
oo as default
|
|
1182
1194
|
};
|