bkui-vue 0.0.2-beta.52 → 0.0.2-beta.53
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.cjs.js +1 -1
- package/dist/index.esm.js +8 -3
- package/dist/index.umd.js +1 -1
- package/lib/table/index.js +1 -1
- package/lib/table/use-common.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -16279,14 +16279,18 @@ class XT {
|
|
16279
16279
|
var u;
|
16280
16280
|
const r = () => {
|
16281
16281
|
const d = Bt(n, "field", [n, t]), c = ou(t, d, n);
|
16282
|
-
if (
|
16282
|
+
if (typeof n.render == "function")
|
16283
|
+
return this.renderCellCallbackFn(t, n, i, s);
|
16284
|
+
if (typeof c == "boolean")
|
16285
|
+
return String(c);
|
16286
|
+
if (!c && typeof c != "number") {
|
16283
16287
|
const {
|
16284
16288
|
emptyCellText: h
|
16285
16289
|
} = this.props;
|
16286
16290
|
if (h)
|
16287
16291
|
return typeof h == "function" ? h(t, n, i, s) : h;
|
16288
16292
|
}
|
16289
|
-
return typeof
|
16293
|
+
return typeof c == "object" ? JSON.stringify(zs(c)) : c;
|
16290
16294
|
}, o = {
|
16291
16295
|
expand: (d, c, h, m) => this.renderExpandColumn(d, c, h, m),
|
16292
16296
|
selection: (d, c, h, m) => this.renderCheckboxColumn(d, h)
|
@@ -16511,7 +16515,8 @@ const ac = (e, t) => {
|
|
16511
16515
|
minHeight: k4(e.minHeight, "auto"),
|
16512
16516
|
width: T(),
|
16513
16517
|
maxWidth: "100%",
|
16514
|
-
height: L()
|
16518
|
+
height: L(),
|
16519
|
+
maxHeight: e.maxHeight
|
16515
16520
|
})), J = (Q, $) => {
|
16516
16521
|
const se = String(Q);
|
16517
16522
|
if (/^\d+\.?\d*$/.test(se))
|