@piveau/dpi 0.2.0-alpha.59 → 0.2.0-alpha.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.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +414 -386
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +299 -312
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +265 -261
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +82 -82
- package/package.json +1 -1
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import { ref as i, watch as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
1
|
+
import { ref as i, computed as Qe, watch as Xe, onMounted as et, getCurrentInstance as tt, createElementBlock as u, openBlock as l, Fragment as D, createCommentVNode as d, createElementVNode as f, normalizeClass as F, createVNode as y, toDisplayString as h, renderList as Te, createBlock as g } from "vue";
|
|
2
|
+
import { getPlannedAvailability as at, getLanguages as it } from "../services/dpiV3_apis.js";
|
|
3
|
+
import w from "./ButtonV3.vue.js";
|
|
4
|
+
import st from "./CloseOpenButtonV3.vue.js";
|
|
5
|
+
import re from "./CrossOutButton.vue.js";
|
|
6
|
+
import ot from "./OptionalInformation/AccessRightsV3.vue.js";
|
|
7
|
+
import lt from "./OptionalInformation/AccessServiceV3.vue.js";
|
|
8
|
+
import dt from "./OptionalInformation/AvailabilityV3.vue.js";
|
|
9
|
+
import nt from "./OptionalInformation/ByteSizeV3.vue.js";
|
|
10
|
+
import rt from "./OptionalInformation/ChangeLicenseV3.vue.js";
|
|
11
|
+
import ut from "./OptionalInformation/ChecksumV3.vue.js";
|
|
12
|
+
import ct from "./OptionalInformation/ConformsToV3.vue.js";
|
|
13
|
+
import ft from "./OptionalInformation/DescriptionV3.vue.js";
|
|
14
|
+
import mt from "./OptionalInformation/DocumentationsV3.vue.js";
|
|
15
|
+
import ue from "./OptionalInformation/FileFormatV3.vue.js";
|
|
16
|
+
import pt from "./OptionalInformation/IssuedDateV3.vue.js";
|
|
17
|
+
import vt from "./OptionalInformation/LanguageV3.vue.js";
|
|
18
|
+
import yt from "./OptionalInformation/ModifiedDateV3.vue.js";
|
|
19
|
+
import ht from "./OptionalInformation/PolicyV3.vue.js";
|
|
20
|
+
import kt from "./OptionalInformation/StatusV3.vue.js";
|
|
21
|
+
import gt from "./TextButtonSmall.vue.js";
|
|
22
22
|
/* empty css */
|
|
23
23
|
/* empty css */
|
|
24
|
-
import
|
|
25
|
-
const
|
|
24
|
+
import bt from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
25
|
+
const _t = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "dpiV3_modalBackground"
|
|
28
|
-
},
|
|
28
|
+
}, Vt = { class: "dpiV3_modalHeaderWrap" }, It = { class: "dpiV3_modalText" }, Tt = {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: "dpiV3AutoCompleteWrapDeleteModal copy-large-semi-bold"
|
|
31
|
-
},
|
|
31
|
+
}, xt = { class: "dpiV3_LinkInfos" }, Dt = ["href"], wt = { class: "dpiV3_title" }, Ct = ["href"], Lt = { class: "dpiV3_title" }, Ut = {
|
|
32
32
|
key: 2,
|
|
33
33
|
class: "dpiV3_File-Format copy-small-regular"
|
|
34
|
-
},
|
|
34
|
+
}, At = {
|
|
35
35
|
key: 0,
|
|
36
36
|
class: "dpiV3_modalButtonWrap"
|
|
37
|
-
},
|
|
37
|
+
}, St = {
|
|
38
38
|
key: 1,
|
|
39
39
|
class: "dpiV3_optionalInfoContent"
|
|
40
|
-
},
|
|
40
|
+
}, Ft = { class: "dpiV3_ListMetaData" }, Rt = { class: "dpiV3_title-description" }, qt = { class: "dpiV3_group-title" }, Bt = { class: "dpiV3_caret" }, zt = ["onClick"], Mt = {
|
|
41
41
|
key: 1,
|
|
42
42
|
class: "dpiV3_sectionDivider"
|
|
43
|
-
},
|
|
43
|
+
}, $t = {
|
|
44
44
|
key: 1,
|
|
45
45
|
class: "dpiV3_modalBackground"
|
|
46
|
-
},
|
|
46
|
+
}, Et = { class: "dpiV3_modalHeaderWrap" }, Pt = {
|
|
47
47
|
key: 0,
|
|
48
48
|
class: "dpiV3_modalContent"
|
|
49
|
-
},
|
|
49
|
+
}, Wt = {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: "dpiV3_modalContent"
|
|
52
|
-
},
|
|
52
|
+
}, Ot = {
|
|
53
53
|
key: 2,
|
|
54
54
|
class: "dpiV3_modalContent"
|
|
55
|
-
},
|
|
55
|
+
}, Ht = {
|
|
56
56
|
key: 3,
|
|
57
57
|
class: "dpiV3_modified"
|
|
58
|
-
},
|
|
58
|
+
}, Nt = {
|
|
59
59
|
key: 4,
|
|
60
60
|
class: "dpiV3_modified"
|
|
61
|
-
},
|
|
61
|
+
}, jt = {
|
|
62
62
|
key: 5,
|
|
63
63
|
class: "dpiV3_modified"
|
|
64
|
-
},
|
|
64
|
+
}, Kt = {
|
|
65
65
|
key: 6,
|
|
66
66
|
class: "dpiV3_modified"
|
|
67
|
-
},
|
|
67
|
+
}, Yt = {
|
|
68
68
|
key: 7,
|
|
69
69
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
70
|
-
},
|
|
70
|
+
}, Zt = {
|
|
71
71
|
key: 8,
|
|
72
72
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
73
|
-
},
|
|
73
|
+
}, Gt = {
|
|
74
74
|
key: 12,
|
|
75
75
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
76
|
-
},
|
|
76
|
+
}, Jt = {
|
|
77
77
|
key: 13,
|
|
78
78
|
class: "dpiV3_DocumentationV3_Wrap"
|
|
79
|
-
},
|
|
79
|
+
}, Qt = { class: "dpiV3_modalButtonWrap" }, Xt = {
|
|
80
80
|
key: 2,
|
|
81
81
|
class: "dpiV3_modalBackground"
|
|
82
|
-
},
|
|
82
|
+
}, ea = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, ta = { class: "dpiV3_modalHeaderWrap" }, aa = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, ia = { class: "dpiV3_LinkInfos" }, sa = {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: "dpiV3_title"
|
|
85
|
-
},
|
|
85
|
+
}, oa = {
|
|
86
86
|
key: 1,
|
|
87
87
|
class: "dpiV3_title"
|
|
88
|
-
},
|
|
88
|
+
}, la = {
|
|
89
89
|
key: 2,
|
|
90
90
|
class: "dpiV3_title"
|
|
91
|
-
},
|
|
91
|
+
}, da = { class: "dpiV3_modalButtonWrap" }, na = {
|
|
92
92
|
__name: "ModalV3",
|
|
93
93
|
props: {
|
|
94
94
|
headerText: { type: String, required: !0 },
|
|
@@ -148,508 +148,536 @@ const gt = {
|
|
|
148
148
|
"addChecksum",
|
|
149
149
|
"addChangeLicense"
|
|
150
150
|
],
|
|
151
|
-
setup(
|
|
152
|
-
const e =
|
|
151
|
+
setup(p, { emit: xe }) {
|
|
152
|
+
const e = p, v = xe, R = i(null), q = i(null), B = i(null), z = i(null), M = i(null), $ = i(null), E = i(!1), P = i(!1), W = i(!1), O = i(!1), H = i(!1), N = i(!1), j = i(!1);
|
|
153
153
|
i(!1);
|
|
154
|
-
const
|
|
154
|
+
const K = i(!1), Y = i(!1), Z = i(!1), G = i(!1), J = i(!1), Q = i(!1), X = i(!1), ee = i(!1), te = i(!1), ae = i(!1), T = i([]), r = i({ key: "", text: "" }), De = i(null), ie = i(!1), C = i(null), se = i(null);
|
|
155
155
|
i([...e.fileTypes]);
|
|
156
|
-
const
|
|
156
|
+
const we = i([]), Ce = i([]);
|
|
157
157
|
i(null);
|
|
158
|
-
const
|
|
158
|
+
const Le = i(!1), ce = i(""), fe = i(""), me = i(""), pe = i(""), b = i({}), _ = i({}), V = i({}), I = i({}), ve = i(""), ye = i(""), he = i(""), ke = i(0), ge = i(""), be = i(""), _e = i(""), L = i(""), U = i(""), Ue = i(""), A = i(""), S = i(""), oe = i(!0);
|
|
159
159
|
i(!0);
|
|
160
|
-
const Ae =
|
|
160
|
+
const Ae = ["dcterms:license"], Ve = Qe(() => e.sections ? e.sections.map((t) => {
|
|
161
|
+
const a = t.keys.map((o, c) => Ae.includes(o) ? -1 : c).filter((o) => o !== -1);
|
|
162
|
+
return {
|
|
163
|
+
...t,
|
|
164
|
+
items: a.map((o) => t.items[o]),
|
|
165
|
+
keys: a.map((o) => t.keys[o])
|
|
166
|
+
};
|
|
167
|
+
}) : []);
|
|
168
|
+
function Se(t, a) {
|
|
161
169
|
oe.value = !1, r.value = {
|
|
162
|
-
key: e.sections[
|
|
163
|
-
text: e.sections[
|
|
164
|
-
}, b.value[e.distributionId] || (b.value[e.distributionId] = []),
|
|
165
|
-
}
|
|
170
|
+
key: e.sections[t].keys[a],
|
|
171
|
+
text: e.sections[t].items[a]
|
|
172
|
+
}, b.value[e.distributionId] || (b.value[e.distributionId] = []), _.value[e.distributionId] || (_.value[e.distributionId] = []), V.value[e.distributionId] || (V.value[e.distributionId] = []), I.value[e.distributionId] || (I.value[e.distributionId] = []);
|
|
173
|
+
}
|
|
174
|
+
function le() {
|
|
166
175
|
oe.value = !0, r.value = { key: "", text: "" };
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
176
|
+
}
|
|
177
|
+
function Fe() {
|
|
178
|
+
const t = (a) => {
|
|
179
|
+
if (!a || a.trim() === "")
|
|
180
|
+
return !1;
|
|
181
|
+
const o = a.trim();
|
|
182
|
+
return /\.[a-z]{2,}$/i.test(o);
|
|
172
183
|
};
|
|
173
|
-
if (
|
|
174
|
-
const
|
|
175
|
-
if (
|
|
176
|
-
const s =
|
|
177
|
-
return !!(s && (!
|
|
184
|
+
if (W.value) {
|
|
185
|
+
const a = V.value[e.distributionId] || [];
|
|
186
|
+
if (a.some((n) => {
|
|
187
|
+
const s = n["dct:title"] && n["dct:title"].trim() !== "", m = n["dcat:downloadURL"] ? n["dcat:downloadURL"].trim() : "";
|
|
188
|
+
return !!(s && (!m || !t(m)) || m && !t(m));
|
|
178
189
|
})) {
|
|
179
190
|
R.value && R.value.validateAllItems();
|
|
180
191
|
return;
|
|
181
192
|
}
|
|
182
|
-
const
|
|
183
|
-
const s =
|
|
184
|
-
return s ||
|
|
193
|
+
const c = a.filter((n) => {
|
|
194
|
+
const s = n["dct:title"] && n["dct:title"].trim() !== "", m = n["dcat:downloadURL"] && n["dcat:downloadURL"].trim() !== "" && t(n["dcat:downloadURL"].trim());
|
|
195
|
+
return s || m;
|
|
185
196
|
});
|
|
186
|
-
|
|
197
|
+
c.length > 0 && v(
|
|
187
198
|
"addConformsToItems",
|
|
188
199
|
e.distributionId,
|
|
189
|
-
|
|
190
|
-
),
|
|
200
|
+
c
|
|
201
|
+
), W.value = !1;
|
|
191
202
|
}
|
|
192
203
|
if (O.value) {
|
|
193
|
-
const
|
|
194
|
-
if (
|
|
195
|
-
const s =
|
|
196
|
-
return !!(s && !
|
|
204
|
+
const a = I.value[e.distributionId] || [];
|
|
205
|
+
if (a.some((n) => {
|
|
206
|
+
const s = n["dcat:downloadURL"] ? n["dcat:downloadURL"].trim() : "";
|
|
207
|
+
return !!(s && !t(s));
|
|
197
208
|
})) {
|
|
198
|
-
|
|
209
|
+
$.value && $.value.validateAllItems();
|
|
199
210
|
return;
|
|
200
211
|
}
|
|
201
|
-
const
|
|
202
|
-
|
|
212
|
+
const c = a.filter((n) => n["dcat:downloadURL"] && n["dcat:downloadURL"].trim() !== "" && t(n["dcat:downloadURL"].trim()));
|
|
213
|
+
c.length > 0 && v("addPolicyItems", e.distributionId, c), O.value = !1;
|
|
203
214
|
}
|
|
204
|
-
if (
|
|
205
|
-
const
|
|
206
|
-
const
|
|
207
|
-
return
|
|
215
|
+
if (E.value) {
|
|
216
|
+
const a = b.value[e.distributionId] || [], o = (s) => {
|
|
217
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0);
|
|
218
|
+
return m || k || x;
|
|
208
219
|
};
|
|
209
|
-
if (
|
|
210
|
-
const
|
|
211
|
-
return !!(
|
|
220
|
+
if (a.some((s) => {
|
|
221
|
+
const m = s["dcat:accessURL"] ? s["dcat:accessURL"].trim() : "";
|
|
222
|
+
return !!(o(s) && (!m || !t(m)) || m && !t(m));
|
|
212
223
|
})) {
|
|
213
224
|
q.value && q.value.validateAllItems();
|
|
214
225
|
return;
|
|
215
226
|
}
|
|
216
|
-
const
|
|
217
|
-
const
|
|
218
|
-
return
|
|
227
|
+
const n = a.filter((s) => {
|
|
228
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dct:format"] && s["dct:format"].trim !== "" && (typeof s["dct:format"] == "string" ? s["dct:format"].trim() !== "" : !0), Je = s["dcat:accessURL"] && s["dcat:accessURL"].trim() !== "" && t(s["dcat:accessURL"].trim());
|
|
229
|
+
return m || k || x || Je;
|
|
219
230
|
});
|
|
220
|
-
|
|
231
|
+
n.length > 0 && v(
|
|
221
232
|
"addDocumentations",
|
|
222
233
|
e.distributionId,
|
|
223
|
-
|
|
224
|
-
),
|
|
234
|
+
n
|
|
235
|
+
), E.value = !1;
|
|
225
236
|
}
|
|
226
|
-
if (
|
|
227
|
-
const
|
|
228
|
-
const
|
|
229
|
-
return
|
|
237
|
+
if (P.value) {
|
|
238
|
+
const a = _.value[e.distributionId] || [], o = (s) => {
|
|
239
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "";
|
|
240
|
+
return m || k;
|
|
230
241
|
};
|
|
231
|
-
if (
|
|
232
|
-
const
|
|
233
|
-
return !!(
|
|
242
|
+
if (a.some((s) => {
|
|
243
|
+
const m = s["dcat:downloadURL"] ? s["dcat:downloadURL"].trim() : "";
|
|
244
|
+
return !!(o(s) && (!m || !t(m)) || m && !t(m));
|
|
234
245
|
})) {
|
|
235
246
|
B.value && B.value.validateAllItems();
|
|
236
247
|
return;
|
|
237
248
|
}
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
return
|
|
249
|
+
const n = a.filter((s) => {
|
|
250
|
+
const m = s["dct:title"] && s["dct:title"].trim() !== "", k = s["dct:description"] && s["dct:description"].trim() !== "", x = s["dcat:downloadURL"] && s["dcat:downloadURL"].trim() !== "" && t(s["dcat:downloadURL"].trim());
|
|
251
|
+
return m || k || x;
|
|
241
252
|
});
|
|
242
|
-
|
|
253
|
+
n.length > 0 && v(
|
|
243
254
|
"addAccessServices",
|
|
244
255
|
e.distributionId,
|
|
245
|
-
|
|
246
|
-
),
|
|
256
|
+
n
|
|
257
|
+
), P.value = !1;
|
|
247
258
|
}
|
|
248
|
-
if (H.value && (v("addModifiedDate",
|
|
249
|
-
const
|
|
250
|
-
if ((
|
|
259
|
+
if (H.value && (v("addModifiedDate", ce.value, e.distributionId), H.value = !1), N.value && (v("addIssuedDate", fe.value, e.distributionId), N.value = !1), j.value && (v("addDescription", me.value, e.distributionId), j.value = !1), K.value && (v("addAccessRights", pe.value, e.distributionId, e.uri), K.value = !1), Y.value && (v("addAvailability", ve.value, e.distributionId, e.uri), Y.value = !1), ee.value && (v("addStatus", ye.value, e.distributionId), ee.value = !1), te.value) {
|
|
260
|
+
const a = L.value && L.value.trim() !== "", o = U.value && U.value.trim() !== "";
|
|
261
|
+
if ((a || o) && (!a || !o)) {
|
|
251
262
|
z.value && z.value.validateAllItems();
|
|
252
263
|
return;
|
|
253
264
|
}
|
|
254
|
-
|
|
265
|
+
a && o && v(
|
|
255
266
|
"addChecksum",
|
|
256
|
-
|
|
257
|
-
|
|
267
|
+
L.value,
|
|
268
|
+
U.value,
|
|
258
269
|
e.distributionId,
|
|
259
|
-
|
|
270
|
+
Ue.value
|
|
260
271
|
), te.value = !1;
|
|
261
272
|
}
|
|
262
273
|
if (ae.value) {
|
|
263
|
-
const
|
|
264
|
-
if (
|
|
265
|
-
n && !t) {
|
|
274
|
+
const a = typeof S.value == "string" ? S.value.trim() : "", o = typeof A.value == "string" ? A.value.trim() : "";
|
|
275
|
+
if (a && (a.toLowerCase().includes("cc-by") || a.toLowerCase().includes("cc by")) && !o || o && !a) {
|
|
266
276
|
M.value && M.value.validate();
|
|
267
277
|
return;
|
|
268
278
|
}
|
|
269
|
-
(
|
|
279
|
+
(a || o) && v(
|
|
270
280
|
"addChangeLicense",
|
|
271
|
-
|
|
272
|
-
|
|
281
|
+
A.value,
|
|
282
|
+
S.value,
|
|
273
283
|
e.distributionId
|
|
274
284
|
), ae.value = !1;
|
|
275
285
|
}
|
|
276
|
-
|
|
286
|
+
Z.value && (v("addLanguage", he.value, e.distributionId, e.uri), Z.value = !1), G.value && (v("addByteSize", ke.value, e.distributionId), G.value = !1), J.value && (v(
|
|
277
287
|
"addMediaType",
|
|
278
|
-
|
|
288
|
+
ge.value,
|
|
279
289
|
"dcat:mediaType",
|
|
280
290
|
e.distributionId
|
|
281
|
-
),
|
|
291
|
+
), J.value = !1), Q.value && (v(
|
|
282
292
|
"addCompressFormat",
|
|
283
293
|
be.value,
|
|
284
294
|
"dcat:compressFormat",
|
|
285
295
|
e.distributionId
|
|
286
|
-
),
|
|
296
|
+
), Q.value = !1), X.value && (v(
|
|
287
297
|
"addPackageFormat",
|
|
288
|
-
|
|
298
|
+
_e.value,
|
|
289
299
|
"dcat:packageFormat",
|
|
290
300
|
e.distributionId
|
|
291
|
-
),
|
|
292
|
-
}
|
|
293
|
-
|
|
301
|
+
), X.value = !1), le();
|
|
302
|
+
}
|
|
303
|
+
Xe(
|
|
294
304
|
() => e.sections,
|
|
295
|
-
(
|
|
296
|
-
Array.isArray(
|
|
305
|
+
(t) => {
|
|
306
|
+
Array.isArray(t) && t.length > 0 && (T.value = t.map((a, o) => o === 0));
|
|
297
307
|
},
|
|
298
308
|
{ immediate: !0 }
|
|
299
309
|
);
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
310
|
+
function Re(t) {
|
|
311
|
+
T.value[t] = !T.value[t];
|
|
312
|
+
}
|
|
313
|
+
function de() {
|
|
303
314
|
v("close");
|
|
304
|
-
}
|
|
315
|
+
}
|
|
316
|
+
function qe() {
|
|
305
317
|
v("actionHandling", e.action), de();
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
b.value[e.distributionId] = e.documentations,
|
|
309
|
-
const
|
|
318
|
+
}
|
|
319
|
+
et(async () => {
|
|
320
|
+
b.value[e.distributionId] = e.documentations, _.value[e.distributionId] = e.accessServices, V.value[e.distributionId] = e.conformsToItems, I.value[e.distributionId] = e.policyItems;
|
|
321
|
+
const t = tt(), a = t.appContext.app.config.globalProperties.$env;
|
|
310
322
|
try {
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
"@value":
|
|
314
|
-
label:
|
|
323
|
+
const c = await at(a.api.baseUrl);
|
|
324
|
+
we.value = c.map((n) => ({
|
|
325
|
+
"@value": n.value,
|
|
326
|
+
label: n.label
|
|
315
327
|
}));
|
|
316
|
-
} catch (
|
|
317
|
-
console.error("Failed to load planned availability data",
|
|
328
|
+
} catch (c) {
|
|
329
|
+
console.error("Failed to load planned availability data", c);
|
|
318
330
|
}
|
|
319
|
-
const
|
|
331
|
+
const o = t.appContext.app.config.globalProperties.$i18n.locale;
|
|
320
332
|
try {
|
|
321
|
-
const
|
|
322
|
-
|
|
323
|
-
"@value":
|
|
324
|
-
label:
|
|
333
|
+
const c = await it(a.api.baseUrl, o);
|
|
334
|
+
Ce.value = c.map((n) => ({
|
|
335
|
+
"@value": n.label,
|
|
336
|
+
label: n.label
|
|
325
337
|
}));
|
|
326
|
-
} catch (
|
|
327
|
-
console.error("Failed to load language data",
|
|
338
|
+
} catch (c) {
|
|
339
|
+
console.error("Failed to load language data", c);
|
|
328
340
|
}
|
|
329
341
|
});
|
|
330
|
-
|
|
331
|
-
console.log(
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
342
|
+
function Be(t, a) {
|
|
343
|
+
console.log(a), b.value[t] = a, E.value = !0;
|
|
344
|
+
}
|
|
345
|
+
function ze(t, a) {
|
|
346
|
+
_.value[t] = a, P.value = !0;
|
|
347
|
+
}
|
|
348
|
+
function Me(t, a) {
|
|
349
|
+
V.value[t] = a, W.value = !0;
|
|
350
|
+
}
|
|
351
|
+
function $e(t, a) {
|
|
352
|
+
I.value[t] = a, O.value = !0;
|
|
353
|
+
}
|
|
354
|
+
function Ee(t) {
|
|
355
|
+
ce.value = t, H.value = !0;
|
|
356
|
+
}
|
|
357
|
+
function Pe(t) {
|
|
358
|
+
fe.value = t, N.value = !0;
|
|
359
|
+
}
|
|
360
|
+
function We(t) {
|
|
361
|
+
me.value = t, j.value = !0;
|
|
362
|
+
}
|
|
363
|
+
function Oe(t, a) {
|
|
364
|
+
console.log(t, a), pe.value = t, K.value = !0;
|
|
365
|
+
}
|
|
366
|
+
function He(t) {
|
|
367
|
+
ve.value = t, Y.value = !0;
|
|
368
|
+
}
|
|
369
|
+
function Ne(t) {
|
|
370
|
+
ye.value = t, ee.value = !0;
|
|
371
|
+
}
|
|
372
|
+
function je(t, a) {
|
|
373
|
+
console.log(e.checksumURI), te.value = !0, U.value = a, L.value = t;
|
|
374
|
+
}
|
|
375
|
+
function Ke(t, a, o, c) {
|
|
376
|
+
console.log(t, a, o, c), ae.value = !0, S.value = a, A.value = t;
|
|
377
|
+
}
|
|
378
|
+
function Ye(t) {
|
|
379
|
+
he.value = t, Z.value = !0;
|
|
380
|
+
}
|
|
381
|
+
function ne(t, a) {
|
|
382
|
+
switch (a) {
|
|
358
383
|
case "dcat:mediaType":
|
|
359
|
-
|
|
384
|
+
J.value = !0, ge.value = t;
|
|
360
385
|
break;
|
|
361
386
|
case "dcat:compressFormat":
|
|
362
|
-
|
|
387
|
+
Q.value = !0, be.value = t;
|
|
363
388
|
break;
|
|
364
389
|
case "dcat:packageFormat":
|
|
365
|
-
|
|
390
|
+
X.value = !0, _e.value = t;
|
|
366
391
|
break;
|
|
367
392
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
ie.value = !1,
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
393
|
+
}
|
|
394
|
+
function Ze(t) {
|
|
395
|
+
ke.value = t, G.value = !0;
|
|
396
|
+
}
|
|
397
|
+
function Ie() {
|
|
398
|
+
ie.value = !1, De.value = null;
|
|
399
|
+
}
|
|
400
|
+
function Ge() {
|
|
401
|
+
ie.value = !1, Le.value = !1;
|
|
402
|
+
}
|
|
403
|
+
return (t, a) => (l(), u(D, null, [
|
|
404
|
+
oe.value ? (l(), u("div", _t, [
|
|
405
|
+
f("div", {
|
|
406
|
+
class: F(["dpiV3_modalWrap", {
|
|
379
407
|
dpiV3_optionalInfo: e.optionalInfoView || r.value.key === "foaf:page"
|
|
380
408
|
}])
|
|
381
409
|
}, [
|
|
382
|
-
|
|
383
|
-
class:
|
|
410
|
+
f("div", {
|
|
411
|
+
class: F(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
|
|
384
412
|
}, [
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
class:
|
|
413
|
+
f("div", Vt, [
|
|
414
|
+
f("h2", {
|
|
415
|
+
class: F({ dpiV3_optionalInfoHeader: e.optionalInfoView })
|
|
388
416
|
}, h(e.headerText), 3),
|
|
389
|
-
y(
|
|
417
|
+
y(re, {
|
|
390
418
|
class: "dpiv3_modalCrossout",
|
|
391
419
|
onClick: de
|
|
392
420
|
})
|
|
393
421
|
]),
|
|
394
|
-
|
|
395
|
-
!e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (
|
|
396
|
-
|
|
397
|
-
e.title ? (
|
|
422
|
+
f("span", It, h(e.text), 1),
|
|
423
|
+
!e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (l(), u("div", Tt, [
|
|
424
|
+
f("div", xt, [
|
|
425
|
+
e.title ? (l(), u("a", {
|
|
398
426
|
key: 0,
|
|
399
427
|
href: e.distributionLink,
|
|
400
428
|
target: "_blank"
|
|
401
429
|
}, [
|
|
402
|
-
|
|
403
|
-
], 8,
|
|
404
|
-
e.distributionLink && !e.title ? (
|
|
430
|
+
f("div", wt, h(e.title), 1)
|
|
431
|
+
], 8, Dt)) : d("", !0),
|
|
432
|
+
e.distributionLink && !e.title ? (l(), u("a", {
|
|
405
433
|
key: 1,
|
|
406
434
|
href: e.distributionLink,
|
|
407
435
|
target: "_blank"
|
|
408
436
|
}, [
|
|
409
|
-
|
|
410
|
-
], 8,
|
|
411
|
-
e.format ? (
|
|
437
|
+
f("div", Lt, h(e.distributionLink), 1)
|
|
438
|
+
], 8, Ct)) : d("", !0),
|
|
439
|
+
e.format ? (l(), u("div", Ut, h(e.format), 1)) : d("", !0)
|
|
412
440
|
])
|
|
413
|
-
])) :
|
|
441
|
+
])) : d("", !0)
|
|
414
442
|
], 2),
|
|
415
|
-
e.showButtons ? (
|
|
416
|
-
y(
|
|
417
|
-
|
|
443
|
+
e.showButtons ? (l(), u("div", At, [
|
|
444
|
+
y(gt, {
|
|
445
|
+
ref: "accActive",
|
|
446
|
+
"button-text": t.$t("message.dataupload.datasets.dcat:distribution.modal.cancel"),
|
|
418
447
|
class: "dpiv3_modalCancelButton",
|
|
419
|
-
onClick: de
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
onClick: (
|
|
437
|
-
|
|
438
|
-
}, null, 8, ["onClick", "expanded"])
|
|
448
|
+
onClick: de
|
|
449
|
+
}, null, 8, ["button-text"]),
|
|
450
|
+
y(w, {
|
|
451
|
+
"button-text": e.buttons,
|
|
452
|
+
size: "large",
|
|
453
|
+
onClick: qe
|
|
454
|
+
}, null, 8, ["button-text"])
|
|
455
|
+
])) : d("", !0),
|
|
456
|
+
e.optionalInfoView ? (l(), u("div", St, [
|
|
457
|
+
f("div", Ft, [
|
|
458
|
+
(l(!0), u(D, null, Te(Ve.value, (o, c) => (l(), u(D, { key: c }, [
|
|
459
|
+
f("div", Rt, [
|
|
460
|
+
f("div", qt, [
|
|
461
|
+
f("div", null, h(o.title), 1),
|
|
462
|
+
f("div", Bt, [
|
|
463
|
+
y(st, {
|
|
464
|
+
expanded: !T.value[c],
|
|
465
|
+
onClick: (n) => Re(c)
|
|
466
|
+
}, null, 8, ["expanded", "onClick"])
|
|
439
467
|
])
|
|
440
468
|
])
|
|
441
469
|
]),
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
470
|
+
T.value[c] ? (l(!0), u(D, { key: 0 }, Te(o.items, (n, s) => (l(), u(D, { key: s }, [
|
|
471
|
+
a[4] || (a[4] = f("div", { class: "dpiV3_itemDivider" }, null, -1)),
|
|
472
|
+
f("div", {
|
|
445
473
|
class: "dpiV3_itemOptional",
|
|
446
|
-
onClick: (
|
|
447
|
-
}, h(
|
|
448
|
-
], 64))), 128)) :
|
|
449
|
-
|
|
474
|
+
onClick: (m) => Se(c, s)
|
|
475
|
+
}, h(n), 9, zt)
|
|
476
|
+
], 64))), 128)) : d("", !0),
|
|
477
|
+
c < Ve.value.length - 1 ? (l(), u("div", Mt)) : d("", !0)
|
|
450
478
|
], 64))), 128))
|
|
451
479
|
])
|
|
452
|
-
])) :
|
|
480
|
+
])) : d("", !0)
|
|
453
481
|
], 2)
|
|
454
|
-
])) :
|
|
455
|
-
r.value.key ? (
|
|
456
|
-
|
|
457
|
-
class:
|
|
482
|
+
])) : d("", !0),
|
|
483
|
+
r.value.key ? (l(), u("div", $t, [
|
|
484
|
+
f("div", {
|
|
485
|
+
class: F(["dpiV3_modalWrap", {
|
|
458
486
|
dpiV3_removeOverflow: r.value.key === "dcatap:availability" || r.value.key === "dcat:mediaType" || r.value.key === "dcat:compressFormat" || r.value.key === "dcat:packageFormat" || r.value.key === "spdx:checksum" || r.value.key === "adms:status"
|
|
459
487
|
}])
|
|
460
488
|
}, [
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
y(
|
|
489
|
+
f("div", Et, [
|
|
490
|
+
f("h2", null, h(r.value.text) + " " + h(t.$t("message.dataupload.datasets.dcat:distribution.modal.add_small")), 1),
|
|
491
|
+
y(re, {
|
|
464
492
|
class: "dpiv3_modalCrossout",
|
|
465
493
|
onClick: le
|
|
466
494
|
})
|
|
467
495
|
]),
|
|
468
|
-
r.value.key === "dcatap:availability" ? (
|
|
496
|
+
r.value.key === "dcatap:availability" ? (l(), u("p", Pt, h(t.$t(
|
|
469
497
|
"message.dataupload.datasets.dcat:distribution.modal.availability_paragraph"
|
|
470
|
-
)), 1)) :
|
|
471
|
-
r.value.key === "dcat:byteSize" ? (
|
|
498
|
+
)), 1)) : d("", !0),
|
|
499
|
+
r.value.key === "dcat:byteSize" ? (l(), u("p", Wt, h(t.$t(
|
|
472
500
|
"message.dataupload.datasets.dcat:distribution.modal.byte-size-paragraph"
|
|
473
|
-
)), 1)) :
|
|
474
|
-
r.value.key === "foaf:page" ? (
|
|
501
|
+
)), 1)) : d("", !0),
|
|
502
|
+
r.value.key === "foaf:page" ? (l(), u("p", Ot, h(t.$t(
|
|
475
503
|
"message.dataupload.datasets.dcat:distribution.modal.documentation-paragraph"
|
|
476
|
-
)), 1)) :
|
|
477
|
-
r.value.key === "dct:modified" ? (
|
|
478
|
-
y(
|
|
479
|
-
|
|
480
|
-
onAddModifiedDate:
|
|
481
|
-
}, null, 8, ["
|
|
482
|
-
])) :
|
|
483
|
-
r.value.key === "dct:issued" ? (
|
|
484
|
-
y(
|
|
485
|
-
|
|
486
|
-
|
|
504
|
+
)), 1)) : d("", !0),
|
|
505
|
+
r.value.key === "dct:modified" ? (l(), u("div", Ht, [
|
|
506
|
+
y(yt, {
|
|
507
|
+
"model-value": p.modifiedDate,
|
|
508
|
+
onAddModifiedDate: Ee
|
|
509
|
+
}, null, 8, ["model-value"])
|
|
510
|
+
])) : d("", !0),
|
|
511
|
+
r.value.key === "dct:issued" ? (l(), u("div", Nt, [
|
|
512
|
+
y(pt, {
|
|
513
|
+
"model-value": p.issuedDate,
|
|
514
|
+
"label-text": `${r.value.text} (optional)`,
|
|
487
515
|
onAddIssuedDate: Pe
|
|
488
|
-
}, null, 8, ["
|
|
489
|
-
])) :
|
|
490
|
-
r.value.key === "dct:description" ? (
|
|
516
|
+
}, null, 8, ["model-value", "label-text"])
|
|
517
|
+
])) : d("", !0),
|
|
518
|
+
r.value.key === "dct:description" ? (l(), u("div", jt, [
|
|
519
|
+
y(ft, {
|
|
520
|
+
"description-text": p.descriptionText,
|
|
521
|
+
onAddDescription: We
|
|
522
|
+
}, null, 8, ["description-text"])
|
|
523
|
+
])) : d("", !0),
|
|
524
|
+
r.value.key === "dct:accessRights" ? (l(), u("div", Kt, [
|
|
491
525
|
y(ot, {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
}, null, 8, ["
|
|
495
|
-
])) :
|
|
496
|
-
r.value.key === "
|
|
497
|
-
y(
|
|
498
|
-
onAddAccessRights: We,
|
|
499
|
-
accessRightsProp: f.accessRightsText
|
|
500
|
-
}, null, 8, ["accessRightsProp"])
|
|
501
|
-
])) : l("", !0),
|
|
502
|
-
r.value.key === "foaf:page" ? (o(), c("div", Nt, [
|
|
503
|
-
y(it, {
|
|
526
|
+
"access-rights-prop": p.accessRightsText,
|
|
527
|
+
onAddAccessRights: Oe
|
|
528
|
+
}, null, 8, ["access-rights-prop"])
|
|
529
|
+
])) : d("", !0),
|
|
530
|
+
r.value.key === "foaf:page" ? (l(), u("div", Yt, [
|
|
531
|
+
y(mt, {
|
|
504
532
|
ref_key: "documentationsV3Ref",
|
|
505
533
|
ref: q,
|
|
506
534
|
documentations: b.value[e.distributionId] || [],
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}, null, 8, ["documentations", "
|
|
511
|
-
])) :
|
|
512
|
-
r.value.key === "dcat:accessService" ? (
|
|
513
|
-
y(
|
|
535
|
+
"file-types": p.fileTypes,
|
|
536
|
+
"distribution-id": e.distributionId,
|
|
537
|
+
onUpdate: a[0] || (a[0] = (o) => Be(e.distributionId, o))
|
|
538
|
+
}, null, 8, ["documentations", "file-types", "distribution-id"])
|
|
539
|
+
])) : d("", !0),
|
|
540
|
+
r.value.key === "dcat:accessService" ? (l(), u("div", Zt, [
|
|
541
|
+
y(lt, {
|
|
514
542
|
ref_key: "accessServiceV3Ref",
|
|
515
543
|
ref: B,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}, null, 8, ["
|
|
520
|
-
])) :
|
|
521
|
-
r.value.key === "dcat:byteSize" ? (
|
|
544
|
+
"access-services": _.value[e.distributionId] || [],
|
|
545
|
+
"distribution-id": e.distributionId,
|
|
546
|
+
onUpdate: a[1] || (a[1] = (o) => ze(e.distributionId, o))
|
|
547
|
+
}, null, 8, ["access-services", "distribution-id"])
|
|
548
|
+
])) : d("", !0),
|
|
549
|
+
r.value.key === "dcat:byteSize" ? (l(), g(nt, {
|
|
522
550
|
key: 9,
|
|
523
|
-
|
|
551
|
+
"byte-size-prop": p.byteSizeText,
|
|
524
552
|
onAddByteSize: Ze
|
|
525
|
-
}, null, 8, ["
|
|
526
|
-
r.value.key === "dcatap:availability" ? (
|
|
553
|
+
}, null, 8, ["byte-size-prop"])) : d("", !0),
|
|
554
|
+
r.value.key === "dcatap:availability" ? (l(), g(dt, {
|
|
527
555
|
key: 10,
|
|
528
|
-
|
|
529
|
-
onAddAvailability:
|
|
530
|
-
}, null, 8, ["
|
|
531
|
-
r.value.key === "dct:language" ? (
|
|
556
|
+
"availability-text": p.availabilityText,
|
|
557
|
+
onAddAvailability: He
|
|
558
|
+
}, null, 8, ["availability-text"])) : d("", !0),
|
|
559
|
+
r.value.key === "dct:language" ? (l(), g(vt, {
|
|
532
560
|
key: 11,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
onAddLanguage:
|
|
536
|
-
}, null, 8, ["
|
|
537
|
-
r.value.key === "dct:conformsTo" ? (
|
|
538
|
-
y(
|
|
561
|
+
"language-text": p.languageText,
|
|
562
|
+
"distribution-id": p.distributionId,
|
|
563
|
+
onAddLanguage: Ye
|
|
564
|
+
}, null, 8, ["language-text", "distribution-id"])) : d("", !0),
|
|
565
|
+
r.value.key === "dct:conformsTo" ? (l(), u("div", Gt, [
|
|
566
|
+
y(ct, {
|
|
539
567
|
ref_key: "conformsToV3Ref",
|
|
540
568
|
ref: R,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}, null, 8, ["
|
|
546
|
-
])) :
|
|
547
|
-
r.value.key === "odrl:hasPolicy" ? (
|
|
548
|
-
y(
|
|
569
|
+
"conforms-to-items": V.value[e.distributionId] || [],
|
|
570
|
+
"as-card": !1,
|
|
571
|
+
"distribution-id": e.distributionId,
|
|
572
|
+
onUpdate: a[2] || (a[2] = (o) => Me(e.distributionId, o))
|
|
573
|
+
}, null, 8, ["conforms-to-items", "distribution-id"])
|
|
574
|
+
])) : d("", !0),
|
|
575
|
+
r.value.key === "odrl:hasPolicy" ? (l(), u("div", Jt, [
|
|
576
|
+
y(ht, {
|
|
549
577
|
ref_key: "policyV3Ref",
|
|
550
|
-
ref:
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}, null, 8, ["
|
|
556
|
-
])) :
|
|
557
|
-
r.value.key === "dcat:mediaType" ? (
|
|
578
|
+
ref: $,
|
|
579
|
+
"policy-items": I.value[e.distributionId] || [],
|
|
580
|
+
"as-card": !1,
|
|
581
|
+
"distribution-id": e.distributionId,
|
|
582
|
+
onUpdate: a[3] || (a[3] = (o) => $e(e.distributionId, o))
|
|
583
|
+
}, null, 8, ["policy-items", "distribution-id"])
|
|
584
|
+
])) : d("", !0),
|
|
585
|
+
r.value.key === "dcat:mediaType" ? (l(), g(ue, {
|
|
558
586
|
key: 14,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}, null, 8, ["
|
|
564
|
-
r.value.key === "dcat:compressFormat" ? (
|
|
587
|
+
"file-types": p.fileTypes,
|
|
588
|
+
"file-format-type": "dcat:mediaType",
|
|
589
|
+
"file-format-text": p.mediaTypeText,
|
|
590
|
+
onAddMediaType: ne
|
|
591
|
+
}, null, 8, ["file-types", "file-format-text"])) : d("", !0),
|
|
592
|
+
r.value.key === "dcat:compressFormat" ? (l(), g(ue, {
|
|
565
593
|
key: 15,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
}, null, 8, ["
|
|
571
|
-
r.value.key === "dcat:packageFormat" ? (
|
|
594
|
+
"file-types": p.fileTypes,
|
|
595
|
+
"file-format-type": "dcat:compressFormat",
|
|
596
|
+
"compress-format-text": p.compressFormatText,
|
|
597
|
+
onAddCompressFormat: ne
|
|
598
|
+
}, null, 8, ["file-types", "compress-format-text"])) : d("", !0),
|
|
599
|
+
r.value.key === "dcat:packageFormat" ? (l(), g(ue, {
|
|
572
600
|
key: 16,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}, null, 8, ["
|
|
578
|
-
r.value.key === "adms:status" ? (
|
|
601
|
+
"file-types": p.fileTypes,
|
|
602
|
+
"file-format-type": "dcat:packageFormat",
|
|
603
|
+
"package-format-text": p.packageFormatText,
|
|
604
|
+
onAddPackageFormat: ne
|
|
605
|
+
}, null, 8, ["file-types", "package-format-text"])) : d("", !0),
|
|
606
|
+
r.value.key === "adms:status" ? (l(), g(kt, {
|
|
579
607
|
key: 17,
|
|
580
|
-
|
|
581
|
-
onAddStatus:
|
|
582
|
-
}, null, 8, ["
|
|
583
|
-
r.value.key === "spdx:checksum" ? (
|
|
608
|
+
"status-text": p.statusText,
|
|
609
|
+
onAddStatus: Ne
|
|
610
|
+
}, null, 8, ["status-text"])) : d("", !0),
|
|
611
|
+
r.value.key === "spdx:checksum" ? (l(), g(ut, {
|
|
584
612
|
key: 18,
|
|
585
613
|
ref_key: "checksumV3Ref",
|
|
586
614
|
ref: z,
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}, null, 8, ["
|
|
592
|
-
r.value.key === "dcterms:license" ? (
|
|
615
|
+
"checksum-text": p.checksumText,
|
|
616
|
+
"checksum-dropdown-text": p.checksumDropdownText,
|
|
617
|
+
"as-card": !1,
|
|
618
|
+
onAddChecksum: je
|
|
619
|
+
}, null, 8, ["checksum-text", "checksum-dropdown-text"])) : d("", !0),
|
|
620
|
+
r.value.key === "dcterms:license" ? (l(), g(rt, {
|
|
593
621
|
key: 19,
|
|
594
622
|
ref_key: "changeLicenseV3Ref",
|
|
595
623
|
ref: M,
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
}, null, 8, ["
|
|
600
|
-
|
|
601
|
-
y(
|
|
602
|
-
|
|
603
|
-
buttonText: "Zurück",
|
|
624
|
+
"change-license-text": p.changeLicenseText,
|
|
625
|
+
"change-license-dropdown-text": p.changeLicenseDropdownText,
|
|
626
|
+
onAddChangeLicense: Ke
|
|
627
|
+
}, null, 8, ["change-license-text", "change-license-dropdown-text"])) : d("", !0),
|
|
628
|
+
f("div", Qt, [
|
|
629
|
+
y(w, {
|
|
630
|
+
"button-text": "Zurück",
|
|
604
631
|
size: "large",
|
|
605
|
-
|
|
606
|
-
variant: "tertiary"
|
|
632
|
+
"icon-start": "CaretLeft",
|
|
633
|
+
variant: "tertiary",
|
|
634
|
+
onClick: le
|
|
607
635
|
}),
|
|
608
|
-
y(
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
636
|
+
y(w, {
|
|
637
|
+
"button-text": "Hinzufügen",
|
|
638
|
+
size: "large",
|
|
639
|
+
onClick: Fe
|
|
612
640
|
})
|
|
613
641
|
])
|
|
614
642
|
], 2)
|
|
615
|
-
])) :
|
|
616
|
-
ie.value ? (
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
y(
|
|
643
|
+
])) : d("", !0),
|
|
644
|
+
ie.value ? (l(), u("div", Xt, [
|
|
645
|
+
f("div", ea, [
|
|
646
|
+
f("div", ta, [
|
|
647
|
+
a[5] || (a[5] = f("h2", null, "Dokumentation löschen", -1)),
|
|
648
|
+
y(re, {
|
|
621
649
|
class: "dpiv3_modalCrossout",
|
|
622
|
-
onClick:
|
|
650
|
+
onClick: Ie
|
|
623
651
|
})
|
|
624
652
|
]),
|
|
625
|
-
|
|
626
|
-
|
|
653
|
+
a[6] || (a[6] = f("div", { class: "dpiV3_modalContent" }, [
|
|
654
|
+
f("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
|
|
627
655
|
], -1)),
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
C.value ? (
|
|
631
|
-
se.value && C.value === "" ? (
|
|
632
|
-
se.value === "" && C.value === "" ? (
|
|
656
|
+
f("div", aa, [
|
|
657
|
+
f("div", ia, [
|
|
658
|
+
C.value ? (l(), u("div", sa, h(C.value), 1)) : d("", !0),
|
|
659
|
+
se.value && C.value === "" ? (l(), u("div", oa, h(se.value), 1)) : d("", !0),
|
|
660
|
+
se.value === "" && C.value === "" ? (l(), u("div", la, " Es wurde keine URL angegeben! ")) : d("", !0)
|
|
633
661
|
])
|
|
634
662
|
]),
|
|
635
|
-
|
|
636
|
-
y(
|
|
637
|
-
|
|
638
|
-
buttonText: "Abbrechen",
|
|
663
|
+
f("div", da, [
|
|
664
|
+
y(w, {
|
|
665
|
+
"button-text": "Abbrechen",
|
|
639
666
|
size: "large",
|
|
640
|
-
variant: "tertiary"
|
|
667
|
+
variant: "tertiary",
|
|
668
|
+
onClick: Ie
|
|
641
669
|
}),
|
|
642
|
-
y(
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
670
|
+
y(w, {
|
|
671
|
+
"button-text": "Löschen",
|
|
672
|
+
size: "large",
|
|
673
|
+
onClick: Ge
|
|
646
674
|
})
|
|
647
675
|
])
|
|
648
676
|
])
|
|
649
|
-
])) :
|
|
677
|
+
])) : d("", !0)
|
|
650
678
|
], 64));
|
|
651
679
|
}
|
|
652
|
-
},
|
|
680
|
+
}, Fa = /* @__PURE__ */ bt(na, [["__scopeId", "data-v-77856043"]]);
|
|
653
681
|
export {
|
|
654
|
-
|
|
682
|
+
Fa as default
|
|
655
683
|
};
|