web-core-tcm 0.0.54 → 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.d.ts +2 -2
- 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.d.ts +19 -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 -0
- 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 -0
- 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 +7 -0
- 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.d.ts +7 -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 +5 -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/{pages/LoginPage.vue.d.ts → components/tcm/lisems/EcgAndPcgCollect.vue.d.ts} +1 -1
- 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 -0
- 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 -0
- 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.d.ts +5 -5
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.d.ts +1 -1
- 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 +10 -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/components/models.d.ts +0 -7
- package/dist/src/proto/index.js +0 -10
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { __extends as _ } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { containStroke as g } from "../../../../zrender/lib/contain/line.js";
|
|
3
|
+
import { containStroke as I } from "../../../../zrender/lib/contain/quadratic.js";
|
|
4
|
+
import { getECData as S } from "../../util/innerStore.js";
|
|
5
|
+
import L from "../../../../zrender/lib/graphic/Group.js";
|
|
6
|
+
import D from "../../../../zrender/lib/core/BoundingRect.js";
|
|
7
|
+
import P from "../../../../zrender/lib/graphic/Path.js";
|
|
8
|
+
var w = (
|
|
9
|
+
/** @class */
|
|
10
|
+
/* @__PURE__ */ (function() {
|
|
11
|
+
function f() {
|
|
12
|
+
this.polyline = !1, this.curveness = 0, this.segs = [];
|
|
13
|
+
}
|
|
14
|
+
return f;
|
|
15
|
+
})()
|
|
16
|
+
), A = (
|
|
17
|
+
/** @class */
|
|
18
|
+
(function(f) {
|
|
19
|
+
_(e, f);
|
|
20
|
+
function e(n) {
|
|
21
|
+
var o = f.call(this, n) || this;
|
|
22
|
+
return o._off = 0, o.hoverDataIdx = -1, o;
|
|
23
|
+
}
|
|
24
|
+
return e.prototype.reset = function() {
|
|
25
|
+
this.notClear = !1, this._off = 0;
|
|
26
|
+
}, e.prototype.getDefaultStyle = function() {
|
|
27
|
+
return {
|
|
28
|
+
stroke: "#000",
|
|
29
|
+
fill: null
|
|
30
|
+
};
|
|
31
|
+
}, e.prototype.getDefaultShape = function() {
|
|
32
|
+
return new w();
|
|
33
|
+
}, e.prototype.buildPath = function(n, o) {
|
|
34
|
+
var t = o.segs, a = o.curveness, r;
|
|
35
|
+
if (o.polyline)
|
|
36
|
+
for (r = this._off; r < t.length; ) {
|
|
37
|
+
var v = t[r++];
|
|
38
|
+
if (v > 0) {
|
|
39
|
+
n.moveTo(t[r++], t[r++]);
|
|
40
|
+
for (var s = 1; s < v; s++)
|
|
41
|
+
n.lineTo(t[r++], t[r++]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
else
|
|
45
|
+
for (r = this._off; r < t.length; ) {
|
|
46
|
+
var i = t[r++], u = t[r++], h = t[r++], l = t[r++];
|
|
47
|
+
if (n.moveTo(i, u), a > 0) {
|
|
48
|
+
var c = (i + h) / 2 - (u - l) * a, p = (u + l) / 2 - (h - i) * a;
|
|
49
|
+
n.quadraticCurveTo(c, p, h, l);
|
|
50
|
+
} else
|
|
51
|
+
n.lineTo(h, l);
|
|
52
|
+
}
|
|
53
|
+
this.incremental && (this._off = r, this.notClear = !0);
|
|
54
|
+
}, e.prototype.findDataIndex = function(n, o) {
|
|
55
|
+
var t = this.shape, a = t.segs, r = t.curveness, v = this.style.lineWidth;
|
|
56
|
+
if (t.polyline)
|
|
57
|
+
for (var s = 0, i = 0; i < a.length; ) {
|
|
58
|
+
var u = a[i++];
|
|
59
|
+
if (u > 0)
|
|
60
|
+
for (var h = a[i++], l = a[i++], c = 1; c < u; c++) {
|
|
61
|
+
var p = a[i++], d = a[i++];
|
|
62
|
+
if (g(h, l, p, d, v, n, o))
|
|
63
|
+
return s;
|
|
64
|
+
}
|
|
65
|
+
s++;
|
|
66
|
+
}
|
|
67
|
+
else
|
|
68
|
+
for (var s = 0, i = 0; i < a.length; ) {
|
|
69
|
+
var h = a[i++], l = a[i++], p = a[i++], d = a[i++];
|
|
70
|
+
if (r > 0) {
|
|
71
|
+
var m = (h + p) / 2 - (l - d) * r, y = (l + d) / 2 - (p - h) * r;
|
|
72
|
+
if (I(h, l, m, y, p, d, v, n, o))
|
|
73
|
+
return s;
|
|
74
|
+
} else if (g(h, l, p, d, v, n, o))
|
|
75
|
+
return s;
|
|
76
|
+
s++;
|
|
77
|
+
}
|
|
78
|
+
return -1;
|
|
79
|
+
}, e.prototype.contain = function(n, o) {
|
|
80
|
+
var t = this.transformCoordToLocal(n, o), a = this.getBoundingRect();
|
|
81
|
+
if (n = t[0], o = t[1], a.contain(n, o)) {
|
|
82
|
+
var r = this.hoverDataIdx = this.findDataIndex(n, o);
|
|
83
|
+
return r >= 0;
|
|
84
|
+
}
|
|
85
|
+
return this.hoverDataIdx = -1, !1;
|
|
86
|
+
}, e.prototype.getBoundingRect = function() {
|
|
87
|
+
var n = this._rect;
|
|
88
|
+
if (!n) {
|
|
89
|
+
for (var o = this.shape, t = o.segs, a = 1 / 0, r = 1 / 0, v = -1 / 0, s = -1 / 0, i = 0; i < t.length; ) {
|
|
90
|
+
var u = t[i++], h = t[i++];
|
|
91
|
+
a = Math.min(u, a), v = Math.max(u, v), r = Math.min(h, r), s = Math.max(h, s);
|
|
92
|
+
}
|
|
93
|
+
n = this._rect = new D(a, r, v, s);
|
|
94
|
+
}
|
|
95
|
+
return n;
|
|
96
|
+
}, e;
|
|
97
|
+
})(P)
|
|
98
|
+
), W = (
|
|
99
|
+
/** @class */
|
|
100
|
+
(function() {
|
|
101
|
+
function f() {
|
|
102
|
+
this.group = new L();
|
|
103
|
+
}
|
|
104
|
+
return f.prototype.updateData = function(e) {
|
|
105
|
+
this._clear();
|
|
106
|
+
var n = this._create();
|
|
107
|
+
n.setShape({
|
|
108
|
+
segs: e.getLayout("linesPoints")
|
|
109
|
+
}), this._setCommon(n, e);
|
|
110
|
+
}, f.prototype.incrementalPrepareUpdate = function(e) {
|
|
111
|
+
this.group.removeAll(), this._clear();
|
|
112
|
+
}, f.prototype.incrementalUpdate = function(e, n) {
|
|
113
|
+
var o = this._newAdded[0], t = n.getLayout("linesPoints"), a = o && o.shape.segs;
|
|
114
|
+
if (a && a.length < 2e4) {
|
|
115
|
+
var r = a.length, v = new Float32Array(r + t.length);
|
|
116
|
+
v.set(a), v.set(t, r), o.setShape({
|
|
117
|
+
segs: v
|
|
118
|
+
});
|
|
119
|
+
} else {
|
|
120
|
+
this._newAdded = [];
|
|
121
|
+
var s = this._create();
|
|
122
|
+
s.incremental = !0, s.setShape({
|
|
123
|
+
segs: t
|
|
124
|
+
}), this._setCommon(s, n), s.__startIndex = e.start;
|
|
125
|
+
}
|
|
126
|
+
}, f.prototype.remove = function() {
|
|
127
|
+
this._clear();
|
|
128
|
+
}, f.prototype.eachRendered = function(e) {
|
|
129
|
+
this._newAdded[0] && e(this._newAdded[0]);
|
|
130
|
+
}, f.prototype._create = function() {
|
|
131
|
+
var e = new A({
|
|
132
|
+
cursor: "default",
|
|
133
|
+
ignoreCoarsePointer: !0
|
|
134
|
+
});
|
|
135
|
+
return this._newAdded.push(e), this.group.add(e), e;
|
|
136
|
+
}, f.prototype._setCommon = function(e, n, o) {
|
|
137
|
+
var t = n.hostModel;
|
|
138
|
+
e.setShape({
|
|
139
|
+
polyline: t.get("polyline"),
|
|
140
|
+
curveness: t.get(["lineStyle", "curveness"])
|
|
141
|
+
}), e.useStyle(t.getModel("lineStyle").getLineStyle()), e.style.strokeNoScale = !0;
|
|
142
|
+
var a = n.getVisual("style");
|
|
143
|
+
a && a.stroke && e.setStyle("stroke", a.stroke), e.setStyle("fill", null);
|
|
144
|
+
var r = S(e);
|
|
145
|
+
r.seriesIndex = t.seriesIndex, e.on("mousemove", function(v) {
|
|
146
|
+
r.dataIndex = null;
|
|
147
|
+
var s = e.hoverDataIdx;
|
|
148
|
+
s > 0 && (r.dataIndex = s + e.__startIndex);
|
|
149
|
+
});
|
|
150
|
+
}, f.prototype._clear = function() {
|
|
151
|
+
this._newAdded = [], this.group.removeAll();
|
|
152
|
+
}, f;
|
|
153
|
+
})()
|
|
154
|
+
);
|
|
155
|
+
export {
|
|
156
|
+
W as default
|
|
157
|
+
};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { __extends as g } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { createSymbol as S } from "../../util/symbol.js";
|
|
3
|
+
import { getECData as _ } from "../../util/innerStore.js";
|
|
4
|
+
import y from "../../../../zrender/lib/graphic/Group.js";
|
|
5
|
+
import m from "../../../../zrender/lib/core/BoundingRect.js";
|
|
6
|
+
import I from "../../../../zrender/lib/graphic/Path.js";
|
|
7
|
+
var l = 4, x = (
|
|
8
|
+
/** @class */
|
|
9
|
+
/* @__PURE__ */ (function() {
|
|
10
|
+
function p() {
|
|
11
|
+
}
|
|
12
|
+
return p;
|
|
13
|
+
})()
|
|
14
|
+
), C = (
|
|
15
|
+
/** @class */
|
|
16
|
+
(function(p) {
|
|
17
|
+
g(t, p);
|
|
18
|
+
function t(r) {
|
|
19
|
+
var e = p.call(this, r) || this;
|
|
20
|
+
return e._off = 0, e.hoverDataIdx = -1, e;
|
|
21
|
+
}
|
|
22
|
+
return t.prototype.getDefaultShape = function() {
|
|
23
|
+
return new x();
|
|
24
|
+
}, t.prototype.reset = function() {
|
|
25
|
+
this.notClear = !1, this._off = 0;
|
|
26
|
+
}, t.prototype.buildPath = function(r, e) {
|
|
27
|
+
var a = e.points, o = e.size, h = this.symbolProxy, i = h.shape, s = r.getContext ? r.getContext() : r, n = s && o[0] < l, u = this.softClipShape, f;
|
|
28
|
+
if (n) {
|
|
29
|
+
this._ctx = s;
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
for (this._ctx = null, f = this._off; f < a.length; ) {
|
|
33
|
+
var v = a[f++], c = a[f++];
|
|
34
|
+
isNaN(v) || isNaN(c) || u && !u.contain(v, c) || (i.x = v - o[0] / 2, i.y = c - o[1] / 2, i.width = o[0], i.height = o[1], h.buildPath(r, i, !0));
|
|
35
|
+
}
|
|
36
|
+
this.incremental && (this._off = f, this.notClear = !0);
|
|
37
|
+
}, t.prototype.afterBrush = function() {
|
|
38
|
+
var r = this.shape, e = r.points, a = r.size, o = this._ctx, h = this.softClipShape, i;
|
|
39
|
+
if (o) {
|
|
40
|
+
for (i = this._off; i < e.length; ) {
|
|
41
|
+
var s = e[i++], n = e[i++];
|
|
42
|
+
isNaN(s) || isNaN(n) || h && !h.contain(s, n) || o.fillRect(s - a[0] / 2, n - a[1] / 2, a[0], a[1]);
|
|
43
|
+
}
|
|
44
|
+
this.incremental && (this._off = i, this.notClear = !0);
|
|
45
|
+
}
|
|
46
|
+
}, t.prototype.findDataIndex = function(r, e) {
|
|
47
|
+
for (var a = this.shape, o = a.points, h = a.size, i = Math.max(h[0], 4), s = Math.max(h[1], 4), n = o.length / 2 - 1; n >= 0; n--) {
|
|
48
|
+
var u = n * 2, f = o[u] - i / 2, v = o[u + 1] - s / 2;
|
|
49
|
+
if (r >= f && e >= v && r <= f + i && e <= v + s)
|
|
50
|
+
return n;
|
|
51
|
+
}
|
|
52
|
+
return -1;
|
|
53
|
+
}, t.prototype.contain = function(r, e) {
|
|
54
|
+
var a = this.transformCoordToLocal(r, e), o = this.getBoundingRect();
|
|
55
|
+
if (r = a[0], e = a[1], o.contain(r, e)) {
|
|
56
|
+
var h = this.hoverDataIdx = this.findDataIndex(r, e);
|
|
57
|
+
return h >= 0;
|
|
58
|
+
}
|
|
59
|
+
return this.hoverDataIdx = -1, !1;
|
|
60
|
+
}, t.prototype.getBoundingRect = function() {
|
|
61
|
+
var r = this._rect;
|
|
62
|
+
if (!r) {
|
|
63
|
+
for (var e = this.shape, a = e.points, o = e.size, h = o[0], i = o[1], s = 1 / 0, n = 1 / 0, u = -1 / 0, f = -1 / 0, v = 0; v < a.length; ) {
|
|
64
|
+
var c = a[v++], d = a[v++];
|
|
65
|
+
s = Math.min(c, s), u = Math.max(c, u), n = Math.min(d, n), f = Math.max(d, f);
|
|
66
|
+
}
|
|
67
|
+
r = this._rect = new m(s - h / 2, n - i / 2, u - s + h, f - n + i);
|
|
68
|
+
}
|
|
69
|
+
return r;
|
|
70
|
+
}, t;
|
|
71
|
+
})(I)
|
|
72
|
+
), M = (
|
|
73
|
+
/** @class */
|
|
74
|
+
(function() {
|
|
75
|
+
function p() {
|
|
76
|
+
this.group = new y();
|
|
77
|
+
}
|
|
78
|
+
return p.prototype.updateData = function(t, r) {
|
|
79
|
+
this._clear();
|
|
80
|
+
var e = this._create();
|
|
81
|
+
e.setShape({
|
|
82
|
+
points: t.getLayout("points")
|
|
83
|
+
}), this._setCommon(e, t, r);
|
|
84
|
+
}, p.prototype.updateLayout = function(t) {
|
|
85
|
+
var r = t.getLayout("points");
|
|
86
|
+
this.group.eachChild(function(e) {
|
|
87
|
+
if (e.startIndex != null) {
|
|
88
|
+
var a = (e.endIndex - e.startIndex) * 2, o = e.startIndex * 4 * 2;
|
|
89
|
+
r = new Float32Array(r.buffer, o, a);
|
|
90
|
+
}
|
|
91
|
+
e.setShape("points", r), e.reset();
|
|
92
|
+
});
|
|
93
|
+
}, p.prototype.incrementalPrepareUpdate = function(t) {
|
|
94
|
+
this._clear();
|
|
95
|
+
}, p.prototype.incrementalUpdate = function(t, r, e) {
|
|
96
|
+
var a = this._newAdded[0], o = r.getLayout("points"), h = a && a.shape.points;
|
|
97
|
+
if (h && h.length < 2e4) {
|
|
98
|
+
var i = h.length, s = new Float32Array(i + o.length);
|
|
99
|
+
s.set(h), s.set(o, i), a.endIndex = t.end, a.setShape({
|
|
100
|
+
points: s
|
|
101
|
+
});
|
|
102
|
+
} else {
|
|
103
|
+
this._newAdded = [];
|
|
104
|
+
var n = this._create();
|
|
105
|
+
n.startIndex = t.start, n.endIndex = t.end, n.incremental = !0, n.setShape({
|
|
106
|
+
points: o
|
|
107
|
+
}), this._setCommon(n, r, e);
|
|
108
|
+
}
|
|
109
|
+
}, p.prototype.eachRendered = function(t) {
|
|
110
|
+
this._newAdded[0] && t(this._newAdded[0]);
|
|
111
|
+
}, p.prototype._create = function() {
|
|
112
|
+
var t = new C({
|
|
113
|
+
cursor: "default"
|
|
114
|
+
});
|
|
115
|
+
return t.ignoreCoarsePointer = !0, this.group.add(t), this._newAdded.push(t), t;
|
|
116
|
+
}, p.prototype._setCommon = function(t, r, e) {
|
|
117
|
+
var a = r.hostModel;
|
|
118
|
+
e = e || {};
|
|
119
|
+
var o = r.getVisual("symbolSize");
|
|
120
|
+
t.setShape("size", o instanceof Array ? o : [o, o]), t.softClipShape = e.clipShape || null, t.symbolProxy = S(r.getVisual("symbol"), 0, 0, 0, 0), t.setColor = t.symbolProxy.setColor;
|
|
121
|
+
var h = t.shape.size[0] < l;
|
|
122
|
+
t.useStyle(
|
|
123
|
+
// Draw shadow when doing fillRect is extremely slow.
|
|
124
|
+
a.getModel("itemStyle").getItemStyle(h ? ["color", "shadowBlur", "shadowColor"] : ["color"])
|
|
125
|
+
);
|
|
126
|
+
var i = r.getVisual("style"), s = i && i.fill;
|
|
127
|
+
s && t.setColor(s);
|
|
128
|
+
var n = _(t);
|
|
129
|
+
n.seriesIndex = a.seriesIndex, t.on("mousemove", function(u) {
|
|
130
|
+
n.dataIndex = null;
|
|
131
|
+
var f = t.hoverDataIdx;
|
|
132
|
+
f >= 0 && (n.dataIndex = f + (t.startIndex || 0));
|
|
133
|
+
});
|
|
134
|
+
}, p.prototype.remove = function() {
|
|
135
|
+
this._clear();
|
|
136
|
+
}, p.prototype._clear = function() {
|
|
137
|
+
this._newAdded = [], this.group.removeAll();
|
|
138
|
+
}, p;
|
|
139
|
+
})()
|
|
140
|
+
);
|
|
141
|
+
export {
|
|
142
|
+
M as default
|
|
143
|
+
};
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { __extends as K } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as E, isArray as Y } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { sub as G, normalize as X } from "../../../../zrender/lib/core/vector.js";
|
|
4
|
+
import { normalizeSymbolSize as C, normalizeSymbolOffset as F, createSymbol as H } from "../../util/symbol.js";
|
|
5
|
+
import U from "./LinePath.js";
|
|
6
|
+
import { SPECIAL_STATES as z, toggleHoverEmphasis as $, enterEmphasis as j, leaveEmphasis as q } from "../../util/states.js";
|
|
7
|
+
import { getLabelStatesModels as J, setLabelStyle as Q } from "../../label/labelStyle.js";
|
|
8
|
+
import { round as W } from "../../util/number.js";
|
|
9
|
+
import Z from "../../../../zrender/lib/graphic/Group.js";
|
|
10
|
+
import { initProps as x, updateProps as D } from "../../animation/basicTransition.js";
|
|
11
|
+
var R = ["fromSymbol", "toSymbol"];
|
|
12
|
+
function w(a) {
|
|
13
|
+
return "_" + a + "Type";
|
|
14
|
+
}
|
|
15
|
+
function V(a, r, t) {
|
|
16
|
+
var o = r.getItemVisual(t, a);
|
|
17
|
+
if (!o || o === "none")
|
|
18
|
+
return o;
|
|
19
|
+
var i = r.getItemVisual(t, a + "Size"), e = r.getItemVisual(t, a + "Rotate"), l = r.getItemVisual(t, a + "Offset"), f = r.getItemVisual(t, a + "KeepAspect"), s = C(i), n = F(l || 0, s);
|
|
20
|
+
return o + s + n + (e || "") + (f || "");
|
|
21
|
+
}
|
|
22
|
+
function B(a, r, t) {
|
|
23
|
+
var o = r.getItemVisual(t, a);
|
|
24
|
+
if (!(!o || o === "none")) {
|
|
25
|
+
var i = r.getItemVisual(t, a + "Size"), e = r.getItemVisual(t, a + "Rotate"), l = r.getItemVisual(t, a + "Offset"), f = r.getItemVisual(t, a + "KeepAspect"), s = C(i), n = F(l || 0, s), v = H(o, -s[0] / 2 + n[0], -s[1] / 2 + n[1], s[0], s[1], null, f);
|
|
26
|
+
return v.__specifiedRotation = e == null || isNaN(e) ? void 0 : +e * Math.PI / 180 || 0, v.name = a, v;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function ee(a) {
|
|
30
|
+
var r = new U({
|
|
31
|
+
name: "line",
|
|
32
|
+
subPixelOptimize: !0
|
|
33
|
+
});
|
|
34
|
+
return A(r.shape, a), r;
|
|
35
|
+
}
|
|
36
|
+
function A(a, r) {
|
|
37
|
+
a.x1 = r[0][0], a.y1 = r[0][1], a.x2 = r[1][0], a.y2 = r[1][1], a.percent = 1;
|
|
38
|
+
var t = r[2];
|
|
39
|
+
t ? (a.cpx1 = t[0], a.cpy1 = t[1]) : (a.cpx1 = NaN, a.cpy1 = NaN);
|
|
40
|
+
}
|
|
41
|
+
var ve = (
|
|
42
|
+
/** @class */
|
|
43
|
+
(function(a) {
|
|
44
|
+
K(r, a);
|
|
45
|
+
function r(t, o, i) {
|
|
46
|
+
var e = a.call(this) || this;
|
|
47
|
+
return e._createLine(t, o, i), e;
|
|
48
|
+
}
|
|
49
|
+
return r.prototype._createLine = function(t, o, i) {
|
|
50
|
+
var e = t.hostModel, l = t.getItemLayout(o), f = ee(l);
|
|
51
|
+
f.shape.percent = 0, x(f, {
|
|
52
|
+
shape: {
|
|
53
|
+
percent: 1
|
|
54
|
+
}
|
|
55
|
+
}, e, o), this.add(f), E(R, function(s) {
|
|
56
|
+
var n = B(s, t, o);
|
|
57
|
+
this.add(n), this[w(s)] = V(s, t, o);
|
|
58
|
+
}, this), this._updateCommonStl(t, o, i);
|
|
59
|
+
}, r.prototype.updateData = function(t, o, i) {
|
|
60
|
+
var e = t.hostModel, l = this.childOfName("line"), f = t.getItemLayout(o), s = {
|
|
61
|
+
shape: {}
|
|
62
|
+
};
|
|
63
|
+
A(s.shape, f), D(l, s, e, o), E(R, function(n) {
|
|
64
|
+
var v = V(n, t, o), u = w(n);
|
|
65
|
+
if (this[u] !== v) {
|
|
66
|
+
this.remove(this.childOfName(n));
|
|
67
|
+
var m = B(n, t, o);
|
|
68
|
+
this.add(m);
|
|
69
|
+
}
|
|
70
|
+
this[u] = v;
|
|
71
|
+
}, this), this._updateCommonStl(t, o, i);
|
|
72
|
+
}, r.prototype.getLinePath = function() {
|
|
73
|
+
return this.childAt(0);
|
|
74
|
+
}, r.prototype._updateCommonStl = function(t, o, i) {
|
|
75
|
+
var e = t.hostModel, l = this.childOfName("line"), f = i && i.emphasisLineStyle, s = i && i.blurLineStyle, n = i && i.selectLineStyle, v = i && i.labelStatesModels, u = i && i.emphasisDisabled, m = i && i.focus, k = i && i.blurScope;
|
|
76
|
+
if (!i || t.hasItemOption) {
|
|
77
|
+
var c = t.getItemModel(o), h = c.getModel("emphasis");
|
|
78
|
+
f = h.getModel("lineStyle").getLineStyle(), s = c.getModel(["blur", "lineStyle"]).getLineStyle(), n = c.getModel(["select", "lineStyle"]).getLineStyle(), u = h.get("disabled"), m = h.get("focus"), k = h.get("blurScope"), v = J(c);
|
|
79
|
+
}
|
|
80
|
+
var L = t.getItemVisual(o, "style"), g = L.stroke;
|
|
81
|
+
l.useStyle(L), l.style.fill = null, l.style.strokeNoScale = !0, l.ensureState("emphasis").style = f, l.ensureState("blur").style = s, l.ensureState("select").style = n, E(R, function(O) {
|
|
82
|
+
var p = this.childOfName(O);
|
|
83
|
+
if (p) {
|
|
84
|
+
p.setColor(g), p.style.opacity = L.opacity;
|
|
85
|
+
for (var I = 0; I < z.length; I++) {
|
|
86
|
+
var y = z[I], P = l.getState(y);
|
|
87
|
+
if (P) {
|
|
88
|
+
var T = P.style || {}, M = p.ensureState(y), N = M.style || (M.style = {});
|
|
89
|
+
T.stroke != null && (N[p.__isEmptyBrush ? "stroke" : "fill"] = T.stroke), T.opacity != null && (N.opacity = T.opacity);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
p.markRedraw();
|
|
93
|
+
}
|
|
94
|
+
}, this);
|
|
95
|
+
var S = e.getRawValue(o);
|
|
96
|
+
Q(this, v, {
|
|
97
|
+
labelDataIndex: o,
|
|
98
|
+
labelFetcher: {
|
|
99
|
+
getFormattedLabel: function(O, p) {
|
|
100
|
+
return e.getFormattedLabel(O, p, t.dataType);
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
inheritColor: g || "#000",
|
|
104
|
+
defaultOpacity: L.opacity,
|
|
105
|
+
defaultText: (S == null ? t.getName(o) : isFinite(S) ? W(S) : S) + ""
|
|
106
|
+
});
|
|
107
|
+
var b = this.getTextContent();
|
|
108
|
+
if (b) {
|
|
109
|
+
var _ = v.normal;
|
|
110
|
+
b.__align = b.style.align, b.__verticalAlign = b.style.verticalAlign, b.__position = _.get("position") || "middle";
|
|
111
|
+
var d = _.get("distance");
|
|
112
|
+
Y(d) || (d = [d, d]), b.__labelDistance = d;
|
|
113
|
+
}
|
|
114
|
+
this.setTextConfig({
|
|
115
|
+
position: null,
|
|
116
|
+
local: !0,
|
|
117
|
+
inside: !1
|
|
118
|
+
// Can't be inside for stroke element.
|
|
119
|
+
}), $(this, m, k, u);
|
|
120
|
+
}, r.prototype.highlight = function() {
|
|
121
|
+
j(this);
|
|
122
|
+
}, r.prototype.downplay = function() {
|
|
123
|
+
q(this);
|
|
124
|
+
}, r.prototype.updateLayout = function(t, o) {
|
|
125
|
+
this.setLinePoints(t.getItemLayout(o));
|
|
126
|
+
}, r.prototype.setLinePoints = function(t) {
|
|
127
|
+
var o = this.childOfName("line");
|
|
128
|
+
A(o.shape, t), o.dirty();
|
|
129
|
+
}, r.prototype.beforeUpdate = function() {
|
|
130
|
+
var t = this, o = t.childOfName("fromSymbol"), i = t.childOfName("toSymbol"), e = t.getTextContent();
|
|
131
|
+
if (!o && !i && (!e || e.ignore))
|
|
132
|
+
return;
|
|
133
|
+
for (var l = 1, f = this.parent; f; )
|
|
134
|
+
f.scaleX && (l /= f.scaleX), f = f.parent;
|
|
135
|
+
var s = t.childOfName("line");
|
|
136
|
+
if (!this.__dirty && !s.__dirty)
|
|
137
|
+
return;
|
|
138
|
+
var n = s.shape.percent, v = s.pointAt(0), u = s.pointAt(n), m = G([], u, v);
|
|
139
|
+
X(m, m);
|
|
140
|
+
function k(P, T) {
|
|
141
|
+
var M = P.__specifiedRotation;
|
|
142
|
+
if (M == null) {
|
|
143
|
+
var N = s.tangentAt(T);
|
|
144
|
+
P.attr("rotation", (T === 1 ? -1 : 1) * Math.PI / 2 - Math.atan2(N[1], N[0]));
|
|
145
|
+
} else
|
|
146
|
+
P.attr("rotation", M);
|
|
147
|
+
}
|
|
148
|
+
if (o && (o.setPosition(v), k(o, 0), o.scaleX = o.scaleY = l * n, o.markRedraw()), i && (i.setPosition(u), k(i, 1), i.scaleX = i.scaleY = l * n, i.markRedraw()), e && !e.ignore) {
|
|
149
|
+
e.x = e.y = 0, e.originX = e.originY = 0;
|
|
150
|
+
var c = void 0, h = void 0, L = e.__labelDistance, g = L[0] * l, S = L[1] * l, b = n / 2, _ = s.tangentAt(b), d = [_[1], -_[0]], O = s.pointAt(b);
|
|
151
|
+
d[1] > 0 && (d[0] = -d[0], d[1] = -d[1]);
|
|
152
|
+
var p = _[0] < 0 ? -1 : 1;
|
|
153
|
+
if (e.__position !== "start" && e.__position !== "end") {
|
|
154
|
+
var I = -Math.atan2(_[1], _[0]);
|
|
155
|
+
u[0] < v[0] && (I = Math.PI + I), e.rotation = I;
|
|
156
|
+
}
|
|
157
|
+
var y = void 0;
|
|
158
|
+
switch (e.__position) {
|
|
159
|
+
case "insideStartTop":
|
|
160
|
+
case "insideMiddleTop":
|
|
161
|
+
case "insideEndTop":
|
|
162
|
+
case "middle":
|
|
163
|
+
y = -S, h = "bottom";
|
|
164
|
+
break;
|
|
165
|
+
case "insideStartBottom":
|
|
166
|
+
case "insideMiddleBottom":
|
|
167
|
+
case "insideEndBottom":
|
|
168
|
+
y = S, h = "top";
|
|
169
|
+
break;
|
|
170
|
+
default:
|
|
171
|
+
y = 0, h = "middle";
|
|
172
|
+
}
|
|
173
|
+
switch (e.__position) {
|
|
174
|
+
case "end":
|
|
175
|
+
e.x = m[0] * g + u[0], e.y = m[1] * S + u[1], c = m[0] > 0.8 ? "left" : m[0] < -0.8 ? "right" : "center", h = m[1] > 0.8 ? "top" : m[1] < -0.8 ? "bottom" : "middle";
|
|
176
|
+
break;
|
|
177
|
+
case "start":
|
|
178
|
+
e.x = -m[0] * g + v[0], e.y = -m[1] * S + v[1], c = m[0] > 0.8 ? "right" : m[0] < -0.8 ? "left" : "center", h = m[1] > 0.8 ? "bottom" : m[1] < -0.8 ? "top" : "middle";
|
|
179
|
+
break;
|
|
180
|
+
case "insideStartTop":
|
|
181
|
+
case "insideStart":
|
|
182
|
+
case "insideStartBottom":
|
|
183
|
+
e.x = g * p + v[0], e.y = v[1] + y, c = _[0] < 0 ? "right" : "left", e.originX = -g * p, e.originY = -y;
|
|
184
|
+
break;
|
|
185
|
+
case "insideMiddleTop":
|
|
186
|
+
case "insideMiddle":
|
|
187
|
+
case "insideMiddleBottom":
|
|
188
|
+
case "middle":
|
|
189
|
+
e.x = O[0], e.y = O[1] + y, c = "center", e.originY = -y;
|
|
190
|
+
break;
|
|
191
|
+
case "insideEndTop":
|
|
192
|
+
case "insideEnd":
|
|
193
|
+
case "insideEndBottom":
|
|
194
|
+
e.x = -g * p + u[0], e.y = u[1] + y, c = _[0] >= 0 ? "right" : "left", e.originX = g * p, e.originY = -y;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
e.scaleX = e.scaleY = l, e.setStyle({
|
|
198
|
+
// Use the user specified text align and baseline first
|
|
199
|
+
verticalAlign: e.__verticalAlign || h,
|
|
200
|
+
align: e.__align || c
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}, r;
|
|
204
|
+
})(Z)
|
|
205
|
+
);
|
|
206
|
+
export {
|
|
207
|
+
ve as default
|
|
208
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { traverseElements as h } from "../../util/graphic.js";
|
|
2
|
+
import d from "./Line.js";
|
|
3
|
+
import { getLabelStatesModels as f } from "../../label/labelStyle.js";
|
|
4
|
+
import m from "../../../../zrender/lib/graphic/Group.js";
|
|
5
|
+
var _ = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function() {
|
|
8
|
+
function r(e) {
|
|
9
|
+
this.group = new m(), this._LineCtor = e || d;
|
|
10
|
+
}
|
|
11
|
+
return r.prototype.updateData = function(e) {
|
|
12
|
+
var t = this;
|
|
13
|
+
this._progressiveEls = null;
|
|
14
|
+
var s = this, o = s.group, n = s._lineData;
|
|
15
|
+
s._lineData = e, n || o.removeAll();
|
|
16
|
+
var i = p(e);
|
|
17
|
+
e.diff(n).add(function(a) {
|
|
18
|
+
t._doAdd(e, a, i);
|
|
19
|
+
}).update(function(a, c) {
|
|
20
|
+
t._doUpdate(n, e, c, a, i);
|
|
21
|
+
}).remove(function(a) {
|
|
22
|
+
o.remove(n.getItemGraphicEl(a));
|
|
23
|
+
}).execute();
|
|
24
|
+
}, r.prototype.updateLayout = function() {
|
|
25
|
+
var e = this._lineData;
|
|
26
|
+
e && e.eachItemGraphicEl(function(t, s) {
|
|
27
|
+
t.updateLayout(e, s);
|
|
28
|
+
}, this);
|
|
29
|
+
}, r.prototype.incrementalPrepareUpdate = function(e) {
|
|
30
|
+
this._seriesScope = p(e), this._lineData = null, this.group.removeAll();
|
|
31
|
+
}, r.prototype.incrementalUpdate = function(e, t) {
|
|
32
|
+
this._progressiveEls = [];
|
|
33
|
+
function s(a) {
|
|
34
|
+
!a.isGroup && !g(a) && (a.incremental = !0, a.ensureState("emphasis").hoverLayer = !0);
|
|
35
|
+
}
|
|
36
|
+
for (var o = e.start; o < e.end; o++) {
|
|
37
|
+
var n = t.getItemLayout(o);
|
|
38
|
+
if (u(n)) {
|
|
39
|
+
var i = new this._LineCtor(t, o, this._seriesScope);
|
|
40
|
+
i.traverse(s), this.group.add(i), t.setItemGraphicEl(o, i), this._progressiveEls.push(i);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}, r.prototype.remove = function() {
|
|
44
|
+
this.group.removeAll();
|
|
45
|
+
}, r.prototype.eachRendered = function(e) {
|
|
46
|
+
h(this._progressiveEls || this.group, e);
|
|
47
|
+
}, r.prototype._doAdd = function(e, t, s) {
|
|
48
|
+
var o = e.getItemLayout(t);
|
|
49
|
+
if (u(o)) {
|
|
50
|
+
var n = new this._LineCtor(e, t, s);
|
|
51
|
+
e.setItemGraphicEl(t, n), this.group.add(n);
|
|
52
|
+
}
|
|
53
|
+
}, r.prototype._doUpdate = function(e, t, s, o, n) {
|
|
54
|
+
var i = e.getItemGraphicEl(s);
|
|
55
|
+
if (!u(t.getItemLayout(o))) {
|
|
56
|
+
this.group.remove(i);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
i ? i.updateData(t, o, n) : i = new this._LineCtor(t, o, n), t.setItemGraphicEl(o, i), this.group.add(i);
|
|
60
|
+
}, r;
|
|
61
|
+
})()
|
|
62
|
+
);
|
|
63
|
+
function g(r) {
|
|
64
|
+
return r.animators && r.animators.length > 0;
|
|
65
|
+
}
|
|
66
|
+
function p(r) {
|
|
67
|
+
var e = r.hostModel, t = e.getModel("emphasis");
|
|
68
|
+
return {
|
|
69
|
+
lineStyle: e.getModel("lineStyle").getLineStyle(),
|
|
70
|
+
emphasisLineStyle: t.getModel(["lineStyle"]).getLineStyle(),
|
|
71
|
+
blurLineStyle: e.getModel(["blur", "lineStyle"]).getLineStyle(),
|
|
72
|
+
selectLineStyle: e.getModel(["select", "lineStyle"]).getLineStyle(),
|
|
73
|
+
emphasisDisabled: t.get("disabled"),
|
|
74
|
+
blurScope: t.get("blurScope"),
|
|
75
|
+
focus: t.get("focus"),
|
|
76
|
+
labelStatesModels: f(e)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function l(r) {
|
|
80
|
+
return isNaN(r[0]) || isNaN(r[1]);
|
|
81
|
+
}
|
|
82
|
+
function u(r) {
|
|
83
|
+
return r && !l(r[0]) && !l(r[1]);
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
_ as default
|
|
87
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __extends as h } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { normalize as l } from "../../../../zrender/lib/core/vector.js";
|
|
3
|
+
import s from "../../../../zrender/lib/graphic/shape/Line.js";
|
|
4
|
+
import f from "../../../../zrender/lib/graphic/shape/BezierCurve.js";
|
|
5
|
+
import c from "../../../../zrender/lib/graphic/Path.js";
|
|
6
|
+
var u = s.prototype, n = f.prototype, p = (
|
|
7
|
+
/** @class */
|
|
8
|
+
/* @__PURE__ */ (function() {
|
|
9
|
+
function i() {
|
|
10
|
+
this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.percent = 1;
|
|
11
|
+
}
|
|
12
|
+
return i;
|
|
13
|
+
})()
|
|
14
|
+
);
|
|
15
|
+
(function(i) {
|
|
16
|
+
h(r, i);
|
|
17
|
+
function r() {
|
|
18
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return r;
|
|
21
|
+
})(p);
|
|
22
|
+
function o(i) {
|
|
23
|
+
return isNaN(+i.cpx1) || isNaN(+i.cpy1);
|
|
24
|
+
}
|
|
25
|
+
var S = (
|
|
26
|
+
/** @class */
|
|
27
|
+
(function(i) {
|
|
28
|
+
h(r, i);
|
|
29
|
+
function r(e) {
|
|
30
|
+
var t = i.call(this, e) || this;
|
|
31
|
+
return t.type = "ec-line", t;
|
|
32
|
+
}
|
|
33
|
+
return r.prototype.getDefaultStyle = function() {
|
|
34
|
+
return {
|
|
35
|
+
stroke: "#000",
|
|
36
|
+
fill: null
|
|
37
|
+
};
|
|
38
|
+
}, r.prototype.getDefaultShape = function() {
|
|
39
|
+
return new p();
|
|
40
|
+
}, r.prototype.buildPath = function(e, t) {
|
|
41
|
+
o(t) ? u.buildPath.call(this, e, t) : n.buildPath.call(this, e, t);
|
|
42
|
+
}, r.prototype.pointAt = function(e) {
|
|
43
|
+
return o(this.shape) ? u.pointAt.call(this, e) : n.pointAt.call(this, e);
|
|
44
|
+
}, r.prototype.tangentAt = function(e) {
|
|
45
|
+
var t = this.shape, a = o(t) ? [t.x2 - t.x1, t.y2 - t.y1] : n.tangentAt.call(this, e);
|
|
46
|
+
return l(a, a);
|
|
47
|
+
}, r;
|
|
48
|
+
})(c)
|
|
49
|
+
);
|
|
50
|
+
export {
|
|
51
|
+
S as default
|
|
52
|
+
};
|