@piveau/dpi 0.1.0-beta.41 → 0.1.0-beta.42

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,4 +1,4 @@
1
- import { ref as v, computed as De, toRef as ot, onUnmounted as it, onMounted as st, getCurrentInstance as lt, watch as nt, createElementBlock as m, openBlock as u, Fragment as q, createElementVNode as f, createBlock as G, createCommentVNode as p, toDisplayString as $, renderList as _e, unref as T, createVNode as r, withDirectives as dt, vShow as ct } from "vue";
1
+ import { ref as v, computed as we, toRef as ot, onUnmounted as st, onMounted as it, getCurrentInstance as lt, watch as nt, createElementBlock as m, openBlock as r, Fragment as q, createElementVNode as f, createBlock as G, createCommentVNode as p, toDisplayString as $, renderList as De, unref as L, createVNode as u, withDirectives as dt, vShow as ct } from "vue";
2
2
  import "@formkit/core";
3
3
  import { PhWarning as Z } from "@phosphor-icons/vue";
4
4
  import { useI18n as rt } from "vue-i18n";
@@ -7,7 +7,7 @@ import { useEditModeInfo as mt } from "../composables/useDpiEditMode.js";
7
7
  import { useFormValues as ft } from "../composables/useDpiFormValues.js";
8
8
  import E from "../config/dcatapdeHappyFlow/page-content-config.js";
9
9
  import { getFileTypes as pt, getChecksumAlgorithms as vt, getPlannedAvailability as ht, getLanguages as gt } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
- import { eventBus as Ie } from "../HappyFlowComponents/services/eventBus.js";
10
+ import { eventBus as _e } from "../HappyFlowComponents/services/eventBus.js";
11
11
  import M from "../HappyFlowComponents/ui/ButtonV3.vue.js";
12
12
  import yt from "../HappyFlowComponents/ui/Dropdown.vue.js";
13
13
  import Q from "../HappyFlowComponents/ui/InputField.vue.js";
@@ -18,8 +18,8 @@ import wt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue
18
18
  import Dt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
19
19
  import _t from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
20
20
  import It from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
21
- import Tt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
22
- import Lt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
21
+ import Lt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
22
+ import Tt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
23
23
  import Vt from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
24
24
  import X from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
25
25
  import Ut from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
@@ -27,7 +27,7 @@ import Ct from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js"
27
27
  import Rt from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
28
28
  import At from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
29
29
  import St from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
30
- import C from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
30
+ import R from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
31
31
  /* empty css */
32
32
  import Ft from "../../_virtual/_plugin-vue_export-helper.js";
33
33
  const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
