reke-ui 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/custom-elements.json +764 -3
  2. package/dist/components/reke-bar-chart/reke-bar-chart.d.ts +99 -0
  3. package/dist/components/reke-bar-chart/reke-bar-chart.d.ts.map +1 -0
  4. package/dist/components/reke-bar-chart/reke-bar-chart.js +319 -0
  5. package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts +2 -0
  6. package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts.map +1 -0
  7. package/dist/components/reke-bar-chart/reke-bar-chart.styles.js +36 -0
  8. package/dist/components/reke-dialog/reke-dialog.d.ts +19 -0
  9. package/dist/components/reke-dialog/reke-dialog.d.ts.map +1 -1
  10. package/dist/components/reke-dialog/reke-dialog.js +40 -15
  11. package/dist/components/reke-dialog/reke-dialog.styles.d.ts.map +1 -1
  12. package/dist/components/reke-dialog/reke-dialog.styles.js +110 -0
  13. package/dist/components/reke-pie-chart/reke-pie-chart.d.ts +52 -1
  14. package/dist/components/reke-pie-chart/reke-pie-chart.d.ts.map +1 -1
  15. package/dist/components/reke-pie-chart/reke-pie-chart.js +181 -42
  16. package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts.map +1 -1
  17. package/dist/components/reke-pie-chart/reke-pie-chart.styles.js +47 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +21 -20
  21. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +50 -0
  22. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +431 -0
  23. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +65 -0
  24. package/dist/node_modules/echarts/lib/chart/bar/install.js +22 -0
  25. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +142 -0
  26. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +99 -0
  27. package/dist/node_modules/echarts/lib/chart/helper/axisSnippets.js +19 -0
  28. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +50 -0
  29. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +55 -0
  30. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +3 -3
  31. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +24 -0
  32. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +60 -0
  33. package/dist/node_modules/echarts/lib/chart/line/LineView.js +471 -0
  34. package/dist/node_modules/echarts/lib/chart/line/helper.js +34 -0
  35. package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
  36. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +59 -0
  37. package/dist/node_modules/echarts/lib/chart/line/poly.js +135 -0
  38. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +32 -32
  39. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +69 -69
  40. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +25 -25
  41. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +16 -16
  42. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +153 -153
  43. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +13 -13
  44. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +106 -0
  45. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +50 -0
  46. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +20 -20
  47. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +30 -30
  48. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +13 -13
  49. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +114 -0
  50. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
  51. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +15 -0
  52. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +21 -0
  53. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +67 -0
  54. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +75 -0
  55. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +465 -0
  56. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +17 -0
  57. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +55 -0
  58. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +88 -0
  59. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +14 -0
  60. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
  61. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
  62. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +132 -0
  63. package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
  64. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +32 -0
  65. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +172 -0
  66. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +17 -0
  67. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +15 -0
  68. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
  69. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +31 -31
  70. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +61 -61
  71. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +29 -29
  72. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +4 -4
  73. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +105 -105
  74. package/dist/node_modules/echarts/lib/coord/Axis.js +92 -0
  75. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
  76. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +76 -0
  77. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
  78. package/dist/node_modules/echarts/lib/coord/axisDefault.js +124 -0
  79. package/dist/node_modules/echarts/lib/coord/axisHelper.js +123 -14
  80. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +9 -0
  81. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +39 -0
  82. package/dist/node_modules/echarts/lib/coord/axisNiceTicks.js +64 -0
  83. package/dist/node_modules/echarts/lib/coord/axisStatistics.js +101 -22
  84. package/dist/node_modules/echarts/lib/coord/axisStatisticsMetricsImpl.js +43 -0
  85. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +151 -5
  86. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +24 -0
  87. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +18 -0
  88. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +23 -0
  89. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +69 -0
  90. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +314 -0
  91. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +40 -0
  92. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +43 -12
  93. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +175 -0
  94. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +39 -16
  95. package/dist/node_modules/echarts/lib/core/echarts.js +421 -421
  96. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +30 -0
  97. package/dist/node_modules/echarts/lib/data/SeriesData.js +18 -18
  98. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +6 -6
  99. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +59 -0
  100. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +13 -13
  101. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +7 -4
  102. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +40 -8
  103. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +3 -3
  104. package/dist/node_modules/echarts/lib/data/helper/transform.js +8 -8
  105. package/dist/node_modules/echarts/lib/extension.js +10 -10
  106. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +10 -10
  107. package/dist/node_modules/echarts/lib/label/labelStyle.js +34 -25
  108. package/dist/node_modules/echarts/lib/label/sectorLabel.js +83 -0
  109. package/dist/node_modules/echarts/lib/layout/barCommon.js +19 -0
  110. package/dist/node_modules/echarts/lib/layout/barGrid.js +165 -0
  111. package/dist/node_modules/echarts/lib/layout/points.js +37 -0
  112. package/dist/node_modules/echarts/lib/loading/default.js +6 -6
  113. package/dist/node_modules/echarts/lib/model/Component.js +39 -39
  114. package/dist/node_modules/echarts/lib/model/Global.js +122 -122
  115. package/dist/node_modules/echarts/lib/model/Series.js +78 -78
  116. package/dist/node_modules/echarts/lib/model/referHelper.js +58 -0
  117. package/dist/node_modules/echarts/lib/processor/dataSample.js +43 -0
  118. package/dist/node_modules/echarts/lib/scale/Interval.js +68 -0
  119. package/dist/node_modules/echarts/lib/scale/Log.js +100 -0
  120. package/dist/node_modules/echarts/lib/scale/Ordinal.js +92 -0
  121. package/dist/node_modules/echarts/lib/scale/Scale.js +13 -0
  122. package/dist/node_modules/echarts/lib/scale/Time.js +242 -0
  123. package/dist/node_modules/echarts/lib/scale/break.js +10 -2
  124. package/dist/node_modules/echarts/lib/scale/helper.js +61 -3
  125. package/dist/node_modules/echarts/lib/scale/minorTicks.js +22 -0
  126. package/dist/node_modules/echarts/lib/scale/scaleMapper.js +89 -7
  127. package/dist/node_modules/echarts/lib/util/clazz.js +35 -35
  128. package/dist/node_modules/echarts/lib/util/component.js +16 -16
  129. package/dist/node_modules/echarts/lib/util/cycleCache.js +4 -1
  130. package/dist/node_modules/echarts/lib/util/decal.js +11 -11
  131. package/dist/node_modules/echarts/lib/util/format.js +1 -1
  132. package/dist/node_modules/echarts/lib/util/graphic.js +170 -170
  133. package/dist/node_modules/echarts/lib/util/layout.js +23 -23
  134. package/dist/node_modules/echarts/lib/util/model.js +128 -68
  135. package/dist/node_modules/echarts/lib/util/number.js +55 -37
  136. package/dist/node_modules/echarts/lib/util/shape/sausage.js +25 -0
  137. package/dist/node_modules/echarts/lib/util/states.js +96 -82
  138. package/dist/node_modules/echarts/lib/util/styleCompat.js +10 -0
  139. package/dist/node_modules/echarts/lib/util/symbol.js +24 -21
  140. package/dist/node_modules/echarts/lib/util/time.js +154 -18
  141. package/dist/node_modules/echarts/lib/util/vendor.js +26 -0
  142. package/dist/node_modules/echarts/lib/view/Chart.js +19 -19
  143. package/dist/node_modules/echarts/lib/view/Component.js +7 -7
  144. package/dist/node_modules/echarts/lib/visual/style.js +5 -5
  145. package/dist/node_modules/zrender/lib/Element.js +35 -35
  146. package/dist/node_modules/zrender/lib/canvas/graphic.js +36 -36
  147. package/dist/node_modules/zrender/lib/core/PathProxy.js +25 -25
  148. package/dist/node_modules/zrender/lib/core/event.js +4 -1
  149. package/dist/node_modules/zrender/lib/core/util.js +69 -64
  150. package/dist/node_modules/zrender/lib/graphic/TSpan.js +7 -7
  151. package/dist/node_modules/zrender/lib/graphic/Text.js +37 -37
  152. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +59 -59
  153. package/dist/node_modules/zrender/lib/tool/color.js +60 -41
  154. package/dist/react.d.ts +10 -0
  155. package/dist/react.d.ts.map +1 -1
  156. package/dist/react.js +85 -73
  157. package/dist/shared/tailwind.js +1 -1
  158. package/dist/tokens/reke-tokens.css +1 -0
  159. package/package.json +5 -1
