@templmf/temp-solf-lmf 0.0.94 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@antv/algorithm@^0.1.26 +5 -0
- package/@antv/component@2.1.7/es2022/esm/animation.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/core.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/ui/axis/utils.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/util/layout.mjs +3 -0
- package/@antv/component@^2.1.7 +11 -0
- package/@antv/event-emitter@^0.1.3 +3 -0
- package/@antv/g-camera-api@2.0.41/es2022/g-camera-api.mjs +15 -0
- package/@antv/g-canvas@^2.0.48 +6 -0
- package/@antv/g-dom-mutation-observer-api@2.0.38/es2022/g-dom-mutation-observer-api.mjs +15 -0
- package/@antv/g-lite@2.3.2/es2022/g-lite.mjs +22 -0
- package/@antv/g-math@3.0.1/es2022/g-math.mjs +17 -0
- package/@antv/g-plugin-canvas-path-generator@2.1.22/es2022/g-plugin-canvas-path-generator.mjs +16 -0
- package/@antv/g-plugin-canvas-picker@2.1.27/es2022/g-plugin-canvas-picker.mjs +20 -0
- package/@antv/g-plugin-canvas-renderer@2.3.3/es2022/g-plugin-canvas-renderer.mjs +17 -0
- package/@antv/g-plugin-dom-interaction@2.1.27/es2022/g-plugin-dom-interaction.mjs +15 -0
- package/@antv/g-plugin-dragndrop@^2.0.38 +4 -0
- package/@antv/g-plugin-html-renderer@2.1.27/es2022/g-plugin-html-renderer.mjs +15 -0
- package/@antv/g-plugin-image-loader@2.1.26/es2022/g-plugin-image-loader.mjs +19 -0
- package/@antv/g-web-animations-api@2.1.28/es2022/g-web-animations-api.mjs +17 -0
- package/@antv/g@^6.1.11 +6 -0
- package/@antv/g@^6.1.28 +6 -0
- package/@antv/graphlib@^2.0.4 +3 -0
- package/@antv/hierarchy@^0.7.1 +3 -0
- package/@antv/layout@^2.0.0 +2 -0
- package/@antv/scale@^0.4.16 +5 -0
- package/@antv/util@^2.0.13 +3 -0
- package/@antv/util@^3.3.10 +4 -0
- package/@antv/util@^3.3.11 +4 -0
- package/@antv/util@^3.3.5 +4 -0
- package/animate.css@4.1.1/animate.css +4072 -0
- package/echarts@6.0.0/es2022/lib/animation/basicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicKeyframeAnimation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/morphTransitionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/universalTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BaseBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/prepareBoxplotData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/CustomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/customSeriesRegister.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/funnelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/adjustEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/circularLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/createView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/edgeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/graphHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapLayer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectSymbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LargeLineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Line.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LinePath.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Polyline.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/SymbolDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createClipPathFromCoordSys.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createRenderPlanner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesDataSimply.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/enableAriaDecalForTree.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/labelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/multipleGraphEdgeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/treeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/whiskerBoxCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/lineAnimationDiff.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/poly.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapDataStatistic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapSymbolLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/parallelVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/pieLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/radarLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeySeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeyView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/ScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/jitterLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstPiece.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/themeRiverLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/layoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/Breadcrumb.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AngleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AxisBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/CartesianAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/ParallelAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/RadiusAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/SingleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelperImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisSplitHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/installBreak.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/parallelAxisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/BaseAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/CartesianAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/PolarAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/SingleAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/axisTrigger.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/findPointFromSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/globalListener.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/modelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/viewHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/selector.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/calendar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/DataZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/history.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomInside.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomSlider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/roams.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataset/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/GeoView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/installSimple.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/BrushTargetManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/MapDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/RoamController.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/brushHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/cursorHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/interactionMutex.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/listComponent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/sliderMove.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/thumbnailBridge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendView.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendPlain.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendScroll.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendAction.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/scrollableLegendAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/checkMarkerInSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkArea.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkPoint.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/markerHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/MatrixView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/polar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/singleAxis/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailBridgeImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/timelineAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/title/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Brush.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataView.mjs +20 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataZoom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/MagicType.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Restore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/SaveAsImage.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/featureManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipHTMLContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipRichContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipView.mjs +5 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/seriesFormatTooltip.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/tooltipMarkup.mjs +9 -0
- package/echarts@6.0.0/es2022/lib/component/transform/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/transform/sortTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/ContinuousView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapContinuous.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapPiecewise.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualMapAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/Axis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/View.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisAlignTicks.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisCommonTypes.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisModelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisTickLabelBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/CalendarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Axis2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Grid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/GridModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/cartesianAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/legacyContainLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Geo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoJSONResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoSVGResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Region.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/diaoyuIsland.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/nanhai.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/textCoord.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoSourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/parseGeoJson.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/Matrix.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixBodyCorner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixDim.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/matrixCoordHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/Parallel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/ParallelModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelPreprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AngleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/Polar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/PolarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/RadiusAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/polarCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/Radar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/RadarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/scaleRawExtentInfo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/Single.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/SingleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/ExtensionAPI.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/Scheduler.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/echarts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/impl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/lifecycle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/locale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/task.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataDiffer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataStore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/OrdinalMeta.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesDimensionDefine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/Source.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/SeriesDataSchema.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/createDimensions.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataProvider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataStackHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataValueHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dimensionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/transform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/format.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/util.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langEN.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langZH.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/LabelManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/installLabelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelGuideHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/sectorLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barGrid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barPolar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/points.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/legacy/dataSelectAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/loading/default.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Global.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/OptionManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Series.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/globalDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/internalComponentCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/areaStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/dataFormat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/itemStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/lineStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/makeStyleMapper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/palette.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/textStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/referHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/helper/compatStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataSample.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/negativeDataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installCanvasRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installSVGRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Log.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Ordinal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Scale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/break.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/breakImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/theme/dark.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/ECEventProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/animation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/clazz.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/event.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/jitter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/layout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/states.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/styleCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/types.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/vendor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Chart.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/VisualMapping.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/aria.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/style.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/tokens.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualSolution.mjs +3 -0
- package/eventemitter3@^5.0.1 +3 -0
- package/gl-matrix@^3.3.0 +2 -0
- package/gl-matrix@^3.4.3 +2 -0
- package/package.json +1 -1
- package/zrender@6.0.0/es2022/lib/Element.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Handler.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Storage.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animator.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/cubicEasing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/easing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/requestAnimationFrame.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/dashStyle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/quadratic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/text.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/contain/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/windingLine.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Eventful.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/GestureMgr.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/LRU.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/PathProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Point.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Transformable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/WeakMap.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/bbox.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/curve.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/dom.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/env.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/event.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/fourPointsTransform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/matrix.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/platform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/timsort.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/vector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/dom/HandlerProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/CompoundPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Gradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Group.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/IncrementalDisplayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/RadialGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/constants.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/poly.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundSector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/smoothBezier.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Arc.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Circle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ellipse.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polyline.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Rect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ring.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Sector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/mixin/Draggable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/Painter.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/SVGPathRebuilder.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/core.mjs +5 -0
- package/zrender@6.0.0/es2022/lib/svg/cssAnimation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssClassId.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssEmphasis.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/domapi.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/helper.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/svg/mapStyleToAttrs.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/patch.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/color.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/convertPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/dividePath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/morphPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseSVG.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseXML.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/zrender.mjs +16 -0
- package/@antv/g6 +0 -13
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/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
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/PathProxy */
|
|
2
|
+
import*as at from"./vector.mjs";import yt from"./BoundingRect.mjs";import{devicePixelRatio as pt}from"../config.mjs";import{fromLine as _t,fromCubic as mt,fromQuadratic as Dt,fromArc as Lt}from"./bbox.mjs";import{cubicLength as Tt,cubicSubdivide as ct,quadraticLength as Ct,quadraticSubdivide as dt}from"./curve.mjs";var h={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},X=[],Z=[],M=[],q=[],g=[],k=[],et=Math.min,st=Math.max,V=Math.cos,Y=Math.sin,S=Math.abs,ot=Math.PI,w=ot*2,nt=typeof Float32Array<"u",W=[];function vt(v){var t=Math.round(v/ot*1e8)/1e8;return t%2*ot}function Mt(v,t){var r=vt(v[0]);r<0&&(r+=w);var a=r-v[0],e=v[1];e+=a,!t&&e-r>=w?e=r+w:t&&r-e>=w?e=r-w:!t&&r>e?e=r+(w-vt(r-e)):t&&r<e&&(e=r-(w-vt(e-r))),v[0]=r,v[1]=e}var gt=function(){function v(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return v.prototype.increaseVersion=function(){this._version++},v.prototype.getVersion=function(){return this._version},v.prototype.setScale=function(t,r,a){a=a||0,a>0&&(this._ux=S(a/pt/t)||0,this._uy=S(a/pt/r)||0)},v.prototype.setDPR=function(t){this.dpr=t},v.prototype.setContext=function(t){this._ctx=t},v.prototype.getContext=function(){return this._ctx},v.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},v.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},v.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(h.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},v.prototype.lineTo=function(t,r){var a=S(t-this._xi),e=S(r-this._yi),s=a>this._ux||e>this._uy;if(this.addData(h.L,t,r),this._ctx&&s&&this._ctx.lineTo(t,r),s)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var i=a*a+e*e;i>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=i)}return this},v.prototype.bezierCurveTo=function(t,r,a,e,s,i){return this._drawPendingPt(),this.addData(h.C,t,r,a,e,s,i),this._ctx&&this._ctx.bezierCurveTo(t,r,a,e,s,i),this._xi=s,this._yi=i,this},v.prototype.quadraticCurveTo=function(t,r,a,e){return this._drawPendingPt(),this.addData(h.Q,t,r,a,e),this._ctx&&this._ctx.quadraticCurveTo(t,r,a,e),this._xi=a,this._yi=e,this},v.prototype.arc=function(t,r,a,e,s,i){this._drawPendingPt(),W[0]=e,W[1]=s,Mt(W,i),e=W[0],s=W[1];var u=s-e;return this.addData(h.A,t,r,a,a,e,u,0,i?0:1),this._ctx&&this._ctx.arc(t,r,a,e,s,i),this._xi=V(s)*a+t,this._yi=Y(s)*a+r,this},v.prototype.arcTo=function(t,r,a,e,s){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,a,e,s),this},v.prototype.rect=function(t,r,a,e){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,a,e),this.addData(h.R,t,r,a,e),this},v.prototype.closePath=function(){this._drawPendingPt(),this.addData(h.Z);var t=this._ctx,r=this._x0,a=this._y0;return t&&t.closePath(),this._xi=r,this._yi=a,this},v.prototype.fill=function(t){t&&t.fill(),this.toStatic()},v.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},v.prototype.len=function(){return this._len},v.prototype.setData=function(t){if(this._saveData){var r=t.length;!(this.data&&this.data.length===r)&&nt&&(this.data=new Float32Array(r));for(var a=0;a<r;a++)this.data[a]=t[a];this._len=r}},v.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var r=t.length,a=0,e=this._len,s=0;s<r;s++)a+=t[s].len();var i=this.data;if(nt&&(i instanceof Float32Array||!i)&&(this.data=new Float32Array(e+a),e>0&&i))for(var u=0;u<e;u++)this.data[u]=i[u];for(var s=0;s<r;s++)for(var l=t[s].data,u=0;u<l.length;u++)this.data[e++]=l[u];this._len=e}},v.prototype.addData=function(t,r,a,e,s,i,u,l,d){if(this._saveData){var p=this.data;this._len+arguments.length>p.length&&(this._expandData(),p=this.data);for(var c=0;c<arguments.length;c++)p[this._len++]=arguments[c]}},v.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},v.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},v.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,nt&&this._len>11&&(this.data=new Float32Array(t)))}},v.prototype.getBoundingRect=function(){M[0]=M[1]=g[0]=g[1]=Number.MAX_VALUE,q[0]=q[1]=k[0]=k[1]=-Number.MAX_VALUE;var t=this.data,r=0,a=0,e=0,s=0,i;for(i=0;i<this._len;){var u=t[i++],l=i===1;switch(l&&(r=t[i],a=t[i+1],e=r,s=a),u){case h.M:r=e=t[i++],a=s=t[i++],g[0]=e,g[1]=s,k[0]=e,k[1]=s;break;case h.L:_t(r,a,t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.C:mt(r,a,t[i++],t[i++],t[i++],t[i++],t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.Q:Dt(r,a,t[i++],t[i++],t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.A:var d=t[i++],p=t[i++],c=t[i++],n=t[i++],m=t[i++],D=t[i++]+m;i+=1;var L=!t[i++];l&&(e=V(m)*c+d,s=Y(m)*n+p),Lt(d,p,c,n,m,D,L,g,k),r=V(D)*c+d,a=Y(D)*n+p;break;case h.R:e=r=t[i++],s=a=t[i++];var f=t[i++],y=t[i++];_t(e,s,e+f,s+y,g,k);break;case h.Z:r=e,a=s;break}at.min(M,M,g),at.max(q,q,k)}return i===0&&(M[0]=M[1]=q[0]=q[1]=0),new yt(M[0],M[1],q[0]-M[0],q[1]-M[1])},v.prototype._calculateLength=function(){var t=this.data,r=this._len,a=this._ux,e=this._uy,s=0,i=0,u=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var d=this._pathSegLen,p=0,c=0,n=0;n<r;){var m=t[n++],D=n===1;D&&(s=t[n],i=t[n+1],u=s,l=i);var L=-1;switch(m){case h.M:s=u=t[n++],i=l=t[n++];break;case h.L:{var f=t[n++],y=t[n++],P=f-s,T=y-i;(S(P)>a||S(T)>e||n===r-1)&&(L=Math.sqrt(P*P+T*T),s=f,i=y);break}case h.C:{var E=t[n++],U=t[n++],f=t[n++],y=t[n++],o=t[n++],G=t[n++];L=Tt(s,i,E,U,f,y,o,G,10),s=o,i=G;break}case h.Q:{var E=t[n++],U=t[n++],f=t[n++],y=t[n++];L=Ct(s,i,E,U,f,y,10),s=f,i=y;break}case h.A:var H=t[n++],F=t[n++],z=t[n++],_=t[n++],b=t[n++],I=t[n++],x=I+b;n+=1,D&&(u=V(b)*z+H,l=Y(b)*_+F),L=st(z,_)*et(w,Math.abs(I)),s=V(x)*z+H,i=Y(x)*_+F;break;case h.R:{u=s=t[n++],l=i=t[n++];var Q=t[n++],R=t[n++];L=Q*2+R*2;break}case h.Z:{var P=u-s,T=l-i;L=Math.sqrt(P*P+T*T),s=u,i=l;break}}L>=0&&(d[c++]=L,p+=L)}return this._pathLen=p,p},v.prototype.rebuildPath=function(t,r){var a=this.data,e=this._ux,s=this._uy,i=this._len,u,l,d,p,c,n,m=r<1,D,L,f=0,y=0,P,T=0,E,U;if(!(m&&(this._pathSegLen||this._calculateLength(),D=this._pathSegLen,L=this._pathLen,P=r*L,!P)))t:for(var o=0;o<i;){var G=a[o++],H=o===1;switch(H&&(d=a[o],p=a[o+1],u=d,l=p),G!==h.L&&T>0&&(t.lineTo(E,U),T=0),G){case h.M:u=d=a[o++],l=p=a[o++],t.moveTo(d,p);break;case h.L:{c=a[o++],n=a[o++];var F=S(c-d),z=S(n-p);if(F>e||z>s){if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;t.lineTo(d*(1-b)+c*b,p*(1-b)+n*b);break t}f+=_}t.lineTo(c,n),d=c,p=n,T=0}else{var I=F*F+z*z;I>T&&(E=c,U=n,T=I)}break}case h.C:{var x=a[o++],Q=a[o++],R=a[o++],N=a[o++],rt=a[o++],it=a[o++];if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;ct(d,x,R,rt,b,X),ct(p,Q,N,it,b,Z),t.bezierCurveTo(X[1],Z[1],X[2],Z[2],X[3],Z[3]);break t}f+=_}t.bezierCurveTo(x,Q,R,N,rt,it),d=rt,p=it;break}case h.Q:{var x=a[o++],Q=a[o++],R=a[o++],N=a[o++];if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;dt(d,x,R,b,X),dt(p,Q,N,b,Z),t.quadraticCurveTo(X[1],Z[1],X[2],Z[2]);break t}f+=_}t.quadraticCurveTo(x,Q,R,N),d=R,p=N;break}case h.A:var $=a[o++],tt=a[o++],O=a[o++],B=a[o++],j=a[o++],ht=a[o++],Pt=a[o++],ft=!a[o++],lt=O>B?O:B,bt=S(O-B)>.001,J=j+ht,ut=!1;if(m){var _=D[y++];f+_>P&&(J=j+ht*(P-f)/_,ut=!0),f+=_}if(bt&&t.ellipse?t.ellipse($,tt,O,B,Pt,j,J,ft):t.arc($,tt,lt,j,J,ft),ut)break t;H&&(u=V(j)*O+$,l=Y(j)*B+tt),d=V(J)*O+$,p=Y(J)*B+tt;break;case h.R:u=d=a[o],l=p=a[o+1],c=a[o++],n=a[o++];var A=a[o++],K=a[o++];if(m){var _=D[y++];if(f+_>P){var C=P-f;t.moveTo(c,n),t.lineTo(c+et(C,A),n),C-=A,C>0&&t.lineTo(c+A,n+et(C,K)),C-=K,C>0&&t.lineTo(c+st(A-C,0),n+K),C-=A,C>0&&t.lineTo(c,n+st(K-C,0));break t}f+=_}t.rect(c,n,A,K);break;case h.Z:if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;t.lineTo(d*(1-b)+u*b,p*(1-b)+l*b);break t}f+=_}t.closePath(),d=u,p=l}}},v.prototype.clone=function(){var t=new v,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},v.prototype.canSave=function(){return!!this._saveData},v.CMD=h,v.initDefaultProps=function(){var t=v.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),v}(),qt=gt;export{qt as default,Mt as normalizeArcAngles};
|
|
3
|
+
//# sourceMappingURL=PathProxy.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/Point */
|
|
2
|
+
var s=function(){function i(t,n){this.x=t||0,this.y=n||0}return i.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},i.prototype.clone=function(){return new i(this.x,this.y)},i.prototype.set=function(t,n){return this.x=t,this.y=n,this},i.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},i.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},i.prototype.scale=function(t){this.x*=t,this.y*=t},i.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},i.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},i.prototype.dot=function(t){return this.x*t.x+this.y*t.y},i.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},i.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},i.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},i.prototype.distance=function(t){var n=this.x-t.x,y=this.y-t.y;return Math.sqrt(n*n+y*y)},i.prototype.distanceSquare=function(t){var n=this.x-t.x,y=this.y-t.y;return n*n+y*y},i.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},i.prototype.transform=function(t){if(t){var n=this.x,y=this.y;return this.x=t[0]*n+t[2]*y+t[4],this.y=t[1]*n+t[3]*y+t[5],this}},i.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},i.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},i.set=function(t,n,y){t.x=n,t.y=y},i.copy=function(t,n){t.x=n.x,t.y=n.y},i.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},i.lenSquare=function(t){return t.x*t.x+t.y*t.y},i.dot=function(t,n){return t.x*n.x+t.y*n.y},i.add=function(t,n,y){t.x=n.x+y.x,t.y=n.y+y.y},i.sub=function(t,n,y){t.x=n.x-y.x,t.y=n.y-y.y},i.scale=function(t,n,y){t.x=n.x*y,t.y=n.y*y},i.scaleAndAdd=function(t,n,y,r){t.x=n.x+y.x*r,t.y=n.y+y.y*r},i.lerp=function(t,n,y,r){var o=1-r;t.x=o*n.x+r*y.x,t.y=o*n.y+r*y.y},i}(),x=s;export{x as default};
|
|
3
|
+
//# sourceMappingURL=Point.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/Transformable */
|
|
2
|
+
import*as i from"./matrix.mjs";import*as p from"./vector.mjs";var w=i.identity,k=5e-5;function f(o){return o>k||o<-k}var h=[],c=[],l=i.create(),v=Math.abs,S=function(){function o(){}return o.prototype.getLocalTransform=function(r){return o.getLocalTransform(this,r)},o.prototype.setPosition=function(r){this.x=r[0],this.y=r[1]},o.prototype.setScale=function(r){this.scaleX=r[0],this.scaleY=r[1]},o.prototype.setSkew=function(r){this.skewX=r[0],this.skewY=r[1]},o.prototype.setOrigin=function(r){this.originX=r[0],this.originY=r[1]},o.prototype.needLocalTransform=function(){return f(this.rotation)||f(this.x)||f(this.y)||f(this.scaleX-1)||f(this.scaleY-1)||f(this.skewX)||f(this.skewY)},o.prototype.updateTransform=function(){var r=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||r)){a&&(w(a),this.invTransform=null);return}a=a||i.create(),t?this.getLocalTransform(a):w(a),r&&(t?i.mul(a,r,a):i.copy(a,r)),this.transform=a,this._resolveGlobalScaleRatio(a)},o.prototype._resolveGlobalScaleRatio=function(r){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(h);var a=h[0]<0?-1:1,n=h[1]<0?-1:1,s=((h[0]-a)*t+a)/h[0]||0,e=((h[1]-n)*t+n)/h[1]||0;r[0]*=s,r[1]*=s,r[2]*=e,r[3]*=e}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)},o.prototype.getComputedTransform=function(){for(var r=this,t=[];r;)t.push(r),r=r.parent;for(;r=t.pop();)r.updateTransform();return this.transform},o.prototype.setLocalTransform=function(r){if(r){var t=r[0]*r[0]+r[1]*r[1],a=r[2]*r[2]+r[3]*r[3],n=Math.atan2(r[1],r[0]),s=Math.PI/2+n-Math.atan2(r[3],r[2]);a=Math.sqrt(a)*Math.cos(s),t=Math.sqrt(t),this.skewX=s,this.skewY=0,this.rotation=-n,this.x=+r[4],this.y=+r[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},o.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,t=this.transform;r&&r.transform&&(r.invTransform=r.invTransform||i.create(),i.mul(c,r.invTransform,t),t=c);var a=this.originX,n=this.originY;(a||n)&&(l[4]=a,l[5]=n,i.mul(c,t,l),c[4]-=a,c[5]-=n,t=c),this.setLocalTransform(t)}},o.prototype.getGlobalScale=function(r){var t=this.transform;return r=r||[],t?(r[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),r[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(r[0]=-r[0]),t[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},o.prototype.transformCoordToLocal=function(r,t){var a=[r,t],n=this.invTransform;return n&&p.applyTransform(a,a,n),a},o.prototype.transformCoordToGlobal=function(r,t){var a=[r,t],n=this.transform;return n&&p.applyTransform(a,a,n),a},o.prototype.getLineScale=function(){var r=this.transform;return r&&v(r[0]-1)>1e-10&&v(r[3]-1)>1e-10?Math.sqrt(v(r[0]*r[3]-r[2]*r[1])):1},o.prototype.copyTransform=function(r){b(this,r)},o.getLocalTransform=function(r,t){t=t||[];var a=r.originX||0,n=r.originY||0,s=r.scaleX,e=r.scaleY,m=r.anchorX,u=r.anchorY,T=r.rotation||0,L=r.x,M=r.y,y=r.skewX?Math.tan(r.skewX):0,x=r.skewY?Math.tan(-r.skewY):0;if(a||n||m||u){var X=a+m,Y=n+u;t[4]=-X*s-y*Y*e,t[5]=-Y*e-x*X*s}else t[4]=t[5]=0;return t[0]=s,t[3]=e,t[1]=x*s,t[2]=y*e,T&&i.rotate(t,t,T),t[4]+=a+L,t[5]+=n+M,t},o.initDefaultProps=function(){var r=o.prototype;r.scaleX=r.scaleY=r.globalScaleRatio=1,r.x=r.y=r.originX=r.originY=r.skewX=r.skewY=r.rotation=r.anchorX=r.anchorY=0}(),o}(),g=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function b(o,r){for(var t=0;t<g.length;t++){var a=g[t];o[a]=r[a]}}var d=S;export{g as TRANSFORMABLE_PROPS,b as copyTransform,d as default};
|
|
3
|
+
//# sourceMappingURL=Transformable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/WeakMap */
|
|
2
|
+
var i=Math.round(Math.random()*9),o=typeof Object.defineProperty=="function",u=function(){function e(){this._id="__ec_inner_"+i++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return o?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}(),a=u;export{a as default};
|
|
3
|
+
//# sourceMappingURL=WeakMap.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/bbox */
|
|
2
|
+
import*as q from"./vector.mjs";import*as E from"./curve.mjs";var b=Math.min,I=Math.max,j=Math.sin,z=Math.cos,D=Math.PI*2,L=q.create(),Q=q.create(),S=q.create();function J(a,t,u){if(a.length!==0){for(var f=a[0],r=f[0],v=f[0],M=f[1],i=f[1],c=1;c<a.length;c++)f=a[c],r=b(r,f[0]),v=I(v,f[0]),M=b(M,f[1]),i=I(i,f[1]);t[0]=r,t[1]=M,u[0]=v,u[1]=i}}function K(a,t,u,f,r,v){r[0]=b(a,u),r[1]=b(t,f),v[0]=I(a,u),v[1]=I(t,f)}var G=[],H=[];function N(a,t,u,f,r,v,M,i,c,o){var P=E.cubicExtrema,C=E.cubicAt,p=P(a,u,r,M,G);c[0]=1/0,c[1]=1/0,o[0]=-1/0,o[1]=-1/0;for(var h=0;h<p;h++){var B=C(a,u,r,M,G[h]);c[0]=b(B,c[0]),o[0]=I(B,o[0])}p=P(t,f,v,i,H);for(var h=0;h<p;h++){var F=C(t,f,v,i,H[h]);c[1]=b(F,c[1]),o[1]=I(F,o[1])}c[0]=b(a,c[0]),o[0]=I(a,o[0]),c[0]=b(M,c[0]),o[0]=I(M,o[0]),c[1]=b(t,c[1]),o[1]=I(t,o[1]),c[1]=b(i,c[1]),o[1]=I(i,o[1])}function O(a,t,u,f,r,v,M,i){var c=E.quadraticExtremum,o=E.quadraticAt,P=I(b(c(a,u,r),1),0),C=I(b(c(t,f,v),1),0),p=o(a,u,r,P),h=o(t,f,v,C);M[0]=b(a,r,p),M[1]=b(t,v,h),i[0]=I(a,r,p),i[1]=I(t,v,h)}function R(a,t,u,f,r,v,M,i,c){var o=q.min,P=q.max,C=Math.abs(r-v);if(C%D<1e-4&&C>1e-4){i[0]=a-u,i[1]=t-f,c[0]=a+u,c[1]=t+f;return}if(L[0]=z(r)*u+a,L[1]=j(r)*f+t,Q[0]=z(v)*u+a,Q[1]=j(v)*f+t,o(i,L,Q),P(c,L,Q),r=r%D,r<0&&(r=r+D),v=v%D,v<0&&(v=v+D),r>v&&!M?v+=D:r<v&&M&&(r+=D),M){var p=v;v=r,r=p}for(var h=0;h<v;h+=Math.PI/2)h>r&&(S[0]=z(h)*u+a,S[1]=j(h)*f+t,o(i,S,i),P(c,S,c))}export{R as fromArc,N as fromCubic,K as fromLine,J as fromPoints,O as fromQuadratic};
|
|
3
|
+
//# sourceMappingURL=bbox.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/curve */
|
|
2
|
+
import{create as Z,distSquare as O}from"./vector.mjs";var T=Math.pow,L=Math.sqrt,j=1e-8,Q=1e-4,B=L(3),g=1/3,R=Z(),E=Z(),S=Z();function D(a){return a>-j&&a<j}function U(a){return a>j||a<-j}function A(a,i,u,f,v){var r=1-v;return r*r*(r*a+3*v*i)+v*v*(v*f+3*r*u)}function G(a,i,u,f,v){var r=1-v;return 3*(((i-a)*r+2*(u-i)*v)*r+(f-u)*v*v)}function J(a,i,u,f,v,r){var e=f+3*(i-u)-a,t=3*(u-i*2+a),l=3*(i-a),n=a-v,o=t*t-3*e*l,c=t*l-9*e*n,h=l*l-3*t*n,b=0;if(D(o)&&D(c))if(D(t))r[0]=0;else{var s=-l/t;s>=0&&s<=1&&(r[b++]=s)}else{var d=c*c-4*o*h;if(D(d)){var M=c/o,s=-t/e+M,q=-M/2;s>=0&&s<=1&&(r[b++]=s),q>=0&&q<=1&&(r[b++]=q)}else if(d>0){var I=L(d),N=o*t+1.5*e*(-c+I),C=o*t+1.5*e*(-c-I);N<0?N=-T(-N,g):N=T(N,g),C<0?C=-T(-C,g):C=T(C,g);var s=(-t-(N+C))/(3*e);s>=0&&s<=1&&(r[b++]=s)}else{var z=(2*o*t-3*e*c)/(2*L(o*o*o)),k=Math.acos(z)/3,m=L(o),w=Math.cos(k),s=(-t-2*m*w)/(3*e),q=(-t+m*(w+B*Math.sin(k)))/(3*e),H=(-t+m*(w-B*Math.sin(k)))/(3*e);s>=0&&s<=1&&(r[b++]=s),q>=0&&q<=1&&(r[b++]=q),H>=0&&H<=1&&(r[b++]=H)}}return b}function V(a,i,u,f,v){var r=6*u-12*i+6*a,e=9*i+3*f-3*a-9*u,t=3*i-3*a,l=0;if(D(e)){if(U(r)){var n=-t/r;n>=0&&n<=1&&(v[l++]=n)}}else{var o=r*r-4*e*t;if(D(o))v[0]=-r/(2*e);else if(o>0){var c=L(o),n=(-r+c)/(2*e),h=(-r-c)/(2*e);n>=0&&n<=1&&(v[l++]=n),h>=0&&h<=1&&(v[l++]=h)}}return l}function W(a,i,u,f,v,r){var e=(i-a)*v+a,t=(u-i)*v+i,l=(f-u)*v+u,n=(t-e)*v+e,o=(l-t)*v+t,c=(o-n)*v+n;r[0]=a,r[1]=e,r[2]=n,r[3]=c,r[4]=c,r[5]=o,r[6]=l,r[7]=f}function X(a,i,u,f,v,r,e,t,l,n,o){var c,h=.005,b=1/0,s,d,M,q;R[0]=l,R[1]=n;for(var I=0;I<1;I+=.05)E[0]=A(a,u,v,e,I),E[1]=A(i,f,r,t,I),M=O(R,E),M<b&&(c=I,b=M);b=1/0;for(var N=0;N<32&&!(h<Q);N++)s=c-h,d=c+h,E[0]=A(a,u,v,e,s),E[1]=A(i,f,r,t,s),M=O(E,R),s>=0&&M<b?(c=s,b=M):(S[0]=A(a,u,v,e,d),S[1]=A(i,f,r,t,d),q=O(S,R),d<=1&&q<b?(c=d,b=q):h*=.5);return o&&(o[0]=A(a,u,v,e,c),o[1]=A(i,f,r,t,c)),L(b)}function $(a,i,u,f,v,r,e,t,l){for(var n=a,o=i,c=0,h=1/l,b=1;b<=l;b++){var s=b*h,d=A(a,u,v,e,s),M=A(i,f,r,t,s),q=d-n,I=M-o;c+=Math.sqrt(q*q+I*I),n=d,o=M}return c}function P(a,i,u,f){var v=1-f;return v*(v*a+2*f*i)+f*f*u}function K(a,i,u,f){return 2*((1-f)*(i-a)+f*(u-i))}function _(a,i,u,f,v){var r=a-2*i+u,e=2*(i-a),t=a-f,l=0;if(D(r)){if(U(e)){var n=-t/e;n>=0&&n<=1&&(v[l++]=n)}}else{var o=e*e-4*r*t;if(D(o)){var n=-e/(2*r);n>=0&&n<=1&&(v[l++]=n)}else if(o>0){var c=L(o),n=(-e+c)/(2*r),h=(-e-c)/(2*r);n>=0&&n<=1&&(v[l++]=n),h>=0&&h<=1&&(v[l++]=h)}}return l}function p(a,i,u){var f=a+u-2*i;return f===0?.5:(a-i)/f}function Y(a,i,u,f,v){var r=(i-a)*f+a,e=(u-i)*f+i,t=(e-r)*f+r;v[0]=a,v[1]=r,v[2]=t,v[3]=t,v[4]=e,v[5]=u}function x(a,i,u,f,v,r,e,t,l){var n,o=.005,c=1/0;R[0]=e,R[1]=t;for(var h=0;h<1;h+=.05){E[0]=P(a,u,v,h),E[1]=P(i,f,r,h);var b=O(R,E);b<c&&(n=h,c=b)}c=1/0;for(var s=0;s<32&&!(o<Q);s++){var d=n-o,M=n+o;E[0]=P(a,u,v,d),E[1]=P(i,f,r,d);var b=O(E,R);if(d>=0&&b<c)n=d,c=b;else{S[0]=P(a,u,v,M),S[1]=P(i,f,r,M);var q=O(S,R);M<=1&&q<c?(n=M,c=q):o*=.5}}return l&&(l[0]=P(a,u,v,n),l[1]=P(i,f,r,n)),L(c)}function y(a,i,u,f,v,r,e){for(var t=a,l=i,n=0,o=1/e,c=1;c<=e;c++){var h=c*o,b=P(a,u,v,h),s=P(i,f,r,h),d=b-t,M=s-l;n+=Math.sqrt(d*d+M*M),t=b,l=s}return n}export{A as cubicAt,G as cubicDerivativeAt,V as cubicExtrema,$ as cubicLength,X as cubicProjectPoint,J as cubicRootAt,W as cubicSubdivide,P as quadraticAt,K as quadraticDerivativeAt,p as quadraticExtremum,y as quadraticLength,x as quadraticProjectPoint,_ as quadraticRootAt,Y as quadraticSubdivide};
|
|
3
|
+
//# sourceMappingURL=curve.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/dom */
|
|
2
|
+
import g from"./env.mjs";import{buildTransformer as C}from"./fourPointsTransform.mjs";import{each as E}from"./util.mjs";var c="___zrEVENTSAVED",d=[];function L(t,r,o,a,e){return h(d,r,a,e,!0)&&h(t,o,d[0],d[1])}function R(t,r){t&&o(t),r&&o(r);function o(a){var e=a[c];e&&(e.clearMarkers&&e.clearMarkers(),delete a[c])}}function h(t,r,o,a,e){if(r.getBoundingClientRect&&g.domSupported&&!M(r)){var n=r[c]||(r[c]={}),p=T(r,n),f=N(p,n,e);if(f)return f(t,o,a),!0}return!1}function T(t,r){var o=r.markers;if(o)return o;o=r.markers=[];for(var a=["left","right"],e=["top","bottom"],n=0;n<4;n++){var p=document.createElement("div"),f=p.style,i=n%2,u=(n>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[i]+":0",e[u]+":0",a[1-i]+":auto",e[1-u]+":auto",""].join("!important;"),t.appendChild(p),o.push(p)}return r.clearMarkers=function(){E(o,function(s){s.parentNode&&s.parentNode.removeChild(s)})},o}function N(t,r,o){for(var a=o?"invTrans":"trans",e=r[a],n=r.srcCoords,p=[],f=[],i=!0,u=0;u<4;u++){var s=t[u].getBoundingClientRect(),v=2*u,l=s.left,m=s.top;p.push(l,m),i=i&&n&&l===n[v]&&m===n[v+1],f.push(t[u].offsetLeft,t[u].offsetTop)}return i&&e?e:(r.srcCoords=p,r[a]=o?C(f,p):C(p,f))}function M(t){return t.nodeName.toUpperCase()==="CANVAS"}var S=/([&<>"'])/g,V={"&":"&","<":"<",">":">",'"':""","'":"'"};function w(t){return t==null?"":(t+"").replace(S,function(r,o){return V[o]})}export{w as encodeHTML,M as isCanvasEl,h as transformCoordWithViewport,L as transformLocalCoord,R as transformLocalCoordClear};
|
|
3
|
+
//# sourceMappingURL=dom.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/env */
|
|
2
|
+
var p=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),u=function(){function t(){this.browser=new p,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),o=new u;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(o.wxa=!0,o.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?o.worker=!0:!o.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(o.node=!0,o.svgSupported=!0):w(navigator.userAgent,o);function w(t,r){var e=r.browser,s=t.match(/Firefox\/([\d.]+)/),d=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),i=t.match(/Edge?\/([\d.]+)/),f=/micromessenger/i.test(t);s&&(e.firefox=!0,e.version=s[1]),d&&(e.ie=!0,e.version=d[1]),i&&(e.edge=!0,e.version=i[1],e.newEdge=+i[1].split(".")[0]>18),f&&(e.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,r.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var a=r.domSupported=typeof document<"u";if(a){var n=document.documentElement.style;r.transform3dSupported=(e.ie&&"transition"in n||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in n)&&!("OTransition"in n),r.transformSupported=r.transform3dSupported||e.ie&&+e.version>=9}}var h=o;export{h as default};
|
|
3
|
+
//# sourceMappingURL=env.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/event */
|
|
2
|
+
import g from"./Eventful.mjs";import f from"./env.mjs";import{isCanvasEl as u,transformCoordWithViewport as p}from"./dom.mjs";var d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[],h=f.browser.firefox&&+f.browser.version.split(".")[0]<39;function v(t,r,e,n){return e=e||{},n?c(t,r,e):h&&r.layerX!=null&&r.layerX!==r.offsetX?(e.zrX=r.layerX,e.zrY=r.layerY):r.offsetX!=null?(e.zrX=r.offsetX,e.zrY=r.offsetY):c(t,r,e),e}function c(t,r,e){if(f.domSupported&&t.getBoundingClientRect){var n=r.clientX,a=r.clientY;if(u(t)){var i=t.getBoundingClientRect();e.zrX=n-i.left,e.zrY=a-i.top;return}else if(p(l,t,n,a)){e.zrX=l[0],e.zrY=l[1];return}}e.zrX=e.zrY=0}function X(t){return t||window.event}function w(t,r,e){if(r=X(r),r.zrX!=null)return r;var n=r.type,a=n&&n.indexOf("touch")>=0;if(a){var s=n!=="touchend"?r.targetTouches[0]:r.changedTouches[0];s&&v(t,s,r,e)}else{v(t,r,r,e);var i=m(r);r.zrDelta=i?i/120:-(r.detail||0)/3}var o=r.button;return r.which==null&&o!==void 0&&d.test(r.type)&&(r.which=o&1?1:o&2?3:o&4?2:0),r}function m(t){var r=t.wheelDelta;if(r)return r;var e=t.deltaX,n=t.deltaY;if(e==null||n==null)return r;var a=Math.abs(n!==0?n:e),i=n>0?-1:n<0?1:e>0?-1:1;return 3*a*i}function x(t,r,e,n){t.addEventListener(r,e,n)}function y(t,r,e,n){t.removeEventListener(r,e,n)}var b=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function D(t){return t.which===2||t.which===3}export{g as Dispatcher,x as addEventListener,v as clientToLocal,X as getNativeEvent,D as isMiddleOrRightButtonOnMouseUpDown,w as normalizeEvent,y as removeEventListener,b as stop};
|
|
3
|
+
//# sourceMappingURL=event.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/fourPointsTransform */
|
|
2
|
+
var N=Math.log(2);function i(v,n,h,l,m,u){var a=l+"-"+m,f=v.length;if(u.hasOwnProperty(a))return u[a];if(n===1){var g=Math.round(Math.log((1<<f)-1&~m)/N);return v[h][g]}for(var R=l|1<<h,b=h+1;l&1<<b;)b++;for(var p=0,y=0,A=0;y<f;y++){var K=1<<y;K&m||(p+=(A%2?-1:1)*v[h][y]*i(v,n-1,b,R,m|K,u),A++)}return u[a]=p,p}function O(v,n){var h=[[v[0],v[1],1,0,0,0,-n[0]*v[0],-n[0]*v[1]],[0,0,0,v[0],v[1],1,-n[1]*v[0],-n[1]*v[1]],[v[2],v[3],1,0,0,0,-n[2]*v[2],-n[2]*v[3]],[0,0,0,v[2],v[3],1,-n[3]*v[2],-n[3]*v[3]],[v[4],v[5],1,0,0,0,-n[4]*v[4],-n[4]*v[5]],[0,0,0,v[4],v[5],1,-n[5]*v[4],-n[5]*v[5]],[v[6],v[7],1,0,0,0,-n[6]*v[6],-n[6]*v[7]],[0,0,0,v[6],v[7],1,-n[7]*v[6],-n[7]*v[7]]],l={},m=i(h,8,0,0,0,l);if(m!==0){for(var u=[],a=0;a<8;a++)for(var f=0;f<8;f++)u[f]==null&&(u[f]=0),u[f]+=((a+f)%2?-1:1)*i(h,7,a===0?1:0,1<<a,1<<f,l)/m*n[a];return function(g,R,b){var p=R*u[6]+b*u[7]+1;g[0]=(R*u[0]+b*u[1]+u[2])/p,g[1]=(R*u[3]+b*u[4]+u[5])/p}}}export{O as buildTransformer};
|
|
3
|
+
//# sourceMappingURL=fourPointsTransform.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/matrix */
|
|
2
|
+
function d(){return[1,0,0,1,0,0]}function p(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function b(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function h(r,n,e){var a=n[0]*e[0]+n[2]*e[1],c=n[1]*e[0]+n[3]*e[1],x=n[0]*e[2]+n[2]*e[3],f=n[1]*e[2]+n[3]*e[3],i=n[0]*e[4]+n[2]*e[5]+n[4],v=n[1]*e[4]+n[3]*e[5]+n[5];return r[0]=a,r[1]=c,r[2]=x,r[3]=f,r[4]=i,r[5]=v,r}function t(r,n,e){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+e[0],r[5]=n[5]+e[1],r}function M(r,n,e,a){a===void 0&&(a=[0,0]);var c=n[0],x=n[2],f=n[4],i=n[1],v=n[3],y=n[5],l=Math.sin(e),s=Math.cos(e);return r[0]=c*s+i*l,r[1]=-c*l+i*s,r[2]=x*s+v*l,r[3]=-x*l+s*v,r[4]=s*(f-a[0])+l*(y-a[1])+a[0],r[5]=s*(y-a[1])-l*(f-a[0])+a[1],r}function g(r,n,e){var a=e[0],c=e[1];return r[0]=n[0]*a,r[1]=n[1]*c,r[2]=n[2]*a,r[3]=n[3]*c,r[4]=n[4]*a,r[5]=n[5]*c,r}function j(r,n){var e=n[0],a=n[2],c=n[4],x=n[1],f=n[3],i=n[5],v=e*f-x*a;return v?(v=1/v,r[0]=f*v,r[1]=-x*v,r[2]=-a*v,r[3]=e*v,r[4]=(a*i-f*c)*v,r[5]=(x*c-e*i)*v,r):null}function k(r){var n=d();return b(n,r),n}export{k as clone,b as copy,d as create,p as identity,j as invert,h as mul,M as rotate,g as scale,t as translate};
|
|
3
|
+
//# sourceMappingURL=matrix.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/platform */
|
|
2
|
+
var d=12,T="sans-serif",c=d+"px "+T,i=20,m=100,p="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function W(r){var n={};if(typeof JSON>"u")return n;for(var e=0;e<r.length;e++){var a=String.fromCharCode(e+32),L=(r.charCodeAt(e)-i)/m;n[a]=L}return n}var g=W(p),u={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,n;return function(e,a){if(!r){var L=u.createCanvas();r=L&&L.getContext("2d")}if(r)return n!==a&&(n=r.font=a||c),r.measureText(e);e=e||"",a=a||c;var F=/((?:\d+)?\.?\d*)px/.exec(a),t=F&&+F[1]||d,o=0;if(a.indexOf("mono")>=0)o=t*e.length;else for(var v=0;v<e.length;v++){var f=g[e[v]];o+=f==null?t:f*t}return{width:o}}}(),loadImage:function(r,n,e){var a=new Image;return a.onload=n,a.onerror=e,a.src=r,a}};function l(r){for(var n in u)r[n]&&(u[n]=r[n])}export{c as DEFAULT_FONT,T as DEFAULT_FONT_FAMILY,d as DEFAULT_FONT_SIZE,g as DEFAULT_TEXT_WIDTH_MAP,u as platformApi,l as setPlatformAPI};
|
|
3
|
+
//# sourceMappingURL=platform.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/timsort */
|
|
2
|
+
var j=32,H=7;function J(f){for(var w=0;f>=j;)w|=f&1,f>>=1;return f+w}function C(f,w,s,E){var u=w+1;if(u===s)return 1;if(E(f[u++],f[w])<0){for(;u<s&&E(f[u],f[u-1])<0;)u++;K(f,w,u)}else for(;u<s&&E(f[u],f[u-1])>=0;)u++;return u-w}function K(f,w,s){for(s--;w<s;){var E=f[w];f[w++]=f[s],f[s--]=E}}function P(f,w,s,E,u){for(E===w&&E++;E<s;E++){for(var d=f[E],v=w,G=E,e;v<G;)e=v+G>>>1,u(d,f[e])<0?G=e:v=e+1;var D=E-v;switch(D){case 3:f[v+3]=f[v+2];case 2:f[v+2]=f[v+1];case 1:f[v+1]=f[v];break;default:for(;D>0;)f[v+D]=f[v+D-1],D--}f[v]=d}}function U(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])>0){for(G=E-u;e<G&&d(f,w[s+u+e])>0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}else{for(G=u+1;e<G&&d(f,w[s+u-e])<=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])>0?v=N+1:e=N}return e}function z(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])<0){for(G=u+1;e<G&&d(f,w[s+u-e])<0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}else{for(G=E-u;e<G&&d(f,w[s+u+e])>=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])<0?e=N:v=N+1}return e}function Q(f,w){var s=H,E,u,d=0,v=[];E=[],u=[];function G(k,b){E[d]=k,u[d]=b,d+=1}function e(){for(;d>1;){var k=d-2;if(k>=1&&u[k-1]<=u[k]+u[k+1]||k>=2&&u[k-2]<=u[k]+u[k-1])u[k-1]<u[k+1]&&k--;else if(u[k]>u[k+1])break;N(k)}}function D(){for(;d>1;){var k=d-2;k>0&&u[k-1]<u[k+1]&&k--,N(k)}}function N(k){var b=E[k],S=u[k],R=E[k+1],i=u[k+1];u[k]=S+i,k===d-3&&(E[k+1]=E[k+2],u[k+1]=u[k+2]),d--;var M=z(f[R],f,b,S,0,w);b+=M,S-=M,S!==0&&(i=U(f[b+S-1],f,R,i,i-1,w),i!==0&&(S<=i?q(b,S,R,i):B(b,S,R,i)))}function q(k,b,S,R){var i=0;for(i=0;i<b;i++)v[i]=f[k+i];var M=0,A=S,L=k;if(f[L++]=f[A++],--R===0){for(i=0;i<b;i++)f[L+i]=v[M+i];return}if(b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M];return}for(var O=s,_,I,o;;){_=0,I=0,o=!1;do if(w(f[A],v[M])<0){if(f[L++]=f[A++],I++,_=0,--R===0){o=!0;break}}else if(f[L++]=v[M++],_++,I=0,--b===1){o=!0;break}while((_|I)<O);if(o)break;do{if(_=z(f[A],v,M,b,0,w),_!==0){for(i=0;i<_;i++)f[L+i]=v[M+i];if(L+=_,M+=_,b-=_,b<=1){o=!0;break}}if(f[L++]=f[A++],--R===0){o=!0;break}if(I=U(v[M],f,A,R,0,w),I!==0){for(i=0;i<I;i++)f[L+i]=f[A+i];if(L+=I,A+=I,R-=I,R===0){o=!0;break}}if(f[L++]=v[M++],--b===1){o=!0;break}O--}while(_>=H||I>=H);if(o)break;O<0&&(O=0),O+=2}if(s=O,s<1&&(s=1),b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M]}else{if(b===0)throw new Error;for(i=0;i<b;i++)f[L+i]=v[M+i]}}function B(k,b,S,R){var i=0;for(i=0;i<R;i++)v[i]=f[S+i];var M=k+b-1,A=R-1,L=S+R-1,O=0,_=0;if(f[L--]=f[M--],--b===0){for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i];return}if(R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A];return}for(var I=s;;){var o=0,T=0,F=!1;do if(w(v[A],f[M])<0){if(f[L--]=f[M--],o++,T=0,--b===0){F=!0;break}}else if(f[L--]=v[A--],T++,o=0,--R===1){F=!0;break}while((o|T)<I);if(F)break;do{if(o=b-z(v[A],f,k,b,b-1,w),o!==0){for(L-=o,M-=o,b-=o,_=L+1,O=M+1,i=o-1;i>=0;i--)f[_+i]=f[O+i];if(b===0){F=!0;break}}if(f[L--]=v[A--],--R===1){F=!0;break}if(T=R-U(f[M],v,0,R,R-1,w),T!==0){for(L-=T,A-=T,R-=T,_=L+1,O=A+1,i=0;i<T;i++)f[_+i]=v[O+i];if(R<=1){F=!0;break}}if(f[L--]=f[M--],--b===0){F=!0;break}I--}while(o>=H||T>=H);if(F)break;I<0&&(I=0),I+=2}if(s=I,s<1&&(s=1),R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A]}else{if(R===0)throw new Error;for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i]}}return{mergeRuns:e,forceMergeRuns:D,pushRun:G}}function V(f,w,s,E){s||(s=0),E||(E=f.length);var u=E-s;if(!(u<2)){var d=0;if(u<j){d=C(f,s,E,w),P(f,s,E,s+d,w);return}var v=Q(f,w),G=J(u);do{if(d=C(f,s,E,w),d<G){var e=u;e>G&&(e=G),P(f,s,s+e,s+d,w),d=e}v.pushRun(s,d),v.mergeRuns(),u-=d,s+=d}while(u!==0);v.forceMergeRuns()}}export{V as default};
|
|
3
|
+
//# sourceMappingURL=timsort.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/util */
|
|
2
|
+
import{platformApi as P}from"./platform.mjs";var d=A(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,n){return t["[object "+n+"]"]=!0,t},{}),O=A(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,n){return t["[object "+n+"Array]"]=!0,t},{}),p=Object.prototype.toString,s=Array.prototype,S=s.forEach,M=s.filter,y=s.slice,I=s.map,g=function(){}.constructor,a=g?g.prototype:null,x="__proto__",N=2311;function G(){return N++}function Y(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];typeof console<"u"&&console.error.apply(console,t)}function c(t){if(t==null||typeof t!="object")return t;var n=t,r=p.call(t);if(r==="[object Array]"){if(!u(t)){n=[];for(var e=0,o=t.length;e<o;e++)n[e]=c(t[e])}}else if(O[r]){if(!u(t)){var i=t.constructor;if(i.from)n=i.from(t);else{n=new i(t.length);for(var e=0,o=t.length;e<o;e++)n[e]=t[e]}}}else if(!d[r]&&!u(t)&&!v(t)){n={};for(var f in t)t.hasOwnProperty(f)&&f!==x&&(n[f]=c(t[f]))}return n}function w(t,n,r){if(!l(n)||!l(t))return r?c(n):t;for(var e in n)if(n.hasOwnProperty(e)&&e!==x){var o=t[e],i=n[e];l(i)&&l(o)&&!h(i)&&!h(o)&&!v(i)&&!v(o)&&!m(i)&&!m(o)&&!u(i)&&!u(o)?w(o,i,r):(r||!(e in t))&&(t[e]=c(n[e]))}return t}function q(t,n){for(var r=t[0],e=1,o=t.length;e<o;e++)r=w(r,t[e],n);return r}function T(t,n){if(Object.assign)Object.assign(t,n);else for(var r in n)n.hasOwnProperty(r)&&r!==x&&(t[r]=n[r]);return t}function R(t,n,r){for(var e=b(n),o=0,i=e.length;o<i;o++){var f=e[o];(r?n[f]!=null:t[f]==null)&&(t[f]=n[f])}return t}var J=P.createCanvas;function $(t,n){if(t){if(t.indexOf)return t.indexOf(n);for(var r=0,e=t.length;r<e;r++)if(t[r]===n)return r}return-1}function Q(t,n){var r=t.prototype;function e(){}e.prototype=n.prototype,t.prototype=new e;for(var o in r)r.hasOwnProperty(o)&&(t.prototype[o]=r[o]);t.prototype.constructor=t,t.superClass=n}function V(t,n,r){if(t="prototype"in t?t.prototype:t,n="prototype"in n?n.prototype:n,Object.getOwnPropertyNames)for(var e=Object.getOwnPropertyNames(n),o=0;o<e.length;o++){var i=e[o];i!=="constructor"&&(r?n[i]!=null:t[i]==null)&&(t[i]=n[i])}else R(t,n,r)}function W(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function U(t,n,r){if(t&&n)if(t.forEach&&t.forEach===S)t.forEach(n,r);else if(t.length===+t.length)for(var e=0,o=t.length;e<o;e++)n.call(r,t[e],e,t);else for(var i in t)t.hasOwnProperty(i)&&n.call(r,t[i],i,t)}function X(t,n,r){if(!t)return[];if(!n)return E(t);if(t.map&&t.map===I)return t.map(n,r);for(var e=[],o=0,i=t.length;o<i;o++)e.push(n.call(r,t[o],o,t));return e}function A(t,n,r,e){if(t&&n){for(var o=0,i=t.length;o<i;o++)r=n.call(e,r,t[o],o,t);return r}}function Z(t,n,r){if(!t)return[];if(!n)return E(t);if(t.filter&&t.filter===M)return t.filter(n,r);for(var e=[],o=0,i=t.length;o<i;o++)n.call(r,t[o],o,t)&&e.push(t[o]);return e}function _(t,n,r){if(t&&n){for(var e=0,o=t.length;e<o;e++)if(n.call(r,t[e],e,t))return t[e]}}function b(t){if(!t)return[];if(Object.keys)return Object.keys(t);var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(r);return n}function C(t,n){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];return function(){return t.apply(n,r.concat(y.call(arguments)))}}var z=a&&D(a.bind)?a.call.bind(a.bind):C;function k(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return function(){return t.apply(this,n.concat(y.call(arguments)))}}function h(t){return Array.isArray?Array.isArray(t):p.call(t)==="[object Array]"}function D(t){return typeof t=="function"}function tt(t){return typeof t=="string"}function nt(t){return p.call(t)==="[object String]"}function rt(t){return typeof t=="number"}function l(t){var n=typeof t;return n==="function"||!!t&&n==="object"}function m(t){return!!d[p.call(t)]}function et(t){return!!O[p.call(t)]}function v(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function ot(t){return t.colorStops!=null}function it(t){return t.image!=null}function ft(t){return p.call(t)==="[object RegExp]"}function pt(t){return t!==t}function ut(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,e=t.length;r<e;r++)if(t[r]!=null)return t[r]}function at(t,n){return t??n}function lt(t,n,r){return t??n??r}function E(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return y.apply(t,n)}function ct(t){if(typeof t=="number")return[t,t,t,t];var n=t.length;return n===2?[t[0],t[1],t[0],t[1]]:n===3?[t[0],t[1],t[2],t[1]]:t}function st(t,n){if(!t)throw new Error(n)}function ht(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var j="__ec_primitive__";function vt(t){t[j]=!0}function u(t){return t[j]}var H=function(){function t(){this.data={}}return t.prototype.delete=function(n){var r=this.has(n);return r&&delete this.data[n],r},t.prototype.has=function(n){return this.data.hasOwnProperty(n)},t.prototype.get=function(n){return this.data[n]},t.prototype.set=function(n,r){return this.data[n]=r,this},t.prototype.keys=function(){return b(this.data)},t.prototype.forEach=function(n){var r=this.data;for(var e in r)r.hasOwnProperty(e)&&n(r[e],e)},t}(),F=typeof Map=="function";function K(){return F?new Map:new H}var L=function(){function t(n){var r=h(n);this.data=K();var e=this;n instanceof t?n.each(o):n&&U(n,o);function o(i,f){r?e.set(i,f):e.set(f,i)}}return t.prototype.hasKey=function(n){return this.data.has(n)},t.prototype.get=function(n){return this.data.get(n)},t.prototype.set=function(n,r){return this.data.set(n,r),r},t.prototype.each=function(n,r){this.data.forEach(function(e,o){n.call(r,e,o)})},t.prototype.keys=function(){var n=this.data.keys();return F?Array.from(n):n},t.prototype.removeKey=function(n){this.data.delete(n)},t}();function yt(t){return new L(t)}function xt(t,n){for(var r=new t.constructor(t.length+n.length),e=0;e<t.length;e++)r[e]=t[e];for(var o=t.length,e=0;e<n.length;e++)r[e+o]=n[e];return r}function gt(t,n){var r;if(Object.create)r=Object.create(t);else{var e=function(){};e.prototype=t,r=new e}return n&&T(r,n),r}function mt(t){var n=t.style;n.webkitUserSelect="none",n.userSelect="none",n.webkitTapHighlightColor="rgba(0,0,0,0)",n["-webkit-touch-callout"]="none"}function dt(t,n){return t.hasOwnProperty(n)}function Ot(){}var wt=180/Math.PI,At=Number.EPSILON||Math.pow(2,-52);export{At as EPSILON,L as HashMap,wt as RADIAN_TO_DEGREE,st as assert,z as bind,c as clone,xt as concatArray,J as createCanvas,yt as createHashMap,gt as createObject,k as curry,R as defaults,mt as disableUserSelect,U as each,pt as eqNaN,T as extend,Z as filter,_ as find,G as guid,dt as hasOwn,$ as indexOf,Q as inherits,h as isArray,W as isArrayLike,m as isBuiltInObject,v as isDom,D as isFunction,ot as isGradientObject,it as isImagePatternObject,rt as isNumber,l as isObject,u as isPrimitive,ft as isRegExp,tt as isString,nt as isStringSafe,et as isTypedArray,b as keys,Y as logError,X as map,w as merge,q as mergeAll,V as mixin,Ot as noop,ct as normalizeCssArray,A as reduce,ut as retrieve,at as retrieve2,lt as retrieve3,vt as setAsPrimitive,E as slice,ht as trim};
|
|
3
|
+
//# sourceMappingURL=util.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/vector */
|
|
2
|
+
function f(r,n){return r==null&&(r=0),n==null&&(n=0),[r,n]}function o(r,n){return r[0]=n[0],r[1]=n[1],r}function u(r){return[r[0],r[1]]}function l(r,n,e){return r[0]=n,r[1]=e,r}function d(r,n,e){return r[0]=n[0]+e[0],r[1]=n[1]+e[1],r}function s(r,n,e,t){return r[0]=n[0]+e[0]*t,r[1]=n[1]+e[1]*t,r}function h(r,n,e){return r[0]=n[0]-e[0],r[1]=n[1]-e[1],r}function a(r){return Math.sqrt(p(r))}var q=a;function p(r){return r[0]*r[0]+r[1]*r[1]}var M=p;function m(r,n,e){return r[0]=n[0]*e[0],r[1]=n[1]*e[1],r}function S(r,n,e){return r[0]=n[0]/e[0],r[1]=n[1]/e[1],r}function g(r,n){return r[0]*n[0]+r[1]*n[1]}function A(r,n,e){return r[0]=n[0]*e,r[1]=n[1]*e,r}function b(r,n){var e=a(n);return e===0?(r[0]=0,r[1]=0):(r[0]=n[0]/e,r[1]=n[1]/e),r}function c(r,n){return Math.sqrt((r[0]-n[0])*(r[0]-n[0])+(r[1]-n[1])*(r[1]-n[1]))}var y=c;function x(r,n){return(r[0]-n[0])*(r[0]-n[0])+(r[1]-n[1])*(r[1]-n[1])}var z=x;function T(r,n){return r[0]=-n[0],r[1]=-n[1],r}function j(r,n,e,t){return r[0]=n[0]+t*(e[0]-n[0]),r[1]=n[1]+t*(e[1]-n[1]),r}function k(r,n,e){var t=n[0],i=n[1];return r[0]=e[0]*t+e[2]*i+e[4],r[1]=e[1]*t+e[3]*i+e[5],r}function w(r,n,e){return r[0]=Math.min(n[0],e[0]),r[1]=Math.min(n[1],e[1]),r}function B(r,n,e){return r[0]=Math.max(n[0],e[0]),r[1]=Math.max(n[1],e[1]),r}export{d as add,k as applyTransform,u as clone,o as copy,f as create,y as dist,z as distSquare,c as distance,x as distanceSquare,S as div,g as dot,a as len,p as lenSquare,q as length,M as lengthSquare,j as lerp,B as max,w as min,m as mul,T as negate,b as normalize,A as scale,s as scaleAndAdd,l as set,h as sub};
|
|
3
|
+
//# sourceMappingURL=vector.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/dom/HandlerProxy */
|
|
2
|
+
import{__extends as H}from"/tslib@2.3.0/es2022/tslib.mjs";import{addEventListener as C,removeEventListener as E,normalizeEvent as n,getNativeEvent as y}from"../core/event.mjs";import*as u from"../core/util.mjs";import S from"../core/Eventful.mjs";import a from"../core/env.mjs";var D=300,h=a.domSupported,c=function(){var o=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=u.map(o,function(e){var s=e.replace("mouse","pointer");return r.hasOwnProperty(s)?s:e});return{mouse:o,touch:t,pointer:i}}(),_={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},T=!1;function d(o){var t=o.pointerType;return t==="pen"||t==="touch"}function L(o){o.touching=!0,o.touchTimer!=null&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout(function(){o.touching=!1,o.touchTimer=null},700)}function p(o){o&&(o.zrByTouch=!0)}function O(o,t){return n(o.dom,new b(o,t),!0)}function z(o,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===o.painterRoot);)r=r.parentNode;return i}var b=function(){function o(t,r){this.stopPropagation=u.noop,this.stopImmediatePropagation=u.noop,this.preventDefault=u.noop,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return o}(),l={mousedown:function(o){o=n(this.dom,o),this.__mayPointerCapture=[o.zrX,o.zrY],this.trigger("mousedown",o)},mousemove:function(o){o=n(this.dom,o);var t=this.__mayPointerCapture;t&&(o.zrX!==t[0]||o.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",o)},mouseup:function(o){o=n(this.dom,o),this.__togglePointerCapture(!1),this.trigger("mouseup",o)},mouseout:function(o){o=n(this.dom,o);var t=o.toElement||o.relatedTarget;z(this,t)||(this.__pointerCapturing&&(o.zrEventControl="no_globalout"),this.trigger("mouseout",o))},wheel:function(o){T=!0,o=n(this.dom,o),this.trigger("mousewheel",o)},mousewheel:function(o){T||(o=n(this.dom,o),this.trigger("mousewheel",o))},touchstart:function(o){o=n(this.dom,o),p(o),this.__lastTouchMoment=new Date,this.handler.processGesture(o,"start"),l.mousemove.call(this,o),l.mousedown.call(this,o)},touchmove:function(o){o=n(this.dom,o),p(o),this.handler.processGesture(o,"change"),l.mousemove.call(this,o)},touchend:function(o){o=n(this.dom,o),p(o),this.handler.processGesture(o,"end"),l.mouseup.call(this,o),+new Date-+this.__lastTouchMoment<D&&l.click.call(this,o)},pointerdown:function(o){l.mousedown.call(this,o)},pointermove:function(o){d(o)||l.mousemove.call(this,o)},pointerup:function(o){l.mouseup.call(this,o)},pointerout:function(o){d(o)||l.mouseout.call(this,o)}};u.each(["click","dblclick","contextmenu"],function(o){l[o]=function(t){t=n(this.dom,t),this.trigger(o,t)}});var g={pointermove:function(o){d(o)||g.mousemove.call(this,o)},pointerup:function(o){g.mouseup.call(this,o)},mousemove:function(o){this.trigger("mousemove",o)},mouseup:function(o){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",o),t&&(o.zrEventControl="only_globalout",this.trigger("mouseout",o))}};function P(o,t){var r=t.domHandlers;a.pointerEventsSupported?u.each(c.pointer,function(i){m(t,i,function(e){r[i].call(o,e)})}):(a.touchEventsSupported&&u.each(c.touch,function(i){m(t,i,function(e){r[i].call(o,e),L(t)})}),u.each(c.mouse,function(i){m(t,i,function(e){e=y(e),t.touching||r[i].call(o,e)})}))}function U(o,t){a.pointerEventsSupported?u.each(_.pointer,r):a.touchEventsSupported||u.each(_.mouse,r);function r(i){function e(s){s=y(s),z(o,s.target)||(s=O(o,s),t.domHandlers[i].call(o,s))}m(t,i,e,{capture:!0})}}function m(o,t,r,i){o.mounted[t]=r,o.listenerOpts[t]=i,C(o.domTarget,t,r,i)}function f(o){var t=o.mounted;for(var r in t)t.hasOwnProperty(r)&&E(o.domTarget,r,t[r],o.listenerOpts[r]);o.mounted={}}var w=function(){function o(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return o}(),M=function(o){H(t,o);function t(r,i){var e=o.call(this)||this;return e.__pointerCapturing=!1,e.dom=r,e.painterRoot=i,e._localHandlerScope=new w(r,l),h&&(e._globalHandlerScope=new w(document,g)),P(e,e._localHandlerScope),e}return t.prototype.dispose=function(){f(this._localHandlerScope),h&&f(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,h&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var i=this._globalHandlerScope;r?U(this,i):f(i)}},t}(S),X=M;export{X as default};
|
|
3
|
+
//# sourceMappingURL=HandlerProxy.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/CompoundPath */
|
|
2
|
+
import{__extends as n}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"./Path.mjs";var s=function(o){n(e,o);function e(){var t=o!==null&&o.apply(this,arguments)||this;return t.type="compound",t}return e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,h=this.shapeChanged(),a=0;a<t.length;a++)h=h||t[a].shapeChanged();h&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],h=this.getGlobalScale(),a=0;a<t.length;a++)t[a].path||t[a].createPathProxy(),t[a].path.setScale(h[0],h[1],t[a].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,h){for(var a=h.paths||[],r=0;r<a.length;r++)a[r].buildPath(t,a[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],h=0;h<t.length;h++)t[h].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),p.prototype.getBoundingRect.call(this)},e}(p),l=s;export{l as default};
|
|
3
|
+
//# sourceMappingURL=CompoundPath.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Displayable */
|
|
2
|
+
import{__extends as M}from"/tslib@2.3.0/es2022/tslib.mjs";import w from"../Element.mjs";import p from"../core/BoundingRect.mjs";import{keys as _,extend as P,createObject as B}from"../core/util.mjs";import{REDRAW_BIT as E,STYLE_CHANGED_BIT as c}from"./constants.mjs";var m="__zr_style_"+Math.round(Math.random()*10),A={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},b={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};A[m]=!0;var T=["z","z2","invisible"],x=["invisible"],Y=function(a){M(i,a);function i(t){return a.call(this,t)||this}return i.prototype._init=function(t){for(var e=_(t),r=0;r<e.length;r++){var o=e[r];o==="style"?this.useStyle(t[o]):a.prototype.attrKV.call(this,o,t[o])}this.style||this.useStyle({})},i.prototype.beforeBrush=function(){},i.prototype.afterBrush=function(){},i.prototype.innerBeforeBrush=function(){},i.prototype.innerAfterBrush=function(){},i.prototype.shouldBePainted=function(t,e,r,o){var n=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&D(this,t,e)||n&&!n[0]&&!n[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var f=0;f<this.__clipPaths.length;++f)if(this.__clipPaths[f].isZeroArea())return!1}if(o&&this.parent)for(var h=this.parent;h;){if(h.ignore)return!1;h=h.parent}return!0},i.prototype.contain=function(t,e){return this.rectContain(t,e)},i.prototype.traverse=function(t,e){t.call(e,this)},i.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e),o=this.getBoundingRect();return o.contain(r[0],r[1])},i.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),o=this.style,n=o.shadowBlur||0,f=o.shadowOffsetX||0,h=o.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new p(0,0,0,0)),e?p.applyTransform(t,r,e):t.copy(r),(n||f||h)&&(t.width+=n*2+Math.abs(f),t.height+=n*2+Math.abs(h),t.x=Math.min(t.x,t.x+f-n),t.y=Math.min(t.y,t.y+h-n));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+s*2),t.height=Math.ceil(t.height+1+s*2))}return t},i.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new p(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},i.prototype.getPrevPaintRect=function(){return this._prevPaintRect},i.prototype.animateStyle=function(t){return this.animate("style",t)},i.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},i.prototype.attrKV=function(t,e){t!=="style"?a.prototype.attrKV.call(this,t,e):this.style?this.setStyle(e):this.useStyle(e)},i.prototype.setStyle=function(t,e){return typeof t=="string"?this.style[t]=e:P(this.style,t),this.dirtyStyle(),this},i.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=c,this._rect&&(this._rect=null)},i.prototype.dirty=function(){this.dirtyStyle()},i.prototype.styleChanged=function(){return!!(this.__dirty&c)},i.prototype.styleUpdated=function(){this.__dirty&=~c},i.prototype.createStyle=function(t){return B(A,t)},i.prototype.useStyle=function(t){t[m]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},i.prototype.isStyleObject=function(t){return t[m]},i.prototype._innerSaveToNormal=function(t){a.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.style&&!e.style&&(e.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,e,T)},i.prototype._applyStateObj=function(t,e,r,o,n,f){a.prototype._applyStateObj.call(this,t,e,r,o,n,f);var h=!(e&&o),s;if(e&&e.style?n?o?s=e.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,e.style)):(s=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(s,e.style)):h&&(s=r.style),s)if(n){var u=this.style;if(this.style=this.createStyle(h?{}:u),h)for(var g=_(u),y=0;y<g.length;y++){var l=g[y];l in s&&(s[l]=s[l],this.style[l]=u[l])}for(var S=_(s),y=0;y<S.length;y++){var l=S[y];this.style[l]=this.style[l]}this._transitionState(t,{style:s},f,this.getAnimationStyleProps())}else this.useStyle(s);for(var R=this.__inHover?x:T,y=0;y<R.length;y++){var l=R[y];e&&e[l]!=null?this[l]=e[l]:h&&r[l]!=null&&(this[l]=r[l])}},i.prototype._mergeStates=function(t){for(var e=a.prototype._mergeStates.call(this,t),r,o=0;o<t.length;o++){var n=t[o];n.style&&(r=r||{},this._mergeStyle(r,n.style))}return r&&(e.style=r),e},i.prototype._mergeStyle=function(t,e){return P(t,e),t},i.prototype.getAnimationStyleProps=function(){return b},i.initDefaultProps=function(){var t=i.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=E|c}(),i}(w),v=new p(0,0,0,0),d=new p(0,0,0,0);function D(a,i,t){return v.copy(a.getBoundingRect()),a.transform&&v.applyTransform(a.transform),d.width=i,d.height=t,!v.intersect(d)}var H=Y;export{b as DEFAULT_COMMON_ANIMATION_PROPS,A as DEFAULT_COMMON_STYLE,H as default};
|
|
3
|
+
//# sourceMappingURL=Displayable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Group */
|
|
2
|
+
import{__extends as c}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"../core/util.mjs";import d from"../Element.mjs";import u from"../core/BoundingRect.mjs";var v=function(a){c(o,a);function o(r){var t=a.call(this)||this;return t.isGroup=!0,t._children=[],t.attr(r),t}return o.prototype.childrenRef=function(){return this._children},o.prototype.children=function(){return this._children.slice()},o.prototype.childAt=function(r){return this._children[r]},o.prototype.childOfName=function(r){for(var t=this._children,e=0;e<t.length;e++)if(t[e].name===r)return t[e]},o.prototype.childCount=function(){return this._children.length},o.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},o.prototype.addBefore=function(r,t){if(r&&r!==this&&r.parent!==this&&t&&t.parent===this){var e=this._children,n=e.indexOf(t);n>=0&&(e.splice(n,0,r),this._doAdd(r))}return this},o.prototype.replace=function(r,t){var e=s.indexOf(this._children,r);return e>=0&&this.replaceAt(t,e),this},o.prototype.replaceAt=function(r,t){var e=this._children,n=e[t];if(r&&r!==this&&r.parent!==this&&r!==n){e[t]=r,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(r)}return this},o.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var t=this.__zr;t&&t!==r.__zr&&r.addSelfToZr(t),t&&t.refresh()},o.prototype.remove=function(r){var t=this.__zr,e=this._children,n=s.indexOf(e,r);return n<0?this:(e.splice(n,1),r.parent=null,t&&r.removeSelfFromZr(t),t&&t.refresh(),this)},o.prototype.removeAll=function(){for(var r=this._children,t=this.__zr,e=0;e<r.length;e++){var n=r[e];t&&n.removeSelfFromZr(t),n.parent=null}return r.length=0,this},o.prototype.eachChild=function(r,t){for(var e=this._children,n=0;n<e.length;n++){var i=e[n];r.call(t,i,n)}return this},o.prototype.traverse=function(r,t){for(var e=0;e<this._children.length;e++){var n=this._children[e],i=r.call(t,n);n.isGroup&&!i&&n.traverse(r,t)}return this},o.prototype.addSelfToZr=function(r){a.prototype.addSelfToZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.addSelfToZr(r)}},o.prototype.removeSelfFromZr=function(r){a.prototype.removeSelfFromZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.removeSelfFromZr(r)}},o.prototype.getBoundingRect=function(r){for(var t=new u(0,0,0,0),e=r||this._children,n=[],i=null,p=0;p<e.length;p++){var h=e[p];if(!(h.ignore||h.invisible)){var f=h.getBoundingRect(),l=h.getLocalTransform(n);l?(u.applyTransform(t,f,l),i=i||t.clone(),i.union(t)):(i=i||f.clone(),i.union(f))}}return i||t},o}(d);v.prototype.type="group";var g=v;export{g as default};
|
|
3
|
+
//# sourceMappingURL=Group.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Image */
|
|
2
|
+
import{__extends as s}from"/tslib@2.3.0/es2022/tslib.mjs";import p,{DEFAULT_COMMON_STYLE as y,DEFAULT_COMMON_ANIMATION_PROPS as f}from"./Displayable.mjs";import l from"../core/BoundingRect.mjs";import{defaults as g,createObject as _}from"../core/util.mjs";var m=g({x:0,y:0},y),c={style:g({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},f.style)};function A(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var a=function(e){s(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.createStyle=function(t){return _(m,t)},r.prototype._getSize=function(t){var i=this.style,o=i[t];if(o!=null)return o;var n=A(i.image)?i.image:this.__image;if(!n)return 0;var h=t==="width"?"height":"width",u=i[h];return u==null?n[t]:n[t]/n[h]*u},r.prototype.getWidth=function(){return this._getSize("width")},r.prototype.getHeight=function(){return this._getSize("height")},r.prototype.getAnimationStyleProps=function(){return c},r.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new l(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},r}(p);a.prototype.type="image";var O=a;export{c as DEFAULT_IMAGE_ANIMATION_PROPS,m as DEFAULT_IMAGE_STYLE,O as default};
|
|
3
|
+
//# sourceMappingURL=Image.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/IncrementalDisplayable */
|
|
2
|
+
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"./Displayable.mjs";import y from"../core/BoundingRect.mjs";var h=[],u=function(i){l(a,i);function a(){var t=i!==null&&i.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return a.prototype.traverse=function(t,r){t.call(r,this)},a.prototype.useStyle=function(){this.style={}},a.prototype.getCursor=function(){return this._cursor},a.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},a.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},a.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},a.prototype.addDisplayable=function(t,r){r?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},a.prototype.addDisplayables=function(t,r){r=r||!1;for(var e=0;e<t.length;e++)this.addDisplayable(t[e],r)},a.prototype.getDisplayables=function(){return this._displayables},a.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},a.prototype.eachPendingDisplayable=function(t){for(var r=this._cursor;r<this._displayables.length;r++)t&&t(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)t&&t(this._temporaryDisplayables[r])},a.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var r=this._displayables[t];r.parent=this,r.update(),r.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var r=this._temporaryDisplayables[t];r.parent=this,r.update(),r.parent=null}},a.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new y(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var e=this._displayables[r],s=e.getBoundingRect().clone();e.needLocalTransform()&&s.applyTransform(e.getLocalTransform(h)),t.union(s)}this._rect=t}return this._rect},a.prototype.contain=function(t,r){var e=this.transformCoordToLocal(t,r),s=this.getBoundingRect();if(s.contain(e[0],e[1]))for(var o=0;o<this._displayables.length;o++){var n=this._displayables[o];if(n.contain(t,r))return!0}return!1},a}(p),m=u;export{m as default};
|
|
3
|
+
//# sourceMappingURL=IncrementalDisplayable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/LinearGradient */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import d from"./Gradient.mjs";var m=function(r){f(t,r);function t(l,e,i,a,o,u){var n=r.call(this,o)||this;return n.x=l??0,n.y=e??0,n.x2=i??1,n.y2=a??0,n.type="linear",n.global=u||!1,n}return t}(d),h=m;export{h as default};
|
|
3
|
+
//# sourceMappingURL=LinearGradient.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Path */
|
|
2
|
+
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import R,{DEFAULT_COMMON_STYLE as b,DEFAULT_COMMON_ANIMATION_PROPS as E}from"./Displayable.mjs";import F from"../core/PathProxy.mjs";import*as y from"../contain/path.mjs";import{defaults as O,keys as g,extend as p,clone as S,isString as P,createObject as x}from"../core/util.mjs";import{lum as T}from"../tool/color.mjs";import{DARK_LABEL_COLOR as A,LIGHT_LABEL_COLOR as D,DARK_MODE_THRESHOLD as C,LIGHTER_LABEL_COLOR as N}from"../config.mjs";import{REDRAW_BIT as L,SHAPE_CHANGED_BIT as c,STYLE_CHANGED_BIT as B}from"./constants.mjs";import{TRANSFORMABLE_PROPS as I}from"../core/Transformable.mjs";var M=O({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},b),H={style:O({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},E.style)},d=I.concat(["invisible","culling","z","z2","zlevel","parent"]),U=function(l){m(r,l);function r(t){return l.call(this,t)||this}return r.prototype.update=function(){var t=this;l.prototype.update.call(this);var e=this.style;if(e.decal){var i=this._decalEl=this._decalEl||new r;i.buildPath===r.prototype.buildPath&&(i.buildPath=function(n){t.buildPath(n,t.shape)}),i.silent=!0;var h=i.style;for(var a in e)h[a]!==e[a]&&(h[a]=e[a]);h.fill=e.fill?e.decal:null,h.decal=null,h.shadowColor=null,e.strokeFirst&&(h.stroke=null);for(var o=0;o<d.length;++o)i[d[o]]=this[d[o]];i.__dirty|=L}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(t){var e=g(t);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var h=0;h<e.length;h++){var a=e[h],o=t[a];a==="style"?this.style?p(this.style,o):this.useStyle(o):a==="shape"?p(this.shape,o):l.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(P(t)){var e=T(t,0);return e>.5?A:e>.2?N:D}else if(t)return D}return A},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(P(e)){var i=this.__zr,h=!!(i&&i.isDarkMode()),a=T(t,0)<C;if(h===a)return e}},r.prototype.buildPath=function(t,e,i){},r.prototype.pathUpdated=function(){this.__dirty&=~c},r.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new F(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))},r.prototype.hasFill=function(){var t=this.style,e=t.fill;return e!=null&&e!=="none"},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var h=!1;this.path||(h=!0,this.createPathProxy());var a=this.path;(h||this.__dirty&c)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){o.copy(t);var n=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;s=Math.max(s,f??4)}n>1e-10&&(o.width+=s/n,o.height+=s/n,o.x-=s/n/2,o.y-=s/n/2)}return o}return t},r.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),h=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],h.contain(t,e)){var o=this.path;if(this.hasStroke()){var n=a.lineWidth,s=a.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(n=Math.max(n,this.strokeContainThreshold)),y.containStroke(o,n/s,t,e)))return!0}if(this.hasFill())return y.contain(o,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=c,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(t,e){t==="shape"?this.setShape(e):l.prototype.attrKV.call(this,t,e)},r.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),typeof t=="string"?i[t]=e:p(i,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&c)},r.prototype.createStyle=function(t){return x(M,t)},r.prototype._innerSaveToNormal=function(t){l.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.shape&&!e.shape&&(e.shape=p({},this.shape))},r.prototype._applyStateObj=function(t,e,i,h,a,o){l.prototype._applyStateObj.call(this,t,e,i,h,a,o);var n=!(e&&h),s;if(e&&e.shape?a?h?s=e.shape:(s=p({},i.shape),p(s,e.shape)):(s=p({},h?this.shape:i.shape),p(s,e.shape)):n&&(s=i.shape),s)if(a){this.shape=p({},this.shape);for(var f={},v=g(s),_=0;_<v.length;_++){var u=v[_];typeof s[u]=="object"?this.shape[u]=s[u]:f[u]=s[u]}this._transitionState(t,{shape:f},o)}else this.shape=s,this.dirtyShape()},r.prototype._mergeStates=function(t){for(var e=l.prototype._mergeStates.call(this,t),i,h=0;h<t.length;h++){var a=t[h];a.shape&&(i=i||{},this._mergeStyle(i,a.shape))}return i&&(e.shape=i),e},r.prototype.getAnimationStyleProps=function(){return H},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(h){m(a,h);function a(o){var n=h.call(this,o)||this;return t.init&&t.init.call(n,o),n}return a.prototype.getDefaultStyle=function(){return S(t.style)},a.prototype.getDefaultShape=function(){return S(t.shape)},a}(r);for(var i in t)typeof t[i]=="function"&&(e.prototype[i]=t[i]);return e},r.initDefaultProps=function(){var t=r.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=L|B|c}(),r}(R),w=U;export{H as DEFAULT_PATH_ANIMATION_PROPS,M as DEFAULT_PATH_STYLE,w as default};
|
|
3
|
+
//# sourceMappingURL=Path.mjs.map
|