vxe-table 4.16.0-beta.4 → 4.16.0-beta.5
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/table.js +4 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +12 -4
- 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/table.js +2 -2
- package/lib/table/src/table.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/table.ts +4 -0
- /package/es/{iconfont.1755566168906.ttf → iconfont.1755588973979.ttf} +0 -0
- /package/es/{iconfont.1755566168906.woff → iconfont.1755588973979.woff} +0 -0
- /package/es/{iconfont.1755566168906.woff2 → iconfont.1755588973979.woff2} +0 -0
- /package/lib/{iconfont.1755566168906.ttf → iconfont.1755588973979.ttf} +0 -0
- /package/lib/{iconfont.1755566168906.woff → iconfont.1755588973979.woff} +0 -0
- /package/lib/{iconfont.1755566168906.woff2 → iconfont.1755588973979.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -3353,6 +3353,7 @@ export default defineVxeComponent({
|
|
|
3353
3353
|
}).then(() => {
|
|
3354
3354
|
computeScrollLoad();
|
|
3355
3355
|
}).then(() => {
|
|
3356
|
+
const virtualYOpts = computeVirtualYOpts.value;
|
|
3356
3357
|
// 是否启用了虚拟滚动
|
|
3357
3358
|
if (sYLoad) {
|
|
3358
3359
|
scrollYStore.endIndex = scrollYStore.visibleSize;
|
|
@@ -3361,6 +3362,9 @@ export default defineVxeComponent({
|
|
|
3361
3362
|
if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
|
|
3362
3363
|
errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
|
|
3363
3364
|
}
|
|
3365
|
+
if (virtualYOpts.mode === 'scroll' && expandOpts.mode === 'fixed') {
|
|
3366
|
+
warnLog('vxe.error.notConflictProp', ['virtual-y-config.mode=scroll', 'expand-config.mode=inside']);
|
|
3367
|
+
}
|
|
3364
3368
|
// if (showOverflow) {
|
|
3365
3369
|
// if (!rowOpts.height) {
|
|
3366
3370
|
// 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
|
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3138
3138
|
;// ./packages/ui/index.ts
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
|
-
const version = "4.16.0-beta.
|
|
3141
|
+
const version = "4.16.0-beta.5";
|
|
3142
3142
|
core_.VxeUI.version = version;
|
|
3143
3143
|
core_.VxeUI.tableVersion = version;
|
|
3144
3144
|
core_.VxeUI.setConfig({
|
|
@@ -3639,7 +3639,7 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
3639
3639
|
const {
|
|
3640
3640
|
log: log_log
|
|
3641
3641
|
} = core_.VxeUI;
|
|
3642
|
-
const log_version = `table v${"4.16.0-beta.
|
|
3642
|
+
const log_version = `table v${"4.16.0-beta.5"}`;
|
|
3643
3643
|
const warnLog = log_log.create('warn', log_version);
|
|
3644
3644
|
const errLog = log_log.create('error', log_version);
|
|
3645
3645
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -5359,6 +5359,7 @@ const Cell = {
|
|
|
5359
5359
|
} = column;
|
|
5360
5360
|
const renderOpts = editRender || cellRender;
|
|
5361
5361
|
const defaultSlot = slots ? slots.default : null;
|
|
5362
|
+
const gcSlot = slots ? slots.groupContent || slots['group-content'] : null;
|
|
5362
5363
|
let cellValue = '';
|
|
5363
5364
|
if (isRowGroupStatus && field && row.isAggregate) {
|
|
5364
5365
|
const aggRow = row;
|
|
@@ -5398,6 +5399,13 @@ const Cell = {
|
|
|
5398
5399
|
*/
|
|
5399
5400
|
totalValue: childCount
|
|
5400
5401
|
};
|
|
5402
|
+
if (gcSlot) {
|
|
5403
|
+
return renderCellBaseVNs(params, $table.callSlot(gcSlot, Object.assign({
|
|
5404
|
+
groupField,
|
|
5405
|
+
groupContent,
|
|
5406
|
+
childCount
|
|
5407
|
+
}, params)));
|
|
5408
|
+
}
|
|
5401
5409
|
if (mode === 'column' ? field === aggRow.groupField : rowGroupNode) {
|
|
5402
5410
|
cellValue = groupContent;
|
|
5403
5411
|
if (contentMethod) {
|
|
@@ -18383,8 +18391,8 @@ treeData=external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils
|
|
|
18383
18391
|
internalData.tableFullData=fullData;internalData.tableFullTreeData=isRGroup?[]:treeData;internalData.tableFullGroupData=isRGroup?treeData:[];// 缓存数据
|
|
18384
18392
|
$xeTable.cacheRowMap(isReset);// 原始数据
|
|
18385
18393
|
internalData.tableSynchData=datas;if(isReset){internalData.isResizeCellHeight=false;}// 克隆原数据,用于显示编辑状态,与编辑值做对比
|
|
18386
|
-
if(keepSource){$xeTable.cacheSourceMap(fullData);}if($xeTable.clearCellAreas&&props.mouseConfig){$xeTable.clearCellAreas();$xeTable.clearCopyCellArea();}$xeTable.clearMergeCells();$xeTable.clearMergeFooterItems();$xeTable.handleTableData(true);$xeTable.updateFooter();$xeTable.handleUpdateBodyMerge();return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(()=>{updateHeight();updateStyle();}).then(()=>{computeScrollLoad();}).then(()=>{
|
|
18387
|
-
if(sYLoad){scrollYStore.endIndex=scrollYStore.visibleSize;}if(sYLoad){if(reactData.expandColumn&&expandOpts.mode!=='fixed'){errLog('vxe.error.notConflictProp',['column.type="expand','expand-config.mode="fixed"']);}// if (showOverflow) {
|
|
18394
|
+
if(keepSource){$xeTable.cacheSourceMap(fullData);}if($xeTable.clearCellAreas&&props.mouseConfig){$xeTable.clearCellAreas();$xeTable.clearCopyCellArea();}$xeTable.clearMergeCells();$xeTable.clearMergeFooterItems();$xeTable.handleTableData(true);$xeTable.updateFooter();$xeTable.handleUpdateBodyMerge();return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(()=>{updateHeight();updateStyle();}).then(()=>{computeScrollLoad();}).then(()=>{const virtualYOpts=computeVirtualYOpts.value;// 是否启用了虚拟滚动
|
|
18395
|
+
if(sYLoad){scrollYStore.endIndex=scrollYStore.visibleSize;}if(sYLoad){if(reactData.expandColumn&&expandOpts.mode!=='fixed'){errLog('vxe.error.notConflictProp',['column.type="expand','expand-config.mode="fixed"']);}if(virtualYOpts.mode==='scroll'&&expandOpts.mode==='fixed'){warnLog('vxe.error.notConflictProp',['virtual-y-config.mode=scroll','expand-config.mode=inside']);}// if (showOverflow) {
|
|
18388
18396
|
// if (!rowOpts.height) {
|
|
18389
18397
|
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
18390
18398
|
// if (errColumn) {
|