@@ -45,63 +45,63 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
45
45
  }, Ht = { class: "dpiV3_TitleDelete" }, jt = { class: "dpiV3_documentationContents" }, Jt = { class: "dpiV3_Documentation" }, Kt = {
46
46
  key: 3,
47
47
  class: "dpiV3_DocumentationsInDistr"
48
- }, qt = { class: "dpiV3_TitleDelete" }, Gt = { class: "dpiV3_documentationContents" }, Zt = { class: "dpiV3_Documentation" }, Qt = { class: "dpiV3_DocumentationsInDistr" }, Xt = { class: "dpiV3_TitleDelete" }, Yt = {
48
+ }, qt = { class: "dpiV3_TitleDelete" }, Gt = { class: "dpiV3_documentationContents" }, Zt = { class: "dpiV3_Documentation" }, Qt = { class: "dpiV3_DocumentationsInDistr" }, Xt = { class: "dpiV3_TitleDelete" }, Yt = { key: 0 }, ea = {
49
49
  key: 0,
50
50
  class: "dpiV3_tempAddMore"
51
- }, ea = {
51
+ }, ta = {
52
52
  key: 5,
53
53
  class: "dpiV3_modified dpiV3_label"
54
- }, ta = {
54
+ }, aa = {
55
55
  key: 6,
56
56
  class: "dpiV3_modified dpiV3_label"
57
- }, aa = { class: "dpiV3_modified dpiV3_label" }, oa = {
57
+ }, oa = { class: "dpiV3_modified dpiV3_label" }, sa = {
58
58
  key: 7,
59
59
  class: "dpiV3_modified dpiV3_label"
60
60
  }, ia = {
61
61
  key: 8,
62
62
  class: "dpiV3_modified dpiV3_label"
63
- }, sa = {
63
+ }, la = {
64
64
  key: 9,
65
65
  class: "dpiV3_modified dpiV3_label"
66
- }, la = {
66
+ }, na = {
67
67
  key: 10,
68
68
  class: "dpiV3_modified dpiV3_label"
69
- }, na = {
69
+ }, da = {
70
70
  key: 11,
71
71
  class: "dpiV3_DocumentationsInDistr"
72
- }, da = { class: "dpiV3_TitleDelete" }, ca = {
72
+ }, ca = { class: "dpiV3_TitleDelete" }, ra = {
73
73
  key: 12,
74
74
  class: "dpiV3_DocumentationsInDistr"
75
- }, ra = { class: "dpiV3_TitleDelete" }, ua = {
75
+ }, ua = { class: "dpiV3_TitleDelete" }, ma = {
76
76
  key: 13,
77
77
  class: "dpiV3_modified dpiV3_label"
78
- }, ma = {
78
+ }, fa = {
79
79
  key: 14,
80
80
  class: "dpiV3_modified dpiV3_label"
81
- }, fa = {
81
+ }, pa = {
82
82
  key: 15,
83
83
  class: "dpiV3_modified dpiV3_label"
84
- }, pa = {
84
+ }, va = {
85
85
  key: 16,
86
86
  class: "dpiV3_modified dpiV3_label"
87
- }, va = {
87
+ }, ha = {
88
88
  key: 17,
89
89
  class: "dpiV3_modified dpiV3_label"
90
- }, ha = {
90
+ }, ga = {
91
91
  key: 18,
92
92
  class: "copy-mini-regular dpiV3_text_error"
93
- }, ga = { class: "dpiV3_CTA-Distribution" }, ya = { class: "dpiV3_tempAddMore" }, ka = {
93
+ }, ya = { class: "dpiV3_CTA-Distribution" }, ka = { class: "dpiV3_tempAddMore" }, xa = {
94
94
  key: 2,
95
95
  class: "dpiV3_errormsgWrapper"
96
- }, xa = {
96
+ }, ba = {
97
97
  __name: "DistributionSimplePage",
98
98
  props: {
99
99
  context: Object,
100
100
  inRap: Boolean
101
101
  },
102
- setup(R) {
103
- var ye, ke, xe;
104
- const B = R, { isEditMode: Y } = mt(), { t: D } = rt(), L = v(null), Te = {
102
+ setup(A) {
103
+ var ge, ye, ke;
104
+ const B = A, { isEditMode: Y } = mt(), { t: D } = rt(), T = v(null), Ie = {
105
105
  isValid: "unset",
106
106
  id: 1,
107
107
  "dcat:accessURL": "",
@@ -133,19 +133,19 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
133
133
  title: "",
134
134
  "dcterms:license": ""
135
135
  }
136
- }, { formValues: w } = ft(), l = De(
136
+ }, { formValues: w } = ft(), l = we(
137
137
  () => Y.value || B.inRap
138
- ).value ? ot((ye = w.value.DistributionSimple) == null ? void 0 : ye["dcat:distribution"]) : v([Te]);
138
+ ).value ? ot((ge = w.value.DistributionSimple) == null ? void 0 : ge["dcat:distribution"]) : v([Ie]);
139
139
  l.value[0]["dcat:downloadURL"] || (console.log(l["dcat:downloadURL"], l), l.value[0]["dcat:downloadURL"] = [{ "@id": "" }]);
140
- const n = v({}), V = v({}), ee = v([]), A = v(!1), z = v(!1), x = v(0), y = v([]), te = v([]), ae = v([]), oe = v([]), P = v([...y.value]), Le = ut(), N = v(null);
140
+ const n = v({}), V = v({}), ee = v([]), S = v(!1), z = v(!1), x = v(0), y = v([]), te = v([]), ae = v([]), oe = v([]), P = v([...y.value]), Le = ut(), N = v(null);
141
141
  v(null);
142
- const O = v(!1), ie = v(!1), se = v(!1), W = v(!1), le = v(!0);
142
+ const O = v(!1), se = v(!1), ie = v(!1), W = v(!1), le = v(!0);
143
143
  for (let a = 0; a < l.value.length; a++)
144
- if (((ke = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : ke.checksum.uri) !== "" || ((xe = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : xe.checksum.title) !== "") {
145
- ie.value = !1;
144
+ if (((ye = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : ye.checksum.uri) !== "" || ((ke = w.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : ke.checksum.title) !== "") {
145
+ se.value = !1;
146
146
  break;
147
147
  }
148
- function Ve() {
148
+ function Te() {
149
149
  ee.value = [
150
150
  {
151
151
  title: D(
@@ -175,58 +175,58 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
175
175
  let t = !0;
176
176
  l.value = l.value.map((e) => {
177
177
  var c;
178
- const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && j(e["dcat:accessURL"]), i = ((c = e["dct:format"]) == null ? void 0 : c.label) != null && e["dct:format"].label.trim() !== "" && y.value.some(
178
+ const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && j(e["dcat:accessURL"]), s = ((c = e["dct:format"]) == null ? void 0 : c.label) != null && e["dct:format"].label.trim() !== "" && y.value.some(
179
179
  (g) => g["@value"].toUpperCase() === e["dct:format"].label.toUpperCase()
180
- ), s = o && i;
181
- return s || (t = !1), a === e.id ? {
180
+ ), i = o && s;
181
+ return i || (t = !1), a === e.id ? {
182
182
  ...e,
183
- isValid: s,
183
+ isValid: i,
184
184
  showErrorDownloadURL: !1,
185
185
  showErrorFormat: !1
186
186
  } : {
187
187
  ...e,
188
- isValid: s,
188
+ isValid: i,
189
189
  showErrorDownloadURL: !o,
190
- showErrorFormat: !i
190
+ showErrorFormat: !s
191
191
  };
192
192
  }), !t && l.value.length > 0 && (l.value[0].isValid = !1), a == null && (W.value = !t), w.value.DistributionSimple["dcat:distribution"] = l.value;
193
193
  }
194
- function S(a, t) {
195
- var o, i, s;
194
+ function F(a, t) {
195
+ var o, s, i;
196
196
  let e = !0;
197
197
  if (t === "dcat:accessURL")
198
- e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? j(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, ((i = a[t]) == null ? void 0 : i.trim()) === "" ? a.urlErrorMessage = "URL ist erforderlich" : a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein");
198
+ e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? j(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, ((s = a[t]) == null ? void 0 : s.trim()) === "" ? a.urlErrorMessage = "URL ist erforderlich" : a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein");
199
199
  else if (t === "dct:format") {
200
- const c = (s = a[t].label) == null ? void 0 : s.trim();
200
+ const c = (i = a[t].label) == null ? void 0 : i.trim();
201
201
  e = c !== "" && y.value.some(
202
202
  (g) => g["@value"].toLowerCase() === c.toLowerCase()
203
203
  ), e ? (a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, c === "" ? a.formatErrorMessage = "Format ist erforderlich" : a.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
204
204
  }
205
- Ue();
205
+ Ve();
206
206
  }
207
- function Ue() {
207
+ function Ve() {
208
208
  let a = !0;
209
209
  l.value = l.value.map((t) => {
210
- var s, c;
211
- const e = ((s = t["dcat:accessURL"]) == null ? void 0 : s.trim()) !== "" && j(t["dcat:accessURL"]), o = ((c = t["dct:format"].label) == null ? void 0 : c.trim()) !== "" && y.value.some(
210
+ var i, c;
211
+ const e = ((i = t["dcat:accessURL"]) == null ? void 0 : i.trim()) !== "" && j(t["dcat:accessURL"]), o = ((c = t["dct:format"].label) == null ? void 0 : c.trim()) !== "" && y.value.some(
212
212
  (g) => {
213
213
  var h;
214
214
  return g["@value"].toUpperCase() === ((h = t["dct:format"].label) == null ? void 0 : h.toUpperCase());
215
215
  }
216
- ), i = e && o;
217
- return i || (a = !1), {
216
+ ), s = e && o;
217
+ return s || (a = !1), {
218
218
  ...t,
219
- isValid: i
219
+ isValid: s
220
220
  };
221
221
  }), !a && l.value.length > 0 ? l.value[0].isValid = !1 : l.value.length > 0 && (l.value[0].isValid = !0), W.value = !a, w.value.DistributionSimple["dcat:distribution"] = l.value;
222
222
  }
223
223
  function j(a) {
224
224
  return /^(https?:\/\/)?(www\.)?[-\w@:%.+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-\w()@:%+.~#?&/=]*)$/.test(a);
225
225
  }
226
- it(() => {
227
- Ie.off("nextClicked", ne), L.value && clearTimeout(L.value);
228
- }), st(async () => {
229
- Ie.on("nextClicked", ne);
226
+ st(() => {
227
+ _e.off("nextClicked", ne), T.value && clearTimeout(T.value);
228
+ }), it(async () => {
229
+ _e.on("nextClicked", ne);
230
230
  const a = lt(), t = a.appContext.app.config.globalProperties.$env;
231
231
  if (a) {
232
232
  const e = a.appContext.app.config.globalProperties.$env;
@@ -248,18 +248,18 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
248
248
  te.value = e;
249
249
  const o = await ht(t.api.baseUrl);
250
250
  ae.value = o;
251
- const i = await gt(t.api.baseUrl);
252
- oe.value = i;
251
+ const s = await gt(t.api.baseUrl);
252
+ oe.value = s;
253
253
  } catch (e) {
254
254
  console.log(e);
255
255
  }
256
- Ve();
256
+ Te();
257
257
  });
258
- function Ce(a, t) {
259
- const e = l.value.find((i) => i.id === t);
258
+ function Ue(a, t) {
259
+ const e = l.value.find((s) => s.id === t);
260
260
  if (!e) return;
261
- let o = y.value.find((i) => i["@value"] === a).uri || "";
262
- e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", S(e, "dct:format"), w.value.DistributionSimple["dcat:distribution"] = l.value;
261
+ let o = y.value.find((s) => s["@value"] === a).uri || "";
262
+ e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", F(e, "dct:format"), w.value.DistributionSimple["dcat:distribution"] = l.value;
263
263
  }
264
264
  function de(a, t) {
265
265
  const e = l.value.find((o) => o.id === t);
@@ -274,36 +274,36 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
274
274
  e ? (e["dct:description"] = a, n.value.dctDescription = a) : console.warn(`No matching distribution found for ID ${t}.`);
275
275
  }
276
276
  function ue(a, t, e) {
277
- const o = l.value.find((i) => i.id === t);
278
- e || (e = ae.value.find((i) => i.value === a).uri || ""), o ? (o["dcatap:availability"] = { label: { de: a }, uri: e }, n.value.availabilityText = a) : console.warn(`No matching distribution found for ID ${t}.`);
277
+ const o = l.value.find((s) => s.id === t);
278
+ e || (e = ae.value.find((s) => s.value === a).uri || ""), o ? (o["dcatap:availability"] = { label: { de: a }, uri: e }, n.value.availabilityText = a) : console.warn(`No matching distribution found for ID ${t}.`);
279
279
  }
280
280
  function me(a, t) {
281
281
  const e = l.value.find((o) => o.id === t);
282
282
  e ? (e["adms:status"] = a, n.value.statusText = a) : console.warn(`No matching distribution found for ID ${t}.`);
283
283
  }
284
284
  function fe(a, t, e, o) {
285
- ie.value = !0;
286
- const i = l.value.find((s) => s.id === e);
287
- o || (o = te.value.find((s) => s.value === t).resource || ""), i ? (i.checksum.title = a, i.checksum["spdx:checksum"] = t, i.checksum.uri = o || "no URI", n.value.checksumText = a, n.value.checksumDropdownText = t, n.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
285
+ se.value = !0;
286
+ const s = l.value.find((i) => i.id === e);
287
+ o || (o = te.value.find((i) => i.value === t).resource || ""), s ? (s.checksum.title = a, s.checksum["spdx:checksum"] = t, s.checksum.uri = o || "no URI", n.value.checksumText = a, n.value.checksumDropdownText = t, n.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
288
288
  }
289
289
  function pe(a, t, e) {
290
- se.value = !0;
291
- const o = l.value.find((i) => i.id === e);
290
+ ie.value = !0;
291
+ const o = l.value.find((s) => s.id === e);
292
292
  o ? (o.changeLicense.title = a, o.changeLicense["dcterms:license"] = t, n.value.changeLicenseText = a, n.value.changeLicenseDropdownText = t) : console.warn(`No matching distribution found for ID ${e}.`);
293
293
  }
294
294
  function ve(a, t, e) {
295
- const o = l.value.find((i) => i.id === t);
296
- e || (e = oe.value.find((i) => i.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], n.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
295
+ const o = l.value.find((s) => s.id === t);
296
+ e || (e = oe.value.find((s) => s.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], n.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
297
297
  }
298
298
  function he(a, t) {
299
299
  const e = l.value.find((o) => o.id === t);
300
300
  e ? (e["dcat:byteSize"] = a, n.value.byteSizeText = a) : console.warn(`No matching distribution found for ID ${t}.`);
301
301
  }
302
302
  function _(a, t, e) {
303
- const o = l.value.find((s) => s.id === e);
304
- let i = y.value.find((s) => s["@value"] === a).uri || "";
303
+ const o = l.value.find((i) => i.id === e);
304
+ let s = y.value.find((i) => i["@value"] === a).uri || "";
305
305
  if (o)
306
- switch (o[t] = { label: a, uri: i }, t) {
306
+ switch (o[t] = { label: a, uri: s }, t) {
307
307
  case "dcat:mediaType":
308
308
  n.value.mediaTypeText = a;
309
309
  break;
@@ -317,7 +317,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
317
317
  else
318
318
  console.warn(`No matching distribution found for ID ${e}.`);
319
319
  }
320
- function Re(a) {
320
+ function Ce(a) {
321
321
  k(
322
322
  a,
323
323
  "Konform zu Standard",
@@ -326,7 +326,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
326
326
  !0
327
327
  );
328
328
  }
329
- function Ae(a) {
329
+ function Re(a) {
330
330
  k(
331
331
  a,
332
332
  "Verfügbarkeit",
@@ -335,7 +335,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
335
335
  !1
336
336
  );
337
337
  }
338
- function Se(a) {
338
+ function Ae(a) {
339
339
  k(
340
340
  a,
341
341
  "Status",
@@ -344,7 +344,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
344
344
  !1
345
345
  );
346
346
  }
347
- function Fe(a) {
347
+ function Se(a) {
348
348
  k(
349
349
  a,
350
350
  "Größe in Bytes",
@@ -353,7 +353,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
353
353
  !1
354
354
  );
355
355
  }
356
- function $e(a) {
356
+ function Fe(a) {
357
357
  k(
358
358
  a,
359
359
  "Sprache",
@@ -365,7 +365,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
365
365
  function J(a, t) {
366
366
  k(t, a, a, !0, !1);
367
367
  }
368
- function ge(a) {
368
+ function $e(a) {
369
369
  k(
370
370
  a,
371
371
  "Regelwerk",
@@ -393,7 +393,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
393
393
  );
394
394
  }
395
395
  function Be(a, t, e) {
396
- const o = w.value.DistributionSimple["dcat:distribution"].find((i) => i.id === t);
396
+ const o = w.value.DistributionSimple["dcat:distribution"].find((s) => s.id === t);
397
397
  o["dcat:downloadURL"][0] != "init" ? o["dcat:downloadURL"][e] = { "@id": a } : o["dcat:downloadURL"][0] = { "@id": a };
398
398
  }
399
399
  function ze(a) {
@@ -420,7 +420,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
420
420
  !0
421
421
  );
422
422
  }
423
- const Oe = De(() => N.value ? Le.getters["dpiStore/getNavSteps"](N.value) : {});
423
+ const Oe = we(() => N.value ? Le.getters["dpiStore/getNavSteps"](N.value) : {});
424
424
  nt(Oe, (a) => {
425
425
  }), Y.value || B.context.node.input([{ isValid: "unset" }]);
426
426
  function We() {
@@ -470,20 +470,20 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
470
470
  return;
471
471
  }
472
472
  e.documentations = e.documentations.filter(
473
- (o) => t.some((i) => i.id === o.id)
473
+ (o) => t.some((s) => s.id === o.id)
474
474
  ), t.forEach((o) => {
475
- const i = e.documentations.findIndex(
476
- (s) => s.id === o.id
475
+ const s = e.documentations.findIndex(
476
+ (i) => i.id === o.id
477
477
  );
478
- if (i !== -1)
479
- e.documentations[i] = {
480
- ...e.documentations[i],
478
+ if (s !== -1)
479
+ e.documentations[s] = {
480
+ ...e.documentations[s],
481
481
  ...o
482
482
  };
483
483
  else {
484
- const s = e.documentations.length > 0 ? Math.max(...e.documentations.map((c) => c.id)) + 1 : 1;
484
+ const i = e.documentations.length > 0 ? Math.max(...e.documentations.map((c) => c.id)) + 1 : 1;
485
485
  e.documentations.push({
486
- id: o.id || s,
486
+ id: o.id || i,
487
487
  "dcat:accessURL": o["dcat:accessURL"] || "",
488
488
  "dct:format": o["dct:format"] || "",
489
489
  "dct:title": o["dct:title"] || "",
@@ -508,21 +508,21 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
508
508
  }
509
509
  e.accessServices = e.accessServices.filter(
510
510
  (o) => t.some(
511
- (i) => i.id === o.id
511
+ (s) => s.id === o.id
512
512
  )
513
513
  ), t.forEach((o) => {
514
- const i = e.accessServices.findIndex(
515
- (s) => s.id === o.id
514
+ const s = e.accessServices.findIndex(
515
+ (i) => i.id === o.id
516
516
  );
517
- if (i !== -1)
518
- e.accessServices[i] = {
519
- ...e.accessServices[i],
517
+ if (s !== -1)
518
+ e.accessServices[s] = {
519
+ ...e.accessServices[s],
520
520
  ...o
521
521
  };
522
522
  else {
523
- const s = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((c) => c.id)) + 1 : 1;
523
+ const i = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((c) => c.id)) + 1 : 1;
524
524
  e.accessServices.push({
525
- id: o.id || s,
525
+ id: o.id || i,
526
526
  "dcat:downloadURL": o["dcat:downloadURL"] || "",
527
527
  "dct:title": o["dct:title"] || "",
528
528
  "dct:description": o["dct:description"] || ""
@@ -532,7 +532,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
532
532
  }
533
533
  function Je(a, t) {
534
534
  var o;
535
- const e = l.value.find((i) => i.id === a);
535
+ const e = l.value.find((s) => s.id === a);
536
536
  if (!e) {
537
537
  console.error(`Distribution with ID ${a} not found`);
538
538
  return;
@@ -542,29 +542,29 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
542
542
  return;
543
543
  }
544
544
  e.conformsToItems = ((o = e == null ? void 0 : e.conformsToItems) == null ? void 0 : o.filter(
545
- (i) => t.some((s) => s.id === i.id)
546
- )) || [], t.forEach((i) => {
547
- const s = e.conformsToItems.findIndex(
548
- (c) => c.id === i.id
545
+ (s) => t.some((i) => i.id === s.id)
546
+ )) || [], t.forEach((s) => {
547
+ const i = e.conformsToItems.findIndex(
548
+ (c) => c.id === s.id
549
549
  );
550
- if (s !== -1)
551
- e.conformsToItems[s] = {
552
- ...e.conformsToItems[s],
553
- ...i
550
+ if (i !== -1)
551
+ e.conformsToItems[i] = {
552
+ ...e.conformsToItems[i],
553
+ ...s
554
554
  };
555
555
  else {
556
556
  const c = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((g) => g.id)) + 1 : 1;
557
557
  e.conformsToItems.push({
558
- id: i.id || c,
559
- "dcat:downloadURL": i["dcat:downloadURL"] || "",
560
- "dct:title": i["dct:title"] || ""
558
+ id: s.id || c,
559
+ "dcat:downloadURL": s["dcat:downloadURL"] || "",
560
+ "dct:title": s["dct:title"] || ""
561
561
  });
562
562
  }
563
563
  });
564
564
  }
565
565
  function Ke(a, t) {
566
566
  var o;
567
- const e = l.value.find((i) => i.id === a);
567
+ const e = l.value.find((s) => s.id === a);
568
568
  if (!e) {
569
569
  console.error(`Distribution with ID ${a} not found`);
570
570
  return;
@@ -574,22 +574,22 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
574
574
  return;
575
575
  }
576
576
  e.policyItems = ((o = e == null ? void 0 : e.policyItems) == null ? void 0 : o.filter(
577
- (i) => t.some((s) => s.id === i.id)
578
- )) || [], t.forEach((i) => {
577
+ (s) => t.some((i) => i.id === s.id)
578
+ )) || [], t.forEach((s) => {
579
579
  var c, g;
580
- const s = (c = e == null ? void 0 : e.policyItems) == null ? void 0 : c.findIndex(
581
- (h) => h.id === i.id
580
+ const i = (c = e == null ? void 0 : e.policyItems) == null ? void 0 : c.findIndex(
581
+ (h) => h.id === s.id
582
582
  );
583
- if (s !== -1)
584
- e.policyItems[s] = {
585
- ...e.policyItems[s],
586
- ...i
583
+ if (i !== -1)
584
+ e.policyItems[i] = {
585
+ ...e.policyItems[i],
586
+ ...s
587
587
  };
588
588
  else {
589
589
  const h = ((g = e == null ? void 0 : e.policyItems) == null ? void 0 : g.length) > 0 ? Math.max(...e.policyItems.map((b) => b.id)) + 1 : 1;
590
590
  e.policyItems.push({
591
- id: i.id || h,
592
- "dcat:accessURL": i["dcat:accessURL"] || ""
591
+ id: s.id || h,
592
+ "dcat:accessURL": s["dcat:accessURL"] || ""
593
593
  });
594
594
  }
595
595
  });
@@ -616,7 +616,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
616
616
  t.useUndefined ? e[t.optType] = void 0 : e[t.optType] = "";
617
617
  }
618
618
  function Ze(a) {
619
- var e, o, i, s, c;
619
+ var e, o, s, i, c;
620
620
  x.value = a;
621
621
  const t = l.value.find((g) => g.id === a);
622
622
  t && (n.value = {
@@ -635,7 +635,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
635
635
  // nameTextByClauses: distribution["dcatde:licenseAttributionByText"] || "",
636
636
  // accessRightsText: distribution["dct:accessRights"].uri || "",
637
637
  availabilityText: ((o = (e = t["dcatap:availability"]) == null ? void 0 : e.label) == null ? void 0 : o.de) || "",
638
- languageText: ((i = t == null ? void 0 : t["dct:language"]) == null ? void 0 : i["@value"]) || "",
638
+ languageText: ((s = t == null ? void 0 : t["dct:language"]) == null ? void 0 : s["@value"]) || "",
639
639
  byteSizeText: t["dcat:byteSize"] || "",
640
640
  mediaTypeText: t["dcat:mediaType"].label || "",
641
641
  // compressFormatText: distribution["dcat:compressFormat"].label || "",
@@ -644,19 +644,19 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
644
644
  checksumText: t.checksum.title || "",
645
645
  checksumURI: t.checksum.uri || "",
646
646
  checksumDropdownText: t.checksum["spdx:checksum"] || "",
647
- changeLicenseText: ((s = t == null ? void 0 : t.changeLicense) == null ? void 0 : s.title) || "",
647
+ changeLicenseText: ((i = t == null ? void 0 : t.changeLicense) == null ? void 0 : i.title) || "",
648
648
  changeLicenseDropdownText: ((c = t == null ? void 0 : t.changeLicense) == null ? void 0 : c["dcterms:license"]) || "",
649
649
  conformsToItems: (t == null ? void 0 : t.conformsToItems) || [],
650
650
  policyItems: (t == null ? void 0 : t.policyItems) || [],
651
651
  downloadURL: (t == null ? void 0 : t.downloadURL) || []
652
- }, A.value = !0, document.body.style.overflow = "hidden");
652
+ }, S.value = !0, document.body.style.overflow = "hidden");
653
653
  }
654
654
  function Qe() {
655
- A.value = !1, document.body.style.overflow = "auto";
655
+ S.value = !1, document.body.style.overflow = "auto";
656
656
  }
657
657
  function Xe(a) {
658
658
  x.value = a;
659
- const t = l.value.find((s) => s.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", i = t ? t["dcat:accessURL"] : "";
659
+ const t = l.value.find((i) => i.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", s = t ? t["dcat:accessURL"] : "";
660
660
  n.value = {
661
661
  button: "Löschen",
662
662
  header: D(
@@ -668,15 +668,15 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
668
668
  action: "deleteDataset",
669
669
  title: e,
670
670
  format: o,
671
- distributionLink: i
672
- }, A.value = !0;
671
+ distributionLink: s
672
+ }, S.value = !0;
673
673
  }
674
- function k(a, t, e, o, i) {
674
+ function k(a, t, e, o, s) {
675
675
  const c = JSON.stringify({
676
676
  distributionId: a,
677
677
  optType: e,
678
678
  useUndefined: o,
679
- isArray: i
679
+ isArray: s
680
680
  });
681
681
  V.value = {
682
682
  button: "Löschen",
@@ -686,16 +686,16 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
686
686
  }, z.value = !0;
687
687
  }
688
688
  function K(a, t, e) {
689
- var i, s, c, g;
689
+ var s, i, c, g;
690
690
  const o = l.value.find((h) => h.id === e);
691
691
  if (o)
692
692
  if (t === "dcat:accessURL") {
693
- const h = (i = a == null ? void 0 : a.target) == null ? void 0 : i.value;
694
- o[t] = h, L.value && clearTimeout(L.value), L.value = setTimeout(() => {
695
- S(o, t);
693
+ const h = (s = a == null ? void 0 : a.target) == null ? void 0 : s.value;
694
+ o[t] = h, T.value && clearTimeout(T.value), T.value = setTimeout(() => {
695
+ F(o, t);
696
696
  }, 800);
697
697
  } else if (t === "dct:format") {
698
- const h = typeof a == "string" ? a.trim() : (c = (s = a == null ? void 0 : a.target) == null ? void 0 : s.value) == null ? void 0 : c.trim();
698
+ const h = typeof a == "string" ? a.trim() : (c = (i = a == null ? void 0 : a.target) == null ? void 0 : i.value) == null ? void 0 : c.trim();
699
699
  if (o.showErrorFormat = !1, o.formatErrorMessage = "", h === "")
700
700
  P.value = [...y.value];
701
701
  else {
@@ -706,46 +706,46 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
706
706
  (I) => I["@value"].toLowerCase().includes(h.toLowerCase())
707
707
  );
708
708
  }
709
- S(o, t);
709
+ F(o, t);
710
710
  } else
711
- o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, S(o, t);
711
+ o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, F(o, t);
712
712
  }
713
713
  function Ye(a, t) {
714
714
  const e = l.value.find((o) => o.id === a);
715
715
  e.documentations = e.documentations.filter(
716
- (o) => t.some((i) => i.id === o.id)
716
+ (o) => t.some((s) => s.id === o.id)
717
717
  );
718
718
  }
719
719
  function et(a, t) {
720
720
  const e = l.value.find((o) => o.id === a);
721
721
  e.accessServices = e.accessServices.filter(
722
- (o) => t.some((i) => i.id === o.id)
722
+ (o) => t.some((s) => s.id === o.id)
723
723
  );
724
724
  }
725
725
  function tt(a, t) {
726
726
  const e = l.value.find((o) => o.id === a);
727
727
  e.conformsToItems = e.conformsToItems.filter(
728
- (o) => t.some((i) => i.id === o.id)
728
+ (o) => t.some((s) => s.id === o.id)
729
729
  );
730
730
  }
731
731
  function at(a, t) {
732
732
  const e = l.value.find((o) => o.id === a);
733
733
  e.policyItems = e.policyItems.filter(
734
- (o) => t.some((i) => i.id === o.id)
734
+ (o) => t.some((s) => s.id === o.id)
735
735
  );
736
736
  }
737
- return (a, t) => (u(), m(q, null, [
737
+ return (a, t) => (r(), m(q, null, [
738
738
  f("div", $t, [
739
- R.inRap ? p("", !0) : (u(), m("h4", Et, $(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
740
- R.inRap ? p("", !0) : (u(), m("div", Mt, $(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
741
- (u(!0), m(q, null, _e(T(l), (e, o) => {
742
- var i, s, c, g, h, b, I, be, we;
743
- return u(), m("div", {
739
+ A.inRap ? p("", !0) : (r(), m("h4", Et, $(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
740
+ A.inRap ? p("", !0) : (r(), m("div", Mt, $(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
741
+ (r(!0), m(q, null, De(L(l), (e, o) => {
742
+ var s, i, c, g, h, b, I, xe, be;
743
+ return r(), m("div", {
744
744
  key: e.id,
745
745
  class: "dpiV3AutoCompleteWrap"
746
746
  }, [
747
747
  f("div", Bt, [
748
- r(Q, {
748
+ u(Q, {
749
749
  "add-on-text": !1,
750
750
  datePicker: !1,
751
751
  infoIcon: !0,
@@ -765,14 +765,14 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
765
765
  "model-value": e["dcat:accessURL"],
766
766
  onInput: (d) => K(d, "dcat:accessURL", e.id)
767
767
  }, null, 8, ["placeholder", "label", "showError", "model-value", "onInput"]),
768
- e.showErrorDownloadURL && e.urlErrorMessage ? (u(), m("div", zt, [
769
- r(T(Z), {
768
+ e.showErrorDownloadURL && e.urlErrorMessage ? (r(), m("div", zt, [
769
+ u(L(Z), {
770
770
  size: 16,
771
771
  weight: "fill"
772
772
  }),
773
773
  f("span", Pt, $(e.urlErrorMessage), 1)
774
774
  ])) : p("", !0),
775
- r(yt, {
775
+ u(yt, {
776
776
  "dropdown-width": "large",
777
777
  type: "inputField",
778
778
  "input-field-props": {
@@ -796,17 +796,17 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
796
796
  data: P.value,
797
797
  autocomplete: !0,
798
798
  onInput: (d) => K(d, "dct:format", e.id),
799
- "onUpdate:modelValue": (d) => Ce(d, e.id),
800
- "model-value": (i = e == null ? void 0 : e["dct:format"]) == null ? void 0 : i.label
799
+ "onUpdate:modelValue": (d) => Ue(d, e.id),
800
+ "model-value": (s = e == null ? void 0 : e["dct:format"]) == null ? void 0 : s.label
801
801
  }, null, 8, ["input-field-props", "data", "onInput", "onUpdate:modelValue", "model-value"]),
802
- e.showErrorFormat && e.formatErrorMessage ? (u(), m("div", Nt, [
803
- r(T(Z), {
802
+ e.showErrorFormat && e.formatErrorMessage ? (r(), m("div", Nt, [
803
+ u(L(Z), {
804
804
  size: 16,
805
805
  weight: "fill"
806
806
  }),
807
807
  f("span", Ot, $(e.formatErrorMessage), 1)
808
808
  ])) : p("", !0),
809
- r(Q, {
809
+ u(Q, {
810
810
  modelValue: e["dct:title"],
811
811
  "onUpdate:modelValue": (d) => e["dct:title"] = d,
812
812
  "add-on-text": !1,
@@ -824,11 +824,11 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
824
824
  "show-end-icon": !1,
825
825
  onInput: (d) => K(d, "dct:title", e.id)
826
826
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
827
- (e.documentations || []).length > 0 ? (u(), m("div", Wt, [
827
+ (e.documentations || []).length > 0 ? (r(), m("div", Wt, [
828
828
  f("div", Ht, [
829
829
  t[6] || (t[6] = f("div", null, "Webpage (optional)", -1)),
830
830
  f("div", null, [
831
- r(C, {
831
+ u(R, {
832
832
  "button-text": "löschen",
833
833
  onClick: (d) => Ee(e.id)
834
834
  }, null, 8, ["onClick"])
@@ -836,7 +836,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
836
836
  ]),
837
837
  f("div", jt, [
838
838
  f("div", Jt, [
839
- r(Vt, {
839
+ u(Vt, {
840
840
  documentations: e.documentations,
841
841
  "file-types": y.value,
842
842
  "distribution-id": e.id,
@@ -847,11 +847,11 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
847
847
  ])
848
848
  ])
849
849
  ])) : p("", !0),
850
- (e.accessServices || []).length > 0 ? (u(), m("div", Kt, [
850
+ (e.accessServices || []).length > 0 ? (r(), m("div", Kt, [
851
851
  f("div", qt, [
852
852
  t[7] || (t[7] = f("div", null, "Ausliefernder Datenservice (optional)", -1)),
853
853
  f("div", null, [
854
- r(C, {
854
+ u(R, {
855
855
  "button-text": "löschen",
856
856
  onClick: (d) => Me(e.id)
857
857
  }, null, 8, ["onClick"])
@@ -859,7 +859,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
859
859
  ]),
860
860
  f("div", Gt, [
861
861
  f("div", Zt, [
862
- r(bt, {
862
+ u(bt, {
863
863
  "access-services": e.accessServices,
864
864
  "distribution-id": e.id,
865
865
  "as-card": !0,
@@ -872,24 +872,24 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
872
872
  ])
873
873
  ])
874
874
  ])) : p("", !0),
875
- (u(!0), m(q, { key: 4 }, _e(e["dcat:downloadURL"], (d, F) => (u(), m("div", Qt, [
875
+ (r(!0), m(q, { key: 4 }, De(e["dcat:downloadURL"], (d, U) => (r(), m("div", Qt, [
876
876
  f("div", Xt, [
877
877
  t[8] || (t[8] = f("div", {
878
878
  class: "dpiV3_label",
879
879
  style: { margin: "0" }
880
880
  }, "DownloadURL (optional)", -1)),
881
- f("div", null, [
882
- r(C, {
881
+ e["dcat:downloadURL"].length !== 1 ? (r(), m("div", Yt, [
882
+ u(R, {
883
883
  "button-text": "löschen",
884
- onClick: (U) => ge(e.id)
884
+ onClick: (C) => e["dcat:downloadURL"].splice(U, 1)
885
885
  }, null, 8, ["onClick"])
886
- ])
886
+ ])) : p("", !0)
887
887
  ]),
888
- r(Q, {
889
- onInput: (U) => Be(
890
- U.target.value,
888
+ u(Q, {
889
+ onInput: (C) => Be(
890
+ C.target.value,
891
891
  e.id,
892
- F
892
+ U
893
893
  ),
894
894
  addOnText: !1,
895
895
  datePicker: !1,
@@ -899,22 +899,22 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
899
899
  inputFieldSize: "large",
900
900
  initialHintText: !1,
901
901
  label: "",
902
- modelValue: e["dcat:downloadURL"][F]["@id"],
903
- "onUpdate:modelValue": (U) => e["dcat:downloadURL"][F]["@id"] = U,
902
+ modelValue: e["dcat:downloadURL"][U]["@id"],
903
+ "onUpdate:modelValue": (C) => e["dcat:downloadURL"][U]["@id"] = C,
904
904
  showEndIcon: !1
905
905
  }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
906
- F === e["dcat:downloadURL"].length - 1 ? (u(), m("div", Yt, [
907
- r(M, {
906
+ U === e["dcat:downloadURL"].length - 1 ? (r(), m("div", ea, [
907
+ u(M, {
908
908
  buttonText: "Weitere DownloadURL hinzufügen",
909
909
  size: "small",
910
910
  iconStart: "plus",
911
911
  variant: "tertiary",
912
- onClick: (U) => e["dcat:downloadURL"].push({ "@id": "" })
912
+ onClick: (C) => e["dcat:downloadURL"].push({ "@id": "" })
913
913
  }, null, 8, ["onClick"])
914
914
  ])) : p("", !0)
915
915
  ]))), 256)),
916
- e["dct:modified"] && e["dct:modified"].trim() !== "" ? (u(), m("div", ea, [
917
- r(Rt, {
916
+ e["dct:modified"] && e["dct:modified"].trim() !== "" ? (r(), m("div", ta, [
917
+ u(Rt, {
918
918
  "show-delete-button": !0,
919
919
  "distribution-id": e.id,
920
920
  "model-value": e["dct:modified"],
@@ -922,8 +922,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
922
922
  onDeleteButtonClicked: (d) => ze(e.id)
923
923
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
924
924
  ])) : p("", !0),
925
- e["dct:issued"] && e["dct:issued"].trim() !== "" ? (u(), m("div", ta, [
926
- r(Ut, {
925
+ e["dct:issued"] && e["dct:issued"].trim() !== "" ? (r(), m("div", aa, [
926
+ u(Ut, {
927
927
  "show-delete-button": !0,
928
928
  "distribution-id": e.id,
929
929
  "model-value": e["dct:issued"],
@@ -931,8 +931,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
931
931
  onDeleteButtonClicked: (d) => Pe(e.id)
932
932
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
933
933
  ])) : p("", !0),
934
- dt(f("div", aa, [
935
- r(Lt, {
934
+ dt(f("div", oa, [
935
+ u(Tt, {
936
936
  "distribution-id": e.id,
937
937
  "description-text": e["dct:description"],
938
938
  "show-delete-button": !0,
@@ -945,26 +945,26 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
945
945
  e["dct:description"] !== void 0 && e["dct:description"] !== ""
946
946
  ]
947
947
  ]),
948
- e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (u(), m("div", oa, [
949
- r(wt, {
948
+ e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (r(), m("div", sa, [
949
+ u(wt, {
950
950
  "availability-text": e["dcatap:availability"].label.de,
951
951
  "distribution-id": e.id,
952
952
  "show-delete-button": !0,
953
953
  onAddAvailability: ue,
954
- onDeleteButtonClicked: (d) => Ae(e.id)
954
+ onDeleteButtonClicked: (d) => Re(e.id)
955
955
  }, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
956
956
  ])) : p("", !0),
957
- e["adms:status"].label && e["adms:status"].label.trim() !== "" ? (u(), m("div", ia, [
958
- r(St, {
959
- "status-text": e["adms:status"].label,
957
+ e["adms:status"]["@value"] && e["adms:status"]["@value"].trim() !== "" ? (r(), m("div", ia, [
958
+ u(St, {
959
+ "status-text": e["adms:status"]["@value"],
960
960
  "distribution-id": e.id,
961
961
  "show-delete-button": !0,
962
962
  onAddStatus: me,
963
- onDeleteButtonClicked: (d) => Se(e.id)
963
+ onDeleteButtonClicked: (d) => Ae(e.id)
964
964
  }, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
965
965
  ])) : p("", !0),
966
- e.checksum["spdx:checksum"] != "" ? (u(), m("div", sa, [
967
- r(It, {
966
+ e.checksum["spdx:checksum"] != "" ? (r(), m("div", la, [
967
+ u(It, {
968
968
  "checksum-text": e.checksum.title,
969
969
  "checksum-dropdown-text": e.checksum["spdx:checksum"],
970
970
  "distribution-id": e.id,
@@ -974,8 +974,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
974
974
  onAddChecksum: fe
975
975
  }, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "distIndex", "checksum-u-r-i"])
976
976
  ])) : p("", !0),
977
- se.value ? (u(), m("div", la, [
978
- r(_t, {
977
+ ie.value ? (r(), m("div", na, [
978
+ u(_t, {
979
979
  "change-license-text": e.changeLicense.title,
980
980
  "change-license-dropdown-text": e.changeLicense["dcterms:license"],
981
981
  "distribution-id": e.id,
@@ -984,17 +984,17 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
984
984
  onAddChangeLicense: pe
985
985
  }, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
986
986
  ])) : p("", !0),
987
- e.conformsToItems && e.conformsToItems.length > 0 ? (u(), m("div", na, [
988
- f("div", da, [
987
+ e.conformsToItems && e.conformsToItems.length > 0 ? (r(), m("div", da, [
988
+ f("div", ca, [
989
989
  t[9] || (t[9] = f("div", null, "Konform zu Standard (optional)", -1)),
990
990
  f("div", null, [
991
- r(C, {
991
+ u(R, {
992
992
  "button-text": "löschen",
993
- onClick: (d) => Re(e.id)
993
+ onClick: (d) => Ce(e.id)
994
994
  }, null, 8, ["onClick"])
995
995
  ])
996
996
  ]),
997
- r(Tt, {
997
+ u(Lt, {
998
998
  "conforms-to-items": e.conformsToItems,
999
999
  "distribution-id": e.id,
1000
1000
  "as-card": !0,
@@ -1002,43 +1002,43 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1002
1002
  onUpdate: (d) => tt(e.id, d)
1003
1003
  }, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
1004
1004
  ])) : p("", !0),
1005
- ((c = (s = e == null ? void 0 : e.policyItems) == null ? void 0 : s[0]) == null ? void 0 : c["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (u(), m("div", ca, [
1006
- f("div", ra, [
1005
+ ((c = (i = e == null ? void 0 : e.policyItems) == null ? void 0 : i[0]) == null ? void 0 : c["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (r(), m("div", ra, [
1006
+ f("div", ua, [
1007
1007
  t[10] || (t[10] = f("div", null, "Regelwerk (optional)", -1)),
1008
1008
  f("div", null, [
1009
- r(C, {
1009
+ u(R, {
1010
1010
  "button-text": "löschen",
1011
- onClick: (d) => ge(e.id)
1011
+ onClick: (d) => $e(e.id)
1012
1012
  }, null, 8, ["onClick"])
1013
1013
  ])
1014
1014
  ]),
1015
- r(At, {
1015
+ u(At, {
1016
1016
  "policy-items": e.policyItems,
1017
1017
  "distribution-id": e.id,
1018
1018
  "as-card": !0,
1019
1019
  onUpdate: (d) => at(e.id, d)
1020
1020
  }, null, 8, ["policy-items", "distribution-id", "onUpdate"])
1021
1021
  ])) : p("", !0),
1022
- (h = (g = e["dct:language"]) == null ? void 0 : g[0]) != null && h.label || (I = (b = e["dct:language"]) == null ? void 0 : b[0]) != null && I["@value"] && ((we = (be = e["dct:language"]) == null ? void 0 : be[0]) == null ? void 0 : we["@value"].trim()) !== "" ? (u(), m("div", ua, [
1023
- r(Ct, {
1022
+ (h = (g = e["dct:language"]) == null ? void 0 : g[0]) != null && h.label || (I = (b = e["dct:language"]) == null ? void 0 : b[0]) != null && I["@value"] && ((be = (xe = e["dct:language"]) == null ? void 0 : xe[0]) == null ? void 0 : be["@value"].trim()) !== "" ? (r(), m("div", ma, [
1023
+ u(Ct, {
1024
1024
  "distribution-id": e.id,
1025
1025
  "show-delete-button": !1,
1026
1026
  onAddLanguage: ve,
1027
- onDeleteButtonClicked: (d) => $e(e.id),
1027
+ onDeleteButtonClicked: (d) => Fe(e.id),
1028
1028
  inOverview: !0
1029
1029
  }, null, 8, ["distribution-id", "onDeleteButtonClicked"])
1030
1030
  ])) : p("", !0),
1031
- e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (u(), m("div", ma, [
1032
- r(Dt, {
1031
+ e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (r(), m("div", fa, [
1032
+ u(Dt, {
1033
1033
  "byte-size-prop": e["dcat:byteSize"],
1034
1034
  "distribution-id": e.id,
1035
1035
  "show-delete-button": !0,
1036
1036
  onAddByteSize: he,
1037
- onDeleteButtonClicked: (d) => Fe(e.id)
1037
+ onDeleteButtonClicked: (d) => Se(e.id)
1038
1038
  }, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
1039
1039
  ])) : p("", !0),
1040
- e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (u(), m("div", fa, [
1041
- r(X, {
1040
+ e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (r(), m("div", pa, [
1041
+ u(X, {
1042
1042
  "distribution-id": e.id,
1043
1043
  "file-types": y.value,
1044
1044
  "file-format-type": "dcat:mediaType",
@@ -1048,8 +1048,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1048
1048
  onDeleteButtonClicked: t[0] || (t[0] = (d) => J("dcat:mediaType", x.value))
1049
1049
  }, null, 8, ["distribution-id", "file-types", "file-format-text"])
1050
1050
  ])) : p("", !0),
1051
- e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (u(), m("div", pa, [
1052
- r(X, {
1051
+ e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (r(), m("div", va, [
1052
+ u(X, {
1053
1053
  "distribution-id": e.id,
1054
1054
  "file-types": y.value,
1055
1055
  "file-format-type": "dcat:compressFormat",
@@ -1059,8 +1059,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1059
1059
  onDeleteButtonClicked: t[1] || (t[1] = (d) => J("dcat:compressFormat", x.value))
1060
1060
  }, null, 8, ["distribution-id", "file-types", "compress-format-text"])
1061
1061
  ])) : p("", !0),
1062
- e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (u(), m("div", va, [
1063
- r(X, {
1062
+ e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (r(), m("div", ha, [
1063
+ u(X, {
1064
1064
  "distribution-id": e.id,
1065
1065
  "file-types": y.value,
1066
1066
  "file-format-type": "dcat:packageFormat",
@@ -1070,17 +1070,17 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1070
1070
  onDeleteButtonClicked: t[2] || (t[2] = (d) => J("dcat:packageFormat", x.value))
1071
1071
  }, null, 8, ["distribution-id", "file-types", "package-format-text"])
1072
1072
  ])) : p("", !0),
1073
- O.value && T(l).length === 1 ? (u(), m("p", ha, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
1073
+ O.value && L(l).length === 1 ? (r(), m("p", ga, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
1074
1074
  ]),
1075
- f("div", ga, [
1076
- r(M, {
1075
+ f("div", ya, [
1076
+ u(M, {
1077
1077
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
1078
1078
  size: "small",
1079
1079
  "icon-start": "PlusSquare",
1080
1080
  variant: "tertiary",
1081
1081
  onClick: (d) => Ze(e.id)
1082
1082
  }, null, 8, ["button-text", "onClick"]),
1083
- T(l).length > 1 ? (u(), G(M, {
1083
+ L(l).length > 1 ? (r(), G(M, {
1084
1084
  key: 0,
1085
1085
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.delete"),
1086
1086
  size: "small",
@@ -1091,8 +1091,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1091
1091
  ])
1092
1092
  ]);
1093
1093
  }), 128)),
1094
- f("div", ya, [
1095
- r(M, {
1094
+ f("div", ka, [
1095
+ u(M, {
1096
1096
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
1097
1097
  size: "large",
1098
1098
  "icon-start": "plus",
@@ -1100,15 +1100,15 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1100
1100
  onClick: We
1101
1101
  }, null, 8, ["button-text"])
1102
1102
  ]),
1103
- W.value ? (u(), m("div", ka, [
1104
- r(T(Z), {
1103
+ W.value ? (r(), m("div", xa, [
1104
+ u(L(Z), {
1105
1105
  size: 16,
1106
1106
  weight: "fill"
1107
1107
  }),
1108
1108
  t[11] || (t[11] = f("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1109
1109
  ])) : p("", !0)
1110
1110
  ]),
1111
- A.value ? (u(), G(xt, {
1111
+ S.value ? (r(), G(xt, {
1112
1112
  key: 0,
1113
1113
  "distibution-id": x.value,
1114
1114
  "file-types": y.value,
@@ -1124,7 +1124,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1124
1124
  format: n.value.format,
1125
1125
  "distribution-link": n.value.distributionLink,
1126
1126
  sections: ee.value,
1127
- context: R.context,
1127
+ context: A.context,
1128
1128
  "distribution-id": n.value.distributionId,
1129
1129
  "modified-date": n.value.dctModified || "",
1130
1130
  "issued-date": n.value.dctIssued || "",
@@ -1165,7 +1165,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1165
1165
  onAddConformsToItems: Je,
1166
1166
  onAddPolicyItems: Ke
1167
1167
  }, null, 8, ["distibution-id", "file-types", "buttons", "header-text", "text", "show-buttons", "optional-info-view", "documentations", "access-services", "action", "title", "format", "distribution-link", "sections", "context", "distribution-id", "modified-date", "issued-date", "description-text", "access-rights-text", "availability-text", "language-text", "byte-size-text", "media-type-text", "compress-format-text", "package-format-text", "status-text", "checksum-text", "checksum-u-r-i", "checksum-dropdown-text", "change-license-text", "change-license-dropdown-text", "conforms-to-items", "policy-items", "download-URL", "onAddAccessRights"])) : p("", !0),
1168
- z.value ? (u(), G(kt, {
1168
+ z.value ? (r(), G(kt, {
1169
1169
  key: 1,
1170
1170
  buttons: V.value.button,
1171
1171
  "header-text": V.value.header,
@@ -1176,7 +1176,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, Et = { key: 0 }, Mt = {
1176
1176
  }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
1177
1177
  ], 64));
1178
1178
  }
1179
- }, eo = /* @__PURE__ */ Ft(xa, [["__scopeId", "data-v-bcf5fd29"]]);
1179
+ }, to = /* @__PURE__ */ Ft(ba, [["__scopeId", "data-v-a72b1c8c"]]);
1180
1180
  export {
1181
- eo as default
1181
+ to as default
1182
1182
  };