bkui-vue 2.0.1-beta.94 → 2.0.1-beta.95

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.esm.js CHANGED
@@ -18081,6 +18081,10 @@ const qj = () => ({
18081
18081
  needIcon: {
18082
18082
  type: Boolean,
18083
18083
  default: !0
18084
+ },
18085
+ disabled: {
18086
+ type: Boolean,
18087
+ default: !1
18084
18088
  }
18085
18089
  },
18086
18090
  emits: ["click"],
@@ -18104,7 +18108,7 @@ const qj = () => ({
18104
18108
  parentKey: u == null ? void 0 : u.key
18105
18109
  });
18106
18110
  const p = (C) => {
18107
- o(g), n("click", C);
18111
+ e.disabled || (o(g), n("click", C));
18108
18112
  };
18109
18113
  Ht(() => s(g));
18110
18114
  const {
@@ -18115,7 +18119,8 @@ const qj = () => ({
18115
18119
  return f("li", {
18116
18120
  class: {
18117
18121
  [`${y("menu-item")}`]: !0,
18118
- "is-active": h.value
18122
+ "is-active": h.value,
18123
+ "is-disabled": e.disabled
18119
18124
  },
18120
18125
  onClick: p
18121
18126
  }, [d.value && f("span", {
@@ -37290,7 +37295,7 @@ const HJ = (e, t) => {
37290
37295
  }, JJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37291
37296
  __proto__: null,
37292
37297
  $bkPopover: Hh
37293
- }, Symbol.toStringTag, { value: "Module" })), zJ = "2.0.1-beta.94";
37298
+ }, Symbol.toStringTag, { value: "Module" })), zJ = "2.0.1-beta.95";
37294
37299
  window.__bkui_vue_version__ = zJ;
37295
37300
  export {
37296
37301
  Hh as $bkPopover,