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,158 @@
|
|
|
1
|
+
import { each as m, isArray as g } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { getLayoutRect as v } from "../../util/layout.js";
|
|
3
|
+
import { parseDate as y } from "../../util/number.js";
|
|
4
|
+
var c = 864e5, I = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function() {
|
|
7
|
+
function n(e, t, i) {
|
|
8
|
+
this.type = "calendar", this.dimensions = n.dimensions, this.getDimensionsInfo = n.getDimensionsInfo, this._model = e;
|
|
9
|
+
}
|
|
10
|
+
return n.getDimensionsInfo = function() {
|
|
11
|
+
return [{
|
|
12
|
+
name: "time",
|
|
13
|
+
type: "time"
|
|
14
|
+
}, "value"];
|
|
15
|
+
}, n.prototype.getRangeInfo = function() {
|
|
16
|
+
return this._rangeInfo;
|
|
17
|
+
}, n.prototype.getModel = function() {
|
|
18
|
+
return this._model;
|
|
19
|
+
}, n.prototype.getRect = function() {
|
|
20
|
+
return this._rect;
|
|
21
|
+
}, n.prototype.getCellWidth = function() {
|
|
22
|
+
return this._sw;
|
|
23
|
+
}, n.prototype.getCellHeight = function() {
|
|
24
|
+
return this._sh;
|
|
25
|
+
}, n.prototype.getOrient = function() {
|
|
26
|
+
return this._orient;
|
|
27
|
+
}, n.prototype.getFirstDayOfWeek = function() {
|
|
28
|
+
return this._firstDayOfWeek;
|
|
29
|
+
}, n.prototype.getDateInfo = function(e) {
|
|
30
|
+
e = y(e);
|
|
31
|
+
var t = e.getFullYear(), i = e.getMonth() + 1, r = i < 10 ? "0" + i : "" + i, o = e.getDate(), a = o < 10 ? "0" + o : "" + o, s = e.getDay();
|
|
32
|
+
return s = Math.abs((s + 7 - this.getFirstDayOfWeek()) % 7), {
|
|
33
|
+
y: t + "",
|
|
34
|
+
m: r,
|
|
35
|
+
d: a,
|
|
36
|
+
day: s,
|
|
37
|
+
time: e.getTime(),
|
|
38
|
+
formatedDate: t + "-" + r + "-" + a,
|
|
39
|
+
date: e
|
|
40
|
+
};
|
|
41
|
+
}, n.prototype.getNextNDay = function(e, t) {
|
|
42
|
+
return t = t || 0, t === 0 ? this.getDateInfo(e) : (e = new Date(this.getDateInfo(e).time), e.setDate(e.getDate() + t), this.getDateInfo(e));
|
|
43
|
+
}, n.prototype.update = function(e, t) {
|
|
44
|
+
this._firstDayOfWeek = +this._model.getModel("dayLabel").get("firstDay"), this._orient = this._model.get("orient"), this._lineWidth = this._model.getModel("itemStyle").getItemStyle().lineWidth || 0, this._rangeInfo = this._getRangeInfo(this._initRangeOption());
|
|
45
|
+
var i = this._rangeInfo.weeks || 1, r = ["width", "height"], o = this._model.getCellSize().slice(), a = this._model.getBoxLayoutParams(), s = this._orient === "horizontal" ? [i, 7] : [7, i];
|
|
46
|
+
m([0, 1], function(h) {
|
|
47
|
+
f(o, h) && (a[r[h]] = o[h] * s[h]);
|
|
48
|
+
});
|
|
49
|
+
var l = {
|
|
50
|
+
width: t.getWidth(),
|
|
51
|
+
height: t.getHeight()
|
|
52
|
+
}, u = this._rect = v(a, l);
|
|
53
|
+
m([0, 1], function(h) {
|
|
54
|
+
f(o, h) || (o[h] = u[r[h]] / s[h]);
|
|
55
|
+
});
|
|
56
|
+
function f(h, d) {
|
|
57
|
+
return h[d] != null && h[d] !== "auto";
|
|
58
|
+
}
|
|
59
|
+
this._sw = o[0], this._sh = o[1];
|
|
60
|
+
}, n.prototype.dataToPoint = function(e, t) {
|
|
61
|
+
g(e) && (e = e[0]), t == null && (t = !0);
|
|
62
|
+
var i = this.getDateInfo(e), r = this._rangeInfo, o = i.formatedDate;
|
|
63
|
+
if (t && !(i.time >= r.start.time && i.time < r.end.time + c))
|
|
64
|
+
return [NaN, NaN];
|
|
65
|
+
var a = i.day, s = this._getRangeInfo([r.start.time, o]).nthWeek;
|
|
66
|
+
return this._orient === "vertical" ? [this._rect.x + a * this._sw + this._sw / 2, this._rect.y + s * this._sh + this._sh / 2] : [this._rect.x + s * this._sw + this._sw / 2, this._rect.y + a * this._sh + this._sh / 2];
|
|
67
|
+
}, n.prototype.pointToData = function(e) {
|
|
68
|
+
var t = this.pointToDate(e);
|
|
69
|
+
return t && t.time;
|
|
70
|
+
}, n.prototype.dataToRect = function(e, t) {
|
|
71
|
+
var i = this.dataToPoint(e, t);
|
|
72
|
+
return {
|
|
73
|
+
contentShape: {
|
|
74
|
+
x: i[0] - (this._sw - this._lineWidth) / 2,
|
|
75
|
+
y: i[1] - (this._sh - this._lineWidth) / 2,
|
|
76
|
+
width: this._sw - this._lineWidth,
|
|
77
|
+
height: this._sh - this._lineWidth
|
|
78
|
+
},
|
|
79
|
+
center: i,
|
|
80
|
+
tl: [i[0] - this._sw / 2, i[1] - this._sh / 2],
|
|
81
|
+
tr: [i[0] + this._sw / 2, i[1] - this._sh / 2],
|
|
82
|
+
br: [i[0] + this._sw / 2, i[1] + this._sh / 2],
|
|
83
|
+
bl: [i[0] - this._sw / 2, i[1] + this._sh / 2]
|
|
84
|
+
};
|
|
85
|
+
}, n.prototype.pointToDate = function(e) {
|
|
86
|
+
var t = Math.floor((e[0] - this._rect.x) / this._sw) + 1, i = Math.floor((e[1] - this._rect.y) / this._sh) + 1, r = this._rangeInfo.range;
|
|
87
|
+
return this._orient === "vertical" ? this._getDateByWeeksAndDay(i, t - 1, r) : this._getDateByWeeksAndDay(t, i - 1, r);
|
|
88
|
+
}, n.prototype.convertToPixel = function(e, t, i) {
|
|
89
|
+
var r = _(t);
|
|
90
|
+
return r === this ? r.dataToPoint(i) : null;
|
|
91
|
+
}, n.prototype.convertFromPixel = function(e, t, i) {
|
|
92
|
+
var r = _(t);
|
|
93
|
+
return r === this ? r.pointToData(i) : null;
|
|
94
|
+
}, n.prototype.containPoint = function(e) {
|
|
95
|
+
return console.warn("Not implemented."), !1;
|
|
96
|
+
}, n.prototype._initRangeOption = function() {
|
|
97
|
+
var e = this._model.get("range"), t;
|
|
98
|
+
if (g(e) && e.length === 1 && (e = e[0]), g(e))
|
|
99
|
+
t = e;
|
|
100
|
+
else {
|
|
101
|
+
var i = e.toString();
|
|
102
|
+
if (/^\d{4}$/.test(i) && (t = [i + "-01-01", i + "-12-31"]), /^\d{4}[\/|-]\d{1,2}$/.test(i)) {
|
|
103
|
+
var r = this.getDateInfo(i), o = r.date;
|
|
104
|
+
o.setMonth(o.getMonth() + 1);
|
|
105
|
+
var a = this.getNextNDay(o, -1);
|
|
106
|
+
t = [r.formatedDate, a.formatedDate];
|
|
107
|
+
}
|
|
108
|
+
/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i) && (t = [i, i]);
|
|
109
|
+
}
|
|
110
|
+
if (!t)
|
|
111
|
+
return e;
|
|
112
|
+
var s = this._getRangeInfo(t);
|
|
113
|
+
return s.start.time > s.end.time && t.reverse(), t;
|
|
114
|
+
}, n.prototype._getRangeInfo = function(e) {
|
|
115
|
+
var t = [this.getDateInfo(e[0]), this.getDateInfo(e[1])], i;
|
|
116
|
+
t[0].time > t[1].time && (i = !0, t.reverse());
|
|
117
|
+
var r = Math.floor(t[1].time / c) - Math.floor(t[0].time / c) + 1, o = new Date(t[0].time), a = o.getDate(), s = t[1].date.getDate();
|
|
118
|
+
o.setDate(a + r - 1);
|
|
119
|
+
var l = o.getDate();
|
|
120
|
+
if (l !== s)
|
|
121
|
+
for (var u = o.getTime() - t[1].time > 0 ? 1 : -1; (l = o.getDate()) !== s && (o.getTime() - t[1].time) * u > 0; )
|
|
122
|
+
r -= u, o.setDate(l - u);
|
|
123
|
+
var f = Math.floor((r + t[0].day + 6) / 7), h = i ? -f + 1 : f - 1;
|
|
124
|
+
return i && t.reverse(), {
|
|
125
|
+
range: [t[0].formatedDate, t[1].formatedDate],
|
|
126
|
+
start: t[0],
|
|
127
|
+
end: t[1],
|
|
128
|
+
allDay: r,
|
|
129
|
+
weeks: f,
|
|
130
|
+
// From 0.
|
|
131
|
+
nthWeek: h,
|
|
132
|
+
fweek: t[0].day,
|
|
133
|
+
lweek: t[1].day
|
|
134
|
+
};
|
|
135
|
+
}, n.prototype._getDateByWeeksAndDay = function(e, t, i) {
|
|
136
|
+
var r = this._getRangeInfo(i);
|
|
137
|
+
if (e > r.weeks || e === 0 && t < r.fweek || e === r.weeks && t > r.lweek)
|
|
138
|
+
return null;
|
|
139
|
+
var o = (e - 1) * 7 - r.fweek + t, a = new Date(r.start.time);
|
|
140
|
+
return a.setDate(+r.start.d + o), this.getDateInfo(a);
|
|
141
|
+
}, n.create = function(e, t) {
|
|
142
|
+
var i = [];
|
|
143
|
+
return e.eachComponent("calendar", function(r) {
|
|
144
|
+
var o = new n(r);
|
|
145
|
+
i.push(o), r.coordinateSystem = o;
|
|
146
|
+
}), e.eachSeries(function(r) {
|
|
147
|
+
r.get("coordinateSystem") === "calendar" && (r.coordinateSystem = i[r.get("calendarIndex") || 0]);
|
|
148
|
+
}), i;
|
|
149
|
+
}, n.dimensions = ["time", "value"], n;
|
|
150
|
+
})()
|
|
151
|
+
);
|
|
152
|
+
function _(n) {
|
|
153
|
+
var e = n.calendarModel, t = n.seriesModel, i = e ? e.coordinateSystem : t ? t.coordinateSystem : null;
|
|
154
|
+
return i;
|
|
155
|
+
}
|
|
156
|
+
export {
|
|
157
|
+
I as default
|
|
158
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { __extends as a } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { isArray as p, map as m } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import s from "../../model/Component.js";
|
|
4
|
+
import { getLayoutParams as c, sizeCalculable as u, mergeLayoutParam as f } from "../../util/layout.js";
|
|
5
|
+
var z = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(o) {
|
|
8
|
+
a(e, o);
|
|
9
|
+
function e() {
|
|
10
|
+
var t = o !== null && o.apply(this, arguments) || this;
|
|
11
|
+
return t.type = e.type, t;
|
|
12
|
+
}
|
|
13
|
+
return e.prototype.init = function(t, r, l) {
|
|
14
|
+
var i = c(t);
|
|
15
|
+
o.prototype.init.apply(this, arguments), n(t, i);
|
|
16
|
+
}, e.prototype.mergeOption = function(t) {
|
|
17
|
+
o.prototype.mergeOption.apply(this, arguments), n(this.option, t);
|
|
18
|
+
}, e.prototype.getCellSize = function() {
|
|
19
|
+
return this.option.cellSize;
|
|
20
|
+
}, e.type = "calendar", e.defaultOption = {
|
|
21
|
+
// zlevel: 0,
|
|
22
|
+
z: 2,
|
|
23
|
+
left: 80,
|
|
24
|
+
top: 60,
|
|
25
|
+
cellSize: 20,
|
|
26
|
+
// horizontal vertical
|
|
27
|
+
orient: "horizontal",
|
|
28
|
+
// month separate line style
|
|
29
|
+
splitLine: {
|
|
30
|
+
show: !0,
|
|
31
|
+
lineStyle: {
|
|
32
|
+
color: "#000",
|
|
33
|
+
width: 1,
|
|
34
|
+
type: "solid"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
// rect style temporarily unused emphasis
|
|
38
|
+
itemStyle: {
|
|
39
|
+
color: "#fff",
|
|
40
|
+
borderWidth: 1,
|
|
41
|
+
borderColor: "#ccc"
|
|
42
|
+
},
|
|
43
|
+
// week text style
|
|
44
|
+
dayLabel: {
|
|
45
|
+
show: !0,
|
|
46
|
+
firstDay: 0,
|
|
47
|
+
// start end
|
|
48
|
+
position: "start",
|
|
49
|
+
margin: "50%",
|
|
50
|
+
color: "#000"
|
|
51
|
+
},
|
|
52
|
+
// month text style
|
|
53
|
+
monthLabel: {
|
|
54
|
+
show: !0,
|
|
55
|
+
// start end
|
|
56
|
+
position: "start",
|
|
57
|
+
margin: 5,
|
|
58
|
+
// center or left
|
|
59
|
+
align: "center",
|
|
60
|
+
formatter: null,
|
|
61
|
+
color: "#000"
|
|
62
|
+
},
|
|
63
|
+
// year text style
|
|
64
|
+
yearLabel: {
|
|
65
|
+
show: !0,
|
|
66
|
+
// top bottom left right
|
|
67
|
+
position: null,
|
|
68
|
+
margin: 30,
|
|
69
|
+
formatter: null,
|
|
70
|
+
color: "#ccc",
|
|
71
|
+
fontFamily: "sans-serif",
|
|
72
|
+
fontWeight: "bolder",
|
|
73
|
+
fontSize: 20
|
|
74
|
+
}
|
|
75
|
+
}, e;
|
|
76
|
+
})(s)
|
|
77
|
+
);
|
|
78
|
+
function n(o, e) {
|
|
79
|
+
var t = o.cellSize, r;
|
|
80
|
+
p(t) ? r = t : r = o.cellSize = [t, t], r.length === 1 && (r[1] = r[0]);
|
|
81
|
+
var l = m([0, 1], function(i) {
|
|
82
|
+
return u(e, i) && (r[i] = "auto"), r[i] != null && r[i] !== "auto";
|
|
83
|
+
});
|
|
84
|
+
f(o, e, {
|
|
85
|
+
type: "box",
|
|
86
|
+
ignoreSize: l
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
z as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function l(e) {
|
|
2
|
+
var t = e.getRect(), a = e.getRangeInfo();
|
|
3
|
+
return {
|
|
4
|
+
coordSys: {
|
|
5
|
+
type: "calendar",
|
|
6
|
+
x: t.x,
|
|
7
|
+
y: t.y,
|
|
8
|
+
width: t.width,
|
|
9
|
+
height: t.height,
|
|
10
|
+
cellWidth: e.getCellWidth(),
|
|
11
|
+
cellHeight: e.getCellHeight(),
|
|
12
|
+
rangeInfo: {
|
|
13
|
+
start: a.start,
|
|
14
|
+
end: a.end,
|
|
15
|
+
weeks: a.weeks,
|
|
16
|
+
dayCount: a.allDay
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
api: {
|
|
20
|
+
coord: function(n, r) {
|
|
21
|
+
return e.dataToPoint(n, r);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
l as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import l from "../Axis.js";
|
|
3
|
+
var u = (
|
|
4
|
+
/** @class */
|
|
5
|
+
(function(e) {
|
|
6
|
+
p(r, e);
|
|
7
|
+
function r(o, t, n, s, a) {
|
|
8
|
+
var i = e.call(this, o, t, n) || this;
|
|
9
|
+
return i.index = 0, i.type = s || "value", i.position = a || "bottom", i;
|
|
10
|
+
}
|
|
11
|
+
return r.prototype.isHorizontal = function() {
|
|
12
|
+
var o = this.position;
|
|
13
|
+
return o === "top" || o === "bottom";
|
|
14
|
+
}, r.prototype.getGlobalExtent = function(o) {
|
|
15
|
+
var t = this.getExtent();
|
|
16
|
+
return t[0] = this.toGlobalCoord(t[0]), t[1] = this.toGlobalCoord(t[1]), o && t[0] > t[1] && t.reverse(), t;
|
|
17
|
+
}, r.prototype.pointToData = function(o, t) {
|
|
18
|
+
return this.coordToData(this.toLocalCoord(o[this.dim === "x" ? 0 : 1]), t);
|
|
19
|
+
}, r.prototype.setCategorySortInfo = function(o) {
|
|
20
|
+
if (this.type !== "category")
|
|
21
|
+
return !1;
|
|
22
|
+
this.model.option.categorySortInfo = o, this.scale.setSortInfo(o);
|
|
23
|
+
}, r;
|
|
24
|
+
})(l)
|
|
25
|
+
);
|
|
26
|
+
export {
|
|
27
|
+
u as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __extends as r } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { mixin as i } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import e from "../../model/Component.js";
|
|
4
|
+
import { AxisModelCommonMixin as n } from "../axisModelCommonMixin.js";
|
|
5
|
+
import { SINGLE_REFERRING as m } from "../../util/model.js";
|
|
6
|
+
var s = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function(t) {
|
|
9
|
+
r(o, t);
|
|
10
|
+
function o() {
|
|
11
|
+
return t !== null && t.apply(this, arguments) || this;
|
|
12
|
+
}
|
|
13
|
+
return o.prototype.getCoordSysModel = function() {
|
|
14
|
+
return this.getReferringComponents("grid", m).models[0];
|
|
15
|
+
}, o.type = "cartesian2dAxis", o;
|
|
16
|
+
})(e)
|
|
17
|
+
);
|
|
18
|
+
i(s, n);
|
|
19
|
+
export {
|
|
20
|
+
s as CartesianAxisModel,
|
|
21
|
+
s as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { map as s, filter as n } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
var o = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function() {
|
|
5
|
+
function i(t) {
|
|
6
|
+
this.type = "cartesian", this._dimList = [], this._axes = {}, this.name = t || "";
|
|
7
|
+
}
|
|
8
|
+
return i.prototype.getAxis = function(t) {
|
|
9
|
+
return this._axes[t];
|
|
10
|
+
}, i.prototype.getAxes = function() {
|
|
11
|
+
return s(this._dimList, function(t) {
|
|
12
|
+
return this._axes[t];
|
|
13
|
+
}, this);
|
|
14
|
+
}, i.prototype.getAxesByScale = function(t) {
|
|
15
|
+
return t = t.toLowerCase(), n(this.getAxes(), function(e) {
|
|
16
|
+
return e.scale.type === t;
|
|
17
|
+
});
|
|
18
|
+
}, i.prototype.addAxis = function(t) {
|
|
19
|
+
var e = t.dim;
|
|
20
|
+
this._axes[e] = t, this._dimList.push(e);
|
|
21
|
+
}, i;
|
|
22
|
+
})()
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
o as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { __extends as A } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import l from "../../../../zrender/lib/core/BoundingRect.js";
|
|
3
|
+
import u from "./Cartesian.js";
|
|
4
|
+
import { invert as d } from "../../../../zrender/lib/core/matrix.js";
|
|
5
|
+
import { applyTransform as m } from "../../../../zrender/lib/core/vector.js";
|
|
6
|
+
var T = ["x", "y"];
|
|
7
|
+
function f(x) {
|
|
8
|
+
return x.type === "interval" || x.type === "time";
|
|
9
|
+
}
|
|
10
|
+
var _ = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function(x) {
|
|
13
|
+
A(o, x);
|
|
14
|
+
function o() {
|
|
15
|
+
var t = x !== null && x.apply(this, arguments) || this;
|
|
16
|
+
return t.type = "cartesian2d", t.dimensions = T, t;
|
|
17
|
+
}
|
|
18
|
+
return o.prototype.calcAffineTransform = function() {
|
|
19
|
+
this._transform = this._invTransform = null;
|
|
20
|
+
var t = this.getAxis("x").scale, r = this.getAxis("y").scale;
|
|
21
|
+
if (!(!f(t) || !f(r))) {
|
|
22
|
+
var a = t.getExtent(), i = r.getExtent(), n = this.dataToPoint([a[0], i[0]]), e = this.dataToPoint([a[1], i[1]]), s = a[1] - a[0], h = i[1] - i[0];
|
|
23
|
+
if (!(!s || !h)) {
|
|
24
|
+
var v = (e[0] - n[0]) / s, c = (e[1] - n[1]) / h, y = n[0] - a[0] * v, g = n[1] - i[0] * c, p = this._transform = [v, 0, 0, c, y, g];
|
|
25
|
+
this._invTransform = d([], p);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, o.prototype.getBaseAxis = function() {
|
|
29
|
+
return this.getAxesByScale("ordinal")[0] || this.getAxesByScale("time")[0] || this.getAxis("x");
|
|
30
|
+
}, o.prototype.containPoint = function(t) {
|
|
31
|
+
var r = this.getAxis("x"), a = this.getAxis("y");
|
|
32
|
+
return r.contain(r.toLocalCoord(t[0])) && a.contain(a.toLocalCoord(t[1]));
|
|
33
|
+
}, o.prototype.containData = function(t) {
|
|
34
|
+
return this.getAxis("x").containData(t[0]) && this.getAxis("y").containData(t[1]);
|
|
35
|
+
}, o.prototype.containZone = function(t, r) {
|
|
36
|
+
var a = this.dataToPoint(t), i = this.dataToPoint(r), n = this.getArea(), e = new l(a[0], a[1], i[0] - a[0], i[1] - a[1]);
|
|
37
|
+
return n.intersect(e);
|
|
38
|
+
}, o.prototype.dataToPoint = function(t, r, a) {
|
|
39
|
+
a = a || [];
|
|
40
|
+
var i = t[0], n = t[1];
|
|
41
|
+
if (this._transform && i != null && isFinite(i) && n != null && isFinite(n))
|
|
42
|
+
return m(a, t, this._transform);
|
|
43
|
+
var e = this.getAxis("x"), s = this.getAxis("y");
|
|
44
|
+
return a[0] = e.toGlobalCoord(e.dataToCoord(i, r)), a[1] = s.toGlobalCoord(s.dataToCoord(n, r)), a;
|
|
45
|
+
}, o.prototype.clampData = function(t, r) {
|
|
46
|
+
var a = this.getAxis("x").scale, i = this.getAxis("y").scale, n = a.getExtent(), e = i.getExtent(), s = a.parse(t[0]), h = i.parse(t[1]);
|
|
47
|
+
return r = r || [], r[0] = Math.min(Math.max(Math.min(n[0], n[1]), s), Math.max(n[0], n[1])), r[1] = Math.min(Math.max(Math.min(e[0], e[1]), h), Math.max(e[0], e[1])), r;
|
|
48
|
+
}, o.prototype.pointToData = function(t, r) {
|
|
49
|
+
var a = [];
|
|
50
|
+
if (this._invTransform)
|
|
51
|
+
return m(a, t, this._invTransform);
|
|
52
|
+
var i = this.getAxis("x"), n = this.getAxis("y");
|
|
53
|
+
return a[0] = i.coordToData(i.toLocalCoord(t[0]), r), a[1] = n.coordToData(n.toLocalCoord(t[1]), r), a;
|
|
54
|
+
}, o.prototype.getOtherAxis = function(t) {
|
|
55
|
+
return this.getAxis(t.dim === "x" ? "y" : "x");
|
|
56
|
+
}, o.prototype.getArea = function(t) {
|
|
57
|
+
t = t || 0;
|
|
58
|
+
var r = this.getAxis("x").getGlobalExtent(), a = this.getAxis("y").getGlobalExtent(), i = Math.min(r[0], r[1]) - t, n = Math.min(a[0], a[1]) - t, e = Math.max(r[0], r[1]) - i + t, s = Math.max(a[0], a[1]) - n + t;
|
|
59
|
+
return new l(i, n, e, s);
|
|
60
|
+
}, o;
|
|
61
|
+
})(u)
|
|
62
|
+
);
|
|
63
|
+
export {
|
|
64
|
+
T as cartesian2DDimensions,
|
|
65
|
+
_ as default
|
|
66
|
+
};
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { each as g, isObject as D, indexOf as d, keys as E } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { getLayoutRect as I } from "../../util/layout.js";
|
|
3
|
+
import { estimateLabelUnionRect as M, createScaleByModel as P, getDataDimensionsOnAxis as Z, niceScaleExtent as A, ifAxisCrossZero as w } from "../axisHelper.js";
|
|
4
|
+
import G, { cartesian2DDimensions as _ } from "./Cartesian2D.js";
|
|
5
|
+
import R from "./Axis2D.js";
|
|
6
|
+
import { SINGLE_REFERRING as C } from "../../util/model.js";
|
|
7
|
+
import { isCartesian2DSeries as L, findAxisModels as S } from "./cartesianAxisHelper.js";
|
|
8
|
+
import { isIntervalOrLogScale as T } from "../../scale/helper.js";
|
|
9
|
+
import { alignScaleTicks as k } from "../axisAlignTicks.js";
|
|
10
|
+
var Q = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function() {
|
|
13
|
+
function s(e, i, o) {
|
|
14
|
+
this.type = "grid", this._coordsMap = {}, this._coordsList = [], this._axesMap = {}, this._axesList = [], this.axisPointerEnabled = !0, this.dimensions = _, this._initCartesian(e, i, o), this.model = e;
|
|
15
|
+
}
|
|
16
|
+
return s.prototype.getRect = function() {
|
|
17
|
+
return this._rect;
|
|
18
|
+
}, s.prototype.update = function(e, i) {
|
|
19
|
+
var o = this._axesMap;
|
|
20
|
+
this._updateScale(e, this.model);
|
|
21
|
+
function t(r) {
|
|
22
|
+
var f, p = E(r), a = p.length;
|
|
23
|
+
if (a) {
|
|
24
|
+
for (var u = [], c = a - 1; c >= 0; c--) {
|
|
25
|
+
var x = +p[c], l = r[x], h = l.model, v = l.scale;
|
|
26
|
+
// Only value and log axis without interval support alignTicks.
|
|
27
|
+
T(v) && h.get("alignTicks") && h.get("interval") == null ? u.push(l) : (A(v, h), T(v) && (f = l));
|
|
28
|
+
}
|
|
29
|
+
u.length && (f || (f = u.pop(), A(f.scale, f.model)), g(u, function(y) {
|
|
30
|
+
k(y.scale, y.model, f.scale);
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
t(o.x), t(o.y);
|
|
35
|
+
var n = {};
|
|
36
|
+
g(o.x, function(r) {
|
|
37
|
+
b(o, "y", r, n);
|
|
38
|
+
}), g(o.y, function(r) {
|
|
39
|
+
b(o, "x", r, n);
|
|
40
|
+
}), this.resize(this.model, i);
|
|
41
|
+
}, s.prototype.resize = function(e, i, o) {
|
|
42
|
+
var t = e.getBoxLayoutParams(), n = !o && e.get("containLabel"), r = I(t, {
|
|
43
|
+
width: i.getWidth(),
|
|
44
|
+
height: i.getHeight()
|
|
45
|
+
});
|
|
46
|
+
this._rect = r;
|
|
47
|
+
var f = this._axesList;
|
|
48
|
+
p(), n && (g(f, function(a) {
|
|
49
|
+
if (!a.model.get(["axisLabel", "inside"])) {
|
|
50
|
+
var u = M(a);
|
|
51
|
+
if (u) {
|
|
52
|
+
var c = a.isHorizontal() ? "height" : "width", x = a.model.get(["axisLabel", "margin"]);
|
|
53
|
+
r[c] -= u[c] + x, a.position === "top" ? r.y += u.height + x : a.position === "left" && (r.x += u.width + x);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}), p()), g(this._coordsList, function(a) {
|
|
57
|
+
a.calcAffineTransform();
|
|
58
|
+
});
|
|
59
|
+
function p() {
|
|
60
|
+
g(f, function(a) {
|
|
61
|
+
var u = a.isHorizontal(), c = u ? [0, r.width] : [0, r.height], x = a.inverse ? 1 : 0;
|
|
62
|
+
a.setExtent(c[x], c[1 - x]), z(a, u ? r.x : r.y);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, s.prototype.getAxis = function(e, i) {
|
|
66
|
+
var o = this._axesMap[e];
|
|
67
|
+
if (o != null)
|
|
68
|
+
return o[i || 0];
|
|
69
|
+
}, s.prototype.getAxes = function() {
|
|
70
|
+
return this._axesList.slice();
|
|
71
|
+
}, s.prototype.getCartesian = function(e, i) {
|
|
72
|
+
if (e != null && i != null) {
|
|
73
|
+
var o = "x" + e + "y" + i;
|
|
74
|
+
return this._coordsMap[o];
|
|
75
|
+
}
|
|
76
|
+
D(e) && (i = e.yAxisIndex, e = e.xAxisIndex);
|
|
77
|
+
for (var t = 0, n = this._coordsList; t < n.length; t++)
|
|
78
|
+
if (n[t].getAxis("x").index === e || n[t].getAxis("y").index === i)
|
|
79
|
+
return n[t];
|
|
80
|
+
}, s.prototype.getCartesians = function() {
|
|
81
|
+
return this._coordsList.slice();
|
|
82
|
+
}, s.prototype.convertToPixel = function(e, i, o) {
|
|
83
|
+
var t = this._findConvertTarget(i);
|
|
84
|
+
return t.cartesian ? t.cartesian.dataToPoint(o) : t.axis ? t.axis.toGlobalCoord(t.axis.dataToCoord(o)) : null;
|
|
85
|
+
}, s.prototype.convertFromPixel = function(e, i, o) {
|
|
86
|
+
var t = this._findConvertTarget(i);
|
|
87
|
+
return t.cartesian ? t.cartesian.pointToData(o) : t.axis ? t.axis.coordToData(t.axis.toLocalCoord(o)) : null;
|
|
88
|
+
}, s.prototype._findConvertTarget = function(e) {
|
|
89
|
+
var i = e.seriesModel, o = e.xAxisModel || i && i.getReferringComponents("xAxis", C).models[0], t = e.yAxisModel || i && i.getReferringComponents("yAxis", C).models[0], n = e.gridModel, r = this._coordsList, f, p;
|
|
90
|
+
if (i)
|
|
91
|
+
f = i.coordinateSystem, d(r, f) < 0 && (f = null);
|
|
92
|
+
else if (o && t)
|
|
93
|
+
f = this.getCartesian(o.componentIndex, t.componentIndex);
|
|
94
|
+
else if (o)
|
|
95
|
+
p = this.getAxis("x", o.componentIndex);
|
|
96
|
+
else if (t)
|
|
97
|
+
p = this.getAxis("y", t.componentIndex);
|
|
98
|
+
else if (n) {
|
|
99
|
+
var a = n.coordinateSystem;
|
|
100
|
+
a === this && (f = this._coordsList[0]);
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
cartesian: f,
|
|
104
|
+
axis: p
|
|
105
|
+
};
|
|
106
|
+
}, s.prototype.containPoint = function(e) {
|
|
107
|
+
var i = this._coordsList[0];
|
|
108
|
+
if (i)
|
|
109
|
+
return i.containPoint(e);
|
|
110
|
+
}, s.prototype._initCartesian = function(e, i, o) {
|
|
111
|
+
var t = this, n = this, r = {
|
|
112
|
+
left: !1,
|
|
113
|
+
right: !1,
|
|
114
|
+
top: !1,
|
|
115
|
+
bottom: !1
|
|
116
|
+
}, f = {
|
|
117
|
+
x: {},
|
|
118
|
+
y: {}
|
|
119
|
+
}, p = {
|
|
120
|
+
x: 0,
|
|
121
|
+
y: 0
|
|
122
|
+
};
|
|
123
|
+
if (i.eachComponent("xAxis", a("x"), this), i.eachComponent("yAxis", a("y"), this), !p.x || !p.y) {
|
|
124
|
+
this._axesMap = {}, this._axesList = [];
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
this._axesMap = f, g(f.x, function(u, c) {
|
|
128
|
+
g(f.y, function(x, l) {
|
|
129
|
+
var h = "x" + c + "y" + l, v = new G(h);
|
|
130
|
+
v.master = t, v.model = e, t._coordsMap[h] = v, t._coordsList.push(v), v.addAxis(u), v.addAxis(x);
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
function a(u) {
|
|
134
|
+
return function(c, x) {
|
|
135
|
+
if (m(c, e)) {
|
|
136
|
+
var l = c.get("position");
|
|
137
|
+
u === "x" ? l !== "top" && l !== "bottom" && (l = r.bottom ? "top" : "bottom") : l !== "left" && l !== "right" && (l = r.left ? "right" : "left"), r[l] = !0;
|
|
138
|
+
var h = new R(u, P(c), [0, 0], c.get("type"), l), v = h.type === "category";
|
|
139
|
+
h.onBand = v && c.get("boundaryGap"), h.inverse = c.get("inverse"), c.axis = h, h.model = c, h.grid = n, h.index = x, n._axesList.push(h), f[u][x] = h, p[u]++;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
}, s.prototype._updateScale = function(e, i) {
|
|
144
|
+
g(this._axesList, function(t) {
|
|
145
|
+
if (t.scale.setExtent(1 / 0, -1 / 0), t.type === "category") {
|
|
146
|
+
var n = t.model.get("categorySortInfo");
|
|
147
|
+
t.scale.setSortInfo(n);
|
|
148
|
+
}
|
|
149
|
+
}), e.eachSeries(function(t) {
|
|
150
|
+
if (L(t)) {
|
|
151
|
+
var n = S(t), r = n.xAxisModel, f = n.yAxisModel;
|
|
152
|
+
if (!m(r, i) || !m(f, i))
|
|
153
|
+
return;
|
|
154
|
+
var p = this.getCartesian(r.componentIndex, f.componentIndex), a = t.getData(), u = p.getAxis("x"), c = p.getAxis("y");
|
|
155
|
+
o(a, u), o(a, c);
|
|
156
|
+
}
|
|
157
|
+
}, this);
|
|
158
|
+
function o(t, n) {
|
|
159
|
+
g(Z(t, n.dim), function(r) {
|
|
160
|
+
n.scale.unionExtentFromData(t, r);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}, s.prototype.getTooltipAxes = function(e) {
|
|
164
|
+
var i = [], o = [];
|
|
165
|
+
return g(this.getCartesians(), function(t) {
|
|
166
|
+
var n = e != null && e !== "auto" ? t.getAxis(e) : t.getBaseAxis(), r = t.getOtherAxis(n);
|
|
167
|
+
d(i, n) < 0 && i.push(n), d(o, r) < 0 && o.push(r);
|
|
168
|
+
}), {
|
|
169
|
+
baseAxes: i,
|
|
170
|
+
otherAxes: o
|
|
171
|
+
};
|
|
172
|
+
}, s.create = function(e, i) {
|
|
173
|
+
var o = [];
|
|
174
|
+
return e.eachComponent("grid", function(t, n) {
|
|
175
|
+
var r = new s(t, e, i);
|
|
176
|
+
r.name = "grid_" + n, r.resize(t, i, !0), t.coordinateSystem = r, o.push(r);
|
|
177
|
+
}), e.eachSeries(function(t) {
|
|
178
|
+
if (L(t)) {
|
|
179
|
+
var n = S(t), r = n.xAxisModel, f = n.yAxisModel, p = r.getCoordSysModel(), a = p.coordinateSystem;
|
|
180
|
+
t.coordinateSystem = a.getCartesian(r.componentIndex, f.componentIndex);
|
|
181
|
+
}
|
|
182
|
+
}), o;
|
|
183
|
+
}, s.dimensions = _, s;
|
|
184
|
+
})()
|
|
185
|
+
);
|
|
186
|
+
function m(s, e) {
|
|
187
|
+
return s.getCoordSysModel() === e;
|
|
188
|
+
}
|
|
189
|
+
function b(s, e, i, o) {
|
|
190
|
+
i.getAxesOnZeroOf = function() {
|
|
191
|
+
return n ? [n] : [];
|
|
192
|
+
};
|
|
193
|
+
var t = s[e], n, r = i.model, f = r.get(["axisLine", "onZero"]), p = r.get(["axisLine", "onZeroAxisIndex"]);
|
|
194
|
+
if (!f)
|
|
195
|
+
return;
|
|
196
|
+
if (p != null)
|
|
197
|
+
O(t[p]) && (n = t[p]);
|
|
198
|
+
else
|
|
199
|
+
for (var a in t)
|
|
200
|
+
if (t.hasOwnProperty(a) && O(t[a]) && !o[u(t[a])]) {
|
|
201
|
+
n = t[a];
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
n && (o[u(n)] = !0);
|
|
205
|
+
function u(c) {
|
|
206
|
+
return c.dim + "_" + c.index;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
function O(s) {
|
|
210
|
+
return s && s.type !== "category" && s.type !== "time" && w(s);
|
|
211
|
+
}
|
|
212
|
+
function z(s, e) {
|
|
213
|
+
var i = s.getExtent(), o = i[0] + i[1];
|
|
214
|
+
s.toGlobalCoord = s.dim === "x" ? function(t) {
|
|
215
|
+
return t + e;
|
|
216
|
+
} : function(t) {
|
|
217
|
+
return o - t + e;
|
|
218
|
+
}, s.toLocalCoord = s.dim === "x" ? function(t) {
|
|
219
|
+
return t - e;
|
|
220
|
+
} : function(t) {
|
|
221
|
+
return o - t + e;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
export {
|
|
225
|
+
Q as default
|
|
226
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __extends as e } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import r from "../../model/Component.js";
|
|
3
|
+
var i = (
|
|
4
|
+
/** @class */
|
|
5
|
+
(function(t) {
|
|
6
|
+
e(o, t);
|
|
7
|
+
function o() {
|
|
8
|
+
return t !== null && t.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
return o.type = "grid", o.dependencies = ["xAxis", "yAxis"], o.layoutMode = "box", o.defaultOption = {
|
|
11
|
+
show: !1,
|
|
12
|
+
// zlevel: 0,
|
|
13
|
+
z: 0,
|
|
14
|
+
left: "10%",
|
|
15
|
+
top: 60,
|
|
16
|
+
right: "10%",
|
|
17
|
+
bottom: 70,
|
|
18
|
+
// If grid size contain label
|
|
19
|
+
containLabel: !1,
|
|
20
|
+
// width: {totalWidth} - left - right,
|
|
21
|
+
// height: {totalHeight} - top - bottom,
|
|
22
|
+
backgroundColor: "rgba(0,0,0,0)",
|
|
23
|
+
borderWidth: 1,
|
|
24
|
+
borderColor: "#ccc"
|
|
25
|
+
}, o;
|
|
26
|
+
})(r)
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
i as default
|
|
30
|
+
};
|