@piveau/dpi 0.2.0-alpha.1 → 0.2.0-alpha.2

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.
@@ -4,40 +4,40 @@ import "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
5
5
  import { useWindowScroll as de } from "@vueuse/core";
6
6
  import "jquery";
7
- import { has as O, isNil as J } from "lodash-es";
8
- import { defineComponent as ue, resolveComponent as u, createElementBlock as p, openBlock as d, createCommentVNode as g, createElementVNode as s, createVNode as t, createBlock as Q, withModifiers as pe, withCtx as n, Fragment as X, renderList as Y, normalizeClass as me, createTextVNode as Z, toDisplayString as y, ref as b, computed as U, markRaw as ce, toRef as fe, watch as ve, nextTick as he } from "vue";
9
- import { useI18n as ge } from "vue-i18n";
7
+ import { has as A, isNil as J } from "lodash-es";
8
+ import { defineComponent as ue, resolveComponent as u, createElementBlock as p, openBlock as d, createCommentVNode as h, createElementVNode as s, createVNode as t, createBlock as Q, withModifiers as pe, withCtx as o, Fragment as X, renderList as Y, normalizeClass as me, createTextVNode as Z, toDisplayString as _, ref as D, computed as N, markRaw as ce, toRef as fe, watch as ve, nextTick as ge } from "vue";
9
+ import { useI18n as he } from "vue-i18n";
10
10
  import { mapActions as x, mapGetters as ee } from "vuex";
11
11
  import Se from "../../stories/components/DemoStep.vue.js";
12
- import be from "../../stories/components/ReviewStepDemo.vue.js";
13
- import ke from "../components/InputPageStep.vue.js";
14
- import De from "../components/ProgressSteps.vue.js";
15
- import Ve from "../components/StepActionsSection.vue.js";
16
- import { useFormValues as _e } from "../composables/useDpiFormValues.js";
17
- import { useDpiStepper as ye } from "../composables/useDpiStepper.js";
18
- import Ce from "../config/dcatapdeHappyFlow/converter.js";
19
- import { eventBus as we } from "../HappyFlowComponents/services/eventBus.js";
20
- import Ie from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
12
+ import De from "../../stories/components/ReviewStepDemo.vue.js";
13
+ import be from "../components/InputPageStep.vue.js";
14
+ import ke from "../components/ProgressSteps.vue.js";
15
+ import we from "../components/StepActionsSection.vue.js";
16
+ import { useFormValues as Ve } from "../composables/useDpiFormValues.js";
17
+ import { useDpiStepper as _e } from "../composables/useDpiStepper.js";
18
+ import Ie from "../config/dcatapdeHappyFlow/converter.js";
19
+ import { eventBus as ye } from "../HappyFlowComponents/services/eventBus.js";
20
+ import Ce from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
21
21
  import Te from "../HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
22
22
  import Pe from "../HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
23
23
  import $e from "../HappyFlowComponents/ui/ButtonV3.vue.js";
24
- import Fe from "../HappyFlowComponents/ui/Card.vue.js";
25
- import Oe from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
26
- import Ae from "../HappyFlowComponents/ui/Illustration.vue.js";
27
- import Me from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
28
- import je from "../HappyFlowComponents/ui/LogoV3.vue.js";
29
- import Be from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
30
- import He from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
31
- import Le from "../HappyFlowComponents/ui/WipStep.vue.js";
32
- import Ne from "./OverviewPage.vue.js";
24
+ import Ae from "../HappyFlowComponents/ui/Card.vue.js";
25
+ import Fe from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
26
+ import Oe from "../HappyFlowComponents/ui/Illustration.vue.js";
27
+ import He from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
28
+ import Me from "../HappyFlowComponents/ui/LogoV3.vue.js";
29
+ import je from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
30
+ import ze from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
31
+ import Be from "../HappyFlowComponents/ui/WipStep.vue.js";
32
+ import Le from "./OverviewPage.vue.js";
33
33
  /* empty css */
34
34
  /* empty css */
35
35
  /* empty css */
