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