@piveau/dpi 0.2.0-alpha.26 → 0.2.0-alpha.28
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/AboutProject.vue.js +4 -97
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue2.js +107 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +46 -41
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue2.js +67 -74
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +18 -21
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +465 -452
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +33 -33
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +37 -21
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +197 -170
- package/package.json +1 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { getNode as pe } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
3
|
import { PhNumberCircleFive as ue, PhCheckCircle as he, PhLightbulb as me } from "@phosphor-icons/vue";
|
|
4
|
-
import { putDataset as
|
|
5
|
-
import { useWindowScroll as
|
|
4
|
+
import { putDataset as ge } from "@piveau/sdk-core/hubRepo";
|
|
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
|
|
10
|
-
import { useRoute as
|
|
7
|
+
import { has as L, isNil as x } from "lodash-es";
|
|
8
|
+
import { defineComponent as be, resolveComponent as g, createElementBlock as a, openBlock as s, createCommentVNode as p, createElementVNode as i, createVNode as h, createBlock as S, withModifiers as Se, withCtx as ee, Fragment as k, renderList as I, withDirectives as te, normalizeClass as _, toDisplayString as d, vShow as ie, createTextVNode as C, ref as se, markRaw as ye, getCurrentInstance as Ce } from "vue";
|
|
9
|
+
import { useI18n as _e } from "vue-i18n";
|
|
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";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import Ie from "../components/InputPageStep.vue.js";
|
|
14
|
+
import De from "../components/Navigation.vue.js";
|
|
15
15
|
import { useFormValues as Te } from "../composables/useDpiFormValues.js";
|
|
16
16
|
import { useDpiStepper as Pe } from "../composables/useDpiStepper.js";
|
|
17
|
-
import { useTwinbyUser as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
17
|
+
import { useTwinbyUser as we } from "../composables/useTwinbyUser.js";
|
|
18
|
+
import M from "../config/dcatapdeHappyFlow/converter.js";
|
|
19
|
+
import Le from "../HappyFlowComponents/img/Circle.svg.js";
|
|
20
20
|
import $e from "../HappyFlowComponents/img/CircleFill.svg.js";
|
|
21
21
|
import Ae from "../HappyFlowComponents/img/Selected1.svg.js";
|
|
22
22
|
import Re from "../HappyFlowComponents/img/Selected1_2.svg.js";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
23
|
+
import Ue from "../HappyFlowComponents/img/Selected2.svg.js";
|
|
24
|
+
import Ee from "../HappyFlowComponents/img/Selected2_2.svg.js";
|
|
25
25
|
import Be from "../HappyFlowComponents/img/Selected3.svg.js";
|
|
26
26
|
import Fe from "../HappyFlowComponents/img/Selected3_2.svg.js";
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
27
|
+
import ze from "../HappyFlowComponents/img/Selected4.svg.js";
|
|
28
|
+
import Me from "../HappyFlowComponents/img/Selected4_2.svg.js";
|
|
29
|
+
import Oe from "../HappyFlowComponents/img/Selected5.svg.js";
|
|
30
30
|
import je from "../HappyFlowComponents/img/Selected5_2.svg.js";
|
|
31
31
|
import { eventBus as He } from "../HappyFlowComponents/services/eventBus.js";
|
|
32
32
|
import We from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
33
|
+
import Ge from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
34
|
+
import qe from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
35
|
+
import Ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
36
|
+
import Ze from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
37
37
|
import Xe from "./DistributionInputPage.vue.js";
|
|
38
38
|
import Ne from "./OverviewPage.vue.js";
|
|
39
39
|
import Ye from "./PropertyChooser.vue.js";
|
|
@@ -57,13 +57,13 @@ const tt = be({
|
|
|
57
57
|
},
|
|
58
58
|
data() {
|
|
59
59
|
return {
|
|
60
|
-
circles: [
|
|
61
|
-
images: [Ae,
|
|
60
|
+
circles: [Le, $e],
|
|
61
|
+
images: [Ae, Ue, Be, ze, Oe],
|
|
62
62
|
selectedImages: [
|
|
63
63
|
Re,
|
|
64
|
-
|
|
64
|
+
Ee,
|
|
65
65
|
Fe,
|
|
66
|
-
|
|
66
|
+
Me,
|
|
67
67
|
je
|
|
68
68
|
],
|
|
69
69
|
heightActiveSec: "10vh",
|
|
@@ -87,18 +87,18 @@ const tt = be({
|
|
|
87
87
|
};
|
|
88
88
|
},
|
|
89
89
|
components: {
|
|
90
|
-
InputPageStep:
|
|
90
|
+
InputPageStep: Ie,
|
|
91
91
|
DistributionInputPage: Xe,
|
|
92
92
|
PropertyChooser: Ye,
|
|
93
|
-
Navigation:
|
|
94
|
-
LogoV3:
|
|
93
|
+
Navigation: De,
|
|
94
|
+
LogoV3: qe,
|
|
95
95
|
ButtonV3: We,
|
|
96
|
-
TextButtonSmall:
|
|
97
|
-
Illustration:
|
|
96
|
+
TextButtonSmall: Ze,
|
|
97
|
+
Illustration: Ge,
|
|
98
98
|
PhLightbulb: me,
|
|
99
99
|
PhCheckCircle: he,
|
|
100
100
|
PhNumberCircleFive: ue,
|
|
101
|
-
ModalSimpleV3:
|
|
101
|
+
ModalSimpleV3: Ke
|
|
102
102
|
},
|
|
103
103
|
computed: {
|
|
104
104
|
...oe("auth", [
|
|
@@ -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) => L(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 L(e, "dct:title") && e["dct:title"].length > 0 && L(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, n, 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 || ((n = this.formValues[this.activeStep][this.activeSubStep]) == null ? void 0 : n.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((n, r) => {
|
|
570
|
+
let v = {
|
|
571
|
+
step: n,
|
|
572
572
|
substeps: this.subSteps[r],
|
|
573
573
|
substepCount: Object.keys(this.subSteps[r]).length
|
|
574
574
|
};
|
|
575
|
-
o.push(
|
|
575
|
+
o.push(v);
|
|
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,8 +586,8 @@ 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
|
|
590
|
-
|
|
589
|
+
let n = "auth/createDataset";
|
|
590
|
+
M(
|
|
591
591
|
this.formValues,
|
|
592
592
|
this.dpiContext,
|
|
593
593
|
this.getUserData,
|
|
@@ -595,7 +595,7 @@ const tt = be({
|
|
|
595
595
|
).then((r) => {
|
|
596
596
|
this.dispatchDataToDPI(
|
|
597
597
|
r.body,
|
|
598
|
-
|
|
598
|
+
n,
|
|
599
599
|
r.actionParams,
|
|
600
600
|
"publish"
|
|
601
601
|
);
|
|
@@ -608,8 +608,8 @@ const tt = be({
|
|
|
608
608
|
}, 1e3);
|
|
609
609
|
}
|
|
610
610
|
if (e === "depublish") {
|
|
611
|
-
let
|
|
612
|
-
|
|
611
|
+
let n = "auth/depublishById";
|
|
612
|
+
M(
|
|
613
613
|
this.formValues,
|
|
614
614
|
this.dpiContext,
|
|
615
615
|
this.getUserData,
|
|
@@ -617,7 +617,7 @@ const tt = be({
|
|
|
617
617
|
).then((r) => {
|
|
618
618
|
this.dispatchDataToDPI(
|
|
619
619
|
r.body,
|
|
620
|
-
|
|
620
|
+
n,
|
|
621
621
|
r.actionParams,
|
|
622
622
|
"depublish"
|
|
623
623
|
);
|
|
@@ -630,8 +630,8 @@ const tt = be({
|
|
|
630
630
|
}, 1e3);
|
|
631
631
|
}
|
|
632
632
|
if (e === "draft") {
|
|
633
|
-
let
|
|
634
|
-
|
|
633
|
+
let n = "auth/createUserDraft";
|
|
634
|
+
M(
|
|
635
635
|
this.formValues,
|
|
636
636
|
this.dpiContext,
|
|
637
637
|
this.getUserData,
|
|
@@ -639,7 +639,7 @@ const tt = be({
|
|
|
639
639
|
).then((r) => {
|
|
640
640
|
this.dispatchDataToDPI(
|
|
641
641
|
r.body,
|
|
642
|
-
|
|
642
|
+
n,
|
|
643
643
|
r.actionParams,
|
|
644
644
|
"draft"
|
|
645
645
|
);
|
|
@@ -672,18 +672,18 @@ const tt = be({
|
|
|
672
672
|
initInputPage() {
|
|
673
673
|
this.activeSubStep = this.activeSubStep || "Landing", Ce().appContext.app.config.globalProperties.$env;
|
|
674
674
|
const t = this.getSchema(this.property).value, o = Object.keys(t).find(
|
|
675
|
-
(
|
|
675
|
+
(n) => t[n].map((r) => r.name).includes("dct:issued") || t[n].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((n) => {
|
|
678
|
+
(n.identifier === "issued" || n.identifier === "modified") && (n.children[1].props.else.validation = "", n.children[1].props.else["validation-visibility"] = "", n.children[1].props.then.validation = "", n.children[1].props.then["validation-visibility"] = "", n.children[1].props.then.validation = "", n.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, v) => {
|
|
684
684
|
r.parentElement.parentElement.classList.contains(
|
|
685
685
|
"formkitWrapRepeatable"
|
|
686
|
-
) || (
|
|
686
|
+
) || (v != 0 && v != 1 && v != 2 && v != 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
|
+
!L(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,49 +739,49 @@ const tt = be({
|
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
beforeRouteEnter(e, t, o) {
|
|
742
|
-
o((
|
|
743
|
-
t.name && !t.name.startsWith("DataProviderInterface") &&
|
|
742
|
+
o((n) => {
|
|
743
|
+
t.name && !t.name.startsWith("DataProviderInterface") && n.clearAll();
|
|
744
744
|
});
|
|
745
745
|
},
|
|
746
746
|
setup() {
|
|
747
|
-
var j, H, W,
|
|
747
|
+
var j, H, W, G;
|
|
748
748
|
const e = Qe(), { isEditMode: t } = xe(), o = ke(), {
|
|
749
|
-
steps:
|
|
749
|
+
steps: n,
|
|
750
750
|
activeStep: r,
|
|
751
|
-
subSteps:
|
|
751
|
+
subSteps: v,
|
|
752
752
|
visitedSteps: D,
|
|
753
753
|
previousStep: m,
|
|
754
|
-
nextStep:
|
|
754
|
+
nextStep: T,
|
|
755
755
|
stepPlugin: $,
|
|
756
|
-
goToNextStep:
|
|
756
|
+
goToNextStep: P,
|
|
757
757
|
goToPreviousStep: A
|
|
758
|
-
} = Pe(), { formValues:
|
|
759
|
-
t:
|
|
758
|
+
} = Pe(), { formValues: w } = Te(), { t: V, te: R } = _e(), U = se(!1), { translateSchema: E, createSchema: B, getSchema: l } = et({
|
|
759
|
+
t: V,
|
|
760
760
|
te: R
|
|
761
761
|
}), u = () => {
|
|
762
|
-
let { x: y, y: F } =
|
|
762
|
+
let { x: y, y: F } = ve({ behavior: "smooth" });
|
|
763
763
|
F.value = 0;
|
|
764
|
-
}, c = (y) => (
|
|
764
|
+
}, c = (y) => (n[y].errorCount > 0 || n[y].blockingCount > 0) && D.value.includes(y), f = ye({ OverviewPage: Ne }), b = se("");
|
|
765
765
|
t.value && (r.value = "ReviewAndPublish", b.value = "reviewAndPublishPage");
|
|
766
|
-
const { organization: re, catalogDataset:
|
|
766
|
+
const { organization: re, catalogDataset: O, startFetchPermissions: ne, authToken: le } = we({
|
|
767
767
|
keycloak: ((H = (j = o.authentication) == null ? void 0 : j.keycloak) == null ? void 0 : H.url) || "https://keycloak.twin.bydata.de",
|
|
768
|
-
realm: ((
|
|
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
|
-
|
|
772
|
-
const de =
|
|
773
|
-
async function ce(y, F,
|
|
774
|
-
var
|
|
775
|
-
console.log("body:", y, F, "params:",
|
|
771
|
+
ne();
|
|
772
|
+
const de = Ve();
|
|
773
|
+
async function ce(y, F, z, q) {
|
|
774
|
+
var K, Z, X, N, Y, J;
|
|
775
|
+
console.log("body:", y, F, "params:", z, q);
|
|
776
776
|
try {
|
|
777
|
-
await
|
|
777
|
+
await ge({
|
|
778
778
|
baseUrl: o.api.hubUrl,
|
|
779
|
-
id:
|
|
780
|
-
catalogId:
|
|
779
|
+
id: z.id,
|
|
780
|
+
catalogId: O.value || z.catalog || "",
|
|
781
781
|
data: y,
|
|
782
|
-
authToken:
|
|
783
|
-
publicationStatus:
|
|
784
|
-
accessLevel: ((N = (X = (
|
|
782
|
+
authToken: le.value,
|
|
783
|
+
publicationStatus: q === "publish" ? "published" : "draft",
|
|
784
|
+
accessLevel: ((N = (X = (Z = (K = w.value) == null ? void 0 : K.Discoverability) == null ? void 0 : Z.visibilityPage) == null ? void 0 : X[0]) == null ? void 0 : N.visibility) || de.query.visibility || "public",
|
|
785
785
|
type: "dataset"
|
|
786
786
|
}), (Y = this.$Progress) == null || Y.finish(), this.clearAll();
|
|
787
787
|
} catch (Q) {
|
|
@@ -789,28 +789,28 @@ const tt = be({
|
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
791
|
return {
|
|
792
|
-
steps:
|
|
792
|
+
steps: n,
|
|
793
793
|
visitedSteps: D,
|
|
794
794
|
activeStep: r,
|
|
795
795
|
activeSubStep: b,
|
|
796
|
-
subSteps:
|
|
796
|
+
subSteps: v,
|
|
797
797
|
previousStep: m,
|
|
798
|
-
nextStep:
|
|
798
|
+
nextStep: T,
|
|
799
799
|
stepPlugin: $,
|
|
800
800
|
checkStepValidity: c,
|
|
801
|
-
goToNextStep:
|
|
801
|
+
goToNextStep: P,
|
|
802
802
|
goToPreviousStep: A,
|
|
803
803
|
scrollToTop: u,
|
|
804
804
|
library: f,
|
|
805
805
|
isEditMode: t,
|
|
806
|
-
translateSchema:
|
|
806
|
+
translateSchema: E,
|
|
807
807
|
createSchema: B,
|
|
808
|
-
getSchema:
|
|
808
|
+
getSchema: l,
|
|
809
809
|
dpiContext: e,
|
|
810
|
-
formValues:
|
|
811
|
-
activeSimpleModal:
|
|
810
|
+
formValues: w,
|
|
811
|
+
activeSimpleModal: U,
|
|
812
812
|
organization: re,
|
|
813
|
-
catalogDataset:
|
|
813
|
+
catalogDataset: O,
|
|
814
814
|
dispatchDataToDPI: ce
|
|
815
815
|
};
|
|
816
816
|
}
|
|
@@ -818,16 +818,16 @@ 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" },
|
|
821
|
+
}, at = { class: "formContainer formkit" }, ot = { key: 0 }, rt = { class: "dpiV3_stepper draftStepper" }, nt = {
|
|
822
822
|
key: 0,
|
|
823
823
|
class: "draftCTA"
|
|
824
|
-
},
|
|
824
|
+
}, lt = {
|
|
825
825
|
key: 1,
|
|
826
826
|
class: "draftCTA"
|
|
827
827
|
}, dt = { key: 1 }, ct = {
|
|
828
828
|
key: 0,
|
|
829
829
|
class: "dpiV3_stepper"
|
|
830
|
-
}, pt = { class: "dpiV3_steps" }, ut = ["data-step-active", "data-step-valid"], ht = { class: "dpiV3_stepBubbleWrap" }, mt = ["src"],
|
|
830
|
+
}, pt = { class: "dpiV3_steps" }, ut = ["data-step-active", "data-step-valid"], ht = { class: "dpiV3_stepBubbleWrap" }, mt = ["src"], gt = ["src"], vt = ["textContent"], ft = { style: { "vertical-align": "middle" } }, bt = { class: "dpiV3_subStepWrapper" }, St = {
|
|
831
831
|
key: 0,
|
|
832
832
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
833
833
|
}, yt = {
|
|
@@ -836,46 +836,49 @@ const tt = be({
|
|
|
836
836
|
}, Ct = {
|
|
837
837
|
key: 2,
|
|
838
838
|
class: "dpiV3_subStep"
|
|
839
|
-
},
|
|
839
|
+
}, _t = { class: "dpiV3_subStepInner" }, Vt = { class: "dpiV3_subStepCircleWrap" }, kt = ["src"], It = { style: { height: "20px", display: "flex", "align-items": "center" } }, Dt = {
|
|
840
840
|
key: 0,
|
|
841
841
|
class: "dpiV3_step dpiV3_inactiveStep"
|
|
842
842
|
}, Tt = {
|
|
843
843
|
key: 1,
|
|
844
844
|
class: "dpiV3_stepperLanding"
|
|
845
|
-
}, Pt = { class: "dpiV3_bydata_logo_wordmark" },
|
|
845
|
+
}, Pt = { class: "dpiV3_bydata_logo_wordmark" }, wt = { class: "dpiV3_Illustration-Start" }, Lt = {
|
|
846
846
|
key: 2,
|
|
847
847
|
class: "steps"
|
|
848
|
-
}, $t = ["data-step-active", "data-step-valid", "onClick"], At = { class: "stepBubbleWrap" }, Rt = { class: "circle stepCircle" },
|
|
848
|
+
}, $t = ["data-step-active", "data-step-valid", "onClick"], At = { class: "stepBubbleWrap" }, Rt = { class: "circle stepCircle" }, Ut = ["textContent"], Et = {
|
|
849
849
|
key: 0,
|
|
850
850
|
class: "seperatorHorizontalStepper"
|
|
851
851
|
}, Bt = {
|
|
852
852
|
key: 0,
|
|
853
853
|
class: "step inactiveStep"
|
|
854
|
-
}, Ft = { style: { width: "100%" } },
|
|
854
|
+
}, Ft = { style: { width: "100%" } }, zt = {
|
|
855
855
|
key: 0,
|
|
856
856
|
class: "dpiV3_CTALanding"
|
|
857
|
-
},
|
|
857
|
+
}, Mt = {
|
|
858
858
|
key: 1,
|
|
859
859
|
class: "dpiV3_CTA_RaP"
|
|
860
|
-
},
|
|
860
|
+
}, Ot = { class: "dpiV3_CTANav" }, jt = { class: "dpiV3_CTANav" }, Ht = {
|
|
861
861
|
key: 3,
|
|
862
862
|
class: "dpiV3_Content_InputPage"
|
|
863
|
-
}, Wt = { class: "dpiV3_Card_Tips" },
|
|
863
|
+
}, Wt = { class: "dpiV3_Card_Tips" }, Gt = { class: "dpiV3_Icon_Title" }, qt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Kt = { class: "dpiV3_CT-Content" }, Zt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Xt = { class: "dpiV3_hvd_frame3846" }, Nt = { class: "dpiV3_copy_large_semi_bold" }, Yt = { class: "dpiV3_copy_large_regular" }, Jt = { class: "dpiV3_hvd_frame3846" }, Qt = { class: "dpiV3_copy_large_semi_bold" }, xt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, ei = { class: "dpiV3_hvd_frame3846" }, ti = { class: "dpiV3_copy_large_semi_bold" }, ii = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, si = { class: "dpiV3_hvd_frame3846" }, ai = { class: "dpiV3_copy_large_semi_bold" }, oi = { class: "dpiV3_copy_large_regular" }, ri = {
|
|
864
864
|
key: 4,
|
|
865
865
|
class: "dpiV3_Content_InputPage"
|
|
866
|
-
},
|
|
867
|
-
key:
|
|
866
|
+
}, ni = { class: "dpiV3_Card_Tips" }, li = { class: "dpiV3_Icon_Title" }, di = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, ci = { class: "dpiV3_CT-Content" }, pi = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, ui = { class: "dpiV3_Info-Text" }, hi = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, mi = { class: "dpiV3_Info-Text" }, gi = {
|
|
867
|
+
key: 5,
|
|
868
|
+
class: "dpiV3_Content_InputPage"
|
|
869
|
+
}, vi = { class: "dpiV3_Card_Tips" }, fi = { class: "dpiV3_Icon_Title" }, bi = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Si = {
|
|
870
|
+
key: 7,
|
|
868
871
|
class: "p-1"
|
|
869
872
|
};
|
|
870
|
-
function
|
|
871
|
-
const D =
|
|
873
|
+
function yi(e, t, o, n, r, v) {
|
|
874
|
+
const D = g("TextButtonSmall"), m = g("ButtonV3"), T = g("LogoV3"), $ = g("PhNumberCircleFive"), P = g("PhCheckCircle"), A = g("Illustration"), w = g("FormKitSchema"), V = g("PhLightbulb"), R = g("DistributionInputPage"), U = g("InputPageStep"), E = g("FormKit"), B = g("ModalSimpleV3");
|
|
872
875
|
return s(), a("div", it, [
|
|
873
876
|
e.isInput ? (s(), a("div", st, [
|
|
874
877
|
i("div", at, [
|
|
875
|
-
h(
|
|
878
|
+
h(E, {
|
|
876
879
|
id: "dpiForm",
|
|
877
880
|
modelValue: e.formValues,
|
|
878
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
881
|
+
"onUpdate:modelValue": t[10] || (t[10] = (l) => e.formValues = l),
|
|
879
882
|
type: "form",
|
|
880
883
|
actions: !1,
|
|
881
884
|
plugins: [e.stepPlugin],
|
|
@@ -893,45 +896,45 @@ function gi(e, t, o, l, r, g) {
|
|
|
893
896
|
onClick: e.gotToHome
|
|
894
897
|
}, null, 8, ["onClick"]),
|
|
895
898
|
i("div", null, [
|
|
896
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), a("div",
|
|
899
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), a("div", nt, [
|
|
897
900
|
h(m, {
|
|
898
901
|
"button-text": "Veröffentlichung aufheben",
|
|
899
902
|
size: "large",
|
|
900
|
-
onClick: t[0] || (t[0] = (
|
|
903
|
+
onClick: t[0] || (t[0] = (l) => e.navTrigger("depublish"))
|
|
901
904
|
}),
|
|
902
905
|
h(m, {
|
|
903
906
|
"button-text": "Veröffentlicht ansehen",
|
|
904
907
|
variant: "secondary",
|
|
905
908
|
size: "large",
|
|
906
909
|
"icon-end": "Out",
|
|
907
|
-
onClick: t[1] || (t[1] = (
|
|
910
|
+
onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
|
|
908
911
|
})
|
|
909
|
-
])) : (s(), a("div",
|
|
912
|
+
])) : (s(), a("div", lt, [
|
|
910
913
|
h(m, {
|
|
911
914
|
"button-text": "Veröffentlichen",
|
|
912
915
|
size: "large",
|
|
913
|
-
onClick: t[2] || (t[2] = (
|
|
916
|
+
onClick: t[2] || (t[2] = (l) => e.navTrigger("publish"))
|
|
914
917
|
})
|
|
915
918
|
]))
|
|
916
919
|
])
|
|
917
920
|
])
|
|
918
921
|
])) : (s(), a("div", dt, [
|
|
919
922
|
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), a("div", ct, [
|
|
920
|
-
h(
|
|
923
|
+
h(T),
|
|
921
924
|
i("ul", pt, [
|
|
922
|
-
(s(!0), a(
|
|
923
|
-
key:
|
|
924
|
-
class:
|
|
925
|
+
(s(!0), a(k, null, I(e.steps, (l, u, c) => te((s(), a("li", {
|
|
926
|
+
key: l,
|
|
927
|
+
class: _(["dpiV3_step", {
|
|
925
928
|
dpiV3_activeItem: e.activeStep === u,
|
|
926
929
|
inactiveStep: u != e.activeStep,
|
|
927
930
|
"has-errors": e.checkStepValidity(u)
|
|
928
931
|
}]),
|
|
929
932
|
"data-step-active": e.activeStep === u,
|
|
930
|
-
"data-step-valid":
|
|
933
|
+
"data-step-valid": l.valid && l.errorCount === 0
|
|
931
934
|
}, [
|
|
932
935
|
i("div", ht, [
|
|
933
936
|
i("div", {
|
|
934
|
-
class:
|
|
937
|
+
class: _(["firstRowWrapper", {
|
|
935
938
|
dpiV3_activeStepName: u === e.activeStep,
|
|
936
939
|
formerlyVisitedStep: e.stepCounter > c,
|
|
937
940
|
"copy-small-regular": e.stepCounter > c
|
|
@@ -949,7 +952,7 @@ function gi(e, t, o, l, r, g) {
|
|
|
949
952
|
color: "#009FE3",
|
|
950
953
|
weight: "fill"
|
|
951
954
|
})) : p("", !0),
|
|
952
|
-
c < e.stepCounter ? (s(), S(
|
|
955
|
+
c < e.stepCounter ? (s(), S(P, {
|
|
953
956
|
key: 2,
|
|
954
957
|
size: 28,
|
|
955
958
|
color: "#70CC44",
|
|
@@ -960,23 +963,23 @@ function gi(e, t, o, l, r, g) {
|
|
|
960
963
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
961
964
|
src: e.images[c - 1],
|
|
962
965
|
alt: "Selected Icon"
|
|
963
|
-
}, null, 8,
|
|
966
|
+
}, null, 8, gt)) : p("", !0),
|
|
964
967
|
e.checkStepValidity(u) ? (s(), a("span", {
|
|
965
968
|
key: 4,
|
|
966
969
|
class: "dpiV3_step--errors",
|
|
967
|
-
textContent: d(
|
|
968
|
-
}, null, 8,
|
|
970
|
+
textContent: d(l.errorCount + l.blockingCount)
|
|
971
|
+
}, null, 8, vt)) : p("", !0),
|
|
969
972
|
i("span", ft, d(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
970
973
|
], 2),
|
|
971
974
|
i("div", bt, [
|
|
972
975
|
c + 1 != Object.keys(e.steps).length - 1 && c >= e.stepCounter ? (s(), a("div", St)) : p("", !0),
|
|
973
976
|
c + 1 != Object.keys(e.steps).length - 1 && c < e.stepCounter ? (s(), a("div", yt)) : p("", !0),
|
|
974
977
|
e.activeStep === u ? (s(), a("div", Ct, [
|
|
975
|
-
e.stepCounter < 5 ? (s(!0), a(
|
|
978
|
+
e.stepCounter < 5 ? (s(!0), a(k, { key: 0 }, I(Object.keys(
|
|
976
979
|
e.subSteps[c]
|
|
977
|
-
), (f, b) => (s(), a("div",
|
|
978
|
-
i("div",
|
|
979
|
-
e.substepCounter > b ? (s(), S(
|
|
980
|
+
), (f, b) => (s(), a("div", _t, [
|
|
981
|
+
i("div", Vt, [
|
|
982
|
+
e.substepCounter > b ? (s(), S(P, {
|
|
980
983
|
key: 0,
|
|
981
984
|
size: 20,
|
|
982
985
|
color: "#009FE3"
|
|
@@ -987,14 +990,14 @@ function gi(e, t, o, l, r, g) {
|
|
|
987
990
|
}, null, 8, kt)),
|
|
988
991
|
b != Object.keys(e.subSteps[c]).length - 1 ? (s(), a("div", {
|
|
989
992
|
key: 2,
|
|
990
|
-
class:
|
|
993
|
+
class: _(["dpiV3_seperatorHorizontalStepperInner", {
|
|
991
994
|
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > b
|
|
992
995
|
}])
|
|
993
996
|
}, null, 2)) : p("", !0)
|
|
994
997
|
]),
|
|
995
|
-
i("div",
|
|
998
|
+
i("div", It, [
|
|
996
999
|
i("span", {
|
|
997
|
-
class:
|
|
1000
|
+
class: _(["large-regular dpiV3_substepText", {
|
|
998
1001
|
dpiV3_activeStepDesc: f === e.activeSubStep,
|
|
999
1002
|
formerlyVisitedStep: e.substepCounter > b
|
|
1000
1003
|
}])
|
|
@@ -1012,29 +1015,29 @@ function gi(e, t, o, l, r, g) {
|
|
|
1012
1015
|
], 10, ut)), [
|
|
1013
1016
|
[ie, u !== "Landing" && u !== "Additionals"]
|
|
1014
1017
|
])), 128)),
|
|
1015
|
-
e.activeStep === "Overview" ? (s(), a("li",
|
|
1018
|
+
e.activeStep === "Overview" ? (s(), a("li", Dt, t[14] || (t[14] = [
|
|
1016
1019
|
i("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
1017
1020
|
]))) : p("", !0)
|
|
1018
1021
|
])
|
|
1019
1022
|
])) : (s(), a("div", Tt, [
|
|
1020
1023
|
i("div", Pt, [
|
|
1021
|
-
h(
|
|
1024
|
+
h(T)
|
|
1022
1025
|
]),
|
|
1023
|
-
i("div",
|
|
1026
|
+
i("div", wt, [
|
|
1024
1027
|
h(A, { "illustration-name": "start" })
|
|
1025
1028
|
])
|
|
1026
1029
|
]))
|
|
1027
1030
|
])),
|
|
1028
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), a("ul",
|
|
1029
|
-
(s(!0), a(
|
|
1030
|
-
key:
|
|
1031
|
-
class:
|
|
1031
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), a("ul", Lt, [
|
|
1032
|
+
(s(!0), a(k, null, I(e.steps, (l, u, c) => (s(), a("li", {
|
|
1033
|
+
key: l,
|
|
1034
|
+
class: _(["step", {
|
|
1032
1035
|
activeItem: e.activeStep === u,
|
|
1033
1036
|
inactiveStep: u != e.activeStep,
|
|
1034
1037
|
"has-errors": e.checkStepValidity(u)
|
|
1035
1038
|
}]),
|
|
1036
1039
|
"data-step-active": e.activeStep === u,
|
|
1037
|
-
"data-step-valid":
|
|
1040
|
+
"data-step-valid": l.valid && l.errorCount === 0,
|
|
1038
1041
|
onClick: (f) => {
|
|
1039
1042
|
e.activeStep = u, e.update(), e.scrollToTop();
|
|
1040
1043
|
}
|
|
@@ -1044,29 +1047,29 @@ function gi(e, t, o, l, r, g) {
|
|
|
1044
1047
|
e.checkStepValidity(u) ? (s(), a("span", {
|
|
1045
1048
|
key: 0,
|
|
1046
1049
|
class: "step--errors",
|
|
1047
|
-
textContent: d(
|
|
1048
|
-
}, null, 8,
|
|
1049
|
-
|
|
1050
|
+
textContent: d(l.errorCount + l.blockingCount)
|
|
1051
|
+
}, null, 8, Ut)) : p("", !0),
|
|
1052
|
+
C(d(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
1050
1053
|
]),
|
|
1051
|
-
c != Object.keys(e.steps).length ? (s(), a("div",
|
|
1054
|
+
c != Object.keys(e.steps).length ? (s(), a("div", Et)) : p("", !0)
|
|
1052
1055
|
], 10, $t))), 128)),
|
|
1053
1056
|
e.activeStep === "Overview" ? (s(), a("li", Bt, t[15] || (t[15] = [
|
|
1054
1057
|
i("div", { class: "circle stepCircle" }, null, -1)
|
|
1055
1058
|
]))) : p("", !0)
|
|
1056
1059
|
])) : p("", !0),
|
|
1057
|
-
(s(!0), a(
|
|
1060
|
+
(s(!0), a(k, null, I(e.getNavSteps(
|
|
1058
1061
|
e.$env.content.dataProviderInterface.specification
|
|
1059
|
-
)[e.property], (
|
|
1062
|
+
)[e.property], (l, u) => (s(), S(U, {
|
|
1060
1063
|
key: u,
|
|
1061
|
-
name:
|
|
1064
|
+
name: l
|
|
1062
1065
|
}, {
|
|
1063
1066
|
default: ee(() => [
|
|
1064
|
-
(s(!0), a(
|
|
1065
|
-
e.getSchema(e.property).value[
|
|
1067
|
+
(s(!0), a(k, null, I(Object.keys(
|
|
1068
|
+
e.getSchema(e.property).value[l]
|
|
1066
1069
|
).length, (c, f) => te((s(), a("div", Ft, [
|
|
1067
|
-
|
|
1070
|
+
l !== "Distributions" && l !== "Additionals" ? (s(), S(w, {
|
|
1068
1071
|
key: 0,
|
|
1069
|
-
schema: e.getSchema(e.property).value[
|
|
1072
|
+
schema: e.getSchema(e.property).value[l][f],
|
|
1070
1073
|
library: e.library,
|
|
1071
1074
|
"final-values": e.formValues,
|
|
1072
1075
|
onHandleNav: () => {
|
|
@@ -1076,11 +1079,11 @@ function gi(e, t, o, l, r, g) {
|
|
|
1076
1079
|
[
|
|
1077
1080
|
ie,
|
|
1078
1081
|
Object.values(
|
|
1079
|
-
e.getSchema(e.property).value[
|
|
1080
|
-
)[0] === e.activeSubStep.replace(/_\d+$/, "") ||
|
|
1082
|
+
e.getSchema(e.property).value[l][f]
|
|
1083
|
+
)[0] === e.activeSubStep.replace(/_\d+$/, "") || l === "Landing"
|
|
1081
1084
|
]
|
|
1082
1085
|
])), 256)),
|
|
1083
|
-
e.activeStep === "Landing" ? (s(), a("div",
|
|
1086
|
+
e.activeStep === "Landing" ? (s(), a("div", zt, [
|
|
1084
1087
|
h(m, {
|
|
1085
1088
|
"button-text": "Abbrechen",
|
|
1086
1089
|
size: "large",
|
|
@@ -1095,8 +1098,8 @@ function gi(e, t, o, l, r, g) {
|
|
|
1095
1098
|
onClick: t[4] || (t[4] = (c) => e.navTrigger("next"))
|
|
1096
1099
|
})
|
|
1097
1100
|
])) : p("", !0),
|
|
1098
|
-
e.activeStep === "ReviewAndPublish" ? (s(), a("div",
|
|
1099
|
-
i("div",
|
|
1101
|
+
e.activeStep === "ReviewAndPublish" ? (s(), a("div", Mt, [
|
|
1102
|
+
i("div", Ot, [
|
|
1100
1103
|
h(m, {
|
|
1101
1104
|
"button-text": "Als Entwurf speichern",
|
|
1102
1105
|
size: "large",
|
|
@@ -1112,8 +1115,8 @@ function gi(e, t, o, l, r, g) {
|
|
|
1112
1115
|
])) : p("", !0),
|
|
1113
1116
|
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), a("div", {
|
|
1114
1117
|
key: 2,
|
|
1115
|
-
class:
|
|
1116
|
-
dpiV3_activeInfobox: ["hvdPage", "visibilityPage"].includes(e.activeSubStep)
|
|
1118
|
+
class: _(["dpiV3_CTA", {
|
|
1119
|
+
dpiV3_activeInfobox: ["hvdPage", "visibilityPage", "dcatde:politicalGeocodingURI"].includes(e.activeSubStep)
|
|
1117
1120
|
}])
|
|
1118
1121
|
}, [
|
|
1119
1122
|
h(m, {
|
|
@@ -1141,15 +1144,15 @@ function gi(e, t, o, l, r, g) {
|
|
|
1141
1144
|
], 2)) : p("", !0),
|
|
1142
1145
|
e.activeSubStep.includes("hvdPage") ? (s(), a("div", Ht, [
|
|
1143
1146
|
i("div", Wt, [
|
|
1144
|
-
i("div",
|
|
1145
|
-
h(
|
|
1147
|
+
i("div", Gt, [
|
|
1148
|
+
h(V, {
|
|
1146
1149
|
size: 32,
|
|
1147
1150
|
color: "#009fe3"
|
|
1148
1151
|
}),
|
|
1149
|
-
i("div",
|
|
1152
|
+
i("div", qt, d(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
1150
1153
|
]),
|
|
1151
|
-
i("div",
|
|
1152
|
-
i("div",
|
|
1154
|
+
i("div", Kt, [
|
|
1155
|
+
i("div", Zt, d(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
1153
1156
|
i("div", Xt, [
|
|
1154
1157
|
i("div", Nt, " 1. " + d(e.$t(
|
|
1155
1158
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
@@ -1197,9 +1200,9 @@ function gi(e, t, o, l, r, g) {
|
|
|
1197
1200
|
])
|
|
1198
1201
|
])) : p("", !0),
|
|
1199
1202
|
e.activeSubStep.includes("visibilityPage") ? (s(), a("div", ri, [
|
|
1200
|
-
i("div",
|
|
1201
|
-
i("div",
|
|
1202
|
-
h(
|
|
1203
|
+
i("div", ni, [
|
|
1204
|
+
i("div", li, [
|
|
1205
|
+
h(V, {
|
|
1203
1206
|
size: 32,
|
|
1204
1207
|
color: "#009fe3"
|
|
1205
1208
|
}),
|
|
@@ -1208,24 +1211,48 @@ function gi(e, t, o, l, r, g) {
|
|
|
1208
1211
|
i("div", ci, [
|
|
1209
1212
|
i("p", pi, [
|
|
1210
1213
|
i("span", ui, d(e.$t("message.dataupload.datasets.visibilityPage.metadata-label")), 1),
|
|
1211
|
-
|
|
1214
|
+
C(" " + d(e.$t("message.dataupload.datasets.visibilityPage.metadata-explanation")), 1)
|
|
1212
1215
|
]),
|
|
1213
1216
|
i("p", hi, [
|
|
1214
|
-
|
|
1217
|
+
C(d(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-prefix")) + " ", 1),
|
|
1215
1218
|
i("span", mi, d(e.$t("message.dataupload.datasets.visibilityPage.distribution-label")), 1),
|
|
1216
|
-
|
|
1219
|
+
C(" " + d(e.$t("message.dataupload.datasets.visibilityPage.distribution-explanation-suffix")), 1)
|
|
1217
1220
|
])
|
|
1218
1221
|
])
|
|
1219
1222
|
])
|
|
1220
1223
|
])) : p("", !0),
|
|
1221
|
-
|
|
1222
|
-
|
|
1224
|
+
e.activeSubStep.includes("dcatde:politicalGeocodingURI") ? (s(), a("div", gi, [
|
|
1225
|
+
i("div", vi, [
|
|
1226
|
+
i("div", fi, [
|
|
1227
|
+
h(V, {
|
|
1228
|
+
size: 32,
|
|
1229
|
+
color: "#009fe3"
|
|
1230
|
+
}),
|
|
1231
|
+
i("div", bi, d(e.$t("message.dataupload.datasets.visibilityPage.info-title")), 1)
|
|
1232
|
+
]),
|
|
1233
|
+
t[16] || (t[16] = i("div", { class: "dpiV3_CT-Content" }, [
|
|
1234
|
+
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
|
+
i("ul", { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, [
|
|
1236
|
+
i("li", null, [
|
|
1237
|
+
i("strong", null, "Administrativer Bezug:"),
|
|
1238
|
+
C(" Wenn sich Ihr Datensatz auf eine bestimmte administrative bzw. politische Einheit bezieht, wählen Sie die entsprechende Gebietseinheit aus den angebotenen Vokabularlisten aus. ")
|
|
1239
|
+
]),
|
|
1240
|
+
i("li", null, [
|
|
1241
|
+
i("strong", null, "Geodatensatz:"),
|
|
1242
|
+
C(" 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
|
+
])
|
|
1244
|
+
])
|
|
1245
|
+
], -1))
|
|
1246
|
+
])
|
|
1247
|
+
])) : p("", !0),
|
|
1248
|
+
l === "Distributions" ? (s(), S(R, {
|
|
1249
|
+
key: 6,
|
|
1223
1250
|
schema: e.getSchema("distributions"),
|
|
1224
1251
|
values: e.formValues
|
|
1225
1252
|
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
1226
|
-
|
|
1227
|
-
t[
|
|
1228
|
-
|
|
1253
|
+
l === "Mandatory" ? (s(), a("p", Si, [
|
|
1254
|
+
t[17] || (t[17] = i("b", null, "*", -1)),
|
|
1255
|
+
C(" " + d(e.$t("message.dataupload.info.mandatory")), 1)
|
|
1229
1256
|
])) : p("", !0)
|
|
1230
1257
|
]),
|
|
1231
1258
|
_: 2
|
|
@@ -1239,14 +1266,14 @@ function gi(e, t, o, l, r, g) {
|
|
|
1239
1266
|
"header-text": e.modalSimpleConf.header,
|
|
1240
1267
|
text: e.modalSimpleConf.text,
|
|
1241
1268
|
action: e.modalSimpleConf.action,
|
|
1242
|
-
onClose: t[12] || (t[12] = (
|
|
1243
|
-
onActionHandling: t[13] || (t[13] = (
|
|
1269
|
+
onClose: t[12] || (t[12] = (l) => e.activeSimpleModal = !1),
|
|
1270
|
+
onActionHandling: t[13] || (t[13] = (l) => e.gotToHome())
|
|
1244
1271
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
1245
1272
|
])
|
|
1246
1273
|
], 512)) : p("", !0)
|
|
1247
1274
|
]);
|
|
1248
1275
|
}
|
|
1249
|
-
const
|
|
1276
|
+
const hs = /* @__PURE__ */ Je(tt, [["render", yi]]);
|
|
1250
1277
|
export {
|
|
1251
|
-
|
|
1278
|
+
hs as default
|
|
1252
1279
|
};
|