web-core-tcm 0.0.59 → 0.0.62
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,382 @@
|
|
|
1
|
+
import { __extends as Z } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { bind as y, extend as Y, each as K, isArray as $ } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import U from "../../../../zrender/lib/graphic/LinearGradient.js";
|
|
4
|
+
import { stop as w } from "../../../../zrender/lib/core/event.js";
|
|
5
|
+
import W from "./VisualMapView.js";
|
|
6
|
+
import { applyTransform as x, getTransform as L, transformDirection as j } from "../../util/graphic.js";
|
|
7
|
+
import { linearMap as q } from "../../util/number.js";
|
|
8
|
+
import J from "../helper/sliderMove.js";
|
|
9
|
+
import { getItemAlign as Q, makeHighDownBatch as H } from "./helper.js";
|
|
10
|
+
import { compressBatches as tt } from "../../util/model.js";
|
|
11
|
+
import { parsePercent as C } from "../../../../zrender/lib/contain/text.js";
|
|
12
|
+
import { setAsHighDownDispatcher as et } from "../../util/states.js";
|
|
13
|
+
import { createSymbol as P } from "../../util/symbol.js";
|
|
14
|
+
import it from "../../../../zrender/lib/graphic/Image.js";
|
|
15
|
+
import { getECData as rt } from "../../util/innerStore.js";
|
|
16
|
+
import { createTextStyle as z } from "../../label/labelStyle.js";
|
|
17
|
+
import { findEventDispatcher as at } from "../../util/event.js";
|
|
18
|
+
import T from "../../../../zrender/lib/graphic/Text.js";
|
|
19
|
+
import O from "../../../../zrender/lib/graphic/Group.js";
|
|
20
|
+
import ot from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
21
|
+
import nt from "../../../../zrender/lib/graphic/shape/Polygon.js";
|
|
22
|
+
var f = q, st = K, B = Math.min, k = Math.max, lt = 12, ht = 6, Dt = (
|
|
23
|
+
/** @class */
|
|
24
|
+
(function(p) {
|
|
25
|
+
Z(l, p);
|
|
26
|
+
function l() {
|
|
27
|
+
var t = p !== null && p.apply(this, arguments) || this;
|
|
28
|
+
return t.type = l.type, t._shapes = {}, t._dataInterval = [], t._handleEnds = [], t._hoverLinkDataIndices = [], t;
|
|
29
|
+
}
|
|
30
|
+
return l.prototype.init = function(t, i) {
|
|
31
|
+
p.prototype.init.call(this, t, i), this._hoverLinkFromSeriesMouseOver = y(this._hoverLinkFromSeriesMouseOver, this), this._hideIndicator = y(this._hideIndicator, this);
|
|
32
|
+
}, l.prototype.doRender = function(t, i, e, r) {
|
|
33
|
+
(!r || r.type !== "selectDataRange" || r.from !== this.uid) && this._buildView();
|
|
34
|
+
}, l.prototype._buildView = function() {
|
|
35
|
+
this.group.removeAll();
|
|
36
|
+
var t = this.visualMapModel, i = this.group;
|
|
37
|
+
this._orient = t.get("orient"), this._useHandle = t.get("calculable"), this._resetInterval(), this._renderBar(i);
|
|
38
|
+
var e = t.get("text");
|
|
39
|
+
this._renderEndsText(i, e, 0), this._renderEndsText(i, e, 1), this._updateView(!0), this.renderBackground(i), this._updateView(), this._enableHoverLinkToSeries(), this._enableHoverLinkFromSeries(), this.positionGroup(i);
|
|
40
|
+
}, l.prototype._renderEndsText = function(t, i, e) {
|
|
41
|
+
if (i) {
|
|
42
|
+
var r = i[1 - e];
|
|
43
|
+
r = r != null ? r + "" : "";
|
|
44
|
+
var a = this.visualMapModel, s = a.get("textGap"), n = a.itemSize, v = this._shapes.mainGroup, h = this._applyTransform([n[0] / 2, e === 0 ? -s : n[1] + s], v), o = this._applyTransform(e === 0 ? "bottom" : "top", v), u = this._orient, c = this.visualMapModel.textStyleModel;
|
|
45
|
+
this.group.add(new T({
|
|
46
|
+
style: z(c, {
|
|
47
|
+
x: h[0],
|
|
48
|
+
y: h[1],
|
|
49
|
+
verticalAlign: u === "horizontal" ? "middle" : o,
|
|
50
|
+
align: u === "horizontal" ? o : "center",
|
|
51
|
+
text: r
|
|
52
|
+
})
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
}, l.prototype._renderBar = function(t) {
|
|
56
|
+
var i = this.visualMapModel, e = this._shapes, r = i.itemSize, a = this._orient, s = this._useHandle, n = Q(i, this.api, r), v = e.mainGroup = this._createBarGroup(n), h = new O();
|
|
57
|
+
v.add(h), h.add(e.outOfRange = F()), h.add(e.inRange = F(null, s ? N(this._orient) : null, y(this._dragHandle, this, "all", !1), y(this._dragHandle, this, "all", !0))), h.setClipPath(new ot({
|
|
58
|
+
shape: {
|
|
59
|
+
x: 0,
|
|
60
|
+
y: 0,
|
|
61
|
+
width: r[0],
|
|
62
|
+
height: r[1],
|
|
63
|
+
r: 3
|
|
64
|
+
}
|
|
65
|
+
}));
|
|
66
|
+
var o = i.textStyleModel.getTextRect("国"), u = k(o.width, o.height);
|
|
67
|
+
s && (e.handleThumbs = [], e.handleLabels = [], e.handleLabelPoints = [], this._createHandle(i, v, 0, r, u, a), this._createHandle(i, v, 1, r, u, a)), this._createIndicator(i, v, r, u, a), t.add(v);
|
|
68
|
+
}, l.prototype._createHandle = function(t, i, e, r, a, s) {
|
|
69
|
+
var n = y(this._dragHandle, this, e, !1), v = y(this._dragHandle, this, e, !0), h = C(t.get("handleSize"), r[0]), o = P(t.get("handleIcon"), -h / 2, -h / 2, h, h, null, !0), u = N(this._orient);
|
|
70
|
+
o.attr({
|
|
71
|
+
cursor: u,
|
|
72
|
+
draggable: !0,
|
|
73
|
+
drift: n,
|
|
74
|
+
ondragend: v,
|
|
75
|
+
onmousemove: function(g) {
|
|
76
|
+
w(g.event);
|
|
77
|
+
}
|
|
78
|
+
}), o.x = r[0] / 2, o.useStyle(t.getModel("handleStyle").getItemStyle()), o.setStyle({
|
|
79
|
+
strokeNoScale: !0,
|
|
80
|
+
strokeFirst: !0
|
|
81
|
+
}), o.style.lineWidth *= 2, o.ensureState("emphasis").style = t.getModel(["emphasis", "handleStyle"]).getItemStyle(), et(o, !0), i.add(o);
|
|
82
|
+
var c = this.visualMapModel.textStyleModel, d = new T({
|
|
83
|
+
cursor: u,
|
|
84
|
+
draggable: !0,
|
|
85
|
+
drift: n,
|
|
86
|
+
onmousemove: function(g) {
|
|
87
|
+
w(g.event);
|
|
88
|
+
},
|
|
89
|
+
ondragend: v,
|
|
90
|
+
style: z(c, {
|
|
91
|
+
x: 0,
|
|
92
|
+
y: 0,
|
|
93
|
+
text: ""
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
d.ensureState("blur").style = {
|
|
97
|
+
opacity: 0.1
|
|
98
|
+
}, d.stateTransition = {
|
|
99
|
+
duration: 200
|
|
100
|
+
}, this.group.add(d);
|
|
101
|
+
var m = [h, 0], _ = this._shapes;
|
|
102
|
+
_.handleThumbs[e] = o, _.handleLabelPoints[e] = m, _.handleLabels[e] = d;
|
|
103
|
+
}, l.prototype._createIndicator = function(t, i, e, r, a) {
|
|
104
|
+
var s = C(t.get("indicatorSize"), e[0]), n = P(t.get("indicatorIcon"), -s / 2, -s / 2, s, s, null, !0);
|
|
105
|
+
n.attr({
|
|
106
|
+
cursor: "move",
|
|
107
|
+
invisible: !0,
|
|
108
|
+
silent: !0,
|
|
109
|
+
x: e[0] / 2
|
|
110
|
+
});
|
|
111
|
+
var v = t.getModel("indicatorStyle").getItemStyle();
|
|
112
|
+
if (n instanceof it) {
|
|
113
|
+
var h = n.style;
|
|
114
|
+
n.useStyle(Y({
|
|
115
|
+
// TODO other properties like x, y ?
|
|
116
|
+
image: h.image,
|
|
117
|
+
x: h.x,
|
|
118
|
+
y: h.y,
|
|
119
|
+
width: h.width,
|
|
120
|
+
height: h.height
|
|
121
|
+
}, v));
|
|
122
|
+
} else
|
|
123
|
+
n.useStyle(v);
|
|
124
|
+
i.add(n);
|
|
125
|
+
var o = this.visualMapModel.textStyleModel, u = new T({
|
|
126
|
+
silent: !0,
|
|
127
|
+
invisible: !0,
|
|
128
|
+
style: z(o, {
|
|
129
|
+
x: 0,
|
|
130
|
+
y: 0,
|
|
131
|
+
text: ""
|
|
132
|
+
})
|
|
133
|
+
});
|
|
134
|
+
this.group.add(u);
|
|
135
|
+
var c = [(a === "horizontal" ? r / 2 : ht) + e[0] / 2, 0], d = this._shapes;
|
|
136
|
+
d.indicator = n, d.indicatorLabel = u, d.indicatorLabelPoint = c, this._firstShowIndicator = !0;
|
|
137
|
+
}, l.prototype._dragHandle = function(t, i, e, r) {
|
|
138
|
+
if (this._useHandle) {
|
|
139
|
+
if (this._dragging = !i, !i) {
|
|
140
|
+
var a = this._applyTransform([e, r], this._shapes.mainGroup, !0);
|
|
141
|
+
this._updateInterval(t, a[1]), this._hideIndicator(), this._updateView();
|
|
142
|
+
}
|
|
143
|
+
i === !this.visualMapModel.get("realtime") && this.api.dispatchAction({
|
|
144
|
+
type: "selectDataRange",
|
|
145
|
+
from: this.uid,
|
|
146
|
+
visualMapId: this.visualMapModel.id,
|
|
147
|
+
selected: this._dataInterval.slice()
|
|
148
|
+
}), i ? !this._hovering && this._clearHoverLinkToSeries() : A(this.visualMapModel) && this._doHoverLinkToSeries(this._handleEnds[t], !1);
|
|
149
|
+
}
|
|
150
|
+
}, l.prototype._resetInterval = function() {
|
|
151
|
+
var t = this.visualMapModel, i = this._dataInterval = t.getSelected(), e = t.getExtent(), r = [0, t.itemSize[1]];
|
|
152
|
+
this._handleEnds = [f(i[0], e, r, !0), f(i[1], e, r, !0)];
|
|
153
|
+
}, l.prototype._updateInterval = function(t, i) {
|
|
154
|
+
i = i || 0;
|
|
155
|
+
var e = this.visualMapModel, r = this._handleEnds, a = [0, e.itemSize[1]];
|
|
156
|
+
J(
|
|
157
|
+
i,
|
|
158
|
+
r,
|
|
159
|
+
a,
|
|
160
|
+
t,
|
|
161
|
+
// cross is forbidden
|
|
162
|
+
0
|
|
163
|
+
);
|
|
164
|
+
var s = e.getExtent();
|
|
165
|
+
this._dataInterval = [f(r[0], a, s, !0), f(r[1], a, s, !0)];
|
|
166
|
+
}, l.prototype._updateView = function(t) {
|
|
167
|
+
var i = this.visualMapModel, e = i.getExtent(), r = this._shapes, a = [0, i.itemSize[1]], s = t ? a : this._handleEnds, n = this._createBarVisual(this._dataInterval, e, s, "inRange"), v = this._createBarVisual(e, e, a, "outOfRange");
|
|
168
|
+
r.inRange.setStyle({
|
|
169
|
+
fill: n.barColor
|
|
170
|
+
// opacity: visualInRange.opacity
|
|
171
|
+
}).setShape("points", n.barPoints), r.outOfRange.setStyle({
|
|
172
|
+
fill: v.barColor
|
|
173
|
+
// opacity: visualOutOfRange.opacity
|
|
174
|
+
}).setShape("points", v.barPoints), this._updateHandle(s, n);
|
|
175
|
+
}, l.prototype._createBarVisual = function(t, i, e, r) {
|
|
176
|
+
var a = {
|
|
177
|
+
forceState: r,
|
|
178
|
+
convertOpacityToAlpha: !0
|
|
179
|
+
}, s = this._makeColorGradient(t, a), n = [this.getControllerVisual(t[0], "symbolSize", a), this.getControllerVisual(t[1], "symbolSize", a)], v = this._createBarPoints(e, n);
|
|
180
|
+
return {
|
|
181
|
+
barColor: new U(0, 0, 0, 1, s),
|
|
182
|
+
barPoints: v,
|
|
183
|
+
handlesColor: [s[0].color, s[s.length - 1].color]
|
|
184
|
+
};
|
|
185
|
+
}, l.prototype._makeColorGradient = function(t, i) {
|
|
186
|
+
var e = 100, r = [], a = (t[1] - t[0]) / e;
|
|
187
|
+
r.push({
|
|
188
|
+
color: this.getControllerVisual(t[0], "color", i),
|
|
189
|
+
offset: 0
|
|
190
|
+
});
|
|
191
|
+
for (var s = 1; s < e; s++) {
|
|
192
|
+
var n = t[0] + a * s;
|
|
193
|
+
if (n > t[1])
|
|
194
|
+
break;
|
|
195
|
+
r.push({
|
|
196
|
+
color: this.getControllerVisual(n, "color", i),
|
|
197
|
+
offset: s / e
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
return r.push({
|
|
201
|
+
color: this.getControllerVisual(t[1], "color", i),
|
|
202
|
+
offset: 1
|
|
203
|
+
}), r;
|
|
204
|
+
}, l.prototype._createBarPoints = function(t, i) {
|
|
205
|
+
var e = this.visualMapModel.itemSize;
|
|
206
|
+
return [[e[0] - i[0], t[0]], [e[0], t[0]], [e[0], t[1]], [e[0] - i[1], t[1]]];
|
|
207
|
+
}, l.prototype._createBarGroup = function(t) {
|
|
208
|
+
var i = this._orient, e = this.visualMapModel.get("inverse");
|
|
209
|
+
return new O(i === "horizontal" && !e ? {
|
|
210
|
+
scaleX: t === "bottom" ? 1 : -1,
|
|
211
|
+
rotation: Math.PI / 2
|
|
212
|
+
} : i === "horizontal" && e ? {
|
|
213
|
+
scaleX: t === "bottom" ? -1 : 1,
|
|
214
|
+
rotation: -Math.PI / 2
|
|
215
|
+
} : i === "vertical" && !e ? {
|
|
216
|
+
scaleX: t === "left" ? 1 : -1,
|
|
217
|
+
scaleY: -1
|
|
218
|
+
} : {
|
|
219
|
+
scaleX: t === "left" ? 1 : -1
|
|
220
|
+
});
|
|
221
|
+
}, l.prototype._updateHandle = function(t, i) {
|
|
222
|
+
if (this._useHandle) {
|
|
223
|
+
var e = this._shapes, r = this.visualMapModel, a = e.handleThumbs, s = e.handleLabels, n = r.itemSize, v = r.getExtent(), h = this._applyTransform("left", e.mainGroup);
|
|
224
|
+
st([0, 1], function(o) {
|
|
225
|
+
var u = a[o];
|
|
226
|
+
u.setStyle("fill", i.handlesColor[o]), u.y = t[o];
|
|
227
|
+
var c = f(t[o], [0, n[1]], v, !0), d = this.getControllerVisual(c, "symbolSize");
|
|
228
|
+
u.scaleX = u.scaleY = d / n[0], u.x = n[0] - d / 2;
|
|
229
|
+
var m = x(e.handleLabelPoints[o], L(u, this.group));
|
|
230
|
+
if (this._orient === "horizontal") {
|
|
231
|
+
var _ = h === "left" || h === "top" ? (n[0] - d) / 2 : (n[0] - d) / -2;
|
|
232
|
+
m[1] += _;
|
|
233
|
+
}
|
|
234
|
+
s[o].setStyle({
|
|
235
|
+
x: m[0],
|
|
236
|
+
y: m[1],
|
|
237
|
+
text: r.formatValueText(this._dataInterval[o]),
|
|
238
|
+
verticalAlign: "middle",
|
|
239
|
+
align: this._orient === "vertical" ? this._applyTransform("left", e.mainGroup) : "center"
|
|
240
|
+
});
|
|
241
|
+
}, this);
|
|
242
|
+
}
|
|
243
|
+
}, l.prototype._showIndicator = function(t, i, e, r) {
|
|
244
|
+
var a = this.visualMapModel, s = a.getExtent(), n = a.itemSize, v = [0, n[1]], h = this._shapes, o = h.indicator;
|
|
245
|
+
if (o) {
|
|
246
|
+
o.attr("invisible", !1);
|
|
247
|
+
var u = {
|
|
248
|
+
convertOpacityToAlpha: !0
|
|
249
|
+
}, c = this.getControllerVisual(t, "color", u), d = this.getControllerVisual(t, "symbolSize"), m = f(t, s, v, !0), _ = n[0] - d / 2, g = {
|
|
250
|
+
x: o.x,
|
|
251
|
+
y: o.y
|
|
252
|
+
};
|
|
253
|
+
o.y = m, o.x = _;
|
|
254
|
+
var I = x(h.indicatorLabelPoint, L(o, this.group)), M = h.indicatorLabel;
|
|
255
|
+
M.attr("invisible", !1);
|
|
256
|
+
var E = this._applyTransform("left", h.mainGroup), X = this._orient, D = X === "horizontal";
|
|
257
|
+
M.setStyle({
|
|
258
|
+
text: (e || "") + a.formatValueText(i),
|
|
259
|
+
verticalAlign: D ? E : "middle",
|
|
260
|
+
align: D ? "center" : E
|
|
261
|
+
});
|
|
262
|
+
var V = {
|
|
263
|
+
x: _,
|
|
264
|
+
y: m,
|
|
265
|
+
style: {
|
|
266
|
+
fill: c
|
|
267
|
+
}
|
|
268
|
+
}, R = {
|
|
269
|
+
style: {
|
|
270
|
+
x: I[0],
|
|
271
|
+
y: I[1]
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
if (a.ecModel.isAnimationEnabled() && !this._firstShowIndicator) {
|
|
275
|
+
var G = {
|
|
276
|
+
duration: 100,
|
|
277
|
+
easing: "cubicInOut",
|
|
278
|
+
additive: !0
|
|
279
|
+
};
|
|
280
|
+
o.x = g.x, o.y = g.y, o.animateTo(V, G), M.animateTo(R, G);
|
|
281
|
+
} else
|
|
282
|
+
o.attr(V), M.attr(R);
|
|
283
|
+
this._firstShowIndicator = !1;
|
|
284
|
+
var S = this._shapes.handleLabels;
|
|
285
|
+
if (S)
|
|
286
|
+
for (var b = 0; b < S.length; b++)
|
|
287
|
+
this.api.enterBlur(S[b]);
|
|
288
|
+
}
|
|
289
|
+
}, l.prototype._enableHoverLinkToSeries = function() {
|
|
290
|
+
var t = this;
|
|
291
|
+
this._shapes.mainGroup.on("mousemove", function(i) {
|
|
292
|
+
if (t._hovering = !0, !t._dragging) {
|
|
293
|
+
var e = t.visualMapModel.itemSize, r = t._applyTransform([i.offsetX, i.offsetY], t._shapes.mainGroup, !0, !0);
|
|
294
|
+
r[1] = B(k(0, r[1]), e[1]), t._doHoverLinkToSeries(r[1], 0 <= r[0] && r[0] <= e[0]);
|
|
295
|
+
}
|
|
296
|
+
}).on("mouseout", function() {
|
|
297
|
+
t._hovering = !1, !t._dragging && t._clearHoverLinkToSeries();
|
|
298
|
+
});
|
|
299
|
+
}, l.prototype._enableHoverLinkFromSeries = function() {
|
|
300
|
+
var t = this.api.getZr();
|
|
301
|
+
this.visualMapModel.option.hoverLink ? (t.on("mouseover", this._hoverLinkFromSeriesMouseOver, this), t.on("mouseout", this._hideIndicator, this)) : this._clearHoverLinkFromSeries();
|
|
302
|
+
}, l.prototype._doHoverLinkToSeries = function(t, i) {
|
|
303
|
+
var e = this.visualMapModel, r = e.itemSize;
|
|
304
|
+
if (e.option.hoverLink) {
|
|
305
|
+
var a = [0, r[1]], s = e.getExtent();
|
|
306
|
+
t = B(k(a[0], t), a[1]);
|
|
307
|
+
var n = vt(e, s, a), v = [t - n, t + n], h = f(t, a, s, !0), o = [f(v[0], a, s, !0), f(v[1], a, s, !0)];
|
|
308
|
+
v[0] < a[0] && (o[0] = -1 / 0), v[1] > a[1] && (o[1] = 1 / 0), i && (o[0] === -1 / 0 ? this._showIndicator(h, o[1], "< ", n) : o[1] === 1 / 0 ? this._showIndicator(h, o[0], "> ", n) : this._showIndicator(h, h, "≈ ", n));
|
|
309
|
+
var u = this._hoverLinkDataIndices, c = [];
|
|
310
|
+
(i || A(e)) && (c = this._hoverLinkDataIndices = e.findTargetDataIndices(o));
|
|
311
|
+
var d = tt(u, c);
|
|
312
|
+
this._dispatchHighDown("downplay", H(d[0], e)), this._dispatchHighDown("highlight", H(d[1], e));
|
|
313
|
+
}
|
|
314
|
+
}, l.prototype._hoverLinkFromSeriesMouseOver = function(t) {
|
|
315
|
+
var i;
|
|
316
|
+
if (at(t.target, function(n) {
|
|
317
|
+
var v = rt(n);
|
|
318
|
+
if (v.dataIndex != null)
|
|
319
|
+
return i = v, !0;
|
|
320
|
+
}, !0), !!i) {
|
|
321
|
+
var e = this.ecModel.getSeriesByIndex(i.seriesIndex), r = this.visualMapModel;
|
|
322
|
+
if (r.isTargetSeries(e)) {
|
|
323
|
+
var a = e.getData(i.dataType), s = a.getStore().get(r.getDataDimensionIndex(a), i.dataIndex);
|
|
324
|
+
isNaN(s) || this._showIndicator(s, s);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}, l.prototype._hideIndicator = function() {
|
|
328
|
+
var t = this._shapes;
|
|
329
|
+
t.indicator && t.indicator.attr("invisible", !0), t.indicatorLabel && t.indicatorLabel.attr("invisible", !0);
|
|
330
|
+
var i = this._shapes.handleLabels;
|
|
331
|
+
if (i)
|
|
332
|
+
for (var e = 0; e < i.length; e++)
|
|
333
|
+
this.api.leaveBlur(i[e]);
|
|
334
|
+
}, l.prototype._clearHoverLinkToSeries = function() {
|
|
335
|
+
this._hideIndicator();
|
|
336
|
+
var t = this._hoverLinkDataIndices;
|
|
337
|
+
this._dispatchHighDown("downplay", H(t, this.visualMapModel)), t.length = 0;
|
|
338
|
+
}, l.prototype._clearHoverLinkFromSeries = function() {
|
|
339
|
+
this._hideIndicator();
|
|
340
|
+
var t = this.api.getZr();
|
|
341
|
+
t.off("mouseover", this._hoverLinkFromSeriesMouseOver), t.off("mouseout", this._hideIndicator);
|
|
342
|
+
}, l.prototype._applyTransform = function(t, i, e, r) {
|
|
343
|
+
var a = L(i, r ? null : this.group);
|
|
344
|
+
return $(t) ? x(t, a, e) : j(t, a, e);
|
|
345
|
+
}, l.prototype._dispatchHighDown = function(t, i) {
|
|
346
|
+
i && i.length && this.api.dispatchAction({
|
|
347
|
+
type: t,
|
|
348
|
+
batch: i
|
|
349
|
+
});
|
|
350
|
+
}, l.prototype.dispose = function() {
|
|
351
|
+
this._clearHoverLinkFromSeries(), this._clearHoverLinkToSeries();
|
|
352
|
+
}, l.type = "visualMap.continuous", l;
|
|
353
|
+
})(W)
|
|
354
|
+
);
|
|
355
|
+
function F(p, l, t, i) {
|
|
356
|
+
return new nt({
|
|
357
|
+
shape: {
|
|
358
|
+
points: p
|
|
359
|
+
},
|
|
360
|
+
draggable: !!t,
|
|
361
|
+
cursor: l,
|
|
362
|
+
drift: t,
|
|
363
|
+
onmousemove: function(e) {
|
|
364
|
+
w(e.event);
|
|
365
|
+
},
|
|
366
|
+
ondragend: i
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
function vt(p, l, t) {
|
|
370
|
+
var i = lt / 2, e = p.get("hoverLinkDataSize");
|
|
371
|
+
return e && (i = f(e, l, t, !0) / 2), i;
|
|
372
|
+
}
|
|
373
|
+
function A(p) {
|
|
374
|
+
var l = p.get("hoverLinkOnHandle");
|
|
375
|
+
return !!(l ?? p.get("realtime"));
|
|
376
|
+
}
|
|
377
|
+
function N(p) {
|
|
378
|
+
return p === "vertical" ? "ns-resize" : "ew-resize";
|
|
379
|
+
}
|
|
380
|
+
export {
|
|
381
|
+
Dt as default
|
|
382
|
+
};
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { __extends as I } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { clone as y, map as M, each as h, isObject as V } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import m from "./VisualMapModel.js";
|
|
4
|
+
import d from "../../visual/VisualMapping.js";
|
|
5
|
+
import O from "../../visual/visualDefault.js";
|
|
6
|
+
import { reformIntervals as g } from "../../util/number.js";
|
|
7
|
+
import { inheritDefaultOption as S } from "../../util/component.js";
|
|
8
|
+
var K = (
|
|
9
|
+
/** @class */
|
|
10
|
+
(function(l) {
|
|
11
|
+
I(r, l);
|
|
12
|
+
function r() {
|
|
13
|
+
var t = l !== null && l.apply(this, arguments) || this;
|
|
14
|
+
return t.type = r.type, t._pieceList = [], t;
|
|
15
|
+
}
|
|
16
|
+
return r.prototype.optionUpdated = function(t, s) {
|
|
17
|
+
l.prototype.optionUpdated.apply(this, arguments), this.resetExtent();
|
|
18
|
+
var e = this._mode = this._determineMode();
|
|
19
|
+
this._pieceList = [], b[this._mode].call(this, this._pieceList), this._resetSelected(t, s);
|
|
20
|
+
var u = this.option.categories;
|
|
21
|
+
this.resetVisual(function(i, n) {
|
|
22
|
+
e === "categories" ? (i.mappingMethod = "category", i.categories = y(u)) : (i.dataExtent = this.getExtent(), i.mappingMethod = "piecewise", i.pieceList = M(this._pieceList, function(a) {
|
|
23
|
+
return a = y(a), n !== "inRange" && (a.visual = null), a;
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
26
|
+
}, r.prototype.completeVisualOption = function() {
|
|
27
|
+
var t = this.option, s = {}, e = d.listVisualTypes(), u = this.isCategory();
|
|
28
|
+
h(t.pieces, function(n) {
|
|
29
|
+
h(e, function(a) {
|
|
30
|
+
n.hasOwnProperty(a) && (s[a] = 1);
|
|
31
|
+
});
|
|
32
|
+
}), h(s, function(n, a) {
|
|
33
|
+
var p = !1;
|
|
34
|
+
h(this.stateList, function(o) {
|
|
35
|
+
p = p || i(t, o, a) || i(t.target, o, a);
|
|
36
|
+
}, this), !p && h(this.stateList, function(o) {
|
|
37
|
+
(t[o] || (t[o] = {}))[a] = O.get(a, o === "inRange" ? "active" : "inactive", u);
|
|
38
|
+
});
|
|
39
|
+
}, this);
|
|
40
|
+
function i(n, a, p) {
|
|
41
|
+
return n && n[a] && n[a].hasOwnProperty(p);
|
|
42
|
+
}
|
|
43
|
+
l.prototype.completeVisualOption.apply(this, arguments);
|
|
44
|
+
}, r.prototype._resetSelected = function(t, s) {
|
|
45
|
+
var e = this.option, u = this._pieceList, i = (s ? e : t).selected || {};
|
|
46
|
+
if (e.selected = i, h(u, function(a, p) {
|
|
47
|
+
var o = this.getSelectedMapKey(a);
|
|
48
|
+
i.hasOwnProperty(o) || (i[o] = !0);
|
|
49
|
+
}, this), e.selectedMode === "single") {
|
|
50
|
+
var n = !1;
|
|
51
|
+
h(u, function(a, p) {
|
|
52
|
+
var o = this.getSelectedMapKey(a);
|
|
53
|
+
i[o] && (n ? i[o] = !1 : n = !0);
|
|
54
|
+
}, this);
|
|
55
|
+
}
|
|
56
|
+
}, r.prototype.getItemSymbol = function() {
|
|
57
|
+
return this.get("itemSymbol");
|
|
58
|
+
}, r.prototype.getSelectedMapKey = function(t) {
|
|
59
|
+
return this._mode === "categories" ? t.value + "" : t.index + "";
|
|
60
|
+
}, r.prototype.getPieceList = function() {
|
|
61
|
+
return this._pieceList;
|
|
62
|
+
}, r.prototype._determineMode = function() {
|
|
63
|
+
var t = this.option;
|
|
64
|
+
return t.pieces && t.pieces.length > 0 ? "pieces" : this.option.categories ? "categories" : "splitNumber";
|
|
65
|
+
}, r.prototype.setSelected = function(t) {
|
|
66
|
+
this.option.selected = y(t);
|
|
67
|
+
}, r.prototype.getValueState = function(t) {
|
|
68
|
+
var s = d.findPieceIndex(t, this._pieceList);
|
|
69
|
+
return s != null && this.option.selected[this.getSelectedMapKey(this._pieceList[s])] ? "inRange" : "outOfRange";
|
|
70
|
+
}, r.prototype.findTargetDataIndices = function(t) {
|
|
71
|
+
var s = [], e = this._pieceList;
|
|
72
|
+
return this.eachTargetSeries(function(u) {
|
|
73
|
+
var i = [], n = u.getData();
|
|
74
|
+
n.each(this.getDataDimensionIndex(n), function(a, p) {
|
|
75
|
+
var o = d.findPieceIndex(a, e);
|
|
76
|
+
o === t && i.push(p);
|
|
77
|
+
}, this), s.push({
|
|
78
|
+
seriesId: u.id,
|
|
79
|
+
dataIndex: i
|
|
80
|
+
});
|
|
81
|
+
}, this), s;
|
|
82
|
+
}, r.prototype.getRepresentValue = function(t) {
|
|
83
|
+
var s;
|
|
84
|
+
if (this.isCategory())
|
|
85
|
+
s = t.value;
|
|
86
|
+
else if (t.value != null)
|
|
87
|
+
s = t.value;
|
|
88
|
+
else {
|
|
89
|
+
var e = t.interval || [];
|
|
90
|
+
s = e[0] === -1 / 0 && e[1] === 1 / 0 ? 0 : (e[0] + e[1]) / 2;
|
|
91
|
+
}
|
|
92
|
+
return s;
|
|
93
|
+
}, r.prototype.getVisualMeta = function(t) {
|
|
94
|
+
if (this.isCategory())
|
|
95
|
+
return;
|
|
96
|
+
var s = [], e = ["", ""], u = this;
|
|
97
|
+
function i(o, f) {
|
|
98
|
+
var c = u.getRepresentValue({
|
|
99
|
+
interval: o
|
|
100
|
+
});
|
|
101
|
+
f || (f = u.getValueState(c));
|
|
102
|
+
var v = t(c, f);
|
|
103
|
+
o[0] === -1 / 0 ? e[0] = v : o[1] === 1 / 0 ? e[1] = v : s.push({
|
|
104
|
+
value: o[0],
|
|
105
|
+
color: v
|
|
106
|
+
}, {
|
|
107
|
+
value: o[1],
|
|
108
|
+
color: v
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
var n = this._pieceList.slice();
|
|
112
|
+
if (!n.length)
|
|
113
|
+
n.push({
|
|
114
|
+
interval: [-1 / 0, 1 / 0]
|
|
115
|
+
});
|
|
116
|
+
else {
|
|
117
|
+
var a = n[0].interval[0];
|
|
118
|
+
a !== -1 / 0 && n.unshift({
|
|
119
|
+
interval: [-1 / 0, a]
|
|
120
|
+
}), a = n[n.length - 1].interval[1], a !== 1 / 0 && n.push({
|
|
121
|
+
interval: [a, 1 / 0]
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
var p = -1 / 0;
|
|
125
|
+
return h(n, function(o) {
|
|
126
|
+
var f = o.interval;
|
|
127
|
+
f && (f[0] > p && i([p, f[0]], "outOfRange"), i(f.slice()), p = f[1]);
|
|
128
|
+
}, this), {
|
|
129
|
+
stops: s,
|
|
130
|
+
outerColors: e
|
|
131
|
+
};
|
|
132
|
+
}, r.type = "visualMap.piecewise", r.defaultOption = S(m.defaultOption, {
|
|
133
|
+
selected: null,
|
|
134
|
+
minOpen: !1,
|
|
135
|
+
maxOpen: !1,
|
|
136
|
+
align: "auto",
|
|
137
|
+
itemWidth: 20,
|
|
138
|
+
itemHeight: 14,
|
|
139
|
+
itemSymbol: "roundRect",
|
|
140
|
+
pieces: null,
|
|
141
|
+
categories: null,
|
|
142
|
+
splitNumber: 5,
|
|
143
|
+
selectedMode: "multiple",
|
|
144
|
+
itemGap: 10,
|
|
145
|
+
hoverLink: !0
|
|
146
|
+
// Enable hover highlight.
|
|
147
|
+
}), r;
|
|
148
|
+
})(m)
|
|
149
|
+
), b = {
|
|
150
|
+
splitNumber: function(l) {
|
|
151
|
+
var r = this.option, t = Math.min(r.precision, 20), s = this.getExtent(), e = r.splitNumber;
|
|
152
|
+
e = Math.max(parseInt(e, 10), 1), r.splitNumber = e;
|
|
153
|
+
for (var u = (s[1] - s[0]) / e; +u.toFixed(t) !== u && t < 5; )
|
|
154
|
+
t++;
|
|
155
|
+
r.precision = t, u = +u.toFixed(t), r.minOpen && l.push({
|
|
156
|
+
interval: [-1 / 0, s[0]],
|
|
157
|
+
close: [0, 0]
|
|
158
|
+
});
|
|
159
|
+
for (var i = 0, n = s[0]; i < e; n += u, i++) {
|
|
160
|
+
var a = i === e - 1 ? s[1] : n + u;
|
|
161
|
+
l.push({
|
|
162
|
+
interval: [n, a],
|
|
163
|
+
close: [1, 1]
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
r.maxOpen && l.push({
|
|
167
|
+
interval: [s[1], 1 / 0],
|
|
168
|
+
close: [0, 0]
|
|
169
|
+
}), g(l), h(l, function(p, o) {
|
|
170
|
+
p.index = o, p.text = this.formatValueText(p.interval);
|
|
171
|
+
}, this);
|
|
172
|
+
},
|
|
173
|
+
categories: function(l) {
|
|
174
|
+
var r = this.option;
|
|
175
|
+
h(r.categories, function(t) {
|
|
176
|
+
l.push({
|
|
177
|
+
text: this.formatValueText(t, !0),
|
|
178
|
+
value: t
|
|
179
|
+
});
|
|
180
|
+
}, this), x(r, l);
|
|
181
|
+
},
|
|
182
|
+
pieces: function(l) {
|
|
183
|
+
var r = this.option;
|
|
184
|
+
h(r.pieces, function(t, s) {
|
|
185
|
+
V(t) || (t = {
|
|
186
|
+
value: t
|
|
187
|
+
});
|
|
188
|
+
var e = {
|
|
189
|
+
text: "",
|
|
190
|
+
index: s
|
|
191
|
+
};
|
|
192
|
+
if (t.label != null && (e.text = t.label), t.hasOwnProperty("value")) {
|
|
193
|
+
var u = e.value = t.value;
|
|
194
|
+
e.interval = [u, u], e.close = [1, 1];
|
|
195
|
+
} else {
|
|
196
|
+
for (var i = e.interval = [], n = e.close = [0, 0], a = [1, 0, 1], p = [-1 / 0, 1 / 0], o = [], f = 0; f < 2; f++) {
|
|
197
|
+
for (var c = [["gte", "gt", "min"], ["lte", "lt", "max"]][f], v = 0; v < 3 && i[f] == null; v++)
|
|
198
|
+
i[f] = t[c[v]], n[f] = a[v], o[f] = v === 2;
|
|
199
|
+
i[f] == null && (i[f] = p[f]);
|
|
200
|
+
}
|
|
201
|
+
o[0] && i[1] === 1 / 0 && (n[0] = 0), o[1] && i[0] === -1 / 0 && (n[1] = 0), i[0] === i[1] && n[0] && n[1] && (e.value = i[0]);
|
|
202
|
+
}
|
|
203
|
+
e.visual = d.retrieveVisuals(t), l.push(e);
|
|
204
|
+
}, this), x(r, l), g(l), h(l, function(t) {
|
|
205
|
+
var s = t.close, e = [["<", "≤"][s[1]], [">", "≥"][s[0]]];
|
|
206
|
+
t.text = t.text || this.formatValueText(t.value != null ? t.value : t.interval, !1, e);
|
|
207
|
+
}, this);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
function x(l, r) {
|
|
211
|
+
var t = l.inverse;
|
|
212
|
+
(l.orient === "vertical" ? !t : t) && r.reverse();
|
|
213
|
+
}
|
|
214
|
+
export {
|
|
215
|
+
K as default
|
|
216
|
+
};
|