@avilang/practical-ui 0.3.75 → 0.3.76

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 +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30436,6 +30436,7 @@ const Kr = /* @__PURE__ */ Object.assign({
30436
30436
  type: { type: String, default: "primary" },
30437
30437
  size: { type: String, default: "medium" },
30438
30438
  attrType: { type: String, default: "button" },
30439
+ focusable: { type: Boolean, default: !0 },
30439
30440
  block: { type: Boolean, default: !1 },
30440
30441
  loading: { type: Boolean, default: !1 },
30441
30442
  ghost: { type: Boolean, default: !1 },
@@ -30460,7 +30461,7 @@ const Kr = /* @__PURE__ */ Object.assign({
30460
30461
  ]),
30461
30462
  style: Ut(Q(r).style || ""),
30462
30463
  "attr-type": e.attrType,
30463
- focusable: !1,
30464
+ focusable: e.focusable,
30464
30465
  bordered: !0,
30465
30466
  keyboard: !1,
30466
30467
  block: e.block,
@@ -30486,7 +30487,7 @@ const Kr = /* @__PURE__ */ Object.assign({
30486
30487
  ]),
30487
30488
  key: "0"
30488
30489
  } : void 0
30489
- ]), 1032, ["class", "style", "attr-type", "block", "size", "type", "loading", "ghost", "secondary", "text", "disabled", "onClick"]));
30490
+ ]), 1032, ["class", "style", "attr-type", "focusable", "block", "size", "type", "loading", "ghost", "secondary", "text", "disabled", "onClick"]));
30490
30491
  }
30491
30492
  }), pB = { key: 0 }, mB = { class: "p-search-item-content" }, bB = {
30492
30493
  __name: "search-item",
@@ -30513,12 +30514,12 @@ const Kr = /* @__PURE__ */ Object.assign({
30513
30514
  e.updateSearchData(e.item.field, d), e.doChange();
30514
30515
  }
30515
30516
  function a() {
30516
- document.activeElement && document.activeElement.blur(), ut(() => {
30517
+ ut(() => {
30517
30518
  e.doSearch();
30518
30519
  });
30519
30520
  }
30520
30521
  function s() {
30521
- document.activeElement && document.activeElement.blur(), ut(() => {
30522
+ ut(() => {
30522
30523
  e.doReset();
30523
30524
  });
30524
30525
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@avilang/practical-ui",
3
3
  "type": "module",
4
- "version": "0.3.75",
4
+ "version": "0.3.76",
5
5
  "description": "Practical UI components created based on vue3",
6
6
  "main": "dist/index.js",
7
7
  "files": [