@piveau/dpi 0.2.0-alpha.3 → 0.2.0-alpha.4

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 (23) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +27 -24
  3. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +17 -17
  4. package/dist/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +94 -0
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +38 -0
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +2 -2
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +19 -18
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +64 -0
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +48 -0
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +64 -0
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +64 -0
  14. package/dist/data-provider-interface/views/InputPageProject.vue.js +246 -221
  15. package/dist/stories/components/DemoStepper.vue.js +2 -2
  16. package/dist/stories/components/DemoStepper.vue2.js +134 -102
  17. package/dist/stories/components/LinkCard.vue.js +3 -3
  18. package/dist/stories/components/LinkCard.vue2.js +17 -17
  19. package/dist/stories/components/PartnerCard.vue.js +2 -2
  20. package/dist/stories/components/PartnerCard.vue2.js +9 -8
  21. package/dist/stories/components/ScreenshotCard.vue.js +2 -2
  22. package/dist/stories/components/ScreenshotCard.vue2.js +6 -7
  23. package/package.json +1 -1
@@ -1,47 +1,52 @@
1
- import { getNode as J } from "@formkit/core";
1
+ import { getNode as X } from "@formkit/core";
2
2
  import { getValidationMessages as de } from "@formkit/validation";
3
3
  import "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
5
- import { useWindowScroll as ue } from "@vueuse/core";
5
+ import { useWindowScroll as pe } from "@vueuse/core";
6
6
  import "jquery";
7
- import { has as T, isNil as Q } from "lodash-es";
8
- import { defineComponent as pe, resolveComponent as l, createElementBlock as p, openBlock as u, createCommentVNode as h, createElementVNode as s, createVNode as t, createBlock as X, withModifiers as me, withCtx as a, Fragment as Y, renderList as Z, normalizeClass as ce, createTextVNode as x, toDisplayString as w, ref as D, computed as E, markRaw as fe, toRef as ve, watch as ge, nextTick as he } from "vue";
9
- import { useI18n as Se } from "vue-i18n";
10
- import { mapActions as ee, mapGetters as te } from "vuex";
7
+ import { has as j, isNil as Y } from "lodash-es";
8
+ import { defineComponent as ue, resolveComponent as i, createElementBlock as u, openBlock as p, createCommentVNode as S, createElementVNode as l, createVNode as t, createBlock as Z, withModifiers as me, withCtx as a, Fragment as x, renderList as ee, normalizeClass as ce, createTextVNode as te, toDisplayString as y, ref as D, computed as Q, markRaw as fe, toRef as ve, watch as ge, nextTick as Se } from "vue";
9
+ import { useI18n as he } from "vue-i18n";
10
+ import { mapActions as ne, mapGetters as oe } from "vuex";
11
11
  import De from "../../stories/components/DemoStep.vue.js";
12
12
  import be from "../../stories/components/ReviewStepDemo.vue.js";
13
13
  import _e from "../components/InputPageStep.vue.js";
14
14
  import ke from "../components/ProgressSteps.vue.js";
15
15
  import we from "../components/StepActionsSection.vue.js";
16
- import { useFormValues as ye } from "../composables/useDpiFormValues.js";
17
- import { useDpiStepper as Ve } from "../composables/useDpiStepper.js";
16
+ import { useFormValues as Ve } from "../composables/useDpiFormValues.js";
17
+ import { useDpiStepper as ye } from "../composables/useDpiStepper.js";
18
18
  import Ce from "../config/dcatapdeHappyFlow/converter.js";
19
19
  import { eventBus as Ie } from "../HappyFlowComponents/services/eventBus.js";
20
20
  import Pe from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
21
21
  import Te from "../HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
22
22
  import $e from "../HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
23
- import Fe from "../HappyFlowComponents/ui/ButtonV3.vue.js";
24
- import je from "../HappyFlowComponents/ui/Card.vue.js";
23
+ import je from "../HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js";
24
+ import Oe from "../HappyFlowComponents/ui/ButtonV3.vue.js";
25
+ import Fe from "../HappyFlowComponents/ui/Card.vue.js";
25
26
  import Ae from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
26
- import Oe from "../HappyFlowComponents/ui/Findability/CategoriesStep.vue.js";
27
- import He from "../HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js";
28
- import Le from "../HappyFlowComponents/ui/Illustration.vue.js";
29
- import ze from "../HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js";
30
- import Me from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
31
- import Be from "../HappyFlowComponents/ui/LogoV3.vue.js";
27
+ import He from "../HappyFlowComponents/ui/Findability/CategoriesStep.vue.js";
28
+ import Le from "../HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js";
29
+ import ze from "../HappyFlowComponents/ui/Illustration.vue.js";
30
+ import Me from "../HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js";
31
+ import Be from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
32
+ import Ue from "../HappyFlowComponents/ui/LogoV3.vue.js";
32
33
  import Ge from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
33
34
  import Ne from "../HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js";
34
- import Re from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
35
- import Ue from "../HappyFlowComponents/ui/WipStep.vue.js";
36
- import Ee from "./OverviewPage.vue.js";
35
+ import Re from "../HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js";
36
+ import We from "../HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js";
37
+ import Ee from "../HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js";
38
+ import Ke from "../HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js";
39
+ import qe from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
40
+ import Je from "../HappyFlowComponents/ui/WipStep.vue.js";
41
+ import Qe from "./OverviewPage.vue.js";
37
42
  /* empty css */
