@piveau/dpi 0.2.0-alpha.12 → 0.2.0-alpha.13
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/services/dpiV3_apis.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
- package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getNode as Z } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
3
|
import { PhNumberCircleFive as G, PhCheckCircle as X, PhLightbulb as Y } from "@phosphor-icons/vue";
|
|
4
|
-
import { useWindowScroll as
|
|
5
|
-
import
|
|
6
|
-
import { has as
|
|
7
|
-
import { defineComponent as Q, resolveComponent as
|
|
4
|
+
import { useWindowScroll as N } from "@vueuse/core";
|
|
5
|
+
import J from "jquery";
|
|
6
|
+
import { has as L, isNil as O } from "lodash-es";
|
|
7
|
+
import { defineComponent as Q, resolveComponent as f, createElementBlock as o, openBlock as a, createCommentVNode as n, createElementVNode as i, createVNode as h, createBlock as S, withModifiers as x, withCtx as M, Fragment as V, renderList as _, withDirectives as z, normalizeClass as C, toDisplayString as l, vShow as j, createTextVNode as k, ref as H, markRaw as ee, getCurrentInstance as te } from "vue";
|
|
8
8
|
import { useI18n as ie } from "vue-i18n";
|
|
9
9
|
import { mapActions as W, mapGetters as q } from "vuex";
|
|
10
10
|
import se from "../components/InputPageStep.vue.js";
|
|
@@ -20,24 +20,24 @@ import pe from "../HappyFlowComponents/img/Selected2.svg.js";
|
|
|
20
20
|
import ue from "../HappyFlowComponents/img/Selected2_2.svg.js";
|
|
21
21
|
import he from "../HappyFlowComponents/img/Selected3.svg.js";
|
|
22
22
|
import me from "../HappyFlowComponents/img/Selected3_2.svg.js";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
23
|
+
import ge from "../HappyFlowComponents/img/Selected4.svg.js";
|
|
24
|
+
import ve from "../HappyFlowComponents/img/Selected4_2.svg.js";
|
|
25
|
+
import fe from "../HappyFlowComponents/img/Selected5.svg.js";
|
|
26
26
|
import be from "../HappyFlowComponents/img/Selected5_2.svg.js";
|
|
27
27
|
import { eventBus as Se } from "../HappyFlowComponents/services/eventBus.js";
|
|
28
28
|
import ye from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
29
29
|
import Ce from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
30
30
|
import Ve from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
31
|
-
import
|
|
32
|
-
import
|
|
31
|
+
import _e from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
32
|
+
import ke from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
33
33
|
import De from "./DistributionInputPage.vue.js";
|
|
34
34
|
import Ie from "./OverviewPage.vue.js";
|
|
35
35
|
import Te from "./PropertyChooser.vue.js";
|
|
36
36
|
/* empty css */
|
|
37
37
|
/* empty css */
|
|
38
38
|
/* empty css */
|
|
39
|
-
import
|
|
40
|
-
import { useDpiContext as
|
|
39
|
+
import Pe from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
40
|
+
import { useDpiContext as Le } from "../composables/useDpiContext.js";
|
|
41
41
|
import { useEditModeInfo as we } from "../composables/useDpiEditMode.js";
|
|
42
42
|
import { useFormSchema as Ae } from "../composables/useFormSchema.js";
|
|
43
43
|
const $e = Q({
|
|
@@ -54,12 +54,12 @@ const $e = Q({
|
|
|
54
54
|
data() {
|
|
55
55
|
return {
|
|
56
56
|
circles: [le, de],
|
|
57
|
-
images: [ne, pe, he,
|
|
57
|
+
images: [ne, pe, he, ge, fe],
|
|
58
58
|
selectedImages: [
|
|
59
59
|
ce,
|
|
60
60
|
ue,
|
|
61
61
|
me,
|
|
62
|
-
|
|
62
|
+
ve,
|
|
63
63
|
be
|
|
64
64
|
],
|
|
65
65
|
instance: te(),
|
|
@@ -90,12 +90,12 @@ const $e = Q({
|
|
|
90
90
|
Navigation: ae,
|
|
91
91
|
LogoV3: Ve,
|
|
92
92
|
ButtonV3: ye,
|
|
93
|
-
TextButtonSmall:
|
|
93
|
+
TextButtonSmall: ke,
|
|
94
94
|
Illustration: Ce,
|
|
95
95
|
PhLightbulb: Y,
|
|
96
96
|
PhCheckCircle: X,
|
|
97
97
|
PhNumberCircleFive: G,
|
|
98
|
-
ModalSimpleV3:
|
|
98
|
+
ModalSimpleV3: _e
|
|
99
99
|
},
|
|
100
100
|
computed: {
|
|
101
101
|
...q("auth", [
|
|
@@ -106,7 +106,7 @@ const $e = Q({
|
|
|
106
106
|
...q("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
|
|
107
107
|
getTitleStep() {
|
|
108
108
|
return Object.keys(this.formValues).filter(
|
|
109
|
-
(e) =>
|
|
109
|
+
(e) => L(this.formValues[e], "dct:title")
|
|
110
110
|
)[0];
|
|
111
111
|
},
|
|
112
112
|
createIDFromTitle() {
|
|
@@ -117,7 +117,7 @@ const $e = Q({
|
|
|
117
117
|
getFirstTitleFromForm() {
|
|
118
118
|
try {
|
|
119
119
|
const e = this.formValues[this.getTitleStep];
|
|
120
|
-
return
|
|
120
|
+
return L(e, "dct:title") && e["dct:title"].length > 0 && L(e["dct:title"][0], "@value") && !O(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
121
121
|
} catch {
|
|
122
122
|
}
|
|
123
123
|
},
|
|
@@ -558,42 +558,42 @@ const $e = Q({
|
|
|
558
558
|
},
|
|
559
559
|
navTrigger(e, t) {
|
|
560
560
|
try {
|
|
561
|
-
let
|
|
562
|
-
if (Object.keys(this.steps).forEach((
|
|
561
|
+
let s = [];
|
|
562
|
+
if (Object.keys(this.steps).forEach((c, u) => {
|
|
563
563
|
let b = {
|
|
564
|
-
step:
|
|
565
|
-
substeps: this.subSteps[
|
|
566
|
-
substepCount: Object.keys(this.subSteps[
|
|
564
|
+
step: c,
|
|
565
|
+
substeps: this.subSteps[u],
|
|
566
|
+
substepCount: Object.keys(this.subSteps[u]).length
|
|
567
567
|
};
|
|
568
|
-
|
|
569
|
-
}), e === "next" && (
|
|
570
|
-
|
|
568
|
+
s.push(b);
|
|
569
|
+
}), e === "next" && (s[this.stepCounter].substepCount > 1 ? (this.substepCounter + 1 === s[this.stepCounter].substepCount ? (this.stepCounter++, this.activeStep = s[this.stepCounter].step, this.activeSubStep = Object.keys(
|
|
570
|
+
s[this.stepCounter].substeps
|
|
571
571
|
)[0], this.substepCounter = 0) : (this.substepCounter++, this.activeSubStep = Object.keys(
|
|
572
|
-
|
|
573
|
-
)[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (this.formValues.ReviewAndPublish.reviewAndPublishPage = [{ isValid: !0 }])) : this.stepCounter !=
|
|
574
|
-
|
|
575
|
-
)[0], this.activeStep =
|
|
576
|
-
|
|
577
|
-
)[this.substepCounter]) : (this.stepCounter--, this.activeStep =
|
|
578
|
-
|
|
579
|
-
)[this.substepCounter]) : (this.substepCounter = Object.keys(
|
|
580
|
-
|
|
581
|
-
)[this.substepCounter], this.activeStep =
|
|
582
|
-
let
|
|
572
|
+
s[this.stepCounter].substeps
|
|
573
|
+
)[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (this.formValues.ReviewAndPublish.reviewAndPublishPage = [{ isValid: !0 }])) : this.stepCounter != s.length - 1 && (this.stepCounter++, this.activeSubStep = Object.keys(
|
|
574
|
+
s[this.stepCounter].substeps
|
|
575
|
+
)[0], this.activeStep = s[this.stepCounter].step)), e === "prev" && (s[this.stepCounter].substepCount > 1 ? this.substepCounter > 0 ? (this.substepCounter--, this.activeSubStep = Object.keys(
|
|
576
|
+
s[this.stepCounter].substeps
|
|
577
|
+
)[this.substepCounter]) : (this.stepCounter--, this.activeStep = s[this.stepCounter].step, this.substepCounter = Object.keys(s[this.stepCounter].substeps).length - 1, this.activeSubStep = Object.keys(
|
|
578
|
+
s[this.stepCounter].substeps
|
|
579
|
+
)[this.substepCounter]) : (this.substepCounter = Object.keys(s[this.stepCounter - 1].substeps).length - 1, this.stepCounter--, this.activeSubStep = Object.keys(
|
|
580
|
+
s[this.stepCounter].substeps
|
|
581
|
+
)[this.substepCounter], this.activeStep = s[this.stepCounter].step)), e === "publish") {
|
|
582
|
+
let c = "auth/createDataset";
|
|
583
583
|
K(
|
|
584
584
|
this.formValues,
|
|
585
585
|
this.dpiContext,
|
|
586
586
|
this.getUserData,
|
|
587
587
|
this.$env.api.hubUrl
|
|
588
|
-
).then((
|
|
588
|
+
).then((u) => {
|
|
589
589
|
this.dispatchDataToDPI(
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
590
|
+
u.body,
|
|
591
|
+
c,
|
|
592
|
+
u.actionParams,
|
|
593
593
|
"publish"
|
|
594
594
|
);
|
|
595
|
-
}).catch((
|
|
596
|
-
console.error("Fehler beim Senden der Daten:",
|
|
595
|
+
}).catch((u) => {
|
|
596
|
+
console.error("Fehler beim Senden der Daten:", u);
|
|
597
597
|
}), setTimeout(() => {
|
|
598
598
|
window.location.href = this.$router.resolve({
|
|
599
599
|
name: "DPI-Home-HappyFlow"
|
|
@@ -601,45 +601,45 @@ const $e = Q({
|
|
|
601
601
|
}, 1e3);
|
|
602
602
|
}
|
|
603
603
|
if (e === "draft") {
|
|
604
|
-
let
|
|
604
|
+
let c = "auth/createUserDraft";
|
|
605
605
|
K(
|
|
606
606
|
this.formValues,
|
|
607
607
|
this.dpiContext,
|
|
608
608
|
this.getUserData,
|
|
609
609
|
this.$env.api.hubUrl
|
|
610
|
-
).then((
|
|
610
|
+
).then((u) => {
|
|
611
611
|
this.dispatchDataToDPI(
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
612
|
+
u.body,
|
|
613
|
+
c,
|
|
614
|
+
u.actionParams,
|
|
615
615
|
"draft"
|
|
616
616
|
);
|
|
617
|
-
}).catch((
|
|
618
|
-
console.error("Fehler beim Senden der Daten:",
|
|
617
|
+
}).catch((u) => {
|
|
618
|
+
console.error("Fehler beim Senden der Daten:", u);
|
|
619
619
|
}), setTimeout(() => {
|
|
620
620
|
window.location.href = this.$router.resolve({
|
|
621
621
|
name: "DPI-Home-HappyFlow"
|
|
622
622
|
}).href;
|
|
623
623
|
}, 1e3);
|
|
624
624
|
}
|
|
625
|
-
} catch (
|
|
626
|
-
console.log(
|
|
625
|
+
} catch (s) {
|
|
626
|
+
console.log(s);
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
|
-
async dispatchDataToDPI(e, t,
|
|
630
|
-
var
|
|
631
|
-
console.log("body:", e, t, "params:",
|
|
629
|
+
async dispatchDataToDPI(e, t, s, c) {
|
|
630
|
+
var u, b;
|
|
631
|
+
console.log("body:", e, t, "params:", s, c);
|
|
632
632
|
try {
|
|
633
|
-
|
|
633
|
+
c === "publish" && (s.token = this.getUserData.rtpToken, console.log(s.token), s.url = `${this.$env.api.hubUrl}catalogues/${s.catalog}/datasets/origin?originalId=${s.id}`, await this.$store.dispatch(t, s)), c === "draft" && await this.$store.dispatch(t, s), (u = this.$Progress) == null || u.finish(), this.clearAll();
|
|
634
634
|
} catch (y) {
|
|
635
635
|
console.error(y), (b = this.$Progress) == null || b.fail();
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
638
|
dropdownCLick() {
|
|
639
639
|
const e = document.querySelectorAll(".formkitProperty h4");
|
|
640
|
-
this.expandall && e.forEach((t,
|
|
640
|
+
this.expandall && e.forEach((t, s) => {
|
|
641
641
|
t.classList.add("dpiChevUp"), t.nextElementSibling.classList.remove("d-none");
|
|
642
|
-
}), this.expandall || e.forEach((t,
|
|
642
|
+
}), this.expandall || e.forEach((t, s) => {
|
|
643
643
|
t.classList.remove("dpiChevUp"), t.nextElementSibling.classList.add("d-none");
|
|
644
644
|
});
|
|
645
645
|
},
|
|
@@ -652,19 +652,19 @@ const $e = Q({
|
|
|
652
652
|
initInputPage() {
|
|
653
653
|
this.activeSubStep = this.activeSubStep || "Landing";
|
|
654
654
|
const e = this.getSchema(this.property).value, t = Object.keys(e).find(
|
|
655
|
-
(
|
|
655
|
+
(s) => e[s].map((c) => c.name).includes("dct:issued") || e[s].map((c) => c.name).includes("dct:modified")
|
|
656
656
|
);
|
|
657
|
-
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && t != null && e[t].forEach((
|
|
658
|
-
(
|
|
657
|
+
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && t != null && e[t].forEach((s) => {
|
|
658
|
+
(s.identifier === "issued" || s.identifier === "modified") && (s.children[1].props.else.validation = "", s.children[1].props.else["validation-visibility"] = "", s.children[1].props.then.validation = "", s.children[1].props.then["validation-visibility"] = "", s.children[1].props.then.validation = "", s.children[1].props.then["validation-visibility"] = "");
|
|
659
659
|
}), localStorage.getItem("dpi_editmode") === "false" && (this.setIsDraft(!1), this.setIsEditMode(!1)), this.$nextTick(() => {
|
|
660
|
-
|
|
660
|
+
J('[data-bs-toggle="tooltip"]').tooltip({
|
|
661
661
|
container: "body"
|
|
662
662
|
}), setTimeout(() => {
|
|
663
|
-
document.querySelectorAll(".formkitProperty h4").forEach((
|
|
664
|
-
|
|
663
|
+
document.querySelectorAll(".formkitProperty h4").forEach((c, u) => {
|
|
664
|
+
c.parentElement.parentElement.classList.contains(
|
|
665
665
|
"formkitWrapRepeatable"
|
|
666
|
-
) || (
|
|
667
|
-
|
|
666
|
+
) || (u != 0 && u != 1 && u != 2 && u != 3 && c.nextElementSibling.classList.toggle("d-none"), c.addEventListener("click", () => {
|
|
667
|
+
c.classList.toggle("dpiChevUp"), c.nextElementSibling.classList.toggle("d-none");
|
|
668
668
|
}));
|
|
669
669
|
}), document.querySelectorAll(".formkitProperty");
|
|
670
670
|
});
|
|
@@ -672,7 +672,7 @@ const $e = Q({
|
|
|
672
672
|
},
|
|
673
673
|
createDatasetID() {
|
|
674
674
|
const e = this.formValues[this.getTitleStep];
|
|
675
|
-
!
|
|
675
|
+
!L(e, "datasetID") || O(e.datasetID) ? this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle : (this.createIDFromTitle.startsWith(e.datasetID) || e.datasetID.startsWith(this.createIDFromTitle)) && (this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle);
|
|
676
676
|
},
|
|
677
677
|
generateandTranslateSchema(e) {
|
|
678
678
|
for (let t = 0; t < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; t++)
|
|
@@ -714,50 +714,50 @@ const $e = Q({
|
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
},
|
|
717
|
-
beforeRouteEnter(e, t,
|
|
718
|
-
|
|
719
|
-
t.name && !t.name.startsWith("DataProviderInterface") &&
|
|
717
|
+
beforeRouteEnter(e, t, s) {
|
|
718
|
+
s((c) => {
|
|
719
|
+
t.name && !t.name.startsWith("DataProviderInterface") && c.clearAll();
|
|
720
720
|
});
|
|
721
721
|
},
|
|
722
722
|
setup() {
|
|
723
|
-
const e =
|
|
724
|
-
steps:
|
|
725
|
-
activeStep:
|
|
726
|
-
subSteps:
|
|
723
|
+
const e = Le(), { isEditMode: t } = we(), {
|
|
724
|
+
steps: s,
|
|
725
|
+
activeStep: c,
|
|
726
|
+
subSteps: u,
|
|
727
727
|
visitedSteps: b,
|
|
728
728
|
previousStep: y,
|
|
729
|
-
nextStep:
|
|
730
|
-
stepPlugin:
|
|
731
|
-
goToNextStep:
|
|
732
|
-
goToPreviousStep:
|
|
733
|
-
} = re(), { formValues:
|
|
734
|
-
t:
|
|
735
|
-
te:
|
|
729
|
+
nextStep: g,
|
|
730
|
+
stepPlugin: D,
|
|
731
|
+
goToNextStep: w,
|
|
732
|
+
goToPreviousStep: I
|
|
733
|
+
} = re(), { formValues: A } = oe(), { t: $, te: T } = ie(), R = H(!1), { translateSchema: E, createSchema: B, getSchema: U } = Ae({
|
|
734
|
+
t: $,
|
|
735
|
+
te: T
|
|
736
736
|
}), r = () => {
|
|
737
|
-
let { x: m, y:
|
|
738
|
-
|
|
739
|
-
},
|
|
740
|
-
return t.value && (
|
|
741
|
-
steps:
|
|
737
|
+
let { x: m, y: P } = N({ behavior: "smooth" });
|
|
738
|
+
P.value = 0;
|
|
739
|
+
}, p = (m) => (s[m].errorCount > 0 || s[m].blockingCount > 0) && b.value.includes(m), d = ee({ OverviewPage: Ie }), v = H("");
|
|
740
|
+
return t.value && (c.value = "ReviewAndPublish", v.value = "reviewAndPublishPage"), {
|
|
741
|
+
steps: s,
|
|
742
742
|
visitedSteps: b,
|
|
743
|
-
activeStep:
|
|
744
|
-
activeSubStep:
|
|
745
|
-
subSteps:
|
|
743
|
+
activeStep: c,
|
|
744
|
+
activeSubStep: v,
|
|
745
|
+
subSteps: u,
|
|
746
746
|
previousStep: y,
|
|
747
|
-
nextStep:
|
|
748
|
-
stepPlugin:
|
|
749
|
-
checkStepValidity:
|
|
750
|
-
goToNextStep:
|
|
751
|
-
goToPreviousStep:
|
|
747
|
+
nextStep: g,
|
|
748
|
+
stepPlugin: D,
|
|
749
|
+
checkStepValidity: p,
|
|
750
|
+
goToNextStep: w,
|
|
751
|
+
goToPreviousStep: I,
|
|
752
752
|
scrollToTop: r,
|
|
753
|
-
library:
|
|
753
|
+
library: d,
|
|
754
754
|
isEditMode: t,
|
|
755
|
-
translateSchema:
|
|
756
|
-
createSchema:
|
|
757
|
-
getSchema:
|
|
755
|
+
translateSchema: E,
|
|
756
|
+
createSchema: B,
|
|
757
|
+
getSchema: U,
|
|
758
758
|
dpiContext: e,
|
|
759
|
-
formValues:
|
|
760
|
-
activeSimpleModal:
|
|
759
|
+
formValues: A,
|
|
760
|
+
activeSimpleModal: R
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
}), Re = { class: "form-container V3-typography" }, Ee = {
|
|
@@ -767,16 +767,16 @@ const $e = Q({
|
|
|
767
767
|
}, Be = { class: "formContainer formkit" }, Ue = { key: 0 }, Fe = { class: "dpiV3_stepper draftStepper" }, Oe = {
|
|
768
768
|
key: 0,
|
|
769
769
|
class: "draftCTA"
|
|
770
|
-
},
|
|
770
|
+
}, Me = {
|
|
771
771
|
key: 1,
|
|
772
772
|
class: "draftCTA"
|
|
773
|
-
},
|
|
773
|
+
}, ze = { key: 1 }, je = {
|
|
774
774
|
key: 0,
|
|
775
775
|
class: "dpiV3_stepper"
|
|
776
|
-
}, He = { class: "dpiV3_steps" }, We = ["data-step-active", "data-step-valid"], qe = { class: "dpiV3_stepBubbleWrap" }, Ke = ["src"], Ze = ["src"], Ge = ["textContent"], Xe = { style: { "vertical-align": "middle" } }, Ye = { class: "dpiV3_subStepWrapper" },
|
|
776
|
+
}, He = { class: "dpiV3_steps" }, We = ["data-step-active", "data-step-valid"], qe = { class: "dpiV3_stepBubbleWrap" }, Ke = ["src"], Ze = ["src"], Ge = ["textContent"], Xe = { style: { "vertical-align": "middle" } }, Ye = { class: "dpiV3_subStepWrapper" }, Ne = {
|
|
777
777
|
key: 0,
|
|
778
778
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
779
|
-
},
|
|
779
|
+
}, Je = {
|
|
780
780
|
key: 1,
|
|
781
781
|
class: "dpiV3_seperatorHorizontalStepperFat"
|
|
782
782
|
}, Qe = {
|
|
@@ -797,25 +797,28 @@ const $e = Q({
|
|
|
797
797
|
}, ht = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "step inactiveStep"
|
|
800
|
-
}, mt = { style: { width: "100%" } },
|
|
800
|
+
}, mt = { style: { width: "100%" } }, gt = {
|
|
801
801
|
key: 0,
|
|
802
802
|
class: "dpiV3_CTALanding"
|
|
803
|
-
},
|
|
803
|
+
}, vt = {
|
|
804
804
|
key: 1,
|
|
805
805
|
class: "dpiV3_CTA_RaP"
|
|
806
|
-
},
|
|
806
|
+
}, ft = { class: "dpiV3_CTANav" }, bt = { class: "dpiV3_CTANav" }, St = {
|
|
807
807
|
key: 3,
|
|
808
808
|
class: "dpiV3_Content_InputPage"
|
|
809
|
-
}, yt = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, Vt = { class: "dpiV3_Info-Text dpiV3_activeStepName" },
|
|
810
|
-
key:
|
|
809
|
+
}, yt = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, Vt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, _t = { class: "dpiV3_CT-Content" }, kt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Dt = { class: "dpiV3_hvd_frame3846" }, It = { class: "dpiV3_copy_large_semi_bold" }, Tt = { class: "dpiV3_copy_large_regular" }, Pt = { class: "dpiV3_hvd_frame3846" }, Lt = { class: "dpiV3_copy_large_semi_bold" }, wt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, At = { class: "dpiV3_hvd_frame3846" }, $t = { class: "dpiV3_copy_large_semi_bold" }, Rt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Et = { class: "dpiV3_hvd_frame3846" }, Bt = { class: "dpiV3_copy_large_semi_bold" }, Ut = { class: "dpiV3_copy_large_regular" }, Ft = {
|
|
810
|
+
key: 4,
|
|
811
|
+
class: "dpiV3_Content_InputPage"
|
|
812
|
+
}, Ot = { class: "dpiV3_Card_Tips" }, Mt = { class: "dpiV3_Icon_Title" }, zt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, jt = { class: "dpiV3_CT-Content" }, Ht = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, Wt = { class: "dpiV3_Info-Text" }, qt = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, Kt = { class: "dpiV3_Info-Text" }, Zt = {
|
|
813
|
+
key: 6,
|
|
811
814
|
class: "p-1"
|
|
812
815
|
};
|
|
813
|
-
function
|
|
814
|
-
const y =
|
|
815
|
-
return
|
|
816
|
-
e.isInput ? (
|
|
817
|
-
|
|
818
|
-
h(
|
|
816
|
+
function Gt(e, t, s, c, u, b) {
|
|
817
|
+
const y = f("TextButtonSmall"), g = f("ButtonV3"), D = f("LogoV3"), w = f("PhNumberCircleFive"), I = f("PhCheckCircle"), A = f("Illustration"), $ = f("FormKitSchema"), T = f("PhLightbulb"), R = f("DistributionInputPage"), E = f("InputPageStep"), B = f("FormKit"), U = f("ModalSimpleV3");
|
|
818
|
+
return a(), o("div", Re, [
|
|
819
|
+
e.isInput ? (a(), o("div", Ee, [
|
|
820
|
+
i("div", Be, [
|
|
821
|
+
h(B, {
|
|
819
822
|
id: "dpiForm",
|
|
820
823
|
modelValue: e.formValues,
|
|
821
824
|
"onUpdate:modelValue": t[8] || (t[8] = (r) => e.formValues = r),
|
|
@@ -826,31 +829,31 @@ function Ot(e, t, i, d, p, b) {
|
|
|
826
829
|
onSubmit: t[9] || (t[9] = x(() => {
|
|
827
830
|
}, ["prevent"]))
|
|
828
831
|
}, {
|
|
829
|
-
default:
|
|
830
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (
|
|
831
|
-
|
|
832
|
+
default: M(() => [
|
|
833
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (a(), o("div", Ue, [
|
|
834
|
+
i("div", Fe, [
|
|
832
835
|
h(y, {
|
|
833
836
|
"button-text": "Übersicht",
|
|
834
837
|
"icon-start": "CaretLeft",
|
|
835
838
|
"icon-name": "caretLeft",
|
|
836
839
|
onClick: e.gotToHome
|
|
837
840
|
}, null, 8, ["onClick"]),
|
|
838
|
-
|
|
839
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (
|
|
840
|
-
h(
|
|
841
|
+
i("div", null, [
|
|
842
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (a(), o("div", Oe, [
|
|
843
|
+
h(g, {
|
|
841
844
|
"button-text": "Veröffentlichung aufheben",
|
|
842
845
|
size: "large",
|
|
843
846
|
onClick: e.todoHandler
|
|
844
847
|
}, null, 8, ["onClick"]),
|
|
845
|
-
h(
|
|
848
|
+
h(g, {
|
|
846
849
|
"button-text": "Veröffentlicht ansehen",
|
|
847
850
|
variant: "secondary",
|
|
848
851
|
size: "large",
|
|
849
852
|
"icon-end": "Out",
|
|
850
853
|
onClick: e.todoHandler
|
|
851
854
|
}, null, 8, ["onClick"])
|
|
852
|
-
])) : (
|
|
853
|
-
h(
|
|
855
|
+
])) : (a(), o("div", Me, [
|
|
856
|
+
h(g, {
|
|
854
857
|
"button-text": "Veröffentlichen",
|
|
855
858
|
size: "large",
|
|
856
859
|
onClick: t[0] || (t[0] = (r) => e.navTrigger("publish"))
|
|
@@ -858,91 +861,91 @@ function Ot(e, t, i, d, p, b) {
|
|
|
858
861
|
]))
|
|
859
862
|
])
|
|
860
863
|
])
|
|
861
|
-
])) : (
|
|
862
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (
|
|
863
|
-
h(
|
|
864
|
-
|
|
865
|
-
(
|
|
864
|
+
])) : (a(), o("div", ze, [
|
|
865
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (a(), o("div", je, [
|
|
866
|
+
h(D),
|
|
867
|
+
i("ul", He, [
|
|
868
|
+
(a(!0), o(V, null, _(e.steps, (r, p, d) => z((a(), o("li", {
|
|
866
869
|
key: r,
|
|
867
870
|
class: C(["dpiV3_step", {
|
|
868
|
-
dpiV3_activeItem: e.activeStep ===
|
|
869
|
-
inactiveStep:
|
|
870
|
-
"has-errors": e.checkStepValidity(
|
|
871
|
+
dpiV3_activeItem: e.activeStep === p,
|
|
872
|
+
inactiveStep: p != e.activeStep,
|
|
873
|
+
"has-errors": e.checkStepValidity(p)
|
|
871
874
|
}]),
|
|
872
|
-
"data-step-active": e.activeStep ===
|
|
875
|
+
"data-step-active": e.activeStep === p,
|
|
873
876
|
"data-step-valid": r.valid && r.errorCount === 0
|
|
874
877
|
}, [
|
|
875
|
-
|
|
876
|
-
|
|
878
|
+
i("div", qe, [
|
|
879
|
+
i("div", {
|
|
877
880
|
class: C(["firstRowWrapper", {
|
|
878
|
-
dpiV3_activeStepName:
|
|
879
|
-
formerlyVisitedStep: e.stepCounter >
|
|
880
|
-
"copy-small-regular": e.stepCounter >
|
|
881
|
+
dpiV3_activeStepName: p === e.activeStep,
|
|
882
|
+
formerlyVisitedStep: e.stepCounter > d,
|
|
883
|
+
"copy-small-regular": e.stepCounter > d
|
|
881
884
|
}])
|
|
882
885
|
}, [
|
|
883
|
-
e.activeStep ===
|
|
886
|
+
e.activeStep === p && d < 5 ? (a(), o("img", {
|
|
884
887
|
key: 0,
|
|
885
888
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
886
|
-
src: e.selectedImages[
|
|
889
|
+
src: e.selectedImages[d - 1],
|
|
887
890
|
alt: "Selected Icon"
|
|
888
891
|
}, null, 8, Ke)) : n("", !0),
|
|
889
|
-
e.activeStep ===
|
|
892
|
+
e.activeStep === p && d === 5 ? (a(), S(w, {
|
|
890
893
|
key: 1,
|
|
891
894
|
size: 28,
|
|
892
895
|
color: "#009FE3",
|
|
893
896
|
weight: "fill"
|
|
894
897
|
})) : n("", !0),
|
|
895
|
-
|
|
898
|
+
d < e.stepCounter ? (a(), S(I, {
|
|
896
899
|
key: 2,
|
|
897
900
|
size: 28,
|
|
898
901
|
color: "#70CC44",
|
|
899
902
|
weight: "fill"
|
|
900
903
|
})) : n("", !0),
|
|
901
|
-
|
|
904
|
+
d > e.stepCounter ? (a(), o("img", {
|
|
902
905
|
key: 3,
|
|
903
906
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
904
|
-
src: e.images[
|
|
907
|
+
src: e.images[d - 1],
|
|
905
908
|
alt: "Selected Icon"
|
|
906
909
|
}, null, 8, Ze)) : n("", !0),
|
|
907
|
-
e.checkStepValidity(
|
|
910
|
+
e.checkStepValidity(p) ? (a(), o("span", {
|
|
908
911
|
key: 4,
|
|
909
912
|
class: "dpiV3_step--errors",
|
|
910
|
-
textContent:
|
|
913
|
+
textContent: l(r.errorCount + r.blockingCount)
|
|
911
914
|
}, null, 8, Ge)) : n("", !0),
|
|
912
|
-
|
|
915
|
+
i("span", Xe, l(e.$t(`message.dataupload.steps.${p}Step`)), 1)
|
|
913
916
|
], 2),
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
e.activeStep ===
|
|
918
|
-
e.stepCounter < 5 ? (
|
|
919
|
-
e.subSteps[
|
|
920
|
-
), (
|
|
921
|
-
|
|
922
|
-
e.substepCounter > m ? (
|
|
917
|
+
i("div", Ye, [
|
|
918
|
+
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (a(), o("div", Ne)) : n("", !0),
|
|
919
|
+
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (a(), o("div", Je)) : n("", !0),
|
|
920
|
+
e.activeStep === p ? (a(), o("div", Qe, [
|
|
921
|
+
e.stepCounter < 5 ? (a(!0), o(V, { key: 0 }, _(Object.keys(
|
|
922
|
+
e.subSteps[d]
|
|
923
|
+
), (v, m) => (a(), o("div", xe, [
|
|
924
|
+
i("div", et, [
|
|
925
|
+
e.substepCounter > m ? (a(), S(I, {
|
|
923
926
|
key: 0,
|
|
924
927
|
size: 20,
|
|
925
928
|
color: "#009FE3"
|
|
926
|
-
})) : (
|
|
929
|
+
})) : (a(), o("img", {
|
|
927
930
|
key: 1,
|
|
928
931
|
src: e.getCircles(m),
|
|
929
932
|
alt: "circle"
|
|
930
933
|
}, null, 8, tt)),
|
|
931
|
-
m != Object.keys(e.subSteps[
|
|
934
|
+
m != Object.keys(e.subSteps[d]).length - 1 ? (a(), o("div", {
|
|
932
935
|
key: 2,
|
|
933
936
|
class: C(["dpiV3_seperatorHorizontalStepperInner", {
|
|
934
937
|
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > m
|
|
935
938
|
}])
|
|
936
939
|
}, null, 2)) : n("", !0)
|
|
937
940
|
]),
|
|
938
|
-
|
|
939
|
-
|
|
941
|
+
i("div", it, [
|
|
942
|
+
i("span", {
|
|
940
943
|
class: C(["large-regular dpiV3_substepText", {
|
|
941
|
-
dpiV3_activeStepDesc:
|
|
944
|
+
dpiV3_activeStepDesc: v === e.activeSubStep,
|
|
942
945
|
formerlyVisitedStep: e.substepCounter > m
|
|
943
946
|
}])
|
|
944
|
-
},
|
|
945
|
-
`message.dataupload.steps.${
|
|
947
|
+
}, l(e.$t(
|
|
948
|
+
`message.dataupload.steps.${v.replace(/_\d+$/, "")}`
|
|
946
949
|
)), 3)
|
|
947
950
|
])
|
|
948
951
|
]))), 256)) : n("", !0)
|
|
@@ -950,63 +953,63 @@ function Ot(e, t, i, d, p, b) {
|
|
|
950
953
|
])
|
|
951
954
|
])
|
|
952
955
|
], 10, We)), [
|
|
953
|
-
[
|
|
956
|
+
[j, p !== "Landing" && p !== "Additionals"]
|
|
954
957
|
])), 128)),
|
|
955
|
-
e.activeStep === "Overview" ? (
|
|
956
|
-
|
|
958
|
+
e.activeStep === "Overview" ? (a(), o("li", st, t[12] || (t[12] = [
|
|
959
|
+
i("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
957
960
|
]))) : n("", !0)
|
|
958
961
|
])
|
|
959
|
-
])) : (
|
|
960
|
-
|
|
961
|
-
h(
|
|
962
|
+
])) : (a(), o("div", at, [
|
|
963
|
+
i("div", ot, [
|
|
964
|
+
h(D)
|
|
962
965
|
]),
|
|
963
|
-
|
|
964
|
-
h(
|
|
966
|
+
i("div", rt, [
|
|
967
|
+
h(A, { "illustration-name": "start" })
|
|
965
968
|
])
|
|
966
969
|
]))
|
|
967
970
|
])),
|
|
968
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (
|
|
969
|
-
(
|
|
971
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (a(), o("ul", lt, [
|
|
972
|
+
(a(!0), o(V, null, _(e.steps, (r, p, d) => (a(), o("li", {
|
|
970
973
|
key: r,
|
|
971
974
|
class: C(["step", {
|
|
972
|
-
activeItem: e.activeStep ===
|
|
973
|
-
inactiveStep:
|
|
974
|
-
"has-errors": e.checkStepValidity(
|
|
975
|
+
activeItem: e.activeStep === p,
|
|
976
|
+
inactiveStep: p != e.activeStep,
|
|
977
|
+
"has-errors": e.checkStepValidity(p)
|
|
975
978
|
}]),
|
|
976
|
-
"data-step-active": e.activeStep ===
|
|
979
|
+
"data-step-active": e.activeStep === p,
|
|
977
980
|
"data-step-valid": r.valid && r.errorCount === 0,
|
|
978
|
-
onClick: (
|
|
979
|
-
e.activeStep =
|
|
981
|
+
onClick: (v) => {
|
|
982
|
+
e.activeStep = p, e.update(), e.scrollToTop();
|
|
980
983
|
}
|
|
981
984
|
}, [
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
e.checkStepValidity(
|
|
985
|
+
i("div", nt, [
|
|
986
|
+
i("div", ct, l(d + 1), 1),
|
|
987
|
+
e.checkStepValidity(p) ? (a(), o("span", {
|
|
985
988
|
key: 0,
|
|
986
989
|
class: "step--errors",
|
|
987
|
-
textContent:
|
|
990
|
+
textContent: l(r.errorCount + r.blockingCount)
|
|
988
991
|
}, null, 8, pt)) : n("", !0),
|
|
989
|
-
|
|
992
|
+
k(l(e.$t(`message.dataupload.steps.${p}Step`)), 1)
|
|
990
993
|
]),
|
|
991
|
-
|
|
994
|
+
d != Object.keys(e.steps).length ? (a(), o("div", ut)) : n("", !0)
|
|
992
995
|
], 10, dt))), 128)),
|
|
993
|
-
e.activeStep === "Overview" ? (
|
|
994
|
-
|
|
996
|
+
e.activeStep === "Overview" ? (a(), o("li", ht, t[13] || (t[13] = [
|
|
997
|
+
i("div", { class: "circle stepCircle" }, null, -1)
|
|
995
998
|
]))) : n("", !0)
|
|
996
999
|
])) : n("", !0),
|
|
997
|
-
(
|
|
1000
|
+
(a(!0), o(V, null, _(e.getNavSteps(
|
|
998
1001
|
e.$env.content.dataProviderInterface.specification
|
|
999
|
-
)[e.property], (r,
|
|
1000
|
-
key:
|
|
1002
|
+
)[e.property], (r, p) => (a(), S(E, {
|
|
1003
|
+
key: p,
|
|
1001
1004
|
name: r
|
|
1002
1005
|
}, {
|
|
1003
|
-
default:
|
|
1004
|
-
(
|
|
1006
|
+
default: M(() => [
|
|
1007
|
+
(a(!0), o(V, null, _(Object.keys(
|
|
1005
1008
|
e.getSchema(e.property).value[r]
|
|
1006
|
-
).length, (
|
|
1007
|
-
r !== "Distributions" && r !== "Additionals" ? (
|
|
1009
|
+
).length, (d, v) => z((a(), o("div", mt, [
|
|
1010
|
+
r !== "Distributions" && r !== "Additionals" ? (a(), S($, {
|
|
1008
1011
|
key: 0,
|
|
1009
|
-
schema: e.getSchema(e.property).value[r][
|
|
1012
|
+
schema: e.getSchema(e.property).value[r][v],
|
|
1010
1013
|
library: e.library,
|
|
1011
1014
|
"final-values": e.formValues,
|
|
1012
1015
|
onHandleNav: () => {
|
|
@@ -1014,139 +1017,161 @@ function Ot(e, t, i, d, p, b) {
|
|
|
1014
1017
|
}, null, 8, ["schema", "library", "final-values"])) : n("", !0)
|
|
1015
1018
|
], 512)), [
|
|
1016
1019
|
[
|
|
1017
|
-
|
|
1020
|
+
j,
|
|
1018
1021
|
Object.values(
|
|
1019
|
-
e.getSchema(e.property).value[r][
|
|
1022
|
+
e.getSchema(e.property).value[r][v]
|
|
1020
1023
|
)[0] === e.activeSubStep.replace(/_\d+$/, "") || r === "Landing"
|
|
1021
1024
|
]
|
|
1022
1025
|
])), 256)),
|
|
1023
|
-
e.activeStep === "Landing" ? (
|
|
1024
|
-
h(
|
|
1026
|
+
e.activeStep === "Landing" ? (a(), o("div", gt, [
|
|
1027
|
+
h(g, {
|
|
1025
1028
|
"button-text": "Abbrechen",
|
|
1026
1029
|
size: "large",
|
|
1027
1030
|
variant: "tertiary",
|
|
1028
|
-
onClick: t[1] || (t[1] = (
|
|
1031
|
+
onClick: t[1] || (t[1] = (d) => {
|
|
1029
1032
|
e.activeSimpleModal = !0, console.log(e.activeSimpleModal);
|
|
1030
1033
|
})
|
|
1031
1034
|
}),
|
|
1032
|
-
h(
|
|
1035
|
+
h(g, {
|
|
1033
1036
|
"button-text": "Datenbereitstellung starten",
|
|
1034
1037
|
size: "large",
|
|
1035
|
-
onClick: t[2] || (t[2] = (
|
|
1038
|
+
onClick: t[2] || (t[2] = (d) => e.navTrigger("next"))
|
|
1036
1039
|
})
|
|
1037
1040
|
])) : n("", !0),
|
|
1038
|
-
e.activeStep === "ReviewAndPublish" ? (
|
|
1039
|
-
|
|
1040
|
-
h(
|
|
1041
|
+
e.activeStep === "ReviewAndPublish" ? (a(), o("div", vt, [
|
|
1042
|
+
i("div", ft, [
|
|
1043
|
+
h(g, {
|
|
1041
1044
|
"button-text": "Als Entwurf speichern",
|
|
1042
1045
|
size: "large",
|
|
1043
1046
|
variant: "secondary",
|
|
1044
|
-
onClick: t[3] || (t[3] = (
|
|
1047
|
+
onClick: t[3] || (t[3] = (d) => e.navTrigger("draft"))
|
|
1045
1048
|
}),
|
|
1046
|
-
h(
|
|
1049
|
+
h(g, {
|
|
1047
1050
|
"button-text": "Veröffentlichen",
|
|
1048
1051
|
size: "large",
|
|
1049
|
-
onClick: t[4] || (t[4] = (
|
|
1052
|
+
onClick: t[4] || (t[4] = (d) => e.formValues[e.activeStep][e.activeSubStep][0].isValid === !0 ? e.navTrigger("publish") : e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1)
|
|
1050
1053
|
})
|
|
1051
1054
|
])
|
|
1052
1055
|
])) : n("", !0),
|
|
1053
|
-
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (
|
|
1056
|
+
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (a(), o("div", {
|
|
1054
1057
|
key: 2,
|
|
1055
1058
|
class: C(["dpiV3_CTA", {
|
|
1056
|
-
dpiV3_activeInfobox: e.activeSubStep
|
|
1059
|
+
dpiV3_activeInfobox: ["hvdPage", "visibilityPage"].includes(e.activeSubStep)
|
|
1057
1060
|
}])
|
|
1058
1061
|
}, [
|
|
1059
|
-
h(
|
|
1062
|
+
h(g, {
|
|
1060
1063
|
"button-text": "Abbrechen",
|
|
1061
1064
|
size: "large",
|
|
1062
1065
|
variant: "tertiary",
|
|
1063
|
-
onClick: t[5] || (t[5] = (
|
|
1066
|
+
onClick: t[5] || (t[5] = (d) => e.activeSimpleModal = !0)
|
|
1064
1067
|
}),
|
|
1065
|
-
|
|
1066
|
-
e.activeStep !== "Landing" ? (
|
|
1068
|
+
i("div", bt, [
|
|
1069
|
+
e.activeStep !== "Landing" ? (a(), S(g, {
|
|
1067
1070
|
key: 0,
|
|
1068
1071
|
"icon-start": "CaretLeft",
|
|
1069
1072
|
"button-text": "Zurück",
|
|
1070
1073
|
size: "large",
|
|
1071
1074
|
variant: "secondary",
|
|
1072
|
-
onClick: t[6] || (t[6] = (
|
|
1075
|
+
onClick: t[6] || (t[6] = (d) => e.navTrigger("prev"))
|
|
1073
1076
|
})) : n("", !0),
|
|
1074
|
-
h(
|
|
1077
|
+
h(g, {
|
|
1075
1078
|
"icon-end": "CaretRight",
|
|
1076
1079
|
"button-text": "Weiter",
|
|
1077
1080
|
size: "large",
|
|
1078
|
-
onClick: t[7] || (t[7] = (
|
|
1079
|
-
var
|
|
1080
|
-
return ((
|
|
1081
|
+
onClick: t[7] || (t[7] = (d) => {
|
|
1082
|
+
var v, m, P, F;
|
|
1083
|
+
return ((P = (m = (v = e.formValues[e.activeStep]) == null ? void 0 : v[e.activeSubStep]) == null ? void 0 : m[0]) == null ? void 0 : P.isValid) === !0 || ((F = e.formValues[e.activeStep][e.activeSubStep]) == null ? void 0 : F.isValid) === !0 ? e.navTrigger("next") : (e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1, e.handleDistributionsValidation(e.activeSubStep));
|
|
1081
1084
|
})
|
|
1082
1085
|
})
|
|
1083
1086
|
])
|
|
1084
1087
|
], 2)) : n("", !0),
|
|
1085
|
-
e.activeSubStep.includes("hvdPage") ? (
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
h(
|
|
1088
|
+
e.activeSubStep.includes("hvdPage") ? (a(), o("div", St, [
|
|
1089
|
+
i("div", yt, [
|
|
1090
|
+
i("div", Ct, [
|
|
1091
|
+
h(T, {
|
|
1089
1092
|
size: 32,
|
|
1090
1093
|
color: "#009fe3"
|
|
1091
1094
|
}),
|
|
1092
|
-
|
|
1095
|
+
i("div", Vt, l(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
1093
1096
|
]),
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1097
|
+
i("div", _t, [
|
|
1098
|
+
i("div", kt, l(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
1099
|
+
i("div", Dt, [
|
|
1100
|
+
i("div", It, " 1. " + l(e.$t(
|
|
1098
1101
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
1099
1102
|
)), 1),
|
|
1100
|
-
|
|
1101
|
-
|
|
1103
|
+
i("ul", Tt, [
|
|
1104
|
+
i("li", null, l(e.$t(
|
|
1102
1105
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
1103
1106
|
)), 1),
|
|
1104
|
-
|
|
1107
|
+
i("li", null, l(e.$t(
|
|
1105
1108
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
1106
1109
|
)), 1),
|
|
1107
|
-
|
|
1110
|
+
i("li", null, l(e.$t(
|
|
1108
1111
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
1109
1112
|
)), 1),
|
|
1110
|
-
|
|
1113
|
+
i("li", null, l(e.$t(
|
|
1111
1114
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
1112
1115
|
)), 1),
|
|
1113
|
-
|
|
1116
|
+
i("li", null, l(e.$t(
|
|
1114
1117
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
1115
1118
|
)), 1),
|
|
1116
|
-
|
|
1119
|
+
i("li", null, l(e.$t(
|
|
1117
1120
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
1118
1121
|
)), 1)
|
|
1119
1122
|
])
|
|
1120
1123
|
]),
|
|
1121
|
-
|
|
1122
|
-
|
|
1124
|
+
i("div", Pt, [
|
|
1125
|
+
i("div", Lt, " 2. " + l(e.$t(
|
|
1123
1126
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
1124
1127
|
)), 1),
|
|
1125
|
-
|
|
1128
|
+
i("p", wt, l(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
1126
1129
|
]),
|
|
1127
|
-
|
|
1128
|
-
|
|
1130
|
+
i("div", At, [
|
|
1131
|
+
i("div", $t, " 3. " + l(e.$t(
|
|
1129
1132
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
1130
1133
|
)), 1),
|
|
1131
|
-
|
|
1134
|
+
i("p", Rt, l(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
1132
1135
|
]),
|
|
1133
|
-
|
|
1134
|
-
|
|
1136
|
+
i("div", Et, [
|
|
1137
|
+
i("div", Bt, " 4. " + l(e.$t(
|
|
1135
1138
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
1136
1139
|
)), 1),
|
|
1137
|
-
|
|
1140
|
+
i("p", Ut, l(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
1141
|
+
])
|
|
1142
|
+
])
|
|
1143
|
+
])
|
|
1144
|
+
])) : n("", !0),
|
|
1145
|
+
e.activeSubStep.includes("visibilityPage") ? (a(), o("div", Ft, [
|
|
1146
|
+
i("div", Ot, [
|
|
1147
|
+
i("div", Mt, [
|
|
1148
|
+
h(T, {
|
|
1149
|
+
size: 32,
|
|
1150
|
+
color: "#009fe3"
|
|
1151
|
+
}),
|
|
1152
|
+
i("div", zt, l(e.$t("message.dataupload.datasets.visibilityPage.info-title")), 1)
|
|
1153
|
+
]),
|
|
1154
|
+
i("div", jt, [
|
|
1155
|
+
i("p", Ht, [
|
|
1156
|
+
i("span", Wt, l(e.$t("message.dataupload.datasets.visibilityPage.metadata-label")), 1),
|
|
1157
|
+
k(" " + l(e.$t("message.dataupload.datasets.visibilityPage.metadata-explanation")), 1)
|
|
1158
|
+
]),
|
|
1159
|
+
i("p", qt, [
|
|
1160
|
+
k(l(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-prefix")) + " ", 1),
|
|
1161
|
+
i("span", Kt, l(e.$t("message.dataupload.datasets.visibilityPage.distribution-label")), 1),
|
|
1162
|
+
k(" " + l(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-suffix")), 1)
|
|
1138
1163
|
])
|
|
1139
1164
|
])
|
|
1140
1165
|
])
|
|
1141
1166
|
])) : n("", !0),
|
|
1142
|
-
r === "Distributions" ? (
|
|
1143
|
-
key:
|
|
1167
|
+
r === "Distributions" ? (a(), S(R, {
|
|
1168
|
+
key: 5,
|
|
1144
1169
|
schema: e.getSchema("distributions"),
|
|
1145
1170
|
values: e.formValues
|
|
1146
1171
|
}, null, 8, ["schema", "values"])) : n("", !0),
|
|
1147
|
-
r === "Mandatory" ? (
|
|
1148
|
-
t[14] || (t[14] =
|
|
1149
|
-
|
|
1172
|
+
r === "Mandatory" ? (a(), o("p", Zt, [
|
|
1173
|
+
t[14] || (t[14] = i("b", null, "*", -1)),
|
|
1174
|
+
k(" " + l(e.$t("message.dataupload.info.mandatory")), 1)
|
|
1150
1175
|
])) : n("", !0)
|
|
1151
1176
|
]),
|
|
1152
1177
|
_: 2
|
|
@@ -1154,7 +1179,7 @@ function Ot(e, t, i, d, p, b) {
|
|
|
1154
1179
|
]),
|
|
1155
1180
|
_: 1
|
|
1156
1181
|
}, 8, ["modelValue", "plugins"]),
|
|
1157
|
-
e.activeSimpleModal ? (
|
|
1182
|
+
e.activeSimpleModal ? (a(), S(U, {
|
|
1158
1183
|
key: 0,
|
|
1159
1184
|
buttons: e.modalSimpleConf.button,
|
|
1160
1185
|
"header-text": e.modalSimpleConf.header,
|
|
@@ -1167,7 +1192,7 @@ function Ot(e, t, i, d, p, b) {
|
|
|
1167
1192
|
], 512)) : n("", !0)
|
|
1168
1193
|
]);
|
|
1169
1194
|
}
|
|
1170
|
-
const
|
|
1195
|
+
const Ui = /* @__PURE__ */ Pe($e, [["render", Gt]]);
|
|
1171
1196
|
export {
|
|
1172
|
-
|
|
1197
|
+
Ui as default
|
|
1173
1198
|
};
|