tvcharts 0.6.10 → 0.6.12

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/dist/echarts.js CHANGED
@@ -16126,6 +16126,7 @@ var BUILTIN_CHARTS_MAP = {
16126
16126
  lines: "LinesChart",
16127
16127
  linesPlot: "LinesPlotChart",
16128
16128
  hlines: "HLinesChart",
16129
+ bgcolor: "BgColorChart",
16129
16130
  heatmap: "HeatmapChart",
16130
16131
  pictorialBar: "PictorialBarChart",
16131
16132
  themeRiver: "ThemeRiverChart",
@@ -54470,7 +54471,9 @@ HLineSeriesModel.defaultOption = {
54470
54471
  universalTransition: {
54471
54472
  divideShape: "clone"
54472
54473
  },
54473
- triggerLineEvent: false
54474
+ triggerLineEvent: false,
54475
+ notFilterData: true,
54476
+ statusLineInvisible: true
54474
54477
  };
54475
54478
  var HLinesSeries_default = HLineSeriesModel;
54476
54479
 
@@ -54558,7 +54561,202 @@ function install25(registers) {
54558
54561
  registers.registerChartView(HLinesView_default);
54559
54562
  registers.registerSeriesModel(HLinesSeries_default);
54560
54563
  registers.registerLayout(hLinesLayout_default);
54561
- console.log("chart install");
54564
+ }
54565
+
54566
+ // src/chart/bgColor/BgColorSeries.ts
54567
+ var BgColorSeriesModel2 = class extends Series_default {
54568
+ constructor() {
54569
+ super(...arguments);
54570
+ this.type = BgColorSeriesModel2.type;
54571
+ }
54572
+ getInitialData(option) {
54573
+ if (true) {
54574
+ const coordSys = option.coordinateSystem;
54575
+ if (coordSys !== "cartesian2d") {
54576
+ throw new Error("BgColor not support coordinateSystem besides cartesian");
54577
+ }
54578
+ }
54579
+ return createSeriesData_default(null, this, {
54580
+ useEncodeDefaulter: true
54581
+ });
54582
+ }
54583
+ };
54584
+ var BgColorSeriesModel = BgColorSeriesModel2;
54585
+ BgColorSeriesModel.type = "series.bgcolor";
54586
+ BgColorSeriesModel.dependencies = ["grid"];
54587
+ BgColorSeriesModel.defaultOption = {
54588
+ z: 1,
54589
+ coordinateSystem: "cartesian2d",
54590
+ legendHoverLink: true,
54591
+ clip: true,
54592
+ animationEasing: "linear",
54593
+ progressive: 0,
54594
+ hoverLayerThreshold: Infinity,
54595
+ universalTransition: {
54596
+ divideShape: "clone"
54597
+ },
54598
+ triggerLineEvent: false,
54599
+ statusLineInvisible: true
54600
+ };
54601
+ var BgColorSeries_default = BgColorSeriesModel;
54602
+
54603
+ // src/chart/bgColor/BgColorPath.ts
54604
+ var BgColorShape = class {
54605
+ constructor() {
54606
+ this.points = [];
54607
+ this.isLine = false;
54608
+ }
54609
+ };
54610
+ var BgColorPath = class extends Path_default {
54611
+ constructor(opts) {
54612
+ super(opts);
54613
+ this.type = "BarPlot";
54614
+ }
54615
+ getDefaultStyle() {
54616
+ return {
54617
+ stroke: "transparent",
54618
+ fill: "#000"
54619
+ };
54620
+ }
54621
+ getDefaultShape() {
54622
+ return new BgColorShape();
54623
+ }
54624
+ buildPath(ctx, shape) {
54625
+ const {points: points4, isLine} = shape;
54626
+ if (isLine) {
54627
+ for (let index = 0; index < points4.length; index++) {
54628
+ const point = points4[index];
54629
+ const {x, y, height} = point;
54630
+ ctx.moveTo(x, y);
54631
+ ctx.lineTo(x, y + height);
54632
+ }
54633
+ } else {
54634
+ for (let index = 0; index < points4.length; index++) {
54635
+ const point = points4[index];
54636
+ const {x, y, width, height} = point;
54637
+ ctx.rect(x, y, width, height);
54638
+ }
54639
+ }
54640
+ }
54641
+ };
54642
+ var BgColorPath_default = BgColorPath;
54643
+
54644
+ // src/chart/bgColor/BgColorView.ts
54645
+ var BgColorView2 = class extends Chart_default {
54646
+ constructor() {
54647
+ super(...arguments);
54648
+ this.type = BgColorView2.type;
54649
+ }
54650
+ render(seriesModel, ecModel, api2) {
54651
+ const data = seriesModel.getData();
54652
+ const rectsByColor = data.getLayout("rectsByColor");
54653
+ if (!this._bgColorGroup) {
54654
+ this._bgColorGroup = new Group_default();
54655
+ this.group.add(this._bgColorGroup);
54656
+ } else {
54657
+ this._bgColorGroup.removeAll();
54658
+ }
54659
+ const bgColorGroup = this._bgColorGroup;
54660
+ const width = Math.ceil(seriesModel.coordinateSystem.getBaseAxis().scale.barSpace);
54661
+ const isLine = width <= 4;
54662
+ each(rectsByColor, function(rects, color2) {
54663
+ const el = new BgColorPath_default({
54664
+ shape: {
54665
+ points: rects,
54666
+ isLine
54667
+ },
54668
+ style: {
54669
+ fill: isLine ? null : color2,
54670
+ stroke: isLine ? color2 : "transparent",
54671
+ lineWidth: isLine ? width : void 0
54672
+ }
54673
+ });
54674
+ bgColorGroup.add(el);
54675
+ });
54676
+ const clipPath = seriesModel.get("clip", true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel);
54677
+ if (clipPath) {
54678
+ this.group.setClipPath(clipPath);
54679
+ } else {
54680
+ this.group.removeClipPath();
54681
+ }
54682
+ }
54683
+ eachRendered(cb) {
54684
+ traverseElements(this._bgColorGroup, cb);
54685
+ }
54686
+ remove(ecModel, api2) {
54687
+ this.group.remove(this._bgColorGroup);
54688
+ }
54689
+ dispose(ecModel, api2) {
54690
+ this.remove(ecModel, api2);
54691
+ }
54692
+ };
54693
+ var BgColorView = BgColorView2;
54694
+ BgColorView.type = "bgcolor";
54695
+ var BgColorView_default = BgColorView;
54696
+
54697
+ // src/chart/bgColor/BgColorLayout.ts
54698
+ function getHeight(seriesModel) {
54699
+ const coordSys = seriesModel.coordinateSystem;
54700
+ const yAxis = coordSys.getAxis("y");
54701
+ const [start2, end2] = yAxis.getExtent();
54702
+ return {
54703
+ height: end2 - start2,
54704
+ startY: yAxis.toGlobalCoord(end2)
54705
+ };
54706
+ }
54707
+ var bgColorLayout = {
54708
+ seriesType: "bgcolor",
54709
+ plan: createRenderPlanner(),
54710
+ reset: function(seriesModel) {
54711
+ const coordSys = seriesModel.coordinateSystem;
54712
+ if (!coordSys) {
54713
+ if (true) {
54714
+ error("The lines series must have a coordinate system.");
54715
+ }
54716
+ return;
54717
+ }
54718
+ const data = seriesModel.getData();
54719
+ const dims = map(coordSys.dimensions, function(dim) {
54720
+ return data.mapDimension(dim);
54721
+ }).slice(0, 2);
54722
+ const store = data.getStore();
54723
+ const dimIdx0 = data.getDimensionIndex(dims[0]);
54724
+ const xOffset = seriesModel.get("offset") || 0;
54725
+ return {
54726
+ progress(params, bgColorData) {
54727
+ const rectsByColor = {};
54728
+ const width = Math.ceil(coordSys.getBaseAxis().scale.barSpace) || 5;
54729
+ const leftOffset = width / 2;
54730
+ const {height, startY} = getHeight(seriesModel);
54731
+ for (let i = params.start; i < params.end; i++) {
54732
+ const itemModel = bgColorData.getItemModel(i);
54733
+ const {color: color2} = itemModel.get("itemStyle");
54734
+ if (!color2) {
54735
+ continue;
54736
+ }
54737
+ const x = store.get(dimIdx0, i);
54738
+ const xPx = coordSys.dataToPoint([x + xOffset, 0])[0];
54739
+ const rects = rectsByColor[color2] || [];
54740
+ rects.push({
54741
+ x: Math.floor(xPx - leftOffset),
54742
+ y: startY,
54743
+ width,
54744
+ height
54745
+ });
54746
+ rectsByColor[color2] = rects;
54747
+ }
54748
+ bgColorData.setLayout("rectsByColor", rectsByColor);
54749
+ }
54750
+ };
54751
+ }
54752
+ };
54753
+ var BgColorLayout_default = bgColorLayout;
54754
+
54755
+ // src/chart/bgColor/install.ts
54756
+ function install26(registers) {
54757
+ registers.registerChartView(BgColorView_default);
54758
+ registers.registerSeriesModel(BgColorSeries_default);
54759
+ registers.registerLayout(BgColorLayout_default);
54562
54760
  }
54563
54761
 
54564
54762
  // src/chart/heatmap/HeatmapLayer.ts
@@ -54953,7 +55151,7 @@ HeatmapSeriesModel.defaultOption = {
54953
55151
  var HeatmapSeries_default = HeatmapSeriesModel;
54954
55152
 
54955
55153
  // src/chart/heatmap/install.ts
54956
- function install26(registers) {
55154
+ function install27(registers) {
54957
55155
  registers.registerChartView(HeatmapView_default);
54958
55156
  registers.registerSeriesModel(HeatmapSeries_default);
54959
55157
  }
@@ -55516,7 +55714,7 @@ PictorialBarSeriesModel.defaultOption = inheritDefaultOption(BaseBarSeries_defau
55516
55714
  var PictorialBarSeries_default = PictorialBarSeriesModel;
55517
55715
 
55518
55716
  // src/chart/bar/installPictorialBar.ts
55519
- function install27(registers) {
55717
+ function install28(registers) {
55520
55718
  registers.registerChartView(PictorialBarView_default);
55521
55719
  registers.registerSeriesModel(PictorialBarSeries_default);
55522
55720
  registers.registerLayout(registers.PRIORITY.VISUAL.LAYOUT, curry(layout2, "pictorialBar"));
@@ -55917,7 +56115,7 @@ function computeBaseline(data) {
55917
56115
  }
55918
56116
 
55919
56117
  // src/chart/themeRiver/install.ts
55920
- function install28(registers) {
56118
+ function install29(registers) {
55921
56119
  registers.registerChartView(ThemeRiverView_default);
55922
56120
  registers.registerSeriesModel(ThemeRiverSeries_default);
55923
56121
  registers.registerLayout(themeRiverLayout);
@@ -56555,7 +56753,7 @@ function sunburstVisual(ecModel) {
56555
56753
  }
56556
56754
 
56557
56755
  // src/chart/sunburst/install.ts
56558
- function install29(registers) {
56756
+ function install30(registers) {
56559
56757
  registers.registerChartView(SunburstView_default);
56560
56758
  registers.registerSeriesModel(SunburstSeries_default);
56561
56759
  registers.registerLayout(curry(sunburstLayout, "sunburst"));
@@ -58003,7 +58201,7 @@ function hasOwnPathData(shape) {
58003
58201
  }
58004
58202
 
58005
58203
  // src/chart/custom/install.ts
58006
- function install30(registers) {
58204
+ function install31(registers) {
58007
58205
  registers.registerChartView(CustomView_default);
58008
58206
  registers.registerSeriesModel(CustomSeries_default);
58009
58207
  }
@@ -58731,7 +58929,7 @@ var AxisPointerModel_default = AxisPointerModel;
58731
58929
 
58732
58930
  // src/component/axisPointer/globalListener.ts
58733
58931
  var inner12 = makeInner();
58734
- var each8 = each;
58932
+ var each9 = each;
58735
58933
  function register(key, api2, handler) {
58736
58934
  if (env_default.node) {
58737
58935
  return;
@@ -58755,7 +58953,7 @@ function initGlobalListeners(zr, api2) {
58755
58953
  function useHandler(eventType, cb) {
58756
58954
  zr.on(eventType, function(e2) {
58757
58955
  const dis = makeDispatchAction(api2);
58758
- each8(inner12(zr).records, function(record) {
58956
+ each9(inner12(zr).records, function(record) {
58759
58957
  record && cb(record, e2, dis.dispatchAction);
58760
58958
  });
58761
58959
  dispatchTooltipFinally(dis.pendings, api2);
@@ -59221,7 +59419,7 @@ function illegalPoint(point) {
59221
59419
  }
59222
59420
 
59223
59421
  // src/component/axisPointer/install.ts
59224
- function install31(registers) {
59422
+ function install32(registers) {
59225
59423
  AxisView_default.registerAxisPointerClass("CartesianAxisPointer", CartesianAxisPointer_default);
59226
59424
  registers.registerComponentModel(AxisPointerModel_default);
59227
59425
  registers.registerComponentView(AxisPointerView_default);
@@ -59250,9 +59448,9 @@ function install31(registers) {
59250
59448
  }
59251
59449
 
59252
59450
  // src/component/grid/install.ts
59253
- function install32(registers) {
59451
+ function install33(registers) {
59254
59452
  use(install6);
59255
- use(install31);
59453
+ use(install32);
59256
59454
  }
59257
59455
 
59258
59456
  // src/component/axisPointer/PolarAxisPointer.ts
@@ -60306,8 +60504,8 @@ var PolarView2 = class extends Component_default2 {
60306
60504
  };
60307
60505
  var PolarView = PolarView2;
60308
60506
  PolarView.type = "polar";
60309
- function install33(registers) {
60310
- use(install31);
60507
+ function install34(registers) {
60508
+ use(install32);
60311
60509
  AxisView_default.registerAxisPointerClass("PolarAxisPointer", PolarAxisPointer_default);
60312
60510
  registers.registerCoordinateSystem("polar", polarCreator_default);
60313
60511
  registers.registerComponentModel(PolarModel_default);
@@ -60770,8 +60968,8 @@ var SingleView2 = class extends Component_default2 {
60770
60968
  };
60771
60969
  var SingleView = SingleView2;
60772
60970
  SingleView.type = "single";
60773
- function install34(registers) {
60774
- use(install31);
60971
+ function install35(registers) {
60972
+ use(install32);
60775
60973
  AxisView_default.registerAxisPointerClass("SingleAxisPointer", SingleAxisPointer_default);
60776
60974
  registers.registerComponentView(SingleView);
60777
60975
  registers.registerComponentView(SingleAxisView_default);
@@ -61461,7 +61659,7 @@ function getCoordSys5(finder) {
61461
61659
  var Calendar_default = Calendar;
61462
61660
 
61463
61661
  // src/component/calendar/install.ts
61464
- function install35(registers) {
61662
+ function install36(registers) {
61465
61663
  registers.registerComponentModel(CalendarModel_default);
61466
61664
  registers.registerComponentView(CalendarView_default);
61467
61665
  registers.registerCoordinateSystem("calendar", Calendar_default);
@@ -61850,7 +62048,7 @@ function setEventData(el, graphicModel, elOption) {
61850
62048
  }
61851
62049
 
61852
62050
  // src/component/graphic/install.ts
61853
- function install36(registers) {
62051
+ function install37(registers) {
61854
62052
  registers.registerComponentModel(GraphicComponentModel);
61855
62053
  registers.registerComponentView(GraphicComponentView);
61856
62054
  registers.registerPreprocessor(function(option) {
@@ -62317,7 +62515,7 @@ SelectDataZoomView.type = "dataZoom.select";
62317
62515
  var SelectZoomView_default = SelectDataZoomView;
62318
62516
 
62319
62517
  // src/component/dataZoom/AxisProxy.ts
62320
- var each9 = each;
62518
+ var each10 = each;
62321
62519
  var asc2 = asc;
62322
62520
  var leftMinVisibleBarCount = 2;
62323
62521
  var rightMinVisibleBarCount = 2;
@@ -62372,7 +62570,7 @@ var AxisProxy = class {
62372
62570
  const percentWindow = [];
62373
62571
  const valueWindow = [];
62374
62572
  let hasPropModeValue;
62375
- each9(["start", "end"], function(prop, idx) {
62573
+ each10(["start", "end"], function(prop, idx) {
62376
62574
  let boundPercent = opt[prop];
62377
62575
  let boundValue = opt[prop + "Value"];
62378
62576
  if (rangePropMode[idx] === "percent") {
@@ -62470,7 +62668,7 @@ var AxisProxy = class {
62470
62668
  if (filterMode === "none") {
62471
62669
  return;
62472
62670
  }
62473
- each9(seriesModels, function(seriesModel) {
62671
+ each10(seriesModels, function(seriesModel) {
62474
62672
  let seriesData = seriesModel.getData();
62475
62673
  const dataDims = seriesData.mapDimensionsAll(axisDim);
62476
62674
  if (!dataDims.length || seriesModel.get("notFilterData")) {
@@ -62500,7 +62698,7 @@ var AxisProxy = class {
62500
62698
  });
62501
62699
  } else {
62502
62700
  const offset = seriesModel.get("offset");
62503
- each9(dataDims, function(dim) {
62701
+ each10(dataDims, function(dim) {
62504
62702
  if (filterMode === "empty") {
62505
62703
  seriesModel.setData(seriesData = seriesData.map(dim, function(value) {
62506
62704
  return !isInWindow(value) ? NaN : value;
@@ -62522,7 +62720,7 @@ var AxisProxy = class {
62522
62720
  }
62523
62721
  });
62524
62722
  }
62525
- each9(dataDims, function(dim) {
62723
+ each10(dataDims, function(dim) {
62526
62724
  seriesData.setApproximateExtent(valueWindow, dim);
62527
62725
  });
62528
62726
  });
@@ -62537,7 +62735,7 @@ var AxisProxy = class {
62537
62735
  const minMaxSpan = this._minMaxSpan = {};
62538
62736
  const dataZoomModel = this._dataZoomModel;
62539
62737
  const dataExtent = this._dataExtent;
62540
- each9(["min", "max"], function(minMax) {
62738
+ each10(["min", "max"], function(minMax) {
62541
62739
  let percentSpan = dataZoomModel.get(minMax + "Span");
62542
62740
  let valueSpan = dataZoomModel.get(minMax + "ValueSpan");
62543
62741
  valueSpan != null && (valueSpan = this.getAxisModel().axis.scale.parse(valueSpan));
@@ -62573,7 +62771,7 @@ function calculateDataExtent(axisProxy, axisDim, seriesModels) {
62573
62771
  const dataExtent = [Infinity, -Infinity];
62574
62772
  const axisModel = axisProxy.getAxisModel();
62575
62773
  const dataFromSeriesName = axisModel.axis.model.get("dataFromSeriesName");
62576
- each9(seriesModels, function(seriesModel) {
62774
+ each10(seriesModels, function(seriesModel) {
62577
62775
  if (dataFromSeriesName && seriesModel.name !== dataFromSeriesName) {
62578
62776
  return;
62579
62777
  }
@@ -62704,7 +62902,7 @@ function installCommon(registers) {
62704
62902
  }
62705
62903
 
62706
62904
  // src/component/dataZoom/installDataZoomSelect.ts
62707
- function install37(registers) {
62905
+ function install38(registers) {
62708
62906
  registers.registerComponentModel(SelectZoomModel_default);
62709
62907
  registers.registerComponentView(SelectZoomView_default);
62710
62908
  installCommon(registers);
@@ -63591,11 +63789,11 @@ registerAction({
63591
63789
  var DataView_default = DataView;
63592
63790
 
63593
63791
  // src/component/dataZoom/history.ts
63594
- var each10 = each;
63792
+ var each11 = each;
63595
63793
  var inner16 = makeInner();
63596
63794
  function push(ecModel, newSnapshot) {
63597
63795
  const storedSnapshots = getStoreSnapshots(ecModel);
63598
- each10(newSnapshot, function(batchItem, dataZoomId) {
63796
+ each11(newSnapshot, function(batchItem, dataZoomId) {
63599
63797
  let i = storedSnapshots.length - 1;
63600
63798
  for (; i >= 0; i--) {
63601
63799
  const snapshot = storedSnapshots[i];
@@ -63622,7 +63820,7 @@ function pop(ecModel) {
63622
63820
  const head = storedSnapshots[storedSnapshots.length - 1];
63623
63821
  storedSnapshots.length > 1 && storedSnapshots.pop();
63624
63822
  const snapshot = {};
63625
- each10(head, function(batchItem, dataZoomId) {
63823
+ each11(head, function(batchItem, dataZoomId) {
63626
63824
  for (let i = storedSnapshots.length - 1; i >= 0; i--) {
63627
63825
  batchItem = storedSnapshots[i][dataZoomId];
63628
63826
  if (batchItem) {
@@ -63935,7 +64133,7 @@ function getSize2(xyMinMax) {
63935
64133
  var BrushTargetManager_default = BrushTargetManager;
63936
64134
 
63937
64135
  // src/component/toolbox/feature/DataZoom.ts
63938
- var each11 = each;
64136
+ var each12 = each;
63939
64137
  var DATA_ZOOM_ID_BASE = makeInternalComponentId("toolbox-dataZoom_");
63940
64138
  var DataZoomFeature = class extends ToolboxFeature {
63941
64139
  render(featureModel, ecModel, api2, payload) {
@@ -64003,7 +64201,7 @@ var DataZoomFeature = class extends ToolboxFeature {
64003
64201
  }
64004
64202
  _dispatchZoomAction(snapshot) {
64005
64203
  const batch = [];
64006
- each11(snapshot, function(batchItem, dataZoomId) {
64204
+ each12(snapshot, function(batchItem, dataZoomId) {
64007
64205
  batch.push(clone(batchItem));
64008
64206
  });
64009
64207
  batch.length && this.api.dispatchAction({
@@ -64086,8 +64284,8 @@ registerInternalOptionCreator("dataZoom", function(ecModel) {
64086
64284
  const dzOptions = [];
64087
64285
  const finder = makeAxisFinder(dzFeatureModel);
64088
64286
  const finderResult = parseFinder(ecModel, finder);
64089
- each11(finderResult.xAxisModels, (axisModel) => buildInternalOptions(axisModel, "xAxis", "xAxisIndex"));
64090
- each11(finderResult.yAxisModels, (axisModel) => buildInternalOptions(axisModel, "yAxis", "yAxisIndex"));
64287
+ each12(finderResult.xAxisModels, (axisModel) => buildInternalOptions(axisModel, "xAxis", "xAxisIndex"));
64288
+ each12(finderResult.yAxisModels, (axisModel) => buildInternalOptions(axisModel, "yAxis", "yAxisIndex"));
64091
64289
  function buildInternalOptions(axisModel, axisMainType, axisIndexPropName) {
64092
64290
  const axisIndex = axisModel.componentIndex;
64093
64291
  const newOpt = {
@@ -64104,7 +64302,7 @@ registerInternalOptionCreator("dataZoom", function(ecModel) {
64104
64302
  var DataZoom_default = DataZoomFeature;
64105
64303
 
64106
64304
  // src/component/toolbox/install.ts
64107
- function install38(registers) {
64305
+ function install39(registers) {
64108
64306
  registers.registerComponentModel(ToolboxModel_default);
64109
64307
  registers.registerComponentView(ToolboxView_default);
64110
64308
  registerFeature("saveAsImage", SaveAsImage_default);
@@ -64112,7 +64310,7 @@ function install38(registers) {
64112
64310
  registerFeature("dataView", DataView_default);
64113
64311
  registerFeature("dataZoom", DataZoom_default);
64114
64312
  registerFeature("restore", Restore_default);
64115
- use(install37);
64313
+ use(install38);
64116
64314
  }
64117
64315
 
64118
64316
  // src/component/tooltip/TooltipModel.ts
@@ -65280,8 +65478,8 @@ function findComponentReference(payload, ecModel, api2) {
65280
65478
  var TooltipView_default = TooltipView;
65281
65479
 
65282
65480
  // src/component/tooltip/install.ts
65283
- function install39(registers) {
65284
- use(install31);
65481
+ function install40(registers) {
65482
+ use(install32);
65285
65483
  registers.registerComponentModel(TooltipModel_default);
65286
65484
  registers.registerComponentView(TooltipView_default);
65287
65485
  registers.registerAction({
@@ -65339,7 +65537,7 @@ function removeDuplicate(arr) {
65339
65537
  }
65340
65538
 
65341
65539
  // src/visual/visualSolution.ts
65342
- var each12 = each;
65540
+ var each13 = each;
65343
65541
  function hasKeys(obj) {
65344
65542
  if (obj) {
65345
65543
  for (const name in obj) {
@@ -65351,9 +65549,9 @@ function hasKeys(obj) {
65351
65549
  }
65352
65550
  function createVisualMappings(option, stateList, supplementVisualOption) {
65353
65551
  const visualMappings = {};
65354
- each12(stateList, function(state) {
65552
+ each13(stateList, function(state) {
65355
65553
  const mappings = visualMappings[state] = createMappings();
65356
- each12(option[state], function(visualData, visualType) {
65554
+ each13(option[state], function(visualData, visualType) {
65357
65555
  if (!VisualMapping_default.isValidType(visualType)) {
65358
65556
  return;
65359
65557
  }
@@ -65897,7 +66095,7 @@ var BrushFeature = class extends ToolboxFeature {
65897
66095
  var Brush_default = BrushFeature;
65898
66096
 
65899
66097
  // src/component/brush/install.ts
65900
- function install40(registers) {
66098
+ function install41(registers) {
65901
66099
  registers.registerComponentView(BrushView_default);
65902
66100
  registers.registerComponentModel(BrushModel_default);
65903
66101
  registers.registerPreprocessor(brushPreprocessor);
@@ -66044,7 +66242,7 @@ var TitleView2 = class extends Component_default2 {
66044
66242
  };
66045
66243
  var TitleView = TitleView2;
66046
66244
  TitleView.type = "title";
66047
- function install41(registers) {
66245
+ function install42(registers) {
66048
66246
  registers.registerComponentModel(TitleModel);
66049
66247
  registers.registerComponentView(TitleView);
66050
66248
  }
@@ -66898,7 +67096,7 @@ function has(obj, attr) {
66898
67096
  }
66899
67097
 
66900
67098
  // src/component/timeline/install.ts
66901
- function install42(registers) {
67099
+ function install43(registers) {
66902
67100
  registers.registerComponentModel(SliderTimelineModel_default);
66903
67101
  registers.registerComponentView(SliderTimelineView_default);
66904
67102
  registers.registerSubTypeDefaulter("timeline", function() {
@@ -67339,7 +67537,7 @@ function createData(coordSys, seriesModel, mpModel) {
67339
67537
  var MarkPointView_default = MarkPointView;
67340
67538
 
67341
67539
  // src/component/marker/installMarkPoint.ts
67342
- function install43(registers) {
67540
+ function install44(registers) {
67343
67541
  registers.registerComponentModel(MarkPointModel_default);
67344
67542
  registers.registerComponentView(MarkPointView_default);
67345
67543
  registers.registerPreprocessor(function(opt) {
@@ -67657,7 +67855,7 @@ function createList2(coordSys, seriesModel, mlModel) {
67657
67855
  var MarkLineView_default = MarkLineView;
67658
67856
 
67659
67857
  // src/component/marker/installMarkLine.ts
67660
- function install44(registers) {
67858
+ function install45(registers) {
67661
67859
  registers.registerComponentModel(MarkLineModel_default);
67662
67860
  registers.registerComponentView(MarkLineView_default);
67663
67861
  registers.registerPreprocessor(function(opt) {
@@ -67971,7 +68169,7 @@ function createList3(coordSys, seriesModel, maModel) {
67971
68169
  var MarkAreaView_default = MarkAreaView;
67972
68170
 
67973
68171
  // src/component/marker/installMarkArea.ts
67974
- function install45(registers) {
68172
+ function install46(registers) {
67975
68173
  registers.registerComponentModel(MarkAreaModel_default);
67976
68174
  registers.registerComponentView(MarkAreaView_default);
67977
68175
  registers.registerPreprocessor(function(opt) {
@@ -68567,7 +68765,7 @@ function updateLabel({x, y, labelData, markerModel, gridRect, position: position
68567
68765
  var MarkLabelView_default = MarkLabelView;
68568
68766
 
68569
68767
  // src/component/marker/installMarkLabel.ts
68570
- function install46(registers) {
68768
+ function install47(registers) {
68571
68769
  registers.registerComponentModel(MarkLabelModal_default);
68572
68770
  registers.registerComponentView(MarkLabelView_default);
68573
68771
  registers.registerPreprocessor(function(opt) {
@@ -68810,7 +69008,7 @@ var LegendModel_default = LegendModel;
68810
69008
 
68811
69009
  // src/component/legend/LegendView.ts
68812
69010
  var curry2 = curry;
68813
- var each13 = each;
69011
+ var each14 = each;
68814
69012
  var Group3 = Group_default;
68815
69013
  var LegendView2 = class extends Component_default2 {
68816
69014
  constructor() {
@@ -68874,7 +69072,7 @@ var LegendView2 = class extends Component_default2 {
68874
69072
  ecModel.eachRawSeries(function(seriesModel) {
68875
69073
  !seriesModel.get("legendHoverLink") && excludeSeriesId.push(seriesModel.id);
68876
69074
  });
68877
- each13(legendModel.getData(), function(legendItemModel, dataIndex) {
69075
+ each14(legendModel.getData(), function(legendItemModel, dataIndex) {
68878
69076
  const name = legendItemModel.get("name");
68879
69077
  if (!this.newlineDisabled && (name === "" || name === "\n")) {
68880
69078
  const g = new Group3();
@@ -68946,7 +69144,7 @@ var LegendView2 = class extends Component_default2 {
68946
69144
  }
68947
69145
  _createSelector(selector2, legendModel, api2, orient, selectorPosition) {
68948
69146
  const selectorGroup = this.getSelectorGroup();
68949
- each13(selector2, function createSelectorButton(selectorItem) {
69147
+ each14(selector2, function createSelectorButton(selectorItem) {
68950
69148
  const type = selectorItem.type;
68951
69149
  const labelText = new Text_default({
68952
69150
  style: {
@@ -69099,7 +69297,7 @@ function getLegendStyle(iconType, legendItemModel, lineVisualStyle, itemVisualSt
69099
69297
  if (style.lineWidth === "auto") {
69100
69298
  style.lineWidth = visualStyle.lineWidth > 0 ? 2 : 0;
69101
69299
  }
69102
- each13(style, (propVal, propName) => {
69300
+ each14(style, (propVal, propName) => {
69103
69301
  style[propName] === "inherit" && (style[propName] = visualStyle[propName]);
69104
69302
  });
69105
69303
  }
@@ -69249,7 +69447,7 @@ function installLegendAction(registers) {
69249
69447
  }
69250
69448
 
69251
69449
  // src/component/legend/installLegendPlain.ts
69252
- function install47(registers) {
69450
+ function install48(registers) {
69253
69451
  registers.registerComponentModel(LegendModel_default);
69254
69452
  registers.registerComponentView(LegendView_default);
69255
69453
  registers.registerProcessor(registers.PRIORITY.PROCESSOR.SERIES_FILTER, legendFilter);
@@ -69579,17 +69777,17 @@ function installScrollableLegendAction(registers) {
69579
69777
  }
69580
69778
 
69581
69779
  // src/component/legend/installLegendScroll.ts
69582
- function install48(registers) {
69583
- use(install47);
69780
+ function install49(registers) {
69781
+ use(install48);
69584
69782
  registers.registerComponentModel(ScrollableLegendModel_default);
69585
69783
  registers.registerComponentView(ScrollableLegendView_default);
69586
69784
  installScrollableLegendAction(registers);
69587
69785
  }
69588
69786
 
69589
69787
  // src/component/legend/install.ts
69590
- function install49(registers) {
69591
- use(install47);
69788
+ function install50(registers) {
69592
69789
  use(install48);
69790
+ use(install49);
69593
69791
  }
69594
69792
 
69595
69793
  // src/component/dataZoom/InsideZoomModel.ts
@@ -70005,7 +70203,7 @@ var getDirectionInfo = {
70005
70203
  var InsideZoomView_default = InsideZoomView;
70006
70204
 
70007
70205
  // src/component/dataZoom/installDataZoomInside.ts
70008
- function install50(registers) {
70206
+ function install51(registers) {
70009
70207
  installCommon(registers);
70010
70208
  registers.registerComponentModel(InsideZoomModel_default);
70011
70209
  registers.registerComponentView(InsideZoomView_default);
@@ -70761,17 +70959,16 @@ function getCursor(orient) {
70761
70959
  var SliderZoomView_default = SliderZoomView;
70762
70960
 
70763
70961
  // src/component/dataZoom/installDataZoomSlider.ts
70764
- function install51(registers) {
70962
+ function install52(registers) {
70765
70963
  registers.registerComponentModel(SliderZoomModel_default);
70766
70964
  registers.registerComponentView(SliderZoomView_default);
70767
70965
  installCommon(registers);
70768
70966
  }
70769
70967
 
70770
70968
  // src/component/dataZoom/install.ts
70771
- function install52(registers) {
70772
- use(install50);
70969
+ function install53(registers) {
70773
70970
  use(install51);
70774
- console.log("component install");
70971
+ use(install52);
70775
70972
  }
70776
70973
 
70777
70974
  // src/visual/visualDefault.ts
@@ -70821,7 +71018,7 @@ var visualDefault_default = visualDefault;
70821
71018
  var mapVisual2 = VisualMapping_default.mapVisual;
70822
71019
  var eachVisual = VisualMapping_default.eachVisual;
70823
71020
  var isArray2 = isArray;
70824
- var each14 = each;
71021
+ var each15 = each;
70825
71022
  var asc3 = asc;
70826
71023
  var linearMap2 = linearMap;
70827
71024
  var VisualMapModel2 = class extends Component_default {
@@ -70971,7 +71168,7 @@ var VisualMapModel2 = class extends Component_default {
70971
71168
  let optAbsent = base3[stateAbsent];
70972
71169
  if (optExist && !optAbsent) {
70973
71170
  optAbsent = base3[stateAbsent] = {};
70974
- each14(optExist, function(visualData, visualType) {
71171
+ each15(optExist, function(visualData, visualType) {
70975
71172
  if (!VisualMapping_default.isValidType(visualType)) {
70976
71173
  return;
70977
71174
  }
@@ -70991,7 +71188,7 @@ var VisualMapModel2 = class extends Component_default {
70991
71188
  const inactiveColor = this.get("inactiveColor");
70992
71189
  const itemSymbol = this.getItemSymbol();
70993
71190
  const defaultSymbol = itemSymbol || "roundRect";
70994
- each14(this.stateList, function(state) {
71191
+ each15(this.stateList, function(state) {
70995
71192
  const itemSize = this.itemSize;
70996
71193
  let visuals = controller2[state];
70997
71194
  if (!visuals) {
@@ -71351,7 +71548,7 @@ function makeHighDownBatch(batch, visualMapModel) {
71351
71548
 
71352
71549
  // src/component/visualMap/ContinuousView.ts
71353
71550
  var linearMap3 = linearMap;
71354
- var each15 = each;
71551
+ var each16 = each;
71355
71552
  var mathMin11 = Math.min;
71356
71553
  var mathMax11 = Math.max;
71357
71554
  var HOVER_LINK_SIZE = 12;
@@ -71679,7 +71876,7 @@ var ContinuousView2 = class extends VisualMapView_default {
71679
71876
  const handleLabels = shapes.handleLabels;
71680
71877
  const itemSize = visualMapModel.itemSize;
71681
71878
  const dataExtent = visualMapModel.getExtent();
71682
- each15([0, 1], function(handleIndex) {
71879
+ each16([0, 1], function(handleIndex) {
71683
71880
  const handleThumb = handleThumbs[handleIndex];
71684
71881
  handleThumb.setStyle("fill", visualInRange.handlesColor[handleIndex]);
71685
71882
  handleThumb.y = handleEnds[handleIndex];
@@ -71985,13 +72182,13 @@ function getColorVisual(seriesModel, visualMapModel, value, valueState) {
71985
72182
  }
71986
72183
 
71987
72184
  // src/component/visualMap/preprocessor.ts
71988
- var each16 = each;
72185
+ var each17 = each;
71989
72186
  function visualMapPreprocessor(option) {
71990
72187
  let visualMap = option && option.visualMap;
71991
72188
  if (!isArray(visualMap)) {
71992
72189
  visualMap = visualMap ? [visualMap] : [];
71993
72190
  }
71994
- each16(visualMap, function(opt) {
72191
+ each17(visualMap, function(opt) {
71995
72192
  if (!opt) {
71996
72193
  return;
71997
72194
  }
@@ -72001,7 +72198,7 @@ function visualMapPreprocessor(option) {
72001
72198
  }
72002
72199
  const pieces = opt.pieces;
72003
72200
  if (pieces && isArray(pieces)) {
72004
- each16(pieces, function(piece) {
72201
+ each17(pieces, function(piece) {
72005
72202
  if (isObject(piece)) {
72006
72203
  if (has2(piece, "start") && !has2(piece, "min")) {
72007
72204
  piece.min = piece.start;
@@ -72036,7 +72233,7 @@ function installCommon2(registers) {
72036
72233
  }
72037
72234
 
72038
72235
  // src/component/visualMap/installVisualMapContinuous.ts
72039
- function install53(registers) {
72236
+ function install54(registers) {
72040
72237
  registers.registerComponentModel(ContinuousModel_default);
72041
72238
  registers.registerComponentView(ContinuousView_default);
72042
72239
  installCommon2(registers);
@@ -72476,16 +72673,16 @@ PiecewiseVisualMapView.type = "visualMap.piecewise";
72476
72673
  var PiecewiseView_default = PiecewiseVisualMapView;
72477
72674
 
72478
72675
  // src/component/visualMap/installVisualMapPiecewise.ts
72479
- function install54(registers) {
72676
+ function install55(registers) {
72480
72677
  registers.registerComponentModel(PiecewiseModel_default);
72481
72678
  registers.registerComponentView(PiecewiseView_default);
72482
72679
  installCommon2(registers);
72483
72680
  }
72484
72681
 
72485
72682
  // src/component/visualMap/install.ts
72486
- function install55(registers) {
72487
- use(install53);
72683
+ function install56(registers) {
72488
72684
  use(install54);
72685
+ use(install55);
72489
72686
  }
72490
72687
 
72491
72688
  // src/visual/aria.ts
@@ -72681,7 +72878,7 @@ function ariaPreprocessor(option) {
72681
72878
  }
72682
72879
 
72683
72880
  // src/component/aria/install.ts
72684
- function install56(registers) {
72881
+ function install57(registers) {
72685
72882
  registers.registerPreprocessor(ariaPreprocessor);
72686
72883
  registers.registerVisual(registers.PRIORITY.VISUAL.ARIA, ariaVisual);
72687
72884
  }
@@ -73019,7 +73216,7 @@ var sortTransform = {
73019
73216
  };
73020
73217
 
73021
73218
  // src/component/transform/install.ts
73022
- function install57(registers) {
73219
+ function install58(registers) {
73023
73220
  registers.registerTransform(filterTransform);
73024
73221
  registers.registerTransform(sortTransform);
73025
73222
  }
@@ -73057,7 +73254,7 @@ var DatasetView = class extends Component_default2 {
73057
73254
  }
73058
73255
  };
73059
73256
  DatasetView.type = "dataset";
73060
- function install58(registers) {
73257
+ function install59(registers) {
73061
73258
  registers.registerComponentModel(DatasetModel);
73062
73259
  registers.registerComponentView(DatasetView);
73063
73260
  }
@@ -74778,35 +74975,36 @@ use([
74778
74975
  install27,
74779
74976
  install28,
74780
74977
  install29,
74781
- install30
74978
+ install30,
74979
+ install31
74782
74980
  ]);
74783
- use(install32);
74784
74981
  use(install33);
74785
- use(install10);
74786
74982
  use(install34);
74787
- use(install17);
74983
+ use(install10);
74788
74984
  use(install35);
74985
+ use(install17);
74789
74986
  use(install36);
74790
- use(install38);
74987
+ use(install37);
74791
74988
  use(install39);
74792
- use(install31);
74793
74989
  use(install40);
74990
+ use(install32);
74794
74991
  use(install41);
74795
74992
  use(install42);
74796
74993
  use(install43);
74797
74994
  use(install44);
74798
74995
  use(install45);
74799
74996
  use(install46);
74800
- use(install49);
74801
- use(install52);
74997
+ use(install47);
74802
74998
  use(install50);
74803
- use(install51);
74804
- use(install55);
74805
74999
  use(install53);
74806
- use(install54);
75000
+ use(install51);
75001
+ use(install52);
74807
75002
  use(install56);
75003
+ use(install54);
75004
+ use(install55);
74808
75005
  use(install57);
74809
75006
  use(install58);
75007
+ use(install59);
74810
75008
  use(installUniversalTransition);
74811
75009
  use(installLabelLayout);
74812
75010