@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.49
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/Organisation.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +64 -49
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +59 -55
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +129 -98
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +55 -50
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +92 -91
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +49 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +121 -108
- package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
- package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +161 -130
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
- package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
- package/dist/packages/dpi/src/data-provider-interface/composables/useOrganizationInfo.js +48 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
- package/package.json +2 -2
|
@@ -4,9 +4,9 @@ import { PhNumberCircleFive as ue, PhCheckCircle as he, PhLightbulb as me } from
|
|
|
4
4
|
import { putDataset as ge } from "@piveau/sdk-core/hubRepo";
|
|
5
5
|
import { useWindowScroll as ve } from "@vueuse/core";
|
|
6
6
|
import fe from "jquery";
|
|
7
|
-
import { has as
|
|
8
|
-
import { defineComponent as be, resolveComponent as
|
|
9
|
-
import { useI18n as
|
|
7
|
+
import { has as w, isNil as x } from "lodash-es";
|
|
8
|
+
import { defineComponent as be, resolveComponent as h, createElementBlock as a, openBlock as s, createCommentVNode as p, createElementVNode as i, createVNode as m, createBlock as v, toDisplayString as n, withModifiers as Se, withCtx as ee, Fragment as k, renderList as I, withDirectives as te, normalizeClass as C, vShow as ie, createTextVNode as _, ref as se, markRaw as ye, getCurrentInstance as _e } from "vue";
|
|
9
|
+
import { useI18n as Ce } from "vue-i18n";
|
|
10
10
|
import { useRoute as Ve } from "vue-router";
|
|
11
11
|
import { mapActions as ae, mapGetters as oe } from "vuex";
|
|
12
12
|
import { useRuntimeEnv as ke } from "../../composables/useRuntimeEnv.js";
|
|
@@ -34,13 +34,13 @@ import Ge from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
|
34
34
|
import qe from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
35
35
|
import Ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
36
36
|
import Ze from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
37
|
+
import Ne from "./DistributionInputPage.vue.js";
|
|
38
|
+
import Xe from "./OverviewPage.vue.js";
|
|
39
|
+
import Je from "./PropertyChooser.vue.js";
|
|
40
40
|
/* empty css */
|
|
41
41
|
/* empty css */
|
|
42
42
|
/* empty css */
|
|
43
|
-
import
|
|
43
|
+
import Ye from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
44
44
|
import { useDpiContext as Qe } from "../composables/useDpiContext.js";
|
|
45
45
|
import { useEditModeInfo as xe } from "../composables/useDpiEditMode.js";
|
|
46
46
|
import { useFormSchema as et } from "../composables/useFormSchema.js";
|
|
@@ -88,8 +88,8 @@ const tt = be({
|
|
|
88
88
|
},
|
|
89
89
|
components: {
|
|
90
90
|
InputPageStep: Ie,
|
|
91
|
-
DistributionInputPage:
|
|
92
|
-
PropertyChooser:
|
|
91
|
+
DistributionInputPage: Ne,
|
|
92
|
+
PropertyChooser: Je,
|
|
93
93
|
Navigation: De,
|
|
94
94
|
LogoV3: qe,
|
|
95
95
|
ButtonV3: We,
|
|
@@ -109,7 +109,7 @@ const tt = be({
|
|
|
109
109
|
...oe("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
|
|
110
110
|
getTitleStep() {
|
|
111
111
|
return Object.keys(this.formValues).filter(
|
|
112
|
-
(e) =>
|
|
112
|
+
(e) => w(this.formValues[e], "dct:title")
|
|
113
113
|
)[0];
|
|
114
114
|
},
|
|
115
115
|
createIDFromTitle() {
|
|
@@ -120,7 +120,7 @@ const tt = be({
|
|
|
120
120
|
getFirstTitleFromForm() {
|
|
121
121
|
try {
|
|
122
122
|
const e = this.formValues[this.getTitleStep];
|
|
123
|
-
return
|
|
123
|
+
return w(e, "dct:title") && e["dct:title"].length > 0 && w(e["dct:title"][0], "@value") && !x(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
124
124
|
} catch {
|
|
125
125
|
}
|
|
126
126
|
},
|
|
@@ -552,8 +552,8 @@ const tt = be({
|
|
|
552
552
|
return e === this.substepCounter ? this.circles[1] : this.circles[0];
|
|
553
553
|
},
|
|
554
554
|
validateStep() {
|
|
555
|
-
var e, t, o,
|
|
556
|
-
((o = (t = (e = this.formValues[this.activeStep]) == null ? void 0 : e[this.activeSubStep]) == null ? void 0 : t[0]) == null ? void 0 : o.isValid) === !0 || ((
|
|
555
|
+
var e, t, o, l, r;
|
|
556
|
+
((o = (t = (e = this.formValues[this.activeStep]) == null ? void 0 : e[this.activeSubStep]) == null ? void 0 : t[0]) == null ? void 0 : o.isValid) === !0 || ((l = this.formValues[this.activeStep][this.activeSubStep]) == null ? void 0 : l.isValid) === !0 ? this.navTrigger("next") : ((r = this.formValues[this.activeStep][this.activeSubStep]) != null && r[0] ? this.formValues[this.activeStep][this.activeSubStep][0].isValid = !1 : this.formValues[this.activeStep][this.activeSubStep].isValid = !1, this.handleDistributionsValidation(this.activeSubStep));
|
|
557
557
|
},
|
|
558
558
|
handleDistributionsValidation(e) {
|
|
559
559
|
He.emit("nextClicked", e);
|
|
@@ -566,13 +566,13 @@ const tt = be({
|
|
|
566
566
|
navTrigger(e, t) {
|
|
567
567
|
try {
|
|
568
568
|
let o = [];
|
|
569
|
-
if (Object.keys(this.steps).forEach((
|
|
570
|
-
let
|
|
571
|
-
step:
|
|
569
|
+
if (Object.keys(this.steps).forEach((l, r) => {
|
|
570
|
+
let f = {
|
|
571
|
+
step: l,
|
|
572
572
|
substeps: this.subSteps[r],
|
|
573
573
|
substepCount: Object.keys(this.subSteps[r]).length
|
|
574
574
|
};
|
|
575
|
-
o.push(
|
|
575
|
+
o.push(f);
|
|
576
576
|
}), e === "next" && (o[this.stepCounter].substepCount > 1 ? (this.substepCounter + 1 === o[this.stepCounter].substepCount ? (this.stepCounter++, this.activeStep = o[this.stepCounter].step, this.activeSubStep = Object.keys(
|
|
577
577
|
o[this.stepCounter].substeps
|
|
578
578
|
)[0], this.substepCounter = 0) : (this.substepCounter++, this.activeSubStep = Object.keys(
|
|
@@ -586,7 +586,7 @@ const tt = be({
|
|
|
586
586
|
)[this.substepCounter]) : (this.substepCounter = Object.keys(o[this.stepCounter - 1].substeps).length - 1, this.stepCounter--, this.activeSubStep = Object.keys(
|
|
587
587
|
o[this.stepCounter].substeps
|
|
588
588
|
)[this.substepCounter], this.activeStep = o[this.stepCounter].step)), e === "publish") {
|
|
589
|
-
let
|
|
589
|
+
let l = "auth/createDataset";
|
|
590
590
|
M(
|
|
591
591
|
this.formValues,
|
|
592
592
|
this.dpiContext,
|
|
@@ -595,7 +595,7 @@ const tt = be({
|
|
|
595
595
|
).then((r) => {
|
|
596
596
|
this.dispatchDataToDPI(
|
|
597
597
|
r.body,
|
|
598
|
-
|
|
598
|
+
l,
|
|
599
599
|
r.actionParams,
|
|
600
600
|
"publish"
|
|
601
601
|
);
|
|
@@ -608,7 +608,7 @@ const tt = be({
|
|
|
608
608
|
}, 1e3);
|
|
609
609
|
}
|
|
610
610
|
if (e === "depublish") {
|
|
611
|
-
let
|
|
611
|
+
let l = "auth/depublishById";
|
|
612
612
|
M(
|
|
613
613
|
this.formValues,
|
|
614
614
|
this.dpiContext,
|
|
@@ -617,7 +617,7 @@ const tt = be({
|
|
|
617
617
|
).then((r) => {
|
|
618
618
|
this.dispatchDataToDPI(
|
|
619
619
|
r.body,
|
|
620
|
-
|
|
620
|
+
l,
|
|
621
621
|
r.actionParams,
|
|
622
622
|
"depublish"
|
|
623
623
|
);
|
|
@@ -630,7 +630,7 @@ const tt = be({
|
|
|
630
630
|
}, 1e3);
|
|
631
631
|
}
|
|
632
632
|
if (e === "draft") {
|
|
633
|
-
let
|
|
633
|
+
let l = "auth/createUserDraft";
|
|
634
634
|
M(
|
|
635
635
|
this.formValues,
|
|
636
636
|
this.dpiContext,
|
|
@@ -639,7 +639,7 @@ const tt = be({
|
|
|
639
639
|
).then((r) => {
|
|
640
640
|
this.dispatchDataToDPI(
|
|
641
641
|
r.body,
|
|
642
|
-
|
|
642
|
+
l,
|
|
643
643
|
r.actionParams,
|
|
644
644
|
"draft"
|
|
645
645
|
);
|
|
@@ -670,20 +670,20 @@ const tt = be({
|
|
|
670
670
|
window.scrollTo(0, 0);
|
|
671
671
|
},
|
|
672
672
|
initInputPage() {
|
|
673
|
-
this.activeSubStep = this.activeSubStep || "Landing",
|
|
673
|
+
this.activeSubStep = this.activeSubStep || "Landing", _e().appContext.app.config.globalProperties.$env;
|
|
674
674
|
const t = this.getSchema(this.property).value, o = Object.keys(t).find(
|
|
675
|
-
(
|
|
675
|
+
(l) => t[l].map((r) => r.name).includes("dct:issued") || t[l].map((r) => r.name).includes("dct:modified")
|
|
676
676
|
);
|
|
677
|
-
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && o != null && t[o].forEach((
|
|
678
|
-
(
|
|
677
|
+
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && o != null && t[o].forEach((l) => {
|
|
678
|
+
(l.identifier === "issued" || l.identifier === "modified") && (l.children[1].props.else.validation = "", l.children[1].props.else["validation-visibility"] = "", l.children[1].props.then.validation = "", l.children[1].props.then["validation-visibility"] = "", l.children[1].props.then.validation = "", l.children[1].props.then["validation-visibility"] = "");
|
|
679
679
|
}), localStorage.getItem("dpi_editmode") === "false" && (this.setIsDraft(!1), this.setIsEditMode(!1)), this.$nextTick(() => {
|
|
680
680
|
fe('[data-bs-toggle="tooltip"]').tooltip({
|
|
681
681
|
container: "body"
|
|
682
682
|
}), setTimeout(() => {
|
|
683
|
-
document.querySelectorAll(".formkitProperty h4").forEach((r,
|
|
683
|
+
document.querySelectorAll(".formkitProperty h4").forEach((r, f) => {
|
|
684
684
|
r.parentElement.parentElement.classList.contains(
|
|
685
685
|
"formkitWrapRepeatable"
|
|
686
|
-
) || (
|
|
686
|
+
) || (f != 0 && f != 1 && f != 2 && f != 3 && r.nextElementSibling.classList.toggle("d-none"), r.addEventListener("click", () => {
|
|
687
687
|
r.classList.toggle("dpiChevUp"), r.nextElementSibling.classList.toggle("d-none");
|
|
688
688
|
}));
|
|
689
689
|
}), document.querySelectorAll(".formkitProperty");
|
|
@@ -696,7 +696,7 @@ const tt = be({
|
|
|
696
696
|
},
|
|
697
697
|
createDatasetID() {
|
|
698
698
|
const e = this.formValues[this.getTitleStep];
|
|
699
|
-
!
|
|
699
|
+
!w(e, "datasetID") || x(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);
|
|
700
700
|
},
|
|
701
701
|
generateandTranslateSchema(e) {
|
|
702
702
|
for (let t = 0; t < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; t++)
|
|
@@ -739,39 +739,39 @@ const tt = be({
|
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
beforeRouteEnter(e, t, o) {
|
|
742
|
-
o((
|
|
743
|
-
t.name && !t.name.startsWith("DataProviderInterface") &&
|
|
742
|
+
o((l) => {
|
|
743
|
+
t.name && !t.name.startsWith("DataProviderInterface") && l.clearAll();
|
|
744
744
|
});
|
|
745
745
|
},
|
|
746
746
|
setup() {
|
|
747
747
|
var j, H, W, G;
|
|
748
748
|
const e = Qe(), { isEditMode: t } = xe(), o = ke(), {
|
|
749
|
-
steps:
|
|
749
|
+
steps: l,
|
|
750
750
|
activeStep: r,
|
|
751
|
-
subSteps:
|
|
751
|
+
subSteps: f,
|
|
752
752
|
visitedSteps: D,
|
|
753
|
-
previousStep:
|
|
754
|
-
nextStep:
|
|
755
|
-
stepPlugin:
|
|
756
|
-
goToNextStep:
|
|
753
|
+
previousStep: T,
|
|
754
|
+
nextStep: L,
|
|
755
|
+
stepPlugin: P,
|
|
756
|
+
goToNextStep: $,
|
|
757
757
|
goToPreviousStep: A
|
|
758
|
-
} = Pe(), { formValues:
|
|
758
|
+
} = Pe(), { formValues: g } = Te(), { t: V, te: R } = Ce(), U = se(!1), { translateSchema: E, createSchema: B, getSchema: d } = et({
|
|
759
759
|
t: V,
|
|
760
760
|
te: R
|
|
761
761
|
}), u = () => {
|
|
762
762
|
let { x: y, y: F } = ve({ behavior: "smooth" });
|
|
763
763
|
F.value = 0;
|
|
764
|
-
}, c = (y) => (
|
|
765
|
-
t.value && (r.value = "ReviewAndPublish",
|
|
766
|
-
const { organization: re, catalogDataset: O, startFetchPermissions:
|
|
764
|
+
}, c = (y) => (l[y].errorCount > 0 || l[y].blockingCount > 0) && D.value.includes(y), b = ye({ OverviewPage: Xe }), S = se("");
|
|
765
|
+
t.value && (r.value = "ReviewAndPublish", S.value = "reviewAndPublishPage");
|
|
766
|
+
const { organization: re, catalogDataset: O, startFetchPermissions: le, authToken: ne } = we({
|
|
767
767
|
keycloak: ((H = (j = o.authentication) == null ? void 0 : j.keycloak) == null ? void 0 : H.url) || "https://keycloak.twin.bydata.de",
|
|
768
768
|
realm: ((G = (W = o.authentication) == null ? void 0 : W.keycloak) == null ? void 0 : G.realm) || "piveau",
|
|
769
769
|
audience: "piveau-hub-repo"
|
|
770
770
|
});
|
|
771
|
-
|
|
771
|
+
le();
|
|
772
772
|
const de = Ve();
|
|
773
773
|
async function ce(y, F, z, q) {
|
|
774
|
-
var K, Z, X,
|
|
774
|
+
var K, Z, N, X, J, Y;
|
|
775
775
|
console.log("body:", y, F, "params:", z, q);
|
|
776
776
|
try {
|
|
777
777
|
await ge({
|
|
@@ -779,35 +779,35 @@ const tt = be({
|
|
|
779
779
|
id: z.id,
|
|
780
780
|
catalogId: O.value || z.catalog || "",
|
|
781
781
|
data: y,
|
|
782
|
-
authToken:
|
|
782
|
+
authToken: ne.value,
|
|
783
783
|
publicationStatus: q === "publish" ? "published" : "draft",
|
|
784
|
-
accessLevel: ((
|
|
784
|
+
accessLevel: ((X = (N = (Z = (K = g.value) == null ? void 0 : K.Discoverability) == null ? void 0 : Z.visibilityPage) == null ? void 0 : N[0]) == null ? void 0 : X.visibility) || de.query.visibility || "public",
|
|
785
785
|
type: "dataset"
|
|
786
|
-
}), (
|
|
786
|
+
}), (J = this.$Progress) == null || J.finish(), this.clearAll();
|
|
787
787
|
} catch (Q) {
|
|
788
|
-
console.error(Q), (
|
|
788
|
+
console.error(Q), (Y = this.$Progress) == null || Y.fail();
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
791
|
return {
|
|
792
|
-
steps:
|
|
792
|
+
steps: l,
|
|
793
793
|
visitedSteps: D,
|
|
794
794
|
activeStep: r,
|
|
795
|
-
activeSubStep:
|
|
796
|
-
subSteps:
|
|
797
|
-
previousStep:
|
|
798
|
-
nextStep:
|
|
799
|
-
stepPlugin:
|
|
795
|
+
activeSubStep: S,
|
|
796
|
+
subSteps: f,
|
|
797
|
+
previousStep: T,
|
|
798
|
+
nextStep: L,
|
|
799
|
+
stepPlugin: P,
|
|
800
800
|
checkStepValidity: c,
|
|
801
|
-
goToNextStep:
|
|
801
|
+
goToNextStep: $,
|
|
802
802
|
goToPreviousStep: A,
|
|
803
803
|
scrollToTop: u,
|
|
804
|
-
library:
|
|
804
|
+
library: b,
|
|
805
805
|
isEditMode: t,
|
|
806
806
|
translateSchema: E,
|
|
807
807
|
createSchema: B,
|
|
808
|
-
getSchema:
|
|
808
|
+
getSchema: d,
|
|
809
809
|
dpiContext: e,
|
|
810
|
-
formValues:
|
|
810
|
+
formValues: g,
|
|
811
811
|
activeSimpleModal: U,
|
|
812
812
|
organization: re,
|
|
813
813
|
catalogDataset: O,
|
|
@@ -818,123 +818,98 @@ const tt = be({
|
|
|
818
818
|
key: 0,
|
|
819
819
|
ref: "fkInputContainer",
|
|
820
820
|
class: "inputContainer"
|
|
821
|
-
}, at = { class: "formContainer formkit" }, ot = { key: 0 }, rt = { class: "dpiV3_stepper draftStepper" }, nt = {
|
|
822
|
-
key: 0,
|
|
823
|
-
class: "draftCTA"
|
|
824
|
-
}, lt = {
|
|
825
|
-
key: 1,
|
|
826
|
-
class: "draftCTA"
|
|
827
|
-
}, dt = { key: 1 }, ct = {
|
|
821
|
+
}, at = { class: "formContainer formkit" }, ot = { key: 0 }, rt = { class: "dpiV3_stepper draftStepper" }, lt = { key: 1 }, nt = {
|
|
828
822
|
key: 0,
|
|
829
823
|
class: "dpiV3_stepper"
|
|
830
|
-
},
|
|
824
|
+
}, dt = { class: "dpiV3_steps" }, ct = ["data-step-active", "data-step-valid"], pt = { class: "dpiV3_stepBubbleWrap" }, ut = ["src"], ht = ["src"], mt = ["textContent"], gt = { style: { "vertical-align": "middle" } }, vt = { class: "dpiV3_subStepWrapper" }, ft = {
|
|
831
825
|
key: 0,
|
|
832
826
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
833
|
-
},
|
|
827
|
+
}, bt = {
|
|
834
828
|
key: 1,
|
|
835
829
|
class: "dpiV3_seperatorHorizontalStepperFat"
|
|
836
|
-
},
|
|
830
|
+
}, St = {
|
|
837
831
|
key: 2,
|
|
838
832
|
class: "dpiV3_subStep"
|
|
839
|
-
},
|
|
833
|
+
}, yt = { class: "dpiV3_subStepInner" }, _t = { class: "dpiV3_subStepCircleWrap" }, Ct = ["src"], Vt = { style: { height: "20px", display: "flex", "align-items": "center" } }, kt = {
|
|
840
834
|
key: 0,
|
|
841
835
|
class: "dpiV3_step dpiV3_inactiveStep"
|
|
842
|
-
},
|
|
836
|
+
}, It = {
|
|
843
837
|
key: 1,
|
|
844
838
|
class: "dpiV3_stepperLanding"
|
|
845
|
-
},
|
|
839
|
+
}, Dt = { class: "dpiV3_bydata_logo_wordmark" }, Tt = { class: "dpiV3_Illustration-Start" }, Pt = {
|
|
846
840
|
key: 2,
|
|
847
841
|
class: "steps"
|
|
848
|
-
},
|
|
842
|
+
}, wt = ["data-step-active", "data-step-valid", "onClick"], Lt = { class: "stepBubbleWrap" }, $t = { class: "circle stepCircle" }, At = ["textContent"], Rt = {
|
|
849
843
|
key: 0,
|
|
850
844
|
class: "seperatorHorizontalStepper"
|
|
851
|
-
},
|
|
845
|
+
}, Ut = {
|
|
852
846
|
key: 0,
|
|
853
847
|
class: "step inactiveStep"
|
|
854
|
-
},
|
|
848
|
+
}, Et = { style: { width: "100%" } }, Bt = {
|
|
855
849
|
key: 0,
|
|
856
850
|
class: "dpiV3_CTALanding"
|
|
857
|
-
},
|
|
851
|
+
}, Ft = {
|
|
858
852
|
key: 1,
|
|
859
853
|
class: "dpiV3_CTA_RaP"
|
|
860
|
-
},
|
|
854
|
+
}, zt = { class: "dpiV3_CTANav" }, Mt = { class: "dpiV3_CTANav" }, Ot = {
|
|
861
855
|
key: 3,
|
|
862
856
|
class: "dpiV3_Content_InputPage"
|
|
863
|
-
},
|
|
857
|
+
}, jt = { class: "dpiV3_Card_Tips" }, Ht = { class: "dpiV3_Icon_Title" }, Wt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Gt = { class: "dpiV3_CT-Content" }, qt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Kt = { class: "dpiV3_hvd_frame3846" }, Zt = { class: "dpiV3_copy_large_semi_bold" }, Nt = { class: "dpiV3_copy_large_regular" }, Xt = { class: "dpiV3_hvd_frame3846" }, Jt = { class: "dpiV3_copy_large_semi_bold" }, Yt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Qt = { class: "dpiV3_hvd_frame3846" }, xt = { class: "dpiV3_copy_large_semi_bold" }, ei = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, ti = { class: "dpiV3_hvd_frame3846" }, ii = { class: "dpiV3_copy_large_semi_bold" }, si = { class: "dpiV3_copy_large_regular" }, ai = {
|
|
864
858
|
key: 4,
|
|
865
859
|
class: "dpiV3_Content_InputPage"
|
|
866
|
-
},
|
|
860
|
+
}, oi = { class: "dpiV3_Card_Tips" }, ri = { class: "dpiV3_Icon_Title" }, li = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, ni = { class: "dpiV3_CT-Content" }, di = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, ci = { class: "dpiV3_Info-Text" }, pi = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, ui = { class: "dpiV3_Info-Text" }, hi = {
|
|
867
861
|
key: 5,
|
|
868
862
|
class: "dpiV3_Content_InputPage"
|
|
869
|
-
},
|
|
863
|
+
}, mi = { class: "dpiV3_Card_Tips" }, gi = { class: "dpiV3_Icon_Title" }, vi = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, fi = {
|
|
870
864
|
key: 7,
|
|
871
865
|
class: "p-1"
|
|
872
866
|
};
|
|
873
|
-
function
|
|
874
|
-
const D =
|
|
867
|
+
function bi(e, t, o, l, r, f) {
|
|
868
|
+
const D = h("TextButtonSmall"), T = h("LogoV3"), L = h("PhNumberCircleFive"), P = h("PhCheckCircle"), $ = h("Illustration"), A = h("FormKitSchema"), g = h("ButtonV3"), V = h("PhLightbulb"), R = h("DistributionInputPage"), U = h("InputPageStep"), E = h("FormKit"), B = h("ModalSimpleV3");
|
|
875
869
|
return s(), a("div", it, [
|
|
876
870
|
e.isInput ? (s(), a("div", st, [
|
|
877
871
|
i("div", at, [
|
|
878
|
-
|
|
872
|
+
i("details", null, [
|
|
873
|
+
i("pre", null, n(JSON.stringify(e.formValues, null, 2)), 1)
|
|
874
|
+
]),
|
|
875
|
+
m(E, {
|
|
879
876
|
id: "dpiForm",
|
|
880
877
|
modelValue: e.formValues,
|
|
881
|
-
"onUpdate:modelValue": t[
|
|
878
|
+
"onUpdate:modelValue": t[7] || (t[7] = (d) => e.formValues = d),
|
|
882
879
|
type: "form",
|
|
883
880
|
actions: !1,
|
|
884
881
|
plugins: [e.stepPlugin],
|
|
885
882
|
class: "d-flex",
|
|
886
|
-
onSubmit: t[
|
|
883
|
+
onSubmit: t[8] || (t[8] = Se(() => {
|
|
887
884
|
}, ["prevent"]))
|
|
888
885
|
}, {
|
|
889
886
|
default: ee(() => [
|
|
890
887
|
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), a("div", ot, [
|
|
891
888
|
i("div", rt, [
|
|
892
|
-
|
|
889
|
+
m(D, {
|
|
893
890
|
"button-text": "Übersicht",
|
|
894
891
|
"icon-start": "CaretLeft",
|
|
895
892
|
"icon-name": "caretLeft",
|
|
896
893
|
onClick: e.gotToHome
|
|
897
|
-
}, null, 8, ["onClick"])
|
|
898
|
-
i("div", null, [
|
|
899
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), a("div", nt, [
|
|
900
|
-
h(m, {
|
|
901
|
-
"button-text": "Veröffentlichung aufheben",
|
|
902
|
-
size: "large",
|
|
903
|
-
onClick: t[0] || (t[0] = (l) => e.navTrigger("depublish"))
|
|
904
|
-
}),
|
|
905
|
-
h(m, {
|
|
906
|
-
"button-text": "Veröffentlicht ansehen",
|
|
907
|
-
variant: "secondary",
|
|
908
|
-
size: "large",
|
|
909
|
-
"icon-end": "Out",
|
|
910
|
-
onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
|
|
911
|
-
})
|
|
912
|
-
])) : (s(), a("div", lt, [
|
|
913
|
-
h(m, {
|
|
914
|
-
"button-text": "Veröffentlichen",
|
|
915
|
-
size: "large",
|
|
916
|
-
onClick: t[2] || (t[2] = (l) => e.navTrigger("publish"))
|
|
917
|
-
})
|
|
918
|
-
]))
|
|
919
|
-
])
|
|
894
|
+
}, null, 8, ["onClick"])
|
|
920
895
|
])
|
|
921
|
-
])) : (s(), a("div",
|
|
922
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), a("div",
|
|
923
|
-
|
|
924
|
-
i("ul",
|
|
925
|
-
(s(!0), a(k, null, I(e.steps, (
|
|
926
|
-
key:
|
|
927
|
-
class:
|
|
896
|
+
])) : (s(), a("div", lt, [
|
|
897
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), a("div", nt, [
|
|
898
|
+
m(T),
|
|
899
|
+
i("ul", dt, [
|
|
900
|
+
(s(!0), a(k, null, I(e.steps, (d, u, c) => te((s(), a("li", {
|
|
901
|
+
key: d,
|
|
902
|
+
class: C(["dpiV3_step", {
|
|
928
903
|
dpiV3_activeItem: e.activeStep === u,
|
|
929
904
|
inactiveStep: u != e.activeStep,
|
|
930
905
|
"has-errors": e.checkStepValidity(u)
|
|
931
906
|
}]),
|
|
932
907
|
"data-step-active": e.activeStep === u,
|
|
933
|
-
"data-step-valid":
|
|
908
|
+
"data-step-valid": d.valid && d.errorCount === 0
|
|
934
909
|
}, [
|
|
935
|
-
i("div",
|
|
910
|
+
i("div", pt, [
|
|
936
911
|
i("div", {
|
|
937
|
-
class:
|
|
912
|
+
class: C(["firstRowWrapper", {
|
|
938
913
|
dpiV3_activeStepName: u === e.activeStep,
|
|
939
914
|
formerlyVisitedStep: e.stepCounter > c,
|
|
940
915
|
"copy-small-regular": e.stepCounter > c
|
|
@@ -945,14 +920,14 @@ function yi(e, t, o, n, r, v) {
|
|
|
945
920
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
946
921
|
src: e.selectedImages[c - 1],
|
|
947
922
|
alt: "Selected Icon"
|
|
948
|
-
}, null, 8,
|
|
949
|
-
e.activeStep === u && c === 5 ? (s(),
|
|
923
|
+
}, null, 8, ut)) : p("", !0),
|
|
924
|
+
e.activeStep === u && c === 5 ? (s(), v(L, {
|
|
950
925
|
key: 1,
|
|
951
926
|
size: 28,
|
|
952
927
|
color: "#009FE3",
|
|
953
928
|
weight: "fill"
|
|
954
929
|
})) : p("", !0),
|
|
955
|
-
c < e.stepCounter ? (s(),
|
|
930
|
+
c < e.stepCounter ? (s(), v(P, {
|
|
956
931
|
key: 2,
|
|
957
932
|
size: 28,
|
|
958
933
|
color: "#70CC44",
|
|
@@ -963,46 +938,46 @@ function yi(e, t, o, n, r, v) {
|
|
|
963
938
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
964
939
|
src: e.images[c - 1],
|
|
965
940
|
alt: "Selected Icon"
|
|
966
|
-
}, null, 8,
|
|
941
|
+
}, null, 8, ht)) : p("", !0),
|
|
967
942
|
e.checkStepValidity(u) ? (s(), a("span", {
|
|
968
943
|
key: 4,
|
|
969
944
|
class: "dpiV3_step--errors",
|
|
970
|
-
textContent: d
|
|
971
|
-
}, null, 8,
|
|
972
|
-
i("span",
|
|
945
|
+
textContent: n(d.errorCount + d.blockingCount)
|
|
946
|
+
}, null, 8, mt)) : p("", !0),
|
|
947
|
+
i("span", gt, n(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
973
948
|
], 2),
|
|
974
|
-
i("div",
|
|
975
|
-
c + 1 != Object.keys(e.steps).length - 1 && c >= e.stepCounter ? (s(), a("div",
|
|
976
|
-
c + 1 != Object.keys(e.steps).length - 1 && c < e.stepCounter ? (s(), a("div",
|
|
977
|
-
e.activeStep === u ? (s(), a("div",
|
|
949
|
+
i("div", vt, [
|
|
950
|
+
c + 1 != Object.keys(e.steps).length - 1 && c >= e.stepCounter ? (s(), a("div", ft)) : p("", !0),
|
|
951
|
+
c + 1 != Object.keys(e.steps).length - 1 && c < e.stepCounter ? (s(), a("div", bt)) : p("", !0),
|
|
952
|
+
e.activeStep === u ? (s(), a("div", St, [
|
|
978
953
|
e.stepCounter < 5 ? (s(!0), a(k, { key: 0 }, I(Object.keys(
|
|
979
954
|
e.subSteps[c]
|
|
980
|
-
), (
|
|
981
|
-
i("div",
|
|
982
|
-
e.substepCounter >
|
|
955
|
+
), (b, S) => (s(), a("div", yt, [
|
|
956
|
+
i("div", _t, [
|
|
957
|
+
e.substepCounter > S ? (s(), v(P, {
|
|
983
958
|
key: 0,
|
|
984
959
|
size: 20,
|
|
985
960
|
color: "#009FE3"
|
|
986
961
|
})) : (s(), a("img", {
|
|
987
962
|
key: 1,
|
|
988
|
-
src: e.getCircles(
|
|
963
|
+
src: e.getCircles(S),
|
|
989
964
|
alt: "circle"
|
|
990
|
-
}, null, 8,
|
|
991
|
-
|
|
965
|
+
}, null, 8, Ct)),
|
|
966
|
+
S != Object.keys(e.subSteps[c]).length - 1 ? (s(), a("div", {
|
|
992
967
|
key: 2,
|
|
993
|
-
class:
|
|
994
|
-
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter >
|
|
968
|
+
class: C(["dpiV3_seperatorHorizontalStepperInner", {
|
|
969
|
+
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > S
|
|
995
970
|
}])
|
|
996
971
|
}, null, 2)) : p("", !0)
|
|
997
972
|
]),
|
|
998
|
-
i("div",
|
|
973
|
+
i("div", Vt, [
|
|
999
974
|
i("span", {
|
|
1000
|
-
class:
|
|
1001
|
-
dpiV3_activeStepDesc:
|
|
1002
|
-
formerlyVisitedStep: e.substepCounter >
|
|
975
|
+
class: C(["large-regular dpiV3_substepText", {
|
|
976
|
+
dpiV3_activeStepDesc: b === e.activeSubStep,
|
|
977
|
+
formerlyVisitedStep: e.substepCounter > S
|
|
1003
978
|
}])
|
|
1004
|
-
},
|
|
1005
|
-
`message.dataupload.steps.${
|
|
979
|
+
}, n(e.$t(
|
|
980
|
+
`message.dataupload.steps.${b.replace(
|
|
1006
981
|
/_\d+$/,
|
|
1007
982
|
""
|
|
1008
983
|
)}`
|
|
@@ -1012,64 +987,64 @@ function yi(e, t, o, n, r, v) {
|
|
|
1012
987
|
])) : p("", !0)
|
|
1013
988
|
])
|
|
1014
989
|
])
|
|
1015
|
-
], 10,
|
|
990
|
+
], 10, ct)), [
|
|
1016
991
|
[ie, u !== "Landing" && u !== "Additionals"]
|
|
1017
992
|
])), 128)),
|
|
1018
|
-
e.activeStep === "Overview" ? (s(), a("li",
|
|
993
|
+
e.activeStep === "Overview" ? (s(), a("li", kt, t[11] || (t[11] = [
|
|
1019
994
|
i("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
1020
995
|
]))) : p("", !0)
|
|
1021
996
|
])
|
|
1022
|
-
])) : (s(), a("div",
|
|
1023
|
-
i("div",
|
|
1024
|
-
|
|
997
|
+
])) : (s(), a("div", It, [
|
|
998
|
+
i("div", Dt, [
|
|
999
|
+
m(T)
|
|
1025
1000
|
]),
|
|
1026
|
-
i("div",
|
|
1027
|
-
|
|
1001
|
+
i("div", Tt, [
|
|
1002
|
+
m($, { "illustration-name": "start" })
|
|
1028
1003
|
])
|
|
1029
1004
|
]))
|
|
1030
1005
|
])),
|
|
1031
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), a("ul",
|
|
1032
|
-
(s(!0), a(k, null, I(e.steps, (
|
|
1033
|
-
key:
|
|
1034
|
-
class:
|
|
1006
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), a("ul", Pt, [
|
|
1007
|
+
(s(!0), a(k, null, I(e.steps, (d, u, c) => (s(), a("li", {
|
|
1008
|
+
key: d,
|
|
1009
|
+
class: C(["step", {
|
|
1035
1010
|
activeItem: e.activeStep === u,
|
|
1036
1011
|
inactiveStep: u != e.activeStep,
|
|
1037
1012
|
"has-errors": e.checkStepValidity(u)
|
|
1038
1013
|
}]),
|
|
1039
1014
|
"data-step-active": e.activeStep === u,
|
|
1040
|
-
"data-step-valid":
|
|
1041
|
-
onClick: (
|
|
1015
|
+
"data-step-valid": d.valid && d.errorCount === 0,
|
|
1016
|
+
onClick: (b) => {
|
|
1042
1017
|
e.activeStep = u, e.update(), e.scrollToTop();
|
|
1043
1018
|
}
|
|
1044
1019
|
}, [
|
|
1045
|
-
i("div",
|
|
1046
|
-
i("div",
|
|
1020
|
+
i("div", Lt, [
|
|
1021
|
+
i("div", $t, n(c + 1), 1),
|
|
1047
1022
|
e.checkStepValidity(u) ? (s(), a("span", {
|
|
1048
1023
|
key: 0,
|
|
1049
1024
|
class: "step--errors",
|
|
1050
|
-
textContent: d
|
|
1051
|
-
}, null, 8,
|
|
1052
|
-
|
|
1025
|
+
textContent: n(d.errorCount + d.blockingCount)
|
|
1026
|
+
}, null, 8, At)) : p("", !0),
|
|
1027
|
+
_(n(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
1053
1028
|
]),
|
|
1054
|
-
c != Object.keys(e.steps).length ? (s(), a("div",
|
|
1055
|
-
], 10,
|
|
1056
|
-
e.activeStep === "Overview" ? (s(), a("li",
|
|
1029
|
+
c != Object.keys(e.steps).length ? (s(), a("div", Rt)) : p("", !0)
|
|
1030
|
+
], 10, wt))), 128)),
|
|
1031
|
+
e.activeStep === "Overview" ? (s(), a("li", Ut, t[12] || (t[12] = [
|
|
1057
1032
|
i("div", { class: "circle stepCircle" }, null, -1)
|
|
1058
1033
|
]))) : p("", !0)
|
|
1059
1034
|
])) : p("", !0),
|
|
1060
1035
|
(s(!0), a(k, null, I(e.getNavSteps(
|
|
1061
1036
|
e.$env.content.dataProviderInterface.specification
|
|
1062
|
-
)[e.property], (
|
|
1037
|
+
)[e.property], (d, u) => (s(), v(U, {
|
|
1063
1038
|
key: u,
|
|
1064
|
-
name:
|
|
1039
|
+
name: d
|
|
1065
1040
|
}, {
|
|
1066
1041
|
default: ee(() => [
|
|
1067
1042
|
(s(!0), a(k, null, I(Object.keys(
|
|
1068
|
-
e.getSchema(e.property).value[
|
|
1069
|
-
).length, (c,
|
|
1070
|
-
|
|
1043
|
+
e.getSchema(e.property).value[d]
|
|
1044
|
+
).length, (c, b) => te((s(), a("div", Et, [
|
|
1045
|
+
d !== "Distributions" && d !== "Additionals" ? (s(), v(A, {
|
|
1071
1046
|
key: 0,
|
|
1072
|
-
schema: e.getSchema(e.property).value[
|
|
1047
|
+
schema: e.getSchema(e.property).value[d][b],
|
|
1073
1048
|
library: e.library,
|
|
1074
1049
|
"final-values": e.formValues,
|
|
1075
1050
|
onHandleNav: () => {
|
|
@@ -1079,180 +1054,181 @@ function yi(e, t, o, n, r, v) {
|
|
|
1079
1054
|
[
|
|
1080
1055
|
ie,
|
|
1081
1056
|
Object.values(
|
|
1082
|
-
e.getSchema(e.property).value[
|
|
1083
|
-
)[0] === e.activeSubStep.replace(/_\d+$/, "") ||
|
|
1057
|
+
e.getSchema(e.property).value[d][b]
|
|
1058
|
+
)[0] === e.activeSubStep.replace(/_\d+$/, "") || d === "Landing"
|
|
1084
1059
|
]
|
|
1085
1060
|
])), 256)),
|
|
1086
|
-
e.activeStep === "Landing" ? (s(), a("div",
|
|
1087
|
-
|
|
1061
|
+
e.activeStep === "Landing" ? (s(), a("div", Bt, [
|
|
1062
|
+
m(g, {
|
|
1088
1063
|
"button-text": "Abbrechen",
|
|
1089
1064
|
size: "large",
|
|
1090
1065
|
variant: "tertiary",
|
|
1091
|
-
onClick: t[
|
|
1066
|
+
onClick: t[0] || (t[0] = (c) => {
|
|
1092
1067
|
e.activeSimpleModal = !0, console.log(e.activeSimpleModal);
|
|
1093
1068
|
})
|
|
1094
1069
|
}),
|
|
1095
|
-
|
|
1070
|
+
m(g, {
|
|
1096
1071
|
"button-text": "Datenbereitstellung starten",
|
|
1097
1072
|
size: "large",
|
|
1098
|
-
onClick: t[
|
|
1073
|
+
onClick: t[1] || (t[1] = (c) => e.navTrigger("next"))
|
|
1099
1074
|
})
|
|
1100
1075
|
])) : p("", !0),
|
|
1101
|
-
e.activeStep === "ReviewAndPublish" ? (s(), a("div",
|
|
1102
|
-
i("div",
|
|
1103
|
-
|
|
1104
|
-
|
|
1076
|
+
e.activeStep === "ReviewAndPublish" ? (s(), a("div", Ft, [
|
|
1077
|
+
i("div", zt, [
|
|
1078
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), v(g, {
|
|
1079
|
+
key: 0,
|
|
1080
|
+
"button-text": "Veröffentlichung aufheben",
|
|
1105
1081
|
size: "large",
|
|
1106
1082
|
variant: "secondary",
|
|
1107
|
-
onClick: t[
|
|
1108
|
-
}),
|
|
1109
|
-
|
|
1110
|
-
"button-text": "
|
|
1083
|
+
onClick: t[2] || (t[2] = (c) => e.navTrigger("depublish"))
|
|
1084
|
+
})) : (s(), v(g, {
|
|
1085
|
+
key: 1,
|
|
1086
|
+
"button-text": "Als Entwurf speichern",
|
|
1111
1087
|
size: "large",
|
|
1112
|
-
onClick: t[
|
|
1113
|
-
})
|
|
1088
|
+
onClick: t[3] || (t[3] = (c) => e.navTrigger("draft"))
|
|
1089
|
+
}))
|
|
1114
1090
|
])
|
|
1115
1091
|
])) : p("", !0),
|
|
1116
1092
|
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), a("div", {
|
|
1117
1093
|
key: 2,
|
|
1118
|
-
class:
|
|
1094
|
+
class: C(["dpiV3_CTA", {
|
|
1119
1095
|
dpiV3_activeInfobox: ["hvdPage", "visibilityPage", "dcatde:politicalGeocodingURI"].includes(e.activeSubStep)
|
|
1120
1096
|
}])
|
|
1121
1097
|
}, [
|
|
1122
|
-
|
|
1098
|
+
m(g, {
|
|
1123
1099
|
"button-text": "Abbrechen",
|
|
1124
1100
|
size: "large",
|
|
1125
1101
|
variant: "tertiary",
|
|
1126
|
-
onClick: t[
|
|
1102
|
+
onClick: t[4] || (t[4] = (c) => e.activeSimpleModal = !0)
|
|
1127
1103
|
}),
|
|
1128
|
-
i("div",
|
|
1129
|
-
e.activeStep !== "Landing" ? (s(),
|
|
1104
|
+
i("div", Mt, [
|
|
1105
|
+
e.activeStep !== "Landing" ? (s(), v(g, {
|
|
1130
1106
|
key: 0,
|
|
1131
1107
|
"icon-start": "CaretLeft",
|
|
1132
1108
|
"button-text": "Zurück",
|
|
1133
1109
|
size: "large",
|
|
1134
1110
|
variant: "secondary",
|
|
1135
|
-
onClick: t[
|
|
1111
|
+
onClick: t[5] || (t[5] = (c) => e.navTrigger("prev"))
|
|
1136
1112
|
})) : p("", !0),
|
|
1137
|
-
|
|
1113
|
+
m(g, {
|
|
1138
1114
|
"icon-end": "CaretRight",
|
|
1139
1115
|
"button-text": "Weiter",
|
|
1140
1116
|
size: "large",
|
|
1141
|
-
onClick: t[
|
|
1117
|
+
onClick: t[6] || (t[6] = (c) => e.validateStep())
|
|
1142
1118
|
})
|
|
1143
1119
|
])
|
|
1144
1120
|
], 2)) : p("", !0),
|
|
1145
|
-
e.activeSubStep.includes("hvdPage") ? (s(), a("div",
|
|
1146
|
-
i("div",
|
|
1147
|
-
i("div",
|
|
1148
|
-
|
|
1121
|
+
e.activeSubStep.includes("hvdPage") ? (s(), a("div", Ot, [
|
|
1122
|
+
i("div", jt, [
|
|
1123
|
+
i("div", Ht, [
|
|
1124
|
+
m(V, {
|
|
1149
1125
|
size: 32,
|
|
1150
1126
|
color: "#009fe3"
|
|
1151
1127
|
}),
|
|
1152
|
-
i("div",
|
|
1128
|
+
i("div", Wt, n(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
1153
1129
|
]),
|
|
1154
|
-
i("div",
|
|
1155
|
-
i("div",
|
|
1156
|
-
i("div",
|
|
1157
|
-
i("div",
|
|
1130
|
+
i("div", Gt, [
|
|
1131
|
+
i("div", qt, n(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
1132
|
+
i("div", Kt, [
|
|
1133
|
+
i("div", Zt, " 1. " + n(e.$t(
|
|
1158
1134
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
1159
1135
|
)), 1),
|
|
1160
|
-
i("ul",
|
|
1161
|
-
i("li", null,
|
|
1136
|
+
i("ul", Nt, [
|
|
1137
|
+
i("li", null, n(e.$t(
|
|
1162
1138
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
1163
1139
|
)), 1),
|
|
1164
|
-
i("li", null,
|
|
1140
|
+
i("li", null, n(e.$t(
|
|
1165
1141
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
1166
1142
|
)), 1),
|
|
1167
|
-
i("li", null,
|
|
1143
|
+
i("li", null, n(e.$t(
|
|
1168
1144
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
1169
1145
|
)), 1),
|
|
1170
|
-
i("li", null,
|
|
1146
|
+
i("li", null, n(e.$t(
|
|
1171
1147
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
1172
1148
|
)), 1),
|
|
1173
|
-
i("li", null,
|
|
1149
|
+
i("li", null, n(e.$t(
|
|
1174
1150
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
1175
1151
|
)), 1),
|
|
1176
|
-
i("li", null,
|
|
1152
|
+
i("li", null, n(e.$t(
|
|
1177
1153
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
1178
1154
|
)), 1)
|
|
1179
1155
|
])
|
|
1180
1156
|
]),
|
|
1181
|
-
i("div",
|
|
1182
|
-
i("div",
|
|
1157
|
+
i("div", Xt, [
|
|
1158
|
+
i("div", Jt, " 2. " + n(e.$t(
|
|
1183
1159
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
1184
1160
|
)), 1),
|
|
1185
|
-
i("p",
|
|
1161
|
+
i("p", Yt, n(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
1186
1162
|
]),
|
|
1187
|
-
i("div",
|
|
1188
|
-
i("div",
|
|
1163
|
+
i("div", Qt, [
|
|
1164
|
+
i("div", xt, " 3. " + n(e.$t(
|
|
1189
1165
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
1190
1166
|
)), 1),
|
|
1191
|
-
i("p",
|
|
1167
|
+
i("p", ei, n(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
1192
1168
|
]),
|
|
1193
|
-
i("div",
|
|
1194
|
-
i("div",
|
|
1169
|
+
i("div", ti, [
|
|
1170
|
+
i("div", ii, " 4. " + n(e.$t(
|
|
1195
1171
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
1196
1172
|
)), 1),
|
|
1197
|
-
i("p",
|
|
1173
|
+
i("p", si, n(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
1198
1174
|
])
|
|
1199
1175
|
])
|
|
1200
1176
|
])
|
|
1201
1177
|
])) : p("", !0),
|
|
1202
|
-
e.activeSubStep.includes("visibilityPage") ? (s(), a("div",
|
|
1203
|
-
i("div",
|
|
1204
|
-
i("div",
|
|
1205
|
-
|
|
1178
|
+
e.activeSubStep.includes("visibilityPage") ? (s(), a("div", ai, [
|
|
1179
|
+
i("div", oi, [
|
|
1180
|
+
i("div", ri, [
|
|
1181
|
+
m(V, {
|
|
1206
1182
|
size: 32,
|
|
1207
1183
|
color: "#009fe3"
|
|
1208
1184
|
}),
|
|
1209
|
-
i("div",
|
|
1185
|
+
i("div", li, n(e.$t("message.dataupload.datasets.visibilityPage.info-title")), 1)
|
|
1210
1186
|
]),
|
|
1211
|
-
i("div",
|
|
1212
|
-
i("p",
|
|
1213
|
-
i("span",
|
|
1214
|
-
|
|
1187
|
+
i("div", ni, [
|
|
1188
|
+
i("p", di, [
|
|
1189
|
+
i("span", ci, n(e.$t("message.dataupload.datasets.visibilityPage.metadata-label")), 1),
|
|
1190
|
+
_(" " + n(e.$t("message.dataupload.datasets.visibilityPage.metadata-explanation")), 1)
|
|
1215
1191
|
]),
|
|
1216
|
-
i("p",
|
|
1217
|
-
|
|
1218
|
-
i("span",
|
|
1219
|
-
|
|
1192
|
+
i("p", pi, [
|
|
1193
|
+
_(n(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-prefix")) + " ", 1),
|
|
1194
|
+
i("span", ui, n(e.$t("message.dataupload.datasets.visibilityPage.distribution-label")), 1),
|
|
1195
|
+
_(" " + n(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-suffix")), 1)
|
|
1220
1196
|
])
|
|
1221
1197
|
])
|
|
1222
1198
|
])
|
|
1223
1199
|
])) : p("", !0),
|
|
1224
|
-
e.activeSubStep.includes("dcatde:politicalGeocodingURI") ? (s(), a("div",
|
|
1225
|
-
i("div",
|
|
1226
|
-
i("div",
|
|
1227
|
-
|
|
1200
|
+
e.activeSubStep.includes("dcatde:politicalGeocodingURI") ? (s(), a("div", hi, [
|
|
1201
|
+
i("div", mi, [
|
|
1202
|
+
i("div", gi, [
|
|
1203
|
+
m(V, {
|
|
1228
1204
|
size: 32,
|
|
1229
1205
|
color: "#009fe3"
|
|
1230
1206
|
}),
|
|
1231
|
-
i("div",
|
|
1207
|
+
i("div", vi, n(e.$t("message.dataupload.datasets.visibilityPage.info-title")), 1)
|
|
1232
1208
|
]),
|
|
1233
|
-
t[
|
|
1209
|
+
t[13] || (t[13] = i("div", { class: "dpiV3_CT-Content" }, [
|
|
1234
1210
|
i("p", { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, " Je nachdem, wie sich der räumliche Bezug Ihres Datensatzes gestaltet, stehen Ihnen zwei Möglichkeiten zur Auswahl: "),
|
|
1235
1211
|
i("ul", { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, [
|
|
1236
1212
|
i("li", null, [
|
|
1237
1213
|
i("strong", null, "Administrativer Bezug:"),
|
|
1238
|
-
|
|
1214
|
+
_(" Wenn sich Ihr Datensatz auf eine bestimmte administrative bzw. politische Einheit bezieht, wählen Sie die entsprechende Gebietseinheit aus den angebotenen Vokabularlisten aus. ")
|
|
1239
1215
|
]),
|
|
1240
1216
|
i("li", null, [
|
|
1241
1217
|
i("strong", null, "Geodatensatz:"),
|
|
1242
|
-
|
|
1218
|
+
_(" Falls Ihr Datensatz auf einem konkreten geografischen Gebiet basiert, tragen Sie bitte die entsprechende URI ein, die Sie über den Dienst https://sws.geonames.org/ generieren können. ")
|
|
1243
1219
|
])
|
|
1244
1220
|
])
|
|
1245
1221
|
], -1))
|
|
1246
1222
|
])
|
|
1247
1223
|
])) : p("", !0),
|
|
1248
|
-
|
|
1224
|
+
d === "Distributions" ? (s(), v(R, {
|
|
1249
1225
|
key: 6,
|
|
1250
1226
|
schema: e.getSchema("distributions"),
|
|
1251
1227
|
values: e.formValues
|
|
1252
1228
|
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
1253
|
-
|
|
1254
|
-
t[
|
|
1255
|
-
|
|
1229
|
+
d === "Mandatory" ? (s(), a("p", fi, [
|
|
1230
|
+
t[14] || (t[14] = i("b", null, "*", -1)),
|
|
1231
|
+
_(" " + n(e.$t("message.dataupload.info.mandatory")), 1)
|
|
1256
1232
|
])) : p("", !0)
|
|
1257
1233
|
]),
|
|
1258
1234
|
_: 2
|
|
@@ -1260,20 +1236,20 @@ function yi(e, t, o, n, r, v) {
|
|
|
1260
1236
|
]),
|
|
1261
1237
|
_: 1
|
|
1262
1238
|
}, 8, ["modelValue", "plugins"]),
|
|
1263
|
-
e.activeSimpleModal ? (s(),
|
|
1239
|
+
e.activeSimpleModal ? (s(), v(B, {
|
|
1264
1240
|
key: 0,
|
|
1265
1241
|
buttons: e.modalSimpleConf.button,
|
|
1266
1242
|
"header-text": e.modalSimpleConf.header,
|
|
1267
1243
|
text: e.modalSimpleConf.text,
|
|
1268
1244
|
action: e.modalSimpleConf.action,
|
|
1269
|
-
onClose: t[
|
|
1270
|
-
onActionHandling: t[
|
|
1245
|
+
onClose: t[9] || (t[9] = (d) => e.activeSimpleModal = !1),
|
|
1246
|
+
onActionHandling: t[10] || (t[10] = (d) => e.gotToHome())
|
|
1271
1247
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
1272
1248
|
])
|
|
1273
1249
|
], 512)) : p("", !0)
|
|
1274
1250
|
]);
|
|
1275
1251
|
}
|
|
1276
|
-
const
|
|
1252
|
+
const ps = /* @__PURE__ */ Ye(tt, [["render", bi]]);
|
|
1277
1253
|
export {
|
|
1278
|
-
|
|
1254
|
+
ps as default
|
|
1279
1255
|
};
|