web-core-tcm 0.0.59 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { __extends as T } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { applyTransform as c, copy as y } from "../../../zrender/lib/core/vector.js";
|
|
3
|
+
import { copy as v, create as d, invert as g } from "../../../zrender/lib/core/matrix.js";
|
|
4
|
+
import f from "../../../zrender/lib/core/BoundingRect.js";
|
|
5
|
+
import i from "../../../zrender/lib/core/Transformable.js";
|
|
6
|
+
import { parsePercent as p } from "../util/number.js";
|
|
7
|
+
var u = c, M = (
|
|
8
|
+
/** @class */
|
|
9
|
+
(function(s) {
|
|
10
|
+
T(o, s);
|
|
11
|
+
function o(r) {
|
|
12
|
+
var t = s.call(this) || this;
|
|
13
|
+
return t.type = "view", t.dimensions = ["x", "y"], t._roamTransformable = new i(), t._rawTransformable = new i(), t.name = r, t;
|
|
14
|
+
}
|
|
15
|
+
return o.prototype.setBoundingRect = function(r, t, e, n) {
|
|
16
|
+
return this._rect = new f(r, t, e, n), this._rect;
|
|
17
|
+
}, o.prototype.getBoundingRect = function() {
|
|
18
|
+
return this._rect;
|
|
19
|
+
}, o.prototype.setViewRect = function(r, t, e, n) {
|
|
20
|
+
this._transformTo(r, t, e, n), this._viewRect = new f(r, t, e, n);
|
|
21
|
+
}, o.prototype._transformTo = function(r, t, e, n) {
|
|
22
|
+
var m = this.getBoundingRect(), a = this._rawTransformable;
|
|
23
|
+
a.transform = m.calculateTransform(new f(r, t, e, n));
|
|
24
|
+
var h = a.parent;
|
|
25
|
+
a.parent = null, a.decomposeTransform(), a.parent = h, this._updateTransform();
|
|
26
|
+
}, o.prototype.setCenter = function(r, t) {
|
|
27
|
+
r && (this._center = [p(r[0], t.getWidth()), p(r[1], t.getHeight())], this._updateCenterAndZoom());
|
|
28
|
+
}, o.prototype.setZoom = function(r) {
|
|
29
|
+
r = r || 1;
|
|
30
|
+
var t = this.zoomLimit;
|
|
31
|
+
t && (t.max != null && (r = Math.min(t.max, r)), t.min != null && (r = Math.max(t.min, r))), this._zoom = r, this._updateCenterAndZoom();
|
|
32
|
+
}, o.prototype.getDefaultCenter = function() {
|
|
33
|
+
var r = this.getBoundingRect(), t = r.x + r.width / 2, e = r.y + r.height / 2;
|
|
34
|
+
return [t, e];
|
|
35
|
+
}, o.prototype.getCenter = function() {
|
|
36
|
+
return this._center || this.getDefaultCenter();
|
|
37
|
+
}, o.prototype.getZoom = function() {
|
|
38
|
+
return this._zoom || 1;
|
|
39
|
+
}, o.prototype.getRoamTransform = function() {
|
|
40
|
+
return this._roamTransformable.getLocalTransform();
|
|
41
|
+
}, o.prototype._updateCenterAndZoom = function() {
|
|
42
|
+
var r = this._rawTransformable.getLocalTransform(), t = this._roamTransformable, e = this.getDefaultCenter(), n = this.getCenter(), m = this.getZoom();
|
|
43
|
+
n = c([], n, r), e = c([], e, r), t.originX = n[0], t.originY = n[1], t.x = e[0] - n[0], t.y = e[1] - n[1], t.scaleX = t.scaleY = m, this._updateTransform();
|
|
44
|
+
}, o.prototype._updateTransform = function() {
|
|
45
|
+
var r = this._roamTransformable, t = this._rawTransformable;
|
|
46
|
+
t.parent = r, r.updateTransform(), t.updateTransform(), v(this.transform || (this.transform = []), t.transform || d()), this._rawTransform = t.getLocalTransform(), this.invTransform = this.invTransform || [], g(this.invTransform, this.transform), this.decomposeTransform();
|
|
47
|
+
}, o.prototype.getTransformInfo = function() {
|
|
48
|
+
var r = this._rawTransformable, t = this._roamTransformable, e = new i();
|
|
49
|
+
return e.transform = t.transform, e.decomposeTransform(), {
|
|
50
|
+
roam: {
|
|
51
|
+
x: e.x,
|
|
52
|
+
y: e.y,
|
|
53
|
+
scaleX: e.scaleX,
|
|
54
|
+
scaleY: e.scaleY
|
|
55
|
+
},
|
|
56
|
+
raw: {
|
|
57
|
+
x: r.x,
|
|
58
|
+
y: r.y,
|
|
59
|
+
scaleX: r.scaleX,
|
|
60
|
+
scaleY: r.scaleY
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}, o.prototype.getViewRect = function() {
|
|
64
|
+
return this._viewRect;
|
|
65
|
+
}, o.prototype.getViewRectAfterRoam = function() {
|
|
66
|
+
var r = this.getBoundingRect().clone();
|
|
67
|
+
return r.applyTransform(this.transform), r;
|
|
68
|
+
}, o.prototype.dataToPoint = function(r, t, e) {
|
|
69
|
+
var n = t ? this._rawTransform : this.transform;
|
|
70
|
+
return e = e || [], n ? u(e, r, n) : y(e, r);
|
|
71
|
+
}, o.prototype.pointToData = function(r) {
|
|
72
|
+
var t = this.invTransform;
|
|
73
|
+
return t ? u([], r, t) : [r[0], r[1]];
|
|
74
|
+
}, o.prototype.convertToPixel = function(r, t, e) {
|
|
75
|
+
var n = l(t);
|
|
76
|
+
return n === this ? n.dataToPoint(e) : null;
|
|
77
|
+
}, o.prototype.convertFromPixel = function(r, t, e) {
|
|
78
|
+
var n = l(t);
|
|
79
|
+
return n === this ? n.pointToData(e) : null;
|
|
80
|
+
}, o.prototype.containPoint = function(r) {
|
|
81
|
+
return this.getViewRectAfterRoam().contain(r[0], r[1]);
|
|
82
|
+
}, o.dimensions = ["x", "y"], o;
|
|
83
|
+
})(i)
|
|
84
|
+
);
|
|
85
|
+
function l(s) {
|
|
86
|
+
var o = s.seriesModel;
|
|
87
|
+
return o ? o.coordinateSystem : null;
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
M as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { round as s } from "../util/number.js";
|
|
2
|
+
import N from "../scale/Interval.js";
|
|
3
|
+
import { getScaleExtent as d } from "./axisHelper.js";
|
|
4
|
+
import { increaseInterval as g } from "../scale/helper.js";
|
|
5
|
+
var p = Math.log;
|
|
6
|
+
function L(a, F, f) {
|
|
7
|
+
var n = N.prototype, o = n.getTicks.call(f), u = n.getTicks.call(f, !0), l = o.length - 1, E = n.getInterval.call(f), c = d(a, F), t = c.extent, v = c.fixMin, x = c.fixMax;
|
|
8
|
+
if (a.type === "log") {
|
|
9
|
+
var M = p(a.base);
|
|
10
|
+
t = [p(t[0]) / M, p(t[1]) / M];
|
|
11
|
+
}
|
|
12
|
+
a.setExtent(t[0], t[1]), a.calcNiceExtent({
|
|
13
|
+
splitNumber: l,
|
|
14
|
+
fixMin: v,
|
|
15
|
+
fixMax: x
|
|
16
|
+
});
|
|
17
|
+
var T = n.getExtent.call(a);
|
|
18
|
+
v && (t[0] = T[0]), x && (t[1] = T[1]);
|
|
19
|
+
var i = n.getInterval.call(a), r = t[0], e = t[1];
|
|
20
|
+
if (v && x)
|
|
21
|
+
i = (e - r) / l;
|
|
22
|
+
else if (v)
|
|
23
|
+
for (e = t[0] + i * l; e < t[1] && isFinite(e) && isFinite(t[1]); )
|
|
24
|
+
i = g(i), e = t[0] + i * l;
|
|
25
|
+
else if (x)
|
|
26
|
+
for (r = t[1] - i * l; r > t[0] && isFinite(r) && isFinite(t[0]); )
|
|
27
|
+
i = g(i), r = t[1] - i * l;
|
|
28
|
+
else {
|
|
29
|
+
var I = a.getTicks().length - 1;
|
|
30
|
+
I > l && (i = g(i));
|
|
31
|
+
var m = i * l;
|
|
32
|
+
e = Math.ceil(t[1] / i) * i, r = s(e - m), r < 0 && t[0] >= 0 ? (r = 0, e = s(m)) : e > 0 && t[1] <= 0 && (e = 0, r = -s(m));
|
|
33
|
+
}
|
|
34
|
+
var h = (o[0].value - u[0].value) / E, k = (o[l].value - u[l].value) / E;
|
|
35
|
+
n.setExtent.call(a, r + i * h, e + i * k), n.setInterval.call(a, i), (h || k) && n.setNiceExtent.call(a, r + i, e - i);
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
L as alignScaleTicks
|
|
39
|
+
};
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { defaults as i, merge as e } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
var a = {
|
|
3
|
+
show: !0,
|
|
4
|
+
// zlevel: 0,
|
|
5
|
+
z: 0,
|
|
6
|
+
// Inverse the axis.
|
|
7
|
+
inverse: !1,
|
|
8
|
+
// Axis name displayed.
|
|
9
|
+
name: "",
|
|
10
|
+
// 'start' | 'middle' | 'end'
|
|
11
|
+
nameLocation: "end",
|
|
12
|
+
// By degree. By default auto rotate by nameLocation.
|
|
13
|
+
nameRotate: null,
|
|
14
|
+
nameTruncate: {
|
|
15
|
+
maxWidth: null,
|
|
16
|
+
ellipsis: "...",
|
|
17
|
+
placeholder: "."
|
|
18
|
+
},
|
|
19
|
+
// Use global text style by default.
|
|
20
|
+
nameTextStyle: {},
|
|
21
|
+
// The gap between axisName and axisLine.
|
|
22
|
+
nameGap: 15,
|
|
23
|
+
// Default `false` to support tooltip.
|
|
24
|
+
silent: !1,
|
|
25
|
+
// Default `false` to avoid legacy user event listener fail.
|
|
26
|
+
triggerEvent: !1,
|
|
27
|
+
tooltip: {
|
|
28
|
+
show: !1
|
|
29
|
+
},
|
|
30
|
+
axisPointer: {},
|
|
31
|
+
axisLine: {
|
|
32
|
+
show: !0,
|
|
33
|
+
onZero: !0,
|
|
34
|
+
onZeroAxisIndex: null,
|
|
35
|
+
lineStyle: {
|
|
36
|
+
color: "#6E7079",
|
|
37
|
+
width: 1,
|
|
38
|
+
type: "solid"
|
|
39
|
+
},
|
|
40
|
+
// The arrow at both ends the the axis.
|
|
41
|
+
symbol: ["none", "none"],
|
|
42
|
+
symbolSize: [10, 15]
|
|
43
|
+
},
|
|
44
|
+
axisTick: {
|
|
45
|
+
show: !0,
|
|
46
|
+
// Whether axisTick is inside the grid or outside the grid.
|
|
47
|
+
inside: !1,
|
|
48
|
+
// The length of axisTick.
|
|
49
|
+
length: 5,
|
|
50
|
+
lineStyle: {
|
|
51
|
+
width: 1
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
axisLabel: {
|
|
55
|
+
show: !0,
|
|
56
|
+
// Whether axisLabel is inside the grid or outside the grid.
|
|
57
|
+
inside: !1,
|
|
58
|
+
rotate: 0,
|
|
59
|
+
// true | false | null/undefined (auto)
|
|
60
|
+
showMinLabel: null,
|
|
61
|
+
// true | false | null/undefined (auto)
|
|
62
|
+
showMaxLabel: null,
|
|
63
|
+
margin: 8,
|
|
64
|
+
// formatter: null,
|
|
65
|
+
fontSize: 12
|
|
66
|
+
},
|
|
67
|
+
splitLine: {
|
|
68
|
+
show: !0,
|
|
69
|
+
showMinLine: !0,
|
|
70
|
+
showMaxLine: !0,
|
|
71
|
+
lineStyle: {
|
|
72
|
+
color: ["#E0E6F1"],
|
|
73
|
+
width: 1,
|
|
74
|
+
type: "solid"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
splitArea: {
|
|
78
|
+
show: !1,
|
|
79
|
+
areaStyle: {
|
|
80
|
+
color: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}, s = e({
|
|
84
|
+
// The gap at both ends of the axis. For categoryAxis, boolean.
|
|
85
|
+
boundaryGap: !0,
|
|
86
|
+
// Set false to faster category collection.
|
|
87
|
+
deduplication: null,
|
|
88
|
+
// splitArea: {
|
|
89
|
+
// show: false
|
|
90
|
+
// },
|
|
91
|
+
splitLine: {
|
|
92
|
+
show: !1
|
|
93
|
+
},
|
|
94
|
+
axisTick: {
|
|
95
|
+
// If tick is align with label when boundaryGap is true
|
|
96
|
+
alignWithLabel: !1,
|
|
97
|
+
interval: "auto"
|
|
98
|
+
},
|
|
99
|
+
axisLabel: {
|
|
100
|
+
interval: "auto"
|
|
101
|
+
}
|
|
102
|
+
}, a), l = e({
|
|
103
|
+
boundaryGap: [0, 0],
|
|
104
|
+
axisLine: {
|
|
105
|
+
// Not shown when other axis is categoryAxis in cartesian
|
|
106
|
+
show: "auto"
|
|
107
|
+
},
|
|
108
|
+
axisTick: {
|
|
109
|
+
// Not shown when other axis is categoryAxis in cartesian
|
|
110
|
+
show: "auto"
|
|
111
|
+
},
|
|
112
|
+
// TODO
|
|
113
|
+
// min/max: [30, datamin, 60] or [20, datamin] or [datamin, 60]
|
|
114
|
+
splitNumber: 5,
|
|
115
|
+
minorTick: {
|
|
116
|
+
// Minor tick, not available for cateogry axis.
|
|
117
|
+
show: !1,
|
|
118
|
+
// Split number of minor ticks. The value should be in range of (0, 100)
|
|
119
|
+
splitNumber: 5,
|
|
120
|
+
// Length of minor tick
|
|
121
|
+
length: 3,
|
|
122
|
+
// Line style
|
|
123
|
+
lineStyle: {
|
|
124
|
+
// Default to be same with axisTick
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
minorSplitLine: {
|
|
128
|
+
show: !1,
|
|
129
|
+
lineStyle: {
|
|
130
|
+
color: "#F4F7FD",
|
|
131
|
+
width: 1
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}, a), t = e({
|
|
135
|
+
splitNumber: 6,
|
|
136
|
+
axisLabel: {
|
|
137
|
+
// To eliminate labels that are not nice
|
|
138
|
+
showMinLabel: !1,
|
|
139
|
+
showMaxLabel: !1,
|
|
140
|
+
rich: {
|
|
141
|
+
primary: {
|
|
142
|
+
fontWeight: "bold"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
splitLine: {
|
|
147
|
+
show: !1
|
|
148
|
+
}
|
|
149
|
+
}, l), o = i({
|
|
150
|
+
logBase: 10
|
|
151
|
+
}, l);
|
|
152
|
+
const r = {
|
|
153
|
+
category: s,
|
|
154
|
+
value: l,
|
|
155
|
+
time: t,
|
|
156
|
+
log: o
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
r as default
|
|
160
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { each as m, keys as b, isString as h, isFunction as p } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import M from "../scale/Ordinal.js";
|
|
3
|
+
import y from "../scale/Interval.js";
|
|
4
|
+
import w from "../scale/Scale.js";
|
|
5
|
+
import { prepareLayoutBarSeries as L, makeColumnLayout as d, retrieveColumnLayout as I } from "../layout/barGrid.js";
|
|
6
|
+
import E from "../../../zrender/lib/core/BoundingRect.js";
|
|
7
|
+
import S from "../scale/Time.js";
|
|
8
|
+
import O from "../scale/Log.js";
|
|
9
|
+
import { getStackedDimension as C } from "../data/helper/dataStackHelper.js";
|
|
10
|
+
import { ensureScaleRawExtentInfo as F } from "./scaleRawExtentInfo.js";
|
|
11
|
+
function k(e, t) {
|
|
12
|
+
var a = e.type, r = F(e, t, e.getExtent()).calculate();
|
|
13
|
+
e.setBlank(r.isBlank);
|
|
14
|
+
var n = r.min, i = r.max, u = t.ecModel;
|
|
15
|
+
if (u && a === "time") {
|
|
16
|
+
var o = L("bar", u), l = !1;
|
|
17
|
+
if (m(o, function(g) {
|
|
18
|
+
l = l || g.getBaseAxis() === t.axis;
|
|
19
|
+
}), l) {
|
|
20
|
+
var v = d(o), f = R(n, i, t, v);
|
|
21
|
+
n = f.min, i = f.max;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
extent: [n, i],
|
|
26
|
+
// "fix" means "fixed", the value should not be
|
|
27
|
+
// changed in the subsequent steps.
|
|
28
|
+
fixMin: r.minFixed,
|
|
29
|
+
fixMax: r.maxFixed
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function R(e, t, a, r) {
|
|
33
|
+
var n = a.axis.getExtent(), i = Math.abs(n[1] - n[0]), u = I(r, a.axis);
|
|
34
|
+
if (u === void 0)
|
|
35
|
+
return {
|
|
36
|
+
min: e,
|
|
37
|
+
max: t
|
|
38
|
+
};
|
|
39
|
+
var o = 1 / 0;
|
|
40
|
+
m(u, function(c) {
|
|
41
|
+
o = Math.min(c.offset, o);
|
|
42
|
+
});
|
|
43
|
+
var l = -1 / 0;
|
|
44
|
+
m(u, function(c) {
|
|
45
|
+
l = Math.max(c.offset + c.width, l);
|
|
46
|
+
}), o = Math.abs(o), l = Math.abs(l);
|
|
47
|
+
var v = o + l, f = t - e, g = 1 - (o + l) / i, s = f / g - f;
|
|
48
|
+
return t += s * (l / v), e -= s * (o / v), {
|
|
49
|
+
min: e,
|
|
50
|
+
max: t
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function J(e, t) {
|
|
54
|
+
var a = t, r = k(e, a), n = r.extent, i = a.get("splitNumber");
|
|
55
|
+
e instanceof O && (e.base = a.get("logBase"));
|
|
56
|
+
var u = e.type, o = a.get("interval"), l = u === "interval" || u === "time";
|
|
57
|
+
e.setExtent(n[0], n[1]), e.calcNiceExtent({
|
|
58
|
+
splitNumber: i,
|
|
59
|
+
fixMin: r.fixMin,
|
|
60
|
+
fixMax: r.fixMax,
|
|
61
|
+
minInterval: l ? a.get("minInterval") : null,
|
|
62
|
+
maxInterval: l ? a.get("maxInterval") : null
|
|
63
|
+
}), o != null && e.setInterval && e.setInterval(o);
|
|
64
|
+
}
|
|
65
|
+
function K(e, t) {
|
|
66
|
+
if (t = t || e.get("type"), t)
|
|
67
|
+
switch (t) {
|
|
68
|
+
// Buildin scale
|
|
69
|
+
case "category":
|
|
70
|
+
return new M({
|
|
71
|
+
ordinalMeta: e.getOrdinalMeta ? e.getOrdinalMeta() : e.getCategories(),
|
|
72
|
+
extent: [1 / 0, -1 / 0]
|
|
73
|
+
});
|
|
74
|
+
case "time":
|
|
75
|
+
return new S({
|
|
76
|
+
locale: e.ecModel.getLocaleModel(),
|
|
77
|
+
useUTC: e.ecModel.get("useUTC")
|
|
78
|
+
});
|
|
79
|
+
default:
|
|
80
|
+
return new (w.getClass(t) || y)();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function Q(e) {
|
|
84
|
+
var t = e.scale.getExtent(), a = t[0], r = t[1];
|
|
85
|
+
return !(a > 0 && r > 0 || a < 0 && r < 0);
|
|
86
|
+
}
|
|
87
|
+
function T(e) {
|
|
88
|
+
var t = e.getLabelModel().get("formatter"), a = e.type === "category" ? e.scale.getExtent()[0] : null;
|
|
89
|
+
return e.scale.type === "time" ? /* @__PURE__ */ (function(r) {
|
|
90
|
+
return function(n, i) {
|
|
91
|
+
return e.scale.getFormattedLabel(n, i, r);
|
|
92
|
+
};
|
|
93
|
+
})(t) : h(t) ? /* @__PURE__ */ (function(r) {
|
|
94
|
+
return function(n) {
|
|
95
|
+
var i = e.scale.getLabel(n), u = r.replace("{value}", i ?? "");
|
|
96
|
+
return u;
|
|
97
|
+
};
|
|
98
|
+
})(t) : p(t) ? /* @__PURE__ */ (function(r) {
|
|
99
|
+
return function(n, i) {
|
|
100
|
+
return a != null && (i = n.value - a), r(D(e, n), i, n.level != null ? {
|
|
101
|
+
level: n.level
|
|
102
|
+
} : null);
|
|
103
|
+
};
|
|
104
|
+
})(t) : function(r) {
|
|
105
|
+
return e.scale.getLabel(r);
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function D(e, t) {
|
|
109
|
+
return e.type === "category" ? e.scale.getLabel(t) : t.value;
|
|
110
|
+
}
|
|
111
|
+
function X(e) {
|
|
112
|
+
var t = e.model, a = e.scale;
|
|
113
|
+
if (!(!t.get(["axisLabel", "show"]) || a.isBlank())) {
|
|
114
|
+
var r, n, i = a.getExtent();
|
|
115
|
+
a instanceof M ? n = a.count() : (r = a.getTicks(), n = r.length);
|
|
116
|
+
var u = e.getLabelModel(), o = T(e), l, v = 1;
|
|
117
|
+
n > 40 && (v = Math.ceil(n / 40));
|
|
118
|
+
for (var f = 0; f < n; f += v) {
|
|
119
|
+
var g = r ? r[f] : {
|
|
120
|
+
value: i[0] + f
|
|
121
|
+
}, s = o(g, f), c = u.getTextRect(s), x = N(c, u.get("rotate") || 0);
|
|
122
|
+
l ? l.union(x) : l = x;
|
|
123
|
+
}
|
|
124
|
+
return l;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
function N(e, t) {
|
|
128
|
+
var a = t * Math.PI / 180, r = e.width, n = e.height, i = r * Math.abs(Math.cos(a)) + Math.abs(n * Math.sin(a)), u = r * Math.abs(Math.sin(a)) + Math.abs(n * Math.cos(a)), o = new E(e.x, e.y, i, u);
|
|
129
|
+
return o;
|
|
130
|
+
}
|
|
131
|
+
function A(e) {
|
|
132
|
+
var t = e.get("interval");
|
|
133
|
+
return t ?? "auto";
|
|
134
|
+
}
|
|
135
|
+
function Y(e) {
|
|
136
|
+
return e.type === "category" && A(e.getLabelModel()) === 0;
|
|
137
|
+
}
|
|
138
|
+
function B(e, t) {
|
|
139
|
+
var a = {};
|
|
140
|
+
return m(e.mapDimensionsAll(t), function(r) {
|
|
141
|
+
a[C(e, r)] = !0;
|
|
142
|
+
}), b(a);
|
|
143
|
+
}
|
|
144
|
+
function $(e, t, a) {
|
|
145
|
+
t && m(B(t, a), function(r) {
|
|
146
|
+
var n = t.getApproximateExtent(r);
|
|
147
|
+
n[0] < e[0] && (e[0] = n[0]), n[1] > e[1] && (e[1] = n[1]);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
export {
|
|
151
|
+
K as createScaleByModel,
|
|
152
|
+
X as estimateLabelUnionRect,
|
|
153
|
+
D as getAxisRawValue,
|
|
154
|
+
B as getDataDimensionsOnAxis,
|
|
155
|
+
A as getOptionCategoryInterval,
|
|
156
|
+
k as getScaleExtent,
|
|
157
|
+
Q as ifAxisCrossZero,
|
|
158
|
+
T as makeLabelFormatter,
|
|
159
|
+
J as niceScaleExtent,
|
|
160
|
+
Y as shouldShowAllLabels,
|
|
161
|
+
$ as unionAxisExtentFromData
|
|
162
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var t = (
|
|
2
|
+
/** @class */
|
|
3
|
+
(function() {
|
|
4
|
+
function o() {
|
|
5
|
+
}
|
|
6
|
+
return o.prototype.getNeedCrossZero = function() {
|
|
7
|
+
var n = this.option;
|
|
8
|
+
return !n.scale;
|
|
9
|
+
}, o.prototype.getCoordSysModel = function() {
|
|
10
|
+
}, o;
|
|
11
|
+
})()
|
|
12
|
+
);
|
|
13
|
+
export {
|
|
14
|
+
t as AxisModelCommonMixin
|
|
15
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __extends as h } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import c from "./axisDefault.js";
|
|
3
|
+
import { fetchLayoutMode as M, getLayoutParams as v, mergeLayoutParam as A } from "../util/layout.js";
|
|
4
|
+
import _ from "../data/OrdinalMeta.js";
|
|
5
|
+
import { AXIS_TYPES as x } from "./axisCommonTypes.js";
|
|
6
|
+
import { each as O, merge as a } from "../../../zrender/lib/core/util.js";
|
|
7
|
+
function B(r, n, l, s) {
|
|
8
|
+
O(x, function(P, o) {
|
|
9
|
+
var d = a(a({}, c[o], !0), s, !0), m = (
|
|
10
|
+
/** @class */
|
|
11
|
+
(function(u) {
|
|
12
|
+
h(e, u);
|
|
13
|
+
function e() {
|
|
14
|
+
var t = u !== null && u.apply(this, arguments) || this;
|
|
15
|
+
return t.type = n + "Axis." + o, t;
|
|
16
|
+
}
|
|
17
|
+
return e.prototype.mergeDefaultAndTheme = function(t, i) {
|
|
18
|
+
var f = M(this), y = f ? v(t) : {}, g = i.getTheme();
|
|
19
|
+
a(t, g.get(o + "Axis")), a(t, this.getDefaultOption()), t.type = p(t), f && A(t, y, f);
|
|
20
|
+
}, e.prototype.optionUpdated = function() {
|
|
21
|
+
var t = this.option;
|
|
22
|
+
t.type === "category" && (this.__ordinalMeta = _.createByAxisModel(this));
|
|
23
|
+
}, e.prototype.getCategories = function(t) {
|
|
24
|
+
var i = this.option;
|
|
25
|
+
if (i.type === "category")
|
|
26
|
+
return t ? i.data : this.__ordinalMeta.categories;
|
|
27
|
+
}, e.prototype.getOrdinalMeta = function() {
|
|
28
|
+
return this.__ordinalMeta;
|
|
29
|
+
}, e.type = n + "Axis." + o, e.defaultOption = d, e;
|
|
30
|
+
})(l)
|
|
31
|
+
);
|
|
32
|
+
r.registerComponentModel(m);
|
|
33
|
+
}), r.registerSubTypeDefaulter(n + "Axis", p);
|
|
34
|
+
}
|
|
35
|
+
function p(r) {
|
|
36
|
+
return r.type || (r.data ? "category" : "value");
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
B as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { filter as E, map as d, isFunction as A, each as O } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import { getBoundingRect as P } from "../../../zrender/lib/contain/text.js";
|
|
3
|
+
import { makeInner as W } from "../util/model.js";
|
|
4
|
+
import { makeLabelFormatter as C, getOptionCategoryInterval as V, shouldShowAllLabels as j } from "./axisHelper.js";
|
|
5
|
+
var L = W();
|
|
6
|
+
function F(t, a) {
|
|
7
|
+
var e = d(a, function(r) {
|
|
8
|
+
return t.scale.parse(r);
|
|
9
|
+
});
|
|
10
|
+
return t.type === "time" && e.length > 0 && (e.sort(), e.unshift(e[0]), e.push(e[e.length - 1])), e;
|
|
11
|
+
}
|
|
12
|
+
function Z(t) {
|
|
13
|
+
var a = t.getLabelModel().get("customValues");
|
|
14
|
+
if (a) {
|
|
15
|
+
var e = C(t), r = t.scale.getExtent(), o = F(t, a), l = E(o, function(n) {
|
|
16
|
+
return n >= r[0] && n <= r[1];
|
|
17
|
+
});
|
|
18
|
+
return {
|
|
19
|
+
labels: d(l, function(n) {
|
|
20
|
+
var v = {
|
|
21
|
+
value: n
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
formattedLabel: e(v),
|
|
25
|
+
rawLabel: t.scale.getLabel(v),
|
|
26
|
+
tickValue: n
|
|
27
|
+
};
|
|
28
|
+
})
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return t.type === "category" ? G(t) : D(t);
|
|
32
|
+
}
|
|
33
|
+
function $(t, a) {
|
|
34
|
+
var e = t.getTickModel().get("customValues");
|
|
35
|
+
if (e) {
|
|
36
|
+
var r = t.scale.getExtent(), o = F(t, e);
|
|
37
|
+
return {
|
|
38
|
+
ticks: E(o, function(l) {
|
|
39
|
+
return l >= r[0] && l <= r[1];
|
|
40
|
+
})
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return t.type === "category" ? q(t, a) : {
|
|
44
|
+
ticks: d(t.scale.getTicks(), function(l) {
|
|
45
|
+
return l.value;
|
|
46
|
+
})
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function G(t) {
|
|
50
|
+
var a = t.getLabelModel(), e = N(t, a);
|
|
51
|
+
return !a.get("show") || t.scale.isBlank() ? {
|
|
52
|
+
labels: [],
|
|
53
|
+
labelCategoryInterval: e.labelCategoryInterval
|
|
54
|
+
} : e;
|
|
55
|
+
}
|
|
56
|
+
function N(t, a) {
|
|
57
|
+
var e = R(t, "labels"), r = V(a), o = S(e, r);
|
|
58
|
+
if (o)
|
|
59
|
+
return o;
|
|
60
|
+
var l, n;
|
|
61
|
+
return A(r) ? l = z(t, r) : (n = r === "auto" ? J(t) : r, l = H(t, n)), B(e, r, {
|
|
62
|
+
labels: l,
|
|
63
|
+
labelCategoryInterval: n
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function q(t, a) {
|
|
67
|
+
var e = R(t, "ticks"), r = V(a), o = S(e, r);
|
|
68
|
+
if (o)
|
|
69
|
+
return o;
|
|
70
|
+
var l, n;
|
|
71
|
+
if ((!a.get("show") || t.scale.isBlank()) && (l = []), A(r))
|
|
72
|
+
l = z(t, r, !0);
|
|
73
|
+
else if (r === "auto") {
|
|
74
|
+
var v = N(t, t.getLabelModel());
|
|
75
|
+
n = v.labelCategoryInterval, l = d(v.labels, function(u) {
|
|
76
|
+
return u.tickValue;
|
|
77
|
+
});
|
|
78
|
+
} else
|
|
79
|
+
n = r, l = H(t, n, !0);
|
|
80
|
+
return B(e, r, {
|
|
81
|
+
ticks: l,
|
|
82
|
+
tickCategoryInterval: n
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function D(t) {
|
|
86
|
+
var a = t.scale.getTicks(), e = C(t);
|
|
87
|
+
return {
|
|
88
|
+
labels: d(a, function(r, o) {
|
|
89
|
+
return {
|
|
90
|
+
level: r.level,
|
|
91
|
+
formattedLabel: e(r, o),
|
|
92
|
+
rawLabel: t.scale.getLabel(r),
|
|
93
|
+
tickValue: r.value
|
|
94
|
+
};
|
|
95
|
+
})
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function R(t, a) {
|
|
99
|
+
return L(t)[a] || (L(t)[a] = []);
|
|
100
|
+
}
|
|
101
|
+
function S(t, a) {
|
|
102
|
+
for (var e = 0; e < t.length; e++)
|
|
103
|
+
if (t[e].key === a)
|
|
104
|
+
return t[e].value;
|
|
105
|
+
}
|
|
106
|
+
function B(t, a, e) {
|
|
107
|
+
return t.push({
|
|
108
|
+
key: a,
|
|
109
|
+
value: e
|
|
110
|
+
}), e;
|
|
111
|
+
}
|
|
112
|
+
function J(t) {
|
|
113
|
+
var a = L(t).autoInterval;
|
|
114
|
+
return a ?? (L(t).autoInterval = t.calculateCategoryInterval());
|
|
115
|
+
}
|
|
116
|
+
function _(t) {
|
|
117
|
+
var a = K(t), e = C(t), r = (a.axisRotate - a.labelRotate) / 180 * Math.PI, o = t.scale, l = o.getExtent(), n = o.count();
|
|
118
|
+
if (l[1] - l[0] < 1)
|
|
119
|
+
return 0;
|
|
120
|
+
var v = 1;
|
|
121
|
+
n > 40 && (v = Math.max(1, Math.floor(n / 40)));
|
|
122
|
+
for (var u = l[0], c = t.dataToCoord(u + 1) - t.dataToCoord(u), p = Math.abs(c * Math.cos(r)), M = Math.abs(c * Math.sin(r)), m = 0, h = 0; u <= l[1]; u += v) {
|
|
123
|
+
var s = 0, f = 0, b = P(e({
|
|
124
|
+
value: u
|
|
125
|
+
}), a.font, "center", "top");
|
|
126
|
+
s = b.width * 1.3, f = b.height * 1.3, m = Math.max(m, s, 7), h = Math.max(h, f, 7);
|
|
127
|
+
}
|
|
128
|
+
var g = m / p, T = h / M;
|
|
129
|
+
isNaN(g) && (g = 1 / 0), isNaN(T) && (T = 1 / 0);
|
|
130
|
+
var k = Math.max(0, Math.floor(Math.min(g, T))), i = L(t.model), y = t.getExtent(), I = i.lastAutoInterval, w = i.lastTickCount;
|
|
131
|
+
return I != null && w != null && Math.abs(I - k) <= 1 && Math.abs(w - n) <= 1 && I > k && i.axisExtent0 === y[0] && i.axisExtent1 === y[1] ? k = I : (i.lastTickCount = n, i.lastAutoInterval = k, i.axisExtent0 = y[0], i.axisExtent1 = y[1]), k;
|
|
132
|
+
}
|
|
133
|
+
function K(t) {
|
|
134
|
+
var a = t.getLabelModel();
|
|
135
|
+
return {
|
|
136
|
+
axisRotate: t.getRotate ? t.getRotate() : t.isHorizontal && !t.isHorizontal() ? 90 : 0,
|
|
137
|
+
labelRotate: a.get("rotate") || 0,
|
|
138
|
+
font: a.getFont()
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function H(t, a, e) {
|
|
142
|
+
var r = C(t), o = t.scale, l = o.getExtent(), n = t.getLabelModel(), v = [], u = Math.max((a || 0) + 1, 1), c = l[0], p = o.count();
|
|
143
|
+
c !== 0 && u > 1 && p / u > 2 && (c = Math.round(Math.ceil(c / u) * u));
|
|
144
|
+
var M = j(t), m = n.get("showMinLabel") || M, h = n.get("showMaxLabel") || M;
|
|
145
|
+
m && c !== l[0] && f(l[0]);
|
|
146
|
+
for (var s = c; s <= l[1]; s += u)
|
|
147
|
+
f(s);
|
|
148
|
+
h && s - u !== l[1] && f(l[1]);
|
|
149
|
+
function f(b) {
|
|
150
|
+
var g = {
|
|
151
|
+
value: b
|
|
152
|
+
};
|
|
153
|
+
v.push(e ? b : {
|
|
154
|
+
formattedLabel: r(g),
|
|
155
|
+
rawLabel: o.getLabel(g),
|
|
156
|
+
tickValue: b
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
return v;
|
|
160
|
+
}
|
|
161
|
+
function z(t, a, e) {
|
|
162
|
+
var r = t.scale, o = C(t), l = [];
|
|
163
|
+
return O(r.getTicks(), function(n) {
|
|
164
|
+
var v = r.getLabel(n), u = n.value;
|
|
165
|
+
a(n.value, v) && l.push(e ? u : {
|
|
166
|
+
formattedLabel: o(n),
|
|
167
|
+
rawLabel: v,
|
|
168
|
+
tickValue: u
|
|
169
|
+
});
|
|
170
|
+
}), l;
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
_ as calculateCategoryInterval,
|
|
174
|
+
Z as createAxisLabels,
|
|
175
|
+
$ as createAxisTicks
|
|
176
|
+
};
|