vxe-table 3.17.11 → 3.17.12
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/style.css +1 -1
- package/es/table/src/cell.js +4 -0
- package/es/table/src/methods.js +4 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +14 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +8 -0
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/methods.js +4 -0
- package/lib/table/src/methods.min.js +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/package.json +1 -1
- package/packages/table/src/cell.ts +4 -0
- package/packages/table/src/methods.ts +4 -0
- /package/es/{iconfont.1755429821295.ttf → iconfont.1755588694607.ttf} +0 -0
- /package/es/{iconfont.1755429821295.woff → iconfont.1755588694607.woff} +0 -0
- /package/es/{iconfont.1755429821295.woff2 → iconfont.1755588694607.woff2} +0 -0
- /package/lib/{iconfont.1755429821295.ttf → iconfont.1755588694607.ttf} +0 -0
- /package/lib/{iconfont.1755429821295.woff → iconfont.1755588694607.woff} +0 -0
- /package/lib/{iconfont.1755429821295.woff2 → iconfont.1755588694607.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -3018,6 +3018,7 @@ function loadTableData($xeTable, datas, isReset) {
|
|
|
3018
3018
|
}).then(() => {
|
|
3019
3019
|
computeScrollLoad($xeTable);
|
|
3020
3020
|
}).then(() => {
|
|
3021
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
3021
3022
|
// 是否启用了虚拟滚动
|
|
3022
3023
|
if (sYLoad) {
|
|
3023
3024
|
scrollYStore.endIndex = scrollYStore.visibleSize;
|
|
@@ -3026,6 +3027,9 @@ function loadTableData($xeTable, datas, isReset) {
|
|
|
3026
3027
|
if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
|
|
3027
3028
|
errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
|
|
3028
3029
|
}
|
|
3030
|
+
if (virtualYOpts.mode === 'scroll' && expandOpts.mode === 'fixed') {
|
|
3031
|
+
warnLog('vxe.error.notConflictProp', ['virtual-y-config.mode=scroll', 'expand-config.mode=inside']);
|
|
3032
|
+
}
|
|
3029
3033
|
// if (showOverflow) {
|
|
3030
3034
|
// if (!rowOpts.height) {
|
|
3031
3035
|
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3234,7 +3234,7 @@ function getClass(property, params) {
|
|
|
3234
3234
|
;// ./packages/ui/index.ts
|
|
3235
3235
|
|
|
3236
3236
|
|
|
3237
|
-
const version = "3.17.
|
|
3237
|
+
const version = "3.17.12";
|
|
3238
3238
|
core_.VxeUI.version = version;
|
|
3239
3239
|
core_.VxeUI.tableVersion = version;
|
|
3240
3240
|
core_.VxeUI.setConfig({
|
|
@@ -3918,7 +3918,7 @@ var es_iterator_map = __webpack_require__(1701);
|
|
|
3918
3918
|
const {
|
|
3919
3919
|
log: log_log
|
|
3920
3920
|
} = core_.VxeUI;
|
|
3921
|
-
const log_version = `table v${"3.17.
|
|
3921
|
+
const log_version = `table v${"3.17.12"}`;
|
|
3922
3922
|
const warnLog = log_log.create('warn', log_version);
|
|
3923
3923
|
const errLog = log_log.create('error', log_version);
|
|
3924
3924
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -5344,6 +5344,7 @@ const Cell = {
|
|
|
5344
5344
|
aggFunc
|
|
5345
5345
|
} = column;
|
|
5346
5346
|
const renderOpts = editRender || cellRender;
|
|
5347
|
+
const gcSlot = slots ? slots.groupContent || slots['group-content'] : null;
|
|
5347
5348
|
let cellValue = '';
|
|
5348
5349
|
if (isRowGroupStatus && field && row.isAggregate) {
|
|
5349
5350
|
const aggRow = row;
|
|
@@ -5380,6 +5381,13 @@ const Cell = {
|
|
|
5380
5381
|
*/
|
|
5381
5382
|
totalValue: childCount
|
|
5382
5383
|
};
|
|
5384
|
+
if (gcSlot) {
|
|
5385
|
+
return renderCellBaseVNs(h, params, $table.callSlot(gcSlot, Object.assign({
|
|
5386
|
+
groupField,
|
|
5387
|
+
groupContent,
|
|
5388
|
+
childCount
|
|
5389
|
+
}, params), h));
|
|
5390
|
+
}
|
|
5383
5391
|
if (mode === 'column' ? field === aggRow.groupField : rowGroupNode) {
|
|
5384
5392
|
cellValue = groupContent;
|
|
5385
5393
|
if (contentMethod) {
|
|
@@ -10554,6 +10562,7 @@ function loadTableData($xeTable, datas, isReset) {
|
|
|
10554
10562
|
}).then(() => {
|
|
10555
10563
|
computeScrollLoad($xeTable);
|
|
10556
10564
|
}).then(() => {
|
|
10565
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
10557
10566
|
// 是否启用了虚拟滚动
|
|
10558
10567
|
if (sYLoad) {
|
|
10559
10568
|
scrollYStore.endIndex = scrollYStore.visibleSize;
|
|
@@ -10562,6 +10571,9 @@ function loadTableData($xeTable, datas, isReset) {
|
|
|
10562
10571
|
if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
|
|
10563
10572
|
errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
|
|
10564
10573
|
}
|
|
10574
|
+
if (virtualYOpts.mode === 'scroll' && expandOpts.mode === 'fixed') {
|
|
10575
|
+
warnLog('vxe.error.notConflictProp', ['virtual-y-config.mode=scroll', 'expand-config.mode=inside']);
|
|
10576
|
+
}
|
|
10565
10577
|
// if (showOverflow) {
|
|
10566
10578
|
// if (!rowOpts.height) {
|
|
10567
10579
|
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|