@piveau/dpi 0.1.0-beta.65 → 0.1.0-beta.66
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/RapModal.vue.js +28 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +54 -42
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +151 -123
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +188 -188
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as f, computed as
|
|
1
|
+
import { ref as f, computed as M, resolveComponent as S, createElementBlock as m, openBlock as o, createElementVNode as p, createBlock as V, createCommentVNode as u, toDisplayString as R, createVNode as l, withCtx as x, unref as B, Fragment as Q, renderList as X } from "vue";
|
|
2
2
|
import { useI18n as Y } from "vue-i18n";
|
|
3
3
|
import { PhWarning as ee } from "@phosphor-icons/vue";
|
|
4
4
|
import te from "./CrossOutButton.vue.js";
|
|
@@ -16,7 +16,7 @@ import re from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
16
16
|
const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOuter" }, ve = { class: "dpiV3_RapModalInner" }, fe = { class: "dpiV3_modalHead" }, me = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "headline"
|
|
19
|
-
}, pe = { class: "dpiV3_closeButtonContainer" }, _e = { class: "dpiV3_modalBody" },
|
|
19
|
+
}, pe = { class: "dpiV3_closeButtonContainer" }, _e = { class: "dpiV3_modalBody" }, he = { key: 0 }, ge = {
|
|
20
20
|
key: 2,
|
|
21
21
|
id: "essentials"
|
|
22
22
|
}, be = {
|
|
@@ -35,8 +35,8 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
35
35
|
emits: ["close"],
|
|
36
36
|
setup(d, { emit: A }) {
|
|
37
37
|
const { t: L } = Y(), a = d;
|
|
38
|
-
let
|
|
39
|
-
const { formValues: h } = ce(), w = A, D = f(null),
|
|
38
|
+
let C = f();
|
|
39
|
+
const { formValues: h } = ce(), w = A, D = f(null), g = f(null), b = f(null), n = f(!1), y = f(null), J = {
|
|
40
40
|
findabilityHvd: "message.dataupload.datasets.rap.findability.title",
|
|
41
41
|
essentials: "message.dataupload.datasets.rap.essentials.title",
|
|
42
42
|
coverage: "message.dataupload.datasets.rap.coverage.title",
|
|
@@ -44,21 +44,21 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
44
44
|
additionals: "message.metadata.additionals"
|
|
45
45
|
};
|
|
46
46
|
console.log(h.value);
|
|
47
|
-
const
|
|
47
|
+
const I = M(() => {
|
|
48
48
|
const e = J[a.activeSection];
|
|
49
49
|
return e ? L(e) : "";
|
|
50
|
-
}),
|
|
50
|
+
}), E = M(() => {
|
|
51
51
|
var i, r;
|
|
52
52
|
const e = (r = (i = h.value) == null ? void 0 : i.Discoverability) == null ? void 0 : r.discoverabilityPage;
|
|
53
53
|
return !e || !Array.isArray(e) ? !1 : e.filter((v) => v.id && v.label).length > 0;
|
|
54
|
-
}), K = () => a.activeSection === "findabilityHvd" && !
|
|
54
|
+
}), K = () => a.activeSection === "findabilityHvd" && !E.value ? (n.value = !0, !1) : (n.value = !1, !0), F = () => a.activeSection === "distributions" && (console.log(y.value && !y.value.isValid), y.value && !y.value.isValid) ? (n.value = !0, !1) : (n.value = !1, !0), j = () => a.activeSection === "essentials" && g.value && !g.value.isValid ? (n.value = !0, !1) : (n.value = !1, !0), q = () => a.activeSection === "coverage" && b.value && b.value.validateAllItems() ? (n.value = !0, !1) : (n.value = !1, !0), H = () => a.activeSection === "findabilityHvd" ? K() : a.activeSection === "essentials" ? j() : a.activeSection === "coverage" ? q() : a.activeSection === "distributions" ? (console.log("hey" + F()), F()) : (n.value = !1, !0), T = M(() => a.activeSection === "findabilityHvd" && !E.value ? ["Bitte wählen Sie mindestens eine Kategorie aus, bevor Sie fortfahren."] : a.activeSection === "essentials" && g.value && !g.value.isValid ? ["Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren."] : a.activeSection === "coverage" && b.value && b.value.validateAllItems() ? ["Bitte füllen Sie alle erforderlichen Felder aus, wenn ein Feld ausgefüllt ist."] : []), N = () => {
|
|
55
55
|
H() && W();
|
|
56
56
|
}, W = () => {
|
|
57
57
|
n.value = !1, w("close");
|
|
58
|
-
}, c =
|
|
58
|
+
}, c = M(() => h.value.BasicInfos), z = (e, t) => {
|
|
59
59
|
var i;
|
|
60
60
|
return ((i = e == null ? void 0 : e.find((r) => r["@language"] === t)) == null ? void 0 : i["@value"]) || "";
|
|
61
|
-
},
|
|
61
|
+
}, _ = (e, t) => {
|
|
62
62
|
var i;
|
|
63
63
|
return ((i = e == null ? void 0 : e[0]) == null ? void 0 : i[t]) || "";
|
|
64
64
|
}, U = (e) => {
|
|
@@ -68,12 +68,12 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
68
68
|
title: z(c.value["dct:title"], "de"),
|
|
69
69
|
description: z(c.value["dct:description"], "de"),
|
|
70
70
|
modified: U(c.value["dct:modified"]),
|
|
71
|
-
publisherName:
|
|
72
|
-
publisherMail:
|
|
73
|
-
publisherWebsite:
|
|
74
|
-
contactPointName:
|
|
75
|
-
contactPointMail:
|
|
76
|
-
contactPointPhone:
|
|
71
|
+
publisherName: _(c.value["dct:publisher"], "foaf:name"),
|
|
72
|
+
publisherMail: _(c.value["dct:publisher"], "foaf:mbox"),
|
|
73
|
+
publisherWebsite: _(c.value["dct:publisher"], "foaf:homepage"),
|
|
74
|
+
contactPointName: _(c.value["dcat:contactPoint"], "vcard:fn"),
|
|
75
|
+
contactPointMail: _(c.value["dcat:contactPoint"], "vcard:hasEmail"),
|
|
76
|
+
contactPointPhone: _(c.value["dcat:contactPoint"], "vcard:hasTelephone")
|
|
77
77
|
}), O = (e, t, i, r) => {
|
|
78
78
|
e[t] || (e[t] = []);
|
|
79
79
|
const v = e[t].find((P) => P["@language"] === r);
|
|
@@ -101,7 +101,7 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
101
101
|
p("div", de, [
|
|
102
102
|
p("div", ve, [
|
|
103
103
|
p("div", fe, [
|
|
104
|
-
|
|
104
|
+
I.value ? (o(), m("div", me, R(I.value), 1)) : u("", !0),
|
|
105
105
|
p("div", pe, [
|
|
106
106
|
l(te, {
|
|
107
107
|
onClick: N,
|
|
@@ -111,7 +111,7 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
111
111
|
])
|
|
112
112
|
]),
|
|
113
113
|
p("div", _e, [
|
|
114
|
-
a.activeSection === "findabilityHvd" ? (o(), m("span",
|
|
114
|
+
a.activeSection === "findabilityHvd" ? (o(), m("span", he, R(e.$t("message.metadata.categories")), 1)) : u("", !0),
|
|
115
115
|
a.activeSection === "findabilityHvd" ? (o(), V(i, {
|
|
116
116
|
key: 1,
|
|
117
117
|
class: "findability-container"
|
|
@@ -126,21 +126,21 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
126
126
|
]),
|
|
127
127
|
_: 1
|
|
128
128
|
})) : u("", !0),
|
|
129
|
-
a.activeSection === "essentials" ? (o(), m("div",
|
|
129
|
+
a.activeSection === "essentials" ? (o(), m("div", ge, [
|
|
130
130
|
l(oe, {
|
|
131
131
|
context: d.context,
|
|
132
|
-
newValues: C
|
|
132
|
+
newValues: B(C),
|
|
133
133
|
modelValue: s.value,
|
|
134
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
134
|
+
"onUpdate:modelValue": t[0] || (t[0] = (k) => s.value = k),
|
|
135
135
|
ref_key: "essentialsModalRef",
|
|
136
|
-
ref:
|
|
136
|
+
ref: g
|
|
137
137
|
}, null, 8, ["context", "newValues", "modelValue"])
|
|
138
138
|
])) : u("", !0),
|
|
139
139
|
a.activeSection === "coverage" ? (o(), V(r, { key: 3 }, {
|
|
140
140
|
default: x(() => [
|
|
141
141
|
l(se, {
|
|
142
142
|
context: d.context,
|
|
143
|
-
newValues: C
|
|
143
|
+
newValues: B(C),
|
|
144
144
|
ref_key: "coverageModalRef",
|
|
145
145
|
ref: b
|
|
146
146
|
}, null, 8, ["context", "newValues"])
|
|
@@ -151,7 +151,7 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
151
151
|
default: x(() => [
|
|
152
152
|
l(ne, {
|
|
153
153
|
context: d.context,
|
|
154
|
-
newValues: C
|
|
154
|
+
newValues: B(C),
|
|
155
155
|
ref_key: "distributionModalRef",
|
|
156
156
|
ref: y
|
|
157
157
|
}, null, 8, ["context", "newValues"])
|
|
@@ -168,15 +168,15 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
168
168
|
_: 1
|
|
169
169
|
})) : u("", !0),
|
|
170
170
|
n.value && T.value.length > 0 ? (o(), m("div", be, [
|
|
171
|
-
l(
|
|
171
|
+
l(B(ee), {
|
|
172
172
|
size: 16,
|
|
173
173
|
weight: "fill"
|
|
174
174
|
}),
|
|
175
175
|
p("div", ye, [
|
|
176
|
-
(o(!0), m(Q, null, X(T.value, (
|
|
177
|
-
key:
|
|
176
|
+
(o(!0), m(Q, null, X(T.value, (k) => (o(), m("span", {
|
|
177
|
+
key: k,
|
|
178
178
|
class: "copy-mini-regular"
|
|
179
|
-
}, R(
|
|
179
|
+
}, R(k), 1))), 128))
|
|
180
180
|
])
|
|
181
181
|
])) : u("", !0)
|
|
182
182
|
])
|
|
@@ -207,7 +207,7 @@ const ue = { class: "dpiV3_RapModalContainer" }, de = { class: "dpiV3_RapModalOu
|
|
|
207
207
|
]);
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
}, ze = /* @__PURE__ */ re(Ve, [["__scopeId", "data-v-
|
|
210
|
+
}, ze = /* @__PURE__ */ re(Ve, [["__scopeId", "data-v-6dbcc9d0"]]);
|
|
211
211
|
export {
|
|
212
212
|
ze as default
|
|
213
213
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as F, getCurrentInstance as
|
|
1
|
+
import { ref as F, getCurrentInstance as Ve, reactive as Ue, watch as we, computed as ue, resolveComponent as Y, createElementBlock as h, openBlock as s, Fragment as q, createVNode as b, createCommentVNode as c, withCtx as G, createTextVNode as Re, toDisplayString as T, createBlock as d, renderList as Q, createElementVNode as B, unref as k, isRef as ie } from "vue";
|
|
2
2
|
import le from "../ButtonV3.vue.js";
|
|
3
3
|
import L from "../InputField.vue.js";
|
|
4
4
|
import se from "../TextAreaV3.vue.js";
|
|
5
5
|
import ae from "../Dropdown.vue.js";
|
|
6
6
|
import { PhWarning as E } from "@phosphor-icons/vue";
|
|
7
7
|
import "@formkit/core";
|
|
8
|
-
import { getOptionalURIs as
|
|
9
|
-
import { useFormValues as
|
|
10
|
-
import
|
|
8
|
+
import { getOptionalURIs as Be } from "../../services/dpiV3_apis.js";
|
|
9
|
+
import { useFormValues as Se } from "../../../composables/useDpiFormValues.js";
|
|
10
|
+
import Ie from "../TextButtonSmall.vue.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
const
|
|
12
|
+
const Te = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "dpiV3_errorMessage"
|
|
15
15
|
}, Ae = { class: "copy-mini-regular" }, Ce = {
|
|
@@ -41,8 +41,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
41
41
|
},
|
|
42
42
|
setup(e, { emit: me }) {
|
|
43
43
|
const ne = me;
|
|
44
|
-
let Z = F([{}]), P = F([]), J = F(!1), p = F(), ce =
|
|
45
|
-
const { formValues: X } =
|
|
44
|
+
let Z = F([{}]), P = F([]), J = F(!1), p = F(), ce = Ve().appContext.app.config.globalProperties.$env;
|
|
45
|
+
const { formValues: X } = Se(), l = Ue({}), n = F([]), A = e;
|
|
46
46
|
we(
|
|
47
47
|
() => {
|
|
48
48
|
var t;
|
|
@@ -90,21 +90,21 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
90
90
|
if (!v.trim() || !g(v))
|
|
91
91
|
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
92
92
|
case "source":
|
|
93
|
-
const U = t["@id"] || "";
|
|
94
|
-
if (!U.trim() || !g(U))
|
|
95
|
-
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
96
|
-
case "hasVersion":
|
|
97
93
|
const V = t["@id"] || "";
|
|
98
94
|
if (!V.trim() || !g(V))
|
|
99
95
|
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
96
|
+
case "hasVersion":
|
|
97
|
+
const U = t["@id"] || "";
|
|
98
|
+
if (!U.trim() || !g(U))
|
|
99
|
+
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
100
100
|
case "isVersionOf":
|
|
101
101
|
const R = t["@id"] || "";
|
|
102
102
|
if (!R.trim() || !g(R))
|
|
103
103
|
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
104
104
|
break;
|
|
105
105
|
case "isReferencedBy":
|
|
106
|
-
const
|
|
107
|
-
if (!
|
|
106
|
+
const S = t["@id"] || "";
|
|
107
|
+
if (!S.trim() || !g(S))
|
|
108
108
|
return l[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
109
109
|
break;
|
|
110
110
|
case "references":
|
|
@@ -138,11 +138,11 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
138
138
|
"Second"
|
|
139
139
|
];
|
|
140
140
|
if (W.some((j) => {
|
|
141
|
-
const
|
|
142
|
-
return
|
|
141
|
+
const I = N[j];
|
|
142
|
+
return I && typeof I == "string" && I.trim() !== "";
|
|
143
143
|
})) {
|
|
144
|
-
if (W.filter((
|
|
145
|
-
const O = N[
|
|
144
|
+
if (W.filter((I) => {
|
|
145
|
+
const O = N[I];
|
|
146
146
|
return !O || typeof O == "string" && O.trim() === "";
|
|
147
147
|
}).length > 0)
|
|
148
148
|
return l[a] = "Alle Zeiteinheiten sind erforderlich", !1;
|
|
@@ -169,7 +169,19 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
169
169
|
"conformsTo",
|
|
170
170
|
"temporalResolution",
|
|
171
171
|
"creator",
|
|
172
|
-
"contributor"
|
|
172
|
+
"contributor",
|
|
173
|
+
"page",
|
|
174
|
+
"landingPage",
|
|
175
|
+
"admsIdentifier",
|
|
176
|
+
"spatial",
|
|
177
|
+
"relation",
|
|
178
|
+
"qualifiedRelation",
|
|
179
|
+
"qualifiedAttribution",
|
|
180
|
+
"source",
|
|
181
|
+
"hasVersion",
|
|
182
|
+
"isVersionOf",
|
|
183
|
+
"isReferencedBy",
|
|
184
|
+
"references"
|
|
173
185
|
].includes(r) && n.value.forEach((a, f) => {
|
|
174
186
|
K(a, f) || (t = !1);
|
|
175
187
|
}), t;
|
|
@@ -224,7 +236,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
224
236
|
}
|
|
225
237
|
}
|
|
226
238
|
if (u === "auto") {
|
|
227
|
-
let a = F(await
|
|
239
|
+
let a = F(await Be(r, ce.api.baseUrl, t));
|
|
228
240
|
if (r !== "")
|
|
229
241
|
try {
|
|
230
242
|
const f = {
|
|
@@ -251,7 +263,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
251
263
|
return s(), h(q, null, [
|
|
252
264
|
b(u, null, {
|
|
253
265
|
default: G(() => [
|
|
254
|
-
Re(
|
|
266
|
+
Re(T(e.item.help), 1)
|
|
255
267
|
]),
|
|
256
268
|
_: 1
|
|
257
269
|
}),
|
|
@@ -265,9 +277,9 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
265
277
|
(i) => i.$formkit !== "group"
|
|
266
278
|
), (i, v) => (s(), d(a, { key: v }, {
|
|
267
279
|
default: G(() => {
|
|
268
|
-
var
|
|
280
|
+
var V, U, R, S, C, z, H, M, N, W, _, ee, te, j, I, O, oe;
|
|
269
281
|
return [
|
|
270
|
-
|
|
282
|
+
B("div", Te, [
|
|
271
283
|
i.$formkit === "url" && e.item.name === "@id" ? (s(), d(L, {
|
|
272
284
|
key: 0,
|
|
273
285
|
label: i.label,
|
|
@@ -278,8 +290,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
278
290
|
"show-error": !!l[`${e.item.identifier}-${o}`],
|
|
279
291
|
onInput: (m) => w(m, e.item.name, o, "@id"),
|
|
280
292
|
initialHintText: !1,
|
|
281
|
-
"model-value": (
|
|
282
|
-
"v-model": (
|
|
293
|
+
"model-value": (V = n.value[o]) == null ? void 0 : V["@id"],
|
|
294
|
+
"v-model": (U = n.value[o]) == null ? void 0 : U["@id"]
|
|
283
295
|
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
284
296
|
i.$formkit === "url" && e.item.name != "@id" ? (s(), d(L, {
|
|
285
297
|
key: 1,
|
|
@@ -292,14 +304,14 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
292
304
|
onInput: (m) => w(m, e.item.name, o, i.name),
|
|
293
305
|
initialHintText: !1,
|
|
294
306
|
"model-value": (R = n.value[o]) == null ? void 0 : R[i.name],
|
|
295
|
-
"v-model": (
|
|
307
|
+
"v-model": (S = n.value[o]) == null ? void 0 : S[i.name]
|
|
296
308
|
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
297
309
|
i.$formkit === "url" && i.label != "Homepage" && i.label != "Contributor Homepage" && e.item.name != "@id" && l[`${e.item.identifier}-${o}`] ? (s(), h("div", Le, [
|
|
298
310
|
b(k(E), {
|
|
299
311
|
size: 16,
|
|
300
312
|
weight: "fill"
|
|
301
313
|
}),
|
|
302
|
-
|
|
314
|
+
B("span", Ae, T(l[`${e.item.identifier}-${o}`]), 1)
|
|
303
315
|
])) : c("", !0),
|
|
304
316
|
i.$formkit === "text" && e.item.name === "@value" ? (s(), d(L, {
|
|
305
317
|
key: 3,
|
|
@@ -319,7 +331,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
319
331
|
size: 16,
|
|
320
332
|
weight: "fill"
|
|
321
333
|
}),
|
|
322
|
-
|
|
334
|
+
B("span", Fe, T(l[`${e.item.identifier}-${o}`]), 1)
|
|
323
335
|
])) : c("", !0),
|
|
324
336
|
i.$formkit === "text" && e.item.name != "@value" ? (s(), d(L, {
|
|
325
337
|
key: 5,
|
|
@@ -339,7 +351,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
339
351
|
size: 16,
|
|
340
352
|
weight: "fill"
|
|
341
353
|
}),
|
|
342
|
-
|
|
354
|
+
B("span", Oe, T(l[`${e.item.identifier}-${o}`]), 1)
|
|
343
355
|
])) : c("", !0),
|
|
344
356
|
i.$formkit === "select" && i.identifier !== "language" ? (s(), d(ae, {
|
|
345
357
|
key: 7,
|
|
@@ -408,7 +420,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
408
420
|
i.$formkit === "textarea" && e.item.name != "@value" ? (s(), d(se, {
|
|
409
421
|
key: 10,
|
|
410
422
|
label: i.label,
|
|
411
|
-
placeholder: ((
|
|
423
|
+
placeholder: ((I = n.value[o]) == null ? void 0 : I[i.name]) || e.item.placeholder,
|
|
412
424
|
infoIcon: !1,
|
|
413
425
|
preIcon: !1,
|
|
414
426
|
showEndIcon: !1,
|
|
@@ -439,9 +451,9 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
439
451
|
size: 16,
|
|
440
452
|
weight: "fill"
|
|
441
453
|
}),
|
|
442
|
-
|
|
454
|
+
B("span", ze, T(l[`${e.item.identifier}-${o}`]), 1)
|
|
443
455
|
])) : c("", !0),
|
|
444
|
-
b(
|
|
456
|
+
b(Ie, {
|
|
445
457
|
"button-text": "löschen",
|
|
446
458
|
class: "rightAlign",
|
|
447
459
|
onClick: (i) => he(e.item.name, o)
|
|
@@ -451,7 +463,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
451
463
|
default: G(() => {
|
|
452
464
|
var y, o;
|
|
453
465
|
return [
|
|
454
|
-
|
|
466
|
+
B("div", He, [
|
|
455
467
|
e.item.$formkit === "simpleInput" ? (s(), d(L, {
|
|
456
468
|
key: 0,
|
|
457
469
|
label: e.item.label,
|
|
@@ -469,10 +481,10 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
469
481
|
size: 16,
|
|
470
482
|
weight: "fill"
|
|
471
483
|
}),
|
|
472
|
-
|
|
484
|
+
B("span", Ne, T(l[e.item.identifier]), 1)
|
|
473
485
|
])) : c("", !0),
|
|
474
486
|
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit !== "date" ? (s(!0), h(q, { key: 2 }, Q(e.item.children, (i, v) => {
|
|
475
|
-
var
|
|
487
|
+
var V, U;
|
|
476
488
|
return s(), d(L, {
|
|
477
489
|
key: v,
|
|
478
490
|
label: i.label,
|
|
@@ -483,8 +495,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
483
495
|
"show-error": !!l[e.item.identifier],
|
|
484
496
|
onInput: (R) => w(R, e.item.name, v, i.name),
|
|
485
497
|
initialHintText: !1,
|
|
486
|
-
"model-value": (
|
|
487
|
-
"v-model": (
|
|
498
|
+
"model-value": (V = n.value[v]) == null ? void 0 : V[i.name],
|
|
499
|
+
"v-model": (U = n.value[v]) == null ? void 0 : U[i.name]
|
|
488
500
|
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"]);
|
|
489
501
|
}), 128)) : c("", !0),
|
|
490
502
|
re.value ? (s(), h("div", We, [
|
|
@@ -492,10 +504,10 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
492
504
|
size: 16,
|
|
493
505
|
weight: "fill"
|
|
494
506
|
}),
|
|
495
|
-
|
|
507
|
+
B("span", je, T(re.value.message), 1)
|
|
496
508
|
])) : c("", !0),
|
|
497
509
|
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit === "date" ? (s(!0), h(q, { key: 4 }, Q(e.item.children, (i, v) => {
|
|
498
|
-
var
|
|
510
|
+
var V, U, R, S;
|
|
499
511
|
return s(), d(L, {
|
|
500
512
|
key: v,
|
|
501
513
|
label: i.label,
|
|
@@ -508,8 +520,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
508
520
|
"show-error": !1,
|
|
509
521
|
onInput: (C) => w(C, e.item.name, v, i.name),
|
|
510
522
|
initialHintText: !1,
|
|
511
|
-
"model-value": (
|
|
512
|
-
"v-model": (
|
|
523
|
+
"model-value": (U = (V = n.value[v]) == null ? void 0 : V[i.name]) == null ? void 0 : U["@value"],
|
|
524
|
+
"v-model": (S = (R = n.value[v]) == null ? void 0 : R[i.name]) == null ? void 0 : S["@value"]
|
|
513
525
|
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"]);
|
|
514
526
|
}), 128)) : c("", !0),
|
|
515
527
|
e.item.$formkit === "auto" ? (s(), d(ae, {
|
|
@@ -544,7 +556,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
544
556
|
size: 16,
|
|
545
557
|
weight: "fill"
|
|
546
558
|
}),
|
|
547
|
-
|
|
559
|
+
B("span", Ge, T(l[e.item.identifier]), 1)
|
|
548
560
|
])) : c("", !0)
|
|
549
561
|
])
|
|
550
562
|
];
|
|
@@ -566,7 +578,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Le = {
|
|
|
566
578
|
])) : c("", !0),
|
|
567
579
|
b($, { class: "dpiV3_interactionWrap" }, {
|
|
568
580
|
default: G(() => [
|
|
569
|
-
|
|
581
|
+
B("div", Je, [
|
|
570
582
|
b(le, {
|
|
571
583
|
onClick: ve,
|
|
572
584
|
buttonText: "Zurück",
|