@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.49

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