@piveau/dpi 0.1.0-beta.40 → 0.1.0-beta.41
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/HappyFlowComponents/services/dpiV3_apis.js +1 -1
- package/dist/data-provider-interface/components/DistLicense.vue.js +133 -224
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +0 -4
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.js +207 -232
- package/dist/form/inputDefinitions.js +10 -15
- package/package.json +1 -1
- package/dist/data-provider-interface/components/VisibilityPage.vue.js +0 -86
|
@@ -3,14 +3,14 @@ import "@formkit/vue";
|
|
|
3
3
|
import { PhNumberCircleFive as Z, PhCheckCircle as G, PhLightbulb as J } from "@phosphor-icons/vue";
|
|
4
4
|
import { useWindowScroll as Q } from "@vueuse/core";
|
|
5
5
|
import X from "jquery";
|
|
6
|
-
import { has as
|
|
7
|
-
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as
|
|
6
|
+
import { has as I, isNil as j } 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 h, createBlock as b, withModifiers as N, withCtx as U, 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
8
|
import { useI18n as te } from "vue-i18n";
|
|
9
|
-
import { mapActions as
|
|
9
|
+
import { mapActions as B, mapGetters as W } from "vuex";
|
|
10
10
|
import ie from "../components/InputPageStep.vue.js";
|
|
11
11
|
import se from "../components/Navigation.vue.js";
|
|
12
|
-
import { useFormValues as
|
|
13
|
-
import { useDpiStepper as
|
|
12
|
+
import { useFormValues as oe } from "../composables/useDpiFormValues.js";
|
|
13
|
+
import { useDpiStepper as ae } from "../composables/useDpiStepper.js";
|
|
14
14
|
import E from "../config/dcatapdeHappyFlow/converter.js";
|
|
15
15
|
import re from "../HappyFlowComponents/img/Circle.svg.js";
|
|
16
16
|
import ne from "../HappyFlowComponents/img/CircleFill.svg.js";
|
|
@@ -24,20 +24,20 @@ import ve from "../HappyFlowComponents/img/Selected4.svg.js";
|
|
|
24
24
|
import me from "../HappyFlowComponents/img/Selected4_2.svg.js";
|
|
25
25
|
import ge from "../HappyFlowComponents/img/Selected5.svg.js";
|
|
26
26
|
import fe from "../HappyFlowComponents/img/Selected5_2.svg.js";
|
|
27
|
-
import { eventBus as
|
|
28
|
-
import
|
|
27
|
+
import { eventBus as Se } from "../HappyFlowComponents/services/eventBus.js";
|
|
28
|
+
import be from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
29
29
|
import Ce from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
30
30
|
import ye from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
31
31
|
import Ve from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
32
32
|
import _e from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
33
33
|
import ke from "./DistributionInputPage.vue.js";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
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 Pe from "../../_virtual/_plugin-vue_export-helper.js";
|
|
40
|
+
import { useDpiContext as Te } from "../composables/useDpiContext.js";
|
|
41
41
|
import { useEditModeInfo as De } from "../composables/useDpiEditMode.js";
|
|
42
42
|
import { useFormSchema as we } from "../composables/useFormSchema.js";
|
|
43
43
|
const Fe = Y({
|
|
@@ -85,10 +85,10 @@ const Fe = Y({
|
|
|
85
85
|
components: {
|
|
86
86
|
InputPageStep: ie,
|
|
87
87
|
DistributionInputPage: ke,
|
|
88
|
-
PropertyChooser:
|
|
88
|
+
PropertyChooser: Ie,
|
|
89
89
|
Navigation: se,
|
|
90
90
|
LogoV3: ye,
|
|
91
|
-
ButtonV3:
|
|
91
|
+
ButtonV3: be,
|
|
92
92
|
TextButtonSmall: _e,
|
|
93
93
|
Illustration: Ce,
|
|
94
94
|
PhLightbulb: J,
|
|
@@ -105,7 +105,7 @@ const Fe = Y({
|
|
|
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 Fe = Y({
|
|
|
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") && !j(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
120
120
|
} catch {
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -125,8 +125,8 @@ const Fe = Y({
|
|
|
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"
|
|
@@ -142,11 +142,11 @@ const Fe = Y({
|
|
|
142
142
|
return e === this.substepCounter ? this.circles[1] : this.circles[0];
|
|
143
143
|
},
|
|
144
144
|
validateStep() {
|
|
145
|
-
var e, t,
|
|
146
|
-
((
|
|
145
|
+
var e, t, i, n, a;
|
|
146
|
+
((i = (t = (e = this.formValues[this.activeStep]) == null ? void 0 : e[this.activeSubStep]) == null ? void 0 : t[0]) == null ? void 0 : i.isValid) === !0 || ((n = this.formValues[this.activeStep][this.activeSubStep]) == null ? void 0 : n.isValid) === !0 ? this.navTrigger("next") : ((a = this.formValues[this.activeStep][this.activeSubStep]) != null && a[0] ? this.formValues[this.activeStep][this.activeSubStep][0].isValid = !1 : this.formValues[this.activeStep][this.activeSubStep].isValid = !1, this.handleDistributionsValidation(this.activeSubStep));
|
|
147
147
|
},
|
|
148
148
|
handleDistributionsValidation(e) {
|
|
149
|
-
|
|
149
|
+
Se.emit("nextClicked", e);
|
|
150
150
|
},
|
|
151
151
|
gotToHome() {
|
|
152
152
|
window.location.href = this.$router.resolve({
|
|
@@ -155,44 +155,44 @@ const Fe = Y({
|
|
|
155
155
|
},
|
|
156
156
|
navTrigger(e, t) {
|
|
157
157
|
try {
|
|
158
|
-
let
|
|
159
|
-
if (Object.keys(this.steps).forEach((n,
|
|
158
|
+
let i = [];
|
|
159
|
+
if (Object.keys(this.steps).forEach((n, a) => {
|
|
160
160
|
let v = {
|
|
161
161
|
step: n,
|
|
162
|
-
substeps: this.subSteps[
|
|
163
|
-
substepCount: Object.keys(this.subSteps[
|
|
162
|
+
substeps: this.subSteps[a],
|
|
163
|
+
substepCount: Object.keys(this.subSteps[a]).length
|
|
164
164
|
};
|
|
165
|
-
|
|
166
|
-
}), e === "next" && (
|
|
167
|
-
|
|
165
|
+
i.push(v);
|
|
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(
|
|
167
|
+
i[this.stepCounter].substeps
|
|
168
168
|
)[0], this.substepCounter = 0) : (this.substepCounter++, this.activeSubStep = Object.keys(
|
|
169
|
-
|
|
169
|
+
i[this.stepCounter].substeps
|
|
170
170
|
)[this.substepCounter]), this.handleDistributionsValidation(this.activeSubStep), this.activeStep === "ReviewAndPublish" && (this.formValues.ReviewAndPublish.reviewAndPublishPage = [
|
|
171
171
|
{ isValid: !0 }
|
|
172
|
-
])) : this.stepCounter !=
|
|
173
|
-
|
|
174
|
-
)[0], this.activeStep =
|
|
175
|
-
|
|
176
|
-
)[this.substepCounter]) : (this.stepCounter--, this.activeStep =
|
|
177
|
-
|
|
178
|
-
)[this.substepCounter]) : (this.substepCounter = Object.keys(
|
|
179
|
-
|
|
180
|
-
)[this.substepCounter], this.activeStep =
|
|
172
|
+
])) : this.stepCounter != i.length - 1 && (this.stepCounter++, this.activeSubStep = Object.keys(
|
|
173
|
+
i[this.stepCounter].substeps
|
|
174
|
+
)[0], this.activeStep = i[this.stepCounter].step)), e === "prev" && (i[this.stepCounter].substepCount > 1 ? this.substepCounter > 0 ? (this.substepCounter--, this.activeSubStep = Object.keys(
|
|
175
|
+
i[this.stepCounter].substeps
|
|
176
|
+
)[this.substepCounter]) : (this.stepCounter--, this.activeStep = i[this.stepCounter].step, this.substepCounter = Object.keys(i[this.stepCounter].substeps).length - 1, this.activeSubStep = Object.keys(
|
|
177
|
+
i[this.stepCounter].substeps
|
|
178
|
+
)[this.substepCounter]) : (this.substepCounter = Object.keys(i[this.stepCounter - 1].substeps).length - 1, this.stepCounter--, this.activeSubStep = Object.keys(
|
|
179
|
+
i[this.stepCounter].substeps
|
|
180
|
+
)[this.substepCounter], this.activeStep = i[this.stepCounter].step)), e === "publish") {
|
|
181
181
|
let n = "auth/createDataset";
|
|
182
182
|
E(
|
|
183
183
|
this.formValues,
|
|
184
184
|
this.dpiContext,
|
|
185
185
|
this.getUserData,
|
|
186
186
|
this.$env.api.hubUrl
|
|
187
|
-
).then((
|
|
187
|
+
).then((a) => {
|
|
188
188
|
this.dispatchDataToDPI(
|
|
189
|
-
|
|
189
|
+
a.body,
|
|
190
190
|
n,
|
|
191
|
-
|
|
191
|
+
a.actionParams,
|
|
192
192
|
"publish"
|
|
193
193
|
);
|
|
194
|
-
}).catch((
|
|
195
|
-
console.error("Fehler beim Senden der Daten:",
|
|
194
|
+
}).catch((a) => {
|
|
195
|
+
console.error("Fehler beim Senden der Daten:", a);
|
|
196
196
|
}), setTimeout(() => {
|
|
197
197
|
window.location.href = this.$router.resolve({
|
|
198
198
|
name: "DPI-Home-HappyFlow"
|
|
@@ -206,15 +206,15 @@ const Fe = Y({
|
|
|
206
206
|
this.dpiContext,
|
|
207
207
|
this.getUserData,
|
|
208
208
|
this.$env.api.hubUrl
|
|
209
|
-
).then((
|
|
209
|
+
).then((a) => {
|
|
210
210
|
this.dispatchDataToDPI(
|
|
211
|
-
|
|
211
|
+
a.body,
|
|
212
212
|
n,
|
|
213
|
-
|
|
213
|
+
a.actionParams,
|
|
214
214
|
"depublish"
|
|
215
215
|
);
|
|
216
|
-
}).catch((
|
|
217
|
-
console.error("Fehler beim Senden der Daten:",
|
|
216
|
+
}).catch((a) => {
|
|
217
|
+
console.error("Fehler beim Senden der Daten:", a);
|
|
218
218
|
}), setTimeout(() => {
|
|
219
219
|
window.location.href = this.$router.resolve({
|
|
220
220
|
name: "DPI-Home-HappyFlow"
|
|
@@ -228,43 +228,43 @@ const Fe = Y({
|
|
|
228
228
|
this.dpiContext,
|
|
229
229
|
this.getUserData,
|
|
230
230
|
this.$env.api.hubUrl
|
|
231
|
-
).then((
|
|
231
|
+
).then((a) => {
|
|
232
232
|
this.dispatchDataToDPI(
|
|
233
|
-
|
|
233
|
+
a.body,
|
|
234
234
|
n,
|
|
235
|
-
|
|
235
|
+
a.actionParams,
|
|
236
236
|
"draft"
|
|
237
237
|
);
|
|
238
|
-
}).catch((
|
|
239
|
-
console.error("Fehler beim Senden der Daten:",
|
|
238
|
+
}).catch((a) => {
|
|
239
|
+
console.error("Fehler beim Senden der Daten:", a);
|
|
240
240
|
}), setTimeout(() => {
|
|
241
241
|
window.location.href = this.$router.resolve({
|
|
242
242
|
name: "DPI-Home-HappyFlow"
|
|
243
243
|
}).href;
|
|
244
244
|
}, 1e3);
|
|
245
245
|
}
|
|
246
|
-
} catch (
|
|
247
|
-
console.log(
|
|
246
|
+
} catch (i) {
|
|
247
|
+
console.log(i);
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
|
-
async dispatchDataToDPI(e, t,
|
|
251
|
-
var
|
|
250
|
+
async dispatchDataToDPI(e, t, i, n) {
|
|
251
|
+
var a, v;
|
|
252
252
|
try {
|
|
253
|
-
n === "publish" && (
|
|
254
|
-
id:
|
|
255
|
-
catalog:
|
|
256
|
-
title:
|
|
257
|
-
description:
|
|
258
|
-
}), (
|
|
253
|
+
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), n === "depublish" && await this.$store.dispatch("auth/putDatasetToDraft", {
|
|
254
|
+
id: i.id,
|
|
255
|
+
catalog: i.catalog,
|
|
256
|
+
title: i.title,
|
|
257
|
+
description: i.description
|
|
258
|
+
}), (a = this.$Progress) == null || a.finish(), this.clearAll();
|
|
259
259
|
} catch (C) {
|
|
260
260
|
console.error(C), (v = this.$Progress) == null || v.fail();
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
dropdownCLick() {
|
|
264
264
|
const e = document.querySelectorAll(".formkitProperty h4");
|
|
265
|
-
this.expandall && e.forEach((t,
|
|
265
|
+
this.expandall && e.forEach((t, i) => {
|
|
266
266
|
t.classList.add("dpiChevUp"), t.nextElementSibling.classList.remove("d-none");
|
|
267
|
-
}), this.expandall || e.forEach((t,
|
|
267
|
+
}), this.expandall || e.forEach((t, i) => {
|
|
268
268
|
t.classList.remove("dpiChevUp"), t.nextElementSibling.classList.add("d-none");
|
|
269
269
|
});
|
|
270
270
|
},
|
|
@@ -276,20 +276,20 @@ const Fe = Y({
|
|
|
276
276
|
},
|
|
277
277
|
initInputPage() {
|
|
278
278
|
this.activeSubStep = this.activeSubStep || "Landing", ee().appContext.app.config.globalProperties.$env;
|
|
279
|
-
const t = this.getSchema(this.property).value,
|
|
280
|
-
(n) => t[n].map((
|
|
279
|
+
const t = this.getSchema(this.property).value, i = Object.keys(t).find(
|
|
280
|
+
(n) => t[n].map((a) => a.name).includes("dct:issued") || t[n].map((a) => a.name).includes("dct:modified")
|
|
281
281
|
);
|
|
282
|
-
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" &&
|
|
282
|
+
this.$formkit.setLocale("de"), localStorage.getItem("dpi_editmode") === "true" && i != null && t[i].forEach((n) => {
|
|
283
283
|
(n.identifier === "issued" || n.identifier === "modified") && (n.children[1].props.else.validation = "", n.children[1].props.else["validation-visibility"] = "", n.children[1].props.then.validation = "", n.children[1].props.then["validation-visibility"] = "", n.children[1].props.then.validation = "", n.children[1].props.then["validation-visibility"] = "");
|
|
284
284
|
}), localStorage.getItem("dpi_editmode") === "false" && (this.setIsDraft(!1), this.setIsEditMode(!1)), this.$nextTick(() => {
|
|
285
285
|
X('[data-bs-toggle="tooltip"]').tooltip({
|
|
286
286
|
container: "body"
|
|
287
287
|
}), setTimeout(() => {
|
|
288
|
-
document.querySelectorAll(".formkitProperty h4").forEach((
|
|
289
|
-
|
|
288
|
+
document.querySelectorAll(".formkitProperty h4").forEach((a, v) => {
|
|
289
|
+
a.parentElement.parentElement.classList.contains(
|
|
290
290
|
"formkitWrapRepeatable"
|
|
291
|
-
) || (v != 0 && v != 1 && v != 2 && v != 3 &&
|
|
292
|
-
|
|
291
|
+
) || (v != 0 && v != 1 && v != 2 && v != 3 && a.nextElementSibling.classList.toggle("d-none"), a.addEventListener("click", () => {
|
|
292
|
+
a.classList.toggle("dpiChevUp"), a.nextElementSibling.classList.toggle("d-none");
|
|
293
293
|
}));
|
|
294
294
|
}), document.querySelectorAll(".formkitProperty");
|
|
295
295
|
});
|
|
@@ -301,7 +301,7 @@ const Fe = Y({
|
|
|
301
301
|
},
|
|
302
302
|
createDatasetID() {
|
|
303
303
|
const e = this.formValues[this.getTitleStep];
|
|
304
|
-
!
|
|
304
|
+
!I(e, "datasetID") || j(e.datasetID) ? this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle : (this.createIDFromTitle.startsWith(e.datasetID) || e.datasetID.startsWith(this.createIDFromTitle)) && (this.formValues[this.getTitleStep].datasetID = this.createIDFromTitle);
|
|
305
305
|
},
|
|
306
306
|
generateandTranslateSchema(e) {
|
|
307
307
|
for (let t = 0; t < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; t++)
|
|
@@ -343,66 +343,66 @@ const Fe = Y({
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
|
-
beforeRouteEnter(e, t,
|
|
347
|
-
|
|
346
|
+
beforeRouteEnter(e, t, i) {
|
|
347
|
+
i((n) => {
|
|
348
348
|
t.name && !t.name.startsWith("DataProviderInterface") && n.clearAll();
|
|
349
349
|
});
|
|
350
350
|
},
|
|
351
351
|
setup() {
|
|
352
|
-
const e =
|
|
353
|
-
steps:
|
|
352
|
+
const e = Te(), { isEditMode: t } = De(), {
|
|
353
|
+
steps: i,
|
|
354
354
|
activeStep: n,
|
|
355
|
-
subSteps:
|
|
355
|
+
subSteps: a,
|
|
356
356
|
visitedSteps: v,
|
|
357
357
|
previousStep: C,
|
|
358
358
|
nextStep: m,
|
|
359
|
-
stepPlugin:
|
|
360
|
-
goToNextStep:
|
|
361
|
-
goToPreviousStep:
|
|
362
|
-
} =
|
|
363
|
-
t:
|
|
364
|
-
te:
|
|
359
|
+
stepPlugin: k,
|
|
360
|
+
goToNextStep: P,
|
|
361
|
+
goToPreviousStep: $
|
|
362
|
+
} = ae(), { formValues: T } = oe(), { t: D, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema: O } = we({
|
|
363
|
+
t: D,
|
|
364
|
+
te: w
|
|
365
365
|
}), l = () => {
|
|
366
366
|
let { x: f, y: q } = Q({ behavior: "smooth" });
|
|
367
367
|
q.value = 0;
|
|
368
|
-
}, u = (f) => (
|
|
369
|
-
return t.value && (n.value = "ReviewAndPublish",
|
|
370
|
-
steps:
|
|
368
|
+
}, u = (f) => (i[f].errorCount > 0 || i[f].blockingCount > 0) && v.value.includes(f), d = x({ OverviewPage: $e }), S = R("");
|
|
369
|
+
return t.value && (n.value = "ReviewAndPublish", S.value = "reviewAndPublishPage"), {
|
|
370
|
+
steps: i,
|
|
371
371
|
visitedSteps: v,
|
|
372
372
|
activeStep: n,
|
|
373
|
-
activeSubStep:
|
|
374
|
-
subSteps:
|
|
373
|
+
activeSubStep: S,
|
|
374
|
+
subSteps: a,
|
|
375
375
|
previousStep: C,
|
|
376
376
|
nextStep: m,
|
|
377
|
-
stepPlugin:
|
|
377
|
+
stepPlugin: k,
|
|
378
378
|
checkStepValidity: u,
|
|
379
|
-
goToNextStep:
|
|
380
|
-
goToPreviousStep:
|
|
379
|
+
goToNextStep: P,
|
|
380
|
+
goToPreviousStep: $,
|
|
381
381
|
scrollToTop: l,
|
|
382
382
|
library: d,
|
|
383
383
|
isEditMode: t,
|
|
384
|
-
translateSchema:
|
|
385
|
-
createSchema:
|
|
384
|
+
translateSchema: A,
|
|
385
|
+
createSchema: L,
|
|
386
386
|
getSchema: O,
|
|
387
387
|
dpiContext: e,
|
|
388
|
-
formValues:
|
|
389
|
-
activeSimpleModal:
|
|
388
|
+
formValues: T,
|
|
389
|
+
activeSimpleModal: F
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
}), Ae = { class: "form-container V3-typography" }, Le = {
|
|
393
393
|
key: 0,
|
|
394
394
|
ref: "fkInputContainer",
|
|
395
395
|
class: "inputContainer"
|
|
396
|
-
},
|
|
396
|
+
}, Oe = { class: "formContainer formkit" }, Ee = { key: 0 }, je = { class: "dpiV3_stepper draftStepper" }, Ue = {
|
|
397
397
|
key: 0,
|
|
398
398
|
class: "draftCTA"
|
|
399
|
-
},
|
|
399
|
+
}, ze = {
|
|
400
400
|
key: 1,
|
|
401
401
|
class: "draftCTA"
|
|
402
|
-
},
|
|
402
|
+
}, He = { key: 1 }, Me = {
|
|
403
403
|
key: 0,
|
|
404
404
|
class: "dpiV3_stepper"
|
|
405
|
-
},
|
|
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 = {
|
|
406
406
|
key: 0,
|
|
407
407
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
408
408
|
}, Xe = {
|
|
@@ -417,7 +417,7 @@ const Fe = Y({
|
|
|
417
417
|
}, st = {
|
|
418
418
|
key: 1,
|
|
419
419
|
class: "dpiV3_stepperLanding"
|
|
420
|
-
},
|
|
420
|
+
}, ot = { class: "dpiV3_bydata_logo_wordmark" }, at = { class: "dpiV3_Illustration-Start" }, rt = {
|
|
421
421
|
key: 2,
|
|
422
422
|
class: "steps"
|
|
423
423
|
}, nt = ["data-step-active", "data-step-valid", "onClick"], lt = { class: "stepBubbleWrap" }, dt = { class: "circle stepCircle" }, pt = ["textContent"], ut = {
|
|
@@ -432,22 +432,19 @@ const Fe = Y({
|
|
|
432
432
|
}, mt = {
|
|
433
433
|
key: 1,
|
|
434
434
|
class: "dpiV3_CTA_RaP"
|
|
435
|
-
}, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" },
|
|
435
|
+
}, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, St = {
|
|
436
436
|
key: 3,
|
|
437
437
|
class: "dpiV3_Content_InputPage"
|
|
438
|
-
},
|
|
439
|
-
key:
|
|
440
|
-
class: "dpiV3_Content_InputPage"
|
|
441
|
-
}, Mt = { class: "dpiV3_Card_Tips" }, jt = { class: "dpiV3_Icon_Title" }, Ut = {
|
|
442
|
-
key: 6,
|
|
438
|
+
}, bt = { 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" }, Pt = { class: "dpiV3_hvd_frame3846" }, Tt = { class: "dpiV3_copy_large_semi_bold" }, Dt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, wt = { class: "dpiV3_hvd_frame3846" }, Ft = { class: "dpiV3_copy_large_semi_bold" }, At = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Lt = { class: "dpiV3_hvd_frame3846" }, Ot = { class: "dpiV3_copy_large_semi_bold" }, Et = { class: "dpiV3_copy_large_regular" }, jt = {
|
|
439
|
+
key: 5,
|
|
443
440
|
class: "p-1"
|
|
444
441
|
};
|
|
445
|
-
function
|
|
446
|
-
const C = g("TextButtonSmall"), m = g("ButtonV3"),
|
|
447
|
-
return
|
|
448
|
-
e.isInput ? (
|
|
449
|
-
|
|
450
|
-
h(
|
|
442
|
+
function Ut(e, t, i, n, a, v) {
|
|
443
|
+
const C = g("TextButtonSmall"), m = g("ButtonV3"), k = g("LogoV3"), P = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), T = g("Illustration"), D = 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
|
+
h(L, {
|
|
451
448
|
id: "dpiForm",
|
|
452
449
|
modelValue: e.formValues,
|
|
453
450
|
"onUpdate:modelValue": t[10] || (t[10] = (l) => e.formValues = l),
|
|
@@ -458,17 +455,17 @@ function Ht(e, t, s, n, o, v) {
|
|
|
458
455
|
onSubmit: t[11] || (t[11] = N(() => {
|
|
459
456
|
}, ["prevent"]))
|
|
460
457
|
}, {
|
|
461
|
-
default:
|
|
462
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (
|
|
463
|
-
|
|
458
|
+
default: U(() => [
|
|
459
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Ee, [
|
|
460
|
+
o("div", je, [
|
|
464
461
|
h(C, {
|
|
465
462
|
"button-text": "Übersicht",
|
|
466
463
|
"icon-start": "CaretLeft",
|
|
467
464
|
"icon-name": "caretLeft",
|
|
468
465
|
onClick: e.gotToHome
|
|
469
466
|
}, null, 8, ["onClick"]),
|
|
470
|
-
|
|
471
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (
|
|
467
|
+
o("div", null, [
|
|
468
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", Ue, [
|
|
472
469
|
h(m, {
|
|
473
470
|
"button-text": "Veröffentlichung aufheben",
|
|
474
471
|
size: "large",
|
|
@@ -481,7 +478,7 @@ function Ht(e, t, s, n, o, v) {
|
|
|
481
478
|
"icon-end": "Out",
|
|
482
479
|
onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
|
|
483
480
|
})
|
|
484
|
-
])) : (
|
|
481
|
+
])) : (s(), r("div", ze, [
|
|
485
482
|
h(m, {
|
|
486
483
|
"button-text": "Veröffentlichen",
|
|
487
484
|
size: "large",
|
|
@@ -490,11 +487,11 @@ function Ht(e, t, s, n, o, v) {
|
|
|
490
487
|
]))
|
|
491
488
|
])
|
|
492
489
|
])
|
|
493
|
-
])) : (
|
|
494
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (
|
|
495
|
-
h(
|
|
496
|
-
|
|
497
|
-
(
|
|
490
|
+
])) : (s(), r("div", He, [
|
|
491
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
|
|
492
|
+
h(k),
|
|
493
|
+
o("ul", Re, [
|
|
494
|
+
(s(!0), r(V, null, _(e.steps, (l, u, d) => z((s(), r("li", {
|
|
498
495
|
key: l,
|
|
499
496
|
class: y(["dpiV3_step", {
|
|
500
497
|
dpiV3_activeItem: e.activeStep === u,
|
|
@@ -504,77 +501,77 @@ function Ht(e, t, s, n, o, v) {
|
|
|
504
501
|
"data-step-active": e.activeStep === u,
|
|
505
502
|
"data-step-valid": l.valid && l.errorCount === 0
|
|
506
503
|
}, [
|
|
507
|
-
|
|
508
|
-
|
|
504
|
+
o("div", We, [
|
|
505
|
+
o("div", {
|
|
509
506
|
class: y(["firstRowWrapper", {
|
|
510
507
|
dpiV3_activeStepName: u === e.activeStep,
|
|
511
508
|
formerlyVisitedStep: e.stepCounter > d,
|
|
512
509
|
"copy-small-regular": e.stepCounter > d
|
|
513
510
|
}])
|
|
514
511
|
}, [
|
|
515
|
-
e.activeStep === u && d < 5 ? (
|
|
512
|
+
e.activeStep === u && d < 5 ? (s(), r("img", {
|
|
516
513
|
key: 0,
|
|
517
514
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
518
515
|
src: e.selectedImages[d - 1],
|
|
519
516
|
alt: "Selected Icon"
|
|
520
517
|
}, null, 8, qe)) : p("", !0),
|
|
521
|
-
e.activeStep === u && d === 5 ? (
|
|
518
|
+
e.activeStep === u && d === 5 ? (s(), b(P, {
|
|
522
519
|
key: 1,
|
|
523
520
|
size: 28,
|
|
524
521
|
color: "#009FE3",
|
|
525
522
|
weight: "fill"
|
|
526
523
|
})) : p("", !0),
|
|
527
|
-
d < e.stepCounter ? (
|
|
524
|
+
d < e.stepCounter ? (s(), b($, {
|
|
528
525
|
key: 2,
|
|
529
526
|
size: 28,
|
|
530
527
|
color: "#70CC44",
|
|
531
528
|
weight: "fill"
|
|
532
529
|
})) : p("", !0),
|
|
533
|
-
d > e.stepCounter ? (
|
|
530
|
+
d > e.stepCounter ? (s(), r("img", {
|
|
534
531
|
key: 3,
|
|
535
532
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
536
533
|
src: e.images[d - 1],
|
|
537
534
|
alt: "Selected Icon"
|
|
538
535
|
}, null, 8, Ke)) : p("", !0),
|
|
539
|
-
e.checkStepValidity(u) ? (
|
|
536
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
540
537
|
key: 4,
|
|
541
538
|
class: "dpiV3_step--errors",
|
|
542
539
|
textContent: c(l.errorCount + l.blockingCount)
|
|
543
540
|
}, null, 8, Ze)) : p("", !0),
|
|
544
|
-
|
|
541
|
+
o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
545
542
|
], 2),
|
|
546
|
-
|
|
547
|
-
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (
|
|
548
|
-
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (
|
|
549
|
-
e.activeStep === u ? (
|
|
550
|
-
e.stepCounter < 5 ? (
|
|
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(
|
|
551
548
|
e.subSteps[d]
|
|
552
|
-
), (
|
|
553
|
-
|
|
554
|
-
e.substepCounter > f ? (
|
|
549
|
+
), (S, f) => (s(), r("div", Ne, [
|
|
550
|
+
o("div", xe, [
|
|
551
|
+
e.substepCounter > f ? (s(), b($, {
|
|
555
552
|
key: 0,
|
|
556
553
|
size: 20,
|
|
557
554
|
color: "#009FE3"
|
|
558
|
-
})) : (
|
|
555
|
+
})) : (s(), r("img", {
|
|
559
556
|
key: 1,
|
|
560
557
|
src: e.getCircles(f),
|
|
561
558
|
alt: "circle"
|
|
562
559
|
}, null, 8, et)),
|
|
563
|
-
f != Object.keys(e.subSteps[d]).length - 1 ? (
|
|
560
|
+
f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
|
|
564
561
|
key: 2,
|
|
565
562
|
class: y(["dpiV3_seperatorHorizontalStepperInner", {
|
|
566
563
|
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
|
|
567
564
|
}])
|
|
568
565
|
}, null, 2)) : p("", !0)
|
|
569
566
|
]),
|
|
570
|
-
|
|
571
|
-
|
|
567
|
+
o("div", tt, [
|
|
568
|
+
o("span", {
|
|
572
569
|
class: y(["large-regular dpiV3_substepText", {
|
|
573
|
-
dpiV3_activeStepDesc:
|
|
570
|
+
dpiV3_activeStepDesc: S === e.activeSubStep,
|
|
574
571
|
formerlyVisitedStep: e.substepCounter > f
|
|
575
572
|
}])
|
|
576
573
|
}, c(e.$t(
|
|
577
|
-
`message.dataupload.steps.${
|
|
574
|
+
`message.dataupload.steps.${S.replace(
|
|
578
575
|
/_\d+$/,
|
|
579
576
|
""
|
|
580
577
|
)}`
|
|
@@ -584,24 +581,24 @@ function Ht(e, t, s, n, o, v) {
|
|
|
584
581
|
])) : p("", !0)
|
|
585
582
|
])
|
|
586
583
|
])
|
|
587
|
-
], 10,
|
|
584
|
+
], 10, Be)), [
|
|
588
585
|
[H, u !== "Landing" && u !== "Additionals"]
|
|
589
586
|
])), 128)),
|
|
590
|
-
e.activeStep === "Overview" ? (
|
|
591
|
-
|
|
587
|
+
e.activeStep === "Overview" ? (s(), r("li", it, t[14] || (t[14] = [
|
|
588
|
+
o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
592
589
|
]))) : p("", !0)
|
|
593
590
|
])
|
|
594
|
-
])) : (
|
|
595
|
-
|
|
596
|
-
h(
|
|
591
|
+
])) : (s(), r("div", st, [
|
|
592
|
+
o("div", ot, [
|
|
593
|
+
h(k)
|
|
597
594
|
]),
|
|
598
|
-
|
|
599
|
-
h(
|
|
595
|
+
o("div", at, [
|
|
596
|
+
h(T, { "illustration-name": "start" })
|
|
600
597
|
])
|
|
601
598
|
]))
|
|
602
599
|
])),
|
|
603
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (
|
|
604
|
-
(
|
|
600
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
|
|
601
|
+
(s(!0), r(V, null, _(e.steps, (l, u, d) => (s(), r("li", {
|
|
605
602
|
key: l,
|
|
606
603
|
class: y(["step", {
|
|
607
604
|
activeItem: e.activeStep === u,
|
|
@@ -610,38 +607,38 @@ function Ht(e, t, s, n, o, v) {
|
|
|
610
607
|
}]),
|
|
611
608
|
"data-step-active": e.activeStep === u,
|
|
612
609
|
"data-step-valid": l.valid && l.errorCount === 0,
|
|
613
|
-
onClick: (
|
|
610
|
+
onClick: (S) => {
|
|
614
611
|
e.activeStep = u, e.update(), e.scrollToTop();
|
|
615
612
|
}
|
|
616
613
|
}, [
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
e.checkStepValidity(u) ? (
|
|
614
|
+
o("div", lt, [
|
|
615
|
+
o("div", dt, c(d + 1), 1),
|
|
616
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
620
617
|
key: 0,
|
|
621
618
|
class: "step--errors",
|
|
622
619
|
textContent: c(l.errorCount + l.blockingCount)
|
|
623
620
|
}, null, 8, pt)) : p("", !0),
|
|
624
|
-
|
|
621
|
+
M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
625
622
|
]),
|
|
626
|
-
d != Object.keys(e.steps).length ? (
|
|
623
|
+
d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
|
|
627
624
|
], 10, nt))), 128)),
|
|
628
|
-
e.activeStep === "Overview" ? (
|
|
629
|
-
|
|
625
|
+
e.activeStep === "Overview" ? (s(), r("li", ct, t[15] || (t[15] = [
|
|
626
|
+
o("div", { class: "circle stepCircle" }, null, -1)
|
|
630
627
|
]))) : p("", !0)
|
|
631
628
|
])) : p("", !0),
|
|
632
|
-
(
|
|
629
|
+
(s(!0), r(V, null, _(e.getNavSteps(
|
|
633
630
|
e.$env.content.dataProviderInterface.specification
|
|
634
|
-
)[e.property], (l, u) => (
|
|
631
|
+
)[e.property], (l, u) => (s(), b(A, {
|
|
635
632
|
key: u,
|
|
636
633
|
name: l
|
|
637
634
|
}, {
|
|
638
|
-
default:
|
|
639
|
-
(
|
|
635
|
+
default: U(() => [
|
|
636
|
+
(s(!0), r(V, null, _(Object.keys(
|
|
640
637
|
e.getSchema(e.property).value[l]
|
|
641
|
-
).length, (d,
|
|
642
|
-
l !== "Distributions" && l !== "Additionals" ? (
|
|
638
|
+
).length, (d, S) => z((s(), r("div", ht, [
|
|
639
|
+
l !== "Distributions" && l !== "Additionals" ? (s(), b(D, {
|
|
643
640
|
key: 0,
|
|
644
|
-
schema: e.getSchema(e.property).value[l][
|
|
641
|
+
schema: e.getSchema(e.property).value[l][S],
|
|
645
642
|
library: e.library,
|
|
646
643
|
"final-values": e.formValues,
|
|
647
644
|
onHandleNav: () => {
|
|
@@ -651,11 +648,11 @@ function Ht(e, t, s, n, o, v) {
|
|
|
651
648
|
[
|
|
652
649
|
H,
|
|
653
650
|
Object.values(
|
|
654
|
-
e.getSchema(e.property).value[l][
|
|
651
|
+
e.getSchema(e.property).value[l][S]
|
|
655
652
|
)[0] === e.activeSubStep.replace(/_\d+$/, "") || l === "Landing"
|
|
656
653
|
]
|
|
657
654
|
])), 256)),
|
|
658
|
-
e.activeStep === "Landing" ? (
|
|
655
|
+
e.activeStep === "Landing" ? (s(), r("div", vt, [
|
|
659
656
|
h(m, {
|
|
660
657
|
"button-text": "Abbrechen",
|
|
661
658
|
size: "large",
|
|
@@ -670,8 +667,8 @@ function Ht(e, t, s, n, o, v) {
|
|
|
670
667
|
onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
|
|
671
668
|
})
|
|
672
669
|
])) : p("", !0),
|
|
673
|
-
e.activeStep === "ReviewAndPublish" ? (
|
|
674
|
-
|
|
670
|
+
e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
|
|
671
|
+
o("div", gt, [
|
|
675
672
|
h(m, {
|
|
676
673
|
"button-text": "Als Entwurf speichern",
|
|
677
674
|
size: "large",
|
|
@@ -685,7 +682,7 @@ function Ht(e, t, s, n, o, v) {
|
|
|
685
682
|
})
|
|
686
683
|
])
|
|
687
684
|
])) : p("", !0),
|
|
688
|
-
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (
|
|
685
|
+
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
|
|
689
686
|
key: 2,
|
|
690
687
|
class: y(["dpiV3_CTA", {
|
|
691
688
|
dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
|
|
@@ -697,8 +694,8 @@ function Ht(e, t, s, n, o, v) {
|
|
|
697
694
|
variant: "tertiary",
|
|
698
695
|
onClick: t[7] || (t[7] = (d) => e.activeSimpleModal = !0)
|
|
699
696
|
}),
|
|
700
|
-
|
|
701
|
-
e.activeStep !== "Landing" ? (
|
|
697
|
+
o("div", ft, [
|
|
698
|
+
e.activeStep !== "Landing" ? (s(), b(m, {
|
|
702
699
|
key: 0,
|
|
703
700
|
"icon-start": "CaretLeft",
|
|
704
701
|
"button-text": "Zurück",
|
|
@@ -714,93 +711,71 @@ function Ht(e, t, s, n, o, v) {
|
|
|
714
711
|
})
|
|
715
712
|
])
|
|
716
713
|
], 2)) : p("", !0),
|
|
717
|
-
e.activeSubStep.includes("hvdPage") ? (
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
h(
|
|
714
|
+
e.activeSubStep.includes("hvdPage") ? (s(), r("div", St, [
|
|
715
|
+
o("div", bt, [
|
|
716
|
+
o("div", Ct, [
|
|
717
|
+
h(w, {
|
|
721
718
|
size: 32,
|
|
722
719
|
color: "#009fe3"
|
|
723
720
|
}),
|
|
724
|
-
|
|
721
|
+
o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
725
722
|
]),
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
723
|
+
o("div", Vt, [
|
|
724
|
+
o("div", _t, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
725
|
+
o("div", kt, [
|
|
726
|
+
o("div", $t, " 1. " + c(e.$t(
|
|
730
727
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
731
728
|
)), 1),
|
|
732
|
-
|
|
733
|
-
|
|
729
|
+
o("ul", It, [
|
|
730
|
+
o("li", null, c(e.$t(
|
|
734
731
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
735
732
|
)), 1),
|
|
736
|
-
|
|
733
|
+
o("li", null, c(e.$t(
|
|
737
734
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
738
735
|
)), 1),
|
|
739
|
-
|
|
736
|
+
o("li", null, c(e.$t(
|
|
740
737
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
741
738
|
)), 1),
|
|
742
|
-
|
|
739
|
+
o("li", null, c(e.$t(
|
|
743
740
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
744
741
|
)), 1),
|
|
745
|
-
|
|
742
|
+
o("li", null, c(e.$t(
|
|
746
743
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
747
744
|
)), 1),
|
|
748
|
-
|
|
745
|
+
o("li", null, c(e.$t(
|
|
749
746
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
750
747
|
)), 1)
|
|
751
748
|
])
|
|
752
749
|
]),
|
|
753
|
-
|
|
754
|
-
|
|
750
|
+
o("div", Pt, [
|
|
751
|
+
o("div", Tt, " 2. " + c(e.$t(
|
|
755
752
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
756
753
|
)), 1),
|
|
757
|
-
|
|
754
|
+
o("p", Dt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
758
755
|
]),
|
|
759
|
-
|
|
760
|
-
|
|
756
|
+
o("div", wt, [
|
|
757
|
+
o("div", Ft, " 3. " + c(e.$t(
|
|
761
758
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
762
759
|
)), 1),
|
|
763
|
-
|
|
760
|
+
o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
764
761
|
]),
|
|
765
|
-
|
|
766
|
-
|
|
762
|
+
o("div", Lt, [
|
|
763
|
+
o("div", Ot, " 4. " + c(e.$t(
|
|
767
764
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
768
765
|
)), 1),
|
|
769
|
-
|
|
766
|
+
o("p", Et, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
770
767
|
])
|
|
771
768
|
])
|
|
772
769
|
])
|
|
773
770
|
])) : p("", !0),
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
i("div", jt, [
|
|
777
|
-
h($, {
|
|
778
|
-
size: 32,
|
|
779
|
-
color: "#009fe3"
|
|
780
|
-
}),
|
|
781
|
-
t[16] || (t[16] = i("div", { class: "dpiV3_Info-Text dpiV3_activeStepName" }, " Information ", -1))
|
|
782
|
-
]),
|
|
783
|
-
t[17] || (t[17] = i("div", { class: "dpiV3_CT-Content" }, [
|
|
784
|
-
i("p", { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, [
|
|
785
|
-
i("span", { class: "dpiV3_Info-Text" }, "Metadaten"),
|
|
786
|
-
k(" sind die Daten, die Ihren Datensatz beschreiben, analog einer Katalogkarte für ein Buch in einer Bibliothek. Sie informieren beispielsweise über Titel, Autoren, Inhalte oder Erscheinungsdaten. ")
|
|
787
|
-
]),
|
|
788
|
-
i("p", { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, [
|
|
789
|
-
k(" Die "),
|
|
790
|
-
i("span", { class: "dpiV3_Info-Text" }, "Distributionen"),
|
|
791
|
-
k(" sind ein Teil dieser Metadaten und geben unter anderem Auskunft darüber, wo die eigentlichen Daten zu finden sind, unter welcher Lizenz diese Daten stehen und in welchen Formaten sie verfügbar sind. Eine Distribution beinhaltet immer einen Zugangslink zu den eigentlichen Daten. ")
|
|
792
|
-
])
|
|
793
|
-
], -1))
|
|
794
|
-
])
|
|
795
|
-
])) : p("", !0),
|
|
796
|
-
l === "Distributions" ? (a(), S(A, {
|
|
797
|
-
key: 5,
|
|
771
|
+
l === "Distributions" ? (s(), b(F, {
|
|
772
|
+
key: 4,
|
|
798
773
|
schema: e.getSchema("distributions"),
|
|
799
774
|
values: e.formValues
|
|
800
775
|
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
801
|
-
l === "Mandatory" ? (
|
|
802
|
-
t[
|
|
803
|
-
|
|
776
|
+
l === "Mandatory" ? (s(), r("p", jt, [
|
|
777
|
+
t[16] || (t[16] = o("b", null, "*", -1)),
|
|
778
|
+
M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
|
|
804
779
|
])) : p("", !0)
|
|
805
780
|
]),
|
|
806
781
|
_: 2
|
|
@@ -808,7 +783,7 @@ function Ht(e, t, s, n, o, v) {
|
|
|
808
783
|
]),
|
|
809
784
|
_: 1
|
|
810
785
|
}, 8, ["modelValue", "plugins"]),
|
|
811
|
-
e.activeSimpleModal ? (
|
|
786
|
+
e.activeSimpleModal ? (s(), b(O, {
|
|
812
787
|
key: 0,
|
|
813
788
|
buttons: e.modalSimpleConf.button,
|
|
814
789
|
"header-text": e.modalSimpleConf.header,
|
|
@@ -821,7 +796,7 @@ function Ht(e, t, s, n, o, v) {
|
|
|
821
796
|
], 512)) : p("", !0)
|
|
822
797
|
]);
|
|
823
798
|
}
|
|
824
|
-
const
|
|
799
|
+
const Ii = /* @__PURE__ */ Pe(Fe, [["render", Ut]]);
|
|
825
800
|
export {
|
|
826
|
-
|
|
801
|
+
Ii as default
|
|
827
802
|
};
|