@@ -1,9 +1,9 @@
1
- import { bind as e, clone as t, each as n, extend as r, isArray as i, isFunction as a, isObject as o, isString as s, trim as c } from "../../../../zrender/lib/core/util.js";
2
- import l from "../../../../zrender/lib/core/env.js";
3
- import { parsePercent as u } from "../../util/number.js";
4
- import { getTooltipRenderMode as d, preParseFinder as f, queryReferringComponents as p } from "../../util/model.js";
5
- import { __extends as m } from "../../../node_modules/tslib/tslib.es6.js";
6
- import h from "../../../../zrender/lib/graphic/shape/Rect.js";
1
+ import { __extends as e } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import { bind as t, clone as n, each as r, extend as i, isArray as a, isFunction as o, isObject as s, isString as c, trim as l } from "../../../../zrender/lib/core/util.js";
3
+ import u from "../../../../zrender/lib/core/env.js";
4
+ import d from "../../../../zrender/lib/graphic/shape/Rect.js";
5
+ import { parsePercent as f } from "../../util/number.js";
6
+ import { getTooltipRenderMode as p, preParseFinder as m, queryReferringComponents as h } from "../../util/model.js";
7
7
  import { getECData as g } from "../../util/innerStore.js";
8
8
  import _ from "../../model/Model.js";
9
9
  import { encodeHTML as v } from "../../../../zrender/lib/core/dom.js";
@@ -12,9 +12,9 @@ import { convertToColorString as b, formatTpl as x } from "../../util/format.js"
12
12
  import { getLayoutRect as S } from "../../util/layout.js";
13
13
  import { normalizeTooltipFormatResult as C } from "../../model/mixin/dataFormat.js";
14
14
  import { TooltipMarkupStyleCreator as w, buildTooltipMarkup as T, createTooltipMarkup as E } from "./tooltipMarkup.js";
15
- import D from "../../view/Component.js";
15
+ import { getAxisRawValue as D } from "../../coord/axisHelper.js";
16
16
  import { clear as O, createOrUpdate as k } from "../../util/throttle.js";
17
- import { getAxisRawValue as A } from "../../coord/axisHelper.js";
17
+ import A from "../../view/Component.js";
18
18
  import { getValueLabel as j } from "../axisPointer/viewHelper.js";
19
19
  import { register as M, unregister as N } from "../axisPointer/globalListener.js";
20
20
  import P from "../axisPointer/findPointFromSeries.js";
@@ -23,34 +23,34 @@ import { shouldTooltipConfine as I } from "./helper.js";
23
23
  import L from "./TooltipHTMLContent.js";
24
24
  import R from "./TooltipRichContent.js";
25
25
  //#region node_modules/echarts/lib/component/tooltip/TooltipView.js
