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,50 @@
|
|
|
1
|
+
import { createHashMap as y, each as B } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import { addSafe as f } from "../util/number.js";
|
|
3
|
+
function C(o) {
|
|
4
|
+
var e = y();
|
|
5
|
+
o.eachSeries(function(c) {
|
|
6
|
+
var s = c.get("stack");
|
|
7
|
+
if (s) {
|
|
8
|
+
var n = e.get(s) || e.set(s, []), a = c.getData(), i = {
|
|
9
|
+
// Used for calculate axis extent automatically.
|
|
10
|
+
// TODO: Type getCalculationInfo return more specific type?
|
|
11
|
+
stackResultDimension: a.getCalculationInfo("stackResultDimension"),
|
|
12
|
+
stackedOverDimension: a.getCalculationInfo("stackedOverDimension"),
|
|
13
|
+
stackedDimension: a.getCalculationInfo("stackedDimension"),
|
|
14
|
+
stackedByDimension: a.getCalculationInfo("stackedByDimension"),
|
|
15
|
+
isStackedByIndex: a.getCalculationInfo("isStackedByIndex"),
|
|
16
|
+
data: a,
|
|
17
|
+
seriesModel: c
|
|
18
|
+
};
|
|
19
|
+
if (!i.stackedDimension || !(i.isStackedByIndex || i.stackedByDimension))
|
|
20
|
+
return;
|
|
21
|
+
n.length && a.setCalculationInfo("stackedOnSeries", n[n.length - 1].seriesModel), n.push(i);
|
|
22
|
+
}
|
|
23
|
+
}), e.each(N);
|
|
24
|
+
}
|
|
25
|
+
function N(o) {
|
|
26
|
+
B(o, function(e, c) {
|
|
27
|
+
var s = [], n = [NaN, NaN], a = [e.stackResultDimension, e.stackedOverDimension], i = e.data, D = e.isStackedByIndex, d = e.seriesModel.get("stackStrategy") || "samesign";
|
|
28
|
+
i.modify(a, function(x, h, l) {
|
|
29
|
+
var t = i.get(e.stackedDimension, l);
|
|
30
|
+
if (isNaN(t))
|
|
31
|
+
return n;
|
|
32
|
+
var g, m;
|
|
33
|
+
D ? m = i.getRawIndex(l) : g = i.get(e.stackedByDimension, l);
|
|
34
|
+
for (var k = NaN, v = c - 1; v >= 0; v--) {
|
|
35
|
+
var u = o[v];
|
|
36
|
+
if (D || (m = u.data.rawIndexOf(u.stackedByDimension, g)), m >= 0) {
|
|
37
|
+
var r = u.data.getByRawIndex(u.stackResultDimension, m);
|
|
38
|
+
if (d === "all" || d === "positive" && r > 0 || d === "negative" && r < 0 || d === "samesign" && t >= 0 && r > 0 || d === "samesign" && t <= 0 && r < 0) {
|
|
39
|
+
t = f(t, r), k = r;
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return s[0] = t, s[1] = k, s;
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
C as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isNumber as n } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
function o(t) {
|
|
3
|
+
return {
|
|
4
|
+
seriesType: t,
|
|
5
|
+
reset: function(a, f) {
|
|
6
|
+
var e = a.getData();
|
|
7
|
+
e.filterSelf(function(i) {
|
|
8
|
+
var u = e.mapDimension("value"), r = e.get(u, i);
|
|
9
|
+
return !(n(r) && !isNaN(r) && r < 0);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
o as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { __extends as _ } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { round as y, getPrecision as m } from "../util/number.js";
|
|
3
|
+
import { addCommas as g } from "../util/format.js";
|
|
4
|
+
import h from "./Scale.js";
|
|
5
|
+
import { contain as E, normalize as k, scale as N, getIntervalPrecision as P, intervalScaleNiceTicks as I } from "./helper.js";
|
|
6
|
+
var v = y, M = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function(u) {
|
|
9
|
+
_(a, u);
|
|
10
|
+
function a() {
|
|
11
|
+
var t = u !== null && u.apply(this, arguments) || this;
|
|
12
|
+
return t.type = "interval", t._interval = 0, t._intervalPrecision = 2, t;
|
|
13
|
+
}
|
|
14
|
+
return a.prototype.parse = function(t) {
|
|
15
|
+
return t;
|
|
16
|
+
}, a.prototype.contain = function(t) {
|
|
17
|
+
return E(t, this._extent);
|
|
18
|
+
}, a.prototype.normalize = function(t) {
|
|
19
|
+
return k(t, this._extent);
|
|
20
|
+
}, a.prototype.scale = function(t) {
|
|
21
|
+
return N(t, this._extent);
|
|
22
|
+
}, a.prototype.setExtent = function(t, e) {
|
|
23
|
+
var i = this._extent;
|
|
24
|
+
isNaN(t) || (i[0] = parseFloat(t)), isNaN(e) || (i[1] = parseFloat(e));
|
|
25
|
+
}, a.prototype.unionExtent = function(t) {
|
|
26
|
+
var e = this._extent;
|
|
27
|
+
t[0] < e[0] && (e[0] = t[0]), t[1] > e[1] && (e[1] = t[1]), this.setExtent(e[0], e[1]);
|
|
28
|
+
}, a.prototype.getInterval = function() {
|
|
29
|
+
return this._interval;
|
|
30
|
+
}, a.prototype.setInterval = function(t) {
|
|
31
|
+
this._interval = t, this._niceExtent = this._extent.slice(), this._intervalPrecision = P(t);
|
|
32
|
+
}, a.prototype.getTicks = function(t) {
|
|
33
|
+
var e = this._interval, i = this._extent, s = this._niceExtent, r = this._intervalPrecision, n = [];
|
|
34
|
+
if (!e)
|
|
35
|
+
return n;
|
|
36
|
+
var c = 1e4;
|
|
37
|
+
i[0] < s[0] && (t ? n.push({
|
|
38
|
+
value: v(s[0] - e, r)
|
|
39
|
+
}) : n.push({
|
|
40
|
+
value: i[0]
|
|
41
|
+
}));
|
|
42
|
+
for (var l = s[0]; l <= s[1] && (n.push({
|
|
43
|
+
value: l
|
|
44
|
+
}), l = v(l + e, r), l !== n[n.length - 1].value); )
|
|
45
|
+
if (n.length > c)
|
|
46
|
+
return [];
|
|
47
|
+
var o = n.length ? n[n.length - 1].value : s[1];
|
|
48
|
+
return i[1] > o && (t ? n.push({
|
|
49
|
+
value: v(o + e, r)
|
|
50
|
+
}) : n.push({
|
|
51
|
+
value: i[1]
|
|
52
|
+
})), n;
|
|
53
|
+
}, a.prototype.getMinorTicks = function(t) {
|
|
54
|
+
for (var e = this.getTicks(!0), i = [], s = this.getExtent(), r = 1; r < e.length; r++) {
|
|
55
|
+
for (var n = e[r], c = e[r - 1], l = 0, o = [], p = n.value - c.value, x = p / t; l < t - 1; ) {
|
|
56
|
+
var f = v(c.value + (l + 1) * x);
|
|
57
|
+
f > s[0] && f < s[1] && o.push(f), l++;
|
|
58
|
+
}
|
|
59
|
+
i.push(o);
|
|
60
|
+
}
|
|
61
|
+
return i;
|
|
62
|
+
}, a.prototype.getLabel = function(t, e) {
|
|
63
|
+
if (t == null)
|
|
64
|
+
return "";
|
|
65
|
+
var i = e && e.precision;
|
|
66
|
+
i == null ? i = m(t.value) || 0 : i === "auto" && (i = this._intervalPrecision);
|
|
67
|
+
var s = v(t.value, i, !0);
|
|
68
|
+
return g(s);
|
|
69
|
+
}, a.prototype.calcNiceTicks = function(t, e, i) {
|
|
70
|
+
t = t || 5;
|
|
71
|
+
var s = this._extent, r = s[1] - s[0];
|
|
72
|
+
if (isFinite(r)) {
|
|
73
|
+
r < 0 && (r = -r, s.reverse());
|
|
74
|
+
var n = I(s, t, e, i);
|
|
75
|
+
this._intervalPrecision = n.intervalPrecision, this._interval = n.interval, this._niceExtent = n.niceTickExtent;
|
|
76
|
+
}
|
|
77
|
+
}, a.prototype.calcNiceExtent = function(t) {
|
|
78
|
+
var e = this._extent;
|
|
79
|
+
if (e[0] === e[1])
|
|
80
|
+
if (e[0] !== 0) {
|
|
81
|
+
var i = Math.abs(e[0]);
|
|
82
|
+
t.fixMax || (e[1] += i / 2), e[0] -= i / 2;
|
|
83
|
+
} else
|
|
84
|
+
e[1] = 1;
|
|
85
|
+
var s = e[1] - e[0];
|
|
86
|
+
isFinite(s) || (e[0] = 0, e[1] = 1), this.calcNiceTicks(t.splitNumber, t.minInterval, t.maxInterval);
|
|
87
|
+
var r = this._interval;
|
|
88
|
+
t.fixMin || (e[0] = v(Math.floor(e[0] / r) * r)), t.fixMax || (e[1] = v(Math.ceil(e[1] / r) * r));
|
|
89
|
+
}, a.prototype.setNiceExtent = function(t, e) {
|
|
90
|
+
this._niceExtent = [t, e];
|
|
91
|
+
}, a.type = "interval", a;
|
|
92
|
+
})(h)
|
|
93
|
+
);
|
|
94
|
+
h.registerClass(M);
|
|
95
|
+
export {
|
|
96
|
+
M as default
|
|
97
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { __extends as _ } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { map as M } from "../../../zrender/lib/core/util.js";
|
|
3
|
+
import g from "./Scale.js";
|
|
4
|
+
import { round as p, quantity as b, getPrecision as S } from "../util/number.js";
|
|
5
|
+
import { contain as w, normalize as L, scale as k } from "./helper.js";
|
|
6
|
+
import m from "./Interval.js";
|
|
7
|
+
var v = g.prototype, l = m.prototype, P = p, d = Math.floor, F = Math.ceil, c = Math.pow, a = Math.log, E = (
|
|
8
|
+
/** @class */
|
|
9
|
+
(function(s) {
|
|
10
|
+
_(n, s);
|
|
11
|
+
function n() {
|
|
12
|
+
var t = s !== null && s.apply(this, arguments) || this;
|
|
13
|
+
return t.type = "log", t.base = 10, t._originalScale = new m(), t._interval = 0, t;
|
|
14
|
+
}
|
|
15
|
+
return n.prototype.getTicks = function(t) {
|
|
16
|
+
var i = this._originalScale, r = this._extent, e = i.getExtent(), x = l.getTicks.call(this, t);
|
|
17
|
+
return M(x, function(u) {
|
|
18
|
+
var f = u.value, o = p(c(this.base, f));
|
|
19
|
+
return o = f === r[0] && this._fixMin ? h(o, e[0]) : o, o = f === r[1] && this._fixMax ? h(o, e[1]) : o, {
|
|
20
|
+
value: o
|
|
21
|
+
};
|
|
22
|
+
}, this);
|
|
23
|
+
}, n.prototype.setExtent = function(t, i) {
|
|
24
|
+
var r = a(this.base);
|
|
25
|
+
t = a(Math.max(0, t)) / r, i = a(Math.max(0, i)) / r, l.setExtent.call(this, t, i);
|
|
26
|
+
}, n.prototype.getExtent = function() {
|
|
27
|
+
var t = this.base, i = v.getExtent.call(this);
|
|
28
|
+
i[0] = c(t, i[0]), i[1] = c(t, i[1]);
|
|
29
|
+
var r = this._originalScale, e = r.getExtent();
|
|
30
|
+
return this._fixMin && (i[0] = h(i[0], e[0])), this._fixMax && (i[1] = h(i[1], e[1])), i;
|
|
31
|
+
}, n.prototype.unionExtent = function(t) {
|
|
32
|
+
this._originalScale.unionExtent(t);
|
|
33
|
+
var i = this.base;
|
|
34
|
+
t[0] = a(t[0]) / a(i), t[1] = a(t[1]) / a(i), v.unionExtent.call(this, t);
|
|
35
|
+
}, n.prototype.unionExtentFromData = function(t, i) {
|
|
36
|
+
this.unionExtent(t.getApproximateExtent(i));
|
|
37
|
+
}, n.prototype.calcNiceTicks = function(t) {
|
|
38
|
+
t = t || 10;
|
|
39
|
+
var i = this._extent, r = i[1] - i[0];
|
|
40
|
+
if (!(r === 1 / 0 || r <= 0)) {
|
|
41
|
+
var e = b(r), x = t / r * e;
|
|
42
|
+
for (x <= 0.5 && (e *= 10); !isNaN(e) && Math.abs(e) < 1 && Math.abs(e) > 0; )
|
|
43
|
+
e *= 10;
|
|
44
|
+
var u = [p(F(i[0] / e) * e), p(d(i[1] / e) * e)];
|
|
45
|
+
this._interval = e, this._niceExtent = u;
|
|
46
|
+
}
|
|
47
|
+
}, n.prototype.calcNiceExtent = function(t) {
|
|
48
|
+
l.calcNiceExtent.call(this, t), this._fixMin = t.fixMin, this._fixMax = t.fixMax;
|
|
49
|
+
}, n.prototype.parse = function(t) {
|
|
50
|
+
return t;
|
|
51
|
+
}, n.prototype.contain = function(t) {
|
|
52
|
+
return t = a(t) / a(this.base), w(t, this._extent);
|
|
53
|
+
}, n.prototype.normalize = function(t) {
|
|
54
|
+
return t = a(t) / a(this.base), L(t, this._extent);
|
|
55
|
+
}, n.prototype.scale = function(t) {
|
|
56
|
+
return t = k(t, this._extent), c(this.base, t);
|
|
57
|
+
}, n.type = "log", n;
|
|
58
|
+
})(g)
|
|
59
|
+
), y = E.prototype;
|
|
60
|
+
y.getMinorTicks = l.getMinorTicks;
|
|
61
|
+
y.getLabel = l.getLabel;
|
|
62
|
+
function h(s, n) {
|
|
63
|
+
return P(s, S(n));
|
|
64
|
+
}
|
|
65
|
+
g.registerClass(E);
|
|
66
|
+
export {
|
|
67
|
+
E as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { __extends as f } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import p from "./Scale.js";
|
|
3
|
+
import c from "../data/OrdinalMeta.js";
|
|
4
|
+
import { contain as d, normalize as g, scale as y } from "./helper.js";
|
|
5
|
+
import { isArray as m, map as _, isObject as x, isString as N } from "../../../zrender/lib/core/util.js";
|
|
6
|
+
var O = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function(s) {
|
|
9
|
+
f(r, s);
|
|
10
|
+
function r(t) {
|
|
11
|
+
var e = s.call(this, t) || this;
|
|
12
|
+
e.type = "ordinal";
|
|
13
|
+
var n = e.getSetting("ordinalMeta");
|
|
14
|
+
return n || (n = new c({})), m(n) && (n = new c({
|
|
15
|
+
categories: _(n, function(o) {
|
|
16
|
+
return x(o) ? o.value : o;
|
|
17
|
+
})
|
|
18
|
+
})), e._ordinalMeta = n, e._extent = e.getSetting("extent") || [0, n.categories.length - 1], e;
|
|
19
|
+
}
|
|
20
|
+
return r.prototype.parse = function(t) {
|
|
21
|
+
return t == null ? NaN : N(t) ? this._ordinalMeta.getOrdinal(t) : Math.round(t);
|
|
22
|
+
}, r.prototype.contain = function(t) {
|
|
23
|
+
return t = this.parse(t), d(t, this._extent) && this._ordinalMeta.categories[t] != null;
|
|
24
|
+
}, r.prototype.normalize = function(t) {
|
|
25
|
+
return t = this._getTickNumber(this.parse(t)), g(t, this._extent);
|
|
26
|
+
}, r.prototype.scale = function(t) {
|
|
27
|
+
return t = Math.round(y(t, this._extent)), this.getRawOrdinalNumber(t);
|
|
28
|
+
}, r.prototype.getTicks = function() {
|
|
29
|
+
for (var t = [], e = this._extent, n = e[0]; n <= e[1]; )
|
|
30
|
+
t.push({
|
|
31
|
+
value: n
|
|
32
|
+
}), n++;
|
|
33
|
+
return t;
|
|
34
|
+
}, r.prototype.getMinorTicks = function(t) {
|
|
35
|
+
}, r.prototype.setSortInfo = function(t) {
|
|
36
|
+
if (t == null) {
|
|
37
|
+
this._ordinalNumbersByTick = this._ticksByOrdinalNumber = null;
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
for (var e = t.ordinalNumbers, n = this._ordinalNumbersByTick = [], o = this._ticksByOrdinalNumber = [], i = 0, u = this._ordinalMeta.categories.length, h = Math.min(u, e.length); i < h; ++i) {
|
|
41
|
+
var l = e[i];
|
|
42
|
+
n[i] = l, o[l] = i;
|
|
43
|
+
}
|
|
44
|
+
for (var a = 0; i < u; ++i) {
|
|
45
|
+
for (; o[a] != null; )
|
|
46
|
+
a++;
|
|
47
|
+
n.push(a), o[a] = i;
|
|
48
|
+
}
|
|
49
|
+
}, r.prototype._getTickNumber = function(t) {
|
|
50
|
+
var e = this._ticksByOrdinalNumber;
|
|
51
|
+
return e && t >= 0 && t < e.length ? e[t] : t;
|
|
52
|
+
}, r.prototype.getRawOrdinalNumber = function(t) {
|
|
53
|
+
var e = this._ordinalNumbersByTick;
|
|
54
|
+
return e && t >= 0 && t < e.length ? e[t] : t;
|
|
55
|
+
}, r.prototype.getLabel = function(t) {
|
|
56
|
+
if (!this.isBlank()) {
|
|
57
|
+
var e = this.getRawOrdinalNumber(t.value), n = this._ordinalMeta.categories[e];
|
|
58
|
+
return n == null ? "" : n + "";
|
|
59
|
+
}
|
|
60
|
+
}, r.prototype.count = function() {
|
|
61
|
+
return this._extent[1] - this._extent[0] + 1;
|
|
62
|
+
}, r.prototype.unionExtentFromData = function(t, e) {
|
|
63
|
+
this.unionExtent(t.getApproximateExtent(e));
|
|
64
|
+
}, r.prototype.isInExtentRange = function(t) {
|
|
65
|
+
return t = this._getTickNumber(t), this._extent[0] <= t && this._extent[1] >= t;
|
|
66
|
+
}, r.prototype.getOrdinalMeta = function() {
|
|
67
|
+
return this._ordinalMeta;
|
|
68
|
+
}, r.prototype.calcNiceTicks = function() {
|
|
69
|
+
}, r.prototype.calcNiceExtent = function() {
|
|
70
|
+
}, r.type = "ordinal", r;
|
|
71
|
+
})(p)
|
|
72
|
+
);
|
|
73
|
+
p.registerClass(O);
|
|
74
|
+
export {
|
|
75
|
+
O as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { enableClassManagement as o } from "../util/clazz.js";
|
|
2
|
+
var s = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function() {
|
|
5
|
+
function n(t) {
|
|
6
|
+
this._setting = t || {}, this._extent = [1 / 0, -1 / 0];
|
|
7
|
+
}
|
|
8
|
+
return n.prototype.getSetting = function(t) {
|
|
9
|
+
return this._setting[t];
|
|
10
|
+
}, n.prototype.unionExtent = function(t) {
|
|
11
|
+
var e = this._extent;
|
|
12
|
+
t[0] < e[0] && (e[0] = t[0]), t[1] > e[1] && (e[1] = t[1]);
|
|
13
|
+
}, n.prototype.unionExtentFromData = function(t, e) {
|
|
14
|
+
this.unionExtent(t.getApproximateExtent(e));
|
|
15
|
+
}, n.prototype.getExtent = function() {
|
|
16
|
+
return this._extent.slice();
|
|
17
|
+
}, n.prototype.setExtent = function(t, e) {
|
|
18
|
+
var i = this._extent;
|
|
19
|
+
isNaN(t) || (i[0] = t), isNaN(e) || (i[1] = e);
|
|
20
|
+
}, n.prototype.isInExtentRange = function(t) {
|
|
21
|
+
return this._extent[0] <= t && this._extent[1] >= t;
|
|
22
|
+
}, n.prototype.isBlank = function() {
|
|
23
|
+
return this._isBlank;
|
|
24
|
+
}, n.prototype.setBlank = function(t) {
|
|
25
|
+
this._isBlank = t;
|
|
26
|
+
}, n;
|
|
27
|
+
})()
|
|
28
|
+
);
|
|
29
|
+
o(s);
|
|
30
|
+
export {
|
|
31
|
+
s as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { __extends as re } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { parseDate as p, nice as ne } from "../util/number.js";
|
|
3
|
+
import { format as ae, fullLeveledFormatter as j, getDefaultFormatPrecisionOfInterval as ue, getPrimaryTimeUnit as A, leveledFormat as ie, ONE_DAY as v, ONE_SECOND as W, ONE_MINUTE as Z, ONE_HOUR as F, ONE_YEAR as J, timeUnits as se, isPrimaryTimeUnit as oe, secondsSetterName as $, millisecondsSetterName as I, minutesSetterName as U, hoursSetterName as T, dateSetterName as C, monthSetterName as x, getUnitValue as K, millisecondsGetterName as ce, secondsGetterName as fe, minutesGetterName as le, hoursGetterName as he, dateGetterName as ve, monthGetterName as me, fullYearGetterName as de, fullYearSetterName as ge } from "../util/time.js";
|
|
4
|
+
import { contain as ye, normalize as Se, scale as _e } from "./helper.js";
|
|
5
|
+
import we from "./Interval.js";
|
|
6
|
+
import be from "./Scale.js";
|
|
7
|
+
import { isNumber as Me, filter as Q, map as De } from "../../../zrender/lib/core/util.js";
|
|
8
|
+
var Oe = function(r, n, e, t) {
|
|
9
|
+
for (; e < t; ) {
|
|
10
|
+
var a = e + t >>> 1;
|
|
11
|
+
r[a][1] < n ? e = a + 1 : t = a;
|
|
12
|
+
}
|
|
13
|
+
return e;
|
|
14
|
+
}, Ee = (
|
|
15
|
+
/** @class */
|
|
16
|
+
(function(r) {
|
|
17
|
+
re(n, r);
|
|
18
|
+
function n(e) {
|
|
19
|
+
var t = r.call(this, e) || this;
|
|
20
|
+
return t.type = "time", t;
|
|
21
|
+
}
|
|
22
|
+
return n.prototype.getLabel = function(e) {
|
|
23
|
+
var t = this.getSetting("useUTC");
|
|
24
|
+
return ae(e.value, j[ue(A(this._minLevelUnit))] || j.second, t, this.getSetting("locale"));
|
|
25
|
+
}, n.prototype.getFormattedLabel = function(e, t, a) {
|
|
26
|
+
var i = this.getSetting("useUTC"), o = this.getSetting("locale");
|
|
27
|
+
return ie(e, t, a, o, i);
|
|
28
|
+
}, n.prototype.getTicks = function() {
|
|
29
|
+
var e = this._interval, t = this._extent, a = [];
|
|
30
|
+
if (!e)
|
|
31
|
+
return a;
|
|
32
|
+
a.push({
|
|
33
|
+
value: t[0],
|
|
34
|
+
level: 0
|
|
35
|
+
});
|
|
36
|
+
var i = this.getSetting("useUTC"), o = Ye(this._minLevelUnit, this._approxInterval, i, t);
|
|
37
|
+
return a = a.concat(o), a.push({
|
|
38
|
+
value: t[1],
|
|
39
|
+
level: 0
|
|
40
|
+
}), a;
|
|
41
|
+
}, n.prototype.calcNiceExtent = function(e) {
|
|
42
|
+
var t = this._extent;
|
|
43
|
+
if (t[0] === t[1] && (t[0] -= v, t[1] += v), t[1] === -1 / 0 && t[0] === 1 / 0) {
|
|
44
|
+
var a = /* @__PURE__ */ new Date();
|
|
45
|
+
t[1] = +new Date(a.getFullYear(), a.getMonth(), a.getDate()), t[0] = t[1] - v;
|
|
46
|
+
}
|
|
47
|
+
this.calcNiceTicks(e.splitNumber, e.minInterval, e.maxInterval);
|
|
48
|
+
}, n.prototype.calcNiceTicks = function(e, t, a) {
|
|
49
|
+
e = e || 10;
|
|
50
|
+
var i = this._extent, o = i[1] - i[0];
|
|
51
|
+
this._approxInterval = o / e, t != null && this._approxInterval < t && (this._approxInterval = t), a != null && this._approxInterval > a && (this._approxInterval = a);
|
|
52
|
+
var g = k.length, y = Math.min(Oe(k, this._approxInterval, 0, g), g - 1);
|
|
53
|
+
this._interval = k[y][1], this._minLevelUnit = k[Math.max(y - 1, 0)][0];
|
|
54
|
+
}, n.prototype.parse = function(e) {
|
|
55
|
+
return Me(e) ? e : +p(e);
|
|
56
|
+
}, n.prototype.contain = function(e) {
|
|
57
|
+
return ye(this.parse(e), this._extent);
|
|
58
|
+
}, n.prototype.normalize = function(e) {
|
|
59
|
+
return Se(this.parse(e), this._extent);
|
|
60
|
+
}, n.prototype.scale = function(e) {
|
|
61
|
+
return _e(e, this._extent);
|
|
62
|
+
}, n.type = "time", n;
|
|
63
|
+
})(we)
|
|
64
|
+
), k = [
|
|
65
|
+
// Format interval
|
|
66
|
+
["second", W],
|
|
67
|
+
["minute", Z],
|
|
68
|
+
["hour", F],
|
|
69
|
+
["quarter-day", F * 6],
|
|
70
|
+
["half-day", F * 12],
|
|
71
|
+
["day", v * 1.2],
|
|
72
|
+
["half-week", v * 3.5],
|
|
73
|
+
["week", v * 7],
|
|
74
|
+
["month", v * 31],
|
|
75
|
+
["quarter", v * 95],
|
|
76
|
+
["half-year", J / 2],
|
|
77
|
+
["year", J]
|
|
78
|
+
// 1Y
|
|
79
|
+
];
|
|
80
|
+
function Le(r, n, e, t) {
|
|
81
|
+
var a = p(n), i = p(e), o = function(N) {
|
|
82
|
+
return K(a, N, t) === K(i, N, t);
|
|
83
|
+
}, g = function() {
|
|
84
|
+
return o("year");
|
|
85
|
+
}, y = function() {
|
|
86
|
+
return g() && o("month");
|
|
87
|
+
}, S = function() {
|
|
88
|
+
return y() && o("day");
|
|
89
|
+
}, l = function() {
|
|
90
|
+
return S() && o("hour");
|
|
91
|
+
}, _ = function() {
|
|
92
|
+
return l() && o("minute");
|
|
93
|
+
}, E = function() {
|
|
94
|
+
return _() && o("second");
|
|
95
|
+
}, u = function() {
|
|
96
|
+
return E() && o("millisecond");
|
|
97
|
+
};
|
|
98
|
+
switch (r) {
|
|
99
|
+
case "year":
|
|
100
|
+
return g();
|
|
101
|
+
case "month":
|
|
102
|
+
return y();
|
|
103
|
+
case "day":
|
|
104
|
+
return S();
|
|
105
|
+
case "hour":
|
|
106
|
+
return l();
|
|
107
|
+
case "minute":
|
|
108
|
+
return _();
|
|
109
|
+
case "second":
|
|
110
|
+
return E();
|
|
111
|
+
case "millisecond":
|
|
112
|
+
return u();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function Ae(r, n) {
|
|
116
|
+
return r /= v, r > 16 ? 16 : r > 7.5 ? 7 : r > 3.5 ? 4 : r > 1.5 ? 2 : 1;
|
|
117
|
+
}
|
|
118
|
+
function Ne(r) {
|
|
119
|
+
var n = 30 * v;
|
|
120
|
+
return r /= n, r > 6 ? 6 : r > 3 ? 3 : r > 2 ? 2 : 1;
|
|
121
|
+
}
|
|
122
|
+
function ke(r) {
|
|
123
|
+
return r /= F, r > 12 ? 12 : r > 6 ? 6 : r > 3.5 ? 4 : r > 2 ? 2 : 1;
|
|
124
|
+
}
|
|
125
|
+
function V(r, n) {
|
|
126
|
+
return r /= n ? Z : W, r > 30 ? 30 : r > 20 ? 20 : r > 15 ? 15 : r > 10 ? 10 : r > 5 ? 5 : r > 2 ? 2 : 1;
|
|
127
|
+
}
|
|
128
|
+
function Fe(r) {
|
|
129
|
+
return ne(r);
|
|
130
|
+
}
|
|
131
|
+
function Ge(r, n, e) {
|
|
132
|
+
var t = new Date(r);
|
|
133
|
+
switch (A(n)) {
|
|
134
|
+
case "year":
|
|
135
|
+
case "month":
|
|
136
|
+
t[x(e)](0);
|
|
137
|
+
case "day":
|
|
138
|
+
t[C(e)](1);
|
|
139
|
+
case "hour":
|
|
140
|
+
t[T(e)](0);
|
|
141
|
+
case "minute":
|
|
142
|
+
t[U(e)](0);
|
|
143
|
+
case "second":
|
|
144
|
+
t[$(e)](0), t[I(e)](0);
|
|
145
|
+
}
|
|
146
|
+
return t.getTime();
|
|
147
|
+
}
|
|
148
|
+
function Ye(r, n, e, t) {
|
|
149
|
+
var a = 1e4, i = se, o = 0;
|
|
150
|
+
function g(f, s, M, D, H, m, L) {
|
|
151
|
+
for (var O = new Date(s), c = s, h = O[D](); c < M && c <= t[1]; )
|
|
152
|
+
L.push({
|
|
153
|
+
value: c
|
|
154
|
+
}), h += f, O[H](h), c = O.getTime();
|
|
155
|
+
L.push({
|
|
156
|
+
value: c,
|
|
157
|
+
notAdd: !0
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
function y(f, s, M) {
|
|
161
|
+
var D = [], H = !s.length;
|
|
162
|
+
if (!Le(A(f), t[0], t[1], e)) {
|
|
163
|
+
H && (s = [{
|
|
164
|
+
// TODO Optimize. Not include so may ticks.
|
|
165
|
+
value: Ge(new Date(t[0]), f, e)
|
|
166
|
+
}, {
|
|
167
|
+
value: t[1]
|
|
168
|
+
}]);
|
|
169
|
+
for (var m = 0; m < s.length - 1; m++) {
|
|
170
|
+
var L = s[m].value, O = s[m + 1].value;
|
|
171
|
+
if (L !== O) {
|
|
172
|
+
var c = void 0, h = void 0, d = void 0, X = !1;
|
|
173
|
+
switch (f) {
|
|
174
|
+
case "year":
|
|
175
|
+
c = Math.max(1, Math.round(n / v / 365)), h = de(e), d = ge(e);
|
|
176
|
+
break;
|
|
177
|
+
case "half-year":
|
|
178
|
+
case "quarter":
|
|
179
|
+
case "month":
|
|
180
|
+
c = Ne(n), h = me(e), d = x(e);
|
|
181
|
+
break;
|
|
182
|
+
case "week":
|
|
183
|
+
// PENDING If week is added. Ignore day.
|
|
184
|
+
case "half-week":
|
|
185
|
+
case "day":
|
|
186
|
+
c = Ae(n), h = ve(e), d = C(e), X = !0;
|
|
187
|
+
break;
|
|
188
|
+
case "half-day":
|
|
189
|
+
case "quarter-day":
|
|
190
|
+
case "hour":
|
|
191
|
+
c = ke(n), h = he(e), d = T(e);
|
|
192
|
+
break;
|
|
193
|
+
case "minute":
|
|
194
|
+
c = V(n, !0), h = le(e), d = U(e);
|
|
195
|
+
break;
|
|
196
|
+
case "second":
|
|
197
|
+
c = V(n, !1), h = fe(e), d = $(e);
|
|
198
|
+
break;
|
|
199
|
+
case "millisecond":
|
|
200
|
+
c = Fe(n), h = ce(e), d = I(e);
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
g(c, L, O, h, d, X, D), f === "year" && M.length > 1 && m === 0 && M.unshift({
|
|
204
|
+
value: M[0].value - c
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
for (var m = 0; m < D.length; m++)
|
|
209
|
+
M.push(D[m]);
|
|
210
|
+
return D;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
for (var S = [], l = [], _ = 0, E = 0, u = 0; u < i.length && o++ < a; ++u) {
|
|
214
|
+
var N = A(i[u]);
|
|
215
|
+
if (oe(i[u])) {
|
|
216
|
+
y(i[u], S[S.length - 1] || [], l);
|
|
217
|
+
var ee = i[u + 1] ? A(i[u + 1]) : null;
|
|
218
|
+
if (N !== ee) {
|
|
219
|
+
if (l.length) {
|
|
220
|
+
E = _, l.sort(function(f, s) {
|
|
221
|
+
return f.value - s.value;
|
|
222
|
+
});
|
|
223
|
+
for (var z = [], w = 0; w < l.length; ++w) {
|
|
224
|
+
var G = l[w].value;
|
|
225
|
+
(w === 0 || l[w - 1].value !== G) && (z.push(l[w]), G >= t[0] && G <= t[1] && _++);
|
|
226
|
+
}
|
|
227
|
+
var Y = (t[1] - t[0]) / n;
|
|
228
|
+
if (_ > Y * 1.5 && E > Y / 1.5 || (S.push(z), _ > Y || r === i[u]))
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
l = [];
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
for (var P = Q(De(S, function(f) {
|
|
236
|
+
return Q(f, function(s) {
|
|
237
|
+
return s.value >= t[0] && s.value <= t[1] && !s.notAdd;
|
|
238
|
+
});
|
|
239
|
+
}), function(f) {
|
|
240
|
+
return f.length > 0;
|
|
241
|
+
}), b = [], te = P.length - 1, u = 0; u < P.length; ++u)
|
|
242
|
+
for (var R = P[u], q = 0; q < R.length; ++q)
|
|
243
|
+
b.push({
|
|
244
|
+
value: R[q].value,
|
|
245
|
+
level: te - u
|
|
246
|
+
});
|
|
247
|
+
b.sort(function(f, s) {
|
|
248
|
+
return f.value - s.value;
|
|
249
|
+
});
|
|
250
|
+
for (var B = [], u = 0; u < b.length; ++u)
|
|
251
|
+
(u === 0 || b[u].value !== b[u - 1].value) && B.push(b[u]);
|
|
252
|
+
return B;
|
|
253
|
+
}
|
|
254
|
+
be.registerClass(Ee);
|
|
255
|
+
export {
|
|
256
|
+
Ee as default
|
|
257
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getPrecision as c, nice as h, round as l, quantityExponent as M } from "../util/number.js";
|
|
2
|
+
function m(r) {
|
|
3
|
+
return r.type === "interval" || r.type === "log";
|
|
4
|
+
}
|
|
5
|
+
function F(r, i, o, f) {
|
|
6
|
+
var u = {}, v = r[1] - r[0], a = u.interval = h(v / i);
|
|
7
|
+
o != null && a < o && (a = u.interval = o), f != null && a > f && (a = u.interval = f);
|
|
8
|
+
var n = u.intervalPrecision = g(a), p = u.niceTickExtent = [l(Math.ceil(r[0] / a) * a, n), l(Math.floor(r[1] / a) * a, n)];
|
|
9
|
+
return y(p, r), u;
|
|
10
|
+
}
|
|
11
|
+
function S(r) {
|
|
12
|
+
var i = Math.pow(10, M(r)), o = r / i;
|
|
13
|
+
return o ? o === 2 ? o = 3 : o === 3 ? o = 5 : o *= 2 : o = 1, l(o * i);
|
|
14
|
+
}
|
|
15
|
+
function g(r) {
|
|
16
|
+
return c(r) + 2;
|
|
17
|
+
}
|
|
18
|
+
function s(r, i, o) {
|
|
19
|
+
r[i] = Math.max(Math.min(r[i], o[1]), o[0]);
|
|
20
|
+
}
|
|
21
|
+
function y(r, i) {
|
|
22
|
+
!isFinite(r[0]) && (r[0] = i[0]), !isFinite(r[1]) && (r[1] = i[1]), s(r, 0, i), s(r, 1, i), r[0] > r[1] && (r[0] = r[1]);
|
|
23
|
+
}
|
|
24
|
+
function q(r, i) {
|
|
25
|
+
return r >= i[0] && r <= i[1];
|
|
26
|
+
}
|
|
27
|
+
function w(r, i) {
|
|
28
|
+
return i[1] === i[0] ? 0.5 : (r - i[0]) / (i[1] - i[0]);
|
|
29
|
+
}
|
|
30
|
+
function z(r, i) {
|
|
31
|
+
return r * (i[1] - i[0]) + i[0];
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
q as contain,
|
|
35
|
+
y as fixExtent,
|
|
36
|
+
g as getIntervalPrecision,
|
|
37
|
+
S as increaseInterval,
|
|
38
|
+
F as intervalScaleNiceTicks,
|
|
39
|
+
m as isIntervalOrLogScale,
|
|
40
|
+
w as normalize,
|
|
41
|
+
z as scale
|
|
42
|
+
};
|