@piveau/dpi 0.1.0-beta.47 → 0.1.0-beta.49
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/ui/ModalV3.vue.js +138 -132
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +8 -8
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +230 -215
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +9 -9
- package/dist/data-provider-interface/components/DistLicense.vue.js +58 -58
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +32 -32
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +5 -2
- package/dist/data-provider-interface/components/TempResPage.vue.js +81 -81
- package/dist/data-provider-interface/components/TempResPageInModal.vue.js +3 -3
- package/dist/data-provider-interface/views/InputPage.vue.js +146 -138
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getNode as K } from "@formkit/core";
|
|
2
2
|
import "@formkit/vue";
|
|
3
|
-
import { PhNumberCircleFive as
|
|
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
6
|
import { has as I, isNil as j } from "lodash-es";
|
|
7
|
-
import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as
|
|
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 S, withModifiers as N, withCtx as z, Fragment as V, renderList as k, withDirectives as U, 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
9
|
import { mapActions as B, mapGetters as W } from "vuex";
|
|
10
10
|
import ie from "../components/InputPageStep.vue.js";
|
|
@@ -29,15 +29,15 @@ 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
|
-
import
|
|
33
|
-
import
|
|
32
|
+
import ke from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
33
|
+
import _e from "./DistributionInputPage.vue.js";
|
|
34
34
|
import $e from "./OverviewPage.vue.js";
|
|
35
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 Pe } 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({
|
|
@@ -84,16 +84,16 @@ const Fe = Y({
|
|
|
84
84
|
},
|
|
85
85
|
components: {
|
|
86
86
|
InputPageStep: ie,
|
|
87
|
-
DistributionInputPage:
|
|
87
|
+
DistributionInputPage: _e,
|
|
88
88
|
PropertyChooser: Ie,
|
|
89
89
|
Navigation: se,
|
|
90
90
|
LogoV3: ye,
|
|
91
91
|
ButtonV3: be,
|
|
92
|
-
TextButtonSmall:
|
|
92
|
+
TextButtonSmall: ke,
|
|
93
93
|
Illustration: Ce,
|
|
94
|
-
PhLightbulb:
|
|
95
|
-
PhCheckCircle:
|
|
96
|
-
PhNumberCircleFive:
|
|
94
|
+
PhLightbulb: J,
|
|
95
|
+
PhCheckCircle: G,
|
|
96
|
+
PhNumberCircleFive: Z,
|
|
97
97
|
ModalSimpleV3: Ve
|
|
98
98
|
},
|
|
99
99
|
computed: {
|
|
@@ -237,7 +237,11 @@ const Fe = Y({
|
|
|
237
237
|
);
|
|
238
238
|
}).catch((a) => {
|
|
239
239
|
console.error("Fehler beim Senden der Daten:", a);
|
|
240
|
-
})
|
|
240
|
+
}), setTimeout(() => {
|
|
241
|
+
window.location.href = this.$router.resolve({
|
|
242
|
+
name: "DPI-Home-HappyFlow"
|
|
243
|
+
}).href;
|
|
244
|
+
}, 1e3);
|
|
241
245
|
}
|
|
242
246
|
} catch (i) {
|
|
243
247
|
console.log(i);
|
|
@@ -345,34 +349,34 @@ const Fe = Y({
|
|
|
345
349
|
});
|
|
346
350
|
},
|
|
347
351
|
setup() {
|
|
348
|
-
const e =
|
|
352
|
+
const e = Pe(), { isEditMode: t } = De(), {
|
|
349
353
|
steps: i,
|
|
350
354
|
activeStep: n,
|
|
351
355
|
subSteps: a,
|
|
352
356
|
visitedSteps: v,
|
|
353
357
|
previousStep: C,
|
|
354
358
|
nextStep: m,
|
|
355
|
-
stepPlugin:
|
|
356
|
-
goToNextStep:
|
|
359
|
+
stepPlugin: _,
|
|
360
|
+
goToNextStep: T,
|
|
357
361
|
goToPreviousStep: $
|
|
358
|
-
} = ae(), { formValues:
|
|
362
|
+
} = ae(), { formValues: P } = oe(), { t: D, te: w } = te(), F = R(!1), { translateSchema: A, createSchema: L, getSchema: O } = we({
|
|
359
363
|
t: D,
|
|
360
364
|
te: w
|
|
361
365
|
}), l = () => {
|
|
362
366
|
let { x: f, y: q } = Q({ behavior: "smooth" });
|
|
363
367
|
q.value = 0;
|
|
364
|
-
}, u = (f) => (i[f].errorCount > 0 || i[f].blockingCount > 0) && v.value.includes(f), d = x({ OverviewPage: $e }),
|
|
365
|
-
return t.value && (n.value = "ReviewAndPublish",
|
|
368
|
+
}, u = (f) => (i[f].errorCount > 0 || i[f].blockingCount > 0) && v.value.includes(f), d = x({ OverviewPage: $e }), b = R("");
|
|
369
|
+
return t.value && (n.value = "ReviewAndPublish", b.value = "reviewAndPublishPage"), {
|
|
366
370
|
steps: i,
|
|
367
371
|
visitedSteps: v,
|
|
368
372
|
activeStep: n,
|
|
369
|
-
activeSubStep:
|
|
373
|
+
activeSubStep: b,
|
|
370
374
|
subSteps: a,
|
|
371
375
|
previousStep: C,
|
|
372
376
|
nextStep: m,
|
|
373
|
-
stepPlugin:
|
|
377
|
+
stepPlugin: _,
|
|
374
378
|
checkStepValidity: u,
|
|
375
|
-
goToNextStep:
|
|
379
|
+
goToNextStep: T,
|
|
376
380
|
goToPreviousStep: $,
|
|
377
381
|
scrollToTop: l,
|
|
378
382
|
library: d,
|
|
@@ -381,7 +385,7 @@ const Fe = Y({
|
|
|
381
385
|
createSchema: L,
|
|
382
386
|
getSchema: O,
|
|
383
387
|
dpiContext: e,
|
|
384
|
-
formValues:
|
|
388
|
+
formValues: P,
|
|
385
389
|
activeSimpleModal: F
|
|
386
390
|
};
|
|
387
391
|
}
|
|
@@ -389,16 +393,16 @@ const Fe = Y({
|
|
|
389
393
|
key: 0,
|
|
390
394
|
ref: "fkInputContainer",
|
|
391
395
|
class: "inputContainer"
|
|
392
|
-
}, Oe = { class: "formContainer formkit" }, Ee = { key: 0 }, je = { class: "dpiV3_stepper draftStepper" },
|
|
396
|
+
}, Oe = { class: "formContainer formkit" }, Ee = { key: 0 }, je = { class: "dpiV3_stepper draftStepper" }, ze = {
|
|
393
397
|
key: 0,
|
|
394
398
|
class: "draftCTA"
|
|
395
|
-
},
|
|
399
|
+
}, Ue = {
|
|
396
400
|
key: 1,
|
|
397
401
|
class: "draftCTA"
|
|
398
402
|
}, He = { key: 1 }, Me = {
|
|
399
403
|
key: 0,
|
|
400
404
|
class: "dpiV3_stepper"
|
|
401
|
-
}, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"],
|
|
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 = {
|
|
402
406
|
key: 0,
|
|
403
407
|
class: "dpiV3_seperatorHorizontalStepper"
|
|
404
408
|
}, Xe = {
|
|
@@ -431,40 +435,37 @@ const Fe = Y({
|
|
|
431
435
|
}, gt = { class: "dpiV3_CTANav" }, ft = { class: "dpiV3_CTANav" }, St = {
|
|
432
436
|
key: 3,
|
|
433
437
|
class: "dpiV3_Content_InputPage"
|
|
434
|
-
}, bt = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, yt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" },
|
|
438
|
+
}, bt = { class: "dpiV3_Card_Tips" }, Ct = { class: "dpiV3_Icon_Title" }, yt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Vt = { class: "dpiV3_CT-Content" }, kt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, _t = { class: "dpiV3_hvd_frame3846" }, $t = { class: "dpiV3_copy_large_semi_bold" }, It = { class: "dpiV3_copy_large_regular" }, Tt = { class: "dpiV3_hvd_frame3846" }, Pt = { class: "dpiV3_copy_large_semi_bold" }, Dt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, wt = { class: "dpiV3_hvd_frame3846" }, Ft = { class: "dpiV3_copy_large_semi_bold" }, At = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Lt = { class: "dpiV3_hvd_frame3846" }, Ot = { class: "dpiV3_copy_large_semi_bold" }, Et = { class: "dpiV3_copy_large_regular" }, jt = {
|
|
435
439
|
key: 5,
|
|
436
440
|
class: "p-1"
|
|
437
441
|
};
|
|
438
|
-
function
|
|
439
|
-
const C = g("TextButtonSmall"), m = g("ButtonV3"),
|
|
440
|
-
return
|
|
441
|
-
e.isInput ? (
|
|
442
|
-
|
|
443
|
-
s("details", null, [
|
|
444
|
-
s("pre", null, c(JSON.stringify(e.formValues, null, 2)), 1)
|
|
445
|
-
]),
|
|
442
|
+
function zt(e, t, i, n, a, v) {
|
|
443
|
+
const C = g("TextButtonSmall"), m = g("ButtonV3"), _ = g("LogoV3"), T = g("PhNumberCircleFive"), $ = g("PhCheckCircle"), P = g("Illustration"), D = g("FormKitSchema"), w = g("PhLightbulb"), F = g("DistributionInputPage"), A = g("InputPageStep"), L = g("FormKit"), O = g("ModalSimpleV3");
|
|
444
|
+
return s(), r("div", Ae, [
|
|
445
|
+
e.isInput ? (s(), r("div", Le, [
|
|
446
|
+
o("div", Oe, [
|
|
446
447
|
h(L, {
|
|
447
448
|
id: "dpiForm",
|
|
448
449
|
modelValue: e.formValues,
|
|
449
|
-
"onUpdate:modelValue": t[
|
|
450
|
+
"onUpdate:modelValue": t[11] || (t[11] = (l) => e.formValues = l),
|
|
450
451
|
type: "form",
|
|
451
452
|
actions: !1,
|
|
452
453
|
plugins: [e.stepPlugin],
|
|
453
454
|
class: "d-flex",
|
|
454
|
-
onSubmit: t[
|
|
455
|
+
onSubmit: t[12] || (t[12] = N(() => {
|
|
455
456
|
}, ["prevent"]))
|
|
456
457
|
}, {
|
|
457
|
-
default:
|
|
458
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (
|
|
459
|
-
|
|
458
|
+
default: z(() => [
|
|
459
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (s(), r("div", Ee, [
|
|
460
|
+
o("div", je, [
|
|
460
461
|
h(C, {
|
|
461
462
|
"button-text": "Übersicht",
|
|
462
463
|
"icon-start": "CaretLeft",
|
|
463
464
|
"icon-name": "caretLeft",
|
|
464
465
|
onClick: e.gotToHome
|
|
465
466
|
}, null, 8, ["onClick"]),
|
|
466
|
-
|
|
467
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (
|
|
467
|
+
o("div", null, [
|
|
468
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), r("div", ze, [
|
|
468
469
|
h(m, {
|
|
469
470
|
"button-text": "Veröffentlichung aufheben",
|
|
470
471
|
size: "large",
|
|
@@ -477,7 +478,7 @@ function Ut(e, t, i, n, a, v) {
|
|
|
477
478
|
"icon-end": "Out",
|
|
478
479
|
onClick: t[1] || (t[1] = (l) => e.handlePublishedRoute())
|
|
479
480
|
})
|
|
480
|
-
])) : (
|
|
481
|
+
])) : (s(), r("div", Ue, [
|
|
481
482
|
h(m, {
|
|
482
483
|
"button-text": "Veröffentlichen",
|
|
483
484
|
size: "large",
|
|
@@ -486,11 +487,11 @@ function Ut(e, t, i, n, a, v) {
|
|
|
486
487
|
]))
|
|
487
488
|
])
|
|
488
489
|
])
|
|
489
|
-
])) : (
|
|
490
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (
|
|
491
|
-
h(
|
|
492
|
-
|
|
493
|
-
(
|
|
490
|
+
])) : (s(), r("div", He, [
|
|
491
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (s(), r("div", Me, [
|
|
492
|
+
h(_),
|
|
493
|
+
o("ul", Re, [
|
|
494
|
+
(s(!0), r(V, null, k(e.steps, (l, u, d) => U((s(), r("li", {
|
|
494
495
|
key: l,
|
|
495
496
|
class: y(["dpiV3_step", {
|
|
496
497
|
dpiV3_activeItem: e.activeStep === u,
|
|
@@ -500,77 +501,77 @@ function Ut(e, t, i, n, a, v) {
|
|
|
500
501
|
"data-step-active": e.activeStep === u,
|
|
501
502
|
"data-step-valid": l.valid && l.errorCount === 0
|
|
502
503
|
}, [
|
|
503
|
-
|
|
504
|
-
|
|
504
|
+
o("div", We, [
|
|
505
|
+
o("div", {
|
|
505
506
|
class: y(["firstRowWrapper", {
|
|
506
507
|
dpiV3_activeStepName: u === e.activeStep,
|
|
507
508
|
formerlyVisitedStep: e.stepCounter > d,
|
|
508
509
|
"copy-small-regular": e.stepCounter > d
|
|
509
510
|
}])
|
|
510
511
|
}, [
|
|
511
|
-
e.activeStep === u && d < 5 ? (
|
|
512
|
+
e.activeStep === u && d < 5 ? (s(), r("img", {
|
|
512
513
|
key: 0,
|
|
513
514
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
514
515
|
src: e.selectedImages[d - 1],
|
|
515
516
|
alt: "Selected Icon"
|
|
516
517
|
}, null, 8, qe)) : p("", !0),
|
|
517
|
-
e.activeStep === u && d === 5 ? (
|
|
518
|
+
e.activeStep === u && d === 5 ? (s(), S(T, {
|
|
518
519
|
key: 1,
|
|
519
520
|
size: 28,
|
|
520
521
|
color: "#009FE3",
|
|
521
522
|
weight: "fill"
|
|
522
523
|
})) : p("", !0),
|
|
523
|
-
d < e.stepCounter ? (
|
|
524
|
+
d < e.stepCounter ? (s(), S($, {
|
|
524
525
|
key: 2,
|
|
525
526
|
size: 28,
|
|
526
527
|
color: "#70CC44",
|
|
527
528
|
weight: "fill"
|
|
528
529
|
})) : p("", !0),
|
|
529
|
-
d > e.stepCounter ? (
|
|
530
|
+
d > e.stepCounter ? (s(), r("img", {
|
|
530
531
|
key: 3,
|
|
531
532
|
class: "dpiV3_circle dpiV3_stepCircle",
|
|
532
533
|
src: e.images[d - 1],
|
|
533
534
|
alt: "Selected Icon"
|
|
534
535
|
}, null, 8, Ke)) : p("", !0),
|
|
535
|
-
e.checkStepValidity(u) ? (
|
|
536
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
536
537
|
key: 4,
|
|
537
538
|
class: "dpiV3_step--errors",
|
|
538
539
|
textContent: c(l.errorCount + l.blockingCount)
|
|
539
|
-
}, null, 8,
|
|
540
|
-
|
|
540
|
+
}, null, 8, Ze)) : p("", !0),
|
|
541
|
+
o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
541
542
|
], 2),
|
|
542
|
-
|
|
543
|
-
d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (
|
|
544
|
-
d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (
|
|
545
|
-
e.activeStep === u ? (
|
|
546
|
-
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 }, k(Object.keys(
|
|
547
548
|
e.subSteps[d]
|
|
548
|
-
), (
|
|
549
|
-
|
|
550
|
-
e.substepCounter > f ? (
|
|
549
|
+
), (b, f) => (s(), r("div", Ne, [
|
|
550
|
+
o("div", xe, [
|
|
551
|
+
e.substepCounter > f ? (s(), S($, {
|
|
551
552
|
key: 0,
|
|
552
553
|
size: 20,
|
|
553
554
|
color: "#009FE3"
|
|
554
|
-
})) : (
|
|
555
|
+
})) : (s(), r("img", {
|
|
555
556
|
key: 1,
|
|
556
557
|
src: e.getCircles(f),
|
|
557
558
|
alt: "circle"
|
|
558
559
|
}, null, 8, et)),
|
|
559
|
-
f != Object.keys(e.subSteps[d]).length - 1 ? (
|
|
560
|
+
f != Object.keys(e.subSteps[d]).length - 1 ? (s(), r("div", {
|
|
560
561
|
key: 2,
|
|
561
562
|
class: y(["dpiV3_seperatorHorizontalStepperInner", {
|
|
562
563
|
dpiV3_seperatorHorizontalStepperInnerVisited: e.substepCounter > f
|
|
563
564
|
}])
|
|
564
565
|
}, null, 2)) : p("", !0)
|
|
565
566
|
]),
|
|
566
|
-
|
|
567
|
-
|
|
567
|
+
o("div", tt, [
|
|
568
|
+
o("span", {
|
|
568
569
|
class: y(["large-regular dpiV3_substepText", {
|
|
569
|
-
dpiV3_activeStepDesc:
|
|
570
|
+
dpiV3_activeStepDesc: b === e.activeSubStep,
|
|
570
571
|
formerlyVisitedStep: e.substepCounter > f
|
|
571
572
|
}])
|
|
572
573
|
}, c(e.$t(
|
|
573
|
-
`message.dataupload.steps.${
|
|
574
|
+
`message.dataupload.steps.${b.replace(
|
|
574
575
|
/_\d+$/,
|
|
575
576
|
""
|
|
576
577
|
)}`
|
|
@@ -583,21 +584,21 @@ function Ut(e, t, i, n, a, v) {
|
|
|
583
584
|
], 10, Be)), [
|
|
584
585
|
[H, u !== "Landing" && u !== "Additionals"]
|
|
585
586
|
])), 128)),
|
|
586
|
-
e.activeStep === "Overview" ? (
|
|
587
|
-
|
|
587
|
+
e.activeStep === "Overview" ? (s(), r("li", it, t[15] || (t[15] = [
|
|
588
|
+
o("div", { class: "dpiV3_circle dpiV3_stepCircle" }, null, -1)
|
|
588
589
|
]))) : p("", !0)
|
|
589
590
|
])
|
|
590
|
-
])) : (
|
|
591
|
-
|
|
592
|
-
h(
|
|
591
|
+
])) : (s(), r("div", st, [
|
|
592
|
+
o("div", ot, [
|
|
593
|
+
h(_)
|
|
593
594
|
]),
|
|
594
|
-
|
|
595
|
-
h(
|
|
595
|
+
o("div", at, [
|
|
596
|
+
h(P, { "illustration-name": "start" })
|
|
596
597
|
])
|
|
597
598
|
]))
|
|
598
599
|
])),
|
|
599
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (
|
|
600
|
-
(
|
|
600
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (s(), r("ul", rt, [
|
|
601
|
+
(s(!0), r(V, null, k(e.steps, (l, u, d) => (s(), r("li", {
|
|
601
602
|
key: l,
|
|
602
603
|
class: y(["step", {
|
|
603
604
|
activeItem: e.activeStep === u,
|
|
@@ -606,38 +607,38 @@ function Ut(e, t, i, n, a, v) {
|
|
|
606
607
|
}]),
|
|
607
608
|
"data-step-active": e.activeStep === u,
|
|
608
609
|
"data-step-valid": l.valid && l.errorCount === 0,
|
|
609
|
-
onClick: (
|
|
610
|
+
onClick: (b) => {
|
|
610
611
|
e.activeStep = u, e.update(), e.scrollToTop();
|
|
611
612
|
}
|
|
612
613
|
}, [
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
e.checkStepValidity(u) ? (
|
|
614
|
+
o("div", lt, [
|
|
615
|
+
o("div", dt, c(d + 1), 1),
|
|
616
|
+
e.checkStepValidity(u) ? (s(), r("span", {
|
|
616
617
|
key: 0,
|
|
617
618
|
class: "step--errors",
|
|
618
619
|
textContent: c(l.errorCount + l.blockingCount)
|
|
619
620
|
}, null, 8, pt)) : p("", !0),
|
|
620
621
|
M(c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
|
|
621
622
|
]),
|
|
622
|
-
d != Object.keys(e.steps).length ? (
|
|
623
|
+
d != Object.keys(e.steps).length ? (s(), r("div", ut)) : p("", !0)
|
|
623
624
|
], 10, nt))), 128)),
|
|
624
|
-
e.activeStep === "Overview" ? (
|
|
625
|
-
|
|
625
|
+
e.activeStep === "Overview" ? (s(), r("li", ct, t[16] || (t[16] = [
|
|
626
|
+
o("div", { class: "circle stepCircle" }, null, -1)
|
|
626
627
|
]))) : p("", !0)
|
|
627
628
|
])) : p("", !0),
|
|
628
|
-
(
|
|
629
|
+
(s(!0), r(V, null, k(e.getNavSteps(
|
|
629
630
|
e.$env.content.dataProviderInterface.specification
|
|
630
|
-
)[e.property], (l, u) => (
|
|
631
|
+
)[e.property], (l, u) => (s(), S(A, {
|
|
631
632
|
key: u,
|
|
632
633
|
name: l
|
|
633
634
|
}, {
|
|
634
|
-
default:
|
|
635
|
-
(
|
|
635
|
+
default: z(() => [
|
|
636
|
+
(s(!0), r(V, null, k(Object.keys(
|
|
636
637
|
e.getSchema(e.property).value[l]
|
|
637
|
-
).length, (d,
|
|
638
|
-
l !== "Distributions" && l !== "Additionals" ? (
|
|
638
|
+
).length, (d, b) => U((s(), r("div", ht, [
|
|
639
|
+
l !== "Distributions" && l !== "Additionals" ? (s(), S(D, {
|
|
639
640
|
key: 0,
|
|
640
|
-
schema: e.getSchema(e.property).value[l][
|
|
641
|
+
schema: e.getSchema(e.property).value[l][b],
|
|
641
642
|
library: e.library,
|
|
642
643
|
"final-values": e.formValues,
|
|
643
644
|
onHandleNav: () => {
|
|
@@ -647,11 +648,11 @@ function Ut(e, t, i, n, a, v) {
|
|
|
647
648
|
[
|
|
648
649
|
H,
|
|
649
650
|
Object.values(
|
|
650
|
-
e.getSchema(e.property).value[l][
|
|
651
|
+
e.getSchema(e.property).value[l][b]
|
|
651
652
|
)[0] === e.activeSubStep.replace(/_\d+$/, "") || l === "Landing"
|
|
652
653
|
]
|
|
653
654
|
])), 256)),
|
|
654
|
-
e.activeStep === "Landing" ? (
|
|
655
|
+
e.activeStep === "Landing" ? (s(), r("div", vt, [
|
|
655
656
|
h(m, {
|
|
656
657
|
"button-text": "Abbrechen",
|
|
657
658
|
size: "large",
|
|
@@ -666,22 +667,29 @@ function Ut(e, t, i, n, a, v) {
|
|
|
666
667
|
onClick: t[4] || (t[4] = (d) => e.navTrigger("next"))
|
|
667
668
|
})
|
|
668
669
|
])) : p("", !0),
|
|
669
|
-
e.activeStep === "ReviewAndPublish" ? (
|
|
670
|
-
|
|
671
|
-
|
|
670
|
+
e.activeStep === "ReviewAndPublish" ? (s(), r("div", mt, [
|
|
671
|
+
o("div", gt, [
|
|
672
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (s(), S(m, {
|
|
673
|
+
key: 0,
|
|
674
|
+
"button-text": "Veröffentlichung aufheben",
|
|
675
|
+
size: "large",
|
|
676
|
+
variant: "secondary",
|
|
677
|
+
onClick: t[5] || (t[5] = (d) => e.navTrigger("depublish"))
|
|
678
|
+
})) : (s(), S(m, {
|
|
679
|
+
key: 1,
|
|
672
680
|
"button-text": "Als Entwurf speichern",
|
|
673
681
|
size: "large",
|
|
674
682
|
variant: "secondary",
|
|
675
|
-
onClick: t[
|
|
676
|
-
}),
|
|
683
|
+
onClick: t[6] || (t[6] = (d) => e.navTrigger("draft"))
|
|
684
|
+
})),
|
|
677
685
|
h(m, {
|
|
678
686
|
"button-text": "Veröffentlichen",
|
|
679
687
|
size: "large",
|
|
680
|
-
onClick: t[
|
|
688
|
+
onClick: t[7] || (t[7] = (d) => e.formValues[e.activeStep][e.activeSubStep][0].isValid === !0 ? e.navTrigger("publish") : e.formValues[e.activeStep][e.activeSubStep][0].isValid = !1)
|
|
681
689
|
})
|
|
682
690
|
])
|
|
683
691
|
])) : p("", !0),
|
|
684
|
-
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (
|
|
692
|
+
e.activeStep !== "Landing" && e.activeStep !== "ReviewAndPublish" ? (s(), r("div", {
|
|
685
693
|
key: 2,
|
|
686
694
|
class: y(["dpiV3_CTA", {
|
|
687
695
|
dpiV3_activeInfobox: e.activeSubStep.includes("hvdPage")
|
|
@@ -691,89 +699,89 @@ function Ut(e, t, i, n, a, v) {
|
|
|
691
699
|
"button-text": "Abbrechen",
|
|
692
700
|
size: "large",
|
|
693
701
|
variant: "tertiary",
|
|
694
|
-
onClick: t[
|
|
702
|
+
onClick: t[8] || (t[8] = (d) => e.activeSimpleModal = !0)
|
|
695
703
|
}),
|
|
696
|
-
|
|
697
|
-
e.activeStep !== "Landing" ? (
|
|
704
|
+
o("div", ft, [
|
|
705
|
+
e.activeStep !== "Landing" ? (s(), S(m, {
|
|
698
706
|
key: 0,
|
|
699
707
|
"icon-start": "CaretLeft",
|
|
700
708
|
"button-text": "Zurück",
|
|
701
709
|
size: "large",
|
|
702
710
|
variant: "secondary",
|
|
703
|
-
onClick: t[
|
|
711
|
+
onClick: t[9] || (t[9] = (d) => e.navTrigger("prev"))
|
|
704
712
|
})) : p("", !0),
|
|
705
713
|
h(m, {
|
|
706
714
|
"icon-end": "CaretRight",
|
|
707
715
|
"button-text": "Weiter",
|
|
708
716
|
size: "large",
|
|
709
|
-
onClick: t[
|
|
717
|
+
onClick: t[10] || (t[10] = (d) => e.validateStep())
|
|
710
718
|
})
|
|
711
719
|
])
|
|
712
720
|
], 2)) : p("", !0),
|
|
713
|
-
e.activeSubStep.includes("hvdPage") ? (
|
|
714
|
-
|
|
715
|
-
|
|
721
|
+
e.activeSubStep.includes("hvdPage") ? (s(), r("div", St, [
|
|
722
|
+
o("div", bt, [
|
|
723
|
+
o("div", Ct, [
|
|
716
724
|
h(w, {
|
|
717
725
|
size: 32,
|
|
718
726
|
color: "#009fe3"
|
|
719
727
|
}),
|
|
720
|
-
|
|
728
|
+
o("div", yt, c(e.$t("message.dataupload.datasets.hvdPage.tips-hvd")), 1)
|
|
721
729
|
]),
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
730
|
+
o("div", Vt, [
|
|
731
|
+
o("div", kt, c(e.$t("message.dataupload.datasets.hvdPage.tips-text")), 1),
|
|
732
|
+
o("div", _t, [
|
|
733
|
+
o("div", $t, " 1. " + c(e.$t(
|
|
726
734
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
727
735
|
)), 1),
|
|
728
|
-
|
|
729
|
-
|
|
736
|
+
o("ul", It, [
|
|
737
|
+
o("li", null, c(e.$t(
|
|
730
738
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
731
739
|
)), 1),
|
|
732
|
-
|
|
740
|
+
o("li", null, c(e.$t(
|
|
733
741
|
"message.dataupload.datasets.hvdPage.hvd-category-2"
|
|
734
742
|
)), 1),
|
|
735
|
-
|
|
743
|
+
o("li", null, c(e.$t(
|
|
736
744
|
"message.dataupload.datasets.hvdPage.hvd-category-3"
|
|
737
745
|
)), 1),
|
|
738
|
-
|
|
746
|
+
o("li", null, c(e.$t(
|
|
739
747
|
"message.dataupload.datasets.hvdPage.hvd-category-4"
|
|
740
748
|
)), 1),
|
|
741
|
-
|
|
749
|
+
o("li", null, c(e.$t(
|
|
742
750
|
"message.dataupload.datasets.hvdPage.hvd-category-5"
|
|
743
751
|
)), 1),
|
|
744
|
-
|
|
752
|
+
o("li", null, c(e.$t(
|
|
745
753
|
"message.dataupload.datasets.hvdPage.hvd-category-6"
|
|
746
754
|
)), 1)
|
|
747
755
|
])
|
|
748
756
|
]),
|
|
749
|
-
|
|
750
|
-
|
|
757
|
+
o("div", Tt, [
|
|
758
|
+
o("div", Pt, " 2. " + c(e.$t(
|
|
751
759
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
752
760
|
)), 1),
|
|
753
|
-
|
|
761
|
+
o("p", Dt, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
754
762
|
]),
|
|
755
|
-
|
|
756
|
-
|
|
763
|
+
o("div", wt, [
|
|
764
|
+
o("div", Ft, " 3. " + c(e.$t(
|
|
757
765
|
"message.dataupload.datasets.hvdPage.tips-question-3"
|
|
758
766
|
)), 1),
|
|
759
|
-
|
|
767
|
+
o("p", At, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-3")), 1)
|
|
760
768
|
]),
|
|
761
|
-
|
|
762
|
-
|
|
769
|
+
o("div", Lt, [
|
|
770
|
+
o("div", Ot, " 4. " + c(e.$t(
|
|
763
771
|
"message.dataupload.datasets.hvdPage.tips-question-4"
|
|
764
772
|
)), 1),
|
|
765
|
-
|
|
773
|
+
o("p", Et, c(e.$t("message.dataupload.datasets.hvdPage.tips-example-4")), 1)
|
|
766
774
|
])
|
|
767
775
|
])
|
|
768
776
|
])
|
|
769
777
|
])) : p("", !0),
|
|
770
|
-
l === "Distributions" ? (
|
|
778
|
+
l === "Distributions" ? (s(), S(F, {
|
|
771
779
|
key: 4,
|
|
772
780
|
schema: e.getSchema("distributions"),
|
|
773
781
|
values: e.formValues
|
|
774
782
|
}, null, 8, ["schema", "values"])) : p("", !0),
|
|
775
|
-
l === "Mandatory" ? (
|
|
776
|
-
t[
|
|
783
|
+
l === "Mandatory" ? (s(), r("p", jt, [
|
|
784
|
+
t[17] || (t[17] = o("b", null, "*", -1)),
|
|
777
785
|
M(" " + c(e.$t("message.dataupload.info.mandatory")), 1)
|
|
778
786
|
])) : p("", !0)
|
|
779
787
|
]),
|
|
@@ -782,20 +790,20 @@ function Ut(e, t, i, n, a, v) {
|
|
|
782
790
|
]),
|
|
783
791
|
_: 1
|
|
784
792
|
}, 8, ["modelValue", "plugins"]),
|
|
785
|
-
e.activeSimpleModal ? (
|
|
793
|
+
e.activeSimpleModal ? (s(), S(O, {
|
|
786
794
|
key: 0,
|
|
787
795
|
buttons: e.modalSimpleConf.button,
|
|
788
796
|
"header-text": e.modalSimpleConf.header,
|
|
789
797
|
text: e.modalSimpleConf.text,
|
|
790
798
|
action: e.modalSimpleConf.action,
|
|
791
|
-
onClose: t[
|
|
792
|
-
onActionHandling: t[
|
|
799
|
+
onClose: t[13] || (t[13] = (l) => e.activeSimpleModal = !1),
|
|
800
|
+
onActionHandling: t[14] || (t[14] = (l) => e.gotToHome())
|
|
793
801
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
794
802
|
])
|
|
795
803
|
], 512)) : p("", !0)
|
|
796
804
|
]);
|
|
797
805
|
}
|
|
798
|
-
const Ii = /* @__PURE__ */
|
|
806
|
+
const Ii = /* @__PURE__ */ Te(Fe, [["render", zt]]);
|
|
799
807
|
export {
|
|
800
808
|
Ii as default
|
|
801
809
|
};
|