@piveau/dpi 0.2.0-alpha.19 → 0.2.0-alpha.20

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