@piveau/dpi 0.1.0-beta.7 → 0.1.0-beta.71

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 (62) 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 +88 -68
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +11 -10
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +101 -76
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +11 -11
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +444 -355
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +64 -28
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +108 -74
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +17 -22
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +122 -85
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +170 -99
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +110 -52
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +65 -86
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +159 -103
  24. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +566 -207
  26. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +100 -53
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +43 -89
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +329 -100
  29. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -26
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +70 -38
  31. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +181 -107
  32. package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +19 -14
  33. package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +1 -1
  34. package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
  35. package/dist/data-provider-interface/components/ContactPage.vue.js +148 -100
  36. package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +32 -32
  37. package/dist/data-provider-interface/components/DistLicense.vue.js +198 -99
  38. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +950 -833
  39. package/dist/data-provider-interface/components/Dropup.vue.js +6 -6
  40. package/dist/data-provider-interface/components/HVDPage.vue.js +107 -85
  41. package/dist/data-provider-interface/components/InfoSlot.vue.js +5 -5
  42. package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +89 -46
  43. package/dist/data-provider-interface/components/PublisherPage.vue.js +111 -81
  44. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +314 -260
  45. package/dist/data-provider-interface/components/TempResPage.vue.js +267 -187
  46. package/dist/data-provider-interface/components/TempResPageInModal.vue.js +392 -0
  47. package/dist/data-provider-interface/components/TitelPage.vue.js +4 -4
  48. package/dist/data-provider-interface/components/UpdateDate.vue.js +33 -29
  49. package/dist/data-provider-interface/components/dpiV3Description.vue.js +7 -6
  50. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +397 -244
  51. package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +1 -1
  52. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +477 -96
  53. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +104 -152
  54. package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +9 -2
  55. package/dist/data-provider-interface/store/modules/authStore.js +11 -11
  56. package/dist/data-provider-interface/views/DraftsPage.vue.js +3 -3
  57. package/dist/data-provider-interface/views/InputPage.vue.js +384 -758
  58. package/dist/styles/_dpi.scss +1614 -0
  59. package/dist/styles/_maps.scss +24 -0
  60. package/dist/styles/_variables.scss +973 -0
  61. package/package.json +28 -19
  62. 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 f, createElementBlock as o, openBlock as a, createCommentVNode as d, createElementVNode as s, createVNode as h, createBlock as b, toDisplayString as u, withModifiers as Q, withCtx as U, Fragment as V, renderList as k, withDirectives as O, normalizeClass as C, 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 Z, PhCheckCircle as G, PhLightbulb as J } from "@phosphor-icons/vue";
4
+ import { useWindowScroll as Q } from "@vueuse/core";
5
+ import X from "jquery";
6
+ import { has as I, isNil as E } 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, withModifiers as N, withCtx as j, Fragment as V, renderList as _, withDirectives as z, normalizeClass as y, toDisplayString as c, 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";
13
+ import { useDpiStepper as ae } from "../composables/useDpiStepper.js";
14
+ import O from "../config/dcatapdeHappyFlow/converter.js";
15
+ import re from "../HappyFlowComponents/img/Circle.svg.js";
16
+ import le from "../HappyFlowComponents/img/CircleFill.svg.js";
17
17
  import ne from "../HappyFlowComponents/img/Selected1.svg.js";
