zxl-common-utils 0.0.3 → 0.0.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.
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { useComponents } from './plugins/components';
2
2
  export { useComponents };
3
3
  export * from './utils';
4
4
  export * from './components';
5
- export type { ColorList, TemplateToolsType, DefaultPropsType, StaticConfig, StaticOptions, StaticResources, UseColorReturn, ColorMap, ComponentProps, } from './types';
5
+ export type { ColorList, TemplateToolsType, DefaultPropsType, StaticConfig, StaticOptions, StaticResources, UseColorReturn, ColorMap, ComponentProps, ScrollConfig, ScrollMode, } from './types';
6
6
  declare const defaultExport: Record<string, any>;
7
7
  export default defaultExport;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAKrD,OAAO,EAAE,aAAa,EAAE,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC;AAG7B,YAAY,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,cAAc,EACd,QAAQ,EACR,cAAc,GACf,MAAM,SAAS,CAAC;AAIjB,QAAA,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAItC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAKrD,OAAO,EAAE,aAAa,EAAE,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC;AAG7B,YAAY,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,cAAc,EACd,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,GACX,MAAM,SAAS,CAAC;AAIjB,QAAA,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAItC,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/lib/index.js CHANGED
@@ -765,7 +765,7 @@ const qz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
765
765
  Mp(N.$slots, "default", {}, void 0, !0)
766
766
  ], 544));
767
767
  }
768
- }), t5 = /* @__PURE__ */ z_(e5, [["__scopeId", "data-v-37cb46a5"]]), r5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
768
+ }), t5 = /* @__PURE__ */ z_(e5, [["__scopeId", "data-v-a35b3050"]]), r5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
769
769
  __proto__: null,
770
770
  default: t5
771
771
  }, Symbol.toStringTag, { value: "Module" }));
