@templmf/temp-solf-lmf 0.0.94 → 0.0.95
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/@antv/algorithm@^0.1.26 +5 -0
- package/@antv/component@2.1.7/es2022/esm/animation.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/core.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/ui/axis/utils.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/util/layout.mjs +3 -0
- package/@antv/component@^2.1.7 +11 -0
- package/@antv/event-emitter@^0.1.3 +3 -0
- package/@antv/g-camera-api@2.0.41/es2022/g-camera-api.mjs +15 -0
- package/@antv/g-canvas@^2.0.48 +6 -0
- package/@antv/g-dom-mutation-observer-api@2.0.38/es2022/g-dom-mutation-observer-api.mjs +15 -0
- package/@antv/g-lite@2.3.2/es2022/g-lite.mjs +22 -0
- package/@antv/g-math@3.0.1/es2022/g-math.mjs +17 -0
- package/@antv/g-plugin-canvas-path-generator@2.1.22/es2022/g-plugin-canvas-path-generator.mjs +16 -0
- package/@antv/g-plugin-canvas-picker@2.1.27/es2022/g-plugin-canvas-picker.mjs +20 -0
- package/@antv/g-plugin-canvas-renderer@2.3.3/es2022/g-plugin-canvas-renderer.mjs +17 -0
- package/@antv/g-plugin-dom-interaction@2.1.27/es2022/g-plugin-dom-interaction.mjs +15 -0
- package/@antv/g-plugin-dragndrop@^2.0.38 +4 -0
- package/@antv/g-plugin-html-renderer@2.1.27/es2022/g-plugin-html-renderer.mjs +15 -0
- package/@antv/g-plugin-image-loader@2.1.26/es2022/g-plugin-image-loader.mjs +19 -0
- package/@antv/g-web-animations-api@2.1.28/es2022/g-web-animations-api.mjs +17 -0
- package/@antv/g@^6.1.11 +6 -0
- package/@antv/g@^6.1.28 +6 -0
- package/@antv/graphlib@^2.0.4 +3 -0
- package/@antv/hierarchy@^0.7.1 +3 -0
- package/@antv/layout@^2.0.0 +2 -0
- package/@antv/scale@^0.4.16 +5 -0
- package/@antv/util@^2.0.13 +3 -0
- package/@antv/util@^3.3.10 +4 -0
- package/@antv/util@^3.3.11 +4 -0
- package/@antv/util@^3.3.5 +4 -0
- package/animate.css@4.1.1/animate.css +4072 -0
- package/echarts@6.0.0/es2022/lib/animation/basicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicKeyframeAnimation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/morphTransitionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/universalTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BaseBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/prepareBoxplotData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/CustomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/customSeriesRegister.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/funnelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/adjustEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/circularLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/createView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/edgeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/graphHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapLayer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectSymbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LargeLineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Line.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LinePath.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Polyline.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/SymbolDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createClipPathFromCoordSys.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createRenderPlanner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesDataSimply.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/enableAriaDecalForTree.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/labelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/multipleGraphEdgeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/treeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/whiskerBoxCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/lineAnimationDiff.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/poly.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapDataStatistic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapSymbolLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/parallelVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/pieLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/radarLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeySeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeyView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/ScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/jitterLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstPiece.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/themeRiverLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/layoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/Breadcrumb.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AngleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AxisBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/CartesianAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/ParallelAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/RadiusAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/SingleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelperImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisSplitHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/installBreak.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/parallelAxisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/BaseAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/CartesianAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/PolarAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/SingleAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/axisTrigger.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/findPointFromSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/globalListener.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/modelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/viewHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/selector.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/calendar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/DataZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/history.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomInside.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomSlider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/roams.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataset/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/GeoView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/installSimple.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/BrushTargetManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/MapDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/RoamController.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/brushHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/cursorHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/interactionMutex.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/listComponent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/sliderMove.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/thumbnailBridge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendView.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendPlain.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendScroll.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendAction.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/scrollableLegendAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/checkMarkerInSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkArea.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkPoint.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/markerHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/MatrixView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/polar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/singleAxis/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailBridgeImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/timelineAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/title/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Brush.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataView.mjs +20 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataZoom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/MagicType.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Restore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/SaveAsImage.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/featureManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipHTMLContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipRichContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipView.mjs +5 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/seriesFormatTooltip.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/tooltipMarkup.mjs +9 -0
- package/echarts@6.0.0/es2022/lib/component/transform/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/transform/sortTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/ContinuousView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapContinuous.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapPiecewise.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualMapAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/Axis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/View.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisAlignTicks.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisCommonTypes.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisModelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisTickLabelBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/CalendarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Axis2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Grid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/GridModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/cartesianAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/legacyContainLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Geo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoJSONResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoSVGResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Region.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/diaoyuIsland.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/nanhai.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/textCoord.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoSourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/parseGeoJson.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/Matrix.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixBodyCorner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixDim.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/matrixCoordHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/Parallel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/ParallelModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelPreprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AngleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/Polar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/PolarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/RadiusAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/polarCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/Radar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/RadarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/scaleRawExtentInfo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/Single.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/SingleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/ExtensionAPI.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/Scheduler.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/echarts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/impl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/lifecycle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/locale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/task.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataDiffer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataStore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/OrdinalMeta.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesDimensionDefine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/Source.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/SeriesDataSchema.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/createDimensions.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataProvider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataStackHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataValueHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dimensionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/transform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/format.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/util.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langEN.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langZH.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/LabelManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/installLabelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelGuideHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/sectorLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barGrid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barPolar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/points.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/legacy/dataSelectAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/loading/default.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Global.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/OptionManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Series.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/globalDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/internalComponentCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/areaStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/dataFormat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/itemStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/lineStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/makeStyleMapper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/palette.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/textStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/referHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/helper/compatStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataSample.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/negativeDataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installCanvasRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installSVGRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Log.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Ordinal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Scale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/break.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/breakImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/theme/dark.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/ECEventProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/animation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/clazz.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/event.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/jitter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/layout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/states.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/styleCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/types.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/vendor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Chart.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/VisualMapping.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/aria.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/style.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/tokens.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualSolution.mjs +3 -0
- package/eventemitter3@^5.0.1 +3 -0
- package/gl-matrix@^3.3.0 +2 -0
- package/gl-matrix@^3.4.3 +2 -0
- package/package.json +1 -1
- package/zrender@6.0.0/es2022/lib/Element.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Handler.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Storage.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animator.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/cubicEasing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/easing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/requestAnimationFrame.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/dashStyle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/quadratic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/text.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/contain/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/windingLine.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Eventful.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/GestureMgr.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/LRU.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/PathProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Point.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Transformable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/WeakMap.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/bbox.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/curve.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/dom.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/env.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/event.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/fourPointsTransform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/matrix.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/platform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/timsort.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/vector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/dom/HandlerProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/CompoundPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Gradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Group.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/IncrementalDisplayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/RadialGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/constants.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/poly.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundSector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/smoothBezier.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Arc.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Circle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ellipse.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polyline.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Rect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ring.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Sector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/mixin/Draggable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/Painter.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/SVGPathRebuilder.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/core.mjs +5 -0
- package/zrender@6.0.0/es2022/lib/svg/cssAnimation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssClassId.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssEmphasis.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/domapi.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/helper.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/svg/mapStyleToAttrs.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/patch.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/color.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/convertPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/dividePath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/morphPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseSVG.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseXML.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/zrender.mjs +16 -0
- package/@antv/g6 +0 -13
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/ThemeRiverView */
|
|
2
|
+
import{__extends as j}from"/tslib@2.3.0/es2022/tslib.mjs";import{ECPolygon as z}from"../line/poly.mjs";import*as r from"../../util/graphic.mjs";import{setStatesStylesFromModel as B,toggleHoverEmphasis as F}from"../../util/states.mjs";import{setLabelStyle as H,getLabelStatesModels as N}from"../../label/labelStyle.mjs";import{bind as C}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import q from"../../data/DataDiffer.mjs";import J from"../../view/Chart.mjs";import{saveOldStyle as K}from"../../animation/basicTransition.mjs";var Q=function(a){j(i,a);function i(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=i.type,e._layers=[],e}return i.prototype.render=function(e,v,W){var o=e.getData(),_=this,p=this.group,d=e.getLayerSeries(),L=o.getLayout("layoutInfo"),D=L.rect,R=L.boundaryGap;p.x=0,p.y=D.y+R[0];function G(m){return m.name}var T=new q(this._layersSeries||[],d,G,G),g=[];T.add(C(u,this,"add")).update(C(u,this,"update")).remove(C(u,this,"remove")).execute();function u(m,h,k){var I=_._layers;if(m==="remove"){p.remove(I[h]);return}for(var y=[],f=[],c,n=d[h].indices,s=0;s<n.length;s++){var S=o.getItemLayout(n[s]),P=S.x,E=S.y0,O=S.y;y.push(P,E),f.push(P,E+O),c=o.getItemVisual(n[s],"style")}var t,b=o.getItemLayout(n[0]),V=e.getModel("label"),A=V.get("margin"),w=e.getModel("emphasis");if(m==="add"){var l=g[h]=new r.Group;t=new z({shape:{points:y,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),l.add(t),p.add(l),e.isAnimationEnabled()&&t.setClipPath(U(t.getBoundingRect(),e,function(){t.removeClipPath()}))}else{var l=I[k];t=l.childAt(0),p.add(l),g[h]=l,r.updateProps(t,{shape:{points:y,stackedOnPoints:f}},e),K(t)}H(t,N(e),{labelDataIndex:n[s-1],defaultText:o.getName(n[s-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),t.setTextConfig({position:null,local:!0});var x=t.getTextContent();x&&(x.x=b.x-A,x.y=b.y0+b.y/2),t.useStyle(c),o.setItemGraphicEl(h,t),B(t,e),F(t,w.get("focus"),w.get("blurScope"),w.get("disabled"))}this._layersSeries=d,this._layers=g},i.type="themeRiver",i}(J);function U(a,i,e){var v=new r.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return r.initProps(v,{shape:{x:a.x-50,width:a.width+100,height:a.height+20}},i,e),v}var re=Q;export{re as default};
|
|
3
|
+
//# sourceMappingURL=ThemeRiverView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/themeRiverLayout */
|
|
2
|
+
import*as p from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as f from"../../util/number.mjs";function I(e,s){e.eachSeriesByType("themeRiver",function(i){var u=i.getData(),n=i.coordinateSystem,a={},t=n.getRect();a.rect=t;var r=i.get("boundaryGap"),m=n.getAxis();if(a.boundaryGap=r,m.orient==="horizontal"){r[0]=f.parsePercent(r[0],t.height),r[1]=f.parsePercent(r[1],t.height);var y=t.height-r[0]-r[1];x(u,i,y)}else{r[0]=f.parsePercent(r[0],t.width),r[1]=f.parsePercent(r[1],t.width);var o=t.width-r[0]-r[1];x(u,i,o)}u.setLayout("layoutInfo",a)})}function x(e,s,i){if(e.count())for(var u=s.coordinateSystem,n=s.getLayerSeries(),a=e.mapDimension("single"),t=e.mapDimension("value"),r=p.map(n,function(L){return p.map(L.indices,function(g){var b=u.dataToPoint(e.get(a,g));return b[1]=e.get(t,g),b})}),m=P(r),y=m.y0,o=i/m.max,h=n.length,U=n[0].indices.length,l,v=0;v<U;++v){l=y[v]*o,e.setItemLayout(n[0].indices[v],{layerIndex:0,x:r[0][v][0],y0:l,y:r[0][v][1]*o});for(var c=1;c<h;++c)l+=r[c-1][v][1]*o,e.setItemLayout(n[c].indices[v],{layerIndex:c,x:r[c][v][0],y0:l,y:r[c][v][1]*o})}}function P(e){for(var s=e.length,i=e[0].length,u=[],n=[],a=0,t=0;t<i;++t){for(var r=0,m=0;m<s;++m)r+=e[m][t][1];r>a&&(a=r),u.push(r)}for(var y=0;y<i;++y)n[y]=(a-u[y])/2;a=0;for(var o=0;o<i;++o){var h=u[o]+n[o];h>a&&(a=h)}return{y0:n,max:a}}export{I as default};
|
|
3
|
+
//# sourceMappingURL=themeRiverLayout.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/TreeSeries */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import g from"../../model/Series.mjs";import v from"../../data/Tree.mjs";import y from"../../model/Model.mjs";import{createTooltipMarkup as D}from"../../component/tooltip/tooltipMarkup.mjs";import{wrapTreePathInfo as T}from"../helper/treeHelper.mjs";import x from"../../visual/tokens.mjs";var b=function(s){f(t,s);function t(){var e=s!==null&&s.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var n={name:e.name,children:e.data},p=e.leaves||{},m=new y(p,this,this.ecModel),i=v.createTree(n,this,r);function r(a){a.wrapMethod("getItemModel",function(l,c){var u=i.getNodeByDataIndex(c);return u&&u.children.length&&u.isExpand||(l.parentModel=m),l})}var o=0;i.eachNode("preorder",function(a){a.depth>o&&(o=a.depth)});var d=e.expandAndCollapse,h=d&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return i.root.eachNode("preorder",function(a){var l=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=l&&l.collapsed!=null?!l.collapsed:a.depth<=h}),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,n,p){for(var m=this.getData().tree,i=m.root.children[0],r=m.getNodeByDataIndex(e),o=r.getValue(),d=r.name;r&&r!==i;)d=r.parentNode.name+"."+d,r=r.parentNode;return D("nameValue",{name:d,value:o,noValue:isNaN(o)||o==null})},t.prototype.getDataParams=function(e){var n=s.prototype.getDataParams.apply(this,arguments),p=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=T(p,this),n.collapsed=!p.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystemUsage:"box",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,roamTrigger:"global",nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:x.color.borderTint,width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(g),R=b;export{R as default};
|
|
3
|
+
//# sourceMappingURL=TreeSeries.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/TreeView */
|
|
2
|
+
import{__extends as V}from"/tslib@2.3.0/es2022/tslib.mjs";import*as N from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as s from"../../util/graphic.mjs";import{getECData as b}from"../../util/innerStore.mjs";import j from"../helper/Symbol.mjs";import{radialCoordinate as w}from"./layoutHelper.mjs";import*as z from"/zrender@6.0.0/es2022/lib/core/bbox.mjs";import q from"../../coord/View.mjs";import*as H from"../../component/helper/roamHelper.mjs";import J from"../../component/helper/RoamController.mjs";import{parsePercent as K}from"../../util/number.mjs";import Q from"../../view/Chart.mjs";import W from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import{setStatesStylesFromModel as $,setStatesFlag as M,setDefaultStateProxy as ee,HOVER_STATE_BLUR as te}from"../../util/states.mjs";import U from"../../visual/tokens.mjs";var ae=function(){function i(){this.parentPoint=[],this.childPoints=[]}return i}(),re=function(i){V(a,i);function a(e){return i.call(this,e)||this}return a.prototype.getDefaultStyle=function(){return{stroke:U.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new ae},a.prototype.buildPath=function(e,n){var c=n.childPoints,v=c.length,t=n.parentPoint,o=c[0],h=c[v-1];if(v===1){e.moveTo(t[0],t[1]),e.lineTo(o[0],o[1]);return}var p=n.orient,r=p==="TB"||p==="BT"?0:1,u=1-r,l=K(n.forkPosition,1),g=[];g[r]=t[r],g[u]=t[u]+(h[u]-t[u])*l,e.moveTo(t[0],t[1]),e.lineTo(g[0],g[1]),e.moveTo(o[0],o[1]),g[r]=o[r],e.lineTo(g[0],g[1]),g[r]=h[r],e.lineTo(g[0],g[1]),e.lineTo(h[0],h[1]);for(var y=1;y<v-1;y++){var f=c[y];e.moveTo(f[0],f[1]),g[r]=f[r],e.lineTo(g[0],g[1])}},a}(W),ne=function(i){V(a,i);function a(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=a.type,e._mainGroup=new s.Group,e}return a.prototype.init=function(e,n){this._controller=new J(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},a.prototype.render=function(e,n,c){var v=e.getData(),t=e.layoutInfo,o=this._mainGroup,h=e.get("layout");h==="radial"?(o.x=t.x+t.width/2,o.y=t.y+t.height/2):(o.x=t.x,o.y=t.y),this._updateViewCoordSys(e,c),this._updateController(e,null,n,c);var p=this._data;v.diff(p).add(function(r){O(v,r)&&Y(v,r,null,o,e)}).update(function(r,u){var l=p.getItemGraphicEl(u);if(!O(v,r)){l&&B(p,u,l,o,e);return}Y(v,r,l,o,e)}).remove(function(r){var u=p.getItemGraphicEl(r);u&&B(p,r,u,o,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),e.get("expandAndCollapse")===!0&&v.eachItemGraphicEl(function(r,u){r.off("click").on("click",function(){c.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:u})})}),this._data=v},a.prototype._updateViewCoordSys=function(e,n){var c=e.getData(),v=[];c.each(function(u){var l=c.getItemLayout(u);l&&!isNaN(l.x)&&!isNaN(l.y)&&v.push([+l.x,+l.y])});var t=[],o=[];z.fromPoints(v,t,o);var h=this._min,p=this._max;o[0]-t[0]===0&&(t[0]=h?h[0]:t[0]-1,o[0]=p?p[0]:o[0]+1),o[1]-t[1]===0&&(t[1]=h?h[1]:t[1]-1,o[1]=p?p[1]:o[1]+1);var r=e.coordinateSystem=new q(null,{api:n,ecModel:e.ecModel});r.zoomLimit=e.get("scaleLimit"),r.setBoundingRect(t[0],t[1],o[0]-t[0],o[1]-t[1]),r.setCenter(e.get("center")),r.setZoom(e.get("zoom")),this.group.attr({x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY}),this._min=t,this._max=o},a.prototype._updateController=function(e,n,c,v){var t=this;H.updateController(e,v,this.group,this._controller,this._controllerHost,n),this._controller.on("zoom",function(o){t._updateNodeAndLinkScale(e)})},a.prototype._updateNodeAndLinkScale=function(e){var n=e.getData(),c=this._getNodeGlobalScale(e);n.eachItemGraphicEl(function(v,t){v.setSymbolScale(c)})},a.prototype._getNodeGlobalScale=function(e){var n=e.coordinateSystem;if(n.type!=="view")return 1;var c=this._nodeScaleRatio,v=n.scaleX||1,t=n.getZoom(),o=(t-1)*c+1;return o/v},a.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},a.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},a.type="tree",a}(Q);function O(i,a){var e=i.getItemLayout(a);return e&&!isNaN(e.x)&&!isNaN(e.y)}function Y(i,a,e,n,c){var v=!e,t=i.tree.getNodeByDataIndex(a),o=t.getModel(),h=t.getVisual("style").fill,p=t.isExpand===!1&&t.children.length!==0?h:U.color.neutral00,r=i.tree.root,u=t.parentNode===r?t:t.parentNode||t,l=i.getItemGraphicEl(u.dataIndex),g=u.getLayout(),y=l?{x:l.__oldX,y:l.__oldY,rawX:l.__radialOldRawX,rawY:l.__radialOldRawY}:g,f=t.getLayout();v?(e=new j(i,a,null,{symbolInnerColor:p,useNameLabel:!0}),e.x=y.x,e.y=y.y):e.updateData(i,a,null,{symbolInnerColor:p,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=f.rawX,e.__radialRawY=f.rawY,n.add(e),i.setItemGraphicEl(a,e),e.__oldX=e.x,e.__oldY=e.y,s.updateProps(e,{x:f.x,y:f.y},c);var _=e.getSymbolPath();if(c.get("layout")==="radial"){var x=r.children[0],m=x.getLayout(),P=x.children.length,d=void 0,S=void 0;if(f.x===m.x&&t.isExpand===!0&&x.children.length){var I={x:(x.children[0].getLayout().x+x.children[P-1].getLayout().x)/2,y:(x.children[0].getLayout().y+x.children[P-1].getLayout().y)/2};d=Math.atan2(I.y-m.y,I.x-m.x),d<0&&(d=Math.PI*2+d),S=I.x<m.x,S&&(d=d-Math.PI)}else d=Math.atan2(f.y-m.y,f.x-m.x),d<0&&(d=Math.PI*2+d),t.children.length===0||t.children.length!==0&&t.isExpand===!1?(S=f.x<m.x,S&&(d=d-Math.PI)):(S=f.x>m.x,S||(d=d-Math.PI));var Z=S?"left":"right",D=o.getModel("label"),G=D.get("rotate"),F=G*(Math.PI/180),k=_.getTextContent();k&&(_.setTextConfig({position:D.get("position")||Z,rotation:G==null?-d:F,origin:"center"}),k.setStyle("verticalAlign","middle"))}var T=o.get(["emphasis","focus"]),R=T==="relative"?N.concatArray(t.getAncestorsIndices(),t.getDescendantIndices()):T==="ancestor"?t.getAncestorsIndices():T==="descendant"?t.getDescendantIndices():null;R&&(b(e).focus=R),oe(c,t,r,e,y,g,f,n),e.__edge&&(e.onHoverStateChange=function(X){if(X!=="blur"){var A=t.parentNode&&i.getItemGraphicEl(t.parentNode.dataIndex);A&&A.hoverState===te||M(e.__edge,X)}})}function oe(i,a,e,n,c,v,t,o){var h=a.getModel(),p=i.get("edgeShape"),r=i.get("layout"),u=i.getOrient(),l=i.get(["lineStyle","curveness"]),g=i.get("edgeForkPosition"),y=h.getModel("lineStyle").getLineStyle(),f=n.__edge;if(p==="curve")a.parentNode&&a.parentNode!==e&&(f||(f=n.__edge=new s.BezierCurve({shape:C(r,u,l,c,c)})),s.updateProps(f,{shape:C(r,u,l,v,t)},i));else if(p==="polyline"&&r==="orthogonal"&&a!==e&&a.children&&a.children.length!==0&&a.isExpand===!0){for(var _=a.children,x=[],m=0;m<_.length;m++){var P=_[m].getLayout();x.push([P.x,P.y])}f||(f=n.__edge=new re({shape:{parentPoint:[t.x,t.y],childPoints:[[t.x,t.y]],orient:u,forkPosition:g}})),s.updateProps(f,{shape:{parentPoint:[t.x,t.y],childPoints:x}},i)}f&&!(p==="polyline"&&!a.isExpand)&&(f.useStyle(N.defaults({strokeNoScale:!0,fill:null},y)),$(f,h,"lineStyle"),ee(f),o.add(f))}function E(i,a,e,n,c){var v=a.tree.root,t=L(v,i),o=t.source,h=t.sourceLayout,p=a.getItemGraphicEl(i.dataIndex);if(p){var r=a.getItemGraphicEl(o.dataIndex),u=r.__edge,l=p.__edge||(o.isExpand===!1||o.children.length===1?u:void 0),g=n.get("edgeShape"),y=n.get("layout"),f=n.get("orient"),_=n.get(["lineStyle","curveness"]);l&&(g==="curve"?s.removeElement(l,{shape:C(y,f,_,h,h),style:{opacity:0}},n,{cb:function(){e.remove(l)},removeOpt:c}):g==="polyline"&&n.get("layout")==="orthogonal"&&s.removeElement(l,{shape:{parentPoint:[h.x,h.y],childPoints:[[h.x,h.y]]},style:{opacity:0}},n,{cb:function(){e.remove(l)},removeOpt:c}))}}function L(i,a){for(var e=a.parentNode===i?a:a.parentNode||a,n;n=e.getLayout(),n==null;)e=e.parentNode===i?e:e.parentNode||e;return{source:e,sourceLayout:n}}function B(i,a,e,n,c){var v=i.tree.getNodeByDataIndex(a),t=i.tree.root,o=L(t,v).sourceLayout,h={duration:c.get("animationDurationUpdate"),easing:c.get("animationEasingUpdate")};s.removeElement(e,{x:o.x+1,y:o.y+1},c,{cb:function(){n.remove(e),i.setItemGraphicEl(a,null)},removeOpt:h}),e.fadeOut(null,i.hostModel,{fadeLabel:!0,animation:h}),v.children.forEach(function(p){E(p,i,n,c,h)}),E(v,i,n,c,h)}function C(i,a,e,n,c){var v,t,o,h,p,r,u,l;if(i==="radial"){p=n.rawX,u=n.rawY,r=c.rawX,l=c.rawY;var g=w(p,u),y=w(p,u+(l-u)*e),f=w(r,l+(u-l)*e),_=w(r,l);return{x1:g.x||0,y1:g.y||0,x2:_.x||0,y2:_.y||0,cpx1:y.x||0,cpy1:y.y||0,cpx2:f.x||0,cpy2:f.y||0}}else p=n.x,u=n.y,r=c.x,l=c.y,(a==="LR"||a==="RL")&&(v=p+(r-p)*e,t=u,o=r+(p-r)*e,h=l),(a==="TB"||a==="BT")&&(v=p,t=u+(l-u)*e,o=r,h=l+(u-l)*e);return{x1:p,y1:u,x2:r,y2:l,cpx1:v,cpy1:t,cpx2:o,cpy2:h}}var me=ne;export{me as default};
|
|
3
|
+
//# sourceMappingURL=TreeView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/layoutHelper */
|
|
2
|
+
function E(r){var e=r;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[e],o,i;o=a.pop();)if(i=o.children,o.isExpand&&i.length)for(var h=i.length,l=h-1;l>=0;l--){var N=i[l];N.hierNode={defaultAncestor:null,ancestor:N,prelim:0,modifier:0,change:0,shift:0,i:l,thread:null},a.push(N)}}function M(r,e){var a=r.isExpand?r.children:[],o=r.parentNode.children,i=r.hierNode.i?o[r.hierNode.i-1]:null;if(a.length){t(r);var h=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;i?(r.hierNode.prelim=i.hierNode.prelim+e(r,i),r.hierNode.modifier=r.hierNode.prelim-h):r.hierNode.prelim=h}else i&&(r.hierNode.prelim=i.hierNode.prelim+e(r,i));r.parentNode.hierNode.defaultAncestor=x(r,i,r.parentNode.hierNode.defaultAncestor||o[0],e)}function S(r){var e=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:e},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function k(r){return arguments.length?r:A}function y(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function t(r){for(var e=r.children,a=e.length,o=0,i=0;--a>=0;){var h=e[a];h.hierNode.prelim+=o,h.hierNode.modifier+=o,i+=h.hierNode.change,o+=h.hierNode.shift+i}}function x(r,e,a,o){if(e){for(var i=r,h=r,l=h.parentNode.children[0],N=e,c=i.hierNode.modifier,d=h.hierNode.modifier,n=l.hierNode.modifier,v=N.hierNode.modifier;N=f(N),h=m(h),N&&h;){i=f(i),l=m(l),i.hierNode.ancestor=r;var p=N.hierNode.prelim+v-h.hierNode.prelim-d+o(N,h);p>0&&(u(s(N,r,a),r,p),d+=p,c+=p),v+=N.hierNode.modifier,d+=h.hierNode.modifier,c+=i.hierNode.modifier,n+=l.hierNode.modifier}N&&!f(i)&&(i.hierNode.thread=N,i.hierNode.modifier+=v-c),h&&!m(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=d-n,a=r)}return a}function f(r){var e=r.children;return e.length&&r.isExpand?e[e.length-1]:r.hierNode.thread}function m(r){var e=r.children;return e.length&&r.isExpand?e[0]:r.hierNode.thread}function s(r,e,a){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:a}function u(r,e,a){var o=a/(e.hierNode.i-r.hierNode.i);e.hierNode.change-=o,e.hierNode.shift+=a,e.hierNode.modifier+=a,e.hierNode.prelim+=a,r.hierNode.change+=o}function A(r,e){return r.parentNode===e.parentNode?1:2}export{M as firstWalk,E as init,y as radialCoordinate,S as secondWalk,k as separation};
|
|
3
|
+
//# sourceMappingURL=layoutHelper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/treeAction */
|
|
2
|
+
import{updateCenterAndZoomInAction as p}from"../../component/helper/roamHelper.mjs";function d(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,a){a.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var e=t.dataIndex,o=i.getData().tree,n=o.getNodeByDataIndex(e);n.isExpand=!n.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,a,i){a.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var o=e.coordinateSystem,n=p(o,t,e.get("scaleLimit"));e.setCenter(n.center),e.setZoom(n.zoom)})})}export{d as installTreeAction};
|
|
3
|
+
//# sourceMappingURL=treeAction.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/treeVisual */
|
|
2
|
+
import{extend as d}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function s(a){a.eachSeriesByType("tree",function(r){var e=r.getData(),l=e.tree;l.eachNode(function(t){var i=t.getModel(),n=i.getModel("itemStyle").getItemStyle(),o=e.ensureUniqueItemVisual(t.dataIndex,"style");d(o,n)})})}export{s as default};
|
|
3
|
+
//# sourceMappingURL=treeVisual.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/Breadcrumb */
|
|
2
|
+
import*as s from"../../util/graphic.mjs";import{getECData as _}from"../../util/innerStore.mjs";import*as v from"../../util/layout.mjs";import{wrapTreePathInfo as A}from"../helper/treeHelper.mjs";import{curry as C,defaults as E}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{convertOptionIdName as D}from"../../util/model.mjs";import{toggleHoverEmphasis as G,Z2_EMPHASIS_LIFT as M}from"../../util/states.mjs";import{createTextStyle as L}from"../../label/labelStyle.mjs";var P=8,w=8,T=5,R=function(){function a(t){this.group=new s.Group,t.add(this.group)}return a.prototype.render=function(t,e,n,o){var r=t.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!(!r.get("show")||!n)){var i=r.getModel("itemStyle"),h=r.getModel("emphasis"),g=i.getModel("textStyle"),d=h.getModel(["itemStyle","textStyle"]),f=v.createBoxLayoutReference(t,e).refContainer,u={left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},l={emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]},I=v.getLayoutRect(u,f);this._prepare(n,l,g),this._renderContent(t,l,I,i,h,g,d,o),v.positionElement(p,u,f)}},a.prototype._prepare=function(t,e,n){for(var o=t;o;o=o.parentNode){var r=D(o.getModel().get("name"),""),p=n.getTextRect(r),i=Math.max(p.width+P*2,e.emptyItemWidth);e.totalWidth+=i+w,e.renderList.push({node:o,text:r,width:i})}},a.prototype._renderContent=function(t,e,n,o,r,p,i,h){for(var g=0,d=e.emptyItemWidth,f=t.get(["breadcrumb","height"]),u=e.totalWidth,l=e.renderList,I=r.getModel("itemStyle").getItemStyle(),c=l.length-1;c>=0;c--){var S=l[c],x=S.node,y=S.width,b=S.text;u>n.width&&(u-=y-d,y=d,b=null);var m=new s.Polygon({shape:{points:k(g,0,y,f,c===l.length-1,c===0)},style:E(o.getItemStyle(),{lineJoin:"bevel"}),textContent:new s.Text({style:L(p,{text:b})}),textConfig:{position:"inside"},z2:M*1e4,onclick:C(h,x)});m.disableLabelAnimation=!0,m.getTextContent().ensureState("emphasis").style=L(i,{text:b}),m.ensureState("emphasis").style=I,G(m,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(m),B(m,t,x),g+=y+w}},a.prototype.remove=function(){this.group.removeAll()},a}();function k(a,t,e,n,o,r){var p=[[o?a:a-T,t],[a+e,t],[a+e,t+n],[o?a:a-T,t+n]];return!r&&p.splice(2,0,[a+e+T,t+n/2]),!o&&p.push([a,t+n/2]),p}function B(a,t,e){_(a).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&A(e,t)}}var Y=R;export{Y as default};
|
|
3
|
+
//# sourceMappingURL=Breadcrumb.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/TreemapSeries */
|
|
2
|
+
import{__extends as I}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"/zrender@6.0.0/es2022/lib/core/util.mjs";import M from"../../model/Series.mjs";import D from"../../data/Tree.mjs";import f from"../../model/Model.mjs";import{wrapTreePathInfo as w}from"../helper/treeHelper.mjs";import{normalizeToArray as g}from"../../util/model.mjs";import{createTooltipMarkup as S}from"../../component/tooltip/tooltipMarkup.mjs";import z from"../helper/enableAriaDecalForTree.mjs";import l from"../../visual/tokens.mjs";var T=function(o){I(r,o);function r(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=r.type,e.preventUsingHoverLayer=!0,e}return r.prototype.getInitialData=function(e,t){var a={name:e.name,children:e.data};y(a);var n=e.levels||[],s=this.designatedVisualItemStyle={},u=new f({itemStyle:s},this,t);n=e.levels=U(n,t);var p=i.map(n||[],function(d){return new f(d,u,t)},this),c=D.createTree(a,this,m);function m(d){d.wrapMethod("getItemModel",function(h,x){var v=c.getNodeByDataIndex(x),b=v?p[v.depth]:null;return h.parentModel=b||u,h})}return c.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.formatTooltip=function(e,t,a){var n=this.getData(),s=this.getRawValue(e),u=n.getName(e);return S("nameValue",{name:u,value:s})},r.prototype.getDataParams=function(e){var t=o.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return t.treeAncestors=w(a,this),t.treePathInfo=t.treeAncestors,t},r.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},r.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var a=t.get(e);return a==null&&t.set(e,a=this._idIndexMapCount++),a},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;(!e||e!==t&&!t.contains(e))&&(this._viewRoot=t)},r.prototype.enableAriaDecal=function(){z(this)},r.type="series.treemap",r.layoutMode="box",r.defaultOption={progressive:0,coordinateSystemUsage:"box",left:l.size.l,top:l.size.xxxl,right:l.size.l,bottom:l.size.xxxl,sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,scaleLimit:{max:5,min:.2},roam:!0,roamTrigger:"global",nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",bottom:l.size.m,emptyItemWidth:25,itemStyle:{color:l.color.backgroundShade,textStyle:{color:l.color.secondary}},emphasis:{itemStyle:{color:l.color.background}}},label:{show:!0,distance:0,padding:5,position:"inside",color:l.color.neutral00,overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:l.color.neutral00,borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},r}(M);function y(o){var r=0;i.each(o.children,function(t){y(t);var a=t.value;i.isArray(a)&&(a=a[0]),r+=a});var e=o.value;i.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=r),e<0&&(e=0),i.isArray(o.value)?o.value[0]=e:o.value=e}function U(o,r){var e=g(r.get("color")),t=g(r.get(["aria","decal","decals"]));if(e){o=o||[];var a,n;i.each(o,function(u){var p=new f(u),c=p.get("color"),m=p.get("decal");(p.get(["itemStyle","color"])||c&&c!=="none")&&(a=!0),(p.get(["itemStyle","decal"])||m&&m!=="none")&&(n=!0)});var s=o[0]||(o[0]={});return a||(s.color=e.slice()),!n&&t&&(s.decal=t.slice()),o}}var q=T;export{q as default};
|
|
3
|
+
//# sourceMappingURL=TreemapSeries.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/TreemapView */
|
|
2
|
+
import{__extends as Dt}from"/tslib@2.3.0/es2022/tslib.mjs";import{bind as Q,each as E,indexOf as Gt,curry as At,extend as _t,normalizeCssArray as Ct,isFunction as ht}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as X from"../../util/graphic.mjs";import{getECData as ut}from"../../util/innerStore.mjs";import{isHighDownDispatcher as ft,setAsHighDownDispatcher as U,setDefaultStateProxy as vt,enableHoverFocus as pt,Z2_EMPHASIS_LIFT as tt}from"../../util/states.mjs";import Mt from"../../data/DataDiffer.mjs";import*as q from"../helper/treeHelper.mjs";import Rt from"./Breadcrumb.mjs";import Ht from"../../component/helper/RoamController.mjs";import Et from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import*as B from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import*as wt from"../../util/animation.mjs";import kt from"../../model/mixin/makeStyleMapper.mjs";import Nt from"../../view/Chart.mjs";import Wt from"/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs";import{makeInner as zt,convertOptionIdName as Ot}from"../../util/model.mjs";import{windowOpen as Ft}from"../../util/format.mjs";import{setLabelStyle as Pt,getLabelStatesModels as Bt}from"../../label/labelStyle.mjs";var $=X.Group,ct=X.Rect,gt=3,mt="label",yt="upperLabel",Vt=tt*10,Zt=tt*2,Xt=tt*3,P=kt([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),xt=function(G){var d=P(G);return d.stroke=d.fill=d.lineWidth=null,d},Y=zt(),Lt=function(G){Dt(d,G);function d(){var t=G!==null&&G.apply(this,arguments)||this;return t.type=d.type,t._state="ready",t._storage=L(),t}return d.prototype.render=function(t,r,i,n){var e=r.findComponents({mainType:"series",subType:"treemap",query:n});if(!(Gt(e,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=r;var f=["treemapZoomToNode","treemapRootToNode"],l=q.retrieveTargetInfo(n,f,t),s=n&&n.type,o=t.layoutInfo,S=!this._oldTree,m=this._storage,u=s==="treemapRootToNode"&&l&&m?{rootNodeGroup:m.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,T=this._giveContainerGroup(o),v=t.get("animation"),h=this._doRender(T,t,u);v&&!S&&(!s||s==="treemapZoomToNode"||s==="treemapRootToNode")?this._doAnimation(T,h,t,u):h.renderFinally(),this._resetController(i),this._renderBreadcrumb(t,i,l)}},d.prototype._giveContainerGroup=function(t){var r=this._containerGroup;return r||(r=this._containerGroup=new $,this._initEvents(r),this.group.add(r)),r.x=t.x,r.y=t.y,r},d.prototype._doRender=function(t,r,i){var n=r.getData().tree,e=this._oldTree,f=L(),l=L(),s=this._storage,o=[];function S(g,_,F,k){return Ut(r,l,s,i,f,o,g,_,F,k)}v(n.root?[n.root]:[],e&&e.root?[e.root]:[],t,n===e||!e,0);var m=h(s);if(this._oldTree=n,this._storage=l,this._controllerHost){var u=this.seriesModel.layoutInfo,T=n.root.getLayout();T.width===u.width&&T.height===u.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:f,willDeleteEls:m,renderFinally:A};function v(g,_,F,k,W){k?(_=g,E(g,function(H,O){!H.isRemoved()&&z(O,O)})):new Mt(_,g,R,R).add(z).update(z).remove(At(z,null)).execute();function R(H){return H.getId()}function z(H,O){var y=H!=null?g[H]:null,b=O!=null?_[O]:null,V=S(y,b,F,W);V&&v(y&&y.viewChildren||[],b&&b.viewChildren||[],V,k,W+1)}}function h(g){var _=L();return g&&E(g,function(F,k){var W=_[k];E(F,function(R){R&&(W.push(R),Y(R).willDelete=!0)})}),_}function A(){E(m,function(g){E(g,function(_){_.parent&&_.parent.remove(_)})}),E(o,function(g){g.invisible=!0,g.dirty()})}},d.prototype._doAnimation=function(t,r,i,n){var e=i.get("animationDurationUpdate"),f=i.get("animationEasing"),l=(ht(e)?0:e)||0,s=(ht(f)?null:f)||"cubicOut",o=wt.createWrap();E(r.willDeleteEls,function(S,m){E(S,function(u,T){if(!u.invisible){var v=u.parent,h,A=Y(v);if(n&&n.direction==="drillDown")h=v===n.rootNodeGroup?{shape:{x:0,y:0,width:A.nodeWidth,height:A.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var g=0,_=0;A.willDelete||(g=A.nodeWidth/2,_=A.nodeHeight/2),h=m==="nodeGroup"?{x:g,y:_,style:{opacity:0}}:{shape:{x:g,y:_,width:0,height:0},style:{opacity:0}}}h&&o.add(u,h,l,0,s)}})}),E(this._storage,function(S,m){E(S,function(u,T){var v=r.lastsForAnimation[m][T],h={};v&&(u instanceof X.Group?v.oldX!=null&&(h.x=u.x,h.y=u.y,u.x=v.oldX,u.y=v.oldY):(v.oldShape&&(h.shape=_t({},u.shape),u.setShape(v.oldShape)),v.fadein?(u.setStyle("opacity",0),h.style={opacity:1}):u.style.opacity!==1&&(h.style={opacity:1})),o.add(u,h,l,0,s))})},this),this._state="animating",o.finished(Q(function(){this._state="ready",r.renderFinally()},this)).start()},d.prototype._resetController=function(t){var r=this,i=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost);var e=this.seriesModel;i||(i=this._controller=new Ht(t.getZr()),i.on("pan",Q(this._onPan,this)),i.on("zoom",Q(this._onZoom,this))),i.enable(e.get("roam"),{api:t,zInfo:{component:e},triggerInfo:{roamTrigger:e.get("roamTrigger"),isInSelf:function(f,l,s){var o=r._containerGroup;return o?o.getBoundingRect().contain(l-o.x,s-o.y):!1}}}),n.zoomLimit=e.get("scaleLimit"),n.zoom=e.get("zoom")},d.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},d.prototype._onPan=function(t){if(this._state!=="animating"&&(Math.abs(t.dx)>gt||Math.abs(t.dy)>gt)){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},d.prototype._onZoom=function(t){var r=t.originX,i=t.originY,n=t.scale;if(this._state!=="animating"){var e=this.seriesModel.getData().tree.root;if(!e)return;var f=e.getLayout();if(!f)return;var l=new Et(f.x,f.y,f.width,f.height),s=null,o=this._controllerHost;s=o.zoomLimit;var S=o.zoom=o.zoom||1;if(S*=n,s){var m=s.min||0,u=s.max||1/0;S=Math.max(Math.min(u,S),m)}var T=S/o.zoom;o.zoom=S;var v=this.seriesModel.layoutInfo;r-=v.x,i-=v.y;var h=B.create();B.translate(h,h,[-r,-i]),B.scale(h,h,[T,T]),B.translate(h,h,[r,i]),l.applyTransform(h),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},d.prototype._initEvents=function(t){var r=this;t.on("click",function(i){if(r._state==="ready"){var n=r.seriesModel.get("nodeClick",!0);if(n){var e=r.findTarget(i.offsetX,i.offsetY);if(e){var f=e.node;if(f.getLayout().isLeafRoot)r._rootToNode(e);else if(n==="zoomToNode")r._zoomToNode(e);else if(n==="link"){var l=f.hostTree.data.getItemModel(f.dataIndex),s=l.get("link",!0),o=l.get("target",!0)||"blank";s&&Ft(s,o)}}}}},this)},d.prototype._renderBreadcrumb=function(t,r,i){var n=this;i||(i=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Rt(this.group))).render(t,r,i.node,function(e){n._state!=="animating"&&(q.aboveViewRoot(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))})},d.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},d.prototype.dispose=function(){this._clearController()},d.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},d.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},d.prototype.findTarget=function(t,r){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(e){var f=this._storage.background[e.getRawIndex()];if(f){var l=f.transformCoordToLocal(t,r),s=f.shape;if(s.x<=l[0]&&l[0]<=s.x+s.width&&s.y<=l[1]&&l[1]<=s.y+s.height)i={node:e,offsetX:l[0],offsetY:l[1]};else return!1}},this),i},d.type="treemap",d}(Nt);function L(){return{nodeGroup:[],background:[],content:[]}}function Ut(G,d,t,r,i,n,e,f,l,s){if(!e)return;var o=e.getLayout(),S=G.getData(),m=e.getModel();if(S.setItemGraphicEl(e.dataIndex,null),!o||!o.isInView)return;var u=o.width,T=o.height,v=o.borderWidth,h=o.invisible,A=e.getRawIndex(),g=f&&f.getRawIndex(),_=e.viewChildren,F=o.upperHeight,k=_&&_.length,W=m.getModel("itemStyle"),R=m.getModel(["emphasis","itemStyle"]),z=m.getModel(["blur","itemStyle"]),H=m.getModel(["select","itemStyle"]),O=W.get("borderRadius")||0,y=J("nodeGroup",$);if(!y)return;if(l.add(y),y.x=o.x||0,y.y=o.y||0,y.markRedraw(),Y(y).nodeWidth=u,Y(y).nodeHeight=T,o.isAboveViewRoot)return y;var b=J("background",ct,s,Zt);b&&It(y,b,k&&o.upperLabelHeight);var V=m.getModel("emphasis"),K=V.get("focus"),et=V.get("blurScope"),rt=V.get("disabled"),it=K==="ancestor"?e.getAncestorsIndices():K==="descendant"?e.getDescendantIndices():K;if(k)ft(y)&&U(y,!1),b&&(U(b,!rt),S.setItemGraphicEl(e.dataIndex,b),pt(b,it,et));else{var j=J("content",ct,s,Xt);j&&St(y,j),b.disableMorphing=!0,b&&ft(b)&&U(b,!1),U(y,!rt),S.setItemGraphicEl(e.dataIndex,y);var at=m.getShallow("cursor");at&&j.attr("cursor",at),pt(y,it,et)}return y;function It(p,a,w){var c=ut(a);if(c.dataIndex=e.dataIndex,c.seriesIndex=G.seriesIndex,a.setShape({x:0,y:0,width:u,height:T,r:O}),h)ot(a);else{a.invisible=!1;var x=e.getVisual("style"),D=x.stroke,C=xt(W);C.fill=D;var I=P(R);I.fill=R.get("borderColor");var M=P(z);M.fill=z.get("borderColor");var N=P(H);if(N.fill=H.get("borderColor"),w){var Z=u-2*v;nt(a,D,x.opacity,{x:v,y:0,width:Z,height:F})}else a.removeTextContent();a.setStyle(C),a.ensureState("emphasis").style=I,a.ensureState("blur").style=M,a.ensureState("select").style=N,vt(a)}p.add(a)}function St(p,a){var w=ut(a);w.dataIndex=e.dataIndex,w.seriesIndex=G.seriesIndex;var c=Math.max(u-2*v,0),x=Math.max(T-2*v,0);if(a.culling=!0,a.setShape({x:v,y:v,width:c,height:x,r:O}),h)ot(a);else{a.invisible=!1;var D=e.getVisual("style"),C=D.fill,I=xt(W);I.fill=C,I.decal=D.decal;var M=P(R),N=P(z),Z=P(H);nt(a,C,D.opacity,null),a.setStyle(I),a.ensureState("emphasis").style=M,a.ensureState("blur").style=N,a.ensureState("select").style=Z,vt(a)}p.add(a)}function ot(p){!p.invisible&&n.push(p)}function nt(p,a,w,c){var x=m.getModel(c?yt:mt),D=Ot(m.get("name"),null),C=x.getShallow("show");Pt(p,Bt(m,c?yt:mt),{defaultText:C?D:null,inheritColor:a,defaultOpacity:w,labelFetcher:G,labelDataIndex:e.dataIndex});var I=p.getTextContent();if(I){var M=I.style,N=Ct(M.padding||0);c&&(p.setTextConfig({layoutRect:c}),I.disableLabelLayout=!0),I.beforeUpdate=function(){var lt=Math.max((c?c.width:p.shape.width)-N[1]-N[3],0),dt=Math.max((c?c.height:p.shape.height)-N[0]-N[2],0);(M.width!==lt||M.height!==dt)&&I.setStyle({width:lt,height:dt})},M.truncateMinChar=2,M.lineOverflow="truncate",st(M,c,o);var Z=I.getState("emphasis");st(Z?Z.style:null,c,o)}}function st(p,a,w){var c=p?p.text:null;if(!a&&w.isLeafRoot&&c!=null){var x=G.get("drillDownIcon",!0);p.text=x?x+" "+c:c}}function J(p,a,w,c){var x=g!=null&&t[p][g],D=i[p];return x?(t[p][g]=null,Tt(D,x)):h||(x=new a,x instanceof Wt&&(x.z2=Yt(w,c)),bt(D,x)),d[p][A]=x}function Tt(p,a){var w=p[A]={};a instanceof $?(w.oldX=a.x,w.oldY=a.y):w.oldShape=_t({},a.shape)}function bt(p,a){var w=p[A]={},c=e.parentNode,x=a instanceof X.Group;if(c&&(!r||r.direction==="drillDown")){var D=0,C=0,I=i.background[c.getRawIndex()];!r&&I&&I.oldShape&&(D=I.oldShape.width,C=I.oldShape.height),x?(w.oldX=0,w.oldY=C):w.oldShape={x:D,y:C,width:0,height:0}}w.fadein=!x}}function Yt(G,d){return G*Vt+d}var le=Lt;export{le as default};
|
|
3
|
+
//# sourceMappingURL=TreemapView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/treemapLayout */
|
|
2
|
+
import*as R from"/zrender@6.0.0/es2022/lib/core/util.mjs";import z from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import{parsePercent as M,MAX_SAFE_INTEGER as U}from"../../util/number.mjs";import*as E from"../../util/layout.mjs";import*as A from"../helper/treeHelper.mjs";var T=Math.max,P=Math.min,b=R.retrieve,N=R.each,O=["itemStyle","borderWidth"],W=["itemStyle","gapWidth"],B=["upperLabel","show"],S=["upperLabel","height"],$={seriesType:"treemap",reset:function(a,u,r,i){var v=a.option,n=E.createBoxLayoutReference(a,r).refContainer,t=E.getLayoutRect(a.getBoxLayoutParams(),n),e=v.size||[],o=M(b(t.width,e[0]),n.width),f=M(b(t.height,e[1]),n.height),h=i&&i.type,x=["treemapZoomToNode","treemapRootToNode"],y=A.retrieveTargetInfo(i,x,a),L=h==="treemapRender"||h==="treemapMove"?i.rootRect:null,g=a.getViewRoot(),p=A.getPathToRoot(g);if(h!=="treemapMove"){var s=h==="treemapZoomToNode"?J(a,y,g,o,f):L?[L.width,L.height]:[o,f],m=v.sort;m&&m!=="asc"&&m!=="desc"&&(m="desc");var w={squareRatio:v.squareRatio,sort:m,leafDepth:v.leafDepth};g.hostTree.clearLayouts();var l={x:0,y:0,width:s[0],height:s[1],area:s[0]*s[1]};g.setLayout(l),_(g,w,!1,0),l=g.getLayout(),N(p,function(V,H){var I=(p[H+1]||g).getValue();V.setLayout(R.extend({dataExtent:[I,I],borderWidth:0,upperHeight:0},l))})}var c=a.getData().tree.root;c.setLayout(K(t,L,y),!0),a.setLayoutInfo(t),q(c,new z(-t.x,-t.y,r.getWidth(),r.getHeight()),p,g,0)}};function _(a,u,r,i){var v,n;if(!a.isRemoved()){var t=a.getLayout();v=t.width,n=t.height;var e=a.getModel(),o=e.get(O),f=e.get(W)/2,h=C(e),x=Math.max(o,h),y=o-f,L=x-f;a.setLayout({borderWidth:o,upperHeight:x,upperLabelHeight:h},!0),v=T(v-2*y,0),n=T(n-y-L,0);var g=v*n,p=Z(a,e,g,u,r,i);if(p.length){var s={x:y,y:L,width:v,height:n},m=P(v,n),w=1/0,l=[];l.area=0;for(var c=0,V=p.length;c<V;){var H=p[c];l.push(H),l.area+=H.getLayout().area;var I=k(l,m,u.squareRatio);I<=w?(c++,w=I):(l.area-=l.pop().getLayout().area,d(l,m,s,f,!1),m=P(s.width,s.height),l.length=l.area=0,w=1/0)}if(l.length&&d(l,m,s,f,!0),!r){var D=e.get("childrenVisibleMin");D!=null&&g<D&&(r=!0)}for(var c=0,V=p.length;c<V;c++)_(p[c],u,r,i+1)}}}function Z(a,u,r,i,v,n){var t=a.children||[],e=i.sort;e!=="asc"&&e!=="desc"&&(e=null);var o=i.leafDepth!=null&&i.leafDepth<=n;if(v&&!o)return a.viewChildren=[];t=R.filter(t,function(L){return!L.isRemoved()}),X(t,e);var f=j(u,t,e);if(f.sum===0)return a.viewChildren=[];if(f.sum=G(u,r,f.sum,e,t),f.sum===0)return a.viewChildren=[];for(var h=0,x=t.length;h<x;h++){var y=t[h].getValue()/f.sum*r;t[h].setLayout({area:y})}return o&&(t.length&&a.setLayout({isLeafRoot:!0},!0),t.length=0),a.viewChildren=t,a.setLayout({dataExtent:f.dataExtent},!0),t}function G(a,u,r,i,v){if(!i)return r;for(var n=a.get("visibleMin"),t=v.length,e=t,o=t-1;o>=0;o--){var f=v[i==="asc"?t-o-1:o].getValue();f/r*u<n&&(e=o,r-=f)}return i==="asc"?v.splice(0,t-e):v.splice(e,t-e),r}function X(a,u){return u&&a.sort(function(r,i){var v=u==="asc"?r.getValue()-i.getValue():i.getValue()-r.getValue();return v===0?u==="asc"?r.dataIndex-i.dataIndex:i.dataIndex-r.dataIndex:v}),a}function j(a,u,r){for(var i=0,v=0,n=u.length;v<n;v++)i+=u[v].getValue();var t=a.get("visualDimension"),e;return!u||!u.length?e=[NaN,NaN]:t==="value"&&r?(e=[u[u.length-1].getValue(),u[0].getValue()],r==="asc"&&e.reverse()):(e=[1/0,-1/0],N(u,function(o){var f=o.getValue(t);f<e[0]&&(e[0]=f),f>e[1]&&(e[1]=f)})),{sum:i,dataExtent:e}}function k(a,u,r){for(var i=0,v=1/0,n=0,t=void 0,e=a.length;n<e;n++)t=a[n].getLayout().area,t&&(t<v&&(v=t),t>i&&(i=t));var o=a.area*a.area,f=u*u*r;return o?T(f*i/o,o/(f*v)):1/0}function d(a,u,r,i,v){var n=u===r.width?0:1,t=1-n,e=["x","y"],o=["width","height"],f=r[e[n]],h=u?a.area/u:0;(v||h>r[o[t]])&&(h=r[o[t]]);for(var x=0,y=a.length;x<y;x++){var L=a[x],g={},p=h?L.getLayout().area/h:0,s=g[o[t]]=T(h-2*i,0),m=r[e[n]]+r[o[n]]-f,w=x===y-1||m<p?m:p,l=g[o[n]]=T(w-2*i,0);g[e[t]]=r[e[t]]+P(i,s/2),g[e[n]]=f+P(i,l/2),f+=w,L.setLayout(g,!0)}r[e[t]]+=h,r[o[t]]-=h}function J(a,u,r,i,v){var n=(u||{}).node,t=[i,v];if(!n||n===r)return t;for(var e,o=i*v,f=o*a.option.zoomToNodeRatio;e=n.parentNode;){for(var h=0,x=e.children,y=0,L=x.length;y<L;y++)h+=x[y].getValue();var g=n.getValue();if(g===0)return t;f*=h/g;var p=e.getModel(),s=p.get(O),m=Math.max(s,C(p));f+=4*s*s+(3*s+m)*Math.pow(f,.5),f>U&&(f=U),n=e}f<o&&(f=o);var w=Math.pow(f/o,.5);return[i*w,v*w]}function K(a,u,r){if(u)return{x:u.x,y:u.y};var i={x:0,y:0};if(!r)return i;var v=r.node,n=v.getLayout();if(!n)return i;for(var t=[n.width/2,n.height/2],e=v;e;){var o=e.getLayout();t[0]+=o.x,t[1]+=o.y,e=e.parentNode}return{x:a.width/2-t[0],y:a.height/2-t[1]}}function q(a,u,r,i,v){var n=a.getLayout(),t=r[v],e=t&&t===a;if(!(t&&!e||v===r.length&&a!==i)){a.setLayout({isInView:!0,invisible:!e&&!u.intersect(n),isAboveViewRoot:e},!0);var o=new z(u.x-n.x,u.y-n.y,u.width,u.height);N(a.viewChildren||[],function(f){q(f,o,r,i,v+1)})}}function C(a){return a.get(B)?a.get(S):0}export{$ as default};
|
|
3
|
+
//# sourceMappingURL=treemapLayout.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/treemapVisual */
|
|
2
|
+
import T from"../../visual/VisualMapping.mjs";import{each as V,extend as x,isArray as E}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{modifyHSL as I,modifyAlpha as L}from"/zrender@6.0.0/es2022/lib/tool/color.mjs";import{makeInner as A}from"../../util/model.mjs";var B="itemStyle",S=A(),U={seriesType:"treemap",reset:function(t){var r=t.getData().tree,e=r.root;e.isRemoved()||h(e,{},t.getViewRoot().getAncestors(),t)}};function h(t,r,e,n){var l=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(!(!a||a.invisible||!a.isInView)){var i=l.getModel(B),u=D(i,r,n),v=o.ensureUniqueItemVisual(t.dataIndex,"style"),p=i.get("borderColor"),f=i.get("borderColorSaturation"),g;f!=null&&(g=y(u),p=k(f,g)),v.stroke=p;var d=t.viewChildren;if(!d||!d.length)g=y(u),v.fill=g;else{var C=w(t,l,a,i,u,d);V(d,function(c,M){if(c.depth>=e.length||c===e[c.depth]){var b=R(l,u,c,M,C,n);h(c,b,e,n)}})}}}function D(t,r,e){var n=x({},r),l=e.designatedVisualItemStyle;return V(["color","colorAlpha","colorSaturation"],function(a){l[a]=r[a];var o=t.get(a);l[a]=null,o!=null&&(n[a]=o)}),n}function y(t){var r=s(t,"color");if(r){var e=s(t,"colorAlpha"),n=s(t,"colorSaturation");return n&&(r=I(r,null,null,n)),e&&(r=L(r,e)),r}}function k(t,r){return r!=null?I(r,null,null,t):null}function s(t,r){var e=t[r];if(e!=null&&e!=="none")return e}function w(t,r,e,n,l,a){if(!(!a||!a.length)){var o=m(r,"color")||l.color!=null&&l.color!=="none"&&(m(r,"colorAlpha")||m(r,"colorSaturation"));if(o){var i=r.get("visualMin"),u=r.get("visualMax"),v=e.dataExtent.slice();i!=null&&i<v[0]&&(v[0]=i),u!=null&&u>v[1]&&(v[1]=u);var p=r.get("colorMappingBy"),f={type:o.name,dataExtent:v,visual:o.range};f.type==="color"&&(p==="index"||p==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var g=new T(f);return S(g).drColorMappingBy=p,g}}}function m(t,r){var e=t.get(r);return E(e)&&e.length?{name:r,range:e}:null}function R(t,r,e,n,l,a){var o=x({},r);if(l){var i=l.type,u=i==="color"&&S(l).drColorMappingBy,v=u==="index"?n:u==="id"?a.mapIdToIndex(e.getId()):e.getValue(t.get("visualDimension"));o[i]=l.mapValueToVisual(v)}return o}export{U as default};
|
|
3
|
+
//# sourceMappingURL=treemapVisual.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/aria/preprocessor */
|
|
2
|
+
import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";function i(a){if(!(!a||!a.aria)){var r=a.aria;r.show!=null&&(r.enabled=r.show),r.label=r.label||{},e.each(["description","general","series","data"],function(l){r[l]!=null&&(r.label[l]=r[l])})}}export{i as default};
|
|
3
|
+
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/AngleAxisView */
|
|
2
|
+
import{__extends as C}from"/tslib@2.3.0/es2022/tslib.mjs";import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as g from"../../util/graphic.mjs";import{createTextStyle as U}from"../../label/labelStyle.mjs";import V from"../../model/Model.mjs";import R from"./AxisView.mjs";import z from"./AxisBuilder.mjs";import{getECData as B}from"../../util/innerStore.mjs";var D=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function A(n,e,t){e[1]>e[0]&&(e=e.slice().reverse());var d=n.coordToPoint([e[0],t]),l=n.coordToPoint([e[1],t]);return{x1:d[0],y1:d[1],x2:l[0],y2:l[1]}}function M(n){var e=n.getRadiusAxis();return e.inverse?0:1}function b(n){var e=n[0],t=n[n.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&n.pop()}var N=function(n){C(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,d){if(this.group.removeAll(),!!t.get("show")){var l=t.axis,s=l.polar,v=s.getRadiusAxis().getExtent(),c=l.getTicksCoords({breakTicks:"none"}),i=l.getMinorTicksCoords(),o=f.map(l.getViewLabels(),function(r){r=f.clone(r);var a=l.scale,h=a.type==="ordinal"?a.getRawOrdinalNumber(r.tickValue):r.tickValue;return r.coord=l.dataToCoord(h),r});b(o),b(c),f.each(D,function(r){t.get([r,"show"])&&(!l.scale.isBlank()||r==="axisLine")&&O[r](this.group,t,s,c,i,v,o)},this)}},e.type="angleAxis",e}(R),O={axisLine:function(n,e,t,d,l,s){var v=e.getModel(["axisLine","lineStyle"]),c=t.getAngleAxis(),i=Math.PI/180,o=c.getExtent(),r=M(t),a=r?0:1,h,p=Math.abs(o[1]-o[0])===360?"Circle":"Arc";s[a]===0?h=new g[p]({shape:{cx:t.cx,cy:t.cy,r:s[r],startAngle:-o[0]*i,endAngle:-o[1]*i,clockwise:c.inverse},style:v.getLineStyle(),z2:1,silent:!0}):h=new g.Ring({shape:{cx:t.cx,cy:t.cy,r:s[r],r0:s[a]},style:v.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,n.add(h)},axisTick:function(n,e,t,d,l,s){var v=e.getModel("axisTick"),c=(v.get("inside")?-1:1)*v.get("length"),i=s[M(t)],o=f.map(d,function(r){return new g.Line({shape:A(t,[i,i+c],r.coord)})});n.add(g.mergePath(o,{style:f.defaults(v.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(n,e,t,d,l,s){if(l.length){for(var v=e.getModel("axisTick"),c=e.getModel("minorTick"),i=(v.get("inside")?-1:1)*c.get("length"),o=s[M(t)],r=[],a=0;a<l.length;a++)for(var h=0;h<l[a].length;h++)r.push(new g.Line({shape:A(t,[o,o+i],l[a][h].coord)}));n.add(g.mergePath(r,{style:f.defaults(c.getModel("lineStyle").getLineStyle(),f.defaults(v.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(n,e,t,d,l,s,v){var c=e.getCategories(!0),i=e.getModel("axisLabel"),o=i.get("margin"),r=e.get("triggerEvent");f.each(v,function(a,h){var p=i,S=a.tickValue,y=s[M(t)],u=t.coordToPoint([y+o,a.coord]),L=t.cx,m=t.cy,x=Math.abs(u[0]-L)/y<.3?"center":u[0]>L?"left":"right",P=Math.abs(u[1]-m)/y<.3?"middle":u[1]>m?"top":"bottom";if(c&&c[S]){var T=c[S];f.isObject(T)&&T.textStyle&&(p=new V(T.textStyle,i,i.ecModel))}var k=new g.Text({silent:z.isLabelSilent(e),style:U(p,{x:u[0],y:u[1],fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:x,verticalAlign:P})});if(n.add(k),g.setTooltipConfig({el:k,componentModel:e,itemName:a.formattedLabel,formatterParamsExtra:{isTruncated:function(){return k.isTruncated},value:a.rawLabel,tickIndex:h}}),r){var w=z.makeAxisEventDataBase(e);w.targetType="axisLabel",w.value=a.rawLabel,B(k).eventData=w}},this)},splitLine:function(n,e,t,d,l,s){var v=e.getModel("splitLine"),c=v.getModel("lineStyle"),i=c.get("color"),o=0;i=i instanceof Array?i:[i];for(var r=[],a=0;a<d.length;a++){var h=o++%i.length;r[h]=r[h]||[],r[h].push(new g.Line({shape:A(t,s,d[a].coord)}))}for(var a=0;a<r.length;a++)n.add(g.mergePath(r[a],{style:f.defaults({stroke:i[a%i.length]},c.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(n,e,t,d,l,s){if(l.length){for(var v=e.getModel("minorSplitLine"),c=v.getModel("lineStyle"),i=[],o=0;o<l.length;o++)for(var r=0;r<l[o].length;r++)i.push(new g.Line({shape:A(t,s,l[o][r].coord)}));n.add(g.mergePath(i,{style:c.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(n,e,t,d,l,s){if(d.length){var v=e.getModel("splitArea"),c=v.getModel("areaStyle"),i=c.get("color"),o=0;i=i instanceof Array?i:[i];for(var r=[],a=Math.PI/180,h=-d[0].coord*a,p=Math.min(s[0],s[1]),S=Math.max(s[0],s[1]),y=e.get("clockwise"),u=1,L=d.length;u<=L;u++){var m=u===L?d[0].coord:d[u].coord,x=o++%i.length;r[x]=r[x]||[],r[x].push(new g.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:S,startAngle:h,endAngle:-m*a,clockwise:y},silent:!0})),h=-m*a}for(var u=0;u<r.length;u++)n.add(g.mergePath(r[u],{style:f.defaults({fill:i[u%i.length]},c.getAreaStyle()),silent:!0}))}}},H=N;export{H as default};
|
|
3
|
+
//# sourceMappingURL=AngleAxisView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/AxisBuilder */
|
|
2
|
+
import{retrieve as ee,defaults as te,extend as ie,each as I,isObject as Te,isString as ne,isNumber as Ae,isFunction as Ee,retrieve2 as _,map as _e,retrieve3 as we,filter as Oe}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as h from"../../util/graphic.mjs";import{getECData as ce}from"../../util/innerStore.mjs";import{createTextStyle as fe}from"../../label/labelStyle.mjs";import Se from"../../model/Model.mjs";import{isRadianAroundZero as K,remRadian as me}from"../../util/number.mjs";import{createSymbol as Ne,normalizeSymbolOffset as De}from"../../util/symbol.mjs";import*as w from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import{applyTransform as q}from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import{isNameLocationCenter as Y,shouldShowAllLabels as Re}from"../../coord/axisHelper.mjs";import{hideOverlap as Ce,labelIntersect as pe,computeLabelGeometry2 as Be,ensureLabelLayoutWithGeometry as C,labelLayoutApplyTranslation as Ve,setLabelLayoutDirty as Me,newLabelLayoutWithGeometry as oe}from"../../label/labelLayoutHelper.mjs";import{makeInner as de}from"../../util/model.mjs";import{getAxisBreakHelper as ge}from"./axisBreakHelper.mjs";import{AXIS_BREAK_EXPAND_ACTION_TYPE as Ie}from"./axisAction.mjs";import{getScaleBreakHelper as Ge}from"../../scale/break.mjs";import z from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import F from"/zrender@6.0.0/es2022/lib/core/Point.mjs";import{copyTransform as le}from"/zrender@6.0.0/es2022/lib/core/Transformable.mjs";import{AxisTickLabelComputingKind as se,createAxisLabelsComputingContext as Pe}from"../../coord/axisTickLabelBuilder.mjs";var R=Math.PI,Ue=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],ze=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],H=de(),he=de(),We=function(){function t(a){this.recordMap={},this.resolveAxisNameOverlap=a}return t.prototype.ensureRecord=function(a){var o=a.axis.dim,e=a.componentIndex,r=this.recordMap,i=r[o]||(r[o]=[]);return i[e]||(i[e]={ready:{}})},t}();function Fe(t,a,o,e){var r=o.axis,i=a.ensureRecord(o),n=[],s,l=re(t.axisName)&&Y(t.nameLocation);I(e,function(T){var d=C(T);if(!(!d||d.label.ignore)){n.push(d);var A=i.transGroup;l&&(A.transform?w.invert(U,A.transform):w.identity(U),d.transform&&w.mul(U,U,d.transform),z.copy(X,d.localRect),X.applyTransform(U),s?s.union(X):z.copy(s=new z(0,0,0,0),X))}});var c=Math.abs(i.dirVec.x)>.1?"x":"y",v=i.transGroup[c];if(n.sort(function(T,d){return Math.abs(T.label[c]-v)-Math.abs(d.label[c]-v)}),l&&s){var u=r.getExtent(),m=Math.min(u[0],u[1]),p=Math.max(u[0],u[1])-m;s.union(new z(m,0,p,1))}i.stOccupiedRect=s,i.labelInfoList=n}var U=w.create(),X=new z(0,0,0,0),He=function(t,a,o,e,r,i){if(Y(t.nameLocation)){var n=i.stOccupiedRect;n&&xe(Be({},n,i.transGroup.transform),e,r)}else je(i.labelInfoList,i.dirVec,e,r)};function xe(t,a,o){var e=new F;pe(t,a,e,{direction:Math.atan2(o.y,o.x),bidirectional:!1,touchThreshold:.05})&&Ve(a,e)}function je(t,a,o,e){for(var r=F.dot(e,a)>=0,i=0,n=t.length;i<n;i++){var s=t[r?i:n-1-i];s.label.ignore||xe(s,o,e)}}var M=function(){function t(a,o,e,r){this.group=new h.Group,this._axisModel=a,this._api=o,this._local={},this._shared=r||new We(He),this._resetCfgDetermined(e)}return t.prototype.updateCfg=function(a){if(0)var o;var e=this._cfg.raw;e.position=a.position,e.labelOffset=a.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(a){var o=this._axisModel,e=o.getDefaultOption?o.getDefaultOption():{},r=_(a.axisName,o.get("name")),i=o.get("nameMoveOverlap");(i==null||i==="auto")&&(i=_(a.defaultNameMoveOverlap,!0));var n={raw:a,position:a.position,rotation:a.rotation,nameDirection:_(a.nameDirection,1),tickDirection:_(a.tickDirection,1),labelDirection:_(a.labelDirection,1),labelOffset:_(a.labelOffset,0),silent:_(a.silent,!0),axisName:r,nameLocation:we(o.get("nameLocation"),e.nameLocation,"end"),shouldNameMoveOverlap:re(r)&&i,optionHideOverlap:o.get(["axisLabel","hideOverlap"]),showMinorTicks:o.get(["minorTick","show"])};this._cfg=n;var s=new h.Group({x:n.position[0],y:n.position[1],rotation:n.rotation});s.updateTransform(),this._transformGroup=s;var l=this._shared.ensureRecord(o);l.transGroup=this._transformGroup,l.dirVec=new F(Math.cos(-n.rotation),Math.sin(-n.rotation))},t.prototype.build=function(a,o){var e=this;return a||(a={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),I(Xe,function(r){a[r]&&Ke[r](e._cfg,e._local,e._shared,e._axisModel,e.group,e._transformGroup,e._api,o||{})}),this},t.innerTextLayout=function(a,o,e){var r=me(o-a),i,n;return K(r)?(n=e>0?"top":"bottom",i="center"):K(r-R)?(n=e>0?"bottom":"top",i="center"):(n="middle",r>0&&r<R?i=e>0?"right":"left":i=e>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:n}},t.makeAxisEventDataBase=function(a){var o={componentType:a.mainType,componentIndex:a.componentIndex};return o[a.mainType+"Index"]=a.componentIndex,o},t.isLabelSilent=function(a){var o=a.get("tooltip");return a.get("silent")||!(a.get("triggerEvent")||o&&o.show)},t}(),Xe=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],Ke={axisLine:function(t,a,o,e,r,i,n){if(0)var s;var l=e.get(["axisLine","show"]);if(l==="auto"&&(l=!0,t.raw.axisLineAutoShow!=null&&(l=!!t.raw.axisLineAutoShow)),!!l){var c=e.axis.getExtent(),v=i.transform,u=[c[0],0],m=[c[1],0],p=u[0]>m[0];v&&(q(u,u,v),q(m,m,v));var T=ie({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:T};if(e.get(["axisLine","breakLine"])&&e.axis.scale.hasBreaks())ge().buildAxisBreakLine(e,r,i,d);else{var A=new h.Line(ie({shape:{x1:u[0],y1:u[1],x2:m[0],y2:m[1]}},d));h.subPixelOptimizeLine(A.shape,A.style.lineWidth),A.anid="line",r.add(A)}var g=e.get(["axisLine","symbol"]);if(g!=null){var x=e.get(["axisLine","symbolSize"]);ne(g)&&(g=[g,g]),(ne(x)||Ae(x))&&(x=[x,x]);var B=De(e.get(["axisLine","symbolOffset"])||0,x),f=x[0],L=x[1];I([{rotate:t.rotation+Math.PI/2,offset:B[0],r:0},{rotate:t.rotation-Math.PI/2,offset:B[1],r:Math.sqrt((u[0]-m[0])*(u[0]-m[0])+(u[1]-m[1])*(u[1]-m[1]))}],function(y,E){if(g[E]!=="none"&&g[E]!=null){var S=Ne(g[E],-f/2,-L/2,f,L,T.stroke,!0),N=y.r+y.offset,k=p?m:u;S.attr({rotation:y.rotate,x:k[0]+N*Math.cos(t.rotation),y:k[1]-N*Math.sin(t.rotation),silent:!0,z2:11}),r.add(S)}})}}},axisTickLabelEstimate:function(t,a,o,e,r,i,n,s){if(0)var l;var c=ve(a,r,s);c&&ue(t,a,o,e,r,i,n,se.estimate)},axisTickLabelDetermine:function(t,a,o,e,r,i,n,s){if(0)var l;var c=ve(a,r,s);c&&ue(t,a,o,e,r,i,n,se.determine);var v=Je(t,r,i,e);Ze(t,a.labelLayoutList,v),Qe(t,r,i,e,t.tickDirection)},axisName:function(t,a,o,e,r,i,n,s){var l=o.ensureRecord(e);if(0)var c;a.nameEl&&(r.remove(a.nameEl),a.nameEl=l.nameLayout=l.nameLocation=null);var v=t.axisName;if(re(v)){var u=t.nameLocation,m=t.nameDirection,p=e.getModel("nameTextStyle"),T=e.get("nameGap")||0,d=e.axis.getExtent(),A=e.axis.inverse?-1:1,g=new F(0,0),x=new F(0,0);u==="start"?(g.x=d[0]-A*T,x.x=-A):u==="end"?(g.x=d[1]+A*T,x.x=A):(g.x=(d[0]+d[1])/2,g.y=t.labelOffset+m*T,x.y=m);var B=w.create();x.transform(w.rotate(B,B,t.rotation));var f=e.get("nameRotate");f!=null&&(f=f*R/180);var L,y;Y(u)?L=M.innerTextLayout(t.rotation,f??t.rotation,m):(L=qe(t.rotation,u,f||0,d),y=t.raw.axisNameAvailableWidth,y!=null&&(y=Math.abs(y/Math.sin(L.rotation)),!isFinite(y)&&(y=null)));var E=p.getFont(),S=e.get("nameTruncate",!0)||{},N=S.ellipsis,k=ee(t.raw.nameTruncateMaxWidth,S.maxWidth,y),G=s.nameMarginLevel||0,b=new h.Text({x:g.x,y:g.y,rotation:L.rotation,silent:M.isLabelSilent(e),style:fe(p,{text:v,font:E,overflow:"truncate",width:k,ellipsis:N,fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:p.get("align")||L.textAlign,verticalAlign:p.get("verticalAlign")||L.textVerticalAlign}),z2:1});if(h.setTooltipConfig({el:b,componentModel:e,itemName:v}),b.__fullText=v,b.anid="name",e.get("triggerEvent")){var V=M.makeAxisEventDataBase(e);V.targetType="axisName",V.name=v,ce(b).eventData=V}i.add(b),b.updateTransform(),a.nameEl=b;var j=l.nameLayout=C({label:b,priority:b.z2,defaultAttr:{ignore:b.ignore},marginDefault:Y(u)?Ue[G]:ze[G]});if(l.nameLocation=u,r.add(b),b.decomposeTransform(),t.shouldNameMoveOverlap&&j){var Z=o.ensureRecord(e);o.resolveAxisNameOverlap(t,o,e,j,x,Z)}}}};function ue(t,a,o,e,r,i,n,s){be(a)||$e(t,a,r,s,e,n);var l=a.labelLayoutList;et(t,e,l,i),rt(e,t.rotation,l);var c=t.optionHideOverlap;Ye(e,l,c),c&&Ce(Oe(l,function(v){return v&&!v.label.ignore})),Fe(t,o,e,l)}function qe(t,a,o,e){var r=me(o-t),i,n,s=e[0]>e[1],l=a==="start"&&!s||a!=="start"&&s;return K(r-R/2)?(n=l?"bottom":"top",i="center"):K(r-R*1.5)?(n=l?"top":"bottom",i="center"):(n="middle",r<R*1.5&&r>R/2?i=l?"left":"right":i=l?"right":"left"),{rotation:r,textAlign:i,textVerticalAlign:n}}function Ye(t,a,o){if(Re(t.axis))return;function e(s,l,c){var v=C(a[l]),u=C(a[c]);if(!(!v||!u)){if(s===!1||v.suggestIgnore){W(v.label);return}if(u.suggestIgnore){W(u.label);return}var m=.1;if(!o){var p=[0,0,0,0];v=oe({marginForce:p},v),u=oe({marginForce:p},u)}pe(v,u,null,{touchThreshold:m})&&W(s?u.label:v.label)}}var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]),n=a.length;e(r,0,1),e(i,n-1,n-2)}function Ze(t,a,o){t.showMinorTicks||I(a,function(e){if(e&&e.label.ignore)for(var r=0;r<o.length;r++){var i=o[r],n=he(i),s=H(e.label);if(n.tickValue!=null&&!n.onBand&&n.tickValue===s.tickValue){W(i);return}}})}function W(t){t&&(t.ignore=!0)}function Le(t,a,o,e,r){for(var i=[],n=[],s=[],l=0;l<t.length;l++){var c=t[l].coord;n[0]=c,n[1]=0,s[0]=c,s[1]=o,a&&(q(n,n,a),q(s,s,a));var v=new h.Line({shape:{x1:n[0],y1:n[1],x2:s[0],y2:s[1]},style:e,z2:2,autoBatch:!0,silent:!0});h.subPixelOptimizeLine(v.shape,v.style.lineWidth),v.anid=r+"_"+t[l].tickValue,i.push(v);var u=he(v);u.onBand=!!t[l].onBand,u.tickValue=t[l].tickValue}return i}function Je(t,a,o,e){var r=e.axis,i=e.getModel("axisTick"),n=i.get("show");if(n==="auto"&&(n=!0,t.raw.axisTickAutoShow!=null&&(n=!!t.raw.axisTickAutoShow)),!n||r.scale.isBlank())return[];for(var s=i.getModel("lineStyle"),l=t.tickDirection*i.get("length"),c=r.getTicksCoords(),v=Le(c,o.transform,l,te(s.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<v.length;u++)a.add(v[u]);return v}function Qe(t,a,o,e,r){var i=e.axis,n=e.getModel("minorTick");if(!(!t.showMinorTicks||i.scale.isBlank())){var s=i.getMinorTicksCoords();if(s.length)for(var l=n.getModel("lineStyle"),c=r*n.get("length"),v=te(l.getLineStyle(),te(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),u=0;u<s.length;u++)for(var m=Le(s[u],o.transform,c,v,"minorticks_"+u),p=0;p<m.length;p++)a.add(m[p])}}function ve(t,a,o){if(be(t)){var e=t.axisLabelsCreationContext,r=e.out.noPxChangeTryDetermine;if(o.noPxChange){for(var i=!0,n=0;n<r.length;n++)i=i&&r[n]();if(i)return!1}r.length&&(a.remove(t.labelGroup),ae(t,null,null,null))}return!0}function $e(t,a,o,e,r,i){var n=r.axis,s=ee(t.raw.axisLabelShow,r.get(["axisLabel","show"])),l=new h.Group;o.add(l);var c=Pe(e);if(!s||n.scale.isBlank()){ae(a,[],l,c);return}var v=r.getModel("axisLabel"),u=n.getViewLabels(c),m=(ee(t.raw.labelRotate,v.get("rotate"))||0)*R/180,p=M.innerTextLayout(t.rotation,m,t.labelDirection),T=r.getCategories&&r.getCategories(!0),d=[],A=r.get("triggerEvent"),g=1/0,x=-1/0;I(u,function(f,L){var y,E=n.scale.type==="ordinal"?n.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,S=f.formattedLabel,N=f.rawLabel,k=v;if(T&&T[E]){var G=T[E];Te(G)&&G.textStyle&&(k=new Se(G.textStyle,v,r.ecModel))}var b=k.getTextColor()||r.get(["axisLine","lineStyle","color"]),V=k.getShallow("align",!0)||p.textAlign,j=_(k.getShallow("alignMinLabel",!0),V),Z=_(k.getShallow("alignMaxLabel",!0),V),J=k.getShallow("verticalAlign",!0)||k.getShallow("baseline",!0)||p.textVerticalAlign,ye=_(k.getShallow("verticalAlignMinLabel",!0),J),ke=_(k.getShallow("verticalAlignMaxLabel",!0),J),Q=10+(((y=f.time)===null||y===void 0?void 0:y.level)||0);g=Math.min(g,Q),x=Math.max(x,Q);var D=new h.Text({x:0,y:0,rotation:0,silent:M.isLabelSilent(r),z2:Q,style:fe(k,{text:S,align:L===0?j:L===u.length-1?Z:V,verticalAlign:L===0?ye:L===u.length-1?ke:J,fill:Ee(b)?b(n.type==="category"?N:n.type==="value"?E+"":E,L):b})});D.anid="label_"+E;var $=H(D);if($.break=f.break,$.tickValue=E,$.layoutRotation=p.rotation,h.setTooltipConfig({el:D,componentModel:r,itemName:S,formatterParamsExtra:{isTruncated:function(){return D.isTruncated},value:N,tickIndex:L}}),A){var P=M.makeAxisEventDataBase(r);P.targetType="axisLabel",P.value=N,P.tickIndex=L,f.break&&(P.break={start:f.break.parsedBreak.vmin,end:f.break.parsedBreak.vmax}),n.type==="category"&&(P.dataIndex=E),ce(D).eventData=P,f.break&&at(r,i,D,f.break)}d.push(D),l.add(D)});var B=_e(d,function(f){return{label:f,priority:H(f).break?f.z2+(x-g+1):f.z2,defaultAttr:{ignore:f.ignore}}});ae(a,B,l,c)}function be(t){return!!t.labelLayoutList}function ae(t,a,o,e){t.labelLayoutList=a,t.labelGroup=o,t.axisLabelsCreationContext=e}function et(t,a,o,e){var r=a.get(["axisLabel","margin"]);I(o,function(i,n){var s=C(i);if(s){var l=s.label,c=H(l);s.suggestIgnore=l.ignore,l.ignore=!1,le(O,tt),O.x=a.axis.dataToCoord(c.tickValue),O.y=t.labelOffset+t.labelDirection*r,O.rotation=c.layoutRotation,e.add(O),O.updateTransform(),e.remove(O),O.decomposeTransform(),le(l,O),l.markRedraw(),Me(s,!0),C(s)}})}var O=new h.Rect,tt=new h.Rect;function re(t){return!!t}function at(t,a,o,e){o.on("click",function(r){var i={type:Ie,breaks:[{start:e.parsedBreak.breakOption.start,end:e.parsedBreak.breakOption.end}]};i[t.axis.dim+"AxisIndex"]=t.componentIndex,a.dispatchAction(i)})}function rt(t,a,o){var e=Ge();if(e){var r=e.retrieveAxisBreakPairs(o,function(n){return n&&H(n.label).break},!0),i=t.get(["breakLabelLayout","moveOverlap"],!0);(i===!0||i==="auto")&&I(r,function(n){ge().adjustBreakLabelPair(t.axis.inverse,a,[C(o[n[0]]),C(o[n[1]])])})}}var kt=M;export{We as AxisBuilderSharedContext,kt as default,H as getLabelInner,je as moveIfOverlapByLinearLabels,He as resolveAxisNameOverlapDefault};
|
|
3
|
+
//# sourceMappingURL=AxisBuilder.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/CartesianAxisView */
|
|
2
|
+
import{__extends as S}from"/tslib@2.3.0/es2022/tslib.mjs";import*as y from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as h from"../../util/graphic.mjs";import G from"./AxisView.mjs";import{rectCoordAxisBuildSplitArea as V,rectCoordAxisHandleRemove as _}from"./axisSplitHelper.mjs";import{getAxisBreakHelper as b}from"./axisBreakHelper.mjs";import{shouldAxisShow as k}from"../../coord/axisHelper.mjs";var H=["splitArea","splitLine","minorSplitLine","breakArea"],L=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="CartesianAxisPointer",i}return e.prototype.render=function(i,u,c,t){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!!k(i)){this._axisGroup.add(i.axis.axisBuilder.group),y.each(H,function(a){i.get([a,"show"])&&R[a](this,this._axisGroup,i,i.getCoordSysModel(),c)},this);var g=t&&t.type==="changeAxisOrder"&&t.isInitSort;g||h.groupTransition(l,this._axisGroup,i),r.prototype.render.call(this,i,u,c,t)}},e.prototype.remove=function(){_(this)},e.type="cartesianAxis",e}(G),R={splitLine:function(r,e,i,u,c){var t=i.axis;if(!t.scale.isBlank()){var l=i.getModel("splitLine"),g=l.getModel("lineStyle"),a=g.get("color"),w=l.get("showMinLine")!==!1,x=l.get("showMaxLine")!==!1;a=y.isArray(a)?a:[a];for(var n=u.coordinateSystem.getRect(),v=t.isHorizontal(),m=0,p=t.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),o=[],s=[],f=g.getLineStyle(),d=0;d<p.length;d++){var A=t.toGlobalCoord(p[d].coord);if(!(d===0&&!w||d===p.length-1&&!x)){var B=p[d].tickValue;v?(o[0]=A,o[1]=n.y,s[0]=A,s[1]=n.y+n.height):(o[0]=n.x,o[1]=A,s[0]=n.x+n.width,s[1]=A);var z=m++%a.length,C=new h.Line({anid:B!=null?"line_"+B:null,autoBatch:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:y.defaults({stroke:a[z]},f),silent:!0});h.subPixelOptimizeLine(C.shape,f.lineWidth),e.add(C)}}}},minorSplitLine:function(r,e,i,u,c){var t=i.axis,l=i.getModel("minorSplitLine"),g=l.getModel("lineStyle"),a=u.coordinateSystem.getRect(),w=t.isHorizontal(),x=t.getMinorTicksCoords();if(x.length)for(var n=[],v=[],m=g.getLineStyle(),p=0;p<x.length;p++)for(var o=0;o<x[p].length;o++){var s=t.toGlobalCoord(x[p][o].coord);w?(n[0]=s,n[1]=a.y,v[0]=s,v[1]=a.y+a.height):(n[0]=a.x,n[1]=s,v[0]=a.x+a.width,v[1]=s);var f=new h.Line({anid:"minor_line_"+x[p][o].tickValue,autoBatch:!0,shape:{x1:n[0],y1:n[1],x2:v[0],y2:v[1]},style:m,silent:!0});h.subPixelOptimizeLine(f.shape,m.lineWidth),e.add(f)}},splitArea:function(r,e,i,u,c){V(r,e,i,u)},breakArea:function(r,e,i,u,c){var t=b(),l=i.axis.scale;t&&l.type!=="ordinal"&&t.rectCoordBuildBreakAxis(e,r,i,u.coordinateSystem.getRect(),c)}},M=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=e.type,i}return e.type="xAxis",e}(L);var W=function(r){S(e,r);function e(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=M.type,i}return e.type="yAxis",e}(L);var X=L;export{M as CartesianXAxisView,W as CartesianYAxisView,X as default};
|
|
3
|
+
//# sourceMappingURL=CartesianAxisView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/ParallelAxisView */
|
|
2
|
+
import{__extends as g}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import v from"./AxisBuilder.mjs";import C from"../helper/BrushController.mjs";import*as u from"../helper/brushHelper.mjs";import*as h from"../../util/graphic.mjs";import b from"../../view/Component.mjs";var A=function(e){g(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,o){e.prototype.init.apply(this,arguments),(this._brushController=new C(o.getZr())).on("brush",s.bind(this._onBrush,this))},t.prototype.render=function(r,o,i,l){if(!B(r,o,l)){this.axisModel=r,this.api=i,this.group.removeAll();var p=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!!r.get("show")){var a=_(r,o),c=a.coordinateSystem,d=r.getAreaSelectStyle(),m=d.width,n=r.axis.dim,y=c.getAxisLayout(n),x=s.extend({strokeContainThreshold:m},y),f=new v(r,i,x);f.build(),this._axisGroup.add(f.group),this._refreshBrushController(x,d,r,a,m,i),h.groupTransition(p,this._axisGroup,r)}}},t.prototype._refreshBrushController=function(r,o,i,l,p,a){var c=i.axis.getExtent(),d=c[1]-c[0],m=Math.min(30,Math.abs(d)*.1),n=h.BoundingRect.create({x:c[0],y:-p/2,width:d,height:p});n.x-=m,n.width+=2*m,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,x:r.position[0],y:r.position[1]}).setPanels([{panelId:"pl",clipPath:u.makeRectPanelClipPath(n),isTargetByCursor:u.makeRectIsTargetByCursor(n,a,l),getLinearBrushOtherExtent:u.makeLinearBrushOtherExtent(n,0)}]).enableBrush({brushType:"lineX",brushStyle:o,removeOnClick:!0}).updateCovers(S(i))},t.prototype._onBrush=function(r){var o=r.areas,i=this.axisModel,l=i.axis,p=s.map(o,function(a){return[l.coordToData(a.range[0],!0),l.coordToData(a.range[1],!0)]});(!i.option.realtime===r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:p})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(b);function B(e,t,r){return r&&r.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:r})[0]===e}function S(e){var t=e.axis;return s.map(e.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(r[0],!0),t.dataToCoord(r[1],!0)]}})}function _(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var L=A;export{L as default};
|
|
3
|
+
//# sourceMappingURL=ParallelAxisView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/RadiusAxisView */
|
|
2
|
+
import{__extends as y}from"/tslib@2.3.0/es2022/tslib.mjs";import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as n from"../../util/graphic.mjs";import m from"./AxisBuilder.mjs";import M from"./AxisView.mjs";var S=["splitLine","splitArea","minorSplitLine"],w=function(s){y(a,s);function a(){var e=s!==null&&s.apply(this,arguments)||this;return e.type=a.type,e.axisPointerClass="PolarAxisPointer",e}return a.prototype.render=function(e,A,x){if(this.group.removeAll(),!!e.get("show")){var g=this._axisGroup,o=this._axisGroup=new n.Group;this.group.add(o);var l=e.axis,t=l.polar,h=t.getAngleAxis(),i=l.getTicksCoords(),p=l.getMinorTicksCoords(),r=h.getExtent()[0],c=l.getExtent(),v=E(t,e,r),u=new m(e,x,v);u.build(),o.add(u.group),n.groupTransition(g,o,e),f.each(S,function(d){e.get([d,"show"])&&!l.scale.isBlank()&&L[d](this.group,e,t,r,c,i,p)},this)}},a.type="radiusAxis",a}(M),L={splitLine:function(s,a,e,A,x,g){var o=a.getModel("splitLine"),l=o.getModel("lineStyle"),t=l.get("color"),h=0,i=e.getAngleAxis(),p=Math.PI/180,r=i.getExtent(),c=Math.abs(r[1]-r[0])===360?"Circle":"Arc";t=t instanceof Array?t:[t];for(var v=[],u=0;u<g.length;u++){var d=h++%t.length;v[d]=v[d]||[],v[d].push(new n[c]({shape:{cx:e.cx,cy:e.cy,r:Math.max(g[u].coord,0),startAngle:-r[0]*p,endAngle:-r[1]*p,clockwise:i.inverse}}))}for(var u=0;u<v.length;u++)s.add(n.mergePath(v[u],{style:f.defaults({stroke:t[u%t.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(s,a,e,A,x,g,o){if(o.length){for(var l=a.getModel("minorSplitLine"),t=l.getModel("lineStyle"),h=[],i=0;i<o.length;i++)for(var p=0;p<o[i].length;p++)h.push(new n.Circle({shape:{cx:e.cx,cy:e.cy,r:o[i][p].coord}}));s.add(n.mergePath(h,{style:f.defaults({fill:null},t.getLineStyle()),silent:!0}))}},splitArea:function(s,a,e,A,x,g){if(g.length){var o=a.getModel("splitArea"),l=o.getModel("areaStyle"),t=l.get("color"),h=0;t=t instanceof Array?t:[t];for(var i=[],p=g[0].coord,r=1;r<g.length;r++){var c=h++%t.length;i[c]=i[c]||[],i[c].push(new n.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:g[r].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),p=g[r].coord}for(var r=0;r<i.length;r++)s.add(n.mergePath(i[r],{style:f.defaults({fill:t[r%t.length]},l.getAreaStyle()),silent:!0}))}}};function E(s,a,e){return{position:[s.cx,s.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:a.getModel("axisLabel").get("rotate"),z2:1}}var B=w;export{B as default};
|
|
3
|
+
//# sourceMappingURL=RadiusAxisView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/SingleAxisView */
|
|
2
|
+
import{__extends as S}from"/tslib@2.3.0/es2022/tslib.mjs";import*as m from"/zrender@6.0.0/es2022/lib/core/util.mjs";import L from"./AxisBuilder.mjs";import*as t from"../../util/graphic.mjs";import*as B from"../../coord/single/singleAxisHelper.mjs";import b from"./AxisView.mjs";import{rectCoordAxisBuildSplitArea as H,rectCoordAxisHandleRemove as _}from"./axisSplitHelper.mjs";import{getAxisBreakHelper as z}from"./axisBreakHelper.mjs";var C=["splitArea","splitLine","breakArea"],P=function(a){S(i,a);function i(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=i.type,r.axisPointerClass="SingleAxisPointer",r}return i.prototype.render=function(r,e,u,o){var l=this.group;l.removeAll();var v=this._axisGroup;this._axisGroup=new t.Group;var s=B.layout(r),f=new L(r,u,s);f.build(),l.add(this._axisGroup),l.add(f.group),m.each(C,function(n){r.get([n,"show"])&&R[n](this,this.group,this._axisGroup,r,u)},this),t.groupTransition(v,this._axisGroup,r),a.prototype.render.call(this,r,e,u,o)},i.prototype.remove=function(){_(this)},i.type="singleAxis",i}(b),R={splitLine:function(a,i,r,e,u){var o=e.axis;if(!o.scale.isBlank()){var l=e.getModel("splitLine"),v=l.getModel("lineStyle"),s=v.get("color");s=s instanceof Array?s:[s];for(var f=v.get("width"),n=e.coordinateSystem.getRect(),k=o.isHorizontal(),c=[],w=0,y=o.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),g=[],h=[],p=0;p<y.length;++p){var d=o.toGlobalCoord(y[p].coord);k?(g[0]=d,g[1]=n.y,h[0]=d,h[1]=n.y+n.height):(g[0]=n.x,g[1]=d,h[0]=n.x+n.width,h[1]=d);var A=new t.Line({shape:{x1:g[0],y1:g[1],x2:h[0],y2:h[1]},silent:!0});t.subPixelOptimizeLine(A.shape,f);var x=w++%s.length;c[x]=c[x]||[],c[x].push(A)}for(var G=v.getLineStyle(["color"]),p=0;p<c.length;++p)i.add(t.mergePath(c[p],{style:m.defaults({stroke:s[p%s.length]},G),silent:!0}))}},splitArea:function(a,i,r,e,u){H(a,r,e,e)},breakArea:function(a,i,r,e,u){var o=z(),l=e.axis.scale;o&&l.type!=="ordinal"&&o.rectCoordBuildBreakAxis(i,a,e,e.coordinateSystem.getRect(),u)}},W=P;export{W as default};
|
|
3
|
+
//# sourceMappingURL=SingleAxisView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/axisAction */
|
|
2
|
+
import{parseFinder as E}from"../../util/model.mjs";import{defaults as _,each as A}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var l="expandAxisBreak",k="collapseAxisBreak",B="toggleAxisBreak",s="axisbreakchanged",I={type:l,event:s,update:"update",refineEvent:x},g={type:k,event:s,update:"update",refineEvent:x},T={type:B,event:s,update:"update",refineEvent:x};function x(n,t,r,p){var e=[];return A(n,function(a){e=e.concat(a.eventBreaks)}),{eventContent:{breaks:e}}}function P(n){n.registerAction(I,t),n.registerAction(g,t),n.registerAction(T,t);function t(r,p){var e=[],a=E(p,r);function i(d,v){A(a[d],function(c){var u=c.updateAxisBreaks(r);A(u.breaks,function(f){var o;e.push(_((o={},o[v]=c.componentIndex,o),f))})})}return i("xAxisModels","xAxisIndex"),i("yAxisModels","yAxisIndex"),i("singleAxisModels","singleAxisIndex"),{eventBreaks:e}}}export{k as AXIS_BREAK_COLLAPSE_ACTION_TYPE,l as AXIS_BREAK_EXPAND_ACTION_TYPE,B as AXIS_BREAK_TOGGLE_ACTION_TYPE,P as registerAction};
|
|
3
|
+
//# sourceMappingURL=axisAction.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/axisBreakHelperImpl */
|
|
2
|
+
import{makeInner as pr}from"../../util/model.mjs";import{assert as kr,each as lr,extend as mr,find as q,map as Q}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getScaleBreakHelper as w}from"../../scale/break.mjs";import{subPixelOptimizeLine as dr}from"/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs";import{applyTransform as ir}from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import*as C from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import{AXIS_BREAK_COLLAPSE_ACTION_TYPE as xr,AXIS_BREAK_EXPAND_ACTION_TYPE as vr,AXIS_BREAK_TOGGLE_ACTION_TYPE as br}from"./axisAction.mjs";import{labelIntersect as gr,labelLayoutApplyTranslation as nr}from"../../label/labelLayoutHelper.mjs";import{registerAxisBreakHelperImpl as hr}from"./axisBreakHelper.mjs";import"../../util/log.mjs";import{Group as tr,Line as Ar,Point as M,Polygon as zr,Polyline as or,WH as $,XY as G}from"../../util/graphic.mjs";var sr=pr();function yr(l,a){var r=q(l,function(n){return w().identifyAxisBreak(n.parsedBreak.breakOption,a.breakOption)});return r||l.push(r={zigzagRandomList:[],parsedBreak:a,shouldRemove:!1}),r}function _r(l){lr(l,function(a){return a.shouldRemove=!0})}function Br(l){for(var a=l.length-1;a>=0;a--)l[a].shouldRemove&&l.splice(a,1)}function Tr(l,a,r,n,e){var i=r.axis;if(i.scale.isBlank()||!w())return;var s=w().retrieveAxisBreakPairs(i.scale.getTicks({breakTicks:"only_break"}),function(A){return A.break},!1);if(!s.length)return;var v=r.getModel("breakArea"),c=v.get("zigzagAmplitude"),d=v.get("zigzagMinSpan"),p=v.get("zigzagMaxSpan");d=Math.max(2,d||0),p=Math.max(d,p||0);var B=v.get("expandOnClick"),f=v.get("zigzagZ"),E=v.getModel("itemStyle"),g=E.getItemStyle(),L=g.stroke,k=g.lineWidth,m=g.lineDash,t=g.fill,h=new tr({ignoreModelZ:!0}),z=i.isHorizontal(),I=sr(a).visualList||(sr(a).visualList=[]);_r(I);for(var O=function(A){var x=s[A][0].break.parsedBreak,o=[];o[0]=i.toGlobalCoord(i.dataToCoord(x.vmin,!0)),o[1]=i.toGlobalCoord(i.dataToCoord(x.vmax,!0)),o[1]<o[0]&&o.reverse();var u=yr(I,x);u.shouldRemove=!1;var b=new tr;N(u.zigzagRandomList,b,o[0],o[1],z,x),B&&b.on("click",function(){var H={type:vr,breaks:[{start:x.breakOption.start,end:x.breakOption.end}]};H[i.dim+"AxisIndex"]=r.componentIndex,e.dispatchAction(H)}),b.silent=!B,h.add(b)},y=0;y<s.length;y++)O(y);l.add(h),Br(I);function N(A,x,o,u,b,H){var rr={stroke:L,lineWidth:k,lineDash:m,fill:"none"},T=b?0:1,_=1-T,Y=n[G[_]]+n[$[_]];function er(cr){var P=[],Z=[];P[T]=Z[T]=cr,P[_]=n[G[_]],Z[_]=Y;var D={x1:P[0],y1:P[1],x2:Z[0],y2:Z[1]};return dr(D,D,{lineWidth:1}),P[0]=D.x1,P[1]=D.y1,P[T]}o=er(o),u=er(u);for(var K=[],V=[],R=!0,S=n[G[_]],j=0;;j++){var fr=S===n[G[_]],F=S>=Y;F&&(S=Y);var U=[],W=[];U[T]=o,W[T]=u,!fr&&!F&&(U[T]+=R?-c:c,W[T]-=R?c:-c),U[_]=S,W[_]=S,K.push(U),V.push(W);var X=void 0;if(j<A.length?X=A[j]:(X=Math.random(),A.push(X)),S+=X*(p-d)+d,R=!R,F)break}var J=w().serializeAxisBreakIdentifier(H.breakOption);if(x.add(new or({anid:"break_a_"+J,shape:{points:K},style:rr,z:f})),H.gapReal!==0){x.add(new or({anid:"break_b_"+J,shape:{points:V},style:rr,z:f}));var ar=V.slice();ar.reverse();var ur=K.concat(ar);x.add(new zr({anid:"break_c_"+J,shape:{points:ur},style:{fill:t,opacity:g.opacity},z:f}))}}}function Er(l,a,r,n){var e=l.axis,i=r.transform;kr(n.style);var s=e.getExtent();e.inverse&&(s=s.slice(),s.reverse());var v=w().retrieveAxisBreakPairs(e.scale.getTicks({breakTicks:"only_break"}),function(k){return k.break},!1),c=Q(v,function(k){var m=k[0].break.parsedBreak,t=[e.dataToCoord(m.vmin,!0),e.dataToCoord(m.vmax,!0)];return t[0]>t[1]&&t.reverse(),{coordPair:t,brkId:w().serializeAxisBreakIdentifier(m.breakOption)}});c.sort(function(k,m){return k.coordPair[0]-m.coordPair[0]});for(var d=s[0],p=null,B=0;B<c.length;B++){var f=c[B],E=Math.max(f.coordPair[0],s[0]),g=Math.min(f.coordPair[1],s[1]);d<=E&&L(d,E,p,f),d=g,p=f}d<=s[1]&&L(d,s[1],p,null);function L(k,m,t,h){function z(o,u){i&&(ir(o,o,i),ir(u,u,i))}function I(o,u){var b={x1:o[0],y1:o[1],x2:u[0],y2:u[1]};dr(b,b,n.style),o[0]=b.x1,o[1]=b.y1,u[0]=b.x2,u[1]=b.y2}var O=[k,0],y=[m,0],N=[k,5],A=[m,5];z(O,N),I(O,N),z(y,A),I(y,A),I(O,y);var x=new Ar(mr({shape:{x1:O[0],y1:O[1],x2:y[0],y2:y[1]}},n));a.add(x),x.anid="breakLine_"+(t?t.brkId:"\0")+"_\0_"+(h?h.brkId:"\0")}}function Ir(l,a,r){if(q(r,function(t){return!t}))return;var n=new M;if(!gr(r[0],r[1],n,{direction:-(l?a+Math.PI:a),touchThreshold:0,bidirectional:!1}))return;var e=C.create();C.rotate(e,e,-a);var i=Q(r,function(t){return t.transform?C.mul(C.create(),e,t.transform):e});function s(t){var h=r[0].localRect,z=new M(h[$[t]]*i[0][0],h[$[t]]*i[0][1]);return Math.abs(z.y)<1e-5}var v=.5;if(s(0)||s(1)){var c=Q(r,function(t,h){var z=t.localRect.clone();return z.applyTransform(i[h]),z}),d=new M;d.copy(r[0].label).add(r[1].label).scale(.5),d.transform(e);var p=n.clone().transform(e),B=c[0].x+c[1].x+(p.x>=0?c[0].width:c[1].width),f=(B+p.x)/2-d.x,E=Math.min(f,f-p.x),g=Math.max(f,f-p.x),L=g<0?g:E>0?E:0;v=(f-L)/p.x}var k=new M,m=new M;M.scale(k,n,-v),M.scale(m,n,1-v),nr(r[0],k),nr(r[1],m)}function Or(l,a){var r={breaks:[]};return lr(a.breaks,function(n){if(n){var e=q(l.get("breaks",!0),function(v){return w().identifyAxisBreak(v,n)});if(e){var i=a.type,s={isExpanded:!!e.isExpanded};e.isExpanded=i===vr?!0:i===xr?!1:i===br?!e.isExpanded:e.isExpanded,r.breaks.push({start:e.start,end:e.end,isExpanded:!!e.isExpanded,old:s})}}}),r}function Xr(){hr({adjustBreakLabelPair:Ir,buildAxisBreakLine:Er,rectCoordBuildBreakAxis:Tr,updateModelAxisBreak:Or})}export{Xr as installAxisBreakHelper};
|
|
3
|
+
//# sourceMappingURL=axisBreakHelperImpl.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/axisSplitHelper */
|
|
2
|
+
import*as o from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as b from"../../util/graphic.mjs";import{makeInner as R}from"../../util/model.mjs";var g=R();function x(n,z,A,B){var l=A.axis;if(!l.scale.isBlank()){var C=A.getModel("splitArea"),m=C.getModel("areaStyle"),a=m.get("color"),v=B.coordinateSystem.getRect(),e=l.getTicksCoords({tickModel:C,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(e.length){var f=a.length,S=g(n).splitAreaColors,k=o.createHashMap(),t=0;if(S)for(var r=0;r<e.length;r++){var h=S.get(e[r].tickValue);if(h!=null){t=(h+(f-1)*r)%f;break}}var d=l.toGlobalCoord(e[0].coord),M=m.getAreaStyle();a=o.isArray(a)?a:[a];for(var r=1;r<e.length;r++){var y=l.toGlobalCoord(e[r].coord),i=void 0,s=void 0,p=void 0,c=void 0;l.isHorizontal()?(i=d,s=v.y,p=y-i,c=v.height,d=i+p):(i=v.x,s=d,p=v.width,c=y-s,d=s+c);var u=e[r-1].tickValue;u!=null&&k.set(u,t),z.add(new b.Rect({anid:u!=null?"area_"+u:null,shape:{x:i,y:s,width:p,height:c},style:o.defaults({fill:a[t]},M),autoBatch:!0,silent:!0})),t=(t+1)%f}g(n).splitAreaColors=k}}}function H(n){g(n).splitAreaColors=null}export{x as rectCoordAxisBuildSplitArea,H as rectCoordAxisHandleRemove};
|
|
3
|
+
//# sourceMappingURL=axisSplitHelper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/installBreak */
|
|
2
|
+
import{installScaleBreakHelper as e}from"../../scale/breakImpl.mjs";import{registerAction as i}from"./axisAction.mjs";import{installAxisBreakHelper as t}from"./axisBreakHelperImpl.mjs";function m(r){i(r),e(),t()}export{m as installAxisBreak};
|
|
3
|
+
//# sourceMappingURL=installBreak.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axis/parallelAxisAction */
|
|
2
|
+
var a={type:"axisAreaSelect",event:"axisAreaSelected"};function l(i){i.registerAction(a,function(e,n){n.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),i.registerAction("parallelAxisExpand",function(e,n){n.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})}export{l as installParallelActions};
|
|
3
|
+
//# sourceMappingURL=parallelAxisAction.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/AxisPointerModel */
|
|
2
|
+
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import n from"../../model/Component.mjs";import t from"../../visual/tokens.mjs";var i=function(r){l(o,r);function o(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=o.type,e}return o.type="axisPointer",o.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:t.color.border,width:1,type:"dashed"},shadowStyle:{color:t.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:t.color.neutral00,padding:[5,7,5,7],backgroundColor:t.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:t.color.accent40,throttle:40}},o}(n),u=i;export{u as default};
|
|
3
|
+
//# sourceMappingURL=AxisPointerModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/AxisPointerView */
|
|
2
|
+
import{__extends as g}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"./globalListener.mjs";import m from"../../view/Component.mjs";var u=function(r){g(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,o,a){var l=o.getComponent("tooltip"),p=t.get("triggerOn")||l&&l.get("triggerOn")||"mousemove|click";i.register("axisPointer",a,function(s,n,f){p!=="none"&&(s==="leave"||p.indexOf(s)>=0)&&f({type:"updateAxisPointer",currTrigger:s,x:n&&n.offsetX,y:n&&n.offsetY})})},e.prototype.remove=function(t,o){i.unregister("axisPointer",o)},e.prototype.dispose=function(t,o){i.unregister("axisPointer",o)},e.type="axisPointer",e}(m),d=u;export{d as default};
|
|
3
|
+
//# sourceMappingURL=AxisPointerView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/BaseAxisPointer */
|
|
2
|
+
import*as l from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as p from"../../util/graphic.mjs";import*as z from"./modelHelper.mjs";import*as E from"/zrender@6.0.0/es2022/lib/core/event.mjs";import*as f from"../../util/throttle.mjs";import{makeInner as P}from"../../util/model.mjs";var d=P(),y=l.clone,c=l.bind,w=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(e,t,i,a){var o=t.get("value"),h=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,!(!a&&this._lastValue===o&&this._lastStatus===h)){this._lastValue=o,this._lastStatus=h;var n=this._group,s=this._handle;if(!h||h==="hide"){n&&n.hide(),s&&s.hide();return}n&&n.show(),s&&s.show();var u={};this.makeElOption(u,o,e,t,i);var _=u.graphicKey;_!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=_;var H=this._moveAnimation=this.determineAnimation(e,t);if(!n)n=this._group=new p.Group,this.createPointerEl(n,u,e,t),this.createLabelEl(n,u,e,t),i.getZr().add(n);else{var g=l.curry(m,t,H);this.updatePointerEl(n,u,g),this.updateLabelEl(n,u,g,t)}A(n,t,!0),this._renderHandle(o)}},r.prototype.remove=function(e){this.clear(e)},r.prototype.dispose=function(e){this.clear(e)},r.prototype.determineAnimation=function(e,t){var i=t.get("animation"),a=e.axis,o=a.type==="category",h=t.get("snap");if(!h&&!o)return!1;if(i==="auto"||i==null){var n=this.animationThreshold;if(o&&a.getBandWidth()>n)return!0;if(h){var s=z.getAxisInfo(e).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/s>n}return!1}return i===!0},r.prototype.makeElOption=function(e,t,i,a,o){},r.prototype.createPointerEl=function(e,t,i,a){var o=t.pointer;if(o){var h=d(e).pointerEl=new p[o.type](y(t.pointer));e.add(h)}},r.prototype.createLabelEl=function(e,t,i,a){if(t.label){var o=d(e).labelEl=new p.Text(y(t.label));e.add(o),b(o,a)}},r.prototype.updatePointerEl=function(e,t,i){var a=d(e).pointerEl;a&&t.pointer&&(a.setStyle(t.pointer.style),i(a,{shape:t.pointer.shape}))},r.prototype.updateLabelEl=function(e,t,i,a){var o=d(e).labelEl;o&&(o.setStyle(t.label.style),i(o,{x:t.label.x,y:t.label.y}),b(o,a))},r.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,i=this._api.getZr(),a=this._handle,o=t.getModel("handle"),h=t.get("status");if(!o.get("show")||!h||h==="hide"){a&&i.remove(a),this._handle=null;return}var n;this._handle||(n=!0,a=this._handle=p.createIcon(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){E.stop(u.event)},onmousedown:c(this._onHandleDragMove,this,0,0),drift:c(this._onHandleDragMove,this),ondragend:c(this._onHandleDragEnd,this)}),i.add(a)),A(a,t,!1),a.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");l.isArray(s)||(s=[s,s]),a.scaleX=s[0]/2,a.scaleY=s[1]/2,f.createOrUpdate(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,n)}},r.prototype._moveHandleToValue=function(e,t){m(this._axisPointerModel,!t&&this._moveAnimation,this._handle,v(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(e,t){var i=this._handle;if(i){this._dragging=!0;var a=this.updateHandleTransform(v(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=a,i.stopAnimation(),i.attr(v(a)),d(i).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,a=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),a&&t.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),f.clear(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}},r}();function m(r,e,t,i){x(d(t).lastProp,i)||(d(t).lastProp=i,e?p.updateProps(t,i,r):(t.stopAnimation(),t.attr(i)))}function x(r,e){if(l.isObject(r)&&l.isObject(e)){var t=!0;return l.each(e,function(i,a){t=t&&x(r[a],i)}),!!t}else return r===e}function b(r,e){r[e.get(["label","show"])?"show":"hide"]()}function v(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function A(r,e,t){var i=e.get("z"),a=e.get("zlevel");r&&r.traverse(function(o){o.type!=="group"&&(i!=null&&(o.z=i),a!=null&&(o.zlevel=a),o.silent=t)})}var U=w;export{U as default};
|
|
3
|
+
//# sourceMappingURL=BaseAxisPointer.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/CartesianAxisPointer */
|
|
2
|
+
import{__extends as y}from"/tslib@2.3.0/es2022/tslib.mjs";import b from"./BaseAxisPointer.mjs";import*as l from"./viewHelper.mjs";import*as m from"../../coord/cartesian/cartesianAxisHelper.mjs";var A=function(a){y(t,a);function t(){return a!==null&&a.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,r,s,p,n){var u=s.axis,g=u.grid,v=p.get("type"),i=f(g,u).getOtherAxis(u).getGlobalExtent(),o=u.toGlobalCoord(u.dataToCoord(r,!0));if(v&&v!=="none"){var x=l.buildElStyle(p),d=H[v](u,o,i);d.style=x,e.graphicKey=d.type,e.pointer=d}var c=m.layout(g.getRect(),s);l.buildCartesianSingleLabelElOption(r,e,c,s,p,n)},t.prototype.getHandleTransform=function(e,r,s){var p=m.layout(r.axis.grid.getRect(),r,{labelInside:!1});p.labelMargin=s.get(["handle","margin"]);var n=l.getTransformedPosition(r.axis,e,p);return{x:n[0],y:n[1],rotation:p.rotation+(p.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,r,s,p){var n=s.axis,u=n.grid,g=n.getGlobalExtent(!0),v=f(u,n).getOtherAxis(n).getGlobalExtent(),i=n.dim==="x"?0:1,o=[e.x,e.y];o[i]+=r[i],o[i]=Math.min(g[1],o[i]),o[i]=Math.max(g[0],o[i]);var x=(v[1]+v[0])/2,d=[x,x];d[i]=o[i];var c=[{verticalAlign:"middle"},{align:"center"}];return{x:o[0],y:o[1],rotation:e.rotation,cursorPoint:d,tooltipOption:c[i]}},t}(b);function f(a,t){var e={};return e[t.dim+"AxisIndex"]=t.index,a.getCartesian(e)}var H={line:function(a,t,e){var r=l.makeLineShape([t,e[0]],[t,e[1]],h(a));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(a,t,e){var r=Math.max(1,a.getBandWidth()),s=e[1]-e[0];return{type:"Rect",shape:l.makeRectShape([t-r/2,e[0]],[r,s],h(a))}}};function h(a){return a.dim==="x"?0:1}var C=A;export{C as default};
|
|
3
|
+
//# sourceMappingURL=CartesianAxisPointer.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/PolarAxisPointer */
|
|
2
|
+
import{__extends as P}from"/tslib@2.3.0/es2022/tslib.mjs";import b from"./BaseAxisPointer.mjs";import*as A from"../../util/graphic.mjs";import*as c from"./viewHelper.mjs";import*as h from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import S from"../axis/AxisBuilder.mjs";var T=function(n){P(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.makeElOption=function(a,e,i,r,d){var o=i.axis;o.dim==="angle"&&(this.animationThreshold=Math.PI/18);var m=o.polar,v=m.getOtherAxis(o),l=v.getExtent(),p=o.dataToCoord(e),s=r.get("type");if(s&&s!=="none"){var f=c.buildElStyle(r),g=E[s](o,m,p,l);g.style=f,a.graphicKey=g.type,a.pointer=g}var x=r.get(["label","margin"]),y=w(e,i,r,m,x);c.buildLabelElOption(a,i,r,d,y)},t}(b);function w(n,t,a,e,i){var r=t.axis,d=r.dataToCoord(n),o=e.getAngleAxis().getExtent()[0];o=o/180*Math.PI;var m=e.getRadiusAxis().getExtent(),v,l,p;if(r.dim==="radius"){var s=h.create();h.rotate(s,s,o),h.translate(s,s,[e.cx,e.cy]),v=A.applyTransform([d,-i],s);var f=t.getModel("axisLabel").get("rotate")||0,g=S.innerTextLayout(o,f*Math.PI/180,-1);l=g.textAlign,p=g.textVerticalAlign}else{var x=m[1];v=e.coordToPoint([x+i,d]);var y=e.cx,u=e.cy;l=Math.abs(v[0]-y)/x<.3?"center":v[0]>y?"left":"right",p=Math.abs(v[1]-u)/x<.3?"middle":v[1]>u?"top":"bottom"}return{position:v,align:l,verticalAlign:p}}var E={line:function(n,t,a,e){return n.dim==="angle"?{type:"Line",shape:c.makeLineShape(t.coordToPoint([e[0],a]),t.coordToPoint([e[1],a]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:a}}},shadow:function(n,t,a,e){var i=Math.max(1,n.getBandWidth()),r=Math.PI/180;return n.dim==="angle"?{type:"Sector",shape:c.makeSectorShape(t.cx,t.cy,e[0],e[1],(-a-i/2)*r,(-a+i/2)*r)}:{type:"Sector",shape:c.makeSectorShape(t.cx,t.cy,a-i/2,a+i/2,0,Math.PI*2)}}},k=T;export{k as default};
|
|
3
|
+
//# sourceMappingURL=PolarAxisPointer.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/SingleAxisPointer */
|
|
2
|
+
import{__extends as H}from"/tslib@2.3.0/es2022/tslib.mjs";import S from"./BaseAxisPointer.mjs";import*as o from"./viewHelper.mjs";import*as f from"../../coord/single/singleAxisHelper.mjs";var h=["x","y"],P=["width","height"],b=function(a){H(t,a);function t(){return a!==null&&a.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,i,l,s,p){var u=l.axis,r=u.coordinateSystem,y=d(r,1-m(u)),n=r.dataToPoint(i)[0],v=s.get("type");if(v&&v!=="none"){var g=o.buildElStyle(s),c=w[v](u,n,y);c.style=g,e.graphicKey=c.type,e.pointer=c}var x=f.layout(l);o.buildCartesianSingleLabelElOption(i,e,x,l,s,p)},t.prototype.getHandleTransform=function(e,i,l){var s=f.layout(i,{labelInside:!1});s.labelMargin=l.get(["handle","margin"]);var p=o.getTransformedPosition(i.axis,e,s);return{x:p[0],y:p[1],rotation:s.rotation+(s.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,i,l,s){var p=l.axis,u=p.coordinateSystem,r=m(p),y=d(u,r),n=[e.x,e.y];n[r]+=i[r],n[r]=Math.min(y[1],n[r]),n[r]=Math.max(y[0],n[r]);var v=d(u,1-r),g=(v[1]+v[0])/2,c=[g,g];return c[r]=n[r],{x:n[0],y:n[1],rotation:e.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},t}(S),w={line:function(a,t,e){var i=o.makeLineShape([t,e[0]],[t,e[1]],m(a));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(a,t,e){var i=a.getBandWidth(),l=e[1]-e[0];return{type:"Rect",shape:o.makeRectShape([t-i/2,e[0]],[i,l],m(a))}}};function m(a){return a.isHorizontal()?0:1}function d(a,t){var e=a.getRect();return[e[h[t]],e[h[t]]+e[P[t]]]}var E=b;export{E as default};
|
|
3
|
+
//# sourceMappingURL=SingleAxisPointer.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/axisTrigger */
|
|
2
|
+
import{makeInner as b}from"../../util/model.mjs";import*as N from"./modelHelper.mjs";import O from"./findPointFromSeries.mjs";import{each as p,curry as S,bind as V,extend as C}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var B=b();function K(e,i,a){var n=e.currTrigger,t=[e.x,e.y],d=e,r=e.dispatchAction||V(a.dispatchAction,a),s=i.getComponent("axisPointer").coordSysAxesInfo;if(s){w(t)&&(t=O({seriesIndex:d.seriesIndex,dataIndex:d.dataIndex},i).point);var o=w(t),u=d.axesInfo,l=s.axesInfo,v=n==="leave"||w(t),c={},x={},f={list:[],map:{}},y={showPointer:S(E,x),showTooltip:S(G,f)};p(s.coordSysMap,function(h,T){var g=o||h.containPoint(t);p(s.coordSysAxesInfo[T],function(I,M){var A=I.axis,m=U(u,I);if(!v&&g&&(!u||m)){var P=m&&m.value;P==null&&!o&&(P=A.pointToData(t)),P!=null&&k(I,P,y,!1,c)}})});var D={};return p(l,function(h,T){var g=h.linkGroup;g&&!x[T]&&p(g.axesInfo,function(I,M){var A=x[M];if(I!==h&&A){var m=A.value;g.mapper&&(m=h.axis.scale.parse(g.mapper(m,H(I),H(h)))),D[h.key]=m}})}),p(D,function(h,T){k(l[T],h,y,!0,c)}),z(x,l,c),F(f,t,e,r),R(l,r,a),c}}function k(e,i,a,n,t){var d=e.axis;if(!(d.scale.isBlank()||!d.containData(i))){if(!e.involveSeries){a.showPointer(e,i);return}var r=L(i,e),s=r.payloadBatch,o=r.snapToValue;s[0]&&t.seriesIndex==null&&C(t,s[0]),!n&&e.snap&&d.containData(o)&&o!=null&&(i=o),a.showPointer(e,i,s),a.showTooltip(e,r,o)}}function L(e,i){var a=i.axis,n=a.dim,t=e,d=[],r=Number.MAX_VALUE,s=-1;return p(i.seriesModels,function(o,u){var l=o.getData().mapDimensionsAll(n),v,c;if(o.getAxisTooltipData){var x=o.getAxisTooltipData(l,e,a);c=x.dataIndices,v=x.nestestValue}else{if(c=o.indicesOfNearest(n,l[0],e,a.type==="category"?.5:null),!c.length)return;v=o.getData().get(l[0],c[0])}if(!(v==null||!isFinite(v))){var f=e-v,y=Math.abs(f);y<=r&&((y<r||f>=0&&s<0)&&(r=y,s=f,t=v,d.length=0),p(c,function(D){d.push({seriesIndex:o.seriesIndex,dataIndexInside:D,dataIndex:o.getData().getRawIndex(D)})}))}}),{payloadBatch:d,snapToValue:t}}function E(e,i,a,n){e[i.key]={value:a,payloadBatch:n}}function G(e,i,a,n){var t=a.payloadBatch,d=i.axis,r=d.model,s=i.axisPointerModel;if(!(!i.triggerTooltip||!t.length)){var o=i.coordSys.model,u=N.makeKey(o),l=e.map[u];l||(l=e.map[u]={coordSysId:o.id,coordSysIndex:o.componentIndex,coordSysType:o.type,coordSysMainType:o.mainType,dataByAxis:[]},e.list.push(l)),l.dataByAxis.push({axisDim:d.dim,axisIndex:r.componentIndex,axisType:r.type,axisId:r.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:t.slice()})}}function z(e,i,a){var n=a.axesInfo=[];p(i,function(t,d){var r=t.axisPointerModel.option,s=e[d];s?(!t.useHandle&&(r.status="show"),r.value=s.value,r.seriesDataIndices=(s.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),r.status==="show"&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})})}function F(e,i,a,n){if(w(i)||!e.list.length){n({type:"hideTip"});return}var t=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:i[0],y:i[1],tooltipOption:a.tooltipOption,position:a.position,dataIndexInside:t.dataIndexInside,dataIndex:t.dataIndex,seriesIndex:t.seriesIndex,dataByCoordSys:e.list})}function R(e,i,a){var n=a.getZr(),t="axisPointerLastHighlights",d=B(n)[t]||{},r=B(n)[t]={};p(e,function(u,l){var v=u.axisPointerModel.option;v.status==="show"&&u.triggerEmphasis&&p(v.seriesDataIndices,function(c){var x=c.seriesIndex+" | "+c.dataIndex;r[x]=c})});var s=[],o=[];p(d,function(u,l){!r[l]&&o.push(u)}),p(r,function(u,l){!d[l]&&s.push(u)}),o.length&&a.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:o}),s.length&&a.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function U(e,i){for(var a=0;a<(e||[]).length;a++){var n=e[a];if(i.axis.dim===n.axisDim&&i.axis.model.componentIndex===n.axisIndex)return n}}function H(e){var i=e.axis.model,a={},n=a.axisDim=e.axis.dim;return a.axisIndex=a[n+"AxisIndex"]=i.componentIndex,a.axisName=a[n+"AxisName"]=i.name,a.axisId=a[n+"AxisId"]=i.id,a}function w(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}export{K as default};
|
|
3
|
+
//# sourceMappingURL=axisTrigger.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/findPointFromSeries */
|
|
2
|
+
import*as l from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as v from"../../util/model.mjs";function T(s,f){var o=[],m=s.seriesIndex,r;if(m==null||!(r=f.getSeriesByIndex(m)))return{point:[]};var i=r.getData(),e=v.queryDataIndex(i,s);if(e==null||e<0||l.isArray(e))return{point:[]};var a=i.getItemGraphicEl(e),t=r.coordinateSystem;if(r.getTooltipPosition)o=r.getTooltipPosition(e)||[];else if(t&&t.dataToPoint)if(s.isStacked){var p=t.getBaseAxis(),x=t.getOtherAxis(p),g=x.dim,y=p.dim,u=g==="x"||g==="radius"?1:0,I=i.mapDimension(y),d=[];d[u]=i.get(I,e),d[1-u]=i.get(i.getCalculationInfo("stackResultDimension"),e),o=t.dataToPoint(d)||[]}else o=t.dataToPoint(i.getValues(l.map(t.dimensions,function(P){return i.mapDimension(P)}),e))||[];else if(a){var n=a.getBoundingRect().clone();n.applyTransform(a.transform),o=[n.x+n.width/2,n.y+n.height/2]}return{point:o,el:a}}export{T as default};
|
|
3
|
+
//# sourceMappingURL=findPointFromSeries.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/globalListener */
|
|
2
|
+
import*as c from"/zrender@6.0.0/es2022/lib/core/util.mjs";import d from"/zrender@6.0.0/es2022/lib/core/env.mjs";import{makeInner as h}from"../../util/model.mjs";var o=h(),f=c.each;function z(i,e,n){if(!d.node){var r=e.getZr();o(r).records||(o(r).records={}),p(r,e);var t=o(r).records[i]||(o(r).records[i]={});t.handler=n}}function p(i,e){if(o(i).initialized)return;o(i).initialized=!0,n("click",c.curry(l,"click")),n("mousemove",c.curry(l,"mousemove")),n("globalout",m);function n(r,t){i.on(r,function(u){var a=g(e);f(o(i).records,function(s){s&&t(s,u,a.dispatchAction)}),v(a.pendings,e)})}}function v(i,e){var n=i.showTip.length,r=i.hideTip.length,t;n?t=i.showTip[n-1]:r&&(t=i.hideTip[r-1]),t&&(t.dispatchAction=null,e.dispatchAction(t))}function m(i,e,n){i.handler("leave",null,n)}function l(i,e,n,r){e.handler(i,n,r)}function g(i){var e={showTip:[],hideTip:[]},n=function(r){var t=e[r.type];t?t.push(r):(r.dispatchAction=n,i.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function L(i,e){if(!d.node){var n=e.getZr(),r=(o(n).records||{})[i];r&&(o(n).records[i]=null)}}export{z as register,L as unregister};
|
|
3
|
+
//# sourceMappingURL=globalListener.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/install */
|
|
2
|
+
import o from"../axis/AxisView.mjs";import t from"./CartesianAxisPointer.mjs";import n from"./AxisPointerModel.mjs";import s from"./AxisPointerView.mjs";import{isArray as a}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{collect as x}from"./modelHelper.mjs";import P from"./axisTrigger.mjs";function u(r){o.registerAxisPointerClass("CartesianAxisPointer",t),r.registerComponentModel(n),r.registerComponentView(s),r.registerPreprocessor(function(i){if(i){(!i.axisPointer||i.axisPointer.length===0)&&(i.axisPointer={});var e=i.axisPointer.link;e&&!a(e)&&(i.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(i,e){i.getComponent("axisPointer").coordSysAxesInfo=x(i,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},P)}export{u as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/modelHelper */
|
|
2
|
+
import G from"../../model/Model.mjs";import{each as x,curry as M,clone as U,defaults as z,isArray as B,indexOf as L}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function Q(e,t){var o={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return N(o,e,t),o.seriesInvolved&&j(o,e),o}function N(e,t,o){var i=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),l=a.get("link",!0)||[],n=[];x(o.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var r=h(s.model),u=e.coordSysAxesInfo[r]={};e.coordSysMap[r]=s;var c=s.model,f=c.getModel("tooltip",i);if(x(s.getAxes(),M(A,!1,null)),s.getTooltipAxes&&i&&f.get("show")){var g=f.get("trigger")==="axis",I=f.get(["axisPointer","type"])==="cross",E=s.getTooltipAxes(f.get(["axisPointer","axis"]));(g||I)&&x(E.baseAxes,M(A,I?"cross":!0,g)),I&&x(E.otherAxes,M(A,"cross",!1))}function A(S,p,d){var v=d.model.getModel("axisPointer",a),D=v.get("show");if(!(!D||D==="auto"&&!S&&!C(v))){p==null&&(p=v.get("triggerTooltip")),v=S?O(d,f,a,t,S,p):v;var k=v.get("snap"),K=v.get("triggerEmphasis"),m=h(d.model),T=p||k||d.type==="category",P=e.axesInfo[m]={key:m,axis:d,coordSys:s,axisPointerModel:v,triggerTooltip:p,triggerEmphasis:K,involveSeries:T,snap:k,useHandle:C(v),seriesModels:[],linkGroup:null};u[m]=P,e.seriesInvolved=e.seriesInvolved||T;var y=q(l,d);if(y!=null){var w=n[y]||(n[y]={axesInfo:{}});w.axesInfo[m]=P,w.mapper=l[y].mapper,P.linkGroup=w}}}})}function O(e,t,o,i,a,l){var n=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],r={};x(s,function(g){r[g]=U(n.get(g))}),r.snap=e.type!=="category"&&!!l,n.get("type")==="cross"&&(r.type="line");var u=r.label||(r.label={});if(u.show==null&&(u.show=!1),a==="cross"){var c=n.get(["label","show"]);if(u.show=c??!0,!l){var f=r.lineStyle=n.get("crossStyle");f&&z(u,f.textStyle)}}return e.model.getModel("axisPointer",new G(r,o,i))}function j(e,t){t.eachSeries(function(o){var i=o.coordinateSystem,a=o.get(["tooltip","trigger"],!0),l=o.get(["tooltip","show"],!0);!i||!i.model||a==="none"||a===!1||a==="item"||l===!1||o.get(["axisPointer","show"],!0)===!1||x(e.coordSysAxesInfo[h(i.model)],function(n){var s=n.axis;i.getAxis(s.dim)===s&&(n.seriesModels.push(o),n.seriesDataCount==null&&(n.seriesDataCount=0),n.seriesDataCount+=o.getData().count())})})}function q(e,t){for(var o=t.model,i=t.dim,a=0;a<e.length;a++){var l=e[a]||{};if(b(l[i+"AxisId"],o.id)||b(l[i+"AxisIndex"],o.componentIndex)||b(l[i+"AxisName"],o.name))return a}}function b(e,t){return e==="all"||B(e)&&L(e,t)>=0||e===t}function R(e){var t=H(e);if(t){var o=t.axisPointerModel,i=t.axis.scale,a=o.option,l=o.get("status"),n=o.get("value");n!=null&&(n=i.parse(n));var s=C(o);l==null&&(a.status=s?"show":"hide");var r=i.getExtent().slice();r[0]>r[1]&&r.reverse(),(n==null||n>r[1])&&(n=r[1]),n<r[0]&&(n=r[0]),a.value=n,s&&(a.status=t.axis.scale.isBlank()?"hide":"show")}}function H(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[h(e)]}function W(e){var t=H(e);return t&&t.axisPointerModel}function C(e){return!!e.get(["handle","show"])}function h(e){return e.type+"||"+e.id}export{Q as collect,R as fixValue,H as getAxisInfo,W as getAxisPointerModel,h as makeKey};
|
|
3
|
+
//# sourceMappingURL=modelHelper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/axisPointer/viewHelper */
|
|
2
|
+
import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as y from"../../util/graphic.mjs";import*as S from"/zrender@6.0.0/es2022/lib/contain/text.mjs";import*as x from"../../util/format.mjs";import*as f from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import*as A from"../../coord/axisHelper.mjs";import C from"../axis/AxisBuilder.mjs";import{createTextStyle as L}from"../../label/labelStyle.mjs";function R(t){var r=t.get("type"),e=t.getModel(r+"Style"),a;return r==="line"?(a=e.getLineStyle(),a.fill=null):r==="shadow"&&(a=e.getAreaStyle(),a.stroke=null),a}function k(t,r,e,a,i){var l=e.get("value"),n=w(l,r.axis,r.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),g=e.getModel("label"),c=x.normalizeCssArray(g.get("padding")||0),v=g.getFont(),m=S.getBoundingRect(n,v),o=i.position,u=m.width+c[1]+c[3],h=m.height+c[0]+c[2],d=i.align;d==="right"&&(o[0]-=u),d==="center"&&(o[0]-=u/2);var b=i.verticalAlign;b==="bottom"&&(o[1]-=h),b==="middle"&&(o[1]-=h/2),T(o,u,h,a);var p=g.get("backgroundColor");(!p||p==="auto")&&(p=r.get(["axisLine","lineStyle","color"])),t.label={x:o[0],y:o[1],style:L(g,{text:n,font:v,fill:g.getTextColor(),padding:c,backgroundColor:p}),z2:10}}function T(t,r,e,a){var i=a.getWidth(),l=a.getHeight();t[0]=Math.min(t[0]+r,i)-r,t[1]=Math.min(t[1]+e,l)-e,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function w(t,r,e,a,i){t=r.scale.parse(t);var l=r.scale.getLabel({value:t},{precision:i.precision}),n=i.formatter;if(n){var g={value:A.getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};s.each(a,function(c){var v=e.getSeriesByIndex(c.seriesIndex),m=c.dataIndexInside,o=v&&v.getDataParams(m);o&&g.seriesData.push(o)}),s.isString(n)?l=n.replace("{value}",l):s.isFunction(n)&&(l=n(g))}return l}function z(t,r,e){var a=f.create();return f.rotate(a,a,e.rotation),f.translate(a,a,e.position),y.applyTransform([t.dataToCoord(r),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],a)}function B(t,r,e,a,i,l){var n=C.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),k(r,a,i,l,{position:z(a.axis,t,e),align:n.textAlign,verticalAlign:n.textVerticalAlign})}function E(t,r,e){return e=e||0,{x1:t[e],y1:t[1-e],x2:r[e],y2:r[1-e]}}function O(t,r,e){return e=e||0,{x:t[e],y:t[1-e],width:r[e],height:r[1-e]}}function V(t,r,e,a,i,l){return{cx:t,cy:r,r0:e,r:a,startAngle:i,endAngle:l,clockwise:!0}}export{B as buildCartesianSingleLabelElOption,R as buildElStyle,k as buildLabelElOption,z as getTransformedPosition,w as getValueLabel,E as makeLineShape,O as makeRectShape,V as makeSectorShape};
|
|
3
|
+
//# sourceMappingURL=viewHelper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/BrushModel */
|
|
2
|
+
import{__extends as h}from"/tslib@2.3.0/es2022/tslib.mjs";import*as o from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as a from"../../visual/visualSolution.mjs";import p from"../../model/Model.mjs";import f from"../../model/Component.mjs";import u from"../../visual/tokens.mjs";var d=function(e){h(r,e);function r(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.type,t.areas=[],t.brushOption={},t}return r.prototype.optionUpdated=function(t,i){var s=this.option;!i&&a.replaceVisualOption(s,t,["inBrush","outOfBrush"]);var n=s.inBrush=s.inBrush||{};s.outOfBrush=s.outOfBrush||{color:this.option.defaultOutOfBrushColor},n.hasOwnProperty("liftZ")||(n.liftZ=5)},r.prototype.setAreas=function(t){t&&(this.areas=o.map(t,function(i){return l(this.option,i)},this))},r.prototype.setBrushOption=function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType},r.type="brush",r.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],r.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:u.color.backgroundTint,borderColor:u.color.borderTint},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4,defaultOutOfBrushColor:u.color.disabled},r}(f);function l(e,r){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new p(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},r,!0)}var O=d;export{O as default};
|
|
3
|
+
//# sourceMappingURL=BrushModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/BrushView */
|
|
2
|
+
import{__extends as p}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import u from"../helper/BrushController.mjs";import{layoutCovers as a}from"./visualEncoding.mjs";import h from"../../view/Component.mjs";var l=function(n){p(o,n);function o(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=o.type,t}return o.prototype.init=function(t,r){this.ecModel=t,this.api=r,this.model,(this._brushController=new u(r.getZr())).on("brush",s.bind(this._onBrush,this)).mount()},o.prototype.render=function(t,r,e,i){this.model=t,this._updateController(t,r,e,i)},o.prototype.updateTransform=function(t,r,e,i){a(r),this._updateController(t,r,e,i)},o.prototype.updateVisual=function(t,r,e,i){this.updateTransform(t,r,e,i)},o.prototype.updateView=function(t,r,e,i){this._updateController(t,r,e,i)},o.prototype._updateController=function(t,r,e,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(e)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},o.prototype.dispose=function(){this._brushController.dispose()},o.prototype._onBrush=function(t){var r=this.model.id,e=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:s.clone(e),$from:r}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:s.clone(e),$from:r})},o.type="brush",o}(h),y=l;export{y as default};
|
|
3
|
+
//# sourceMappingURL=BrushView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/install */
|
|
2
|
+
import u from"./preprocessor.mjs";import i from"./BrushView.mjs";import p from"./BrushModel.mjs";import m from"./visualEncoding.mjs";import s from"../toolbox/feature/Brush.mjs";import{registerFeature as h}from"../toolbox/featureManager.mjs";import{noop as o}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function A(e){e.registerComponentView(i),e.registerComponentModel(p),e.registerPreprocessor(u),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,m),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(r,t){t.eachComponent({mainType:"brush",query:r},function(n){n.setAreas(r.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},o),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},o),h("brush",s)}export{A as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/preprocessor */
|
|
2
|
+
import*as t from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{normalizeToArray as h}from"../../util/model.mjs";var p=["rect","polygon","keep","clear"];function c(r,u){var a=h(r?r.brush:[]);if(a.length){var l=[];t.each(a,function(f){var i=f.hasOwnProperty("toolbox")?f.toolbox:[];i instanceof Array&&(l=l.concat(i))});var o=r&&r.toolbox;t.isArray(o)&&(o=o[0]),o||(o={feature:{}},r.toolbox=[o]);var n=o.feature||(o.feature={}),s=n.brush||(n.brush={}),e=s.type||(s.type=[]);e.push.apply(e,l),b(e),u&&!e.length&&e.push.apply(e,p)}}function b(r){var u={};t.each(r,function(a){u[a]=1}),r.length=0,t.each(u,function(a,l){r.push(l)})}export{c as default};
|
|
3
|
+
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/selector */
|
|
2
|
+
import*as f from"/zrender@6.0.0/es2022/lib/contain/polygon.mjs";import u from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import{linePolygonIntersect as l}from"../../util/graphic.mjs";function d(n){var s=n.brushType,e={point:function(r){return v[s].point(r,e,n)},rect:function(r){return v[s].rect(r,e,n)}};return e}var v={lineX:g(0),lineY:g(1),rect:{point:function(n,s,e){return n&&e.boundingRect.contain(n[0],n[1])},rect:function(n,s,e){return n&&e.boundingRect.intersect(n)}},polygon:{point:function(n,s,e){return n&&e.boundingRect.contain(n[0],n[1])&&f.contain(e.range,n[0],n[1])},rect:function(n,s,e){var r=e.range;if(!n||r.length<=1)return!1;var c=n.x,o=n.y,i=n.width,t=n.height,h=r[0];if(f.contain(r,c,o)||f.contain(r,c+i,o)||f.contain(r,c,o+t)||f.contain(r,c+i,o+t)||u.create(n).contain(h[0],h[1])||l(c,o,c+i,o,r)||l(c,o,c,o+t,r)||l(c+i,o,c+i,o+t,r)||l(c,o+t,c+i,o+t,r))return!0}}};function g(n){var s=["x","y"],e=["width","height"];return{point:function(r,c,o){if(r){var i=o.range,t=r[n];return p(t,i)}},rect:function(r,c,o){if(r){var i=o.range,t=[r[s[n]],r[s[n]]+r[e[n]]];return t[1]<t[0]&&t.reverse(),p(t[0],i)||p(t[1],i)||p(i[0],t)||p(i[1],t)}}}}function p(n,s){return s[0]<=n&&n<=s[1]}var w=v;export{w as default,d as makeBrushCommonSelectorForSeries};
|
|
3
|
+
//# sourceMappingURL=selector.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/brush/visualEncoding */
|
|
2
|
+
import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import d from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import*as g from"../../visual/visualSolution.mjs";import{makeBrushCommonSelectorForSeries as H}from"./selector.mjs";import*as R from"../../util/throttle.mjs";import L from"../helper/BrushTargetManager.mjs";var k=["inBrush","outOfBrush"],T="__ecBrushSelect",A="__ecInBrushSelectEvent";function N(t){t.eachComponent({mainType:"brush"},function(r){var e=r.brushTargetManager=new L(r.option,t);e.setInputRanges(r.areas,t)})}function P(t,r,e){var h=[],f,a;t.eachComponent({mainType:"brush"},function(o){e&&e.type==="takeGlobalCursor"&&o.setBrushOption(e.key==="brush"?e.brushOption:{brushType:!1})}),N(t),t.eachComponent({mainType:"brush"},function(o,U){var D={brushId:o.id,brushIndex:U,brushName:o.name,areas:s.clone(o.areas),selected:[]};h.push(D);var m=o.option,y=m.brushLink,O=[],b=[],I=[],p=!1;U||(f=m.throttleType,a=m.throttleDelay);var _=s.map(o.areas,function(n){var u=j[n.brushType],i=s.defaults({boundingRect:u?u(n):void 0},n);return i.selectors=H(i),i}),w=g.createVisualMappings(o.option,k,function(n){n.mappingMethod="fixed"});s.isArray(y)&&s.each(y,function(n){O[n]=1});function S(n){return y==="all"||!!O[n]}function B(n){return!!n.length}t.eachSeries(function(n,u){var i=I[u]=[];n.subType==="parallel"?E(n,u):F(n,u,i)});function E(n,u){var i=n.coordinateSystem;p=p||i.hasAxisBrushed(),S(u)&&i.eachActiveState(n.getData(),function(l,c){l==="active"&&(b[c]=1)})}function F(n,u,i){if(!(!n.brushSelector||x(o,u))&&(s.each(_,function(c){o.brushTargetManager.controlSeries(c,n,t)&&i.push(c),p=p||B(i)}),S(u)&&B(i))){var l=n.getData();l.each(function(c){z(n,i,l,c)&&(b[c]=1)})}}t.eachSeries(function(n,u){var i={seriesId:n.id,seriesIndex:u,seriesName:n.name,dataIndex:[]};D.selected.push(i);var l=I[u],c=n.getData(),V=S(u)?function(v){return b[v]?(i.dataIndex.push(c.getRawIndex(v)),"inBrush"):"outOfBrush"}:function(v){return z(n,l,c,v)?(i.dataIndex.push(c.getRawIndex(v)),"inBrush"):"outOfBrush"};(S(u)?p:B(l))&&g.applyVisual(k,w,c,V)})}),G(r,f,a,h,e)}function G(t,r,e,h,f){if(f){var a=t.getZr();if(!a[A]){a[T]||(a[T]=Z);var o=R.createOrUpdate(a,T,e,r);o(t,h)}}}function Z(t,r){if(!t.isDisposed()){var e=t.getZr();e[A]=!0,t.dispatchAction({type:"brushSelect",batch:r}),e[A]=!1}}function z(t,r,e,h){for(var f=0,a=r.length;f<a;f++){var o=r[f];if(t.brushSelector(h,e,o.selectors,o))return!0}}function x(t,r){var e=t.option.seriesIndex;return e!=null&&e!=="all"&&(s.isArray(e)?s.indexOf(e,r)<0:r!==e)}var j={rect:function(t){return C(t.range)},polygon:function(t){for(var r,e=t.range,h=0,f=e.length;h<f;h++){r=r||[[1/0,-1/0],[1/0,-1/0]];var a=e[h];a[0]<r[0][0]&&(r[0][0]=a[0]),a[0]>r[0][1]&&(r[0][1]=a[0]),a[1]<r[1][0]&&(r[1][0]=a[1]),a[1]>r[1][1]&&(r[1][1]=a[1])}return r&&C(r)}};function C(t){return new d(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}export{P as default,N as layoutCovers};
|
|
3
|
+
//# sourceMappingURL=visualEncoding.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/calendar/install */
|
|
2
|
+
import e from"../../coord/calendar/CalendarModel.mjs";import r from"./CalendarView.mjs";import n from"../../coord/calendar/Calendar.mjs";function m(o){o.registerComponentModel(e),o.registerComponentView(r),o.registerCoordinateSystem("calendar",n)}export{m as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/dataZoom/DataZoomModel */
|
|
2
|
+
import{__extends as T}from"/tslib@2.3.0/es2022/tslib.mjs";import{each as a,createHashMap as m,merge as y}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import O from"../../model/Component.mjs";import{getAxisMainType as c,DATA_ZOOM_AXIS_DIMENSIONS as A}from"./helper.mjs";import{MULTIPLE_REFERRING as I,SINGLE_REFERRING as _}from"../../util/model.mjs";var v=function(){function f(){this.indexList=[],this.indexMap=[]}return f.prototype.add=function(r){this.indexMap[r]||(this.indexList.push(r),this.indexMap[r]=!0)},f}(),R=function(f){T(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type=r.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return r.prototype.init=function(t,e,i){var n=M(t);this.settledOption=n,this.mergeDefaultAndTheme(t,i),this._doInit(n)},r.prototype.mergeOption=function(t){var e=M(t);y(this.option,t,!0),y(this.settledOption,e,!0),this._doInit(e)},r.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var i=this.settledOption;a([["start","startValue"],["end","endValue"]],function(n,o){this._rangePropMode[o]==="value"&&(e[n[0]]=i[n[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=m(),i=this._fillSpecifiedTargetAxis(e);i?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(n){n.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return a(A,function(i){var n=this.getReferringComponents(c(i),I);if(n.specified){e=!0;var o=new v;a(n.models,function(s){o.add(s.componentIndex)}),t.set(i,o)}},this),e},r.prototype._fillAutoTargetAxisByOrient=function(t,e){var i=this.ecModel,n=!0;if(n){var o=e==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});p(s,o)}if(n){var s=i.findComponents({mainType:"singleAxis",filter:function(l){return l.get("orient",!0)===e}});p(s,"single")}function p(u,l){var d=u[0];if(d){var h=new v;if(h.add(d.componentIndex),t.set(l,h),n=!1,l==="x"||l==="y"){var x=d.getReferringComponents("grid",_).models[0];x&&a(u,function(g){d.componentIndex!==g.componentIndex&&x===g.getReferringComponents("grid",_).models[0]&&h.add(g.componentIndex)})}}}n&&a(A,function(u){if(n){var l=i.findComponents({mainType:c(u),filter:function(h){return h.get("type",!0)==="category"}});if(l[0]){var d=new v;d.add(l[0].componentIndex),t.set(u,d),n=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),t==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(t){var e=this._rangePropMode,i=this.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(n,o){var s=t[n[0]]!=null,p=t[n[1]]!=null;s&&!p?e[o]="percent":!s&&p?e[o]="value":i?e[o]=i[o]:s&&(e[o]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,i){t==null&&(t=this.ecModel.getComponent(c(e),i))},this),t},r.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(i,n){a(i.indexList,function(o){t.call(e,n,o)})})},r.prototype.getAxisProxy=function(t,e){var i=this.getAxisModel(t,e);if(i)return i.__dzAxisProxy},r.prototype.getAxisModel=function(t,e){var i=this._targetAxisInfoMap.get(t);if(i&&i.indexMap[e])return this.ecModel.getComponent(c(t),e)},r.prototype.setRawRange=function(t){var e=this.option,i=this.settledOption;a([["start","startValue"],["end","endValue"]],function(n){(t[n[0]]!=null||t[n[1]]!=null)&&(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])},this),this._updateRangeUse(t)},r.prototype.setCalculatedRange=function(t){var e=this.option;a(["start","startValue","end","endValue"],function(i){e[i]=t[i]})},r.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},r.prototype.getValueRange=function(t,e){if(t==null&&e==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(t,e).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,i=this._targetAxisInfoMap.keys(),n=0;n<i.length;n++)for(var o=i[n],s=this._targetAxisInfoMap.get(o),p=0;p<s.indexList.length;p++){var u=this.getAxisProxy(o,s.indexList[p]);if(u.hostedBy(this))return u;e||(e=u)}return e},r.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},r.prototype.getOrient=function(){return this._orient},r.type="dataZoom",r.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],r.defaultOption={z:4,filterMode:"filter",start:0,end:100},r}(O);function M(f){var r={};return a(["start","end","startValue","endValue","throttle"],function(t){f.hasOwnProperty(t)&&(r[t]=f[t])}),r}var D=R;export{D as default};
|
|
3
|
+
//# sourceMappingURL=DataZoomModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/dataZoom/InsideZoomModel */
|
|
2
|
+
import{__extends as i}from"/tslib@2.3.0/es2022/tslib.mjs";import n from"./DataZoomModel.mjs";import{inheritDefaultOption as a}from"../../util/component.mjs";var l=function(o){i(e,o);function e(){var t=o!==null&&o.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=a(n.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(n),s=l;export{s as default};
|
|
3
|
+
//# sourceMappingURL=InsideZoomModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/dataZoom/InsideZoomView */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import u from"./DataZoomView.mjs";import d from"../helper/sliderMove.mjs";import*as x from"./roams.mjs";import{bind as g}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var y=function(t){f(a,t);function a(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return a.prototype.render=function(n,s,o){if(t.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),x.setViewInfoToCoordSysRecord(o,n,{pan:g(c.pan,this),zoom:g(c.zoom,this),scrollMove:g(c.scrollMove,this)})},a.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},a.prototype._clear=function(){x.disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},a.type="dataZoom.inside",a}(u),c={zoom:function(t,a,n,s){var o=this.range,r=o.slice(),e=t.axisModels[0];if(e){var i=v[a](null,[s.originX,s.originY],e,n,t),l=(i.signal>0?i.pixelStart+i.pixelLength-i.pixel:i.pixel-i.pixelStart)/i.pixelLength*(r[1]-r[0])+r[0],p=Math.max(1/s.scale,0);r[0]=(r[0]-l)*p+l,r[1]=(r[1]-l)*p+l;var m=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(d(0,r,[0,100],0,m.minSpan,m.maxSpan),this.range=r,o[0]!==r[0]||o[1]!==r[1])return r}},pan:h(function(t,a,n,s,o,r){var e=v[s]([r.oldX,r.oldY],[r.newX,r.newY],a,o,n);return e.signal*(t[1]-t[0])*e.pixel/e.pixelLength}),scrollMove:h(function(t,a,n,s,o,r){var e=v[s]([0,0],[r.scrollDelta,r.scrollDelta],a,o,n);return e.signal*(t[1]-t[0])*r.scrollDelta})};function h(t){return function(a,n,s,o){var r=this.range,e=r.slice(),i=a.axisModels[0];if(i){var l=t(e,i,a,n,s,o);if(d(l,e,[0,100],"all"),this.range=e,r[0]!==e[0]||r[1]!==e[1])return e}}}var v={grid:function(t,a,n,s,o){var r=n.axis,e={},i=o.model.coordinateSystem.getRect();return t=t||[0,0],r.dim==="x"?(e.pixel=a[0]-t[0],e.pixelLength=i.width,e.pixelStart=i.x,e.signal=r.inverse?1:-1):(e.pixel=a[1]-t[1],e.pixelLength=i.height,e.pixelStart=i.y,e.signal=r.inverse?-1:1),e},polar:function(t,a,n,s,o){var r=n.axis,e={},i=o.model.coordinateSystem,l=i.getRadiusAxis().getExtent(),p=i.getAngleAxis().getExtent();return t=t?i.pointToCoord(t):[0,0],a=i.pointToCoord(a),n.mainType==="radiusAxis"?(e.pixel=a[0]-t[0],e.pixelLength=l[1]-l[0],e.pixelStart=l[0],e.signal=r.inverse?1:-1):(e.pixel=a[1]-t[1],e.pixelLength=p[1]-p[0],e.pixelStart=p[0],e.signal=r.inverse?-1:1),e},singleAxis:function(t,a,n,s,o){var r=n.axis,e=o.model.coordinateSystem.getRect(),i={};return t=t||[0,0],r.orient==="horizontal"?(i.pixel=a[0]-t[0],i.pixelLength=e.width,i.pixelStart=e.x,i.signal=r.inverse?1:-1):(i.pixel=a[1]-t[1],i.pixelLength=e.height,i.pixelStart=e.y,i.signal=r.inverse?-1:1),i}},A=y;export{A as default};
|
|
3
|
+
//# sourceMappingURL=InsideZoomView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/dataZoom/SliderZoomModel */
|
|
2
|
+
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import r from"./DataZoomModel.mjs";import{inheritDefaultOption as c}from"../../util/component.mjs";import o from"../../visual/tokens.mjs";var n=function(t){a(e,t);function e(){var l=t!==null&&t.apply(this,arguments)||this;return l.type=e.type,l}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=c(r.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:o.color.accent10,borderRadius:0,backgroundColor:o.color.transparent,dataBackground:{lineStyle:{color:o.color.accent30,width:.5},areaStyle:{color:o.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:o.color.accent40,width:.5},areaStyle:{color:o.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:o.color.neutral00,borderColor:o.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:o.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:o.color.tertiary},brushSelect:!0,brushStyle:{color:o.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:o.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(r),u=n;export{u as default};
|
|
3
|
+
//# sourceMappingURL=SliderZoomModel.mjs.map
|