@piveau/dpi 0.2.0-alpha.41 → 0.2.0-alpha.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +2 -2
- 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 +97 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +107 -90
- 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 +96 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +96 -77
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +120 -109
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +9 -8
- 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 +114 -103
- 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 +180 -185
- 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 +101 -90
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitMessages.js +14 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitSummary.js +46 -0
- package/dist/packages/dpi/src/data-provider-interface/utils/useSteps.js +35 -29
- package/dist/packages/dpi/src/utils/twinbyUtils.js +1 -0
- package/dist/styles/_dpi.scss +16 -0
- package/package.json +1 -1
|
@@ -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-80612429"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getNode as
|
|
3
|
-
import { getValidationMessages as
|
|
4
|
-
import { PhExclamationMark as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
1
|
+
import { defineComponent as G, inject as H, ref as h, watch as J, computed as y, createElementBlock as u, openBlock as n, normalizeClass as Q, createElementVNode as x, createBlock as C, createCommentVNode as E, createVNode as c, renderSlot as P, unref as z, normalizeStyle as X, withDirectives as S, vShow as b, Fragment as D, withCtx as k, renderList as Y, toDisplayString as L, nextTick as A } from "vue";
|
|
2
|
+
import { getNode as _, isNode as ee } from "@formkit/core";
|
|
3
|
+
import { getValidationMessages as te } from "@formkit/validation";
|
|
4
|
+
import { PhExclamationMark as oe } from "@phosphor-icons/vue";
|
|
5
|
+
import { useFormKitSummary as ae } from "../composables/useFormKitSummary.js";
|
|
6
|
+
import d from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
7
|
+
import ne from "../HappyFlowComponents/ui/Card.vue.js";
|
|
8
|
+
import { dpiStepperKey as ie } from "../utils/injectionKeys.js";
|
|
9
|
+
import se from "./TheCancelConfirmationDialog.vue.js";
|
|
10
|
+
import { useEditModeInfo as re } from "../composables/useDpiEditMode.js";
|
|
11
|
+
const le = { class: "step-actions" }, ue = { class: "step-actions__prev-and-next" }, ce = { style: { margin: "0" } }, de = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "validation-errors"
|
|
13
|
-
},
|
|
14
|
+
}, be = /* @__PURE__ */ G({
|
|
14
15
|
__name: "StepActionsSection",
|
|
15
16
|
props: {
|
|
16
17
|
hideCancel: { type: Boolean, default: !1 },
|
|
@@ -27,62 +28,72 @@ const ie = { class: "step-actions" }, le = { class: "step-actions__prev-and-next
|
|
|
27
28
|
showDetailedErrorSummary: { type: Boolean, default: !1 }
|
|
28
29
|
},
|
|
29
30
|
emits: ["submit", "closeWithSaving"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
31
|
+
setup(F, { emit: M }) {
|
|
32
|
+
const s = F, T = M, t = H(ie);
|
|
32
33
|
t || console.warn("dpiStepper is not provided. Please use StepActionsSection inside InputPage");
|
|
33
|
-
|
|
34
|
+
const { summaries: W, submit: j } = ae();
|
|
35
|
+
function N(e) {
|
|
34
36
|
return e !== void 0;
|
|
35
37
|
}
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
});
|
|
40
|
-
function k() {
|
|
41
|
-
f.value = !0;
|
|
38
|
+
const v = h(!1), f = h(!1), r = h([]);
|
|
39
|
+
function B() {
|
|
40
|
+
v.value = !0;
|
|
42
41
|
}
|
|
43
|
-
function
|
|
42
|
+
function p() {
|
|
44
43
|
t == null || t.goToPreviousStep();
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
function I(e) {
|
|
46
|
+
const o = (a) => {
|
|
47
|
+
for (const l in a.store) {
|
|
48
|
+
const i = a.store[l];
|
|
49
|
+
i.type === "error" || i.type === "ui" && l === "incomplete" ? a.store.remove(l) : i.type === "state" && a.store.set({ ...i, value: !1 });
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
o(e), e.walk(o);
|
|
53
|
+
}
|
|
54
|
+
async function g() {
|
|
55
|
+
var w, V;
|
|
56
|
+
if (!N(t))
|
|
49
57
|
return !1;
|
|
50
|
-
t.triggerValidationCurrentStep(), await
|
|
58
|
+
t.triggerValidationCurrentStep(), await A();
|
|
51
59
|
const e = t.activeStep.value;
|
|
52
60
|
if (!e)
|
|
53
61
|
return !1;
|
|
54
|
-
const
|
|
55
|
-
if (!
|
|
56
|
-
return console.error("Current step node is not a FormKitNode",
|
|
57
|
-
|
|
58
|
-
const a =
|
|
59
|
-
return
|
|
62
|
+
const o = _(e);
|
|
63
|
+
if (!ee(o))
|
|
64
|
+
return console.error("Current step node is not a FormKitNode", o), !1;
|
|
65
|
+
await j();
|
|
66
|
+
const a = te(o), l = !!((V = (w = t.steps) == null ? void 0 : w[e]) != null && V.valid), i = a && a.size > 0 || !l;
|
|
67
|
+
return i || (I(o), o.clearErrors(!0), f.value = !1, await A()), !i;
|
|
60
68
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
J(W, (e) => {
|
|
70
|
+
e && e.length > 0 ? (f.value = !0, r.value = (e == null ? void 0 : e.map((o) => o.message)) || []) : (f.value = !1, r.value.splice(0, r.value.length));
|
|
71
|
+
});
|
|
72
|
+
function K(e, o) {
|
|
73
|
+
g().then((a) => {
|
|
74
|
+
a ? e() : o && typeof o == "function" && o();
|
|
64
75
|
});
|
|
65
76
|
}
|
|
66
|
-
function
|
|
77
|
+
function $() {
|
|
67
78
|
t == null || t.goToNextStep();
|
|
68
79
|
}
|
|
69
|
-
async function
|
|
70
|
-
!
|
|
80
|
+
async function m() {
|
|
81
|
+
!N(t) || !await g() || (t != null && t.isLast.value ? T("submit") : t == null || t.goToNextStep());
|
|
71
82
|
}
|
|
72
|
-
const { isEditMode:
|
|
73
|
-
async function
|
|
74
|
-
!t || !await
|
|
83
|
+
const { isEditMode: R } = re();
|
|
84
|
+
async function O() {
|
|
85
|
+
!t || !await g() || t == null || t.goToStep(Object.keys(t.steps).pop() || "");
|
|
75
86
|
}
|
|
76
|
-
const
|
|
77
|
-
{ "step-actions-container--compact":
|
|
78
|
-
|
|
79
|
-
]),
|
|
80
|
-
return (e,
|
|
81
|
-
class:
|
|
87
|
+
const U = y(() => t ? t == null ? void 0 : t.isLast.value : !0), Z = y(() => [
|
|
88
|
+
{ "step-actions-container--compact": s.compact },
|
|
89
|
+
s.classList
|
|
90
|
+
]), q = y(() => s.showDetailedErrorSummary ? "Fehler" : "Bitte füllen Sie alle Pflichtfelder aus und geben Sie gültige Formate an, bevor Sie fortfahren.");
|
|
91
|
+
return (e, o) => (n(), u("div", {
|
|
92
|
+
class: Q([Z.value, "step-actions-container"])
|
|
82
93
|
}, [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
94
|
+
x("div", le, [
|
|
95
|
+
z(R) ? (n(), u(D, { key: 1 }, [
|
|
96
|
+
U.value ? S((n(), C(d, {
|
|
86
97
|
key: 1,
|
|
87
98
|
class: "edit-save-button",
|
|
88
99
|
size: "large",
|
|
@@ -90,99 +101,99 @@ const ie = { class: "step-actions" }, le = { class: "step-actions__prev-and-next
|
|
|
90
101
|
type: "button",
|
|
91
102
|
"button-text": e.nextText,
|
|
92
103
|
"icon-end": e.nextText === "Als Entwurf Speichern" ? null : "CaretRight",
|
|
93
|
-
loading:
|
|
94
|
-
onClick:
|
|
104
|
+
loading: s.loading,
|
|
105
|
+
onClick: m
|
|
95
106
|
}, null, 8, ["variant", "button-text", "icon-end", "loading"])), [
|
|
96
|
-
[
|
|
97
|
-
]) : (
|
|
107
|
+
[b, !e.hideNext]
|
|
108
|
+
]) : (n(), C(d, {
|
|
98
109
|
key: 0,
|
|
99
110
|
class: "edit-save-button",
|
|
100
111
|
size: "large",
|
|
101
112
|
variant: "primary",
|
|
102
113
|
type: "button",
|
|
103
114
|
"button-text": "Speichern",
|
|
104
|
-
onClick:
|
|
115
|
+
onClick: O
|
|
105
116
|
}))
|
|
106
|
-
], 64)) :
|
|
117
|
+
], 64)) : P(e.$slots, "default", {
|
|
107
118
|
key: 0,
|
|
108
|
-
handleCancel:
|
|
109
|
-
handlePrevious:
|
|
110
|
-
handleSubmit:
|
|
119
|
+
handleCancel: B,
|
|
120
|
+
handlePrevious: p,
|
|
121
|
+
handleSubmit: m
|
|
111
122
|
}, () => [
|
|
112
|
-
|
|
113
|
-
style:
|
|
123
|
+
c(d, {
|
|
124
|
+
style: X({ opacity: e.hideCancel ? 0 : 1 }),
|
|
114
125
|
variant: "tertiary",
|
|
115
126
|
size: "large",
|
|
116
127
|
type: "button",
|
|
117
128
|
"button-text": e.cancelText,
|
|
118
|
-
onClick:
|
|
129
|
+
onClick: B
|
|
119
130
|
}, null, 8, ["style", "button-text"]),
|
|
120
|
-
|
|
121
|
-
|
|
131
|
+
x("div", ue, [
|
|
132
|
+
P(e.$slots, "prev-and-next", {
|
|
122
133
|
hidePrevious: e.hidePrevious,
|
|
123
134
|
hideNext: e.hideNext,
|
|
124
135
|
previousText: e.previousText,
|
|
125
136
|
nextText: e.nextText,
|
|
126
|
-
handleNext:
|
|
127
|
-
handlePrevious:
|
|
128
|
-
handleSubmit:
|
|
129
|
-
loading:
|
|
130
|
-
validate:
|
|
137
|
+
handleNext: $,
|
|
138
|
+
handlePrevious: p,
|
|
139
|
+
handleSubmit: m,
|
|
140
|
+
loading: s.loading,
|
|
141
|
+
validate: K
|
|
131
142
|
}, () => [
|
|
132
|
-
|
|
143
|
+
S(c(d, {
|
|
133
144
|
variant: "secondary",
|
|
134
145
|
size: "large",
|
|
135
146
|
type: "button",
|
|
136
147
|
"button-text": e.previousText,
|
|
137
148
|
"icon-start": "CaretLeft",
|
|
138
|
-
onClick:
|
|
149
|
+
onClick: p
|
|
139
150
|
}, null, 8, ["button-text"]), [
|
|
140
|
-
[
|
|
151
|
+
[b, !e.hidePrevious]
|
|
141
152
|
]),
|
|
142
|
-
|
|
153
|
+
S(c(d, {
|
|
143
154
|
size: "large",
|
|
144
155
|
variant: e.nextVariant,
|
|
145
156
|
type: "button",
|
|
146
157
|
"button-text": e.nextText,
|
|
147
158
|
"icon-end": e.nextText === "Als Entwurf Speichern" || e.nextText === "Projektanlage starten" ? null : "CaretRight",
|
|
148
|
-
loading:
|
|
149
|
-
onClick:
|
|
159
|
+
loading: s.loading,
|
|
160
|
+
onClick: m
|
|
150
161
|
}, null, 8, ["variant", "button-text", "icon-end", "loading"]), [
|
|
151
|
-
[
|
|
162
|
+
[b, !e.hideNext]
|
|
152
163
|
])
|
|
153
164
|
], !0)
|
|
154
165
|
])
|
|
155
166
|
], !0)
|
|
156
167
|
]),
|
|
157
|
-
|
|
168
|
+
f.value && r.value.length ? (n(), C(ne, {
|
|
158
169
|
key: 0,
|
|
159
170
|
variant: "error",
|
|
160
171
|
"icon-top": ""
|
|
161
172
|
}, {
|
|
162
|
-
icon:
|
|
163
|
-
|
|
173
|
+
icon: k(() => [
|
|
174
|
+
c(z(oe), {
|
|
164
175
|
size: 32,
|
|
165
176
|
color: "currentColor"
|
|
166
177
|
})
|
|
167
178
|
]),
|
|
168
|
-
title:
|
|
169
|
-
|
|
179
|
+
title: k(() => [
|
|
180
|
+
x("p", ce, L(q.value), 1)
|
|
170
181
|
]),
|
|
171
|
-
default:
|
|
172
|
-
e.showDetailedErrorSummary ? (
|
|
173
|
-
(
|
|
174
|
-
])) :
|
|
182
|
+
default: k(() => [
|
|
183
|
+
e.showDetailedErrorSummary ? (n(), u("ul", de, [
|
|
184
|
+
(n(!0), u(D, null, Y(r.value, (a) => (n(), u("li", { key: a }, L(a), 1))), 128))
|
|
185
|
+
])) : E("", !0)
|
|
175
186
|
]),
|
|
176
187
|
_: 1
|
|
177
|
-
})) :
|
|
178
|
-
|
|
179
|
-
modelValue:
|
|
180
|
-
"onUpdate:modelValue":
|
|
181
|
-
onCloseWithSaving:
|
|
188
|
+
})) : E("", !0),
|
|
189
|
+
c(se, {
|
|
190
|
+
modelValue: v.value,
|
|
191
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => v.value = a),
|
|
192
|
+
onCloseWithSaving: o[1] || (o[1] = (a) => T("closeWithSaving"))
|
|
182
193
|
}, null, 8, ["modelValue"])
|
|
183
194
|
], 2));
|
|
184
195
|
}
|
|
185
196
|
});
|
|
186
197
|
export {
|
|
187
|
-
|
|
198
|
+
be as default
|
|
188
199
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { toRef as c, computed as o } from "vue";
|
|
2
|
+
function g(n) {
|
|
3
|
+
const r = c(n), e = o(() => {
|
|
4
|
+
var s, t;
|
|
5
|
+
return ((t = (s = r.value) == null ? void 0 : s.context) == null ? void 0 : t.messages) || {};
|
|
6
|
+
}), a = o(() => Object.keys(e.value).length > 0);
|
|
7
|
+
return {
|
|
8
|
+
validationMessages: e,
|
|
9
|
+
hasError: a
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
g as useFormKitMessages
|
|
14
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { parentSymbol as g } from "@formkit/vue";
|
|
2
|
+
import { whenever as h } from "@vueuse/core";
|
|
3
|
+
import { toRef as w, computed as n, inject as b, ref as p, nextTick as v } from "vue";
|
|
4
|
+
function S(d) {
|
|
5
|
+
const o = w(d), c = n(() => (o == null ? void 0 : o.value) || b(g, void 0));
|
|
6
|
+
let s = null, r = null;
|
|
7
|
+
const a = p([]), i = p(!1), m = n(() => {
|
|
8
|
+
const e = [];
|
|
9
|
+
return a.value.forEach((t) => {
|
|
10
|
+
for (const l in t.messages) {
|
|
11
|
+
const u = t.messages[l];
|
|
12
|
+
typeof u.value == "string" && e.push({
|
|
13
|
+
message: u.value,
|
|
14
|
+
id: t.id,
|
|
15
|
+
key: `${t.id}-${u.key}`,
|
|
16
|
+
type: u.type
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}), e;
|
|
20
|
+
}), f = () => {
|
|
21
|
+
var e;
|
|
22
|
+
a.value = [], (e = c.value) == null || e.walk(
|
|
23
|
+
(t) => t.context && a.value.push(t.context)
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
h(c, (e, t, l) => {
|
|
27
|
+
s && (t == null || t.off(s), t == null || t.off(r)), e && (s = e.on("submit-raw", async () => {
|
|
28
|
+
f(), m.value.length !== 0 && (i.value = !0, await v());
|
|
29
|
+
}), r = e.on("child", f), l(() => {
|
|
30
|
+
e == null || e.off(s || ""), e == null || e.off(r || "");
|
|
31
|
+
}));
|
|
32
|
+
}, {
|
|
33
|
+
immediate: !0
|
|
34
|
+
});
|
|
35
|
+
async function y() {
|
|
36
|
+
f(), m.value.length !== 0 && (i.value = !0, await v());
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
summaries: m,
|
|
40
|
+
showSummaries: i,
|
|
41
|
+
submit: y
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
S as useFormKitSummary
|
|
46
|
+
};
|
|
@@ -1,43 +1,49 @@
|
|
|
1
|
-
import { getNode as
|
|
2
|
-
import { ref as s, reactive as
|
|
3
|
-
function
|
|
4
|
-
const
|
|
1
|
+
import { getNode as v, createMessage as o } from "@formkit/core";
|
|
2
|
+
import { ref as s, reactive as f, watch as g, toRef as m } from "vue";
|
|
3
|
+
function h() {
|
|
4
|
+
const i = s(""), a = f({});
|
|
5
5
|
let u = s([]);
|
|
6
|
-
const
|
|
7
|
-
function n(
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
const r = s([]);
|
|
7
|
+
function n(e) {
|
|
8
|
+
const t = v(e);
|
|
9
|
+
t !== void 0 && (t.walk((p) => {
|
|
10
|
+
p.store.set(
|
|
11
|
+
o({
|
|
12
12
|
key: "submitted",
|
|
13
13
|
value: !0,
|
|
14
14
|
visible: !1
|
|
15
15
|
})
|
|
16
16
|
);
|
|
17
|
-
})
|
|
17
|
+
}), t.store.set(
|
|
18
|
+
o({
|
|
19
|
+
key: "submitted",
|
|
20
|
+
value: !0,
|
|
21
|
+
visible: !1
|
|
22
|
+
})
|
|
23
|
+
));
|
|
18
24
|
}
|
|
19
25
|
function l() {
|
|
20
|
-
n(
|
|
26
|
+
n(i.value);
|
|
21
27
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
n(
|
|
28
|
+
function c() {
|
|
29
|
+
r.value.forEach((e) => {
|
|
30
|
+
n(e);
|
|
25
31
|
});
|
|
26
32
|
}
|
|
27
|
-
return g(
|
|
28
|
-
|
|
29
|
-
}), { visitedSteps:
|
|
30
|
-
if (
|
|
31
|
-
return a[
|
|
32
|
-
const
|
|
33
|
-
a[
|
|
34
|
-
}),
|
|
35
|
-
a[
|
|
36
|
-
}),
|
|
37
|
-
a[
|
|
38
|
-
}),
|
|
39
|
-
}, triggerValidation:
|
|
33
|
+
return g(i, (e, t) => {
|
|
34
|
+
t && !r.value.includes(t) && r.value.push(t);
|
|
35
|
+
}), { visitedSteps: r, activeStep: i, steps: a, subSteps: u, stepPlugin: (e) => {
|
|
36
|
+
if (e.props.type == "group")
|
|
37
|
+
return a[e.name] = a[e.name] || {}, e.on("created", () => {
|
|
38
|
+
const t = m(e.context.state, "valid");
|
|
39
|
+
a[e.name].valid = t;
|
|
40
|
+
}), e.on("count:blocking", ({ payload: t }) => {
|
|
41
|
+
a[e.name].blockingCount = t;
|
|
42
|
+
}), e.on("count:errors", ({ payload: t }) => {
|
|
43
|
+
a[e.name].errorCount = t;
|
|
44
|
+
}), i.value === "" && (i.value = e.name), u.value.push(e.value), !1;
|
|
45
|
+
}, triggerValidation: c, triggerValidationCurrentStep: l };
|
|
40
46
|
}
|
|
41
47
|
export {
|
|
42
|
-
|
|
48
|
+
h as default
|
|
43
49
|
};
|
package/dist/styles/_dpi.scss
CHANGED
|
@@ -1612,3 +1612,19 @@ innerRapModalItem {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
1615
|
+
|
|
1616
|
+
.dpiV3_errorText {
|
|
1617
|
+
display: flex;
|
|
1618
|
+
padding: 0px var(--Spacing-3, 16px);
|
|
1619
|
+
align-items: flex-start;
|
|
1620
|
+
align-self: stretch;
|
|
1621
|
+
|
|
1622
|
+
/* Copy/Copy-Small-Regular */
|
|
1623
|
+
font-family: var(--font-family-secondary, Inter);
|
|
1624
|
+
font-size: var(--copy-small-regular-font-size, 15px);
|
|
1625
|
+
font-style: normal;
|
|
1626
|
+
font-weight: var(--copy-small-regular-font-weight, 400);
|
|
1627
|
+
line-height: var(--copy-small-regular-line-height, 24px); /* 160% */
|
|
1628
|
+
|
|
1629
|
+
color: var(--text-error, #a9242c);
|
|
1630
|
+
}
|