36
- import Re from "../../_virtual/_plugin-vue_export-helper.js";
37
- import { useDpiContext as Ue } from "../composables/useDpiContext.js";
38
- import { useEditModeInfo as ze } from "../composables/useDpiEditMode.js";
39
- import { useFormSchema as Ee } from "../composables/useFormSchema.js";
40
- const Ge = ue({
36
+ import Ge from "../../_virtual/_plugin-vue_export-helper.js";
37
+ import { useDpiContext as Ne } from "../composables/useDpiContext.js";
38
+ import { useEditModeInfo as Ue } from "../composables/useDpiEditMode.js";
39
+ import { useFormSchema as Re } from "../composables/useFormSchema.js";
40
+ const Ee = ue({
41
41
  props: {
42
42
  property: {
43
43
  required: !0,
@@ -59,27 +59,27 @@ const Ge = ue({
59
59
  };
60
60
  },
61
61
  components: {
62
- InputPageStep: ke,
62
+ InputPageStep: be,
63
63
  // DistributionInputPage,
64
- LogoV3: je,
64
+ LogoV3: Me,
65
65
  ButtonV3: $e,
66
- TextButtonSmall: He,
67
- Illustration: Ae,
66
+ TextButtonSmall: ze,
67
+ Illustration: Oe,
68
68
  // PhLightbulb,
69
69
  // PhCheckCircle,
70
- ModalSimpleV3: Be,
70
+ ModalSimpleV3: je,
71
71
  // DemoStepper,
72
72
  DemoStep: Se,
73
- ProgressSteps: De,
74
- ReviewStepDemo: be,
75
- StepActionsSection: Ve,
73
+ ProgressSteps: ke,
74
+ ReviewStepDemo: De,
75
+ StepActionsSection: we,
76
76
  ProjectNameStep: Te,
77
- ProjectDescriptionStep: Ie,
77
+ ProjectDescriptionStep: Ce,
78
78
  ProjectOrganisationStep: Pe,
79
- Card: Fe,
80
- Listbox: Me,
81
- DpiModalBase: Oe,
82
- WipStep: Le
79
+ Card: Ae,
80
+ Listbox: He,
81
+ DpiModalBase: Fe,
82
+ WipStep: Be
83
83
  },
84
84
  computed: {
85
85
  ...ee("auth", [
@@ -90,7 +90,7 @@ const Ge = ue({
90
90
  ...ee("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
91
91
  getTitleStep() {
92
92
  return Object.keys(this.formValues).filter(
93
- (e) => O(this.formValues[e], "dct:title")
93
+ (e) => A(this.formValues[e], "dct:title")
94
94
  )[0];
95
95
  },
96
96
  createIDFromTitle() {
@@ -101,7 +101,7 @@ const Ge = ue({
101
101
  getFirstTitleFromForm() {
102
102
  try {
103
103
  const e = this.formValues[this.getTitleStep];
104
- return O(e, "dct:title") && e["dct:title"].length > 0 && O(e["dct:title"][0], "@value") && !J(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
104
+ return A(e, "dct:title") && e["dct:title"].length > 0 && A(e["dct:title"][0], "@value") && !J(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
105
105
  } catch {
106
106
  }
107
107
  },
@@ -124,20 +124,20 @@ const Ge = ue({
124
124
  this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(q(this.activeStep).value)[0];
125
125
  },
126
126
  handleDistributionsValidation(e) {
127
- we.emit("nextClicked", e);
127
+ ye.emit("nextClicked", e);
128
128
  },
129
129
  gotToHome() {
130
130
  window.location.href = this.$router.resolve({
131
131
  name: "DPI-Home-HappyFlow"
132
132
  }).href;
133
133
  },
134
- async dispatchDataToDPI(e, o, m, S) {
135
- var _, f;
136
- console.log("body:", e, o, "params:", m, S);
134
+ async dispatchDataToDPI(e, n, m, S) {
135
+ var V, f;
136
+ console.log("body:", e, n, "params:", m, S);
137
137
  try {
138
- S === "publish" && (m.token = this.getUserData.rtpToken, console.log(m.token), m.url = `${this.$env.api.hubUrl}catalogues/${m.catalog}/datasets/origin?originalId=${m.id}`, await this.$store.dispatch(o, m)), S === "draft" && await this.$store.dispatch(o, m), (_ = this.$Progress) == null || _.finish(), this.clearAll();
139
- } catch (k) {
140
- console.error(k), (f = this.$Progress) == null || f.fail();
138
+ S === "publish" && (m.token = this.getUserData.rtpToken, console.log(m.token), m.url = `${this.$env.api.hubUrl}catalogues/${m.catalog}/datasets/origin?originalId=${m.id}`, await this.$store.dispatch(n, m)), S === "draft" && await this.$store.dispatch(n, m), (V = this.$Progress) == null || V.finish(), this.clearAll();
139
+ } catch (b) {
140
+ console.error(b), (f = this.$Progress) == null || f.fail();
141
141
  }
142
142
  },
143
143
  clearForm() {
@@ -148,21 +148,21 @@ const Ge = ue({
148
148
  },
149
149
  createDatasetID() {
150
150
  const e = this.formValues[this.getTitleStep];
151
- !O(e, "datasetID") || J(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);
151
+ !A(e, "datasetID") || J(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);
152
152
  },
153
153
  generateandTranslateSchema(e) {
154
- for (let o = 0; o < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; o++)
154
+ for (let n = 0; n < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; n++)
155
155
  this.createSchema({
156
156
  property: e,
157
157
  page: this.getNavSteps(
158
158
  this.$env.content.dataProviderInterface.specification
159
- )[e][o],
159
+ )[e][n],
160
160
  specification: this.$env.content.dataProviderInterface.specification
161
161
  }), this.translateSchema({
162
162
  property: e,
163
163
  page: this.getNavSteps(
164
164
  this.$env.content.dataProviderInterface.specification
165
- )[e][o]
165
+ )[e][n]
166
166
  });
167
167
  }
168
168
  },
@@ -210,49 +210,49 @@ const Ge = ue({
210
210
  // })
211
211
  // },
212
212
  setup() {
213
- const e = Ue(), { isEditMode: o } = ze(), {
213
+ const e = Ne(), { isEditMode: n } = Ue(), {
214
214
  steps: m,
215
215
  stepList: S,
216
- visitedSteps: _,
216
+ visitedSteps: V,
217
217
  activeStep: f,
218
- stepPlugin: k,
218
+ stepPlugin: b,
219
219
  goToNextStep: v,
220
- goToPreviousStep: C,
221
- subSteps: A,
222
- previousStep: M,
223
- nextStep: w,
224
- current: D,
225
- isLast: i,
226
- triggerValidationCurrentStep: a
227
- } = ye(), { formValues: I } = _e(), { t: j, te: T } = ge(), B = b(!1), P = b(!1), V = b([]), H = U(() => f.value ? q(f.value) : null), L = (l) => {
220
+ goToPreviousStep: I,
221
+ subSteps: F,
222
+ previousStep: O,
223
+ nextStep: y,
224
+ current: k,
225
+ isLast: a,
226
+ triggerValidationCurrentStep: i
227
+ } = _e(), { formValues: C } = Ve(), { t: H, te: M } = he(), j = D(!1), T = D(!1), w = D([]), z = N(() => f.value ? q(f.value) : null), B = (l) => {
228
228
  if (!l)
229
229
  return;
230
230
  const c = le(l);
231
- V.value = [], c.forEach((F) => {
232
- V.value = V.value.concat(
233
- F.map((se) => se.value)
231
+ w.value = [], c.forEach(($) => {
232
+ w.value = w.value.concat(
233
+ $.map((se) => se.value)
234
234
  );
235
235
  });
236
- }, { translateSchema: N, createSchema: r, getSchema: h } = Ee({
237
- t: j,
238
- te: T
239
- }), $ = () => {
236
+ }, { translateSchema: L, createSchema: r, getSchema: g } = Re({
237
+ t: H,
238
+ te: M
239
+ }), P = () => {
240
240
  let { x: l, y: c } = de({ behavior: "smooth" });
241
241
  c.value = 0;
242
- }, z = ce({ OverviewPage: Ne }), E = b("");
243
- o.value && (f.value = "ReviewAndPublish", E.value = "reviewAndPublishPage");
244
- const te = fe(m), R = (l) => {
245
- var F;
246
- const c = (F = te.value) == null ? void 0 : F[l];
242
+ }, U = ce({ OverviewPage: Le }), R = D("");
243
+ n.value && (f.value = "ReviewAndPublish", R.value = "reviewAndPublishPage");
244
+ const te = fe(m), G = (l) => {
245
+ var $;
246
+ const c = ($ = te.value) == null ? void 0 : $[l];
247
247
  return c ? c.valid : !1;
248
- }, G = b(!1), W = b(0);
248
+ }, E = D(!1), W = D(0);
249
249
  ve(f, (l) => {
250
- l === "review" && (G.value = !0, W.value++);
250
+ l === "review" && (E.value = !0, W.value++);
251
251
  });
252
- const oe = async () => {
252
+ const ne = async () => {
253
253
  try {
254
- const l = "auth/createDataset", c = await Ce(
255
- I.value,
254
+ const l = "auth/createDataset", c = await Ie(
255
+ C.value,
256
256
  e,
257
257
  // We'll need to access getUserData somehow - for now using a placeholder
258
258
  {},
@@ -267,52 +267,52 @@ const Ge = ue({
267
267
  }
268
268
  };
269
269
  function K() {
270
- R(D.value) && v();
270
+ G(k.value) && v();
271
271
  }
272
- async function ne() {
273
- a(), await he();
274
- const l = H.value, c = l ? !R(D.value) : !1;
275
- c && L(l), P.value = c, i.value ? console.log("Form submitted", values.value) : K();
272
+ async function oe() {
273
+ i(), await ge();
274
+ const l = z.value, c = l ? !G(k.value) : !1;
275
+ c && B(l), T.value = c, a.value ? console.log("Form submitted", values.value) : K();
276
276
  }
277
- const ie = U(() => S.value.map((l) => ({ id: l, name: l }))), ae = U({
277
+ const ae = N(() => S.value.map((l) => ({ id: l, name: l }))), ie = N({
278
278
  get() {
279
- return { id: D.value, name: D.value };
279
+ return { id: k.value, name: k.value };
280
280
  },
281
281
  set(l) {
282
282
  goToStep(l.id);
283
283
  }
284
- }), re = b(!1);
284
+ }), re = D(!1);
285
285
  return {
286
286
  steps: m,
287
- visitedSteps: _,
287
+ visitedSteps: V,
288
288
  activeStep: f,
289
- activeSubStep: E,
290
- subSteps: A,
291
- previousStep: M,
289
+ activeSubStep: R,
290
+ subSteps: F,
291
+ previousStep: O,
292
292
  stepList: S,
293
- nextStep: w,
294
- stepPlugin: k,
295
- checkStepValidity: R,
293
+ nextStep: y,
294
+ stepPlugin: b,
295
+ checkStepValidity: G,
296
296
  goToNextStep: v,
297
297
  goToNextStepIfValid: K,
298
- goToPreviousStep: C,
299
- scrollToTop: $,
300
- library: z,
301
- isEditMode: o,
302
- translateSchema: N,
298
+ goToPreviousStep: I,
299
+ scrollToTop: P,
300
+ library: U,
301
+ isEditMode: n,
302
+ translateSchema: L,
303
303
  createSchema: r,
304
- getSchema: h,
304
+ getSchema: g,
305
305
  dpiContext: e,
306
- formValues: I,
307
- activeSimpleModal: B,
308
- shouldRenderReviewStep: G,
306
+ formValues: C,
307
+ activeSimpleModal: j,
308
+ shouldRenderReviewStep: E,
309
309
  renderViewStepKey: W,
310
- handlePublish: oe,
311
- handleSubmit: ne,
312
- showErrorSummary: P,
313
- validationMessages: V,
314
- stepOptions: ie,
315
- stepSelect: ae,
310
+ handlePublish: ne,
311
+ handleSubmit: oe,
312
+ showErrorSummary: T,
313
+ validationMessages: w,
314
+ stepOptions: ae,
315
+ stepSelect: ie,
316
316
  hologramOpen: re
317
317
  };
318
318
  }
@@ -332,10 +332,10 @@ const Ge = ue({
332
332
  }, et = {
333
333
  key: 1,
334
334
  class: "dpiV3_stepperLanding"
335
- }, tt = { class: "dpiV3_bydata_logo_wordmark" }, ot = { class: "dpiV3_Illustration-Start" }, nt = {
335
+ }, tt = { class: "dpiV3_bydata_logo_wordmark" }, nt = { class: "dpiV3_Illustration-Start" }, ot = {
336
336
  key: 2,
337
337
  class: "steps"
338
- }, it = ["data-step-active", "data-step-valid", "onClick"], at = { class: "stepBubbleWrap" }, rt = { class: "circle stepCircle" }, st = ["textContent"], lt = {
338
+ }, at = ["data-step-active", "data-step-valid", "onClick"], it = { class: "stepBubbleWrap" }, rt = { class: "circle stepCircle" }, st = ["textContent"], lt = {
339
339
  key: 0,
340
340
  class: "seperatorHorizontalStepper"
341
341
  }, dt = {
@@ -344,27 +344,27 @@ const Ge = ue({
344
344
  }, ut = { class: "step-content" }, pt = { style: { margin: "1rem 2.5rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%" } }, mt = { style: {} }, ct = {
345
345
  key: 0,
346
346
  class: "dpiV3_Card_Tips--error dpiV3_Card_Tips"
347
- }, ft = { class: "validation-errors" }, vt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, ht = { class: "dev-actions" };
348
- function gt(e, o, m, S, _, f) {
349
- const k = u("TextButtonSmall"), v = u("ButtonV3"), C = u("LogoV3"), A = u("ProgressSteps"), M = u("Illustration"), w = u("DemoStep"), D = u("DpiModalBase"), i = u("InputPageStep"), a = u("WipStep"), I = u("ProjectNameStep"), j = u("ProjectOrganisationStep"), T = u("ProjectDescriptionStep"), B = u("ReviewStepDemo"), P = u("StepActionsSection"), V = u("Listbox"), H = u("Card"), L = u("FormKit"), N = u("ModalSimpleV3");
347
+ }, ft = { class: "validation-errors" }, vt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, gt = { class: "dev-actions" };
348
+ function ht(e, n, m, S, V, f) {
349
+ const b = u("TextButtonSmall"), v = u("ButtonV3"), I = u("LogoV3"), F = u("ProgressSteps"), O = u("Illustration"), y = u("DemoStep"), k = u("DpiModalBase"), a = u("InputPageStep"), i = u("WipStep"), C = u("ProjectNameStep"), H = u("ProjectDescriptionStep"), M = u("ProjectOrganisationStep"), j = u("ReviewStepDemo"), T = u("StepActionsSection"), w = u("Listbox"), z = u("Card"), B = u("FormKit"), L = u("ModalSimpleV3");
350
350
  return d(), p("div", We, [
351
351
  e.isInput ? (d(), p("div", Ke, [
352
352
  s("div", qe, [
353
- t(L, {
353
+ t(B, {
354
354
  id: "dpiForm",
355
355
  modelValue: e.formValues,
356
- "onUpdate:modelValue": o[5] || (o[5] = (r) => e.formValues = r),
356
+ "onUpdate:modelValue": n[5] || (n[5] = (r) => e.formValues = r),
357
357
  type: "form",
358
358
  actions: !1,
359
359
  plugins: [e.stepPlugin],
360
360
  class: "d-flex",
361
- onSubmit: o[6] || (o[6] = pe(() => {
361
+ onSubmit: n[6] || (n[6] = pe(() => {
362
362
  }, ["prevent"]))
363
363
  }, {
364
- default: n(() => [
364
+ default: o(() => [
365
365
  e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (d(), p("div", Je, [
366
366
  s("div", Qe, [
367
- t(k, {
367
+ t(b, {
368
368
  "button-text": "Übersicht",
369
369
  "icon-start": "CaretLeft",
370
370
  "icon-name": "caretLeft",
@@ -395,68 +395,68 @@ function gt(e, o, m, S, _, f) {
395
395
  ])
396
396
  ])) : (d(), p("div", Ze, [
397
397
  e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (d(), p("div", xe, [
398
- t(C),
399
- t(A, {
398
+ t(I),
399
+ t(F, {
400
400
  checked: e.visitedSteps,
401
- "onUpdate:checked": o[0] || (o[0] = (r) => e.visitedSteps = r),
401
+ "onUpdate:checked": n[0] || (n[0] = (r) => e.visitedSteps = r),
402
402
  current: e.activeStep,
403
- "onUpdate:current": o[1] || (o[1] = (r) => e.activeStep = r),
403
+ "onUpdate:current": n[1] || (n[1] = (r) => e.activeStep = r),
404
404
  steps: e.stepList || []
405
405
  }, null, 8, ["checked", "current", "steps"])
406
406
  ])) : (d(), p("div", et, [
407
407
  s("div", tt, [
408
- t(C)
408
+ t(I)
409
409
  ]),
410
- s("div", ot, [
411
- t(M, { "illustration-name": "start" })
410
+ s("div", nt, [
411
+ t(O, { "illustration-name": "start" })
412
412
  ])
413
413
  ]))
414
414
  ])),
415
- e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (d(), p("ul", nt, [
416
- (d(!0), p(X, null, Y(e.steps, (r, h, $) => (d(), p("li", {
415
+ e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (d(), p("ul", ot, [
416
+ (d(!0), p(X, null, Y(e.steps, (r, g, P) => (d(), p("li", {
417
417
  key: r,
418
418
  class: me(["step", {
419
- activeItem: e.activeStep === h,
420
- inactiveStep: h != e.activeStep,
421
- "has-errors": e.checkStepValidity(h)
419
+ activeItem: e.activeStep === g,
420
+ inactiveStep: g != e.activeStep,
421
+ "has-errors": e.checkStepValidity(g)
422
422
  }]),
423
- "data-step-active": e.activeStep === h,
423
+ "data-step-active": e.activeStep === g,
424
424
  "data-step-valid": r.valid && r.errorCount === 0,
425
- onClick: (z) => {
426
- e.activeStep = h, e.update(), e.scrollToTop();
425
+ onClick: (U) => {
426
+ e.activeStep = g, e.update(), e.scrollToTop();
427
427
  }
428
428
  }, [
429
- s("div", at, [
430
- s("div", rt, y($ + 1), 1),
431
- e.checkStepValidity(h) ? (d(), p("span", {
429
+ s("div", it, [
430
+ s("div", rt, _(P + 1), 1),
431
+ e.checkStepValidity(g) ? (d(), p("span", {
432
432
  key: 0,
433
433
  class: "step--errors",
434
- textContent: y(r.errorCount + r.blockingCount)
435
- }, null, 8, st)) : g("", !0),
436
- Z(y(e.$t(`message.dataupload.steps.${h}Step`)), 1)
434
+ textContent: _(r.errorCount + r.blockingCount)
435
+ }, null, 8, st)) : h("", !0),
436
+ Z(_(e.$t(`message.dataupload.steps.${g}Step`)), 1)
437
437
  ]),
438
- $ != Object.keys(e.steps).length ? (d(), p("div", lt)) : g("", !0)
439
- ], 10, it))), 128)),
440
- e.activeStep === "Overview" ? (d(), p("li", dt, o[9] || (o[9] = [
438
+ P != Object.keys(e.steps).length ? (d(), p("div", lt)) : h("", !0)
439
+ ], 10, at))), 128)),
440
+ e.activeStep === "Overview" ? (d(), p("li", dt, n[9] || (n[9] = [
441
441
  s("div", { class: "circle stepCircle" }, null, -1)
442
- ]))) : g("", !0)
443
- ])) : g("", !0),
442
+ ]))) : h("", !0)
443
+ ])) : h("", !0),
444
444
  s("div", ut, [
445
445
  s("details", pt, [
446
- o[10] || (o[10] = s("summary", null, "Form Values", -1)),
447
- s("pre", mt, y(JSON.stringify(e.formValues, null, 2)), 1)
446
+ n[10] || (n[10] = s("summary", null, "Form Values", -1)),
447
+ s("pre", mt, _(JSON.stringify(e.formValues, null, 2)), 1)
448
448
  ]),
449
449
  s("div", null, [
450
- t(i, { name: "Auffindbarkeit/Sichtbarkeit" }, {
451
- default: n(() => [
452
- t(w),
453
- t(D, {
450
+ t(a, { name: "Auffindbarkeit/Sichtbarkeit" }, {
451
+ default: o(() => [
452
+ t(y, { name: "Auffindbarkeit/Sichtbarkeit" }),
453
+ t(k, {
454
454
  modelValue: e.hologramOpen,
455
- "onUpdate:modelValue": o[2] || (o[2] = (r) => e.hologramOpen = r)
455
+ "onUpdate:modelValue": n[2] || (n[2] = (r) => e.hologramOpen = r)
456
456
  }, {
457
- default: n(() => [
457
+ default: o(() => [
458
458
  s("div", null, [
459
- t(w)
459
+ t(y)
460
460
  ])
461
461
  ]),
462
462
  _: 1
@@ -464,206 +464,206 @@ function gt(e, o, m, S, _, f) {
464
464
  ]),
465
465
  _: 1
466
466
  }),
467
- t(i, { name: "Auffindbarkeit/Kategorien" }, {
468
- default: n(() => [
469
- t(a)
467
+ t(a, { name: "Auffindbarkeit/Kategorien" }, {
468
+ default: o(() => [
469
+ t(i, { name: "Auffindbarkeit/Kategorien" })
470
470
  ]),
471
471
  _: 1
472
472
  }),
473
- t(i, { name: "Auffindbarkeit/Anwendungsbereiche" }, {
474
- default: n(() => [
475
- t(a)
473
+ t(a, { name: "Auffindbarkeit/Anwendungsbereiche" }, {
474
+ default: o(() => [
475
+ t(i, { name: "Auffindbarkeit/Anwendungsbereiche" })
476
476
  ]),
477
477
  _: 1
478
478
  }),
479
- t(i, { name: "Grundlegende Informationen/Name" }, {
480
- default: n(() => [
481
- t(I)
479
+ t(a, { name: "Grundlegende Informationen/Name" }, {
480
+ default: o(() => [
481
+ t(C)
482
482
  ]),
483
483
  _: 1
484
484
  }),
485
- t(i, { name: "Grundlegende Informationen/Beschreibung" }, {
486
- default: n(() => [
487
- t(j)
485
+ t(a, { name: "Grundlegende Informationen/Beschreibung" }, {
486
+ default: o(() => [
487
+ t(H)
488
488
  ]),
489
489
  _: 1
490
490
  }),
491
- t(i, { name: "Grundlegende Informationen/Projektstatus" }, {
492
- default: n(() => [
493
- t(T)
491
+ t(a, { name: "Grundlegende Informationen/Projektstatus" }, {
492
+ default: o(() => [
493
+ t(M)
494
494
  ]),
495
495
  _: 1
496
496
  }),
497
- t(i, { name: "Grundlegende Informationen/Organisation" }, {
498
- default: n(() => [
499
- t(T)
497
+ t(a, { name: "Grundlegende Informationen/Organisation" }, {
498
+ default: o(() => [
499
+ t(i, { name: "Grundlegende Informationen/Organisation" })
500
500
  ]),
501
501
  _: 1
502
502
  }),
503
- t(i, { name: "Optionale Daten" }, {
504
- default: n(() => [
505
- t(a)
503
+ t(a, { name: "Optionale Daten" }, {
504
+ default: o(() => [
505
+ t(i, { name: "Optionale Daten" })
506
506
  ]),
507
507
  _: 1
508
508
  }),
509
- t(i, { name: "Initiieren" }, {
510
- default: n(() => [
511
- t(a)
509
+ t(a, { name: "Initiieren" }, {
510
+ default: o(() => [
511
+ t(i, { name: "Initiieren" })
512
512
  ]),
513
513
  _: 1
514
514
  }),
515
- t(i, { name: "Planen" }, {
516
- default: n(() => [
517
- t(a)
515
+ t(a, { name: "Planen" }, {
516
+ default: o(() => [
517
+ t(i, { name: "Planen" })
518
518
  ]),
519
519
  _: 1
520
520
  }),
521
- t(i, { name: "Umsetzen" }, {
522
- default: n(() => [
523
- t(a)
521
+ t(a, { name: "Umsetzen" }, {
522
+ default: o(() => [
523
+ t(i, { name: "Umsetzen" })
524
524
  ]),
525
525
  _: 1
526
526
  }),
527
- t(i, { name: "Weiterdenken" }, {
528
- default: n(() => [
529
- t(a)
527
+ t(a, { name: "Weiterdenken" }, {
528
+ default: o(() => [
529
+ t(i, { name: "Weiterdenken" })
530
530
  ]),
531
531
  _: 1
532
532
  }),
533
- t(i, { name: "Technische Prozessschritte" }, {
534
- default: n(() => [
535
- t(a)
533
+ t(a, { name: "Technische Prozessschritte" }, {
534
+ default: o(() => [
535
+ t(i, { name: "Technische Prozessschritte" })
536
536
  ]),
537
537
  _: 1
538
538
  }),
539
- t(i, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
540
- default: n(() => [
541
- t(a)
539
+ t(a, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
540
+ default: o(() => [
541
+ t(i, { name: "1. Datenerfassung/Grundlegende Informationen" })
542
542
  ]),
543
543
  _: 1
544
544
  }),
545
- t(i, { name: "1. Datenerfassung/Software" }, {
546
- default: n(() => [
547
- t(a)
545
+ t(a, { name: "1. Datenerfassung/Software" }, {
546
+ default: o(() => [
547
+ t(i, { name: "1. Datenerfassung/Software" })
548
548
  ]),
549
549
  _: 1
550
550
  }),
551
- t(i, { name: "1. Datenerfassung/Datensätze" }, {
552
- default: n(() => [
553
- t(a)
551
+ t(a, { name: "1. Datenerfassung/Datensätze" }, {
552
+ default: o(() => [
553
+ t(i, { name: "1. Datenerfassung/Datensätze" })
554
554
  ]),
555
555
  _: 1
556
556
  }),
557
- t(i, { name: "1. Datenerfassung/Hardware" }, {
558
- default: n(() => [
559
- t(a)
557
+ t(a, { name: "1. Datenerfassung/Hardware" }, {
558
+ default: o(() => [
559
+ t(i, { name: "1. Datenerfassung/Hardware" })
560
560
  ]),
561
561
  _: 1
562
562
  }),
563
- t(i, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
564
- default: n(() => [
565
- t(a)
563
+ t(a, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
564
+ default: o(() => [
565
+ t(i, { name: "2. Datenverarbeitung/Grundlegende Informationen" })
566
566
  ]),
567
567
  _: 1
568
568
  }),
569
- t(i, { name: "2. Datenverarbeitung/Software" }, {
570
- default: n(() => [
571
- t(a)
569
+ t(a, { name: "2. Datenverarbeitung/Software" }, {
570
+ default: o(() => [
571
+ t(i, { name: "2. Datenverarbeitung/Software" })
572
572
  ]),
573
573
  _: 1
574
574
  }),
575
- t(i, { name: "2. Datenverarbeitung/Datensätze" }, {
576
- default: n(() => [
577
- t(a)
575
+ t(a, { name: "2. Datenverarbeitung/Datensätze" }, {
576
+ default: o(() => [
577
+ t(i, { name: "2. Datenverarbeitung/Datensätze" })
578
578
  ]),
579
579
  _: 1
580
580
  }),
581
- t(i, { name: "2. Datenverarbeitung/Hardware" }, {
582
- default: n(() => [
583
- t(a)
581
+ t(a, { name: "2. Datenverarbeitung/Hardware" }, {
582
+ default: o(() => [
583
+ t(i, { name: "2. Datenverarbeitung/Hardware" })
584
584
  ]),
585
585
  _: 1
586
586
  }),
587
- t(i, { name: "3. Datensimulation/Grundlegende Informationen" }, {
588
- default: n(() => [
589
- t(a)
587
+ t(a, { name: "3. Datensimulation/Grundlegende Informationen" }, {
588
+ default: o(() => [
589
+ t(i, { name: "3. Datensimulation/Grundlegende Informationen" })
590
590
  ]),
591
591
  _: 1
592
592
  }),
593
- t(i, { name: "3. Datensimulation/Software" }, {
594
- default: n(() => [
595
- t(a)
593
+ t(a, { name: "3. Datensimulation/Software" }, {
594
+ default: o(() => [
595
+ t(i, { name: "3. Datensimulation/Software" })
596
596
  ]),
597
597
  _: 1
598
598
  }),
599
- t(i, { name: "3. Datensimulation/Datensätze" }, {
600
- default: n(() => [
601
- t(a)
599
+ t(a, { name: "3. Datensimulation/Datensätze" }, {
600
+ default: o(() => [
601
+ t(i, { name: "3. Datensimulation/Datensätze" })
602
602
  ]),
603
603
  _: 1
604
604
  }),
605
- t(i, { name: "3. Datensimulation/Hardware" }, {
606
- default: n(() => [
607
- t(a)
605
+ t(a, { name: "3. Datensimulation/Hardware" }, {
606
+ default: o(() => [
607
+ t(i, { name: "3. Datensimulation/Hardware" })
608
608
  ]),
609
609
  _: 1
610
610
  }),
611
- t(i, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
612
- default: n(() => [
613
- t(a)
611
+ t(a, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
612
+ default: o(() => [
613
+ t(i, { name: "4. Datenvisualisierung/Grundlegende Informationen" })
614
614
  ]),
615
615
  _: 1
616
616
  }),
617
- t(i, { name: "4. Datenvisualisierung/Software" }, {
618
- default: n(() => [
619
- t(a)
617
+ t(a, { name: "4. Datenvisualisierung/Software" }, {
618
+ default: o(() => [
619
+ t(i, { name: "4. Datenvisualisierung/Software" })
620
620
  ]),
621
621
  _: 1
622
622
  }),
623
- t(i, { name: "4. Datenvisualisierung/Datensätze" }, {
624
- default: n(() => [
625
- t(a)
623
+ t(a, { name: "4. Datenvisualisierung/Datensätze" }, {
624
+ default: o(() => [
625
+ t(i, { name: "4. Datenvisualisierung/Datensätze" })
626
626
  ]),
627
627
  _: 1
628
628
  }),
629
- t(i, { name: "4. Datenvisualisierung/Hardware" }, {
630
- default: n(() => [
631
- t(a)
629
+ t(a, { name: "4. Datenvisualisierung/Hardware" }, {
630
+ default: o(() => [
631
+ t(i, { name: "4. Datenvisualisierung/Hardware" })
632
632
  ]),
633
633
  _: 1
634
634
  }),
635
- t(i, { name: "Vorschau" }, {
636
- default: n(() => [
637
- e.shouldRenderReviewStep ? (d(), Q(B, {
635
+ t(a, { name: "Vorschau" }, {
636
+ default: o(() => [
637
+ e.shouldRenderReviewStep ? (d(), Q(j, {
638
638
  key: e.renderViewStepKey,
639
639
  values: e.formValues
640
- }, null, 8, ["values"])) : g("", !0),
641
- t(P)
640
+ }, null, 8, ["values"])) : h("", !0),
641
+ t(T)
642
642
  ]),
643
643
  _: 1
644
644
  })
645
645
  ]),
646
- o[13] || (o[13] = s("hr", null, null, -1)),
646
+ n[13] || (n[13] = s("hr", null, null, -1)),
647
647
  e.showErrorSummary && e.validationMessages.length ? (d(), p("div", ct, [
648
- o[11] || (o[11] = s("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
648
+ n[11] || (n[11] = s("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
649
649
  s("ul", ft, [
650
- (d(!0), p(X, null, Y(e.validationMessages, (r) => (d(), p("li", { key: r }, y(r), 1))), 128))
650
+ (d(!0), p(X, null, Y(e.validationMessages, (r) => (d(), p("li", { key: r }, _(r), 1))), 128))
651
651
  ])
652
- ])) : g("", !0),
653
- o[14] || (o[14] = s("hr", null, null, -1)),
652
+ ])) : h("", !0),
653
+ n[14] || (n[14] = s("hr", null, null, -1)),
654
654
  s("div", null, [
655
- t(H, null, {
656
- title: n(() => o[12] || (o[12] = [
655
+ t(z, null, {
656
+ title: o(() => n[12] || (n[12] = [
657
657
  Z(" dev view ", -1)
658
658
  ])),
659
- default: n(() => [
659
+ default: o(() => [
660
660
  s("div", vt, [
661
- s("div", ht, [
661
+ s("div", gt, [
662
662
  t(v, {
663
663
  type: "button",
664
664
  variant: "secondary",
665
665
  "button-text": "Open Hologram",
666
- onClick: o[3] || (o[3] = (r) => e.hologramOpen = !0)
666
+ onClick: n[3] || (n[3] = (r) => e.hologramOpen = !0)
667
667
  }),
668
668
  t(v, {
669
669
  type: "button",
@@ -679,9 +679,9 @@ function gt(e, o, m, S, _, f) {
679
679
  }, null, 8, ["onClick"])
680
680
  ]),
681
681
  s("div", null, [
682
- t(V, {
682
+ t(w, {
683
683
  modelValue: e.stepSelect,
684
- "onUpdate:modelValue": o[4] || (o[4] = (r) => e.stepSelect = r),
684
+ "onUpdate:modelValue": n[4] || (n[4] = (r) => e.stepSelect = r),
685
685
  label: "Go to step",
686
686
  options: e.stepOptions
687
687
  }, null, 8, ["modelValue", "options"])
@@ -695,20 +695,20 @@ function gt(e, o, m, S, _, f) {
695
695
  ]),
696
696
  _: 1
697
697
  }, 8, ["modelValue", "plugins"]),
698
- e.activeSimpleModal ? (d(), Q(N, {
698
+ e.activeSimpleModal ? (d(), Q(L, {
699
699
  key: 0,
700
700
  buttons: e.modalSimpleConf.button,
701
701
  "header-text": e.modalSimpleConf.header,
702
702
  text: e.modalSimpleConf.text,
703
703
  action: e.modalSimpleConf.action,
704
- onClose: o[7] || (o[7] = (r) => e.activeSimpleModal = !1),
705
- onActionHandling: o[8] || (o[8] = (r) => e.gotToHome())
706
- }, null, 8, ["buttons", "header-text", "text", "action"])) : g("", !0)
704
+ onClose: n[7] || (n[7] = (r) => e.activeSimpleModal = !1),
705
+ onActionHandling: n[8] || (n[8] = (r) => e.gotToHome())
706
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : h("", !0)
707
707
  ])
708
- ], 512)) : g("", !0)
708
+ ], 512)) : h("", !0)
709
709
  ]);
710
710
  }
711
- const no = /* @__PURE__ */ Re(Ge, [["render", gt]]);
711
+ const on = /* @__PURE__ */ Ge(Ee, [["render", ht]]);
712
712
  export {
713
- no as default
713
+ on as default
714
714
  };