vxe-gantt 4.0.7 → 4.0.9

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.
Files changed (38) hide show
  1. package/es/gantt/src/gantt-body.js +6 -0
  2. package/es/gantt/src/gantt-header.js +19 -5
  3. package/es/gantt/src/gantt-view.js +57 -44
  4. package/es/gantt/src/gantt.js +1 -4
  5. package/es/gantt/style.css +19 -4
  6. package/es/gantt/style.min.css +1 -1
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-gantt/style.css +19 -4
  12. package/es/vxe-gantt/style.min.css +1 -1
  13. package/lib/gantt/src/gantt-body.js +14 -0
  14. package/lib/gantt/src/gantt-body.min.js +1 -1
  15. package/lib/gantt/src/gantt-header.js +19 -2
  16. package/lib/gantt/src/gantt-header.min.js +1 -1
  17. package/lib/gantt/src/gantt-view.js +69 -44
  18. package/lib/gantt/src/gantt-view.min.js +1 -1
  19. package/lib/gantt/src/gantt.js +1 -4
  20. package/lib/gantt/src/gantt.min.js +1 -1
  21. package/lib/gantt/style/style.css +19 -4
  22. package/lib/gantt/style/style.min.css +1 -1
  23. package/lib/index.umd.js +104 -52
  24. package/lib/index.umd.min.js +1 -1
  25. package/lib/style.css +1 -1
  26. package/lib/style.min.css +1 -1
  27. package/lib/ui/index.js +1 -1
  28. package/lib/ui/index.min.js +1 -1
  29. package/lib/ui/src/log.js +1 -1
  30. package/lib/ui/src/log.min.js +1 -1
  31. package/lib/vxe-gantt/style/style.css +19 -4
  32. package/lib/vxe-gantt/style/style.min.css +1 -1
  33. package/package.json +3 -3
  34. package/packages/gantt/src/gantt-body.ts +7 -0
  35. package/packages/gantt/src/gantt-header.ts +18 -5
  36. package/packages/gantt/src/gantt-view.ts +56 -45
  37. package/packages/gantt/src/gantt.ts +1 -4
  38. package/styles/components/gantt.scss +21 -3
package/lib/index.umd.js CHANGED
@@ -2780,7 +2780,7 @@ var core_ = __webpack_require__(4345);
2780
2780
  const {
2781
2781
  log
2782
2782
  } = core_.VxeUI;
2783
- const version = `gantt v${"4.0.7"}`;
2783
+ const version = `gantt v${"4.0.9"}`;
2784
2784
  const warnLog = log.create('warn', version);
2785
2785
  const errLog = log.create('error', version);
2786
2786
  ;// ./packages/ui/index.ts
@@ -2791,7 +2791,7 @@ const {
2791
2791
  setIcon,
2792
2792
  checkVersion
2793
2793
  } = core_.VxeUI;
2794
- core_.VxeUI.ganttVersion = "4.0.7";
2794
+ core_.VxeUI.ganttVersion = "4.0.9";
2795
2795
  setConfig({
2796
2796
  gantt: {
2797
2797
  // size: null,
@@ -3317,6 +3317,7 @@ function getCellRestHeight(rowRest, cellOpts, rowOpts, defaultRowHeight) {
3317
3317
 
3318
3318
 
3319
3319
 
3320
+
3320
3321
  const {
3321
3322
  getI18n
3322
3323
  } = core_.VxeUI;
@@ -3339,6 +3340,7 @@ const {
3339
3340
  viewCellWidth
3340
3341
  } = reactData;
3341
3342
  const {
3343
+ todayDateMaps,
3342
3344
  visibleColumn
3343
3345
  } = internalData;
3344
3346
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
@@ -3368,13 +3370,16 @@ const {
3368
3370
  const {
3369
3371
  type,
3370
3372
  titleMethod,
3373
+ headerCellStyle,
3371
3374
  slots
3372
3375
  } = scaleItem;
3373
3376
  const titleSlot = slots ? slots.title : null;
3377
+ const todayValue = $rowIndex === headerGroups.length - 1 ? todayDateMaps[type] : null;
3374
3378
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', {
3375
3379
  key: $rowIndex
3376
3380
  }, columns.map((column, cIndex) => {
3377
3381
  const {
3382
+ field,
3378
3383
  childCount,
3379
3384
  dateObj
3380
3385
  } = column;
@@ -3398,11 +3403,22 @@ const {
3398
3403
  } else if (titleMethod) {
3399
3404
  cellVNs = `${titleMethod(ctParams)}`;
3400
3405
  }
3406
+ let cellStys = {};
3407
+ if (headerCellStyle) {
3408
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerCellStyle)) {
3409
+ cellStys = headerCellStyle(ctParams);
3410
+ } else {
3411
+ cellStys = headerCellStyle;
3412
+ }
3413
+ }
3401
3414
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {
3402
3415
  key: cIndex,
3403
- class: 'vxe-gantt-view--header-column',
3416
+ class: ['vxe-gantt-view--header-column', {
3417
+ 'is--now': todayValue && todayValue === field
3418
+ }],
3404
3419
  colspan: childCount || null,
3405
- title: titleSlot ? null : label
3420
+ title: titleSlot ? null : label,
3421
+ style: cellStys
3406
3422
  }, cellVNs);
3407
3423
  }));
