@epam/ai-dial-ui-kit 0.10.0-dev.30 → 0.10.0-dev.31
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/dial-ui-kit.es.js
CHANGED
|
@@ -3782,8 +3782,9 @@ const Dy = (e, t) => {
|
|
|
3782
3782
|
onChangeStep: i
|
|
3783
3783
|
}) => {
|
|
3784
3784
|
const s = (n) => {
|
|
3785
|
-
const o = e.findIndex((
|
|
3786
|
-
(n
|
|
3785
|
+
const o = e.findIndex((l) => l.id === t), r = e.findIndex((l) => l.id === n);
|
|
3786
|
+
if (n === t) return;
|
|
3787
|
+
(e.slice(0, r).every((l) => l.status === di.VALID) || r < o) && i(n);
|
|
3787
3788
|
};
|
|
3788
3789
|
return /* @__PURE__ */ g.jsx("div", { id: "steps", className: "flex gap-x-3", children: e.map((n, o) => /* @__PURE__ */ g.jsx(
|
|
3789
3790
|
Ty,
|