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