3408
3424
  }))])])]);
@@ -3673,6 +3689,19 @@ const {
3673
3689
  const {
3674
3690
  isAllRowDrag
3675
3691
  } = resizableOpts;
3692
+ const {
3693
+ headerGroups
3694
+ } = reactData;
3695
+ const {
3696
+ todayDateMaps
3697
+ } = internalData;
3698
+ const {
3699
+ scaleItem
3700
+ } = headerGroups[headerGroups.length - 1] || {};
3701
+ const {
3702
+ field
3703
+ } = column;
3704
+ const todayValue = scaleItem ? todayDateMaps[scaleItem.type] : null;
3676
3705
  const rowRest = fullAllDataRowIdData[rowid] || {};
3677
3706
  const resizeHeight = resizeHeightFlag ? rowRest.resizeHeight : 0;
3678
3707
  const isRsHeight = resizeHeight > 0;
@@ -3712,6 +3741,7 @@ const {
3712
3741
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
3713
3742
  key: $columnIndex,
3714
3743
  class: ['vxe-gantt-view--body-column', {
3744
+ 'is--now': todayValue === field,
3715
3745
  'col--rs-height': isRsHeight
3716
3746
  }],
3717
3747
  style: {
@@ -3950,6 +3980,7 @@ function createInternalData() {
3950
3980
  startMaps: {},
3951
3981
  endMaps: {},
3952
3982
  chartMaps: {},
3983
+ todayDateMaps: {},
3953
3984
  elemStore: {},
3954
3985
  // 存放横向 X 虚拟滚动相关的信息
3955
3986
  scrollXStore: {
@@ -4046,6 +4077,30 @@ const maxYHeight = 5e6;
4046
4077
  } = taskOpts;
4047
4078
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(dateValue, dateFormat || null);
4048
4079
  };
4080
+ const updateTodayData = () => {
4081
+ const ganttReactData = $xeGantt.reactData;
4082
+ const {
4083
+ taskScaleList
4084
+ } = ganttReactData;
4085
+ const weekScale = taskScaleList.find(item => item.type === 'week');
4086
+ const itemDate = new Date();
4087
+ const [yyyy, MM, dd, HH, mm, ss] = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(itemDate, 'yyyy-M-d-H-m-s').split('-');
4088
+ const e = itemDate.getDay();
4089
+ const E = e + 1;
4090
+ const q = Math.ceil((itemDate.getMonth() + 1) / 3);
4091
+ const W = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().getYearWeek(itemDate, weekScale ? weekScale.startDay : undefined);
4092
+ internalData.todayDateMaps = {
4093
+ year: yyyy,
4094
+ quarter: `${yyyy}_q${q}`,
4095
+ month: `${yyyy}_${MM}`,
4096
+ week: `${yyyy}_W${W}`,
4097
+ day: `${yyyy}_${MM}_${dd}_E${E}`,
4098
+ date: `${yyyy}_${MM}_${dd}`,
4099
+ hour: `${yyyy}_${MM}_${dd}_${HH}`,
4100
+ minute: `${yyyy}_${MM}_${dd}_${HH}_${mm}`,
4101
+ second: `${yyyy}_${MM}_${dd}_${HH}_${mm}_${ss}`
4102
+ };
4103
+ };
4049
4104
  const handleParseColumn = () => {
4050
4105
  const ganttProps = $xeGantt.props;
4051
4106
  const ganttReactData = $xeGantt.reactData;
@@ -4059,14 +4114,9 @@ const maxYHeight = 5e6;
4059
4114
  minViewDate,
4060
4115
  maxViewDate
4061
4116
  } = reactData;
4062
- const {
4063
- scrollXStore
4064
- } = internalData;
4065
4117
  const minScale = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().last(taskScaleList);
4066
4118
  const fullCols = [];
4067
4119
  const groupCols = [];
4068
- scrollXStore.startIndex = 0;
4069
- scrollXStore.endIndex = 1;
4070
4120
  if (minScale && minViewDate && maxViewDate) {
4071
4121
  const minSType = minScale.type;
4072
4122
  const weekScale = taskScaleList.find(item => item.type === 'week');
@@ -4089,37 +4139,6 @@ const maxYHeight = 5e6;
4089
4139
  const currTime = minViewDate.getTime();
4090
4140
  const diffDayNum = maxViewDate.getTime() - minViewDate.getTime();
4091
4141
  const countSize = Math.max(5, Math.floor(diffDayNum / gapTime) + 1);
4092
- // switch (minScale.type) {
4093
- // case 'day':
4094
- // case 'date':
4095
- // if (diffDayNum > (1000 * 60 * 60 * 24 * 366 * 3)) {
4096
- // reactData.tableColumn = []
4097
- // reactData.headerGroups = []
4098
- // return
4099
- // }
4100
- // break
4101
- // case 'hour':
4102
- // if (diffDayNum > (1000 * 60 * 60 * 24 * 31 * 3)) {
4103
- // reactData.tableColumn = []
4104
- // reactData.headerGroups = []
4105
- // return
4106
- // }
4107
- // break
4108
- // case 'minute':
4109
- // if (diffDayNum > (1000 * 60 * 60 * 24 * 3)) {
4110
- // reactData.tableColumn = []
4111
- // reactData.headerGroups = []
4112
- // return
4113
- // }
4114
- // break
4115
- // case 'second':
4116
- // if (diffDayNum > (1000 * 60 * 60 * 3)) {
4117
- // reactData.tableColumn = []
4118
- // reactData.headerGroups = []
4119
- // return
4120
- // }
4121
- // break
4122
- // }
4123
4142
  const renderListMaps = {
4124
4143
  year: [],
4125
4144
  quarter: [],
@@ -4279,13 +4298,20 @@ const maxYHeight = 5e6;
4279
4298
  const startField = computeStartField.value;
4280
4299
  const endField = computeEndField.value;
4281
4300
  const {
4301
+ computeAggregateOpts,
4282
4302
  computeTreeOpts
4283
4303
  } = $xeTable.getComputeMaps();
4304
+ const tableReactData = $xeTable.reactData;
4305
+ const {
4306
+ isRowGroupStatus
4307
+ } = tableReactData;
4284
4308
  const tableInternalData = $xeTable.internalData;
4285
4309
  const {
4286
4310
  afterFullData,
4287
- afterTreeFullData
4311
+ afterTreeFullData,
4312
+ afterGroupFullData
4288
4313
  } = tableInternalData;
4314
+ const aggregateOpts = computeAggregateOpts.value;
4289
4315
  const treeOpts = computeTreeOpts.value;
4290
4316
  const {
4291
4317
  transform
@@ -4309,7 +4335,16 @@ const maxYHeight = 5e6;
4309
4335
  };
4310
4336
  }
4311
4337
  };
4312
- if (treeConfig) {
4338
+ if (isRowGroupStatus) {
4339
+ // 行分组
4340
+ const mapChildrenField = aggregateOpts.mapChildrenField;
4341
+ if (mapChildrenField) {
4342
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterGroupFullData, handleParseRender, {
4343
+ children: mapChildrenField
4344
+ });
4345
+ }
4346
+ } else if (treeConfig) {
4347
+ // 树结构
4313
4348
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterTreeFullData, handleParseRender, {
4314
4349
  children: transform ? treeOpts.mapChildrenField : childrenField
4315
4350
  });
@@ -4321,6 +4356,7 @@ const maxYHeight = 5e6;
4321
4356
  }
4322
4357
  internalData.visibleColumn = fullCols;
4323
4358
  reactData.headerGroups = groupCols;
4359
+ updateTodayData();
4324
4360
  updateScrollXStatus();
4325
4361
  handleTableColumn();
4326
4362
  };
@@ -4329,6 +4365,9 @@ const maxYHeight = 5e6;
4329
4365
  const {
4330
4366
  treeConfig
4331
4367
  } = ganttProps;
4368
+ const {
4369
+ scrollXStore
4370
+ } = internalData;
4332
4371
  const $xeTable = internalData.xeTable;
4333
4372
  const sdMaps = {};
4334
4373
  const edMaps = {};
@@ -4338,13 +4377,20 @@ const maxYHeight = 5e6;
4338
4377
  const startField = computeStartField.value;
4339
4378
  const endField = computeEndField.value;
4340
4379
  const {
4380
+ computeAggregateOpts,
4341
4381
  computeTreeOpts
4342
4382
  } = $xeTable.getComputeMaps();
4383
+ const tableReactData = $xeTable.reactData;
4384
+ const {
4385
+ isRowGroupStatus
4386
+ } = tableReactData;
4343
4387
  const tableInternalData = $xeTable.internalData;
4344
4388
  const {
4345
4389
  afterFullData,
4346
- afterTreeFullData
4390
+ afterTreeFullData,
4391
+ afterGroupFullData
4347
4392
  } = tableInternalData;
4393
+ const aggregateOpts = computeAggregateOpts.value;
4348
4394
  const treeOpts = computeTreeOpts.value;
4349
4395
  const {
4350
4396
  transform
@@ -4364,7 +4410,16 @@ const maxYHeight = 5e6;
4364
4410
  }
4365
4411
  }
