@visactor/vtable-sheet 1.22.11 → 1.22.12-alpha.1

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.
@@ -37864,6 +37864,24 @@
37864
37864
  }, delay));
37865
37865
  };
37866
37866
  }
37867
+ function cancellableThrottle(func, delay) {
37868
+ let timer = null,
37869
+ lastArgs = null,
37870
+ context = null;
37871
+ return {
37872
+ throttled: function (...args) {
37873
+ lastArgs = args, context = this, timer || (timer = setTimeout(() => {
37874
+ lastArgs && func.apply(context, lastArgs), timer = null, lastArgs = null, context = null;
37875
+ }, delay));
37876
+ },
37877
+ cancel: () => {
37878
+ timer && (clearTimeout(timer), timer = null, lastArgs = null, context = null);
37879
+ },
37880
+ flush: () => {
37881
+ timer && lastArgs && (clearTimeout(timer), func.apply(context, lastArgs), timer = null, lastArgs = null, context = null);
37882
+ }
37883
+ };
37884
+ }
37867
37885
  function pad(num, totalChars) {
37868
37886
  for (num = `${num}`; num.length < totalChars;) num = "0" + num;
37869
37887
  return num;
@@ -47712,11 +47730,46 @@
47712
47730
  return hoverMode;
47713
47731
  }
47714
47732
 
