@piveau/dpi 0.1.0-beta.6 → 0.1.0-beta.60

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 (60) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/DPIMenu.vue.js +2 -2
  3. package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1 -1
  4. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +58 -53
  5. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +78 -66
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +11 -10
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +101 -76
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +7 -7
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +434 -360
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +17 -22
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +91 -61
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +170 -99
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +109 -52
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +65 -86
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +159 -103
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +571 -207
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +100 -53
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +52 -57
  24. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +301 -100
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +46 -27
  26. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +71 -38
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +182 -105
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +19 -14
  29. package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +1 -1
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
  31. package/dist/data-provider-interface/components/ContactPage.vue.js +148 -100
  32. package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +32 -32
  33. package/dist/data-provider-interface/components/DistLicense.vue.js +198 -99
  34. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +879 -843
  35. package/dist/data-provider-interface/components/Dropup.vue.js +6 -6
  36. package/dist/data-provider-interface/components/HVDPage.vue.js +107 -85
  37. package/dist/data-provider-interface/components/InfoSlot.vue.js +5 -5
  38. package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +89 -46
  39. package/dist/data-provider-interface/components/PublisherPage.vue.js +111 -81
  40. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +328 -265
  41. package/dist/data-provider-interface/components/TempResPage.vue.js +267 -187
  42. package/dist/data-provider-interface/components/TempResPageInModal.vue.js +395 -0
  43. package/dist/data-provider-interface/components/TitelPage.vue.js +4 -4
  44. package/dist/data-provider-interface/components/UpdateDate.vue.js +33 -29
  45. package/dist/data-provider-interface/components/dpiV3Description.vue.js +7 -6
  46. package/dist/data-provider-interface/composables/useDpiContext.js +5 -7
  47. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +397 -244
  48. package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +1 -1
  49. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +472 -95
  50. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +104 -152
  51. package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +10 -3
  52. package/dist/data-provider-interface/store/modules/authStore.js +11 -11
  53. package/dist/data-provider-interface/views/DraftsPage.vue.js +3 -3
  54. package/dist/data-provider-interface/views/InputPage.vue.js +381 -755
  55. package/dist/styles/_dpi.scss +1614 -0
  56. package/dist/styles/_maps.scss +24 -0
  57. package/dist/styles/_variables.scss +973 -0
  58. package/package.json +28 -19
  59. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +0 -41
  60. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +0 -46
@@ -1,45 +1,46 @@
1
- import { getNode as B } from "@formkit/core";
1
+ import { getNode as K } from "@formkit/core";
2
2
  import "@formkit/vue";
3
- import { PhNumberCircleFive as Z, PhCheckCircle as G, PhLightbulb as X } from "@phosphor-icons/vue";
4
- import { useWindowScroll as Y } from "@vueuse/core";
5
- import J from "jquery";
6
- import { has as _, isNil as F } from "lodash-es";
7
- import { defineComponent as N, resolveComponent as v, createElementBlock as o, openBlock as s, createCommentVNode as d, createElementVNode as a, createVNode as h, createBlock as b, withModifiers as Q, withCtx as U, Fragment as V, renderList as k, withDirectives as O, normalizeClass as C, toDisplayString as u, vShow as z, createTextVNode as M, ref as j, markRaw as x, computed as ee, getCurrentInstance as te } from "vue";
8
- import { useI18n as ie } from "vue-i18n";
9
- import { mapActions as H, mapGetters as W } from "vuex";
10
- import se from "../components/InputPageStep.vue.js";
11
- import ae from "../components/Navigation.vue.js";
3
+ import { PhNumberCircleFive as J, PhCheckCircle as Z, PhLightbulb as G } from "@phosphor-icons/vue";
4
+ import { useWindowScroll as Q } from "@vueuse/core";
5
+ import X from "jquery";
6
+ import { has as I, isNil as U } from "lodash-es";
7
+ import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as v, createBlock as b, toDisplayString as c, withModifiers as N, withCtx as j, Fragment as V, renderList as _, withDirectives as z, normalizeClass as y, vShow as H, createTextVNode as M, ref as R, markRaw as x, getCurrentInstance as ee } from "vue";
8
+ import { useI18n as te } from "vue-i18n";
9
+ import { mapActions as B, mapGetters as W } from "vuex";
10
+ import ie from "../components/InputPageStep.vue.js";
11
+ import se from "../components/Navigation.vue.js";
12
12
  import { useFormValues as oe } from "../composables/useDpiFormValues.js";
13
- import { useDpiStepper as re } from "../composables/useDpiStepper.js";
14
- import q from "../config/dcatapdeHappyFlow/converter.js";
15
- import le from "../HappyFlowComponents/img/Circle.svg.js";
16
- import de from "../HappyFlowComponents/img/CircleFill.svg.js";
17
- import ne from "../HappyFlowComponents/img/Selected1.svg.js";
18
- import ce from "../HappyFlowComponents/img/Selected1_2.svg.js";
13
+ import { useDpiStepper as ae } from "../composables/useDpiStepper.js";
14
+ import E from "../config/dcatapdeHappyFlow/converter.js";
15
+ import re from "../HappyFlowComponents/img/Circle.svg.js";
16
+ import ne from "../HappyFlowComponents/img/CircleFill.svg.js";
17
+ import le from "../HappyFlowComponents/img/Selected1.svg.js";
18
+ import de from "../HappyFlowComponents/img/Selected1_2.svg.js";
19
19
  import pe from "../HappyFlowComponents/img/Selected2.svg.js";
20
20
  import ue from "../HappyFlowComponents/img/Selected2_2.svg.js";
21
- import he from "../HappyFlowComponents/img/Selected3.svg.js";
22
- import me from "../HappyFlowComponents/img/Selected3_2.svg.js";
23
- import ge from "../HappyFlowComponents/img/Selected4.svg.js";
24
- import ve from "../HappyFlowComponents/img/Selected4_2.svg.js";
25
- import fe from "../HappyFlowComponents/img/Selected5.svg.js";
26
- import be from "../HappyFlowComponents/img/Selected5_2.svg.js";
27
- import { eventBus as Se } from "../HappyFlowComponents/services/eventBus.js";
28
- import ye from "../HappyFlowComponents/ui/ButtonV3.vue.js";
21
+ import ce from "../HappyFlowComponents/img/Selected3.svg.js";
22
+ import he from "../HappyFlowComponents/img/Selected3_2.svg.js";
23
+ import ve from "../HappyFlowComponents/img/Selected4.svg.js";
24
+ import me from "../HappyFlowComponents/img/Selected4_2.svg.js";
25
+ import ge from "../HappyFlowComponents/img/Selected5.svg.js";
26
+ import fe from "../HappyFlowComponents/img/Selected5_2.svg.js";
27
+ import { eventBus as be } from "../HappyFlowComponents/services/eventBus.js";
28
+ import Se from "../HappyFlowComponents/ui/ButtonV3.vue.js";
29
29
  import Ce from "../HappyFlowComponents/ui/Illustration.vue.js";
30
- import Ve from "../HappyFlowComponents/ui/LogoV3.vue.js";
31
- import ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
32
- import De from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
33
- import Ie from "./DistributionInputPage.vue.js";
34
- import _e from "./OverviewPage.vue.js";
35
- import Te from "./PropertyChooser.vue.js";
30
+ import ye from "../HappyFlowComponents/ui/LogoV3.vue.js";
31
+ import Ve from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
32
+ import _e from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
33
+ import ke from "./DistributionInputPage.vue.js";
34
+ import $e from "./OverviewPage.vue.js";
35
+ import Ie from "./PropertyChooser.vue.js";
36
36
  /* empty css */
37
37
  /* empty css */
38
38
  /* empty css */
39
- import Le from "../../_virtual/_plugin-vue_export-helper.js";
39
+ import Te from "../../_virtual/_plugin-vue_export-helper.js";
40
40
  import { useDpiContext as Pe } from "../composables/useDpiContext.js";
41
+ import { useEditModeInfo as De } from "../composables/useDpiEditMode.js";
41
42
  import { useFormSchema as we } from "../composables/useFormSchema.js";
