@piveau/dpi 0.1.0-beta.7 → 0.1.0-beta.70
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.
- package/dist/assets/dpi.css +1 -1
- package/dist/data-provider-interface/DPIMenu.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +58 -53
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +88 -68
- package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +11 -10
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +101 -76
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +11 -11
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +444 -355
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +64 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +108 -74
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +17 -22
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +122 -85
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +170 -99
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +110 -52
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +65 -86
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +159 -103
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +566 -207
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +100 -53
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +43 -89
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +329 -100
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -26
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +70 -38
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +181 -107
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +19 -14
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/data-provider-interface/components/ContactPage.vue.js +148 -100
- package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +32 -32
- package/dist/data-provider-interface/components/DistLicense.vue.js +198 -99
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +950 -833
- package/dist/data-provider-interface/components/Dropup.vue.js +6 -6
- package/dist/data-provider-interface/components/HVDPage.vue.js +107 -85
- package/dist/data-provider-interface/components/InfoSlot.vue.js +5 -5
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +89 -46
- package/dist/data-provider-interface/components/PublisherPage.vue.js +111 -81
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +314 -260
- package/dist/data-provider-interface/components/TempResPage.vue.js +267 -187
- package/dist/data-provider-interface/components/TempResPageInModal.vue.js +392 -0
- package/dist/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/data-provider-interface/components/UpdateDate.vue.js +33 -29
- package/dist/data-provider-interface/components/dpiV3Description.vue.js +7 -6
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +397 -244
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +1 -1
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +477 -96
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +104 -152
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +9 -2
- package/dist/data-provider-interface/store/modules/authStore.js +11 -11
- package/dist/data-provider-interface/views/DraftsPage.vue.js +3 -3
- package/dist/data-provider-interface/views/InputPage.vue.js +389 -760
- package/dist/styles/_dpi.scss +1614 -0
- package/dist/styles/_maps.scss +24 -0
- package/dist/styles/_variables.scss +973 -0
- package/package.json +28 -19
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +0 -46
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { getNode as
|
|
1
|
+
import { getNode as K } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
|
-
import { PhNumberCircleFive as
|
|
4
|
-
import { useWindowScroll as
|
|
5
|
-
import
|
|
6
|
-
import { has as
|
|
7
|
-
import { defineComponent as
|
|
8
|
-
import { useI18n as
|
|
9
|
-
import { mapActions as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
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 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, 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
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
13
|
+
import { useDpiStepper as ae } from "../composables/useDpiStepper.js";
|
|
14
|
+
import U 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
|
|
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
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import { eventBus as
|
|
28
|
-
import
|
|
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
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
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
|
|
40
|
-
import { useDpiContext as
|
|
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
|
|
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: [
|
|
56
|
-
images: [ne, pe,
|
|
56
|
+
circles: [re, le],
|
|
57
|
+
images: [ne, pe, ce, ve, ge],
|
|
57
58
|
selectedImages: [
|
|
58
|
-
|
|
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:
|
|
87
|
-
DistributionInputPage:
|
|
88
|
-
PropertyChooser:
|
|
89
|
-
Navigation:
|
|
90
|
-
LogoV3:
|
|
91
|
-
ButtonV3:
|
|
92
|
-
TextButtonSmall:
|
|
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:
|
|
95
|
-
PhCheckCircle:
|
|
96
|
-
PhNumberCircleFive:
|
|
97
|
-
ModalSimpleV3:
|
|
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) =>
|
|
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
|
|
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
|
-
...
|
|
129
|
-
...
|
|
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(
|
|
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
|
-
|
|
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((
|
|
562
|
-
let
|
|
563
|
-
step:
|
|
564
|
-
substeps: this.subSteps[
|
|
565
|
-
substepCount: Object.keys(this.subSteps[
|
|
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(
|
|
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" && (
|
|
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
|
|
582
|
-
|
|
181
|
+
let l = "auth/createDataset";
|
|
182
|
+
U(
|
|
583
183
|
this.formValues,
|
|
584
184
|
this.dpiContext,
|
|
585
185
|
this.getUserData,
|
|
586
186
|
this.$env.api.hubUrl
|
|
587
|
-
).then((
|
|
187
|
+
).then((a) => {
|
|
588
188
|
this.dispatchDataToDPI(
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
189
|
+
a.body,
|
|
190
|
+
l,
|
|
191
|
+
a.actionParams,
|
|
592
192
|
"publish"
|
|
593
193
|
);
|
|
594
|
-
}).catch((
|
|
595
|
-
console.error("Fehler beim Senden der Daten:",
|
|
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
|
+
U(
|
|
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
|
|
604
|
-
|
|
225
|
+
let l = "auth/createUserDraft";
|
|
226
|
+
U(
|
|
605
227
|
this.formValues,
|
|
606
228
|
this.dpiContext,
|
|
607
229
|
this.getUserData,
|
|
608
230
|
this.$env.api.hubUrl
|
|
609
|
-
).then((
|
|
231
|
+
).then((a) => {
|
|
610
232
|
this.dispatchDataToDPI(
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
233
|
+
a.body,
|
|
234
|
+
l,
|
|
235
|
+
a.actionParams,
|
|
614
236
|
"draft"
|
|
615
237
|
);
|
|
616
|
-
}).catch((
|
|
617
|
-
console.error("Fehler beim Senden der Daten:",
|
|
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,
|
|
629
|
-
var
|
|
630
|
-
console.log("body:", e, t, "params:", i, n);
|
|
250
|
+
async dispatchDataToDPI(e, t, i, l) {
|
|
251
|
+
var a, m;
|
|
631
252
|
try {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
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
|
|
654
|
-
(
|
|
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" &&
|
|
657
|
-
(
|
|
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
|
-
|
|
285
|
+
X('[data-bs-toggle="tooltip"]').tooltip({
|
|
660
286
|
container: "body"
|
|
661
287
|
}), setTimeout(() => {
|
|
662
|
-
document.querySelectorAll(".formkitProperty h4").forEach((
|
|
663
|
-
|
|
288
|
+
document.querySelectorAll(".formkitProperty h4").forEach((a, m) => {
|
|
289
|
+
a.parentElement.parentElement.classList.contains(
|
|
664
290
|
"formkitWrapRepeatable"
|
|
665
|
-
) || (
|
|
666
|
-
|
|
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
|
-
!
|
|
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,469 @@ const Ae = N({
|
|
|
714
344
|
}
|
|
715
345
|
},
|
|
716
346
|
beforeRouteEnter(e, t, i) {
|
|
717
|
-
i((
|
|
718
|
-
t.name && !t.name.startsWith("DataProviderInterface") &&
|
|
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:
|
|
724
|
-
activeStep:
|
|
725
|
-
subSteps:
|
|
726
|
-
visitedSteps:
|
|
727
|
-
previousStep:
|
|
728
|
-
nextStep:
|
|
729
|
-
stepPlugin:
|
|
730
|
-
goToNextStep:
|
|
731
|
-
goToPreviousStep:
|
|
732
|
-
} =
|
|
733
|
-
t:
|
|
734
|
-
te:
|
|
735
|
-
}),
|
|
736
|
-
let { x:
|
|
737
|
-
|
|
738
|
-
},
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
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: O } = 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:
|
|
385
|
+
createSchema: L,
|
|
386
|
+
getSchema: O,
|
|
760
387
|
dpiContext: e,
|
|
761
|
-
formValues:
|
|
762
|
-
activeSimpleModal:
|
|
388
|
+
formValues: D,
|
|
389
|
+
activeSimpleModal: F
|
|
763
390
|
};
|
|
764
391
|
}
|
|
765
|
-
}),
|
|
392
|
+
}), Ae = { class: "form-container V3-typography" }, Le = {
|
|
766
393
|
key: 0,
|
|
767
394
|
ref: "fkInputContainer",
|
|
768
395
|
class: "inputContainer"
|
|
769
|
-
},
|
|
396
|
+
}, Oe = { class: "formContainer formkit" }, Ue = { key: 0 }, Ee = { class: "dpiV3_stepper draftStepper" }, je = {
|
|
770
397
|
key: 0,
|
|
771
398
|
class: "draftCTA"
|
|
772
|
-
},
|
|
399
|
+
}, ze = {
|
|
773
400
|
key: 1,
|
|
774
401
|
class: "draftCTA"
|
|
775
|
-
},
|
|
402
|
+
}, He = { key: 1 }, Me = {
|
|
776
403
|
key: 0,
|
|
777
404
|
class: "dpiV3_stepper"
|
|
778
|
-
},
|
|
405
|
+
}, 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
406
|
key: 0,
|
|
780
407
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
781
|
-
},
|
|
408
|
+
}, Xe = {
|
|
782
409
|
key: 1,
|
|
783
410
|
class: "dpiV3_seperatorHorizontalStepperFat"
|
|
784
|
-
},
|
|
411
|
+
}, Ye = {
|
|
785
412
|
key: 2,
|
|
786
413
|
class: "dpiV3_subStep"
|
|
787
|
-
},
|
|
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
|
-
},
|
|
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"],
|
|
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
|
-
},
|
|
426
|
+
}, ct = {
|
|
800
427
|
key: 0,
|
|
801
428
|
class: "step inactiveStep"
|
|
802
|
-
}, ht = { style: { width: "100%" } },
|
|
429
|
+
}, ht = { style: { width: "100%" } }, vt = {
|
|
803
430
|
key: 0,
|
|
804
431
|
class: "dpiV3_CTALanding"
|
|
805
|
-
},
|
|
432
|
+
}, mt = {
|
|
806
433
|
key: 1,
|
|
807
434
|
class: "dpiV3_CTA_RaP"
|
|
808
|
-
},
|
|
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" },
|
|
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" }, Ot = { class: "dpiV3_copy_large_semi_bold" }, Ut = { class: "dpiV3_copy_large_regular" }, Et = {
|
|
812
439
|
key: 5,
|
|
813
440
|
class: "p-1"
|
|
814
441
|
};
|
|
815
|
-
function
|
|
816
|
-
const
|
|
817
|
-
return
|
|
818
|
-
e.isInput ? (
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
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"), O = g("ModalSimpleV3");
|
|
444
|
+
return s(), r("div", Ae, [
|
|
445
|
+
e.isInput ? (s(), r("div", Le, [
|
|
446
|
+
o("div", Oe, [
|
|
447
|
+
o("details", null, [
|
|
448
|
+
o("pre", null, c(JSON.stringify(e.formValues.Additionals, null, 2)), 1)
|
|
449
|
+
]),
|
|
450
|
+
v(L, {
|
|
822
451
|
id: "dpiForm",
|
|
823
452
|
modelValue: e.formValues,
|
|
824
|
-
"onUpdate:modelValue": t[
|
|
453
|
+
"onUpdate:modelValue": t[11] || (t[11] = (n) => e.formValues = n),
|
|
825
454
|
type: "form",
|
|
826
455
|
actions: !1,
|
|
827
456
|
plugins: [e.stepPlugin],
|
|
828
457
|
class: "d-flex",
|
|
829
|
-
|
|
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(() => {
|
|
458
|
+
onSubmit: t[12] || (t[12] = N(() => {
|
|
842
459
|
}, ["prevent"]))
|
|
843
460
|
}, {
|
|
844
|
-
default:
|
|
845
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (
|
|
846
|
-
|
|
847
|
-
|
|
461
|
+
default: j(() => [
|
|
462
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Ue, [
|
|
463
|
+
o("div", Ee, [
|
|
464
|
+
v(C, {
|
|
848
465
|
"button-text": "Übersicht",
|
|
849
466
|
"icon-start": "CaretLeft",
|
|
850
467
|
"icon-name": "caretLeft",
|
|
851
468
|
onClick: e.gotToHome
|
|
852
469
|
}, null, 8, ["onClick"]),
|
|
853
|
-
|
|
854
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (
|
|
855
|
-
h
|
|
470
|
+
o("div", null, [
|
|
471
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", je, [
|
|
472
|
+
v(h, {
|
|
856
473
|
"button-text": "Veröffentlichung aufheben",
|
|
857
474
|
size: "large",
|
|
858
|
-
onClick: e.
|
|
859
|
-
}
|
|
860
|
-
h
|
|
475
|
+
onClick: t[0] || (t[0] = (n) => e.navTrigger("depublish"))
|
|
476
|
+
}),
|
|
477
|
+
v(h, {
|
|
861
478
|
"button-text": "Veröffentlicht ansehen",
|
|
862
479
|
variant: "secondary",
|
|
863
480
|
size: "large",
|
|
864
481
|
"icon-end": "Out",
|
|
865
|
-
onClick: e.
|
|
866
|
-
}
|
|
867
|
-
])) : (
|
|
868
|
-
h
|
|
482
|
+
onClick: t[1] || (t[1] = (n) => e.handlePublishedRoute())
|
|
483
|
+
})
|
|
484
|
+
])) : (s(), r("div", ze, [
|
|
485
|
+
v(h, {
|
|
869
486
|
"button-text": "Veröffentlichen",
|
|
870
487
|
size: "large",
|
|
871
|
-
onClick: t[
|
|
488
|
+
onClick: t[2] || (t[2] = (n) => e.navTrigger("publish"))
|
|
872
489
|
})
|
|
873
490
|
]))
|
|
874
491
|
])
|
|
875
492
|
])
|
|
876
|
-
])) : (
|
|
877
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
(
|
|
881
|
-
key:
|
|
882
|
-
class:
|
|
883
|
-
dpiV3_activeItem: e.activeStep ===
|
|
884
|
-
inactiveStep:
|
|
885
|
-
"has-errors": e.checkStepValidity(
|
|
493
|
+
])) : (s(), r("div", He, [
|
|
494
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
|
|
495
|
+
v(k),
|
|
496
|
+
o("ul", Re, [
|
|
497
|
+
(s(!0), r(V, null, _(e.steps, (n, u, d) => z((s(), r("li", {
|
|
498
|
+
key: n,
|
|
499
|
+
class: y(["dpiV3_step", {
|
|
500
|
+
dpiV3_activeItem: e.activeStep === u,
|
|
501
|
+
inactiveStep: u != e.activeStep,
|
|
502
|
+
"has-errors": e.checkStepValidity(u)
|
|
886
503
|
}]),
|
|
887
|
-
"data-step-active": e.activeStep ===
|
|
888
|
-
"data-step-valid":
|
|
504
|
+
"data-step-active": e.activeStep === u,
|
|
505
|
+
"data-step-valid": n.valid && n.errorCount === 0
|
|
889
506
|
}, [
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
class:
|
|
893
|
-
dpiV3_activeStepName:
|
|
894
|
-
formerlyVisitedStep: e.stepCounter >
|
|
895
|
-
"copy-small-regular": e.stepCounter >
|
|
896
|
-
})
|
|
507
|
+
o("div", We, [
|
|
508
|
+
o("div", {
|
|
509
|
+
class: y(["firstRowWrapper", {
|
|
510
|
+
dpiV3_activeStepName: u === e.activeStep,
|
|
511
|
+
formerlyVisitedStep: e.stepCounter > d,
|
|
512
|
+
"copy-small-regular": e.stepCounter > d
|
|
513
|
+
}])
|
|
897
514
|
}, [
|
|
898
|
-
e.activeStep ===
|
|
515
|
+
e.activeStep === u && d < 5 ? (s(), r("img", {
|
|
899
516
|
key: 0,
|
|
900
517
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
901
|
-
src: e.selectedImages[
|
|
518
|
+
src: e.selectedImages[d - 1],
|
|
902
519
|
alt: "Selected Icon"
|
|
903
|
-
}, null, 8, qe)) :
|
|
904
|
-
e.activeStep ===
|
|
520
|
+
}, null, 8, qe)) : p("", !0),
|
|
521
|
+
e.activeStep === u && d === 5 ? (s(), b(T, {
|
|
905
522
|
key: 1,
|
|
906
523
|
size: 28,
|
|
907
524
|
color: "#009FE3",
|
|
908
525
|
weight: "fill"
|
|
909
|
-
})) :
|
|
910
|
-
|
|
526
|
+
})) : p("", !0),
|
|
527
|
+
d < e.stepCounter ? (s(), b($, {
|
|
911
528
|
key: 2,
|
|
912
529
|
size: 28,
|
|
913
530
|
color: "#70CC44",
|
|
914
531
|
weight: "fill"
|
|
915
|
-
})) :
|
|
916
|
-
|
|
532
|
+
})) : p("", !0),
|
|
533
|
+
d > e.stepCounter ? (s(), r("img", {
|
|
917
534
|
key: 3,
|
|
918
535
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
919
|
-
src: e.images[
|
|
536
|
+
src: e.images[d - 1],
|
|
920
537
|
alt: "Selected Icon"
|
|
921
|
-
}, null, 8, Ke)) :
|
|
922
|
-
e.checkStepValidity(
|
|
538
|
+
}, null, 8, Ke)) : p("", !0),
|
|
539
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
923
540
|
key: 4,
|
|
924
541
|
class: "dpiV3_step--errors",
|
|
925
|
-
textContent:
|
|
926
|
-
}, null, 8,
|
|
927
|
-
|
|
542
|
+
textContent: c(n.errorCount + n.blockingCount)
|
|
543
|
+
}, null, 8, Je)) : p("", !0),
|
|
544
|
+
o("span", Ze, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
928
545
|
], 2),
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
e.activeStep ===
|
|
933
|
-
e.stepCounter < 5 ? (
|
|
934
|
-
e.subSteps[
|
|
935
|
-
), (
|
|
936
|
-
|
|
937
|
-
e.substepCounter >
|
|
546
|
+
o("div", Ge, [
|
|
547
|
+
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
|
|
548
|
+
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
|
|
549
|
+
e.activeStep === u ? (s(), r("div", Ye, [
|
|
550
|
+
e.stepCounter < 5 ? (s(!0), r(V, { key: 0 }, _(Object.keys(
|
|
551
|
+
e.subSteps[d]
|
|
552
|
+
), (S, f) => (s(), r("div", Ne, [
|
|
553
|
+
o("div", xe, [
|
|
554
|
+
e.substepCounter > f ? (s(), b($, {
|
|
938
555
|
key: 0,
|
|
939
556
|
size: 20,
|
|
940
557
|
color: "#009FE3"
|
|
941
|
-
})) : (
|
|
558
|
+
})) : (s(), r("img", {
|
|
942
559
|
key: 1,
|
|
943
|
-
src: e.getCircles(
|
|
560
|
+
src: e.getCircles(f),
|
|
944
561
|
alt: "circle"
|
|
945
562
|
}, null, 8, et)),
|
|
946
|
-
|
|
563
|
+
f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
|
|
947
564
|
key: 2,
|
|
948
|
-
class:
|
|
949
|
-
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter >
|
|
565
|
+
class: y(["dpiV3_seperatorHorizontalStepperInner", {
|
|
566
|
+
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
|
|
950
567
|
}])
|
|
951
|
-
}, null, 2)) :
|
|
568
|
+
}, null, 2)) : p("", !0)
|
|
952
569
|
]),
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
class:
|
|
956
|
-
dpiV3_activeStepDesc:
|
|
957
|
-
formerlyVisitedStep: e.substepCounter >
|
|
570
|
+
o("div", tt, [
|
|
571
|
+
o("span", {
|
|
572
|
+
class: y(["large-regular dpiV3_substepText", {
|
|
573
|
+
dpiV3_activeStepDesc: S === e.activeSubStep,
|
|
574
|
+
formerlyVisitedStep: e.substepCounter > f
|
|
958
575
|
}])
|
|
959
|
-
},
|
|
960
|
-
`message.dataupload.steps.${
|
|
576
|
+
}, c(e.$t(
|
|
577
|
+
`message.dataupload.steps.${S.replace(
|
|
578
|
+
/_\d+$/,
|
|
579
|
+
""
|
|
580
|
+
)}`
|
|
961
581
|
)), 3)
|
|
962
582
|
])
|
|
963
|
-
]))), 256)) :
|
|
964
|
-
])) :
|
|
583
|
+
]))), 256)) : p("", !0)
|
|
584
|
+
])) : p("", !0)
|
|
965
585
|
])
|
|
966
586
|
])
|
|
967
|
-
], 10,
|
|
968
|
-
[
|
|
587
|
+
], 10, Be)), [
|
|
588
|
+
[H, u !== "Landing" && u !== "Additionals"]
|
|
969
589
|
])), 128)),
|
|
970
|
-
e.activeStep === "Overview" ? (
|
|
971
|
-
|
|
972
|
-
]))) :
|
|
590
|
+
e.activeStep === "Overview" ? (s(), r("li", it, t[15] || (t[15] = [
|
|
591
|
+
o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
592
|
+
]))) : p("", !0)
|
|
973
593
|
])
|
|
974
|
-
])) : (
|
|
975
|
-
|
|
976
|
-
|
|
594
|
+
])) : (s(), r("div", st, [
|
|
595
|
+
o("div", ot, [
|
|
596
|
+
v(k)
|
|
977
597
|
]),
|
|
978
|
-
|
|
979
|
-
|
|
598
|
+
o("div", at, [
|
|
599
|
+
v(D, { "illustration-name": "start" })
|
|
980
600
|
])
|
|
981
601
|
]))
|
|
982
602
|
])),
|
|
983
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (
|
|
984
|
-
(
|
|
985
|
-
key:
|
|
986
|
-
class:
|
|
987
|
-
activeItem: e.activeStep ===
|
|
988
|
-
inactiveStep:
|
|
989
|
-
"has-errors": e.checkStepValidity(
|
|
603
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
|
|
604
|
+
(s(!0), r(V, null, _(e.steps, (n, u, d) => (s(), r("li", {
|
|
605
|
+
key: n,
|
|
606
|
+
class: y(["step", {
|
|
607
|
+
activeItem: e.activeStep === u,
|
|
608
|
+
inactiveStep: u != e.activeStep,
|
|
609
|
+
"has-errors": e.checkStepValidity(u)
|
|
990
610
|
}]),
|
|
991
|
-
"data-step-active": e.activeStep ===
|
|
992
|
-
"data-step-valid":
|
|
993
|
-
onClick: (
|
|
994
|
-
e.activeStep =
|
|
611
|
+
"data-step-active": e.activeStep === u,
|
|
612
|
+
"data-step-valid": n.valid && n.errorCount === 0,
|
|
613
|
+
onClick: (S) => {
|
|
614
|
+
e.activeStep = u, e.update(), e.scrollToTop();
|
|
995
615
|
}
|
|
996
616
|
}, [
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
e.checkStepValidity(
|
|
617
|
+
o("div", nt, [
|
|
618
|
+
o("div", dt, c(d + 1), 1),
|
|
619
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
1000
620
|
key: 0,
|
|
1001
621
|
class: "step--errors",
|
|
1002
|
-
textContent:
|
|
1003
|
-
}, null, 8,
|
|
1004
|
-
M(
|
|
622
|
+
textContent: c(n.errorCount + n.blockingCount)
|
|
623
|
+
}, null, 8, pt)) : p("", !0),
|
|
624
|
+
M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
1005
625
|
]),
|
|
1006
|
-
|
|
626
|
+
d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
|
|
1007
627
|
], 10, lt))), 128)),
|
|
1008
|
-
e.activeStep === "Overview" ? (
|
|
1009
|
-
|
|
1010
|
-
]))) :
|
|
1011
|
-
])) :
|
|
1012
|
-
(
|
|
628
|
+
e.activeStep === "Overview" ? (s(), r("li", ct, t[16] || (t[16] = [
|
|
629
|
+
o("div", { class: "circle stepCircle" }, null, -1)
|
|
630
|
+
]))) : p("", !0)
|
|
631
|
+
])) : p("", !0),
|
|
632
|
+
(s(!0), r(V, null, _(e.getNavSteps(
|
|
1013
633
|
e.$env.content.dataProviderInterface.specification
|
|
1014
|
-
)[e.property], (
|
|
1015
|
-
key:
|
|
1016
|
-
name:
|
|
634
|
+
)[e.property], (n, u) => (s(), b(A, {
|
|
635
|
+
key: u,
|
|
636
|
+
name: n
|
|
1017
637
|
}, {
|
|
1018
|
-
default:
|
|
1019
|
-
(
|
|
1020
|
-
e.getSchema(e.property).value[
|
|
1021
|
-
).length, (
|
|
1022
|
-
|
|
638
|
+
default: j(() => [
|
|
639
|
+
(s(!0), r(V, null, _(Object.keys(
|
|
640
|
+
e.getSchema(e.property).value[n]
|
|
641
|
+
).length, (d, S) => z((s(), r("div", ht, [
|
|
642
|
+
n !== "Distributions" && n !== "Additionals" ? (s(), b(P, {
|
|
1023
643
|
key: 0,
|
|
1024
|
-
schema: e.getSchema(e.property).value[
|
|
644
|
+
schema: e.getSchema(e.property).value[n][S],
|
|
1025
645
|
library: e.library,
|
|
1026
646
|
"final-values": e.formValues,
|
|
1027
647
|
onHandleNav: () => {
|
|
1028
648
|
}
|
|
1029
|
-
}, null, 8, ["schema", "library", "final-values"])) :
|
|
649
|
+
}, null, 8, ["schema", "library", "final-values"])) : p("", !0)
|
|
1030
650
|
], 512)), [
|
|
1031
651
|
[
|
|
1032
|
-
|
|
652
|
+
H,
|
|
1033
653
|
Object.values(
|
|
1034
|
-
e.getSchema(e.property).value[
|
|
1035
|
-
)[0] === e.activeSubStep.replace(/_\d+$/, "") ||
|
|
654
|
+
e.getSchema(e.property).value[n][S]
|
|
655
|
+
)[0] === e.activeSubStep.replace(/_\d+$/, "") || n === "Landing"
|
|
1036
656
|
]
|
|
1037
657
|
])), 256)),
|
|
1038
|
-
e.activeStep === "Landing" ? (
|
|
1039
|
-
h
|
|
658
|
+
e.activeStep === "Landing" ? (s(), r("div", vt, [
|
|
659
|
+
v(h, {
|
|
1040
660
|
"button-text": "Abbrechen",
|
|
1041
661
|
size: "large",
|
|
1042
662
|
variant: "tertiary",
|
|
1043
|
-
onClick: t[
|
|
663
|
+
onClick: t[3] || (t[3] = (d) => {
|
|
664
|
+
e.activeSimpleModal = !0, console.log(e.activeSimpleModal);
|
|
665
|
+
})
|
|
1044
666
|
}),
|
|
1045
|
-
h
|
|
667
|
+
v(h, {
|
|
1046
668
|
"button-text": "Datenbereitstellung starten",
|
|
1047
669
|
size: "large",
|
|
1048
|
-
onClick: t[
|
|
670
|
+
onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
|
|
1049
671
|
})
|
|
1050
|
-
])) :
|
|
1051
|
-
e.activeStep === "ReviewAndPublish" ? (
|
|
1052
|
-
|
|
1053
|
-
|
|
672
|
+
])) : p("", !0),
|
|
673
|
+
e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
|
|
674
|
+
o("div", gt, [
|
|
675
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), b(h, {
|
|
676
|
+
key: 0,
|
|
677
|
+
"button-text": "Veröffentlichung aufheben",
|
|
678
|
+
size: "large",
|
|
679
|
+
variant: "secondary",
|
|
680
|
+
onClick: t[5] || (t[5] = (d) => e.navTrigger("depublish"))
|
|
681
|
+
})) : (s(), b(h, {
|
|
682
|
+
key: 1,
|
|
1054
683
|
"button-text": "Als Entwurf speichern",
|
|
1055
684
|
size: "large",
|
|
1056
685
|
variant: "secondary",
|
|
1057
|
-
onClick: t[
|
|
1058
|
-
}),
|
|
1059
|
-
h
|
|
686
|
+
onClick: t[6] || (t[6] = (d) => e.navTrigger("draft"))
|
|
687
|
+
})),
|
|
688
|
+
v(h, {
|
|
1060
689
|
"button-text": "Veröffentlichen",
|
|
1061
690
|
size: "large",
|
|
1062
|
-
onClick: t[
|
|
691
|
+
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
692
|
})
|
|
1064
693
|
])
|
|
1065
|
-
])) :
|
|
1066
|
-
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (
|
|
694
|
+
])) : p("", !0),
|
|
695
|
+
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
|
|
1067
696
|
key: 2,
|
|
1068
|
-
class:
|
|
697
|
+
class: y(["dpiV3_CTA", {
|
|
1069
698
|
dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
|
|
1070
699
|
}])
|
|
1071
700
|
}, [
|
|
1072
|
-
h
|
|
701
|
+
v(h, {
|
|
1073
702
|
"button-text": "Abbrechen",
|
|
1074
703
|
size: "large",
|
|
1075
704
|
variant: "tertiary",
|
|
1076
|
-
onClick: e.
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
e.activeStep !== "Landing" ? (
|
|
705
|
+
onClick: t[8] || (t[8] = (d) => e.activeSimpleModal = !0)
|
|
706
|
+
}),
|
|
707
|
+
o("div", ft, [
|
|
708
|
+
e.activeStep !== "Landing" ? (s(), b(h, {
|
|
1080
709
|
key: 0,
|
|
1081
710
|
"icon-start": "CaretLeft",
|
|
1082
711
|
"button-text": "Zurück",
|
|
1083
712
|
size: "large",
|
|
1084
713
|
variant: "secondary",
|
|
1085
|
-
onClick: t[
|
|
1086
|
-
})) :
|
|
1087
|
-
h
|
|
714
|
+
onClick: t[9] || (t[9] = (d) => e.navTrigger("prev"))
|
|
715
|
+
})) : p("", !0),
|
|
716
|
+
v(h, {
|
|
1088
717
|
"icon-end": "CaretRight",
|
|
1089
718
|
"button-text": "Weiter",
|
|
1090
719
|
size: "large",
|
|
1091
|
-
onClick: t[
|
|
720
|
+
onClick: t[10] || (t[10] = (d) => e.validateStep())
|
|
1092
721
|
})
|
|
1093
722
|
])
|
|
1094
|
-
], 2)) :
|
|
1095
|
-
e.activeSubStep.includes("hvdPage") ? (
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
723
|
+
], 2)) : p("", !0),
|
|
724
|
+
e.activeSubStep.includes("hvdPage") ? (s(), r("div", bt, [
|
|
725
|
+
o("div", St, [
|
|
726
|
+
o("div", Ct, [
|
|
727
|
+
v(w, {
|
|
1099
728
|
size: 32,
|
|
1100
729
|
color: "#009fe3"
|
|
1101
730
|
}),
|
|
1102
|
-
|
|
731
|
+
o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
1103
732
|
]),
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
733
|
+
o("div", Vt, [
|
|
734
|
+
o("div", _t, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
735
|
+
o("div", kt, [
|
|
736
|
+
o("div", $t, " 1. " + c(e.$t(
|
|
1108
737
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
1109
738
|
)), 1),
|
|
1110
|
-
|
|
1111
|
-
|
|
739
|
+
o("ul", It, [
|
|
740
|
+
o("li", null, c(e.$t(
|
|
1112
741
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
1113
742
|
)), 1),
|
|
1114
|
-
|
|
743
|
+
o("li", null, c(e.$t(
|
|
1115
744
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
1116
745
|
)), 1),
|
|
1117
|
-
|
|
746
|
+
o("li", null, c(e.$t(
|
|
1118
747
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
1119
748
|
)), 1),
|
|
1120
|
-
|
|
749
|
+
o("li", null, c(e.$t(
|
|
1121
750
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
1122
751
|
)), 1),
|
|
1123
|
-
|
|
752
|
+
o("li", null, c(e.$t(
|
|
1124
753
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
1125
754
|
)), 1),
|
|
1126
|
-
|
|
755
|
+
o("li", null, c(e.$t(
|
|
1127
756
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
1128
757
|
)), 1)
|
|
1129
758
|
])
|
|
1130
759
|
]),
|
|
1131
|
-
|
|
1132
|
-
|
|
760
|
+
o("div", Tt, [
|
|
761
|
+
o("div", Dt, " 2. " + c(e.$t(
|
|
1133
762
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
1134
763
|
)), 1),
|
|
1135
|
-
|
|
764
|
+
o("p", Pt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
1136
765
|
]),
|
|
1137
|
-
|
|
1138
|
-
|
|
766
|
+
o("div", wt, [
|
|
767
|
+
o("div", Ft, " 3. " + c(e.$t(
|
|
1139
768
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
1140
769
|
)), 1),
|
|
1141
|
-
|
|
770
|
+
o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
1142
771
|
]),
|
|
1143
|
-
|
|
1144
|
-
|
|
772
|
+
o("div", Lt, [
|
|
773
|
+
o("div", Ot, " 4. " + c(e.$t(
|
|
1145
774
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
1146
775
|
)), 1),
|
|
1147
|
-
|
|
776
|
+
o("p", Ut, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
1148
777
|
])
|
|
1149
778
|
])
|
|
1150
779
|
])
|
|
1151
|
-
])) :
|
|
1152
|
-
|
|
780
|
+
])) : p("", !0),
|
|
781
|
+
n === "Distributions" ? (s(), b(F, {
|
|
1153
782
|
key: 4,
|
|
1154
783
|
schema: e.getSchema("distributions"),
|
|
1155
784
|
values: e.formValues
|
|
1156
|
-
}, null, 8, ["schema", "values"])) :
|
|
1157
|
-
|
|
1158
|
-
t[
|
|
1159
|
-
M(" " +
|
|
1160
|
-
])) :
|
|
785
|
+
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
786
|
+
n === "Mandatory" ? (s(), r("p", Et, [
|
|
787
|
+
t[17] || (t[17] = o("b", null, "*", -1)),
|
|
788
|
+
M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
|
|
789
|
+
])) : p("", !0)
|
|
1161
790
|
]),
|
|
1162
791
|
_: 2
|
|
1163
792
|
}, 1032, ["name"]))), 128))
|
|
1164
793
|
]),
|
|
1165
794
|
_: 1
|
|
1166
795
|
}, 8, ["modelValue", "plugins"]),
|
|
1167
|
-
e.activeSimpleModal ? (
|
|
796
|
+
e.activeSimpleModal ? (s(), b(O, {
|
|
1168
797
|
key: 0,
|
|
1169
798
|
buttons: e.modalSimpleConf.button,
|
|
1170
799
|
"header-text": e.modalSimpleConf.header,
|
|
1171
800
|
text: e.modalSimpleConf.text,
|
|
1172
801
|
action: e.modalSimpleConf.action,
|
|
1173
|
-
onClose: t[
|
|
1174
|
-
onActionHandling: t[
|
|
1175
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
802
|
+
onClose: t[13] || (t[13] = (n) => e.activeSimpleModal = !1),
|
|
803
|
+
onActionHandling: t[14] || (t[14] = (n) => e.gotToHome())
|
|
804
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
1176
805
|
])
|
|
1177
|
-
], 512)) :
|
|
806
|
+
], 512)) : p("", !0)
|
|
1178
807
|
]);
|
|
1179
808
|
}
|
|
1180
|
-
const Ii = /* @__PURE__ */
|
|
809
|
+
const Ii = /* @__PURE__ */ Te(Fe, [["render", jt]]);
|
|
1181
810
|
export {
|
|
1182
811
|
Ii as default
|
|
1183
812
|
};
|