web-core-tcm 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import { __extends as K } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { bind as B, each as w, trim as $, isString as R, clone as F, isArray as D, isFunction as V, isObject as E, extend as N } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import A from "../../../../zrender/lib/core/env.js";
|
|
4
|
+
import tt from "./TooltipHTMLContent.js";
|
|
5
|
+
import et from "./TooltipRichContent.js";
|
|
6
|
+
import { convertToColorString as U, formatTpl as it } from "../../util/format.js";
|
|
7
|
+
import { parsePercent as W } from "../../util/number.js";
|
|
8
|
+
import "../../util/graphic.js";
|
|
9
|
+
import ot from "../axisPointer/findPointFromSeries.js";
|
|
10
|
+
import { getLayoutRect as rt } from "../../util/layout.js";
|
|
11
|
+
import P from "../../model/Model.js";
|
|
12
|
+
import { register as nt, unregister as at } from "../axisPointer/globalListener.js";
|
|
13
|
+
import { getAxisRawValue as st } from "../../coord/axisHelper.js";
|
|
14
|
+
import { getValueLabel as lt } from "../axisPointer/viewHelper.js";
|
|
15
|
+
import { getTooltipRenderMode as ft, preParseFinder as ht, queryReferringComponents as ut } from "../../util/model.js";
|
|
16
|
+
import dt from "../../view/Component.js";
|
|
17
|
+
import { format as vt } from "../../util/time.js";
|
|
18
|
+
import { getECData as S } from "../../util/innerStore.js";
|
|
19
|
+
import { shouldTooltipConfine as pt } from "./helper.js";
|
|
20
|
+
import { normalizeTooltipFormatResult as q } from "../../model/mixin/dataFormat.js";
|
|
21
|
+
import { createTooltipMarkup as j, TooltipMarkupStyleCreator as Y, buildTooltipMarkup as G } from "./tooltipMarkup.js";
|
|
22
|
+
import { findEventDispatcher as mt } from "../../util/event.js";
|
|
23
|
+
import { createOrUpdate as gt, clear as Q } from "../../util/throttle.js";
|
|
24
|
+
import ct from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
25
|
+
import { encodeHTML as _t } from "../../../../zrender/lib/core/dom.js";
|
|
26
|
+
var Tt = new ct({
|
|
27
|
+
shape: {
|
|
28
|
+
x: -1,
|
|
29
|
+
y: -1,
|
|
30
|
+
width: 2,
|
|
31
|
+
height: 2
|
|
32
|
+
}
|
|
33
|
+
}), Zt = (
|
|
34
|
+
/** @class */
|
|
35
|
+
(function(v) {
|
|
36
|
+
K(a, v);
|
|
37
|
+
function a() {
|
|
38
|
+
var o = v !== null && v.apply(this, arguments) || this;
|
|
39
|
+
return o.type = a.type, o;
|
|
40
|
+
}
|
|
41
|
+
return a.prototype.init = function(o, r) {
|
|
42
|
+
if (!(A.node || !r.getDom())) {
|
|
43
|
+
var e = o.getComponent("tooltip"), t = this._renderMode = ft(e.get("renderMode"));
|
|
44
|
+
this._tooltipContent = t === "richText" ? new et(r) : new tt(r, {
|
|
45
|
+
appendTo: e.get("appendToBody", !0) ? "body" : e.get("appendTo", !0)
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, a.prototype.render = function(o, r, e) {
|
|
49
|
+
if (!(A.node || !e.getDom())) {
|
|
50
|
+
this.group.removeAll(), this._tooltipModel = o, this._ecModel = r, this._api = e;
|
|
51
|
+
var t = this._tooltipContent;
|
|
52
|
+
t.update(o), t.setEnterable(o.get("enterable")), this._initGlobalListener(), this._keepShow(), this._renderMode !== "richText" && o.get("transitionDuration") ? gt(this, "_updatePosition", 50, "fixRate") : Q(this, "_updatePosition");
|
|
53
|
+
}
|
|
54
|
+
}, a.prototype._initGlobalListener = function() {
|
|
55
|
+
var o = this._tooltipModel, r = o.get("triggerOn");
|
|
56
|
+
nt("itemTooltip", this._api, B(function(e, t, i) {
|
|
57
|
+
r !== "none" && (r.indexOf(e) >= 0 ? this._tryShow(t, i) : e === "leave" && this._hide(i));
|
|
58
|
+
}, this));
|
|
59
|
+
}, a.prototype._keepShow = function() {
|
|
60
|
+
var o = this._tooltipModel, r = this._ecModel, e = this._api, t = o.get("triggerOn");
|
|
61
|
+
if (this._lastX != null && this._lastY != null && t !== "none" && t !== "click") {
|
|
62
|
+
var i = this;
|
|
63
|
+
clearTimeout(this._refreshUpdateTimeout), this._refreshUpdateTimeout = setTimeout(function() {
|
|
64
|
+
!e.isDisposed() && i.manuallyShowTip(o, r, e, {
|
|
65
|
+
x: i._lastX,
|
|
66
|
+
y: i._lastY,
|
|
67
|
+
dataByCoordSys: i._lastDataByCoordSys
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}, a.prototype.manuallyShowTip = function(o, r, e, t) {
|
|
72
|
+
if (!(t.from === this.uid || A.node || !e.getDom())) {
|
|
73
|
+
var i = Z(t, e);
|
|
74
|
+
this._ticket = "";
|
|
75
|
+
var f = t.dataByCoordSys, n = Mt(t, r, e);
|
|
76
|
+
if (n) {
|
|
77
|
+
var s = n.el.getBoundingRect().clone();
|
|
78
|
+
s.applyTransform(n.el.transform), this._tryShow({
|
|
79
|
+
offsetX: s.x + s.width / 2,
|
|
80
|
+
offsetY: s.y + s.height / 2,
|
|
81
|
+
target: n.el,
|
|
82
|
+
position: t.position,
|
|
83
|
+
// When manully trigger, the mouse is not on the el, so we'd better to
|
|
84
|
+
// position tooltip on the bottom of the el and display arrow is possible.
|
|
85
|
+
positionDefault: "bottom"
|
|
86
|
+
}, i);
|
|
87
|
+
} else if (t.tooltip && t.x != null && t.y != null) {
|
|
88
|
+
var l = Tt;
|
|
89
|
+
l.x = t.x, l.y = t.y, l.update(), S(l).tooltipConfig = {
|
|
90
|
+
name: null,
|
|
91
|
+
option: t.tooltip
|
|
92
|
+
}, this._tryShow({
|
|
93
|
+
offsetX: t.x,
|
|
94
|
+
offsetY: t.y,
|
|
95
|
+
target: l
|
|
96
|
+
}, i);
|
|
97
|
+
} else if (f)
|
|
98
|
+
this._tryShow({
|
|
99
|
+
offsetX: t.x,
|
|
100
|
+
offsetY: t.y,
|
|
101
|
+
position: t.position,
|
|
102
|
+
dataByCoordSys: f,
|
|
103
|
+
tooltipOption: t.tooltipOption
|
|
104
|
+
}, i);
|
|
105
|
+
else if (t.seriesIndex != null) {
|
|
106
|
+
if (this._manuallyAxisShowTip(o, r, e, t))
|
|
107
|
+
return;
|
|
108
|
+
var h = ot(t, r), u = h.point[0], d = h.point[1];
|
|
109
|
+
u != null && d != null && this._tryShow({
|
|
110
|
+
offsetX: u,
|
|
111
|
+
offsetY: d,
|
|
112
|
+
target: h.el,
|
|
113
|
+
position: t.position,
|
|
114
|
+
// When manully trigger, the mouse is not on the el, so we'd better to
|
|
115
|
+
// position tooltip on the bottom of the el and display arrow is possible.
|
|
116
|
+
positionDefault: "bottom"
|
|
117
|
+
}, i);
|
|
118
|
+
} else t.x != null && t.y != null && (e.dispatchAction({
|
|
119
|
+
type: "updateAxisPointer",
|
|
120
|
+
x: t.x,
|
|
121
|
+
y: t.y
|
|
122
|
+
}), this._tryShow({
|
|
123
|
+
offsetX: t.x,
|
|
124
|
+
offsetY: t.y,
|
|
125
|
+
position: t.position,
|
|
126
|
+
target: e.getZr().findHover(t.x, t.y).target
|
|
127
|
+
}, i));
|
|
128
|
+
}
|
|
129
|
+
}, a.prototype.manuallyHideTip = function(o, r, e, t) {
|
|
130
|
+
var i = this._tooltipContent;
|
|
131
|
+
this._tooltipModel && i.hideLater(this._tooltipModel.get("hideDelay")), this._lastX = this._lastY = this._lastDataByCoordSys = null, t.from !== this.uid && this._hide(Z(t, e));
|
|
132
|
+
}, a.prototype._manuallyAxisShowTip = function(o, r, e, t) {
|
|
133
|
+
var i = t.seriesIndex, f = t.dataIndex, n = r.getComponent("axisPointer").coordSysAxesInfo;
|
|
134
|
+
if (!(i == null || f == null || n == null)) {
|
|
135
|
+
var s = r.getSeriesByIndex(i);
|
|
136
|
+
if (s) {
|
|
137
|
+
var l = s.getData(), h = I([l.getItemModel(f), s, (s.coordinateSystem || {}).model], this._tooltipModel);
|
|
138
|
+
if (h.get("trigger") === "axis")
|
|
139
|
+
return e.dispatchAction({
|
|
140
|
+
type: "updateAxisPointer",
|
|
141
|
+
seriesIndex: i,
|
|
142
|
+
dataIndex: f,
|
|
143
|
+
position: t.position
|
|
144
|
+
}), !0;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}, a.prototype._tryShow = function(o, r) {
|
|
148
|
+
var e = o.target, t = this._tooltipModel;
|
|
149
|
+
if (t) {
|
|
150
|
+
this._lastX = o.offsetX, this._lastY = o.offsetY;
|
|
151
|
+
var i = o.dataByCoordSys;
|
|
152
|
+
if (i && i.length)
|
|
153
|
+
this._showAxisTooltip(i, o);
|
|
154
|
+
else if (e) {
|
|
155
|
+
var f = S(e);
|
|
156
|
+
if (f.ssrType === "legend")
|
|
157
|
+
return;
|
|
158
|
+
this._lastDataByCoordSys = null;
|
|
159
|
+
var n, s;
|
|
160
|
+
mt(e, function(l) {
|
|
161
|
+
if (S(l).dataIndex != null)
|
|
162
|
+
return n = l, !0;
|
|
163
|
+
if (S(l).tooltipConfig != null)
|
|
164
|
+
return s = l, !0;
|
|
165
|
+
}, !0), n ? this._showSeriesItemTooltip(o, n, r) : s ? this._showComponentItemTooltip(o, s, r) : this._hide(r);
|
|
166
|
+
} else
|
|
167
|
+
this._lastDataByCoordSys = null, this._hide(r);
|
|
168
|
+
}
|
|
169
|
+
}, a.prototype._showOrMove = function(o, r) {
|
|
170
|
+
var e = o.get("showDelay");
|
|
171
|
+
r = B(r, this), clearTimeout(this._showTimout), e > 0 ? this._showTimout = setTimeout(r, e) : r();
|
|
172
|
+
}, a.prototype._showAxisTooltip = function(o, r) {
|
|
173
|
+
var e = this._ecModel, t = this._tooltipModel, i = [r.offsetX, r.offsetY], f = I([r.tooltipOption], t), n = this._renderMode, s = [], l = j("section", {
|
|
174
|
+
blocks: [],
|
|
175
|
+
noHeader: !0
|
|
176
|
+
}), h = [], u = new Y();
|
|
177
|
+
w(o, function(T) {
|
|
178
|
+
w(T.dataByAxis, function(g) {
|
|
179
|
+
var x = e.getComponent(g.axisDim + "Axis", g.axisIndex), C = g.value;
|
|
180
|
+
if (!(!x || C == null)) {
|
|
181
|
+
var M = lt(C, x.axis, e, g.seriesDataIndices, g.valueLabelOpt), k = j("section", {
|
|
182
|
+
header: M,
|
|
183
|
+
noHeader: !$(M),
|
|
184
|
+
sortBlocks: !0,
|
|
185
|
+
blocks: []
|
|
186
|
+
});
|
|
187
|
+
l.blocks.push(k), w(g.seriesDataIndices, function(b) {
|
|
188
|
+
var L = e.getSeriesByIndex(b.seriesIndex), H = b.dataIndexInside, y = L.getDataParams(H);
|
|
189
|
+
if (!(y.dataIndex < 0)) {
|
|
190
|
+
y.axisDim = g.axisDim, y.axisIndex = g.axisIndex, y.axisType = g.axisType, y.axisId = g.axisId, y.axisValue = st(x.axis, {
|
|
191
|
+
value: C
|
|
192
|
+
}), y.axisValueLabel = M, y.marker = u.makeTooltipMarker("item", U(y.color), n);
|
|
193
|
+
var O = q(L.formatTooltip(H, !0, null)), X = O.frag;
|
|
194
|
+
if (X) {
|
|
195
|
+
var z = I([L], t).get("valueFormatter");
|
|
196
|
+
k.blocks.push(z ? N({
|
|
197
|
+
valueFormatter: z
|
|
198
|
+
}, X) : X);
|
|
199
|
+
}
|
|
200
|
+
O.text && h.push(O.text), s.push(y);
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
}), l.blocks.reverse(), h.reverse();
|
|
206
|
+
var d = r.position, c = f.get("order"), m = G(l, u, n, c, e.get("useUTC"), f.get("textStyle"));
|
|
207
|
+
m && h.unshift(m);
|
|
208
|
+
var _ = n === "richText" ? `
|
|
209
|
+
|
|
210
|
+
` : "<br/>", p = h.join(_);
|
|
211
|
+
this._showOrMove(f, function() {
|
|
212
|
+
this._updateContentNotChangedOnAxis(o, s) ? this._updatePosition(f, d, i[0], i[1], this._tooltipContent, s) : this._showTooltipContent(f, p, s, Math.random() + "", i[0], i[1], d, null, u);
|
|
213
|
+
});
|
|
214
|
+
}, a.prototype._showSeriesItemTooltip = function(o, r, e) {
|
|
215
|
+
var t = this._ecModel, i = S(r), f = i.seriesIndex, n = t.getSeriesByIndex(f), s = i.dataModel || n, l = i.dataIndex, h = i.dataType, u = s.getData(h), d = this._renderMode, c = o.positionDefault, m = I([u.getItemModel(l), s, n && (n.coordinateSystem || {}).model], this._tooltipModel, c ? {
|
|
216
|
+
position: c
|
|
217
|
+
} : null), _ = m.get("trigger");
|
|
218
|
+
if (!(_ != null && _ !== "item")) {
|
|
219
|
+
var p = s.getDataParams(l, h), T = new Y();
|
|
220
|
+
p.marker = T.makeTooltipMarker("item", U(p.color), d);
|
|
221
|
+
var g = q(s.formatTooltip(l, !1, h)), x = m.get("order"), C = m.get("valueFormatter"), M = g.frag, k = M ? G(C ? N({
|
|
222
|
+
valueFormatter: C
|
|
223
|
+
}, M) : M, T, d, x, t.get("useUTC"), m.get("textStyle")) : g.text, b = "item_" + s.name + "_" + l;
|
|
224
|
+
this._showOrMove(m, function() {
|
|
225
|
+
this._showTooltipContent(m, k, p, b, o.offsetX, o.offsetY, o.position, o.target, T);
|
|
226
|
+
}), e({
|
|
227
|
+
type: "showTip",
|
|
228
|
+
dataIndexInside: l,
|
|
229
|
+
dataIndex: u.getRawIndex(l),
|
|
230
|
+
seriesIndex: f,
|
|
231
|
+
from: this.uid
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
}, a.prototype._showComponentItemTooltip = function(o, r, e) {
|
|
235
|
+
var t = this._renderMode === "html", i = S(r), f = i.tooltipConfig, n = f.option || {}, s = n.encodeHTMLContent;
|
|
236
|
+
if (R(n)) {
|
|
237
|
+
var l = n;
|
|
238
|
+
n = {
|
|
239
|
+
content: l,
|
|
240
|
+
// Fixed formatter
|
|
241
|
+
formatter: l
|
|
242
|
+
}, s = !0;
|
|
243
|
+
}
|
|
244
|
+
s && t && n.content && (n = F(n), n.content = _t(n.content));
|
|
245
|
+
var h = [n], u = this._ecModel.getComponent(i.componentMainType, i.componentIndex);
|
|
246
|
+
u && h.push(u), h.push({
|
|
247
|
+
formatter: n.content
|
|
248
|
+
});
|
|
249
|
+
var d = o.positionDefault, c = I(h, this._tooltipModel, d ? {
|
|
250
|
+
position: d
|
|
251
|
+
} : null), m = c.get("content"), _ = Math.random() + "", p = new Y();
|
|
252
|
+
this._showOrMove(c, function() {
|
|
253
|
+
var T = F(c.get("formatterParams") || {});
|
|
254
|
+
this._showTooltipContent(c, m, T, _, o.offsetX, o.offsetY, o.position, r, p);
|
|
255
|
+
}), e({
|
|
256
|
+
type: "showTip",
|
|
257
|
+
from: this.uid
|
|
258
|
+
});
|
|
259
|
+
}, a.prototype._showTooltipContent = function(o, r, e, t, i, f, n, s, l) {
|
|
260
|
+
if (this._ticket = "", !(!o.get("showContent") || !o.get("show"))) {
|
|
261
|
+
var h = this._tooltipContent;
|
|
262
|
+
h.setEnterable(o.get("enterable"));
|
|
263
|
+
var u = o.get("formatter");
|
|
264
|
+
n = n || o.get("position");
|
|
265
|
+
var d = r, c = this._getNearestPoint([i, f], e, o.get("trigger"), o.get("borderColor")), m = c.color;
|
|
266
|
+
if (u)
|
|
267
|
+
if (R(u)) {
|
|
268
|
+
var _ = o.ecModel.get("useUTC"), p = D(e) ? e[0] : e, T = p && p.axisType && p.axisType.indexOf("time") >= 0;
|
|
269
|
+
d = u, T && (d = vt(p.axisValue, d, _)), d = it(d, e, !0);
|
|
270
|
+
} else if (V(u)) {
|
|
271
|
+
var g = B(function(x, C) {
|
|
272
|
+
x === this._ticket && (h.setContent(C, l, o, m, n), this._updatePosition(o, n, i, f, h, e, s));
|
|
273
|
+
}, this);
|
|
274
|
+
this._ticket = t, d = u(e, t, g);
|
|
275
|
+
} else
|
|
276
|
+
d = u;
|
|
277
|
+
h.setContent(d, l, o, m, n), h.show(o, m), this._updatePosition(o, n, i, f, h, e, s);
|
|
278
|
+
}
|
|
279
|
+
}, a.prototype._getNearestPoint = function(o, r, e, t) {
|
|
280
|
+
if (e === "axis" || D(r))
|
|
281
|
+
return {
|
|
282
|
+
color: t || (this._renderMode === "html" ? "#fff" : "none")
|
|
283
|
+
};
|
|
284
|
+
if (!D(r))
|
|
285
|
+
return {
|
|
286
|
+
color: t || r.color || r.borderColor
|
|
287
|
+
};
|
|
288
|
+
}, a.prototype._updatePosition = function(o, r, e, t, i, f, n) {
|
|
289
|
+
var s = this._api.getWidth(), l = this._api.getHeight();
|
|
290
|
+
r = r || o.get("position");
|
|
291
|
+
var h = i.getSize(), u = o.get("align"), d = o.get("verticalAlign"), c = n && n.getBoundingRect().clone();
|
|
292
|
+
if (n && c.applyTransform(n.transform), V(r) && (r = r([e, t], f, i.el, c, {
|
|
293
|
+
viewSize: [s, l],
|
|
294
|
+
contentSize: h.slice()
|
|
295
|
+
})), D(r))
|
|
296
|
+
e = W(r[0], s), t = W(r[1], l);
|
|
297
|
+
else if (E(r)) {
|
|
298
|
+
var m = r;
|
|
299
|
+
m.width = h[0], m.height = h[1];
|
|
300
|
+
var _ = rt(m, {
|
|
301
|
+
width: s,
|
|
302
|
+
height: l
|
|
303
|
+
});
|
|
304
|
+
e = _.x, t = _.y, u = null, d = null;
|
|
305
|
+
} else if (R(r) && n) {
|
|
306
|
+
var p = Ct(r, c, h, o.get("borderWidth"));
|
|
307
|
+
e = p[0], t = p[1];
|
|
308
|
+
} else {
|
|
309
|
+
var p = xt(e, t, i, s, l, u ? null : 20, d ? null : 20);
|
|
310
|
+
e = p[0], t = p[1];
|
|
311
|
+
}
|
|
312
|
+
if (u && (e -= J(u) ? h[0] / 2 : u === "right" ? h[0] : 0), d && (t -= J(d) ? h[1] / 2 : d === "bottom" ? h[1] : 0), pt(o)) {
|
|
313
|
+
var p = yt(e, t, i, s, l);
|
|
314
|
+
e = p[0], t = p[1];
|
|
315
|
+
}
|
|
316
|
+
i.moveTo(e, t);
|
|
317
|
+
}, a.prototype._updateContentNotChangedOnAxis = function(o, r) {
|
|
318
|
+
var e = this._lastDataByCoordSys, t = this._cbParamsList, i = !!e && e.length === o.length;
|
|
319
|
+
return i && w(e, function(f, n) {
|
|
320
|
+
var s = f.dataByAxis || [], l = o[n] || {}, h = l.dataByAxis || [];
|
|
321
|
+
i = i && s.length === h.length, i && w(s, function(u, d) {
|
|
322
|
+
var c = h[d] || {}, m = u.seriesDataIndices || [], _ = c.seriesDataIndices || [];
|
|
323
|
+
i = i && u.value === c.value && u.axisType === c.axisType && u.axisId === c.axisId && m.length === _.length, i && w(m, function(p, T) {
|
|
324
|
+
var g = _[T];
|
|
325
|
+
i = i && p.seriesIndex === g.seriesIndex && p.dataIndex === g.dataIndex;
|
|
326
|
+
}), t && w(u.seriesDataIndices, function(p) {
|
|
327
|
+
var T = p.seriesIndex, g = r[T], x = t[T];
|
|
328
|
+
g && x && x.data !== g.data && (i = !1);
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
}), this._lastDataByCoordSys = o, this._cbParamsList = r, !!i;
|
|
332
|
+
}, a.prototype._hide = function(o) {
|
|
333
|
+
this._lastDataByCoordSys = null, o({
|
|
334
|
+
type: "hideTip",
|
|
335
|
+
from: this.uid
|
|
336
|
+
});
|
|
337
|
+
}, a.prototype.dispose = function(o, r) {
|
|
338
|
+
A.node || !r.getDom() || (Q(this, "_updatePosition"), this._tooltipContent.dispose(), at("itemTooltip", r));
|
|
339
|
+
}, a.type = "tooltip", a;
|
|
340
|
+
})(dt)
|
|
341
|
+
);
|
|
342
|
+
function I(v, a, o) {
|
|
343
|
+
var r = a.ecModel, e;
|
|
344
|
+
o ? (e = new P(o, r, r), e = new P(a.option, e, r)) : e = a;
|
|
345
|
+
for (var t = v.length - 1; t >= 0; t--) {
|
|
346
|
+
var i = v[t];
|
|
347
|
+
i && (i instanceof P && (i = i.get("tooltip", !0)), R(i) && (i = {
|
|
348
|
+
formatter: i
|
|
349
|
+
}), i && (e = new P(i, e, r)));
|
|
350
|
+
}
|
|
351
|
+
return e;
|
|
352
|
+
}
|
|
353
|
+
function Z(v, a) {
|
|
354
|
+
return v.dispatchAction || B(a.dispatchAction, a);
|
|
355
|
+
}
|
|
356
|
+
function xt(v, a, o, r, e, t, i) {
|
|
357
|
+
var f = o.getSize(), n = f[0], s = f[1];
|
|
358
|
+
return t != null && (v + n + t + 2 > r ? v -= n + t : v += t), i != null && (a + s + i > e ? a -= s + i : a += i), [v, a];
|
|
359
|
+
}
|
|
360
|
+
function yt(v, a, o, r, e) {
|
|
361
|
+
var t = o.getSize(), i = t[0], f = t[1];
|
|
362
|
+
return v = Math.min(v + i, r) - i, a = Math.min(a + f, e) - f, v = Math.max(v, 0), a = Math.max(a, 0), [v, a];
|
|
363
|
+
}
|
|
364
|
+
function Ct(v, a, o, r) {
|
|
365
|
+
var e = o[0], t = o[1], i = Math.ceil(Math.SQRT2 * r) + 8, f = 0, n = 0, s = a.width, l = a.height;
|
|
366
|
+
switch (v) {
|
|
367
|
+
case "inside":
|
|
368
|
+
f = a.x + s / 2 - e / 2, n = a.y + l / 2 - t / 2;
|
|
369
|
+
break;
|
|
370
|
+
case "top":
|
|
371
|
+
f = a.x + s / 2 - e / 2, n = a.y - t - i;
|
|
372
|
+
break;
|
|
373
|
+
case "bottom":
|
|
374
|
+
f = a.x + s / 2 - e / 2, n = a.y + l + i;
|
|
375
|
+
break;
|
|
376
|
+
case "left":
|
|
377
|
+
f = a.x - e - i, n = a.y + l / 2 - t / 2;
|
|
378
|
+
break;
|
|
379
|
+
case "right":
|
|
380
|
+
f = a.x + s + i, n = a.y + l / 2 - t / 2;
|
|
381
|
+
}
|
|
382
|
+
return [f, n];
|
|
383
|
+
}
|
|
384
|
+
function J(v) {
|
|
385
|
+
return v === "center" || v === "middle";
|
|
386
|
+
}
|
|
387
|
+
function Mt(v, a, o) {
|
|
388
|
+
var r = ht(v).queryOptionMap, e = r.keys()[0];
|
|
389
|
+
if (!(!e || e === "series")) {
|
|
390
|
+
var t = ut(a, e, r.get(e), {
|
|
391
|
+
useDefault: !1,
|
|
392
|
+
enableAll: !1,
|
|
393
|
+
enableNone: !1
|
|
394
|
+
}), i = t.models[0];
|
|
395
|
+
if (i) {
|
|
396
|
+
var f = o.getViewOfComponentModel(i), n;
|
|
397
|
+
if (f.group.traverse(function(s) {
|
|
398
|
+
var l = S(s).tooltipConfig;
|
|
399
|
+
if (l && l.name === v.name)
|
|
400
|
+
return n = s, !0;
|
|
401
|
+
}), n)
|
|
402
|
+
return {
|
|
403
|
+
componentMainType: e,
|
|
404
|
+
componentIndex: i.componentIndex,
|
|
405
|
+
el: n
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
export {
|
|
411
|
+
Zt as default
|
|
412
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { toCamelCase as o } from "../../util/format.js";
|
|
2
|
+
import u from "../../../../zrender/lib/core/env.js";
|
|
3
|
+
function m(n) {
|
|
4
|
+
var t = n.get("confine");
|
|
5
|
+
return t != null ? !!t : n.get("renderMode") === "richText";
|
|
6
|
+
}
|
|
7
|
+
function e(n) {
|
|
8
|
+
if (u.domSupported) {
|
|
9
|
+
for (var t = document.documentElement.style, r = 0, i = n.length; r < i; r++)
|
|
10
|
+
if (n[r] in t)
|
|
11
|
+
return n[r];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
var c = e(["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]), T = e(["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]);
|
|
15
|
+
function d(n, t) {
|
|
16
|
+
if (!n)
|
|
17
|
+
return t;
|
|
18
|
+
t = o(t, !0);
|
|
19
|
+
var r = n.indexOf(t);
|
|
20
|
+
return n = r === -1 ? t : "-" + n.slice(0, r) + "-" + t, n.toLowerCase();
|
|
21
|
+
}
|
|
22
|
+
function S(n, t) {
|
|
23
|
+
var r = n.currentStyle || document.defaultView && document.defaultView.getComputedStyle(n);
|
|
24
|
+
return r ? r[t] : null;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
c as TRANSFORM_VENDOR,
|
|
28
|
+
T as TRANSITION_VENDOR,
|
|
29
|
+
S as getComputedStyle,
|
|
30
|
+
m as shouldTooltipConfine,
|
|
31
|
+
d as toCSSVendorPrefix
|
|
32
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { install as t } from "../axisPointer/install.js";
|
|
2
|
+
import { use as p } from "../../extension.js";
|
|
3
|
+
import e from "./TooltipModel.js";
|
|
4
|
+
import l from "./TooltipView.js";
|
|
5
|
+
import { noop as i } from "../../../../zrender/lib/core/util.js";
|
|
6
|
+
function d(o) {
|
|
7
|
+
p(t), o.registerComponentModel(e), o.registerComponentView(l), o.registerAction({
|
|
8
|
+
type: "showTip",
|
|
9
|
+
event: "showTip",
|
|
10
|
+
update: "tooltip:manuallyShowTip"
|
|
11
|
+
}, i), o.registerAction({
|
|
12
|
+
type: "hideTip",
|
|
13
|
+
event: "hideTip",
|
|
14
|
+
update: "tooltip:manuallyHideTip"
|
|
15
|
+
}, i);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
d as install
|
|
19
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { isArray as N, trim as D, reduce as b, each as k } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { retrieveVisualColorForTooltipMarker as S, createTooltipMarkup as d } from "./tooltipMarkup.js";
|
|
3
|
+
import { retrieveRawValue as I } from "../../data/helper/dataProvider.js";
|
|
4
|
+
import { isNameSpecified as x } from "../../util/model.js";
|
|
5
|
+
function A(s) {
|
|
6
|
+
var r = s.series, i = s.dataIndex, u = s.multipleSeries, m = r.getData(), l = m.mapDimensionsAll("defaultedTooltip"), p = l.length, t = r.getRawValue(i), v = N(t), f = S(r, i), o, e, c, a;
|
|
7
|
+
if (p > 1 || v && !p) {
|
|
8
|
+
var n = C(t, r, i, l, f);
|
|
9
|
+
o = n.inlineValues, e = n.inlineValueTypes, c = n.blocks, a = n.inlineValues[0];
|
|
10
|
+
} else if (p) {
|
|
11
|
+
var g = m.getDimensionInfo(l[0]);
|
|
12
|
+
a = o = I(m, i, l[0]), e = g.type;
|
|
13
|
+
} else
|
|
14
|
+
a = o = v ? t[0] : t;
|
|
15
|
+
var V = x(r), y = V && r.name || "", h = m.getName(i), T = u ? y : h;
|
|
16
|
+
return d("section", {
|
|
17
|
+
header: y,
|
|
18
|
+
// When series name is not specified, do not show a header line with only '-'.
|
|
19
|
+
// This case always happens in tooltip.trigger: 'item'.
|
|
20
|
+
noHeader: u || !V,
|
|
21
|
+
sortParam: a,
|
|
22
|
+
blocks: [d("nameValue", {
|
|
23
|
+
markerType: "item",
|
|
24
|
+
markerColor: f,
|
|
25
|
+
// Do not mix display seriesName and itemName in one tooltip,
|
|
26
|
+
// which might confuses users.
|
|
27
|
+
name: T,
|
|
28
|
+
// name dimension might be auto assigned, where the name might
|
|
29
|
+
// be not readable. So we check trim here.
|
|
30
|
+
noName: !D(T),
|
|
31
|
+
value: o,
|
|
32
|
+
valueType: e,
|
|
33
|
+
dataIndex: i
|
|
34
|
+
})].concat(c || [])
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function C(s, r, i, u, m) {
|
|
38
|
+
var l = r.getData(), p = b(s, function(e, c, a) {
|
|
39
|
+
var n = l.getDimensionInfo(a);
|
|
40
|
+
return e = e || n && n.tooltip !== !1 && n.displayName != null;
|
|
41
|
+
}, !1), t = [], v = [], f = [];
|
|
42
|
+
u.length ? k(u, function(e) {
|
|
43
|
+
o(I(l, i, e), e);
|
|
44
|
+
}) : k(s, o);
|
|
45
|
+
function o(e, c) {
|
|
46
|
+
var a = l.getDimensionInfo(c);
|
|
47
|
+
!a || a.otherDims.tooltip === !1 || (p ? f.push(d("nameValue", {
|
|
48
|
+
markerType: "subItem",
|
|
49
|
+
markerColor: m,
|
|
50
|
+
name: a.displayName,
|
|
51
|
+
value: e,
|
|
52
|
+
valueType: a.type
|
|
53
|
+
})) : (t.push(e), v.push(a.type)));
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
inlineValues: t,
|
|
57
|
+
inlineValueTypes: v,
|
|
58
|
+
blocks: f
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
A as defaultSeriesFormatTooltip
|
|
63
|
+
};
|