web-core-tcm 0.0.59 → 0.0.61
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/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { __extends as F } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { isObject as D, disableUserSelect as L, each as U, isGradientObject as G, isImagePatternObject as W } from "../core/util.js";
|
|
3
|
+
import { devicePixelRatio as X } from "../config.js";
|
|
4
|
+
import Y from "../core/Eventful.js";
|
|
5
|
+
import { getCanvasGradient as Z } from "./helper.js";
|
|
6
|
+
import { createCanvasPattern as O } from "./graphic.js";
|
|
7
|
+
import R from "../core/BoundingRect.js";
|
|
8
|
+
import { REDRAW_BIT as S } from "../graphic/constants.js";
|
|
9
|
+
import { platformApi as q } from "../core/platform.js";
|
|
10
|
+
function E(I, h, a) {
|
|
11
|
+
var i = q.createCanvas(), r = h.getWidth(), e = h.getHeight(), t = i.style;
|
|
12
|
+
return t && (t.position = "absolute", t.left = "0", t.top = "0", t.width = r + "px", t.height = e + "px", i.setAttribute("data-zr-dom-id", I)), i.width = r * a, i.height = e * a, i;
|
|
13
|
+
}
|
|
14
|
+
var C = (function(I) {
|
|
15
|
+
F(h, I);
|
|
16
|
+
function h(a, i, r) {
|
|
17
|
+
var e = I.call(this) || this;
|
|
18
|
+
e.motionBlur = !1, e.lastFrameAlpha = 0.7, e.dpr = 1, e.virtual = !1, e.config = {}, e.incremental = !1, e.zlevel = 0, e.maxRepaintRectCount = 5, e.__dirty = !0, e.__firstTimePaint = !0, e.__used = !1, e.__drawIndex = 0, e.__startIndex = 0, e.__endIndex = 0, e.__prevStartIndex = null, e.__prevEndIndex = null;
|
|
19
|
+
var t;
|
|
20
|
+
r = r || X, typeof a == "string" ? t = E(a, i, r) : D(a) && (t = a, a = t.id), e.id = a, e.dom = t;
|
|
21
|
+
var o = t.style;
|
|
22
|
+
return o && (L(t), t.onselectstart = function() {
|
|
23
|
+
return !1;
|
|
24
|
+
}, o.padding = "0", o.margin = "0", o.borderWidth = "0"), e.painter = i, e.dpr = r, e;
|
|
25
|
+
}
|
|
26
|
+
return h.prototype.getElementCount = function() {
|
|
27
|
+
return this.__endIndex - this.__startIndex;
|
|
28
|
+
}, h.prototype.afterBrush = function() {
|
|
29
|
+
this.__prevStartIndex = this.__startIndex, this.__prevEndIndex = this.__endIndex;
|
|
30
|
+
}, h.prototype.initContext = function() {
|
|
31
|
+
this.ctx = this.dom.getContext("2d"), this.ctx.dpr = this.dpr;
|
|
32
|
+
}, h.prototype.setUnpainted = function() {
|
|
33
|
+
this.__firstTimePaint = !0;
|
|
34
|
+
}, h.prototype.createBackBuffer = function() {
|
|
35
|
+
var a = this.dpr;
|
|
36
|
+
this.domBack = E("back-" + this.id, this.painter, a), this.ctxBack = this.domBack.getContext("2d"), a !== 1 && this.ctxBack.scale(a, a);
|
|
37
|
+
}, h.prototype.createRepaintRects = function(a, i, r, e) {
|
|
38
|
+
if (this.__firstTimePaint)
|
|
39
|
+
return this.__firstTimePaint = !1, null;
|
|
40
|
+
var t = [], o = this.maxRepaintRectCount, m = !1, _ = new R(0, 0, 0, 0);
|
|
41
|
+
function x(f) {
|
|
42
|
+
if (!(!f.isFinite() || f.isZero()))
|
|
43
|
+
if (t.length === 0) {
|
|
44
|
+
var v = new R(0, 0, 0, 0);
|
|
45
|
+
v.copy(f), t.push(v);
|
|
46
|
+
} else {
|
|
47
|
+
for (var g = !1, w = 1 / 0, P = 0, y = 0; y < t.length; ++y) {
|
|
48
|
+
var B = t[y];
|
|
49
|
+
if (B.intersect(f)) {
|
|
50
|
+
var k = new R(0, 0, 0, 0);
|
|
51
|
+
k.copy(B), k.union(f), t[y] = k, g = !0;
|
|
52
|
+
break;
|
|
53
|
+
} else if (m) {
|
|
54
|
+
_.copy(f), _.union(B);
|
|
55
|
+
var A = f.width * f.height, T = B.width * B.height, z = _.width * _.height, b = z - A - T;
|
|
56
|
+
b < w && (w = b, P = y);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (m && (t[P].union(f), g = !0), !g) {
|
|
60
|
+
var v = new R(0, 0, 0, 0);
|
|
61
|
+
v.copy(f), t.push(v);
|
|
62
|
+
}
|
|
63
|
+
m || (m = t.length >= o);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
for (var n = this.__startIndex; n < this.__endIndex; ++n) {
|
|
67
|
+
var s = a[n];
|
|
68
|
+
if (s) {
|
|
69
|
+
var l = s.shouldBePainted(r, e, !0, !0), u = s.__isRendered && (s.__dirty & S || !l) ? s.getPrevPaintRect() : null;
|
|
70
|
+
u && x(u);
|
|
71
|
+
var p = l && (s.__dirty & S || !s.__isRendered) ? s.getPaintRect() : null;
|
|
72
|
+
p && x(p);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
for (var n = this.__prevStartIndex; n < this.__prevEndIndex; ++n) {
|
|
76
|
+
var s = i[n], l = s && s.shouldBePainted(r, e, !0, !0);
|
|
77
|
+
if (s && (!l || !s.__zr) && s.__isRendered) {
|
|
78
|
+
var u = s.getPrevPaintRect();
|
|
79
|
+
u && x(u);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
var c;
|
|
83
|
+
do {
|
|
84
|
+
c = !1;
|
|
85
|
+
for (var n = 0; n < t.length; ) {
|
|
86
|
+
if (t[n].isZero()) {
|
|
87
|
+
t.splice(n, 1);
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
for (var d = n + 1; d < t.length; )
|
|
91
|
+
t[n].intersect(t[d]) ? (c = !0, t[n].union(t[d]), t.splice(d, 1)) : d++;
|
|
92
|
+
n++;
|
|
93
|
+
}
|
|
94
|
+
} while (c);
|
|
95
|
+
return this._paintRects = t, t;
|
|
96
|
+
}, h.prototype.debugGetPaintRects = function() {
|
|
97
|
+
return (this._paintRects || []).slice();
|
|
98
|
+
}, h.prototype.resize = function(a, i) {
|
|
99
|
+
var r = this.dpr, e = this.dom, t = e.style, o = this.domBack;
|
|
100
|
+
t && (t.width = a + "px", t.height = i + "px"), e.width = a * r, e.height = i * r, o && (o.width = a * r, o.height = i * r, r !== 1 && this.ctxBack.scale(r, r));
|
|
101
|
+
}, h.prototype.clear = function(a, i, r) {
|
|
102
|
+
var e = this.dom, t = this.ctx, o = e.width, m = e.height;
|
|
103
|
+
i = i || this.clearColor;
|
|
104
|
+
var _ = this.motionBlur && !a, x = this.lastFrameAlpha, n = this.dpr, s = this;
|
|
105
|
+
_ && (this.domBack || this.createBackBuffer(), this.ctxBack.globalCompositeOperation = "copy", this.ctxBack.drawImage(e, 0, 0, o / n, m / n));
|
|
106
|
+
var l = this.domBack;
|
|
107
|
+
function u(p, c, d, f) {
|
|
108
|
+
if (t.clearRect(p, c, d, f), i && i !== "transparent") {
|
|
109
|
+
var v = void 0;
|
|
110
|
+
if (G(i)) {
|
|
111
|
+
var g = i.global || i.__width === d && i.__height === f;
|
|
112
|
+
v = g && i.__canvasGradient || Z(t, i, {
|
|
113
|
+
x: 0,
|
|
114
|
+
y: 0,
|
|
115
|
+
width: d,
|
|
116
|
+
height: f
|
|
117
|
+
}), i.__canvasGradient = v, i.__width = d, i.__height = f;
|
|
118
|
+
} else W(i) && (i.scaleX = i.scaleX || n, i.scaleY = i.scaleY || n, v = O(t, i, {
|
|
119
|
+
dirty: function() {
|
|
120
|
+
s.setUnpainted(), s.painter.refresh();
|
|
121
|
+
}
|
|
122
|
+
}));
|
|
123
|
+
t.save(), t.fillStyle = v || i, t.fillRect(p, c, d, f), t.restore();
|
|
124
|
+
}
|
|
125
|
+
_ && (t.save(), t.globalAlpha = x, t.drawImage(l, p, c, d, f), t.restore());
|
|
126
|
+
}
|
|
127
|
+
!r || _ ? u(0, 0, o, m) : r.length && U(r, function(p) {
|
|
128
|
+
u(p.x * n, p.y * n, p.width * n, p.height * n);
|
|
129
|
+
});
|
|
130
|
+
}, h;
|
|
131
|
+
})(Y);
|
|
132
|
+
export {
|
|
133
|
+
C as default
|
|
134
|
+
};
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { devicePixelRatio as Z } from "../config.js";
|
|
2
|
+
import { each as k, merge as C, logError as z, indexOf as F, extend as U, disableUserSelect as j } from "../core/util.js";
|
|
3
|
+
import P from "./Layer.js";
|
|
4
|
+
import q from "../animation/requestAnimationFrame.js";
|
|
5
|
+
import Y from "../core/env.js";
|
|
6
|
+
import { brush as I, brushSingle as G } from "./graphic.js";
|
|
7
|
+
import { REDRAW_BIT as J } from "../graphic/constants.js";
|
|
8
|
+
import { getSize as R } from "./helper.js";
|
|
9
|
+
var V = 1e5, g = 314159, b = 0.01, K = 1e-3;
|
|
10
|
+
function Q(a) {
|
|
11
|
+
return a ? a.__builtin__ ? !0 : !(typeof a.resize != "function" || typeof a.refresh != "function") : !1;
|
|
12
|
+
}
|
|
13
|
+
function X(a, t) {
|
|
14
|
+
var i = document.createElement("div");
|
|
15
|
+
return i.style.cssText = [
|
|
16
|
+
"position:relative",
|
|
17
|
+
"width:" + a + "px",
|
|
18
|
+
"height:" + t + "px",
|
|
19
|
+
"padding:0",
|
|
20
|
+
"margin:0",
|
|
21
|
+
"border-width:0"
|
|
22
|
+
].join(";") + ";", i;
|
|
23
|
+
}
|
|
24
|
+
var ot = (function() {
|
|
25
|
+
function a(t, i, e, r) {
|
|
26
|
+
this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas";
|
|
27
|
+
var s = !t.nodeName || t.nodeName.toUpperCase() === "CANVAS";
|
|
28
|
+
this._opts = e = U({}, e || {}), this.dpr = e.devicePixelRatio || Z, this._singleCanvas = s, this.root = t;
|
|
29
|
+
var n = t.style;
|
|
30
|
+
n && (j(t), t.innerHTML = ""), this.storage = i;
|
|
31
|
+
var f = this._zlevelList;
|
|
32
|
+
this._prevDisplayList = [];
|
|
33
|
+
var o = this._layers;
|
|
34
|
+
if (s) {
|
|
35
|
+
var h = t, _ = h.width, p = h.height;
|
|
36
|
+
e.width != null && (_ = e.width), e.height != null && (p = e.height), this.dpr = e.devicePixelRatio || 1, h.width = _ * this.dpr, h.height = p * this.dpr, this._width = _, this._height = p;
|
|
37
|
+
var u = new P(h, this, this.dpr);
|
|
38
|
+
u.__builtin__ = !0, u.initContext(), o[g] = u, u.zlevel = g, f.push(g), this._domRoot = t;
|
|
39
|
+
} else {
|
|
40
|
+
this._width = R(t, 0, e), this._height = R(t, 1, e);
|
|
41
|
+
var v = this._domRoot = X(this._width, this._height);
|
|
42
|
+
t.appendChild(v);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return a.prototype.getType = function() {
|
|
46
|
+
return "canvas";
|
|
47
|
+
}, a.prototype.isSingleCanvas = function() {
|
|
48
|
+
return this._singleCanvas;
|
|
49
|
+
}, a.prototype.getViewportRoot = function() {
|
|
50
|
+
return this._domRoot;
|
|
51
|
+
}, a.prototype.getViewportRootOffset = function() {
|
|
52
|
+
var t = this.getViewportRoot();
|
|
53
|
+
if (t)
|
|
54
|
+
return {
|
|
55
|
+
offsetLeft: t.offsetLeft || 0,
|
|
56
|
+
offsetTop: t.offsetTop || 0
|
|
57
|
+
};
|
|
58
|
+
}, a.prototype.refresh = function(t) {
|
|
59
|
+
var i = this.storage.getDisplayList(!0), e = this._prevDisplayList, r = this._zlevelList;
|
|
60
|
+
this._redrawId = Math.random(), this._paintList(i, e, t, this._redrawId);
|
|
61
|
+
for (var s = 0; s < r.length; s++) {
|
|
62
|
+
var n = r[s], f = this._layers[n];
|
|
63
|
+
if (!f.__builtin__ && f.refresh) {
|
|
64
|
+
var o = s === 0 ? this._backgroundColor : null;
|
|
65
|
+
f.refresh(o);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return this._opts.useDirtyRect && (this._prevDisplayList = i.slice()), this;
|
|
69
|
+
}, a.prototype.refreshHover = function() {
|
|
70
|
+
this._paintHoverList(this.storage.getDisplayList(!1));
|
|
71
|
+
}, a.prototype._paintHoverList = function(t) {
|
|
72
|
+
var i = t.length, e = this._hoverlayer;
|
|
73
|
+
if (e && e.clear(), !!i) {
|
|
74
|
+
for (var r = {
|
|
75
|
+
inHover: !0,
|
|
76
|
+
viewWidth: this._width,
|
|
77
|
+
viewHeight: this._height
|
|
78
|
+
}, s, n = 0; n < i; n++) {
|
|
79
|
+
var f = t[n];
|
|
80
|
+
f.__inHover && (e || (e = this._hoverlayer = this.getLayer(V)), s || (s = e.ctx, s.save()), I(s, f, r, n === i - 1));
|
|
81
|
+
}
|
|
82
|
+
s && s.restore();
|
|
83
|
+
}
|
|
84
|
+
}, a.prototype.getHoverLayer = function() {
|
|
85
|
+
return this.getLayer(V);
|
|
86
|
+
}, a.prototype.paintOne = function(t, i) {
|
|
87
|
+
G(t, i);
|
|
88
|
+
}, a.prototype._paintList = function(t, i, e, r) {
|
|
89
|
+
if (this._redrawId === r) {
|
|
90
|
+
e = e || !1, this._updateLayerStatus(t);
|
|
91
|
+
var s = this._doPaintList(t, i, e), n = s.finished, f = s.needsRefreshHover;
|
|
92
|
+
if (this._needsManuallyCompositing && this._compositeManually(), f && this._paintHoverList(t), n)
|
|
93
|
+
this.eachLayer(function(v) {
|
|
94
|
+
v.afterBrush && v.afterBrush();
|
|
95
|
+
});
|
|
96
|
+
else {
|
|
97
|
+
var o = this;
|
|
98
|
+
q(function() {
|
|
99
|
+
o._paintList(t, i, e, r);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, a.prototype._compositeManually = function() {
|
|
104
|
+
var t = this.getLayer(g).ctx, i = this._domRoot.width, e = this._domRoot.height;
|
|
105
|
+
t.clearRect(0, 0, i, e), this.eachBuiltinLayer(function(r) {
|
|
106
|
+
r.virtual && t.drawImage(r.dom, 0, 0, i, e);
|
|
107
|
+
});
|
|
108
|
+
}, a.prototype._doPaintList = function(t, i, e) {
|
|
109
|
+
for (var r = this, s = [], n = this._opts.useDirtyRect, f = 0; f < this._zlevelList.length; f++) {
|
|
110
|
+
var o = this._zlevelList[f], v = this._layers[o];
|
|
111
|
+
v.__builtin__ && v !== this._hoverlayer && (v.__dirty || e) && s.push(v);
|
|
112
|
+
}
|
|
113
|
+
for (var h = !0, _ = !1, p = function(y) {
|
|
114
|
+
var d = s[y], l = d.ctx, L = n && d.createRepaintRects(t, i, u._width, u._height), m = e ? d.__startIndex : d.__drawIndex, M = !e && d.incremental && Date.now, O = M && Date.now(), T = d.zlevel === u._zlevelList[0] ? u._backgroundColor : null;
|
|
115
|
+
if (d.__startIndex === d.__endIndex)
|
|
116
|
+
d.clear(!1, T, L);
|
|
117
|
+
else if (m === d.__startIndex) {
|
|
118
|
+
var D = t[m];
|
|
119
|
+
(!D.incremental || !D.notClear || e) && d.clear(!1, T, L);
|
|
120
|
+
}
|
|
121
|
+
m === -1 && (console.error("For some unknown reason. drawIndex is -1"), m = d.__startIndex);
|
|
122
|
+
var c, B = function(W) {
|
|
123
|
+
var N = {
|
|
124
|
+
inHover: !1,
|
|
125
|
+
allClipped: !1,
|
|
126
|
+
prevEl: null,
|
|
127
|
+
viewWidth: r._width,
|
|
128
|
+
viewHeight: r._height
|
|
129
|
+
};
|
|
130
|
+
for (c = m; c < d.__endIndex; c++) {
|
|
131
|
+
var S = t[c];
|
|
132
|
+
if (S.__inHover && (_ = !0), r._doPaintEl(S, d, n, W, N, c === d.__endIndex - 1), M) {
|
|
133
|
+
var A = Date.now() - O;
|
|
134
|
+
if (A > 15)
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
N.prevElClipPaths && l.restore();
|
|
139
|
+
};
|
|
140
|
+
if (L)
|
|
141
|
+
if (L.length === 0)
|
|
142
|
+
c = d.__endIndex;
|
|
143
|
+
else
|
|
144
|
+
for (var w = u.dpr, E = 0; E < L.length; ++E) {
|
|
145
|
+
var x = L[E];
|
|
146
|
+
l.save(), l.beginPath(), l.rect(x.x * w, x.y * w, x.width * w, x.height * w), l.clip(), B(x), l.restore();
|
|
147
|
+
}
|
|
148
|
+
else
|
|
149
|
+
l.save(), B(), l.restore();
|
|
150
|
+
d.__drawIndex = c, d.__drawIndex < d.__endIndex && (h = !1);
|
|
151
|
+
}, u = this, H = 0; H < s.length; H++)
|
|
152
|
+
p(H);
|
|
153
|
+
return Y.wxa && k(this._layers, function(y) {
|
|
154
|
+
y && y.ctx && y.ctx.draw && y.ctx.draw();
|
|
155
|
+
}), {
|
|
156
|
+
finished: h,
|
|
157
|
+
needsRefreshHover: _
|
|
158
|
+
};
|
|
159
|
+
}, a.prototype._doPaintEl = function(t, i, e, r, s, n) {
|
|
160
|
+
var f = i.ctx;
|
|
161
|
+
if (e) {
|
|
162
|
+
var o = t.getPaintRect();
|
|
163
|
+
(!r || o && o.intersect(r)) && (I(f, t, s, n), t.setPrevPaintRect(o));
|
|
164
|
+
} else
|
|
165
|
+
I(f, t, s, n);
|
|
166
|
+
}, a.prototype.getLayer = function(t, i) {
|
|
167
|
+
this._singleCanvas && !this._needsManuallyCompositing && (t = g);
|
|
168
|
+
var e = this._layers[t];
|
|
169
|
+
return e || (e = new P("zr_" + t, this, this.dpr), e.zlevel = t, e.__builtin__ = !0, this._layerConfig[t] ? C(e, this._layerConfig[t], !0) : this._layerConfig[t - b] && C(e, this._layerConfig[t - b], !0), i && (e.virtual = i), this.insertLayer(t, e), e.initContext()), e;
|
|
170
|
+
}, a.prototype.insertLayer = function(t, i) {
|
|
171
|
+
var e = this._layers, r = this._zlevelList, s = r.length, n = this._domRoot, f = null, o = -1;
|
|
172
|
+
if (!e[t] && Q(i)) {
|
|
173
|
+
if (s > 0 && t > r[0]) {
|
|
174
|
+
for (o = 0; o < s - 1 && !(r[o] < t && r[o + 1] > t); o++)
|
|
175
|
+
;
|
|
176
|
+
f = e[r[o]];
|
|
177
|
+
}
|
|
178
|
+
if (r.splice(o + 1, 0, t), e[t] = i, !i.virtual)
|
|
179
|
+
if (f) {
|
|
180
|
+
var v = f.dom;
|
|
181
|
+
v.nextSibling ? n.insertBefore(i.dom, v.nextSibling) : n.appendChild(i.dom);
|
|
182
|
+
} else
|
|
183
|
+
n.firstChild ? n.insertBefore(i.dom, n.firstChild) : n.appendChild(i.dom);
|
|
184
|
+
i.painter || (i.painter = this);
|
|
185
|
+
}
|
|
186
|
+
}, a.prototype.eachLayer = function(t, i) {
|
|
187
|
+
for (var e = this._zlevelList, r = 0; r < e.length; r++) {
|
|
188
|
+
var s = e[r];
|
|
189
|
+
t.call(i, this._layers[s], s);
|
|
190
|
+
}
|
|
191
|
+
}, a.prototype.eachBuiltinLayer = function(t, i) {
|
|
192
|
+
for (var e = this._zlevelList, r = 0; r < e.length; r++) {
|
|
193
|
+
var s = e[r], n = this._layers[s];
|
|
194
|
+
n.__builtin__ && t.call(i, n, s);
|
|
195
|
+
}
|
|
196
|
+
}, a.prototype.eachOtherLayer = function(t, i) {
|
|
197
|
+
for (var e = this._zlevelList, r = 0; r < e.length; r++) {
|
|
198
|
+
var s = e[r], n = this._layers[s];
|
|
199
|
+
n.__builtin__ || t.call(i, n, s);
|
|
200
|
+
}
|
|
201
|
+
}, a.prototype.getLayers = function() {
|
|
202
|
+
return this._layers;
|
|
203
|
+
}, a.prototype._updateLayerStatus = function(t) {
|
|
204
|
+
this.eachBuiltinLayer(function(_, p) {
|
|
205
|
+
_.__dirty = _.__used = !1;
|
|
206
|
+
});
|
|
207
|
+
function i(_) {
|
|
208
|
+
s && (s.__endIndex !== _ && (s.__dirty = !0), s.__endIndex = _);
|
|
209
|
+
}
|
|
210
|
+
if (this._singleCanvas)
|
|
211
|
+
for (var e = 1; e < t.length; e++) {
|
|
212
|
+
var r = t[e];
|
|
213
|
+
if (r.zlevel !== t[e - 1].zlevel || r.incremental) {
|
|
214
|
+
this._needsManuallyCompositing = !0;
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
var s = null, n = 0, f, o;
|
|
219
|
+
for (o = 0; o < t.length; o++) {
|
|
220
|
+
var r = t[o], v = r.zlevel, h = void 0;
|
|
221
|
+
f !== v && (f = v, n = 0), r.incremental ? (h = this.getLayer(v + K, this._needsManuallyCompositing), h.incremental = !0, n = 1) : h = this.getLayer(v + (n > 0 ? b : 0), this._needsManuallyCompositing), h.__builtin__ || z("ZLevel " + v + " has been used by unkown layer " + h.id), h !== s && (h.__used = !0, h.__startIndex !== o && (h.__dirty = !0), h.__startIndex = o, h.incremental ? h.__drawIndex = -1 : h.__drawIndex = o, i(o), s = h), r.__dirty & J && !r.__inHover && (h.__dirty = !0, h.incremental && h.__drawIndex < 0 && (h.__drawIndex = o));
|
|
222
|
+
}
|
|
223
|
+
i(o), this.eachBuiltinLayer(function(_, p) {
|
|
224
|
+
!_.__used && _.getElementCount() > 0 && (_.__dirty = !0, _.__startIndex = _.__endIndex = _.__drawIndex = 0), _.__dirty && _.__drawIndex < 0 && (_.__drawIndex = _.__startIndex);
|
|
225
|
+
});
|
|
226
|
+
}, a.prototype.clear = function() {
|
|
227
|
+
return this.eachBuiltinLayer(this._clearLayer), this;
|
|
228
|
+
}, a.prototype._clearLayer = function(t) {
|
|
229
|
+
t.clear();
|
|
230
|
+
}, a.prototype.setBackgroundColor = function(t) {
|
|
231
|
+
this._backgroundColor = t, k(this._layers, function(i) {
|
|
232
|
+
i.setUnpainted();
|
|
233
|
+
});
|
|
234
|
+
}, a.prototype.configLayer = function(t, i) {
|
|
235
|
+
if (i) {
|
|
236
|
+
var e = this._layerConfig;
|
|
237
|
+
e[t] ? C(e[t], i, !0) : e[t] = i;
|
|
238
|
+
for (var r = 0; r < this._zlevelList.length; r++) {
|
|
239
|
+
var s = this._zlevelList[r];
|
|
240
|
+
if (s === t || s === t + b) {
|
|
241
|
+
var n = this._layers[s];
|
|
242
|
+
C(n, e[t], !0);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}, a.prototype.delLayer = function(t) {
|
|
247
|
+
var i = this._layers, e = this._zlevelList, r = i[t];
|
|
248
|
+
r && (r.dom.parentNode.removeChild(r.dom), delete i[t], e.splice(F(e, t), 1));
|
|
249
|
+
}, a.prototype.resize = function(t, i) {
|
|
250
|
+
if (this._domRoot.style) {
|
|
251
|
+
var e = this._domRoot;
|
|
252
|
+
e.style.display = "none";
|
|
253
|
+
var r = this._opts, s = this.root;
|
|
254
|
+
if (t != null && (r.width = t), i != null && (r.height = i), t = R(s, 0, r), i = R(s, 1, r), e.style.display = "", this._width !== t || i !== this._height) {
|
|
255
|
+
e.style.width = t + "px", e.style.height = i + "px";
|
|
256
|
+
for (var n in this._layers)
|
|
257
|
+
this._layers.hasOwnProperty(n) && this._layers[n].resize(t, i);
|
|
258
|
+
this.refresh(!0);
|
|
259
|
+
}
|
|
260
|
+
this._width = t, this._height = i;
|
|
261
|
+
} else {
|
|
262
|
+
if (t == null || i == null)
|
|
263
|
+
return;
|
|
264
|
+
this._width = t, this._height = i, this.getLayer(g).resize(t, i);
|
|
265
|
+
}
|
|
266
|
+
return this;
|
|
267
|
+
}, a.prototype.clearLayer = function(t) {
|
|
268
|
+
var i = this._layers[t];
|
|
269
|
+
i && i.clear();
|
|
270
|
+
}, a.prototype.dispose = function() {
|
|
271
|
+
this.root.innerHTML = "", this.root = this.storage = this._domRoot = this._layers = null;
|
|
272
|
+
}, a.prototype.getRenderedCanvas = function(t) {
|
|
273
|
+
if (t = t || {}, this._singleCanvas && !this._compositeManually)
|
|
274
|
+
return this._layers[g].dom;
|
|
275
|
+
var i = new P("image", this, t.pixelRatio || this.dpr);
|
|
276
|
+
i.initContext(), i.clear(!1, t.backgroundColor || this._backgroundColor);
|
|
277
|
+
var e = i.ctx;
|
|
278
|
+
if (t.pixelRatio <= this.dpr) {
|
|
279
|
+
this.refresh();
|
|
280
|
+
var r = i.dom.width, s = i.dom.height;
|
|
281
|
+
this.eachLayer(function(_) {
|
|
282
|
+
_.__builtin__ ? e.drawImage(_.dom, 0, 0, r, s) : _.renderToCanvas && (e.save(), _.renderToCanvas(e), e.restore());
|
|
283
|
+
});
|
|
284
|
+
} else
|
|
285
|
+
for (var n = {
|
|
286
|
+
inHover: !1,
|
|
287
|
+
viewWidth: this._width,
|
|
288
|
+
viewHeight: this._height
|
|
289
|
+
}, f = this.storage.getDisplayList(!0), o = 0, v = f.length; o < v; o++) {
|
|
290
|
+
var h = f[o];
|
|
291
|
+
I(e, h, n, o === v - 1);
|
|
292
|
+
}
|
|
293
|
+
return i.dom;
|
|
294
|
+
}, a.prototype.getWidth = function() {
|
|
295
|
+
return this._width;
|
|
296
|
+
}, a.prototype.getHeight = function() {
|
|
297
|
+
return this._height;
|
|
298
|
+
}, a;
|
|
299
|
+
})();
|
|
300
|
+
export {
|
|
301
|
+
ot as default
|
|
302
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { map as o, isNumber as u, isArray as i } from "../core/util.js";
|
|
2
|
+
function h(r, t) {
|
|
3
|
+
return !r || r === "solid" || !(t > 0) ? null : r === "dashed" ? [4 * t, 2 * t] : r === "dotted" ? [t] : u(r) ? [r] : i(r) ? r : null;
|
|
4
|
+
}
|
|
5
|
+
function e(r) {
|
|
6
|
+
var t = r.style, s = t.lineDash && t.lineWidth > 0 && h(t.lineDash, t.lineWidth), f = t.lineDashOffset;
|
|
7
|
+
if (s) {
|
|
8
|
+
var a = t.strokeNoScale && r.getLineScale ? r.getLineScale() : 1;
|
|
9
|
+
a && a !== 1 && (s = o(s, function(n) {
|
|
10
|
+
return n / a;
|
|
11
|
+
}), f /= a);
|
|
12
|
+
}
|
|
13
|
+
return [s, f];
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
e as getLineDash,
|
|
17
|
+
h as normalizeLineDash
|
|
18
|
+
};
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { DEFAULT_COMMON_STYLE as p } from "../graphic/Displayable.js";
|
|
2
|
+
import $ from "../core/PathProxy.js";
|
|
3
|
+
import { createOrUpdateImage as V, isImageReady as j } from "../graphic/helper/image.js";
|
|
4
|
+
import { isClipPathChanged as x, getCanvasGradient as W } from "./helper.js";
|
|
5
|
+
import I from "../graphic/Path.js";
|
|
6
|
+
import c from "../graphic/Image.js";
|
|
7
|
+
import rr from "../graphic/TSpan.js";
|
|
8
|
+
import { RADIAN_TO_DEGREE as ar } from "../core/util.js";
|
|
9
|
+
import { getLineDash as q } from "./dashStyle.js";
|
|
10
|
+
import { REDRAW_BIT as ir, SHAPE_CHANGED_BIT as er } from "../graphic/constants.js";
|
|
11
|
+
import { DEFAULT_FONT as nr } from "../core/platform.js";
|
|
12
|
+
var fr = new $(!0);
|
|
13
|
+
function T(a) {
|
|
14
|
+
var r = a.stroke;
|
|
15
|
+
return !(r == null || r === "none" || !(a.lineWidth > 0));
|
|
16
|
+
}
|
|
17
|
+
function L(a) {
|
|
18
|
+
return typeof a == "string" && a !== "none";
|
|
19
|
+
}
|
|
20
|
+
function D(a) {
|
|
21
|
+
var r = a.fill;
|
|
22
|
+
return r != null && r !== "none";
|
|
23
|
+
}
|
|
24
|
+
function M(a, r) {
|
|
25
|
+
if (r.fillOpacity != null && r.fillOpacity !== 1) {
|
|
26
|
+
var i = a.globalAlpha;
|
|
27
|
+
a.globalAlpha = r.fillOpacity * r.opacity, a.fill(), a.globalAlpha = i;
|
|
28
|
+
} else
|
|
29
|
+
a.fill();
|
|
30
|
+
}
|
|
31
|
+
function Y(a, r) {
|
|
32
|
+
if (r.strokeOpacity != null && r.strokeOpacity !== 1) {
|
|
33
|
+
var i = a.globalAlpha;
|
|
34
|
+
a.globalAlpha = r.strokeOpacity * r.opacity, a.stroke(), a.globalAlpha = i;
|
|
35
|
+
} else
|
|
36
|
+
a.stroke();
|
|
37
|
+
}
|
|
38
|
+
function U(a, r, i) {
|
|
39
|
+
var n = V(r.image, r.__image, i);
|
|
40
|
+
if (j(n)) {
|
|
41
|
+
var f = a.createPattern(n, r.repeat || "repeat");
|
|
42
|
+
if (typeof DOMMatrix == "function" && f && f.setTransform) {
|
|
43
|
+
var e = new DOMMatrix();
|
|
44
|
+
e.translateSelf(r.x || 0, r.y || 0), e.rotateSelf(0, 0, (r.rotation || 0) * ar), e.scaleSelf(r.scaleX || 1, r.scaleY || 1), f.setTransform(e);
|
|
45
|
+
}
|
|
46
|
+
return f;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function tr(a, r, i, n) {
|
|
50
|
+
var f, e = T(i), o = D(i), h = i.strokePercent, t = h < 1, l = !r.path;
|
|
51
|
+
(!r.silent || t) && l && r.createPathProxy();
|
|
52
|
+
var v = r.path || fr, u = r.__dirty;
|
|
53
|
+
if (!n) {
|
|
54
|
+
var d = i.fill, b = i.stroke, P = o && !!d.colorStops, C = e && !!b.colorStops, O = o && !!d.image, A = e && !!b.image, w = void 0, S = void 0, g = void 0, k = void 0, B = void 0;
|
|
55
|
+
(P || C) && (B = r.getBoundingRect()), P && (w = u ? W(a, d, B) : r.__canvasFillGradient, r.__canvasFillGradient = w), C && (S = u ? W(a, b, B) : r.__canvasStrokeGradient, r.__canvasStrokeGradient = S), O && (g = u || !r.__canvasFillPattern ? U(a, d, r) : r.__canvasFillPattern, r.__canvasFillPattern = g), A && (k = u || !r.__canvasStrokePattern ? U(a, b, r) : r.__canvasStrokePattern, r.__canvasStrokePattern = g), P ? a.fillStyle = w : O && (g ? a.fillStyle = g : o = !1), C ? a.strokeStyle = S : A && (k ? a.strokeStyle = k : e = !1);
|
|
56
|
+
}
|
|
57
|
+
var H = r.getGlobalScale();
|
|
58
|
+
v.setScale(H[0], H[1], r.segmentIgnoreThreshold);
|
|
59
|
+
var m, R;
|
|
60
|
+
a.setLineDash && i.lineDash && (f = q(r), m = f[0], R = f[1]);
|
|
61
|
+
var F = !0;
|
|
62
|
+
(l || u & er) && (v.setDPR(a.dpr), t ? v.setContext(null) : (v.setContext(a), F = !1), v.reset(), r.buildPath(v, r.shape, n), v.toStatic(), r.pathUpdated()), F && v.rebuildPath(a, t ? h : 1), m && (a.setLineDash(m), a.lineDashOffset = R), n || (i.strokeFirst ? (e && Y(a, i), o && M(a, i)) : (o && M(a, i), e && Y(a, i))), m && a.setLineDash([]);
|
|
63
|
+
}
|
|
64
|
+
function or(a, r, i) {
|
|
65
|
+
var n = r.__image = V(i.image, r.__image, r, r.onload);
|
|
66
|
+
if (!(!n || !j(n))) {
|
|
67
|
+
var f = i.x || 0, e = i.y || 0, o = r.getWidth(), h = r.getHeight(), t = n.width / n.height;
|
|
68
|
+
if (o == null && h != null ? o = h * t : h == null && o != null ? h = o / t : o == null && h == null && (o = n.width, h = n.height), i.sWidth && i.sHeight) {
|
|
69
|
+
var l = i.sx || 0, v = i.sy || 0;
|
|
70
|
+
a.drawImage(n, l, v, i.sWidth, i.sHeight, f, e, o, h);
|
|
71
|
+
} else if (i.sx && i.sy) {
|
|
72
|
+
var l = i.sx, v = i.sy, u = o - l, d = h - v;
|
|
73
|
+
a.drawImage(n, l, v, u, d, f, e, o, h);
|
|
74
|
+
} else
|
|
75
|
+
a.drawImage(n, f, e, o, h);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function hr(a, r, i) {
|
|
79
|
+
var n, f = i.text;
|
|
80
|
+
if (f != null && (f += ""), f) {
|
|
81
|
+
a.font = i.font || nr, a.textAlign = i.textAlign, a.textBaseline = i.textBaseline;
|
|
82
|
+
var e = void 0, o = void 0;
|
|
83
|
+
a.setLineDash && i.lineDash && (n = q(r), e = n[0], o = n[1]), e && (a.setLineDash(e), a.lineDashOffset = o), i.strokeFirst ? (T(i) && a.strokeText(f, i.x, i.y), D(i) && a.fillText(f, i.x, i.y)) : (D(i) && a.fillText(f, i.x, i.y), T(i) && a.strokeText(f, i.x, i.y)), e && a.setLineDash([]);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
var N = ["shadowBlur", "shadowOffsetX", "shadowOffsetY"], y = [
|
|
87
|
+
["lineCap", "butt"],
|
|
88
|
+
["lineJoin", "miter"],
|
|
89
|
+
["miterLimit", 10]
|
|
90
|
+
];
|
|
91
|
+
function z(a, r, i, n, f) {
|
|
92
|
+
var e = !1;
|
|
93
|
+
if (!n && (i = i || {}, r === i))
|
|
94
|
+
return !1;
|
|
95
|
+
if (n || r.opacity !== i.opacity) {
|
|
96
|
+
s(a, f), e = !0;
|
|
97
|
+
var o = Math.max(Math.min(r.opacity, 1), 0);
|
|
98
|
+
a.globalAlpha = isNaN(o) ? p.opacity : o;
|
|
99
|
+
}
|
|
100
|
+
(n || r.blend !== i.blend) && (e || (s(a, f), e = !0), a.globalCompositeOperation = r.blend || p.blend);
|
|
101
|
+
for (var h = 0; h < N.length; h++) {
|
|
102
|
+
var t = N[h];
|
|
103
|
+
(n || r[t] !== i[t]) && (e || (s(a, f), e = !0), a[t] = a.dpr * (r[t] || 0));
|
|
104
|
+
}
|
|
105
|
+
return (n || r.shadowColor !== i.shadowColor) && (e || (s(a, f), e = !0), a.shadowColor = r.shadowColor || p.shadowColor), e;
|
|
106
|
+
}
|
|
107
|
+
function X(a, r, i, n, f) {
|
|
108
|
+
var e = _(r, f.inHover), o = n ? null : i && _(i, f.inHover) || {};
|
|
109
|
+
if (e === o)
|
|
110
|
+
return !1;
|
|
111
|
+
var h = z(a, e, o, n, f);
|
|
112
|
+
if ((n || e.fill !== o.fill) && (h || (s(a, f), h = !0), L(e.fill) && (a.fillStyle = e.fill)), (n || e.stroke !== o.stroke) && (h || (s(a, f), h = !0), L(e.stroke) && (a.strokeStyle = e.stroke)), (n || e.opacity !== o.opacity) && (h || (s(a, f), h = !0), a.globalAlpha = e.opacity == null ? 1 : e.opacity), r.hasStroke()) {
|
|
113
|
+
var t = e.lineWidth, l = t / (e.strokeNoScale && r.getLineScale ? r.getLineScale() : 1);
|
|
114
|
+
a.lineWidth !== l && (h || (s(a, f), h = !0), a.lineWidth = l);
|
|
115
|
+
}
|
|
116
|
+
for (var v = 0; v < y.length; v++) {
|
|
117
|
+
var u = y[v], d = u[0];
|
|
118
|
+
(n || e[d] !== o[d]) && (h || (s(a, f), h = !0), a[d] = e[d] || u[1]);
|
|
119
|
+
}
|
|
120
|
+
return h;
|
|
121
|
+
}
|
|
122
|
+
function vr(a, r, i, n, f) {
|
|
123
|
+
return z(a, _(r, f.inHover), i && _(i, f.inHover), n, f);
|
|
124
|
+
}
|
|
125
|
+
function Q(a, r) {
|
|
126
|
+
var i = r.transform, n = a.dpr || 1;
|
|
127
|
+
i ? a.setTransform(n * i[0], n * i[1], n * i[2], n * i[3], n * i[4], n * i[5]) : a.setTransform(n, 0, 0, n, 0, 0);
|
|
128
|
+
}
|
|
129
|
+
function lr(a, r, i) {
|
|
130
|
+
for (var n = !1, f = 0; f < a.length; f++) {
|
|
131
|
+
var e = a[f];
|
|
132
|
+
n = n || e.isZeroArea(), Q(r, e), r.beginPath(), e.buildPath(r, e.shape), r.clip();
|
|
133
|
+
}
|
|
134
|
+
i.allClipped = n;
|
|
135
|
+
}
|
|
136
|
+
function ur(a, r) {
|
|
137
|
+
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);
|
|
138
|
+
}
|
|
139
|
+
var Z = 1, G = 2, J = 3, K = 4;
|
|
140
|
+
function sr(a) {
|
|
141
|
+
var r = D(a), i = T(a);
|
|
142
|
+
return !(a.lineDash || !(+r ^ +i) || r && typeof a.fill != "string" || i && typeof a.stroke != "string" || a.strokePercent < 1 || a.strokeOpacity < 1 || a.fillOpacity < 1);
|
|
143
|
+
}
|
|
144
|
+
function s(a, r) {
|
|
145
|
+
r.batchFill && a.fill(), r.batchStroke && a.stroke(), r.batchFill = "", r.batchStroke = "";
|
|
146
|
+
}
|
|
147
|
+
function _(a, r) {
|
|
148
|
+
return r && a.__hoverStyle || a.style;
|
|
149
|
+
}
|
|
150
|
+
function Br(a, r) {
|
|
151
|
+
E(a, r, { inHover: !1, viewWidth: 0, viewHeight: 0 }, !0);
|
|
152
|
+
}
|
|
153
|
+
function E(a, r, i, n) {
|
|
154
|
+
var f = r.transform;
|
|
155
|
+
if (!r.shouldBePainted(i.viewWidth, i.viewHeight, !1, !1)) {
|
|
156
|
+
r.__dirty &= ~ir, r.__isRendered = !1;
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
var e = r.__clipPaths, o = i.prevElClipPaths, h = !1, t = !1;
|
|
160
|
+
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) {
|
|
161
|
+
r.__isRendered = !1;
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
r.beforeBrush && r.beforeBrush(), r.innerBeforeBrush();
|
|
165
|
+
var l = i.prevEl;
|
|
166
|
+
l || (t = h = !0);
|
|
167
|
+
var v = r instanceof I && r.autoBatch && sr(r.style);
|
|
168
|
+
h || ur(f, l.transform) ? (s(a, i), Q(a, r)) : v || s(a, i);
|
|
169
|
+
var u = _(r, i.inHover);
|
|
170
|
+
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 && n && s(a, i), r.innerAfterBrush(), r.afterBrush && r.afterBrush(), i.prevEl = r, r.__dirty = 0, r.__isRendered = !0;
|
|
171
|
+
}
|
|
172
|
+
function dr(a, r, i) {
|
|
173
|
+
var n = r.getDisplayables(), f = r.getTemporalDisplayables();
|
|
174
|
+
a.save();
|
|
175
|
+
var e = {
|
|
176
|
+
prevElClipPaths: null,
|
|
177
|
+
prevEl: null,
|
|
178
|
+
allClipped: !1,
|
|
179
|
+
viewWidth: i.viewWidth,
|
|
180
|
+
viewHeight: i.viewHeight,
|
|
181
|
+
inHover: i.inHover
|
|
182
|
+
}, o, h;
|
|
183
|
+
for (o = r.getCursor(), h = n.length; o < h; o++) {
|
|
184
|
+
var t = n[o];
|
|
185
|
+
t.beforeBrush && t.beforeBrush(), t.innerBeforeBrush(), E(a, t, e, o === h - 1), t.innerAfterBrush(), t.afterBrush && t.afterBrush(), e.prevEl = t;
|
|
186
|
+
}
|
|
187
|
+
for (var l = 0, v = f.length; l < v; l++) {
|
|
188
|
+
var t = f[l];
|
|
189
|
+
t.beforeBrush && t.beforeBrush(), t.innerBeforeBrush(), E(a, t, e, l === v - 1), t.innerAfterBrush(), t.afterBrush && t.afterBrush(), e.prevEl = t;
|
|
190
|
+
}
|
|
191
|
+
r.clearTemporalDisplayables(), r.notClear = !0, a.restore();
|
|
192
|
+
}
|
|
193
|
+
export {
|
|
194
|
+
E as brush,
|
|
195
|
+
Br as brushSingle,
|
|
196
|
+
U as createCanvasPattern
|
|
197
|
+
};
|