web-core-tcm 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
import { __extends as ar } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as d, bind as ir, merge as H, clone as l, map as I, curry as c, defaults as ur } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import sr from "../../../../zrender/lib/core/Eventful.js";
|
|
4
|
+
import { transformDirection as fr, getTransform as or } from "../../util/graphic.js";
|
|
5
|
+
import { take as hr, release as vr } from "./interactionMutex.js";
|
|
6
|
+
import gr from "../../data/DataDiffer.js";
|
|
7
|
+
import P from "../../../../zrender/lib/graphic/Group.js";
|
|
8
|
+
import dr from "../../../../zrender/lib/graphic/shape/Polygon.js";
|
|
9
|
+
import pr from "../../../../zrender/lib/graphic/shape/Polyline.js";
|
|
10
|
+
import N from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
11
|
+
var _ = !0, y = Math.min, b = Math.max, _r = Math.pow, mr = 1e4, cr = 6, lr = 6, X = "globalPan", br = {
|
|
12
|
+
w: [0, 0],
|
|
13
|
+
e: [0, 1],
|
|
14
|
+
n: [1, 0],
|
|
15
|
+
s: [1, 1]
|
|
16
|
+
}, Cr = {
|
|
17
|
+
w: "ew",
|
|
18
|
+
e: "ew",
|
|
19
|
+
n: "ns",
|
|
20
|
+
s: "ns",
|
|
21
|
+
ne: "nesw",
|
|
22
|
+
sw: "nesw",
|
|
23
|
+
nw: "nwse",
|
|
24
|
+
se: "nwse"
|
|
25
|
+
}, Y = {
|
|
26
|
+
brushStyle: {
|
|
27
|
+
lineWidth: 2,
|
|
28
|
+
stroke: "rgba(210,219,238,0.3)",
|
|
29
|
+
fill: "#D2DBEE"
|
|
30
|
+
},
|
|
31
|
+
transformable: !0,
|
|
32
|
+
brushMode: "single",
|
|
33
|
+
removeOnClick: !1
|
|
34
|
+
}, yr = 0, Xr = (
|
|
35
|
+
/** @class */
|
|
36
|
+
(function(r) {
|
|
37
|
+
ar(e, r);
|
|
38
|
+
function e(t) {
|
|
39
|
+
var n = r.call(this) || this;
|
|
40
|
+
return n._track = [], n._covers = [], n._handlers = {}, n._zr = t, n.group = new P(), n._uid = "brushController_" + yr++, d(Dr, function(a, i) {
|
|
41
|
+
this._handlers[i] = ir(a, this);
|
|
42
|
+
}, n), n;
|
|
43
|
+
}
|
|
44
|
+
return e.prototype.enableBrush = function(t) {
|
|
45
|
+
return this._brushType && this._doDisableBrush(), t.brushType && this._doEnableBrush(t), this;
|
|
46
|
+
}, e.prototype._doEnableBrush = function(t) {
|
|
47
|
+
var n = this._zr;
|
|
48
|
+
this._enableGlobalPan || hr(n, X, this._uid), d(this._handlers, function(a, i) {
|
|
49
|
+
n.on(i, a);
|
|
50
|
+
}), this._brushType = t.brushType, this._brushOption = H(l(Y), t, !0);
|
|
51
|
+
}, e.prototype._doDisableBrush = function() {
|
|
52
|
+
var t = this._zr;
|
|
53
|
+
vr(t, X, this._uid), d(this._handlers, function(n, a) {
|
|
54
|
+
t.off(a, n);
|
|
55
|
+
}), this._brushType = this._brushOption = null;
|
|
56
|
+
}, e.prototype.setPanels = function(t) {
|
|
57
|
+
if (t && t.length) {
|
|
58
|
+
var n = this._panels = {};
|
|
59
|
+
d(t, function(a) {
|
|
60
|
+
n[a.panelId] = l(a);
|
|
61
|
+
});
|
|
62
|
+
} else
|
|
63
|
+
this._panels = null;
|
|
64
|
+
return this;
|
|
65
|
+
}, e.prototype.mount = function(t) {
|
|
66
|
+
t = t || {}, this._enableGlobalPan = t.enableGlobalPan;
|
|
67
|
+
var n = this.group;
|
|
68
|
+
return this._zr.add(n), n.attr({
|
|
69
|
+
x: t.x || 0,
|
|
70
|
+
y: t.y || 0,
|
|
71
|
+
rotation: t.rotation || 0,
|
|
72
|
+
scaleX: t.scaleX || 1,
|
|
73
|
+
scaleY: t.scaleY || 1
|
|
74
|
+
}), this._transform = n.getLocalTransform(), this;
|
|
75
|
+
}, e.prototype.updateCovers = function(t) {
|
|
76
|
+
t = I(t, function(o) {
|
|
77
|
+
return H(l(Y), o, !0);
|
|
78
|
+
});
|
|
79
|
+
var n = "\0-brush-index-", a = this._covers, i = this._covers = [], u = this, s = this._creatingCover;
|
|
80
|
+
return new gr(a, t, v, f).add(g).update(g).remove(w).execute(), this;
|
|
81
|
+
function f(o, h) {
|
|
82
|
+
return (o.id != null ? o.id : n + h) + "-" + o.brushType;
|
|
83
|
+
}
|
|
84
|
+
function v(o, h) {
|
|
85
|
+
return f(o.__brushOption, h);
|
|
86
|
+
}
|
|
87
|
+
function g(o, h) {
|
|
88
|
+
var C = t[o];
|
|
89
|
+
if (h != null && a[h] === s)
|
|
90
|
+
i[o] = a[h];
|
|
91
|
+
else {
|
|
92
|
+
var R = i[o] = h != null ? (a[h].__brushOption = C, a[h]) : V(u, F(u, C));
|
|
93
|
+
z(u, R);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function w(o) {
|
|
97
|
+
a[o] !== s && u.group.remove(a[o]);
|
|
98
|
+
}
|
|
99
|
+
}, e.prototype.unmount = function() {
|
|
100
|
+
return this.enableBrush(!1), E(this), this._zr.remove(this.group), this;
|
|
101
|
+
}, e.prototype.dispose = function() {
|
|
102
|
+
this.unmount(), this.off();
|
|
103
|
+
}, e;
|
|
104
|
+
})(sr)
|
|
105
|
+
);
|
|
106
|
+
function F(r, e) {
|
|
107
|
+
var t = T[e.brushType].createCover(r, e);
|
|
108
|
+
return t.__brushOption = e, J(t, e), r.group.add(t), t;
|
|
109
|
+
}
|
|
110
|
+
function V(r, e) {
|
|
111
|
+
var t = k(e);
|
|
112
|
+
return t.endCreating && (t.endCreating(r, e), J(e, e.__brushOption)), e;
|
|
113
|
+
}
|
|
114
|
+
function $(r, e) {
|
|
115
|
+
var t = e.__brushOption;
|
|
116
|
+
k(e).updateCoverShape(r, e, t.range, t);
|
|
117
|
+
}
|
|
118
|
+
function J(r, e) {
|
|
119
|
+
var t = e.z;
|
|
120
|
+
t == null && (t = mr), r.traverse(function(n) {
|
|
121
|
+
n.z = t, n.z2 = t;
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function z(r, e) {
|
|
125
|
+
k(e).updateCommon(r, e), $(r, e);
|
|
126
|
+
}
|
|
127
|
+
function k(r) {
|
|
128
|
+
return T[r.__brushOption.brushType];
|
|
129
|
+
}
|
|
130
|
+
function L(r, e, t) {
|
|
131
|
+
var n = r._panels;
|
|
132
|
+
if (!n)
|
|
133
|
+
return _;
|
|
134
|
+
var a, i = r._transform;
|
|
135
|
+
return d(n, function(u) {
|
|
136
|
+
u.isTargetByCursor(e, t, i) && (a = u);
|
|
137
|
+
}), a;
|
|
138
|
+
}
|
|
139
|
+
function Q(r, e) {
|
|
140
|
+
var t = r._panels;
|
|
141
|
+
if (!t)
|
|
142
|
+
return _;
|
|
143
|
+
var n = e.__brushOption.panelId;
|
|
144
|
+
return n != null ? t[n] : _;
|
|
145
|
+
}
|
|
146
|
+
function E(r) {
|
|
147
|
+
var e = r._covers, t = e.length;
|
|
148
|
+
return d(e, function(n) {
|
|
149
|
+
r.group.remove(n);
|
|
150
|
+
}, r), e.length = 0, !!t;
|
|
151
|
+
}
|
|
152
|
+
function m(r, e) {
|
|
153
|
+
var t = I(r._covers, function(n) {
|
|
154
|
+
var a = n.__brushOption, i = l(a.range);
|
|
155
|
+
return {
|
|
156
|
+
brushType: a.brushType,
|
|
157
|
+
panelId: a.panelId,
|
|
158
|
+
range: i
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
r.trigger("brush", {
|
|
162
|
+
areas: t,
|
|
163
|
+
isEnd: !!e.isEnd,
|
|
164
|
+
removeOnClick: !!e.removeOnClick
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
function wr(r) {
|
|
168
|
+
var e = r._track;
|
|
169
|
+
if (!e.length)
|
|
170
|
+
return !1;
|
|
171
|
+
var t = e[e.length - 1], n = e[0], a = t[0] - n[0], i = t[1] - n[1], u = _r(a * a + i * i, 0.5);
|
|
172
|
+
return u > cr;
|
|
173
|
+
}
|
|
174
|
+
function q(r) {
|
|
175
|
+
var e = r.length - 1;
|
|
176
|
+
return e < 0 && (e = 0), [r[0], r[e]];
|
|
177
|
+
}
|
|
178
|
+
function x(r, e, t, n) {
|
|
179
|
+
var a = new P();
|
|
180
|
+
return a.add(new N({
|
|
181
|
+
name: "main",
|
|
182
|
+
style: M(t),
|
|
183
|
+
silent: !0,
|
|
184
|
+
draggable: !0,
|
|
185
|
+
cursor: "move",
|
|
186
|
+
drift: c(W, r, e, a, ["n", "s", "w", "e"]),
|
|
187
|
+
ondragend: c(m, e, {
|
|
188
|
+
isEnd: !0
|
|
189
|
+
})
|
|
190
|
+
})), d(n, function(i) {
|
|
191
|
+
a.add(new N({
|
|
192
|
+
name: i.join(""),
|
|
193
|
+
style: {
|
|
194
|
+
opacity: 0
|
|
195
|
+
},
|
|
196
|
+
draggable: !0,
|
|
197
|
+
silent: !0,
|
|
198
|
+
invisible: !0,
|
|
199
|
+
drift: c(W, r, e, a, i),
|
|
200
|
+
ondragend: c(m, e, {
|
|
201
|
+
isEnd: !0
|
|
202
|
+
})
|
|
203
|
+
}));
|
|
204
|
+
}), a;
|
|
205
|
+
}
|
|
206
|
+
function rr(r, e, t, n) {
|
|
207
|
+
var a = n.brushStyle.lineWidth || 0, i = b(a, lr), u = t[0][0], s = t[1][0], f = u - a / 2, v = s - a / 2, g = t[0][1], w = t[1][1], o = g - i + a / 2, h = w - i + a / 2, C = g - u, R = w - s, G = C + a, U = R + a;
|
|
208
|
+
p(r, e, "main", u, s, C, R), n.transformable && (p(r, e, "w", f, v, i, U), p(r, e, "e", o, v, i, U), p(r, e, "n", f, v, G, i), p(r, e, "s", f, h, G, i), p(r, e, "nw", f, v, i, i), p(r, e, "ne", o, v, i, i), p(r, e, "sw", f, h, i, i), p(r, e, "se", o, h, i, i));
|
|
209
|
+
}
|
|
210
|
+
function O(r, e) {
|
|
211
|
+
var t = e.__brushOption, n = t.transformable, a = e.childAt(0);
|
|
212
|
+
a.useStyle(M(t)), a.attr({
|
|
213
|
+
silent: !n,
|
|
214
|
+
cursor: n ? "move" : "default"
|
|
215
|
+
}), d([["w"], ["e"], ["n"], ["s"], ["s", "e"], ["s", "w"], ["n", "e"], ["n", "w"]], function(i) {
|
|
216
|
+
var u = e.childOfName(i.join("")), s = i.length === 1 ? B(r, i[0]) : Tr(r, i);
|
|
217
|
+
u && u.attr({
|
|
218
|
+
silent: !n,
|
|
219
|
+
invisible: !n,
|
|
220
|
+
cursor: n ? Cr[s] + "-resize" : null
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
function p(r, e, t, n, a, i, u) {
|
|
225
|
+
var s = e.childOfName(t);
|
|
226
|
+
s && s.setShape(Or(A(r, e, [[n, a], [n + i, a + u]])));
|
|
227
|
+
}
|
|
228
|
+
function M(r) {
|
|
229
|
+
return ur({
|
|
230
|
+
strokeNoScale: !0
|
|
231
|
+
}, r.brushStyle);
|
|
232
|
+
}
|
|
233
|
+
function er(r, e, t, n) {
|
|
234
|
+
var a = [y(r, t), y(e, n)], i = [b(r, t), b(e, n)];
|
|
235
|
+
return [
|
|
236
|
+
[a[0], i[0]],
|
|
237
|
+
[a[1], i[1]]
|
|
238
|
+
// y range
|
|
239
|
+
];
|
|
240
|
+
}
|
|
241
|
+
function Rr(r) {
|
|
242
|
+
return or(r.group);
|
|
243
|
+
}
|
|
244
|
+
function B(r, e) {
|
|
245
|
+
var t = {
|
|
246
|
+
w: "left",
|
|
247
|
+
e: "right",
|
|
248
|
+
n: "top",
|
|
249
|
+
s: "bottom"
|
|
250
|
+
}, n = {
|
|
251
|
+
left: "w",
|
|
252
|
+
right: "e",
|
|
253
|
+
top: "n",
|
|
254
|
+
bottom: "s"
|
|
255
|
+
}, a = fr(t[e], Rr(r));
|
|
256
|
+
return n[a];
|
|
257
|
+
}
|
|
258
|
+
function Tr(r, e) {
|
|
259
|
+
var t = [B(r, e[0]), B(r, e[1])];
|
|
260
|
+
return (t[0] === "e" || t[0] === "w") && t.reverse(), t.join("");
|
|
261
|
+
}
|
|
262
|
+
function W(r, e, t, n, a, i) {
|
|
263
|
+
var u = t.__brushOption, s = r.toRectRange(u.range), f = tr(e, a, i);
|
|
264
|
+
d(n, function(v) {
|
|
265
|
+
var g = br[v];
|
|
266
|
+
s[g[0]][g[1]] += f[g[0]];
|
|
267
|
+
}), u.range = r.fromRectRange(er(s[0][0], s[1][0], s[0][1], s[1][1])), z(e, t), m(e, {
|
|
268
|
+
isEnd: !1
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function Er(r, e, t, n) {
|
|
272
|
+
var a = e.__brushOption.range, i = tr(r, t, n);
|
|
273
|
+
d(a, function(u) {
|
|
274
|
+
u[0] += i[0], u[1] += i[1];
|
|
275
|
+
}), z(r, e), m(r, {
|
|
276
|
+
isEnd: !1
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
function tr(r, e, t) {
|
|
280
|
+
var n = r.group, a = n.transformCoordToLocal(e, t), i = n.transformCoordToLocal(0, 0);
|
|
281
|
+
return [a[0] - i[0], a[1] - i[1]];
|
|
282
|
+
}
|
|
283
|
+
function A(r, e, t) {
|
|
284
|
+
var n = Q(r, e);
|
|
285
|
+
return n && n !== _ ? n.clipPath(t, r._transform) : l(t);
|
|
286
|
+
}
|
|
287
|
+
function Or(r) {
|
|
288
|
+
var e = y(r[0][0], r[1][0]), t = y(r[0][1], r[1][1]), n = b(r[0][0], r[1][0]), a = b(r[0][1], r[1][1]);
|
|
289
|
+
return {
|
|
290
|
+
x: e,
|
|
291
|
+
y: t,
|
|
292
|
+
width: n - e,
|
|
293
|
+
height: a - t
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
function Br(r, e, t) {
|
|
297
|
+
if (
|
|
298
|
+
// Check active
|
|
299
|
+
!(!r._brushType || Sr(r, e.offsetX, e.offsetY))
|
|
300
|
+
) {
|
|
301
|
+
var n = r._zr, a = r._covers, i = L(r, e, t);
|
|
302
|
+
if (!r._dragging)
|
|
303
|
+
for (var u = 0; u < a.length; u++) {
|
|
304
|
+
var s = a[u].__brushOption;
|
|
305
|
+
if (i && (i === _ || s.panelId === i.panelId) && T[s.brushType].contain(a[u], t[0], t[1]))
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
i && n.setCursorStyle("crosshair");
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
function D(r) {
|
|
312
|
+
var e = r.event;
|
|
313
|
+
e.preventDefault && e.preventDefault();
|
|
314
|
+
}
|
|
315
|
+
function S(r, e, t) {
|
|
316
|
+
return r.childOfName("main").contain(e, t);
|
|
317
|
+
}
|
|
318
|
+
function nr(r, e, t, n) {
|
|
319
|
+
var a = r._creatingCover, i = r._creatingPanel, u = r._brushOption, s;
|
|
320
|
+
if (r._track.push(t.slice()), wr(r) || a) {
|
|
321
|
+
if (i && !a) {
|
|
322
|
+
u.brushMode === "single" && E(r);
|
|
323
|
+
var f = l(u);
|
|
324
|
+
f.brushType = Z(f.brushType, i), f.panelId = i === _ ? null : i.panelId, a = r._creatingCover = F(r, f), r._covers.push(a);
|
|
325
|
+
}
|
|
326
|
+
if (a) {
|
|
327
|
+
var v = T[Z(r._brushType, i)], g = a.__brushOption;
|
|
328
|
+
g.range = v.getCreatingRange(A(r, a, r._track)), n && (V(r, a), v.updateCommon(r, a)), $(r, a), s = {
|
|
329
|
+
isEnd: n
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
} else n && u.brushMode === "single" && u.removeOnClick && L(r, e, t) && E(r) && (s = {
|
|
333
|
+
isEnd: n,
|
|
334
|
+
removeOnClick: !0
|
|
335
|
+
});
|
|
336
|
+
return s;
|
|
337
|
+
}
|
|
338
|
+
function Z(r, e) {
|
|
339
|
+
return r === "auto" ? e.defaultBrushType : r;
|
|
340
|
+
}
|
|
341
|
+
var Dr = {
|
|
342
|
+
mousedown: function(r) {
|
|
343
|
+
if (this._dragging)
|
|
344
|
+
j(this, r);
|
|
345
|
+
else if (!r.target || !r.target.draggable) {
|
|
346
|
+
D(r);
|
|
347
|
+
var e = this.group.transformCoordToLocal(r.offsetX, r.offsetY);
|
|
348
|
+
this._creatingCover = null;
|
|
349
|
+
var t = this._creatingPanel = L(this, r, e);
|
|
350
|
+
t && (this._dragging = !0, this._track = [e.slice()]);
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
mousemove: function(r) {
|
|
354
|
+
var e = r.offsetX, t = r.offsetY, n = this.group.transformCoordToLocal(e, t);
|
|
355
|
+
if (Br(this, r, n), this._dragging) {
|
|
356
|
+
D(r);
|
|
357
|
+
var a = nr(this, r, n, !1);
|
|
358
|
+
a && m(this, a);
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
mouseup: function(r) {
|
|
362
|
+
j(this, r);
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
function j(r, e) {
|
|
366
|
+
if (r._dragging) {
|
|
367
|
+
D(e);
|
|
368
|
+
var t = e.offsetX, n = e.offsetY, a = r.group.transformCoordToLocal(t, n), i = nr(r, e, a, !0);
|
|
369
|
+
r._dragging = !1, r._track = [], r._creatingCover = null, i && m(r, i);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
function Sr(r, e, t) {
|
|
373
|
+
var n = r._zr;
|
|
374
|
+
return e < 0 || e > n.getWidth() || t < 0 || t > n.getHeight();
|
|
375
|
+
}
|
|
376
|
+
var T = {
|
|
377
|
+
lineX: K(0),
|
|
378
|
+
lineY: K(1),
|
|
379
|
+
rect: {
|
|
380
|
+
createCover: function(r, e) {
|
|
381
|
+
function t(n) {
|
|
382
|
+
return n;
|
|
383
|
+
}
|
|
384
|
+
return x({
|
|
385
|
+
toRectRange: t,
|
|
386
|
+
fromRectRange: t
|
|
387
|
+
}, r, e, [["w"], ["e"], ["n"], ["s"], ["s", "e"], ["s", "w"], ["n", "e"], ["n", "w"]]);
|
|
388
|
+
},
|
|
389
|
+
getCreatingRange: function(r) {
|
|
390
|
+
var e = q(r);
|
|
391
|
+
return er(e[1][0], e[1][1], e[0][0], e[0][1]);
|
|
392
|
+
},
|
|
393
|
+
updateCoverShape: function(r, e, t, n) {
|
|
394
|
+
rr(r, e, t, n);
|
|
395
|
+
},
|
|
396
|
+
updateCommon: O,
|
|
397
|
+
contain: S
|
|
398
|
+
},
|
|
399
|
+
polygon: {
|
|
400
|
+
createCover: function(r, e) {
|
|
401
|
+
var t = new P();
|
|
402
|
+
return t.add(new pr({
|
|
403
|
+
name: "main",
|
|
404
|
+
style: M(e),
|
|
405
|
+
silent: !0
|
|
406
|
+
})), t;
|
|
407
|
+
},
|
|
408
|
+
getCreatingRange: function(r) {
|
|
409
|
+
return r;
|
|
410
|
+
},
|
|
411
|
+
endCreating: function(r, e) {
|
|
412
|
+
e.remove(e.childAt(0)), e.add(new dr({
|
|
413
|
+
name: "main",
|
|
414
|
+
draggable: !0,
|
|
415
|
+
drift: c(Er, r, e),
|
|
416
|
+
ondragend: c(m, r, {
|
|
417
|
+
isEnd: !0
|
|
418
|
+
})
|
|
419
|
+
}));
|
|
420
|
+
},
|
|
421
|
+
updateCoverShape: function(r, e, t, n) {
|
|
422
|
+
e.childAt(0).setShape({
|
|
423
|
+
points: A(r, e, t)
|
|
424
|
+
});
|
|
425
|
+
},
|
|
426
|
+
updateCommon: O,
|
|
427
|
+
contain: S
|
|
428
|
+
}
|
|
429
|
+
};
|
|
430
|
+
function K(r) {
|
|
431
|
+
return {
|
|
432
|
+
createCover: function(e, t) {
|
|
433
|
+
return x({
|
|
434
|
+
toRectRange: function(n) {
|
|
435
|
+
var a = [n, [0, 100]];
|
|
436
|
+
return r && a.reverse(), a;
|
|
437
|
+
},
|
|
438
|
+
fromRectRange: function(n) {
|
|
439
|
+
return n[r];
|
|
440
|
+
}
|
|
441
|
+
}, e, t, [[["w"], ["e"]], [["n"], ["s"]]][r]);
|
|
442
|
+
},
|
|
443
|
+
getCreatingRange: function(e) {
|
|
444
|
+
var t = q(e), n = y(t[0][r], t[1][r]), a = b(t[0][r], t[1][r]);
|
|
445
|
+
return [n, a];
|
|
446
|
+
},
|
|
447
|
+
updateCoverShape: function(e, t, n, a) {
|
|
448
|
+
var i, u = Q(e, t);
|
|
449
|
+
if (u !== _ && u.getLinearBrushOtherExtent)
|
|
450
|
+
i = u.getLinearBrushOtherExtent(r);
|
|
451
|
+
else {
|
|
452
|
+
var s = e._zr;
|
|
453
|
+
i = [0, [s.getWidth(), s.getHeight()][1 - r]];
|
|
454
|
+
}
|
|
455
|
+
var f = [n, i];
|
|
456
|
+
r && f.reverse(), rr(e, t, f, a);
|
|
457
|
+
},
|
|
458
|
+
updateCommon: O,
|
|
459
|
+
contain: S
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
export {
|
|
463
|
+
Xr as default
|
|
464
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { each as f, indexOf as d, createHashMap as N, curry as v, map as l } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { getTransform as P } from "../../util/graphic.js";
|
|
3
|
+
import { makeLinearBrushOtherExtent as _, makeRectIsTargetByCursor as B, makeRectPanelClipPath as L } from "./brushHelper.js";
|
|
4
|
+
import { parseFinder as D } from "../../util/model.js";
|
|
5
|
+
var R = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"], X = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function() {
|
|
8
|
+
function i(e, n, t) {
|
|
9
|
+
var r = this;
|
|
10
|
+
this._targetInfoList = [];
|
|
11
|
+
var s = x(n, e);
|
|
12
|
+
f(b, function(o, a) {
|
|
13
|
+
(!t || !t.include || d(t.include, a) >= 0) && o(s, r._targetInfoList);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return i.prototype.setOutputRanges = function(e, n) {
|
|
17
|
+
return this.matchOutputRanges(e, n, function(t, r, s) {
|
|
18
|
+
if ((t.coordRanges || (t.coordRanges = [])).push(r), !t.coordRange) {
|
|
19
|
+
t.coordRange = r;
|
|
20
|
+
var o = g[t.brushType](0, s, r);
|
|
21
|
+
t.__rangeOffset = {
|
|
22
|
+
offset: I[t.brushType](o.values, t.range, [1, 1]),
|
|
23
|
+
xyMinMax: o.xyMinMax
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}), e;
|
|
27
|
+
}, i.prototype.matchOutputRanges = function(e, n, t) {
|
|
28
|
+
f(e, function(r) {
|
|
29
|
+
var s = this.findTargetInfo(r, n);
|
|
30
|
+
s && s !== !0 && f(s.coordSyses, function(o) {
|
|
31
|
+
var a = g[r.brushType](1, o, r.range, !0);
|
|
32
|
+
t(r, a.values, o, n);
|
|
33
|
+
});
|
|
34
|
+
}, this);
|
|
35
|
+
}, i.prototype.setInputRanges = function(e, n) {
|
|
36
|
+
f(e, function(t) {
|
|
37
|
+
var r = this.findTargetInfo(t, n);
|
|
38
|
+
if (t.range = t.range || [], r && r !== !0) {
|
|
39
|
+
t.panelId = r.panelId;
|
|
40
|
+
var s = g[t.brushType](0, r.coordSys, t.coordRange), o = t.__rangeOffset;
|
|
41
|
+
t.range = o ? I[t.brushType](s.values, o.offset, E(s.xyMinMax, o.xyMinMax)) : s.values;
|
|
42
|
+
}
|
|
43
|
+
}, this);
|
|
44
|
+
}, i.prototype.makePanelOpts = function(e, n) {
|
|
45
|
+
return l(this._targetInfoList, function(t) {
|
|
46
|
+
var r = t.getPanelRect();
|
|
47
|
+
return {
|
|
48
|
+
panelId: t.panelId,
|
|
49
|
+
defaultBrushType: n ? n(t) : null,
|
|
50
|
+
clipPath: L(r),
|
|
51
|
+
isTargetByCursor: B(r, e, t.coordSysModel),
|
|
52
|
+
getLinearBrushOtherExtent: _(r)
|
|
53
|
+
};
|
|
54
|
+
});
|
|
55
|
+
}, i.prototype.controlSeries = function(e, n, t) {
|
|
56
|
+
var r = this.findTargetInfo(e, t);
|
|
57
|
+
return r === !0 || r && d(r.coordSyses, n.coordinateSystem) >= 0;
|
|
58
|
+
}, i.prototype.findTargetInfo = function(e, n) {
|
|
59
|
+
for (var t = this._targetInfoList, r = x(n, e), s = 0; s < t.length; s++) {
|
|
60
|
+
var o = t[s], a = e.panelId;
|
|
61
|
+
if (a) {
|
|
62
|
+
if (o.panelId === a)
|
|
63
|
+
return o;
|
|
64
|
+
} else
|
|
65
|
+
for (var u = 0; u < M.length; u++)
|
|
66
|
+
if (M[u](r, o))
|
|
67
|
+
return o;
|
|
68
|
+
}
|
|
69
|
+
return !0;
|
|
70
|
+
}, i;
|
|
71
|
+
})()
|
|
72
|
+
);
|
|
73
|
+
function h(i) {
|
|
74
|
+
return i[0] > i[1] && i.reverse(), i;
|
|
75
|
+
}
|
|
76
|
+
function x(i, e) {
|
|
77
|
+
return D(i, e, {
|
|
78
|
+
includeMainTypes: R
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
var b = {
|
|
82
|
+
grid: function(i, e) {
|
|
83
|
+
var n = i.xAxisModels, t = i.yAxisModels, r = i.gridModels, s = N(), o = {}, a = {};
|
|
84
|
+
!n && !t && !r || (f(n, function(u) {
|
|
85
|
+
var c = u.axis.grid.model;
|
|
86
|
+
s.set(c.id, c), o[c.id] = !0;
|
|
87
|
+
}), f(t, function(u) {
|
|
88
|
+
var c = u.axis.grid.model;
|
|
89
|
+
s.set(c.id, c), a[c.id] = !0;
|
|
90
|
+
}), f(r, function(u) {
|
|
91
|
+
s.set(u.id, u), o[u.id] = !0, a[u.id] = !0;
|
|
92
|
+
}), s.each(function(u) {
|
|
93
|
+
var c = u.coordinateSystem, p = [];
|
|
94
|
+
f(c.getCartesians(), function(y, k) {
|
|
95
|
+
(d(n, y.getAxis("x").model) >= 0 || d(t, y.getAxis("y").model) >= 0) && p.push(y);
|
|
96
|
+
}), e.push({
|
|
97
|
+
panelId: "grid--" + u.id,
|
|
98
|
+
gridModel: u,
|
|
99
|
+
coordSysModel: u,
|
|
100
|
+
// Use the first one as the representitive coordSys.
|
|
101
|
+
coordSys: p[0],
|
|
102
|
+
coordSyses: p,
|
|
103
|
+
getPanelRect: m.grid,
|
|
104
|
+
xAxisDeclared: o[u.id],
|
|
105
|
+
yAxisDeclared: a[u.id]
|
|
106
|
+
});
|
|
107
|
+
}));
|
|
108
|
+
},
|
|
109
|
+
geo: function(i, e) {
|
|
110
|
+
f(i.geoModels, function(n) {
|
|
111
|
+
var t = n.coordinateSystem;
|
|
112
|
+
e.push({
|
|
113
|
+
panelId: "geo--" + n.id,
|
|
114
|
+
geoModel: n,
|
|
115
|
+
coordSysModel: n,
|
|
116
|
+
coordSys: t,
|
|
117
|
+
coordSyses: [t],
|
|
118
|
+
getPanelRect: m.geo
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}, M = [
|
|
123
|
+
// grid
|
|
124
|
+
function(i, e) {
|
|
125
|
+
var n = i.xAxisModel, t = i.yAxisModel, r = i.gridModel;
|
|
126
|
+
return !r && n && (r = n.axis.grid.model), !r && t && (r = t.axis.grid.model), r && r === e.gridModel;
|
|
127
|
+
},
|
|
128
|
+
// geo
|
|
129
|
+
function(i, e) {
|
|
130
|
+
var n = i.geoModel;
|
|
131
|
+
return n && n === e.geoModel;
|
|
132
|
+
}
|
|
133
|
+
], m = {
|
|
134
|
+
grid: function() {
|
|
135
|
+
return this.coordSys.master.getRect().clone();
|
|
136
|
+
},
|
|
137
|
+
geo: function() {
|
|
138
|
+
var i = this.coordSys, e = i.getBoundingRect().clone();
|
|
139
|
+
return e.applyTransform(P(i)), e;
|
|
140
|
+
}
|
|
141
|
+
}, g = {
|
|
142
|
+
lineX: v(T, 0),
|
|
143
|
+
lineY: v(T, 1),
|
|
144
|
+
rect: function(i, e, n, t) {
|
|
145
|
+
var r = i ? e.pointToData([n[0][0], n[1][0]], t) : e.dataToPoint([n[0][0], n[1][0]], t), s = i ? e.pointToData([n[0][1], n[1][1]], t) : e.dataToPoint([n[0][1], n[1][1]], t), o = [h([r[0], s[0]]), h([r[1], s[1]])];
|
|
146
|
+
return {
|
|
147
|
+
values: o,
|
|
148
|
+
xyMinMax: o
|
|
149
|
+
};
|
|
150
|
+
},
|
|
151
|
+
polygon: function(i, e, n, t) {
|
|
152
|
+
var r = [[1 / 0, -1 / 0], [1 / 0, -1 / 0]], s = l(n, function(o) {
|
|
153
|
+
var a = i ? e.pointToData(o, t) : e.dataToPoint(o, t);
|
|
154
|
+
return r[0][0] = Math.min(r[0][0], a[0]), r[1][0] = Math.min(r[1][0], a[1]), r[0][1] = Math.max(r[0][1], a[0]), r[1][1] = Math.max(r[1][1], a[1]), a;
|
|
155
|
+
});
|
|
156
|
+
return {
|
|
157
|
+
values: s,
|
|
158
|
+
xyMinMax: r
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
function T(i, e, n, t) {
|
|
163
|
+
var r = n.getAxis(["x", "y"][i]), s = h(l([0, 1], function(a) {
|
|
164
|
+
return e ? r.coordToData(r.toLocalCoord(t[a]), !0) : r.toGlobalCoord(r.dataToCoord(t[a]));
|
|
165
|
+
})), o = [];
|
|
166
|
+
return o[i] = s, o[1 - i] = [NaN, NaN], {
|
|
167
|
+
values: s,
|
|
168
|
+
xyMinMax: o
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
var I = {
|
|
172
|
+
lineX: v(A, 0),
|
|
173
|
+
lineY: v(A, 1),
|
|
174
|
+
rect: function(i, e, n) {
|
|
175
|
+
return [[i[0][0] - n[0] * e[0][0], i[0][1] - n[0] * e[0][1]], [i[1][0] - n[1] * e[1][0], i[1][1] - n[1] * e[1][1]]];
|
|
176
|
+
},
|
|
177
|
+
polygon: function(i, e, n) {
|
|
178
|
+
return l(i, function(t, r) {
|
|
179
|
+
return [t[0] - n[0] * e[r][0], t[1] - n[1] * e[r][1]];
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
function A(i, e, n, t) {
|
|
184
|
+
return [e[0] - t[i] * n[0], e[1] - t[i] * n[1]];
|
|
185
|
+
}
|
|
186
|
+
function E(i, e) {
|
|
187
|
+
var n = S(i), t = S(e), r = [n[0] / t[0], n[1] / t[1]];
|
|
188
|
+
return isNaN(r[0]) && (r[0] = 1), isNaN(r[1]) && (r[1] = 1), r;
|
|
189
|
+
}
|
|
190
|
+
function S(i) {
|
|
191
|
+
return i ? [i[0][1] - i[0][0], i[1][1] - i[1][0]] : [NaN, NaN];
|
|
192
|
+
}
|
|
193
|
+
export {
|
|
194
|
+
X as default
|
|
195
|
+
};
|