@piveau/dpi 0.1.0-beta.8 → 0.1.0-twinby.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/data-provider-interface/DPIMenu.vue.js +7 -7
- package/dist/data-provider-interface/DataProviderInterface.vue2.js +18 -17
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +122 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteInputDefinition.js +14 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +75 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue2.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +29 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +70 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +19 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +32 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +21 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +60 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue2.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +98 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +16 -21
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +83 -81
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +2 -4
- package/dist/data-provider-interface/components/DistLicense.vue.js +61 -63
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +791 -779
- package/dist/data-provider-interface/components/HVDPage.vue.js +45 -43
- package/dist/data-provider-interface/components/InputPageStep.vue.js +9 -11
- package/dist/data-provider-interface/components/ProgressSteps.vue.js +7 -0
- package/dist/data-provider-interface/components/ProgressSteps.vue2.js +106 -0
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +204 -204
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +211 -212
- package/dist/data-provider-interface/composables/useDpiStepper.js +80 -39
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +145 -105
- package/dist/data-provider-interface/store/modules/conversionStore.js +130 -0
- package/dist/data-provider-interface/store/modules/dpiStore.js +18 -16
- package/dist/data-provider-interface/utils/RDFconverter.js +226 -0
- package/dist/data-provider-interface/utils/inputConverter.js +255 -0
- package/dist/data-provider-interface/utils/useSteps.js +39 -30
- package/dist/data-provider-interface/views/InputPage.vue.js +80 -92
- package/dist/data-provider-interface/views/InputPageProject.vue.js +528 -0
- package/dist/index.js +31 -27
- package/dist/stories/components/DemoStep.vue.js +331 -0
- package/dist/stories/components/DemoStepper.vue.js +7 -0
- package/dist/stories/components/DemoStepper.vue2.js +160 -0
- package/dist/stories/components/PartnerCard.vue.js +7 -0
- package/dist/stories/components/PartnerCard.vue2.js +32 -0
- package/dist/stories/components/ReviewStepDemo.vue.js +7 -0
- package/dist/stories/components/ReviewStepDemo.vue2.js +98 -0
- package/package.json +11 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { getNode as
|
|
1
|
+
import { getNode as K } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
3
|
import { PhNumberCircleFive as Z, PhCheckCircle as G, PhLightbulb as X } from "@phosphor-icons/vue";
|
|
4
4
|
import { useWindowScroll as Y } from "@vueuse/core";
|
|
5
5
|
import J from "jquery";
|
|
6
|
-
import { has as
|
|
7
|
-
import { defineComponent as N, resolveComponent as
|
|
6
|
+
import { has as I, isNil as B } from "lodash-es";
|
|
7
|
+
import { defineComponent as N, resolveComponent as f, createElementBlock as o, openBlock as s, createCommentVNode as n, createElementVNode as a, createVNode as h, createBlock as S, withModifiers as Q, withCtx as U, Fragment as k, renderList as V, withDirectives as F, normalizeClass as C, toDisplayString as u, vShow as O, createTextVNode as z, ref as M, markRaw as x, getCurrentInstance as ee } from "vue";
|
|
8
8
|
import { useI18n as te } from "vue-i18n";
|
|
9
|
-
import { mapActions as
|
|
9
|
+
import { mapActions as j, mapGetters as H } from "vuex";
|
|
10
10
|
import ie from "../components/InputPageStep.vue.js";
|
|
11
11
|
import se from "../components/Navigation.vue.js";
|
|
12
12
|
import { useFormValues as ae } from "../composables/useDpiFormValues.js";
|
|
13
13
|
import { useDpiStepper as oe } from "../composables/useDpiStepper.js";
|
|
14
|
-
import
|
|
14
|
+
import W from "../config/dcatapdeHappyFlow/converter.js";
|
|
15
15
|
import re from "../HappyFlowComponents/img/Circle.svg.js";
|
|
16
16
|
import le from "../HappyFlowComponents/img/CircleFill.svg.js";
|
|
17
17
|
import de from "../HappyFlowComponents/img/Selected1.svg.js";
|
|
@@ -21,18 +21,18 @@ import pe from "../HappyFlowComponents/img/Selected2_2.svg.js";
|
|
|
21
21
|
import ue from "../HappyFlowComponents/img/Selected3.svg.js";
|
|
22
22
|
import he from "../HappyFlowComponents/img/Selected3_2.svg.js";
|
|
23
23
|
import me from "../HappyFlowComponents/img/Selected4.svg.js";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
24
|
+
import fe from "../HappyFlowComponents/img/Selected4_2.svg.js";
|
|
25
|
+
import ge from "../HappyFlowComponents/img/Selected5.svg.js";
|
|
26
26
|
import ve from "../HappyFlowComponents/img/Selected5_2.svg.js";
|
|
27
27
|
import { eventBus as be } from "../HappyFlowComponents/services/eventBus.js";
|
|
28
28
|
import Se from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
29
29
|
import ye from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
30
30
|
import Ce from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
31
|
+
import ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
32
|
+
import Ve from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
33
|
+
import _e from "./DistributionInputPage.vue.js";
|
|
34
|
+
import De from "./OverviewPage.vue.js";
|
|
35
|
+
import Ie from "./PropertyChooser.vue.js";
|
|
36
36
|
/* empty css */
|
|
37
37
|
/* empty css */
|
|
38
38
|
/* empty css */
|
|
@@ -54,12 +54,12 @@ const Ae = N({
|
|
|
54
54
|
data() {
|
|
55
55
|
return {
|
|
56
56
|
circles: [re, le],
|
|
57
|
-
images: [de, ce, ue, me,
|
|
57
|
+
images: [de, ce, ue, me, ge],
|
|
58
58
|
selectedImages: [
|
|
59
59
|
ne,
|
|
60
60
|
pe,
|
|
61
61
|
he,
|
|
62
|
-
|
|
62
|
+
fe,
|
|
63
63
|
ve
|
|
64
64
|
],
|
|
65
65
|
instance: ee(),
|
|
@@ -85,28 +85,28 @@ const Ae = N({
|
|
|
85
85
|
},
|
|
86
86
|
components: {
|
|
87
87
|
InputPageStep: ie,
|
|
88
|
-
DistributionInputPage:
|
|
89
|
-
PropertyChooser:
|
|
88
|
+
DistributionInputPage: _e,
|
|
89
|
+
PropertyChooser: Ie,
|
|
90
90
|
Navigation: se,
|
|
91
91
|
LogoV3: Ce,
|
|
92
92
|
ButtonV3: Se,
|
|
93
|
-
TextButtonSmall:
|
|
93
|
+
TextButtonSmall: Ve,
|
|
94
94
|
Illustration: ye,
|
|
95
95
|
PhLightbulb: X,
|
|
96
96
|
PhCheckCircle: G,
|
|
97
97
|
PhNumberCircleFive: Z,
|
|
98
|
-
ModalSimpleV3:
|
|
98
|
+
ModalSimpleV3: ke
|
|
99
99
|
},
|
|
100
100
|
computed: {
|
|
101
|
-
...
|
|
101
|
+
...H("auth", [
|
|
102
102
|
"getIsEditMode",
|
|
103
103
|
"getUserCatalogIds",
|
|
104
104
|
"getUserData"
|
|
105
105
|
]),
|
|
106
|
-
...
|
|
106
|
+
...H("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
|
|
107
107
|
getTitleStep() {
|
|
108
108
|
return Object.keys(this.formValues).filter(
|
|
109
|
-
(e) =>
|
|
109
|
+
(e) => I(this.formValues[e], "dct:title")
|
|
110
110
|
)[0];
|
|
111
111
|
},
|
|
112
112
|
createIDFromTitle() {
|
|
@@ -117,7 +117,7 @@ const Ae = N({
|
|
|
117
117
|
getFirstTitleFromForm() {
|
|
118
118
|
try {
|
|
119
119
|
const e = this.formValues[this.getTitleStep];
|
|
120
|
-
return
|
|
120
|
+
return I(e, "dct:title") && e["dct:title"].length > 0 && I(e["dct:title"][0], "@value") && !B(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
121
121
|
} catch {
|
|
122
122
|
}
|
|
123
123
|
},
|
|
@@ -126,8 +126,8 @@ const Ae = N({
|
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
methods: {
|
|
129
|
-
...
|
|
130
|
-
...
|
|
129
|
+
...j("auth", ["setIsEditMode", "setIsDraft"]),
|
|
130
|
+
...j("dpiStore", [
|
|
131
131
|
"saveFormValues",
|
|
132
132
|
"saveLocalstorageValues",
|
|
133
133
|
"clearAll"
|
|
@@ -137,7 +137,7 @@ const Ae = N({
|
|
|
137
137
|
},
|
|
138
138
|
// Route to the RAP Page
|
|
139
139
|
goToRAP() {
|
|
140
|
-
this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(
|
|
140
|
+
this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(K(this.activeStep).value)[0];
|
|
141
141
|
},
|
|
142
142
|
// Remove after DPI development is finished - just fills all fields with dummy Data
|
|
143
143
|
fillData() {
|
|
@@ -570,7 +570,7 @@ const Ae = N({
|
|
|
570
570
|
i[this.stepCounter].substeps
|
|
571
571
|
)[0], this.substepCounter = 0) : (this.substepCounter++, this.activeSubStep = Object.keys(
|
|
572
572
|
i[this.stepCounter].substeps
|
|
573
|
-
)[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (
|
|
573
|
+
)[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (this.formValues.ReviewAndPublish.reviewAndPublishPage.isValid = !0)) : this.stepCounter != i.length - 1 && (this.stepCounter++, this.activeSubStep = Object.keys(
|
|
574
574
|
i[this.stepCounter].substeps
|
|
575
575
|
)[0], this.activeStep = i[this.stepCounter].step)), e === "prev" && (i[this.stepCounter].substepCount > 1 ? this.substepCounter > 0 ? (this.substepCounter--, this.activeSubStep = Object.keys(
|
|
576
576
|
i[this.stepCounter].substeps
|
|
@@ -580,7 +580,7 @@ const Ae = N({
|
|
|
580
580
|
i[this.stepCounter].substeps
|
|
581
581
|
)[this.substepCounter], this.activeStep = i[this.stepCounter].step)), e === "publish") {
|
|
582
582
|
let d = "auth/createDataset";
|
|
583
|
-
|
|
583
|
+
W(
|
|
584
584
|
this.formValues,
|
|
585
585
|
this.dpiContext,
|
|
586
586
|
this.getUserData,
|
|
@@ -602,7 +602,7 @@ const Ae = N({
|
|
|
602
602
|
}
|
|
603
603
|
if (e === "draft") {
|
|
604
604
|
let d = "auth/createUserDraft";
|
|
605
|
-
|
|
605
|
+
W(
|
|
606
606
|
this.formValues,
|
|
607
607
|
this.dpiContext,
|
|
608
608
|
this.getUserData,
|
|
@@ -672,7 +672,7 @@ const Ae = N({
|
|
|
672
672
|
},
|
|
673
673
|
createDatasetID() {
|
|
674
674
|
const e = this.formValues[this.getTitleStep];
|
|
675
|
-
!
|
|
675
|
+
!I(e, "datasetID") || B(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++)
|
|
@@ -727,16 +727,16 @@ const Ae = N({
|
|
|
727
727
|
visitedSteps: b,
|
|
728
728
|
previousStep: y,
|
|
729
729
|
nextStep: m,
|
|
730
|
-
stepPlugin:
|
|
730
|
+
stepPlugin: _,
|
|
731
731
|
goToNextStep: T,
|
|
732
|
-
goToPreviousStep:
|
|
733
|
-
} = oe(), { formValues: L } = ae(), { t: P, te: w } = te(), A =
|
|
732
|
+
goToPreviousStep: D
|
|
733
|
+
} = oe(), { formValues: L } = ae(), { t: P, te: w } = te(), A = M(!1), { translateSchema: $, createSchema: R, getSchema: E } = we({
|
|
734
734
|
t: P,
|
|
735
735
|
te: w
|
|
736
736
|
}), r = () => {
|
|
737
|
-
let { x:
|
|
738
|
-
|
|
739
|
-
}, c = (
|
|
737
|
+
let { x: g, y: q } = Y({ behavior: "smooth" });
|
|
738
|
+
q.value = 0;
|
|
739
|
+
}, c = (g) => (i[g].errorCount > 0 || i[g].blockingCount > 0) && b.value.includes(g), l = x({ OverviewPage: De }), v = M("");
|
|
740
740
|
return t.value && (d.value = "ReviewAndPublish", v.value = "reviewAndPublishPage"), {
|
|
741
741
|
steps: i,
|
|
742
742
|
visitedSteps: b,
|
|
@@ -745,10 +745,10 @@ const Ae = N({
|
|
|
745
745
|
subSteps: p,
|
|
746
746
|
previousStep: y,
|
|
747
747
|
nextStep: m,
|
|
748
|
-
stepPlugin:
|
|
748
|
+
stepPlugin: _,
|
|
749
749
|
checkStepValidity: c,
|
|
750
750
|
goToNextStep: T,
|
|
751
|
-
goToPreviousStep:
|
|
751
|
+
goToPreviousStep: D,
|
|
752
752
|
scrollToTop: r,
|
|
753
753
|
library: l,
|
|
754
754
|
isEditMode: t,
|
|
@@ -764,7 +764,7 @@ const Ae = N({
|
|
|
764
764
|
key: 0,
|
|
765
765
|
ref: "fkInputContainer",
|
|
766
766
|
class: "inputContainer"
|
|
767
|
-
}, Ee = { class: "formContainer formkit" }, Be = { key: 0 },
|
|
767
|
+
}, Ee = { class: "formContainer formkit" }, Be = { key: 0 }, Ue = { class: "dpiV3_stepper draftStepper" }, Fe = {
|
|
768
768
|
key: 0,
|
|
769
769
|
class: "draftCTA"
|
|
770
770
|
}, Oe = {
|
|
@@ -800,18 +800,18 @@ const Ae = N({
|
|
|
800
800
|
}, ht = { style: { width: "100%" } }, mt = {
|
|
801
801
|
key: 0,
|
|
802
802
|
class: "dpiV3_CTALanding"
|
|
803
|
-
},
|
|
803
|
+
}, ft = {
|
|
804
804
|
key: 1,
|
|
805
805
|
class: "dpiV3_CTA_RaP"
|
|
806
|
-
},
|
|
806
|
+
}, gt = { class: "dpiV3_CTANav" }, vt = { class: "dpiV3_CTANav" }, bt = {
|
|
807
807
|
key: 3,
|
|
808
808
|
class: "dpiV3_Content_InputPage"
|
|
809
|
-
}, St = { class: "dpiV3_Card_Tips" }, yt = { class: "dpiV3_Icon_Title" }, Ct = { class: "dpiV3_Info-Text dpiV3_activeStepName" },
|
|
809
|
+
}, St = { class: "dpiV3_Card_Tips" }, yt = { class: "dpiV3_Icon_Title" }, Ct = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, kt = { class: "dpiV3_CT-Content" }, Vt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, _t = { class: "dpiV3_hvd_frame3846" }, Dt = { class: "dpiV3_copy_large_semi_bold" }, It = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Lt = { class: "dpiV3_copy_large_semi_bold" }, Pt = { class: "dpiV3_copy_large_regular" }, wt = { class: "dpiV3_hvd_frame3846" }, At = { class: "dpiV3_copy_large_semi_bold" }, $t = { class: "dpiV3_copy_large_regular" }, Rt = { class: "dpiV3_hvd_frame3846" }, Et = { class: "dpiV3_copy_large_semi_bold" }, Bt = { class: "dpiV3_copy_large_regular" }, Ut = {
|
|
810
810
|
key: 5,
|
|
811
811
|
class: "p-1"
|
|
812
812
|
};
|
|
813
|
-
function
|
|
814
|
-
const y =
|
|
813
|
+
function Ft(e, t, i, d, p, b) {
|
|
814
|
+
const y = f("TextButtonSmall"), m = f("ButtonV3"), _ = f("LogoV3"), T = f("PhNumberCircleFive"), D = f("PhCheckCircle"), L = f("Illustration"), P = f("FormKitSchema"), w = f("PhLightbulb"), A = f("DistributionInputPage"), $ = f("InputPageStep"), R = f("FormKit"), E = f("ModalSimpleV3");
|
|
815
815
|
return s(), o("div", $e, [
|
|
816
816
|
e.isInput ? (s(), o("div", Re, [
|
|
817
817
|
a("div", Ee, [
|
|
@@ -823,24 +823,12 @@ function Ut(e, t, i, d, p, b) {
|
|
|
823
823
|
actions: !1,
|
|
824
824
|
plugins: [e.stepPlugin],
|
|
825
825
|
class: "d-flex",
|
|
826
|
-
|
|
827
|
-
property: e.property,
|
|
828
|
-
page: e.page,
|
|
829
|
-
distid: e.id,
|
|
830
|
-
values: e.formValues
|
|
831
|
-
})),
|
|
832
|
-
onClick: t[9] || (t[9] = (r) => e.saveFormValues({
|
|
833
|
-
property: e.property,
|
|
834
|
-
page: e.page,
|
|
835
|
-
distid: e.id,
|
|
836
|
-
values: e.formValues
|
|
837
|
-
})),
|
|
838
|
-
onSubmit: t[10] || (t[10] = Q(() => {
|
|
826
|
+
onSubmit: t[8] || (t[8] = Q(() => {
|
|
839
827
|
}, ["prevent"]))
|
|
840
828
|
}, {
|
|
841
829
|
default: U(() => [
|
|
842
830
|
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), o("div", Be, [
|
|
843
|
-
a("div",
|
|
831
|
+
a("div", Ue, [
|
|
844
832
|
h(y, {
|
|
845
833
|
"button-text": "Übersicht",
|
|
846
834
|
"icon-start": "CaretLeft",
|
|
@@ -848,7 +836,7 @@ function Ut(e, t, i, d, p, b) {
|
|
|
848
836
|
onClick: e.gotToHome
|
|
849
837
|
}, null, 8, ["onClick"]),
|
|
850
838
|
a("div", null, [
|
|
851
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), o("div",
|
|
839
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), o("div", Fe, [
|
|
852
840
|
h(m, {
|
|
853
841
|
"button-text": "Veröffentlichung aufheben",
|
|
854
842
|
size: "large",
|
|
@@ -872,9 +860,9 @@ function Ut(e, t, i, d, p, b) {
|
|
|
872
860
|
])
|
|
873
861
|
])) : (s(), o("div", ze, [
|
|
874
862
|
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), o("div", Me, [
|
|
875
|
-
h(
|
|
863
|
+
h(_),
|
|
876
864
|
a("ul", je, [
|
|
877
|
-
(s(!0), o(
|
|
865
|
+
(s(!0), o(k, null, V(e.steps, (r, c, l) => F((s(), o("li", {
|
|
878
866
|
key: r,
|
|
879
867
|
class: C(["dpiV3_step", {
|
|
880
868
|
dpiV3_activeItem: e.activeStep === c,
|
|
@@ -904,7 +892,7 @@ function Ut(e, t, i, d, p, b) {
|
|
|
904
892
|
color: "#009FE3",
|
|
905
893
|
weight: "fill"
|
|
906
894
|
})) : n("", !0),
|
|
907
|
-
l < e.stepCounter ? (s(), S(
|
|
895
|
+
l < e.stepCounter ? (s(), S(D, {
|
|
908
896
|
key: 2,
|
|
909
897
|
size: 28,
|
|
910
898
|
color: "#70CC44",
|
|
@@ -927,23 +915,23 @@ function Ut(e, t, i, d, p, b) {
|
|
|
927
915
|
l + 1 != Object.keys(e.steps).length - 1 && l >= e.stepCounter ? (s(), o("div", Ye)) : n("", !0),
|
|
928
916
|
l + 1 != Object.keys(e.steps).length - 1 && l < e.stepCounter ? (s(), o("div", Je)) : n("", !0),
|
|
929
917
|
e.activeStep === c ? (s(), o("div", Ne, [
|
|
930
|
-
e.stepCounter < 5 ? (s(!0), o(
|
|
918
|
+
e.stepCounter < 5 ? (s(!0), o(k, { key: 0 }, V(Object.keys(
|
|
931
919
|
e.subSteps[l]
|
|
932
|
-
), (v,
|
|
920
|
+
), (v, g) => (s(), o("div", Qe, [
|
|
933
921
|
a("div", xe, [
|
|
934
|
-
e.substepCounter >
|
|
922
|
+
e.substepCounter > g ? (s(), S(D, {
|
|
935
923
|
key: 0,
|
|
936
924
|
size: 20,
|
|
937
925
|
color: "#009FE3"
|
|
938
926
|
})) : (s(), o("img", {
|
|
939
927
|
key: 1,
|
|
940
|
-
src: e.getCircles(
|
|
928
|
+
src: e.getCircles(g),
|
|
941
929
|
alt: "circle"
|
|
942
930
|
}, null, 8, et)),
|
|
943
|
-
|
|
931
|
+
g != Object.keys(e.subSteps[l]).length - 1 ? (s(), o("div", {
|
|
944
932
|
key: 2,
|
|
945
933
|
class: C(["dpiV3_seperatorHorizontalStepperInner", {
|
|
946
|
-
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter >
|
|
934
|
+
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > g
|
|
947
935
|
}])
|
|
948
936
|
}, null, 2)) : n("", !0)
|
|
949
937
|
]),
|
|
@@ -951,7 +939,7 @@ function Ut(e, t, i, d, p, b) {
|
|
|
951
939
|
a("span", {
|
|
952
940
|
class: C(["large-regular dpiV3_substepText", {
|
|
953
941
|
dpiV3_activeStepDesc: v === e.activeSubStep,
|
|
954
|
-
formerlyVisitedStep: e.substepCounter >
|
|
942
|
+
formerlyVisitedStep: e.substepCounter > g
|
|
955
943
|
}])
|
|
956
944
|
}, u(e.$t(
|
|
957
945
|
`message.dataupload.steps.${v.replace(/_\d+$/, "")}`
|
|
@@ -962,15 +950,15 @@ function Ut(e, t, i, d, p, b) {
|
|
|
962
950
|
])
|
|
963
951
|
])
|
|
964
952
|
], 10, He)), [
|
|
965
|
-
[
|
|
953
|
+
[O, c !== "Landing" && c !== "Additionals"]
|
|
966
954
|
])), 128)),
|
|
967
|
-
e.activeStep === "Overview" ? (s(), o("li", it, t[
|
|
955
|
+
e.activeStep === "Overview" ? (s(), o("li", it, t[11] || (t[11] = [
|
|
968
956
|
a("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
969
957
|
]))) : n("", !0)
|
|
970
958
|
])
|
|
971
959
|
])) : (s(), o("div", st, [
|
|
972
960
|
a("div", at, [
|
|
973
|
-
h(
|
|
961
|
+
h(_)
|
|
974
962
|
]),
|
|
975
963
|
a("div", ot, [
|
|
976
964
|
h(L, { "illustration-name": "start" })
|
|
@@ -978,7 +966,7 @@ function Ut(e, t, i, d, p, b) {
|
|
|
978
966
|
]))
|
|
979
967
|
])),
|
|
980
968
|
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), o("ul", rt, [
|
|
981
|
-
(s(!0), o(
|
|
969
|
+
(s(!0), o(k, null, V(e.steps, (r, c, l) => (s(), o("li", {
|
|
982
970
|
key: r,
|
|
983
971
|
class: C(["step", {
|
|
984
972
|
activeItem: e.activeStep === c,
|
|
@@ -998,24 +986,24 @@ function Ut(e, t, i, d, p, b) {
|
|
|
998
986
|
class: "step--errors",
|
|
999
987
|
textContent: u(r.errorCount + r.blockingCount)
|
|
1000
988
|
}, null, 8, ct)) : n("", !0),
|
|
1001
|
-
|
|
989
|
+
z(u(e.$t(`message.dataupload.steps.${c}Step`)), 1)
|
|
1002
990
|
]),
|
|
1003
991
|
l != Object.keys(e.steps).length ? (s(), o("div", pt)) : n("", !0)
|
|
1004
992
|
], 10, lt))), 128)),
|
|
1005
|
-
e.activeStep === "Overview" ? (s(), o("li", ut, t[
|
|
993
|
+
e.activeStep === "Overview" ? (s(), o("li", ut, t[12] || (t[12] = [
|
|
1006
994
|
a("div", { class: "circle stepCircle" }, null, -1)
|
|
1007
995
|
]))) : n("", !0)
|
|
1008
996
|
])) : n("", !0),
|
|
1009
|
-
(s(!0), o(
|
|
997
|
+
(s(!0), o(k, null, V(e.getNavSteps(
|
|
1010
998
|
e.$env.content.dataProviderInterface.specification
|
|
1011
999
|
)[e.property], (r, c) => (s(), S($, {
|
|
1012
1000
|
key: c,
|
|
1013
1001
|
name: r
|
|
1014
1002
|
}, {
|
|
1015
1003
|
default: U(() => [
|
|
1016
|
-
(s(!0), o(
|
|
1004
|
+
(s(!0), o(k, null, V(Object.keys(
|
|
1017
1005
|
e.getSchema(e.property).value[r]
|
|
1018
|
-
).length, (l, v) =>
|
|
1006
|
+
).length, (l, v) => F((s(), o("div", ht, [
|
|
1019
1007
|
r !== "Distributions" && r !== "Additionals" ? (s(), S(P, {
|
|
1020
1008
|
key: 0,
|
|
1021
1009
|
schema: e.getSchema(e.property).value[r][v],
|
|
@@ -1026,7 +1014,7 @@ function Ut(e, t, i, d, p, b) {
|
|
|
1026
1014
|
}, null, 8, ["schema", "library", "final-values"])) : n("", !0)
|
|
1027
1015
|
], 512)), [
|
|
1028
1016
|
[
|
|
1029
|
-
|
|
1017
|
+
O,
|
|
1030
1018
|
Object.values(
|
|
1031
1019
|
e.getSchema(e.property).value[r][v]
|
|
1032
1020
|
)[0] === e.activeSubStep.replace(/_\d+$/, "") || r === "Landing"
|
|
@@ -1045,8 +1033,8 @@ function Ut(e, t, i, d, p, b) {
|
|
|
1045
1033
|
onClick: t[2] || (t[2] = (l) => e.navTrigger("next"))
|
|
1046
1034
|
})
|
|
1047
1035
|
])) : n("", !0),
|
|
1048
|
-
e.activeStep === "ReviewAndPublish" ? (s(), o("div",
|
|
1049
|
-
a("div",
|
|
1036
|
+
e.activeStep === "ReviewAndPublish" ? (s(), o("div", ft, [
|
|
1037
|
+
a("div", gt, [
|
|
1050
1038
|
h(m, {
|
|
1051
1039
|
"button-text": "Als Entwurf speichern",
|
|
1052
1040
|
size: "large",
|
|
@@ -1098,13 +1086,13 @@ function Ut(e, t, i, d, p, b) {
|
|
|
1098
1086
|
}),
|
|
1099
1087
|
a("div", Ct, u(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
1100
1088
|
]),
|
|
1101
|
-
a("div",
|
|
1102
|
-
a("div",
|
|
1103
|
-
a("div",
|
|
1104
|
-
a("div",
|
|
1089
|
+
a("div", kt, [
|
|
1090
|
+
a("div", Vt, u(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
1091
|
+
a("div", _t, [
|
|
1092
|
+
a("div", Dt, " 1. " + u(e.$t(
|
|
1105
1093
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
1106
1094
|
)), 1),
|
|
1107
|
-
a("ul",
|
|
1095
|
+
a("ul", It, [
|
|
1108
1096
|
a("li", null, u(e.$t(
|
|
1109
1097
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
1110
1098
|
)), 1),
|
|
@@ -1151,9 +1139,9 @@ function Ut(e, t, i, d, p, b) {
|
|
|
1151
1139
|
schema: e.getSchema("distributions"),
|
|
1152
1140
|
values: e.formValues
|
|
1153
1141
|
}, null, 8, ["schema", "values"])) : n("", !0),
|
|
1154
|
-
r === "Mandatory" ? (s(), o("p",
|
|
1155
|
-
t[
|
|
1156
|
-
|
|
1142
|
+
r === "Mandatory" ? (s(), o("p", Ut, [
|
|
1143
|
+
t[13] || (t[13] = a("b", null, "*", -1)),
|
|
1144
|
+
z(" " + u(e.$t("message.dataupload.info.mandatory")), 1)
|
|
1157
1145
|
])) : n("", !0)
|
|
1158
1146
|
]),
|
|
1159
1147
|
_: 2
|
|
@@ -1167,14 +1155,14 @@ function Ut(e, t, i, d, p, b) {
|
|
|
1167
1155
|
"header-text": e.modalSimpleConf.header,
|
|
1168
1156
|
text: e.modalSimpleConf.text,
|
|
1169
1157
|
action: e.modalSimpleConf.action,
|
|
1170
|
-
onClose: t[
|
|
1171
|
-
onActionHandling: t[
|
|
1158
|
+
onClose: t[9] || (t[9] = (r) => e.activeSimpleModal = !1),
|
|
1159
|
+
onActionHandling: t[10] || (t[10] = (r) => e.gotToHome())
|
|
1172
1160
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : n("", !0)
|
|
1173
1161
|
])
|
|
1174
1162
|
], 512)) : n("", !0)
|
|
1175
1163
|
]);
|
|
1176
1164
|
}
|
|
1177
|
-
const
|
|
1165
|
+
const Ii = /* @__PURE__ */ Te(Ae, [["render", Ft]]);
|
|
1178
1166
|
export {
|
|
1179
|
-
|
|
1167
|
+
Ii as default
|
|
1180
1168
|
};
|