qy-ui-for-ls 0.3.5 → 0.3.6

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.
@@ -83901,8 +83901,8 @@ const W5t = /* @__PURE__ */ Vx(G5t), q5t = /* @__PURE__ */ ee({
83901
83901
  emits: ["itemClick"],
83902
83902
  setup(e, { emit: t }) {
83903
83903
  of((p) => ({
83904
- "137abc9c": l.value,
83905
- "2b0faa5d": u.value
83904
+ "6e23a68c": l.value,
83905
+ "6d401db7": u.value
83906
83906
  }));
83907
83907
  const n = e, r = ue(null), a = t, i = V(() => f(n.type)), o = V(() => typeof n.hiddens == "boolean" ? n.hiddens ? n.list.map((p) => p.key) : [] : Array.isArray(n.hiddens) ? n.hiddens : []), s = V(() => typeof n.disableds == "boolean" ? n.disableds ? n.list.map((p) => p.key) : [] : Array.isArray(n.disableds) ? n.disableds : []), l = V(() => isNaN(Number(n.fontSize)) ? n.fontSize : Number(n.fontSize) + "px"), u = V(() => isNaN(Number(n.gutter)) ? n.gutter : Number(n.gutter) + "px"), c = (p) => p || n.color || "", f = (p) => ["primary", "danger", "warning", "success", "info"].includes(p) ? p : "primary", d = V(() => {
83908
83908
  const p = n.list.filter((y) => !o.value.includes(y.key)).map((y) => ({
@@ -83914,7 +83914,8 @@ const W5t = /* @__PURE__ */ Vx(G5t), q5t = /* @__PURE__ */ ee({
83914
83914
  moreList: m
83915
83915
  };
83916
83916
  }), h = (p) => {
83917
- s.value.includes(p.key) || (r.value.hide(), a("itemClick", p.key, { ...p }));
83917
+ var v, g;
83918
+ s.value.includes(p.key) || (a("itemClick", p.key, { ...p }), (g = (v = r == null ? void 0 : r.value) == null ? void 0 : v.hide) == null || g.call(v));
83918
83919
  };
83919
83920
  return (p, v) => {
83920
83921
  const g = ln("ArrowDown"), m = un, y = lM;