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

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,8 +1,8 @@
1
- import { ref as h, reactive as T, onMounted as z, createElementBlock as c, openBlock as r, normalizeClass as b, createCommentVNode as g, createBlock as D, Fragment as M, renderList as E, createElementVNode as L, createVNode as u, unref as d, toDisplayString as N, isRef as P } from "vue";
1
+ import { ref as h, reactive as T, onMounted as D, createElementBlock as c, openBlock as r, normalizeClass as S, createCommentVNode as g, createBlock as z, Fragment as M, renderList as E, createElementVNode as B, createVNode as u, unref as d, toDisplayString as N, isRef as P } from "vue";
2
2
  import q from "../TextAreaV3.vue.js";
3
- import S from "../ButtonV3.vue.js";
3
+ import w from "../ButtonV3.vue.js";
4
4
  import W from "../ModalSimpleV3.vue.js";
5
- import w from "../InputField.vue.js";
5
+ import x from "../InputField.vue.js";
6
6
  import { PhWarning as $ } from "@phosphor-icons/vue";
7
7
  /* empty css */
8
8
  import H from "../../../../_virtual/_plugin-vue_export-helper.js";
@@ -28,7 +28,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
28
28
  let s = h({});
29
29
  const o = a, m = A, R = h(!1), V = h(null), l = T({});
30
30
  let p = h(!1);
