@piveau/dpi 0.2.0-alpha.1 → 0.2.0-alpha.2
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/BasicInfosStep/ProjectDescriptionStep.vue.js +10 -11
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +21 -15
- package/dist/data-provider-interface/views/InputPageProject.vue.js +263 -263
- package/dist/stories/components/PartnerCard.vue.js +2 -2
- package/dist/stories/components/PartnerCard.vue2.js +15 -15
- package/package.json +1 -1
|
@@ -4,40 +4,40 @@ import "@formkit/vue";
|
|
|
4
4
|
import "@phosphor-icons/vue";
|
|
5
5
|
import { useWindowScroll as de } from "@vueuse/core";
|
|
6
6
|
import "jquery";
|
|
7
|
-
import { has as
|
|
8
|
-
import { defineComponent as ue, resolveComponent as u, createElementBlock as p, openBlock as d, createCommentVNode as
|
|
9
|
-
import { useI18n as
|
|
7
|
+
import { has as A, isNil as J } from "lodash-es";
|
|
8
|
+
import { defineComponent as ue, resolveComponent as u, createElementBlock as p, openBlock as d, createCommentVNode as h, createElementVNode as s, createVNode as t, createBlock as Q, withModifiers as pe, withCtx as o, Fragment as X, renderList as Y, normalizeClass as me, createTextVNode as Z, toDisplayString as _, ref as D, computed as N, markRaw as ce, toRef as fe, watch as ve, nextTick as ge } from "vue";
|
|
9
|
+
import { useI18n as he } from "vue-i18n";
|
|
10
10
|
import { mapActions as x, mapGetters as ee } from "vuex";
|
|
11
11
|
import Se from "../../stories/components/DemoStep.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { useFormValues as
|
|
17
|
-
import { useDpiStepper as
|
|
18
|
-
import
|
|
19
|
-
import { eventBus as
|
|
20
|
-
import
|
|
12
|
+
import De from "../../stories/components/ReviewStepDemo.vue.js";
|
|
13
|
+
import be from "../components/InputPageStep.vue.js";
|
|
14
|
+
import ke from "../components/ProgressSteps.vue.js";
|
|
15
|
+
import we from "../components/StepActionsSection.vue.js";
|
|
16
|
+
import { useFormValues as Ve } from "../composables/useDpiFormValues.js";
|
|
17
|
+
import { useDpiStepper as _e } from "../composables/useDpiStepper.js";
|
|
18
|
+
import Ie from "../config/dcatapdeHappyFlow/converter.js";
|
|
19
|
+
import { eventBus as ye } from "../HappyFlowComponents/services/eventBus.js";
|
|
20
|
+
import Ce from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
|
|
21
21
|
import Te from "../HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
|
|
22
22
|
import Pe from "../HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
|
|
23
23
|
import $e from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
24
|
+
import Ae from "../HappyFlowComponents/ui/Card.vue.js";
|
|
25
|
+
import Fe from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
26
|
+
import Oe from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
27
|
+
import He from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
|
|
28
|
+
import Me from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
29
|
+
import je from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
30
|
+
import ze from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
31
|
+
import Be from "../HappyFlowComponents/ui/WipStep.vue.js";
|
|
32
|
+
import Le from "./OverviewPage.vue.js";
|
|
33
33
|
/* empty css */
|
|
34
34
|
/* empty css */
|
|
35
35
|
/* empty css */
|
|
36
|
-
import
|
|
37
|
-
import { useDpiContext as
|
|
38
|
-
import { useEditModeInfo as
|
|
39
|
-
import { useFormSchema as
|
|
40
|
-
const
|
|
36
|
+
import Ge from "../../_virtual/_plugin-vue_export-helper.js";
|
|
37
|
+
import { useDpiContext as Ne } from "../composables/useDpiContext.js";
|
|
38
|
+
import { useEditModeInfo as Ue } from "../composables/useDpiEditMode.js";
|
|
39
|
+
import { useFormSchema as Re } from "../composables/useFormSchema.js";
|
|
40
|
+
const Ee = ue({
|
|
41
41
|
props: {
|
|
42
42
|
property: {
|
|
43
43
|
required: !0,
|
|
@@ -59,27 +59,27 @@ const Ge = ue({
|
|
|
59
59
|
};
|
|
60
60
|
},
|
|
61
61
|
components: {
|
|
62
|
-
InputPageStep:
|
|
62
|
+
InputPageStep: be,
|
|
63
63
|
// DistributionInputPage,
|
|
64
|
-
LogoV3:
|
|
64
|
+
LogoV3: Me,
|
|
65
65
|
ButtonV3: $e,
|
|
66
|
-
TextButtonSmall:
|
|
67
|
-
Illustration:
|
|
66
|
+
TextButtonSmall: ze,
|
|
67
|
+
Illustration: Oe,
|
|
68
68
|
// PhLightbulb,
|
|
69
69
|
// PhCheckCircle,
|
|
70
|
-
ModalSimpleV3:
|
|
70
|
+
ModalSimpleV3: je,
|
|
71
71
|
// DemoStepper,
|
|
72
72
|
DemoStep: Se,
|
|
73
|
-
ProgressSteps:
|
|
74
|
-
ReviewStepDemo:
|
|
75
|
-
StepActionsSection:
|
|
73
|
+
ProgressSteps: ke,
|
|
74
|
+
ReviewStepDemo: De,
|
|
75
|
+
StepActionsSection: we,
|
|
76
76
|
ProjectNameStep: Te,
|
|
77
|
-
ProjectDescriptionStep:
|
|
77
|
+
ProjectDescriptionStep: Ce,
|
|
78
78
|
ProjectOrganisationStep: Pe,
|
|
79
|
-
Card:
|
|
80
|
-
Listbox:
|
|
81
|
-
DpiModalBase:
|
|
82
|
-
WipStep:
|
|
79
|
+
Card: Ae,
|
|
80
|
+
Listbox: He,
|
|
81
|
+
DpiModalBase: Fe,
|
|
82
|
+
WipStep: Be
|
|
83
83
|
},
|
|
84
84
|
computed: {
|
|
85
85
|
...ee("auth", [
|
|
@@ -90,7 +90,7 @@ const Ge = ue({
|
|
|
90
90
|
...ee("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
|
|
91
91
|
getTitleStep() {
|
|
92
92
|
return Object.keys(this.formValues).filter(
|
|
93
|
-
(e) =>
|
|
93
|
+
(e) => A(this.formValues[e], "dct:title")
|
|
94
94
|
)[0];
|
|
95
95
|
},
|
|
96
96
|
createIDFromTitle() {
|
|
@@ -101,7 +101,7 @@ const Ge = ue({
|
|
|
101
101
|
getFirstTitleFromForm() {
|
|
102
102
|
try {
|
|
103
103
|
const e = this.formValues[this.getTitleStep];
|
|
104
|
-
return
|
|
104
|
+
return A(e, "dct:title") && e["dct:title"].length > 0 && A(e["dct:title"][0], "@value") && !J(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
105
105
|
} catch {
|
|
106
106
|
}
|
|
107
107
|
},
|
|
@@ -124,20 +124,20 @@ const Ge = ue({
|
|
|
124
124
|
this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(q(this.activeStep).value)[0];
|
|
125
125
|
},
|
|
126
126
|
handleDistributionsValidation(e) {
|
|
127
|
-
|
|
127
|
+
ye.emit("nextClicked", e);
|
|
128
128
|
},
|
|
129
129
|
gotToHome() {
|
|
130
130
|
window.location.href = this.$router.resolve({
|
|
131
131
|
name: "DPI-Home-HappyFlow"
|
|
132
132
|
}).href;
|
|
133
133
|
},
|
|
134
|
-
async dispatchDataToDPI(e,
|
|
135
|
-
var
|
|
136
|
-
console.log("body:", e,
|
|
134
|
+
async dispatchDataToDPI(e, n, m, S) {
|
|
135
|
+
var V, f;
|
|
136
|
+
console.log("body:", e, n, "params:", m, S);
|
|
137
137
|
try {
|
|
138
|
-
S === "publish" && (m.token = this.getUserData.rtpToken, console.log(m.token), m.url = `${this.$env.api.hubUrl}catalogues/${m.catalog}/datasets/origin?originalId=${m.id}`, await this.$store.dispatch(
|
|
139
|
-
} catch (
|
|
140
|
-
console.error(
|
|
138
|
+
S === "publish" && (m.token = this.getUserData.rtpToken, console.log(m.token), m.url = `${this.$env.api.hubUrl}catalogues/${m.catalog}/datasets/origin?originalId=${m.id}`, await this.$store.dispatch(n, m)), S === "draft" && await this.$store.dispatch(n, m), (V = this.$Progress) == null || V.finish(), this.clearAll();
|
|
139
|
+
} catch (b) {
|
|
140
|
+
console.error(b), (f = this.$Progress) == null || f.fail();
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
clearForm() {
|
|
@@ -148,21 +148,21 @@ const Ge = ue({
|
|
|
148
148
|
},
|
|
149
149
|
createDatasetID() {
|
|
150
150
|
const e = this.formValues[this.getTitleStep];
|
|
151
|
-
!
|
|
151
|
+
!A(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);
|
|
152
152
|
},
|
|
153
153
|
generateandTranslateSchema(e) {
|
|
154
|
-
for (let
|
|
154
|
+
for (let n = 0; n < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; n++)
|
|
155
155
|
this.createSchema({
|
|
156
156
|
property: e,
|
|
157
157
|
page: this.getNavSteps(
|
|
158
158
|
this.$env.content.dataProviderInterface.specification
|
|
159
|
-
)[e][
|
|
159
|
+
)[e][n],
|
|
160
160
|
specification: this.$env.content.dataProviderInterface.specification
|
|
161
161
|
}), this.translateSchema({
|
|
162
162
|
property: e,
|
|
163
163
|
page: this.getNavSteps(
|
|
164
164
|
this.$env.content.dataProviderInterface.specification
|
|
165
|
-
)[e][
|
|
165
|
+
)[e][n]
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
},
|
|
@@ -210,49 +210,49 @@ const Ge = ue({
|
|
|
210
210
|
// })
|
|
211
211
|
// },
|
|
212
212
|
setup() {
|
|
213
|
-
const e =
|
|
213
|
+
const e = Ne(), { isEditMode: n } = Ue(), {
|
|
214
214
|
steps: m,
|
|
215
215
|
stepList: S,
|
|
216
|
-
visitedSteps:
|
|
216
|
+
visitedSteps: V,
|
|
217
217
|
activeStep: f,
|
|
218
|
-
stepPlugin:
|
|
218
|
+
stepPlugin: b,
|
|
219
219
|
goToNextStep: v,
|
|
220
|
-
goToPreviousStep:
|
|
221
|
-
subSteps:
|
|
222
|
-
previousStep:
|
|
223
|
-
nextStep:
|
|
224
|
-
current:
|
|
225
|
-
isLast:
|
|
226
|
-
triggerValidationCurrentStep:
|
|
227
|
-
} =
|
|
220
|
+
goToPreviousStep: I,
|
|
221
|
+
subSteps: F,
|
|
222
|
+
previousStep: O,
|
|
223
|
+
nextStep: y,
|
|
224
|
+
current: k,
|
|
225
|
+
isLast: a,
|
|
226
|
+
triggerValidationCurrentStep: i
|
|
227
|
+
} = _e(), { formValues: C } = Ve(), { t: H, te: M } = he(), j = D(!1), T = D(!1), w = D([]), z = N(() => f.value ? q(f.value) : null), B = (l) => {
|
|
228
228
|
if (!l)
|
|
229
229
|
return;
|
|
230
230
|
const c = le(l);
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
w.value = [], c.forEach(($) => {
|
|
232
|
+
w.value = w.value.concat(
|
|
233
|
+
$.map((se) => se.value)
|
|
234
234
|
);
|
|
235
235
|
});
|
|
236
|
-
}, { translateSchema:
|
|
237
|
-
t:
|
|
238
|
-
te:
|
|
239
|
-
}),
|
|
236
|
+
}, { translateSchema: L, createSchema: r, getSchema: g } = Re({
|
|
237
|
+
t: H,
|
|
238
|
+
te: M
|
|
239
|
+
}), P = () => {
|
|
240
240
|
let { x: l, y: c } = de({ behavior: "smooth" });
|
|
241
241
|
c.value = 0;
|
|
242
|
-
},
|
|
243
|
-
|
|
244
|
-
const te = fe(m),
|
|
245
|
-
var
|
|
246
|
-
const c = (
|
|
242
|
+
}, U = ce({ OverviewPage: Le }), R = D("");
|
|
243
|
+
n.value && (f.value = "ReviewAndPublish", R.value = "reviewAndPublishPage");
|
|
244
|
+
const te = fe(m), G = (l) => {
|
|
245
|
+
var $;
|
|
246
|
+
const c = ($ = te.value) == null ? void 0 : $[l];
|
|
247
247
|
return c ? c.valid : !1;
|
|
248
|
-
},
|
|
248
|
+
}, E = D(!1), W = D(0);
|
|
249
249
|
ve(f, (l) => {
|
|
250
|
-
l === "review" && (
|
|
250
|
+
l === "review" && (E.value = !0, W.value++);
|
|
251
251
|
});
|
|
252
|
-
const
|
|
252
|
+
const ne = async () => {
|
|
253
253
|
try {
|
|
254
|
-
const l = "auth/createDataset", c = await
|
|
255
|
-
|
|
254
|
+
const l = "auth/createDataset", c = await Ie(
|
|
255
|
+
C.value,
|
|
256
256
|
e,
|
|
257
257
|
// We'll need to access getUserData somehow - for now using a placeholder
|
|
258
258
|
{},
|
|
@@ -267,52 +267,52 @@ const Ge = ue({
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
function K() {
|
|
270
|
-
|
|
270
|
+
G(k.value) && v();
|
|
271
271
|
}
|
|
272
|
-
async function
|
|
273
|
-
|
|
274
|
-
const l =
|
|
275
|
-
c &&
|
|
272
|
+
async function oe() {
|
|
273
|
+
i(), await ge();
|
|
274
|
+
const l = z.value, c = l ? !G(k.value) : !1;
|
|
275
|
+
c && B(l), T.value = c, a.value ? console.log("Form submitted", values.value) : K();
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const ae = N(() => S.value.map((l) => ({ id: l, name: l }))), ie = N({
|
|
278
278
|
get() {
|
|
279
|
-
return { id:
|
|
279
|
+
return { id: k.value, name: k.value };
|
|
280
280
|
},
|
|
281
281
|
set(l) {
|
|
282
282
|
goToStep(l.id);
|
|
283
283
|
}
|
|
284
|
-
}), re =
|
|
284
|
+
}), re = D(!1);
|
|
285
285
|
return {
|
|
286
286
|
steps: m,
|
|
287
|
-
visitedSteps:
|
|
287
|
+
visitedSteps: V,
|
|
288
288
|
activeStep: f,
|
|
289
|
-
activeSubStep:
|
|
290
|
-
subSteps:
|
|
291
|
-
previousStep:
|
|
289
|
+
activeSubStep: R,
|
|
290
|
+
subSteps: F,
|
|
291
|
+
previousStep: O,
|
|
292
292
|
stepList: S,
|
|
293
|
-
nextStep:
|
|
294
|
-
stepPlugin:
|
|
295
|
-
checkStepValidity:
|
|
293
|
+
nextStep: y,
|
|
294
|
+
stepPlugin: b,
|
|
295
|
+
checkStepValidity: G,
|
|
296
296
|
goToNextStep: v,
|
|
297
297
|
goToNextStepIfValid: K,
|
|
298
|
-
goToPreviousStep:
|
|
299
|
-
scrollToTop:
|
|
300
|
-
library:
|
|
301
|
-
isEditMode:
|
|
302
|
-
translateSchema:
|
|
298
|
+
goToPreviousStep: I,
|
|
299
|
+
scrollToTop: P,
|
|
300
|
+
library: U,
|
|
301
|
+
isEditMode: n,
|
|
302
|
+
translateSchema: L,
|
|
303
303
|
createSchema: r,
|
|
304
|
-
getSchema:
|
|
304
|
+
getSchema: g,
|
|
305
305
|
dpiContext: e,
|
|
306
|
-
formValues:
|
|
307
|
-
activeSimpleModal:
|
|
308
|
-
shouldRenderReviewStep:
|
|
306
|
+
formValues: C,
|
|
307
|
+
activeSimpleModal: j,
|
|
308
|
+
shouldRenderReviewStep: E,
|
|
309
309
|
renderViewStepKey: W,
|
|
310
|
-
handlePublish:
|
|
311
|
-
handleSubmit:
|
|
312
|
-
showErrorSummary:
|
|
313
|
-
validationMessages:
|
|
314
|
-
stepOptions:
|
|
315
|
-
stepSelect:
|
|
310
|
+
handlePublish: ne,
|
|
311
|
+
handleSubmit: oe,
|
|
312
|
+
showErrorSummary: T,
|
|
313
|
+
validationMessages: w,
|
|
314
|
+
stepOptions: ae,
|
|
315
|
+
stepSelect: ie,
|
|
316
316
|
hologramOpen: re
|
|
317
317
|
};
|
|
318
318
|
}
|
|
@@ -332,10 +332,10 @@ const Ge = ue({
|
|
|
332
332
|
}, et = {
|
|
333
333
|
key: 1,
|
|
334
334
|
class: "dpiV3_stepperLanding"
|
|
335
|
-
}, tt = { class: "dpiV3_bydata_logo_wordmark" },
|
|
335
|
+
}, tt = { class: "dpiV3_bydata_logo_wordmark" }, nt = { class: "dpiV3_Illustration-Start" }, ot = {
|
|
336
336
|
key: 2,
|
|
337
337
|
class: "steps"
|
|
338
|
-
},
|
|
338
|
+
}, at = ["data-step-active", "data-step-valid", "onClick"], it = { class: "stepBubbleWrap" }, rt = { class: "circle stepCircle" }, st = ["textContent"], lt = {
|
|
339
339
|
key: 0,
|
|
340
340
|
class: "seperatorHorizontalStepper"
|
|
341
341
|
}, dt = {
|
|
@@ -344,27 +344,27 @@ const Ge = ue({
|
|
|
344
344
|
}, ut = { class: "step-content" }, pt = { style: { margin: "1rem 2.5rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%" } }, mt = { style: {} }, ct = {
|
|
345
345
|
key: 0,
|
|
346
346
|
class: "dpiV3_Card_Tips--error dpiV3_Card_Tips"
|
|
347
|
-
}, ft = { class: "validation-errors" }, vt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } },
|
|
348
|
-
function
|
|
349
|
-
const
|
|
347
|
+
}, ft = { class: "validation-errors" }, vt = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, gt = { class: "dev-actions" };
|
|
348
|
+
function ht(e, n, m, S, V, f) {
|
|
349
|
+
const b = u("TextButtonSmall"), v = u("ButtonV3"), I = u("LogoV3"), F = u("ProgressSteps"), O = u("Illustration"), y = u("DemoStep"), k = u("DpiModalBase"), a = u("InputPageStep"), i = u("WipStep"), C = u("ProjectNameStep"), H = u("ProjectDescriptionStep"), M = u("ProjectOrganisationStep"), j = u("ReviewStepDemo"), T = u("StepActionsSection"), w = u("Listbox"), z = u("Card"), B = u("FormKit"), L = u("ModalSimpleV3");
|
|
350
350
|
return d(), p("div", We, [
|
|
351
351
|
e.isInput ? (d(), p("div", Ke, [
|
|
352
352
|
s("div", qe, [
|
|
353
|
-
t(
|
|
353
|
+
t(B, {
|
|
354
354
|
id: "dpiForm",
|
|
355
355
|
modelValue: e.formValues,
|
|
356
|
-
"onUpdate:modelValue":
|
|
356
|
+
"onUpdate:modelValue": n[5] || (n[5] = (r) => e.formValues = r),
|
|
357
357
|
type: "form",
|
|
358
358
|
actions: !1,
|
|
359
359
|
plugins: [e.stepPlugin],
|
|
360
360
|
class: "d-flex",
|
|
361
|
-
onSubmit:
|
|
361
|
+
onSubmit: n[6] || (n[6] = pe(() => {
|
|
362
362
|
}, ["prevent"]))
|
|
363
363
|
}, {
|
|
364
|
-
default:
|
|
364
|
+
default: o(() => [
|
|
365
365
|
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (d(), p("div", Je, [
|
|
366
366
|
s("div", Qe, [
|
|
367
|
-
t(
|
|
367
|
+
t(b, {
|
|
368
368
|
"button-text": "Übersicht",
|
|
369
369
|
"icon-start": "CaretLeft",
|
|
370
370
|
"icon-name": "caretLeft",
|
|
@@ -395,68 +395,68 @@ function gt(e, o, m, S, _, f) {
|
|
|
395
395
|
])
|
|
396
396
|
])) : (d(), p("div", Ze, [
|
|
397
397
|
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (d(), p("div", xe, [
|
|
398
|
-
t(
|
|
399
|
-
t(
|
|
398
|
+
t(I),
|
|
399
|
+
t(F, {
|
|
400
400
|
checked: e.visitedSteps,
|
|
401
|
-
"onUpdate:checked":
|
|
401
|
+
"onUpdate:checked": n[0] || (n[0] = (r) => e.visitedSteps = r),
|
|
402
402
|
current: e.activeStep,
|
|
403
|
-
"onUpdate:current":
|
|
403
|
+
"onUpdate:current": n[1] || (n[1] = (r) => e.activeStep = r),
|
|
404
404
|
steps: e.stepList || []
|
|
405
405
|
}, null, 8, ["checked", "current", "steps"])
|
|
406
406
|
])) : (d(), p("div", et, [
|
|
407
407
|
s("div", tt, [
|
|
408
|
-
t(
|
|
408
|
+
t(I)
|
|
409
409
|
]),
|
|
410
|
-
s("div",
|
|
411
|
-
t(
|
|
410
|
+
s("div", nt, [
|
|
411
|
+
t(O, { "illustration-name": "start" })
|
|
412
412
|
])
|
|
413
413
|
]))
|
|
414
414
|
])),
|
|
415
|
-
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (d(), p("ul",
|
|
416
|
-
(d(!0), p(X, null, Y(e.steps, (r,
|
|
415
|
+
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (d(), p("ul", ot, [
|
|
416
|
+
(d(!0), p(X, null, Y(e.steps, (r, g, P) => (d(), p("li", {
|
|
417
417
|
key: r,
|
|
418
418
|
class: me(["step", {
|
|
419
|
-
activeItem: e.activeStep ===
|
|
420
|
-
inactiveStep:
|
|
421
|
-
"has-errors": e.checkStepValidity(
|
|
419
|
+
activeItem: e.activeStep === g,
|
|
420
|
+
inactiveStep: g != e.activeStep,
|
|
421
|
+
"has-errors": e.checkStepValidity(g)
|
|
422
422
|
}]),
|
|
423
|
-
"data-step-active": e.activeStep ===
|
|
423
|
+
"data-step-active": e.activeStep === g,
|
|
424
424
|
"data-step-valid": r.valid && r.errorCount === 0,
|
|
425
|
-
onClick: (
|
|
426
|
-
e.activeStep =
|
|
425
|
+
onClick: (U) => {
|
|
426
|
+
e.activeStep = g, e.update(), e.scrollToTop();
|
|
427
427
|
}
|
|
428
428
|
}, [
|
|
429
|
-
s("div",
|
|
430
|
-
s("div", rt,
|
|
431
|
-
e.checkStepValidity(
|
|
429
|
+
s("div", it, [
|
|
430
|
+
s("div", rt, _(P + 1), 1),
|
|
431
|
+
e.checkStepValidity(g) ? (d(), p("span", {
|
|
432
432
|
key: 0,
|
|
433
433
|
class: "step--errors",
|
|
434
|
-
textContent:
|
|
435
|
-
}, null, 8, st)) :
|
|
436
|
-
Z(
|
|
434
|
+
textContent: _(r.errorCount + r.blockingCount)
|
|
435
|
+
}, null, 8, st)) : h("", !0),
|
|
436
|
+
Z(_(e.$t(`message.dataupload.steps.${g}Step`)), 1)
|
|
437
437
|
]),
|
|
438
|
-
|
|
439
|
-
], 10,
|
|
440
|
-
e.activeStep === "Overview" ? (d(), p("li", dt,
|
|
438
|
+
P != Object.keys(e.steps).length ? (d(), p("div", lt)) : h("", !0)
|
|
439
|
+
], 10, at))), 128)),
|
|
440
|
+
e.activeStep === "Overview" ? (d(), p("li", dt, n[9] || (n[9] = [
|
|
441
441
|
s("div", { class: "circle stepCircle" }, null, -1)
|
|
442
|
-
]))) :
|
|
443
|
-
])) :
|
|
442
|
+
]))) : h("", !0)
|
|
443
|
+
])) : h("", !0),
|
|
444
444
|
s("div", ut, [
|
|
445
445
|
s("details", pt, [
|
|
446
|
-
|
|
447
|
-
s("pre", mt,
|
|
446
|
+
n[10] || (n[10] = s("summary", null, "Form Values", -1)),
|
|
447
|
+
s("pre", mt, _(JSON.stringify(e.formValues, null, 2)), 1)
|
|
448
448
|
]),
|
|
449
449
|
s("div", null, [
|
|
450
|
-
t(
|
|
451
|
-
default:
|
|
452
|
-
t(
|
|
453
|
-
t(
|
|
450
|
+
t(a, { name: "Auffindbarkeit/Sichtbarkeit" }, {
|
|
451
|
+
default: o(() => [
|
|
452
|
+
t(y, { name: "Auffindbarkeit/Sichtbarkeit" }),
|
|
453
|
+
t(k, {
|
|
454
454
|
modelValue: e.hologramOpen,
|
|
455
|
-
"onUpdate:modelValue":
|
|
455
|
+
"onUpdate:modelValue": n[2] || (n[2] = (r) => e.hologramOpen = r)
|
|
456
456
|
}, {
|
|
457
|
-
default:
|
|
457
|
+
default: o(() => [
|
|
458
458
|
s("div", null, [
|
|
459
|
-
t(
|
|
459
|
+
t(y)
|
|
460
460
|
])
|
|
461
461
|
]),
|
|
462
462
|
_: 1
|
|
@@ -464,206 +464,206 @@ function gt(e, o, m, S, _, f) {
|
|
|
464
464
|
]),
|
|
465
465
|
_: 1
|
|
466
466
|
}),
|
|
467
|
-
t(
|
|
468
|
-
default:
|
|
469
|
-
t(
|
|
467
|
+
t(a, { name: "Auffindbarkeit/Kategorien" }, {
|
|
468
|
+
default: o(() => [
|
|
469
|
+
t(i, { name: "Auffindbarkeit/Kategorien" })
|
|
470
470
|
]),
|
|
471
471
|
_: 1
|
|
472
472
|
}),
|
|
473
|
-
t(
|
|
474
|
-
default:
|
|
475
|
-
t(
|
|
473
|
+
t(a, { name: "Auffindbarkeit/Anwendungsbereiche" }, {
|
|
474
|
+
default: o(() => [
|
|
475
|
+
t(i, { name: "Auffindbarkeit/Anwendungsbereiche" })
|
|
476
476
|
]),
|
|
477
477
|
_: 1
|
|
478
478
|
}),
|
|
479
|
-
t(
|
|
480
|
-
default:
|
|
481
|
-
t(
|
|
479
|
+
t(a, { name: "Grundlegende Informationen/Name" }, {
|
|
480
|
+
default: o(() => [
|
|
481
|
+
t(C)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}),
|
|
485
|
-
t(
|
|
486
|
-
default:
|
|
487
|
-
t(
|
|
485
|
+
t(a, { name: "Grundlegende Informationen/Beschreibung" }, {
|
|
486
|
+
default: o(() => [
|
|
487
|
+
t(H)
|
|
488
488
|
]),
|
|
489
489
|
_: 1
|
|
490
490
|
}),
|
|
491
|
-
t(
|
|
492
|
-
default:
|
|
493
|
-
t(
|
|
491
|
+
t(a, { name: "Grundlegende Informationen/Projektstatus" }, {
|
|
492
|
+
default: o(() => [
|
|
493
|
+
t(M)
|
|
494
494
|
]),
|
|
495
495
|
_: 1
|
|
496
496
|
}),
|
|
497
|
-
t(
|
|
498
|
-
default:
|
|
499
|
-
t(
|
|
497
|
+
t(a, { name: "Grundlegende Informationen/Organisation" }, {
|
|
498
|
+
default: o(() => [
|
|
499
|
+
t(i, { name: "Grundlegende Informationen/Organisation" })
|
|
500
500
|
]),
|
|
501
501
|
_: 1
|
|
502
502
|
}),
|
|
503
|
-
t(
|
|
504
|
-
default:
|
|
505
|
-
t(
|
|
503
|
+
t(a, { name: "Optionale Daten" }, {
|
|
504
|
+
default: o(() => [
|
|
505
|
+
t(i, { name: "Optionale Daten" })
|
|
506
506
|
]),
|
|
507
507
|
_: 1
|
|
508
508
|
}),
|
|
509
|
-
t(
|
|
510
|
-
default:
|
|
511
|
-
t(
|
|
509
|
+
t(a, { name: "Initiieren" }, {
|
|
510
|
+
default: o(() => [
|
|
511
|
+
t(i, { name: "Initiieren" })
|
|
512
512
|
]),
|
|
513
513
|
_: 1
|
|
514
514
|
}),
|
|
515
|
-
t(
|
|
516
|
-
default:
|
|
517
|
-
t(
|
|
515
|
+
t(a, { name: "Planen" }, {
|
|
516
|
+
default: o(() => [
|
|
517
|
+
t(i, { name: "Planen" })
|
|
518
518
|
]),
|
|
519
519
|
_: 1
|
|
520
520
|
}),
|
|
521
|
-
t(
|
|
522
|
-
default:
|
|
523
|
-
t(
|
|
521
|
+
t(a, { name: "Umsetzen" }, {
|
|
522
|
+
default: o(() => [
|
|
523
|
+
t(i, { name: "Umsetzen" })
|
|
524
524
|
]),
|
|
525
525
|
_: 1
|
|
526
526
|
}),
|
|
527
|
-
t(
|
|
528
|
-
default:
|
|
529
|
-
t(
|
|
527
|
+
t(a, { name: "Weiterdenken" }, {
|
|
528
|
+
default: o(() => [
|
|
529
|
+
t(i, { name: "Weiterdenken" })
|
|
530
530
|
]),
|
|
531
531
|
_: 1
|
|
532
532
|
}),
|
|
533
|
-
t(
|
|
534
|
-
default:
|
|
535
|
-
t(
|
|
533
|
+
t(a, { name: "Technische Prozessschritte" }, {
|
|
534
|
+
default: o(() => [
|
|
535
|
+
t(i, { name: "Technische Prozessschritte" })
|
|
536
536
|
]),
|
|
537
537
|
_: 1
|
|
538
538
|
}),
|
|
539
|
-
t(
|
|
540
|
-
default:
|
|
541
|
-
t(
|
|
539
|
+
t(a, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
|
|
540
|
+
default: o(() => [
|
|
541
|
+
t(i, { name: "1. Datenerfassung/Grundlegende Informationen" })
|
|
542
542
|
]),
|
|
543
543
|
_: 1
|
|
544
544
|
}),
|
|
545
|
-
t(
|
|
546
|
-
default:
|
|
547
|
-
t(
|
|
545
|
+
t(a, { name: "1. Datenerfassung/Software" }, {
|
|
546
|
+
default: o(() => [
|
|
547
|
+
t(i, { name: "1. Datenerfassung/Software" })
|
|
548
548
|
]),
|
|
549
549
|
_: 1
|
|
550
550
|
}),
|
|
551
|
-
t(
|
|
552
|
-
default:
|
|
553
|
-
t(
|
|
551
|
+
t(a, { name: "1. Datenerfassung/Datensätze" }, {
|
|
552
|
+
default: o(() => [
|
|
553
|
+
t(i, { name: "1. Datenerfassung/Datensätze" })
|
|
554
554
|
]),
|
|
555
555
|
_: 1
|
|
556
556
|
}),
|
|
557
|
-
t(
|
|
558
|
-
default:
|
|
559
|
-
t(
|
|
557
|
+
t(a, { name: "1. Datenerfassung/Hardware" }, {
|
|
558
|
+
default: o(() => [
|
|
559
|
+
t(i, { name: "1. Datenerfassung/Hardware" })
|
|
560
560
|
]),
|
|
561
561
|
_: 1
|
|
562
562
|
}),
|
|
563
|
-
t(
|
|
564
|
-
default:
|
|
565
|
-
t(
|
|
563
|
+
t(a, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
|
|
564
|
+
default: o(() => [
|
|
565
|
+
t(i, { name: "2. Datenverarbeitung/Grundlegende Informationen" })
|
|
566
566
|
]),
|
|
567
567
|
_: 1
|
|
568
568
|
}),
|
|
569
|
-
t(
|
|
570
|
-
default:
|
|
571
|
-
t(
|
|
569
|
+
t(a, { name: "2. Datenverarbeitung/Software" }, {
|
|
570
|
+
default: o(() => [
|
|
571
|
+
t(i, { name: "2. Datenverarbeitung/Software" })
|
|
572
572
|
]),
|
|
573
573
|
_: 1
|
|
574
574
|
}),
|
|
575
|
-
t(
|
|
576
|
-
default:
|
|
577
|
-
t(
|
|
575
|
+
t(a, { name: "2. Datenverarbeitung/Datensätze" }, {
|
|
576
|
+
default: o(() => [
|
|
577
|
+
t(i, { name: "2. Datenverarbeitung/Datensätze" })
|
|
578
578
|
]),
|
|
579
579
|
_: 1
|
|
580
580
|
}),
|
|
581
|
-
t(
|
|
582
|
-
default:
|
|
583
|
-
t(
|
|
581
|
+
t(a, { name: "2. Datenverarbeitung/Hardware" }, {
|
|
582
|
+
default: o(() => [
|
|
583
|
+
t(i, { name: "2. Datenverarbeitung/Hardware" })
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
}),
|
|
587
|
-
t(
|
|
588
|
-
default:
|
|
589
|
-
t(
|
|
587
|
+
t(a, { name: "3. Datensimulation/Grundlegende Informationen" }, {
|
|
588
|
+
default: o(() => [
|
|
589
|
+
t(i, { name: "3. Datensimulation/Grundlegende Informationen" })
|
|
590
590
|
]),
|
|
591
591
|
_: 1
|
|
592
592
|
}),
|
|
593
|
-
t(
|
|
594
|
-
default:
|
|
595
|
-
t(
|
|
593
|
+
t(a, { name: "3. Datensimulation/Software" }, {
|
|
594
|
+
default: o(() => [
|
|
595
|
+
t(i, { name: "3. Datensimulation/Software" })
|
|
596
596
|
]),
|
|
597
597
|
_: 1
|
|
598
598
|
}),
|
|
599
|
-
t(
|
|
600
|
-
default:
|
|
601
|
-
t(
|
|
599
|
+
t(a, { name: "3. Datensimulation/Datensätze" }, {
|
|
600
|
+
default: o(() => [
|
|
601
|
+
t(i, { name: "3. Datensimulation/Datensätze" })
|
|
602
602
|
]),
|
|
603
603
|
_: 1
|
|
604
604
|
}),
|
|
605
|
-
t(
|
|
606
|
-
default:
|
|
607
|
-
t(
|
|
605
|
+
t(a, { name: "3. Datensimulation/Hardware" }, {
|
|
606
|
+
default: o(() => [
|
|
607
|
+
t(i, { name: "3. Datensimulation/Hardware" })
|
|
608
608
|
]),
|
|
609
609
|
_: 1
|
|
610
610
|
}),
|
|
611
|
-
t(
|
|
612
|
-
default:
|
|
613
|
-
t(
|
|
611
|
+
t(a, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
|
|
612
|
+
default: o(() => [
|
|
613
|
+
t(i, { name: "4. Datenvisualisierung/Grundlegende Informationen" })
|
|
614
614
|
]),
|
|
615
615
|
_: 1
|
|
616
616
|
}),
|
|
617
|
-
t(
|
|
618
|
-
default:
|
|
619
|
-
t(
|
|
617
|
+
t(a, { name: "4. Datenvisualisierung/Software" }, {
|
|
618
|
+
default: o(() => [
|
|
619
|
+
t(i, { name: "4. Datenvisualisierung/Software" })
|
|
620
620
|
]),
|
|
621
621
|
_: 1
|
|
622
622
|
}),
|
|
623
|
-
t(
|
|
624
|
-
default:
|
|
625
|
-
t(
|
|
623
|
+
t(a, { name: "4. Datenvisualisierung/Datensätze" }, {
|
|
624
|
+
default: o(() => [
|
|
625
|
+
t(i, { name: "4. Datenvisualisierung/Datensätze" })
|
|
626
626
|
]),
|
|
627
627
|
_: 1
|
|
628
628
|
}),
|
|
629
|
-
t(
|
|
630
|
-
default:
|
|
631
|
-
t(
|
|
629
|
+
t(a, { name: "4. Datenvisualisierung/Hardware" }, {
|
|
630
|
+
default: o(() => [
|
|
631
|
+
t(i, { name: "4. Datenvisualisierung/Hardware" })
|
|
632
632
|
]),
|
|
633
633
|
_: 1
|
|
634
634
|
}),
|
|
635
|
-
t(
|
|
636
|
-
default:
|
|
637
|
-
e.shouldRenderReviewStep ? (d(), Q(
|
|
635
|
+
t(a, { name: "Vorschau" }, {
|
|
636
|
+
default: o(() => [
|
|
637
|
+
e.shouldRenderReviewStep ? (d(), Q(j, {
|
|
638
638
|
key: e.renderViewStepKey,
|
|
639
639
|
values: e.formValues
|
|
640
|
-
}, null, 8, ["values"])) :
|
|
641
|
-
t(
|
|
640
|
+
}, null, 8, ["values"])) : h("", !0),
|
|
641
|
+
t(T)
|
|
642
642
|
]),
|
|
643
643
|
_: 1
|
|
644
644
|
})
|
|
645
645
|
]),
|
|
646
|
-
|
|
646
|
+
n[13] || (n[13] = s("hr", null, null, -1)),
|
|
647
647
|
e.showErrorSummary && e.validationMessages.length ? (d(), p("div", ct, [
|
|
648
|
-
|
|
648
|
+
n[11] || (n[11] = s("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
|
|
649
649
|
s("ul", ft, [
|
|
650
|
-
(d(!0), p(X, null, Y(e.validationMessages, (r) => (d(), p("li", { key: r },
|
|
650
|
+
(d(!0), p(X, null, Y(e.validationMessages, (r) => (d(), p("li", { key: r }, _(r), 1))), 128))
|
|
651
651
|
])
|
|
652
|
-
])) :
|
|
653
|
-
|
|
652
|
+
])) : h("", !0),
|
|
653
|
+
n[14] || (n[14] = s("hr", null, null, -1)),
|
|
654
654
|
s("div", null, [
|
|
655
|
-
t(
|
|
656
|
-
title:
|
|
655
|
+
t(z, null, {
|
|
656
|
+
title: o(() => n[12] || (n[12] = [
|
|
657
657
|
Z(" dev view ", -1)
|
|
658
658
|
])),
|
|
659
|
-
default:
|
|
659
|
+
default: o(() => [
|
|
660
660
|
s("div", vt, [
|
|
661
|
-
s("div",
|
|
661
|
+
s("div", gt, [
|
|
662
662
|
t(v, {
|
|
663
663
|
type: "button",
|
|
664
664
|
variant: "secondary",
|
|
665
665
|
"button-text": "Open Hologram",
|
|
666
|
-
onClick:
|
|
666
|
+
onClick: n[3] || (n[3] = (r) => e.hologramOpen = !0)
|
|
667
667
|
}),
|
|
668
668
|
t(v, {
|
|
669
669
|
type: "button",
|
|
@@ -679,9 +679,9 @@ function gt(e, o, m, S, _, f) {
|
|
|
679
679
|
}, null, 8, ["onClick"])
|
|
680
680
|
]),
|
|
681
681
|
s("div", null, [
|
|
682
|
-
t(
|
|
682
|
+
t(w, {
|
|
683
683
|
modelValue: e.stepSelect,
|
|
684
|
-
"onUpdate:modelValue":
|
|
684
|
+
"onUpdate:modelValue": n[4] || (n[4] = (r) => e.stepSelect = r),
|
|
685
685
|
label: "Go to step",
|
|
686
686
|
options: e.stepOptions
|
|
687
687
|
}, null, 8, ["modelValue", "options"])
|
|
@@ -695,20 +695,20 @@ function gt(e, o, m, S, _, f) {
|
|
|
695
695
|
]),
|
|
696
696
|
_: 1
|
|
697
697
|
}, 8, ["modelValue", "plugins"]),
|
|
698
|
-
e.activeSimpleModal ? (d(), Q(
|
|
698
|
+
e.activeSimpleModal ? (d(), Q(L, {
|
|
699
699
|
key: 0,
|
|
700
700
|
buttons: e.modalSimpleConf.button,
|
|
701
701
|
"header-text": e.modalSimpleConf.header,
|
|
702
702
|
text: e.modalSimpleConf.text,
|
|
703
703
|
action: e.modalSimpleConf.action,
|
|
704
|
-
onClose:
|
|
705
|
-
onActionHandling:
|
|
706
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
704
|
+
onClose: n[7] || (n[7] = (r) => e.activeSimpleModal = !1),
|
|
705
|
+
onActionHandling: n[8] || (n[8] = (r) => e.gotToHome())
|
|
706
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : h("", !0)
|
|
707
707
|
])
|
|
708
|
-
], 512)) :
|
|
708
|
+
], 512)) : h("", !0)
|
|
709
709
|
]);
|
|
710
710
|
}
|
|
711
|
-
const
|
|
711
|
+
const on = /* @__PURE__ */ Ge(Ee, [["render", ht]]);
|
|
712
712
|
export {
|
|
713
|
-
|
|
713
|
+
on as default
|
|
714
714
|
};
|