47733
+ let brushingChartInstance,
47734
+ brushingChartInstanceCellPos = {
47735
+ col: -1,
47736
+ row: -1
47737
+ };
47738
+ function setBrushingChartInstance(chartInstance, col, row) {
47739
+ brushingChartInstance = chartInstance, brushingChartInstanceCellPos = {
47740
+ col: col,
47741
+ row: row
47742
+ };
47743
+ }
47744
+ function clearAndReleaseBrushingChartInstance(scenegraph) {
47745
+ var _a, _b, _c;
47746
+ enableTooltipToAllChartInstances();
47747
+ const cellGroup = scenegraph.getCell(brushingChartInstanceCellPos.col, brushingChartInstanceCellPos.row);
47748
+ (null === (_a = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _a ? void 0 : _a.deactivate) && (null === (_c = null === (_b = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _b ? void 0 : _b.deactivate) || void 0 === _c || _c.call(_b, scenegraph.table, {
47749
+ forceRelease: !0,
47750
+ releaseChartInstance: !0,
47751
+ releaseColumnChartInstance: !1,
47752
+ releaseRowChartInstance: !1,
47753
+ releaseAllChartInstance: !1
47754
+ })), isValid$2(chartInstanceListColumnByColumnDirection[brushingChartInstanceCellPos.col]) && delete chartInstanceListColumnByColumnDirection[brushingChartInstanceCellPos.col][brushingChartInstanceCellPos.row], isValid$2(chartInstanceListRowByRowDirection[brushingChartInstanceCellPos.row]) && delete chartInstanceListRowByRowDirection[brushingChartInstanceCellPos.row][brushingChartInstanceCellPos.col], brushingChartInstance = void 0, brushingChartInstanceCellPos = {
47755
+ col: -1,
47756
+ row: -1
47757
+ };
47758
+ }
47759
+ function getBrushingChartInstance() {
47760
+ return brushingChartInstance;
47761
+ }
47762
+ function getBrushingChartInstanceCellPos() {
47763
+ return brushingChartInstanceCellPos;
47764
+ }
47715
47765
  const chartInstanceListColumnByColumnDirection = {};
47716
47766
  const chartInstanceListRowByRowDirection = {};
47767
+ const delayRunDimensionHoverTimerForColumnDirection = [],
47768
+ delayRunDimensionHoverTimerForRowDirection = [],
47769
+ delayRunDimensionHoverTimerForViewRange = [];
47717
47770
  function generateChartInstanceListByColumnDirection(col, dimensionValueOrXValue, positionValueOrYValue, canvasXY, table, hideTooltip = !1, isScatter = !1) {
47718
47771
  var _a;
47719
- isValid$2(chartInstanceListColumnByColumnDirection[col]) || (chartInstanceListColumnByColumnDirection[col] = {});
47772
+ clearDelayRunDimensionHoverTimerForColumnDirection(), isValid$2(chartInstanceListColumnByColumnDirection[col]) || (chartInstanceListColumnByColumnDirection[col] = {});
47720
47773
  const {
47721
47774
  rowStart: rowStart
47722
47775
  } = table.getBodyVisibleRowRange();
@@ -47725,76 +47778,40 @@
47725
47778
  for (let i = rowStart; i <= rowEnd; i++) {
47726
47779
  const cellGroup = table.scenegraph.getCell(col, i),
47727
47780
  chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47728
- chartNode.addUpdateShapeAndBoundsTag(), chartInstanceListColumnByColumnDirection[col][i] || isValid$2(chartNode) && (chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListColumnByColumnDirection[col][i] = chartNode.activeChartInstance), setTimeout(() => {
47729
- var _a, _b, _c, _d, _e, _f;
47781
+ chartInstanceListColumnByColumnDirection[col][i] || isValid$2(chartNode) && (chartNode.addUpdateShapeAndBoundsTag(), chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListColumnByColumnDirection[col][i] = chartNode.activeChartInstance);
47782
+ const timer = setTimeout(() => {
47783
+ var _a, _b, _c, _d;
47730
47784
  if (null === (_a = chartInstanceListColumnByColumnDirection[col]) || void 0 === _a ? void 0 : _a[i]) {
47731
47785
  const chartDimensionLinkage = table.options.chartDimensionLinkage;
47732
47786
  let isShowTooltip = !isScatter;
47733
- if (!isScatter && "object" == typeof chartDimensionLinkage) if (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, i === rowEnd && isShowTooltip) {
47734
- const heightLimitToShowTooltipForEdgeRow = null !== (_c = chartDimensionLinkage.heightLimitToShowTooltipForEdgeRow) && void 0 !== _c ? _c : 0,
47735
- {
47736
- rowEnd: rowEnd1
47737
- } = table.getBodyVisibleRowRange(0, -heightLimitToShowTooltipForEdgeRow);
47738
- if (rowEnd1 === rowEnd) isShowTooltip = !0;else {
47739
- const {
47740
- rowEnd: rowEnd2
47741
- } = table.getBodyVisibleRowRange(0, 5);
47742
- isShowTooltip = rowEnd2 !== rowEnd;
47743
- }
47744
- } else if (i === rowStart && isShowTooltip) {
47745
- const heightLimitToShowTooltipForEdgeRow = null !== (_d = chartDimensionLinkage.heightLimitToShowTooltipForEdgeRow) && void 0 !== _d ? _d : 0,
47746
- {
47747
- rowStart: rowStart1
47748
- } = table.getBodyVisibleRowRange(heightLimitToShowTooltipForEdgeRow, 0);
47749
- if (rowStart1 === rowStart) isShowTooltip = !0;else {
47750
- const {
47751
- rowStart: rowStart2
47752
- } = table.getBodyVisibleRowRange(0, -5);
47753
- isShowTooltip = rowStart2 !== rowStart;
47754
- }
47755
- }
47756
- if (isScatter) table.stateManager.hover.cellPos.col === col && table.stateManager.hover.cellPos.row === i || null === (_f = (_e = chartInstanceListColumnByColumnDirection[col][i]).showCrosshair) || void 0 === _f || _f.call(_e, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue);else {
47757
- const bodyBoundryTop = table.frozenRowCount ? table.getCellRelativeRect(col, table.frozenRowCount - 1).bottom : 0,
47787
+ if (isScatter || "object" != typeof chartDimensionLinkage || (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, isShowTooltip = isShowTooltip && checkIsShowTooltipForEdgeRow(i, table)), isScatter) table.stateManager.hover.cellPos.col === col && table.stateManager.hover.cellPos.row === i || null === (_d = (_c = chartInstanceListColumnByColumnDirection[col][i]).showCrosshair) || void 0 === _d || _d.call(_c, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue);else {
47788
+ const cellBoundry = table.getCellRelativeRect(col, i),
47789
+ bodyBoundryTop = table.frozenRowCount ? table.getCellRelativeRect(col, table.frozenRowCount - 1).bottom : 0,
47758
47790
  absolutePositionTop = Math.max(bodyBoundryTop, table.getCellRelativeRect(col, i).top);
47759
47791
  hideTooltip ? (table.stateManager.hover.cellPos.col === col && table.stateManager.hover.cellPos.row === i || chartInstanceListColumnByColumnDirection[col][i].hideTooltip(), chartInstanceListColumnByColumnDirection[col][i].setDimensionIndex(dimensionValueOrXValue, {
47760
47792
  tooltip: !1,
47761
47793
  showTooltipOption: {
47762
- x: canvasXY.x,
47763
- y: absolutePositionTop,
47794
+ x: canvasXY.x - cellBoundry.left,
47795
+ y: absolutePositionTop - cellBoundry.top,
47764
47796
  activeType: "dimension"
47765
47797
  }
47766
47798
  })) : chartInstanceListColumnByColumnDirection[col][i].setDimensionIndex(dimensionValueOrXValue, {
47767
47799
  tooltip: isShowTooltip,
47768
47800
  showTooltipOption: {
47769
- x: canvasXY.x,
47770
- y: absolutePositionTop,
47801
+ x: canvasXY.x - cellBoundry.left,
47802
+ y: absolutePositionTop - cellBoundry.top,
47771
47803
  activeType: "dimension"
47772
47804
  }
47773
47805
  });
47774
47806
  }
47775
47807
  }
47776
- }, 0), table.scenegraph.updateNextFrame();
47777
- }
47778
- }
47779
- function clearChartInstanceListByColumnDirection(col, excludedRow, table) {
47780
- var _a;
47781
- if (isValid$2(chartInstanceListColumnByColumnDirection[col])) {
47782
- for (const i in chartInstanceListColumnByColumnDirection[col]) {
47783
- if (isValid$2(excludedRow) && Number(i) === excludedRow) continue;
47784
- const cellGroup = table.scenegraph.getCell(col, Number(i)),
47785
- chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47786
- chartNode.addUpdateShapeAndBoundsTag(), isValid$2(chartNode) && (chartNode.deactivate(table, {
47787
- releaseChartInstance: !0,
47788
- releaseColumnChartInstance: !1,
47789
- releaseRowChartInstance: !1
47790
- }), chartInstanceListColumnByColumnDirection[col][i] = null);
47791
- }
47792
- delete chartInstanceListColumnByColumnDirection[col];
47808
+ }, 0);
47809
+ delayRunDimensionHoverTimerForColumnDirection.push(timer), table.scenegraph.updateNextFrame();
47793
47810
  }
47794
47811
  }
47795
47812
  function generateChartInstanceListByRowDirection(row, dimensionValueOrXValue, positionValueOrYValue, canvasXY, table, hideTooltip = !1, isScatter = !1) {
47796
47813
  var _a;
47797
- isValid$2(chartInstanceListRowByRowDirection[row]) || (chartInstanceListRowByRowDirection[row] = {});
47814
+ clearDelayRunDimensionHoverTimerForRowDirection(), isValid$2(chartInstanceListRowByRowDirection[row]) || (chartInstanceListRowByRowDirection[row] = {});
47798
47815
  const {
47799
47816
  colStart: colStart
47800
47817
  } = table.getBodyVisibleColRange();
@@ -47803,64 +47820,162 @@
47803
47820
  for (let i = colStart; i <= colEnd; i++) {
47804
47821
  const cellGroup = table.scenegraph.getCell(i, row),
47805
47822
  chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47806
- chartNode.addUpdateShapeAndBoundsTag(), chartInstanceListRowByRowDirection[row][i] || isValid$2(chartNode) && (chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListRowByRowDirection[row][i] = chartNode.activeChartInstance), setTimeout(() => {
47823
+ chartInstanceListRowByRowDirection[row][i] || isValid$2(chartNode) && (chartNode.addUpdateShapeAndBoundsTag(), chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListRowByRowDirection[row][i] = chartNode.activeChartInstance);
47824
+ const timer = setTimeout(() => {
47807
47825
  var _a, _b, _c, _d;
47808
47826
  if (null === (_a = chartInstanceListRowByRowDirection[row]) || void 0 === _a ? void 0 : _a[i]) {
47809
47827
  const chartDimensionLinkage = table.options.chartDimensionLinkage;
47810
47828
  let isShowTooltip = !isScatter;
47811
- if (!isScatter && "object" == typeof chartDimensionLinkage) if (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, i === colEnd && isShowTooltip) {
47812
- const widthLimitToShowTooltipForEdgeColumn = chartDimensionLinkage.widthLimitToShowTooltipForEdgeColumn,
47813
- {
47814
- colEnd: colEnd1
47815
- } = table.getBodyVisibleColRange(0, -widthLimitToShowTooltipForEdgeColumn);
47816
- if (colEnd1 === colEnd) isShowTooltip = !0;else {
47817
- const {
47818
- colEnd: colEnd2
47819
- } = table.getBodyVisibleColRange(0, 5);
47820
- isShowTooltip = colEnd2 !== colEnd;
47821
- }
47822
- } else if (i === colStart && isShowTooltip) {
47823
- const widthLimitToShowTooltipForEdgeColumn = chartDimensionLinkage.widthLimitToShowTooltipForEdgeColumn,
47824
- {
47825
- colStart: colStart1
47826
- } = table.getBodyVisibleColRange(widthLimitToShowTooltipForEdgeColumn, 0);
47827
- if (colStart1 === colStart) isShowTooltip = !0;else {
47828
- const {
47829
- colStart: colStart2
47830
- } = table.getBodyVisibleColRange(0, -5);
47831
- isShowTooltip = colStart2 !== colStart;
47832
- }
47833
- }
47834
- if (isScatter) table.stateManager.hover.cellPos.col === i && table.stateManager.hover.cellPos.row === row || null === (_d = (_c = chartInstanceListRowByRowDirection[row][i]).showCrosshair) || void 0 === _d || _d.call(_c, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue);else {
47835
- const bodyBoundryLeft = table.frozenColCount ? table.getCellRelativeRect(table.frozenColCount - 1, row).right : 0,
47829
+ if (isScatter || "object" != typeof chartDimensionLinkage || (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, isShowTooltip = isShowTooltip && checkIsShowTooltipForEdgeColumn(i, table)), isScatter) table.stateManager.hover.cellPos.col === i && table.stateManager.hover.cellPos.row === row || null === (_d = (_c = chartInstanceListRowByRowDirection[row][i]).showCrosshair) || void 0 === _d || _d.call(_c, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue);else {
47830
+ const cellBoundry = table.getCellRelativeRect(i, row),
47831
+ bodyBoundryLeft = table.frozenColCount ? table.getCellRelativeRect(table.frozenColCount - 1, row).right : 0,
47836
47832
  absolutePositionLeft = Math.max(bodyBoundryLeft, table.getCellRelativeRect(i, row).left);
47837
47833
  hideTooltip ? (table.stateManager.hover.cellPos.col === i && table.stateManager.hover.cellPos.row === row || chartInstanceListRowByRowDirection[row][i].hideTooltip(), chartInstanceListRowByRowDirection[row][i].setDimensionIndex(dimensionValueOrXValue, {
47838
47834
  tooltip: !1,
47839
47835
  showTooltipOption: {
47840
- x: absolutePositionLeft,
47841
- y: canvasXY.y,
47836
+ x: absolutePositionLeft - cellBoundry.left,
47837
+ y: canvasXY.y - cellBoundry.top,
47842
47838
  activeType: "dimension"
47843
47839
  }
47844
47840
  })) : chartInstanceListRowByRowDirection[row][i].setDimensionIndex(dimensionValueOrXValue, {
47845
47841
  tooltip: isShowTooltip,
47846
47842
  showTooltipOption: {
47847
- x: absolutePositionLeft,
47848
- y: canvasXY.y,
47843
+ x: absolutePositionLeft - cellBoundry.left,
47844
+ y: canvasXY.y - cellBoundry.top,
47849
47845
  activeType: "dimension"
47850
47846
  }
47851
47847
  });
47852
47848
  }
47853
47849
  }
47854
- }, 0), table.scenegraph.updateNextFrame();
47850
+ }, 0);
47851
+ delayRunDimensionHoverTimerForRowDirection.push(timer), table.scenegraph.updateNextFrame();
47852
+ }
47853
+ }
47854
+ function generateChartInstanceListByViewRange(datum, table, deactivate = !1) {
47855
+ var _a;
47856
+ clearDelayRunDimensionHoverTimerForViewRange();
47857
+ const {
47858
+ rowStart: rowStart
47859
+ } = table.getBodyVisibleRowRange();
47860
+ let rowEnd = table.getBodyVisibleRowRange().rowEnd;
47861
+ rowEnd = Math.min(table.rowCount - 1 - table.bottomFrozenRowCount, rowEnd);
47862
+ const {
47863
+ colStart: colStart
47864
+ } = table.getBodyVisibleColRange();
47865
+ let colEnd = table.getBodyVisibleColRange().colEnd;
47866
+ colEnd = Math.min(table.colCount - 1 - table.rightFrozenColCount, colEnd);
47867
+ for (let col = colStart; col <= colEnd; col++) {
47868
+ isValid$2(chartInstanceListColumnByColumnDirection[col]) || (chartInstanceListColumnByColumnDirection[col] = {});
47869
+ for (let i = rowStart; i <= rowEnd; i++) {
47870
+ const cellGroup = table.scenegraph.getCell(col, i),
47871
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47872
+ chartInstanceListColumnByColumnDirection[col][i] || isValid$2(chartNode) && (chartNode.addUpdateShapeAndBoundsTag(), chartNode.activeChartInstance ? chartInstanceListColumnByColumnDirection[col][i] = chartNode.activeChartInstance : "pie" === chartNode.attribute.spec.type && (chartNode.activate(table), chartInstanceListColumnByColumnDirection[col][i] = chartNode.activeChartInstance));
47873
+ const timer = setTimeout(() => {
47874
+ var _a, _b;
47875
+ if (null === (_a = chartInstanceListColumnByColumnDirection[col]) || void 0 === _a ? void 0 : _a[i]) {
47876
+ const chartDimensionLinkage = table.options.chartDimensionLinkage;
47877
+ let isShowTooltip = !0;
47878
+ "object" == typeof chartDimensionLinkage && (deactivate ? (chartInstanceListColumnByColumnDirection[col][i].setHovered(), chartInstanceListColumnByColumnDirection[col][i].hideTooltip()) : (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, isShowTooltip = isShowTooltip && checkIsShowTooltipForEdgeRow(i, table), isShowTooltip = isShowTooltip && checkIsShowTooltipForEdgeColumn(col, table), chartInstanceListColumnByColumnDirection[col][i].setHovered(datum), isShowTooltip && chartInstanceListColumnByColumnDirection[col][i].showTooltip(datum, {
47879
+ activeType: "mark"
47880
+ })));
47881
+ }
47882
+ }, 0);
47883
+ delayRunDimensionHoverTimerForViewRange.push(timer), table.scenegraph.updateNextFrame();
47884
+ }
47885
+ }
47886
+ }
47887
+ function checkIsShowTooltipForEdgeRow(row, table) {
47888
+ var _a, _b;
47889
+ let isShowTooltip = !0;
47890
+ const {
47891
+ rowStart: rowStart
47892
+ } = table.getBodyVisibleRowRange();
47893
+ let rowEnd = table.getBodyVisibleRowRange().rowEnd;
47894
+ rowEnd = Math.min(table.rowCount - 1 - table.bottomFrozenRowCount, rowEnd);
47895
+ const chartDimensionLinkage = table.options.chartDimensionLinkage;
47896
+ if (row === rowEnd && isShowTooltip) {
47897
+ const heightLimitToShowTooltipForEdgeRow = null !== (_a = chartDimensionLinkage.heightLimitToShowTooltipForEdgeRow) && void 0 !== _a ? _a : 0,
47898
+ {
47899
+ rowEnd: rowEnd1
47900
+ } = table.getBodyVisibleRowRange(0, -heightLimitToShowTooltipForEdgeRow);
47901
+ if (rowEnd1 === rowEnd) isShowTooltip = !0;else {
47902
+ const {
47903
+ rowEnd: rowEnd2
47904
+ } = table.getBodyVisibleRowRange(0, 5);
47905
+ isShowTooltip = rowEnd2 !== rowEnd;
47906
+ }
47907
+ } else if (row === rowStart && isShowTooltip) {
47908
+ const heightLimitToShowTooltipForEdgeRow = null !== (_b = chartDimensionLinkage.heightLimitToShowTooltipForEdgeRow) && void 0 !== _b ? _b : 0,
47909
+ {
47910
+ rowStart: rowStart1
47911
+ } = table.getBodyVisibleRowRange(heightLimitToShowTooltipForEdgeRow, 0);
47912
+ if (rowStart1 === rowStart) isShowTooltip = !0;else {
47913
+ const {
47914
+ rowStart: rowStart2
47915
+ } = table.getBodyVisibleRowRange(0, -5);
47916
+ isShowTooltip = rowStart2 !== rowStart;
47917
+ }
47918
+ }
47919
+ return isShowTooltip;
47920
+ }
47921
+ function checkIsShowTooltipForEdgeColumn(col, table) {
47922
+ let isShowTooltip = !0;
47923
+ const {
47924
+ colStart: colStart
47925
+ } = table.getBodyVisibleColRange();
47926
+ let colEnd = table.getBodyVisibleColRange().colEnd;
47927
+ colEnd = Math.min(table.colCount - 1 - table.rightFrozenColCount, colEnd);
47928
+ const chartDimensionLinkage = table.options.chartDimensionLinkage;
47929
+ if (col === colEnd && isShowTooltip) {
47930
+ const widthLimitToShowTooltipForEdgeColumn = chartDimensionLinkage.widthLimitToShowTooltipForEdgeColumn,
47931
+ {
47932
+ colEnd: colEnd1
47933
+ } = table.getBodyVisibleColRange(0, -widthLimitToShowTooltipForEdgeColumn);
47934
+ if (colEnd1 === colEnd) isShowTooltip = !0;else {
47935
+ const {
47936
+ colEnd: colEnd2
47937
+ } = table.getBodyVisibleColRange(0, 5);
47938
+ isShowTooltip = colEnd2 !== colEnd;
47939
+ }
47940
+ } else if (col === colStart && isShowTooltip) {
47941
+ const widthLimitToShowTooltipForEdgeColumn = chartDimensionLinkage.widthLimitToShowTooltipForEdgeColumn,
47942
+ {
47943
+ colStart: colStart1
47944
+ } = table.getBodyVisibleColRange(widthLimitToShowTooltipForEdgeColumn, 0);
47945
+ if (colStart1 === colStart) isShowTooltip = !0;else {
47946
+ const {
47947
+ colStart: colStart2
47948
+ } = table.getBodyVisibleColRange(0, -5);
47949
+ isShowTooltip = colStart2 !== colStart;
47950
+ }
47951
+ }
47952
+ return isShowTooltip;
47953
+ }
47954
+ function clearChartInstanceListByColumnDirection(col, excludedRow, table, forceRelease = !1) {
47955
+ var _a;
47956
+ if (isValid$2(chartInstanceListColumnByColumnDirection[col])) {
47957
+ for (const i in chartInstanceListColumnByColumnDirection[col]) {
47958
+ if (isValid$2(excludedRow) && Number(i) === excludedRow) continue;
47959
+ const cellGroup = table.scenegraph.getCell(col, Number(i)),
47960
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47961
+ isValid$2(chartNode) && (chartNode.addUpdateShapeAndBoundsTag(), chartNode.deactivate(table, {
47962
+ forceRelease: forceRelease,
47963
+ releaseChartInstance: !0,
47964
+ releaseColumnChartInstance: !1,
47965
+ releaseRowChartInstance: !1
47966
+ }), chartInstanceListColumnByColumnDirection[col][i] = null);
47967
+ }
47968
+ delete chartInstanceListColumnByColumnDirection[col];
47855
47969
  }
47856
47970
  }
47857
- function clearChartInstanceListByRowDirection(row, excludedCol, table) {
47971
+ function clearChartInstanceListByRowDirection(row, excludedCol, table, forceRelease = !1) {
47858
47972
  var _a;
47859
47973
  if (isValid$2(chartInstanceListRowByRowDirection[row])) for (const i in chartInstanceListRowByRowDirection[row]) {
47860
47974
  if (isValid$2(excludedCol) && Number(i) === excludedCol) continue;
47861
47975
  const cellGroup = table.scenegraph.getCell(Number(i), row),
47862
47976
  chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47863
- chartNode.addUpdateShapeAndBoundsTag(), isValid$2(chartNode) && (chartNode.deactivate(table, {
47977
+ isValid$2(chartNode) && (chartNode.addUpdateShapeAndBoundsTag(), chartNode.deactivate(table, {
47978
+ forceRelease: forceRelease,
47864
47979
  releaseChartInstance: !0,
47865
47980
  releaseColumnChartInstance: !1,
47866
47981
  releaseRowChartInstance: !1
@@ -47868,6 +47983,40 @@
47868
47983
  }
47869
47984
  delete chartInstanceListRowByRowDirection[row];
47870
47985
  }
47986
+ function clearDelayRunDimensionHoverTimerForColumnDirection() {
47987
+ for (const timer of delayRunDimensionHoverTimerForColumnDirection) clearTimeout(timer);
47988
+ delayRunDimensionHoverTimerForColumnDirection.length = 0;
47989
+ }
47990
+ function clearDelayRunDimensionHoverTimerForRowDirection() {
47991
+ for (const timer of delayRunDimensionHoverTimerForRowDirection) clearTimeout(timer);
47992
+ delayRunDimensionHoverTimerForRowDirection.length = 0;
47993
+ }
47994
+ function clearDelayRunDimensionHoverTimerForViewRange() {
47995
+ for (const timer of delayRunDimensionHoverTimerForViewRange) clearTimeout(timer);
47996
+ delayRunDimensionHoverTimerForViewRange.length = 0;
47997
+ }
47998
+ function clearDelayRunDimensionHoverTimers() {
47999
+ for (const timer of delayRunDimensionHoverTimerForColumnDirection) clearTimeout(timer);
48000
+ delayRunDimensionHoverTimerForColumnDirection.length = 0;
48001
+ for (const timer of delayRunDimensionHoverTimerForRowDirection) clearTimeout(timer);
48002
+ delayRunDimensionHoverTimerForRowDirection.length = 0;
48003
+ for (const timer of delayRunDimensionHoverTimerForViewRange) clearTimeout(timer);
48004
+ delayRunDimensionHoverTimerForViewRange.length = 0;
48005
+ }
48006
+ function clearAllChartInstanceList(table, forceRelease = !1) {
48007
+ clearDelayRunDimensionHoverTimers();
48008
+ for (const col in chartInstanceListColumnByColumnDirection) clearChartInstanceListByColumnDirection(Number(col), void 0, table, forceRelease);
48009
+ for (const row in chartInstanceListRowByRowDirection) clearChartInstanceListByRowDirection(Number(row), void 0, table, forceRelease);
48010
+ }
48011
+ let disabledTooltipToAllChartInstances = !1;
48012
+ function isDisabledTooltipToAllChartInstances() {
48013
+ return disabledTooltipToAllChartInstances;
48014
+ }
48015
+ function enableTooltipToAllChartInstances() {
48016
+ disabledTooltipToAllChartInstances = !1;
48017
+ for (const col in chartInstanceListColumnByColumnDirection) for (const row in chartInstanceListColumnByColumnDirection[col]) chartInstanceListColumnByColumnDirection[col][row].disableTooltip(!1);
48018
+ for (const row in chartInstanceListRowByRowDirection) for (const col in chartInstanceListRowByRowDirection[row]) chartInstanceListRowByRowDirection[row][col].disableTooltip(!1);
48019
+ }
47871
48020
 
47872
48021
  function isValidAlignDomain(domain) {
47873
48022
  return 2 === domain.length && isValidNumber$1(domain[0]) && isValidNumber$1(domain[1]) && domain[1] >= domain[0];
@@ -48501,7 +48650,7 @@
48501
48650
  const CHART_NUMBER_TYPE = genNumberType();
48502
48651
  class Chart extends Rect$2 {
48503
48652
  constructor(isShareChartSpec, params) {
48504
- if (super(params), this.type = "chart", this.activeChartInstanceHoverOnMark = null, this.justShowMarkTooltip = void 0, this.justShowMarkTooltipTimer = Date.now(), this.delayRunDimensionHoverTimer = void 0, this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
48653
+ if (super(params), this.type = "chart", this.activeChartInstanceLastViewBox = null, this.activeChartInstanceHoverOnMark = null, this.justShowMarkTooltip = void 0, this.justShowMarkTooltipTimer = Date.now(), this.delayRunDimensionHoverTimer = void 0, this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
48505
48654
  const chartInstance = this.chartInstance = new params.ClassType(params.spec, merge({}, this.attribute.tableChartOption, {
48506
48655
  renderCanvas: params.canvas,
48507
48656
  mode: "node" === this.attribute.mode ? "node" : "desktop-browser",
@@ -48522,7 +48671,7 @@
48522
48671
  }
48523
48672
  }
48524
48673
  activate(table) {
48525
- var _a, _b, _c, _d, _e;
48674
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
48526
48675
  if (this.activeChartInstance) return;
48527
48676
  const {
48528
48677
  col: col,
@@ -48541,7 +48690,7 @@
48541
48690
  y1: y1 - table.scrollTop,
48542
48691
  y2: y2 - table.scrollTop
48543
48692
  });
48544
- null === (_a = this.activeChartInstance) || void 0 === _a || _a.release(), this.attribute.ClassType.globalConfig.uniqueTooltip = !1, this.activeChartInstance = new this.attribute.ClassType(this.attribute.spec, merge({}, this.attribute.tableChartOption, {
48693
+ this.attribute.ClassType.globalConfig.uniqueTooltip = !1, this.activeChartInstance = new this.attribute.ClassType(this.attribute.spec, merge({}, this.attribute.tableChartOption, {
48545
48694
  renderCanvas: this.attribute.canvas,
48546
48695
  mode: "desktop-browser",
48547
48696
  canvasControled: !1,
@@ -48575,7 +48724,7 @@
48575
48724
  layer.main && drawParams.clear && hoverColor && (context.beginPath(), context.fillStyle = hoverColor, context.rect(viewBox.x1, viewBox.y1, viewBox.x2 - viewBox.x1, viewBox.y2 - viewBox.y1), context.fill());
48576
48725
  }
48577
48726
  },
48578
- componentShowContent: table.options.chartDimensionLinkage && "scatter" !== this.attribute.spec.type ? {
48727
+ componentShowContent: (null === (_a = table.options.chartDimensionLinkage) || void 0 === _a ? void 0 : _a.showTooltip) && "scatter" !== this.attribute.spec.type ? {
48579
48728
  tooltip: {
48580
48729
  dimension: !1,
48581
48730
  mark: !0
@@ -48586,16 +48735,43 @@
48586
48735
  const chartStage = this.activeChartInstance.getStage(),
48587
48736
  matrix = this.globalTransMatrix.clone(),
48588
48737
  stageMatrix = this.stage.window.getViewBoxTransform();
48738
+ let brushChangeThrottle;
48589
48739
  matrix.multiply(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f), chartStage.window.setViewBoxTransform && chartStage.window.setViewBoxTransform(matrix.a, matrix.b, matrix.c, matrix.d, matrix.e, matrix.f), this.activeChartInstance.renderSync(), null === (_c = null === (_b = table.internalProps.layoutMap) || void 0 === _b ? void 0 : _b.updateDataStateToActiveChartInstance) || void 0 === _c || _c.call(_b, this.activeChartInstance), this.activeChartInstance.on("click", params => {
48740
+ var _a, _b, _c, _d;
48741
+ !1 === (null === (_a = this.attribute.spec.select) || void 0 === _a ? void 0 : _a.enable) ? (null === (_b = this.attribute.spec.interactions) || void 0 === _b ? void 0 : _b.find(interaction => "element-select" === interaction.type && interaction.isMultiple)) ? table.scenegraph.updateChartState(null == params ? void 0 : params.datum, "multiple-select") : table.scenegraph.updateChartState(null, void 0) : !0 === (null === (_c = this.attribute.spec.select) || void 0 === _c ? void 0 : _c.enable) && "multiple" === (null === (_d = this.attribute.spec.select) || void 0 === _d ? void 0 : _d.mode) ? table.scenegraph.updateChartState(null == params ? void 0 : params.datum, "multiple-select") : Chart.temp && (table.scenegraph.updateChartState(null, "brush"), table.scenegraph.updateChartState(null == params ? void 0 : params.datum, "click"));
48742
+ }), (null === (_d = table.options.chartDimensionLinkage) || void 0 === _d ? void 0 : _d.listenBrushChange) && (brushChangeThrottle = cancellableThrottle(table.scenegraph.updateChartState.bind(table.scenegraph), null !== (_f = null === (_e = table.options.chartDimensionLinkage) || void 0 === _e ? void 0 : _e.brushChangeDelay) && void 0 !== _f ? _f : 100), this.activeChartInstance.on("brushChange", params => {
48590
48743
  var _a;
48591
- !1 === (null === (_a = this.attribute.spec.select) || void 0 === _a ? void 0 : _a.enable) ? table.scenegraph.updateChartState(null) : Chart.temp && table.scenegraph.updateChartState(null == params ? void 0 : params.datum);
48744
+ brushChangeThrottle.throttled(null === (_a = null == params ? void 0 : params.value) || void 0 === _a ? void 0 : _a.inBrushData, "brush");
48745
+ })), this.activeChartInstance.on("brushStart", params => {
48746
+ const brushingChartInstance = getBrushingChartInstance();
48747
+ brushingChartInstance !== this.activeChartInstance && (brushingChartInstance && clearAndReleaseBrushingChartInstance(table.scenegraph), setBrushingChartInstance(this.activeChartInstance, col, row));
48592
48748
  }), this.activeChartInstance.on("brushEnd", params => {
48593
48749
  var _a;
48594
- table.scenegraph.updateChartState(null === (_a = null == params ? void 0 : params.value) || void 0 === _a ? void 0 : _a.inBrushData), Chart.temp = 0, setTimeout(() => {
48750
+ null == brushChangeThrottle || brushChangeThrottle.cancel(), table.scenegraph.updateChartState(null === (_a = null == params ? void 0 : params.value) || void 0 === _a ? void 0 : _a.inBrushData, "brush"), Chart.temp = 0, setTimeout(() => {
48595
48751
  Chart.temp = 1;
48596
48752
  }, 0);
48597
- }), table.options.chartDimensionLinkage && this.activeChartInstance.on("dimensionHover", params => {
48753
+ }), (null === (_g = table.options.chartDimensionLinkage) || void 0 === _g ? void 0 : _g.showTooltip) && ("pie" === this.attribute.spec.type && (this.activeChartInstance.on("pointerover", {
48754
+ markName: "pie"
48755
+ }, params => {
48756
+ var _a;
48757
+ const categoryField = this.attribute.spec.categoryField,
48758
+ datum = {
48759
+ [categoryField]: null === (_a = null == params ? void 0 : params.datum) || void 0 === _a ? void 0 : _a[categoryField]
48760
+ };
48761
+ generateChartInstanceListByViewRange(datum, table, !1);
48762
+ }), this.activeChartInstance.on("pointerout", {
48763
+ markName: "pie"
48764
+ }, params => {
48765
+ var _a;
48766
+ const categoryField = this.attribute.spec.categoryField,
48767
+ datum = {
48768
+ [categoryField]: null === (_a = null == params ? void 0 : params.datum) || void 0 === _a ? void 0 : _a[categoryField]
48769
+ };
48770
+ generateChartInstanceListByViewRange(datum, table, !0);
48771
+ })), this.activeChartInstance.on("dimensionHover", params => {
48598
48772
  var _a, _b;
48773
+ if (isDisabledTooltipToAllChartInstances()) return;
48774
+ this.activeChartInstance.disableTooltip(!1);
48599
48775
  const dimensionInfo = null == params ? void 0 : params.dimensionInfo[0],
48600
48776
  canvasXY = null === (_a = null == params ? void 0 : params.event) || void 0 === _a ? void 0 : _a.canvas,
48601
48777
  viewport = null === (_b = null == params ? void 0 : params.event) || void 0 === _b ? void 0 : _b.viewport;
@@ -48612,11 +48788,11 @@
48612
48788
  prev_justShowMarkTooltip = this.justShowMarkTooltip;
48613
48789
  params.mark && params.datum && !Array.isArray(params.datum) ? (this.activeChartInstanceHoverOnMark = params.mark, justShowMarkTooltip = !0) : (this.activeChartInstanceHoverOnMark = null, justShowMarkTooltip = !1), this.justShowMarkTooltip = justShowMarkTooltip;
48614
48790
  let delayRunDimensionHover = !1;
48615
- if (!1 !== prev_justShowMarkTooltip && !1 === justShowMarkTooltip ? (this.justShowMarkTooltipTimer = Date.now(), delayRunDimensionHover = !0) : !1 === prev_justShowMarkTooltip && !1 === justShowMarkTooltip ? delayRunDimensionHover = Date.now() - this.justShowMarkTooltipTimer < 100 : (!1 === prev_justShowMarkTooltip && !0 === justShowMarkTooltip || !0 === prev_justShowMarkTooltip && !0 === justShowMarkTooltip) && (delayRunDimensionHover = !1, clearTimeout(this.delayRunDimensionHoverTimer), this.delayRunDimensionHoverTimer = void 0), "enter" === params.action || "move" === params.action || preMark !== this.activeChartInstanceHoverOnMark) {
48791
+ if (!1 !== prev_justShowMarkTooltip && !1 === justShowMarkTooltip ? (this.justShowMarkTooltipTimer = Date.now(), delayRunDimensionHover = !0) : !1 === prev_justShowMarkTooltip && !1 === justShowMarkTooltip ? delayRunDimensionHover = Date.now() - this.justShowMarkTooltipTimer < 100 : (!1 === prev_justShowMarkTooltip && !0 === justShowMarkTooltip || !0 === prev_justShowMarkTooltip && !0 === justShowMarkTooltip) && (delayRunDimensionHover = !1, this.clearDelayRunDimensionHoverTimer()), "enter" === params.action || "move" === params.action || preMark !== this.activeChartInstanceHoverOnMark) {
48616
48792
  const dimensionValue = dimensionInfo.value,
48617
48793
  indicatorsAsCol = table.options.indicatorsAsCol;
48618
- if (delayRunDimensionHover ? (clearTimeout(this.delayRunDimensionHoverTimer), this.delayRunDimensionHoverTimer = setTimeout(() => {
48619
- indicatorsAsCol ? generateChartInstanceListByRowDirection(row, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1) : generateChartInstanceListByColumnDirection(col, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1);
48794
+ if (delayRunDimensionHover ? (this.clearDelayRunDimensionHoverTimer(), this.delayRunDimensionHoverTimer = setTimeout(() => {
48795
+ isDisabledTooltipToAllChartInstances() || (indicatorsAsCol ? generateChartInstanceListByRowDirection(row, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1) : generateChartInstanceListByColumnDirection(col, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1));
48620
48796
  }, 100)) : indicatorsAsCol ? generateChartInstanceListByRowDirection(row, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1) : generateChartInstanceListByColumnDirection(col, dimensionValue, null, canvasXY, table, justShowMarkTooltip, !1), indicatorsAsCol) {
48621
48797
  const series = dimensionInfo.data[0].series,
48622
48798
  width = "histogram" === this.attribute.spec.type || "line" === series.type || "area" === series.type ? 0 : series.getYAxisHelper().getBandwidth(0);
@@ -48657,21 +48833,26 @@
48657
48833
  }
48658
48834
  }
48659
48835
  }
48660
- }), null === (_e = (_d = table)._bindChartEvent) || void 0 === _e || _e.call(_d, this.activeChartInstance);
48836
+ })), null === (_j = (_h = table)._bindChartEvent) || void 0 === _j || _j.call(_h, this.activeChartInstance), isDisabledTooltipToAllChartInstances() && this.activeChartInstance.disableTooltip(!0);
48837
+ }
48838
+ clearDelayRunDimensionHoverTimer() {
48839
+ clearTimeout(this.delayRunDimensionHoverTimer), this.delayRunDimensionHoverTimer = void 0;
48661
48840
  }
48662
48841
  deactivate(table, {
48842
+ forceRelease = !1,
48663
48843
  releaseChartInstance = !0,
48664
48844
  releaseColumnChartInstance = !0,
48665
- releaseRowChartInstance = !0
48845
+ releaseRowChartInstance = !0,
48846
+ releaseAllChartInstance = !1
48666
48847
  } = {}) {
48667
48848
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
48668
- if (this.activeChartInstanceHoverOnMark = null, this.justShowMarkTooltip = void 0, this.justShowMarkTooltipTimer = Date.now(), clearTimeout(this.delayRunDimensionHoverTimer), this.delayRunDimensionHoverTimer = void 0, releaseChartInstance) {
48669
- null === (_a = this.activeChartInstance) || void 0 === _a || _a.updateViewBox({
48849
+ if (this.activeChartInstanceHoverOnMark = null, this.justShowMarkTooltip = void 0, this.justShowMarkTooltipTimer = Date.now(), this.clearDelayRunDimensionHoverTimer(), releaseChartInstance) {
48850
+ !this.activeChartInstance || !forceRelease && getBrushingChartInstance() && getBrushingChartInstance() === this.activeChartInstance || (null === (_a = this.activeChartInstance) || void 0 === _a || _a.updateViewBox({
48670
48851
  x1: -1e3,
48671
48852
  x2: -800,
48672
48853
  y1: -1e3,
48673
48854
  y2: -800
48674
- }, !1, !1), null === (_b = this.activeChartInstance) || void 0 === _b || _b.release(), this.activeChartInstance = null;
48855
+ }, !1, !1), null === (_b = this.activeChartInstance) || void 0 === _b || _b.release(), this.activeChartInstance = null);
48675
48856
  const {
48676
48857
  col: col,
48677
48858
  row: row
@@ -48684,7 +48865,7 @@
48684
48865
  } = this.parent;
48685
48866
  releaseColumnChartInstance && table.internalProps.layoutMap.isAxisCell(col, table.rowCount - table.bottomFrozenRowCount) && (null === (_h = null === (_g = table.scenegraph.getCell(col, table.rowCount - table.bottomFrozenRowCount).firstChild) || void 0 === _g ? void 0 : _g.hideLabelHoverOnAxis) || void 0 === _h || _h.call(_g)), releaseRowChartInstance && table.internalProps.layoutMap.isAxisCell(table.rowHeaderLevelCount - 1, row) && (null === (_k = null === (_j = table.scenegraph.getCell(table.rowHeaderLevelCount - 1, row).firstChild) || void 0 === _j ? void 0 : _j.hideLabelHoverOnAxis) || void 0 === _k || _k.call(_j));
48686
48867
  }
48687
- releaseColumnChartInstance && clearChartInstanceListByColumnDirection(this.parent.col, "scatter" === this.attribute.spec.type ? this.parent.row : void 0, table), releaseRowChartInstance && clearChartInstanceListByRowDirection(this.parent.row, "scatter" === this.attribute.spec.type ? this.parent.col : void 0, table);
48868
+ releaseAllChartInstance ? clearAllChartInstanceList(table, forceRelease) : (releaseColumnChartInstance && clearChartInstanceListByColumnDirection(this.parent.col, "scatter" === this.attribute.spec.type ? this.parent.row : void 0, table, forceRelease), releaseRowChartInstance && clearChartInstanceListByRowDirection(this.parent.row, "scatter" === this.attribute.spec.type ? this.parent.col : void 0, table, forceRelease));
48688
48869
  }
48689
48870
  updateData(data) {
48690
48871
  this.attribute.data = data;
@@ -48699,13 +48880,14 @@
48699
48880
  y1: y1,
48700
48881
  x2: x2,
48701
48882
  y2: y2
48702
- } = cellGroup.globalAABBBounds;
48703
- return {
48704
- x1: Math.ceil(x1 + padding[3] + table.scrollLeft + (null !== (_b = null === (_a = table.options.viewBox) || void 0 === _a ? void 0 : _a.x1) && void 0 !== _b ? _b : 0)),
48705
- x2: Math.ceil(x1 + cellGroup.attribute.width - padding[1] + table.scrollLeft + (null !== (_d = null === (_c = table.options.viewBox) || void 0 === _c ? void 0 : _c.x1) && void 0 !== _d ? _d : 0)),
48706
- y1: Math.ceil(y1 + padding[0] + table.scrollTop + (null !== (_f = null === (_e = table.options.viewBox) || void 0 === _e ? void 0 : _e.y1) && void 0 !== _f ? _f : 0)),
48707
- y2: Math.ceil(y1 + cellGroup.attribute.height - padding[2] + table.scrollTop + (null !== (_h = null === (_g = table.options.viewBox) || void 0 === _g ? void 0 : _g.y1) && void 0 !== _h ? _h : 0))
48708
- };
48883
+ } = cellGroup.globalAABBBounds,
48884
+ viewBox = {
48885
+ x1: Math.ceil(x1 + padding[3] + table.scrollLeft + (null !== (_b = null === (_a = table.options.viewBox) || void 0 === _a ? void 0 : _a.x1) && void 0 !== _b ? _b : 0)),
48886
+ x2: Math.ceil(x1 + cellGroup.attribute.width - padding[1] + table.scrollLeft + (null !== (_d = null === (_c = table.options.viewBox) || void 0 === _c ? void 0 : _c.x1) && void 0 !== _d ? _d : 0)),
48887
+ y1: Math.ceil(y1 + padding[0] + table.scrollTop + (null !== (_f = null === (_e = table.options.viewBox) || void 0 === _e ? void 0 : _e.y1) && void 0 !== _f ? _f : 0)),
48888
+ y2: Math.ceil(y1 + cellGroup.attribute.height - padding[2] + table.scrollTop + (null !== (_h = null === (_g = table.options.viewBox) || void 0 === _g ? void 0 : _g.y1) && void 0 !== _h ? _h : 0))
48889
+ };
48890
+ return this.activeChartInstance ? this.activeChartInstanceLastViewBox = viewBox : this.activeChartInstanceLastViewBox = null, viewBox;
48709
48891
  }
48710
48892
  }
48711
48893
  function getTableBounds(col, row, table) {
@@ -48920,7 +49102,7 @@
48920
49102
  {
48921
49103
  width = groupAttribute.width,
48922
49104
  height = groupAttribute.height
48923
- } = (chart.getViewBox(), chart.attribute),
49105
+ } = chart.attribute,
48924
49106
  {
48925
49107
  table: table
48926
49108
  } = chart.getRootNode(),
@@ -48948,8 +49130,9 @@
48948
49130
  });
48949
49131
  }
48950
49132
  }
48951
- const viewBox = chart.getViewBox();
48952
- activeChartInstance.updateViewBox({
49133
+ const lastViewBox = chart.activeChartInstanceLastViewBox,
49134
+ viewBox = chart.getViewBox();
49135
+ lastViewBox && viewBox.x1 === lastViewBox.x1 && viewBox.x2 === lastViewBox.x2 && viewBox.y1 === lastViewBox.y1 && viewBox.y2 === lastViewBox.y2 || activeChartInstance.updateViewBox({
48953
49136
  x1: 0,
48954
49137
  x2: viewBox.x2 - viewBox.x1,
48955
49138
  y1: 0,
@@ -52477,18 +52660,25 @@
52477
52660
  }
52478
52661
  function clearChartCacheImage(scenegraph) {
52479
52662
  var _a;
52663
+ const brushingCellPos = getBrushingChartInstanceCellPos();
52480
52664
  for (let c = scenegraph.proxy.colStart; c <= scenegraph.proxy.colEnd; c++) {
52481
52665
  const columnGroup = scenegraph.getColGroup(c);
52482
52666
  null === (_a = null == columnGroup ? void 0 : columnGroup.getChildren()) || void 0 === _a || _a.forEach(cellNode => {
52483
- cellNode.children.forEach(node => {
52667
+ brushingCellPos && brushingCellPos.col === cellNode.col && brushingCellPos.row === cellNode.row || cellNode.children.forEach(node => {
52484
52668
  "chart" === node.type && (node.cacheCanvas = null, node.addUpdateBoundTag());
52485
52669
  });
52486
52670
  });
52487
52671
  }
52488
52672
  }
52489
- function updateChartState(scenegraph, datum) {
52673
+ function clearCellChartCacheImage(col, row, scenegraph) {
52674
+ scenegraph.getCell(col, row).children.forEach(node => {
52675
+ "chart" === node.type && (node.cacheCanvas = null, node.addUpdateBoundTag());
52676
+ });
52677
+ }
52678
+ function updateChartState(scenegraph, datum, selectedDataMode) {
52490
52679
  const table = scenegraph.table;
52491
52680
  if (table.isPivotChart()) {
52681
+ table._selectedDataMode = selectedDataMode;
52492
52682
  const preSelectItemsCount = table._selectedDataItemsInChart.length;
52493
52683
  if ((null == datum || 0 === (null == datum ? void 0 : datum.length) || 0 === Object.keys(datum).length) && 0 === preSelectItemsCount) return;
52494
52684
  const newSelectedDataItemsInChart = [];
@@ -52503,7 +52693,7 @@
52503
52693
  for (const itemKey in datum) itemKey.startsWith("VGRAMMAR_") || itemKey.startsWith("__VCHART") || (selectedState[itemKey] = datum[itemKey]);
52504
52694
  newSelectedDataItemsInChart.push(selectedState);
52505
52695
  }
52506
- isEqual(table._selectedDataItemsInChart, newSelectedDataItemsInChart) || (table._selectedDataItemsInChart = newSelectedDataItemsInChart, table.internalProps.layoutMap.updateDataStateToChartInstance(), clearChartCacheImage(scenegraph), table.scenegraph.updateNextFrame());
52696
+ "multiple-select" === selectedDataMode ? (null == datum || 0 === (null == datum ? void 0 : datum.length) || 0 === Object.keys(datum).length ? table._selectedDataItemsInChart = [] : table._selectedDataItemsInChart.push(...newSelectedDataItemsInChart), table.internalProps.layoutMap.updateDataStateToChartInstance(), clearChartCacheImage(scenegraph), table.scenegraph.updateNextFrame()) : isEqual(table._selectedDataItemsInChart, newSelectedDataItemsInChart) || (table._selectedDataItemsInChart = newSelectedDataItemsInChart, table.internalProps.layoutMap.updateDataStateToChartInstance(), clearChartCacheImage(scenegraph), table.scenegraph.updateNextFrame());
52507
52697
  }
52508
52698
  }
52509
52699
  function updateChartGraphicSize(cellNode, width, height) {
@@ -53236,16 +53426,28 @@
53236
53426
  resetResidentHoverIcon(col, row) {
53237
53427
  resetResidentHoverIcon(col, row, this);
53238
53428
  }
53239
- deactivateChart(col, row) {
53240
- var _a, _b, _c;
53429
+ deactivateChart(col, row, forceRelease = !1) {
53430
+ var _a, _b, _c, _d, _e, _f;
53431
+ if (forceRelease) {
53432
+ const brushingChartInstanceCellPos = getBrushingChartInstanceCellPos(),
53433
+ brushingChartInstance = getBrushingChartInstance();
53434
+ brushingChartInstanceCellPos && brushingChartInstance && (clearAndReleaseBrushingChartInstance(this), clearCellChartCacheImage(brushingChartInstanceCellPos.col, brushingChartInstanceCellPos.row, this));
53435
+ }
53241
53436
  if (-1 === col || -1 === row) return;
53242
53437
  const cellGroup = this.getCell(col, row);
53243
53438
  if (null === (_a = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _a ? void 0 : _a.deactivate) {
53439
+ if (forceRelease) return void (null === (_c = null === (_b = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _b ? void 0 : _b.deactivate) || void 0 === _c || _c.call(_b, this.table, {
53440
+ forceRelease: !0,
53441
+ releaseChartInstance: !0,
53442
+ releaseColumnChartInstance: !0,
53443
+ releaseRowChartInstance: !0,
53444
+ releaseAllChartInstance: !0
53445
+ }));
53244
53446
  const chartType = (null == cellGroup ? void 0 : cellGroup.firstChild).attribute.spec.type;
53245
- null === (_c = null === (_b = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _b ? void 0 : _b.deactivate) || void 0 === _c || _c.call(_b, this.table, this.table.options.chartDimensionLinkage ? {
53246
- releaseChartInstance: "scatter" === chartType ? col !== this.table.stateManager.hover.cellPos.col && row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount : this.table.options.indicatorsAsCol ? row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount : col !== this.table.stateManager.hover.cellPos.col || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount,
53247
- releaseColumnChartInstance: col !== this.table.stateManager.hover.cellPos.col || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount,
53248
- releaseRowChartInstance: row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount
53447
+ null === (_e = null === (_d = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _d ? void 0 : _d.deactivate) || void 0 === _e || _e.call(_d, this.table, (null === (_f = this.table.options.chartDimensionLinkage) || void 0 === _f ? void 0 : _f.showTooltip) ? {
53448
+ releaseChartInstance: "pie" !== chartType && ("scatter" === chartType ? col !== this.table.stateManager.hover.cellPos.col && row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount : this.table.options.indicatorsAsCol ? row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount : col !== this.table.stateManager.hover.cellPos.col || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount),
53449
+ releaseColumnChartInstance: "pie" !== chartType && (col !== this.table.stateManager.hover.cellPos.col || this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount || this.table.stateManager.hover.cellPos.row > this.table.rowCount - 1 - this.table.bottomFrozenRowCount),
53450
+ releaseRowChartInstance: "pie" !== chartType && (row !== this.table.stateManager.hover.cellPos.row || this.table.stateManager.hover.cellPos.col < this.table.frozenColCount || this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount)
53249
53451
  } : void 0);
53250
53452
  }
53251
53453
  }
@@ -53293,8 +53495,15 @@
53293
53495
  updateChartSizeForResizeRowHeight(row) {
53294
53496
  updateChartSizeForResizeRowHeight(this, row);
53295
53497
  }
53296
- updateChartState(datum) {
53297
- this.table.isPivotChart() && updateChartState(this, datum);
53498
+ updateChartState(datum, selectedDataMode) {
53499
+ var _a, _b, _c;
53500
+ if (this.table.isPivotChart()) {
53501
+ if (null == datum || 0 === (null == datum ? void 0 : datum.length) || 0 === Object.keys(datum).length) {
53502
+ const brushingChartInstance = getBrushingChartInstance();
53503
+ brushingChartInstance && (null === (_a = brushingChartInstance.getChart()) || void 0 === _a || _a.getComponentsByKey("brush")[0].clearBrushStateAndMask()), null === (_c = null === (_b = this.table.options.chartDimensionLinkage) || void 0 === _b ? void 0 : _b.clearChartState) || void 0 === _c || _c.call(_b);
53504
+ }
53505
+ updateChartState(this, datum, selectedDataMode);
53506
+ }
53298
53507
  }
53299
53508
  updateCheckboxCellState(col, row, checked) {
53300
53509
  var _a, _b;
@@ -56321,7 +56530,7 @@
56321
56530
  }, 0 !== e.button) return;
56322
56531
  const eventArgsSet = getCellEventArgsSet(e);
56323
56532
  if (eventManager.downIcon = void 0, stateManager.interactionState !== InteractionState.default) return;
56324
- if (table.isPivotChart() && "chart" !== (null === (_a = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _a ? void 0 : _a.target.type) && table.scenegraph.updateChartState(null), (null === (_b = eventArgsSet.eventArgs) || void 0 === _b ? void 0 : _b.target) !== (null === (_c = stateManager.residentHoverIcon) || void 0 === _c ? void 0 : _c.icon) && stateManager.hideMenu(), "chart" === (null === (_d = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _d ? void 0 : _d.target.type)) return;
56533
+ if (table.isPivotChart() && "chart" !== (null === (_a = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _a ? void 0 : _a.target.type) && (table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0)), (null === (_b = eventArgsSet.eventArgs) || void 0 === _b ? void 0 : _b.target) !== (null === (_c = stateManager.residentHoverIcon) || void 0 === _c ? void 0 : _c.icon) && stateManager.hideMenu(), "chart" === (null === (_d = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _d ? void 0 : _d.target.type)) return;
56325
56534
  const isCompleteEdit = null === (_e = table.editorManager) || void 0 === _e ? void 0 : _e.completeEdit(e.nativeEvent);
56326
56535
  getPromiseValue(isCompleteEdit, isCompleteEdit => {
56327
56536
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
@@ -56349,7 +56558,7 @@
56349
56558
  }
56350
56559
  eventManager.dealTableHover(eventArgsSet);
56351
56560
  } else {
56352
- if (!eventManager.checkCellFillhandle(eventArgsSet) && (eventManager.checkColumnResize(eventArgsSet, !0) || eventManager.checkRowResize(eventArgsSet, !0))) return table.scenegraph.updateChartState(null), void stateManager.updateInteractionState(InteractionState.grabing);
56561
+ if (!eventManager.checkCellFillhandle(eventArgsSet) && (eventManager.checkColumnResize(eventArgsSet, !0) || eventManager.checkRowResize(eventArgsSet, !0))) return table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0), void stateManager.updateInteractionState(InteractionState.grabing);
56353
56562
  if (eventManager.checkColumnMover(eventArgsSet)) return void stateManager.updateInteractionState(InteractionState.grabing);
56354
56563
  if (eventManager.checkCellFillhandle(eventArgsSet, !0) && eventManager.dealFillSelect(eventArgsSet)) return void stateManager.updateInteractionState(InteractionState.grabing);
56355
56564
  eventManager.dealTableSelect(eventArgsSet) && stateManager.updateInteractionState(InteractionState.grabing);
@@ -56501,7 +56710,7 @@
56501
56710
  if (!(null === (_a = table.options.customConfig) || void 0 === _a ? void 0 : _a.selectCellWhenCellEditorNotExists) && !1 === isCompleteEdit) return;
56502
56711
  const hitIcon = (null === (_b = e.target.role) || void 0 === _b ? void 0 : _b.startsWith("icon")) ? e.target : void 0;
56503
56712
  if (eventManager.downIcon = hitIcon, "touch" === e.pointerType || hitIcon || eventManager.checkCellFillhandle(eventArgsSet) || stateManager.columnResize.resizing || !eventManager.checkColumnResize(eventArgsSet, !0)) ;else {
56504
- table.scenegraph.updateChartState(null), stateManager.updateInteractionState(InteractionState.grabing);
56713
+ table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0), stateManager.updateInteractionState(InteractionState.grabing);
56505
56714
  const {
56506
56715
  eventArgs: eventArgs
56507
56716
  } = eventArgsSet;
@@ -56520,7 +56729,7 @@
56520
56729
  if (table.eventManager.isDraging || !target || !target.isDescendantsOf(table.scenegraph.stage) && target.stage !== target || target.isDescendantsOf(table.scenegraph.tableGroup)) table.eventManager.isDraging && stateManager.isSelecting() && stateManager.endSelectCells();else {
56521
56730
  stateManager.updateInteractionState(InteractionState.default), eventManager.dealTableHover();
56522
56731
  const isHasSelected = !!(null === (_a = stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
56523
- (null === (_b = table.options.customConfig) || void 0 === _b ? void 0 : _b.cancelSelectCellHook) ? (null === (_c = table.options.customConfig) || void 0 === _c ? void 0 : _c.cancelSelectCellHook(e)) && eventManager.dealTableSelect() : (null === (_e = null === (_d = table.options.select) || void 0 === _d ? void 0 : _d.blankAreaClickDeselect) || void 0 === _e || _e) && eventManager.dealTableSelect(), stateManager.endSelectCells(!0, isHasSelected), stateManager.updateCursor(), table.scenegraph.updateChartState(null);
56732
+ (null === (_b = table.options.customConfig) || void 0 === _b ? void 0 : _b.cancelSelectCellHook) ? (null === (_c = table.options.customConfig) || void 0 === _c ? void 0 : _c.cancelSelectCellHook(e)) && eventManager.dealTableSelect() : (null === (_e = null === (_d = table.options.select) || void 0 === _d ? void 0 : _d.blankAreaClickDeselect) || void 0 === _e || _e) && eventManager.dealTableSelect(), stateManager.endSelectCells(!0, isHasSelected), stateManager.updateCursor(), table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0);
56524
56733
  }
56525
56734
  }), table.scenegraph.stage.addEventListener("pointermove", e => {
56526
56735
  var _a, _b, _c;
@@ -56638,7 +56847,15 @@
56638
56847
  table.stateManager.setCheckedState(col, row, cellInfo.field, e.detail.checked), table.fireListeners(TABLE_EVENT_TYPE.SWITCH_STATE_CHANGE, cellsEvent), table.scenegraph.updateNextFrame();
56639
56848
  }), table.scenegraph.stage.addEventListener("wheel", e => {
56640
56849
  var _a;
56641
- e.path.find(node => "legend" === node.name) || (null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit(), table.eventManager._enableTableScroll && handleWhell(e, stateManager));
56850
+ if (!e.path.find(node => "legend" === node.name)) {
56851
+ null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit();
56852
+ const {
56853
+ cellPos: cellPos
56854
+ } = table.stateManager.hover,
56855
+ prevHoverCellCol = cellPos.col,
56856
+ prevHoverCellRow = cellPos.row;
56857
+ table.scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow, !0), table.eventManager._enableTableScroll && handleWhell(e, stateManager);
56858
+ }
56642
56859
  });
56643
56860
  }
56644
56861
  function bindGesture(eventManager) {
@@ -56753,11 +56970,13 @@
56753
56970
  const throttleVerticalWheel = throttle(stateManager.updateVerticalScrollBar, 20),
56754
56971
  throttleHorizontalWheel = throttle(stateManager.updateHorizontalScrollBar, 20);
56755
56972
  scenegraph.component.vScrollBar.addEventListener("scrollDrag", e => {
56756
- scenegraph.table.eventManager.isDown && (scenegraph.table.eventManager.isDraging = !0), stateManager.fastScrolling = !0, stateManager.interactionState !== InteractionState.scrolling && stateManager.updateInteractionState(InteractionState.scrolling);
56973
+ var _a;
56974
+ scenegraph.table.eventManager.isDown && (scenegraph.table.eventManager.isDraging = !0), stateManager.fastScrolling = !0, stateManager.interactionState !== InteractionState.scrolling && stateManager.updateInteractionState(InteractionState.scrolling), scenegraph.table.stateManager.hideMenu(), null === (_a = scenegraph.table.editorManager) || void 0 === _a || _a.completeEdit(), table.scenegraph.deactivateChart(-1, -1, !0);
56757
56975
  const ratio = e.detail.value[0] / (1 - e.detail.value[1] + e.detail.value[0]);
56758
56976
  throttleVerticalWheel(ratio, e);
56759
56977
  }), scenegraph.component.hScrollBar.addEventListener("scrollDrag", e => {
56760
- scenegraph.table.eventManager.isDown && (scenegraph.table.eventManager.isDraging = !0), stateManager.fastScrolling = !0, stateManager.interactionState !== InteractionState.scrolling && stateManager.updateInteractionState(InteractionState.scrolling);
56978
+ var _a;
56979
+ scenegraph.table.eventManager.isDown && (scenegraph.table.eventManager.isDraging = !0), stateManager.fastScrolling = !0, stateManager.interactionState !== InteractionState.scrolling && stateManager.updateInteractionState(InteractionState.scrolling), scenegraph.table.stateManager.hideMenu(), null === (_a = scenegraph.table.editorManager) || void 0 === _a || _a.completeEdit(), table.scenegraph.deactivateChart(-1, -1, !0);
56761
56980
  const ratio = e.detail.value[0] / (1 - e.detail.value[1] + e.detail.value[0]);
56762
56981
  throttleHorizontalWheel(ratio);
56763
56982
  });
@@ -56892,22 +57111,22 @@
56892
57111
  table.isReleased || 0 === e.width && 0 === e.height || ((table.autoFillWidth || table.autoFillHeight || "adaptive" === table.widthMode || "adaptive" === table.heightMode) && (null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit()), isValid$2(table.options.pixelRatio) || table.setPixelRatio(getPixelRatio()), e.windowSizeNotChange || table.resize());
56893
57112
  });
56894
57113
  const globalPointerdownCallback = e => {
56895
- var _a;
57114
+ var _a, _b, _c, _d;
56896
57115
  if (table.isReleased) return;
56897
57116
  table.eventManager.LastBodyPointerXY = {
56898
57117
  x: e.x,
56899
57118
  y: e.y
56900
57119
  }, table.eventManager.isDown = !0;
56901
57120
  const target = e.target;
56902
- if (!table.getElement().contains(target) && !table.internalProps.menuHandler.containElement(target)) {
56903
- const isCompleteEdit = null === (_a = table.editorManager) || void 0 === _a ? void 0 : _a.completeEdit(e);
57121
+ if (!table.getElement().contains(target) && !table.internalProps.menuHandler.containElement(target) && (!(null === (_a = table.options.customConfig) || void 0 === _a ? void 0 : _a.shouldTreatAsClickOnTable) || (null === (_b = table.options.customConfig) || void 0 === _b ? void 0 : _b.shouldTreatAsClickOnTable) && !(null === (_c = table.options.customConfig) || void 0 === _c ? void 0 : _c.shouldTreatAsClickOnTable(e)))) {
57122
+ const isCompleteEdit = null === (_d = table.editorManager) || void 0 === _d ? void 0 : _d.completeEdit(e);
56904
57123
  getPromiseValue(isCompleteEdit, isCompleteEdit => {
56905
57124
  var _a, _b;
56906
57125
  if (!1 !== isCompleteEdit && (null === (_a = table.options.select) || void 0 === _a ? void 0 : _a.outsideClickDeselect)) {
56907
57126
  const isHasSelected = !!(null === (_b = stateManager.select.ranges) || void 0 === _b ? void 0 : _b.length);
56908
57127
  eventManager.dealTableSelect(), stateManager.endSelectCells(!0, isHasSelected);
56909
57128
  }
56910
- });
57129
+ }), table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0);
56911
57130
  }
56912
57131
  };
56913
57132
  eventManager.globalEventListeners.push({
@@ -60093,7 +60312,7 @@
60093
60312
  }
60094
60313
  constructor(container, options = {}) {
60095
60314
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
60096
- if (super(), this.showFrozenIcon = !0, this.version = "1.22.11", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env$1.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
60315
+ if (super(), this.showFrozenIcon = !0, this.version = "1.22.12-alpha.1", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env$1.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
60097
60316
  this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
60098
60317
  options: options,
60099
60318
  container: container
@@ -91188,7 +91407,7 @@
91188
91407
  importStyle();
91189
91408
  }
91190
91409
 
91191
- const version = "1.22.11";
91410
+ const version = "1.22.12-alpha.1";
91192
91411
  importStyles();
91193
91412
 
91194
91413
  exports.TYPES = index;