@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. 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((h) => ({ formData: l(), valid: !1, errors: h })), c = xi(function() {
29061
- document.activeElement && document.activeElement.blur(), u().then((h) => {
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",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@avilang/practical-ui",
3
3
  "type": "module",
4
- "version": "0.3.30",
4
+ "version": "0.3.32",
5
5
  "description": "Practical UI components created based on vue3",
6
6
  "main": "dist/index.js",
7
7
  "files": [