@piveau/dpi 0.1.0-beta.46 → 0.1.0-beta.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +4 -6
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +316 -302
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +32 -36
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +120 -105
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +40 -40
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +44 -48
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +57 -61
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +61 -45
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +394 -378
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
- package/dist/data-provider-interface/components/DistLicense.vue.js +107 -96
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +293 -274
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +2 -2
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +174 -177
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +196 -192
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +5 -5
- package/package.json +1 -1
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import { ref as i, watch as
|
|
2
|
-
import
|
|
1
|
+
import { ref as i, watch as Je, onMounted as Ke, getCurrentInstance as Qe, createElementBlock as u, openBlock as o, Fragment as D, createCommentVNode as d, createElementVNode as p, normalizeClass as S, createVNode as y, toDisplayString as h, renderList as Ve, createBlock as g } from "vue";
|
|
2
|
+
import Xe from "./TextButtonSmall.vue.js";
|
|
3
3
|
import C from "./ButtonV3.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { getPlannedAvailability as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
4
|
+
import ne from "./CrossOutButton.vue.js";
|
|
5
|
+
import Ye from "./CloseOpenButtonV3.vue.js";
|
|
6
|
+
import { getPlannedAvailability as et, getLanguages as tt } from "../services/dpiV3_apis.js";
|
|
7
|
+
import at from "./OptionalInformation/DocumentationsV3.vue.js";
|
|
8
|
+
import it from "./OptionalInformation/ModifiedDateV3.vue.js";
|
|
9
|
+
import st from "./OptionalInformation/DescriptionV3.vue.js";
|
|
10
|
+
import ot from "./OptionalInformation/AvailabilityV3.vue.js";
|
|
11
|
+
import lt from "./OptionalInformation/ByteSizeV3.vue.js";
|
|
12
|
+
import dt from "./OptionalInformation/IssuedDateV3.vue.js";
|
|
13
|
+
import nt from "./OptionalInformation/LanguageV3.vue.js";
|
|
14
|
+
import re from "./OptionalInformation/FileFormatV3.vue.js";
|
|
15
|
+
import rt from "./OptionalInformation/StatusV3.vue.js";
|
|
16
|
+
import ut from "./OptionalInformation/ChecksumV3.vue.js";
|
|
17
|
+
import ct from "./OptionalInformation/ConformsToV3.vue.js";
|
|
18
|
+
import mt from "./OptionalInformation/PolicyV3.vue.js";
|
|
19
|
+
import pt from "./OptionalInformation/AccessServiceV3.vue.js";
|
|
20
|
+
import ft from "./OptionalInformation/ChangeLicenseV3.vue.js";
|
|
21
21
|
/* empty css */
|
|
22
|
-
const
|
|
22
|
+
const vt = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "dpiV3_modalBackground"
|
|
25
|
-
},
|
|
25
|
+
}, yt = { class: "dpiV3_modalHeaderWrap" }, ht = { class: "dpiV3_modalText" }, kt = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
|
|
28
|
-
},
|
|
28
|
+
}, gt = { class: "dpiV3_LinkInfos" }, bt = {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: "dpiV3_title"
|
|
31
|
-
},
|
|
31
|
+
}, Tt = {
|
|
32
32
|
key: 1,
|
|
33
33
|
class: "dpiV3_title"
|
|
34
|
-
},
|
|
34
|
+
}, Vt = {
|
|
35
35
|
key: 2,
|
|
36
36
|
class: "dpiV3_File-Format copy-small-regular"
|
|
37
|
-
},
|
|
37
|
+
}, It = {
|
|
38
38
|
key: 0,
|
|
39
39
|
class: "dpiV3_modalButtonWrap"
|
|
40
40
|
}, _t = {
|
|
41
41
|
key: 1,
|
|
42
42
|
class: "dpiV3_optionalInfoContent"
|
|
43
|
-
},
|
|
43
|
+
}, xt = { class: "dpiV3_ListMetaData" }, Dt = { class: "dpiV3_title-description" }, Ct = { class: "dpiV3_group-title" }, Lt = { class: "dpiV3_caret" }, wt = ["onClick"], Ut = {
|
|
44
44
|
key: 1,
|
|
45
45
|
class: "dpiV3_sectionDivider"
|
|
46
|
-
},
|
|
46
|
+
}, Ft = {
|
|
47
47
|
key: 1,
|
|
48
48
|
class: "dpiV3_modalBackground"
|
|
49
49
|
}, At = { class: "dpiV3_modalHeaderWrap" }, St = {
|
|
50
50
|
key: 0,
|
|
51
51
|
class: "dpiV3_modalContent"
|
|
52
|
-
},
|
|
52
|
+
}, Rt = {
|
|
53
53
|
key: 1,
|
|
54
54
|
class: "dpiV3_modalContent"
|
|
55
|
-
},
|
|
55
|
+
}, qt = {
|
|
56
56
|
key: 2,
|
|
57
57
|
class: "dpiV3_modalContent"
|
|
58
|
-
},
|
|
58
|
+
}, Bt = {
|
|
59
59
|
key: 3,
|
|
60
60
|
class: "dpiV3_modified"
|
|
61
|
-
},
|
|
61
|
+
}, zt = {
|
|
62
62
|
key: 4,
|
|
63
63
|
class: "dpiV3_modified"
|
|
64
|
-
},
|
|
64
|
+
}, Mt = {
|
|
65
65
|
key: 5,
|
|
66
66
|
class: "dpiV3_modified"
|
|
67
|
-
},
|
|
67
|
+
}, Pt = {
|
|
68
68
|
key: 6,
|
|
69
69
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
70
70
|
}, $t = {
|
|
71
71
|
key: 7,
|
|
72
72
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
73
|
-
},
|
|
73
|
+
}, Wt = {
|
|
74
74
|
key: 11,
|
|
75
75
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
76
|
-
},
|
|
76
|
+
}, Et = {
|
|
77
77
|
key: 12,
|
|
78
78
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
79
|
-
},
|
|
79
|
+
}, Ot = { class: "dpiV3_modalButtonWrap" }, Ht = {
|
|
80
80
|
key: 2,
|
|
81
81
|
class: "dpiV3_modalBackground"
|
|
82
|
-
},
|
|
82
|
+
}, Nt = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, jt = { class: "dpiV3_modalHeaderWrap" }, Zt = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, Gt = { class: "dpiV3_LinkInfos" }, Jt = {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: "dpiV3_title"
|
|
85
|
-
},
|
|
85
|
+
}, Kt = {
|
|
86
86
|
key: 1,
|
|
87
87
|
class: "dpiV3_title"
|
|
88
|
-
},
|
|
88
|
+
}, Qt = {
|
|
89
89
|
key: 2,
|
|
90
90
|
class: "dpiV3_title"
|
|
91
|
-
},
|
|
91
|
+
}, Xt = { class: "dpiV3_modalButtonWrap" }, ba = {
|
|
92
92
|
__name: "ModalV3",
|
|
93
93
|
props: {
|
|
94
94
|
headerText: { type: String, required: !0 },
|
|
@@ -148,249 +148,261 @@ const ft = {
|
|
|
148
148
|
"addChecksum",
|
|
149
149
|
"addChangeLicense"
|
|
150
150
|
],
|
|
151
|
-
setup(
|
|
152
|
-
const e =
|
|
151
|
+
setup(f, { emit: Ie }) {
|
|
152
|
+
const e = f, R = i(null), q = i(null), B = i(null), z = i(null), M = i(null), P = i(null), v = Ie, $ = i(!1), W = i(!1), E = i(!1), O = i(!1), H = i(!1), N = i(!1), j = i(!1);
|
|
153
153
|
i(!1);
|
|
154
|
-
const
|
|
154
|
+
const ue = i(!1), Z = i(!1), G = i(!1), J = i(!1), K = i(!1), Q = i(!1), X = i(!1), Y = i(!1), ee = i(!1), te = i(!1), _ = i([]), n = i({ key: "", text: "" }), _e = i(null), ae = i(!1), L = i(null), ie = i(null);
|
|
155
155
|
i([...e.fileTypes]);
|
|
156
|
-
const
|
|
156
|
+
const xe = i([]), De = i([]);
|
|
157
157
|
i(null);
|
|
158
|
-
const
|
|
158
|
+
const Ce = i(!1), ce = i(""), me = i(""), pe = i(""), Le = i(""), b = i({}), T = i({}), V = i({}), I = i({}), fe = i(""), ve = i(""), ye = i(""), he = i(0), ke = i(""), ge = i(""), be = i(""), w = i(""), U = i(""), we = i(""), F = i(""), A = i(""), se = i(!0);
|
|
159
159
|
i(!0);
|
|
160
|
-
const
|
|
161
|
-
|
|
160
|
+
const Ue = (a, t) => {
|
|
161
|
+
se.value = !1, n.value = {
|
|
162
162
|
key: e.sections[a].keys[t],
|
|
163
163
|
text: e.sections[a].items[t]
|
|
164
164
|
}, b.value[e.distributionId] || (b.value[e.distributionId] = []), T.value[e.distributionId] || (T.value[e.distributionId] = []), V.value[e.distributionId] || (V.value[e.distributionId] = []), I.value[e.distributionId] || (I.value[e.distributionId] = []);
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
},
|
|
165
|
+
}, oe = () => {
|
|
166
|
+
se.value = !0, n.value = { key: "", text: "" };
|
|
167
|
+
}, Fe = () => {
|
|
168
168
|
const a = (t) => {
|
|
169
169
|
if (!t || t.trim() === "") return !1;
|
|
170
|
-
const
|
|
171
|
-
return /\.[a-zA-Z]{2,}$/.test(
|
|
170
|
+
const r = t.trim();
|
|
171
|
+
return /\.[a-zA-Z]{2,}$/.test(r);
|
|
172
172
|
};
|
|
173
|
-
if (
|
|
173
|
+
if (E.value) {
|
|
174
174
|
const t = V.value[e.distributionId] || [];
|
|
175
|
-
if (t.some((
|
|
176
|
-
const s =
|
|
177
|
-
return !!(s && (!
|
|
175
|
+
if (t.some((l) => {
|
|
176
|
+
const s = l["dct:title"] && l["dct:title"].trim() !== "", m = l["dcat:downloadURL"] ? l["dcat:downloadURL"].trim() : "";
|
|
177
|
+
return !!(s && (!m || !a(m)) || m && !a(m));
|
|
178
178
|
})) {
|
|
179
179
|
R.value && R.value.validateAllItems();
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
const s =
|
|
184
|
-
return s ||
|
|
182
|
+
const c = t.filter((l) => {
|
|
183
|
+
const s = l["dct:title"] && l["dct:title"].trim() !== "", m = l["dcat:downloadURL"] && l["dcat:downloadURL"].trim() !== "" && a(l["dcat:downloadURL"].trim());
|
|
184
|
+
return s || m;
|
|
185
185
|
});
|
|
186
|
-
|
|
186
|
+
c.length > 0 && v(
|
|
187
187
|
"addConformsToItems",
|
|
188
188
|
e.distributionId,
|
|
189
|
-
|
|
190
|
-
),
|
|
189
|
+
c
|
|
190
|
+
), E.value = !1;
|
|
191
|
+
}
|
|
192
|
+
if (O.value) {
|
|
193
|
+
const t = I.value[e.distributionId] || [];
|
|
194
|
+
if (t.some((l) => {
|
|
195
|
+
const s = l["dcat:downloadURL"] ? l["dcat:downloadURL"].trim() : "";
|
|
196
|
+
return !!(s && !a(s));
|
|
197
|
+
})) {
|
|
198
|
+
P.value && P.value.validateAllItems();
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const c = t.filter((l) => l["dcat:downloadURL"] && l["dcat:downloadURL"].trim() !== "" && a(l["dcat:downloadURL"].trim()));
|
|
202
|
+
c.length > 0 && v("addPolicyItems", e.distributionId, c), O.value = !1;
|
|
191
203
|
}
|
|
192
204
|
if ($.value) {
|
|
193
|
-
const t = b.value[e.distributionId] || [],
|
|
194
|
-
const
|
|
195
|
-
return
|
|
205
|
+
const t = b.value[e.distributionId] || [], r = (s) => {
|
|
206
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0);
|
|
207
|
+
return m || k || x;
|
|
196
208
|
};
|
|
197
209
|
if (t.some((s) => {
|
|
198
|
-
const
|
|
199
|
-
return !!(
|
|
210
|
+
const m = s["dcat:accessURL"] ? s["dcat:accessURL"].trim() : "";
|
|
211
|
+
return !!(r(s) && (!m || !a(m)) || m && !a(m));
|
|
200
212
|
})) {
|
|
201
213
|
q.value && q.value.validateAllItems();
|
|
202
214
|
return;
|
|
203
215
|
}
|
|
204
|
-
const
|
|
205
|
-
const
|
|
206
|
-
return
|
|
216
|
+
const l = t.filter((s) => {
|
|
217
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0), Ge = s["dcat:accessURL"] && s["dcat:accessURL"].trim() !== "" && a(s["dcat:accessURL"].trim());
|
|
218
|
+
return m || k || x || Ge;
|
|
207
219
|
});
|
|
208
|
-
|
|
220
|
+
l.length > 0 && v(
|
|
209
221
|
"addDocumentations",
|
|
210
222
|
e.distributionId,
|
|
211
|
-
|
|
223
|
+
l
|
|
212
224
|
), $.value = !1;
|
|
213
225
|
}
|
|
214
|
-
if (
|
|
215
|
-
const t = T.value[e.distributionId] || [],
|
|
216
|
-
const
|
|
217
|
-
return
|
|
226
|
+
if (W.value) {
|
|
227
|
+
const t = T.value[e.distributionId] || [], r = (s) => {
|
|
228
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "";
|
|
229
|
+
return m || k;
|
|
218
230
|
};
|
|
219
231
|
if (t.some((s) => {
|
|
220
|
-
const
|
|
221
|
-
return !!(
|
|
232
|
+
const m = s["dcat:downloadURL"] ? s["dcat:downloadURL"].trim() : "";
|
|
233
|
+
return !!(r(s) && (!m || !a(m)) || m && !a(m));
|
|
222
234
|
})) {
|
|
223
235
|
B.value && B.value.validateAllItems();
|
|
224
236
|
return;
|
|
225
237
|
}
|
|
226
|
-
const
|
|
227
|
-
const
|
|
228
|
-
return
|
|
238
|
+
const l = t.filter((s) => {
|
|
239
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dcat:downloadURL"] && s["dcat:downloadURL"].trim() !== "" && a(s["dcat:downloadURL"].trim());
|
|
240
|
+
return m || k || x;
|
|
229
241
|
});
|
|
230
|
-
|
|
242
|
+
l.length > 0 && v(
|
|
231
243
|
"addAccessServices",
|
|
232
244
|
e.distributionId,
|
|
233
|
-
|
|
234
|
-
),
|
|
245
|
+
l
|
|
246
|
+
), W.value = !1;
|
|
235
247
|
}
|
|
236
|
-
if (
|
|
237
|
-
const t =
|
|
238
|
-
if ((t ||
|
|
248
|
+
if (H.value && (v("addModifiedDate", ce.value, e.distributionId), H.value = !1), N.value && (v("addIssuedDate", me.value, e.distributionId), N.value = !1), j.value && (v("addDescription", pe.value, e.distributionId), j.value = !1), ue.value && (v("addAccessRights", Le.value, e.distributionId), ue.value = !1), Z.value && (v("addAvailability", fe.value, e.distributionId, e.uri), Z.value = !1), Y.value && (v("addStatus", ve.value, e.distributionId), Y.value = !1), ee.value) {
|
|
249
|
+
const t = w.value && w.value.trim() !== "", r = U.value && U.value.trim() !== "";
|
|
250
|
+
if ((t || r) && (!t || !r)) {
|
|
239
251
|
z.value && z.value.validateAllItems();
|
|
240
252
|
return;
|
|
241
253
|
}
|
|
242
|
-
t &&
|
|
254
|
+
t && r && v(
|
|
243
255
|
"addChecksum",
|
|
244
|
-
F.value,
|
|
245
256
|
w.value,
|
|
257
|
+
U.value,
|
|
246
258
|
e.distributionId,
|
|
247
|
-
|
|
248
|
-
),
|
|
259
|
+
we.value
|
|
260
|
+
), ee.value = !1;
|
|
249
261
|
}
|
|
250
|
-
if (
|
|
251
|
-
const t = typeof
|
|
252
|
-
if (t && (t.toLowerCase().includes("cc-by") || t.toLowerCase().includes("cc by")) && !
|
|
253
|
-
|
|
262
|
+
if (te.value) {
|
|
263
|
+
const t = typeof A.value == "string" ? A.value.trim() : "", r = typeof F.value == "string" ? F.value.trim() : "";
|
|
264
|
+
if (t && (t.toLowerCase().includes("cc-by") || t.toLowerCase().includes("cc by")) && !r || // by- license without attribution
|
|
265
|
+
r && !t) {
|
|
254
266
|
M.value && M.value.validate();
|
|
255
267
|
return;
|
|
256
268
|
}
|
|
257
|
-
(t ||
|
|
269
|
+
(t || r) && v(
|
|
258
270
|
"addChangeLicense",
|
|
271
|
+
F.value,
|
|
259
272
|
A.value,
|
|
260
|
-
S.value,
|
|
261
273
|
e.distributionId
|
|
262
|
-
),
|
|
274
|
+
), te.value = !1;
|
|
263
275
|
}
|
|
264
|
-
|
|
276
|
+
G.value && (v("addLanguage", ye.value, e.distributionId, e.uri), G.value = !1), J.value && (v("addByteSize", he.value, e.distributionId), J.value = !1), K.value && (v(
|
|
265
277
|
"addMediaType",
|
|
266
|
-
|
|
278
|
+
ke.value,
|
|
267
279
|
"dcat:mediaType",
|
|
268
280
|
e.distributionId
|
|
269
|
-
),
|
|
281
|
+
), K.value = !1), Q.value && (v(
|
|
270
282
|
"addCompressFormat",
|
|
271
|
-
|
|
283
|
+
ge.value,
|
|
272
284
|
"dcat:compressFormat",
|
|
273
285
|
e.distributionId
|
|
274
|
-
),
|
|
286
|
+
), Q.value = !1), X.value && (v(
|
|
275
287
|
"addPackageFormat",
|
|
276
|
-
|
|
288
|
+
be.value,
|
|
277
289
|
"dcat:packageFormat",
|
|
278
290
|
e.distributionId
|
|
279
|
-
),
|
|
291
|
+
), X.value = !1), oe();
|
|
280
292
|
};
|
|
281
|
-
|
|
293
|
+
Je(
|
|
282
294
|
() => e.sections,
|
|
283
295
|
(a) => {
|
|
284
|
-
Array.isArray(a) && a.length > 0 && (_.value = a.map((t,
|
|
296
|
+
Array.isArray(a) && a.length > 0 && (_.value = a.map((t, r) => r === 0));
|
|
285
297
|
},
|
|
286
298
|
{ immediate: !0 }
|
|
287
299
|
);
|
|
288
300
|
const Ae = (a) => {
|
|
289
301
|
_.value[a] = !_.value[a];
|
|
290
|
-
},
|
|
302
|
+
}, le = () => {
|
|
291
303
|
v("close");
|
|
292
304
|
}, Se = () => {
|
|
293
|
-
v("actionHandling", e.action),
|
|
305
|
+
v("actionHandling", e.action), le();
|
|
294
306
|
};
|
|
295
|
-
|
|
307
|
+
Ke(async () => {
|
|
296
308
|
b.value[e.distributionId] = e.documentations, T.value[e.distributionId] = e.accessServices, V.value[e.distributionId] = e.conformsToItems, I.value[e.distributionId] = e.policyItems;
|
|
297
|
-
const a =
|
|
309
|
+
const a = Qe(), t = a.appContext.app.config.globalProperties.$env;
|
|
298
310
|
try {
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
"@value":
|
|
302
|
-
label:
|
|
311
|
+
const c = await et(t.api.baseUrl);
|
|
312
|
+
xe.value = c.map((l) => ({
|
|
313
|
+
"@value": l.value,
|
|
314
|
+
label: l.label
|
|
303
315
|
}));
|
|
304
|
-
} catch (
|
|
305
|
-
console.error("Failed to load planned availability data",
|
|
316
|
+
} catch (c) {
|
|
317
|
+
console.error("Failed to load planned availability data", c);
|
|
306
318
|
}
|
|
307
|
-
const
|
|
319
|
+
const r = a.appContext.app.config.globalProperties.$i18n.locale;
|
|
308
320
|
try {
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
"@value":
|
|
312
|
-
label:
|
|
321
|
+
const c = await tt(t.api.baseUrl, r);
|
|
322
|
+
De.value = c.map((l) => ({
|
|
323
|
+
"@value": l.label,
|
|
324
|
+
label: l.label
|
|
313
325
|
}));
|
|
314
|
-
} catch (
|
|
315
|
-
console.error("Failed to load language data",
|
|
326
|
+
} catch (c) {
|
|
327
|
+
console.error("Failed to load language data", c);
|
|
316
328
|
}
|
|
317
329
|
});
|
|
318
|
-
const
|
|
330
|
+
const Re = (a, t) => {
|
|
319
331
|
console.log(t), b.value[a] = t, $.value = !0;
|
|
320
|
-
}, Re = (a, t) => {
|
|
321
|
-
T.value[a] = t, P.value = !0;
|
|
322
332
|
}, qe = (a, t) => {
|
|
323
|
-
|
|
333
|
+
T.value[a] = t, W.value = !0;
|
|
324
334
|
}, Be = (a, t) => {
|
|
325
|
-
|
|
326
|
-
}, ze = (a) => {
|
|
327
|
-
|
|
335
|
+
V.value[a] = t, E.value = !0;
|
|
336
|
+
}, ze = (a, t) => {
|
|
337
|
+
I.value[a] = t, O.value = !0;
|
|
328
338
|
}, Me = (a) => {
|
|
329
|
-
ue.value = a, O.value = !0;
|
|
330
|
-
}, $e = (a) => {
|
|
331
339
|
ce.value = a, H.value = !0;
|
|
332
340
|
}, Pe = (a) => {
|
|
333
341
|
me.value = a, N.value = !0;
|
|
342
|
+
}, $e = (a) => {
|
|
343
|
+
pe.value = a, j.value = !0;
|
|
334
344
|
}, We = (a) => {
|
|
335
|
-
|
|
336
|
-
}, Ee = (a
|
|
337
|
-
|
|
345
|
+
fe.value = a, Z.value = !0;
|
|
346
|
+
}, Ee = (a) => {
|
|
347
|
+
ve.value = a, Y.value = !0;
|
|
338
348
|
}, Oe = (a, t) => {
|
|
339
|
-
|
|
340
|
-
}, He = (a) => {
|
|
341
|
-
|
|
342
|
-
},
|
|
349
|
+
console.log(e.checksumURI), ee.value = !0, U.value = t, w.value = a;
|
|
350
|
+
}, He = (a, t, r, c) => {
|
|
351
|
+
console.log(a, t, r, c), te.value = !0, A.value = t, F.value = a;
|
|
352
|
+
}, Ne = (a) => {
|
|
353
|
+
ye.value = a, G.value = !0;
|
|
354
|
+
}, de = (a, t) => {
|
|
343
355
|
switch (t) {
|
|
344
356
|
case "dcat:mediaType":
|
|
345
|
-
|
|
357
|
+
K.value = !0, ke.value = a;
|
|
346
358
|
break;
|
|
347
359
|
case "dcat:compressFormat":
|
|
348
|
-
|
|
360
|
+
Q.value = !0, ge.value = a;
|
|
349
361
|
break;
|
|
350
362
|
case "dcat:packageFormat":
|
|
351
|
-
|
|
363
|
+
X.value = !0, be.value = a;
|
|
352
364
|
break;
|
|
353
365
|
}
|
|
354
|
-
},
|
|
355
|
-
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
|
|
366
|
+
}, je = (a) => {
|
|
367
|
+
he.value = a, J.value = !0;
|
|
368
|
+
}, Te = () => {
|
|
369
|
+
ae.value = !1, _e.value = null;
|
|
370
|
+
}, Ze = () => {
|
|
371
|
+
ae.value = !1, Ce.value = !1;
|
|
360
372
|
};
|
|
361
|
-
return (a, t) => (o(),
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
class:
|
|
365
|
-
dpiV3_optionalInfo: e.optionalInfoView ||
|
|
373
|
+
return (a, t) => (o(), u(D, null, [
|
|
374
|
+
se.value ? (o(), u("div", vt, [
|
|
375
|
+
p("div", {
|
|
376
|
+
class: S(["dpiV3_modalWrap", {
|
|
377
|
+
dpiV3_optionalInfo: e.optionalInfoView || n.value.key === "foaf:page"
|
|
366
378
|
}])
|
|
367
379
|
}, [
|
|
368
|
-
|
|
369
|
-
class:
|
|
380
|
+
p("div", {
|
|
381
|
+
class: S(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
|
|
370
382
|
}, [
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
class:
|
|
374
|
-
},
|
|
375
|
-
y(
|
|
383
|
+
p("div", yt, [
|
|
384
|
+
p("h2", {
|
|
385
|
+
class: S({ dpiV3_optionalInfoHeader: e.optionalInfoView })
|
|
386
|
+
}, h(e.headerText), 3),
|
|
387
|
+
y(ne, {
|
|
376
388
|
class: "dpiv3_modalCrossout",
|
|
377
|
-
onClick:
|
|
389
|
+
onClick: le
|
|
378
390
|
})
|
|
379
391
|
]),
|
|
380
|
-
|
|
381
|
-
!e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (o(),
|
|
382
|
-
|
|
383
|
-
e.title ? (o(),
|
|
384
|
-
e.distributionLink && !e.title ? (o(),
|
|
385
|
-
e.format ? (o(),
|
|
392
|
+
p("span", ht, h(e.text), 1),
|
|
393
|
+
!e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (o(), u("div", kt, [
|
|
394
|
+
p("div", gt, [
|
|
395
|
+
e.title ? (o(), u("div", bt, h(e.title), 1)) : d("", !0),
|
|
396
|
+
e.distributionLink && !e.title ? (o(), u("div", Tt, h(e.distributionLink), 1)) : d("", !0),
|
|
397
|
+
e.format ? (o(), u("div", Vt, h(e.format), 1)) : d("", !0)
|
|
386
398
|
])
|
|
387
|
-
])) :
|
|
399
|
+
])) : d("", !0)
|
|
388
400
|
], 2),
|
|
389
|
-
e.showButtons ? (o(),
|
|
390
|
-
y(
|
|
401
|
+
e.showButtons ? (o(), u("div", It, [
|
|
402
|
+
y(Xe, {
|
|
391
403
|
buttonText: a.$t("message.dataupload.datasets.dcat:distribution.modal.cancel"),
|
|
392
404
|
class: "dpiv3_modalCancelButton",
|
|
393
|
-
onClick:
|
|
405
|
+
onClick: le,
|
|
394
406
|
ref: "accActive"
|
|
395
407
|
}, null, 8, ["buttonText"]),
|
|
396
408
|
y(C, {
|
|
@@ -398,223 +410,225 @@ const ft = {
|
|
|
398
410
|
buttonText: e.buttons,
|
|
399
411
|
size: "large"
|
|
400
412
|
}, null, 8, ["buttonText"])
|
|
401
|
-
])) :
|
|
402
|
-
e.optionalInfoView ? (o(),
|
|
403
|
-
|
|
404
|
-
(o(!0),
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
y(
|
|
410
|
-
onClick: (
|
|
411
|
-
expanded: !_.value[
|
|
413
|
+
])) : d("", !0),
|
|
414
|
+
e.optionalInfoView ? (o(), u("div", _t, [
|
|
415
|
+
p("div", xt, [
|
|
416
|
+
(o(!0), u(D, null, Ve(f.sections, (r, c) => (o(), u(D, { key: c }, [
|
|
417
|
+
p("div", Dt, [
|
|
418
|
+
p("div", Ct, [
|
|
419
|
+
p("div", null, h(r.title), 1),
|
|
420
|
+
p("div", Lt, [
|
|
421
|
+
y(Ye, {
|
|
422
|
+
onClick: (l) => Ae(c),
|
|
423
|
+
expanded: !_.value[c]
|
|
412
424
|
}, null, 8, ["onClick", "expanded"])
|
|
413
425
|
])
|
|
414
426
|
])
|
|
415
427
|
]),
|
|
416
|
-
_.value[
|
|
417
|
-
t[4] || (t[4] =
|
|
418
|
-
|
|
428
|
+
_.value[c] ? (o(!0), u(D, { key: 0 }, Ve(r.items, (l, s) => (o(), u(D, { key: s }, [
|
|
429
|
+
t[4] || (t[4] = p("div", { class: "dpiV3_itemDivider" }, null, -1)),
|
|
430
|
+
p("div", {
|
|
419
431
|
class: "dpiV3_itemOptional",
|
|
420
|
-
onClick: (
|
|
421
|
-
},
|
|
422
|
-
], 64))), 128)) :
|
|
423
|
-
|
|
432
|
+
onClick: (m) => Ue(c, s)
|
|
433
|
+
}, h(l), 9, wt)
|
|
434
|
+
], 64))), 128)) : d("", !0),
|
|
435
|
+
c < f.sections.length - 1 ? (o(), u("div", Ut)) : d("", !0)
|
|
424
436
|
], 64))), 128))
|
|
425
437
|
])
|
|
426
|
-
])) :
|
|
438
|
+
])) : d("", !0)
|
|
427
439
|
], 2)
|
|
428
|
-
])) :
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
class:
|
|
432
|
-
dpiV3_removeOverflow:
|
|
440
|
+
])) : d("", !0),
|
|
441
|
+
n.value.key ? (o(), u("div", Ft, [
|
|
442
|
+
p("div", {
|
|
443
|
+
class: S(["dpiV3_modalWrap", {
|
|
444
|
+
dpiV3_removeOverflow: n.value.key === "dcatap:availability" || n.value.key === "dct:language" || n.value.key === "dcat:mediaType" || n.value.key === "dcat:compressFormat" || n.value.key === "dcat:packageFormat" || n.value.key === "spdx:checksum" || n.value.key === "adms:status"
|
|
433
445
|
}])
|
|
434
446
|
}, [
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
y(
|
|
447
|
+
p("div", At, [
|
|
448
|
+
p("h2", null, h(n.value.text) + " " + h(a.$t("message.dataupload.datasets.dcat:distribution.modal.add_small")), 1),
|
|
449
|
+
y(ne, {
|
|
438
450
|
class: "dpiv3_modalCrossout",
|
|
439
|
-
onClick:
|
|
451
|
+
onClick: oe
|
|
440
452
|
})
|
|
441
453
|
]),
|
|
442
|
-
|
|
454
|
+
n.value.key === "dcatap:availability" ? (o(), u("p", St, h(a.$t(
|
|
443
455
|
"message.dataupload.datasets.dcat:distribution.modal.availability_paragraph"
|
|
444
|
-
)), 1)) :
|
|
445
|
-
|
|
456
|
+
)), 1)) : d("", !0),
|
|
457
|
+
n.value.key === "dcat:byteSize" ? (o(), u("p", Rt, h(a.$t(
|
|
446
458
|
"message.dataupload.datasets.dcat:distribution.modal.byte-size-paragraph"
|
|
447
|
-
)), 1)) :
|
|
448
|
-
|
|
459
|
+
)), 1)) : d("", !0),
|
|
460
|
+
n.value.key === "foaf:page" ? (o(), u("p", qt, h(a.$t(
|
|
449
461
|
"message.dataupload.datasets.dcat:distribution.modal.documentation-paragraph"
|
|
450
|
-
)), 1)) :
|
|
451
|
-
|
|
452
|
-
y(
|
|
453
|
-
modelValue:
|
|
454
|
-
onAddModifiedDate:
|
|
462
|
+
)), 1)) : d("", !0),
|
|
463
|
+
n.value.key === "dct:modified" ? (o(), u("div", Bt, [
|
|
464
|
+
y(it, {
|
|
465
|
+
modelValue: f.modifiedDate,
|
|
466
|
+
onAddModifiedDate: Me
|
|
455
467
|
}, null, 8, ["modelValue"])
|
|
456
|
-
])) :
|
|
457
|
-
|
|
458
|
-
y(
|
|
459
|
-
modelValue:
|
|
460
|
-
labelText:
|
|
461
|
-
onAddIssuedDate:
|
|
468
|
+
])) : d("", !0),
|
|
469
|
+
n.value.key === "dct:issued" ? (o(), u("div", zt, [
|
|
470
|
+
y(dt, {
|
|
471
|
+
modelValue: f.issuedDate,
|
|
472
|
+
labelText: n.value.text + " (optional)",
|
|
473
|
+
onAddIssuedDate: Pe
|
|
462
474
|
}, null, 8, ["modelValue", "labelText"])
|
|
463
|
-
])) :
|
|
464
|
-
|
|
465
|
-
y(
|
|
475
|
+
])) : d("", !0),
|
|
476
|
+
n.value.key === "dct:description" ? (o(), u("div", Mt, [
|
|
477
|
+
y(st, {
|
|
466
478
|
onAddDescription: $e,
|
|
467
|
-
descriptionText:
|
|
479
|
+
descriptionText: f.descriptionText
|
|
468
480
|
}, null, 8, ["descriptionText"])
|
|
469
|
-
])) :
|
|
470
|
-
|
|
471
|
-
y(
|
|
481
|
+
])) : d("", !0),
|
|
482
|
+
n.value.key === "foaf:page" ? (o(), u("div", Pt, [
|
|
483
|
+
y(at, {
|
|
472
484
|
ref_key: "documentationsV3Ref",
|
|
473
485
|
ref: q,
|
|
474
486
|
documentations: b.value[e.distributionId] || [],
|
|
475
|
-
fileTypes:
|
|
476
|
-
onUpdate: t[0] || (t[0] = (
|
|
487
|
+
fileTypes: f.fileTypes,
|
|
488
|
+
onUpdate: t[0] || (t[0] = (r) => Re(e.distributionId, r)),
|
|
477
489
|
distributionId: e.distributionId
|
|
478
490
|
}, null, 8, ["documentations", "fileTypes", "distributionId"])
|
|
479
|
-
])) :
|
|
480
|
-
|
|
481
|
-
y(
|
|
491
|
+
])) : d("", !0),
|
|
492
|
+
n.value.key === "dcat:accessService" ? (o(), u("div", $t, [
|
|
493
|
+
y(pt, {
|
|
482
494
|
ref_key: "accessServiceV3Ref",
|
|
483
495
|
ref: B,
|
|
484
496
|
accessServices: T.value[e.distributionId] || [],
|
|
485
|
-
onUpdate: t[1] || (t[1] = (
|
|
497
|
+
onUpdate: t[1] || (t[1] = (r) => qe(e.distributionId, r)),
|
|
486
498
|
distributionId: e.distributionId
|
|
487
499
|
}, null, 8, ["accessServices", "distributionId"])
|
|
488
|
-
])) :
|
|
489
|
-
|
|
500
|
+
])) : d("", !0),
|
|
501
|
+
n.value.key === "dcat:byteSize" ? (o(), g(lt, {
|
|
490
502
|
key: 8,
|
|
491
|
-
byteSizeProp:
|
|
492
|
-
onAddByteSize:
|
|
493
|
-
}, null, 8, ["byteSizeProp"])) :
|
|
494
|
-
|
|
503
|
+
byteSizeProp: f.byteSizeText,
|
|
504
|
+
onAddByteSize: je
|
|
505
|
+
}, null, 8, ["byteSizeProp"])) : d("", !0),
|
|
506
|
+
n.value.key === "dcatap:availability" ? (o(), g(ot, {
|
|
495
507
|
key: 9,
|
|
496
|
-
availabilityText:
|
|
497
|
-
onAddAvailability:
|
|
498
|
-
}, null, 8, ["availabilityText"])) :
|
|
499
|
-
|
|
508
|
+
availabilityText: f.availabilityText,
|
|
509
|
+
onAddAvailability: We
|
|
510
|
+
}, null, 8, ["availabilityText"])) : d("", !0),
|
|
511
|
+
n.value.key === "dct:language" ? (o(), g(nt, {
|
|
500
512
|
key: 10,
|
|
501
|
-
languageText:
|
|
502
|
-
distributionId:
|
|
503
|
-
onAddLanguage:
|
|
504
|
-
}, null, 8, ["languageText", "distributionId"])) :
|
|
505
|
-
|
|
506
|
-
y(
|
|
513
|
+
languageText: f.languageText,
|
|
514
|
+
distributionId: f.distributionId,
|
|
515
|
+
onAddLanguage: Ne
|
|
516
|
+
}, null, 8, ["languageText", "distributionId"])) : d("", !0),
|
|
517
|
+
n.value.key === "dct:conformsTo" ? (o(), u("div", Wt, [
|
|
518
|
+
y(ct, {
|
|
507
519
|
ref_key: "conformsToV3Ref",
|
|
508
520
|
ref: R,
|
|
509
521
|
conformsToItems: V.value[e.distributionId] || [],
|
|
510
|
-
onUpdate: t[2] || (t[2] = (
|
|
522
|
+
onUpdate: t[2] || (t[2] = (r) => Be(e.distributionId, r)),
|
|
511
523
|
asCard: !1,
|
|
512
524
|
distributionId: e.distributionId
|
|
513
525
|
}, null, 8, ["conformsToItems", "distributionId"])
|
|
514
|
-
])) :
|
|
515
|
-
|
|
516
|
-
y(
|
|
526
|
+
])) : d("", !0),
|
|
527
|
+
n.value.key === "odrl:hasPolicy" ? (o(), u("div", Et, [
|
|
528
|
+
y(mt, {
|
|
529
|
+
ref_key: "policyV3Ref",
|
|
530
|
+
ref: P,
|
|
517
531
|
policyItems: I.value[e.distributionId] || [],
|
|
518
|
-
onUpdate: t[3] || (t[3] = (
|
|
532
|
+
onUpdate: t[3] || (t[3] = (r) => ze(e.distributionId, r)),
|
|
519
533
|
asCard: !1,
|
|
520
534
|
distributionId: e.distributionId
|
|
521
535
|
}, null, 8, ["policyItems", "distributionId"])
|
|
522
|
-
])) :
|
|
523
|
-
|
|
536
|
+
])) : d("", !0),
|
|
537
|
+
n.value.key === "dcat:mediaType" ? (o(), g(re, {
|
|
524
538
|
key: 13,
|
|
525
|
-
onAddMediaType:
|
|
526
|
-
fileTypes:
|
|
539
|
+
onAddMediaType: de,
|
|
540
|
+
fileTypes: f.fileTypes,
|
|
527
541
|
fileFormatType: "dcat:mediaType",
|
|
528
|
-
fileFormatText:
|
|
529
|
-
}, null, 8, ["fileTypes", "fileFormatText"])) :
|
|
530
|
-
|
|
542
|
+
fileFormatText: f.mediaTypeText
|
|
543
|
+
}, null, 8, ["fileTypes", "fileFormatText"])) : d("", !0),
|
|
544
|
+
n.value.key === "dcat:compressFormat" ? (o(), g(re, {
|
|
531
545
|
key: 14,
|
|
532
|
-
onAddCompressFormat:
|
|
533
|
-
fileTypes:
|
|
546
|
+
onAddCompressFormat: de,
|
|
547
|
+
fileTypes: f.fileTypes,
|
|
534
548
|
fileFormatType: "dcat:compressFormat",
|
|
535
|
-
compressFormatText:
|
|
536
|
-
}, null, 8, ["fileTypes", "compressFormatText"])) :
|
|
537
|
-
|
|
549
|
+
compressFormatText: f.compressFormatText
|
|
550
|
+
}, null, 8, ["fileTypes", "compressFormatText"])) : d("", !0),
|
|
551
|
+
n.value.key === "dcat:packageFormat" ? (o(), g(re, {
|
|
538
552
|
key: 15,
|
|
539
|
-
onAddPackageFormat:
|
|
540
|
-
fileTypes:
|
|
553
|
+
onAddPackageFormat: de,
|
|
554
|
+
fileTypes: f.fileTypes,
|
|
541
555
|
fileFormatType: "dcat:packageFormat",
|
|
542
|
-
packageFormatText:
|
|
543
|
-
}, null, 8, ["fileTypes", "packageFormatText"])) :
|
|
544
|
-
|
|
556
|
+
packageFormatText: f.packageFormatText
|
|
557
|
+
}, null, 8, ["fileTypes", "packageFormatText"])) : d("", !0),
|
|
558
|
+
n.value.key === "adms:status" ? (o(), g(rt, {
|
|
545
559
|
key: 16,
|
|
546
|
-
statusText:
|
|
547
|
-
onAddStatus:
|
|
548
|
-
}, null, 8, ["statusText"])) :
|
|
549
|
-
|
|
560
|
+
statusText: f.statusText,
|
|
561
|
+
onAddStatus: Ee
|
|
562
|
+
}, null, 8, ["statusText"])) : d("", !0),
|
|
563
|
+
n.value.key === "spdx:checksum" ? (o(), g(ut, {
|
|
550
564
|
key: 17,
|
|
551
565
|
ref_key: "checksumV3Ref",
|
|
552
566
|
ref: z,
|
|
553
|
-
onAddChecksum:
|
|
554
|
-
checksumText:
|
|
555
|
-
checksumDropdownText:
|
|
556
|
-
}, null, 8, ["checksumText", "checksumDropdownText"])) :
|
|
557
|
-
|
|
567
|
+
onAddChecksum: Oe,
|
|
568
|
+
checksumText: f.checksumText,
|
|
569
|
+
checksumDropdownText: f.checksumDropdownText
|
|
570
|
+
}, null, 8, ["checksumText", "checksumDropdownText"])) : d("", !0),
|
|
571
|
+
n.value.key === "dcterms:license" ? (o(), g(ft, {
|
|
558
572
|
key: 18,
|
|
559
573
|
ref_key: "changeLicenseV3Ref",
|
|
560
574
|
ref: M,
|
|
561
|
-
onAddChangeLicense:
|
|
562
|
-
changeLicenseText:
|
|
563
|
-
changeLicenseDropdownText:
|
|
564
|
-
}, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) :
|
|
565
|
-
|
|
575
|
+
onAddChangeLicense: He,
|
|
576
|
+
changeLicenseText: f.changeLicenseText,
|
|
577
|
+
changeLicenseDropdownText: f.changeLicenseDropdownText
|
|
578
|
+
}, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) : d("", !0),
|
|
579
|
+
p("div", Ot, [
|
|
566
580
|
y(C, {
|
|
567
|
-
onClick:
|
|
581
|
+
onClick: oe,
|
|
568
582
|
buttonText: "Zurück",
|
|
569
583
|
size: "large",
|
|
570
584
|
iconStart: "CaretLeft",
|
|
571
585
|
variant: "tertiary"
|
|
572
586
|
}),
|
|
573
587
|
y(C, {
|
|
574
|
-
onClick:
|
|
588
|
+
onClick: Fe,
|
|
575
589
|
buttonText: "Hinzufügen",
|
|
576
590
|
size: "large"
|
|
577
591
|
})
|
|
578
592
|
])
|
|
579
593
|
], 2)
|
|
580
|
-
])) :
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
t[5] || (t[5] =
|
|
585
|
-
y(
|
|
594
|
+
])) : d("", !0),
|
|
595
|
+
ae.value ? (o(), u("div", Ht, [
|
|
596
|
+
p("div", Nt, [
|
|
597
|
+
p("div", jt, [
|
|
598
|
+
t[5] || (t[5] = p("h2", null, "Dokumentation löschen", -1)),
|
|
599
|
+
y(ne, {
|
|
586
600
|
class: "dpiv3_modalCrossout",
|
|
587
|
-
onClick:
|
|
601
|
+
onClick: Te
|
|
588
602
|
})
|
|
589
603
|
]),
|
|
590
|
-
t[6] || (t[6] =
|
|
591
|
-
|
|
604
|
+
t[6] || (t[6] = p("div", { class: "dpiV3_modalContent" }, [
|
|
605
|
+
p("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
|
|
592
606
|
], -1)),
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
L.value ? (o(),
|
|
596
|
-
|
|
597
|
-
|
|
607
|
+
p("div", Zt, [
|
|
608
|
+
p("div", Gt, [
|
|
609
|
+
L.value ? (o(), u("div", Jt, h(L.value), 1)) : d("", !0),
|
|
610
|
+
ie.value && L.value === "" ? (o(), u("div", Kt, h(ie.value), 1)) : d("", !0),
|
|
611
|
+
ie.value === "" && L.value === "" ? (o(), u("div", Qt, " Es wurde keine URL angegeben! ")) : d("", !0)
|
|
598
612
|
])
|
|
599
613
|
]),
|
|
600
|
-
|
|
614
|
+
p("div", Xt, [
|
|
601
615
|
y(C, {
|
|
602
|
-
onClick:
|
|
616
|
+
onClick: Te,
|
|
603
617
|
buttonText: "Abbrechen",
|
|
604
618
|
size: "large",
|
|
605
619
|
variant: "tertiary"
|
|
606
620
|
}),
|
|
607
621
|
y(C, {
|
|
608
|
-
onClick:
|
|
622
|
+
onClick: Ze,
|
|
609
623
|
buttonText: "Löschen",
|
|
610
624
|
size: "large"
|
|
611
625
|
})
|
|
612
626
|
])
|
|
613
627
|
])
|
|
614
|
-
])) :
|
|
628
|
+
])) : d("", !0)
|
|
615
629
|
], 64));
|
|
616
630
|
}
|
|
617
631
|
};
|
|
618
632
|
export {
|
|
619
|
-
|
|
633
|
+
ba as default
|
|
620
634
|
};
|