@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/component/singleAxis/install */
|
|
2
|
+
import{__extends as n}from"/tslib@2.3.0/es2022/tslib.mjs";import{use as r}from"../../extension.mjs";import m from"../../view/Component.mjs";import l from"../axis/SingleAxisView.mjs";import s from"../../coord/axisModelCreator.mjs";import e from"../../coord/single/AxisModel.mjs";import p from"../../coord/single/singleCreator.mjs";import{install as a}from"../axisPointer/install.mjs";import f from"../axis/AxisView.mjs";import g from"../axisPointer/SingleAxisPointer.mjs";var x=function(i){n(o,i);function o(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=o.type,t}return o.type="single",o}(m);function h(i){r(a),f.registerAxisPointerClass("SingleAxisPointer",g),i.registerComponentView(x),i.registerComponentView(l),i.registerComponentModel(e),s(i,"single",e,e.defaultOption),i.registerCoordinateSystem("single",p)}export{h as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/thumbnail/ThumbnailBridgeImpl */
|
|
2
|
+
import{calcZ2Range as i}from"../../util/graphic.mjs";var a=function(){function r(e){this._thumbnailModel=e}return r.prototype.reset=function(e){this._renderVersion=e.getMainProcessVersion()},r.prototype.renderContent=function(e){var n=e.api.getViewOfComponentModel(this._thumbnailModel);n&&(e.group.silent=!0,n.renderContent({group:e.group,targetTrans:e.targetTrans,z2Range:i(e.group),roamType:e.roamType,viewportRect:e.viewportRect,renderVersion:this._renderVersion}))},r.prototype.updateWindow=function(e,n){var t=n.getViewOfComponentModel(this._thumbnailModel);t&&t.updateWindow({targetTrans:e,renderVersion:this._renderVersion})},r}();export{a as ThumbnailBridgeImpl};
|
|
3
|
+
//# sourceMappingURL=ThumbnailBridgeImpl.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/thumbnail/ThumbnailModel */
|
|
2
|
+
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"../../model/Component.mjs";import"../../util/log.mjs";import o from"../../visual/tokens.mjs";import{injectThumbnailBridge as n}from"../helper/thumbnailBridge.mjs";import{ThumbnailBridgeImpl as u}from"./ThumbnailBridgeImpl.mjs";var c=function(r){l(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.preventAutoZ=!0,t}return e.prototype.optionUpdated=function(t,i){this._updateBridge()},e.prototype._updateBridge=function(){var t=this._birdge=this._birdge||new u(this);if(this._target=null,this.ecModel.eachSeries(function(s){n(s,null)}),this.shouldShow()){var i=this.getTarget();n(i.baseMapProvider,t)}},e.prototype.shouldShow=function(){return this.getShallow("show",!0)},e.prototype.getBridge=function(){return this._birdge},e.prototype.getTarget=function(){if(this._target)return this._target;var t=this.getReferringComponents("series",{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];return t?t.subType!=="graph"&&(t=null):t=this.ecModel.queryComponents({mainType:"series",subType:"graph"})[0],this._target={baseMapProvider:t},this._target},e.type="thumbnail",e.layoutMode="box",e.dependencies=["series","geo"],e.defaultOption={show:!0,right:1,bottom:1,height:"25%",width:"25%",itemStyle:{borderColor:o.color.border,borderWidth:2},windowStyle:{borderWidth:1,color:o.color.neutral30,borderColor:o.color.neutral40,opacity:.3},z:10},e}(p);export{c as ThumbnailModel};
|
|
3
|
+
//# sourceMappingURL=ThumbnailModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/thumbnail/ThumbnailView */
|
|
2
|
+
import{__extends as x}from"/tslib@2.3.0/es2022/tslib.mjs";import C from"../../view/Component.mjs";import V from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import*as l from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import z from"../helper/RoamController.mjs";import I from"../../visual/tokens.mjs";import{createBoxLayoutReference as W,getBoxLayoutParams as E,getLayoutRect as u}from"../../util/layout.mjs";import{expandOrShrinkRect as G,Rect as p,Group as _,traverseUpdateZ as B,retrieveZInfo as P}from"../../util/graphic.mjs";import{applyTransform as f}from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import Z from"../../coord/View.mjs";import{bind as y,defaults as A,extend as U}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var F=function(a){x(o,a);function o(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=o.type,e}return o.prototype.render=function(e,t,i){if(this._api=i,this._model=e,this._coordSys||(this._coordSys=new Z),!this._isEnabled()){this._clear();return}this._renderVersion=i.getMainProcessVersion();var r=this.group;r.removeAll();var s=e.getModel("itemStyle"),n=s.getItemStyle();n.fill==null&&(n.fill=t.get("backgroundColor")||I.color.neutral00);var d=W(e,i).refContainer,c=u(E(e,!0),d),w=n.lineWidth||0,b=this._contentRect=G(c.clone(),w/2,!0,!0),h=new _;r.add(h),h.setClipPath(new p({shape:b.plain()}));var T=this._targetGroup=new _;h.add(T);var g=c.plain();g.r=s.getShallow("borderRadius",!0),r.add(this._bgRect=new p({style:n,shape:g,silent:!1,cursor:"grab"}));var m=e.getModel("windowStyle"),S=m.getShallow("borderRadius",!0);h.add(this._windowRect=new p({shape:{x:0,y:0,width:0,height:0,r:S},style:m.getItemStyle(),silent:!1,cursor:"grab"})),this._dealRenderContent(),this._dealUpdateWindow(),R(e,this)},o.prototype.renderContent=function(e){this._bridgeRendered=e,this._isEnabled()&&(this._dealRenderContent(),this._dealUpdateWindow(),R(this._model,this))},o.prototype._dealRenderContent=function(){var e=this._bridgeRendered;if(!(!e||e.renderVersion!==this._renderVersion)){var t=this._targetGroup,i=this._coordSys,r=this._contentRect;if(t.removeAll(),!!e){var s=e.group,n=s.getBoundingRect();t.add(s),this._bgRect.z2=e.z2Range.min-10,i.setBoundingRect(n.x,n.y,n.width,n.height);var d=u({left:"center",top:"center",aspect:n.width/n.height},r);i.setViewRect(d.x,d.y,d.width,d.height),s.attr(i.getTransformInfo().raw),this._windowRect.z2=e.z2Range.max+10,this._resetRoamController(e.roamType)}}},o.prototype.updateWindow=function(e){var t=this._bridgeRendered;t&&t.renderVersion===e.renderVersion&&(t.targetTrans=e.targetTrans),this._isEnabled()&&this._dealUpdateWindow()},o.prototype._dealUpdateWindow=function(){var e=this._bridgeRendered;if(!(!e||e.renderVersion!==this._renderVersion)){var t=l.invert([],e.targetTrans),i=l.mul([],this._coordSys.transform,t);this._transThisToTarget=l.invert([],i);var r=e.viewportRect;r?r=r.clone():r=new V(0,0,this._api.getWidth(),this._api.getHeight()),r.applyTransform(i);var s=this._windowRect,n=s.shape.r;s.setShape(A({r:n},r))}},o.prototype._resetRoamController=function(e){var t=this,i=this._api,r=this._roamController;if(r||(r=this._roamController=new z(i.getZr())),!e||!this._isEnabled()){r.disable();return}r.enable(e,{api:i,zInfo:{component:this._model},triggerInfo:{roamTrigger:null,isInSelf:function(s,n,d){return t._contentRect.contain(n,d)}}}),r.off("pan").off("zoom").on("pan",y(this._onPan,this)).on("zoom",y(this._onZoom,this))},o.prototype._onPan=function(e){var t=this._transThisToTarget;if(!(!this._isEnabled()||!t)){var i=f([],[e.oldX,e.oldY],t),r=f([],[e.oldX-e.dx,e.oldY-e.dy],t);this._api.dispatchAction(v(this._model.getTarget().baseMapProvider,{dx:r[0]-i[0],dy:r[1]-i[1]}))}},o.prototype._onZoom=function(e){var t=this._transThisToTarget;if(!(!this._isEnabled()||!t)){var i=f([],[e.originX,e.originY],t);this._api.dispatchAction(v(this._model.getTarget().baseMapProvider,{zoom:1/e.scale,originX:i[0],originY:i[1]}))}},o.prototype._isEnabled=function(){var e=this._model;if(!e||!e.shouldShow())return!1;var t=e.getTarget().baseMapProvider;return!!t},o.prototype._clear=function(){this.group.removeAll(),this._bridgeRendered=null,this._roamController&&this._roamController.disable()},o.prototype.remove=function(){this._clear()},o.prototype.dispose=function(){this._clear()},o.type="thumbnail",o}(C);function v(a,o){var e=a.mainType==="series"?a.subType+"Roam":a.mainType+"Roam",t={type:e};return t[a.mainType+"Id"]=a.id,U(t,o),t}function R(a,o){var e=P(a);B(o.group,e.z,e.zlevel)}export{F as ThumbnailView};
|
|
3
|
+
//# sourceMappingURL=ThumbnailView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/thumbnail/install */
|
|
2
|
+
import{ThumbnailModel as e}from"./ThumbnailModel.mjs";import{ThumbnailView as i}from"./ThumbnailView.mjs";function t(o){o.registerComponentModel(e),o.registerComponentView(i)}export{t as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/SliderTimelineModel */
|
|
2
|
+
import{__extends as c}from"/tslib@2.3.0/es2022/tslib.mjs";import l from"./TimelineModel.mjs";import{DataFormatMixin as n}from"../../model/mixin/dataFormat.mjs";import{mixin as a}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{inheritDefaultOption as C}from"../../util/component.mjs";import o from"../../visual/tokens.mjs";var i=function(r){c(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline.slider",t.defaultOption=C(l.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:o.color.border,borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:o.color.accent10},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:o.color.tertiary},itemStyle:{color:o.color.accent20,borderWidth:0},checkpointStyle:{symbol:"circle",symbolSize:15,color:o.color.accent50,borderColor:o.color.accent50,borderWidth:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10.6699C11.5 9.90014 12.3333 9.41887 13 9.80371L20.5 14.1338C21.1667 14.5187 21.1667 15.4813 20.5 15.8662L13 20.1963C12.3333 20.5811 11.5 20.0999 11.5 19.3301V10.6699Z",stopIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10C12.3284 10 13 10.6716 13 11.5V18.5C13 19.3284 12.3284 20 11.5 20C10.6716 20 10 19.3284 10 18.5V11.5C10 10.6716 10.6716 10 11.5 10ZM18.5 10C19.3284 10 20 10.6716 20 11.5V18.5C20 19.3284 19.3284 20 18.5 20C17.6716 20 17 19.3284 17 18.5V11.5C17 10.6716 17.6716 10 18.5 10Z",nextIcon:"path://M0.838834 18.7383C0.253048 18.1525 0.253048 17.2028 0.838834 16.617L7.55635 9.89949L0.838834 3.18198C0.253048 2.59619 0.253048 1.64645 0.838834 1.06066C1.42462 0.474874 2.37437 0.474874 2.96015 1.06066L10.7383 8.83883L10.8412 8.95277C11.2897 9.50267 11.2897 10.2963 10.8412 10.8462L10.7383 10.9602L2.96015 18.7383C2.37437 19.3241 1.42462 19.3241 0.838834 18.7383Z",prevIcon:"path://M10.9602 1.06066C11.5459 1.64645 11.5459 2.59619 10.9602 3.18198L4.24264 9.89949L10.9602 16.617C11.5459 17.2028 11.5459 18.1525 10.9602 18.7383C10.3744 19.3241 9.42462 19.3241 8.83883 18.7383L1.06066 10.9602L0.957771 10.8462C0.509245 10.2963 0.509245 9.50267 0.957771 8.95277L1.06066 8.83883L8.83883 1.06066C9.42462 0.474874 10.3744 0.474874 10.9602 1.06066Z",prevBtnSize:18,nextBtnSize:18,color:o.color.accent50,borderColor:o.color.accent50,borderWidth:0},emphasis:{label:{show:!0,color:o.color.accent60},itemStyle:{color:o.color.accent60,borderColor:o.color.accent60},controlStyle:{color:o.color.accent70,borderColor:o.color.accent70}},progress:{lineStyle:{color:o.color.accent30},itemStyle:{color:o.color.accent40}},data:[]}),t}(l);a(i,n.prototype);var y=i;export{y as default};
|
|
3
|
+
//# sourceMappingURL=SliderTimelineModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/SliderTimelineView */
|
|
2
|
+
import{__extends as U}from"/tslib@2.3.0/es2022/tslib.mjs";import H from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import*as T from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import*as _ from"../../util/graphic.mjs";import{createTextStyle as z}from"../../label/labelStyle.mjs";import*as A from"../../util/layout.mjs";import X from"./TimelineView.mjs";import Y from"./TimelineAxis.mjs";import{createSymbol as W,normalizeSymbolOffset as j,normalizeSymbolSize as q}from"../../util/symbol.mjs";import*as N from"../../util/number.mjs";import{merge as F,each as I,extend as J,isString as E,bind as P,defaults as K,retrieve2 as Q}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import Z from"../../scale/Ordinal.mjs";import $ from"../../scale/Time.mjs";import tt from"../../scale/Interval.mjs";import{parsePercent as et}from"/zrender@6.0.0/es2022/lib/contain/text.mjs";import{makeInner as rt}from"../../util/model.mjs";import{getECData as at}from"../../util/innerStore.mjs";import{enableHoverEmphasis as D}from"../../util/states.mjs";import{createTooltipMarkup as it}from"../tooltip/tooltipMarkup.mjs";var R=Math.PI,G=rt(),ot=function(v){U(n,v);function n(){var t=v!==null&&v.apply(this,arguments)||this;return t.type=n.type,t}return n.prototype.init=function(t,a){this.api=a},n.prototype.render=function(t,a,e){if(this.model=t,this.api=e,this.ecModel=a,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,e),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(l){var c=s.scale.getLabel({value:l});return it("nameValue",{noName:!0,value:c})},I(["AxisLine","AxisTick","Control","CurrentPointer"],function(l){this["_render"+l](r,i,s,t)},this),this._renderAxisLabel(r,o,s,t),this._position(r,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,a){var e=t.get(["label","position"]),r=t.get("orient"),i=lt(t,a),o;e==null||e==="auto"?o=r==="horizontal"?i.y+i.height/2<a.getHeight()/2?"-":"+":i.x+i.width/2<a.getWidth()/2?"+":"-":E(e)?o={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][e]:o=e;var s={horizontal:"center",vertical:o>=0||o==="+"?"left":"right"},l={horizontal:o>=0||o==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:R/2},u=r==="vertical"?i.height:i.width,p=t.getModel("controlStyle"),d=p.get("show",!0),f=d?p.get("itemSize"):0,m=d?p.get("itemGap"):0,h=f+m,g=t.get(["label","rotate"])||0;g=g*R/180;var S,x,y,k=p.get("position",!0),B=d&&p.get("showPlayBtn",!0),w=d&&p.get("showPrevBtn",!0),C=d&&p.get("showNextBtn",!0),L=0,b=u;k==="left"||k==="bottom"?(B&&(S=[0,0],L+=h),w&&(x=[L,0],L+=h),C&&(y=[b-f,0],b-=h)):(B&&(S=[b-f,0],b-=h),w&&(x=[0,0],L+=h),C&&(y=[b-f,0],b-=h));var M=[L,b];return t.get("inverse")&&M.reverse(),{viewRect:i,mainLength:u,orient:r,rotation:c[r],labelRotation:g,labelPosOpt:o,labelAlign:t.get(["label","align"])||s[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||l[r],playPosition:S,prevBtnPosition:x,nextBtnPosition:y,axisExtent:M,controlSize:f,controlGap:m}},n.prototype._position=function(t,a){var e=this._mainGroup,r=this._labelGroup,i=t.viewRect;if(t.orient==="vertical"){var o=T.create(),s=i.x,l=i.y+i.height;T.translate(o,o,[-s,-l]),T.rotate(o,o,-R/2),T.translate(o,o,[s,l]),i=i.clone(),i.applyTransform(o)}var c=S(i),u=S(e.getBoundingRect()),p=S(r.getBoundingRect()),d=[e.x,e.y],f=[r.x,r.y];f[0]=d[0]=c[0][0];var m=t.labelPosOpt;if(m==null||E(m)){var h=m==="+"?0:1;x(d,u,c,1,h),x(f,p,c,1,1-h)}else{var h=m>=0?0:1;x(d,u,c,1,h),f[1]=d[1]+m}e.setPosition(d),r.setPosition(f),e.rotation=r.rotation=t.rotation,g(e),g(r);function g(y){y.originX=c[0][0]-y.x,y.originY=c[1][0]-y.y}function S(y){return[[y.x,y.x+y.width],[y.y,y.y+y.height]]}function x(y,k,B,w,C){y[w]+=B[w][C]-k[w][C]}},n.prototype._createAxis=function(t,a){var e=a.getData(),r=a.get("axisType"),i=nt(a,r);i.getTicks=function(){return e.mapArray(["value"],function(l){return{value:l}})};var o=e.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var s=new Y("value",i,t.axisExtent,r);return s.model=a,s},n.prototype._createGroup=function(t){var a=this[t]=new _.Group;return this.group.add(a),a},n.prototype._renderAxisLine=function(t,a,e,r){var i=e.getExtent();if(r.get(["lineStyle","show"])){var o=new _.Line({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:J({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(o);var s=this._progressLine=new _.Line({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:K({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(s)}},n.prototype._renderAxisTick=function(t,a,e,r){var i=this,o=r.getData(),s=e.scale.getTicks();this._tickSymbols=[],I(s,function(l){var c=e.dataToCoord(l.value),u=o.getItemModel(l.value),p=u.getModel("itemStyle"),d=u.getModel(["emphasis","itemStyle"]),f=u.getModel(["progress","itemStyle"]),m={x:c,y:0,onclick:P(i._changeTimeline,i,l.value)},h=O(u,p,a,m);h.ensureState("emphasis").style=d.getItemStyle(),h.ensureState("progress").style=f.getItemStyle(),D(h);var g=at(h);u.get("tooltip")?(g.dataIndex=l.value,g.dataModel=r):g.dataIndex=g.dataModel=null,i._tickSymbols.push(h)})},n.prototype._renderAxisLabel=function(t,a,e,r){var i=this,o=e.getLabelModel();if(o.get("show")){var s=r.getData(),l=e.getViewLabels();this._tickLabels=[],I(l,function(c){var u=c.tickValue,p=s.getItemModel(u),d=p.getModel("label"),f=p.getModel(["emphasis","label"]),m=p.getModel(["progress","label"]),h=e.dataToCoord(c.tickValue),g=new _.Text({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:P(i._changeTimeline,i,u),silent:!1,style:z(d,{text:c.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});g.ensureState("emphasis").style=z(f),g.ensureState("progress").style=z(m),a.add(g),D(g),G(g).dataIndex=u,i._tickLabels.push(g)})}},n.prototype._renderControl=function(t,a,e,r){var i=t.controlSize,o=t.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel(["emphasis","controlStyle"]).getItemStyle(),c=r.getPlayState(),u=r.get("inverse",!0);p(t.nextBtnPosition,"next",P(this._changeTimeline,this,u?"-":"+")),p(t.prevBtnPosition,"prev",P(this._changeTimeline,this,u?"+":"-")),p(t.playPosition,c?"stop":"play",P(this._handlePlayClick,this,!c),!0);function p(d,f,m,h){if(d){var g=et(Q(r.get(["controlStyle",f+"BtnSize"]),i),i),S=[0,-g/2,g,g],x=st(r,f+"Icon",S,{x:d[0],y:d[1],originX:i/2,originY:0,rotation:h?-o:0,rectHover:!0,style:s,onclick:m});x.ensureState("emphasis").style=l,a.add(x),D(x)}}},n.prototype._renderCurrentPointer=function(t,a,e,r){var i=r.getData(),o=r.getCurrentIndex(),s=i.getItemModel(o).getModel("checkpointStyle"),l=this,c={onCreate:function(u){u.draggable=!0,u.drift=P(l._handlePointerDrag,l),u.ondragend=P(l._handlePointerDragend,l),V(u,l._progressLine,o,e,r,!0)},onUpdate:function(u){V(u,l._progressLine,o,e,r)}};this._currentPointer=O(s,s,this._mainGroup,{},this._currentPointer,c)},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,a,e){this._clearTimer(),this._pointerChangeTimeline([e.offsetX,e.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,a){var e=this._toAxisCoord(t)[0],r=this._axis,i=N.asc(r.getExtent().slice());e>i[1]&&(e=i[1]),e<i[0]&&(e=i[0]),this._currentPointer.x=e,this._currentPointer.markRedraw();var o=this._progressLine;o&&(o.shape.x2=e,o.dirty());var s=this._findNearestTick(e),l=this.model;(a||s!==l.getCurrentIndex()&&l.get("realtime"))&&this._changeTimeline(s)},n.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var a=t.model;t._changeTimeline(a.getCurrentIndex()+(a.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},n.prototype._toAxisCoord=function(t){var a=this._mainGroup.getLocalTransform();return _.applyTransform(t,a,!0)},n.prototype._findNearestTick=function(t){var a=this.model.getData(),e=1/0,r,i=this._axis;return a.each(["value"],function(o,s){var l=i.dataToCoord(o),c=Math.abs(l-t);c<e&&(e=c,r=s)}),r},n.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},n.prototype._changeTimeline=function(t){var a=this.model.getCurrentIndex();t==="+"?t=a+1:t==="-"&&(t=a-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},n.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),a=this._tickSymbols,e=this._tickLabels;if(a)for(var r=0;r<a.length;r++)a&&a[r]&&a[r].toggleState("progress",r<t);if(e)for(var r=0;r<e.length;r++)e&&e[r]&&e[r].toggleState("progress",G(e[r]).dataIndex<=t)},n.type="timeline.slider",n}(X);function nt(v,n){if(n=n||v.get("type"),n)switch(n){case"category":return new Z({ordinalMeta:v.getCategories(),extent:[1/0,-1/0]});case"time":return new $({locale:v.ecModel.getLocaleModel(),useUTC:v.ecModel.get("useUTC")});default:return new tt}}function lt(v,n){return A.getLayoutRect(v.getBoxLayoutParams(),A.createBoxLayoutReference(v,n).refContainer,v.get("padding"))}function st(v,n,t,a){var e=a.style,r=_.createIcon(v.get(["controlStyle",n]),a||{},new H(t[0],t[1],t[2],t[3]));return e&&r.setStyle(e),r}function O(v,n,t,a,e,r){var i=n.get("color");if(e)e.setColor(i),t.add(e),r&&r.onUpdate(e);else{var o=v.get("symbol");e=W(o,-1,-1,2,2,i),e.setStyle("strokeNoScale",!0),t.add(e),r&&r.onCreate(e)}var s=n.getItemStyle(["color"]);e.setStyle(s),a=F({rectHover:!0,z2:100},a,!0);var l=q(v.get("symbolSize"));a.scaleX=l[0]/2,a.scaleY=l[1]/2;var c=j(v.get("symbolOffset"),l);c&&(a.x=(a.x||0)+c[0],a.y=(a.y||0)+c[1]);var u=v.get("symbolRotate");return a.rotation=(u||0)*Math.PI/180||0,e.attr(a),e.updateTransform(),e}function V(v,n,t,a,e,r){if(!v.dragging){var i=e.getModel("checkpointStyle"),o=a.dataToCoord(e.getData().get("value",t));if(r||!i.get("animation",!0))v.attr({x:o,y:0}),n&&n.attr({shape:{x2:o}});else{var s={duration:i.get("animationDuration",!0),easing:i.get("animationEasing",!0)};v.stopAnimation(null,!0),v.animateTo({x:o,y:0},s),n&&n.animateTo({shape:{x2:o}},s)}}}var Tt=ot;export{Tt as default};
|
|
3
|
+
//# sourceMappingURL=SliderTimelineView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/TimelineAxis */
|
|
2
|
+
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import s from"../../coord/Axis.mjs";var u=function(e){a(t,e);function t(o,r,n,l){var i=e.call(this,o,r,n)||this;return i.type=l||"value",i}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(s),p=u;export{p as default};
|
|
3
|
+
//# sourceMappingURL=TimelineAxis.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/TimelineModel */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import c from"../../model/Component.mjs";import d from"../../data/SeriesData.mjs";import{each as g,isObject as v,clone as D}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{convertOptionIdName as _,getDataItemValue as T}from"../../util/model.mjs";import u from"../../visual/tokens.mjs";var x=function(i){f(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,o,a){this.mergeDefaultAndTheme(t,a),this._initData()},e.prototype.mergeOption=function(t){i.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var o=this._data.count();this.option.loop?t=(t%o+o)%o:(t>=o&&(t=o-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,o=t.data||[],a=t.axisType,l=this._names=[],n;a==="category"?(n=[],g(o,function(p,s){var h=_(T(p),""),r;v(p)?(r=D(p),r.value=s):r=s,n.push(r),l.push(h)})):n=o;var m={category:"ordinal",time:"time",value:"number"}[a]||"number",y=this._data=new d([{name:"value",type:m}],this);y.initData(n,l)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:u.size.m,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:u.color.secondary},data:[]},e}(c),I=x;export{I as default};
|
|
3
|
+
//# sourceMappingURL=TimelineModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/TimelineView */
|
|
2
|
+
import{__extends as n}from"/tslib@2.3.0/es2022/tslib.mjs";import r from"../../view/Component.mjs";var m=function(t){n(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.type=e.type,i}return e.type="timeline",e}(r),p=m;export{p as default};
|
|
3
|
+
//# sourceMappingURL=TimelineView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/install */
|
|
2
|
+
import i from"./SliderTimelineModel.mjs";import o from"./SliderTimelineView.mjs";import{installTimelineAction as r}from"./timelineAction.mjs";import n from"./preprocessor.mjs";function f(e){e.registerComponentModel(i),e.registerComponentView(o),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),r(e),e.registerPreprocessor(n)}export{f as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/preprocessor */
|
|
2
|
+
import*as n from"/zrender@6.0.0/es2022/lib/core/util.mjs";function c(i){var e=i&&i.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,function(a){a&&u(a)})}function u(i){var e=i.type,a={number:"value",time:"time"};if(a[e]&&(i.axisType=a[e],delete i.type),f(i),s(i,"controlPosition")){var l=i.controlStyle||(i.controlStyle={});s(l,"position")||(l.position=i.controlPosition),l.position==="none"&&!s(l,"show")&&(l.show=!1,delete l.position),delete i.controlPosition}n.each(i.data||[],function(r){n.isObject(r)&&!n.isArray(r)&&(!s(r,"value")&&s(r,"name")&&(r.value=r.name),f(r))})}function f(i){var e=i.itemStyle||(i.itemStyle={}),a=e.emphasis||(e.emphasis={}),l=i.label||i.label||{},r=l.normal||(l.normal={}),o={normal:1,emphasis:1};n.each(l,function(m,t){!o[t]&&!s(r,t)&&(r[t]=m)}),a.label&&!s(l,"emphasis")&&(l.emphasis=a.label,delete a.label)}function s(i,e){return i.hasOwnProperty(e)}export{c as default};
|
|
3
|
+
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/timeline/timelineAction */
|
|
2
|
+
import{defaults as l}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function o(r){r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,n,i){var e=n.getComponent("timeline");return e&&t.currentIndex!=null&&(e.setCurrentIndex(t.currentIndex),!e.get("loop",!0)&&e.isIndexMax()&&e.getPlayState()&&(e.setPlayState(!1),i.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),n.resetOption("timeline",{replaceMerge:e.get("replaceMerge",!0)}),l({currentIndex:e.option.currentIndex},t)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,n){var i=n.getComponent("timeline");i&&t.playState!=null&&i.setPlayState(t.playState)})}export{o as installTimelineAction};
|
|
3
|
+
//# sourceMappingURL=timelineAction.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/title/install */
|
|
2
|
+
import{__extends as T}from"/tslib@2.3.0/es2022/tslib.mjs";import*as C from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as m from"../../util/graphic.mjs";import{getECData as S}from"../../util/innerStore.mjs";import{createTextStyle as k}from"../../label/labelStyle.mjs";import{createBoxLayoutReference as E,getLayoutRect as O}from"../../util/layout.mjs";import D from"../../model/Component.mjs";import I from"../../view/Component.mjs";import{windowOpen as R}from"../../util/format.mjs";import c from"../../visual/tokens.mjs";var L=function(i){T(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:c.size.m,backgroundColor:c.color.transparent,borderColor:c.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:c.color.primary},subtextStyle:{fontSize:12,color:c.color.quaternary}},e}(D),G=function(i){T(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,P,z){if(this.group.removeAll(),!!t.get("show")){var o=this.group,h=t.getModel("textStyle"),v=t.getModel("subtextStyle"),a=t.get("textAlign"),n=C.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),l=new m.Text({style:k(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),B=l.getBoundingRect(),d=t.get("subtext"),u=new m.Text({style:k(v,{text:d,fill:v.getTextColor(),y:B.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),s=t.get("link"),y=t.get("sublink"),x=t.get("triggerEvent",!0);l.silent=!s&&!x,u.silent=!y&&!x,s&&l.on("click",function(){R(s,"_"+t.get("target"))}),y&&u.on("click",function(){R(y,"_"+t.get("subtarget"))}),S(l).eventData=S(u).eventData=x?{componentType:"title",componentIndex:t.componentIndex}:null,o.add(l),d&&o.add(u);var g=o.getBoundingRect(),f=t.getBoxLayoutParams();f.width=g.width,f.height=g.height;var A=E(t,z),r=O(f,A.refContainer,t.get("padding"));a||(a=t.get("left")||t.get("right"),a==="middle"&&(a="center"),a==="right"?r.x+=r.width:a==="center"&&(r.x+=r.width/2)),n||(n=t.get("top")||t.get("bottom"),n==="center"&&(n="middle"),n==="bottom"?r.y+=r.height:n==="middle"&&(r.y+=r.height/2),n=n||"top"),o.x=r.x,o.y=r.y,o.markRedraw();var b={align:a,verticalAlign:n};l.setStyle(b),u.setStyle(b),g=o.getBoundingRect();var p=r.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var V=new m.Rect({shape:{x:g.x-p[3],y:g.y-p[0],width:g.width+p[1]+p[3],height:g.height+p[0]+p[2],r:t.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});o.add(V)}},e.type="title",e}(I);function K(i){i.registerComponentModel(L),i.registerComponentView(G)}export{K as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/ToolboxModel */
|
|
2
|
+
import{__extends as d}from"/tslib@2.3.0/es2022/tslib.mjs";import*as n from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as a from"./featureManager.mjs";import u from"../../model/Component.mjs";import e from"../../visual/tokens.mjs";var f=function(r){d(o,r);function o(){var i=r!==null&&r.apply(this,arguments)||this;return i.type=o.type,i}return o.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var i=this.ecModel;n.each(this.option.feature,function(l,p){var t=a.getFeature(p);t&&(t.getDefaultOption&&(t.defaultOption=t.getDefaultOption(i)),n.merge(l,t.defaultOption))})},o.type="toolbox",o.layoutMode={type:"box",ignoreSize:!0},o.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:e.color.border,borderRadius:0,borderWidth:0,padding:e.size.m,itemSize:15,itemGap:e.size.s,showTitle:!0,iconStyle:{borderColor:e.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:e.color.accent50}},tooltip:{show:!1,position:"bottom"}},o}(u),h=f;export{h as default};
|
|
3
|
+
//# sourceMappingURL=ToolboxModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/ToolboxView */
|
|
2
|
+
import{__extends as j}from"/tslib@2.3.0/es2022/tslib.mjs";import*as g from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as H from"/zrender@6.0.0/es2022/lib/contain/text.mjs";import*as T from"../../util/graphic.mjs";import{enterEmphasis as L,leaveEmphasis as A}from"../../util/states.mjs";import q from"../../model/Model.mjs";import J from"../../data/DataDiffer.mjs";import*as W from"../helper/listComponent.mjs";import K from"../../view/Component.mjs";import{ToolboxFeature as w,getFeature as Q}from"./featureManager.mjs";import{getUID as Y}from"../../util/component.mjs";import D from"/zrender@6.0.0/es2022/lib/graphic/Text.mjs";import{getFont as $}from"../../label/labelStyle.mjs";import{box as b,createBoxLayoutReference as N,getLayoutRect as X,positionElement as M}from"../../util/layout.mjs";import tt from"../../visual/tokens.mjs";var et=function(C){j(v,C);function v(){return C!==null&&C.apply(this,arguments)||this}return v.prototype.render=function(e,h,i,d){var m=this.group;if(m.removeAll(),!e.get("show"))return;var x=+e.get("itemSize"),k=e.get("orient")==="vertical",_=e.get("feature")||{},P=this._features||(this._features={}),z=[];g.each(_,function(n,p){z.push(p)}),new J(this._featureNames||[],z).add(U).update(U).remove(g.curry(U,null)).execute(),this._featureNames=z;function U(n,p){var o=z[n],c=z[p],r=_[o],a=new q(r,e,e.ecModel),t;if(d&&d.newTitle!=null&&d.featureName===o&&(r.title=d.newTitle),o&&!c){if(it(o))t={onclick:a.option.onclick,featureName:o};else{var l=Q(o);if(!l)return;t=new l}P[o]=t}else if(t=P[c],!t)return;t.uid=Y("toolbox-feature"),t.model=a,t.ecModel=h,t.api=i;var u=t instanceof w;if(!o&&c){u&&t.dispose&&t.dispose(h,i);return}if(!a.get("show")||u&&t.unusable){u&&t.remove&&t.remove(h,i);return}G(a,t,o),a.setIconStatus=function(S,y){var s=this.option,f=this.iconPaths;s.iconStatus=s.iconStatus||{},s.iconStatus[S]=y,f[S]&&(y==="emphasis"?L:A)(f[S])},t instanceof w&&t.render&&t.render(a,h,i,d)}function G(n,p,o){var c=n.getModel("iconStyle"),r=n.getModel(["emphasis","iconStyle"]),a=p instanceof w&&p.getIcons?p.getIcons():n.get("icon"),t=n.get("title")||{},l,u;g.isString(a)?(l={},l[o]=a):l=a,g.isString(t)?(u={},u[o]=t):u=t;var S=n.iconPaths={};g.each(l,function(y,s){var f=T.createIcon(y,{},{x:-x/2,y:-x/2,width:x,height:x});f.setStyle(c.getItemStyle());var O=f.ensureState("emphasis");O.style=r.getItemStyle();var F=new D({style:{text:u[s],align:r.get("textAlign"),borderRadius:r.get("textBorderRadius"),padding:r.get("textPadding"),fill:null,font:$({fontStyle:r.get("textFontStyle"),fontFamily:r.get("textFontFamily"),fontSize:r.get("textFontSize"),fontWeight:r.get("textFontWeight")},h)},ignore:!0});f.setTextContent(F),T.setTooltipConfig({el:f,componentModel:e,itemName:s,formatterParamsExtra:{title:u[s]}}),f.__title=u[s],f.on("mouseover",function(){var V=r.getItemStyle(),Z=k?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";F.setStyle({fill:r.get("textFill")||V.fill||V.stroke||tt.color.neutral99,backgroundColor:r.get("textBackgroundColor")}),f.setTextConfig({position:r.get("textPosition")||Z}),F.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){n.get(["iconStatus",s])!=="emphasis"&&i.leaveEmphasis(this),F.hide()}),(n.get(["iconStatus",s])==="emphasis"?L:A)(f),m.add(f),f.on("click",g.bind(p.onclick,p,h,i,s)),S[s]=f})}var I=N(e,i).refContainer,E=e.getBoxLayoutParams(),R=e.get("padding"),B=X(E,I,R);b(e.get("orient"),m,e.get("itemGap"),B.width,B.height),M(m,E,I,R),m.add(W.makeBackground(m.getBoundingRect(),e)),k||m.eachChild(function(n){var p=n.__title,o=n.ensureState("emphasis"),c=o.textConfig||(o.textConfig={}),r=n.getTextContent(),a=r&&r.ensureState("emphasis");if(a&&!g.isFunction(a)&&p){var t=a.style||(a.style={}),l=H.getBoundingRect(p,D.makeFont(t)),u=n.x+m.x,S=n.y+m.y+x,y=!1;S+l.height>i.getHeight()&&(c.position="top",y=!0);var s=y?-5-l.height:x+10;u+l.width/2>i.getWidth()?(c.position=["100%",s],t.align="right"):u-l.width/2<0&&(c.position=[0,s],t.align="left")}})},v.prototype.updateView=function(e,h,i,d){g.each(this._features,function(m){m instanceof w&&m.updateView&&m.updateView(m.model,h,i,d)})},v.prototype.remove=function(e,h){g.each(this._features,function(i){i instanceof w&&i.remove&&i.remove(e,h)}),this.group.removeAll()},v.prototype.dispose=function(e,h){g.each(this._features,function(i){i instanceof w&&i.dispose&&i.dispose(e,h)})},v.type="toolbox",v}(K);function it(C){return C.indexOf("my")===0}var lt=et;export{lt as default};
|
|
3
|
+
//# sourceMappingURL=ToolboxView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/Brush */
|
|
2
|
+
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{ToolboxFeature as u}from"../featureManager.mjs";var c=["rect","polygon","lineX","lineY","keep","clear"],p=function(i){a(h,i);function h(){return i!==null&&i.apply(this,arguments)||this}return h.prototype.render=function(M,e,t){var r,o,n;e.eachComponent({mainType:"brush"},function(l){r=l.brushType,o=l.brushOption.brushMode||"single",n=n||!!l.areas.length}),this._brushType=r,this._brushMode=o,s.each(M.get("type",!0),function(l){M.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?n:l===r)?"emphasis":"normal")})},h.prototype.updateView=function(M,e,t){this.render(M,e,t)},h.prototype.getIcons=function(){var M=this.model,e=M.get("icon",!0),t={};return s.each(M.get("type",!0),function(r){e[r]&&(t[r]=e[r])}),t},h.prototype.onclick=function(M,e,t){var r=this._brushType,o=this._brushMode;t==="clear"?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:t==="keep"?r:r===t?!1:t,brushMode:t==="keep"?o==="multiple"?"single":"multiple":o}})},h.getDefaultOption=function(M){var e={show:!0,type:c.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:M.getLocaleModel().get(["toolbox","brush","title"])};return e},h}(u),V=p;export{V as default};
|
|
3
|
+
//# sourceMappingURL=Brush.mjs.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/DataView */
|
|
2
|
+
import{__extends as B}from"/tslib@2.3.0/es2022/tslib.mjs";import*as D from"../../../core/echarts.mjs";import*as i from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{ToolboxFeature as H}from"../featureManager.mjs";import{addEventListener as A}from"/zrender@6.0.0/es2022/lib/core/event.mjs";import"../../../util/log.mjs";import f from"../../../visual/tokens.mjs";var U=new Array(60).join("-"),x=" ";function R(s){var r={},e=[],t=[];return s.eachRawSeries(function(n){var o=n.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var a=o.getBaseAxis();if(a.type==="category"){var l=a.dim+"_"+a.index;r[l]||(r[l]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},t.push({axisDim:a.dim,axisIndex:a.index})),r[l].series.push(n)}else e.push(n)}else e.push(n)}),{seriesGroupByCategoryAxis:r,other:e,meta:t}}function _(s){var r=[];return i.each(s,function(e,t){var n=e.categoryAxis,o=e.valueAxis,a=o.dim,l=[" "].concat(i.map(e.series,function(g){return g.name})),u=[n.model.getCategories()];i.each(e.series,function(g){var h=g.getRawData();u.push(g.getRawData().mapArray(h.mapDimension(a),function(m){return m}))});for(var c=[l.join(x)],d=0;d<u[0].length;d++){for(var v=[],p=0;p<u.length;p++)v.push(u[p][d]);c.push(v.join(x))}r.push(c.join(`
|
|
3
|
+
`))}),r.join(`
|
|
4
|
+
|
|
5
|
+
`+U+`
|
|
6
|
+
|
|
7
|
+
`)}function k(s){return i.map(s,function(r){var e=r.getRawData(),t=[r.name],n=[];return e.each(e.dimensions,function(){for(var o=arguments.length,a=arguments[o-1],l=e.getName(a),u=0;u<o-1;u++)n[u]=arguments[u];t.push((l?l+x:"")+n.join(x))}),t.join(`
|
|
8
|
+
`)}).join(`
|
|
9
|
+
|
|
10
|
+
`+U+`
|
|
11
|
+
|
|
12
|
+
`)}function I(s){var r=R(s);return{value:i.filter([_(r.seriesGroupByCategoryAxis),k(r.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join(`
|
|
13
|
+
|
|
14
|
+
`+U+`
|
|
15
|
+
|
|
16
|
+
`),meta:r.meta}}function O(s){return s.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function N(s){var r=s.slice(0,s.indexOf(`
|
|
17
|
+
`));if(r.indexOf(x)>=0)return!0}var L=new RegExp("["+x+"]+","g");function F(s){for(var r=s.split(/\n+/g),e=O(r.shift()).split(L),t=[],n=i.map(e,function(u){return{name:u,data:[]}}),o=0;o<r.length;o++){var a=O(r[o]).split(L);t.push(a.shift());for(var l=0;l<a.length;l++)n[l]&&(n[l].data[o]=a[l])}return{series:n,categories:t}}function j(s){for(var r=s.split(/\n+/g),e=O(r.shift()),t=[],n=0;n<r.length;n++){var o=O(r[n]);if(o){var a=o.split(L),l="",u=void 0,c=!1;isNaN(a[0])?(c=!0,l=a[0],a=a.slice(1),t[n]={name:l,value:[]},u=t[n].value):u=t[n]=[];for(var d=0;d<a.length;d++)u.push(+a[d]);u.length===1&&(c?t[n].value=u[0]:t[n]=u[0])}}return{name:e,data:t}}function G(s,r){var e=s.split(new RegExp(`
|
|
18
|
+
*`+U+`
|
|
19
|
+
*`,"g")),t={series:[]};return i.each(e,function(n,o){if(N(n)){var a=F(n),l=r[o],u=l.axisDim+"Axis";l&&(t[u]=t[u]||[],t[u][l.axisIndex]={data:a.categories},t.series=t.series.concat(a.series))}else{var a=j(n);t.series.push(a)}}),t}var P=function(s){B(r,s);function r(){return s!==null&&s.apply(this,arguments)||this}return r.prototype.onclick=function(e,t){setTimeout(function(){t.dispatchAction({type:"hideTip"})});var n=t.getDom(),o=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",a.style.backgroundColor=o.get("backgroundColor")||f.color.neutral00;var l=document.createElement("h4"),u=o.get("lang")||[];l.innerHTML=u[0]||o.get("title"),l.style.cssText="margin:10px 20px",l.style.color=o.get("textColor");var c=document.createElement("div"),d=document.createElement("textarea");c.style.cssText="overflow:auto";var v=o.get("optionToContent"),p=o.get("contentToOption"),g=I(e);if(i.isFunction(v)){var h=v(t.getOption());i.isString(h)?c.innerHTML=h:i.isDom(h)&&c.appendChild(h)}else{d.readOnly=o.get("readOnly");var m=d.style;m.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",m.color=o.get("textColor"),m.borderColor=o.get("textareaBorderColor"),m.backgroundColor=o.get("textareaColor"),d.value=g.value,c.appendChild(d)}var E=g.meta,y=document.createElement("div");y.style.cssText="position:absolute;bottom:5px;left:0;right:0";var w="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",C=document.createElement("div"),T=document.createElement("div");w+=";background-color:"+o.get("buttonColor"),w+=";color:"+o.get("buttonTextColor");var S=this;function z(){n.removeChild(a),S._dom=null}A(C,"click",z),A(T,"click",function(){if(p==null&&v!=null||p!=null&&v==null){z();return}var b;try{i.isFunction(p)?b=p(c,t.getOption()):b=G(d.value,E)}catch(M){throw z(),new Error("Data view format error "+M)}b&&t.dispatchAction({type:"changeDataView",newOption:b}),z()}),C.innerHTML=u[1],T.innerHTML=u[2],T.style.cssText=C.style.cssText=w,!o.get("readOnly")&&y.appendChild(T),y.appendChild(C),a.appendChild(l),a.appendChild(c),a.appendChild(y),c.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},r.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},r.prototype.dispose=function(e,t){this.remove(e,t)},r.getDefaultOption=function(e){var t={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:f.color.background,textColor:f.color.primary,textareaColor:f.color.background,textareaBorderColor:f.color.border,buttonColor:f.color.accent50,buttonTextColor:f.color.neutral00};return t},r}(H);function V(s,r){return i.map(s,function(e,t){var n=r&&r[t];if(i.isObject(n)&&!i.isArray(n)){var o=i.isObject(e)&&!i.isArray(e);o||(e={value:e});var a=n.name!=null&&e.name==null;return e=i.defaults(e,n),a&&delete e.name,e}else return e})}D.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(s,r){var e=[];i.each(s.newOption.series,function(t){var n=r.getSeriesByName(t.name)[0];if(!n)e.push(i.extend({type:"scatter"},t));else{var o=n.get("data");e.push({name:t.name,data:V(t.data,o)})}}),r.mergeOption(i.defaults({series:e},s.newOption))});var Y=P;export{Y as default};
|
|
20
|
+
//# sourceMappingURL=DataView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/DataZoom */
|
|
2
|
+
import{__extends as g}from"/tslib@2.3.0/es2022/tslib.mjs";import*as m from"/zrender@6.0.0/es2022/lib/core/util.mjs";import I from"../../helper/BrushController.mjs";import y from"../../helper/BrushTargetManager.mjs";import*as x from"../../dataZoom/history.mjs";import Z from"../../helper/sliderMove.mjs";import{ToolboxFeature as _}from"../featureManager.mjs";import{makeInternalComponentId as M,parseFinder as C}from"../../../util/model.mjs";import{registerInternalOptionCreator as S}from"../../../model/internalComponentCreator.mjs";import k from"../../../visual/tokens.mjs";var v=m.each,T=M("toolbox-dataZoom_");var D=function(o){g(t,o);function t(){return o!==null&&o.apply(this,arguments)||this}return t.prototype.render=function(r,e,n,i){this._brushController||(this._brushController=new I(n.getZr()),this._brushController.on("brush",m.bind(this._onBrush,this)).mount()),V(r,e,this,i,n),B(r,e)},t.prototype.onclick=function(r,e,n){O[n].call(this)},t.prototype.remove=function(r,e){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(r,e){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(r){var e=r.areas;if(!r.isEnd||!e.length)return;var n={},i=this.ecModel;this._brushController.updateCovers([]);var h=new y(b(this.model),i,{include:["grid"]});h.matchOutputRanges(e,i,function(d,c,a){if(a.type==="cartesian2d"){var l=d.brushType;l==="rect"?(u("x",a,c[0]),u("y",a,c[1])):u({lineX:"x",lineY:"y"}[l],a,c)}}),x.push(i,n),this._dispatchZoomAction(n);function u(d,c,a){var l=c.getAxis(d),f=l.model,p=s(d,f,i),A=p.findRepresentativeAxisProxy(f).getMinMaxSpan();(A.minValueSpan!=null||A.maxValueSpan!=null)&&(a=Z(0,a.slice(),l.scale.getExtent(),0,A.minValueSpan,A.maxValueSpan)),p&&(n[p.id]={dataZoomId:p.id,startValue:a[0],endValue:a[1]})}function s(d,c,a){var l;return a.eachComponent({mainType:"dataZoom",subType:"select"},function(f){var p=f.getAxisModel(d,c.componentIndex);p&&(l=f)}),l}},t.prototype._dispatchZoomAction=function(r){var e=[];v(r,function(n,i){e.push(m.clone(n))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},t.getDefaultOption=function(r){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:k.color.backgroundTint}};return e},t}(_),O={zoom:function(){var o=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:o})},back:function(){this._dispatchZoomAction(x.pop(this.ecModel))}};function b(o){var t={xAxisIndex:o.get("xAxisIndex",!0),yAxisIndex:o.get("yAxisIndex",!0),xAxisId:o.get("xAxisId",!0),yAxisId:o.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function B(o,t){o.setIconStatus("back",x.count(t)>1?"emphasis":"normal")}function V(o,t,r,e,n){var i=r._isZoomActive;e&&e.type==="takeGlobalCursor"&&(i=e.key==="dataZoomSelect"?e.dataZoomSelectActive:!1),r._isZoomActive=i,o.setIconStatus("zoom",i?"emphasis":"normal");var h=new y(b(o),t,{include:["grid"]}),u=h.makePanelOpts(n,function(s){return s.xAxisDeclared&&!s.yAxisDeclared?"lineX":!s.xAxisDeclared&&s.yAxisDeclared?"lineY":"rect"});r._brushController.setPanels(u).enableBrush(i&&u.length?{brushType:"auto",brushStyle:o.getModel("brushStyle").getItemStyle()}:!1)}S("dataZoom",function(o){var t=o.getComponent("toolbox",0),r=["feature","dataZoom"];if(!t||t.get(r)==null)return;var e=t.getModel(r),n=[],i=b(e),h=C(o,i);v(h.xAxisModels,function(s){return u(s,"xAxis","xAxisIndex")}),v(h.yAxisModels,function(s){return u(s,"yAxis","yAxisIndex")});function u(s,d,c){var a=s.componentIndex,l={type:"select",$fromToolbox:!0,filterMode:e.get("filterMode",!0)||"filter",id:T+d+a};l[c]=a,n.push(l)}return n});var G=D;export{G as default};
|
|
3
|
+
//# sourceMappingURL=DataZoom.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/MagicType */
|
|
2
|
+
import{__extends as O}from"/tslib@2.3.0/es2022/tslib.mjs";import*as T from"../../../core/echarts.mjs";import*as n from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{ToolboxFeature as U}from"../featureManager.mjs";import{SINGLE_REFERRING as _}from"../../../util/model.mjs";var z="__ec_magicType_stack__";var w=[["line","bar"],["stack"]],E=function(i){O(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getIcons=function(){var t=this.model,r=t.get("icon"),e={};return n.each(t.get("type"),function(o){r[o]&&(e[o]=r[o])}),e},a.getDefaultOption=function(t){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},a.prototype.onclick=function(t,r,e){var o=this.model,f=o.get(["seriesIndex",e]);if(L[e]){var c={series:[]},b=function(l){var u=l.subType,S=l.id,p=L[e](u,S,l,o);p&&(n.defaults(p,l.option),c.series.push(p));var g=l.coordinateSystem;if(g&&g.type==="cartesian2d"&&(e==="line"||e==="bar")){var k=g.getAxesByScale("ordinal")[0];if(k){var I=k.dim,s=I+"Axis",y=l.getReferringComponents(s,_).models[0],m=y.componentIndex;c[s]=c[s]||[];for(var d=0;d<=m;d++)c[s][m]=c[s][m]||{};c[s][m].boundaryGap=e==="bar"}}};n.each(w,function(l){n.indexOf(l,e)>=0&&n.each(l,function(u){o.setIconStatus(u,"normal")})}),o.setIconStatus(e,"emphasis"),t.eachComponent({mainType:"series",query:f==null?null:{seriesIndex:f}},b);var v,h=e;e==="stack"&&(v=n.merge({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",e])!=="emphasis"&&(h="tiled")),r.dispatchAction({type:"changeMagicType",currentType:h,newOption:c,newTitle:v,featureName:"magicType"})}},a}(U),L={line:function(i,a,t,r){if(i==="bar")return n.merge({id:a,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(i,a,t,r){if(i==="line")return n.merge({id:a,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(i,a,t,r){var e=t.get("stack")===z;if(i==="line"||i==="bar")return r.setIconStatus("stack",e?"normal":"emphasis"),n.merge({id:a,stack:e?"":z},r.get(["option","stack"])||{},!0)}};T.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(i,a){a.mergeOption(i.newOption)});var A=E;export{A as default};
|
|
3
|
+
//# sourceMappingURL=MagicType.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/Restore */
|
|
2
|
+
import{__extends as a}from"/tslib@2.3.0/es2022/tslib.mjs";import*as i from"../../../core/echarts.mjs";import*as n from"../../dataZoom/history.mjs";import{ToolboxFeature as p}from"../featureManager.mjs";var s=function(e){a(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(o,r){n.clear(o),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(o){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:o.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(p);i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var u=s;export{u as default};
|
|
3
|
+
//# sourceMappingURL=Restore.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/feature/SaveAsImage */
|
|
2
|
+
import{__extends as A}from"/tslib@2.3.0/es2022/tslib.mjs";import B from"/zrender@6.0.0/es2022/lib/core/env.mjs";import{ToolboxFeature as S}from"../featureManager.mjs";import C from"../../../visual/tokens.mjs";var E=function(d){A(n,d);function n(){return d!==null&&d.apply(this,arguments)||this}return n.prototype.onclick=function(o,a){var e=this.model,c=e.get("name")||o.get("title.0.text")||"echarts",g=a.getZr().painter.getType()==="svg",v=g?"svg":e.get("type",!0)||"png",u=a.getConnectedDataURL({type:v,backgroundColor:e.get("backgroundColor",!0)||o.get("backgroundColor")||C.color.neutral00,connectedBackgroundColor:e.get("connectedBackgroundColor"),excludeComponents:e.get("excludeComponents"),pixelRatio:e.get("pixelRatio")}),m=B.browser;if(typeof MouseEvent=="function"&&(m.newEdge||!m.ie&&!m.edge)){var r=document.createElement("a");r.download=c+"."+v,r.target="_blank",r.href=u;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});r.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||g){var s=u.split(","),k=s[0].indexOf("base64")>-1,t=g?decodeURIComponent(s[1]):s[1];k&&(t=window.atob(t));var w=c+"."+v;if(window.navigator.msSaveOrOpenBlob){for(var l=t.length,b=new Uint8Array(l);l--;)b[l]=t.charCodeAt(l);var L=new Blob([b]);window.navigator.msSaveOrOpenBlob(L,w)}else{var p=document.createElement("iframe");document.body.appendChild(p);var f=p.contentWindow,i=f.document;i.open("image/svg+xml","replace"),i.write(t),i.close(),f.focus(),i.execCommand("SaveAs",!0,w),document.body.removeChild(p)}}else{var x=e.get("lang"),O='<body style="margin:0;"><img src="'+u+'" style="max-width:100%;" title="'+(x&&x[0]||"")+'" /></body>',y=window.open();y.document.write(O),y.document.title=c}},n.getDefaultOption=function(o){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:C.color.neutral00,name:"",excludeComponents:["toolbox"],lang:o.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},n}(S),D=E;export{D as default};
|
|
3
|
+
//# sourceMappingURL=SaveAsImage.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/featureManager */
|
|
2
|
+
var o=function(){function e(){}return e}();var r={};function u(e,t){r[e]=t}function n(e){return r[e]}export{o as ToolboxFeature,n as getFeature,u as registerFeature};
|
|
3
|
+
//# sourceMappingURL=featureManager.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/toolbox/install */
|
|
2
|
+
import{use as e}from"../../extension.mjs";import{install as m}from"../dataZoom/installDataZoomSelect.mjs";import t from"./ToolboxModel.mjs";import i from"./ToolboxView.mjs";import{registerFeature as o}from"./featureManager.mjs";import a from"./feature/SaveAsImage.mjs";import p from"./feature/MagicType.mjs";import f from"./feature/DataView.mjs";import l from"./feature/Restore.mjs";import s from"./feature/DataZoom.mjs";function M(r){r.registerComponentModel(t),r.registerComponentView(i),o("saveAsImage",a),o("magicType",p),o("dataView",f),o("dataZoom",s),o("restore",l),e(m)}export{M as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/TooltipHTMLContent */
|
|
2
|
+
import{isString as m,indexOf as D,each as _,bind as R,isFunction as N,isArray as z,isDom as C,retrieve2 as L}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{normalizeEvent as k}from"/zrender@6.0.0/es2022/lib/core/event.mjs";import{transformLocalCoord as F,transformLocalCoordClear as V}from"/zrender@6.0.0/es2022/lib/core/dom.mjs";import u from"/zrender@6.0.0/es2022/lib/core/env.mjs";import{convertToColorString as x,toCamelCase as W,normalizeCssArray as A}from"../../util/format.mjs";import{shouldTooltipConfine as E,toCSSVendorPrefix as S,getComputedStyle as I,TRANSFORM_VENDOR as H,TRANSITION_VENDOR as B}from"./helper.mjs";import{getPaddingFromTooltipModel as X}from"./tooltipMarkup.mjs";var Y=S(B,"transition"),w=S(H,"transform"),j="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(u.transform3dSupported?"will-change:transform;":"");function P(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function Q(e,t,a){if(!m(a)||a==="inside")return"";var o=e.get("backgroundColor"),r=e.get("borderWidth");t=x(t);var i=P(a),s=Math.max(Math.round(r)*1.5,6),n="",h=w+":",l;D(["left","right"],i)>-1?(n+="top:50%",h+="translateY(-50%) rotate("+(l=i==="left"?-225:-45)+"deg)"):(n+="left:50%",h+="translateX(-50%) rotate("+(l=i==="top"?225:45)+"deg)");var f=l*Math.PI/180,d=s+r,v=d*Math.abs(Math.cos(f))+d*Math.abs(Math.sin(f)),c=Math.round(((v-Math.SQRT2*r)/2+Math.SQRT2*r-(v-d)/2)*100)/100;n+=";"+i+":-"+c+"px";var p=t+" solid "+r+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",n+";"+h+";","border-bottom:"+p,"border-right:"+p,"background-color:"+o+";"];return'<div style="'+g.join("")+'"></div>'}function Z(e,t,a){var o="cubic-bezier(0.23,1,0.32,1)",r="",i="";return a&&(r=" "+e/2+"s "+o,i="opacity"+r+",visibility"+r),t||(r=" "+e+"s "+o,i+=(i.length?",":"")+(u.transformSupported?""+w+r:",left"+r+",top"+r)),Y+":"+i}function y(e,t,a){var o=e.toFixed(0)+"px",r=t.toFixed(0)+"px";if(!u.transformSupported)return a?"top:"+r+";left:"+o+";":[["top",r],["left",o]];var i=u.transform3dSupported,s="translate"+(i?"3d":"")+"("+o+","+r+(i?",0":"")+")";return a?"top:0;left:0;"+w+":"+s+";":[["top",0],["left",0],[H,s]]}function q(e){var t=[],a=e.get("fontSize"),o=e.getTextColor();o&&t.push("color:"+o),t.push("font:"+e.getFont());var r=L(e.get("lineHeight"),Math.round(a*3/2));a&&t.push("line-height:"+r+"px");var i=e.get("textShadowColor"),s=e.get("textShadowBlur")||0,n=e.get("textShadowOffsetX")||0,h=e.get("textShadowOffsetY")||0;return i&&s&&t.push("text-shadow:"+n+"px "+h+"px "+s+"px "+i),_(["decoration","align"],function(l){var f=e.get(l);f&&t.push("text-"+l+":"+f)}),t.join(";")}function G(e,t,a,o){var r=[],i=e.get("transitionDuration"),s=e.get("backgroundColor"),n=e.get("shadowBlur"),h=e.get("shadowColor"),l=e.get("shadowOffsetX"),f=e.get("shadowOffsetY"),d=e.getModel("textStyle"),v=X(e,"html"),c=l+"px "+f+"px "+n+"px "+h;return r.push("box-shadow:"+c),t&&i>0&&r.push(Z(i,a,o)),s&&r.push("background-color:"+s),_(["width","color","radius"],function(p){var g="border-"+p,O=W(g),T=e.get(O);T!=null&&r.push(g+":"+T+(p==="color"?"":"px"))}),r.push(q(d)),v!=null&&r.push("padding:"+A(v).join("px ")+"px"),r.join(";")+";"}function b(e,t,a,o,r){var i=t&&t.painter;if(a){var s=i&&i.getViewportRoot();s&&F(e,s,a,o,r)}else{e[0]=o,e[1]=r;var n=i&&i.getViewportRootOffset();n&&(e[0]+=n.offsetLeft,e[1]+=n.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var J=function(){function e(t,a){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,u.wxa)return null;var o=document.createElement("div");o.domBelongToZr=!0,this.el=o;var r=this._zr=t.getZr(),i=a.appendTo,s=i&&(m(i)?document.querySelector(i):C(i)?i:N(i)&&i(t.getDom()));b(this._styleCoord,r,s,t.getWidth()/2,t.getHeight()/2),(s||t.getDom()).appendChild(o),this._api=t,this._container=s;var n=this;o.onmouseenter=function(){n._enterable&&(clearTimeout(n._hideTimeout),n._show=!0),n._inContent=!0},o.onmousemove=function(h){if(h=h||window.event,!n._enterable){var l=r.handler,f=r.painter.getViewportRoot();k(f,h,!0),l.dispatch("mousemove",h)}},o.onmouseleave=function(){n._inContent=!1,n._enterable&&n._show&&n.hideLater(n._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var a=this._api.getDom(),o=I(a,"position"),r=a.style;r.position!=="absolute"&&o!=="absolute"&&(r.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},e.prototype.show=function(t,a){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var o=this.el,r=o.style,i=this._styleCoord;o.innerHTML?r.cssText=j+G(t,!this._firstShow,this._longHide,this._enableDisplayTransition)+y(i[0],i[1],!0)+("border-color:"+x(a)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,a,o,r,i){var s=this.el;if(t==null){s.innerHTML="";return}var n="";if(m(i)&&o.get("trigger")==="item"&&!E(o)&&(n=Q(o,r,i)),m(t))s.innerHTML=t+n;else if(t){s.innerHTML="",z(t)||(t=[t]);for(var h=0;h<t.length;h++)C(t[h])&&t[h].parentNode!==s&&s.appendChild(t[h]);if(n&&s.childNodes.length){var l=document.createElement("div");l.innerHTML=n,s.appendChild(l)}}},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},e.prototype.moveTo=function(t,a){if(this.el){var o=this._styleCoord;if(b(o,this._zr,this._container,t,a),o[0]!=null&&o[1]!=null){var r=this.el.style,i=y(o[0],o[1]);_(i,function(s){r[s[0]]=s[1]})}}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],a=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),a*this._zr.getHeight())},e.prototype.hide=function(){var t=this,a=this.el.style;this._enableDisplayTransition?(a.visibility="hidden",a.opacity="0"):a.display="none",u.transform3dSupported&&(a.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(R(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this._zr;V(t&&t.painter&&t.painter.getViewportRoot(),this._container);var a=this.el;if(a){a.onmouseenter=a.onmousemove=a.onmouseleave=null;var o=a.parentNode;o&&o.removeChild(a)}this.el=this._container=null},e}(),it=J;export{it as default};
|
|
3
|
+
//# sourceMappingURL=TooltipHTMLContent.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/TooltipRichContent */
|
|
2
|
+
import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import _ from"/zrender@6.0.0/es2022/lib/graphic/Text.mjs";import{getPaddingFromTooltipModel as c}from"./tooltipMarkup.mjs";import{throwError as g}from"../../util/log.mjs";var p=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),w(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,i,o,n,d){var a=this;s.isObject(t)&&g(""),this.el&&this._zr.remove(this.el);var l=o.getModel("textStyle");this.el=new _({style:{rich:i.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:l.get("textShadowColor"),fill:o.get(["textStyle","color"]),padding:c(o,"richText"),verticalAlign:"top",align:"left"},z:o.get("z")}),s.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(f){a.el.style[f]=o.get(f)}),s.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(f){a.el.style[f]=l.get(f)||0}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,i=this.el.getBoundingRect(),o=u(t.style);return[i.width+o.left+o.right,i.height+o.top+o.bottom]},e.prototype.moveTo=function(t,i){var o=this.el;if(o){var n=this._styleCoord;w(n,this._zr,t,i),t=n[0],i=n[1];var d=o.style,a=r(d.borderWidth||0),l=u(d);o.x=t+a+l.left,o.y=i+a+l.top,o.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],i=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),i*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function r(e){return Math.max(0,e)}function u(e){var t=r(e.shadowBlur||0),i=r(e.shadowOffsetX||0),o=r(e.shadowOffsetY||0);return{left:r(t-i),right:r(t+i),top:r(t-o),bottom:r(t+o)}}function w(e,t,i,o){e[0]=i,e[1]=o,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var C=p;export{C as default};
|
|
3
|
+
//# sourceMappingURL=TooltipRichContent.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/TooltipView */
|
|
2
|
+
import{__extends as tt}from"/tslib@2.3.0/es2022/tslib.mjs";import{bind as B,each as M,clone as z,trim as et,isString as L,isFunction as N,isArray as D,isObject as it,extend as U}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import P from"/zrender@6.0.0/es2022/lib/core/env.mjs";import ot from"./TooltipHTMLContent.mjs";import rt from"./TooltipRichContent.mjs";import{convertToColorString as W,encodeHTML as nt,formatTpl as at}from"../../util/format.mjs";import{parsePercent as q}from"../../util/number.mjs";import{Rect as st}from"../../util/graphic.mjs";import lt from"../axisPointer/findPointFromSeries.mjs";import{getLayoutRect as ft}from"../../util/layout.mjs";import A from"../../model/Model.mjs";import*as R from"../axisPointer/globalListener.mjs";import*as $ from"../../coord/axisHelper.mjs";import*as E from"../axisPointer/viewHelper.mjs";import{getTooltipRenderMode as ut,preParseFinder as ht,queryReferringComponents as dt}from"../../util/model.mjs";import vt from"../../view/Component.mjs";import{format as pt}from"../../util/time.mjs";import{getECData as S}from"../../util/innerStore.mjs";import{shouldTooltipConfine as mt}from"./helper.mjs";import{normalizeTooltipFormatResult as j}from"../../model/mixin/dataFormat.mjs";import{createTooltipMarkup as G,buildTooltipMarkup as Q,TooltipMarkupStyleCreator as Y}from"./tooltipMarkup.mjs";import{findEventDispatcher as gt}from"../../util/event.mjs";import{clear as Z,createOrUpdate as ct}from"../../util/throttle.mjs";var _t=new st({shape:{x:-1,y:-1,width:2,height:2}}),Tt=function(v){tt(a,v);function a(){var o=v!==null&&v.apply(this,arguments)||this;return o.type=a.type,o}return a.prototype.init=function(o,r){if(!(P.node||!r.getDom())){var e=o.getComponent("tooltip"),t=this._renderMode=ut(e.get("renderMode"));this._tooltipContent=t==="richText"?new rt(r):new ot(r,{appendTo:e.get("appendToBody",!0)?"body":e.get("appendTo",!0)})}},a.prototype.render=function(o,r,e){if(!(P.node||!e.getDom())){this.group.removeAll(),this._tooltipModel=o,this._ecModel=r,this._api=e;var t=this._tooltipContent;t.update(o),t.setEnterable(o.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&o.get("transitionDuration")?ct(this,"_updatePosition",50,"fixRate"):Z(this,"_updatePosition")}},a.prototype._initGlobalListener=function(){var o=this._tooltipModel,r=o.get("triggerOn");R.register("itemTooltip",this._api,B(function(e,t,i){r!=="none"&&(r.indexOf(e)>=0?this._tryShow(t,i):e==="leave"&&this._hide(i))},this))},a.prototype._keepShow=function(){var o=this._tooltipModel,r=this._ecModel,e=this._api,t=o.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&t!=="none"&&t!=="click"){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!e.isDisposed()&&i.manuallyShowTip(o,r,e,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},a.prototype.manuallyShowTip=function(o,r,e,t){if(!(t.from===this.uid||P.node||!e.getDom())){var i=J(t,e);this._ticket="";var f=t.dataByCoordSys,n=wt(t,r,e);if(n){var s=n.el.getBoundingRect().clone();s.applyTransform(n.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:n.el,position:t.position,positionDefault:"bottom"},i)}else if(t.tooltip&&t.x!=null&&t.y!=null){var l=_t;l.x=t.x,l.y=t.y,l.update(),S(l).tooltipConfig={name:null,option:t.tooltip},this._tryShow({offsetX:t.x,offsetY:t.y,target:l},i)}else if(f)this._tryShow({offsetX:t.x,offsetY:t.y,position:t.position,dataByCoordSys:f,tooltipOption:t.tooltipOption},i);else if(t.seriesIndex!=null){if(this._manuallyAxisShowTip(o,r,e,t))return;var u=lt(t,r),h=u.point[0],d=u.point[1];h!=null&&d!=null&&this._tryShow({offsetX:h,offsetY:d,target:u.el,position:t.position,positionDefault:"bottom"},i)}else t.x!=null&&t.y!=null&&(e.dispatchAction({type:"updateAxisPointer",x:t.x,y:t.y}),this._tryShow({offsetX:t.x,offsetY:t.y,position:t.position,target:e.getZr().findHover(t.x,t.y).target},i))}},a.prototype.manuallyHideTip=function(o,r,e,t){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,t.from!==this.uid&&this._hide(J(t,e))},a.prototype._manuallyAxisShowTip=function(o,r,e,t){var i=t.seriesIndex,f=t.dataIndex,n=r.getComponent("axisPointer").coordSysAxesInfo;if(!(i==null||f==null||n==null)){var s=r.getSeriesByIndex(i);if(s){var l=s.getData(),u=I([l.getItemModel(f),s,(s.coordinateSystem||{}).model],this._tooltipModel);if(u.get("trigger")==="axis")return e.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:f,position:t.position}),!0}}},a.prototype._tryShow=function(o,r){var e=o.target,t=this._tooltipModel;if(t){this._lastX=o.offsetX,this._lastY=o.offsetY;var i=o.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,o);else if(e){var f=S(e);if(f.ssrType==="legend")return;this._lastDataByCoordSys=null;var n,s;gt(e,function(l){if(l.tooltipDisabled)return n=s=null,!0;n||s||(S(l).dataIndex!=null?n=l:S(l).tooltipConfig!=null&&(s=l))},!0),n?this._showSeriesItemTooltip(o,n,r):s?this._showComponentItemTooltip(o,s,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},a.prototype._showOrMove=function(o,r){var e=o.get("showDelay");r=B(r,this),clearTimeout(this._showTimout),e>0?this._showTimout=setTimeout(r,e):r()},a.prototype._showAxisTooltip=function(o,r){var e=this._ecModel,t=this._tooltipModel,i=[r.offsetX,r.offsetY],f=I([r.tooltipOption],t),n=this._renderMode,s=[],l=G("section",{blocks:[],noHeader:!0}),u=[],h=new Y;M(o,function(T){M(T.dataByAxis,function(g){var x=e.getComponent(g.axisDim+"Axis",g.axisIndex),C=g.value;if(!(!x||C==null)){var w=E.getValueLabel(C,x.axis,e,g.seriesDataIndices,g.valueLabelOpt),b=G("section",{header:w,noHeader:!et(w),sortBlocks:!0,blocks:[]});l.blocks.push(b),M(g.seriesDataIndices,function(k){var H=e.getSeriesByIndex(k.seriesIndex),V=k.dataIndexInside,y=H.getDataParams(V);if(!(y.dataIndex<0)){y.axisDim=g.axisDim,y.axisIndex=g.axisIndex,y.axisType=g.axisType,y.axisId=g.axisId,y.axisValue=$.getAxisRawValue(x.axis,{value:C}),y.axisValueLabel=w,y.marker=h.makeTooltipMarker("item",W(y.color),n);var O=j(H.formatTooltip(V,!0,null)),X=O.frag;if(X){var F=I([H],t).get("valueFormatter");b.blocks.push(F?U({valueFormatter:F},X):X)}O.text&&u.push(O.text),s.push(y)}})}})}),l.blocks.reverse(),u.reverse();var d=r.position,c=f.get("order"),m=Q(l,h,n,c,e.get("useUTC"),f.get("textStyle"));m&&u.unshift(m);var _=n==="richText"?`
|
|
3
|
+
|
|
4
|
+
`:"<br/>",p=u.join(_);this._showOrMove(f,function(){this._updateContentNotChangedOnAxis(o,s)?this._updatePosition(f,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(f,p,s,Math.random()+"",i[0],i[1],d,null,h)})},a.prototype._showSeriesItemTooltip=function(o,r,e){var t=this._ecModel,i=S(r),f=i.seriesIndex,n=t.getSeriesByIndex(f),s=i.dataModel||n,l=i.dataIndex,u=i.dataType,h=s.getData(u),d=this._renderMode,c=o.positionDefault,m=I([h.getItemModel(l),s,n&&(n.coordinateSystem||{}).model],this._tooltipModel,c?{position:c}:null),_=m.get("trigger");if(!(_!=null&&_!=="item")){var p=s.getDataParams(l,u),T=new Y;p.marker=T.makeTooltipMarker("item",W(p.color),d);var g=j(s.formatTooltip(l,!1,u)),x=m.get("order"),C=m.get("valueFormatter"),w=g.frag,b=w?Q(C?U({valueFormatter:C},w):w,T,d,x,t.get("useUTC"),m.get("textStyle")):g.text,k="item_"+s.name+"_"+l;this._showOrMove(m,function(){this._showTooltipContent(m,b,p,k,o.offsetX,o.offsetY,o.position,o.target,T)}),e({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:f,from:this.uid})}},a.prototype._showComponentItemTooltip=function(o,r,e){var t=this._renderMode==="html",i=S(r),f=i.tooltipConfig,n=f.option||{},s=n.encodeHTMLContent;if(L(n)){var l=n;n={content:l,formatter:l},s=!0}s&&t&&n.content&&(n=z(n),n.content=nt(n.content));var u=[n],h=this._ecModel.getComponent(i.componentMainType,i.componentIndex);h&&u.push(h),u.push({formatter:n.content});var d=o.positionDefault,c=I(u,this._tooltipModel,d?{position:d}:null),m=c.get("content"),_=Math.random()+"",p=new Y;this._showOrMove(c,function(){var T=z(c.get("formatterParams")||{});this._showTooltipContent(c,m,T,_,o.offsetX,o.offsetY,o.position,r,p)}),e({type:"showTip",from:this.uid})},a.prototype._showTooltipContent=function(o,r,e,t,i,f,n,s,l){if(this._ticket="",!(!o.get("showContent")||!o.get("show"))){var u=this._tooltipContent;u.setEnterable(o.get("enterable"));var h=o.get("formatter");n=n||o.get("position");var d=r,c=this._getNearestPoint([i,f],e,o.get("trigger"),o.get("borderColor"),o.get("defaultBorderColor",!0)),m=c.color;if(h)if(L(h)){var _=o.ecModel.get("useUTC"),p=D(e)?e[0]:e,T=p&&p.axisType&&p.axisType.indexOf("time")>=0;d=h,T&&(d=pt(p.axisValue,d,_)),d=at(d,e,!0)}else if(N(h)){var g=B(function(x,C){x===this._ticket&&(u.setContent(C,l,o,m,n),this._updatePosition(o,n,i,f,u,e,s))},this);this._ticket=t,d=h(e,t,g)}else d=h;u.setContent(d,l,o,m,n),u.show(o,m),this._updatePosition(o,n,i,f,u,e,s)}},a.prototype._getNearestPoint=function(o,r,e,t,i){if(e==="axis"||D(r))return{color:t||i};if(!D(r))return{color:t||r.color||r.borderColor}},a.prototype._updatePosition=function(o,r,e,t,i,f,n){var s=this._api.getWidth(),l=this._api.getHeight();r=r||o.get("position");var u=i.getSize(),h=o.get("align"),d=o.get("verticalAlign"),c=n&&n.getBoundingRect().clone();if(n&&c.applyTransform(n.transform),N(r)&&(r=r([e,t],f,i.el,c,{viewSize:[s,l],contentSize:u.slice()})),D(r))e=q(r[0],s),t=q(r[1],l);else if(it(r)){var m=r;m.width=u[0],m.height=u[1];var _=ft(m,{width:s,height:l});e=_.x,t=_.y,h=null,d=null}else if(L(r)&&n){var p=Ct(r,c,u,o.get("borderWidth"));e=p[0],t=p[1]}else{var p=xt(e,t,i,s,l,h?null:20,d?null:20);e=p[0],t=p[1]}if(h&&(e-=K(h)?u[0]/2:h==="right"?u[0]:0),d&&(t-=K(d)?u[1]/2:d==="bottom"?u[1]:0),mt(o)){var p=yt(e,t,i,s,l);e=p[0],t=p[1]}i.moveTo(e,t)},a.prototype._updateContentNotChangedOnAxis=function(o,r){var e=this._lastDataByCoordSys,t=this._cbParamsList,i=!!e&&e.length===o.length;return i&&M(e,function(f,n){var s=f.dataByAxis||[],l=o[n]||{},u=l.dataByAxis||[];i=i&&s.length===u.length,i&&M(s,function(h,d){var c=u[d]||{},m=h.seriesDataIndices||[],_=c.seriesDataIndices||[];i=i&&h.value===c.value&&h.axisType===c.axisType&&h.axisId===c.axisId&&m.length===_.length,i&&M(m,function(p,T){var g=_[T];i=i&&p.seriesIndex===g.seriesIndex&&p.dataIndex===g.dataIndex}),t&&M(h.seriesDataIndices,function(p){var T=p.seriesIndex,g=r[T],x=t[T];g&&x&&x.data!==g.data&&(i=!1)})})}),this._lastDataByCoordSys=o,this._cbParamsList=r,!!i},a.prototype._hide=function(o){this._lastDataByCoordSys=null,o({type:"hideTip",from:this.uid})},a.prototype.dispose=function(o,r){P.node||!r.getDom()||(Z(this,"_updatePosition"),this._tooltipContent.dispose(),R.unregister("itemTooltip",r))},a.type="tooltip",a}(vt);function I(v,a,o){var r=a.ecModel,e;o?(e=new A(o,r,r),e=new A(a.option,e,r)):e=a;for(var t=v.length-1;t>=0;t--){var i=v[t];i&&(i instanceof A&&(i=i.get("tooltip",!0)),L(i)&&(i={formatter:i}),i&&(e=new A(i,e,r)))}return e}function J(v,a){return v.dispatchAction||B(a.dispatchAction,a)}function xt(v,a,o,r,e,t,i){var f=o.getSize(),n=f[0],s=f[1];return t!=null&&(v+n+t+2>r?v-=n+t:v+=t),i!=null&&(a+s+i>e?a-=s+i:a+=i),[v,a]}function yt(v,a,o,r,e){var t=o.getSize(),i=t[0],f=t[1];return v=Math.min(v+i,r)-i,a=Math.min(a+f,e)-f,v=Math.max(v,0),a=Math.max(a,0),[v,a]}function Ct(v,a,o,r){var e=o[0],t=o[1],i=Math.ceil(Math.SQRT2*r)+8,f=0,n=0,s=a.width,l=a.height;switch(v){case"inside":f=a.x+s/2-e/2,n=a.y+l/2-t/2;break;case"top":f=a.x+s/2-e/2,n=a.y-t-i;break;case"bottom":f=a.x+s/2-e/2,n=a.y+l+i;break;case"left":f=a.x-e-i,n=a.y+l/2-t/2;break;case"right":f=a.x+s+i,n=a.y+l/2-t/2}return[f,n]}function K(v){return v==="center"||v==="middle"}function wt(v,a,o){var r=ht(v).queryOptionMap,e=r.keys()[0];if(!(!e||e==="series")){var t=dt(a,e,r.get(e),{useDefault:!1,enableAll:!1,enableNone:!1}),i=t.models[0];if(i){var f=o.getViewOfComponentModel(i),n;if(f.group.traverse(function(s){var l=S(s).tooltipConfig;if(l&&l.name===v.name)return n=s,!0}),n)return{componentMainType:e,componentIndex:i.componentIndex,el:n}}}}var Wt=Tt;export{Wt as default};
|
|
5
|
+
//# sourceMappingURL=TooltipView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/helper */
|
|
2
|
+
import{toCamelCase as i}from"../../util/format.mjs";import u from"/zrender@6.0.0/es2022/lib/core/env.mjs";function m(n){var t=n.get("confine");return t!=null?!!t:n.get("renderMode")==="richText"}function e(n){if(u.domSupported){for(var t=document.documentElement.style,r=0,o=n.length;r<o;r++)if(n[r]in t)return n[r]}}var c=e(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),T=e(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function d(n,t){if(!n)return t;t=i(t,!0);var r=n.indexOf(t);return n=r===-1?t:"-"+n.slice(0,r)+"-"+t,n.toLowerCase()}function x(n,t){var r=n.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(n);return r?t?r[t]:r:null}export{c as TRANSFORM_VENDOR,T as TRANSITION_VENDOR,x as getComputedStyle,m as shouldTooltipConfine,d as toCSSVendorPrefix};
|
|
3
|
+
//# sourceMappingURL=helper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/install */
|
|
2
|
+
import{install as t}from"../axisPointer/install.mjs";import{use as p}from"../../extension.mjs";import e from"./TooltipModel.mjs";import n from"./TooltipView.mjs";import{noop as i}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function d(o){p(t),o.registerComponentModel(e),o.registerComponentView(n),o.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},i),o.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},i)}export{d as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/seriesFormatTooltip */
|
|
2
|
+
import{trim as N,isArray as D,each as k,reduce as b}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{retrieveVisualColorForTooltipMarker as S,createTooltipMarkup as d}from"./tooltipMarkup.mjs";import{retrieveRawValue as I}from"../../data/helper/dataProvider.mjs";import{isNameSpecified as x}from"../../util/model.mjs";function A(s){var r=s.series,i=s.dataIndex,u=s.multipleSeries,m=r.getData(),l=m.mapDimensionsAll("defaultedTooltip"),p=l.length,t=r.getRawValue(i),v=D(t),f=S(r,i),o,e,c,a;if(p>1||v&&!p){var n=C(t,r,i,l,f);o=n.inlineValues,e=n.inlineValueTypes,c=n.blocks,a=n.inlineValues[0]}else if(p){var g=m.getDimensionInfo(l[0]);a=o=I(m,i,l[0]),e=g.type}else a=o=v?t[0]:t;var V=x(r),y=V&&r.name||"",h=m.getName(i),T=u?y:h;return d("section",{header:y,noHeader:u||!V,sortParam:a,blocks:[d("nameValue",{markerType:"item",markerColor:f,name:T,noName:!N(T),value:o,valueType:e,dataIndex:i})].concat(c||[])})}function C(s,r,i,u,m){var l=r.getData(),p=b(s,function(e,c,a){var n=l.getDimensionInfo(a);return e=e||n&&n.tooltip!==!1&&n.displayName!=null},!1),t=[],v=[],f=[];u.length?k(u,function(e){o(I(l,i,e),e)}):k(s,o);function o(e,c){var a=l.getDimensionInfo(c);!a||a.otherDims.tooltip===!1||(p?f.push(d("nameValue",{markerType:"subItem",markerColor:m,name:a.displayName,value:e,valueType:a.type})):(t.push(e),v.push(a.type)))}return{inlineValues:t,inlineValueTypes:v,blocks:f}}export{A as defaultSeriesFormatTooltip};
|
|
3
|
+
//# sourceMappingURL=seriesFormatTooltip.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/tooltip/tooltipMarkup */
|
|
2
|
+
import{getTooltipMarker as P,encodeHTML as u,makeValueReadable as C,convertToColorString as W}from"../../util/format.mjs";import{isString as A,each as I,hasOwn as D,isArray as m,map as N,assert as G,extend as g}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{SortOrderComparator as O}from"../../data/helper/dataValueHelper.mjs";import{getRandomIdBase as U}from"../../util/number.mjs";import H from"../../visual/tokens.mjs";var j="line-height:1";function _(e){var r=e.lineHeight;return r==null?j:"line-height:"+u(r+"")+"px"}function w(e,r){var a=e.color||H.color.tertiary,n=e.fontSize||12,o=e.fontWeight||"400",t=e.color||H.color.secondary,l=e.fontSize||14,i=e.fontWeight||"900";return r==="html"?{nameStyle:"font-size:"+u(n+"")+"px;color:"+u(a)+";font-weight:"+u(o+""),valueStyle:"font-size:"+u(l+"")+"px;color:"+u(t)+";font-weight:"+u(i+"")}:{nameStyle:{fontSize:n,fill:a,fontWeight:o},valueStyle:{fontSize:l,fill:t,fontWeight:i}}}var B=[0,10,20,30],X=["",`
|
|
3
|
+
`,`
|
|
4
|
+
|
|
5
|
+
`,`
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
`];function ne(e,r){return r.type=e,r}function x(e){return e.type==="section"}function V(e){return x(e)?q:J}function R(e){if(x(e)){var r=0,a=e.blocks.length,n=a>1||a>0&&!e.noHeader;return I(e.blocks,function(o){var t=R(o);t>=r&&(r=t+ +(n&&(!t||x(o)&&!o.noHeader)))}),r}return 0}function q(e,r,a,n){var o=r.noHeader,t=K(R(r)),l=[],i=r.blocks||[];G(!i||m(i)),i=i||[];var p=e.orderMode;if(r.sortBlocks&&p){i=i.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(D(h,p)){var M=new O(h[p],null);i.sort(function(v,c){return M.evaluate(v.sortParam,c.sortParam)})}else p==="seriesDesc"&&i.reverse()}I(i,function(v,c){var T=r.valueFormatter,y=V(v)(T?g(g({},e),{valueFormatter:T}):e,v,c>0?t.html:0,n);y!=null&&l.push(y)});var s=e.renderMode==="richText"?l.join(t.richText):F(n,l.join(""),o?a:t.html);if(o)return s;var f=C(r.header,"ordinal",e.useUTC),d=w(n,e.renderMode).nameStyle,k=_(n);return e.renderMode==="richText"?z(e,f,d)+t.richText+s:F(n,'<div style="'+d+";"+k+';">'+u(f)+"</div>"+s,a)}function J(e,r,a,n){var o=e.renderMode,t=r.noName,l=r.noValue,i=!r.markerType,p=r.name,h=e.useUTC,M=r.valueFormatter||e.valueFormatter||function(S){return S=m(S)?S:[S],N(S,function(L,E){return C(L,m(d)?d[E]:d,h)})};if(!(t&&l)){var s=i?"":e.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||H.color.secondary,o),f=t?"":C(p,"ordinal",h),d=r.valueType,k=l?[]:M(r.value,r.dataIndex),v=!i||!t,c=!i&&t,T=w(n,o),y=T.nameStyle,b=T.valueStyle;return o==="richText"?(i?"":s)+(t?"":z(e,f,y))+(l?"":Z(e,k,v,c,b)):F(n,(i?"":s)+(t?"":Q(f,!i,y))+(l?"":Y(k,v,c,b)),a)}}function oe(e,r,a,n,o,t){if(e){var l=V(e),i={useUTC:o,renderMode:a,orderMode:n,markupStyleCreator:r,valueFormatter:e.valueFormatter};return l(i,e,0,t)}}function K(e){return{html:B[e],richText:X[e]}}function F(e,r,a){var n='<div style="clear:both"></div>',o="margin: "+a+"px 0 0",t=_(e);return'<div style="'+o+";"+t+';">'+r+n+"</div>"}function Q(e,r,a){var n=r?"margin-left:2px":"";return'<span style="'+a+";"+n+'">'+u(e)+"</span>"}function Y(e,r,a,n){var o=a?"10px":"20px",t=r?"float:right;margin-left:"+o:"";return e=m(e)?e:[e],'<span style="'+t+";"+n+'">'+N(e,function(l){return u(l)}).join(" ")+"</span>"}function z(e,r,a){return e.markupStyleCreator.wrapRichTextStyle(r,a)}function Z(e,r,a,n,o){var t=[o],l=n?10:20;return a&&t.push({padding:[0,0,0,l],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(m(r)?r.join(" "):r,t)}function ie(e,r){var a=e.getData().getItemVisual(r,"style"),n=a[e.visualDrawType];return W(n)}function le(e,r){var a=e.get("padding");return a??(r==="richText"?[8,10]:10)}var ue=function(){function e(){this.richTextStyles={},this._nextStyleNameId=U()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(r,a,n){var o=n==="richText"?this._generateStyleName():null,t=P({color:a,type:r,renderMode:n,markerId:o});return A(t)?t:(this.richTextStyles[o]=t.style,t.content)},e.prototype.wrapRichTextStyle=function(r,a){var n={};m(a)?I(a,function(t){return g(n,t)}):g(n,a);var o=this._generateStyleName();return this.richTextStyles[o]=n,"{"+o+"|"+r+"}"},e}();export{ue as TooltipMarkupStyleCreator,oe as buildTooltipMarkup,ne as createTooltipMarkup,le as getPaddingFromTooltipModel,ie as retrieveVisualColorForTooltipMarker};
|
|
9
|
+
//# sourceMappingURL=tooltipMarkup.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/transform/install */
|
|
2
|
+
import{filterTransform as o}from"./filterTransform.mjs";import{sortTransform as f}from"./sortTransform.mjs";function n(r){r.registerTransform(o),r.registerTransform(f)}export{n as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/transform/sortTransform */
|
|
2
|
+
import{SOURCE_FORMAT_ARRAY_ROWS as _,SOURCE_FORMAT_OBJECT_ROWS as h}from"../../util/types.mjs";import{throwError as a}from"../../util/log.mjs";import{each as V}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{normalizeToArray as I}from"../../util/model.mjs";import{getRawValueParser as M,SortOrderComparator as R}from"../../data/helper/dataValueHelper.mjs";var A={type:"echarts:sort",transform:function(u){var n=u.upstream,N=u.config,i="",v=I(N);v.length||a(i);var p=[];V(v,function(s){var m=s.dimension,e=s.order,r=s.parser,o=s.incomparable;if(m==null&&a(i),e!=="asc"&&e!=="desc"&&a(i),o&&o!=="min"&&o!=="max"){var t="";a(t)}if(e!=="asc"&&e!=="desc"){var c="";a(c)}var l=n.getDimensionInfo(m);l||a(i);var E=r?M(r):null;r&&!E&&a(i),p.push({dimIdx:l.index,parser:E,comparator:new R(e,o)})});var g=n.sourceFormat;g!==_&&g!==h&&a(i);for(var f=[],d=0,O=n.count();d<O;d++)f.push(n.getRawDataItem(d));return f.sort(function(s,m){for(var e=0;e<p.length;e++){var r=p[e],o=n.retrieveValueFromItem(s,r.dimIdx),t=n.retrieveValueFromItem(m,r.dimIdx);r.parser&&(o=r.parser(o),t=r.parser(t));var c=r.comparator.evaluate(o,t);if(c!==0)return c}return 0}),{data:f}}};export{A as sortTransform};
|
|
3
|
+
//# sourceMappingURL=sortTransform.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/ContinuousView */
|
|
2
|
+
import{__extends as N}from"/tslib@2.3.0/es2022/tslib.mjs";import*as g from"/zrender@6.0.0/es2022/lib/core/util.mjs";import X from"/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs";import*as x from"/zrender@6.0.0/es2022/lib/core/event.mjs";import Z from"./VisualMapView.mjs";import*as u from"../../util/graphic.mjs";import*as U from"../../util/number.mjs";import Y from"../helper/sliderMove.mjs";import*as M from"./helper.mjs";import*as A from"../../util/model.mjs";import{parsePercent as G}from"/zrender@6.0.0/es2022/lib/contain/text.mjs";import{setAsHighDownDispatcher as K}from"../../util/states.mjs";import{createSymbol as R}from"../../util/symbol.mjs";import W from"/zrender@6.0.0/es2022/lib/graphic/Image.mjs";import{getECData as j}from"../../util/innerStore.mjs";import{createTextStyle as T}from"../../label/labelStyle.mjs";import{findEventDispatcher as q}from"../../util/event.mjs";var m=U.linearMap,J=g.each,B=Math.min,H=Math.max,Q=12,$=6,tt=function(f){N(l,f);function l(){var t=f!==null&&f.apply(this,arguments)||this;return t.type=l.type,t._shapes={},t._dataInterval=[],t._handleEnds=[],t._hoverLinkDataIndices=[],t}return l.prototype.init=function(t,i){f.prototype.init.call(this,t,i),this._hoverLinkFromSeriesMouseOver=g.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=g.bind(this._hideIndicator,this)},l.prototype.doRender=function(t,i,e,r){(!r||r.type!=="selectDataRange"||r.from!==this.uid)&&this._buildView()},l.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,i=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(i);var e=t.get("text");this._renderEndsText(i,e,0),this._renderEndsText(i,e,1),this._updateView(!0),this.renderBackground(i),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(i)},l.prototype._renderEndsText=function(t,i,e){if(i){var r=i[1-e];r=r!=null?r+"":"";var a=this.visualMapModel,s=a.get("textGap"),n=a.itemSize,p=this._shapes.mainGroup,h=this._applyTransform([n[0]/2,e===0?-s:n[1]+s],p),o=this._applyTransform(e===0?"bottom":"top",p),v=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new u.Text({style:T(c,{x:h[0],y:h[1],verticalAlign:c.get("verticalAlign")||(v==="horizontal"?"middle":o),align:c.get("align")||(v==="horizontal"?o:"center"),text:r})}))}},l.prototype._renderBar=function(t){var i=this.visualMapModel,e=this._shapes,r=i.itemSize,a=this._orient,s=this._useHandle,n=M.getItemAlign(i,this.api,r),p=e.mainGroup=this._createBarGroup(n),h=new u.Group;p.add(h),h.add(e.outOfRange=C()),h.add(e.inRange=C(null,s?O(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0))),h.setClipPath(new u.Rect({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var o=i.textStyleModel.getTextRect("\u56FD"),v=H(o.width,o.height);s&&(e.handleThumbs=[],e.handleLabels=[],e.handleLabelPoints=[],this._createHandle(i,p,0,r,v,a),this._createHandle(i,p,1,r,v,a)),this._createIndicator(i,p,r,v,a),t.add(p)},l.prototype._createHandle=function(t,i,e,r,a,s){var n=g.bind(this._dragHandle,this,e,!1),p=g.bind(this._dragHandle,this,e,!0),h=G(t.get("handleSize"),r[0]),o=R(t.get("handleIcon"),-h/2,-h/2,h,h,null,!0),v=O(this._orient);o.attr({cursor:v,draggable:!0,drift:n,ondragend:p,onmousemove:function(S){x.stop(S.event)}}),o.x=r[0]/2,o.useStyle(t.getModel("handleStyle").getItemStyle()),o.setStyle({strokeNoScale:!0,strokeFirst:!0}),o.style.lineWidth*=2,o.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),K(o,!0),i.add(o);var c=this.visualMapModel.textStyleModel,d=new u.Text({cursor:v,draggable:!0,drift:n,onmousemove:function(S){x.stop(S.event)},ondragend:p,style:T(c,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var _=[h,0],y=this._shapes;y.handleThumbs[e]=o,y.handleLabelPoints[e]=_,y.handleLabels[e]=d},l.prototype._createIndicator=function(t,i,e,r,a){var s=G(t.get("indicatorSize"),e[0]),n=R(t.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);n.attr({cursor:"move",invisible:!0,silent:!0,x:e[0]/2});var p=t.getModel("indicatorStyle").getItemStyle();if(n instanceof W){var h=n.style;n.useStyle(g.extend({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},p))}else n.useStyle(p);i.add(n);var o=this.visualMapModel.textStyleModel,v=new u.Text({silent:!0,invisible:!0,style:T(o,{x:0,y:0,text:""})});this.group.add(v);var c=[(a==="horizontal"?r/2:$)+e[0]/2,0],d=this._shapes;d.indicator=n,d.indicatorLabel=v,d.indicatorLabelPoint=c,this._firstShowIndicator=!0},l.prototype._dragHandle=function(t,i,e,r){if(this._useHandle){if(this._dragging=!i,!i){var a=this._applyTransform([e,r],this._shapes.mainGroup,!0);this._updateInterval(t,a[1]),this._hideIndicator(),this._updateView()}i===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),i?!this._hovering&&this._clearHoverLinkToSeries():P(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},l.prototype._resetInterval=function(){var t=this.visualMapModel,i=this._dataInterval=t.getSelected(),e=t.getExtent(),r=[0,t.itemSize[1]];this._handleEnds=[m(i[0],e,r,!0),m(i[1],e,r,!0)]},l.prototype._updateInterval=function(t,i){i=i||0;var e=this.visualMapModel,r=this._handleEnds,a=[0,e.itemSize[1]];Y(i,r,a,t,0);var s=e.getExtent();this._dataInterval=[m(r[0],a,s,!0),m(r[1],a,s,!0)]},l.prototype._updateView=function(t){var i=this.visualMapModel,e=i.getExtent(),r=this._shapes,a=[0,i.itemSize[1]],s=t?a:this._handleEnds,n=this._createBarVisual(this._dataInterval,e,s,"inRange"),p=this._createBarVisual(e,e,a,"outOfRange");r.inRange.setStyle({fill:n.barColor}).setShape("points",n.barPoints),r.outOfRange.setStyle({fill:p.barColor}).setShape("points",p.barPoints),this._updateHandle(s,n)},l.prototype._createBarVisual=function(t,i,e,r){var a={forceState:r,convertOpacityToAlpha:!0},s=this._makeColorGradient(t,a),n=[this.getControllerVisual(t[0],"symbolSize",a),this.getControllerVisual(t[1],"symbolSize",a)],p=this._createBarPoints(e,n);return{barColor:new X(0,0,0,1,s),barPoints:p,handlesColor:[s[0].color,s[s.length-1].color]}},l.prototype._makeColorGradient=function(t,i){var e=100,r=[],a=(t[1]-t[0])/e;r.push({color:this.getControllerVisual(t[0],"color",i),offset:0});for(var s=1;s<e;s++){var n=t[0]+a*s;if(n>t[1])break;r.push({color:this.getControllerVisual(n,"color",i),offset:s/e})}return r.push({color:this.getControllerVisual(t[1],"color",i),offset:1}),r},l.prototype._createBarPoints=function(t,i){var e=this.visualMapModel.itemSize;return[[e[0]-i[0],t[0]],[e[0],t[0]],[e[0],t[1]],[e[0]-i[1],t[1]]]},l.prototype._createBarGroup=function(t){var i=this._orient,e=this.visualMapModel.get("inverse");return new u.Group(i==="horizontal"&&!e?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:i==="horizontal"&&e?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:i==="vertical"&&!e?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},l.prototype._updateHandle=function(t,i){if(this._useHandle){var e=this._shapes,r=this.visualMapModel,a=e.handleThumbs,s=e.handleLabels,n=r.itemSize,p=r.getExtent(),h=this._applyTransform("left",e.mainGroup);J([0,1],function(o){var v=a[o];v.setStyle("fill",i.handlesColor[o]),v.y=t[o];var c=m(t[o],[0,n[1]],p,!0),d=this.getControllerVisual(c,"symbolSize");v.scaleX=v.scaleY=d/n[0],v.x=n[0]-d/2;var _=u.applyTransform(e.handleLabelPoints[o],u.getTransform(v,this.group));if(this._orient==="horizontal"){var y=h==="left"||h==="top"?(n[0]-d)/2:(n[0]-d)/-2;_[1]+=y}s[o].setStyle({x:_[0],y:_[1],text:r.formatValueText(this._dataInterval[o]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",e.mainGroup):"center"})},this)}},l.prototype._showIndicator=function(t,i,e,r){var a=this.visualMapModel,s=a.getExtent(),n=a.itemSize,p=[0,n[1]],h=this._shapes,o=h.indicator;if(o){o.attr("invisible",!1);var v={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",v),d=this.getControllerVisual(t,"symbolSize"),_=m(t,s,p,!0),y=n[0]-d/2,S={x:o.x,y:o.y};o.y=_,o.x=y;var k=u.applyTransform(h.indicatorLabelPoint,u.getTransform(o,this.group)),b=h.indicatorLabel;b.attr("invisible",!1);var w=this._applyTransform("left",h.mainGroup),F=this._orient,I=F==="horizontal";b.setStyle({text:(e||"")+a.formatValueText(i),verticalAlign:I?w:"middle",align:I?"center":w});var E={x:y,y:_,style:{fill:c}},D={style:{x:k[0],y:k[1]}};if(a.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var V={duration:100,easing:"cubicInOut",additive:!0};o.x=S.x,o.y=S.y,o.animateTo(E,V),b.animateTo(D,V)}else o.attr(E),b.attr(D);this._firstShowIndicator=!1;var L=this._shapes.handleLabels;if(L)for(var z=0;z<L.length;z++)this.api.enterBlur(L[z])}},l.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(i){if(t._hovering=!0,!t._dragging){var e=t.visualMapModel.itemSize,r=t._applyTransform([i.offsetX,i.offsetY],t._shapes.mainGroup,!0,!0);r[1]=B(H(0,r[1]),e[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=e[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},l.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},l.prototype._doHoverLinkToSeries=function(t,i){var e=this.visualMapModel,r=e.itemSize;if(e.option.hoverLink){var a=[0,r[1]],s=e.getExtent();t=B(H(a[0],t),a[1]);var n=et(e,s,a),p=[t-n,t+n],h=m(t,a,s,!0),o=[m(p[0],a,s,!0),m(p[1],a,s,!0)];p[0]<a[0]&&(o[0]=-1/0),p[1]>a[1]&&(o[1]=1/0),i&&(o[0]===-1/0?this._showIndicator(h,o[1],"< ",n):o[1]===1/0?this._showIndicator(h,o[0],"> ",n):this._showIndicator(h,h,"\u2248 ",n));var v=this._hoverLinkDataIndices,c=[];(i||P(e))&&(c=this._hoverLinkDataIndices=e.findTargetDataIndices(o));var d=A.compressBatches(v,c);this._dispatchHighDown("downplay",M.makeHighDownBatch(d[0],e)),this._dispatchHighDown("highlight",M.makeHighDownBatch(d[1],e))}},l.prototype._hoverLinkFromSeriesMouseOver=function(t){var i;if(q(t.target,function(n){var p=j(n);if(p.dataIndex!=null)return i=p,!0},!0),!!i){var e=this.ecModel.getSeriesByIndex(i.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(e)){var a=e.getData(i.dataType),s=a.getStore().get(r.getDataDimensionIndex(a),i.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},l.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var i=this._shapes.handleLabels;if(i)for(var e=0;e<i.length;e++)this.api.leaveBlur(i[e])},l.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",M.makeHighDownBatch(t,this.visualMapModel)),t.length=0},l.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},l.prototype._applyTransform=function(t,i,e,r){var a=u.getTransform(i,r?null:this.group);return g.isArray(t)?u.applyTransform(t,a,e):u.transformDirection(t,a,e)},l.prototype._dispatchHighDown=function(t,i){i&&i.length&&this.api.dispatchAction({type:t,batch:i})},l.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},l.type="visualMap.continuous",l}(Z);function C(f,l,t,i){return new u.Polygon({shape:{points:f},draggable:!!t,cursor:l,drift:t,onmousemove:function(e){x.stop(e.event)},ondragend:i})}function et(f,l,t){var i=Q/2,e=f.get("hoverLinkDataSize");return e&&(i=m(e,l,t,!0)/2),i}function P(f){var l=f.get("hoverLinkOnHandle");return!!(l??f.get("realtime"))}function O(f){return f==="vertical"?"ns-resize":"ew-resize"}var dt=tt;export{dt as default};
|
|
3
|
+
//# sourceMappingURL=ContinuousView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/PiecewiseModel */
|
|
2
|
+
import{__extends as x}from"/tslib@2.3.0/es2022/tslib.mjs";import*as p from"/zrender@6.0.0/es2022/lib/core/util.mjs";import y from"./VisualMapModel.mjs";import d from"../../visual/VisualMapping.mjs";import U from"../../visual/visualDefault.mjs";import{reformIntervals as m}from"../../util/number.mjs";import{inheritDefaultOption as z}from"../../util/component.mjs";var I=function(l){x(r,l);function r(){var t=l!==null&&l.apply(this,arguments)||this;return t.type=r.type,t._pieceList=[],t}return r.prototype.optionUpdated=function(t,a){l.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var e=this._mode=this._determineMode();this._pieceList=[],V[this._mode].call(this,this._pieceList),this._resetSelected(t,a);var u=this.option.categories;this.resetVisual(function(i,n){e==="categories"?(i.mappingMethod="category",i.categories=p.clone(u)):(i.dataExtent=this.getExtent(),i.mappingMethod="piecewise",i.pieceList=p.map(this._pieceList,function(s){return s=p.clone(s),n!=="inRange"&&(s.visual=null),s}))})},r.prototype.completeVisualOption=function(){var t=this.option,a={},e=d.listVisualTypes(),u=this.isCategory();p.each(t.pieces,function(n){p.each(e,function(s){n.hasOwnProperty(s)&&(a[s]=1)})}),p.each(a,function(n,s){var h=!1;p.each(this.stateList,function(o){h=h||i(t,o,s)||i(t.target,o,s)},this),!h&&p.each(this.stateList,function(o){(t[o]||(t[o]={}))[s]=U.get(s,o==="inRange"?"active":"inactive",u)})},this);function i(n,s,h){return n&&n[s]&&n[s].hasOwnProperty(h)}l.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function(t,a){var e=this.option,u=this._pieceList,i=(a?e:t).selected||{};if(e.selected=i,p.each(u,function(s,h){var o=this.getSelectedMapKey(s);i.hasOwnProperty(o)||(i[o]=!0)},this),e.selectedMode==="single"){var n=!1;p.each(u,function(s,h){var o=this.getSelectedMapKey(s);i[o]&&(n?i[o]=!1:n=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function(t){this.option.selected=p.clone(t)},r.prototype.getValueState=function(t){var a=d.findPieceIndex(t,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(t){var a=[],e=this._pieceList;return this.eachTargetSeries(function(u){var i=[],n=u.getData();n.each(this.getDataDimensionIndex(n),function(s,h){var o=d.findPieceIndex(s,e);o===t&&i.push(h)},this),a.push({seriesId:u.id,dataIndex:i})},this),a},r.prototype.getRepresentValue=function(t){var a;if(this.isCategory())a=t.value;else if(t.value!=null)a=t.value;else{var e=t.interval||[];a=e[0]===-1/0&&e[1]===1/0?0:(e[0]+e[1])/2}return a},r.prototype.getVisualMeta=function(t){if(this.isCategory())return;var a=[],e=["",""],u=this;function i(o,f){var v=u.getRepresentValue({interval:o});f||(f=u.getValueState(v));var c=t(v,f);o[0]===-1/0?e[0]=c:o[1]===1/0?e[1]=c:a.push({value:o[0],color:c},{value:o[1],color:c})}var n=this._pieceList.slice();if(!n.length)n.push({interval:[-1/0,1/0]});else{var s=n[0].interval[0];s!==-1/0&&n.unshift({interval:[-1/0,s]}),s=n[n.length-1].interval[1],s!==1/0&&n.push({interval:[s,1/0]})}var h=-1/0;return p.each(n,function(o){var f=o.interval;f&&(f[0]>h&&i([h,f[0]],"outOfRange"),i(f.slice()),h=f[1])},this),{stops:a,outerColors:e}},r.type="visualMap.piecewise",r.defaultOption=z(y.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),r}(y),V={splitNumber:function(l){var r=this.option,t=Math.min(r.precision,20),a=this.getExtent(),e=r.splitNumber;e=Math.max(parseInt(e,10),1),r.splitNumber=e;for(var u=(a[1]-a[0])/e;+u.toFixed(t)!==u&&t<5;)t++;r.precision=t,u=+u.toFixed(t),r.minOpen&&l.push({interval:[-1/0,a[0]],close:[0,0]});for(var i=0,n=a[0];i<e;n+=u,i++){var s=i===e-1?a[1]:n+u;l.push({interval:[n,s],close:[1,1]})}r.maxOpen&&l.push({interval:[a[1],1/0],close:[0,0]}),m(l),p.each(l,function(h,o){h.index=o,h.text=this.formatValueText(h.interval)},this)},categories:function(l){var r=this.option;p.each(r.categories,function(t){l.push({text:this.formatValueText(t,!0),value:t})},this),g(r,l)},pieces:function(l){var r=this.option;p.each(r.pieces,function(t,a){p.isObject(t)||(t={value:t});var e={text:"",index:a};if(t.label!=null&&(e.text=t.label),t.hasOwnProperty("value")){var u=e.value=t.value;e.interval=[u,u],e.close=[1,1]}else{for(var i=e.interval=[],n=e.close=[0,0],s=[1,0,1],h=[-1/0,1/0],o=[],f=0;f<2;f++){for(var v=[["gte","gt","min"],["lte","lt","max"]][f],c=0;c<3&&i[f]==null;c++)i[f]=t[v[c]],n[f]=s[c],o[f]=c===2;i[f]==null&&(i[f]=h[f])}o[0]&&i[1]===1/0&&(n[0]=0),o[1]&&i[0]===-1/0&&(n[1]=0),i[0]===i[1]&&n[0]&&n[1]&&(e.value=i[0])}e.visual=d.retrieveVisuals(t),l.push(e)},this),g(r,l),m(l),p.each(l,function(t){var a=t.close,e=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,e)},this)}};function g(l,r){var t=l.inverse;(l.orient==="vertical"?!t:t)&&r.reverse()}var R=I;export{R as default};
|
|
3
|
+
//# sourceMappingURL=PiecewiseModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/PiecewiseView */
|
|
2
|
+
import{__extends as S}from"/tslib@2.3.0/es2022/tslib.mjs";import*as l from"/zrender@6.0.0/es2022/lib/core/util.mjs";import V from"./VisualMapView.mjs";import*as d from"../../util/graphic.mjs";import{createSymbol as b}from"../../util/symbol.mjs";import*as w from"../../util/layout.mjs";import*as c from"./helper.mjs";import{createTextStyle as x}from"../../label/labelStyle.mjs";var I=function(u){S(n,u);function n(){var e=u!==null&&u.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.doRender=function(){var e=this.group;e.removeAll();var i=this.visualMapModel,t=i.get("textGap"),a=i.textStyleModel,r=this._getItemAlign(),o=i.itemSize,p=this._getViewData(),s=p.endsText,h=l.retrieve(i.get("showLabel",!0),!s),M=!i.get("selectedMode");s&&this._renderEndsText(e,s[0],o,h,r),l.each(p.viewPieceList,function(m){var g=m.piece,v=new d.Group;v.onclick=l.bind(this._onItemClick,this,g),this._enableHoverLink(v,m.indexInModelPieceList);var f=i.getRepresentValue(g);if(this._createItemSymbol(v,f,[0,0,o[0],o[1]],M),h){var _=this.visualMapModel.getValueState(f),y=a.get("align")||r;v.add(new d.Text({style:x(a,{x:y==="right"?-t:o[0]+t,y:o[1]/2,text:g.text,verticalAlign:a.get("verticalAlign")||"middle",align:y,opacity:l.retrieve2(a.get("opacity"),_==="outOfRange"?.5:1)}),silent:M}))}e.add(v)},this),s&&this._renderEndsText(e,s[1],o,h,r),w.box(i.get("orient"),e,i.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},n.prototype._enableHoverLink=function(e,i){var t=this;e.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(r){var o=t.visualMapModel;o.option.hoverLink&&t.api.dispatchAction({type:r,batch:c.makeHighDownBatch(o.findTargetDataIndices(i),o)})}},n.prototype._getItemAlign=function(){var e=this.visualMapModel,i=e.option;if(i.orient==="vertical")return c.getItemAlign(e,this.api,e.itemSize);var t=i.align;return(!t||t==="auto")&&(t="left"),t},n.prototype._renderEndsText=function(e,i,t,a,r){if(i){var o=new d.Group,p=this.visualMapModel.textStyleModel;o.add(new d.Text({style:x(p,{x:a?r==="right"?t[0]:0:t[0]/2,y:t[1]/2,verticalAlign:"middle",align:a?r:"center",text:i})})),e.add(o)}},n.prototype._getViewData=function(){var e=this.visualMapModel,i=l.map(e.getPieceList(),function(o,p){return{piece:o,indexInModelPieceList:p}}),t=e.get("text"),a=e.get("orient"),r=e.get("inverse");return(a==="horizontal"?r:!r)?i.reverse():t&&(t=t.slice().reverse()),{viewPieceList:i,endsText:t}},n.prototype._createItemSymbol=function(e,i,t,a){var r=b(this.getControllerVisual(i,"symbol"),t[0],t[1],t[2],t[3],this.getControllerVisual(i,"color"));r.silent=a,e.add(r)},n.prototype._onItemClick=function(e){var i=this.visualMapModel,t=i.option,a=t.selectedMode;if(a){var r=l.clone(t.selected),o=i.getSelectedMapKey(e);a==="single"||a===!0?(r[o]=!0,l.each(r,function(p,s){r[s]=s===o})):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},n.type="visualMap.piecewise",n}(V),G=I;export{G as default};
|
|
3
|
+
//# sourceMappingURL=PiecewiseView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/VisualMapModel */
|
|
2
|
+
import{__extends as E}from"/tslib@2.3.0/es2022/tslib.mjs";import*as r from"/zrender@6.0.0/es2022/lib/core/util.mjs";import A from"../../visual/visualDefault.mjs";import U from"../../visual/VisualMapping.mjs";import*as z from"../../visual/visualSolution.mjs";import*as D from"../../util/model.mjs";import*as M from"../../util/number.mjs";import T from"../../model/Component.mjs";import v from"../../visual/tokens.mjs";var C=U.mapVisual,F=U.eachVisual,B=r.isArray,O=r.each,L=M.asc,w=M.linearMap,W=function(R){E(i,R);function i(){var t=R!==null&&R.apply(this,arguments)||this;return t.type=i.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return i.prototype.init=function(t,e,o){this.mergeDefaultAndTheme(t,o)},i.prototype.optionUpdated=function(t,e){var o=this.option;!e&&z.replaceVisualOption(o,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},i.prototype.resetVisual=function(t){var e=this.stateList;t=r.bind(t,this),this.controllerVisuals=z.createVisualMappings(this.option.controller,e,t),this.targetVisuals=z.createVisualMappings(this.option.target,e,t)},i.prototype.getItemSymbol=function(){return null},i.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesId,e=this.option.seriesIndex;e==null&&t==null&&(e="all");var o=D.queryReferringComponents(this.ecModel,"series",{index:e,id:t},{useDefault:!1,enableAll:!0,enableNone:!1}).models;return r.map(o,function(a){return a.componentIndex})},i.prototype.eachTargetSeries=function(t,e){r.each(this.getTargetSeriesIndices(),function(o){var a=this.ecModel.getSeriesByIndex(o);a&&t.call(e,a)},this)},i.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(o){o===t&&(e=!0)}),e},i.prototype.formatValueText=function(t,e,o){var a=this.option,h=a.precision,l=this.dataBound,p=a.formatter,c;o=o||["<",">"],r.isArray(t)&&(t=t.slice(),c=!0);var s=e?t:c?[n(t[0]),n(t[1])]:n(t);if(r.isString(p))return p.replace("{value}",c?s[0]:s).replace("{value2}",c?s[1]:s);if(r.isFunction(p))return c?p(t[0],t[1]):p(t);if(c)return t[0]===l[0]?o[0]+" "+s[1]:t[1]===l[1]?o[1]+" "+s[0]:s[0]+" - "+s[1];return s;function n(f){return f===l[0]?"min":f===l[1]?"max":(+f).toFixed(Math.min(h,20))}},i.prototype.resetExtent=function(){var t=this.option,e=L([t.min,t.max]);this._dataExtent=e},i.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(e!=null)return t.getDimensionIndex(e);for(var o=t.dimensions,a=o.length-1;a>=0;a--){var h=o[a],l=t.getDimensionInfo(h);if(!l.isCalculationCoord)return l.storeDimIndex}},i.prototype.getExtent=function(){return this._dataExtent.slice()},i.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,o={inRange:e.inRange,outOfRange:e.outOfRange},a=e.target||(e.target={}),h=e.controller||(e.controller={});r.merge(a,o),r.merge(h,o);var l=this.isCategory();p.call(this,a),p.call(this,h),c.call(this,a,"inRange","outOfRange"),s.call(this,h);function p(n){B(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function c(n,f,S){var x=n[f],m=n[S];x&&!m&&(m=n[S]={},O(x,function(b,g){if(U.isValidType(g)){var d=A.get(g,"inactive",l);d!=null&&(m[g]=d,g==="color"&&!m.hasOwnProperty("opacity")&&!m.hasOwnProperty("colorAlpha")&&(m.opacity=[0,0]))}}))}function s(n){var f=(n.inRange||{}).symbol||(n.outOfRange||{}).symbol,S=(n.inRange||{}).symbolSize||(n.outOfRange||{}).symbolSize,x=this.get("inactiveColor"),m=this.getItemSymbol(),b=m||"roundRect";O(this.stateList,function(g){var d=this.itemSize,u=n[g];u||(u=n[g]={color:l?x:[x]}),u.symbol==null&&(u.symbol=f&&r.clone(f)||(l?b:[b])),u.symbolSize==null&&(u.symbolSize=S&&r.clone(S)||(l?d[0]:[d[0],d[0]])),u.symbol=C(u.symbol,function(y){return y==="none"?b:y});var V=u.symbolSize;if(V!=null){var I=-1/0;F(V,function(y){y>I&&(I=y)}),u.symbolSize=C(V,function(y){return w(y,[0,I],[0,d[0]],!0)})}},this)}},i.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},i.prototype.isCategory=function(){return!!this.option.categories},i.prototype.setSelected=function(t){},i.prototype.getSelected=function(){return null},i.prototype.getValueState=function(t){return null},i.prototype.getVisualMeta=function(t){return null},i.type="visualMap",i.dependencies=["series"],i.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:v.color.transparent,borderColor:v.color.borderTint,contentColor:v.color.theme[0],inactiveColor:v.color.disabled,borderWidth:0,padding:v.size.m,textGap:10,precision:0,textStyle:{color:v.color.secondary}},i}(T),q=W;export{q as default};
|
|
3
|
+
//# sourceMappingURL=VisualMapModel.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/VisualMapView */
|
|
2
|
+
import{__extends as M}from"/tslib@2.3.0/es2022/tslib.mjs";import*as c from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{Rect as V}from"../../util/graphic.mjs";import*as h from"../../util/format.mjs";import*as p from"../../util/layout.mjs";import f from"../../visual/VisualMapping.mjs";import w from"../../view/Component.mjs";var x=function(s){M(i,s);function i(){var t=s!==null&&s.apply(this,arguments)||this;return t.type=i.type,t.autoPositionValues={left:1,right:1,top:1,bottom:1},t}return i.prototype.init=function(t,o){this.ecModel=t,this.api=o},i.prototype.render=function(t,o,e,r){if(this.visualMapModel=t,t.get("show")===!1){this.group.removeAll();return}this.doRender(t,o,e,r)},i.prototype.renderBackground=function(t){var o=this.visualMapModel,e=h.normalizeCssArray(o.get("padding")||0),r=t.getBoundingRect();t.add(new V({z2:-1,silent:!0,shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[3]+e[1],height:r.height+e[0]+e[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},i.prototype.getControllerVisual=function(t,o,e){e=e||{};var r=e.forceState,u=this.visualMapModel,l={};if(o==="color"){var m=u.get("contentColor");l.color=m}function v(a){return l[a]}function y(a,n){l[a]=n}var d=u.controllerVisuals[r||u.getValueState(t)],g=f.prepareVisualTypes(d);return c.each(g,function(a){var n=d[a];e.convertOpacityToAlpha&&a==="opacity"&&(a="colorAlpha",n=d.__alphaForOpacity),f.dependsOn(a,o)&&n&&n.applyVisual(t,v,y)}),l[o]},i.prototype.positionGroup=function(t){var o=this.visualMapModel,e=this.api,r=p.createBoxLayoutReference(o,e).refContainer;p.positionElement(t,o.getBoxLayoutParams(),r)},i.prototype.doRender=function(t,o,e,r){},i.type="visualMap",i}(w),A=x;export{A as default};
|
|
3
|
+
//# sourceMappingURL=VisualMapView.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/helper */
|
|
2
|
+
import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getLayoutRect as m}from"../../util/layout.mjs";var v=[["left","right","width"],["top","bottom","height"]];function I(n,e,t){var a=n.option,o=a.align;if(o!=null&&o!=="auto")return o;for(var h={width:e.getWidth(),height:e.getHeight()},l=a.orient==="horizontal"?1:0,d=v[l],p=[0,null,10],g={},r=0;r<3;r++)g[v[1-l][r]]=p[r],g[d[r]]=r===2?t[0]:a[d[r]];var i=[["x","width",3],["y","height",0]][l],u=m(g,h,a.padding);return d[(u.margin[i[2]]||0)+u[i[0]]+u[i[1]]*.5<h[i[1]]*.5?0:1]}function c(n,e){return f.each(n||[],function(t){t.dataIndex!=null&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),n}export{I as getItemAlign,c as makeHighDownBatch};
|
|
3
|
+
//# sourceMappingURL=helper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/install */
|
|
2
|
+
import{use as i}from"../../extension.mjs";import{install as s}from"./installVisualMapContinuous.mjs";import{install as l}from"./installVisualMapPiecewise.mjs";function r(t){i(s),i(l)}export{r as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/installCommon */
|
|
2
|
+
import{visualMapActionInfo as a,visualMapActionHander as l}from"./visualMapAction.mjs";import{visualMapEncodingHandlers as n}from"./visualEncoding.mjs";import{each as o}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import t from"./preprocessor.mjs";var i=!1;function u(r){i||(i=!0,r.registerSubTypeDefaulter("visualMap",function(e){return!e.categories&&(!(e.pieces?e.pieces.length>0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(a,l),o(n,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(t))}export{u as default};
|
|
3
|
+
//# sourceMappingURL=installCommon.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/installVisualMapContinuous */
|
|
2
|
+
import n from"./ContinuousModel.mjs";import t from"./ContinuousView.mjs";import i from"./installCommon.mjs";function l(o){o.registerComponentModel(n),o.registerComponentView(t),i(o)}export{l as install};
|
|
3
|
+
//# sourceMappingURL=installVisualMapContinuous.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/installVisualMapPiecewise */
|
|
2
|
+
import e from"./PiecewiseModel.mjs";import i from"./PiecewiseView.mjs";import m from"./installCommon.mjs";function l(o){o.registerComponentModel(e),o.registerComponentView(i),m(o)}export{l as install};
|
|
3
|
+
//# sourceMappingURL=installVisualMapPiecewise.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/preprocessor */
|
|
2
|
+
import*as a from"/zrender@6.0.0/es2022/lib/core/util.mjs";var l=a.each;function u(t){var i=t&&t.visualMap;a.isArray(i)||(i=i?[i]:[]),l(i,function(s){if(s){n(s,"splitList")&&!n(s,"pieces")&&(s.pieces=s.splitList,delete s.splitList);var f=s.pieces;f&&a.isArray(f)&&l(f,function(r){a.isObject(r)&&(n(r,"start")&&!n(r,"min")&&(r.min=r.start),n(r,"end")&&!n(r,"max")&&(r.max=r.end))})}})}function n(t,i){return t&&t.hasOwnProperty&&t.hasOwnProperty(i)}export{u as default};
|
|
3
|
+
//# sourceMappingURL=preprocessor.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/visualEncoding */
|
|
2
|
+
import*as l from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as c from"../../visual/visualSolution.mjs";import D from"../../visual/VisualMapping.mjs";import{getVisualFromData as S}from"../../visual/helper.mjs";var x=[{createOnAllSeries:!0,reset:function(a,n){var e=[];return n.eachComponent("visualMap",function(t){var r=a.pipelineContext;!t.isTargetSeries(a)||r&&r.large||e.push(c.incrementalApplyVisual(t.stateList,t.targetVisuals,l.bind(t.getValueState,t),t.getDataDimensionIndex(a.getData())))}),e}},{createOnAllSeries:!0,reset:function(a,n){var e=a.getData(),t=[];n.eachComponent("visualMap",function(r){if(r.isTargetSeries(a)){var s=r.getVisualMeta(l.bind(h,null,a,r))||{stops:[],outerColors:[]},i=r.getDataDimensionIndex(e);i>=0&&(s.dimension=i,t.push(s))}}),a.getData().setVisual("visualMeta",t)}}];function h(a,n,e,t){for(var r=n.targetVisuals[t],s=D.prepareVisualTypes(r),i={color:S(a.getData(),"color")},o=0,f=s.length;o<f;o++){var p=s[o],g=r[p==="opacity"?"__alphaForOpacity":p];g&&g.applyVisual(e,m,V)}return i.color;function m(u){return i[u]}function V(u,v){i[u]=v}}export{x as visualMapEncodingHandlers};
|
|
3
|
+
//# sourceMappingURL=visualEncoding.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/component/visualMap/visualMapAction */
|
|
2
|
+
var n={type:"selectDataRange",event:"dataRangeSelected",update:"update"},c=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(a){a.setSelected(e.selected)})};export{c as visualMapActionHander,n as visualMapActionInfo};
|
|
3
|
+
//# sourceMappingURL=visualMapAction.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/coord/Axis */
|
|
2
|
+
import{each as M,map as h}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{linearMap as f,getPixelPrecision as b,round as v}from"../util/number.mjs";import{createAxisTicks as E,createAxisLabels as k,calculateCategoryInterval as L,AxisTickLabelComputingKind as x,createAxisLabelsComputingContext as g}from"./axisTickLabelBuilder.mjs";var m=[0,1],_=function(){function r(t,n,e){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=e||[0,0]}return r.prototype.contain=function(t){var n=this._extent,e=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=e&&t<=i},r.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return b(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,n){var e=this._extent;e[0]=t,e[1]=n},r.prototype.dataToCoord=function(t,n){var e=this._extent,i=this.scale;return t=i.normalize(i.parse(t)),this.onBand&&i.type==="ordinal"&&(e=e.slice(),y(e,i.count())),f(t,m,e,n)},r.prototype.coordToData=function(t,n){var e=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(e=e.slice(),y(e,i.count()));var a=f(t,e,m,n);return this.scale.scale(a)},r.prototype.pointToData=function(t,n){},r.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),e=E(this,n,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),i=e.ticks,a=h(i,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),o=n.get("alignWithLabel");return A(this,a,o,t.clamp),a},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var e=this.scale.getMinorTicks(n),i=h(e,function(a){return h(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},r.prototype.getViewLabels=function(t){return t=t||g(x.determine),k(this,t).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),e=n[1]-n[0]+(this.onBand?1:0);e===0&&(e=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/e},r.prototype.calculateCategoryInterval=function(t){return t=t||g(x.determine),L(this,t)},r}();function y(r,t){var n=r[1]-r[0],e=t,i=n/e/2;r[0]+=i,r[1]-=i}function A(r,t,n,e){var i=t.length;if(!r.onBand||n||!i)return;var a=r.getExtent(),o,l;if(i===1)t[0].coord=a[0],t[0].onBand=!0,o=t[1]={coord:a[1],tickValue:t[0].tickValue,onBand:!0};else{var T=t[i-1].tickValue-t[0].tickValue,p=(t[i-1].coord-t[0].coord)/T;M(t,function(c){c.coord-=p/2,c.onBand=!0});var d=r.scale.getExtent();l=1+d[1]-t[i-1].tickValue,o={coord:t[i-1].coord+p*l,tickValue:d[1]+1,onBand:!0},t.push(o)}var B=a[0]>a[1];u(t[0].coord,a[0])&&(e?t[0].coord=a[0]:t.shift()),e&&u(a[0],t[0].coord)&&t.unshift({coord:a[0],onBand:!0}),u(a[1],o.coord)&&(e?o.coord=a[1]:t.pop()),e&&u(o.coord,a[1])&&t.push({coord:a[1],onBand:!0});function u(c,s){return c=v(c),s=v(s),B?c>s:c<s}}var D=_;export{D as default};
|
|
3
|
+
//# sourceMappingURL=Axis.mjs.map
|