@avilang/practical-ui 0.3.29 → 0.3.30
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29057,9 +29057,9 @@ const xi = function(e, t, r) {
|
|
|
29057
29057
|
g.slot && (h[g.field] = Rf(g.value));
|
|
29058
29058
|
}), { ...i.value, ...h };
|
|
29059
29059
|
}
|
|
29060
|
-
const s = r, d = Sl("form"), u = () => d.value.validate((
|
|
29060
|
+
const s = r, d = Sl("form"), u = () => d.value.validate().then(() => ({ formData: l(), valid: !0 })).catch((h) => ({ formData: l(), valid: !1, errors: h })), c = xi(function() {
|
|
29061
29061
|
document.activeElement && document.activeElement.blur(), u().then((h) => {
|
|
29062
|
-
|
|
29062
|
+
s("submit", h);
|
|
29063
29063
|
});
|
|
29064
29064
|
}), v = Sl("formItem");
|
|
29065
29065
|
function p(h = "") {
|