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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/DPIMenu.vue.js +2 -2
  3. package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1 -1
  4. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +58 -53
  5. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +78 -66
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +11 -10
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +101 -76
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +7 -7
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +434 -360
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +17 -22
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +91 -61
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +170 -99
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +109 -52
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +65 -86
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +159 -103
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +571 -207
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +100 -53
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +52 -57
  24. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +301 -100
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +46 -27
  26. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +71 -38
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +182 -105
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +19 -14
  29. package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +1 -1
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
  31. package/dist/data-provider-interface/components/ContactPage.vue.js +148 -100
  32. package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +32 -32
  33. package/dist/data-provider-interface/components/DistLicense.vue.js +198 -99
  34. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +879 -843
  35. package/dist/data-provider-interface/components/Dropup.vue.js +6 -6
  36. package/dist/data-provider-interface/components/HVDPage.vue.js +107 -85
  37. package/dist/data-provider-interface/components/InfoSlot.vue.js +5 -5
  38. package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +89 -46
  39. package/dist/data-provider-interface/components/PublisherPage.vue.js +111 -81
  40. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +328 -265
  41. package/dist/data-provider-interface/components/TempResPage.vue.js +267 -187
  42. package/dist/data-provider-interface/components/TempResPageInModal.vue.js +395 -0
  43. package/dist/data-provider-interface/components/TitelPage.vue.js +4 -4
  44. package/dist/data-provider-interface/components/UpdateDate.vue.js +33 -29
  45. package/dist/data-provider-interface/components/dpiV3Description.vue.js +7 -6
  46. package/dist/data-provider-interface/composables/useDpiContext.js +5 -7
  47. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +397 -244
  48. package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +1 -1
  49. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +472 -95
  50. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +104 -152
  51. package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +10 -3
  52. package/dist/data-provider-interface/store/modules/authStore.js +11 -11
  53. package/dist/data-provider-interface/views/DraftsPage.vue.js +3 -3
  54. package/dist/data-provider-interface/views/InputPage.vue.js +381 -755
  55. package/dist/styles/_dpi.scss +1614 -0
  56. package/dist/styles/_maps.scss +24 -0
  57. package/dist/styles/_variables.scss +973 -0
  58. package/package.json +28 -19
  59. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +0 -41
  60. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +0 -46
@@ -1,76 +1,92 @@
1
- import { ref as s, onMounted as w, getCurrentInstance as x, watch as p, createElementBlock as I, openBlock as T, Fragment as V, createVNode as m, normalizeClass as C } from "vue";
2
- import { getChecksumAlgorithms as b } from "../../services/dpiV3_apis.js";
3
- import D from "../Dropdown.vue.js";
4
- import F from "../InputField.vue.js";
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";
2
+ import { useFormValues as z } from "../../../composables/useDpiFormValues.js";
3
+ import { getChecksumAlgorithms as M } from "../../services/dpiV3_apis.js";
4
+ import N from "../Dropdown.vue.js";
5
+ import O from "../InputField.vue.js";
6
+ import { PhWarning as w } from "@phosphor-icons/vue";
5
7
  /* empty css */
