@piveau/dpi 0.1.0-beta.62 → 0.1.0-beta.64

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