@visactor/vtable-sheet 1.22.4 → 1.22.5-alpha.0

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.
@@ -25201,7 +25201,7 @@
25201
25201
 
25202
25202
  var AXIS_ELEMENT_NAME;
25203
25203
  !function (AXIS_ELEMENT_NAME) {
25204
- AXIS_ELEMENT_NAME.innerView = "inner-view", AXIS_ELEMENT_NAME.axisContainer = "axis-container", AXIS_ELEMENT_NAME.labelContainer = "axis-label-container", AXIS_ELEMENT_NAME.tickContainer = "axis-tick-container", AXIS_ELEMENT_NAME.tick = "axis-tick", AXIS_ELEMENT_NAME.subTick = "axis-sub-tick", AXIS_ELEMENT_NAME.label = "axis-label", AXIS_ELEMENT_NAME.title = "axis-title", AXIS_ELEMENT_NAME.gridContainer = "axis-grid-container", AXIS_ELEMENT_NAME.grid = "axis-grid", AXIS_ELEMENT_NAME.gridRegion = "axis-grid-region", AXIS_ELEMENT_NAME.line = "axis-line", AXIS_ELEMENT_NAME.background = "axis-background", AXIS_ELEMENT_NAME.axisLabelBackground = "axis-label-background", AXIS_ELEMENT_NAME.axisBreak = "axis-break", AXIS_ELEMENT_NAME.axisBreakSymbol = "axis-break-symbol";
25204
+ AXIS_ELEMENT_NAME.innerView = "inner-view", AXIS_ELEMENT_NAME.axisContainer = "axis-container", AXIS_ELEMENT_NAME.labelContainer = "axis-label-container", AXIS_ELEMENT_NAME.tickContainer = "axis-tick-container", AXIS_ELEMENT_NAME.tick = "axis-tick", AXIS_ELEMENT_NAME.subTick = "axis-sub-tick", AXIS_ELEMENT_NAME.label = "axis-label", AXIS_ELEMENT_NAME.title = "axis-title", AXIS_ELEMENT_NAME.labelHoverOnAxis = "axis-label-hover-on-axis", AXIS_ELEMENT_NAME.gridContainer = "axis-grid-container", AXIS_ELEMENT_NAME.grid = "axis-grid", AXIS_ELEMENT_NAME.gridRegion = "axis-grid-region", AXIS_ELEMENT_NAME.line = "axis-line", AXIS_ELEMENT_NAME.background = "axis-background", AXIS_ELEMENT_NAME.axisLabelBackground = "axis-label-background", AXIS_ELEMENT_NAME.axisBreak = "axis-break", AXIS_ELEMENT_NAME.axisBreakSymbol = "axis-break-symbol";
25205
25205
  }(AXIS_ELEMENT_NAME || (AXIS_ELEMENT_NAME = {}));
25206
25206
  var AxisStateValue;
25207
25207
  !function (AxisStateValue) {
@@ -25238,6 +25238,26 @@
25238
25238
  fillOpacity: 1
25239
25239
  }
25240
25240
  },
25241
+ labelHoverOnAxis: {
25242
+ visible: !1,
25243
+ space: 7,
25244
+ padding: 2,
25245
+ position: 0,
25246
+ autoRotate: !1,
25247
+ textStyle: {
25248
+ fontSize: 12,
25249
+ fill: "red",
25250
+ fontWeight: "normal",
25251
+ fillOpacity: 1
25252
+ },
25253
+ background: {
25254
+ visible: !0,
25255
+ style: {
25256
+ cornerRadius: 2,
25257
+ fill: "black"
25258
+ }
25259
+ }
25260
+ },
25241
25261
  tick: {
25242
25262
  visible: !0,
25243
25263
  inside: !1,
@@ -27076,14 +27096,15 @@
27076
27096
  return delayAfterValue > 0 && (totalDelay += delayAfterValue), totalDelay > 0 && animate.wait(totalDelay), loop && loop > 0 && animate.loop(loop), bounce && animate.bounce(!0), animate;
27077
27097
  }
27078
27098
  _handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
27079
- var _a, _b, _c, _d, _e, _f;
27099
+ var _a, _b, _c, _d, _e, _f, _g, _h;
27080
27100
  if (custom && customType) {
27081
- const customParams = Object.assign({
27082
- width: (null === (_a = graphic.stage) || void 0 === _a ? void 0 : _a.width) || 0,
27083
- height: (null === (_b = graphic.stage) || void 0 === _b ? void 0 : _b.height) || 0,
27084
- group: this._target.parent
27085
- }, this.resolveValue(customParameters, graphic)),
27086
- objOptions = isFunction$8(options) ? options.call(null, null !== (_d = customParams && (null === (_c = customParams.data) || void 0 === _c ? void 0 : _c[0])) && void 0 !== _d ? _d : null === (_f = null === (_e = graphic.context) || void 0 === _e ? void 0 : _e.data) || void 0 === _f ? void 0 : _f[0], graphic, customParams) : options;
27101
+ let customParams = this.resolveValue(customParameters, graphic);
27102
+ "function" == typeof customParams && (customParams = customParams(null === (_b = null === (_a = graphic.context) || void 0 === _a ? void 0 : _a.data) || void 0 === _b ? void 0 : _b[0], graphic, {})), customParams = Object.assign({
27103
+ width: (null === (_c = graphic.stage) || void 0 === _c ? void 0 : _c.width) || 0,
27104
+ height: (null === (_d = graphic.stage) || void 0 === _d ? void 0 : _d.height) || 0,
27105
+ group: this._target.parent
27106
+ }, customParams);
27107
+ const objOptions = isFunction$8(options) ? options.call(null, null !== (_f = customParams && (null === (_e = customParams.data) || void 0 === _e ? void 0 : _e[0])) && void 0 !== _f ? _f : null === (_h = null === (_g = graphic.context) || void 0 === _g ? void 0 : _g.data) || void 0 === _h ? void 0 : _h[0], graphic, customParams) : options;
27087
27108
  customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
27088
27109
  } else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
27089
27110
  }
@@ -31756,7 +31777,17 @@
31756
31777
  loadLineAxisComponent();
31757
31778
  class LineAxis extends AxisBase {
31758
31779
  constructor(attributes, options) {
31759
- super((null == options ? void 0 : options.skipDefault) ? attributes : merge$2({}, LineAxis.defaultAttributes, attributes), options);
31780
+ var _a;
31781
+ if (attributes.labelHoverOnAxis && (attributes.labelHoverOnAxis.textStyle = Object.assign({}, attributes.label.style, attributes.labelHoverOnAxis.textStyle), void 0 === attributes.labelHoverOnAxis.space)) {
31782
+ const {
31783
+ padding = 2
31784
+ } = attributes.labelHoverOnAxis,
31785
+ parsedPadding = normalizePadding(padding),
31786
+ toDiffPadding = "bottom" === attributes.orient ? parsedPadding[0] : "left" === attributes.orient ? parsedPadding[1] : "top" === attributes.orient ? parsedPadding[2] : parsedPadding[3],
31787
+ space = (null !== (_a = attributes.label.space) && void 0 !== _a ? _a : LineAxis.defaultAttributes.label.space) - toDiffPadding;
31788
+ attributes.labelHoverOnAxis.space = space;
31789
+ }
31790
+ super((null == options ? void 0 : options.skipDefault) ? attributes : merge$2({}, LineAxis.defaultAttributes, attributes), options), this.labelHoverOnAxisGroup = null;
31760
31791
  }
31761
31792
  _renderInner(container) {
31762
31793
  var _a;
@@ -31818,6 +31849,15 @@
31818
31849
  }, panel.style));
31819
31850
  bgRect.name = AXIS_ELEMENT_NAME.background, bgRect.id = this._getNodeId("background"), bgRect.states = merge$2({}, DEFAULT_STATES$1, null !== (_a = panel.state) && void 0 !== _a ? _a : {}), axisContainer.insertBefore(bgRect, axisContainer.firstChild);
31820
31851
  }
