@piveau/dpi 0.2.0-alpha.42 → 0.2.0-alpha.44
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/DataCollection/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +9 -9
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +89 -86
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +74 -74
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +22 -21
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { pipe as A } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as f from "effect/Option";
|
|
3
3
|
import * as H from "jsonld";
|
|
4
|
-
import { schemaProject as
|
|
4
|
+
import { schemaProject as C } from "../../schema/projectLdSchema.js";
|
|
5
5
|
import { getFirstItem as G, extractStringValue as t, extractLocalizedString as N } from "../useDpiSimpleLoader.js";
|
|
6
6
|
import { isNonNullable as h } from "./encodeProject.js";
|
|
7
|
-
import { PREFIXES as F, nonEmpty as
|
|
7
|
+
import { PREFIXES as F, nonEmpty as I } from "./shared.js";
|
|
8
8
|
function W(n) {
|
|
9
9
|
const a = (n || "").trim();
|
|
10
10
|
if (!a)
|
|
@@ -16,7 +16,7 @@ function W(n) {
|
|
|
16
16
|
return a;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
async function
|
|
19
|
+
async function K(n) {
|
|
20
20
|
const a = {
|
|
21
21
|
"@context": F,
|
|
22
22
|
"@type": "schema:Project"
|
|
@@ -26,18 +26,18 @@ async function C(n) {
|
|
|
26
26
|
}), r = await H.compact(s, F, {
|
|
27
27
|
compactArrays: !1,
|
|
28
28
|
graph: !1
|
|
29
|
-
}),
|
|
30
|
-
if (!
|
|
29
|
+
}), l = C.safeParse(G(r == null ? void 0 : r["@graph"]));
|
|
30
|
+
if (!l.success)
|
|
31
31
|
throw new Error(`Failed to parse project
|
|
32
32
|
|
|
33
|
-
${
|
|
34
|
-
return
|
|
33
|
+
${l.error.message}`);
|
|
34
|
+
return l.data;
|
|
35
35
|
}
|
|
36
36
|
function U(n) {
|
|
37
|
-
return
|
|
37
|
+
return I(G(n["@id"]));
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
var r,
|
|
39
|
+
function V(n, a) {
|
|
40
|
+
var r, l;
|
|
41
41
|
const { visibility: s } = a;
|
|
42
42
|
return {
|
|
43
43
|
"Auffindbarkeit/Sichtbarkeit": {
|
|
@@ -47,39 +47,39 @@ function K(n, a) {
|
|
|
47
47
|
categories: ((r = n["dcat:theme"]) == null ? void 0 : r.map(U).filter(h)) || []
|
|
48
48
|
},
|
|
49
49
|
"Auffindbarkeit/Anwendungsbereiche": {
|
|
50
|
-
applications: ((
|
|
50
|
+
applications: ((l = n["schema:application"]) == null ? void 0 : l.filter(h)) || []
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function R(n) {
|
|
55
55
|
var s;
|
|
56
56
|
const a = (s = n["dcat:contactPoint"]) == null ? void 0 : s.map((r) => ({
|
|
57
|
-
name:
|
|
58
|
-
mail:
|
|
59
|
-
phone:
|
|
57
|
+
name: I(t(r["vcard:fn"])),
|
|
58
|
+
mail: I(t(r["vcard:hasEmail"])),
|
|
59
|
+
phone: I(t(r["vcard:hasTelephone"]))
|
|
60
60
|
})).filter(h);
|
|
61
61
|
return {
|
|
62
62
|
"Grundlegende Informationen/Name": {
|
|
63
63
|
projectName: A(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
f.fromNullable(N(n["dct:title"], "de")),
|
|
65
|
+
f.flatMap((r) => I(r) ? f.some(r) : f.none()),
|
|
66
|
+
f.getOrThrowWith(() => new Error("Project name is missing"))
|
|
67
67
|
)
|
|
68
68
|
},
|
|
69
69
|
"Grundlegende Informationen/Beschreibung": {
|
|
70
70
|
projectDescription: A(
|
|
71
|
-
|
|
71
|
+
f.fromNullable(N(n["dct:description"], "de")),
|
|
72
72
|
// O.flatMap(s => nonEmpty(s) ? O.some(s) : O.none()),
|
|
73
73
|
// O.getOrThrowWith(() => new Error('Project description is missing')),
|
|
74
|
-
|
|
74
|
+
f.getOrElse(() => "")
|
|
75
75
|
)
|
|
76
76
|
},
|
|
77
77
|
"Grundlegende Informationen/Projektstatus": {
|
|
78
78
|
projectName: A(
|
|
79
|
-
|
|
79
|
+
f.fromNullable(n["schema:status"]),
|
|
80
80
|
// O.flatMap(s => nonEmpty(s) ? O.some(s) : O.none()),
|
|
81
81
|
// O.getOrThrowWith(() => new Error('Project status is missing')),
|
|
82
|
-
|
|
82
|
+
f.getOrElse(() => "")
|
|
83
83
|
)
|
|
84
84
|
},
|
|
85
85
|
"Grundlegende Informationen/Organisation": {
|
|
@@ -91,8 +91,8 @@ function V(n) {
|
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
var a, s, r,
|
|
94
|
+
function _(n) {
|
|
95
|
+
var a, s, r, l, p, k, D, i;
|
|
96
96
|
return {
|
|
97
97
|
"Optionale Daten": {
|
|
98
98
|
partners: ((a = n["dct:contributor"]) == null ? void 0 : a.map((c) => ({
|
|
@@ -100,12 +100,12 @@ function R(n) {
|
|
|
100
100
|
url: t(c["foaf:homepage"])
|
|
101
101
|
})).filter(h)) || [],
|
|
102
102
|
requiredExpertise: ((s = n["schema:skills"]) == null ? void 0 : s.map(t).filter(h)) || [],
|
|
103
|
-
references: ((
|
|
103
|
+
references: ((l = (r = n["dct:references"]) == null ? void 0 : r.filter((c) => c["dct:type"] === "image")) == null ? void 0 : l.map((c) => ({
|
|
104
104
|
homepage: t(c["schema:url"])
|
|
105
105
|
})).filter(h)) || [],
|
|
106
106
|
startDate: t(n["schema:startDate"] || ""),
|
|
107
107
|
endDate: t(n["schema:endDate"] || ""),
|
|
108
|
-
budget: t(((
|
|
108
|
+
budget: t(((p = n["schema:amount"]) == null ? void 0 : p["schema:value"]) || ""),
|
|
109
109
|
budgetDescription: t(((k = n["schema:amount"]) == null ? void 0 : k["schema:description"]) || ""),
|
|
110
110
|
// todo:
|
|
111
111
|
links: ((i = (D = n["dct:references"]) == null ? void 0 : D.filter((c) => c["dct:type"] === "documentation")) == null ? void 0 : i.map((c) => ({
|
|
@@ -118,22 +118,22 @@ function R(n) {
|
|
|
118
118
|
}
|
|
119
119
|
function $(n) {
|
|
120
120
|
const a = n["schema:hasPart"] ?? [], s = (u) => a.find((m) => m["dct:type"] === u), r = (u) => {
|
|
121
|
-
var
|
|
122
|
-
const m = /* @__PURE__ */ new Map(),
|
|
123
|
-
const y = Number.parseInt(t(
|
|
121
|
+
var g, w;
|
|
122
|
+
const m = /* @__PURE__ */ new Map(), S = [...(u == null ? void 0 : u["schema:question"]) ?? []].sort((e, d) => {
|
|
123
|
+
const y = Number.parseInt(t(e["schema:position"])), z = Number.parseInt(t(d["schema:position"]));
|
|
124
124
|
return (Number.isNaN(y) ? 0 : y) - (Number.isNaN(z) ? 0 : z);
|
|
125
125
|
});
|
|
126
|
-
for (const
|
|
127
|
-
const
|
|
128
|
-
|
|
126
|
+
for (const e of S) {
|
|
127
|
+
const d = (g = e["schema:text"]) == null ? void 0 : g.trim(), y = (w = e["schema:acceptedAnswer"]) == null ? void 0 : w.trim();
|
|
128
|
+
d && y && m.set(d, y);
|
|
129
129
|
}
|
|
130
130
|
return m;
|
|
131
|
-
},
|
|
131
|
+
}, l = {
|
|
132
132
|
projectTriggers: "Was waren Ausloeser fuer das Projekt (z. B. rechtliche oder politische Vorgaben, intrinsische Motivation oder inspirierende Projekte aus anderen Kommunen)?",
|
|
133
133
|
involvedStakeholders: "Welche relevanten Akteure innerhalb oder ausserhalb Ihrer Organisation haben Sie fruehzeitig involviert (z. B. um politische Rueckendeckung sicherzustellen)?",
|
|
134
134
|
dataCollectionMethod: "Wie haben Sie den Bestand vorhandener Daten erhoben?",
|
|
135
135
|
budgetPlanning: "Wie haben Sie das erste Budget berechnet und nachhaltig gesichert?"
|
|
136
|
-
},
|
|
136
|
+
}, p = {
|
|
137
137
|
requirementsGatherings: "Wie haben Sie die Anforderungen erhoben und dokumentiert (z. B. durch Markterkundung, externe Berater oder Workshops)?",
|
|
138
138
|
tenderFormat: "Welche Ausschreibungsform haben Sie gewaehlt und warum? Gab es eine Vorlage oder Muster-Leistungsbeschreibung, die hilfreich war?",
|
|
139
139
|
tenderTips: "Welche Tipps haben Sie fuer eine erfolgreiche Ausschreibung?",
|
|
@@ -149,18 +149,18 @@ function $(n) {
|
|
|
149
149
|
dataCollectionMethod: "Gibt es Plaene fuer eine Skalierung oder Weiterentwicklung? Wenn ja, wie sichern Sie die Finanzierung dafuer?",
|
|
150
150
|
budgetPlanning: "Welche externen Unterstuetzungsangebote haben Ihnen geholfen oder auch gefehlt?"
|
|
151
151
|
}, i = (u, m) => {
|
|
152
|
-
const
|
|
153
|
-
for (const [
|
|
154
|
-
const
|
|
155
|
-
|
|
152
|
+
const v = s(u), S = r(v), g = {};
|
|
153
|
+
for (const [w, e] of Object.entries(m)) {
|
|
154
|
+
const d = S.get(e);
|
|
155
|
+
d && (g[w] = d);
|
|
156
156
|
}
|
|
157
|
-
return
|
|
158
|
-
}, c = i("Initiieren",
|
|
157
|
+
return g;
|
|
158
|
+
}, c = i("Initiieren", l), b = i("Planen", p), j = i("Umsetzen", k), P = i("Weiterdenken", D);
|
|
159
159
|
return {
|
|
160
160
|
"Projektphasen (optional)": {},
|
|
161
161
|
"Projektphasen (optional)/Initiieren": c,
|
|
162
|
-
"Projektphasen (optional)/Planen":
|
|
163
|
-
"Projektphasen (optional)/Umsetzen":
|
|
162
|
+
"Projektphasen (optional)/Planen": b,
|
|
163
|
+
"Projektphasen (optional)/Umsetzen": j,
|
|
164
164
|
"Projektphasen (optional)/Weiterdenken": P
|
|
165
165
|
};
|
|
166
166
|
}
|
|
@@ -188,76 +188,76 @@ function L(n) {
|
|
|
188
188
|
"4. Datenvisualisierung/Software": {},
|
|
189
189
|
"4. Datenvisualisierung/Datensätze": {},
|
|
190
190
|
"4. Datenvisualisierung/Hardware": {}
|
|
191
|
-
},
|
|
191
|
+
}, l = (i) => `${i}/Grundlegende Informationen`, p = (i) => `${i}/Software`, k = (i) => `${i}/Datensätze`, D = (i) => `${i}/Hardware`;
|
|
192
192
|
for (const i of a) {
|
|
193
|
-
const c = (t(i["p-plan:Activity"] || "") || "").trim().toLowerCase(),
|
|
194
|
-
if (!
|
|
193
|
+
const c = (t(i["p-plan:Activity"] || "") || "").trim().toLowerCase(), b = s[c];
|
|
194
|
+
if (!b)
|
|
195
195
|
continue;
|
|
196
|
-
const
|
|
196
|
+
const j = N(i["dct:description"], "de") || "", P = j === "__EMPTY__" ? "" : j, u = (i["prov:used"] || []).map((e) => ({
|
|
197
197
|
name: t(e["dct:title"]) || ""
|
|
198
198
|
// description: extractStringValue(m['dct:description']) || undefined,
|
|
199
|
-
})).filter((e) => (e.name ?? "").length > 0),
|
|
199
|
+
})).filter((e) => (e.name ?? "").length > 0), m = (i["dct:references"] || []).filter((e) => t(e["dct:type"]) === "documentation").map((e) => ({
|
|
200
200
|
name: t(e["dct:title"]) || "",
|
|
201
201
|
url: t(e["schema:url"]) || "",
|
|
202
202
|
description: t(e["dct:description"]) || void 0
|
|
203
203
|
})).filter((e) => e.url.length > 0 && e.name.length > 0);
|
|
204
|
-
(
|
|
205
|
-
...
|
|
206
|
-
...
|
|
207
|
-
...
|
|
204
|
+
(P || u.length > 0 || m.length > 0) && (r[l(b)] = {
|
|
205
|
+
...P ? { description: P } : {},
|
|
206
|
+
...u.length > 0 ? { methods: u } : {},
|
|
207
|
+
...m.length > 0 ? { links: m } : {}
|
|
208
208
|
});
|
|
209
|
-
const
|
|
209
|
+
const v = i["p-plan:hasInputVar"] || [], S = v.filter((e) => t(e["@type"]) === "schema:SoftwareApplication").map((e) => ({
|
|
210
210
|
id: W(t(e["dct:identifier"]) || ""),
|
|
211
|
-
functionalities: (e["schema:featureList"] || []).map((
|
|
211
|
+
functionalities: (e["schema:featureList"] || []).map((d) => t(d)).filter(h)
|
|
212
212
|
})).filter((e) => e.id.length > 0);
|
|
213
|
-
|
|
214
|
-
selected:
|
|
213
|
+
S.length > 0 && (r[p(b)] = {
|
|
214
|
+
selected: S
|
|
215
215
|
});
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
selected:
|
|
216
|
+
const g = v.filter((e) => t(e["@type"]) === "dcat:Dataset").map((e) => ({ id: W(t(e["dct:identifier"]) || "") })).filter((e) => e.id.length > 0);
|
|
217
|
+
g.length > 0 && (r[k(b)] = {
|
|
218
|
+
selected: g
|
|
219
219
|
});
|
|
220
|
-
const
|
|
221
|
-
const
|
|
220
|
+
const w = v.filter((e) => t(e["@type"]) === "ssn:System").map((e) => {
|
|
221
|
+
const d = e["ssn:deployedSystem"], y = W(t(e["dct:identifier"]) || ""), z = d && typeof d == "object" ? W(t(d["@id"]) || d["@id"]) : "", q = y || z, x = N(e["dct:description"], "de") || void 0, E = (e["ssn:forProperty"] || []).map((o) => t(o)).filter(h), M = (e["sosa:hasLocation"] || []).map((o) => ({ lat: t(o["geo:lat"]) || "", lng: t(o["geo:long"]) || "" })).filter((o) => o.lat.length > 0 && o.lng.length > 0), B = (e["foaf:depiction"] || []).map((o) => U(o)).filter(h), T = (e["dct:references"] || []).filter((o) => t(o["dct:type"]) === "documentation").map((o) => ({
|
|
222
222
|
name: t(o["dct:title"]) || "",
|
|
223
223
|
url: t(o["schema:url"]) || "",
|
|
224
224
|
description: t(o["dct:description"]) || void 0
|
|
225
225
|
})).filter((o) => o.url.length > 0), O = (e["ssn-system:hasSystemCapability"] || []).map((o) => t(o)).filter(h);
|
|
226
226
|
return {
|
|
227
|
-
id:
|
|
227
|
+
id: q,
|
|
228
228
|
...x ? { description: x } : {},
|
|
229
229
|
...E.length > 0 ? { forProperty: E } : {},
|
|
230
|
-
...
|
|
231
|
-
...
|
|
230
|
+
...M.length > 0 ? { locations: M } : {},
|
|
231
|
+
...B.length > 0 ? { depictions: B } : {},
|
|
232
232
|
...T.length > 0 ? { references: T } : {},
|
|
233
233
|
...O.length > 0 ? { functionalities: O } : {},
|
|
234
234
|
isHostedBy: e["sosa:isHostedBy"] || [],
|
|
235
235
|
hosts: []
|
|
236
236
|
};
|
|
237
237
|
}).filter((e) => (e.id ?? "").length > 0);
|
|
238
|
-
|
|
239
|
-
selected:
|
|
238
|
+
w.length > 0 && (r[D(b)] = {
|
|
239
|
+
selected: w
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
return r;
|
|
243
243
|
}
|
|
244
|
-
async function
|
|
245
|
-
const s = await
|
|
244
|
+
async function ee(n, a) {
|
|
245
|
+
const s = await K(n);
|
|
246
246
|
return {
|
|
247
247
|
Landing: {},
|
|
248
|
-
...
|
|
249
|
-
...V(s),
|
|
248
|
+
...V(s, { visibility: (a == null ? void 0 : a.visibility) || "public" }),
|
|
250
249
|
...R(s),
|
|
250
|
+
..._(s),
|
|
251
251
|
...$(s),
|
|
252
252
|
...L(s),
|
|
253
253
|
Vorschau: {}
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
export {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
257
|
+
ee as decodeProject,
|
|
258
|
+
V as toAuffindbarkeit,
|
|
259
|
+
R as toGrundlegendeInformationen,
|
|
260
|
+
_ as toOptionaleDaten,
|
|
261
261
|
$ as toProjektphasen,
|
|
262
262
|
L as toTechnicalProcessSteps
|
|
263
263
|
};
|
|
@@ -7,7 +7,7 @@ import { whenever as B1, useWindowScroll as E1 } from "@vueuse/core";
|
|
|
7
7
|
import "axios";
|
|
8
8
|
import "jquery";
|
|
9
9
|
import { has as U, isNil as c1 } from "lodash-es";
|
|
10
|
-
import { defineComponent as A1, resolveComponent as r, createElementBlock as d, openBlock as p, createCommentVNode as h, createElementVNode as i, createBlock as C1, withModifiers as U1, withCtx as n, createVNode as t, Fragment as f1, renderList as v1, normalizeClass as N1, createTextVNode as S1, toDisplayString as
|
|
10
|
+
import { defineComponent as A1, resolveComponent as r, createElementBlock as d, openBlock as p, createCommentVNode as h, createElementVNode as i, createBlock as C1, withModifiers as U1, withCtx as n, createVNode as t, Fragment as f1, renderList as v1, normalizeClass as N1, createTextVNode as S1, toDisplayString as _, computed as M, ref as v, markRaw as R1, toRef as z1, watch as g1, nextTick as G1 } from "vue";
|
|
11
11
|
import { useI18n as W1 } from "vue-i18n";
|
|
12
12
|
import { useRouter as q1 } from "vue-router";
|
|
13
13
|
import { mapActions as h1, mapGetters as V1 } from "vuex";
|
|
@@ -45,8 +45,8 @@ import be from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
|
45
45
|
import ye from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
46
46
|
import ke from "../HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js";
|
|
47
47
|
import Pe from "../HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js";
|
|
48
|
-
import
|
|
49
|
-
import
|
|
48
|
+
import Ie from "../HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js";
|
|
49
|
+
import _e from "../HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js";
|
|
50
50
|
import Me from "../HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js";
|
|
51
51
|
import Fe from "../HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js";
|
|
52
52
|
import Le from "../HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js";
|
|
@@ -110,7 +110,7 @@ const ze = A1({
|
|
|
110
110
|
ProjectOrganisationStep: pe,
|
|
111
111
|
SoftwareStep: Me,
|
|
112
112
|
DatasetStep: Pe,
|
|
113
|
-
HardwareStep:
|
|
113
|
+
HardwareStep: Ie,
|
|
114
114
|
OptionalDataStep: ke,
|
|
115
115
|
InitiierenStep: Fe,
|
|
116
116
|
UmstezenStep: je,
|
|
@@ -120,7 +120,7 @@ const ze = A1({
|
|
|
120
120
|
DataProcessingBasicInformationStep: Ce,
|
|
121
121
|
DataVisualisationBasicInformationStep: ve,
|
|
122
122
|
DataSimulationBasicInformationStep: fe,
|
|
123
|
-
ProcessStepsOverviewStep:
|
|
123
|
+
ProcessStepsOverviewStep: _e,
|
|
124
124
|
ReviewStep: $e,
|
|
125
125
|
ProjektPhasenOverviewStep: Te,
|
|
126
126
|
Card: me,
|
|
@@ -336,7 +336,7 @@ const ze = A1({
|
|
|
336
336
|
set(l) {
|
|
337
337
|
Z(l.id);
|
|
338
338
|
}
|
|
339
|
-
}), b1 = v(!1), { organization: y1, catalogProject: k1, startFetchPermissions: P1, userRoles:
|
|
339
|
+
}), b1 = v(!1), { organization: y1, catalogProject: k1, startFetchPermissions: P1, userRoles: I1, permissions: _1 } = ne({
|
|
340
340
|
keycloak: ((l1 = (s1 = e.authentication) == null ? void 0 : s1.keycloak) == null ? void 0 : l1.url) || "https://keycloak.twin.bydata.de",
|
|
341
341
|
realm: ((d1 = (p1 = e.authentication) == null ? void 0 : p1.keycloak) == null ? void 0 : d1.realm) || "piveau",
|
|
342
342
|
audience: "piveau-hub-repo"
|
|
@@ -357,7 +357,7 @@ const ze = A1({
|
|
|
357
357
|
const P = a1("dpiForm");
|
|
358
358
|
if (P)
|
|
359
359
|
if (S.includes("#")) {
|
|
360
|
-
const [
|
|
360
|
+
const [I, $1] = S.split("#"), u1 = P.at([I]);
|
|
361
361
|
if (!u1)
|
|
362
362
|
return;
|
|
363
363
|
const n1 = u1.at(["$self", $1]);
|
|
@@ -365,10 +365,10 @@ const ze = A1({
|
|
|
365
365
|
return;
|
|
366
366
|
n1._value = {}, m1(n1);
|
|
367
367
|
} else {
|
|
368
|
-
const
|
|
369
|
-
if (!
|
|
368
|
+
const I = P.at([S]);
|
|
369
|
+
if (!I)
|
|
370
370
|
return;
|
|
371
|
-
|
|
371
|
+
I._value = {}, m1(I);
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
}
|
|
@@ -412,8 +412,8 @@ const ze = A1({
|
|
|
412
412
|
isSubmittingLoading: F1,
|
|
413
413
|
organization: y1,
|
|
414
414
|
catalogProject: k1,
|
|
415
|
-
userRoles:
|
|
416
|
-
permissions:
|
|
415
|
+
userRoles: I1,
|
|
416
|
+
permissions: _1
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
419
|
}), Ge = { class: "input-page-project form-container V3-typography" }, We = {
|
|
@@ -604,13 +604,13 @@ function vt(e, o, u, y, F, g) {
|
|
|
604
604
|
}
|
|
605
605
|
}, [
|
|
606
606
|
i("div", et, [
|
|
607
|
-
i("div", tt,
|
|
607
|
+
i("div", tt, _(A + 1), 1),
|
|
608
608
|
e.checkStepValidity(c) ? (p(), d("span", {
|
|
609
609
|
key: 0,
|
|
610
610
|
class: "step--errors",
|
|
611
|
-
textContent:
|
|
611
|
+
textContent: _(s.errorCount + s.blockingCount)
|
|
612
612
|
}, null, 8, ot)) : h("", !0),
|
|
613
|
-
S1(
|
|
613
|
+
S1(_(e.$t(`message.dataupload.steps.${c}Step`)), 1)
|
|
614
614
|
]),
|
|
615
615
|
A != Object.keys(e.steps).length ? (p(), d("div", it)) : h("", !0)
|
|
616
616
|
], 10, xe))), 128)),
|
|
@@ -622,7 +622,7 @@ function vt(e, o, u, y, F, g) {
|
|
|
622
622
|
i("div", rt, [
|
|
623
623
|
i("details", st, [
|
|
624
624
|
o[15] || (o[15] = i("summary", null, "Form Values", -1)),
|
|
625
|
-
i("pre", lt,
|
|
625
|
+
i("pre", lt, _(JSON.stringify(e.formValues, null, 2)), 1)
|
|
626
626
|
]),
|
|
627
627
|
t(m, null, {
|
|
628
628
|
title: n(() => o[16] || (o[16] = [
|
|
@@ -873,8 +873,9 @@ function vt(e, o, u, y, F, g) {
|
|
|
873
873
|
default: n(() => [
|
|
874
874
|
t(t1, {
|
|
875
875
|
modelValue: e.formValues,
|
|
876
|
-
"onUpdate:modelValue": o[7] || (o[7] = (s) => e.formValues = s)
|
|
877
|
-
|
|
876
|
+
"onUpdate:modelValue": o[7] || (o[7] = (s) => e.formValues = s),
|
|
877
|
+
edit: e.isEditMode
|
|
878
|
+
}, null, 8, ["modelValue", "edit"])
|
|
878
879
|
]),
|
|
879
880
|
_: 1
|
|
880
881
|
}),
|
|
@@ -921,7 +922,7 @@ function vt(e, o, u, y, F, g) {
|
|
|
921
922
|
e.showErrorSummary && e.validationMessages.length ? (p(), d("div", Ct, [
|
|
922
923
|
o[17] || (o[17] = i("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
|
|
923
924
|
i("ul", ft, [
|
|
924
|
-
(p(!0), d(f1, null, v1(e.validationMessages, (s) => (p(), d("li", { key: s },
|
|
925
|
+
(p(!0), d(f1, null, v1(e.validationMessages, (s) => (p(), d("li", { key: s }, _(s), 1))), 128))
|
|
925
926
|
])
|
|
926
927
|
])) : h("", !0),
|
|
927
928
|
o[19] || (o[19] = i("hr", null, null, -1)),
|
|
@@ -943,7 +944,7 @@ function vt(e, o, u, y, F, g) {
|
|
|
943
944
|
], 512)) : h("", !0)
|
|
944
945
|
]);
|
|
945
946
|
}
|
|
946
|
-
const
|
|
947
|
+
const _3 = /* @__PURE__ */ Ae(ze, [["render", vt]]);
|
|
947
948
|
export {
|
|
948
|
-
|
|
949
|
+
_3 as default
|
|
949
950
|
};
|