@templmf/temp-solf-lmf 0.0.95 → 0.0.97
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/all-new2/@antv/scale@0.4.16/es2022/scale.mjs +3 -0
- package/all-new2/@antv/util@2.0.17/es2022/util.mjs +3 -0
- package/all-new2/@antv/util@3.3.7/es2022/util.mjs +3 -0
- package/all-new2/color-name@1.0.0/es2022/color-name.mjs +150 -0
- package/all-new2/color-name@^1.0.0 +3 -0
- package/all-new2/color-string@1.5.5/es2022/color-string.mjs +4 -0
- package/all-new2/color-string@^1.5.5 +5 -0
- package/all-new2/fecha@4.2.1/es2022/fecha.mjs +3 -0
- package/all-new2/fecha@^4.2.1 +3 -0
- package/all-new2/gl-matrix@3.3.0/es2022/gl-matrix.mjs +3 -0
- package/all-new2/gl-matrix@3.4.3/es2022/gl-matrix.mjs +3 -0
- package/package.json +1 -1
- package/@antv/algorithm@0.1.26/es2022/algorithm.mjs +0 -3
- package/@antv/algorithm@^0.1.26 +0 -5
- package/@antv/component@2.1.7/es2022/component.mjs +0 -15
- package/@antv/component@2.1.7/es2022/esm/animation.mjs +0 -3
- package/@antv/component@2.1.7/es2022/esm/core.mjs +0 -3
- package/@antv/component@2.1.7/es2022/esm/ui/axis/utils.mjs +0 -3
- package/@antv/component@2.1.7/es2022/esm/util/layout.mjs +0 -3
- package/@antv/component@^2.1.7 +0 -11
- package/@antv/event-emitter@0.1.3/es2022/event-emitter.mjs +0 -3
- package/@antv/event-emitter@^0.1.3 +0 -3
- package/@antv/g-camera-api@2.0.41/es2022/g-camera-api.mjs +0 -15
- package/@antv/g-canvas@2.0.48/es2022/g-canvas.mjs +0 -18
- package/@antv/g-canvas@^2.0.48 +0 -6
- package/@antv/g-dom-mutation-observer-api@2.0.38/es2022/g-dom-mutation-observer-api.mjs +0 -15
- package/@antv/g-lite@2.3.2/es2022/g-lite.mjs +0 -22
- package/@antv/g-math@3.0.1/es2022/g-math.mjs +0 -17
- package/@antv/g-plugin-canvas-path-generator@2.1.22/es2022/g-plugin-canvas-path-generator.mjs +0 -16
- package/@antv/g-plugin-canvas-picker@2.1.27/es2022/g-plugin-canvas-picker.mjs +0 -20
- package/@antv/g-plugin-canvas-renderer@2.3.3/es2022/g-plugin-canvas-renderer.mjs +0 -17
- package/@antv/g-plugin-dom-interaction@2.1.27/es2022/g-plugin-dom-interaction.mjs +0 -15
- package/@antv/g-plugin-dragndrop@2.0.38/es2022/g-plugin-dragndrop.mjs +0 -18
- package/@antv/g-plugin-dragndrop@^2.0.38 +0 -4
- package/@antv/g-plugin-html-renderer@2.1.27/es2022/g-plugin-html-renderer.mjs +0 -15
- package/@antv/g-plugin-image-loader@2.1.26/es2022/g-plugin-image-loader.mjs +0 -19
- package/@antv/g-web-animations-api@2.1.28/es2022/g-web-animations-api.mjs +0 -17
- package/@antv/g6@5.1.1/es2022/g6.mjs +0 -125
- package/@antv/g@6.1.28/es2022/g.mjs +0 -15
- package/@antv/g@^6.1.11 +0 -6
- package/@antv/g@^6.1.28 +0 -6
- package/@antv/graphlib@2.0.4/es2022/graphlib.mjs +0 -3
- package/@antv/graphlib@^2.0.4 +0 -3
- package/@antv/hierarchy@0.7.1/es2022/hierarchy.mjs +0 -3
- package/@antv/hierarchy@^0.7.1 +0 -3
- package/@antv/layout@2.0.0/es2022/layout.mjs +0 -20
- package/@antv/layout@^2.0.0 +0 -2
- package/@antv/scale@^0.4.16 +0 -5
- package/@antv/util@3.3.11/es2022/util.mjs +0 -3
- package/@antv/util@^2.0.13 +0 -3
- package/@antv/util@^3.3.11 +0 -4
- package/@antv/util@^3.3.5 +0 -4
- package/animate.css@4.1.1/animate.css +0 -4072
- package/bubblesets-js@2.3.4/es2022/bubblesets-js.mjs +0 -4
- package/echarts +0 -8
- package/echarts@6.0.0/es2022/echarts.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/animation/basicTransition.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/animation/customGraphicKeyframeAnimation.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/animation/customGraphicTransition.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/animation/morphTransitionHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/animation/universalTransition.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/BarSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/BarView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/BaseBarSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/bar/installPictorialBar.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotTransform.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/boxplot/prepareBoxplotData.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/candlestick/preprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordEdge.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/chord/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/custom/CustomView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/custom/customSeriesRegister.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/custom/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/funnel/funnelLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/funnel/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/gauge/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/adjustEdge.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryFilter.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/circularLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/createView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/edgeVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/forceHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/forceLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/graphHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayoutHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapLayer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/heatmap/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectLine.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectSymbol.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/LargeLineDraw.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/Line.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/LineDraw.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/LinePath.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/Polyline.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/Symbol.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/SymbolDraw.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/createClipPathFromCoordSys.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/createRenderPlanner.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesData.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesDataSimply.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/enableAriaDecalForTree.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/labelHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/multipleGraphEdgeHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/treeHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/helper/whiskerBoxCommon.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/LineSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/LineView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/lineAnimationDiff.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/line/poly.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/lines/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/lines/linesLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/lines/linesVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/map/MapSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/map/MapView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/map/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/map/mapDataStatistic.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/map/mapSymbolLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/parallel/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/parallel/parallelVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/pie/PieSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/pie/PieView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/pie/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/pie/pieLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/radar/backwardCompat.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/radar/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/radar/radarLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeySeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeyView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sankey/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/scatter/ScatterSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/scatter/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/scatter/jitterLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstPiece.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/themeRiverLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/layoutHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/treeAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/tree/treeVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/Breadcrumb.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapVisual.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/aria/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/aria/preprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/AngleAxisView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/AxisBuilder.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/CartesianAxisView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/ParallelAxisView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/RadiusAxisView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/SingleAxisView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/axisAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelperImpl.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/axisSplitHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/installBreak.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axis/parallelAxisAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/BaseAxisPointer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/CartesianAxisPointer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/PolarAxisPointer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/SingleAxisPointer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/axisTrigger.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/findPointFromSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/globalListener.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/modelHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/axisPointer/viewHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/BrushModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/BrushView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/preprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/selector.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/brush/visualEncoding.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/calendar/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/DataZoomModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomProcessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/history.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installCommon.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomInside.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomSlider.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataZoom/roams.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/dataset/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/geo/GeoView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/geo/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/graphic/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/grid/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/grid/installSimple.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/BrushTargetManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/MapDraw.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/RoamController.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/brushHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/cursorHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/interactionMutex.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/listComponent.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/sliderMove.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/helper/thumbnailBridge.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/LegendModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/LegendView.mjs +0 -4
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendPlain.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendScroll.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/legendAction.mjs +0 -4
- package/echarts@6.0.0/es2022/lib/component/legend/legendFilter.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/legend/scrollableLegendAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/checkMarkerInSeries.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkArea.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkLine.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkPoint.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/marker/markerHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/matrix/MatrixView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/matrix/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/parallel/ParallelView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/parallel/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/polar/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/radar/RadarView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/radar/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/singleAxis/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailBridgeImpl.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/thumbnail/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineAxis.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/preprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/timeline/timelineAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/title/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Brush.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataView.mjs +0 -20
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataZoom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/MagicType.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Restore.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/SaveAsImage.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/featureManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/toolbox/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipHTMLContent.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipRichContent.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipView.mjs +0 -5
- package/echarts@6.0.0/es2022/lib/component/tooltip/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/seriesFormatTooltip.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/tooltip/tooltipMarkup.mjs +0 -9
- package/echarts@6.0.0/es2022/lib/component/transform/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/transform/sortTransform.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/ContinuousView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapView.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/install.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/installCommon.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapContinuous.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapPiecewise.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/preprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualEncoding.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualMapAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/Axis.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/CoordinateSystem.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/View.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/axisAlignTicks.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/axisCommonTypes.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/axisHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/axisModelCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/axisTickLabelBuilder.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/calendar/CalendarModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/calendar/prepareCustom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Axis2D.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/AxisModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian2D.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Grid.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/GridModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/cartesianAxisHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/legacyContainLabel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/cartesian/prepareCustom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/Geo.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoJSONResource.mjs +0 -4
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoSVGResource.mjs +0 -4
- package/echarts@6.0.0/es2022/lib/coord/geo/Region.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/diaoyuIsland.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/nanhai.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/textCoord.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/geoCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/geoSourceManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/parseGeoJson.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/geo/prepareCustom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/matrix/Matrix.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixBodyCorner.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixDim.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/matrix/matrixCoordHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/parallel/AxisModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/parallel/Parallel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/parallel/ParallelModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelPreprocessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/AngleAxis.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/AxisModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/Polar.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/PolarModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/RadiusAxis.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/polarCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/polar/prepareCustom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/radar/Radar.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/radar/RadarModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/scaleRawExtentInfo.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/AxisModel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/Single.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/SingleAxis.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/prepareCustom.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/singleAxisHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/coord/single/singleCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/CoordinateSystem.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/ExtensionAPI.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/Scheduler.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/echarts.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/impl.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/lifecycle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/locale.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/core/task.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/DataDiffer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/DataStore.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/OrdinalMeta.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/SeriesData.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/SeriesDimensionDefine.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/Source.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/SeriesDataSchema.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/createDimensions.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/dataProvider.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/dataStackHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/dataValueHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/dimensionHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/sourceHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/sourceManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/data/helper/transform.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/format.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/graphic.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/number.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/time.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api/util.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/api.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/charts.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/components.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/core.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/features.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/export/renderers.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/extension.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/i18n/langEN.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/i18n/langZH.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/LabelManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/installLabelLayout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/labelGuideHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/labelLayoutHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/labelStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/label/sectorLabel.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/layout/barGrid.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/layout/barPolar.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/layout/points.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/legacy/dataSelectAction.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/loading/default.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/Component.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/Global.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/Model.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/OptionManager.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/Series.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/globalDefault.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/internalComponentCreator.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/areaStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/dataFormat.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/itemStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/lineStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/makeStyleMapper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/palette.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/mixin/textStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/model/referHelper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/preprocessor/backwardCompat.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/preprocessor/helper/compatStyle.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/processor/dataFilter.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/processor/dataSample.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/processor/negativeDataFilter.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/renderer/installCanvasRenderer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/renderer/installSVGRenderer.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/Log.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/Ordinal.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/Scale.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/Time.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/break.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/breakImpl.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/scale/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/theme/dark.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/ECEventProcessor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/animation.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/clazz.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/component.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/decal.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/event.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/graphic.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/jitter.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/layout.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/model.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/number.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/states.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/styleCompat.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/symbol.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/time.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/types.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/util/vendor.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/view/Chart.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/view/Component.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/VisualMapping.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/aria.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/decal.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/helper.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/style.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/tokens.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/visualDefault.mjs +0 -3
- package/echarts@6.0.0/es2022/lib/visual/visualSolution.mjs +0 -3
- package/eventemitter3@^5.0.1 +0 -3
- package/gl-matrix@^3.4.3 +0 -2
- package/runtime-core.mjs +0 -29
- package/zrender@6.0.0/es2022/lib/Element.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/Handler.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/Storage.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/animation/Animation.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/animation/Animator.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/animation/cubicEasing.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/animation/easing.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/animation/requestAnimationFrame.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/canvas/dashStyle.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/canvas/graphic.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/contain/line.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/contain/polygon.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/contain/quadratic.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/contain/text.mjs +0 -4
- package/zrender@6.0.0/es2022/lib/contain/util.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/contain/windingLine.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/Eventful.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/GestureMgr.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/LRU.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/PathProxy.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/Point.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/Transformable.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/WeakMap.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/bbox.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/curve.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/dom.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/env.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/event.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/fourPointsTransform.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/matrix.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/platform.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/timsort.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/util.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/core/vector.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/dom/HandlerProxy.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/CompoundPath.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/Gradient.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/Group.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/Image.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/IncrementalDisplayable.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/Path.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/RadialGradient.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/constants.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/image.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/poly.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundRect.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundSector.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/smoothBezier.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Arc.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Circle.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ellipse.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Line.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polygon.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polyline.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Rect.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ring.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/graphic/shape/Sector.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/mixin/Draggable.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/Painter.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/SVGPathRebuilder.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/core.mjs +0 -5
- package/zrender@6.0.0/es2022/lib/svg/cssAnimation.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/cssClassId.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/cssEmphasis.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/domapi.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/graphic.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/helper.mjs +0 -4
- package/zrender@6.0.0/es2022/lib/svg/mapStyleToAttrs.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/svg/patch.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/color.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/convertPath.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/dividePath.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/morphPath.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/parseSVG.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/parseXML.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/tool/path.mjs +0 -3
- package/zrender@6.0.0/es2022/lib/zrender.mjs +0 -16
- /package/{@antv/util@^3.3.10 → all-new2/@antv/util@^3.3.7} +0 -0
- /package/{gl-matrix@^3.3.0 → all-new2/gl-matrix@^3.3.0} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/radar/RadarSeries */
|
|
2
|
-
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import h from"../../model/Series.mjs";import g from"../helper/createSeriesDataSimply.mjs";import*as i from"/zrender@6.0.0/es2022/lib/core/util.mjs";import v from"../../visual/LegendVisualProvider.mjs";import{createTooltipMarkup as c,retrieveVisualColorForTooltipMarker as S}from"../../component/tooltip/tooltipMarkup.mjs";var D=function(a){f(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.init=function(t){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new v(i.bind(this.getData,this),i.bind(this.getRawData,this))},e.prototype.getInitialData=function(t,n){return g(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,n,s){var o=this.getData(),r=this.coordinateSystem,m=r.getIndicatorAxes(),l=this.getData().getName(t),p=l===""?this.name:l,y=S(this,t);return c("section",{header:p,sortBlocks:!0,blocks:i.map(m,function(d){var u=o.get(o.mapDimension(d.dim),t);return c("nameValue",{markerType:"subItem",markerColor:y,name:d.name,value:u,sortParam:u})})})},e.prototype.getTooltipPosition=function(t){if(t!=null){for(var n=this.getData(),s=this.coordinateSystem,o=n.getValues(i.map(s.dimensions,function(p){return n.mapDimension(p)}),t),r=0,m=o.length;r<m;r++)if(!isNaN(o[r])){var l=s.getIndicatorAxes();return s.coordToPoint(l[r].dataToCoord(o[r]),r)}}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(h),M=D;export{M as default};
|
|
3
|
-
//# sourceMappingURL=RadarSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/radar/RadarView */
|
|
2
|
-
import{__extends as R}from"/tslib@2.3.0/es2022/tslib.mjs";import*as p from"../../util/graphic.mjs";import{setStatesStylesFromModel as U,toggleHoverEmphasis as w}from"../../util/states.mjs";import*as g from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as v from"../../util/symbol.mjs";import x from"../../view/Chart.mjs";import{setLabelStyle as k,getLabelStatesModels as T}from"../../label/labelStyle.mjs";import F from"/zrender@6.0.0/es2022/lib/graphic/Image.mjs";import{saveOldStyle as _}from"../../animation/basicTransition.mjs";var O=function(f){R(d,f);function d(){var u=f!==null&&f.apply(this,arguments)||this;return u.type=d.type,u}return d.prototype.render=function(u,H,X){var I=u.coordinateSystem,M=this.group,n=u.getData(),h=this._data;function G(e,r){var t=e.getItemVisual(r,"symbol")||"circle";if(t!=="none"){var l=v.normalizeSymbolSize(e.getItemVisual(r,"symbolSize")),o=v.createSymbol(t,-1,-1,2,2),s=e.getItemVisual(r,"symbolRotate")||0;return o.attr({style:{strokeNoScale:!0},z2:100,scaleX:l[0]/2,scaleY:l[1]/2,rotation:s*Math.PI/180||0}),o}}function z(e,r,t,l,o,s){t.removeAll();for(var a=0;a<r.length-1;a++){var c=G(l,o);c&&(c.__dimIdx=a,e[a]?(c.setPosition(e[a]),p[s?"initProps":"updateProps"](c,{x:r[a][0],y:r[a][1]},u,o)):c.setPosition(r[a]),t.add(c))}}function b(e){return g.map(e,function(r){return[I.cx,I.cy]})}n.diff(h).add(function(e){var r=n.getItemLayout(e);if(r){var t=new p.Polygon,l=new p.Polyline,o={shape:{points:r}};t.shape.points=b(r),l.shape.points=b(r),p.initProps(t,o,u,e),p.initProps(l,o,u,e);var s=new p.Group,a=new p.Group;s.add(l),s.add(t),s.add(a),z(l.shape.points,r,a,n,e,!0),n.setItemGraphicEl(e,s)}}).update(function(e,r){var t=h.getItemGraphicEl(r),l=t.childAt(0),o=t.childAt(1),s=t.childAt(2),a={shape:{points:n.getItemLayout(e)}};a.shape.points&&(z(l.shape.points,a.shape.points,s,n,e,!1),_(o),_(l),p.updateProps(l,a,u),p.updateProps(o,a,u),n.setItemGraphicEl(e,t))}).remove(function(e){M.remove(h.getItemGraphicEl(e))}).execute(),n.eachItemGraphicEl(function(e,r){var t=n.getItemModel(r),l=e.childAt(0),o=e.childAt(1),s=e.childAt(2),a=n.getItemVisual(r,"style"),c=a.fill;M.add(e),l.useStyle(g.defaults(t.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),U(l,t,"lineStyle"),U(o,t,"areaStyle");var A=t.getModel("areaStyle"),E=A.isEmpty()&&A.parentModel.isEmpty();o.ignore=E,g.each(["emphasis","select","blur"],function(i){var y=t.getModel([i,"areaStyle"]),m=y.isEmpty()&&y.parentModel.isEmpty();o.ensureState(i).ignore=m&&E;var V=t.getModel([i,"lineStyle"]).getLineStyle();l.ensureState(i).style=V;var L=y.getAreaStyle();o.ensureState(i).style=L;var C=t.getModel([i,"itemStyle"]).getItemStyle();s.eachChild(function(D){D.ensureState(i).style=g.clone(C)})}),o.useStyle(g.defaults(t.getModel("areaStyle").getAreaStyle(),{fill:c,opacity:.7,decal:a.decal}));var S=t.getModel("emphasis");s.eachChild(function(i){if(i instanceof F){var y=i.style;i.useStyle(g.extend({image:y.image,x:y.x,y:y.y,width:y.width,height:y.height},a))}else i.useStyle(a),i.setColor(c),i.style.strokeNoScale=!0;var m=n.getStore().get(n.getDimensionIndex(i.__dimIdx),r);(m==null||isNaN(m))&&(m=""),k(i,T(t),{labelFetcher:n.hostModel,labelDataIndex:r,labelDimIndex:i.__dimIdx,defaultText:m,inheritColor:c,defaultOpacity:a.opacity})}),w(e,S.get("focus"),S.get("blurScope"),S.get("disabled"))}),this._data=n},d.prototype.remove=function(){this.group.removeAll(),this._data=null},d.type="radar",d}(x),K=O;export{K as default};
|
|
3
|
-
//# sourceMappingURL=RadarView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/radar/backwardCompat */
|
|
2
|
-
import*as d from"/zrender@6.0.0/es2022/lib/core/util.mjs";function e(a){var f=a.polar;if(f){d.isArray(f)||(f=[f]);var i=[];d.each(f,function(r,c){r.indicator?(r.type&&!r.shape&&(r.shape=r.type),a.radar=a.radar||[],d.isArray(a.radar)||(a.radar=[a.radar]),a.radar.push(r)):i.push(r)}),a.polar=i}d.each(a.series,function(r){r&&r.type==="radar"&&r.polarIndex&&(r.radarIndex=r.polarIndex)})}export{e as default};
|
|
3
|
-
//# sourceMappingURL=backwardCompat.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/radar/install */
|
|
2
|
-
import{use as o}from"../../extension.mjs";import a from"./radarLayout.mjs";import t from"../../processor/dataFilter.mjs";import e from"./backwardCompat.mjs";import i from"./RadarView.mjs";import m from"./RadarSeries.mjs";import{install as p}from"../../component/radar/install.mjs";function w(r){o(p),r.registerChartView(i),r.registerSeriesModel(m),r.registerLayout(a),r.registerProcessor(t("radar")),r.registerPreprocessor(e)}export{w as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/radar/radarLayout */
|
|
2
|
-
import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";function v(t){t.eachSeriesByType("radar",function(f){var o=f.getData(),i=[],a=f.coordinateSystem;if(a){var s=a.getIndicatorAxes();e.each(s,function(n,r){o.each(o.mapDimension(s[r].dim),function(c,u){i[u]=i[u]||[];var m=a.dataToPoint(c,r);i[u][r]=l(m)?m:p(a)})}),o.each(function(n){var r=e.find(i[n],function(c){return l(c)})||p(a);i[n].push(r.slice()),o.setItemLayout(n,i[n])})}})}function l(t){return!isNaN(t[0])&&!isNaN(t[1])}function p(t){return[t.cx,t.cy]}export{v as default};
|
|
3
|
-
//# sourceMappingURL=radarLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sankey/SankeySeries */
|
|
2
|
-
import{__extends as D}from"/tslib@2.3.0/es2022/tslib.mjs";import k from"../../model/Series.mjs";import N from"../helper/createGraphFromNodeEdge.mjs";import w from"../../model/Model.mjs";import{createTooltipMarkup as b}from"../../component/tooltip/tooltipMarkup.mjs";import S from"../../visual/tokens.mjs";var E=function(u){D(t,u);function t(){var e=u!==null&&u.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,i){var o=e.edges||e.links||[],n=e.data||e.nodes||[],r=e.levels||[];this.levelModels=[];for(var p=this.levelModels,l=0;l<r.length;l++)r[l].depth!=null&&r[l].depth>=0&&(p[r[l].depth]=new w(r[l],this,i));var m=N(n,o,this,!0,y);return m.data;function y(d,h){d.wrapMethod("getItemModel",function(a,c){var s=a.parentModel,g=s.getData().getItemLayout(c);if(g){var v=g.depth,f=s.levelModels[v];f&&(a.parentModel=f)}return a}),h.wrapMethod("getItemModel",function(a,c){var s=a.parentModel,g=s.getGraph().getEdgeByIndex(c),v=g.node1.getLayout();if(v){var f=v.depth,M=s.levelModels[f];M&&(a.parentModel=M)}return a})}},t.prototype.setNodePosition=function(e,i){var o=this.option.data||this.option.nodes,n=o[e];n.localX=i[0],n.localY=i[1]},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,i,o){function n(a){return isNaN(a)||a==null}if(o==="edge"){var r=this.getDataParams(e,o),p=r.data,l=r.value,m=p.source+" -- "+p.target;return b("nameValue",{name:m,value:l,noValue:n(l)})}else{var y=this.getGraph().getNodeByIndex(e),d=y.getLayout().value,h=this.getDataParams(e,o).data.name;return b("nameValue",{name:h!=null?h+"":null,value:d,noValue:n(d)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,i){var o=u.prototype.getDataParams.call(this,e,i);if(o.value==null&&i==="node"){var n=this.getGraph().getNodeByIndex(e),r=n.getLayout().value;o.value=r}return o},t.type="series.sankey",t.layoutMode="box",t.defaultOption={z:2,coordinateSystemUsage:"box",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,roam:!1,roamTrigger:"global",center:null,zoom:1,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:S.color.neutral50,opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:S.color.primary}},animationEasing:"linear",animationDuration:1e3},t}(k),P=E;export{P as default};
|
|
3
|
-
//# sourceMappingURL=SankeySeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sankey/SankeyView */
|
|
2
|
-
import{__extends as Q}from"/tslib@2.3.0/es2022/tslib.mjs";import*as u from"../../util/graphic.mjs";import{enterEmphasis as at,leaveEmphasis as rt,toggleHoverEmphasis as B,setStatesStylesFromModel as N}from"../../util/states.mjs";import ot from"../../view/Chart.mjs";import{setLabelStyle as Z,getLabelStatesModels as q}from"../../label/labelStyle.mjs";import{getECData as J}from"../../util/innerStore.mjs";import{isString as K,retrieve3 as lt}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import it from"../../component/helper/RoamController.mjs";import*as U from"../../component/helper/roamHelper.mjs";import nt from"../../coord/View.mjs";var ct=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r}(),dt=function(r){Q(o,r);function o(t){return r.call(this,t)||this}return o.prototype.getDefaultShape=function(){return new ct},o.prototype.buildPath=function(t,e){var i=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()},o.prototype.highlight=function(){at(this)},o.prototype.downplay=function(){rt(this)},o}(u.Path),yt=function(r){Q(o,r);function o(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=o.type,t._mainGroup=new u.Group,t._focusAdjacencyDisabled=!1,t}return o.prototype.init=function(t,e){this._controller=new it(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},o.prototype.render=function(t,e,i){var _=this,D=t.getGraph(),n=this._mainGroup,T=t.layoutInfo,v=T.width,f=T.height,V=t.getData(),W=t.getData("edge"),C=t.get("orient");this._model=t,n.removeAll(),n.x=T.x,n.y=T.y,this._updateViewCoordSys(t,i),U.updateController(t,i,n,this._controller,this._controllerHost,null),D.eachEdge(function(a){var l=new dt,c=J(l);c.dataIndex=a.dataIndex,c.seriesIndex=t.seriesIndex,c.dataType="edge";var g=a.getModel(),p=g.getModel("lineStyle"),d=p.get("curveness"),s=a.node1.getLayout(),y=a.node1.getModel(),h=y.get("localX"),m=y.get("localY"),x=a.node2.getLayout(),M=a.node2.getModel(),j=M.get("localX"),E=M.get("localY"),L=a.getLayout(),S,b,w,I,k,A,X,Y;l.shape.extent=Math.max(1,L.dy),l.shape.orient=C,C==="vertical"?(S=(h!=null?h*v:s.x)+L.sy,b=(m!=null?m*f:s.y)+s.dy,w=(j!=null?j*v:x.x)+L.ty,I=E!=null?E*f:x.y,k=S,A=b*(1-d)+I*d,X=w,Y=b*d+I*(1-d)):(S=(h!=null?h*v:s.x)+s.dx,b=(m!=null?m*f:s.y)+L.sy,w=j!=null?j*v:x.x,I=(E!=null?E*f:x.y)+L.ty,k=S*(1-d)+w*d,A=b,X=S*d+w*(1-d),Y=I),l.setShape({x1:S,y1:b,x2:w,y2:I,cpx1:k,cpy1:A,cpx2:X,cpy2:Y}),l.useStyle(p.getItemStyle()),O(l.style,C,a);var P=""+g.get("value"),R=q(g,"edgeLabel");Z(l,R,{labelFetcher:{getFormattedLabel:function(H,G,gt,$,tt,et){return t.getFormattedLabel(H,G,"edge",$,lt(tt,R.normal&&R.normal.get("formatter"),P),et)}},labelDataIndex:a.dataIndex,defaultText:P}),l.setTextConfig({position:"inside"});var z=g.getModel("emphasis");N(l,g,"lineStyle",function(H){var G=H.getItemStyle();return O(G,C,a),G}),n.add(l),W.setItemGraphicEl(a.dataIndex,l);var F=z.get("focus");B(l,F==="adjacency"?a.getAdjacentDataIndices():F==="trajectory"?a.getTrajectoryDataIndices():F,z.get("blurScope"),z.get("disabled"))}),D.eachNode(function(a){var l=a.getLayout(),c=a.getModel(),g=c.get("localX"),p=c.get("localY"),d=c.getModel("emphasis"),s=c.get(["itemStyle","borderRadius"])||0,y=new u.Rect({shape:{x:g!=null?g*v:l.x,y:p!=null?p*f:l.y,width:l.dx,height:l.dy,r:s},style:c.getModel("itemStyle").getItemStyle(),z2:10});Z(y,q(c),{labelFetcher:{getFormattedLabel:function(m,x){return t.getFormattedLabel(m,x,"node")}},labelDataIndex:a.dataIndex,defaultText:a.id}),y.disableLabelAnimation=!0,y.setStyle("fill",a.getVisual("color")),y.setStyle("decal",a.getVisual("style").decal),N(y,c),n.add(y),V.setItemGraphicEl(a.dataIndex,y),J(y).dataType="node";var h=d.get("focus");B(y,h==="adjacency"?a.getAdjacentDataIndices():h==="trajectory"?a.getTrajectoryDataIndices():h,d.get("blurScope"),d.get("disabled"))}),V.eachItemGraphicEl(function(a,l){var c=V.getItemModel(l);c.get("draggable")&&(a.drift=function(g,p){_._focusAdjacencyDisabled=!0,this.shape.x+=g,this.shape.y+=p,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:V.getRawIndex(l),localX:this.shape.x/v,localY:this.shape.y/f})},a.ondragend=function(){_._focusAdjacencyDisabled=!1},a.draggable=!0,a.cursor="move")}),!this._data&&t.isAnimationEnabled()&&n.setClipPath(ut(n.getBoundingRect(),t,function(){n.removeClipPath()})),this._data=t.getData()},o.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},o.prototype._updateViewCoordSys=function(t,e){var i=t.layoutInfo,_=i.width,D=i.height,n=t.coordinateSystem=new nt(null,{api:e,ecModel:t.ecModel});n.zoomLimit=t.get("scaleLimit"),n.setBoundingRect(0,0,_,D),n.setCenter(t.get("center")),n.setZoom(t.get("zoom")),this._controllerHost.target.attr({x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY})},o.type="sankey",o}(ot);function O(r,o,t){switch(r.fill){case"source":r.fill=t.node1.getVisual("color"),r.decal=t.node1.getVisual("style").decal;break;case"target":r.fill=t.node2.getVisual("color"),r.decal=t.node2.getVisual("style").decal;break;case"gradient":var e=t.node1.getVisual("color"),i=t.node2.getVisual("color");K(e)&&K(i)&&(r.fill=new u.LinearGradient(0,0,+(o==="horizontal"),+(o==="vertical"),[{color:e,offset:0},{color:i,offset:1}]))}}function ut(r,o,t){var e=new u.Rect({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return u.initProps(e,{shape:{width:r.width+20}},o,t),e}var bt=yt;export{bt as default};
|
|
3
|
-
//# sourceMappingURL=SankeyView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sankey/install */
|
|
2
|
-
import m from"./SankeyView.mjs";import u from"./SankeySeries.mjs";import c from"./sankeyLayout.mjs";import y from"./sankeyVisual.mjs";import{updateCenterAndZoomInAction as p}from"../../component/helper/roamHelper.mjs";function C(n){n.registerChartView(m),n.registerSeriesModel(u),n.registerLayout(c),n.registerVisual(y),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,o){o.eachComponent({mainType:"series",subType:"sankey",query:e},function(i){i.setNodePosition(e.dataIndex,[e.localX,e.localY])})}),n.registerAction({type:"sankeyRoam",event:"sankeyRoam",update:"none"},function(e,o,i){o.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){var r=t.coordinateSystem,a=p(r,e,t.get("scaleLimit"));t.setCenter(a.center),t.setZoom(a.zoom)})})}export{C as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sankey/sankeyLayout */
|
|
2
|
-
import*as o from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{groupData as A}from"../../util/model.mjs";import{createBoxLayoutReference as I,getLayoutRect as T}from"../../util/layout.mjs";function O(a,u){a.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),t=e.get("nodeGap"),r=I(e,u).refContainer,v=T(e.getBoxLayoutParams(),r);e.layoutInfo=v;var y=v.width,i=v.height,f=e.getGraph(),c=f.nodes,l=f.edges;S(c);var g=o.filter(c,function(L){return L.getLayout().value===0}),h=g.length!==0?0:e.get("layoutIterations"),E=e.get("orient"),s=e.get("nodeAlign");C(c,l,n,t,y,i,h,E,s)})}function C(a,u,e,n,t,r,v,y,i){b(a,u,e,t,r,y,i),W(a,u,r,t,n,v,y),Z(a,y)}function S(a){o.each(a,function(u){var e=p(u.outEdges,z),n=p(u.inEdges,z),t=u.getValue()||0,r=Math.max(e,n,t);u.setLayout({value:r},!0)})}function b(a,u,e,n,t,r,v){for(var y=[],i=[],f=[],c=[],l=0,g=0;g<u.length;g++)y[g]=1;for(var g=0;g<a.length;g++)i[g]=a[g].inEdges.length,i[g]===0&&f.push(a[g]);for(var h=-1;f.length;){for(var E=0;E<f.length;E++){var s=f[E],L=s.hostGraph.data.getRawDataItem(s.dataIndex),N=L.depth!=null&&L.depth>=0;N&&L.depth>h&&(h=L.depth),s.setLayout({depth:N?L.depth:l},!0),r==="vertical"?s.setLayout({dy:e},!0):s.setLayout({dx:e},!0);for(var U=0;U<s.outEdges.length;U++){var w=s.outEdges[U],R=u.indexOf(w);y[R]=0;var k=w.node2,V=a.indexOf(k);--i[V]===0&&c.indexOf(k)<0&&c.push(k)}}++l,f=c,c=[]}for(var g=0;g<y.length;g++)if(y[g]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var m=h>l-1?h:l-1;v&&v!=="left"&&H(a,v,r,m);var d=r==="vertical"?(t-e)/m:(n-e)/m;P(a,d,r)}function B(a){var u=a.hostGraph.data.getRawDataItem(a.dataIndex);return u.depth!=null&&u.depth>=0}function H(a,u,e,n){if(u==="right"){for(var t=[],r=a,v=0;r.length;){for(var y=0;y<r.length;y++){var i=r[y];i.setLayout({skNodeHeight:v},!0);for(var f=0;f<i.inEdges.length;f++){var c=i.inEdges[f];t.indexOf(c.node1)<0&&t.push(c.node1)}}r=t,t=[],++v}o.each(a,function(l){B(l)||l.setLayout({depth:Math.max(0,n-l.getLayout().skNodeHeight)},!0)})}else u==="justify"&&K(a,n)}function K(a,u){o.each(a,function(e){!B(e)&&!e.outEdges.length&&e.setLayout({depth:u},!0)})}function P(a,u,e){o.each(a,function(n){var t=n.getLayout().depth*u;e==="vertical"?n.setLayout({y:t},!0):n.setLayout({x:t},!0)})}function W(a,u,e,n,t,r,v){var y=X(a,v);j(y,u,e,n,t,v),D(y,t,e,n,v);for(var i=1;r>0;r--)i*=.99,q(y,i,v),D(y,t,e,n,v),Y(y,i,v),D(y,t,e,n,v)}function X(a,u){var e=[],n=u==="vertical"?"y":"x",t=A(a,function(r){return r.getLayout()[n]});return t.keys.sort(function(r,v){return r-v}),o.each(t.keys,function(r){e.push(t.buckets.get(r))}),e}function j(a,u,e,n,t,r){var v=1/0;o.each(a,function(y){var i=y.length,f=0;o.each(y,function(l){f+=l.getLayout().value});var c=r==="vertical"?(n-(i-1)*t)/f:(e-(i-1)*t)/f;c<v&&(v=c)}),o.each(a,function(y){o.each(y,function(i,f){var c=i.getLayout().value*v;r==="vertical"?(i.setLayout({x:f},!0),i.setLayout({dx:c},!0)):(i.setLayout({y:f},!0),i.setLayout({dy:c},!0))})}),o.each(u,function(y){var i=+y.getValue()*v;y.setLayout({dy:i},!0)})}function D(a,u,e,n,t){var r=t==="vertical"?"x":"y";o.each(a,function(v){v.sort(function(s,L){return s.getLayout()[r]-L.getLayout()[r]});for(var y,i,f,c=0,l=v.length,g=t==="vertical"?"dx":"dy",h=0;h<l;h++)i=v[h],f=c-i.getLayout()[r],f>0&&(y=i.getLayout()[r]+f,t==="vertical"?i.setLayout({x:y},!0):i.setLayout({y},!0)),c=i.getLayout()[r]+i.getLayout()[g]+u;var E=t==="vertical"?n:e;if(f=c-u-E,f>0){y=i.getLayout()[r]-f,t==="vertical"?i.setLayout({x:y},!0):i.setLayout({y},!0),c=y;for(var h=l-2;h>=0;--h)i=v[h],f=i.getLayout()[r]+i.getLayout()[g]+u-c,f>0&&(y=i.getLayout()[r]-f,t==="vertical"?i.setLayout({x:y},!0):i.setLayout({y},!0)),c=i.getLayout()[r]}})}function q(a,u,e){o.each(a.slice().reverse(),function(n){o.each(n,function(t){if(t.outEdges.length){var r=p(t.outEdges,F,e)/p(t.outEdges,z);if(isNaN(r)){var v=t.outEdges.length;r=v?p(t.outEdges,G,e)/v:0}if(e==="vertical"){var y=t.getLayout().x+(r-x(t,e))*u;t.setLayout({x:y},!0)}else{var i=t.getLayout().y+(r-x(t,e))*u;t.setLayout({y:i},!0)}}})})}function F(a,u){return x(a.node2,u)*a.getValue()}function G(a,u){return x(a.node2,u)}function J(a,u){return x(a.node1,u)*a.getValue()}function Q(a,u){return x(a.node1,u)}function x(a,u){return u==="vertical"?a.getLayout().x+a.getLayout().dx/2:a.getLayout().y+a.getLayout().dy/2}function z(a){return a.getValue()}function p(a,u,e){for(var n=0,t=a.length,r=-1;++r<t;){var v=+u(a[r],e);isNaN(v)||(n+=v)}return n}function Y(a,u,e){o.each(a,function(n){o.each(n,function(t){if(t.inEdges.length){var r=p(t.inEdges,J,e)/p(t.inEdges,z);if(isNaN(r)){var v=t.inEdges.length;r=v?p(t.inEdges,Q,e)/v:0}if(e==="vertical"){var y=t.getLayout().x+(r-x(t,e))*u;t.setLayout({x:y},!0)}else{var i=t.getLayout().y+(r-x(t,e))*u;t.setLayout({y:i},!0)}}})})}function Z(a,u){var e=u==="vertical"?"x":"y";o.each(a,function(n){n.outEdges.sort(function(t,r){return t.node2.getLayout()[e]-r.node2.getLayout()[e]}),n.inEdges.sort(function(t,r){return t.node1.getLayout()[e]-r.node1.getLayout()[e]})}),o.each(a,function(n){var t=0,r=0;o.each(n.outEdges,function(v){v.setLayout({sy:t},!0),t+=v.getLayout().dy}),o.each(n.inEdges,function(v){v.setLayout({ty:r},!0),r+=v.getLayout().dy})})}export{O as default};
|
|
3
|
-
//# sourceMappingURL=sankeyLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sankey/sankeyVisual */
|
|
2
|
-
import*as l from"/zrender@6.0.0/es2022/lib/core/util.mjs";import c from"../../visual/VisualMapping.mjs";function p(g){g.eachSeriesByType("sankey",function(s){var n=s.getGraph(),a=n.nodes,u=n.edges;if(a.length){var i=1/0,o=-1/0;l.each(a,function(t){var e=t.getLayout().value;e<i&&(i=e),e>o&&(o=e)}),l.each(a,function(t){var e=new c({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:s.get("color")}),f=e.mapValueToVisual(t.getLayout().value),r=t.getModel().get(["itemStyle","color"]);r!=null?(t.setVisual("color",r),t.setVisual("style",{fill:r})):(t.setVisual("color",f),t.setVisual("style",{fill:f}))})}u.length&&l.each(u,function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)})})}export{p as default};
|
|
3
|
-
//# sourceMappingURL=sankeyVisual.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/scatter/ScatterSeries */
|
|
2
|
-
import{__extends as s}from"/tslib@2.3.0/es2022/tslib.mjs";import n from"../helper/createSeriesData.mjs";import l from"../../model/Series.mjs";import a from"../../visual/tokens.mjs";var p=function(r){s(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,o){return n(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,o,i){return i.point(o.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:a.color.primary}},universalTransition:{divideShape:"clone"}},t}(l),d=p;export{d as default};
|
|
3
|
-
//# sourceMappingURL=ScatterSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/scatter/install */
|
|
2
|
-
import{use as r}from"../../extension.mjs";import o from"./ScatterSeries.mjs";import i from"./ScatterView.mjs";import{install as e}from"../../component/grid/installSimple.mjs";import a from"../../layout/points.mjs";import m from"./jitterLayout.mjs";function u(t){r(e),t.registerSeriesModel(o),t.registerChartView(i),t.registerLayout(a("scatter"))}function c(t){t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,m)}export{u as install,c as installScatterJitter};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/scatter/jitterLayout */
|
|
2
|
-
import{needFixJitter as p,fixJitter as l}from"../../util/jitter.mjs";function S(u){u.eachSeriesByType("scatter",function(y){var r=y.coordinateSystem;if(r&&(r.type==="cartesian2d"||r.type==="single")){var t=r.getBaseAxis?r.getBaseAxis():null,m=t&&p(y,t);if(m){var i=y.getData();i.each(function(a){var o=t.dim,v=t.orient,f=v==="horizontal"&&t.type!=="category"||v==="vertical"&&t.type==="category",e=i.getItemLayout(a),n=i.getItemVisual(a,"symbolSize"),g=n instanceof Array?(n[1]+n[0])/2:n;if(o==="y"||o==="single"&&f){var c=l(t,e[0],e[1],g/2);i.setItemLayout(a,[e[0],c])}else if(o==="x"||o==="single"&&!f){var c=l(t,e[1],e[0],g/2);i.setItemLayout(a,[c,e[1]])}})}}})}export{S as default};
|
|
3
|
-
//# sourceMappingURL=jitterLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/SunburstPiece */
|
|
2
|
-
import{__extends as H}from"/tslib@2.3.0/es2022/tslib.mjs";import*as c from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as f from"../../util/graphic.mjs";import{toggleHoverEmphasis as J,SPECIAL_STATES as X,DISPLAY_STATES as Y}from"../../util/states.mjs";import{createTextStyle as j}from"../../label/labelStyle.mjs";import{getECData as R}from"../../util/innerStore.mjs";import{getSectorCornerRadius as O}from"../helper/sectorHelper.mjs";import{createOrUpdatePatternFromDecal as k}from"../../util/decal.mjs";import{saveOldStyle as q}from"../../animation/basicTransition.mjs";import{normalizeRadian as L}from"/zrender@6.0.0/es2022/lib/contain/util.mjs";import{isRadianAroundZero as B}from"../../util/number.mjs";var G=2,K=4,Q=function(U){H(I,U);function I(S,e,l,h){var t=U.call(this)||this;t.z2=G,t.textConfig={inside:!0},R(t).seriesIndex=e.seriesIndex;var r=new f.Text({z2:K,silent:S.getModel().get(["label","silent"])});return t.setTextContent(r),t.updateData(!0,S,e,l,h),t}return I.prototype.updateData=function(S,e,l,h,t){this.node=e,e.piece=this,l=l||this._seriesModel,h=h||this._ecModel;var r=this;R(r).dataIndex=e.dataIndex;var i=e.getModel(),y=i.getModel("emphasis"),M=e.getLayout(),s=c.extend({},M);s.label=null;var u=e.getVisual("style");u.lineJoin="bevel";var b=e.getVisual("decal");b&&(u.decal=k(b,t));var P=O(i.getModel("itemStyle"),s,!0);c.extend(s,P),c.each(X,function(a){var g=r.ensureState(a),o=i.getModel([a,"itemStyle"]);g.style=o.getItemStyle();var p=O(o,s);p&&(g.shape=p)}),S?(r.setShape(s),r.shape.r=M.r0,f.initProps(r,{shape:{r:M.r}},l,e.dataIndex)):(f.updateProps(r,{shape:s},l),q(r)),r.useStyle(u),this._updateLabel(l);var _=i.getShallow("cursor");_&&r.attr("cursor",_),this._seriesModel=l||this._seriesModel,this._ecModel=h||this._ecModel;var d=y.get("focus"),n=d==="relative"?c.concatArray(e.getAncestorsIndices(),e.getDescendantIndices()):d==="ancestor"?e.getAncestorsIndices():d==="descendant"?e.getDescendantIndices():d;J(this,n,y.get("blurScope"),y.get("disabled"))},I.prototype._updateLabel=function(S){var e=this,l=this.node.getModel(),h=l.getModel("label"),t=this.node.getLayout(),r=t.endAngle-t.startAngle,i=(t.startAngle+t.endAngle)/2,y=Math.cos(i),M=Math.sin(i),s=this,u=s.getTextContent(),b=this.node.dataIndex,P=h.get("minAngle")/180*Math.PI,_=h.get("show")&&!(P!=null&&Math.abs(r)<P);u.ignore=!_,c.each(Y,function(n){var a=n==="normal"?l.getModel("label"):l.getModel([n,"label"]),g=n==="normal",o=g?u:u.ensureState(n),p=S.getFormattedLabel(b,n);g&&(p=p||e.node.name),o.style=j(a,{},null,n!=="normal",!0),p&&(o.style.text=p);var C=a.get("show");C!=null&&!g&&(o.ignore=!C);var D=d(a,"position"),w=g?s:s.states[n],Z=w.style.fill;w.textConfig={outsideFill:a.get("color")==="inherit"?Z:null,inside:D!=="outside"};var m,z=d(a,"distance")||0,v=d(a,"align"),A=d(a,"rotate"),F=Math.PI*.5,V=Math.PI*1.5,E=L(A==="tangential"?Math.PI/2-i:i),x=E>F&&!B(E-F)&&E<V;D==="outside"?(m=t.r+z,v=x?"right":"left"):!v||v==="center"?(r===2*Math.PI&&t.r0===0?m=0:m=(t.r+t.r0)/2,v="center"):v==="left"?(m=t.r0+z,v=x?"right":"left"):v==="right"&&(m=t.r-z,v=x?"left":"right"),o.style.align=v,o.style.verticalAlign=d(a,"verticalAlign")||"middle",o.x=m*y+t.cx,o.y=m*M+t.cy;var T=0;A==="radial"?T=L(-i)+(x?Math.PI:0):A==="tangential"?T=L(Math.PI/2-i)+(x?Math.PI:0):c.isNumber(A)&&(T=A*Math.PI/180),o.rotation=L(T)});function d(n,a){var g=n.get(a);return g??h.get(a)}u.dirtyStyle()},I}(f.Sector),nt=Q;export{nt as default};
|
|
3
|
-
//# sourceMappingURL=SunburstPiece.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/SunburstSeries */
|
|
2
|
-
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"/zrender@6.0.0/es2022/lib/core/util.mjs";import y from"../../model/Series.mjs";import v from"../../data/Tree.mjs";import{wrapTreePathInfo as g}from"../helper/treeHelper.mjs";import b from"../../model/Model.mjs";import w from"../helper/enableAriaDecalForTree.mjs";var D=function(o){m(t,o);function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e,r){var a={name:e.name,children:e.data};p(a);var d=this._levelModels=i.map(e.levels||[],function(n){return new b(n,this,r)},this),l=v.createTree(a,this,h);function h(n){n.wrapMethod("getItemModel",function(s,f){var c=l.getNodeByDataIndex(f),u=d[c.depth];return u&&(s.parentModel=u),s})}return l.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var r=o.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return r.treePathInfo=g(a,this),r},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var r=this.getRawData().tree.root;(!e||e!==r&&!r.contains(e))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){w(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(y);function p(o){var t=0;i.each(o.children,function(r){p(r);var a=r.value;i.isArray(a)&&(a=a[0]),t+=a});var e=o.value;i.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),i.isArray(o.value)?o.value[0]=e:o.value=e}var _=D;export{_ as default};
|
|
3
|
-
//# sourceMappingURL=SunburstSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/SunburstView */
|
|
2
|
-
import{__extends as O}from"/tslib@2.3.0/es2022/tslib.mjs";import*as P from"/zrender@6.0.0/es2022/lib/core/util.mjs";import E from"../../view/Chart.mjs";import _ from"./SunburstPiece.mjs";import L from"../../data/DataDiffer.mjs";import{ROOT_TO_NODE_ACTION as x}from"./sunburstAction.mjs";import{windowOpen as F}from"../../util/format.mjs";var S=function(h){O(f,h);function f(){var e=h!==null&&h.apply(this,arguments)||this;return e.type=f.type,e}return f.prototype.render=function(e,o,a,c){var r=this;this.seriesModel=e,this.api=a,this.ecModel=o;var u=e.getData(),n=u.tree.root,v=e.getViewRoot(),l=this.group,d=e.get("renderLabelForZeroData"),g=[];v.eachNode(function(t){g.push(t)});var D=this._oldChildren||[];T(g,D),V(n,v),this._initEvents(),this._oldChildren=g;function T(t,i){if(t.length===0&&i.length===0)return;new L(i,t,p,p).add(m).update(m).remove(P.curry(m,null)).execute();function p(s){return s.getId()}function m(s,y){var k=s==null?null:t[s],I=y==null?null:i[y];b(k,I)}}function b(t,i){if(!d&&t&&!t.getValue()&&(t=null),t!==n&&i!==n){if(i&&i.piece)t?(i.piece.updateData(!1,t,e,o,a),u.setItemGraphicEl(t.dataIndex,i.piece)):R(i);else if(t){var p=new _(t,e,o,a);l.add(p),u.setItemGraphicEl(t.dataIndex,p)}}}function R(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}function V(t,i){i.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,t,e,o,a):(r.virtualPiece=new _(t,e,o,a),l.add(r.virtualPiece)),i.piece.off("click"),r.virtualPiece.on("click",function(p){r._rootToNode(i.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}},f.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(o){var a=!1,c=e.seriesModel.getViewRoot();c.eachNode(function(r){if(!a&&r.piece&&r.piece===o.target){var u=r.getModel().get("nodeClick");if(u==="rootToNode")e._rootToNode(r);else if(u==="link"){var n=r.getModel(),v=n.get("link");if(v){var l=n.get("target",!0)||"_blank";F(v,l)}}a=!0}})})},f.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:x,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},f.prototype.containPoint=function(e,o){var a=o.getData(),c=a.getItemLayout(0);if(c){var r=e[0]-c.cx,u=e[1]-c.cy,n=Math.sqrt(r*r+u*u);return n<=c.r&&n>=c.r0}},f.type="sunburst",f}(E),q=S;export{q as default};
|
|
3
|
-
//# sourceMappingURL=SunburstView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/install */
|
|
2
|
-
import o from"./SunburstView.mjs";import u from"./SunburstSeries.mjs";import i from"./sunburstLayout.mjs";import m from"./sunburstVisual.mjs";import s from"../../processor/dataFilter.mjs";import{curry as t}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{installSunburstAction as n}from"./sunburstAction.mjs";function c(r){r.registerChartView(o),r.registerSeriesModel(u),r.registerLayout(t(i,"sunburst")),r.registerProcessor(t(s,"sunburst")),r.registerVisual(m),n(r)}export{c as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/sunburstAction */
|
|
2
|
-
import{extend as r}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import"../../util/log.mjs";import{retrieveTargetInfo as p,aboveViewRoot as d}from"../helper/treeHelper.mjs";var h="sunburstRootToNode",g="sunburstHighlight",a="sunburstUnhighlight";function N(u){u.registerAction({type:h,update:"updateView"},function(e,o){o.eachComponent({mainType:"series",subType:"sunburst",query:e},n);function n(i,c){var t=p(e,[h],i);if(t){var s=i.getViewRoot();s&&(e.direction=d(s,t.node)?"rollUp":"drillDown"),i.resetViewRoot(t.node)}}}),u.registerAction({type:g,update:"none"},function(e,o,n){e=r({},e),o.eachComponent({mainType:"series",subType:"sunburst",query:e},i);function i(c){var t=p(e,[g],c);t&&(e.dataIndex=t.node.dataIndex)}n.dispatchAction(r(e,{type:"highlight"}))}),u.registerAction({type:a,update:"updateView"},function(e,o,n){e=r({},e),n.dispatchAction(r(e,{type:"downplay"}))})}export{h as ROOT_TO_NODE_ACTION,N as installSunburstAction};
|
|
3
|
-
//# sourceMappingURL=sunburstAction.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/sunburstLayout */
|
|
2
|
-
import{parsePercent as h}from"../../util/number.mjs";import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";var j=Math.PI/180;function E(n,u,v){u.eachSeriesByType(n,function(r){var t=r.get("center"),a=r.get("radius");e.isArray(a)||(a=[0,a]),e.isArray(t)||(t=[t,t]);var c=v.getWidth(),A=v.getHeight(),o=Math.min(c,A),R=h(t[0],c),s=h(t[1],A),f=h(a[0],o/2),G=h(a[1],o/2),x=-r.get("startAngle")*j,L=r.get("minAngle")*j,N=r.getData().tree.root,l=r.getViewRoot(),J=l.depth,P=r.get("sort");P!=null&&q(l,P);var k=0;e.each(l.children,function(i){!isNaN(i.getValue())&&k++});var D=l.getValue(),S=Math.PI/(D||k)*2,y=l.depth>0,K=l.height-(y?-1:1),z=(G-f)/(K||1),U=r.get("clockwise"),Q=r.get("stillShowZeroSum"),T=U?1:-1,C=function(i,g){if(i){var d=g;if(i!==N){var $=i.getValue(),m=D===0&&Q?S:$*S;m<L&&(m=L),d=g+T*m;var B=i.depth-J-(y?-1:1),F=f+z*B,H=f+z*(B+1),p=r.getLevelModel(i);if(p){var w=p.get("r0",!0),I=p.get("r",!0),V=p.get("radius",!0);V!=null&&(w=V[0],I=V[1]),w!=null&&(F=h(w,o/2)),I!=null&&(H=h(I,o/2))}i.setLayout({angle:m,startAngle:g,endAngle:d,clockwise:U,cx:R,cy:s,r0:F,r:H})}if(i.children&&i.children.length){var W=0;e.each(i.children,function(b){W+=C(b,g+W)})}return d-g}};if(y){var X=f,Y=f+z,Z=Math.PI*2;N.setLayout({angle:Z,startAngle:x,endAngle:x+Z,clockwise:U,cx:R,cy:s,r0:X,r:Y})}C(l,x)})}function q(n,u){var v=n.children||[];n.children=O(v,u),v.length&&e.each(n.children,function(r){q(r,u)})}function O(n,u){if(e.isFunction(u)){var v=e.map(n,function(t,a){var c=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return c}},index:a}});return v.sort(function(t,a){return u(t.params,a.params)}),e.map(v,function(t){return n[t.index]})}else{var r=u==="asc";return n.sort(function(t,a){var c=(t.getValue()-a.getValue())*(r?1:-1);return c===0?(t.dataIndex-a.dataIndex)*(r?-1:1):c})}}export{E as default};
|
|
3
|
-
//# sourceMappingURL=sunburstLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/sunburstVisual */
|
|
2
|
-
import{lift as p}from"/zrender@6.0.0/es2022/lib/tool/color.mjs";import{extend as m,isString as s}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import c from"../../visual/tokens.mjs";function d(o){var n={};function u(e,a,i){if(e.depth===0)return c.color.neutral50;for(var t=e;t&&t.depth>1;)t=t.parentNode;var r=a.getColorFromPalette(t.name||t.dataIndex+"",n);return e.depth>1&&s(r)&&(r=p(r,(e.depth-1)/(i-1)*.5)),r}o.eachSeriesByType("sunburst",function(e){var a=e.getData(),i=a.tree;i.eachNode(function(t){var r=t.getModel(),l=r.getModel("itemStyle").getItemStyle();l.fill||(l.fill=u(t,e,i.root.height));var f=a.ensureUniqueItemVisual(t.dataIndex,"style");m(f,l)})})}export{d as default};
|
|
3
|
-
//# sourceMappingURL=sunburstVisual.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/ThemeRiverSeries */
|
|
2
|
-
import{__extends as A}from"/tslib@2.3.0/es2022/tslib.mjs";import S from"../../model/Series.mjs";import x from"../../data/helper/createDimensions.mjs";import{getDimensionTypeByAxis as M}from"../../data/helper/dimensionHelper.mjs";import b from"../../data/SeriesData.mjs";import*as m from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{groupData as D,SINGLE_REFERRING as L}from"../../util/model.mjs";import R from"../../visual/LegendVisualProvider.mjs";import{createTooltipMarkup as N}from"../../component/tooltip/tooltipMarkup.mjs";var c=2,T=function(h){A(l,h);function l(){var e=h!==null&&h.apply(this,arguments)||this;return e.type=l.type,e}return l.prototype.init=function(e){h.prototype.init.apply(this,arguments),this.legendVisualProvider=new R(m.bind(this.getData,this),m.bind(this.getRawData,this))},l.prototype.fixData=function(e){var v=e.length,n={},o=D(e,function(u){return n.hasOwnProperty(u[0]+"")||(n[u[0]+""]=-1),u[2]}),t=[];o.buckets.each(function(u,f){t.push({name:f,dataList:u})});for(var r=t.length,i=0;i<r;++i){for(var p=t[i].name,s=0;s<t[i].dataList.length;++s){var a=t[i].dataList[s][0]+"";n[a]=i}for(var a in n)n.hasOwnProperty(a)&&n[a]!==i&&(n[a]=i,e[v]=[a,0,p],v++)}return e},l.prototype.getInitialData=function(e,v){for(var n=this.getReferringComponents("singleAxis",L).models[0],o=n.get("type"),t=m.filter(e.data,function(g){return g[2]!==void 0}),r=this.fixData(t||[]),i=[],p=this.nameMap=m.createHashMap(),s=0,a=0;a<r.length;++a)i.push(r[a][c]),p.get(r[a][c])||(p.set(r[a][c],s),s++);var u=x(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:M(o)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,f=new b(u,this);return f.initData(r),f},l.prototype.getLayerSeries=function(){for(var e=this.getData(),v=e.count(),n=[],o=0;o<v;++o)n[o]=o;var t=e.mapDimension("single"),r=D(n,function(p){return e.get("name",p)}),i=[];return r.buckets.each(function(p,s){p.sort(function(a,u){return e.get(t,a)-e.get(t,u)}),i.push({name:s,indices:p})}),i},l.prototype.getAxisTooltipData=function(e,v,n){m.isArray(e)||(e=e?[e]:[]);for(var o=this.getData(),t=this.getLayerSeries(),r=[],i=t.length,p,s=0;s<i;++s){for(var a=Number.MAX_VALUE,u=-1,f=t[s].indices.length,g=0;g<f;++g){var d=o.get(e[0],t[s].indices[g]),y=Math.abs(d-v);y<=a&&(p=d,a=y,u=t[s].indices[g])}r.push(u)}return{dataIndices:r,nestestValue:p}},l.prototype.formatTooltip=function(e,v,n){var o=this.getData(),t=o.getName(e),r=o.get(o.mapDimension("value"),e);return N("nameValue",{name:t,value:r})},l.type="series.themeRiver",l.dependencies=["singleAxis"],l.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},l}(S),G=T;export{G as default};
|
|
3
|
-
//# sourceMappingURL=ThemeRiverSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/ThemeRiverView */
|
|
2
|
-
import{__extends as j}from"/tslib@2.3.0/es2022/tslib.mjs";import{ECPolygon as z}from"../line/poly.mjs";import*as r from"../../util/graphic.mjs";import{setStatesStylesFromModel as B,toggleHoverEmphasis as F}from"../../util/states.mjs";import{setLabelStyle as H,getLabelStatesModels as N}from"../../label/labelStyle.mjs";import{bind as C}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import q from"../../data/DataDiffer.mjs";import J from"../../view/Chart.mjs";import{saveOldStyle as K}from"../../animation/basicTransition.mjs";var Q=function(a){j(i,a);function i(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=i.type,e._layers=[],e}return i.prototype.render=function(e,v,W){var o=e.getData(),_=this,p=this.group,d=e.getLayerSeries(),L=o.getLayout("layoutInfo"),D=L.rect,R=L.boundaryGap;p.x=0,p.y=D.y+R[0];function G(m){return m.name}var T=new q(this._layersSeries||[],d,G,G),g=[];T.add(C(u,this,"add")).update(C(u,this,"update")).remove(C(u,this,"remove")).execute();function u(m,h,k){var I=_._layers;if(m==="remove"){p.remove(I[h]);return}for(var y=[],f=[],c,n=d[h].indices,s=0;s<n.length;s++){var S=o.getItemLayout(n[s]),P=S.x,E=S.y0,O=S.y;y.push(P,E),f.push(P,E+O),c=o.getItemVisual(n[s],"style")}var t,b=o.getItemLayout(n[0]),V=e.getModel("label"),A=V.get("margin"),w=e.getModel("emphasis");if(m==="add"){var l=g[h]=new r.Group;t=new z({shape:{points:y,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),l.add(t),p.add(l),e.isAnimationEnabled()&&t.setClipPath(U(t.getBoundingRect(),e,function(){t.removeClipPath()}))}else{var l=I[k];t=l.childAt(0),p.add(l),g[h]=l,r.updateProps(t,{shape:{points:y,stackedOnPoints:f}},e),K(t)}H(t,N(e),{labelDataIndex:n[s-1],defaultText:o.getName(n[s-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),t.setTextConfig({position:null,local:!0});var x=t.getTextContent();x&&(x.x=b.x-A,x.y=b.y0+b.y/2),t.useStyle(c),o.setItemGraphicEl(h,t),B(t,e),F(t,w.get("focus"),w.get("blurScope"),w.get("disabled"))}this._layersSeries=d,this._layers=g},i.type="themeRiver",i}(J);function U(a,i,e){var v=new r.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return r.initProps(v,{shape:{x:a.x-50,width:a.width+100,height:a.height+20}},i,e),v}var re=Q;export{re as default};
|
|
3
|
-
//# sourceMappingURL=ThemeRiverView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/install */
|
|
2
|
-
import r from"./ThemeRiverView.mjs";import i from"./ThemeRiverSeries.mjs";import o from"./themeRiverLayout.mjs";import t from"../../processor/dataFilter.mjs";function l(e){e.registerChartView(r),e.registerSeriesModel(i),e.registerLayout(o),e.registerProcessor(t("themeRiver"))}export{l as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/themeRiverLayout */
|
|
2
|
-
import*as p from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as f from"../../util/number.mjs";function I(e,s){e.eachSeriesByType("themeRiver",function(i){var u=i.getData(),n=i.coordinateSystem,a={},t=n.getRect();a.rect=t;var r=i.get("boundaryGap"),m=n.getAxis();if(a.boundaryGap=r,m.orient==="horizontal"){r[0]=f.parsePercent(r[0],t.height),r[1]=f.parsePercent(r[1],t.height);var y=t.height-r[0]-r[1];x(u,i,y)}else{r[0]=f.parsePercent(r[0],t.width),r[1]=f.parsePercent(r[1],t.width);var o=t.width-r[0]-r[1];x(u,i,o)}u.setLayout("layoutInfo",a)})}function x(e,s,i){if(e.count())for(var u=s.coordinateSystem,n=s.getLayerSeries(),a=e.mapDimension("single"),t=e.mapDimension("value"),r=p.map(n,function(L){return p.map(L.indices,function(g){var b=u.dataToPoint(e.get(a,g));return b[1]=e.get(t,g),b})}),m=P(r),y=m.y0,o=i/m.max,h=n.length,U=n[0].indices.length,l,v=0;v<U;++v){l=y[v]*o,e.setItemLayout(n[0].indices[v],{layerIndex:0,x:r[0][v][0],y0:l,y:r[0][v][1]*o});for(var c=1;c<h;++c)l+=r[c-1][v][1]*o,e.setItemLayout(n[c].indices[v],{layerIndex:c,x:r[c][v][0],y0:l,y:r[c][v][1]*o})}}function P(e){for(var s=e.length,i=e[0].length,u=[],n=[],a=0,t=0;t<i;++t){for(var r=0,m=0;m<s;++m)r+=e[m][t][1];r>a&&(a=r),u.push(r)}for(var y=0;y<i;++y)n[y]=(a-u[y])/2;a=0;for(var o=0;o<i;++o){var h=u[o]+n[o];h>a&&(a=h)}return{y0:n,max:a}}export{I as default};
|
|
3
|
-
//# sourceMappingURL=themeRiverLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/TreeSeries */
|
|
2
|
-
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import g from"../../model/Series.mjs";import v from"../../data/Tree.mjs";import y from"../../model/Model.mjs";import{createTooltipMarkup as D}from"../../component/tooltip/tooltipMarkup.mjs";import{wrapTreePathInfo as T}from"../helper/treeHelper.mjs";import x from"../../visual/tokens.mjs";var b=function(s){f(t,s);function t(){var e=s!==null&&s.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var n={name:e.name,children:e.data},p=e.leaves||{},m=new y(p,this,this.ecModel),i=v.createTree(n,this,r);function r(a){a.wrapMethod("getItemModel",function(l,c){var u=i.getNodeByDataIndex(c);return u&&u.children.length&&u.isExpand||(l.parentModel=m),l})}var o=0;i.eachNode("preorder",function(a){a.depth>o&&(o=a.depth)});var d=e.expandAndCollapse,h=d&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return i.root.eachNode("preorder",function(a){var l=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=l&&l.collapsed!=null?!l.collapsed:a.depth<=h}),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,n,p){for(var m=this.getData().tree,i=m.root.children[0],r=m.getNodeByDataIndex(e),o=r.getValue(),d=r.name;r&&r!==i;)d=r.parentNode.name+"."+d,r=r.parentNode;return D("nameValue",{name:d,value:o,noValue:isNaN(o)||o==null})},t.prototype.getDataParams=function(e){var n=s.prototype.getDataParams.apply(this,arguments),p=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=T(p,this),n.collapsed=!p.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystemUsage:"box",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,roamTrigger:"global",nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:x.color.borderTint,width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(g),R=b;export{R as default};
|
|
3
|
-
//# sourceMappingURL=TreeSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/TreeView */
|
|
2
|
-
import{__extends as V}from"/tslib@2.3.0/es2022/tslib.mjs";import*as N from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as s from"../../util/graphic.mjs";import{getECData as b}from"../../util/innerStore.mjs";import j from"../helper/Symbol.mjs";import{radialCoordinate as w}from"./layoutHelper.mjs";import*as z from"/zrender@6.0.0/es2022/lib/core/bbox.mjs";import q from"../../coord/View.mjs";import*as H from"../../component/helper/roamHelper.mjs";import J from"../../component/helper/RoamController.mjs";import{parsePercent as K}from"../../util/number.mjs";import Q from"../../view/Chart.mjs";import W from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import{setStatesStylesFromModel as $,setStatesFlag as M,setDefaultStateProxy as ee,HOVER_STATE_BLUR as te}from"../../util/states.mjs";import U from"../../visual/tokens.mjs";var ae=function(){function i(){this.parentPoint=[],this.childPoints=[]}return i}(),re=function(i){V(a,i);function a(e){return i.call(this,e)||this}return a.prototype.getDefaultStyle=function(){return{stroke:U.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new ae},a.prototype.buildPath=function(e,n){var c=n.childPoints,v=c.length,t=n.parentPoint,o=c[0],h=c[v-1];if(v===1){e.moveTo(t[0],t[1]),e.lineTo(o[0],o[1]);return}var p=n.orient,r=p==="TB"||p==="BT"?0:1,u=1-r,l=K(n.forkPosition,1),g=[];g[r]=t[r],g[u]=t[u]+(h[u]-t[u])*l,e.moveTo(t[0],t[1]),e.lineTo(g[0],g[1]),e.moveTo(o[0],o[1]),g[r]=o[r],e.lineTo(g[0],g[1]),g[r]=h[r],e.lineTo(g[0],g[1]),e.lineTo(h[0],h[1]);for(var y=1;y<v-1;y++){var f=c[y];e.moveTo(f[0],f[1]),g[r]=f[r],e.lineTo(g[0],g[1])}},a}(W),ne=function(i){V(a,i);function a(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=a.type,e._mainGroup=new s.Group,e}return a.prototype.init=function(e,n){this._controller=new J(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},a.prototype.render=function(e,n,c){var v=e.getData(),t=e.layoutInfo,o=this._mainGroup,h=e.get("layout");h==="radial"?(o.x=t.x+t.width/2,o.y=t.y+t.height/2):(o.x=t.x,o.y=t.y),this._updateViewCoordSys(e,c),this._updateController(e,null,n,c);var p=this._data;v.diff(p).add(function(r){O(v,r)&&Y(v,r,null,o,e)}).update(function(r,u){var l=p.getItemGraphicEl(u);if(!O(v,r)){l&&B(p,u,l,o,e);return}Y(v,r,l,o,e)}).remove(function(r){var u=p.getItemGraphicEl(r);u&&B(p,r,u,o,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),e.get("expandAndCollapse")===!0&&v.eachItemGraphicEl(function(r,u){r.off("click").on("click",function(){c.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:u})})}),this._data=v},a.prototype._updateViewCoordSys=function(e,n){var c=e.getData(),v=[];c.each(function(u){var l=c.getItemLayout(u);l&&!isNaN(l.x)&&!isNaN(l.y)&&v.push([+l.x,+l.y])});var t=[],o=[];z.fromPoints(v,t,o);var h=this._min,p=this._max;o[0]-t[0]===0&&(t[0]=h?h[0]:t[0]-1,o[0]=p?p[0]:o[0]+1),o[1]-t[1]===0&&(t[1]=h?h[1]:t[1]-1,o[1]=p?p[1]:o[1]+1);var r=e.coordinateSystem=new q(null,{api:n,ecModel:e.ecModel});r.zoomLimit=e.get("scaleLimit"),r.setBoundingRect(t[0],t[1],o[0]-t[0],o[1]-t[1]),r.setCenter(e.get("center")),r.setZoom(e.get("zoom")),this.group.attr({x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY}),this._min=t,this._max=o},a.prototype._updateController=function(e,n,c,v){var t=this;H.updateController(e,v,this.group,this._controller,this._controllerHost,n),this._controller.on("zoom",function(o){t._updateNodeAndLinkScale(e)})},a.prototype._updateNodeAndLinkScale=function(e){var n=e.getData(),c=this._getNodeGlobalScale(e);n.eachItemGraphicEl(function(v,t){v.setSymbolScale(c)})},a.prototype._getNodeGlobalScale=function(e){var n=e.coordinateSystem;if(n.type!=="view")return 1;var c=this._nodeScaleRatio,v=n.scaleX||1,t=n.getZoom(),o=(t-1)*c+1;return o/v},a.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},a.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},a.type="tree",a}(Q);function O(i,a){var e=i.getItemLayout(a);return e&&!isNaN(e.x)&&!isNaN(e.y)}function Y(i,a,e,n,c){var v=!e,t=i.tree.getNodeByDataIndex(a),o=t.getModel(),h=t.getVisual("style").fill,p=t.isExpand===!1&&t.children.length!==0?h:U.color.neutral00,r=i.tree.root,u=t.parentNode===r?t:t.parentNode||t,l=i.getItemGraphicEl(u.dataIndex),g=u.getLayout(),y=l?{x:l.__oldX,y:l.__oldY,rawX:l.__radialOldRawX,rawY:l.__radialOldRawY}:g,f=t.getLayout();v?(e=new j(i,a,null,{symbolInnerColor:p,useNameLabel:!0}),e.x=y.x,e.y=y.y):e.updateData(i,a,null,{symbolInnerColor:p,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=f.rawX,e.__radialRawY=f.rawY,n.add(e),i.setItemGraphicEl(a,e),e.__oldX=e.x,e.__oldY=e.y,s.updateProps(e,{x:f.x,y:f.y},c);var _=e.getSymbolPath();if(c.get("layout")==="radial"){var x=r.children[0],m=x.getLayout(),P=x.children.length,d=void 0,S=void 0;if(f.x===m.x&&t.isExpand===!0&&x.children.length){var I={x:(x.children[0].getLayout().x+x.children[P-1].getLayout().x)/2,y:(x.children[0].getLayout().y+x.children[P-1].getLayout().y)/2};d=Math.atan2(I.y-m.y,I.x-m.x),d<0&&(d=Math.PI*2+d),S=I.x<m.x,S&&(d=d-Math.PI)}else d=Math.atan2(f.y-m.y,f.x-m.x),d<0&&(d=Math.PI*2+d),t.children.length===0||t.children.length!==0&&t.isExpand===!1?(S=f.x<m.x,S&&(d=d-Math.PI)):(S=f.x>m.x,S||(d=d-Math.PI));var Z=S?"left":"right",D=o.getModel("label"),G=D.get("rotate"),F=G*(Math.PI/180),k=_.getTextContent();k&&(_.setTextConfig({position:D.get("position")||Z,rotation:G==null?-d:F,origin:"center"}),k.setStyle("verticalAlign","middle"))}var T=o.get(["emphasis","focus"]),R=T==="relative"?N.concatArray(t.getAncestorsIndices(),t.getDescendantIndices()):T==="ancestor"?t.getAncestorsIndices():T==="descendant"?t.getDescendantIndices():null;R&&(b(e).focus=R),oe(c,t,r,e,y,g,f,n),e.__edge&&(e.onHoverStateChange=function(X){if(X!=="blur"){var A=t.parentNode&&i.getItemGraphicEl(t.parentNode.dataIndex);A&&A.hoverState===te||M(e.__edge,X)}})}function oe(i,a,e,n,c,v,t,o){var h=a.getModel(),p=i.get("edgeShape"),r=i.get("layout"),u=i.getOrient(),l=i.get(["lineStyle","curveness"]),g=i.get("edgeForkPosition"),y=h.getModel("lineStyle").getLineStyle(),f=n.__edge;if(p==="curve")a.parentNode&&a.parentNode!==e&&(f||(f=n.__edge=new s.BezierCurve({shape:C(r,u,l,c,c)})),s.updateProps(f,{shape:C(r,u,l,v,t)},i));else if(p==="polyline"&&r==="orthogonal"&&a!==e&&a.children&&a.children.length!==0&&a.isExpand===!0){for(var _=a.children,x=[],m=0;m<_.length;m++){var P=_[m].getLayout();x.push([P.x,P.y])}f||(f=n.__edge=new re({shape:{parentPoint:[t.x,t.y],childPoints:[[t.x,t.y]],orient:u,forkPosition:g}})),s.updateProps(f,{shape:{parentPoint:[t.x,t.y],childPoints:x}},i)}f&&!(p==="polyline"&&!a.isExpand)&&(f.useStyle(N.defaults({strokeNoScale:!0,fill:null},y)),$(f,h,"lineStyle"),ee(f),o.add(f))}function E(i,a,e,n,c){var v=a.tree.root,t=L(v,i),o=t.source,h=t.sourceLayout,p=a.getItemGraphicEl(i.dataIndex);if(p){var r=a.getItemGraphicEl(o.dataIndex),u=r.__edge,l=p.__edge||(o.isExpand===!1||o.children.length===1?u:void 0),g=n.get("edgeShape"),y=n.get("layout"),f=n.get("orient"),_=n.get(["lineStyle","curveness"]);l&&(g==="curve"?s.removeElement(l,{shape:C(y,f,_,h,h),style:{opacity:0}},n,{cb:function(){e.remove(l)},removeOpt:c}):g==="polyline"&&n.get("layout")==="orthogonal"&&s.removeElement(l,{shape:{parentPoint:[h.x,h.y],childPoints:[[h.x,h.y]]},style:{opacity:0}},n,{cb:function(){e.remove(l)},removeOpt:c}))}}function L(i,a){for(var e=a.parentNode===i?a:a.parentNode||a,n;n=e.getLayout(),n==null;)e=e.parentNode===i?e:e.parentNode||e;return{source:e,sourceLayout:n}}function B(i,a,e,n,c){var v=i.tree.getNodeByDataIndex(a),t=i.tree.root,o=L(t,v).sourceLayout,h={duration:c.get("animationDurationUpdate"),easing:c.get("animationEasingUpdate")};s.removeElement(e,{x:o.x+1,y:o.y+1},c,{cb:function(){n.remove(e),i.setItemGraphicEl(a,null)},removeOpt:h}),e.fadeOut(null,i.hostModel,{fadeLabel:!0,animation:h}),v.children.forEach(function(p){E(p,i,n,c,h)}),E(v,i,n,c,h)}function C(i,a,e,n,c){var v,t,o,h,p,r,u,l;if(i==="radial"){p=n.rawX,u=n.rawY,r=c.rawX,l=c.rawY;var g=w(p,u),y=w(p,u+(l-u)*e),f=w(r,l+(u-l)*e),_=w(r,l);return{x1:g.x||0,y1:g.y||0,x2:_.x||0,y2:_.y||0,cpx1:y.x||0,cpy1:y.y||0,cpx2:f.x||0,cpy2:f.y||0}}else p=n.x,u=n.y,r=c.x,l=c.y,(a==="LR"||a==="RL")&&(v=p+(r-p)*e,t=u,o=r+(p-r)*e,h=l),(a==="TB"||a==="BT")&&(v=p,t=u+(l-u)*e,o=r,h=l+(u-l)*e);return{x1:p,y1:u,x2:r,y2:l,cpx1:v,cpy1:t,cpx2:o,cpy2:h}}var me=ne;export{me as default};
|
|
3
|
-
//# sourceMappingURL=TreeView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/install */
|
|
2
|
-
import r from"./TreeView.mjs";import o from"./TreeSeries.mjs";import i from"./treeLayout.mjs";import t from"./treeVisual.mjs";import{installTreeAction as m}from"./treeAction.mjs";function u(e){e.registerChartView(r),e.registerSeriesModel(o),e.registerLayout(i),e.registerVisual(t),m(e)}export{u as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/layoutHelper */
|
|
2
|
-
function E(r){var e=r;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[e],o,i;o=a.pop();)if(i=o.children,o.isExpand&&i.length)for(var h=i.length,l=h-1;l>=0;l--){var N=i[l];N.hierNode={defaultAncestor:null,ancestor:N,prelim:0,modifier:0,change:0,shift:0,i:l,thread:null},a.push(N)}}function M(r,e){var a=r.isExpand?r.children:[],o=r.parentNode.children,i=r.hierNode.i?o[r.hierNode.i-1]:null;if(a.length){t(r);var h=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;i?(r.hierNode.prelim=i.hierNode.prelim+e(r,i),r.hierNode.modifier=r.hierNode.prelim-h):r.hierNode.prelim=h}else i&&(r.hierNode.prelim=i.hierNode.prelim+e(r,i));r.parentNode.hierNode.defaultAncestor=x(r,i,r.parentNode.hierNode.defaultAncestor||o[0],e)}function S(r){var e=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:e},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function k(r){return arguments.length?r:A}function y(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function t(r){for(var e=r.children,a=e.length,o=0,i=0;--a>=0;){var h=e[a];h.hierNode.prelim+=o,h.hierNode.modifier+=o,i+=h.hierNode.change,o+=h.hierNode.shift+i}}function x(r,e,a,o){if(e){for(var i=r,h=r,l=h.parentNode.children[0],N=e,c=i.hierNode.modifier,d=h.hierNode.modifier,n=l.hierNode.modifier,v=N.hierNode.modifier;N=f(N),h=m(h),N&&h;){i=f(i),l=m(l),i.hierNode.ancestor=r;var p=N.hierNode.prelim+v-h.hierNode.prelim-d+o(N,h);p>0&&(u(s(N,r,a),r,p),d+=p,c+=p),v+=N.hierNode.modifier,d+=h.hierNode.modifier,c+=i.hierNode.modifier,n+=l.hierNode.modifier}N&&!f(i)&&(i.hierNode.thread=N,i.hierNode.modifier+=v-c),h&&!m(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=d-n,a=r)}return a}function f(r){var e=r.children;return e.length&&r.isExpand?e[e.length-1]:r.hierNode.thread}function m(r){var e=r.children;return e.length&&r.isExpand?e[0]:r.hierNode.thread}function s(r,e,a){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:a}function u(r,e,a){var o=a/(e.hierNode.i-r.hierNode.i);e.hierNode.change-=o,e.hierNode.shift+=a,e.hierNode.modifier+=a,e.hierNode.prelim+=a,r.hierNode.change+=o}function A(r,e){return r.parentNode===e.parentNode?1:2}export{M as firstWalk,E as init,y as radialCoordinate,S as secondWalk,k as separation};
|
|
3
|
-
//# sourceMappingURL=layoutHelper.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/treeAction */
|
|
2
|
-
import{updateCenterAndZoomInAction as p}from"../../component/helper/roamHelper.mjs";function d(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,a){a.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var e=t.dataIndex,o=i.getData().tree,n=o.getNodeByDataIndex(e);n.isExpand=!n.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,a,i){a.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var o=e.coordinateSystem,n=p(o,t,e.get("scaleLimit"));e.setCenter(n.center),e.setZoom(n.zoom)})})}export{d as installTreeAction};
|
|
3
|
-
//# sourceMappingURL=treeAction.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/tree/treeVisual */
|
|
2
|
-
import{extend as d}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function s(a){a.eachSeriesByType("tree",function(r){var e=r.getData(),l=e.tree;l.eachNode(function(t){var i=t.getModel(),n=i.getModel("itemStyle").getItemStyle(),o=e.ensureUniqueItemVisual(t.dataIndex,"style");d(o,n)})})}export{s as default};
|
|
3
|
-
//# sourceMappingURL=treeVisual.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/Breadcrumb */
|
|
2
|
-
import*as s from"../../util/graphic.mjs";import{getECData as _}from"../../util/innerStore.mjs";import*as v from"../../util/layout.mjs";import{wrapTreePathInfo as A}from"../helper/treeHelper.mjs";import{curry as C,defaults as E}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{convertOptionIdName as D}from"../../util/model.mjs";import{toggleHoverEmphasis as G,Z2_EMPHASIS_LIFT as M}from"../../util/states.mjs";import{createTextStyle as L}from"../../label/labelStyle.mjs";var P=8,w=8,T=5,R=function(){function a(t){this.group=new s.Group,t.add(this.group)}return a.prototype.render=function(t,e,n,o){var r=t.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!(!r.get("show")||!n)){var i=r.getModel("itemStyle"),h=r.getModel("emphasis"),g=i.getModel("textStyle"),d=h.getModel(["itemStyle","textStyle"]),f=v.createBoxLayoutReference(t,e).refContainer,u={left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},l={emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]},I=v.getLayoutRect(u,f);this._prepare(n,l,g),this._renderContent(t,l,I,i,h,g,d,o),v.positionElement(p,u,f)}},a.prototype._prepare=function(t,e,n){for(var o=t;o;o=o.parentNode){var r=D(o.getModel().get("name"),""),p=n.getTextRect(r),i=Math.max(p.width+P*2,e.emptyItemWidth);e.totalWidth+=i+w,e.renderList.push({node:o,text:r,width:i})}},a.prototype._renderContent=function(t,e,n,o,r,p,i,h){for(var g=0,d=e.emptyItemWidth,f=t.get(["breadcrumb","height"]),u=e.totalWidth,l=e.renderList,I=r.getModel("itemStyle").getItemStyle(),c=l.length-1;c>=0;c--){var S=l[c],x=S.node,y=S.width,b=S.text;u>n.width&&(u-=y-d,y=d,b=null);var m=new s.Polygon({shape:{points:k(g,0,y,f,c===l.length-1,c===0)},style:E(o.getItemStyle(),{lineJoin:"bevel"}),textContent:new s.Text({style:L(p,{text:b})}),textConfig:{position:"inside"},z2:M*1e4,onclick:C(h,x)});m.disableLabelAnimation=!0,m.getTextContent().ensureState("emphasis").style=L(i,{text:b}),m.ensureState("emphasis").style=I,G(m,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(m),B(m,t,x),g+=y+w}},a.prototype.remove=function(){this.group.removeAll()},a}();function k(a,t,e,n,o,r){var p=[[o?a:a-T,t],[a+e,t],[a+e,t+n],[o?a:a-T,t+n]];return!r&&p.splice(2,0,[a+e+T,t+n/2]),!o&&p.push([a,t+n/2]),p}function B(a,t,e){_(a).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&A(e,t)}}var Y=R;export{Y as default};
|
|
3
|
-
//# sourceMappingURL=Breadcrumb.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/TreemapSeries */
|
|
2
|
-
import{__extends as I}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"/zrender@6.0.0/es2022/lib/core/util.mjs";import M from"../../model/Series.mjs";import D from"../../data/Tree.mjs";import f from"../../model/Model.mjs";import{wrapTreePathInfo as w}from"../helper/treeHelper.mjs";import{normalizeToArray as g}from"../../util/model.mjs";import{createTooltipMarkup as S}from"../../component/tooltip/tooltipMarkup.mjs";import z from"../helper/enableAriaDecalForTree.mjs";import l from"../../visual/tokens.mjs";var T=function(o){I(r,o);function r(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=r.type,e.preventUsingHoverLayer=!0,e}return r.prototype.getInitialData=function(e,t){var a={name:e.name,children:e.data};y(a);var n=e.levels||[],s=this.designatedVisualItemStyle={},u=new f({itemStyle:s},this,t);n=e.levels=U(n,t);var p=i.map(n||[],function(d){return new f(d,u,t)},this),c=D.createTree(a,this,m);function m(d){d.wrapMethod("getItemModel",function(h,x){var v=c.getNodeByDataIndex(x),b=v?p[v.depth]:null;return h.parentModel=b||u,h})}return c.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.formatTooltip=function(e,t,a){var n=this.getData(),s=this.getRawValue(e),u=n.getName(e);return S("nameValue",{name:u,value:s})},r.prototype.getDataParams=function(e){var t=o.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return t.treeAncestors=w(a,this),t.treePathInfo=t.treeAncestors,t},r.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},r.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var a=t.get(e);return a==null&&t.set(e,a=this._idIndexMapCount++),a},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;(!e||e!==t&&!t.contains(e))&&(this._viewRoot=t)},r.prototype.enableAriaDecal=function(){z(this)},r.type="series.treemap",r.layoutMode="box",r.defaultOption={progressive:0,coordinateSystemUsage:"box",left:l.size.l,top:l.size.xxxl,right:l.size.l,bottom:l.size.xxxl,sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,scaleLimit:{max:5,min:.2},roam:!0,roamTrigger:"global",nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",bottom:l.size.m,emptyItemWidth:25,itemStyle:{color:l.color.backgroundShade,textStyle:{color:l.color.secondary}},emphasis:{itemStyle:{color:l.color.background}}},label:{show:!0,distance:0,padding:5,position:"inside",color:l.color.neutral00,overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:l.color.neutral00,borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},r}(M);function y(o){var r=0;i.each(o.children,function(t){y(t);var a=t.value;i.isArray(a)&&(a=a[0]),r+=a});var e=o.value;i.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=r),e<0&&(e=0),i.isArray(o.value)?o.value[0]=e:o.value=e}function U(o,r){var e=g(r.get("color")),t=g(r.get(["aria","decal","decals"]));if(e){o=o||[];var a,n;i.each(o,function(u){var p=new f(u),c=p.get("color"),m=p.get("decal");(p.get(["itemStyle","color"])||c&&c!=="none")&&(a=!0),(p.get(["itemStyle","decal"])||m&&m!=="none")&&(n=!0)});var s=o[0]||(o[0]={});return a||(s.color=e.slice()),!n&&t&&(s.decal=t.slice()),o}}var q=T;export{q as default};
|
|
3
|
-
//# sourceMappingURL=TreemapSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/TreemapView */
|
|
2
|
-
import{__extends as Dt}from"/tslib@2.3.0/es2022/tslib.mjs";import{bind as Q,each as E,indexOf as Gt,curry as At,extend as _t,normalizeCssArray as Ct,isFunction as ht}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as X from"../../util/graphic.mjs";import{getECData as ut}from"../../util/innerStore.mjs";import{isHighDownDispatcher as ft,setAsHighDownDispatcher as U,setDefaultStateProxy as vt,enableHoverFocus as pt,Z2_EMPHASIS_LIFT as tt}from"../../util/states.mjs";import Mt from"../../data/DataDiffer.mjs";import*as q from"../helper/treeHelper.mjs";import Rt from"./Breadcrumb.mjs";import Ht from"../../component/helper/RoamController.mjs";import Et from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import*as B from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import*as wt from"../../util/animation.mjs";import kt from"../../model/mixin/makeStyleMapper.mjs";import Nt from"../../view/Chart.mjs";import Wt from"/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs";import{makeInner as zt,convertOptionIdName as Ot}from"../../util/model.mjs";import{windowOpen as Ft}from"../../util/format.mjs";import{setLabelStyle as Pt,getLabelStatesModels as Bt}from"../../label/labelStyle.mjs";var $=X.Group,ct=X.Rect,gt=3,mt="label",yt="upperLabel",Vt=tt*10,Zt=tt*2,Xt=tt*3,P=kt([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),xt=function(G){var d=P(G);return d.stroke=d.fill=d.lineWidth=null,d},Y=zt(),Lt=function(G){Dt(d,G);function d(){var t=G!==null&&G.apply(this,arguments)||this;return t.type=d.type,t._state="ready",t._storage=L(),t}return d.prototype.render=function(t,r,i,n){var e=r.findComponents({mainType:"series",subType:"treemap",query:n});if(!(Gt(e,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=r;var f=["treemapZoomToNode","treemapRootToNode"],l=q.retrieveTargetInfo(n,f,t),s=n&&n.type,o=t.layoutInfo,S=!this._oldTree,m=this._storage,u=s==="treemapRootToNode"&&l&&m?{rootNodeGroup:m.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,T=this._giveContainerGroup(o),v=t.get("animation"),h=this._doRender(T,t,u);v&&!S&&(!s||s==="treemapZoomToNode"||s==="treemapRootToNode")?this._doAnimation(T,h,t,u):h.renderFinally(),this._resetController(i),this._renderBreadcrumb(t,i,l)}},d.prototype._giveContainerGroup=function(t){var r=this._containerGroup;return r||(r=this._containerGroup=new $,this._initEvents(r),this.group.add(r)),r.x=t.x,r.y=t.y,r},d.prototype._doRender=function(t,r,i){var n=r.getData().tree,e=this._oldTree,f=L(),l=L(),s=this._storage,o=[];function S(g,_,F,k){return Ut(r,l,s,i,f,o,g,_,F,k)}v(n.root?[n.root]:[],e&&e.root?[e.root]:[],t,n===e||!e,0);var m=h(s);if(this._oldTree=n,this._storage=l,this._controllerHost){var u=this.seriesModel.layoutInfo,T=n.root.getLayout();T.width===u.width&&T.height===u.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:f,willDeleteEls:m,renderFinally:A};function v(g,_,F,k,W){k?(_=g,E(g,function(H,O){!H.isRemoved()&&z(O,O)})):new Mt(_,g,R,R).add(z).update(z).remove(At(z,null)).execute();function R(H){return H.getId()}function z(H,O){var y=H!=null?g[H]:null,b=O!=null?_[O]:null,V=S(y,b,F,W);V&&v(y&&y.viewChildren||[],b&&b.viewChildren||[],V,k,W+1)}}function h(g){var _=L();return g&&E(g,function(F,k){var W=_[k];E(F,function(R){R&&(W.push(R),Y(R).willDelete=!0)})}),_}function A(){E(m,function(g){E(g,function(_){_.parent&&_.parent.remove(_)})}),E(o,function(g){g.invisible=!0,g.dirty()})}},d.prototype._doAnimation=function(t,r,i,n){var e=i.get("animationDurationUpdate"),f=i.get("animationEasing"),l=(ht(e)?0:e)||0,s=(ht(f)?null:f)||"cubicOut",o=wt.createWrap();E(r.willDeleteEls,function(S,m){E(S,function(u,T){if(!u.invisible){var v=u.parent,h,A=Y(v);if(n&&n.direction==="drillDown")h=v===n.rootNodeGroup?{shape:{x:0,y:0,width:A.nodeWidth,height:A.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var g=0,_=0;A.willDelete||(g=A.nodeWidth/2,_=A.nodeHeight/2),h=m==="nodeGroup"?{x:g,y:_,style:{opacity:0}}:{shape:{x:g,y:_,width:0,height:0},style:{opacity:0}}}h&&o.add(u,h,l,0,s)}})}),E(this._storage,function(S,m){E(S,function(u,T){var v=r.lastsForAnimation[m][T],h={};v&&(u instanceof X.Group?v.oldX!=null&&(h.x=u.x,h.y=u.y,u.x=v.oldX,u.y=v.oldY):(v.oldShape&&(h.shape=_t({},u.shape),u.setShape(v.oldShape)),v.fadein?(u.setStyle("opacity",0),h.style={opacity:1}):u.style.opacity!==1&&(h.style={opacity:1})),o.add(u,h,l,0,s))})},this),this._state="animating",o.finished(Q(function(){this._state="ready",r.renderFinally()},this)).start()},d.prototype._resetController=function(t){var r=this,i=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost);var e=this.seriesModel;i||(i=this._controller=new Ht(t.getZr()),i.on("pan",Q(this._onPan,this)),i.on("zoom",Q(this._onZoom,this))),i.enable(e.get("roam"),{api:t,zInfo:{component:e},triggerInfo:{roamTrigger:e.get("roamTrigger"),isInSelf:function(f,l,s){var o=r._containerGroup;return o?o.getBoundingRect().contain(l-o.x,s-o.y):!1}}}),n.zoomLimit=e.get("scaleLimit"),n.zoom=e.get("zoom")},d.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},d.prototype._onPan=function(t){if(this._state!=="animating"&&(Math.abs(t.dx)>gt||Math.abs(t.dy)>gt)){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},d.prototype._onZoom=function(t){var r=t.originX,i=t.originY,n=t.scale;if(this._state!=="animating"){var e=this.seriesModel.getData().tree.root;if(!e)return;var f=e.getLayout();if(!f)return;var l=new Et(f.x,f.y,f.width,f.height),s=null,o=this._controllerHost;s=o.zoomLimit;var S=o.zoom=o.zoom||1;if(S*=n,s){var m=s.min||0,u=s.max||1/0;S=Math.max(Math.min(u,S),m)}var T=S/o.zoom;o.zoom=S;var v=this.seriesModel.layoutInfo;r-=v.x,i-=v.y;var h=B.create();B.translate(h,h,[-r,-i]),B.scale(h,h,[T,T]),B.translate(h,h,[r,i]),l.applyTransform(h),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},d.prototype._initEvents=function(t){var r=this;t.on("click",function(i){if(r._state==="ready"){var n=r.seriesModel.get("nodeClick",!0);if(n){var e=r.findTarget(i.offsetX,i.offsetY);if(e){var f=e.node;if(f.getLayout().isLeafRoot)r._rootToNode(e);else if(n==="zoomToNode")r._zoomToNode(e);else if(n==="link"){var l=f.hostTree.data.getItemModel(f.dataIndex),s=l.get("link",!0),o=l.get("target",!0)||"blank";s&&Ft(s,o)}}}}},this)},d.prototype._renderBreadcrumb=function(t,r,i){var n=this;i||(i=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Rt(this.group))).render(t,r,i.node,function(e){n._state!=="animating"&&(q.aboveViewRoot(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))})},d.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},d.prototype.dispose=function(){this._clearController()},d.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},d.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},d.prototype.findTarget=function(t,r){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(e){var f=this._storage.background[e.getRawIndex()];if(f){var l=f.transformCoordToLocal(t,r),s=f.shape;if(s.x<=l[0]&&l[0]<=s.x+s.width&&s.y<=l[1]&&l[1]<=s.y+s.height)i={node:e,offsetX:l[0],offsetY:l[1]};else return!1}},this),i},d.type="treemap",d}(Nt);function L(){return{nodeGroup:[],background:[],content:[]}}function Ut(G,d,t,r,i,n,e,f,l,s){if(!e)return;var o=e.getLayout(),S=G.getData(),m=e.getModel();if(S.setItemGraphicEl(e.dataIndex,null),!o||!o.isInView)return;var u=o.width,T=o.height,v=o.borderWidth,h=o.invisible,A=e.getRawIndex(),g=f&&f.getRawIndex(),_=e.viewChildren,F=o.upperHeight,k=_&&_.length,W=m.getModel("itemStyle"),R=m.getModel(["emphasis","itemStyle"]),z=m.getModel(["blur","itemStyle"]),H=m.getModel(["select","itemStyle"]),O=W.get("borderRadius")||0,y=J("nodeGroup",$);if(!y)return;if(l.add(y),y.x=o.x||0,y.y=o.y||0,y.markRedraw(),Y(y).nodeWidth=u,Y(y).nodeHeight=T,o.isAboveViewRoot)return y;var b=J("background",ct,s,Zt);b&&It(y,b,k&&o.upperLabelHeight);var V=m.getModel("emphasis"),K=V.get("focus"),et=V.get("blurScope"),rt=V.get("disabled"),it=K==="ancestor"?e.getAncestorsIndices():K==="descendant"?e.getDescendantIndices():K;if(k)ft(y)&&U(y,!1),b&&(U(b,!rt),S.setItemGraphicEl(e.dataIndex,b),pt(b,it,et));else{var j=J("content",ct,s,Xt);j&&St(y,j),b.disableMorphing=!0,b&&ft(b)&&U(b,!1),U(y,!rt),S.setItemGraphicEl(e.dataIndex,y);var at=m.getShallow("cursor");at&&j.attr("cursor",at),pt(y,it,et)}return y;function It(p,a,w){var c=ut(a);if(c.dataIndex=e.dataIndex,c.seriesIndex=G.seriesIndex,a.setShape({x:0,y:0,width:u,height:T,r:O}),h)ot(a);else{a.invisible=!1;var x=e.getVisual("style"),D=x.stroke,C=xt(W);C.fill=D;var I=P(R);I.fill=R.get("borderColor");var M=P(z);M.fill=z.get("borderColor");var N=P(H);if(N.fill=H.get("borderColor"),w){var Z=u-2*v;nt(a,D,x.opacity,{x:v,y:0,width:Z,height:F})}else a.removeTextContent();a.setStyle(C),a.ensureState("emphasis").style=I,a.ensureState("blur").style=M,a.ensureState("select").style=N,vt(a)}p.add(a)}function St(p,a){var w=ut(a);w.dataIndex=e.dataIndex,w.seriesIndex=G.seriesIndex;var c=Math.max(u-2*v,0),x=Math.max(T-2*v,0);if(a.culling=!0,a.setShape({x:v,y:v,width:c,height:x,r:O}),h)ot(a);else{a.invisible=!1;var D=e.getVisual("style"),C=D.fill,I=xt(W);I.fill=C,I.decal=D.decal;var M=P(R),N=P(z),Z=P(H);nt(a,C,D.opacity,null),a.setStyle(I),a.ensureState("emphasis").style=M,a.ensureState("blur").style=N,a.ensureState("select").style=Z,vt(a)}p.add(a)}function ot(p){!p.invisible&&n.push(p)}function nt(p,a,w,c){var x=m.getModel(c?yt:mt),D=Ot(m.get("name"),null),C=x.getShallow("show");Pt(p,Bt(m,c?yt:mt),{defaultText:C?D:null,inheritColor:a,defaultOpacity:w,labelFetcher:G,labelDataIndex:e.dataIndex});var I=p.getTextContent();if(I){var M=I.style,N=Ct(M.padding||0);c&&(p.setTextConfig({layoutRect:c}),I.disableLabelLayout=!0),I.beforeUpdate=function(){var lt=Math.max((c?c.width:p.shape.width)-N[1]-N[3],0),dt=Math.max((c?c.height:p.shape.height)-N[0]-N[2],0);(M.width!==lt||M.height!==dt)&&I.setStyle({width:lt,height:dt})},M.truncateMinChar=2,M.lineOverflow="truncate",st(M,c,o);var Z=I.getState("emphasis");st(Z?Z.style:null,c,o)}}function st(p,a,w){var c=p?p.text:null;if(!a&&w.isLeafRoot&&c!=null){var x=G.get("drillDownIcon",!0);p.text=x?x+" "+c:c}}function J(p,a,w,c){var x=g!=null&&t[p][g],D=i[p];return x?(t[p][g]=null,Tt(D,x)):h||(x=new a,x instanceof Wt&&(x.z2=Yt(w,c)),bt(D,x)),d[p][A]=x}function Tt(p,a){var w=p[A]={};a instanceof $?(w.oldX=a.x,w.oldY=a.y):w.oldShape=_t({},a.shape)}function bt(p,a){var w=p[A]={},c=e.parentNode,x=a instanceof X.Group;if(c&&(!r||r.direction==="drillDown")){var D=0,C=0,I=i.background[c.getRawIndex()];!r&&I&&I.oldShape&&(D=I.oldShape.width,C=I.oldShape.height),x?(w.oldX=0,w.oldY=C):w.oldShape={x:D,y:C,width:0,height:0}}w.fadein=!x}}function Yt(G,d){return G*Vt+d}var le=Lt;export{le as default};
|
|
3
|
-
//# sourceMappingURL=TreemapView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/install */
|
|
2
|
-
import{installTreemapAction as r}from"./treemapAction.mjs";import o from"./TreemapSeries.mjs";import i from"./TreemapView.mjs";import m from"./treemapVisual.mjs";import t from"./treemapLayout.mjs";function u(e){e.registerSeriesModel(o),e.registerChartView(i),e.registerVisual(m),e.registerLayout(t),r(e)}export{u as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/treemapLayout */
|
|
2
|
-
import*as R from"/zrender@6.0.0/es2022/lib/core/util.mjs";import z from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import{parsePercent as M,MAX_SAFE_INTEGER as U}from"../../util/number.mjs";import*as E from"../../util/layout.mjs";import*as A from"../helper/treeHelper.mjs";var T=Math.max,P=Math.min,b=R.retrieve,N=R.each,O=["itemStyle","borderWidth"],W=["itemStyle","gapWidth"],B=["upperLabel","show"],S=["upperLabel","height"],$={seriesType:"treemap",reset:function(a,u,r,i){var v=a.option,n=E.createBoxLayoutReference(a,r).refContainer,t=E.getLayoutRect(a.getBoxLayoutParams(),n),e=v.size||[],o=M(b(t.width,e[0]),n.width),f=M(b(t.height,e[1]),n.height),h=i&&i.type,x=["treemapZoomToNode","treemapRootToNode"],y=A.retrieveTargetInfo(i,x,a),L=h==="treemapRender"||h==="treemapMove"?i.rootRect:null,g=a.getViewRoot(),p=A.getPathToRoot(g);if(h!=="treemapMove"){var s=h==="treemapZoomToNode"?J(a,y,g,o,f):L?[L.width,L.height]:[o,f],m=v.sort;m&&m!=="asc"&&m!=="desc"&&(m="desc");var w={squareRatio:v.squareRatio,sort:m,leafDepth:v.leafDepth};g.hostTree.clearLayouts();var l={x:0,y:0,width:s[0],height:s[1],area:s[0]*s[1]};g.setLayout(l),_(g,w,!1,0),l=g.getLayout(),N(p,function(V,H){var I=(p[H+1]||g).getValue();V.setLayout(R.extend({dataExtent:[I,I],borderWidth:0,upperHeight:0},l))})}var c=a.getData().tree.root;c.setLayout(K(t,L,y),!0),a.setLayoutInfo(t),q(c,new z(-t.x,-t.y,r.getWidth(),r.getHeight()),p,g,0)}};function _(a,u,r,i){var v,n;if(!a.isRemoved()){var t=a.getLayout();v=t.width,n=t.height;var e=a.getModel(),o=e.get(O),f=e.get(W)/2,h=C(e),x=Math.max(o,h),y=o-f,L=x-f;a.setLayout({borderWidth:o,upperHeight:x,upperLabelHeight:h},!0),v=T(v-2*y,0),n=T(n-y-L,0);var g=v*n,p=Z(a,e,g,u,r,i);if(p.length){var s={x:y,y:L,width:v,height:n},m=P(v,n),w=1/0,l=[];l.area=0;for(var c=0,V=p.length;c<V;){var H=p[c];l.push(H),l.area+=H.getLayout().area;var I=k(l,m,u.squareRatio);I<=w?(c++,w=I):(l.area-=l.pop().getLayout().area,d(l,m,s,f,!1),m=P(s.width,s.height),l.length=l.area=0,w=1/0)}if(l.length&&d(l,m,s,f,!0),!r){var D=e.get("childrenVisibleMin");D!=null&&g<D&&(r=!0)}for(var c=0,V=p.length;c<V;c++)_(p[c],u,r,i+1)}}}function Z(a,u,r,i,v,n){var t=a.children||[],e=i.sort;e!=="asc"&&e!=="desc"&&(e=null);var o=i.leafDepth!=null&&i.leafDepth<=n;if(v&&!o)return a.viewChildren=[];t=R.filter(t,function(L){return!L.isRemoved()}),X(t,e);var f=j(u,t,e);if(f.sum===0)return a.viewChildren=[];if(f.sum=G(u,r,f.sum,e,t),f.sum===0)return a.viewChildren=[];for(var h=0,x=t.length;h<x;h++){var y=t[h].getValue()/f.sum*r;t[h].setLayout({area:y})}return o&&(t.length&&a.setLayout({isLeafRoot:!0},!0),t.length=0),a.viewChildren=t,a.setLayout({dataExtent:f.dataExtent},!0),t}function G(a,u,r,i,v){if(!i)return r;for(var n=a.get("visibleMin"),t=v.length,e=t,o=t-1;o>=0;o--){var f=v[i==="asc"?t-o-1:o].getValue();f/r*u<n&&(e=o,r-=f)}return i==="asc"?v.splice(0,t-e):v.splice(e,t-e),r}function X(a,u){return u&&a.sort(function(r,i){var v=u==="asc"?r.getValue()-i.getValue():i.getValue()-r.getValue();return v===0?u==="asc"?r.dataIndex-i.dataIndex:i.dataIndex-r.dataIndex:v}),a}function j(a,u,r){for(var i=0,v=0,n=u.length;v<n;v++)i+=u[v].getValue();var t=a.get("visualDimension"),e;return!u||!u.length?e=[NaN,NaN]:t==="value"&&r?(e=[u[u.length-1].getValue(),u[0].getValue()],r==="asc"&&e.reverse()):(e=[1/0,-1/0],N(u,function(o){var f=o.getValue(t);f<e[0]&&(e[0]=f),f>e[1]&&(e[1]=f)})),{sum:i,dataExtent:e}}function k(a,u,r){for(var i=0,v=1/0,n=0,t=void 0,e=a.length;n<e;n++)t=a[n].getLayout().area,t&&(t<v&&(v=t),t>i&&(i=t));var o=a.area*a.area,f=u*u*r;return o?T(f*i/o,o/(f*v)):1/0}function d(a,u,r,i,v){var n=u===r.width?0:1,t=1-n,e=["x","y"],o=["width","height"],f=r[e[n]],h=u?a.area/u:0;(v||h>r[o[t]])&&(h=r[o[t]]);for(var x=0,y=a.length;x<y;x++){var L=a[x],g={},p=h?L.getLayout().area/h:0,s=g[o[t]]=T(h-2*i,0),m=r[e[n]]+r[o[n]]-f,w=x===y-1||m<p?m:p,l=g[o[n]]=T(w-2*i,0);g[e[t]]=r[e[t]]+P(i,s/2),g[e[n]]=f+P(i,l/2),f+=w,L.setLayout(g,!0)}r[e[t]]+=h,r[o[t]]-=h}function J(a,u,r,i,v){var n=(u||{}).node,t=[i,v];if(!n||n===r)return t;for(var e,o=i*v,f=o*a.option.zoomToNodeRatio;e=n.parentNode;){for(var h=0,x=e.children,y=0,L=x.length;y<L;y++)h+=x[y].getValue();var g=n.getValue();if(g===0)return t;f*=h/g;var p=e.getModel(),s=p.get(O),m=Math.max(s,C(p));f+=4*s*s+(3*s+m)*Math.pow(f,.5),f>U&&(f=U),n=e}f<o&&(f=o);var w=Math.pow(f/o,.5);return[i*w,v*w]}function K(a,u,r){if(u)return{x:u.x,y:u.y};var i={x:0,y:0};if(!r)return i;var v=r.node,n=v.getLayout();if(!n)return i;for(var t=[n.width/2,n.height/2],e=v;e;){var o=e.getLayout();t[0]+=o.x,t[1]+=o.y,e=e.parentNode}return{x:a.width/2-t[0],y:a.height/2-t[1]}}function q(a,u,r,i,v){var n=a.getLayout(),t=r[v],e=t&&t===a;if(!(t&&!e||v===r.length&&a!==i)){a.setLayout({isInView:!0,invisible:!e&&!u.intersect(n),isAboveViewRoot:e},!0);var o=new z(u.x-n.x,u.y-n.y,u.width,u.height);N(a.viewChildren||[],function(f){q(f,o,r,i,v+1)})}}function C(a){return a.get(B)?a.get(S):0}export{$ as default};
|
|
3
|
-
//# sourceMappingURL=treemapLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/treemap/treemapVisual */
|
|
2
|
-
import T from"../../visual/VisualMapping.mjs";import{each as V,extend as x,isArray as E}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{modifyHSL as I,modifyAlpha as L}from"/zrender@6.0.0/es2022/lib/tool/color.mjs";import{makeInner as A}from"../../util/model.mjs";var B="itemStyle",S=A(),U={seriesType:"treemap",reset:function(t){var r=t.getData().tree,e=r.root;e.isRemoved()||h(e,{},t.getViewRoot().getAncestors(),t)}};function h(t,r,e,n){var l=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(!(!a||a.invisible||!a.isInView)){var i=l.getModel(B),u=D(i,r,n),v=o.ensureUniqueItemVisual(t.dataIndex,"style"),p=i.get("borderColor"),f=i.get("borderColorSaturation"),g;f!=null&&(g=y(u),p=k(f,g)),v.stroke=p;var d=t.viewChildren;if(!d||!d.length)g=y(u),v.fill=g;else{var C=w(t,l,a,i,u,d);V(d,function(c,M){if(c.depth>=e.length||c===e[c.depth]){var b=R(l,u,c,M,C,n);h(c,b,e,n)}})}}}function D(t,r,e){var n=x({},r),l=e.designatedVisualItemStyle;return V(["color","colorAlpha","colorSaturation"],function(a){l[a]=r[a];var o=t.get(a);l[a]=null,o!=null&&(n[a]=o)}),n}function y(t){var r=s(t,"color");if(r){var e=s(t,"colorAlpha"),n=s(t,"colorSaturation");return n&&(r=I(r,null,null,n)),e&&(r=L(r,e)),r}}function k(t,r){return r!=null?I(r,null,null,t):null}function s(t,r){var e=t[r];if(e!=null&&e!=="none")return e}function w(t,r,e,n,l,a){if(!(!a||!a.length)){var o=m(r,"color")||l.color!=null&&l.color!=="none"&&(m(r,"colorAlpha")||m(r,"colorSaturation"));if(o){var i=r.get("visualMin"),u=r.get("visualMax"),v=e.dataExtent.slice();i!=null&&i<v[0]&&(v[0]=i),u!=null&&u>v[1]&&(v[1]=u);var p=r.get("colorMappingBy"),f={type:o.name,dataExtent:v,visual:o.range};f.type==="color"&&(p==="index"||p==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var g=new T(f);return S(g).drColorMappingBy=p,g}}}function m(t,r){var e=t.get(r);return E(e)&&e.length?{name:r,range:e}:null}function R(t,r,e,n,l,a){var o=x({},r);if(l){var i=l.type,u=i==="color"&&S(l).drColorMappingBy,v=u==="index"?n:u==="id"?a.mapIdToIndex(e.getId()):e.getValue(t.get("visualDimension"));o[i]=l.mapValueToVisual(v)}return o}export{U as default};
|
|
3
|
-
//# sourceMappingURL=treemapVisual.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/aria/preprocessor */
|
|
2
|
-
import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";function i(a){if(!(!a||!a.aria)){var r=a.aria;r.show!=null&&(r.enabled=r.show),r.label=r.label||{},e.each(["description","general","series","data"],function(l){r[l]!=null&&(r.label[l]=r[l])})}}export{i as default};
|
|
3
|
-
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/AngleAxisView */
|
|
2
|
-
import{__extends as C}from"/tslib@2.3.0/es2022/tslib.mjs";import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as g from"../../util/graphic.mjs";import{createTextStyle as U}from"../../label/labelStyle.mjs";import V from"../../model/Model.mjs";import R from"./AxisView.mjs";import z from"./AxisBuilder.mjs";import{getECData as B}from"../../util/innerStore.mjs";var D=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function A(n,e,t){e[1]>e[0]&&(e=e.slice().reverse());var d=n.coordToPoint([e[0],t]),l=n.coordToPoint([e[1],t]);return{x1:d[0],y1:d[1],x2:l[0],y2:l[1]}}function M(n){var e=n.getRadiusAxis();return e.inverse?0:1}function b(n){var e=n[0],t=n[n.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&n.pop()}var N=function(n){C(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,d){if(this.group.removeAll(),!!t.get("show")){var l=t.axis,s=l.polar,v=s.getRadiusAxis().getExtent(),c=l.getTicksCoords({breakTicks:"none"}),i=l.getMinorTicksCoords(),o=f.map(l.getViewLabels(),function(r){r=f.clone(r);var a=l.scale,h=a.type==="ordinal"?a.getRawOrdinalNumber(r.tickValue):r.tickValue;return r.coord=l.dataToCoord(h),r});b(o),b(c),f.each(D,function(r){t.get([r,"show"])&&(!l.scale.isBlank()||r==="axisLine")&&O[r](this.group,t,s,c,i,v,o)},this)}},e.type="angleAxis",e}(R),O={axisLine:function(n,e,t,d,l,s){var v=e.getModel(["axisLine","lineStyle"]),c=t.getAngleAxis(),i=Math.PI/180,o=c.getExtent(),r=M(t),a=r?0:1,h,p=Math.abs(o[1]-o[0])===360?"Circle":"Arc";s[a]===0?h=new g[p]({shape:{cx:t.cx,cy:t.cy,r:s[r],startAngle:-o[0]*i,endAngle:-o[1]*i,clockwise:c.inverse},style:v.getLineStyle(),z2:1,silent:!0}):h=new g.Ring({shape:{cx:t.cx,cy:t.cy,r:s[r],r0:s[a]},style:v.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,n.add(h)},axisTick:function(n,e,t,d,l,s){var v=e.getModel("axisTick"),c=(v.get("inside")?-1:1)*v.get("length"),i=s[M(t)],o=f.map(d,function(r){return new g.Line({shape:A(t,[i,i+c],r.coord)})});n.add(g.mergePath(o,{style:f.defaults(v.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(n,e,t,d,l,s){if(l.length){for(var v=e.getModel("axisTick"),c=e.getModel("minorTick"),i=(v.get("inside")?-1:1)*c.get("length"),o=s[M(t)],r=[],a=0;a<l.length;a++)for(var h=0;h<l[a].length;h++)r.push(new g.Line({shape:A(t,[o,o+i],l[a][h].coord)}));n.add(g.mergePath(r,{style:f.defaults(c.getModel("lineStyle").getLineStyle(),f.defaults(v.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(n,e,t,d,l,s,v){var c=e.getCategories(!0),i=e.getModel("axisLabel"),o=i.get("margin"),r=e.get("triggerEvent");f.each(v,function(a,h){var p=i,S=a.tickValue,y=s[M(t)],u=t.coordToPoint([y+o,a.coord]),L=t.cx,m=t.cy,x=Math.abs(u[0]-L)/y<.3?"center":u[0]>L?"left":"right",P=Math.abs(u[1]-m)/y<.3?"middle":u[1]>m?"top":"bottom";if(c&&c[S]){var T=c[S];f.isObject(T)&&T.textStyle&&(p=new V(T.textStyle,i,i.ecModel))}var k=new g.Text({silent:z.isLabelSilent(e),style:U(p,{x:u[0],y:u[1],fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:x,verticalAlign:P})});if(n.add(k),g.setTooltipConfig({el:k,componentModel:e,itemName:a.formattedLabel,formatterParamsExtra:{isTruncated:function(){return k.isTruncated},value:a.rawLabel,tickIndex:h}}),r){var w=z.makeAxisEventDataBase(e);w.targetType="axisLabel",w.value=a.rawLabel,B(k).eventData=w}},this)},splitLine:function(n,e,t,d,l,s){var v=e.getModel("splitLine"),c=v.getModel("lineStyle"),i=c.get("color"),o=0;i=i instanceof Array?i:[i];for(var r=[],a=0;a<d.length;a++){var h=o++%i.length;r[h]=r[h]||[],r[h].push(new g.Line({shape:A(t,s,d[a].coord)}))}for(var a=0;a<r.length;a++)n.add(g.mergePath(r[a],{style:f.defaults({stroke:i[a%i.length]},c.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(n,e,t,d,l,s){if(l.length){for(var v=e.getModel("minorSplitLine"),c=v.getModel("lineStyle"),i=[],o=0;o<l.length;o++)for(var r=0;r<l[o].length;r++)i.push(new g.Line({shape:A(t,s,l[o][r].coord)}));n.add(g.mergePath(i,{style:c.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(n,e,t,d,l,s){if(d.length){var v=e.getModel("splitArea"),c=v.getModel("areaStyle"),i=c.get("color"),o=0;i=i instanceof Array?i:[i];for(var r=[],a=Math.PI/180,h=-d[0].coord*a,p=Math.min(s[0],s[1]),S=Math.max(s[0],s[1]),y=e.get("clockwise"),u=1,L=d.length;u<=L;u++){var m=u===L?d[0].coord:d[u].coord,x=o++%i.length;r[x]=r[x]||[],r[x].push(new g.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:S,startAngle:h,endAngle:-m*a,clockwise:y},silent:!0})),h=-m*a}for(var u=0;u<r.length;u++)n.add(g.mergePath(r[u],{style:f.defaults({fill:i[u%i.length]},c.getAreaStyle()),silent:!0}))}}},H=N;export{H as default};
|
|
3
|
-
//# sourceMappingURL=AngleAxisView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/AxisBuilder */
|
|
2
|
-
import{retrieve as ee,defaults as te,extend as ie,each as I,isObject as Te,isString as ne,isNumber as Ae,isFunction as Ee,retrieve2 as _,map as _e,retrieve3 as we,filter as Oe}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as h from"../../util/graphic.mjs";import{getECData as ce}from"../../util/innerStore.mjs";import{createTextStyle as fe}from"../../label/labelStyle.mjs";import Se from"../../model/Model.mjs";import{isRadianAroundZero as K,remRadian as me}from"../../util/number.mjs";import{createSymbol as Ne,normalizeSymbolOffset as De}from"../../util/symbol.mjs";import*as w from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import{applyTransform as q}from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import{isNameLocationCenter as Y,shouldShowAllLabels as Re}from"../../coord/axisHelper.mjs";import{hideOverlap as Ce,labelIntersect as pe,computeLabelGeometry2 as Be,ensureLabelLayoutWithGeometry as C,labelLayoutApplyTranslation as Ve,setLabelLayoutDirty as Me,newLabelLayoutWithGeometry as oe}from"../../label/labelLayoutHelper.mjs";import{makeInner as de}from"../../util/model.mjs";import{getAxisBreakHelper as ge}from"./axisBreakHelper.mjs";import{AXIS_BREAK_EXPAND_ACTION_TYPE as Ie}from"./axisAction.mjs";import{getScaleBreakHelper as Ge}from"../../scale/break.mjs";import z from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import F from"/zrender@6.0.0/es2022/lib/core/Point.mjs";import{copyTransform as le}from"/zrender@6.0.0/es2022/lib/core/Transformable.mjs";import{AxisTickLabelComputingKind as se,createAxisLabelsComputingContext as Pe}from"../../coord/axisTickLabelBuilder.mjs";var R=Math.PI,Ue=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],ze=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],H=de(),he=de(),We=function(){function t(a){this.recordMap={},this.resolveAxisNameOverlap=a}return t.prototype.ensureRecord=function(a){var o=a.axis.dim,e=a.componentIndex,r=this.recordMap,i=r[o]||(r[o]=[]);return i[e]||(i[e]={ready:{}})},t}();function Fe(t,a,o,e){var r=o.axis,i=a.ensureRecord(o),n=[],s,l=re(t.axisName)&&Y(t.nameLocation);I(e,function(T){var d=C(T);if(!(!d||d.label.ignore)){n.push(d);var A=i.transGroup;l&&(A.transform?w.invert(U,A.transform):w.identity(U),d.transform&&w.mul(U,U,d.transform),z.copy(X,d.localRect),X.applyTransform(U),s?s.union(X):z.copy(s=new z(0,0,0,0),X))}});var c=Math.abs(i.dirVec.x)>.1?"x":"y",v=i.transGroup[c];if(n.sort(function(T,d){return Math.abs(T.label[c]-v)-Math.abs(d.label[c]-v)}),l&&s){var u=r.getExtent(),m=Math.min(u[0],u[1]),p=Math.max(u[0],u[1])-m;s.union(new z(m,0,p,1))}i.stOccupiedRect=s,i.labelInfoList=n}var U=w.create(),X=new z(0,0,0,0),He=function(t,a,o,e,r,i){if(Y(t.nameLocation)){var n=i.stOccupiedRect;n&&xe(Be({},n,i.transGroup.transform),e,r)}else je(i.labelInfoList,i.dirVec,e,r)};function xe(t,a,o){var e=new F;pe(t,a,e,{direction:Math.atan2(o.y,o.x),bidirectional:!1,touchThreshold:.05})&&Ve(a,e)}function je(t,a,o,e){for(var r=F.dot(e,a)>=0,i=0,n=t.length;i<n;i++){var s=t[r?i:n-1-i];s.label.ignore||xe(s,o,e)}}var M=function(){function t(a,o,e,r){this.group=new h.Group,this._axisModel=a,this._api=o,this._local={},this._shared=r||new We(He),this._resetCfgDetermined(e)}return t.prototype.updateCfg=function(a){if(0)var o;var e=this._cfg.raw;e.position=a.position,e.labelOffset=a.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(a){var o=this._axisModel,e=o.getDefaultOption?o.getDefaultOption():{},r=_(a.axisName,o.get("name")),i=o.get("nameMoveOverlap");(i==null||i==="auto")&&(i=_(a.defaultNameMoveOverlap,!0));var n={raw:a,position:a.position,rotation:a.rotation,nameDirection:_(a.nameDirection,1),tickDirection:_(a.tickDirection,1),labelDirection:_(a.labelDirection,1),labelOffset:_(a.labelOffset,0),silent:_(a.silent,!0),axisName:r,nameLocation:we(o.get("nameLocation"),e.nameLocation,"end"),shouldNameMoveOverlap:re(r)&&i,optionHideOverlap:o.get(["axisLabel","hideOverlap"]),showMinorTicks:o.get(["minorTick","show"])};this._cfg=n;var s=new h.Group({x:n.position[0],y:n.position[1],rotation:n.rotation});s.updateTransform(),this._transformGroup=s;var l=this._shared.ensureRecord(o);l.transGroup=this._transformGroup,l.dirVec=new F(Math.cos(-n.rotation),Math.sin(-n.rotation))},t.prototype.build=function(a,o){var e=this;return a||(a={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),I(Xe,function(r){a[r]&&Ke[r](e._cfg,e._local,e._shared,e._axisModel,e.group,e._transformGroup,e._api,o||{})}),this},t.innerTextLayout=function(a,o,e){var r=me(o-a),i,n;return K(r)?(n=e>0?"top":"bottom",i="center"):K(r-R)?(n=e>0?"bottom":"top",i="center"):(n="middle",r>0&&r<R?i=e>0?"right":"left":i=e>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:n}},t.makeAxisEventDataBase=function(a){var o={componentType:a.mainType,componentIndex:a.componentIndex};return o[a.mainType+"Index"]=a.componentIndex,o},t.isLabelSilent=function(a){var o=a.get("tooltip");return a.get("silent")||!(a.get("triggerEvent")||o&&o.show)},t}(),Xe=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],Ke={axisLine:function(t,a,o,e,r,i,n){if(0)var s;var l=e.get(["axisLine","show"]);if(l==="auto"&&(l=!0,t.raw.axisLineAutoShow!=null&&(l=!!t.raw.axisLineAutoShow)),!!l){var c=e.axis.getExtent(),v=i.transform,u=[c[0],0],m=[c[1],0],p=u[0]>m[0];v&&(q(u,u,v),q(m,m,v));var T=ie({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:T};if(e.get(["axisLine","breakLine"])&&e.axis.scale.hasBreaks())ge().buildAxisBreakLine(e,r,i,d);else{var A=new h.Line(ie({shape:{x1:u[0],y1:u[1],x2:m[0],y2:m[1]}},d));h.subPixelOptimizeLine(A.shape,A.style.lineWidth),A.anid="line",r.add(A)}var g=e.get(["axisLine","symbol"]);if(g!=null){var x=e.get(["axisLine","symbolSize"]);ne(g)&&(g=[g,g]),(ne(x)||Ae(x))&&(x=[x,x]);var B=De(e.get(["axisLine","symbolOffset"])||0,x),f=x[0],L=x[1];I([{rotate:t.rotation+Math.PI/2,offset:B[0],r:0},{rotate:t.rotation-Math.PI/2,offset:B[1],r:Math.sqrt((u[0]-m[0])*(u[0]-m[0])+(u[1]-m[1])*(u[1]-m[1]))}],function(y,E){if(g[E]!=="none"&&g[E]!=null){var S=Ne(g[E],-f/2,-L/2,f,L,T.stroke,!0),N=y.r+y.offset,k=p?m:u;S.attr({rotation:y.rotate,x:k[0]+N*Math.cos(t.rotation),y:k[1]-N*Math.sin(t.rotation),silent:!0,z2:11}),r.add(S)}})}}},axisTickLabelEstimate:function(t,a,o,e,r,i,n,s){if(0)var l;var c=ve(a,r,s);c&&ue(t,a,o,e,r,i,n,se.estimate)},axisTickLabelDetermine:function(t,a,o,e,r,i,n,s){if(0)var l;var c=ve(a,r,s);c&&ue(t,a,o,e,r,i,n,se.determine);var v=Je(t,r,i,e);Ze(t,a.labelLayoutList,v),Qe(t,r,i,e,t.tickDirection)},axisName:function(t,a,o,e,r,i,n,s){var l=o.ensureRecord(e);if(0)var c;a.nameEl&&(r.remove(a.nameEl),a.nameEl=l.nameLayout=l.nameLocation=null);var v=t.axisName;if(re(v)){var u=t.nameLocation,m=t.nameDirection,p=e.getModel("nameTextStyle"),T=e.get("nameGap")||0,d=e.axis.getExtent(),A=e.axis.inverse?-1:1,g=new F(0,0),x=new F(0,0);u==="start"?(g.x=d[0]-A*T,x.x=-A):u==="end"?(g.x=d[1]+A*T,x.x=A):(g.x=(d[0]+d[1])/2,g.y=t.labelOffset+m*T,x.y=m);var B=w.create();x.transform(w.rotate(B,B,t.rotation));var f=e.get("nameRotate");f!=null&&(f=f*R/180);var L,y;Y(u)?L=M.innerTextLayout(t.rotation,f??t.rotation,m):(L=qe(t.rotation,u,f||0,d),y=t.raw.axisNameAvailableWidth,y!=null&&(y=Math.abs(y/Math.sin(L.rotation)),!isFinite(y)&&(y=null)));var E=p.getFont(),S=e.get("nameTruncate",!0)||{},N=S.ellipsis,k=ee(t.raw.nameTruncateMaxWidth,S.maxWidth,y),G=s.nameMarginLevel||0,b=new h.Text({x:g.x,y:g.y,rotation:L.rotation,silent:M.isLabelSilent(e),style:fe(p,{text:v,font:E,overflow:"truncate",width:k,ellipsis:N,fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:p.get("align")||L.textAlign,verticalAlign:p.get("verticalAlign")||L.textVerticalAlign}),z2:1});if(h.setTooltipConfig({el:b,componentModel:e,itemName:v}),b.__fullText=v,b.anid="name",e.get("triggerEvent")){var V=M.makeAxisEventDataBase(e);V.targetType="axisName",V.name=v,ce(b).eventData=V}i.add(b),b.updateTransform(),a.nameEl=b;var j=l.nameLayout=C({label:b,priority:b.z2,defaultAttr:{ignore:b.ignore},marginDefault:Y(u)?Ue[G]:ze[G]});if(l.nameLocation=u,r.add(b),b.decomposeTransform(),t.shouldNameMoveOverlap&&j){var Z=o.ensureRecord(e);o.resolveAxisNameOverlap(t,o,e,j,x,Z)}}}};function ue(t,a,o,e,r,i,n,s){be(a)||$e(t,a,r,s,e,n);var l=a.labelLayoutList;et(t,e,l,i),rt(e,t.rotation,l);var c=t.optionHideOverlap;Ye(e,l,c),c&&Ce(Oe(l,function(v){return v&&!v.label.ignore})),Fe(t,o,e,l)}function qe(t,a,o,e){var r=me(o-t),i,n,s=e[0]>e[1],l=a==="start"&&!s||a!=="start"&&s;return K(r-R/2)?(n=l?"bottom":"top",i="center"):K(r-R*1.5)?(n=l?"top":"bottom",i="center"):(n="middle",r<R*1.5&&r>R/2?i=l?"left":"right":i=l?"right":"left"),{rotation:r,textAlign:i,textVerticalAlign:n}}function Ye(t,a,o){if(Re(t.axis))return;function e(s,l,c){var v=C(a[l]),u=C(a[c]);if(!(!v||!u)){if(s===!1||v.suggestIgnore){W(v.label);return}if(u.suggestIgnore){W(u.label);return}var m=.1;if(!o){var p=[0,0,0,0];v=oe({marginForce:p},v),u=oe({marginForce:p},u)}pe(v,u,null,{touchThreshold:m})&&W(s?u.label:v.label)}}var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]),n=a.length;e(r,0,1),e(i,n-1,n-2)}function Ze(t,a,o){t.showMinorTicks||I(a,function(e){if(e&&e.label.ignore)for(var r=0;r<o.length;r++){var i=o[r],n=he(i),s=H(e.label);if(n.tickValue!=null&&!n.onBand&&n.tickValue===s.tickValue){W(i);return}}})}function W(t){t&&(t.ignore=!0)}function Le(t,a,o,e,r){for(var i=[],n=[],s=[],l=0;l<t.length;l++){var c=t[l].coord;n[0]=c,n[1]=0,s[0]=c,s[1]=o,a&&(q(n,n,a),q(s,s,a));var v=new h.Line({shape:{x1:n[0],y1:n[1],x2:s[0],y2:s[1]},style:e,z2:2,autoBatch:!0,silent:!0});h.subPixelOptimizeLine(v.shape,v.style.lineWidth),v.anid=r+"_"+t[l].tickValue,i.push(v);var u=he(v);u.onBand=!!t[l].onBand,u.tickValue=t[l].tickValue}return i}function Je(t,a,o,e){var r=e.axis,i=e.getModel("axisTick"),n=i.get("show");if(n==="auto"&&(n=!0,t.raw.axisTickAutoShow!=null&&(n=!!t.raw.axisTickAutoShow)),!n||r.scale.isBlank())return[];for(var s=i.getModel("lineStyle"),l=t.tickDirection*i.get("length"),c=r.getTicksCoords(),v=Le(c,o.transform,l,te(s.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<v.length;u++)a.add(v[u]);return v}function Qe(t,a,o,e,r){var i=e.axis,n=e.getModel("minorTick");if(!(!t.showMinorTicks||i.scale.isBlank())){var s=i.getMinorTicksCoords();if(s.length)for(var l=n.getModel("lineStyle"),c=r*n.get("length"),v=te(l.getLineStyle(),te(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),u=0;u<s.length;u++)for(var m=Le(s[u],o.transform,c,v,"minorticks_"+u),p=0;p<m.length;p++)a.add(m[p])}}function ve(t,a,o){if(be(t)){var e=t.axisLabelsCreationContext,r=e.out.noPxChangeTryDetermine;if(o.noPxChange){for(var i=!0,n=0;n<r.length;n++)i=i&&r[n]();if(i)return!1}r.length&&(a.remove(t.labelGroup),ae(t,null,null,null))}return!0}function $e(t,a,o,e,r,i){var n=r.axis,s=ee(t.raw.axisLabelShow,r.get(["axisLabel","show"])),l=new h.Group;o.add(l);var c=Pe(e);if(!s||n.scale.isBlank()){ae(a,[],l,c);return}var v=r.getModel("axisLabel"),u=n.getViewLabels(c),m=(ee(t.raw.labelRotate,v.get("rotate"))||0)*R/180,p=M.innerTextLayout(t.rotation,m,t.labelDirection),T=r.getCategories&&r.getCategories(!0),d=[],A=r.get("triggerEvent"),g=1/0,x=-1/0;I(u,function(f,L){var y,E=n.scale.type==="ordinal"?n.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,S=f.formattedLabel,N=f.rawLabel,k=v;if(T&&T[E]){var G=T[E];Te(G)&&G.textStyle&&(k=new Se(G.textStyle,v,r.ecModel))}var b=k.getTextColor()||r.get(["axisLine","lineStyle","color"]),V=k.getShallow("align",!0)||p.textAlign,j=_(k.getShallow("alignMinLabel",!0),V),Z=_(k.getShallow("alignMaxLabel",!0),V),J=k.getShallow("verticalAlign",!0)||k.getShallow("baseline",!0)||p.textVerticalAlign,ye=_(k.getShallow("verticalAlignMinLabel",!0),J),ke=_(k.getShallow("verticalAlignMaxLabel",!0),J),Q=10+(((y=f.time)===null||y===void 0?void 0:y.level)||0);g=Math.min(g,Q),x=Math.max(x,Q);var D=new h.Text({x:0,y:0,rotation:0,silent:M.isLabelSilent(r),z2:Q,style:fe(k,{text:S,align:L===0?j:L===u.length-1?Z:V,verticalAlign:L===0?ye:L===u.length-1?ke:J,fill:Ee(b)?b(n.type==="category"?N:n.type==="value"?E+"":E,L):b})});D.anid="label_"+E;var $=H(D);if($.break=f.break,$.tickValue=E,$.layoutRotation=p.rotation,h.setTooltipConfig({el:D,componentModel:r,itemName:S,formatterParamsExtra:{isTruncated:function(){return D.isTruncated},value:N,tickIndex:L}}),A){var P=M.makeAxisEventDataBase(r);P.targetType="axisLabel",P.value=N,P.tickIndex=L,f.break&&(P.break={start:f.break.parsedBreak.vmin,end:f.break.parsedBreak.vmax}),n.type==="category"&&(P.dataIndex=E),ce(D).eventData=P,f.break&&at(r,i,D,f.break)}d.push(D),l.add(D)});var B=_e(d,function(f){return{label:f,priority:H(f).break?f.z2+(x-g+1):f.z2,defaultAttr:{ignore:f.ignore}}});ae(a,B,l,c)}function be(t){return!!t.labelLayoutList}function ae(t,a,o,e){t.labelLayoutList=a,t.labelGroup=o,t.axisLabelsCreationContext=e}function et(t,a,o,e){var r=a.get(["axisLabel","margin"]);I(o,function(i,n){var s=C(i);if(s){var l=s.label,c=H(l);s.suggestIgnore=l.ignore,l.ignore=!1,le(O,tt),O.x=a.axis.dataToCoord(c.tickValue),O.y=t.labelOffset+t.labelDirection*r,O.rotation=c.layoutRotation,e.add(O),O.updateTransform(),e.remove(O),O.decomposeTransform(),le(l,O),l.markRedraw(),Me(s,!0),C(s)}})}var O=new h.Rect,tt=new h.Rect;function re(t){return!!t}function at(t,a,o,e){o.on("click",function(r){var i={type:Ie,breaks:[{start:e.parsedBreak.breakOption.start,end:e.parsedBreak.breakOption.end}]};i[t.axis.dim+"AxisIndex"]=t.componentIndex,a.dispatchAction(i)})}function rt(t,a,o){var e=Ge();if(e){var r=e.retrieveAxisBreakPairs(o,function(n){return n&&H(n.label).break},!0),i=t.get(["breakLabelLayout","moveOverlap"],!0);(i===!0||i==="auto")&&I(r,function(n){ge().adjustBreakLabelPair(t.axis.inverse,a,[C(o[n[0]]),C(o[n[1]])])})}}var kt=M;export{We as AxisBuilderSharedContext,kt as default,H as getLabelInner,je as moveIfOverlapByLinearLabels,He as resolveAxisNameOverlapDefault};
|
|
3
|
-
//# sourceMappingURL=AxisBuilder.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/CartesianAxisView */
|
|
2
|
-
import{__extends as S}from"/tslib@2.3.0/es2022/tslib.mjs";import*as y from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as h from"../../util/graphic.mjs";import G from"./AxisView.mjs";import{rectCoordAxisBuildSplitArea as V,rectCoordAxisHandleRemove as _}from"./axisSplitHelper.mjs";import{getAxisBreakHelper as b}from"./axisBreakHelper.mjs";import{shouldAxisShow as k}from"../../coord/axisHelper.mjs";var H=["splitArea","splitLine","minorSplitLine","breakArea"],L=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="CartesianAxisPointer",i}return e.prototype.render=function(i,u,c,t){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!!k(i)){this._axisGroup.add(i.axis.axisBuilder.group),y.each(H,function(a){i.get([a,"show"])&&R[a](this,this._axisGroup,i,i.getCoordSysModel(),c)},this);var g=t&&t.type==="changeAxisOrder"&&t.isInitSort;g||h.groupTransition(l,this._axisGroup,i),r.prototype.render.call(this,i,u,c,t)}},e.prototype.remove=function(){_(this)},e.type="cartesianAxis",e}(G),R={splitLine:function(r,e,i,u,c){var t=i.axis;if(!t.scale.isBlank()){var l=i.getModel("splitLine"),g=l.getModel("lineStyle"),a=g.get("color"),w=l.get("showMinLine")!==!1,x=l.get("showMaxLine")!==!1;a=y.isArray(a)?a:[a];for(var n=u.coordinateSystem.getRect(),v=t.isHorizontal(),m=0,p=t.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),o=[],s=[],f=g.getLineStyle(),d=0;d<p.length;d++){var A=t.toGlobalCoord(p[d].coord);if(!(d===0&&!w||d===p.length-1&&!x)){var B=p[d].tickValue;v?(o[0]=A,o[1]=n.y,s[0]=A,s[1]=n.y+n.height):(o[0]=n.x,o[1]=A,s[0]=n.x+n.width,s[1]=A);var z=m++%a.length,C=new h.Line({anid:B!=null?"line_"+B:null,autoBatch:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:y.defaults({stroke:a[z]},f),silent:!0});h.subPixelOptimizeLine(C.shape,f.lineWidth),e.add(C)}}}},minorSplitLine:function(r,e,i,u,c){var t=i.axis,l=i.getModel("minorSplitLine"),g=l.getModel("lineStyle"),a=u.coordinateSystem.getRect(),w=t.isHorizontal(),x=t.getMinorTicksCoords();if(x.length)for(var n=[],v=[],m=g.getLineStyle(),p=0;p<x.length;p++)for(var o=0;o<x[p].length;o++){var s=t.toGlobalCoord(x[p][o].coord);w?(n[0]=s,n[1]=a.y,v[0]=s,v[1]=a.y+a.height):(n[0]=a.x,n[1]=s,v[0]=a.x+a.width,v[1]=s);var f=new h.Line({anid:"minor_line_"+x[p][o].tickValue,autoBatch:!0,shape:{x1:n[0],y1:n[1],x2:v[0],y2:v[1]},style:m,silent:!0});h.subPixelOptimizeLine(f.shape,m.lineWidth),e.add(f)}},splitArea:function(r,e,i,u,c){V(r,e,i,u)},breakArea:function(r,e,i,u,c){var t=b(),l=i.axis.scale;t&&l.type!=="ordinal"&&t.rectCoordBuildBreakAxis(e,r,i,u.coordinateSystem.getRect(),c)}},M=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=e.type,i}return e.type="xAxis",e}(L);var W=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=M.type,i}return e.type="yAxis",e}(L);var X=L;export{M as CartesianXAxisView,W as CartesianYAxisView,X as default};
|
|
3
|
-
//# sourceMappingURL=CartesianAxisView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/ParallelAxisView */
|
|
2
|
-
import{__extends as g}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import v from"./AxisBuilder.mjs";import C from"../helper/BrushController.mjs";import*as u from"../helper/brushHelper.mjs";import*as h from"../../util/graphic.mjs";import b from"../../view/Component.mjs";var A=function(e){g(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,o){e.prototype.init.apply(this,arguments),(this._brushController=new C(o.getZr())).on("brush",s.bind(this._onBrush,this))},t.prototype.render=function(r,o,i,l){if(!B(r,o,l)){this.axisModel=r,this.api=i,this.group.removeAll();var p=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!!r.get("show")){var a=_(r,o),c=a.coordinateSystem,d=r.getAreaSelectStyle(),m=d.width,n=r.axis.dim,y=c.getAxisLayout(n),x=s.extend({strokeContainThreshold:m},y),f=new v(r,i,x);f.build(),this._axisGroup.add(f.group),this._refreshBrushController(x,d,r,a,m,i),h.groupTransition(p,this._axisGroup,r)}}},t.prototype._refreshBrushController=function(r,o,i,l,p,a){var c=i.axis.getExtent(),d=c[1]-c[0],m=Math.min(30,Math.abs(d)*.1),n=h.BoundingRect.create({x:c[0],y:-p/2,width:d,height:p});n.x-=m,n.width+=2*m,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,x:r.position[0],y:r.position[1]}).setPanels([{panelId:"pl",clipPath:u.makeRectPanelClipPath(n),isTargetByCursor:u.makeRectIsTargetByCursor(n,a,l),getLinearBrushOtherExtent:u.makeLinearBrushOtherExtent(n,0)}]).enableBrush({brushType:"lineX",brushStyle:o,removeOnClick:!0}).updateCovers(S(i))},t.prototype._onBrush=function(r){var o=r.areas,i=this.axisModel,l=i.axis,p=s.map(o,function(a){return[l.coordToData(a.range[0],!0),l.coordToData(a.range[1],!0)]});(!i.option.realtime===r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:p})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(b);function B(e,t,r){return r&&r.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:r})[0]===e}function S(e){var t=e.axis;return s.map(e.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(r[0],!0),t.dataToCoord(r[1],!0)]}})}function _(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var L=A;export{L as default};
|
|
3
|
-
//# sourceMappingURL=ParallelAxisView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/RadiusAxisView */
|
|
2
|
-
import{__extends as y}from"/tslib@2.3.0/es2022/tslib.mjs";import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as n from"../../util/graphic.mjs";import m from"./AxisBuilder.mjs";import M from"./AxisView.mjs";var S=["splitLine","splitArea","minorSplitLine"],w=function(s){y(a,s);function a(){var e=s!==null&&s.apply(this,arguments)||this;return e.type=a.type,e.axisPointerClass="PolarAxisPointer",e}return a.prototype.render=function(e,A,x){if(this.group.removeAll(),!!e.get("show")){var g=this._axisGroup,o=this._axisGroup=new n.Group;this.group.add(o);var l=e.axis,t=l.polar,h=t.getAngleAxis(),i=l.getTicksCoords(),p=l.getMinorTicksCoords(),r=h.getExtent()[0],c=l.getExtent(),v=E(t,e,r),u=new m(e,x,v);u.build(),o.add(u.group),n.groupTransition(g,o,e),f.each(S,function(d){e.get([d,"show"])&&!l.scale.isBlank()&&L[d](this.group,e,t,r,c,i,p)},this)}},a.type="radiusAxis",a}(M),L={splitLine:function(s,a,e,A,x,g){var o=a.getModel("splitLine"),l=o.getModel("lineStyle"),t=l.get("color"),h=0,i=e.getAngleAxis(),p=Math.PI/180,r=i.getExtent(),c=Math.abs(r[1]-r[0])===360?"Circle":"Arc";t=t instanceof Array?t:[t];for(var v=[],u=0;u<g.length;u++){var d=h++%t.length;v[d]=v[d]||[],v[d].push(new n[c]({shape:{cx:e.cx,cy:e.cy,r:Math.max(g[u].coord,0),startAngle:-r[0]*p,endAngle:-r[1]*p,clockwise:i.inverse}}))}for(var u=0;u<v.length;u++)s.add(n.mergePath(v[u],{style:f.defaults({stroke:t[u%t.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(s,a,e,A,x,g,o){if(o.length){for(var l=a.getModel("minorSplitLine"),t=l.getModel("lineStyle"),h=[],i=0;i<o.length;i++)for(var p=0;p<o[i].length;p++)h.push(new n.Circle({shape:{cx:e.cx,cy:e.cy,r:o[i][p].coord}}));s.add(n.mergePath(h,{style:f.defaults({fill:null},t.getLineStyle()),silent:!0}))}},splitArea:function(s,a,e,A,x,g){if(g.length){var o=a.getModel("splitArea"),l=o.getModel("areaStyle"),t=l.get("color"),h=0;t=t instanceof Array?t:[t];for(var i=[],p=g[0].coord,r=1;r<g.length;r++){var c=h++%t.length;i[c]=i[c]||[],i[c].push(new n.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:g[r].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),p=g[r].coord}for(var r=0;r<i.length;r++)s.add(n.mergePath(i[r],{style:f.defaults({fill:t[r%t.length]},l.getAreaStyle()),silent:!0}))}}};function E(s,a,e){return{position:[s.cx,s.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:a.getModel("axisLabel").get("rotate"),z2:1}}var B=w;export{B as default};
|
|
3
|
-
//# sourceMappingURL=RadiusAxisView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/SingleAxisView */
|
|
2
|
-
import{__extends as S}from"/tslib@2.3.0/es2022/tslib.mjs";import*as m from"/zrender@6.0.0/es2022/lib/core/util.mjs";import L from"./AxisBuilder.mjs";import*as t from"../../util/graphic.mjs";import*as B from"../../coord/single/singleAxisHelper.mjs";import b from"./AxisView.mjs";import{rectCoordAxisBuildSplitArea as H,rectCoordAxisHandleRemove as _}from"./axisSplitHelper.mjs";import{getAxisBreakHelper as z}from"./axisBreakHelper.mjs";var C=["splitArea","splitLine","breakArea"],P=function(a){S(i,a);function i(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=i.type,r.axisPointerClass="SingleAxisPointer",r}return i.prototype.render=function(r,e,u,o){var l=this.group;l.removeAll();var v=this._axisGroup;this._axisGroup=new t.Group;var s=B.layout(r),f=new L(r,u,s);f.build(),l.add(this._axisGroup),l.add(f.group),m.each(C,function(n){r.get([n,"show"])&&R[n](this,this.group,this._axisGroup,r,u)},this),t.groupTransition(v,this._axisGroup,r),a.prototype.render.call(this,r,e,u,o)},i.prototype.remove=function(){_(this)},i.type="singleAxis",i}(b),R={splitLine:function(a,i,r,e,u){var o=e.axis;if(!o.scale.isBlank()){var l=e.getModel("splitLine"),v=l.getModel("lineStyle"),s=v.get("color");s=s instanceof Array?s:[s];for(var f=v.get("width"),n=e.coordinateSystem.getRect(),k=o.isHorizontal(),c=[],w=0,y=o.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),g=[],h=[],p=0;p<y.length;++p){var d=o.toGlobalCoord(y[p].coord);k?(g[0]=d,g[1]=n.y,h[0]=d,h[1]=n.y+n.height):(g[0]=n.x,g[1]=d,h[0]=n.x+n.width,h[1]=d);var A=new t.Line({shape:{x1:g[0],y1:g[1],x2:h[0],y2:h[1]},silent:!0});t.subPixelOptimizeLine(A.shape,f);var x=w++%s.length;c[x]=c[x]||[],c[x].push(A)}for(var G=v.getLineStyle(["color"]),p=0;p<c.length;++p)i.add(t.mergePath(c[p],{style:m.defaults({stroke:s[p%s.length]},G),silent:!0}))}},splitArea:function(a,i,r,e,u){H(a,r,e,e)},breakArea:function(a,i,r,e,u){var o=z(),l=e.axis.scale;o&&l.type!=="ordinal"&&o.rectCoordBuildBreakAxis(i,a,e,e.coordinateSystem.getRect(),u)}},W=P;export{W as default};
|
|
3
|
-
//# sourceMappingURL=SingleAxisView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/axisAction */
|
|
2
|
-
import{parseFinder as E}from"../../util/model.mjs";import{defaults as _,each as A}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var l="expandAxisBreak",k="collapseAxisBreak",B="toggleAxisBreak",s="axisbreakchanged",I={type:l,event:s,update:"update",refineEvent:x},g={type:k,event:s,update:"update",refineEvent:x},T={type:B,event:s,update:"update",refineEvent:x};function x(n,t,r,p){var e=[];return A(n,function(a){e=e.concat(a.eventBreaks)}),{eventContent:{breaks:e}}}function P(n){n.registerAction(I,t),n.registerAction(g,t),n.registerAction(T,t);function t(r,p){var e=[],a=E(p,r);function i(d,v){A(a[d],function(c){var u=c.updateAxisBreaks(r);A(u.breaks,function(f){var o;e.push(_((o={},o[v]=c.componentIndex,o),f))})})}return i("xAxisModels","xAxisIndex"),i("yAxisModels","yAxisIndex"),i("singleAxisModels","singleAxisIndex"),{eventBreaks:e}}}export{k as AXIS_BREAK_COLLAPSE_ACTION_TYPE,l as AXIS_BREAK_EXPAND_ACTION_TYPE,B as AXIS_BREAK_TOGGLE_ACTION_TYPE,P as registerAction};
|
|
3
|
-
//# sourceMappingURL=axisAction.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/axisBreakHelperImpl */
|
|
2
|
-
import{makeInner as pr}from"../../util/model.mjs";import{assert as kr,each as lr,extend as mr,find as q,map as Q}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getScaleBreakHelper as w}from"../../scale/break.mjs";import{subPixelOptimizeLine as dr}from"/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs";import{applyTransform as ir}from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import*as C from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import{AXIS_BREAK_COLLAPSE_ACTION_TYPE as xr,AXIS_BREAK_EXPAND_ACTION_TYPE as vr,AXIS_BREAK_TOGGLE_ACTION_TYPE as br}from"./axisAction.mjs";import{labelIntersect as gr,labelLayoutApplyTranslation as nr}from"../../label/labelLayoutHelper.mjs";import{registerAxisBreakHelperImpl as hr}from"./axisBreakHelper.mjs";import"../../util/log.mjs";import{Group as tr,Line as Ar,Point as M,Polygon as zr,Polyline as or,WH as $,XY as G}from"../../util/graphic.mjs";var sr=pr();function yr(l,a){var r=q(l,function(n){return w().identifyAxisBreak(n.parsedBreak.breakOption,a.breakOption)});return r||l.push(r={zigzagRandomList:[],parsedBreak:a,shouldRemove:!1}),r}function _r(l){lr(l,function(a){return a.shouldRemove=!0})}function Br(l){for(var a=l.length-1;a>=0;a--)l[a].shouldRemove&&l.splice(a,1)}function Tr(l,a,r,n,e){var i=r.axis;if(i.scale.isBlank()||!w())return;var s=w().retrieveAxisBreakPairs(i.scale.getTicks({breakTicks:"only_break"}),function(A){return A.break},!1);if(!s.length)return;var v=r.getModel("breakArea"),c=v.get("zigzagAmplitude"),d=v.get("zigzagMinSpan"),p=v.get("zigzagMaxSpan");d=Math.max(2,d||0),p=Math.max(d,p||0);var B=v.get("expandOnClick"),f=v.get("zigzagZ"),E=v.getModel("itemStyle"),g=E.getItemStyle(),L=g.stroke,k=g.lineWidth,m=g.lineDash,t=g.fill,h=new tr({ignoreModelZ:!0}),z=i.isHorizontal(),I=sr(a).visualList||(sr(a).visualList=[]);_r(I);for(var O=function(A){var x=s[A][0].break.parsedBreak,o=[];o[0]=i.toGlobalCoord(i.dataToCoord(x.vmin,!0)),o[1]=i.toGlobalCoord(i.dataToCoord(x.vmax,!0)),o[1]<o[0]&&o.reverse();var u=yr(I,x);u.shouldRemove=!1;var b=new tr;N(u.zigzagRandomList,b,o[0],o[1],z,x),B&&b.on("click",function(){var H={type:vr,breaks:[{start:x.breakOption.start,end:x.breakOption.end}]};H[i.dim+"AxisIndex"]=r.componentIndex,e.dispatchAction(H)}),b.silent=!B,h.add(b)},y=0;y<s.length;y++)O(y);l.add(h),Br(I);function N(A,x,o,u,b,H){var rr={stroke:L,lineWidth:k,lineDash:m,fill:"none"},T=b?0:1,_=1-T,Y=n[G[_]]+n[$[_]];function er(cr){var P=[],Z=[];P[T]=Z[T]=cr,P[_]=n[G[_]],Z[_]=Y;var D={x1:P[0],y1:P[1],x2:Z[0],y2:Z[1]};return dr(D,D,{lineWidth:1}),P[0]=D.x1,P[1]=D.y1,P[T]}o=er(o),u=er(u);for(var K=[],V=[],R=!0,S=n[G[_]],j=0;;j++){var fr=S===n[G[_]],F=S>=Y;F&&(S=Y);var U=[],W=[];U[T]=o,W[T]=u,!fr&&!F&&(U[T]+=R?-c:c,W[T]-=R?c:-c),U[_]=S,W[_]=S,K.push(U),V.push(W);var X=void 0;if(j<A.length?X=A[j]:(X=Math.random(),A.push(X)),S+=X*(p-d)+d,R=!R,F)break}var J=w().serializeAxisBreakIdentifier(H.breakOption);if(x.add(new or({anid:"break_a_"+J,shape:{points:K},style:rr,z:f})),H.gapReal!==0){x.add(new or({anid:"break_b_"+J,shape:{points:V},style:rr,z:f}));var ar=V.slice();ar.reverse();var ur=K.concat(ar);x.add(new zr({anid:"break_c_"+J,shape:{points:ur},style:{fill:t,opacity:g.opacity},z:f}))}}}function Er(l,a,r,n){var e=l.axis,i=r.transform;kr(n.style);var s=e.getExtent();e.inverse&&(s=s.slice(),s.reverse());var v=w().retrieveAxisBreakPairs(e.scale.getTicks({breakTicks:"only_break"}),function(k){return k.break},!1),c=Q(v,function(k){var m=k[0].break.parsedBreak,t=[e.dataToCoord(m.vmin,!0),e.dataToCoord(m.vmax,!0)];return t[0]>t[1]&&t.reverse(),{coordPair:t,brkId:w().serializeAxisBreakIdentifier(m.breakOption)}});c.sort(function(k,m){return k.coordPair[0]-m.coordPair[0]});for(var d=s[0],p=null,B=0;B<c.length;B++){var f=c[B],E=Math.max(f.coordPair[0],s[0]),g=Math.min(f.coordPair[1],s[1]);d<=E&&L(d,E,p,f),d=g,p=f}d<=s[1]&&L(d,s[1],p,null);function L(k,m,t,h){function z(o,u){i&&(ir(o,o,i),ir(u,u,i))}function I(o,u){var b={x1:o[0],y1:o[1],x2:u[0],y2:u[1]};dr(b,b,n.style),o[0]=b.x1,o[1]=b.y1,u[0]=b.x2,u[1]=b.y2}var O=[k,0],y=[m,0],N=[k,5],A=[m,5];z(O,N),I(O,N),z(y,A),I(y,A),I(O,y);var x=new Ar(mr({shape:{x1:O[0],y1:O[1],x2:y[0],y2:y[1]}},n));a.add(x),x.anid="breakLine_"+(t?t.brkId:"\0")+"_\0_"+(h?h.brkId:"\0")}}function Ir(l,a,r){if(q(r,function(t){return!t}))return;var n=new M;if(!gr(r[0],r[1],n,{direction:-(l?a+Math.PI:a),touchThreshold:0,bidirectional:!1}))return;var e=C.create();C.rotate(e,e,-a);var i=Q(r,function(t){return t.transform?C.mul(C.create(),e,t.transform):e});function s(t){var h=r[0].localRect,z=new M(h[$[t]]*i[0][0],h[$[t]]*i[0][1]);return Math.abs(z.y)<1e-5}var v=.5;if(s(0)||s(1)){var c=Q(r,function(t,h){var z=t.localRect.clone();return z.applyTransform(i[h]),z}),d=new M;d.copy(r[0].label).add(r[1].label).scale(.5),d.transform(e);var p=n.clone().transform(e),B=c[0].x+c[1].x+(p.x>=0?c[0].width:c[1].width),f=(B+p.x)/2-d.x,E=Math.min(f,f-p.x),g=Math.max(f,f-p.x),L=g<0?g:E>0?E:0;v=(f-L)/p.x}var k=new M,m=new M;M.scale(k,n,-v),M.scale(m,n,1-v),nr(r[0],k),nr(r[1],m)}function Or(l,a){var r={breaks:[]};return lr(a.breaks,function(n){if(n){var e=q(l.get("breaks",!0),function(v){return w().identifyAxisBreak(v,n)});if(e){var i=a.type,s={isExpanded:!!e.isExpanded};e.isExpanded=i===vr?!0:i===xr?!1:i===br?!e.isExpanded:e.isExpanded,r.breaks.push({start:e.start,end:e.end,isExpanded:!!e.isExpanded,old:s})}}}),r}function Xr(){hr({adjustBreakLabelPair:Ir,buildAxisBreakLine:Er,rectCoordBuildBreakAxis:Tr,updateModelAxisBreak:Or})}export{Xr as installAxisBreakHelper};
|
|
3
|
-
//# sourceMappingURL=axisBreakHelperImpl.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/axisSplitHelper */
|
|
2
|
-
import*as o from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as b from"../../util/graphic.mjs";import{makeInner as R}from"../../util/model.mjs";var g=R();function x(n,z,A,B){var l=A.axis;if(!l.scale.isBlank()){var C=A.getModel("splitArea"),m=C.getModel("areaStyle"),a=m.get("color"),v=B.coordinateSystem.getRect(),e=l.getTicksCoords({tickModel:C,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(e.length){var f=a.length,S=g(n).splitAreaColors,k=o.createHashMap(),t=0;if(S)for(var r=0;r<e.length;r++){var h=S.get(e[r].tickValue);if(h!=null){t=(h+(f-1)*r)%f;break}}var d=l.toGlobalCoord(e[0].coord),M=m.getAreaStyle();a=o.isArray(a)?a:[a];for(var r=1;r<e.length;r++){var y=l.toGlobalCoord(e[r].coord),i=void 0,s=void 0,p=void 0,c=void 0;l.isHorizontal()?(i=d,s=v.y,p=y-i,c=v.height,d=i+p):(i=v.x,s=d,p=v.width,c=y-s,d=s+c);var u=e[r-1].tickValue;u!=null&&k.set(u,t),z.add(new b.Rect({anid:u!=null?"area_"+u:null,shape:{x:i,y:s,width:p,height:c},style:o.defaults({fill:a[t]},M),autoBatch:!0,silent:!0})),t=(t+1)%f}g(n).splitAreaColors=k}}}function H(n){g(n).splitAreaColors=null}export{x as rectCoordAxisBuildSplitArea,H as rectCoordAxisHandleRemove};
|
|
3
|
-
//# sourceMappingURL=axisSplitHelper.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/installBreak */
|
|
2
|
-
import{installScaleBreakHelper as e}from"../../scale/breakImpl.mjs";import{registerAction as i}from"./axisAction.mjs";import{installAxisBreakHelper as t}from"./axisBreakHelperImpl.mjs";function m(r){i(r),e(),t()}export{m as installAxisBreak};
|
|
3
|
-
//# sourceMappingURL=installBreak.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axis/parallelAxisAction */
|
|
2
|
-
var a={type:"axisAreaSelect",event:"axisAreaSelected"};function l(i){i.registerAction(a,function(e,n){n.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),i.registerAction("parallelAxisExpand",function(e,n){n.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})}export{l as installParallelActions};
|
|
3
|
-
//# sourceMappingURL=parallelAxisAction.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/AxisPointerModel */
|
|
2
|
-
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import n from"../../model/Component.mjs";import t from"../../visual/tokens.mjs";var i=function(r){l(o,r);function o(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=o.type,e}return o.type="axisPointer",o.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:t.color.border,width:1,type:"dashed"},shadowStyle:{color:t.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:t.color.neutral00,padding:[5,7,5,7],backgroundColor:t.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:t.color.accent40,throttle:40}},o}(n),u=i;export{u as default};
|
|
3
|
-
//# sourceMappingURL=AxisPointerModel.mjs.map
|