@piveau/dpi 0.1.0-beta.6 → 0.1.0-beta.60

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