6
- import B from "../../../../_virtual/_plugin-vue_export-helper.js";
7
- const y = {
8
+ import U from "../../../../_virtual/_plugin-vue_export-helper.js";
9
+ const q = { class: "dpiV3_LinkAndMetadata" }, H = {
10
+ key: 0,
11
+ class: "dpiV3_errorMessage"
12
+ }, W = { class: "copy-mini-regular" }, G = {
13
+ key: 1,
14
+ class: "dpiV3_errorMessage"
15
+ }, L = { class: "copy-mini-regular" }, $ = {
8
16
  __name: "ChecksumV3",
9
17
  props: {
10
18
  distributionId: { type: Number, required: !1 },
11
19
  showDeleteButton: { type: Boolean, default: !1 },
12
20
  checksumText: { type: String, default: "" },
13
21
  checksumDropdownText: { type: String, default: "" },
14
- uri: { type: String, default: "" }
22
+ uri: { type: String, default: "" },
23
+ distIndex: { type: Number, required: !1 }
15
24
  },
16
25
  emits: ["addChecksum", "deleteButtonClicked"],
17
- setup(u, { emit: f }) {
18
- const d = s([]);
19
- w(async () => {
20
- const e = x().appContext.app.config.globalProperties.$env;
26
+ setup(r, { expose: D, emit: T }) {
27
+ const c = n([]), { formValues: m } = z(), o = n(null), u = n(null);
28
+ P(async () => {
29
+ const t = A().appContext.app.config.globalProperties.$env;
21
30
  try {
22
- const t = await b(e.api.baseUrl);
23
- d.value = t.map((i) => ({
24
- "@value": i.value,
25
- label: i.label,
31
+ const e = await M(t.api.baseUrl);
32
+ c.value = e.map((p) => ({
33
+ "@value": p.value,
34
+ label: p.label,
26
35
  selected: !1,
27
- uri: i.resource
36
+ uri: p.resource
28
37
  }));
29
- } catch (t) {
30
- console.error("Failed to load checksum algorithms:", t);
38
+ } catch (e) {
39
+ console.error("Failed to load checksum algorithms:", e);
31
40
  }
32
41
  });
33
- const n = u, a = s(n.checksumText);
34
- s([]);
35
- const o = s(n.checksumDropdownText), r = f;
36
- let c = "";
37
- const h = (l) => {
38
- a.value = l.target.value, r(
42
+ const s = r, i = n(s.checksumText);
43
+ n([]);
44
+ const a = n(s.checksumDropdownText), h = T;
45
+ let k = "";
46
+ const y = () => {
47
+ const l = i.value && i.value.trim() !== "", t = a.value && a.value.trim() !== "";
48
+ let e = !1;
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(
39
52
  "addChecksum",
53
+ i.value,
40
54
  a.value,
41
- o.value,
42
- n.distributionId
55
+ s.distributionId
43
56
  );
44
- }, k = (l) => {
45
- o.value = l, c = d.value.find((e) => e["@value"] === l).uri || "", r(
57
+ }, S = (l) => {
58
+ var t;
59
+ a.value = l, k = ((t = c.value.find((e) => e["@value"] === l)) == null ? void 0 : t.uri) || "", h(
46
60
  "addChecksum",
61
+ i.value,
47
62
  a.value,
48
- o.value,
49
- n.distributionId,
50
- c
63
+ s.distributionId,
64
+ k
51
65
  );
52
66
  };
53
- p(
54
- () => n.checksumDropdownText,
67
+ g(
68
+ () => s.checksumDropdownText,
55
69
  (l) => {
56
- o.value = l;
70
+ a.value = l;
57
71
  }
58
- ), p(
59
- () => n.checksumText,
72
+ ), g(
73
+ () => s.checksumText,
60
74
  (l) => {
61
- a.value = l;
75
+ i.value = l;
62
76
  }
63
77
  );
64
- const v = () => {
65
- console.log("delete clicked"), o.value = "";
66
- }, g = () => {
67
- a.value = "";
78
+ const _ = () => {
79
+ m.value.DistributionSimple["dcat:distribution"][s.distIndex].checksum.uri = "", m.value.DistributionSimple["dcat:distribution"][s.distIndex].checksum["spdx:checksum"] = "", a.value = "", o.value = null;
80
+ }, B = () => {
81
+ m.value.DistributionSimple["dcat:distribution"][s.distIndex].checksum.title = "", i.value = "", u.value = null;
68
82
  };
69
- return (l, e) => (T(), I(V, null, [
70
- m(F, {
71
- onInput: e[0] || (e[0] = (t) => h(t)),
72
- modelValue: a.value,
73
- "onUpdate:modelValue": e[1] || (e[1] = (t) => a.value = t),
83
+ return D({
84
+ validateAllItems: C
85
+ }), (l, t) => (v(), f("div", q, [
86
+ d(O, {
87
+ onInput: t[0] || (t[0] = (e) => F(e)),
88
+ modelValue: i.value,
89
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => i.value = e),
74
90
  addOnText: !1,
75
91
  datePicker: !1,
76
92
  infoIcon: !1,
@@ -80,18 +96,25 @@ const y = {
80
96
  initialHintText: !1,
81
97
  label: "Prüfsumme",
82
98
  showEndIcon: !1,
83
- defaultInput: !u.showDeleteButton,
84
- onDeleteButtonClicked: g,
85
- class: C({ dpiV3_Space3: u.showDeleteButton })
99
+ defaultInput: !r.showDeleteButton,
100
+ onDeleteButtonClicked: B,
101
+ class: E({ dpiV3_Space3: r.showDeleteButton })
86
102
  }, null, 8, ["modelValue", "defaultInput", "class"]),
87
- m(D, {
103
+ u.value ? (v(), f("div", H, [
104
+ d(b(w), {
105
+ size: 16,
106
+ weight: "fill"
107
+ }),
108
+ V("span", W, I(u.value), 1)
109
+ ])) : x("", !0),
110
+ d(N, {
88
111
  "onUpdate:modelValue": [
89
- e[2] || (e[2] = (t) => k(t)),
90
- e[3] || (e[3] = (t) => o.value = t)
112
+ t[2] || (t[2] = (e) => S(e)),
113
+ t[3] || (t[3] = (e) => a.value = e)
91
114
  ],
92
115
  dropdownWidth: "large",
93
116
  type: "inputField",
94
- modelValue: o.value,
117
+ modelValue: a.value,
95
118
  inputFieldProps: {
96
119
  addOnText: !1,
97
120
  initialHintText: !1,
@@ -102,15 +125,22 @@ const y = {
102
125
  dropdown_dpiV3: !0,
103
126
  placeholder: "Geben Sie den Algorithmus ein...",
104
127
  inputFieldSize: "large",
105
- modelValue: o.value,
106
- defaultInput: !u.showDeleteButton
128
+ modelValue: a.value,
129
+ defaultInput: !r.showDeleteButton
107
130
  },
108
- data: d.value,
109
- onDeleteDropdownField: v
110
- }, null, 8, ["modelValue", "inputFieldProps", "data"])
111
- ], 64));
131
+ data: c.value,
132
+ onDeleteDropdownField: _
133
+ }, null, 8, ["modelValue", "inputFieldProps", "data"]),
134
+ o.value ? (v(), f("div", G, [
135
+ d(b(w), {
136
+ size: 16,
137
+ weight: "fill"
138
+ }),
139
+ V("span", L, I(o.value), 1)
140
+ ])) : x("", !0)
141
+ ]));
112
142
  }
113
- }, E = /* @__PURE__ */ B(y, [["__scopeId", "data-v-057ec666"]]);
143
+ }, ee = /* @__PURE__ */ U($, [["__scopeId", "data-v-a8f1bd35"]]);
114
144
  export {
115
- E as default
145
+ ee as default
116
146
  };
@@ -1,16 +1,20 @@
1
- import { ref as m, onMounted as U, createElementBlock as u, openBlock as s, normalizeClass as V, createCommentVNode as I, createBlock as y, Fragment as L, renderList as A, createElementVNode as R, createVNode as p, unref as i, isRef as M } from "vue";
2
- import b from "../ButtonV3.vue.js";
3
- import z from "../ModalSimpleV3.vue.js";
4
- import x from "../InputField.vue.js";
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";
2
+ import I from "../ButtonV3.vue.js";
3
+ import j from "../ModalSimpleV3.vue.js";
4
+ import w from "../InputField.vue.js";
5
+ import { PhWarning as Z } from "@phosphor-icons/vue";
5
6
  /* empty css */
6
- import D from "../../../../_virtual/_plugin-vue_export-helper.js";
7
- const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
7
+ import G from "../../../../_virtual/_plugin-vue_export-helper.js";
8
+ const J = { class: "dpiV3_LinkAndMetadata" }, K = {
8
9
  key: 0,
10
+ class: "dpiV3_errorMessage"
11
+ }, Q = {
12
+ key: 1,
9
13
  class: "copy-mini-regular dpiV3_text_error"
10
- }, F = {
14
+ }, X = {
11
15
  key: 0,
12
16
  class: "dpiV3_tempAddMore"
13
- }, N = {
17
+ }, Y = {
14
18
  __name: "ConformsToV3",
15
19
  props: {
16
20
  conformsToItems: { type: Array, required: !0 },
@@ -18,12 +22,15 @@ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
18
22
  asCard: { type: Boolean, required: !1, default: !1 },
19
23
  showDeleteButton: { type: Boolean, required: !1, default: !1 }
20
24
  },
21
- emits: ["update"],
22
- setup(l, { emit: S }) {
23
- let d = m({});
24
- const a = l, c = S, g = m(!1), C = m(null);
25
- let r = m(!1);
26
- U(() => {
25
+ emits: ["update", "validationChange"],
26
+ setup(d, { expose: k, emit: _ }) {
27
+ let s = h({});
28
+ const a = d, c = _, y = h(!1), V = h(null), i = L({}), v = L({});
29
+ let m = h(!1);
30
+ const T = N(() => Object.values(i).some((e) => e === !0)), z = () => {
31
+ c("validationChange", T.value);
32
+ };
33
+ P(() => {
27
34
  console.log(
28
35
  "Component Mounted: conformsToItems received for distributionId:",
29
36
  a.distributionId
@@ -35,57 +42,79 @@ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
35
42
  }
36
43
  ]));
37
44
  });
38
- const v = (e) => {
45
+ const p = (e) => {
46
+ if (!e || e.trim() === "") return !1;
47
+ const t = e.trim();
48
+ return /\.[a-zA-Z]{2,}$/.test(t);
49
+ }, g = (e) => {
50
+ const t = a.conformsToItems.find((o) => o.id === e);
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;
54
+ }
55
+ }, U = () => {
56
+ let e = !1;
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);
60
+ }), e;
61
+ }, A = (e) => {
39
62
  switch (e) {
40
63
  case "delete":
41
- w();
64
+ D();
42
65
  break;
43
66
  }
44
- }, k = () => {
45
- const n = {
46
- id: (a.conformsToItems.length ? Math.max(...a.conformsToItems.map((t) => t.id)) : 0) + 1,
67
+ }, E = () => {
68
+ if (U())
69
+ return;
70
+ const t = {
71
+ id: (a.conformsToItems.length ? Math.max(...a.conformsToItems.map((o) => o.id)) : 0) + 1,
47
72
  "dcat:downloadURL": "",
48
73
  "dct:title": ""
49
74
  };
50
- c("update", [...a.conformsToItems, n]);
51
- }, T = (e, n, t) => {
52
- var h;
53
- (h = e == null ? void 0 : e.target) == null || h.value;
54
- const o = a.conformsToItems.map(
55
- (f) => f.id === t ? { ...f, [n]: e.target.value } : f
75
+ c("update", [...a.conformsToItems, t]);
76
+ }, M = (e) => {
77
+ v[e] && clearTimeout(v[e]), v[e] = setTimeout(() => {
78
+ g(e);
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
56
85
  );
57
- c("update", o);
58
- }, _ = (e) => {
59
- d.value = {
86
+ c("update", n), M(o);
87
+ }, $ = (e) => {
88
+ s.value = {
60
89
  button: "Löschen",
61
90
  header: "Standard löschen",
62
91
  text: "Sind Sie sicher, dass Sie diesen Standard löschen wollen?",
63
92
  action: "delete",
64
93
  optionalString_1: e["dct:title"],
65
94
  optionalString_2: e["dcat:downloadURL"]
66
- }, r.value = !0, C.value = e;
67
- }, w = () => {
68
- if (a.conformsToItems.length === 1) {
69
- g.value = !0;
70
- return;
71
- }
95
+ }, m.value = !0, V.value = e;
96
+ }, D = () => {
72
97
  const e = a.conformsToItems.filter(
73
- (n) => n.id !== C.value.id
98
+ (t) => t.id !== V.value.id
74
99
  );
75
- c("update", e);
76
- }, B = (e) => {
77
- e["dct:title"] = "";
100
+ delete i[V.value.id], c("update", e), z();
101
+ }, F = (e) => {
102
+ e["dct:title"] = "", g(e.id);
78
103
  };
79
- return (e, n) => (s(), u("div", {
80
- class: V(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: l.asCard }])
104
+ return k({
105
+ validateAllItems: U,
106
+ hasValidationErrors: T
107
+ }), (e, t) => (r(), u("div", {
108
+ class: S(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: d.asCard }])
81
109
  }, [
82
- (s(!0), u(L, null, A(l.conformsToItems, (t) => (s(), u("div", {
83
- key: t.id,
84
- class: V(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: l.asCard }])
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 }])
85
113
  }, [
86
- R("div", $, [
87
- p(x, {
88
- onInput: (o) => T(o, "dcat:downloadURL", t.id),
114
+ R("div", J, [
115
+ f(w, {
116
+ onInput: (n) => B(n, "dcat:downloadURL", o.id),
117
+ onBlur: (n) => g(o.id),
89
118
  addOnText: !1,
90
119
  datePicker: !1,
91
120
  infoIcon: !1,
@@ -95,11 +124,19 @@ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
95
124
  initialHintText: !1,
96
125
  label: "URL",
97
126
  showEndIcon: !1,
98
- modelValue: t["dcat:downloadURL"],
99
- "onUpdate:modelValue": (o) => t["dcat:downloadURL"] = o
100
- }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
101
- p(x, {
102
- onInput: (o) => T(o, "dct:title", t.id),
127
+ modelValue: o["dcat:downloadURL"],
128
+ "onUpdate:modelValue": (n) => o["dcat:downloadURL"] = n
129
+ }, null, 8, ["onInput", "onBlur", "modelValue", "onUpdate:modelValue"]),
130
+ i[o.id] ? (r(), u("div", K, [
131
+ f(l(Z), {
132
+ size: 16,
133
+ weight: "fill"
134
+ }),
135
+ t[2] || (t[2] = R("span", { class: "copy-mini-regular" }, "Bitte geben Sie eine gültige URL ein.", -1))
136
+ ])) : b("", !0),
137
+ f(w, {
138
+ onInput: (n) => B(n, "dct:title", o.id),
139
+ onBlur: (n) => g(o.id),
103
140
  addOnText: !1,
104
141
  datePicker: !1,
105
142
  infoIcon: !1,
@@ -111,14 +148,14 @@ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
111
148
  "message.dataupload.datasets.dcat:distribution.distribution-title.label"
112
149
  ),
113
150
  showEndIcon: !1,
114
- modelValue: t["dct:title"],
115
- "onUpdate:modelValue": (o) => t["dct:title"] = o,
116
- defaultInput: !l.showDeleteButton,
117
- onDeleteButtonClicked: (o) => B(t)
118
- }, null, 8, ["onInput", "label", "modelValue", "onUpdate:modelValue", "defaultInput", "onDeleteButtonClicked"]),
119
- g.value && l.conformsToItems.length === 1 ? (s(), u("p", E, " Mindestens eine URL muss vorhanden sein. ")) : I("", !0)
151
+ modelValue: o["dct:title"],
152
+ "onUpdate:modelValue": (n) => o["dct:title"] = n,
153
+ defaultInput: !d.showDeleteButton,
154
+ onDeleteButtonClicked: (n) => F(o)
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)
120
157
  ]),
121
- p(b, {
158
+ f(I, {
122
159
  class: "dpiV3_tempAddMore",
123
160
  buttonText: e.$t(
124
161
  "message.dataupload.datasets.dcat:distribution.advanced.documentation.delete"
@@ -126,32 +163,32 @@ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
126
163
  size: "small",
127
164
  iconStart: "trash",
128
165
  variant: "tertiary",
129
- onClick: (o) => _(t)
166
+ onClick: (n) => $(o)
130
167
  }, null, 8, ["buttonText", "onClick"])
131
168
  ], 2))), 128)),
132
- l.asCard ? I("", !0) : (s(), u("div", F, [
133
- p(b, {
169
+ d.asCard ? b("", !0) : (r(), u("div", X, [
170
+ f(I, {
134
171
  buttonText: "Weitere Standards hinzufügen",
135
172
  size: "small",
136
173
  iconStart: "plus",
137
174
  variant: "tertiary",
138
- onClick: k
175
+ onClick: E
139
176
  })
140
177
  ])),
141
- i(r) ? (s(), y(z, {
178
+ l(m) ? (r(), q(j, {
142
179
  key: 1,
143
- buttons: i(d).button,
144
- headerText: i(d).header,
145
- text: i(d).text,
146
- onClose: n[0] || (n[0] = (t) => M(r) ? r.value = !1 : r = !1),
147
- action: i(d).action,
148
- onActionHandling: n[1] || (n[1] = (t) => v(t)),
149
- optionalString_1: i(d).optionalString_1,
150
- optionalString_2: i(d).optionalString_2
151
- }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : I("", !0)
180
+ buttons: l(s).button,
181
+ headerText: l(s).header,
182
+ text: l(s).text,
183
+ onClose: t[0] || (t[0] = (o) => O(m) ? m.value = !1 : m = !1),
184
+ action: l(s).action,
185
+ onActionHandling: t[1] || (t[1] = (o) => A(o)),
186
+ optionalString_1: l(s).optionalString_1,
187
+ optionalString_2: l(s).optionalString_2
188
+ }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : b("", !0)
152
189
  ], 2));
153
190
  }
154
- }, G = /* @__PURE__ */ D(N, [["__scopeId", "data-v-aab2720a"]]);
191
+ }, de = /* @__PURE__ */ G(Y, [["__scopeId", "data-v-501b6eb9"]]);
155
192
  export {
156
- G as default
193
+ de as default
157
194
  };