@piveau/dpi 0.2.0-alpha.59 → 0.2.0-alpha.60

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,115 +1,111 @@
1
- import { ref as h, computed as je, toRef as It, onUnmounted as Vt, onMounted as Lt, getCurrentInstance as Ut, watch as Rt, createElementBlock as f, openBlock as u, Fragment as ee, createElementVNode as m, createBlock as te, createCommentVNode as p, toDisplayString as M, renderList as He, unref as L, createVNode as c, withDirectives as Ct, vShow as St, normalizeClass as At } from "vue";
1
+ import { ref as h, computed as Pe, toRef as _t, onUnmounted as Dt, onMounted as Tt, getCurrentInstance as It, watch as Ut, createElementBlock as f, openBlock as m, Fragment as ee, createElementVNode as r, createBlock as te, createCommentVNode as p, toDisplayString as M, renderList as Ne, unref as V, createVNode as u, withDirectives as Vt, vShow as Rt, normalizeClass as Lt } from "vue";
2
2
  import "@formkit/core";
3
3
  import { PhWarning as O } from "@phosphor-icons/vue";
4
- import { useI18n as Ft } from "vue-i18n";
5
- import { useStore as $t } from "vuex";
6
- import { useEditModeInfo as Et } from "../composables/useDpiEditMode.js";
7
- import { useFormValues as Mt } from "../composables/useDpiFormValues.js";
4
+ import { useI18n as Ct } from "vue-i18n";
5
+ import { useStore as St } from "vuex";
6
+ import { useEditModeInfo as At } from "../composables/useDpiEditMode.js";
7
+ import { useFormValues as Ft } from "../composables/useDpiFormValues.js";
8
8
  import W from "../config/dcatapdeHappyFlow/page-content-config.js";
9
- import { getLicenses as Bt, getFileTypes as zt, getFormatTypes as Pt, getChecksumAlgorithms as Nt, getPlannedAvailability as Ot, getLanguages as Wt } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
- import { eventBus as Ge } from "../HappyFlowComponents/services/eventBus.js";
11
- import j from "../HappyFlowComponents/ui/ButtonV3.vue.js";
12
- import jt from "../HappyFlowComponents/ui/Dropdown.vue.js";
9
+ import { getLicenses as $t, getFileTypes as Et, getFormatTypes as Mt, getChecksumAlgorithms as Bt, getPlannedAvailability as zt, getLanguages as Pt } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
+ import { eventBus as Oe } from "../HappyFlowComponents/services/eventBus.js";
11
+ import H from "../HappyFlowComponents/ui/ButtonV3.vue.js";
12
+ import Nt from "../HappyFlowComponents/ui/Dropdown.vue.js";
13
13
  import ae from "../HappyFlowComponents/ui/InputField.vue.js";
14
- import Ht from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
15
- import Gt from "../HappyFlowComponents/ui/ModalV3.vue.js";
16
- import Jt from "../HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js";
17
- import Kt from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
18
- import qt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
19
- import Zt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
20
- import Qt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
21
- import Xt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
22
- import Yt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
23
- import ea from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
24
- import ta from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
14
+ import Ot from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
15
+ import Wt from "../HappyFlowComponents/ui/ModalV3.vue.js";
16
+ import Ht from "../HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js";
17
+ import jt from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
18
+ import Gt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
19
+ import Jt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
20
+ import Kt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
21
+ import qt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
22
+ import Zt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
23
+ import Qt from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
25
24
  import oe from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
26
- import aa from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
27
- import oa from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
28
- import sa from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
29
- import ia from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
30
- import la from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
25
+ import Xt from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
26
+ import Yt from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
27
+ import ea from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
28
+ import ta from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
29
+ import aa from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
31
30
  import S from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
32
31
  import "zod/v4/locales";
33
32
  /* empty css */
