@piveau/dpi 0.2.0-alpha.5 → 0.2.0-alpha.7
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/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +18 -21
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +49 -41
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +30 -24
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +63 -61
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +47 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +33 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +8 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +65 -37
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +21 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue.js +31 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +72 -62
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +38 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +76 -69
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +78 -91
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +27 -42
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +10 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +16 -16
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +13 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +934 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +75 -63
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +42 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +249 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/fixtures.js +287 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +281 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +244 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +330 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/shared.js +37 -0
- package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +114 -0
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +387 -328
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +6 -6
- package/package.json +5 -2
|
@@ -1,59 +1,62 @@
|
|
|
1
|
-
import { getNode as
|
|
2
|
-
import { getValidationMessages as
|
|
1
|
+
import { getNode as t1 } from "@formkit/core";
|
|
2
|
+
import { getValidationMessages as f1 } from "@formkit/validation";
|
|
3
3
|
import "@formkit/vue";
|
|
4
4
|
import "@phosphor-icons/vue";
|
|
5
|
-
import { useWindowScroll as
|
|
5
|
+
import { useWindowScroll as v1 } 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
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
7
|
+
import { has as $, isNil as o1 } from "lodash-es";
|
|
8
|
+
import { defineComponent as h1, resolveComponent as s, createElementBlock as d, openBlock as p, createCommentVNode as H, createElementVNode as n, createBlock as n1, withModifiers as S1, withCtx as i, createVNode as t, Fragment as i1, renderList as a1, normalizeClass as g1, createTextVNode as s1, toDisplayString as P, ref as v, computed as x, markRaw as V1, toRef as H1, watch as r1, nextTick as D1 } from "vue";
|
|
9
|
+
import { useI18n as b1 } from "vue-i18n";
|
|
10
|
+
import { mapActions as l1, mapGetters as p1 } from "vuex";
|
|
11
|
+
import w1 from "../../stories/components/DemoStep.vue.js";
|
|
12
|
+
import k1 from "../../stories/components/ReviewStepDemo.vue.js";
|
|
13
|
+
import y1 from "../components/dev-tools/ProjectDpiDevTools.vue.js";
|
|
14
|
+
import _1 from "../components/InputPageStep.vue.js";
|
|
15
|
+
import P1 from "../components/ProgressSteps.vue.js";
|
|
16
|
+
import M1 from "../components/StepActionsSection.vue.js";
|
|
17
|
+
import { encodeProject as I1 } from "../composables/project-transformer/encodeProject.js";
|
|
18
|
+
import { useFormValues as F1 } from "../composables/useDpiFormValues.js";
|
|
19
|
+
import { useDpiStepper as T1 } from "../composables/useDpiStepper.js";
|
|
20
|
+
import L1 from "../config/dcatapdeHappyFlow/converter.js";
|
|
21
|
+
import { eventBus as j1 } from "../HappyFlowComponents/services/eventBus.js";
|
|
22
|
+
import O1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
|
|
23
|
+
import Z1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
|
|
24
|
+
import $1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
|
|
25
|
+
import A1 from "../HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js";
|
|
26
|
+
import B1 from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
27
|
+
import E1 from "../HappyFlowComponents/ui/Card.vue.js";
|
|
28
|
+
import U1 from "../HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js";
|
|
29
|
+
import z1 from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
30
|
+
import N1 from "../HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js";
|
|
31
|
+
import R1 from "../HappyFlowComponents/ui/Findability/CategoriesStep.vue.js";
|
|
32
|
+
import G1 from "../HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js";
|
|
33
|
+
import W1 from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
34
|
+
import J1 from "../HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js";
|
|
35
|
+
import q1 from "../HappyFlowComponents/ui/ListBox/Listbox.vue.js";
|
|
36
|
+
import K1 from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
37
|
+
import Q1 from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
38
|
+
import X1 from "../HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js";
|
|
39
|
+
import Y1 from "../HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js";
|
|
40
|
+
import x1 from "../HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js";
|
|
41
|
+
import ee from "../HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js";
|
|
42
|
+
import te from "../HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js";
|
|
43
|
+
import oe from "../HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js";
|
|
44
|
+
import ne from "../HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js";
|
|
45
|
+
import ie from "../HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js";
|
|
46
|
+
import ae from "../HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js";
|
|
47
|
+
import se from "../HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js";
|
|
48
|
+
import re from "../HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js";
|
|
49
|
+
import le from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
50
|
+
import pe from "../HappyFlowComponents/ui/WipStep.vue.js";
|
|
51
|
+
import de from "./OverviewPage.vue.js";
|
|
49
52
|
/* empty css */
|
|
50
53
|
/* empty css */
|
|
51
54
|
/* empty css */
|
|
52
|
-
import
|
|
53
|
-
import { useDpiContext as
|
|
54
|
-
import { useEditModeInfo as
|
|
55
|
-
import { useFormSchema as
|
|
56
|
-
const
|
|
55
|
+
import ue from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
56
|
+
import { useDpiContext as me } from "../composables/useDpiContext.js";
|
|
57
|
+
import { useEditModeInfo as Ce } from "../composables/useDpiEditMode.js";
|
|
58
|
+
import { useFormSchema as ce } from "../composables/useFormSchema.js";
|
|
59
|
+
const fe = h1({
|
|
57
60
|
props: {
|
|
58
61
|
property: {
|
|
59
62
|
required: !0,
|
|
@@ -75,54 +78,56 @@ const se = u1({
|
|
|
75
78
|
};
|
|
76
79
|
},
|
|
77
80
|
components: {
|
|
78
|
-
InputPageStep:
|
|
81
|
+
InputPageStep: _1,
|
|
79
82
|
// DistributionInputPage,
|
|
80
|
-
LogoV3:
|
|
81
|
-
ButtonV3:
|
|
82
|
-
TextButtonSmall:
|
|
83
|
-
Illustration:
|
|
83
|
+
LogoV3: K1,
|
|
84
|
+
ButtonV3: B1,
|
|
85
|
+
TextButtonSmall: le,
|
|
86
|
+
Illustration: W1,
|
|
84
87
|
// PhLightbulb,
|
|
85
88
|
// PhCheckCircle,
|
|
86
|
-
ModalSimpleV3:
|
|
89
|
+
ModalSimpleV3: Q1,
|
|
87
90
|
// DemoStepper,
|
|
88
|
-
DemoStep:
|
|
89
|
-
ProgressSteps:
|
|
90
|
-
ReviewStepDemo:
|
|
91
|
-
LandingProjectStep:
|
|
92
|
-
StepActionsSection:
|
|
93
|
-
DiscoverabilityStep:
|
|
94
|
-
CategoriesStep:
|
|
95
|
-
ApplicationsStep:
|
|
96
|
-
ProjectNameStep:
|
|
97
|
-
ProjectDescriptionStep:
|
|
98
|
-
ProjectStatusStep:
|
|
99
|
-
ProjectOrganisationStep:
|
|
100
|
-
SoftwareStep:
|
|
101
|
-
DatasetStep:
|
|
102
|
-
HardwareStep:
|
|
103
|
-
OptionalDataStep:
|
|
104
|
-
InitiierenStep:
|
|
105
|
-
UmstezenStep:
|
|
106
|
-
PlanenStep:
|
|
107
|
-
WeiterdenkenStep:
|
|
108
|
-
BasicInformationStep:
|
|
109
|
-
ProcessStepsOverviewStep:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
91
|
+
DemoStep: w1,
|
|
92
|
+
ProgressSteps: P1,
|
|
93
|
+
ReviewStepDemo: k1,
|
|
94
|
+
LandingProjectStep: J1,
|
|
95
|
+
StepActionsSection: M1,
|
|
96
|
+
DiscoverabilityStep: G1,
|
|
97
|
+
CategoriesStep: R1,
|
|
98
|
+
ApplicationsStep: N1,
|
|
99
|
+
ProjectNameStep: Z1,
|
|
100
|
+
ProjectDescriptionStep: O1,
|
|
101
|
+
ProjectStatusStep: A1,
|
|
102
|
+
ProjectOrganisationStep: $1,
|
|
103
|
+
SoftwareStep: te,
|
|
104
|
+
DatasetStep: Y1,
|
|
105
|
+
HardwareStep: x1,
|
|
106
|
+
OptionalDataStep: X1,
|
|
107
|
+
InitiierenStep: oe,
|
|
108
|
+
UmstezenStep: ae,
|
|
109
|
+
PlanenStep: ne,
|
|
110
|
+
WeiterdenkenStep: se,
|
|
111
|
+
BasicInformationStep: U1,
|
|
112
|
+
ProcessStepsOverviewStep: ee,
|
|
113
|
+
ReviewStep: re,
|
|
114
|
+
ProjektPhasenOverviewStep: ie,
|
|
115
|
+
Card: E1,
|
|
116
|
+
Listbox: q1,
|
|
117
|
+
DpiModalBase: z1,
|
|
118
|
+
WipStep: pe,
|
|
119
|
+
ProjectDpiDevTools: y1
|
|
115
120
|
},
|
|
116
121
|
computed: {
|
|
117
|
-
...
|
|
122
|
+
...p1("auth", [
|
|
118
123
|
"getIsEditMode",
|
|
119
124
|
"getUserCatalogIds",
|
|
120
125
|
"getUserData"
|
|
121
126
|
]),
|
|
122
|
-
...
|
|
127
|
+
...p1("dpiStore", ["getNavSteps", "getDeleteDistributionInline"]),
|
|
123
128
|
getTitleStep() {
|
|
124
129
|
return Object.keys(this.formValues).filter(
|
|
125
|
-
(e) =>
|
|
130
|
+
(e) => $(this.formValues[e], "dct:title")
|
|
126
131
|
)[0];
|
|
127
132
|
},
|
|
128
133
|
createIDFromTitle() {
|
|
@@ -133,7 +138,7 @@ const se = u1({
|
|
|
133
138
|
getFirstTitleFromForm() {
|
|
134
139
|
try {
|
|
135
140
|
const e = this.formValues[this.getTitleStep];
|
|
136
|
-
return
|
|
141
|
+
return $(e, "dct:title") && e["dct:title"].length > 0 && $(e["dct:title"][0], "@value") && !o1(e["dct:title"][0], "@value") ? e["dct:title"][0]["@value"] : "";
|
|
137
142
|
} catch {
|
|
138
143
|
}
|
|
139
144
|
},
|
|
@@ -142,8 +147,8 @@ const se = u1({
|
|
|
142
147
|
}
|
|
143
148
|
},
|
|
144
149
|
methods: {
|
|
145
|
-
...
|
|
146
|
-
...
|
|
150
|
+
...l1("auth", ["setIsEditMode", "setIsDraft"]),
|
|
151
|
+
...l1("dpiStore", [
|
|
147
152
|
"saveFormValues",
|
|
148
153
|
"saveLocalstorageValues",
|
|
149
154
|
"clearAll"
|
|
@@ -153,10 +158,10 @@ const se = u1({
|
|
|
153
158
|
},
|
|
154
159
|
// Route to the RAP Page
|
|
155
160
|
goToRAP() {
|
|
156
|
-
this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(
|
|
161
|
+
this.fillData(), this.activeStep = "ReviewAndPublish", this.activeSubStep = Object.keys(t1(this.activeStep).value)[0];
|
|
157
162
|
},
|
|
158
163
|
handleDistributionsValidation(e) {
|
|
159
|
-
|
|
164
|
+
j1.emit("nextClicked", e);
|
|
160
165
|
},
|
|
161
166
|
gotToHome() {
|
|
162
167
|
window.location.href = this.$router.resolve({
|
|
@@ -164,12 +169,12 @@ const se = u1({
|
|
|
164
169
|
}).href;
|
|
165
170
|
},
|
|
166
171
|
async dispatchDataToDPI(e, o, u, S) {
|
|
167
|
-
var
|
|
172
|
+
var _, m;
|
|
168
173
|
console.log("body:", e, o, "params:", u, S);
|
|
169
174
|
try {
|
|
170
|
-
S === "publish" && (u.token = this.getUserData.rtpToken, console.log(u.token), u.url = `${this.$env.api.hubUrl}catalogues/${u.catalog}/datasets/origin?originalId=${u.id}`, await this.$store.dispatch(o, u)), S === "draft" && await this.$store.dispatch(o, u), (
|
|
171
|
-
} catch (
|
|
172
|
-
console.error(
|
|
175
|
+
S === "publish" && (u.token = this.getUserData.rtpToken, console.log(u.token), u.url = `${this.$env.api.hubUrl}catalogues/${u.catalog}/datasets/origin?originalId=${u.id}`, await this.$store.dispatch(o, u)), S === "draft" && await this.$store.dispatch(o, u), (_ = this.$Progress) == null || _.finish(), this.clearAll();
|
|
176
|
+
} catch (D) {
|
|
177
|
+
console.error(D), (m = this.$Progress) == null || m.fail();
|
|
173
178
|
}
|
|
174
179
|
},
|
|
175
180
|
clearForm() {
|
|
@@ -180,7 +185,7 @@ const se = u1({
|
|
|
180
185
|
},
|
|
181
186
|
createDatasetID() {
|
|
182
187
|
const e = this.formValues[this.getTitleStep];
|
|
183
|
-
|
|
188
|
+
!$(e, "datasetID") || o1(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);
|
|
184
189
|
},
|
|
185
190
|
generateandTranslateSchema(e) {
|
|
186
191
|
for (let o = 0; o < this.getNavSteps(this.$env.content.dataProviderInterface.specification)[e].length; o++)
|
|
@@ -242,186 +247,198 @@ const se = u1({
|
|
|
242
247
|
// })
|
|
243
248
|
// },
|
|
244
249
|
setup() {
|
|
245
|
-
const e =
|
|
250
|
+
const e = me(), { isEditMode: o } = Ce(), {
|
|
246
251
|
steps: u,
|
|
247
252
|
stepList: S,
|
|
248
|
-
visitedSteps:
|
|
249
|
-
activeStep:
|
|
250
|
-
stepPlugin:
|
|
251
|
-
goToNextStep:
|
|
252
|
-
goToPreviousStep:
|
|
253
|
-
subSteps:
|
|
254
|
-
previousStep:
|
|
255
|
-
nextStep:
|
|
256
|
-
current:
|
|
257
|
-
goToStep:
|
|
258
|
-
isLast:
|
|
253
|
+
visitedSteps: _,
|
|
254
|
+
activeStep: m,
|
|
255
|
+
stepPlugin: D,
|
|
256
|
+
goToNextStep: C,
|
|
257
|
+
goToPreviousStep: A,
|
|
258
|
+
subSteps: B,
|
|
259
|
+
previousStep: E,
|
|
260
|
+
nextStep: U,
|
|
261
|
+
current: b,
|
|
262
|
+
goToStep: M,
|
|
263
|
+
isLast: a,
|
|
259
264
|
triggerValidationCurrentStep: z
|
|
260
|
-
} =
|
|
265
|
+
} = T1(), { formValues: w } = F1(), { t: N, te: R } = b1(), G = v(!1), I = v(!1), k = v([]), F = x(() => m.value ? t1(m.value) : null), W = (l) => {
|
|
261
266
|
if (!l)
|
|
262
267
|
return;
|
|
263
|
-
const
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
268
|
+
const f = f1(l);
|
|
269
|
+
k.value = [], f.forEach((Z) => {
|
|
270
|
+
k.value = k.value.concat(
|
|
271
|
+
Z.map((c1) => c1.value)
|
|
267
272
|
);
|
|
268
273
|
});
|
|
269
|
-
}, { translateSchema:
|
|
270
|
-
t:
|
|
271
|
-
te:
|
|
272
|
-
}),
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
274
|
+
}, { translateSchema: J, createSchema: q, getSchema: K } = ce({
|
|
275
|
+
t: N,
|
|
276
|
+
te: R
|
|
277
|
+
}), { y: Q } = v1({ behavior: "smooth" }), T = () => {
|
|
278
|
+
Q.value = 0;
|
|
279
|
+
}, X = V1({ OverviewPage: de }), g = v("");
|
|
280
|
+
o.value && (m.value = "ReviewAndPublish", g.value = "reviewAndPublishPage");
|
|
281
|
+
const y = H1(u), h = (l) => {
|
|
282
|
+
var Z;
|
|
283
|
+
const f = (Z = y.value) == null ? void 0 : Z[l];
|
|
284
|
+
return f ? f.valid : !1;
|
|
285
|
+
}, V = v(!1), L = v(0);
|
|
286
|
+
r1(m, (l) => {
|
|
287
|
+
l === "review" && (V.value = !0, L.value++);
|
|
288
|
+
}), r1(m, () => {
|
|
289
|
+
T();
|
|
284
290
|
});
|
|
285
|
-
const
|
|
291
|
+
const Y = async () => {
|
|
286
292
|
try {
|
|
287
|
-
const l = "auth/createDataset",
|
|
288
|
-
|
|
293
|
+
const l = "auth/createDataset", f = await L1(
|
|
294
|
+
w.value,
|
|
289
295
|
e,
|
|
290
296
|
// We'll need to access getUserData somehow - for now using a placeholder
|
|
291
297
|
{},
|
|
292
298
|
// We'll need to access $env.api.hubUrl - for now using a placeholder
|
|
293
299
|
""
|
|
294
300
|
);
|
|
295
|
-
console.log("Publishing:",
|
|
301
|
+
console.log("Publishing:", f), setTimeout(() => {
|
|
296
302
|
window.location.href = "/dpi-home-happyflow";
|
|
297
303
|
}, 1e3);
|
|
298
304
|
} catch (l) {
|
|
299
305
|
console.error("Fehler beim Veröffentlichen:", l);
|
|
300
306
|
}
|
|
301
307
|
};
|
|
302
|
-
function
|
|
303
|
-
|
|
308
|
+
function j() {
|
|
309
|
+
h(b.value) && C();
|
|
304
310
|
}
|
|
305
|
-
async function
|
|
306
|
-
z(), await
|
|
307
|
-
const l =
|
|
308
|
-
|
|
311
|
+
async function r() {
|
|
312
|
+
z(), await D1();
|
|
313
|
+
const l = F.value, f = l ? !h(b.value) : !1;
|
|
314
|
+
f && W(l), I.value = f, a.value ? console.log("Form submitted", values.value) : j();
|
|
309
315
|
}
|
|
310
|
-
const
|
|
316
|
+
const c = x(() => S.value.map((l) => ({ id: l, name: l }))), O = x({
|
|
311
317
|
get() {
|
|
312
|
-
return { id:
|
|
318
|
+
return { id: b.value, name: b.value };
|
|
313
319
|
},
|
|
314
320
|
set(l) {
|
|
315
|
-
|
|
321
|
+
M(l.id);
|
|
316
322
|
}
|
|
317
|
-
}),
|
|
323
|
+
}), e1 = v(!1);
|
|
324
|
+
function d1() {
|
|
325
|
+
console.log("Form submittedo", w.value);
|
|
326
|
+
const l = I1(w.value, { language: "de" });
|
|
327
|
+
console.log("ld", l), window.alert(JSON.stringify(l, null, 2));
|
|
328
|
+
}
|
|
329
|
+
const u1 = v(!1), m1 = v(0);
|
|
330
|
+
function C1(l) {
|
|
331
|
+
M(l);
|
|
332
|
+
}
|
|
318
333
|
return {
|
|
319
334
|
steps: u,
|
|
320
|
-
visitedSteps:
|
|
321
|
-
activeStep:
|
|
322
|
-
activeSubStep:
|
|
323
|
-
subSteps:
|
|
324
|
-
previousStep:
|
|
335
|
+
visitedSteps: _,
|
|
336
|
+
activeStep: m,
|
|
337
|
+
activeSubStep: g,
|
|
338
|
+
subSteps: B,
|
|
339
|
+
previousStep: E,
|
|
325
340
|
stepList: S,
|
|
326
|
-
nextStep:
|
|
327
|
-
stepPlugin:
|
|
328
|
-
checkStepValidity:
|
|
329
|
-
goToNextStep:
|
|
330
|
-
goToNextStepIfValid:
|
|
331
|
-
goToPreviousStep:
|
|
332
|
-
scrollToTop:
|
|
333
|
-
library:
|
|
341
|
+
nextStep: U,
|
|
342
|
+
stepPlugin: D,
|
|
343
|
+
checkStepValidity: h,
|
|
344
|
+
goToNextStep: C,
|
|
345
|
+
goToNextStepIfValid: j,
|
|
346
|
+
goToPreviousStep: A,
|
|
347
|
+
scrollToTop: T,
|
|
348
|
+
library: X,
|
|
334
349
|
isEditMode: o,
|
|
335
|
-
translateSchema:
|
|
336
|
-
createSchema:
|
|
337
|
-
getSchema:
|
|
350
|
+
translateSchema: J,
|
|
351
|
+
createSchema: q,
|
|
352
|
+
getSchema: K,
|
|
338
353
|
dpiContext: e,
|
|
339
|
-
formValues:
|
|
340
|
-
activeSimpleModal:
|
|
341
|
-
shouldRenderReviewStep:
|
|
342
|
-
renderViewStepKey:
|
|
343
|
-
handlePublish:
|
|
344
|
-
handleSubmit:
|
|
354
|
+
formValues: w,
|
|
355
|
+
activeSimpleModal: G,
|
|
356
|
+
shouldRenderReviewStep: V,
|
|
357
|
+
renderViewStepKey: L,
|
|
358
|
+
handlePublish: Y,
|
|
359
|
+
handleSubmit: r,
|
|
345
360
|
showErrorSummary: I,
|
|
346
|
-
validationMessages:
|
|
347
|
-
stepOptions:
|
|
348
|
-
stepSelect:
|
|
349
|
-
hologramOpen:
|
|
361
|
+
validationMessages: k,
|
|
362
|
+
stepOptions: c,
|
|
363
|
+
stepSelect: O,
|
|
364
|
+
hologramOpen: e1,
|
|
365
|
+
submitto: d1,
|
|
366
|
+
devToolsOpen: u1,
|
|
367
|
+
nonce: m1,
|
|
368
|
+
jumpToStep: C1
|
|
350
369
|
};
|
|
351
370
|
}
|
|
352
|
-
}),
|
|
371
|
+
}), ve = { class: "input-page-project form-container V3-typography" }, he = {
|
|
353
372
|
key: 0,
|
|
354
373
|
ref: "fkInputContainer",
|
|
355
374
|
class: "inputContainer"
|
|
356
|
-
},
|
|
375
|
+
}, Se = { class: "formContainer formkit" }, ge = { key: 0 }, Ve = { class: "dpiV3_stepper draftStepper" }, He = {
|
|
357
376
|
key: 0,
|
|
358
377
|
class: "draftCTA"
|
|
359
|
-
},
|
|
378
|
+
}, De = {
|
|
360
379
|
key: 1,
|
|
361
380
|
class: "draftCTA"
|
|
362
|
-
},
|
|
381
|
+
}, be = { key: 1 }, we = {
|
|
363
382
|
key: 0,
|
|
364
383
|
class: "dpiV3_stepper"
|
|
365
|
-
},
|
|
366
|
-
class: "dev-actions",
|
|
367
|
-
style: {}
|
|
368
|
-
}, De = {
|
|
384
|
+
}, ke = {
|
|
369
385
|
key: 1,
|
|
370
386
|
class: "dpiV3_stepperLanding"
|
|
371
|
-
},
|
|
387
|
+
}, ye = { class: "dpiV3_Illustration-Start" }, _e = {
|
|
372
388
|
key: 2,
|
|
373
389
|
class: "steps"
|
|
374
|
-
},
|
|
390
|
+
}, Pe = ["data-step-active", "data-step-valid", "onClick"], Me = { class: "stepBubbleWrap" }, Ie = { class: "circle stepCircle" }, Fe = ["textContent"], Te = {
|
|
375
391
|
key: 0,
|
|
376
392
|
class: "seperatorHorizontalStepper"
|
|
377
|
-
},
|
|
393
|
+
}, Le = {
|
|
378
394
|
key: 0,
|
|
379
395
|
class: "step inactiveStep"
|
|
380
|
-
},
|
|
396
|
+
}, je = { style: { position: "absolute", top: "0", left: "100%", width: "600px", height: "100%" } }, Oe = { style: { position: "sticky", top: "0" } }, Ze = { style: { "z-index": "1000", background: "#f5f5f5", "border-radius": "8px", "overflow-x": "auto", "max-width": "100%", width: "100%" } }, $e = { style: { "max-height": "720px", "overflow-y": "auto" } }, Ae = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, Be = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, Ee = { style: { display: "flex", "flex-direction": "column", gap: "1rem" } }, Ue = { class: "step-content" }, ze = {
|
|
381
397
|
key: 0,
|
|
382
398
|
class: "dpiV3_Card_Tips--error dpiV3_Card_Tips"
|
|
383
|
-
},
|
|
384
|
-
function
|
|
385
|
-
const
|
|
386
|
-
return p(), d("div",
|
|
387
|
-
e.isInput ? (p(), d("div",
|
|
388
|
-
n("div",
|
|
389
|
-
|
|
399
|
+
}, Ne = { class: "validation-errors" };
|
|
400
|
+
function Re(e, o, u, S, _, m) {
|
|
401
|
+
const D = s("TextButtonSmall"), C = s("ButtonV3"), A = s("ProgressSteps"), B = s("Illustration"), E = s("Listbox"), U = s("Card"), b = s("ProjectDpiDevTools"), M = s("LandingProjectStep"), a = s("InputPageStep"), z = s("DiscoverabilityStep"), w = s("CategoriesStep"), N = s("ApplicationsStep"), R = s("ProjectNameStep"), G = s("ProjectDescriptionStep"), I = s("ProjectStatusStep"), k = s("ProjectOrganisationStep"), F = s("OptionalDataStep"), W = s("DpiModalBase"), J = s("ProjektPhasenOverviewStep"), q = s("InitiierenStep"), K = s("PlanenStep"), Q = s("UmstezenStep"), T = s("WeiterdenkenStep"), X = s("ProcessStepsOverviewStep"), g = s("BasicInformationStep"), y = s("SoftwareStep"), h = s("DatasetStep"), V = s("HardwareStep"), L = s("ReviewStep"), Y = s("FormKit"), j = s("ModalSimpleV3");
|
|
402
|
+
return p(), d("div", ve, [
|
|
403
|
+
e.isInput ? (p(), d("div", he, [
|
|
404
|
+
n("div", Se, [
|
|
405
|
+
(p(), n1(Y, {
|
|
390
406
|
id: "dpiForm",
|
|
407
|
+
key: e.nonce,
|
|
391
408
|
modelValue: e.formValues,
|
|
392
|
-
"onUpdate:modelValue": o[
|
|
409
|
+
"onUpdate:modelValue": o[8] || (o[8] = (r) => e.formValues = r),
|
|
393
410
|
type: "form",
|
|
394
411
|
actions: !1,
|
|
395
412
|
plugins: [e.stepPlugin],
|
|
396
413
|
class: "d-flex",
|
|
397
|
-
onSubmit: o[
|
|
414
|
+
onSubmit: o[9] || (o[9] = S1(() => {
|
|
398
415
|
}, ["prevent"]))
|
|
399
416
|
}, {
|
|
400
417
|
default: i(() => [
|
|
401
|
-
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (p(), d("div",
|
|
402
|
-
n("div",
|
|
403
|
-
t(
|
|
418
|
+
e.dpiContext.edit.fromDraft || e.dpiContext.edit.enabled ? (p(), d("div", ge, [
|
|
419
|
+
n("div", Ve, [
|
|
420
|
+
t(D, {
|
|
404
421
|
"button-text": "Übersicht",
|
|
405
422
|
"icon-start": "CaretLeft",
|
|
406
423
|
"icon-name": "caretLeft",
|
|
407
424
|
onClick: e.gotToHome
|
|
408
425
|
}, null, 8, ["onClick"]),
|
|
409
426
|
n("div", null, [
|
|
410
|
-
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (p(), d("div",
|
|
411
|
-
t(
|
|
427
|
+
e.dpiContext.edit.enabled && !e.dpiContext.edit.fromDraft ? (p(), d("div", He, [
|
|
428
|
+
t(C, {
|
|
412
429
|
"button-text": "Veröffentlichung aufheben",
|
|
413
430
|
size: "large",
|
|
414
431
|
onClick: e.todoHandler
|
|
415
432
|
}, null, 8, ["onClick"]),
|
|
416
|
-
t(
|
|
433
|
+
t(C, {
|
|
417
434
|
"button-text": "Veröffentlicht ansehen",
|
|
418
435
|
variant: "secondary",
|
|
419
436
|
size: "large",
|
|
420
437
|
"icon-end": "Out",
|
|
421
438
|
onClick: e.todoHandler
|
|
422
439
|
}, null, 8, ["onClick"])
|
|
423
|
-
])) : (p(), d("div",
|
|
424
|
-
t(
|
|
440
|
+
])) : (p(), d("div", De, [
|
|
441
|
+
t(C, {
|
|
425
442
|
"button-text": "Veröffentlichen",
|
|
426
443
|
size: "large",
|
|
427
444
|
onClick: e.handlePublish
|
|
@@ -429,9 +446,9 @@ function Ze(e, o, u, S, k, C) {
|
|
|
429
446
|
]))
|
|
430
447
|
])
|
|
431
448
|
])
|
|
432
|
-
])) : (p(), d("div",
|
|
433
|
-
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (p(), d("div",
|
|
434
|
-
o[
|
|
449
|
+
])) : (p(), d("div", be, [
|
|
450
|
+
e.$env.content.dataProviderInterface.specification === "dcatapdeHappyFlow" && e.activeStep !== "Landing" ? (p(), d("div", we, [
|
|
451
|
+
o[12] || (o[12] = n("svg", {
|
|
435
452
|
width: "129",
|
|
436
453
|
height: "48",
|
|
437
454
|
viewBox: "0 0 129 48",
|
|
@@ -487,60 +504,16 @@ function Ze(e, o, u, S, k, C) {
|
|
|
487
504
|
fill: "#AEDFF8"
|
|
488
505
|
})
|
|
489
506
|
], -1)),
|
|
490
|
-
t(
|
|
507
|
+
t(A, {
|
|
491
508
|
checked: e.visitedSteps,
|
|
492
|
-
"onUpdate:checked": o[0] || (o[0] = (
|
|
509
|
+
"onUpdate:checked": o[0] || (o[0] = (r) => e.visitedSteps = r),
|
|
493
510
|
current: e.activeStep,
|
|
494
|
-
"onUpdate:current": o[1] || (o[1] = (
|
|
511
|
+
"onUpdate:current": o[1] || (o[1] = (r) => e.activeStep = r),
|
|
495
512
|
"hide-first": "",
|
|
496
513
|
steps: e.stepList || []
|
|
497
|
-
}, null, 8, ["checked", "current", "steps"])
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
o[9] || (o[9] = n("summary", null, "Form Values", -1)),
|
|
501
|
-
n("pre", ge, y(JSON.stringify(e.formValues, null, 2)), 1)
|
|
502
|
-
]),
|
|
503
|
-
t(O, null, {
|
|
504
|
-
title: i(() => o[10] || (o[10] = [
|
|
505
|
-
n1(" dev view ", -1)
|
|
506
|
-
])),
|
|
507
|
-
default: i(() => [
|
|
508
|
-
n("div", Ve, [
|
|
509
|
-
n("div", He, [
|
|
510
|
-
t(c, {
|
|
511
|
-
type: "button",
|
|
512
|
-
variant: "secondary",
|
|
513
|
-
"button-text": "Open Hologram",
|
|
514
|
-
onClick: o[2] || (o[2] = (s) => e.hologramOpen = !0)
|
|
515
|
-
}),
|
|
516
|
-
t(c, {
|
|
517
|
-
type: "button",
|
|
518
|
-
variant: "secondary",
|
|
519
|
-
"button-text": "Previous",
|
|
520
|
-
onClick: e.goToPreviousStep
|
|
521
|
-
}, null, 8, ["onClick"]),
|
|
522
|
-
t(c, {
|
|
523
|
-
type: "button",
|
|
524
|
-
variant: "secondary",
|
|
525
|
-
"button-text": "Next",
|
|
526
|
-
onClick: e.handleSubmit
|
|
527
|
-
}, null, 8, ["onClick"])
|
|
528
|
-
]),
|
|
529
|
-
n("div", null, [
|
|
530
|
-
t($, {
|
|
531
|
-
modelValue: e.stepSelect,
|
|
532
|
-
"onUpdate:modelValue": o[3] || (o[3] = (s) => e.stepSelect = s),
|
|
533
|
-
label: "Go to step",
|
|
534
|
-
options: e.stepOptions
|
|
535
|
-
}, null, 8, ["modelValue", "options"])
|
|
536
|
-
])
|
|
537
|
-
])
|
|
538
|
-
]),
|
|
539
|
-
_: 1
|
|
540
|
-
})
|
|
541
|
-
])
|
|
542
|
-
])) : (p(), d("div", De, [
|
|
543
|
-
o[12] || (o[12] = n("div", { class: "dpiV3_bydata_logo_wordmark" }, [
|
|
514
|
+
}, null, 8, ["checked", "current", "steps"])
|
|
515
|
+
])) : (p(), d("div", ke, [
|
|
516
|
+
o[13] || (o[13] = n("div", { class: "dpiV3_bydata_logo_wordmark" }, [
|
|
544
517
|
n("svg", {
|
|
545
518
|
width: "129",
|
|
546
519
|
height: "48",
|
|
@@ -598,87 +571,147 @@ function Ze(e, o, u, S, k, C) {
|
|
|
598
571
|
})
|
|
599
572
|
])
|
|
600
573
|
], -1)),
|
|
601
|
-
n("div",
|
|
602
|
-
t(
|
|
574
|
+
n("div", ye, [
|
|
575
|
+
t(B, { "illustration-name": "start" })
|
|
603
576
|
])
|
|
604
577
|
]))
|
|
605
578
|
])),
|
|
606
579
|
e.$env.content.dataProviderInterface.specification != "dcatapdeHappyFlow" ? (p(), d("ul", _e, [
|
|
607
|
-
(p(!0), d(i1, null, a1(e.steps, (
|
|
608
|
-
key:
|
|
609
|
-
class:
|
|
610
|
-
activeItem: e.activeStep ===
|
|
611
|
-
inactiveStep:
|
|
612
|
-
"has-errors": e.checkStepValidity(
|
|
580
|
+
(p(!0), d(i1, null, a1(e.steps, (r, c, O) => (p(), d("li", {
|
|
581
|
+
key: r,
|
|
582
|
+
class: g1(["step", {
|
|
583
|
+
activeItem: e.activeStep === c,
|
|
584
|
+
inactiveStep: c != e.activeStep,
|
|
585
|
+
"has-errors": e.checkStepValidity(c)
|
|
613
586
|
}]),
|
|
614
|
-
"data-step-active": e.activeStep ===
|
|
615
|
-
"data-step-valid":
|
|
616
|
-
onClick: (
|
|
617
|
-
e.activeStep =
|
|
587
|
+
"data-step-active": e.activeStep === c,
|
|
588
|
+
"data-step-valid": r.valid && r.errorCount === 0,
|
|
589
|
+
onClick: (e1) => {
|
|
590
|
+
e.activeStep = c, e.update(), e.scrollToTop();
|
|
618
591
|
}
|
|
619
592
|
}, [
|
|
620
|
-
n("div",
|
|
621
|
-
n("div",
|
|
622
|
-
e.checkStepValidity(
|
|
593
|
+
n("div", Me, [
|
|
594
|
+
n("div", Ie, P(O + 1), 1),
|
|
595
|
+
e.checkStepValidity(c) ? (p(), d("span", {
|
|
623
596
|
key: 0,
|
|
624
597
|
class: "step--errors",
|
|
625
|
-
textContent:
|
|
626
|
-
}, null, 8,
|
|
627
|
-
|
|
598
|
+
textContent: P(r.errorCount + r.blockingCount)
|
|
599
|
+
}, null, 8, Fe)) : H("", !0),
|
|
600
|
+
s1(P(e.$t(`message.dataupload.steps.${c}Step`)), 1)
|
|
628
601
|
]),
|
|
629
|
-
|
|
630
|
-
], 10,
|
|
631
|
-
e.activeStep === "Overview" ? (p(), d("li",
|
|
602
|
+
O != Object.keys(e.steps).length ? (p(), d("div", Te)) : H("", !0)
|
|
603
|
+
], 10, Pe))), 128)),
|
|
604
|
+
e.activeStep === "Overview" ? (p(), d("li", Le, o[14] || (o[14] = [
|
|
632
605
|
n("div", { class: "circle stepCircle" }, null, -1)
|
|
633
|
-
]))) :
|
|
634
|
-
])) :
|
|
635
|
-
n("div",
|
|
606
|
+
]))) : H("", !0)
|
|
607
|
+
])) : H("", !0),
|
|
608
|
+
n("div", je, [
|
|
609
|
+
n("div", Oe, [
|
|
610
|
+
n("details", Ze, [
|
|
611
|
+
o[15] || (o[15] = n("summary", null, "Form Values", -1)),
|
|
612
|
+
n("pre", $e, P(JSON.stringify(e.formValues, null, 2)), 1)
|
|
613
|
+
]),
|
|
614
|
+
t(U, null, {
|
|
615
|
+
title: i(() => o[16] || (o[16] = [
|
|
616
|
+
s1(" dev view ", -1)
|
|
617
|
+
])),
|
|
618
|
+
default: i(() => [
|
|
619
|
+
n("div", Ae, [
|
|
620
|
+
n("div", Be, [
|
|
621
|
+
t(C, {
|
|
622
|
+
type: "button",
|
|
623
|
+
variant: "secondary",
|
|
624
|
+
"button-text": "Open Hologram",
|
|
625
|
+
onClick: o[2] || (o[2] = (r) => e.hologramOpen = !0)
|
|
626
|
+
}),
|
|
627
|
+
t(C, {
|
|
628
|
+
type: "button",
|
|
629
|
+
variant: "secondary",
|
|
630
|
+
"button-text": "Previous",
|
|
631
|
+
onClick: e.goToPreviousStep
|
|
632
|
+
}, null, 8, ["onClick"]),
|
|
633
|
+
t(C, {
|
|
634
|
+
type: "button",
|
|
635
|
+
variant: "secondary",
|
|
636
|
+
"button-text": "Next",
|
|
637
|
+
onClick: e.handleSubmit
|
|
638
|
+
}, null, 8, ["onClick"])
|
|
639
|
+
]),
|
|
640
|
+
n("div", Ee, [
|
|
641
|
+
t(C, {
|
|
642
|
+
type: "button",
|
|
643
|
+
variant: "secondary",
|
|
644
|
+
"button-text": "Open devtools",
|
|
645
|
+
onClick: o[3] || (o[3] = (r) => e.devToolsOpen = !0)
|
|
646
|
+
})
|
|
647
|
+
]),
|
|
648
|
+
n("div", null, [
|
|
649
|
+
t(E, {
|
|
650
|
+
modelValue: e.stepSelect,
|
|
651
|
+
"onUpdate:modelValue": o[4] || (o[4] = (r) => e.stepSelect = r),
|
|
652
|
+
label: "Go to step",
|
|
653
|
+
options: e.stepOptions
|
|
654
|
+
}, null, 8, ["modelValue", "options"])
|
|
655
|
+
])
|
|
656
|
+
])
|
|
657
|
+
]),
|
|
658
|
+
_: 1
|
|
659
|
+
})
|
|
660
|
+
]),
|
|
661
|
+
t(b, {
|
|
662
|
+
modelValue: e.devToolsOpen,
|
|
663
|
+
"onUpdate:modelValue": o[5] || (o[5] = (r) => e.devToolsOpen = r),
|
|
664
|
+
nonce: e.nonce,
|
|
665
|
+
"onUpdate:nonce": o[6] || (o[6] = (r) => e.nonce = r)
|
|
666
|
+
}, null, 8, ["modelValue", "nonce"])
|
|
667
|
+
]),
|
|
668
|
+
n("div", Ue, [
|
|
636
669
|
n("div", null, [
|
|
637
670
|
t(a, { name: "Landing" }, {
|
|
638
671
|
default: i(() => [
|
|
639
|
-
t(
|
|
672
|
+
t(M)
|
|
640
673
|
]),
|
|
641
674
|
_: 1
|
|
642
675
|
}),
|
|
643
676
|
t(a, { name: "Auffindbarkeit/Sichtbarkeit" }, {
|
|
644
677
|
default: i(() => [
|
|
645
|
-
t(
|
|
678
|
+
t(z)
|
|
646
679
|
]),
|
|
647
680
|
_: 1
|
|
648
681
|
}),
|
|
649
682
|
t(a, { name: "Auffindbarkeit/Kategorien" }, {
|
|
650
683
|
default: i(() => [
|
|
651
|
-
t(
|
|
684
|
+
t(w)
|
|
652
685
|
]),
|
|
653
686
|
_: 1
|
|
654
687
|
}),
|
|
655
688
|
t(a, { name: "Auffindbarkeit/Anwendungsbereiche" }, {
|
|
656
689
|
default: i(() => [
|
|
657
|
-
t(
|
|
690
|
+
t(N)
|
|
658
691
|
]),
|
|
659
692
|
_: 1
|
|
660
693
|
}),
|
|
661
694
|
t(a, { name: "Grundlegende Informationen/Name" }, {
|
|
662
695
|
default: i(() => [
|
|
663
|
-
t(
|
|
696
|
+
t(R)
|
|
664
697
|
]),
|
|
665
698
|
_: 1
|
|
666
699
|
}),
|
|
667
700
|
t(a, { name: "Grundlegende Informationen/Beschreibung" }, {
|
|
668
701
|
default: i(() => [
|
|
669
|
-
t(
|
|
702
|
+
t(G)
|
|
670
703
|
]),
|
|
671
704
|
_: 1
|
|
672
705
|
}),
|
|
673
706
|
t(a, { name: "Grundlegende Informationen/Projektstatus" }, {
|
|
674
707
|
default: i(() => [
|
|
675
|
-
t(
|
|
708
|
+
t(I)
|
|
676
709
|
]),
|
|
677
710
|
_: 1
|
|
678
711
|
}),
|
|
679
712
|
t(a, { name: "Grundlegende Informationen/Organisation" }, {
|
|
680
713
|
default: i(() => [
|
|
681
|
-
t(
|
|
714
|
+
t(k, {
|
|
682
715
|
"is-wip": "",
|
|
683
716
|
icon: "https://storage.googleapis.com/open-data-public-files-050923/assets/v2/haar/favicon.png",
|
|
684
717
|
address: "Bahnhofstraße 7",
|
|
@@ -692,13 +725,13 @@ function Ze(e, o, u, S, k, C) {
|
|
|
692
725
|
}),
|
|
693
726
|
t(a, { name: "Optionale Daten" }, {
|
|
694
727
|
default: i(() => [
|
|
695
|
-
t(
|
|
696
|
-
t(
|
|
728
|
+
t(F),
|
|
729
|
+
t(W, {
|
|
697
730
|
modelValue: e.hologramOpen,
|
|
698
|
-
"onUpdate:modelValue": o[
|
|
731
|
+
"onUpdate:modelValue": o[7] || (o[7] = (r) => e.hologramOpen = r)
|
|
699
732
|
}, {
|
|
700
733
|
default: i(() => [
|
|
701
|
-
t(
|
|
734
|
+
t(F)
|
|
702
735
|
]),
|
|
703
736
|
_: 1
|
|
704
737
|
}, 8, ["modelValue"])
|
|
@@ -707,13 +740,13 @@ function Ze(e, o, u, S, k, C) {
|
|
|
707
740
|
}),
|
|
708
741
|
t(a, { name: "Projektphasen (optional)" }, {
|
|
709
742
|
default: i(() => [
|
|
710
|
-
t(
|
|
743
|
+
t(J)
|
|
711
744
|
]),
|
|
712
745
|
_: 1
|
|
713
746
|
}),
|
|
714
747
|
t(a, { name: "Projektphasen (optional)/Initiieren" }, {
|
|
715
748
|
default: i(() => [
|
|
716
|
-
t(
|
|
749
|
+
t(q)
|
|
717
750
|
]),
|
|
718
751
|
_: 1
|
|
719
752
|
}),
|
|
@@ -725,31 +758,31 @@ function Ze(e, o, u, S, k, C) {
|
|
|
725
758
|
}),
|
|
726
759
|
t(a, { name: "Projektphasen (optional)/Umsetzen" }, {
|
|
727
760
|
default: i(() => [
|
|
728
|
-
t(
|
|
761
|
+
t(Q)
|
|
729
762
|
]),
|
|
730
763
|
_: 1
|
|
731
764
|
}),
|
|
732
765
|
t(a, { name: "Projektphasen (optional)/Weiterdenken" }, {
|
|
733
766
|
default: i(() => [
|
|
734
|
-
t(
|
|
767
|
+
t(T)
|
|
735
768
|
]),
|
|
736
769
|
_: 1
|
|
737
770
|
}),
|
|
738
771
|
t(a, { name: "Technische Prozessschritte" }, {
|
|
739
772
|
default: i(() => [
|
|
740
|
-
t(
|
|
773
|
+
t(X)
|
|
741
774
|
]),
|
|
742
775
|
_: 1
|
|
743
776
|
}),
|
|
744
777
|
t(a, { name: "1. Datenerfassung/Grundlegende Informationen" }, {
|
|
745
778
|
default: i(() => [
|
|
746
|
-
t(
|
|
779
|
+
t(g)
|
|
747
780
|
]),
|
|
748
781
|
_: 1
|
|
749
782
|
}),
|
|
750
783
|
t(a, { name: "1. Datenerfassung/Software" }, {
|
|
751
784
|
default: i(() => [
|
|
752
|
-
t(
|
|
785
|
+
t(y, {
|
|
753
786
|
"step-group": "1. Datenerfassung",
|
|
754
787
|
edit: e.isEditMode
|
|
755
788
|
}, null, 8, ["edit"])
|
|
@@ -758,7 +791,7 @@ function Ze(e, o, u, S, k, C) {
|
|
|
758
791
|
}),
|
|
759
792
|
t(a, { name: "1. Datenerfassung/Datensätze" }, {
|
|
760
793
|
default: i(() => [
|
|
761
|
-
t(
|
|
794
|
+
t(h, {
|
|
762
795
|
"step-group": "1. Datenerfassung",
|
|
763
796
|
edit: e.isEditMode
|
|
764
797
|
}, null, 8, ["edit"])
|
|
@@ -767,7 +800,7 @@ function Ze(e, o, u, S, k, C) {
|
|
|
767
800
|
}),
|
|
768
801
|
t(a, { name: "1. Datenerfassung/Hardware" }, {
|
|
769
802
|
default: i(() => [
|
|
770
|
-
t(
|
|
803
|
+
t(V, {
|
|
771
804
|
"step-group": "1. Datenerfassung",
|
|
772
805
|
edit: ""
|
|
773
806
|
})
|
|
@@ -776,114 +809,140 @@ function Ze(e, o, u, S, k, C) {
|
|
|
776
809
|
}),
|
|
777
810
|
t(a, { name: "2. Datenverarbeitung/Grundlegende Informationen" }, {
|
|
778
811
|
default: i(() => [
|
|
779
|
-
t(
|
|
812
|
+
t(g)
|
|
780
813
|
]),
|
|
781
814
|
_: 1
|
|
782
815
|
}),
|
|
783
816
|
t(a, { name: "2. Datenverarbeitung/Software" }, {
|
|
784
817
|
default: i(() => [
|
|
785
|
-
t(
|
|
818
|
+
t(y, {
|
|
819
|
+
"step-group": "2. Datenverarbeitung",
|
|
820
|
+
edit: e.isEditMode
|
|
821
|
+
}, null, 8, ["edit"])
|
|
786
822
|
]),
|
|
787
823
|
_: 1
|
|
788
824
|
}),
|
|
789
825
|
t(a, { name: "2. Datenverarbeitung/Datensätze" }, {
|
|
790
826
|
default: i(() => [
|
|
791
|
-
t(
|
|
827
|
+
t(h, {
|
|
828
|
+
"step-group": "2. Datenverarbeitung",
|
|
829
|
+
edit: e.isEditMode
|
|
830
|
+
}, null, 8, ["edit"])
|
|
792
831
|
]),
|
|
793
832
|
_: 1
|
|
794
833
|
}),
|
|
795
834
|
t(a, { name: "2. Datenverarbeitung/Hardware" }, {
|
|
796
835
|
default: i(() => [
|
|
797
|
-
t(
|
|
836
|
+
t(V, {
|
|
837
|
+
"step-group": "2. Datenverarbeitung",
|
|
838
|
+
edit: ""
|
|
839
|
+
})
|
|
798
840
|
]),
|
|
799
841
|
_: 1
|
|
800
842
|
}),
|
|
801
843
|
t(a, { name: "3. Datensimulation/Grundlegende Informationen" }, {
|
|
802
844
|
default: i(() => [
|
|
803
|
-
t(
|
|
845
|
+
t(g)
|
|
804
846
|
]),
|
|
805
847
|
_: 1
|
|
806
848
|
}),
|
|
807
849
|
t(a, { name: "3. Datensimulation/Software" }, {
|
|
808
850
|
default: i(() => [
|
|
809
|
-
t(
|
|
851
|
+
t(y, {
|
|
852
|
+
"step-group": "3. Datensimulation",
|
|
853
|
+
edit: e.isEditMode
|
|
854
|
+
}, null, 8, ["edit"])
|
|
810
855
|
]),
|
|
811
856
|
_: 1
|
|
812
857
|
}),
|
|
813
858
|
t(a, { name: "3. Datensimulation/Datensätze" }, {
|
|
814
859
|
default: i(() => [
|
|
815
|
-
t(
|
|
860
|
+
t(h, {
|
|
861
|
+
"step-group": "3. Datensimulation",
|
|
862
|
+
edit: e.isEditMode
|
|
863
|
+
}, null, 8, ["edit"])
|
|
816
864
|
]),
|
|
817
865
|
_: 1
|
|
818
866
|
}),
|
|
819
867
|
t(a, { name: "3. Datensimulation/Hardware" }, {
|
|
820
868
|
default: i(() => [
|
|
821
|
-
t(
|
|
869
|
+
t(V, {
|
|
870
|
+
"step-group": "3. Datensimulation",
|
|
871
|
+
edit: ""
|
|
872
|
+
})
|
|
822
873
|
]),
|
|
823
874
|
_: 1
|
|
824
875
|
}),
|
|
825
876
|
t(a, { name: "4. Datenvisualisierung/Grundlegende Informationen" }, {
|
|
826
877
|
default: i(() => [
|
|
827
|
-
t(
|
|
878
|
+
t(g)
|
|
828
879
|
]),
|
|
829
880
|
_: 1
|
|
830
881
|
}),
|
|
831
882
|
t(a, { name: "4. Datenvisualisierung/Software" }, {
|
|
832
883
|
default: i(() => [
|
|
833
|
-
t(
|
|
884
|
+
t(y, {
|
|
885
|
+
"step-group": "4. Datenvisualisierung",
|
|
886
|
+
edit: e.isEditMode
|
|
887
|
+
}, null, 8, ["edit"])
|
|
834
888
|
]),
|
|
835
889
|
_: 1
|
|
836
890
|
}),
|
|
837
891
|
t(a, { name: "4. Datenvisualisierung/Datensätze" }, {
|
|
838
892
|
default: i(() => [
|
|
839
|
-
t(
|
|
893
|
+
t(h, {
|
|
894
|
+
"step-group": "4. Datenvisualisierung",
|
|
895
|
+
edit: e.isEditMode
|
|
896
|
+
}, null, 8, ["edit"])
|
|
840
897
|
]),
|
|
841
898
|
_: 1
|
|
842
899
|
}),
|
|
843
900
|
t(a, { name: "4. Datenvisualisierung/Hardware" }, {
|
|
844
901
|
default: i(() => [
|
|
845
|
-
t(
|
|
902
|
+
t(V, {
|
|
903
|
+
"step-group": "4. Datenvisualisierung",
|
|
904
|
+
edit: ""
|
|
905
|
+
})
|
|
846
906
|
]),
|
|
847
907
|
_: 1
|
|
848
908
|
}),
|
|
849
909
|
t(a, { name: "Vorschau" }, {
|
|
850
910
|
default: i(() => [
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}, null, 8, ["
|
|
855
|
-
t(X)
|
|
911
|
+
t(L, {
|
|
912
|
+
onSubmit: e.submitto,
|
|
913
|
+
onJump: e.jumpToStep
|
|
914
|
+
}, null, 8, ["onSubmit", "onJump"])
|
|
856
915
|
]),
|
|
857
916
|
_: 1
|
|
858
917
|
})
|
|
859
918
|
]),
|
|
860
|
-
o[
|
|
861
|
-
e.showErrorSummary && e.validationMessages.length ? (p(), d("div",
|
|
862
|
-
o[
|
|
863
|
-
n("ul",
|
|
864
|
-
(p(!0), d(i1, null, a1(e.validationMessages, (
|
|
919
|
+
o[18] || (o[18] = n("hr", null, null, -1)),
|
|
920
|
+
e.showErrorSummary && e.validationMessages.length ? (p(), d("div", ze, [
|
|
921
|
+
o[17] || (o[17] = n("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
|
|
922
|
+
n("ul", Ne, [
|
|
923
|
+
(p(!0), d(i1, null, a1(e.validationMessages, (r) => (p(), d("li", { key: r }, P(r), 1))), 128))
|
|
865
924
|
])
|
|
866
|
-
])) :
|
|
867
|
-
o[
|
|
868
|
-
o[
|
|
925
|
+
])) : H("", !0),
|
|
926
|
+
o[19] || (o[19] = n("hr", null, null, -1)),
|
|
927
|
+
o[20] || (o[20] = n("div", null, null, -1))
|
|
869
928
|
])
|
|
870
929
|
]),
|
|
871
930
|
_: 1
|
|
872
|
-
}, 8, ["modelValue", "plugins"]),
|
|
873
|
-
e.activeSimpleModal ? (p(),
|
|
931
|
+
}, 8, ["modelValue", "plugins"])),
|
|
932
|
+
e.activeSimpleModal ? (p(), n1(j, {
|
|
874
933
|
key: 0,
|
|
875
934
|
buttons: e.modalSimpleConf.button,
|
|
876
935
|
"header-text": e.modalSimpleConf.header,
|
|
877
936
|
text: e.modalSimpleConf.text,
|
|
878
937
|
action: e.modalSimpleConf.action,
|
|
879
|
-
onClose: o[
|
|
880
|
-
onActionHandling: o[
|
|
881
|
-
}, null, 8, ["buttons", "header-text", "text", "action"])) :
|
|
938
|
+
onClose: o[10] || (o[10] = (r) => e.activeSimpleModal = !1),
|
|
939
|
+
onActionHandling: o[11] || (o[11] = (r) => e.gotToHome())
|
|
940
|
+
}, null, 8, ["buttons", "header-text", "text", "action"])) : H("", !0)
|
|
882
941
|
])
|
|
883
|
-
], 512)) :
|
|
942
|
+
], 512)) : H("", !0)
|
|
884
943
|
]);
|
|
885
944
|
}
|
|
886
|
-
const
|
|
945
|
+
const K3 = /* @__PURE__ */ ue(fe, [["render", Re]]);
|
|
887
946
|
export {
|
|
888
|
-
|
|
947
|
+
K3 as default
|
|
889
948
|
};
|