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,17 @@
|
|
|
1
|
+
import { makeInner as s } from "../util/model.js";
|
|
2
|
+
import f from "./LabelManager.js";
|
|
3
|
+
var l = s();
|
|
4
|
+
function c(r) {
|
|
5
|
+
r.registerUpdateLifecycle("series:beforeupdate", function(o, a, n) {
|
|
6
|
+
var e = l(a).labelManager;
|
|
7
|
+
e || (e = l(a).labelManager = new f()), e.clearLabels();
|
|
8
|
+
}), r.registerUpdateLifecycle("series:layoutlabels", function(o, a, n) {
|
|
9
|
+
var e = l(a).labelManager;
|
|
10
|
+
n.updatedSeries.forEach(function(t) {
|
|
11
|
+
e.addLabelsOfSeries(a.getViewOfSeriesModel(t));
|
|
12
|
+
}), e.updateLayoutConfig(a), e.layout(a), e.processLabelsOverall();
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
c as installLabelLayout
|
|
17
|
+
};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import "../util/graphic.js";
|
|
2
|
+
import J from "../../../zrender/lib/core/PathProxy.js";
|
|
3
|
+
import { normalizeRadian as R } from "../../../zrender/lib/contain/util.js";
|
|
4
|
+
import { quadraticProjectPoint as K, cubicProjectPoint as V } from "../../../zrender/lib/core/curve.js";
|
|
5
|
+
import { retrieve2 as O, defaults as W } from "../../../zrender/lib/core/util.js";
|
|
6
|
+
import { invert as X } from "../../../zrender/lib/core/matrix.js";
|
|
7
|
+
import { dist as _, lerp as z } from "../../../zrender/lib/core/vector.js";
|
|
8
|
+
import { DISPLAY_STATES as B, SPECIAL_STATES as Q } from "../util/states.js";
|
|
9
|
+
import x from "../../../zrender/lib/core/Point.js";
|
|
10
|
+
import $ from "../../../zrender/lib/graphic/shape/Polyline.js";
|
|
11
|
+
import E from "../../../zrender/lib/graphic/Path.js";
|
|
12
|
+
var G = Math.PI * 2, I = J.CMD, N = ["top", "right", "bottom", "left"];
|
|
13
|
+
function rr(e, n, v, r, o) {
|
|
14
|
+
var s = v.width, f = v.height;
|
|
15
|
+
switch (e) {
|
|
16
|
+
case "top":
|
|
17
|
+
r.set(v.x + s / 2, v.y - n), o.set(0, -1);
|
|
18
|
+
break;
|
|
19
|
+
case "bottom":
|
|
20
|
+
r.set(v.x + s / 2, v.y + f + n), o.set(0, 1);
|
|
21
|
+
break;
|
|
22
|
+
case "left":
|
|
23
|
+
r.set(v.x - n, v.y + f / 2), o.set(-1, 0);
|
|
24
|
+
break;
|
|
25
|
+
case "right":
|
|
26
|
+
r.set(v.x + s + n, v.y + f / 2), o.set(1, 0);
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function ar(e, n, v, r, o, s, f, i, u) {
|
|
31
|
+
f -= e, i -= n;
|
|
32
|
+
var h = Math.sqrt(f * f + i * i);
|
|
33
|
+
f /= h, i /= h;
|
|
34
|
+
var a = f * v + e, m = i * v + n;
|
|
35
|
+
if (Math.abs(r - o) % G < 1e-4)
|
|
36
|
+
return u[0] = a, u[1] = m, h - v;
|
|
37
|
+
if (s) {
|
|
38
|
+
var p = r;
|
|
39
|
+
r = R(o), o = R(p);
|
|
40
|
+
} else
|
|
41
|
+
r = R(r), o = R(o);
|
|
42
|
+
r > o && (o += G);
|
|
43
|
+
var t = Math.atan2(i, f);
|
|
44
|
+
if (t < 0 && (t += G), t >= r && t <= o || t + G >= r && t + G <= o)
|
|
45
|
+
return u[0] = a, u[1] = m, h - v;
|
|
46
|
+
var b = v * Math.cos(r) + e, l = v * Math.sin(r) + n, M = v * Math.cos(o) + e, S = v * Math.sin(o) + n, k = (b - f) * (b - f) + (l - i) * (l - i), w = (M - f) * (M - f) + (S - i) * (S - i);
|
|
47
|
+
return k < w ? (u[0] = b, u[1] = l, Math.sqrt(k)) : (u[0] = M, u[1] = S, Math.sqrt(w));
|
|
48
|
+
}
|
|
49
|
+
function q(e, n, v, r, o, s, f, i) {
|
|
50
|
+
var u = o - e, h = s - n, a = v - e, m = r - n, p = Math.sqrt(a * a + m * m);
|
|
51
|
+
a /= p, m /= p;
|
|
52
|
+
var t = u * a + h * m, b = t / p;
|
|
53
|
+
i && (b = Math.min(Math.max(b, 0), 1)), b *= p;
|
|
54
|
+
var l = f[0] = e + b * a, M = f[1] = n + b * m;
|
|
55
|
+
return Math.sqrt((l - o) * (l - o) + (M - s) * (M - s));
|
|
56
|
+
}
|
|
57
|
+
function U(e, n, v, r, o, s, f) {
|
|
58
|
+
v < 0 && (e = e + v, v = -v), r < 0 && (n = n + r, r = -r);
|
|
59
|
+
var i = e + v, u = n + r, h = f[0] = Math.min(Math.max(o, e), i), a = f[1] = Math.min(Math.max(s, n), u);
|
|
60
|
+
return Math.sqrt((h - o) * (h - o) + (a - s) * (a - s));
|
|
61
|
+
}
|
|
62
|
+
var T = [];
|
|
63
|
+
function er(e, n, v) {
|
|
64
|
+
var r = U(n.x, n.y, n.width, n.height, e.x, e.y, T);
|
|
65
|
+
return v.set(T[0], T[1]), r;
|
|
66
|
+
}
|
|
67
|
+
function or(e, n, v) {
|
|
68
|
+
for (var r = 0, o = 0, s = 0, f = 0, i, u, h = 1 / 0, a = n.data, m = e.x, p = e.y, t = 0; t < a.length; ) {
|
|
69
|
+
var b = a[t++];
|
|
70
|
+
t === 1 && (r = a[t], o = a[t + 1], s = r, f = o);
|
|
71
|
+
var l = h;
|
|
72
|
+
switch (b) {
|
|
73
|
+
case I.M:
|
|
74
|
+
s = a[t++], f = a[t++], r = s, o = f;
|
|
75
|
+
break;
|
|
76
|
+
case I.L:
|
|
77
|
+
l = q(r, o, a[t], a[t + 1], m, p, T, !0), r = a[t++], o = a[t++];
|
|
78
|
+
break;
|
|
79
|
+
case I.C:
|
|
80
|
+
l = V(r, o, a[t++], a[t++], a[t++], a[t++], a[t], a[t + 1], m, p, T), r = a[t++], o = a[t++];
|
|
81
|
+
break;
|
|
82
|
+
case I.Q:
|
|
83
|
+
l = K(r, o, a[t++], a[t++], a[t], a[t + 1], m, p, T), r = a[t++], o = a[t++];
|
|
84
|
+
break;
|
|
85
|
+
case I.A:
|
|
86
|
+
var M = a[t++], S = a[t++], k = a[t++], w = a[t++], j = a[t++], g = a[t++];
|
|
87
|
+
t += 1;
|
|
88
|
+
var Y = !!(1 - a[t++]);
|
|
89
|
+
i = Math.cos(j) * k + M, u = Math.sin(j) * w + S, t <= 1 && (s = i, f = u);
|
|
90
|
+
var Z = (m - M) * w / k + M;
|
|
91
|
+
l = ar(M, S, w, j, j + g, Y, Z, p, T), r = Math.cos(j + g) * k + M, o = Math.sin(j + g) * w + S;
|
|
92
|
+
break;
|
|
93
|
+
case I.R:
|
|
94
|
+
s = r = a[t++], f = o = a[t++];
|
|
95
|
+
var F = a[t++], H = a[t++];
|
|
96
|
+
l = U(s, f, F, H, m, p, T);
|
|
97
|
+
break;
|
|
98
|
+
case I.Z:
|
|
99
|
+
l = q(r, o, s, f, m, p, T, !0), r = s, o = f;
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
l < h && (h = l, v.set(T[0], T[1]));
|
|
103
|
+
}
|
|
104
|
+
return h;
|
|
105
|
+
}
|
|
106
|
+
var L = new x(), y = new x(), c = new x(), d = new x(), P = new x();
|
|
107
|
+
function Mr(e, n) {
|
|
108
|
+
if (e) {
|
|
109
|
+
var v = e.getTextGuideLine(), r = e.getTextContent();
|
|
110
|
+
if (r && v) {
|
|
111
|
+
var o = e.textGuideLineConfig || {}, s = [[0, 0], [0, 0], [0, 0]], f = o.candidates || N, i = r.getBoundingRect().clone();
|
|
112
|
+
i.applyTransform(r.getComputedTransform());
|
|
113
|
+
var u = 1 / 0, h = o.anchor, a = e.getComputedTransform(), m = a && X([], a), p = n.get("length2") || 0;
|
|
114
|
+
h && c.copy(h);
|
|
115
|
+
for (var t = 0; t < f.length; t++) {
|
|
116
|
+
var b = f[t];
|
|
117
|
+
rr(b, 0, i, L, d), x.scaleAndAdd(y, L, d, p), y.transform(m);
|
|
118
|
+
var l = e.getBoundingRect(), M = h ? h.distance(y) : e instanceof E ? or(y, e.path, c) : er(y, l, c);
|
|
119
|
+
M < u && (u = M, y.transform(a), c.transform(a), c.toArray(s[0]), y.toArray(s[1]), L.toArray(s[2]));
|
|
120
|
+
}
|
|
121
|
+
vr(s, n.get("minTurnAngle")), v.setShape({
|
|
122
|
+
points: s
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
var A = [], C = new x();
|
|
128
|
+
function vr(e, n) {
|
|
129
|
+
if (n <= 180 && n > 0) {
|
|
130
|
+
n = n / 180 * Math.PI, L.fromArray(e[0]), y.fromArray(e[1]), c.fromArray(e[2]), x.sub(d, L, y), x.sub(P, c, y);
|
|
131
|
+
var v = d.len(), r = P.len();
|
|
132
|
+
if (!(v < 1e-3 || r < 1e-3)) {
|
|
133
|
+
d.scale(1 / v), P.scale(1 / r);
|
|
134
|
+
var o = d.dot(P), s = Math.cos(n);
|
|
135
|
+
if (s < o) {
|
|
136
|
+
var f = q(y.x, y.y, c.x, c.y, L.x, L.y, A, !1);
|
|
137
|
+
C.fromArray(A), C.scaleAndAdd(P, f / Math.tan(Math.PI - n));
|
|
138
|
+
var i = c.x !== y.x ? (C.x - y.x) / (c.x - y.x) : (C.y - y.y) / (c.y - y.y);
|
|
139
|
+
if (isNaN(i))
|
|
140
|
+
return;
|
|
141
|
+
i < 0 ? x.copy(C, y) : i > 1 && x.copy(C, c), C.toArray(e[1]);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function br(e, n, v) {
|
|
147
|
+
if (v <= 180 && v > 0) {
|
|
148
|
+
v = v / 180 * Math.PI, L.fromArray(e[0]), y.fromArray(e[1]), c.fromArray(e[2]), x.sub(d, y, L), x.sub(P, c, y);
|
|
149
|
+
var r = d.len(), o = P.len();
|
|
150
|
+
if (!(r < 1e-3 || o < 1e-3)) {
|
|
151
|
+
d.scale(1 / r), P.scale(1 / o);
|
|
152
|
+
var s = d.dot(n), f = Math.cos(v);
|
|
153
|
+
if (s < f) {
|
|
154
|
+
var i = q(y.x, y.y, c.x, c.y, L.x, L.y, A, !1);
|
|
155
|
+
C.fromArray(A);
|
|
156
|
+
var u = Math.PI / 2, h = Math.acos(P.dot(n)), a = u + h - v;
|
|
157
|
+
if (a >= u)
|
|
158
|
+
x.copy(C, c);
|
|
159
|
+
else {
|
|
160
|
+
C.scaleAndAdd(P, i / Math.tan(Math.PI / 2 - a));
|
|
161
|
+
var m = c.x !== y.x ? (C.x - y.x) / (c.x - y.x) : (C.y - y.y) / (c.y - y.y);
|
|
162
|
+
if (isNaN(m))
|
|
163
|
+
return;
|
|
164
|
+
m < 0 ? x.copy(C, y) : m > 1 && x.copy(C, c);
|
|
165
|
+
}
|
|
166
|
+
C.toArray(e[1]);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function D(e, n, v, r) {
|
|
172
|
+
var o = v === "normal", s = o ? e : e.ensureState(v);
|
|
173
|
+
s.ignore = n;
|
|
174
|
+
var f = r.get("smooth");
|
|
175
|
+
f && f === !0 && (f = 0.3), s.shape = s.shape || {}, f > 0 && (s.shape.smooth = f);
|
|
176
|
+
var i = r.getModel("lineStyle").getLineStyle();
|
|
177
|
+
o ? e.useStyle(i) : s.style = i;
|
|
178
|
+
}
|
|
179
|
+
function tr(e, n) {
|
|
180
|
+
var v = n.smooth, r = n.points;
|
|
181
|
+
if (r)
|
|
182
|
+
if (e.moveTo(r[0][0], r[0][1]), v > 0 && r.length >= 3) {
|
|
183
|
+
var o = _(r[0], r[1]), s = _(r[1], r[2]);
|
|
184
|
+
if (!o || !s) {
|
|
185
|
+
e.lineTo(r[1][0], r[1][1]), e.lineTo(r[2][0], r[2][1]);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
var f = Math.min(o, s) * v, i = z([], r[1], r[0], f / o), u = z([], r[1], r[2], f / s), h = z([], i, u, 0.5);
|
|
189
|
+
e.bezierCurveTo(i[0], i[1], i[0], i[1], h[0], h[1]), e.bezierCurveTo(u[0], u[1], u[0], u[1], r[2][0], r[2][1]);
|
|
190
|
+
} else
|
|
191
|
+
for (var a = 1; a < r.length; a++)
|
|
192
|
+
e.lineTo(r[a][0], r[a][1]);
|
|
193
|
+
}
|
|
194
|
+
function xr(e, n, v) {
|
|
195
|
+
var r = e.getTextGuideLine(), o = e.getTextContent();
|
|
196
|
+
if (!o) {
|
|
197
|
+
r && e.removeTextGuideLine();
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
for (var s = n.normal, f = s.get("show"), i = o.ignore, u = 0; u < B.length; u++) {
|
|
201
|
+
var h = B[u], a = n[h], m = h === "normal";
|
|
202
|
+
if (a) {
|
|
203
|
+
var p = a.get("show"), t = m ? i : O(o.states[h] && o.states[h].ignore, i);
|
|
204
|
+
if (t || !O(p, f)) {
|
|
205
|
+
var b = m ? r : r && r.states[h];
|
|
206
|
+
b && (b.ignore = !0), r && D(r, !0, h, a);
|
|
207
|
+
continue;
|
|
208
|
+
}
|
|
209
|
+
r || (r = new $(), e.setTextGuideLine(r), !m && (i || !f) && D(r, !0, "normal", n.normal), e.stateProxy && (r.stateProxy = e.stateProxy)), D(r, !1, h, a);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
if (r) {
|
|
213
|
+
W(r.style, v), r.style.fill = null;
|
|
214
|
+
var l = s.get("showAbove"), M = e.textGuideLineConfig = e.textGuideLineConfig || {};
|
|
215
|
+
M.showAbove = l || !1, r.buildPath = tr;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
function Cr(e, n) {
|
|
219
|
+
n = n || "labelLine";
|
|
220
|
+
for (var v = {
|
|
221
|
+
normal: e.getModel(n)
|
|
222
|
+
}, r = 0; r < Q.length; r++) {
|
|
223
|
+
var o = Q[r];
|
|
224
|
+
v[o] = e.getModel([o, n]);
|
|
225
|
+
}
|
|
226
|
+
return v;
|
|
227
|
+
}
|
|
228
|
+
export {
|
|
229
|
+
Cr as getLabelLineStatesModels,
|
|
230
|
+
br as limitSurfaceAngle,
|
|
231
|
+
vr as limitTurnAngle,
|
|
232
|
+
xr as setLabelLineStyle,
|
|
233
|
+
Mr as updateLabelLinePoints
|
|
234
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import "../util/graphic.js";
|
|
2
|
+
import B from "../../../zrender/lib/core/OrientedBoundingRect.js";
|
|
3
|
+
import Y from "../../../zrender/lib/core/BoundingRect.js";
|
|
4
|
+
function N(t) {
|
|
5
|
+
for (var r = [], o = 0; o < t.length; o++) {
|
|
6
|
+
var v = t[o];
|
|
7
|
+
if (!v.defaultAttr.ignore) {
|
|
8
|
+
var d = v.label, f = d.getComputedTransform(), u = d.getBoundingRect(), O = !f || f[1] < 1e-5 && f[2] < 1e-5, s = d.style.margin || 0, i = u.clone();
|
|
9
|
+
i.applyTransform(f), i.x -= s / 2, i.y -= s / 2, i.width += s, i.height += s;
|
|
10
|
+
var g = O ? new B(u, f) : null;
|
|
11
|
+
r.push({
|
|
12
|
+
label: d,
|
|
13
|
+
labelLine: v.labelLine,
|
|
14
|
+
rect: i,
|
|
15
|
+
localRect: u,
|
|
16
|
+
obb: g,
|
|
17
|
+
priority: v.priority,
|
|
18
|
+
defaultAttr: v.defaultAttr,
|
|
19
|
+
layoutOption: v.computedLayoutOption,
|
|
20
|
+
axisAligned: O,
|
|
21
|
+
transform: f
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return r;
|
|
26
|
+
}
|
|
27
|
+
function X(t, r, o, v, d, f) {
|
|
28
|
+
var u = t.length;
|
|
29
|
+
if (u < 2)
|
|
30
|
+
return;
|
|
31
|
+
t.sort(function(n, y) {
|
|
32
|
+
return n.rect[r] - y.rect[r];
|
|
33
|
+
});
|
|
34
|
+
for (var O = 0, s, i = !1, g = 0; g < u; g++) {
|
|
35
|
+
var G = t[g], A = G.rect;
|
|
36
|
+
s = A[r] - O, s < 0 && (A[r] -= s, G.label[r] -= s, i = !0), O = A[r] + A[o];
|
|
37
|
+
}
|
|
38
|
+
var k = t[0], L = t[u - 1], c, p;
|
|
39
|
+
b(), c < 0 && M(-c, 0.8), p < 0 && M(p, 0.8), b(), E(c, p, 1), E(p, c, -1), b(), c < 0 && P(-c), p < 0 && P(p);
|
|
40
|
+
function b() {
|
|
41
|
+
c = k.rect[r] - v, p = d - L.rect[r] - L.rect[o];
|
|
42
|
+
}
|
|
43
|
+
function E(n, y, h) {
|
|
44
|
+
if (n < 0) {
|
|
45
|
+
var e = Math.min(y, -n);
|
|
46
|
+
if (e > 0) {
|
|
47
|
+
q(e * h, 0, u);
|
|
48
|
+
var a = e + n;
|
|
49
|
+
a < 0 && M(-a * h, 1);
|
|
50
|
+
} else
|
|
51
|
+
M(-n * h, 1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function q(n, y, h) {
|
|
55
|
+
n !== 0 && (i = !0);
|
|
56
|
+
for (var e = y; e < h; e++) {
|
|
57
|
+
var a = t[e], S = a.rect;
|
|
58
|
+
S[r] += n, a.label[r] += n;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function M(n, y) {
|
|
62
|
+
for (var h = [], e = 0, a = 1; a < u; a++) {
|
|
63
|
+
var S = t[a - 1].rect, z = Math.max(t[a].rect[r] - S[r] - S[o], 0);
|
|
64
|
+
h.push(z), e += z;
|
|
65
|
+
}
|
|
66
|
+
if (e) {
|
|
67
|
+
var W = Math.min(Math.abs(n) / e, y);
|
|
68
|
+
if (n > 0)
|
|
69
|
+
for (var a = 0; a < u - 1; a++) {
|
|
70
|
+
var w = h[a] * W;
|
|
71
|
+
q(w, 0, a + 1);
|
|
72
|
+
}
|
|
73
|
+
else
|
|
74
|
+
for (var a = u - 1; a > 0; a--) {
|
|
75
|
+
var w = h[a - 1] * W;
|
|
76
|
+
q(-w, a, u);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function P(n) {
|
|
81
|
+
var y = n < 0 ? -1 : 1;
|
|
82
|
+
n = Math.abs(n);
|
|
83
|
+
for (var h = Math.ceil(n / (u - 1)), e = 0; e < u - 1; e++)
|
|
84
|
+
if (y > 0 ? q(h, 0, e + 1) : q(-h, u - e - 1, u), n -= h, n <= 0)
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
return i;
|
|
88
|
+
}
|
|
89
|
+
function Q(t, r, o, v) {
|
|
90
|
+
return X(t, "x", "width", r, o);
|
|
91
|
+
}
|
|
92
|
+
function U(t, r, o, v) {
|
|
93
|
+
return X(t, "y", "height", r, o);
|
|
94
|
+
}
|
|
95
|
+
function V(t) {
|
|
96
|
+
var r = [];
|
|
97
|
+
t.sort(function(c, p) {
|
|
98
|
+
return p.priority - c.priority;
|
|
99
|
+
});
|
|
100
|
+
var o = new Y(0, 0, 0, 0);
|
|
101
|
+
function v(c) {
|
|
102
|
+
if (!c.ignore) {
|
|
103
|
+
var p = c.ensureState("emphasis");
|
|
104
|
+
p.ignore == null && (p.ignore = !1);
|
|
105
|
+
}
|
|
106
|
+
c.ignore = !0;
|
|
107
|
+
}
|
|
108
|
+
for (var d = 0; d < t.length; d++) {
|
|
109
|
+
var f = t[d], u = f.axisAligned, O = f.localRect, s = f.transform, i = f.label, g = f.labelLine;
|
|
110
|
+
o.copy(f.rect), o.width -= 0.1, o.height -= 0.1, o.x += 0.05, o.y += 0.05;
|
|
111
|
+
for (var G = f.obb, A = !1, k = 0; k < r.length; k++) {
|
|
112
|
+
var L = r[k];
|
|
113
|
+
if (o.intersect(L.rect)) {
|
|
114
|
+
if (u && L.axisAligned) {
|
|
115
|
+
A = !0;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
if (L.obb || (L.obb = new B(L.localRect, L.transform)), G || (G = new B(O, s)), G.intersect(L.obb)) {
|
|
119
|
+
A = !0;
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
A ? (v(i), g && v(g)) : (i.attr("ignore", f.defaultAttr.ignore), g && g.attr("ignore", f.defaultAttr.labelGuideIgnore), r.push(f));
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export {
|
|
128
|
+
V as hideOverlap,
|
|
129
|
+
N as prepareLayoutList,
|
|
130
|
+
Q as shiftLayoutOnX,
|
|
131
|
+
U as shiftLayoutOnY
|
|
132
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import L from "../../../zrender/lib/graphic/Text.js";
|
|
2
|
+
import { trim as _, extend as x, keys as X, retrieve2 as w, isFunction as Y } from "../../../zrender/lib/core/util.js";
|
|
3
|
+
import { DISPLAY_STATES as D, SPECIAL_STATES as C } from "../util/states.js";
|
|
4
|
+
import { makeInner as z, interpolateRawValues as H } from "../util/model.js";
|
|
5
|
+
import "../util/graphic.js";
|
|
6
|
+
import { initProps as G, updateProps as J } from "../animation/basicTransition.js";
|
|
7
|
+
var O = {};
|
|
8
|
+
function W(r, n) {
|
|
9
|
+
for (var a = 0; a < C.length; a++) {
|
|
10
|
+
var i = C[a], e = n[i], o = r.ensureState(i);
|
|
11
|
+
o.style = o.style || {}, o.style.text = e;
|
|
12
|
+
}
|
|
13
|
+
var u = r.currentStates.slice();
|
|
14
|
+
r.clearStates(!0), r.setStyle({
|
|
15
|
+
text: n.normal
|
|
16
|
+
}), r.useStates(u, !0);
|
|
17
|
+
}
|
|
18
|
+
function P(r, n, a) {
|
|
19
|
+
var i = r.labelFetcher, e = r.labelDataIndex, o = r.labelDimIndex, u = n.normal, f;
|
|
20
|
+
i && (f = i.getFormattedLabel(e, "normal", null, o, u && u.get("formatter"), a != null ? {
|
|
21
|
+
interpolatedValue: a
|
|
22
|
+
} : null)), f == null && (f = Y(r.defaultText) ? r.defaultText(e, r, a) : r.defaultText);
|
|
23
|
+
for (var l = {
|
|
24
|
+
normal: f
|
|
25
|
+
}, v = 0; v < C.length; v++) {
|
|
26
|
+
var t = C[v], h = n[t];
|
|
27
|
+
l[t] = w(i ? i.getFormattedLabel(e, t, null, o, h && h.get("formatter")) : null, f);
|
|
28
|
+
}
|
|
29
|
+
return l;
|
|
30
|
+
}
|
|
31
|
+
function E(r, n, a, i) {
|
|
32
|
+
a = a || O;
|
|
33
|
+
for (var e = r instanceof L, o = !1, u = 0; u < D.length; u++) {
|
|
34
|
+
var f = n[D[u]];
|
|
35
|
+
if (f && f.getShallow("show")) {
|
|
36
|
+
o = !0;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
var l = e ? r : r.getTextContent();
|
|
41
|
+
if (o) {
|
|
42
|
+
e || (l || (l = new L(), r.setTextContent(l)), r.stateProxy && (l.stateProxy = r.stateProxy));
|
|
43
|
+
var v = P(a, n), t = n.normal, h = !!t.getShallow("show"), g = A(t, i && i.normal, a, !1, !e);
|
|
44
|
+
g.text = v.normal, e || r.setTextConfig(F(t, a, !1));
|
|
45
|
+
for (var u = 0; u < C.length; u++) {
|
|
46
|
+
var T = C[u], f = n[T];
|
|
47
|
+
if (f) {
|
|
48
|
+
var m = l.ensureState(T), s = !!w(f.getShallow("show"), h);
|
|
49
|
+
if (s !== h && (m.ignore = !s), m.style = A(f, i && i[T], a, !0, !e), m.style.text = v[T], !e) {
|
|
50
|
+
var c = r.ensureState(T);
|
|
51
|
+
c.textConfig = F(f, a, !0);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
l.silent = !!t.getShallow("silent"), l.style.x != null && (g.x = l.style.x), l.style.y != null && (g.y = l.style.y), l.ignore = !h, l.useStyle(g), l.dirty(), a.enableTextSetter && (B(l).setLabelText = function(d) {
|
|
56
|
+
var b = P(a, n, d);
|
|
57
|
+
W(l, b);
|
|
58
|
+
});
|
|
59
|
+
} else l && (l.ignore = !0);
|
|
60
|
+
r.dirty();
|
|
61
|
+
}
|
|
62
|
+
function y(r, n) {
|
|
63
|
+
n = n || "label";
|
|
64
|
+
for (var a = {
|
|
65
|
+
normal: r.getModel(n)
|
|
66
|
+
}, i = 0; i < C.length; i++) {
|
|
67
|
+
var e = C[i];
|
|
68
|
+
a[e] = r.getModel([e, n]);
|
|
69
|
+
}
|
|
70
|
+
return a;
|
|
71
|
+
}
|
|
72
|
+
function A(r, n, a, i, e) {
|
|
73
|
+
var o = {};
|
|
74
|
+
return Z(o, r, a, i, e), n && x(o, n), o;
|
|
75
|
+
}
|
|
76
|
+
function F(r, n, a) {
|
|
77
|
+
n = n || {};
|
|
78
|
+
var i = {}, e, o = r.getShallow("rotate"), u = w(r.getShallow("distance"), a ? null : 5), f = r.getShallow("offset");
|
|
79
|
+
return e = r.getShallow("position") || (a ? null : "inside"), e === "outside" && (e = n.defaultOutsidePosition || "top"), e != null && (i.position = e), f != null && (i.offset = f), o != null && (o *= Math.PI / 180, i.rotation = o), u != null && (i.distance = u), i.outsideFill = r.get("color") === "inherit" ? n.inheritColor || null : "auto", i;
|
|
80
|
+
}
|
|
81
|
+
function Z(r, n, a, i, e) {
|
|
82
|
+
a = a || O;
|
|
83
|
+
var o = n.ecModel, u = o && o.option.textStyle, f = j(n), l;
|
|
84
|
+
if (f) {
|
|
85
|
+
l = {};
|
|
86
|
+
for (var v in f)
|
|
87
|
+
if (f.hasOwnProperty(v)) {
|
|
88
|
+
var t = n.getModel(["rich", v]);
|
|
89
|
+
V(l[v] = {}, t, u, a, i, e, !1, !0);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
l && (r.rich = l);
|
|
93
|
+
var h = n.get("overflow");
|
|
94
|
+
h && (r.overflow = h);
|
|
95
|
+
var g = n.get("minMargin");
|
|
96
|
+
g != null && (r.margin = g), V(r, n, u, a, i, e, !0, !1);
|
|
97
|
+
}
|
|
98
|
+
function j(r) {
|
|
99
|
+
for (var n; r && r !== r.ecModel; ) {
|
|
100
|
+
var a = (r.option || O).rich;
|
|
101
|
+
if (a) {
|
|
102
|
+
n = n || {};
|
|
103
|
+
for (var i = X(a), e = 0; e < i.length; e++) {
|
|
104
|
+
var o = i[e];
|
|
105
|
+
n[o] = 1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
r = r.parentModel;
|
|
109
|
+
}
|
|
110
|
+
return n;
|
|
111
|
+
}
|
|
112
|
+
var k = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "textShadowColor", "textShadowBlur", "textShadowOffsetX", "textShadowOffsetY"], p = ["align", "lineHeight", "width", "height", "tag", "verticalAlign", "ellipsis"], R = ["padding", "borderWidth", "borderRadius", "borderDashOffset", "backgroundColor", "borderColor", "shadowColor", "shadowBlur", "shadowOffsetX", "shadowOffsetY"];
|
|
113
|
+
function V(r, n, a, i, e, o, u, f) {
|
|
114
|
+
a = !e && a || O;
|
|
115
|
+
var l = i && i.inheritColor, v = n.getShallow("color"), t = n.getShallow("textBorderColor"), h = w(n.getShallow("opacity"), a.opacity);
|
|
116
|
+
(v === "inherit" || v === "auto") && (l ? v = l : v = null), (t === "inherit" || t === "auto") && (l ? t = l : t = null), o || (v = v || a.color, t = t || a.textBorderColor), v != null && (r.fill = v), t != null && (r.stroke = t);
|
|
117
|
+
var g = w(n.getShallow("textBorderWidth"), a.textBorderWidth);
|
|
118
|
+
g != null && (r.lineWidth = g);
|
|
119
|
+
var T = w(n.getShallow("textBorderType"), a.textBorderType);
|
|
120
|
+
T != null && (r.lineDash = T);
|
|
121
|
+
var m = w(n.getShallow("textBorderDashOffset"), a.textBorderDashOffset);
|
|
122
|
+
m != null && (r.lineDashOffset = m), !e && h == null && !f && (h = i && i.defaultOpacity), h != null && (r.opacity = h), !e && !o && r.fill == null && i.inheritColor && (r.fill = i.inheritColor);
|
|
123
|
+
for (var s = 0; s < k.length; s++) {
|
|
124
|
+
var c = k[s], d = w(n.getShallow(c), a[c]);
|
|
125
|
+
d != null && (r[c] = d);
|
|
126
|
+
}
|
|
127
|
+
for (var s = 0; s < p.length; s++) {
|
|
128
|
+
var c = p[s], d = n.getShallow(c);
|
|
129
|
+
d != null && (r[c] = d);
|
|
130
|
+
}
|
|
131
|
+
if (r.verticalAlign == null) {
|
|
132
|
+
var b = n.getShallow("baseline");
|
|
133
|
+
b != null && (r.verticalAlign = b);
|
|
134
|
+
}
|
|
135
|
+
if (!u || !i.disableBox) {
|
|
136
|
+
for (var s = 0; s < R.length; s++) {
|
|
137
|
+
var c = R[s], d = n.getShallow(c);
|
|
138
|
+
d != null && (r[c] = d);
|
|
139
|
+
}
|
|
140
|
+
var I = n.getShallow("borderType");
|
|
141
|
+
I != null && (r.borderDash = I), (r.backgroundColor === "auto" || r.backgroundColor === "inherit") && l && (r.backgroundColor = l), (r.borderColor === "auto" || r.borderColor === "inherit") && l && (r.borderColor = l);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function M(r, n) {
|
|
145
|
+
var a = n && n.getModel("textStyle");
|
|
146
|
+
return _([
|
|
147
|
+
// FIXME in node-canvas fontWeight is before fontStyle
|
|
148
|
+
r.fontStyle || a && a.getShallow("fontStyle") || "",
|
|
149
|
+
r.fontWeight || a && a.getShallow("fontWeight") || "",
|
|
150
|
+
(r.fontSize || a && a.getShallow("fontSize") || 12) + "px",
|
|
151
|
+
r.fontFamily || a && a.getShallow("fontFamily") || "sans-serif"
|
|
152
|
+
].join(" "));
|
|
153
|
+
}
|
|
154
|
+
var B = z();
|
|
155
|
+
function N(r, n, a, i) {
|
|
156
|
+
if (r) {
|
|
157
|
+
var e = B(r);
|
|
158
|
+
e.prevValue = e.value, e.value = a;
|
|
159
|
+
var o = n.normal;
|
|
160
|
+
e.valueAnimation = o.get("valueAnimation"), e.valueAnimation && (e.precision = o.get("precision"), e.defaultInterpolatedText = i, e.statesModels = n);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function rr(r, n, a, i, e) {
|
|
164
|
+
var o = B(r);
|
|
165
|
+
if (!o.valueAnimation || o.prevValue === o.value)
|
|
166
|
+
return;
|
|
167
|
+
var u = o.defaultInterpolatedText, f = w(o.interpolatedValue, o.prevValue), l = o.value;
|
|
168
|
+
function v(t) {
|
|
169
|
+
var h = H(a, o.precision, f, l, t);
|
|
170
|
+
o.interpolatedValue = t === 1 ? null : h;
|
|
171
|
+
var g = P({
|
|
172
|
+
labelDataIndex: n,
|
|
173
|
+
labelFetcher: e,
|
|
174
|
+
defaultText: u ? u(h) : h + ""
|
|
175
|
+
}, o.statesModels, h);
|
|
176
|
+
W(r, g);
|
|
177
|
+
}
|
|
178
|
+
r.percent = 0, (o.prevValue == null ? G : J)(r, {
|
|
179
|
+
// percent is used to prevent animation from being aborted #15916
|
|
180
|
+
percent: 1
|
|
181
|
+
}, i, n, null, v);
|
|
182
|
+
}
|
|
183
|
+
export {
|
|
184
|
+
rr as animateLabelValue,
|
|
185
|
+
F as createTextConfig,
|
|
186
|
+
A as createTextStyle,
|
|
187
|
+
M as getFont,
|
|
188
|
+
y as getLabelStatesModels,
|
|
189
|
+
B as labelInner,
|
|
190
|
+
E as setLabelStyle,
|
|
191
|
+
W as setLabelText,
|
|
192
|
+
N as setLabelValueAnimation
|
|
193
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { calculateTextPosition as y } from "../../../zrender/lib/contain/text.js";
|
|
2
|
+
import { isNumber as w, isArray as E } from "../../../zrender/lib/core/util.js";
|
|
3
|
+
function R(n, s) {
|
|
4
|
+
s = s || {};
|
|
5
|
+
var k = s.isRoundCap;
|
|
6
|
+
return function(r, t, S) {
|
|
7
|
+
var p = t.position;
|
|
8
|
+
if (!p || p instanceof Array)
|
|
9
|
+
return y(r, t, S);
|
|
10
|
+
var T = n(p), e = t.distance != null ? t.distance : 5, h = this.shape, a = h.cx, c = h.cy, b = h.r, M = h.r0, l = (b + M) / 2, i = h.startAngle, u = h.endAngle, d = (i + u) / 2, x = k ? Math.abs(b - M) / 2 : 0, o = Math.cos, A = Math.sin, g = a + b * o(i), v = c + b * A(i), f = "left", m = "top";
|
|
11
|
+
switch (T) {
|
|
12
|
+
case "startArc":
|
|
13
|
+
g = a + (M - e) * o(d), v = c + (M - e) * A(d), f = "center", m = "top";
|
|
14
|
+
break;
|
|
15
|
+
case "insideStartArc":
|
|
16
|
+
g = a + (M + e) * o(d), v = c + (M + e) * A(d), f = "center", m = "bottom";
|
|
17
|
+
break;
|
|
18
|
+
case "startAngle":
|
|
19
|
+
g = a + l * o(i) + C(i, e + x, !1), v = c + l * A(i) + P(i, e + x, !1), f = "right", m = "middle";
|
|
20
|
+
break;
|
|
21
|
+
case "insideStartAngle":
|
|
22
|
+
g = a + l * o(i) + C(i, -e + x, !1), v = c + l * A(i) + P(i, -e + x, !1), f = "left", m = "middle";
|
|
23
|
+
break;
|
|
24
|
+
case "middle":
|
|
25
|
+
g = a + l * o(d), v = c + l * A(d), f = "center", m = "middle";
|
|
26
|
+
break;
|
|
27
|
+
case "endArc":
|
|
28
|
+
g = a + (b + e) * o(d), v = c + (b + e) * A(d), f = "center", m = "bottom";
|
|
29
|
+
break;
|
|
30
|
+
case "insideEndArc":
|
|
31
|
+
g = a + (b - e) * o(d), v = c + (b - e) * A(d), f = "center", m = "top";
|
|
32
|
+
break;
|
|
33
|
+
case "endAngle":
|
|
34
|
+
g = a + l * o(u) + C(u, e + x, !0), v = c + l * A(u) + P(u, e + x, !0), f = "left", m = "middle";
|
|
35
|
+
break;
|
|
36
|
+
case "insideEndAngle":
|
|
37
|
+
g = a + l * o(u) + C(u, -e + x, !0), v = c + l * A(u) + P(u, -e + x, !0), f = "right", m = "middle";
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
return y(r, t, S);
|
|
41
|
+
}
|
|
42
|
+
return r = r || {}, r.x = g, r.y = v, r.align = f, r.verticalAlign = m, r;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function j(n, s, k, r) {
|
|
46
|
+
if (w(r)) {
|
|
47
|
+
n.setTextConfig({
|
|
48
|
+
rotation: r
|
|
49
|
+
});
|
|
50
|
+
return;
|
|
51
|
+
} else if (E(s)) {
|
|
52
|
+
n.setTextConfig({
|
|
53
|
+
rotation: 0
|
|
54
|
+
});
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
var t = n.shape, S = t.clockwise ? t.startAngle : t.endAngle, p = t.clockwise ? t.endAngle : t.startAngle, T = (S + p) / 2, e, h = k(s);
|
|
58
|
+
switch (h) {
|
|
59
|
+
case "startArc":
|
|
60
|
+
case "insideStartArc":
|
|
61
|
+
case "middle":
|
|
62
|
+
case "insideEndArc":
|
|
63
|
+
case "endArc":
|
|
64
|
+
e = T;
|
|
65
|
+
break;
|
|
66
|
+
case "startAngle":
|
|
67
|
+
case "insideStartAngle":
|
|
68
|
+
e = S;
|
|
69
|
+
break;
|
|
70
|
+
case "endAngle":
|
|
71
|
+
case "insideEndAngle":
|
|
72
|
+
e = p;
|
|
73
|
+
break;
|
|
74
|
+
default:
|
|
75
|
+
n.setTextConfig({
|
|
76
|
+
rotation: 0
|
|
77
|
+
});
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
var a = Math.PI * 1.5 - e;
|
|
81
|
+
h === "middle" && a > Math.PI / 2 && a < Math.PI * 1.5 && (a -= Math.PI), n.setTextConfig({
|
|
82
|
+
rotation: a
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function C(n, s, k) {
|
|
86
|
+
return s * Math.sin(n) * (k ? -1 : 1);
|
|
87
|
+
}
|
|
88
|
+
function P(n, s, k) {
|
|
89
|
+
return s * Math.cos(n) * (k ? 1 : -1);
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
R as createSectorCalculateTextPosition,
|
|
93
|
+
j as setSectorTextRotation
|
|
94
|
+
};
|