31852
+ const {
31853
+ labelHoverOnAxis: labelHoverOnAxis
31854
+ } = this.attribute;
31855
+ labelHoverOnAxis && labelHoverOnAxis.visible && this.renderLabelHoverOnAxis();
31856
+ }
31857
+ renderLabelHoverOnAxis() {
31858
+ const hoverOnLabelAttributes = this.getLabelHoverOnAxisAttribute(),
31859
+ hoverOnLabel = new Tag$1(Object.assign({}, hoverOnLabelAttributes));
31860
+ hoverOnLabel.name = AXIS_ELEMENT_NAME.title, hoverOnLabel.id = this._getNodeId("hover-on-label"), this.labelHoverOnAxisGroup = hoverOnLabel, this.axisContainer.add(hoverOnLabel);
31821
31861
  }
31822
31862
  renderLine(container) {
31823
31863
  const {
@@ -31958,6 +31998,66 @@
31958
31998
  visible: !0
31959
31999
  }, background.style)), attrs;
31960
32000
  }
32001
+ getLabelHoverOnAxisAttribute() {
32002
+ var _a, _b;
32003
+ const {
32004
+ orient: orient
32005
+ } = this.attribute,
32006
+ _c = this.attribute.labelHoverOnAxis,
32007
+ {
32008
+ position = 0,
32009
+ space = 4,
32010
+ autoRotate = !0,
32011
+ textStyle = {},
32012
+ background = {},
32013
+ formatMethod: formatMethod,
32014
+ text: textContent = "",
32015
+ maxWidth: maxWidth
32016
+ } = _c,
32017
+ restAttrs = __rest$3(_c, ["position", "space", "autoRotate", "textStyle", "background", "formatMethod", "text", "maxWidth"]),
32018
+ point = this.getTickCoord(0);
32019
+ "bottom" === orient || "top" === orient ? point.x = position : point.y = position;
32020
+ let tickLength = 0;
32021
+ (null === (_a = this.attribute.tick) || void 0 === _a ? void 0 : _a.visible) && !1 === this.attribute.tick.inside && (tickLength = this.attribute.tick.length || 4), (null === (_b = this.attribute.subTick) || void 0 === _b ? void 0 : _b.visible) && !1 === this.attribute.subTick.inside && (tickLength = Math.max(tickLength, this.attribute.subTick.length || 2));
32022
+ const offset = tickLength + 0 + space,
32023
+ labelPoint = this.getVerticalCoord(point, offset, !1),
32024
+ vector = this.getVerticalVector(offset, !1, {
32025
+ x: 0,
32026
+ y: 0
32027
+ });
32028
+ let textBaseline,
32029
+ {
32030
+ angle: angle
32031
+ } = restAttrs,
32032
+ textAlign = "center";
32033
+ if (isNil$5(angle) && autoRotate) {
32034
+ const axisVector = this.getRelativeVector();
32035
+ angle = angleTo(axisVector, [1, 0], !0);
32036
+ const {
32037
+ verticalFactor = 1
32038
+ } = this.attribute;
32039
+ textBaseline = 1 === -1 * verticalFactor ? "bottom" : "top";
32040
+ } else {
32041
+ const {
32042
+ textAlign: textAlign2,
32043
+ textBaseline: textBaseline2
32044
+ } = this.getLabelAlign(vector, !1, textStyle.angle);
32045
+ textAlign = textAlign2, textBaseline = textBaseline2;
32046
+ }
32047
+ const maxTagWidth = maxWidth,
32048
+ text = formatMethod ? formatMethod(textContent) : textContent,
32049
+ attrs = Object.assign(Object.assign(Object.assign({}, labelPoint), restAttrs), {
32050
+ maxWidth: maxTagWidth,
32051
+ textStyle: Object.assign({
32052
+ textAlign: textAlign,
32053
+ textBaseline: textBaseline
32054
+ }, textStyle),
32055
+ text: text
32056
+ });
32057
+ return attrs.angle = angle, background && background.visible && (attrs.panel = Object.assign(Object.assign({
32058
+ visible: !0
32059
+ }, restAttrs.panel), background.style)), attrs;
32060
+ }
31961
32061
  getTextBaseline(vector, inside) {
31962
32062
  let base = "middle";
31963
32063
  const {
@@ -32148,6 +32248,40 @@
32148
32248
  }
32149
32249
  return limitLength && (limitLength = (limitLength - labelSpace - titleSpacing - titleHeight - axisLineWidth - tickLength) / layerCount), limitLength;
32150
32250
  }
32251
+ showLabelHoverOnAxis(position, text, adjustPosition = !0) {
32252
+ if (this.attribute.labelHoverOnAxis) {
32253
+ const preContainerBounds = this.axisContainer.AABBBounds,
32254
+ preWidth = preContainerBounds.width(),
32255
+ preHeight = preContainerBounds.height(),
32256
+ preX1 = preContainerBounds.x1,
32257
+ preY1 = preContainerBounds.y1,
32258
+ preX2 = preContainerBounds.x2,
32259
+ preY2 = preContainerBounds.y2;
32260
+ if (this.labelHoverOnAxisGroup) {
32261
+ const {
32262
+ formatMethod: formatMethod
32263
+ } = this.attribute.labelHoverOnAxis,
32264
+ textStr = formatMethod ? formatMethod(text) : text;
32265
+ this.labelHoverOnAxisGroup.setAttribute("text", textStr), this.labelHoverOnAxisGroup.setAttribute("visible", !0), this.labelHoverOnAxisGroup.setAttribute("visibleAll", !0), "left" === this.attribute.orient || "right" === this.attribute.orient ? this.labelHoverOnAxisGroup.setAttributes({
32266
+ y: position
32267
+ }) : this.labelHoverOnAxisGroup.setAttributes({
32268
+ x: position
32269
+ });
32270
+ } else this.attribute.labelHoverOnAxis.visible = !0, this.attribute.labelHoverOnAxis.position = position, this.attribute.labelHoverOnAxis.text = text, this.renderLabelHoverOnAxis();
32271
+ if (adjustPosition) {
32272
+ const afterContainerBounds = this.axisContainer.AABBBounds,
32273
+ diffWidth = afterContainerBounds.width() - preWidth,
32274
+ diffHeight = afterContainerBounds.height() - preHeight;
32275
+ diffWidth > 0 && ("top" === this.attribute.orient || "bottom" === this.attribute.orient) && (afterContainerBounds.x1 < preX1 ? this.showLabelHoverOnAxis(position + diffWidth, text, !1) : afterContainerBounds.x2 > preX2 && this.showLabelHoverOnAxis(position - diffWidth, text, !1)), diffHeight > 0 && ("left" === this.attribute.orient || "right" === this.attribute.orient) && (afterContainerBounds.y1 < preY1 ? this.showLabelHoverOnAxis(position + diffHeight, text, !1) : afterContainerBounds.y2 > preY2 && this.showLabelHoverOnAxis(position - diffHeight, text, !1));
32276
+ }
32277
+ }
32278
+ }
32279
+ hideLabelHoverOnAxis() {
32280
+ this.attribute.labelHoverOnAxis && this.labelHoverOnAxisGroup && this.labelHoverOnAxisGroup.setAttributes({
32281
+ visible: !1,
32282
+ visibleAll: !1
32283
+ });
32284
+ }
32151
32285
  release() {
32152
32286
  super.release(), this._breaks = null;
32153
32287
  }
@@ -39483,12 +39617,12 @@
39483
39617
  return null !== (_b = null === (_a = defaultStyle.hover) || void 0 === _a ? void 0 : _a.cellBgColor) && void 0 !== _b ? _b : void 0;
39484
39618
  },