4366
4412
  };
4367
- if (treeConfig) {
4413
+ if (isRowGroupStatus) {
4414
+ // 行分组
4415
+ const mapChildrenField = aggregateOpts.mapChildrenField;
4416
+ if (mapChildrenField) {
4417
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterGroupFullData, handleMinMaxData, {
4418
+ children: mapChildrenField
4419
+ });
4420
+ }
4421
+ } else if (treeConfig) {
4422
+ // 树结构
4368
4423
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterTreeFullData, handleMinMaxData, {
4369
4424
  children: transform ? treeOpts.mapChildrenField : childrenField
4370
4425
  });
@@ -4372,6 +4427,8 @@ const maxYHeight = 5e6;
4372
4427
  afterFullData.forEach(handleMinMaxData);
4373
4428
  }
4374
4429
  }
4430
+ scrollXStore.startIndex = 0;
4431
+ scrollXStore.endIndex = Math.max(1, scrollXStore.visibleSize);
4375
4432
  reactData.minViewDate = minDate;
4376
4433
  reactData.maxViewDate = maxDate;
4377
4434
  internalData.startMaps = sdMaps;
@@ -4422,10 +4479,8 @@ const maxYHeight = 5e6;
4422
4479
  }
4423
4480
  const rowid = rowEl.getAttribute('rowid');
