office-viewer 0.3.13 → 0.3.14
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/esm/excel/render/drawing/EChartsRender.js +1 -1
- package/lib/createOfficeViewer.d.ts +1 -1
- package/lib/excel/render/dnd/mousedownColHeader.d.ts +1 -1
- package/lib/excel/render/dnd/mousedownRowHeader.d.ts +1 -1
- package/lib/excel/render/drawing/EChartsRender.js +19 -1
- package/package.json +2 -2
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/esm/node_modules/echarts/index.js +0 -295
- package/esm/node_modules/echarts/lib/action/roamHelper.js +0 -81
- package/esm/node_modules/echarts/lib/animation/basicTransition.js +0 -202
- package/esm/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -103
- package/esm/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -440
- package/esm/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -164
- package/esm/node_modules/echarts/lib/animation/universalTransition.js +0 -608
- package/esm/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -71
- package/esm/node_modules/echarts/lib/chart/bar/BarView.js +0 -852
- package/esm/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -118
- package/esm/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -54
- package/esm/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -593
- package/esm/node_modules/echarts/lib/chart/bar/install.js +0 -41
- package/esm/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -14
- package/esm/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +0 -67
- package/esm/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +0 -131
- package/esm/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +0 -141
- package/esm/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +0 -26
- package/esm/node_modules/echarts/lib/chart/boxplot/install.js +0 -13
- package/esm/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +0 -56
- package/esm/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +0 -79
- package/esm/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +0 -291
- package/esm/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +0 -163
- package/esm/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +0 -43
- package/esm/node_modules/echarts/lib/chart/candlestick/install.js +0 -15
- package/esm/node_modules/echarts/lib/chart/candlestick/preprocessor.js +0 -15
- package/esm/node_modules/echarts/lib/chart/custom/CustomSeries.js +0 -64
- package/esm/node_modules/echarts/lib/chart/custom/CustomView.js +0 -888
- package/esm/node_modules/echarts/lib/chart/custom/install.js +0 -9
- package/esm/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +0 -64
- package/esm/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +0 -58
- package/esm/node_modules/echarts/lib/chart/effectScatter/install.js +0 -11
- package/esm/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +0 -104
- package/esm/node_modules/echarts/lib/chart/funnel/FunnelView.js +0 -161
- package/esm/node_modules/echarts/lib/chart/funnel/funnelLayout.js +0 -304
- package/esm/node_modules/echarts/lib/chart/funnel/install.js +0 -13
- package/esm/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +0 -144
- package/esm/node_modules/echarts/lib/chart/gauge/GaugeView.js +0 -524
- package/esm/node_modules/echarts/lib/chart/gauge/PointerPath.js +0 -42
- package/esm/node_modules/echarts/lib/chart/gauge/install.js +0 -9
- package/esm/node_modules/echarts/lib/chart/graph/GraphSeries.js +0 -234
- package/esm/node_modules/echarts/lib/chart/graph/GraphView.js +0 -226
- package/esm/node_modules/echarts/lib/chart/graph/adjustEdge.js +0 -133
- package/esm/node_modules/echarts/lib/chart/graph/categoryFilter.js +0 -34
- package/esm/node_modules/echarts/lib/chart/graph/categoryVisual.js +0 -50
- package/esm/node_modules/echarts/lib/chart/graph/circularLayout.js +0 -11
- package/esm/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +0 -151
- package/esm/node_modules/echarts/lib/chart/graph/createView.js +0 -62
- package/esm/node_modules/echarts/lib/chart/graph/edgeVisual.js +0 -53
- package/esm/node_modules/echarts/lib/chart/graph/forceHelper.js +0 -136
- package/esm/node_modules/echarts/lib/chart/graph/forceLayout.js +0 -120
- package/esm/node_modules/echarts/lib/chart/graph/graphHelper.js +0 -63
- package/esm/node_modules/echarts/lib/chart/graph/install.js +0 -57
- package/esm/node_modules/echarts/lib/chart/graph/simpleLayout.js +0 -38
- package/esm/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +0 -30
- package/esm/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +0 -124
- package/esm/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +0 -48
- package/esm/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +0 -271
- package/esm/node_modules/echarts/lib/chart/heatmap/install.js +0 -9
- package/esm/node_modules/echarts/lib/chart/helper/EffectLine.js +0 -164
- package/esm/node_modules/echarts/lib/chart/helper/EffectPolyline.js +0 -89
- package/esm/node_modules/echarts/lib/chart/helper/EffectSymbol.js +0 -165
- package/esm/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +0 -259
- package/esm/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +0 -269
- package/esm/node_modules/echarts/lib/chart/helper/Line.js +0 -378
- package/esm/node_modules/echarts/lib/chart/helper/LineDraw.js +0 -122
- package/esm/node_modules/echarts/lib/chart/helper/LinePath.js +0 -70
- package/esm/node_modules/echarts/lib/chart/helper/Polyline.js +0 -65
- package/esm/node_modules/echarts/lib/chart/helper/Symbol.js +0 -293
- package/esm/node_modules/echarts/lib/chart/helper/SymbolDraw.js +0 -172
- package/esm/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +0 -107
- package/esm/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +0 -74
- package/esm/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +0 -22
- package/esm/node_modules/echarts/lib/chart/helper/createSeriesData.js +0 -121
- package/esm/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +0 -28
- package/esm/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +0 -18
- package/esm/node_modules/echarts/lib/chart/helper/labelHelper.js +0 -37
- package/esm/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +0 -185
- package/esm/node_modules/echarts/lib/chart/helper/sectorHelper.js +0 -22
- package/esm/node_modules/echarts/lib/chart/helper/treeHelper.js +0 -52
- package/esm/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +0 -96
- package/esm/node_modules/echarts/lib/chart/line/LineSeries.js +0 -112
- package/esm/node_modules/echarts/lib/chart/line/LineView.js +0 -1069
- package/esm/node_modules/echarts/lib/chart/line/helper.js +0 -83
- package/esm/node_modules/echarts/lib/chart/line/install.js +0 -28
- package/esm/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +0 -125
- package/esm/node_modules/echarts/lib/chart/line/poly.js +0 -310
- package/esm/node_modules/echarts/lib/chart/lines/LinesSeries.js +0 -268
- package/esm/node_modules/echarts/lib/chart/lines/LinesView.js +0 -143
- package/esm/node_modules/echarts/lib/chart/lines/install.js +0 -13
- package/esm/node_modules/echarts/lib/chart/lines/linesLayout.js +0 -71
- package/esm/node_modules/echarts/lib/chart/lines/linesVisual.js +0 -74
- package/esm/node_modules/echarts/lib/chart/map/MapSeries.js +0 -206
- package/esm/node_modules/echarts/lib/chart/map/MapView.js +0 -137
- package/esm/node_modules/echarts/lib/chart/map/install.js +0 -18
- package/esm/node_modules/echarts/lib/chart/map/mapDataStatistic.js +0 -64
- package/esm/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +0 -46
- package/esm/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +0 -86
- package/esm/node_modules/echarts/lib/chart/parallel/ParallelView.js +0 -182
- package/esm/node_modules/echarts/lib/chart/parallel/install.js +0 -14
- package/esm/node_modules/echarts/lib/chart/parallel/parallelVisual.js +0 -69
- package/esm/node_modules/echarts/lib/chart/pie/PieSeries.js +0 -175
- package/esm/node_modules/echarts/lib/chart/pie/PieView.js +0 -244
- package/esm/node_modules/echarts/lib/chart/pie/install.js +0 -18
- package/esm/node_modules/echarts/lib/chart/pie/labelLayout.js +0 -433
- package/esm/node_modules/echarts/lib/chart/pie/pieLayout.js +0 -192
- package/esm/node_modules/echarts/lib/chart/radar/RadarSeries.js +0 -93
- package/esm/node_modules/echarts/lib/chart/radar/RadarView.js +0 -187
- package/esm/node_modules/echarts/lib/chart/radar/backwardCompat.js +0 -33
- package/esm/node_modules/echarts/lib/chart/radar/install.js +0 -18
- package/esm/node_modules/echarts/lib/chart/radar/radarLayout.js +0 -42
- package/esm/node_modules/echarts/lib/chart/sankey/SankeySeries.js +0 -174
- package/esm/node_modules/echarts/lib/chart/sankey/SankeyView.js +0 -287
- package/esm/node_modules/echarts/lib/chart/sankey/install.js +0 -27
- package/esm/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +0 -449
- package/esm/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +0 -52
- package/esm/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +0 -79
- package/esm/node_modules/echarts/lib/chart/scatter/ScatterView.js +0 -92
- package/esm/node_modules/echarts/lib/chart/scatter/install.js +0 -15
- package/esm/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +0 -191
- package/esm/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +0 -165
- package/esm/node_modules/echarts/lib/chart/sunburst/SunburstView.js +0 -165
- package/esm/node_modules/echarts/lib/chart/sunburst/install.js +0 -18
- package/esm/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +0 -68
- package/esm/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +0 -176
- package/esm/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +0 -35
- package/esm/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +0 -219
- package/esm/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +0 -146
- package/esm/node_modules/echarts/lib/chart/themeRiver/install.js +0 -13
- package/esm/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +0 -117
- package/esm/node_modules/echarts/lib/chart/tree/TreeSeries.js +0 -146
- package/esm/node_modules/echarts/lib/chart/tree/TreeView.js +0 -584
- package/esm/node_modules/echarts/lib/chart/tree/install.js +0 -15
- package/esm/node_modules/echarts/lib/chart/tree/layoutHelper.js +0 -234
- package/esm/node_modules/echarts/lib/chart/tree/traversalHelper.js +0 -87
- package/esm/node_modules/echarts/lib/chart/tree/treeAction.js +0 -42
- package/esm/node_modules/echarts/lib/chart/tree/treeLayout.js +0 -99
- package/esm/node_modules/echarts/lib/chart/tree/treeVisual.js +0 -17
- package/esm/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +0 -149
- package/esm/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +0 -326
- package/esm/node_modules/echarts/lib/chart/treemap/TreemapView.js +0 -813
- package/esm/node_modules/echarts/lib/chart/treemap/install.js +0 -15
- package/esm/node_modules/echarts/lib/chart/treemap/treemapAction.js +0 -35
- package/esm/node_modules/echarts/lib/chart/treemap/treemapLayout.js +0 -449
- package/esm/node_modules/echarts/lib/chart/treemap/treemapVisual.js +0 -154
- package/esm/node_modules/echarts/lib/component/aria/install.js +0 -9
- package/esm/node_modules/echarts/lib/component/aria/preprocessor.js +0 -21
- package/esm/node_modules/echarts/lib/component/axis/AngleAxisView.js +0 -287
- package/esm/node_modules/echarts/lib/component/axis/AxisBuilder.js +0 -535
- package/esm/node_modules/echarts/lib/component/axis/AxisView.js +0 -76
- package/esm/node_modules/echarts/lib/component/axis/CartesianAxisView.js +0 -191
- package/esm/node_modules/echarts/lib/component/axis/ParallelAxisView.js +0 -135
- package/esm/node_modules/echarts/lib/component/axis/RadiusAxisView.js +0 -169
- package/esm/node_modules/echarts/lib/component/axis/SingleAxisView.js +0 -107
- package/esm/node_modules/echarts/lib/component/axis/axisSplitHelper.js +0 -85
- package/esm/node_modules/echarts/lib/component/axis/parallelAxisAction.js +0 -71
- package/esm/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +0 -71
- package/esm/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +0 -39
- package/esm/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +0 -355
- package/esm/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +0 -107
- package/esm/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +0 -102
- package/esm/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +0 -104
- package/esm/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +0 -338
- package/esm/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +0 -58
- package/esm/node_modules/echarts/lib/component/axisPointer/globalListener.js +0 -98
- package/esm/node_modules/echarts/lib/component/axisPointer/install.js +0 -44
- package/esm/node_modules/echarts/lib/component/axisPointer/modelHelper.js +0 -255
- package/esm/node_modules/echarts/lib/component/axisPointer/viewHelper.js +0 -155
- package/esm/node_modules/echarts/lib/component/brush/BrushModel.js +0 -95
- package/esm/node_modules/echarts/lib/component/brush/BrushView.js +0 -70
- package/esm/node_modules/echarts/lib/component/brush/install.js +0 -60
- package/esm/node_modules/echarts/lib/component/brush/preprocessor.js +0 -47
- package/esm/node_modules/echarts/lib/component/brush/selector.js +0 -74
- package/esm/node_modules/echarts/lib/component/brush/visualEncoding.js +0 -215
- package/esm/node_modules/echarts/lib/component/calendar/CalendarView.js +0 -352
- package/esm/node_modules/echarts/lib/component/calendar/install.js +0 -11
- package/esm/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +0 -301
- package/esm/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +0 -389
- package/esm/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +0 -20
- package/esm/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +0 -24
- package/esm/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +0 -157
- package/esm/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +0 -15
- package/esm/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +0 -15
- package/esm/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +0 -85
- package/esm/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +0 -782
- package/esm/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +0 -18
- package/esm/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +0 -89
- package/esm/node_modules/echarts/lib/component/dataZoom/helper.js +0 -120
- package/esm/node_modules/echarts/lib/component/dataZoom/history.js +0 -76
- package/esm/node_modules/echarts/lib/component/dataZoom/install.js +0 -12
- package/esm/node_modules/echarts/lib/component/dataZoom/installCommon.js +0 -18
- package/esm/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +0 -13
- package/esm/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +0 -11
- package/esm/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +0 -11
- package/esm/node_modules/echarts/lib/component/dataZoom/roams.js +0 -182
- package/esm/node_modules/echarts/lib/component/dataset/install.js +0 -50
- package/esm/node_modules/echarts/lib/component/geo/GeoView.js +0 -69
- package/esm/node_modules/echarts/lib/component/geo/install.js +0 -101
- package/esm/node_modules/echarts/lib/component/graphic/GraphicModel.js +0 -203
- package/esm/node_modules/echarts/lib/component/graphic/GraphicView.js +0 -353
- package/esm/node_modules/echarts/lib/component/graphic/install.js +0 -34
- package/esm/node_modules/echarts/lib/component/grid/install.js +0 -10
- package/esm/node_modules/echarts/lib/component/grid/installSimple.js +0 -57
- package/esm/node_modules/echarts/lib/component/helper/BrushController.js +0 -713
- package/esm/node_modules/echarts/lib/component/helper/BrushTargetManager.js +0 -302
- package/esm/node_modules/echarts/lib/component/helper/MapDraw.js +0 -635
- package/esm/node_modules/echarts/lib/component/helper/RoamController.js +0 -203
- package/esm/node_modules/echarts/lib/component/helper/brushHelper.js +0 -31
- package/esm/node_modules/echarts/lib/component/helper/cursorHelper.js +0 -59
- package/esm/node_modules/echarts/lib/component/helper/interactionMutex.js +0 -36
- package/esm/node_modules/echarts/lib/component/helper/listComponent.js +0 -47
- package/esm/node_modules/echarts/lib/component/helper/roamHelper.js +0 -75
- package/esm/node_modules/echarts/lib/component/helper/sliderMove.js +0 -115
- package/esm/node_modules/echarts/lib/component/legend/LegendModel.js +0 -276
- package/esm/node_modules/echarts/lib/component/legend/LegendView.js +0 -486
- package/esm/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +0 -63
- package/esm/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +0 -361
- package/esm/node_modules/echarts/lib/component/legend/install.js +0 -10
- package/esm/node_modules/echarts/lib/component/legend/installLegendPlain.js +0 -16
- package/esm/node_modules/echarts/lib/component/legend/installLegendScroll.js +0 -14
- package/esm/node_modules/echarts/lib/component/legend/legendAction.js +0 -72
- package/esm/node_modules/echarts/lib/component/legend/legendFilter.js +0 -61
- package/esm/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +0 -62
- package/esm/node_modules/echarts/lib/component/marker/MarkAreaModel.js +0 -44
- package/esm/node_modules/echarts/lib/component/marker/MarkAreaView.js +0 -323
- package/esm/node_modules/echarts/lib/component/marker/MarkLineModel.js +0 -47
- package/esm/node_modules/echarts/lib/component/marker/MarkLineView.js +0 -322
- package/esm/node_modules/echarts/lib/component/marker/MarkPointModel.js +0 -41
- package/esm/node_modules/echarts/lib/component/marker/MarkPointView.js +0 -150
- package/esm/node_modules/echarts/lib/component/marker/MarkerModel.js +0 -125
- package/esm/node_modules/echarts/lib/component/marker/MarkerView.js +0 -54
- package/esm/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +0 -16
- package/esm/node_modules/echarts/lib/component/marker/installMarkArea.js +0 -16
- package/esm/node_modules/echarts/lib/component/marker/installMarkLine.js +0 -16
- package/esm/node_modules/echarts/lib/component/marker/installMarkPoint.js +0 -16
- package/esm/node_modules/echarts/lib/component/marker/markerHelper.js +0 -148
- package/esm/node_modules/echarts/lib/component/parallel/ParallelView.js +0 -96
- package/esm/node_modules/echarts/lib/component/parallel/install.js +0 -33
- package/esm/node_modules/echarts/lib/component/polar/install.js +0 -51
- package/esm/node_modules/echarts/lib/component/radar/RadarView.js +0 -166
- package/esm/node_modules/echarts/lib/component/radar/install.js +0 -23
- package/esm/node_modules/echarts/lib/component/singleAxis/install.js +0 -33
- package/esm/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +0 -118
- package/esm/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +0 -615
- package/esm/node_modules/echarts/lib/component/timeline/TimelineAxis.js +0 -30
- package/esm/node_modules/echarts/lib/component/timeline/TimelineModel.js +0 -147
- package/esm/node_modules/echarts/lib/component/timeline/TimelineView.js +0 -15
- package/esm/node_modules/echarts/lib/component/timeline/install.js +0 -17
- package/esm/node_modules/echarts/lib/component/timeline/preprocessor.js +0 -72
- package/esm/node_modules/echarts/lib/component/timeline/timelineAction.js +0 -42
- package/esm/node_modules/echarts/lib/component/title/install.js +0 -187
- package/esm/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +0 -67
- package/esm/node_modules/echarts/lib/component/toolbox/ToolboxView.js +0 -257
- package/esm/node_modules/echarts/lib/component/toolbox/feature/Brush.js +0 -91
- package/esm/node_modules/echarts/lib/component/toolbox/feature/DataView.js +0 -406
- package/esm/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +0 -207
- package/esm/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +0 -166
- package/esm/node_modules/echarts/lib/component/toolbox/feature/Restore.js +0 -38
- package/esm/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +0 -105
- package/esm/node_modules/echarts/lib/component/toolbox/featureManager.js +0 -37
- package/esm/node_modules/echarts/lib/component/toolbox/install.js +0 -23
- package/esm/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +0 -357
- package/esm/node_modules/echarts/lib/component/tooltip/TooltipModel.js +0 -84
- package/esm/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +0 -168
- package/esm/node_modules/echarts/lib/component/tooltip/TooltipView.js +0 -803
- package/esm/node_modules/echarts/lib/component/tooltip/helper.js +0 -38
- package/esm/node_modules/echarts/lib/component/tooltip/install.js +0 -31
- package/esm/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +0 -102
- package/esm/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +0 -284
- package/esm/node_modules/echarts/lib/component/transform/filterTransform.js +0 -56
- package/esm/node_modules/echarts/lib/component/transform/install.js +0 -9
- package/esm/node_modules/echarts/lib/component/transform/sortTransform.js +0 -115
- package/esm/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +0 -215
- package/esm/node_modules/echarts/lib/component/visualMap/ContinuousView.js +0 -651
- package/esm/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +0 -397
- package/esm/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +0 -174
- package/esm/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +0 -372
- package/esm/node_modules/echarts/lib/component/visualMap/VisualMapView.js +0 -114
- package/esm/node_modules/echarts/lib/component/visualMap/helper.js +0 -50
- package/esm/node_modules/echarts/lib/component/visualMap/install.js +0 -12
- package/esm/node_modules/echarts/lib/component/visualMap/installCommon.js +0 -23
- package/esm/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +0 -11
- package/esm/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +0 -11
- package/esm/node_modules/echarts/lib/component/visualMap/preprocessor.js +0 -37
- package/esm/node_modules/echarts/lib/component/visualMap/visualEncoding.js +0 -68
- package/esm/node_modules/echarts/lib/component/visualMap/visualMapAction.js +0 -58
- package/esm/node_modules/echarts/lib/coord/Axis.js +0 -239
- package/esm/node_modules/echarts/lib/coord/CoordinateSystem.js +0 -47
- package/esm/node_modules/echarts/lib/coord/View.js +0 -205
- package/esm/node_modules/echarts/lib/coord/axisAlignTicks.js +0 -97
- package/esm/node_modules/echarts/lib/coord/axisCommonTypes.js +0 -50
- package/esm/node_modules/echarts/lib/coord/axisDefault.js +0 -162
- package/esm/node_modules/echarts/lib/coord/axisHelper.js +0 -308
- package/esm/node_modules/echarts/lib/coord/axisModelCommonMixin.js +0 -60
- package/esm/node_modules/echarts/lib/coord/axisModelCreator.js +0 -70
- package/esm/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +0 -283
- package/esm/node_modules/echarts/lib/coord/calendar/Calendar.js +0 -333
- package/esm/node_modules/echarts/lib/coord/calendar/CalendarModel.js +0 -118
- package/esm/node_modules/echarts/lib/coord/calendar/prepareCustom.js +0 -70
- package/esm/node_modules/echarts/lib/coord/cartesian/Axis2D.js +0 -53
- package/esm/node_modules/echarts/lib/coord/cartesian/AxisModel.js +0 -20
- package/esm/node_modules/echarts/lib/coord/cartesian/Cartesian.js +0 -32
- package/esm/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +0 -127
- package/esm/node_modules/echarts/lib/coord/cartesian/Grid.js +0 -446
- package/esm/node_modules/echarts/lib/coord/cartesian/GridModel.js +0 -31
- package/esm/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +0 -79
- package/esm/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +0 -34
- package/esm/node_modules/echarts/lib/coord/geo/Geo.js +0 -167
- package/esm/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +0 -102
- package/esm/node_modules/echarts/lib/coord/geo/GeoModel.js +0 -170
- package/esm/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +0 -292
- package/esm/node_modules/echarts/lib/coord/geo/Region.js +0 -241
- package/esm/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +0 -57
- package/esm/node_modules/echarts/lib/coord/geo/fix/nanhai.js +0 -32
- package/esm/node_modules/echarts/lib/coord/geo/fix/textCoord.js +0 -64
- package/esm/node_modules/echarts/lib/coord/geo/geoCreator.js +0 -195
- package/esm/node_modules/echarts/lib/coord/geo/geoSourceManager.js +0 -81
- package/esm/node_modules/echarts/lib/coord/geo/parseGeoJson.js +0 -103
- package/esm/node_modules/echarts/lib/coord/geo/prepareCustom.js +0 -39
- package/esm/node_modules/echarts/lib/coord/parallel/AxisModel.js +0 -73
- package/esm/node_modules/echarts/lib/coord/parallel/Parallel.js +0 -365
- package/esm/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +0 -18
- package/esm/node_modules/echarts/lib/coord/parallel/ParallelModel.js +0 -81
- package/esm/node_modules/echarts/lib/coord/parallel/parallelCreator.js +0 -27
- package/esm/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +0 -44
- package/esm/node_modules/echarts/lib/coord/polar/AngleAxis.js +0 -70
- package/esm/node_modules/echarts/lib/coord/polar/AxisModel.js +0 -40
- package/esm/node_modules/echarts/lib/coord/polar/Polar.js +0 -175
- package/esm/node_modules/echarts/lib/coord/polar/PolarModel.js +0 -32
- package/esm/node_modules/echarts/lib/coord/polar/RadiusAxis.js +0 -17
- package/esm/node_modules/echarts/lib/coord/polar/polarCreator.js +0 -116
- package/esm/node_modules/echarts/lib/coord/polar/prepareCustom.js +0 -46
- package/esm/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +0 -16
- package/esm/node_modules/echarts/lib/coord/radar/Radar.js +0 -152
- package/esm/node_modules/echarts/lib/coord/radar/RadarModel.js +0 -118
- package/esm/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +0 -199
- package/esm/node_modules/echarts/lib/coord/single/AxisModel.js +0 -62
- package/esm/node_modules/echarts/lib/coord/single/Single.js +0 -166
- package/esm/node_modules/echarts/lib/coord/single/SingleAxis.js +0 -25
- package/esm/node_modules/echarts/lib/coord/single/prepareCustom.js +0 -30
- package/esm/node_modules/echarts/lib/coord/single/singleAxisHelper.js +0 -48
- package/esm/node_modules/echarts/lib/coord/single/singleCreator.js +0 -29
- package/esm/node_modules/echarts/lib/core/CoordinateSystem.js +0 -33
- package/esm/node_modules/echarts/lib/core/ExtensionAPI.js +0 -18
- package/esm/node_modules/echarts/lib/core/Scheduler.js +0 -447
- package/esm/node_modules/echarts/lib/core/echarts.js +0 -2225
- package/esm/node_modules/echarts/lib/core/impl.js +0 -25
- package/esm/node_modules/echarts/lib/core/lifecycle.js +0 -5
- package/esm/node_modules/echarts/lib/core/locale.js +0 -47
- package/esm/node_modules/echarts/lib/core/task.js +0 -303
- package/esm/node_modules/echarts/lib/data/DataDiffer.js +0 -253
- package/esm/node_modules/echarts/lib/data/DataStore.js +0 -959
- package/esm/node_modules/echarts/lib/data/Graph.js +0 -402
- package/esm/node_modules/echarts/lib/data/OrdinalMeta.js +0 -82
- package/esm/node_modules/echarts/lib/data/SeriesData.js +0 -939
- package/esm/node_modules/echarts/lib/data/SeriesDimensionDefine.js +0 -49
- package/esm/node_modules/echarts/lib/data/Source.js +0 -258
- package/esm/node_modules/echarts/lib/data/Tree.js +0 -307
- package/esm/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +0 -183
- package/esm/node_modules/echarts/lib/data/helper/createDimensions.js +0 -282
- package/esm/node_modules/echarts/lib/data/helper/dataProvider.js +0 -313
- package/esm/node_modules/echarts/lib/data/helper/dataStackHelper.js +0 -139
- package/esm/node_modules/echarts/lib/data/helper/dataValueHelper.js +0 -196
- package/esm/node_modules/echarts/lib/data/helper/dimensionHelper.js +0 -131
- package/esm/node_modules/echarts/lib/data/helper/linkSeriesData.js +0 -106
- package/esm/node_modules/echarts/lib/data/helper/sourceHelper.js +0 -314
- package/esm/node_modules/echarts/lib/data/helper/sourceManager.js +0 -376
- package/esm/node_modules/echarts/lib/data/helper/transform.js +0 -376
- package/esm/node_modules/echarts/lib/export/api/format.js +0 -4
- package/esm/node_modules/echarts/lib/export/api/graphic.js +0 -20
- package/esm/node_modules/echarts/lib/export/api/helper.js +0 -68
- package/esm/node_modules/echarts/lib/export/api/number.js +0 -1
- package/esm/node_modules/echarts/lib/export/api/time.js +0 -2
- package/esm/node_modules/echarts/lib/export/api/util.js +0 -1
- package/esm/node_modules/echarts/lib/export/api.js +0 -62
- package/esm/node_modules/echarts/lib/export/core.js +0 -34
- package/esm/node_modules/echarts/lib/extension.js +0 -70
- package/esm/node_modules/echarts/lib/i18n/langEN.js +0 -158
- package/esm/node_modules/echarts/lib/i18n/langZH.js +0 -155
- package/esm/node_modules/echarts/lib/label/LabelManager.js +0 -395
- package/esm/node_modules/echarts/lib/label/installLabelLayout.js +0 -25
- package/esm/node_modules/echarts/lib/label/labelGuideHelper.js +0 -504
- package/esm/node_modules/echarts/lib/label/labelLayoutHelper.js +0 -261
- package/esm/node_modules/echarts/lib/label/labelStyle.js +0 -444
- package/esm/node_modules/echarts/lib/label/sectorLabel.js +0 -161
- package/esm/node_modules/echarts/lib/layout/barGrid.js +0 -436
- package/esm/node_modules/echarts/lib/layout/barPolar.js +0 -213
- package/esm/node_modules/echarts/lib/layout/points.js +0 -64
- package/esm/node_modules/echarts/lib/legacy/dataSelectAction.js +0 -76
- package/esm/node_modules/echarts/lib/legacy/getTextRect.js +0 -20
- package/esm/node_modules/echarts/lib/loading/default.js +0 -124
- package/esm/node_modules/echarts/lib/model/Component.js +0 -193
- package/esm/node_modules/echarts/lib/model/Global.js +0 -693
- package/esm/node_modules/echarts/lib/model/Model.js +0 -134
- package/esm/node_modules/echarts/lib/model/OptionManager.js +0 -319
- package/esm/node_modules/echarts/lib/model/Series.js +0 -502
- package/esm/node_modules/echarts/lib/model/globalDefault.js +0 -132
- package/esm/node_modules/echarts/lib/model/internalComponentCreator.js +0 -26
- package/esm/node_modules/echarts/lib/model/mixin/areaStyle.js +0 -17
- package/esm/node_modules/echarts/lib/model/mixin/dataFormat.js +0 -160
- package/esm/node_modules/echarts/lib/model/mixin/itemStyle.js +0 -17
- package/esm/node_modules/echarts/lib/model/mixin/lineStyle.js +0 -17
- package/esm/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +0 -28
- package/esm/node_modules/echarts/lib/model/mixin/palette.js +0 -64
- package/esm/node_modules/echarts/lib/model/mixin/textStyle.js +0 -45
- package/esm/node_modules/echarts/lib/model/referHelper.js +0 -128
- package/esm/node_modules/echarts/lib/preprocessor/backwardCompat.js +0 -215
- package/esm/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +0 -291
- package/esm/node_modules/echarts/lib/processor/dataFilter.js +0 -69
- package/esm/node_modules/echarts/lib/processor/dataSample.js +0 -101
- package/esm/node_modules/echarts/lib/processor/dataStack.js +0 -93
- package/esm/node_modules/echarts/lib/processor/negativeDataFilter.js +0 -21
- package/esm/node_modules/echarts/lib/renderer/installCanvasRenderer.js +0 -7
- package/esm/node_modules/echarts/lib/renderer/installSVGRenderer.js +0 -7
- package/esm/node_modules/echarts/lib/scale/Interval.js +0 -226
- package/esm/node_modules/echarts/lib/scale/Log.js +0 -136
- package/esm/node_modules/echarts/lib/scale/Ordinal.js +0 -167
- package/esm/node_modules/echarts/lib/scale/Scale.js +0 -71
- package/esm/node_modules/echarts/lib/scale/Time.js +0 -451
- package/esm/node_modules/echarts/lib/scale/helper.js +0 -82
- package/esm/node_modules/echarts/lib/theme/dark.js +0 -223
- package/esm/node_modules/echarts/lib/theme/light.js +0 -49
- package/esm/node_modules/echarts/lib/util/ECEventProcessor.js +0 -102
- package/esm/node_modules/echarts/lib/util/animation.js +0 -121
- package/esm/node_modules/echarts/lib/util/clazz.js +0 -265
- package/esm/node_modules/echarts/lib/util/component.js +0 -146
- package/esm/node_modules/echarts/lib/util/conditionalExpression.js +0 -215
- package/esm/node_modules/echarts/lib/util/decal.js +0 -352
- package/esm/node_modules/echarts/lib/util/event.js +0 -57
- package/esm/node_modules/echarts/lib/util/format.js +0 -200
- package/esm/node_modules/echarts/lib/util/graphic.js +0 -489
- package/esm/node_modules/echarts/lib/util/innerStore.js +0 -26
- package/esm/node_modules/echarts/lib/util/layout.js +0 -408
- package/esm/node_modules/echarts/lib/util/log.js +0 -94
- package/esm/node_modules/echarts/lib/util/model.js +0 -654
- package/esm/node_modules/echarts/lib/util/number.js +0 -515
- package/esm/node_modules/echarts/lib/util/shape/sausage.js +0 -67
- package/esm/node_modules/echarts/lib/util/states.js +0 -650
- package/esm/node_modules/echarts/lib/util/styleCompat.js +0 -186
- package/esm/node_modules/echarts/lib/util/symbol.js +0 -297
- package/esm/node_modules/echarts/lib/util/throttle.js +0 -172
- package/esm/node_modules/echarts/lib/util/time.js +0 -231
- package/esm/node_modules/echarts/lib/util/types.js +0 -13
- package/esm/node_modules/echarts/lib/util/vendor.js +0 -15
- package/esm/node_modules/echarts/lib/view/Chart.js +0 -160
- package/esm/node_modules/echarts/lib/view/Component.js +0 -47
- package/esm/node_modules/echarts/lib/visual/LegendVisualProvider.js +0 -81
- package/esm/node_modules/echarts/lib/visual/VisualMapping.js +0 -438
- package/esm/node_modules/echarts/lib/visual/aria.js +0 -189
- package/esm/node_modules/echarts/lib/visual/decal.js +0 -26
- package/esm/node_modules/echarts/lib/visual/helper.js +0 -101
- package/esm/node_modules/echarts/lib/visual/style.js +0 -175
- package/esm/node_modules/echarts/lib/visual/symbol.js +0 -83
- package/esm/node_modules/echarts/lib/visual/visualDefault.js +0 -47
- package/esm/node_modules/echarts/lib/visual/visualSolution.js +0 -159
- package/esm/node_modules/zrender/lib/Element.js +0 -1053
- package/esm/node_modules/zrender/lib/Handler.js +0 -298
- package/esm/node_modules/zrender/lib/Storage.js +0 -161
- package/esm/node_modules/zrender/lib/animation/Animation.js +0 -150
- package/esm/node_modules/zrender/lib/animation/Animator.js +0 -739
- package/esm/node_modules/zrender/lib/animation/Clip.js +0 -67
- package/esm/node_modules/zrender/lib/animation/cubicEasing.js +0 -26
- package/esm/node_modules/zrender/lib/animation/easing.js +0 -197
- package/esm/node_modules/zrender/lib/animation/requestAnimationFrame.js +0 -13
- package/esm/node_modules/zrender/lib/canvas/Layer.js +0 -298
- package/esm/node_modules/zrender/lib/canvas/Painter.js +0 -643
- package/esm/node_modules/zrender/lib/canvas/dashStyle.js +0 -30
- package/esm/node_modules/zrender/lib/canvas/graphic.js +0 -561
- package/esm/node_modules/zrender/lib/canvas/helper.js +0 -81
- package/esm/node_modules/zrender/lib/config.js +0 -15
- package/esm/node_modules/zrender/lib/contain/arc.js +0 -38
- package/esm/node_modules/zrender/lib/contain/cubic.js +0 -18
- package/esm/node_modules/zrender/lib/contain/line.js +0 -26
- package/esm/node_modules/zrender/lib/contain/path.js +0 -310
- package/esm/node_modules/zrender/lib/contain/polygon.js +0 -25
- package/esm/node_modules/zrender/lib/contain/quadratic.js +0 -18
- package/esm/node_modules/zrender/lib/contain/text.js +0 -170
- package/esm/node_modules/zrender/lib/contain/util.js +0 -10
- package/esm/node_modules/zrender/lib/contain/windingLine.js +0 -17
- package/esm/node_modules/zrender/lib/core/BoundingRect.js +0 -218
- package/esm/node_modules/zrender/lib/core/Eventful.js +0 -164
- package/esm/node_modules/zrender/lib/core/GestureMgr.js +0 -84
- package/esm/node_modules/zrender/lib/core/LRU.js +0 -110
- package/esm/node_modules/zrender/lib/core/OrientedBoundingRect.js +0 -123
- package/esm/node_modules/zrender/lib/core/PathProxy.js +0 -700
- package/esm/node_modules/zrender/lib/core/Point.js +0 -131
- package/esm/node_modules/zrender/lib/core/Transformable.js +0 -246
- package/esm/node_modules/zrender/lib/core/WeakMap.js +0 -44
- package/esm/node_modules/zrender/lib/core/bbox.js +0 -127
- package/esm/node_modules/zrender/lib/core/curve.js +0 -348
- package/esm/node_modules/zrender/lib/core/dom.js +0 -97
- package/esm/node_modules/zrender/lib/core/env.js +0 -82
- package/esm/node_modules/zrender/lib/core/event.js +0 -108
- package/esm/node_modules/zrender/lib/core/fourPointsTransform.js +0 -61
- package/esm/node_modules/zrender/lib/core/matrix.js +0 -101
- package/esm/node_modules/zrender/lib/core/platform.js +0 -74
- package/esm/node_modules/zrender/lib/core/timsort.js +0 -524
- package/esm/node_modules/zrender/lib/core/util.js +0 -543
- package/esm/node_modules/zrender/lib/core/vector.js +0 -114
- package/esm/node_modules/zrender/lib/dom/HandlerProxy.js +0 -296
- package/esm/node_modules/zrender/lib/graphic/CompoundPath.js +0 -52
- package/esm/node_modules/zrender/lib/graphic/Displayable.js +0 -327
- package/esm/node_modules/zrender/lib/graphic/Gradient.js +0 -15
- package/esm/node_modules/zrender/lib/graphic/Group.js +0 -182
- package/esm/node_modules/zrender/lib/graphic/Image.js +0 -76
- package/esm/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +0 -115
- package/esm/node_modules/zrender/lib/graphic/LinearGradient.js +0 -20
- package/esm/node_modules/zrender/lib/graphic/Path.js +0 -401
- package/esm/node_modules/zrender/lib/graphic/RadialGradient.js +0 -19
- package/esm/node_modules/zrender/lib/graphic/TSpan.js +0 -66
- package/esm/node_modules/zrender/lib/graphic/Text.js +0 -552
- package/esm/node_modules/zrender/lib/graphic/constants.js +0 -5
- package/esm/node_modules/zrender/lib/graphic/helper/image.js +0 -57
- package/esm/node_modules/zrender/lib/graphic/helper/parseText.js +0 -471
- package/esm/node_modules/zrender/lib/graphic/helper/poly.js +0 -28
- package/esm/node_modules/zrender/lib/graphic/helper/roundRect.js +0 -77
- package/esm/node_modules/zrender/lib/graphic/helper/roundSector.js +0 -230
- package/esm/node_modules/zrender/lib/graphic/helper/smoothBezier.js +0 -66
- package/esm/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +0 -58
- package/esm/node_modules/zrender/lib/graphic/shape/Arc.js +0 -46
- package/esm/node_modules/zrender/lib/graphic/shape/BezierCurve.js +0 -100
- package/esm/node_modules/zrender/lib/graphic/shape/Circle.js +0 -29
- package/esm/node_modules/zrender/lib/graphic/shape/Ellipse.js +0 -41
- package/esm/node_modules/zrender/lib/graphic/shape/Line.js +0 -71
- package/esm/node_modules/zrender/lib/graphic/shape/Polygon.js +0 -29
- package/esm/node_modules/zrender/lib/graphic/shape/Polyline.js +0 -36
- package/esm/node_modules/zrender/lib/graphic/shape/Rect.js +0 -59
- package/esm/node_modules/zrender/lib/graphic/shape/Ring.js +0 -35
- package/esm/node_modules/zrender/lib/graphic/shape/Sector.js +0 -38
- package/esm/node_modules/zrender/lib/mixin/Draggable.js +0 -68
- package/esm/node_modules/zrender/lib/svg/Painter.js +0 -255
- package/esm/node_modules/zrender/lib/svg/SVGPathRebuilder.js +0 -106
- package/esm/node_modules/zrender/lib/svg/core.js +0 -109
- package/esm/node_modules/zrender/lib/svg/cssAnimation.js +0 -277
- package/esm/node_modules/zrender/lib/svg/cssClassId.js +0 -6
- package/esm/node_modules/zrender/lib/svg/cssEmphasis.js +0 -63
- package/esm/node_modules/zrender/lib/svg/domapi.js +0 -23
- package/esm/node_modules/zrender/lib/svg/graphic.js +0 -482
- package/esm/node_modules/zrender/lib/svg/helper.js +0 -143
- package/esm/node_modules/zrender/lib/svg/mapStyleToAttrs.js +0 -84
- package/esm/node_modules/zrender/lib/svg/patch.js +0 -256
- package/esm/node_modules/zrender/lib/tool/color.js +0 -432
- package/esm/node_modules/zrender/lib/tool/convertPath.js +0 -200
- package/esm/node_modules/zrender/lib/tool/dividePath.js +0 -314
- package/esm/node_modules/zrender/lib/tool/morphPath.js +0 -593
- package/esm/node_modules/zrender/lib/tool/parseSVG.js +0 -639
- package/esm/node_modules/zrender/lib/tool/parseXML.js +0 -18
- package/esm/node_modules/zrender/lib/tool/path.js +0 -372
- package/esm/node_modules/zrender/lib/tool/transformPath.js +0 -84
- package/esm/node_modules/zrender/lib/zrender.js +0 -330
- package/lib/node_modules/echarts/index.js +0 -345
- package/lib/node_modules/echarts/lib/action/roamHelper.js +0 -85
- package/lib/node_modules/echarts/lib/animation/basicTransition.js +0 -214
- package/lib/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -108
- package/lib/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -448
- package/lib/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -169
- package/lib/node_modules/echarts/lib/animation/universalTransition.js +0 -612
- package/lib/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -75
- package/lib/node_modules/echarts/lib/chart/bar/BarView.js +0 -856
- package/lib/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -122
- package/lib/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -58
- package/lib/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -597
- package/lib/node_modules/echarts/lib/chart/bar/install.js +0 -45
- package/lib/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -18
- package/lib/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +0 -71
- package/lib/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +0 -135
- package/lib/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +0 -145
- package/lib/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +0 -30
- package/lib/node_modules/echarts/lib/chart/boxplot/install.js +0 -17
- package/lib/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +0 -60
- package/lib/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +0 -83
- package/lib/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +0 -295
- package/lib/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +0 -167
- package/lib/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +0 -47
- package/lib/node_modules/echarts/lib/chart/candlestick/install.js +0 -19
- package/lib/node_modules/echarts/lib/chart/candlestick/preprocessor.js +0 -19
- package/lib/node_modules/echarts/lib/chart/custom/CustomSeries.js +0 -71
- package/lib/node_modules/echarts/lib/chart/custom/CustomView.js +0 -892
- package/lib/node_modules/echarts/lib/chart/custom/install.js +0 -13
- package/lib/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +0 -68
- package/lib/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +0 -62
- package/lib/node_modules/echarts/lib/chart/effectScatter/install.js +0 -15
- package/lib/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +0 -108
- package/lib/node_modules/echarts/lib/chart/funnel/FunnelView.js +0 -165
- package/lib/node_modules/echarts/lib/chart/funnel/funnelLayout.js +0 -308
- package/lib/node_modules/echarts/lib/chart/funnel/install.js +0 -17
- package/lib/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +0 -148
- package/lib/node_modules/echarts/lib/chart/gauge/GaugeView.js +0 -528
- package/lib/node_modules/echarts/lib/chart/gauge/PointerPath.js +0 -46
- package/lib/node_modules/echarts/lib/chart/gauge/install.js +0 -13
- package/lib/node_modules/echarts/lib/chart/graph/GraphSeries.js +0 -238
- package/lib/node_modules/echarts/lib/chart/graph/GraphView.js +0 -230
- package/lib/node_modules/echarts/lib/chart/graph/adjustEdge.js +0 -137
- package/lib/node_modules/echarts/lib/chart/graph/categoryFilter.js +0 -38
- package/lib/node_modules/echarts/lib/chart/graph/categoryVisual.js +0 -54
- package/lib/node_modules/echarts/lib/chart/graph/circularLayout.js +0 -15
- package/lib/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +0 -156
- package/lib/node_modules/echarts/lib/chart/graph/createView.js +0 -66
- package/lib/node_modules/echarts/lib/chart/graph/edgeVisual.js +0 -57
- package/lib/node_modules/echarts/lib/chart/graph/forceHelper.js +0 -140
- package/lib/node_modules/echarts/lib/chart/graph/forceLayout.js +0 -124
- package/lib/node_modules/echarts/lib/chart/graph/graphHelper.js +0 -68
- package/lib/node_modules/echarts/lib/chart/graph/install.js +0 -61
- package/lib/node_modules/echarts/lib/chart/graph/simpleLayout.js +0 -42
- package/lib/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +0 -35
- package/lib/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +0 -128
- package/lib/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +0 -52
- package/lib/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +0 -275
- package/lib/node_modules/echarts/lib/chart/heatmap/install.js +0 -13
- package/lib/node_modules/echarts/lib/chart/helper/EffectLine.js +0 -168
- package/lib/node_modules/echarts/lib/chart/helper/EffectPolyline.js +0 -93
- package/lib/node_modules/echarts/lib/chart/helper/EffectSymbol.js +0 -169
- package/lib/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +0 -263
- package/lib/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +0 -273
- package/lib/node_modules/echarts/lib/chart/helper/Line.js +0 -382
- package/lib/node_modules/echarts/lib/chart/helper/LineDraw.js +0 -126
- package/lib/node_modules/echarts/lib/chart/helper/LinePath.js +0 -74
- package/lib/node_modules/echarts/lib/chart/helper/Polyline.js +0 -69
- package/lib/node_modules/echarts/lib/chart/helper/Symbol.js +0 -297
- package/lib/node_modules/echarts/lib/chart/helper/SymbolDraw.js +0 -176
- package/lib/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +0 -113
- package/lib/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +0 -78
- package/lib/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +0 -26
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesData.js +0 -125
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +0 -32
- package/lib/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +0 -22
- package/lib/node_modules/echarts/lib/chart/helper/labelHelper.js +0 -42
- package/lib/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +0 -191
- package/lib/node_modules/echarts/lib/chart/helper/sectorHelper.js +0 -26
- package/lib/node_modules/echarts/lib/chart/helper/treeHelper.js +0 -59
- package/lib/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +0 -100
- package/lib/node_modules/echarts/lib/chart/line/LineSeries.js +0 -116
- package/lib/node_modules/echarts/lib/chart/line/LineView.js +0 -1073
- package/lib/node_modules/echarts/lib/chart/line/helper.js +0 -88
- package/lib/node_modules/echarts/lib/chart/line/install.js +0 -32
- package/lib/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +0 -129
- package/lib/node_modules/echarts/lib/chart/line/poly.js +0 -315
- package/lib/node_modules/echarts/lib/chart/lines/LinesSeries.js +0 -272
- package/lib/node_modules/echarts/lib/chart/lines/LinesView.js +0 -147
- package/lib/node_modules/echarts/lib/chart/lines/install.js +0 -17
- package/lib/node_modules/echarts/lib/chart/lines/linesLayout.js +0 -75
- package/lib/node_modules/echarts/lib/chart/lines/linesVisual.js +0 -78
- package/lib/node_modules/echarts/lib/chart/map/MapSeries.js +0 -210
- package/lib/node_modules/echarts/lib/chart/map/MapView.js +0 -141
- package/lib/node_modules/echarts/lib/chart/map/install.js +0 -22
- package/lib/node_modules/echarts/lib/chart/map/mapDataStatistic.js +0 -68
- package/lib/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +0 -50
- package/lib/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +0 -90
- package/lib/node_modules/echarts/lib/chart/parallel/ParallelView.js +0 -186
- package/lib/node_modules/echarts/lib/chart/parallel/install.js +0 -18
- package/lib/node_modules/echarts/lib/chart/parallel/parallelVisual.js +0 -73
- package/lib/node_modules/echarts/lib/chart/pie/PieSeries.js +0 -179
- package/lib/node_modules/echarts/lib/chart/pie/PieView.js +0 -248
- package/lib/node_modules/echarts/lib/chart/pie/install.js +0 -22
- package/lib/node_modules/echarts/lib/chart/pie/labelLayout.js +0 -437
- package/lib/node_modules/echarts/lib/chart/pie/pieLayout.js +0 -197
- package/lib/node_modules/echarts/lib/chart/radar/RadarSeries.js +0 -97
- package/lib/node_modules/echarts/lib/chart/radar/RadarView.js +0 -191
- package/lib/node_modules/echarts/lib/chart/radar/backwardCompat.js +0 -37
- package/lib/node_modules/echarts/lib/chart/radar/install.js +0 -22
- package/lib/node_modules/echarts/lib/chart/radar/radarLayout.js +0 -46
- package/lib/node_modules/echarts/lib/chart/sankey/SankeySeries.js +0 -178
- package/lib/node_modules/echarts/lib/chart/sankey/SankeyView.js +0 -291
- package/lib/node_modules/echarts/lib/chart/sankey/install.js +0 -31
- package/lib/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +0 -453
- package/lib/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +0 -56
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +0 -83
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterView.js +0 -96
- package/lib/node_modules/echarts/lib/chart/scatter/install.js +0 -19
- package/lib/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +0 -195
- package/lib/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +0 -169
- package/lib/node_modules/echarts/lib/chart/sunburst/SunburstView.js +0 -169
- package/lib/node_modules/echarts/lib/chart/sunburst/install.js +0 -22
- package/lib/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +0 -73
- package/lib/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +0 -180
- package/lib/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +0 -39
- package/lib/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +0 -223
- package/lib/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +0 -150
- package/lib/node_modules/echarts/lib/chart/themeRiver/install.js +0 -17
- package/lib/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +0 -121
- package/lib/node_modules/echarts/lib/chart/tree/TreeSeries.js +0 -150
- package/lib/node_modules/echarts/lib/chart/tree/TreeView.js +0 -588
- package/lib/node_modules/echarts/lib/chart/tree/install.js +0 -19
- package/lib/node_modules/echarts/lib/chart/tree/layoutHelper.js +0 -243
- package/lib/node_modules/echarts/lib/chart/tree/traversalHelper.js +0 -92
- package/lib/node_modules/echarts/lib/chart/tree/treeAction.js +0 -46
- package/lib/node_modules/echarts/lib/chart/tree/treeLayout.js +0 -103
- package/lib/node_modules/echarts/lib/chart/tree/treeVisual.js +0 -21
- package/lib/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +0 -153
- package/lib/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +0 -330
- package/lib/node_modules/echarts/lib/chart/treemap/TreemapView.js +0 -817
- package/lib/node_modules/echarts/lib/chart/treemap/install.js +0 -19
- package/lib/node_modules/echarts/lib/chart/treemap/treemapAction.js +0 -39
- package/lib/node_modules/echarts/lib/chart/treemap/treemapLayout.js +0 -453
- package/lib/node_modules/echarts/lib/chart/treemap/treemapVisual.js +0 -158
- package/lib/node_modules/echarts/lib/component/aria/install.js +0 -13
- package/lib/node_modules/echarts/lib/component/aria/preprocessor.js +0 -25
- package/lib/node_modules/echarts/lib/component/axis/AngleAxisView.js +0 -290
- package/lib/node_modules/echarts/lib/component/axis/AxisBuilder.js +0 -539
- package/lib/node_modules/echarts/lib/component/axis/AxisView.js +0 -80
- package/lib/node_modules/echarts/lib/component/axis/CartesianAxisView.js +0 -197
- package/lib/node_modules/echarts/lib/component/axis/ParallelAxisView.js +0 -139
- package/lib/node_modules/echarts/lib/component/axis/RadiusAxisView.js +0 -172
- package/lib/node_modules/echarts/lib/component/axis/SingleAxisView.js +0 -111
- package/lib/node_modules/echarts/lib/component/axis/axisSplitHelper.js +0 -90
- package/lib/node_modules/echarts/lib/component/axis/parallelAxisAction.js +0 -75
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +0 -75
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +0 -43
- package/lib/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +0 -358
- package/lib/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +0 -111
- package/lib/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +0 -106
- package/lib/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +0 -108
- package/lib/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +0 -342
- package/lib/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +0 -62
- package/lib/node_modules/echarts/lib/component/axisPointer/globalListener.js +0 -103
- package/lib/node_modules/echarts/lib/component/axisPointer/install.js +0 -48
- package/lib/node_modules/echarts/lib/component/axisPointer/modelHelper.js +0 -263
- package/lib/node_modules/echarts/lib/component/axisPointer/viewHelper.js +0 -166
- package/lib/node_modules/echarts/lib/component/brush/BrushModel.js +0 -99
- package/lib/node_modules/echarts/lib/component/brush/BrushView.js +0 -74
- package/lib/node_modules/echarts/lib/component/brush/install.js +0 -64
- package/lib/node_modules/echarts/lib/component/brush/preprocessor.js +0 -51
- package/lib/node_modules/echarts/lib/component/brush/selector.js +0 -79
- package/lib/node_modules/echarts/lib/component/brush/visualEncoding.js +0 -220
- package/lib/node_modules/echarts/lib/component/calendar/CalendarView.js +0 -356
- package/lib/node_modules/echarts/lib/component/calendar/install.js +0 -15
- package/lib/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +0 -305
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +0 -393
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +0 -24
- package/lib/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +0 -28
- package/lib/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +0 -161
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +0 -19
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +0 -19
- package/lib/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +0 -89
- package/lib/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +0 -786
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +0 -22
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +0 -93
- package/lib/node_modules/echarts/lib/component/dataZoom/helper.js +0 -128
- package/lib/node_modules/echarts/lib/component/dataZoom/history.js +0 -83
- package/lib/node_modules/echarts/lib/component/dataZoom/install.js +0 -16
- package/lib/node_modules/echarts/lib/component/dataZoom/installCommon.js +0 -22
- package/lib/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +0 -17
- package/lib/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +0 -15
- package/lib/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +0 -15
- package/lib/node_modules/echarts/lib/component/dataZoom/roams.js +0 -188
- package/lib/node_modules/echarts/lib/component/dataset/install.js +0 -55
- package/lib/node_modules/echarts/lib/component/geo/GeoView.js +0 -73
- package/lib/node_modules/echarts/lib/component/geo/install.js +0 -105
- package/lib/node_modules/echarts/lib/component/graphic/GraphicModel.js +0 -208
- package/lib/node_modules/echarts/lib/component/graphic/GraphicView.js +0 -358
- package/lib/node_modules/echarts/lib/component/graphic/install.js +0 -38
- package/lib/node_modules/echarts/lib/component/grid/install.js +0 -14
- package/lib/node_modules/echarts/lib/component/grid/installSimple.js +0 -61
- package/lib/node_modules/echarts/lib/component/helper/BrushController.js +0 -717
- package/lib/node_modules/echarts/lib/component/helper/BrushTargetManager.js +0 -306
- package/lib/node_modules/echarts/lib/component/helper/MapDraw.js +0 -639
- package/lib/node_modules/echarts/lib/component/helper/RoamController.js +0 -207
- package/lib/node_modules/echarts/lib/component/helper/brushHelper.js +0 -37
- package/lib/node_modules/echarts/lib/component/helper/cursorHelper.js +0 -63
- package/lib/node_modules/echarts/lib/component/helper/interactionMutex.js +0 -42
- package/lib/node_modules/echarts/lib/component/helper/listComponent.js +0 -52
- package/lib/node_modules/echarts/lib/component/helper/roamHelper.js +0 -80
- package/lib/node_modules/echarts/lib/component/helper/sliderMove.js +0 -119
- package/lib/node_modules/echarts/lib/component/legend/LegendModel.js +0 -280
- package/lib/node_modules/echarts/lib/component/legend/LegendView.js +0 -490
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +0 -67
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +0 -365
- package/lib/node_modules/echarts/lib/component/legend/install.js +0 -14
- package/lib/node_modules/echarts/lib/component/legend/installLegendPlain.js +0 -20
- package/lib/node_modules/echarts/lib/component/legend/installLegendScroll.js +0 -18
- package/lib/node_modules/echarts/lib/component/legend/legendAction.js +0 -76
- package/lib/node_modules/echarts/lib/component/legend/legendFilter.js +0 -65
- package/lib/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +0 -66
- package/lib/node_modules/echarts/lib/component/marker/MarkAreaModel.js +0 -48
- package/lib/node_modules/echarts/lib/component/marker/MarkAreaView.js +0 -328
- package/lib/node_modules/echarts/lib/component/marker/MarkLineModel.js +0 -51
- package/lib/node_modules/echarts/lib/component/marker/MarkLineView.js +0 -326
- package/lib/node_modules/echarts/lib/component/marker/MarkPointModel.js +0 -45
- package/lib/node_modules/echarts/lib/component/marker/MarkPointView.js +0 -154
- package/lib/node_modules/echarts/lib/component/marker/MarkerModel.js +0 -129
- package/lib/node_modules/echarts/lib/component/marker/MarkerView.js +0 -58
- package/lib/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +0 -20
- package/lib/node_modules/echarts/lib/component/marker/installMarkArea.js +0 -20
- package/lib/node_modules/echarts/lib/component/marker/installMarkLine.js +0 -20
- package/lib/node_modules/echarts/lib/component/marker/installMarkPoint.js +0 -20
- package/lib/node_modules/echarts/lib/component/marker/markerHelper.js +0 -157
- package/lib/node_modules/echarts/lib/component/parallel/ParallelView.js +0 -100
- package/lib/node_modules/echarts/lib/component/parallel/install.js +0 -37
- package/lib/node_modules/echarts/lib/component/polar/install.js +0 -55
- package/lib/node_modules/echarts/lib/component/radar/RadarView.js +0 -170
- package/lib/node_modules/echarts/lib/component/radar/install.js +0 -27
- package/lib/node_modules/echarts/lib/component/singleAxis/install.js +0 -37
- package/lib/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +0 -122
- package/lib/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +0 -619
- package/lib/node_modules/echarts/lib/component/timeline/TimelineAxis.js +0 -34
- package/lib/node_modules/echarts/lib/component/timeline/TimelineModel.js +0 -151
- package/lib/node_modules/echarts/lib/component/timeline/TimelineView.js +0 -19
- package/lib/node_modules/echarts/lib/component/timeline/install.js +0 -21
- package/lib/node_modules/echarts/lib/component/timeline/preprocessor.js +0 -76
- package/lib/node_modules/echarts/lib/component/timeline/timelineAction.js +0 -46
- package/lib/node_modules/echarts/lib/component/title/install.js +0 -191
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +0 -71
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxView.js +0 -261
- package/lib/node_modules/echarts/lib/component/toolbox/feature/Brush.js +0 -95
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataView.js +0 -410
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +0 -211
- package/lib/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +0 -170
- package/lib/node_modules/echarts/lib/component/toolbox/feature/Restore.js +0 -42
- package/lib/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +0 -109
- package/lib/node_modules/echarts/lib/component/toolbox/featureManager.js +0 -43
- package/lib/node_modules/echarts/lib/component/toolbox/install.js +0 -27
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +0 -361
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipModel.js +0 -88
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +0 -172
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipView.js +0 -807
- package/lib/node_modules/echarts/lib/component/tooltip/helper.js +0 -46
- package/lib/node_modules/echarts/lib/component/tooltip/install.js +0 -35
- package/lib/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +0 -106
- package/lib/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +0 -292
- package/lib/node_modules/echarts/lib/component/transform/filterTransform.js +0 -60
- package/lib/node_modules/echarts/lib/component/transform/install.js +0 -13
- package/lib/node_modules/echarts/lib/component/transform/sortTransform.js +0 -119
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +0 -219
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousView.js +0 -655
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +0 -401
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +0 -178
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +0 -376
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapView.js +0 -118
- package/lib/node_modules/echarts/lib/component/visualMap/helper.js +0 -55
- package/lib/node_modules/echarts/lib/component/visualMap/install.js +0 -16
- package/lib/node_modules/echarts/lib/component/visualMap/installCommon.js +0 -27
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +0 -15
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +0 -15
- package/lib/node_modules/echarts/lib/component/visualMap/preprocessor.js +0 -41
- package/lib/node_modules/echarts/lib/component/visualMap/visualEncoding.js +0 -72
- package/lib/node_modules/echarts/lib/component/visualMap/visualMapAction.js +0 -63
- package/lib/node_modules/echarts/lib/coord/Axis.js +0 -243
- package/lib/node_modules/echarts/lib/coord/CoordinateSystem.js +0 -51
- package/lib/node_modules/echarts/lib/coord/View.js +0 -209
- package/lib/node_modules/echarts/lib/coord/axisAlignTicks.js +0 -101
- package/lib/node_modules/echarts/lib/coord/axisCommonTypes.js +0 -54
- package/lib/node_modules/echarts/lib/coord/axisDefault.js +0 -166
- package/lib/node_modules/echarts/lib/coord/axisHelper.js +0 -322
- package/lib/node_modules/echarts/lib/coord/axisModelCommonMixin.js +0 -64
- package/lib/node_modules/echarts/lib/coord/axisModelCreator.js +0 -74
- package/lib/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +0 -289
- package/lib/node_modules/echarts/lib/coord/calendar/Calendar.js +0 -337
- package/lib/node_modules/echarts/lib/coord/calendar/CalendarModel.js +0 -122
- package/lib/node_modules/echarts/lib/coord/calendar/prepareCustom.js +0 -74
- package/lib/node_modules/echarts/lib/coord/cartesian/Axis2D.js +0 -57
- package/lib/node_modules/echarts/lib/coord/cartesian/AxisModel.js +0 -25
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian.js +0 -36
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +0 -132
- package/lib/node_modules/echarts/lib/coord/cartesian/Grid.js +0 -450
- package/lib/node_modules/echarts/lib/coord/cartesian/GridModel.js +0 -35
- package/lib/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +0 -85
- package/lib/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +0 -38
- package/lib/node_modules/echarts/lib/coord/geo/Geo.js +0 -172
- package/lib/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +0 -106
- package/lib/node_modules/echarts/lib/coord/geo/GeoModel.js +0 -174
- package/lib/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +0 -296
- package/lib/node_modules/echarts/lib/coord/geo/Region.js +0 -249
- package/lib/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +0 -61
- package/lib/node_modules/echarts/lib/coord/geo/fix/nanhai.js +0 -36
- package/lib/node_modules/echarts/lib/coord/geo/fix/textCoord.js +0 -68
- package/lib/node_modules/echarts/lib/coord/geo/geoCreator.js +0 -199
- package/lib/node_modules/echarts/lib/coord/geo/geoSourceManager.js +0 -85
- package/lib/node_modules/echarts/lib/coord/geo/parseGeoJson.js +0 -107
- package/lib/node_modules/echarts/lib/coord/geo/prepareCustom.js +0 -43
- package/lib/node_modules/echarts/lib/coord/parallel/AxisModel.js +0 -77
- package/lib/node_modules/echarts/lib/coord/parallel/Parallel.js +0 -369
- package/lib/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +0 -22
- package/lib/node_modules/echarts/lib/coord/parallel/ParallelModel.js +0 -85
- package/lib/node_modules/echarts/lib/coord/parallel/parallelCreator.js +0 -31
- package/lib/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +0 -48
- package/lib/node_modules/echarts/lib/coord/polar/AngleAxis.js +0 -74
- package/lib/node_modules/echarts/lib/coord/polar/AxisModel.js +0 -46
- package/lib/node_modules/echarts/lib/coord/polar/Polar.js +0 -180
- package/lib/node_modules/echarts/lib/coord/polar/PolarModel.js +0 -36
- package/lib/node_modules/echarts/lib/coord/polar/RadiusAxis.js +0 -21
- package/lib/node_modules/echarts/lib/coord/polar/polarCreator.js +0 -120
- package/lib/node_modules/echarts/lib/coord/polar/prepareCustom.js +0 -50
- package/lib/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +0 -20
- package/lib/node_modules/echarts/lib/coord/radar/Radar.js +0 -156
- package/lib/node_modules/echarts/lib/coord/radar/RadarModel.js +0 -122
- package/lib/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +0 -205
- package/lib/node_modules/echarts/lib/coord/single/AxisModel.js +0 -66
- package/lib/node_modules/echarts/lib/coord/single/Single.js +0 -171
- package/lib/node_modules/echarts/lib/coord/single/SingleAxis.js +0 -29
- package/lib/node_modules/echarts/lib/coord/single/prepareCustom.js +0 -34
- package/lib/node_modules/echarts/lib/coord/single/singleAxisHelper.js +0 -52
- package/lib/node_modules/echarts/lib/coord/single/singleCreator.js +0 -33
- package/lib/node_modules/echarts/lib/core/CoordinateSystem.js +0 -37
- package/lib/node_modules/echarts/lib/core/ExtensionAPI.js +0 -22
- package/lib/node_modules/echarts/lib/core/Scheduler.js +0 -451
- package/lib/node_modules/echarts/lib/core/echarts.js +0 -2255
- package/lib/node_modules/echarts/lib/core/impl.js +0 -30
- package/lib/node_modules/echarts/lib/core/lifecycle.js +0 -9
- package/lib/node_modules/echarts/lib/core/locale.js +0 -55
- package/lib/node_modules/echarts/lib/core/task.js +0 -308
- package/lib/node_modules/echarts/lib/data/DataDiffer.js +0 -257
- package/lib/node_modules/echarts/lib/data/DataStore.js +0 -967
- package/lib/node_modules/echarts/lib/data/Graph.js +0 -408
- package/lib/node_modules/echarts/lib/data/OrdinalMeta.js +0 -86
- package/lib/node_modules/echarts/lib/data/SeriesData.js +0 -943
- package/lib/node_modules/echarts/lib/data/SeriesDimensionDefine.js +0 -53
- package/lib/node_modules/echarts/lib/data/Source.js +0 -267
- package/lib/node_modules/echarts/lib/data/Tree.js +0 -312
- package/lib/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +0 -191
- package/lib/node_modules/echarts/lib/data/helper/createDimensions.js +0 -287
- package/lib/node_modules/echarts/lib/data/helper/dataProvider.js +0 -321
- package/lib/node_modules/echarts/lib/data/helper/dataStackHelper.js +0 -145
- package/lib/node_modules/echarts/lib/data/helper/dataValueHelper.js +0 -203
- package/lib/node_modules/echarts/lib/data/helper/dimensionHelper.js +0 -136
- package/lib/node_modules/echarts/lib/data/helper/linkSeriesData.js +0 -110
- package/lib/node_modules/echarts/lib/data/helper/sourceHelper.js +0 -324
- package/lib/node_modules/echarts/lib/data/helper/sourceManager.js +0 -381
- package/lib/node_modules/echarts/lib/data/helper/transform.js +0 -382
- package/lib/node_modules/echarts/lib/export/api/format.js +0 -21
- package/lib/node_modules/echarts/lib/export/api/graphic.js +0 -59
- package/lib/node_modules/echarts/lib/export/api/helper.js +0 -81
- package/lib/node_modules/echarts/lib/export/api/number.js +0 -26
- package/lib/node_modules/echarts/lib/export/api/time.js +0 -11
- package/lib/node_modules/echarts/lib/export/api/util.js +0 -24
- package/lib/node_modules/echarts/lib/export/api.js +0 -72
- package/lib/node_modules/echarts/lib/export/core.js +0 -73
- package/lib/node_modules/echarts/lib/extension.js +0 -74
- package/lib/node_modules/echarts/lib/i18n/langEN.js +0 -162
- package/lib/node_modules/echarts/lib/i18n/langZH.js +0 -159
- package/lib/node_modules/echarts/lib/label/LabelManager.js +0 -399
- package/lib/node_modules/echarts/lib/label/installLabelLayout.js +0 -29
- package/lib/node_modules/echarts/lib/label/labelGuideHelper.js +0 -512
- package/lib/node_modules/echarts/lib/label/labelLayoutHelper.js +0 -268
- package/lib/node_modules/echarts/lib/label/labelStyle.js +0 -456
- package/lib/node_modules/echarts/lib/label/sectorLabel.js +0 -166
- package/lib/node_modules/echarts/lib/layout/barGrid.js +0 -445
- package/lib/node_modules/echarts/lib/layout/barPolar.js +0 -217
- package/lib/node_modules/echarts/lib/layout/points.js +0 -68
- package/lib/node_modules/echarts/lib/legacy/dataSelectAction.js +0 -81
- package/lib/node_modules/echarts/lib/legacy/getTextRect.js +0 -24
- package/lib/node_modules/echarts/lib/loading/default.js +0 -128
- package/lib/node_modules/echarts/lib/model/Component.js +0 -197
- package/lib/node_modules/echarts/lib/model/Global.js +0 -697
- package/lib/node_modules/echarts/lib/model/Model.js +0 -138
- package/lib/node_modules/echarts/lib/model/OptionManager.js +0 -323
- package/lib/node_modules/echarts/lib/model/Series.js +0 -507
- package/lib/node_modules/echarts/lib/model/globalDefault.js +0 -136
- package/lib/node_modules/echarts/lib/model/internalComponentCreator.js +0 -31
- package/lib/node_modules/echarts/lib/model/mixin/areaStyle.js +0 -22
- package/lib/node_modules/echarts/lib/model/mixin/dataFormat.js +0 -165
- package/lib/node_modules/echarts/lib/model/mixin/itemStyle.js +0 -22
- package/lib/node_modules/echarts/lib/model/mixin/lineStyle.js +0 -22
- package/lib/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +0 -32
- package/lib/node_modules/echarts/lib/model/mixin/palette.js +0 -69
- package/lib/node_modules/echarts/lib/model/mixin/textStyle.js +0 -49
- package/lib/node_modules/echarts/lib/model/referHelper.js +0 -132
- package/lib/node_modules/echarts/lib/preprocessor/backwardCompat.js +0 -219
- package/lib/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +0 -295
- package/lib/node_modules/echarts/lib/processor/dataFilter.js +0 -73
- package/lib/node_modules/echarts/lib/processor/dataSample.js +0 -105
- package/lib/node_modules/echarts/lib/processor/dataStack.js +0 -97
- package/lib/node_modules/echarts/lib/processor/negativeDataFilter.js +0 -25
- package/lib/node_modules/echarts/lib/renderer/installCanvasRenderer.js +0 -11
- package/lib/node_modules/echarts/lib/renderer/installSVGRenderer.js +0 -11
- package/lib/node_modules/echarts/lib/scale/Interval.js +0 -230
- package/lib/node_modules/echarts/lib/scale/Log.js +0 -140
- package/lib/node_modules/echarts/lib/scale/Ordinal.js +0 -171
- package/lib/node_modules/echarts/lib/scale/Scale.js +0 -75
- package/lib/node_modules/echarts/lib/scale/Time.js +0 -455
- package/lib/node_modules/echarts/lib/scale/helper.js +0 -94
- package/lib/node_modules/echarts/lib/theme/dark.js +0 -227
- package/lib/node_modules/echarts/lib/theme/light.js +0 -53
- package/lib/node_modules/echarts/lib/util/ECEventProcessor.js +0 -106
- package/lib/node_modules/echarts/lib/util/animation.js +0 -125
- package/lib/node_modules/echarts/lib/util/clazz.js +0 -274
- package/lib/node_modules/echarts/lib/util/component.js +0 -153
- package/lib/node_modules/echarts/lib/util/conditionalExpression.js +0 -219
- package/lib/node_modules/echarts/lib/util/decal.js +0 -356
- package/lib/node_modules/echarts/lib/util/event.js +0 -61
- package/lib/node_modules/echarts/lib/util/format.js +0 -214
- package/lib/node_modules/echarts/lib/util/graphic.js +0 -527
- package/lib/node_modules/echarts/lib/util/innerStore.js +0 -31
- package/lib/node_modules/echarts/lib/util/layout.js +0 -422
- package/lib/node_modules/echarts/lib/util/log.js +0 -104
- package/lib/node_modules/echarts/lib/util/model.js +0 -681
- package/lib/node_modules/echarts/lib/util/number.js +0 -542
- package/lib/node_modules/echarts/lib/util/shape/sausage.js +0 -71
- package/lib/node_modules/echarts/lib/util/states.js +0 -697
- package/lib/node_modules/echarts/lib/util/styleCompat.js +0 -193
- package/lib/node_modules/echarts/lib/util/symbol.js +0 -304
- package/lib/node_modules/echarts/lib/util/throttle.js +0 -178
- package/lib/node_modules/echarts/lib/util/time.js +0 -265
- package/lib/node_modules/echarts/lib/util/types.js +0 -25
- package/lib/node_modules/echarts/lib/util/vendor.js +0 -19
- package/lib/node_modules/echarts/lib/view/Chart.js +0 -164
- package/lib/node_modules/echarts/lib/view/Component.js +0 -51
- package/lib/node_modules/echarts/lib/visual/LegendVisualProvider.js +0 -85
- package/lib/node_modules/echarts/lib/visual/VisualMapping.js +0 -442
- package/lib/node_modules/echarts/lib/visual/aria.js +0 -193
- package/lib/node_modules/echarts/lib/visual/decal.js +0 -30
- package/lib/node_modules/echarts/lib/visual/helper.js +0 -107
- package/lib/node_modules/echarts/lib/visual/style.js +0 -181
- package/lib/node_modules/echarts/lib/visual/symbol.js +0 -88
- package/lib/node_modules/echarts/lib/visual/visualDefault.js +0 -51
- package/lib/node_modules/echarts/lib/visual/visualSolution.js +0 -166
- package/lib/node_modules/zrender/lib/Element.js +0 -1058
- package/lib/node_modules/zrender/lib/Handler.js +0 -302
- package/lib/node_modules/zrender/lib/Storage.js +0 -165
- package/lib/node_modules/zrender/lib/animation/Animation.js +0 -155
- package/lib/node_modules/zrender/lib/animation/Animator.js +0 -744
- package/lib/node_modules/zrender/lib/animation/Clip.js +0 -71
- package/lib/node_modules/zrender/lib/animation/cubicEasing.js +0 -30
- package/lib/node_modules/zrender/lib/animation/easing.js +0 -201
- package/lib/node_modules/zrender/lib/animation/requestAnimationFrame.js +0 -17
- package/lib/node_modules/zrender/lib/canvas/Layer.js +0 -302
- package/lib/node_modules/zrender/lib/canvas/Painter.js +0 -647
- package/lib/node_modules/zrender/lib/canvas/dashStyle.js +0 -35
- package/lib/node_modules/zrender/lib/canvas/graphic.js +0 -567
- package/lib/node_modules/zrender/lib/canvas/helper.js +0 -89
- package/lib/node_modules/zrender/lib/config.js +0 -23
- package/lib/node_modules/zrender/lib/contain/arc.js +0 -42
- package/lib/node_modules/zrender/lib/contain/cubic.js +0 -22
- package/lib/node_modules/zrender/lib/contain/line.js +0 -30
- package/lib/node_modules/zrender/lib/contain/path.js +0 -315
- package/lib/node_modules/zrender/lib/contain/polygon.js +0 -29
- package/lib/node_modules/zrender/lib/contain/quadratic.js +0 -22
- package/lib/node_modules/zrender/lib/contain/text.js +0 -181
- package/lib/node_modules/zrender/lib/contain/util.js +0 -14
- package/lib/node_modules/zrender/lib/contain/windingLine.js +0 -21
- package/lib/node_modules/zrender/lib/core/BoundingRect.js +0 -222
- package/lib/node_modules/zrender/lib/core/Eventful.js +0 -168
- package/lib/node_modules/zrender/lib/core/GestureMgr.js +0 -88
- package/lib/node_modules/zrender/lib/core/LRU.js +0 -116
- package/lib/node_modules/zrender/lib/core/OrientedBoundingRect.js +0 -127
- package/lib/node_modules/zrender/lib/core/PathProxy.js +0 -705
- package/lib/node_modules/zrender/lib/core/Point.js +0 -135
- package/lib/node_modules/zrender/lib/core/Transformable.js +0 -252
- package/lib/node_modules/zrender/lib/core/WeakMap.js +0 -48
- package/lib/node_modules/zrender/lib/core/bbox.js +0 -135
- package/lib/node_modules/zrender/lib/core/curve.js +0 -365
- package/lib/node_modules/zrender/lib/core/dom.js +0 -104
- package/lib/node_modules/zrender/lib/core/env.js +0 -86
- package/lib/node_modules/zrender/lib/core/event.js +0 -118
- package/lib/node_modules/zrender/lib/core/fourPointsTransform.js +0 -65
- package/lib/node_modules/zrender/lib/core/matrix.js +0 -113
- package/lib/node_modules/zrender/lib/core/platform.js +0 -83
- package/lib/node_modules/zrender/lib/core/timsort.js +0 -528
- package/lib/node_modules/zrender/lib/core/util.js +0 -596
- package/lib/node_modules/zrender/lib/core/vector.js +0 -142
- package/lib/node_modules/zrender/lib/dom/HandlerProxy.js +0 -300
- package/lib/node_modules/zrender/lib/graphic/CompoundPath.js +0 -56
- package/lib/node_modules/zrender/lib/graphic/Displayable.js +0 -333
- package/lib/node_modules/zrender/lib/graphic/Gradient.js +0 -19
- package/lib/node_modules/zrender/lib/graphic/Group.js +0 -186
- package/lib/node_modules/zrender/lib/graphic/Image.js +0 -82
- package/lib/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +0 -119
- package/lib/node_modules/zrender/lib/graphic/LinearGradient.js +0 -24
- package/lib/node_modules/zrender/lib/graphic/Path.js +0 -407
- package/lib/node_modules/zrender/lib/graphic/RadialGradient.js +0 -23
- package/lib/node_modules/zrender/lib/graphic/TSpan.js +0 -71
- package/lib/node_modules/zrender/lib/graphic/Text.js +0 -560
- package/lib/node_modules/zrender/lib/graphic/constants.js +0 -11
- package/lib/node_modules/zrender/lib/graphic/helper/image.js +0 -63
- package/lib/node_modules/zrender/lib/graphic/helper/parseText.js +0 -478
- package/lib/node_modules/zrender/lib/graphic/helper/poly.js +0 -32
- package/lib/node_modules/zrender/lib/graphic/helper/roundRect.js +0 -81
- package/lib/node_modules/zrender/lib/graphic/helper/roundSector.js +0 -234
- package/lib/node_modules/zrender/lib/graphic/helper/smoothBezier.js +0 -70
- package/lib/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +0 -64
- package/lib/node_modules/zrender/lib/graphic/shape/Arc.js +0 -51
- package/lib/node_modules/zrender/lib/graphic/shape/BezierCurve.js +0 -105
- package/lib/node_modules/zrender/lib/graphic/shape/Circle.js +0 -34
- package/lib/node_modules/zrender/lib/graphic/shape/Ellipse.js +0 -46
- package/lib/node_modules/zrender/lib/graphic/shape/Line.js +0 -76
- package/lib/node_modules/zrender/lib/graphic/shape/Polygon.js +0 -34
- package/lib/node_modules/zrender/lib/graphic/shape/Polyline.js +0 -41
- package/lib/node_modules/zrender/lib/graphic/shape/Rect.js +0 -64
- package/lib/node_modules/zrender/lib/graphic/shape/Ring.js +0 -40
- package/lib/node_modules/zrender/lib/graphic/shape/Sector.js +0 -43
- package/lib/node_modules/zrender/lib/mixin/Draggable.js +0 -72
- package/lib/node_modules/zrender/lib/svg/Painter.js +0 -259
- package/lib/node_modules/zrender/lib/svg/SVGPathRebuilder.js +0 -110
- package/lib/node_modules/zrender/lib/svg/core.js +0 -123
- package/lib/node_modules/zrender/lib/svg/cssAnimation.js +0 -283
- package/lib/node_modules/zrender/lib/svg/cssClassId.js +0 -10
- package/lib/node_modules/zrender/lib/svg/cssEmphasis.js +0 -67
- package/lib/node_modules/zrender/lib/svg/domapi.js +0 -33
- package/lib/node_modules/zrender/lib/svg/graphic.js +0 -492
- package/lib/node_modules/zrender/lib/svg/helper.js +0 -165
- package/lib/node_modules/zrender/lib/svg/mapStyleToAttrs.js +0 -88
- package/lib/node_modules/zrender/lib/svg/patch.js +0 -261
- package/lib/node_modules/zrender/lib/tool/color.js +0 -448
- package/lib/node_modules/zrender/lib/tool/convertPath.js +0 -205
- package/lib/node_modules/zrender/lib/tool/dividePath.js +0 -319
- package/lib/node_modules/zrender/lib/tool/morphPath.js +0 -602
- package/lib/node_modules/zrender/lib/tool/parseSVG.js +0 -644
- package/lib/node_modules/zrender/lib/tool/parseXML.js +0 -22
- package/lib/node_modules/zrender/lib/tool/path.js +0 -379
- package/lib/node_modules/zrender/lib/tool/transformPath.js +0 -88
- package/lib/node_modules/zrender/lib/zrender.js +0 -341
|
@@ -1,1058 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var Transformable = require('./core/Transformable.js');
|
|
6
|
-
var Animator = require('./animation/Animator.js');
|
|
7
|
-
var BoundingRect = require('./core/BoundingRect.js');
|
|
8
|
-
var Eventful = require('./core/Eventful.js');
|
|
9
|
-
var text = require('./contain/text.js');
|
|
10
|
-
var util = require('./core/util.js');
|
|
11
|
-
var config = require('./config.js');
|
|
12
|
-
var color = require('./tool/color.js');
|
|
13
|
-
var constants = require('./graphic/constants.js');
|
|
14
|
-
|
|
15
|
-
var PRESERVED_NORMAL_STATE = '__zr_normal__';
|
|
16
|
-
var PRIMARY_STATES_KEYS = Transformable.TRANSFORMABLE_PROPS.concat(['ignore']);
|
|
17
|
-
var DEFAULT_ANIMATABLE_MAP = util.reduce(Transformable.TRANSFORMABLE_PROPS, function (obj, key) {
|
|
18
|
-
obj[key] = true;
|
|
19
|
-
return obj;
|
|
20
|
-
}, { ignore: false });
|
|
21
|
-
var tmpTextPosCalcRes = {};
|
|
22
|
-
var tmpBoundingRect = new BoundingRect["default"](0, 0, 0, 0);
|
|
23
|
-
var Element = (function () {
|
|
24
|
-
function Element(props) {
|
|
25
|
-
this.id = util.guid();
|
|
26
|
-
this.animators = [];
|
|
27
|
-
this.currentStates = [];
|
|
28
|
-
this.states = {};
|
|
29
|
-
this._init(props);
|
|
30
|
-
}
|
|
31
|
-
Element.prototype._init = function (props) {
|
|
32
|
-
this.attr(props);
|
|
33
|
-
};
|
|
34
|
-
Element.prototype.drift = function (dx, dy, e) {
|
|
35
|
-
switch (this.draggable) {
|
|
36
|
-
case 'horizontal':
|
|
37
|
-
dy = 0;
|
|
38
|
-
break;
|
|
39
|
-
case 'vertical':
|
|
40
|
-
dx = 0;
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
var m = this.transform;
|
|
44
|
-
if (!m) {
|
|
45
|
-
m = this.transform = [1, 0, 0, 1, 0, 0];
|
|
46
|
-
}
|
|
47
|
-
m[4] += dx;
|
|
48
|
-
m[5] += dy;
|
|
49
|
-
this.decomposeTransform();
|
|
50
|
-
this.markRedraw();
|
|
51
|
-
};
|
|
52
|
-
Element.prototype.beforeUpdate = function () { };
|
|
53
|
-
Element.prototype.afterUpdate = function () { };
|
|
54
|
-
Element.prototype.update = function () {
|
|
55
|
-
this.updateTransform();
|
|
56
|
-
if (this.__dirty) {
|
|
57
|
-
this.updateInnerText();
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
Element.prototype.updateInnerText = function (forceUpdate) {
|
|
61
|
-
var textEl = this._textContent;
|
|
62
|
-
if (textEl && (!textEl.ignore || forceUpdate)) {
|
|
63
|
-
if (!this.textConfig) {
|
|
64
|
-
this.textConfig = {};
|
|
65
|
-
}
|
|
66
|
-
var textConfig = this.textConfig;
|
|
67
|
-
var isLocal = textConfig.local;
|
|
68
|
-
var innerTransformable = textEl.innerTransformable;
|
|
69
|
-
var textAlign = void 0;
|
|
70
|
-
var textVerticalAlign = void 0;
|
|
71
|
-
var textStyleChanged = false;
|
|
72
|
-
innerTransformable.parent = isLocal ? this : null;
|
|
73
|
-
var innerOrigin = false;
|
|
74
|
-
innerTransformable.copyTransform(textEl);
|
|
75
|
-
if (textConfig.position != null) {
|
|
76
|
-
var layoutRect = tmpBoundingRect;
|
|
77
|
-
if (textConfig.layoutRect) {
|
|
78
|
-
layoutRect.copy(textConfig.layoutRect);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
layoutRect.copy(this.getBoundingRect());
|
|
82
|
-
}
|
|
83
|
-
if (!isLocal) {
|
|
84
|
-
layoutRect.applyTransform(this.transform);
|
|
85
|
-
}
|
|
86
|
-
if (this.calculateTextPosition) {
|
|
87
|
-
this.calculateTextPosition(tmpTextPosCalcRes, textConfig, layoutRect);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
text.calculateTextPosition(tmpTextPosCalcRes, textConfig, layoutRect);
|
|
91
|
-
}
|
|
92
|
-
innerTransformable.x = tmpTextPosCalcRes.x;
|
|
93
|
-
innerTransformable.y = tmpTextPosCalcRes.y;
|
|
94
|
-
textAlign = tmpTextPosCalcRes.align;
|
|
95
|
-
textVerticalAlign = tmpTextPosCalcRes.verticalAlign;
|
|
96
|
-
var textOrigin = textConfig.origin;
|
|
97
|
-
if (textOrigin && textConfig.rotation != null) {
|
|
98
|
-
var relOriginX = void 0;
|
|
99
|
-
var relOriginY = void 0;
|
|
100
|
-
if (textOrigin === 'center') {
|
|
101
|
-
relOriginX = layoutRect.width * 0.5;
|
|
102
|
-
relOriginY = layoutRect.height * 0.5;
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
relOriginX = text.parsePercent(textOrigin[0], layoutRect.width);
|
|
106
|
-
relOriginY = text.parsePercent(textOrigin[1], layoutRect.height);
|
|
107
|
-
}
|
|
108
|
-
innerOrigin = true;
|
|
109
|
-
innerTransformable.originX = -innerTransformable.x + relOriginX + (isLocal ? 0 : layoutRect.x);
|
|
110
|
-
innerTransformable.originY = -innerTransformable.y + relOriginY + (isLocal ? 0 : layoutRect.y);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
if (textConfig.rotation != null) {
|
|
114
|
-
innerTransformable.rotation = textConfig.rotation;
|
|
115
|
-
}
|
|
116
|
-
var textOffset = textConfig.offset;
|
|
117
|
-
if (textOffset) {
|
|
118
|
-
innerTransformable.x += textOffset[0];
|
|
119
|
-
innerTransformable.y += textOffset[1];
|
|
120
|
-
if (!innerOrigin) {
|
|
121
|
-
innerTransformable.originX = -textOffset[0];
|
|
122
|
-
innerTransformable.originY = -textOffset[1];
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
var isInside = textConfig.inside == null
|
|
126
|
-
? (typeof textConfig.position === 'string' && textConfig.position.indexOf('inside') >= 0)
|
|
127
|
-
: textConfig.inside;
|
|
128
|
-
var innerTextDefaultStyle = this._innerTextDefaultStyle || (this._innerTextDefaultStyle = {});
|
|
129
|
-
var textFill = void 0;
|
|
130
|
-
var textStroke = void 0;
|
|
131
|
-
var autoStroke = void 0;
|
|
132
|
-
if (isInside && this.canBeInsideText()) {
|
|
133
|
-
textFill = textConfig.insideFill;
|
|
134
|
-
textStroke = textConfig.insideStroke;
|
|
135
|
-
if (textFill == null || textFill === 'auto') {
|
|
136
|
-
textFill = this.getInsideTextFill();
|
|
137
|
-
}
|
|
138
|
-
if (textStroke == null || textStroke === 'auto') {
|
|
139
|
-
textStroke = this.getInsideTextStroke(textFill);
|
|
140
|
-
autoStroke = true;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
textFill = textConfig.outsideFill;
|
|
145
|
-
textStroke = textConfig.outsideStroke;
|
|
146
|
-
if (textFill == null || textFill === 'auto') {
|
|
147
|
-
textFill = this.getOutsideFill();
|
|
148
|
-
}
|
|
149
|
-
if (textStroke == null || textStroke === 'auto') {
|
|
150
|
-
textStroke = this.getOutsideStroke(textFill);
|
|
151
|
-
autoStroke = true;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
textFill = textFill || '#000';
|
|
155
|
-
if (textFill !== innerTextDefaultStyle.fill
|
|
156
|
-
|| textStroke !== innerTextDefaultStyle.stroke
|
|
157
|
-
|| autoStroke !== innerTextDefaultStyle.autoStroke
|
|
158
|
-
|| textAlign !== innerTextDefaultStyle.align
|
|
159
|
-
|| textVerticalAlign !== innerTextDefaultStyle.verticalAlign) {
|
|
160
|
-
textStyleChanged = true;
|
|
161
|
-
innerTextDefaultStyle.fill = textFill;
|
|
162
|
-
innerTextDefaultStyle.stroke = textStroke;
|
|
163
|
-
innerTextDefaultStyle.autoStroke = autoStroke;
|
|
164
|
-
innerTextDefaultStyle.align = textAlign;
|
|
165
|
-
innerTextDefaultStyle.verticalAlign = textVerticalAlign;
|
|
166
|
-
textEl.setDefaultTextStyle(innerTextDefaultStyle);
|
|
167
|
-
}
|
|
168
|
-
textEl.__dirty |= constants.REDRAW_BIT;
|
|
169
|
-
if (textStyleChanged) {
|
|
170
|
-
textEl.dirtyStyle(true);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
Element.prototype.canBeInsideText = function () {
|
|
175
|
-
return true;
|
|
176
|
-
};
|
|
177
|
-
Element.prototype.getInsideTextFill = function () {
|
|
178
|
-
return '#fff';
|
|
179
|
-
};
|
|
180
|
-
Element.prototype.getInsideTextStroke = function (textFill) {
|
|
181
|
-
return '#000';
|
|
182
|
-
};
|
|
183
|
-
Element.prototype.getOutsideFill = function () {
|
|
184
|
-
return this.__zr && this.__zr.isDarkMode() ? config.LIGHT_LABEL_COLOR : config.DARK_LABEL_COLOR;
|
|
185
|
-
};
|
|
186
|
-
Element.prototype.getOutsideStroke = function (textFill) {
|
|
187
|
-
var backgroundColor = this.__zr && this.__zr.getBackgroundColor();
|
|
188
|
-
var colorArr = typeof backgroundColor === 'string' && color.parse(backgroundColor);
|
|
189
|
-
if (!colorArr) {
|
|
190
|
-
colorArr = [255, 255, 255, 1];
|
|
191
|
-
}
|
|
192
|
-
var alpha = colorArr[3];
|
|
193
|
-
var isDark = this.__zr.isDarkMode();
|
|
194
|
-
for (var i = 0; i < 3; i++) {
|
|
195
|
-
colorArr[i] = colorArr[i] * alpha + (isDark ? 0 : 255) * (1 - alpha);
|
|
196
|
-
}
|
|
197
|
-
colorArr[3] = 1;
|
|
198
|
-
return color.stringify(colorArr, 'rgba');
|
|
199
|
-
};
|
|
200
|
-
Element.prototype.traverse = function (cb, context) { };
|
|
201
|
-
Element.prototype.attrKV = function (key, value) {
|
|
202
|
-
if (key === 'textConfig') {
|
|
203
|
-
this.setTextConfig(value);
|
|
204
|
-
}
|
|
205
|
-
else if (key === 'textContent') {
|
|
206
|
-
this.setTextContent(value);
|
|
207
|
-
}
|
|
208
|
-
else if (key === 'clipPath') {
|
|
209
|
-
this.setClipPath(value);
|
|
210
|
-
}
|
|
211
|
-
else if (key === 'extra') {
|
|
212
|
-
this.extra = this.extra || {};
|
|
213
|
-
util.extend(this.extra, value);
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
this[key] = value;
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
Element.prototype.hide = function () {
|
|
220
|
-
this.ignore = true;
|
|
221
|
-
this.markRedraw();
|
|
222
|
-
};
|
|
223
|
-
Element.prototype.show = function () {
|
|
224
|
-
this.ignore = false;
|
|
225
|
-
this.markRedraw();
|
|
226
|
-
};
|
|
227
|
-
Element.prototype.attr = function (keyOrObj, value) {
|
|
228
|
-
if (typeof keyOrObj === 'string') {
|
|
229
|
-
this.attrKV(keyOrObj, value);
|
|
230
|
-
}
|
|
231
|
-
else if (util.isObject(keyOrObj)) {
|
|
232
|
-
var obj = keyOrObj;
|
|
233
|
-
var keysArr = util.keys(obj);
|
|
234
|
-
for (var i = 0; i < keysArr.length; i++) {
|
|
235
|
-
var key = keysArr[i];
|
|
236
|
-
this.attrKV(key, keyOrObj[key]);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
this.markRedraw();
|
|
240
|
-
return this;
|
|
241
|
-
};
|
|
242
|
-
Element.prototype.saveCurrentToNormalState = function (toState) {
|
|
243
|
-
this._innerSaveToNormal(toState);
|
|
244
|
-
var normalState = this._normalState;
|
|
245
|
-
for (var i = 0; i < this.animators.length; i++) {
|
|
246
|
-
var animator = this.animators[i];
|
|
247
|
-
var fromStateTransition = animator.__fromStateTransition;
|
|
248
|
-
if (animator.getLoop() || fromStateTransition && fromStateTransition !== PRESERVED_NORMAL_STATE) {
|
|
249
|
-
continue;
|
|
250
|
-
}
|
|
251
|
-
var targetName = animator.targetName;
|
|
252
|
-
var target = targetName
|
|
253
|
-
? normalState[targetName] : normalState;
|
|
254
|
-
animator.saveTo(target);
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
Element.prototype._innerSaveToNormal = function (toState) {
|
|
258
|
-
var normalState = this._normalState;
|
|
259
|
-
if (!normalState) {
|
|
260
|
-
normalState = this._normalState = {};
|
|
261
|
-
}
|
|
262
|
-
if (toState.textConfig && !normalState.textConfig) {
|
|
263
|
-
normalState.textConfig = this.textConfig;
|
|
264
|
-
}
|
|
265
|
-
this._savePrimaryToNormal(toState, normalState, PRIMARY_STATES_KEYS);
|
|
266
|
-
};
|
|
267
|
-
Element.prototype._savePrimaryToNormal = function (toState, normalState, primaryKeys) {
|
|
268
|
-
for (var i = 0; i < primaryKeys.length; i++) {
|
|
269
|
-
var key = primaryKeys[i];
|
|
270
|
-
if (toState[key] != null && !(key in normalState)) {
|
|
271
|
-
normalState[key] = this[key];
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
};
|
|
275
|
-
Element.prototype.hasState = function () {
|
|
276
|
-
return this.currentStates.length > 0;
|
|
277
|
-
};
|
|
278
|
-
Element.prototype.getState = function (name) {
|
|
279
|
-
return this.states[name];
|
|
280
|
-
};
|
|
281
|
-
Element.prototype.ensureState = function (name) {
|
|
282
|
-
var states = this.states;
|
|
283
|
-
if (!states[name]) {
|
|
284
|
-
states[name] = {};
|
|
285
|
-
}
|
|
286
|
-
return states[name];
|
|
287
|
-
};
|
|
288
|
-
Element.prototype.clearStates = function (noAnimation) {
|
|
289
|
-
this.useState(PRESERVED_NORMAL_STATE, false, noAnimation);
|
|
290
|
-
};
|
|
291
|
-
Element.prototype.useState = function (stateName, keepCurrentStates, noAnimation, forceUseHoverLayer) {
|
|
292
|
-
var toNormalState = stateName === PRESERVED_NORMAL_STATE;
|
|
293
|
-
var hasStates = this.hasState();
|
|
294
|
-
if (!hasStates && toNormalState) {
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
var currentStates = this.currentStates;
|
|
298
|
-
var animationCfg = this.stateTransition;
|
|
299
|
-
if (util.indexOf(currentStates, stateName) >= 0 && (keepCurrentStates || currentStates.length === 1)) {
|
|
300
|
-
return;
|
|
301
|
-
}
|
|
302
|
-
var state;
|
|
303
|
-
if (this.stateProxy && !toNormalState) {
|
|
304
|
-
state = this.stateProxy(stateName);
|
|
305
|
-
}
|
|
306
|
-
if (!state) {
|
|
307
|
-
state = (this.states && this.states[stateName]);
|
|
308
|
-
}
|
|
309
|
-
if (!state && !toNormalState) {
|
|
310
|
-
util.logError("State " + stateName + " not exists.");
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
if (!toNormalState) {
|
|
314
|
-
this.saveCurrentToNormalState(state);
|
|
315
|
-
}
|
|
316
|
-
var useHoverLayer = !!((state && state.hoverLayer) || forceUseHoverLayer);
|
|
317
|
-
if (useHoverLayer) {
|
|
318
|
-
this._toggleHoverLayerFlag(true);
|
|
319
|
-
}
|
|
320
|
-
this._applyStateObj(stateName, state, this._normalState, keepCurrentStates, !noAnimation && !this.__inHover && animationCfg && animationCfg.duration > 0, animationCfg);
|
|
321
|
-
var textContent = this._textContent;
|
|
322
|
-
var textGuide = this._textGuide;
|
|
323
|
-
if (textContent) {
|
|
324
|
-
textContent.useState(stateName, keepCurrentStates, noAnimation, useHoverLayer);
|
|
325
|
-
}
|
|
326
|
-
if (textGuide) {
|
|
327
|
-
textGuide.useState(stateName, keepCurrentStates, noAnimation, useHoverLayer);
|
|
328
|
-
}
|
|
329
|
-
if (toNormalState) {
|
|
330
|
-
this.currentStates = [];
|
|
331
|
-
this._normalState = {};
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
if (!keepCurrentStates) {
|
|
335
|
-
this.currentStates = [stateName];
|
|
336
|
-
}
|
|
337
|
-
else {
|
|
338
|
-
this.currentStates.push(stateName);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
this._updateAnimationTargets();
|
|
342
|
-
this.markRedraw();
|
|
343
|
-
if (!useHoverLayer && this.__inHover) {
|
|
344
|
-
this._toggleHoverLayerFlag(false);
|
|
345
|
-
this.__dirty &= ~constants.REDRAW_BIT;
|
|
346
|
-
}
|
|
347
|
-
return state;
|
|
348
|
-
};
|
|
349
|
-
Element.prototype.useStates = function (states, noAnimation, forceUseHoverLayer) {
|
|
350
|
-
if (!states.length) {
|
|
351
|
-
this.clearStates();
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
var stateObjects = [];
|
|
355
|
-
var currentStates = this.currentStates;
|
|
356
|
-
var len = states.length;
|
|
357
|
-
var notChange = len === currentStates.length;
|
|
358
|
-
if (notChange) {
|
|
359
|
-
for (var i = 0; i < len; i++) {
|
|
360
|
-
if (states[i] !== currentStates[i]) {
|
|
361
|
-
notChange = false;
|
|
362
|
-
break;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
if (notChange) {
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
for (var i = 0; i < len; i++) {
|
|
370
|
-
var stateName = states[i];
|
|
371
|
-
var stateObj = void 0;
|
|
372
|
-
if (this.stateProxy) {
|
|
373
|
-
stateObj = this.stateProxy(stateName, states);
|
|
374
|
-
}
|
|
375
|
-
if (!stateObj) {
|
|
376
|
-
stateObj = this.states[stateName];
|
|
377
|
-
}
|
|
378
|
-
if (stateObj) {
|
|
379
|
-
stateObjects.push(stateObj);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
var lastStateObj = stateObjects[len - 1];
|
|
383
|
-
var useHoverLayer = !!((lastStateObj && lastStateObj.hoverLayer) || forceUseHoverLayer);
|
|
384
|
-
if (useHoverLayer) {
|
|
385
|
-
this._toggleHoverLayerFlag(true);
|
|
386
|
-
}
|
|
387
|
-
var mergedState = this._mergeStates(stateObjects);
|
|
388
|
-
var animationCfg = this.stateTransition;
|
|
389
|
-
this.saveCurrentToNormalState(mergedState);
|
|
390
|
-
this._applyStateObj(states.join(','), mergedState, this._normalState, false, !noAnimation && !this.__inHover && animationCfg && animationCfg.duration > 0, animationCfg);
|
|
391
|
-
var textContent = this._textContent;
|
|
392
|
-
var textGuide = this._textGuide;
|
|
393
|
-
if (textContent) {
|
|
394
|
-
textContent.useStates(states, noAnimation, useHoverLayer);
|
|
395
|
-
}
|
|
396
|
-
if (textGuide) {
|
|
397
|
-
textGuide.useStates(states, noAnimation, useHoverLayer);
|
|
398
|
-
}
|
|
399
|
-
this._updateAnimationTargets();
|
|
400
|
-
this.currentStates = states.slice();
|
|
401
|
-
this.markRedraw();
|
|
402
|
-
if (!useHoverLayer && this.__inHover) {
|
|
403
|
-
this._toggleHoverLayerFlag(false);
|
|
404
|
-
this.__dirty &= ~constants.REDRAW_BIT;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
Element.prototype.isSilent = function () {
|
|
409
|
-
var isSilent = this.silent;
|
|
410
|
-
var ancestor = this.parent;
|
|
411
|
-
while (!isSilent && ancestor) {
|
|
412
|
-
if (ancestor.silent) {
|
|
413
|
-
isSilent = true;
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
ancestor = ancestor.parent;
|
|
417
|
-
}
|
|
418
|
-
return isSilent;
|
|
419
|
-
};
|
|
420
|
-
Element.prototype._updateAnimationTargets = function () {
|
|
421
|
-
for (var i = 0; i < this.animators.length; i++) {
|
|
422
|
-
var animator = this.animators[i];
|
|
423
|
-
if (animator.targetName) {
|
|
424
|
-
animator.changeTarget(this[animator.targetName]);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
Element.prototype.removeState = function (state) {
|
|
429
|
-
var idx = util.indexOf(this.currentStates, state);
|
|
430
|
-
if (idx >= 0) {
|
|
431
|
-
var currentStates = this.currentStates.slice();
|
|
432
|
-
currentStates.splice(idx, 1);
|
|
433
|
-
this.useStates(currentStates);
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
Element.prototype.replaceState = function (oldState, newState, forceAdd) {
|
|
437
|
-
var currentStates = this.currentStates.slice();
|
|
438
|
-
var idx = util.indexOf(currentStates, oldState);
|
|
439
|
-
var newStateExists = util.indexOf(currentStates, newState) >= 0;
|
|
440
|
-
if (idx >= 0) {
|
|
441
|
-
if (!newStateExists) {
|
|
442
|
-
currentStates[idx] = newState;
|
|
443
|
-
}
|
|
444
|
-
else {
|
|
445
|
-
currentStates.splice(idx, 1);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
else if (forceAdd && !newStateExists) {
|
|
449
|
-
currentStates.push(newState);
|
|
450
|
-
}
|
|
451
|
-
this.useStates(currentStates);
|
|
452
|
-
};
|
|
453
|
-
Element.prototype.toggleState = function (state, enable) {
|
|
454
|
-
if (enable) {
|
|
455
|
-
this.useState(state, true);
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
this.removeState(state);
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
Element.prototype._mergeStates = function (states) {
|
|
462
|
-
var mergedState = {};
|
|
463
|
-
var mergedTextConfig;
|
|
464
|
-
for (var i = 0; i < states.length; i++) {
|
|
465
|
-
var state = states[i];
|
|
466
|
-
util.extend(mergedState, state);
|
|
467
|
-
if (state.textConfig) {
|
|
468
|
-
mergedTextConfig = mergedTextConfig || {};
|
|
469
|
-
util.extend(mergedTextConfig, state.textConfig);
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
if (mergedTextConfig) {
|
|
473
|
-
mergedState.textConfig = mergedTextConfig;
|
|
474
|
-
}
|
|
475
|
-
return mergedState;
|
|
476
|
-
};
|
|
477
|
-
Element.prototype._applyStateObj = function (stateName, state, normalState, keepCurrentStates, transition, animationCfg) {
|
|
478
|
-
var needsRestoreToNormal = !(state && keepCurrentStates);
|
|
479
|
-
if (state && state.textConfig) {
|
|
480
|
-
this.textConfig = util.extend({}, keepCurrentStates ? this.textConfig : normalState.textConfig);
|
|
481
|
-
util.extend(this.textConfig, state.textConfig);
|
|
482
|
-
}
|
|
483
|
-
else if (needsRestoreToNormal) {
|
|
484
|
-
if (normalState.textConfig) {
|
|
485
|
-
this.textConfig = normalState.textConfig;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
var transitionTarget = {};
|
|
489
|
-
var hasTransition = false;
|
|
490
|
-
for (var i = 0; i < PRIMARY_STATES_KEYS.length; i++) {
|
|
491
|
-
var key = PRIMARY_STATES_KEYS[i];
|
|
492
|
-
var propNeedsTransition = transition && DEFAULT_ANIMATABLE_MAP[key];
|
|
493
|
-
if (state && state[key] != null) {
|
|
494
|
-
if (propNeedsTransition) {
|
|
495
|
-
hasTransition = true;
|
|
496
|
-
transitionTarget[key] = state[key];
|
|
497
|
-
}
|
|
498
|
-
else {
|
|
499
|
-
this[key] = state[key];
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
else if (needsRestoreToNormal) {
|
|
503
|
-
if (normalState[key] != null) {
|
|
504
|
-
if (propNeedsTransition) {
|
|
505
|
-
hasTransition = true;
|
|
506
|
-
transitionTarget[key] = normalState[key];
|
|
507
|
-
}
|
|
508
|
-
else {
|
|
509
|
-
this[key] = normalState[key];
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
if (!transition) {
|
|
515
|
-
for (var i = 0; i < this.animators.length; i++) {
|
|
516
|
-
var animator = this.animators[i];
|
|
517
|
-
var targetName = animator.targetName;
|
|
518
|
-
if (!animator.getLoop()) {
|
|
519
|
-
animator.__changeFinalValue(targetName
|
|
520
|
-
? (state || normalState)[targetName]
|
|
521
|
-
: (state || normalState));
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
if (hasTransition) {
|
|
526
|
-
this._transitionState(stateName, transitionTarget, animationCfg);
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
|
-
Element.prototype._attachComponent = function (componentEl) {
|
|
530
|
-
if (componentEl.__zr && !componentEl.__hostTarget) {
|
|
531
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
532
|
-
throw new Error('Text element has been added to zrender.');
|
|
533
|
-
}
|
|
534
|
-
return;
|
|
535
|
-
}
|
|
536
|
-
if (componentEl === this) {
|
|
537
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
538
|
-
throw new Error('Recursive component attachment.');
|
|
539
|
-
}
|
|
540
|
-
return;
|
|
541
|
-
}
|
|
542
|
-
var zr = this.__zr;
|
|
543
|
-
if (zr) {
|
|
544
|
-
componentEl.addSelfToZr(zr);
|
|
545
|
-
}
|
|
546
|
-
componentEl.__zr = zr;
|
|
547
|
-
componentEl.__hostTarget = this;
|
|
548
|
-
};
|
|
549
|
-
Element.prototype._detachComponent = function (componentEl) {
|
|
550
|
-
if (componentEl.__zr) {
|
|
551
|
-
componentEl.removeSelfFromZr(componentEl.__zr);
|
|
552
|
-
}
|
|
553
|
-
componentEl.__zr = null;
|
|
554
|
-
componentEl.__hostTarget = null;
|
|
555
|
-
};
|
|
556
|
-
Element.prototype.getClipPath = function () {
|
|
557
|
-
return this._clipPath;
|
|
558
|
-
};
|
|
559
|
-
Element.prototype.setClipPath = function (clipPath) {
|
|
560
|
-
if (this._clipPath && this._clipPath !== clipPath) {
|
|
561
|
-
this.removeClipPath();
|
|
562
|
-
}
|
|
563
|
-
this._attachComponent(clipPath);
|
|
564
|
-
this._clipPath = clipPath;
|
|
565
|
-
this.markRedraw();
|
|
566
|
-
};
|
|
567
|
-
Element.prototype.removeClipPath = function () {
|
|
568
|
-
var clipPath = this._clipPath;
|
|
569
|
-
if (clipPath) {
|
|
570
|
-
this._detachComponent(clipPath);
|
|
571
|
-
this._clipPath = null;
|
|
572
|
-
this.markRedraw();
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
Element.prototype.getTextContent = function () {
|
|
576
|
-
return this._textContent;
|
|
577
|
-
};
|
|
578
|
-
Element.prototype.setTextContent = function (textEl) {
|
|
579
|
-
var previousTextContent = this._textContent;
|
|
580
|
-
if (previousTextContent === textEl) {
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
if (previousTextContent && previousTextContent !== textEl) {
|
|
584
|
-
this.removeTextContent();
|
|
585
|
-
}
|
|
586
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
587
|
-
if (textEl.__zr && !textEl.__hostTarget) {
|
|
588
|
-
throw new Error('Text element has been added to zrender.');
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
textEl.innerTransformable = new Transformable["default"]();
|
|
592
|
-
this._attachComponent(textEl);
|
|
593
|
-
this._textContent = textEl;
|
|
594
|
-
this.markRedraw();
|
|
595
|
-
};
|
|
596
|
-
Element.prototype.setTextConfig = function (cfg) {
|
|
597
|
-
if (!this.textConfig) {
|
|
598
|
-
this.textConfig = {};
|
|
599
|
-
}
|
|
600
|
-
util.extend(this.textConfig, cfg);
|
|
601
|
-
this.markRedraw();
|
|
602
|
-
};
|
|
603
|
-
Element.prototype.removeTextConfig = function () {
|
|
604
|
-
this.textConfig = null;
|
|
605
|
-
this.markRedraw();
|
|
606
|
-
};
|
|
607
|
-
Element.prototype.removeTextContent = function () {
|
|
608
|
-
var textEl = this._textContent;
|
|
609
|
-
if (textEl) {
|
|
610
|
-
textEl.innerTransformable = null;
|
|
611
|
-
this._detachComponent(textEl);
|
|
612
|
-
this._textContent = null;
|
|
613
|
-
this._innerTextDefaultStyle = null;
|
|
614
|
-
this.markRedraw();
|
|
615
|
-
}
|
|
616
|
-
};
|
|
617
|
-
Element.prototype.getTextGuideLine = function () {
|
|
618
|
-
return this._textGuide;
|
|
619
|
-
};
|
|
620
|
-
Element.prototype.setTextGuideLine = function (guideLine) {
|
|
621
|
-
if (this._textGuide && this._textGuide !== guideLine) {
|
|
622
|
-
this.removeTextGuideLine();
|
|
623
|
-
}
|
|
624
|
-
this._attachComponent(guideLine);
|
|
625
|
-
this._textGuide = guideLine;
|
|
626
|
-
this.markRedraw();
|
|
627
|
-
};
|
|
628
|
-
Element.prototype.removeTextGuideLine = function () {
|
|
629
|
-
var textGuide = this._textGuide;
|
|
630
|
-
if (textGuide) {
|
|
631
|
-
this._detachComponent(textGuide);
|
|
632
|
-
this._textGuide = null;
|
|
633
|
-
this.markRedraw();
|
|
634
|
-
}
|
|
635
|
-
};
|
|
636
|
-
Element.prototype.markRedraw = function () {
|
|
637
|
-
this.__dirty |= constants.REDRAW_BIT;
|
|
638
|
-
var zr = this.__zr;
|
|
639
|
-
if (zr) {
|
|
640
|
-
if (this.__inHover) {
|
|
641
|
-
zr.refreshHover();
|
|
642
|
-
}
|
|
643
|
-
else {
|
|
644
|
-
zr.refresh();
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
if (this.__hostTarget) {
|
|
648
|
-
this.__hostTarget.markRedraw();
|
|
649
|
-
}
|
|
650
|
-
};
|
|
651
|
-
Element.prototype.dirty = function () {
|
|
652
|
-
this.markRedraw();
|
|
653
|
-
};
|
|
654
|
-
Element.prototype._toggleHoverLayerFlag = function (inHover) {
|
|
655
|
-
this.__inHover = inHover;
|
|
656
|
-
var textContent = this._textContent;
|
|
657
|
-
var textGuide = this._textGuide;
|
|
658
|
-
if (textContent) {
|
|
659
|
-
textContent.__inHover = inHover;
|
|
660
|
-
}
|
|
661
|
-
if (textGuide) {
|
|
662
|
-
textGuide.__inHover = inHover;
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
Element.prototype.addSelfToZr = function (zr) {
|
|
666
|
-
if (this.__zr === zr) {
|
|
667
|
-
return;
|
|
668
|
-
}
|
|
669
|
-
this.__zr = zr;
|
|
670
|
-
var animators = this.animators;
|
|
671
|
-
if (animators) {
|
|
672
|
-
for (var i = 0; i < animators.length; i++) {
|
|
673
|
-
zr.animation.addAnimator(animators[i]);
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
if (this._clipPath) {
|
|
677
|
-
this._clipPath.addSelfToZr(zr);
|
|
678
|
-
}
|
|
679
|
-
if (this._textContent) {
|
|
680
|
-
this._textContent.addSelfToZr(zr);
|
|
681
|
-
}
|
|
682
|
-
if (this._textGuide) {
|
|
683
|
-
this._textGuide.addSelfToZr(zr);
|
|
684
|
-
}
|
|
685
|
-
};
|
|
686
|
-
Element.prototype.removeSelfFromZr = function (zr) {
|
|
687
|
-
if (!this.__zr) {
|
|
688
|
-
return;
|
|
689
|
-
}
|
|
690
|
-
this.__zr = null;
|
|
691
|
-
var animators = this.animators;
|
|
692
|
-
if (animators) {
|
|
693
|
-
for (var i = 0; i < animators.length; i++) {
|
|
694
|
-
zr.animation.removeAnimator(animators[i]);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
if (this._clipPath) {
|
|
698
|
-
this._clipPath.removeSelfFromZr(zr);
|
|
699
|
-
}
|
|
700
|
-
if (this._textContent) {
|
|
701
|
-
this._textContent.removeSelfFromZr(zr);
|
|
702
|
-
}
|
|
703
|
-
if (this._textGuide) {
|
|
704
|
-
this._textGuide.removeSelfFromZr(zr);
|
|
705
|
-
}
|
|
706
|
-
};
|
|
707
|
-
Element.prototype.animate = function (key, loop, allowDiscreteAnimation) {
|
|
708
|
-
var target = key ? this[key] : this;
|
|
709
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
710
|
-
if (!target) {
|
|
711
|
-
util.logError('Property "'
|
|
712
|
-
+ key
|
|
713
|
-
+ '" is not existed in element '
|
|
714
|
-
+ this.id);
|
|
715
|
-
return;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
var animator = new Animator["default"](target, loop, allowDiscreteAnimation);
|
|
719
|
-
key && (animator.targetName = key);
|
|
720
|
-
this.addAnimator(animator, key);
|
|
721
|
-
return animator;
|
|
722
|
-
};
|
|
723
|
-
Element.prototype.addAnimator = function (animator, key) {
|
|
724
|
-
var zr = this.__zr;
|
|
725
|
-
var el = this;
|
|
726
|
-
animator.during(function () {
|
|
727
|
-
el.updateDuringAnimation(key);
|
|
728
|
-
}).done(function () {
|
|
729
|
-
var animators = el.animators;
|
|
730
|
-
var idx = util.indexOf(animators, animator);
|
|
731
|
-
if (idx >= 0) {
|
|
732
|
-
animators.splice(idx, 1);
|
|
733
|
-
}
|
|
734
|
-
});
|
|
735
|
-
this.animators.push(animator);
|
|
736
|
-
if (zr) {
|
|
737
|
-
zr.animation.addAnimator(animator);
|
|
738
|
-
}
|
|
739
|
-
zr && zr.wakeUp();
|
|
740
|
-
};
|
|
741
|
-
Element.prototype.updateDuringAnimation = function (key) {
|
|
742
|
-
this.markRedraw();
|
|
743
|
-
};
|
|
744
|
-
Element.prototype.stopAnimation = function (scope, forwardToLast) {
|
|
745
|
-
var animators = this.animators;
|
|
746
|
-
var len = animators.length;
|
|
747
|
-
var leftAnimators = [];
|
|
748
|
-
for (var i = 0; i < len; i++) {
|
|
749
|
-
var animator = animators[i];
|
|
750
|
-
if (!scope || scope === animator.scope) {
|
|
751
|
-
animator.stop(forwardToLast);
|
|
752
|
-
}
|
|
753
|
-
else {
|
|
754
|
-
leftAnimators.push(animator);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
this.animators = leftAnimators;
|
|
758
|
-
return this;
|
|
759
|
-
};
|
|
760
|
-
Element.prototype.animateTo = function (target, cfg, animationProps) {
|
|
761
|
-
animateTo(this, target, cfg, animationProps);
|
|
762
|
-
};
|
|
763
|
-
Element.prototype.animateFrom = function (target, cfg, animationProps) {
|
|
764
|
-
animateTo(this, target, cfg, animationProps, true);
|
|
765
|
-
};
|
|
766
|
-
Element.prototype._transitionState = function (stateName, target, cfg, animationProps) {
|
|
767
|
-
var animators = animateTo(this, target, cfg, animationProps);
|
|
768
|
-
for (var i = 0; i < animators.length; i++) {
|
|
769
|
-
animators[i].__fromStateTransition = stateName;
|
|
770
|
-
}
|
|
771
|
-
};
|
|
772
|
-
Element.prototype.getBoundingRect = function () {
|
|
773
|
-
return null;
|
|
774
|
-
};
|
|
775
|
-
Element.prototype.getPaintRect = function () {
|
|
776
|
-
return null;
|
|
777
|
-
};
|
|
778
|
-
Element.initDefaultProps = (function () {
|
|
779
|
-
var elProto = Element.prototype;
|
|
780
|
-
elProto.type = 'element';
|
|
781
|
-
elProto.name = '';
|
|
782
|
-
elProto.ignore =
|
|
783
|
-
elProto.silent =
|
|
784
|
-
elProto.isGroup =
|
|
785
|
-
elProto.draggable =
|
|
786
|
-
elProto.dragging =
|
|
787
|
-
elProto.ignoreClip =
|
|
788
|
-
elProto.__inHover = false;
|
|
789
|
-
elProto.__dirty = constants.REDRAW_BIT;
|
|
790
|
-
var logs = {};
|
|
791
|
-
function logDeprecatedError(key, xKey, yKey) {
|
|
792
|
-
if (!logs[key + xKey + yKey]) {
|
|
793
|
-
console.warn("DEPRECATED: '" + key + "' has been deprecated. use '" + xKey + "', '" + yKey + "' instead");
|
|
794
|
-
logs[key + xKey + yKey] = true;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
function createLegacyProperty(key, privateKey, xKey, yKey) {
|
|
798
|
-
Object.defineProperty(elProto, key, {
|
|
799
|
-
get: function () {
|
|
800
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
801
|
-
logDeprecatedError(key, xKey, yKey);
|
|
802
|
-
}
|
|
803
|
-
if (!this[privateKey]) {
|
|
804
|
-
var pos = this[privateKey] = [];
|
|
805
|
-
enhanceArray(this, pos);
|
|
806
|
-
}
|
|
807
|
-
return this[privateKey];
|
|
808
|
-
},
|
|
809
|
-
set: function (pos) {
|
|
810
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
811
|
-
logDeprecatedError(key, xKey, yKey);
|
|
812
|
-
}
|
|
813
|
-
this[xKey] = pos[0];
|
|
814
|
-
this[yKey] = pos[1];
|
|
815
|
-
this[privateKey] = pos;
|
|
816
|
-
enhanceArray(this, pos);
|
|
817
|
-
}
|
|
818
|
-
});
|
|
819
|
-
function enhanceArray(self, pos) {
|
|
820
|
-
Object.defineProperty(pos, 0, {
|
|
821
|
-
get: function () {
|
|
822
|
-
return self[xKey];
|
|
823
|
-
},
|
|
824
|
-
set: function (val) {
|
|
825
|
-
self[xKey] = val;
|
|
826
|
-
}
|
|
827
|
-
});
|
|
828
|
-
Object.defineProperty(pos, 1, {
|
|
829
|
-
get: function () {
|
|
830
|
-
return self[yKey];
|
|
831
|
-
},
|
|
832
|
-
set: function (val) {
|
|
833
|
-
self[yKey] = val;
|
|
834
|
-
}
|
|
835
|
-
});
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
if (Object.defineProperty) {
|
|
839
|
-
createLegacyProperty('position', '_legacyPos', 'x', 'y');
|
|
840
|
-
createLegacyProperty('scale', '_legacyScale', 'scaleX', 'scaleY');
|
|
841
|
-
createLegacyProperty('origin', '_legacyOrigin', 'originX', 'originY');
|
|
842
|
-
}
|
|
843
|
-
})();
|
|
844
|
-
return Element;
|
|
845
|
-
}());
|
|
846
|
-
util.mixin(Element, Eventful["default"]);
|
|
847
|
-
util.mixin(Element, Transformable["default"]);
|
|
848
|
-
function animateTo(animatable, target, cfg, animationProps, reverse) {
|
|
849
|
-
cfg = cfg || {};
|
|
850
|
-
var animators = [];
|
|
851
|
-
animateToShallow(animatable, '', animatable, target, cfg, animationProps, animators, reverse);
|
|
852
|
-
var finishCount = animators.length;
|
|
853
|
-
var doneHappened = false;
|
|
854
|
-
var cfgDone = cfg.done;
|
|
855
|
-
var cfgAborted = cfg.aborted;
|
|
856
|
-
var doneCb = function () {
|
|
857
|
-
doneHappened = true;
|
|
858
|
-
finishCount--;
|
|
859
|
-
if (finishCount <= 0) {
|
|
860
|
-
doneHappened
|
|
861
|
-
? (cfgDone && cfgDone())
|
|
862
|
-
: (cfgAborted && cfgAborted());
|
|
863
|
-
}
|
|
864
|
-
};
|
|
865
|
-
var abortedCb = function () {
|
|
866
|
-
finishCount--;
|
|
867
|
-
if (finishCount <= 0) {
|
|
868
|
-
doneHappened
|
|
869
|
-
? (cfgDone && cfgDone())
|
|
870
|
-
: (cfgAborted && cfgAborted());
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
if (!finishCount) {
|
|
874
|
-
cfgDone && cfgDone();
|
|
875
|
-
}
|
|
876
|
-
if (animators.length > 0 && cfg.during) {
|
|
877
|
-
animators[0].during(function (target, percent) {
|
|
878
|
-
cfg.during(percent);
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
for (var i = 0; i < animators.length; i++) {
|
|
882
|
-
var animator = animators[i];
|
|
883
|
-
if (doneCb) {
|
|
884
|
-
animator.done(doneCb);
|
|
885
|
-
}
|
|
886
|
-
if (abortedCb) {
|
|
887
|
-
animator.aborted(abortedCb);
|
|
888
|
-
}
|
|
889
|
-
if (cfg.force) {
|
|
890
|
-
animator.duration(cfg.duration);
|
|
891
|
-
}
|
|
892
|
-
animator.start(cfg.easing);
|
|
893
|
-
}
|
|
894
|
-
return animators;
|
|
895
|
-
}
|
|
896
|
-
function copyArrShallow(source, target, len) {
|
|
897
|
-
for (var i = 0; i < len; i++) {
|
|
898
|
-
source[i] = target[i];
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
function is2DArray(value) {
|
|
902
|
-
return util.isArrayLike(value[0]);
|
|
903
|
-
}
|
|
904
|
-
function copyValue(target, source, key) {
|
|
905
|
-
if (util.isArrayLike(source[key])) {
|
|
906
|
-
if (!util.isArrayLike(target[key])) {
|
|
907
|
-
target[key] = [];
|
|
908
|
-
}
|
|
909
|
-
if (util.isTypedArray(source[key])) {
|
|
910
|
-
var len = source[key].length;
|
|
911
|
-
if (target[key].length !== len) {
|
|
912
|
-
target[key] = new (source[key].constructor)(len);
|
|
913
|
-
copyArrShallow(target[key], source[key], len);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
else {
|
|
917
|
-
var sourceArr = source[key];
|
|
918
|
-
var targetArr = target[key];
|
|
919
|
-
var len0 = sourceArr.length;
|
|
920
|
-
if (is2DArray(sourceArr)) {
|
|
921
|
-
var len1 = sourceArr[0].length;
|
|
922
|
-
for (var i = 0; i < len0; i++) {
|
|
923
|
-
if (!targetArr[i]) {
|
|
924
|
-
targetArr[i] = Array.prototype.slice.call(sourceArr[i]);
|
|
925
|
-
}
|
|
926
|
-
else {
|
|
927
|
-
copyArrShallow(targetArr[i], sourceArr[i], len1);
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
else {
|
|
932
|
-
copyArrShallow(targetArr, sourceArr, len0);
|
|
933
|
-
}
|
|
934
|
-
targetArr.length = sourceArr.length;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
else {
|
|
938
|
-
target[key] = source[key];
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
function isValueSame(val1, val2) {
|
|
942
|
-
return val1 === val2
|
|
943
|
-
|| util.isArrayLike(val1) && util.isArrayLike(val2) && is1DArraySame(val1, val2);
|
|
944
|
-
}
|
|
945
|
-
function is1DArraySame(arr0, arr1) {
|
|
946
|
-
var len = arr0.length;
|
|
947
|
-
if (len !== arr1.length) {
|
|
948
|
-
return false;
|
|
949
|
-
}
|
|
950
|
-
for (var i = 0; i < len; i++) {
|
|
951
|
-
if (arr0[i] !== arr1[i]) {
|
|
952
|
-
return false;
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
return true;
|
|
956
|
-
}
|
|
957
|
-
function animateToShallow(animatable, topKey, animateObj, target, cfg, animationProps, animators, reverse) {
|
|
958
|
-
var targetKeys = util.keys(target);
|
|
959
|
-
var duration = cfg.duration;
|
|
960
|
-
var delay = cfg.delay;
|
|
961
|
-
var additive = cfg.additive;
|
|
962
|
-
var setToFinal = cfg.setToFinal;
|
|
963
|
-
var animateAll = !util.isObject(animationProps);
|
|
964
|
-
var existsAnimators = animatable.animators;
|
|
965
|
-
var animationKeys = [];
|
|
966
|
-
for (var k = 0; k < targetKeys.length; k++) {
|
|
967
|
-
var innerKey = targetKeys[k];
|
|
968
|
-
var targetVal = target[innerKey];
|
|
969
|
-
if (targetVal != null && animateObj[innerKey] != null
|
|
970
|
-
&& (animateAll || animationProps[innerKey])) {
|
|
971
|
-
if (util.isObject(targetVal)
|
|
972
|
-
&& !util.isArrayLike(targetVal)
|
|
973
|
-
&& !util.isGradientObject(targetVal)) {
|
|
974
|
-
if (topKey) {
|
|
975
|
-
if (!reverse) {
|
|
976
|
-
animateObj[innerKey] = targetVal;
|
|
977
|
-
animatable.updateDuringAnimation(topKey);
|
|
978
|
-
}
|
|
979
|
-
continue;
|
|
980
|
-
}
|
|
981
|
-
animateToShallow(animatable, innerKey, animateObj[innerKey], targetVal, cfg, animationProps && animationProps[innerKey], animators, reverse);
|
|
982
|
-
}
|
|
983
|
-
else {
|
|
984
|
-
animationKeys.push(innerKey);
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
else if (!reverse) {
|
|
988
|
-
animateObj[innerKey] = targetVal;
|
|
989
|
-
animatable.updateDuringAnimation(topKey);
|
|
990
|
-
animationKeys.push(innerKey);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
var keyLen = animationKeys.length;
|
|
994
|
-
if (!additive && keyLen) {
|
|
995
|
-
for (var i = 0; i < existsAnimators.length; i++) {
|
|
996
|
-
var animator = existsAnimators[i];
|
|
997
|
-
if (animator.targetName === topKey) {
|
|
998
|
-
var allAborted = animator.stopTracks(animationKeys);
|
|
999
|
-
if (allAborted) {
|
|
1000
|
-
var idx = util.indexOf(existsAnimators, animator);
|
|
1001
|
-
existsAnimators.splice(idx, 1);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
if (!cfg.force) {
|
|
1007
|
-
animationKeys = util.filter(animationKeys, function (key) { return !isValueSame(target[key], animateObj[key]); });
|
|
1008
|
-
keyLen = animationKeys.length;
|
|
1009
|
-
}
|
|
1010
|
-
if (keyLen > 0
|
|
1011
|
-
|| (cfg.force && !animators.length)) {
|
|
1012
|
-
var revertedSource = void 0;
|
|
1013
|
-
var reversedTarget = void 0;
|
|
1014
|
-
var sourceClone = void 0;
|
|
1015
|
-
if (reverse) {
|
|
1016
|
-
reversedTarget = {};
|
|
1017
|
-
if (setToFinal) {
|
|
1018
|
-
revertedSource = {};
|
|
1019
|
-
}
|
|
1020
|
-
for (var i = 0; i < keyLen; i++) {
|
|
1021
|
-
var innerKey = animationKeys[i];
|
|
1022
|
-
reversedTarget[innerKey] = animateObj[innerKey];
|
|
1023
|
-
if (setToFinal) {
|
|
1024
|
-
revertedSource[innerKey] = target[innerKey];
|
|
1025
|
-
}
|
|
1026
|
-
else {
|
|
1027
|
-
animateObj[innerKey] = target[innerKey];
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
else if (setToFinal) {
|
|
1032
|
-
sourceClone = {};
|
|
1033
|
-
for (var i = 0; i < keyLen; i++) {
|
|
1034
|
-
var innerKey = animationKeys[i];
|
|
1035
|
-
sourceClone[innerKey] = Animator.cloneValue(animateObj[innerKey]);
|
|
1036
|
-
copyValue(animateObj, target, innerKey);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
var animator = new Animator["default"](animateObj, false, false, additive ? util.filter(existsAnimators, function (animator) { return animator.targetName === topKey; }) : null);
|
|
1040
|
-
animator.targetName = topKey;
|
|
1041
|
-
if (cfg.scope) {
|
|
1042
|
-
animator.scope = cfg.scope;
|
|
1043
|
-
}
|
|
1044
|
-
if (setToFinal && revertedSource) {
|
|
1045
|
-
animator.whenWithKeys(0, revertedSource, animationKeys);
|
|
1046
|
-
}
|
|
1047
|
-
if (sourceClone) {
|
|
1048
|
-
animator.whenWithKeys(0, sourceClone, animationKeys);
|
|
1049
|
-
}
|
|
1050
|
-
animator.whenWithKeys(duration == null ? 500 : duration, reverse ? reversedTarget : target, animationKeys).delay(delay || 0);
|
|
1051
|
-
animatable.addAnimator(animator, topKey);
|
|
1052
|
-
animators.push(animator);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
var Element$1 = Element;
|
|
1056
|
-
|
|
1057
|
-
exports.PRESERVED_NORMAL_STATE = PRESERVED_NORMAL_STATE;
|
|
1058
|
-
exports["default"] = Element$1;
|