vxe-table 3.18.0-beta.2 → 3.18.0-beta.3

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.
@@ -393,7 +393,7 @@ function updateScrollYStatus($xeTable, fullData) {
393
393
  const scrollYLoad = (transform || !treeConfig) && !!virtualYOpts.enabled && virtualYOpts.gt > -1 && (virtualYOpts.gt === 0 || virtualYOpts.gt < allList.length);
394
394
  reactData.scrollYLoad = scrollYLoad;
395
395
  if ($xeGanttView) {
396
- $xeGanttView.updateScrollYStatus(scrollYLoad);
396
+ $xeGanttView.handleUpdateSYStatus(scrollYLoad);
397
397
  }
398
398
  return scrollYLoad;
399
399
  }
@@ -10390,6 +10390,7 @@ const Methods = {
10390
10390
  const internalData = $xeTable;
10391
10391
  const { scrollXLoad, overflowX, scrollXWidth } = reactData;
10392
10392
  const { visibleColumn, scrollXStore, elemStore, fullColumnIdData } = internalData;
10393
+ const $xeGanttView = internalData.xeGanttView;
10393
10394
  const mouseOpts = $xeTable.computeMouseOpts;
10394
10395
  const tableBody = $xeTable.$refs.refTableBody;
10395
10396
  const tableBodyElem = tableBody ? tableBody.$el : null;
@@ -10455,6 +10456,9 @@ const Methods = {
10455
10456
  if (isScrollXBig && mouseOpts.area) {
10456
10457
  errLog('vxe.error.notProp', ['mouse-config.area']);
10457
10458
  }
10459
+ if ($xeGanttView) {
10460
+ $xeGanttView.handleUpdateSXSpace();
10461
+ }
10458
10462
  return $xeTable.$nextTick(() => {
10459
10463
  updateStyle($xeTable);
10460
10464
  });
@@ -10574,7 +10578,7 @@ const Methods = {
10574
10578
  errLog('vxe.error.notProp', ['mouse-config.area']);
10575
10579
  }
10576
10580
  if ($xeGanttView) {
10577
- $xeGanttView.updateScrollYSpace();
10581
+ $xeGanttView.handleUpdateSYSpace();
10578
10582
  }
10579
10583
  return $xeTable.$nextTick().then(() => {
10580
10584
  updateStyle($xeTable);
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 = "3.18.0-beta.2";
3
+ export const version = "3.18.0-beta.3";
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${"3.18.0-beta.2"}`;
3
+ const version = `table v${"3.18.0-beta.3"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
2002
2002
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2003
2003
 
2004
2004
 
2005
- const version = "3.18.0-beta.2";
2005
+ const version = "3.18.0-beta.3";
2006
2006
  core_.VxeUI.version = version;
2007
2007
  core_.VxeUI.tableVersion = version;
2008
2008
  core_.VxeUI.setConfig({
@@ -2678,7 +2678,7 @@ function isNodeElement(elem) {
2678
2678
  const {
2679
2679
  log: log_log
2680
2680
  } = core_.VxeUI;
2681
- const log_version = `table v${"3.18.0-beta.2"}`;
2681
+ const log_version = `table v${"3.18.0-beta.3"}`;
2682
2682
  const warnLog = log_log.create('warn', log_version);
2683
2683
  const errLog = log_log.create('error', log_version);
2684
2684
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -6176,7 +6176,7 @@ function updateScrollYStatus($xeTable, fullData) {
6176
6176
  const scrollYLoad = (transform || !treeConfig) && !!virtualYOpts.enabled && virtualYOpts.gt > -1 && (virtualYOpts.gt === 0 || virtualYOpts.gt < allList.length);
6177
6177
  reactData.scrollYLoad = scrollYLoad;
6178
6178
  if ($xeGanttView) {
6179
- $xeGanttView.updateScrollYStatus(scrollYLoad);
6179
+ $xeGanttView.handleUpdateSYStatus(scrollYLoad);
6180
6180
  }
6181
6181
  return scrollYLoad;
6182
6182
  }
@@ -17866,6 +17866,7 @@ const Methods = {
17866
17866
  elemStore,
17867
17867
  fullColumnIdData
17868
17868
  } = internalData;
17869
+ const $xeGanttView = internalData.xeGanttView;
17869
17870
  const mouseOpts = $xeTable.computeMouseOpts;
17870
17871
  const tableBody = $xeTable.$refs.refTableBody;
17871
17872
  const tableBodyElem = tableBody ? tableBody.$el : null;
@@ -17930,6 +17931,9 @@ const Methods = {
17930
17931
  if (isScrollXBig && mouseOpts.area) {
17931
17932
  errLog('vxe.error.notProp', ['mouse-config.area']);
17932
17933
  }
17934
+ if ($xeGanttView) {
17935
+ $xeGanttView.handleUpdateSXSpace();
17936
+ }
17933
17937
  return $xeTable.$nextTick(() => {
17934
17938
  updateStyle($xeTable);
17935
17939
  });
@@ -18059,7 +18063,7 @@ const Methods = {
18059
18063
  errLog('vxe.error.notProp', ['mouse-config.area']);
18060
18064
  }
18061
18065
  if ($xeGanttView) {
18062
- $xeGanttView.updateScrollYSpace();
18066
+ $xeGanttView.handleUpdateSYSpace();
18063
18067
  }
18064
18068
  return $xeTable.$nextTick().then(() => {
18065
18069
  updateStyle($xeTable);