@piveau/dpi 0.1.0-beta.46 → 0.1.0-beta.47

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.
Files changed (19) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +4 -6
  3. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +316 -302
  4. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +32 -36
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +120 -105
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +40 -40
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +44 -48
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +57 -61
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +61 -45
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +394 -378
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
  12. package/dist/data-provider-interface/components/DistLicense.vue.js +107 -96
  13. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +286 -267
  14. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +2 -2
  15. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +174 -177
  16. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +196 -192
  17. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +5 -5
  18. package/dist/data-provider-interface/views/InputPage.vue.js +95 -96
  19. package/package.json +1 -1
@@ -1,94 +1,94 @@
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";
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 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";
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 ft = {
22
+ const vt = {
23
23
  key: 0,
24
24
  class: "dpiV3_modalBackground"
25
- }, vt = { class: "dpiV3_modalHeaderWrap" }, yt = { class: "dpiV3_modalText" }, kt = {
25
+ }, yt = { class: "dpiV3_modalHeaderWrap" }, ht = { class: "dpiV3_modalText" }, kt = {
26
26
  key: 0,
27
27
  class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
28
- }, ht = { class: "dpiV3_LinkInfos" }, gt = {
28
+ }, gt = { class: "dpiV3_LinkInfos" }, bt = {
29
29
  key: 0,
30
30
  class: "dpiV3_title"
31
- }, bt = {
31
+ }, Tt = {
32
32
  key: 1,
33
33
  class: "dpiV3_title"
34
- }, Tt = {
34
+ }, Vt = {
35
35
  key: 2,
36
36
  class: "dpiV3_File-Format copy-small-regular"
37
- }, Vt = {
37
+ }, It = {
38
38
  key: 0,
39
39
  class: "dpiV3_modalButtonWrap"
40
40
  }, _t = {
41
41
  key: 1,
42
42
  class: "dpiV3_optionalInfoContent"
43
- }, It = { class: "dpiV3_ListMetaData" }, xt = { class: "dpiV3_title-description" }, Dt = { class: "dpiV3_group-title" }, Ct = { class: "dpiV3_caret" }, Lt = ["onClick"], Ft = {
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
- }, wt = {
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
- }, Ut = {
52
+ }, Rt = {
53
53
  key: 1,
54
54
  class: "dpiV3_modalContent"
55
- }, Rt = {
55
+ }, qt = {
56
56
  key: 2,
57
57
  class: "dpiV3_modalContent"
58
- }, qt = {
58
+ }, Bt = {
59
59
  key: 3,
60
60
  class: "dpiV3_modified"
61
- }, Bt = {
61
+ }, zt = {
62
62
  key: 4,
63
63
  class: "dpiV3_modified"
64
- }, zt = {
64
+ }, Mt = {
65
65
  key: 5,
66
66
  class: "dpiV3_modified"
67
- }, Mt = {
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
- }, Pt = {
73
+ }, Wt = {
74
74
  key: 11,
75
75
  class: "dpiV3_DocumentationV3_Wrap"
76
- }, Wt = {
76
+ }, Et = {
77
77
  key: 12,
78
78
  class: "dpiV3_DocumentationV3_Wrap"
79
- }, Et = { class: "dpiV3_modalButtonWrap" }, Ot = {
79
+ }, Ot = { class: "dpiV3_modalButtonWrap" }, Ht = {
80
80
  key: 2,
81
81
  class: "dpiV3_modalBackground"
82
- }, Ht = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, Nt = { class: "dpiV3_modalHeaderWrap" }, jt = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, Zt = { class: "dpiV3_LinkInfos" }, Gt = {
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
- }, Jt = {
85
+ }, Kt = {
86
86
  key: 1,
87
87
  class: "dpiV3_title"
88
- }, Kt = {
88
+ }, Qt = {
89
89
  key: 2,
90
90
  class: "dpiV3_title"
91
- }, Qt = { class: "dpiV3_modalButtonWrap" }, ga = {
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(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);
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 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);
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 Ie = i([]), xe = i([]);
156
+ const xe = i([]), De = i([]);
157
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);
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 Fe = (a, t) => {
161
- ae.value = !1, d.value = {
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
- }, ie = () => {
166
- ae.value = !0, d.value = { key: "", text: "" };
167
- }, we = () => {
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 n = t.trim();
171
- return /\.[a-zA-Z]{2,}$/.test(n);
170
+ const r = t.trim();
171
+ return /\.[a-zA-Z]{2,}$/.test(r);
172
172
  };
173
- if (W.value) {
173
+ if (E.value) {
174
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));
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 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;
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
- f.length > 0 && v(
186
+ c.length > 0 && v(
187
187
  "addConformsToItems",
188
188
  e.distributionId,
189
- f
190
- ), W.value = !1;
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] || [], 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;
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 c = s["dcat:accessURL"] ? s["dcat:accessURL"].trim() : "";
199
- return !!(n(s) && (!c || !a(c)) || c && !a(c));
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 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;
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
- u.length > 0 && v(
220
+ l.length > 0 && v(
209
221
  "addDocumentations",
210
222
  e.distributionId,
211
- u
223
+ l
212
224
  ), $.value = !1;
213
225
  }
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;
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 c = s["dcat:downloadURL"] ? s["dcat:downloadURL"].trim() : "";
221
- return !!(n(s) && (!c || !a(c)) || c && !a(c));
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 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;
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
- u.length > 0 && v(
242
+ l.length > 0 && v(
231
243
  "addAccessServices",
232
244
  e.distributionId,
233
- u
234
- ), P.value = !1;
245
+ l
246
+ ), W.value = !1;
235
247
  }
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)) {
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 && n && v(
254
+ t && r && v(
243
255
  "addChecksum",
244
- F.value,
245
256
  w.value,
257
+ U.value,
246
258
  e.distributionId,
247
- Le.value
248
- ), X.value = !1;
259
+ we.value
260
+ ), ee.value = !1;
249
261
  }
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) {
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 || n) && v(
269
+ (t || r) && v(
258
270
  "addChangeLicense",
271
+ F.value,
259
272
  A.value,
260
- S.value,
261
273
  e.distributionId
262
- ), Y.value = !1;
274
+ ), te.value = !1;
263
275
  }
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(
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
- ye.value,
278
+ ke.value,
267
279
  "dcat:mediaType",
268
280
  e.distributionId
269
- ), G.value = !1), J.value && (v(
281
+ ), K.value = !1), Q.value && (v(
270
282
  "addCompressFormat",
271
- ke.value,
283
+ ge.value,
272
284
  "dcat:compressFormat",
273
285
  e.distributionId
274
- ), J.value = !1), K.value && (v(
286
+ ), Q.value = !1), X.value && (v(
275
287
  "addPackageFormat",
276
- he.value,
288
+ be.value,
277
289
  "dcat:packageFormat",
278
290
  e.distributionId
279
- ), K.value = !1), ie();
291
+ ), X.value = !1), oe();
280
292
  };
