@piveau/dpi 0.2.0-alpha.11 → 0.2.0-alpha.12
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/DataSimulation/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +180 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +215 -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/DpiModalBase.vue2.js +37 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +127 -118
- 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 +64 -57
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +21 -23
- 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/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +105 -96
- 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 +89 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +6 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +6 -5
- 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 +388 -375
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +35 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +43 -35
- 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 +11 -11
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +131 -124
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t from "./TextAreaFormKit.vue.js";
|
|
2
|
-
const
|
|
2
|
+
const a = {
|
|
3
3
|
type: "text",
|
|
4
4
|
schema: [],
|
|
5
5
|
component: t,
|
|
@@ -11,10 +11,11 @@ const o = {
|
|
|
11
11
|
"hint",
|
|
12
12
|
"maxlength",
|
|
13
13
|
"help",
|
|
14
|
-
"countHint"
|
|
14
|
+
"countHint",
|
|
15
|
+
"labelWeight"
|
|
15
16
|
],
|
|
16
17
|
inheritAttrs: !0
|
|
17
18
|
};
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
a as default
|
|
20
21
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as B, computed as l, createBlock as y, openBlock as E } from "vue";
|
|
2
|
+
import K from "../TextAreaV3.vue.js";
|
|
3
|
+
const A = /* @__PURE__ */ B({
|
|
4
4
|
__name: "TextAreaFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {},
|
|
7
7
|
maxlength: {}
|
|
8
8
|
},
|
|
9
9
|
setup(d) {
|
|
10
|
-
const t = d,
|
|
10
|
+
const t = d, s = t.maxlength || 1e3, a = l({
|
|
11
11
|
get: () => {
|
|
12
12
|
var e;
|
|
13
13
|
return ((e = t.context) == null ? void 0 : e._value) || "";
|
|
@@ -17,62 +17,66 @@ const _ = /* @__PURE__ */ k({
|
|
|
17
17
|
// },
|
|
18
18
|
set: (e) => {
|
|
19
19
|
var n;
|
|
20
|
-
const
|
|
21
|
-
(n = t.context) == null || n.node.input(
|
|
20
|
+
const o = e.slice(0, s);
|
|
21
|
+
(n = t.context) == null || n.node.input(o);
|
|
22
22
|
}
|
|
23
|
-
}), p =
|
|
23
|
+
}), p = l(() => {
|
|
24
24
|
var e;
|
|
25
25
|
return ((e = t.context) == null ? void 0 : e.label) || "";
|
|
26
|
-
}), x =
|
|
26
|
+
}), x = l(() => {
|
|
27
27
|
var e;
|
|
28
28
|
return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here...";
|
|
29
|
-
}), r =
|
|
29
|
+
}), r = l(() => {
|
|
30
30
|
var e;
|
|
31
31
|
return ((e = t.context) == null ? void 0 : e.help) || "";
|
|
32
|
-
}), m =
|
|
32
|
+
}), m = l(() => {
|
|
33
33
|
var e;
|
|
34
34
|
return ((e = t.context) == null ? void 0 : e.countHint) || "";
|
|
35
|
-
}),
|
|
35
|
+
}), v = l(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return ((e = t.context) == null ? void 0 : e.labelWeight) || "normal";
|
|
38
|
+
}), c = l(() => {
|
|
36
39
|
var e;
|
|
37
40
|
return Object.keys(((e = t.context) == null ? void 0 : e.messages) || {}).length > 0;
|
|
38
|
-
}),
|
|
39
|
-
var
|
|
41
|
+
}), g = l(() => {
|
|
42
|
+
var o, n, u, i, h;
|
|
40
43
|
if (!c.value)
|
|
41
44
|
return "";
|
|
42
|
-
const e = (n = Object.keys(((
|
|
45
|
+
const e = (n = Object.keys(((o = t.context) == null ? void 0 : o.messages) || {})) == null ? void 0 : n[0];
|
|
43
46
|
return ((h = (i = (u = t.context) == null ? void 0 : u.messages) == null ? void 0 : i[e]) == null ? void 0 : h.value) || "";
|
|
44
|
-
}),
|
|
47
|
+
}), b = l(() => {
|
|
45
48
|
var e;
|
|
46
49
|
return ((e = t.context) == null ? void 0 : e.disabled) || !1;
|
|
47
|
-
}), f =
|
|
50
|
+
}), f = l(() => {
|
|
48
51
|
var e;
|
|
49
52
|
return ((e = t.context) == null ? void 0 : e.showDeleteButton) || !1;
|
|
50
|
-
}),
|
|
53
|
+
}), w = l(() => {
|
|
51
54
|
var e;
|
|
52
55
|
return ((e = t.context) == null ? void 0 : e.hint) || !1;
|
|
53
|
-
}),
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
!["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab"].includes(e.key) &&
|
|
56
|
+
}), D = () => {
|
|
57
|
+
a.value = "";
|
|
58
|
+
}, k = (e) => {
|
|
59
|
+
!["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab"].includes(e.key) && a.value.length >= s && e.preventDefault();
|
|
57
60
|
};
|
|
58
|
-
return (e,
|
|
59
|
-
modelValue:
|
|
60
|
-
"onUpdate:modelValue":
|
|
61
|
+
return (e, o) => (E(), y(K, {
|
|
62
|
+
modelValue: a.value,
|
|
63
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => a.value = n),
|
|
61
64
|
label: p.value,
|
|
62
65
|
placeholder: x.value,
|
|
63
66
|
help: r.value,
|
|
64
|
-
isDisabled:
|
|
67
|
+
isDisabled: b.value,
|
|
65
68
|
showError: c.value,
|
|
66
|
-
errorMessage:
|
|
69
|
+
errorMessage: g.value,
|
|
67
70
|
showDeleteButton: f.value,
|
|
68
|
-
hint:
|
|
71
|
+
hint: w.value,
|
|
69
72
|
hintMessage: r.value,
|
|
73
|
+
labelWeight: v.value,
|
|
70
74
|
countHint: m.value,
|
|
71
|
-
onDeleteClicked:
|
|
72
|
-
onKeydown:
|
|
73
|
-
}, null, 8, ["modelValue", "label", "placeholder", "help", "isDisabled", "showError", "errorMessage", "showDeleteButton", "hint", "hintMessage", "countHint"]));
|
|
75
|
+
onDeleteClicked: D,
|
|
76
|
+
onKeydown: k
|
|
77
|
+
}, null, 8, ["modelValue", "label", "placeholder", "help", "isDisabled", "showError", "errorMessage", "showDeleteButton", "hint", "hintMessage", "labelWeight", "countHint"]));
|
|
74
78
|
}
|
|
75
79
|
});
|
|
76
80
|
export {
|
|
77
|
-
|
|
81
|
+
A as default
|
|
78
82
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as a, watch as y, createElementBlock as c, openBlock as d, createElementVNode as l, createCommentVNode as p, createBlock as
|
|
1
|
+
import { ref as a, watch as y, createElementBlock as c, openBlock as d, createElementVNode as l, createCommentVNode as p, createBlock as T, normalizeStyle as g, toDisplayString as f, normalizeClass as v, unref as s, withDirectives as C, vModelText as A } from "vue";
|
|
2
2
|
import H from "./TextButtonSmall.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import L from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
-
const
|
|
7
|
+
const W = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_InputFieldBase" }, z = { class: "dpiV3_InputWithLabel" }, N = { class: "dpiV3_Top" }, R = { class: "dpiV3_Label" }, O = ["disabled", "maxlength", "placeholder"], U = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "dpiV3_errorText copy-small-regular"
|
|
10
|
-
},
|
|
10
|
+
}, q = {
|
|
11
11
|
__name: "TextAreaV3",
|
|
12
12
|
props: {
|
|
13
13
|
text: {
|
|
@@ -51,14 +51,19 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
|
|
|
51
51
|
help: {
|
|
52
52
|
type: String,
|
|
53
53
|
default: ""
|
|
54
|
+
},
|
|
55
|
+
labelWeight: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: "normal",
|
|
58
|
+
validator: (e) => ["bold", "normal"].includes(e)
|
|
54
59
|
}
|
|
55
60
|
},
|
|
56
61
|
emits: ["update:modelValue", "deleteClicked"],
|
|
57
62
|
setup(e, { emit: V }) {
|
|
58
63
|
const o = e, h = V;
|
|
59
|
-
let n = a(!1),
|
|
60
|
-
const
|
|
61
|
-
let
|
|
64
|
+
let n = a(!1), m = a(!1);
|
|
65
|
+
const w = a(null);
|
|
66
|
+
let B = a(!1), t = a("inset 0 0 0 1px var(--neutral-30, #687178)"), u = a(!1), x = a(!1);
|
|
62
67
|
const i = a(o.modelValue);
|
|
63
68
|
y(
|
|
64
69
|
() => o.modelValue,
|
|
@@ -71,31 +76,34 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
|
|
|
71
76
|
function _() {
|
|
72
77
|
h("deleteClicked");
|
|
73
78
|
}
|
|
74
|
-
function B() {
|
|
75
|
-
w.value = !1, u.value = !0, n.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
|
|
76
|
-
}
|
|
77
79
|
function E() {
|
|
78
|
-
|
|
80
|
+
B.value = !1, u.value = !0, n.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
|
|
79
81
|
}
|
|
80
82
|
function I() {
|
|
81
|
-
|
|
83
|
+
u.value = !1, n.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
|
|
82
84
|
}
|
|
83
85
|
function M() {
|
|
84
|
-
|
|
86
|
+
x.value = !0, t.value = "inset 0 0 0 1px var(--neutral-60, #687178)", u.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
|
|
85
87
|
}
|
|
86
88
|
function F() {
|
|
87
|
-
|
|
89
|
+
x.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)", u.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
|
|
88
90
|
}
|
|
89
91
|
function D() {
|
|
92
|
+
n.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
|
|
93
|
+
}
|
|
94
|
+
function k() {
|
|
90
95
|
t.value = "inset 0 0 0 2px var(--Focused)";
|
|
91
96
|
}
|
|
92
|
-
return (r, b) => (d(), c("div",
|
|
93
|
-
l("div",
|
|
94
|
-
l("div",
|
|
95
|
-
l("div",
|
|
96
|
-
l("div",
|
|
97
|
-
l("label",
|
|
98
|
-
|
|
97
|
+
return (r, b) => (d(), c("div", W, [
|
|
98
|
+
l("div", j, [
|
|
99
|
+
l("div", z, [
|
|
100
|
+
l("div", N, [
|
|
101
|
+
l("div", R, [
|
|
102
|
+
l("label", {
|
|
103
|
+
style: g({ "font-weight": o.labelWeight === "bold" ? "600" : "normal" }),
|
|
104
|
+
class: "dpiV3_label copy-small-regular"
|
|
105
|
+
}, f(o.label), 5),
|
|
106
|
+
e.showDeleteButton ? (d(), T(H, {
|
|
99
107
|
key: 0,
|
|
100
108
|
"button-text": "löschen",
|
|
101
109
|
tabindex: "0",
|
|
@@ -106,19 +114,19 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
|
|
|
106
114
|
l("div", {
|
|
107
115
|
class: v(["dpiV3_Input", {
|
|
108
116
|
dpiV3_disabled: e.isDisabled,
|
|
109
|
-
"error-state": e.showError && !s(n) && !s(
|
|
117
|
+
"error-state": e.showError && !s(n) && !s(m),
|
|
110
118
|
"focused-error-state": e.showError && s(n),
|
|
111
|
-
"filled-error-state": e.showError && s(
|
|
119
|
+
"filled-error-state": e.showError && s(m)
|
|
112
120
|
}]),
|
|
113
|
-
style:
|
|
114
|
-
onMouseenter:
|
|
115
|
-
onMouseleave:
|
|
116
|
-
onMousedown:
|
|
121
|
+
style: g({ "box-shadow": s(t) }),
|
|
122
|
+
onMouseenter: M,
|
|
123
|
+
onMouseleave: F,
|
|
124
|
+
onMousedown: D
|
|
117
125
|
}, [
|
|
118
126
|
C(l("textarea", {
|
|
119
127
|
ref_key: "inputRef",
|
|
120
|
-
ref:
|
|
121
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
128
|
+
ref: w,
|
|
129
|
+
"onUpdate:modelValue": b[0] || (b[0] = (S) => i.value = S),
|
|
122
130
|
type: "text",
|
|
123
131
|
class: v(["dpiV3_textArea copy-large-regular", {
|
|
124
132
|
"error-state": e.showError,
|
|
@@ -127,10 +135,10 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
|
|
|
127
135
|
disabled: e.isDisabled,
|
|
128
136
|
maxlength: e.max,
|
|
129
137
|
placeholder: e.placeholder,
|
|
130
|
-
onFocus:
|
|
131
|
-
onBlur:
|
|
132
|
-
onMousedown:
|
|
133
|
-
}, null, 42,
|
|
138
|
+
onFocus: E,
|
|
139
|
+
onBlur: I,
|
|
140
|
+
onMousedown: k
|
|
141
|
+
}, null, 42, O), [
|
|
134
142
|
[A, i.value]
|
|
135
143
|
])
|
|
136
144
|
], 38)
|
|
@@ -141,13 +149,13 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
|
|
|
141
149
|
}, [
|
|
142
150
|
l("span", null, f(e.hintMessage), 1)
|
|
143
151
|
], 2)) : p("", !0),
|
|
144
|
-
e.showError ? (d(), c("div",
|
|
152
|
+
e.showError ? (d(), c("div", U, [
|
|
145
153
|
l("span", null, f(e.errorMessage), 1)
|
|
146
154
|
])) : p("", !0)
|
|
147
155
|
])
|
|
148
156
|
]));
|
|
149
157
|
}
|
|
150
|
-
},
|
|
158
|
+
}, Y = /* @__PURE__ */ L(q, [["__scopeId", "data-v-8b7262ed"]]);
|
|
151
159
|
export {
|
|
152
|
-
|
|
160
|
+
Y as default
|
|
153
161
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./StepActionsSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-05c23cd6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, inject as E, ref as d, watch as D, toRef as L, computed as M, createElementBlock as f, openBlock as r, normalizeClass as A, createElementVNode as v, createBlock as F, createCommentVNode as I, createVNode as i, renderSlot as x, normalizeStyle as R, withDirectives as C, vShow as y, withCtx as m, Fragment as
|
|
1
|
+
import { defineComponent as z, inject as E, ref as d, watch as D, toRef as L, computed as M, createElementBlock as f, openBlock as r, normalizeClass as A, createElementVNode as v, createBlock as F, createCommentVNode as I, createVNode as i, renderSlot as x, normalizeStyle as R, withDirectives as C, vShow as y, withCtx as m, Fragment as j, renderList as K, toDisplayString as $, createTextVNode as U, unref as W, nextTick as Z } from "vue";
|
|
2
2
|
import { getNode as q, isNode as G } from "@formkit/core";
|
|
3
3
|
import { getValidationMessages as H } from "@formkit/validation";
|
|
4
4
|
import { PhExclamationMark as J } from "@phosphor-icons/vue";
|
|
@@ -20,10 +20,10 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
20
20
|
classList: {}
|
|
21
21
|
},
|
|
22
22
|
emits: ["submit"],
|
|
23
|
-
setup(te, { emit:
|
|
24
|
-
const
|
|
23
|
+
setup(te, { emit: T }) {
|
|
24
|
+
const V = T, e = E(Q);
|
|
25
25
|
e || console.warn("dpiStepper is not provided. Please use StepActionsSection inside InputPage");
|
|
26
|
-
function
|
|
26
|
+
function S(t) {
|
|
27
27
|
return t !== void 0;
|
|
28
28
|
}
|
|
29
29
|
const l = d(!1), s = d(!1), a = d([]);
|
|
@@ -31,7 +31,7 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
31
31
|
if (!t)
|
|
32
32
|
return;
|
|
33
33
|
const n = H(t);
|
|
34
|
-
!n || n.size === 0 || (a.value = [...n.entries()].flatMap(([o,
|
|
34
|
+
!n || n.size === 0 || (a.value = [...n.entries()].flatMap(([o, w]) => w.map((B) => String(B.value))));
|
|
35
35
|
}
|
|
36
36
|
e && D(e.activeStep, () => {
|
|
37
37
|
a.value.splice(0, a.value.length), s.value = !1;
|
|
@@ -51,12 +51,12 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
51
51
|
function u() {
|
|
52
52
|
e == null || e.goToPreviousStep();
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const P = M(() => e != null && e.activeStep.value ? q(e == null ? void 0 : e.activeStep.value) : null);
|
|
55
55
|
async function c() {
|
|
56
|
-
if (!
|
|
56
|
+
if (!S(e))
|
|
57
57
|
return;
|
|
58
58
|
e.triggerValidationCurrentStep(), await Z();
|
|
59
|
-
const t =
|
|
59
|
+
const t = P.value;
|
|
60
60
|
if (t ? !p((e == null ? void 0 : e.activeStep.value) || "") : !1) {
|
|
61
61
|
if (!G(t)) {
|
|
62
62
|
console.error("Current step node is not a FormKitNode", t);
|
|
@@ -64,7 +64,7 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
64
64
|
}
|
|
65
65
|
N(t), s.value = !0;
|
|
66
66
|
}
|
|
67
|
-
e != null && e.isLast.value ?
|
|
67
|
+
e != null && e.isLast.value ? V("submit") : k();
|
|
68
68
|
}
|
|
69
69
|
return (t, n) => (r(), f("div", {
|
|
70
70
|
class: A([t.classList, "step-actions-container"])
|
|
@@ -107,7 +107,7 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
107
107
|
variant: t.nextVariant,
|
|
108
108
|
type: "button",
|
|
109
109
|
"button-text": t.nextText,
|
|
110
|
-
"icon-end": t.nextText === "Als Entwurf Speichern" ? null : "CaretRight",
|
|
110
|
+
"icon-end": t.nextText === "Als Entwurf Speichern" || t.nextText === "Projektanlage starten" ? null : "CaretRight",
|
|
111
111
|
onClick: c
|
|
112
112
|
}, null, 8, ["variant", "button-text", "icon-end"]), [
|
|
113
113
|
[y, !t.hideNext]
|
|
@@ -131,7 +131,7 @@ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next"
|
|
|
131
131
|
])),
|
|
132
132
|
default: m(() => [
|
|
133
133
|
v("ul", ee, [
|
|
134
|
-
(r(!0), f(
|
|
134
|
+
(r(!0), f(j, null, K(a.value, (o) => (r(), f("li", { key: o }, $(o), 1))), 128))
|
|
135
135
|
])
|
|
136
136
|
]),
|
|
137
137
|
_: 1
|