@piveau/dpi 0.2.0-alpha.7 → 0.2.0-alpha.8

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 (43) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +20 -17
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +4 -4
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +45 -44
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +106 -134
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +180 -0
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -11
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +25 -25
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +96 -93
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +31 -26
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +32 -26
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +30 -25
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +29 -24
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +5 -932
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1053 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +2 -2
  30. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
  31. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +16 -16
  32. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +22 -22
  34. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +158 -156
  35. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
  36. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +10 -9
  37. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  38. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +21 -16
  39. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  40. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +8 -6
  41. package/package.json +1 -1
  42. package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
  43. package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
@@ -1,20 +1,20 @@
1
- import { getNode as t1 } from "@formkit/core";
1
+ import { getNode as o1 } from "@formkit/core";
2
2
  import { getValidationMessages as f1 } from "@formkit/validation";
3
3
  import "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
5
5
  import { useWindowScroll as v1 } from "@vueuse/core";
6
6
  import "jquery";
7
- import { has as $, isNil as o1 } from "lodash-es";
8
- import { defineComponent as h1, resolveComponent as s, createElementBlock as d, openBlock as p, createCommentVNode as H, createElementVNode as n, createBlock as n1, withModifiers as S1, withCtx as i, createVNode as t, Fragment as i1, renderList as a1, normalizeClass as g1, createTextVNode as s1, toDisplayString as P, ref as v, computed as x, markRaw as V1, toRef as H1, watch as r1, nextTick as D1 } from "vue";
7
+ import { has as $, isNil as n1 } from "lodash-es";
8
+ import { defineComponent as S1, resolveComponent as s, createElementBlock as d, openBlock as p, createCommentVNode as V, createElementVNode as n, createBlock as i1, withModifiers as g1, withCtx as i, createVNode as t, Fragment as a1, renderList as s1, normalizeClass as h1, createTextVNode as r1, toDisplayString as _, ref as v, computed as e1, markRaw as V1, toRef as H1, watch as l1, nextTick as D1 } from "vue";
9
9
  import { useI18n as b1 } from "vue-i18n";
10
- import { mapActions as l1, mapGetters as p1 } from "vuex";
10
+ import { mapActions as p1, mapGetters as d1 } from "vuex";
11
11
  import w1 from "../../stories/components/DemoStep.vue.js";
12
12
  import k1 from "../../stories/components/ReviewStepDemo.vue.js";
13
13
  import y1 from "../components/dev-tools/ProjectDpiDevTools.vue.js";
14
- import _1 from "../components/InputPageStep.vue.js";
15
- import P1 from "../components/ProgressSteps.vue.js";
16
- import M1 from "../components/StepActionsSection.vue.js";
17
- import { encodeProject as I1 } from "../composables/project-transformer/encodeProject.js";
14
+ import P1 from "../components/InputPageStep.vue.js";
15
+ import _1 from "../components/ProgressSteps.vue.js";
16
+ import I1 from "../components/StepActionsSection.vue.js";
17
+ import { encodeProject as M1 } from "../composables/project-transformer/encodeProject.js";
18
18
  import { useFormValues as F1 } from "../composables/useDpiFormValues.js";
19
19
  import { useDpiStepper as T1 } from "../composables/useDpiStepper.js";
20
20
  import L1 from "../config/dcatapdeHappyFlow/converter.js";
@@ -22,8 +22,8 @@ import { eventBus as j1 } from "../HappyFlowComponents/services/eventBus.js";
22
22
  import O1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
23
23
  import Z1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
24
24
  import $1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
25
- import A1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js";
26
- import B1 from "../HappyFlowComponents/ui/ButtonV3.vue.js";
25
+ import B1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js";
26
+ import A1 from "../HappyFlowComponents/ui/ButtonV3.vue.js";
27
27
  import E1 from "../HappyFlowComponents/ui/Card.vue.js";
28
28
  import U1 from "../HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js";
29
29
  import z1 from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
@@ -51,12 +51,13 @@ import pe from "../HappyFlowComponents/ui/WipStep.vue.js";
51
51
  import de from "./OverviewPage.vue.js";
52
52
  /* empty css */
53
53
  /* empty css */
54
+ import ue from "../HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js";
54
55
  /* empty css */