4424
4481
  const rowRest = rowid ? chartMaps[rowid] : null;
4425
- if (rowRest) {
4426
- barEl.style.left = `${viewCellWidth * rowRest.oLeftSize}px`;
4427
- barEl.style.width = `${viewCellWidth * rowRest.oWidthSize}px`;
4428
- }
4482
+ barEl.style.left = `${rowRest ? viewCellWidth * rowRest.oLeftSize : 0}px`;
4483
+ barEl.style.width = `${rowRest ? viewCellWidth * rowRest.oWidthSize : 0}px`;
4429
4484
  });
4430
4485
  }
4431
4486
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
@@ -5194,7 +5249,7 @@ const {
5194
5249
  } = core_.VxeUI;
5195
5250
  const tableProps = external_root_VxeUITable_commonjs_vxe_table_commonjs2_vxe_table_amd_vxe_table_.VxeTable.props;
5196
5251
  const tableComponentPropKeys = Object.keys(tableProps);
5197
- const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'recalcRowHeight', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'setFilterByEvent', 'sort', 'setSort', 'setSortByEvent', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'setRowGroupExpand', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect'];
5252
+ const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'recalcRowHeight', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'setFilterByEvent', 'sort', 'setSort', 'setSortByEvent', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'setRowGroupExpand', 'setRowGroupExpandByField', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect'];
5198
5253
  const defaultLayouts = [['Form'], ['Toolbar', 'Top', 'Gantt', 'Bottom', 'Pager']];
5199
5254
  function gantt_createInternalData() {
5200
5255
  return {
@@ -7406,9 +7461,6 @@ function getViewTypeLevel(type) {
7406
7461
  if (props.expandConfig) {
7407
7462
  warnLog('vxe.error.notProp', ['expand-config']);
7408
7463
  }
7409
- if (props.aggregateConfig) {
7410
- warnLog('vxe.error.notProp', ['aggregate-config']);
7411
- }
7412
7464
  if (columns && columns.length) {
7413
7465
  $xeGantt.loadColumn(columns);
7414
7466
  }