18
- import ce from "../HappyFlowComponents/img/Selected1_2.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 fe from "../HappyFlowComponents/img/Selected4_2.svg.js";
25
- import ve 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";
40
- import { useDpiContext as Pe } from "../composables/useDpiContext.js";
39
+ import Te from "../../_virtual/_plugin-vue_export-helper.js";
40
+ import { useDpiContext as De } from "../composables/useDpiContext.js";
41
+ import { useEditModeInfo as Pe } 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, ve],
56
+ circles: [re, le],
57
+ images: [ne, pe, ce, ve, ge],
57
58
  selectedImages: [
58
- ce,
59
+ de,
59
60
  ue,
61
+ he,
60
62
  me,
61
- fe,
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,
94
+ PhLightbulb: J,
95
95
  PhCheckCircle: G,
96
96
  PhNumberCircleFive: Z,
97
- ModalSimpleV3: ke
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") && !E(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, l, 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 || ((l = this.formValues[this.activeStep][this.activeSubStep]) == null ? void 0 : l.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 = {
563
- step: n,
564
- substeps: this.subSteps[c],
565
- substepCount: Object.keys(this.subSteps[c]).length
159
+ if (Object.keys(this.steps).forEach((l, a) => {
160
+ let m = {
161
+ step: l,
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
@@ -578,21 +178,43 @@ const Ae = N({
578
178
  )[this.substepCounter]) : (this.substepCounter = Object.keys(i[this.stepCounter - 1].substeps).length - 1, this.stepCounter--, this.activeSubStep = Object.keys(
579
179
  i[this.stepCounter].substeps
580
180
  )[this.substepCounter], this.activeStep = i[this.stepCounter].step)), e === "publish") {
581
- let n = "auth/createDataset";
582
- q(
181
+ let l = "auth/createDataset";
182
+ O(
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,
590
- n,
591
- c.actionParams,
189
+ a.body,
190
+ l,
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);
196
+ }), setTimeout(() => {
197
+ window.location.href = this.$router.resolve({
198
+ name: "DPI-Home-HappyFlow"
199
+ }).href;
200
+ }, 1e3);
201
+ }
202
+ if (e === "depublish") {
203
+ let l = "auth/depublishById";
204
+ O(
205
+ this.formValues,
206
+ this.dpiContext,
207
+ this.getUserData,
208
+ this.$env.api.hubUrl
209
+ ).then((a) => {
210
+ this.dispatchDataToDPI(
211
+ a.body,
212
+ l,
213
+ a.actionParams,
214
+ "depublish"
215
+ );
216
+ }).catch((a) => {
217
+ console.error("Fehler beim Senden der Daten:", a);
596
218
  }), setTimeout(() => {
597
219
  window.location.href = this.$router.resolve({
598
220
  name: "DPI-Home-HappyFlow"
@@ -600,21 +222,21 @@ const Ae = N({
600
222
  }, 1e3);
601
223
  }
602
224
  if (e === "draft") {
603
- let n = "auth/createUserDraft";
604
- q(
225
+ let l = "auth/createUserDraft";
226
+ O(
605
227
  this.formValues,
606
228
  this.dpiContext,
607
229
  this.getUserData,
608
230
  this.$env.api.hubUrl
609
- ).then((c) => {
231
+ ).then((a) => {
610
232
  this.dispatchDataToDPI(
611
- c.body,
612
- n,
613
- c.actionParams,
233
+ a.body,
234
+ l,
235
+ a.actionParams,
614
236
  "draft"
615
237
  );
616
- }).catch((c) => {
617
- console.error("Fehler beim Senden der Daten:", c);
238
+ }).catch((a) => {
239
+ console.error("Fehler beim Senden der Daten:", a);
618
240
  }), setTimeout(() => {
619
241
  window.location.href = this.$router.resolve({
620
242
  name: "DPI-Home-HappyFlow"
@@ -625,13 +247,17 @@ const Ae = N({
625
247
  console.log(i);
626
248
  }
627
249
  },
628
- async dispatchDataToDPI(e, t, i, n) {
629
- var c, S;
630
- console.log("body:", e, t, "params:", i, n);
250
+ async dispatchDataToDPI(e, t, i, l) {
251
+ var a, m;
631
252
  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();
253
+ l === "publish" && (i.token = this.getUserData.rtpToken, localStorage.getItem("dpi_draftmode") === "true" && localStorage.getItem("dpi_editmode") === "true" ? (i.url = `${this.$env.api.hubUrl}catalogues/${i.catalog}/datasets/origin?originalId=${i.id}`, await this.$store.dispatch("auth/createUserDraft", i), 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)), l === "draft" && await this.$store.dispatch(t, i), l === "depublish" && (await this.$store.dispatch("auth/putDatasetToDraft", {
254
+ id: i.id,
255
+ catalog: i.catalog,
256
+ title: i.title,
257
+ description: i.description
258
+ }), i.url = `${this.$env.api.hubUrl}catalogues/${i.catalog}/datasets/origin?originalId=${i.id}`, await this.$store.dispatch("auth/createUserDraft", i)), (a = this.$Progress) == null || a.finish(), this.clearAll();
259
+ } catch (C) {
260
+ console.error(C), (m = this.$Progress) == null || m.fail();
635
261
  }
636
262
  },
637
263
  dropdownCLick() {
@@ -649,29 +275,33 @@ const Ae = N({
649
275
  window.scrollTo(0, 0);
650
276
  },
651
277
  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")
278
+ this.activeSubStep = this.activeSubStep || "Landing", ee().appContext.app.config.globalProperties.$env;
279
+ const t = this.getSchema(this.property).value, i = Object.keys(t).find(
280
+ (l) => t[l].map((a) => a.name).includes("dct:issued") || t[l].map((a) => a.name).includes("dct:modified")
655
281
  );
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"] = "");
282
+ this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && i != null && t[i].forEach((l) => {
283
+ (l.identifier === "issued" || l.identifier === "modified") && (l.children[1].props.else.validation = "", l.children[1].props.else["validation-visibility"] = "", l.children[1].props.then.validation = "", l.children[1].props.then["validation-visibility"] = "", l.children[1].props.then.validation = "", l.children[1].props.then["validation-visibility"] = "");
658
284
  }), localStorage.getItem("dpi_editmode") === "false" && (this.setIsDraft(!1), this.setIsEditMode(!1)), this.$nextTick(() => {
659
- J('[data-toggle="tooltip"]').tooltip({
285
+ X('[data-bs-toggle="tooltip"]').tooltip({
660
286
  container: "body"
661
287
  }), setTimeout(() => {
662
- document.querySelectorAll(".formkitProperty h4").forEach((n, c) => {
663
- n.parentElement.parentElement.classList.contains(
288
+ document.querySelectorAll(".formkitProperty h4").forEach((a, m) => {
289
+ a.parentElement.parentElement.classList.contains(
664
290
  "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");
291
+ ) || (m != 0 && m != 1 && m != 2 && m != 3 && a.nextElementSibling.classList.toggle("d-none"), a.addEventListener("click", () => {
292
+ a.classList.toggle("dpiChevUp"), a.nextElementSibling.classList.toggle("d-none");
667
293
  }));
668
294
  }), document.querySelectorAll(".formkitProperty");
669
295
  });
670
296
  });
671
297
  },
298
+ handlePublishedRoute() {
299
+ const e = this.formValues[this.getTitleStep].datasetID, t = new URL(this.$env.api.baseUrl).origin + "/";
300
+ window.location.href = t + "datasets/" + e + "?locale=de";
301
+ },
672
302
  createDatasetID() {
673
303
  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);
304
+ !I(e, "datasetID") || E(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
305
  },
676
306
  generateandTranslateSchema(e) {
677
307
  for (let t = 0; t < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; t++)
@@ -714,470 +344,466 @@ const Ae = N({
714
344
  }
715
345
  },
716
346
  beforeRouteEnter(e, t, i) {
717
- i((n) => {
718
- t.name && !t.name.startsWith("DataProviderInterface") && n.clearAll();
347
+ i((l) => {
348
+ t.name && !t.name.startsWith("DataProviderInterface") && l.clearAll();
719
349
  });
720
350
  },
721
351
  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
- }), v = j("");
742
- return l.value && (i.value = "ReviewAndPublish", v.value = "reviewAndPublishPage"), {
743
- steps: t,
744
- visitedSteps: c,
745
- activeStep: i,
746
- activeSubStep: v,
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,
352
+ const e = De(), { isEditMode: t } = Pe(), {
353
+ steps: i,
354
+ activeStep: l,
355
+ subSteps: a,
356
+ visitedSteps: m,
357
+ previousStep: C,
358
+ nextStep: h,
359
+ stepPlugin: k,
360
+ goToNextStep: T,
361
+ goToPreviousStep: $
362
+ } = ae(), { formValues: D } = oe(), { t: P, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema: U } = we({
363
+ t: P,
364
+ te: w
365
+ }), n = () => {
366
+ let { x: f, y: q } = Q({ behavior: "smooth" });
367
+ q.value = 0;
368
+ }, u = (f) => (i[f].errorCount > 0 || i[f].blockingCount > 0) && m.value.includes(f), d = x({ OverviewPage: $e }), S = R("");
369
+ return t.value && (l.value = "ReviewAndPublish", S.value = "reviewAndPublishPage"), {
370
+ steps: i,
371
+ visitedSteps: m,
372
+ activeStep: l,
373
+ activeSubStep: S,
374
+ subSteps: a,
375
+ previousStep: C,
376
+ nextStep: h,
377
+ stepPlugin: k,
378
+ checkStepValidity: u,
379
+ goToNextStep: T,
380
+ goToPreviousStep: $,
381
+ scrollToTop: n,
382
+ library: d,
383
+ isEditMode: t,
757
384
  translateSchema: A,
758
- createSchema: $,
759
- getSchema: R,
385
+ createSchema: L,
386
+ getSchema: U,
760
387
  dpiContext: e,
761
- formValues: I,
762
- activeSimpleModal: w
388
+ formValues: D,
389
+ activeSimpleModal: F
763
390
  };
764
391
  }
765
- }), $e = { class: "form-container V3-typography" }, Re = {
392
+ }), Ae = { class: "form-container V3-typography" }, Le = {
766
393
  key: 0,
767
394
  ref: "fkInputContainer",
768
395
  class: "inputContainer"
769
- }, Ee = { class: "formContainer formkit" }, Be = { key: 0 }, Fe = { class: "dpiV3_stepper draftStepper" }, Ue = {
396
+ }, Ue = { class: "formContainer formkit" }, Oe = { key: 0 }, Ee = { class: "dpiV3_stepper draftStepper" }, je = {
770
397
  key: 0,
771
398
  class: "draftCTA"
772
- }, Oe = {
399
+ }, ze = {
773
400
  key: 1,
774
401
  class: "draftCTA"
775
- }, ze = { key: 1 }, Me = {
402
+ }, He = { key: 1 }, Me = {
776
403
  key: 0,
777
404
  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 = {
405
+ }, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Ze = ["textContent"], Ge = { style: { "vertical-align": "middle" } }, Je = { class: "dpiV3_subStepWrapper" }, Qe = {
779
406
  key: 0,
780
407
  class: "dpiV3_seperatorHorizontalStepper"
781
- }, Je = {
408
+ }, Xe = {
782
409
  key: 1,
783
410
  class: "dpiV3_seperatorHorizontalStepperFat"
784
- }, Ne = {
411
+ }, Ye = {
785
412
  key: 2,
786
413
  class: "dpiV3_subStep"
787
- }, Qe = { class: "dpiV3_subStepInner" }, xe = { class: "dpiV3_subStepCircleWrap" }, et = ["src"], tt = { style: { height: "20px", display: "flex", "align-items": "center" } }, it = {
414
+ }, Ne = { class: "dpiV3_subStepInner" }, xe = { class: "dpiV3_subStepCircleWrap" }, et = ["src"], tt = { style: { height: "20px", display: "flex", "align-items": "center" } }, it = {
788
415
  key: 0,
789
416
  class: "dpiV3_step dpiV3_inactiveStep"
790
417
  }, st = {
791
418
  key: 1,
792
419
  class: "dpiV3_stepperLanding"
793
- }, at = { class: "dpiV3_bydata_logo_wordmark" }, ot = { class: "dpiV3_Illustration-Start" }, rt = {
420
+ }, ot = { class: "dpiV3_bydata_logo_wordmark" }, at = { class: "dpiV3_Illustration-Start" }, rt = {
794
421
  key: 2,
795
422
  class: "steps"
796
- }, lt = ["data-step-active", "data-step-valid", "onClick"], dt = { class: "stepBubbleWrap" }, nt = { class: "circle stepCircle" }, ct = ["textContent"], pt = {
423
+ }, lt = ["data-step-active", "data-step-valid", "onClick"], nt = { class: "stepBubbleWrap" }, dt = { class: "circle stepCircle" }, pt = ["textContent"], ut = {
797
424
  key: 0,
798
425
  class: "seperatorHorizontalStepper"
799
- }, ut = {
426
+ }, ct = {
800
427
  key: 0,
801
428
  class: "step inactiveStep"
802
- }, ht = { style: { width: "100%" } }, mt = {
429
+ }, ht = { style: { width: "100%" } }, vt = {
803
430
  key: 0,
804
431
  class: "dpiV3_CTALanding"
805
- }, gt = {
432
+ }, mt = {
806
433
  key: 1,
807
434
  class: "dpiV3_CTA_RaP"
808
- }, ft = { class: "dpiV3_CTANav" }, vt = { class: "dpiV3_CTANav" }, bt = {
435
+ }, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, bt = {
809
436
  key: 3,
810
437
  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 = {
438
+ }, 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" }, Dt = { class: "dpiV3_copy_large_semi_bold" }, Pt = { 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" }, Ut = { class: "dpiV3_copy_large_semi_bold" }, Ot = { class: "dpiV3_copy_large_regular" }, Et = {
812
439
  key: 5,
813
440
  class: "p-1"
814
441
  };
815
- function Ut(e, t, i, n, c, S) {
816
- const y = f("TextButtonSmall"), g = f("ButtonV3"), D = f("LogoV3"), T = f("PhNumberCircleFive"), I = f("PhCheckCircle"), L = f("Illustration"), P = f("FormKitSchema"), w = f("PhLightbulb"), A = f("DistributionInputPage"), $ = f("InputPageStep"), R = f("FormKit"), E = f("ModalSimpleV3");
817
- return a(), o("div", $e, [
818
- e.isInput ? (a(), o("div", Re, [
819
- s("div", Ee, [
820
- s("details", null, u(e.formValues), 1),
821
- h(R, {
442
+ function jt(e, t, i, l, a, m) {
443
+ const C = g("TextButtonSmall"), h = g("ButtonV3"), k = g("LogoV3"), T = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), D = g("Illustration"), P = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"), U = g("ModalSimpleV3");
444
+ return s(), r("div", Ae, [
445
+ e.isInput ? (s(), r("div", Le, [
446
+ o("div", Ue, [
447
+ v(L, {
822
448
  id: "dpiForm",
823
449
  modelValue: e.formValues,
824
- "onUpdate:modelValue": t[7] || (t[7] = (r) => e.formValues = r),
450
+ "onUpdate:modelValue": t[11] || (t[11] = (n) => e.formValues = n),
825
451
  type: "form",
826
452
  actions: !1,
827
453
  plugins: [e.stepPlugin],
828
454
  class: "d-flex",
829
- onChange: t[8] || (t[8] = (r) => e.saveFormValues({
830
- property: e.property,
831
- page: e.page,
832
- distid: e.id,
833
- values: e.formValues
834
- })),
835
- onClick: t[9] || (t[9] = (r) => e.saveFormValues({
836
- property: e.property,
837
- page: e.page,
838
- distid: e.id,
839
- values: e.formValues
840
- })),
841
- onSubmit: t[10] || (t[10] = Q(() => {
455
+ onSubmit: t[12] || (t[12] = N(() => {
842
456
  }, ["prevent"]))
843
457
  }, {
844
- default: U(() => [
845
- e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (a(), o("div", Be, [
846
- s("div", Fe, [
847
- h(y, {
458
+ default: j(() => [
459
+ e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Oe, [
460
+ o("div", Ee, [
461
+ v(C, {
848
462
  "button-text": "Übersicht",
849
463
  "icon-start": "CaretLeft",
850
464
  "icon-name": "caretLeft",
851
465
  onClick: e.gotToHome
852
466
  }, null, 8, ["onClick"]),
853
- s("div", null, [
854
- e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (a(), o("div", Ue, [
855
- h(g, {
467
+ o("div", null, [
468
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", je, [
469
+ v(h, {
856
470
  "button-text": "Veröffentlichung aufheben",
857
471
  size: "large",
858
- onClick: e.todoHandler
859
- }, null, 8, ["onClick"]),
860
- h(g, {
472
+ onClick: t[0] || (t[0] = (n) => e.navTrigger("depublish"))
473
+ }),
474
+ v(h, {
861
475
  "button-text": "Veröffentlicht ansehen",
862
476
  variant: "secondary",
863
477
  size: "large",
864
478
  "icon-end": "Out",
865
- onClick: e.todoHandler
866
- }, null, 8, ["onClick"])
867
- ])) : (a(), o("div", Oe, [
868
- h(g, {
479
+ onClick: t[1] || (t[1] = (n) => e.handlePublishedRoute())
480
+ })
481
+ ])) : (s(), r("div", ze, [
482
+ v(h, {
869
483
  "button-text": "Veröffentlichen",
870
484
  size: "large",
871
- onClick: t[0] || (t[0] = (r) => e.navTrigger("publish"))
485
+ onClick: t[2] || (t[2] = (n) => e.navTrigger("publish"))
872
486
  })
873
487
  ]))
874
488
  ])
875
489
  ])
876
- ])) : (a(), o("div", ze, [
877
- e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (a(), o("div", Me, [
878
- h(D),
879
- s("ul", je, [
880
- (a(!0), o(V, null, k(e.steps, (r, p, l) => O((a(), o("li", {
881
- key: r,
882
- class: C(["dpiV3_step", {
883
- dpiV3_activeItem: e.activeStep === p,
884
- inactiveStep: p != e.activeStep,
885
- "has-errors": e.checkStepValidity(p)
490
+ ])) : (s(), r("div", He, [
491
+ e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
492
+ v(k),
493
+ o("ul", Re, [
494
+ (s(!0), r(V, null, _(e.steps, (n, u, d) => z((s(), r("li", {
495
+ key: n,
496
+ class: y(["dpiV3_step", {
497
+ dpiV3_activeItem: e.activeStep === u,
498
+ inactiveStep: u != e.activeStep,
499
+ "has-errors": e.checkStepValidity(u)
886
500
  }]),
887
- "data-step-active": e.activeStep === p,
888
- "data-step-valid": r.valid && r.errorCount === 0
501
+ "data-step-active": e.activeStep === u,
502
+ "data-step-valid": n.valid && n.errorCount === 0
889
503
  }, [
890
- s("div", We, [
891
- s("div", {
892
- class: C({
893
- dpiV3_activeStepName: p === e.activeStep,
894
- formerlyVisitedStep: e.stepCounter > l,
895
- "copy-small-regular": e.stepCounter > l
896
- })
504
+ o("div", We, [
505
+ o("div", {
506
+ class: y(["firstRowWrapper", {
507
+ dpiV3_activeStepName: u === e.activeStep,
508
+ formerlyVisitedStep: e.stepCounter > d,
509
+ "copy-small-regular": e.stepCounter > d
510
+ }])
897
511
  }, [
898
- e.activeStep === p && l < 5 ? (a(), o("img", {
512
+ e.activeStep === u && d < 5 ? (s(), r("img", {
899
513
  key: 0,
900
514
  class: "dpiV3_circle dpiV3_stepCircle",
901
- src: e.selectedImages[l - 1],
515
+ src: e.selectedImages[d - 1],
902
516
  alt: "Selected Icon"
903
- }, null, 8, qe)) : d("", !0),
904
- e.activeStep === p && l === 5 ? (a(), b(T, {
517
+ }, null, 8, qe)) : p("", !0),
518
+ e.activeStep === u && d === 5 ? (s(), b(T, {
905
519
  key: 1,
906
520
  size: 28,
907
521
  color: "#009FE3",
908
522
  weight: "fill"
909
- })) : d("", !0),
910
- l < e.stepCounter ? (a(), b(I, {
523
+ })) : p("", !0),
524
+ d < e.stepCounter ? (s(), b($, {
911
525
  key: 2,
912
526
  size: 28,
913
527
  color: "#70CC44",
914
528
  weight: "fill"
915
- })) : d("", !0),
916
- l > e.stepCounter ? (a(), o("img", {
529
+ })) : p("", !0),
530
+ d > e.stepCounter ? (s(), r("img", {
917
531
  key: 3,
918
532
  class: "dpiV3_circle dpiV3_stepCircle",
919
- src: e.images[l - 1],
533
+ src: e.images[d - 1],
920
534
  alt: "Selected Icon"
921
- }, null, 8, Ke)) : d("", !0),
922
- e.checkStepValidity(p) ? (a(), o("span", {
535
+ }, null, 8, Ke)) : p("", !0),
536
+ e.checkStepValidity(u) ? (s(), r("span", {
923
537
  key: 4,
924
538
  class: "dpiV3_step--errors",
925
- textContent: u(r.errorCount + r.blockingCount)
926
- }, null, 8, Ze)) : d("", !0),
927
- s("span", Ge, u(e.$t(`message.dataupload.steps.${p}Step`)), 1)
539
+ textContent: c(n.errorCount + n.blockingCount)
540
+ }, null, 8, Ze)) : p("", !0),
541
+ o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
928
542
  ], 2),
929
- s("div", Xe, [
930
- l + 1 != Object.keys(e.steps).length - 1 && l >= e.stepCounter ? (a(), o("div", Ye)) : d("", !0),
931
- l + 1 != Object.keys(e.steps).length - 1 && l < e.stepCounter ? (a(), o("div", Je)) : d("", !0),
932
- e.activeStep === p ? (a(), o("div", Ne, [
933
- e.stepCounter < 5 ? (a(!0), o(V, { key: 0 }, k(Object.keys(
934
- e.subSteps[l]
935
- ), (v, m) => (a(), o("div", Qe, [
936
- s("div", xe, [
937
- e.substepCounter > m ? (a(), b(I, {
543
+ o("div", Je, [
544
+ d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
545
+ d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
546
+ e.activeStep === u ? (s(), r("div", Ye, [
547
+ e.stepCounter < 5 ? (s(!0), r(V, { key: 0 }, _(Object.keys(
548
+ e.subSteps[d]
549
+ ), (S, f) => (s(), r("div", Ne, [
550
+ o("div", xe, [
551
+ e.substepCounter > f ? (s(), b($, {
938
552
  key: 0,
939
553
  size: 20,
940
554
  color: "#009FE3"
941
- })) : (a(), o("img", {
555
+ })) : (s(), r("img", {
942
556
  key: 1,
943
- src: e.getCircles(m),
557
+ src: e.getCircles(f),
944
558
  alt: "circle"
945
559
  }, null, 8, et)),
946
- m != Object.keys(e.subSteps[l]).length - 1 ? (a(), o("div", {
560
+ f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
947
561
  key: 2,
948
- class: C(["dpiV3_seperatorHorizontalStepperInner", {
949
- dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > m
562
+ class: y(["dpiV3_seperatorHorizontalStepperInner", {
563
+ dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
950
564
  }])
951
- }, null, 2)) : d("", !0)
565
+ }, null, 2)) : p("", !0)
952
566
  ]),
953
- s("div", tt, [
954
- s("span", {
955
- class: C(["large-regular dpiV3_substepText", {
956
- dpiV3_activeStepDesc: v === e.activeSubStep,
957
- formerlyVisitedStep: e.substepCounter > m
567
+ o("div", tt, [
568
+ o("span", {
569
+ class: y(["large-regular dpiV3_substepText", {
570
+ dpiV3_activeStepDesc: S === e.activeSubStep,
571
+ formerlyVisitedStep: e.substepCounter > f
958
572
  }])
959
- }, u(e.$t(
960
- `message.dataupload.steps.${v.replace(/_\d+$/, "")}`
573
+ }, c(e.$t(
574
+ `message.dataupload.steps.${S.replace(
575
+ /_\d+$/,
576
+ ""
577
+ )}`
961
578
  )), 3)
962
579
  ])
963
- ]))), 256)) : d("", !0)
964
- ])) : d("", !0)
580
+ ]))), 256)) : p("", !0)
581
+ ])) : p("", !0)
965
582
  ])
966
583
  ])
967
- ], 10, He)), [
968
- [z, p !== "Landing" && p !== "Additionals"]
584
+ ], 10, Be)), [
585
+ [H, u !== "Landing" && u !== "Additionals"]
969
586
  ])), 128)),
970
- e.activeStep === "Overview" ? (a(), o("li", it, t[13] || (t[13] = [
971
- s("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
972
- ]))) : d("", !0)
587
+ e.activeStep === "Overview" ? (s(), r("li", it, t[15] || (t[15] = [
588
+ o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
589
+ ]))) : p("", !0)
973
590
  ])
974
- ])) : (a(), o("div", st, [
975
- s("div", at, [
976
- h(D)
591
+ ])) : (s(), r("div", st, [
592
+ o("div", ot, [
593
+ v(k)
977
594
  ]),
978
- s("div", ot, [
979
- h(L, { "illustration-name": "start" })
595
+ o("div", at, [
596
+ v(D, { "illustration-name": "start" })
980
597
  ])
981
598
  ]))
982
599
  ])),
983
- e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (a(), o("ul", rt, [
984
- (a(!0), o(V, null, k(e.steps, (r, p, l) => (a(), o("li", {
985
- key: r,
986
- class: C(["step", {
987
- activeItem: e.activeStep === p,
988
- inactiveStep: p != e.activeStep,
989
- "has-errors": e.checkStepValidity(p)
600
+ e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
601
+ (s(!0), r(V, null, _(e.steps, (n, u, d) => (s(), r("li", {
602
+ key: n,
603
+ class: y(["step", {
604
+ activeItem: e.activeStep === u,
605
+ inactiveStep: u != e.activeStep,
606
+ "has-errors": e.checkStepValidity(u)
990
607
  }]),
991
- "data-step-active": e.activeStep === p,
992
- "data-step-valid": r.valid && r.errorCount === 0,
993
- onClick: (v) => {
994
- e.activeStep = p, e.update(), e.scrollToTop();
608
+ "data-step-active": e.activeStep === u,
609
+ "data-step-valid": n.valid && n.errorCount === 0,
610
+ onClick: (S) => {
611
+ e.activeStep = u, e.update(), e.scrollToTop();
995
612
  }
996
613
  }, [
997
- s("div", dt, [
998
- s("div", nt, u(l + 1), 1),
999
- e.checkStepValidity(p) ? (a(), o("span", {
614
+ o("div", nt, [
615
+ o("div", dt, c(d + 1), 1),
616
+ e.checkStepValidity(u) ? (s(), r("span", {
1000
617
  key: 0,
1001
618
  class: "step--errors",
1002
- textContent: u(r.errorCount + r.blockingCount)
1003
- }, null, 8, ct)) : d("", !0),
1004
- M(u(e.$t(`message.dataupload.steps.${p}Step`)), 1)
619
+ textContent: c(n.errorCount + n.blockingCount)
620
+ }, null, 8, pt)) : p("", !0),
621
+ M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
1005
622
  ]),
1006
- l != Object.keys(e.steps).length ? (a(), o("div", pt)) : d("", !0)
623
+ d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
1007
624
  ], 10, lt))), 128)),
1008
- e.activeStep === "Overview" ? (a(), o("li", ut, t[14] || (t[14] = [
1009
- s("div", { class: "circle stepCircle" }, null, -1)
1010
- ]))) : d("", !0)
1011
- ])) : d("", !0),
1012
- (a(!0), o(V, null, k(e.getNavSteps(
625
+ e.activeStep === "Overview" ? (s(), r("li", ct, t[16] || (t[16] = [
626
+ o("div", { class: "circle stepCircle" }, null, -1)
627
+ ]))) : p("", !0)
628
+ ])) : p("", !0),
629
+ (s(!0), r(V, null, _(e.getNavSteps(
1013
630
  e.$env.content.dataProviderInterface.specification
1014
- )[e.property], (r, p) => (a(), b($, {
1015
- key: p,
1016
- name: r
631
+ )[e.property], (n, u) => (s(), b(A, {
632
+ key: u,
633
+ name: n
1017
634
  }, {
1018
- default: U(() => [
1019
- (a(!0), o(V, null, k(Object.keys(
1020
- e.getSchema(e.property).value[r]
1021
- ).length, (l, v) => O((a(), o("div", ht, [
1022
- r !== "Distributions" && r !== "Additionals" ? (a(), b(P, {
635
+ default: j(() => [
636
+ (s(!0), r(V, null, _(Object.keys(
637
+ e.getSchema(e.property).value[n]
638
+ ).length, (d, S) => z((s(), r("div", ht, [
639
+ n !== "Distributions" && n !== "Additionals" ? (s(), b(P, {
1023
640
  key: 0,
1024
- schema: e.getSchema(e.property).value[r][v],
641
+ schema: e.getSchema(e.property).value[n][S],
1025
642
  library: e.library,
1026
643
  "final-values": e.formValues,
1027
644
  onHandleNav: () => {
1028
645
  }
1029
- }, null, 8, ["schema", "library", "final-values"])) : d("", !0)
646
+ }, null, 8, ["schema", "library", "final-values"])) : p("", !0)
1030
647
  ], 512)), [
1031
648
  [
1032
- z,
649
+ H,
1033
650
  Object.values(
1034
- e.getSchema(e.property).value[r][v]
1035
- )[0] === e.activeSubStep.replace(/_\d+$/, "") || r === "Landing"
651
+ e.getSchema(e.property).value[n][S]
652
+ )[0] === e.activeSubStep.replace(/_\d+$/, "") || n === "Landing"
1036
653
  ]
1037
654
  ])), 256)),
1038
- e.activeStep === "Landing" ? (a(), o("div", mt, [
1039
- h(g, {
655
+ e.activeStep === "Landing" ? (s(), r("div", vt, [
656
+ v(h, {
1040
657
  "button-text": "Abbrechen",
1041
658
  size: "large",
1042
659
  variant: "tertiary",
1043
- onClick: t[1] || (t[1] = (l) => e.activeSimpleModal = !0)
660
+ onClick: t[3] || (t[3] = (d) => {
661
+ e.activeSimpleModal = !0, console.log(e.activeSimpleModal);
662
+ })
1044
663
  }),
1045
- h(g, {
664
+ v(h, {
1046
665
  "button-text": "Datenbereitstellung starten",
1047
666
  size: "large",
1048
- onClick: t[2] || (t[2] = (l) => e.navTrigger("next"))
667
+ onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
1049
668
  })
1050
- ])) : d("", !0),
1051
- e.activeStep === "ReviewAndPublish" ? (a(), o("div", gt, [
1052
- s("div", ft, [
1053
- h(g, {
669
+ ])) : p("", !0),
670
+ e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
671
+ o("div", gt, [
672
+ e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), b(h, {
673
+ key: 0,
674
+ "button-text": "Veröffentlichung aufheben",
675
+ size: "large",
676
+ variant: "secondary",
677
+ onClick: t[5] || (t[5] = (d) => e.navTrigger("depublish"))
678
+ })) : (s(), b(h, {
679
+ key: 1,
1054
680
  "button-text": "Als Entwurf speichern",
1055
681
  size: "large",
1056
682
  variant: "secondary",
1057
- onClick: t[3] || (t[3] = (l) => e.navTrigger("draft"))
1058
- }),
1059
- h(g, {
683
+ onClick: t[6] || (t[6] = (d) => e.navTrigger("draft"))
684
+ })),
685
+ v(h, {
1060
686
  "button-text": "Veröffentlichen",
1061
687
  size: "large",
1062
- 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)
688
+ 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)
1063
689
  })
1064
690
  ])
1065
- ])) : d("", !0),
1066
- e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (a(), o("div", {
691
+ ])) : p("", !0),
692
+ e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
1067
693
  key: 2,
1068
- class: C(["dpiV3_CTA", {
694
+ class: y(["dpiV3_CTA", {
1069
695
  dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
1070
696
  }])
1071
697
  }, [
1072
- h(g, {
698
+ v(h, {
1073
699
  "button-text": "Abbrechen",
1074
700
  size: "large",
1075
701
  variant: "tertiary",
1076
- onClick: e.cancelWizard
1077
- }, null, 8, ["onClick"]),
1078
- s("div", vt, [
1079
- e.activeStep !== "Landing" ? (a(), b(g, {
702
+ onClick: t[8] || (t[8] = (d) => e.activeSimpleModal = !0)
703
+ }),
704
+ o("div", ft, [
705
+ e.activeStep !== "Landing" ? (s(), b(h, {
1080
706
  key: 0,
1081
707
  "icon-start": "CaretLeft",
1082
708
  "button-text": "Zurück",
1083
709
  size: "large",
1084
710
  variant: "secondary",
1085
- onClick: t[5] || (t[5] = (l) => e.navTrigger("prev"))
1086
- })) : d("", !0),
1087
- h(g, {
711
+ onClick: t[9] || (t[9] = (d) => e.navTrigger("prev"))
712
+ })) : p("", !0),
713
+ v(h, {
1088
714
  "icon-end": "CaretRight",
1089
715
  "button-text": "Weiter",
1090
716
  size: "large",
1091
- 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)))
717
+ onClick: t[10] || (t[10] = (d) => e.validateStep())
1092
718
  })
1093
719
  ])
1094
- ], 2)) : d("", !0),
1095
- e.activeSubStep.includes("hvdPage") ? (a(), o("div", bt, [
1096
- s("div", St, [
1097
- s("div", yt, [
1098
- h(w, {
720
+ ], 2)) : p("", !0),
721
+ e.activeSubStep.includes("hvdPage") ? (s(), r("div", bt, [
722
+ o("div", St, [
723
+ o("div", Ct, [
724
+ v(w, {
1099
725
  size: 32,
1100
726
  color: "#009fe3"
1101
727
  }),
1102
- s("div", Ct, u(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
728
+ o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
1103
729
  ]),
1104
- s("div", Vt, [
1105
- s("div", kt, u(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
1106
- s("div", Dt, [
1107
- s("div", It, " 1. " + u(e.$t(
730
+ o("div", Vt, [
731
+ o("div", _t, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
732
+ o("div", kt, [
733
+ o("div", $t, " 1. " + c(e.$t(
1108
734
  "message.dataupload.datasets.hvdPage.tips-question-1"
1109
735
  )), 1),
1110
- s("ul", _t, [
1111
- s("li", null, u(e.$t(
736
+ o("ul", It, [
737
+ o("li", null, c(e.$t(
1112
738
  "message.dataupload.datasets.hvdPage.hvd-category-1"
1113
739
  )), 1),
1114
- s("li", null, u(e.$t(
740
+ o("li", null, c(e.$t(
1115
741
  "message.dataupload.datasets.hvdPage.hvd-category-2"
1116
742
  )), 1),
1117
- s("li", null, u(e.$t(
743
+ o("li", null, c(e.$t(
1118
744
  "message.dataupload.datasets.hvdPage.hvd-category-3"
1119
745
  )), 1),
1120
- s("li", null, u(e.$t(
746
+ o("li", null, c(e.$t(
1121
747
  "message.dataupload.datasets.hvdPage.hvd-category-4"
1122
748
  )), 1),
1123
- s("li", null, u(e.$t(
749
+ o("li", null, c(e.$t(
1124
750
  "message.dataupload.datasets.hvdPage.hvd-category-5"
1125
751
  )), 1),
1126
- s("li", null, u(e.$t(
752
+ o("li", null, c(e.$t(
1127
753
  "message.dataupload.datasets.hvdPage.hvd-category-6"
1128
754
  )), 1)
1129
755
  ])
1130
756
  ]),
1131
- s("div", Tt, [
1132
- s("div", Lt, " 2. " + u(e.$t(
757
+ o("div", Tt, [
758
+ o("div", Dt, " 2. " + c(e.$t(
1133
759
  "message.dataupload.datasets.hvdPage.tips-question-2"
1134
760
  )), 1),
1135
- s("p", Pt, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
761
+ o("p", Pt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
1136
762
  ]),
1137
- s("div", wt, [
1138
- s("div", At, " 3. " + u(e.$t(
763
+ o("div", wt, [
764
+ o("div", Ft, " 3. " + c(e.$t(
1139
765
  "message.dataupload.datasets.hvdPage.tips-question-3"
1140
766
  )), 1),
1141
- s("p", $t, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
767
+ o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
1142
768
  ]),
1143
- s("div", Rt, [
1144
- s("div", Et, " 4. " + u(e.$t(
769
+ o("div", Lt, [
770
+ o("div", Ut, " 4. " + c(e.$t(
1145
771
  "message.dataupload.datasets.hvdPage.tips-question-4"
1146
772
  )), 1),
1147
- s("p", Bt, u(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
773
+ o("p", Ot, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
1148
774
  ])
1149
775
  ])
1150
776
  ])
1151
- ])) : d("", !0),
1152
- r === "Distributions" ? (a(), b(A, {
777
+ ])) : p("", !0),
778
+ n === "Distributions" ? (s(), b(F, {
1153
779
  key: 4,
1154
780
  schema: e.getSchema("distributions"),
1155
781
  values: e.formValues
1156
- }, null, 8, ["schema", "values"])) : d("", !0),
1157
- r === "Mandatory" ? (a(), o("p", Ft, [
1158
- t[15] || (t[15] = s("b", null, "*", -1)),
1159
- M(" " + u(e.$t("message.dataupload.info.mandatory")), 1)
1160
- ])) : d("", !0)
782
+ }, null, 8, ["schema", "values"])) : p("", !0),
783
+ n === "Mandatory" ? (s(), r("p", Et, [
784
+ t[17] || (t[17] = o("b", null, "*", -1)),
785
+ M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
786
+ ])) : p("", !0)
1161
787
  ]),
1162
788
  _: 2
1163
789
  }, 1032, ["name"]))), 128))
1164
790
  ]),
1165
791
  _: 1
1166
792
  }, 8, ["modelValue", "plugins"]),
1167
- e.activeSimpleModal ? (a(), b(E, {
793
+ e.activeSimpleModal ? (s(), b(U, {
1168
794
  key: 0,
1169
795
  buttons: e.modalSimpleConf.button,
1170
796
  "header-text": e.modalSimpleConf.header,
1171
797
  text: e.modalSimpleConf.text,
1172
798
  action: e.modalSimpleConf.action,
1173
- onClose: t[11] || (t[11] = (r) => e.activeSimpleModal = !1),
1174
- onActionHandling: t[12] || (t[12] = (r) => e.gotToHome())
1175
- }, null, 8, ["buttons", "header-text", "text", "action"])) : d("", !0)
799
+ onClose: t[13] || (t[13] = (n) => e.activeSimpleModal = !1),
800
+ onActionHandling: t[14] || (t[14] = (n) => e.gotToHome())
801
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
1176
802
  ])
1177
- ], 512)) : d("", !0)
803
+ ], 512)) : p("", !0)
1178
804
  ]);
1179
805
  }
1180
- const Ii = /* @__PURE__ */ Le(Ae, [["render", Ut]]);
806
+ const Ii = /* @__PURE__ */ Te(Fe, [["render", jt]]);
1181
807
  export {
1182
808
  Ii as default
1183
809
  };