indicator-ui 1.0.39 → 1.0.40
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/index.cjs +1 -1
- package/dist/index.js +9 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16062,14 +16062,15 @@ function Tz(...r) {
|
|
|
16062
16062
|
pe.preventDefault(), ce(), U();
|
|
16063
16063
|
},
|
|
16064
16064
|
onSubmit: async (pe) => {
|
|
16065
|
-
pe.preventDefault(), u?.(ue(), pe, q)
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16065
|
+
if (pe.preventDefault(), u?.(ue(), pe, q), i || o) {
|
|
16066
|
+
const qe = await le();
|
|
16067
|
+
if (qe !== null)
|
|
16068
|
+
i?.(qe, pe, q);
|
|
16069
|
+
else {
|
|
16070
|
+
await j();
|
|
16071
|
+
const he = g();
|
|
16072
|
+
o?.({ errors: he.errors }, q);
|
|
16073
|
+
}
|
|
16073
16074
|
}
|
|
16074
16075
|
},
|
|
16075
16076
|
ref: P4(w, ...oe, ...ae),
|