@piveau/dpi 0.1.0-beta.5 → 0.1.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/DataProviderInterface.vue2.js +45 -40
  3. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +15 -15
  4. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +15 -14
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +73 -32
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +26 -24
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +23 -22
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +88 -85
  9. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +382 -382
  10. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +183 -174
  11. package/dist/data-provider-interface/composables/useDpiContext.js +5 -7
  12. package/dist/data-provider-interface/composables/useDpiEditMode.js +15 -13
  13. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +7 -7
  14. package/dist/data-provider-interface/store/index.js +32 -0
  15. package/dist/data-provider-interface/store/modules/authStore.js +301 -0
  16. package/dist/data-provider-interface/store/modules/catalogueDetailsStore.js +34 -0
  17. package/dist/data-provider-interface/store/modules/cataloguesStore.js +256 -0
  18. package/dist/data-provider-interface/store/modules/datasetDetailsStore.js +644 -0
  19. package/dist/data-provider-interface/store/modules/datasetsStore.js +361 -0
  20. package/dist/data-provider-interface/store/{dpiStore.js → modules/dpiStore.js} +11 -12
  21. package/dist/data-provider-interface/store/modules/snackbarStore.js +45 -0
  22. package/dist/data-provider-interface/views/InputPage.vue.js +100 -99
  23. package/dist/index.js +4 -4
  24. package/dist/utils/draftApi.js +33 -0
  25. package/dist/utils/helpers.js +36 -22
  26. package/dist/utils/identifiersApi.js +16 -0
  27. package/dist/utils/jwt.js +7 -0
  28. package/package.json +6 -4
  29. package/dist/data-provider-interface/store/modules/formSchemaStore.js +0 -94
@@ -1,114 +1,114 @@
1
- import { ref as p, onUnmounted as Ke, onMounted as Ze, getCurrentInstance as qe, computed as Qe, watch as Xe, createElementBlock as r, openBlock as c, Fragment as me, createElementVNode as m, createBlock as fe, createCommentVNode as u, toDisplayString as I, renderList as Ye, createVNode as l, withDirectives as et, vShow as tt, unref as ot } from "vue";
2
- import { getNode as pe } from "@formkit/core";
1
+ import { ref as p, onUnmounted as Ge, onMounted as Ke, getCurrentInstance as Ze, computed as qe, watch as Qe, createElementBlock as r, openBlock as c, Fragment as me, createElementVNode as m, createBlock as fe, createCommentVNode as u, toDisplayString as V, renderList as Xe, createVNode as l, withDirectives as Ye, vShow as et, unref as tt } from "vue";
2
+ import "@formkit/core";
3
3
  import { PhWarning as at } from "@phosphor-icons/vue";
4
- import { useI18n as it } from "vue-i18n";
5
- import { useStore as st } from "vuex";
6
- import { useEditModeInfo as nt } from "../composables/useDpiEditMode.js";
7
- import { useFormValues as dt } from "../composables/useDpiFormValues.js";
8
- import V from "../config/dcatapdeHappyFlow/page-content-config.js";
9
- import { getFileTypes as lt, getChecksumAlgorithms as ct, getPlannedAvailability as rt, getLanguages as ut } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
- import { eventBus as ve } from "../HappyFlowComponents/services/eventBus.js";
4
+ import { useI18n as ot } from "vue-i18n";
5
+ import { useStore as it } from "vuex";
6
+ import { useEditModeInfo as st } from "../composables/useDpiEditMode.js";
7
+ import { useFormValues as nt } from "../composables/useDpiFormValues.js";
8
+ import A from "../config/dcatapdeHappyFlow/page-content-config.js";
9
+ import { getFileTypes as dt, getChecksumAlgorithms as lt, getPlannedAvailability as ct, getLanguages as rt } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
+ import { eventBus as pe } from "../HappyFlowComponents/services/eventBus.js";
11
11
  import O from "../HappyFlowComponents/ui/ButtonV3.vue.js";
12
- import mt from "../HappyFlowComponents/ui/Dropdown.vue.js";
13
- import he from "../HappyFlowComponents/ui/InputField.vue.js";
14
- import ft from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
15
- import pt from "../HappyFlowComponents/ui/ModalV3.vue.js";
16
- import vt from "../HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js";
17
- import ht from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
18
- import gt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
19
- import yt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
20
- import xt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
21
- import bt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
22
- import kt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
23
- import Dt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
24
- import _t from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
12
+ import ut from "../HappyFlowComponents/ui/Dropdown.vue.js";
13
+ import ve from "../HappyFlowComponents/ui/InputField.vue.js";
14
+ import mt from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
15
+ import ft from "../HappyFlowComponents/ui/ModalV3.vue.js";
16
+ import pt from "../HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js";
17
+ import vt from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
18
+ import ht from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
19
+ import gt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
20
+ import yt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
21
+ import xt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
22
+ import bt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
23
+ import kt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
24
+ import Dt from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
25
25
  import j from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
26
- import Tt from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
27
- import wt from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
28
- import It from "../HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js";
29
- import Vt from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
30
- import At from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
31
- import Ct from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
32
- import A from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
26
+ import _t from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
27
+ import Tt from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
28
+ import wt from "../HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js";
29
+ import It from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
30
+ import Vt from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
31
+ import At from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
32
+ import C from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
33
33
  /* empty css */
