bkui-vue 0.0.2-beta.100 → 0.0.2-beta.102

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
@@ -10599,7 +10599,7 @@ const $7 = /* @__PURE__ */ ce({
10599
10599
  }] : S.value = [];
10600
10600
  }, pu = (me) => {
10601
10601
  var Vt, Mn, yu, bu;
10602
- if (!ta.value)
10602
+ if (!ta.value || b.value)
10603
10603
  return;
10604
10604
  const pe = A.value.filter((Mt) => !Mt.disabled && Mt.visible), De = pe.findIndex((Mt) => Mt.optionID === V.value);
10605
10605
  switch (me.code) {
@@ -10620,7 +10620,7 @@ const $7 = /* @__PURE__ */ ce({
10620
10620
  const {
10621
10621
  value: Mt
10622
10622
  } = me.target;
10623
- if (m.value && Mt)
10623
+ if (m.value && Mt || me.target === J.value)
10624
10624
  return;
10625
10625
  const G3 = $.value.get(V.value);
10626
10626
  ms(G3);
@@ -12826,7 +12826,6 @@ const ut = (e, t, n) => {
12826
12826
  })), X = x(() => ({
12827
12827
  right: f.value ? `${Ri}px` : 0,
12828
12828
  "--fix-height": `${r.value}px`,
12829
- "--fix-max-height": `${l.value}px`,
12830
12829
  ...F.value
12831
12830
  })), B = x(() => e.virtualEnabled ? {} : { scrollXName: "", scrollYName: "" }), Y = x(() => ({
12832
12831
  "--prepend-left": `${a.formatData.layout.translateX}px`,
@@ -14181,6 +14180,8 @@ const uN = (e, t, n, a, i, s, r) => {
14181
14180
  renderTableFooter: J,
14182
14181
  renderTableHeadSchema: U
14183
14182
  } = uN(e, t, d, B, a, n, Z), q = () => {
14183
+ if (!(n != null && n.value))
14184
+ return;
14184
14185
  const S = n.value.querySelector(`.${X("table-body-content")}`), E = S.querySelector("table");
14185
14186
  if (E) {
14186
14187
  const V = E.scrollWidth, se = S.clientWidth;
@@ -22325,17 +22326,12 @@ const sk = {
22325
22326
  * attributes 为节点内置属性,包含节点是否展开,是否选中,是否有子节点等等
22326
22327
  */
22327
22328
  keepSlotData: h.bool.def(!1)
22328
- }, rk = (e, {
22329
- slots: t
22330
- }) => ({
22331
- renderEmpty: (n) => u(Bc, {
22329
+ }, rk = (e) => ({
22330
+ renderEmpty: (t) => u(Bc, {
22332
22331
  scene: "part",
22333
- type: n
22332
+ type: t
22334
22333
  }, {
22335
- default: () => {
22336
- var a;
22337
- return [((a = t.default) == null ? void 0 : a.call(t)) ?? e.emptyText];
22338
- }
22334
+ default: () => [e.emptyText]
22339
22335
  })
22340
22336
  }), wl = (e, t) => {
22341
22337
  const n = (_) => e.schema.get(_), a = (_, ee) => {
@@ -23113,7 +23109,7 @@ const sk = {
23113
23109
  });
23114
23110
  const {
23115
23111
  renderEmpty: ee
23116
- } = rk(e, t);
23112
+ } = rk(e);
23117
23113
  gk(e, t, j, n);
23118
23114
  const K = (F) => {
23119
23115
  var B, Y;