vxe-table 4.15.9 → 4.15.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.
@@ -3342,6 +3342,7 @@ export default defineVxeComponent({
3342
3342
  }).then(() => {
3343
3343
  computeScrollLoad();
3344
3344
  }).then(() => {
3345
+ const virtualYOpts = computeVirtualYOpts.value;
3345
3346
  // 是否启用了虚拟滚动
3346
3347
  if (sYLoad) {
3347
3348
  scrollYStore.endIndex = scrollYStore.visibleSize;
@@ -3350,6 +3351,9 @@ export default defineVxeComponent({
3350
3351
  if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
3351
3352
  errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
3352
3353
  }
3354
+ if (virtualYOpts.mode === 'scroll' && expandOpts.mode === 'fixed') {
3355
+ warnLog('vxe.error.notConflictProp', ['virtual-y-config.mode=scroll', 'expand-config.mode=inside']);
3356
+ }
3353
3357
  // if (showOverflow) {
3354
3358
  // if (!rowOpts.height) {
3355
3359
  // const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "4.15.9";
3
+ export const version = "4.15.10";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"4.15.9"}`;
3
+ const version = `table v${"4.15.10"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -3233,7 +3233,7 @@ function eqEmptyValue(cellValue) {
3233
3233
  ;// ./packages/ui/index.ts
3234
3234
 
3235
3235
 
3236
- const version = "4.15.9";
3236
+ const version = "4.15.10";
3237
3237
  core_.VxeUI.version = version;
3238
3238
  core_.VxeUI.tableVersion = version;
3239
3239
  core_.VxeUI.setConfig({
@@ -3738,7 +3738,7 @@ var es_iterator_some = __webpack_require__(3579);
3738
3738
  const {
3739
3739
  log: log_log
3740
3740
  } = core_.VxeUI;
3741
- const log_version = `table v${"4.15.9"}`;
3741
+ const log_version = `table v${"4.15.10"}`;
3742
3742
  const warnLog = log_log.create('warn', log_version);
3743
3743
  const errLog = log_log.create('error', log_version);
3744
3744
  ;// ./packages/table/src/columnInfo.ts
@@ -5453,6 +5453,7 @@ const Cell = {
5453
5453
  } = column;
5454
5454
  const renderOpts = editRender || cellRender;
5455
5455
  const defaultSlot = slots ? slots.default : null;
5456
+ const gcSlot = slots ? slots.groupContent || slots['group-content'] : null;
5456
5457
  let cellValue = '';
5457
5458
  if (isRowGroupStatus && field && row.isAggregate) {
5458
5459
  const aggRow = row;
@@ -5492,6 +5493,13 @@ const Cell = {
5492
5493
  */
5493
5494
  totalValue: childCount
5494
5495
  };
5496
+ if (gcSlot) {
5497
+ return renderCellBaseVNs(params, $table.callSlot(gcSlot, Object.assign({
5498
+ groupField,
5499
+ groupContent,
5500
+ childCount
5501
+ }, params)));
5502
+ }
5495
5503
  if (mode === 'column' ? field === aggRow.groupField : rowGroupNode) {
5496
5504
  cellValue = groupContent;
5497
5505
  if (contentMethod) {
@@ -18393,8 +18401,8 @@ treeData=external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils
18393
18401
  internalData.tableFullData=fullData;internalData.tableFullTreeData=isRGroup?[]:treeData;internalData.tableFullGroupData=isRGroup?treeData:[];// 缓存数据
18394
18402
  $xeTable.cacheRowMap(isReset);// 原始数据
18395
18403
  internalData.tableSynchData=datas;if(isReset){internalData.isResizeCellHeight=false;}// 克隆原数据,用于显示编辑状态,与编辑值做对比
18396
- 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(()=>{// 是否启用了虚拟滚动
18397
- 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) {
18404
+ 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;// 是否启用了虚拟滚动
18405
+ 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) {
18398
18406
  // if (!rowOpts.height) {
18399
18407
  // const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
18400
18408
  // if (errColumn) {