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,196 @@
|
|
|
1
|
+
import { __extends as g } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { isArray as v, each as s, merge as y, isString as p, createHashMap as m, map as b, isNumber as S, filter as M, indexOf as _ } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import w from "../../model/Model.js";
|
|
4
|
+
import { isNameSpecified as O } from "../../util/model.js";
|
|
5
|
+
import C from "../../model/Component.js";
|
|
6
|
+
var D = function(n, r) {
|
|
7
|
+
if (r === "all")
|
|
8
|
+
return {
|
|
9
|
+
type: "all",
|
|
10
|
+
title: n.getLocaleModel().get(["legend", "selector", "all"])
|
|
11
|
+
};
|
|
12
|
+
if (r === "inverse")
|
|
13
|
+
return {
|
|
14
|
+
type: "inverse",
|
|
15
|
+
title: n.getLocaleModel().get(["legend", "selector", "inverse"])
|
|
16
|
+
};
|
|
17
|
+
}, z = (
|
|
18
|
+
/** @class */
|
|
19
|
+
(function(n) {
|
|
20
|
+
g(r, n);
|
|
21
|
+
function r() {
|
|
22
|
+
var e = n !== null && n.apply(this, arguments) || this;
|
|
23
|
+
return e.type = r.type, e.layoutMode = {
|
|
24
|
+
type: "box",
|
|
25
|
+
// legend.width/height are maxWidth/maxHeight actually,
|
|
26
|
+
// whereas real width/height is calculated by its content.
|
|
27
|
+
// (Setting {left: 10, right: 10} does not make sense).
|
|
28
|
+
// So consider the case:
|
|
29
|
+
// `setOption({legend: {left: 10});`
|
|
30
|
+
// then `setOption({legend: {right: 10});`
|
|
31
|
+
// The previous `left` should be cleared by setting `ignoreSize`.
|
|
32
|
+
ignoreSize: !0
|
|
33
|
+
}, e;
|
|
34
|
+
}
|
|
35
|
+
return r.prototype.init = function(e, t, i) {
|
|
36
|
+
this.mergeDefaultAndTheme(e, i), e.selected = e.selected || {}, this._updateSelector(e);
|
|
37
|
+
}, r.prototype.mergeOption = function(e, t) {
|
|
38
|
+
n.prototype.mergeOption.call(this, e, t), this._updateSelector(e);
|
|
39
|
+
}, r.prototype._updateSelector = function(e) {
|
|
40
|
+
var t = e.selector, i = this.ecModel;
|
|
41
|
+
t === !0 && (t = e.selector = ["all", "inverse"]), v(t) && s(t, function(o, l) {
|
|
42
|
+
p(o) && (o = {
|
|
43
|
+
type: o
|
|
44
|
+
}), t[l] = y(o, D(i, o.type));
|
|
45
|
+
});
|
|
46
|
+
}, r.prototype.optionUpdated = function() {
|
|
47
|
+
this._updateData(this.ecModel);
|
|
48
|
+
var e = this._data;
|
|
49
|
+
if (e[0] && this.get("selectedMode") === "single") {
|
|
50
|
+
for (var t = !1, i = 0; i < e.length; i++) {
|
|
51
|
+
var o = e[i].get("name");
|
|
52
|
+
if (this.isSelected(o)) {
|
|
53
|
+
this.select(o), t = !0;
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
!t && this.select(e[0].get("name"));
|
|
58
|
+
}
|
|
59
|
+
}, r.prototype._updateData = function(e) {
|
|
60
|
+
var t = [], i = [];
|
|
61
|
+
e.eachRawSeries(function(a) {
|
|
62
|
+
var u = a.name;
|
|
63
|
+
i.push(u);
|
|
64
|
+
var c;
|
|
65
|
+
if (a.legendVisualProvider) {
|
|
66
|
+
var f = a.legendVisualProvider, d = f.getAllNames();
|
|
67
|
+
e.isSeriesFiltered(a) || (i = i.concat(d)), d.length ? t = t.concat(d) : c = !0;
|
|
68
|
+
} else
|
|
69
|
+
c = !0;
|
|
70
|
+
c && O(a) && t.push(a.name);
|
|
71
|
+
}), this._availableNames = i;
|
|
72
|
+
var o = this.get("data") || t, l = m(), h = b(o, function(a) {
|
|
73
|
+
return (p(a) || S(a)) && (a = {
|
|
74
|
+
name: a
|
|
75
|
+
}), l.get(a.name) ? null : (l.set(a.name, !0), new w(a, this, this.ecModel));
|
|
76
|
+
}, this);
|
|
77
|
+
this._data = M(h, function(a) {
|
|
78
|
+
return !!a;
|
|
79
|
+
});
|
|
80
|
+
}, r.prototype.getData = function() {
|
|
81
|
+
return this._data;
|
|
82
|
+
}, r.prototype.select = function(e) {
|
|
83
|
+
var t = this.option.selected, i = this.get("selectedMode");
|
|
84
|
+
if (i === "single") {
|
|
85
|
+
var o = this._data;
|
|
86
|
+
s(o, function(l) {
|
|
87
|
+
t[l.get("name")] = !1;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
t[e] = !0;
|
|
91
|
+
}, r.prototype.unSelect = function(e) {
|
|
92
|
+
this.get("selectedMode") !== "single" && (this.option.selected[e] = !1);
|
|
93
|
+
}, r.prototype.toggleSelected = function(e) {
|
|
94
|
+
var t = this.option.selected;
|
|
95
|
+
t.hasOwnProperty(e) || (t[e] = !0), this[t[e] ? "unSelect" : "select"](e);
|
|
96
|
+
}, r.prototype.allSelect = function() {
|
|
97
|
+
var e = this._data, t = this.option.selected;
|
|
98
|
+
s(e, function(i) {
|
|
99
|
+
t[i.get("name", !0)] = !0;
|
|
100
|
+
});
|
|
101
|
+
}, r.prototype.inverseSelect = function() {
|
|
102
|
+
var e = this._data, t = this.option.selected;
|
|
103
|
+
s(e, function(i) {
|
|
104
|
+
var o = i.get("name", !0);
|
|
105
|
+
t.hasOwnProperty(o) || (t[o] = !0), t[o] = !t[o];
|
|
106
|
+
});
|
|
107
|
+
}, r.prototype.isSelected = function(e) {
|
|
108
|
+
var t = this.option.selected;
|
|
109
|
+
return !(t.hasOwnProperty(e) && !t[e]) && _(this._availableNames, e) >= 0;
|
|
110
|
+
}, r.prototype.getOrient = function() {
|
|
111
|
+
return this.get("orient") === "vertical" ? {
|
|
112
|
+
index: 1,
|
|
113
|
+
name: "vertical"
|
|
114
|
+
} : {
|
|
115
|
+
index: 0,
|
|
116
|
+
name: "horizontal"
|
|
117
|
+
};
|
|
118
|
+
}, r.type = "legend.plain", r.dependencies = ["series"], r.defaultOption = {
|
|
119
|
+
// zlevel: 0,
|
|
120
|
+
z: 4,
|
|
121
|
+
show: !0,
|
|
122
|
+
orient: "horizontal",
|
|
123
|
+
left: "center",
|
|
124
|
+
// right: 'center',
|
|
125
|
+
top: 0,
|
|
126
|
+
// bottom: null,
|
|
127
|
+
align: "auto",
|
|
128
|
+
backgroundColor: "rgba(0,0,0,0)",
|
|
129
|
+
borderColor: "#ccc",
|
|
130
|
+
borderRadius: 0,
|
|
131
|
+
borderWidth: 0,
|
|
132
|
+
padding: 5,
|
|
133
|
+
itemGap: 10,
|
|
134
|
+
itemWidth: 25,
|
|
135
|
+
itemHeight: 14,
|
|
136
|
+
symbolRotate: "inherit",
|
|
137
|
+
symbolKeepAspect: !0,
|
|
138
|
+
inactiveColor: "#ccc",
|
|
139
|
+
inactiveBorderColor: "#ccc",
|
|
140
|
+
inactiveBorderWidth: "auto",
|
|
141
|
+
itemStyle: {
|
|
142
|
+
color: "inherit",
|
|
143
|
+
opacity: "inherit",
|
|
144
|
+
borderColor: "inherit",
|
|
145
|
+
borderWidth: "auto",
|
|
146
|
+
borderCap: "inherit",
|
|
147
|
+
borderJoin: "inherit",
|
|
148
|
+
borderDashOffset: "inherit",
|
|
149
|
+
borderMiterLimit: "inherit"
|
|
150
|
+
},
|
|
151
|
+
lineStyle: {
|
|
152
|
+
width: "auto",
|
|
153
|
+
color: "inherit",
|
|
154
|
+
inactiveColor: "#ccc",
|
|
155
|
+
inactiveWidth: 2,
|
|
156
|
+
opacity: "inherit",
|
|
157
|
+
type: "inherit",
|
|
158
|
+
cap: "inherit",
|
|
159
|
+
join: "inherit",
|
|
160
|
+
dashOffset: "inherit",
|
|
161
|
+
miterLimit: "inherit"
|
|
162
|
+
},
|
|
163
|
+
textStyle: {
|
|
164
|
+
color: "#333"
|
|
165
|
+
},
|
|
166
|
+
selectedMode: !0,
|
|
167
|
+
selector: !1,
|
|
168
|
+
selectorLabel: {
|
|
169
|
+
show: !0,
|
|
170
|
+
borderRadius: 10,
|
|
171
|
+
padding: [3, 5, 3, 5],
|
|
172
|
+
fontSize: 12,
|
|
173
|
+
fontFamily: "sans-serif",
|
|
174
|
+
color: "#666",
|
|
175
|
+
borderWidth: 1,
|
|
176
|
+
borderColor: "#666"
|
|
177
|
+
},
|
|
178
|
+
emphasis: {
|
|
179
|
+
selectorLabel: {
|
|
180
|
+
show: !0,
|
|
181
|
+
color: "#eee",
|
|
182
|
+
backgroundColor: "#666"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
selectorPosition: "auto",
|
|
186
|
+
selectorItemGap: 7,
|
|
187
|
+
selectorButtonGap: 10,
|
|
188
|
+
tooltip: {
|
|
189
|
+
show: !1
|
|
190
|
+
}
|
|
191
|
+
}, r;
|
|
192
|
+
})(C)
|
|
193
|
+
);
|
|
194
|
+
export {
|
|
195
|
+
z as default
|
|
196
|
+
};
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { __extends as X } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { defaults as j, createHashMap as q, each as J, curry as Q, extend as P, isFunction as E, isString as Y } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { parse as N, stringify as M } from "../../../../zrender/lib/tool/color.js";
|
|
4
|
+
import { setTooltipConfig as tt } from "../../util/graphic.js";
|
|
5
|
+
import { enableHoverEmphasis as I } from "../../util/states.js";
|
|
6
|
+
import { setLabelStyle as et, createTextStyle as it } from "../../label/labelStyle.js";
|
|
7
|
+
import { makeBackground as rt } from "../helper/listComponent.js";
|
|
8
|
+
import { getLayoutRect as V, box as z } from "../../util/layout.js";
|
|
9
|
+
import nt from "../../view/Component.js";
|
|
10
|
+
import { createSymbol as at } from "../../util/symbol.js";
|
|
11
|
+
import { createOrUpdatePatternFromDecal as ot } from "../../util/decal.js";
|
|
12
|
+
import { getECData as K } from "../../util/innerStore.js";
|
|
13
|
+
import st from "../../../../zrender/lib/graphic/Group.js";
|
|
14
|
+
import $ from "../../../../zrender/lib/graphic/Text.js";
|
|
15
|
+
import lt from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
16
|
+
var R = Q, H = J, B = st, Rt = (
|
|
17
|
+
/** @class */
|
|
18
|
+
(function(a) {
|
|
19
|
+
X(r, a);
|
|
20
|
+
function r() {
|
|
21
|
+
var t = a !== null && a.apply(this, arguments) || this;
|
|
22
|
+
return t.type = r.type, t.newlineDisabled = !1, t;
|
|
23
|
+
}
|
|
24
|
+
return r.prototype.init = function() {
|
|
25
|
+
this.group.add(this._contentGroup = new B()), this.group.add(this._selectorGroup = new B()), this._isFirstRender = !0;
|
|
26
|
+
}, r.prototype.getContentGroup = function() {
|
|
27
|
+
return this._contentGroup;
|
|
28
|
+
}, r.prototype.getSelectorGroup = function() {
|
|
29
|
+
return this._selectorGroup;
|
|
30
|
+
}, r.prototype.render = function(t, e, u) {
|
|
31
|
+
var c = this._isFirstRender;
|
|
32
|
+
if (this._isFirstRender = !1, this.resetInner(), !!t.get("show", !0)) {
|
|
33
|
+
var f = t.get("align"), m = t.get("orient");
|
|
34
|
+
(!f || f === "auto") && (f = t.get("left") === "right" && m === "vertical" ? "right" : "left");
|
|
35
|
+
var v = t.get("selector", !0), i = t.get("selectorPosition", !0);
|
|
36
|
+
v && (!i || i === "auto") && (i = m === "horizontal" ? "end" : "start"), this.renderInner(f, t, e, u, v, m, i);
|
|
37
|
+
var s = t.getBoxLayoutParams(), h = {
|
|
38
|
+
width: u.getWidth(),
|
|
39
|
+
height: u.getHeight()
|
|
40
|
+
}, o = t.get("padding"), l = V(s, h, o), g = this.layoutInner(t, f, l, c, v, i), n = V(j({
|
|
41
|
+
width: g.width,
|
|
42
|
+
height: g.height
|
|
43
|
+
}, s), h, o);
|
|
44
|
+
this.group.x = n.x - g.x, this.group.y = n.y - g.y, this.group.markRedraw(), this.group.add(this._backgroundEl = rt(g, t));
|
|
45
|
+
}
|
|
46
|
+
}, r.prototype.resetInner = function() {
|
|
47
|
+
this.getContentGroup().removeAll(), this._backgroundEl && this.group.remove(this._backgroundEl), this.getSelectorGroup().removeAll();
|
|
48
|
+
}, r.prototype.renderInner = function(t, e, u, c, f, m, v) {
|
|
49
|
+
var i = this.getContentGroup(), s = q(), h = e.get("selectedMode"), o = [];
|
|
50
|
+
u.eachRawSeries(function(l) {
|
|
51
|
+
!l.get("legendHoverLink") && o.push(l.id);
|
|
52
|
+
}), H(e.getData(), function(l, g) {
|
|
53
|
+
var n = l.get("name");
|
|
54
|
+
if (!this.newlineDisabled && (n === "" || n === `
|
|
55
|
+
`)) {
|
|
56
|
+
var y = new B();
|
|
57
|
+
y.newline = !0, i.add(y);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
var p = u.getSeriesByName(n)[0];
|
|
61
|
+
if (!s.get(n))
|
|
62
|
+
if (p) {
|
|
63
|
+
var x = p.getData(), d = x.getVisual("legendLineStyle") || {}, L = x.getVisual("legendIcon"), S = x.getVisual("style"), _ = this._createItem(p, n, g, l, e, t, d, S, L, h, c);
|
|
64
|
+
_.on("click", R(U, n, null, c, o)).on("mouseover", R(F, p.name, null, c, o)).on("mouseout", R(O, p.name, null, c, o)), u.ssr && _.eachChild(function(k) {
|
|
65
|
+
var w = K(k);
|
|
66
|
+
w.seriesIndex = p.seriesIndex, w.dataIndex = g, w.ssrType = "legend";
|
|
67
|
+
}), s.set(n, !0);
|
|
68
|
+
} else
|
|
69
|
+
u.eachRawSeries(function(k) {
|
|
70
|
+
if (!s.get(n) && k.legendVisualProvider) {
|
|
71
|
+
var w = k.legendVisualProvider;
|
|
72
|
+
if (!w.containName(n))
|
|
73
|
+
return;
|
|
74
|
+
var A = w.indexOfName(n), b = w.getItemVisual(A, "style"), D = w.getItemVisual(A, "legendIcon"), C = N(b.fill);
|
|
75
|
+
C && C[3] === 0 && (C[3] = 0.2, b = P(P({}, b), {
|
|
76
|
+
fill: M(C, "rgba")
|
|
77
|
+
}));
|
|
78
|
+
var G = this._createItem(k, n, g, l, e, t, {}, b, D, h, c);
|
|
79
|
+
G.on("click", R(U, null, n, c, o)).on("mouseover", R(F, null, n, c, o)).on("mouseout", R(O, null, n, c, o)), u.ssr && G.eachChild(function(T) {
|
|
80
|
+
var W = K(T);
|
|
81
|
+
W.seriesIndex = k.seriesIndex, W.dataIndex = g, W.ssrType = "legend";
|
|
82
|
+
}), s.set(n, !0);
|
|
83
|
+
}
|
|
84
|
+
}, this);
|
|
85
|
+
}, this), f && this._createSelector(f, e, c, m, v);
|
|
86
|
+
}, r.prototype._createSelector = function(t, e, u, c, f) {
|
|
87
|
+
var m = this.getSelectorGroup();
|
|
88
|
+
H(t, function(i) {
|
|
89
|
+
var s = i.type, h = new $({
|
|
90
|
+
style: {
|
|
91
|
+
x: 0,
|
|
92
|
+
y: 0,
|
|
93
|
+
align: "center",
|
|
94
|
+
verticalAlign: "middle"
|
|
95
|
+
},
|
|
96
|
+
onclick: function() {
|
|
97
|
+
u.dispatchAction({
|
|
98
|
+
type: s === "all" ? "legendAllSelect" : "legendInverseSelect",
|
|
99
|
+
legendId: e.id
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
m.add(h);
|
|
104
|
+
var o = e.getModel("selectorLabel"), l = e.getModel(["emphasis", "selectorLabel"]);
|
|
105
|
+
et(h, {
|
|
106
|
+
normal: o,
|
|
107
|
+
emphasis: l
|
|
108
|
+
}, {
|
|
109
|
+
defaultText: i.title
|
|
110
|
+
}), I(h);
|
|
111
|
+
});
|
|
112
|
+
}, r.prototype._createItem = function(t, e, u, c, f, m, v, i, s, h, o) {
|
|
113
|
+
var l = t.visualDrawType, g = f.get("itemWidth"), n = f.get("itemHeight"), y = f.isSelected(e), p = c.get("symbolRotate"), x = c.get("symbolKeepAspect"), d = c.get("icon");
|
|
114
|
+
s = d || s || "roundRect";
|
|
115
|
+
var L = ct(s, c, v, i, l, y, o), S = new B(), _ = c.getModel("textStyle");
|
|
116
|
+
if (E(t.getLegendIcon) && (!d || d === "inherit"))
|
|
117
|
+
S.add(t.getLegendIcon({
|
|
118
|
+
itemWidth: g,
|
|
119
|
+
itemHeight: n,
|
|
120
|
+
icon: s,
|
|
121
|
+
iconRotate: p,
|
|
122
|
+
itemStyle: L.itemStyle,
|
|
123
|
+
lineStyle: L.lineStyle,
|
|
124
|
+
symbolKeepAspect: x
|
|
125
|
+
}));
|
|
126
|
+
else {
|
|
127
|
+
var k = d === "inherit" && t.getData().getVisual("symbol") ? p === "inherit" ? t.getData().getVisual("symbolRotate") : p : 0;
|
|
128
|
+
S.add(ut({
|
|
129
|
+
itemWidth: g,
|
|
130
|
+
itemHeight: n,
|
|
131
|
+
icon: s,
|
|
132
|
+
iconRotate: k,
|
|
133
|
+
itemStyle: L.itemStyle,
|
|
134
|
+
symbolKeepAspect: x
|
|
135
|
+
}));
|
|
136
|
+
}
|
|
137
|
+
var w = m === "left" ? g + 5 : -5, A = m, b = f.get("formatter"), D = e;
|
|
138
|
+
Y(b) && b ? D = b.replace("{name}", e ?? "") : E(b) && (D = b(e));
|
|
139
|
+
var C = y ? _.getTextColor() : c.get("inactiveColor");
|
|
140
|
+
S.add(new $({
|
|
141
|
+
style: it(_, {
|
|
142
|
+
text: D,
|
|
143
|
+
x: w,
|
|
144
|
+
y: n / 2,
|
|
145
|
+
fill: C,
|
|
146
|
+
align: A,
|
|
147
|
+
verticalAlign: "middle"
|
|
148
|
+
}, {
|
|
149
|
+
inheritColor: C
|
|
150
|
+
})
|
|
151
|
+
}));
|
|
152
|
+
var G = new lt({
|
|
153
|
+
shape: S.getBoundingRect(),
|
|
154
|
+
style: {
|
|
155
|
+
// Cannot use 'invisible' because SVG SSR will miss the node
|
|
156
|
+
fill: "transparent"
|
|
157
|
+
}
|
|
158
|
+
}), T = c.getModel("tooltip");
|
|
159
|
+
return T.get("show") && tt({
|
|
160
|
+
el: G,
|
|
161
|
+
componentModel: f,
|
|
162
|
+
itemName: e,
|
|
163
|
+
itemTooltipOption: T.option
|
|
164
|
+
}), S.add(G), S.eachChild(function(W) {
|
|
165
|
+
W.silent = !0;
|
|
166
|
+
}), G.silent = !h, this.getContentGroup().add(S), I(S), S.__legendDataIndex = u, S;
|
|
167
|
+
}, r.prototype.layoutInner = function(t, e, u, c, f, m) {
|
|
168
|
+
var v = this.getContentGroup(), i = this.getSelectorGroup();
|
|
169
|
+
z(t.get("orient"), v, t.get("itemGap"), u.width, u.height);
|
|
170
|
+
var s = v.getBoundingRect(), h = [-s.x, -s.y];
|
|
171
|
+
if (i.markRedraw(), v.markRedraw(), f) {
|
|
172
|
+
z(
|
|
173
|
+
// Buttons in selectorGroup always layout horizontally
|
|
174
|
+
"horizontal",
|
|
175
|
+
i,
|
|
176
|
+
t.get("selectorItemGap", !0)
|
|
177
|
+
);
|
|
178
|
+
var o = i.getBoundingRect(), l = [-o.x, -o.y], g = t.get("selectorButtonGap", !0), n = t.getOrient().index, y = n === 0 ? "width" : "height", p = n === 0 ? "height" : "width", x = n === 0 ? "y" : "x";
|
|
179
|
+
m === "end" ? l[n] += s[y] + g : h[n] += o[y] + g, l[1 - n] += s[p] / 2 - o[p] / 2, i.x = l[0], i.y = l[1], v.x = h[0], v.y = h[1];
|
|
180
|
+
var d = {
|
|
181
|
+
x: 0,
|
|
182
|
+
y: 0
|
|
183
|
+
};
|
|
184
|
+
return d[y] = s[y] + g + o[y], d[p] = Math.max(s[p], o[p]), d[x] = Math.min(0, o[x] + l[1 - n]), d;
|
|
185
|
+
} else
|
|
186
|
+
return v.x = h[0], v.y = h[1], this.group.getBoundingRect();
|
|
187
|
+
}, r.prototype.remove = function() {
|
|
188
|
+
this.getContentGroup().removeAll(), this._isFirstRender = !0;
|
|
189
|
+
}, r.type = "legend.plain", r;
|
|
190
|
+
})(nt)
|
|
191
|
+
);
|
|
192
|
+
function ct(a, r, t, e, u, c, f) {
|
|
193
|
+
function m(y, p) {
|
|
194
|
+
y.lineWidth === "auto" && (y.lineWidth = p.lineWidth > 0 ? 2 : 0), H(y, function(x, d) {
|
|
195
|
+
y[d] === "inherit" && (y[d] = p[d]);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
var v = r.getModel("itemStyle"), i = v.getItemStyle(), s = a.lastIndexOf("empty", 0) === 0 ? "fill" : "stroke", h = v.getShallow("decal");
|
|
199
|
+
i.decal = !h || h === "inherit" ? e.decal : ot(h, f), i.fill === "inherit" && (i.fill = e[u]), i.stroke === "inherit" && (i.stroke = e[s]), i.opacity === "inherit" && (i.opacity = (u === "fill" ? e : t).opacity), m(i, e);
|
|
200
|
+
var o = r.getModel("lineStyle"), l = o.getLineStyle();
|
|
201
|
+
if (m(l, t), i.fill === "auto" && (i.fill = e.fill), i.stroke === "auto" && (i.stroke = e.fill), l.stroke === "auto" && (l.stroke = e.fill), !c) {
|
|
202
|
+
var g = r.get("inactiveBorderWidth"), n = i[s];
|
|
203
|
+
i.lineWidth = g === "auto" ? e.lineWidth > 0 && n ? 2 : 0 : i.lineWidth, i.fill = r.get("inactiveColor"), i.stroke = r.get("inactiveBorderColor"), l.stroke = o.get("inactiveColor"), l.lineWidth = o.get("inactiveWidth");
|
|
204
|
+
}
|
|
205
|
+
return {
|
|
206
|
+
itemStyle: i,
|
|
207
|
+
lineStyle: l
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
function ut(a) {
|
|
211
|
+
var r = a.icon || "roundRect", t = at(r, 0, 0, a.itemWidth, a.itemHeight, a.itemStyle.fill, a.symbolKeepAspect);
|
|
212
|
+
return t.setStyle(a.itemStyle), t.rotation = (a.iconRotate || 0) * Math.PI / 180, t.setOrigin([a.itemWidth / 2, a.itemHeight / 2]), r.indexOf("empty") > -1 && (t.style.stroke = t.style.fill, t.style.fill = "#fff", t.style.lineWidth = 2), t;
|
|
213
|
+
}
|
|
214
|
+
function U(a, r, t, e) {
|
|
215
|
+
O(a, r, t, e), t.dispatchAction({
|
|
216
|
+
type: "legendToggleSelect",
|
|
217
|
+
name: a ?? r
|
|
218
|
+
}), F(a, r, t, e);
|
|
219
|
+
}
|
|
220
|
+
function Z(a) {
|
|
221
|
+
for (var r = a.getZr().storage.getDisplayList(), t, e = 0, u = r.length; e < u && !(t = r[e].states.emphasis); )
|
|
222
|
+
e++;
|
|
223
|
+
return t && t.hoverLayer;
|
|
224
|
+
}
|
|
225
|
+
function F(a, r, t, e) {
|
|
226
|
+
Z(t) || t.dispatchAction({
|
|
227
|
+
type: "highlight",
|
|
228
|
+
seriesName: a,
|
|
229
|
+
name: r,
|
|
230
|
+
excludeSeriesId: e
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
function O(a, r, t, e) {
|
|
234
|
+
Z(t) || t.dispatchAction({
|
|
235
|
+
type: "downplay",
|
|
236
|
+
seriesName: a,
|
|
237
|
+
name: r,
|
|
238
|
+
excludeSeriesId: e
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
export {
|
|
242
|
+
Rt as default
|
|
243
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import r from "./LegendModel.js";
|
|
3
|
+
import { getLayoutParams as c, mergeLayoutParam as g } from "../../util/layout.js";
|
|
4
|
+
import { inheritDefaultOption as m } from "../../util/component.js";
|
|
5
|
+
var y = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(o) {
|
|
8
|
+
p(e, o);
|
|
9
|
+
function e() {
|
|
10
|
+
var t = o !== null && o.apply(this, arguments) || this;
|
|
11
|
+
return t.type = e.type, t;
|
|
12
|
+
}
|
|
13
|
+
return e.prototype.setScrollDataIndex = function(t) {
|
|
14
|
+
this.option.scrollDataIndex = t;
|
|
15
|
+
}, e.prototype.init = function(t, a, n) {
|
|
16
|
+
var l = c(t);
|
|
17
|
+
o.prototype.init.call(this, t, a, n), i(this, t, l);
|
|
18
|
+
}, e.prototype.mergeOption = function(t, a) {
|
|
19
|
+
o.prototype.mergeOption.call(this, t, a), i(this, this.option, t);
|
|
20
|
+
}, e.type = "legend.scroll", e.defaultOption = m(r.defaultOption, {
|
|
21
|
+
scrollDataIndex: 0,
|
|
22
|
+
pageButtonItemGap: 5,
|
|
23
|
+
pageButtonGap: null,
|
|
24
|
+
pageButtonPosition: "end",
|
|
25
|
+
pageFormatter: "{current}/{total}",
|
|
26
|
+
pageIcons: {
|
|
27
|
+
horizontal: ["M0,0L12,-10L12,10z", "M0,0L-12,-10L-12,10z"],
|
|
28
|
+
vertical: ["M0,0L20,0L10,-20z", "M0,0L20,0L10,20z"]
|
|
29
|
+
},
|
|
30
|
+
pageIconColor: "#2f4554",
|
|
31
|
+
pageIconInactiveColor: "#aaa",
|
|
32
|
+
pageIconSize: 15,
|
|
33
|
+
pageTextStyle: {
|
|
34
|
+
color: "#333"
|
|
35
|
+
},
|
|
36
|
+
animationDurationUpdate: 800
|
|
37
|
+
}), e;
|
|
38
|
+
})(r)
|
|
39
|
+
);
|
|
40
|
+
function i(o, e, t) {
|
|
41
|
+
var a = o.getOrient(), n = [1, 1];
|
|
42
|
+
n[a.index] = 0, g(e, t, {
|
|
43
|
+
type: "box",
|
|
44
|
+
ignoreSize: !!n
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
y as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { __extends as A } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { isArray as N, bind as b, clone as O, retrieve2 as V, each as z, isString as k } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { createIcon as F } from "../../util/graphic.js";
|
|
4
|
+
import { box as D } from "../../util/layout.js";
|
|
5
|
+
import L from "./LegendView.js";
|
|
6
|
+
import S from "../../../../zrender/lib/graphic/Group.js";
|
|
7
|
+
import H from "../../../../zrender/lib/graphic/Text.js";
|
|
8
|
+
import J from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
9
|
+
import { updateProps as W } from "../../animation/basicTransition.js";
|
|
10
|
+
var T = S, R = ["width", "height"], B = ["x", "y"], E = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function(I) {
|
|
13
|
+
A(y, I);
|
|
14
|
+
function y() {
|
|
15
|
+
var t = I !== null && I.apply(this, arguments) || this;
|
|
16
|
+
return t.type = y.type, t.newlineDisabled = !0, t._currentIndex = 0, t;
|
|
17
|
+
}
|
|
18
|
+
return y.prototype.init = function() {
|
|
19
|
+
I.prototype.init.call(this), this.group.add(this._containerGroup = new T()), this._containerGroup.add(this.getContentGroup()), this.group.add(this._controllerGroup = new T());
|
|
20
|
+
}, y.prototype.resetInner = function() {
|
|
21
|
+
I.prototype.resetInner.call(this), this._controllerGroup.removeAll(), this._containerGroup.removeClipPath(), this._containerGroup.__rectSize = null;
|
|
22
|
+
}, y.prototype.renderInner = function(t, l, i, a, e, x, g) {
|
|
23
|
+
var p = this;
|
|
24
|
+
I.prototype.renderInner.call(this, t, l, i, a, e, x, g);
|
|
25
|
+
var o = this._controllerGroup, h = l.get("pageIconSize", !0), u = N(h) ? h : [h, h];
|
|
26
|
+
r("pagePrev", 0);
|
|
27
|
+
var c = l.getModel("pageTextStyle");
|
|
28
|
+
o.add(new H({
|
|
29
|
+
name: "pageText",
|
|
30
|
+
style: {
|
|
31
|
+
// Placeholder to calculate a proper layout.
|
|
32
|
+
text: "xx/xx",
|
|
33
|
+
fill: c.getTextColor(),
|
|
34
|
+
font: c.getFont(),
|
|
35
|
+
verticalAlign: "middle",
|
|
36
|
+
align: "center"
|
|
37
|
+
},
|
|
38
|
+
silent: !0
|
|
39
|
+
})), r("pageNext", 1);
|
|
40
|
+
function r(s, f) {
|
|
41
|
+
var v = s + "DataIndex", n = F(l.get("pageIcons", !0)[l.getOrient().name][f], {
|
|
42
|
+
// Buttons will be created in each render, so we do not need
|
|
43
|
+
// to worry about avoiding using legendModel kept in scope.
|
|
44
|
+
onclick: b(p._pageGo, p, v, l, a)
|
|
45
|
+
}, {
|
|
46
|
+
x: -u[0] / 2,
|
|
47
|
+
y: -u[1] / 2,
|
|
48
|
+
width: u[0],
|
|
49
|
+
height: u[1]
|
|
50
|
+
});
|
|
51
|
+
n.name = s, o.add(n);
|
|
52
|
+
}
|
|
53
|
+
}, y.prototype.layoutInner = function(t, l, i, a, e, x) {
|
|
54
|
+
var g = this.getSelectorGroup(), p = t.getOrient().index, o = R[p], h = B[p], u = R[1 - p], c = B[1 - p];
|
|
55
|
+
e && D(
|
|
56
|
+
// Buttons in selectorGroup always layout horizontally
|
|
57
|
+
"horizontal",
|
|
58
|
+
g,
|
|
59
|
+
t.get("selectorItemGap", !0)
|
|
60
|
+
);
|
|
61
|
+
var r = t.get("selectorButtonGap", !0), s = g.getBoundingRect(), f = [-s.x, -s.y], v = O(i);
|
|
62
|
+
e && (v[o] = i[o] - s[o] - r);
|
|
63
|
+
var n = this._layoutContentAndController(t, a, v, p, o, u, c, h);
|
|
64
|
+
if (e) {
|
|
65
|
+
if (x === "end")
|
|
66
|
+
f[p] += n[o] + r;
|
|
67
|
+
else {
|
|
68
|
+
var d = s[o] + r;
|
|
69
|
+
f[p] -= d, n[h] -= d;
|
|
70
|
+
}
|
|
71
|
+
n[o] += s[o] + r, f[1 - p] += n[c] + n[u] / 2 - s[u] / 2, n[u] = Math.max(n[u], s[u]), n[c] = Math.min(n[c], s[c] + f[1 - p]), g.x = f[0], g.y = f[1], g.markRedraw();
|
|
72
|
+
}
|
|
73
|
+
return n;
|
|
74
|
+
}, y.prototype._layoutContentAndController = function(t, l, i, a, e, x, g, p) {
|
|
75
|
+
var o = this.getContentGroup(), h = this._containerGroup, u = this._controllerGroup;
|
|
76
|
+
D(t.get("orient"), o, t.get("itemGap"), a ? i.width : null, a ? null : i.height), D(
|
|
77
|
+
// Buttons in controller are layout always horizontally.
|
|
78
|
+
"horizontal",
|
|
79
|
+
u,
|
|
80
|
+
t.get("pageButtonItemGap", !0)
|
|
81
|
+
);
|
|
82
|
+
var c = o.getBoundingRect(), r = u.getBoundingRect(), s = this._showController = c[e] > i[e], f = [-c.x, -c.y];
|
|
83
|
+
l || (f[a] = o[p]);
|
|
84
|
+
var v = [0, 0], n = [-r.x, -r.y], d = V(t.get("pageButtonGap", !0), t.get("itemGap", !0));
|
|
85
|
+
if (s) {
|
|
86
|
+
var P = t.get("pageButtonPosition", !0);
|
|
87
|
+
P === "end" ? n[a] += i[e] - r[e] : v[a] += r[e] + d;
|
|
88
|
+
}
|
|
89
|
+
n[1 - a] += c[x] / 2 - r[x] / 2, o.setPosition(f), h.setPosition(v), u.setPosition(n);
|
|
90
|
+
var m = {
|
|
91
|
+
x: 0,
|
|
92
|
+
y: 0
|
|
93
|
+
};
|
|
94
|
+
if (m[e] = s ? i[e] : c[e], m[x] = Math.max(c[x], r[x]), m[g] = Math.min(0, r[g] + n[1 - a]), h.__rectSize = i[e], s) {
|
|
95
|
+
var G = {
|
|
96
|
+
x: 0,
|
|
97
|
+
y: 0
|
|
98
|
+
};
|
|
99
|
+
G[e] = Math.max(i[e] - r[e] - d, 0), G[x] = m[x], h.setClipPath(new J({
|
|
100
|
+
shape: G
|
|
101
|
+
})), h.__rectSize = G[e];
|
|
102
|
+
} else
|
|
103
|
+
u.eachChild(function(C) {
|
|
104
|
+
C.attr({
|
|
105
|
+
invisible: !0,
|
|
106
|
+
silent: !0
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
var _ = this._getPageInfo(t);
|
|
110
|
+
return _.pageIndex != null && W(
|
|
111
|
+
o,
|
|
112
|
+
{
|
|
113
|
+
x: _.contentPosition[0],
|
|
114
|
+
y: _.contentPosition[1]
|
|
115
|
+
},
|
|
116
|
+
// When switch from "show controller" to "not show controller", view should be
|
|
117
|
+
// updated immediately without animation, otherwise causes weird effect.
|
|
118
|
+
s ? t : null
|
|
119
|
+
), this._updatePageInfoView(t, _), m;
|
|
120
|
+
}, y.prototype._pageGo = function(t, l, i) {
|
|
121
|
+
var a = this._getPageInfo(l)[t];
|
|
122
|
+
a != null && i.dispatchAction({
|
|
123
|
+
type: "legendScroll",
|
|
124
|
+
scrollDataIndex: a,
|
|
125
|
+
legendId: l.id
|
|
126
|
+
});
|
|
127
|
+
}, y.prototype._updatePageInfoView = function(t, l) {
|
|
128
|
+
var i = this._controllerGroup;
|
|
129
|
+
z(["pagePrev", "pageNext"], function(o) {
|
|
130
|
+
var h = o + "DataIndex", u = l[h] != null, c = i.childOfName(o);
|
|
131
|
+
c && (c.setStyle("fill", u ? t.get("pageIconColor", !0) : t.get("pageIconInactiveColor", !0)), c.cursor = u ? "pointer" : "default");
|
|
132
|
+
});
|
|
133
|
+
var a = i.childOfName("pageText"), e = t.get("pageFormatter"), x = l.pageIndex, g = x != null ? x + 1 : 0, p = l.pageCount;
|
|
134
|
+
a && e && a.setStyle("text", k(e) ? e.replace("{current}", g == null ? "" : g + "").replace("{total}", p == null ? "" : p + "") : e({
|
|
135
|
+
current: g,
|
|
136
|
+
total: p
|
|
137
|
+
}));
|
|
138
|
+
}, y.prototype._getPageInfo = function(t) {
|
|
139
|
+
var l = t.get("scrollDataIndex", !0), i = this.getContentGroup(), a = this._containerGroup.__rectSize, e = t.getOrient().index, x = R[e], g = B[e], p = this._findTargetItemIndex(l), o = i.children(), h = o[p], u = o.length, c = u ? 1 : 0, r = {
|
|
140
|
+
contentPosition: [i.x, i.y],
|
|
141
|
+
pageCount: c,
|
|
142
|
+
pageIndex: c - 1,
|
|
143
|
+
pagePrevDataIndex: null,
|
|
144
|
+
pageNextDataIndex: null
|
|
145
|
+
};
|
|
146
|
+
if (!h)
|
|
147
|
+
return r;
|
|
148
|
+
var s = P(h);
|
|
149
|
+
r.contentPosition[e] = -s.s;
|
|
150
|
+
for (var f = p + 1, v = s, n = s, d = null; f <= u; ++f)
|
|
151
|
+
d = P(o[f]), // Half of the last item is out of the window.
|
|
152
|
+
(!d && n.e > v.s + a || d && !m(d, v.s)) && (n.i > v.i ? v = n : v = d, v && (r.pageNextDataIndex == null && (r.pageNextDataIndex = v.i), ++r.pageCount)), n = d;
|
|
153
|
+
for (var f = p - 1, v = s, n = s, d = null; f >= -1; --f)
|
|
154
|
+
d = P(o[f]), // If the the end item does not intersect with the window started
|
|
155
|
+
// from the current item, a page can be settled.
|
|
156
|
+
(!d || !m(n, d.s)) && v.i < n.i && (n = v, r.pagePrevDataIndex == null && (r.pagePrevDataIndex = v.i), ++r.pageCount, ++r.pageIndex), v = d;
|
|
157
|
+
return r;
|
|
158
|
+
function P(G) {
|
|
159
|
+
if (G) {
|
|
160
|
+
var _ = G.getBoundingRect(), C = _[g] + G[g];
|
|
161
|
+
return {
|
|
162
|
+
s: C,
|
|
163
|
+
e: C + _[x],
|
|
164
|
+
i: G.__legendDataIndex
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
function m(G, _) {
|
|
169
|
+
return G.e >= _ && G.s <= _ + a;
|
|
170
|
+
}
|
|
171
|
+
}, y.prototype._findTargetItemIndex = function(t) {
|
|
172
|
+
if (!this._showController)
|
|
173
|
+
return 0;
|
|
174
|
+
var l, i = this.getContentGroup(), a;
|
|
175
|
+
return i.eachChild(function(e, x) {
|
|
176
|
+
var g = e.__legendDataIndex;
|
|
177
|
+
a == null && g != null && (a = x), g === t && (l = x);
|
|
178
|
+
}), l ?? a;
|
|
179
|
+
}, y.type = "legend.scroll", y;
|
|
180
|
+
})(L)
|
|
181
|
+
);
|
|
182
|
+
export {
|
|
183
|
+
E as default
|
|
184
|
+
};
|