34
- import na from "../../../../../_virtual/_plugin-vue_export-helper.js";
35
- const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
33
+ import oa from "../../../../../_virtual/_plugin-vue_export-helper.js";
34
+ const sa = { class: "dpiV3InnerComponentWrap" }, ia = { key: 0 }, la = {
36
35
  key: 1,
37
36
  class: "copy-large-regular"
38
- }, ua = { class: "dpiV3_LinkAndMetadata input-container" }, ma = { style: { position: "relative", width: "100%" } }, fa = {
37
+ }, na = { class: "dpiV3_LinkAndMetadata input-container" }, da = { style: { position: "relative", width: "100%" } }, ca = {
39
38
  key: 0,
40
39
  class: "validation-error"
41
- }, pa = { class: "copy-mini-regular" }, va = { style: { position: "relative", width: "100%" } }, ha = {
40
+ }, ra = { class: "copy-mini-regular" }, ua = { style: { position: "relative", width: "100%" } }, ma = {
42
41
  key: 0,
43
42
  class: "validation-error"
44
- }, ga = { class: "copy-mini-regular" }, ya = {
43
+ }, fa = { class: "copy-mini-regular" }, pa = {
45
44
  key: 0,
46
45
  class: "dpiV3_DocumentationsInDistr"
47
- }, ka = { class: "dpiV3_TitleDelete" }, xa = { class: "dpiV3_documentationContents" }, ba = { class: "dpiV3_Documentation" }, wa = {
46
+ }, va = { class: "dpiV3_TitleDelete" }, ha = { class: "dpiV3_documentationContents" }, ga = { class: "dpiV3_Documentation" }, ya = {
48
47
  key: 1,
49
48
  class: "dpiV3_DocumentationsInDistr"
50
- }, _a = { class: "dpiV3_TitleDelete" }, Da = { class: "dpiV3_documentationContents" }, Ta = { class: "dpiV3_Documentation" }, Ia = { class: "dpiV3_TitleDelete" }, Va = { key: 0 }, La = { style: { position: "relative", width: "100%", "margin-bottom": "10px" } }, Ua = {
49
+ }, ka = { class: "dpiV3_TitleDelete" }, ba = { class: "dpiV3_documentationContents" }, xa = { class: "dpiV3_Documentation" }, wa = { class: "dpiV3_TitleDelete" }, _a = { key: 0 }, Da = { style: { position: "relative", width: "100%", "margin-bottom": "10px" } }, Ta = {
51
50
  key: 0,
52
51
  class: "validation-error"
53
- }, Ra = { class: "copy-mini-regular" }, Ca = {
52
+ }, Ia = { class: "copy-mini-regular" }, Ua = {
54
53
  key: 0,
55
54
  class: "dpiV3_tempAddMore"
56
- }, Sa = {
55
+ }, Va = {
57
56
  key: 2,
58
57
  class: "dpiV3_modified dpiV3_label"
59
- }, Aa = {
58
+ }, Ra = {
60
59
  key: 3,
61
60
  class: "dpiV3_modified dpiV3_label"
62
- }, Fa = { class: "dpiV3_modified dpiV3_label" }, $a = {
61
+ }, La = { class: "dpiV3_modified dpiV3_label" }, Ca = {
63
62
  key: 4,
64
63
  class: "dpiV3_modified dpiV3_label"
65
- }, Ea = {
64
+ }, Sa = {
66
65
  key: 5,
67
66
  class: "dpiV3_modified dpiV3_label"
68
- }, Ma = {
67
+ }, Aa = {
69
68
  key: 6,
70
69
  class: "dpiV3_modified dpiV3_label"
71
- }, Ba = {
70
+ }, Fa = {
72
71
  key: 7,
73
72
  class: "dpiV3_modified dpiV3_label"
74
- }, za = {
73
+ }, $a = {
75
74
  class: "dpiV3_TitleDelete",
76
75
  style: { "margin-bottom": "var(--Spacing-1, 4px)" }
77
- }, Pa = {
78
- key: 8,
79
- class: "dpiV3_modified dpiV3_label"
80
- }, Na = {
76
+ }, Ea = {
81
77
  key: 9,
82
78
  class: "dpiV3_DocumentationsInDistr"
83
- }, Oa = { class: "dpiV3_TitleDelete" }, Wa = {
79
+ }, Ma = { class: "dpiV3_TitleDelete" }, Ba = {
84
80
  key: 10,
85
81
  class: "dpiV3_DocumentationsInDistr"
86
- }, ja = { class: "dpiV3_TitleDelete" }, Ha = {
82
+ }, za = { class: "dpiV3_TitleDelete" }, Pa = {
87
83
  key: 11,
88
84
  class: "dpiV3_modified dpiV3_label"
89
- }, Ga = {
85
+ }, Na = {
90
86
  key: 12,
91
87
  class: "dpiV3_modified dpiV3_label"
92
- }, Ja = {
88
+ }, Oa = {
93
89
  key: 13,
94
90
  class: "dpiV3_modified dpiV3_label"
95
- }, Ka = {
91
+ }, Wa = {
96
92
  key: 14,
97
93
  class: "dpiV3_modified dpiV3_label"
98
- }, qa = {
94
+ }, Ha = {
99
95
  key: 15,
100
96
  class: "dpiV3_modified dpiV3_label"
101
- }, Za = {
97
+ }, ja = {
102
98
  key: 16,
103
99
  class: "copy-mini-regular dpiV3_text_error"
104
- }, Qa = { class: "dpiV3_CTA-Distribution" }, Xa = { class: "dpiV3_tempAddMore" }, Ya = {
100
+ }, Ga = { class: "dpiV3_CTA-Distribution" }, Ja = { class: "dpiV3_tempAddMore" }, Ka = {
105
101
  __name: "DistributionSimplePage",
106
102
  props: {
107
103
  context: Object,
108
104
  inRap: Boolean
109
105
  },
110
106
  setup(A) {
111
- var we, _e, De, Te, Ie;
112
- const I = A, { isEditMode: se } = Et(), { t: U } = Ft(), _ = h(null), Je = {
107
+ var xe, we, _e, De, Te;
108
+ const I = A, { isEditMode: se } = At(), { t: R } = Ct(), _ = h(null), We = {
113
109
  isValid: "unset",
114
110
  id: 1,
115
111
  "dcat:accessURL": "",
@@ -142,37 +138,37 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
142
138
  title: "",
143
139
  "dcterms:license": ""
144
140
  }
145
- }, { formValues: V } = Mt(), i = je(
141
+ }, { formValues: U } = Ft(), i = Pe(
146
142
  () => se.value || I.inRap
147
- ).value ? It((we = V.value.DistributionSimple) == null ? void 0 : we["dcat:distribution"]) : h([Je]);
143
+ ).value ? _t((xe = U.value.DistributionSimple) == null ? void 0 : xe["dcat:distribution"]) : h([We]);
148
144
  i.value[0]["dcat:downloadURL"] || (console.log(i["dcat:downloadURL"], i), i.value[0]["dcat:downloadURL"] = [{ "@id": "" }]);
149
- const l = h({}), F = h({}), ie = h([]), B = h(!1), H = h(!1), w = h(0), D = h([]), b = h([]), le = h([]), G = h([]), ne = h([]);
145
+ const l = h({}), F = h({}), ie = h([]), B = h(!1), j = h(!1), w = h(0), D = h([]), x = h([]), le = h([]), G = h([]), ne = h([]);
150
146
  h([...D.value]);
151
- const z = h([...b.value]), Ke = $t(), J = h(null);
147
+ const z = h([...x.value]), He = St(), J = h(null);
152
148
  h(null);
153
149
  const K = h(!1), de = h(!1), $ = h(!1), ce = h(!0);
154
150
  for (let a = 0; a < i.value.length; a++)
155
- if (((De = (_e = V.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : _e.checksum) == null ? void 0 : De.uri) !== "" || ((Ie = (Te = V.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : Te.checksum) == null ? void 0 : Ie.title) !== "") {
151
+ if (((_e = (we = U.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : we.checksum) == null ? void 0 : _e.uri) !== "" || ((Te = (De = U.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : De.checksum) == null ? void 0 : Te.title) !== "") {
156
152
  de.value = !1;
157
153
  break;
158
154
  }
159
- function qe() {
155
+ function je() {
160
156
  ie.value = [
161
157
  {
162
- title: U(
158
+ title: R(
163
159
  "message.dataupload.datasets.dcat:distribution.recommended.title"
164
160
  ),
165
161
  items: W.distributions.Recommended.map(
166
- (a) => U(
162
+ (a) => R(
167
163
  `message.dataupload.datasets.dcat:distribution.recommended.${a}`
168
164
  ) || a
169
165
  ),
170
166
  keys: W.distributions.Recommended
171
167
  },
172
168
  {
173
- title: U("message.dataupload.datasets.dcat:distribution.advanced.title"),
169
+ title: R("message.dataupload.datasets.dcat:distribution.advanced.title"),
174
170
  items: W.distributions.Advanced.map(
175
- (a) => U(`message.dataupload.datasets.dcat:distribution.advanced.${a}`) || a
171
+ (a) => R(`message.dataupload.datasets.dcat:distribution.advanced.${a}`) || a
176
172
  ),
177
173
  keys: W.distributions.Advanced
178
174
  }
@@ -186,38 +182,38 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
186
182
  let t = !0;
187
183
  i.value = i.value.map((e) => {
188
184
  var g;
189
- const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && R(e["dcat:accessURL"]), s = !!((g = e["dct:format"]) != null && g.label) && e["dct:format"].label.trim() !== "" && b.value.some(
185
+ const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && L(e["dcat:accessURL"]), s = !!((g = e["dct:format"]) != null && g.label) && e["dct:format"].label.trim() !== "" && x.value.some(
190
186
  (v) => v["@value"].toUpperCase() === e["dct:format"].label.toUpperCase()
191
187
  ), n = e["dcat:downloadURL"].every(
192
188
  (v) => {
193
189
  var k;
194
190
  const y = (k = v["@id"]) == null ? void 0 : k.trim();
195
- return y === "" || R(y);
191
+ return y === "" || L(y);
196
192
  }
197
- ), r = o && s && n;
198
- return r || (t = !1), a === e.id && !I.inRap ? {
193
+ ), c = o && s && n;
194
+ return c || (t = !1), a === e.id && !I.inRap ? {
199
195
  ...e,
200
- isValid: r,
196
+ isValid: c,
201
197
  showErrorDownloadURL: !1,
202
198
  showErrorFormat: !1
203
199
  } : {
204
200
  ...e,
205
- isValid: r,
201
+ isValid: c,
206
202
  showErrorDownloadURL: !o,
207
203
  showErrorFormat: !s
208
204
  };
209
- }), I.inRap == !0 && Z(), console.log(t), t && ($.value = !1), !t && i.value.length > 0 && (console.log("invalid"), i.value[0].isValid = !1), t && i.value.length > 0 && (console.log("valid"), i.value[0].isValid = !0), a == null && ($.value = !t), V.value.DistributionSimple["dcat:distribution"] = i.value;
205
+ }), I.inRap == !0 && Z(), console.log(t), t && ($.value = !1), !t && i.value.length > 0 && (console.log("invalid"), i.value[0].isValid = !1), t && i.value.length > 0 && (console.log("valid"), i.value[0].isValid = !0), a == null && ($.value = !t), U.value.DistributionSimple["dcat:distribution"] = i.value;
210
206
  }
211
207
  function P(a, t) {
212
208
  var o, s, n;
213
209
  let e = !0;
214
210
  if (t === "dcat:accessURL")
215
- e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? R(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, (s = a[t]) == null || s.trim(), a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein.");
211
+ e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? L(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, (s = a[t]) == null || s.trim(), a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein.");
216
212
  else if (t === "dct:format") {
217
- const r = (n = a[t].label) == null ? void 0 : n.trim();
218
- e = r !== "" && b.value.some(
219
- (g) => g["@value"].toLowerCase() === r.toLowerCase()
220
- ), e ? (a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, r === "" ? a.formatErrorMessage = "Format ist erforderlich." : a.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
213
+ const c = (n = a[t].label) == null ? void 0 : n.trim();
214
+ e = c !== "" && x.value.some(
215
+ (g) => g["@value"].toLowerCase() === c.toLowerCase()
216
+ ), 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");
221
217
  }
222
218
  Z(!0);
223
219
  }
@@ -225,7 +221,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
225
221
  let t = !0;
226
222
  i.value = i.value.map((e) => {
227
223
  var g, v, y;
228
- const o = ((g = e["dcat:accessURL"]) == null ? void 0 : g.trim()) !== "" && R(e["dcat:accessURL"]), s = ((y = (v = e["dct:format"]) == null ? void 0 : v.label) == null ? void 0 : y.trim()) !== "" && b.value.some(
224
+ const o = ((g = e["dcat:accessURL"]) == null ? void 0 : g.trim()) !== "" && L(e["dcat:accessURL"]), s = ((y = (v = e["dct:format"]) == null ? void 0 : v.label) == null ? void 0 : y.trim()) !== "" && x.value.some(
229
225
  (k) => {
230
226
  var T;
231
227
  return k["@value"].toUpperCase() === ((T = e["dct:format"].label) == null ? void 0 : T.toUpperCase());
@@ -234,35 +230,35 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
234
230
  (k) => {
235
231
  var E;
236
232
  const T = (E = k["@id"]) == null ? void 0 : E.trim();
237
- return T === "" || R(T);
233
+ return T === "" || L(T);
238
234
  }
239
- ), r = o && s && n;
240
- return r || (t = !1), { ...e, isValid: r };
241
- }), i.value.length > 0 && (i.value[0].isValid = t), (I.inRap === !0 || !a || $.value === !0) && ($.value = !t), V.value.DistributionSimple["dcat:distribution"] = i.value;
235
+ ), c = o && s && n;
236
+ return c || (t = !1), { ...e, isValid: c };
237
+ }), i.value.length > 0 && (i.value[0].isValid = t), (I.inRap === !0 || !a || $.value === !0) && ($.value = !t), U.value.DistributionSimple["dcat:distribution"] = i.value;
242
238
  }
243
- function R(a) {
239
+ function L(a) {
244
240
  return /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/i.test(a);
245
241
  }
246
- Vt(() => {
247
- Ge.off("nextClicked", re), _.value && clearTimeout(_.value);
242
+ Dt(() => {
243
+ Oe.off("nextClicked", re), _.value && clearTimeout(_.value);
248
244
  });
249
245
  let ue = h([]);
250
- Lt(async () => {
251
- Ge.on("nextClicked", re);
252
- const a = Ut(), t = a.appContext.app.config.globalProperties.$env;
246
+ Tt(async () => {
247
+ Oe.on("nextClicked", re);
248
+ const a = It(), t = a.appContext.app.config.globalProperties.$env;
253
249
  if (a) {
254
250
  const e = a.appContext.app.config.globalProperties.$env;
255
251
  J.value = e.content.dataProviderInterface.specification;
256
252
  } else
257
253
  console.log("Instance is null!");
258
254
  try {
259
- const e = await Bt(t.api.baseUrl);
255
+ const e = await $t(t.api.baseUrl);
260
256
  ue.value = e.map((s) => ({
261
257
  uri: s.uri,
262
258
  "@value": s.value,
263
259
  label: s.label
264
260
  }));
265
- const o = await zt(t.api.baseUrl);
261
+ const o = await Et(t.api.baseUrl);
266
262
  D.value = o.results.map((s) => ({
267
263
  "@value": s.pref_label.en,
268
264
  uri: s.resource,
@@ -272,32 +268,32 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
272
268
  error.value = e;
273
269
  }
274
270
  try {
275
- const e = await Pt(t.api.baseUrl);
276
- b.value = e.results.map((o) => ({
271
+ const e = await Mt(t.api.baseUrl);
272
+ x.value = e.results.map((o) => ({
277
273
  "@value": o.pref_label.en,
278
274
  uri: o.resource,
279
275
  selected: !1
280
- })).sort((o, s) => o["@value"].localeCompare(s["@value"])), z.value = [...b.value];
276
+ })).sort((o, s) => o["@value"].localeCompare(s["@value"])), z.value = [...x.value];
281
277
  } catch (e) {
282
278
  error.value = e;
283
279
  }
284
280
  try {
285
- const e = await Nt(t.api.baseUrl);
281
+ const e = await Bt(t.api.baseUrl);
286
282
  le.value = e;
287
- const o = await Ot(t.api.baseUrl);
283
+ const o = await zt(t.api.baseUrl);
288
284
  G.value = o;
289
- const s = await Wt(t.api.baseUrl);
285
+ const s = await Pt(t.api.baseUrl);
290
286
  ne.value = s;
291
287
  } catch (e) {
292
288
  console.log(e);
293
289
  }
294
- qe();
290
+ je();
295
291
  });
296
- function Ze(a, t) {
292
+ function Ge(a, t) {
297
293
  const e = i.value.find((s) => s.id === t);
298
294
  if (!e) return;
299
- let o = b.value.find((s) => s["@value"] === a).uri || "";
300
- e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", P(e, "dct:format"), V.value.DistributionSimple["dcat:distribution"] = i.value;
295
+ let o = x.value.find((s) => s["@value"] === a).uri || "";
296
+ e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", P(e, "dct:format"), U.value.DistributionSimple["dcat:distribution"] = i.value;
301
297
  }
302
298
  function me(a, t) {
303
299
  const e = i.value.find((o) => o.id === t);
@@ -332,12 +328,12 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
332
328
  const s = i.value.find((n) => n.id === e);
333
329
  o || (o = le.value.find((n) => n.value === t).resource || ""), s ? (s.checksum.title = a, s.checksum["spdx:checksum"] = t, s.checksum.uri = o || "no URI", l.value.checksumText = a, l.value.checksumDropdownText = t, l.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
334
330
  }
335
- function ke(a, t, e, o) {
336
- const s = i.value.find((r) => r.id === e);
331
+ function Je(a, t, e, o) {
332
+ const s = i.value.find((c) => c.id === e);
337
333
  let n = ue.value.find(
338
- (r) => r["@value"] === t
334
+ (c) => c["@value"] === t
339
335
  );
340
- s ? (s["dct:license"].title = a, s["dcatde:licenseAttributionByText"] = a, s["dct:license"]["dcterms:license"] = t, s["dct:license"].uri = n.uri, V.value.DistributionSimple["dct:license"] = [
336
+ s ? (s["dct:license"].title = a, s["dcatde:licenseAttributionByText"] = a, s["dct:license"]["dcterms:license"] = t, s["dct:license"].uri = n.uri, U.value.DistributionSimple["dct:license"] = [
341
337
  {
342
338
  title: a,
343
339
  "dcterms:license": t,
@@ -345,7 +341,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
345
341
  }
346
342
  ], l.value.changeLicenseText = a, l.value.changeLicenseDropdownText = t) : console.warn(`No matching distribution found for ID ${e}.`);
347
343
  }
348
- function xe(a, t, e) {
344
+ function ke(a, t, e) {
349
345
  const o = i.value.find((s) => s.id === t);
350
346
  e || (e = ne.value.find((s) => s.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], l.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
351
347
  }
@@ -371,8 +367,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
371
367
  else
372
368
  console.warn(`No matching distribution found for ID ${e}.`);
373
369
  }
374
- function Qe(a) {
375
- x(
370
+ function Ke(a) {
371
+ b(
376
372
  a,
377
373
  "Konform zu Standard",
378
374
  "conformsToItems",
@@ -380,8 +376,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
380
376
  !0
381
377
  );
382
378
  }
383
- function Xe(a) {
384
- x(
379
+ function qe(a) {
380
+ b(
385
381
  a,
386
382
  "Verfügbarkeit",
387
383
  "dcatap:availability",
@@ -389,8 +385,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
389
385
  !1
390
386
  );
391
387
  }
392
- function Ye(a) {
393
- x(
388
+ function Ze(a) {
389
+ b(
394
390
  a,
395
391
  "Status",
396
392
  "adms:status",
@@ -398,8 +394,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
398
394
  !1
399
395
  );
400
396
  }
401
- function et(a) {
402
- x(
397
+ function Qe(a) {
398
+ b(
403
399
  a,
404
400
  "Größe in Bytes",
405
401
  "dcat:byteSize",
@@ -407,8 +403,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
407
403
  !1
408
404
  );
409
405
  }
410
- function tt(a) {
411
- x(
406
+ function Xe(a) {
407
+ b(
412
408
  a,
413
409
  "Sprache",
414
410
  "dct:language",
@@ -417,10 +413,10 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
417
413
  );
418
414
  }
419
415
  function Q(a, t) {
420
- x(t, a, a, !0, !1);
416
+ b(t, a, a, !0, !1);
421
417
  }
422
- function at(a) {
423
- x(
418
+ function Ye(a) {
419
+ b(
424
420
  a,
425
421
  "Regelwerk",
426
422
  "policyItems",
@@ -428,11 +424,11 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
428
424
  !0
429
425
  );
430
426
  }
431
- function ot(a) {
432
- x(a, "Prüfsumme", "checksum", !0, !0);
427
+ function et(a) {
428
+ b(a, "Prüfsumme", "checksum", !0, !0);
433
429
  }
434
- function st(a) {
435
- x(
430
+ function tt(a) {
431
+ b(
436
432
  a,
437
433
  "Dokumentation",
438
434
  "documentations",
@@ -440,8 +436,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
440
436
  !0
441
437
  );
442
438
  }
443
- function it(a) {
444
- x(
439
+ function at(a) {
440
+ b(
445
441
  a,
446
442
  "Ausliefernder Datenservice",
447
443
  "accessServices",
@@ -449,49 +445,49 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
449
445
  !0
450
446
  );
451
447
  }
452
- function lt(a, t, e) {
448
+ function ot(a, t, e) {
453
449
  const s = i.value.find((n) => n.id === t)["dcat:downloadURL"][e];
454
450
  s["@id"] = a, _.value && clearTimeout(_.value), _.value = setTimeout(() => {
455
451
  const n = a.trim();
456
- n === "" || R(n) ? (s.showError = !1, s.errorMessage = "") : (s.showError = !0, s.errorMessage = "Bitte geben Sie eine gültige URL ein."), Z(!0);
452
+ n === "" || L(n) ? (s.showError = !1, s.errorMessage = "") : (s.showError = !0, s.errorMessage = "Bitte geben Sie eine gültige URL ein."), Z(!0);
457
453
  }, 800);
458
454
  }
459
- function nt(a) {
460
- x(
455
+ function st(a) {
456
+ b(
461
457
  a,
462
458
  "Aktualisierungsdatum",
463
459
  "dct:modified",
464
460
  !1
465
461
  );
466
462
  }
467
- function dt(a) {
468
- x(
463
+ function it(a) {
464
+ b(
469
465
  a,
470
466
  "Veröffentlichungsdatum",
471
467
  "dct:issued",
472
468
  !1
473
469
  );
474
470
  }
475
- function ct(a) {
476
- x(
471
+ function lt(a) {
472
+ b(
477
473
  a,
478
474
  "Beschreibung",
479
475
  "dct:description",
480
476
  !0
481
477
  );
482
478
  }
483
- function rt(a) {
484
- x(
479
+ function nt(a) {
480
+ b(
485
481
  a,
486
482
  "Grad der Zugänglichkeit",
487
483
  "dct:accessRights",
488
484
  !1
489
485
  );
490
486
  }
491
- const ut = je(() => J.value ? Ke.getters["dpiStore/getNavSteps"](J.value) : {});
492
- Rt(ut, (a) => {
487
+ const dt = Pe(() => J.value ? He.getters["dpiStore/getNavSteps"](J.value) : {});
488
+ Ut(dt, (a) => {
493
489
  }), se.value || I.context.node.input([{ isValid: "unset" }]);
494
- function mt() {
490
+ function ct() {
495
491
  const a = Date.now();
496
492
  i.value.push({
497
493
  isValid: "unset",
@@ -527,7 +523,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
527
523
  }
528
524
  }), q(a);
529
525
  }
530
- function ft(a, t) {
526
+ function rt(a, t) {
531
527
  const e = i.value.find((o) => o.id === a);
532
528
  if (!e) {
533
529
  console.error(`Distribution with ID ${a} not found`);
@@ -549,7 +545,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
549
545
  ...o
550
546
  };
551
547
  else {
552
- const n = e.documentations.length > 0 ? Math.max(...e.documentations.map((r) => r.id)) + 1 : 1;
548
+ const n = e.documentations.length > 0 ? Math.max(...e.documentations.map((c) => c.id)) + 1 : 1;
553
549
  e.documentations.push({
554
550
  id: o.id || n,
555
551
  "dcat:accessURL": o["dcat:accessURL"] || "",
@@ -561,7 +557,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
561
557
  }
562
558
  });
563
559
  }
564
- function pt(a, t) {
560
+ function ut(a, t) {
565
561
  const e = i.value.find((o) => o.id === a);
566
562
  if (!e) {
567
563
  console.error(`Distribution with ID ${a} not found`);
@@ -588,7 +584,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
588
584
  ...o
589
585
  };
590
586
  else {
591
- const n = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((r) => r.id)) + 1 : 1;
587
+ const n = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((c) => c.id)) + 1 : 1;
592
588
  e.accessServices.push({
593
589
  id: o.id || n,
594
590
  "dcat:downloadURL": o["dcat:downloadURL"] || "",
@@ -598,7 +594,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
598
594
  }
599
595
  });
600
596
  }
601
- function vt(a, t) {
597
+ function mt(a, t) {
602
598
  var o;
603
599
  const e = i.value.find((s) => s.id === a);
604
600
  if (!e) {
@@ -613,7 +609,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
613
609
  (s) => t.some((n) => n.id === s.id)
614
610
  )) || [], t.forEach((s) => {
615
611
  const n = e.conformsToItems.findIndex(
616
- (r) => r.id === s.id
612
+ (c) => c.id === s.id
617
613
  );
618
614
  if (n !== -1)
619
615
  e.conformsToItems[n] = {
@@ -621,18 +617,18 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
621
617
  ...s
622
618
  };
623
619
  else {
624
- const r = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((g) => g.id)) + 1 : 1;
620
+ const c = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((g) => g.id)) + 1 : 1;
625
621
  e.conformsToItems.push({
626
- id: s.id || r,
622
+ id: s.id || c,
627
623
  "dcat:downloadURL": s["dcat:downloadURL"] || "",
628
624
  "dct:title": s["dct:title"] || ""
629
625
  });
630
626
  }
631
627
  });
632
628
  }
633
- function ht(a, t) {
629
+ function ft(a, t) {
634
630
  }
635
- function gt(a) {
631
+ function pt(a) {
636
632
  if (a === "deleteDataset" && w.value !== null) {
637
633
  if (i.value.length === 1) {
638
634
  K.value = !0;
@@ -643,7 +639,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
643
639
  ), K.value = !1, w.value = null, q();
644
640
  }
645
641
  }
646
- function yt(a) {
642
+ function vt(a) {
647
643
  const t = JSON.parse(a);
648
644
  let e = i.value.find(
649
645
  (o) => o.id === t.distributionId
@@ -660,8 +656,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
660
656
  (o) => o.id === t.distributionId
661
657
  )), e[t.optType] = void 0) : e[t.optType] = "";
662
658
  }
663
- function kt(a) {
664
- var e, o, s, n, r, g, v, y;
659
+ function ht(a) {
660
+ var e, o, s, n, c, g, v, y;
665
661
  w.value = a;
666
662
  const t = i.value.find((k) => k.id === a);
667
663
  t && (l.value = {
@@ -684,7 +680,7 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
684
680
  byteSizeText: t["dcat:byteSize"] || "",
685
681
  mediaTypeText: ((n = t["dcat:mediaType"]) == null ? void 0 : n.label) || "",
686
682
  // compressFormatText: distribution["dcat:compressFormat"].label || "",
687
- packageFormatText: ((r = t["dcat:packageFormat"]) == null ? void 0 : r.label) || "",
683
+ packageFormatText: ((c = t["dcat:packageFormat"]) == null ? void 0 : c.label) || "",
688
684
  statusText: ((g = t["adms:status"]) == null ? void 0 : g.label) || "",
689
685
  checksumText: t.checksum.title || "",
690
686
  checksumURI: t.checksum.uri || "",
@@ -696,18 +692,18 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
696
692
  downloadURL: (t == null ? void 0 : t.downloadURL) || []
697
693
  }, B.value = !0, document.body.style.overflow = "hidden");
698
694
  }
699
- function xt() {
695
+ function gt() {
700
696
  B.value = !1, document.body.style.overflow = "auto";
701
697
  }
702
- function bt(a) {
698
+ function yt(a) {
703
699
  w.value = a;
704
700
  const t = i.value.find((n) => n.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", s = t ? t["dcat:accessURL"] : "";
705
701
  l.value = {
706
702
  button: "Löschen",
707
- header: U(
703
+ header: R(
708
704
  "message.dataupload.datasets.dcat:distribution.delete-distribution.header"
709
705
  ),
710
- text: U(
706
+ text: R(
711
707
  "message.dataupload.datasets.dcat:distribution.delete-distribution.text"
712
708
  ),
713
709
  action: "deleteDataset",
@@ -716,8 +712,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
716
712
  distributionLink: s
717
713
  }, B.value = !0;
718
714
  }
719
- function x(a, t, e, o, s) {
720
- const r = JSON.stringify({
715
+ function b(a, t, e, o, s) {
716
+ const c = JSON.stringify({
721
717
  distributionId: a,
722
718
  optType: e,
723
719
  useUndefined: o,
@@ -727,11 +723,11 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
727
723
  button: "Löschen",
728
724
  header: `${t} löschen`,
729
725
  text: `Sind Sie sicher, dass Sie das optionale Feld ${t} löschen wollen?`,
730
- action: r
731
- }, H.value = !0;
726
+ action: c
727
+ }, j.value = !0;
732
728
  }
733
729
  function X(a, t, e) {
734
- var s, n, r, g;
730
+ var s, n, c, g;
735
731
  const o = i.value.find((v) => v.id === e);
736
732
  if (o)
737
733
  if (t === "dcat:accessURL") {
@@ -740,17 +736,17 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
740
736
  P(o, t);
741
737
  }, 800);
742
738
  } else if (t === "dct:format") {
743
- const v = typeof a == "string" ? a.trim() : (r = (n = a == null ? void 0 : a.target) == null ? void 0 : n.value) == null ? void 0 : r.trim();
739
+ const v = typeof a == "string" ? a.trim() : (c = (n = a == null ? void 0 : a.target) == null ? void 0 : n.value) == null ? void 0 : c.trim();
744
740
  if (o.showErrorFormat = !1, o.formatErrorMessage = "", v === "")
745
- o[t] = { label: "", uri: "" }, I.inRap ? (o.showErrorFormat = !0, o.formatErrorMessage = "Format ist erforderlich") : (o.showErrorFormat = !1, o.formatErrorMessage = ""), z.value = [...b.value];
741
+ o[t] = { label: "", uri: "" }, I.inRap ? (o.showErrorFormat = !0, o.formatErrorMessage = "Format ist erforderlich") : (o.showErrorFormat = !1, o.formatErrorMessage = ""), z.value = [...x.value];
746
742
  else {
747
- const y = b.value.find(
743
+ const y = x.value.find(
748
744
  (k) => k["@value"].toLowerCase() === v.toLowerCase()
749
745
  );
750
746
  y ? (o[t] = {
751
747
  label: y["@value"],
752
748
  uri: y.uri
753
- }, o.showErrorFormat = !1, o.formatErrorMessage = "") : v === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: v, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), z.value = b.value.filter(
749
+ }, o.showErrorFormat = !1, o.formatErrorMessage = "") : v === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: v, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), z.value = x.value.filter(
754
750
  (k) => k["@value"].toLowerCase().includes(v.toLowerCase())
755
751
  );
756
752
  }
@@ -758,43 +754,43 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
758
754
  } else
759
755
  o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, P(o, t);
760
756
  }
761
- function wt(a, t) {
757
+ function kt(a, t) {
762
758
  const e = i.value.find((o) => o.id === a);
763
759
  e.documentations = e.documentations.filter(
764
760
  (o) => t.some((s) => s.id === o.id)
765
761
  );
766
762
  }
767
- function _t(a, t) {
763
+ function bt(a, t) {
768
764
  const e = i.value.find((o) => o.id === a);
769
765
  e.accessServices = e.accessServices.filter(
770
766
  (o) => t.some((s) => s.id === o.id)
771
767
  );
772
768
  }
773
- function Dt(a, t) {
769
+ function xt(a, t) {
774
770
  const e = i.value.find((o) => o.id === a);
775
771
  e.conformsToItems = e.conformsToItems.filter(
776
772
  (o) => t.some((s) => s.id === o.id)
777
773
  );
778
774
  }
779
- function Tt(a, t) {
775
+ function wt(a, t) {
780
776
  const e = i.value.find((o) => o.id === a);
781
777
  e.policyItems = e.policyItems.filter(
782
778
  (o) => t.some((s) => s.id === o.id)
783
779
  );
784
780
  }
785
- return (a, t) => (u(), f(ee, null, [
786
- m("div", da, [
787
- A.inRap ? p("", !0) : (u(), f("h4", ca, M(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
788
- A.inRap ? p("", !0) : (u(), f("div", ra, M(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
789
- (u(!0), f(ee, null, He(L(i), (e, o) => {
790
- var s, n, r, g, v, y, k, T, E, Ve, Le, Ue, Re, Ce, Se, Ae, Fe, $e, Ee, Me, Be, ze, Pe, Ne, Oe, We;
791
- return u(), f("div", {
781
+ return (a, t) => (m(), f(ee, null, [
782
+ r("div", sa, [
783
+ A.inRap ? p("", !0) : (m(), f("h4", ia, M(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
784
+ A.inRap ? p("", !0) : (m(), f("div", la, M(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
785
+ (m(!0), f(ee, null, Ne(V(i), (e, o) => {
786
+ var s, n, c, g, v, y, k, T, E, Ie, Ue, Ve, Re, Le, Ce, Se, Ae, Fe, $e, Ee, Me, Be, ze;
787
+ return m(), f("div", {
792
788
  key: e.id,
793
789
  class: "dpiV3AutoCompleteWrap"
794
790
  }, [
795
- m("div", ua, [
796
- m("div", ma, [
797
- c(ae, {
791
+ r("div", na, [
792
+ r("div", da, [
793
+ u(ae, {
798
794
  "add-on-text": !1,
799
795
  datePicker: !1,
800
796
  infoIcon: !0,
@@ -814,16 +810,16 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
814
810
  "model-value": e["dcat:accessURL"],
815
811
  onInput: (d) => X(d, "dcat:accessURL", e.id)
816
812
  }, null, 8, ["placeholder", "label", "showError", "model-value", "onInput"]),
817
- e.showErrorDownloadURL && e.urlErrorMessage ? (u(), f("div", fa, [
818
- c(L(O), {
813
+ e.showErrorDownloadURL && e.urlErrorMessage ? (m(), f("div", ca, [
814
+ u(V(O), {
819
815
  size: 16,
820
816
  weight: "fill"
821
817
  }),
822
- m("span", pa, M(e.urlErrorMessage), 1)
818
+ r("span", ra, M(e.urlErrorMessage), 1)
823
819
  ])) : p("", !0)
824
820
  ]),
825
- m("div", va, [
826
- c(jt, {
821
+ r("div", ua, [
822
+ u(Nt, {
827
823
  "dropdown-width": "large",
828
824
  type: "inputField",
829
825
  "input-field-props": {
@@ -847,18 +843,18 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
847
843
  data: z.value,
848
844
  autocomplete: !0,
849
845
  onInput: (d) => X(d, "dct:format", e.id),
850
- "onUpdate:modelValue": (d) => Ze(d, e.id),
846
+ "onUpdate:modelValue": (d) => Ge(d, e.id),
851
847
  "model-value": (s = e == null ? void 0 : e["dct:format"]) == null ? void 0 : s.label
852
848
  }, null, 8, ["input-field-props", "data", "onInput", "onUpdate:modelValue", "model-value"]),
853
- e.showErrorFormat && e.formatErrorMessage ? (u(), f("div", ha, [
854
- c(L(O), {
849
+ e.showErrorFormat && e.formatErrorMessage ? (m(), f("div", ma, [
850
+ u(V(O), {
855
851
  size: 16,
856
852
  weight: "fill"
857
853
  }),
858
- m("span", ga, M(e.formatErrorMessage), 1)
854
+ r("span", fa, M(e.formatErrorMessage), 1)
859
855
  ])) : p("", !0)
860
856
  ]),
861
- c(ae, {
857
+ u(ae, {
862
858
  modelValue: e["dct:title"],
863
859
  "onUpdate:modelValue": (d) => e["dct:title"] = d,
864
860
  "add-on-text": !1,
@@ -876,47 +872,47 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
876
872
  "show-end-icon": !1,
877
873
  onInput: (d) => X(d, "dct:title", e.id)
878
874
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
879
- (e.documentations || []).length > 0 ? (u(), f("div", ya, [
880
- m("div", ka, [
881
- t[6] || (t[6] = m("div", null, "Dokumentation (optional)", -1)),
882
- m("div", null, [
883
- c(S, {
875
+ (e.documentations || []).length > 0 ? (m(), f("div", pa, [
876
+ r("div", va, [
877
+ t[6] || (t[6] = r("div", null, "Dokumentation (optional)", -1)),
878
+ r("div", null, [
879
+ u(S, {
884
880
  "button-text": "löschen",
885
- onClick: (d) => st(e.id)
881
+ onClick: (d) => tt(e.id)
886
882
  }, null, 8, ["onClick"])
887
883
  ])
888
884
  ]),
889
- m("div", xa, [
890
- m("div", ba, [
891
- c(ta, {
885
+ r("div", ha, [
886
+ r("div", ga, [
887
+ u(Qt, {
892
888
  documentations: e.documentations,
893
889
  "file-types": D.value,
894
890
  "distribution-id": e.id,
895
891
  "as-card": !0,
896
892
  "show-delete-button": !0,
897
- onUpdate: (d) => wt(e.id, d)
893
+ onUpdate: (d) => kt(e.id, d)
898
894
  }, null, 8, ["documentations", "file-types", "distribution-id", "onUpdate"])
899
895
  ])
900
896
  ])
901
897
  ])) : p("", !0),
902
- (e.accessServices || []).length > 0 ? (u(), f("div", wa, [
903
- m("div", _a, [
904
- t[7] || (t[7] = m("div", null, "Ausliefernder Datenservice (optional)", -1)),
905
- m("div", null, [
906
- c(S, {
898
+ (e.accessServices || []).length > 0 ? (m(), f("div", ya, [
899
+ r("div", ka, [
900
+ t[7] || (t[7] = r("div", null, "Ausliefernder Datenservice (optional)", -1)),
901
+ r("div", null, [
902
+ u(S, {
907
903
  "button-text": "löschen",
908
- onClick: (d) => it(e.id)
904
+ onClick: (d) => at(e.id)
909
905
  }, null, 8, ["onClick"])
910
906
  ])
911
907
  ]),
912
- m("div", Da, [
913
- m("div", Ta, [
914
- c(Kt, {
908
+ r("div", ba, [
909
+ r("div", xa, [
910
+ u(jt, {
915
911
  "access-services": e.accessServices,
916
912
  "distribution-id": e.id,
917
913
  "as-card": !0,
918
914
  "show-delete-button": !0,
919
- onUpdate: (d) => _t(
915
+ onUpdate: (d) => bt(
920
916
  e.id,
921
917
  d
922
918
  )
@@ -924,26 +920,26 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
924
920
  ])
925
921
  ])
926
922
  ])) : p("", !0),
927
- (u(!0), f(ee, null, He(e["dcat:downloadURL"], (d, N) => (u(), f("div", {
923
+ (m(!0), f(ee, null, Ne(e["dcat:downloadURL"], (d, N) => (m(), f("div", {
928
924
  key: N,
929
925
  class: "dpiV3_DocumentationsInDistr"
930
926
  }, [
931
- m("div", Ia, [
932
- t[8] || (t[8] = m("div", {
927
+ r("div", wa, [
928
+ t[8] || (t[8] = r("div", {
933
929
  class: "dpiV3_label",
934
930
  style: { margin: "0" }
935
931
  }, " DownloadURL (optional) ", -1)),
936
- e["dcat:downloadURL"].length !== 1 ? (u(), f("div", Va, [
937
- c(S, {
932
+ e["dcat:downloadURL"].length !== 1 ? (m(), f("div", _a, [
933
+ u(S, {
938
934
  "button-text": "löschen",
939
935
  onClick: (Y) => e["dcat:downloadURL"].splice(N, 1)
940
936
  }, null, 8, ["onClick"])
941
937
  ])) : p("", !0)
942
938
  ]),
943
- m("div", La, [
944
- c(ae, {
939
+ r("div", Da, [
940
+ u(ae, {
945
941
  "model-value": d["@id"],
946
- onInput: (Y) => lt(
942
+ onInput: (Y) => ot(
947
943
  Y.target.value,
948
944
  e.id,
949
945
  N
@@ -955,16 +951,16 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
955
951
  inputFieldSize: "large",
956
952
  label: ""
957
953
  }, null, 8, ["model-value", "onInput", "showError"]),
958
- d.showError ? (u(), f("div", Ua, [
959
- c(L(O), {
954
+ d.showError ? (m(), f("div", Ta, [
955
+ u(V(O), {
960
956
  size: 16,
961
957
  weight: "fill"
962
958
  }),
963
- m("span", Ra, M(d.errorMessage), 1)
959
+ r("span", Ia, M(d.errorMessage), 1)
964
960
  ])) : p("", !0)
965
961
  ]),
966
- N === e["dcat:downloadURL"].length - 1 ? (u(), f("div", Ca, [
967
- c(j, {
962
+ N === e["dcat:downloadURL"].length - 1 ? (m(), f("div", Ua, [
963
+ u(H, {
968
964
  buttonText: "Weitere DownloadURL hinzufügen",
969
965
  size: "small",
970
966
  iconStart: "plus",
@@ -977,76 +973,76 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
977
973
  }, null, 8, ["onClick"])
978
974
  ])) : p("", !0)
979
975
  ]))), 128)),
980
- e["dct:modified"] && e["dct:modified"].trim() !== "" ? (u(), f("div", Sa, [
981
- c(sa, {
976
+ e["dct:modified"] && e["dct:modified"].trim() !== "" ? (m(), f("div", Va, [
977
+ u(ea, {
982
978
  "show-delete-button": !0,
983
979
  "distribution-id": e.id,
984
980
  "model-value": e["dct:modified"],
985
981
  onAddModifiedDate: me,
986
- onDeleteButtonClicked: (d) => nt(e.id)
982
+ onDeleteButtonClicked: (d) => st(e.id)
987
983
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
988
984
  ])) : p("", !0),
989
- e["dct:issued"] && e["dct:issued"].trim() !== "" ? (u(), f("div", Aa, [
990
- c(aa, {
985
+ e["dct:issued"] && e["dct:issued"].trim() !== "" ? (m(), f("div", Ra, [
986
+ u(Xt, {
991
987
  "show-delete-button": !0,
992
988
  "distribution-id": e.id,
993
989
  "model-value": e["dct:issued"],
994
990
  onAddIssuedDate: fe,
995
- onDeleteButtonClicked: (d) => dt(e.id)
991
+ onDeleteButtonClicked: (d) => it(e.id)
996
992
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
997
993
  ])) : p("", !0),
998
- Ct(m("div", Fa, [
999
- c(ea, {
994
+ Vt(r("div", La, [
995
+ u(Zt, {
1000
996
  "distribution-id": e.id,
1001
997
  "description-text": e["dct:description"],
1002
998
  "show-delete-button": !0,
1003
999
  onAddDescription: pe,
1004
- onDeleteDescription: (d) => ct(e.id)
1000
+ onDeleteDescription: (d) => lt(e.id)
1005
1001
  }, null, 8, ["distribution-id", "description-text", "onDeleteDescription"])
1006
1002
  ], 512), [
1007
1003
  [
1008
- St,
1004
+ Rt,
1009
1005
  e["dct:description"] !== void 0 && e["dct:description"] !== ""
1010
1006
  ]
1011
1007
  ]),
1012
- (n = e["dct:accessRights"]) != null && n.uri && ((r = e["dct:accessRights"]) == null ? void 0 : r.uri.trim()) !== "" ? (u(), f("div", $a, [
1013
- c(Jt, {
1008
+ (n = e["dct:accessRights"]) != null && n.uri && ((c = e["dct:accessRights"]) == null ? void 0 : c.uri.trim()) !== "" ? (m(), f("div", Ca, [
1009
+ u(Ht, {
1014
1010
  "show-delete-button": !0,
1015
1011
  "distribution-id": e.id,
1016
1012
  "access-rights-prop": (g = e["dct:accessRights"]) == null ? void 0 : g.label.de,
1017
1013
  onAddAccessRights: ve,
1018
- onDeleteButtonClicked: (d) => rt(e.id)
1014
+ onDeleteButtonClicked: (d) => nt(e.id)
1019
1015
  }, null, 8, ["distribution-id", "access-rights-prop", "onDeleteButtonClicked"])
1020
1016
  ])) : p("", !0),
1021
- ((v = e["dcatap:availability"]) == null ? void 0 : v.label) != null && ((y = e["dcatap:availability"]) != null && y.label.de) && ((k = e["dcatap:availability"]) == null ? void 0 : k.label.de.trim()) !== "" ? (u(), f("div", Ea, [
1022
- c(qt, {
1017
+ ((v = e["dcatap:availability"]) == null ? void 0 : v.label) != null && ((y = e["dcatap:availability"]) != null && y.label.de) && ((k = e["dcatap:availability"]) == null ? void 0 : k.label.de.trim()) !== "" ? (m(), f("div", Sa, [
1018
+ u(Gt, {
1023
1019
  "availability-text": e["dcatap:availability"].label.de,
1024
1020
  "distribution-id": e.id,
1025
1021
  "show-delete-button": !0,
1026
1022
  onAddAvailability: he,
1027
- onDeleteButtonClicked: (d) => Xe(e.id)
1023
+ onDeleteButtonClicked: (d) => qe(e.id)
1028
1024
  }, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
1029
1025
  ])) : p("", !0),
1030
- (T = e["adms:status"]) != null && T["@value"] && ((E = e["adms:status"]) == null ? void 0 : E["@value"].trim()) !== "" ? (u(), f("div", Ma, [
1031
- c(la, {
1026
+ (T = e["adms:status"]) != null && T["@value"] && ((E = e["adms:status"]) == null ? void 0 : E["@value"].trim()) !== "" ? (m(), f("div", Aa, [
1027
+ u(aa, {
1032
1028
  "status-text": e["adms:status"]["@value"],
1033
1029
  "distribution-id": e.id,
1034
1030
  "show-delete-button": !0,
1035
1031
  onAddStatus: ge,
1036
- onDeleteButtonClicked: (d) => Ye(e.id)
1032
+ onDeleteButtonClicked: (d) => Ze(e.id)
1037
1033
  }, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
1038
1034
  ])) : p("", !0),
1039
- e.checksum["spdx:checksum"] != "" ? (u(), f("div", Ba, [
1040
- m("div", za, [
1041
- t[9] || (t[9] = m("div", null, "Prüfsumme (optional)", -1)),
1042
- m("div", null, [
1043
- c(S, {
1035
+ e.checksum["spdx:checksum"] != "" ? (m(), f("div", Fa, [
1036
+ r("div", $a, [
1037
+ t[9] || (t[9] = r("div", null, "Prüfsumme (optional)", -1)),
1038
+ r("div", null, [
1039
+ u(S, {
1044
1040
  "button-text": "löschen",
1045
- onClick: (d) => ot(e.id)
1041
+ onClick: (d) => et(e.id)
1046
1042
  }, null, 8, ["onClick"])
1047
1043
  ])
1048
1044
  ]),
1049
- c(Xt, {
1045
+ u(Kt, {
1050
1046
  "checksum-text": e.checksum.title,
1051
1047
  "checksum-dropdown-text": e.checksum["spdx:checksum"],
1052
1048
  "distribution-id": e.id,
@@ -1057,71 +1053,62 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
1057
1053
  onAddChecksum: ye
1058
1054
  }, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "distIndex", "checksum-u-r-i"])
1059
1055
  ])) : p("", !0),
1060
- Object.keys(e["dct:license"]).length > 0 && ((Ve = e["dct:license"]) == null ? void 0 : Ve["dcterms:license"]) != "" ? (u(), f("div", Pa, [
1061
- c(Qt, {
1062
- "change-license-text": (Le = e["dct:license"]) == null ? void 0 : Le.title,
1063
- "change-license-dropdown-text": (Ue = e["dct:license"]) == null ? void 0 : Ue["dcterms:license"],
1064
- "distribution-id": e.id,
1065
- "as-card": !0,
1066
- "show-delete-button": !0,
1067
- onAddChangeLicense: ke
1068
- }, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
1069
- ])) : p("", !0),
1070
- e.conformsToItems && e.conformsToItems.length > 0 ? (u(), f("div", Na, [
1071
- m("div", Oa, [
1072
- t[10] || (t[10] = m("div", null, "Konform zu Standard (optional)", -1)),
1073
- m("div", null, [
1074
- c(S, {
1056
+ p("", !0),
1057
+ e.conformsToItems && e.conformsToItems.length > 0 ? (m(), f("div", Ea, [
1058
+ r("div", Ma, [
1059
+ t[10] || (t[10] = r("div", null, "Konform zu Standard (optional)", -1)),
1060
+ r("div", null, [
1061
+ u(S, {
1075
1062
  "button-text": "löschen",
1076
- onClick: (d) => Qe(e.id)
1063
+ onClick: (d) => Ke(e.id)
1077
1064
  }, null, 8, ["onClick"])
1078
1065
  ])
1079
1066
  ]),
1080
- c(Yt, {
1067
+ u(qt, {
1081
1068
  "conforms-to-items": e.conformsToItems,
1082
1069
  "distribution-id": e.id,
1083
1070
  "as-card": !0,
1084
1071
  "show-delete-button": !0,
1085
- onUpdate: (d) => Dt(e.id, d)
1072
+ onUpdate: (d) => xt(e.id, d)
1086
1073
  }, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
1087
1074
  ])) : p("", !0),
1088
- ((Ce = (Re = e == null ? void 0 : e.policyItems) == null ? void 0 : Re[0]) == null ? void 0 : Ce["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (u(), f("div", Wa, [
1089
- m("div", ja, [
1090
- t[11] || (t[11] = m("div", null, "Regelwerk (optional)", -1)),
1091
- m("div", null, [
1092
- c(S, {
1075
+ ((Ue = (Ie = e == null ? void 0 : e.policyItems) == null ? void 0 : Ie[0]) == null ? void 0 : Ue["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (m(), f("div", Ba, [
1076
+ r("div", za, [
1077
+ t[11] || (t[11] = r("div", null, "Regelwerk (optional)", -1)),
1078
+ r("div", null, [
1079
+ u(S, {
1093
1080
  "button-text": "löschen",
1094
- onClick: (d) => at(e.id)
1081
+ onClick: (d) => Ye(e.id)
1095
1082
  }, null, 8, ["onClick"])
1096
1083
  ])
1097
1084
  ]),
1098
- c(ia, {
1085
+ u(ta, {
1099
1086
  "policy-items": e.policyItems,
1100
1087
  "distribution-id": e.id,
1101
1088
  "as-card": !0,
1102
- onUpdate: (d) => Tt(e.id, d)
1089
+ onUpdate: (d) => wt(e.id, d)
1103
1090
  }, null, 8, ["policy-items", "distribution-id", "onUpdate"])
1104
1091
  ])) : p("", !0),
1105
- (Ae = (Se = e["dct:language"]) == null ? void 0 : Se[0]) != null && Ae.label || ($e = (Fe = e["dct:language"]) == null ? void 0 : Fe[0]) != null && $e["@value"] && ((Me = (Ee = e["dct:language"]) == null ? void 0 : Ee[0]) == null ? void 0 : Me["@value"].trim()) !== "" ? (u(), f("div", Ha, [
1106
- c(oa, {
1092
+ (Re = (Ve = e["dct:language"]) == null ? void 0 : Ve[0]) != null && Re.label || (Ce = (Le = e["dct:language"]) == null ? void 0 : Le[0]) != null && Ce["@value"] && ((Ae = (Se = e["dct:language"]) == null ? void 0 : Se[0]) == null ? void 0 : Ae["@value"].trim()) !== "" ? (m(), f("div", Pa, [
1093
+ u(Yt, {
1107
1094
  "distribution-id": e.id,
1108
1095
  "show-delete-button": !1,
1109
- onAddLanguage: xe,
1110
- onDeleteButtonClicked: (d) => tt(e.id),
1096
+ onAddLanguage: ke,
1097
+ onDeleteButtonClicked: (d) => Xe(e.id),
1111
1098
  inOverview: !0
1112
1099
  }, null, 8, ["distribution-id", "onDeleteButtonClicked"])
1113
1100
  ])) : p("", !0),
1114
- e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (u(), f("div", Ga, [
1115
- c(Zt, {
1101
+ e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (m(), f("div", Na, [
1102
+ u(Jt, {
1116
1103
  "byte-size-prop": e["dcat:byteSize"],
1117
1104
  "distribution-id": e.id,
1118
1105
  "show-delete-button": !0,
1119
1106
  onAddByteSize: be,
1120
- onDeleteButtonClicked: (d) => et(e.id)
1107
+ onDeleteButtonClicked: (d) => Qe(e.id)
1121
1108
  }, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
1122
1109
  ])) : p("", !0),
1123
- e["dcat:mediaType"] && ((Be = e["dcat:mediaType"]) != null && Be.label) && ((ze = e["dcat:mediaType"]) == null ? void 0 : ze.label.trim()) !== "" ? (u(), f("div", Ja, [
1124
- c(oe, {
1110
+ e["dcat:mediaType"] && ((Fe = e["dcat:mediaType"]) != null && Fe.label) && (($e = e["dcat:mediaType"]) == null ? void 0 : $e.label.trim()) !== "" ? (m(), f("div", Oa, [
1111
+ u(oe, {
1125
1112
  "distribution-id": e.id,
1126
1113
  "file-types": D.value,
1127
1114
  "file-format-type": "dcat:mediaType",
@@ -1131,8 +1118,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
1131
1118
  onDeleteButtonClicked: t[0] || (t[0] = (d) => Q("dcat:mediaType", w.value))
1132
1119
  }, null, 8, ["distribution-id", "file-types", "file-format-text"])
1133
1120
  ])) : p("", !0),
1134
- e["dcat:compressFormat"] && ((Pe = e["dcat:compressFormat"]) != null && Pe.label) && ((Ne = e["dcat:compressFormat"]) == null ? void 0 : Ne.label.trim()) !== "" ? (u(), f("div", Ka, [
1135
- c(oe, {
1121
+ e["dcat:compressFormat"] && ((Ee = e["dcat:compressFormat"]) != null && Ee.label) && ((Me = e["dcat:compressFormat"]) == null ? void 0 : Me.label.trim()) !== "" ? (m(), f("div", Wa, [
1122
+ u(oe, {
1136
1123
  "distribution-id": e.id,
1137
1124
  "file-types": D.value,
1138
1125
  "file-format-type": "dcat:compressFormat",
@@ -1142,8 +1129,8 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
1142
1129
  onDeleteButtonClicked: t[1] || (t[1] = (d) => Q("dcat:compressFormat", w.value))
1143
1130
  }, null, 8, ["distribution-id", "file-types", "compress-format-text"])
1144
1131
  ])) : p("", !0),
1145
- (Oe = e["dcat:packageFormat"]) != null && Oe.label && ((We = e["dcat:packageFormat"]) == null ? void 0 : We.label.trim()) !== "" ? (u(), f("div", qa, [
1146
- c(oe, {
1132
+ (Be = e["dcat:packageFormat"]) != null && Be.label && ((ze = e["dcat:packageFormat"]) == null ? void 0 : ze.label.trim()) !== "" ? (m(), f("div", Ha, [
1133
+ u(oe, {
1147
1134
  "distribution-id": e.id,
1148
1135
  "file-types": D.value,
1149
1136
  "file-format-type": "dcat:packageFormat",
@@ -1153,50 +1140,50 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
1153
1140
  onDeleteButtonClicked: t[2] || (t[2] = (d) => Q("dcat:packageFormat", w.value))
1154
1141
  }, null, 8, ["distribution-id", "file-types", "package-format-text"])
1155
1142
  ])) : p("", !0),
1156
- K.value && L(i).length === 1 ? (u(), f("p", Za, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
1143
+ K.value && V(i).length === 1 ? (m(), f("p", ja, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
1157
1144
  ]),
1158
- m("div", Qa, [
1159
- c(j, {
1145
+ r("div", Ga, [
1146
+ u(H, {
1160
1147
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
1161
1148
  size: "small",
1162
1149
  "icon-start": "PlusSquare",
1163
1150
  variant: "tertiary",
1164
- onClick: (d) => kt(e.id)
1151
+ onClick: (d) => ht(e.id)
1165
1152
  }, null, 8, ["button-text", "onClick"]),
1166
- L(i).length > 1 ? (u(), te(j, {
1153
+ V(i).length > 1 ? (m(), te(H, {
1167
1154
  key: 0,
1168
1155
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.delete"),
1169
1156
  size: "small",
1170
1157
  "icon-start": "trash",
1171
1158
  variant: "tertiary",
1172
- onClick: (d) => bt(e.id)
1159
+ onClick: (d) => yt(e.id)
1173
1160
  }, null, 8, ["button-text", "onClick"])) : p("", !0)
1174
1161
  ])
1175
1162
  ]);
1176
1163
  }), 128)),
1177
- m("div", Xa, [
1178
- c(j, {
1164
+ r("div", Ja, [
1165
+ u(H, {
1179
1166
  "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
1180
1167
  size: "large",
1181
1168
  "icon-start": "plus",
1182
1169
  variant: "tertiary",
1183
- onClick: mt
1170
+ onClick: ct
1184
1171
  }, null, 8, ["button-text"])
1185
1172
  ]),
1186
- $.value ? (u(), f("div", {
1173
+ $.value ? (m(), f("div", {
1187
1174
  key: 2,
1188
- class: At(
1175
+ class: Lt(
1189
1176
  A.inRap == !0 ? "dpiV3_errormsgWrapper rap-bottom" : "dpiV3_errormsgWrapper"
1190
1177
  )
1191
1178
  }, [
1192
- c(L(O), {
1179
+ u(V(O), {
1193
1180
  size: 16,
1194
1181
  weight: "fill"
1195
1182
  }),
1196
- t[12] || (t[12] = m("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1183
+ t[12] || (t[12] = r("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1197
1184
  ], 2)) : p("", !0)
1198
1185
  ]),
1199
- B.value ? (u(), te(Gt, {
1186
+ B.value ? (m(), te(Wt, {
1200
1187
  key: 0,
1201
1188
  "distibution-id": w.value,
1202
1189
  "file-types": D.value,
@@ -1233,38 +1220,38 @@ const da = { class: "dpiV3InnerComponentWrap" }, ca = { key: 0 }, ra = {
1233
1220
  "conforms-to-items": l.value.conformsToItems,
1234
1221
  "policy-items": l.value.policyItems,
1235
1222
  "download-URL": l.value.downloadURL,
1236
- onClose: xt,
1237
- onActionHandling: t[3] || (t[3] = (e) => gt(e)),
1238
- onAddDocumentations: ft,
1239
- onAddAccessServices: pt,
1223
+ onClose: gt,
1224
+ onActionHandling: t[3] || (t[3] = (e) => pt(e)),
1225
+ onAddDocumentations: rt,
1226
+ onAddAccessServices: ut,
1240
1227
  onAddModifiedDate: me,
1241
1228
  onAddIssuedDate: fe,
1242
1229
  onAddDescription: pe,
1243
1230
  onAddAccessRights: ve,
1244
1231
  onAddAvailability: he,
1245
- onAddLanguage: xe,
1232
+ onAddLanguage: ke,
1246
1233
  onAddByteSize: be,
1247
1234
  onAddMediaType: C,
1248
1235
  onAddCompressFormat: C,
1249
1236
  onAddPackageFormat: C,
1250
1237
  onAddStatus: ge,
1251
1238
  onAddChecksum: ye,
1252
- onAddChangeLicense: ke,
1253
- onAddConformsToItems: vt,
1254
- onAddPolicyItems: ht
1239
+ onAddChangeLicense: Je,
1240
+ onAddConformsToItems: mt,
1241
+ onAddPolicyItems: ft
1255
1242
  }, 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"])) : p("", !0),
1256
- H.value ? (u(), te(Ht, {
1243
+ j.value ? (m(), te(Ot, {
1257
1244
  key: 1,
1258
1245
  buttons: F.value.button,
1259
1246
  "header-text": F.value.header,
1260
1247
  text: F.value.text,
1261
1248
  action: F.value.action,
1262
- onClose: t[4] || (t[4] = (e) => H.value = !1),
1263
- onActionHandling: t[5] || (t[5] = (e) => yt(e))
1249
+ onClose: t[4] || (t[4] = (e) => j.value = !1),
1250
+ onActionHandling: t[5] || (t[5] = (e) => vt(e))
1264
1251
  }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
1265
1252
  ], 64));
1266
1253
  }
1267
- }, Eo = /* @__PURE__ */ na(Ya, [["__scopeId", "data-v-01d64593"]]);
1254
+ }, Lo = /* @__PURE__ */ oa(Ka, [["__scopeId", "data-v-68eb0ba0"]]);
1268
1255
  export {
1269
- Eo as default
1256
+ Lo as default
1270
1257
  };