@piveau/dpi 0.1.0-beta.43 → 0.1.0-beta.45
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 +64 -53
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +2 -12
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +326 -242
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +337 -325
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +9 -9
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +20 -10
- package/dist/data-provider-interface/views/InputPage.vue.js +96 -95
- package/package.json +1 -1
|
@@ -414,16 +414,16 @@ function ge(e) {
|
|
|
414
414
|
const [, k, K, $, J, Q, W] = _.map(
|
|
415
415
|
(Z) => Z || "0"
|
|
416
416
|
);
|
|
417
|
-
return
|
|
418
|
-
Year: k,
|
|
419
|
-
Month: K,
|
|
420
|
-
Day:
|
|
421
|
-
Hour: J,
|
|
422
|
-
Minute: Q,
|
|
423
|
-
Second: W
|
|
424
|
-
|
|
417
|
+
return [
|
|
418
|
+
{ Year: k },
|
|
419
|
+
{ Month: K },
|
|
420
|
+
{ Day: $ },
|
|
421
|
+
{ Hour: J },
|
|
422
|
+
{ Minute: Q },
|
|
423
|
+
{ Second: W }
|
|
424
|
+
];
|
|
425
425
|
}
|
|
426
|
-
}).filter(Boolean) : void 0,
|
|
426
|
+
}).filter(Boolean).flat() : void 0,
|
|
427
427
|
"dcat:qualifiedRelation": (g = s(
|
|
428
428
|
e["dcat:qualifiedRelation"]
|
|
429
429
|
)) == null ? void 0 : g.filter(Boolean),
|
|
@@ -5,7 +5,7 @@ function pt(t) {
|
|
|
5
5
|
return t.replace(/[^a-z0-9\s]/gi, "").replace(/\s+/g, "-").toLowerCase();
|
|
6
6
|
}
|
|
7
7
|
async function ht(t, g, s, b) {
|
|
8
|
-
var h,
|
|
8
|
+
var h, f, v, k, D, O, j, R, w, S, I, x, L, B, C, P, U, T, M, G, q, F, X, $, N, z, E, H, W, Y, _, J, K, Q, Z, m, V, tt, it, dt, et, at, nt, ot;
|
|
9
9
|
const u = g.specification.prefixes;
|
|
10
10
|
let r = [];
|
|
11
11
|
const c = Object.keys(t);
|
|
@@ -25,7 +25,7 @@ async function ht(t, g, s, b) {
|
|
|
25
25
|
"@id": t.Discoverability.discoverabilityPage[d].uri
|
|
26
26
|
});
|
|
27
27
|
e.dataset["dcat:theme"] = i, t.Discoverability.hvdPage && Object.keys(t.Discoverability.hvdPage).length !== 0 && t.Discoverability.hvdPage[0].label !== void 0 && (e.dataset["dcatap:hvdCategory"] = {
|
|
28
|
-
"@id": (
|
|
28
|
+
"@id": (f = (h = t.Discoverability) == null ? void 0 : h.hvdPage) == null ? void 0 : f[0].uri
|
|
29
29
|
}, e.dataset["dcatap:applicableLegislation"] = {
|
|
30
30
|
"@id": "http://data.europa.eu/eli/reg_impl/2023/138/oj"
|
|
31
31
|
});
|
|
@@ -35,11 +35,11 @@ async function ht(t, g, s, b) {
|
|
|
35
35
|
for (let i = 0; i < Object.keys(t.BasicInfos).length; i++)
|
|
36
36
|
Object.keys(t.BasicInfos)[i] === "dct:title" && (e.dataset["dct:title"] = t.BasicInfos["dct:title"][0] || "", y = pt(
|
|
37
37
|
t.BasicInfos["dct:title"][0]["@value"]
|
|
38
|
-
), rt === "true" && (y = t.BasicInfos.datasetID)), Object.keys(t.BasicInfos)[i] === "dct:description" && (e.dataset["dct:description"] = t.BasicInfos["dct:description"][0] || ""), Object.keys(t.BasicInfos)[i] === "dct:modified" && (e.dataset["dct:modified"] = t.BasicInfos["dct:modified"][0] || ""), Object.keys(t.BasicInfos)[i] === "dct:publisher" && (e.dataset["dct:publisher"] = t.BasicInfos["dct:publisher"][0] || "", e.dataset["dct:publisher"]["@type"] = "foaf:Agent"), Object.keys(t.BasicInfos)[i] === "dcat:contactPoint" && (e.dataset["dcat:contactPoint"] = t.BasicInfos["dcat:contactPoint"][0] || ""), e.dataset["@type"] = "dcat:Dataset", e.meta["dcat:catalog"] = s.permissions[0].rsname, e.meta["@type"] = "dcat:CatalogRecord";
|
|
38
|
+
), rt === "true" && (y = t.BasicInfos.datasetID)), Object.keys(t.BasicInfos)[i] === "dct:description" && (e.dataset["dct:description"] = t.BasicInfos["dct:description"][0] || ""), Object.keys(t.BasicInfos)[i] === "dct:modified" && (e.dataset["dct:modified"] = t.BasicInfos["dct:modified"][0] || ""), Object.keys(t.BasicInfos)[i] === "dct:publisher" && (e.dataset["dct:publisher"] = t.BasicInfos["dct:publisher"][0] || "", e.dataset["dct:publisher"]["@type"] = "foaf:Agent"), Object.keys(t.BasicInfos)[i] === "dcat:contactPoint" && (e.dataset["dcat:contactPoint"] = t.BasicInfos["dcat:contactPoint"][0] || "", e.dataset["dcat:contactPoint"]["@type"] = "foaf:Agent"), e.dataset["@type"] = "dcat:Dataset", e.meta["dcat:catalog"] = s.permissions[0].rsname, e.meta["@type"] = "dcat:CatalogRecord";
|
|
39
39
|
}
|
|
40
40
|
if (c[o] === "Covering" && Object.keys(t.Covering).length > 1)
|
|
41
41
|
for (let i = 0; i < Object.keys(t.Covering).length; i++) {
|
|
42
|
-
if (Object.keys(t.Covering)[i] === "dcat:temporalResolution" && t.Covering["dcat:temporalResolution"] !== void 0 && Object.keys((
|
|
42
|
+
if (Object.keys(t.Covering)[i] === "dcat:temporalResolution" && t.Covering["dcat:temporalResolution"] !== void 0 && Object.keys((v = t.Covering) == null ? void 0 : v["dcat:temporalResolution"]).length > 0 && ((D = (k = t.Covering) == null ? void 0 : k["dcat:temporalResolution"]) == null ? void 0 : D.type) !== void 0) {
|
|
43
43
|
e.dataset["dct:temporal"] = [];
|
|
44
44
|
for (let d = 0; d < t.Covering["dcat:temporalResolution"]["dct:temporal"].length; d++)
|
|
45
45
|
t.Covering["dcat:temporalResolution"].type != null && t.Covering["dcat:temporalResolution"]["dct:temporal"][d].dataType === "date" && t.Covering["dcat:temporalResolution"]["dct:temporal"][d]["dcat:startDate"] !== "" && (e.dataset["dct:temporal"][d] = {
|
|
@@ -93,16 +93,16 @@ async function ht(t, g, s, b) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
let d = (x = (I = t.DistributionSimple) == null ? void 0 : I["dct:license"]) == null ? void 0 : x[0];
|
|
96
|
-
d === void 0 && (d = (
|
|
96
|
+
d === void 0 && (d = (P = (C = (B = (L = t.DistributionSimple) == null ? void 0 : L["dcat:distribution"]) == null ? void 0 : B[0]) == null ? void 0 : C["dct:license"]) == null ? void 0 : P[0]), e.distribution[i]["dct:license"] = {
|
|
97
97
|
"@id": (d == null ? void 0 : d.uri) || ""
|
|
98
98
|
}, e.distribution[i]["dcatde:licenseAttributionByText"] = {
|
|
99
99
|
"@language": "de",
|
|
100
100
|
"@value": (d == null ? void 0 : d.attribution) || ""
|
|
101
101
|
};
|
|
102
|
-
const p = (M = (T = (
|
|
102
|
+
const p = (M = (T = (U = t.DistributionSimple) == null ? void 0 : U["dcat:distribution"]) == null ? void 0 : T[i]) == null ? void 0 : M["dct:format"];
|
|
103
103
|
p && (e.distribution[i]["dct:format"] = {
|
|
104
104
|
"@id": (p == null ? void 0 : p.uri) || ""
|
|
105
|
-
}), ((
|
|
105
|
+
}), ((F = (q = (G = t.DistributionSimple) == null ? void 0 : G["dcat:distribution"]) == null ? void 0 : q[i]) == null ? void 0 : F["dcatap:applicableLegislation"]) != null && (e.distribution[i]["dct:format"] = (N = ($ = (X = t.DistributionSimple) == null ? void 0 : X["dcat:distribution"]) == null ? void 0 : $[i]) == null ? void 0 : N["dcatap:applicableLegislation"]["@id"]);
|
|
106
106
|
const ct = ((H = (E = (z = t.DistributionSimple) == null ? void 0 : z["dcat:distribution"]) == null ? void 0 : E[i]) == null ? void 0 : H.conformsToItems) || [];
|
|
107
107
|
if (ct && (e.distribution[i]["dct:conformsTo"] = lt(
|
|
108
108
|
ct
|
|
@@ -385,6 +385,16 @@ async function ht(t, g, s, b) {
|
|
|
385
385
|
"@id": t.Additionals["prov:qualifiedAttribution"][d]["@id"]
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
|
+
if (Object.keys(t.Additionals)[i] === "dcat:qualifiedRelation") {
|
|
389
|
+
console.log(
|
|
390
|
+
"#####################",
|
|
391
|
+
Object.keys(t.Additionals)[i]
|
|
392
|
+
);
|
|
393
|
+
for (let d = 0; d < t.Additionals["dcat:qualifiedRelation"].length; d++)
|
|
394
|
+
e.dataset["dcat:qualifiedRelation"] === void 0 && (e.dataset["dcat:qualifiedRelation"] = []), e.dataset["dcat:qualifiedRelation"].push({
|
|
395
|
+
"@id": t.Additionals["dcat:qualifiedRelation"][d]["@id"]
|
|
396
|
+
});
|
|
397
|
+
}
|
|
388
398
|
if (Object.keys(t.Additionals)[i] === "dct:isReferencedBy") {
|
|
389
399
|
console.log(
|
|
390
400
|
"#####################",
|
|
@@ -464,7 +474,7 @@ async function ht(t, g, s, b) {
|
|
|
464
474
|
"foaf:name": t.Additionals["dct:contributor"][d]["foaf:name"],
|
|
465
475
|
"foaf:mbox": t.Additionals["dct:contributor"][d]["foaf:mbox"],
|
|
466
476
|
"foaf:homepage": t.Additionals["dct:contributor"][d]["foaf:homepage"]
|
|
467
|
-
});
|
|
477
|
+
}), e.dataset["dct:contributor"][d]["@type"] = "foaf:Agent";
|
|
468
478
|
}
|
|
469
479
|
if (Object.keys(t.Additionals)[i] === "owl:versionInfo" && (e.dataset["owl:versionInfo"] = {
|
|
470
480
|
"@value": t.Additionals["owl:versionInfo"][0]["@value"]
|
|
@@ -479,9 +489,9 @@ async function ht(t, g, s, b) {
|
|
|
479
489
|
}), Object.keys(t.Additionals)[i] === "dcat:spatialResolutionInMeters" && (e.dataset["dcat:spatialResolutionInMeters"] = {
|
|
480
490
|
"@value": t.Additionals["dcat:spatialResolutionInMeters"][0]["@value"] || "",
|
|
481
491
|
"@type": "http://www.w3.org/2001/XMLSchema#decimal"
|
|
482
|
-
}), Object.keys(t.Additionals)[i] === "dcat:temporalResolution" && (e.dataset["dcat:temporalResolution"] = {
|
|
492
|
+
}), Object.keys(t.Additionals)[i] === "dcat:temporalResolution" && (console.log(t.Additionals["dcat:temporalResolution"]), e.dataset["dcat:temporalResolution"] = {
|
|
483
493
|
"@type": "http://www.w3.org/2001/XMLSchema#duration",
|
|
484
|
-
"@value": `P${t.Additionals["dcat:temporalResolution"][0].Year}Y${t.Additionals["dcat:temporalResolution"][
|
|
494
|
+
"@value": `P${t.Additionals["dcat:temporalResolution"][0].Year}Y${t.Additionals["dcat:temporalResolution"][1].Month}M${t.Additionals["dcat:temporalResolution"][2].Day}D${t.Additionals["dcat:temporalResolution"][3].Hour}H${t.Additionals["dcat:temporalResolution"][4].Minute}M${t.Additionals["dcat:temporalResolution"][5].Second}S`
|
|
485
495
|
}), Object.keys(t.Additionals)[i] === "dcatde:politicalGeocodingLevelURI")
|
|
486
496
|
for (let d = 0; d < t.Additionals["dcatde:politicalGeocodingLevelURI"].length; d++)
|
|
487
497
|
e.dataset["dcatde:politicalGeocodingLevelURI"] === void 0 && (e.dataset["dcatde:politicalGeocodingLevelURI"] = []), e.dataset["dcatde:politicalGeocodingLevelURI"].push({
|
|
@@ -1,10 +1,10 @@
|
|
|
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 j } from "lodash-es";
|
|
7
|
-
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as
|
|
7
|
+
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as h, createBlock as b, withModifiers as N, withCtx as U, 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";
|
|
@@ -91,9 +91,9 @@ const Fe = Y({
|
|
|
91
91
|
ButtonV3: be,
|
|
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: {
|
|
@@ -237,7 +237,11 @@ const Fe = Y({
|
|
|
237
237
|
);
|
|
238
238
|
}).catch((a) => {
|
|
239
239
|
console.error("Fehler beim Senden der Daten:", a);
|
|
240
|
-
})
|
|
240
|
+
}), setTimeout(() => {
|
|
241
|
+
window.location.href = this.$router.resolve({
|
|
242
|
+
name: "DPI-Home-HappyFlow"
|
|
243
|
+
}).href;
|
|
244
|
+
}, 1e3);
|
|
241
245
|
}
|
|
242
246
|
} catch (i) {
|
|
243
247
|
console.log(i);
|
|
@@ -398,7 +402,7 @@ const Fe = Y({
|
|
|
398
402
|
}, He = { key: 1 }, Me = {
|
|
399
403
|
key: 0,
|
|
400
404
|
class: "dpiV3_stepper"
|
|
401
|
-
}, 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 = {
|
|
402
406
|
key: 0,
|
|
403
407
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
404
408
|
}, Xe = {
|
|
@@ -437,12 +441,9 @@ const Fe = Y({
|
|
|
437
441
|
};
|
|
438
442
|
function Ut(e, t, i, n, a, v) {
|
|
439
443
|
const C = g("TextButtonSmall"), m = g("ButtonV3"), k = g("LogoV3"), P = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), T = g("Illustration"), D = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"), O = g("ModalSimpleV3");
|
|
440
|
-
return
|
|
441
|
-
e.isInput ? (
|
|
442
|
-
|
|
443
|
-
s("details", null, [
|
|
444
|
-
s("pre", null, c(JSON.stringify(e.formValues, null, 2)), 1)
|
|
445
|
-
]),
|
|
444
|
+
return s(), r("div", Ae, [
|
|
445
|
+
e.isInput ? (s(), r("div", Le, [
|
|
446
|
+
o("div", Oe, [
|
|
446
447
|
h(L, {
|
|
447
448
|
id: "dpiForm",
|
|
448
449
|
modelValue: e.formValues,
|
|
@@ -455,16 +456,16 @@ function Ut(e, t, i, n, a, v) {
|
|
|
455
456
|
}, ["prevent"]))
|
|
456
457
|
}, {
|
|
457
458
|
default: U(() => [
|
|
458
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (
|
|
459
|
-
|
|
459
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Ee, [
|
|
460
|
+
o("div", je, [
|
|
460
461
|
h(C, {
|
|
461
462
|
"button-text": "Übersicht",
|
|
462
463
|
"icon-start": "CaretLeft",
|
|
463
464
|
"icon-name": "caretLeft",
|
|
464
465
|
onClick: e.gotToHome
|
|
465
466
|
}, null, 8, ["onClick"]),
|
|
466
|
-
|
|
467
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (
|
|
467
|
+
o("div", null, [
|
|
468
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", Ue, [
|
|
468
469
|
h(m, {
|
|
469
470
|
"button-text": "Veröffentlichung aufheben",
|
|
470
471
|
size: "large",
|
|
@@ -477,7 +478,7 @@ function Ut(e, t, i, n, a, v) {
|
|
|
477
478
|
"icon-end": "Out",
|
|
478
479
|
onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
|
|
479
480
|
})
|
|
480
|
-
])) : (
|
|
481
|
+
])) : (s(), r("div", ze, [
|
|
481
482
|
h(m, {
|
|
482
483
|
"button-text": "Veröffentlichen",
|
|
483
484
|
size: "large",
|
|
@@ -486,11 +487,11 @@ function Ut(e, t, i, n, a, v) {
|
|
|
486
487
|
]))
|
|
487
488
|
])
|
|
488
489
|
])
|
|
489
|
-
])) : (
|
|
490
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (
|
|
490
|
+
])) : (s(), r("div", He, [
|
|
491
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
|
|
491
492
|
h(k),
|
|
492
|
-
|
|
493
|
-
(
|
|
493
|
+
o("ul", Re, [
|
|
494
|
+
(s(!0), r(V, null, _(e.steps, (l, u, d) => z((s(), r("li", {
|
|
494
495
|
key: l,
|
|
495
496
|
class: y(["dpiV3_step", {
|
|
496
497
|
dpiV3_activeItem: e.activeStep === u,
|
|
@@ -500,71 +501,71 @@ function Ut(e, t, i, n, a, v) {
|
|
|
500
501
|
"data-step-active": e.activeStep === u,
|
|
501
502
|
"data-step-valid": l.valid && l.errorCount === 0
|
|
502
503
|
}, [
|
|
503
|
-
|
|
504
|
-
|
|
504
|
+
o("div", We, [
|
|
505
|
+
o("div", {
|
|
505
506
|
class: y(["firstRowWrapper", {
|
|
506
507
|
dpiV3_activeStepName: u === e.activeStep,
|
|
507
508
|
formerlyVisitedStep: e.stepCounter > d,
|
|
508
509
|
"copy-small-regular": e.stepCounter > d
|
|
509
510
|
}])
|
|
510
511
|
}, [
|
|
511
|
-
e.activeStep === u && d < 5 ? (
|
|
512
|
+
e.activeStep === u && d < 5 ? (s(), r("img", {
|
|
512
513
|
key: 0,
|
|
513
514
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
514
515
|
src: e.selectedImages[d - 1],
|
|
515
516
|
alt: "Selected Icon"
|
|
516
517
|
}, null, 8, qe)) : p("", !0),
|
|
517
|
-
e.activeStep === u && d === 5 ? (
|
|
518
|
+
e.activeStep === u && d === 5 ? (s(), b(P, {
|
|
518
519
|
key: 1,
|
|
519
520
|
size: 28,
|
|
520
521
|
color: "#009FE3",
|
|
521
522
|
weight: "fill"
|
|
522
523
|
})) : p("", !0),
|
|
523
|
-
d < e.stepCounter ? (
|
|
524
|
+
d < e.stepCounter ? (s(), b($, {
|
|
524
525
|
key: 2,
|
|
525
526
|
size: 28,
|
|
526
527
|
color: "#70CC44",
|
|
527
528
|
weight: "fill"
|
|
528
529
|
})) : p("", !0),
|
|
529
|
-
d > e.stepCounter ? (
|
|
530
|
+
d > e.stepCounter ? (s(), r("img", {
|
|
530
531
|
key: 3,
|
|
531
532
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
532
533
|
src: e.images[d - 1],
|
|
533
534
|
alt: "Selected Icon"
|
|
534
535
|
}, null, 8, Ke)) : p("", !0),
|
|
535
|
-
e.checkStepValidity(u) ? (
|
|
536
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
536
537
|
key: 4,
|
|
537
538
|
class: "dpiV3_step--errors",
|
|
538
539
|
textContent: c(l.errorCount + l.blockingCount)
|
|
539
|
-
}, null, 8,
|
|
540
|
-
|
|
540
|
+
}, null, 8, Ze)) : p("", !0),
|
|
541
|
+
o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
541
542
|
], 2),
|
|
542
|
-
|
|
543
|
-
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (
|
|
544
|
-
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (
|
|
545
|
-
e.activeStep === u ? (
|
|
546
|
-
e.stepCounter < 5 ? (
|
|
543
|
+
o("div", Je, [
|
|
544
|
+
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
|
|
545
|
+
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
|
|
546
|
+
e.activeStep === u ? (s(), r("div", Ye, [
|
|
547
|
+
e.stepCounter < 5 ? (s(!0), r(V, { key: 0 }, _(Object.keys(
|
|
547
548
|
e.subSteps[d]
|
|
548
|
-
), (S, f) => (
|
|
549
|
-
|
|
550
|
-
e.substepCounter > f ? (
|
|
549
|
+
), (S, f) => (s(), r("div", Ne, [
|
|
550
|
+
o("div", xe, [
|
|
551
|
+
e.substepCounter > f ? (s(), b($, {
|
|
551
552
|
key: 0,
|
|
552
553
|
size: 20,
|
|
553
554
|
color: "#009FE3"
|
|
554
|
-
})) : (
|
|
555
|
+
})) : (s(), r("img", {
|
|
555
556
|
key: 1,
|
|
556
557
|
src: e.getCircles(f),
|
|
557
558
|
alt: "circle"
|
|
558
559
|
}, null, 8, et)),
|
|
559
|
-
f != Object.keys(e.subSteps[d]).length - 1 ? (
|
|
560
|
+
f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
|
|
560
561
|
key: 2,
|
|
561
562
|
class: y(["dpiV3_seperatorHorizontalStepperInner", {
|
|
562
563
|
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
|
|
563
564
|
}])
|
|
564
565
|
}, null, 2)) : p("", !0)
|
|
565
566
|
]),
|
|
566
|
-
|
|
567
|
-
|
|
567
|
+
o("div", tt, [
|
|
568
|
+
o("span", {
|
|
568
569
|
class: y(["large-regular dpiV3_substepText", {
|
|
569
570
|
dpiV3_activeStepDesc: S === e.activeSubStep,
|
|
570
571
|
formerlyVisitedStep: e.substepCounter > f
|
|
@@ -583,21 +584,21 @@ function Ut(e, t, i, n, a, v) {
|
|
|
583
584
|
], 10, Be)), [
|
|
584
585
|
[H, u !== "Landing" && u !== "Additionals"]
|
|
585
586
|
])), 128)),
|
|
586
|
-
e.activeStep === "Overview" ? (
|
|
587
|
-
|
|
587
|
+
e.activeStep === "Overview" ? (s(), r("li", it, t[14] || (t[14] = [
|
|
588
|
+
o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
588
589
|
]))) : p("", !0)
|
|
589
590
|
])
|
|
590
|
-
])) : (
|
|
591
|
-
|
|
591
|
+
])) : (s(), r("div", st, [
|
|
592
|
+
o("div", ot, [
|
|
592
593
|
h(k)
|
|
593
594
|
]),
|
|
594
|
-
|
|
595
|
+
o("div", at, [
|
|
595
596
|
h(T, { "illustration-name": "start" })
|
|
596
597
|
])
|
|
597
598
|
]))
|
|
598
599
|
])),
|
|
599
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (
|
|
600
|
-
(
|
|
600
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
|
|
601
|
+
(s(!0), r(V, null, _(e.steps, (l, u, d) => (s(), r("li", {
|
|
601
602
|
key: l,
|
|
602
603
|
class: y(["step", {
|
|
603
604
|
activeItem: e.activeStep === u,
|
|
@@ -610,32 +611,32 @@ function Ut(e, t, i, n, a, v) {
|
|
|
610
611
|
e.activeStep = u, e.update(), e.scrollToTop();
|
|
611
612
|
}
|
|
612
613
|
}, [
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
e.checkStepValidity(u) ? (
|
|
614
|
+
o("div", lt, [
|
|
615
|
+
o("div", dt, c(d + 1), 1),
|
|
616
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
616
617
|
key: 0,
|
|
617
618
|
class: "step--errors",
|
|
618
619
|
textContent: c(l.errorCount + l.blockingCount)
|
|
619
620
|
}, null, 8, pt)) : p("", !0),
|
|
620
621
|
M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
621
622
|
]),
|
|
622
|
-
d != Object.keys(e.steps).length ? (
|
|
623
|
+
d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
|
|
623
624
|
], 10, nt))), 128)),
|
|
624
|
-
e.activeStep === "Overview" ? (
|
|
625
|
-
|
|
625
|
+
e.activeStep === "Overview" ? (s(), r("li", ct, t[15] || (t[15] = [
|
|
626
|
+
o("div", { class: "circle stepCircle" }, null, -1)
|
|
626
627
|
]))) : p("", !0)
|
|
627
628
|
])) : p("", !0),
|
|
628
|
-
(
|
|
629
|
+
(s(!0), r(V, null, _(e.getNavSteps(
|
|
629
630
|
e.$env.content.dataProviderInterface.specification
|
|
630
|
-
)[e.property], (l, u) => (
|
|
631
|
+
)[e.property], (l, u) => (s(), b(A, {
|
|
631
632
|
key: u,
|
|
632
633
|
name: l
|
|
633
634
|
}, {
|
|
634
635
|
default: U(() => [
|
|
635
|
-
(
|
|
636
|
+
(s(!0), r(V, null, _(Object.keys(
|
|
636
637
|
e.getSchema(e.property).value[l]
|
|
637
|
-
).length, (d, S) => z((
|
|
638
|
-
l !== "Distributions" && l !== "Additionals" ? (
|
|
638
|
+
).length, (d, S) => z((s(), r("div", ht, [
|
|
639
|
+
l !== "Distributions" && l !== "Additionals" ? (s(), b(D, {
|
|
639
640
|
key: 0,
|
|
640
641
|
schema: e.getSchema(e.property).value[l][S],
|
|
641
642
|
library: e.library,
|
|
@@ -651,7 +652,7 @@ function Ut(e, t, i, n, a, v) {
|
|
|
651
652
|
)[0] === e.activeSubStep.replace(/_\d+$/, "") || l === "Landing"
|
|
652
653
|
]
|
|
653
654
|
])), 256)),
|
|
654
|
-
e.activeStep === "Landing" ? (
|
|
655
|
+
e.activeStep === "Landing" ? (s(), r("div", vt, [
|
|
655
656
|
h(m, {
|
|
656
657
|
"button-text": "Abbrechen",
|
|
657
658
|
size: "large",
|
|
@@ -666,8 +667,8 @@ function Ut(e, t, i, n, a, v) {
|
|
|
666
667
|
onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
|
|
667
668
|
})
|
|
668
669
|
])) : p("", !0),
|
|
669
|
-
e.activeStep === "ReviewAndPublish" ? (
|
|
670
|
-
|
|
670
|
+
e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
|
|
671
|
+
o("div", gt, [
|
|
671
672
|
h(m, {
|
|
672
673
|
"button-text": "Als Entwurf speichern",
|
|
673
674
|
size: "large",
|
|
@@ -681,7 +682,7 @@ function Ut(e, t, i, n, a, v) {
|
|
|
681
682
|
})
|
|
682
683
|
])
|
|
683
684
|
])) : p("", !0),
|
|
684
|
-
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (
|
|
685
|
+
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
|
|
685
686
|
key: 2,
|
|
686
687
|
class: y(["dpiV3_CTA", {
|
|
687
688
|
dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
|
|
@@ -693,8 +694,8 @@ function Ut(e, t, i, n, a, v) {
|
|
|
693
694
|
variant: "tertiary",
|
|
694
695
|
onClick: t[7] || (t[7] = (d) => e.activeSimpleModal = !0)
|
|
695
696
|
}),
|
|
696
|
-
|
|
697
|
-
e.activeStep !== "Landing" ? (
|
|
697
|
+
o("div", ft, [
|
|
698
|
+
e.activeStep !== "Landing" ? (s(), b(m, {
|
|
698
699
|
key: 0,
|
|
699
700
|
"icon-start": "CaretLeft",
|
|
700
701
|
"button-text": "Zurück",
|
|
@@ -710,70 +711,70 @@ function Ut(e, t, i, n, a, v) {
|
|
|
710
711
|
})
|
|
711
712
|
])
|
|
712
713
|
], 2)) : p("", !0),
|
|
713
|
-
e.activeSubStep.includes("hvdPage") ? (
|
|
714
|
-
|
|
715
|
-
|
|
714
|
+
e.activeSubStep.includes("hvdPage") ? (s(), r("div", St, [
|
|
715
|
+
o("div", bt, [
|
|
716
|
+
o("div", Ct, [
|
|
716
717
|
h(w, {
|
|
717
718
|
size: 32,
|
|
718
719
|
color: "#009fe3"
|
|
719
720
|
}),
|
|
720
|
-
|
|
721
|
+
o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
721
722
|
]),
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
723
|
+
o("div", Vt, [
|
|
724
|
+
o("div", _t, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
725
|
+
o("div", kt, [
|
|
726
|
+
o("div", $t, " 1. " + c(e.$t(
|
|
726
727
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
727
728
|
)), 1),
|
|
728
|
-
|
|
729
|
-
|
|
729
|
+
o("ul", It, [
|
|
730
|
+
o("li", null, c(e.$t(
|
|
730
731
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
731
732
|
)), 1),
|
|
732
|
-
|
|
733
|
+
o("li", null, c(e.$t(
|
|
733
734
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
734
735
|
)), 1),
|
|
735
|
-
|
|
736
|
+
o("li", null, c(e.$t(
|
|
736
737
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
737
738
|
)), 1),
|
|
738
|
-
|
|
739
|
+
o("li", null, c(e.$t(
|
|
739
740
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
740
741
|
)), 1),
|
|
741
|
-
|
|
742
|
+
o("li", null, c(e.$t(
|
|
742
743
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
743
744
|
)), 1),
|
|
744
|
-
|
|
745
|
+
o("li", null, c(e.$t(
|
|
745
746
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
746
747
|
)), 1)
|
|
747
748
|
])
|
|
748
749
|
]),
|
|
749
|
-
|
|
750
|
-
|
|
750
|
+
o("div", Pt, [
|
|
751
|
+
o("div", Tt, " 2. " + c(e.$t(
|
|
751
752
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
752
753
|
)), 1),
|
|
753
|
-
|
|
754
|
+
o("p", Dt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
754
755
|
]),
|
|
755
|
-
|
|
756
|
-
|
|
756
|
+
o("div", wt, [
|
|
757
|
+
o("div", Ft, " 3. " + c(e.$t(
|
|
757
758
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
758
759
|
)), 1),
|
|
759
|
-
|
|
760
|
+
o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
760
761
|
]),
|
|
761
|
-
|
|
762
|
-
|
|
762
|
+
o("div", Lt, [
|
|
763
|
+
o("div", Ot, " 4. " + c(e.$t(
|
|
763
764
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
764
765
|
)), 1),
|
|
765
|
-
|
|
766
|
+
o("p", Et, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
766
767
|
])
|
|
767
768
|
])
|
|
768
769
|
])
|
|
769
770
|
])) : p("", !0),
|
|
770
|
-
l === "Distributions" ? (
|
|
771
|
+
l === "Distributions" ? (s(), b(F, {
|
|
771
772
|
key: 4,
|
|
772
773
|
schema: e.getSchema("distributions"),
|
|
773
774
|
values: e.formValues
|
|
774
775
|
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
775
|
-
l === "Mandatory" ? (
|
|
776
|
-
t[16] || (t[16] =
|
|
776
|
+
l === "Mandatory" ? (s(), r("p", jt, [
|
|
777
|
+
t[16] || (t[16] = o("b", null, "*", -1)),
|
|
777
778
|
M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
|
|
778
779
|
])) : p("", !0)
|
|
779
780
|
]),
|
|
@@ -782,7 +783,7 @@ function Ut(e, t, i, n, a, v) {
|
|
|
782
783
|
]),
|
|
783
784
|
_: 1
|
|
784
785
|
}, 8, ["modelValue", "plugins"]),
|
|
785
|
-
e.activeSimpleModal ? (
|
|
786
|
+
e.activeSimpleModal ? (s(), b(O, {
|
|
786
787
|
key: 0,
|
|
787
788
|
buttons: e.modalSimpleConf.button,
|
|
788
789
|
"header-text": e.modalSimpleConf.header,
|