38
43
  /* empty css */
39
44
  /* empty css */
40
- import We from "../../_virtual/_plugin-vue_export-helper.js";
41
- import { useDpiContext as Ke } from "../composables/useDpiContext.js";
42
- import { useEditModeInfo as qe } from "../composables/useDpiEditMode.js";
43
- import { useFormSchema as Je } from "../composables/useFormSchema.js";
44
- const Qe = pe({
45
+ import Xe from "../../_virtual/_plugin-vue_export-helper.js";
46
+ import { useDpiContext as Ye } from "../composables/useDpiContext.js";
47
+ import { useEditModeInfo as Ze } from "../composables/useDpiEditMode.js";
48
+ import { useFormSchema as xe } from "../composables/useFormSchema.js";
49
+ const et = ue({
45
50
  props: {
46
51
  property: {
47
52
  required: !0,
@@ -65,10 +70,10 @@ const Qe = pe({
65
70
  components: {
66
71
  InputPageStep: _e,
67
72
  // DistributionInputPage,
68
- LogoV3: Be,
69
- ButtonV3: Fe,
70
- TextButtonSmall: Re,
71
- Illustration: Le,
73
+ LogoV3: Ue,
74
+ ButtonV3: Oe,
75
+ TextButtonSmall: qe,
76
+ Illustration: ze,
72
77
  // PhLightbulb,
73
78
  // PhCheckCircle,
74
79
  ModalSimpleV3: Ge,
@@ -76,29 +81,34 @@ const Qe = pe({
76
81
  DemoStep: De,
77
82
  ProgressSteps: ke,
78
83
  ReviewStepDemo: be,
79
- LandingProjectStep: ze,
84
+ LandingProjectStep: Me,
80
85
  StepActionsSection: we,
81
- DiscoverabilityStep: He,
82
- CategoriesStep: Oe,
86
+ DiscoverabilityStep: Le,
87
+ CategoriesStep: He,
83
88
  ProjectNameStep: Te,
84
89
  ProjectDescriptionStep: Pe,
90
+ ProjectStatusStep: je,
85
91
  ProjectOrganisationStep: $e,
86
92
  OptionalDataStep: Ne,
87
- Card: je,
88
- Listbox: Me,
93
+ UmstezenStep: Ee,
94
+ PlanenStep: Re,
95
+ WeiterdenkenStep: Ke,
96
+ ProjektPhasenOverviewStep: We,
97
+ Card: Fe,
98
+ Listbox: Be,
89
99
  DpiModalBase: Ae,
90
- WipStep: Ue
100
+ WipStep: Je
91
101
  },
92
102
  computed: {
93
- ...te("auth", [
103
+ ...oe("auth", [
94
104
  "getIsEditMode",
95
105
  "getUserCatalogIds",
96
106
  "getUserData"
97
107
  ]),
98
- ...te("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
108
+ ...oe("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
99
109
  getTitleStep() {
100
110
  return Object.keys(this.formValues).filter(
101
- (e) => T(this.formValues[e], "dct:title")
111
+ (e) => j(this.formValues[e], "dct:title")
102
112
  )[0];
103
113
  },
104
114
  createIDFromTitle() {
@@ -109,7 +119,7 @@ const Qe = pe({
109
119
  getFirstTitleFromForm() {
110
120
  try {
111
121
  const e = this.formValues[this.getTitleStep];
112
- return T(e, "dct:title") && e["dct:title"].length > 0 && T(e["dct:title"][0], "@value") && !Q(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
122
+ return j(e, "dct:title") && e["dct:title"].length > 0 && j(e["dct:title"][0], "@value") && !Y(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
113
123
  } catch {
114
124
  }
115
125
  },
@@ -118,8 +128,8 @@ const Qe = pe({
118
128
  }
119
129
  },
120
130
  methods: {
121
- ...ee("auth", ["setIsEditMode", "setIsDraft"]),
122
- ...ee("dpiStore", [
131
+ ...ne("auth", ["setIsEditMode", "setIsDraft"]),
132
+ ...ne("dpiStore", [
123
133
  "saveFormValues",
124
134
  "saveLocalstorageValues",
125
135
  "clearAll"
@@ -129,7 +139,7 @@ const Qe = pe({
129
139
  },
130
140
  // Route to the RAP Page
131
141
  goToRAP() {
132
- this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(J(this.activeStep).value)[0];
142
+ this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(X(this.activeStep).value)[0];
133
143
  },
134
144
  handleDistributionsValidation(e) {
135
145
  Ie.emit("nextClicked", e);
@@ -139,13 +149,13 @@ const Qe = pe({
139
149
  name: "DPI-Home-HappyFlow"
140
150
  }).href;
141
151
  },
142
- async dispatchDataToDPI(e, n, m, S) {
143
- var k, f;
144
- console.log("body:", e, n, "params:", m, S);
152
+ async dispatchDataToDPI(e, n, m, h) {
153
+ var k, v;
154
+ console.log("body:", e, n, "params:", m, h);
145
155
  try {
146
- 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), (k = this.$Progress) == null || k.finish(), this.clearAll();
156
+ h === "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)), h === "draft" && await this.$store.dispatch(n, m), (k = this.$Progress) == null || k.finish(), this.clearAll();
147
157
  } catch (b) {
148
- console.error(b), (f = this.$Progress) == null || f.fail();
158
+ console.error(b), (v = this.$Progress) == null || v.fail();
149
159
  }
150
160
  },
151
161
  clearForm() {
@@ -156,7 +166,7 @@ const Qe = pe({
156
166
  },
157
167
  createDatasetID() {
158
168
  const e = this.formValues[this.getTitleStep];
159
- !T(e, "datasetID") || Q(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);
169
+ !j(e, "datasetID") || Y(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);
160
170
  },
161
171
  generateandTranslateSchema(e) {
162
172
  for (let n = 0; n < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; n++)
@@ -218,50 +228,50 @@ const Qe = pe({
218
228
  // })
219
229
  // },
220
230
  setup() {
221
- const e = Ke(), { isEditMode: n } = qe(), {
231
+ const e = Ye(), { isEditMode: n } = Ze(), {
222
232
  steps: m,
223
- stepList: S,
233
+ stepList: h,
224
234
  visitedSteps: k,
225
- activeStep: f,
235
+ activeStep: v,
226
236
  stepPlugin: b,
227
- goToNextStep: v,
228
- goToPreviousStep: y,
229
- subSteps: $,
237
+ goToNextStep: g,
238
+ goToPreviousStep: C,
239
+ subSteps: O,
230
240
  previousStep: F,
231
- nextStep: j,
241
+ nextStep: A,
232
242
  current: o,
233
- goToStep: A,
234
- isLast: O,
235
- triggerValidationCurrentStep: i
236
- } = Ve(), { formValues: V } = ye(), { t: H, te: L } = Se(), z = D(!1), C = D(!1), _ = D([]), M = E(() => f.value ? J(f.value) : null), B = (d) => {
243
+ goToStep: H,
244
+ isLast: L,
245
+ triggerValidationCurrentStep: s
246
+ } = ye(), { formValues: I } = Ve(), { t: z, te: M } = he(), B = D(!1), w = D(!1), _ = D([]), U = Q(() => v.value ? X(v.value) : null), G = (d) => {
237
247
  if (!d)
238
248
  return;
239
249
  const c = de(d);
240
- _.value = [], c.forEach((P) => {
250
+ _.value = [], c.forEach(($) => {
241
251
  _.value = _.value.concat(
242
- P.map((le) => le.value)
252
+ $.map((le) => le.value)
243
253
  );
244
254
  });
245
- }, { translateSchema: G, createSchema: N, getSchema: r } = Je({
246
- t: H,
247
- te: L
248
- }), g = () => {
249
- let { x: d, y: c } = ue({ behavior: "smooth" });
255
+ }, { translateSchema: N, createSchema: R, getSchema: W } = xe({
256
+ t: z,
257
+ te: M
258
+ }), E = () => {
259
+ let { x: d, y: c } = pe({ behavior: "smooth" });
250
260
  c.value = 0;
251
- }, I = fe({ OverviewPage: Ee }), R = D("");
252
- n.value && (f.value = "ReviewAndPublish", R.value = "reviewAndPublishPage");
253
- const ne = ve(m), U = (d) => {
254
- var P;
255
- const c = (P = ne.value) == null ? void 0 : P[d];
261
+ }, K = fe({ OverviewPage: Qe }), P = D("");
262
+ n.value && (v.value = "ReviewAndPublish", P.value = "reviewAndPublishPage");
263
+ const q = ve(m), V = (d) => {
264
+ var $;
265
+ const c = ($ = q.value) == null ? void 0 : $[d];
256
266
  return c ? c.valid : !1;
257
- }, W = D(!1), K = D(0);
258
- ge(f, (d) => {
259
- d === "review" && (W.value = !0, K.value++);
267
+ }, r = D(!1), f = D(0);
268
+ ge(v, (d) => {
269
+ d === "review" && (r.value = !0, f.value++);
260
270
  });
261
- const oe = async () => {
271
+ const T = async () => {
262
272
  try {
263
273
  const d = "auth/createDataset", c = await Ce(
264
- V.value,
274
+ I.value,
265
275
  e,
266
276
  // We'll need to access getUserData somehow - for now using a placeholder
267
277
  {},
@@ -275,126 +285,126 @@ const Qe = pe({
275
285
  console.error("Fehler beim Veröffentlichen:", d);
276
286
  }
277
287
  };
278
- function q() {
279
- U(o.value) && v();
288
+ function J() {
289
+ V(o.value) && g();
280
290
  }
281
291
  async function ae() {
282
- i(), await he();
283
- const d = M.value, c = d ? !U(o.value) : !1;
284
- c && B(d), C.value = c, O.value ? console.log("Form submitted", values.value) : q();
292
+ s(), await Se();
293
+ const d = U.value, c = d ? !V(o.value) : !1;
294
+ c && G(d), w.value = c, L.value ? console.log("Form submitted", values.value) : J();
285
295
  }
286
- const ie = E(() => S.value.map((d) => ({ id: d, name: d }))), re = E({
296
+ const ie = Q(() => h.value.map((d) => ({ id: d, name: d }))), re = Q({
287
297
  get() {
288
298
  return { id: o.value, name: o.value };
289
299
  },
290
300
  set(d) {
291
- A(d.id);
301
+ H(d.id);
292
302
  }
293
303
  }), se = D(!1);
294
304
  return {
295
305
  steps: m,
296
306
  visitedSteps: k,
297
- activeStep: f,
298
- activeSubStep: R,
299
- subSteps: $,
307
+ activeStep: v,
308
+ activeSubStep: P,
309
+ subSteps: O,
300
310
  previousStep: F,
301
- stepList: S,
302
- nextStep: j,
311
+ stepList: h,
312
+ nextStep: A,
303
313
  stepPlugin: b,
304
- checkStepValidity: U,
305
- goToNextStep: v,
306
- goToNextStepIfValid: q,
307
- goToPreviousStep: y,
308
- scrollToTop: g,
309
- library: I,
314
+ checkStepValidity: V,
315
+ goToNextStep: g,
316
+ goToNextStepIfValid: J,
317
+ goToPreviousStep: C,
318
+ scrollToTop: E,
319
+ library: K,
310
320
  isEditMode: n,
311
- translateSchema: G,
312
- createSchema: N,
313
- getSchema: r,
321
+ translateSchema: N,
322
+ createSchema: R,
323
+ getSchema: W,
314
324
  dpiContext: e,
315
- formValues: V,
316
- activeSimpleModal: z,
317
- shouldRenderReviewStep: W,
318
- renderViewStepKey: K,
319
- handlePublish: oe,
325
+ formValues: I,
326
+ activeSimpleModal: B,
327
+ shouldRenderReviewStep: r,
328
+ renderViewStepKey: f,
329
+ handlePublish: T,
320
330
  handleSubmit: ae,
321
- showErrorSummary: C,
331
+ showErrorSummary: w,
322
332
  validationMessages: _,
323
333
  stepOptions: ie,
324
334
  stepSelect: re,
325
335
  hologramOpen: se
326
336
  };
327
337
  }
328
- }), Xe = { class: "input-page-project form-container V3-typography" }, Ye = {
338
+ }), tt = { class: "input-page-project form-container V3-typography" }, nt = {
329
339
  key: 0,
330
340
  ref: "fkInputContainer",
331
341
  class: "inputContainer"
332
- }, Ze = { class: "formContainer formkit" }, xe = { key: 0 }, et = { class: "dpiV3_stepper draftStepper" }, tt = {
342
+ }, ot = { class: "formContainer formkit" }, at = { key: 0 }, it = { class: "dpiV3_stepper draftStepper" }, rt = {
333
343
  key: 0,
334
344
  class: "draftCTA"
335
- }, nt = {
345
+ }, st = {
336
346
  key: 1,
337
347
  class: "draftCTA"
338
- }, ot = { key: 1 }, at = {
348
+ }, lt = { key: 1 }, dt = {
339
349
  key: 0,
340
350
  class: "dpiV3_stepper"
341
- }, it = {
351
+ }, pt = {
342
352
  key: 1,
343
353
  class: "dpiV3_stepperLanding"
344
- }, rt = { class: "dpiV3_bydata_logo_wordmark" }, st = { class: "dpiV3_Illustration-Start" }, lt = {
354
+ }, ut = { class: "dpiV3_bydata_logo_wordmark" }, mt = { class: "dpiV3_Illustration-Start" }, ct = {
345
355
  key: 2,
346
356
  class: "steps"
347
- }, dt = ["data-step-active", "data-step-valid", "onClick"], ut = { class: "stepBubbleWrap" }, pt = { class: "circle stepCircle" }, mt = ["textContent"], ct = {
357
+ }, ft = ["data-step-active", "data-step-valid", "onClick"], vt = { class: "stepBubbleWrap" }, gt = { class: "circle stepCircle" }, St = ["textContent"], ht = {
348
358
  key: 0,
349
359
  class: "seperatorHorizontalStepper"
350
- }, ft = {
360
+ }, Dt = {
351
361
  key: 0,
352
362
  class: "step inactiveStep"
353
- }, vt = { class: "step-content" }, gt = { style: { margin: "1rem 2.5rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%" } }, ht = { style: {} }, St = {
363
+ }, bt = { class: "step-content" }, _t = { style: { margin: "1rem 2.5rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%" } }, kt = { style: {} }, wt = {
354
364
  key: 0,
355
365
  class: "dpiV3_Card_Tips--error dpiV3_Card_Tips"
356
- }, Dt = { class: "validation-errors" }, bt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, _t = { class: "dev-actions" };
357
- function kt(e, n, m, S, k, f) {
358
- const b = l("TextButtonSmall"), v = l("ButtonV3"), y = l("LogoV3"), $ = l("ProgressSteps"), F = l("Illustration"), j = l("LandingProjectStep"), o = l("InputPageStep"), A = l("DiscoverabilityStep"), O = l("CategoriesStep"), i = l("WipStep"), V = l("ProjectNameStep"), H = l("ProjectDescriptionStep"), L = l("ProjectOrganisationStep"), z = l("OptionalDataStep"), C = l("ReviewStepDemo"), _ = l("StepActionsSection"), M = l("Listbox"), B = l("Card"), G = l("FormKit"), N = l("ModalSimpleV3");
359
- return u(), p("div", Xe, [
360
- e.isInput ? (u(), p("div", Ye, [
361
- s("div", Ze, [
362
- t(G, {
366
+ }, Vt = { class: "validation-errors" }, yt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, Ct = { class: "dev-actions" };
367
+ function It(e, n, m, h, k, v) {
368
+ const b = i("TextButtonSmall"), g = i("ButtonV3"), C = i("LogoV3"), O = i("ProgressSteps"), F = i("Illustration"), A = i("LandingProjectStep"), o = i("InputPageStep"), H = i("DiscoverabilityStep"), L = i("CategoriesStep"), s = i("WipStep"), I = i("ProjectNameStep"), z = i("ProjectDescriptionStep"), M = i("ProjectStatusStep"), B = i("ProjectOrganisationStep"), w = i("OptionalDataStep"), _ = i("DpiModalBase"), U = i("ProjektPhasenOverviewStep"), G = i("PlanenStep"), N = i("UmstezenStep"), R = i("WeiterdenkenStep"), W = i("ReviewStepDemo"), E = i("StepActionsSection"), K = i("Listbox"), P = i("Card"), q = i("FormKit"), V = i("ModalSimpleV3");
369
+ return p(), u("div", tt, [
370
+ e.isInput ? (p(), u("div", nt, [
371
+ l("div", ot, [
372
+ t(q, {
363
373
  id: "dpiForm",
364
374
  modelValue: e.formValues,
365
- "onUpdate:modelValue": n[4] || (n[4] = (r) => e.formValues = r),
375
+ "onUpdate:modelValue": n[5] || (n[5] = (r) => e.formValues = r),
366
376
  type: "form",
367
377
  actions: !1,
368
378
  plugins: [e.stepPlugin],
369
379
  class: "d-flex",
370
- onSubmit: n[5] || (n[5] = me(() => {
380
+ onSubmit: n[6] || (n[6] = me(() => {
371
381
  }, ["prevent"]))
372
382
  }, {
373
383
  default: a(() => [
374
- e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (u(), p("div", xe, [
375
- s("div", et, [
384
+ e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (p(), u("div", at, [
385
+ l("div", it, [
376
386
  t(b, {
377
387
  "button-text": "Übersicht",
378
388
  "icon-start": "CaretLeft",
379
389
  "icon-name": "caretLeft",
380
390
  onClick: e.gotToHome
381
391
  }, null, 8, ["onClick"]),
382
- s("div", null, [
383
- e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (u(), p("div", tt, [
384
- t(v, {
392
+ l("div", null, [
393
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (p(), u("div", rt, [
394
+ t(g, {
385
395
  "button-text": "Veröffentlichung aufheben",
386
396
  size: "large",
387
397
  onClick: e.todoHandler
388
398
  }, null, 8, ["onClick"]),
389
- t(v, {
399
+ t(g, {
390
400
  "button-text": "Veröffentlicht ansehen",
391
401
  variant: "secondary",
392
402
  size: "large",
393
403
  "icon-end": "Out",
394
404
  onClick: e.todoHandler
395
405
  }, null, 8, ["onClick"])
396
- ])) : (u(), p("div", nt, [
397
- t(v, {
406
+ ])) : (p(), u("div", st, [
407
+ t(g, {
398
408
  "button-text": "Veröffentlichen",
399
409
  size: "large",
400
410
  onClick: e.handlePublish
@@ -402,10 +412,10 @@ function kt(e, n, m, S, k, f) {
402
412
  ]))
403
413
  ])
404
414
  ])
405
- ])) : (u(), p("div", ot, [
406
- e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (u(), p("div", at, [
407
- t(y),
408
- t($, {
415
+ ])) : (p(), u("div", lt, [
416
+ e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (p(), u("div", dt, [
417
+ t(C),
418
+ t(O, {
409
419
  checked: e.visitedSteps,
410
420
  "onUpdate:checked": n[0] || (n[0] = (r) => e.visitedSteps = r),
411
421
  current: e.activeStep,
@@ -413,95 +423,95 @@ function kt(e, n, m, S, k, f) {
413
423
  "hide-first": "",
414
424
  steps: e.stepList || []
415
425
  }, null, 8, ["checked", "current", "steps"])
416
- ])) : (u(), p("div", it, [
417
- s("div", rt, [
418
- t(y)
426
+ ])) : (p(), u("div", pt, [
427
+ l("div", ut, [
428
+ t(C)
419
429
  ]),
420
- s("div", st, [
430
+ l("div", mt, [
421
431
  t(F, { "illustration-name": "start" })
422
432
  ])
423
433
  ]))
424
434
  ])),
425
- e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (u(), p("ul", lt, [
426
- (u(!0), p(Y, null, Z(e.steps, (r, g, I) => (u(), p("li", {
435
+ e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (p(), u("ul", ct, [
436
+ (p(!0), u(x, null, ee(e.steps, (r, f, T) => (p(), u("li", {
427
437
  key: r,
428
438
  class: ce(["step", {
429
- activeItem: e.activeStep === g,
430
- inactiveStep: g != e.activeStep,
431
- "has-errors": e.checkStepValidity(g)
439
+ activeItem: e.activeStep === f,
440
+ inactiveStep: f != e.activeStep,
441
+ "has-errors": e.checkStepValidity(f)
432
442
  }]),
433
- "data-step-active": e.activeStep === g,
443
+ "data-step-active": e.activeStep === f,
434
444
  "data-step-valid": r.valid && r.errorCount === 0,
435
- onClick: (R) => {
436
- e.activeStep = g, e.update(), e.scrollToTop();
445
+ onClick: (J) => {
446
+ e.activeStep = f, e.update(), e.scrollToTop();
437
447
  }
438
448
  }, [
439
- s("div", ut, [
440
- s("div", pt, w(I + 1), 1),
441
- e.checkStepValidity(g) ? (u(), p("span", {
449
+ l("div", vt, [
450
+ l("div", gt, y(T + 1), 1),
451
+ e.checkStepValidity(f) ? (p(), u("span", {
442
452
  key: 0,
443
453
  class: "step--errors",
444
- textContent: w(r.errorCount + r.blockingCount)
445
- }, null, 8, mt)) : h("", !0),
446
- x(w(e.$t(`message.dataupload.steps.${g}Step`)), 1)
454
+ textContent: y(r.errorCount + r.blockingCount)
455
+ }, null, 8, St)) : S("", !0),
456
+ te(y(e.$t(`message.dataupload.steps.${f}Step`)), 1)
447
457
  ]),
448
- I != Object.keys(e.steps).length ? (u(), p("div", ct)) : h("", !0)
449
- ], 10, dt))), 128)),
450
- e.activeStep === "Overview" ? (u(), p("li", ft, n[8] || (n[8] = [
451
- s("div", { class: "circle stepCircle" }, null, -1)
452
- ]))) : h("", !0)
453
- ])) : h("", !0),
454
- s("div", vt, [
455
- s("details", gt, [
456
- n[9] || (n[9] = s("summary", null, "Form Values", -1)),
457
- s("pre", ht, w(JSON.stringify(e.formValues, null, 2)), 1)
458
+ T != Object.keys(e.steps).length ? (p(), u("div", ht)) : S("", !0)
459
+ ], 10, ft))), 128)),
460
+ e.activeStep === "Overview" ? (p(), u("li", Dt, n[9] || (n[9] = [
461
+ l("div", { class: "circle stepCircle" }, null, -1)
462
+ ]))) : S("", !0)
463
+ ])) : S("", !0),
464
+ l("div", bt, [
465
+ l("details", _t, [
466
+ n[10] || (n[10] = l("summary", null, "Form Values", -1)),
467
+ l("pre", kt, y(JSON.stringify(e.formValues, null, 2)), 1)
458
468
  ]),
459
- s("div", null, [
469
+ l("div", null, [
460
470
  t(o, { name: "Landing" }, {
461
471
  default: a(() => [
462
- t(j)
472
+ t(A)
463
473
  ]),
464
474
  _: 1
465
475
  }),
466
476
  t(o, { name: "Auffindbarkeit/Sichtbarkeit" }, {
467
477
  default: a(() => [
468
- t(A)
478
+ t(H)
469
479
  ]),
470
480
  _: 1
471
481
  }),
472
482
  t(o, { name: "Auffindbarkeit/Kategorien" }, {
473
483
  default: a(() => [
474
- t(O)
484
+ t(L)
475
485
  ]),
476
486
  _: 1
477
487
  }),
478
488
  t(o, { name: "Auffindbarkeit/Anwendungsbereiche" }, {
479
489
  default: a(() => [
480
- t(i, { name: "Auffindbarkeit/Anwendungsbereiche" })
490
+ t(s, { name: "Auffindbarkeit/Anwendungsbereiche" })
481
491
  ]),
482
492
  _: 1
483
493
  }),
484
494
  t(o, { name: "Grundlegende Informationen/Name" }, {
485
495
  default: a(() => [
486
- t(V)
496
+ t(I)
487
497
  ]),
488
498
  _: 1
489
499
  }),
490
500
  t(o, { name: "Grundlegende Informationen/Beschreibung" }, {
491
501
  default: a(() => [
492
- t(H)
502
+ t(z)
493
503
  ]),
494
504
  _: 1
495
505
  }),
496
506
  t(o, { name: "Grundlegende Informationen/Projektstatus" }, {
497
507
  default: a(() => [
498
- t(i, { name: "Grundlegende Informationen/Projektstatus" })
508
+ t(M)
499
509
  ]),
500
510
  _: 1
501
511
  }),
502
512
  t(o, { name: "Grundlegende Informationen/Organisation" }, {
503
513
  default: a(() => [
504
- t(L, {
514
+ t(B, {
505
515
  "is-wip": "",
506
516
  icon: "https://storage.googleapis.com/open-data-public-files-050923/assets/v2/haar/favicon.png",
507
517
  address: "Bahnhofstraße 7",
@@ -515,186 +525,201 @@ function kt(e, n, m, S, k, f) {
515
525
  }),
516
526
  t(o, { name: "Optionale Daten" }, {
517
527
  default: a(() => [
518
- t(z)
528
+ t(w),
529
+ t(_, {
530
+ modelValue: e.hologramOpen,
531
+ "onUpdate:modelValue": n[2] || (n[2] = (r) => e.hologramOpen = r)
532
+ }, {
533
+ default: a(() => [
534
+ t(w)
535
+ ]),
536
+ _: 1
537
+ }, 8, ["modelValue"])
538
+ ]),
539
+ _: 1
540
+ }),
541
+ t(o, { name: "Projektphasen" }, {
542
+ default: a(() => [
543
+ t(U)
519
544
  ]),
520
545
  _: 1
521
546
  }),
522
547
  t(o, { name: "Initiieren" }, {
523
548
  default: a(() => [
524
- t(i, { name: "Initiieren" })
549
+ t(s, { name: "Initiieren" })
525
550
  ]),
526
551
  _: 1
527
552
  }),
528
553
  t(o, { name: "Planen" }, {
529
554
  default: a(() => [
530
- t(i, { name: "Planen" })
555
+ t(G)
531
556
  ]),
532
557
  _: 1
533
558
  }),
534
559
  t(o, { name: "Umsetzen" }, {
535
560
  default: a(() => [
536
- t(i, { name: "Umsetzen" })
561
+ t(N)
537
562
  ]),
538
563
  _: 1
539
564
  }),
540
565
  t(o, { name: "Weiterdenken" }, {
541
566
  default: a(() => [
542
- t(i, { name: "Weiterdenken" })
567
+ t(R)
543
568
  ]),
544
569
  _: 1
545
570
  }),
546
571
  t(o, { name: "Technische Prozessschritte" }, {
547
572
  default: a(() => [
548
- t(i, { name: "Technische Prozessschritte" })
573
+ t(s, { name: "Technische Prozessschritte" })
549
574
  ]),
550
575
  _: 1
551
576
  }),
552
577
  t(o, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
553
578
  default: a(() => [
554
- t(i, { name: "1. Datenerfassung/Grundlegende Informationen" })
579
+ t(s, { name: "1. Datenerfassung/Grundlegende Informationen" })
555
580
  ]),
556
581
  _: 1
557
582
  }),
558
583
  t(o, { name: "1. Datenerfassung/Software" }, {
559
584
  default: a(() => [
560
- t(i, { name: "1. Datenerfassung/Software" })
585
+ t(s, { name: "1. Datenerfassung/Software" })
561
586
  ]),
562
587
  _: 1
563
588
  }),
564
589
  t(o, { name: "1. Datenerfassung/Datensätze" }, {
565
590
  default: a(() => [
566
- t(i, { name: "1. Datenerfassung/Datensätze" })
591
+ t(s, { name: "1. Datenerfassung/Datensätze" })
567
592
  ]),
568
593
  _: 1
569
594
  }),
570
595
  t(o, { name: "1. Datenerfassung/Hardware" }, {
571
596
  default: a(() => [
572
- t(i, { name: "1. Datenerfassung/Hardware" })
597
+ t(s, { name: "1. Datenerfassung/Hardware" })
573
598
  ]),
574
599
  _: 1
575
600
  }),
576
601
  t(o, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
577
602
  default: a(() => [
578
- t(i, { name: "2. Datenverarbeitung/Grundlegende Informationen" })
603
+ t(s, { name: "2. Datenverarbeitung/Grundlegende Informationen" })
579
604
  ]),
580
605
  _: 1
581
606
  }),
582
607
  t(o, { name: "2. Datenverarbeitung/Software" }, {
583
608
  default: a(() => [
584
- t(i, { name: "2. Datenverarbeitung/Software" })
609
+ t(s, { name: "2. Datenverarbeitung/Software" })
585
610
  ]),
586
611
  _: 1
587
612
  }),
588
613
  t(o, { name: "2. Datenverarbeitung/Datensätze" }, {
589
614
  default: a(() => [
590
- t(i, { name: "2. Datenverarbeitung/Datensätze" })
615
+ t(s, { name: "2. Datenverarbeitung/Datensätze" })
591
616
  ]),
592
617
  _: 1
593
618
  }),
594
619
  t(o, { name: "2. Datenverarbeitung/Hardware" }, {
595
620
  default: a(() => [
596
- t(i, { name: "2. Datenverarbeitung/Hardware" })
621
+ t(s, { name: "2. Datenverarbeitung/Hardware" })
597
622
  ]),
598
623
  _: 1
599
624
  }),
600
625
  t(o, { name: "3. Datensimulation/Grundlegende Informationen" }, {
601
626
  default: a(() => [
602
- t(i, { name: "3. Datensimulation/Grundlegende Informationen" })
627
+ t(s, { name: "3. Datensimulation/Grundlegende Informationen" })
603
628
  ]),
604
629
  _: 1
605
630
  }),
606
631
  t(o, { name: "3. Datensimulation/Software" }, {
607
632
  default: a(() => [
608
- t(i, { name: "3. Datensimulation/Software" })
633
+ t(s, { name: "3. Datensimulation/Software" })
609
634
  ]),
610
635
  _: 1
611
636
  }),
612
637
  t(o, { name: "3. Datensimulation/Datensätze" }, {
613
638
  default: a(() => [
614
- t(i, { name: "3. Datensimulation/Datensätze" })
639
+ t(s, { name: "3. Datensimulation/Datensätze" })
615
640
  ]),
616
641
  _: 1
617
642
  }),
618
643
  t(o, { name: "3. Datensimulation/Hardware" }, {
619
644
  default: a(() => [
620
- t(i, { name: "3. Datensimulation/Hardware" })
645
+ t(s, { name: "3. Datensimulation/Hardware" })
621
646
  ]),
622
647
  _: 1
623
648
  }),
624
649
  t(o, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
625
650
  default: a(() => [
626
- t(i, { name: "4. Datenvisualisierung/Grundlegende Informationen" })
651
+ t(s, { name: "4. Datenvisualisierung/Grundlegende Informationen" })
627
652
  ]),
628
653
  _: 1
629
654
  }),
630
655
  t(o, { name: "4. Datenvisualisierung/Software" }, {
631
656
  default: a(() => [
632
- t(i, { name: "4. Datenvisualisierung/Software" })
657
+ t(s, { name: "4. Datenvisualisierung/Software" })
633
658
  ]),
634
659
  _: 1
635
660
  }),
636
661
  t(o, { name: "4. Datenvisualisierung/Datensätze" }, {
637
662
  default: a(() => [
638
- t(i, { name: "4. Datenvisualisierung/Datensätze" })
663
+ t(s, { name: "4. Datenvisualisierung/Datensätze" })
639
664
  ]),
640
665
  _: 1
641
666
  }),
642
667
  t(o, { name: "4. Datenvisualisierung/Hardware" }, {
643
668
  default: a(() => [
644
- t(i, { name: "4. Datenvisualisierung/Hardware" })
669
+ t(s, { name: "4. Datenvisualisierung/Hardware" })
645
670
  ]),
646
671
  _: 1
647
672
  }),
648
673
  t(o, { name: "Vorschau" }, {
649
674
  default: a(() => [
650
- e.shouldRenderReviewStep ? (u(), X(C, {
675
+ e.shouldRenderReviewStep ? (p(), Z(W, {
651
676
  key: e.renderViewStepKey,
652
677
  values: e.formValues
653
- }, null, 8, ["values"])) : h("", !0),
654
- t(_)
678
+ }, null, 8, ["values"])) : S("", !0),
679
+ t(E)
655
680
  ]),
656
681
  _: 1
657
682
  })
658
683
  ]),
659
- n[12] || (n[12] = s("hr", null, null, -1)),
660
- e.showErrorSummary && e.validationMessages.length ? (u(), p("div", St, [
661
- n[10] || (n[10] = s("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
662
- s("ul", Dt, [
663
- (u(!0), p(Y, null, Z(e.validationMessages, (r) => (u(), p("li", { key: r }, w(r), 1))), 128))
684
+ n[13] || (n[13] = l("hr", null, null, -1)),
685
+ e.showErrorSummary && e.validationMessages.length ? (p(), u("div", wt, [
686
+ n[11] || (n[11] = l("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
687
+ l("ul", Vt, [
688
+ (p(!0), u(x, null, ee(e.validationMessages, (r) => (p(), u("li", { key: r }, y(r), 1))), 128))
664
689
  ])
665
- ])) : h("", !0),
666
- n[13] || (n[13] = s("hr", null, null, -1)),
667
- s("div", null, [
668
- t(B, null, {
669
- title: a(() => n[11] || (n[11] = [
670
- x(" dev view ", -1)
690
+ ])) : S("", !0),
691
+ n[14] || (n[14] = l("hr", null, null, -1)),
692
+ l("div", null, [
693
+ t(P, null, {
694
+ title: a(() => n[12] || (n[12] = [
695
+ te(" dev view ", -1)
671
696
  ])),
672
697
  default: a(() => [
673
- s("div", bt, [
674
- s("div", _t, [
675
- t(v, {
698
+ l("div", yt, [
699
+ l("div", Ct, [
700
+ t(g, {
676
701
  type: "button",
677
702
  variant: "secondary",
678
703
  "button-text": "Open Hologram",
679
- onClick: n[2] || (n[2] = (r) => e.hologramOpen = !0)
704
+ onClick: n[3] || (n[3] = (r) => e.hologramOpen = !0)
680
705
  }),
681
- t(v, {
706
+ t(g, {
682
707
  type: "button",
683
708
  variant: "secondary",
684
709
  "button-text": "Previous",
685
710
  onClick: e.goToPreviousStep
686
711
  }, null, 8, ["onClick"]),
687
- t(v, {
712
+ t(g, {
688
713
  type: "button",
689
714
  variant: "secondary",
690
715
  "button-text": "Next",
691
716
  onClick: e.handleSubmit
692
717
  }, null, 8, ["onClick"])
693
718
  ]),
694
- s("div", null, [
695
- t(M, {
719
+ l("div", null, [
720
+ t(K, {
696
721
  modelValue: e.stepSelect,
697
- "onUpdate:modelValue": n[3] || (n[3] = (r) => e.stepSelect = r),
722
+ "onUpdate:modelValue": n[4] || (n[4] = (r) => e.stepSelect = r),
698
723
  label: "Go to step",
699
724
  options: e.stepOptions
700
725
  }, null, 8, ["modelValue", "options"])
@@ -708,20 +733,20 @@ function kt(e, n, m, S, k, f) {
708
733
  ]),
709
734
  _: 1
710
735
  }, 8, ["modelValue", "plugins"]),
711
- e.activeSimpleModal ? (u(), X(N, {
736
+ e.activeSimpleModal ? (p(), Z(V, {
712
737
  key: 0,
713
738
  buttons: e.modalSimpleConf.button,
714
739
  "header-text": e.modalSimpleConf.header,
715
740
  text: e.modalSimpleConf.text,
716
741
  action: e.modalSimpleConf.action,
717
- onClose: n[6] || (n[6] = (r) => e.activeSimpleModal = !1),
718
- onActionHandling: n[7] || (n[7] = (r) => e.gotToHome())
719
- }, null, 8, ["buttons", "header-text", "text", "action"])) : h("", !0)
742
+ onClose: n[7] || (n[7] = (r) => e.activeSimpleModal = !1),
743
+ onActionHandling: n[8] || (n[8] = (r) => e.gotToHome())
744
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : S("", !0)
720
745
  ])
721
- ], 512)) : h("", !0)
746
+ ], 512)) : S("", !0)
722
747
  ]);
723
748
  }
724
- const cn = /* @__PURE__ */ We(Qe, [["render", kt]]);
749
+ const wn = /* @__PURE__ */ Xe(et, [["render", It]]);
725
750
  export {
726
- cn as default
751
+ wn as default
727
752
  };