@templmf/temp-solf-lmf 0.0.95 → 0.0.96
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/new/@antv/component@2.1.11/es2022/component.mjs +15 -0
- package/new/@antv/component@2.1.11/es2022/esm/animation.mjs +3 -0
- package/new/@antv/component@2.1.11/es2022/esm/core.mjs +3 -0
- package/new/@antv/component@2.1.11/es2022/esm/ui/axis/utils.mjs +3 -0
- package/{@antv/component@2.1.7 → new/@antv/component@2.1.11}/es2022/esm/util/layout.mjs +1 -1
- package/new/@antv/g-canvas@2.0.0/es2022/g-canvas.mjs +20 -0
- package/new/@antv/g-lite@2.7.0/es2022/g-lite.mjs +22 -0
- package/{@antv/g-math@3.0.1 → new/@antv/g-math@3.1.0}/es2022/g-math.mjs +3 -3
- package/new/@antv/g-plugin-dragndrop@2.1.1/es2022/g-plugin-dragndrop.mjs +18 -0
- package/new/@antv/g@6.3.1/es2022/g.mjs +24 -0
- package/new/bubblesets-js@^2.3.4 +3 -0
- package/new/html2canvas@1.4.1/es2022/html2canvas.mjs +30 -0
- package/new/html2canvas@v1.4.1 +3 -0
- package/new/svg-path-parser@1.1.0/es2022/svg-path-parser.mjs +4 -0
- package/new/svg-path-parser@^1.1.0 +3 -0
- package/new/tslib@2.8.1/es2022/tslib.mjs +3 -0
- package/new/tslib@^2.0.0 +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 +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-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.10 +0 -4
- 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.3.0 +0 -2
- 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
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/* esm.sh - bubblesets-js@2.3.4 */
|
|
2
|
-
function z(i,t,s,e,n,r){let h=i,o=t,a=s-h,c=e-o,l=n-h,f=r-o,u=l*a+f*c,x=0;u<=0?x=0:(l=a-l,f=c-f,u=l*a+f*c,u<=0?x=0:x=u*u/(a*a+c*c));let p=l*l+f*f-x;return p<0?0:p}function P(i,t,s,e){return(i-s)*(i-s)+(t-e)*(t-e)}function Z(i,t,s,e,n){return P(i,t,s,e)<n*n}function rt(i){if(!Number.isFinite(i))return s=>s;if(i===0)return Math.round;let t=Math.pow(10,i);return s=>Math.round(s*t)/t}function Q(i){let t=Math.min(i.x1,i.x2),s=Math.max(i.x1,i.x2),e=Math.min(i.y1,i.y2),n=Math.max(i.y1,i.y2);return{x:t,y:e,x2:s,y2:n,width:s-t,height:n-e}}var N=class i{constructor(t,s,e,n){this.x1=t,this.y1=s,this.x2=e,this.y2=n}equals(t){return this.x1===t.x1&&this.y1===t.y1&&this.x2===t.x2&&this.y2===t.y2}draw(t){t.moveTo(this.x1,this.y1),t.lineTo(this.x2,this.y2)}toString(){return`Line(from=(${this.x1},${this.y1}),to=(${this.x2},${this.y2}))`}static from(t){return new i(t.x1,t.y1,t.x2,t.y2)}cuts(t,s){if(this.y1===this.y2||s<this.y1&&s<=this.y2||s>this.y1&&s>=this.y2||t>this.x1&&t>=this.x2)return!1;if(t<this.x1&&t<=this.x2)return!0;let e=this.x1+(s-this.y1)*(this.x2-this.x1)/(this.y2-this.y1);return t<=e}distSquare(t,s){return z(this.x1,this.y1,this.x2,this.y2,t,s)}ptClose(t,s,e){if(this.x1<this.x2){if(t<this.x1-e||t>this.x2+e)return!1}else if(t<this.x2-e||t>this.x1+e)return!1;if(this.y1<this.y2){if(s<this.y1-e||s>this.y2+e)return!1}else if(s<this.y2-e||s>this.y1+e)return!1;return!0}},w;(function(i){i[i.POINT=1]="POINT",i[i.PARALLEL=2]="PARALLEL",i[i.COINCIDENT=3]="COINCIDENT",i[i.NONE=4]="NONE"})(w||(w={}));var L=class{constructor(t,s=0,e=0){this.state=t,this.x=s,this.y=e}};function b(i,t){let s=(t.x2-t.x1)*(i.y1-t.y1)-(t.y2-t.y1)*(i.x1-t.x1),e=(i.x2-i.x1)*(i.y1-t.y1)-(i.y2-i.y1)*(i.x1-t.x1),n=(t.y2-t.y1)*(i.x2-i.x1)-(t.x2-t.x1)*(i.y2-i.y1);if(n){let r=s/n,h=e/n;return 0<=r&&r<=1&&0<=h&&h<=1?new L(w.POINT,i.x1+r*(i.x2-i.x1),i.y1+r*(i.y2-i.y1)):new L(w.NONE)}return new L(s===0||e===0?w.COINCIDENT:w.PARALLEL)}function U(i,t){let s=(t.x2-t.x1)*(i.y1-t.y1)-(t.y2-t.y1)*(i.x1-t.x1),e=(i.x2-i.x1)*(i.y1-t.y1)-(i.y2-i.y1)*(i.x1-t.x1),n=(t.y2-t.y1)*(i.x2-i.x1)-(t.x2-t.x1)*(i.y2-i.y1);if(n){let r=s/n,h=e/n;if(0<=r&&r<=1&&0<=h&&h<=1)return r}return Number.POSITIVE_INFINITY}function ht(i,t){function s(n,r,h,o){let a=U(t,new N(n,r,h,o));return a=Math.abs(a-.5),a>=0&&a<=1?1:0}let e=s(i.x,i.y,i.x2,i.y);return e+=s(i.x,i.y,i.x,i.y2),e>1||(e+=s(i.x,i.y2,i.x2,i.y2),e>1)?!0:(e+=s(i.x2,i.y,i.x2,i.y2),e>0)}var M;(function(i){i[i.LEFT=0]="LEFT",i[i.TOP=1]="TOP",i[i.RIGHT=2]="RIGHT",i[i.BOTTOM=3]="BOTTOM"})(M||(M={}));function $(i,t,s){let e=new Set;return i.width<=0?(e.add(M.LEFT),e.add(M.RIGHT)):t<i.x?e.add(M.LEFT):t>i.x+i.width&&e.add(M.RIGHT),i.height<=0?(e.add(M.TOP),e.add(M.BOTTOM)):s<i.y?e.add(M.TOP):s>i.y+i.height&&e.add(M.BOTTOM),e}function B(i,t){let s=t.x1,e=t.y1,n=t.x2,r=t.y2,h=Array.from($(i,n,r));if(h.length===0)return!0;let o=$(i,s,e);for(;o.size!==0;){for(let a of h)if(o.has(a))return!1;if(o.has(M.RIGHT)||o.has(M.LEFT)){let a=i.x;o.has(M.RIGHT)&&(a+=i.width),e=e+(a-s)*(r-e)/(n-s),s=a}else{let a=i.y;o.has(M.BOTTOM)&&(a+=i.height),s=s+(a-e)*(n-s)/(r-e),e=a}o=$(i,s,e)}return!0}function ot(i,t){let s=Number.POSITIVE_INFINITY,e=0;function n(r,h,o,a){let c=U(t,new N(r,h,o,a));c=Math.abs(c-.5),c>=0&&c<=1&&(e++,c<s&&(s=c))}return n(i.x,i.y,i.x2,i.y),n(i.x,i.y,i.x,i.y2),e>1||(n(i.x,i.y2,i.x2,i.y2),e>1)?s:(n(i.x2,i.y,i.x2,i.y2),e===0?-1:s)}function ct(i,t){let s=0,e=b(i,new N(t.x,t.y,t.x2,t.y));s+=e.state===w.POINT?1:0;let n=b(i,new N(t.x,t.y,t.x,t.y2));s+=n.state===w.POINT?1:0;let r=b(i,new N(t.x,t.y2,t.x2,t.y2));s+=r.state===w.POINT?1:0;let h=b(i,new N(t.x2,t.y,t.x2,t.y2));return s+=h.state===w.POINT?1:0,{top:e,left:n,bottom:r,right:h,count:s}}var T=class i{constructor(t,s,e,n){this.x=t,this.y=s,this.width=e,this.height=n}get x2(){return this.x+this.width}get y2(){return this.y+this.height}get cx(){return this.x+this.width/2}get cy(){return this.y+this.height/2}get radius(){return Math.max(this.width,this.height)/2}static from(t){return new i(t.x,t.y,t.width,t.height)}equals(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}clone(){return new i(this.x,this.y,this.width,this.height)}add(t){let s=Math.min(this.x,t.x),e=Math.min(this.y,t.y),n=Math.max(this.x2,t.x+t.width),r=Math.max(this.y2,t.y+t.height);this.x=s,this.y=e,this.width=n-s,this.height=r-e}addPoint(t){let s=Math.min(this.x,t.x),e=Math.min(this.y,t.y),n=Math.max(this.x2,t.x),r=Math.max(this.y2,t.y);this.x=s,this.y=e,this.width=n-s,this.height=r-e}toString(){return`Rectangle[x=${this.x}, y=${this.y}, w=${this.width}, h=${this.height}]`}draw(t){t.rect(this.x,this.y,this.width,this.height)}containsPt(t,s){return t>=this.x&&t<=this.x2&&s>=this.y&&s<=this.y2}get area(){return this.width*this.height}intersects(t){return this.area<=0||t.width<=0||t.height<=0?!1:t.x+t.width>this.x&&t.y+t.height>this.y&&t.x<this.x2&&t.y<this.y2}distSquare(t,s){if(this.containsPt(t,s))return 0;let e=$(this,t,s);return e.has(M.TOP)?e.has(M.LEFT)?P(t,s,this.x,this.y):e.has(M.RIGHT)?P(t,s,this.x2,this.y):(this.y-s)*(this.y-s):e.has(M.BOTTOM)?e.has(M.LEFT)?P(t,s,this.x,this.y2):e.has(M.RIGHT)?P(t,s,this.x2,this.y2):(s-this.y2)*(s-this.y2):e.has(M.LEFT)?(this.x-t)*(this.x-t):e.has(M.RIGHT)?(t-this.x2)*(t-this.x2):0}};function at(i){if(i.length===0)return null;let t=i[0],s=new T(t.x,t.y,0,0);for(let e of i)s.addPoint(e);return s}var k=class i{constructor(t,s,e){this.cx=t,this.cy=s,this.radius=e}get x(){return this.cx-this.radius}get x2(){return this.cx+this.radius}get width(){return this.radius*2}get y(){return this.cy-this.radius}get y2(){return this.cy+this.radius}get height(){return this.radius*2}static from(t){return new i(t.cx,t.cy,t.radius)}containsPt(t,s){return P(this.cx,this.cy,t,s)<this.radius*this.radius}distSquare(t,s){let e=P(this.cx,this.cy,t,s);if(e<this.radius*this.radius)return 0;let n=Math.sqrt(e)-this.radius;return n*n}draw(t){t.ellipse(this.cx,this.cy,this.radius,this.radius,0,0,Math.PI*2)}},G=class i{constructor(t,s=0,e=0,n=0,r=0,h=10,o=10,a=new Float32Array(Math.max(0,h*o)).fill(0)){this.pixelGroup=t,this.i=s,this.j=e,this.pixelX=n,this.pixelY=r,this.width=h,this.height=o,this.area=a}createSub(t,s){return new i(this.pixelGroup,t.x,t.y,s.x,s.y,t.width,t.height)}static fromPixelRegion(t,s){return new i(s,0,0,t.x,t.y,Math.ceil(t.width/s),Math.ceil(t.height/s))}copy(t,s){return new i(this.pixelGroup,this.scaleX(s.x),this.scaleY(s.y),s.x,s.y,t.width,t.height,t.area)}boundX(t){return t<this.i?this.i:t>=this.width?this.width-1:t}boundY(t){return t<this.j?this.j:t>=this.height?this.height-1:t}scaleX(t){return this.boundX(Math.floor((t-this.pixelX)/this.pixelGroup))}scaleY(t){return this.boundY(Math.floor((t-this.pixelY)/this.pixelGroup))}scale(t){let s=this.scaleX(t.x),e=this.scaleY(t.y),n=this.boundX(Math.ceil((t.x+t.width-this.pixelX)/this.pixelGroup)),r=this.boundY(Math.ceil((t.y+t.height-this.pixelY)/this.pixelGroup)),h=n-s,o=r-e;return new T(s,e,h,o)}invertScaleX(t){return Math.round(t*this.pixelGroup+this.pixelX)}invertScaleY(t){return Math.round(t*this.pixelGroup+this.pixelY)}addPadding(t,s){let e=Math.ceil(s/this.pixelGroup),n=this.boundX(t.x-e),r=this.boundY(t.y-e),h=this.boundX(t.x2+e),o=this.boundY(t.y2+e),a=h-n,c=o-r;return new T(n,r,a,c)}get(t,s){return t<0||s<0||t>=this.width||s>=this.height?Number.NaN:this.area[t+s*this.width]}inc(t,s,e){t<0||s<0||t>=this.width||s>=this.height||(this.area[t+s*this.width]+=e)}set(t,s,e){t<0||s<0||t>=this.width||s>=this.height||(this.area[t+s*this.width]=e)}incArea(t,s){if(t.width<=0||t.height<=0||s===0)return;let e=this.width,n=t.width,r=Math.max(0,t.i),h=Math.max(0,t.j),o=Math.min(t.i+t.width,e),a=Math.min(t.j+t.height,this.height);if(!(a<=0||o<=0||r>=e||a>=this.height))for(let c=h;c<a;c++){let l=(c-t.j)*n,f=c*e;for(let u=r;u<o;u++){let x=t.area[u-t.i+l];x!==0&&(this.area[u+f]+=s*x)}}}fill(t){this.area.fill(t)}fillArea(t,s){let e=t.x+t.y*this.width;for(let n=0;n<t.height;n++){let r=e+n*this.width;this.area.fill(s,r,r+t.width)}}fillHorizontalLine(t,s,e,n){let r=t+s*this.width;this.area.fill(n,r,r+e)}fillVerticalLine(t,s,e,n){let r=t+s*this.width;for(let h=0;h<e;h++)this.area[r+h*this.width]=n}clear(){this.area.fill(0)}toString(){let t="";for(let s=0;s<this.height;s++){let e=s*this.width;for(let n=0;n<this.width;n++){let r=this.area[e+n];t+=r.toFixed(1).padStart(6),t+=" "}t+=`
|
|
3
|
-
`}return t}draw(t,s=!0){if(this.width<=0||this.height<=0)return;t.save(),s&&t.translate(this.pixelX,this.pixelY);let e=this.area.reduce((h,o)=>Math.min(h,o),Number.POSITIVE_INFINITY),n=this.area.reduce((h,o)=>Math.max(h,o),Number.NEGATIVE_INFINITY),r=h=>(h-e)/(n-e);t.scale(this.pixelGroup,this.pixelGroup);for(let h=0;h<this.width;h++)for(let o=0;o<this.height;o++){let a=this.area[h+o*this.width];t.fillStyle=`rgba(0, 0, 0, ${r(a)})`,t.fillRect(h,o,1,1)}t.restore()}drawThreshold(t,s,e=!0){if(!(this.width<=0||this.height<=0)){t.save(),e&&t.translate(this.pixelX,this.pixelY),t.scale(this.pixelGroup,this.pixelGroup);for(let n=0;n<this.width;n++)for(let r=0;r<this.height;r++){let h=this.area[n+r*this.width];t.fillStyle=h>s?"black":"white",t.fillRect(n,r,1,1)}t.restore()}}};function tt(i,t){let s=e=>({x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t});return Array.isArray(i)?i.map(s):s(i)}function J(i,t,s){return it(Object.assign(Q(i),{distSquare:(e,n)=>z(i.x1,i.y1,i.x2,i.y2,e,n)}),t,s)}function it(i,t,s){let e=tt(i,s),n=t.scale(e),r=t.createSub(n,e);return lt(r,t,s,(h,o)=>i.distSquare(h,o)),r}function lt(i,t,s,e){let n=s*s;for(let r=0;r<i.height;r++)for(let h=0;h<i.width;h++){let o=t.invertScaleX(i.i+h),a=t.invertScaleY(i.j+r),c=e(o,a);if(c===0){i.set(h,r,n);continue}if(c<n){let l=s-Math.sqrt(c);i.set(h,r,l*l)}}return i}function ut(i,t,s){let e=t.scale(i),n=t.addPadding(e,s),r=t.createSub(n,{x:i.x-s,y:i.y-s}),h=e.x-n.x,o=e.y-n.y,a=n.x2-e.x2,c=n.y2-e.y2,l=n.width-h-a,f=n.height-o-c,u=s*s;r.fillArea({x:h,y:o,width:l+1,height:f+1},u);let x=[0],p=Math.max(o,h,a,c);{let y=t.invertScaleX(e.x+e.width/2);for(let I=1;I<p;I++){let S=t.invertScaleY(e.y-I),d=i.distSquare(y,S);if(d<u){let F=s-Math.sqrt(d);x.push(F*F)}else break}}let E=[],R=Math.max(h,a),nt=Math.max(o,a);for(let y=1;y<R;y++){let I=t.invertScaleX(e.x-y),S=[];for(let d=1;d<nt;d++){let F=t.invertScaleY(e.y-d),C=i.distSquare(I,F);if(C<u){let W=s-Math.sqrt(C);S.push(W*W)}else S.push(0)}E.push(S)}for(let y=1;y<Math.min(o,x.length);y++){let I=x[y];r.fillHorizontalLine(h,o-y,l+1,I)}for(let y=1;y<Math.min(c,x.length);y++){let I=x[y];r.fillHorizontalLine(h,o+f+y,l+1,I)}for(let y=1;y<Math.min(h,x.length);y++){let I=x[y];r.fillVerticalLine(h-y,o,f+1,I)}for(let y=1;y<Math.min(c,x.length);y++){let I=x[y];r.fillVerticalLine(h+l+y,o,f+1,I)}for(let y=1;y<h;y++){let I=E[y-1],S=h-y;for(let d=1;d<o;d++)r.set(S,o-d,I[d-1]);for(let d=1;d<c;d++)r.set(S,o+f+d,I[d-1])}for(let y=1;y<a;y++){let I=E[y-1],S=h+l+y;for(let d=1;d<o;d++)r.set(S,o-d,I[d-1]);for(let d=1;d<c;d++)r.set(S,o+f+d,I[d-1])}return r}function Ot(i,t,s,e){return{x:i,y:t,width:s,height:e}}function mt(i,t,s){return{cx:i,cy:t,radius:s}}function Pt(i,t,s,e){return{x1:i,y1:t,x2:s,y2:e}}function g(i,t){return{x:i,y:t}}function ft(i,t,s,e){if(i.length===0)return[];let n=wt(i);return n.map((r,h)=>{let o=n.slice(0,h);return xt(t,r,o,s,e)}).flat()}function xt(i,t,s,e,n){let r=g(t.cx,t.cy),h=gt(r,s,i);if(h==null)return[];let o=new N(r.x,r.y,h.cx,h.cy),a=yt(o,i,e,n);return dt(a,i)}function yt(i,t,s,e){let n=[],r=[];r.push(i);let h=!0;for(let o=0;o<s&&h;o++)for(h=!1;!h&&r.length>0;){let a=r.pop(),c=st(t,a),l=c?ct(a,c):null;if(!c||!l||l.count!==2){h||n.push(a);continue}let f=e,u=Y(c,f,l,!0),x=m(u,r)||m(u,n),p=q(u,t);for(;!x&&p&&f>=1;)f/=1.5,u=Y(c,f,l,!0),x=m(u,r)||m(u,n),p=q(u,t);if(u&&!x&&!p&&(r.push(new N(a.x1,a.y1,u.x,u.y)),r.push(new N(u.x,u.y,a.x2,a.y2)),h=!0),h)continue;f=e,u=Y(c,f,l,!1);let E=m(u,r)||m(u,n);for(p=q(u,t);!E&&p&&f>=1;)f/=1.5,u=Y(c,f,l,!1),E=m(u,r)||m(u,n),p=q(u,t);u&&!E&&(r.push(new N(a.x1,a.y1,u.x,u.y)),r.push(new N(u.x,u.y,a.x2,a.y2)),h=!0),h||n.push(a)}for(;r.length>0;)n.push(r.pop());return n}function dt(i,t){let s=[];for(;i.length>0;){let e=i.pop();if(i.length===0){s.push(e);break}let n=i.pop(),r=new N(e.x1,e.y1,n.x2,n.y2);st(t,r)?(s.push(e),i.push(n)):i.push(r)}return s}function gt(i,t,s){let e=Number.POSITIVE_INFINITY;return t.reduce((n,r)=>{let h=P(i.x,i.y,r.cx,r.cy);if(h>e)return n;let o=new N(i.x,i.y,r.cx,r.cy),a=Mt(s,o);return h*(a+1)*(a+1)<e&&(n=r,e=h*(a+1)*(a+1)),n},null)}function wt(i){if(i.length<2)return i;let t=0,s=0;return i.forEach(e=>{t+=e.cx,s+=e.cy}),t/=i.length,s/=i.length,i.map(e=>{let n=t-e.cx,r=s-e.cy,h=n*n+r*r;return[e,h]}).sort((e,n)=>e[1]-n[1]).map(e=>e[0])}function q(i,t){return t.some(s=>s.containsPt(i.x,i.y))}function m(i,t){return t.some(s=>!!(Z(s.x1,s.y1,i.x,i.y,.001)||Z(s.x2,s.y2,i.x,i.y,.001)))}function st(i,t){let s=Number.POSITIVE_INFINITY,e=null;for(let n of i){if(!B(n,t))continue;let r=ot(n,t);r>=0&&r<s&&(e=n,s=r)}return e}function Mt(i,t){return i.reduce((s,e)=>B(e,t)&&ht(e,t)?s+1:s,0)}function Y(i,t,s,e){let n=s.top,r=s.left,h=s.bottom,o=s.right;if(e){if(r.state===w.POINT){if(n.state===w.POINT)return g(i.x-t,i.y-t);if(h.state===w.POINT)return g(i.x-t,i.y2+t);let u=i.width*i.height;return i.width*((r.y-i.y+(o.y-i.y))*.5)<u*.5?r.y>o.y?g(i.x-t,i.y-t):g(i.x2+t,i.y-t):r.y<o.y?g(i.x-t,i.y2+t):g(i.x2+t,i.y2+t)}if(o.state===w.POINT){if(n.state===w.POINT)return g(i.x2+t,i.y-t);if(h.state===w.POINT)return g(i.x2+t,i.y2+t)}let l=i.height*i.width;return i.height*((n.x-i.x+(o.x-i.x))*.5)<l*.5?n.x>h.x?g(i.x-t,i.y-t):g(i.x-t,i.y2+t):n.x<h.x?g(i.x2+t,i.y-t):g(i.x2+t,i.y2+t)}if(r.state===w.POINT){if(n.state===w.POINT)return g(i.x2+t,i.y2+t);if(h.state===w.POINT)return g(i.x2+t,i.y-t);let l=i.height*i.width;return i.width*((r.y-i.y+(o.y-i.y))*.5)<l*.5?r.y>o.y?g(i.x2+t,i.y2+t):g(i.x-t,i.y2+t):r.y<o.y?g(i.x2+t,i.y-t):g(i.x-t,i.y-t)}if(o.state===w.POINT){if(n.state===w.POINT)return g(i.x-t,i.y2+t);if(h.state===w.POINT)return g(i.x-t,i.y-t)}let a=i.height*i.width;return i.height*((n.x-i.x+(o.x-i.x))*.5)<a*.5?n.x>h.x?g(i.x2+t,i.y2+t):g(i.x2+t,i.y-t):n.x<h.x?g(i.x-t,i.y2+t):g(i.x-t,i.y-t)}function It(i,t,s,e){if(!(i.closed?s<i.length:s<i.length-1))return!1;let r=i.get(t),h=i.get(s+1);for(let o=t+1;o<=s;o++){let a=i.get(o);if(z(r.x,r.y,h.x,h.y,a.x,a.y)>e)return!1}return!0}function pt(i=0){return t=>{if(i<0||t.length<3)return t;let s=[],e=0,n=i*i;for(;e<t.length;){let r=e+1;for(;It(t,e,r,n);)r++;s.push(t.get(e)),e=r}return new O(s)}}function Et(i,t){switch(i){case-2:return(((-t+3)*t-3)*t+1)/6;case-1:return((3*t-6)*t*t+4)/6;case 0:return(((-3*t+3)*t+3)*t+1)/6;case 1:return t*t*t/6;default:throw new Error("unknown error")}}function Nt(i=6){function r(h,o,a){let c=0,l=0;for(let f=-2;f<=1;f++){let u=h.get(o+f),x=Et(f,a);c+=x*u.x,l+=x*u.y}return{x:c,y:l}}return h=>{if(h.length<3)return h;let o=[],a=h.closed,c=h.length+3-1+(a?0:2);o.push(r(h,2-(a?0:2),0));for(let l=2-(a?0:2);l<c;l++)for(let f=1;f<=i;f++)o.push(r(h,l,f/i));return new O(o)}}function Tt(i=8){return t=>{let s=i,e=t.length;if(s>1)for(e=Math.floor(t.length/s);e<3&&s>1;)s-=1,e=Math.floor(t.length/s);let n=[];for(let r=0,h=0;h<e;h++,r+=s)n.push(t.get(r));return new O(n)}}var O=class{constructor(t=[],s=!0){this.points=t,this.closed=s}get(t){let s=t,e=this.points.length;return t<0?this.closed?this.get(t+e):this.points[0]:t>=e?this.closed?this.get(t-e):this.points[e-1]:this.points[s]}get length(){return this.points.length}toString(t=1/0){let s=this.points;if(s.length===0)return"";let e=typeof t=="function"?t:rt(t),n="M";for(let r of s)n+=`${e(r.x)},${e(r.y)} L`;return n=n.slice(0,-1),this.closed&&(n+=" Z"),n}draw(t){let s=this.points;if(s.length!==0){t.beginPath(),t.moveTo(s[0].x,s[0].y);for(let e of s)t.lineTo(e.x,e.y);this.closed&&t.closePath()}}sample(t){return Tt(t)(this)}simplify(t){return pt(t)(this)}bSplines(t){return Nt(t)(this)}apply(t){return t(this)}containsElements(t){let s=at(this.points);return s?t.every(e=>s.containsPt(e.cx,e.cy)&&this.withinArea(e.cx,e.cy)):!1}withinArea(t,s){if(this.length===0)return!1;let e=0,n=this.points[0],r=new N(n.x,n.y,n.x,n.y);for(let h=1;h<this.points.length;h++){let o=this.points[h];r.x1=r.x2,r.y1=r.y2,r.x2=o.x,r.y2=o.y,r.cuts(t,s)&&e++}return r.x1=r.x2,r.y1=r.y2,r.x2=n.x,r.y2=n.y,r.cuts(t,s)&&e++,e%2===1}},_=class{constructor(t=0){this.count=0,this.arr=[],this.set=new Set,this.arr.length=t}add(t){this.set.add(`${t.x}x${t.y}`),this.arr[this.count++]=t}contains(t){return this.set.has(`${t.x}x${t.y}`)}isFirst(t){if(this.count===0)return!1;let s=this.arr[0];return s!=null&&s.x===t.x&&s.y===t.y}path(){return new O(this.arr.slice(0,this.count))}clear(){this.set.clear(),this.count=0}get(t){return this.arr[t]}get length(){return this.count}},j=0,D=1,X=2,H=3;function Rt(i,t){let s=(Math.floor(i.width)+Math.floor(i.height))*2,e=new _(s);function n(a,c,l,f){let u=i.get(a,c);return Number.isNaN(u)?Number.NaN:u>t?l+f:l}function r(a,c){let l=j;return l=n(a,c,l,1),l=n(a+1,c,l,2),l=n(a,c+1,l,4),l=n(a+1,c+1,l,8),Number.isNaN(l)?-1:l}let h=D;function o(a,c){let l=a,f=c,u=i.invertScaleX(l),x=i.invertScaleY(f);for(let p=0;p<i.width*i.height;p++){let E={x:u,y:x};if(e.contains(E)){if(e.isFirst(E))return!0}else e.add(E);let R=r(l,f);switch(R){case-1:return!0;case 0:case 3:case 2:case 7:h=X;break;case 12:case 14:case 4:h=H;break;case 6:h=h===j?H:X;break;case 1:case 13:case 5:h=j;break;case 9:h=h===X?j:D;break;case 10:case 8:case 11:h=D;break;default:return console.warn("Marching squares invalid state: "+R),!0}switch(h){case j:f--,x-=i.pixelGroup;break;case D:f++,x+=i.pixelGroup;break;case H:l--,u-=i.pixelGroup;break;case X:l++,u+=i.pixelGroup;break;default:return console.warn("Marching squares invalid state: "+R),!0}}return!0}for(let a=0;a<i.width;a++)for(let c=0;c<i.height;c++){if(i.get(a,c)<=t)continue;let l=r(a,c);if(!(l<0||l===15)&&o(a,c))return e.path()}return null}var et={maxRoutingIterations:100,maxMarchingIterations:20,pixelGroup:4,edgeR0:10,edgeR1:20,nodeR0:15,nodeR1:50,morphBuffer:10,threshold:1,memberInfluenceFactor:1,edgeInfluenceFactor:1,nonMemberInfluenceFactor:-.8,virtualEdges:!0};function A(i){return i!=null&&typeof i.radius=="number"}function K(i,t){if(A(i)!==A(t))return!1;if(A(i)){let e=t;return i.cx===e.cx&&i.cy===e.cy&&i.radius===e.radius}let s=t;return i.x===s.x&&i.y===s.y&&i.width===s.width&&i.height===s.height}var v;(function(i){i[i.MEMBERS=0]="MEMBERS",i[i.NON_MEMBERS=1]="NON_MEMBERS",i[i.EDGES=2]="EDGES"})(v||(v={}));var V=class{constructor(t={}){this.dirty=new Set,this.members=[],this.nonMembers=[],this.virtualEdges=[],this.edges=[],this.activeRegion=new T(0,0,0,0),this.potentialArea=new G(1,0,0,0,0,0,0),this.o=Object.assign({},et,t)}pushMember(...t){if(t.length!==0){this.dirty.add(v.MEMBERS);for(let s of t)this.members.push({raw:s,obj:A(s)?k.from(s):T.from(s),area:null})}}removeMember(t){let s=this.members.findIndex(e=>K(e.raw,t));return s<0?!1:(this.members.splice(s,1),this.dirty.add(v.MEMBERS),!0)}removeNonMember(t){let s=this.nonMembers.findIndex(e=>K(e.raw,t));return s<0?!1:(this.nonMembers.splice(s,1),this.dirty.add(v.NON_MEMBERS),!0)}removeEdge(t){let s=this.edges.findIndex(e=>e.obj.equals(t));return s<0?!1:(this.edges.splice(s,1),this.dirty.add(v.NON_MEMBERS),!0)}pushNonMember(...t){if(t.length!==0){this.dirty.add(v.NON_MEMBERS);for(let s of t)this.nonMembers.push({raw:s,obj:A(s)?k.from(s):T.from(s),area:null})}}pushEdge(...t){if(t.length!==0){this.dirty.add(v.EDGES);for(let s of t)this.edges.push({raw:s,obj:N.from(s),area:null})}}update(){let t=this.dirty.has(v.MEMBERS),s=this.dirty.has(v.NON_MEMBERS),e=this.dirty.has(v.EDGES);this.dirty.clear();let n=this.members.map(c=>c.obj);if(this.o.virtualEdges&&(t||s)){let c=this.nonMembers.map(u=>u.obj),l=ft(n,c,this.o.maxRoutingIterations,this.o.morphBuffer),f=new Map(this.virtualEdges.map(u=>[u.obj.toString(),u.area]));this.virtualEdges=l.map(u=>{var x;return{raw:u,obj:u,area:(x=f.get(u.toString()))!==null&&x!==void 0?x:null}}),e=!0}let r=!1;if(t||e){let c=this.virtualEdges.concat(this.edges).map(x=>x.obj),l=vt(n,c),f=Math.max(this.o.edgeR1,this.o.nodeR1)+this.o.morphBuffer,u=T.from(tt(l,f));u.equals(this.activeRegion)||(r=!0,this.activeRegion=u)}if(r){let c=Math.ceil(this.activeRegion.width/this.o.pixelGroup),l=Math.ceil(this.activeRegion.height/this.o.pixelGroup);this.activeRegion.x!==this.potentialArea.pixelX||this.activeRegion.y!==this.potentialArea.pixelY?(this.potentialArea=G.fromPixelRegion(this.activeRegion,this.o.pixelGroup),this.members.forEach(f=>f.area=null),this.nonMembers.forEach(f=>f.area=null),this.edges.forEach(f=>f.area=null),this.virtualEdges.forEach(f=>f.area=null)):(c!==this.potentialArea.width||l!==this.potentialArea.height)&&(this.potentialArea=G.fromPixelRegion(this.activeRegion,this.o.pixelGroup))}let h=new Map,o=c=>{if(c.area){let l=`${c.obj.width}x${c.obj.height}x${c.obj instanceof T?"R":"C"}`;h.set(l,c.area)}},a=c=>{if(c.area)return;let l=`${c.obj.width}x${c.obj.height}x${c.obj instanceof T?"R":"C"}`;if(h.has(l)){let u=h.get(l);c.area=this.potentialArea.copy(u,{x:c.obj.x-this.o.nodeR1,y:c.obj.y-this.o.nodeR1});return}let f=c.obj instanceof T?ut(c.obj,this.potentialArea,this.o.nodeR1):it(c.obj,this.potentialArea,this.o.nodeR1);c.area=f,h.set(l,f)};this.members.forEach(o),this.nonMembers.forEach(o),this.members.forEach(a),this.nonMembers.forEach(c=>{this.activeRegion.intersects(c.obj)?a(c):c.area=null}),this.edges.forEach(c=>{c.area||(c.area=J(c.obj,this.potentialArea,this.o.edgeR1))}),this.virtualEdges.forEach(c=>{c.area||(c.area=J(c.obj,this.potentialArea,this.o.edgeR1))})}drawMembers(t){for(let s of this.members)s.obj.draw(t)}drawNonMembers(t){for(let s of this.nonMembers)s.obj.draw(t)}drawEdges(t){for(let s of this.edges)s.obj.draw(t)}drawPotentialArea(t,s=!0){this.potentialArea.draw(t,s)}compute(){if(this.members.length===0)return new O([]);this.dirty.size>0&&this.update();let{o:t,potentialArea:s}=this,e=this.members.map(o=>o.area),n=this.virtualEdges.concat(this.edges).map(o=>o.area),r=this.nonMembers.filter(o=>o.area!=null).map(o=>o.area),h=this.members.map(o=>o.obj);return St(s,e,n,r,o=>o.containsElements(h),t)}};function St(i,t,s,e,n,r={}){let h=Object.assign({},et,r),o=h.threshold,a=h.memberInfluenceFactor,c=h.edgeInfluenceFactor,l=h.nonMemberInfluenceFactor,f=(h.nodeR0-h.nodeR1)*(h.nodeR0-h.nodeR1),u=(h.edgeR0-h.edgeR1)*(h.edgeR0-h.edgeR1);for(let x=0;x<h.maxMarchingIterations;x++){if(i.clear(),a!==0){let E=a/f;for(let R of t)i.incArea(R,E)}if(c!==0){let E=c/u;for(let R of s)i.incArea(R,E)}if(l!==0){let E=l/f;for(let R of e)i.incArea(R,E)}let p=Rt(i,o);if(p&&n(p))return p;if(o*=.95,x<=h.maxMarchingIterations*.5)a*=1.2,c*=1.2;else if(l!==0&&e.length>0)l*=.8;else break}return new O([])}function vt(i,t){if(i.length===0)return new T(0,0,0,0);let s=T.from(i[0]);for(let e of i)s.add(e);for(let e of t)s.add(Q(e));return s}function jt(i,t=[],s=[],e={}){if(i.length===0)return new O([]);let n=new V(e);return n.pushMember(...i),n.pushNonMember(...t),n.pushEdge(...s),n.compute()}export{G as Area,V as BubbleSets,k as Circle,N as Line,O as PointPath,T as Rectangle,tt as addPadding,at as boundingBox,St as calculatePotentialOutline,ft as calculateVirtualEdges,mt as circle,it as createGenericInfluenceArea,J as createLineInfluenceArea,jt as createOutline,ut as createRectangleInfluenceArea,V as default,et as defaultOptions,Pt as line,Q as lineBoundingBox,g as point,Ot as rect,vt as unionBoundingBox};
|
|
4
|
-
//# sourceMappingURL=bubblesets-js.mjs.map
|
package/echarts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0 */
|
|
2
|
-
import "/echarts@6.0.0/es2022/lib/export/charts.mjs";
|
|
3
|
-
import "/echarts@6.0.0/es2022/lib/export/components.mjs";
|
|
4
|
-
import "/echarts@6.0.0/es2022/lib/export/core.mjs";
|
|
5
|
-
import "/echarts@6.0.0/es2022/lib/export/features.mjs";
|
|
6
|
-
import "/echarts@6.0.0/es2022/lib/export/renderers.mjs";
|
|
7
|
-
import "/echarts@6.0.0/es2022/lib/extension.mjs";
|
|
8
|
-
export * from "/echarts@6.0.0/es2022/echarts.mjs";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0 */
|
|
2
|
-
import{use as o}from"./lib/extension.mjs";export*from"./lib/export/core.mjs";import{SVGRenderer as t,CanvasRenderer as n}from"./lib/export/renderers.mjs";import{LineChart as e,BarChart as a,PieChart as r,ScatterChart as C,RadarChart as m,MapChart as p,TreeChart as i,TreemapChart as h,GraphChart as l,ChordChart as s,GaugeChart as u,FunnelChart as d,ParallelChart as T,SankeyChart as c,BoxplotChart as f,CandlestickChart as L,EffectScatterChart as M,LinesChart as P,HeatmapChart as S,PictorialBarChart as x,ThemeRiverChart as G,SunburstChart as k,CustomChart as b}from"./lib/export/charts.mjs";import{GridComponent as A,PolarComponent as B,GeoComponent as g,SingleAxisComponent as D,ParallelComponent as R,CalendarComponent as V,MatrixComponent as v,GraphicComponent as y,ToolboxComponent as Z,TooltipComponent as w,AxisPointerComponent as E,BrushComponent as F,TitleComponent as H,TimelineComponent as I,MarkPointComponent as J,MarkLineComponent as U,MarkAreaComponent as j,LegendComponent as q,DataZoomComponent as z,DataZoomInsideComponent as K,DataZoomSliderComponent as N,VisualMapComponent as O,VisualMapContinuousComponent as Q,VisualMapPiecewiseComponent as W,ThumbnailComponent as X,AriaComponent as Y,DatasetComponent as _,TransformComponent as $}from"./lib/export/components.mjs";import{UniversalTransition as oo,LabelLayout as to,AxisBreak as no,LegacyGridContainLabel as eo,ScatterJitter as ao}from"./lib/export/features.mjs";o([n]);o([t]);o([e,a,r,C,m,p,i,h,l,s,u,d,T,c,f,L,M,P,S,x,G,k,b]);o(A);o(B);o(g);o(D);o(R);o(V);o(v);o(y);o(Z);o(w);o(E);o(F);o(H);o(I);o(J);o(U);o(j);o(q);o(z);o(K);o(N);o(O);o(Q);o(W);o(X);o(Y);o($);o(_);o(oo);o(to);o(no);o(eo);o(ao);
|
|
3
|
-
//# sourceMappingURL=echarts.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/animation/basicTransition */
|
|
2
|
-
import{isFunction as l,isObject as O,retrieve2 as y}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{makeInner as A}from"../util/model.mjs";var D=A();function F(i,t,e,n,r){var o;if(t&&t.ecModel){var u=t.ecModel.getUpdatePayload();o=u&&u.animation}var m=t&&t.isAnimationEnabled(),s=i==="update";if(m){var v=void 0,a=void 0,f=void 0;n?(v=y(n.duration,200),a=y(n.easing,"cubicOut"),f=0):(v=t.getShallow(s?"animationDurationUpdate":"animationDuration"),a=t.getShallow(s?"animationEasingUpdate":"animationEasing"),f=t.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(o.duration!=null&&(v=o.duration),o.easing!=null&&(a=o.easing),o.delay!=null&&(f=o.delay)),l(f)&&(f=f(e,r)),l(v)&&(v=v(e));var p={duration:v||0,delay:f,easing:a};return p}else return null}function c(i,t,e,n,r,o,u){var m=!1,s;l(r)?(u=o,o=r,r=null):O(r)&&(o=r.cb,u=r.during,m=r.isFrom,s=r.removeOpt,r=r.dataIndex);var v=i==="leave";v||t.stopAnimation("leave");var a=F(i,n,r,v?s||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,r):null);if(a&&a.duration>0){var f=a.duration,p=a.delay,E=a.easing,g={duration:f,delay:p||0,easing:E,done:o,force:!!o||!!u,setToFinal:!v,scope:i,during:u};m?t.animateFrom(e,g):t.animateTo(e,g)}else t.stopAnimation(),!m&&t.attr(e),u&&u(1),o&&o()}function G(i,t,e,n,r,o){c("update",i,t,e,n,r,o)}function R(i,t,e,n,r,o){c("enter",i,t,e,n,r,o)}function P(i){if(!i.__zr)return!0;for(var t=0;t<i.animators.length;t++){var e=i.animators[t];if(e.scope==="leave")return!0}return!1}function h(i,t,e,n,r,o){P(i)||c("leave",i,t,e,n,r,o)}function S(i,t,e,n){i.removeTextContent(),i.removeTextGuideLine(),h(i,{style:{opacity:0}},t,e,n)}function C(i,t,e){function n(){i.parent&&i.parent.remove(i)}i.isGroup?i.traverse(function(r){r.isGroup||S(r,t,e,n)}):S(i,t,e,n)}function T(i){D(i).oldStyle=i.style}function _(i){return D(i).oldStyle}export{F as getAnimationConfig,_ as getOldStyle,R as initProps,P as isElementRemoved,h as removeElement,C as removeElementWithFadeOut,T as saveOldStyle,D as transitionStore,G as updateProps};
|
|
3
|
-
//# sourceMappingURL=basicTransition.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/animation/customGraphicKeyframeAnimation */
|
|
2
|
-
import{keys as p,filter as k,each as E,isArray as K,indexOf as S}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{ELEMENT_ANIMATABLE_PROPS as T}from"./customGraphicTransition.mjs";import{getAnimationConfig as _}from"./basicTransition.mjs";import"../util/log.mjs";import{makeInner as I}from"../util/model.mjs";var A=I(),R=["percent","easing","shape","style","extra"];function B(e){e.stopAnimation("keyframe"),e.attr(A(e))}function w(e,n,a){if(!(!a.isAnimationEnabled()||!n)){if(K(n)){E(n,function(r){w(e,r,a)});return}var y=n.keyframes,s=n.duration;if(a&&s==null){var m=_("enter",a,0);s=m&&m.duration}if(!(!y||!s)){var c=A(e);E(T,function(r){if(!(r&&!e[r])){var i,x=!1;y.sort(function(t,f){return t.percent-f.percent}),E(y,function(t){var f=e.animators,d=r?t[r]:t;if(d){var o=p(d);if(r||(o=k(o,function(v){return S(R,v)<0})),!!o.length){i||(i=e.animate(r,n.loop,!0),i.scope="keyframe");for(var u=0;u<f.length;u++)f[u]!==i&&f[u].targetName===i.targetName&&f[u].stopTracks(o);r&&(c[r]=c[r]||{});var h=r?c[r]:c;E(o,function(v){h[v]=((r?e[r]:e)||{})[v]}),i.whenWithKeys(s*t.percent,d,o,t.easing)}}}),i&&i.delay(n.delay||0).duration(s).start(n.easing)}})}}}export{w as applyKeyframeAnimation,B as stopPreviousKeyframeAnimationAndRestore};
|
|
3
|
-
//# sourceMappingURL=customGraphicKeyframeAnimation.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/animation/customGraphicTransition */
|
|
2
|
-
import{makeInner as F,normalizeToArray as _}from"../util/model.mjs";import{bind as b,each as L,extend as P,hasOwn as R,indexOf as I,isArrayLike as B,keys as T,reduce as C}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{cloneValue as Y}from"/zrender@6.0.0/es2022/lib/animation/Animator.mjs";import G from"/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs";import{getAnimationConfig as U}from"./basicTransition.mjs";import{Path as q}from"../util/graphic.mjs";import"../util/log.mjs";import{TRANSFORMABLE_PROPS as N}from"/zrender@6.0.0/es2022/lib/core/Transformable.mjs";var V={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},M=T(V),cr=C(N,function(r,e){return r[e]=1,r},{}),yr=N.join(", "),D=["","style","shape","extra"],p=F();function x(r,e,t,a,s){var n=r+"Animation",i=U(r,a,s)||{},o=p(e).userDuring;return i.duration>0&&(i.during=o?b(Q,{el:e,userDuring:o}):null,i.setToFinal=!0,i.scope=r),P(i,t[n]),i}function hr(r,e,t,a){a=a||{};var s=a.dataIndex,n=a.isInit,i=a.clearStyle,o=t.isAnimationEnabled(),h=p(r),u=e.style;h.userDuring=e.during;var v={},f={};if(Z(r,e,f),r.type==="compound")for(var y=r.shape.paths,d=e.shape.paths,l=0;l<d.length;l++){var w=d[l];A("shape",w,y[l])}else A("shape",e,f),A("extra",e,f);if(!n&&o&&(W(r,e,v),O("shape",r,e,v),O("extra",r,e,v),$(r,e,u,v)),f.style=u,j(r,f,i),H(r,e),o)if(n){var E={};L(D,function(S){var m=S?e[S]:e;m&&m.enterFrom&&(S&&(E[S]=E[S]||{}),P(S?E[S]:E,m.enterFrom))});var k=x("enter",r,e,t,s);k.duration>0&&r.animateFrom(E,k)}else z(r,e,s||0,t,v);X(r,e),u?r.dirty():r.markRedraw()}function X(r,e){for(var t=p(r).leaveToProps,a=0;a<D.length;a++){var s=D[a],n=s?e[s]:e;n&&n.leaveTo&&(t||(t=p(r).leaveToProps={}),s&&(t[s]=t[s]||{}),P(s?t[s]:t,n.leaveTo))}}function dr(r,e,t,a){if(r){var s=r.parent,n=p(r).leaveToProps;if(n){var i=x("update",r,e,t,0);i.done=function(){s&&s.remove(r),a&&a()},r.animateTo(n,i)}else s&&s.remove(r),a&&a()}}function g(r){return r==="all"}function j(r,e,t){var a=e.style;if(!r.isGroup&&a){if(t){r.useStyle({});for(var s=r.animators,n=0;n<s.length;n++){var i=s[n];i.targetName==="style"&&i.changeTarget(r.style)}}r.setStyle(a)}e&&(e.style=null,e&&r.attr(e),e.style=a)}function z(r,e,t,a,s){if(s){var n=x("update",r,e,a,t);n.duration>0&&r.animateFrom(s,n)}}function H(r,e){R(e,"silent")&&(r.silent=e.silent),R(e,"ignore")&&(r.ignore=e.ignore),r instanceof G&&R(e,"invisible")&&(r.invisible=e.invisible),r instanceof q&&R(e,"autoBatch")&&(r.autoBatch=e.autoBatch)}var c={},J={setTransform:function(r,e){return c.el[r]=e,this},getTransform:function(r){return c.el[r]},setShape:function(r,e){var t=c.el,a=t.shape||(t.shape={});return a[r]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(r){var e=c.el.shape;if(e)return e[r]},setStyle:function(r,e){var t=c.el,a=t.style;return a&&(a[r]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(r){var e=c.el.style;if(e)return e[r]},setExtra:function(r,e){var t=c.el.extra||(c.el.extra={});return t[r]=e,this},getExtra:function(r){var e=c.el.extra;if(e)return e[r]}};function Q(){var r=this,e=r.el;if(e){var t=p(e).userDuring,a=r.userDuring;if(t!==a){r.el=r.userDuring=null;return}c.el=e,a(J)}}function O(r,e,t,a){var s=t[r];if(s){var n=e[r],i;if(n){var o=t.transition,h=s.transition;if(h)if(!i&&(i=a[r]={}),g(h))P(i,n);else for(var u=_(h),v=0;v<u.length;v++){var f=u[v],y=n[f];i[f]=y}else if(g(o)||I(o,r)>=0){!i&&(i=a[r]={});for(var d=T(n),v=0;v<d.length;v++){var f=d[v],y=n[f];K(s[f],y)&&(i[f]=y)}}}}}function A(r,e,t){var a=e[r];if(a)for(var s=t[r]={},n=T(a),i=0;i<n.length;i++){var o=n[i];s[o]=Y(a[o])}}function W(r,e,t){for(var a=e.transition,s=g(a)?N:_(a||[]),n=0;n<s.length;n++){var i=s[n];if(!(i==="style"||i==="shape"||i==="extra")){var o=r[i];t[i]=o}}}function Z(r,e,t){for(var a=0;a<M.length;a++){var s=M[a],n=V[s],i=e[s];i&&(t[n[0]]=i[0],t[n[1]]=i[1])}for(var a=0;a<N.length;a++){var o=N[a];e[o]!=null&&(t[o]=e[o])}}function $(r,e,t,a){if(t){var s=r.style,n;if(s){var i=t.transition,o=e.transition;if(i&&!g(i)){var h=_(i);!n&&(n=a.style={});for(var u=0;u<h.length;u++){var v=h[u],f=s[v];n[v]=f}}else if(r.getAnimationStyleProps&&(g(o)||g(i)||I(o,"style")>=0)){var y=r.getAnimationStyleProps(),d=y?y.style:null;if(d){!n&&(n=a.style={});for(var l=T(t),u=0;u<l.length;u++){var v=l[u];if(d[v]){var f=s[v];n[v]=f}}}}}}}function K(r,e){return B(r)?r!==e:r!=null&&isFinite(r)}export{D as ELEMENT_ANIMATABLE_PROPS,dr as applyLeaveTransition,hr as applyUpdateTransition,g as isTransitionAll,X as updateLeaveTo};
|
|
3
|
-
//# sourceMappingURL=customGraphicTransition.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/animation/morphTransitionHelper */
|
|
2
|
-
import{separateMorph as Q,combineMorph as R,morphPath as U,isCombineMorphing as V}from"/zrender@6.0.0/es2022/lib/tool/morphPath.mjs";import{Path as W}from"../util/graphic.mjs";import{defaults as O,isArray as H}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getAnimationConfig as X}from"./basicTransition.mjs";import{clonePath as Y}from"/zrender@6.0.0/es2022/lib/tool/path.mjs";function E(r){return H(r[0])}function G(r,a){for(var t=[],i=r.length,n=0;n<i;n++)t.push({one:r[n],many:[]});for(var n=0;n<a.length;n++){var u=a[n].length,h=void 0;for(h=0;h<u;h++)t[h%i].many.push(a[n][h])}for(var e=0,n=i-1;n>=0;n--)if(!t[n].many.length){var v=t[e].many;if(v.length<=1)if(e)e=0;else return t;var u=v.length,l=Math.ceil(u/2);t[n].many=v.slice(l,u),t[e].many=v.slice(0,l),e++}return t}var Z={clone:function(r){for(var a=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),i=0;i<r.count;i++){var n=Y(r.path);n.setStyle("opacity",t),a.push(n)}return a},split:null};function nr(r,a,t,i,n,u){if(!r.length||!a.length)return;var h=X("update",i,n);if(!(h&&h.duration>0))return;var e=i.getModel("universalTransition").get("delay"),v=Object.assign({setToFinal:!0},h),l,A;E(r)&&(l=r,A=a),E(a)&&(l=a,A=r);function x(c,s,C,D,J){var p=c.many,d=c.one;if(p.length===1&&!J){var y=s?p[0]:d,M=s?d:p[0];if(V(y))x({many:[y],one:M},!0,C,D,!0);else{var P=e?O({delay:e(C,D)},v):v;U(y,M,P),u(y,M,y,M,P)}}else for(var L=O({dividePath:Z[t],individualDelay:e&&function(N,b,T,m){return e(N+C,D)}},v),S=s?R(p,d,L):Q(d,p,L),q=S.fromIndividuals,K=S.toIndividuals,z=q.length,f=0;f<z;f++){var P=e?O({delay:e(f,z)},v):v;u(q[f],K[f],s?p[f]:c.one,s?c.one:p[f],P)}}for(var B=l?l===r:r.length>a.length,g=l?G(A,l):G(B?a:r,[B?r:a]),j=0,o=0;o<g.length;o++)j+=g[o].many.length;for(var w=0,o=0;o<g.length;o++)x(g[o],B,w,j),w+=g[o].many.length}function $(r){if(!r)return[];if(H(r)){for(var a=[],t=0;t<r.length;t++)a.push($(r[t]));return a}var i=[];return r.traverse(function(n){n instanceof W&&!n.disableMorphing&&!n.invisible&&!n.ignore&&i.push(n)}),i}export{nr as applyMorphAnimation,$ as getPathList};
|
|
3
|
-
//# sourceMappingURL=morphTransitionHelper.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/animation/universalTransition */
|
|
2
|
-
import{SERIES_UNIVERSAL_TRANSITION_PROP as P}from"../model/Series.mjs";import{createHashMap as x,each as m,map as F,filter as B,isArray as L,extend as H}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{applyMorphAnimation as R,getPathList as N}from"./morphTransitionHelper.mjs";import W from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import{initProps as $}from"../util/graphic.mjs";import _ from"../data/DataDiffer.mjs";import{makeInner as ee,normalizeToArray as k}from"../util/model.mjs";import{warn as te}from"../util/log.mjs";import{getAnimationConfig as X,getOldStyle as re}from"./basicTransition.mjs";import ae from"/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs";var Y=1e4,ie=0,b=1,j=2,ne=ee();function oe(t,a){for(var i=t.dimensions,e=0;e<i.length;e++){var r=t.getDimensionInfo(i[e]);if(r&&r.otherDims[a]===0)return i[e]}}function de(t,a,i){var e=t.getDimensionInfo(i),r=e&&e.ordinalMeta;if(e){var u=t.get(e.name,a);return r&&r.categories[u]||u+""}}function q(t,a,i,e){var r=e?"itemChildGroupId":"itemGroupId",u=oe(t,r);if(u){var n=de(t,a,u);return n}var d=t.getRawDataItem(a),p=e?"childGroupId":"groupId";if(d&&d[p])return d[p]+"";if(!e)return i||t.getId(a)}function w(t){var a=[];return m(t,function(i){var e=i.data,r=i.dataGroupId;if(!(e.count()>Y))for(var u=e.getIndices(),n=0;n<u.length;n++)a.push({data:e,groupId:q(e,n,r,!1),childGroupId:q(e,n,r,!0),divide:i.divide,dataIndex:n})}),a}function C(t,a,i){t.traverse(function(e){e instanceof W&&$(e,{style:{opacity:0}},a,{dataIndex:i,isFrom:!0})})}function U(t){if(t.parent){var a=t.getComputedTransform();t.setLocalTransform(a),t.parent.remove(t)}}function O(t){t.stopAnimation(),t.isGroup&&t.traverse(function(a){a.stopAnimation()})}function ue(t,a,i){var e=X("update",i,a);e&&t.traverse(function(r){if(r instanceof ae){var u=re(r);u&&r.animateFrom({style:u},e)}})}function se(t,a){var i=t.length;if(i!==a.length)return!1;for(var e=0;e<i;e++){var r=t[e],u=a[e];if(r.data.getId(r.dataIndex)!==u.data.getId(u.dataIndex))return!1}return!0}function Z(t,a,i){var e=w(t),r=w(a);function u(s,S,o,f,c){(o||s)&&S.animateFrom({style:o&&o!==s?H(H({},o.style),s.style):s.style},c)}var n=!1,d=ie,p=x(),G=x();e.forEach(function(s){s.groupId&&p.set(s.groupId,!0),s.childGroupId&&G.set(s.childGroupId,!0)});for(var I=0;I<r.length;I++){var h=r[I].groupId;if(G.get(h)){d=b;break}var y=r[I].childGroupId;if(y&&p.get(y)){d=j;break}}function g(s,S){return function(o){var f=o.data,c=o.dataIndex;return S?f.getId(c):s?d===b?o.childGroupId:o.groupId:d===j?o.childGroupId:o.groupId}}var T=se(e,r),A={};if(!T)for(var I=0;I<r.length;I++){var M=r[I],V=M.data.getItemGraphicEl(M.dataIndex);V&&(A[V.id]=!0)}function K(s,S){var o=e[S],f=r[s],c=f.data.hostModel,l=o.data.getItemGraphicEl(o.dataIndex),v=f.data.getItemGraphicEl(f.dataIndex);if(l===v){v&&ue(v,f.dataIndex,c);return}l&&A[l.id]||v&&(O(v),l?(O(l),U(l),n=!0,R(N(l),N(v),f.divide,c,s,u)):C(v,c,s))}new _(e,r,g(!0,T),g(!1,T),null,"multiple").update(K).updateManyToOne(function(s,S){var o=r[s],f=o.data,c=f.hostModel,l=f.getItemGraphicEl(o.dataIndex),v=B(F(S,function(D){return e[D].data.getItemGraphicEl(e[D].dataIndex)}),function(D){return D&&D!==l&&!A[D.id]});l&&(O(l),v.length?(m(v,function(D){O(D),U(D)}),n=!0,R(N(v),N(l),o.divide,c,s,u)):C(l,c,o.dataIndex))}).updateOneToMany(function(s,S){var o=e[S],f=o.data.getItemGraphicEl(o.dataIndex);if(!(f&&A[f.id])){var c=B(F(s,function(v){return r[v].data.getItemGraphicEl(r[v].dataIndex)}),function(v){return v&&v!==f}),l=r[s[0]].data.hostModel;c.length&&(m(c,function(v){return O(v)}),f?(O(f),U(f),n=!0,R(N(f),N(c),o.divide,l,s[0],u)):m(c,function(v){return C(v,l,s[0])}))}}).updateManyToMany(function(s,S){new _(S,s,function(o){return e[o].data.getId(e[o].dataIndex)},function(o){return r[o].data.getId(r[o].dataIndex)}).update(function(o,f){K(s[o],S[f])}).execute()}).execute(),n&&m(a,function(s){var S=s.data,o=S.hostModel,f=o&&i.getViewOfSeriesModel(o),c=X("update",o,0);f&&o.isAnimationEnabled()&&c&&c.duration>0&&f.group.traverse(function(l){l instanceof W&&!l.animators.length&&l.animateFrom({style:{opacity:0}},c)})})}function z(t){var a=t.getModel("universalTransition").get("seriesKey");return a||t.id}function J(t){return L(t)?t.sort().join(","):t}function E(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function fe(t,a){var i=x(),e=x(),r=x();m(t.oldSeries,function(n,d){var p=t.oldDataGroupIds[d],G=t.oldData[d],I=z(n),h=J(I);e.set(h,{dataGroupId:p,data:G}),L(I)&&m(I,function(y){r.set(y,{key:h,dataGroupId:p,data:G})})});function u(n){i.get(n)&&te("Duplicated seriesKey in universalTransition "+n)}return m(a.updatedSeries,function(n){if(n.isUniversalTransitionEnabled()&&n.isAnimationEnabled()){var d=n.get("dataGroupId"),p=n.getData(),G=z(n),I=J(G),h=e.get(I);if(h)i.set(I,{oldSeries:[{dataGroupId:h.dataGroupId,divide:E(h.data),data:h.data}],newSeries:[{dataGroupId:d,divide:E(p),data:p}]});else if(L(G)){var y=[];m(G,function(A){var M=e.get(A);M.data&&y.push({dataGroupId:M.dataGroupId,divide:E(M.data),data:M.data})}),y.length&&i.set(I,{oldSeries:y,newSeries:[{dataGroupId:d,data:p,divide:E(p)}]})}else{var g=r.get(G);if(g){var T=i.get(g.key);T||(T={oldSeries:[{dataGroupId:g.dataGroupId,data:g.data,divide:E(g.data)}],newSeries:[]},i.set(g.key,T)),T.newSeries.push({dataGroupId:d,data:p,divide:E(p)})}}}}),i}function Q(t,a){for(var i=0;i<t.length;i++){var e=a.seriesIndex!=null&&a.seriesIndex===t[i].seriesIndex||a.seriesId!=null&&a.seriesId===t[i].id;if(e)return i}}function ve(t,a,i,e){var r=[],u=[];m(k(t.from),function(n){var d=Q(a.oldSeries,n);d>=0&&r.push({dataGroupId:a.oldDataGroupIds[d],data:a.oldData[d],divide:E(a.oldData[d]),groupIdDim:n.dimension})}),m(k(t.to),function(n){var d=Q(i.updatedSeries,n);if(d>=0){var p=i.updatedSeries[d].getData();u.push({dataGroupId:a.oldDataGroupIds[d],data:p,divide:E(p),groupIdDim:n.dimension})}}),r.length>0&&u.length>0&&Z(r,u,e)}function Te(t){t.registerUpdateLifecycle("series:beforeupdate",function(a,i,e){m(k(e.seriesTransition),function(r){m(k(r.to),function(u){for(var n=e.updatedSeries,d=0;d<n.length;d++)(u.seriesIndex!=null&&u.seriesIndex===n[d].seriesIndex||u.seriesId!=null&&u.seriesId===n[d].id)&&(n[d][P]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(a,i,e){var r=ne(i);if(r.oldSeries&&e.updatedSeries&&e.optionChanged){var u=e.seriesTransition;if(u)m(k(u),function(g){ve(g,r,e,i)});else{var n=fe(r,e);m(n.keys(),function(g){var T=n.get(g);Z(T.oldSeries,T.newSeries,i)})}m(e.updatedSeries,function(g){g[P]&&(g[P]=!1)})}for(var d=a.getSeries(),p=r.oldSeries=[],G=r.oldDataGroupIds=[],I=r.oldData=[],h=0;h<d.length;h++){var y=d[h].getData();y.count()<Y&&(p.push(d[h]),G.push(d[h].get("dataGroupId")),I.push(y))}})}export{Te as installUniversalTransition};
|
|
3
|
-
//# sourceMappingURL=universalTransition.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/BarSeries */
|
|
2
|
-
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import i from"./BaseBarSeries.mjs";import a from"../helper/createSeriesData.mjs";import{inheritDefaultOption as n}from"../../util/component.mjs";import d from"../../visual/tokens.mjs";var u=function(o){l(e,o);function e(){var r=o!==null&&o.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getInitialData=function(){return a(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var r=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>r&&(r=t),r},e.prototype.brushSelector=function(r,t,s){return s.rect(t.getItemLayout(r))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=n(i.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:d.color.primary,borderWidth:2}},realtimeSort:!1}),e}(i),m=u;export{m as default};
|
|
3
|
-
//# sourceMappingURL=BarSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/BarView */
|
|
2
|
-
import{__extends as H}from"/tslib@2.3.0/es2022/tslib.mjs";import pe from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import ue from"/zrender@6.0.0/es2022/lib/graphic/Group.mjs";import{extend as ee,each as ge,map as de}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{Rect as te,Sector as re,updateProps as L,initProps as I,removeElementWithFadeOut as E,traverseElements as fe}from"../../util/graphic.mjs";import{getECData as B}from"../../util/innerStore.mjs";import{setStatesStylesFromModel as le,toggleHoverEmphasis as ce}from"../../util/states.mjs";import{setLabelStyle as ve,getLabelStatesModels as me,setLabelValueAnimation as _e,labelInner as be}from"../../label/labelStyle.mjs";import{throttle as ye}from"../../util/throttle.mjs";import{createClipPath as Ae}from"../helper/createClipPathFromCoordSys.mjs";import M from"../../util/shape/sausage.mjs";import xe from"../../view/Chart.mjs";import{isCoordinateSystemType as ae}from"../../coord/CoordinateSystem.mjs";import{getDefaultLabel as we,getDefaultInterpolatedLabel as Se}from"../helper/labelHelper.mjs";import"../../util/log.mjs";import{createSectorCalculateTextPosition as De,setSectorTextRotation as Le}from"../../label/sectorLabel.mjs";import{saveOldStyle as Ce}from"../../animation/basicTransition.mjs";import{getSectorCornerRadius as ke}from"../helper/sectorHelper.mjs";var R=Math.max,W=Math.min;function Ie(i,r){var e=i.getArea&&i.getArea();if(ae(i,"cartesian2d")){var t=i.getBaseAxis();if(t.type!=="category"||!t.onBand){var a=r.getLayout("bandWidth");t.isHorizontal()?(e.x-=a,e.width+=a*2):(e.y-=a,e.height+=a*2)}}return e}var Pe=function(i){H(r,i);function r(){var e=i.call(this)||this;return e.type=r.type,e._isFirstFrame=!0,e}return r.prototype.render=function(e,t,a,n){this._model=e,this._removeOnRenderedListener(a),this._updateDrawMode(e);var o=e.get("coordinateSystem");(o==="cartesian2d"||o==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,a):this._renderNormal(e,t,a,n))},r.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},r.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},r.prototype.eachRendered=function(e){fe(this._progressiveEls||this.group,e)},r.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;(this._isLargeDraw==null||t!==this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},r.prototype._renderNormal=function(e,t,a,n){var o=this.group,s=e.getData(),u=this._data,h=e.coordinateSystem,p=h.getBaseAxis(),g;h.type==="cartesian2d"?g=p.isHorizontal():h.type==="polar"&&(g=p.dim==="angle");var m=e.isAnimationEnabled()?e:null,c=Ve(e,h);c&&this._enableRealtimeSort(c,s,a);var A=e.get("clip",!0)||c,S=Ie(h,s);o.removeClipPath();var x=e.get("roundCap",!0),w=e.get("showBackground",!0),y=e.getModel("backgroundStyle"),C=y.get("borderRadius")||0,D=[],F=this._backgroundEls,G=n&&n.isInitSort,T=n&&n.type==="changeAxisOrder";function X(d){var _=k[h.type](s,d);if(!_)return null;var l=Fe(h,g,_);return l.useStyle(y.getItemStyle()),h.type==="cartesian2d"?l.setShape("r",C):l.setShape("cornerRadius",C),D[d]=l,l}s.diff(u).add(function(d){var _=s.getItemModel(d),l=k[h.type](s,d,_);if(l&&(w&&X(d),!(!s.hasValue(d)||!q[h.type](l)))){var b=!1;A&&(b=U[h.type](S,l));var v=Y[h.type](e,s,d,l,g,m,p.model,!1,x);c&&(v.forceLabelAnimation=!0),J(v,s,d,_,l,e,g,h.type==="polar"),G?v.attr({shape:l}):c?Z(c,m,v,l,d,g,!1,!1):I(v,{shape:l},e,d),s.setItemGraphicEl(d,v),o.add(v),v.ignore=b}}).update(function(d,_){var l=s.getItemModel(d),b=k[h.type](s,d,l);if(b){if(w){var v=void 0;F.length===0?v=X(_):(v=F[_],v.useStyle(y.getItemStyle()),h.type==="cartesian2d"?v.setShape("r",C):v.setShape("cornerRadius",C),D[d]=v);var se=k[h.type](s,d),oe=ne(g,se,h);L(v,{shape:oe},m,d)}var f=u.getItemGraphicEl(_);if(!s.hasValue(d)||!q[h.type](b)){o.remove(f);return}var O=!1;A&&(O=U[h.type](S,b),O&&o.remove(f));var he=f&&(f.type==="sector"&&x||f.type==="sausage"&&!x);if(he&&(f&&E(f,e,_),f=null),f?Ce(f):f=Y[h.type](e,s,d,b,g,m,p.model,!0,x),c&&(f.forceLabelAnimation=!0),T){var z=f.getTextContent();if(z){var N=be(z);N.prevValue!=null&&(N.prevValue=N.value)}}else J(f,s,d,l,b,e,g,h.type==="polar");G?f.attr({shape:b}):c?Z(c,m,f,b,d,g,!0,T):L(f,{shape:b},e,d,null),s.setItemGraphicEl(d,f),f.ignore=O,o.add(f)}}).remove(function(d){var _=u.getItemGraphicEl(d);_&&E(_,e,d)}).execute();var P=this._backgroundGroup||(this._backgroundGroup=new ue);P.removeAll();for(var V=0;V<D.length;++V)P.add(D[V]);o.add(P),this._backgroundEls=D,this._data=s},r.prototype._renderLarge=function(e,t,a){this._clear(),Q(e,this.group),this._updateLargeClip(e)},r.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),Q(t,this.group,this._progressiveEls,!0)},r.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&Ae(e.coordinateSystem,!1,e),a=this.group;t?a.setClipPath(t):a.removeClipPath()},r.prototype._enableRealtimeSort=function(e,t,a){var n=this;if(t.count()){var o=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,a),this._isFirstFrame=!1;else{var s=function(u){var h=t.getItemGraphicEl(u),p=h&&h.shape;return p&&Math.abs(o.isHorizontal()?p.height:p.width)||0};this._onRendered=function(){n._updateSortWithinSameData(t,s,o,a)},a.getZr().on("rendered",this._onRendered)}}},r.prototype._dataSort=function(e,t,a){var n=[];return e.each(e.mapDimension(t.dim),function(o,s){var u=a(s);u=u??NaN,n.push({dataIndex:s,mappedValue:u,ordinalNumber:o})}),n.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:de(n,function(o){return o.ordinalNumber})}},r.prototype._isOrderChangedWithinSameData=function(e,t,a){for(var n=a.scale,o=e.mapDimension(a.dim),s=Number.MAX_VALUE,u=0,h=n.getOrdinalMeta().categories.length;u<h;++u){var p=e.rawIndexOf(o,n.getRawOrdinalNumber(u)),g=p<0?Number.MIN_VALUE:t(e.indexOfRawIndex(p));if(g>s)return!0;s=g}return!1},r.prototype._isOrderDifferentInView=function(e,t){for(var a=t.scale,n=a.getExtent(),o=Math.max(0,n[0]),s=Math.min(n[1],a.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},r.prototype._updateSortWithinSameData=function(e,t,a,n){if(this._isOrderChangedWithinSameData(e,t,a)){var o=this._dataSort(e,a,t);this._isOrderDifferentInView(o,a)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:o}))}},r.prototype._dispatchInitSort=function(e,t,a){var n=t.baseAxis,o=this._dataSort(e,n,function(s){return e.get(e.mapDimension(t.otherAxis.dim),s)});a.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:o})},r.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},r.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},r.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function(e){var t=this.group,a=this._data;e&&e.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(n){E(n,e,B(n).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},r.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},r.type="bar",r}(xe),U={cartesian2d:function(i,r){var e=r.width<0?-1:1,t=r.height<0?-1:1;e<0&&(r.x+=r.width,r.width=-r.width),t<0&&(r.y+=r.height,r.height=-r.height);var a=i.x+i.width,n=i.y+i.height,o=R(r.x,i.x),s=W(r.x+r.width,a),u=R(r.y,i.y),h=W(r.y+r.height,n),p=s<o,g=h<u;return r.x=p&&o>a?s:o,r.y=g&&u>n?h:u,r.width=p?0:s-o,r.height=g?0:h-u,e<0&&(r.x+=r.width,r.width=-r.width),t<0&&(r.y+=r.height,r.height=-r.height),p||g},polar:function(i,r){var e=r.r0<=r.r?1:-1;if(e<0){var t=r.r;r.r=r.r0,r.r0=t}var a=W(r.r,i.r),n=R(r.r0,i.r0);r.r=a,r.r0=n;var o=a-n<0;if(e<0){var t=r.r;r.r=r.r0,r.r0=t}return o}},Y={cartesian2d:function(i,r,e,t,a,n,o,s,u){var h=new te({shape:ee({},t),z2:1});if(h.__dataIndex=e,h.name="item",n){var p=h.shape,g=a?"height":"width";p[g]=0}return h},polar:function(i,r,e,t,a,n,o,s,u){var h=!a&&u?M:re,p=new h({shape:t,z2:1});p.name="item";var g=ie(a);if(p.calculateTextPosition=De(g,{isRoundCap:h===M}),n){var m=p.shape,c=a?"r":"endAngle",A={};m[c]=a?t.r0:t.startAngle,A[c]=t[c],(s?L:I)(p,{shape:A},n)}return p}};function Ve(i,r){var e=i.get("realtimeSort",!0),t=r.getBaseAxis();if(e&&t.type==="category"&&r.type==="cartesian2d")return{baseAxis:t,otherAxis:r.getOtherAxis(t)}}function Z(i,r,e,t,a,n,o,s){var u,h;n?(h={x:t.x,width:t.width},u={y:t.y,height:t.height}):(h={y:t.y,height:t.height},u={x:t.x,width:t.width}),s||(o?L:I)(e,{shape:u},r,a,null);var p=r?i.baseAxis.model:null;(o?L:I)(e,{shape:h},p,a)}function j(i,r){for(var e=0;e<r.length;e++)if(!isFinite(i[r[e]]))return!0;return!1}var Oe=["x","y","width","height"],Ne=["cx","cy","r","startAngle","endAngle"],q={cartesian2d:function(i){return!j(i,Oe)},polar:function(i){return!j(i,Ne)}},k={cartesian2d:function(i,r,e){var t=i.getItemLayout(r);if(!t)return null;var a=e?Re(e,t):0,n=t.width>0?1:-1,o=t.height>0?1:-1;return{x:t.x+n*a/2,y:t.y+o*a/2,width:t.width-n*a,height:t.height-o*a}},polar:function(i,r,e){var t=i.getItemLayout(r);return{cx:t.cx,cy:t.cy,r0:t.r0,r:t.r,startAngle:t.startAngle,endAngle:t.endAngle,clockwise:t.clockwise}}};function Ee(i){return i.startAngle!=null&&i.endAngle!=null&&i.startAngle===i.endAngle}function ie(i){return function(r){var e=r?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(i)}function J(i,r,e,t,a,n,o,s){var u=r.getItemVisual(e,"style");if(s){if(!n.get("roundCap")){var p=i.shape,g=ke(t.getModel("itemStyle"),p,!0);ee(p,g),i.setShape(p)}}else{var h=t.get(["itemStyle","borderRadius"])||0;i.setShape("r",h)}i.useStyle(u);var m=t.getShallow("cursor");m&&i.attr("cursor",m);var c=s?o?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":o?a.height>=0?"bottom":"top":a.width>=0?"right":"left",A=me(t);ve(i,A,{labelFetcher:n,labelDataIndex:e,defaultText:we(n.getData(),e),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:c});var S=i.getTextContent();if(s&&S){var x=t.get(["label","position"]);i.textConfig.inside=x==="middle"?!0:null,Le(i,x==="outside"?c:x,ie(o),t.get(["label","rotate"]))}_e(S,A,n.getRawValue(e),function(y){return Se(r,y)});var w=t.getModel(["emphasis"]);ce(i,w.get("focus"),w.get("blurScope"),w.get("disabled")),le(i,t),Ee(a)&&(i.style.fill="none",i.style.stroke="none",ge(i.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function Re(i,r){var e=i.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var t=i.get(["itemStyle","borderWidth"])||0,a=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),n=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(t,a,n)}var We=function(){function i(){}return i}(),K=function(i){H(r,i);function r(e){var t=i.call(this,e)||this;return t.type="largeBar",t}return r.prototype.getDefaultShape=function(){return new We},r.prototype.buildPath=function(e,t){for(var a=t.points,n=this.baseDimIdx,o=1-this.baseDimIdx,s=[],u=[],h=this.barWidth,p=0;p<a.length;p+=3)u[n]=h,u[o]=a[p+2],s[n]=a[p+n],s[o]=a[p+o],e.rect(s[0],s[1],u[0],u[1])},r}(pe);function Q(i,r,e,t){var a=i.getData(),n=a.getLayout("valueAxisHorizontal")?1:0,o=a.getLayout("largeDataIndices"),s=a.getLayout("size"),u=i.getModel("backgroundStyle"),h=a.getLayout("largeBackgroundPoints");if(h){var p=new K({shape:{points:h},incremental:!!t,silent:!0,z2:0});p.baseDimIdx=n,p.largeDataIndices=o,p.barWidth=s,p.useStyle(u.getItemStyle()),r.add(p),e&&e.push(p)}var g=new K({shape:{points:a.getLayout("largePoints")},incremental:!!t,ignoreCoarsePointer:!0,z2:1});g.baseDimIdx=n,g.largeDataIndices=o,g.barWidth=s,r.add(g),g.useStyle(a.getVisual("style")),g.style.stroke=null,B(g).seriesIndex=i.seriesIndex,i.get("silent")||(g.on("mousedown",$),g.on("mousemove",$)),e&&e.push(g)}var $=ye(function(i){var r=this,e=Be(r,i.offsetX,i.offsetY);B(r).dataIndex=e>=0?e:null},30,!1);function Be(i,r,e){for(var t=i.baseDimIdx,a=1-t,n=i.shape.points,o=i.largeDataIndices,s=[],u=[],h=i.barWidth,p=0,g=n.length/3;p<g;p++){var m=p*3;if(u[t]=h,u[a]=n[m+2],s[t]=n[m+t],s[a]=n[m+a],u[a]<0&&(s[a]+=u[a],u[a]=-u[a]),r>=s[0]&&r<=s[0]+u[0]&&e>=s[1]&&e<=s[1]+u[1])return o[p]}return-1}function ne(i,r,e){if(ae(e,"cartesian2d")){var t=r,a=e.getArea();return{x:i?t.x:a.x,y:i?a.y:t.y,width:i?t.width:a.width,height:i?a.height:t.height}}else{var a=e.getArea(),n=r;return{cx:a.cx,cy:a.cy,r0:i?a.r0:n.r0,r:i?a.r:n.r,startAngle:i?n.startAngle:0,endAngle:i?n.endAngle:Math.PI*2}}}function Fe(i,r,e){var t=i.type==="polar"?re:te;return new t({shape:ne(r,e,i),silent:!0,z2:0})}var it=Pe;export{it as default};
|
|
3
|
-
//# sourceMappingURL=BarView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/BaseBarSeries */
|
|
2
|
-
import{__extends as G}from"/tslib@2.3.0/es2022/tslib.mjs";import S from"../../model/Series.mjs";import H from"../helper/createSeriesData.mjs";import{each as P}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var B=function(h){G(r,h);function r(){var f=h!==null&&h.apply(this,arguments)||this;return f.type=r.type,f}return r.prototype.getInitialData=function(f,u){return H(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function(f,u,D){var t=this.coordinateSystem;if(t&&t.clampData){var y=t.clampData(f),g=t.dataToPoint(y);if(D)P(t.getAxes(),function(n,i){if(n.type==="category"&&u!=null){var e=n.getTicksCoords(),A=n.getTickModel().get("alignWithLabel"),s=y[i],b=u[i]==="x1"||u[i]==="y1";if(b&&!A&&(s+=1),e.length<2)return;if(e.length===2){g[i]=n.toGlobalCoord(n.getExtent()[b?1:0]);return}for(var o=void 0,l=void 0,M=1,a=0;a<e.length;a++){var p=e[a].coord,v=a===e.length-1?e[a-1].tickValue+M:e[a].tickValue;if(v===s){l=p;break}else if(v<s)o=p;else if(o!=null&&v>s){l=(p+o)/2;break}a===1&&(M=v-e[0].tickValue)}l==null&&(o?o&&(l=e[e.length-1].coord):l=e[0].coord),g[i]=n.toGlobalCoord(l)}});else{var m=this.getData(),L=m.getLayout("offset"),N=m.getLayout("size"),z=t.getBaseAxis().isHorizontal()?0:1;g[z]+=L+N/2}return g}return[NaN,NaN]},r.type="series.__base_bar__",r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},r}(S);S.registerClass(B);var j=B;export{j as default};
|
|
3
|
-
//# sourceMappingURL=BaseBarSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/PictorialBarSeries */
|
|
2
|
-
import{__extends as i}from"/tslib@2.3.0/es2022/tslib.mjs";import o from"./BaseBarSeries.mjs";import{inheritDefaultOption as r}from"../../util/component.mjs";import a from"../../visual/tokens.mjs";var s=function(l){i(e,l);function e(){var t=l!==null&&l.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return e.prototype.getInitialData=function(t){return t.stack=null,l.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=r(o.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:a.color.primary}}}),e}(o),y=s;export{y as default};
|
|
3
|
-
//# sourceMappingURL=PictorialBarSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/PictorialBarView */
|
|
2
|
-
import{__extends as $}from"/tslib@2.3.0/es2022/tslib.mjs";import*as _ from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as x from"../../util/graphic.mjs";import{toggleHoverEmphasis as N}from"../../util/states.mjs";import{createSymbol as M,normalizeSymbolOffset as ee}from"../../util/symbol.mjs";import{parsePercent as T,isNumeric as ie}from"../../util/number.mjs";import re from"../../view/Chart.mjs";import{getDefaultLabel as te}from"../helper/labelHelper.mjs";import{setLabelStyle as ae,getLabelStatesModels as ne}from"../../label/labelStyle.mjs";import le from"/zrender@6.0.0/es2022/lib/graphic/Image.mjs";import{getECData as oe}from"../../util/innerStore.mjs";import{createClipPath as ce}from"../helper/createClipPathFromCoordSys.mjs";var se=["itemStyle","borderWidth"],U=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],A=new x.Circle,ve=function(i){$(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=r.type,e}return r.prototype.render=function(e,n,a){var t=this.group,l=e.getData(),d=this._data,f=e.coordinateSystem,g=f.getBaseAxis(),u=g.isHorizontal(),p=f.master.getRect(),o={ecSize:{width:a.getWidth(),height:a.getHeight()},seriesModel:e,coordSys:f,coordSysExtent:[[p.x,p.x+p.width],[p.y,p.y+p.height]],isHorizontal:u,valueDim:U[+u],categoryDim:U[1-+u]};l.diff(d).add(function(c){if(l.hasValue(c)){var s=G(l,c),h=V(l,c,s,o),S=W(l,o,h);l.setItemGraphicEl(c,S),t.add(S),b(S,o,h)}}).update(function(c,s){var h=d.getItemGraphicEl(s);if(!l.hasValue(c)){t.remove(h);return}var S=G(l,c),m=V(l,c,S,o),P=J(l,m);h&&P!==h.__pictorialShapeStr&&(t.remove(h),l.setItemGraphicEl(c,null),h=null),h?Se(h,o,m):h=W(l,o,m,!0),l.setItemGraphicEl(c,h),h.__pictorialSymbolMeta=m,t.add(h),b(h,o,m)}).remove(function(c){var s=d.getItemGraphicEl(c);s&&H(d,c,s.__pictorialSymbolMeta.animationModel,s)}).execute();var v=e.get("clip",!0)?ce(e.coordinateSystem,!1,e):null;return v?t.setClipPath(v):t.removeClipPath(),this._data=l,this.group},r.prototype.remove=function(e,n){var a=this.group,t=this._data;e.get("animation")?t&&t.eachItemGraphicEl(function(l){H(t,oe(l).dataIndex,e,l)}):a.removeAll()},r.type="pictorialBar",r}(re);function V(i,r,e,n){var a=i.getItemLayout(r),t=e.get("symbolRepeat"),l=e.get("symbolClip"),d=e.get("symbolPosition")||"start",f=e.get("symbolRotate"),g=(f||0)*Math.PI/180||0,u=e.get("symbolPatternSize")||2,p=e.isAnimationEnabled(),o={dataIndex:r,layout:a,itemModel:e,symbolType:i.getItemVisual(r,"symbol")||"circle",style:i.getItemVisual(r,"style"),symbolClip:l,symbolRepeat:t,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:g,animationModel:p?e:null,hoverScale:p&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};ue(e,t,a,n,o),pe(i,r,a,t,l,o.boundingLength,o.pxSign,u,n,o),he(e,o.symbolScale,g,n,o);var v=o.symbolSize,c=ee(e.get("symbolOffset"),v);return de(e,v,a,t,l,c,d,o.valueLineWidth,o.boundingLength,o.repeatCutLength,n,o),o}function ue(i,r,e,n,a){var t=n.valueDim,l=i.get("symbolBoundingData"),d=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),f=d.toGlobalCoord(d.dataToCoord(0)),g=1-+(e[t.wh]<=0),u;if(_.isArray(l)){var p=[L(d,l[0])-f,L(d,l[1])-f];p[1]<p[0]&&p.reverse(),u=p[g]}else l!=null?u=L(d,l)-f:r?u=n.coordSysExtent[t.index][g]-f:u=e[t.wh];a.boundingLength=u,r&&(a.repeatCutLength=e[t.wh]);var o=t.xy==="x",v=d.inverse;a.pxSign=o&&!v||!o&&v?u>=0?1:-1:u>0?1:-1}function L(i,r){return i.toGlobalCoord(i.dataToCoord(i.scale.parse(r)))}function pe(i,r,e,n,a,t,l,d,f,g){var u=f.valueDim,p=f.categoryDim,o=Math.abs(e[p.wh]),v=i.getItemVisual(r,"symbolSize"),c;_.isArray(v)?c=v.slice():v==null?c=["100%","100%"]:c=[v,v],c[p.index]=T(c[p.index],o),c[u.index]=T(c[u.index],n?o:Math.abs(t)),g.symbolSize=c;var s=g.symbolScale=[c[0]/d,c[1]/d];s[u.index]*=(f.isHorizontal?-1:1)*l}function he(i,r,e,n,a){var t=i.get(se)||0;t&&(A.attr({scaleX:r[0],scaleY:r[1],rotation:e}),A.updateTransform(),t/=A.getLineScale(),t*=r[n.valueDim.index]),a.valueLineWidth=t||0}function de(i,r,e,n,a,t,l,d,f,g,u,p){var o=u.categoryDim,v=u.valueDim,c=p.pxSign,s=Math.max(r[v.index]+d,0),h=s;if(n){var S=Math.abs(f),m=_.retrieve(i.get("symbolMargin"),"15%")+"",P=!1;m.lastIndexOf("!")===m.length-1&&(P=!0,m=m.slice(0,m.length-1));var y=T(m,r[v.index]),w=Math.max(s+y*2,0),C=P?0:y*2,E=ie(n),z=E?n:k((S+C)/w),K=S-z*s;y=K/2/(P?z:Math.max(z-1,1)),w=s+y*2,C=P?0:y*2,!E&&n!=="fixed"&&(z=g?k((Math.abs(g)+C)/w):0),h=z*w-C,p.repeatTimes=z,p.symbolMargin=y}var B=c*(h/2),R=p.pathPosition=[];R[o.index]=e[o.wh]/2,R[v.index]=l==="start"?B:l==="end"?f-B:f/2,t&&(R[0]+=t[0],R[1]+=t[1]);var O=p.bundlePosition=[];O[o.index]=e[o.xy],O[v.index]=e[v.xy];var X=p.barRectShape=_.extend({},e);X[v.wh]=c*Math.max(Math.abs(e[v.wh]),Math.abs(R[v.index]+B)),X[o.wh]=e[o.wh];var I=p.clipShape={};I[o.xy]=-e[o.xy],I[o.wh]=u.ecSize[o.wh],I[v.xy]=0,I[v.wh]=e[v.wh]}function j(i){var r=i.symbolPatternSize,e=M(i.symbolType,-r/2,-r/2,r,r);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function Q(i,r,e,n){var a=i.__pictorialBundle,t=e.symbolSize,l=e.valueLineWidth,d=e.pathPosition,f=r.valueDim,g=e.repeatTimes||0,u=0,p=t[r.valueDim.index]+l+e.symbolMargin*2;for(Y(i,function(s){s.__pictorialAnimationIndex=u,s.__pictorialRepeatTimes=g,u<g?D(s,null,c(u),e,n):D(s,null,{scaleX:0,scaleY:0},e,n,function(){a.remove(s)}),u++});u<g;u++){var o=j(e);o.__pictorialAnimationIndex=u,o.__pictorialRepeatTimes=g,a.add(o);var v=c(u);D(o,{x:v.x,y:v.y,scaleX:0,scaleY:0},{scaleX:v.scaleX,scaleY:v.scaleY,rotation:v.rotation},e,n)}function c(s){var h=d.slice(),S=e.pxSign,m=s;return(e.symbolRepeatDirection==="start"?S>0:S<0)&&(m=g-1-s),h[f.index]=p*(m-g/2+.5)+d[f.index],{x:h[0],y:h[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function Z(i,r,e,n){var a=i.__pictorialBundle,t=i.__pictorialMainPath;t?D(t,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,n):(t=i.__pictorialMainPath=j(e),a.add(t),D(t,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,n))}function q(i,r,e){var n=_.extend({},r.barRectShape),a=i.__pictorialBarRect;a?D(a,null,{shape:n},r,e):(a=i.__pictorialBarRect=new x.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),a.disableMorphing=!0,i.add(a))}function F(i,r,e,n){if(e.symbolClip){var a=i.__pictorialClipPath,t=_.extend({},e.clipShape),l=r.valueDim,d=e.animationModel,f=e.dataIndex;if(a)x.updateProps(a,{shape:t},d,f);else{t[l.wh]=0,a=new x.Rect({shape:t}),i.__pictorialBundle.setClipPath(a),i.__pictorialClipPath=a;var g={};g[l.wh]=e.clipShape[l.wh],x[n?"updateProps":"initProps"](a,{shape:g},d,f)}}}function G(i,r){var e=i.getItemModel(r);return e.getAnimationDelayParams=fe,e.isAnimationEnabled=ge,e}function fe(i){return{index:i.__pictorialAnimationIndex,count:i.__pictorialRepeatTimes}}function ge(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function W(i,r,e,n){var a=new x.Group,t=new x.Group;return a.add(t),a.__pictorialBundle=t,t.x=e.bundlePosition[0],t.y=e.bundlePosition[1],e.symbolRepeat?Q(a,r,e):Z(a,r,e),q(a,e,n),F(a,r,e,n),a.__pictorialShapeStr=J(i,e),a.__pictorialSymbolMeta=e,a}function Se(i,r,e){var n=e.animationModel,a=e.dataIndex,t=i.__pictorialBundle;x.updateProps(t,{x:e.bundlePosition[0],y:e.bundlePosition[1]},n,a),e.symbolRepeat?Q(i,r,e,!0):Z(i,r,e,!0),q(i,e,!0),F(i,r,e,!0)}function H(i,r,e,n){var a=n.__pictorialBarRect;a&&a.removeTextContent();var t=[];Y(n,function(l){t.push(l)}),n.__pictorialMainPath&&t.push(n.__pictorialMainPath),n.__pictorialClipPath&&(e=null),_.each(t,function(l){x.removeElement(l,{scaleX:0,scaleY:0},e,r,function(){n.parent&&n.parent.remove(n)})}),i.setItemGraphicEl(r,null)}function J(i,r){return[i.getItemVisual(r.dataIndex,"symbol")||"none",!!r.symbolRepeat,!!r.symbolClip].join(":")}function Y(i,r,e){_.each(i.__pictorialBundle.children(),function(n){n!==i.__pictorialBarRect&&r.call(e,n)})}function D(i,r,e,n,a,t){r&&i.attr(r),n.symbolClip&&!a?e&&i.attr(e):e&&x[a?"updateProps":"initProps"](i,e,n.animationModel,n.dataIndex,t)}function b(i,r,e){var n=e.dataIndex,a=e.itemModel,t=a.getModel("emphasis"),l=t.getModel("itemStyle").getItemStyle(),d=a.getModel(["blur","itemStyle"]).getItemStyle(),f=a.getModel(["select","itemStyle"]).getItemStyle(),g=a.getShallow("cursor"),u=t.get("focus"),p=t.get("blurScope"),o=t.get("scale");Y(i,function(s){if(s instanceof le){var h=s.style;s.useStyle(_.extend({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},e.style))}else s.useStyle(e.style);var S=s.ensureState("emphasis");S.style=l,o&&(S.scaleX=s.scaleX*1.1,S.scaleY=s.scaleY*1.1),s.ensureState("blur").style=d,s.ensureState("select").style=f,g&&(s.cursor=g),s.z2=e.z2});var v=r.valueDim.posDesc[+(e.boundingLength>0)],c=i.__pictorialBarRect;c.ignoreClip=!0,ae(c,ne(a),{labelFetcher:r.seriesModel,labelDataIndex:n,defaultText:te(r.seriesModel.getData(),n),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:v}),N(i,u,p,t.get("disabled"))}function k(i){var r=Math.round(i);return Math.abs(i-r)<1e-4?r:Math.ceil(i)}var Ie=ve;export{Ie as default};
|
|
3
|
-
//# sourceMappingURL=PictorialBarView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/install */
|
|
2
|
-
import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{layout as a,createProgressiveLayout as m}from"../../layout/barGrid.mjs";import I from"../../processor/dataSample.mjs";import p from"./BarSeries.mjs";import c from"./BarView.mjs";function O(r){r.registerChartView(c),r.registerSeriesModel(p),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,e.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,m("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(o,t){var i=o.componentType||"series";t.eachComponent({mainType:i,query:o},function(n){o.sortInfo&&n.axis.setCategorySortInfo(o.sortInfo)})})}export{O as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/bar/installPictorialBar */
|
|
2
|
-
import o from"./PictorialBarView.mjs";import i from"./PictorialBarSeries.mjs";import{createProgressiveLayout as t,layout as a}from"../../layout/barGrid.mjs";import{curry as e}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function I(r){r.registerChartView(o),r.registerSeriesModel(i),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,e(a,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t("pictorialBar"))}export{I as install};
|
|
3
|
-
//# sourceMappingURL=installPictorialBar.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/BoxplotSeries */
|
|
2
|
-
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import l from"../../model/Series.mjs";import{WhiskerBoxCommonMixin as n}from"../helper/whiskerBoxCommon.mjs";import{mixin as d}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import i from"../../visual/tokens.mjs";var r=function(t){a(e,t);function e(){var o=t!==null&&t.apply(this,arguments)||this;return o.type=e.type,o.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],o.visualDrawType="stroke",o}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:i.color.neutral00,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:i.color.shadow}},animationDuration:800},e}(l);d(r,n,!0);var h=r;export{h as default};
|
|
3
|
-
//# sourceMappingURL=BoxplotSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/BoxplotView */
|
|
2
|
-
import{__extends as v}from"/tslib@2.3.0/es2022/tslib.mjs";import*as c from"/zrender@6.0.0/es2022/lib/core/util.mjs";import g from"../../view/Chart.mjs";import*as y from"../../util/graphic.mjs";import{setStatesStylesFromModel as B,toggleHoverEmphasis as P}from"../../util/states.mjs";import M from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import{saveOldStyle as S}from"../../animation/basicTransition.mjs";var E=function(i){v(e,i);function e(){var o=i!==null&&i.apply(this,arguments)||this;return o.type=e.type,o}return e.prototype.render=function(o,r,a){var t=o.getData(),l=this.group,p=this._data;this._data||l.removeAll();var u=o.get("layout")==="horizontal"?1:0;t.diff(p).add(function(n){if(t.hasValue(n)){var h=t.getItemLayout(n),s=f(h,t,n,u,!0);t.setItemGraphicEl(n,s),l.add(s)}}).update(function(n,h){var s=p.getItemGraphicEl(h);if(!t.hasValue(n)){l.remove(s);return}var m=t.getItemLayout(n);s?(S(s),d(m,s,t,n)):s=f(m,t,n,u),l.add(s),t.setItemGraphicEl(n,s)}).remove(function(n){var h=p.getItemGraphicEl(n);h&&l.remove(h)}).execute(),this._data=t},e.prototype.remove=function(o){var r=this.group,a=this._data;this._data=null,a&&a.eachItemGraphicEl(function(t){t&&r.remove(t)})},e.type="boxplot",e}(g),V=function(){function i(){}return i}(),_=function(i){v(e,i);function e(o){var r=i.call(this,o)||this;return r.type="boxplotBoxPath",r}return e.prototype.getDefaultShape=function(){return new V},e.prototype.buildPath=function(o,r){var a=r.points,t=0;for(o.moveTo(a[t][0],a[t][1]),t++;t<4;t++)o.lineTo(a[t][0],a[t][1]);for(o.closePath();t<a.length;t++)o.moveTo(a[t][0],a[t][1]),t++,o.lineTo(a[t][0],a[t][1])},e}(M);function f(i,e,o,r,a){var t=i.ends,l=new _({shape:{points:a?b(t,r,i):t}});return d(i,l,e,o,a),l}function d(i,e,o,r,a){var t=o.hostModel,l=y[a?"initProps":"updateProps"];l(e,{shape:{points:i.ends}},t,r),e.useStyle(o.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var p=o.getItemModel(r),u=p.getModel("emphasis");B(e,p),P(e,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function b(i,e,o){return c.map(i,function(r){return r=r.slice(),r[e]=o.initBaseline,r})}var U=E;export{U as default};
|
|
3
|
-
//# sourceMappingURL=BoxplotView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/boxplotLayout */
|
|
2
|
-
import*as W from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{parsePercent as d}from"../../util/number.mjs";var A=W.each;function E(a){var v=P(a);A(v,function(r){var n=r.seriesModels;n.length&&(D(r),A(n,function(t,i){T(t,r.boxOffsetList[i],r.boxWidthList[i])}))})}function P(a){var v=[],r=[];return a.eachSeriesByType("boxplot",function(n){var t=n.getBaseAxis(),i=W.indexOf(r,t);i<0&&(i=r.length,r[i]=t,v[i]={axis:t,seriesModels:[]}),v[i].seriesModels.push(n)}),v}function D(a){var v=a.axis,r=a.seriesModels,n=r.length,t=a.boxWidthList=[],i=a.boxOffsetList=[],s=[],u;if(v.type==="category")u=v.getBandWidth();else{var L=0;A(r,function(h){L=Math.max(L,h.getData().count())});var B=v.getExtent();u=Math.abs(B[1]-B[0])/L}A(r,function(h){var e=h.get("boxWidth");W.isArray(e)||(e=[e,e]),s.push([d(e[0],u)||0,d(e[1],u)||0])});var l=u*.8-2,o=l/n*.3,f=(l-o*(n-1))/n,M=f/2-l/2;A(r,function(h,e){i.push(M),M+=o+f,t.push(Math.min(Math.max(f,s[e][0]),s[e][1]))})}function T(a,v,r){var n=a.coordinateSystem,t=a.getData(),i=r/2,s=a.get("layout")==="horizontal"?0:1,u=1-s,L=["x","y"],B=t.mapDimension(L[s]),l=t.mapDimensionsAll(L[u]);if(B==null||l.length<5)return;for(var o=0;o<t.count();o++){var f=t.get(B,o),M=N(f,l[2],o),h=N(f,l[0],o),e=N(f,l[1],o),z=N(f,l[3],o),O=N(f,l[4],o),b=[];U(b,e,!1),U(b,z,!0),b.push(h,e,O,z),m(b,h),m(b,O),m(b,M),t.setItemLayout(o,{initBaseline:M[u],ends:b})}function N(p,y,x){var c=t.get(y,x),g=[];g[s]=p,g[u]=c;var S;return isNaN(p)||isNaN(c)?S=[NaN,NaN]:(S=n.dataToPoint(g),S[s]+=v),S}function U(p,y,x){var c=y.slice(),g=y.slice();c[s]+=i,g[s]-=i,x?p.push(c,g):p.push(g,c)}function m(p,y){var x=y.slice(),c=y.slice();x[s]-=i,c[s]+=i,p.push(x,c)}}export{E as default};
|
|
3
|
-
//# sourceMappingURL=boxplotLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/boxplotTransform */
|
|
2
|
-
import e from"./prepareBoxplotData.mjs";import{throwError as m}from"../../util/log.mjs";import{SOURCE_FORMAT_ARRAY_ROWS as i}from"../../util/types.mjs";var u={type:"echarts:boxplot",transform:function(r){var o=r.upstream;if(o.sourceFormat!==i){var a="";m(a)}var t=e(o.getRawData(),r.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:t.boxData},{data:t.outliers}]}};export{u as boxplotTransform};
|
|
3
|
-
//# sourceMappingURL=boxplotTransform.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/install */
|
|
2
|
-
import r from"./BoxplotSeries.mjs";import t from"./BoxplotView.mjs";import e from"./boxplotLayout.mjs";import{boxplotTransform as i}from"./boxplotTransform.mjs";function a(o){o.registerSeriesModel(r),o.registerChartView(t),o.registerLayout(e),o.registerTransform(i)}export{a as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/prepareBoxplotData */
|
|
2
|
-
import{quantile as p,asc as k}from"../../util/number.mjs";import{isFunction as y,isString as z}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function A(h,a){a=a||{};for(var x=[],b=[],n=a.boundIQR,g=n==="none"||n===0,v=0;v<h.length;v++){var r=k(h[v].slice()),l=p(r,.25),S=p(r,.5),o=p(r,.75),D=r[0],M=r[r.length-1],R=(n??1.5)*(o-l),q=g?D:Math.max(D,l-R),B=g?M:Math.min(M,o+R),u=a.itemNameFormatter,E=y(u)?u({value:v}):z(u)?u.replace("{value}",v+""):v+"";x.push([E,q,l,S,o,B]);for(var e=0;e<r.length;e++){var f=r[e];if(f<q||f>B){var d=[E,f];b.push(d)}}}return{boxData:x,outliers:b}}export{A as default};
|
|
3
|
-
//# sourceMappingURL=prepareBoxplotData.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/CandlestickSeries */
|
|
2
|
-
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import u from"../../model/Series.mjs";import{WhiskerBoxCommonMixin as d}from"../helper/whiskerBoxCommon.mjs";import{mixin as s}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var i=function(r){a(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],t}return e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,n,l){var o=n.getItemLayout(t);return o&&l.rect(o.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(u);s(i,d,!0);var f=i;export{f as default};
|
|
3
|
-
//# sourceMappingURL=CandlestickSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/CandlestickView */
|
|
2
|
-
import{__extends as P}from"/tslib@2.3.0/es2022/tslib.mjs";import*as g from"/zrender@6.0.0/es2022/lib/core/util.mjs";import N from"../../view/Chart.mjs";import*as c from"../../util/graphic.mjs";import{setStatesStylesFromModel as T,toggleHoverEmphasis as E}from"../../util/states.mjs";import C from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import{createClipPath as k}from"../helper/createClipPathFromCoordSys.mjs";import{saveOldStyle as w}from"../../animation/basicTransition.mjs";import{getBorderColor as L,getColor as D}from"./candlestickVisual.mjs";var b=["color","borderColor"],R=function(o){P(a,o);function a(){var t=o!==null&&o.apply(this,arguments)||this;return t.type=a.type,t}return a.prototype.render=function(t,e,r){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},a.prototype.incrementalPrepareRender=function(t,e,r){this._clear(),this._updateDrawMode(t)},a.prototype.incrementalRender=function(t,e,r,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},a.prototype.eachRendered=function(t){c.traverseElements(this._progressiveEls||this.group,t)},a.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;(this._isLargeDraw==null||e!==this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},a.prototype._renderNormal=function(t){var e=t.getData(),r=this._data,i=this.group,n=e.getLayout("isSimpleBox"),p=t.get("clip",!0),u=t.coordinateSystem,m=u.getArea&&u.getArea();this._data||i.removeAll(),e.diff(r).add(function(l){if(e.hasValue(l)){var h=e.getItemLayout(l);if(p&&S(m,h))return;var s=v(h,l,!0);c.initProps(s,{shape:{points:h.ends}},t,l),d(s,e,l,n),i.add(s),e.setItemGraphicEl(l,s)}}).update(function(l,h){var s=r.getItemGraphicEl(h);if(!e.hasValue(l)){i.remove(s);return}var f=e.getItemLayout(l);if(p&&S(m,f)){i.remove(s);return}s?(c.updateProps(s,{shape:{points:f.ends}},t,l),w(s)):s=v(f,l),d(s,e,l,n),i.add(s),e.setItemGraphicEl(l,s)}).remove(function(l){var h=r.getItemGraphicEl(l);h&&i.remove(h)}).execute(),this._data=e},a.prototype._renderLarge=function(t){this._clear(),B(t,this.group);var e=t.get("clip",!0)?k(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},a.prototype._incrementalRenderNormal=function(t,e){for(var r=e.getData(),i=r.getLayout("isSimpleBox"),n;(n=t.next())!=null;){var p=r.getItemLayout(n),u=v(p,n);d(u,r,n,i),u.incremental=!0,this.group.add(u),this._progressiveEls.push(u)}},a.prototype._incrementalRenderLarge=function(t,e){B(e,this.group,this._progressiveEls,!0)},a.prototype.remove=function(t){this._clear()},a.prototype._clear=function(){this.group.removeAll(),this._data=null},a.type="candlestick",a}(N),V=function(){function o(){}return o}(),A=function(o){P(a,o);function a(t){var e=o.call(this,t)||this;return e.type="normalCandlestickBox",e}return a.prototype.getDefaultShape=function(){return new V},a.prototype.buildPath=function(t,e){var r=e.points;this.__simpleBox?(t.moveTo(r[4][0],r[4][1]),t.lineTo(r[6][0],r[6][1])):(t.moveTo(r[0][0],r[0][1]),t.lineTo(r[1][0],r[1][1]),t.lineTo(r[2][0],r[2][1]),t.lineTo(r[3][0],r[3][1]),t.closePath(),t.moveTo(r[4][0],r[4][1]),t.lineTo(r[5][0],r[5][1]),t.moveTo(r[6][0],r[6][1]),t.lineTo(r[7][0],r[7][1]))},a}(C);function v(o,a,t){var e=o.ends;return new A({shape:{points:t?z(e,o):e},z2:100})}function S(o,a){for(var t=!0,e=0;e<a.ends.length;e++)if(o.contain(a.ends[e][0],a.ends[e][1])){t=!1;break}return t}function d(o,a,t,e){var r=a.getItemModel(t);o.useStyle(a.getItemVisual(t,"style")),o.style.strokeNoScale=!0,o.__simpleBox=e,T(o,r);var i=a.getItemLayout(t).sign;g.each(o.states,function(p,u){var m=r.getModel(u),l=D(i,m),h=L(i,m)||l,s=p.style||(p.style={});l&&(s.fill=l),h&&(s.stroke=h)});var n=r.getModel("emphasis");E(o,n.get("focus"),n.get("blurScope"),n.get("disabled"))}function z(o,a){return g.map(o,function(t){return t=t.slice(),t[1]=a.initBaseline,t})}var G=function(){function o(){}return o}(),_=function(o){P(a,o);function a(t){var e=o.call(this,t)||this;return e.type="largeCandlestickBox",e}return a.prototype.getDefaultShape=function(){return new G},a.prototype.buildPath=function(t,e){for(var r=e.points,i=0;i<r.length;)if(this.__sign===r[i++]){var n=r[i++];t.moveTo(n,r[i++]),t.lineTo(n,r[i++])}else i+=3},a}(C);function B(o,a,t,e){var r=o.getData(),i=r.getLayout("largePoints"),n=new _({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});a.add(n);var p=new _({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});a.add(p);var u=new _({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});a.add(u),y(1,n,o,r),y(-1,p,o,r),y(0,u,o,r),e&&(n.incremental=!0,p.incremental=!0),t&&t.push(n,p)}function y(o,a,t,e){var r=L(o,t)||D(o,t),i=t.getModel("itemStyle").getItemStyle(b);a.useStyle(i),a.style.fill=null,a.style.stroke=r}var K=R;export{K as default};
|
|
3
|
-
//# sourceMappingURL=CandlestickView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/candlestickLayout */
|
|
2
|
-
import{subPixelOptimize as M}from"../../util/graphic.mjs";import U from"../helper/createRenderPlanner.mjs";import{parsePercent as O}from"../../util/number.mjs";import{map as X,retrieve2 as F}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{createFloat32Array as Y}from"../../util/vendor.mjs";var Z={seriesType:"candlestick",plan:U(),reset:function(v){var h=v.coordinateSystem,e=v.getData(),r=_(v,e),t=0,o=1,c=["x","y"],y=e.getDimensionIndex(e.mapDimension(c[t])),l=X(e.mapDimensionsAll(c[o]),e.getDimensionIndex,e),R=l[0],P=l[1],z=l[2],E=l[3];if(e.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),y<0||l.length<4)return;return{progress:v.pipelineContext.large?G:w};function w(S,b){for(var a,i=b.getStore();(a=S.next())!=null;){var n=i.get(y,a),g=i.get(R,a),N=i.get(P,a),m=i.get(z,a),s=i.get(E,a),k=Math.min(g,N),B=Math.max(g,N),W=I(k,n),D=I(B,n),C=I(m,n),A=I(s,n),T=[];L(T,D,0),L(T,W,1),T.push(j(A),j(D),j(C),j(W));var J=b.getItemModel(a),K=!!J.get(["itemStyle","borderColorDoji"]);b.setItemLayout(a,{sign:q(i,a,g,N,P,K),initBaseline:g>N?D[o]:W[o],ends:T,brushRect:Q(m,s,n)})}function I(u,x){var p=[];return p[t]=x,p[o]=u,isNaN(x)||isNaN(u)?[NaN,NaN]:h.dataToPoint(p)}function L(u,x,p){var d=x.slice(),f=x.slice();d[t]=M(d[t]+r/2,1,!1),f[t]=M(f[t]-r/2,1,!0),p?u.push(d,f):u.push(f,d)}function Q(u,x,p){var d=I(u,p),f=I(x,p);return d[t]-=r/2,f[t]-=r/2,{x:d[0],y:d[1],width:o?r:f[0]-d[0],height:o?f[1]-d[1]:r}}function j(u){return u[t]=M(u[t],1),u}}function G(S,b){for(var a=Y(S.count*4),i=0,n,g=[],N=[],m,s=b.getStore(),k=!!v.get(["itemStyle","borderColorDoji"]);(m=S.next())!=null;){var B=s.get(y,m),W=s.get(R,m),D=s.get(P,m),C=s.get(z,m),A=s.get(E,m);if(isNaN(B)||isNaN(C)||isNaN(A)){a[i++]=NaN,i+=3;continue}a[i++]=q(s,m,W,D,P,k),g[t]=B,g[o]=C,n=h.dataToPoint(g,null,N),a[i++]=n?n[0]:NaN,a[i++]=n?n[1]:NaN,g[o]=A,n=h.dataToPoint(g,null,N),a[i++]=n?n[1]:NaN}b.setLayout("largePoints",a)}}};function q(v,h,e,r,t,o){var c;return e>r?c=-1:e<r?c=1:c=o?0:h>0?v.get(t,h-1)<=r?1:-1:1,c}function _(v,h){var e=v.getBaseAxis(),r,t=e.type==="category"?e.getBandWidth():(r=e.getExtent(),Math.abs(r[1]-r[0])/h.count()),o=O(F(v.get("barMaxWidth"),t),t),c=O(F(v.get("barMinWidth"),1),t),y=v.get("barWidth");return y!=null?O(y,t):Math.max(Math.min(t/2,o),c)}var at=Z;export{at as default};
|
|
3
|
-
//# sourceMappingURL=candlestickLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/candlestickVisual */
|
|
2
|
-
import d from"../helper/createRenderPlanner.mjs";import{extend as p}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var m=["itemStyle","borderColor"],s=["itemStyle","borderColor0"],c=["itemStyle","borderColorDoji"],f=["itemStyle","color"],g=["itemStyle","color0"];function y(e,r){return r.get(e>0?f:g)}function C(e,r){return r.get(e===0?c:e>0?m:s)}var S={seriesType:"candlestick",plan:d(),performRawSeries:!0,reset:function(e,r){if(!r.isSeriesFiltered(e)){var a=e.pipelineContext.large;return!a&&{progress:function(u,i){for(var o;(o=u.next())!=null;){var l=i.getItemModel(o),n=i.getItemLayout(o).sign,t=l.getItemStyle();t.fill=y(n,l),t.stroke=C(n,l)||t.fill;var v=i.ensureUniqueItemVisual(o,"style");p(v,t)}}}}}},Q=S;export{Q as default,C as getBorderColor,y as getColor};
|
|
3
|
-
//# sourceMappingURL=candlestickVisual.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/install */
|
|
2
|
-
import o from"./CandlestickView.mjs";import e from"./CandlestickSeries.mjs";import i from"./preprocessor.mjs";import t from"./candlestickVisual.mjs";import a from"./candlestickLayout.mjs";function n(r){r.registerChartView(o),r.registerSeriesModel(e),r.registerPreprocessor(i),r.registerVisual(t),r.registerLayout(a)}export{n as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/preprocessor */
|
|
2
|
-
import*as r from"/zrender@6.0.0/es2022/lib/core/util.mjs";function c(i){!i||!r.isArray(i.series)||r.each(i.series,function(t){r.isObject(t)&&t.type==="k"&&(t.type="candlestick")})}export{c as default};
|
|
3
|
-
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/chord/ChordEdge */
|
|
2
|
-
import{__extends as A}from"/tslib@2.3.0/es2022/tslib.mjs";import{extend as E,isString as I}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as s from"../../util/graphic.mjs";import{getSectorCornerRadius as M}from"../helper/sectorHelper.mjs";import{saveOldStyle as b}from"../../animation/basicTransition.mjs";import{setStatesStylesFromModel as k,toggleHoverEmphasis as C}from"../../util/states.mjs";import{getECData as P}from"../../util/innerStore.mjs";var z=function(){function a(){this.s1=[0,0],this.s2=[0,0],this.sStartAngle=0,this.sEndAngle=0,this.t1=[0,0],this.t2=[0,0],this.tStartAngle=0,this.tEndAngle=0,this.cx=0,this.cy=0,this.r=0,this.clockwise=!0}return a}();var F=function(a){A(c,a);function c(e,t,r,n){var l=a.call(this)||this;return P(l).dataType="edge",l.updateData(e,t,r,n,!0),l}return c.prototype.buildPath=function(e,t){e.moveTo(t.s1[0],t.s1[1]);var r=.7,n=t.clockwise;e.arc(t.cx,t.cy,t.r,t.sStartAngle,t.sEndAngle,!n),e.bezierCurveTo((t.cx-t.s2[0])*r+t.s2[0],(t.cy-t.s2[1])*r+t.s2[1],(t.cx-t.t1[0])*r+t.t1[0],(t.cy-t.t1[1])*r+t.t1[1],t.t1[0],t.t1[1]),e.arc(t.cx,t.cy,t.r,t.tStartAngle,t.tEndAngle,!n),e.bezierCurveTo((t.cx-t.t2[0])*r+t.t2[0],(t.cy-t.t2[1])*r+t.t2[1],(t.cx-t.s1[0])*r+t.s1[0],(t.cy-t.s1[1])*r+t.s1[1],t.s1[0],t.s1[1]),e.closePath()},c.prototype.updateData=function(e,t,r,n,l){var S=e.hostModel,i=t.graph.getEdgeByIndex(r),g=i.getLayout(),o=i.node1.getModel(),u=t.getItemModel(i.dataIndex),y=u.getModel("lineStyle"),v=u.getModel("emphasis"),m=v.get("focus"),f=E(M(o.getModel("itemStyle"),g,!0),g),d=this;if(isNaN(f.sStartAngle)||isNaN(f.tStartAngle)){d.setShape(f);return}l?(d.setShape(f),x(d,i,e,y)):(b(d),x(d,i,e,y),s.updateProps(d,{shape:f},S,r)),C(this,m==="adjacency"?i.getAdjacentDataIndices():m,v.get("blurScope"),v.get("disabled")),k(d,u,"lineStyle"),t.setItemGraphicEl(i.dataIndex,d)},c}(s.Path);function x(a,c,e,t){var r=c.node1,n=c.node2,l=a.style;a.setStyle(t.getLineStyle());var S=t.get("color");switch(S){case"source":l.fill=e.getItemVisual(r.dataIndex,"style").fill,l.decal=r.getVisual("style").decal;break;case"target":l.fill=e.getItemVisual(n.dataIndex,"style").fill,l.decal=n.getVisual("style").decal;break;case"gradient":var i=e.getItemVisual(r.dataIndex,"style").fill,g=e.getItemVisual(n.dataIndex,"style").fill;if(I(i)&&I(g)){var o=a.shape,u=(o.s1[0]+o.s2[0])/2,y=(o.s1[1]+o.s2[1])/2,v=(o.t1[0]+o.t2[0])/2,m=(o.t1[1]+o.t2[1])/2;l.fill=new s.LinearGradient(u,y,v,m,[{offset:0,color:i},{offset:1,color:g}],!0)}break}}export{F as ChordEdge,z as ChordPathShape};
|
|
3
|
-
//# sourceMappingURL=ChordEdge.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/chord/ChordSeries */
|
|
2
|
-
import{__extends as y}from"/tslib@2.3.0/es2022/tslib.mjs";import b from"../../model/Model.mjs";import D from"../../model/Series.mjs";import M from"../helper/createGraphFromNodeEdge.mjs";import{createTooltipMarkup as v}from"../../component/tooltip/tooltipMarkup.mjs";import S from"../../visual/LegendVisualProvider.mjs";import*as m from"/zrender@6.0.0/es2022/lib/core/util.mjs";var P=function(i){y(a,i);function a(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=a.type,e}return a.prototype.init=function(e){i.prototype.init.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this.legendVisualProvider=new S(m.bind(this.getData,this),m.bind(this.getRawData,this))},a.prototype.mergeOption=function(e){i.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links)},a.prototype.getInitialData=function(e,d){var l=e.edges||e.links||[],o=e.data||e.nodes||[];if(o&&l){var r=M(o,l,this,!0,n);return r.data}function n(p,g){var u=b.prototype.getModel;function c(t,s){var h=u.call(this,t,s);return h.resolveParentPath=f,h}g.wrapMethod("getItemModel",function(t){return t.resolveParentPath=f,t.getModel=c,t});function f(t){if(t&&(t[0]==="label"||t[1]==="label")){var s=t.slice();return t[0]==="label"?s[0]="edgeLabel":t[1]==="label"&&(s[1]="edgeLabel"),s}return t}}},a.prototype.getGraph=function(){return this.getData().graph},a.prototype.getEdgeData=function(){return this.getGraph().edgeData},a.prototype.formatTooltip=function(e,d,l){var o=this.getDataParams(e,l);if(l==="edge"){var r=this.getData(),n=r.graph.getEdgeByIndex(e),p=r.getName(n.node1.dataIndex),g=r.getName(n.node2.dataIndex),u=[];return p!=null&&u.push(p),g!=null&&u.push(g),v("nameValue",{name:u.join(" > "),value:o.value,noValue:o.value==null})}return v("nameValue",{name:o.name,value:o.value,noValue:o.value==null})},a.prototype.getDataParams=function(e,d){var l=i.prototype.getDataParams.call(this,e,d);if(d==="node"){var o=this.getData(),r=this.getGraph().getNodeByIndex(e);if(l.name==null&&(l.name=o.getName(e)),l.value==null){var n=r.getLayout().value;l.value=n}}return l},a.type="series.chord",a.defaultOption={z:2,coordinateSystem:"none",legendHoverLink:!0,colorBy:"data",left:0,top:0,right:0,bottom:0,width:null,height:null,center:["50%","50%"],radius:["70%","80%"],clockwise:!0,startAngle:90,endAngle:"auto",minAngle:0,padAngle:3,itemStyle:{borderRadius:[0,0,5,5]},lineStyle:{width:0,color:"source",opacity:.2},label:{show:!0,position:"outside",distance:5},emphasis:{focus:"adjacency",lineStyle:{opacity:.5}}},a}(D),z=P;export{z as default};
|
|
3
|
-
//# sourceMappingURL=ChordSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/chord/ChordView */
|
|
2
|
-
import{__extends as s}from"/tslib@2.3.0/es2022/tslib.mjs";import*as u from"../../util/graphic.mjs";import y from"../../view/Chart.mjs";import f from"./ChordPiece.mjs";import{ChordEdge as E}from"./ChordEdge.mjs";import{parsePercent as v}from"../../util/number.mjs";import{getECData as l}from"../../util/innerStore.mjs";var C=Math.PI/180,_=function(m){s(p,m);function p(){var t=m!==null&&m.apply(this,arguments)||this;return t.type=p.type,t}return p.prototype.init=function(t,c){},p.prototype.render=function(t,c,h){var e=t.getData(),n=this._data,d=this.group,r=-t.get("startAngle")*C;if(e.diff(n).add(function(a){var g=e.getItemLayout(a);if(g){var o=new f(e,a,r);l(o).dataIndex=a,d.add(o)}}).update(function(a,g){var o=n.getItemGraphicEl(g),D=e.getItemLayout(a);if(!D){o&&u.removeElementWithFadeOut(o,t,g);return}o?o.updateData(e,a,r):o=new f(e,a,r),d.add(o)}).remove(function(a){var g=n.getItemGraphicEl(a);g&&u.removeElementWithFadeOut(g,t,a)}).execute(),!n){var i=t.get("center");this.group.scaleX=.01,this.group.scaleY=.01,this.group.originX=v(i[0],h.getWidth()),this.group.originY=v(i[1],h.getHeight()),u.initProps(this.group,{scaleX:1,scaleY:1},t)}this._data=e,this.renderEdges(t,r)},p.prototype.renderEdges=function(t,c){var h=t.getData(),e=t.getEdgeData(),n=this._edgeData,d=this.group;e.diff(n).add(function(r){var i=new E(h,e,r,c);l(i).dataIndex=r,d.add(i)}).update(function(r,i){var a=n.getItemGraphicEl(i);a.updateData(h,e,r,c),d.add(a)}).remove(function(r){var i=n.getItemGraphicEl(r);i&&u.removeElementWithFadeOut(i,t,r)}).execute(),this._edgeData=e},p.prototype.dispose=function(){},p.type="chord",p}(y),V=_;export{V as default};
|
|
3
|
-
//# sourceMappingURL=ChordView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/chord/install */
|
|
2
|
-
import r from"./ChordView.mjs";import t from"./ChordSeries.mjs";import e from"./chordLayout.mjs";import i from"../../processor/dataFilter.mjs";function h(o){o.registerChartView(r),o.registerSeriesModel(t),o.registerLayout(o.PRIORITY.VISUAL.POST_CHART_LAYOUT,e),o.registerProcessor(i("chord"))}export{h as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/custom/CustomView */
|
|
2
|
-
import{__extends as Se}from"/tslib@2.3.0/es2022/tslib.mjs";import{hasOwn as b,isString as be,retrieve2 as De,retrieve3 as Pe,defaults as V,each as Ee,indexOf as _e,map as Le}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as y from"../../util/graphic.mjs";import{setDefaultStateProxy as we,toggleHoverEmphasis as Ae}from"../../util/states.mjs";import*as L from"../../label/labelStyle.mjs";import{getDefaultLabel as re}from"../helper/labelHelper.mjs";import{getLayoutOnAxis as Te}from"../../layout/barGrid.mjs";import Ne from"../../data/DataDiffer.mjs";import Me from"../../view/Chart.mjs";import{createClipPath as Ue}from"../helper/createClipPathFromCoordSys.mjs";import Fe from"../../coord/cartesian/prepareCustom.mjs";import Ve from"../../coord/geo/prepareCustom.mjs";import Re from"../../coord/single/prepareCustom.mjs";import ze from"../../coord/polar/prepareCustom.mjs";import Ge from"../../coord/calendar/prepareCustom.mjs";import He from"../../coord/matrix/prepareCustom.mjs";import Ze from"/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs";import{convertToEC4StyleForCustomSerise as te,isEC4CompatibleStyle as xe,convertFromEC4CompatibleStyle as ke}from"../../util/styleCompat.mjs";import{throwError as R}from"../../util/log.mjs";import{createOrUpdatePatternFromDecal as Oe}from"../../util/decal.mjs";import{STYLE_VISUAL_TYPE as ne,NON_STYLE_VISUAL_PROPS as Be,customInnerStore as _}from"./CustomSeries.mjs";import{applyLeaveTransition as k,applyUpdateTransition as Ye}from"../../animation/customGraphicTransition.mjs";import{applyKeyframeAnimation as Ke,stopPreviousKeyframeAnimationAndRestore as We}from"../../animation/customGraphicKeyframeAnimation.mjs";import{getCustomSeries as qe}from"./customSeriesRegister.mjs";import Xe from"../../visual/tokens.mjs";var D="emphasis",E="normal",O="blur",B="select",w=[E,D,O,B],z={normal:["itemStyle"],emphasis:[D,"itemStyle"],blur:[O,"itemStyle"],select:[B,"itemStyle"]},G={normal:["label"],emphasis:[D,"label"],blur:[O,"label"],select:[B,"label"]},$e=["x","y"],Je="e\0\0",C={normal:{},emphasis:{},blur:{},select:{}},Qe={cartesian2d:Fe,geo:Ve,single:Re,polar:ze,calendar:Ge,matrix:He};function Z(r){return r instanceof y.Path}function x(r){return r instanceof Ze}function je(r,e){e.copyTransform(r),x(e)&&x(r)&&(e.setStyle(r.style),e.z=r.z,e.z2=r.z2,e.zlevel=r.zlevel,e.invisible=r.invisible,e.ignore=r.ignore,Z(e)&&Z(r)&&e.setShape(r.shape))}var Ie=function(r){Se(e,r);function e(){var n=r!==null&&r.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,t,l,a){this._progressiveEls=null;var i=this._data,p=n.getData(),c=this.group,s=ie(n,p,t,l);i||c.removeAll(),p.diff(i).add(function(v){H(l,null,v,s(v,a),n,c,p)}).remove(function(v){var m=i.getItemGraphicEl(v);m&&k(m,_(m).option,n)}).update(function(v,m){var h=i.getItemGraphicEl(m);H(l,h,v,s(v,a),n,c,p)}).execute();var u=n.get("clip",!0)?Ue(n.coordinateSystem,!1,n):null;u?c.setClipPath(u):c.removeClipPath(),this._data=p},e.prototype.incrementalPrepareRender=function(n,t,l){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(n,t,l,a,i){var p=t.getData(),c=ie(t,p,l,a),s=this._progressiveEls=[];function u(h){h.isGroup||(h.incremental=!0,h.ensureState("emphasis").hoverLayer=!0)}for(var v=n.start;v<n.end;v++){var m=H(null,null,v,c(v,i),t,this.group,p);m&&(m.traverse(u),s.push(m))}},e.prototype.eachRendered=function(n){y.traverseElements(this._progressiveEls||this.group,n)},e.prototype.filterForExposedEvent=function(n,t,l,a){var i=t.element;if(i==null||l.name===i)return!0;for(;(l=l.__hostTarget||l.parent)&&l!==this.group;)if(l.name===i)return!0;return!1},e.type="custom",e}(Me),Rr=Ie;function Y(r){var e=r.type,n;if(e==="path"){var t=r.shape,l=t.width!=null&&t.height!=null?{x:t.x||0,y:t.y||0,width:t.width,height:t.height}:null,a=pe(t);n=y.makePath(a,null,l,t.layout||"center"),_(n).customPathData=a}else if(e==="image")n=new y.Image({}),_(n).customImagePath=r.style.image;else if(e==="text")n=new y.Text({});else if(e==="group")n=new y.Group;else if(e==="compoundPath"){var t=r.shape;if(!t||!t.paths){var i="";R(i)}var p=Le(t.paths,function(u){if(u.type==="path")return y.makePath(u.shape.pathData,u,null);var v=y.getShapeClass(u.type);if(!v){var m="";R(m)}return new v});n=new y.CompoundPath({shape:{paths:p}})}else{var c=y.getShapeClass(e);if(!c){var i="";R(i)}n=new c}return _(n).customGraphicType=e,n.name=r.name,n.z2EmphasisLift=1,n.z2SelectLift=1,n}function K(r,e,n,t,l,a,i){We(e);var p=l&&l.normal.cfg;p&&e.setTextConfig(p),t&&t.transition==null&&(t.transition=$e);var c=t&&t.style;if(c){if(e.type==="text"){var s=c;b(s,"textFill")&&(s.fill=s.textFill),b(s,"textStroke")&&(s.stroke=s.textStroke)}var u=void 0,v=Z(e)?c.decal:null;r&&v&&(v.dirty=!0,u=Oe(v,r)),c.__decalPattern=u}if(x(e)&&c){var u=c.__decalPattern;u&&(c.decal=u)}Ye(e,t,a,{dataIndex:n,isInit:i,clearStyle:!0}),Ke(e,t.keyframeAnimation,a)}function ue(r,e,n,t,l){var a=e.isGroup?null:e,i=l&&l[r].cfg;if(a){var p=a.ensureState(r);if(t===!1){var c=a.getState(r);c&&(c.style=null)}else p.style=t||null;i&&(p.textConfig=i),we(a)}}function er(r,e,n){if(!r.isGroup){var t=r,l=n.currentZ,a=n.currentZLevel;t.z=l,t.zlevel=a;var i=e.z2;i!=null&&(t.z2=i||0);for(var p=0;p<w.length;p++)rr(t,e,w[p])}}function rr(r,e,n){var t=n===E,l=t?e:M(e,n),a=l?l.z2:null,i;a!=null&&(i=t?r:r.ensureState(n),i.z2=a||0)}function ie(r,e,n,t){var l=r.get("renderItem");if(typeof l=="string"){var a=qe(l);a&&(l=a)}var i=r.coordinateSystem,p={};i&&(p=i.prepareCustoms?i.prepareCustoms(i):Qe[i.type](i));for(var c=V({getWidth:t.getWidth,getHeight:t.getHeight,getZr:t.getZr,getDevicePixelRatio:t.getDevicePixelRatio,value:se,style:ve,ordinalRawValue:ce,styleEmphasis:me,visual:ge,barLayout:he,currentSeriesIndices:ye,font:de},p.api||{}),s={context:{},seriesId:r.id,seriesName:r.name,seriesIndex:r.seriesIndex,coordSys:p.coordSys,dataInsideLength:e.count(),encode:tr(r.getData()),itemPayload:r.get("itemPayload")||{}},u,v,m={},h={},A={},X={},U=0;U<w.length;U++){var T=w[U];A[T]=r.getModel(z[T]),X[T]=r.getModel(G[T])}function N(f){return f===u?v||(v=e.getItemModel(f)):e.getItemModel(f)}function $(f,o){return e.hasItemOption?f===u?m[o]||(m[o]=N(f).getModel(z[o])):N(f).getModel(z[o]):A[o]}function J(f,o){return e.hasItemOption?f===u?h[o]||(h[o]=N(f).getModel(G[o])):N(f).getModel(G[o]):X[o]}return function(f,o){return u=f,v=null,m={},h={},l&&l(V({dataIndexInside:f,dataIndex:e.getRawIndex(f),actionType:o?o.type:null},s),c)};function se(f,o){return o==null&&(o=u),e.getStore().get(e.getDimensionIndex(f||0),o)}function ce(f,o){o==null&&(o=u),f=f||0;var g=e.getDimensionInfo(f);if(!g){var S=e.getDimensionIndex(f);return S>=0?e.getStore().get(S,o):void 0}var P=e.get(g.name,o),d=g&&g.ordinalMeta;return d?d.categories[P]:P}function ve(f,o){o==null&&(o=u);var g=e.getItemVisual(o,"style"),S=g&&g.fill,P=g&&g.opacity,d=$(o,E).getItemStyle();S!=null&&(d.fill=S),P!=null&&(d.opacity=P);var I={inheritColor:be(S)?S:Xe.color.neutral99},F=J(o,E),ee=L.createTextStyle(F,null,I,!1,!0);ee.text=F.getShallow("show")?De(r.getFormattedLabel(o,E),re(e,o)):null;var Ce=L.createTextConfig(F,I,!1);return j(f,d),d=te(d,ee,Ce),f&&Q(d,f),d.legacy=!0,d}function me(f,o){o==null&&(o=u);var g=$(o,D).getItemStyle(),S=J(o,D),P=L.createTextStyle(S,null,null,!0,!0);P.text=S.getShallow("show")?Pe(r.getFormattedLabel(o,D),r.getFormattedLabel(o,E),re(e,o)):null;var d=L.createTextConfig(S,null,!0);return j(f,g),g=te(g,P,d),f&&Q(g,f),g.legacy=!0,g}function Q(f,o){for(var g in o)b(o,g)&&(f[g]=o[g])}function j(f,o){f&&(f.textFill&&(o.textFill=f.textFill),f.textPosition&&(o.textPosition=f.textPosition))}function ge(f,o){if(o==null&&(o=u),b(ne,f)){var g=e.getItemVisual(o,"style");return g?g[ne[f]]:null}if(b(Be,f))return e.getItemVisual(o,f)}function he(f){if(i.type==="cartesian2d"){var o=i.getBaseAxis();return Te(V({axis:o},f))}}function ye(){return n.getCurrentSeriesIndices()}function de(f){return L.getFont(f,n)}}function tr(r){var e={};return Ee(r.dimensions,function(n){var t=r.getDimensionInfo(n);if(!t.isExtraCoord){var l=t.coordDim,a=e[l]=e[l]||[];a[t.coordDimIndex]=r.getDimensionIndex(n)}}),e}function H(r,e,n,t,l,a,i){if(!t){a.remove(e);return}var p=W(r,e,n,t,l,a);return p&&i.setItemGraphicEl(n,p),p&&Ae(p,t.focus,t.blurScope,t.emphasisDisabled),p}function W(r,e,n,t,l,a){var i=-1,p=e;e&&fe(e,t,l)&&(i=_e(a.childrenRef(),e),e=null);var c=!e,s=e;s?s.clearStates():(s=Y(t),p&&je(p,s)),t.morph===!1?s.disableMorphing=!0:s.disableMorphing&&(s.disableMorphing=!1),t.tooltipDisabled&&(s.tooltipDisabled=!0),C.normal.cfg=C.normal.conOpt=C.emphasis.cfg=C.emphasis.conOpt=C.blur.cfg=C.blur.conOpt=C.select.cfg=C.select.conOpt=null,C.isLegacy=!1,ir(s,n,t,l,c,C),nr(s,n,t,l,c),K(r,s,n,t,C,l,c),b(t,"info")&&(_(s).info=t.info);for(var u=0;u<w.length;u++){var v=w[u];if(v!==E){var m=M(t,v),h=q(t,m,v);ue(v,s,m,h,C)}}return er(s,t,l),t.type==="group"&&lr(r,s,n,t,l),i>=0?a.replaceAt(s,i):a.add(s),s}function fe(r,e,n){var t=_(r),l=e.type,a=e.shape,i=e.style;return n.isUniversalTransitionEnabled()||l!=null&&l!==t.customGraphicType||l==="path"&&fr(a)&&pe(a)!==t.customPathData||l==="image"&&b(i,"image")&&i.image!==t.customImagePath}function nr(r,e,n,t,l){var a=n.clipPath;if(a===!1)r&&r.getClipPath()&&r.removeClipPath();else if(a){var i=r.getClipPath();i&&fe(i,a,t)&&(i=null),i||(i=Y(a),r.setClipPath(i)),K(null,i,e,a,null,t,l)}}function ir(r,e,n,t,l,a){if(!(r.isGroup||r.type==="compoundPath")){le(n,null,a),le(n,D,a);var i=a.normal.conOpt,p=a.emphasis.conOpt,c=a.blur.conOpt,s=a.select.conOpt;if(i!=null||p!=null||s!=null||c!=null){var u=r.getTextContent();if(i===!1)u&&r.removeTextContent();else{i=a.normal.conOpt=i||{type:"text"},u?u.clearStates():(u=Y(i),r.setTextContent(u)),K(null,u,e,i,null,t,l);for(var v=i&&i.style,m=0;m<w.length;m++){var h=w[m];if(h!==E){var A=a[h].conOpt;ue(h,u,A,q(i,A,h),null)}}v?u.dirty():u.markRedraw()}}}}function le(r,e,n){var t=e?M(r,e):r,l=e?q(r,t,D):r.style,a=r.type,i=t?t.textConfig:null,p=r.textContent,c=p?e?M(p,e):p:null;if(l&&(n.isLegacy||xe(l,a,!!i,!!c))){n.isLegacy=!0;var s=ke(l,a,!e);!i&&s.textConfig&&(i=s.textConfig),!c&&s.textContent&&(c=s.textContent)}if(!e&&c){var u=c;!u.type&&(u.type="text")}var v=e?n[e]:n.normal;v.cfg=i,v.conOpt=c}function M(r,e){return e?r?r[e]:null:r}function q(r,e,n){var t=e&&e.style;return t==null&&n===D&&r&&(t=r.styleEmphasis),t}function lr(r,e,n,t,l){var a=t.children,i=a?a.length:0,p=t.$mergeChildren,c=p==="byName"||t.diffChildrenByName,s=p===!1;if(!(!i&&!c&&!s)){if(c){or({api:r,oldChildren:e.children()||[],newChildren:a||[],dataIndex:n,seriesModel:l,group:e});return}s&&e.removeAll();for(var u=0;u<i;u++){var v=a[u],m=e.childAt(u);v?(v.ignore==null&&(v.ignore=!1),W(r,m,n,v,l,e)):m.ignore=!0}for(var h=e.childCount()-1;h>=u;h--){var A=e.childAt(h);ar(e,A,l)}}}function ar(r,e,n){e&&k(e,_(r).option,n)}function or(r){new Ne(r.oldChildren,r.newChildren,ae,ae,r).add(oe).update(oe).remove(ur).execute()}function ae(r,e){var n=r&&r.name;return n??Je+e}function oe(r,e){var n=this.context,t=r!=null?n.newChildren[r]:null,l=e!=null?n.oldChildren[e]:null;W(n.api,l,n.dataIndex,t,n.seriesModel,n.group)}function ur(r){var e=this.context,n=e.oldChildren[r];n&&k(n,_(n).option,e.seriesModel)}function pe(r){return r&&(r.pathData||r.d)}function fr(r){return r&&(b(r,"pathData")||b(r,"d"))}export{Rr as default};
|
|
3
|
-
//# sourceMappingURL=CustomView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/effectScatter/EffectScatterSeries */
|
|
2
|
-
import{__extends as n}from"/tslib@2.3.0/es2022/tslib.mjs";import a from"../helper/createSeriesData.mjs";import l from"../../model/Series.mjs";var p=function(r){n(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t,i){return a(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,i,o){return o.point(i.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(l),u=p;export{u as default};
|
|
3
|
-
//# sourceMappingURL=EffectScatterSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/effectScatter/EffectScatterView */
|
|
2
|
-
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import f from"../helper/SymbolDraw.mjs";import s from"../helper/EffectSymbol.mjs";import*as n from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import c from"../../layout/points.mjs";import u from"../../view/Chart.mjs";var y=function(i){m(o,i);function o(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=o.type,t}return o.prototype.init=function(){this._symbolDraw=new f(s)},o.prototype.render=function(t,r,p){var e=t.getData(),a=this._symbolDraw;a.updateData(e,{clipShape:this._getClipShape(t)}),this.group.add(a.group)},o.prototype._getClipShape=function(t){var r=t.coordinateSystem,p=r&&r.getArea&&r.getArea();return t.get("clip",!0)?p:null},o.prototype.updateTransform=function(t,r,p){var e=t.getData();this.group.dirty();var a=c("").reset(t,r,p);a.progress&&a.progress({start:0,end:e.count(),count:e.count()},e),this._symbolDraw.updateLayout()},o.prototype._updateGroupTransform=function(t){var r=t.coordinateSystem;r&&r.getRoamTransform&&(this.group.transform=n.clone(r.getRoamTransform()),this.group.decomposeTransform())},o.prototype.remove=function(t,r){this._symbolDraw&&this._symbolDraw.remove(!0)},o.type="effectScatter",o}(u),v=y;export{v as default};
|
|
3
|
-
//# sourceMappingURL=EffectScatterView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/effectScatter/install */
|
|
2
|
-
import e from"./EffectScatterView.mjs";import r from"./EffectScatterSeries.mjs";import o from"../../layout/points.mjs";function c(t){t.registerChartView(e),t.registerSeriesModel(r),t.registerLayout(o("effectScatter"))}export{c as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/funnel/FunnelSeries */
|
|
2
|
-
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import*as a from"/zrender@6.0.0/es2022/lib/core/util.mjs";import p from"../helper/createSeriesDataSimply.mjs";import{defaultEmphasis as h}from"../../util/model.mjs";import{makeSeriesEncodeForNameBased as u}from"../../data/helper/sourceHelper.mjs";import d from"../../visual/LegendVisualProvider.mjs";import c from"../../model/Series.mjs";import s from"../../visual/tokens.mjs";var f=function(o){m(t,o);function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){o.prototype.init.apply(this,arguments),this.legendVisualProvider=new d(a.bind(this.getData,this),a.bind(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,r){return p(this,{coordDimensions:["value"],encodeDefaulter:a.curry(u,this)})},t.prototype._defaultLabelLine=function(e){h(e,"labelLine",["show"]);var r=e.labelLine,i=e.emphasis.labelLine;r.show=r.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var r=this.getData(),i=o.prototype.getDataParams.call(this,e),l=r.mapDimension("value"),n=r.getSum(l);return i.percent=n?+(r.get(l,e)/n*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={coordinateSystemUsage:"box",z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:65,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:s.color.neutral00,borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:s.color.primary}}},t}(c),D=f;export{D as default};
|
|
3
|
-
//# sourceMappingURL=FunnelSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/funnel/FunnelView */
|
|
2
|
-
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"../../util/graphic.mjs";import{setStatesStylesFromModel as b,toggleHoverEmphasis as L}from"../../util/states.mjs";import M from"../../view/Chart.mjs";import{setLabelLineStyle as S,getLabelLineStatesModels as P}from"../../label/labelGuideHelper.mjs";import{setLabelStyle as I,getLabelStatesModels as F}from"../../label/labelStyle.mjs";import{saveOldStyle as T}from"../../animation/basicTransition.mjs";var C=["itemStyle","opacity"],G=function(c){m(n,c);function n(e,a){var r=c.call(this)||this,t=r,s=new i.Polyline,u=new i.Text;return t.setTextContent(u),r.setTextGuideLine(s),r.updateData(e,a,!0),r}return n.prototype.updateData=function(e,a,r){var t=this,s=e.hostModel,u=e.getItemModel(a),l=e.getItemLayout(a),p=u.getModel("emphasis"),o=u.get(C);o=o??1,r||T(t),t.useStyle(e.getItemVisual(a,"style")),t.style.lineJoin="round",r?(t.setShape({points:l.points}),t.style.opacity=0,i.initProps(t,{style:{opacity:o}},s,a)):i.updateProps(t,{style:{opacity:o},shape:{points:l.points}},s,a),b(t,u),this._updateLabel(e,a),L(this,p.get("focus"),p.get("blurScope"),p.get("disabled"))},n.prototype._updateLabel=function(e,a){var r=this,t=this.getTextGuideLine(),s=r.getTextContent(),u=e.hostModel,l=e.getItemModel(a),p=e.getItemLayout(a),o=p.label,h=e.getItemVisual(a,"style"),y=h.fill;I(s,F(l),{labelFetcher:e.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:e.getName(a)},{normal:{align:o.textAlign,verticalAlign:o.verticalAlign}});var d=l.getModel("label"),f=d.get("color"),v=f==="inherit"?y:null;r.setTextConfig({local:!0,inside:!!o.inside,insideStroke:v,outsideFill:v});var g=o.linePoints;t.setShape({points:g}),r.textGuideLineConfig={anchor:g?new i.Point(g[0][0],g[0][1]):null},i.updateProps(s,{style:{x:o.x,y:o.y}},u,a),s.attr({rotation:o.rotation,originX:o.x,originY:o.y,z2:10}),S(r,P(l),{stroke:y})},n}(i.Polygon),w=function(c){m(n,c);function n(){var e=c!==null&&c.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return n.prototype.render=function(e,a,r){var t=e.getData(),s=this._data,u=this.group;t.diff(s).add(function(l){var p=new G(t,l);t.setItemGraphicEl(l,p),u.add(p)}).update(function(l,p){var o=s.getItemGraphicEl(p);o.updateData(t,l),u.add(o),t.setItemGraphicEl(l,o)}).remove(function(l){var p=s.getItemGraphicEl(l);i.removeElementWithFadeOut(p,e,l)}).execute(),this._data=t},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(M),O=w;export{O as default};
|
|
3
|
-
//# sourceMappingURL=FunnelView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/funnel/funnelLayout */
|
|
2
|
-
import*as F from"../../util/layout.mjs";import{parsePercent as A,linearMap as Y}from"../../util/number.mjs";import{isFunction as G}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function J(m,h){for(var e=m.mapDimension("value"),f=m.mapArray(e,function(u){return u}),g=[],z=h==="ascending",a=0,d=m.count();a<d;a++)g[a]=a;return G(h)?g.sort(h):h!=="none"&&g.sort(function(u,t){return z?f[u]-f[t]:f[t]-f[u]}),g}function K(m){var h=m.hostModel,e=h.get("orient");m.each(function(f){var g=m.getItemModel(f),z=g.getModel("label"),a=z.get("position"),d=g.getModel("labelLine"),u=m.getItemLayout(f),t=u.points,p=a==="inner"||a==="inside"||a==="center"||a==="insideLeft"||a==="insideRight",r,i,n,S;if(p)a==="insideLeft"?(i=(t[0][0]+t[3][0])/2+5,n=(t[0][1]+t[3][1])/2,r="left"):a==="insideRight"?(i=(t[1][0]+t[2][0])/2-5,n=(t[1][1]+t[2][1])/2,r="right"):(i=(t[0][0]+t[1][0]+t[2][0]+t[3][0])/4,n=(t[0][1]+t[1][1]+t[2][1]+t[3][1])/4,r="center"),S=[[i,n],[i,n]];else{var v=void 0,o=void 0,l=void 0,s=void 0,c=d.get("length");a==="left"?(v=(t[3][0]+t[0][0])/2,o=(t[3][1]+t[0][1])/2,l=v-c,i=l-5,r="right"):a==="right"?(v=(t[1][0]+t[2][0])/2,o=(t[1][1]+t[2][1])/2,l=v+c,i=l+5,r="left"):a==="top"?(v=(t[3][0]+t[0][0])/2,o=(t[3][1]+t[0][1])/2,s=o-c,n=s-5,r="center"):a==="bottom"?(v=(t[1][0]+t[2][0])/2,o=(t[1][1]+t[2][1])/2,s=o+c,n=s+5,r="center"):a==="rightTop"?(v=e==="horizontal"?t[3][0]:t[1][0],o=e==="horizontal"?t[3][1]:t[1][1],e==="horizontal"?(s=o-c,n=s-5,r="center"):(l=v+c,i=l+5,r="top")):a==="rightBottom"?(v=t[2][0],o=t[2][1],e==="horizontal"?(s=o+c,n=s+5,r="center"):(l=v+c,i=l+5,r="bottom")):a==="leftTop"?(v=t[0][0],o=e==="horizontal"?t[0][1]:t[1][1],e==="horizontal"?(s=o-c,n=s-5,r="center"):(l=v-c,i=l-5,r="right")):a==="leftBottom"?(v=e==="horizontal"?t[1][0]:t[3][0],o=e==="horizontal"?t[1][1]:t[2][1],e==="horizontal"?(s=o+c,n=s+5,r="center"):(l=v-c,i=l-5,r="right")):(v=(t[1][0]+t[2][0])/2,o=(t[1][1]+t[2][1])/2,e==="horizontal"?(s=o+c,n=s+5,r="center"):(l=v+c,i=l+5,r="left")),e==="horizontal"?(l=v,i=l):(s=o,n=s),S=[[v,o],[l,s]]}u.label={linePoints:S,x:i,y:n,verticalAlign:"middle",textAlign:r,inside:p}})}function Q(m,h){m.eachSeriesByType("funnel",function(e){var f=e.getData(),g=f.mapDimension("value"),z=e.get("sort"),a=F.createBoxLayoutReference(e,h),d=F.getLayoutRect(e.getBoxLayoutParams(),a.refContainer),u=e.get("orient"),t=d.width,p=d.height,r=J(f,z),i=d.x,n=d.y,S=u==="horizontal"?[A(e.get("minSize"),p),A(e.get("maxSize"),p)]:[A(e.get("minSize"),t),A(e.get("maxSize"),t)],v=f.getDataExtent(g),o=e.get("min"),l=e.get("max");o==null&&(o=Math.min(v[0],0)),l==null&&(l=v[1]);var s=e.get("funnelAlign"),c=e.get("gap"),_=u==="horizontal"?t:p,R=(_-c*(f.count()-1))/f.count(),B=function(X,w){if(u==="horizontal"){var j=f.get(g,X)||0,N=Y(j,[o,l],S,!0),k=void 0;switch(s){case"top":k=n;break;case"center":k=n+(p-N)/2;break;case"bottom":k=n+(p-N);break}return[[w,k],[w,k+N]]}var q=f.get(g,X)||0,W=Y(q,[o,l],S,!0),I;switch(s){case"left":I=i;break;case"center":I=i+(t-W)/2;break;case"right":I=i+t-W;break}return[[I,w],[I+W,w]]};z==="ascending"&&(R=-R,c=-c,u==="horizontal"?i+=t:n+=p,r=r.reverse());for(var E=0;E<r.length;E++){var D=r[E],C=r[E+1],V=f.getItemModel(D);if(u==="horizontal"){var P=V.get(["itemStyle","width"]);P==null?P=R:(P=A(P,t),z==="ascending"&&(P=-P));var O=B(D,i),T=B(C,i+P);i+=P+c,f.setItemLayout(D,{points:O.concat(T.slice().reverse())})}else{var b=V.get(["itemStyle","height"]);b==null?b=R:(b=A(b,p),z==="ascending"&&(b=-b));var O=B(D,n),T=B(C,n+b);n+=b+c,f.setItemLayout(D,{points:O.concat(T.slice().reverse())})}}K(f)})}export{Q as default};
|
|
3
|
-
//# sourceMappingURL=funnelLayout.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/funnel/install */
|
|
2
|
-
import r from"./FunnelView.mjs";import o from"./FunnelSeries.mjs";import t from"./funnelLayout.mjs";import i from"../../processor/dataFilter.mjs";function u(e){e.registerChartView(r),e.registerSeriesModel(o),e.registerLayout(t),e.registerProcessor(i("funnel"))}export{u as install};
|
|
3
|
-
//# sourceMappingURL=install.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/gauge/GaugeSeries */
|
|
2
|
-
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import i from"../helper/createSeriesDataSimply.mjs";import n from"../../model/Series.mjs";import e from"../../visual/tokens.mjs";var a=function(r){l(o,r);function o(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=o.type,t.visualStyleAccessPath="itemStyle",t}return o.prototype.getInitialData=function(t,s){return i(this,["value"])},o.type="series.gauge",o.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,e.color.neutral10]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:e.color.axisTick,width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:e.color.axisTickMinor,width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:e.color.axisLabel,fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:e.color.neutral00,borderWidth:0,borderColor:e.color.theme[0]}},title:{show:!0,offsetCenter:[0,"20%"],color:e.color.secondary,fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:e.color.transparent,borderWidth:0,borderColor:e.color.neutral40,width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:e.color.primary,fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},o}(n),p=a;export{p as default};
|
|
3
|
-
//# sourceMappingURL=GaugeSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/gauge/GaugeView */
|
|
2
|
-
import{__extends as I}from"/tslib@2.3.0/es2022/tslib.mjs";import tt from"./PointerPath.mjs";import*as y from"../../util/graphic.mjs";import{setStatesStylesFromModel as Q,toggleHoverEmphasis as U}from"../../util/states.mjs";import{createTextStyle as q,setLabelValueAnimation as et,animateLabelValue as at}from"../../label/labelStyle.mjs";import rt from"../../view/Chart.mjs";import{parsePercent as x,round as it,linearMap as R}from"../../util/number.mjs";import $ from"../../util/shape/sausage.mjs";import{createSymbol as F}from"../../util/symbol.mjs";import nt from"/zrender@6.0.0/es2022/lib/graphic/Image.mjs";import{extend as lt,isFunction as gt,isString as vt,isNumber as ht,each as ct}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{setCommonECData as j}from"../../util/innerStore.mjs";import{normalizeArcAngles as ut}from"/zrender@6.0.0/es2022/lib/core/PathProxy.mjs";function ot(W,m){var t=W.get("center"),_=m.getWidth(),f=m.getHeight(),u=Math.min(_,f),a=x(t[0],m.getWidth()),S=x(t[1],m.getHeight()),s=x(W.get("radius"),u/2);return{cx:a,cy:S,r:s}}function B(W,m){var t=W==null?"":W+"";return m&&(vt(m)?t=m.replace("{value}",t):gt(m)&&(t=m(W))),t}var mt=function(W){I(m,W);function m(){var t=W!==null&&W.apply(this,arguments)||this;return t.type=m.type,t}return m.prototype.render=function(t,_,f){this.group.removeAll();var u=t.get(["axisLine","lineStyle","color"]),a=ot(t,f);this._renderMain(t,_,f,u,a),this._data=t.getData()},m.prototype.dispose=function(){},m.prototype._renderMain=function(t,_,f,u,a){var S=this.group,s=t.get("clockwise"),V=-t.get("startAngle")/180*Math.PI,d=-t.get("endAngle")/180*Math.PI,D=t.getModel("axisLine"),C=D.get("roundCap"),L=C?$:y.Sector,c=D.get("show"),H=D.getModel("lineStyle"),k=H.get("width"),v=[V,d];ut(v,!s),V=v[0],d=v[1];for(var r=d-V,w=V,P=[],N=0;c&&N<u.length;N++){var E=Math.min(Math.max(u[N][0],0),1);d=V+r*E;var b=new L({shape:{startAngle:w,endAngle:d,cx:a.cx,cy:a.cy,clockwise:s,r0:a.r-k,r:a.r},silent:!0});b.setStyle({fill:u[N][1]}),b.setStyle(H.getLineStyle(["color","width"])),P.push(b),w=d}P.reverse(),ct(P,function(T){return S.add(T)});var M=function(T){if(T<=0)return u[0][1];var e;for(e=0;e<u.length;e++)if(u[e][0]>=T&&(e===0?0:u[e-1][0])<T)return u[e][1];return u[e-1][1]};this._renderTicks(t,_,f,M,a,V,d,s,k),this._renderTitleAndDetail(t,_,f,M,a),this._renderAnchor(t,a),this._renderPointer(t,_,f,M,a,V,d,s,k)},m.prototype._renderTicks=function(t,_,f,u,a,S,s,V,d){for(var D=this.group,C=a.cx,L=a.cy,c=a.r,H=+t.get("min"),k=+t.get("max"),v=t.getModel("splitLine"),r=t.getModel("axisTick"),w=t.getModel("axisLabel"),P=t.get("splitNumber"),N=r.get("splitNumber"),E=x(v.get("length"),c),b=x(r.get("length"),c),M=S,T=(s-S)/P,e=T/N,h=v.getModel("lineStyle").getLineStyle(),p=r.getModel("lineStyle").getLineStyle(),o=v.get("distance"),n,l,i=0;i<=P;i++){if(n=Math.cos(M),l=Math.sin(M),v.get("show")){var g=o?o+d:d,A=new y.Line({shape:{x1:n*(c-g)+C,y1:l*(c-g)+L,x2:n*(c-E-g)+C,y2:l*(c-E-g)+L},style:h,silent:!0});h.stroke==="auto"&&A.setStyle({stroke:u(i/P)}),D.add(A)}if(w.get("show")){var g=w.get("distance")+o,G=B(it(i/P*(k-H)+H),w.get("formatter")),z=u(i/P),O=n*(c-E-g)+C,Z=l*(c-E-g)+L,Y=w.get("rotate"),K=0;Y==="radial"?(K=-M+2*Math.PI,K>Math.PI/2&&(K+=Math.PI)):Y==="tangential"?K=-M-Math.PI/2:ht(Y)&&(K=Y*Math.PI/180),K===0?D.add(new y.Text({style:q(w,{text:G,x:O,y:Z,verticalAlign:l<-.8?"top":l>.8?"bottom":"middle",align:n<-.4?"left":n>.4?"right":"center"},{inheritColor:z}),silent:!0})):D.add(new y.Text({style:q(w,{text:G,x:O,y:Z,verticalAlign:"middle",align:"center"},{inheritColor:z}),silent:!0,originX:O,originY:Z,rotation:K}))}if(r.get("show")&&i!==P){var g=r.get("distance");g=g?g+d:d;for(var X=0;X<=N;X++){n=Math.cos(M),l=Math.sin(M);var J=new y.Line({shape:{x1:n*(c-g)+C,y1:l*(c-g)+L,x2:n*(c-b-g)+C,y2:l*(c-b-g)+L},silent:!0,style:p});p.stroke==="auto"&&J.setStyle({stroke:u((i+X/N)/P)}),D.add(J),M+=e}M-=e}else M+=T}},m.prototype._renderPointer=function(t,_,f,u,a,S,s,V,d){var D=this.group,C=this._data,L=this._progressEls,c=[],H=t.get(["pointer","show"]),k=t.getModel("progress"),v=k.get("show"),r=t.getData(),w=r.mapDimension("value"),P=+t.get("min"),N=+t.get("max"),E=[P,N],b=[S,s];function M(e,h){var p=r.getItemModel(e),o=p.getModel("pointer"),n=x(o.get("width"),a.r),l=x(o.get("length"),a.r),i=t.get(["pointer","icon"]),g=o.get("offsetCenter"),A=x(g[0],a.r),G=x(g[1],a.r),z=o.get("keepAspect"),O;return i?O=F(i,A-n/2,G-l,n,l,null,z):O=new tt({shape:{angle:-Math.PI/2,width:n,r:l,x:A,y:G}}),O.rotation=-(h+Math.PI/2),O.x=a.cx,O.y=a.cy,O}function T(e,h){var p=k.get("roundCap"),o=p?$:y.Sector,n=k.get("overlap"),l=n?k.get("width"):d/r.count(),i=n?a.r-l:a.r-(e+1)*l,g=n?a.r:a.r-e*l,A=new o({shape:{startAngle:S,endAngle:h,cx:a.cx,cy:a.cy,clockwise:V,r0:i,r:g}});return n&&(A.z2=R(r.get(w,e),[P,N],[100,0],!0)),A}(v||H)&&(r.diff(C).add(function(e){var h=r.get(w,e);if(H){var p=M(e,S);y.initProps(p,{rotation:-((isNaN(+h)?b[0]:R(h,E,b,!0))+Math.PI/2)},t),D.add(p),r.setItemGraphicEl(e,p)}if(v){var o=T(e,S),n=k.get("clip");y.initProps(o,{shape:{endAngle:R(h,E,b,n)}},t),D.add(o),j(t.seriesIndex,r.dataType,e,o),c[e]=o}}).update(function(e,h){var p=r.get(w,e);if(H){var o=C.getItemGraphicEl(h),n=o?o.rotation:S,l=M(e,n);l.rotation=n,y.updateProps(l,{rotation:-((isNaN(+p)?b[0]:R(p,E,b,!0))+Math.PI/2)},t),D.add(l),r.setItemGraphicEl(e,l)}if(v){var i=L[h],g=i?i.shape.endAngle:S,A=T(e,g),G=k.get("clip");y.updateProps(A,{shape:{endAngle:R(p,E,b,G)}},t),D.add(A),j(t.seriesIndex,r.dataType,e,A),c[e]=A}}).execute(),r.each(function(e){var h=r.getItemModel(e),p=h.getModel("emphasis"),o=p.get("focus"),n=p.get("blurScope"),l=p.get("disabled");if(H){var i=r.getItemGraphicEl(e),g=r.getItemVisual(e,"style"),A=g.fill;if(i instanceof nt){var G=i.style;i.useStyle(lt({image:G.image,x:G.x,y:G.y,width:G.width,height:G.height},g))}else i.useStyle(g),i.type!=="pointer"&&i.setColor(A);i.setStyle(h.getModel(["pointer","itemStyle"]).getItemStyle()),i.style.fill==="auto"&&i.setStyle("fill",u(R(r.get(w,e),E,[0,1],!0))),i.z2EmphasisLift=0,Q(i,h),U(i,o,n,l)}if(v){var z=c[e];z.useStyle(r.getItemVisual(e,"style")),z.setStyle(h.getModel(["progress","itemStyle"]).getItemStyle()),z.z2EmphasisLift=0,Q(z,h),U(z,o,n,l)}}),this._progressEls=c)},m.prototype._renderAnchor=function(t,_){var f=t.getModel("anchor"),u=f.get("show");if(u){var a=f.get("size"),S=f.get("icon"),s=f.get("offsetCenter"),V=f.get("keepAspect"),d=F(S,_.cx-a/2+x(s[0],_.r),_.cy-a/2+x(s[1],_.r),a,a,null,V);d.z2=f.get("showAbove")?1:0,d.setStyle(f.getModel("itemStyle").getItemStyle()),this.group.add(d)}},m.prototype._renderTitleAndDetail=function(t,_,f,u,a){var S=this,s=t.getData(),V=s.mapDimension("value"),d=+t.get("min"),D=+t.get("max"),C=new y.Group,L=[],c=[],H=t.isAnimationEnabled(),k=t.get(["pointer","showAbove"]);s.diff(this._data).add(function(v){L[v]=new y.Text({silent:!0}),c[v]=new y.Text({silent:!0})}).update(function(v,r){L[v]=S._titleEls[r],c[v]=S._detailEls[r]}).execute(),s.each(function(v){var r=s.getItemModel(v),w=s.get(V,v),P=new y.Group,N=u(R(w,[d,D],[0,1],!0)),E=r.getModel("title");if(E.get("show")){var b=E.get("offsetCenter"),M=a.cx+x(b[0],a.r),T=a.cy+x(b[1],a.r),e=L[v];e.attr({z2:k?0:2,style:q(E,{x:M,y:T,text:s.getName(v),align:"center",verticalAlign:"middle"},{inheritColor:N})}),P.add(e)}var h=r.getModel("detail");if(h.get("show")){var p=h.get("offsetCenter"),o=a.cx+x(p[0],a.r),n=a.cy+x(p[1],a.r),l=x(h.get("width"),a.r),i=x(h.get("height"),a.r),g=t.get(["progress","show"])?s.getItemVisual(v,"style").fill:N,e=c[v],A=h.get("formatter");e.attr({z2:k?0:2,style:q(h,{x:o,y:n,text:B(w,A),width:isNaN(l)?null:l,height:isNaN(i)?null:i,align:"center",verticalAlign:"middle"},{inheritColor:g})}),et(e,{normal:h},w,function(z){return B(z,A)}),H&&at(e,v,s,t,{getFormattedLabel:function(z,O,Z,Y,K,X){return B(X?X.interpolatedValue:w,A)}}),P.add(e)}C.add(P)}),this.group.add(C),this._titleEls=L,this._detailEls=c},m.type="gauge",m}(rt),bt=mt;export{bt as default};
|
|
3
|
-
//# sourceMappingURL=GaugeView.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/graph/GraphSeries */
|
|
2
|
-
import{__extends as b}from"/tslib@2.3.0/es2022/tslib.mjs";import D from"../../data/SeriesData.mjs";import*as u from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{defaultEmphasis as S}from"../../util/model.mjs";import L from"../../model/Model.mjs";import x from"../helper/createGraphFromNodeEdge.mjs";import w from"../../visual/LegendVisualProvider.mjs";import z from"../../model/Series.mjs";import{createTooltipMarkup as C}from"../../component/tooltip/tooltipMarkup.mjs";import{defaultSeriesFormatTooltip as k}from"../../component/tooltip/seriesFormatTooltip.mjs";import{initCurvenessList as I,createEdgeMapForCurveness as E}from"../helper/multipleGraphEdgeHelper.mjs";import v from"../../visual/tokens.mjs";var G=function(n){b(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){n.prototype.init.apply(this,arguments);var a=this;function r(){return a._categoriesData}this.legendVisualProvider=new w(r,r),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){n.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){n.prototype.mergeDefaultAndTheme.apply(this,arguments),S(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,a){var r=e.edges||e.links||[],s=e.data||e.nodes||[],g=this;if(s&&r){I(this);var p=x(s,r,this,!0,c);return u.each(p.edges,function(i){E(i.node1,i.node2,this,i.dataIndex)},this),p.data}function c(i,d){i.wrapMethod("getItemModel",function(o){var l=g._categoriesModels,f=o.getShallow("category"),h=l[f];return h&&(h.parentModel=o.parentModel,o.parentModel=h),o});var m=L.prototype.getModel;function M(o,l){var f=m.call(this,o,l);return f.resolveParentPath=y,f}d.wrapMethod("getItemModel",function(o){return o.resolveParentPath=y,o.getModel=M,o});function y(o){if(o&&(o[0]==="label"||o[1]==="label")){var l=o.slice();return o[0]==="label"?l[0]="edgeLabel":o[1]==="label"&&(l[1]="edgeLabel"),l}return o}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,a,r){if(r==="edge"){var s=this.getData(),g=this.getDataParams(e,r),p=s.graph.getEdgeByIndex(e),c=s.getName(p.node1.dataIndex),i=s.getName(p.node2.dataIndex),d=[];return c!=null&&d.push(c),i!=null&&d.push(i),C("nameValue",{name:d.join(" > "),value:g.value,noValue:g.value==null})}var m=k({series:this,dataIndex:e,multipleSeries:a});return m},t.prototype._updateCategoriesData=function(){var e=u.map(this.option.categories||[],function(r){return r.value!=null?r:u.extend({value:0},r)}),a=new D(["value"],this);a.initData(e),this._categoriesData=a,this._categoriesModels=a.mapArray(function(r){return a.getItemModel(r)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return n.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:v.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:v.color.primary}}},t}(z),R=G;export{R as default};
|
|
3
|
-
//# sourceMappingURL=GraphSeries.mjs.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* esm.sh - echarts@6.0.0/lib/chart/graph/GraphView */
|
|
2
|
-
import{__extends as N}from"/tslib@2.3.0/es2022/tslib.mjs";import R from"../helper/SymbolDraw.mjs";import V from"../helper/LineDraw.mjs";import X from"../../component/helper/RoamController.mjs";import{updateViewOnZoom as Y,updateViewOnPan as k}from"../../component/helper/roamHelper.mjs";import*as y from"../../util/graphic.mjs";import G from"./adjustEdge.mjs";import{getNodeGlobalScale as L}from"./graphHelper.mjs";import H from"../../view/Chart.mjs";import{getECData as C}from"../../util/innerStore.mjs";import{simpleLayoutEdge as F}from"./simpleLayoutHelper.mjs";import{circularLayout as j,rotateNodeLabel as O}from"./circularLayoutHelper.mjs";import{clone as D,extend as P}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import W from"../helper/LinePath.mjs";import{getThumbnailBridge as Z}from"../../component/helper/thumbnailBridge.mjs";function E(g){return g.type==="view"}var U=function(g){N(n,g);function n(){var t=g!==null&&g.apply(this,arguments)||this;return t.type=n.type,t}return n.prototype.init=function(t,o){var r=new R,a=new V,i=this.group,e=new y.Group;this._controller=new X(o.getZr()),this._controllerHost={target:e},e.add(r.group),e.add(a.group),i.add(e),this._symbolDraw=r,this._lineDraw=a,this._mainGroup=e,this._firstRender=!0},n.prototype.render=function(t,o,r){var a=this,i=t.coordinateSystem,e=!1;this._model=t,this._api=r,this._active=!0;var u=this._getThumbnailInfo();u&&u.bridge.reset(r);var h=this._symbolDraw,f=this._lineDraw;if(E(i)){var v={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?this._mainGroup.attr(v):y.updateProps(this._mainGroup,v,t)}G(t.getGraph(),L(t));var l=t.getData();h.updateData(l);var m=t.getEdgeData();f.updateData(m),this._updateNodeAndLinkScale(),this._updateController(null,t,r),clearTimeout(this._layoutTimeout);var p=t.forceLayout,b=t.get(["force","layoutAnimation"]);p&&(e=!0,this._startForceLayoutIteration(p,r,b));var x=t.get("layout");l.graph.eachNode(function(c){var d=c.dataIndex,s=c.getGraphicEl(),T=c.getModel();if(s){s.off("drag").off("dragend");var S=T.get("draggable");S&&s.on("drag",function(z){switch(x){case"force":p.warmUp(),!a._layouting&&a._startForceLayoutIteration(p,r,b),p.setFixed(d),l.setItemLayout(d,[s.x,s.y]);break;case"circular":l.setItemLayout(d,[s.x,s.y]),c.setLayout({fixed:!0},!0),j(t,"symbolSize",c,[z.offsetX,z.offsetY]),a.updateLayout(t);break;case"none":default:l.setItemLayout(d,[s.x,s.y]),F(t.getGraph(),t),a.updateLayout(t);break}}).on("dragend",function(){p&&p.setUnfixed(d)}),s.setDraggable(S,!!T.get("cursor"));var A=T.get(["emphasis","focus"]);A==="adjacency"&&(C(s).focus=c.getAdjacentDataIndices())}}),l.graph.eachEdge(function(c){var d=c.getGraphicEl(),s=c.getModel().get(["emphasis","focus"]);d&&s==="adjacency"&&(C(d).focus={edge:[c.dataIndex],node:[c.node1.dataIndex,c.node2.dataIndex]})});var I=t.get("layout")==="circular"&&t.get(["circular","rotateLabel"]),_=l.getLayout("cx"),w=l.getLayout("cy");l.graph.eachNode(function(c){O(c,I,_,w)}),this._firstRender=!1,e||this._renderThumbnail(t,r,this._symbolDraw,this._lineDraw)},n.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,o,r){var a=this,i=!1;(function e(){t.step(function(u){a.updateLayout(a._model),(u||!i)&&(i=!0,a._renderThumbnail(a._model,o,a._symbolDraw,a._lineDraw)),(a._layouting=!u)&&(r?a._layoutTimeout=setTimeout(e,16):e())})})()},n.prototype._updateController=function(t,o,r){var a=this._controller,i=this._controllerHost,e=o.coordinateSystem;if(!E(e)){a.disable();return}a.enable(o.get("roam"),{api:r,zInfo:{component:o},triggerInfo:{roamTrigger:o.get("roamTrigger"),isInSelf:function(u,h,f){return e.containPoint([h,f])},isInClip:function(u,h,f){return!t||t.contain(h,f)}}}),i.zoomLimit=o.get("scaleLimit"),i.zoom=e.getZoom(),a.off("pan").off("zoom").on("pan",function(u){r.dispatchAction({seriesId:o.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){r.dispatchAction({seriesId:o.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY})})},n.prototype.updateViewOnPan=function(t,o,r){this._active&&(k(this._controllerHost,r.dx,r.dy),this._updateThumbnailWindow())},n.prototype.updateViewOnZoom=function(t,o,r){this._active&&(Y(this._controllerHost,r.zoom,r.originX,r.originY),this._updateNodeAndLinkScale(),G(t.getGraph(),L(t)),this._lineDraw.updateLayout(),o.updateLabelLayout(),this._updateThumbnailWindow())},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,o=t.getData(),r=L(t);o.eachItemGraphicEl(function(a,i){a&&a.setSymbolScale(r)})},n.prototype.updateLayout=function(t){this._active&&(G(t.getGraph(),L(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout())},n.prototype.remove=function(){this._active=!1,clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove(),this._controller&&this._controller.disable()},n.prototype._getThumbnailInfo=function(){var t=this._model,o=t.coordinateSystem;if(o.type==="view"){var r=Z(t);if(r)return{bridge:r,coordSys:o}}},n.prototype._updateThumbnailWindow=function(){var t=this._getThumbnailInfo();t&&t.bridge.updateWindow(t.coordSys.transform,this._api)},n.prototype._renderThumbnail=function(t,o,r,a){var i=this._getThumbnailInfo();if(i){var e=new y.Group,u=r.group.children(),h=a.group.children(),f=new y.Group,v=new y.Group;e.add(v),e.add(f);for(var l=0;l<u.length;l++){var m=u[l],p=m.children()[0],b=m.x,x=m.y,I=D(p.shape),_=P(I,{width:p.scaleX,height:p.scaleY,x:b-p.scaleX/2,y:x-p.scaleY/2}),w=D(p.style),c=new p.constructor({shape:_,style:w,z2:151});v.add(c)}for(var l=0;l<h.length;l++){var m=h[l],d=m.children()[0],w=D(d.style),_=D(d.shape),s=new W({style:w,shape:_,z2:151});f.add(s)}i.bridge.renderContent({api:o,roamType:t.get("roam"),viewportRect:null,group:e,targetTrans:i.coordSys.transform})}},n.type="graph",n}(H),ut=U;export{ut as default};
|
|
3
|
-
//# sourceMappingURL=GraphView.mjs.map
|