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