@avilang/practical-ui 0.3.30 → 0.3.32
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29057,8 +29057,8 @@ 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().then(() => ({ formData: l(), valid: !0 })).catch((
|
|
29061
|
-
|
|
29060
|
+
const s = r, d = Sl("form"), u = (h = !0) => (h && document.activeElement && document.activeElement.blur(), d.value.validate().then(() => ({ formData: l(), valid: !0 })).catch((g) => ({ formData: l(), valid: !1, errors: g }))), c = xi(function() {
|
|
29061
|
+
u(!0).then((h) => {
|
|
29062
29062
|
s("submit", h);
|
|
29063
29063
|
});
|
|
29064
29064
|
}), v = Sl("formItem");
|
|
@@ -29740,8 +29740,8 @@ const P2 = () => {
|
|
|
29740
29740
|
const i = {
|
|
29741
29741
|
title: "",
|
|
29742
29742
|
closable: !0,
|
|
29743
|
-
...r,
|
|
29744
29743
|
autoFocus: !1,
|
|
29744
|
+
...r,
|
|
29745
29745
|
blockScroll: !0,
|
|
29746
29746
|
preset: "dialog",
|
|
29747
29747
|
transformOrigin: "center",
|