@piveau/dpi 0.2.0-alpha.12 → 0.2.0-alpha.13

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