55
- import ue from "../../../../../_virtual/_plugin-vue_export-helper.js";
56
- import { useDpiContext as me } from "../composables/useDpiContext.js";
57
- import { useEditModeInfo as Ce } from "../composables/useDpiEditMode.js";
58
- import { useFormSchema as ce } from "../composables/useFormSchema.js";
59
- const fe = h1({
56
+ import me from "../../../../../_virtual/_plugin-vue_export-helper.js";
57
+ import { useDpiContext as Ce } from "../composables/useDpiContext.js";
58
+ import { useEditModeInfo as ce } from "../composables/useDpiEditMode.js";
59
+ import { useFormSchema as fe } from "../composables/useFormSchema.js";
60
+ const ve = S1({
60
61
  props: {
61
62
  property: {
62
63
  required: !0,
@@ -78,10 +79,10 @@ const fe = h1({
78
79
  };
79
80
  },
80
81
  components: {
81
- InputPageStep: _1,
82
+ InputPageStep: P1,
82
83
  // DistributionInputPage,
83
84
  LogoV3: K1,
84
- ButtonV3: B1,
85
+ ButtonV3: A1,
85
86
  TextButtonSmall: le,
86
87
  Illustration: W1,
87
88
  // PhLightbulb,
@@ -89,16 +90,16 @@ const fe = h1({
89
90
  ModalSimpleV3: Q1,
90
91
  // DemoStepper,
91
92
  DemoStep: w1,
92
- ProgressSteps: P1,
93
+ ProgressSteps: _1,
93
94
  ReviewStepDemo: k1,
94
95
  LandingProjectStep: J1,
95
- StepActionsSection: M1,
96
+ StepActionsSection: I1,
96
97
  DiscoverabilityStep: G1,
97
98
  CategoriesStep: R1,
98
99
  ApplicationsStep: N1,
99
100
  ProjectNameStep: Z1,
100
101
  ProjectDescriptionStep: O1,
101
- ProjectStatusStep: A1,
102
+ ProjectStatusStep: B1,
102
103
  ProjectOrganisationStep: $1,
103
104
  SoftwareStep: te,
104
105
  DatasetStep: Y1,
@@ -109,6 +110,7 @@ const fe = h1({
109
110
  PlanenStep: ne,
110
111
  WeiterdenkenStep: se,
111
112
  BasicInformationStep: U1,
113
+ DataProcessingBasicInformationStep: ue,
112
114
  ProcessStepsOverviewStep: ee,
113
115
  ReviewStep: re,
114
116
  ProjektPhasenOverviewStep: ie,
@@ -119,12 +121,12 @@ const fe = h1({
119
121
  ProjectDpiDevTools: y1
120
122
  },
121
123
  computed: {
122
- ...p1("auth", [
124
+ ...d1("auth", [
123
125
  "getIsEditMode",
124
126
  "getUserCatalogIds",
125
127
  "getUserData"
126
128
  ]),
127
- ...p1("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
129
+ ...d1("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
128
130
  getTitleStep() {
129
131
  return Object.keys(this.formValues).filter(
130
132
  (e) => $(this.formValues[e], "dct:title")
@@ -138,7 +140,7 @@ const fe = h1({
138
140
  getFirstTitleFromForm() {
139
141
  try {
140
142
  const e = this.formValues[this.getTitleStep];
141
- return $(e, "dct:title") && e["dct:title"].length > 0 && $(e["dct:title"][0], "@value") && !o1(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
143
+ return $(e, "dct:title") && e["dct:title"].length > 0 && $(e["dct:title"][0], "@value") && !n1(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
142
144
  } catch {
143
145
  }
144
146
  },
@@ -147,8 +149,8 @@ const fe = h1({
147
149
  }
148
150
  },
149
151
  methods: {
150
- ...l1("auth", ["setIsEditMode", "setIsDraft"]),
151
- ...l1("dpiStore", [
152
+ ...p1("auth", ["setIsEditMode", "setIsDraft"]),
153
+ ...p1("dpiStore", [
152
154
  "saveFormValues",
153
155
  "saveLocalstorageValues",
154
156
  "clearAll"
@@ -158,7 +160,7 @@ const fe = h1({
158
160
  },
159
161
  // Route to the RAP Page
160
162
  goToRAP() {
161
- this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(t1(this.activeStep).value)[0];
163
+ this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(o1(this.activeStep).value)[0];
162
164
  },
163
165
  handleDistributionsValidation(e) {
164
166
  j1.emit("nextClicked", e);
@@ -168,13 +170,13 @@ const fe = h1({
168
170
  name: "DPI-Home-HappyFlow"
169
171
  }).href;
170
172
  },
171
- async dispatchDataToDPI(e, o, u, S) {
172
- var _, m;
173
- console.log("body:", e, o, "params:", u, S);
173
+ async dispatchDataToDPI(e, o, u, g) {
174
+ var P, m;
175
+ console.log("body:", e, o, "params:", u, g);
174
176
  try {
175
- S === "publish" && (u.token = this.getUserData.rtpToken, console.log(u.token), u.url = `${this.$env.api.hubUrl}catalogues/${u.catalog}/datasets/origin?originalId=${u.id}`, await this.$store.dispatch(o, u)), S === "draft" && await this.$store.dispatch(o, u), (_ = this.$Progress) == null || _.finish(), this.clearAll();
176
- } catch (D) {
177
- console.error(D), (m = this.$Progress) == null || m.fail();
177
+ g === "publish" && (u.token = this.getUserData.rtpToken, console.log(u.token), u.url = `${this.$env.api.hubUrl}catalogues/${u.catalog}/datasets/origin?originalId=${u.id}`, await this.$store.dispatch(o, u)), g === "draft" && await this.$store.dispatch(o, u), (P = this.$Progress) == null || P.finish(), this.clearAll();
178
+ } catch (H) {
179
+ console.error(H), (m = this.$Progress) == null || m.fail();
178
180
  }
179
181
  },
180
182
  clearForm() {
@@ -185,7 +187,7 @@ const fe = h1({
185
187
  },
186
188
  createDatasetID() {
187
189
  const e = this.formValues[this.getTitleStep];
188
- !$(e, "datasetID") || o1(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);
190
+ !$(e, "datasetID") || n1(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);
189
191
  },
190
192
  generateandTranslateSchema(e) {
191
193
  for (let o = 0; o < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; o++)
@@ -247,51 +249,51 @@ const fe = h1({
247
249
  // })
248
250
  // },
249
251
  setup() {
250
- const e = me(), { isEditMode: o } = Ce(), {
252
+ const e = Ce(), { isEditMode: o } = ce(), {
251
253
  steps: u,
252
- stepList: S,
253
- visitedSteps: _,
254
+ stepList: g,
255
+ visitedSteps: P,
254
256
  activeStep: m,
255
- stepPlugin: D,
257
+ stepPlugin: H,
256
258
  goToNextStep: C,
257
- goToPreviousStep: A,
258
- subSteps: B,
259
+ goToPreviousStep: B,
260
+ subSteps: A,
259
261
  previousStep: E,
260
262
  nextStep: U,
261
- current: b,
262
- goToStep: M,
263
+ current: D,
264
+ goToStep: I,
263
265
  isLast: a,
264
266
  triggerValidationCurrentStep: z
265
- } = T1(), { formValues: w } = F1(), { t: N, te: R } = b1(), G = v(!1), I = v(!1), k = v([]), F = x(() => m.value ? t1(m.value) : null), W = (l) => {
267
+ } = T1(), { formValues: b } = F1(), { t: N, te: R } = b1(), G = v(!1), M = v(!1), w = v([]), F = e1(() => m.value ? o1(m.value) : null), W = (l) => {
266
268
  if (!l)
267
269
  return;
268
270
  const f = f1(l);
269
- k.value = [], f.forEach((Z) => {
270
- k.value = k.value.concat(
271
+ w.value = [], f.forEach((Z) => {
272
+ w.value = w.value.concat(
271
273
  Z.map((c1) => c1.value)
272
274
  );
273
275
  });
274
- }, { translateSchema: J, createSchema: q, getSchema: K } = ce({
276
+ }, { translateSchema: J, createSchema: q, getSchema: K } = fe({
275
277
  t: N,
276
278
  te: R
277
279
  }), { y: Q } = v1({ behavior: "smooth" }), T = () => {
278
280
  Q.value = 0;
279
- }, X = V1({ OverviewPage: de }), g = v("");
280
- o.value && (m.value = "ReviewAndPublish", g.value = "reviewAndPublishPage");
281
- const y = H1(u), h = (l) => {
281
+ }, X = V1({ OverviewPage: de }), k = v("");
282
+ o.value && (m.value = "ReviewAndPublish", k.value = "reviewAndPublishPage");
283
+ const y = H1(u), S = (l) => {
282
284
  var Z;
283
285
  const f = (Z = y.value) == null ? void 0 : Z[l];
284
286
  return f ? f.valid : !1;
285
- }, V = v(!1), L = v(0);
286
- r1(m, (l) => {
287
- l === "review" && (V.value = !0, L.value++);
288
- }), r1(m, () => {
287
+ }, h = v(!1), L = v(0);
288
+ l1(m, (l) => {
289
+ l === "review" && (h.value = !0, L.value++);
290
+ }), l1(m, () => {
289
291
  T();
290
292
  });
291
293
  const Y = async () => {
292
294
  try {
293
295
  const l = "auth/createDataset", f = await L1(
294
- w.value,
296
+ b.value,
295
297
  e,
296
298
  // We'll need to access getUserData somehow - for now using a placeholder
297
299
  {},
@@ -306,44 +308,44 @@ const fe = h1({
306
308
  }
307
309
  };
308
310
  function j() {
309
- h(b.value) && C();
311
+ S(D.value) && C();
310
312
  }
311
- async function r() {
313
+ async function x() {
312
314
  z(), await D1();
313
- const l = F.value, f = l ? !h(b.value) : !1;
314
- f && W(l), I.value = f, a.value ? console.log("Form submitted", values.value) : j();
315
+ const l = F.value, f = l ? !S(D.value) : !1;
316
+ f && W(l), M.value = f, a.value ? console.log("Form submitted", values.value) : j();
315
317
  }
316
- const c = x(() => S.value.map((l) => ({ id: l, name: l }))), O = x({
318
+ const r = e1(() => g.value.map((l) => ({ id: l, name: l }))), c = e1({
317
319
  get() {
318
- return { id: b.value, name: b.value };
320
+ return { id: D.value, name: D.value };
319
321
  },
320
322
  set(l) {
321
- M(l.id);
323
+ I(l.id);
322
324
  }
323
- }), e1 = v(!1);
324
- function d1() {
325
- console.log("Form submittedo", w.value);
326
- const l = I1(w.value, { language: "de" });
325
+ }), O = v(!1);
326
+ function t1() {
327
+ console.log("Form submittedo", b.value);
328
+ const l = M1(b.value, { language: "de" });
327
329
  console.log("ld", l), window.alert(JSON.stringify(l, null, 2));
328
330
  }
329
331
  const u1 = v(!1), m1 = v(0);
330
332
  function C1(l) {
331
- M(l);
333
+ I(l);
332
334
  }
333
335
  return {
334
336
  steps: u,
335
- visitedSteps: _,
337
+ visitedSteps: P,
336
338
  activeStep: m,
337
- activeSubStep: g,
338
- subSteps: B,
339
+ activeSubStep: k,
340
+ subSteps: A,
339
341
  previousStep: E,
340
- stepList: S,
342
+ stepList: g,
341
343
  nextStep: U,
342
- stepPlugin: D,
343
- checkStepValidity: h,
344
+ stepPlugin: H,
345
+ checkStepValidity: S,
344
346
  goToNextStep: C,
345
347
  goToNextStepIfValid: j,
346
- goToPreviousStep: A,
348
+ goToPreviousStep: B,
347
349
  scrollToTop: T,
348
350
  library: X,
349
351
  isEditMode: o,
@@ -351,58 +353,58 @@ const fe = h1({
351
353
  createSchema: q,
352
354
  getSchema: K,
353
355
  dpiContext: e,
354
- formValues: w,
356
+ formValues: b,
355
357
  activeSimpleModal: G,
356
- shouldRenderReviewStep: V,
358
+ shouldRenderReviewStep: h,
357
359
  renderViewStepKey: L,
358
360
  handlePublish: Y,
359
- handleSubmit: r,
360
- showErrorSummary: I,
361
- validationMessages: k,
362
- stepOptions: c,
363
- stepSelect: O,
364
- hologramOpen: e1,
365
- submitto: d1,
361
+ handleSubmit: x,
362
+ showErrorSummary: M,
363
+ validationMessages: w,
364
+ stepOptions: r,
365
+ stepSelect: c,
366
+ hologramOpen: O,
367
+ submitto: t1,
366
368
  devToolsOpen: u1,
367
369
  nonce: m1,
368
370
  jumpToStep: C1
369
371
  };
370
372
  }
371
- }), ve = { class: "input-page-project form-container V3-typography" }, he = {
373
+ }), Se = { class: "input-page-project form-container V3-typography" }, ge = {
372
374
  key: 0,
373
375
  ref: "fkInputContainer",
374
376
  class: "inputContainer"
375
- }, Se = { class: "formContainer formkit" }, ge = { key: 0 }, Ve = { class: "dpiV3_stepper draftStepper" }, He = {
377
+ }, he = { class: "formContainer formkit" }, Ve = { key: 0 }, He = { class: "dpiV3_stepper draftStepper" }, De = {
376
378
  key: 0,
377
379
  class: "draftCTA"
378
- }, De = {
380
+ }, be = {
379
381
  key: 1,
380
382
  class: "draftCTA"
381
- }, be = { key: 1 }, we = {
383
+ }, we = { key: 1 }, ke = {
382
384
  key: 0,
383
385
  class: "dpiV3_stepper"
384
- }, ke = {
386
+ }, ye = {
385
387
  key: 1,
386
388
  class: "dpiV3_stepperLanding"
387
- }, ye = { class: "dpiV3_Illustration-Start" }, _e = {
389
+ }, Pe = { class: "dpiV3_Illustration-Start" }, _e = {
388
390
  key: 2,
389
391
  class: "steps"
390
- }, Pe = ["data-step-active", "data-step-valid", "onClick"], Me = { class: "stepBubbleWrap" }, Ie = { class: "circle stepCircle" }, Fe = ["textContent"], Te = {
392
+ }, Ie = ["data-step-active", "data-step-valid", "onClick"], Me = { class: "stepBubbleWrap" }, Fe = { class: "circle stepCircle" }, Te = ["textContent"], Le = {
391
393
  key: 0,
392
394
  class: "seperatorHorizontalStepper"
393
- }, Le = {
395
+ }, je = {
394
396
  key: 0,
395
397
  class: "step inactiveStep"
396
- }, je = { style: { position: "absolute", top: "0", left: "100%", width: "600px", height: "100%" } }, Oe = { style: { position: "sticky", top: "0" } }, Ze = { style: { "z-index": "1000", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%", width: "100%" } }, $e = { style: { "max-height": "720px", "overflow-y": "auto" } }, Ae = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, Be = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, Ee = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, Ue = { class: "step-content" }, ze = {
398
+ }, Oe = { style: { position: "absolute", top: "0", left: "100%", width: "600px", height: "100%" } }, Ze = { style: { position: "sticky", top: "0" } }, $e = { style: { "z-index": "1000", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%", width: "100%" } }, Be = { style: { "max-height": "720px", "overflow-y": "auto" } }, Ae = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, Ee = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, Ue = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, ze = { class: "step-content" }, Ne = {
397
399
  key: 0,
398
400
  class: "dpiV3_Card_Tips--error dpiV3_Card_Tips"
399
- }, Ne = { class: "validation-errors" };
400
- function Re(e, o, u, S, _, m) {
401
- const D = s("TextButtonSmall"), C = s("ButtonV3"), A = s("ProgressSteps"), B = s("Illustration"), E = s("Listbox"), U = s("Card"), b = s("ProjectDpiDevTools"), M = s("LandingProjectStep"), a = s("InputPageStep"), z = s("DiscoverabilityStep"), w = s("CategoriesStep"), N = s("ApplicationsStep"), R = s("ProjectNameStep"), G = s("ProjectDescriptionStep"), I = s("ProjectStatusStep"), k = s("ProjectOrganisationStep"), F = s("OptionalDataStep"), W = s("DpiModalBase"), J = s("ProjektPhasenOverviewStep"), q = s("InitiierenStep"), K = s("PlanenStep"), Q = s("UmstezenStep"), T = s("WeiterdenkenStep"), X = s("ProcessStepsOverviewStep"), g = s("BasicInformationStep"), y = s("SoftwareStep"), h = s("DatasetStep"), V = s("HardwareStep"), L = s("ReviewStep"), Y = s("FormKit"), j = s("ModalSimpleV3");
402
- return p(), d("div", ve, [
403
- e.isInput ? (p(), d("div", he, [
404
- n("div", Se, [
405
- (p(), n1(Y, {
401
+ }, Re = { class: "validation-errors" };
402
+ function Ge(e, o, u, g, P, m) {
403
+ const H = s("TextButtonSmall"), C = s("ButtonV3"), B = s("ProgressSteps"), A = s("Illustration"), E = s("Listbox"), U = s("Card"), D = s("ProjectDpiDevTools"), I = s("LandingProjectStep"), a = s("InputPageStep"), z = s("DiscoverabilityStep"), b = s("CategoriesStep"), N = s("ApplicationsStep"), R = s("ProjectNameStep"), G = s("ProjectDescriptionStep"), M = s("ProjectStatusStep"), w = s("ProjectOrganisationStep"), F = s("OptionalDataStep"), W = s("DpiModalBase"), J = s("ProjektPhasenOverviewStep"), q = s("InitiierenStep"), K = s("PlanenStep"), Q = s("UmstezenStep"), T = s("WeiterdenkenStep"), X = s("ProcessStepsOverviewStep"), k = s("BasicInformationStep"), y = s("SoftwareStep"), S = s("DatasetStep"), h = s("HardwareStep"), L = s("DataProcessingBasicInformationStep"), Y = s("ReviewStep"), j = s("FormKit"), x = s("ModalSimpleV3");
404
+ return p(), d("div", Se, [
405
+ e.isInput ? (p(), d("div", ge, [
406
+ n("div", he, [
407
+ (p(), i1(j, {
406
408
  id: "dpiForm",
407
409
  key: e.nonce,
408
410
  modelValue: e.formValues,
@@ -411,20 +413,20 @@ function Re(e, o, u, S, _, m) {
411
413
  actions: !1,
412
414
  plugins: [e.stepPlugin],
413
415
  class: "d-flex",
414
- onSubmit: o[9] || (o[9] = S1(() => {
416
+ onSubmit: o[9] || (o[9] = g1(() => {
415
417
  }, ["prevent"]))
416
418
  }, {
417
419
  default: i(() => [
418
- e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (p(), d("div", ge, [
419
- n("div", Ve, [
420
- t(D, {
420
+ e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (p(), d("div", Ve, [
421
+ n("div", He, [
422
+ t(H, {
421
423
  "button-text": "Übersicht",
422
424
  "icon-start": "CaretLeft",
423
425
  "icon-name": "caretLeft",
424
426
  onClick: e.gotToHome
425
427
  }, null, 8, ["onClick"]),
426
428
  n("div", null, [
427
- e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (p(), d("div", He, [
429
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (p(), d("div", De, [
428
430
  t(C, {
429
431
  "button-text": "Veröffentlichung aufheben",
430
432
  size: "large",
@@ -437,7 +439,7 @@ function Re(e, o, u, S, _, m) {
437
439
  "icon-end": "Out",
438
440
  onClick: e.todoHandler
439
441
  }, null, 8, ["onClick"])
440
- ])) : (p(), d("div", De, [
442
+ ])) : (p(), d("div", be, [
441
443
  t(C, {
442
444
  "button-text": "Veröffentlichen",
443
445
  size: "large",
@@ -446,8 +448,8 @@ function Re(e, o, u, S, _, m) {
446
448
  ]))
447
449
  ])
448
450
  ])
449
- ])) : (p(), d("div", be, [
450
- e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (p(), d("div", we, [
451
+ ])) : (p(), d("div", we, [
452
+ e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (p(), d("div", ke, [
451
453
  o[12] || (o[12] = n("svg", {
452
454
  width: "129",
453
455
  height: "48",
@@ -504,7 +506,7 @@ function Re(e, o, u, S, _, m) {
504
506
  fill: "#AEDFF8"
505
507
  })
506
508
  ], -1)),
507
- t(A, {
509
+ t(B, {
508
510
  checked: e.visitedSteps,
509
511
  "onUpdate:checked": o[0] || (o[0] = (r) => e.visitedSteps = r),
510
512
  current: e.activeStep,
@@ -512,7 +514,7 @@ function Re(e, o, u, S, _, m) {
512
514
  "hide-first": "",
513
515
  steps: e.stepList || []
514
516
  }, null, 8, ["checked", "current", "steps"])
515
- ])) : (p(), d("div", ke, [
517
+ ])) : (p(), d("div", ye, [
516
518
  o[13] || (o[13] = n("div", { class: "dpiV3_bydata_logo_wordmark" }, [
517
519
  n("svg", {
518
520
  width: "129",
@@ -571,53 +573,53 @@ function Re(e, o, u, S, _, m) {
571
573
  })
572
574
  ])
573
575
  ], -1)),
574
- n("div", ye, [
575
- t(B, { "illustration-name": "start" })
576
+ n("div", Pe, [
577
+ t(A, { "illustration-name": "start" })
576
578
  ])
577
579
  ]))
578
580
  ])),
579
581
  e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (p(), d("ul", _e, [
580
- (p(!0), d(i1, null, a1(e.steps, (r, c, O) => (p(), d("li", {
582
+ (p(!0), d(a1, null, s1(e.steps, (r, c, O) => (p(), d("li", {
581
583
  key: r,
582
- class: g1(["step", {
584
+ class: h1(["step", {
583
585
  activeItem: e.activeStep === c,
584
586
  inactiveStep: c != e.activeStep,
585
587
  "has-errors": e.checkStepValidity(c)
586
588
  }]),
587
589
  "data-step-active": e.activeStep === c,
588
590
  "data-step-valid": r.valid && r.errorCount === 0,
589
- onClick: (e1) => {
591
+ onClick: (t1) => {
590
592
  e.activeStep = c, e.update(), e.scrollToTop();
591
593
  }
592
594
  }, [
593
595
  n("div", Me, [
594
- n("div", Ie, P(O + 1), 1),
596
+ n("div", Fe, _(O + 1), 1),
595
597
  e.checkStepValidity(c) ? (p(), d("span", {
596
598
  key: 0,
597
599
  class: "step--errors",
598
- textContent: P(r.errorCount + r.blockingCount)
599
- }, null, 8, Fe)) : H("", !0),
600
- s1(P(e.$t(`message.dataupload.steps.${c}Step`)), 1)
600
+ textContent: _(r.errorCount + r.blockingCount)
601
+ }, null, 8, Te)) : V("", !0),
602
+ r1(_(e.$t(`message.dataupload.steps.${c}Step`)), 1)
601
603
  ]),
602
- O != Object.keys(e.steps).length ? (p(), d("div", Te)) : H("", !0)
603
- ], 10, Pe))), 128)),
604
- e.activeStep === "Overview" ? (p(), d("li", Le, o[14] || (o[14] = [
604
+ O != Object.keys(e.steps).length ? (p(), d("div", Le)) : V("", !0)
605
+ ], 10, Ie))), 128)),
606
+ e.activeStep === "Overview" ? (p(), d("li", je, o[14] || (o[14] = [
605
607
  n("div", { class: "circle stepCircle" }, null, -1)
606
- ]))) : H("", !0)
607
- ])) : H("", !0),
608
- n("div", je, [
609
- n("div", Oe, [
610
- n("details", Ze, [
608
+ ]))) : V("", !0)
609
+ ])) : V("", !0),
610
+ n("div", Oe, [
611
+ n("div", Ze, [
612
+ n("details", $e, [
611
613
  o[15] || (o[15] = n("summary", null, "Form Values", -1)),
612
- n("pre", $e, P(JSON.stringify(e.formValues, null, 2)), 1)
614
+ n("pre", Be, _(JSON.stringify(e.formValues, null, 2)), 1)
613
615
  ]),
614
616
  t(U, null, {
615
617
  title: i(() => o[16] || (o[16] = [
616
- s1(" dev view ", -1)
618
+ r1(" dev view ", -1)
617
619
  ])),
618
620
  default: i(() => [
619
621
  n("div", Ae, [
620
- n("div", Be, [
622
+ n("div", Ee, [
621
623
  t(C, {
622
624
  type: "button",
623
625
  variant: "secondary",
@@ -637,7 +639,7 @@ function Re(e, o, u, S, _, m) {
637
639
  onClick: e.handleSubmit
638
640
  }, null, 8, ["onClick"])
639
641
  ]),
640
- n("div", Ee, [
642
+ n("div", Ue, [
641
643
  t(C, {
642
644
  type: "button",
643
645
  variant: "secondary",
@@ -658,18 +660,18 @@ function Re(e, o, u, S, _, m) {
658
660
  _: 1
659
661
  })
660
662
  ]),
661
- t(b, {
663
+ t(D, {
662
664
  modelValue: e.devToolsOpen,
663
665
  "onUpdate:modelValue": o[5] || (o[5] = (r) => e.devToolsOpen = r),
664
666
  nonce: e.nonce,
665
667
  "onUpdate:nonce": o[6] || (o[6] = (r) => e.nonce = r)
666
668
  }, null, 8, ["modelValue", "nonce"])
667
669
  ]),
668
- n("div", Ue, [
670
+ n("div", ze, [
669
671
  n("div", null, [
670
672
  t(a, { name: "Landing" }, {
671
673
  default: i(() => [
672
- t(M)
674
+ t(I)
673
675
  ]),
674
676
  _: 1
675
677
  }),
@@ -681,7 +683,7 @@ function Re(e, o, u, S, _, m) {
681
683
  }),
682
684
  t(a, { name: "Auffindbarkeit/Kategorien" }, {
683
685
  default: i(() => [
684
- t(w)
686
+ t(b)
685
687
  ]),
686
688
  _: 1
687
689
  }),
@@ -705,13 +707,13 @@ function Re(e, o, u, S, _, m) {
705
707
  }),
706
708
  t(a, { name: "Grundlegende Informationen/Projektstatus" }, {
707
709
  default: i(() => [
708
- t(I)
710
+ t(M)
709
711
  ]),
710
712
  _: 1
711
713
  }),
712
714
  t(a, { name: "Grundlegende Informationen/Organisation" }, {
713
715
  default: i(() => [
714
- t(k, {
716
+ t(w, {
715
717
  "is-wip": "",
716
718
  icon: "https://storage.googleapis.com/open-data-public-files-050923/assets/v2/haar/favicon.png",
717
719
  address: "Bahnhofstraße 7",
@@ -776,7 +778,7 @@ function Re(e, o, u, S, _, m) {
776
778
  }),
777
779
  t(a, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
778
780
  default: i(() => [
779
- t(g)
781
+ t(k)
780
782
  ]),
781
783
  _: 1
782
784
  }),
@@ -791,7 +793,7 @@ function Re(e, o, u, S, _, m) {
791
793
  }),
792
794
  t(a, { name: "1. Datenerfassung/Datensätze" }, {
793
795
  default: i(() => [
794
- t(h, {
796
+ t(S, {
795
797
  "step-group": "1. Datenerfassung",
796
798
  edit: e.isEditMode
797
799
  }, null, 8, ["edit"])
@@ -800,7 +802,7 @@ function Re(e, o, u, S, _, m) {
800
802
  }),
801
803
  t(a, { name: "1. Datenerfassung/Hardware" }, {
802
804
  default: i(() => [
803
- t(V, {
805
+ t(h, {
804
806
  "step-group": "1. Datenerfassung",
805
807
  edit: ""
806
808
  })
@@ -809,7 +811,7 @@ function Re(e, o, u, S, _, m) {
809
811
  }),
810
812
  t(a, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
811
813
  default: i(() => [
812
- t(g)
814
+ t(L)
813
815
  ]),
814
816
  _: 1
815
817
  }),
@@ -824,7 +826,7 @@ function Re(e, o, u, S, _, m) {
824
826
  }),
825
827
  t(a, { name: "2. Datenverarbeitung/Datensätze" }, {
826
828
  default: i(() => [
827
- t(h, {
829
+ t(S, {
828
830
  "step-group": "2. Datenverarbeitung",
829
831
  edit: e.isEditMode
830
832
  }, null, 8, ["edit"])
@@ -833,7 +835,7 @@ function Re(e, o, u, S, _, m) {
833
835
  }),
834
836
  t(a, { name: "2. Datenverarbeitung/Hardware" }, {
835
837
  default: i(() => [
836
- t(V, {
838
+ t(h, {
837
839
  "step-group": "2. Datenverarbeitung",
838
840
  edit: ""
839
841
  })
@@ -842,7 +844,7 @@ function Re(e, o, u, S, _, m) {
842
844
  }),
843
845
  t(a, { name: "3. Datensimulation/Grundlegende Informationen" }, {
844
846
  default: i(() => [
845
- t(g)
847
+ t(k)
846
848
  ]),
847
849
  _: 1
848
850
  }),
@@ -857,7 +859,7 @@ function Re(e, o, u, S, _, m) {
857
859
  }),
858
860
  t(a, { name: "3. Datensimulation/Datensätze" }, {
859
861
  default: i(() => [
860
- t(h, {
862
+ t(S, {
861
863
  "step-group": "3. Datensimulation",
862
864
  edit: e.isEditMode
863
865
  }, null, 8, ["edit"])
@@ -866,7 +868,7 @@ function Re(e, o, u, S, _, m) {
866
868
  }),
867
869
  t(a, { name: "3. Datensimulation/Hardware" }, {
868
870
  default: i(() => [
869
- t(V, {
871
+ t(h, {
870
872
  "step-group": "3. Datensimulation",
871
873
  edit: ""
872
874
  })
@@ -875,7 +877,7 @@ function Re(e, o, u, S, _, m) {
875
877
  }),
876
878
  t(a, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
877
879
  default: i(() => [
878
- t(g)
880
+ t(k)
879
881
  ]),
880
882
  _: 1
881
883
  }),
@@ -890,7 +892,7 @@ function Re(e, o, u, S, _, m) {
890
892
  }),
891
893
  t(a, { name: "4. Datenvisualisierung/Datensätze" }, {
892
894
  default: i(() => [
893
- t(h, {
895
+ t(S, {
894
896
  "step-group": "4. Datenvisualisierung",
895
897
  edit: e.isEditMode
896
898
  }, null, 8, ["edit"])
@@ -899,7 +901,7 @@ function Re(e, o, u, S, _, m) {
899
901
  }),
900
902
  t(a, { name: "4. Datenvisualisierung/Hardware" }, {
901
903
  default: i(() => [
902
- t(V, {
904
+ t(h, {
903
905
  "step-group": "4. Datenvisualisierung",
904
906
  edit: ""
905
907
  })
@@ -908,7 +910,7 @@ function Re(e, o, u, S, _, m) {
908
910
  }),
909
911
  t(a, { name: "Vorschau" }, {
910
912
  default: i(() => [
911
- t(L, {
913
+ t(Y, {
912
914
  onSubmit: e.submitto,
913
915
  onJump: e.jumpToStep
914
916
  }, null, 8, ["onSubmit", "onJump"])
@@ -917,19 +919,19 @@ function Re(e, o, u, S, _, m) {
917
919
  })
918
920
  ]),
919
921
  o[18] || (o[18] = n("hr", null, null, -1)),
920
- e.showErrorSummary && e.validationMessages.length ? (p(), d("div", ze, [
922
+ e.showErrorSummary && e.validationMessages.length ? (p(), d("div", Ne, [
921
923
  o[17] || (o[17] = n("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
922
- n("ul", Ne, [
923
- (p(!0), d(i1, null, a1(e.validationMessages, (r) => (p(), d("li", { key: r }, P(r), 1))), 128))
924
+ n("ul", Re, [
925
+ (p(!0), d(a1, null, s1(e.validationMessages, (r) => (p(), d("li", { key: r }, _(r), 1))), 128))
924
926
  ])
925
- ])) : H("", !0),
927
+ ])) : V("", !0),
926
928
  o[19] || (o[19] = n("hr", null, null, -1)),
927
929
  o[20] || (o[20] = n("div", null, null, -1))
928
930
  ])
929
931
  ]),
930
932
  _: 1
931
933
  }, 8, ["modelValue", "plugins"])),
932
- e.activeSimpleModal ? (p(), n1(j, {
934
+ e.activeSimpleModal ? (p(), i1(x, {
933
935
  key: 0,
934
936
  buttons: e.modalSimpleConf.button,
935
937
  "header-text": e.modalSimpleConf.header,
@@ -937,12 +939,12 @@ function Re(e, o, u, S, _, m) {
937
939
  action: e.modalSimpleConf.action,
938
940
  onClose: o[10] || (o[10] = (r) => e.activeSimpleModal = !1),
939
941
  onActionHandling: o[11] || (o[11] = (r) => e.gotToHome())
940
- }, null, 8, ["buttons", "header-text", "text", "action"])) : H("", !0)
942
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : V("", !0)
941
943
  ])
942
- ], 512)) : H("", !0)
944
+ ], 512)) : V("", !0)
943
945
  ]);
944
946
  }
945
- const K3 = /* @__PURE__ */ ue(fe, [["render", Re]]);
947
+ const X3 = /* @__PURE__ */ me(ve, [["render", Ge]]);
946
948
  export {
947
- K3 as default
949
+ X3 as default
948
950
  };