281
- Ge(
293
+ Je(
282
294
  () => e.sections,
283
295
  (a) => {
284
- Array.isArray(a) && a.length > 0 && (_.value = a.map((t, n) => n === 0));
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
- }, se = () => {
302
+ }, le = () => {
291
303
  v("close");
292
304
  }, Se = () => {
293
- v("actionHandling", e.action), se();
305
+ v("actionHandling", e.action), le();
294
306
  };
295
- Je(async () => {
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 = Ke(), t = a.appContext.app.config.globalProperties.$env;
309
+ const a = Qe(), t = a.appContext.app.config.globalProperties.$env;
298
310
  try {
299
- const f = await Ye(t.api.baseUrl);
300
- Ie.value = f.map((u) => ({
301
- "@value": u.value,
302
- label: u.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 (f) {
305
- console.error("Failed to load planned availability data", f);
316
+ } catch (c) {
317
+ console.error("Failed to load planned availability data", c);
306
318
  }
307
- const n = a.appContext.app.config.globalProperties.$i18n.locale;
319
+ const r = a.appContext.app.config.globalProperties.$i18n.locale;
308
320
  try {
309
- const f = await et(t.api.baseUrl, n);
310
- xe.value = f.map((u) => ({
311
- "@value": u.label,
312
- label: u.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 (f) {
315
- console.error("Failed to load language data", f);
326
+ } catch (c) {
327
+ console.error("Failed to load language data", c);
316
328
  }
317
329
  });
318
- const Ue = (a, t) => {
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
- V.value[a] = t, W.value = !0;
333
+ T.value[a] = t, W.value = !0;
324
334
  }, Be = (a, t) => {
325
- I.value[a] = t, Ve.value = !0;
326
- }, ze = (a) => {
327
- re.value = a, E.value = !0;
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
- pe.value = a, Q.value = !0;
336
- }, Ee = (a, t) => {
337
- console.log(e.checksumURI), X.value = !0, w.value = t, F.value = a;
345
+ fe.value = a, Z.value = !0;
346
+ }, Ee = (a) => {
347
+ ve.value = a, Y.value = !0;
338
348
  }, 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) => {
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
- G.value = !0, ye.value = a;
357
+ K.value = !0, ke.value = a;
346
358
  break;
347
359
  case "dcat:compressFormat":
348
- J.value = !0, ke.value = a;
360
+ Q.value = !0, ge.value = a;
349
361
  break;
350
362
  case "dcat:packageFormat":
351
- K.value = !0, he.value = a;
363
+ X.value = !0, be.value = a;
352
364
  break;
353
365
  }
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;
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(), r(D, null, [
362
- ae.value ? (o(), r("div", ft, [
363
- m("div", {
364
- class: U(["dpiV3_modalWrap", {
365
- dpiV3_optionalInfo: e.optionalInfoView || d.value.key === "foaf:page"
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
- m("div", {
369
- class: U(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
380
+ p("div", {
381
+ class: S(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
370
382
  }, [
371
- m("div", vt, [
372
- m("h2", {
373
- class: U({ dpiV3_optionalInfoHeader: e.optionalInfoView })
374
- }, k(e.headerText), 3),
375
- y(le, {
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: se
389
+ onClick: le
378
390
  })
379
391
  ]),
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)
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
- ])) : l("", !0)
399
+ ])) : d("", !0)
388
400
  ], 2),
389
- e.showButtons ? (o(), r("div", Vt, [
390
- y(Qe, {
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: se,
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
- ])) : 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]
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[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", {
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: (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)
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
- ])) : l("", !0)
438
+ ])) : d("", !0)
427
439
  ], 2)
428
- ])) : l("", !0),
429
- d.value.key ? (o(), r("div", wt, [
430
- m("div", {
431
- class: U(["dpiV3_modalWrap", {
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"
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
- 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, {
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: ie
451
+ onClick: oe
440
452
  })
441
453
  ]),
442
- d.value.key === "dcatap:availability" ? (o(), r("p", St, k(a.$t(
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)) : l("", !0),
445
- d.value.key === "dcat:byteSize" ? (o(), r("p", Ut, k(a.$t(
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)) : l("", !0),
448
- d.value.key === "foaf:page" ? (o(), r("p", Rt, k(a.$t(
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)) : l("", !0),
451
- d.value.key === "dct:modified" ? (o(), r("div", qt, [
452
- y(at, {
453
- modelValue: p.modifiedDate,
454
- onAddModifiedDate: ze
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
- ])) : l("", !0),
457
- d.value.key === "dct:issued" ? (o(), r("div", Bt, [
458
- y(lt, {
459
- modelValue: p.issuedDate,
460
- labelText: d.value.text + " (optional)",
461
- onAddIssuedDate: Me
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
- ])) : l("", !0),
464
- d.value.key === "dct:description" ? (o(), r("div", zt, [
465
- y(it, {
475
+ ])) : d("", !0),
476
+ n.value.key === "dct:description" ? (o(), u("div", Mt, [
477
+ y(st, {
466
478
  onAddDescription: $e,
467
- descriptionText: p.descriptionText
479
+ descriptionText: f.descriptionText
468
480
  }, null, 8, ["descriptionText"])
469
- ])) : l("", !0),
470
- d.value.key === "foaf:page" ? (o(), r("div", Mt, [
471
- y(tt, {
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: p.fileTypes,
476
- onUpdate: t[0] || (t[0] = (n) => Ue(e.distributionId, n)),
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
- ])) : l("", !0),
480
- d.value.key === "dcat:accessService" ? (o(), r("div", $t, [
481
- y(mt, {
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] = (n) => Re(e.distributionId, n)),
497
+ onUpdate: t[1] || (t[1] = (r) => qe(e.distributionId, r)),
486
498
  distributionId: e.distributionId
487
499
  }, null, 8, ["accessServices", "distributionId"])
488
- ])) : l("", !0),
489
- d.value.key === "dcat:byteSize" ? (o(), g(ot, {
500
+ ])) : d("", !0),
501
+ n.value.key === "dcat:byteSize" ? (o(), g(lt, {
490
502
  key: 8,
491
- byteSizeProp: p.byteSizeText,
492
- onAddByteSize: Ne
493
- }, null, 8, ["byteSizeProp"])) : l("", !0),
494
- d.value.key === "dcatap:availability" ? (o(), g(st, {
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: p.availabilityText,
497
- onAddAvailability: Pe
498
- }, null, 8, ["availabilityText"])) : l("", !0),
499
- d.value.key === "dct:language" ? (o(), g(dt, {
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: 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, {
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] = (n) => qe(e.distributionId, n)),
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
- ])) : l("", !0),
515
- d.value.key === "odrl:hasPolicy" ? (o(), r("div", Wt, [
516
- y(ct, {
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] = (n) => Be(e.distributionId, n)),
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
- ])) : l("", !0),
523
- d.value.key === "dcat:mediaType" ? (o(), g(de, {
536
+ ])) : d("", !0),
537
+ n.value.key === "dcat:mediaType" ? (o(), g(re, {
524
538
  key: 13,
525
- onAddMediaType: oe,
526
- fileTypes: p.fileTypes,
539
+ onAddMediaType: de,
540
+ fileTypes: f.fileTypes,
527
541
  fileFormatType: "dcat:mediaType",
528
- fileFormatText: p.mediaTypeText
529
- }, null, 8, ["fileTypes", "fileFormatText"])) : l("", !0),
530
- d.value.key === "dcat:compressFormat" ? (o(), g(de, {
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: oe,
533
- fileTypes: p.fileTypes,
546
+ onAddCompressFormat: de,
547
+ fileTypes: f.fileTypes,
534
548
  fileFormatType: "dcat:compressFormat",
535
- compressFormatText: p.compressFormatText
536
- }, null, 8, ["fileTypes", "compressFormatText"])) : l("", !0),
537
- d.value.key === "dcat:packageFormat" ? (o(), g(de, {
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: oe,
540
- fileTypes: p.fileTypes,
553
+ onAddPackageFormat: de,
554
+ fileTypes: f.fileTypes,
541
555
  fileFormatType: "dcat:packageFormat",
542
- packageFormatText: p.packageFormatText
543
- }, null, 8, ["fileTypes", "packageFormatText"])) : l("", !0),
544
- d.value.key === "adms:status" ? (o(), g(nt, {
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: p.statusText,
547
- onAddStatus: We
548
- }, null, 8, ["statusText"])) : l("", !0),
549
- d.value.key === "spdx:checksum" ? (o(), g(rt, {
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: 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, {
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: Oe,
562
- changeLicenseText: p.changeLicenseText,
563
- changeLicenseDropdownText: p.changeLicenseDropdownText
564
- }, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) : l("", !0),
565
- m("div", Et, [
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: ie,
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: we,
588
+ onClick: Fe,
575
589
  buttonText: "Hinzufügen",
576
590
  size: "large"
577
591
  })
578
592
  ])
579
593
  ], 2)
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, {
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: ge
601
+ onClick: Te
588
602
  })
589
603
  ]),
590
- t[6] || (t[6] = m("div", { class: "dpiV3_modalContent" }, [
591
- m("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
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
- 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)
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
- m("div", Qt, [
614
+ p("div", Xt, [
601
615
  y(C, {
602
- onClick: ge,
616
+ onClick: Te,
603
617
  buttonText: "Abbrechen",
604
618
  size: "large",
605
619
  variant: "tertiary"
606
620
  }),
607
621
  y(C, {
608
- onClick: je,
622
+ onClick: Ze,
609
623
  buttonText: "Löschen",
610
624
  size: "large"
611
625
  })
612
626
  ])
613
627
  ])
614
- ])) : l("", !0)
628
+ ])) : d("", !0)
615
629
  ], 64));
616
630
  }
617
631
  };
618
632
  export {
619
- ga as default
633
+ ba as default
620
634
  };