@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.48

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 (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +59 -55
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +55 -50
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +92 -91
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +49 -48
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
  34. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +49 -49
  35. package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
  36. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
  37. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
  38. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
  39. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
  40. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
  41. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
  42. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
  43. package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
  44. package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
  45. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +2 -1
  46. package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
  47. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
  48. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
  49. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
  50. package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
  51. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
  52. package/package.json +2 -2
@@ -1,94 +1,94 @@
1
- import { ref as i, watch as Je, onMounted as Ke, getCurrentInstance as Qe, createElementBlock as u, openBlock as o, Fragment as D, createCommentVNode as d, createElementVNode as p, normalizeClass as S, createVNode as y, toDisplayString as h, renderList as Ve, createBlock as g } from "vue";
2
- import Xe from "./TextButtonSmall.vue.js";
3
- import C from "./ButtonV3.vue.js";
1
+ import { ref as i, watch as Ke, onMounted as Qe, getCurrentInstance as Xe, createElementBlock as c, openBlock as o, Fragment as D, createCommentVNode as l, createElementVNode as u, normalizeClass as S, createVNode as y, toDisplayString as h, renderList as _e, createBlock as k } from "vue";
2
+ import Ye from "./TextButtonSmall.vue.js";
3
+ import L from "./ButtonV3.vue.js";
4
4
  import ne from "./CrossOutButton.vue.js";
5
- import Ye from "./CloseOpenButtonV3.vue.js";
6
- import { getPlannedAvailability as et, getLanguages as tt } from "../services/dpiV3_apis.js";
7
- import at from "./OptionalInformation/DocumentationsV3.vue.js";
8
- import it from "./OptionalInformation/ModifiedDateV3.vue.js";
9
- import st from "./OptionalInformation/DescriptionV3.vue.js";
10
- import ot from "./OptionalInformation/AvailabilityV3.vue.js";
11
- import lt from "./OptionalInformation/ByteSizeV3.vue.js";
12
- import dt from "./OptionalInformation/IssuedDateV3.vue.js";
5
+ import et from "./CloseOpenButtonV3.vue.js";
6
+ import { getPlannedAvailability as tt, getLanguages as at } from "../services/dpiV3_apis.js";
7
+ import it from "./OptionalInformation/DocumentationsV3.vue.js";
8
+ import st from "./OptionalInformation/ModifiedDateV3.vue.js";
9
+ import ot from "./OptionalInformation/DescriptionV3.vue.js";
10
+ import lt from "./OptionalInformation/AvailabilityV3.vue.js";
11
+ import dt from "./OptionalInformation/ByteSizeV3.vue.js";
12
+ import rt from "./OptionalInformation/IssuedDateV3.vue.js";
13
13
  import nt from "./OptionalInformation/LanguageV3.vue.js";
14
- import re from "./OptionalInformation/FileFormatV3.vue.js";
15
- import rt from "./OptionalInformation/StatusV3.vue.js";
16
- import ut from "./OptionalInformation/ChecksumV3.vue.js";
17
- import ct from "./OptionalInformation/ConformsToV3.vue.js";
18
- import mt from "./OptionalInformation/PolicyV3.vue.js";
19
- import pt from "./OptionalInformation/AccessServiceV3.vue.js";
20
- import ft from "./OptionalInformation/ChangeLicenseV3.vue.js";
14
+ import ct from "./OptionalInformation/AccessRightsV3.vue.js";
15
+ import ce from "./OptionalInformation/FileFormatV3.vue.js";
16
+ import ut from "./OptionalInformation/StatusV3.vue.js";
17
+ import mt from "./OptionalInformation/ChecksumV3.vue.js";
18
+ import pt from "./OptionalInformation/ConformsToV3.vue.js";
19
+ import ft from "./OptionalInformation/PolicyV3.vue.js";
20
+ import vt from "./OptionalInformation/AccessServiceV3.vue.js";
21
+ import yt from "./OptionalInformation/ChangeLicenseV3.vue.js";
21
22
  /* empty css */
22
- const vt = {
23
+ /* empty css */
24
+ import ht from "../../../../../../_virtual/_plugin-vue_export-helper.js";
25
+ const gt = {
23
26
  key: 0,
24
27
  class: "dpiV3_modalBackground"
25
- }, yt = { class: "dpiV3_modalHeaderWrap" }, ht = { class: "dpiV3_modalText" }, kt = {
26
- key: 0,
27
- class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
28
- }, gt = { class: "dpiV3_LinkInfos" }, bt = {
28
+ }, kt = { class: "dpiV3_modalHeaderWrap" }, bt = { class: "dpiV3_modalText" }, Tt = {
29
29
  key: 0,
30
- class: "dpiV3_title"
31
- }, Tt = {
32
- key: 1,
33
- class: "dpiV3_title"
34
- }, Vt = {
30
+ class: "dpiV3AutoCompleteWrapDeleteModal copy-large-semi-bold"
31
+ }, Vt = { class: "dpiV3_LinkInfos" }, _t = ["href"], It = { class: "dpiV3_title" }, xt = ["href"], Dt = { class: "dpiV3_title" }, Lt = {
35
32
  key: 2,
36
33
  class: "dpiV3_File-Format copy-small-regular"
37
- }, It = {
34
+ }, Ct = {
38
35
  key: 0,
39
36
  class: "dpiV3_modalButtonWrap"
40
- }, _t = {
37
+ }, wt = {
41
38
  key: 1,
42
39
  class: "dpiV3_optionalInfoContent"
43
- }, xt = { class: "dpiV3_ListMetaData" }, Dt = { class: "dpiV3_title-description" }, Ct = { class: "dpiV3_group-title" }, Lt = { class: "dpiV3_caret" }, wt = ["onClick"], Ut = {
40
+ }, At = { class: "dpiV3_ListMetaData" }, Ut = { class: "dpiV3_title-description" }, Ft = { class: "dpiV3_group-title" }, St = { class: "dpiV3_caret" }, Rt = ["onClick"], qt = {
44
41
  key: 1,
45
42
  class: "dpiV3_sectionDivider"
46
- }, Ft = {
43
+ }, Bt = {
47
44
  key: 1,
48
45
  class: "dpiV3_modalBackground"
49
- }, At = { class: "dpiV3_modalHeaderWrap" }, St = {
46
+ }, zt = { class: "dpiV3_modalHeaderWrap" }, Mt = {
50
47
  key: 0,
51
48
  class: "dpiV3_modalContent"
52
- }, Rt = {
49
+ }, Pt = {
53
50
  key: 1,
54
51
  class: "dpiV3_modalContent"
55
- }, qt = {
52
+ }, $t = {
56
53
  key: 2,
57
54
  class: "dpiV3_modalContent"
58
- }, Bt = {
55
+ }, Wt = {
59
56
  key: 3,
60
57
  class: "dpiV3_modified"
61
- }, zt = {
58
+ }, Et = {
62
59
  key: 4,
63
60
  class: "dpiV3_modified"
64
- }, Mt = {
61
+ }, Ot = {
65
62
  key: 5,
66
63
  class: "dpiV3_modified"
67
- }, Pt = {
64
+ }, Ht = {
68
65
  key: 6,
69
- class: "dpiV3_DocumentationV3_Wrap"
70
- }, $t = {
66
+ class: "dpiV3_modified"
67
+ }, Nt = {
71
68
  key: 7,
72
69
  class: "dpiV3_DocumentationV3_Wrap"
73
- }, Wt = {
74
- key: 11,
70
+ }, jt = {
71
+ key: 8,
75
72
  class: "dpiV3_DocumentationV3_Wrap"
76
- }, Et = {
73
+ }, Zt = {
77
74
  key: 12,
78
75
  class: "dpiV3_DocumentationV3_Wrap"
79
- }, Ot = { class: "dpiV3_modalButtonWrap" }, Ht = {
76
+ }, Gt = {
77
+ key: 13,
78
+ class: "dpiV3_DocumentationV3_Wrap"
79
+ }, Jt = { class: "dpiV3_modalButtonWrap" }, Kt = {
80
80
  key: 2,
81
81
  class: "dpiV3_modalBackground"
82
- }, Nt = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, jt = { class: "dpiV3_modalHeaderWrap" }, Zt = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, Gt = { class: "dpiV3_LinkInfos" }, Jt = {
82
+ }, Qt = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, Xt = { class: "dpiV3_modalHeaderWrap" }, Yt = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, ea = { class: "dpiV3_LinkInfos" }, ta = {
83
83
  key: 0,
84
84
  class: "dpiV3_title"
85
- }, Kt = {
85
+ }, aa = {
86
86
  key: 1,
87
87
  class: "dpiV3_title"
88
- }, Qt = {
88
+ }, ia = {
89
89
  key: 2,
90
90
  class: "dpiV3_title"
91
- }, Xt = { class: "dpiV3_modalButtonWrap" }, ba = {
91
+ }, sa = { class: "dpiV3_modalButtonWrap" }, oa = {
92
92
  __name: "ModalV3",
93
93
  props: {
94
94
  headerText: { type: String, required: !0 },
@@ -151,180 +151,180 @@ const vt = {
151
151
  setup(f, { emit: Ie }) {
152
152
  const e = f, R = i(null), q = i(null), B = i(null), z = i(null), M = i(null), P = i(null), v = Ie, $ = i(!1), W = i(!1), E = i(!1), O = i(!1), H = i(!1), N = i(!1), j = i(!1);
153
153
  i(!1);
154
- const ue = i(!1), Z = i(!1), G = i(!1), J = i(!1), K = i(!1), Q = i(!1), X = i(!1), Y = i(!1), ee = i(!1), te = i(!1), _ = i([]), n = i({ key: "", text: "" }), _e = i(null), ae = i(!1), L = i(null), ie = i(null);
154
+ const Z = i(!1), G = i(!1), J = i(!1), K = i(!1), Q = i(!1), X = i(!1), Y = i(!1), ee = i(!1), te = i(!1), ae = i(!1), I = i([]), r = i({ key: "", text: "" }), xe = i(null), ie = i(!1), C = i(null), se = i(null);
155
155
  i([...e.fileTypes]);
156
- const xe = i([]), De = i([]);
156
+ const De = i([]), Le = i([]);
157
157
  i(null);
158
- const Ce = i(!1), ce = i(""), me = i(""), pe = i(""), Le = i(""), b = i({}), T = i({}), V = i({}), I = i({}), fe = i(""), ve = i(""), ye = i(""), he = i(0), ke = i(""), ge = i(""), be = i(""), w = i(""), U = i(""), we = i(""), F = i(""), A = i(""), se = i(!0);
158
+ const Ce = i(!1), ue = i(""), me = i(""), pe = i(""), fe = i(""), b = i({}), T = i({}), V = i({}), _ = i({}), ve = i(""), ye = i(""), he = i(""), ge = i(0), ke = i(""), be = i(""), Te = i(""), w = i(""), A = i(""), we = i(""), U = i(""), F = i(""), oe = i(!0);
159
159
  i(!0);
160
- const Ue = (a, t) => {
161
- se.value = !1, n.value = {
160
+ const Ae = (a, t) => {
161
+ oe.value = !1, r.value = {
162
162
  key: e.sections[a].keys[t],
163
163
  text: e.sections[a].items[t]
164
- }, b.value[e.distributionId] || (b.value[e.distributionId] = []), T.value[e.distributionId] || (T.value[e.distributionId] = []), V.value[e.distributionId] || (V.value[e.distributionId] = []), I.value[e.distributionId] || (I.value[e.distributionId] = []);
165
- }, oe = () => {
166
- se.value = !0, n.value = { key: "", text: "" };
167
- }, Fe = () => {
164
+ }, b.value[e.distributionId] || (b.value[e.distributionId] = []), T.value[e.distributionId] || (T.value[e.distributionId] = []), V.value[e.distributionId] || (V.value[e.distributionId] = []), _.value[e.distributionId] || (_.value[e.distributionId] = []);
165
+ }, le = () => {
166
+ oe.value = !0, r.value = { key: "", text: "" };
167
+ }, Ue = () => {
168
168
  const a = (t) => {
169
169
  if (!t || t.trim() === "") return !1;
170
- const r = t.trim();
171
- return /\.[a-zA-Z]{2,}$/.test(r);
170
+ const n = t.trim();
171
+ return /\.[a-zA-Z]{2,}$/.test(n);
172
172
  };
173
173
  if (E.value) {
174
174
  const t = V.value[e.distributionId] || [];
175
- if (t.some((l) => {
176
- const s = l["dct:title"] && l["dct:title"].trim() !== "", m = l["dcat:downloadURL"] ? l["dcat:downloadURL"].trim() : "";
177
- return !!(s && (!m || !a(m)) || m && !a(m));
175
+ if (t.some((d) => {
176
+ const s = d["dct:title"] && d["dct:title"].trim() !== "", p = d["dcat:downloadURL"] ? d["dcat:downloadURL"].trim() : "";
177
+ return !!(s && (!p || !a(p)) || p && !a(p));
178
178
  })) {
179
179
  R.value && R.value.validateAllItems();
180
180
  return;
181
181
  }
182
- const c = t.filter((l) => {
183
- const s = l["dct:title"] && l["dct:title"].trim() !== "", m = l["dcat:downloadURL"] && l["dcat:downloadURL"].trim() !== "" && a(l["dcat:downloadURL"].trim());
184
- return s || m;
182
+ const m = t.filter((d) => {
183
+ const s = d["dct:title"] && d["dct:title"].trim() !== "", p = d["dcat:downloadURL"] && d["dcat:downloadURL"].trim() !== "" && a(d["dcat:downloadURL"].trim());
184
+ return s || p;
185
185
  });
186
- c.length > 0 && v(
186
+ m.length > 0 && v(
187
187
  "addConformsToItems",
188
188
  e.distributionId,
189
- c
189
+ m
190
190
  ), E.value = !1;
191
191
  }
192
192
  if (O.value) {
193
- const t = I.value[e.distributionId] || [];
194
- if (t.some((l) => {
195
- const s = l["dcat:downloadURL"] ? l["dcat:downloadURL"].trim() : "";
193
+ const t = _.value[e.distributionId] || [];
194
+ if (t.some((d) => {
195
+ const s = d["dcat:downloadURL"] ? d["dcat:downloadURL"].trim() : "";
196
196
  return !!(s && !a(s));
197
197
  })) {
198
198
  P.value && P.value.validateAllItems();
199
199
  return;
200
200
  }
201
- const c = t.filter((l) => l["dcat:downloadURL"] && l["dcat:downloadURL"].trim() !== "" && a(l["dcat:downloadURL"].trim()));
202
- c.length > 0 && v("addPolicyItems", e.distributionId, c), O.value = !1;
201
+ const m = t.filter((d) => d["dcat:downloadURL"] && d["dcat:downloadURL"].trim() !== "" && a(d["dcat:downloadURL"].trim()));
202
+ m.length > 0 && v("addPolicyItems", e.distributionId, m), O.value = !1;
203
203
  }
204
204
  if ($.value) {
205
- const t = b.value[e.distributionId] || [], r = (s) => {
206
- const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0);
207
- return m || k || x;
205
+ const t = b.value[e.distributionId] || [], n = (s) => {
206
+ const p = s["dct:title"] && s["dct:title"].trim() !== "", g = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0);
207
+ return p || g || x;
208
208
  };
209
209
  if (t.some((s) => {
210
- const m = s["dcat:accessURL"] ? s["dcat:accessURL"].trim() : "";
211
- return !!(r(s) && (!m || !a(m)) || m && !a(m));
210
+ const p = s["dcat:accessURL"] ? s["dcat:accessURL"].trim() : "";
211
+ return !!(n(s) && (!p || !a(p)) || p && !a(p));
212
212
  })) {
213
213
  q.value && q.value.validateAllItems();
214
214
  return;
215
215
  }
216
- const l = t.filter((s) => {
217
- const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0), Ge = s["dcat:accessURL"] && s["dcat:accessURL"].trim() !== "" && a(s["dcat:accessURL"].trim());
218
- return m || k || x || Ge;
216
+ const d = t.filter((s) => {
217
+ const p = s["dct:title"] && s["dct:title"].trim() !== "", g = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0), Je = s["dcat:accessURL"] && s["dcat:accessURL"].trim() !== "" && a(s["dcat:accessURL"].trim());
218
+ return p || g || x || Je;
219
219
  });
220
- l.length > 0 && v(
220
+ d.length > 0 && v(
221
221
  "addDocumentations",
222
222
  e.distributionId,
223
- l
223
+ d
224
224
  ), $.value = !1;
225
225
  }
226
226
  if (W.value) {
227
- const t = T.value[e.distributionId] || [], r = (s) => {
228
- const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "";
229
- return m || k;
227
+ const t = T.value[e.distributionId] || [], n = (s) => {
228
+ const p = s["dct:title"] && s["dct:title"].trim() !== "", g = s["dct:description"] && s["dct:description"].trim() !== "";
229
+ return p || g;
230
230
  };
231
231
  if (t.some((s) => {
232
- const m = s["dcat:downloadURL"] ? s["dcat:downloadURL"].trim() : "";
233
- return !!(r(s) && (!m || !a(m)) || m && !a(m));
232
+ const p = s["dcat:downloadURL"] ? s["dcat:downloadURL"].trim() : "";
233
+ return !!(n(s) && (!p || !a(p)) || p && !a(p));
234
234
  })) {
235
235
  B.value && B.value.validateAllItems();
236
236
  return;
237
237
  }
238
- const l = t.filter((s) => {
239
- const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dcat:downloadURL"] && s["dcat:downloadURL"].trim() !== "" && a(s["dcat:downloadURL"].trim());
240
- return m || k || x;
238
+ const d = t.filter((s) => {
239
+ const p = s["dct:title"] && s["dct:title"].trim() !== "", g = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dcat:downloadURL"] && s["dcat:downloadURL"].trim() !== "" && a(s["dcat:downloadURL"].trim());
240
+ return p || g || x;
241
241
  });
242
- l.length > 0 && v(
242
+ d.length > 0 && v(
243
243
  "addAccessServices",
244
244
  e.distributionId,
245
- l
245
+ d
246
246
  ), W.value = !1;
247
247
  }
248
- if (H.value && (v("addModifiedDate", ce.value, e.distributionId), H.value = !1), N.value && (v("addIssuedDate", me.value, e.distributionId), N.value = !1), j.value && (v("addDescription", pe.value, e.distributionId), j.value = !1), ue.value && (v("addAccessRights", Le.value, e.distributionId), ue.value = !1), Z.value && (v("addAvailability", fe.value, e.distributionId, e.uri), Z.value = !1), Y.value && (v("addStatus", ve.value, e.distributionId), Y.value = !1), ee.value) {
249
- const t = w.value && w.value.trim() !== "", r = U.value && U.value.trim() !== "";
250
- if ((t || r) && (!t || !r)) {
248
+ if (H.value && (v("addModifiedDate", ue.value, e.distributionId), H.value = !1), N.value && (v("addIssuedDate", me.value, e.distributionId), N.value = !1), j.value && (v("addDescription", pe.value, e.distributionId), j.value = !1), Z.value && (v("addAccessRights", fe.value, e.distributionId, e.uri), Z.value = !1), G.value && (v("addAvailability", ve.value, e.distributionId, e.uri), G.value = !1), ee.value && (v("addStatus", ye.value, e.distributionId), ee.value = !1), te.value) {
249
+ const t = w.value && w.value.trim() !== "", n = A.value && A.value.trim() !== "";
250
+ if ((t || n) && (!t || !n)) {
251
251
  z.value && z.value.validateAllItems();
252
252
  return;
253
253
  }
254
- t && r && v(
254
+ t && n && v(
255
255
  "addChecksum",
256
256
  w.value,
257
- U.value,
257
+ A.value,
258
258
  e.distributionId,
259
259
  we.value
260
- ), ee.value = !1;
260
+ ), te.value = !1;
261
261
  }
262
- if (te.value) {
263
- const t = typeof A.value == "string" ? A.value.trim() : "", r = typeof F.value == "string" ? F.value.trim() : "";
264
- if (t && (t.toLowerCase().includes("cc-by") || t.toLowerCase().includes("cc by")) && !r || // by- license without attribution
265
- r && !t) {
262
+ if (ae.value) {
263
+ const t = typeof F.value == "string" ? F.value.trim() : "", n = typeof U.value == "string" ? U.value.trim() : "";
264
+ if (t && (t.toLowerCase().includes("cc-by") || t.toLowerCase().includes("cc by")) && !n || // by- license without attribution
265
+ n && !t) {
266
266
  M.value && M.value.validate();
267
267
  return;
268
268
  }
269
- (t || r) && v(
269
+ (t || n) && v(
270
270
  "addChangeLicense",
271
+ U.value,
271
272
  F.value,
272
- A.value,
273
273
  e.distributionId
274
- ), te.value = !1;
274
+ ), ae.value = !1;
275
275
  }
276
- G.value && (v("addLanguage", ye.value, e.distributionId, e.uri), G.value = !1), J.value && (v("addByteSize", he.value, e.distributionId), J.value = !1), K.value && (v(
276
+ J.value && (v("addLanguage", he.value, e.distributionId, e.uri), J.value = !1), K.value && (v("addByteSize", ge.value, e.distributionId), K.value = !1), Q.value && (v(
277
277
  "addMediaType",
278
278
  ke.value,
279
279
  "dcat:mediaType",
280
280
  e.distributionId
281
- ), K.value = !1), Q.value && (v(
281
+ ), Q.value = !1), X.value && (v(
282
282
  "addCompressFormat",
283
- ge.value,
283
+ be.value,
284
284
  "dcat:compressFormat",
285
285
  e.distributionId
286
- ), Q.value = !1), X.value && (v(
286
+ ), X.value = !1), Y.value && (v(
287
287
  "addPackageFormat",
288
- be.value,
288
+ Te.value,
289
289
  "dcat:packageFormat",
290
290
  e.distributionId
291
- ), X.value = !1), oe();
291
+ ), Y.value = !1), le();
292
292
  };
293
- Je(
293
+ Ke(
294
294
  () => e.sections,
295
295
  (a) => {
296
- Array.isArray(a) && a.length > 0 && (_.value = a.map((t, r) => r === 0));
296
+ Array.isArray(a) && a.length > 0 && (I.value = a.map((t, n) => n === 0));
297
297
  },
298
298
  { immediate: !0 }
299
299
  );
300
- const Ae = (a) => {
301
- _.value[a] = !_.value[a];
302
- }, le = () => {
300
+ const Fe = (a) => {
301
+ I.value[a] = !I.value[a];
302
+ }, de = () => {
303
303
  v("close");
304
304
  }, Se = () => {
305
- v("actionHandling", e.action), le();
305
+ v("actionHandling", e.action), de();
306
306
  };
307
- Ke(async () => {
308
- b.value[e.distributionId] = e.documentations, T.value[e.distributionId] = e.accessServices, V.value[e.distributionId] = e.conformsToItems, I.value[e.distributionId] = e.policyItems;
309
- const a = Qe(), t = a.appContext.app.config.globalProperties.$env;
307
+ Qe(async () => {
308
+ b.value[e.distributionId] = e.documentations, T.value[e.distributionId] = e.accessServices, V.value[e.distributionId] = e.conformsToItems, _.value[e.distributionId] = e.policyItems;
309
+ const a = Xe(), t = a.appContext.app.config.globalProperties.$env;
310
310
  try {
311
- const c = await et(t.api.baseUrl);
312
- xe.value = c.map((l) => ({
313
- "@value": l.value,
314
- label: l.label
311
+ const m = await tt(t.api.baseUrl);
312
+ De.value = m.map((d) => ({
313
+ "@value": d.value,
314
+ label: d.label
315
315
  }));
316
- } catch (c) {
317
- console.error("Failed to load planned availability data", c);
316
+ } catch (m) {
317
+ console.error("Failed to load planned availability data", m);
318
318
  }
319
- const r = a.appContext.app.config.globalProperties.$i18n.locale;
319
+ const n = a.appContext.app.config.globalProperties.$i18n.locale;
320
320
  try {
321
- const c = await tt(t.api.baseUrl, r);
322
- De.value = c.map((l) => ({
323
- "@value": l.label,
324
- label: l.label
321
+ const m = await at(t.api.baseUrl, n);
322
+ Le.value = m.map((d) => ({
323
+ "@value": d.label,
324
+ label: d.label
325
325
  }));
326
- } catch (c) {
327
- console.error("Failed to load language data", c);
326
+ } catch (m) {
327
+ console.error("Failed to load language data", m);
328
328
  }
329
329
  });
330
330
  const Re = (a, t) => {
@@ -334,301 +334,322 @@ const vt = {
334
334
  }, Be = (a, t) => {
335
335
  V.value[a] = t, E.value = !0;
336
336
  }, ze = (a, t) => {
337
- I.value[a] = t, O.value = !0;
337
+ _.value[a] = t, O.value = !0;
338
338
  }, Me = (a) => {
339
- ce.value = a, H.value = !0;
339
+ ue.value = a, H.value = !0;
340
340
  }, Pe = (a) => {
341
341
  me.value = a, N.value = !0;
342
342
  }, $e = (a) => {
343
343
  pe.value = a, j.value = !0;
344
- }, We = (a) => {
345
- fe.value = a, Z.value = !0;
344
+ }, We = (a, t) => {
345
+ console.log(a, t), fe.value = a, Z.value = !0;
346
346
  }, Ee = (a) => {
347
- ve.value = a, Y.value = !0;
348
- }, Oe = (a, t) => {
349
- console.log(e.checksumURI), ee.value = !0, U.value = t, w.value = a;
350
- }, He = (a, t, r, c) => {
351
- console.log(a, t, r, c), te.value = !0, A.value = t, F.value = a;
352
- }, Ne = (a) => {
353
- ye.value = a, G.value = !0;
354
- }, de = (a, t) => {
347
+ ve.value = a, G.value = !0;
348
+ }, Oe = (a) => {
349
+ ye.value = a, ee.value = !0;
350
+ }, He = (a, t) => {
351
+ console.log(e.checksumURI), te.value = !0, A.value = t, w.value = a;
352
+ }, Ne = (a, t, n, m) => {
353
+ console.log(a, t, n, m), ae.value = !0, F.value = t, U.value = a;
354
+ }, je = (a) => {
355
+ he.value = a, J.value = !0;
356
+ }, re = (a, t) => {
355
357
  switch (t) {
356
358
  case "dcat:mediaType":
357
- K.value = !0, ke.value = a;
359
+ Q.value = !0, ke.value = a;
358
360
  break;
359
361
  case "dcat:compressFormat":
360
- Q.value = !0, ge.value = a;
362
+ X.value = !0, be.value = a;
361
363
  break;
362
364
  case "dcat:packageFormat":
363
- X.value = !0, be.value = a;
365
+ Y.value = !0, Te.value = a;
364
366
  break;
365
367
  }
366
- }, je = (a) => {
367
- he.value = a, J.value = !0;
368
- }, Te = () => {
369
- ae.value = !1, _e.value = null;
370
- }, Ze = () => {
371
- ae.value = !1, Ce.value = !1;
368
+ }, Ze = (a) => {
369
+ ge.value = a, K.value = !0;
370
+ }, Ve = () => {
371
+ ie.value = !1, xe.value = null;
372
+ }, Ge = () => {
373
+ ie.value = !1, Ce.value = !1;
372
374
  };
373
- return (a, t) => (o(), u(D, null, [
374
- se.value ? (o(), u("div", vt, [
375
- p("div", {
375
+ return (a, t) => (o(), c(D, null, [
376
+ oe.value ? (o(), c("div", gt, [
377
+ u("div", {
376
378
  class: S(["dpiV3_modalWrap", {
377
- dpiV3_optionalInfo: e.optionalInfoView || n.value.key === "foaf:page"
379
+ dpiV3_optionalInfo: e.optionalInfoView || r.value.key === "foaf:page"
378
380
  }])
379
381
  }, [
380
- p("div", {
382
+ u("div", {
381
383
  class: S(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
382
384
  }, [
383
- p("div", yt, [
384
- p("h2", {
385
+ u("div", kt, [
386
+ u("h2", {
385
387
  class: S({ dpiV3_optionalInfoHeader: e.optionalInfoView })
386
388
  }, h(e.headerText), 3),
387
389
  y(ne, {
388
390
  class: "dpiv3_modalCrossout",
389
- onClick: le
391
+ onClick: de
390
392
  })
391
393
  ]),
392
- p("span", ht, h(e.text), 1),
393
- !e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (o(), u("div", kt, [
394
- p("div", gt, [
395
- e.title ? (o(), u("div", bt, h(e.title), 1)) : d("", !0),
396
- e.distributionLink && !e.title ? (o(), u("div", Tt, h(e.distributionLink), 1)) : d("", !0),
397
- e.format ? (o(), u("div", Vt, h(e.format), 1)) : d("", !0)
394
+ u("span", bt, h(e.text), 1),
395
+ !e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (o(), c("div", Tt, [
396
+ u("div", Vt, [
397
+ e.title ? (o(), c("a", {
398
+ key: 0,
399
+ href: e.distributionLink,
400
+ target: "_blank"
401
+ }, [
402
+ u("div", It, h(e.title), 1)
403
+ ], 8, _t)) : l("", !0),
404
+ e.distributionLink && !e.title ? (o(), c("a", {
405
+ key: 1,
406
+ href: e.distributionLink,
407
+ target: "_blank"
408
+ }, [
409
+ u("div", Dt, h(e.distributionLink), 1)
410
+ ], 8, xt)) : l("", !0),
411
+ e.format ? (o(), c("div", Lt, h(e.format), 1)) : l("", !0)
398
412
  ])
399
- ])) : d("", !0)
413
+ ])) : l("", !0)
400
414
  ], 2),
401
- e.showButtons ? (o(), u("div", It, [
402
- y(Xe, {
415
+ e.showButtons ? (o(), c("div", Ct, [
416
+ y(Ye, {
403
417
  buttonText: a.$t("message.dataupload.datasets.dcat:distribution.modal.cancel"),
404
418
  class: "dpiv3_modalCancelButton",
405
- onClick: le,
419
+ onClick: de,
406
420
  ref: "accActive"
407
421
  }, null, 8, ["buttonText"]),
408
- y(C, {
422
+ y(L, {
409
423
  onClick: Se,
410
424
  buttonText: e.buttons,
411
425
  size: "large"
412
426
  }, null, 8, ["buttonText"])
413
- ])) : d("", !0),
414
- e.optionalInfoView ? (o(), u("div", _t, [
415
- p("div", xt, [
416
- (o(!0), u(D, null, Ve(f.sections, (r, c) => (o(), u(D, { key: c }, [
417
- p("div", Dt, [
418
- p("div", Ct, [
419
- p("div", null, h(r.title), 1),
420
- p("div", Lt, [
421
- y(Ye, {
422
- onClick: (l) => Ae(c),
423
- expanded: !_.value[c]
427
+ ])) : l("", !0),
428
+ e.optionalInfoView ? (o(), c("div", wt, [
429
+ u("div", At, [
430
+ (o(!0), c(D, null, _e(f.sections, (n, m) => (o(), c(D, { key: m }, [
431
+ u("div", Ut, [
432
+ u("div", Ft, [
433
+ u("div", null, h(n.title), 1),
434
+ u("div", St, [
435
+ y(et, {
436
+ onClick: (d) => Fe(m),
437
+ expanded: !I.value[m]
424
438
  }, null, 8, ["onClick", "expanded"])
425
439
  ])
426
440
  ])
427
441
  ]),
428
- _.value[c] ? (o(!0), u(D, { key: 0 }, Ve(r.items, (l, s) => (o(), u(D, { key: s }, [
429
- t[4] || (t[4] = p("div", { class: "dpiV3_itemDivider" }, null, -1)),
430
- p("div", {
442
+ I.value[m] ? (o(!0), c(D, { key: 0 }, _e(n.items, (d, s) => (o(), c(D, { key: s }, [
443
+ t[4] || (t[4] = u("div", { class: "dpiV3_itemDivider" }, null, -1)),
444
+ u("div", {
431
445
  class: "dpiV3_itemOptional",
432
- onClick: (m) => Ue(c, s)
433
- }, h(l), 9, wt)
434
- ], 64))), 128)) : d("", !0),
435
- c < f.sections.length - 1 ? (o(), u("div", Ut)) : d("", !0)
446
+ onClick: (p) => Ae(m, s)
447
+ }, h(d), 9, Rt)
448
+ ], 64))), 128)) : l("", !0),
449
+ m < f.sections.length - 1 ? (o(), c("div", qt)) : l("", !0)
436
450
  ], 64))), 128))
437
451
  ])
438
- ])) : d("", !0)
452
+ ])) : l("", !0)
439
453
  ], 2)
440
- ])) : d("", !0),
441
- n.value.key ? (o(), u("div", Ft, [
442
- p("div", {
454
+ ])) : l("", !0),
455
+ r.value.key ? (o(), c("div", Bt, [
456
+ u("div", {
443
457
  class: S(["dpiV3_modalWrap", {
444
- dpiV3_removeOverflow: n.value.key === "dcatap:availability" || n.value.key === "dct:language" || n.value.key === "dcat:mediaType" || n.value.key === "dcat:compressFormat" || n.value.key === "dcat:packageFormat" || n.value.key === "spdx:checksum" || n.value.key === "adms:status"
458
+ dpiV3_removeOverflow: r.value.key === "dcatap:availability" || r.value.key === "dcat:mediaType" || r.value.key === "dcat:compressFormat" || r.value.key === "dcat:packageFormat" || r.value.key === "spdx:checksum" || r.value.key === "adms:status"
445
459
  }])
446
460
  }, [
447
- p("div", At, [
448
- p("h2", null, h(n.value.text) + " " + h(a.$t("message.dataupload.datasets.dcat:distribution.modal.add_small")), 1),
461
+ u("div", zt, [
462
+ u("h2", null, h(r.value.text) + " " + h(a.$t("message.dataupload.datasets.dcat:distribution.modal.add_small")), 1),
449
463
  y(ne, {
450
464
  class: "dpiv3_modalCrossout",
451
- onClick: oe
465
+ onClick: le
452
466
  })
453
467
  ]),
454
- n.value.key === "dcatap:availability" ? (o(), u("p", St, h(a.$t(
468
+ r.value.key === "dcatap:availability" ? (o(), c("p", Mt, h(a.$t(
455
469
  "message.dataupload.datasets.dcat:distribution.modal.availability_paragraph"
456
- )), 1)) : d("", !0),
457
- n.value.key === "dcat:byteSize" ? (o(), u("p", Rt, h(a.$t(
470
+ )), 1)) : l("", !0),
471
+ r.value.key === "dcat:byteSize" ? (o(), c("p", Pt, h(a.$t(
458
472
  "message.dataupload.datasets.dcat:distribution.modal.byte-size-paragraph"
459
- )), 1)) : d("", !0),
460
- n.value.key === "foaf:page" ? (o(), u("p", qt, h(a.$t(
473
+ )), 1)) : l("", !0),
474
+ r.value.key === "foaf:page" ? (o(), c("p", $t, h(a.$t(
461
475
  "message.dataupload.datasets.dcat:distribution.modal.documentation-paragraph"
462
- )), 1)) : d("", !0),
463
- n.value.key === "dct:modified" ? (o(), u("div", Bt, [
464
- y(it, {
476
+ )), 1)) : l("", !0),
477
+ r.value.key === "dct:modified" ? (o(), c("div", Wt, [
478
+ y(st, {
465
479
  modelValue: f.modifiedDate,
466
480
  onAddModifiedDate: Me
467
481
  }, null, 8, ["modelValue"])
468
- ])) : d("", !0),
469
- n.value.key === "dct:issued" ? (o(), u("div", zt, [
470
- y(dt, {
482
+ ])) : l("", !0),
483
+ r.value.key === "dct:issued" ? (o(), c("div", Et, [
484
+ y(rt, {
471
485
  modelValue: f.issuedDate,
472
- labelText: n.value.text + " (optional)",
486
+ labelText: r.value.text + " (optional)",
473
487
  onAddIssuedDate: Pe
474
488
  }, null, 8, ["modelValue", "labelText"])
475
- ])) : d("", !0),
476
- n.value.key === "dct:description" ? (o(), u("div", Mt, [
477
- y(st, {
489
+ ])) : l("", !0),
490
+ r.value.key === "dct:description" ? (o(), c("div", Ot, [
491
+ y(ot, {
478
492
  onAddDescription: $e,
479
493
  descriptionText: f.descriptionText
480
494
  }, null, 8, ["descriptionText"])
481
- ])) : d("", !0),
482
- n.value.key === "foaf:page" ? (o(), u("div", Pt, [
483
- y(at, {
495
+ ])) : l("", !0),
496
+ r.value.key === "dct:accessRights" ? (o(), c("div", Ht, [
497
+ y(ct, {
498
+ onAddAccessRights: We,
499
+ accessRightsProp: f.accessRightsText
500
+ }, null, 8, ["accessRightsProp"])
501
+ ])) : l("", !0),
502
+ r.value.key === "foaf:page" ? (o(), c("div", Nt, [
503
+ y(it, {
484
504
  ref_key: "documentationsV3Ref",
485
505
  ref: q,
486
506
  documentations: b.value[e.distributionId] || [],
487
507
  fileTypes: f.fileTypes,
488
- onUpdate: t[0] || (t[0] = (r) => Re(e.distributionId, r)),
508
+ onUpdate: t[0] || (t[0] = (n) => Re(e.distributionId, n)),
489
509
  distributionId: e.distributionId
490
510
  }, null, 8, ["documentations", "fileTypes", "distributionId"])
491
- ])) : d("", !0),
492
- n.value.key === "dcat:accessService" ? (o(), u("div", $t, [
493
- y(pt, {
511
+ ])) : l("", !0),
512
+ r.value.key === "dcat:accessService" ? (o(), c("div", jt, [
513
+ y(vt, {
494
514
  ref_key: "accessServiceV3Ref",
495
515
  ref: B,
496
516
  accessServices: T.value[e.distributionId] || [],
497
- onUpdate: t[1] || (t[1] = (r) => qe(e.distributionId, r)),
517
+ onUpdate: t[1] || (t[1] = (n) => qe(e.distributionId, n)),
498
518
  distributionId: e.distributionId
499
519
  }, null, 8, ["accessServices", "distributionId"])
500
- ])) : d("", !0),
501
- n.value.key === "dcat:byteSize" ? (o(), g(lt, {
502
- key: 8,
503
- byteSizeProp: f.byteSizeText,
504
- onAddByteSize: je
505
- }, null, 8, ["byteSizeProp"])) : d("", !0),
506
- n.value.key === "dcatap:availability" ? (o(), g(ot, {
520
+ ])) : l("", !0),
521
+ r.value.key === "dcat:byteSize" ? (o(), k(dt, {
507
522
  key: 9,
508
- availabilityText: f.availabilityText,
509
- onAddAvailability: We
510
- }, null, 8, ["availabilityText"])) : d("", !0),
511
- n.value.key === "dct:language" ? (o(), g(nt, {
523
+ byteSizeProp: f.byteSizeText,
524
+ onAddByteSize: Ze
525
+ }, null, 8, ["byteSizeProp"])) : l("", !0),
526
+ r.value.key === "dcatap:availability" ? (o(), k(lt, {
512
527
  key: 10,
528
+ availabilityText: f.availabilityText,
529
+ onAddAvailability: Ee
530
+ }, null, 8, ["availabilityText"])) : l("", !0),
531
+ r.value.key === "dct:language" ? (o(), k(nt, {
532
+ key: 11,
513
533
  languageText: f.languageText,
514
534
  distributionId: f.distributionId,
515
- onAddLanguage: Ne
516
- }, null, 8, ["languageText", "distributionId"])) : d("", !0),
517
- n.value.key === "dct:conformsTo" ? (o(), u("div", Wt, [
518
- y(ct, {
535
+ onAddLanguage: je
536
+ }, null, 8, ["languageText", "distributionId"])) : l("", !0),
537
+ r.value.key === "dct:conformsTo" ? (o(), c("div", Zt, [
538
+ y(pt, {
519
539
  ref_key: "conformsToV3Ref",
520
540
  ref: R,
521
541
  conformsToItems: V.value[e.distributionId] || [],
522
- onUpdate: t[2] || (t[2] = (r) => Be(e.distributionId, r)),
542
+ onUpdate: t[2] || (t[2] = (n) => Be(e.distributionId, n)),
523
543
  asCard: !1,
524
544
  distributionId: e.distributionId
525
545
  }, null, 8, ["conformsToItems", "distributionId"])
526
- ])) : d("", !0),
527
- n.value.key === "odrl:hasPolicy" ? (o(), u("div", Et, [
528
- y(mt, {
546
+ ])) : l("", !0),
547
+ r.value.key === "odrl:hasPolicy" ? (o(), c("div", Gt, [
548
+ y(ft, {
529
549
  ref_key: "policyV3Ref",
530
550
  ref: P,
531
- policyItems: I.value[e.distributionId] || [],
532
- onUpdate: t[3] || (t[3] = (r) => ze(e.distributionId, r)),
551
+ policyItems: _.value[e.distributionId] || [],
552
+ onUpdate: t[3] || (t[3] = (n) => ze(e.distributionId, n)),
533
553
  asCard: !1,
534
554
  distributionId: e.distributionId
535
555
  }, null, 8, ["policyItems", "distributionId"])
536
- ])) : d("", !0),
537
- n.value.key === "dcat:mediaType" ? (o(), g(re, {
538
- key: 13,
539
- onAddMediaType: de,
556
+ ])) : l("", !0),
557
+ r.value.key === "dcat:mediaType" ? (o(), k(ce, {
558
+ key: 14,
559
+ onAddMediaType: re,
540
560
  fileTypes: f.fileTypes,
541
561
  fileFormatType: "dcat:mediaType",
542
562
  fileFormatText: f.mediaTypeText
543
- }, null, 8, ["fileTypes", "fileFormatText"])) : d("", !0),
544
- n.value.key === "dcat:compressFormat" ? (o(), g(re, {
545
- key: 14,
546
- onAddCompressFormat: de,
563
+ }, null, 8, ["fileTypes", "fileFormatText"])) : l("", !0),
564
+ r.value.key === "dcat:compressFormat" ? (o(), k(ce, {
565
+ key: 15,
566
+ onAddCompressFormat: re,
547
567
  fileTypes: f.fileTypes,
548
568
  fileFormatType: "dcat:compressFormat",
549
569
  compressFormatText: f.compressFormatText
550
- }, null, 8, ["fileTypes", "compressFormatText"])) : d("", !0),
551
- n.value.key === "dcat:packageFormat" ? (o(), g(re, {
552
- key: 15,
553
- onAddPackageFormat: de,
570
+ }, null, 8, ["fileTypes", "compressFormatText"])) : l("", !0),
571
+ r.value.key === "dcat:packageFormat" ? (o(), k(ce, {
572
+ key: 16,
573
+ onAddPackageFormat: re,
554
574
  fileTypes: f.fileTypes,
555
575
  fileFormatType: "dcat:packageFormat",
556
576
  packageFormatText: f.packageFormatText
557
- }, null, 8, ["fileTypes", "packageFormatText"])) : d("", !0),
558
- n.value.key === "adms:status" ? (o(), g(rt, {
559
- key: 16,
560
- statusText: f.statusText,
561
- onAddStatus: Ee
562
- }, null, 8, ["statusText"])) : d("", !0),
563
- n.value.key === "spdx:checksum" ? (o(), g(ut, {
577
+ }, null, 8, ["fileTypes", "packageFormatText"])) : l("", !0),
578
+ r.value.key === "adms:status" ? (o(), k(ut, {
564
579
  key: 17,
580
+ statusText: f.statusText,
581
+ onAddStatus: Oe
582
+ }, null, 8, ["statusText"])) : l("", !0),
583
+ r.value.key === "spdx:checksum" ? (o(), k(mt, {
584
+ key: 18,
565
585
  ref_key: "checksumV3Ref",
566
586
  ref: z,
567
- onAddChecksum: Oe,
587
+ onAddChecksum: He,
568
588
  checksumText: f.checksumText,
569
- checksumDropdownText: f.checksumDropdownText
570
- }, null, 8, ["checksumText", "checksumDropdownText"])) : d("", !0),
571
- n.value.key === "dcterms:license" ? (o(), g(ft, {
572
- key: 18,
589
+ checksumDropdownText: f.checksumDropdownText,
590
+ asCard: !1
591
+ }, null, 8, ["checksumText", "checksumDropdownText"])) : l("", !0),
592
+ r.value.key === "dcterms:license" ? (o(), k(yt, {
593
+ key: 19,
573
594
  ref_key: "changeLicenseV3Ref",
574
595
  ref: M,
575
- onAddChangeLicense: He,
596
+ onAddChangeLicense: Ne,
576
597
  changeLicenseText: f.changeLicenseText,
577
598
  changeLicenseDropdownText: f.changeLicenseDropdownText
578
- }, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) : d("", !0),
579
- p("div", Ot, [
580
- y(C, {
581
- onClick: oe,
599
+ }, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) : l("", !0),
600
+ u("div", Jt, [
601
+ y(L, {
602
+ onClick: le,
582
603
  buttonText: "Zurück",
583
604
  size: "large",
584
605
  iconStart: "CaretLeft",
585
606
  variant: "tertiary"
586
607
  }),
587
- y(C, {
588
- onClick: Fe,
608
+ y(L, {
609
+ onClick: Ue,
589
610
  buttonText: "Hinzufügen",
590
611
  size: "large"
591
612
  })
592
613
  ])
593
614
  ], 2)
594
- ])) : d("", !0),
595
- ae.value ? (o(), u("div", Ht, [
596
- p("div", Nt, [
597
- p("div", jt, [
598
- t[5] || (t[5] = p("h2", null, "Dokumentation löschen", -1)),
615
+ ])) : l("", !0),
616
+ ie.value ? (o(), c("div", Kt, [
617
+ u("div", Qt, [
618
+ u("div", Xt, [
619
+ t[5] || (t[5] = u("h2", null, "Dokumentation löschen", -1)),
599
620
  y(ne, {
600
621
  class: "dpiv3_modalCrossout",
601
- onClick: Te
622
+ onClick: Ve
602
623
  })
603
624
  ]),
604
- t[6] || (t[6] = p("div", { class: "dpiV3_modalContent" }, [
605
- p("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
625
+ t[6] || (t[6] = u("div", { class: "dpiV3_modalContent" }, [
626
+ u("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
606
627
  ], -1)),
607
- p("div", Zt, [
608
- p("div", Gt, [
609
- L.value ? (o(), u("div", Jt, h(L.value), 1)) : d("", !0),
610
- ie.value && L.value === "" ? (o(), u("div", Kt, h(ie.value), 1)) : d("", !0),
611
- ie.value === "" && L.value === "" ? (o(), u("div", Qt, " Es wurde keine URL angegeben! ")) : d("", !0)
628
+ u("div", Yt, [
629
+ u("div", ea, [
630
+ C.value ? (o(), c("div", ta, h(C.value), 1)) : l("", !0),
631
+ se.value && C.value === "" ? (o(), c("div", aa, h(se.value), 1)) : l("", !0),
632
+ se.value === "" && C.value === "" ? (o(), c("div", ia, " Es wurde keine URL angegeben! ")) : l("", !0)
612
633
  ])
613
634
  ]),
614
- p("div", Xt, [
615
- y(C, {
616
- onClick: Te,
635
+ u("div", sa, [
636
+ y(L, {
637
+ onClick: Ve,
617
638
  buttonText: "Abbrechen",
618
639
  size: "large",
619
640
  variant: "tertiary"
620
641
  }),
621
- y(C, {
622
- onClick: Ze,
642
+ y(L, {
643
+ onClick: Ge,
623
644
  buttonText: "Löschen",
624
645
  size: "large"
625
646
  })
626
647
  ])
627
648
  ])
628
- ])) : d("", !0)
649
+ ])) : l("", !0)
629
650
  ], 64));
630
651
  }
631
- };
652
+ }, Aa = /* @__PURE__ */ ht(oa, [["__scopeId", "data-v-5241303d"]]);
632
653
  export {
633
- ba as default
654
+ Aa as default
634
655
  };