vxe-table 4.10.9 → 4.10.10
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/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/table.js +42 -6
- package/es/table/style.css +23 -0
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +23 -0
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +40 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +38 -6
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +23 -0
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +23 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/table/src/table.ts +44 -6
- package/styles/components/table.scss +21 -0
- /package/es/{iconfont.1739152200042.ttf → iconfont.1739161310227.ttf} +0 -0
- /package/es/{iconfont.1739152200042.woff → iconfont.1739161310227.woff} +0 -0
- /package/es/{iconfont.1739152200042.woff2 → iconfont.1739161310227.woff2} +0 -0
- /package/lib/{iconfont.1739152200042.ttf → iconfont.1739161310227.ttf} +0 -0
- /package/lib/{iconfont.1739152200042.woff → iconfont.1739161310227.woff} +0 -0
- /package/lib/{iconfont.1739152200042.woff2 → iconfont.1739161310227.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3138
3138
|
;// ./packages/ui/index.ts
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
|
-
const version = "4.10.
|
|
3141
|
+
const version = "4.10.10";
|
|
3142
3142
|
core_.VxeUI.version = version;
|
|
3143
3143
|
core_.VxeUI.tableVersion = version;
|
|
3144
3144
|
core_.VxeUI.setConfig({
|
|
@@ -3585,7 +3585,7 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
3585
3585
|
const {
|
|
3586
3586
|
log: log_log
|
|
3587
3587
|
} = core_.VxeUI;
|
|
3588
|
-
const log_version = `table v${"4.10.
|
|
3588
|
+
const log_version = `table v${"4.10.10"}`;
|
|
3589
3589
|
const warnLog = log_log.create('warn', log_version);
|
|
3590
3590
|
const errLog = log_log.create('error', log_version);
|
|
3591
3591
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -10541,6 +10541,12 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
10541
10541
|
isHeader: false,
|
|
10542
10542
|
isFooter: false
|
|
10543
10543
|
},
|
|
10544
|
+
rowHeightStore: {
|
|
10545
|
+
default: 48,
|
|
10546
|
+
medium: 44,
|
|
10547
|
+
small: 40,
|
|
10548
|
+
mini: 36
|
|
10549
|
+
},
|
|
10544
10550
|
scrollVMLoading: false,
|
|
10545
10551
|
calcCellHeightFlag: 1,
|
|
10546
10552
|
resizeHeightFlag: 0,
|
|
@@ -10635,6 +10641,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
10635
10641
|
let tableMethods = {};
|
|
10636
10642
|
let tablePrivateMethods = {};
|
|
10637
10643
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
10644
|
+
const refVarElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
10638
10645
|
const refTooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
10639
10646
|
const refCommTooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
10640
10647
|
const refValidTooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
@@ -10743,12 +10750,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
10743
10750
|
return 0;
|
|
10744
10751
|
});
|
|
10745
10752
|
const computeRowHeightMaps = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
10746
|
-
return
|
|
10747
|
-
default: 48,
|
|
10748
|
-
medium: 44,
|
|
10749
|
-
small: 40,
|
|
10750
|
-
mini: 36
|
|
10751
|
-
};
|
|
10753
|
+
return reactData.rowHeightStore;
|
|
10752
10754
|
});
|
|
10753
10755
|
const computeDefaultRowHeight = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
10754
10756
|
const vSize = computeSize.value;
|
|
@@ -21055,6 +21057,17 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21055
21057
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21056
21058
|
class: 'vxe-table-slots'
|
|
21057
21059
|
}, slots.default ? slots.default({}) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21060
|
+
ref: refVarElem,
|
|
21061
|
+
class: 'vxe-table-vars'
|
|
21062
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21063
|
+
class: 'vxe-table-var-default'
|
|
21064
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21065
|
+
class: 'vxe-table-var-medium'
|
|
21066
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21067
|
+
class: 'vxe-table-var-small'
|
|
21068
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21069
|
+
class: 'vxe-table-var-mini'
|
|
21070
|
+
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21058
21071
|
key: 'tw',
|
|
21059
21072
|
class: 'vxe-table--render-wrapper'
|
|
21060
21073
|
}, scrollbarXToTop ? [renderScrollX(), renderBody()] : [renderBody(), renderScrollX()]),
|
|
@@ -21381,9 +21394,28 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21381
21394
|
});
|
|
21382
21395
|
});
|
|
21383
21396
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
21397
|
+
const {
|
|
21398
|
+
rowHeightStore
|
|
21399
|
+
} = reactData;
|
|
21400
|
+
const varEl = refVarElem.value;
|
|
21384
21401
|
const columnOpts = computeColumnOpts.value;
|
|
21385
21402
|
const rowOpts = computeRowOpts.value;
|
|
21386
21403
|
const customOpts = computeCustomOpts.value;
|
|
21404
|
+
if (varEl) {
|
|
21405
|
+
const [defEl, mediumEl, smallEl, miniEl] = varEl.children;
|
|
21406
|
+
if (defEl) {
|
|
21407
|
+
rowHeightStore.default = defEl.clientHeight;
|
|
21408
|
+
}
|
|
21409
|
+
if (mediumEl) {
|
|
21410
|
+
rowHeightStore.medium = mediumEl.clientHeight;
|
|
21411
|
+
}
|
|
21412
|
+
if (smallEl) {
|
|
21413
|
+
rowHeightStore.small = smallEl.clientHeight;
|
|
21414
|
+
}
|
|
21415
|
+
if (miniEl) {
|
|
21416
|
+
rowHeightStore.mini = miniEl.clientHeight;
|
|
21417
|
+
}
|
|
21418
|
+
}
|
|
21387
21419
|
if (columnOpts.drag || rowOpts.drag || customOpts.allowSort) {
|
|
21388
21420
|
initTpImg();
|
|
21389
21421
|
}
|