@templmf/temp-solf-lmf 0.0.93 → 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/es2022/algorithm.mjs +3 -0
- package/@antv/algorithm@^0.1.26 +5 -0
- package/@antv/component@2.1.7/es2022/component.mjs +15 -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/es2022/event-emitter.mjs +3 -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/es2022/g-canvas.mjs +18 -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/es2022/g-plugin-dragndrop.mjs +18 -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/g6@5.1.1/es2022/g6.mjs +125 -0
- package/@antv/g@6.1.28/es2022/g.mjs +15 -0
- package/@antv/g@^6.1.11 +6 -0
- package/@antv/g@^6.1.28 +6 -0
- package/@antv/graphlib@2.0.4/es2022/graphlib.mjs +3 -0
- package/@antv/graphlib@^2.0.4 +3 -0
- package/@antv/hierarchy@0.7.1/es2022/hierarchy.mjs +3 -0
- package/@antv/hierarchy@^0.7.1 +3 -0
- package/@antv/layout@2.0.0/es2022/layout.mjs +20 -0
- package/@antv/layout@^2.0.0 +2 -0
- package/@antv/scale@^0.4.16 +5 -0
- package/@antv/util@3.3.11/es2022/util.mjs +3 -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/bubblesets-js@2.3.4/es2022/bubblesets-js.mjs +4 -0
- package/echarts +8 -0
- package/echarts@6.0.0/es2022/echarts.mjs +3 -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/bar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/installPictorialBar.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/install.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/install.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/chord/install.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/custom/install.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/effectScatter/install.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/funnel/install.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/gauge/install.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/install.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/heatmap/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/install.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/export/charts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/components.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/core.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/features.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/renderers.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/extension.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/reactivity@3.5.34/es2022/reactivity.mjs +0 -12
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/decal */
|
|
2
|
+
import fr from"/zrender@6.0.0/es2022/lib/core/WeakMap.mjs";import gr from"/zrender@6.0.0/es2022/lib/core/LRU.mjs";import{defaults as vr,map as D,isArray as ur,isString as z,isNumber as A}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getLeastCommonMultiple as F}from"./number.mjs";import{createSymbol as cr}from"./symbol.mjs";import{brushSingle as sr}from"/zrender@6.0.0/es2022/lib/canvas/graphic.mjs";import{platformApi as mr}from"/zrender@6.0.0/es2022/lib/core/platform.mjs";var Y=new fr,G=new gr(100),Z=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Mr(r,t){if(r==="none")return null;var e=t.getDevicePixelRatio(),a=t.getZr(),l=a.painter.type==="svg";r.dirty&&Y.delete(r);var H=Y.get(r);if(H)return H;var i=vr(r,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});i.backgroundColor==="none"&&(i.backgroundColor=null);var g={repeat:"repeat"};return Q(g),g.rotation=i.rotation,g.scaleX=g.scaleY=l?1:1/e,Y.set(r,g),r.dirty=!1,g;function Q(p){for(var K=[e],M=!0,C=0;C<Z.length;++C){var y=i[Z[C]];if(y!=null&&!ur(y)&&!z(y)&&!A(y)&&typeof y!="boolean"){M=!1;break}K.push(y)}var T;if(M){T=K.join(",")+(l?"-svg":"");var L=G.get(T);L&&(l?p.svgElement=L:p.image=L)}var v=J(i.dashArrayX),u=pr(i.dashArrayY),d=q(i.symbol),x=yr(v),P=O(u),h=!l&&mr.createCanvas(),N=l&&{tag:"g",attrs:{},key:"dcl",children:[]},b=_(),k;h&&(h.width=b.width*e,h.height=b.height*e,k=h.getContext("2d")),$(),M&&G.put(T,h||N),p.image=h,p.svgElement=N,p.svgWidth=b.width,p.svgHeight=b.height;function _(){for(var c=1,n=0,s=x.length;n<s;++n)c=F(c,x[n]);for(var o=1,n=0,s=d.length;n<s;++n)o=F(o,d[n].length);c*=o;var w=P*x.length*d.length;if(0)var f;return{width:Math.max(1,Math.min(c,i.maxTileWidth)),height:Math.max(1,Math.min(w,i.maxTileHeight))}}function $(){k&&(k.clearRect(0,0,h.width,h.height),i.backgroundColor&&(k.fillStyle=i.backgroundColor,k.fillRect(0,0,h.width,h.height)));for(var c=0,n=0;n<u.length;++n)c+=u[n];if(c<=0)return;for(var s=-P,o=0,w=0,f=0;s<b.height;){if(o%2===0){for(var X=w/2%d.length,W=0,m=0,R=0;W<b.width*2;){for(var B=0,n=0;n<v[f].length;++n)B+=v[f][n];if(B<=0)break;if(m%2===0){var E=(1-i.symbolSize)*.5,j=W+v[f][m]*E,I=s+u[o]*E,rr=v[f][m]*i.symbolSize,er=u[o]*i.symbolSize,tr=R/2%d[X].length;ar(j,I,rr,er,d[X][tr])}W+=v[f][m],++R,++m,m===v[f].length&&(m=0)}++f,f===v.length&&(f=0)}s+=u[o],++w,++o,o===u.length&&(o=0)}function ar(ir,nr,lr,or,hr){var S=l?1:e,V=cr(hr,ir*S,nr*S,lr*S,or*S,i.color,i.symbolKeepAspect);if(l){var U=a.painter.renderOneToVNode(V);U&&N.children.push(U)}else sr(k,V)}}}}function q(r){if(!r||r.length===0)return[["rect"]];if(z(r))return[[r]];for(var t=!0,e=0;e<r.length;++e)if(!z(r[e])){t=!1;break}if(t)return q([r]);for(var a=[],e=0;e<r.length;++e)z(r[e])?a.push([r[e]]):a.push(r[e]);return a}function J(r){if(!r||r.length===0)return[[0,0]];if(A(r)){var t=Math.ceil(r);return[[t,t]]}for(var e=!0,a=0;a<r.length;++a)if(!A(r[a])){e=!1;break}if(e)return J([r]);for(var l=[],a=0;a<r.length;++a)if(A(r[a])){var t=Math.ceil(r[a]);l.push([t,t])}else{var t=D(r[a],function(g){return Math.ceil(g)});t.length%2===1?l.push(t.concat(t)):l.push(t)}return l}function pr(r){if(!r||typeof r=="object"&&r.length===0)return[0,0];if(A(r)){var t=Math.ceil(r);return[t,t]}var e=D(r,function(a){return Math.ceil(a)});return r.length%2?e.concat(e):e}function yr(r){return D(r,function(t){return O(t)})}function O(r){for(var t=0,e=0;e<r.length;++e)t+=r[e];return r.length%2===1?t*2:t}export{Mr as createOrUpdatePatternFromDecal};
|
|
3
|
+
//# sourceMappingURL=decal.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/graphic */
|
|
2
|
+
import*as l from"/zrender@6.0.0/es2022/lib/tool/path.mjs";import*as v from"/zrender@6.0.0/es2022/lib/core/matrix.mjs";import*as G from"/zrender@6.0.0/es2022/lib/core/vector.mjs";import D from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import F from"/zrender@6.0.0/es2022/lib/core/Transformable.mjs";import M from"/zrender@6.0.0/es2022/lib/graphic/Image.mjs";import yt from"/zrender@6.0.0/es2022/lib/graphic/Group.mjs";import Pt from"/zrender@6.0.0/es2022/lib/graphic/Text.mjs";import U from"/zrender@6.0.0/es2022/lib/graphic/shape/Circle.mjs";import _ from"/zrender@6.0.0/es2022/lib/graphic/shape/Ellipse.mjs";import k from"/zrender@6.0.0/es2022/lib/graphic/shape/Sector.mjs";import H from"/zrender@6.0.0/es2022/lib/graphic/shape/Ring.mjs";import W from"/zrender@6.0.0/es2022/lib/graphic/shape/Polygon.mjs";import j from"/zrender@6.0.0/es2022/lib/graphic/shape/Polyline.mjs";import X from"/zrender@6.0.0/es2022/lib/graphic/shape/Rect.mjs";import $ from"/zrender@6.0.0/es2022/lib/graphic/shape/Line.mjs";import q from"/zrender@6.0.0/es2022/lib/graphic/shape/BezierCurve.mjs";import V from"/zrender@6.0.0/es2022/lib/graphic/shape/Arc.mjs";import Mt from"/zrender@6.0.0/es2022/lib/graphic/CompoundPath.mjs";import Bt from"/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs";import St from"/zrender@6.0.0/es2022/lib/graphic/RadialGradient.mjs";import Y from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import Ut from"/zrender@6.0.0/es2022/lib/core/OrientedBoundingRect.mjs";import kt from"/zrender@6.0.0/es2022/lib/core/Point.mjs";import Wt from"/zrender@6.0.0/es2022/lib/graphic/IncrementalDisplayable.mjs";import*as g from"/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs";import{extend as J,isArrayLike as K,map as Q,defaults as A,isString as Z,keys as tt,each as rt,hasOwn as et,isArray as it,isNumber as nt,clone as ot}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getECData as B}from"./innerStore.mjs";import{updateProps as at,initProps as Vt,removeElement as Yt,removeElementWithFadeOut as Jt,isElementRemoved as Kt}from"../animation/basicTransition.mjs";import{mathMin as y,mathMax as m,mathAbs as x}from"./number.mjs";var O={},Zt=["x","y"],tr=["width","height"];function rr(t){return D.extend(t)}var pt=l.extendFromString;function er(t,r){return pt(t,r)}function h(t,r){O[t]=r}function ir(t){if(O.hasOwnProperty(t))return O[t]}function ut(t,r,e,i){var n=l.createFromString(t,r);return e&&(i==="center"&&(e=N(e,n.getBoundingRect())),ft(n,e)),n}function nr(t,r,e){var i=new M({style:{image:t,x:r.x,y:r.y,width:r.width,height:r.height},onload:function(n){if(e==="center"){var o={width:n.width,height:n.height};i.setStyle(N(r,o))}}});return i}function N(t,r){var e=r.width/r.height,i=t.height*e,n;i<=t.width?n=t.height:(i=t.width,n=i/e);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var or=l.mergePath;function ft(t,r){if(t.applyTransform){var e=t.getBoundingRect(),i=e.calculateTransform(r);t.applyTransform(i)}}function ar(t,r){return g.subPixelOptimizeLine(t,t,{lineWidth:r}),t}function pr(t,r){return g.subPixelOptimizeRect(t,t,r),t}var ur=g.subPixelOptimize;function fr(t,r){for(var e=v.identity([]);t&&t!==r;)v.mul(e,t.getLocalTransform(),e),t=t.parent;return e}function mt(t,r,e){return r&&!K(r)&&(r=F.getLocalTransform(r)),e&&(r=v.invert([],r)),G.applyTransform([],t,r)}function mr(t,r,e){var i=r[4]===0||r[5]===0||r[0]===0?1:x(2*r[4]/r[0]),n=r[4]===0||r[5]===0||r[2]===0?1:x(2*r[4]/r[2]),o=[t==="left"?-i:t==="right"?i:0,t==="top"?-n:t==="bottom"?n:0];return o=mt(o,r,e),x(o[0])>x(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function L(t){return!t.isGroup}function vt(t){return t.shape!=null}function vr(t,r,e){if(!t||!r)return;function i(a){var p={};return a.traverse(function(f){L(f)&&f.anid&&(p[f.anid]=f)}),p}function n(a){var p={x:a.x,y:a.y,rotation:a.rotation};return vt(a)&&(p.shape=ot(a.shape)),p}var o=i(t);r.traverse(function(a){if(L(a)&&a.anid){var p=o[a.anid];if(p){var f=n(a);a.attr(n(p)),at(a,f,e,B(a).dataIndex)}}})}function hr(t,r){return Q(t,function(e){var i=e[0];i=m(i,r.x),i=y(i,r.x+r.width);var n=e[1];return n=m(n,r.y),n=y(n,r.y+r.height),[i,n]})}function sr(t,r){var e=m(t.x,r.x),i=y(t.x+t.width,r.x+r.width),n=m(t.y,r.y),o=y(t.y+t.height,r.y+r.height);if(i>=e&&o>=n)return{x:e,y:n,width:i-e,height:o-n}}function xr(t,r,e){var i=J({rectHover:!0},r),n=i.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(n.image=t.slice(8),A(n,e),new M(i)):ut(t.replace("path://",""),i,e,"center")}function cr(t,r,e,i,n){for(var o=0,a=n[n.length-1];o<n.length;o++){var p=n[o];if(ht(t,r,e,i,p[0],p[1],a[0],a[1]))return!0;a=p}}function ht(t,r,e,i,n,o,a,p){var f=e-t,s=i-r,c=a-n,b=p-o,P=T(c,b,f,s);if(st(P))return!1;var R=t-n,C=r-o,E=T(R,C,f,s)/P;if(E<0||E>1)return!1;var I=T(R,C,c,b)/P;return!(I<0||I>1)}function T(t,r,e,i){return t*i-e*r}function st(t){return t<=1e-6&&t>=-1e-6}function lr(t,r,e,i,n){return r==null||(nt(r)?u[0]=u[1]=u[2]=u[3]=r:(u[0]=r[0],u[1]=r[1],u[2]=r[2],u[3]=r[3]),i&&(u[0]=m(0,u[0]),u[1]=m(0,u[1]),u[2]=m(0,u[2]),u[3]=m(0,u[3])),e&&(u[0]=-u[0],u[1]=-u[1],u[2]=-u[2],u[3]=-u[3]),z(t,u,"x","width",3,1,n&&n[0]||0),z(t,u,"y","height",0,2,n&&n[1]||0)),t}var u=[0,0,0,0];function z(t,r,e,i,n,o,a){var p=r[o]+r[n],f=t[i];t[i]+=p,a=m(0,y(a,f)),t[i]<a?(t[i]=a,t[e]+=r[n]>=0?-r[n]:r[o]>=0?f+r[o]:x(p)>1e-8?(f-a)*r[n]/p:0):t[e]-=r[n]}function gr(t){var r=t.itemTooltipOption,e=t.componentModel,i=t.itemName,n=Z(r)?{formatter:r}:r,o=e.mainType,a=e.componentIndex,p={componentType:o,name:i,$vars:["name"]};p[o+"Index"]=a;var f=t.formatterParamsExtra;f&&rt(tt(f),function(c){et(p,c)||(p[c]=f[c],p.$vars.push(c))});var s=B(t.el);s.componentMainType=o,s.componentIndex=a,s.tooltipConfig={name:i,option:A({content:i,encodeHTMLContent:!0,formatterParams:p},n)}}function w(t,r){var e;t.isGroup&&(e=r(t)),e||t.traverse(r)}function yr(t,r){if(t)if(it(t))for(var e=0;e<t.length;e++)w(t[e],r);else w(t,r)}function dr(t){return!t||x(t[1])<d&&x(t[2])<d||x(t[0])<d&&x(t[3])<d}var d=1e-5;function Pr(t,r){return t?Y.copy(t,r):r.clone()}function Tr(t,r){return r?v.copy(t||v.create(),r):void 0}function Or(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}}function wr(t){var r=-1/0,e=1/0;w(t,function(o){i(o),i(o.getTextContent()),i(o.getTextGuideLine())});function i(o){if(!(!o||o.isGroup)){var a=o.currentStates;if(a.length)for(var p=0;p<a.length;p++)n(o.states[a[p]]);n(o)}}function n(o){if(o){var a=o.z2;a>r&&(r=a),a<e&&(e=a)}}return e>r&&(e=r=0),{min:e,max:r}}function br(t,r,e){S(t,r,e,-1/0)}function S(t,r,e,i){if(t.ignoreModelZ)return i;var n=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var p=t.childrenRef(),f=0;f<p.length;f++)i=m(S(p[f],r,e,i),i);else t.z=r,t.zlevel=e,i=m(t.z2||0,i);if(n&&(n.z=r,n.zlevel=e,isFinite(i)&&(n.z2=i+2)),o){var s=t.textGuideLineConfig;o.z=r,o.zlevel=e,isFinite(i)&&(o.z2=i+(s&&s.showAbove?1:-1))}return i}h("circle",U);h("ellipse",_);h("sector",k);h("ring",H);h("polygon",W);h("polyline",j);h("rect",X);h("line",$);h("bezierCurve",q);h("arc",V);export{V as Arc,q as BezierCurve,Y as BoundingRect,U as Circle,Mt as CompoundPath,_ as Ellipse,yt as Group,M as Image,Wt as IncrementalDisplayable,$ as Line,Bt as LinearGradient,Ut as OrientedBoundingRect,D as Path,kt as Point,W as Polygon,j as Polyline,St as RadialGradient,X as Rect,H as Ring,k as Sector,Pt as Text,tr as WH,Zt as XY,mt as applyTransform,wr as calcZ2Range,hr as clipPointsByRect,sr as clipRectByRect,xr as createIcon,Pr as ensureCopyRect,Tr as ensureCopyTransform,lr as expandOrShrinkRect,er as extendPath,rr as extendShape,ir as getShapeClass,fr as getTransform,vr as groupTransition,Vt as initProps,dr as isBoundingRectAxisAligned,Kt as isElementRemoved,ht as lineLineIntersect,cr as linePolygonIntersect,nr as makeImage,ut as makePath,or as mergePath,h as registerShape,Yt as removeElement,Jt as removeElementWithFadeOut,ft as resizePath,Or as retrieveZInfo,gr as setTooltipConfig,ur as subPixelOptimize,ar as subPixelOptimizeLine,pr as subPixelOptimizeRect,mr as transformDirection,yr as traverseElements,br as traverseUpdateZ,at as updateProps};
|
|
3
|
+
//# sourceMappingURL=graphic.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/jitter */
|
|
2
|
+
import y from"../coord/cartesian/Axis2D.mjs";import{makeInner as f}from"./model.mjs";function j(a,i){var r=a.coordinateSystem,t=r&&r.type,e=r&&r.getBaseAxis&&r.getBaseAxis(),l=e&&e.scale&&e.scale.type,n=t==="cartesian2d"&&l==="ordinal"||t==="single",v=i.model.get("jitter")>0;return n&&v}var b=f();function V(a,i,r,t){if(a instanceof y){var e=a.scale.type;if(e!=="category"&&e!=="ordinal")return r}var l=a.model,n=l.get("jitter"),v=l.get("jitterOverlap"),s=l.get("jitterMargin")||0,c=a.scale.type==="ordinal"?a.getBandWidth():null;return n>0?v?M(r,n,c,t):J(a,i,r,t,n,s):r}function M(a,i,r,t){if(r===null)return a+(Math.random()-.5)*i;var e=r-t*2,l=Math.min(Math.max(0,i),e);return a+(Math.random()-.5)*l}function J(a,i,r,t,e,l){var n=b(a);n.items||(n.items=[]);var v=n.items,s=g(v,i,r,t,e,l,1),c=g(v,i,r,t,e,l,-1),p=Math.abs(s-r)<Math.abs(c-r)?s:c,m=a.scale.type==="ordinal"?a.getBandWidth():null,u=Math.abs(p-r);return u>e/2||m&&u>m/2-t?M(r,e,m,t):(v.push({fixedCoord:i,floatCoord:p,r:t}),p)}function g(a,i,r,t,e,l,n){for(var v=r,s=0;s<a.length;s++){var c=a[s],p=i-c.fixedCoord,m=v-c.floatCoord,u=p*p+m*m,h=t+c.r+l;if(u<h*h){var o=c.floatCoord+Math.sqrt(h*h-p*p)*n;if(Math.abs(o-r)>e/2)return Number.MAX_VALUE;if(n===1&&o>v||n===-1&&o<v){v=o,s=-1;continue}}}return v}export{V as fixJitter,j as needFixJitter};
|
|
3
|
+
//# sourceMappingURL=jitter.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/layout */
|
|
2
|
+
import*as d from"/zrender@6.0.0/es2022/lib/core/util.mjs";import S from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import{parsePercent as s}from"./number.mjs";import*as L from"./format.mjs";import"./log.mjs";import{BoxCoordinateSystemCoordFrom as U,getCoordForBoxCoordSys as B}from"../core/CoordinateSystem.mjs";var z=d.each,R=["left","right","top","bottom","width","height"],x=[["width","left","right"],["height","top","bottom"]];function m(r,t,o,h,i){var e=0,n=0;h==null&&(h=1/0),i==null&&(i=1/0);var l=0;t.eachChild(function(f,a){var v=f.getBoundingRect(),u=t.childAt(a+1),g=u&&u.getBoundingRect(),c,y;if(r==="horizontal"){var C=v.width+(g?-g.x+v.x:0);c=e+C,c>h||f.newline?(e=0,c=C,n+=l+o,l=v.height):l=Math.max(l,v.height)}else{var b=v.height+(g?-g.y+v.y:0);y=n+b,y>i||f.newline?(e+=l+o,n=0,y=b,l=v.width):l=Math.max(l,v.width)}f.newline||(f.x=e,f.y=n,f.markRedraw(),r==="horizontal"?e=c+o:n=y+o)})}var W=m,D=d.curry(m,"vertical"),j=d.curry(m,"horizontal");function q(r,t){return{left:r.getShallow("left",t),top:r.getShallow("top",t),right:r.getShallow("right",t),bottom:r.getShallow("bottom",t),width:r.getShallow("width",t),height:r.getShallow("height",t)}}function P(r,t){var o=T(r,t,{enableLayoutOnlyByCenter:!0}),h=r.getBoxLayoutParams(),i,e;if(o.type===p.point)e=o.refPoint,i=A(h,{width:t.getWidth(),height:t.getHeight()});else{var n=r.get("center"),l=d.isArray(n)?n:[n,n];i=A(h,o.refContainer),e=o.boxCoordFrom===U.coord2?o.refPoint:[s(l[0],i.width)+i.x,s(l[1],i.height)+i.y]}return{viewRect:i,center:e}}function G(r,t){var o=P(r,t),h=o.viewRect,i=o.center,e=r.get("radius");d.isArray(e)||(e=[0,e]);var n=s(h.width,t.getWidth()),l=s(h.height,t.getHeight()),f=Math.min(n,l),a=s(e[0],f/2),v=s(e[1],f/2);return{cx:i[0],cy:i[1],r0:a,r:v,viewRect:h}}function A(r,t,o){o=L.normalizeCssArray(o||0);var h=t.width,i=t.height,e=s(r.left,h),n=s(r.top,i),l=s(r.right,h),f=s(r.bottom,i),a=s(r.width,h),v=s(r.height,i),u=o[2]+o[0],g=o[1]+o[3],c=r.aspect;switch(isNaN(a)&&(a=h-l-g-e),isNaN(v)&&(v=i-f-u-n),c!=null&&(isNaN(a)&&isNaN(v)&&(c>h/i?a=h*.8:v=i*.8),isNaN(a)&&(a=c*v),isNaN(v)&&(v=a/c)),isNaN(e)&&(e=h-l-a-g),isNaN(n)&&(n=i-f-v-u),r.left||r.right){case"center":e=h/2-a/2-o[3];break;case"right":e=h-a-g;break}switch(r.top||r.bottom){case"middle":case"center":n=i/2-v/2-o[0];break;case"bottom":n=i-v-u;break}e=e||0,n=n||0,isNaN(a)&&(a=h-g-e-(l||0)),isNaN(v)&&(v=i-u-n-(f||0));var y=new S((t.x||0)+e+o[3],(t.y||0)+n+o[0],a,v);return y.margin=o,y}function J(r,t,o){var h=r.getShallow("preserveAspect",!0);if(!h)return t;var i=t.width/t.height;if(Math.abs(Math.atan(o)-Math.atan(i))<1e-9)return t;var e=r.getShallow("preserveAspectAlign",!0),n=r.getShallow("preserveAspectVerticalAlign",!0),l={width:t.width,height:t.height},f=h==="cover";return i>o&&!f||i<o&&f?(l.width=t.height*o,e==="left"?l.left=0:e==="right"?l.right=0:l.left="center"):(l.height=t.width/o,n==="top"?l.top=0:n==="bottom"?l.bottom=0:l.top="middle"),A(l,t)}var p={rect:1,point:2};function T(r,t,o){var h,i,e,n=r.boxCoordinateSystem,l;if(n){var f=B(r),a=f.coord,v=f.from;if(n.dataToLayout){e=p.rect,l=v;var u=n.dataToLayout(a);h=u.contentRect||u.rect}else o&&o.enableLayoutOnlyByCenter&&n.dataToPoint&&(e=p.point,l=v,i=n.dataToPoint(a))}return e==null&&(e=p.rect),e===p.rect&&(h||(h={x:0,y:0,width:t.getWidth(),height:t.getHeight()}),i=[h.x+h.width/2,h.y+h.height/2]),{type:e,refContainer:h,refPoint:i,boxCoordFrom:l}}function K(r,t,o,h,i,e){var n=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],f=i&&i.boundingMode||"all";if(e=e||r,e.x=r.x,e.y=r.y,!n&&!l)return!1;var a;if(f==="raw")a=r.type==="group"?new S(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(a=r.getBoundingRect(),r.needLocalTransform()){var v=r.getLocalTransform();a=a.clone(),a.applyTransform(v)}var u=A(d.defaults({width:a.width,height:a.height},t),o,h),g=n?u.x-a.x:0,c=l?u.y-a.y:0;return f==="raw"?(e.x=g,e.y=c):(e.x+=g,e.y+=c),e===r&&r.markRedraw(),!0}function O(r,t){return r[x[t][0]]!=null||r[x[t][1]]!=null&&r[x[t][2]]!=null}function Q(r){var t=r.layoutMode||r.constructor.layoutMode;return d.isObject(t)?t:t?{type:t}:null}function X(r,t,o){var h=o&&o.ignoreSize;!d.isArray(h)&&(h=[h,h]);var i=n(x[0],0),e=n(x[1],1);f(x[0],r,i),f(x[1],r,e);function n(a,v){var u={},g=0,c={},y=0,C=2;if(z(a,function(w){c[w]=r[w]}),z(a,function(w){d.hasOwn(t,w)&&(u[w]=c[w]=t[w]),l(u,w)&&g++,l(c,w)&&y++}),h[v])return l(t,a[1])?c[a[2]]=null:l(t,a[2])&&(c[a[1]]=null),c;if(y===C||!g)return c;if(g>=C)return u;for(var b=0;b<a.length;b++){var N=a[b];if(!d.hasOwn(u,N)&&d.hasOwn(r,N)){u[N]=r[N];break}}return u}function l(a,v){return a[v]!=null&&a[v]!=="auto"}function f(a,v,u){z(a,function(g){v[g]=u[g]})}}function Y(r){return M({},r)}function M(r,t){return t&&r&&z(R,function(o){d.hasOwn(t,o)&&(r[o]=t[o])}),r}export{p as BoxLayoutReferenceType,x as HV_NAMES,R as LOCATION_PARAMS,J as applyPreserveAspect,W as box,M as copyLayoutParams,T as createBoxLayoutReference,Q as fetchLayoutMode,q as getBoxLayoutParams,G as getCircleLayout,Y as getLayoutParams,A as getLayoutRect,j as hbox,X as mergeLayoutParam,K as positionElement,O as sizeCalculable,D as vbox};
|
|
3
|
+
//# sourceMappingURL=layout.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/model */
|
|
2
|
+
import{each as v,isObject as I,isArray as M,createHashMap as m,map as w,assert as O,isString as b,indexOf as q,isStringSafe as P,isNumber as A}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import B from"/zrender@6.0.0/es2022/lib/core/env.mjs";import{isNumeric as V,getRandomIdBase as L,getPrecision as N,round as E}from"./number.mjs";import"./log.mjs";function T(e,n,r){return(n-e)*r+e}var S="series\0",R="\0_ec_\0";function F(e){return e instanceof Array?e:e==null?[]:[e]}function ie(e,n,r){if(e){e[n]=e[n]||{},e.emphasis=e.emphasis||{},e.emphasis[n]=e.emphasis[n]||{};for(var i=0,t=r.length;i<t;i++){var a=r[i];!e.emphasis[n].hasOwnProperty(a)&&e[n].hasOwnProperty(a)&&(e.emphasis[n][a]=e[n][a])}}}var te=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function ae(e){return I(e)&&!M(e)&&!(e instanceof Date)?e.value:e}function le(e){return I(e)&&!(e instanceof Array)}function ue(e,n,r){var i=r==="normalMerge",t=r==="replaceMerge",a=r==="replaceAll";e=e||[],n=(n||[]).slice();var l=m();v(n,function(o,f){if(!I(o)){n[f]=null;return}});var u=X(e,l,r);return(i||t)&&Y(u,e,l,n),i&&G(u,n),i||t?K(u,n,t):a&&U(u,n),W(u),u}function X(e,n,r){var i=[];if(r==="replaceAll")return i;for(var t=0;t<e.length;t++){var a=e[t];a&&a.id!=null&&n.set(a.id,t),i.push({existing:r==="replaceMerge"||y(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function Y(e,n,r,i){v(i,function(t,a){if(!(!t||t.id==null)){var l=p(t.id),u=r.get(l);if(u!=null){var o=e[u];O(!o.newOption,'Duplicated option on id "'+l+'".'),o.newOption=t,o.existing=n[u],i[a]=null}}})}function G(e,n){v(n,function(r,i){if(!(!r||r.name==null))for(var t=0;t<e.length;t++){var a=e[t].existing;if(!e[t].newOption&&a&&(a.id==null||r.id==null)&&!y(r)&&!y(a)&&D("name",a,r)){e[t].newOption=r,n[i]=null;return}}})}function K(e,n,r){v(n,function(i){if(i){for(var t,a=0;(t=e[a])&&(t.newOption||y(t.existing)||t.existing&&i.id!=null&&!D("id",i,t.existing));)a++;t?(t.newOption=i,t.brandNew=r):e.push({newOption:i,brandNew:r,existing:null,keyInfo:null}),a++}})}function U(e,n){v(n,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function W(e){var n=m();v(e,function(r){var i=r.existing;i&&n.set(i.id,r)}),v(e,function(r){var i=r.newOption;O(!i||i.id==null||!n.get(i.id)||n.get(i.id)===r,"id duplicates: "+(i&&i.id)),i&&i.id!=null&&n.set(i.id,r),!r.keyInfo&&(r.keyInfo={})}),v(e,function(r,i){var t=r.existing,a=r.newOption,l=r.keyInfo;if(I(a)){if(l.name=a.name!=null?p(a.name):t?t.name:S+i,t)l.id=p(t.id);else if(a.id!=null)l.id=p(a.id);else{var u=0;do l.id="\0"+l.name+"\0"+u++;while(n.get(l.id))}n.set(l.id,r)}})}function D(e,n,r){var i=g(n[e],null),t=g(r[e],null);return i!=null&&t!=null&&i===t}function p(e){return g(e,"")}function g(e,n){return e==null?n:b(e)?e:A(e)||P(e)?e+"":n}function oe(e){var n=e.name;return!!(n&&n.indexOf(S))}function y(e){return e&&e.id!=null&&p(e.id).indexOf(R)===0}function fe(e){return R+e}function se(e,n,r){v(e,function(i){var t=i.newOption;I(t)&&(i.keyInfo.mainType=n,i.keyInfo.subType=z(n,t,i.existing,r))})}function z(e,n,r,i){var t=n.type?n.type:r?r.subType:i.determineSubType(e,n);return t}function de(e,n){var r={},i={};return t(e||[],r),t(n||[],i,r),[a(r),a(i)];function t(l,u,o){for(var f=0,d=l.length;f<d;f++){var s=g(l[f].seriesId,null);if(s==null)return;for(var c=F(l[f].dataIndex),x=o&&o[s],h=0,k=c.length;h<k;h++){var _=c[h];x&&x[_]?x[_]=null:(u[s]||(u[s]={}))[_]=1}}}function a(l,u){var o=[];for(var f in l)if(l.hasOwnProperty(f)&&l[f]!=null)if(u)o.push(+f);else{var d=a(l[f],!0);d.length&&o.push({seriesId:f,dataIndex:d})}return o}}function ve(e,n){if(n.dataIndexInside!=null)return n.dataIndexInside;if(n.dataIndex!=null)return M(n.dataIndex)?w(n.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(n.dataIndex);if(n.name!=null)return M(n.name)?w(n.name,function(r){return e.indexOfName(r)}):e.indexOfName(n.name)}function ce(){var e="__ec_inner_"+C++;return function(n){return n[e]||(n[e]={})}}var C=L();function xe(e,n,r){var i=H(n,r),t=i.mainTypeSpecified,a=i.queryOptionMap,l=i.others,u=l,o=r?r.defaultMainType:null;return!t&&o&&a.set(o,{}),a.each(function(f,d){var s=J(e,d,f,{useDefault:o===d,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});u[d+"Models"]=s.models,u[d+"Model"]=s.models[0]}),u}function H(e,n){var r;if(b(e)){var i={};i[e+"Index"]=0,r=i}else r=e;var t=m(),a={},l=!1;return v(r,function(u,o){if(o==="dataIndex"||o==="dataIndexInside"){a[o]=u;return}var f=o.match(/^(\w+)(Index|Id|Name)$/)||[],d=f[1],s=(f[2]||"").toLowerCase();if(!(!d||!s||n&&n.includeMainTypes&&q(n.includeMainTypes,d)<0)){l=l||!!d;var c=t.get(d)||t.set(d,{});c[s]=u}}),{mainTypeSpecified:l,queryOptionMap:t,others:a}}var $={useDefault:!0,enableAll:!1,enableNone:!1},he={useDefault:!1,enableAll:!0,enableNone:!0};function J(e,n,r,i){i=i||$;var t=r.index,a=r.id,l=r.name,u={models:null,specified:t!=null||a!=null||l!=null};if(!u.specified){var o=void 0;return u.models=i.useDefault&&(o=e.getComponent(n))?[o]:[],u}if(t==="none"||t===!1){if(i.enableNone)return u.models=[],u;t=-1}return t==="all"&&(i.enableAll?t=a=l=null:t=-1),u.models=e.queryComponents({mainType:n,index:t,id:a,name:l}),u}function pe(e,n,r){e.setAttribute?e.setAttribute(n,r):e[n]=r}function Ie(e,n){return e.getAttribute?e.getAttribute(n):e[n]}function Ne(e){return e==="auto"?B.domSupported?"html":"richText":e||"html"}function ge(e,n){var r=m(),i=[];return v(e,function(t){var a=n(t);(r.get(a)||(i.push(a),r.set(a,[]))).push(t)}),{keys:i,buckets:r}}function ye(e,n,r,i,t){var a=n==null||n==="auto";if(i==null)return i;if(A(i)){var l=T(r||0,i,t);return E(l,a?Math.max(N(r||0),N(i)):n)}else{if(b(i))return t<1?r:i;for(var u=[],o=r,f=i,d=Math.max(o?o.length:0,f.length),s=0;s<d;++s){var c=e.getDimensionInfo(s);if(c&&c.type==="ordinal")u[s]=(t<1&&o?o:f)[s];else{var x=o&&o[s]?o[s]:0,h=f[s],l=T(x,h,t);u[s]=E(l,a?Math.max(N(x),N(h)):n)}}return u}}var me=function(){function e(){}return e.prototype.reset=function(n,r,i,t){return this._list=n,this._step=t=t||1,this._idx=r,this._end=i??(t>0?n.length:0),this.item=null,this.key=NaN,this},e.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)?(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0):!1},e}();function _e(e){e.option=e.parentModel=e.ecModel=null}export{me as ListIterator,he as MULTIPLE_REFERRING,$ as SINGLE_REFERRING,te as TEXT_STYLE_OPTIONS,_e as clearTmpModel,de as compressBatches,g as convertOptionIdName,ie as defaultEmphasis,Ie as getAttribute,ae as getDataItemValue,Ne as getTooltipRenderMode,ge as groupData,ye as interpolateRawValues,y as isComponentIdInternal,le as isDataItemOption,oe as isNameSpecified,ce as makeInner,fe as makeInternalComponentId,ue as mappingToExists,F as normalizeToArray,xe as parseFinder,H as preParseFinder,ve as queryDataIndex,J as queryReferringComponents,pe as setAttribute,se as setComponentTypeToKeyInfo};
|
|
3
|
+
//# sourceMappingURL=model.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/number */
|
|
2
|
+
import*as c from"/zrender@6.0.0/es2022/lib/core/util.mjs";var v=1e-4,h=20;function I(r){return r.replace(/^\s+|\s+$/g,"")}var F=Math.min,O=Math.max,S=Math.abs;function T(r,e,t,u){var n=e[0],i=e[1],a=t[0],x=t[1],o=i-n,f=x-a;if(o===0)return f===0?a:(a+x)/2;if(u)if(o>0){if(r<=n)return a;if(r>=i)return x}else{if(r>=n)return a;if(r<=i)return x}else{if(r===n)return a;if(r===i)return x}return(r-n)/o*f+a}var C=U;function U(r,e,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return D(r,e,t)}function D(r,e,t){return c.isString(r)?I(r).match(/%$/)?parseFloat(r)/100*e+(t||0):parseFloat(r):r==null?NaN:+r}function g(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),h),r=(+r).toFixed(e),t?r:+r}function A(r){return r.sort(function(e,t){return e-t}),r}function N(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return w(r)}function w(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),u=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),a=i<0?0:n-1-i;return Math.max(0,a-u)}function L(r,e){var t=Math.log,u=Math.LN10,n=Math.floor(t(r[1]-r[0])/u),i=Math.round(t(S(e[1]-e[0]))/u),a=Math.min(Math.max(-n+i,0),20);return isFinite(a)?a:20}function _(r,e,t){if(!r[e])return 0;var u=z(r,t);return u[e]||0}function z(r,e){var t=c.reduce(r,function(p,d){return p+(isNaN(d)?0:d)},0);if(t===0)return[];for(var u=Math.pow(10,e),n=c.map(r,function(p){return(isNaN(p)?0:p)/t*u*100}),i=u*100,a=c.map(n,function(p){return Math.floor(p)}),x=c.reduce(a,function(p,d){return p+d},0),o=c.map(n,function(p,d){return p-a[d]});x<i;){for(var f=Number.NEGATIVE_INFINITY,s=null,M=0,m=o.length;M<m;++M)o[M]>f&&(f=o[M],s=M);++a[s],o[s]=0,++x}return c.map(a,function(p){return p/u})}function y(r,e){var t=Math.max(N(r),N(e)),u=r+e;return t>h?u:g(u,t)}var b=9007199254740991;function G(r){var e=Math.PI*2;return(r%e+e)%e}function k(r){return r>-v&&r<v}var R=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function q(r){if(r instanceof Date)return r;if(c.isString(r)){var e=R.exec(r);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function Q(r){return Math.pow(10,l(r))}function l(r){if(r===0)return 0;var e=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,e)>=10&&e++,e}function Z(r,e){var t=l(r),u=Math.pow(10,t),n=r/u,i;return e?n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10:n<1?i=1:n<2?i=2:n<3?i=3:n<5?i=5:i=10,r=i*u,t>=-20?+r.toFixed(t<0?-t:0):r}function $(r,e){var t=(r.length-1)*e+1,u=Math.floor(t),n=+r[u-1],i=t-u;return i?n+i*(r[u]-n):n}function X(r){r.sort(function(o,f){return x(o,f,0)?-1:1});for(var e=-1/0,t=1,u=0;u<r.length;){for(var n=r[u].interval,i=r[u].close,a=0;a<2;a++)n[a]<=e&&(n[a]=e,i[a]=a?1:1-t),e=n[a],t=i[a];n[0]===n[1]&&i[0]*i[1]!==1?r.splice(u,1):u++}return r;function x(o,f,s){return o.interval[s]<f.interval[s]||o.interval[s]===f.interval[s]&&(o.close[s]-f.close[s]===(s?-1:1)||!s&&x(o,f,1))}}function E(r){var e=parseFloat(r);return e==r&&(e!==0||!c.isString(r)||r.indexOf("x")<=0)?e:NaN}function B(r){return!isNaN(E(r))}function H(){return Math.round(Math.random()*9)}function P(r,e){return e===0?r:P(e,r%e)}function V(r,e){return r==null?e:e==null?r:r*e/P(r,e)}export{b as MAX_SAFE_INTEGER,y as addSafe,A as asc,P as getGreatestCommonDividor,V as getLeastCommonMultiple,z as getPercentSeats,_ as getPercentWithPrecision,L as getPixelPrecision,N as getPrecision,w as getPrecisionSafe,H as getRandomIdBase,B as isNumeric,k as isRadianAroundZero,T as linearMap,S as mathAbs,O as mathMax,F as mathMin,Z as nice,E as numericToNumber,q as parseDate,C as parsePercent,U as parsePositionOption,D as parsePositionSizeOption,$ as quantile,Q as quantity,l as quantityExponent,X as reformIntervals,G as remRadian,g as round};
|
|
3
|
+
//# sourceMappingURL=number.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/states */
|
|
2
|
+
import{extend as h,indexOf as N,isArrayLike as Q,isObject as X,keys as $,isArray as F,each as S}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{getECData as g}from"./innerStore.mjs";import{liftColor as H}from"/zrender@6.0.0/es2022/lib/tool/color.mjs";import{queryDataIndex as V,makeInner as M}from"./model.mjs";import ee from"/zrender@6.0.0/es2022/lib/graphic/Path.mjs";import"./log.mjs";var b=1,B={},Y=M(),_=M(),T=0,O=1,w=2,He=["emphasis","blur","select"],be=["normal","emphasis","blur","select"],te=10,re=9,ne="highlight",oe="downplay",z="select",ae="unselect",R="toggleSelect",Be="selectchanged";function p(e){return e!=null&&e!=="none"}function D(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function U(e){D(e,"emphasis",w)}function W(e){e.hoverState===w&&D(e,"normal",T)}function C(e){D(e,"blur",O)}function Z(e){e.hoverState===O&&D(e,"normal",T)}function ie(e){e.selected=!0}function le(e){e.selected=!1}function A(e,t,r){t(e,r)}function v(e,t,r){A(e,t,r),e.isGroup&&e.traverse(function(n){A(n,t,r)})}function Ae(e,t){switch(t){case"emphasis":e.hoverState=w;break;case"normal":e.hoverState=T;break;case"blur":e.hoverState=O;break;case"select":e.selected=!0}}function Le(e){e.isGroup?e.traverse(function(t){t.clearStates()}):e.clearStates()}function ue(e,t,r,n){for(var o=e.style,a={},i=0;i<t.length;i++){var u=t[i],c=o[u];a[u]=c??(n&&n[u])}for(var i=0;i<e.animators.length;i++){var l=e.animators[i];l.__fromStateTransition&&l.__fromStateTransition.indexOf(r)<0&&l.targetName==="style"&&l.saveTo(a,t)}return a}function ce(e,t,r,n){var o=r&&N(r,"select")>=0,a=!1;if(e instanceof ee){var i=Y(e),u=o&&i.selectFill||i.normalFill,c=o&&i.selectStroke||i.normalStroke;if(p(u)||p(c)){n=n||{};var l=n.style||{};l.fill==="inherit"?(a=!0,n=h({},n),l=h({},l),l.fill=u):!p(l.fill)&&p(u)?(a=!0,n=h({},n),l=h({},l),l.fill=H(u)):!p(l.stroke)&&p(c)&&(a||(n=h({},n),l=h({},l)),l.stroke=H(c)),n.style=l}}if(n&&n.z2==null){a||(n=h({},n));var f=e.z2EmphasisLift;n.z2=e.z2+(f??te)}return n}function se(e,t,r){if(r&&r.z2==null){r=h({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??re)}return r}function fe(e,t,r){var n=N(e.currentStates,t)>=0,o=e.style.opacity,a=n?null:ue(e,["opacity"],t,{opacity:1});r=r||{};var i=r.style||{};return i.opacity==null&&(r=h({},r),i=h({opacity:n?o:a.opacity*.1},i),r.style=i),r}function y(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return ce(this,e,t,r);if(e==="blur")return fe(this,e,r);if(e==="select")return se(this,e,r)}return r}function he(e){e.stateProxy=y;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=y),r&&(r.stateProxy=y)}function L(e,t){!j(e,t)&&!e.__highByOuter&&v(e,U)}function P(e,t){!j(e,t)&&!e.__highByOuter&&v(e,W)}function Pe(e,t){e.__highByOuter|=1<<(t||0),v(e,U)}function Ge(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&v(e,W)}function ke(e){v(e,C)}function ve(e){v(e,Z)}function pe(e){v(e,ie)}function ge(e){v(e,le)}function j(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Se(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(o,a){var i=_(a),u=o==="series",c=u?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!u&&n.push(c),i.isBlured&&(c.group.traverse(function(l){Z(l)}),u&&r.push(a)),i.isBlured=!1}),S(n,function(o){o&&o.toggleBlurSeries&&o.toggleBlurSeries(r,!1,t)})}function E(e,t,r,n){var o=n.getModel();r=r||"coordinateSystem";function a(l,f){for(var s=0;s<f.length;s++){var d=l.getItemGraphicEl(f[s]);d&&ve(d)}}if(e!=null&&!(!t||t==="none")){var i=o.getSeriesByIndex(e),u=i.coordinateSystem;u&&u.master&&(u=u.master);var c=[];o.eachSeries(function(l){var f=i===l,s=l.coordinateSystem;s&&s.master&&(s=s.master);var d=s&&u?s===u:f;if(!(r==="series"&&!f||r==="coordinateSystem"&&!d||t==="series"&&f)){var K=n.getViewOfSeriesModel(l);if(K.group.traverse(function(I){I.__highByOuter&&f&&t==="self"||C(I)}),Q(t))a(l.getData(),t);else if(X(t))for(var m=$(t),x=0;x<m.length;x++)a(l.getData(m[x]),t[m[x]]);c.push(l),_(l).isBlured=!0}}),o.eachComponent(function(l,f){if(l!=="series"){var s=n.getViewOfComponentModel(f);s&&s.toggleBlurSeries&&s.toggleBlurSeries(c,!0,o)}})}}function G(e,t,r){if(!(e==null||t==null)){var n=r.getModel().getComponent(e,t);if(n){_(n).isBlured=!0;var o=r.getViewOfComponentModel(n);!o||!o.focusBlurEnabled||o.group.traverse(function(a){C(a)})}}}function Ne(e,t,r){var n=e.seriesIndex,o=e.getData(t.dataType);if(o){var a=V(o,t);a=(F(a)?a[0]:a)||0;var i=o.getItemGraphicEl(a);if(!i)for(var u=o.count(),c=0;!i&&c<u;)i=o.getItemGraphicEl(c++);if(i){var l=g(i);E(n,l.focus,l.blurScope,r)}else{var f=e.get(["emphasis","focus"]),s=e.get(["emphasis","blurScope"]);f!=null&&E(n,f,s,r)}}}function q(e,t,r,n){var o={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||r==null)return o;var a=n.getModel().getComponent(e,t);if(!a)return o;var i=n.getViewOfComponentModel(a);if(!i||!i.findHighDownDispatchers)return o;for(var u=i.findHighDownDispatchers(r),c,l=0;l<u.length;l++)if(g(u[l]).focus==="self"){c=!0;break}return{focusSelf:c,dispatchers:u}}function Fe(e,t,r){var n=g(e),o=q(n.componentMainType,n.componentIndex,n.componentHighDownName,r),a=o.dispatchers,i=o.focusSelf;a?(i&&G(n.componentMainType,n.componentIndex,r),S(a,function(u){return L(u,t)})):(E(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&G(n.componentMainType,n.componentIndex,r),L(e,t))}function Ve(e,t,r){Se(r);var n=g(e),o=q(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;o?S(o,function(a){return P(a,t)}):P(e,t)}function Me(e,t,r){if(ye(t)){var n=t.dataType,o=e.getData(n),a=V(o,t);F(a)||(a=[a]),e[t.type===R?"toggleSelect":t.type===z?"select":"unselect"](a,n)}}function Ye(e){var t=e.getAllData();S(t,function(r){var n=r.data,o=r.type;n.eachItemGraphicEl(function(a,i){e.isSelected(i,o)?pe(a):ge(a)})})}function ze(e){var t=[];return e.eachSeries(function(r){var n=r.getAllData();S(n,function(o){var a=o.data,i=o.type,u=r.getSelectedDataIndices();if(u.length>0){var c={dataIndex:u,seriesIndex:r.seriesIndex};i!=null&&(c.dataType=i),t.push(c)}})}),t}function de(e,t,r){J(e,!0),v(e,he),De(e,t,r)}function xe(e){J(e,!1)}function Re(e,t,r,n){n?xe(e):de(e,t,r)}function De(e,t,r){var n=g(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var k=["emphasis","blur","select"],me={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Ue(e,t,r,n){r=r||"itemStyle";for(var o=0;o<k.length;o++){var a=k[o],i=t.getModel([a,r]),u=e.ensureState(a);u.style=n?n(i):i[me[r]]()}}function J(e,t){var r=t===!1,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function We(e){return!!(e&&e.__highDownDispatcher)}function Ze(e,t,r){var n=g(e);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=r}function je(e){var t=B[e];return t==null&&b<=32&&(t=B[e]=b++),t}function ye(e){var t=e.type;return t===z||t===ae||t===R}function qe(e){var t=e.type;return t===ne||t===oe}function Je(e){var t=Y(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}export{be as DISPLAY_STATES,oe as DOWNPLAY_ACTION_TYPE,ne as HIGHLIGHT_ACTION_TYPE,O as HOVER_STATE_BLUR,w as HOVER_STATE_EMPHASIS,T as HOVER_STATE_NORMAL,z as SELECT_ACTION_TYPE,Be as SELECT_CHANGED_EVENT_TYPE,He as SPECIAL_STATES,R as TOGGLE_SELECT_ACTION_TYPE,ae as UNSELECT_ACTION_TYPE,te as Z2_EMPHASIS_LIFT,re as Z2_SELECT_LIFT,Se as allLeaveBlur,G as blurComponent,E as blurSeries,Ne as blurSeriesFromHighlightPayload,Le as clearStates,xe as disableHoverEmphasis,Ze as enableComponentHighDownFeatures,de as enableHoverEmphasis,De as enableHoverFocus,ke as enterBlur,Pe as enterEmphasis,L as enterEmphasisWhenMouseOver,pe as enterSelect,q as findComponentHighDownDispatchers,ze as getAllSelectedIndices,je as getHighlightDigit,Ve as handleGlobalMouseOutForHighDown,Fe as handleGlobalMouseOverForHighDown,We as isHighDownDispatcher,qe as isHighDownPayload,ye as isSelectChangePayload,ve as leaveBlur,Ge as leaveEmphasis,P as leaveEmphasisWhenMouseOut,ge as leaveSelect,Je as savePathStates,J as setAsHighDownDispatcher,he as setDefaultStateProxy,Ae as setStatesFlag,Ue as setStatesStylesFromModel,Re as toggleHoverEmphasis,Me as toggleSelectionFromPayload,Ye as updateSeriesElementSelection};
|
|
3
|
+
//# sourceMappingURL=states.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/styleCompat */
|
|
2
|
+
import{each as w,hasOwn as o}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import f from"../visual/tokens.mjs";function B(e,t,d,n){return e&&(e.legacy||e.legacy!==!1&&!d&&!n&&t!=="tspan"&&(t==="text"||o(e,"text")))}function k(e,t,d){var n=e,l,x,a;if(t==="text")a=n;else{a={},o(n,"text")&&(a.text=n.text),o(n,"rich")&&(a.rich=n.rich),o(n,"textFill")&&(a.fill=n.textFill),o(n,"textStroke")&&(a.stroke=n.textStroke),o(n,"fontFamily")&&(a.fontFamily=n.fontFamily),o(n,"fontSize")&&(a.fontSize=n.fontSize),o(n,"fontStyle")&&(a.fontStyle=n.fontStyle),o(n,"fontWeight")&&(a.fontWeight=n.fontWeight),x={type:"text",style:a,silent:!0},l={};var i=o(n,"textPosition");d?l.position=i?n.textPosition:"inside":i&&(l.position=n.textPosition),o(n,"textPosition")&&(l.position=n.textPosition),o(n,"textOffset")&&(l.offset=n.textOffset),o(n,"textRotation")&&(l.rotation=n.textRotation),o(n,"textDistance")&&(l.distance=n.textDistance)}return r(a,e),w(a.rich,function(s){r(s,s)}),{textConfig:l,textContent:x}}function r(e,t){t&&(t.font=t.textFont||t.font,o(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),o(t,"textAlign")&&(e.align=t.textAlign),o(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),o(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),o(t,"textWidth")&&(e.width=t.textWidth),o(t,"textHeight")&&(e.height=t.textHeight),o(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),o(t,"textPadding")&&(e.padding=t.textPadding),o(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),o(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),o(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),o(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),o(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),o(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),o(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function C(e,t,d){var n=e;n.textPosition=n.textPosition||d.position||"inside",d.offset!=null&&(n.textOffset=d.offset),d.rotation!=null&&(n.textRotation=d.rotation),d.distance!=null&&(n.textDistance=d.distance);var l=n.textPosition.indexOf("inside")>=0,x=e.fill||f.color.neutral99;S(n,t);var a=n.textFill==null;return l?a&&(n.textFill=d.insideFill||f.color.neutral00,!n.textStroke&&d.insideStroke&&(n.textStroke=d.insideStroke),!n.textStroke&&(n.textStroke=x),n.textStrokeWidth==null&&(n.textStrokeWidth=2)):(a&&(n.textFill=e.fill||d.outsideFill||f.color.neutral00),!n.textStroke&&d.outsideStroke&&(n.textStroke=d.outsideStroke)),n.text=t.text,n.rich=t.rich,w(t.rich,function(i){S(i,i)}),n}function S(e,t){t&&(o(t,"fill")&&(e.textFill=t.fill),o(t,"stroke")&&(e.textStroke=t.fill),o(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),o(t,"font")&&(e.font=t.font),o(t,"fontStyle")&&(e.fontStyle=t.fontStyle),o(t,"fontWeight")&&(e.fontWeight=t.fontWeight),o(t,"fontSize")&&(e.fontSize=t.fontSize),o(t,"fontFamily")&&(e.fontFamily=t.fontFamily),o(t,"align")&&(e.textAlign=t.align),o(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),o(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),o(t,"width")&&(e.textWidth=t.width),o(t,"height")&&(e.textHeight=t.height),o(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),o(t,"padding")&&(e.textPadding=t.padding),o(t,"borderColor")&&(e.textBorderColor=t.borderColor),o(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),o(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),o(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),o(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),o(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),o(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),o(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),o(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),o(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),o(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}function O(e,t){if(0)var d}export{k as convertFromEC4CompatibleStyle,C as convertToEC4StyleForCustomSerise,B as isEC4CompatibleStyle,O as warnDeprecated};
|
|
3
|
+
//# sourceMappingURL=styleCompat.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/symbol */
|
|
2
|
+
import{each as y,isArray as T,retrieve2 as M}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as c from"./graphic.mjs";import w from"/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs";import{calculateTextPosition as C}from"/zrender@6.0.0/es2022/lib/contain/text.mjs";import{parsePercent as m}from"./number.mjs";import R from"../visual/tokens.mjs";var k=c.Path.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(i,n){var r=n.cx,e=n.cy,t=n.width/2,a=n.height/2;i.moveTo(r,e-a),i.lineTo(r+t,e+a),i.lineTo(r-t,e+a),i.closePath()}}),B=c.Path.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(i,n){var r=n.cx,e=n.cy,t=n.width/2,a=n.height/2;i.moveTo(r,e-a),i.lineTo(r+t,e),i.lineTo(r,e+a),i.lineTo(r-t,e),i.closePath()}}),L=c.Path.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(i,n){var r=n.x,e=n.y,t=n.width/5*3,a=Math.max(t,n.height),o=t/2,d=o*o/(a-o),h=e-a+o+d,v=Math.asin(d/o),u=Math.cos(v)*o,f=Math.sin(v),x=Math.cos(v),g=o*.6,P=o*.7;i.moveTo(r-u,h+d),i.arc(r,h,o,Math.PI-v,Math.PI*2+v),i.bezierCurveTo(r+u-f*g,h+d+x*g,r,e-P,r,e),i.bezierCurveTo(r,e-P,r-u+f*g,h+d+x*g,r-u,h+d),i.closePath()}}),_=c.Path.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(i,n){var r=n.height,e=n.width,t=n.x,a=n.y,o=e/3*2;i.moveTo(t,a),i.lineTo(t+o,a+r),i.lineTo(t,a+r/4*3),i.lineTo(t-o,a+r),i.lineTo(t,a),i.closePath()}}),E={line:c.Line,rect:c.Rect,roundRect:c.Rect,square:c.Rect,circle:c.Circle,diamond:B,pin:L,arrow:_,triangle:k},I={line:function(i,n,r,e,t){t.x1=i,t.y1=n+e/2,t.x2=i+r,t.y2=n+e/2},rect:function(i,n,r,e,t){t.x=i,t.y=n,t.width=r,t.height=e},roundRect:function(i,n,r,e,t){t.x=i,t.y=n,t.width=r,t.height=e,t.r=Math.min(r,e)/4},square:function(i,n,r,e,t){var a=Math.min(r,e);t.x=i,t.y=n,t.width=a,t.height=a},circle:function(i,n,r,e,t){t.cx=i+r/2,t.cy=n+e/2,t.r=Math.min(r,e)/2},diamond:function(i,n,r,e,t){t.cx=i+r/2,t.cy=n+e/2,t.width=r,t.height=e},pin:function(i,n,r,e,t){t.x=i+r/2,t.y=n+e/2,t.width=r,t.height=e},arrow:function(i,n,r,e,t){t.x=i+r/2,t.y=n+e/2,t.width=r,t.height=e},triangle:function(i,n,r,e,t){t.cx=i+r/2,t.cy=n+e/2,t.width=r,t.height=e}},l={};y(E,function(i,n){l[n]=new i});var q=c.Path.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(i,n,r){var e=C(i,n,r),t=this.shape;return t&&t.symbolType==="pin"&&n.position==="inside"&&(e.y=r.y+r.height*.4),e},buildPath:function(i,n,r){var e=n.symbolType;if(e!=="none"){var t=l[e];t||(e="rect",t=l[e]),I[e](n.x,n.y,n.width,n.height,t.shape),t.buildPath(i,t.shape,r)}}});function z(i,n){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=i,r.fill=n||R.color.neutral00,r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=i:r.fill=i,this.markRedraw()}}function j(i,n,r,e,t,a,o){var d=i.indexOf("empty")===0;d&&(i=i.substr(5,1).toLowerCase()+i.substr(6));var h;return i.indexOf("image://")===0?h=c.makeImage(i.slice(8),new w(n,r,e,t),o?"center":"cover"):i.indexOf("path://")===0?h=c.makePath(i.slice(7),{},new w(n,r,e,t),o?"center":"cover"):h=new q({shape:{symbolType:i,x:n,y:r,width:e,height:t}}),h.__isEmptyBrush=d,h.setColor=z,a&&h.setColor(a),h}function F(i){return T(i)||(i=[+i,+i]),[i[0]||0,i[1]||0]}function G(i,n){if(i!=null)return T(i)||(i=[i,i]),[m(i[0],n[0])||0,m(M(i[1],i[0]),n[1])||0]}export{j as createSymbol,G as normalizeSymbolOffset,F as normalizeSymbolSize,l as symbolBuildProxies};
|
|
3
|
+
//# sourceMappingURL=symbol.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/time */
|
|
2
|
+
import*as s from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as x from"./number.mjs";import{getDefaultLocaleModel as L,getLocaleModel as _,SYSTEM_LANG as q}from"../core/locale.mjs";import T from"../model/Model.mjs";import{getScaleBreakHelper as P}from"../scale/break.mjs";var W=1e3,k=W*60,R=k*60,j=R*24,le=j*365,B={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},Q="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",g="{yyyy}-{MM}-{dd}",ue={year:"{yyyy}",month:"{yyyy}-{MM}",day:g,hour:g+" "+p.hour,minute:g+" "+p.minute,second:g+" "+p.second,millisecond:Q},S=["year","month","day","hour","minute","second","millisecond"],se=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ie(e){return!s.isString(e)&&!s.isFunction(e)?V(e):e}function V(e){e=e||{};var a={},r=!0;return s.each(S,function(i){r&&(r=e[i]==null)}),s.each(S,function(i,o){var l=e[i];a[i]={};for(var t=null,c=o;c>=0;c--){var u=S[c],m=s.isObject(l)&&!s.isArray(l)?l[u]:l,n=void 0;s.isArray(m)?(n=m.slice(),t=n[0]||""):s.isString(m)?(t=m,n=[t]):(t==null?t=p[i]:B[u].test(t)||(t=a[u][u][0]+" "+t),n=[t],r&&(n[1]="{primary|"+t+"}")),a[i][u]=n}}),a}function d(e,a){return e+="","0000".substr(0,a-e.length)+e}function J(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function me(e){return e===J(e)}function ce(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function K(e,a,r,i){var o=x.parseDate(e),l=o[Z(r)](),t=o[N(r)]()+1,c=Math.floor((t-1)/3)+1,u=o[F(r)](),m=o["get"+(r?"UTC":"")+"Day"](),n=o[b(r)](),y=(n-1)%12+1,v=o[D(r)](),f=o[z(r)](),h=o[U(r)](),H=n>=12?"pm":"am",Y=H.toUpperCase(),A=i instanceof T?i:_(i||q)||L(),M=A.getModel("time"),E=M.get("month"),G=M.get("monthAbbr"),O=M.get("dayOfWeek"),w=M.get("dayOfWeekAbbr");return(a||"").replace(/{a}/g,H+"").replace(/{A}/g,Y+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,d(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,E[t-1]).replace(/{MMM}/g,G[t-1]).replace(/{MM}/g,d(t,2)).replace(/{M}/g,t+"").replace(/{dd}/g,d(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,O[m]).replace(/{ee}/g,w[m]).replace(/{e}/g,m+"").replace(/{HH}/g,d(n,2)).replace(/{H}/g,n+"").replace(/{hh}/g,d(y+"",2)).replace(/{h}/g,y+"").replace(/{mm}/g,d(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,d(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,d(h,3)).replace(/{S}/g,h+"")}function de(e,a,r,i,o){var l=null;if(s.isString(r))l=r;else if(s.isFunction(r)){var t={time:e.time,level:e.time.level},c=P();c&&c.makeAxisLabelFormatterParamBreak(t,e.break),l=r(e.value,a,t)}else{var u=e.time;if(u){var m=r[u.lowerTimeUnit][u.upperTimeUnit];l=m[Math.min(u.level,m.length-1)]||""}else{var n=X(e.value,o);l=r[n][n][0]}}return K(new Date(e.value),l,o,i)}function X(e,a){var r=x.parseDate(e),i=r[N(a)]()+1,o=r[F(a)](),l=r[b(a)](),t=r[D(a)](),c=r[z(a)](),u=r[U(a)](),m=u===0,n=m&&c===0,y=n&&t===0,v=y&&l===0,f=v&&o===1,h=f&&i===1;return h?"year":f?"month":v?"day":y?"hour":n?"minute":m?"second":"millisecond"}function ye(e,a,r){switch(a){case"year":e[$(r)](0);case"month":e[C(r)](1);case"day":e[I(r)](0);case"hour":e[ee(r)](0);case"minute":e[re(r)](0);case"second":e[te(r)](0)}return e}function Z(e){return e?"getUTCFullYear":"getFullYear"}function N(e){return e?"getUTCMonth":"getMonth"}function F(e){return e?"getUTCDate":"getDate"}function b(e){return e?"getUTCHours":"getHours"}function D(e){return e?"getUTCMinutes":"getMinutes"}function z(e){return e?"getUTCSeconds":"getSeconds"}function U(e){return e?"getUTCMilliseconds":"getMilliseconds"}function ve(e){return e?"setUTCFullYear":"setFullYear"}function $(e){return e?"setUTCMonth":"setMonth"}function C(e){return e?"setUTCDate":"setDate"}function I(e){return e?"setUTCHours":"setHours"}function ee(e){return e?"setUTCMinutes":"setMinutes"}function re(e){return e?"setUTCSeconds":"setSeconds"}function te(e){return e?"setUTCMilliseconds":"setMilliseconds"}export{j as ONE_DAY,R as ONE_HOUR,k as ONE_MINUTE,W as ONE_SECOND,le as ONE_YEAR,F as dateGetterName,C as dateSetterName,K as format,ue as fullLeveledFormatter,Z as fullYearGetterName,ve as fullYearSetterName,ce as getDefaultFormatPrecisionOfInterval,J as getPrimaryTimeUnit,X as getUnitFromValue,b as hoursGetterName,I as hoursSetterName,me as isPrimaryTimeUnit,de as leveledFormat,U as millisecondsGetterName,te as millisecondsSetterName,D as minutesGetterName,ee as minutesSetterName,N as monthGetterName,$ as monthSetterName,d as pad,ie as parseTimeAxisLabelFormatter,S as primaryTimeUnits,ye as roundTime,z as secondsGetterName,re as secondsSetterName,se as timeUnits};
|
|
3
|
+
//# sourceMappingURL=time.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/types */
|
|
2
|
+
import{createHashMap as r}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var R=r(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),o="original",O="arrayRows",_="objectRows",a="keyedColumns",t="typedArray",S="unknown",p="column",A="row";export{p as SERIES_LAYOUT_BY_COLUMN,A as SERIES_LAYOUT_BY_ROW,O as SOURCE_FORMAT_ARRAY_ROWS,a as SOURCE_FORMAT_KEYED_COLUMNS,_ as SOURCE_FORMAT_OBJECT_ROWS,o as SOURCE_FORMAT_ORIGINAL,t as SOURCE_FORMAT_TYPED_ARRAY,S as SOURCE_FORMAT_UNKNOWN,R as VISUAL_DIMENSIONS};
|
|
3
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/util/vendor */
|
|
2
|
+
import{isArray as a}from"/zrender@6.0.0/es2022/lib/core/util.mjs";var t=typeof Float32Array<"u",o=t?Float32Array:Array;function y(r){return a(r)?t?new Float32Array(r):r:new o(r)}export{y as createFloat32Array};
|
|
3
|
+
//# sourceMappingURL=vendor.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/view/Chart */
|
|
2
|
+
import{each as g}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import v from"/zrender@6.0.0/es2022/lib/graphic/Group.mjs";import*as c from"../util/component.mjs";import*as p from"../util/clazz.mjs";import*as a from"../util/model.mjs";import{enterEmphasis as y,leaveEmphasis as M,getHighlightDigit as w,isHighDownDispatcher as E}from"../util/states.mjs";import{createTask as U}from"../core/task.mjs";import T from"../chart/helper/createRenderPlanner.mjs";import{traverseElements as D}from"../util/graphic.mjs";import"../util/log.mjs";var f=a.makeInner(),k=T(),s=function(){function r(){this.group=new v,this.uid=c.getUID("viewChart"),this.renderTask=U({plan:z,reset:R}),this.renderTask.context={view:this}}return r.prototype.init=function(e,i){},r.prototype.render=function(e,i,o,t){},r.prototype.highlight=function(e,i,o,t){var n=e.getData(t&&t.dataType);n&&h(n,t,"emphasis")},r.prototype.downplay=function(e,i,o,t){var n=e.getData(t&&t.dataType);n&&h(n,t,"normal")},r.prototype.remove=function(e,i){this.group.removeAll()},r.prototype.dispose=function(e,i){},r.prototype.updateView=function(e,i,o,t){this.render(e,i,o,t)},r.prototype.updateLayout=function(e,i,o,t){this.render(e,i,o,t)},r.prototype.updateVisual=function(e,i,o,t){this.render(e,i,o,t)},r.prototype.eachRendered=function(e){D(this.group,e)},r.markUpdateMethod=function(e,i){f(e).updateMethod=i},r.protoInitialize=function(){var e=r.prototype;e.type="chart"}(),r}();function u(r,e,i){r&&E(r)&&(e==="emphasis"?y:M)(r,i)}function h(r,e,i){var o=a.queryDataIndex(r,e),t=e&&e.highlightKey!=null?w(e.highlightKey):null;o!=null?g(a.normalizeToArray(o),function(n){u(r.getItemGraphicEl(n),i,t)}):r.eachItemGraphicEl(function(n){u(n,i,t)})}p.enableClassExtend(s,["dispose"]);p.enableClassManagement(s);function z(r){return k(r.model)}function R(r){var e=r.model,i=r.ecModel,o=r.api,t=r.payload,n=e.pipelineContext.progressiveRender,m=r.view,d=t&&f(t).updateMethod,l=n?"incrementalPrepareRender":d&&m[d]?d:"render";return l!=="render"&&m[l](e,i,o,t),I[l]}var I={incrementalPrepareRender:{progress:function(r,e){e.view.incrementalRender(r,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(r,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_=s;export{_ as default};
|
|
3
|
+
//# sourceMappingURL=Chart.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/view/Component */
|
|
2
|
+
import r from"/zrender@6.0.0/es2022/lib/graphic/Group.mjs";import*as l from"../util/component.mjs";import*as i from"../util/clazz.mjs";var a=function(){function o(){this.group=new r,this.uid=l.getUID("viewComponent")}return o.prototype.init=function(t,e){},o.prototype.render=function(t,e,p,n){},o.prototype.dispose=function(t,e){},o.prototype.updateView=function(t,e,p,n){},o.prototype.updateLayout=function(t,e,p,n){},o.prototype.updateVisual=function(t,e,p,n){},o.prototype.toggleBlurSeries=function(t,e,p){},o.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},o}();i.enableClassExtend(a);i.enableClassManagement(a);var u=a;export{u as default};
|
|
3
|
+
//# sourceMappingURL=Component.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/VisualMapping */
|
|
2
|
+
import*as o from"/zrender@6.0.0/es2022/lib/core/util.mjs";import*as u from"/zrender@6.0.0/es2022/lib/tool/color.mjs";import{linearMap as m}from"../util/number.mjs";import"../util/log.mjs";var z=o.each,P=o.isObject,v=-1,x=function(){function n(r){var i=r.mappingMethod,t=r.type,a=this.option=o.clone(r);this.type=t,this.mappingMethod=i,this._normalizeData=D[i];var e=n.visualHandlers[t];this.applyVisual=e.applyVisual,this.getColorMapper=e.getColorMapper,this._normalizedToVisual=e._normalizedToVisual[i],i==="piecewise"?(b(a),T(a)):i==="category"?a.categories?A(a):b(a,!0):(o.assert(i!=="linear"||a.dataExtent),b(a))}return n.prototype.mapValueToVisual=function(r){var i=this._normalizeData(r);return this._normalizedToVisual(i,r)},n.prototype.getNormalizer=function(){return o.bind(this._normalizeData,this)},n.listVisualTypes=function(){return o.keys(n.visualHandlers)},n.isValidType=function(r){return n.visualHandlers.hasOwnProperty(r)},n.eachVisual=function(r,i,t){o.isObject(r)?o.each(r,i,t):i.call(t,r)},n.mapVisual=function(r,i,t){var a,e=o.isArray(r)?[]:o.isObject(r)?{}:(a=!0,null);return n.eachVisual(r,function(l,c){var s=i.call(t,l,c);a?e=s:e[c]=s}),e},n.retrieveVisuals=function(r){var i={},t;return r&&z(n.visualHandlers,function(a,e){r.hasOwnProperty(e)&&(i[e]=r[e],t=!0)}),t?i:null},n.prepareVisualTypes=function(r){if(o.isArray(r))r=r.slice();else if(P(r)){var i=[];z(r,function(t,a){i.push(a)}),r=i}else return[];return r.sort(function(t,a){return a==="color"&&t!=="color"&&t.indexOf("color")===0?1:-1}),r},n.dependsOn=function(r,i){return i==="color"?!!(r&&r.indexOf(i)===0):r===i},n.findPieceIndex=function(r,i,t){for(var a,e=1/0,l=0,c=i.length;l<c;l++){var s=i[l].value;if(s!=null){if(s===r||o.isString(s)&&s===r+"")return l;t&&U(s,l)}}for(var l=0,c=i.length;l<c;l++){var w=i[l],f=w.interval,g=w.close;if(f){if(f[0]===-1/0){if(y(g[1],r,f[1]))return l}else if(f[1]===1/0){if(y(g[0],f[0],r))return l}else if(y(g[0],f[0],r)&&y(g[1],r,f[1]))return l;t&&U(f[0],l),t&&U(f[1],l)}}if(t)return r===1/0?i.length-1:r===-1/0?0:a;function U(H,L){var I=Math.abs(H-r);I<e&&(e=I,a=L)}},n.visualHandlers={color:{applyVisual:h("color"),getColorMapper:function(){var r=this.option;return o.bind(r.mappingMethod==="category"?function(i,t){return!t&&(i=this._normalizeData(i)),d.call(this,i)}:function(i,t,a){var e=!!a;return!t&&(i=this._normalizeData(i)),a=u.fastLerp(i,r.parsedVisual,a),e?a:u.stringify(a,"rgba")},this)},_normalizedToVisual:{linear:function(r){return u.stringify(u.fastLerp(r,this.option.parsedVisual),"rgba")},category:d,piecewise:function(r,i){var t=M.call(this,i);return t==null&&(t=u.stringify(u.fastLerp(r,this.option.parsedVisual),"rgba")),t},fixed:p}},colorHue:V(function(r,i){return u.modifyHSL(r,i)}),colorSaturation:V(function(r,i){return u.modifyHSL(r,null,i)}),colorLightness:V(function(r,i){return u.modifyHSL(r,null,null,i)}),colorAlpha:V(function(r,i){return u.modifyAlpha(r,i)}),decal:{applyVisual:h("decal"),_normalizedToVisual:{linear:null,category:d,piecewise:null,fixed:null}},opacity:{applyVisual:h("opacity"),_normalizedToVisual:C([0,1])},liftZ:{applyVisual:h("liftZ"),_normalizedToVisual:{linear:p,category:p,piecewise:p,fixed:p}},symbol:{applyVisual:function(r,i,t){var a=this.mapValueToVisual(r);t("symbol",a)},_normalizedToVisual:{linear:S,category:d,piecewise:function(r,i){var t=M.call(this,i);return t==null&&(t=S.call(this,r)),t},fixed:p}},symbolSize:{applyVisual:h("symbolSize"),_normalizedToVisual:C([0,1])}},n}();function T(n){var r=n.pieceList;n.hasSpecialVisual=!1,o.each(r,function(i,t){i.originIndex=t,i.visual!=null&&(n.hasSpecialVisual=!0)})}function A(n){var r=n.categories,i=n.categoryMap={},t=n.visual;if(z(r,function(l,c){i[l]=c}),!o.isArray(t)){var a=[];o.isObject(t)?z(t,function(l,c){var s=i[c];a[s??v]=l}):a[v]=t,t=_(n,a)}for(var e=r.length-1;e>=0;e--)t[e]==null&&(delete i[r[e]],r.pop())}function b(n,r){var i=n.visual,t=[];o.isObject(i)?z(i,function(e){t.push(e)}):i!=null&&t.push(i);var a={color:1,symbol:1};!r&&t.length===1&&!a.hasOwnProperty(n.type)&&(t[1]=t[0]),_(n,t)}function V(n){return{applyVisual:function(r,i,t){var a=this.mapValueToVisual(r);t("color",n(i("color"),a))},_normalizedToVisual:C([0,1])}}function S(n){var r=this.option.visual;return r[Math.round(m(n,[0,1],[0,r.length-1],!0))]||{}}function h(n){return function(r,i,t){t(n,this.mapValueToVisual(r))}}function d(n){var r=this.option.visual;return r[this.option.loop&&n!==v?n%r.length:n]}function p(){return this.option.visual[0]}function C(n){return{linear:function(r){return m(r,n,this.option.visual,!0)},category:d,piecewise:function(r,i){var t=M.call(this,i);return t==null&&(t=m(r,n,this.option.visual,!0)),t},fixed:p}}function M(n){var r=this.option,i=r.pieceList;if(r.hasSpecialVisual){var t=x.findPieceIndex(n,i),a=i[t];if(a&&a.visual)return a.visual[this.type]}}function _(n,r){return n.visual=r,n.type==="color"&&(n.parsedVisual=o.map(r,function(i){var t=u.parse(i);return t||[0,0,0,1]})),r}var D={linear:function(n){return m(n,this.option.dataExtent,[0,1],!0)},piecewise:function(n){var r=this.option.pieceList,i=x.findPieceIndex(n,r,!0);if(i!=null)return m(i,[0,r.length-1],[0,1],!0)},category:function(n){var r=this.option.categories?this.option.categoryMap[n]:n;return r??v},fixed:o.noop};function y(n,r,i){return n?r<=i:r<i}var j=x;export{j as default};
|
|
3
|
+
//# sourceMappingURL=VisualMapping.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/aria */
|
|
2
|
+
import*as a from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{makeInner as J}from"../util/model.mjs";import{getDecalFromPalette as I}from"../model/mixin/palette.mjs";var K={label:{enabled:!0},decal:{show:!1}},A=J(),Q={};function W(l,F){var d=l.getModel("aria");if(!d.get("enabled"))return;var b=a.clone(K);a.merge(b.label,l.getLocaleModel().get("aria"),!1),a.merge(d.option,b,!1),O(),R();function O(){var r=d.getModel("decal"),g=r.get("show");if(g){var e=a.createHashMap();l.eachSeries(function(t){if(!t.isColorBySeries()){var i=e.get(t.type);i||(i={},e.set(t.type,i)),A(t).scope=i}}),l.eachRawSeries(function(t){if(l.isSeriesFiltered(t))return;if(a.isFunction(t.enableAriaDecal)){t.enableAriaDecal();return}var i=t.getData();if(t.isColorBySeries()){var C=I(t.ecModel,t.name,Q,l.getSeriesCount()),z=i.getVisual("decal");i.setVisual("decal",x(z,C))}else{var p=t.getRawData(),D={},v=A(t).scope;i.each(function(n){var u=i.getRawIndex(n);D[u]=n});var U=p.count();p.each(function(n){var u=D[n],f=p.getName(n)||n+"",o=I(t.ecModel,f,v,U),S=i.getItemVisual(u,"decal");i.setItemVisual(u,"decal",x(S,o))})}function x(n,u){var f=n?a.extend(a.extend({},u),n):u;return f.dirty=!0,f}})}}function R(){var r=F.getZr().dom;if(r){var g=l.getLocaleModel().get("aria"),e=d.getModel("label");if(e.option=a.defaults(e.option,g),!!e.get("enabled")){if(r.setAttribute("role","img"),e.get("description")){r.setAttribute("aria-label",e.get("description"));return}var t=l.getSeriesCount(),i=e.get(["data","maxCount"])||10,p=e.get(["series","maxCount"])||10,D=Math.min(t,p),v;if(!(t<1)){var U=j();if(U){var C=e.get(["general","withTitle"]);v=m(C,{title:U})}else v=e.get(["general","withoutTitle"]);var z=[],x=t>1?e.get(["series","multiple","prefix"]):e.get(["series","single","prefix"]);v+=m(x,{seriesCount:t}),l.eachSeries(function(o,S){if(S<D){var c=void 0,E=o.get("name"),w=E?"withName":"withoutName";c=t>1?e.get(["series","multiple",w]):e.get(["series","single",w]),c=m(c,{seriesId:o.seriesIndex,seriesName:o.get("name"),seriesType:P(o.subType)});var h=o.getData();if(h.count()>i){var k=e.get(["data","partialData"]);c+=m(k,{displayCnt:i})}else c+=e.get(["data","allData"]);for(var y=e.get(["data","separator","middle"]),B=e.get(["data","separator","end"]),N=e.get(["data","excludeDimensionId"]),T=[],s=0;s<h.count();s++)if(s<i){var V=h.getName(s),H=N?a.filter(h.getValues(s),function(X,q){return a.indexOf(N,q)===-1}):h.getValues(s),Z=e.get(["data",V?"withName":"withoutName"]);T.push(m(Z,{name:V,value:H.join(y)}))}c+=T.join(y)+B,z.push(c)}});var n=e.getModel(["series","multiple","separator"]),u=n.get("middle"),f=n.get("end");v+=z.join(u)+f,r.setAttribute("aria-label",v)}}}}function m(r,g){if(!a.isString(r))return r;var e=r;return a.each(g,function(t,i){e=e.replace(new RegExp("\\{\\s*"+i+"\\s*\\}","g"),t)}),e}function j(){var r=l.get("title");return r&&r.length&&(r=r[0]),r&&r.text}function P(r){var g=l.getLocaleModel().get(["series","typeNames"]);return g[r]||g.chart}}export{W as default};
|
|
3
|
+
//# sourceMappingURL=aria.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/decal */
|
|
2
|
+
import{createOrUpdatePatternFromDecal as u}from"../util/decal.mjs";function f(e,t){e.eachRawSeries(function(r){if(!e.isSeriesFiltered(r)){var a=r.getData();a.hasItemVisual()&&a.each(function(l){var c=a.getItemVisual(l,"decal");if(c){var n=a.ensureUniqueItemVisual(l,"style");n.decal=u(c,t)}});var i=a.getVisual("decal");if(i){var s=a.getVisual("style");s.decal=u(i,t)}}})}export{f as default};
|
|
3
|
+
//# sourceMappingURL=decal.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/helper */
|
|
2
|
+
function l(e,s,t){switch(t){case"color":var o=e.getItemVisual(s,"style");return o[e.getVisual("drawType")];case"opacity":return e.getItemVisual(s,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(s,t);default:}}function r(e,s){switch(s){case"color":var t=e.getVisual("style");return t[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(s);default:}}function c(e,s,t,o){switch(t){case"color":var i=e.ensureUniqueItemVisual(s,"style");i[e.getVisual("drawType")]=o,e.setItemVisual(s,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(s,"style").opacity=o;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(s,t,o);break;default:}}export{l as getItemVisualFromData,r as getVisualFromData,c as setItemVisualFromData};
|
|
3
|
+
//# sourceMappingURL=helper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/style */
|
|
2
|
+
import{isFunction as S,extend as P,createHashMap as F}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import h from"../model/mixin/makeStyleMapper.mjs";import{ITEM_STYLE_KEY_MAP as T}from"../model/mixin/itemStyle.mjs";import{LINE_STYLE_KEY_MAP as A}from"../model/mixin/lineStyle.mjs";import D from"../model/Model.mjs";import{makeInner as E}from"../util/model.mjs";var k=E(),w={itemStyle:h(T,!0),lineStyle:h(A,!0)},K={lineStyle:"stroke",itemStyle:"fill"};function I(e,r){var t=e.visualStyleMapper||w[r];return t||(console.warn("Unknown style type '"+r+"'."),w.itemStyle)}function V(e,r){var t=e.visualDrawType||K[r];return t||(console.warn("Unknown style type '"+r+"'."),"fill")}var L={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,r){var t=e.getData(),l=e.visualStyleAccessPath||"itemStyle",u=e.getModel(l),o=I(e,l),a=o(u),c=u.getShallow("decal");c&&(t.setVisual("decal",c),c.dirty=!0);var i=V(e,l),n=a[i],v=S(n)?n:null,s=a.fill==="auto"||a.stroke==="auto";if(!a[i]||v||s){var y=e.getColorFromPalette(e.name,null,r.getSeriesCount());a[i]||(a[i]=y,t.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||S(a.fill)?y:a.fill,a.stroke=a.stroke==="auto"||S(a.stroke)?y:a.stroke}if(t.setVisual("style",a),t.setVisual("drawType",i),!r.isSeriesFiltered(e)&&v)return t.setVisual("colorFromPalette",!1),{dataEach:function(p,m){var C=e.getDataParams(m),g=P({},a);g[i]=v(C),p.setItemVisual(m,"style",g)}}}},f=new D,b={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,r){if(!(e.ignoreStyleOnData||r.isSeriesFiltered(e))){var t=e.getData(),l=e.visualStyleAccessPath||"itemStyle",u=I(e,l),o=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(a,c){var i=a.getRawDataItem(c);if(i&&i[l]){f.option=i[l];var n=u(f),v=a.ensureUniqueItemVisual(c,"style");P(v,n),f.option.decal&&(a.setItemVisual(c,"decal",f.option.decal),f.option.decal.dirty=!0),o in n&&a.setItemVisual(c,"colorFromPalette",!1)}}:null}}}},q={performRawSeries:!0,overallReset:function(e){var r=F();e.eachSeries(function(t){var l=t.getColorBy();if(!t.isColorBySeries()){var u=t.type+"-"+l,o=r.get(u);o||(o={},r.set(u,o)),k(t).scope=o}}),e.eachSeries(function(t){if(!(t.isColorBySeries()||e.isSeriesFiltered(t))){var l=t.getRawData(),u={},o=t.getData(),a=k(t).scope,c=t.visualStyleAccessPath||"itemStyle",i=V(t,c);o.each(function(n){var v=o.getRawIndex(n);u[v]=n}),l.each(function(n){var v=u[n],s=o.getItemVisual(v,"colorFromPalette");if(s){var y=o.ensureUniqueItemVisual(v,"style"),p=l.getName(n)||n+"",m=l.count();y[i]=t.getColorFromPalette(p,a,m)}})}})}};export{q as dataColorPaletteTask,b as dataStyleTask,L as seriesStyleTask};
|
|
3
|
+
//# sourceMappingURL=style.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/tokens */
|
|
2
|
+
import{extend as l}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{modifyHSL as c}from"/zrender@6.0.0/es2022/lib/tool/color.mjs";var n={color:{},darkColor:{},size:{}},a=n.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};l(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05});for(e in a)a.hasOwnProperty(e)&&(t=a[e],e==="theme"?n.darkColor.theme=a.theme.slice():e==="highlight"?n.darkColor.highlight="rgba(255,231,130,0.4)":e.indexOf("accent")===0?n.darkColor[e]=c(t,null,function(r){return r*.5},function(r){return Math.min(1,1.3-r)}):n.darkColor[e]=c(t,null,function(r){return r*.9},function(r){return 1-Math.pow(r,1.5)}));var t,e;n.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var d=n;export{d as default};
|
|
3
|
+
//# sourceMappingURL=tokens.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/visualDefault */
|
|
2
|
+
import*as t from"/zrender@6.0.0/es2022/lib/core/util.mjs";import o from"./tokens.mjs";var r={get:function(e,a,c){var i=t.clone((n[e]||{})[a]);return c&&t.isArray(i)?i[i.length-1]:i}},n={color:{active:["#006edd","#e0ffff"],inactive:[o.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},l=r;export{l as default};
|
|
3
|
+
//# sourceMappingURL=visualDefault.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/visual/visualSolution */
|
|
2
|
+
import*as f from"/zrender@6.0.0/es2022/lib/core/util.mjs";import z from"./VisualMapping.mjs";import{getItemVisualFromData as D,setItemVisualFromData as T}from"./helper.mjs";var _=f.each;function w(i){if(i){for(var a in i)if(i.hasOwnProperty(a))return!0}}function R(i,a,t){var u={};return _(a,function(n){var o=u[n]=e();_(i[n],function(l,c){if(z.isValidType(c)){var p={type:c,visual:l};t&&t(p,n),o[c]=new z(p),c==="opacity"&&(p=f.clone(p),p.type="colorAlpha",o.__hidden.__alphaForOpacity=new z(p))}})}),u;function e(){var n=function(){};n.prototype.__hidden=n.prototype;var o=new n;return o}}function C(i,a,t){var u;f.each(t,function(e){a.hasOwnProperty(e)&&w(a[e])&&(u=!0)}),u&&f.each(t,function(e){a.hasOwnProperty(e)&&w(a[e])?i[e]=f.clone(a[e]):delete i[e]})}function K(i,a,t,u,e,n){var o={};f.each(i,function(r){var s=z.prepareVisualTypes(a[r]);o[r]=s});var l;function c(r){return D(t,l,r)}function p(r,s){T(t,l,r,s)}n==null?t.each(U):t.each([n],U);function U(r,s){l=n==null?r:s;var h=t.getRawDataItem(l);if(!(h&&h.visualMap===!1))for(var g=u.call(e,r),V=a[g],m=o[g],v=0,y=m.length;v<y;v++){var x=m[v];V[x]&&V[x].applyVisual(r,c,p)}}}function S(i,a,t,u){var e={};return f.each(i,function(n){var o=z.prepareVisualTypes(a[n]);e[n]=o}),{progress:function(o,l){var c;u!=null&&(c=l.getDimensionIndex(u));function p(I){return D(l,r,I)}function U(I,F){T(l,r,I,F)}for(var r,s=l.getStore();(r=o.next())!=null;){var h=l.getRawDataItem(r);if(!(h&&h.visualMap===!1))for(var g=u!=null?s.get(c,r):r,V=t(g),m=a[V],v=e[V],y=0,x=v.length;y<x;y++){var M=v[y];m[M]&&m[M].applyVisual(g,p,U)}}}}}export{K as applyVisual,R as createVisualMappings,S as incrementalApplyVisual,C as replaceVisualOption};
|
|
3
|
+
//# sourceMappingURL=visualSolution.mjs.map
|
package/gl-matrix@^3.3.0
ADDED
package/gl-matrix@^3.4.3
ADDED
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/Element */
|
|
2
|
+
import W,{TRANSFORMABLE_PROPS as Y}from"./core/Transformable.mjs";import X,{cloneValue as b}from"./animation/Animator.mjs";import B from"./core/BoundingRect.mjs";import j from"./core/Eventful.mjs";import{calculateTextPosition as K,parsePercent as V}from"./contain/text.mjs";import{guid as k,isObject as F,keys as q,extend as C,indexOf as P,logError as tt,mixin as J,isArrayLike as R,isTypedArray as it,isGradientObject as rt,filter as U,reduce as et}from"./core/util.mjs";import{LIGHT_LABEL_COLOR as ot,DARK_LABEL_COLOR as nt}from"./config.mjs";import{parse as st,stringify as at}from"./tool/color.mjs";import{REDRAW_BIT as E}from"./graphic/constants.mjs";import{invert as ht}from"./core/matrix.mjs";var z="__zr_normal__",D=Y.concat(["ignore"]),ft=et(Y,function(e,t){return e[t]=!0,e},{ignore:!1}),w={},ut=new B(0,0,0,0),L=[],Z=function(){function e(t){this.id=k(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,i,r){switch(this.draggable){case"horizontal":i=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=i,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var i=this._textContent;if(i&&(!i.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,o=i.innerTransformable,s=void 0,h=void 0,a=!1;o.parent=n?this:null;var v=!1;o.copyTransform(i);var f=r.position!=null,l=r.autoOverflowArea,u=void 0;if((l||f)&&(u=ut,r.layoutRect?u.copy(r.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform)),f){this.calculateTextPosition?this.calculateTextPosition(w,r,u):K(w,r,u),o.x=w.x,o.y=w.y,s=w.align,h=w.verticalAlign;var g=r.origin;if(g&&r.rotation!=null){var m=void 0,c=void 0;g==="center"?(m=u.width*.5,c=u.height*.5):(m=V(g[0],u.width),c=V(g[1],u.height)),v=!0,o.originX=-o.x+m+(n?0:u.x),o.originY=-o.y+c+(n?0:u.y)}}r.rotation!=null&&(o.rotation=r.rotation);var T=r.offset;T&&(o.x+=T[0],o.y+=T[1],v||(o.originX=-T[0],o.originY=-T[1]));var p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(l){var x=p.overflowRect=p.overflowRect||new B(0,0,0,0);o.getLocalTransform(L),ht(L,L),B.copy(x,u),x.applyTransform(L)}else p.overflowRect=null;var S=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,_=void 0,d=void 0,y=void 0;S&&this.canBeInsideText()?(_=r.insideFill,d=r.insideStroke,(_==null||_==="auto")&&(_=this.getInsideTextFill()),(d==null||d==="auto")&&(d=this.getInsideTextStroke(_),y=!0)):(_=r.outsideFill,d=r.outsideStroke,(_==null||_==="auto")&&(_=this.getOutsideFill()),(d==null||d==="auto")&&(d=this.getOutsideStroke(_),y=!0)),_=_||"#000",(_!==p.fill||d!==p.stroke||y!==p.autoStroke||s!==p.align||h!==p.verticalAlign)&&(a=!0,p.fill=_,p.stroke=d,p.autoStroke=y,p.align=s,p.verticalAlign=h,i.setDefaultTextStyle(p)),i.__dirty|=E,a&&i.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?ot:nt},e.prototype.getOutsideStroke=function(t){var i=this.__zr&&this.__zr.getBackgroundColor(),r=typeof i=="string"&&st(i);r||(r=[255,255,255,1]);for(var n=r[3],o=this.__zr.isDarkMode(),s=0;s<3;s++)r[s]=r[s]*n+(o?0:255)*(1-n);return r[3]=1,at(r,"rgba")},e.prototype.traverse=function(t,i){},e.prototype.attrKV=function(t,i){t==="textConfig"?this.setTextConfig(i):t==="textContent"?this.setTextContent(i):t==="clipPath"?this.setClipPath(i):t==="extra"?(this.extra=this.extra||{},C(this.extra,i)):this[t]=i},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,i){if(typeof t=="string")this.attrKV(t,i);else if(F(t))for(var r=t,n=q(r),o=0;o<n.length;o++){var s=n[o];this.attrKV(s,t[s])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var i=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],o=n.__fromStateTransition;if(!(n.getLoop()||o&&o!==z)){var s=n.targetName,h=s?i[s]:i;n.saveTo(h)}}},e.prototype._innerSaveToNormal=function(t){var i=this._normalState;i||(i=this._normalState={}),t.textConfig&&!i.textConfig&&(i.textConfig=this.textConfig),this._savePrimaryToNormal(t,i,D)},e.prototype._savePrimaryToNormal=function(t,i,r){for(var n=0;n<r.length;n++){var o=r[n];t[o]!=null&&!(o in i)&&(i[o]=this[o])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var i=this.states;return i[t]||(i[t]={}),i[t]},e.prototype.clearStates=function(t){this.useState(z,!1,t)},e.prototype.useState=function(t,i,r,n){var o=t===z,s=this.hasState();if(!(!s&&o)){var h=this.currentStates,a=this.stateTransition;if(!(P(h,t)>=0&&(i||h.length===1))){var v;if(this.stateProxy&&!o&&(v=this.stateProxy(t)),v||(v=this.states&&this.states[t]),!v&&!o){tt("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(v);var f=!!(v&&v.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,v,this._normalState,i,!r&&!this.__inHover&&a&&a.duration>0,a);var l=this._textContent,u=this._textGuide;return l&&l.useState(t,i,r,f),u&&u.useState(t,i,r,f),o?(this.currentStates=[],this._normalState={}):i?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~E),v}}},e.prototype.useStates=function(t,i,r){if(!t.length)this.clearStates();else{var n=[],o=this.currentStates,s=t.length,h=s===o.length;if(h){for(var a=0;a<s;a++)if(t[a]!==o[a]){h=!1;break}}if(h)return;for(var a=0;a<s;a++){var v=t[a],f=void 0;this.stateProxy&&(f=this.stateProxy(v,t)),f||(f=this.states[v]),f&&n.push(f)}var l=n[s-1],u=!!(l&&l.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0);var g=this._mergeStates(n),m=this.stateTransition;this.saveCurrentToNormalState(g),this._applyStateObj(t.join(","),g,this._normalState,!1,!i&&!this.__inHover&&m&&m.duration>0,m);var c=this._textContent,T=this._textGuide;c&&c.useStates(t,i,u),T&&T.useStates(t,i,u),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~E)}},e.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var i=t.__hostTarget;t=i?t.ignoreHostSilent?null:i:t.parent}return!1},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var i=this.animators[t];i.targetName&&i.changeTarget(this[i.targetName])}},e.prototype.removeState=function(t){var i=P(this.currentStates,t);if(i>=0){var r=this.currentStates.slice();r.splice(i,1),this.useStates(r)}},e.prototype.replaceState=function(t,i,r){var n=this.currentStates.slice(),o=P(n,t),s=P(n,i)>=0;o>=0?s?n.splice(o,1):n[o]=i:r&&!s&&n.push(i),this.useStates(n)},e.prototype.toggleState=function(t,i){i?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var i={},r,n=0;n<t.length;n++){var o=t[n];C(i,o),o.textConfig&&(r=r||{},C(r,o.textConfig))}return r&&(i.textConfig=r),i},e.prototype._applyStateObj=function(t,i,r,n,o,s){var h=!(i&&n);i&&i.textConfig?(this.textConfig=C({},n?this.textConfig:r.textConfig),C(this.textConfig,i.textConfig)):h&&r.textConfig&&(this.textConfig=r.textConfig);for(var a={},v=!1,f=0;f<D.length;f++){var l=D[f],u=o&&ft[l];i&&i[l]!=null?u?(v=!0,a[l]=i[l]):this[l]=i[l]:h&&r[l]!=null&&(u?(v=!0,a[l]=r[l]):this[l]=r[l])}if(!o)for(var f=0;f<this.animators.length;f++){var g=this.animators[f],m=g.targetName;g.getLoop()||g.__changeFinalValue(m?(i||r)[m]:i||r)}v&&this._transitionState(t,a,s)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var i=this.__zr;i&&t.addSelfToZr(i),t.__zr=i,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var i=this._textContent;i!==t&&(i&&i!==t&&this.removeTextContent(),t.innerTransformable=new W,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),C(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=E;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var i=this._textContent,r=this._textGuide;i&&(i.__inHover=t),r&&(r.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var i=this.animators;if(i)for(var r=0;r<i.length;r++)t.animation.addAnimator(i[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var i=this.animators;if(i)for(var r=0;r<i.length;r++)t.animation.removeAnimator(i[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,i,r){var n=t?this[t]:this,o=new X(n,i,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},e.prototype.addAnimator=function(t,i){var r=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(i)}).done(function(){var o=n.animators,s=P(o,t);s>=0&&o.splice(s,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,i){for(var r=this.animators,n=r.length,o=[],s=0;s<n;s++){var h=r[s];!t||t===h.scope?h.stop(i):o.push(h)}return this.animators=o,this},e.prototype.animateTo=function(t,i,r){H(this,t,i,r)},e.prototype.animateFrom=function(t,i,r){H(this,t,i,r,!0)},e.prototype._transitionState=function(t,i,r,n){for(var o=H(this,i,r,n),s=0;s<o.length;s++)o[s].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.ignoreHostSilent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=E;var i={};function r(o,s,h){i[o+s+h]||(console.warn("DEPRECATED: '"+o+"' has been deprecated. use '"+s+"', '"+h+"' instead"),i[o+s+h]=!0)}function n(o,s,h,a){Object.defineProperty(t,o,{get:function(){if(!this[s]){var f=this[s]=[];v(this,f)}return this[s]},set:function(f){this[h]=f[0],this[a]=f[1],this[s]=f,v(this,f)}});function v(f,l){Object.defineProperty(l,0,{get:function(){return f[h]},set:function(u){f[h]=u}}),Object.defineProperty(l,1,{get:function(){return f[a]},set:function(u){f[a]=u}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();J(Z,j);J(Z,W);function H(e,t,i,r,n){i=i||{};var o=[];Q(e,"",e,t,i,r,o,n);var s=o.length,h=!1,a=i.done,v=i.aborted,f=function(){h=!0,s--,s<=0&&(h?a&&a():v&&v())},l=function(){s--,s<=0&&(h?a&&a():v&&v())};s||a&&a(),o.length>0&&i.during&&o[0].during(function(m,c){i.during(c)});for(var u=0;u<o.length;u++){var g=o[u];f&&g.done(f),l&&g.aborted(l),i.force&&g.duration(i.duration),g.start(i.easing)}return o}function I(e,t,i){for(var r=0;r<i;r++)e[r]=t[r]}function pt(e){return R(e[0])}function vt(e,t,i){if(R(t[i]))if(R(e[i])||(e[i]=[]),it(t[i])){var r=t[i].length;e[i].length!==r&&(e[i]=new t[i].constructor(r),I(e[i],t[i],r))}else{var n=t[i],o=e[i],s=n.length;if(pt(n))for(var h=n[0].length,a=0;a<s;a++)o[a]?I(o[a],n[a],h):o[a]=Array.prototype.slice.call(n[a]);else I(o,n,s);o.length=n.length}else e[i]=t[i]}function lt(e,t){return e===t||R(e)&&R(t)&&_t(e,t)}function _t(e,t){var i=e.length;if(i!==t.length)return!1;for(var r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function Q(e,t,i,r,n,o,s,h){for(var a=q(r),v=n.duration,f=n.delay,l=n.additive,u=n.setToFinal,g=!F(o),m=e.animators,c=[],T=0;T<a.length;T++){var p=a[T],x=r[p];if(x!=null&&i[p]!=null&&(g||o[p]))if(F(x)&&!R(x)&&!rt(x)){if(t){h||(i[p]=x,e.updateDuringAnimation(t));continue}Q(e,p,i[p],x,n,o&&o[p],s,h)}else c.push(p);else h||(i[p]=x,e.updateDuringAnimation(t),c.push(p))}var S=c.length;if(!l&&S)for(var _=0;_<m.length;_++){var d=m[_];if(d.targetName===t){var y=d.stopTracks(c);if(y){var $=P(m,d);m.splice($,1)}}}if(n.force||(c=U(c,function(M){return!lt(r[M],i[M])}),S=c.length),S>0||n.force&&!s.length){var A=void 0,N=void 0,G=void 0;if(h){N={},u&&(A={});for(var _=0;_<S;_++){var p=c[_];N[p]=i[p],u?A[p]=r[p]:i[p]=r[p]}}else if(u){G={};for(var _=0;_<S;_++){var p=c[_];G[p]=b(i[p]),vt(i,r,p)}}var d=new X(i,!1,!1,l?U(m,function(O){return O.targetName===t}):null);d.targetName=t,n.scope&&(d.scope=n.scope),u&&A&&d.whenWithKeys(0,A,c),G&&d.whenWithKeys(0,G,c),d.whenWithKeys(v??500,h?N:r,c).delay(f||0),e.addAnimator(d,t),s.push(d)}}var Pt=Z;export{z as PRESERVED_NORMAL_STATE,Pt as default};
|
|
3
|
+
//# sourceMappingURL=Element.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/Handler */
|
|
2
|
+
import{__extends as _}from"/tslib@2.3.0/es2022/tslib.mjs";import*as m from"./core/util.mjs";import*as w from"./core/vector.mjs";import X from"./mixin/Draggable.mjs";import T from"./core/Eventful.mjs";import*as E from"./core/event.mjs";import{GestureMgr as Y}from"./core/GestureMgr.mjs";import z from"./core/BoundingRect.mjs";var H="silent";function O(a,o,t){return{type:a,event:t,target:o.target,topTarget:o.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:R}}function R(){E.stop(this.event)}var D=function(a){_(o,a);function o(){var t=a!==null&&a.apply(this,arguments)||this;return t.handler=null,t}return o.prototype.dispose=function(){},o.prototype.setCursor=function(){},o}(T),c=function(){function a(o,t){this.x=o,this.y=t}return a}(),L=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=new z(0,0,0,0),b=function(a){_(o,a);function o(t,r,s,n,i){var e=a.call(this)||this;return e._hovered=new c(0,0),e.storage=t,e.painter=r,e.painterRoot=n,e._pointerSize=i,s=s||new D,e.proxy=null,e.setHandlerProxy(s),e._draggingMgr=new X(e),e}return o.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(m.each(L,function(r){t.on&&t.on(r,this[r],this)},this),t.handler=this),this.proxy=t},o.prototype.mousemove=function(t){var r=t.zrX,s=t.zrY,n=P(this,r,s),i=this._hovered,e=i.target;e&&!e.__zr&&(i=this.findHover(i.x,i.y),e=i.target);var u=this._hovered=n?new c(r,s):this.findHover(r,s),h=u.target,f=this.proxy;f.setCursor&&f.setCursor(h?h.cursor:"default"),e&&h!==e&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(u,"mousemove",t),h&&h!==e&&this.dispatchToElement(u,"mouseover",t)},o.prototype.mouseout=function(t){var r=t.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},o.prototype.resize=function(){this._hovered=new c(0,0)},o.prototype.dispatch=function(t,r){var s=this[t];s&&s.call(this,r)},o.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},o.prototype.setCursorStyle=function(t){var r=this.proxy;r.setCursor&&r.setCursor(t)},o.prototype.dispatchToElement=function(t,r,s){t=t||{};var n=t.target;if(!(n&&n.silent)){for(var i="on"+r,e=O(r,t,s);n&&(n[i]&&(e.cancelBubble=!!n[i].call(n,e)),n.trigger(r,e),n=n.__hostTarget?n.__hostTarget:n.parent,!e.cancelBubble););e.cancelBubble||(this.trigger(r,e),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[i]=="function"&&u[i].call(u,e),u.trigger&&u.trigger(r,e)}))}},o.prototype.findHover=function(t,r,s){var n=this.storage.getDisplayList(),i=new c(t,r);if(y(n,i,t,r,s),this._pointerSize&&!i.target){for(var e=[],u=this._pointerSize,h=u/2,f=new z(t-h,r-h,u,u),v=n.length-1;v>=0;v--){var p=n[v];p!==s&&!p.ignore&&!p.ignoreCoarsePointer&&(!p.parent||!p.parent.ignoreCoarsePointer)&&(d.copy(p.getBoundingRect()),p.transform&&d.applyTransform(p.transform),d.intersect(f)&&e.push(p))}if(e.length)for(var C=4,x=Math.PI/12,M=Math.PI*2,l=0;l<h;l+=C)for(var g=0;g<M;g+=x){var k=t+l*Math.cos(g),B=r+l*Math.sin(g);if(y(e,i,k,B,s),i.target)return i}}return i},o.prototype.processGesture=function(t,r){this._gestureMgr||(this._gestureMgr=new Y);var s=this._gestureMgr;r==="start"&&s.clear();var n=s.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(r==="end"&&s.clear(),n){var i=n.type;t.gestureEvent=i;var e=new c;e.target=n.target,this.dispatchToElement(e,i,n.event)}},o}(T);m.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){b.prototype[a]=function(o){var t=o.zrX,r=o.zrY,s=P(this,t,r),n,i;if((a!=="mouseup"||!s)&&(n=this.findHover(t,r),i=n.target),a==="mousedown")this._downEl=i,this._downPoint=[o.zrX,o.zrY],this._upEl=i;else if(a==="mouseup")this._upEl=i;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||w.dist(this._downPoint,[o.zrX,o.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,a,o)}});function S(a,o,t){if(a[a.rectHover?"rectContain":"contain"](o,t)){for(var r=a,s=void 0,n=!1;r;){if(r.ignoreClip&&(n=!0),!n){var i=r.getClipPath();if(i&&!i.contain(o,t))return!1}r.silent&&(s=!0);var e=r.__hostTarget;r=e?r.ignoreHostSilent?null:e:r.parent}return s?H:!0}return!1}function y(a,o,t,r,s){for(var n=a.length-1;n>=0;n--){var i=a[n],e=void 0;if(i!==s&&!i.ignore&&(e=S(i,t,r))&&(!o.topTarget&&(o.topTarget=i),e!==H)){o.target=i;break}}}function P(a,o,t){var r=a.painter;return o<0||o>r.getWidth()||t<0||t>r.getHeight()}var A=b;export{A as default};
|
|
3
|
+
//# sourceMappingURL=Handler.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/Storage */
|
|
2
|
+
import*as A from"./core/util.mjs";import m from"./core/timsort.mjs";import{REDRAW_BIT as D}from"./graphic/constants.mjs";var g=!1;function h(){g||(g=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function c(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var R=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=c}return r.prototype.traverse=function(t,i){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(t,i)},r.prototype.getDisplayList=function(t,i){i=i||!1;var s=this._displayList;return(t||!s.length)&&this.updateDisplayList(i),s},r.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var i=this._roots,s=this._displayList,o=0,l=i.length;o<l;o++)this._updateAndAddDisplayable(i[o],null,t);s.length=this._displayListLen,m(s,c)},r.prototype._updateAndAddDisplayable=function(t,i,s){if(!(t.ignore&&!s)){t.beforeUpdate(),t.update(),t.afterUpdate();var o=t.getClipPath(),l=i&&i.length,p=0,e=t.__clipPaths;if(!t.ignoreClip&&(l||o)){if(e||(e=t.__clipPaths=[]),l)for(var d=0;d<i.length;d++)e[p++]=i[d];for(var a=o,_=t;a;)a.parent=_,a.updateTransform(),e[p++]=a,_=a,a=a.getClipPath()}if(e&&(e.length=p),t.childrenRef){for(var y=t.childrenRef(),f=0;f<y.length;f++){var u=y[f];t.__dirty&&(u.__dirty|=D),this._updateAndAddDisplayable(u,e,s)}t.__dirty=0}else{var n=t;isNaN(n.z)&&(h(),n.z=0),isNaN(n.z2)&&(h(),n.z2=0),isNaN(n.zlevel)&&(h(),n.zlevel=0),this._displayList[this._displayListLen++]=n}var v=t.getDecalElement&&t.getDecalElement();v&&this._updateAndAddDisplayable(v,e,s);var L=t.getTextGuideLine();L&&this._updateAndAddDisplayable(L,e,s);var z=t.getTextContent();z&&this._updateAndAddDisplayable(z,e,s)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var i=0,s=t.length;i<s;i++)this.delRoot(t[i]);return}var o=A.indexOf(this._roots,t);o>=0&&this._roots.splice(o,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),N=R;export{N as default};
|
|
3
|
+
//# sourceMappingURL=Storage.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/animation/Animation */
|
|
2
|
+
import{__extends as h}from"/tslib@2.3.0/es2022/tslib.mjs";import f from"../core/Eventful.mjs";import u from"./requestAnimationFrame.mjs";import m from"./Animator.mjs";function r(){return new Date().getTime()}var _=function(s){h(i,s);function i(t){var e=s.call(this)||this;return e._running=!1,e._time=0,e._pausedTime=0,e._pauseStart=0,e._paused=!1,t=t||{},e.stage=t.stage||{},e}return i.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},i.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},i.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},i.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},i.prototype.update=function(t){for(var e=r()-this._pausedTime,n=e-this._time,a=this._head;a;){var o=a.next,p=a.step(e,n);p&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},i.prototype._startLoop=function(){var t=this;this._running=!0;function e(){t._running&&(u(e),!t._paused&&t.update())}u(e)},i.prototype.start=function(){this._running||(this._time=r(),this._pausedTime=0,this._startLoop())},i.prototype.stop=function(){this._running=!1},i.prototype.pause=function(){this._paused||(this._pauseStart=r(),this._paused=!0)},i.prototype.resume=function(){this._paused&&(this._pausedTime+=r()-this._pauseStart,this._paused=!1)},i.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},i.prototype.isFinished=function(){return this._head==null},i.prototype.animate=function(t,e){e=e||{},this.start();var n=new m(t,e.loop);return this.addAnimator(n),n},i}(f),y=_;export{y as default,r as getTime};
|
|
3
|
+
//# sourceMappingURL=Animation.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/animation/Animator */
|
|
2
|
+
import Z from"./Clip.mjs";import*as L from"../tool/color.mjs";import{eqNaN as $,extend as w,isArrayLike as R,isFunction as H,isGradientObject as V,isNumber as D,isString as j,keys as q,logError as tt,map as M}from"../core/util.mjs";import et from"./easing.mjs";import{createCubicEasingFunc as rt}from"./cubicEasing.mjs";import{isLinearGradient as it,isRadialGradient as st}from"../svg/helper.mjs";var P=Array.prototype.slice;function y(i,t,r){return(t-i)*r+i}function N(i,t,r,e){for(var s=t.length,a=0;a<s;a++)i[a]=y(t[a],r[a],e);return i}function at(i,t,r,e){for(var s=t.length,a=s&&t[0].length,o=0;o<s;o++){i[o]||(i[o]=[]);for(var n=0;n<a;n++)i[o][n]=y(t[o][n],r[o][n],e)}return i}function C(i,t,r,e){for(var s=t.length,a=0;a<s;a++)i[a]=t[a]+r[a]*e;return i}function B(i,t,r,e){for(var s=t.length,a=s&&t[0].length,o=0;o<s;o++){i[o]||(i[o]=[]);for(var n=0;n<a;n++)i[o][n]=t[o][n]+r[o][n]*e}return i}function nt(i,t){for(var r=i.length,e=t.length,s=r>e?t:i,a=Math.min(r,e),o=s[a-1]||{color:[0,0,0,0],offset:0},n=a;n<Math.max(r,e);n++)s.push({offset:o.offset,color:o.color.slice()})}function ot(i,t,r){var e=i,s=t;if(!(!e.push||!s.push)){var a=e.length,o=s.length;if(a!==o){var n=a>o;if(n)e.length=o;else for(var h=a;h<o;h++)e.push(r===1?s[h]:P.call(s[h]))}for(var l=e[0]&&e[0].length,h=0;h<e.length;h++)if(r===1)isNaN(e[h])&&(e[h]=s[h]);else for(var f=0;f<l;f++)isNaN(e[h][f])&&(e[h][f]=s[h][f])}}function K(i){if(R(i)){var t=i.length;if(R(i[0])){for(var r=[],e=0;e<t;e++)r.push(P.call(i[e]));return r}return P.call(i)}return i}function x(i){return i[0]=Math.floor(i[0])||0,i[1]=Math.floor(i[1])||0,i[2]=Math.floor(i[2])||0,i[3]=i[3]==null?1:i[3],"rgba("+i.join(",")+")"}function ft(i){return R(i&&i[0])?2:1}var F=0,S=1,Q=2,b=3,U=4,Y=5,z=6;function J(i){return i===U||i===Y}function E(i){return i===S||i===Q}var k=[0,0,0,0],ht=function(){function i(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return i.prototype.isFinished=function(){return this._finished},i.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},i.prototype.needsAnimate=function(){return this.keyframes.length>=1},i.prototype.getAdditiveTrack=function(){return this._additiveTrack},i.prototype.addKeyframe=function(t,r,e){this._needsSort=!0;var s=this.keyframes,a=s.length,o=!1,n=z,h=r;if(R(r)){var l=ft(r);n=l,(l===1&&!D(r[0])||l===2&&!D(r[0][0]))&&(o=!0)}else if(D(r)&&!$(r))n=F;else if(j(r))if(!isNaN(+r))n=F;else{var f=L.parse(r);f&&(h=f,n=b)}else if(V(r)){var _=w({},h);_.colorStops=M(r.colorStops,function(u){return{offset:u.offset,color:L.parse(u.color)}}),it(r)?n=U:st(r)&&(n=Y),h=_}a===0?this.valType=n:(n!==this.valType||n===z)&&(o=!0),this.discrete=this.discrete||o;var d={time:t,value:h,rawValue:r,percent:0};return e&&(d.easing=e,d.easingFunc=H(e)?e:et[e]||rt(e)),s.push(d),d},i.prototype.prepare=function(t,r){var e=this.keyframes;this._needsSort&&e.sort(function(g,p){return g.time-p.time});for(var s=this.valType,a=e.length,o=e[a-1],n=this.discrete,h=E(s),l=J(s),f=0;f<a;f++){var _=e[f],d=_.value,u=o.value;_.percent=_.time/t,n||(h&&f!==a-1?ot(d,u,s):l&&nt(d.colorStops,u.colorStops))}if(!n&&s!==Y&&r&&this.needsAnimate()&&r.needsAnimate()&&s===r.valType&&!r._finished){this._additiveTrack=r;for(var v=e[0].value,f=0;f<a;f++)s===F?e[f].additiveValue=e[f].value-v:s===b?e[f].additiveValue=C([],e[f].value,v,-1):E(s)&&(e[f].additiveValue=s===S?C([],e[f].value,v,-1):B([],e[f].value,v,-1))}},i.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var e=this._additiveTrack!=null,s=e?"additiveValue":"value",a=this.valType,o=this.keyframes,n=o.length,h=this.propName,l=a===b,f,_=this._lastFr,d=Math.min,u,v;if(n===1)u=v=o[0];else{if(r<0)f=0;else if(r<this._lastFrP){var g=d(_+1,n-1);for(f=g;f>=0&&!(o[f].percent<=r);f--);f=d(f,n-2)}else{for(f=_;f<n&&!(o[f].percent>r);f++);f=d(f-1,n-2)}v=o[f+1],u=o[f]}if(u&&v){this._lastFr=f,this._lastFrP=r;var p=v.percent-u.percent,c=p===0?1:d((r-u.percent)/p,1);v.easingFunc&&(c=v.easingFunc(c));var T=e?this._additiveValue:l?k:t[h];if((E(a)||l)&&!T&&(T=this._additiveValue=[]),this.discrete)t[h]=c<1?u.rawValue:v.rawValue;else if(E(a))a===S?N(T,u[s],v[s],c):at(T,u[s],v[s],c);else if(J(a)){var A=u[s],m=v[s],G=a===U;t[h]={type:G?"linear":"radial",x:y(A.x,m.x,c),y:y(A.y,m.y,c),colorStops:M(A.colorStops,function(O,X){var W=m.colorStops[X];return{offset:y(O.offset,W.offset,c),color:x(N([],O.color,W.color,c))}}),global:m.global},G?(t[h].x2=y(A.x2,m.x2,c),t[h].y2=y(A.y2,m.y2,c)):t[h].r=y(A.r,m.r,c)}else if(l)N(T,u[s],v[s],c),e||(t[h]=x(T));else{var I=y(u[s],v[s],c);e?this._additiveValue=I:t[h]=I}e&&this._addToTarget(t)}}},i.prototype._addToTarget=function(t){var r=this.valType,e=this.propName,s=this._additiveValue;r===F?t[e]=t[e]+s:r===b?(L.parse(t[e],k),C(k,k,s,1),t[e]=x(k)):r===S?C(t[e],t[e],s,1):r===Q&&B(t[e],t[e],s,1)},i}(),lt=function(){function i(t,r,e,s){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&s){tt("Can' use additive animation on looped animation.");return}this._additiveAnimators=s,this._allowDiscrete=e}return i.prototype.getMaxTime=function(){return this._maxTime},i.prototype.getDelay=function(){return this._delay},i.prototype.getLoop=function(){return this._loop},i.prototype.getTarget=function(){return this._target},i.prototype.changeTarget=function(t){this._target=t},i.prototype.when=function(t,r,e){return this.whenWithKeys(t,r,q(r),e)},i.prototype.whenWithKeys=function(t,r,e,s){for(var a=this._tracks,o=0;o<e.length;o++){var n=e[o],h=a[n];if(!h){h=a[n]=new ht(n);var l=void 0,f=this._getAdditiveTrack(n);if(f){var _=f.keyframes,d=_[_.length-1];l=d&&d.value,f.valType===b&&l&&(l=x(l))}else l=this._target[n];if(l==null)continue;t>0&&h.addKeyframe(0,K(l),s),this._trackKeys.push(n)}h.addKeyframe(t,K(r[n]),s)}return this._maxTime=Math.max(this._maxTime,t),this},i.prototype.pause=function(){this._clip.pause(),this._paused=!0},i.prototype.resume=function(){this._clip.resume(),this._paused=!1},i.prototype.isPaused=function(){return!!this._paused},i.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},i.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,e=0;e<r;e++)t[e].call(this)},i.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var e=0;e<r.length;e++)r[e].call(this)},i.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,e=0;e<r.length;e++)t[r[e]].setFinished()},i.prototype._getAdditiveTrack=function(t){var r,e=this._additiveAnimators;if(e)for(var s=0;s<e.length;s++){var a=e[s].getTrack(t);a&&(r=a)}return r},i.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,e=[],s=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],n=this._tracks[o],h=this._getAdditiveTrack(o),l=n.keyframes,f=l.length;if(n.prepare(s,h),n.needsAnimate())if(!this._allowDiscrete&&n.discrete){var _=l[f-1];_&&(r._target[n.propName]=_.rawValue),n.setFinished()}else e.push(n)}if(e.length||this._force){var d=new Z({life:s,loop:this._loop,delay:this._delay||0,onframe:function(u){r._started=2;var v=r._additiveAnimators;if(v){for(var g=!1,p=0;p<v.length;p++)if(v[p]._clip){g=!0;break}g||(r._additiveAnimators=null)}for(var p=0;p<e.length;p++)e[p].step(r._target,u);var c=r._onframeCbs;if(c)for(var p=0;p<c.length;p++)c[p](r._target,u)},ondestroy:function(){r._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},i.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},i.prototype.delay=function(t){return this._delay=t,this},i.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},i.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},i.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},i.prototype.getClip=function(){return this._clip},i.prototype.getTrack=function(t){return this._tracks[t]},i.prototype.getTracks=function(){var t=this;return M(this._trackKeys,function(r){return t._tracks[r]})},i.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var e=this._tracks,s=this._trackKeys,a=0;a<t.length;a++){var o=e[t[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var n=!0,a=0;a<s.length;a++)if(!e[s[a]].isFinished()){n=!1;break}return n&&this._abortedCallback(),n},i.prototype.saveTo=function(t,r,e){if(t){r=r||this._trackKeys;for(var s=0;s<r.length;s++){var a=r[s],o=this._tracks[a];if(!(!o||o.isFinished())){var n=o.keyframes,h=n[e?0:n.length-1];h&&(t[a]=K(h.rawValue))}}}},i.prototype.__changeFinalValue=function(t,r){r=r||q(t);for(var e=0;e<r.length;e++){var s=r[e],a=this._tracks[s];if(a){var o=a.keyframes;if(o.length>1){var n=o.pop();a.addKeyframe(n.time,t[s]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},i}(),_t=lt;export{K as cloneValue,_t as default};
|
|
3
|
+
//# sourceMappingURL=Animator.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/animation/cubicEasing */
|
|
2
|
+
import{cubicAt as n,cubicRootAt as b}from"../core/curve.mjs";import{trim as e}from"../core/util.mjs";var o=/cubic-bezier\(([0-9,\.e ]+)\)/;function N(i){var u=i&&o.exec(i);if(u){var r=u[1].split(","),a=+e(r[0]),t=+e(r[1]),v=+e(r[2]),f=+e(r[3]);if(isNaN(a+t+v+f))return;var m=[];return function(c){return c<=0?0:c>=1?1:b(0,a,v,1,c,m)&&n(0,t,f,1,m[0])}}}export{N as createCubicEasingFunc};
|
|
3
|
+
//# sourceMappingURL=cubicEasing.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/animation/easing */
|
|
2
|
+
var i={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return .5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return n===0?0:Math.pow(1024,n-1)},exponentialOut:function(n){return n===1?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var t,r=.1,u=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=u/4):t=u*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/u)))},elasticOut:function(n){var t,r=.1,u=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=u/4):t=u*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/u)+1)},elasticInOut:function(n){var t,r=.1,u=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=u/4):t=u*Math.asin(1/r)/(2*Math.PI),(n*=2)<1?-.5*(r*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/u)):r*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/u)*.5+1)},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return--n*n*((t+1)*n+t)+1},backInOut:function(n){var t=2.5949095;return(n*=2)<1?.5*(n*n*((t+1)*n-t)):.5*((n-=2)*n*((t+1)*n+t)+2)},bounceIn:function(n){return 1-i.bounceOut(1-n)},bounceOut:function(n){return n<.36363636363636365?7.5625*n*n:n<.7272727272727273?7.5625*(n-=.5454545454545454)*n+.75:n<.9090909090909091?7.5625*(n-=.8181818181818182)*n+.9375:7.5625*(n-=.9545454545454546)*n+.984375},bounceInOut:function(n){return n<.5?i.bounceIn(n*2)*.5:i.bounceOut(n*2-1)*.5+.5}},e=i;export{e as default};
|
|
3
|
+
//# sourceMappingURL=easing.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/animation/requestAnimationFrame */
|
|
2
|
+
import e from"../core/env.mjs";var i;i=e.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(n){return setTimeout(n,16)};var t=i;export{t as default};
|
|
3
|
+
//# sourceMappingURL=requestAnimationFrame.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/canvas/dashStyle */
|
|
2
|
+
import{isArray as n,isNumber as u,map as i}from"../core/util.mjs";function e(r,t){return!r||r==="solid"||!(t>0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:u(r)?[r]:n(r)?r:null}function D(r){var t=r.style,s=t.lineDash&&t.lineWidth>0&&e(t.lineDash,t.lineWidth),o=t.lineDashOffset;if(s){var a=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;a&&a!==1&&(s=i(s,function(f){return f/a}),o/=a)}return[s,o]}export{D as getLineDash,e as normalizeLineDash};
|
|
3
|
+
//# sourceMappingURL=dashStyle.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/canvas/graphic */
|
|
2
|
+
import{DEFAULT_COMMON_STYLE as B}from"../graphic/Displayable.mjs";import $ from"../core/PathProxy.mjs";import{createOrUpdateImage as V,isImageReady as j}from"../graphic/helper/image.mjs";import{getCanvasGradient as W,isClipPathChanged as x}from"./helper.mjs";import I from"../graphic/Path.mjs";import c from"../graphic/Image.mjs";import rr from"../graphic/TSpan.mjs";import{RADIAN_TO_DEGREE as ar}from"../core/util.mjs";import{getLineDash as q}from"./dashStyle.mjs";import{REDRAW_BIT as ir,SHAPE_CHANGED_BIT as er}from"../graphic/constants.mjs";import{DEFAULT_FONT as fr}from"../core/platform.mjs";var nr=new $(!0);function D(a){var r=a.stroke;return!(r==null||r==="none"||!(a.lineWidth>0))}function L(a){return typeof a=="string"&&a!=="none"}function P(a){var r=a.fill;return r!=null&&r!=="none"}function M(a,r){if(r.fillOpacity!=null&&r.fillOpacity!==1){var i=a.globalAlpha;a.globalAlpha=r.fillOpacity*r.opacity,a.fill(),a.globalAlpha=i}else a.fill()}function Y(a,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var i=a.globalAlpha;a.globalAlpha=r.strokeOpacity*r.opacity,a.stroke(),a.globalAlpha=i}else a.stroke()}function U(a,r,i){var f=V(r.image,r.__image,i);if(j(f)){var n=a.createPattern(f,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var e=new DOMMatrix;e.translateSelf(r.x||0,r.y||0),e.rotateSelf(0,0,(r.rotation||0)*ar),e.scaleSelf(r.scaleX||1,r.scaleY||1),n.setTransform(e)}return n}}function tr(a,r,i,f){var n,e=D(i),o=P(i),h=i.strokePercent,t=h<1,l=!r.path;(!r.silent||t)&&l&&r.createPathProxy();var v=r.path||nr,u=r.__dirty;if(!f){var d=i.fill,_=i.stroke,C=o&&!!d.colorStops,w=e&&!!_.colorStops,O=o&&!!d.image,A=e&&!!_.image,S=void 0,k=void 0,b=void 0,m=void 0,p=void 0;(C||w)&&(p=r.getBoundingRect()),C&&(S=u?W(a,d,p):r.__canvasFillGradient,r.__canvasFillGradient=S),w&&(k=u?W(a,_,p):r.__canvasStrokeGradient,r.__canvasStrokeGradient=k),O&&(b=u||!r.__canvasFillPattern?U(a,d,r):r.__canvasFillPattern,r.__canvasFillPattern=b),A&&(m=u||!r.__canvasStrokePattern?U(a,_,r):r.__canvasStrokePattern,r.__canvasStrokePattern=m),C?a.fillStyle=S:O&&(b?a.fillStyle=b:o=!1),w?a.strokeStyle=k:A&&(m?a.strokeStyle=m:e=!1)}var H=r.getGlobalScale();v.setScale(H[0],H[1],r.segmentIgnoreThreshold);var T,R;a.setLineDash&&i.lineDash&&(n=q(r),T=n[0],R=n[1]);var F=!0;(l||u&er)&&(v.setDPR(a.dpr),t?v.setContext(null):(v.setContext(a),F=!1),v.reset(),r.buildPath(v,r.shape,f),v.toStatic(),r.pathUpdated()),F&&v.rebuildPath(a,t?h:1),T&&(a.setLineDash(T),a.lineDashOffset=R),f||(i.strokeFirst?(e&&Y(a,i),o&&M(a,i)):(o&&M(a,i),e&&Y(a,i))),T&&a.setLineDash([])}function or(a,r,i){var f=r.__image=V(i.image,r.__image,r,r.onload);if(!(!f||!j(f))){var n=i.x||0,e=i.y||0,o=r.getWidth(),h=r.getHeight(),t=f.width/f.height;if(o==null&&h!=null?o=h*t:h==null&&o!=null?h=o/t:o==null&&h==null&&(o=f.width,h=f.height),i.sWidth&&i.sHeight){var l=i.sx||0,v=i.sy||0;a.drawImage(f,l,v,i.sWidth,i.sHeight,n,e,o,h)}else if(i.sx&&i.sy){var l=i.sx,v=i.sy,u=o-l,d=h-v;a.drawImage(f,l,v,u,d,n,e,o,h)}else a.drawImage(f,n,e,o,h)}}function hr(a,r,i){var f,n=i.text;if(n!=null&&(n+=""),n){a.font=i.font||fr,a.textAlign=i.textAlign,a.textBaseline=i.textBaseline;var e=void 0,o=void 0;a.setLineDash&&i.lineDash&&(f=q(r),e=f[0],o=f[1]),e&&(a.setLineDash(e),a.lineDashOffset=o),i.strokeFirst?(D(i)&&a.strokeText(n,i.x,i.y),P(i)&&a.fillText(n,i.x,i.y)):(P(i)&&a.fillText(n,i.x,i.y),D(i)&&a.strokeText(n,i.x,i.y)),e&&a.setLineDash([])}}var N=["shadowBlur","shadowOffsetX","shadowOffsetY"],y=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function z(a,r,i,f,n){var e=!1;if(!f&&(i=i||{},r===i))return!1;if(f||r.opacity!==i.opacity){s(a,n),e=!0;var o=Math.max(Math.min(r.opacity,1),0);a.globalAlpha=isNaN(o)?B.opacity:o}(f||r.blend!==i.blend)&&(e||(s(a,n),e=!0),a.globalCompositeOperation=r.blend||B.blend);for(var h=0;h<N.length;h++){var t=N[h];(f||r[t]!==i[t])&&(e||(s(a,n),e=!0),a[t]=a.dpr*(r[t]||0))}return(f||r.shadowColor!==i.shadowColor)&&(e||(s(a,n),e=!0),a.shadowColor=r.shadowColor||B.shadowColor),e}function X(a,r,i,f,n){var e=g(r,n.inHover),o=f?null:i&&g(i,n.inHover)||{};if(e===o)return!1;var h=z(a,e,o,f,n);if((f||e.fill!==o.fill)&&(h||(s(a,n),h=!0),L(e.fill)&&(a.fillStyle=e.fill)),(f||e.stroke!==o.stroke)&&(h||(s(a,n),h=!0),L(e.stroke)&&(a.strokeStyle=e.stroke)),(f||e.opacity!==o.opacity)&&(h||(s(a,n),h=!0),a.globalAlpha=e.opacity==null?1:e.opacity),r.hasStroke()){var t=e.lineWidth,l=t/(e.strokeNoScale&&r.getLineScale?r.getLineScale():1);a.lineWidth!==l&&(h||(s(a,n),h=!0),a.lineWidth=l)}for(var v=0;v<y.length;v++){var u=y[v],d=u[0];(f||e[d]!==o[d])&&(h||(s(a,n),h=!0),a[d]=e[d]||u[1])}return h}function vr(a,r,i,f,n){return z(a,g(r,n.inHover),i&&g(i,n.inHover),f,n)}function Q(a,r){var i=r.transform,f=a.dpr||1;i?a.setTransform(f*i[0],f*i[1],f*i[2],f*i[3],f*i[4],f*i[5]):a.setTransform(f,0,0,f,0,0)}function lr(a,r,i){for(var f=!1,n=0;n<a.length;n++){var e=a[n];f=f||e.isZeroArea(),Q(r,e),r.beginPath(),e.buildPath(r,e.shape),r.clip()}i.allClipped=f}function ur(a,r){return a&&r?a[0]!==r[0]||a[1]!==r[1]||a[2]!==r[2]||a[3]!==r[3]||a[4]!==r[4]||a[5]!==r[5]:!(!a&&!r)}var Z=1,G=2,J=3,K=4;function sr(a){var r=P(a),i=D(a);return!(a.lineDash||!(+r^+i)||r&&typeof a.fill!="string"||i&&typeof a.stroke!="string"||a.strokePercent<1||a.strokeOpacity<1||a.fillOpacity<1)}function s(a,r){r.batchFill&&a.fill(),r.batchStroke&&a.stroke(),r.batchFill="",r.batchStroke=""}function g(a,r){return r&&a.__hoverStyle||a.style}function pr(a,r){E(a,r,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function E(a,r,i,f){var n=r.transform;if(!r.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1)){r.__dirty&=~ir,r.__isRendered=!1;return}var e=r.__clipPaths,o=i.prevElClipPaths,h=!1,t=!1;if((!o||x(e,o))&&(o&&o.length&&(s(a,i),a.restore(),t=h=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),e&&e.length&&(s(a,i),a.save(),lr(e,a,i),h=!0),i.prevElClipPaths=e),i.allClipped){r.__isRendered=!1;return}r.beforeBrush&&r.beforeBrush(),r.innerBeforeBrush();var l=i.prevEl;l||(t=h=!0);var v=r instanceof I&&r.autoBatch&&sr(r.style);h||ur(n,l.transform)?(s(a,i),Q(a,r)):v||s(a,i);var u=g(r,i.inHover);r instanceof I?(i.lastDrawType!==Z&&(t=!0,i.lastDrawType=Z),X(a,r,l,t,i),(!v||!i.batchFill&&!i.batchStroke)&&a.beginPath(),tr(a,r,u,v),v&&(i.batchFill=u.fill||"",i.batchStroke=u.stroke||"")):r instanceof rr?(i.lastDrawType!==J&&(t=!0,i.lastDrawType=J),X(a,r,l,t,i),hr(a,r,u)):r instanceof c?(i.lastDrawType!==G&&(t=!0,i.lastDrawType=G),vr(a,r,l,t,i),or(a,r,u)):r.getTemporalDisplayables&&(i.lastDrawType!==K&&(t=!0,i.lastDrawType=K),dr(a,r,i)),v&&f&&s(a,i),r.innerAfterBrush(),r.afterBrush&&r.afterBrush(),i.prevEl=r,r.__dirty=0,r.__isRendered=!0}function dr(a,r,i){var f=r.getDisplayables(),n=r.getTemporalDisplayables();a.save();var e={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover},o,h;for(o=r.getCursor(),h=f.length;o<h;o++){var t=f[o];t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush(),E(a,t,e,o===h-1),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t}for(var l=0,v=n.length;l<v;l++){var t=n[l];t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush(),E(a,t,e,l===v-1),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t}r.clearTemporalDisplayables(),r.notClear=!0,a.restore()}export{E as brush,pr as brushSingle,U as createCanvasPattern};
|
|
3
|
+
//# sourceMappingURL=graphic.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/contain/line */
|
|
2
|
+
function l(a,f,e,s,v,t,n){if(v===0)return!1;var r=v,u=0,o=a;if(n>f+r&&n>s+r||n<f-r&&n<s-r||t>a+r&&t>e+r||t<a-r&&t<e-r)return!1;if(a!==e)u=(f-s)/(a-e),o=(a*s-e*f)/(a-e);else return Math.abs(t-a)<=r/2;var _=u*t-n+o,i=_*_/(u*u+1);return i<=r/2*r/2}export{l as containStroke};
|
|
3
|
+
//# sourceMappingURL=line.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/contain/polygon */
|
|
2
|
+
import i from"./windingLine.mjs";var c=1e-8;function o(a,n){return Math.abs(a-n)<c}function d(a,n,v){var f=0,r=a[0];if(!r)return!1;for(var t=1;t<a.length;t++){var u=a[t];f+=i(r[0],r[1],u[0],u[1],n,v),r=u}var e=a[0];return(!o(r[0],e[0])||!o(r[1],e[1]))&&(f+=i(r[0],r[1],e[0],e[1],n,v)),f!==0}export{d as contain};
|
|
3
|
+
//# sourceMappingURL=polygon.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/contain/quadratic */
|
|
2
|
+
import{quadraticProjectPoint as m}from"../core/curve.mjs";function s(o,a,e,f,u,i,c,t,n){if(c===0)return!1;var r=c;if(n>a+r&&n>f+r&&n>i+r||n<a-r&&n<f-r&&n<i-r||t>o+r&&t>e+r&&t>u+r||t<o-r&&t<e-r&&t<u-r)return!1;var l=m(o,a,e,f,u,i,t,n,null);return l<=r/2}export{s as containStroke};
|
|
3
|
+
//# sourceMappingURL=quadratic.mjs.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/contain/text */
|
|
2
|
+
import T from"../core/BoundingRect.mjs";import f from"../core/LRU.mjs";import{DEFAULT_FONT as b,platformApi as u}from"../core/platform.mjs";function M(e,t){return C(g(t),e)}function g(e){l||(l=new f(100)),e=e||b;var t=l.get(e);return t||(t={font:e,strWidthCache:new f(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:u.measureText("\u56FD",e).width,asciiCharWidth:u.measureText("a",e).width},l.put(e,t)),t}var l;function k(e){if(!(m>=W)){e=e||b;for(var t=[],a=+new Date,r=0;r<=127;r++)t[r]=u.measureText(String.fromCharCode(r),e).width;var i=+new Date-a;return i>16?m=W:i>2&&m++,t}}var m=0,W=5;function R(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=k(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function C(e,t){var a=e.strWidthCache,r=a.get(t);return r==null&&(r=u.measureText(t,e.font).width,a.put(t,r)),r}function v(e,t,a,r){var i=C(g(t),e),p=_(t),s=w(0,i,a),h=L(0,p,r),n=new T(s,h,i,p);return n}function y(e,t,a,r){var i=((e||"")+"").split(`
|
|
3
|
+
`),p=i.length;if(p===1)return v(i[0],t,a,r);for(var s=new T(0,0,0,0),h=0;h<i.length;h++){var n=v(i[h],t,a,r);h===0?s.copy(n):s.union(n)}return s}function w(e,t,a,r){return a==="right"?r?e+=t:e-=t:a==="center"&&(r?e+=t/2:e-=t/2),e}function L(e,t,a,r){return a==="middle"?r?e+=t/2:e-=t/2:a==="bottom"&&(r?e+=t:e-=t),e}function _(e){return g(e).stWideCharWidth}function D(e,t){return u.measureText(e,t)}function x(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function O(e,t,a){var r=t.position||"inside",i=t.distance!=null?t.distance:5,p=a.height,s=a.width,h=p/2,n=a.x,d=a.y,c="left",o="top";if(r instanceof Array)n+=x(r[0],a.width),d+=x(r[1],a.height),c=null,o=null;else switch(r){case"left":n-=i,d+=h,c="right",o="middle";break;case"right":n+=i+s,d+=h,o="middle";break;case"top":n+=s/2,d-=i,c="center",o="bottom";break;case"bottom":n+=s/2,d+=p+i,c="center";break;case"inside":n+=s/2,d+=h,c="center",o="middle";break;case"insideLeft":n+=i,d+=h,o="middle";break;case"insideRight":n+=s-i,d+=h,c="right",o="middle";break;case"insideTop":n+=s/2,d+=i,c="center";break;case"insideBottom":n+=s/2,d+=p-i,c="center",o="bottom";break;case"insideTopLeft":n+=i,d+=i;break;case"insideTopRight":n+=s-i,d+=i,c="right";break;case"insideBottomLeft":n+=i,d+=p-i,o="bottom";break;case"insideBottomRight":n+=s-i,d+=p-i,c="right",o="bottom";break}return e=e||{},e.x=n,e.y=d,e.align=c,e.verticalAlign=o,e}export{w as adjustTextX,L as adjustTextY,O as calculateTextPosition,g as ensureFontMeasureInfo,y as getBoundingRect,_ as getLineHeight,M as getWidth,v as innerGetBoundingRect,R as measureCharWidth,D as measureText,C as measureWidth,x as parsePercent};
|
|
4
|
+
//# sourceMappingURL=text.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/contain/windingLine */
|
|
2
|
+
function v(e,r,d,i,f,n){if(n>r&&n>i||n<r&&n<i||i===r)return 0;var t=(n-r)/(i-r),u=i<r?1:-1;(t===1||t===0)&&(u=i<r?.5:-.5);var a=t*(d-e)+e;return a===f?1/0:a>f?u:0}export{v as default};
|
|
3
|
+
//# sourceMappingURL=windingLine.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/BoundingRect */
|
|
2
|
+
import*as m from"./matrix.mjs";import x from"./Point.mjs";var T=Math.min,D=Math.max,B=Math.abs,N=["x","y"],X=["width","height"],c=new x,u=new x,w=new x,p=new x,o=k(),_=o.minTv,S=o.maxTv,F=[0,0],V=function(){function r(i,n,t,e){r.set(this,i,n,t,e)}return r.set=function(i,n,t,e,h){return e<0&&(n=n+e,e=-e),h<0&&(t=t+h,h=-h),i.x=n,i.y=t,i.width=e,i.height=h,i},r.prototype.union=function(i){var n=T(i.x,this.x),t=T(i.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=D(i.x+i.width,this.x+this.width)-n:this.width=i.width,isFinite(this.y)&&isFinite(this.height)?this.height=D(i.y+i.height,this.y+this.height)-t:this.height=i.height,this.x=n,this.y=t},r.prototype.applyTransform=function(i){r.applyTransform(this,this,i)},r.prototype.calculateTransform=function(i){var n=this,t=i.width/n.width,e=i.height/n.height,h=m.create();return m.translate(h,h,[-n.x,-n.y]),m.scale(h,h,[t,e]),m.translate(h,h,[i.x,i.y]),h},r.prototype.intersect=function(i,n,t){return r.intersect(this,i,n,t)},r.intersect=function(i,n,t,e){t&&x.set(t,0,0);var h=e&&e.outIntersectRect||null,a=e&&e.clamp;if(h&&(h.x=h.y=h.width=h.height=NaN),!i||!n)return!1;i instanceof r||(i=r.set(Y,i.x,i.y,i.width,i.height)),n instanceof r||(n=r.set(Z,n.x,n.y,n.width,n.height));var y=!!t;o.reset(e,y);var s=o.touchThreshold,f=i.x+s,d=i.x+i.width-s,v=i.y+s,M=i.y+i.height-s,l=n.x+s,g=n.x+n.width-s,C=n.y+s,z=n.y+n.height-s;if(f>d||v>M||l>g||C>z)return!1;var A=!(d<l||g<f||M<C||z<v);return(y||h)&&(F[0]=1/0,F[1]=0,P(f,d,l,g,0,y,h,a),P(v,M,C,z,1,y,h,a),y&&x.copy(t,A?o.useDir?o.dirMinTv:_:S)),A},r.contain=function(i,n,t){return n>=i.x&&n<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},r.prototype.contain=function(i,n){return r.contain(this,i,n)},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(i){r.copy(this,i)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(i){return new r(i.x,i.y,i.width,i.height)},r.copy=function(i,n){return i.x=n.x,i.y=n.y,i.width=n.width,i.height=n.height,i},r.applyTransform=function(i,n,t){if(!t){i!==n&&r.copy(i,n);return}if(t[1]<1e-5&&t[1]>-1e-5&&t[2]<1e-5&&t[2]>-1e-5){var e=t[0],h=t[3],a=t[4],y=t[5];i.x=n.x*e+a,i.y=n.y*h+y,i.width=n.width*e,i.height=n.height*h,i.width<0&&(i.x+=i.width,i.width=-i.width),i.height<0&&(i.y+=i.height,i.height=-i.height);return}c.x=w.x=n.x,c.y=p.y=n.y,u.x=p.x=n.x+n.width,u.y=w.y=n.y+n.height,c.transform(t),p.transform(t),u.transform(t),w.transform(t),i.x=T(c.x,u.x,w.x,p.x),i.y=T(c.y,u.y,w.y,p.y);var s=D(c.x,u.x,w.x,p.x),f=D(c.y,u.y,w.y,p.y);i.width=s-i.x,i.height=f-i.y},r}(),Y=new V(0,0,0,0),Z=new V(0,0,0,0);function P(r,i,n,t,e,h,a,y){var s=B(i-n),f=B(t-r),d=T(s,f),v=N[e],M=N[1-e],l=X[e];i<n||t<r?s<f?(h&&(S[v]=-s),y&&(a[v]=i,a[l]=0)):(h&&(S[v]=f),y&&(a[v]=r,a[l]=0)):(a&&(a[v]=D(r,n),a[l]=T(i,t)-a[v]),h&&(d<F[0]||o.useDir)&&(F[0]=T(d,F[0]),(s<f||!o.bidirectional)&&(_[v]=s,_[M]=0,o.useDir&&o.calcDirMTV()),(s>=f||!o.bidirectional)&&(_[v]=-f,_[M]=0,o.useDir&&o.calcDirMTV())))}function k(){var r=0,i=new x,n=new x,t={minTv:new x,maxTv:new x,useDir:!1,dirMinTv:new x,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(h,a){t.touchThreshold=0,h&&h.touchThreshold!=null&&(t.touchThreshold=D(0,h.touchThreshold)),t.negativeSize=!1,a&&(t.minTv.set(1/0,1/0),t.maxTv.set(0,0),t.useDir=!1,h&&h.direction!=null&&(t.useDir=!0,t.dirMinTv.copy(t.minTv),n.copy(t.minTv),r=h.direction,t.bidirectional=h.bidirectional==null||!!h.bidirectional,t.bidirectional||i.set(Math.cos(r),Math.sin(r))))},calcDirMTV:function(){var h=t.minTv,a=t.dirMinTv,y=h.y*h.y+h.x*h.x,s=Math.sin(r),f=Math.cos(r),d=s*h.y+f*h.x;if(e(d)){e(h.x)&&e(h.y)&&a.set(0,0);return}if(n.x=y*f/d,n.y=y*s/d,e(n.x)&&e(n.y)){a.set(0,0);return}(t.bidirectional||i.dot(n)>0)&&n.len()<a.len()&&a.copy(n)}};function e(h){return B(h)<1e-10}return t}var H=V;export{k as createIntersectContext,H as default};
|
|
3
|
+
//# sourceMappingURL=BoundingRect.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/Eventful */
|
|
2
|
+
var e=function(){function u(r){r&&(this._$eventProcessor=r)}return u.prototype.on=function(r,a,t,i){this._$handlers||(this._$handlers={});var s=this._$handlers;if(typeof a=="function"&&(i=t,t=a,a=null),!t||!r)return this;var f=this._$eventProcessor;a!=null&&f&&f.normalizeQuery&&(a=f.normalizeQuery(a)),s[r]||(s[r]=[]);for(var h=0;h<s[r].length;h++)if(s[r][h].h===t)return this;var o={h:t,query:a,ctx:i||this,callAtLast:t.zrEventfulCallAtLast},l=s[r].length-1,n=s[r][l];return n&&n.callAtLast?s[r].splice(l,0,o):s[r].push(o),this},u.prototype.isSilent=function(r){var a=this._$handlers;return!a||!a[r]||!a[r].length},u.prototype.off=function(r,a){var t=this._$handlers;if(!t)return this;if(!r)return this._$handlers={},this;if(a){if(t[r]){for(var i=[],s=0,f=t[r].length;s<f;s++)t[r][s].h!==a&&i.push(t[r][s]);t[r]=i}t[r]&&t[r].length===0&&delete t[r]}else delete t[r];return this},u.prototype.trigger=function(r){for(var a=[],t=1;t<arguments.length;t++)a[t-1]=arguments[t];if(!this._$handlers)return this;var i=this._$handlers[r],s=this._$eventProcessor;if(i)for(var f=a.length,h=i.length,o=0;o<h;o++){var l=i[o];if(!(s&&s.filter&&l.query!=null&&!s.filter(r,l.query)))switch(f){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,a[0]);break;case 2:l.h.call(l.ctx,a[0],a[1]);break;default:l.h.apply(l.ctx,a);break}}return s&&s.afterTrigger&&s.afterTrigger(r),this},u.prototype.triggerWithContext=function(r){for(var a=[],t=1;t<arguments.length;t++)a[t-1]=arguments[t];if(!this._$handlers)return this;var i=this._$handlers[r],s=this._$eventProcessor;if(i)for(var f=a.length,h=a[f-1],o=i.length,l=0;l<o;l++){var n=i[l];if(!(s&&s.filter&&n.query!=null&&!s.filter(r,n.query)))switch(f){case 0:n.h.call(h);break;case 1:n.h.call(h,a[0]);break;case 2:n.h.call(h,a[0],a[1]);break;default:n.h.apply(h,a.slice(1,f-1));break}}return s&&s.afterTrigger&&s.afterTrigger(r),this},u}(),c=e;export{c as default};
|
|
3
|
+
//# sourceMappingURL=Eventful.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/GestureMgr */
|
|
2
|
+
import*as f from"./event.mjs";var g=function(){function r(){this._track=[]}return r.prototype.recognize=function(t,n,e){return this._doTrack(t,n,e),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,n,e){var o=t.touches;if(o){for(var c={points:[],touches:[],target:n,event:t},i=0,p=o.length;i<p;i++){var h=o[i],a=f.clientToLocal(e,h,{});c.points.push([a.zrX,a.zrY]),c.touches.push(h)}this._track.push(c)}},r.prototype._recognize=function(t){for(var n in u)if(u.hasOwnProperty(n)){var e=u[n](this._track,t);if(e)return e}},r}();function s(r){var t=r[1][0]-r[0][0],n=r[1][1]-r[0][1];return Math.sqrt(t*t+n*n)}function v(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var u={pinch:function(r,t){var n=r.length;if(n){var e=(r[n-1]||{}).points,o=(r[n-2]||{}).points||e;if(o&&o.length>1&&e&&e.length>1){var c=s(e)/s(o);!isFinite(c)&&(c=1),t.pinchScale=c;var i=v(e);return t.pinchX=i[0],t.pinchY=i[1],{type:"pinch",target:r[0].target,event:t}}}}};export{g as GestureMgr};
|
|
3
|
+
//# sourceMappingURL=GestureMgr.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/LRU */
|
|
2
|
+
var h=function(){function e(t){this.value=t}return e}();var u=function(){function e(){this._len=0}return e.prototype.insert=function(t){var i=new h(t);return this.insertEntry(i),i},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var i=t.prev,n=t.next;i?i.next=n:this.head=n,n?n.prev=i:this.tail=i,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}();var p=function(){function e(t){this._list=new u,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,i){var n=this._list,s=this._map,o=null;if(s[t]==null){var a=n.len(),r=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete s[l.key],o=l.value,this._lastRemovedEntry=l}r?r.value=i:r=new h(i),r.key=t,n.insertEntry(r),s[t]=r}return o},e.prototype.get=function(t){var i=this._map[t],n=this._list;if(i!=null)return i!==n.tail&&(n.remove(i),n.insertEntry(i)),i.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),v=p;export{h as Entry,u as LinkedList,v as default};
|
|
3
|
+
//# sourceMappingURL=LRU.mjs.map
|