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,294 @@
|
|
|
1
|
+
import { defaults as B, retrieve as D, map as et, extend as at, isString as W, each as E, isObject as rt, retrieve2 as C, isFunction as nt, isNumber as it } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { setTooltipConfig as j, subPixelOptimizeLine as z } from "../../util/graphic.js";
|
|
3
|
+
import { getECData as Z } from "../../util/innerStore.js";
|
|
4
|
+
import { createTextStyle as q } from "../../label/labelStyle.js";
|
|
5
|
+
import lt from "../../model/Model.js";
|
|
6
|
+
import { remRadian as J, isRadianAroundZero as R } from "../../util/number.js";
|
|
7
|
+
import { normalizeSymbolOffset as ot, createSymbol as st } from "../../util/symbol.js";
|
|
8
|
+
import { identity as vt, rotate as gt, mul as I } from "../../../../zrender/lib/core/matrix.js";
|
|
9
|
+
import { applyTransform as O } from "../../../../zrender/lib/core/vector.js";
|
|
10
|
+
import { shouldShowAllLabels as ft } from "../../coord/axisHelper.js";
|
|
11
|
+
import { prepareLayoutList as ut, hideOverlap as ct } from "../../label/labelLayoutHelper.js";
|
|
12
|
+
import P from "../../../../zrender/lib/graphic/Group.js";
|
|
13
|
+
import K from "../../../../zrender/lib/graphic/Text.js";
|
|
14
|
+
import Q from "../../../../zrender/lib/graphic/shape/Line.js";
|
|
15
|
+
var A = Math.PI, w = (
|
|
16
|
+
/** @class */
|
|
17
|
+
(function() {
|
|
18
|
+
function a(t, e) {
|
|
19
|
+
this.group = new P(), this.opt = e, this.axisModel = t, B(e, {
|
|
20
|
+
labelOffset: 0,
|
|
21
|
+
nameDirection: 1,
|
|
22
|
+
tickDirection: 1,
|
|
23
|
+
labelDirection: 1,
|
|
24
|
+
silent: !0,
|
|
25
|
+
handleAutoShown: function() {
|
|
26
|
+
return !0;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
var i = new P({
|
|
30
|
+
x: e.position[0],
|
|
31
|
+
y: e.position[1],
|
|
32
|
+
rotation: e.rotation
|
|
33
|
+
});
|
|
34
|
+
i.updateTransform(), this._transformGroup = i;
|
|
35
|
+
}
|
|
36
|
+
return a.prototype.hasBuilder = function(t) {
|
|
37
|
+
return !!_[t];
|
|
38
|
+
}, a.prototype.add = function(t) {
|
|
39
|
+
_[t](this.opt, this.axisModel, this.group, this._transformGroup);
|
|
40
|
+
}, a.prototype.getGroup = function() {
|
|
41
|
+
return this.group;
|
|
42
|
+
}, a.innerTextLayout = function(t, e, i) {
|
|
43
|
+
var r = J(e - t), l, n;
|
|
44
|
+
return R(r) ? (n = i > 0 ? "top" : "bottom", l = "center") : R(r - A) ? (n = i > 0 ? "bottom" : "top", l = "center") : (n = "middle", r > 0 && r < A ? l = i > 0 ? "right" : "left" : l = i > 0 ? "left" : "right"), {
|
|
45
|
+
rotation: r,
|
|
46
|
+
textAlign: l,
|
|
47
|
+
textVerticalAlign: n
|
|
48
|
+
};
|
|
49
|
+
}, a.makeAxisEventDataBase = function(t) {
|
|
50
|
+
var e = {
|
|
51
|
+
componentType: t.mainType,
|
|
52
|
+
componentIndex: t.componentIndex
|
|
53
|
+
};
|
|
54
|
+
return e[t.mainType + "Index"] = t.componentIndex, e;
|
|
55
|
+
}, a.isLabelSilent = function(t) {
|
|
56
|
+
var e = t.get("tooltip");
|
|
57
|
+
return t.get("silent") || !(t.get("triggerEvent") || e && e.show);
|
|
58
|
+
}, a;
|
|
59
|
+
})()
|
|
60
|
+
), _ = {
|
|
61
|
+
axisLine: function(a, t, e, i) {
|
|
62
|
+
var r = t.get(["axisLine", "show"]);
|
|
63
|
+
if (r === "auto" && a.handleAutoShown && (r = a.handleAutoShown("axisLine")), !!r) {
|
|
64
|
+
var l = t.axis.getExtent(), n = i.transform, o = [l[0], 0], s = [l[1], 0], f = o[0] > s[0];
|
|
65
|
+
n && (O(o, o, n), O(s, s, n));
|
|
66
|
+
var v = at({
|
|
67
|
+
lineCap: "round"
|
|
68
|
+
}, t.getModel(["axisLine", "lineStyle"]).getLineStyle()), u = new Q({
|
|
69
|
+
shape: {
|
|
70
|
+
x1: o[0],
|
|
71
|
+
y1: o[1],
|
|
72
|
+
x2: s[0],
|
|
73
|
+
y2: s[1]
|
|
74
|
+
},
|
|
75
|
+
style: v,
|
|
76
|
+
strokeContainThreshold: a.strokeContainThreshold || 5,
|
|
77
|
+
silent: !0,
|
|
78
|
+
z2: 1
|
|
79
|
+
});
|
|
80
|
+
z(u.shape, u.style.lineWidth), u.anid = "line", e.add(u);
|
|
81
|
+
var g = t.get(["axisLine", "symbol"]);
|
|
82
|
+
if (g != null) {
|
|
83
|
+
var c = t.get(["axisLine", "symbolSize"]);
|
|
84
|
+
W(g) && (g = [g, g]), (W(c) || it(c)) && (c = [c, c]);
|
|
85
|
+
var d = ot(t.get(["axisLine", "symbolOffset"]) || 0, c), y = c[0], L = c[1];
|
|
86
|
+
E([{
|
|
87
|
+
rotate: a.rotation + Math.PI / 2,
|
|
88
|
+
offset: d[0],
|
|
89
|
+
r: 0
|
|
90
|
+
}, {
|
|
91
|
+
rotate: a.rotation - Math.PI / 2,
|
|
92
|
+
offset: d[1],
|
|
93
|
+
r: Math.sqrt((o[0] - s[0]) * (o[0] - s[0]) + (o[1] - s[1]) * (o[1] - s[1]))
|
|
94
|
+
}], function(p, T) {
|
|
95
|
+
if (g[T] !== "none" && g[T] != null) {
|
|
96
|
+
var h = st(g[T], -y / 2, -L / 2, y, L, v.stroke, !0), m = p.r + p.offset, S = f ? s : o;
|
|
97
|
+
h.attr({
|
|
98
|
+
rotation: p.rotate,
|
|
99
|
+
x: S[0] + m * Math.cos(a.rotation),
|
|
100
|
+
y: S[1] - m * Math.sin(a.rotation),
|
|
101
|
+
silent: !0,
|
|
102
|
+
z2: 11
|
|
103
|
+
}), e.add(h);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
axisTickLabel: function(a, t, e, i) {
|
|
110
|
+
var r = Lt(e, i, t, a), l = dt(e, i, t, a);
|
|
111
|
+
if (ht(t, l, r), pt(e, i, t, a.tickDirection), t.get(["axisLabel", "hideOverlap"])) {
|
|
112
|
+
var n = ut(et(l, function(o) {
|
|
113
|
+
return {
|
|
114
|
+
label: o,
|
|
115
|
+
priority: o.z2,
|
|
116
|
+
defaultAttr: {
|
|
117
|
+
ignore: o.ignore
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}));
|
|
121
|
+
ct(n);
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
axisName: function(a, t, e, i) {
|
|
125
|
+
var r = D(a.axisName, t.get("name"));
|
|
126
|
+
if (r) {
|
|
127
|
+
var l = t.get("nameLocation"), n = a.nameDirection, o = t.getModel("nameTextStyle"), s = t.get("nameGap") || 0, f = t.axis.getExtent(), v = f[0] > f[1] ? -1 : 1, u = [
|
|
128
|
+
l === "start" ? f[0] - v * s : l === "end" ? f[1] + v * s : (f[0] + f[1]) / 2,
|
|
129
|
+
// Reuse labelOffset.
|
|
130
|
+
G(l) ? a.labelOffset + n * s : 0
|
|
131
|
+
], g, c = t.get("nameRotate");
|
|
132
|
+
c != null && (c = c * A / 180);
|
|
133
|
+
var d;
|
|
134
|
+
G(l) ? g = w.innerTextLayout(
|
|
135
|
+
a.rotation,
|
|
136
|
+
c ?? a.rotation,
|
|
137
|
+
// Adapt to axis.
|
|
138
|
+
n
|
|
139
|
+
) : (g = mt(a.rotation, l, c || 0, f), d = a.axisNameAvailableWidth, d != null && (d = Math.abs(d / Math.sin(g.rotation)), !isFinite(d) && (d = null)));
|
|
140
|
+
var y = o.getFont(), L = t.get("nameTruncate", !0) || {}, p = L.ellipsis, T = D(a.nameTruncateMaxWidth, L.maxWidth, d), h = new K({
|
|
141
|
+
x: u[0],
|
|
142
|
+
y: u[1],
|
|
143
|
+
rotation: g.rotation,
|
|
144
|
+
silent: w.isLabelSilent(t),
|
|
145
|
+
style: q(o, {
|
|
146
|
+
text: r,
|
|
147
|
+
font: y,
|
|
148
|
+
overflow: "truncate",
|
|
149
|
+
width: T,
|
|
150
|
+
ellipsis: p,
|
|
151
|
+
fill: o.getTextColor() || t.get(["axisLine", "lineStyle", "color"]),
|
|
152
|
+
align: o.get("align") || g.textAlign,
|
|
153
|
+
verticalAlign: o.get("verticalAlign") || g.textVerticalAlign
|
|
154
|
+
}),
|
|
155
|
+
z2: 1
|
|
156
|
+
});
|
|
157
|
+
if (j({
|
|
158
|
+
el: h,
|
|
159
|
+
componentModel: t,
|
|
160
|
+
itemName: r
|
|
161
|
+
}), h.__fullText = r, h.anid = "name", t.get("triggerEvent")) {
|
|
162
|
+
var m = w.makeAxisEventDataBase(t);
|
|
163
|
+
m.targetType = "axisName", m.name = r, Z(h).eventData = m;
|
|
164
|
+
}
|
|
165
|
+
i.add(h), h.updateTransform(), e.add(h), h.decomposeTransform();
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
function mt(a, t, e, i) {
|
|
170
|
+
var r = J(e - a), l, n, o = i[0] > i[1], s = t === "start" && !o || t !== "start" && o;
|
|
171
|
+
return R(r - A / 2) ? (n = s ? "bottom" : "top", l = "center") : R(r - A * 1.5) ? (n = s ? "top" : "bottom", l = "center") : (n = "middle", r < A * 1.5 && r > A / 2 ? l = s ? "left" : "right" : l = s ? "right" : "left"), {
|
|
172
|
+
rotation: r,
|
|
173
|
+
textAlign: l,
|
|
174
|
+
textVerticalAlign: n
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function ht(a, t, e) {
|
|
178
|
+
if (!ft(a.axis)) {
|
|
179
|
+
var i = a.get(["axisLabel", "showMinLabel"]), r = a.get(["axisLabel", "showMaxLabel"]);
|
|
180
|
+
t = t || [], e = e || [];
|
|
181
|
+
var l = t[0], n = t[1], o = t[t.length - 1], s = t[t.length - 2], f = e[0], v = e[1], u = e[e.length - 1], g = e[e.length - 2];
|
|
182
|
+
i === !1 ? (x(l), x(f)) : F(l, n) && (i ? (x(n), x(v)) : (x(l), x(f))), r === !1 ? (x(o), x(u)) : F(s, o) && (r ? (x(s), x(g)) : (x(o), x(u)));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function x(a) {
|
|
186
|
+
a && (a.ignore = !0);
|
|
187
|
+
}
|
|
188
|
+
function F(a, t) {
|
|
189
|
+
var e = a && a.getBoundingRect().clone(), i = t && t.getBoundingRect().clone();
|
|
190
|
+
if (!(!e || !i)) {
|
|
191
|
+
var r = vt([]);
|
|
192
|
+
return gt(r, r, -a.rotation), e.applyTransform(I([], r, a.getLocalTransform())), i.applyTransform(I([], r, t.getLocalTransform())), e.intersect(i);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function G(a) {
|
|
196
|
+
return a === "middle" || a === "center";
|
|
197
|
+
}
|
|
198
|
+
function U(a, t, e, i, r) {
|
|
199
|
+
for (var l = [], n = [], o = [], s = 0; s < a.length; s++) {
|
|
200
|
+
var f = a[s].coord;
|
|
201
|
+
n[0] = f, n[1] = 0, o[0] = f, o[1] = e, t && (O(n, n, t), O(o, o, t));
|
|
202
|
+
var v = new Q({
|
|
203
|
+
shape: {
|
|
204
|
+
x1: n[0],
|
|
205
|
+
y1: n[1],
|
|
206
|
+
x2: o[0],
|
|
207
|
+
y2: o[1]
|
|
208
|
+
},
|
|
209
|
+
style: i,
|
|
210
|
+
z2: 2,
|
|
211
|
+
autoBatch: !0,
|
|
212
|
+
silent: !0
|
|
213
|
+
});
|
|
214
|
+
z(v.shape, v.style.lineWidth), v.anid = r + "_" + a[s].tickValue, l.push(v);
|
|
215
|
+
}
|
|
216
|
+
return l;
|
|
217
|
+
}
|
|
218
|
+
function Lt(a, t, e, i) {
|
|
219
|
+
var r = e.axis, l = e.getModel("axisTick"), n = l.get("show");
|
|
220
|
+
if (n === "auto" && i.handleAutoShown && (n = i.handleAutoShown("axisTick")), !(!n || r.scale.isBlank())) {
|
|
221
|
+
for (var o = l.getModel("lineStyle"), s = i.tickDirection * l.get("length"), f = r.getTicksCoords(), v = U(f, t.transform, s, B(o.getLineStyle(), {
|
|
222
|
+
stroke: e.get(["axisLine", "lineStyle", "color"])
|
|
223
|
+
}), "ticks"), u = 0; u < v.length; u++)
|
|
224
|
+
a.add(v[u]);
|
|
225
|
+
return v;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function pt(a, t, e, i) {
|
|
229
|
+
var r = e.axis, l = e.getModel("minorTick");
|
|
230
|
+
if (!(!l.get("show") || r.scale.isBlank())) {
|
|
231
|
+
var n = r.getMinorTicksCoords();
|
|
232
|
+
if (n.length)
|
|
233
|
+
for (var o = l.getModel("lineStyle"), s = i * l.get("length"), f = B(o.getLineStyle(), B(e.getModel("axisTick").getLineStyle(), {
|
|
234
|
+
stroke: e.get(["axisLine", "lineStyle", "color"])
|
|
235
|
+
})), v = 0; v < n.length; v++)
|
|
236
|
+
for (var u = U(n[v], t.transform, s, f, "minorticks_" + v), g = 0; g < u.length; g++)
|
|
237
|
+
a.add(u[g]);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
function dt(a, t, e, i) {
|
|
241
|
+
var r = e.axis, l = D(i.axisLabelShow, e.get(["axisLabel", "show"]));
|
|
242
|
+
if (!(!l || r.scale.isBlank())) {
|
|
243
|
+
var n = e.getModel("axisLabel"), o = n.get("margin"), s = r.getViewLabels(), f = (D(i.labelRotate, n.get("rotate")) || 0) * A / 180, v = w.innerTextLayout(i.rotation, f, i.labelDirection), u = e.getCategories && e.getCategories(!0), g = [], c = w.isLabelSilent(e), d = e.get("triggerEvent");
|
|
244
|
+
return E(s, function(y, L) {
|
|
245
|
+
var p = r.scale.type === "ordinal" ? r.scale.getRawOrdinalNumber(y.tickValue) : y.tickValue, T = y.formattedLabel, h = y.rawLabel, m = n;
|
|
246
|
+
if (u && u[p]) {
|
|
247
|
+
var S = u[p];
|
|
248
|
+
rt(S) && S.textStyle && (m = new lt(S.textStyle, n, e.ecModel));
|
|
249
|
+
}
|
|
250
|
+
var V = m.getTextColor() || e.get(["axisLine", "lineStyle", "color"]), X = r.dataToCoord(p), N = m.getShallow("align", !0) || v.textAlign, Y = C(m.getShallow("alignMinLabel", !0), N), $ = C(m.getShallow("alignMaxLabel", !0), N), M = m.getShallow("verticalAlign", !0) || m.getShallow("baseline", !0) || v.textVerticalAlign, H = C(m.getShallow("verticalAlignMinLabel", !0), M), tt = C(m.getShallow("verticalAlignMaxLabel", !0), M), b = new K({
|
|
251
|
+
x: X,
|
|
252
|
+
y: i.labelOffset + i.labelDirection * o,
|
|
253
|
+
rotation: v.rotation,
|
|
254
|
+
silent: c,
|
|
255
|
+
z2: 10 + (y.level || 0),
|
|
256
|
+
style: q(m, {
|
|
257
|
+
text: T,
|
|
258
|
+
align: L === 0 ? Y : L === s.length - 1 ? $ : N,
|
|
259
|
+
verticalAlign: L === 0 ? H : L === s.length - 1 ? tt : M,
|
|
260
|
+
fill: nt(V) ? V(
|
|
261
|
+
// (1) In category axis with data zoom, tick is not the original
|
|
262
|
+
// index of axis.data. So tick should not be exposed to user
|
|
263
|
+
// in category axis.
|
|
264
|
+
// (2) Compatible with previous version, which always use formatted label as
|
|
265
|
+
// input. But in interval scale the formatted label is like '223,445', which
|
|
266
|
+
// maked user replace ','. So we modify it to return original val but remain
|
|
267
|
+
// it as 'string' to avoid error in replacing.
|
|
268
|
+
r.type === "category" ? h : r.type === "value" ? p + "" : p,
|
|
269
|
+
L
|
|
270
|
+
) : V
|
|
271
|
+
})
|
|
272
|
+
});
|
|
273
|
+
if (b.anid = "label_" + p, j({
|
|
274
|
+
el: b,
|
|
275
|
+
componentModel: e,
|
|
276
|
+
itemName: T,
|
|
277
|
+
formatterParamsExtra: {
|
|
278
|
+
isTruncated: function() {
|
|
279
|
+
return b.isTruncated;
|
|
280
|
+
},
|
|
281
|
+
value: h,
|
|
282
|
+
tickIndex: L
|
|
283
|
+
}
|
|
284
|
+
}), d) {
|
|
285
|
+
var k = w.makeAxisEventDataBase(e);
|
|
286
|
+
k.targetType = "axisLabel", k.value = h, k.tickIndex = L, r.type === "category" && (k.dataIndex = p), Z(b).eventData = k;
|
|
287
|
+
}
|
|
288
|
+
t.add(b), b.updateTransform(), g.push(b), a.add(b), b.decomposeTransform();
|
|
289
|
+
}), g;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
export {
|
|
293
|
+
w as default
|
|
294
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { fixValue as l, getAxisPointerModel as x } from "../axisPointer/modelHelper.js";
|
|
3
|
+
import d from "../../view/Component.js";
|
|
4
|
+
var a = {}, h = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function(s) {
|
|
7
|
+
p(i, s);
|
|
8
|
+
function i() {
|
|
9
|
+
var t = s !== null && s.apply(this, arguments) || this;
|
|
10
|
+
return t.type = i.type, t;
|
|
11
|
+
}
|
|
12
|
+
return i.prototype.render = function(t, e, o, r) {
|
|
13
|
+
this.axisPointerClass && l(t), s.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(t, o, !0);
|
|
14
|
+
}, i.prototype.updateAxisPointer = function(t, e, o, r) {
|
|
15
|
+
this._doUpdateAxisPointerClass(t, o, !1);
|
|
16
|
+
}, i.prototype.remove = function(t, e) {
|
|
17
|
+
var o = this._axisPointer;
|
|
18
|
+
o && o.remove(e);
|
|
19
|
+
}, i.prototype.dispose = function(t, e) {
|
|
20
|
+
this._disposeAxisPointer(e), s.prototype.dispose.apply(this, arguments);
|
|
21
|
+
}, i.prototype._doUpdateAxisPointerClass = function(t, e, o) {
|
|
22
|
+
var r = i.getAxisPointerClass(this.axisPointerClass);
|
|
23
|
+
if (r) {
|
|
24
|
+
var n = x(t);
|
|
25
|
+
n ? (this._axisPointer || (this._axisPointer = new r())).render(t, n, e, o) : this._disposeAxisPointer(e);
|
|
26
|
+
}
|
|
27
|
+
}, i.prototype._disposeAxisPointer = function(t) {
|
|
28
|
+
this._axisPointer && this._axisPointer.dispose(t), this._axisPointer = null;
|
|
29
|
+
}, i.registerAxisPointerClass = function(t, e) {
|
|
30
|
+
a[t] = e;
|
|
31
|
+
}, i.getAxisPointerClass = function(t) {
|
|
32
|
+
return t && a[t];
|
|
33
|
+
}, i.type = "axis", i;
|
|
34
|
+
})(d)
|
|
35
|
+
);
|
|
36
|
+
export {
|
|
37
|
+
h as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { __extends as c } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { extend as V, each as S, isArray as _, defaults as M } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { groupTransition as R, subPixelOptimizeLine as L } from "../../util/graphic.js";
|
|
4
|
+
import T from "./AxisBuilder.js";
|
|
5
|
+
import z from "./AxisView.js";
|
|
6
|
+
import { layout as H } from "../../coord/cartesian/cartesianAxisHelper.js";
|
|
7
|
+
import { rectCoordAxisHandleRemove as b, rectCoordAxisBuildSplitArea as O } from "./axisSplitHelper.js";
|
|
8
|
+
import { isIntervalOrLogScale as I } from "../../scale/helper.js";
|
|
9
|
+
import P from "../../../../zrender/lib/graphic/Group.js";
|
|
10
|
+
import C from "../../../../zrender/lib/graphic/shape/Line.js";
|
|
11
|
+
var W = ["axisLine", "axisTickLabel", "axisName"], X = ["splitArea", "splitLine", "minorSplitLine"], G = (
|
|
12
|
+
/** @class */
|
|
13
|
+
(function(r) {
|
|
14
|
+
c(e, r);
|
|
15
|
+
function e() {
|
|
16
|
+
var t = r !== null && r.apply(this, arguments) || this;
|
|
17
|
+
return t.type = e.type, t.axisPointerClass = "CartesianAxisPointer", t;
|
|
18
|
+
}
|
|
19
|
+
return e.prototype.render = function(t, v, h, s) {
|
|
20
|
+
this.group.removeAll();
|
|
21
|
+
var x = this._axisGroup;
|
|
22
|
+
if (this._axisGroup = new P(), this.group.add(this._axisGroup), !!t.get("show")) {
|
|
23
|
+
var i = t.getCoordSysModel(), g = H(i, t), l = new T(t, V({
|
|
24
|
+
handleAutoShown: function(o) {
|
|
25
|
+
for (var f = i.coordinateSystem.getCartesians(), a = 0; a < f.length; a++)
|
|
26
|
+
if (I(f[a].getOtherAxis(t.axis).scale))
|
|
27
|
+
return !0;
|
|
28
|
+
return !1;
|
|
29
|
+
}
|
|
30
|
+
}, g));
|
|
31
|
+
S(W, l.add, l), this._axisGroup.add(l.getGroup()), S(X, function(o) {
|
|
32
|
+
t.get([o, "show"]) && Y[o](this, this._axisGroup, t, i);
|
|
33
|
+
}, this);
|
|
34
|
+
var n = s && s.type === "changeAxisOrder" && s.isInitSort;
|
|
35
|
+
n || R(x, this._axisGroup, t), r.prototype.render.call(this, t, v, h, s);
|
|
36
|
+
}
|
|
37
|
+
}, e.prototype.remove = function() {
|
|
38
|
+
b(this);
|
|
39
|
+
}, e.type = "cartesianAxis", e;
|
|
40
|
+
})(z)
|
|
41
|
+
), Y = {
|
|
42
|
+
splitLine: function(r, e, t, v) {
|
|
43
|
+
var h = t.axis;
|
|
44
|
+
if (!h.scale.isBlank()) {
|
|
45
|
+
var s = t.getModel("splitLine"), x = s.getModel("lineStyle"), i = x.get("color"), g = s.get("showMinLine") !== !1, l = s.get("showMaxLine") !== !1;
|
|
46
|
+
i = _(i) ? i : [i];
|
|
47
|
+
for (var n = v.coordinateSystem.getRect(), o = h.isHorizontal(), f = 0, a = h.getTicksCoords({
|
|
48
|
+
tickModel: s
|
|
49
|
+
}), u = [], p = [], y = x.getLineStyle(), d = 0; d < a.length; d++) {
|
|
50
|
+
var m = h.toGlobalCoord(a[d].coord);
|
|
51
|
+
if (!(d === 0 && !g || d === a.length - 1 && !l)) {
|
|
52
|
+
var A = a[d].tickValue;
|
|
53
|
+
o ? (u[0] = m, u[1] = n.y, p[0] = m, p[1] = n.y + n.height) : (u[0] = n.x, u[1] = m, p[0] = n.x + n.width, p[1] = m);
|
|
54
|
+
var B = f++ % i.length, w = new C({
|
|
55
|
+
anid: A != null ? "line_" + A : null,
|
|
56
|
+
autoBatch: !0,
|
|
57
|
+
shape: {
|
|
58
|
+
x1: u[0],
|
|
59
|
+
y1: u[1],
|
|
60
|
+
x2: p[0],
|
|
61
|
+
y2: p[1]
|
|
62
|
+
},
|
|
63
|
+
style: M({
|
|
64
|
+
stroke: i[B]
|
|
65
|
+
}, y),
|
|
66
|
+
silent: !0
|
|
67
|
+
});
|
|
68
|
+
L(w.shape, y.lineWidth), e.add(w);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
minorSplitLine: function(r, e, t, v) {
|
|
74
|
+
var h = t.axis, s = t.getModel("minorSplitLine"), x = s.getModel("lineStyle"), i = v.coordinateSystem.getRect(), g = h.isHorizontal(), l = h.getMinorTicksCoords();
|
|
75
|
+
if (l.length)
|
|
76
|
+
for (var n = [], o = [], f = x.getLineStyle(), a = 0; a < l.length; a++)
|
|
77
|
+
for (var u = 0; u < l[a].length; u++) {
|
|
78
|
+
var p = h.toGlobalCoord(l[a][u].coord);
|
|
79
|
+
g ? (n[0] = p, n[1] = i.y, o[0] = p, o[1] = i.y + i.height) : (n[0] = i.x, n[1] = p, o[0] = i.x + i.width, o[1] = p);
|
|
80
|
+
var y = new C({
|
|
81
|
+
anid: "minor_line_" + l[a][u].tickValue,
|
|
82
|
+
autoBatch: !0,
|
|
83
|
+
shape: {
|
|
84
|
+
x1: n[0],
|
|
85
|
+
y1: n[1],
|
|
86
|
+
x2: o[0],
|
|
87
|
+
y2: o[1]
|
|
88
|
+
},
|
|
89
|
+
style: f,
|
|
90
|
+
silent: !0
|
|
91
|
+
});
|
|
92
|
+
L(y.shape, f.lineWidth), e.add(y);
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
splitArea: function(r, e, t, v) {
|
|
96
|
+
O(r, e, t, v);
|
|
97
|
+
}
|
|
98
|
+
}, E = (
|
|
99
|
+
/** @class */
|
|
100
|
+
(function(r) {
|
|
101
|
+
c(e, r);
|
|
102
|
+
function e() {
|
|
103
|
+
var t = r !== null && r.apply(this, arguments) || this;
|
|
104
|
+
return t.type = e.type, t;
|
|
105
|
+
}
|
|
106
|
+
return e.type = "xAxis", e;
|
|
107
|
+
})(G)
|
|
108
|
+
), U = (
|
|
109
|
+
/** @class */
|
|
110
|
+
(function(r) {
|
|
111
|
+
c(e, r);
|
|
112
|
+
function e() {
|
|
113
|
+
var t = r !== null && r.apply(this, arguments) || this;
|
|
114
|
+
return t.type = E.type, t;
|
|
115
|
+
}
|
|
116
|
+
return e.type = "yAxis", e;
|
|
117
|
+
})(G)
|
|
118
|
+
);
|
|
119
|
+
export {
|
|
120
|
+
E as CartesianXAxisView,
|
|
121
|
+
U as CartesianYAxisView,
|
|
122
|
+
G as default
|
|
123
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { __extends as f } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { bind as y, extend as v, each as g, map as d } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import C from "./AxisBuilder.js";
|
|
4
|
+
import A from "../helper/BrushController.js";
|
|
5
|
+
import { makeLinearBrushOtherExtent as B, makeRectIsTargetByCursor as b, makeRectPanelClipPath as S } from "../helper/brushHelper.js";
|
|
6
|
+
import { groupTransition as T } from "../../util/graphic.js";
|
|
7
|
+
import _ from "../../view/Component.js";
|
|
8
|
+
import w from "../../../../zrender/lib/graphic/Group.js";
|
|
9
|
+
import L from "../../../../zrender/lib/core/BoundingRect.js";
|
|
10
|
+
var G = ["axisLine", "axisTickLabel", "axisName"], j = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function(e) {
|
|
13
|
+
f(r, e);
|
|
14
|
+
function r() {
|
|
15
|
+
var t = e !== null && e.apply(this, arguments) || this;
|
|
16
|
+
return t.type = r.type, t;
|
|
17
|
+
}
|
|
18
|
+
return r.prototype.init = function(t, i) {
|
|
19
|
+
e.prototype.init.apply(this, arguments), (this._brushController = new A(i.getZr())).on("brush", y(this._onBrush, this));
|
|
20
|
+
}, r.prototype.render = function(t, i, o, s) {
|
|
21
|
+
if (!k(t, i, s)) {
|
|
22
|
+
this.axisModel = t, this.api = o, this.group.removeAll();
|
|
23
|
+
var l = this._axisGroup;
|
|
24
|
+
if (this._axisGroup = new w(), this.group.add(this._axisGroup), !!t.get("show")) {
|
|
25
|
+
var a = P(t, i), u = a.coordinateSystem, p = t.getAreaSelectStyle(), h = p.width, n = t.axis.dim, x = u.getAxisLayout(n), c = v({
|
|
26
|
+
strokeContainThreshold: h
|
|
27
|
+
}, x), m = new C(t, c);
|
|
28
|
+
g(G, m.add, m), this._axisGroup.add(m.getGroup()), this._refreshBrushController(c, p, t, a, h, o), T(l, this._axisGroup, t);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}, r.prototype._refreshBrushController = function(t, i, o, s, l, a) {
|
|
32
|
+
var u = o.axis.getExtent(), p = u[1] - u[0], h = Math.min(30, Math.abs(p) * 0.1), n = L.create({
|
|
33
|
+
x: u[0],
|
|
34
|
+
y: -l / 2,
|
|
35
|
+
width: p,
|
|
36
|
+
height: l
|
|
37
|
+
});
|
|
38
|
+
n.x -= h, n.width += 2 * h, this._brushController.mount({
|
|
39
|
+
enableGlobalPan: !0,
|
|
40
|
+
rotation: t.rotation,
|
|
41
|
+
x: t.position[0],
|
|
42
|
+
y: t.position[1]
|
|
43
|
+
}).setPanels([{
|
|
44
|
+
panelId: "pl",
|
|
45
|
+
clipPath: S(n),
|
|
46
|
+
isTargetByCursor: b(n, a, s),
|
|
47
|
+
getLinearBrushOtherExtent: B(n, 0)
|
|
48
|
+
}]).enableBrush({
|
|
49
|
+
brushType: "lineX",
|
|
50
|
+
brushStyle: i,
|
|
51
|
+
removeOnClick: !0
|
|
52
|
+
}).updateCovers(I(o));
|
|
53
|
+
}, r.prototype._onBrush = function(t) {
|
|
54
|
+
var i = t.areas, o = this.axisModel, s = o.axis, l = d(i, function(a) {
|
|
55
|
+
return [s.coordToData(a.range[0], !0), s.coordToData(a.range[1], !0)];
|
|
56
|
+
});
|
|
57
|
+
(!o.option.realtime === t.isEnd || t.removeOnClick) && this.api.dispatchAction({
|
|
58
|
+
type: "axisAreaSelect",
|
|
59
|
+
parallelAxisId: o.id,
|
|
60
|
+
intervals: l
|
|
61
|
+
});
|
|
62
|
+
}, r.prototype.dispose = function() {
|
|
63
|
+
this._brushController.dispose();
|
|
64
|
+
}, r.type = "parallelAxis", r;
|
|
65
|
+
})(_)
|
|
66
|
+
);
|
|
67
|
+
function k(e, r, t) {
|
|
68
|
+
return t && t.type === "axisAreaSelect" && r.findComponents({
|
|
69
|
+
mainType: "parallelAxis",
|
|
70
|
+
query: t
|
|
71
|
+
})[0] === e;
|
|
72
|
+
}
|
|
73
|
+
function I(e) {
|
|
74
|
+
var r = e.axis;
|
|
75
|
+
return d(e.activeIntervals, function(t) {
|
|
76
|
+
return {
|
|
77
|
+
brushType: "lineX",
|
|
78
|
+
panelId: "pl",
|
|
79
|
+
range: [r.dataToCoord(t[0], !0), r.dataToCoord(t[1], !0)]
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
function P(e, r) {
|
|
84
|
+
return r.getComponent("parallel", e.get("parallelIndex"));
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
j as default
|
|
88
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { __extends as m } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as y, defaults as d } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import * as L from "../../util/graphic.js";
|
|
4
|
+
import { groupTransition as M, mergePath as A } from "../../util/graphic.js";
|
|
5
|
+
import S from "./AxisBuilder.js";
|
|
6
|
+
import w from "./AxisView.js";
|
|
7
|
+
import E from "../../../../zrender/lib/graphic/Group.js";
|
|
8
|
+
import P from "../../../../zrender/lib/graphic/shape/Sector.js";
|
|
9
|
+
import B from "../../../../zrender/lib/graphic/shape/Circle.js";
|
|
10
|
+
var G = ["axisLine", "axisTickLabel", "axisName"], b = ["splitLine", "splitArea", "minorSplitLine"], q = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function(o) {
|
|
13
|
+
m(n, o);
|
|
14
|
+
function n() {
|
|
15
|
+
var e = o !== null && o.apply(this, arguments) || this;
|
|
16
|
+
return e.type = n.type, e.axisPointerClass = "PolarAxisPointer", e;
|
|
17
|
+
}
|
|
18
|
+
return n.prototype.render = function(e, x) {
|
|
19
|
+
if (this.group.removeAll(), !!e.get("show")) {
|
|
20
|
+
var h = this._axisGroup, l = this._axisGroup = new E();
|
|
21
|
+
this.group.add(l);
|
|
22
|
+
var a = e.axis, g = a.polar, t = g.getAngleAxis(), v = a.getTicksCoords(), i = a.getMinorTicksCoords(), s = t.getExtent()[0], r = a.getExtent(), c = C(g, e, s), u = new S(e, c);
|
|
23
|
+
y(G, u.add, u), l.add(u.getGroup()), M(h, l, e), y(b, function(p) {
|
|
24
|
+
e.get([p, "show"]) && !a.scale.isBlank() && R[p](this.group, e, g, s, r, v, i);
|
|
25
|
+
}, this);
|
|
26
|
+
}
|
|
27
|
+
}, n.type = "radiusAxis", n;
|
|
28
|
+
})(w)
|
|
29
|
+
), R = {
|
|
30
|
+
splitLine: function(o, n, e, x, h, l) {
|
|
31
|
+
var a = n.getModel("splitLine"), g = a.getModel("lineStyle"), t = g.get("color"), v = 0, i = e.getAngleAxis(), s = Math.PI / 180, r = i.getExtent(), c = Math.abs(r[1] - r[0]) === 360 ? "Circle" : "Arc";
|
|
32
|
+
t = t instanceof Array ? t : [t];
|
|
33
|
+
for (var u = [], p = 0; p < l.length; p++) {
|
|
34
|
+
var f = v++ % t.length;
|
|
35
|
+
u[f] = u[f] || [], u[f].push(new L[c]({
|
|
36
|
+
shape: {
|
|
37
|
+
cx: e.cx,
|
|
38
|
+
cy: e.cy,
|
|
39
|
+
// ensure circle radius >= 0
|
|
40
|
+
r: Math.max(l[p].coord, 0),
|
|
41
|
+
startAngle: -r[0] * s,
|
|
42
|
+
endAngle: -r[1] * s,
|
|
43
|
+
clockwise: i.inverse
|
|
44
|
+
}
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
for (var p = 0; p < u.length; p++)
|
|
48
|
+
o.add(A(u[p], {
|
|
49
|
+
style: d({
|
|
50
|
+
stroke: t[p % t.length],
|
|
51
|
+
fill: null
|
|
52
|
+
}, g.getLineStyle()),
|
|
53
|
+
silent: !0
|
|
54
|
+
}));
|
|
55
|
+
},
|
|
56
|
+
minorSplitLine: function(o, n, e, x, h, l, a) {
|
|
57
|
+
if (a.length) {
|
|
58
|
+
for (var g = n.getModel("minorSplitLine"), t = g.getModel("lineStyle"), v = [], i = 0; i < a.length; i++)
|
|
59
|
+
for (var s = 0; s < a[i].length; s++)
|
|
60
|
+
v.push(new B({
|
|
61
|
+
shape: {
|
|
62
|
+
cx: e.cx,
|
|
63
|
+
cy: e.cy,
|
|
64
|
+
r: a[i][s].coord
|
|
65
|
+
}
|
|
66
|
+
}));
|
|
67
|
+
o.add(A(v, {
|
|
68
|
+
style: d({
|
|
69
|
+
fill: null
|
|
70
|
+
}, t.getLineStyle()),
|
|
71
|
+
silent: !0
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
splitArea: function(o, n, e, x, h, l) {
|
|
76
|
+
if (l.length) {
|
|
77
|
+
var a = n.getModel("splitArea"), g = a.getModel("areaStyle"), t = g.get("color"), v = 0;
|
|
78
|
+
t = t instanceof Array ? t : [t];
|
|
79
|
+
for (var i = [], s = l[0].coord, r = 1; r < l.length; r++) {
|
|
80
|
+
var c = v++ % t.length;
|
|
81
|
+
i[c] = i[c] || [], i[c].push(new P({
|
|
82
|
+
shape: {
|
|
83
|
+
cx: e.cx,
|
|
84
|
+
cy: e.cy,
|
|
85
|
+
r0: s,
|
|
86
|
+
r: l[r].coord,
|
|
87
|
+
startAngle: 0,
|
|
88
|
+
endAngle: Math.PI * 2
|
|
89
|
+
},
|
|
90
|
+
silent: !0
|
|
91
|
+
})), s = l[r].coord;
|
|
92
|
+
}
|
|
93
|
+
for (var r = 0; r < i.length; r++)
|
|
94
|
+
o.add(A(i[r], {
|
|
95
|
+
style: d({
|
|
96
|
+
fill: t[r % t.length]
|
|
97
|
+
}, g.getAreaStyle()),
|
|
98
|
+
silent: !0
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function C(o, n, e) {
|
|
104
|
+
return {
|
|
105
|
+
position: [o.cx, o.cy],
|
|
106
|
+
rotation: e / 180 * Math.PI,
|
|
107
|
+
labelDirection: -1,
|
|
108
|
+
tickDirection: -1,
|
|
109
|
+
nameDirection: 1,
|
|
110
|
+
labelRotate: n.getModel("axisLabel").get("rotate"),
|
|
111
|
+
// Over splitLine and splitArea
|
|
112
|
+
z2: 1
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export {
|
|
116
|
+
q as default
|
|
117
|
+
};
|