39485
39619
  get inlineColumnBgColor() {
39486
- var _a, _b, _c, _d, _e, _f;
39487
- return null !== (_f = null !== (_b = null === (_a = defaultStyle.hover) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : (null === (_c = defaultStyle.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = defaultStyle.hover) || void 0 === _d ? void 0 : _d.cellBgColor) ? changeColor(null === (_e = defaultStyle.hover) || void 0 === _e ? void 0 : _e.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
39620
+ var _a, _b, _c, _d, _e, _f, _g;
39621
+ return null !== (_g = null !== (_b = null === (_a = defaultStyle.hover) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : (null === (_c = defaultStyle.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = defaultStyle.hover) || void 0 === _d ? void 0 : _d.cellBgColor) && "transparent" !== (null === (_e = defaultStyle.hover) || void 0 === _e ? void 0 : _e.cellBgColor) ? changeColor(null === (_f = defaultStyle.hover) || void 0 === _f ? void 0 : _f.cellBgColor, .1, !1) : void 0) && void 0 !== _g ? _g : void 0;
39488
39622
  },
39489
39623
  get inlineRowBgColor() {
39490
- var _a, _b, _c, _d, _e, _f;
39491
- return null !== (_f = null !== (_b = null === (_a = defaultStyle.hover) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : (null === (_c = defaultStyle.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = defaultStyle.hover) || void 0 === _d ? void 0 : _d.cellBgColor) ? changeColor(null === (_e = defaultStyle.hover) || void 0 === _e ? void 0 : _e.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
39624
+ var _a, _b, _c, _d, _e, _f, _g;
39625
+ return null !== (_g = null !== (_b = null === (_a = defaultStyle.hover) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : (null === (_c = defaultStyle.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = defaultStyle.hover) || void 0 === _d ? void 0 : _d.cellBgColor) && "transparent" !== (null === (_e = defaultStyle.hover) || void 0 === _e ? void 0 : _e.cellBgColor) ? changeColor(null === (_f = defaultStyle.hover) || void 0 === _f ? void 0 : _f.cellBgColor, .1, !1) : void 0) && void 0 !== _g ? _g : void 0;
39492
39626
  }
39493
39627
  };
39494
39628
  },
@@ -39496,11 +39630,11 @@
39496
39630
  if (defaultStyle.select) return {
39497
39631
  get inlineColumnBgColor() {
39498
39632
  var _a, _b, _c, _d, _e, _f;
39499
- return null !== (_f = null !== (_d = null !== (_b = null === (_a = defaultStyle.select) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : null === (_c = that.selectionStyle) || void 0 === _c ? void 0 : _c.inlineColumnBgColor) && void 0 !== _d ? _d : (null === (_e = that.selectionStyle) || void 0 === _e ? void 0 : _e.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
39633
+ return null !== (_f = null !== (_d = null !== (_b = null === (_a = defaultStyle.select) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : null === (_c = that.selectionStyle) || void 0 === _c ? void 0 : _c.inlineColumnBgColor) && void 0 !== _d ? _d : (null === (_e = that.selectionStyle) || void 0 === _e ? void 0 : _e.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor && "transparent" !== that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
39500
39634
  },
39501
39635
  get inlineRowBgColor() {
39502
39636
  var _a, _b, _c, _d, _e;
39503
- return null !== (_e = null !== (_c = null !== (_b = null === (_a = defaultStyle.select) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : that.selectionStyle.inlineRowBgColor) && void 0 !== _c ? _c : (null === (_d = that.selectionStyle) || void 0 === _d ? void 0 : _d.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _e ? _e : void 0;
39637
+ return null !== (_e = null !== (_c = null !== (_b = null === (_a = defaultStyle.select) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : that.selectionStyle.inlineRowBgColor) && void 0 !== _c ? _c : (null === (_d = that.selectionStyle) || void 0 === _d ? void 0 : _d.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor && "transparent" !== that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _e ? _e : void 0;
39504
39638
  }
39505
39639
  };
39506
39640
  },
@@ -40124,12 +40258,12 @@
40124
40258
  return null !== (_b = null === (_a = style.hover) || void 0 === _a ? void 0 : _a.cellBgColor) && void 0 !== _b ? _b : void 0;
40125
40259
  },
40126
40260
  get inlineColumnBgColor() {
40127
- var _a, _b, _c, _d, _e, _f;
40128
- return null !== (_f = null !== (_b = null === (_a = style.hover) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : (null === (_c = style.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = style.hover) || void 0 === _d ? void 0 : _d.cellBgColor) ? changeColor(null === (_e = style.hover) || void 0 === _e ? void 0 : _e.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
40261
+ var _a, _b, _c, _d, _e, _f, _g;
40262
+ return null !== (_g = null !== (_b = null === (_a = style.hover) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : (null === (_c = style.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = style.hover) || void 0 === _d ? void 0 : _d.cellBgColor) && "transparent" !== (null === (_e = style.hover) || void 0 === _e ? void 0 : _e.cellBgColor) ? changeColor(null === (_f = style.hover) || void 0 === _f ? void 0 : _f.cellBgColor, .1, !1) : void 0) && void 0 !== _g ? _g : void 0;
40129
40263
  },
40130
40264
  get inlineRowBgColor() {
40131
- var _a, _b, _c, _d, _e, _f;
40132
- return null !== (_f = null !== (_b = null === (_a = style.hover) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : (null === (_c = style.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = style.hover) || void 0 === _d ? void 0 : _d.cellBgColor) ? changeColor(null === (_e = style.hover) || void 0 === _e ? void 0 : _e.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
40265
+ var _a, _b, _c, _d, _e, _f, _g;
40266
+ return null !== (_g = null !== (_b = null === (_a = style.hover) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : (null === (_c = style.hover) || void 0 === _c ? void 0 : _c.cellBgColor) && "string" == typeof (null === (_d = style.hover) || void 0 === _d ? void 0 : _d.cellBgColor) && "transparent" !== (null === (_e = style.hover) || void 0 === _e ? void 0 : _e.cellBgColor) ? changeColor(null === (_f = style.hover) || void 0 === _f ? void 0 : _f.cellBgColor, .1, !1) : void 0) && void 0 !== _g ? _g : void 0;
40133
40267
  }
40134
40268
  };
40135
40269
  },
@@ -40137,11 +40271,11 @@
40137
40271
  return {
40138
40272
  get inlineColumnBgColor() {
40139
40273
  var _a, _b, _c, _d, _e, _f;
40140
- return null !== (_f = null !== (_d = null !== (_b = null === (_a = style.select) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : null === (_c = that.selectionStyle) || void 0 === _c ? void 0 : _c.inlineColumnBgColor) && void 0 !== _d ? _d : (null === (_e = that.selectionStyle) || void 0 === _e ? void 0 : _e.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
40274
+ return null !== (_f = null !== (_d = null !== (_b = null === (_a = style.select) || void 0 === _a ? void 0 : _a.inlineColumnBgColor) && void 0 !== _b ? _b : null === (_c = that.selectionStyle) || void 0 === _c ? void 0 : _c.inlineColumnBgColor) && void 0 !== _d ? _d : (null === (_e = that.selectionStyle) || void 0 === _e ? void 0 : _e.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor && "transparent" !== that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _f ? _f : void 0;
40141
40275
  },
40142
40276
  get inlineRowBgColor() {
40143
40277
  var _a, _b, _c, _d, _e;
40144
- return null !== (_e = null !== (_c = null !== (_b = null === (_a = style.select) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : that.selectionStyle.inlineRowBgColor) && void 0 !== _c ? _c : (null === (_d = that.selectionStyle) || void 0 === _d ? void 0 : _d.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _e ? _e : void 0;
40278
+ return null !== (_e = null !== (_c = null !== (_b = null === (_a = style.select) || void 0 === _a ? void 0 : _a.inlineRowBgColor) && void 0 !== _b ? _b : that.selectionStyle.inlineRowBgColor) && void 0 !== _c ? _c : (null === (_d = that.selectionStyle) || void 0 === _d ? void 0 : _d.cellBgColor) && "string" == typeof that.selectionStyle.cellBgColor && "transparent" !== that.selectionStyle.cellBgColor ? changeColor(that.selectionStyle.cellBgColor, .1, !1) : void 0) && void 0 !== _e ? _e : void 0;
40145
40279
  },
40146
40280
  get cellBgColor() {
40147
40281
  var _a, _b, _c;
@@ -44827,7 +44961,7 @@
44827
44961
  cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, customElementsGroup, renderDefault, cellTheme, range, isAsync);
44828
44962
  const axisConfig = table.internalProps.layoutMap.getAxisConfigInPivotChart(col, row);
44829
44963
  if (axisConfig) {
44830
- const axis = new (Factory.getComponent("axis"))(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, null !== (_a = axisConfig.__vtablePadding) && void 0 !== _a ? _a : padding, table);
44964
+ const axis = new (Factory.getComponent("axis"))(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, null !== (_a = axisConfig.__vtableBodyChartCellPadding) && void 0 !== _a ? _a : padding, table);
44831
44965
  cellGroup.clear(), cellGroup.appendChild(axis.component), axis.overlap();
44832
44966
  } else table.internalProps.layoutMap.isEmpty(col, row) ? (cellGroup.setAttributes({
44833
44967
  fill: !1,
@@ -46058,7 +46192,7 @@
46058
46192
  cellStyle = scene.table._getCellStyle(col, row),
46059
46193
  padding = getQuadProps(getProp("padding", cellStyle, col, row, scene.table));
46060
46194
  if (axisConfig) {
46061
- const axis = new (Factory.getComponent("axis"))(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, null !== (_e = axisConfig.__vtablePadding) && void 0 !== _e ? _e : padding, scene.table);
46195
+ const axis = new (Factory.getComponent("axis"))(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, null !== (_e = axisConfig.__vtableBodyChartCellPadding) && void 0 !== _e ? _e : padding, scene.table);
46062
46196
  cellGroup.clear(), cellGroup.appendChild(axis.component), axis.overlap();
46063
46197
  }
46064
46198
  } else if ("axis" === (null === (_f = cell.firstChild) || void 0 === _f ? void 0 : _f.name)) null === (_g = cell.firstChild) || void 0 === _g || _g.originAxis.resize(cell.attribute.width, cell.attribute.height);else {
@@ -47349,10 +47483,125 @@
47349
47483
  return hoverMode;
47350
47484
  }
47351
47485
 
47486
+ const chartInstanceListColumnByColumnDirection = {};
47487
+ const chartInstanceListRowByRowDirection = {};
47488
+ function generateChartInstanceListByColumnDirection(col, dimensionValueOrXValue, positionValueOrYValue, canvasXY, table, hideTooltip = !1, isScatter = !1) {
47489
+ var _a;
47490
+ isValid$4(chartInstanceListColumnByColumnDirection[col]) || (chartInstanceListColumnByColumnDirection[col] = {});
47491
+ const {
47492
+ rowStart: rowStart
47493
+ } = table.getBodyVisibleRowRange();
47494
+ let rowEnd = table.getBodyVisibleRowRange().rowEnd;
47495
+ rowEnd = Math.min(table.rowCount - 1 - table.bottomFrozenRowCount, rowEnd);
47496
+ for (let i = rowStart; i <= rowEnd; i++) {
47497
+ const cellGroup = table.scenegraph.getCell(col, i),
47498
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47499
+ chartNode.addUpdateShapeAndBoundsTag(), chartInstanceListColumnByColumnDirection[col][i] || isValid$4(chartNode) && (chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListColumnByColumnDirection[col][i] = chartNode.activeChartInstance), table.stateManager.hover.cellPos.col === col && table.stateManager.hover.cellPos.row === i || setTimeout(() => {
47500
+ var _a, _b, _c, _d;
47501
+ if (null === (_a = chartInstanceListColumnByColumnDirection[col]) || void 0 === _a ? void 0 : _a[i]) {
47502
+ const absolutePosition = table.getCellRelativeRect(col, i),
47503
+ chartDimensionLinkage = table.options.chartDimensionLinkage;
47504
+ let isShowTooltip = !isScatter;
47505
+ if (!isScatter && "object" == typeof chartDimensionLinkage && (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, i === rowEnd && isShowTooltip)) {
47506
+ const heightLimitToShowTooltipForLastRow = chartDimensionLinkage.heightLimitToShowTooltipForLastRow,
47507
+ {
47508
+ rowEnd: rowEnd1
47509
+ } = table.getBodyVisibleRowRange(-heightLimitToShowTooltipForLastRow);
47510
+ if (rowEnd1 === rowEnd) isShowTooltip = !0;else {
47511
+ const {
47512
+ rowEnd: rowEnd2
47513
+ } = table.getBodyVisibleRowRange(5);
47514
+ isShowTooltip = rowEnd2 !== rowEnd;
47515
+ }
47516
+ }
47517
+ isScatter ? null === (_d = (_c = chartInstanceListColumnByColumnDirection[col][i]).showCrosshair) || void 0 === _d || _d.call(_c, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue) : hideTooltip ? chartInstanceListColumnByColumnDirection[col][i].hideTooltip() : chartInstanceListColumnByColumnDirection[col][i].setDimensionIndex(dimensionValueOrXValue, {
47518
+ tooltip: isShowTooltip,
47519
+ showTooltipOption: {
47520
+ x: canvasXY.x,
47521
+ y: absolutePosition.top + 3,
47522
+ activeType: "dimension"
47523
+ }
47524
+ });
47525
+ }
47526
+ }, 0), table.scenegraph.updateNextFrame();
47527
+ }
47528
+ }
47529
+ function clearChartInstanceListByColumnDirection(col, excludedRow, table) {
47530
+ var _a;
47531
+ if (isValid$4(chartInstanceListColumnByColumnDirection[col])) {
47532
+ for (const i in chartInstanceListColumnByColumnDirection[col]) {
47533
+ if (isValid$4(excludedRow) && Number(i) === excludedRow) continue;
47534
+ const cellGroup = table.scenegraph.getCell(col, Number(i)),
47535
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47536
+ chartNode.addUpdateShapeAndBoundsTag(), isValid$4(chartNode) && (chartNode.deactivate(table, {
47537
+ releaseChartInstance: !0,
47538
+ releaseColumnChartInstance: !1,
47539
+ releaseRowChartInstance: !1
47540
+ }), chartInstanceListColumnByColumnDirection[col][i] = null);
47541
+ }
47542
+ delete chartInstanceListColumnByColumnDirection[col];
47543
+ }
47544
+ }
47545
+ function generateChartInstanceListByRowDirection(row, dimensionValueOrXValue, positionValueOrYValue, canvasXY, table, hideTooltip = !1, isScatter = !1) {
47546
+ var _a;
47547
+ isValid$4(chartInstanceListRowByRowDirection[row]) || (chartInstanceListRowByRowDirection[row] = {});
47548
+ const {
47549
+ colStart: colStart
47550
+ } = table.getBodyVisibleColRange();
47551
+ let colEnd = table.getBodyVisibleColRange().colEnd;
47552
+ colEnd = Math.min(table.colCount - 1 - table.rightFrozenColCount, colEnd);
47553
+ for (let i = colStart; i <= colEnd; i++) {
47554
+ const cellGroup = table.scenegraph.getCell(i, row),
47555
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47556
+ chartNode.addUpdateShapeAndBoundsTag(), chartInstanceListRowByRowDirection[row][i] || isValid$4(chartNode) && (chartNode.activeChartInstance || chartNode.activate(table), chartInstanceListRowByRowDirection[row][i] = chartNode.activeChartInstance), table.stateManager.hover.cellPos.col === i && table.stateManager.hover.cellPos.row === row || setTimeout(() => {
47557
+ var _a, _b, _c, _d;
47558
+ if (null === (_a = chartInstanceListRowByRowDirection[row]) || void 0 === _a ? void 0 : _a[i]) {
47559
+ const absolutePosition = table.getCellRelativeRect(i, row),
47560
+ chartDimensionLinkage = table.options.chartDimensionLinkage;
47561
+ let isShowTooltip = !isScatter;
47562
+ if (!isScatter && "object" == typeof chartDimensionLinkage && (isShowTooltip = null === (_b = chartDimensionLinkage.showTooltip) || void 0 === _b || _b, i === colEnd && isShowTooltip)) {
47563
+ const widthLimitToShowTooltipForLastColumn = chartDimensionLinkage.widthLimitToShowTooltipForLastColumn,
47564
+ {
47565
+ colEnd: colEnd1
47566
+ } = table.getBodyVisibleColRange(-widthLimitToShowTooltipForLastColumn);
47567
+ if (colEnd1 === colEnd) isShowTooltip = !0;else {
47568
+ const {
47569
+ colEnd: colEnd2
47570
+ } = table.getBodyVisibleColRange(5);
47571
+ isShowTooltip = colEnd2 !== colEnd;
47572
+ }
47573
+ }
47574
+ isScatter ? null === (_d = (_c = chartInstanceListRowByRowDirection[row][i]).showCrosshair) || void 0 === _d || _d.call(_c, axis => "left" === axis.layoutOrient ? positionValueOrYValue : dimensionValueOrXValue) : hideTooltip ? chartInstanceListRowByRowDirection[row][i].hideTooltip() : chartInstanceListRowByRowDirection[row][i].setDimensionIndex(dimensionValueOrXValue, {
47575
+ tooltip: isShowTooltip,
47576
+ showTooltipOption: {
47577
+ x: absolutePosition.left + 3,
47578
+ y: canvasXY.y,
47579
+ activeType: "dimension"
47580
+ }
47581
+ });
47582
+ }
47583
+ }, 0), table.scenegraph.updateNextFrame();
47584
+ }
47585
+ }
47586
+ function clearChartInstanceListByRowDirection(row, excludedCol, table) {
47587
+ var _a;
47588
+ if (isValid$4(chartInstanceListRowByRowDirection[row])) for (const i in chartInstanceListRowByRowDirection[row]) {
47589
+ if (isValid$4(excludedCol) && Number(i) === excludedCol) continue;
47590
+ const cellGroup = table.scenegraph.getCell(Number(i), row),
47591
+ chartNode = null === (_a = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _a ? void 0 : _a[0];
47592
+ chartNode.addUpdateShapeAndBoundsTag(), isValid$4(chartNode) && (chartNode.deactivate(table, {
47593
+ releaseChartInstance: !0,
47594
+ releaseColumnChartInstance: !1,
47595
+ releaseRowChartInstance: !1
47596
+ }), chartInstanceListRowByRowDirection[row][i] = null);
47597
+ }
47598
+ delete chartInstanceListRowByRowDirection[row];
47599
+ }
47600
+
47352
47601
  const CHART_NUMBER_TYPE = genNumberType();
47353
47602
  class Chart extends Rect$2 {
47354
47603
  constructor(isShareChartSpec, params) {
47355
- if (super(params), this.type = "chart", this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
47604
+ if (super(params), this.type = "chart", this.activeChartInstanceHoverOnMark = null, this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
47356
47605
  const chartInstance = this.chartInstance = new params.ClassType(params.spec, merge$1({}, this.attribute.tableChartOption, {
47357
47606
  renderCanvas: params.canvas,
47358
47607
  mode: "node" === this.attribute.mode ? "node" : "desktop-browser",
@@ -47374,7 +47623,7 @@
47374
47623
  }
47375
47624
  activate(table) {
47376
47625
  var _a, _b, _c, _d, _e;
47377
- this.active = !0;
47626
+ if (this.activeChartInstance) return;
47378
47627
  const {
47379
47628
  col: col,
47380
47629
  row: row
@@ -47392,7 +47641,7 @@
47392
47641
  y1: y1 - table.scrollTop,
47393
47642
  y2: y2 - table.scrollTop
47394
47643
  });
47395
- null === (_a = this.activeChartInstance) || void 0 === _a || _a.release(), this.activeChartInstance = new this.attribute.ClassType(this.attribute.spec, merge$1({}, this.attribute.tableChartOption, {
47644
+ 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$1({}, this.attribute.tableChartOption, {
47396
47645
  renderCanvas: this.attribute.canvas,
47397
47646
  mode: "desktop-browser",
47398
47647
  canvasControled: !1,
@@ -47438,16 +47687,56 @@
47438
47687
  table.scenegraph.updateChartState(null === (_a = null == params ? void 0 : params.value) || void 0 === _a ? void 0 : _a.inBrushData), Chart.temp = 0, setTimeout(() => {
47439
47688
  Chart.temp = 1;
47440
47689
  }, 0);
47690
+ }), table.options.chartDimensionLinkage && this.activeChartInstance.on("dimensionHover", params => {
47691
+ var _a, _b, _c, _d, _e, _f;
47692
+ const dimensionInfo = null == params ? void 0 : params.dimensionInfo[0],
47693
+ canvasXY = null === (_a = null == params ? void 0 : params.event) || void 0 === _a ? void 0 : _a.canvas,
47694
+ viewport = null === (_b = null == params ? void 0 : params.event) || void 0 === _b ? void 0 : _b.viewport;
47695
+ if (viewport) {
47696
+ const xValue = dimensionInfo.data[0].series.positionToDataX(viewport.x),
47697
+ yValue = dimensionInfo.data[0].series.positionToDataY(viewport.y);
47698
+ if ("scatter" === this.attribute.spec.type) generateChartInstanceListByColumnDirection(col, xValue, void 0, canvasXY, table, !1, !0), generateChartInstanceListByRowDirection(row, void 0, yValue, canvasXY, table, !1, !0), (null === (_c = table.options.chartDimensionLinkage.labelHoverOnAxis) || void 0 === _c ? void 0 : _c.left) && table.scenegraph.getCell(table.rowHeaderLevelCount - 1, row).firstChild.showLabelHoverOnAxis(canvasXY.y - table.getCellRelativeRect(col, row).top, yValue), (null === (_d = table.options.chartDimensionLinkage.labelHoverOnAxis) || void 0 === _d ? void 0 : _d.bottom) && table.scenegraph.getCell(col, table.rowCount - table.bottomFrozenRowCount).firstChild.showLabelHoverOnAxis(canvasXY.x - table.getCellRelativeRect(col, row).left, xValue);else {
47699
+ let hideTooltip = !1;
47700
+ const preMark = this.activeChartInstanceHoverOnMark;
47701
+ if (params.mark && params.datum && !Array.isArray(params.datum) ? (this.activeChartInstanceHoverOnMark = params.mark, hideTooltip = !0) : this.activeChartInstanceHoverOnMark = null, "enter" === params.action || preMark !== this.activeChartInstanceHoverOnMark) {
47702
+ const dimensionValue = dimensionInfo.value;
47703
+ if (table.options.indicatorsAsCol) {
47704
+ const series = dimensionInfo.data[0].series,
47705
+ width = series.getYAxisHelper().getBandwidth(0),
47706
+ y = series.valueToPositionY(dimensionValue);
47707
+ (null === (_e = table.options.chartDimensionLinkage.labelHoverOnAxis) || void 0 === _e ? void 0 : _e.left) && table.scenegraph.getCell(table.rowHeaderLevelCount - 1, row).firstChild.showLabelHoverOnAxis(y + ("line" === series.type || "area" === series.type ? 0 : width / 2), yValue), generateChartInstanceListByRowDirection(row, dimensionValue, null, canvasXY, table, hideTooltip, !1);
47708
+ } else {
47709
+ const series = dimensionInfo.data[0].series,
47710
+ width = series.getXAxisHelper().getBandwidth(0),
47711
+ x = series.valueToPositionX(dimensionValue);
47712
+ (null === (_f = table.options.chartDimensionLinkage.labelHoverOnAxis) || void 0 === _f ? void 0 : _f.bottom) && table.scenegraph.getCell(col, table.rowCount - table.bottomFrozenRowCount).firstChild.showLabelHoverOnAxis(x + ("line" === series.type || "area" === series.type ? 0 : width / 2), dimensionValue), generateChartInstanceListByColumnDirection(col, dimensionValue, null, canvasXY, table, hideTooltip, !1);
47713
+ }
47714
+ }
47715
+ }
47716
+ }
47441
47717
  }), null === (_e = (_d = table)._bindChartEvent) || void 0 === _e || _e.call(_d, this.activeChartInstance);
47442
47718
  }
47443
- deactivate() {
47444
- var _a, _b;
47445
- this.active = !1, null === (_a = this.activeChartInstance) || void 0 === _a || _a.updateViewBox({
47446
- x1: -1e3,
47447
- x2: -800,
47448
- y1: -1e3,
47449
- y2: -800
47450
- }, !1, !1), null === (_b = this.activeChartInstance) || void 0 === _b || _b.release(), this.activeChartInstance = null;
47719
+ deactivate(table, {
47720
+ releaseChartInstance = !0,
47721
+ releaseColumnChartInstance = !0,
47722
+ releaseRowChartInstance = !0
47723
+ } = {}) {
47724
+ var _a, _b, _c, _d, _e, _f;
47725
+ if (this.activeChartInstanceHoverOnMark = null, releaseChartInstance) {
47726
+ null === (_a = this.activeChartInstance) || void 0 === _a || _a.updateViewBox({
47727
+ x1: -1e3,
47728
+ x2: -800,
47729
+ y1: -1e3,
47730
+ y2: -800
47731
+ }, !1, !1), null === (_b = this.activeChartInstance) || void 0 === _b || _b.release(), this.activeChartInstance = null;
47732
+ const {
47733
+ col: col,
47734
+ row: row
47735
+ } = this.parent,
47736
+ table = this.stage.table;
47737
+ table.internalProps.layoutMap.isAxisCell(table.rowHeaderLevelCount - 1, row) && (null === (_d = (_c = table.scenegraph.getCell(table.rowHeaderLevelCount - 1, row).firstChild).hideLabelHoverOnAxis) || void 0 === _d || _d.call(_c)), table.internalProps.layoutMap.isAxisCell(col, table.rowCount - table.bottomFrozenRowCount) && (null === (_f = (_e = table.scenegraph.getCell(col, table.rowCount - table.bottomFrozenRowCount).firstChild).hideLabelHoverOnAxis) || void 0 === _f || _f.call(_e));
47738
+ }
47739
+ 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);
47451
47740
  }
47452
47741
  updateData(data) {
47453
47742
  this.attribute.data = data;
@@ -47688,11 +47977,10 @@
47688
47977
  table: table
47689
47978
  } = chart.getRootNode(),
47690
47979
  {
47691
- active: active,
47692
47980
  cacheCanvas: cacheCanvas,
47693
47981
  activeChartInstance: activeChartInstance
47694
47982
  } = chart;
47695
- if (!active && cacheCanvas) isArray$a(cacheCanvas) ? cacheCanvas.forEach(singleCacheCanvas => {
47983
+ if (!activeChartInstance && cacheCanvas) isArray$a(cacheCanvas) ? cacheCanvas.forEach(singleCacheCanvas => {
47696
47984
  const {
47697
47985
  x: x,
47698
47986
  y: y,
@@ -51982,10 +52270,17 @@
51982
52270
  resetResidentHoverIcon(col, row, this);
51983
52271
  }
51984
52272
  deactivateChart(col, row) {
51985
- var _a, _b;
52273
+ var _a, _b, _c;
51986
52274
  if (-1 === col || -1 === row) return;
51987
52275
  const cellGroup = this.getCell(col, row);
51988
- null === (_b = null === (_a = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _a ? void 0 : _a.deactivate) || void 0 === _b || _b.call(_a);
52276
+ if (null === (_a = null == cellGroup ? void 0 : cellGroup.firstChild) || void 0 === _a ? void 0 : _a.deactivate) {
52277
+ const chartType = (null == cellGroup ? void 0 : cellGroup.firstChild).attribute.spec.type;
52278
+ 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 ? {
52279
+ 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,
52280
+ 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,
52281
+ 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
52282
+ } : void 0);
52283
+ }
51989
52284
  }
51990
52285
  activateChart(col, row) {
51991
52286
  var _a, _b, _c;
@@ -58577,7 +58872,7 @@
58577
58872
  const axisRange = getRange("top", col, row + 1, col, layout.columnHeaderLevelCount - 1, col, row, 1, layout);
58578
58873
  if (!axisRange) return;
58579
58874
  const chartCellStyle = layout._table._getCellStyle(col, row + 1),
58580
- padding = getQuadProps(getProp("padding", chartCellStyle, col, row + 1, layout._table)),
58875
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col, row + 1, layout._table)),
58581
58876
  {
58582
58877
  range: range,
58583
58878
  ticks: ticks,
@@ -58600,7 +58895,7 @@
58600
58895
  },
58601
58896
  __ticksForVTable: ticks,
58602
58897
  __vtableChartTheme: theme,
58603
- __vtablePadding: padding
58898
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58604
58899
  });
58605
58900
  }
58606
58901
  if (row === layout.rowCount - layout.bottomFrozenRowCount && col >= layout.rowHeaderLevelCount && col < layout.colCount - layout.rightFrozenColCount) {
@@ -58616,7 +58911,7 @@
58616
58911
  } = getAxisOption(col, row - 1, "bottom", layout);
58617
58912
  if (!axisRange) return;
58618
58913
  const chartCellStyle = layout._table._getCellStyle(col, row - 1),
58619
- padding = getQuadProps(getProp("padding", chartCellStyle, col, row - 1, layout._table)),
58914
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col, row - 1, layout._table)),
58620
58915
  {
58621
58916
  range: range,
58622
58917
  ticks: ticks,
@@ -58652,7 +58947,7 @@
58652
58947
  },
58653
58948
  __ticksForVTable: ticks,
58654
58949
  __vtableChartTheme: theme,
58655
- __vtablePadding: padding
58950
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58656
58951
  });
58657
58952
  }
58658
58953
  if (col === layout.rowHeaderLevelCount - 1 && row >= layout.columnHeaderLevelCount && row < layout.rowCount - layout.bottomFrozenRowCount) {
@@ -58668,7 +58963,7 @@
58668
58963
  } = getAxisOption(col + 1, row, "left", layout);
58669
58964
  if (!1 === (null == axisOption ? void 0 : axisOption.visible)) return;
58670
58965
  const chartCellStyle = layout._table._getCellStyle(col + 1, row),
58671
- padding = getQuadProps(getProp("padding", chartCellStyle, col + 1, row, layout._table)),
58966
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col + 1, row, layout._table)),
58672
58967
  spec = layout.getRawChartSpec(col + 1, row);
58673
58968
  return merge$1({
58674
58969
  domain: "linear" === (null == axisOption ? void 0 : axisOption.type) ? void 0 : Array.from(domain),
@@ -58681,7 +58976,7 @@
58681
58976
  type: null !== (_e = null == axisOption ? void 0 : axisOption.type) && void 0 !== _e ? _e : "band",
58682
58977
  __vtableChartTheme: theme,
58683
58978
  inverse: transformInverse(axisOption, "horizontal" === (null !== (_f = null == spec ? void 0 : spec.direction) && void 0 !== _f ? _f : "scatter" === chartType ? "vertical" : "horizontal")),
58684
- __vtablePadding: padding
58979
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58685
58980
  });
58686
58981
  }
58687
58982
  } else {
@@ -58698,7 +58993,7 @@
58698
58993
  } = getAxisOption(col + 1, row, "left", layout);
58699
58994
  if (!axisRange) return;
58700
58995
  const chartCellStyle = layout._table._getCellStyle(col + 1, row),
58701
- padding = getQuadProps(getProp("padding", chartCellStyle, col + 1, row, layout._table)),
58996
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col + 1, row, layout._table)),
58702
58997
  {
58703
58998
  range: range,
58704
58999
  ticks: ticks,
@@ -58735,7 +59030,7 @@
58735
59030
  },
58736
59031
  __ticksForVTable: ticks,
58737
59032
  __vtableChartTheme: theme,
58738
- __vtablePadding: padding
59033
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58739
59034
  });
58740
59035
  }
58741
59036
  if (col === layout.colCount - layout.rightFrozenColCount && row >= layout.columnHeaderLevelCount && row < layout.rowCount - layout.bottomFrozenRowCount) {
@@ -58745,7 +59040,7 @@
58745
59040
  } = getAxisOption(col - 1, row, "right", layout);
58746
59041
  if (!axisRange) return;
58747
59042
  const chartCellStyle = layout._table._getCellStyle(col - 1, row),
58748
- padding = getQuadProps(getProp("padding", chartCellStyle, col - 1, row, layout._table)),
59043
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col - 1, row, layout._table)),
58749
59044
  {
58750
59045
  range: range,
58751
59046
  ticks: ticks,
@@ -58780,7 +59075,7 @@
58780
59075
  },
58781
59076
  __ticksForVTable: ticks,
58782
59077
  __vtableChartTheme: theme,
58783
- __vtablePadding: padding
59078
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58784
59079
  });
58785
59080
  }
58786
59081
  if (row === layout.rowCount - layout.bottomFrozenRowCount && col >= layout.rowHeaderLevelCount && col < layout.colCount - layout.rightFrozenColCount) {
@@ -58797,7 +59092,7 @@
58797
59092
  } = getAxisOption(col, row - 1, "bottom", layout);
58798
59093
  if (!1 === (null == axisOption ? void 0 : axisOption.visible)) return;
58799
59094
  const chartCellStyle = layout._table._getCellStyle(col, row - 1),
58800
- padding = getQuadProps(getProp("padding", chartCellStyle, col, row - 1, layout._table));
59095
+ bodyChartCellPadding = getQuadProps(getProp("padding", chartCellStyle, col, row - 1, layout._table));
58801
59096
  return merge$1({
58802
59097
  domain: "linear" === (null == axisOption ? void 0 : axisOption.type) ? void 0 : Array.from(domain),
58803
59098
  range: "linear" === (null == axisOption ? void 0 : axisOption.type) ? domain : void 0
@@ -58805,13 +59100,13 @@
58805
59100
  orient: "bottom",
58806
59101
  type: null !== (_o = null == axisOption ? void 0 : axisOption.type) && void 0 !== _o ? _o : "band",
58807
59102
  __vtableChartTheme: theme,
58808
- __vtablePadding: padding
59103
+ __vtableBodyChartCellPadding: bodyChartCellPadding
58809
59104
  });
58810
59105
  }
58811
59106
  }
58812
59107
  }
58813
59108
  function getAxisOption(col, row, orient, layout) {
58814
- var _a, _b;
59109
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
58815
59110
  const spec = layout.getRawChartSpec(col, row),
58816
59111
  axes = null !== (_a = spec.axes) && void 0 !== _a ? _a : [];
58817
59112
  if (layout._table.pivotChartAxes.forEach(axis => {
@@ -58832,22 +59127,23 @@
58832
59127
  isZeroAlign: isZeroAlign,
58833
59128
  isTickAlign: isTickAlign
58834
59129
  } = checkZeroAlign(spec, orient, layout);
58835
- return {
59130
+ return axisOption.labelHoverOnAxis || (axisOption.labelHoverOnAxis = null !== (_d = null === (_c = null === (_b = layout._table.options.chartDimensionLinkage) || void 0 === _b ? void 0 : _b.labelHoverOnAxis) || void 0 === _c ? void 0 : _c[orient]) && void 0 !== _d ? _d : {}), {
58836
59131
  axisOption: axisOption,
58837
59132
  isPercent: spec.percent,
58838
59133
  isZeroAlign: isZeroAlign,
58839
59134
  isTickAlign: isTickAlign,
58840
59135
  seriesIndice: seriesIndice,
58841
59136
  theme: spec.theme,
58842
- chartType: null !== (_b = null == seriesSpec ? void 0 : seriesSpec.type) && void 0 !== _b ? _b : spec.type
59137
+ chartType: null !== (_e = null == seriesSpec ? void 0 : seriesSpec.type) && void 0 !== _e ? _e : spec.type
58843
59138
  };
58844
59139
  }
58845
59140
  }
58846
- const axisOption = layout._table.pivotChartAxes.find(axisOption => axisOption.orient === orient),
58847
- {
58848
- isZeroAlign: isZeroAlign,
58849
- isTickAlign: isTickAlign
58850
- } = checkZeroAlign(spec, orient, layout);
59141
+ const axisOption = null !== (_f = layout._table.pivotChartAxes.find(axisOption => axisOption.orient === orient)) && void 0 !== _f ? _f : {};
59142
+ axisOption.labelHoverOnAxis || (axisOption.labelHoverOnAxis = null !== (_j = null === (_h = null === (_g = layout._table.options.chartDimensionLinkage) || void 0 === _g ? void 0 : _g.labelHoverOnAxis) || void 0 === _h ? void 0 : _h[orient]) && void 0 !== _j ? _j : {});
59143
+ const {
59144
+ isZeroAlign: isZeroAlign,
59145
+ isTickAlign: isTickAlign
59146
+ } = checkZeroAlign(spec, orient, layout);
58851
59147
  return {
58852
59148
  axisOption: axisOption,
58853
59149
  isPercent: !1,
@@ -59310,7 +59606,7 @@
59310
59606
  }
59311
59607
  constructor(container, options = {}) {
59312
59608
  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;
59313
- if (super(), this.showFrozenIcon = !0, this.version = "1.22.4", 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");
59609
+ if (super(), this.showFrozenIcon = !0, this.version = "1.22.5-alpha.0", 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");
59314
59610
  this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
59315
59611
  options: options,
59316
59612
  container: container
@@ -60151,7 +60447,7 @@
60151
60447
  colEnd: colEnd
60152
60448
  };
60153
60449
  }
60154
- getBodyVisibleRowRange() {
60450
+ getBodyVisibleRowRange(deltaY = 0) {
60155
60451
  const {
60156
60452
  scrollTop: scrollTop
60157
60453
  } = this,
@@ -60160,13 +60456,13 @@
60160
60456
  {
60161
60457
  row: rowStart
60162
60458
  } = this.getRowAt(scrollTop + frozenRowsHeight + 1),
60163
- rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? this.getRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight).row : this.rowCount - 1;
60459
+ rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? this.getRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight + deltaY).row : this.rowCount - 1;
60164
60460
  return rowEnd < 0 ? null : {
60165
60461
  rowStart: rowStart,
60166
60462
  rowEnd: rowEnd
60167
60463
  };
60168
60464
  }
60169
- getBodyVisibleColRange() {
60465
+ getBodyVisibleColRange(deltaX = 0) {
60170
60466
  const {
60171
60467
  scrollLeft: scrollLeft
60172
60468
  } = this,
@@ -60175,7 +60471,7 @@
60175
60471
  {
60176
60472
  col: colStart
60177
60473
  } = this.getColAt(scrollLeft + frozenColsWidth + 1),
60178
- colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + this.tableNoFrameWidth - 1 - rightFrozenColsWidth).col : this.colCount - 1;
60474
+ colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + this.tableNoFrameWidth - 1 - rightFrozenColsWidth + deltaX).col : this.colCount - 1;
60179
60475
  return colEnd < 0 ? null : {
60180
60476
  colStart: colStart,
60181
60477
  colEnd: colEnd
@@ -62720,7 +63016,8 @@
62720
63016
  visible: null === (_l = spec.background) || void 0 === _l ? void 0 : _l.visible,
62721
63017
  style: transformToGraphic(null === (_m = spec.background) || void 0 === _m ? void 0 : _m.style),
62722
63018
  state: transformStateStyle(null === (_o = spec.background) || void 0 === _o ? void 0 : _o.state)
62723
- }
63019
+ },
63020
+ labelHoverOnAxis: spec.labelHoverOnAxis
62724
63021
  };
62725
63022
  }
62726
63023
 
@@ -66461,18 +66758,18 @@
66461
66758
 
66462
66759
  const scaleParser = scale => scale;
66463
66760
  class CartesianAxis {
66464
- constructor(option, width, height, padding, table) {
66465
- var _a, _b, _c;
66466
- if (this.x = 0, this.y = 0, this.padding = padding, this.table = table, this.orient = null !== (_a = option.orient) && void 0 !== _a ? _a : "left", this.type = null !== (_b = option.type) && void 0 !== _b ? _b : "band", this.option = merge$1({}, getCommonAxis(option.__vtableChartTheme), getTableAxisTheme(this.orient, table.theme), getChartSpecAxisTheme(this.orient, this.type, option.__vtableChartTheme), option), "left" === this.orient || "right" === this.orient) {
66761
+ constructor(option, width, height, bodyChartCellPadding, table) {
66762
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
66763
+ if (this.x = 0, this.y = 0, this.bodyChartCellPadding = bodyChartCellPadding, this.table = table, this.orient = null !== (_a = option.orient) && void 0 !== _a ? _a : "left", this.type = null !== (_b = option.type) && void 0 !== _b ? _b : "band", this.option = merge$1({}, getCommonAxis(option.__vtableChartTheme), getTableAxisTheme(this.orient, table.theme), getChartSpecAxisTheme(this.orient, this.type, option.__vtableChartTheme), option), "left" === this.orient || "right" === this.orient) {
66467
66764
  const innerOffsetTop = 0,
66468
66765
  innerOffsetBottom = 0;
66469
- this.width = width, this.height = height - padding[0] - padding[2] - innerOffsetBottom, this.y = padding[0] + innerOffsetTop;
66766
+ "left" === this.orient && (this.x = null !== (_c = this.option.cellPaddingLeft) && void 0 !== _c ? _c : 0, this.width = width - (null !== (_d = this.option.cellPaddingLeft) && void 0 !== _d ? _d : 0)), "right" === this.orient && (this.x = 0, this.width = width - (null !== (_e = this.option.cellPaddingRight) && void 0 !== _e ? _e : 0)), this.height = height - bodyChartCellPadding[0] - bodyChartCellPadding[2] - innerOffsetBottom, this.y = bodyChartCellPadding[0] + innerOffsetTop;
66470
66767
  } else if ("top" === this.orient || "bottom" === this.orient) {
66471
66768
  const innerOffsetLeft = 0,
66472
66769
  innerOffsetRight = 0;
66473
- this.width = width - padding[1] - padding[3] - innerOffsetRight, this.height = height, this.x = padding[3] + innerOffsetLeft;
66770
+ this.width = width - bodyChartCellPadding[1] - bodyChartCellPadding[3] - innerOffsetRight, this.x = bodyChartCellPadding[3] + innerOffsetLeft, "top" === this.orient && (this.y = null !== (_f = this.option.cellPaddingTop) && void 0 !== _f ? _f : 0, this.height = height - (null !== (_g = this.option.cellPaddingTop) && void 0 !== _g ? _g : 0)), "bottom" === this.orient && (this.y = 0, this.height = height - (null !== (_h = this.option.cellPaddingBottom) && void 0 !== _h ? _h : 0));
66474
66771
  }
66475
- this.visible = null === (_c = option.visible) || void 0 === _c || _c, this.inverse = "inverse" in option && !!option.inverse, "band" === option.type && (this.data = option.domain), this.initScale(), this.initData(), this.createComponent(), this.initEvent();
66772
+ this.visible = null === (_j = option.visible) || void 0 === _j || _j, this.inverse = "inverse" in option && !!option.inverse, "band" === option.type && (this.data = option.domain), this.initScale(), this.initData(), this.createComponent(), this.initEvent();
66476
66773
  }
66477
66774
  initScale() {
66478
66775
  const option = this.option;
@@ -66519,7 +66816,8 @@
66519
66816
  })), this.component.originAxis = this;
66520
66817
  }
66521
66818
  resize(width, height) {
66522
- this.width = width - ("top" === this.orient || "bottom" === this.orient ? this.padding[1] + this.padding[3] : 0), this.height = height - ("left" === this.orient || "right" === this.orient ? this.padding[2] + this.padding[0] : 0), this.updateScaleRange(), this.computeData();
66819
+ var _a, _b, _c, _d;
66820
+ "left" === this.orient ? this.width = width - (null !== (_a = this.option.cellPaddingLeft) && void 0 !== _a ? _a : 0) : "right" === this.orient ? this.width = width - (null !== (_b = this.option.cellPaddingRight) && void 0 !== _b ? _b : 0) : "top" !== this.orient && "bottom" !== this.orient || (this.width = width - (this.bodyChartCellPadding[1] + this.bodyChartCellPadding[3])), "top" === this.orient ? this.height = height - (null !== (_c = this.option.cellPaddingTop) && void 0 !== _c ? _c : 0) : "bottom" === this.orient ? this.height = height - (null !== (_d = this.option.cellPaddingBottom) && void 0 !== _d ? _d : 0) : "left" !== this.orient && "right" !== this.orient || (this.height = height - (this.bodyChartCellPadding[2] + this.bodyChartCellPadding[0])), this.updateScaleRange(), this.computeData();
66523
66821
  const axisStylrAttrs = getAxisAttributes(this.option),
66524
66822
  attrs = this.getUpdateAttribute();
66525
66823
  attrs.verticalFactor = "top" === this.orient || "right" === this.orient ? -1 : 1, this.component.setAttributes(merge$1({}, axisStylrAttrs, attrs)), this.component.setAttributes(this.setLayoutStartPosition({
@@ -66639,7 +66937,7 @@
66639
66937
  }
66640
66938
 
66641
66939
  function computeAxisComponentWidth(config, table) {
66642
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
66940
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
66643
66941
  const attribute = merge$1({}, commonAxis, config);
66644
66942
  let tickWidth = 0;
66645
66943
  !1 !== attribute.tick.visible && (tickWidth = null !== (_a = attribute.tick.width) && void 0 !== _a ? _a : 4);
@@ -66701,10 +66999,12 @@
66701
66999
  size = getSizeAfterResize(Math.min(width, widthLimit), height, null === (_s = null === (_r = attribute.title) || void 0 === _r ? void 0 : _r.style) || void 0 === _s ? void 0 : _s.angle);
66702
67000
  titleWidth = "left" !== config.orient && "right" !== config.orient || !attribute.title.autoRotate ? size.width : size.height, titleWidth += null !== (_t = attribute.title.space) && void 0 !== _t ? _t : 4;
66703
67001
  }
66704
- return Math.ceil(tickWidth + labelWidth + titleWidth + 1);
67002
+ let paddingWidth = 0;
67003
+ const themeAxisConfig = getTableAxisTheme(config.orient, table.theme);
67004
+ return "left" === config.orient ? paddingWidth = null !== (_u = null == themeAxisConfig ? void 0 : themeAxisConfig.cellPaddingLeft) && void 0 !== _u ? _u : 0 : "right" === config.orient && (paddingWidth = null !== (_v = null == themeAxisConfig ? void 0 : themeAxisConfig.cellPaddingRight) && void 0 !== _v ? _v : 0), Math.ceil(tickWidth + labelWidth + titleWidth + paddingWidth + 1);
66705
67005
  }
66706
67006
  function computeAxisComponentHeight(config, table) {
66707
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
67007
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
66708
67008
  const attribute = merge$1({}, commonAxis, config);
66709
67009
  let tickHeight = 0;
66710
67010
  !1 !== attribute.tick.visible && (tickHeight = null !== (_a = attribute.tick.width) && void 0 !== _a ? _a : 4);
@@ -66766,7 +67066,9 @@
66766
67066
  size = getSizeAfterResize(Math.min(width, widthLimit), height, null === (_s = null === (_r = attribute.title) || void 0 === _r ? void 0 : _r.style) || void 0 === _s ? void 0 : _s.angle);
66767
67067
  titleHeight = "bottom" !== config.orient && "top" !== config.orient || !attribute.title.autoRotate ? size.height : size.width, titleHeight += null !== (_t = attribute.title.space) && void 0 !== _t ? _t : 4;
66768
67068
  }
66769
- return tickHeight + labelHeight + titleHeight + 1;
67069
+ let paddingHeight = 0;
67070
+ const themeAxisConfig = getTableAxisTheme(config.orient, table.theme);
67071
+ return "top" === config.orient ? paddingHeight = null !== (_u = null == themeAxisConfig ? void 0 : themeAxisConfig.cellPaddingTop) && void 0 !== _u ? _u : 0 : "bottom" === config.orient && (paddingHeight = null !== (_v = null == themeAxisConfig ? void 0 : themeAxisConfig.cellPaddingBottom) && void 0 !== _v ? _v : 0), tickHeight + labelHeight + titleHeight + paddingHeight + 1;
66770
67072
  }
66771
67073
  function formatDecimal(number) {
66772
67074
  return "number" != typeof number && (number = Number(number)), Number(number.toPrecision(1)).toString();
@@ -80486,7 +80788,7 @@
80486
80788
  importStyle();
80487
80789
  }
80488
80790
 
80489
- const version = "1.22.4";
80791
+ const version = "1.22.5-alpha.0";
80490
80792
  importStyles();
80491
80793
 
80492
80794
  exports.TYPES = index;