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

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