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