@piveau/dpi 0.1.0-beta.70 → 0.1.0-beta.72
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toRef as ee, ref as te, toValue as N, computed as
|
|
1
|
+
import { toRef as ee, ref as te, toValue as N, computed as k, watch as q } from "vue";
|
|
2
2
|
import { useAsyncState as ie } from "@vueuse/core";
|
|
3
3
|
import { defineJsonldResolver as re, dcatDatasetTransformer as oe, datasetResolvers as ae } from "@piveau/jsonld";
|
|
4
4
|
import { isEmpty as ne } from "lodash-es";
|
|
@@ -32,7 +32,7 @@ function De(e, r) {
|
|
|
32
32
|
execute: B
|
|
33
33
|
} = ie(
|
|
34
34
|
async () => {
|
|
35
|
-
var
|
|
35
|
+
var T;
|
|
36
36
|
const l = await f(N(e));
|
|
37
37
|
if (l.error)
|
|
38
38
|
return c.value.push({
|
|
@@ -40,7 +40,7 @@ function De(e, r) {
|
|
|
40
40
|
message: l.error.message
|
|
41
41
|
}), null;
|
|
42
42
|
const h = l.data;
|
|
43
|
-
return (!h || !((
|
|
43
|
+
return (!h || !((T = h["dpi:isDPIv3"]) != null && T["@value"])) && c.value.push({
|
|
44
44
|
code: "not_dpi_v3",
|
|
45
45
|
message: `The dataset is not a DPI v3 dataset. ID ${h["@id"]}`
|
|
46
46
|
}), {
|
|
@@ -50,23 +50,23 @@ function De(e, r) {
|
|
|
50
50
|
},
|
|
51
51
|
null,
|
|
52
52
|
{ immediate: !1 }
|
|
53
|
-
), R =
|
|
53
|
+
), R = k(
|
|
54
54
|
() => n.value && !y.value && !!g.value
|
|
55
|
-
), L =
|
|
55
|
+
), L = k(
|
|
56
56
|
() => n.value && !!R.value
|
|
57
|
-
), v =
|
|
57
|
+
), v = k(() => L.value), w = k(() => {
|
|
58
58
|
var l;
|
|
59
59
|
return (l = m.value) == null ? void 0 : l.dpiData;
|
|
60
|
-
}), P =
|
|
60
|
+
}), P = k(() => {
|
|
61
61
|
var l;
|
|
62
62
|
return (l = m.value) == null ? void 0 : l.data;
|
|
63
63
|
});
|
|
64
|
-
return
|
|
64
|
+
return q(
|
|
65
65
|
() => N(e),
|
|
66
66
|
(l) => l && n.value ? B() : null
|
|
67
|
-
),
|
|
67
|
+
), q(P, (l) => {
|
|
68
68
|
console.log("jsonld resolved result:", l);
|
|
69
|
-
}),
|
|
69
|
+
}), q(b, (l) => {
|
|
70
70
|
console.log("jsonld error:", l);
|
|
71
71
|
}), {
|
|
72
72
|
processedInput: m,
|
|
@@ -106,7 +106,7 @@ function d(e, r = "de") {
|
|
|
106
106
|
}
|
|
107
107
|
return e["@language"] && e["@value"] ? e["@value"] : u(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function C(e) {
|
|
110
110
|
return {
|
|
111
111
|
uri: e.uri,
|
|
112
112
|
label: e.label,
|
|
@@ -114,9 +114,9 @@ function K(e) {
|
|
|
114
114
|
"@value": e.label
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function A(e, r) {
|
|
118
118
|
const t = e.prefLabel;
|
|
119
|
-
return
|
|
119
|
+
return C({
|
|
120
120
|
uri: e["@id"] || e["purl:identifier"] || "",
|
|
121
121
|
label: t ? d(t) : e["purl:identifier"] || ""
|
|
122
122
|
});
|
|
@@ -273,7 +273,7 @@ function ue(e) {
|
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
function pe(e, r) {
|
|
276
|
-
var i, n, f, c, m, g, y, b, B, R, L, v, w, P, l, h, U,
|
|
276
|
+
var i, n, f, c, m, g, y, b, B, R, L, v, w, P, l, h, U, T, x, F, j, z, M, G, O;
|
|
277
277
|
if (!e)
|
|
278
278
|
return {};
|
|
279
279
|
const t = o(e["spdx:checksum"]);
|
|
@@ -307,46 +307,49 @@ function pe(e, r) {
|
|
|
307
307
|
) || "",
|
|
308
308
|
title: d(e["dcatapde:licenseAttributionByText"]) || ""
|
|
309
309
|
} : {},
|
|
310
|
-
"dct:accessRights": e["dct:accessRights"] ? o(
|
|
310
|
+
"dct:accessRights": e["dct:accessRights"] ? o({
|
|
311
|
+
uri: ((b = o(e["dct:accessRights"])) == null ? void 0 : b["@id"]) || "",
|
|
312
|
+
label: ((B = o(e["dct:accessRights"])) == null ? void 0 : B.prefLabel) || { de: "" }
|
|
313
|
+
}) : {},
|
|
311
314
|
"dcatap:availability": {
|
|
312
315
|
// Redundant label and title for better compatibility
|
|
313
|
-
label: ((
|
|
314
|
-
title: ((
|
|
315
|
-
uri: ((
|
|
316
|
+
label: ((R = o(e["dcatap:availability"])) == null ? void 0 : R.prefLabel) || "",
|
|
317
|
+
title: ((L = o(e["dcatap:availability"])) == null ? void 0 : L.prefLabel) || "",
|
|
318
|
+
uri: ((v = o(e["dcatap:availability"])) == null ? void 0 : v["@id"]) || ""
|
|
316
319
|
},
|
|
317
|
-
"dct:language": ((
|
|
318
|
-
"dcat:mediaType":
|
|
320
|
+
"dct:language": ((w = e["dct:language"]) == null ? void 0 : w.map((p) => A(p)).filter(Boolean)) || [],
|
|
321
|
+
"dcat:mediaType": C({
|
|
319
322
|
label: d(
|
|
320
|
-
(
|
|
323
|
+
(P = o(e["dcat:mediaType"])) == null ? void 0 : P.prefLabel
|
|
321
324
|
) || "",
|
|
322
|
-
uri: ((
|
|
325
|
+
uri: ((l = o(e["dcat:mediaType"])) == null ? void 0 : l["@id"]) || ""
|
|
323
326
|
}),
|
|
324
|
-
"dcat:compressFormat":
|
|
327
|
+
"dcat:compressFormat": C({
|
|
325
328
|
label: d(
|
|
326
|
-
(
|
|
329
|
+
(h = o(e["dcat:compressFormat"])) == null ? void 0 : h.prefLabel
|
|
327
330
|
) || "",
|
|
328
|
-
uri: ((
|
|
331
|
+
uri: ((U = o(e["dcat:compressFormat"])) == null ? void 0 : U["@id"]) || ""
|
|
329
332
|
}),
|
|
330
|
-
"dcat:packageFormat":
|
|
333
|
+
"dcat:packageFormat": C({
|
|
331
334
|
label: d(
|
|
332
|
-
(
|
|
335
|
+
(T = o(e["dcat:packageFormat"])) == null ? void 0 : T.prefLabel
|
|
333
336
|
) || "",
|
|
334
|
-
uri: ((
|
|
337
|
+
uri: ((x = o(e["dcat:packageFormat"])) == null ? void 0 : x["@id"]) || ""
|
|
335
338
|
}),
|
|
336
339
|
"adms:status": {
|
|
337
|
-
uri: ((
|
|
338
|
-
"@value": d((
|
|
340
|
+
uri: ((F = o(e["adms:status"])) == null ? void 0 : F["@id"]) || "",
|
|
341
|
+
"@value": d((j = o(e["adms:status"])) == null ? void 0 : j.prefLabel) || ""
|
|
339
342
|
},
|
|
340
343
|
checksum: {
|
|
341
344
|
title: u(o(t == null ? void 0 : t["spdx:checksumValue"])),
|
|
342
|
-
"spdx:checksum": ((
|
|
343
|
-
uri: (
|
|
345
|
+
"spdx:checksum": ((z = u(o(t == null ? void 0 : t["spdx:algorithm"]))) == null ? void 0 : z.split("_").pop()) || "",
|
|
346
|
+
uri: (M = u(
|
|
344
347
|
o(t == null ? void 0 : t["spdx:algorithm"])
|
|
345
|
-
)) == null ? void 0 :
|
|
348
|
+
)) == null ? void 0 : M.replace("spdx:", "http://spdx.org/rdf/terms#")
|
|
346
349
|
},
|
|
347
350
|
accessServices: he(e["dcat:accessService"] || []),
|
|
348
351
|
documentations: Re(e["foaf:page"] || []),
|
|
349
|
-
conformsToItems: (
|
|
352
|
+
conformsToItems: (G = e["dct:conformsTo"]) == null ? void 0 : G.map((p, I) => ({
|
|
350
353
|
// for some reason dct:conformsTo is different from the one on dcat:dataset level
|
|
351
354
|
id: I + 1,
|
|
352
355
|
"dcat:accessURL": p["@id"],
|
|
@@ -356,7 +359,7 @@ function pe(e, r) {
|
|
|
356
359
|
"rdfs:label": d(p["rdfs:label"]) || "",
|
|
357
360
|
uri: p["@id"]
|
|
358
361
|
})).filter(Boolean),
|
|
359
|
-
policyItems: ((
|
|
362
|
+
policyItems: ((O = e["odrl:hasPolicy"]) == null ? void 0 : O.map((p, I) => ({
|
|
360
363
|
// don't ask
|
|
361
364
|
id: I + 1,
|
|
362
365
|
"dcat:downloadURL": p["@id"],
|
|
@@ -381,9 +384,9 @@ function be(e) {
|
|
|
381
384
|
};
|
|
382
385
|
}
|
|
383
386
|
function ge(e) {
|
|
384
|
-
var t, i, n, f, c, m, g, y, b, B, R, L, v, w, P, l, h, U,
|
|
387
|
+
var t, i, n, f, c, m, g, y, b, B, R, L, v, w, P, l, h, U, T, x, F, j, z, M, G, O, p, I;
|
|
385
388
|
const r = {
|
|
386
|
-
"dct:language": (t = e["dct:language"]) == null ? void 0 : t.map((a) =>
|
|
389
|
+
"dct:language": (t = e["dct:language"]) == null ? void 0 : t.map((a) => A(a)).filter(Boolean),
|
|
387
390
|
"dcatde:politicalGeocodingLevelURI": (i = e["dcatapde:politicalGeocodingLevelURI"]) == null ? void 0 : i.map((a) => ({
|
|
388
391
|
uri: a["@id"],
|
|
389
392
|
"@value": d(a.prefLabel)
|
|
@@ -392,26 +395,26 @@ function ge(e) {
|
|
|
392
395
|
"rdfs:label": d(a["rdfs:label"]) || "",
|
|
393
396
|
"@id": a["@id"]
|
|
394
397
|
})).filter(Boolean),
|
|
395
|
-
"dct:accessRights": e["dct:accessRights"] ? s(
|
|
398
|
+
"dct:accessRights": e["dct:accessRights"] ? s(A(e["dct:accessRights"])) : [],
|
|
396
399
|
"dct:issued": V(e["dct:issued"]),
|
|
397
400
|
"dct:provenance": (f = e["dct:provenance"]) == null ? void 0 : f.map((a) => ({
|
|
398
401
|
"rdfs:label": d(a["rdfs:label"]) || "",
|
|
399
402
|
uri: a["@id"]
|
|
400
403
|
})).filter(Boolean),
|
|
401
|
-
"dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? s(
|
|
402
|
-
"dct:type": (c = e["dct:type"]) == null ? void 0 : c.map((a) =>
|
|
404
|
+
"dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? s(A(e["dct:accrualPeriodicity"])) : [],
|
|
405
|
+
"dct:type": (c = e["dct:type"]) == null ? void 0 : c.map((a) => A(a)).filter(Boolean),
|
|
403
406
|
"dcat:spatialResolutionInMeters": ((m = e["dcat:spatialResolutionInMeters"]) == null ? void 0 : m.map(H)) || void 0,
|
|
404
407
|
"dcat:temporalResolution": e["dcat:temporalResolution"] ? e["dcat:temporalResolution"].map(H).map((a) => {
|
|
405
|
-
const
|
|
408
|
+
const _ = a["@value"].match(
|
|
406
409
|
/^P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/
|
|
407
410
|
);
|
|
408
|
-
if (
|
|
409
|
-
const [,
|
|
411
|
+
if (_) {
|
|
412
|
+
const [, K, E, $, J, W, Q] = _.map(
|
|
410
413
|
(Z) => Z || "0"
|
|
411
414
|
);
|
|
412
415
|
return [
|
|
413
|
-
{ Year:
|
|
414
|
-
{ Month:
|
|
416
|
+
{ Year: K },
|
|
417
|
+
{ Month: E },
|
|
415
418
|
{ Day: $ },
|
|
416
419
|
{ Hour: J },
|
|
417
420
|
{ Minute: W },
|
|
@@ -424,7 +427,7 @@ function ge(e) {
|
|
|
424
427
|
)) == null ? void 0 : g.filter(Boolean),
|
|
425
428
|
"dct:creator": (y = s(e["dct:creator"])) == null ? void 0 : y.filter(Boolean),
|
|
426
429
|
"dct:contributor": (b = s(e["dct:contributor"])) == null ? void 0 : b.filter(Boolean),
|
|
427
|
-
"dcatde:contributorID": (B = e["dcatapde:contributorID"]) == null ? void 0 : B.map((a) =>
|
|
430
|
+
"dcatde:contributorID": (B = e["dcatapde:contributorID"]) == null ? void 0 : B.map((a) => A(a)).filter(Boolean),
|
|
428
431
|
"dcatde:geocodingDescription": (R = s(
|
|
429
432
|
e["dcatapde:geocodingDescription"]
|
|
430
433
|
)) == null ? void 0 : R.filter(Boolean),
|
|
@@ -446,7 +449,7 @@ function ge(e) {
|
|
|
446
449
|
"prov:wasGeneratedBy": (U = s(e["prov:wasGeneratedBy"])) == null ? void 0 : U.filter(
|
|
447
450
|
Boolean
|
|
448
451
|
),
|
|
449
|
-
"dct:isReferencedBy": (
|
|
452
|
+
"dct:isReferencedBy": (T = s(e["dct:isReferencedBy"])) == null ? void 0 : T.filter(
|
|
450
453
|
Boolean
|
|
451
454
|
),
|
|
452
455
|
"dct:source": (x = s(e["dct:source"])) == null ? void 0 : x.filter(Boolean),
|
|
@@ -456,30 +459,30 @@ function ge(e) {
|
|
|
456
459
|
e["prov:qualifiedAttribution"]
|
|
457
460
|
)) == null ? void 0 : z.filter(Boolean),
|
|
458
461
|
"dcat:keyword": (M = s(e["dcat:keyword"])) == null ? void 0 : M.filter(Boolean),
|
|
459
|
-
"dct:spatial": (
|
|
462
|
+
"dct:spatial": (G = s(e["dct:spatial"])) == null ? void 0 : G.filter((a) => a ? !a["@id"].startsWith(
|
|
460
463
|
"http://dcat-ap.de/def/politicalGeocoding/"
|
|
461
464
|
) : !1).filter(Boolean),
|
|
462
|
-
"dct:references": (
|
|
463
|
-
"foaf:page": (
|
|
465
|
+
"dct:references": (O = s(e["dct:references"])) == null ? void 0 : O.filter(Boolean),
|
|
466
|
+
"foaf:page": (p = s(e["foaf:page"])) == null ? void 0 : p.filter(Boolean).map((a) => {
|
|
464
467
|
if (!a) return;
|
|
465
|
-
const
|
|
468
|
+
const D = o(a["dct:format"]);
|
|
466
469
|
return {
|
|
467
470
|
"dct:title": o(a["dct:title"]),
|
|
468
471
|
"dct:description": o(a["dct:description"]),
|
|
469
|
-
"@value":
|
|
470
|
-
uri:
|
|
472
|
+
"@value": D ? d(D.prefLabel) : "",
|
|
473
|
+
uri: D ? D["@id"] : "",
|
|
471
474
|
"foaf:homepage": o(a["foaf:homepage"]) || ""
|
|
472
475
|
};
|
|
473
476
|
}),
|
|
474
|
-
"dcatap:availability": (
|
|
477
|
+
"dcatap:availability": (I = e["dcatap:availability"]) == null ? void 0 : I.map(
|
|
475
478
|
(a) => {
|
|
476
|
-
var
|
|
479
|
+
var D, _, K, E;
|
|
477
480
|
return {
|
|
478
481
|
// Redundant label and title for better compatibility
|
|
479
|
-
label: ((
|
|
480
|
-
title: ((
|
|
481
|
-
uri: ((
|
|
482
|
-
"@value": d((
|
|
482
|
+
label: ((D = o(a)) == null ? void 0 : D.prefLabel) || "",
|
|
483
|
+
title: ((_ = o(a)) == null ? void 0 : _.prefLabel) || "",
|
|
484
|
+
uri: ((K = o(a)) == null ? void 0 : K["@id"]) || "",
|
|
485
|
+
"@value": d((E = o(a)) == null ? void 0 : E.prefLabel) || ""
|
|
483
486
|
};
|
|
484
487
|
}
|
|
485
488
|
)
|
|
@@ -518,8 +521,8 @@ function Re(e) {
|
|
|
518
521
|
"dcat:accessURL": ((n = o(r["dcat:accessURL"])) == null ? void 0 : n["@id"]) || "",
|
|
519
522
|
"dct:description": d(r["dct:description"]) || "",
|
|
520
523
|
"dct:title": d(r["dct:title"]) || "",
|
|
521
|
-
"dct:format": r["dct:format"] && ((f =
|
|
522
|
-
formatUri: r["dct:format"] && ((c =
|
|
524
|
+
"dct:format": r["dct:format"] && ((f = A(o(r["dct:format"]))) == null ? void 0 : f.label) || "",
|
|
525
|
+
formatUri: r["dct:format"] && ((c = A(o(r["dct:format"]))) == null ? void 0 : c.uri) || ""
|
|
523
526
|
};
|
|
524
527
|
});
|
|
525
528
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { getNode as K } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
|
-
import { PhNumberCircleFive as
|
|
3
|
+
import { PhNumberCircleFive as Z, PhCheckCircle as G, PhLightbulb as J } from "@phosphor-icons/vue";
|
|
4
4
|
import { useWindowScroll as Q } from "@vueuse/core";
|
|
5
5
|
import X from "jquery";
|
|
6
6
|
import { has as I, isNil as E } from "lodash-es";
|
|
7
|
-
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as v, createBlock as b,
|
|
7
|
+
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as v, createBlock as b, withModifiers as N, withCtx as j, Fragment as V, renderList as _, withDirectives as z, normalizeClass as y, toDisplayString as c, vShow as H, createTextVNode as M, ref as R, markRaw as x, getCurrentInstance as ee } from "vue";
|
|
8
8
|
import { useI18n as te } from "vue-i18n";
|
|
9
9
|
import { mapActions as B, mapGetters as W } from "vuex";
|
|
10
10
|
import ie from "../components/InputPageStep.vue.js";
|
|
11
11
|
import se from "../components/Navigation.vue.js";
|
|
12
12
|
import { useFormValues as oe } from "../composables/useDpiFormValues.js";
|
|
13
13
|
import { useDpiStepper as ae } from "../composables/useDpiStepper.js";
|
|
14
|
-
import
|
|
14
|
+
import O from "../config/dcatapdeHappyFlow/converter.js";
|
|
15
15
|
import re from "../HappyFlowComponents/img/Circle.svg.js";
|
|
16
16
|
import le from "../HappyFlowComponents/img/CircleFill.svg.js";
|
|
17
17
|
import ne from "../HappyFlowComponents/img/Selected1.svg.js";
|
|
@@ -91,9 +91,9 @@ const Fe = Y({
|
|
|
91
91
|
ButtonV3: Se,
|
|
92
92
|
TextButtonSmall: _e,
|
|
93
93
|
Illustration: Ce,
|
|
94
|
-
PhLightbulb:
|
|
95
|
-
PhCheckCircle:
|
|
96
|
-
PhNumberCircleFive:
|
|
94
|
+
PhLightbulb: J,
|
|
95
|
+
PhCheckCircle: G,
|
|
96
|
+
PhNumberCircleFive: Z,
|
|
97
97
|
ModalSimpleV3: Ve
|
|
98
98
|
},
|
|
99
99
|
computed: {
|
|
@@ -179,7 +179,7 @@ const Fe = Y({
|
|
|
179
179
|
i[this.stepCounter].substeps
|
|
180
180
|
)[this.substepCounter], this.activeStep = i[this.stepCounter].step)), e === "publish") {
|
|
181
181
|
let l = "auth/createDataset";
|
|
182
|
-
|
|
182
|
+
O(
|
|
183
183
|
this.formValues,
|
|
184
184
|
this.dpiContext,
|
|
185
185
|
this.getUserData,
|
|
@@ -201,7 +201,7 @@ const Fe = Y({
|
|
|
201
201
|
}
|
|
202
202
|
if (e === "depublish") {
|
|
203
203
|
let l = "auth/depublishById";
|
|
204
|
-
|
|
204
|
+
O(
|
|
205
205
|
this.formValues,
|
|
206
206
|
this.dpiContext,
|
|
207
207
|
this.getUserData,
|
|
@@ -223,7 +223,7 @@ const Fe = Y({
|
|
|
223
223
|
}
|
|
224
224
|
if (e === "draft") {
|
|
225
225
|
let l = "auth/createUserDraft";
|
|
226
|
-
|
|
226
|
+
O(
|
|
227
227
|
this.formValues,
|
|
228
228
|
this.dpiContext,
|
|
229
229
|
this.getUserData,
|
|
@@ -359,7 +359,7 @@ const Fe = Y({
|
|
|
359
359
|
stepPlugin: k,
|
|
360
360
|
goToNextStep: T,
|
|
361
361
|
goToPreviousStep: $
|
|
362
|
-
} = ae(), { formValues: D } = oe(), { t: P, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema:
|
|
362
|
+
} = ae(), { formValues: D } = oe(), { t: P, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema: U } = we({
|
|
363
363
|
t: P,
|
|
364
364
|
te: w
|
|
365
365
|
}), n = () => {
|
|
@@ -383,7 +383,7 @@ const Fe = Y({
|
|
|
383
383
|
isEditMode: t,
|
|
384
384
|
translateSchema: A,
|
|
385
385
|
createSchema: L,
|
|
386
|
-
getSchema:
|
|
386
|
+
getSchema: U,
|
|
387
387
|
dpiContext: e,
|
|
388
388
|
formValues: D,
|
|
389
389
|
activeSimpleModal: F
|
|
@@ -393,7 +393,7 @@ const Fe = Y({
|
|
|
393
393
|
key: 0,
|
|
394
394
|
ref: "fkInputContainer",
|
|
395
395
|
class: "inputContainer"
|
|
396
|
-
},
|
|
396
|
+
}, Ue = { class: "formContainer formkit" }, Oe = { key: 0 }, Ee = { class: "dpiV3_stepper draftStepper" }, je = {
|
|
397
397
|
key: 0,
|
|
398
398
|
class: "draftCTA"
|
|
399
399
|
}, ze = {
|
|
@@ -402,7 +402,7 @@ const Fe = Y({
|
|
|
402
402
|
}, He = { key: 1 }, Me = {
|
|
403
403
|
key: 0,
|
|
404
404
|
class: "dpiV3_stepper"
|
|
405
|
-
}, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"],
|
|
405
|
+
}, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Ze = ["textContent"], Ge = { style: { "vertical-align": "middle" } }, Je = { class: "dpiV3_subStepWrapper" }, Qe = {
|
|
406
406
|
key: 0,
|
|
407
407
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
408
408
|
}, Xe = {
|
|
@@ -435,18 +435,15 @@ const Fe = Y({
|
|
|
435
435
|
}, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, bt = {
|
|
436
436
|
key: 3,
|
|
437
437
|
class: "dpiV3_Content_InputPage"
|
|
438
|
-
}, St = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, yt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" }, _t = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, kt = { class: "dpiV3_hvd_frame3846" }, $t = { class: "dpiV3_copy_large_semi_bold" }, It = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Dt = { class: "dpiV3_copy_large_semi_bold" }, Pt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, wt = { class: "dpiV3_hvd_frame3846" }, Ft = { class: "dpiV3_copy_large_semi_bold" }, At = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Lt = { class: "dpiV3_hvd_frame3846" },
|
|
438
|
+
}, St = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, yt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" }, _t = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, kt = { class: "dpiV3_hvd_frame3846" }, $t = { class: "dpiV3_copy_large_semi_bold" }, It = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Dt = { class: "dpiV3_copy_large_semi_bold" }, Pt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, wt = { class: "dpiV3_hvd_frame3846" }, Ft = { class: "dpiV3_copy_large_semi_bold" }, At = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Lt = { class: "dpiV3_hvd_frame3846" }, Ut = { class: "dpiV3_copy_large_semi_bold" }, Ot = { class: "dpiV3_copy_large_regular" }, Et = {
|
|
439
439
|
key: 5,
|
|
440
440
|
class: "p-1"
|
|
441
441
|
};
|
|
442
442
|
function jt(e, t, i, l, a, m) {
|
|
443
|
-
const C = g("TextButtonSmall"), h = g("ButtonV3"), k = g("LogoV3"), T = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), D = g("Illustration"), P = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"),
|
|
443
|
+
const C = g("TextButtonSmall"), h = g("ButtonV3"), k = g("LogoV3"), T = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), D = g("Illustration"), P = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"), U = g("ModalSimpleV3");
|
|
444
444
|
return s(), r("div", Ae, [
|
|
445
445
|
e.isInput ? (s(), r("div", Le, [
|
|
446
|
-
o("div",
|
|
447
|
-
o("details", null, [
|
|
448
|
-
o("pre", null, c(JSON.stringify(e.formValues.Additionals, null, 2)), 1)
|
|
449
|
-
]),
|
|
446
|
+
o("div", Ue, [
|
|
450
447
|
v(L, {
|
|
451
448
|
id: "dpiForm",
|
|
452
449
|
modelValue: e.formValues,
|
|
@@ -459,7 +456,7 @@ function jt(e, t, i, l, a, m) {
|
|
|
459
456
|
}, ["prevent"]))
|
|
460
457
|
}, {
|
|
461
458
|
default: j(() => [
|
|
462
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div",
|
|
459
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Oe, [
|
|
463
460
|
o("div", Ee, [
|
|
464
461
|
v(C, {
|
|
465
462
|
"button-text": "Übersicht",
|
|
@@ -540,10 +537,10 @@ function jt(e, t, i, l, a, m) {
|
|
|
540
537
|
key: 4,
|
|
541
538
|
class: "dpiV3_step--errors",
|
|
542
539
|
textContent: c(n.errorCount + n.blockingCount)
|
|
543
|
-
}, null, 8,
|
|
544
|
-
o("span",
|
|
540
|
+
}, null, 8, Ze)) : p("", !0),
|
|
541
|
+
o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
545
542
|
], 2),
|
|
546
|
-
o("div",
|
|
543
|
+
o("div", Je, [
|
|
547
544
|
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
|
|
548
545
|
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
|
|
549
546
|
e.activeStep === u ? (s(), r("div", Ye, [
|
|
@@ -770,10 +767,10 @@ function jt(e, t, i, l, a, m) {
|
|
|
770
767
|
o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
771
768
|
]),
|
|
772
769
|
o("div", Lt, [
|
|
773
|
-
o("div",
|
|
770
|
+
o("div", Ut, " 4. " + c(e.$t(
|
|
774
771
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
775
772
|
)), 1),
|
|
776
|
-
o("p",
|
|
773
|
+
o("p", Ot, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
777
774
|
])
|
|
778
775
|
])
|
|
779
776
|
])
|
|
@@ -793,7 +790,7 @@ function jt(e, t, i, l, a, m) {
|
|
|
793
790
|
]),
|
|
794
791
|
_: 1
|
|
795
792
|
}, 8, ["modelValue", "plugins"]),
|
|
796
|
-
e.activeSimpleModal ? (s(), b(
|
|
793
|
+
e.activeSimpleModal ? (s(), b(U, {
|
|
797
794
|
key: 0,
|
|
798
795
|
buttons: e.modalSimpleConf.button,
|
|
799
796
|
"header-text": e.modalSimpleConf.header,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@piveau/dpi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.72",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@headlessui/vue": "^1.7.23",
|
|
56
56
|
"@histoire/plugin-vue": "1.0.0-alpha.2",
|
|
57
57
|
"@phosphor-icons/vue": "^2.2.1",
|
|
58
|
-
"@piveau/jsonld": "file:../../bin/piveau-jsonld-1.0.0-beta.
|
|
58
|
+
"@piveau/jsonld": "file:../../bin/piveau-jsonld-1.0.0-beta.22.tgz",
|
|
59
59
|
"@popperjs/core": "^2.11.8",
|
|
60
60
|
"@types/jsonld": "^1.5.15",
|
|
61
61
|
"@types/node": "^24.1.0",
|