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,32 @@
|
|
|
1
|
+
import u from "./preprocessor.js";
|
|
2
|
+
import i from "./BrushView.js";
|
|
3
|
+
import p from "./BrushModel.js";
|
|
4
|
+
import m from "./visualEncoding.js";
|
|
5
|
+
import s from "../toolbox/feature/Brush.js";
|
|
6
|
+
import { registerFeature as h } from "../toolbox/featureManager.js";
|
|
7
|
+
import { noop as o } from "../../../../zrender/lib/core/util.js";
|
|
8
|
+
function A(e) {
|
|
9
|
+
e.registerComponentView(i), e.registerComponentModel(p), e.registerPreprocessor(u), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, m), e.registerAction({
|
|
10
|
+
type: "brush",
|
|
11
|
+
event: "brush",
|
|
12
|
+
update: "updateVisual"
|
|
13
|
+
}, function(r, t) {
|
|
14
|
+
t.eachComponent({
|
|
15
|
+
mainType: "brush",
|
|
16
|
+
query: r
|
|
17
|
+
}, function(n) {
|
|
18
|
+
n.setAreas(r.areas);
|
|
19
|
+
});
|
|
20
|
+
}), e.registerAction({
|
|
21
|
+
type: "brushSelect",
|
|
22
|
+
event: "brushSelected",
|
|
23
|
+
update: "none"
|
|
24
|
+
}, o), e.registerAction({
|
|
25
|
+
type: "brushEnd",
|
|
26
|
+
event: "brushEnd",
|
|
27
|
+
update: "none"
|
|
28
|
+
}, o), h("brush", s);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
A as install
|
|
32
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { each as n, isArray as h } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { normalizeToArray as b } from "../../util/model.js";
|
|
3
|
+
var c = ["rect", "polygon", "keep", "clear"];
|
|
4
|
+
function m(r, u) {
|
|
5
|
+
var t = b(r ? r.brush : []);
|
|
6
|
+
if (t.length) {
|
|
7
|
+
var a = [];
|
|
8
|
+
n(t, function(l) {
|
|
9
|
+
var p = l.hasOwnProperty("toolbox") ? l.toolbox : [];
|
|
10
|
+
p instanceof Array && (a = a.concat(p));
|
|
11
|
+
});
|
|
12
|
+
var o = r && r.toolbox;
|
|
13
|
+
h(o) && (o = o[0]), o || (o = {
|
|
14
|
+
feature: {}
|
|
15
|
+
}, r.toolbox = [o]);
|
|
16
|
+
var s = o.feature || (o.feature = {}), f = s.brush || (s.brush = {}), e = f.type || (f.type = []);
|
|
17
|
+
e.push.apply(e, a), i(e), u && !e.length && e.push.apply(e, c);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function i(r) {
|
|
21
|
+
var u = {};
|
|
22
|
+
n(r, function(t) {
|
|
23
|
+
u[t] = 1;
|
|
24
|
+
}), r.length = 0, n(u, function(t, a) {
|
|
25
|
+
r.push(a);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
m as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { contain as f } from "../../../../zrender/lib/contain/polygon.js";
|
|
2
|
+
import g from "../../../../zrender/lib/core/BoundingRect.js";
|
|
3
|
+
import { linePolygonIntersect as h } from "../../util/graphic.js";
|
|
4
|
+
function S(r) {
|
|
5
|
+
var s = r.brushType, t = {
|
|
6
|
+
point: function(n) {
|
|
7
|
+
return l[s].point(n, t, r);
|
|
8
|
+
},
|
|
9
|
+
rect: function(n) {
|
|
10
|
+
return l[s].rect(n, t, r);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
var l = {
|
|
16
|
+
lineX: u(0),
|
|
17
|
+
lineY: u(1),
|
|
18
|
+
rect: {
|
|
19
|
+
point: function(r, s, t) {
|
|
20
|
+
return r && t.boundingRect.contain(r[0], r[1]);
|
|
21
|
+
},
|
|
22
|
+
rect: function(r, s, t) {
|
|
23
|
+
return r && t.boundingRect.intersect(r);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
polygon: {
|
|
27
|
+
point: function(r, s, t) {
|
|
28
|
+
return r && t.boundingRect.contain(r[0], r[1]) && f(t.range, r[0], r[1]);
|
|
29
|
+
},
|
|
30
|
+
rect: function(r, s, t) {
|
|
31
|
+
var n = t.range;
|
|
32
|
+
if (!r || n.length <= 1)
|
|
33
|
+
return !1;
|
|
34
|
+
var i = r.x, e = r.y, o = r.width, c = r.height, p = n[0];
|
|
35
|
+
if (f(n, i, e) || f(n, i + o, e) || f(n, i, e + c) || f(n, i + o, e + c) || g.create(r).contain(p[0], p[1]) || h(i, e, i + o, e, n) || h(i, e, i, e + c, n) || h(i + o, e, i + o, e + c, n) || h(i, e + c, i + o, e + c, n))
|
|
36
|
+
return !0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
function u(r) {
|
|
41
|
+
var s = ["x", "y"], t = ["width", "height"];
|
|
42
|
+
return {
|
|
43
|
+
point: function(n, i, e) {
|
|
44
|
+
if (n) {
|
|
45
|
+
var o = e.range, c = n[r];
|
|
46
|
+
return v(c, o);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
rect: function(n, i, e) {
|
|
50
|
+
if (n) {
|
|
51
|
+
var o = e.range, c = [n[s[r]], n[s[r]] + n[t[r]]];
|
|
52
|
+
return c[1] < c[0] && c.reverse(), v(c[0], o) || v(c[1], o) || v(o[0], c) || v(o[1], c);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function v(r, s) {
|
|
58
|
+
return s[0] <= r && r <= s[1];
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
l as default,
|
|
62
|
+
S as makeBrushCommonSelectorForSeries
|
|
63
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { clone as H, map as L, defaults as N, isArray as _, each as I, indexOf as P } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import G from "../../../../zrender/lib/core/BoundingRect.js";
|
|
3
|
+
import { createVisualMappings as Z, applyVisual as U } from "../../visual/visualSolution.js";
|
|
4
|
+
import { makeBrushCommonSelectorForSeries as j } from "./selector.js";
|
|
5
|
+
import { createOrUpdate as q } from "../../util/throttle.js";
|
|
6
|
+
import x from "../helper/BrushTargetManager.js";
|
|
7
|
+
var k = ["inBrush", "outOfBrush"], y = "__ecBrushSelect", B = "__ecInBrushSelectEvent";
|
|
8
|
+
function z(t) {
|
|
9
|
+
t.eachComponent({
|
|
10
|
+
mainType: "brush"
|
|
11
|
+
}, function(r) {
|
|
12
|
+
var e = r.brushTargetManager = new x(r.option, t);
|
|
13
|
+
e.setInputRanges(r.areas, t);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function nt(t, r, e) {
|
|
17
|
+
var c = [], h, a;
|
|
18
|
+
t.eachComponent({
|
|
19
|
+
mainType: "brush"
|
|
20
|
+
}, function(o) {
|
|
21
|
+
e && e.type === "takeGlobalCursor" && o.setBrushOption(e.key === "brush" ? e.brushOption : {
|
|
22
|
+
brushType: !1
|
|
23
|
+
});
|
|
24
|
+
}), z(t), t.eachComponent({
|
|
25
|
+
mainType: "brush"
|
|
26
|
+
}, function(o, T) {
|
|
27
|
+
var A = {
|
|
28
|
+
brushId: o.id,
|
|
29
|
+
brushIndex: T,
|
|
30
|
+
brushName: o.name,
|
|
31
|
+
areas: H(o.areas),
|
|
32
|
+
selected: []
|
|
33
|
+
};
|
|
34
|
+
c.push(A);
|
|
35
|
+
var g = o.option, m = g.brushLink, D = [], S = [], O = [], p = !1;
|
|
36
|
+
T || (h = g.throttleType, a = g.throttleDelay);
|
|
37
|
+
var w = L(o.areas, function(n) {
|
|
38
|
+
var i = W[n.brushType], u = N({
|
|
39
|
+
boundingRect: i ? i(n) : void 0
|
|
40
|
+
}, n);
|
|
41
|
+
return u.selectors = j(u), u;
|
|
42
|
+
}), E = Z(o.option, k, function(n) {
|
|
43
|
+
n.mappingMethod = "fixed";
|
|
44
|
+
});
|
|
45
|
+
_(m) && I(m, function(n) {
|
|
46
|
+
D[n] = 1;
|
|
47
|
+
});
|
|
48
|
+
function l(n) {
|
|
49
|
+
return m === "all" || !!D[n];
|
|
50
|
+
}
|
|
51
|
+
function b(n) {
|
|
52
|
+
return !!n.length;
|
|
53
|
+
}
|
|
54
|
+
t.eachSeries(function(n, i) {
|
|
55
|
+
var u = O[i] = [];
|
|
56
|
+
n.subType === "parallel" ? F(n, i) : V(n, i, u);
|
|
57
|
+
});
|
|
58
|
+
function F(n, i) {
|
|
59
|
+
var u = n.coordinateSystem;
|
|
60
|
+
p = p || u.hasAxisBrushed(), l(i) && u.eachActiveState(n.getData(), function(f, s) {
|
|
61
|
+
f === "active" && (S[s] = 1);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function V(n, i, u) {
|
|
65
|
+
if (!(!n.brushSelector || Q(o, i)) && (I(w, function(s) {
|
|
66
|
+
o.brushTargetManager.controlSeries(s, n, t) && u.push(s), p = p || b(u);
|
|
67
|
+
}), l(i) && b(u))) {
|
|
68
|
+
var f = n.getData();
|
|
69
|
+
f.each(function(s) {
|
|
70
|
+
C(n, u, f, s) && (S[s] = 1);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
t.eachSeries(function(n, i) {
|
|
75
|
+
var u = {
|
|
76
|
+
seriesId: n.id,
|
|
77
|
+
seriesIndex: i,
|
|
78
|
+
seriesName: n.name,
|
|
79
|
+
dataIndex: []
|
|
80
|
+
};
|
|
81
|
+
A.selected.push(u);
|
|
82
|
+
var f = O[i], s = n.getData(), d = l(i) ? function(v) {
|
|
83
|
+
return S[v] ? (u.dataIndex.push(s.getRawIndex(v)), "inBrush") : "outOfBrush";
|
|
84
|
+
} : function(v) {
|
|
85
|
+
return C(n, f, s, v) ? (u.dataIndex.push(s.getRawIndex(v)), "inBrush") : "outOfBrush";
|
|
86
|
+
};
|
|
87
|
+
(l(i) ? p : b(f)) && U(k, E, s, d);
|
|
88
|
+
});
|
|
89
|
+
}), J(r, h, a, c, e);
|
|
90
|
+
}
|
|
91
|
+
function J(t, r, e, c, h) {
|
|
92
|
+
if (h) {
|
|
93
|
+
var a = t.getZr();
|
|
94
|
+
if (!a[B]) {
|
|
95
|
+
a[y] || (a[y] = K);
|
|
96
|
+
var o = q(a, y, e, r);
|
|
97
|
+
o(t, c);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function K(t, r) {
|
|
102
|
+
if (!t.isDisposed()) {
|
|
103
|
+
var e = t.getZr();
|
|
104
|
+
e[B] = !0, t.dispatchAction({
|
|
105
|
+
type: "brushSelect",
|
|
106
|
+
batch: r
|
|
107
|
+
}), e[B] = !1;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function C(t, r, e, c) {
|
|
111
|
+
for (var h = 0, a = r.length; h < a; h++) {
|
|
112
|
+
var o = r[h];
|
|
113
|
+
if (t.brushSelector(c, e, o.selectors, o))
|
|
114
|
+
return !0;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
function Q(t, r) {
|
|
118
|
+
var e = t.option.seriesIndex;
|
|
119
|
+
return e != null && e !== "all" && (_(e) ? P(e, r) < 0 : r !== e);
|
|
120
|
+
}
|
|
121
|
+
var W = {
|
|
122
|
+
rect: function(t) {
|
|
123
|
+
return R(t.range);
|
|
124
|
+
},
|
|
125
|
+
polygon: function(t) {
|
|
126
|
+
for (var r, e = t.range, c = 0, h = e.length; c < h; c++) {
|
|
127
|
+
r = r || [[1 / 0, -1 / 0], [1 / 0, -1 / 0]];
|
|
128
|
+
var a = e[c];
|
|
129
|
+
a[0] < r[0][0] && (r[0][0] = a[0]), a[0] > r[0][1] && (r[0][1] = a[0]), a[1] < r[1][0] && (r[1][0] = a[1]), a[1] > r[1][1] && (r[1][1] = a[1]);
|
|
130
|
+
}
|
|
131
|
+
return r && R(r);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
function R(t) {
|
|
135
|
+
return new G(t[0][0], t[1][0], t[0][1] - t[0][0], t[1][1] - t[1][0]);
|
|
136
|
+
}
|
|
137
|
+
export {
|
|
138
|
+
nt as default,
|
|
139
|
+
z as layoutCovers
|
|
140
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { __extends as N } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { isString as w, isFunction as O, extend as L, map as z } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { createTextStyle as P } from "../../label/labelStyle.js";
|
|
4
|
+
import { formatTplSimple as W } from "../../util/format.js";
|
|
5
|
+
import { parsePercent as R } from "../../util/number.js";
|
|
6
|
+
import A from "../../view/Component.js";
|
|
7
|
+
import { getLocaleModel as M } from "../../core/locale.js";
|
|
8
|
+
import I from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
9
|
+
import D from "../../../../zrender/lib/graphic/shape/Polyline.js";
|
|
10
|
+
import T from "../../../../zrender/lib/graphic/Text.js";
|
|
11
|
+
var J = (
|
|
12
|
+
/** @class */
|
|
13
|
+
(function(x) {
|
|
14
|
+
N(f, x);
|
|
15
|
+
function f() {
|
|
16
|
+
var e = x !== null && x.apply(this, arguments) || this;
|
|
17
|
+
return e.type = f.type, e;
|
|
18
|
+
}
|
|
19
|
+
return f.prototype.render = function(e, r, l) {
|
|
20
|
+
var i = this.group;
|
|
21
|
+
i.removeAll();
|
|
22
|
+
var t = e.coordinateSystem, a = t.getRangeInfo(), o = t.getOrient(), n = r.getLocaleModel();
|
|
23
|
+
this._renderDayRect(e, a, i), this._renderLines(e, a, o, i), this._renderYearText(e, a, o, i), this._renderMonthText(e, n, o, i), this._renderWeekText(e, n, a, o, i);
|
|
24
|
+
}, f.prototype._renderDayRect = function(e, r, l) {
|
|
25
|
+
for (var i = e.coordinateSystem, t = e.getModel("itemStyle").getItemStyle(), a = i.getCellWidth(), o = i.getCellHeight(), n = r.start.time; n <= r.end.time; n = i.getNextNDay(n, 1).time) {
|
|
26
|
+
var s = i.dataToRect([n], !1).tl, v = new I({
|
|
27
|
+
shape: {
|
|
28
|
+
x: s[0],
|
|
29
|
+
y: s[1],
|
|
30
|
+
width: a,
|
|
31
|
+
height: o
|
|
32
|
+
},
|
|
33
|
+
cursor: "default",
|
|
34
|
+
style: t
|
|
35
|
+
});
|
|
36
|
+
l.add(v);
|
|
37
|
+
}
|
|
38
|
+
}, f.prototype._renderLines = function(e, r, l, i) {
|
|
39
|
+
var t = this, a = e.coordinateSystem, o = e.getModel(["splitLine", "lineStyle"]).getLineStyle(), n = e.get(["splitLine", "show"]), s = o.lineWidth;
|
|
40
|
+
this._tlpoints = [], this._blpoints = [], this._firstDayOfMonth = [], this._firstDayPoints = [];
|
|
41
|
+
for (var v = r.start, h = 0; v.time <= r.end.time; h++) {
|
|
42
|
+
p(v.formatedDate), h === 0 && (v = a.getDateInfo(r.start.y + "-" + r.start.m));
|
|
43
|
+
var m = v.date;
|
|
44
|
+
m.setMonth(m.getMonth() + 1), v = a.getDateInfo(m);
|
|
45
|
+
}
|
|
46
|
+
p(a.getNextNDay(r.end.time, 1).formatedDate);
|
|
47
|
+
function p(g) {
|
|
48
|
+
t._firstDayOfMonth.push(a.getDateInfo(g)), t._firstDayPoints.push(a.dataToRect([g], !1).tl);
|
|
49
|
+
var y = t._getLinePointsOfOneWeek(e, g, l);
|
|
50
|
+
t._tlpoints.push(y[0]), t._blpoints.push(y[y.length - 1]), n && t._drawSplitline(y, o, i);
|
|
51
|
+
}
|
|
52
|
+
n && this._drawSplitline(t._getEdgesPoints(t._tlpoints, s, l), o, i), n && this._drawSplitline(t._getEdgesPoints(t._blpoints, s, l), o, i);
|
|
53
|
+
}, f.prototype._getEdgesPoints = function(e, r, l) {
|
|
54
|
+
var i = [e[0].slice(), e[e.length - 1].slice()], t = l === "horizontal" ? 0 : 1;
|
|
55
|
+
return i[0][t] = i[0][t] - r / 2, i[1][t] = i[1][t] + r / 2, i;
|
|
56
|
+
}, f.prototype._drawSplitline = function(e, r, l) {
|
|
57
|
+
var i = new D({
|
|
58
|
+
z2: 20,
|
|
59
|
+
shape: {
|
|
60
|
+
points: e
|
|
61
|
+
},
|
|
62
|
+
style: r
|
|
63
|
+
});
|
|
64
|
+
l.add(i);
|
|
65
|
+
}, f.prototype._getLinePointsOfOneWeek = function(e, r, l) {
|
|
66
|
+
for (var i = e.coordinateSystem, t = i.getDateInfo(r), a = [], o = 0; o < 7; o++) {
|
|
67
|
+
var n = i.getNextNDay(t.time, o), s = i.dataToRect([n.time], !1);
|
|
68
|
+
a[2 * n.day] = s.tl, a[2 * n.day + 1] = s[l === "horizontal" ? "bl" : "tr"];
|
|
69
|
+
}
|
|
70
|
+
return a;
|
|
71
|
+
}, f.prototype._formatterLabel = function(e, r) {
|
|
72
|
+
return w(e) && e ? W(e, r) : O(e) ? e(r) : r.nameMap;
|
|
73
|
+
}, f.prototype._yearTextPositionControl = function(e, r, l, i, t) {
|
|
74
|
+
var a = r[0], o = r[1], n = ["center", "bottom"];
|
|
75
|
+
i === "bottom" ? (o += t, n = ["center", "top"]) : i === "left" ? a -= t : i === "right" ? (a += t, n = ["center", "top"]) : o -= t;
|
|
76
|
+
var s = 0;
|
|
77
|
+
return (i === "left" || i === "right") && (s = Math.PI / 2), {
|
|
78
|
+
rotation: s,
|
|
79
|
+
x: a,
|
|
80
|
+
y: o,
|
|
81
|
+
style: {
|
|
82
|
+
align: n[0],
|
|
83
|
+
verticalAlign: n[1]
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}, f.prototype._renderYearText = function(e, r, l, i) {
|
|
87
|
+
var t = e.getModel("yearLabel");
|
|
88
|
+
if (t.get("show")) {
|
|
89
|
+
var a = t.get("margin"), o = t.get("position");
|
|
90
|
+
o || (o = l !== "horizontal" ? "top" : "left");
|
|
91
|
+
var n = [this._tlpoints[this._tlpoints.length - 1], this._blpoints[0]], s = (n[0][0] + n[1][0]) / 2, v = (n[0][1] + n[1][1]) / 2, h = l === "horizontal" ? 0 : 1, m = {
|
|
92
|
+
top: [s, n[h][1]],
|
|
93
|
+
bottom: [s, n[1 - h][1]],
|
|
94
|
+
left: [n[1 - h][0], v],
|
|
95
|
+
right: [n[h][0], v]
|
|
96
|
+
}, p = r.start.y;
|
|
97
|
+
+r.end.y > +r.start.y && (p = p + "-" + r.end.y);
|
|
98
|
+
var g = t.get("formatter"), y = {
|
|
99
|
+
start: r.start.y,
|
|
100
|
+
end: r.end.y,
|
|
101
|
+
nameMap: p
|
|
102
|
+
}, _ = this._formatterLabel(g, y), d = new T({
|
|
103
|
+
z2: 30,
|
|
104
|
+
style: P(t, {
|
|
105
|
+
text: _
|
|
106
|
+
}),
|
|
107
|
+
silent: t.get("silent")
|
|
108
|
+
});
|
|
109
|
+
d.attr(this._yearTextPositionControl(d, m[o], l, o, a)), i.add(d);
|
|
110
|
+
}
|
|
111
|
+
}, f.prototype._monthTextPositionControl = function(e, r, l, i, t) {
|
|
112
|
+
var a = "left", o = "top", n = e[0], s = e[1];
|
|
113
|
+
return l === "horizontal" ? (s = s + t, r && (a = "center"), i === "start" && (o = "bottom")) : (n = n + t, r && (o = "middle"), i === "start" && (a = "right")), {
|
|
114
|
+
x: n,
|
|
115
|
+
y: s,
|
|
116
|
+
align: a,
|
|
117
|
+
verticalAlign: o
|
|
118
|
+
};
|
|
119
|
+
}, f.prototype._renderMonthText = function(e, r, l, i) {
|
|
120
|
+
var t = e.getModel("monthLabel");
|
|
121
|
+
if (t.get("show")) {
|
|
122
|
+
var a = t.get("nameMap"), o = t.get("margin"), n = t.get("position"), s = t.get("align"), v = [this._tlpoints, this._blpoints];
|
|
123
|
+
(!a || w(a)) && (a && (r = M(a) || r), a = r.get(["time", "monthAbbr"]) || []);
|
|
124
|
+
var h = n === "start" ? 0 : 1, m = l === "horizontal" ? 0 : 1;
|
|
125
|
+
o = n === "start" ? -o : o;
|
|
126
|
+
for (var p = s === "center", g = t.get("silent"), y = 0; y < v[h].length - 1; y++) {
|
|
127
|
+
var _ = v[h][y].slice(), d = this._firstDayOfMonth[y];
|
|
128
|
+
if (p) {
|
|
129
|
+
var u = this._firstDayPoints[y];
|
|
130
|
+
_[m] = (u[m] + v[0][y + 1][m]) / 2;
|
|
131
|
+
}
|
|
132
|
+
var c = t.get("formatter"), b = a[+d.m - 1], S = {
|
|
133
|
+
yyyy: d.y,
|
|
134
|
+
yy: (d.y + "").slice(2),
|
|
135
|
+
MM: d.m,
|
|
136
|
+
M: +d.m,
|
|
137
|
+
nameMap: b
|
|
138
|
+
}, C = this._formatterLabel(c, S), k = new T({
|
|
139
|
+
z2: 30,
|
|
140
|
+
style: L(P(t, {
|
|
141
|
+
text: C
|
|
142
|
+
}), this._monthTextPositionControl(_, p, l, n, o)),
|
|
143
|
+
silent: g
|
|
144
|
+
});
|
|
145
|
+
i.add(k);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}, f.prototype._weekTextPositionControl = function(e, r, l, i, t) {
|
|
149
|
+
var a = "center", o = "middle", n = e[0], s = e[1], v = l === "start";
|
|
150
|
+
return r === "horizontal" ? (n = n + i + (v ? 1 : -1) * t[0] / 2, a = v ? "right" : "left") : (s = s + i + (v ? 1 : -1) * t[1] / 2, o = v ? "bottom" : "top"), {
|
|
151
|
+
x: n,
|
|
152
|
+
y: s,
|
|
153
|
+
align: a,
|
|
154
|
+
verticalAlign: o
|
|
155
|
+
};
|
|
156
|
+
}, f.prototype._renderWeekText = function(e, r, l, i, t) {
|
|
157
|
+
var a = e.getModel("dayLabel");
|
|
158
|
+
if (a.get("show")) {
|
|
159
|
+
var o = e.coordinateSystem, n = a.get("position"), s = a.get("nameMap"), v = a.get("margin"), h = o.getFirstDayOfWeek();
|
|
160
|
+
if (!s || w(s)) {
|
|
161
|
+
s && (r = M(s) || r);
|
|
162
|
+
var m = r.get(["time", "dayOfWeekShort"]);
|
|
163
|
+
s = m || z(r.get(["time", "dayOfWeekAbbr"]), function(S) {
|
|
164
|
+
return S[0];
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
var p = o.getNextNDay(l.end.time, 7 - l.lweek).time, g = [o.getCellWidth(), o.getCellHeight()];
|
|
168
|
+
v = R(v, Math.min(g[1], g[0])), n === "start" && (p = o.getNextNDay(l.start.time, -(7 + l.fweek)).time, v = -v);
|
|
169
|
+
for (var y = a.get("silent"), _ = 0; _ < 7; _++) {
|
|
170
|
+
var d = o.getNextNDay(p, _), u = o.dataToRect([d.time], !1).center, c = _;
|
|
171
|
+
c = Math.abs((_ + h) % 7);
|
|
172
|
+
var b = new T({
|
|
173
|
+
z2: 30,
|
|
174
|
+
style: L(P(a, {
|
|
175
|
+
text: s[c]
|
|
176
|
+
}), this._weekTextPositionControl(u, i, n, v, g)),
|
|
177
|
+
silent: y
|
|
178
|
+
});
|
|
179
|
+
t.add(b);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}, f.type = "calendar", f;
|
|
183
|
+
})(A)
|
|
184
|
+
);
|
|
185
|
+
export {
|
|
186
|
+
J as default
|
|
187
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "../../coord/calendar/CalendarModel.js";
|
|
2
|
+
import r from "./CalendarView.js";
|
|
3
|
+
import n from "../../coord/calendar/Calendar.js";
|
|
4
|
+
function m(o) {
|
|
5
|
+
o.registerComponentModel(e), o.registerComponentView(r), o.registerCoordinateSystem("calendar", n);
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
m as install
|
|
9
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { clone as D, each as E, map as N } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { linearMap as g, asc as A, getPixelPrecision as I } from "../../util/number.js";
|
|
3
|
+
import P from "../helper/sliderMove.js";
|
|
4
|
+
import { unionAxisExtentFromData as R } from "../../coord/axisHelper.js";
|
|
5
|
+
import { ensureScaleRawExtentInfo as V } from "../../coord/scaleRawExtentInfo.js";
|
|
6
|
+
import { isCoordSupported as F, getAxisMainType as Z } from "./helper.js";
|
|
7
|
+
import { SINGLE_REFERRING as T } from "../../util/model.js";
|
|
8
|
+
var h = E, y = A, j = (
|
|
9
|
+
/** @class */
|
|
10
|
+
(function() {
|
|
11
|
+
function u(n, e, r, t) {
|
|
12
|
+
this._dimName = n, this._axisIndex = e, this.ecModel = t, this._dataZoomModel = r;
|
|
13
|
+
}
|
|
14
|
+
return u.prototype.hostedBy = function(n) {
|
|
15
|
+
return this._dataZoomModel === n;
|
|
16
|
+
}, u.prototype.getDataValueWindow = function() {
|
|
17
|
+
return this._valueWindow.slice();
|
|
18
|
+
}, u.prototype.getDataPercentWindow = function() {
|
|
19
|
+
return this._percentWindow.slice();
|
|
20
|
+
}, u.prototype.getTargetSeriesModels = function() {
|
|
21
|
+
var n = [];
|
|
22
|
+
return this.ecModel.eachSeries(function(e) {
|
|
23
|
+
if (F(e)) {
|
|
24
|
+
var r = Z(this._dimName), t = e.getReferringComponents(r, T).models[0];
|
|
25
|
+
t && this._axisIndex === t.componentIndex && n.push(e);
|
|
26
|
+
}
|
|
27
|
+
}, this), n;
|
|
28
|
+
}, u.prototype.getAxisModel = function() {
|
|
29
|
+
return this.ecModel.getComponent(this._dimName + "Axis", this._axisIndex);
|
|
30
|
+
}, u.prototype.getMinMaxSpan = function() {
|
|
31
|
+
return D(this._minMaxSpan);
|
|
32
|
+
}, u.prototype.calculateDataWindow = function(n) {
|
|
33
|
+
var e = this._dataExtent, r = this.getAxisModel(), t = r.axis.scale, o = this._dataZoomModel.getRangePropMode(), a = [0, 100], v = [], d = [], p;
|
|
34
|
+
h(["start", "end"], function(m, i) {
|
|
35
|
+
var s = n[m], l = n[m + "Value"];
|
|
36
|
+
o[i] === "percent" ? (s == null && (s = a[i]), l = t.parse(g(s, a, e))) : (p = !0, l = l == null ? e[i] : t.parse(l), s = g(l, e, a)), d[i] = l == null || isNaN(l) ? e[i] : l, v[i] = s == null || isNaN(s) ? a[i] : s;
|
|
37
|
+
}), y(d), y(v);
|
|
38
|
+
var f = this._minMaxSpan;
|
|
39
|
+
p ? _(d, v, e, a, !1) : _(v, d, a, e, !0);
|
|
40
|
+
function _(m, i, s, l, M) {
|
|
41
|
+
var x = M ? "Span" : "ValueSpan";
|
|
42
|
+
P(0, m, s, "all", f["min" + x], f["max" + x]);
|
|
43
|
+
for (var c = 0; c < 2; c++)
|
|
44
|
+
i[c] = g(m[c], s, l, !0), M && (i[c] = t.parse(i[c]));
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
valueWindow: d,
|
|
48
|
+
percentWindow: v
|
|
49
|
+
};
|
|
50
|
+
}, u.prototype.reset = function(n) {
|
|
51
|
+
if (n === this._dataZoomModel) {
|
|
52
|
+
var e = this.getTargetSeriesModels();
|
|
53
|
+
this._dataExtent = C(this, this._dimName, e), this._updateMinMaxSpan();
|
|
54
|
+
var r = this.calculateDataWindow(n.settledOption);
|
|
55
|
+
this._valueWindow = r.valueWindow, this._percentWindow = r.percentWindow, this._setAxisModel();
|
|
56
|
+
}
|
|
57
|
+
}, u.prototype.filterData = function(n, e) {
|
|
58
|
+
if (n !== this._dataZoomModel)
|
|
59
|
+
return;
|
|
60
|
+
var r = this._dimName, t = this.getTargetSeriesModels(), o = n.get("filterMode"), a = this._valueWindow;
|
|
61
|
+
if (o === "none")
|
|
62
|
+
return;
|
|
63
|
+
h(t, function(d) {
|
|
64
|
+
var p = d.getData(), f = p.mapDimensionsAll(r);
|
|
65
|
+
if (f.length) {
|
|
66
|
+
if (o === "weakFilter") {
|
|
67
|
+
var _ = p.getStore(), m = N(f, function(i) {
|
|
68
|
+
return p.getDimensionIndex(i);
|
|
69
|
+
}, p);
|
|
70
|
+
p.filterSelf(function(i) {
|
|
71
|
+
for (var s, l, M, x = 0; x < f.length; x++) {
|
|
72
|
+
var c = _.get(m[x], i), S = !isNaN(c), w = c < a[0], W = c > a[1];
|
|
73
|
+
if (S && !w && !W)
|
|
74
|
+
return !0;
|
|
75
|
+
S && (M = !0), w && (s = !0), W && (l = !0);
|
|
76
|
+
}
|
|
77
|
+
return M && s && l;
|
|
78
|
+
});
|
|
79
|
+
} else
|
|
80
|
+
h(f, function(i) {
|
|
81
|
+
if (o === "empty")
|
|
82
|
+
d.setData(p = p.map(i, function(l) {
|
|
83
|
+
return v(l) ? l : NaN;
|
|
84
|
+
}));
|
|
85
|
+
else {
|
|
86
|
+
var s = {};
|
|
87
|
+
s[i] = a, p.selectRange(s);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
h(f, function(i) {
|
|
91
|
+
p.setApproximateExtent(a, i);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
function v(d) {
|
|
96
|
+
return d >= a[0] && d <= a[1];
|
|
97
|
+
}
|
|
98
|
+
}, u.prototype._updateMinMaxSpan = function() {
|
|
99
|
+
var n = this._minMaxSpan = {}, e = this._dataZoomModel, r = this._dataExtent;
|
|
100
|
+
h(["min", "max"], function(t) {
|
|
101
|
+
var o = e.get(t + "Span"), a = e.get(t + "ValueSpan");
|
|
102
|
+
a != null && (a = this.getAxisModel().axis.scale.parse(a)), a != null ? o = g(r[0] + a, r, [0, 100], !0) : o != null && (a = g(o, [0, 100], r, !0) - r[0]), n[t + "Span"] = o, n[t + "ValueSpan"] = a;
|
|
103
|
+
}, this);
|
|
104
|
+
}, u.prototype._setAxisModel = function() {
|
|
105
|
+
var n = this.getAxisModel(), e = this._percentWindow, r = this._valueWindow;
|
|
106
|
+
if (e) {
|
|
107
|
+
var t = I(r, [0, 500]);
|
|
108
|
+
t = Math.min(t, 20);
|
|
109
|
+
var o = n.axis.scale.rawExtentInfo;
|
|
110
|
+
e[0] !== 0 && o.setDeterminedMinMax("min", +r[0].toFixed(t)), e[1] !== 100 && o.setDeterminedMinMax("max", +r[1].toFixed(t)), o.freeze();
|
|
111
|
+
}
|
|
112
|
+
}, u;
|
|
113
|
+
})()
|
|
114
|
+
);
|
|
115
|
+
function C(u, n, e) {
|
|
116
|
+
var r = [1 / 0, -1 / 0];
|
|
117
|
+
h(e, function(a) {
|
|
118
|
+
R(r, a.getData(), n);
|
|
119
|
+
});
|
|
120
|
+
var t = u.getAxisModel(), o = V(t.axis.scale, t, r).calculate();
|
|
121
|
+
return [o.min, o.max];
|
|
122
|
+
}
|
|
123
|
+
export {
|
|
124
|
+
j as default
|
|
125
|
+
};
|