@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.
- package/dist/assets/dpi.css +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +20 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +27 -27
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +41 -41
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +89 -89
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +141 -133
- package/dist/data-provider-interface/components/DistLicense.vue.js +17 -17
- package/dist/data-provider-interface/views/InputPage.vue.js +14 -13
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as h, reactive as T, onMounted as
|
|
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
|
|
3
|
+
import w from "../ButtonV3.vue.js";
|
|
4
4
|
import W from "../ModalSimpleV3.vue.js";
|
|
5
|
-
import
|
|
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
|
-
|
|
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
|
|
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
|
-
},
|
|
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
|
|
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 (
|
|
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
|
-
(
|
|
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:
|
|
99
|
+
validateAllItems: L
|
|
100
100
|
}), (t, i) => (r(), c("div", {
|
|
101
|
-
class:
|
|
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:
|
|
105
|
+
class: S(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: a.asCard }])
|
|
106
106
|
}, [
|
|
107
|
-
|
|
108
|
-
u(
|
|
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
|
-
|
|
127
|
+
B("span", j, N(l[e.id]), 1)
|
|
128
128
|
])) : g("", !0),
|
|
129
|
-
u(
|
|
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(
|
|
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(
|
|
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(),
|
|
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-
|
|
186
|
+
}, oe = /* @__PURE__ */ H(K, [["__scopeId", "data-v-b735c5bd"]]);
|
|
187
187
|
export {
|
|
188
188
|
oe as default
|
|
189
189
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as n, onMounted as P, getCurrentInstance as A, watch as
|
|
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
|
|
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:
|
|
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((
|
|
33
|
-
"@value":
|
|
34
|
-
label:
|
|
32
|
+
c.value = e.map((f) => ({
|
|
33
|
+
"@value": f.value,
|
|
34
|
+
label: f.label,
|
|
35
35
|
selected: !1,
|
|
36
|
-
uri:
|
|
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),
|
|
45
|
-
let
|
|
46
|
-
const
|
|
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 = () => !
|
|
51
|
-
i.value = l.target.value,
|
|
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,
|
|
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
|
-
|
|
65
|
-
);
|
|
64
|
+
g
|
|
65
|
+
), p();
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
b(
|
|
68
68
|
() => s.checksumDropdownText,
|
|
69
69
|
(l) => {
|
|
70
70
|
a.value = l;
|
|
71
71
|
}
|
|
72
|
-
),
|
|
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
|
|
83
|
+
return T({
|
|
84
84
|
validateAllItems: C
|
|
85
|
-
}), (l, t) => (
|
|
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 ? (
|
|
104
|
-
d(
|
|
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,
|
|
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 ? (
|
|
135
|
-
d(
|
|
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,
|
|
139
|
+
V("span", L, w(o.value), 1)
|
|
140
140
|
])) : x("", !0)
|
|
141
141
|
]));
|
|
142
142
|
}
|
|
143
|
-
}, ee = /* @__PURE__ */ U($, [["__scopeId", "data-v-
|
|
143
|
+
}, ee = /* @__PURE__ */ U($, [["__scopeId", "data-v-3e3b145b"]]);
|
|
144
144
|
export {
|
|
145
145
|
ee as default
|
|
146
146
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as h, reactive as
|
|
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),
|
|
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)),
|
|
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((
|
|
50
|
+
const t = a.conformsToItems.find((n) => n.id === e);
|
|
51
51
|
if (t) {
|
|
52
|
-
const
|
|
53
|
-
|
|
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
|
|
59
|
-
|
|
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
|
-
},
|
|
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((
|
|
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,
|
|
81
|
-
var
|
|
82
|
-
(
|
|
83
|
-
const
|
|
84
|
-
(C) => C.id ===
|
|
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",
|
|
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,
|
|
95
|
+
}, m.value = !0, b.value = e;
|
|
96
96
|
}, D = () => {
|
|
97
97
|
const e = a.conformsToItems.filter(
|
|
98
|
-
(t) => t.id !==
|
|
98
|
+
(t) => t.id !== b.value.id
|
|
99
99
|
);
|
|
100
|
-
delete i[
|
|
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:
|
|
108
|
+
class: x(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: d.asCard }])
|
|
109
109
|
}, [
|
|
110
|
-
(r(!0), u(W, null, H(d.conformsToItems, (
|
|
111
|
-
key:
|
|
112
|
-
class:
|
|
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: (
|
|
117
|
-
onBlur: (
|
|
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:
|
|
128
|
-
"onUpdate:modelValue": (
|
|
127
|
+
modelValue: n["dcat:downloadURL"],
|
|
128
|
+
"onUpdate:modelValue": (o) => n["dcat:downloadURL"] = o
|
|
129
129
|
}, null, 8, ["onInput", "onBlur", "modelValue", "onUpdate:modelValue"]),
|
|
130
|
-
i[
|
|
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
|
-
])) :
|
|
136
|
+
])) : V("", !0),
|
|
137
137
|
f(w, {
|
|
138
|
-
onInput: (
|
|
139
|
-
onBlur: (
|
|
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:
|
|
152
|
-
"onUpdate:modelValue": (
|
|
151
|
+
modelValue: n["dct:title"],
|
|
152
|
+
"onUpdate:modelValue": (o) => n["dct:title"] = o,
|
|
153
153
|
defaultInput: !d.showDeleteButton,
|
|
154
|
-
onDeleteButtonClicked: (
|
|
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. ")) :
|
|
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: (
|
|
166
|
+
onClick: (o) => $(n)
|
|
167
167
|
}, null, 8, ["buttonText", "onClick"])
|
|
168
168
|
], 2))), 128)),
|
|
169
|
-
d.asCard ?
|
|
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] = (
|
|
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] = (
|
|
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"])) :
|
|
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-
|
|
191
|
+
}, de = /* @__PURE__ */ G(Y, [["__scopeId", "data-v-83f24ca4"]]);
|
|
192
192
|
export {
|
|
193
193
|
de as default
|
|
194
194
|
};
|