bkui-vue 0.0.2-beta.50 → 0.0.2-beta.51

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
@@ -13576,18 +13576,19 @@ const xN = /* @__PURE__ */ ye({
13576
13576
  }, {
13577
13577
  default: ({
13578
13578
  data: d
13579
- }) => d.map((c) => {
13580
- var h, m, v;
13581
- return f(iu, {
13582
- key: c[this.idKey],
13583
- id: c[this.idKey],
13584
- name: c[this.displayKey]
13585
- }, (h = this.$slots) != null && h.optionRender ? {
13586
- default: (v = (m = this.$slots) == null ? void 0 : m.optionRender) == null ? void 0 : v.call(m, {
13587
- item: c
13579
+ }) => {
13580
+ var h, m;
13581
+ const c = ((h = this.$slots) == null ? void 0 : h.optionRender) || ((m = this.$slots) == null ? void 0 : m.virtualScrollRender);
13582
+ return d.map((v) => f(iu, {
13583
+ key: v[this.idKey],
13584
+ id: v[this.idKey],
13585
+ name: v[this.displayKey]
13586
+ }, typeof c == "function" ? {
13587
+ default: c({
13588
+ item: v
13588
13589
  })
13589
- } : null);
13590
- })
13590
+ } : null));
13591
+ }
13591
13592
  }) : this.list.map((d) => {
13592
13593
  var c, h, m;
13593
13594
  return f(iu, {
@@ -16275,7 +16276,9 @@ class XT {
16275
16276
  const r = () => {
16276
16277
  const d = Bt(n, "field", [n, t]), c = ou(t, d, n);
16277
16278
  if (!c) {
16278
- const h = this.props.emptyCellText;
16279
+ const {
16280
+ emptyCellText: h
16281
+ } = this.props;
16279
16282
  if (h)
16280
16283
  return typeof h == "function" ? h(t, n, i, s) : h;
16281
16284
  }