31
- z(() => {
31
+ D(() => {
32
32
  console.log("Component Mounted: accessServices received for distributionId:", o.distributionId), console.log("accessServices:", o.accessServices), o.accessServices.length === 0 && (console.log("No accessServices found, initializing first service."), m("update", [
33
33
  {
34
34
  id: 1,
@@ -49,13 +49,13 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
49
49
  const i = o.accessServices.find((e) => e.id === t);
50
50
  if (i) {
51
51
  const e = i["dcat:downloadURL"] ? i["dcat:downloadURL"].trim() : "";
52
- v(i) ? e ? f(e) ? l[t] = null : l[t] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)" : l[t] = "Bitte geben Sie eine gültige URL ein." : e && !f(e) ? l[t] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)" : l[t] = null;
52
+ v(i) ? e && f(e) ? l[t] = null : l[t] = "Bitte geben Sie eine gültige URL ein." : e && !f(e) ? l[t] = "Bitte geben Sie eine gültige URL ein." : l[t] = null;
53
53
  }
54
- }, x = () => {
54
+ }, L = () => {
55
55
  let t = !1;
56
56
  return o.accessServices.forEach((i) => {
57
57
  const e = i["dcat:downloadURL"] ? i["dcat:downloadURL"].trim() : "";
58
- v(i) ? e ? f(e) || (l[i.id] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)", t = !0) : (l[i.id] = "URL ist erforderlich", t = !0) : e && !f(e) && (l[i.id] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)", t = !0);
58
+ v(i) ? e ? f(e) || (l[i.id] = "Bitte geben Sie eine gültige URL ein.", t = !0) : (l[i.id] = "URL ist erforderlich", t = !0) : e && !f(e) && (l[i.id] = "Bitte geben Sie eine gültige URL ein.", t = !0);
59
59
  }), t;
60
60
  }, k = (t) => {
61
61
  switch (t) {
@@ -64,7 +64,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
64
64
  break;
65
65
  }
66
66
  }, y = () => {
67
- if (x())
67
+ if (L())
68
68
  return;
69
69
  const i = {
70
70
  id: (o.accessServices.length ? Math.max(...o.accessServices.map((e) => e.id)) : 0) + 1,
@@ -75,7 +75,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
75
75
  m("update", [...o.accessServices, i]);
76
76
  }, U = (t, i, e) => {
77
77
  const n = o.accessServices.map(
78
- (B) => B.id === e ? { ...B, [i]: t.target.value } : B
78
+ (b) => b.id === e ? { ...b, [i]: t.target.value } : b
79
79
  );
80
80
  m("update", n), setTimeout(() => {
81
81
  I(e);
@@ -96,16 +96,16 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
96
96
  delete l[V.value.id], m("update", t);
97
97
  };
98
98
  return _({
99
- validateAllItems: x
99
+ validateAllItems: L
100
100
  }), (t, i) => (r(), c("div", {
101
- class: b(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: a.asCard }])
101
+ class: S(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: a.asCard }])
102
102
  }, [
103
103
  (r(!0), c(M, null, E(a.accessServices, (e) => (r(), c("div", {
104
104
  key: e.id,
105
- class: b(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: a.asCard }])
105
+ class: S(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: a.asCard }])
106
106
  }, [
107
- L("div", O, [
108
- u(w, {
107
+ B("div", O, [
108
+ u(x, {
109
109
  onInput: (n) => U(n, "dcat:downloadURL", e.id),
110
110
  addOnText: !1,
111
111
  datePicker: !1,
@@ -124,9 +124,9 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
124
124
  size: 16,
125
125
  weight: "fill"
126
126
  }),
127
- L("span", j, N(l[e.id]), 1)
127
+ B("span", j, N(l[e.id]), 1)
128
128
  ])) : g("", !0),
129
- u(w, {
129
+ u(x, {
130
130
  onInput: (n) => U(n, "dct:title", e.id),
131
131
  addOnText: !1,
132
132
  datePicker: !1,
@@ -152,7 +152,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
152
152
  }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue", "showDeleteButton"]),
153
153
  R.value && a.accessServices.length === 1 ? (r(), c("p", G, " Mindestens eine URL muss vorhanden sein. ")) : g("", !0)
154
154
  ]),
155
- u(S, {
155
+ u(w, {
156
156
  class: "dpiV3_tempAddMore",
157
157
  buttonText: "Löschen",
158
158
  size: "small",
@@ -162,7 +162,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
162
162
  }, null, 8, ["onClick"])
163
163
  ], 2))), 128)),
164
164
  a.asCard ? g("", !0) : (r(), c("div", J, [
165
- u(S, {
165
+ u(w, {
166
166
  buttonText: "Weiteren Service hinzufügen",
167
167
  size: "small",
168
168
  iconStart: "plus",
@@ -170,7 +170,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
170
170
  onClick: y
171
171
  })
172
172
  ])),
173
- d(p) ? (r(), D(W, {
173
+ d(p) ? (r(), z(W, {
174
174
  key: 1,
175
175
  buttons: d(s).button,
176
176
  headerText: d(s).header,
@@ -183,7 +183,7 @@ const O = { class: "dpiV3_LinkAndMetadata" }, Z = {
183
183
  }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : g("", !0)
184
184
  ], 2));
185
185
  }
186
- }, oe = /* @__PURE__ */ H(K, [["__scopeId", "data-v-9f224f36"]]);
186
+ }, oe = /* @__PURE__ */ H(K, [["__scopeId", "data-v-b735c5bd"]]);
187
187
  export {
188
188
  oe as default
189
189
  };
@@ -1,9 +1,9 @@
1
- import { ref as n, onMounted as P, getCurrentInstance as A, watch as g, createElementBlock as f, openBlock as v, createVNode as d, createCommentVNode as x, normalizeClass as E, createElementVNode as V, unref as b, toDisplayString as I } from "vue";
1
+ import { ref as n, onMounted as P, getCurrentInstance as A, watch as b, createElementBlock as v, openBlock as h, createVNode as d, createCommentVNode as x, normalizeClass as E, createElementVNode as V, unref as I, toDisplayString as w } from "vue";
2
2
  import { useFormValues as z } from "../../../composables/useDpiFormValues.js";
3
3
  import { getChecksumAlgorithms as M } from "../../services/dpiV3_apis.js";
4
4
  import N from "../Dropdown.vue.js";
5
5
  import O from "../InputField.vue.js";
6
- import { PhWarning as w } from "@phosphor-icons/vue";
6
+ import { PhWarning as D } from "@phosphor-icons/vue";
7
7
  /* empty css */
8
8
  import U from "../../../../_virtual/_plugin-vue_export-helper.js";
9
9
  const q = { class: "dpiV3_LinkAndMetadata" }, H = {
@@ -23,17 +23,17 @@ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
23
23
  distIndex: { type: Number, required: !1 }
24
24
  },
25
25
  emits: ["addChecksum", "deleteButtonClicked"],
26
- setup(r, { expose: D, emit: T }) {
26
+ setup(r, { expose: T, emit: y }) {
27
27
  const c = n([]), { formValues: m } = z(), o = n(null), u = n(null);
28
28
  P(async () => {
29
29
  const t = A().appContext.app.config.globalProperties.$env;
30
30
  try {
31
31
  const e = await M(t.api.baseUrl);
32
- c.value = e.map((p) => ({
33
- "@value": p.value,
34
- label: p.label,
32
+ c.value = e.map((f) => ({
33
+ "@value": f.value,
34
+ label: f.label,
35
35
  selected: !1,
36
- uri: p.resource
36
+ uri: f.resource
37
37
  }));
38
38
  } catch (e) {
39
39
  console.error("Failed to load checksum algorithms:", e);
@@ -41,35 +41,35 @@ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
41
41
  });
42
42
  const s = r, i = n(s.checksumText);
43
43
  n([]);
44
- const a = n(s.checksumDropdownText), h = T;
45
- let k = "";
46
- const y = () => {
44
+ const a = n(s.checksumDropdownText), k = y;
45
+ let g = "";
46
+ const p = () => {
47
47
  const l = i.value && i.value.trim() !== "", t = a.value && a.value.trim() !== "";
48
48
  let e = !1;
49
49
  return l || t ? (l ? u.value = null : (u.value = "Prüfsumme ist erforderlich", e = !0), t ? o.value = null : (o.value = "Algorithmus ist erforderlich", e = !0)) : (u.value = null, o.value = null), !e;
50
- }, C = () => !y(), F = (l) => {
51
- i.value = l.target.value, h(
50
+ }, C = () => !p(), F = (l) => {
51
+ i.value = l.target.value, k(
52
52
  "addChecksum",
53
53
  i.value,
54
54
  a.value,
55
55
  s.distributionId
56
- );
56
+ ), p();
57
57
  }, S = (l) => {
58
58
  var t;
59
- a.value = l, k = ((t = c.value.find((e) => e["@value"] === l)) == null ? void 0 : t.uri) || "", h(
59
+ a.value = l, g = ((t = c.value.find((e) => e["@value"] === l)) == null ? void 0 : t.uri) || "", k(
60
60
  "addChecksum",
61
61
  i.value,
62
62
  a.value,
63
63
  s.distributionId,
64
- k
65
- );
64
+ g
65
+ ), p();
66
66
  };
67
- g(
67
+ b(
68
68
  () => s.checksumDropdownText,
69
69
  (l) => {
70
70
  a.value = l;
71
71
  }
72
- ), g(
72
+ ), b(
73
73
  () => s.checksumText,
74
74
  (l) => {
75
75
  i.value = l;
@@ -80,9 +80,9 @@ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
80
80
  }, B = () => {
81
81
  m.value.DistributionSimple["dcat:distribution"][s.distIndex].checksum.title = "", i.value = "", u.value = null;
82
82
  };
83
- return D({
83
+ return T({
84
84
  validateAllItems: C
85
- }), (l, t) => (v(), f("div", q, [
85
+ }), (l, t) => (h(), v("div", q, [
86
86
  d(O, {
87
87
  onInput: t[0] || (t[0] = (e) => F(e)),
88
88
  modelValue: i.value,
@@ -100,12 +100,12 @@ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
100
100
  onDeleteButtonClicked: B,
101
101
  class: E({ dpiV3_Space3: r.showDeleteButton })
102
102
  }, null, 8, ["modelValue", "defaultInput", "class"]),
103
- u.value ? (v(), f("div", H, [
104
- d(b(w), {
103
+ u.value ? (h(), v("div", H, [
104
+ d(I(D), {
105
105
  size: 16,
106
106
  weight: "fill"
107
107
  }),
108
- V("span", W, I(u.value), 1)
108
+ V("span", W, w(u.value), 1)
109
109
  ])) : x("", !0),
110
110
  d(N, {
111
111
  "onUpdate:modelValue": [
@@ -131,16 +131,16 @@ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
131
131
  data: c.value,
132
132
  onDeleteDropdownField: _
133
133
  }, null, 8, ["modelValue", "inputFieldProps", "data"]),
134
- o.value ? (v(), f("div", G, [
135
- d(b(w), {
134
+ o.value ? (h(), v("div", G, [
135
+ d(I(D), {
136
136
  size: 16,
137
137
  weight: "fill"
138
138
  }),
139
- V("span", L, I(o.value), 1)
139
+ V("span", L, w(o.value), 1)
140
140
  ])) : x("", !0)
141
141
  ]));
142
142
  }
143
- }, ee = /* @__PURE__ */ U($, [["__scopeId", "data-v-a8f1bd35"]]);
143
+ }, ee = /* @__PURE__ */ U($, [["__scopeId", "data-v-3e3b145b"]]);
144
144
  export {
145
145
  ee as default
146
146
  };
@@ -1,4 +1,4 @@
1
- import { ref as h, reactive as L, computed as N, onMounted as P, createElementBlock as u, openBlock as r, normalizeClass as S, createCommentVNode as b, createBlock as q, Fragment as W, renderList as H, createElementVNode as R, createVNode as f, unref as l, isRef as O } from "vue";
1
+ import { ref as h, reactive as S, computed as N, onMounted as P, createElementBlock as u, openBlock as r, normalizeClass as x, createCommentVNode as V, createBlock as q, Fragment as W, renderList as H, createElementVNode as R, createVNode as f, unref as l, isRef as O } from "vue";
2
2
  import I from "../ButtonV3.vue.js";
3
3
  import j from "../ModalSimpleV3.vue.js";
4
4
  import w from "../InputField.vue.js";
@@ -25,9 +25,9 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
25
25
  emits: ["update", "validationChange"],
26
26
  setup(d, { expose: k, emit: _ }) {
27
27
  let s = h({});
28
- const a = d, c = _, y = h(!1), V = h(null), i = L({}), v = L({});
28
+ const a = d, c = _, y = h(!1), b = h(null), i = S({}), v = S({});
29
29
  let m = h(!1);
30
- const T = N(() => Object.values(i).some((e) => e === !0)), z = () => {
30
+ const T = N(() => Object.values(i).some((e) => e === !0)), A = () => {
31
31
  c("validationChange", T.value);
32
32
  };
33
33
  P(() => {
@@ -47,18 +47,18 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
47
47
  const t = e.trim();
48
48
  return /\.[a-zA-Z]{2,}$/.test(t);
49
49
  }, g = (e) => {
50
- const t = a.conformsToItems.find((o) => o.id === e);
50
+ const t = a.conformsToItems.find((n) => n.id === e);
51
51
  if (t) {
52
- const o = t["dct:title"] && t["dct:title"].trim() !== "", n = t["dcat:downloadURL"] ? t["dcat:downloadURL"].trim() : "";
53
- o ? n ? p(n) ? i[e] = null : i[e] = "Bitte geben Sie eine gültige URL ein (z.B. https://example.com)" : i[e] = "URL ist erforderlich" : n && !p(n) ? i[e] = "Bitte geben Sie eine gültige URL ein (z.B. https://example.com)" : i[e] = null;
52
+ const n = t["dct:title"] && t["dct:title"].trim() !== "", o = t["dcat:downloadURL"] ? t["dcat:downloadURL"].trim() : "";
53
+ n ? o ? p(o) ? i[e] = null : i[e] = "Bitte geben Sie eine gültige URL ein (z.B. https://example.com)" : i[e] = "URL ist erforderlich" : o && !p(o) ? i[e] = "Bitte geben Sie eine gültige URL ein (z.B. https://example.com)" : i[e] = null;
54
54
  }
55
55
  }, U = () => {
56
56
  let e = !1;
57
57
  return a.conformsToItems.forEach((t) => {
58
- const o = t["dct:title"] && t["dct:title"].trim() !== "", n = t["dcat:downloadURL"] ? t["dcat:downloadURL"].trim() : "";
59
- o ? n ? p(n) || (i[t.id] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)", e = !0) : (i[t.id] = "URL ist erforderlich", e = !0) : n && !p(n) && (i[t.id] = "Bitte geben Sie eine gültige URL ein (z.B. example.com)", e = !0);
58
+ const n = t["dct:title"] && t["dct:title"].trim() !== "", o = t["dcat:downloadURL"] ? t["dcat:downloadURL"].trim() : "";
59
+ n ? o ? p(o) || (i[t.id] = "Bitte geben Sie eine gültige URL ein.", e = !0) : (i[t.id] = "URL ist erforderlich", e = !0) : o && !p(o) && (i[t.id] = "Bitte geben Sie eine gültige URL ein.", e = !0);
60
60
  }), e;
61
- }, A = (e) => {
61
+ }, z = (e) => {
62
62
  switch (e) {
63
63
  case "delete":
64
64
  D();
@@ -68,7 +68,7 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
68
68
  if (U())
69
69
  return;
70
70
  const t = {
71
- id: (a.conformsToItems.length ? Math.max(...a.conformsToItems.map((o) => o.id)) : 0) + 1,
71
+ id: (a.conformsToItems.length ? Math.max(...a.conformsToItems.map((n) => n.id)) : 0) + 1,
72
72
  "dcat:downloadURL": "",
73
73
  "dct:title": ""
74
74
  };
@@ -77,13 +77,13 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
77
77
  v[e] && clearTimeout(v[e]), v[e] = setTimeout(() => {
78
78
  g(e);
79
79
  }, 800);
80
- }, B = (e, t, o) => {
81
- var x;
82
- (x = e == null ? void 0 : e.target) == null || x.value;
83
- const n = a.conformsToItems.map(
84
- (C) => C.id === o ? { ...C, [t]: e.target.value } : C
80
+ }, B = (e, t, n) => {
81
+ var L;
82
+ (L = e == null ? void 0 : e.target) == null || L.value;
83
+ const o = a.conformsToItems.map(
84
+ (C) => C.id === n ? { ...C, [t]: e.target.value } : C
85
85
  );
86
- c("update", n), M(o);
86
+ c("update", o), M(n);
87
87
  }, $ = (e) => {
88
88
  s.value = {
89
89
  button: "Löschen",
@@ -92,12 +92,12 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
92
92
  action: "delete",
93
93
  optionalString_1: e["dct:title"],
94
94
  optionalString_2: e["dcat:downloadURL"]
95
- }, m.value = !0, V.value = e;
95
+ }, m.value = !0, b.value = e;
96
96
  }, D = () => {
97
97
  const e = a.conformsToItems.filter(
98
- (t) => t.id !== V.value.id
98
+ (t) => t.id !== b.value.id
99
99
  );
100
- delete i[V.value.id], c("update", e), z();
100
+ delete i[b.value.id], c("update", e), A();
101
101
  }, F = (e) => {
102
102
  e["dct:title"] = "", g(e.id);
103
103
  };
@@ -105,16 +105,16 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
105
105
  validateAllItems: U,
106
106
  hasValidationErrors: T
107
107
  }), (e, t) => (r(), u("div", {
108
- class: S(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: d.asCard }])
108
+ class: x(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: d.asCard }])
109
109
  }, [
110
- (r(!0), u(W, null, H(d.conformsToItems, (o) => (r(), u("div", {
111
- key: o.id,
112
- class: S(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: d.asCard }])
110
+ (r(!0), u(W, null, H(d.conformsToItems, (n) => (r(), u("div", {
111
+ key: n.id,
112
+ class: x(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: d.asCard }])
113
113
  }, [
114
114
  R("div", J, [
115
115
  f(w, {
116
- onInput: (n) => B(n, "dcat:downloadURL", o.id),
117
- onBlur: (n) => g(o.id),
116
+ onInput: (o) => B(o, "dcat:downloadURL", n.id),
117
+ onBlur: (o) => g(n.id),
118
118
  addOnText: !1,
119
119
  datePicker: !1,
120
120
  infoIcon: !1,
@@ -124,19 +124,19 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
124
124
  initialHintText: !1,
125
125
  label: "URL",
126
126
  showEndIcon: !1,
127
- modelValue: o["dcat:downloadURL"],
128
- "onUpdate:modelValue": (n) => o["dcat:downloadURL"] = n
127
+ modelValue: n["dcat:downloadURL"],
128
+ "onUpdate:modelValue": (o) => n["dcat:downloadURL"] = o
129
129
  }, null, 8, ["onInput", "onBlur", "modelValue", "onUpdate:modelValue"]),
130
- i[o.id] ? (r(), u("div", K, [
130
+ i[n.id] ? (r(), u("div", K, [
131
131
  f(l(Z), {
132
132
  size: 16,
133
133
  weight: "fill"
134
134
  }),
135
135
  t[2] || (t[2] = R("span", { class: "copy-mini-regular" }, "Bitte geben Sie eine gültige URL ein.", -1))
136
- ])) : b("", !0),
136
+ ])) : V("", !0),
137
137
  f(w, {
138
- onInput: (n) => B(n, "dct:title", o.id),
139
- onBlur: (n) => g(o.id),
138
+ onInput: (o) => B(o, "dct:title", n.id),
139
+ onBlur: (o) => g(n.id),
140
140
  addOnText: !1,
141
141
  datePicker: !1,
142
142
  infoIcon: !1,
@@ -148,12 +148,12 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
148
148
  "message.dataupload.datasets.dcat:distribution.distribution-title.label"
149
149
  ),
150
150
  showEndIcon: !1,
151
- modelValue: o["dct:title"],
152
- "onUpdate:modelValue": (n) => o["dct:title"] = n,
151
+ modelValue: n["dct:title"],
152
+ "onUpdate:modelValue": (o) => n["dct:title"] = o,
153
153
  defaultInput: !d.showDeleteButton,
154
- onDeleteButtonClicked: (n) => F(o)
154
+ onDeleteButtonClicked: (o) => F(n)
155
155
  }, null, 8, ["onInput", "onBlur", "label", "modelValue", "onUpdate:modelValue", "defaultInput", "onDeleteButtonClicked"]),
156
- y.value && d.conformsToItems.length === 1 ? (r(), u("p", Q, " Mindestens eine URL muss vorhanden sein. ")) : b("", !0)
156
+ y.value && d.conformsToItems.length === 1 ? (r(), u("p", Q, " Mindestens eine URL muss vorhanden sein. ")) : V("", !0)
157
157
  ]),
158
158
  f(I, {
159
159
  class: "dpiV3_tempAddMore",
@@ -163,10 +163,10 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
163
163
  size: "small",
164
164
  iconStart: "trash",
165
165
  variant: "tertiary",
166
- onClick: (n) => $(o)
166
+ onClick: (o) => $(n)
167
167
  }, null, 8, ["buttonText", "onClick"])
168
168
  ], 2))), 128)),
169
- d.asCard ? b("", !0) : (r(), u("div", X, [
169
+ d.asCard ? V("", !0) : (r(), u("div", X, [
170
170
  f(I, {
171
171
  buttonText: "Weitere Standards hinzufügen",
172
172
  size: "small",
@@ -180,15 +180,15 @@ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
180
180
  buttons: l(s).button,
181
181
  headerText: l(s).header,
182
182
  text: l(s).text,
183
- onClose: t[0] || (t[0] = (o) => O(m) ? m.value = !1 : m = !1),
183
+ onClose: t[0] || (t[0] = (n) => O(m) ? m.value = !1 : m = !1),
184
184
  action: l(s).action,
185
- onActionHandling: t[1] || (t[1] = (o) => A(o)),
185
+ onActionHandling: t[1] || (t[1] = (n) => z(n)),
186
186
  optionalString_1: l(s).optionalString_1,
187
187
  optionalString_2: l(s).optionalString_2
188
- }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : b("", !0)
188
+ }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : V("", !0)
189
189
  ], 2));
190
190
  }
191
- }, de = /* @__PURE__ */ G(Y, [["__scopeId", "data-v-501b6eb9"]]);
191
+ }, de = /* @__PURE__ */ G(Y, [["__scopeId", "data-v-83f24ca4"]]);
192
192
  export {
193
193
  de as default
194
194
  };