@piveau/dpi 0.2.0-alpha.8 → 0.2.0-alpha.9
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/ButtonV3.vue.js +30 -29
- 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 +101 -91
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +68 -59
- 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 +59 -62
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +72 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +22 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +9 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +16 -15
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +57 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +161 -161
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +41 -46
- 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 +32 -29
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +3 -4
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +11 -13
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +6 -7
- package/package.json +1 -1
|
@@ -1,4 +1,74 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as w, watch as y, createElementBlock as k, openBlock as B, createElementVNode as i, createVNode as l, mergeProps as _, unref as d, isRef as j, withCtx as A } from "vue";
|
|
2
|
+
import { toTypedSchema as C } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
|
|
3
|
+
import { useForm as E } from "vee-validate";
|
|
4
|
+
import * as D from "zod";
|
|
5
|
+
import I from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
6
|
+
import N from "../ButtonV3.vue.js";
|
|
7
|
+
import R from "./RichOption.vue.js";
|
|
8
|
+
const W = { class: "dpi-project-process-step V3-typography" }, K = { class: "step-section" }, O = { class: "step-section-actions" }, H = /* @__PURE__ */ w({
|
|
9
|
+
__name: "DatasetForm",
|
|
10
|
+
props: {
|
|
11
|
+
exclude: { default: () => [] }
|
|
12
|
+
},
|
|
13
|
+
emits: ["submit"],
|
|
14
|
+
setup(v, { emit: z }) {
|
|
15
|
+
const S = v, g = z, V = D.object({ id: D.string() }), { defineField: x } = E({
|
|
16
|
+
validationSchema: C(V),
|
|
17
|
+
initialValues: { id: "" },
|
|
18
|
+
name: "datasetForm"
|
|
19
|
+
}), [s, F] = x("id");
|
|
20
|
+
return y(s, (m) => {
|
|
21
|
+
const n = String(m || "").trim();
|
|
22
|
+
n && g("submit", { id: n });
|
|
23
|
+
}), (m, n) => (B(), k("div", W, [
|
|
24
|
+
i("section", K, [
|
|
25
|
+
n[1] || (n[1] = i("h5", null, "Wählen Sie einen bestehenden Datensatz", -1)),
|
|
26
|
+
n[2] || (n[2] = i("p", null, "Falls der Datensatz schon in unserem System existiert, können Sie ihn hier auswählen.", -1)),
|
|
27
|
+
l(I, _({
|
|
28
|
+
modelValue: d(s),
|
|
29
|
+
"onUpdate:modelValue": n[0] || (n[0] = (e) => j(s) ? s.value = e : null)
|
|
30
|
+
}, d(F), {
|
|
31
|
+
"base-url": "https://twin.bydata.de/api/hub/search",
|
|
32
|
+
resource: "dataset",
|
|
33
|
+
label: "",
|
|
34
|
+
placeholder: "Wählen Sie einen Datensatz.",
|
|
35
|
+
name: "dataset",
|
|
36
|
+
"setup-fn": (e) => {
|
|
37
|
+
var t, r, o, u, p, c, f, h, b;
|
|
38
|
+
return {
|
|
39
|
+
id: e == null ? void 0 : e.id,
|
|
40
|
+
name: ((t = e == null ? void 0 : e.title) == null ? void 0 : t.de) || ((r = e == null ? void 0 : e.title) == null ? void 0 : r.en) || (e == null ? void 0 : e.id),
|
|
41
|
+
description: ((o = e == null ? void 0 : e.description) == null ? void 0 : o.de) || ((u = e == null ? void 0 : e.description) == null ? void 0 : u.en),
|
|
42
|
+
manufacturer: ((c = (p = e == null ? void 0 : e.publisher) == null ? void 0 : p.name) == null ? void 0 : c.de) || ((h = (f = e == null ? void 0 : e.publisher) == null ? void 0 : f.name) == null ? void 0 : h.en) || ((b = e == null ? void 0 : e.publisher) == null ? void 0 : b.name),
|
|
43
|
+
unavailable: S.exclude.includes(e == null ? void 0 : e.id)
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}), {
|
|
47
|
+
option: A(({ option: e, active: t, selected: r, disabled: o }) => [
|
|
48
|
+
l(R, {
|
|
49
|
+
name: e.name,
|
|
50
|
+
manufacturer: e.manufacturer,
|
|
51
|
+
description: e.description,
|
|
52
|
+
active: t,
|
|
53
|
+
selected: r,
|
|
54
|
+
disabled: o
|
|
55
|
+
}, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 16, ["modelValue", "setup-fn"]),
|
|
59
|
+
n[3] || (n[3] = i("h5", null, "oder", -1)),
|
|
60
|
+
n[4] || (n[4] = i("p", null, " Sollte der verwendete Datensatz noch nicht im Katalog verfügbar sein, legen Sie einen neuen Datensatz an. Der Datensatz kann zugeordnet werden, sobald er veröffentlicht ist. ", -1)),
|
|
61
|
+
i("div", O, [
|
|
62
|
+
l(N, {
|
|
63
|
+
"button-text": "Zur Datensatzanlage",
|
|
64
|
+
size: "medium",
|
|
65
|
+
variant: "secondary"
|
|
66
|
+
})
|
|
67
|
+
])
|
|
68
|
+
])
|
|
69
|
+
]));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
2
72
|
export {
|
|
3
|
-
|
|
73
|
+
H as default
|
|
4
74
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as H, ref as I, computed as l, toRef as
|
|
1
|
+
import { defineComponent as H, ref as I, computed as l, toRef as M, createBlock as u, openBlock as r, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as d, isRef as N, Fragment as T, renderList as $, createCommentVNode as h, createTextVNode as c, toDisplayString as D } from "vue";
|
|
2
2
|
import { FormKit as b } from "@formkit/vue";
|
|
3
3
|
import { schemaDataset as G } from "@piveau/sdk-core";
|
|
4
4
|
import { defineHubSearch as O, dcatApDataset as E } from "@piveau/sdk-vue";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
5
|
+
import F from "../../../components/StepActionsSection.vue.js";
|
|
6
|
+
import P from "../ActionCard.vue.js";
|
|
7
|
+
import U from "../Card.vue.js";
|
|
8
|
+
import _ from "../SummaryBox.vue.js";
|
|
9
|
+
import W from "./AreYouSureToSkipCard.vue.js";
|
|
10
10
|
import L from "./DatasetForm.vue.js";
|
|
11
11
|
import K from "./ProcessStepBase.vue.js";
|
|
12
12
|
/* empty css */
|
|
@@ -24,7 +24,7 @@ const J = {
|
|
|
24
24
|
edit: { type: Boolean }
|
|
25
25
|
},
|
|
26
26
|
setup(g) {
|
|
27
|
-
const
|
|
27
|
+
const y = g, a = I([]), { useResources: k } = O({
|
|
28
28
|
baseUrl: "https://twin.bydata.de/api/hub/search",
|
|
29
29
|
index: "dataset",
|
|
30
30
|
indexDetails: "datasets",
|
|
@@ -57,7 +57,7 @@ const J = {
|
|
|
57
57
|
function R(n) {
|
|
58
58
|
a.value.push(n);
|
|
59
59
|
}
|
|
60
|
-
const { count: m, realCount: B } = j(
|
|
60
|
+
const { count: m, realCount: B } = j(y.stepGroup || "", M(y.edit)), A = l(() => a.value.length > 0 ? "Weiter" : "Weiter ohne Datensätze"), C = l(() => a.value.length > 0 ? "primary" : "secondary");
|
|
61
61
|
return (n, e) => (r(), u(K, {
|
|
62
62
|
title: "Geben Sie Informationen zu verwendeten Datensätzen an",
|
|
63
63
|
subtitle: "Geben Sie an, welche Datensätze Sie für diesen Prozessschritt verwendet haben. Sie können entweder einen bestehenden Datensatz auswählen oder einen Datensatz neu anlegen. Wenn Sie einen Datensatz neu anlegen, haben Sie die Möglichkeit die Sichtbarkeit des Datensatzes einzuschränken."
|
|
@@ -65,7 +65,7 @@ const J = {
|
|
|
65
65
|
default: i(({ confirm: s }) => [
|
|
66
66
|
o(d(b), {
|
|
67
67
|
modelValue: d(m),
|
|
68
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
|
68
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => N(m) ? m.value = t : null),
|
|
69
69
|
type: "hidden",
|
|
70
70
|
name: "__resourceCount",
|
|
71
71
|
hidden: "",
|
|
@@ -84,7 +84,7 @@ const J = {
|
|
|
84
84
|
"aria-hidden": ""
|
|
85
85
|
}, null, 8, ["modelValue"]),
|
|
86
86
|
S.value.length ? (r(), f("section", Q, [
|
|
87
|
-
(r(!0), f(
|
|
87
|
+
(r(!0), f(T, null, $(S.value, (t, p) => (r(), u(P, {
|
|
88
88
|
key: p,
|
|
89
89
|
class: "software-card",
|
|
90
90
|
"no-edit": !0,
|
|
@@ -95,36 +95,36 @@ const J = {
|
|
|
95
95
|
])),
|
|
96
96
|
default: i(() => [
|
|
97
97
|
v("div", X, [
|
|
98
|
-
o(
|
|
98
|
+
o(_, { title: "Name" }, {
|
|
99
99
|
default: i(() => [
|
|
100
|
-
c(
|
|
100
|
+
c(D(t.name), 1)
|
|
101
101
|
]),
|
|
102
102
|
_: 2
|
|
103
103
|
}, 1024),
|
|
104
|
-
t.manufacturer ? (r(), u(
|
|
104
|
+
t.manufacturer ? (r(), u(_, {
|
|
105
105
|
key: 0,
|
|
106
106
|
title: "Datenbereitsteller, Aktualisiert"
|
|
107
107
|
}, {
|
|
108
108
|
default: i(() => [
|
|
109
|
-
c(
|
|
109
|
+
c(D(t.manufacturer), 1)
|
|
110
110
|
]),
|
|
111
111
|
_: 2
|
|
112
|
-
}, 1024)) :
|
|
113
|
-
t.description ? (r(), u(
|
|
112
|
+
}, 1024)) : h("", !0),
|
|
113
|
+
t.description ? (r(), u(_, {
|
|
114
114
|
key: 1,
|
|
115
115
|
title: "Beschreibung"
|
|
116
116
|
}, {
|
|
117
117
|
default: i(() => [
|
|
118
|
-
c(
|
|
118
|
+
c(D(t.description), 1)
|
|
119
119
|
]),
|
|
120
120
|
_: 2
|
|
121
|
-
}, 1024)) :
|
|
121
|
+
}, 1024)) : h("", !0)
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
125
125
|
}, 1032, ["onDelete"]))), 128))
|
|
126
126
|
])) : (r(), f("section", J, [
|
|
127
|
-
o(
|
|
127
|
+
o(U, {
|
|
128
128
|
small: "",
|
|
129
129
|
class: "empty-card"
|
|
130
130
|
}, {
|
|
@@ -140,14 +140,14 @@ const J = {
|
|
|
140
140
|
onSubmit: R
|
|
141
141
|
}, null, 8, ["exclude"]),
|
|
142
142
|
v("section", Y, [
|
|
143
|
-
o(
|
|
143
|
+
o(F, {
|
|
144
144
|
"next-text": A.value,
|
|
145
145
|
"next-variant": C.value
|
|
146
146
|
}, null, 8, ["next-text", "next-variant"]),
|
|
147
|
-
d(B) === 0 ? (r(), u(
|
|
147
|
+
d(B) === 0 ? (r(), u(W, {
|
|
148
148
|
key: 0,
|
|
149
149
|
"resource-label": "Datensätze"
|
|
150
|
-
})) :
|
|
150
|
+
})) : h("", !0)
|
|
151
151
|
])
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HardwareForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-017dbc28"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -10,10 +10,13 @@ import ke from "../ListBox/Listbox.vue.js";
|
|
|
10
10
|
import ye from "../TextAreaV3.vue.js";
|
|
11
11
|
import H from "./ProcessStepInputCard.vue.js";
|
|
12
12
|
import bt from "./RichOption.vue.js";
|
|
13
|
-
const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "step-section" }, kt = { key: 0 }, yt = { class: "step-section-actions" }, St = { class: "step-section
|
|
13
|
+
const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "step-section" }, kt = { key: 0 }, yt = { class: "step-section-actions" }, St = { class: "step-section" }, Vt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "functionalities-container"
|
|
16
|
-
}, zt = ["id", "value"], It = { class: "step-section-actions" }, Ft = { class: "step-section" }, Ht = { class: "step-section" }, xt = { class: "step-section-actions" }, Bt = { class: "step-section" }, Ut = { class: "step-section-actions" }, $t = { class: "step-section" }, At = {
|
|
16
|
+
}, zt = ["id", "value"], It = { class: "step-section-actions" }, Ft = { class: "step-section" }, Ht = { class: "step-section" }, xt = { class: "step-section-actions" }, Bt = { class: "step-section" }, Ut = { class: "step-section-actions" }, $t = { class: "step-section" }, At = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "functionalities-container"
|
|
19
|
+
}, Ct = ["id", "value"], Dt = { class: "step-section-actions" }, Pt = { class: "step-section" }, Zt = { class: "step-section-actions" }, Wt = { class: "step-section" }, Lt = { class: "step-section-actions" }, _t = { class: "step-section" }, Gt = { class: "step-section-actions" }, Rt = { class: "step-section-actions" }, Se = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Ve = "Wählen Sie einen Zweck aus oder nennen Sie einen Zweck.", C = 500, en = /* @__PURE__ */ ft({
|
|
17
20
|
__name: "HardwareForm",
|
|
18
21
|
props: /* @__PURE__ */ he({
|
|
19
22
|
modelValue: {},
|
|
@@ -286,7 +289,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
286
289
|
"@search": !1,
|
|
287
290
|
"@selected": !0
|
|
288
291
|
},
|
|
289
|
-
data: { "@value": e, URI: e }
|
|
292
|
+
data: { "@value": e, URI: e },
|
|
293
|
+
"select-value": !0
|
|
290
294
|
}, null, 8, ["for", "text", "data"])
|
|
291
295
|
]))), 128))
|
|
292
296
|
])) : F("", !0),
|
|
@@ -444,7 +448,8 @@ const wt = { class: "dpi-project-process-step V3-typography" }, gt = { class: "s
|
|
|
444
448
|
"@search": !1,
|
|
445
449
|
"@selected": !0
|
|
446
450
|
},
|
|
447
|
-
data: { "@value": e, URI: e }
|
|
451
|
+
data: { "@value": e, URI: e },
|
|
452
|
+
"select-value": !0
|
|
448
453
|
}, null, 8, ["for", "text", "data"])
|
|
449
454
|
]))), 128))
|
|
450
455
|
])) : F("", !0),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SoftwareForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5a706c01"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, mergeModels as _, useModel as ue, unref as i, watch as R, ref as ae, computed as
|
|
1
|
+
import { defineComponent as re, mergeModels as _, useModel as ue, unref as i, watch as R, ref as ae, computed as v, createElementBlock as f, openBlock as u, createElementVNode as o, createCommentVNode as y, createVNode as a, Fragment as x, mergeProps as g, isRef as w, withCtx as ce, renderList as de, withDirectives as fe, vModelCheckbox as me, createBlock as P } from "vue";
|
|
2
2
|
import { toTypedSchema as T } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
|
|
3
3
|
import { useForm as j, useFieldArray as pe } from "vee-validate";
|
|
4
4
|
import * as l from "zod";
|
|
@@ -6,9 +6,9 @@ import he from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
|
6
6
|
import F from "../ButtonV3.vue.js";
|
|
7
7
|
import Se from "../Chip.vue.js";
|
|
8
8
|
import be from "../InputField.vue.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "step-section" }, Fe = { class: "step-section-actions" }, ke = { class: "step-section
|
|
9
|
+
import ve from "../ListBox/Listbox.vue.js";
|
|
10
|
+
import ye from "./RichOption.vue.js";
|
|
11
|
+
const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "step-section" }, Fe = { class: "step-section-actions" }, ke = { class: "step-section" }, Ve = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "functionalities-container"
|
|
14
14
|
}, Ie = ["id", "value"], xe = { class: "step-section-actions" }, ze = { class: "step-section-actions" }, O = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Te = /* @__PURE__ */ re({
|
|
@@ -57,10 +57,10 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
57
57
|
function ee(n) {
|
|
58
58
|
B.value = n;
|
|
59
59
|
}
|
|
60
|
-
const p =
|
|
60
|
+
const p = v(() => !!c.value), D = v(() => {
|
|
61
61
|
var n;
|
|
62
62
|
return (((n = r.value) == null ? void 0 : n.length) ?? 0) > 0;
|
|
63
|
-
}), te =
|
|
63
|
+
}), te = v(() => {
|
|
64
64
|
var n;
|
|
65
65
|
return ((n = B.value) == null ? void 0 : n.functionalities) ?? [];
|
|
66
66
|
}), ne = l.object({
|
|
@@ -92,7 +92,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
92
92
|
R(c, (n, t) => {
|
|
93
93
|
!!t && !!n && n !== t && (k(), r.value = []);
|
|
94
94
|
});
|
|
95
|
-
const [V, oe] = E("functionalitySelect"), [I, le] = E("functionalityInput"), L =
|
|
95
|
+
const [V, oe] = E("functionalitySelect"), [I, le] = E("functionalityInput"), L = v(() => Array.from(r.value || [])), M = H((n) => {
|
|
96
96
|
h ? A("patch", {
|
|
97
97
|
id: K,
|
|
98
98
|
software: {
|
|
@@ -110,7 +110,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
110
110
|
});
|
|
111
111
|
return (n, t) => (u(), f("div", ge, [
|
|
112
112
|
o("section", we, [
|
|
113
|
-
h ?
|
|
113
|
+
h ? y("", !0) : (u(), f(x, { key: 0 }, [
|
|
114
114
|
t[5] || (t[5] = o("h5", null, "Wählen Sie eine bestehende Software", -1)),
|
|
115
115
|
t[6] || (t[6] = o("p", null, "Falls die Software bereits angelegt wurde, können Sie sie hier auswählen.", -1))
|
|
116
116
|
], 64)),
|
|
@@ -138,7 +138,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
138
138
|
onSelect: ee
|
|
139
139
|
}), {
|
|
140
140
|
option: ce(({ option: e, active: s, selected: d, disabled: b }) => [
|
|
141
|
-
a(
|
|
141
|
+
a(ye, {
|
|
142
142
|
name: e.name,
|
|
143
143
|
manufacturer: e.manufacturer,
|
|
144
144
|
description: e.description,
|
|
@@ -149,7 +149,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
151
151
|
}, 16, ["modelValue", "setup-fn"]),
|
|
152
|
-
h ?
|
|
152
|
+
h ? y("", !0) : (u(), f(x, { key: 1 }, [
|
|
153
153
|
t[7] || (t[7] = o("h5", null, "oder", -1)),
|
|
154
154
|
t[8] || (t[8] = o("p", null, " Sollte die verwendete Software noch nicht im Katalog verfügbar sein, können Sie die Anlage bei uns beantragen. Damit Sie die Dokumentation Ihres Digitalen Zwillings dennoch abschließen können, ordnen Sie dem Prozessschritt vorübergehend den Platzhalter-Datensatz „Software in Beantragung“ zu. Sobald die gewünschten Daten im Katalog verfügbar sind, können Sie diesen Platzhalter durch den tatsächlichen Software-Datensatz ersetzen. ", -1)),
|
|
155
155
|
o("div", Fe, [
|
|
@@ -162,7 +162,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
162
162
|
], 64))
|
|
163
163
|
]),
|
|
164
164
|
o("section", ke, [
|
|
165
|
-
t[9] || (t[9] = o("h5", null, "Wie haben Sie die Software verwendet?", -1)),
|
|
165
|
+
t[9] || (t[9] = o("h5", null, " Wie haben Sie die Software verwendet? ", -1)),
|
|
166
166
|
t[10] || (t[10] = o("p", null, " Beschreiben Sie, wie Sie die angegebene Software verwendet haben. Wählen Sie hierzu die genutzten Funktionalitäten aus oder ergänzen Sie diese. ", -1)),
|
|
167
167
|
L.value.length > 0 ? (u(), f("div", Ve, [
|
|
168
168
|
(u(!0), f(x, null, de(L.value, (e, s) => (u(), f("div", {
|
|
@@ -190,11 +190,12 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
190
190
|
"@search": !1,
|
|
191
191
|
"@selected": !0
|
|
192
192
|
},
|
|
193
|
-
data: { "@value": e, URI: e }
|
|
193
|
+
data: { "@value": e, URI: e },
|
|
194
|
+
"select-value": !0
|
|
194
195
|
}, null, 8, ["for", "text", "data"])
|
|
195
196
|
]))), 128))
|
|
196
|
-
])) :
|
|
197
|
-
a(
|
|
197
|
+
])) : y("", !0),
|
|
198
|
+
a(ve, g({
|
|
198
199
|
modelValue: i(V),
|
|
199
200
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => w(V) ? V.value = e : null),
|
|
200
201
|
options: te.value,
|
|
@@ -230,7 +231,7 @@ const ge = { class: "dpi-project-process-step V3-typography" }, we = { class: "s
|
|
|
230
231
|
}, null, 8, ["disabled", "onClick"])
|
|
231
232
|
])
|
|
232
233
|
]),
|
|
233
|
-
|
|
234
|
+
y("", !0),
|
|
234
235
|
o("section", ze, [
|
|
235
236
|
h ? (u(), P(F, {
|
|
236
237
|
key: 0,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { reactive as z, createElementBlock as c, openBlock as s, createElementVNode as a, createVNode as o, Fragment as v, renderList as S, unref as u, createBlock as x, withCtx as B, withDirectives as h, vShow as m } from "vue";
|
|
2
|
+
import { FormKit as j } from "@formkit/vue";
|
|
3
|
+
import W from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import _ from "../TextArea/TextAreaDefinition.js";
|
|
5
|
+
import g from "../ButtonV3.vue.js";
|
|
5
6
|
/* empty css */
|
|
6
|
-
import
|
|
7
|
-
const
|
|
7
|
+
import P from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const V = { class: "project-phasen-weiterdenken" }, y = { class: "project-phasen-weiterdenken-content" }, C = { class: "actions" }, d = 1e3, E = {
|
|
8
9
|
__name: "WeiterdenkenStep",
|
|
9
|
-
setup(
|
|
10
|
-
const n =
|
|
10
|
+
setup(A) {
|
|
11
|
+
const n = z({
|
|
11
12
|
questions: {
|
|
12
13
|
projectTriggers: {
|
|
13
14
|
question: "Was sind Ihre wichtigsten Learnings aus dem Projekt? Was würden Sie beim nächsten Use Case anders machen?",
|
|
@@ -30,40 +31,74 @@ const S = { class: "project-phasen-weiterdenken" }, j = { class: "project-phasen
|
|
|
30
31
|
answer: ""
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
|
-
}),
|
|
34
|
+
}), p = Object.keys(n.questions).map((t) => ({
|
|
34
35
|
name: t,
|
|
35
36
|
text: n.questions[t].question
|
|
36
37
|
}));
|
|
37
|
-
function
|
|
38
|
+
function w(t, r) {
|
|
38
39
|
n.questions[t].answer = r.slice(0, d);
|
|
39
40
|
}
|
|
40
|
-
return (t, r) => (
|
|
41
|
-
r[1] || (r[1] =
|
|
42
|
-
|
|
41
|
+
return (t, r) => (s(), c("div", V, [
|
|
42
|
+
r[1] || (r[1] = a("div", { class: "project-phasen-weiterdenken-header" }, [
|
|
43
|
+
a("h4", null, "Weiterdenken")
|
|
43
44
|
], -1)),
|
|
44
|
-
|
|
45
|
-
r[0] || (r[0] =
|
|
46
|
-
(
|
|
45
|
+
a("div", y, [
|
|
46
|
+
r[0] || (r[0] = a("p", { class: "project-phasen-weiterdenken-description" }, " Von den Learnings bis zur Skalierung der Projektergebnisse. ", -1)),
|
|
47
|
+
(s(!0), c(v, null, S(u(p), (e) => (s(), x(u(j), {
|
|
47
48
|
key: e.name,
|
|
48
49
|
id: e.name,
|
|
49
50
|
placeholder: n.questions[e.name].placeholder,
|
|
50
51
|
modelValue: n.questions[e.name].answer,
|
|
51
|
-
"onUpdate:modelValue": (
|
|
52
|
+
"onUpdate:modelValue": (i) => n.questions[e.name].answer = i,
|
|
52
53
|
label: e.text,
|
|
53
|
-
type:
|
|
54
|
+
type: u(_),
|
|
54
55
|
name: e.name,
|
|
55
56
|
validation: "length:0,1000",
|
|
56
57
|
hint: "true",
|
|
57
58
|
help: `${n.questions[e.name].answer.length || 0} von ${d} Zeichen`,
|
|
58
59
|
"count-hint": !0,
|
|
59
|
-
onInput: (
|
|
60
|
+
onInput: (i) => w(e.name, i),
|
|
60
61
|
maxlength: d
|
|
61
62
|
}, null, 8, ["id", "placeholder", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128))
|
|
62
63
|
]),
|
|
63
|
-
|
|
64
|
+
o(W, { "next-text": "Weiter zu den Technischen Prozessschritten" }, {
|
|
65
|
+
"prev-and-next": B(({
|
|
66
|
+
hidePrevious: e,
|
|
67
|
+
hideNext: i,
|
|
68
|
+
previousText: k,
|
|
69
|
+
nextText: l,
|
|
70
|
+
handlePrevious: b,
|
|
71
|
+
handleSubmit: f
|
|
72
|
+
}) => [
|
|
73
|
+
a("div", C, [
|
|
74
|
+
h(o(g, {
|
|
75
|
+
class: "previousButton",
|
|
76
|
+
variant: "secondary",
|
|
77
|
+
size: "large",
|
|
78
|
+
type: "button",
|
|
79
|
+
"button-text": k,
|
|
80
|
+
"icon-start": "CaretLeft",
|
|
81
|
+
onClick: b
|
|
82
|
+
}, null, 8, ["button-text", "onClick"]), [
|
|
83
|
+
[m, !e]
|
|
84
|
+
]),
|
|
85
|
+
h(o(g, {
|
|
86
|
+
size: "large",
|
|
87
|
+
variant: t.nextVariant,
|
|
88
|
+
type: "button",
|
|
89
|
+
"button-text": l,
|
|
90
|
+
"icon-end": l === "Als Entwurf Speichern" ? null : "CaretRight",
|
|
91
|
+
onClick: f
|
|
92
|
+
}, null, 8, ["variant", "button-text", "icon-end", "onClick"]), [
|
|
93
|
+
[m, !i]
|
|
94
|
+
])
|
|
95
|
+
])
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
64
99
|
]));
|
|
65
100
|
}
|
|
66
|
-
},
|
|
101
|
+
}, N = /* @__PURE__ */ P(E, [["__scopeId", "data-v-9f374b4b"]]);
|
|
67
102
|
export {
|
|
68
|
-
|
|
103
|
+
N as default
|
|
69
104
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ReviewStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-10866814"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|