26
- var z = new h({ shape: {
26
+ var z = new d({ shape: {
27
27
  x: -1,
28
28
  y: -1,
29
29
  width: 2,
30
30
  height: 2
31
- } }), B = function(f) {
32
- m(p, f);
33
- function p() {
34
- var e = f !== null && f.apply(this, arguments) || this;
35
- return e.type = p.type, e;
31
+ } }), B = function(d) {
32
+ e(m, d);
33
+ function m() {
34
+ var e = d !== null && d.apply(this, arguments) || this;
35
+ return e.type = m.type, e;
36
36
  }
37
- return p.prototype.init = function(e, t) {
38
- if (!(l.node || !t.getDom())) {
39
- var n = e.getComponent("tooltip"), r = this._renderMode = d(n.get("renderMode"));
37
+ return m.prototype.init = function(e, t) {
38
+ if (!(u.node || !t.getDom())) {
39
+ var n = e.getComponent("tooltip"), r = this._renderMode = p(n.get("renderMode"));
40
40
  this._tooltipContent = r === "richText" ? new R(t) : new L(t, { appendTo: n.get("appendToBody", !0) ? "body" : n.get("appendTo", !0) });
41
41
  }
42
- }, p.prototype.render = function(e, t, n) {
43
- if (!(l.node || !n.getDom())) {
42
+ }, m.prototype.render = function(e, t, n) {
43
+ if (!(u.node || !n.getDom())) {
44
44
  this.group.removeAll(), this._tooltipModel = e, this._ecModel = t, this._api = n;
45
45
  var r = this._tooltipContent;
46
46
  r.update(e), r.setEnterable(e.get("enterable")), this._initGlobalListener(), this._keepShow(), this._renderMode !== "richText" && e.get("transitionDuration") ? k(this, "_updatePosition", 50, "fixRate") : O(this, "_updatePosition");
47
47
  }
48
- }, p.prototype._initGlobalListener = function() {
49
- var t = this._tooltipModel.get("triggerOn");
50
- M("itemTooltip", this._api, e(function(e, n, r) {
51
- t !== "none" && (t.indexOf(e) >= 0 ? this._tryShow(n, r) : e === "leave" && this._hide(r));
48
+ }, m.prototype._initGlobalListener = function() {
49
+ var e = this._tooltipModel.get("triggerOn");
50
+ M("itemTooltip", this._api, t(function(t, n, r) {
51
+ e !== "none" && (e.indexOf(t) >= 0 ? this._tryShow(n, r) : t === "leave" && this._hide(r));
52
52
  }, this));
53
- }, p.prototype._keepShow = function() {
53
+ }, m.prototype._keepShow = function() {
54
54
  var e = this._tooltipModel, t = this._ecModel, n = this._api, r = e.get("triggerOn");
55
55
  if (e.get("trigger") !== "axis" && (this._lastDataByCoordSys = null, this._cbParamsList = null), this._lastX != null && this._lastY != null && r !== "none" && r !== "click") {
56
56
  var i = this;
@@ -62,8 +62,8 @@ var z = new h({ shape: {
62
62
  });
63
63
  });
64
64
  }
65
- }, p.prototype.manuallyShowTip = function(e, t, n, r) {
66
- if (!(r.from === this.uid || l.node || !n.getDom())) {
65
+ }, m.prototype.manuallyShowTip = function(e, t, n, r) {
66
+ if (!(r.from === this.uid || u.node || !n.getDom())) {
67
67
  var i = H(r, n);
68
68
  this._ticket = "";
69
69
  var a = r.dataByCoordSys, o = q(r, t, n);
@@ -95,11 +95,11 @@ var z = new h({ shape: {
95
95
  }, i);
96
96
  else if (r.seriesIndex != null) {
97
97
  if (this._manuallyAxisShowTip(e, t, n, r)) return;
98
- var u = P(r, t), d = u.point[0], f = u.point[1];
98
+ var l = P(r, t), d = l.point[0], f = l.point[1];
99
99
  d != null && f != null && this._tryShow({
100
100
  offsetX: d,
101
101
  offsetY: f,
102
- target: u.el,
102
+ target: l.el,
103
103
  position: r.position,
104
104
  positionDefault: "bottom"
105
105
  }, i);
@@ -114,10 +114,10 @@ var z = new h({ shape: {
114
114
  target: n.getZr().findHover(r.x, r.y).target
115
115
  }, i));
116
116
  }
117
- }, p.prototype.manuallyHideTip = function(e, t, n, r) {
117
+ }, m.prototype.manuallyHideTip = function(e, t, n, r) {
118
118
  var i = this._tooltipContent;
119
119
  this._tooltipModel && i.hideLater(this._tooltipModel.get("hideDelay")), this._lastX = this._lastY = this._lastDataByCoordSys = null, this._cbParamsList = null, r.from !== this.uid && this._hide(H(r, n));
120
- }, p.prototype._manuallyAxisShowTip = function(e, t, n, r) {
120
+ }, m.prototype._manuallyAxisShowTip = function(e, t, n, r) {
121
121
  var i = r.seriesIndex, a = r.dataIndex, o = t.getComponent("axisPointer").coordSysAxesInfo;
122
122
  if (!(i == null || a == null || o == null)) {
123
123
  var s = t.getSeriesByIndex(i);
@@ -132,7 +132,7 @@ var z = new h({ shape: {
132
132
  position: r.position
133
133
  }), !0;
134
134
  }
135
- }, p.prototype._tryShow = function(e, t) {
135
+ }, m.prototype._tryShow = function(e, t) {
136
136
  var n = e.target;
137
137
  if (this._tooltipModel) {
138
138
  this._lastX = e.offsetX, this._lastY = e.offsetY;
@@ -148,47 +148,47 @@ var z = new h({ shape: {
148
148
  }, !0), i ? this._showSeriesItemTooltip(e, i, t) : a ? this._showComponentItemTooltip(e, a, t) : this._hide(t);
149
149
  } else this._lastDataByCoordSys = null, this._cbParamsList = null, this._hide(t);
150
150
  }
151
- }, p.prototype._showOrMove = function(t, n) {
152
- var r = t.get("showDelay");
153
- n = e(n, this), clearTimeout(this._showTimout), r > 0 ? this._showTimout = setTimeout(n, r) : n();
154
- }, p.prototype._showAxisTooltip = function(e, t) {
155
- var i = this._ecModel, a = this._tooltipModel, o = [t.offsetX, t.offsetY], s = V([t.tooltipOption], a), l = this._renderMode, u = [], d = E("section", {
151
+ }, m.prototype._showOrMove = function(e, n) {
152
+ var r = e.get("showDelay");
153
+ n = t(n, this), clearTimeout(this._showTimout), r > 0 ? this._showTimout = setTimeout(n, r) : n();
154
+ }, m.prototype._showAxisTooltip = function(e, t) {
155
+ var n = this._ecModel, a = this._tooltipModel, o = [t.offsetX, t.offsetY], s = V([t.tooltipOption], a), c = this._renderMode, u = [], d = E("section", {
156
156
  blocks: [],
157
157
  noHeader: !0
158
158
  }), f = [], p = new w();
159
- n(e, function(e) {
160
- n(e.dataByAxis, function(e) {
161
- var t = i.getComponent(e.axisDim + "Axis", e.axisIndex), o = e.value, s = t.axis, m = s.scale.parse(o);
159
+ r(e, function(e) {
160
+ r(e.dataByAxis, function(e) {
161
+ var t = n.getComponent(e.axisDim + "Axis", e.axisIndex), o = e.value, s = t.axis, m = s.scale.parse(o);
162
162
  if (!(!t || o == null)) {
163
- var h = j(o, s, i, e.seriesDataIndices, e.valueLabelOpt), g = E("section", {
163
+ var h = j(o, s, n, e.seriesDataIndices, e.valueLabelOpt), g = E("section", {
164
164
  header: h,
165
- noHeader: !c(h),
165
+ noHeader: !l(h),
166
166
  sortBlocks: !0,
167
167
  blocks: []
168
168
  });
169
- d.blocks.push(g), n(e.seriesDataIndices, function(n) {
170
- var o = i.getSeriesByIndex(n.seriesIndex), s = n.dataIndexInside, c = o.getDataParams(s);
171
- if (!(c.dataIndex < 0)) {
172
- c.axisDim = e.axisDim, c.axisIndex = e.axisIndex, c.axisType = e.axisType, c.axisId = e.axisId, c.axisValue = A(t.axis, { value: m }), c.axisValueLabel = h, c.marker = p.makeTooltipMarker("item", b(c.color), l);
169
+ d.blocks.push(g), r(e.seriesDataIndices, function(r) {
170
+ var o = n.getSeriesByIndex(r.seriesIndex), s = r.dataIndexInside, l = o.getDataParams(s);
171
+ if (!(l.dataIndex < 0)) {
172
+ l.axisDim = e.axisDim, l.axisIndex = e.axisIndex, l.axisType = e.axisType, l.axisId = e.axisId, l.axisValue = D(t.axis, { value: m }), l.axisValueLabel = h, l.marker = p.makeTooltipMarker("item", b(l.color), c);
173
173
  var d = C(o.formatTooltip(s, !0, null)), _ = d.frag;
174
174
  if (_) {
175
175
  var v = V([o], a).get("valueFormatter");
176
- g.blocks.push(v ? r({ valueFormatter: v }, _) : _);
176
+ g.blocks.push(v ? i({ valueFormatter: v }, _) : _);
177
177
  }
178
- d.text && f.push(d.text), u.push(c);
178
+ d.text && f.push(d.text), u.push(l);
179
179
  }
180
180
  });
181
181
  }
182
182
  });
183
183
  }), d.blocks.reverse(), f.reverse();
184
- var m = t.position, h = T(d, p, l, s.get("order"), i.get("useUTC"), s.get("textStyle"));
184
+ var m = t.position, h = T(d, p, c, s.get("order"), n.get("useUTC"), s.get("textStyle"));
185
185
  h && f.unshift(h);
186
- var g = l === "richText" ? "\n\n" : "<br/>", _ = f.join(g);
186
+ var g = c === "richText" ? "\n\n" : "<br/>", _ = f.join(g);
187
187
  this._showOrMove(s, function() {
188
188
  this._updateContentNotChangedOnAxis(e, u) ? this._updatePosition(s, m, o[0], o[1], this._tooltipContent, u) : this._showTooltipContent(s, _, u, Math.random() + "", o[0], o[1], m, null, p);
189
189
  });
190
- }, p.prototype._showSeriesItemTooltip = function(e, t, n) {
191
- var i = this._ecModel, a = g(t), o = a.seriesIndex, s = i.getSeriesByIndex(o), c = a.dataModel || s, l = a.dataIndex, u = a.dataType, d = c.getData(u), f = this._renderMode, p = e.positionDefault, m = V([
190
+ }, m.prototype._showSeriesItemTooltip = function(e, t, n) {
191
+ var r = this._ecModel, a = g(t), o = a.seriesIndex, s = r.getSeriesByIndex(o), c = a.dataModel || s, l = a.dataIndex, u = a.dataType, d = c.getData(u), f = this._renderMode, p = e.positionDefault, m = V([
192
192
  d.getItemModel(l),
193
193
  c,
194
194
  s && (s.coordinateSystem || {}).model
@@ -196,7 +196,7 @@ var z = new h({ shape: {
196
196
  if (!(h != null && h !== "item")) {
197
197
  var _ = c.getDataParams(l, u), v = new w();
198
198
  _.marker = v.makeTooltipMarker("item", b(_.color), f);
199
- var y = C(c.formatTooltip(l, !1, u)), x = m.get("order"), S = m.get("valueFormatter"), E = y.frag, D = E ? T(S ? r({ valueFormatter: S }, E) : E, v, f, x, i.get("useUTC"), m.get("textStyle")) : y.text, O = "item_" + c.name + "_" + l;
199
+ var y = C(c.formatTooltip(l, !1, u)), x = m.get("order"), S = m.get("valueFormatter"), E = y.frag, D = E ? T(S ? i({ valueFormatter: S }, E) : E, v, f, x, r.get("useUTC"), m.get("textStyle")) : y.text, O = "item_" + c.name + "_" + l;
200
200
  this._showOrMove(m, function() {
201
201
  this._showTooltipContent(m, D, _, O, e.offsetX, e.offsetY, e.position, e.target, v);
202
202
  }), n({
@@ -207,110 +207,110 @@ var z = new h({ shape: {
207
207
  from: this.uid
208
208
  });
209
209
  }
210
- }, p.prototype._showComponentItemTooltip = function(e, n, r) {
211
- var i = this._renderMode === "html", a = g(n), o = a.tooltipConfig.option || {}, c = o.encodeHTMLContent;
212
- if (s(o)) {
210
+ }, m.prototype._showComponentItemTooltip = function(e, t, r) {
211
+ var i = this._renderMode === "html", a = g(t), o = a.tooltipConfig.option || {}, s = o.encodeHTMLContent;
212
+ if (c(o)) {
213
213
  var l = o;
214
214
  o = {
215
215
  content: l,
216
216
  formatter: l
217
- }, c = !0;
217
+ }, s = !0;
218
218
  }
219
- c && i && o.content && (o = t(o), o.content = v(o.content));
219
+ s && i && o.content && (o = n(o), o.content = v(o.content));
220
220
  var u = [o], d = this._ecModel.getComponent(a.componentMainType, a.componentIndex);
221
221
  d && u.push(d), u.push({ formatter: o.content });
222
222
  var f = e.positionDefault, p = V(u, this._tooltipModel, f ? { position: f } : null), m = p.get("content"), h = Math.random() + "", _ = new w();
223
223
  this._showOrMove(p, function() {
224
- var r = t(p.get("formatterParams") || {});
225
- this._showTooltipContent(p, m, r, h, e.offsetX, e.offsetY, e.position, n, _);
224
+ var r = n(p.get("formatterParams") || {});
225
+ this._showTooltipContent(p, m, r, h, e.offsetX, e.offsetY, e.position, t, _);
226
226
  }), r({
227
227
  type: "showTip",
228
228
  from: this.uid
229
229
  });
230
- }, p.prototype._showTooltipContent = function(t, n, r, o, c, l, u, d, f) {
231
- if (this._ticket = "", !(!t.get("showContent") || !t.get("show"))) {
230
+ }, m.prototype._showTooltipContent = function(e, n, r, i, s, l, u, d, f) {
231
+ if (this._ticket = "", !(!e.get("showContent") || !e.get("show"))) {
232
232
  var p = this._tooltipContent;
233
- p.setEnterable(t.get("enterable"));
234
- var m = t.get("formatter");
235
- u ||= t.get("position");
236
- var h = n, g = this._getNearestPoint([c, l], r, t.get("trigger"), t.get("borderColor"), t.get("defaultBorderColor", !0)).color;
237
- if (m) if (s(m)) {
238
- var _ = t.ecModel.get("useUTC"), v = i(r) ? r[0] : r, b = v && v.axisType && v.axisType.indexOf("time") >= 0;
233
+ p.setEnterable(e.get("enterable"));
234
+ var m = e.get("formatter");
235
+ u ||= e.get("position");
236
+ var h = n, g = this._getNearestPoint([s, l], r, e.get("trigger"), e.get("borderColor"), e.get("defaultBorderColor", !0)).color;
237
+ if (m) if (c(m)) {
238
+ var _ = e.ecModel.get("useUTC"), v = a(r) ? r[0] : r, b = v && v.axisType && v.axisType.indexOf("time") >= 0;
239
239
  h = m, b && (h = y(v.axisValue, h, _)), h = x(h, r, !0);
240
- } else if (a(m)) {
241
- var S = e(function(e, n) {
242
- e === this._ticket && (p.setContent(n, f, t, g, u), this._updatePosition(t, u, c, l, p, r, d));
240
+ } else if (o(m)) {
241
+ var S = t(function(t, n) {
242
+ t === this._ticket && (p.setContent(n, f, e, g, u), this._updatePosition(e, u, s, l, p, r, d));
243
243
  }, this);
244
- this._ticket = o, h = m(r, o, S);
244
+ this._ticket = i, h = m(r, i, S);
245
245
  } else h = m;
246
- p.setContent(h, f, t, g, u), p.show(t, g), this._updatePosition(t, u, c, l, p, r, d);
246
+ p.setContent(h, f, e, g, u), p.show(e, g), this._updatePosition(e, u, s, l, p, r, d);
247
247
  }
248
- }, p.prototype._getNearestPoint = function(e, t, n, r, a) {
249
- if (n === "axis" || i(t)) return { color: r || a };
250
- if (!i(t)) return { color: r || t.color || t.borderColor };
251
- }, p.prototype._updatePosition = function(e, t, n, r, c, l, d) {
252
- var f = this._api.getWidth(), p = this._api.getHeight();
248
+ }, m.prototype._getNearestPoint = function(e, t, n, r, i) {
249
+ if (n === "axis" || a(t)) return { color: r || i };
250
+ if (!a(t)) return { color: r || t.color || t.borderColor };
251
+ }, m.prototype._updatePosition = function(e, t, n, r, i, l, u) {
252
+ var d = this._api.getWidth(), p = this._api.getHeight();
253
253
  t ||= e.get("position");
254
- var m = c.getSize(), h = e.get("align"), g = e.get("verticalAlign"), _ = d && d.getBoundingRect().clone();
255
- if (d && _.applyTransform(d.transform), a(t) && (t = t([n, r], l, c.el, _, {
256
- viewSize: [f, p],
254
+ var m = i.getSize(), h = e.get("align"), g = e.get("verticalAlign"), _ = u && u.getBoundingRect().clone();
255
+ if (u && _.applyTransform(u.transform), o(t) && (t = t([n, r], l, i.el, _, {
256
+ viewSize: [d, p],
257
257
  contentSize: m.slice()
258
- })), i(t)) n = u(t[0], f), r = u(t[1], p);
259
- else if (o(t)) {
258
+ })), a(t)) n = f(t[0], d), r = f(t[1], p);
259
+ else if (s(t)) {
260
260
  var v = t;
261
261
  v.width = m[0], v.height = m[1];
262
262
  var y = S(v, {
263
- width: f,
263
+ width: d,
264
264
  height: p
265
265
  });
266
266
  n = y.x, r = y.y, h = null, g = null;
267
- } else if (s(t) && d) {
267
+ } else if (c(t) && u) {
268
268
  var b = G(t, _, m, e.get("borderWidth"));
269
269
  n = b[0], r = b[1];
270
270
  } else {
271
- var b = U(n, r, c, f, p, h ? null : 20, g ? null : 20);
271
+ var b = U(n, r, i, d, p, h ? null : 20, g ? null : 20);
272
272
  n = b[0], r = b[1];
273
273
  }
274
274
  if (h && (n -= K(h) ? m[0] / 2 : h === "right" ? m[0] : 0), g && (r -= K(g) ? m[1] / 2 : g === "bottom" ? m[1] : 0), I(e)) {
275
- var b = W(n, r, c, f, p);
275
+ var b = W(n, r, i, d, p);
276
276
  n = b[0], r = b[1];
277
277
  }
278
- c.moveTo(n, r);
279
- }, p.prototype._updateContentNotChangedOnAxis = function(e, t) {
280
- var r = this._lastDataByCoordSys, i = this._cbParamsList, a = !!r && r.length === e.length;
281
- return a && n(r, function(r, o) {
282
- var s = r.dataByAxis || [], c = (e[o] || {}).dataByAxis || [];
283
- a &&= s.length === c.length, a && n(s, function(e, r) {
284
- var o = c[r] || {}, s = e.seriesDataIndices || [], l = o.seriesDataIndices || [];
285
- a = a && e.value === o.value && e.axisType === o.axisType && e.axisId === o.axisId && s.length === l.length, a && n(s, function(e, t) {
278
+ i.moveTo(n, r);
279
+ }, m.prototype._updateContentNotChangedOnAxis = function(e, t) {
280
+ var n = this._lastDataByCoordSys, i = this._cbParamsList, a = !!n && n.length === e.length;
281
+ return a && r(n, function(n, o) {
282
+ var s = n.dataByAxis || [], c = (e[o] || {}).dataByAxis || [];
283
+ a &&= s.length === c.length, a && r(s, function(e, n) {
284
+ var o = c[n] || {}, s = e.seriesDataIndices || [], l = o.seriesDataIndices || [];
285
+ a = a && e.value === o.value && e.axisType === o.axisType && e.axisId === o.axisId && s.length === l.length, a && r(s, function(e, t) {
286
286
  var n = l[t];
287
287
  a = a && e.seriesIndex === n.seriesIndex && e.dataIndex === n.dataIndex;
288
- }), i && n(e.seriesDataIndices, function(e) {
288
+ }), i && r(e.seriesDataIndices, function(e) {
289
289
  var n = e.seriesIndex, r = t[n], o = i[n];
290
290
  r && o && o.data !== r.data && (a = !1);
291
291
  });
292
292
  });
293
293
  }), this._lastDataByCoordSys = e, this._cbParamsList = t, !!a;
294
- }, p.prototype._hide = function(e) {
294
+ }, m.prototype._hide = function(e) {
295
295
  this._lastDataByCoordSys = null, this._cbParamsList = null, e({
296
296
  type: "hideTip",
297
297
  from: this.uid
298
298
  });
299
- }, p.prototype.dispose = function(e, t) {
300
- l.node || !t.getDom() || (O(this, "_updatePosition"), this._tooltipContent.dispose(), N("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
301
- }, p.type = "tooltip", p;
302
- }(D);
299
+ }, m.prototype.dispose = function(e, t) {
300
+ u.node || !t.getDom() || (O(this, "_updatePosition"), this._tooltipContent.dispose(), N("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
301
+ }, m.type = "tooltip", m;
302
+ }(A);
303
303
  function V(e, t, n) {
304
304
  var r = t.ecModel, i;
305
305
  n ? (i = new _(n, r, r), i = new _(t.option, i, r)) : i = t;
306
306
  for (var a = e.length - 1; a >= 0; a--) {
307
307
  var o = e[a];
308
- o && (o instanceof _ && (o = o.get("tooltip", !0)), s(o) && (o = { formatter: o }), o && (i = new _(o, i, r)));
308
+ o && (o instanceof _ && (o = o.get("tooltip", !0)), c(o) && (o = { formatter: o }), o && (i = new _(o, i, r)));
309
309
  }
310
310
  return i;
311
311
  }
312
- function H(t, n) {
313
- return t.dispatchAction || e(n.dispatchAction, n);
312
+ function H(e, n) {
313
+ return e.dispatchAction || t(n.dispatchAction, n);
314
314
  }
315
315
  function U(e, t, n, r, i, a, o) {
316
316
  var s = n.getSize(), c = s[0], l = s[1];
@@ -343,9 +343,9 @@ function K(e) {
343
343
  return e === "center" || e === "middle";
344
344
  }
345
345
  function q(e, t, n) {
346
- var r = f(e).queryOptionMap, i = r.keys()[0];
346
+ var r = m(e).queryOptionMap, i = r.keys()[0];
347
347
  if (!(!i || i === "series")) {
348
- var a = p(t, i, r.get(i), {
348
+ var a = h(t, i, r.get(i), {
349
349
  useDefault: !1,
350
350
  enableAll: !1,
351
351
  enableNone: !1
@@ -0,0 +1,92 @@
1
+ import { each as e, map as t } from "../../../zrender/lib/core/util.js";
2
+ import { linearMap as n } from "../util/number.js";
3
+ import { isOrdinalScale as r } from "../scale/helper.js";
4
+ import { getTickValueOutermost as i } from "./axisHelper.js";
5
+ import { AxisTickLabelComputingKind as a, calculateCategoryInterval as o, createAxisLabels as s, createAxisLabelsComputingContext as c, createAxisTicks as l } from "./axisTickLabelBuilder.js";
6
+ import { calcBandWidth as u } from "./axisBand.js";
7
+ //#region node_modules/echarts/lib/coord/Axis.js
8
+ var d = [0, 1], f = function() {
9
+ function e(e, t, n) {
10
+ this.onBand = !1, this.inverse = !1, this.dim = e, this.scale = t, this._extent = n || [0, 0];
11
+ }
12
+ return e.prototype.contain = function(e) {
13
+ var t = this._extent, n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]);
14
+ return e >= n && e <= r;
15
+ }, e.prototype.containData = function(e) {
16
+ return this.scale.contain(this.scale.parse(e));
17
+ }, e.prototype.getExtent = function() {
18
+ return this._extent.slice();
19
+ }, e.prototype.setExtent = function(e, t) {
20
+ var n = this._extent;
21
+ n[0] = e, n[1] = t;
22
+ }, e.prototype.dataToCoord = function(e, t) {
23
+ var r = this.scale;
24
+ return e = r.normalize(r.parse(e)), n(e, d, p(this), t);
25
+ }, e.prototype.coordToData = function(e, t) {
26
+ var r = n(e, p(this), d, t);
27
+ return this.scale.scale(r);
28
+ }, e.prototype.pointToData = function(e, t) {}, e.prototype.getTicksCoords = function(e) {
29
+ e ||= {};
30
+ var n = e.tickModel || this.getTickModel(), r = t(l(this, n, {
31
+ breakTicks: e.breakTicks,
32
+ pruneByBreak: e.pruneByBreak
33
+ }).ticks, function(e) {
34
+ return {
35
+ coord: this.dataToCoord(i(this.scale, e)),
36
+ tick: e
37
+ };
38
+ }, this), a = n.get("alignWithLabel"), o = m(this, r, a);
39
+ return t(r, function(e) {
40
+ return {
41
+ coord: e.coord,
42
+ tickValue: e.tick.value,
43
+ onBand: o
44
+ };
45
+ });
46
+ }, e.prototype.getMinorTicksCoords = function() {
47
+ if (r(this.scale)) return [];
48
+ var e = this.model.getModel("minorTick").get("splitNumber");
49
+ return e > 0 && e < 100 || (e = 5), t(this.scale.getMinorTicks(e), function(e) {
50
+ return t(e, function(e) {
51
+ return {
52
+ coord: this.dataToCoord(e),
53
+ tickValue: e
54
+ };
55
+ }, this);
56
+ }, this);
57
+ }, e.prototype.getViewLabels = function(e) {
58
+ return e ||= c(a.determine), s(this, e).labels;
59
+ }, e.prototype.getLabelModel = function() {
60
+ return this.model.getModel("axisLabel");
61
+ }, e.prototype.getTickModel = function() {
62
+ return this.model.getModel("axisTick");
63
+ }, e.prototype.getBandWidth = function() {
64
+ return u(this, { min: 1 }).w;
65
+ }, e.prototype.calculateCategoryInterval = function(e) {
66
+ return e ||= c(a.determine), o(this, e);
67
+ }, e;
68
+ }();
69
+ function p(e) {
70
+ var t = e.getExtent();
71
+ if (e.onBand) {
72
+ var n = (t[1] - t[0]) / e.scale.count() / 2;
73
+ t[0] += n, t[1] -= n;
74
+ }
75
+ return t;
76
+ }
77
+ function m(t, n, r) {
78
+ var i = n.length;
79
+ if (!t.onBand || r || !i) return !1;
80
+ var a = u(t).w;
81
+ if (!a) return !1;
82
+ e(n, function(e) {
83
+ e.coord -= a / 2;
84
+ });
85
+ var o = t.scale.getExtent(), s = n[i - 1];
86
+ return s.tick.offInterval && n.pop(), n.push({
87
+ coord: s.coord + a,
88
+ tick: { value: o[1] + 1 }
89
+ }), !0;
90
+ }
91
+ //#endregion
92
+ export { f as default };
@@ -0,0 +1,6 @@
1
+ //#region node_modules/echarts/lib/coord/CoordinateSystem.js
2
+ function e(e, t) {
3
+ return e.type === t;
4
+ }
5
+ //#endregion
6
+ export { e as isCoordinateSystemType };
@@ -0,0 +1,76 @@
1
+ import { assert as e } from "../../../zrender/lib/core/util.js";
2
+ import { getAcceptableTickPrecision as t, isNullableNumberFinite as n, mathAbs as r, mathCeil as i, mathFloor as a, mathMax as o, mathRound as s, nice as ee, quantity as te, round as c } from "../util/number.js";
3
+ import { warn as ne } from "../util/log.js";
4
+ import { hasBreaks as l } from "../scale/break.js";
5
+ import { getIntervalPrecision as u, increaseInterval as d, intervalScaleEnsureValidExtent as f, isLogScale as p } from "../scale/helper.js";
6
+ import m from "../scale/Interval.js";
7
+ import h from "../scale/Log.js";
8
+ import { updateIntervalOrLogScaleForNiceOrAligned as g } from "./axisHelper.js";
9
+ import { adoptScaleRawExtentInfoAndPrepare as re } from "./scaleRawExtentInfo.js";
10
+ //#region node_modules/echarts/lib/coord/axisAlignTicks.js
11
+ function _(_, v) {
12
+ var y = _.scale, b = _.model;
13
+ process.env.NODE_ENV !== "production" && e(y && b && (y instanceof m || y instanceof h) && (v instanceof m || v instanceof h));
14
+ var x = re(y, b, b.ecModel, _, null), S = p(y), C = p(v) ? v.intervalStub : v, w = S ? y.intervalStub : y, T = y.base, E = C.getTicks(), D = C.getTicks({ expandToNicedExtent: !0 }), O = E.length - 1;
15
+ process.env.NODE_ENV !== "production" && (e(!l(v) && !l(y)), e(O > 0), e(D.length === E.length), e(E[0].value <= E[O].value), e(D[0].value <= E[0].value && E[O].value <= D[O].value), O >= 2 && (e(D[1].value === E[1].value), e(D[O - 1].value === E[O - 1].value)));
16
+ var k, A, j;
17
+ if (O === 1) k = A = 0, j = 1;
18
+ else if (O === 2) {
19
+ var M = r(E[0].value - E[1].value), N = r(E[1].value - E[2].value);
20
+ k = A = 0, M === N ? j = 2 : (j = 1, M < N ? k = M / N : A = N / M);
21
+ } else {
22
+ var P = C.getConfig().interval;
23
+ k = (1 - (E[0].value - D[0].value) / P) % 1, A = (1 - (D[O].value - E[O].value) / P) % 1, j = O - +!!k - !!A;
24
+ }
25
+ process.env.NODE_ENV !== "production" && e(j >= 1);
26
+ var F = x.zoomFixMM, I = F[0] || F[1], L = [x.fixMM[0] || I, x.fixMM[1] || I], R = y.getExtent(), z = w.getExtent(), B = f(z, L), V, H, U, W, G, K;
27
+ function q(e) {
28
+ for (var t = 50, n = 0; n < t && !e(); n++) U = S ? U * o(T, 2) : d(U), W = u(U);
29
+ process.env.NODE_ENV !== "production" && n >= t && ne("incorrect impl in `scaleCalcAlign`.");
30
+ }
31
+ function J() {
32
+ V = c(K - U * k, W);
33
+ }
34
+ function Y() {
35
+ H = c(G + U * A, W);
36
+ }
37
+ function X() {
38
+ K = k ? c(V + U * k, W) : V;
39
+ }
40
+ function Z() {
41
+ G = A ? c(H - U * A, W) : H;
42
+ }
43
+ if (L[0] && L[1]) {
44
+ V = B[0], H = B[1], U = (H - V) / (j + k + A);
45
+ var Q = _.getExtent(), ie = r(Q[1] - Q[0]);
46
+ W = t([H, V], ie, .5 / j), X(), Z(), n(W) && (U = c(U, W));
47
+ } else {
48
+ var $ = B[1] - B[0];
49
+ U = S ? o(te($), 1) : ee($ / j, 2), W = u(U), L[0] ? (V = B[0], q(function() {
50
+ if (X(), G = c(K + U * j, W), Y(), H >= B[1]) return !0;
51
+ })) : L[1] ? (H = B[1], q(function() {
52
+ if (Z(), K = c(G - U * j, W), J(), V <= B[0]) return !0;
53
+ })) : q(function() {
54
+ K = c(i(B[0] / U) * U, W), G = c(a(B[1] / U) * U, W);
55
+ var e = s((G - K) / U);
56
+ if (e <= j) {
57
+ var t = j - e, n = void 0, r = x.incl0 || S;
58
+ if (r && B[0] === 0) n = [0, t];
59
+ else if (r && B[1] === 0) n = [t, 0];
60
+ else {
61
+ var o = a(t / 2);
62
+ n = t % 2 == 0 ? [o, o] : V + H < B[0] + B[1] ? [o, o + 1] : [o + 1, o];
63
+ }
64
+ if (K = c(K - U * n[0], W), G = c(G + U * n[1], W), J(), Y(), V <= B[0] && H >= B[1]) return !0;
65
+ }
66
+ });
67
+ }
68
+ g(y, L, z, [V, H], R, {
69
+ interval: U,
70
+ intervalCount: j,
71
+ intervalPrecision: W,
72
+ niceExtent: [K, G]
73
+ }), process.env.NODE_ENV !== "production" && y.freeze();
74
+ }
75
+ //#endregion
76
+ export { _ as scaleCalcAlign };
@@ -0,0 +1,9 @@
1
+ //#region node_modules/echarts/lib/coord/axisCommonTypes.js
2
+ var e = {
3
+ value: 1,
4
+ category: 1,
5
+ time: 1,
6
+ log: 1
7
+ };
8
+ //#endregion
9
+ export { e as AXIS_TYPES };