@@ -23851,11 +23851,11 @@ var SC = [
23851
23851
  }, r.prototype.resize = function(e, t, n) {
23852
23852
  var a = wt(e, t), i = this._rect = et(e.getBoxLayoutParams(), a.refContainer), o = this._axesMap, s = this._coordsList, l = e.get("containLabel");
23853
23853
  if (X0(o, i), !n) {
23854
- var u = r9(i, s, o, l, t), f = void 0;
23854
+ var u = r$(i, s, o, l, t), f = void 0;
23855
23855
  if (l)
23856
23856
  Z0 ? (Z0(this._axesList, i), X0(o, i)) : (process.env.NODE_ENV !== "production" && gI("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.", !0), f = CC(i.clone(), "axisLabel", null, i, o, u, a));
23857
23857
  else {
23858
- var c = n9(e, i, a), v = c.outerBoundsRect, h = c.parsedOuterBoundsContain, p = c.outerBoundsClamp;
23858
+ var c = n$(e, i, a), v = c.outerBoundsRect, h = c.parsedOuterBoundsContain, p = c.outerBoundsClamp;
23859
23859
  v && (f = CC(v, h, p, i, o, u, a));
23860
23860
  }
23861
23861
  KN(i, o, on.determine, null, f, a), A(this._coordsList, function(d) {
@@ -24022,7 +24022,7 @@ function wC(r) {
24022
24022
  function Q7(r, e) {
24023
24023
  return Io(r.scale) || Io(e.scale) || e.scale.getTicks().length < 2;
24024
24024
  }
24025
- function e9(r, e) {
24025
+ function e$(r, e) {
24026
24026
  var t = r.getExtent(), n = t[0] + t[1];
24027
24027
  r.toGlobalCoord = r.dim === "x" ? function(a) {
24028
24028
  return a + e;
@@ -24043,10 +24043,10 @@ function X0(r, e) {
24043
24043
  }
24044
24044
  function TC(r, e, t) {
24045
24045
  var n = [0, t], a = r.inverse ? 1 : 0;
24046
- r.setExtent(n[a], n[1 - a]), e9(r, e);
24046
+ r.setExtent(n[a], n[1 - a]), e$(r, e);
24047
24047
  }
24048
24048
  var Z0;
24049
- function t9(r) {
24049
+ function t$(r) {
24050
24050
  Z0 = r;
24051
24051
  }
24052
24052
  function CC(r, e, t, n, a, i, o) {
@@ -24084,8 +24084,8 @@ function CC(r, e, t, n, a, i, o) {
24084
24084
  return v > 0 && !Pt(h) && h > 1e-4 && (v /= h), v;
24085
24085
  }
24086
24086
  }
24087
- function r9(r, e, t, n, a) {
24088
- var i = new CN(a9);
24087
+ function r$(r, e, t, n, a) {
24088
+ var i = new CN(a$);
24089
24089
  return A(t, function(o) {
24090
24090
  return A(o, function(s) {
24091
24091
  if (yf(s.model)) {
@@ -24128,7 +24128,7 @@ function KN(r, e, t, n, a, i) {
24128
24128
  });
24129
24129
  });
24130
24130
  }
24131
- function n9(r, e, t) {
24131
+ function n$(r, e, t) {
24132
24132
  var n, a = r.get("outerBoundsMode", !0);
24133
24133
  a === "same" ? n = e.clone() : a == null || a === "auto" ? n = et(r.get("outerBounds", !0) || NN, t.refContainer) : a !== "none" && process.env.NODE_ENV !== "production" && Ee("Invalid grid[" + r.componentIndex + "].outerBoundsMode.");
24134
24134
  var i = r.get("outerBoundsContain", !0), o;
@@ -24140,13 +24140,13 @@ function n9(r, e, t) {
24140
24140
  outerBoundsClamp: s
24141
24141
  };
24142
24142
  }
24143
- var a9 = function(r, e, t, n, a, i) {
24143
+ var a$ = function(r, e, t, n, a, i) {
24144
24144
  var o = t.axis.dim === "x" ? "y" : "x";
24145
24145
  DN(r, e, t, n, a, i), dl(r.nameLocation) || A(e.recordMap[o], function(s) {
24146
24146
  s && s.labelInfoList && s.dirVec && MN(s.labelInfoList, s.dirVec, n, a);
24147
24147
  });
24148
24148
  };
24149
- function i9(r, e) {
24149
+ function i$(r, e) {
24150
24150
  var t = {
24151
24151
  /**
24152
24152
  * key: makeKey(axis.model)
@@ -24171,9 +24171,9 @@ function i9(r, e) {
24171
24171
  coordSysAxesInfo: {},
24172
24172
  coordSysMap: {}
24173
24173
  };
24174
- return o9(t, r, e), t.seriesInvolved && l9(t, r), t;
24174
+ return o$(t, r, e), t.seriesInvolved && l$(t, r), t;
24175
24175
  }
24176
- function o9(r, e, t) {
24176
+ function o$(r, e, t) {
24177
24177
  var n = e.getComponent("tooltip"), a = e.getComponent("axisPointer"), i = a.get("link", !0) || [], o = [];
24178
24178
  A(t.getCoordinateSystems(), function(s) {
24179
24179
  if (!s.axisPointerEnabled)
@@ -24188,7 +24188,7 @@ function o9(r, e, t) {
24188
24188
  function d(g, y, m) {
24189
24189
  var _ = m.model.getModel("axisPointer", a), S = _.get("show");
24190
24190
  if (!(!S || S === "auto" && !g && !q0(_))) {
24191
- y == null && (y = _.get("triggerTooltip")), _ = g ? s9(m, c, a, e, g, y) : _;
24191
+ y == null && (y = _.get("triggerTooltip")), _ = g ? s$(m, c, a, e, g, y) : _;
24192
24192
  var b = _.get("snap"), x = _.get("triggerEmphasis"), w = Df(m.model), C = y || b || m.type === "category", T = r.axesInfo[w] = {
24193
24193
  key: w,
24194
24194
  axis: m,
@@ -24203,7 +24203,7 @@ function o9(r, e, t) {
24203
24203
  linkGroup: null
24204
24204
  };
24205
24205
  u[w] = T, r.seriesInvolved = r.seriesInvolved || C;
24206
- var D = u9(i, m);
24206
+ var D = u$(i, m);
24207
24207
  if (D != null) {
24208
24208
  var M = o[D] || (o[D] = {
24209
24209
  axesInfo: {}
@@ -24214,7 +24214,7 @@ function o9(r, e, t) {
24214
24214
  }
24215
24215
  });
24216
24216
  }
24217
- function s9(r, e, t, n, a, i) {
24217
+ function s$(r, e, t, n, a, i) {
24218
24218
  var o = e.getModel("axisPointer"), s = ["type", "snap", "lineStyle", "shadowStyle", "label", "animation", "animationDurationUpdate", "animationEasingUpdate", "z"], l = {};
24219
24219
  A(s, function(v) {
24220
24220
  l[v] = le(o.get(v));
@@ -24229,7 +24229,7 @@ function s9(r, e, t, n, a, i) {
24229
24229
  }
24230
24230
  return r.model.getModel("axisPointer", new Ie(l, t, n));
24231
24231
  }
24232
- function l9(r, e) {
24232
+ function l$(r, e) {
24233
24233
  e.eachSeries(function(t) {
24234
24234
  var n = t.coordinateSystem, a = t.get(["tooltip", "trigger"], !0), i = t.get(["tooltip", "show"], !0);
24235
24235
  !n || !n.model || a === "none" || a === !1 || a === "item" || i === !1 || t.get(["axisPointer", "show"], !0) === !1 || A(r.coordSysAxesInfo[Df(n.model)], function(o) {
@@ -24238,7 +24238,7 @@ function l9(r, e) {
24238
24238
  });
24239
24239
  });
24240
24240
  }
24241
- function u9(r, e) {
24241
+ function u$(r, e) {
24242
24242
  for (var t = e.model, n = e.dim, a = 0; a < r.length; a++) {
24243
24243
  var i = r[a] || {};
24244
24244
  if (uy(i[n + "AxisId"], t.id) || uy(i[n + "AxisIndex"], t.componentIndex) || uy(i[n + "AxisName"], t.name))
@@ -24248,7 +24248,7 @@ function u9(r, e) {
24248
24248
  function uy(r, e) {
24249
24249
  return r === "all" || Y(r) && me(r, e) >= 0 || r === e;
24250
24250
  }
24251
- function f9(r) {
24251
+ function f$(r) {
24252
24252
  var e = gS(r);
24253
24253
  if (e) {
24254
24254
  var t = e.axisPointerModel, n = e.axis.scale, a = t.option, i = t.get("status"), o = t.get("value");
@@ -24264,7 +24264,7 @@ function gS(r) {
24264
24264
  var e = (r.ecModel.getComponent("axisPointer") || {}).coordSysAxesInfo;
24265
24265
  return e && e.axesInfo[Df(r)];
24266
24266
  }
24267
- function c9(r) {
24267
+ function c$(r) {
24268
24268
  var e = gS(r);
24269
24269
  return e && e.axisPointerModel;
24270
24270
  }
@@ -24283,7 +24283,7 @@ var fy = {}, as = (
24283
24283
  return t.type = e.type, t;
24284
24284
  }
24285
24285
  return e.prototype.render = function(t, n, a, i) {
24286
- this.axisPointerClass && f9(t), r.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(t, a, !0);
24286
+ this.axisPointerClass && f$(t), r.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(t, a, !0);
24287
24287
  }, e.prototype.updateAxisPointer = function(t, n, a, i) {
24288
24288
  this._doUpdateAxisPointerClass(t, a, !1);
24289
24289
  }, e.prototype.remove = function(t, n) {
@@ -24294,7 +24294,7 @@ var fy = {}, as = (
24294
24294
  }, e.prototype._doUpdateAxisPointerClass = function(t, n, a) {
24295
24295
  var i = e.getAxisPointerClass(this.axisPointerClass);
24296
24296
  if (i) {
24297
- var o = c9(t);
24297
+ var o = c$(t);
24298
24298
  o ? (this._axisPointer || (this._axisPointer = new i())).render(t, o, n, a) : this._disposeAxisPointer(n);
24299
24299
  }
24300
24300
  }, e.prototype._disposeAxisPointer = function(t) {
@@ -24354,7 +24354,7 @@ function jN(r, e, t, n) {
24354
24354
  function JN(r) {
24355
24355
  K0(r).splitAreaColors = null;
24356
24356
  }
24357
- var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24357
+ var v$ = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24358
24358
  /** @class */
24359
24359
  (function(r) {
24360
24360
  V(e, r);
@@ -24366,8 +24366,8 @@ var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24366
24366
  this.group.removeAll();
24367
24367
  var o = this._axisGroup;
24368
24368
  if (this._axisGroup = new fe(), this.group.add(this._axisGroup), !!yf(t)) {
24369
- this._axisGroup.add(t.axis.axisBuilder.group), A(v9, function(l) {
24370
- t.get([l, "show"]) && h9[l](this, this._axisGroup, t, t.getCoordSysModel(), a);
24369
+ this._axisGroup.add(t.axis.axisBuilder.group), A(v$, function(l) {
24370
+ t.get([l, "show"]) && h$[l](this, this._axisGroup, t, t.getCoordSysModel(), a);
24371
24371
  }, this);
24372
24372
  var s = i && i.type === "changeAxisOrder" && i.isInitSort;
24373
24373
  s || Yf(o, this._axisGroup, t), r.prototype.render.call(this, t, n, a, i);
@@ -24376,7 +24376,7 @@ var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24376
24376
  JN(this);
24377
24377
  }, e.type = "cartesianAxis", e;
24378
24378
  })(as)
24379
- ), h9 = {
24379
+ ), h$ = {
24380
24380
  splitLine: function(r, e, t, n, a) {
24381
24381
  var i = t.axis;
24382
24382
  if (!i.scale.isBlank()) {
@@ -24449,7 +24449,7 @@ var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24449
24449
  }
24450
24450
  return e.type = "xAxis", e;
24451
24451
  })(QN)
24452
- ), p9 = (
24452
+ ), p$ = (
24453
24453
  /** @class */
24454
24454
  (function(r) {
24455
24455
  V(e, r);
@@ -24459,7 +24459,7 @@ var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24459
24459
  }
24460
24460
  return e.type = "yAxis", e;
24461
24461
  })(QN)
24462
- ), d9 = (
24462
+ ), d$ = (
24463
24463
  /** @class */
24464
24464
  (function(r) {
24465
24465
  V(e, r);
@@ -24484,11 +24484,11 @@ var v9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], QN = (
24484
24484
  offset: 0
24485
24485
  };
24486
24486
  function tR(r) {
24487
- r.registerComponentView(d9), r.registerComponentModel(l7), r.registerCoordinateSystem("cartesian2d", j7), _l(r, "x", $0, DC), _l(r, "y", $0, DC), r.registerComponentView(eR), r.registerComponentView(p9), r.registerPreprocessor(function(e) {
24487
+ r.registerComponentView(d$), r.registerComponentModel(l7), r.registerCoordinateSystem("cartesian2d", j7), _l(r, "x", $0, DC), _l(r, "y", $0, DC), r.registerComponentView(eR), r.registerComponentView(p$), r.registerPreprocessor(function(e) {
24488
24488
  e.xAxis && e.yAxis && !e.grid && (e.grid = {});
24489
24489
  });
24490
24490
  }
24491
- var md = "single", g9 = "singleAxis", j0 = "singleAxis", $v = (
24491
+ var md = "single", g$ = "singleAxis", j0 = "singleAxis", $v = (
24492
24492
  /** @class */
24493
24493
  (function(r) {
24494
24494
  V(e, r);
@@ -24544,11 +24544,11 @@ var md = "single", g9 = "singleAxis", j0 = "singleAxis", $v = (
24544
24544
  })(Ce)
24545
24545
  );
24546
24546
  bt($v, tc.prototype);
24547
- function y9(r, e) {
24547
+ function y$(r, e) {
24548
24548
  var t = r.coordinateSystem, n = t && t.type, a = t && t.getBaseAxis && t.getBaseAxis(), i = a && a.scale && a.scale.type, o = n === rn && i === "ordinal" || n === md, s = e.model.get("jitter") > 0;
24549
24549
  return o && s;
24550
24550
  }
24551
- var m9 = _e();
24551
+ var m$ = _e();
24552
24552
  function AC(r, e, t, n) {
24553
24553
  if (r instanceof fS) {
24554
24554
  var a = r.scale.type;
@@ -24559,7 +24559,7 @@ function AC(r, e, t, n) {
24559
24559
  if (!(o > 0))
24560
24560
  return t;
24561
24561
  var s = i.get("jitterOverlap"), l = i.get("jitterMargin") || 0, u = qt(r.scale) ? Gt(r).w : null;
24562
- return s ? rR(t, o, u, n) : _9(r, e, t, n, o, l);
24562
+ return s ? rR(t, o, u, n) : _$(r, e, t, n, o, l);
24563
24563
  }
24564
24564
  function rR(r, e, t, n) {
24565
24565
  if (t === null)
@@ -24567,8 +24567,8 @@ function rR(r, e, t, n) {
24567
24567
  var a = t - n * 2, i = Math.min(Math.max(0, e), a);
24568
24568
  return r + (Math.random() - 0.5) * i;
24569
24569
  }
24570
- function _9(r, e, t, n, a, i) {
24571
- var o = m9(r);
24570
+ function _$(r, e, t, n, a, i) {
24571
+ var o = m$(r);
24572
24572
  o.items || (o.items = []);
24573
24573
  var s = o.items, l = MC(s, e, t, n, a, i, 1), u = MC(s, e, t, n, a, i, -1), f = Math.abs(l - t) < Math.abs(u - t) ? l : u, c = qt(r.scale) ? Gt(r).w : null, v = Math.abs(f - t);
24574
24574
  return v > a / 2 || c && v > c / 2 - n ? rR(t, a, c, n) : (s.push({
@@ -24592,14 +24592,14 @@ function MC(r, e, t, n, a, i, o) {
24592
24592
  }
24593
24593
  return s;
24594
24594
  }
24595
- function S9() {
24595
+ function S$() {
24596
24596
  return {
24597
24597
  seriesType: "scatter",
24598
24598
  plan: es(),
24599
24599
  reset: function(r) {
24600
24600
  var e = r.coordinateSystem;
24601
24601
  if (!(!e || e.type !== rn && e.type !== md)) {
24602
- var t = e.getBaseAxis && e.getBaseAxis(), n = t && y9(r, t);
24602
+ var t = e.getBaseAxis && e.getBaseAxis(), n = t && y$(r, t);
24603
24603
  if (n) {
24604
24604
  var a = t.dim, i = t.orient, o = i === "horizontal" && t.type !== "category" || i === "vertical" && t.type === "category", s = a === "y" || a === "single" && o, l = a === "x" || a === "single" && !o;
24605
24605
  if (!(!s && !l))
@@ -24627,13 +24627,13 @@ function S9() {
24627
24627
  }
24628
24628
  };
24629
24629
  }
24630
- function b9(r) {
24630
+ function b$(r) {
24631
24631
  be(tR), r.registerSeriesModel(F7), r.registerChartView(Y7), r.registerLayout(ac("scatter"));
24632
24632
  }
24633
- function x9(r) {
24634
- r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT, S9());
24633
+ function x$(r) {
24634
+ r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT, S$());
24635
24635
  }
24636
- function w9(r) {
24636
+ function w$(r) {
24637
24637
  var e = r.polar;
24638
24638
  if (e) {
24639
24639
  Y(e) || (e = [e]);
@@ -24646,7 +24646,7 @@ function w9(r) {
24646
24646
  n && n.type === "radar" && n.polarIndex && (n.radarIndex = n.polarIndex);
24647
24647
  });
24648
24648
  }
24649
- var Af = "radar", T9 = (
24649
+ var Af = "radar", T$ = (
24650
24650
  /** @class */
24651
24651
  (function(r) {
24652
24652
  V(e, r);
@@ -24709,7 +24709,7 @@ var Af = "radar", T9 = (
24709
24709
  // symbolRotate: null
24710
24710
  }, e;
24711
24711
  })(Ze)
24712
- ), C9 = (
24712
+ ), C$ = (
24713
24713
  /** @class */
24714
24714
  (function(r) {
24715
24715
  V(e, r);
@@ -24822,13 +24822,13 @@ var Af = "radar", T9 = (
24822
24822
  this.group.removeAll(), this._data = null;
24823
24823
  }, e.type = Af, e;
24824
24824
  })(He)
24825
- ), fu = ZN.value, Ju = "radar", nR = Ju, D9 = Ju, aR = 5;
24825
+ ), fu = ZN.value, Ju = "radar", nR = Ju, D$ = Ju, aR = 5;
24826
24826
  function Qc(r, e) {
24827
24827
  return ve({
24828
24828
  show: e
24829
24829
  }, r);
24830
24830
  }
24831
- var A9 = (
24831
+ var A$ = (
24832
24832
  /** @class */
24833
24833
  (function(r) {
24834
24834
  V(e, r);
@@ -24904,7 +24904,7 @@ var A9 = (
24904
24904
  indicator: []
24905
24905
  }, e;
24906
24906
  })(Ce)
24907
- ), M9 = (
24907
+ ), M$ = (
24908
24908
  /** @class */
24909
24909
  (function(r) {
24910
24910
  V(e, r);
@@ -25010,7 +25010,7 @@ var A9 = (
25010
25010
  }, this);
25011
25011
  }, e.type = "radar", e;
25012
25012
  })(je)
25013
- ), E9 = (
25013
+ ), E$ = (
25014
25014
  /** @class */
25015
25015
  (function(r) {
25016
25016
  V(e, r);
@@ -25020,12 +25020,12 @@ var A9 = (
25020
25020
  }
25021
25021
  return e;
25022
25022
  })(fn)
25023
- ), I9 = (
25023
+ ), I$ = (
25024
25024
  /** @class */
25025
25025
  (function() {
25026
25026
  function r(e, t, n) {
25027
25027
  this.type = Ju, this.dimensions = [], this._model = e, this._indicatorAxes = X(e.getIndicatorModels(), function(a, i) {
25028
- var o = "indicator_" + i, s = new E9(
25028
+ var o = "indicator_" + i, s = new E$(
25029
25029
  o,
25030
25030
  new Pn()
25031
25031
  // (indicatorModel.get('axisType') === 'log') ? new LogScale() : new IntervalScale()
@@ -25078,7 +25078,7 @@ var A9 = (
25078
25078
  return e.eachComponent(nR, function(a) {
25079
25079
  var i = new r(a, e, t);
25080
25080
  n.push(i), a.coordinateSystem = i;
25081
- }), e.eachSeriesByType(D9, function(a) {
25081
+ }), e.eachSeriesByType(D$, function(a) {
25082
25082
  if (a.get("coordinateSystem") === Ju) {
25083
25083
  var i = a.coordinateSystem = n[a.get("radarIndex") || 0];
25084
25084
  i && A(i.getIndicatorAxes(), function(o) {
@@ -25089,8 +25089,8 @@ var A9 = (
25089
25089
  }, r.dimensions = [], r;
25090
25090
  })()
25091
25091
  );
25092
- function L9(r) {
25093
- r.registerCoordinateSystem("radar", I9), r.registerComponentModel(A9), r.registerComponentView(M9), r.registerVisual({
25092
+ function L$(r) {
25093
+ r.registerCoordinateSystem("radar", I$), r.registerComponentModel(A$), r.registerComponentView(M$), r.registerVisual({
25094
25094
  seriesType: "radar",
25095
25095
  reset: function(e) {
25096
25096
  var t = e.getData();
@@ -25100,8 +25100,8 @@ function L9(r) {
25100
25100
  }
25101
25101
  });
25102
25102
  }
25103
- var P9 = xt(Af, N9);
25104
- function N9(r) {
25103
+ var P$ = xt(Af, N$);
25104
+ function N$(r) {
25105
25105
  r.eachSeriesByType(Af, function(e) {
25106
25106
  var t = e.getData(), n = [], a = e.coordinateSystem;
25107
25107
  if (a) {
@@ -25127,14 +25127,14 @@ function EC(r) {
25127
25127
  function IC(r) {
25128
25128
  return [r.cx, r.cy];
25129
25129
  }
25130
- function R9(r) {
25131
- be(L9), r.registerChartView(C9), r.registerSeriesModel(T9), r.registerLayout(P9), r.registerProcessor(oc("radar")), r.registerPreprocessor(w9);
25130
+ function R$(r) {
25131
+ be(L$), r.registerChartView(C$), r.registerSeriesModel(T$), r.registerLayout(P$), r.registerProcessor(oc("radar")), r.registerPreprocessor(w$);
25132
25132
  }
25133
25133
  var yS = _e();
25134
- function O9(r, e, t) {
25134
+ function O$(r, e, t) {
25135
25135
  yS(r)[e] = t;
25136
25136
  }
25137
- function k9(r, e, t) {
25137
+ function k$(r, e, t) {
25138
25138
  var n = yS(r), a = n[e];
25139
25139
  a === t && (n[e] = null);
25140
25140
  }
@@ -25146,14 +25146,14 @@ qn({
25146
25146
  event: "globalCursorTaken",
25147
25147
  update: "update"
25148
25148
  }, it);
25149
- var V9 = {
25149
+ var V$ = {
25150
25150
  axisPointer: 1,
25151
25151
  tooltip: 1,
25152
25152
  brush: 1
25153
25153
  };
25154
25154
  function iR(r, e, t) {
25155
25155
  var n = e.getComponentByElement(r.topTarget);
25156
- if (!n || n === t || V9.hasOwnProperty(n.mainType))
25156
+ if (!n || n === t || V$.hasOwnProperty(n.mainType))
25157
25157
  return !1;
25158
25158
  var a = n.coordinateSystem;
25159
25159
  if (!a || a.model === t)
@@ -25292,9 +25292,9 @@ var is = (
25292
25292
  function cu(r) {
25293
25293
  return r.__ecRoamConsumed;
25294
25294
  }
25295
- var B9 = _e();
25295
+ var B$ = _e();
25296
25296
  function _d(r) {
25297
- var e = B9(r);
25297
+ var e = B$(r);
25298
25298
  return e.roam = e.roam || {}, e.uniform = e.uniform || {}, e;
25299
25299
  }
25300
25300
  function vu(r, e, t, n) {
@@ -25306,16 +25306,16 @@ function vu(r, e, t, n) {
25306
25306
  o.splice(s, 0, {
25307
25307
  listener: t,
25308
25308
  zInfoParsed: n
25309
- }), z9(r, e);
25309
+ }), z$(r, e);
25310
25310
  }
25311
25311
  function hu(r, e, t) {
25312
25312
  for (var n = _d(r), a = n.roam[e] || [], i = 0; i < a.length; i++)
25313
25313
  if (a[i].listener === t) {
25314
- a.splice(i, 1), a.length || G9(r, e);
25314
+ a.splice(i, 1), a.length || G$(r, e);
25315
25315
  return;
25316
25316
  }
25317
25317
  }
25318
- function z9(r, e) {
25318
+ function z$(r, e) {
25319
25319
  var t = _d(r);
25320
25320
  t.uniform[e] || r.on(e, t.uniform[e] = function(n) {
25321
25321
  var a = t.roam[e];
@@ -25324,7 +25324,7 @@ function z9(r, e) {
25324
25324
  a[i].listener(n);
25325
25325
  });
25326
25326
  }
25327
- function G9(r, e) {
25327
+ function G$(r, e) {
25328
25328
  var t = _d(r), n = t.uniform;
25329
25329
  n[e] && (r.off(e, n[e]), n[e] = null);
25330
25330
  }
@@ -25367,7 +25367,7 @@ var cy, Jh = {
25367
25367
  }, NC = Ae(Jh), Qh = {
25368
25368
  "alignment-baseline": "textBaseline",
25369
25369
  "stop-color": "stopColor"
25370
- }, RC = Ae(Qh), F9 = (function() {
25370
+ }, RC = Ae(Qh), F$ = (function() {
25371
25371
  function r() {
25372
25372
  this._defs = {}, this._root = null;
25373
25373
  }
@@ -25383,7 +25383,7 @@ var cy, Jh = {
25383
25383
  isNaN(s) && (s = null), isNaN(l) && (l = null), _r(n, a, null, !0, !1);
25384
25384
  for (var u = n.firstChild; u; )
25385
25385
  this._parseNode(u, a, i, null, !1, !1), u = u.nextSibling;
25386
- U9(this._defs, this._defsUsePending), this._defsUsePending = [];
25386
+ U$(this._defs, this._defsUsePending), this._defsUsePending = [];
25387
25387
  var f, c;
25388
25388
  if (o) {
25389
25389
  var v = Sd(o);
@@ -25453,7 +25453,7 @@ var cy, Jh = {
25453
25453
  x: this._textX || 0,
25454
25454
  y: this._textY || 0
25455
25455
  });
25456
- Er(t, n), _r(e, n, this._defsUsePending, !1, !1), H9(n, t);
25456
+ Er(t, n), _r(e, n, this._defsUsePending, !1, !1), H$(n, t);
25457
25457
  var a = n.style, i = a.fontSize;
25458
25458
  i && i < 9 && (a.fontSize = 9, n.scaleX *= i / 9, n.scaleY *= i / 9);
25459
25459
  var o = (a.fontSize || a.fontFamily) && [
@@ -25602,7 +25602,7 @@ function BC(r) {
25602
25602
  }
25603
25603
  function _r(r, e, t, n, a) {
25604
25604
  var i = e, o = i.__inheritedStyle = i.__inheritedStyle || {}, s = {};
25605
- r.nodeType === 1 && (X9(r, e), sR(r, o, s), n || Z9(r, o, s)), i.style = i.style || {}, o.fill != null && (i.style.fill = zC(i, "fill", o.fill, t)), o.stroke != null && (i.style.stroke = zC(i, "stroke", o.stroke, t)), A([
25605
+ r.nodeType === 1 && (X$(r, e), sR(r, o, s), n || Z$(r, o, s)), i.style = i.style || {}, o.fill != null && (i.style.fill = zC(i, "fill", o.fill, t)), o.stroke != null && (i.style.stroke = zC(i, "stroke", o.stroke, t)), A([
25606
25606
  "lineWidth",
25607
25607
  "opacity",
25608
25608
  "fillOpacity",
@@ -25625,7 +25625,7 @@ function _r(r, e, t, n, a) {
25625
25625
  return parseFloat(l);
25626
25626
  })), (o.visibility === "hidden" || o.visibility === "collapse") && (i.invisible = !0), o.display === "none" && (i.ignore = !0);
25627
25627
  }
25628
- function H9(r, e) {
25628
+ function H$(r, e) {
25629
25629
  var t = e.__selfStyle;
25630
25630
  if (t) {
25631
25631
  var n = t.textBaseline, a = n;
@@ -25637,9 +25637,9 @@ function H9(r, e) {
25637
25637
  o && (o === "middle" && (s = "center"), r.style.textAlign = s);
25638
25638
  }
25639
25639
  }
25640
- var W9 = /^url\(\s*#(.*?)\)/;
25640
+ var W$ = /^url\(\s*#(.*?)\)/;
25641
25641
  function zC(r, e, t, n) {
25642
- var a = t && t.match(W9);
25642
+ var a = t && t.match(W$);
25643
25643
  if (a) {
25644
25644
  var i = Gr(a[1]);
25645
25645
  n.push([r, e, i]);
@@ -25647,23 +25647,23 @@ function zC(r, e, t, n) {
25647
25647
  }
25648
25648
  return t === "none" && (t = null), t;
25649
25649
  }
25650
- function U9(r, e) {
25650
+ function U$(r, e) {
25651
25651
  for (var t = 0; t < e.length; t++) {
25652
25652
  var n = e[t];
25653
25653
  n[0].style[n[1]] = r[n[2]];
25654
25654
  }
25655
25655
  }
25656
- var Y9 = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
25656
+ var Y$ = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
25657
25657
  function Sd(r) {
25658
- return r.match(Y9) || [];
25658
+ return r.match(Y$) || [];
25659
25659
  }
25660
- var $9 = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, vy = Math.PI / 180;
25661
- function X9(r, e) {
25660
+ var $$ = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, vy = Math.PI / 180;
25661
+ function X$(r, e) {
25662
25662
  var t = r.getAttribute("transform");
25663
25663
  if (t) {
25664
25664
  t = t.replace(/,/g, " ");
25665
25665
  var n = [], a = null;
25666
- t.replace($9, function(c, v, h) {
25666
+ t.replace($$, function(c, v, h) {
25667
25667
  return n.push(v, h), "";
25668
25668
  });
25669
25669
  for (var i = n.length - 1; i > 0; i -= 2) {
@@ -25710,7 +25710,7 @@ function sR(r, e, t) {
25710
25710
  }
25711
25711
  }
25712
25712
  }
25713
- function Z9(r, e, t) {
25713
+ function Z$(r, e, t) {
25714
25714
  for (var n = 0; n < NC.length; n++) {
25715
25715
  var a = NC[n], i = r.getAttribute(a);
25716
25716
  i != null && (e[Jh[a]] = i);
@@ -25728,11 +25728,11 @@ function lR(r, e) {
25728
25728
  y: -(r.y + r.height / 2) * a + (e.y + e.height / 2)
25729
25729
  };
25730
25730
  }
25731
- function q9(r, e) {
25732
- var t = new F9();
25731
+ function q$(r, e) {
25732
+ var t = new F$();
25733
25733
  return t.parse(r, e);
25734
25734
  }
25735
- var K9 = J([
25735
+ var K$ = J([
25736
25736
  "rect",
25737
25737
  "circle",
25738
25738
  "line",
@@ -25749,7 +25749,7 @@ var K9 = J([
25749
25749
  // expected. So we can put them into a <g name="xxx">. Thereby only one label
25750
25750
  // displayed and located based on the bounding rect of the <g>.
25751
25751
  "g"
25752
- ]), j9 = (
25752
+ ]), j$ = (
25753
25753
  /** @class */
25754
25754
  (function() {
25755
25755
  function r(e, t) {
@@ -25759,7 +25759,7 @@ var K9 = J([
25759
25759
  var e = this._firstGraphic;
25760
25760
  if (!e) {
25761
25761
  e = this._firstGraphic = this._buildGraphic(this._parsedXML), this._freedGraphics.push(e), this._boundingRect = this._firstGraphic.boundingRect.clone();
25762
- var t = Q9(e.named), n = t.regions, a = t.regionsMap;
25762
+ var t = Q$(e.named), n = t.regions, a = t.regionsMap;
25763
25763
  this._regions = n, this._regionsMap = a;
25764
25764
  }
25765
25765
  return {
@@ -25770,7 +25770,7 @@ var K9 = J([
25770
25770
  }, r.prototype._buildGraphic = function(e) {
25771
25771
  var t, n;
25772
25772
  try {
25773
- t = e && q9(e, {
25773
+ t = e && q$(e, {
25774
25774
  ignoreViewBox: !0,
25775
25775
  ignoreRootClip: !0
25776
25776
  }) || {}, n = t.root, $(n != null);
@@ -25798,7 +25798,7 @@ var K9 = J([
25798
25798
  }));
25799
25799
  var d = [];
25800
25800
  return A(t.named, function(g) {
25801
- K9.get(g.svgNodeTagLower) != null && (d.push(g), J9(g.el));
25801
+ K$.get(g.svgNodeTagLower) != null && (d.push(g), J$(g.el));
25802
25802
  }), {
25803
25803
  root: a,
25804
25804
  boundingRect: l,
@@ -25813,12 +25813,12 @@ var K9 = J([
25813
25813
  }, r;
25814
25814
  })()
25815
25815
  );
25816
- function J9(r) {
25816
+ function J$(r) {
25817
25817
  r.silent = !1, r.isGroup && r.traverse(function(e) {
25818
25818
  e.silent = !1;
25819
25819
  });
25820
25820
  }
25821
- function Q9(r) {
25821
+ function Q$(r) {
25822
25822
  var e = [], t = J();
25823
25823
  return A(r, function(n) {
25824
25824
  if (n.namedFrom == null) {
@@ -25834,7 +25834,7 @@ var J0 = [126, 25], FC = "南海诸岛", Ki = [[[0, 3.5], [7, 11.2], [15, 11.9],
25834
25834
  for (var $i = 0; $i < Ki.length; $i++)
25835
25835
  for (var xs = 0; xs < Ki[$i].length; xs++)
25836
25836
  Ki[$i][xs][0] /= 10.5, Ki[$i][xs][1] /= -10.5 / 0.75, Ki[$i][xs][0] += J0[0], Ki[$i][xs][1] += J0[1];
25837
- function e$(r, e) {
25837
+ function e9(r, e) {
25838
25838
  if (r === "china") {
25839
25839
  for (var t = 0; t < e.length; t++)
25840
25840
  if (e[t].name === FC)
@@ -25847,7 +25847,7 @@ function e$(r, e) {
25847
25847
  }), J0));
25848
25848
  }
25849
25849
  }
25850
- var t$ = {
25850
+ var t9 = {
25851
25851
  南海诸岛: [32, 80],
25852
25852
  // 全国
25853
25853
  广东: [0, -10],
@@ -25856,36 +25856,36 @@ var t$ = {
25856
25856
  // '北京': [-10, 0],
25857
25857
  天津: [5, 5]
25858
25858
  };
25859
- function r$(r, e) {
25859
+ function r9(r, e) {
25860
25860
  if (r === "china") {
25861
- var t = t$[e.name];
25861
+ var t = t9[e.name];
25862
25862
  if (t) {
25863
25863
  var n = e.getCenter();
25864
25864
  n[0] += t[0] / 10.5, n[1] += -t[1] / (10.5 / 0.75), e.setCenter(n);
25865
25865
  }
25866
25866
  }
25867
25867
  }
25868
- var n$ = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];
25869
- function a$(r, e) {
25868
+ var n9 = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];
25869
+ function a9(r, e) {
25870
25870
  r === "china" && e.name === "台湾" && e.geometries.push({
25871
25871
  type: "polygon",
25872
- exterior: n$[0]
25872
+ exterior: n9[0]
25873
25873
  });
25874
25874
  }
25875
- var i$ = "name", o$ = (
25875
+ var i9 = "name", o9 = (
25876
25876
  /** @class */
25877
25877
  (function() {
25878
25878
  function r(e, t, n) {
25879
- this.type = "geoJSON", this._parsedMap = J(), this._mapName = e, this._specialAreas = n, this._geoJSON = l$(t);
25879
+ this.type = "geoJSON", this._parsedMap = J(), this._mapName = e, this._specialAreas = n, this._geoJSON = l9(t);
25880
25880
  }
25881
25881
  return r.prototype.load = function(e, t) {
25882
- t = t || i$;
25882
+ t = t || i9;
25883
25883
  var n = this._parsedMap.get(t);
25884
25884
  if (!n) {
25885
25885
  var a = this._parseToRegions(t);
25886
25886
  n = this._parsedMap.set(t, {
25887
25887
  regions: a,
25888
- boundingRect: s$(a)
25888
+ boundingRect: s9(a)
25889
25889
  });
25890
25890
  }
25891
25891
  var i = J(), o = [];
@@ -25905,9 +25905,9 @@ var i$ = "name", o$ = (
25905
25905
  throw new Error(`Invalid geoJson format
25906
25906
  ` + i.message);
25907
25907
  }
25908
- return e$(t, a), A(a, function(i) {
25908
+ return e9(t, a), A(a, function(i) {
25909
25909
  var o = i.name;
25910
- r$(t, i), a$(t, i);
25910
+ r9(t, i), a9(t, i);
25911
25911
  var s = this._specialAreas && this._specialAreas[o];
25912
25912
  s && i.transformTo(s.left, s.top, s.width, s.height);
25913
25913
  }, this), a;
@@ -25923,14 +25923,14 @@ var i$ = "name", o$ = (
25923
25923
  }, r;
25924
25924
  })()
25925
25925
  );
25926
- function s$(r) {
25926
+ function s9(r) {
25927
25927
  for (var e, t = 0; t < r.length; t++) {
25928
25928
  var n = r[t].getBoundingRect();
25929
25929
  e = e || n.clone(), e.union(n);
25930
25930
  }
25931
25931
  return e;
25932
25932
  }
25933
- function l$(r) {
25933
+ function l9(r) {
25934
25934
  return q(r) ? typeof JSON < "u" && JSON.parse ? JSON.parse(r) : new Function("return (" + r + ");")() : r;
25935
25935
  }
25936
25936
  var pu = J();
@@ -25967,12 +25967,12 @@ const ba = {
25967
25967
  */
25968
25968
  registerMap: function(r, e, t) {
25969
25969
  if (e.svg) {
25970
- var n = new j9(r, e.svg);
25970
+ var n = new j$(r, e.svg);
25971
25971
  pu.set(r, n);
25972
25972
  } else {
25973
25973
  var a = e.geoJson || e.geoJSON;
25974
25974
  a && !e.features ? t = e.specialAreas : a = e;
25975
- var n = new o$(r, a, t);
25975
+ var n = new o9(r, a, t);
25976
25976
  pu.set(r, n);
25977
25977
  }
25978
25978
  },
@@ -25997,13 +25997,13 @@ const ba = {
25997
25997
  }
25998
25998
  };
25999
25999
  var zo = 0, Go = 1, $n = 2;
26000
- var u$ = "view", bd = (
26000
+ var u9 = "view", bd = (
26001
26001
  /** @class */
26002
26002
  (function(r) {
26003
26003
  V(e, r);
26004
26004
  function e(t, n, a) {
26005
26005
  var i = r.call(this) || this;
26006
- i.type = u$, i.dimensions = ["x", "y"];
26006
+ i.type = u9, i.dimensions = ["x", "y"];
26007
26007
  var o = i;
26008
26008
  o.invertY = t, o.lgCt = n, o.lgGeo = a;
26009
26009
  var s = o.trans = [];
@@ -26037,7 +26037,7 @@ var u$ = "view", bd = (
26037
26037
  function ep(r, e) {
26038
26038
  return xo([], e.mtOverall);
26039
26039
  }
26040
- function f$(r) {
26040
+ function f9(r) {
26041
26041
  return r.zoom;
26042
26042
  }
26043
26043
  function uR(r, e) {
@@ -26052,7 +26052,7 @@ function Mf(r, e, t) {
26052
26052
  function xd(r) {
26053
26053
  return !!(r.dataRect && r.viewRect);
26054
26054
  }
26055
- function c$(r, e, t, n) {
26055
+ function c9(r, e, t, n) {
26056
26056
  n === Go ? fR(r, e.trans[zo], t) : Bn(r, t);
26057
26057
  }
26058
26058
  function HC(r, e, t) {
@@ -26074,21 +26074,21 @@ function tp(r, e, t, n, a) {
26074
26074
  i.viewRect = new ce(e, t, n, a), xd(i) && SS(i);
26075
26075
  }
26076
26076
  function SS(r) {
26077
- v$(r), p$(r), d$(r);
26077
+ v9(r), p9(r), d9(r);
26078
26078
  }
26079
- function v$(r) {
26079
+ function v9(r) {
26080
26080
  var e = r.dataRect, t = r.viewRect, n = r.trans[zo], a = r.invertY;
26081
- a && (e = il(h$, e), e.y = -e.y - e.height), VE(WC, e, t), ed(n, WC), a && (n.scaleY = -n.scaleY);
26081
+ a && (e = il(h9, e), e.y = -e.y - e.height), VE(WC, e, t), ed(n, WC), a && (n.scaleY = -n.scaleY);
26082
26082
  var i = ai(n, r.mtRaw);
26083
26083
  Ur(r.mtRawInv, i);
26084
26084
  }
26085
- var WC = rt(), h$ = Rp();
26086
- function p$(r) {
26087
- var e = cR(r), t = m$(hy, r, r.centerOption) ? ot(hy, hy, r.mtRaw) : e, n = r.zoom, a = r.trans[Go];
26085
+ var WC = rt(), h9 = Rp();
26086
+ function p9(r) {
26087
+ var e = cR(r), t = m9(hy, r, r.centerOption) ? ot(hy, hy, r.mtRaw) : e, n = r.zoom, a = r.trans[Go];
26088
26088
  a.x = e[0] - n * t[0], a.y = e[1] - n * t[1], a.scaleX = a.scaleY = n;
26089
26089
  }
26090
26090
  var hy = [];
26091
- function d$(r) {
26091
+ function d9(r) {
26092
26092
  var e = r.trans, t = e[Go], n = e[zo], a = e[$n];
26093
26093
  fR(a, n, t);
26094
26094
  var i = ai(a, r.mtOverall), o = Ur(r.mtOverallInv, i);
@@ -26117,14 +26117,14 @@ function li(r, e, t, n) {
26117
26117
  var a = t;
26118
26118
  a.syncBackEl = r, a.syncBackType = e, n ? Oe(r, Mf(null, t, e), n) : (Mf(r, t, e), r.dirty());
26119
26119
  }
26120
- function g$(r, e, t, n) {
26120
+ function g9(r, e, t, n) {
26121
26121
  var a = r, i = a.syncBackEl;
26122
- i ? (process.env.NODE_ENV !== "production" && $(a.syncBackType != null), i.stopAnimation(), c$(Oa, a, i, a.syncBackType)) : Bn(Oa, a.trans[$n]), HC(dy, a, Oa), n ? y$(Oa, dy, a, n) : Bn(Oa, dy), HC(Oa, a, Oa), S$(a, e, t, Oa);
26122
+ i ? (process.env.NODE_ENV !== "production" && $(a.syncBackType != null), i.stopAnimation(), c9(Oa, a, i, a.syncBackType)) : Bn(Oa, a.trans[$n]), HC(dy, a, Oa), n ? y9(Oa, dy, a, n) : Bn(Oa, dy), HC(Oa, a, Oa), S9(a, e, t, Oa);
26123
26123
  }
26124
26124
  var Oa = $s(), dy = $s();
26125
26125
  function hR(r, e, t) {
26126
26126
  var n = rp(e);
26127
- n && (g$(n, e, t, r), _S(n, e));
26127
+ n && (g9(n, e, t, r), _S(n, e));
26128
26128
  }
26129
26129
  function rp(r) {
26130
26130
  return r.__ownRoamView ? r.__ownRoamView() : null;
@@ -26134,7 +26134,7 @@ function pR(r, e, t, n) {
26134
26134
  var a = FI(n, e);
26135
26135
  a && a.__updateOnOwnRoam && a.__updateOnOwnRoam(r, e, n);
26136
26136
  }
26137
- function y$(r, e, t, n) {
26137
+ function y9(r, e, t, n) {
26138
26138
  n.dx != null && n.dy != null && (r.x += n.dx, r.y += n.dy);
26139
26139
  var a = n.zoom;
26140
26140
  if (a != null) {
@@ -26145,7 +26145,7 @@ function y$(r, e, t, n) {
26145
26145
  function dR(r) {
26146
26146
  return process.env.NODE_ENV !== "production" && $(nt(r.scaleX - r.scaleY) < 1e-5), r.scaleX;
26147
26147
  }
26148
- function m$(r, e, t) {
26148
+ function m9(r, e, t) {
26149
26149
  process.env.NODE_ENV !== "production" && $(xd(e));
26150
26150
  var n = e.dataRect;
26151
26151
  if (!t)
@@ -26153,7 +26153,7 @@ function m$(r, e, t) {
26153
26153
  var a = e.lgCt;
26154
26154
  return a ? qa(r, j(t[0], a.w), j(t[1], a.h)) : n && qa(r, j(t[0], n.width, n.x), j(t[1], n.height, n.y)), !0;
26155
26155
  }
26156
- function _$(r, e) {
26156
+ function _9(r, e) {
26157
26157
  var t = r.centerOption, n = r.dataRect;
26158
26158
  return process.env.NODE_ENV !== "production" && $(e && n), !t || r.lgCt ? e.slice() : [XC(0, e, t, n), XC(1, e, t, n)];
26159
26159
  }
@@ -26166,10 +26166,10 @@ function gR(r, e) {
26166
26166
  h: e.getHeight()
26167
26167
  } : null;
26168
26168
  }
26169
- function S$(r, e, t, n) {
26169
+ function S9(r, e, t, n) {
26170
26170
  var a = cR(r), i = dR(n), o = nt(i) > 1e-6;
26171
26171
  du[0] = o ? (a[0] - n.x) / i : a[0], du[1] = o ? (a[1] - n.y) / i : a[1], ot(du, du, r.mtRawInv);
26172
- var s = _$(r, du);
26172
+ var s = _9(r, du);
26173
26173
  ZC(e, s, i), A(t, function(l) {
26174
26174
  l !== e && ZC(l, s.slice(), i);
26175
26175
  });
@@ -26271,7 +26271,7 @@ function wS(r, e, t, n, a, i, o) {
26271
26271
  var s = new bd(null, gR(r.ecModel, e));
26272
26272
  return wd(s, t, n, a, i), o ? tp(s, o.x, o.y, o.width, o.height) : tp(s, t, n, a, i), _S(s, r), s;
26273
26273
  }
26274
- var TS = ["rect", "circle", "line", "ellipse", "polygon", "polyline", "path"], b$ = J(TS), x$ = J(TS.concat(["g"])), w$ = J(TS.concat(["g"])), bR = _e();
26274
+ var TS = ["rect", "circle", "line", "ellipse", "polygon", "polyline", "path"], b9 = J(TS), x9 = J(TS.concat(["g"])), w9 = J(TS.concat(["g"])), bR = _e();
26275
26275
  function nv(r) {
26276
26276
  var e = r.getItemStyle(), t = r.get("areaColor");
26277
26277
  return t != null && (e.fill = t), e;
@@ -26384,9 +26384,9 @@ var xR = (
26384
26384
  var l = this._svgDispatcherMap = J(), u = !1;
26385
26385
  A(this._svgGraphicRecord.named, function(f) {
26386
26386
  var c = f.name, v = f.svgNodeTagLower, h = f.el, p = i ? i.indexOfName(c) : null, d = a.getRegionModel(c);
26387
- b$.get(v) != null && h instanceof Yr && KC(t, i, o, h, p, d), h instanceof Yr && (h.culling = !0);
26387
+ b9.get(v) != null && h instanceof Yr && KC(t, i, o, h, p, d), h instanceof Yr && (h.culling = !0);
26388
26388
  var g = d.get("silent", !0);
26389
- if (g != null && (h.silent = g), h.z2EmphasisLift = 0, !f.namedFrom && (w$.get(v) != null && jC(a, i, h, c, d, p, null), JC(a, i, h, c, d, p), QC(a, i, h, c, d), x$.get(v) != null)) {
26389
+ if (g != null && (h.silent = g), h.z2EmphasisLift = 0, !f.namedFrom && (w9.get(v) != null && jC(a, i, h, c, d, p, null), JC(a, i, h, c, d, p), QC(a, i, h, c, d), x9.get(v) != null)) {
26390
26390
  var y = eD(a, h, c, d);
26391
26391
  y === "self" && (u = !0);
26392
26392
  var m = l.get(c) || l.set(c, []);
@@ -26532,7 +26532,7 @@ function tD(r, e, t) {
26532
26532
  function el(r) {
26533
26533
  return r.mainType === "geo";
26534
26534
  }
26535
- var Fo = "map", T$ = (
26535
+ var Fo = "map", T9 = (
26536
26536
  /** @class */
26537
26537
  (function(r) {
26538
26538
  V(e, r);
@@ -26685,7 +26685,7 @@ function CS(r, e) {
26685
26685
  !r.isSeriesFiltered(n) && !e && o.f.push(n), o.r.push(n);
26686
26686
  }), t;
26687
26687
  }
26688
- var C$ = (
26688
+ var C9 = (
26689
26689
  /** @class */
26690
26690
  (function(r) {
26691
26691
  V(e, r);
@@ -26756,7 +26756,7 @@ var C$ = (
26756
26756
  });
26757
26757
  }, e.type = Fo, e;
26758
26758
  })(He)
26759
- ), D$ = {
26759
+ ), D9 = {
26760
26760
  geoJSON: {
26761
26761
  aspectScale: 0.75,
26762
26762
  invertLongitute: !0
@@ -26772,7 +26772,7 @@ var C$ = (
26772
26772
  function e(t, n, a) {
26773
26773
  var i = r.call(this) || this;
26774
26774
  i.dimensions = TR, i.type = "geo", i._nameCoordMap = J(), i.name = t;
26775
- var o = a.projection, s = ba.load(n, a.nameMap, a.nameProperty), l = ba.getGeoResource(n), u = i.resourceType = l ? l.type : null, f = i.regions = s.regions, c = D$[l.type];
26775
+ var o = a.projection, s = ba.load(n, a.nameMap, a.nameProperty), l = ba.getGeoResource(n), u = i.resourceType = l ? l.type : null, f = i.regions = s.regions, c = D9[l.type];
26776
26776
  i._clip = a.clip;
26777
26777
  var v = o ? !1 : c.invertLongitute;
26778
26778
  i.view = new bd(v, gR(a.ecModel, a.api), i), i.map = n, i._regionsMap = s.regionsMap, i.regions = s.regions, process.env.NODE_ENV !== "production" && o && (u === "geoSVG" && (process.env.NODE_ENV !== "production" && Je("Map " + n + " with SVG source can't use projection. Only GeoJSON source supports projection."), o = null), o.project && o.unproject || (process.env.NODE_ENV !== "production" && Je("project and unproject must be both provided in the projeciton."), o = null)), i.projection = o;
@@ -26870,12 +26870,12 @@ function aD(r, e) {
26870
26870
  }
26871
26871
  tp(t, S.x, S.y, S.width, S.height), _S(t, r);
26872
26872
  }
26873
- function A$(r, e) {
26873
+ function A9(r, e) {
26874
26874
  A(e.get("geoCoord"), function(t, n) {
26875
26875
  r.addGeoCoord(n, t);
26876
26876
  });
26877
26877
  }
26878
- var M$ = (
26878
+ var M9 = (
26879
26879
  /** @class */
26880
26880
  (function() {
26881
26881
  function r() {
@@ -26922,7 +26922,7 @@ var M$ = (
26922
26922
  A(i.r, function(v) {
26923
26923
  c = re(c, v.get("scaleLimit"));
26924
26924
  }), n.push(f), f.resize = aD, f.resize(s, t), A(i.r, function(v) {
26925
- v.coordinateSystem = f, A$(f, v);
26925
+ v.coordinateSystem = f, A9(f, v);
26926
26926
  });
26927
26927
  }
26928
26928
  }), n;
@@ -26938,7 +26938,7 @@ var M$ = (
26938
26938
  }), i;
26939
26939
  }, r;
26940
26940
  })()
26941
- ), CR = new M$(), E$ = (
26941
+ ), CR = new M9(), E9 = (
26942
26942
  /** @class */
26943
26943
  (function(r) {
26944
26944
  V(e, r);
@@ -27047,7 +27047,7 @@ var M$ = (
27047
27047
  // }
27048
27048
  }, e;
27049
27049
  })(Ce)
27050
- ), I$ = (
27050
+ ), I9 = (
27051
27051
  /** @class */
27052
27052
  (function(r) {
27053
27053
  V(e, r);
@@ -27091,11 +27091,11 @@ var M$ = (
27091
27091
  }, e.type = "geo", e;
27092
27092
  })(je)
27093
27093
  );
27094
- function L$(r, e, t) {
27094
+ function L9(r, e, t) {
27095
27095
  ba.registerMap(r, e, t);
27096
27096
  }
27097
27097
  function DR(r) {
27098
- r.registerCoordinateSystem("geo", CR), r.registerComponentModel(E$), r.registerComponentView(I$), r.registerImpl("registerMap", L$), r.registerImpl("getMap", function(t) {
27098
+ r.registerCoordinateSystem("geo", CR), r.registerComponentModel(E9), r.registerComponentView(I9), r.registerImpl("registerMap", L9), r.registerImpl("getMap", function(t) {
27099
27099
  return ba.getMapForUser(t);
27100
27100
  });
27101
27101
  function e(t, n) {
@@ -27148,8 +27148,8 @@ function DR(r) {
27148
27148
  }
27149
27149
  });
27150
27150
  }
27151
- var P$ = xt(Fo, N$);
27152
- function N$(r) {
27151
+ var P9 = xt(Fo, N9);
27152
+ function N9(r) {
27153
27153
  A(CS(r), function(e, t) {
27154
27154
  if (!(!Ef(e) || !wR(t))) {
27155
27155
  var n = {};
@@ -27174,7 +27174,7 @@ function N$(r) {
27174
27174
  }
27175
27175
  });
27176
27176
  }
27177
- function R$(r, e) {
27177
+ function R9(r, e) {
27178
27178
  var t = {};
27179
27179
  return A(r, function(n) {
27180
27180
  n.each(n.mapDimension("value"), function(a, i) {
@@ -27188,12 +27188,12 @@ function R$(r, e) {
27188
27188
  return e === "min" ? c = s : e === "max" ? c = l : e === "average" ? c = o / u : c = o, u === 0 ? NaN : c;
27189
27189
  });
27190
27190
  }
27191
- var O$ = xt(Fo, k$);
27192
- function k$(r) {
27191
+ var O9 = xt(Fo, k9);
27192
+ function k9(r) {
27193
27193
  A(CS(r), function(e) {
27194
27194
  var t = Ef(e);
27195
27195
  if (t) {
27196
- var n = R$(
27196
+ var n = R9(
27197
27197
  X(e.f, function(a) {
27198
27198
  return a.getData();
27199
27199
  }),
@@ -27208,10 +27208,10 @@ function k$(r) {
27208
27208
  }
27209
27209
  });
27210
27210
  }
27211
- function V$(r) {
27212
- be(DR), r.registerChartView(C$), r.registerSeriesModel(T$), r.registerLayout(P$), r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC, O$), O2("map", r.registerAction);
27211
+ function V9(r) {
27212
+ be(DR), r.registerChartView(C9), r.registerSeriesModel(T9), r.registerLayout(P9), r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC, O9), O2("map", r.registerAction);
27213
27213
  }
27214
- function B$(r) {
27214
+ function B9(r) {
27215
27215
  var e = r;
27216
27216
  e.hierNode = {
27217
27217
  defaultAncestor: null,
@@ -27239,23 +27239,23 @@ function B$(r) {
27239
27239
  }, t.push(s);
27240
27240
  }
27241
27241
  }
27242
- function z$(r, e) {
27242
+ function z9(r, e) {
27243
27243
  var t = r.isExpand ? r.children : [], n = r.parentNode.children, a = r.hierNode.i ? n[r.hierNode.i - 1] : null;
27244
27244
  if (t.length) {
27245
- F$(r);
27245
+ F9(r);
27246
27246
  var i = (t[0].hierNode.prelim + t[t.length - 1].hierNode.prelim) / 2;
27247
27247
  a ? (r.hierNode.prelim = a.hierNode.prelim + e(r, a), r.hierNode.modifier = r.hierNode.prelim - i) : r.hierNode.prelim = i;
27248
27248
  } else a && (r.hierNode.prelim = a.hierNode.prelim + e(r, a));
27249
- r.parentNode.hierNode.defaultAncestor = H$(r, a, r.parentNode.hierNode.defaultAncestor || n[0], e);
27249
+ r.parentNode.hierNode.defaultAncestor = H9(r, a, r.parentNode.hierNode.defaultAncestor || n[0], e);
27250
27250
  }
27251
- function G$(r) {
27251
+ function G9(r) {
27252
27252
  var e = r.hierNode.prelim + r.parentNode.hierNode.modifier;
27253
27253
  r.setLayout({
27254
27254
  x: e
27255
27255
  }, !0), r.hierNode.modifier += r.parentNode.hierNode.modifier;
27256
27256
  }
27257
27257
  function iD(r) {
27258
- return arguments.length ? r : Y$;
27258
+ return arguments.length ? r : Y9;
27259
27259
  }
27260
27260
  function ku(r, e) {
27261
27261
  return r -= Math.PI / 2, {
@@ -27263,18 +27263,18 @@ function ku(r, e) {
27263
27263
  y: e * Math.sin(r)
27264
27264
  };
27265
27265
  }
27266
- function F$(r) {
27266
+ function F9(r) {
27267
27267
  for (var e = r.children, t = e.length, n = 0, a = 0; --t >= 0; ) {
27268
27268
  var i = e[t];
27269
27269
  i.hierNode.prelim += n, i.hierNode.modifier += n, a += i.hierNode.change, n += i.hierNode.shift + a;
27270
27270
  }
27271
27271
  }
27272
- function H$(r, e, t, n) {
27272
+ function H9(r, e, t, n) {
27273
27273
  if (e) {
27274
27274
  for (var a = r, i = r, o = i.parentNode.children[0], s = e, l = a.hierNode.modifier, u = i.hierNode.modifier, f = o.hierNode.modifier, c = s.hierNode.modifier; s = yy(s), i = my(i), s && i; ) {
27275
27275
  a = yy(a), o = my(o), a.hierNode.ancestor = r;
27276
27276
  var v = s.hierNode.prelim + c - i.hierNode.prelim - u + n(s, i);
27277
- v > 0 && (U$(W$(s, r, t), r, v), u += v, l += v), c += s.hierNode.modifier, u += i.hierNode.modifier, l += a.hierNode.modifier, f += o.hierNode.modifier;
27277
+ v > 0 && (U9(W9(s, r, t), r, v), u += v, l += v), c += s.hierNode.modifier, u += i.hierNode.modifier, l += a.hierNode.modifier, f += o.hierNode.modifier;
27278
27278
  }
27279
27279
  s && !yy(a) && (a.hierNode.thread = s, a.hierNode.modifier += c - l), i && !my(o) && (o.hierNode.thread = i, o.hierNode.modifier += u - f, t = r);
27280
27280
  }
@@ -27288,14 +27288,14 @@ function my(r) {
27288
27288
  var e = r.children;
27289
27289
  return e.length && r.isExpand ? e[0] : r.hierNode.thread;
27290
27290
  }
27291
- function W$(r, e, t) {
27291
+ function W9(r, e, t) {
27292
27292
  return r.hierNode.ancestor.parentNode === e.parentNode ? r.hierNode.ancestor : t;
27293
27293
  }
27294
- function U$(r, e, t) {
27294
+ function U9(r, e, t) {
27295
27295
  var n = t / (e.hierNode.i - r.hierNode.i);
27296
27296
  e.hierNode.change -= n, e.hierNode.shift += t, e.hierNode.modifier += t, e.hierNode.prelim += t, r.hierNode.change += n;
27297
27297
  }
27298
- function Y$(r, e) {
27298
+ function Y9(r, e) {
27299
27299
  return r.parentNode === e.parentNode ? 1 : 2;
27300
27300
  }
27301
27301
  var Wr = _e();
@@ -27307,33 +27307,33 @@ function AR(r) {
27307
27307
  main: "data"
27308
27308
  }), r.datas = r.mainData = null, MR(e, t, r), A(t, function(n) {
27309
27309
  A(e.TRANSFERABLE_METHODS, function(a) {
27310
- n.wrapMethod(a, xe($$, r));
27310
+ n.wrapMethod(a, xe($9, r));
27311
27311
  });
27312
- }), e.wrapMethod("cloneShallow", xe(Z$, r)), A(e.CHANGABLE_METHODS, function(n) {
27313
- e.wrapMethod(n, xe(X$, r));
27312
+ }), e.wrapMethod("cloneShallow", xe(Z9, r)), A(e.CHANGABLE_METHODS, function(n) {
27313
+ e.wrapMethod(n, xe(X9, r));
27314
27314
  }), $(t[e.dataType] === e);
27315
27315
  }
27316
- function $$(r, e) {
27317
- if (j$(this)) {
27316
+ function $9(r, e) {
27317
+ if (j9(this)) {
27318
27318
  var t = U({}, Wr(this).datas);
27319
27319
  t[this.dataType] = e, MR(e, t, r);
27320
27320
  } else
27321
27321
  DS(e, this.dataType, Wr(this).mainData, r);
27322
27322
  return e;
27323
27323
  }
27324
- function X$(r, e) {
27324
+ function X9(r, e) {
27325
27325
  return r.struct && r.struct.update(), e;
27326
27326
  }
27327
- function Z$(r, e) {
27327
+ function Z9(r, e) {
27328
27328
  return A(Wr(e).datas, function(t, n) {
27329
27329
  t !== e && DS(t.cloneShallow(), n, e, r);
27330
27330
  }), e;
27331
27331
  }
27332
- function q$(r) {
27332
+ function q9(r) {
27333
27333
  var e = Wr(this).mainData;
27334
27334
  return r == null || e == null ? e : Wr(e).datas[r];
27335
27335
  }
27336
- function K$() {
27336
+ function K9() {
27337
27337
  var r = Wr(this).mainData;
27338
27338
  return r == null ? [{
27339
27339
  data: r
@@ -27344,7 +27344,7 @@ function K$() {
27344
27344
  };
27345
27345
  });
27346
27346
  }
27347
- function j$(r) {
27347
+ function j9(r) {
27348
27348
  return Wr(r).mainData === r;
27349
27349
  }
27350
27350
  function MR(r, e, t) {
@@ -27353,9 +27353,9 @@ function MR(r, e, t) {
27353
27353
  });
27354
27354
  }
27355
27355
  function DS(r, e, t, n) {
27356
- Wr(t).datas[e] = r, Wr(r).mainData = t, r.dataType = e, n.struct && (r[n.structAttr] = n.struct, n.struct[n.datasAttr[e]] = r), r.getLinkedData = q$, r.getLinkedDataAll = K$;
27356
+ Wr(t).datas[e] = r, Wr(r).mainData = t, r.dataType = e, n.struct && (r[n.structAttr] = n.struct, n.struct[n.datasAttr[e]] = r), r.getLinkedData = q9, r.getLinkedDataAll = K9;
27357
27357
  }
27358
- var J$ = (
27358
+ var J9 = (
27359
27359
  /** @class */
27360
27360
  (function() {
27361
27361
  function r(e, t) {
@@ -27476,8 +27476,8 @@ var J$ = (
27476
27476
  function s(f, c) {
27477
27477
  var v = f.value;
27478
27478
  o = Math.max(o, Y(v) ? v.length : 1), i.push(f);
27479
- var h = new J$(mt(f.name, ""), a);
27480
- c ? Q$(h, c) : a.root = h, a._nodes.push(h);
27479
+ var h = new J9(mt(f.name, ""), a);
27480
+ c ? Q9(h, c) : a.root = h, a._nodes.push(h);
27481
27481
  var p = f.children;
27482
27482
  if (p)
27483
27483
  for (var d = 0; d < p.length; d++)
@@ -27496,7 +27496,7 @@ var J$ = (
27496
27496
  }, r;
27497
27497
  })()
27498
27498
  );
27499
- function Q$(r, e) {
27499
+ function Q9(r, e) {
27500
27500
  var t = e.children;
27501
27501
  r.parentNode !== e && (t.push(r), r.parentNode = e);
27502
27502
  }
@@ -27926,7 +27926,7 @@ function sX(r, e) {
27926
27926
  })) : (i = n.width, o = n.height, s = iD());
27927
27927
  var l = r.getData().tree.root, u = l.children[0];
27928
27928
  if (u) {
27929
- B$(l), iX(u, z$, s), l.hierNode.modifier = -u.hierNode.prelim, gu(u, G$);
27929
+ B9(l), iX(u, z9, s), l.hierNode.modifier = -u.hierNode.prelim, gu(u, G9);
27930
27930
  var f = u, c = u, v = u;
27931
27931
  gu(u, function(S) {
27932
27932
  var b = S.getLayout().x;
@@ -32349,12 +32349,12 @@ var Wo = !0, Of = Math.min, bl = Math.max, hq = Math.pow, pq = 1e4, dq = 6, gq =
32349
32349
  return process.env.NODE_ENV !== "production" && $(this._mounted), this._brushType && this._doDisableBrush(), t.brushType && this._doEnableBrush(t), this;
32350
32350
  }, e.prototype._doEnableBrush = function(t) {
32351
32351
  var n = this._zr;
32352
- this._enableGlobalPan || O9(n, RD, this._uid), A(this._handlers, function(a, i) {
32352
+ this._enableGlobalPan || O$(n, RD, this._uid), A(this._handlers, function(a, i) {
32353
32353
  n.on(i, a);
32354
32354
  }), this._brushType = t.brushType, this._brushOption = Se(le(OD), t, !0);
32355
32355
  }, e.prototype._doDisableBrush = function() {
32356
32356
  var t = this._zr;
32357
- k9(t, RD, this._uid), A(this._handlers, function(n, a) {
32357
+ k$(t, RD, this._uid), A(this._handlers, function(n, a) {
32358
32358
  t.off(a, n);
32359
32359
  }), this._brushType = this._brushOption = null;
32360
32360
  }, e.prototype.setPanels = function(t) {
@@ -36248,7 +36248,7 @@ function Fj(r) {
36248
36248
  y: t.y,
36249
36249
  width: t.width,
36250
36250
  height: t.height,
36251
- zoom: f$(e)
36251
+ zoom: f9(e)
36252
36252
  },
36253
36253
  api: {
36254
36254
  coord: function(n) {
@@ -37794,7 +37794,7 @@ function sc(r) {
37794
37794
  }
37795
37795
  }), r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC, {
37796
37796
  overallReset: function(e, t) {
37797
- e.getComponent("axisPointer").coordSysAxesInfo = i9(e, t);
37797
+ e.getComponent("axisPointer").coordSysAxesInfo = i$(e, t);
37798
37798
  }
37799
37799
  }), r.registerAction({
37800
37800
  type: "updateAxisPointer",
@@ -38709,7 +38709,7 @@ function mQ(r, e) {
38709
38709
  var i = new yQ(n, r, e);
38710
38710
  i.name = "single_" + a, i.resize(n, e), n.coordinateSystem = i, t.push(i);
38711
38711
  }), r.eachSeries(function(n) {
38712
- if (n.get("coordinateSystem") === g9) {
38712
+ if (n.get("coordinateSystem") === g$) {
38713
38713
  var a = n.getReferringComponents(j0, at).models[0], i = n.coordinateSystem = a && a.coordinateSystem;
38714
38714
  i && Ro(i.getAxis(), n, md);
38715
38715
  }
@@ -49256,7 +49256,7 @@ function _ae(r) {
49256
49256
  z6(r), fae(), mae();
49257
49257
  }
49258
49258
  function Sae() {
49259
- t9(bae);
49259
+ t$(bae);
49260
49260
  }
49261
49261
  function bae(r, e) {
49262
49262
  A(r, function(t) {
@@ -49291,7 +49291,7 @@ function xae(r) {
49291
49291
  }
49292
49292
  be([h6]);
49293
49293
  be([o6]);
49294
- be([R6, E7, G7, b9, R9, V$, cX, ZX, bZ, EZ, OZ, UZ, Oq, sK, SK, BK, HK, JK, ij, gj, wj, Oj, mJ]);
49294
+ be([R6, E7, G7, b$, R$, V9, cX, ZX, bZ, EZ, OZ, UZ, Oq, sK, SK, BK, HK, JK, ij, gj, wj, Oj, mJ]);
49295
49295
  be(VJ);
49296
49296
  be(vQ);
49297
49297
  be(DR);
@@ -49324,7 +49324,7 @@ be(Qne);
49324
49324
  be(CY);
49325
49325
  be(_ae);
49326
49326
  be(Sae);
49327
- be(x9);
49327
+ be(x$);
49328
49328
  const wae = /* @__PURE__ */ zf({
49329
49329
  __name: "echartsAutoScroll",
49330
49330
  props: {
@@ -49498,7 +49498,7 @@ const wae = /* @__PURE__ */ zf({
49498
49498
  Mp(H.$slots, "default", {}, void 0, !0)
49499
49499
  ], 544));
49500
49500
  }
49501
- }), Tae = /* @__PURE__ */ z_(wae, [["__scopeId", "data-v-ba89f4ab"]]), Cae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49501
+ }), Tae = /* @__PURE__ */ z_(wae, [["__scopeId", "data-v-cac1fd61"]]), Cae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49502
49502
  __proto__: null,
49503
49503
  default: Tae
49504
49504
  }, Symbol.toStringTag, { value: "Module" })), wE = /* @__PURE__ */ Object.assign({ "./layout/ComponentRatio.vue": hV, "./resource/Image.vue": jz, "./ui/TooltipBox.vue": Qz, "./ui/domAutoScroll.vue": r5, "./ui/echartsAutoScroll.vue": Cae }), mi = {};
package/lib/index.js.gz CHANGED
Binary file
@@ -41,4 +41,5 @@ export interface CacheEntry {
41
41
  data: Blob;
42
42
  url: string;
43
43
  }
44
+ export * from './scroll';
44
45
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAGH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAGD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;KAC/B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;CAC1D,CAAC;AAGF,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAClD;AAGD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC7D,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;CAC5B,GAAG;IACF,KAAK,EAAE,OAAO,CAAC;SACZ,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;KAC5B,CAAC,CAAC;CACJ,CAAC;AAGF,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAGD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,QAAQ,CAAC;CAC3C;AAGD,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAGD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;CACb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAGH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAGD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;KAC/B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;CAC1D,CAAC;AAGF,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAClD;AAGD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC7D,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;CAC5B,GAAG;IACF,KAAK,EAAE,OAAO,CAAC;SACZ,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;KAC5B,CAAC,CAAC;CACJ,CAAC;AAGF,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAGD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,QAAQ,CAAC;CAC3C;AAGD,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAGD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;CACb;AAGD,cAAc,UAAU,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { type Ref } from 'vue';
2
2
  import * as echarts from 'echarts';
3
3
  /** 滚动模式 */
4
- export type scrollMode = 'continuous' | 'step';
4
+ export type ScrollMode = 'continuous' | 'step';
5
5
  /** 滚动配置 */
6
6
  export interface ScrollConfig {
7
7
  /** 滚动模式:'continuous' 连续滚动,'step' 逐条滚动,默认 'step' */
8
- mode?: scrollMode;
8
+ mode?: ScrollMode;
9
9
  /** 连续滚动速度,每帧滚动像素,默认 0.5(仅 mode='continuous' 时生效) */
10
10
  speed?: number;
11
11
  /** 逐条滚动停留时间(毫秒),默认 1000(仅 mode='step' 时生效) */
@@ -1 +1 @@
1
- .fixed-aspect-ratio[data-v-b6cd8c05]{transform-origin:0 0;position:absolute;left:50%;top:0;transition:transform .2s ease-in-out,width .2s ease-in-out,height .2s ease-in-out}.fixed-aspect-ratio.is-full[data-v-b6cd8c05]{left:0;top:0}.auto-scroll-box[data-v-37cb46a5],.auto-scroll-box[data-v-ba89f4ab]{position:relative}
1
+ .fixed-aspect-ratio[data-v-b6cd8c05]{transform-origin:0 0;position:absolute;left:50%;top:0;transition:transform .2s ease-in-out,width .2s ease-in-out,height .2s ease-in-out}.fixed-aspect-ratio.is-full[data-v-b6cd8c05]{left:0;top:0}.auto-scroll-box[data-v-a35b3050],.auto-scroll-box[data-v-cac1fd61]{position:relative}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zxl-common-utils",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "description": "A Vue 3 utility library with common tools, components and helpers",
7
7
  "keywords": [