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