@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,88 +1,95 @@
1
- import { computed as f, ref as _, onMounted as Be, resolveComponent as Te, createElementBlock as l, openBlock as o, Fragment as k, createCommentVNode as u, createBlock as V, createVNode as h, createElementVNode as a, unref as p, toDisplayString as s, renderList as w, createTextVNode as H, withCtx as N, isRef as he } from "vue";
1
+ import { computed as v, ref as y, onMounted as Ne, resolveComponent as Fe, createElementBlock as n, openBlock as o, Fragment as k, createCommentVNode as u, createBlock as w, createVNode as h, createElementVNode as a, unref as p, toDisplayString as s, renderList as B, createTextVNode as L, withCtx as H, isRef as Se } from "vue";
2
2
  import "@formkit/core";
3
- import { useFormKitNodeById as ze } from "@formkit/vue";
3
+ import { useFormKitNodeById as Oe } from "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
5
- import { useI18n as Pe } from "vue-i18n";
5
+ import { useI18n as Ue } from "vue-i18n";
6
6
  import "vue-router";
7
- import { useStore as Re } from "vuex";
8
- import { useFormValues as Ee } from "../composables/useDpiFormValues.js";
7
+ import { useStore as je } from "vuex";
8
+ import { useFormValues as We } from "../composables/useDpiFormValues.js";
9
9
  import b from "../HappyFlowComponents/ui/ButtonV3.vue.js";
10
- import He from "../HappyFlowComponents/ui/Chip.vue.js";
11
- import Ne from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
12
- import ge from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
13
- import Fe from "../HappyFlowComponents/ui/RapModal.vue.js";
14
- import _e from "../HappyFlowComponents/ui/StateTag.vue.js";
15
- import Le from "../HappyFlowComponents/ui/TableRowV3.vue.js";
16
- import F from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
17
- import Oe from "./VisibilityPage.vue.js";
10
+ import Ye from "../HappyFlowComponents/ui/Chip.vue.js";
11
+ import Ke from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
12
+ import ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
13
+ import Ge from "../HappyFlowComponents/ui/RapModal.vue.js";
14
+ import Xe from "../HappyFlowComponents/ui/StateTag.vue.js";
15
+ import Ze from "../HappyFlowComponents/ui/TableRowV3.vue.js";
16
+ import De from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
17
+ import qe from "./Spatial.vue.js";
18
+ import Je from "./VisibilityPage.vue.js";
18
19
  /* empty css */
19
20
  /* empty css */
20
21
  /* empty css */
