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