@piveau/dpi 0.1.0-beta.45 → 0.1.0-beta.47
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/services/dpiV3_apis.js +43 -43
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +316 -302
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +32 -36
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +120 -105
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +40 -40
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +44 -48
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +57 -61
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +61 -45
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +394 -378
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +42 -42
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +3 -3
- package/dist/data-provider-interface/components/DistLicense.vue.js +107 -96
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +329 -310
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +39 -39
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +2 -2
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +176 -179
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +203 -195
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +5 -5
- package/dist/data-provider-interface/store/modules/authStore.js +14 -12
- package/dist/data-provider-interface/views/InputPage.vue.js +95 -96
- package/package.json +1 -1
package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js
CHANGED
|
@@ -1,195 +1,207 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ref as F, getCurrentInstance as Ve, reactive as we, watch as Ue, computed as ue, resolveComponent as K, createElementBlock as h, openBlock as s, Fragment as j, createVNode as g, createCommentVNode as c, withCtx as q, createTextVNode as Re, toDisplayString as S, createBlock as d, renderList as Y, createElementVNode as T, unref as b, isRef as te } from "vue";
|
|
2
|
+
import le from "../ButtonV3.vue.js";
|
|
3
|
+
import B from "../InputField.vue.js";
|
|
4
4
|
import se from "../TextAreaV3.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import ie from "../Dropdown.vue.js";
|
|
6
6
|
import { PhWarning as E } from "@phosphor-icons/vue";
|
|
7
7
|
import "@formkit/core";
|
|
8
8
|
import { getOptionalURIs as Te } from "../../services/dpiV3_apis.js";
|
|
9
9
|
import { useFormValues as Ie } from "../../../composables/useDpiFormValues.js";
|
|
10
10
|
import Le from "../TextButtonSmall.vue.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
const Se = {
|
|
12
|
+
const Se = { class: "dpiV3_LinkAndMetadata" }, Be = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "dpiV3_errorMessage"
|
|
15
|
-
},
|
|
15
|
+
}, Ae = { class: "copy-mini-regular" }, Ce = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "dpiV3_errorMessage"
|
|
18
|
-
},
|
|
18
|
+
}, Fe = { class: "copy-mini-regular" }, Ee = {
|
|
19
19
|
key: 6,
|
|
20
20
|
class: "dpiV3_errorMessage"
|
|
21
|
-
},
|
|
21
|
+
}, Oe = { class: "copy-mini-regular" }, ze = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "dpiV3_errorMessage"
|
|
24
|
-
},
|
|
24
|
+
}, He = { class: "copy-mini-regular" }, Pe = { class: "dpiV3_LinkAndMetadata" }, Me = {
|
|
25
25
|
key: 1,
|
|
26
26
|
class: "dpiV3_errorMessage"
|
|
27
|
-
},
|
|
27
|
+
}, Ne = { class: "copy-mini-regular" }, We = {
|
|
28
28
|
key: 3,
|
|
29
29
|
class: "dpiV3_errorMessage"
|
|
30
|
-
},
|
|
30
|
+
}, je = { class: "copy-mini-regular" }, qe = {
|
|
31
31
|
key: 6,
|
|
32
32
|
class: "dpiV3_errorMessage"
|
|
33
|
-
},
|
|
33
|
+
}, Ge = { class: "copy-mini-regular" }, Ze = {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: "dpiV3_tempAddMore"
|
|
36
|
-
},
|
|
36
|
+
}, Je = { class: "dpiV3_actionButtonWrap" }, at = {
|
|
37
37
|
__name: "AdditionalsSubModal",
|
|
38
38
|
props: {
|
|
39
39
|
context: Object,
|
|
40
40
|
item: Object
|
|
41
41
|
},
|
|
42
42
|
setup(e, { emit: me }) {
|
|
43
|
-
const
|
|
44
|
-
let
|
|
45
|
-
const { formValues:
|
|
43
|
+
const ae = me;
|
|
44
|
+
let G = F([{}]), z = F([]), Z = F(!1), p = F(), ce = Ve().appContext.app.config.globalProperties.$env;
|
|
45
|
+
const { formValues: Q } = Ie(), i = we({}), r = F([]), A = e;
|
|
46
46
|
Ue(
|
|
47
47
|
() => {
|
|
48
|
-
var
|
|
49
|
-
return (
|
|
48
|
+
var t;
|
|
49
|
+
return (t = Q.value.Additionals) == null ? void 0 : t[A.item.name];
|
|
50
50
|
},
|
|
51
|
-
(
|
|
52
|
-
|
|
51
|
+
(t) => {
|
|
52
|
+
t && t.length > 0 && (r.value = JSON.parse(JSON.stringify(t)));
|
|
53
53
|
},
|
|
54
54
|
{ immediate: !0 }
|
|
55
55
|
);
|
|
56
|
-
const fe = ue(() => r.value.length === 0 ? [{}] : r.value),
|
|
57
|
-
const u =
|
|
56
|
+
const fe = ue(() => r.value.length === 0 ? [{}] : r.value), X = (t) => t ? Object.entries(t).some(([n, u]) => typeof u == "string" ? u.trim() !== "" : typeof u == "object" && u !== null ? X(u) : !1) : !1, k = (t) => !t || t.trim() === "" ? !1 : /^(https?|ftp):\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/[^\s]*)?$/.test(t.trim()), J = (t, n = null) => {
|
|
57
|
+
const u = A.item.identifier;
|
|
58
58
|
let a = n !== null ? `${u}-${n}` : u;
|
|
59
|
-
if (i[a] = null, console.log(u), !
|
|
59
|
+
if (i[a] = null, console.log(u), !X(t))
|
|
60
60
|
return !0;
|
|
61
61
|
switch (u) {
|
|
62
62
|
case "conformsTo":
|
|
63
|
-
const f =
|
|
63
|
+
const f = t["@id"] || "";
|
|
64
64
|
if (!f.trim())
|
|
65
65
|
return i[a] = "URL ist erforderlich", !1;
|
|
66
|
-
if (!
|
|
67
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
66
|
+
if (!k(f))
|
|
67
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
68
68
|
break;
|
|
69
69
|
case "admsIdentifier":
|
|
70
|
-
const $ =
|
|
70
|
+
const $ = t["@id"] || "";
|
|
71
71
|
if (!$.trim())
|
|
72
72
|
return i[a] = "URL ist erforderlich", !1;
|
|
73
|
-
if (!
|
|
73
|
+
if (!k($))
|
|
74
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
75
|
+
break;
|
|
76
|
+
case "spatial":
|
|
77
|
+
const y = t["@id"] || "";
|
|
78
|
+
if (!y.trim())
|
|
79
|
+
return i[a] = "URL ist erforderlich", !1;
|
|
80
|
+
if (!k(y))
|
|
74
81
|
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
75
82
|
break;
|
|
76
83
|
case "relation":
|
|
77
|
-
const
|
|
78
|
-
if (!
|
|
84
|
+
const o = t["@id"] || "";
|
|
85
|
+
if (!o.trim())
|
|
79
86
|
return i[a] = "URL ist erforderlich", !1;
|
|
80
|
-
if (!
|
|
81
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
87
|
+
if (!k(o))
|
|
88
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
82
89
|
break;
|
|
83
90
|
case "qualifiedRelation":
|
|
84
|
-
const
|
|
85
|
-
if (!
|
|
91
|
+
const l = t["@id"] || "";
|
|
92
|
+
if (!l.trim())
|
|
86
93
|
return i[a] = "URL ist erforderlich", !1;
|
|
87
|
-
if (!
|
|
88
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
94
|
+
if (!k(l))
|
|
95
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
89
96
|
case "qualifiedAttribution":
|
|
90
|
-
const
|
|
91
|
-
if (!
|
|
97
|
+
const v = t["@id"] || "";
|
|
98
|
+
if (!v.trim())
|
|
92
99
|
return i[a] = "URL ist erforderlich", !1;
|
|
93
|
-
if (!
|
|
94
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
100
|
+
if (!k(v))
|
|
101
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
95
102
|
case "source":
|
|
96
|
-
const
|
|
97
|
-
if (!
|
|
103
|
+
const V = t["@id"] || "";
|
|
104
|
+
if (!V.trim())
|
|
98
105
|
return i[a] = "URL ist erforderlich", !1;
|
|
99
|
-
if (!
|
|
100
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
106
|
+
if (!k(V))
|
|
107
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
101
108
|
case "hasVersion":
|
|
102
|
-
const
|
|
103
|
-
if (!
|
|
109
|
+
const w = t["@id"] || "";
|
|
110
|
+
if (!w.trim())
|
|
104
111
|
return i[a] = "URL ist erforderlich", !1;
|
|
105
|
-
if (!
|
|
106
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
112
|
+
if (!k(w))
|
|
113
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
107
114
|
case "isVersionOf":
|
|
108
|
-
const
|
|
109
|
-
if (!
|
|
115
|
+
const R = t["@id"] || "";
|
|
116
|
+
if (!R.trim())
|
|
110
117
|
return i[a] = "URL ist erforderlich", !1;
|
|
111
|
-
if (!
|
|
112
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
118
|
+
if (!k(R))
|
|
119
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
113
120
|
break;
|
|
114
121
|
case "isReferencedBy":
|
|
115
|
-
const
|
|
116
|
-
if (!
|
|
122
|
+
const I = t["@id"] || "";
|
|
123
|
+
if (!I.trim())
|
|
117
124
|
return i[a] = "URL ist erforderlich", !1;
|
|
118
|
-
if (!
|
|
119
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
125
|
+
if (!k(I))
|
|
126
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
120
127
|
break;
|
|
121
128
|
case "references":
|
|
122
|
-
const
|
|
123
|
-
if (!
|
|
129
|
+
const C = t["@id"] || "";
|
|
130
|
+
if (!C.trim())
|
|
124
131
|
return i[a] = "URL ist erforderlich", !1;
|
|
125
|
-
if (!
|
|
126
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
132
|
+
if (!k(C))
|
|
133
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
127
134
|
break;
|
|
128
135
|
case "wasGeneratedBy":
|
|
129
|
-
const
|
|
130
|
-
if (!
|
|
136
|
+
const H = t["@id"] || "";
|
|
137
|
+
if (!H.trim())
|
|
131
138
|
return i[a] = "URL ist erforderlich", !1;
|
|
132
|
-
if (!
|
|
133
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
139
|
+
if (!k(H))
|
|
140
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
134
141
|
break;
|
|
135
142
|
case "landingPage":
|
|
136
|
-
const
|
|
137
|
-
if (!
|
|
143
|
+
const P = t["@id"] || "";
|
|
144
|
+
if (!P.trim())
|
|
138
145
|
return i[a] = "URL ist erforderlich", !1;
|
|
139
|
-
if (!
|
|
140
|
-
return i[a] = "Bitte geben Sie eine gültige URL ein", !1;
|
|
146
|
+
if (!k(P))
|
|
147
|
+
return i[a] = "Bitte geben Sie eine gültige URL ein.", !1;
|
|
141
148
|
break;
|
|
142
149
|
case "temporalResolution":
|
|
143
150
|
a = "temporalResolution-0";
|
|
144
|
-
const
|
|
145
|
-
if ([
|
|
151
|
+
const M = Object.assign({}, ...r.value), N = [
|
|
146
152
|
"Year",
|
|
147
153
|
"Month",
|
|
148
154
|
"Day",
|
|
149
155
|
"Hour",
|
|
150
156
|
"Minute",
|
|
151
157
|
"Second"
|
|
152
|
-
]
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
];
|
|
159
|
+
if (N.some((W) => {
|
|
160
|
+
const L = M[W];
|
|
161
|
+
return L && typeof L == "string" && L.trim() !== "";
|
|
162
|
+
})) {
|
|
163
|
+
if (N.filter((L) => {
|
|
164
|
+
const O = M[L];
|
|
165
|
+
return !O || typeof O == "string" && O.trim() === "";
|
|
166
|
+
}).length > 0)
|
|
167
|
+
return i[a] = "Alle Zeiteinheiten sind erforderlich", !1;
|
|
168
|
+
i[a] = null;
|
|
169
|
+
}
|
|
158
170
|
break;
|
|
159
171
|
case "creator":
|
|
160
|
-
if (!(
|
|
172
|
+
if (!(t["foaf:name"] || t["@value"] || "").trim())
|
|
161
173
|
return i[a] = "Name ist erforderlich", !1;
|
|
162
174
|
break;
|
|
163
175
|
case "contributor":
|
|
164
|
-
if (!(
|
|
176
|
+
if (!(t["foaf:name"] || t["@value"] || "").trim())
|
|
165
177
|
return i[a] = "Name ist erforderlich", !1;
|
|
166
178
|
break;
|
|
167
179
|
}
|
|
168
180
|
return !0;
|
|
169
181
|
}, de = () => {
|
|
170
|
-
let
|
|
182
|
+
let t = !0;
|
|
171
183
|
Object.keys(i).forEach((a) => {
|
|
172
184
|
i[a] = null;
|
|
173
185
|
});
|
|
174
|
-
const n =
|
|
186
|
+
const n = A.item.identifier;
|
|
175
187
|
return [
|
|
176
188
|
"conformsTo",
|
|
177
189
|
"temporalResolution",
|
|
178
190
|
"creator",
|
|
179
191
|
"contributor"
|
|
180
192
|
].includes(n) && r.value.forEach((a, f) => {
|
|
181
|
-
|
|
182
|
-
}),
|
|
183
|
-
}, ve = (
|
|
193
|
+
J(a, f) || (t = !1);
|
|
194
|
+
}), t;
|
|
195
|
+
}, ve = (t) => {
|
|
184
196
|
r.value.push({});
|
|
185
197
|
}, he = () => {
|
|
186
|
-
|
|
187
|
-
}, ge = (
|
|
188
|
-
r.value.splice(n, 1), delete i[`${
|
|
189
|
-
},
|
|
190
|
-
if (
|
|
191
|
-
for (let
|
|
192
|
-
const n = `temporalResolution-${
|
|
198
|
+
ae("goBack", !1);
|
|
199
|
+
}, ge = (t, n) => {
|
|
200
|
+
r.value.splice(n, 1), delete i[`${A.item.identifier}-${n}`];
|
|
201
|
+
}, re = ue(() => {
|
|
202
|
+
if (A.item.identifier !== "temporalResolution") return null;
|
|
203
|
+
for (let t = 0; t < r.value.length; t++) {
|
|
204
|
+
const n = `temporalResolution-${t}`;
|
|
193
205
|
if (i[n])
|
|
194
206
|
return {
|
|
195
207
|
key: n,
|
|
@@ -197,50 +209,50 @@ const Se = {
|
|
|
197
209
|
};
|
|
198
210
|
}
|
|
199
211
|
return null;
|
|
200
|
-
}), be = (
|
|
201
|
-
r.value[n] || (r.value[n] = {}), r.value[n]["@value"] =
|
|
202
|
-
|
|
212
|
+
}), be = (t, n, u) => {
|
|
213
|
+
r.value[n] || (r.value[n] = {}), r.value[n]["@value"] = t.pref_label.de || t.pref_label.en, r.value[n].uri = t.resource, setTimeout(() => {
|
|
214
|
+
J(r.value[n], n);
|
|
203
215
|
}, 0);
|
|
204
|
-
}, U = (
|
|
216
|
+
}, U = (t, n, u, a) => {
|
|
205
217
|
var $;
|
|
206
|
-
const f = typeof
|
|
207
|
-
r.value[u] || (r.value[u] = {}), n === "dct:issued" ? r.value[u][a] = ke(f) : r.value[u][a] = f, f != "" && (
|
|
208
|
-
|
|
218
|
+
const f = typeof t == "string" ? t : (($ = t == null ? void 0 : t.target) == null ? void 0 : $.value) ?? "";
|
|
219
|
+
r.value[u] || (r.value[u] = {}), n === "dct:issued" ? r.value[u][a] = ke(f) : r.value[u][a] = f, f != "" && (G.value[0][n] = f), a === "@id" && f != "" && (G.value[0][n] = "https://" + f), setTimeout(() => {
|
|
220
|
+
J(r.value[u], u);
|
|
209
221
|
}, 0);
|
|
210
222
|
};
|
|
211
|
-
function ke(
|
|
212
|
-
const [n, u, a] =
|
|
223
|
+
function ke(t) {
|
|
224
|
+
const [n, u, a] = t.split("-");
|
|
213
225
|
return `${a}.${u}.${n}`;
|
|
214
226
|
}
|
|
215
|
-
const ye = (
|
|
216
|
-
r.value[u] || (r.value[u] = {}), r.value[u][a] =
|
|
217
|
-
|
|
227
|
+
const ye = (t, n, u, a) => {
|
|
228
|
+
r.value[u] || (r.value[u] = {}), r.value[u][a] = t, setTimeout(() => {
|
|
229
|
+
J(r.value[u], u);
|
|
218
230
|
}, 0);
|
|
219
|
-
}, $e = (
|
|
220
|
-
{ "@value":
|
|
221
|
-
],
|
|
231
|
+
}, $e = (t) => (p.value = t.pref_label.de, G.value = [
|
|
232
|
+
{ "@value": t.pref_label.de, uri: t.resource }
|
|
233
|
+
], t), D = async (t, n, u) => {
|
|
222
234
|
if (u === "select") {
|
|
223
|
-
let a =
|
|
224
|
-
if (
|
|
235
|
+
let a = F([]);
|
|
236
|
+
if (t.forEach((f) => {
|
|
225
237
|
a.value.push({ "@value": f, selected: !1 });
|
|
226
238
|
}), n !== "")
|
|
227
239
|
try {
|
|
228
|
-
|
|
240
|
+
z.value = a.value;
|
|
229
241
|
} catch (f) {
|
|
230
242
|
console.log(f);
|
|
231
243
|
}
|
|
232
244
|
}
|
|
233
245
|
if (u === "auto") {
|
|
234
|
-
let a =
|
|
246
|
+
let a = F(await Te(n, ce.api.baseUrl, t));
|
|
235
247
|
if (n !== "")
|
|
236
248
|
try {
|
|
237
249
|
const f = {
|
|
238
250
|
label: a.value.filter(($) => {
|
|
239
|
-
const
|
|
240
|
-
return
|
|
251
|
+
const y = $.pref_label.de || $.pref_label.en;
|
|
252
|
+
return y && n.trim() && (y == null ? void 0 : y.toLowerCase().startsWith(n.trim().toLowerCase()));
|
|
241
253
|
})
|
|
242
254
|
};
|
|
243
|
-
f.uri = a.value.filter(($) => $.resource),
|
|
255
|
+
f.uri = a.value.filter(($) => $.resource), z.value = f.label;
|
|
244
256
|
} catch (f) {
|
|
245
257
|
console.log(f);
|
|
246
258
|
}
|
|
@@ -248,308 +260,312 @@ const Se = {
|
|
|
248
260
|
}, pe = () => {
|
|
249
261
|
if (!de())
|
|
250
262
|
return;
|
|
251
|
-
const
|
|
252
|
-
(n) =>
|
|
263
|
+
const t = r.value.filter(
|
|
264
|
+
(n) => X(n)
|
|
253
265
|
);
|
|
254
|
-
|
|
266
|
+
t.length > 0 && (Q.value.Additionals[A.item.name] = t), Z.value && (Q.value.Additionals[A.item.name] = G.value), ae("sst", "close");
|
|
255
267
|
};
|
|
256
|
-
return (
|
|
257
|
-
const u =
|
|
258
|
-
return s(), h(
|
|
268
|
+
return (t, n) => {
|
|
269
|
+
const u = K("additionalText"), a = K("itemWrapperAdditionals"), f = K("activeItem"), $ = K("interaction");
|
|
270
|
+
return s(), h(j, null, [
|
|
259
271
|
g(u, null, {
|
|
260
|
-
default:
|
|
261
|
-
Re(
|
|
272
|
+
default: q(() => [
|
|
273
|
+
Re(S(e.item.help), 1)
|
|
262
274
|
]),
|
|
263
275
|
_: 1
|
|
264
276
|
}),
|
|
265
277
|
g(f, null, {
|
|
266
|
-
default:
|
|
267
|
-
e.item.$formkit === "repeatable" ? (s(!0), h(
|
|
278
|
+
default: q(() => [
|
|
279
|
+
e.item.$formkit === "repeatable" ? (s(!0), h(j, { key: 0 }, Y(fe.value, (y, o) => (s(), h("div", {
|
|
268
280
|
class: "repeatableOuter dpiV3AutoCompleteWrap",
|
|
269
281
|
key: o
|
|
270
282
|
}, [
|
|
271
|
-
e.item.$formkit === "repeatable" ? (s(!0), h(
|
|
272
|
-
(
|
|
273
|
-
), (
|
|
274
|
-
default:
|
|
275
|
-
var V, w, R,
|
|
283
|
+
e.item.$formkit === "repeatable" ? (s(!0), h(j, { key: 0 }, Y(e.item.children[0].children.filter(
|
|
284
|
+
(l) => l.$formkit !== "group"
|
|
285
|
+
), (l, v) => (s(), d(a, { key: v }, {
|
|
286
|
+
default: q(() => {
|
|
287
|
+
var V, w, R, I, C, H, P, M, N, x, _, ee, W, L, O, ne, oe;
|
|
276
288
|
return [
|
|
277
|
-
|
|
289
|
+
T("div", Se, [
|
|
290
|
+
l.$formkit === "url" && e.item.name === "@id" ? (s(), d(B, {
|
|
291
|
+
key: 0,
|
|
292
|
+
label: l.label,
|
|
293
|
+
placeholder: e.item.placeholder,
|
|
294
|
+
infoIcon: !1,
|
|
295
|
+
preIcon: !1,
|
|
296
|
+
showEndIcon: !1,
|
|
297
|
+
"show-error": !!i[`${e.item.identifier}-${o}`],
|
|
298
|
+
onInput: (m) => U(m, e.item.name, o, "@id"),
|
|
299
|
+
initialHintText: !1,
|
|
300
|
+
"model-value": (V = r.value[o]) == null ? void 0 : V["@id"],
|
|
301
|
+
"v-model": (w = r.value[o]) == null ? void 0 : w["@id"]
|
|
302
|
+
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
303
|
+
l.$formkit === "url" && e.item.name != "@id" ? (s(), d(B, {
|
|
304
|
+
key: 1,
|
|
305
|
+
label: l.label,
|
|
306
|
+
placeholder: e.item.placeholder,
|
|
307
|
+
infoIcon: !1,
|
|
308
|
+
preIcon: !1,
|
|
309
|
+
showEndIcon: !1,
|
|
310
|
+
"show-error": !1,
|
|
311
|
+
onInput: (m) => U(m, e.item.name, o, l.name),
|
|
312
|
+
initialHintText: !1,
|
|
313
|
+
"model-value": (R = r.value[o]) == null ? void 0 : R[l.name],
|
|
314
|
+
"v-model": (I = r.value[o]) == null ? void 0 : I[l.name]
|
|
315
|
+
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
316
|
+
l.$formkit === "url" && l.label != "Homepage" && l.label != "Contributor Homepage" && e.item.name != "@id" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Be, [
|
|
317
|
+
g(b(E), {
|
|
318
|
+
size: 16,
|
|
319
|
+
weight: "fill"
|
|
320
|
+
}),
|
|
321
|
+
T("span", Ae, S(i[`${e.item.identifier}-${o}`]), 1)
|
|
322
|
+
])) : c("", !0),
|
|
323
|
+
l.$formkit === "text" && e.item.name === "@value" ? (s(), d(B, {
|
|
324
|
+
key: 3,
|
|
325
|
+
label: l.label,
|
|
326
|
+
placeholder: e.item.placeholder,
|
|
327
|
+
infoIcon: !1,
|
|
328
|
+
preIcon: !1,
|
|
329
|
+
showEndIcon: !1,
|
|
330
|
+
"show-error": !!i[`${e.item.identifier}-${o}`],
|
|
331
|
+
onInput: (m) => U(m, e.item.name, o, "@value"),
|
|
332
|
+
initialHintText: !1,
|
|
333
|
+
"model-value": (C = r.value[o]) == null ? void 0 : C["@value"],
|
|
334
|
+
"v-model": (H = r.value[o]) == null ? void 0 : H["@value"]
|
|
335
|
+
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
336
|
+
l.$formkit === "text" && e.item.name === "@value" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Ce, [
|
|
337
|
+
g(b(E), {
|
|
338
|
+
size: 16,
|
|
339
|
+
weight: "fill"
|
|
340
|
+
}),
|
|
341
|
+
T("span", Fe, S(i[`${e.item.identifier}-${o}`]), 1)
|
|
342
|
+
])) : c("", !0),
|
|
343
|
+
l.$formkit === "text" && e.item.name != "@value" ? (s(), d(B, {
|
|
344
|
+
key: 5,
|
|
345
|
+
label: l.label,
|
|
346
|
+
placeholder: e.item.placeholder,
|
|
347
|
+
infoIcon: !1,
|
|
348
|
+
preIcon: !1,
|
|
349
|
+
showEndIcon: !1,
|
|
350
|
+
"show-error": l.name === "foaf:name" && !!i[`${e.item.identifier}-${o}`],
|
|
351
|
+
onInput: (m) => U(m, e.item.name, o, l.name),
|
|
352
|
+
initialHintText: !1,
|
|
353
|
+
"model-value": (P = r.value[o]) == null ? void 0 : P[l.name],
|
|
354
|
+
"v-model": (M = r.value[o]) == null ? void 0 : M[l.name]
|
|
355
|
+
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
356
|
+
l.$formkit === "text" && l.name === "foaf:name" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Ee, [
|
|
357
|
+
g(b(E), {
|
|
358
|
+
size: 16,
|
|
359
|
+
weight: "fill"
|
|
360
|
+
}),
|
|
361
|
+
T("span", Oe, S(i[`${e.item.identifier}-${o}`]), 1)
|
|
362
|
+
])) : c("", !0),
|
|
363
|
+
l.$formkit === "select" && l.identifier !== "language" ? (s(), d(ie, {
|
|
364
|
+
key: 7,
|
|
365
|
+
dropdownWidth: "large",
|
|
366
|
+
type: "inputField",
|
|
367
|
+
onClick: (m) => D(
|
|
368
|
+
Object.values(l.options),
|
|
369
|
+
m,
|
|
370
|
+
l.$formkit
|
|
371
|
+
),
|
|
372
|
+
"v-model": (N = r.value[o]) == null ? void 0 : N[l.name],
|
|
373
|
+
inputFieldProps: {
|
|
374
|
+
addOnText: !1,
|
|
375
|
+
initialHintText: !1,
|
|
376
|
+
datePicker: !1,
|
|
377
|
+
infoIcon: !1,
|
|
378
|
+
preIcon: !1,
|
|
379
|
+
label: l.label,
|
|
380
|
+
dropdown_dpiV3: !0,
|
|
381
|
+
placeholder: ((x = r.value[o]) == null ? void 0 : x[l.name]) || l.placeholder,
|
|
382
|
+
inputFieldSize: "large",
|
|
383
|
+
autocomplete: "true",
|
|
384
|
+
modelValue: (_ = r.value[o]) == null ? void 0 : _[l.name],
|
|
385
|
+
showError: e.item.identifier === "temporalResolution" && !!i[`${e.item.identifier}-${o}`]
|
|
386
|
+
},
|
|
387
|
+
"onUpdate:modelValue": (m) => ye(m, e.item.name, o, l.name),
|
|
388
|
+
data: b(z),
|
|
389
|
+
autocomplete: !1
|
|
390
|
+
}, null, 8, ["onClick", "v-model", "inputFieldProps", "onUpdate:modelValue", "data"])) : c("", !0),
|
|
391
|
+
l.$formkit === "auto" ? (s(), d(ie, {
|
|
392
|
+
key: 8,
|
|
393
|
+
dropdownWidth: "large",
|
|
394
|
+
type: "inputField",
|
|
395
|
+
onInput: (m) => D(e.item.voc, m, l.$formkit),
|
|
396
|
+
modelValue: b(p),
|
|
397
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => te(p) ? p.value = m : p = m),
|
|
398
|
+
inputFieldProps: {
|
|
399
|
+
addOnText: !1,
|
|
400
|
+
initialHintText: !1,
|
|
401
|
+
datePicker: !1,
|
|
402
|
+
infoIcon: !1,
|
|
403
|
+
preIcon: !1,
|
|
404
|
+
label: l.label,
|
|
405
|
+
dropdown_dpiV3: !0,
|
|
406
|
+
placeholder: ((ee = r.value[o]) == null ? void 0 : ee["@value"]) || e.item.placeholder,
|
|
407
|
+
inputFieldSize: "large",
|
|
408
|
+
autocomplete: "true",
|
|
409
|
+
modelValue: b(p),
|
|
410
|
+
showError: !1
|
|
411
|
+
},
|
|
412
|
+
onChosenVocItem: (m) => be(m, o, e.item.name),
|
|
413
|
+
data: b(z),
|
|
414
|
+
autocomplete: !0
|
|
415
|
+
}, null, 8, ["onInput", "modelValue", "inputFieldProps", "onChosenVocItem", "data"])) : c("", !0),
|
|
416
|
+
l.$formkit === "textarea" && e.item.name === "@value" ? (s(), d(se, {
|
|
417
|
+
key: 9,
|
|
418
|
+
label: l.label,
|
|
419
|
+
placeholder: ((W = r.value[o]) == null ? void 0 : W[l.name]) || e.item.placeholder,
|
|
420
|
+
infoIcon: !1,
|
|
421
|
+
preIcon: !1,
|
|
422
|
+
showEndIcon: !1,
|
|
423
|
+
onInput: (m) => U(m, e.item.name, o, "@value"),
|
|
424
|
+
initialHintText: !1,
|
|
425
|
+
"model-value": (L = r.value[o]) == null ? void 0 : L["@value"]
|
|
426
|
+
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
|
|
427
|
+
l.$formkit === "textarea" && e.item.name != "@value" ? (s(), d(se, {
|
|
428
|
+
key: 10,
|
|
429
|
+
label: l.label,
|
|
430
|
+
placeholder: ((O = r.value[o]) == null ? void 0 : O[l.name]) || e.item.placeholder,
|
|
431
|
+
infoIcon: !1,
|
|
432
|
+
preIcon: !1,
|
|
433
|
+
showEndIcon: !1,
|
|
434
|
+
onInput: (m) => U(m, e.item.name, o, l.name),
|
|
435
|
+
initialHintText: !1,
|
|
436
|
+
"model-value": (ne = r.value[o]) == null ? void 0 : ne[l.name]
|
|
437
|
+
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
|
|
438
|
+
l.$formkit === "email" ? (s(), d(B, {
|
|
439
|
+
key: 11,
|
|
440
|
+
label: l.label,
|
|
441
|
+
placeholder: e.item.placeholder,
|
|
442
|
+
addOnText: !1,
|
|
443
|
+
infoIcon: !1,
|
|
444
|
+
preIcon: !1,
|
|
445
|
+
showEndIcon: !1,
|
|
446
|
+
"show-error": !1,
|
|
447
|
+
onInput: (m) => U(m, e.item.name, o, "@value"),
|
|
448
|
+
initialHintText: !1,
|
|
449
|
+
"model-value": (oe = r.value[o]) == null ? void 0 : oe["@value"]
|
|
450
|
+
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0)
|
|
451
|
+
])
|
|
452
|
+
];
|
|
453
|
+
}),
|
|
454
|
+
_: 2
|
|
455
|
+
}, 1024))), 128)) : c("", !0),
|
|
456
|
+
e.item.identifier === "temporalResolution" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", ze, [
|
|
457
|
+
g(b(E), {
|
|
458
|
+
size: 16,
|
|
459
|
+
weight: "fill"
|
|
460
|
+
}),
|
|
461
|
+
T("span", He, S(i[`${e.item.identifier}-${o}`]), 1)
|
|
462
|
+
])) : c("", !0),
|
|
463
|
+
g(Le, {
|
|
464
|
+
"button-text": "löschen",
|
|
465
|
+
class: "rightAlign",
|
|
466
|
+
onClick: (l) => ge(e.item.name, o)
|
|
467
|
+
}, null, 8, ["onClick"])
|
|
468
|
+
]))), 128)) : c("", !0),
|
|
469
|
+
e.item.$formkit != "repeatable" || e.item.$formkit != "group" ? (s(), d(a, { key: 1 }, {
|
|
470
|
+
default: q(() => {
|
|
471
|
+
var y, o;
|
|
472
|
+
return [
|
|
473
|
+
T("div", Pe, [
|
|
474
|
+
e.item.$formkit === "simpleInput" ? (s(), d(B, {
|
|
278
475
|
key: 0,
|
|
279
|
-
label:
|
|
280
|
-
placeholder: e.item.placeholder,
|
|
281
|
-
infoIcon: !1,
|
|
282
|
-
preIcon: !1,
|
|
283
|
-
showEndIcon: !1,
|
|
284
|
-
"show-error": !!i[`${e.item.identifier}-${o}`],
|
|
285
|
-
onInput: (m) => U(m, e.item.name, o, "@id"),
|
|
286
|
-
initialHintText: !1,
|
|
287
|
-
"model-value": (V = r.value[o]) == null ? void 0 : V["@id"],
|
|
288
|
-
"v-model": (w = r.value[o]) == null ? void 0 : w["@id"]
|
|
289
|
-
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
290
|
-
t.$formkit === "url" && e.item.name != "@id" ? (s(), d(S, {
|
|
291
|
-
key: 1,
|
|
292
|
-
label: t.label,
|
|
293
|
-
placeholder: e.item.placeholder,
|
|
294
|
-
infoIcon: !1,
|
|
295
|
-
preIcon: !1,
|
|
296
|
-
showEndIcon: !1,
|
|
297
|
-
"show-error": !1,
|
|
298
|
-
onInput: (m) => U(m, e.item.name, o, t.name),
|
|
299
|
-
initialHintText: !1,
|
|
300
|
-
"model-value": (R = r.value[o]) == null ? void 0 : R[t.name],
|
|
301
|
-
"v-model": (T = r.value[o]) == null ? void 0 : T[t.name]
|
|
302
|
-
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"])) : c("", !0),
|
|
303
|
-
t.$formkit === "url" && t.label != "Homepage" && t.label != "Contributor Homepage" && e.item.name != "@id" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Se, [
|
|
304
|
-
g(b(E), {
|
|
305
|
-
size: 16,
|
|
306
|
-
weight: "fill"
|
|
307
|
-
}),
|
|
308
|
-
L("span", Be, I(i[`${e.item.identifier}-${o}`]), 1)
|
|
309
|
-
])) : c("", !0),
|
|
310
|
-
t.$formkit === "text" && e.item.name === "@value" ? (s(), d(S, {
|
|
311
|
-
key: 3,
|
|
312
|
-
label: t.label,
|
|
476
|
+
label: e.item.label,
|
|
313
477
|
placeholder: e.item.placeholder,
|
|
314
478
|
infoIcon: !1,
|
|
315
479
|
preIcon: !1,
|
|
316
480
|
showEndIcon: !1,
|
|
317
|
-
"show-error": !!i[
|
|
318
|
-
onInput: (
|
|
481
|
+
"show-error": !!i[e.item.identifier],
|
|
482
|
+
onInput: n[1] || (n[1] = (l) => U(l, e.item.name, 0, "@value")),
|
|
319
483
|
initialHintText: !1,
|
|
320
|
-
"model-value": (
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
t.$formkit === "text" && e.item.name === "@value" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Fe, [
|
|
484
|
+
"model-value": (y = r.value[0]) == null ? void 0 : y["@value"]
|
|
485
|
+
}, null, 8, ["label", "placeholder", "show-error", "model-value"])) : c("", !0),
|
|
486
|
+
e.item.$formkit === "simpleInput" && i[e.item.identifier] ? (s(), h("div", Me, [
|
|
324
487
|
g(b(E), {
|
|
325
488
|
size: 16,
|
|
326
489
|
weight: "fill"
|
|
327
490
|
}),
|
|
328
|
-
|
|
491
|
+
T("span", Ne, S(i[e.item.identifier]), 1)
|
|
329
492
|
])) : c("", !0),
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
493
|
+
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit !== "date" ? (s(!0), h(j, { key: 2 }, Y(e.item.children, (l, v) => {
|
|
494
|
+
var V, w;
|
|
495
|
+
return s(), d(B, {
|
|
496
|
+
key: v,
|
|
497
|
+
label: l.label,
|
|
498
|
+
placeholder: e.item.placeholder,
|
|
499
|
+
infoIcon: !1,
|
|
500
|
+
preIcon: !1,
|
|
501
|
+
showEndIcon: !1,
|
|
502
|
+
"show-error": !!i[e.item.identifier],
|
|
503
|
+
onInput: (R) => U(R, e.item.name, v, l.name),
|
|
504
|
+
initialHintText: !1,
|
|
505
|
+
"model-value": (V = r.value[v]) == null ? void 0 : V[l.name],
|
|
506
|
+
"v-model": (w = r.value[v]) == null ? void 0 : w[l.name]
|
|
507
|
+
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"]);
|
|
508
|
+
}), 128)) : c("", !0),
|
|
509
|
+
re.value ? (s(), h("div", We, [
|
|
344
510
|
g(b(E), {
|
|
345
511
|
size: 16,
|
|
346
512
|
weight: "fill"
|
|
347
513
|
}),
|
|
348
|
-
|
|
514
|
+
T("span", je, S(re.value.message), 1)
|
|
349
515
|
])) : c("", !0),
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
m,
|
|
357
|
-
t.$formkit
|
|
358
|
-
),
|
|
359
|
-
"v-model": (X = r.value[o]) == null ? void 0 : X[t.name],
|
|
360
|
-
inputFieldProps: {
|
|
361
|
-
addOnText: !1,
|
|
362
|
-
initialHintText: !1,
|
|
363
|
-
datePicker: !1,
|
|
516
|
+
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit === "date" ? (s(!0), h(j, { key: 4 }, Y(e.item.children, (l, v) => {
|
|
517
|
+
var V, w, R, I;
|
|
518
|
+
return s(), d(B, {
|
|
519
|
+
key: v,
|
|
520
|
+
label: l.label,
|
|
521
|
+
placeholder: e.item.placeholder,
|
|
364
522
|
infoIcon: !1,
|
|
365
523
|
preIcon: !1,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
t.$formkit === "auto" ? (s(), d(te, {
|
|
379
|
-
key: 8,
|
|
524
|
+
datePicker: !0,
|
|
525
|
+
inputType: "date",
|
|
526
|
+
showEndIcon: !1,
|
|
527
|
+
"show-error": !1,
|
|
528
|
+
onInput: (C) => U(C, e.item.name, v, l.name),
|
|
529
|
+
initialHintText: !1,
|
|
530
|
+
"model-value": (w = (V = r.value[v]) == null ? void 0 : V[l.name]) == null ? void 0 : w["@value"],
|
|
531
|
+
"v-model": (I = (R = r.value[v]) == null ? void 0 : R[l.name]) == null ? void 0 : I["@value"]
|
|
532
|
+
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"]);
|
|
533
|
+
}), 128)) : c("", !0),
|
|
534
|
+
e.item.$formkit === "auto" ? (s(), d(ie, {
|
|
535
|
+
key: 5,
|
|
380
536
|
dropdownWidth: "large",
|
|
381
537
|
type: "inputField",
|
|
382
|
-
onInput: (
|
|
538
|
+
onInput: n[2] || (n[2] = (l) => {
|
|
539
|
+
D(e.item.voc, l, e.item.$formkit), te(Z) ? Z.value = !0 : Z = !0;
|
|
540
|
+
}),
|
|
383
541
|
modelValue: b(p),
|
|
384
|
-
"onUpdate:modelValue": n[
|
|
542
|
+
"onUpdate:modelValue": n[3] || (n[3] = (l) => te(p) ? p.value = l : p = l),
|
|
385
543
|
inputFieldProps: {
|
|
386
544
|
addOnText: !1,
|
|
387
545
|
initialHintText: !1,
|
|
388
546
|
datePicker: !1,
|
|
389
547
|
infoIcon: !1,
|
|
390
548
|
preIcon: !1,
|
|
391
|
-
label:
|
|
549
|
+
label: e.item.label,
|
|
392
550
|
dropdown_dpiV3: !0,
|
|
393
|
-
placeholder: ((
|
|
551
|
+
placeholder: ((o = r.value[0]) == null ? void 0 : o["@value"]) || e.item.placeholder,
|
|
394
552
|
inputFieldSize: "large",
|
|
395
553
|
autocomplete: "true",
|
|
396
554
|
modelValue: b(p),
|
|
397
|
-
showError:
|
|
555
|
+
showError: !!i[e.item.identifier]
|
|
398
556
|
},
|
|
399
|
-
onChosenVocItem:
|
|
400
|
-
data: b(
|
|
557
|
+
onChosenVocItem: $e,
|
|
558
|
+
data: b(z),
|
|
401
559
|
autocomplete: !0
|
|
402
|
-
}, null, 8, ["
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
initialHintText: !1,
|
|
412
|
-
"model-value": (ae = r.value[o]) == null ? void 0 : ae["@value"]
|
|
413
|
-
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
|
|
414
|
-
t.$formkit === "textarea" && e.item.name != "@value" ? (s(), d(se, {
|
|
415
|
-
key: 10,
|
|
416
|
-
label: t.label,
|
|
417
|
-
placeholder: ((re = r.value[o]) == null ? void 0 : re[t.name]) || e.item.placeholder,
|
|
418
|
-
infoIcon: !1,
|
|
419
|
-
preIcon: !1,
|
|
420
|
-
showEndIcon: !1,
|
|
421
|
-
onInput: (m) => U(m, e.item.name, o, t.name),
|
|
422
|
-
initialHintText: !1,
|
|
423
|
-
"model-value": (ne = r.value[o]) == null ? void 0 : ne[t.name]
|
|
424
|
-
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
|
|
425
|
-
t.$formkit === "email" ? (s(), d(S, {
|
|
426
|
-
key: 11,
|
|
427
|
-
label: t.label,
|
|
428
|
-
placeholder: e.item.placeholder,
|
|
429
|
-
addOnText: !1,
|
|
430
|
-
infoIcon: !1,
|
|
431
|
-
preIcon: !1,
|
|
432
|
-
showEndIcon: !1,
|
|
433
|
-
"show-error": !1,
|
|
434
|
-
onInput: (m) => U(m, e.item.name, o, "@value"),
|
|
435
|
-
initialHintText: !1,
|
|
436
|
-
"model-value": (oe = r.value[o]) == null ? void 0 : oe["@value"]
|
|
437
|
-
}, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0)
|
|
438
|
-
];
|
|
439
|
-
}),
|
|
440
|
-
_: 2
|
|
441
|
-
}, 1024))), 128)) : c("", !0),
|
|
442
|
-
e.item.identifier === "temporalResolution" && i[`${e.item.identifier}-${o}`] ? (s(), h("div", Oe, [
|
|
443
|
-
g(b(E), {
|
|
444
|
-
size: 16,
|
|
445
|
-
weight: "fill"
|
|
446
|
-
}),
|
|
447
|
-
L("span", ze, I(i[`${e.item.identifier}-${o}`]), 1)
|
|
448
|
-
])) : c("", !0),
|
|
449
|
-
g(Le, {
|
|
450
|
-
"button-text": "löschen",
|
|
451
|
-
class: "rightAlign",
|
|
452
|
-
onClick: (t) => ge(e.item.name, o)
|
|
453
|
-
}, null, 8, ["onClick"])
|
|
454
|
-
]))), 128)) : c("", !0),
|
|
455
|
-
e.item.$formkit != "repeatable" || e.item.$formkit != "group" ? (s(), d(a, { key: 1 }, {
|
|
456
|
-
default: P(() => {
|
|
457
|
-
var k, o;
|
|
458
|
-
return [
|
|
459
|
-
e.item.$formkit === "simpleInput" ? (s(), d(S, {
|
|
460
|
-
key: 0,
|
|
461
|
-
label: e.item.label,
|
|
462
|
-
placeholder: e.item.placeholder,
|
|
463
|
-
infoIcon: !1,
|
|
464
|
-
preIcon: !1,
|
|
465
|
-
showEndIcon: !1,
|
|
466
|
-
"show-error": !!i[e.item.identifier],
|
|
467
|
-
onInput: n[1] || (n[1] = (t) => U(t, e.item.name, 0, "@value")),
|
|
468
|
-
initialHintText: !1,
|
|
469
|
-
"model-value": (k = r.value[0]) == null ? void 0 : k["@value"]
|
|
470
|
-
}, null, 8, ["label", "placeholder", "show-error", "model-value"])) : c("", !0),
|
|
471
|
-
e.item.$formkit === "simpleInput" && i[e.item.identifier] ? (s(), h("div", He, [
|
|
472
|
-
g(b(E), {
|
|
473
|
-
size: 16,
|
|
474
|
-
weight: "fill"
|
|
475
|
-
}),
|
|
476
|
-
L("span", Pe, I(i[e.item.identifier]), 1)
|
|
477
|
-
])) : c("", !0),
|
|
478
|
-
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit !== "date" ? (s(!0), h(H, { key: 2 }, Z(e.item.children, (t, v) => {
|
|
479
|
-
var V, w;
|
|
480
|
-
return s(), d(S, {
|
|
481
|
-
key: v,
|
|
482
|
-
label: t.label,
|
|
483
|
-
placeholder: e.item.placeholder,
|
|
484
|
-
infoIcon: !1,
|
|
485
|
-
preIcon: !1,
|
|
486
|
-
showEndIcon: !1,
|
|
487
|
-
"show-error": !!i[e.item.identifier],
|
|
488
|
-
onInput: (R) => U(R, e.item.name, v, t.name),
|
|
489
|
-
initialHintText: !1,
|
|
490
|
-
"model-value": (V = r.value[v]) == null ? void 0 : V[t.name],
|
|
491
|
-
"v-model": (w = r.value[v]) == null ? void 0 : w[t.name]
|
|
492
|
-
}, null, 8, ["label", "placeholder", "show-error", "onInput", "model-value", "v-model"]);
|
|
493
|
-
}), 128)) : c("", !0),
|
|
494
|
-
ie.value ? (s(), h("div", Ne, [
|
|
495
|
-
g(b(E), {
|
|
496
|
-
size: 16,
|
|
497
|
-
weight: "fill"
|
|
498
|
-
}),
|
|
499
|
-
L("span", Me, I(ie.value.message), 1)
|
|
500
|
-
])) : c("", !0),
|
|
501
|
-
e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit === "date" ? (s(!0), h(H, { key: 4 }, Z(e.item.children, (t, v) => {
|
|
502
|
-
var V, w, R, T;
|
|
503
|
-
return s(), d(S, {
|
|
504
|
-
key: v,
|
|
505
|
-
label: t.label,
|
|
506
|
-
placeholder: e.item.placeholder,
|
|
507
|
-
infoIcon: !1,
|
|
508
|
-
preIcon: !1,
|
|
509
|
-
datePicker: !0,
|
|
510
|
-
inputType: "date",
|
|
511
|
-
showEndIcon: !1,
|
|
512
|
-
"show-error": !1,
|
|
513
|
-
onInput: (F) => U(F, e.item.name, v, t.name),
|
|
514
|
-
initialHintText: !1,
|
|
515
|
-
"model-value": (w = (V = r.value[v]) == null ? void 0 : V[t.name]) == null ? void 0 : w["@value"],
|
|
516
|
-
"v-model": (T = (R = r.value[v]) == null ? void 0 : R[t.name]) == null ? void 0 : T["@value"]
|
|
517
|
-
}, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"]);
|
|
518
|
-
}), 128)) : c("", !0),
|
|
519
|
-
e.item.$formkit === "auto" ? (s(), d(te, {
|
|
520
|
-
key: 5,
|
|
521
|
-
dropdownWidth: "large",
|
|
522
|
-
type: "inputField",
|
|
523
|
-
onInput: n[2] || (n[2] = (t) => {
|
|
524
|
-
Y(e.item.voc, t, e.item.$formkit), _(M) ? M.value = !0 : M = !0;
|
|
525
|
-
}),
|
|
526
|
-
modelValue: b(p),
|
|
527
|
-
"onUpdate:modelValue": n[3] || (n[3] = (t) => _(p) ? p.value = t : p = t),
|
|
528
|
-
inputFieldProps: {
|
|
529
|
-
addOnText: !1,
|
|
530
|
-
initialHintText: !1,
|
|
531
|
-
datePicker: !1,
|
|
532
|
-
infoIcon: !1,
|
|
533
|
-
preIcon: !1,
|
|
534
|
-
label: e.item.label,
|
|
535
|
-
dropdown_dpiV3: !0,
|
|
536
|
-
placeholder: ((o = r.value[0]) == null ? void 0 : o["@value"]) || e.item.placeholder,
|
|
537
|
-
inputFieldSize: "large",
|
|
538
|
-
autocomplete: "true",
|
|
539
|
-
modelValue: b(p),
|
|
540
|
-
showError: !!i[e.item.identifier]
|
|
541
|
-
},
|
|
542
|
-
onChosenVocItem: $e,
|
|
543
|
-
data: b(O),
|
|
544
|
-
autocomplete: !0
|
|
545
|
-
}, null, 8, ["modelValue", "inputFieldProps", "data"])) : c("", !0),
|
|
546
|
-
i[e.item.identifier] ? (s(), h("div", We, [
|
|
547
|
-
g(b(E), {
|
|
548
|
-
size: 16,
|
|
549
|
-
weight: "fill"
|
|
550
|
-
}),
|
|
551
|
-
L("span", je, I(i[e.item.identifier]), 1)
|
|
552
|
-
])) : c("", !0)
|
|
560
|
+
}, null, 8, ["modelValue", "inputFieldProps", "data"])) : c("", !0),
|
|
561
|
+
i[e.item.identifier] ? (s(), h("div", qe, [
|
|
562
|
+
g(b(E), {
|
|
563
|
+
size: 16,
|
|
564
|
+
weight: "fill"
|
|
565
|
+
}),
|
|
566
|
+
T("span", Ge, S(i[e.item.identifier]), 1)
|
|
567
|
+
])) : c("", !0)
|
|
568
|
+
])
|
|
553
569
|
];
|
|
554
570
|
}),
|
|
555
571
|
_: 1
|
|
@@ -557,27 +573,27 @@ const Se = {
|
|
|
557
573
|
]),
|
|
558
574
|
_: 1
|
|
559
575
|
}),
|
|
560
|
-
e.item.$formkit === "repeatable" ? (s(), h("div",
|
|
561
|
-
g(
|
|
576
|
+
e.item.$formkit === "repeatable" ? (s(), h("div", Ze, [
|
|
577
|
+
g(le, {
|
|
562
578
|
buttonText: "Weitere hinzufügen",
|
|
563
579
|
size: "large",
|
|
564
580
|
iconStart: "plus",
|
|
565
581
|
variant: "tertiary",
|
|
566
582
|
class: "mt-3",
|
|
567
|
-
onClick: n[4] || (n[4] = (
|
|
583
|
+
onClick: n[4] || (n[4] = (y) => ve(e.item))
|
|
568
584
|
})
|
|
569
585
|
])) : c("", !0),
|
|
570
586
|
g($, { class: "dpiV3_interactionWrap" }, {
|
|
571
|
-
default:
|
|
572
|
-
|
|
573
|
-
g(
|
|
587
|
+
default: q(() => [
|
|
588
|
+
T("div", Je, [
|
|
589
|
+
g(le, {
|
|
574
590
|
onClick: he,
|
|
575
591
|
buttonText: "Zurück",
|
|
576
592
|
size: "large",
|
|
577
593
|
iconStart: "CaretLeft",
|
|
578
594
|
variant: "tertiary"
|
|
579
595
|
}),
|
|
580
|
-
g(
|
|
596
|
+
g(le, {
|
|
581
597
|
onClick: pe,
|
|
582
598
|
buttonText: "Speichern",
|
|
583
599
|
size: "large"
|
|
@@ -591,5 +607,5 @@ const Se = {
|
|
|
591
607
|
}
|
|
592
608
|
};
|
|
593
609
|
export {
|
|
594
|
-
|
|
610
|
+
at as default
|
|
595
611
|
};
|