21
- import Ue from "../../../../../_virtual/_plugin-vue_export-helper.js";
22
- import { useDpiContext as We } from "../composables/useDpiContext.js";
23
- const Ye = { key: 0 }, je = {
22
+ import Qe from "../../../../../_virtual/_plugin-vue_export-helper.js";
23
+ import { useDpiContext as Ie } from "../composables/useDpiContext.js";
24
+ const Ae = { key: 0 }, et = {
24
25
  key: 1,
25
26
  class: "dpiV3InnerComponentWrap V3-typography"
26
- }, Ke = { class: "w-100" }, Ge = { class: "dpiV3_Frame_831" }, Xe = { key: 0 }, Ze = {
27
+ }, tt = { class: "w-100" }, at = { class: "dpiV3_Frame_831" }, st = { key: 0 }, ot = {
27
28
  key: 1,
28
29
  class: "dpiV3_Frame_840"
29
- }, qe = { class: "dpiV3_title" }, Je = { class: "dpiV3_intro copy-large-regular" }, Qe = {
30
+ }, it = {
31
+ class: "dpiV3_title",
32
+ style: { "margin-bottom": "32px" }
33
+ }, lt = { class: "dpiV3_intro copy-large-regular" }, nt = {
30
34
  key: 0,
31
35
  class: "dpiV3Card rapFindability"
32
- }, Ie = { class: "firstSec" }, Ae = { class: "secondSec" }, et = {
36
+ }, rt = { class: "firstSec" }, dt = { class: "secondSec" }, ct = {
33
37
  key: 0,
34
38
  class: "headline-5"
35
- }, tt = {
39
+ }, ut = {
36
40
  key: 1,
37
41
  class: "copy-large-regular"
38
- }, at = {
42
+ }, pt = {
39
43
  key: 1,
40
44
  class: "dpiV3Card rapFindability"
41
- }, st = { class: "firstSec" }, ot = { class: "secondSec" }, it = {
45
+ }, vt = { class: "firstSec" }, ft = { class: "secondSec" }, gt = {
42
46
  class: "copy-large-regular",
43
- style: { "margin-bottom": "4px" }
44
- }, lt = {
47
+ style: { "margin-bottom": "5px" }
48
+ }, ht = {
45
49
  key: 0,
46
50
  class: "thirdSec"
47
- }, nt = { class: "headline-5" }, rt = {
51
+ }, yt = { class: "headline-5" }, _t = {
48
52
  key: 2,
49
53
  class: "dpiV3Card rapEssentials"
50
- }, dt = { class: "firstSec" }, ct = { class: "secondSec" }, ut = { class: "heading-3" }, pt = { class: "thirdSec" }, vt = { class: "fourthSec flexSec" }, ft = { class: "copy-large-regular" }, ht = { class: "copy-large-semi-bold" }, gt = { class: "fifthSec flexSec" }, _t = { class: "copy-large-regular" }, yt = { class: "headline-5" }, mt = { class: "copy-large-regular" }, bt = ["href"], St = { class: "sixthSec flexSec" }, kt = { class: "copy-large-regular" }, Dt = { class: "headline-5" }, Ct = { class: "copy-large-regular" }, $t = { class: "copy-large-regular" }, xt = { class: "dpiV3Card rapCoverage" }, Vt = { class: "firstSec" }, wt = {
54
+ }, mt = { class: "firstSec" }, bt = { class: "secondSec" }, St = { class: "heading-3" }, kt = { class: "thirdSec" }, Dt = { class: "fourthSec flexSec" }, Vt = { class: "copy-large-regular" }, Ct = { class: "copy-large-semi-bold" }, $t = { class: "fifthSec flexSec" }, xt = { class: "copy-large-regular" }, wt = { class: "headline-5" }, Bt = { class: "copy-large-regular" }, Mt = ["href"], Tt = { class: "sixthSec flexSec" }, Rt = { class: "copy-large-regular" }, Pt = { class: "headline-5" }, zt = { class: "copy-large-regular" }, Et = { class: "copy-large-regular" }, Lt = { class: "dpiV3Card rapCoverage" }, Ht = { class: "firstSec" }, Nt = {
55
+ key: 0,
56
+ class: "coveragePlaceWrap"
57
+ }, Ft = {
51
58
  key: 0,
52
- class: "secondSec flexSec"
53
- }, Mt = { class: "rapHeadWrap" }, Bt = { class: "copy-large-regular" }, Tt = { class: "coveragePlaceWrap" }, zt = { class: "headline-5" }, Pt = {
54
- key: 1,
55
59
  class: "thirdSec"
56
- }, Rt = { class: "rapHeadWrap" }, Et = { class: "copy-large-regular" }, Ht = { class: "dpiV3_RapInnerCardWrapper" }, Nt = { class: "dpiV3_RapInnerCard" }, Ft = { class: "copy-small-regular" }, Lt = { key: 0 }, Ot = { class: "copy-small-regular" }, Ut = { key: 0 }, Wt = { class: "dpiV3Card rapDistribution" }, Yt = { class: "firstSec" }, jt = { class: "secondSec flexSec" }, Kt = { class: "copy-large-regular" }, Gt = { class: "headline-5" }, Xt = { class: "thirdSec flexSec" }, Zt = { class: "copy-large-regular" }, qt = { class: "headline-5" }, Jt = { class: "fourthSec flexSec" }, Qt = { class: "copy-large-regular" }, It = { class: "dpiV3_distCard" }, At = { class: "copy-large-semi-bold" }, ea = {
60
+ }, Ot = { class: "rapHeadWrap" }, Ut = { class: "copy-large-regular" }, jt = { class: "dpiV3_RapInnerCardWrapper" }, Wt = { class: "dpiV3_RapInnerCard" }, Yt = { class: "copy-small-regular" }, Kt = { key: 0 }, Gt = { class: "copy-small-regular" }, Xt = { key: 0 }, Zt = { class: "dpiV3Card rapDistribution" }, qt = { class: "firstSec" }, Jt = { class: "secondSec flexSec" }, Qt = { class: "copy-large-regular" }, It = { class: "headline-5" }, At = {
61
+ key: 0,
62
+ class: "thirdSec flexSec"
63
+ }, ea = { class: "copy-large-regular" }, ta = { class: "headline-5" }, aa = { class: "fourthSec flexSec" }, sa = { class: "copy-large-regular" }, oa = { class: "dpiV3_distCard" }, ia = ["href"], la = {
57
64
  key: 0,
58
65
  class: "dpiV3Card rapDistribution"
59
- }, ta = { class: "firstSec" }, aa = { class: "secondSec flexSec" }, sa = { class: "dpiV3_optionalSpanHeadWrap" }, oa = { class: "dpiV3_optionalSpan copy-large-regular" }, ia = { key: 0 }, la = { key: 0 }, na = { key: 1 }, ra = { key: 2 }, da = { key: 3 }, ca = { key: 4 }, ua = { key: 5 }, pa = { key: 6 }, va = { key: 7 }, fa = { key: 8 }, ha = { key: 9 }, ga = { class: "dpiV3_tempAddMore" }, _a = {
66
+ }, na = { class: "firstSec" }, ra = { class: "secondSec flexSec" }, da = { class: "dpiV3_optionalSpanHeadWrap" }, ca = { class: "dpiV3_optionalSpan copy-large-regular" }, ua = { key: 0 }, pa = { key: 0 }, va = { key: 1 }, fa = { key: 2 }, ga = { key: 3 }, ha = { key: 4 }, ya = { key: 5 }, _a = { key: 6 }, ma = { key: 7 }, ba = { key: 8 }, Sa = { key: 9 }, ka = { class: "dpiV3_tempAddMore" }, Da = {
60
67
  key: 1,
61
68
  class: "dpiV3_tempAddMore"
62
- }, ya = {
69
+ }, Va = {
63
70
  __name: "ReviewAndPublishPage",
64
71
  props: {
65
72
  context: Object
66
73
  },
67
- setup(L) {
68
- const { t: O } = Pe(), C = We();
69
- f(() => {
74
+ setup(N) {
75
+ const { t: F } = Ue(), V = Ie();
76
+ v(() => {
70
77
  var e;
71
- return !!((e = C.value.edit) != null && e.enabled);
78
+ return !!((e = V.value.edit) != null && e.enabled);
72
79
  });
73
- let ye = _(
74
- C.value.edit.enabled && !C.value.edit.fromDraft
80
+ let Ve = y(
81
+ V.value.edit.enabled && !V.value.edit.fromDraft
75
82
  );
76
- function me() {
83
+ function Ce() {
77
84
  c.value.Covering["dcat:temporalResolution"] = {};
78
85
  }
79
- _([{ isValid: !0 }]), _(!1), Re(), _(null);
80
- let y = _(!1), m = _({});
81
- const M = _(!1), U = _(!1), { formValues: c } = Ee();
82
- ze("dpiForm", (e) => {
83
- U.value = !0;
86
+ y([{ isValid: !0 }]), y(!1), je(), y(null);
87
+ let _ = y(!1), m = y({});
88
+ const M = y(!1), O = y(!1), { formValues: c } = We();
89
+ Oe("dpiForm", (e) => {
90
+ O.value = !0;
84
91
  });
85
- const z = f(() => {
92
+ const C = v(() => {
86
93
  var t, r, d;
87
94
  const e = (r = (t = c.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.visibilityPage;
88
95
  if (Array.isArray(e)) {
@@ -93,15 +100,15 @@ const Ye = { key: 0 }, je = {
93
100
  }
94
101
  return "";
95
102
  });
96
- function be(e) {
97
- let t, r, d, v, $, x;
103
+ function $e(e) {
104
+ let t, r, d, f, $, x;
98
105
  return e.forEach((g) => {
99
- g.Year && (t = Number.parseInt(g.Year)), g.Month && (r = Number.parseInt(g.Month) - 1), g.Day && (d = Number.parseInt(g.Day)), g.Hour && (v = Number.parseInt(g.Hour)), g.Minute && ($ = Number.parseInt(g.Minute)), g.Second && (x = Number.parseInt(g.Second));
106
+ g.Year && (t = Number.parseInt(g.Year)), g.Month && (r = Number.parseInt(g.Month) - 1), g.Day && (d = Number.parseInt(g.Day)), g.Hour && (f = Number.parseInt(g.Hour)), g.Minute && ($ = Number.parseInt(g.Minute)), g.Second && (x = Number.parseInt(g.Second));
100
107
  }), new Date(
101
108
  t || 2025,
102
109
  r || 0,
103
110
  d || 1,
104
- v || 0,
111
+ f || 0,
105
112
  $ || 0,
106
113
  x || 0
107
114
  ).toLocaleString("de", {
@@ -109,167 +116,191 @@ const Ye = { key: 0 }, je = {
109
116
  timeZoneName: "short"
110
117
  });
111
118
  }
112
- const W = _(), P = _(!1);
113
- function Y(e) {
119
+ const U = y(), z = y(!1);
120
+ function j(e) {
114
121
  return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
115
122
  }
116
- const Se = f(() => {
123
+ const xe = v(() => {
117
124
  var t, r;
118
125
  const e = (r = (t = c.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.discoverabilityPage;
119
- return Array.isArray(e) ? (e == null ? void 0 : e.filter(Y)) || [] : [];
120
- }), j = f(() => {
126
+ return Array.isArray(e) ? (e == null ? void 0 : e.filter(j)) || [] : [];
127
+ }), W = v(() => {
121
128
  var e, t;
122
129
  return ((t = (e = c.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
123
- }), ke = f(() => {
130
+ }), we = v(() => {
124
131
  var r, d;
125
- const e = (d = (r = c.value) == null ? void 0 : r.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((v) => v["@language"] === "de");
132
+ const e = (d = (r = c.value) == null ? void 0 : r.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((f) => f["@language"] === "de");
126
133
  return t ? t["@value"] : null;
127
- }), De = f(() => {
134
+ }), Be = v(() => {
128
135
  var e, t, r, d;
129
136
  return ((d = (r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : r[0]) == null ? void 0 : d["@value"]) || "";
130
- }), K = f(() => {
131
- var t, r, d, v;
132
- const e = (v = (d = (r = (t = c.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : r["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : v["@value"];
137
+ }), Y = v(() => {
138
+ var t, r, d, f;
139
+ const e = (f = (d = (r = (t = c.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : r["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : f["@value"];
133
140
  return e ? new Date(e).toLocaleDateString("de-DE", {
134
141
  day: "2-digit",
135
142
  month: "2-digit",
136
143
  year: "numeric"
137
144
  }) : "";
138
- }), B = f(() => {
145
+ }), T = v(() => {
139
146
  var e, t, r;
140
147
  return ((r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : r[0]) || {};
141
- }), R = f(() => {
148
+ }), E = v(() => {
142
149
  var e, t, r;
143
150
  return ((r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : r[0]) || {};
144
- }), E = f(() => {
151
+ }), Me = v(() => {
145
152
  var e, t, r, d;
146
153
  return ((d = (r = (t = (e = c.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : r.filter(
147
- Y
154
+ j
148
155
  )) == null ? void 0 : d[0]) || {};
149
- }), T = f(() => {
156
+ }), R = v(() => {
150
157
  var e, t;
151
158
  return ((t = (e = c.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) || {};
152
- }), Ce = f(() => Object.keys(E.value).length > 1), $e = f(() => {
159
+ });
160
+ v(() => Object.keys(Me.value).length > 1);
161
+ const Te = v(() => {
153
162
  var e;
154
- return ((e = T.value["dct:temporal"]) == null ? void 0 : e.length) > 0 && T.value["dct:temporal"][0]["dcat:startDate"] != "" && T.value["dct:temporal"][0]["dcat:endDate"] != "";
163
+ return ((e = R.value["dct:temporal"]) == null ? void 0 : e.length) > 0 && R.value["dct:temporal"][0]["dcat:startDate"] != "" && R.value["dct:temporal"][0]["dcat:endDate"] != "";
155
164
  });
156
- let G = _();
157
- G.value = f(() => {
158
- var e, t, r, d, v;
159
- return ((v = (d = (r = (t = (e = c.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : d["dct:license"]) == null ? void 0 : v[0]) || {};
165
+ let K = y();
166
+ K.value = v(() => {
167
+ var e, t, r, d, f;
168
+ return ((f = (d = (r = (t = (e = c.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : d["dct:license"]) == null ? void 0 : f[0]) || {};
160
169
  });
161
- const xe = f(() => {
170
+ const Re = v(() => {
162
171
  var e, t;
163
172
  return ((t = (e = c.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
164
- }), S = f(() => {
173
+ }), S = v(() => {
165
174
  var e;
166
175
  return ((e = c.value) == null ? void 0 : e.Additionals) || {};
167
- }), X = f(() => (Object.keys(S.value).forEach((e) => {
176
+ }), G = v(() => (Object.keys(S.value).forEach((e) => {
168
177
  if (S.value.hasOwnProperty(e)) {
169
178
  const t = S.value[e];
170
179
  (t === void 0 || Array.isArray(t) && t.length === 0) && delete S.value[e];
171
180
  }
172
- }), Object.keys(S.value))), Ve = (e) => {
181
+ }), Object.keys(S.value).filter((e) => e !== "dct:spatial"))), Pe = (e) => {
173
182
  const t = e.split("-");
174
183
  if (t.length !== 3)
175
184
  throw new Error("Ungültiges Format, erwartet YYYY-MM-DD");
176
- let [r, d, v] = t;
177
- if (v = v.padStart(2, "0"), d = d.padStart(2, "0"), !/^\d{4}$/.test(r) || !/^\d{2}$/.test(d) || !/^\d{2}$/.test(v))
185
+ let [r, d, f] = t;
186
+ if (f = f.padStart(2, "0"), d = d.padStart(2, "0"), !/^\d{4}$/.test(r) || !/^\d{2}$/.test(d) || !/^\d{2}$/.test(f))
178
187
  throw new Error("Ungültige Datenteile");
179
- return `${v}.${d}.${r}`;
180
- }, Z = f(() => X.value.length > 0);
188
+ return `${f}.${d}.${r}`;
189
+ }, X = v(() => G.value.length > 0);
181
190
  function D(e) {
182
- W.value = e, P.value = !0, document.body.style.overflow = "hidden";
191
+ U.value = e, z.value = !0, document.body.style.overflow = "hidden";
183
192
  }
184
- function we() {
185
- document.body.style.overflow = "", P.value = !1;
193
+ function ze() {
194
+ document.body.style.overflow = "", z.value = !1;
186
195
  }
187
- function q(e) {
196
+ function Z(e) {
188
197
  delete c.value.Additionals[e];
189
198
  }
190
- function Me(e, t) {
191
- y.value = !0, m.value = {
199
+ function Ee(e, t) {
200
+ _.value = !0, m.value = {
192
201
  button: "Löschen",
193
- header: `${O(`message.dataupload.additionals.${e}`)} löschen`,
194
- text: `Sind Sie sicher, dass Sie das optionale Feld ${O(
202
+ header: `${F(`message.dataupload.additionals.${e}`)} löschen`,
203
+ text: `Sind Sie sicher, dass Sie das optionale Feld ${F(
195
204
  `message.dataupload.additionals.${e}`
196
205
  )} löschen wollen?`,
197
206
  action: e
198
207
  };
199
208
  }
200
- const J = _(!1);
201
- return Be(() => {
202
- J.value = !0;
203
- }), (e, t) => {
204
- var d, v, $, x, g, Q, I, A, ee, te, ae, se, oe, ie, le, ne, re, de, ce, ue, pe, ve, fe;
205
- const r = Te("formatbubble");
206
- return o(), l(k, null, [
207
- J.value && U.value ? (o(), l("div", Ye, [
208
- P.value ? (o(), V(Fe, {
209
+ const q = y(!1);
210
+ Ne(() => {
211
+ q.value = !0;
212
+ });
213
+ const Le = {
214
+ public: "Öffentlich",
215
+ restricted: "Eingeschränkt",
216
+ internal: "Intern"
217
+ };
218
+ function He(e) {
219
+ return Le[e] || e;
220
+ }
221
+ const P = v({
222
+ get() {
223
+ var e, t, r;
224
+ return ((r = (t = (e = c.value.Additionals) == null ? void 0 : e["dct:spatial"]) == null ? void 0 : t.filter((d) => !(d.isValid && Object.keys(d).length === 1))) == null ? void 0 : r.map((d) => d["@id"])) || [];
225
+ },
226
+ set(e) {
227
+ c.value.Additionals || (c.value.Additionals = {}), c.value.Additionals["dct:spatial"] = [
228
+ ...e.map((t) => ({ "@id": t }))
229
+ ];
230
+ }
231
+ });
232
+ return (e, t) => {
233
+ var d, f, $, x, g, J, Q, I, A, ee, te, ae, se, oe, ie, le, ne, re, de, ce, ue, pe, ve, fe, ge, he, ye, _e, me, be;
234
+ const r = Fe("formatbubble");
235
+ return o(), n(k, null, [
236
+ q.value && O.value ? (o(), n("div", Ae, [
237
+ z.value ? (o(), w(Ge, {
209
238
  key: 0,
210
- context: L.context,
211
- "active-section": W.value,
212
- onClose: we
239
+ context: N.context,
240
+ "active-section": U.value,
241
+ onClose: ze
213
242
  }, null, 8, ["context", "active-section"])) : u("", !0),
214
- (o(), l("div", je, [
215
- a("div", Ke, [
216
- a("div", Ge, [
217
- p(C).edit.fromDraft || p(C).edit.enabled ? (o(), l("div", Xe, [
218
- (o(), V(Le, {
219
- id: (v = (d = p(c).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : v.datasetID,
243
+ (o(), n("div", et, [
244
+ a("div", tt, [
245
+ a("div", at, [
246
+ p(V).edit.fromDraft || p(V).edit.enabled ? (o(), n("div", st, [
247
+ (o(), w(Ze, {
248
+ id: (f = (d = p(c).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : f.datasetID,
220
249
  key: (x = ($ = p(c).value) == null ? void 0 : $.BasicInfos) == null ? void 0 : x.datasetID,
221
250
  "data-cy": p(c).value,
222
251
  catalogue: "test-catalog",
223
- text: ((Q = (g = p(c).value) == null ? void 0 : g.BasicInfos) == null ? void 0 : Q.title.de) || ((A = (I = p(c).value) == null ? void 0 : I.BasicInfos) == null ? void 0 : A.title.en),
224
- date: K.value,
225
- draft: !p(ye),
252
+ text: ((J = (g = p(c).value) == null ? void 0 : g.BasicInfos) == null ? void 0 : J.title.de) || ((I = (Q = p(c).value) == null ? void 0 : Q.BasicInfos) == null ? void 0 : I.title.en),
253
+ visibility: He(C.value || "public"),
254
+ "visibility-state": C.value,
255
+ date: Y.value,
256
+ draft: !p(Ve),
226
257
  dataset: e.dataset,
227
258
  "from-draft": "true"
228
- }, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
229
- ])) : (o(), l("div", Ze, [
230
- a("h4", qe, s(e.$t("message.dataupload.datasets.rap.title")), 1),
231
- a("div", Je, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
259
+ }, null, 8, ["id", "data-cy", "text", "visibility", "visibility-state", "date", "draft", "dataset"]))
260
+ ])) : (o(), n("div", ot, [
261
+ a("h4", it, s(e.$t("message.dataupload.datasets.rap.title")), 1),
262
+ a("div", lt, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
232
263
  ]))
233
264
  ])
234
265
  ]),
235
- (o(), l("div", Qe, [
236
- a("div", Ie, [
237
- t[13] || (t[13] = a("span", null, "Sichtbarkeit", -1)),
266
+ (o(), n("div", nt, [
267
+ a("div", rt, [
268
+ t[14] || (t[14] = a("span", null, "Sichtbarkeit", -1)),
238
269
  h(b, {
239
270
  size: "large",
240
271
  "icon-start": "pen",
241
272
  variant: "secondary",
242
- onClick: t[0] || (t[0] = (n) => M.value = !0)
273
+ onClick: t[0] || (t[0] = (l) => M.value = !0)
243
274
  })
244
275
  ]),
245
- a("div", Ae, [
246
- t[14] || (t[14] = a("span", {
276
+ a("div", dt, [
277
+ t[15] || (t[15] = a("span", {
247
278
  class: "copy-large-regular",
248
279
  style: { "margin-bottom": "4px" }
249
280
  }, " Sichtbarkeit des Datensatzes: ", -1)),
250
- z.value ? (o(), l("h5", et, s({
281
+ C.value ? (o(), n("h5", ct, s({
251
282
  public: "Öffentlich",
252
283
  restricted: "Eingeschränkt",
253
284
  internal: "Intern"
254
- }[z.value] || z.value), 1)) : (o(), l("span", tt, "–"))
285
+ }[C.value] || C.value), 1)) : (o(), n("span", ut, "–"))
255
286
  ])
256
287
  ])),
257
- (o(), l("div", at, [
258
- a("div", st, [
288
+ (o(), n("div", pt, [
289
+ a("div", vt, [
259
290
  a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
260
291
  h(b, {
261
292
  size: "large",
262
293
  "icon-start": "pen",
263
294
  variant: "secondary",
264
- onClick: t[1] || (t[1] = (n) => D("findabilityHvd"))
295
+ onClick: t[1] || (t[1] = (l) => D("findabilityHvd"))
265
296
  })
266
297
  ]),
267
- a("div", ot, [
268
- a("span", it, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
269
- (o(!0), l(k, null, w(Se.value, (n, i) => (o(), V(He, {
298
+ a("div", ft, [
299
+ a("div", gt, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
300
+ (o(!0), n(k, null, B(xe.value, (l, i) => (o(), w(Ye, {
270
301
  key: i,
271
- text: n.label,
272
- data: { "@value": n.value, URI: n.URI },
302
+ text: l.label,
303
+ data: { "@value": l.value, URI: l.URI },
273
304
  setup: {
274
305
  "@type": "static",
275
306
  "@inTable": !1,
@@ -277,90 +308,88 @@ const Ye = { key: 0 }, je = {
277
308
  }
278
309
  }, null, 8, ["text", "data"]))), 128))
279
310
  ]),
280
- (te = (ee = j.value) == null ? void 0 : ee[0]) != null && te.label ? (o(), l("div", lt, [
281
- h(_e, {
311
+ (ee = (A = W.value) == null ? void 0 : A[0]) != null && ee.label ? (o(), n("div", ht, [
312
+ h(Xe, {
282
313
  label: "HVD",
283
314
  state: "hvd",
284
315
  size: "page"
285
316
  }),
286
- a("h5", nt, s((se = (ae = j.value) == null ? void 0 : ae[0]) == null ? void 0 : se.label), 1)
317
+ a("h5", yt, s((ae = (te = W.value) == null ? void 0 : te[0]) == null ? void 0 : ae.label), 1)
287
318
  ])) : u("", !0)
288
319
  ])),
289
- (o(), l("div", rt, [
290
- a("div", dt, [
320
+ (o(), n("div", _t, [
321
+ a("div", mt, [
291
322
  a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
292
323
  h(b, {
293
324
  size: "large",
294
325
  "icon-start": "pen",
295
326
  variant: "secondary",
296
- onClick: t[2] || (t[2] = (n) => D("essentials"))
327
+ onClick: t[2] || (t[2] = (l) => D("essentials"))
297
328
  })
298
329
  ]),
299
- a("div", ct, [
300
- a("h3", ut, s(ke.value), 1)
330
+ a("div", bt, [
331
+ a("h3", St, s(we.value), 1)
301
332
  ]),
302
- a("div", pt, [
303
- a("span", null, s(De.value), 1)
333
+ a("div", kt, [
334
+ a("span", null, s(Be.value), 1)
304
335
  ]),
305
- a("div", vt, [
306
- a("span", ft, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
307
- a("span", ht, s(K.value), 1)
336
+ a("div", Dt, [
337
+ a("span", Vt, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
338
+ a("span", Ct, s(Y.value), 1)
308
339
  ]),
309
- a("div", gt, [
310
- a("span", _t, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
311
- a("h5", yt, s(B.value["foaf:name"] || ""), 1),
312
- a("a", mt, s(B.value["foaf:mbox"] || ""), 1),
340
+ a("div", $t, [
341
+ a("span", xt, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
342
+ a("h5", wt, s(T.value["foaf:name"] || ""), 1),
343
+ a("a", Bt, s(T.value["foaf:mbox"] || ""), 1),
313
344
  a("a", {
314
345
  class: "copy-large-regular",
315
- href: B.value["foaf:homepage"] || ""
316
- }, s(B.value["foaf:homepage"] || ""), 9, bt)
346
+ href: T.value["foaf:homepage"] || ""
347
+ }, s(T.value["foaf:homepage"] || ""), 9, Mt)
317
348
  ]),
318
- a("div", St, [
319
- a("span", kt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
320
- a("h5", Dt, s(R.value["vcard:fn"] || ""), 1),
321
- a("a", Ct, s(R.value["vcard:hasEmail"] || ""), 1),
322
- a("span", $t, s(R.value["vcard:hasTelephone"] || ""), 1)
349
+ a("div", Tt, [
350
+ a("span", Rt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
351
+ a("h5", Pt, s(E.value["vcard:fn"] || ""), 1),
352
+ a("a", zt, s(E.value["vcard:hasEmail"] || ""), 1),
353
+ a("span", Et, s(E.value["vcard:hasTelephone"] || ""), 1)
323
354
  ])
324
355
  ])),
325
- (o(), l(k, { key: 3 }, [
326
- a("div", xt, [
327
- a("div", Vt, [
356
+ (o(), n(k, { key: 3 }, [
357
+ a("div", Lt, [
358
+ a("div", Ht, [
328
359
  a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
329
360
  h(b, {
330
361
  size: "large",
331
362
  "icon-start": "pen",
332
363
  variant: "secondary",
333
- onClick: t[3] || (t[3] = (n) => D("coverage"))
364
+ onClick: t[3] || (t[3] = (l) => D("coverage"))
334
365
  })
335
366
  ]),
336
- Ce.value ? (o(), l("div", wt, [
337
- a("div", Mt, [
338
- a("span", Bt, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
339
- h(F, { "button-text": "löschen" })
340
- ]),
341
- a("div", Tt, [
342
- a("h5", zt, s(E.value.label || ""), 1),
343
- h(_e, {
344
- label: ((oe = E.value.inVoc) == null ? void 0 : oe.toUpperCase()) || "",
345
- state: "geopolitical",
346
- size: "page"
347
- }, null, 8, ["label"])
348
- ])
349
- ])) : u("", !0),
350
- $e.value ? (o(), l("div", Pt, [
351
- a("div", Rt, [
352
- a("span", Et, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
353
- h(F, {
367
+ a("div", null, [
368
+ P.value && ((se = P.value) == null ? void 0 : se.length) > 0 ? (o(), n("div", Nt, [
369
+ t[16] || (t[16] = a("div", { class: "copy-large-regular" }, " Räumliche Abdeckung ", -1)),
370
+ a("div", null, [
371
+ h(qe, {
372
+ modelValue: P.value,
373
+ "onUpdate:modelValue": t[4] || (t[4] = (l) => P.value = l),
374
+ readonly: ""
375
+ }, null, 8, ["modelValue"])
376
+ ])
377
+ ])) : u("", !0)
378
+ ]),
379
+ Te.value ? (o(), n("div", Ft, [
380
+ a("div", Ot, [
381
+ a("span", Ut, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
382
+ h(De, {
354
383
  "button-text": "löschen",
355
- onClick: me
384
+ onClick: Ce
356
385
  })
357
386
  ]),
358
- a("div", Ht, [
359
- (o(!0), l(k, null, w(T.value["dct:temporal"] || [], (n) => (o(), l("div", Nt, [
360
- a("div", Ft, [
361
- t[15] || (t[15] = H(" von: ", -1)),
387
+ a("div", jt, [
388
+ (o(!0), n(k, null, B(R.value["dct:temporal"] || [], (l) => (o(), n("div", Wt, [
389
+ a("div", Yt, [
390
+ t[17] || (t[17] = L(" Von ", -1)),
362
391
  a("div", null, [
363
- a("span", null, s(new Date(n["dcat:startDate"]).toLocaleDateString(
392
+ a("span", null, s(new Date(l["dcat:startDate"]).toLocaleDateString(
364
393
  "de-DE",
365
394
  {
366
395
  day: "2-digit",
@@ -368,13 +397,13 @@ const Ye = { key: 0 }, je = {
368
397
  year: "numeric"
369
398
  }
370
399
  )), 1),
371
- n.startTime != null ? (o(), l("span", Lt, s(n.startTime), 1)) : u("", !0)
400
+ l.startTime != null ? (o(), n("span", Kt, s(l.startTime), 1)) : u("", !0)
372
401
  ])
373
402
  ]),
374
- a("div", Ot, [
375
- t[16] || (t[16] = H(" bis: ", -1)),
403
+ a("div", Gt, [
404
+ t[18] || (t[18] = L(" Bis ", -1)),
376
405
  a("div", null, [
377
- a("span", null, s(new Date(n["dcat:endDate"]).toLocaleDateString(
406
+ a("span", null, s(new Date(l["dcat:endDate"]).toLocaleDateString(
378
407
  "de-DE",
379
408
  {
380
409
  day: "2-digit",
@@ -382,42 +411,46 @@ const Ye = { key: 0 }, je = {
382
411
  year: "numeric"
383
412
  }
384
413
  )), 1),
385
- n.endTime != null ? (o(), l("span", Ut, s(n.endTime), 1)) : u("", !0)
414
+ l.endTime != null ? (o(), n("span", Xt, s(l.endTime), 1)) : u("", !0)
386
415
  ])
387
416
  ])
388
417
  ]))), 256))
389
418
  ])
390
419
  ])) : u("", !0)
391
420
  ]),
392
- a("div", Wt, [
393
- a("div", Yt, [
421
+ a("div", Zt, [
422
+ a("div", qt, [
394
423
  a("span", null, s(e.$t("message.metadata.distributions")), 1),
395
424
  h(b, {
396
425
  size: "large",
397
426
  "icon-start": "pen",
398
427
  variant: "secondary",
399
- onClick: t[4] || (t[4] = (n) => D("distributions"))
428
+ onClick: t[5] || (t[5] = (l) => D("distributions"))
400
429
  })
401
430
  ]),
402
- a("div", jt, [
403
- a("span", Kt, s(e.$t("message.dataupload.steps.dct:license")), 1),
404
- a("h5", Gt, s(p(G)["dcterms:license"] || ((ne = (le = (ie = p(c).DistributionSimple) == null ? void 0 : ie["dct:license"]) == null ? void 0 : le[0]) == null ? void 0 : ne["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
431
+ a("div", Jt, [
432
+ a("span", Qt, s(e.$t("message.dataupload.steps.dct:license")), 1),
433
+ a("h5", It, s(p(K)["dcterms:license"] || ((le = (ie = (oe = p(c).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : ie[0]) == null ? void 0 : le["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
405
434
  ]),
406
- a("div", Xt, [
407
- a("span", Zt, s(e.$t(
435
+ (de = (re = (ne = p(c).DistributionSimple) == null ? void 0 : ne["dct:license"]) == null ? void 0 : re[0]) != null && de.title || (ve = (pe = (ue = (ce = p(c)) == null ? void 0 : ce.DistributionSimple) == null ? void 0 : ue["dcat:distribution"]) == null ? void 0 : pe[0]) != null && ve["dcatde:licenseAttributionByText"] ? (o(), n("div", At, [
436
+ a("span", ea, s(e.$t(
408
437
  "message.dataupload.datasets.dcat:distribution.advanced.dcatde:licenseAttributionByText"
409
438
  )), 1),
410
- a("h5", qt, s(((ce = (de = (re = p(c).DistributionSimple) == null ? void 0 : re["dct:license"]) == null ? void 0 : de[0]) == null ? void 0 : ce.title) || ((fe = (ve = (pe = (ue = p(c)) == null ? void 0 : ue.DistributionSimple) == null ? void 0 : pe["dcat:distribution"]) == null ? void 0 : ve[0]) == null ? void 0 : fe["dcatde:licenseAttributionByText"]) || "Kein Titel angegeben"), 1)
411
- ]),
412
- a("div", Jt, [
413
- a("span", Qt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
414
- (o(!0), l(k, null, w(xe.value, (n) => (o(), l("div", It, [
415
- a("span", At, s(n["dct:title"]), 1),
439
+ a("h5", ta, s(((he = (ge = (fe = p(c).DistributionSimple) == null ? void 0 : fe["dct:license"]) == null ? void 0 : ge[0]) == null ? void 0 : he.title) || ((be = (me = (_e = (ye = p(c)) == null ? void 0 : ye.DistributionSimple) == null ? void 0 : _e["dcat:distribution"]) == null ? void 0 : me[0]) == null ? void 0 : be["dcatde:licenseAttributionByText"])), 1)
440
+ ])) : u("", !0),
441
+ a("div", aa, [
442
+ a("span", sa, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
443
+ (o(!0), n(k, null, B(Re.value, (l) => (o(), n("div", oa, [
444
+ a("a", {
445
+ class: "copy-large-semi-bold",
446
+ href: l["dcat:accessURL"],
447
+ target: "_blank"
448
+ }, s(l["dct:title"] || l["dcat:accessURL"]), 9, ia),
416
449
  h(r, null, {
417
- default: N(() => {
450
+ default: H(() => {
418
451
  var i;
419
452
  return [
420
- H(s(((i = n["dct:format"]) == null ? void 0 : i.label) || "Kein Format angegeben"), 1)
453
+ L(s(((i = l["dct:format"]) == null ? void 0 : i.label) || "Kein Format angegeben"), 1)
421
454
  ];
422
455
  }),
423
456
  _: 2
@@ -425,100 +458,100 @@ const Ye = { key: 0 }, je = {
425
458
  ]))), 256))
426
459
  ])
427
460
  ]),
428
- Z.value ? (o(), l("div", ea, [
429
- a("div", ta, [
461
+ X.value ? (o(), n("div", la, [
462
+ a("div", na, [
430
463
  a("span", null, s(e.$t("message.metadata.additionals")), 1)
431
464
  ]),
432
- (o(!0), l(k, null, w(X.value, (n) => (o(), l("div", aa, [
433
- a("div", sa, [
434
- a("span", oa, s(e.$t(`message.dataupload.additionals.${n}`)) + " (optional)", 1),
435
- h(F, {
465
+ (o(!0), n(k, null, B(G.value, (l) => (o(), n("div", ra, [
466
+ a("div", da, [
467
+ a("span", ca, s(e.$t(`message.dataupload.additionals.${l}`)) + " (optional)", 1),
468
+ h(De, {
436
469
  "button-text": "löschen",
437
- onClick: (i) => Me(n)
470
+ onClick: (i) => Ee(l)
438
471
  }, null, 8, ["onClick"])
439
472
  ]),
440
- n === "dcat:temporalResolution" ? (o(), l("div", ia, [
441
- a("span", null, s(be(S.value[n] || [])), 1)
473
+ l === "dcat:temporalResolution" ? (o(), n("div", ua, [
474
+ a("span", null, s($e(S.value[l] || [])), 1)
442
475
  ])) : u("", !0),
443
- n != "dcat:temporalResolution" ? (o(!0), l(k, { key: 1 }, w(S.value[n] || [], (i) => (o(), l("div", {
476
+ l != "dcat:temporalResolution" ? (o(!0), n(k, { key: 1 }, B(S.value[l] || [], (i) => (o(), n("div", {
444
477
  key: i ? i["@id"] || i["@value"] || i["rdfs:label"] : null,
445
478
  class: "additionalSubPropsWrapper"
446
479
  }, [
447
- i && i["rdf:type"] ? (o(), l("span", la, s(i["rdf:type"]), 1)) : u("", !0),
448
- i && i["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (o(), l("span", na, s(Ve(i["@value"])), 1)) : u("", !0),
449
- i && i["@value"] && i["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (o(), l("span", ra, s(i["@value"]), 1)) : u("", !0),
450
- i && i["dct:title"] ? (o(), l("span", da, s(i["dct:title"]), 1)) : u("", !0),
451
- i && i["dct:description"] ? (o(), l("span", ca, s(i["dct:description"]), 1)) : u("", !0),
452
- i && i["@id"] ? (o(), l("span", ua, s(i["@id"]), 1)) : u("", !0),
453
- i && i["rdfs:label"] ? (o(), l("span", pa, s(i["rdfs:label"]), 1)) : u("", !0),
454
- i && i["foaf:name"] ? (o(), l("span", va, s(i["foaf:name"]), 1)) : u("", !0),
455
- i && i["foaf:homepage"] ? (o(), l("span", fa, s(i["foaf:homepage"]), 1)) : u("", !0),
456
- i && i["foaf:mbox"] ? (o(), l("span", ha, s(i["foaf:mbox"]), 1)) : u("", !0)
480
+ i && i["rdf:type"] ? (o(), n("span", pa, s(i["rdf:type"]), 1)) : u("", !0),
481
+ i && i["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (o(), n("span", va, s(Pe(i["@value"])), 1)) : u("", !0),
482
+ i && i["@value"] && i["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (o(), n("span", fa, s(i["@value"]), 1)) : u("", !0),
483
+ i && i["dct:title"] ? (o(), n("span", ga, s(i["dct:title"]), 1)) : u("", !0),
484
+ i && i["dct:description"] ? (o(), n("span", ha, s(i["dct:description"]), 1)) : u("", !0),
485
+ i && i["@id"] ? (o(), n("span", ya, s(i["@id"]), 1)) : u("", !0),
486
+ i && i["rdfs:label"] ? (o(), n("span", _a, s(i["rdfs:label"]), 1)) : u("", !0),
487
+ i && i["foaf:name"] ? (o(), n("span", ma, s(i["foaf:name"]), 1)) : u("", !0),
488
+ i && i["foaf:homepage"] ? (o(), n("span", ba, s(i["foaf:homepage"]), 1)) : u("", !0),
489
+ i && i["foaf:mbox"] ? (o(), n("span", Sa, s(i["foaf:mbox"]), 1)) : u("", !0)
457
490
  ]))), 128)) : u("", !0)
458
491
  ]))), 256)),
459
- a("div", ga, [
492
+ a("div", ka, [
460
493
  h(b, {
461
494
  "button-text": "Optionale Informationen hinzufügen",
462
495
  size: "large",
463
496
  "icon-start": "plus",
464
497
  variant: "tertiary",
465
- onClick: t[5] || (t[5] = (n) => D("additionals"))
498
+ onClick: t[6] || (t[6] = (l) => D("additionals"))
466
499
  })
467
500
  ])
468
501
  ])) : u("", !0),
469
- Z.value ? u("", !0) : (o(), l("div", _a, [
502
+ X.value ? u("", !0) : (o(), n("div", Da, [
470
503
  h(b, {
471
504
  "button-text": "Optionale Informationen hinzufügen",
472
505
  size: "large",
473
506
  "icon-start": "plus",
474
507
  variant: "tertiary",
475
- onClick: t[6] || (t[6] = (n) => D("additionals"))
508
+ onClick: t[7] || (t[7] = (l) => D("additionals"))
476
509
  })
477
510
  ]))
478
511
  ], 64))
479
512
  ])),
480
- p(y) ? (o(), V(ge, {
513
+ p(_) ? (o(), w(ke, {
481
514
  key: 2,
482
515
  buttons: p(m).button,
483
516
  "header-text": p(m).header,
484
517
  text: p(m).text,
485
518
  action: p(m).action,
486
- onClose: t[7] || (t[7] = (n) => he(y) ? y.value = !1 : y = !1),
487
- onActionHandling: t[8] || (t[8] = (n) => q(n))
519
+ onClose: t[8] || (t[8] = (l) => Se(_) ? _.value = !1 : _ = !1),
520
+ onActionHandling: t[9] || (t[9] = (l) => Z(l))
488
521
  }, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0),
489
- h(Ne, {
522
+ h(Ke, {
490
523
  modelValue: M.value,
491
- "onUpdate:modelValue": t[10] || (t[10] = (n) => M.value = n),
524
+ "onUpdate:modelValue": t[11] || (t[11] = (l) => M.value = l),
492
525
  title: "Sichtbarkeit"
493
526
  }, {
494
- footer: N(() => [
527
+ footer: H(() => [
495
528
  h(b, {
496
529
  size: "large",
497
530
  variant: "primary",
498
531
  "button-text": "Schließen",
499
532
  style: { "margin-left": "auto" },
500
- onClick: t[9] || (t[9] = (n) => M.value = !1)
533
+ onClick: t[10] || (t[10] = (l) => M.value = !1)
501
534
  })
502
535
  ]),
503
- default: N(() => [
504
- h(Oe, { context: L.context }, null, 8, ["context"])
536
+ default: H(() => [
537
+ h(Je, { context: N.context }, null, 8, ["context"])
505
538
  ]),
506
539
  _: 1
507
540
  }, 8, ["modelValue"])
508
541
  ])) : u("", !0),
509
- p(y) ? (o(), V(ge, {
542
+ p(_) ? (o(), w(ke, {
510
543
  key: 1,
511
544
  buttons: p(m).button,
512
545
  "header-text": p(m).header,
513
546
  text: p(m).text,
514
547
  action: p(m).action,
515
- onClose: t[11] || (t[11] = (n) => he(y) ? y.value = !1 : y = !1),
516
- onActionHandling: t[12] || (t[12] = (n) => q(n))
548
+ onClose: t[12] || (t[12] = (l) => Se(_) ? _.value = !1 : _ = !1),
549
+ onActionHandling: t[13] || (t[13] = (l) => Z(l))
517
550
  }, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0)
518
551
  ], 64);
519
552
  };
520
553
  }
521
- }, Ua = /* @__PURE__ */ Ue(ya, [["__scopeId", "data-v-514aad72"]]);
554
+ }, Za = /* @__PURE__ */ Qe(Va, [["__scopeId", "data-v-4ac4fd18"]]);
522
555
  export {
523
- Ua as default
556
+ Za as default
524
557
  };