34
- import Lt from "../../_virtual/_plugin-vue_export-helper.js";
35
- const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
34
+ import Ct from "../../_virtual/_plugin-vue_export-helper.js";
35
+ const Lt = { class: "dpiV3InnerComponentWrap" }, $t = { key: 0 }, St = {
36
36
  key: 1,
37
37
  class: "copy-large-regular"
38
- }, Ft = { class: "dpiV3_LinkAndMetadata" }, Ut = {
38
+ }, Rt = { class: "dpiV3_LinkAndMetadata" }, Ft = {
39
39
  key: 0,
40
40
  class: "validation-error"
41
- }, Bt = {
41
+ }, Ut = {
42
42
  key: 1,
43
43
  class: "validation-error"
44
- }, Et = {
44
+ }, Bt = {
45
45
  key: 2,
46
46
  class: "dpiV3_DocumentationsInDistr"
47
- }, Mt = { class: "dpiV3_TitleDelete" }, zt = { class: "dpiV3_documentationContents" }, Nt = { class: "dpiV3_Documentation" }, Pt = {
47
+ }, Et = { class: "dpiV3_TitleDelete" }, Mt = { class: "dpiV3_documentationContents" }, zt = { class: "dpiV3_Documentation" }, Nt = {
48
48
  key: 3,
49
49
  class: "dpiV3_DocumentationsInDistr"
50
- }, Ot = { class: "dpiV3_TitleDelete" }, jt = { class: "dpiV3_documentationContents" }, Jt = { class: "dpiV3_Documentation" }, Wt = {
50
+ }, Pt = { class: "dpiV3_TitleDelete" }, Ot = { class: "dpiV3_documentationContents" }, jt = { class: "dpiV3_Documentation" }, Jt = {
51
51
  key: 4,
52
52
  class: "dpiV3_modified dpiV3_label"
53
- }, Ht = {
53
+ }, Wt = {
54
54
  key: 5,
55
55
  class: "dpiV3_modified dpiV3_label"
56
- }, Gt = { class: "dpiV3_modified dpiV3_label" }, Kt = {
56
+ }, Ht = { class: "dpiV3_modified dpiV3_label" }, Gt = {
57
57
  key: 6,
58
58
  class: "dpiV3_modified dpiV3_label"
59
- }, Zt = {
59
+ }, Kt = {
60
60
  key: 7,
61
61
  class: "dpiV3_modified dpiV3_label"
62
- }, qt = {
62
+ }, Zt = {
63
63
  key: 8,
64
64
  class: "dpiV3_modified dpiV3_label"
65
- }, Qt = {
65
+ }, qt = {
66
66
  key: 9,
67
67
  class: "dpiV3_modified dpiV3_label"
68
- }, Xt = {
68
+ }, Qt = {
69
69
  key: 10,
70
70
  class: "dpiV3_modified dpiV3_label"
71
- }, Yt = {
71
+ }, Xt = {
72
72
  key: 11,
73
73
  class: "dpiV3_modified dpiV3_label"
74
- }, eo = {
74
+ }, Yt = {
75
75
  key: 12,
76
76
  class: "dpiV3_DocumentationsInDistr"
77
- }, to = { class: "dpiV3_TitleDelete" }, oo = {
77
+ }, ea = { class: "dpiV3_TitleDelete" }, ta = {
78
78
  key: 13,
79
79
  class: "dpiV3_DocumentationsInDistr"
80
- }, ao = { class: "dpiV3_TitleDelete" }, io = {
80
+ }, aa = { class: "dpiV3_TitleDelete" }, oa = {
81
81
  key: 14,
82
82
  class: "dpiV3_modified dpiV3_label"
83
- }, so = {
83
+ }, ia = {
84
84
  key: 15,
85
85
  class: "dpiV3_modified dpiV3_label"
86
- }, no = {
86
+ }, sa = {
87
87
  key: 16,
88
88
  class: "dpiV3_modified dpiV3_label"
89
- }, lo = {
89
+ }, na = {
90
90
  key: 17,
91
91
  class: "dpiV3_modified dpiV3_label"
92
- }, co = {
92
+ }, da = {
93
93
  key: 18,
94
94
  class: "dpiV3_modified dpiV3_label"
95
- }, ro = {
95
+ }, la = {
96
96
  key: 19,
97
97
  class: "copy-mini-regular dpiV3_text_error"
98
- }, uo = { class: "dpiV3_CTA-Distribution" }, mo = { class: "dpiV3_tempAddMore" }, fo = {
98
+ }, ca = { class: "dpiV3_CTA-Distribution" }, ra = { class: "dpiV3_tempAddMore" }, ua = {
99
99
  key: 2,
100
100
  class: "dpiV3_errormsgWrapper"
101
- }, po = {
101
+ }, ma = {
102
102
  __name: "DistributionSimplePage",
103
103
  props: {
104
104
  context: Object,
105
105
  inRap: Boolean
106
106
  },
107
- setup(T) {
107
+ setup(w) {
108
108
  var ce, re;
109
- const b = T, s = p(), { isEditMode: J } = nt(), { t: k } = it(), { formValues: C } = dt();
109
+ const b = w, s = p(), { isEditMode: J } = st(), { t: k } = ot(), { formValues: _ } = nt();
110
110
  if (b.inRap)
111
- s.value = pe("DistributionSimple").value[Object.keys(pe("DistributionSimple").value)[0]], console.log(s.value);
111
+ s.value = _.value.DistributionSimple[Object.keys(_.value.DistributionSimple)[0]], console.log(s.value);
112
112
  else {
113
113
  const t = {
114
114
  isValid: "unset",
@@ -142,30 +142,30 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
142
142
  "dcterms:license": ""
143
143
  }
144
144
  };
145
- s.value = J.value ? [...JSON.parse(JSON.stringify((re = (ce = C == null ? void 0 : C.value) == null ? void 0 : ce.DistributionSimple) == null ? void 0 : re["dcat:distribution"]))] : [t];
145
+ s.value = J.value ? [...JSON.parse(JSON.stringify((re = (ce = _ == null ? void 0 : _.value) == null ? void 0 : ce.DistributionSimple) == null ? void 0 : re["dcat:distribution"]))] : [t];
146
146
  }
147
- const n = p({}), _ = p({}), W = p([]), w = p(!1), L = p(!1), y = p(0), g = p([]), H = p([]), G = p([]), $ = p([]), S = p([...g.value]), ge = st(), R = p(null);
147
+ const n = p({}), T = p({}), W = p([]), I = p(!1), L = p(!1), y = p(0), g = p([]), H = p([]), G = p([]), $ = p([]), S = p([...g.value]), he = it(), R = p(null);
148
148
  p(null);
149
149
  const F = p(!1), K = p(!1), Z = p(!1), U = p(!1), q = p(!0);
150
- function ye() {
150
+ function ge() {
151
151
  W.value = [
152
152
  {
153
153
  title: k(
154
154
  "message.dataupload.datasets.dcat:distribution.recommended.title"
155
155
  ),
156
- items: V.distributions.Recommended.map(
156
+ items: A.distributions.Recommended.map(
157
157
  (t) => k(
158
158
  `message.dataupload.datasets.dcat:distribution.recommended.${t}`
159
159
  ) || t
160
160
  ),
161
- keys: V.distributions.Recommended
161
+ keys: A.distributions.Recommended
162
162
  },
163
163
  {
164
164
  title: k("message.dataupload.datasets.dcat:distribution.advanced.title"),
165
- items: V.distributions.Advanced.map(
165
+ items: A.distributions.Advanced.map(
166
166
  (t) => k(`message.dataupload.datasets.dcat:distribution.advanced.${t}`) || t
167
167
  ),
168
- keys: V.distributions.Advanced
168
+ keys: A.distributions.Advanced
169
169
  }
170
170
  ];
171
171
  }
@@ -173,11 +173,11 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
173
173
  (t.includes("dcat:distribution") || t.includes("dct:license")) && (q.value || B(), q.value = !1);
174
174
  }
175
175
  function B(t) {
176
- let o = !0;
176
+ let a = !0;
177
177
  s.value = s.value.map((e) => {
178
178
  var f, x;
179
- const a = ((f = e["dcat:downloadURL"]) == null ? void 0 : f.trim()) !== "", i = ((x = e["dct:format"].label) == null ? void 0 : x.trim()) !== "", d = a && i;
180
- return d || (o = !1), t === e.id ? {
179
+ const o = ((f = e["dcat:downloadURL"]) == null ? void 0 : f.trim()) !== "", i = ((x = e["dct:format"].label) == null ? void 0 : x.trim()) !== "", d = o && i;
180
+ return d || (a = !1), t === e.id ? {
181
181
  ...e,
182
182
  isValid: d,
183
183
  showErrorDownloadURL: !1,
@@ -185,34 +185,34 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
185
185
  } : {
186
186
  ...e,
187
187
  isValid: d,
188
- showErrorDownloadURL: !a,
188
+ showErrorDownloadURL: !o,
189
189
  showErrorFormat: !i
190
190
  };
191
- }), !o && s.value.length > 0 && (s.value[0].isValid = !1), t == null && (U.value = !o), b.context.node.input(s.value);
191
+ }), !a && s.value.length > 0 && (s.value[0].isValid = !1), t == null && (U.value = !a), b.context.node.input(s.value);
192
192
  }
193
- function E(t, o) {
194
- var a, i, d;
193
+ function E(t, a) {
194
+ var o, i, d;
195
195
  let e = !0;
196
- if (o === "dcat:downloadURL")
197
- e = ((a = t[o]) == null ? void 0 : a.trim()) !== "" && (t[o] ? M(t[o]) : !1), e ? (t.showErrorDownloadURL = !1, t.urlErrorMessage = "") : (t.showErrorDownloadURL = !0, ((i = t[o]) == null ? void 0 : i.trim()) === "" ? t.urlErrorMessage = "URL ist erforderlich" : t.urlErrorMessage = "Bitte geben Sie eine gültige URL ein");
198
- else if (o === "dct:format") {
199
- const f = (d = t[o].label) == null ? void 0 : d.trim();
196
+ if (a === "dcat:downloadURL")
197
+ e = ((o = t[a]) == null ? void 0 : o.trim()) !== "" && (t[a] ? M(t[a]) : !1), e ? (t.showErrorDownloadURL = !1, t.urlErrorMessage = "") : (t.showErrorDownloadURL = !0, ((i = t[a]) == null ? void 0 : i.trim()) === "" ? t.urlErrorMessage = "URL ist erforderlich" : t.urlErrorMessage = "Bitte geben Sie eine gültige URL ein");
198
+ else if (a === "dct:format") {
199
+ const f = (d = t[a].label) == null ? void 0 : d.trim();
200
200
  e = f !== "", e ? (t.showErrorFormat = !1, t.formatErrorMessage = "") : (t.showErrorFormat = !0, f === "" ? t.formatErrorMessage = "Format ist erforderlich" : t.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
201
201
  }
202
- xe();
202
+ ye();
203
203
  }
204
- function xe() {
204
+ function ye() {
205
205
  let t = !0;
206
- s.value = s.value.map((o) => {
206
+ s.value = s.value.map((a) => {
207
207
  var d, f;
208
- const e = ((d = o["dcat:downloadURL"]) == null ? void 0 : d.trim()) !== "" && M(o["dcat:downloadURL"]), a = ((f = o["dct:format"].label) == null ? void 0 : f.trim()) !== "" && g.value.some(
208
+ const e = ((d = a["dcat:downloadURL"]) == null ? void 0 : d.trim()) !== "" && M(a["dcat:downloadURL"]), o = ((f = a["dct:format"].label) == null ? void 0 : f.trim()) !== "" && g.value.some(
209
209
  (x) => {
210
210
  var h;
211
- return x["@value"].toUpperCase() === ((h = o["dct:format"].label) == null ? void 0 : h.toUpperCase());
211
+ return x["@value"].toUpperCase() === ((h = a["dct:format"].label) == null ? void 0 : h.toUpperCase());
212
212
  }
213
- ), i = e && a;
213
+ ), i = e && o;
214
214
  return i || (t = !1), {
215
- ...o,
215
+ ...a,
216
216
  isValid: i
217
217
  };
218
218
  }), !t && s.value.length > 0 ? s.value[0].isValid = !1 : s.value.length > 0 && (s.value[0].isValid = !0), U.value = !t, console.log(s.value), b.context.node.input(s.value);
@@ -220,96 +220,96 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
220
220
  function M(t) {
221
221
  return /^(https?:\/\/)?(www\.)?[-\w@:%.+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-\w()@:%+.~#?&/=]*)$/.test(t);
222
222
  }
223
- Ke(() => {
224
- ve.off("nextClicked", Q);
225
- }), Ze(async () => {
226
- ve.on("nextClicked", Q);
227
- const t = qe(), o = t.appContext.app.config.globalProperties.$env;
223
+ Ge(() => {
224
+ pe.off("nextClicked", Q);
225
+ }), Ke(async () => {
226
+ pe.on("nextClicked", Q);
227
+ const t = Ze(), a = t.appContext.app.config.globalProperties.$env;
228
228
  if (t) {
229
229
  const e = t.appContext.app.config.globalProperties.$env;
230
230
  R.value = e.content.dataProviderInterface.specification;
231
231
  } else
232
232
  console.log("Instance is null!");
233
233
  try {
234
- const e = await lt(o.api.baseUrl);
235
- g.value = e.results.map((a) => ({
236
- "@value": a.id,
237
- uri: a.resource,
234
+ const e = await dt(a.api.baseUrl);
235
+ g.value = e.results.map((o) => ({
236
+ "@value": o.id,
237
+ uri: o.resource,
238
238
  selected: !1
239
239
  }));
240
240
  } catch (e) {
241
241
  error.value = e;
242
242
  }
243
243
  try {
244
- const e = await ct(o.api.baseUrl);
244
+ const e = await lt(a.api.baseUrl);
245
245
  H.value = e;
246
- const a = await rt(o.api.baseUrl);
247
- G.value = a;
248
- const i = await ut(o.api.baseUrl);
246
+ const o = await ct(a.api.baseUrl);
247
+ G.value = o;
248
+ const i = await rt(a.api.baseUrl);
249
249
  $.value = i;
250
250
  } catch (e) {
251
251
  console.log(e);
252
252
  }
253
- ye();
253
+ ge();
254
254
  });
255
- function be(t, o) {
256
- const e = s.value.find((i) => i.id === o);
255
+ function xe(t, a) {
256
+ const e = s.value.find((i) => i.id === a);
257
257
  if (!e)
258
258
  return;
259
- let a = g.value.find((i) => i["@value"] === t).uri || "";
260
- e["dct:format"] = { label: t, uri: a }, e.showErrorFormat = !1, e.formatErrorMessage = "", E(e, "dct:format"), b.context.node.input(s.value);
259
+ let o = g.value.find((i) => i["@value"] === t).uri || "";
260
+ e["dct:format"] = { label: t, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", E(e, "dct:format"), b.context.node.input(s.value);
261
261
  }
262
- function X(t, o) {
263
- const e = s.value.find((a) => a.id === o);
264
- e ? (e["dct:modified"] = t, n.value.dctModified = t) : console.warn(`No matching distribution found for ID ${o}.`);
262
+ function X(t, a) {
263
+ const e = s.value.find((o) => o.id === a);
264
+ e ? (e["dct:modified"] = t, n.value.dctModified = t) : console.warn(`No matching distribution found for ID ${a}.`);
265
265
  }
266
- function Y(t, o) {
267
- const e = s.value.find((a) => a.id === o);
268
- e ? (e["dct:issued"] = t, n.value.dctIssued = t) : console.warn(`No matching distribution found for ID ${o}.`);
266
+ function Y(t, a) {
267
+ const e = s.value.find((o) => o.id === a);
268
+ e ? (e["dct:issued"] = t, n.value.dctIssued = t) : console.warn(`No matching distribution found for ID ${a}.`);
269
269
  }
270
- function ee(t, o) {
271
- const e = s.value.find((a) => a.id === o);
272
- e ? (e["dct:description"] = t, n.value.dctDescription = t) : console.warn(`No matching distribution found for ID ${o}.`);
270
+ function ee(t, a) {
271
+ const e = s.value.find((o) => o.id === a);
272
+ e ? (e["dct:description"] = t, n.value.dctDescription = t) : console.warn(`No matching distribution found for ID ${a}.`);
273
273
  }
274
- function te(t, o) {
275
- const e = s.value.find((a) => a.id === o);
276
- e ? (e["dcatde:licenseAttributionByText"] = t, n.value.nameTextByClauses = t) : console.warn(`No matching distribution found for ID ${o}.`);
274
+ function te(t, a) {
275
+ const e = s.value.find((o) => o.id === a);
276
+ e ? (e["dcatde:licenseAttributionByText"] = t, n.value.nameTextByClauses = t) : console.warn(`No matching distribution found for ID ${a}.`);
277
277
  }
278
- function oe(t, o) {
279
- const e = s.value.find((a) => a.id === o);
280
- e ? (e["dct:accessRights"] = t, n.value.accessRightsText = t) : console.warn(`No matching distribution found for ID ${o}.`);
278
+ function ae(t, a) {
279
+ const e = s.value.find((o) => o.id === a);
280
+ e ? (e["dct:accessRights"] = t, n.value.accessRightsText = t) : console.warn(`No matching distribution found for ID ${a}.`);
281
281
  }
282
- function ae(t, o, e) {
283
- const a = s.value.find((i) => i.id === o);
284
- e || (e = G.value.find((i) => i.value === t).uri || ""), a ? (a["dcatap:availability"] = { label: t, uri: e }, n.value.availabilityText = t) : console.warn(`No matching distribution found for ID ${o}.`);
282
+ function oe(t, a, e) {
283
+ const o = s.value.find((i) => i.id === a);
284
+ e || (e = G.value.find((i) => i.value === t).uri || ""), o ? (o["dcatap:availability"] = { label: t, uri: e }, n.value.availabilityText = t) : console.warn(`No matching distribution found for ID ${a}.`);
285
285
  }
286
- function ie(t, o) {
287
- const e = s.value.find((a) => a.id === o);
288
- e ? (e["adms:status"] = t, n.value.statusText = t) : console.warn(`No matching distribution found for ID ${o}.`);
286
+ function ie(t, a) {
287
+ const e = s.value.find((o) => o.id === a);
288
+ e ? (e["adms:status"] = t, n.value.statusText = t) : console.warn(`No matching distribution found for ID ${a}.`);
289
289
  }
290
- function se(t, o, e, a) {
290
+ function se(t, a, e, o) {
291
291
  K.value = !0;
292
292
  const i = s.value.find((d) => d.id === e);
293
- a || (a = H.value.find((d) => d.value === o).resource || ""), i ? (i.checksum.title = t, i.checksum["spdx:checksum"] = o, i.checksum.uri = a || "no URI", n.value.checksumText = t, n.value.checksumDropdownText = o, n.value.checksumURI = a) : console.warn(`No matching distribution found for ID ${e}.`);
293
+ o || (o = H.value.find((d) => d.value === a).resource || ""), i ? (i.checksum.title = t, i.checksum["spdx:checksum"] = a, i.checksum.uri = o || "no URI", n.value.checksumText = t, n.value.checksumDropdownText = a, n.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
294
294
  }
295
- function ne(t, o, e) {
295
+ function ne(t, a, e) {
296
296
  Z.value = !0;
297
- const a = s.value.find((i) => i.id === e);
298
- a ? (a.changeLicense.title = t, a.changeLicense["dcterms:license"] = o, n.value.changeLicenseText = t, n.value.changeLicenseDropdownText = o) : console.warn(`No matching distribution found for ID ${e}.`);
297
+ const o = s.value.find((i) => i.id === e);
298
+ o ? (o.changeLicense.title = t, o.changeLicense["dcterms:license"] = a, n.value.changeLicenseText = t, n.value.changeLicenseDropdownText = a) : console.warn(`No matching distribution found for ID ${e}.`);
299
299
  }
300
- function de(t, o, e) {
301
- const a = s.value.find((i) => i.id === o);
302
- console.log($), e || (e = $.value.find((i) => i.label === t).uri || ""), a ? (a["dct:language"] = { label: t, uri: e }, n.value.languageText = t) : console.warn(`No matching distribution found for ID ${o}.`);
300
+ function de(t, a, e) {
301
+ const o = s.value.find((i) => i.id === a);
302
+ console.log($), e || (e = $.value.find((i) => i.label === t).uri || ""), o ? (o["dct:language"] = { label: t, uri: e }, n.value.languageText = t) : console.warn(`No matching distribution found for ID ${a}.`);
303
303
  }
304
- function le(t, o) {
305
- const e = s.value.find((a) => a.id === o);
306
- e ? (e["dcat:byteSize"] = t, n.value.byteSizeText = t) : console.warn(`No matching distribution found for ID ${o}.`);
304
+ function le(t, a) {
305
+ const e = s.value.find((o) => o.id === a);
306
+ e ? (e["dcat:byteSize"] = t, n.value.byteSizeText = t) : console.warn(`No matching distribution found for ID ${a}.`);
307
307
  }
308
- function D(t, o, e) {
309
- const a = s.value.find((d) => d.id === e);
308
+ function D(t, a, e) {
309
+ const o = s.value.find((d) => d.id === e);
310
310
  let i = g.value.find((d) => d["@value"] === t).uri || "";
311
- if (console.log(i), a)
312
- switch (a[o] = { label: t, uri: i }, o) {
311
+ if (console.log(i), o)
312
+ switch (o[a] = { label: t, uri: i }, a) {
313
313
  case "dcat:mediaType":
314
314
  n.value.mediaTypeText = t;
315
315
  break;
@@ -323,7 +323,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
323
323
  else
324
324
  console.warn(`No matching distribution found for ID ${e}.`);
325
325
  }
326
- function ke(t) {
326
+ function be(t) {
327
327
  v(
328
328
  t,
329
329
  "Konform zu Standard",
@@ -332,7 +332,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
332
332
  !0
333
333
  );
334
334
  }
335
- function De(t) {
335
+ function ke(t) {
336
336
  v(
337
337
  t,
338
338
  "Verfügbarkeit",
@@ -341,7 +341,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
341
341
  !1
342
342
  );
343
343
  }
344
- function _e(t) {
344
+ function De(t) {
345
345
  v(
346
346
  t,
347
347
  "Status",
@@ -350,7 +350,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
350
350
  !1
351
351
  );
352
352
  }
353
- function Te(t) {
353
+ function _e(t) {
354
354
  v(
355
355
  t,
356
356
  "Größe in Bytes",
@@ -359,7 +359,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
359
359
  !1
360
360
  );
361
361
  }
362
- function we(t) {
362
+ function Te(t) {
363
363
  v(
364
364
  t,
365
365
  "Sprache",
@@ -368,10 +368,10 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
368
368
  !1
369
369
  );
370
370
  }
371
- function z(t, o) {
372
- v(o, t, t, !0, !1);
371
+ function z(t, a) {
372
+ v(a, t, t, !0, !1);
373
373
  }
374
- function Ie(t) {
374
+ function we(t) {
375
375
  v(
376
376
  t,
377
377
  "Regelwerk",
@@ -380,7 +380,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
380
380
  !0
381
381
  );
382
382
  }
383
- function Ve(t) {
383
+ function Ie(t) {
384
384
  v(
385
385
  t,
386
386
  "Dokumentation",
@@ -389,7 +389,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
389
389
  !0
390
390
  );
391
391
  }
392
- function Ae(t) {
392
+ function Ve(t) {
393
393
  v(
394
394
  t,
395
395
  "Ausliefernder Datenservice",
@@ -398,7 +398,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
398
398
  !0
399
399
  );
400
400
  }
401
- function Ce(t) {
401
+ function Ae(t) {
402
402
  v(
403
403
  t,
404
404
  "Aktualisierungsdatum",
@@ -406,7 +406,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
406
406
  !1
407
407
  );
408
408
  }
409
- function Le(t) {
409
+ function Ce(t) {
410
410
  v(
411
411
  t,
412
412
  "Veröffentlichungsdatum",
@@ -414,7 +414,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
414
414
  !1
415
415
  );
416
416
  }
417
- function $e(t) {
417
+ function Le(t) {
418
418
  v(
419
419
  t,
420
420
  "Beschreibung",
@@ -422,7 +422,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
422
422
  !0
423
423
  );
424
424
  }
425
- function Se(t) {
425
+ function $e(t) {
426
426
  v(
427
427
  t,
428
428
  "Namensnennungstext für By-Clauses",
@@ -430,7 +430,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
430
430
  !0
431
431
  );
432
432
  }
433
- function Re(t) {
433
+ function Se(t) {
434
434
  v(
435
435
  t,
436
436
  "Grad der Zugänglichkeit",
@@ -438,10 +438,10 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
438
438
  !1
439
439
  );
440
440
  }
441
- const Fe = Qe(() => R.value ? ge.getters["dpiStore/getNavSteps"](R.value) : {});
442
- Xe(Fe, (t) => {
441
+ const Re = qe(() => R.value ? he.getters["dpiStore/getNavSteps"](R.value) : {});
442
+ Qe(Re, (t) => {
443
443
  }), J.value || b.context.node.input([{ isValid: "unset" }]);
444
- function Ue() {
444
+ function Fe() {
445
445
  const t = Date.now();
446
446
  s.value.push({
447
447
  isValid: "unset",
@@ -476,162 +476,162 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
476
476
  }
477
477
  }), B(t);
478
478
  }
479
- function Be(t, o) {
480
- const e = s.value.find((a) => a.id === t);
479
+ function Ue(t, a) {
480
+ const e = s.value.find((o) => o.id === t);
481
481
  if (!e) {
482
482
  console.error(`Distribution with ID ${t} not found`);
483
483
  return;
484
484
  }
485
- if (!Array.isArray(o)) {
486
- console.error("Provided documentations is not an array", o);
485
+ if (!Array.isArray(a)) {
486
+ console.error("Provided documentations is not an array", a);
487
487
  return;
488
488
  }
489
489
  e.documentations = e.documentations.filter(
490
- (a) => o.some((i) => i.id === a.id)
491
- ), o.forEach((a) => {
490
+ (o) => a.some((i) => i.id === o.id)
491
+ ), a.forEach((o) => {
492
492
  const i = e.documentations.findIndex(
493
- (d) => d.id === a.id
493
+ (d) => d.id === o.id
494
494
  );
495
495
  if (i !== -1)
496
496
  e.documentations[i] = {
497
497
  ...e.documentations[i],
498
- ...a
498
+ ...o
499
499
  };
500
500
  else {
501
501
  const d = e.documentations.length > 0 ? Math.max(...e.documentations.map((f) => f.id)) + 1 : 1;
502
502
  e.documentations.push({
503
- id: a.id || d,
504
- "dcat:accessURL": a["dcat:accessURL"] || "",
505
- "dct:format": { label: a["dct:format"], uri: "test" },
506
- "dct:title": a["dct:title"] || "",
507
- "dct:description": a["dct:description"] || ""
503
+ id: o.id || d,
504
+ "dcat:accessURL": o["dcat:accessURL"] || "",
505
+ "dct:format": { label: o["dct:format"], uri: "test" },
506
+ "dct:title": o["dct:title"] || "",
507
+ "dct:description": o["dct:description"] || ""
508
508
  });
509
509
  }
510
510
  });
511
511
  }
512
- function Ee(t, o) {
513
- const e = s.value.find((a) => a.id === t);
512
+ function Be(t, a) {
513
+ const e = s.value.find((o) => o.id === t);
514
514
  if (!e) {
515
515
  console.error(`Distribution with ID ${t} not found`);
516
516
  return;
517
517
  }
518
- if (!Array.isArray(o)) {
518
+ if (!Array.isArray(a)) {
519
519
  console.error(
520
520
  "Provided access services is not an array",
521
- o
521
+ a
522
522
  );
523
523
  return;
524
524
  }
525
525
  e.accessServices = e.accessServices.filter(
526
- (a) => o.some(
527
- (i) => i.id === a.id
526
+ (o) => a.some(
527
+ (i) => i.id === o.id
528
528
  )
529
- ), o.forEach((a) => {
529
+ ), a.forEach((o) => {
530
530
  const i = e.accessServices.findIndex(
531
- (d) => d.id === a.id
531
+ (d) => d.id === o.id
532
532
  );
533
533
  if (i !== -1)
534
534
  e.accessServices[i] = {
535
535
  ...e.accessServices[i],
536
- ...a
536
+ ...o
537
537
  };
538
538
  else {
539
539
  const d = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((f) => f.id)) + 1 : 1;
540
540
  e.accessServices.push({
541
- id: a.id || d,
542
- "dcat:accessURL": a["dcat:accessURL"] || "",
543
- "dct:title": a["dct:title"] || "",
544
- "dct:description": a["dct:description"] || ""
541
+ id: o.id || d,
542
+ "dcat:accessURL": o["dcat:accessURL"] || "",
543
+ "dct:title": o["dct:title"] || "",
544
+ "dct:description": o["dct:description"] || ""
545
545
  });
546
546
  }
547
547
  });
548
548
  }
549
- function Me(t, o) {
550
- const e = s.value.find((a) => a.id === t);
549
+ function Ee(t, a) {
550
+ const e = s.value.find((o) => o.id === t);
551
551
  if (!e) {
552
552
  console.error(`Distribution with ID ${t} not found`);
553
553
  return;
554
554
  }
555
- if (!Array.isArray(o)) {
556
- console.error("Provided items is not an array", o);
555
+ if (!Array.isArray(a)) {
556
+ console.error("Provided items is not an array", a);
557
557
  return;
558
558
  }
559
559
  e.conformsToItems = e.conformsToItems.filter(
560
- (a) => o.some((i) => i.id === a.id)
561
- ), o.forEach((a) => {
560
+ (o) => a.some((i) => i.id === o.id)
561
+ ), a.forEach((o) => {
562
562
  const i = e.conformsToItems.findIndex(
563
- (d) => d.id === a.id
563
+ (d) => d.id === o.id
564
564
  );
565
565
  if (i !== -1)
566
566
  e.conformsToItems[i] = {
567
567
  ...e.conformsToItems[i],
568
- ...a
568
+ ...o
569
569
  };
570
570
  else {
571
571
  const d = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((f) => f.id)) + 1 : 1;
572
572
  e.conformsToItems.push({
573
- id: a.id || d,
574
- "dcat:accessURL": a["dcat:accessURL"] || "",
575
- "dct:title": a["dct:title"] || ""
573
+ id: o.id || d,
574
+ "dcat:accessURL": o["dcat:accessURL"] || "",
575
+ "dct:title": o["dct:title"] || ""
576
576
  });
577
577
  }
578
578
  });
579
579
  }
580
- function ze(t, o) {
581
- const e = s.value.find((a) => a.id === t);
580
+ function Me(t, a) {
581
+ const e = s.value.find((o) => o.id === t);
582
582
  if (!e) {
583
583
  console.error(`Distribution with ID ${t} not found`);
584
584
  return;
585
585
  }
586
- if (!Array.isArray(o)) {
587
- console.error("Provided items is not an array", o);
586
+ if (!Array.isArray(a)) {
587
+ console.error("Provided items is not an array", a);
588
588
  return;
589
589
  }
590
590
  e.policyItems = e.policyItems.filter(
591
- (a) => o.some((i) => i.id === a.id)
592
- ), o.forEach((a) => {
591
+ (o) => a.some((i) => i.id === o.id)
592
+ ), a.forEach((o) => {
593
593
  const i = e.policyItems.findIndex(
594
- (d) => d.id === a.id
594
+ (d) => d.id === o.id
595
595
  );
596
596
  if (i !== -1)
597
597
  e.policyItems[i] = {
598
598
  ...e.policyItems[i],
599
- ...a
599
+ ...o
600
600
  };
601
601
  else {
602
602
  const d = e.policyItems.length > 0 ? Math.max(...e.policyItems.map((f) => f.id)) + 1 : 1;
603
603
  e.policyItems.push({
604
- id: a.id || d,
605
- "dcat:accessURL": a["dcat:accessURL"] || ""
604
+ id: o.id || d,
605
+ "dcat:accessURL": o["dcat:accessURL"] || ""
606
606
  });
607
607
  }
608
608
  });
609
609
  }
610
- function Ne(t) {
610
+ function ze(t) {
611
611
  if (t === "deleteDataset" && y.value !== null) {
612
612
  if (s.value.length === 1) {
613
613
  F.value = !0;
614
614
  return;
615
615
  }
616
616
  s.value = s.value.filter(
617
- (o) => o.id !== y.value
617
+ (a) => a.id !== y.value
618
618
  ), F.value = !1, y.value = null, B();
619
619
  }
620
620
  }
621
- function Pe(t) {
622
- const o = JSON.parse(t), e = s.value.find(
623
- (a) => a.id === o.distributionId
621
+ function Ne(t) {
622
+ const a = JSON.parse(t), e = s.value.find(
623
+ (o) => o.id === a.distributionId
624
624
  );
625
- if (o.isArray) {
626
- e[o.optType] = [];
625
+ if (a.isArray) {
626
+ e[a.optType] = [];
627
627
  return;
628
628
  }
629
- o.useUndefined ? e[o.optType] = void 0 : e[o.optType] = "";
629
+ a.useUndefined ? e[a.optType] = void 0 : e[a.optType] = "";
630
630
  }
631
- function Oe(t) {
631
+ function Pe(t) {
632
632
  y.value = t;
633
- const o = s.value.find((e) => e.id === t);
634
- o && (n.value = {
633
+ const a = s.value.find((e) => e.id === t);
634
+ a && (n.value = {
635
635
  button: "",
636
636
  header: "Optionale Informationen hinzufügen",
637
637
  text: "",
@@ -639,32 +639,32 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
639
639
  showButtons: !1,
640
640
  optionalInfoView: !0,
641
641
  distributionId: t,
642
- documentations: o.documentations || [],
643
- accessServices: o.accessServices || [],
644
- dctModified: o["dct:modified"] || "",
645
- dctIssued: o["dct:issued"] || "",
646
- dctDescription: o["dct:description"] || "",
647
- nameTextByClauses: o["dcatde:licenseAttributionByText"] || "",
648
- accessRightsText: o["dct:accessRights"] || "",
649
- availabilityText: o["dcatap:availability"].label || "",
650
- languageText: o["dct:language"].label || "",
651
- byteSizeText: o["dcat:byteSize"] || "",
652
- mediaTypeText: o["dcat:mediaType"].label || "",
653
- compressFormatText: o["dcat:compressFormat"].label || "",
654
- packageFormatText: o["dcat:packageFormat"].label || "",
655
- statusText: o["adms:status"] || "",
656
- checksumText: o.checksum.title || "",
657
- checksumURI: o.checksum.uri || "",
658
- checksumDropdownText: o.checksum["spdx:checksum"] || "",
659
- changeLicenseText: o.changeLicense.title || "",
660
- changeLicenseDropdownText: o.changeLicense["dcterms:license"] || "",
661
- conformsToItems: o.conformsToItems || [],
662
- policyItems: o.policyItems || []
663
- }, w.value = !0);
642
+ documentations: a.documentations || [],
643
+ accessServices: a.accessServices || [],
644
+ dctModified: a["dct:modified"] || "",
645
+ dctIssued: a["dct:issued"] || "",
646
+ dctDescription: a["dct:description"] || "",
647
+ nameTextByClauses: a["dcatde:licenseAttributionByText"] || "",
648
+ accessRightsText: a["dct:accessRights"] || "",
649
+ availabilityText: a["dcatap:availability"].label || "",
650
+ languageText: a["dct:language"].label || "",
651
+ byteSizeText: a["dcat:byteSize"] || "",
652
+ mediaTypeText: a["dcat:mediaType"].label || "",
653
+ compressFormatText: a["dcat:compressFormat"].label || "",
654
+ packageFormatText: a["dcat:packageFormat"].label || "",
655
+ statusText: a["adms:status"] || "",
656
+ checksumText: a.checksum.title || "",
657
+ checksumURI: a.checksum.uri || "",
658
+ checksumDropdownText: a.checksum["spdx:checksum"] || "",
659
+ changeLicenseText: a.changeLicense.title || "",
660
+ changeLicenseDropdownText: a.changeLicense["dcterms:license"] || "",
661
+ conformsToItems: a.conformsToItems || [],
662
+ policyItems: a.policyItems || []
663
+ }, I.value = !0);
664
664
  }
665
- function je(t) {
665
+ function Oe(t) {
666
666
  y.value = t;
667
- const o = s.value.find((d) => d.id === t), e = o ? o["dct:title"] : "", a = o ? o["dct:format"].label : "", i = o ? o["dcat:accessURL"] : "";
667
+ const a = s.value.find((d) => d.id === t), e = a ? a["dct:title"] : "", o = a ? a["dct:format"].label : "", i = a ? a["dcat:accessURL"] : "";
668
668
  n.value = {
669
669
  button: "Löschen",
670
670
  header: k(
@@ -675,83 +675,83 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
675
675
  ),
676
676
  action: "deleteDataset",
677
677
  title: e,
678
- format: a,
678
+ format: o,
679
679
  distributionLink: i
680
- }, w.value = !0;
680
+ }, I.value = !0;
681
681
  }
682
- function v(t, o, e, a, i) {
682
+ function v(t, a, e, o, i) {
683
683
  const f = JSON.stringify({
684
684
  distributionId: t,
685
685
  optType: e,
686
- useUndefined: a,
686
+ useUndefined: o,
687
687
  isArray: i
688
688
  });
689
- _.value = {
689
+ T.value = {
690
690
  button: "Löschen",
691
- header: `${o} löschen`,
692
- text: `Sind Sie sicher, dass Sie das optionale Feld ${o} löschen wollen?`,
691
+ header: `${a} löschen`,
692
+ text: `Sind Sie sicher, dass Sie das optionale Feld ${a} löschen wollen?`,
693
693
  action: f
694
694
  }, L.value = !0;
695
695
  }
696
- function N(t, o, e) {
696
+ function N(t, a, e) {
697
697
  var i, d, f, x;
698
- const a = s.value.find((h) => h.id === e);
699
- if (a) {
700
- if (o === "dcat:downloadURL") {
698
+ const o = s.value.find((h) => h.id === e);
699
+ if (o) {
700
+ if (a === "dcat:downloadURL") {
701
701
  const h = (i = t == null ? void 0 : t.target) == null ? void 0 : i.value;
702
- a[o] = h, h && !M(h) ? (a.showErrorDownloadURL = !0, a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein") : (a.showErrorDownloadURL = h.trim() === "", a.urlErrorMessage = "");
703
- } else if (o === "dct:format") {
702
+ o[a] = h, h && !M(h) ? (o.showErrorDownloadURL = !0, o.urlErrorMessage = "Bitte geben Sie eine gültige URL ein") : (o.showErrorDownloadURL = h.trim() === "", o.urlErrorMessage = "");
703
+ } else if (a === "dct:format") {
704
704
  const h = typeof t == "string" ? t.trim() : (f = (d = t == null ? void 0 : t.target) == null ? void 0 : d.value) == null ? void 0 : f.trim();
705
- if (a[o] = h, a.showErrorFormat = !1, a.formatErrorMessage = "", h === "")
705
+ if (o[a] = h, o.showErrorFormat = !1, o.formatErrorMessage = "", h === "")
706
706
  S.value = [...g.value];
707
707
  else {
708
708
  const ue = g.value.find(
709
709
  (P) => P["@value"].toLowerCase() === h.toLowerCase()
710
710
  );
711
- ue ? (a[o] = ue["@value"], a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, a.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), S.value = g.value.filter(
711
+ ue ? (o[a] = ue["@value"], o.showErrorFormat = !1, o.formatErrorMessage = "") : (o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), S.value = g.value.filter(
712
712
  (P) => P["@value"].toLowerCase().includes(h.toLowerCase())
713
713
  );
714
714
  }
715
- E(a, o);
715
+ E(o, a);
716
716
  } else
717
- a[o] = (x = t == null ? void 0 : t.target) == null ? void 0 : x.value;
718
- o !== "dct:format" && E(a, o), console.log(s.value), b.context.node.input(s.value);
717
+ o[a] = (x = t == null ? void 0 : t.target) == null ? void 0 : x.value;
718
+ a !== "dct:format" && E(o, a), console.log(s.value), b.context.node.input(s.value);
719
719
  }
720
720
  }
721
- function Je(t, o) {
722
- const e = s.value.find((a) => a.id === t);
721
+ function je(t, a) {
722
+ const e = s.value.find((o) => o.id === t);
723
723
  e.documentations = e.documentations.filter(
724
- (a) => o.some((i) => i.id === a.id)
724
+ (o) => a.some((i) => i.id === o.id)
725
725
  );
726
726
  }
727
- function We(t, o) {
728
- const e = s.value.find((a) => a.id === t);
727
+ function Je(t, a) {
728
+ const e = s.value.find((o) => o.id === t);
729
729
  e.accessServices = e.accessServices.filter(
730
- (a) => o.some((i) => i.id === a.id)
730
+ (o) => a.some((i) => i.id === o.id)
731
731
  );
732
732
  }
733
- function He(t, o) {
734
- const e = s.value.find((a) => a.id === t);
733
+ function We(t, a) {
734
+ const e = s.value.find((o) => o.id === t);
735
735
  e.conformsToItems = e.conformsToItems.filter(
736
- (a) => o.some((i) => i.id === a.id)
736
+ (o) => a.some((i) => i.id === o.id)
737
737
  );
738
738
  }
739
- function Ge(t, o) {
740
- const e = s.value.find((a) => a.id === t);
739
+ function He(t, a) {
740
+ const e = s.value.find((o) => o.id === t);
741
741
  e.policyItems = e.policyItems.filter(
742
- (a) => o.some((i) => i.id === a.id)
742
+ (o) => a.some((i) => i.id === o.id)
743
743
  );
744
744
  }
745
- return (t, o) => (c(), r(me, null, [
746
- m("div", $t, [
747
- T.inRap ? u("", !0) : (c(), r("h4", St, I(t.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
748
- T.inRap ? u("", !0) : (c(), r("div", Rt, I(t.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
749
- (c(!0), r(me, null, Ye(s.value, (e) => (c(), r("div", {
745
+ return (t, a) => (c(), r(me, null, [
746
+ m("div", Lt, [
747
+ w.inRap ? u("", !0) : (c(), r("h4", $t, V(t.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
748
+ w.inRap ? u("", !0) : (c(), r("div", St, V(t.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
749
+ (c(!0), r(me, null, Xe(s.value, (e) => (c(), r("div", {
750
750
  key: e.id,
751
751
  class: "dpiV3AutoCompleteWrap"
752
752
  }, [
753
- m("div", Ft, [
754
- l(he, {
753
+ m("div", Rt, [
754
+ l(ve, {
755
755
  "add-on-text": !1,
756
756
  "date-picker": !1,
757
757
  "info-icon": !0,
@@ -769,12 +769,12 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
769
769
  "show-end-icon": !1,
770
770
  "show-error": e.showErrorDownloadURL,
771
771
  "model-value": e["dcat:accessURL"],
772
- onInput: (a) => N(a, "dcat:accessURL", e.id)
772
+ onInput: (o) => N(o, "dcat:accessURL", e.id)
773
773
  }, null, 8, ["placeholder", "label", "show-error", "model-value", "onInput"]),
774
- e.showErrorDownloadURL && e.urlErrorMessage ? (c(), r("div", Ut, I(e.urlErrorMessage), 1)) : u("", !0),
775
- l(mt, {
774
+ e.showErrorDownloadURL && e.urlErrorMessage ? (c(), r("div", Ft, V(e.urlErrorMessage), 1)) : u("", !0),
775
+ l(ut, {
776
776
  modelValue: e["dct:format"].label,
777
- "onUpdate:modelValue": [(a) => e["dct:format"].label = a, (a) => be(a, e.id)],
777
+ "onUpdate:modelValue": [(o) => e["dct:format"].label = o, (o) => xe(o, e.id)],
778
778
  "dropdown-width": "large",
779
779
  type: "inputField",
780
780
  "input-field-props": {
@@ -797,12 +797,12 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
797
797
  },
798
798
  data: S.value,
799
799
  autocomplete: !0,
800
- onInput: (a) => N(a, "dct:format", e.id)
800
+ onInput: (o) => N(o, "dct:format", e.id)
801
801
  }, null, 8, ["modelValue", "onUpdate:modelValue", "input-field-props", "data", "onInput"]),
802
- e.showErrorFormat && e.formatErrorMessage ? (c(), r("div", Bt, I(e.formatErrorMessage), 1)) : u("", !0),
803
- l(he, {
802
+ e.showErrorFormat && e.formatErrorMessage ? (c(), r("div", Ut, V(e.formatErrorMessage), 1)) : u("", !0),
803
+ l(ve, {
804
804
  modelValue: e["dct:title"],
805
- "onUpdate:modelValue": (a) => e["dct:title"] = a,
805
+ "onUpdate:modelValue": (o) => e["dct:title"] = o,
806
806
  "add-on-text": !1,
807
807
  "date-picker": !1,
808
808
  "info-icon": !1,
@@ -816,123 +816,123 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
816
816
  "message.dataupload.datasets.dcat:distribution.distribution-title.label"
817
817
  ),
818
818
  "show-end-icon": !1,
819
- onInput: (a) => N(a, "dct:title", e.id)
819
+ onInput: (o) => N(o, "dct:title", e.id)
820
820
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
821
- (e.documentations || []).length > 0 ? (c(), r("div", Et, [
822
- m("div", Mt, [
823
- o[7] || (o[7] = m("div", null, "Dokumentation (optional)", -1)),
821
+ (e.documentations || []).length > 0 ? (c(), r("div", Bt, [
822
+ m("div", Et, [
823
+ a[7] || (a[7] = m("div", null, "Dokumentation (optional)", -1)),
824
824
  m("div", null, [
825
- l(A, {
825
+ l(C, {
826
826
  "button-text": "löschen",
827
- onClick: (a) => Ve(e.id)
827
+ onClick: (o) => Ie(e.id)
828
828
  }, null, 8, ["onClick"])
829
829
  ])
830
830
  ]),
831
- m("div", zt, [
832
- m("div", Nt, [
833
- l(_t, {
831
+ m("div", Mt, [
832
+ m("div", zt, [
833
+ l(Dt, {
834
834
  documentations: e.documentations,
835
835
  "file-types": g.value,
836
836
  "distribution-id": e.id,
837
837
  "as-card": !0,
838
838
  "show-delete-button": !0,
839
- onUpdate: (a) => Je(e.id, a)
839
+ onUpdate: (o) => je(e.id, o)
840
840
  }, null, 8, ["documentations", "file-types", "distribution-id", "onUpdate"])
841
841
  ])
842
842
  ])
843
843
  ])) : u("", !0),
844
- (e.accessServices || []).length > 0 ? (c(), r("div", Pt, [
845
- m("div", Ot, [
846
- o[8] || (o[8] = m("div", null, "Ausliefernder Datenservice (optional)", -1)),
844
+ (e.accessServices || []).length > 0 ? (c(), r("div", Nt, [
845
+ m("div", Pt, [
846
+ a[8] || (a[8] = m("div", null, "Ausliefernder Datenservice (optional)", -1)),
847
847
  m("div", null, [
848
- l(A, {
848
+ l(C, {
849
849
  "button-text": "löschen",
850
- onClick: (a) => Ae(e.id)
850
+ onClick: (o) => Ve(e.id)
851
851
  }, null, 8, ["onClick"])
852
852
  ])
853
853
  ]),
854
- m("div", jt, [
855
- m("div", Jt, [
856
- l(ht, {
854
+ m("div", Ot, [
855
+ m("div", jt, [
856
+ l(vt, {
857
857
  "access-services": e.accessServices,
858
858
  "distribution-id": e.id,
859
859
  "as-card": !0,
860
860
  "show-delete-button": !0,
861
- onUpdate: (a) => We(
861
+ onUpdate: (o) => Je(
862
862
  e.id,
863
- a
863
+ o
864
864
  )
865
865
  }, null, 8, ["access-services", "distribution-id", "onUpdate"])
866
866
  ])
867
867
  ])
868
868
  ])) : u("", !0),
869
- e["dct:modified"] && e["dct:modified"].trim() !== "" ? (c(), r("div", Wt, [
870
- l(Vt, {
869
+ e["dct:modified"] && e["dct:modified"].trim() !== "" ? (c(), r("div", Jt, [
870
+ l(It, {
871
871
  "show-delete-button": !0,
872
872
  "distribution-id": e.id,
873
873
  "model-value": e["dct:modified"],
874
874
  onAddModifiedDate: X,
875
- onDeleteButtonClicked: (a) => Ce(e.id)
875
+ onDeleteButtonClicked: (o) => Ae(e.id)
876
876
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
877
877
  ])) : u("", !0),
878
- e["dct:issued"] && e["dct:issued"].trim() !== "" ? (c(), r("div", Ht, [
879
- l(Tt, {
878
+ e["dct:issued"] && e["dct:issued"].trim() !== "" ? (c(), r("div", Wt, [
879
+ l(_t, {
880
880
  "show-delete-button": !0,
881
881
  "distribution-id": e.id,
882
882
  "model-value": e["dct:issued"],
883
883
  onAddIssuedDate: Y,
884
- onDeleteButtonClicked: (a) => Le(e.id)
884
+ onDeleteButtonClicked: (o) => Ce(e.id)
885
885
  }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
886
886
  ])) : u("", !0),
887
- et(m("div", Gt, [
888
- l(Dt, {
887
+ Ye(m("div", Ht, [
888
+ l(kt, {
889
889
  "distribution-id": e.id,
890
890
  "description-text": e["dct:description"],
891
891
  "show-delete-button": !0,
892
892
  onAddDescription: ee,
893
- onDeleteDescription: (a) => $e(e.id)
893
+ onDeleteDescription: (o) => Le(e.id)
894
894
  }, null, 8, ["distribution-id", "description-text", "onDeleteDescription"])
895
895
  ], 512), [
896
- [tt, e["dct:description"] !== void 0]
896
+ [et, e["dct:description"] !== void 0]
897
897
  ]),
898
- e["dcatde:licenseAttributionByText"] !== void 0 ? (c(), r("div", Kt, [
899
- l(It, {
898
+ e["dcatde:licenseAttributionByText"] !== void 0 ? (c(), r("div", Gt, [
899
+ l(wt, {
900
900
  "show-delete-button": !0,
901
901
  "distribution-id": e.id,
902
902
  "name-text-by-clauses": e["dcatde:licenseAttributionByText"],
903
903
  onAddLicenseAttrByText: te,
904
- onDeleteButtonClicked: (a) => Se(e.id)
904
+ onDeleteButtonClicked: (o) => $e(e.id)
905
905
  }, null, 8, ["distribution-id", "name-text-by-clauses", "onDeleteButtonClicked"])
906
906
  ])) : u("", !0),
907
- e["dct:accessRights"] && e["dct:accessRights"].trim() !== "" ? (c(), r("div", Zt, [
908
- l(vt, {
907
+ e["dct:accessRights"] && e["dct:accessRights"].trim() !== "" ? (c(), r("div", Kt, [
908
+ l(pt, {
909
909
  "show-delete-button": !0,
910
910
  "distribution-id": e.id,
911
911
  "access-rights-prop": e["dct:accessRights"],
912
- onAddAccessRights: oe,
913
- onDeleteButtonClicked: (a) => Re(e.id)
912
+ onAddAccessRights: ae,
913
+ onDeleteButtonClicked: (o) => Se(e.id)
914
914
  }, null, 8, ["distribution-id", "access-rights-prop", "onDeleteButtonClicked"])
915
915
  ])) : u("", !0),
916
- e["dcatap:availability"].label && e["dcatap:availability"].label.trim() !== "" ? (c(), r("div", qt, [
917
- l(gt, {
916
+ e["dcatap:availability"].label && e["dcatap:availability"].label.trim() !== "" ? (c(), r("div", Zt, [
917
+ l(ht, {
918
918
  "availability-text": e["dcatap:availability"].label,
919
919
  "distribution-id": e.id,
920
920
  "show-delete-button": !0,
921
- onAddAvailability: ae,
922
- onDeleteButtonClicked: (a) => De(e.id)
921
+ onAddAvailability: oe,
922
+ onDeleteButtonClicked: (o) => ke(e.id)
923
923
  }, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
924
924
  ])) : u("", !0),
925
- e["adms:status"] && e["adms:status"].trim() !== "" ? (c(), r("div", Qt, [
926
- l(Ct, {
925
+ e["adms:status"] && e["adms:status"].trim() !== "" ? (c(), r("div", qt, [
926
+ l(At, {
927
927
  "status-text": e["adms:status"],
928
928
  "distribution-id": e.id,
929
929
  "show-delete-button": !0,
930
930
  onAddStatus: ie,
931
- onDeleteButtonClicked: (a) => _e(e.id)
931
+ onDeleteButtonClicked: (o) => De(e.id)
932
932
  }, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
933
933
  ])) : u("", !0),
934
- K.value ? (c(), r("div", Xt, [
935
- l(bt, {
934
+ K.value ? (c(), r("div", Qt, [
935
+ l(xt, {
936
936
  "checksum-text": e.checksum.title,
937
937
  "checksum-dropdown-text": e.checksum["spdx:checksum"],
938
938
  "distribution-id": e.id,
@@ -941,8 +941,8 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
941
941
  onAddChecksum: se
942
942
  }, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "checksum-u-r-i"])
943
943
  ])) : u("", !0),
944
- Z.value ? (c(), r("div", Yt, [
945
- l(xt, {
944
+ Z.value ? (c(), r("div", Xt, [
945
+ l(yt, {
946
946
  "change-license-text": e.changeLicense.title,
947
947
  "change-license-dropdown-text": e.changeLicense["dcterms:license"],
948
948
  "distribution-id": e.id,
@@ -951,60 +951,60 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
951
951
  onAddChangeLicense: ne
952
952
  }, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
953
953
  ])) : u("", !0),
954
- e.conformsToItems && e.conformsToItems.length > 0 ? (c(), r("div", eo, [
955
- m("div", to, [
956
- o[9] || (o[9] = m("div", null, "Konform zu Standard (optional)", -1)),
954
+ e.conformsToItems && e.conformsToItems.length > 0 ? (c(), r("div", Yt, [
955
+ m("div", ea, [
956
+ a[9] || (a[9] = m("div", null, "Konform zu Standard (optional)", -1)),
957
957
  m("div", null, [
958
- l(A, {
958
+ l(C, {
959
959
  "button-text": "löschen",
960
- onClick: (a) => ke(e.id)
960
+ onClick: (o) => be(e.id)
961
961
  }, null, 8, ["onClick"])
962
962
  ])
963
963
  ]),
964
- l(kt, {
964
+ l(bt, {
965
965
  "conforms-to-items": e.conformsToItems,
966
966
  "distribution-id": e.id,
967
967
  "as-card": !0,
968
968
  "show-delete-button": !0,
969
- onUpdate: (a) => He(e.id, a)
969
+ onUpdate: (o) => We(e.id, o)
970
970
  }, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
971
971
  ])) : u("", !0),
972
- e.policyItems && e.policyItems.length > 0 ? (c(), r("div", oo, [
973
- m("div", ao, [
974
- o[10] || (o[10] = m("div", null, "Regelwerk (optional)", -1)),
972
+ e.policyItems && e.policyItems.length > 0 ? (c(), r("div", ta, [
973
+ m("div", aa, [
974
+ a[10] || (a[10] = m("div", null, "Regelwerk (optional)", -1)),
975
975
  m("div", null, [
976
- l(A, {
976
+ l(C, {
977
977
  "button-text": "löschen",
978
- onClick: (a) => Ie(e.id)
978
+ onClick: (o) => we(e.id)
979
979
  }, null, 8, ["onClick"])
980
980
  ])
981
981
  ]),
982
- l(At, {
982
+ l(Vt, {
983
983
  "policy-items": e.policyItems,
984
984
  "distribution-id": e.id,
985
985
  "as-card": !0,
986
- onUpdate: (a) => Ge(e.id, a)
986
+ onUpdate: (o) => He(e.id, o)
987
987
  }, null, 8, ["policy-items", "distribution-id", "onUpdate"])
988
988
  ])) : u("", !0),
989
- e["dct:language"].label && e["dct:language"].label.trim() !== "" ? (c(), r("div", io, [
990
- l(wt, {
989
+ e["dct:language"].label && e["dct:language"].label.trim() !== "" ? (c(), r("div", oa, [
990
+ l(Tt, {
991
991
  "language-text": e["dct:language"].label,
992
992
  "distribution-id": e.id,
993
993
  "show-delete-button": !0,
994
994
  onAddLanguage: de,
995
- onDeleteButtonClicked: (a) => we(e.id)
995
+ onDeleteButtonClicked: (o) => Te(e.id)
996
996
  }, null, 8, ["language-text", "distribution-id", "onDeleteButtonClicked"])
997
997
  ])) : u("", !0),
998
- e["dcat:byteSize"] !== void 0 ? (c(), r("div", so, [
999
- l(yt, {
998
+ e["dcat:byteSize"] !== void 0 ? (c(), r("div", ia, [
999
+ l(gt, {
1000
1000
  "byte-size-prop": e["dcat:byteSize"],
1001
1001
  "distribution-id": e.id,
1002
1002
  "show-delete-button": !0,
1003
1003
  onAddByteSize: le,
1004
- onDeleteButtonClicked: (a) => Te(e.id)
1004
+ onDeleteButtonClicked: (o) => _e(e.id)
1005
1005
  }, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
1006
1006
  ])) : u("", !0),
1007
- e["dcat:mediaType"] && e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (c(), r("div", no, [
1007
+ e["dcat:mediaType"] && e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (c(), r("div", sa, [
1008
1008
  l(j, {
1009
1009
  "distribution-id": e.id,
1010
1010
  "file-types": g.value,
@@ -1012,10 +1012,10 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1012
1012
  "file-format-text": e["dcat:mediaType"].label,
1013
1013
  "show-delete-button": !0,
1014
1014
  onAddMediaType: D,
1015
- onDeleteButtonClicked: o[0] || (o[0] = (a) => z("dcat:mediaType", y.value))
1015
+ onDeleteButtonClicked: a[0] || (a[0] = (o) => z("dcat:mediaType", y.value))
1016
1016
  }, null, 8, ["distribution-id", "file-types", "file-format-text"])
1017
1017
  ])) : u("", !0),
1018
- e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (c(), r("div", lo, [
1018
+ e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (c(), r("div", na, [
1019
1019
  l(j, {
1020
1020
  "distribution-id": e.id,
1021
1021
  "file-types": g.value,
@@ -1023,10 +1023,10 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1023
1023
  "compress-format-text": e["dcat:compressFormat"].label,
1024
1024
  "show-delete-button": !0,
1025
1025
  onAddCompressFormat: D,
1026
- onDeleteButtonClicked: o[1] || (o[1] = (a) => z("dcat:compressFormat", y.value))
1026
+ onDeleteButtonClicked: a[1] || (a[1] = (o) => z("dcat:compressFormat", y.value))
1027
1027
  }, null, 8, ["distribution-id", "file-types", "compress-format-text"])
1028
1028
  ])) : u("", !0),
1029
- e["dcat:packageFormat"] && e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (c(), r("div", co, [
1029
+ e["dcat:packageFormat"] && e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (c(), r("div", da, [
1030
1030
  l(j, {
1031
1031
  "distribution-id": e.id,
1032
1032
  "file-types": g.value,
@@ -1034,46 +1034,46 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1034
1034
  "package-format-text": e["dcat:packageFormat"].label,
1035
1035
  "show-delete-button": !0,
1036
1036
  onAddPackageFormat: D,
1037
- onDeleteButtonClicked: o[2] || (o[2] = (a) => z("dcat:packageFormat", y.value))
1037
+ onDeleteButtonClicked: a[2] || (a[2] = (o) => z("dcat:packageFormat", y.value))
1038
1038
  }, null, 8, ["distribution-id", "file-types", "package-format-text"])
1039
1039
  ])) : u("", !0),
1040
- F.value && s.value.length === 1 ? (c(), r("p", ro, " Mindestens ein Link muss vorhanden sein. ")) : u("", !0)
1040
+ F.value && s.value.length === 1 ? (c(), r("p", la, " Mindestens ein Link muss vorhanden sein. ")) : u("", !0)
1041
1041
  ]),
1042
- m("div", uo, [
1042
+ m("div", ca, [
1043
1043
  l(O, {
1044
1044
  "button-text": t.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
1045
1045
  size: "small",
1046
1046
  "icon-start": "PlusSquare",
1047
1047
  variant: "tertiary",
1048
- onClick: (a) => Oe(e.id)
1048
+ onClick: (o) => Pe(e.id)
1049
1049
  }, null, 8, ["button-text", "onClick"]),
1050
1050
  l(O, {
1051
1051
  "button-text": t.$t("message.dataupload.datasets.dcat:distribution.delete"),
1052
1052
  size: "small",
1053
1053
  "icon-start": "trash",
1054
1054
  variant: "tertiary",
1055
- onClick: (a) => je(e.id)
1055
+ onClick: (o) => Oe(e.id)
1056
1056
  }, null, 8, ["button-text", "onClick"])
1057
1057
  ])
1058
1058
  ]))), 128)),
1059
- m("div", mo, [
1059
+ m("div", ra, [
1060
1060
  l(O, {
1061
1061
  "button-text": t.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
1062
1062
  size: "large",
1063
1063
  "icon-start": "plus",
1064
1064
  variant: "tertiary",
1065
- onClick: Ue
1065
+ onClick: Fe
1066
1066
  }, null, 8, ["button-text"])
1067
1067
  ]),
1068
- U.value ? (c(), r("div", fo, [
1069
- l(ot(at), {
1068
+ U.value ? (c(), r("div", ua, [
1069
+ l(tt(at), {
1070
1070
  size: 16,
1071
1071
  weight: "fill"
1072
1072
  }),
1073
- o[11] || (o[11] = m("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1073
+ a[11] || (a[11] = m("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1074
1074
  ])) : u("", !0)
1075
1075
  ]),
1076
- w.value ? (c(), fe(pt, {
1076
+ I.value ? (c(), fe(ft, {
1077
1077
  key: 0,
1078
1078
  "file-types": g.value,
1079
1079
  buttons: n.value.button,
@@ -1088,7 +1088,7 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1088
1088
  format: n.value.format,
1089
1089
  "distribution-link": n.value.distributionLink,
1090
1090
  sections: W.value,
1091
- context: T.context,
1091
+ context: w.context,
1092
1092
  "distribution-id": n.value.distributionId,
1093
1093
  "modified-date": n.value.dctModified || "",
1094
1094
  "issued-date": n.value.dctIssued || "",
@@ -1109,16 +1109,16 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1109
1109
  "change-license-dropdown-text": n.value.changeLicenseDropdownText || "",
1110
1110
  "conforms-to-items": n.value.conformsToItems,
1111
1111
  "policy-items": n.value.policyItems,
1112
- onClose: o[3] || (o[3] = (e) => w.value = !1),
1113
- onActionHandling: o[4] || (o[4] = (e) => Ne(e)),
1114
- onAddDocumentations: Be,
1115
- onAddAccessServices: Ee,
1112
+ onClose: a[3] || (a[3] = (e) => I.value = !1),
1113
+ onActionHandling: a[4] || (a[4] = (e) => ze(e)),
1114
+ onAddDocumentations: Ue,
1115
+ onAddAccessServices: Be,
1116
1116
  onAddModifiedDate: X,
1117
1117
  onAddIssuedDate: Y,
1118
1118
  onAddDescription: ee,
1119
1119
  onAddLicenseAttrByText: te,
1120
- onAddAccessRights: oe,
1121
- onAddAvailability: ae,
1120
+ onAddAccessRights: ae,
1121
+ onAddAvailability: oe,
1122
1122
  onAddLanguage: de,
1123
1123
  onAddByteSize: le,
1124
1124
  onAddMediaType: D,
@@ -1127,21 +1127,21 @@ const $t = { class: "dpiV3InnerComponentWrap" }, St = { key: 0 }, Rt = {
1127
1127
  onAddStatus: ie,
1128
1128
  onAddChecksum: se,
1129
1129
  onAddChangeLicense: ne,
1130
- onAddConformsToItems: Me,
1131
- onAddPolicyItems: ze
1130
+ onAddConformsToItems: Ee,
1131
+ onAddPolicyItems: Me
1132
1132
  }, null, 8, ["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", "name-text-by-clauses", "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"])) : u("", !0),
1133
- L.value ? (c(), fe(ft, {
1133
+ L.value ? (c(), fe(mt, {
1134
1134
  key: 1,
1135
- buttons: _.value.button,
1136
- "header-text": _.value.header,
1137
- text: _.value.text,
1138
- action: _.value.action,
1139
- onClose: o[5] || (o[5] = (e) => L.value = !1),
1140
- onActionHandling: o[6] || (o[6] = (e) => Pe(e))
1135
+ buttons: T.value.button,
1136
+ "header-text": T.value.header,
1137
+ text: T.value.text,
1138
+ action: T.value.action,
1139
+ onClose: a[5] || (a[5] = (e) => L.value = !1),
1140
+ onActionHandling: a[6] || (a[6] = (e) => Ne(e))
1141
1141
  }, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0)
1142
1142
  ], 64));
1143
1143
  }
1144
- }, Zo = /* @__PURE__ */ Lt(po, [["__scopeId", "data-v-935b8d99"]]);
1144
+ }, Ga = /* @__PURE__ */ Ct(ma, [["__scopeId", "data-v-7a842d4b"]]);
1145
1145
  export {
1146
- Zo as default
1146
+ Ga as default
1147
1147
  };