42
- const Ae = N({
43
+ const Fe = Y({
43
44
  props: {
44
45
  property: {
45
46
  required: !0,
@@ -52,16 +53,15 @@ const Ae = N({
52
53
  },
53
54
  data() {
54
55
  return {
55
- circles: [le, de],
56
- images: [ne, pe, he, ge, fe],
56
+ circles: [re, ne],
57
+ images: [le, pe, ce, ve, ge],
57
58
  selectedImages: [
58
- ce,
59
+ de,
59
60
  ue,
61
+ he,
60
62
  me,
61
- ve,
62
- be
63
+ fe
63
64
  ],
64
- instance: te(),
65
65
  heightActiveSec: "10vh",
66
66
  // formValues: {},
67
67
  offsetTopStepper: "60px",
@@ -83,18 +83,18 @@ const Ae = N({
83
83
  };
84
84
  },
85
85
  components: {
86
- InputPageStep: se,
87
- DistributionInputPage: Ie,
88
- PropertyChooser: Te,
89
- Navigation: ae,
90
- LogoV3: Ve,
91
- ButtonV3: ye,
92
- TextButtonSmall: De,
86
+ InputPageStep: ie,
87
+ DistributionInputPage: ke,
88
+ PropertyChooser: Ie,
89
+ Navigation: se,
90
+ LogoV3: ye,
91
+ ButtonV3: Se,
92
+ TextButtonSmall: _e,
93
93
  Illustration: Ce,
94
- PhLightbulb: X,
95
- PhCheckCircle: G,
96
- PhNumberCircleFive: Z,
97
- ModalSimpleV3: ke
94
+ PhLightbulb: G,
95
+ PhCheckCircle: Z,
96
+ PhNumberCircleFive: J,
97
+ ModalSimpleV3: Ve
98
98
  },
99
99
  computed: {
100
100
  ...W("auth", [
@@ -105,7 +105,7 @@ const Ae = N({
105
105
  ...W("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
106
106
  getTitleStep() {
107
107
  return Object.keys(this.formValues).filter(
108
- (e) => _(this.formValues[e], "dct:title")
108
+ (e) => I(this.formValues[e], "dct:title")
109
109
  )[0];
110
110
  },
111
111
  createIDFromTitle() {
@@ -116,7 +116,7 @@ const Ae = N({
116
116
  getFirstTitleFromForm() {
117
117
  try {
118
118
  const e = this.formValues[this.getTitleStep];
119
- return _(e, "dct:title") && e["dct:title"].length > 0 && _(e["dct:title"][0], "@value") && !F(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
119
+ return I(e, "dct:title") && e["dct:title"].length > 0 && I(e["dct:title"][0], "@value") && !U(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
120
120
  } catch {
121
121
  }
122
122
  },
@@ -125,8 +125,8 @@ const Ae = N({
125
125
  }
126
126
  },
127
127
  methods: {
128
- ...H("auth", ["setIsEditMode", "setIsDraft"]),
129
- ...H("dpiStore", [
128
+ ...B("auth", ["setIsEditMode", "setIsDraft"]),
129
+ ...B("dpiStore", [
130
130
  "saveFormValues",
131
131
  "saveLocalstorageValues",
132
132
  "clearAll"
@@ -136,419 +136,17 @@ const Ae = N({
136
136
  },
137
137
  // Route to the RAP Page
138
138
  goToRAP() {
139
- this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(B(this.activeStep).value)[0];
140
- },
141
- // Remove after DPI development is finished - just fills all fields with dummy Data
142
- fillData() {
143
- this.formValues = {
144
- Landing: { happyFlowLandingPage: {} },
145
- Discoverability: {
146
- discoverabilityPage: [
147
- { isValid: !0 },
148
- {
149
- id: "SOCI",
150
- uri: "http://publications.europa.eu/resource/authority/data-theme/SOCI",
151
- label: "Bevölkerung und Gesellschaft"
152
- },
153
- {
154
- id: "EDUC",
155
- uri: "http://publications.europa.eu/resource/authority/data-theme/EDUC",
156
- label: "Bildung, Kultur und Sport"
157
- }
158
- ],
159
- hvdPage: [
160
- {
161
- isValid: !0,
162
- label: "Erdbeobachtung und Umwelt",
163
- uri: "http://data.europa.eu/bna/c_dd313021"
164
- }
165
- ]
166
- },
167
- BasicInfos: {
168
- "dct:title": [
169
- {
170
- isValid: !0,
171
- "@value": "Datensatz mit allen Props neu! Micha",
172
- "@language": "de"
173
- }
174
- ],
175
- "dct:description": [
176
- {
177
- isValid: !0,
178
- "@value": "Description Datensatz",
179
- "@language": "de"
180
- }
181
- ],
182
- "dct:modified": [
183
- {
184
- isValid: !0,
185
- "@type": "http://www.w3.org/2001/XMLSchema#date",
186
- "@value": "2025-07-01"
187
- }
188
- ],
189
- "dct:publisher": [
190
- {
191
- isValid: !0,
192
- "foaf:name": "OrgaName",
193
- "foaf:mbox": "emailOrga@mail.de",
194
- "foaf:homepage": "orgawebseite.de"
195
- }
196
- ],
197
- "dcat:contactPoint": [
198
- {
199
- isValid: !0,
200
- "vcard:fn": "Mobilitätsreferat - Verkehrs- und Verhaltensdaten",
201
- "vcard:hasEmail": "verkehrsdaten.mor@muenchen.de",
202
- "vcard:hasTelephone": "0158727522505"
203
- }
204
- ]
205
- },
206
- Covering: {
207
- "dcatde:politicalGeocodingURI": [{ isValid: !0 }],
208
- "dcat:temporalResolution": [
209
- {
210
- isValid: !0,
211
- type: "dct:PeriodOfTime",
212
- "dct:temporal": [
213
- {
214
- dataType: "dateTime",
215
- "dcat:startDate": "2025-07-03",
216
- "dcat:endDate": "2025-07-18",
217
- startTime: "12:08",
218
- endTime: "12:08"
219
- }
220
- ]
221
- }
222
- ]
223
- },
224
- DistributionSimple: {
225
- "dcat:distribution": [
226
- {
227
- isValid: !0,
228
- id: 1,
229
- "dcat:accessURL": "https://linkzudaten.de",
230
- "dct:format": {
231
- label: "GDB",
232
- uri: "http://publications.europa.eu/resource/authority/file-type/GDB"
233
- },
234
- "dct:title": "Dist Titel",
235
- documentations: [
236
- {
237
- id: 1,
238
- "dcat:accessURL": "",
239
- "dct:format": "STL",
240
- "dct:title": "Dokumentation Titel",
241
- "dct:description": "Dokumentation Description",
242
- "dcat:downloadURL": "https://dloadURL.de"
243
- }
244
- ],
245
- conformsToItems: [
246
- {
247
- id: 1,
248
- "dcat:accessURL": "",
249
- "dct:title": "Conforms To Titel",
250
- "dcat:downloadURL": "https://konformsto.de"
251
- }
252
- ],
253
- policyItems: [
254
- {
255
- id: 1,
256
- "dcat:accessURL": "",
257
- "dcat:downloadURL": "Https://regelwerk.de"
258
- }
259
- ],
260
- accessServices: [
261
- {
262
- id: 1,
263
- "dcat:accessURL": "",
264
- "dct:title": "Ausliefernder Datenservice Titel",
265
- "dct:description": "Ausliefernder Datenservice Beschreibung",
266
- "dcat:downloadURL": "https://ausliefernderDatenservice.de"
267
- }
268
- ],
269
- "dct:modified": "2025-07-03",
270
- "dct:issued": "2025-07-01",
271
- "dct:description": "Dist Beschreibung",
272
- "dcatde:licenseAttributionByText": "Namensnennungstext für By-Clauses",
273
- "dct:accessRights": "https://zugaenglichkeit.url",
274
- "dcatap:availability": {
275
- label: "AVAILABLE",
276
- uri: "http://publications.europa.eu/resource/authority/planned-availability/AVAILABLE"
277
- },
278
- "dct:language": {
279
- label: "ABK (ABK)",
280
- uri: "http://publications.europa.eu/resource/authority/language/ABK"
281
- },
282
- "dcat:byteSize": "51",
283
- "dcat:mediaType": {
284
- label: "CSS",
285
- uri: "http://publications.europa.eu/resource/authority/file-type/CSS"
286
- },
287
- "dcat:compressFormat": {
288
- label: "DOC",
289
- uri: "http://publications.europa.eu/resource/authority/file-type/DOC"
290
- },
291
- "dcat:packageFormat": {
292
- label: "FMX4_ZIP",
293
- uri: "http://publications.europa.eu/resource/authority/file-type/FMX4_ZIP"
294
- },
295
- "adms:status": "",
296
- checksum: {
297
- title: "31",
298
- "spdx:checksum": "sha384",
299
- uri: "http://spdx.org/rdf/terms#checksumAlgorithm_sha384"
300
- },
301
- changeLicense: { title: "", "dcterms:license": "" },
302
- showErrorFormat: !1,
303
- formatErrorMessage: "",
304
- showErrorDownloadURL: !1
305
- },
306
- {
307
- isValid: !0,
308
- id: 1,
309
- "dcat:accessURL": "https://linkzudatenZWEI.de",
310
- "dct:format": {
311
- label: "GDB",
312
- uri: "http://publications.europa.eu/resource/authority/file-type/GDB"
313
- },
314
- "dct:title": "Dist Titel ZWEI",
315
- documentations: [
316
- {
317
- id: 1,
318
- "dcat:accessURL": "",
319
- "dct:format": "STL",
320
- "dct:title": "Dokumentation Titel ZWEI",
321
- "dct:description": "Dokumentation Description",
322
- "dcat:downloadURL": "https://dloadURL.de"
323
- }
324
- ],
325
- conformsToItems: [
326
- {
327
- id: 1,
328
- "dcat:accessURL": "",
329
- "dct:title": "Conforms To Titel",
330
- "dcat:downloadURL": "https://konformsto.de"
331
- }
332
- ],
333
- policyItems: [
334
- {
335
- id: 1,
336
- "dcat:accessURL": "",
337
- "dcat:downloadURL": "Https://regelwerk.de"
338
- }
339
- ],
340
- accessServices: [
341
- {
342
- id: 1,
343
- "dcat:accessURL": "",
344
- "dct:title": "Ausliefernder Datenservice Titel",
345
- "dct:description": "Ausliefernder Datenservice Beschreibung",
346
- "dcat:downloadURL": "https://ausliefernderDatenservice.de"
347
- }
348
- ],
349
- "dct:modified": "2025-07-03",
350
- "dct:issued": "2025-07-01",
351
- "dct:description": "Dist BeschreibungZWEI",
352
- "dcatde:licenseAttributionByText": "Namensnennungstext für By-Clauses ZWEI",
353
- "dct:accessRights": "https://zugaenglichkeitZWEI.url",
354
- "dcatap:availability": {
355
- label: "AVAILABLE",
356
- uri: "http://publications.europa.eu/resource/authority/planned-availability/AVAILABLE"
357
- },
358
- "dct:language": {
359
- label: "ABK (ABK)",
360
- uri: "http://publications.europa.eu/resource/authority/language/ABK"
361
- },
362
- "dcat:byteSize": "51",
363
- "dcat:mediaType": {
364
- label: "CSS",
365
- uri: "http://publications.europa.eu/resource/authority/file-type/CSS"
366
- },
367
- "dcat:compressFormat": {
368
- label: "DOC",
369
- uri: "http://publications.europa.eu/resource/authority/file-type/DOC"
370
- },
371
- "dcat:packageFormat": {
372
- label: "FMX4_ZIP",
373
- uri: "http://publications.europa.eu/resource/authority/file-type/FMX4_ZIP"
374
- },
375
- "adms:status": "",
376
- checksum: {
377
- title: "31",
378
- "spdx:checksum": "sha384",
379
- uri: "http://spdx.org/rdf/terms#checksumAlgorithm_sha384"
380
- },
381
- changeLicense: { title: "", "dcterms:license": "" },
382
- showErrorFormat: !1,
383
- formatErrorMessage: "",
384
- showErrorDownloadURL: !1
385
- },
386
- {
387
- isValid: !0,
388
- id: 1,
389
- "dcat:accessURL": "https://linkzudatenDREI.de",
390
- "dct:format": {
391
- label: "GDB",
392
- uri: "http://publications.europa.eu/resource/authority/file-type/GDB"
393
- },
394
- "dct:title": "Dist Titel DREI",
395
- documentations: [
396
- {
397
- id: 1,
398
- "dcat:accessURL": "",
399
- "dct:format": "STL",
400
- "dct:title": "Dokumentation Titel DREI",
401
- "dct:description": "Dokumentation Description",
402
- "dcat:downloadURL": "https://dloadURL.de"
403
- }
404
- ],
405
- conformsToItems: [
406
- {
407
- id: 1,
408
- "dcat:accessURL": "",
409
- "dct:title": "Conforms To Titel",
410
- "dcat:downloadURL": "https://konformsto.de"
411
- }
412
- ],
413
- policyItems: [
414
- {
415
- id: 1,
416
- "dcat:accessURL": "",
417
- "dcat:downloadURL": "Https://regelwerk.de"
418
- }
419
- ],
420
- accessServices: [
421
- {
422
- id: 1,
423
- "dcat:accessURL": "",
424
- "dct:title": "Ausliefernder Datenservice Titel",
425
- "dct:description": "Ausliefernder Datenservice Beschreibung",
426
- "dcat:downloadURL": "https://ausliefernderDatenservice.de"
427
- }
428
- ],
429
- "dct:modified": "2025-07-03",
430
- "dct:issued": "2025-07-01",
431
- "dct:description": "Dist BeschreibungDREI",
432
- "dcatde:licenseAttributionByText": "Namensnennungstext für By-Clauses DREI",
433
- "dct:accessRights": "https://zugaenglichkeitDREI.url",
434
- "dcatap:availability": {
435
- label: "AVAILABLE",
436
- uri: "http://publications.europa.eu/resource/authority/planned-availability/AVAILABLE"
437
- },
438
- "dct:language": {
439
- label: "ABK (ABK)",
440
- uri: "http://publications.europa.eu/resource/authority/language/ABK"
441
- },
442
- "dcat:byteSize": "51",
443
- "dcat:mediaType": {
444
- label: "CSS",
445
- uri: "http://publications.europa.eu/resource/authority/file-type/CSS"
446
- },
447
- "dcat:compressFormat": {
448
- label: "DOC",
449
- uri: "http://publications.europa.eu/resource/authority/file-type/DOC"
450
- },
451
- "dcat:packageFormat": {
452
- label: "FMX4_ZIP",
453
- uri: "http://publications.europa.eu/resource/authority/file-type/FMX4_ZIP"
454
- },
455
- "adms:status": "",
456
- checksum: {
457
- title: "31",
458
- "spdx:checksum": "sha384",
459
- uri: "http://spdx.org/rdf/terms#checksumAlgorithm_sha384"
460
- },
461
- changeLicense: { title: "", "dcterms:license": "" },
462
- showErrorFormat: !1,
463
- formatErrorMessage: "",
464
- showErrorDownloadURL: !1
465
- }
466
- ],
467
- "dct:license": [
468
- {
469
- isValid: !0,
470
- "dcterms:license": "CC_BY_3_0",
471
- title: "Datenbereitsteller Lizenz",
472
- uri: "http://publications.europa.eu/resource/authority/licence/CC_BY_3_0"
473
- }
474
- ]
475
- },
476
- ReviewAndPublish: { reviewAndPublishPage: [{ isValid: !0 }] },
477
- Additionals: {
478
- "dcatde:geocodingDescription": [{ "@value": "Geocoding Desc" }],
479
- "dct:identifier": [{ "@value": "Identifier" }],
480
- "adms:versionNotes": [{ "@value": "sadsds" }],
481
- "dcatde:legalBasis": [{ "@value": "sdfsdf" }],
482
- "dct:relation": [{ "@id": "https://sdsdfljn.de" }],
483
- "dcat:landingPage": [{ "@id": "https://dfdfgdfg.de" }],
484
- "dct:language": [
485
- {
486
- "@value": "Rarotonganisch",
487
- uri: "http://publications.europa.eu/resource/authority/language/RAR"
488
- }
489
- ],
490
- "dct:conformsTo": [
491
- { "rdfs:label": "relatesto", "@id": "https://realtes.to" }
492
- ],
493
- "dct:accessRights": [
494
- {
495
- "@value": "sensibel",
496
- uri: "http://publications.europa.eu/resource/authority/access-right/SENSITIVE"
497
- }
498
- ],
499
- "dct:provenance": [{ "rdfs:label": "fdgfgd" }],
500
- "dct:accrualPeriodicity": [
501
- {
502
- "@value": "niemals",
503
- uri: "http://publications.europa.eu/resource/authority/frequency/NEVER"
504
- }
505
- ],
506
- "dct:type": [
507
- {
508
- "@value": "Geodaten",
509
- uri: "http://publications.europa.eu/resource/authority/dataset-type/GEOSPATIAL"
510
- }
511
- ],
512
- "prov:wasGeneratedBy": [{ "@id": "https://dfdfgdfg.gr" }],
513
- "dcat:spatialResolutionInMeters": [{ "@value": "121351" }],
514
- "dcat:temporalResolution": [
515
- {
516
- Year: "2025",
517
- Month: "11",
518
- Day: "11",
519
- Hour: "11",
520
- Minute: "11",
521
- Second: "1"
522
- }
523
- ],
524
- "prov:qualifiedAttribution": [{ "@id": "https://sdfsdf.de" }],
525
- "dcat:qualifiedRelation": [{ "@id": "https://sdfsdfs.de" }],
526
- "dct:isReferencedBy": [{ "@id": "https://asdasda.de" }],
527
- "dct:source": [{ "@id": "https://asdijhdf.de" }],
528
- "dct:hasVersion": [{ "@id": "https://asdasda.de" }],
529
- "dct:isVersionOf": [{ "@id": "https://asdasd.de" }],
530
- "dct:creator": [
531
- {
532
- "foaf:name": "asdasd",
533
- "foaf:mbox": "asdasd@mail.de",
534
- "foaf:homepage": "homepage.de"
535
- }
536
- ],
537
- "dct:contributor": [
538
- {
539
- "foaf:mbox": "asdasdasd@mail.de",
540
- "foaf:name": "kjabskdjabs",
541
- "foaf:homepage": "kahsbdkhasbd.de"
542
- }
543
- ]
544
- }
545
- }, console.log(this.$formkit.get("dpiForm"));
139
+ this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(K(this.activeStep).value)[0];
546
140
  },
547
141
  getCircles(e) {
548
142
  return e === this.substepCounter ? this.circles[1] : this.circles[0];
549
143
  },
144
+ validateStep() {
145
+ var e, t, i, n, a;
146
+ ((i = (t = (e = this.formValues[this.activeStep]) == null ? void 0 : e[this.activeSubStep]) == null ? void 0 : t[0]) == null ? void 0 : i.isValid) === !0 || ((n = this.formValues[this.activeStep][this.activeSubStep]) == null ? void 0 : n.isValid) === !0 ? this.navTrigger("next") : ((a = this.formValues[this.activeStep][this.activeSubStep]) != null && a[0] ? this.formValues[this.activeStep][this.activeSubStep][0].isValid = !1 : this.formValues[this.activeStep][this.activeSubStep].isValid = !1, this.handleDistributionsValidation(this.activeSubStep));
147
+ },
550
148
  handleDistributionsValidation(e) {
551
- Se.emit("nextClicked", e);
149
+ be.emit("nextClicked", e);
552
150
  },
553
151
  gotToHome() {
554
152
  window.location.href = this.$router.resolve({
@@ -558,18 +156,20 @@ const Ae = N({
558
156
  navTrigger(e, t) {
559
157
  try {
560
158
  let i = [];
561
- if (Object.keys(this.steps).forEach((n, c) => {
562
- let S = {
159
+ if (Object.keys(this.steps).forEach((n, a) => {
160
+ let m = {
563
161
  step: n,
564
- substeps: this.subSteps[c],
565
- substepCount: Object.keys(this.subSteps[c]).length
162
+ substeps: this.subSteps[a],
163
+ substepCount: Object.keys(this.subSteps[a]).length
566
164
  };
567
- i.push(S);
165
+ i.push(m);
568
166
  }), e === "next" && (i[this.stepCounter].substepCount > 1 ? (this.substepCounter + 1 === i[this.stepCounter].substepCount ? (this.stepCounter++, this.activeStep = i[this.stepCounter].step, this.activeSubStep = Object.keys(
569
167
  i[this.stepCounter].substeps
570
168
  )[0], this.substepCounter = 0) : (this.substepCounter++, this.activeSubStep = Object.keys(
571
169
  i[this.stepCounter].substeps
572
- )[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (B(this.activeStep).value[this.activeSubStep][0].isValid = !0)) : this.stepCounter != i.length - 1 && (this.stepCounter++, this.activeSubStep = Object.keys(
170
+ )[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (this.formValues.ReviewAndPublish.reviewAndPublishPage = [
171
+ { isValid: !0 }
172
+ ])) : this.stepCounter != i.length - 1 && (this.stepCounter++, this.activeSubStep = Object.keys(
573
173
  i[this.stepCounter].substeps
574
174
  )[0], this.activeStep = i[this.stepCounter].step)), e === "prev" && (i[this.stepCounter].substepCount > 1 ? this.substepCounter > 0 ? (this.substepCounter--, this.activeSubStep = Object.keys(
575
175
  i[this.stepCounter].substeps
@@ -579,59 +179,81 @@ const Ae = N({
579
179
  i[this.stepCounter].substeps
580
180
  )[this.substepCounter], this.activeStep = i[this.stepCounter].step)), e === "publish") {
581
181
  let n = "auth/createDataset";
582
- q(
182
+ E(
583
183
  this.formValues,
584
184
  this.dpiContext,
585
185
  this.getUserData,
586
186
  this.$env.api.hubUrl
587
- ).then((c) => {
187
+ ).then((a) => {
588
188
  this.dispatchDataToDPI(
589
- c.body,
189
+ a.body,
590
190
  n,
591
- c.actionParams,
191
+ a.actionParams,
592
192
  "publish"
593
193
  );
594
- }).catch((c) => {
595
- console.error("Fehler beim Senden der Daten:", c);
194
+ }).catch((a) => {
195
+ console.error("Fehler beim Senden der Daten:", a);
596
196
  }), setTimeout(() => {
597
197
  window.location.href = this.$router.resolve({
598
198
  name: "DPI-Home-HappyFlow"
599
199
  }).href;
600
200
  }, 1e3);
601
201
  }
602
- if (e === "draft") {
603
- let n = "auth/createUserDraft";
604
- q(
202
+ if (e === "depublish") {
203
+ let n = "auth/depublishById";
204
+ E(
605
205
  this.formValues,
606
206
  this.dpiContext,
607
207
  this.getUserData,
608
208
  this.$env.api.hubUrl
609
- ).then((c) => {
209
+ ).then((a) => {
610
210
  this.dispatchDataToDPI(
611
- c.body,
211
+ a.body,
612
212
  n,
613
- c.actionParams,
614
- "draft"
213
+ a.actionParams,
214
+ "depublish"
615
215
  );
616
- }).catch((c) => {
617
- console.error("Fehler beim Senden der Daten:", c);
216
+ }).catch((a) => {
217
+ console.error("Fehler beim Senden der Daten:", a);
618
218
  }), setTimeout(() => {
619
219
  window.location.href = this.$router.resolve({
620
220
  name: "DPI-Home-HappyFlow"
621
221
  }).href;
622
222
  }, 1e3);
623
223
  }
224
+ if (e === "draft") {
225
+ let n = "auth/createUserDraft";
226
+ E(
227
+ this.formValues,
228
+ this.dpiContext,
229
+ this.getUserData,
230
+ this.$env.api.hubUrl
231
+ ).then((a) => {
232
+ this.dispatchDataToDPI(
233
+ a.body,
234
+ n,
235
+ a.actionParams,
236
+ "draft"
237
+ );
238
+ }).catch((a) => {
239
+ console.error("Fehler beim Senden der Daten:", a);
240
+ });
241
+ }
624
242
  } catch (i) {
625
243
  console.log(i);
626
244
  }
627
245
  },
628
246
  async dispatchDataToDPI(e, t, i, n) {
629
- var c, S;
630
- console.log("body:", e, t, "params:", i, n);
247
+ var a, m;
631
248
  try {
632
- n === "publish" && (i.token = this.getUserData.rtpToken, console.log(i.token), i.url = `${this.$env.api.hubUrl}catalogues/${i.catalog}/datasets/origin?originalId=${i.id}`, await this.$store.dispatch(t, i)), n === "draft" && await this.$store.dispatch(t, i), (c = this.$Progress) == null || c.finish(), this.clearAll();
633
- } catch (y) {
634
- console.error(y), (S = this.$Progress) == null || S.fail();
249
+ n === "publish" && (i.token = this.getUserData.rtpToken, localStorage.getItem("dpi_draftmode") === "true" && localStorage.getItem("dpi_editmode") === "true" ? i.url = `${this.$env.api.hubUrl}drafts/datasets/publish/${i.id}?catalogue=${i.catalog}` : i.url = `${this.$env.api.hubUrl}catalogues/${i.catalog}/datasets/origin?originalId=${i.id}`, await this.$store.dispatch(t, i)), n === "draft" && await this.$store.dispatch(t, i), n === "depublish" && await this.$store.dispatch("auth/putDatasetToDraft", {
250
+ id: i.id,
251
+ catalog: i.catalog,
252
+ title: i.title,
253
+ description: i.description
254
+ }), (a = this.$Progress) == null || a.finish(), this.clearAll();
255
+ } catch (C) {
256
+ console.error(C), (m = this.$Progress) == null || m.fail();
635
257
  }
636
258
  },
637
259
  dropdownCLick() {
@@ -649,29 +271,33 @@ const Ae = N({
649
271
  window.scrollTo(0, 0);
650
272
  },
651
273
  initInputPage() {
652
- this.activeSubStep = this.activeSubStep || "Landing";
653
- const e = this.getSchema(this.property).value, t = Object.keys(e).find(
654
- (i) => e[i].map((n) => n.name).includes("dct:issued") || e[i].map((n) => n.name).includes("dct:modified")
274
+ this.activeSubStep = this.activeSubStep || "Landing", ee().appContext.app.config.globalProperties.$env;
275
+ const t = this.getSchema(this.property).value, i = Object.keys(t).find(
276
+ (n) => t[n].map((a) => a.name).includes("dct:issued") || t[n].map((a) => a.name).includes("dct:modified")
655
277
  );
656
- this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && t != null && e[t].forEach((i) => {
657
- (i.identifier === "issued" || i.identifier === "modified") && (i.children[1].props.else.validation = "", i.children[1].props.else["validation-visibility"] = "", i.children[1].props.then.validation = "", i.children[1].props.then["validation-visibility"] = "", i.children[1].props.then.validation = "", i.children[1].props.then["validation-visibility"] = "");
278
+ this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && i != null && t[i].forEach((n) => {
279
+ (n.identifier === "issued" || n.identifier === "modified") && (n.children[1].props.else.validation = "", n.children[1].props.else["validation-visibility"] = "", n.children[1].props.then.validation = "", n.children[1].props.then["validation-visibility"] = "", n.children[1].props.then.validation = "", n.children[1].props.then["validation-visibility"] = "");
658
280
  }), localStorage.getItem("dpi_editmode") === "false" && (this.setIsDraft(!1), this.setIsEditMode(!1)), this.$nextTick(() => {
659
- J('[data-toggle="tooltip"]').tooltip({
281
+ X('[data-bs-toggle="tooltip"]').tooltip({
660
282
  container: "body"
661
283
  }), setTimeout(() => {
662
- document.querySelectorAll(".formkitProperty h4").forEach((n, c) => {
663
- n.parentElement.parentElement.classList.contains(
284
+ document.querySelectorAll(".formkitProperty h4").forEach((a, m) => {
285
+ a.parentElement.parentElement.classList.contains(
664
286
  "formkitWrapRepeatable"
665
- ) || (c != 0 && c != 1 && c != 2 && c != 3 && n.nextElementSibling.classList.toggle("d-none"), n.addEventListener("click", () => {
666
- n.classList.toggle("dpiChevUp"), n.nextElementSibling.classList.toggle("d-none");
287
+ ) || (m != 0 && m != 1 && m != 2 && m != 3 && a.nextElementSibling.classList.toggle("d-none"), a.addEventListener("click", () => {
288
+ a.classList.toggle("dpiChevUp"), a.nextElementSibling.classList.toggle("d-none");
667
289
  }));
668
290
  }), document.querySelectorAll(".formkitProperty");
669
291
  });
670
292
  });
671
293
  },
294
+ handlePublishedRoute() {
295
+ const e = this.formValues[this.getTitleStep].datasetID, t = new URL(this.$env.api.baseUrl).origin + "/";
296
+ window.location.href = t + "datasets/" + e + "?locale=de";
297
+ },
672
298
  createDatasetID() {
673
299
  const e = this.formValues[this.getTitleStep];
674
- !_(e, "datasetID") || F(e.datasetID) ? this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle : (this.createIDFromTitle.startsWith(e.datasetID) || e.datasetID.startsWith(this.createIDFromTitle)) && (this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle);
300
+ !I(e, "datasetID") || U(e.datasetID) ? this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle : (this.createIDFromTitle.startsWith(e.datasetID) || e.datasetID.startsWith(this.createIDFromTitle)) && (this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle);
675
301
  },
676
302
  generateandTranslateSchema(e) {
677
303
  for (let t = 0; t < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; t++)
@@ -719,464 +345,464 @@ const Ae = N({
719
345
  });
720
346
  },
721
347
  setup() {
722
- const e = Pe(), {
723
- steps: t,
724
- activeStep: i,
725
- subSteps: n,
726
- visitedSteps: c,
727
- previousStep: S,
728
- nextStep: y,
729
- stepPlugin: g,
730
- goToNextStep: D,
731
- goToPreviousStep: T
732
- } = re(), { formValues: I } = oe(), { t: L, te: P } = ie(), w = j(!1), { translateSchema: A, createSchema: $, getSchema: R } = we({
733
- t: L,
734
- te: P
735
- }), E = () => {
736
- let { x: m, y: K } = Y({ behavior: "smooth" });
737
- K.value = 0;
738
- }, r = (m) => (t[m].errorCount > 0 || t[m].blockingCount > 0) && c.value.includes(m), p = x({ OverviewPage: _e }), l = ee(() => {
739
- var m;
740
- return !!((m = e.value.edit) != null && m.enabled);
741
- }), f = j("");
742
- return l.value && (i.value = "ReviewAndPublish", f.value = "reviewAndPublishPage"), {
743
- steps: t,
744
- visitedSteps: c,
745
- activeStep: i,
746
- activeSubStep: f,
747
- subSteps: n,
748
- previousStep: S,
749
- nextStep: y,
750
- stepPlugin: g,
751
- checkStepValidity: r,
752
- goToNextStep: D,
753
- goToPreviousStep: T,
754
- scrollToTop: E,
755
- library: p,
756
- isEditMode: l,
348
+ const e = Pe(), { isEditMode: t } = De(), {
349
+ steps: i,
350
+ activeStep: n,
351
+ subSteps: a,
352
+ visitedSteps: m,
353
+ previousStep: C,
354
+ nextStep: h,
355
+ stepPlugin: k,
356
+ goToNextStep: T,
357
+ goToPreviousStep: $
358
+ } = ae(), { formValues: P } = oe(), { t: D, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema: O } = we({
359
+ t: D,
360
+ te: w
361
+ }), l = () => {
362
+ let { x: f, y: q } = Q({ behavior: "smooth" });
363
+ q.value = 0;
364
+ }, u = (f) => (i[f].errorCount > 0 || i[f].blockingCount > 0) && m.value.includes(f), d = x({ OverviewPage: $e }), S = R("");
365
+ return t.value && (n.value = "ReviewAndPublish", S.value = "reviewAndPublishPage"), {
366
+ steps: i,
367
+ visitedSteps: m,
368
+ activeStep: n,
369
+ activeSubStep: S,
370
+ subSteps: a,
371
+ previousStep: C,
372
+ nextStep: h,
373
+ stepPlugin: k,
374
+ checkStepValidity: u,
375
+ goToNextStep: T,
376
+ goToPreviousStep: $,
377
+ scrollToTop: l,
378
+ library: d,
379
+ isEditMode: t,
757
380
  translateSchema: A,
758
- createSchema: $,
759
- getSchema: R,
381
+ createSchema: L,
382
+ getSchema: O,
760
383
  dpiContext: e,
761
- formValues: I,
762
- activeSimpleModal: w
384
+ formValues: P,
385
+ activeSimpleModal: F
763
386
  };
764
387
  }
765
- }), $e = { class: "form-container V3-typography" }, Re = {
388
+ }), Ae = { class: "form-container V3-typography" }, Le = {
766
389
  key: 0,
767
390
  ref: "fkInputContainer",
768
391
  class: "inputContainer"
769
- }, Ee = { class: "formContainer formkit" }, Be = { key: 0 }, Fe = { class: "dpiV3_stepper draftStepper" }, Ue = {
392
+ }, Oe = { class: "formContainer formkit" }, Ee = { key: 0 }, Ue = { class: "dpiV3_stepper draftStepper" }, je = {
770
393
  key: 0,
771
394
  class: "draftCTA"
772
- }, Oe = {
395
+ }, ze = {
773
396
  key: 1,
774
397
  class: "draftCTA"
775
- }, ze = { key: 1 }, Me = {
398
+ }, He = { key: 1 }, Me = {
776
399
  key: 0,
777
400
  class: "dpiV3_stepper"
778
- }, je = { class: "dpiV3_steps" }, He = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Ze = ["textContent"], Ge = { style: { "vertical-align": "middle" } }, Xe = { class: "dpiV3_subStepWrapper" }, Ye = {
401
+ }, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Je = ["textContent"], Ze = { style: { "vertical-align": "middle" } }, Ge = { class: "dpiV3_subStepWrapper" }, Qe = {
779
402
  key: 0,
780
403
  class: "dpiV3_seperatorHorizontalStepper"
781
- }, Je = {
404
+ }, Xe = {
782
405
  key: 1,
783
406
  class: "dpiV3_seperatorHorizontalStepperFat"
784
- }, Ne = {
407
+ }, Ye = {
785
408
  key: 2,
786
409
  class: "dpiV3_subStep"
787
- }, Qe = { class: "dpiV3_subStepInner" }, xe = { class: "dpiV3_subStepCircleWrap" }, et = ["src"], tt = { style: { height: "20px", display: "flex", "align-items": "center" } }, it = {
410
+ }, Ne = { class: "dpiV3_subStepInner" }, xe = { class: "dpiV3_subStepCircleWrap" }, et = ["src"], tt = { style: { height: "20px", display: "flex", "align-items": "center" } }, it = {
788
411
  key: 0,
789
412
  class: "dpiV3_step dpiV3_inactiveStep"
790
413
  }, st = {
791
414
  key: 1,
792
415
  class: "dpiV3_stepperLanding"
793
- }, at = { class: "dpiV3_bydata_logo_wordmark" }, ot = { class: "dpiV3_Illustration-Start" }, rt = {
416
+ }, ot = { class: "dpiV3_bydata_logo_wordmark" }, at = { class: "dpiV3_Illustration-Start" }, rt = {
794
417
  key: 2,
795
418
  class: "steps"
796
- }, lt = ["data-step-active", "data-step-valid", "onClick"], dt = { class: "stepBubbleWrap" }, nt = { class: "circle stepCircle" }, ct = ["textContent"], pt = {
419
+ }, nt = ["data-step-active", "data-step-valid", "onClick"], lt = { class: "stepBubbleWrap" }, dt = { class: "circle stepCircle" }, pt = ["textContent"], ut = {
797
420
  key: 0,
798
421
  class: "seperatorHorizontalStepper"
799
- }, ut = {
422
+ }, ct = {
800
423
  key: 0,
801
424
  class: "step inactiveStep"
802
- }, ht = { style: { width: "100%" } }, mt = {
425
+ }, ht = { style: { width: "100%" } }, vt = {
803
426
  key: 0,
804
427
  class: "dpiV3_CTALanding"
805
- }, gt = {
428
+ }, mt = {
806
429
  key: 1,
807
430
  class: "dpiV3_CTA_RaP"
808
- }, vt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, bt = {
431
+ }, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, bt = {
809
432
  key: 3,
810
433
  class: "dpiV3_Content_InputPage"
811
- }, St = { class: "dpiV3_Card_Tips" }, yt = { class: "dpiV3_Icon_Title" }, Ct = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" }, kt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Dt = { class: "dpiV3_hvd_frame3846" }, It = { class: "dpiV3_copy_large_semi_bold" }, _t = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Lt = { class: "dpiV3_copy_large_semi_bold" }, Pt = { class: "dpiV3_copy_large_regular" }, wt = { class: "dpiV3_hvd_frame3846" }, At = { class: "dpiV3_copy_large_semi_bold" }, $t = { class: "dpiV3_copy_large_regular" }, Rt = { class: "dpiV3_hvd_frame3846" }, Et = { class: "dpiV3_copy_large_semi_bold" }, Bt = { class: "dpiV3_copy_large_regular" }, Ft = {
434
+ }, St = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, yt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" }, _t = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, kt = { class: "dpiV3_hvd_frame3846" }, $t = { class: "dpiV3_copy_large_semi_bold" }, It = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Pt = { class: "dpiV3_copy_large_semi_bold" }, Dt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, wt = { class: "dpiV3_hvd_frame3846" }, Ft = { class: "dpiV3_copy_large_semi_bold" }, At = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Lt = { class: "dpiV3_hvd_frame3846" }, Ot = { class: "dpiV3_copy_large_semi_bold" }, Et = { class: "dpiV3_copy_large_regular" }, Ut = {
812
435
  key: 5,
813
436
  class: "p-1"
814
437
  };
815
- function Ut(e, t, i, n, c, S) {
816
- const y = v("TextButtonSmall"), g = v("ButtonV3"), D = v("LogoV3"), T = v("PhNumberCircleFive"), I = v("PhCheckCircle"), L = v("Illustration"), P = v("FormKitSchema"), w = v("PhLightbulb"), A = v("DistributionInputPage"), $ = v("InputPageStep"), R = v("FormKit"), E = v("ModalSimpleV3");
817
- return s(), o("div", $e, [
818
- e.isInput ? (s(), o("div", Re, [
819
- a("div", Ee, [
820
- h(R, {
438
+ function jt(e, t, i, n, a, m) {
439
+ const C = g("TextButtonSmall"), h = g("ButtonV3"), k = g("LogoV3"), T = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), P = g("Illustration"), D = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"), O = g("ModalSimpleV3");
440
+ return s(), r("div", Ae, [
441
+ e.isInput ? (s(), r("div", Le, [
442
+ o("div", Oe, [
443
+ o("details", null, [
444
+ o("pre", null, c(JSON.stringify(e.formValues, null, 2)), 1)
445
+ ]),
446
+ v(L, {
821
447
  id: "dpiForm",
822
448
  modelValue: e.formValues,
823
- "onUpdate:modelValue": t[7] || (t[7] = (r) => e.formValues = r),
449
+ "onUpdate:modelValue": t[11] || (t[11] = (l) => e.formValues = l),
824
450
  type: "form",
825
451
  actions: !1,
826
452
  plugins: [e.stepPlugin],
827
453
  class: "d-flex",
828
- onChange: t[8] || (t[8] = (r) => e.saveFormValues({
829
- property: e.property,
830
- page: e.page,
831
- distid: e.id,
832
- values: e.formValues
833
- })),
834
- onClick: t[9] || (t[9] = (r) => e.saveFormValues({
835
- property: e.property,
836
- page: e.page,
837
- distid: e.id,
838
- values: e.formValues
839
- })),
840
- onSubmit: t[10] || (t[10] = Q(() => {
454
+ onSubmit: t[12] || (t[12] = N(() => {
841
455
  }, ["prevent"]))
842
456
  }, {
843
- default: U(() => [
844
- e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), o("div", Be, [
845
- a("div", Fe, [
846
- h(y, {
457
+ default: j(() => [
458
+ e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Ee, [
459
+ o("div", Ue, [
460
+ v(C, {
847
461
  "button-text": "Übersicht",
848
462
  "icon-start": "CaretLeft",
849
463
  "icon-name": "caretLeft",
850
464
  onClick: e.gotToHome
851
465
  }, null, 8, ["onClick"]),
852
- a("div", null, [
853
- e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), o("div", Ue, [
854
- h(g, {
466
+ o("div", null, [
467
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", je, [
468
+ v(h, {
855
469
  "button-text": "Veröffentlichung aufheben",
856
470
  size: "large",
857
- onClick: e.todoHandler
858
- }, null, 8, ["onClick"]),
859
- h(g, {
471
+ onClick: t[0] || (t[0] = (l) => e.navTrigger("depublish"))
472
+ }),
473
+ v(h, {
860
474
  "button-text": "Veröffentlicht ansehen",
861
475
  variant: "secondary",
862
476
  size: "large",
863
477
  "icon-end": "Out",
864
- onClick: e.todoHandler
865
- }, null, 8, ["onClick"])
866
- ])) : (s(), o("div", Oe, [
867
- h(g, {
478
+ onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
479
+ })
480
+ ])) : (s(), r("div", ze, [
481
+ v(h, {
868
482
  "button-text": "Veröffentlichen",
869
483
  size: "large",
870
- onClick: t[0] || (t[0] = (r) => e.navTrigger("publish"))
484
+ onClick: t[2] || (t[2] = (l) => e.navTrigger("publish"))
871
485
  })
872
486
  ]))
873
487
  ])
874
488
  ])
875
- ])) : (s(), o("div", ze, [
876
- e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), o("div", Me, [
877
- h(D),
878
- a("ul", je, [
879
- (s(!0), o(V, null, k(e.steps, (r, p, l) => O((s(), o("li", {
880
- key: r,
881
- class: C(["dpiV3_step", {
882
- dpiV3_activeItem: e.activeStep === p,
883
- inactiveStep: p != e.activeStep,
884
- "has-errors": e.checkStepValidity(p)
489
+ ])) : (s(), r("div", He, [
490
+ e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
491
+ v(k),
492
+ o("ul", Re, [
493
+ (s(!0), r(V, null, _(e.steps, (l, u, d) => z((s(), r("li", {
494
+ key: l,
495
+ class: y(["dpiV3_step", {
496
+ dpiV3_activeItem: e.activeStep === u,
497
+ inactiveStep: u != e.activeStep,
498
+ "has-errors": e.checkStepValidity(u)
885
499
  }]),
886
- "data-step-active": e.activeStep === p,
887
- "data-step-valid": r.valid && r.errorCount === 0
500
+ "data-step-active": e.activeStep === u,
501
+ "data-step-valid": l.valid && l.errorCount === 0
888
502
  }, [
889
- a("div", We, [
890
- a("div", {
891
- class: C({
892
- dpiV3_activeStepName: p === e.activeStep,
893
- formerlyVisitedStep: e.stepCounter > l,
894
- "copy-small-regular": e.stepCounter > l
895
- })
503
+ o("div", We, [
504
+ o("div", {
505
+ class: y(["firstRowWrapper", {
506
+ dpiV3_activeStepName: u === e.activeStep,
507
+ formerlyVisitedStep: e.stepCounter > d,
508
+ "copy-small-regular": e.stepCounter > d
509
+ }])
896
510
  }, [
897
- e.activeStep === p && l < 5 ? (s(), o("img", {
511
+ e.activeStep === u && d < 5 ? (s(), r("img", {
898
512
  key: 0,
899
513
  class: "dpiV3_circle dpiV3_stepCircle",
900
- src: e.selectedImages[l - 1],
514
+ src: e.selectedImages[d - 1],
901
515
  alt: "Selected Icon"
902
- }, null, 8, qe)) : d("", !0),
903
- e.activeStep === p && l === 5 ? (s(), b(T, {
516
+ }, null, 8, qe)) : p("", !0),
517
+ e.activeStep === u && d === 5 ? (s(), b(T, {
904
518
  key: 1,
905
519
  size: 28,
906
520
  color: "#009FE3",
907
521
  weight: "fill"
908
- })) : d("", !0),
909
- l < e.stepCounter ? (s(), b(I, {
522
+ })) : p("", !0),
523
+ d < e.stepCounter ? (s(), b($, {
910
524
  key: 2,
911
525
  size: 28,
912
526
  color: "#70CC44",
913
527
  weight: "fill"
914
- })) : d("", !0),
915
- l > e.stepCounter ? (s(), o("img", {
528
+ })) : p("", !0),
529
+ d > e.stepCounter ? (s(), r("img", {
916
530
  key: 3,
917
531
  class: "dpiV3_circle dpiV3_stepCircle",
918
- src: e.images[l - 1],
532
+ src: e.images[d - 1],
919
533
  alt: "Selected Icon"
920
- }, null, 8, Ke)) : d("", !0),
921
- e.checkStepValidity(p) ? (s(), o("span", {
534
+ }, null, 8, Ke)) : p("", !0),
535
+ e.checkStepValidity(u) ? (s(), r("span", {
922
536
  key: 4,
923
537
  class: "dpiV3_step--errors",
924
- textContent: u(r.errorCount + r.blockingCount)
925
- }, null, 8, Ze)) : d("", !0),
926
- a("span", Ge, u(e.$t(`message.dataupload.steps.${p}Step`)), 1)
538
+ textContent: c(l.errorCount + l.blockingCount)
539
+ }, null, 8, Je)) : p("", !0),
540
+ o("span", Ze, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
927
541
  ], 2),
928
- a("div", Xe, [
929
- l + 1 != Object.keys(e.steps).length - 1 && l >= e.stepCounter ? (s(), o("div", Ye)) : d("", !0),
930
- l + 1 != Object.keys(e.steps).length - 1 && l < e.stepCounter ? (s(), o("div", Je)) : d("", !0),
931
- e.activeStep === p ? (s(), o("div", Ne, [
932
- e.stepCounter < 5 ? (s(!0), o(V, { key: 0 }, k(Object.keys(
933
- e.subSteps[l]
934
- ), (f, m) => (s(), o("div", Qe, [
935
- a("div", xe, [
936
- e.substepCounter > m ? (s(), b(I, {
542
+ o("div", Ge, [
543
+ d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
544
+ d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
545
+ e.activeStep === u ? (s(), r("div", Ye, [
546
+ e.stepCounter < 5 ? (s(!0), r(V, { key: 0 }, _(Object.keys(
547
+ e.subSteps[d]
548
+ ), (S, f) => (s(), r("div", Ne, [
549
+ o("div", xe, [
550
+ e.substepCounter > f ? (s(), b($, {
937
551
  key: 0,
938
552
  size: 20,
939
553
  color: "#009FE3"
940
- })) : (s(), o("img", {
554
+ })) : (s(), r("img", {
941
555
  key: 1,
942
- src: e.getCircles(m),
556
+ src: e.getCircles(f),
943
557
  alt: "circle"
944
558
  }, null, 8, et)),
945
- m != Object.keys(e.subSteps[l]).length - 1 ? (s(), o("div", {
559
+ f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
946
560
  key: 2,
947
- class: C(["dpiV3_seperatorHorizontalStepperInner", {
948
- dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > m
561
+ class: y(["dpiV3_seperatorHorizontalStepperInner", {
562
+ dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
949
563
  }])
950
- }, null, 2)) : d("", !0)
564
+ }, null, 2)) : p("", !0)
951
565
  ]),
952
- a("div", tt, [
953
- a("span", {
954
- class: C(["large-regular dpiV3_substepText", {
955
- dpiV3_activeStepDesc: f === e.activeSubStep,
956
- formerlyVisitedStep: e.substepCounter > m
566
+ o("div", tt, [
567
+ o("span", {
568
+ class: y(["large-regular dpiV3_substepText", {
569
+ dpiV3_activeStepDesc: S === e.activeSubStep,
570
+ formerlyVisitedStep: e.substepCounter > f
957
571
  }])
958
- }, u(e.$t(
959
- `message.dataupload.steps.${f.replace(/_\d+$/, "")}`
572
+ }, c(e.$t(
573
+ `message.dataupload.steps.${S.replace(
574
+ /_\d+$/,
575
+ ""
576
+ )}`
960
577
  )), 3)
961
578
  ])
962
- ]))), 256)) : d("", !0)
963
- ])) : d("", !0)
579
+ ]))), 256)) : p("", !0)
580
+ ])) : p("", !0)
964
581
  ])
965
582
  ])
966
- ], 10, He)), [
967
- [z, p !== "Landing" && p !== "Additionals"]
583
+ ], 10, Be)), [
584
+ [H, u !== "Landing" && u !== "Additionals"]
968
585
  ])), 128)),
969
- e.activeStep === "Overview" ? (s(), o("li", it, t[13] || (t[13] = [
970
- a("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
971
- ]))) : d("", !0)
586
+ e.activeStep === "Overview" ? (s(), r("li", it, t[15] || (t[15] = [
587
+ o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
588
+ ]))) : p("", !0)
972
589
  ])
973
- ])) : (s(), o("div", st, [
974
- a("div", at, [
975
- h(D)
590
+ ])) : (s(), r("div", st, [
591
+ o("div", ot, [
592
+ v(k)
976
593
  ]),
977
- a("div", ot, [
978
- h(L, { "illustration-name": "start" })
594
+ o("div", at, [
595
+ v(P, { "illustration-name": "start" })
979
596
  ])
980
597
  ]))
981
598
  ])),
982
- e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), o("ul", rt, [
983
- (s(!0), o(V, null, k(e.steps, (r, p, l) => (s(), o("li", {
984
- key: r,
985
- class: C(["step", {
986
- activeItem: e.activeStep === p,
987
- inactiveStep: p != e.activeStep,
988
- "has-errors": e.checkStepValidity(p)
599
+ e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
600
+ (s(!0), r(V, null, _(e.steps, (l, u, d) => (s(), r("li", {
601
+ key: l,
602
+ class: y(["step", {
603
+ activeItem: e.activeStep === u,
604
+ inactiveStep: u != e.activeStep,
605
+ "has-errors": e.checkStepValidity(u)
989
606
  }]),
990
- "data-step-active": e.activeStep === p,
991
- "data-step-valid": r.valid && r.errorCount === 0,
992
- onClick: (f) => {
993
- e.activeStep = p, e.update(), e.scrollToTop();
607
+ "data-step-active": e.activeStep === u,
608
+ "data-step-valid": l.valid && l.errorCount === 0,
609
+ onClick: (S) => {
610
+ e.activeStep = u, e.update(), e.scrollToTop();
994
611
  }
995
612
  }, [
996
- a("div", dt, [
997
- a("div", nt, u(l + 1), 1),
998
- e.checkStepValidity(p) ? (s(), o("span", {
613
+ o("div", lt, [
614
+ o("div", dt, c(d + 1), 1),
615
+ e.checkStepValidity(u) ? (s(), r("span", {
999
616
  key: 0,
1000
617
  class: "step--errors",
1001
- textContent: u(r.errorCount + r.blockingCount)
1002
- }, null, 8, ct)) : d("", !0),
1003
- M(u(e.$t(`message.dataupload.steps.${p}Step`)), 1)
618
+ textContent: c(l.errorCount + l.blockingCount)
619
+ }, null, 8, pt)) : p("", !0),
620
+ M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
1004
621
  ]),
1005
- l != Object.keys(e.steps).length ? (s(), o("div", pt)) : d("", !0)
1006
- ], 10, lt))), 128)),
1007
- e.activeStep === "Overview" ? (s(), o("li", ut, t[14] || (t[14] = [
1008
- a("div", { class: "circle stepCircle" }, null, -1)
1009
- ]))) : d("", !0)
1010
- ])) : d("", !0),
1011
- (s(!0), o(V, null, k(e.getNavSteps(
622
+ d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
623
+ ], 10, nt))), 128)),
624
+ e.activeStep === "Overview" ? (s(), r("li", ct, t[16] || (t[16] = [
625
+ o("div", { class: "circle stepCircle" }, null, -1)
626
+ ]))) : p("", !0)
627
+ ])) : p("", !0),
628
+ (s(!0), r(V, null, _(e.getNavSteps(
1012
629
  e.$env.content.dataProviderInterface.specification
1013
- )[e.property], (r, p) => (s(), b($, {
1014
- key: p,
1015
- name: r
630
+ )[e.property], (l, u) => (s(), b(A, {
631
+ key: u,
632
+ name: l
1016
633
  }, {
1017
- default: U(() => [
1018
- (s(!0), o(V, null, k(Object.keys(
1019
- e.getSchema(e.property).value[r]
1020
- ).length, (l, f) => O((s(), o("div", ht, [
1021
- r !== "Distributions" && r !== "Additionals" ? (s(), b(P, {
634
+ default: j(() => [
635
+ (s(!0), r(V, null, _(Object.keys(
636
+ e.getSchema(e.property).value[l]
637
+ ).length, (d, S) => z((s(), r("div", ht, [
638
+ l !== "Distributions" && l !== "Additionals" ? (s(), b(D, {
1022
639
  key: 0,
1023
- schema: e.getSchema(e.property).value[r][f],
640
+ schema: e.getSchema(e.property).value[l][S],
1024
641
  library: e.library,
1025
642
  "final-values": e.formValues,
1026
643
  onHandleNav: () => {
1027
644
  }
1028
- }, null, 8, ["schema", "library", "final-values"])) : d("", !0)
645
+ }, null, 8, ["schema", "library", "final-values"])) : p("", !0)
1029
646
  ], 512)), [
1030
647
  [
1031
- z,
648
+ H,
1032
649
  Object.values(
1033
- e.getSchema(e.property).value[r][f]
1034
- )[0] === e.activeSubStep.replace(/_\d+$/, "") || r === "Landing"
650
+ e.getSchema(e.property).value[l][S]
651
+ )[0] === e.activeSubStep.replace(/_\d+$/, "") || l === "Landing"
1035
652
  ]
1036
653
  ])), 256)),
1037
- e.activeStep === "Landing" ? (s(), o("div", mt, [
1038
- h(g, {
654
+ e.activeStep === "Landing" ? (s(), r("div", vt, [
655
+ v(h, {
1039
656
  "button-text": "Abbrechen",
1040
657
  size: "large",
1041
658
  variant: "tertiary",
1042
- onClick: t[1] || (t[1] = (l) => e.activeSimpleModal = !0)
659
+ onClick: t[3] || (t[3] = (d) => {
660
+ e.activeSimpleModal = !0, console.log(e.activeSimpleModal);
661
+ })
1043
662
  }),
1044
- h(g, {
663
+ v(h, {
1045
664
  "button-text": "Datenbereitstellung starten",
1046
665
  size: "large",
1047
- onClick: t[2] || (t[2] = (l) => e.navTrigger("next"))
666
+ onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
1048
667
  })
1049
- ])) : d("", !0),
1050
- e.activeStep === "ReviewAndPublish" ? (s(), o("div", gt, [
1051
- a("div", vt, [
1052
- h(g, {
668
+ ])) : p("", !0),
669
+ e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
670
+ o("div", gt, [
671
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), b(h, {
672
+ key: 0,
673
+ "button-text": "Veröffentlichung aufheben",
674
+ size: "large",
675
+ variant: "secondary",
676
+ onClick: t[5] || (t[5] = (d) => e.navTrigger("depublish"))
677
+ })) : (s(), b(h, {
678
+ key: 1,
1053
679
  "button-text": "Als Entwurf speichern",
1054
680
  size: "large",
1055
681
  variant: "secondary",
1056
- onClick: t[3] || (t[3] = (l) => e.navTrigger("draft"))
1057
- }),
1058
- h(g, {
682
+ onClick: t[6] || (t[6] = (d) => e.navTrigger("draft"))
683
+ })),
684
+ v(h, {
1059
685
  "button-text": "Veröffentlichen",
1060
686
  size: "large",
1061
- onClick: t[4] || (t[4] = (l) => e.formValues[e.activeStep][e.activeSubStep][0].isValid === !0 ? e.navTrigger("publish") : e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1)
687
+ onClick: t[7] || (t[7] = (d) => e.formValues[e.activeStep][e.activeSubStep][0].isValid === !0 ? e.navTrigger("publish") : e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1)
1062
688
  })
1063
689
  ])
1064
- ])) : d("", !0),
1065
- e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), o("div", {
690
+ ])) : p("", !0),
691
+ e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
1066
692
  key: 2,
1067
- class: C(["dpiV3_CTA", {
693
+ class: y(["dpiV3_CTA", {
1068
694
  dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
1069
695
  }])
1070
696
  }, [
1071
- h(g, {
697
+ v(h, {
1072
698
  "button-text": "Abbrechen",
1073
699
  size: "large",
1074
700
  variant: "tertiary",
1075
- onClick: e.cancelWizard
1076
- }, null, 8, ["onClick"]),
1077
- a("div", ft, [
1078
- e.activeStep !== "Landing" ? (s(), b(g, {
701
+ onClick: t[8] || (t[8] = (d) => e.activeSimpleModal = !0)
702
+ }),
703
+ o("div", ft, [
704
+ e.activeStep !== "Landing" ? (s(), b(h, {
1079
705
  key: 0,
1080
706
  "icon-start": "CaretLeft",
1081
707
  "button-text": "Zurück",
1082
708
  size: "large",
1083
709
  variant: "secondary",
1084
- onClick: t[5] || (t[5] = (l) => e.navTrigger("prev"))
1085
- })) : d("", !0),
1086
- h(g, {
710
+ onClick: t[9] || (t[9] = (d) => e.navTrigger("prev"))
711
+ })) : p("", !0),
712
+ v(h, {
1087
713
  "icon-end": "CaretRight",
1088
714
  "button-text": "Weiter",
1089
715
  size: "large",
1090
- onClick: t[6] || (t[6] = (l) => e.formValues[e.activeStep][e.activeSubStep][0].isValid === !0 ? e.navTrigger("next") : (e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1, e.handleDistributionsValidation(e.activeSubStep)))
716
+ onClick: t[10] || (t[10] = (d) => e.validateStep())
1091
717
  })
1092
718
  ])
1093
- ], 2)) : d("", !0),
1094
- e.activeSubStep.includes("hvdPage") ? (s(), o("div", bt, [
1095
- a("div", St, [
1096
- a("div", yt, [
1097
- h(w, {
719
+ ], 2)) : p("", !0),
720
+ e.activeSubStep.includes("hvdPage") ? (s(), r("div", bt, [
721
+ o("div", St, [
722
+ o("div", Ct, [
723
+ v(w, {
1098
724
  size: 32,
1099
725
  color: "#009fe3"
1100
726
  }),
1101
- a("div", Ct, u(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
727
+ o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
1102
728
  ]),
1103
- a("div", Vt, [
1104
- a("div", kt, u(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
1105
- a("div", Dt, [
1106
- a("div", It, " 1. " + u(e.$t(
729
+ o("div", Vt, [
730
+ o("div", _t, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
731
+ o("div", kt, [
732
+ o("div", $t, " 1. " + c(e.$t(
1107
733
  "message.dataupload.datasets.hvdPage.tips-question-1"
1108
734
  )), 1),
1109
- a("ul", _t, [
1110
- a("li", null, u(e.$t(
735
+ o("ul", It, [
736
+ o("li", null, c(e.$t(
1111
737
  "message.dataupload.datasets.hvdPage.hvd-category-1"
1112
738
  )), 1),
1113
- a("li", null, u(e.$t(
739
+ o("li", null, c(e.$t(
1114
740
  "message.dataupload.datasets.hvdPage.hvd-category-2"
1115
741
  )), 1),
1116
- a("li", null, u(e.$t(
742
+ o("li", null, c(e.$t(
1117
743
  "message.dataupload.datasets.hvdPage.hvd-category-3"
1118
744
  )), 1),
1119
- a("li", null, u(e.$t(
745
+ o("li", null, c(e.$t(
1120
746
  "message.dataupload.datasets.hvdPage.hvd-category-4"
1121
747
  )), 1),
1122
- a("li", null, u(e.$t(
748
+ o("li", null, c(e.$t(
1123
749
  "message.dataupload.datasets.hvdPage.hvd-category-5"
1124
750
  )), 1),
1125
- a("li", null, u(e.$t(
751
+ o("li", null, c(e.$t(
1126
752
  "message.dataupload.datasets.hvdPage.hvd-category-6"
1127
753
  )), 1)
1128
754
  ])
1129
755
  ]),
1130
- a("div", Tt, [
1131
- a("div", Lt, " 2. " + u(e.$t(
756
+ o("div", Tt, [
757
+ o("div", Pt, " 2. " + c(e.$t(
1132
758
  "message.dataupload.datasets.hvdPage.tips-question-2"
1133
759
  )), 1),
1134
- a("p", Pt, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
760
+ o("p", Dt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
1135
761
  ]),
1136
- a("div", wt, [
1137
- a("div", At, " 3. " + u(e.$t(
762
+ o("div", wt, [
763
+ o("div", Ft, " 3. " + c(e.$t(
1138
764
  "message.dataupload.datasets.hvdPage.tips-question-3"
1139
765
  )), 1),
1140
- a("p", $t, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
766
+ o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
1141
767
  ]),
1142
- a("div", Rt, [
1143
- a("div", Et, " 4. " + u(e.$t(
768
+ o("div", Lt, [
769
+ o("div", Ot, " 4. " + c(e.$t(
1144
770
  "message.dataupload.datasets.hvdPage.tips-question-4"
1145
771
  )), 1),
1146
- a("p", Bt, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
772
+ o("p", Et, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
1147
773
  ])
1148
774
  ])
1149
775
  ])
1150
- ])) : d("", !0),
1151
- r === "Distributions" ? (s(), b(A, {
776
+ ])) : p("", !0),
777
+ l === "Distributions" ? (s(), b(F, {
1152
778
  key: 4,
1153
779
  schema: e.getSchema("distributions"),
1154
780
  values: e.formValues
1155
- }, null, 8, ["schema", "values"])) : d("", !0),
1156
- r === "Mandatory" ? (s(), o("p", Ft, [
1157
- t[15] || (t[15] = a("b", null, "*", -1)),
1158
- M(" " + u(e.$t("message.dataupload.info.mandatory")), 1)
1159
- ])) : d("", !0)
781
+ }, null, 8, ["schema", "values"])) : p("", !0),
782
+ l === "Mandatory" ? (s(), r("p", Ut, [
783
+ t[17] || (t[17] = o("b", null, "*", -1)),
784
+ M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
785
+ ])) : p("", !0)
1160
786
  ]),
1161
787
  _: 2
1162
788
  }, 1032, ["name"]))), 128))
1163
789
  ]),
1164
790
  _: 1
1165
791
  }, 8, ["modelValue", "plugins"]),
1166
- e.activeSimpleModal ? (s(), b(E, {
792
+ e.activeSimpleModal ? (s(), b(O, {
1167
793
  key: 0,
1168
794
  buttons: e.modalSimpleConf.button,
1169
795
  "header-text": e.modalSimpleConf.header,
1170
796
  text: e.modalSimpleConf.text,
1171
797
  action: e.modalSimpleConf.action,
1172
- onClose: t[11] || (t[11] = (r) => e.activeSimpleModal = !1),
1173
- onActionHandling: t[12] || (t[12] = (r) => e.gotToHome())
1174
- }, null, 8, ["buttons", "header-text", "text", "action"])) : d("", !0)
798
+ onClose: t[13] || (t[13] = (l) => e.activeSimpleModal = !1),
799
+ onActionHandling: t[14] || (t[14] = (l) => e.gotToHome())
800
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
1175
801
  ])
1176
- ], 512)) : d("", !0)
802
+ ], 512)) : p("", !0)
1177
803
  ]);
1178
804
  }
1179
- const Ii = /* @__PURE__ */ Le(Ae, [["render", Ut]]);
805
+ const Ii = /* @__PURE__ */ Te(Fe, [["render", jt]]);
1180
806
  export {
1181
807
  Ii as default
1182
808
  };