web-core-tcm 0.0.54 → 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.d.ts +2 -2
- 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.d.ts +19 -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 -0
- 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 -0
- 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 +7 -0
- 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.d.ts +7 -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 +5 -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/{pages/LoginPage.vue.d.ts → components/tcm/lisems/EcgAndPcgCollect.vue.d.ts} +1 -1
- 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 -0
- 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 -0
- 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.d.ts +5 -5
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.d.ts +1 -1
- 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 +10 -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/components/models.d.ts +0 -7
- package/dist/src/proto/index.js +0 -10
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as a, merge as l } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { getFeature as d } from "./featureManager.js";
|
|
4
|
+
import u from "../../model/Component.js";
|
|
5
|
+
var h = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(e) {
|
|
8
|
+
p(o, e);
|
|
9
|
+
function o() {
|
|
10
|
+
var r = e !== null && e.apply(this, arguments) || this;
|
|
11
|
+
return r.type = o.type, r;
|
|
12
|
+
}
|
|
13
|
+
return o.prototype.optionUpdated = function() {
|
|
14
|
+
e.prototype.optionUpdated.apply(this, arguments);
|
|
15
|
+
var r = this.ecModel;
|
|
16
|
+
a(this.option.feature, function(i, n) {
|
|
17
|
+
var t = d(n);
|
|
18
|
+
t && (t.getDefaultOption && (t.defaultOption = t.getDefaultOption(r)), l(i, t.defaultOption));
|
|
19
|
+
});
|
|
20
|
+
}, o.type = "toolbox", o.layoutMode = {
|
|
21
|
+
type: "box",
|
|
22
|
+
ignoreSize: !0
|
|
23
|
+
}, o.defaultOption = {
|
|
24
|
+
show: !0,
|
|
25
|
+
z: 6,
|
|
26
|
+
// zlevel: 0,
|
|
27
|
+
orient: "horizontal",
|
|
28
|
+
left: "right",
|
|
29
|
+
top: "top",
|
|
30
|
+
// right
|
|
31
|
+
// bottom
|
|
32
|
+
backgroundColor: "transparent",
|
|
33
|
+
borderColor: "#ccc",
|
|
34
|
+
borderRadius: 0,
|
|
35
|
+
borderWidth: 0,
|
|
36
|
+
padding: 5,
|
|
37
|
+
itemSize: 15,
|
|
38
|
+
itemGap: 8,
|
|
39
|
+
showTitle: !0,
|
|
40
|
+
iconStyle: {
|
|
41
|
+
borderColor: "#666",
|
|
42
|
+
color: "none"
|
|
43
|
+
},
|
|
44
|
+
emphasis: {
|
|
45
|
+
iconStyle: {
|
|
46
|
+
borderColor: "#3E98C5"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
// textStyle: {},
|
|
50
|
+
// feature
|
|
51
|
+
tooltip: {
|
|
52
|
+
show: !1,
|
|
53
|
+
position: "bottom"
|
|
54
|
+
}
|
|
55
|
+
}, o;
|
|
56
|
+
})(u)
|
|
57
|
+
);
|
|
58
|
+
export {
|
|
59
|
+
h as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { __extends as U } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as C, curry as b, isString as V, bind as H, isFunction as O } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { getBoundingRect as Z } from "../../../../zrender/lib/contain/text.js";
|
|
4
|
+
import { createIcon as j, setTooltipConfig as q } from "../../util/graphic.js";
|
|
5
|
+
import { enterEmphasis as B, leaveEmphasis as R } from "../../util/states.js";
|
|
6
|
+
import G from "../../model/Model.js";
|
|
7
|
+
import J from "../../data/DataDiffer.js";
|
|
8
|
+
import { layout as K, makeBackground as L } from "../helper/listComponent.js";
|
|
9
|
+
import Q from "../../view/Component.js";
|
|
10
|
+
import { getFeature as Y, ToolboxFeature as x } from "./featureManager.js";
|
|
11
|
+
import { getUID as $ } from "../../util/component.js";
|
|
12
|
+
import z from "../../../../zrender/lib/graphic/Text.js";
|
|
13
|
+
import { getFont as N } from "../../label/labelStyle.js";
|
|
14
|
+
var ht = (
|
|
15
|
+
/** @class */
|
|
16
|
+
(function(w) {
|
|
17
|
+
U(v, w);
|
|
18
|
+
function v() {
|
|
19
|
+
return w !== null && w.apply(this, arguments) || this;
|
|
20
|
+
}
|
|
21
|
+
return v.prototype.render = function(i, m, e, c) {
|
|
22
|
+
var g = this.group;
|
|
23
|
+
if (g.removeAll(), !i.get("show"))
|
|
24
|
+
return;
|
|
25
|
+
var y = +i.get("itemSize"), k = i.get("orient") === "vertical", I = i.get("feature") || {}, P = this._features || (this._features = {}), F = [];
|
|
26
|
+
C(I, function(r, h) {
|
|
27
|
+
F.push(h);
|
|
28
|
+
}), new J(this._featureNames || [], F).add(_).update(_).remove(b(_, null)).execute(), this._featureNames = F;
|
|
29
|
+
function _(r, h) {
|
|
30
|
+
var o = F[r], p = F[h], n = I[o], s = new G(n, i, i.ecModel), t;
|
|
31
|
+
if (c && c.newTitle != null && c.featureName === o && (n.title = c.newTitle), o && !p) {
|
|
32
|
+
if (X(o))
|
|
33
|
+
t = {
|
|
34
|
+
onclick: s.option.onclick,
|
|
35
|
+
featureName: o
|
|
36
|
+
};
|
|
37
|
+
else {
|
|
38
|
+
var l = Y(o);
|
|
39
|
+
if (!l)
|
|
40
|
+
return;
|
|
41
|
+
t = new l();
|
|
42
|
+
}
|
|
43
|
+
P[o] = t;
|
|
44
|
+
} else if (t = P[p], !t)
|
|
45
|
+
return;
|
|
46
|
+
t.uid = $("toolbox-feature"), t.model = s, t.ecModel = m, t.api = e;
|
|
47
|
+
var u = t instanceof x;
|
|
48
|
+
if (!o && p) {
|
|
49
|
+
u && t.dispose && t.dispose(m, e);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (!s.get("show") || u && t.unusable) {
|
|
53
|
+
u && t.remove && t.remove(m, e);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
A(s, t, o), s.setIconStatus = function(d, S) {
|
|
57
|
+
var a = this.option, f = this.iconPaths;
|
|
58
|
+
a.iconStatus = a.iconStatus || {}, a.iconStatus[d] = S, f[d] && (S === "emphasis" ? B : R)(f[d]);
|
|
59
|
+
}, t instanceof x && t.render && t.render(s, m, e, c);
|
|
60
|
+
}
|
|
61
|
+
function A(r, h, o) {
|
|
62
|
+
var p = r.getModel("iconStyle"), n = r.getModel(["emphasis", "iconStyle"]), s = h instanceof x && h.getIcons ? h.getIcons() : r.get("icon"), t = r.get("title") || {}, l, u;
|
|
63
|
+
V(s) ? (l = {}, l[o] = s) : l = s, V(t) ? (u = {}, u[o] = t) : u = t;
|
|
64
|
+
var d = r.iconPaths = {};
|
|
65
|
+
C(l, function(S, a) {
|
|
66
|
+
var f = j(S, {}, {
|
|
67
|
+
x: -y / 2,
|
|
68
|
+
y: -y / 2,
|
|
69
|
+
width: y,
|
|
70
|
+
height: y
|
|
71
|
+
});
|
|
72
|
+
f.setStyle(p.getItemStyle());
|
|
73
|
+
var D = f.ensureState("emphasis");
|
|
74
|
+
D.style = n.getItemStyle();
|
|
75
|
+
var T = new z({
|
|
76
|
+
style: {
|
|
77
|
+
text: u[a],
|
|
78
|
+
align: n.get("textAlign"),
|
|
79
|
+
borderRadius: n.get("textBorderRadius"),
|
|
80
|
+
padding: n.get("textPadding"),
|
|
81
|
+
fill: null,
|
|
82
|
+
font: N({
|
|
83
|
+
fontStyle: n.get("textFontStyle"),
|
|
84
|
+
fontFamily: n.get("textFontFamily"),
|
|
85
|
+
fontSize: n.get("textFontSize"),
|
|
86
|
+
fontWeight: n.get("textFontWeight")
|
|
87
|
+
}, m)
|
|
88
|
+
},
|
|
89
|
+
ignore: !0
|
|
90
|
+
});
|
|
91
|
+
f.setTextContent(T), q({
|
|
92
|
+
el: f,
|
|
93
|
+
componentModel: i,
|
|
94
|
+
itemName: a,
|
|
95
|
+
formatterParamsExtra: {
|
|
96
|
+
title: u[a]
|
|
97
|
+
}
|
|
98
|
+
}), f.__title = u[a], f.on("mouseover", function() {
|
|
99
|
+
var E = n.getItemStyle(), W = k ? i.get("right") == null && i.get("left") !== "right" ? "right" : "left" : i.get("bottom") == null && i.get("top") !== "bottom" ? "bottom" : "top";
|
|
100
|
+
T.setStyle({
|
|
101
|
+
fill: n.get("textFill") || E.fill || E.stroke || "#000",
|
|
102
|
+
backgroundColor: n.get("textBackgroundColor")
|
|
103
|
+
}), f.setTextConfig({
|
|
104
|
+
position: n.get("textPosition") || W
|
|
105
|
+
}), T.ignore = !i.get("showTitle"), e.enterEmphasis(this);
|
|
106
|
+
}).on("mouseout", function() {
|
|
107
|
+
r.get(["iconStatus", a]) !== "emphasis" && e.leaveEmphasis(this), T.hide();
|
|
108
|
+
}), (r.get(["iconStatus", a]) === "emphasis" ? B : R)(f), g.add(f), f.on("click", H(h.onclick, h, m, e, a)), d[a] = f;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
K(g, i, e), g.add(L(g.getBoundingRect(), i)), k || g.eachChild(function(r) {
|
|
112
|
+
var h = r.__title, o = r.ensureState("emphasis"), p = o.textConfig || (o.textConfig = {}), n = r.getTextContent(), s = n && n.ensureState("emphasis");
|
|
113
|
+
if (s && !O(s) && h) {
|
|
114
|
+
var t = s.style || (s.style = {}), l = Z(h, z.makeFont(t)), u = r.x + g.x, d = r.y + g.y + y, S = !1;
|
|
115
|
+
d + l.height > e.getHeight() && (p.position = "top", S = !0);
|
|
116
|
+
var a = S ? -5 - l.height : y + 10;
|
|
117
|
+
u + l.width / 2 > e.getWidth() ? (p.position = ["100%", a], t.align = "right") : u - l.width / 2 < 0 && (p.position = [0, a], t.align = "left");
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}, v.prototype.updateView = function(i, m, e, c) {
|
|
121
|
+
C(this._features, function(g) {
|
|
122
|
+
g instanceof x && g.updateView && g.updateView(g.model, m, e, c);
|
|
123
|
+
});
|
|
124
|
+
}, v.prototype.remove = function(i, m) {
|
|
125
|
+
C(this._features, function(e) {
|
|
126
|
+
e instanceof x && e.remove && e.remove(i, m);
|
|
127
|
+
}), this.group.removeAll();
|
|
128
|
+
}, v.prototype.dispose = function(i, m) {
|
|
129
|
+
C(this._features, function(e) {
|
|
130
|
+
e instanceof x && e.dispose && e.dispose(i, m);
|
|
131
|
+
});
|
|
132
|
+
}, v.type = "toolbox", v;
|
|
133
|
+
})(Q)
|
|
134
|
+
);
|
|
135
|
+
function X(w) {
|
|
136
|
+
return w.indexOf("my") === 0;
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
ht as default
|
|
140
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { __extends as a } from "../../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as s } from "../../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { ToolboxFeature as u } from "../featureManager.js";
|
|
4
|
+
var c = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], V = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function(n) {
|
|
7
|
+
a(o, n);
|
|
8
|
+
function o() {
|
|
9
|
+
return n !== null && n.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
return o.prototype.render = function(t, e, M) {
|
|
12
|
+
var r, h, i;
|
|
13
|
+
e.eachComponent({
|
|
14
|
+
mainType: "brush"
|
|
15
|
+
}, function(l) {
|
|
16
|
+
r = l.brushType, h = l.brushOption.brushMode || "single", i = i || !!l.areas.length;
|
|
17
|
+
}), this._brushType = r, this._brushMode = h, s(t.get("type", !0), function(l) {
|
|
18
|
+
t.setIconStatus(l, (l === "keep" ? h === "multiple" : l === "clear" ? i : l === r) ? "emphasis" : "normal");
|
|
19
|
+
});
|
|
20
|
+
}, o.prototype.updateView = function(t, e, M) {
|
|
21
|
+
this.render(t, e, M);
|
|
22
|
+
}, o.prototype.getIcons = function() {
|
|
23
|
+
var t = this.model, e = t.get("icon", !0), M = {};
|
|
24
|
+
return s(t.get("type", !0), function(r) {
|
|
25
|
+
e[r] && (M[r] = e[r]);
|
|
26
|
+
}), M;
|
|
27
|
+
}, o.prototype.onclick = function(t, e, M) {
|
|
28
|
+
var r = this._brushType, h = this._brushMode;
|
|
29
|
+
M === "clear" ? (e.dispatchAction({
|
|
30
|
+
type: "axisAreaSelect",
|
|
31
|
+
intervals: []
|
|
32
|
+
}), e.dispatchAction({
|
|
33
|
+
type: "brush",
|
|
34
|
+
command: "clear",
|
|
35
|
+
// Clear all areas of all brush components.
|
|
36
|
+
areas: []
|
|
37
|
+
})) : e.dispatchAction({
|
|
38
|
+
type: "takeGlobalCursor",
|
|
39
|
+
key: "brush",
|
|
40
|
+
brushOption: {
|
|
41
|
+
brushType: M === "keep" ? r : r === M ? !1 : M,
|
|
42
|
+
brushMode: M === "keep" ? h === "multiple" ? "single" : "multiple" : h
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}, o.getDefaultOption = function(t) {
|
|
46
|
+
var e = {
|
|
47
|
+
show: !0,
|
|
48
|
+
type: c.slice(),
|
|
49
|
+
icon: {
|
|
50
|
+
/* eslint-disable */
|
|
51
|
+
rect: "M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",
|
|
52
|
+
polygon: "M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",
|
|
53
|
+
lineX: "M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",
|
|
54
|
+
lineY: "M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",
|
|
55
|
+
keep: "M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",
|
|
56
|
+
clear: "M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"
|
|
57
|
+
// jshint ignore:line
|
|
58
|
+
/* eslint-enable */
|
|
59
|
+
},
|
|
60
|
+
// `rect`, `polygon`, `lineX`, `lineY`, `keep`, `clear`
|
|
61
|
+
title: t.getLocaleModel().get(["toolbox", "brush", "title"])
|
|
62
|
+
};
|
|
63
|
+
return e;
|
|
64
|
+
}, o;
|
|
65
|
+
})(u)
|
|
66
|
+
);
|
|
67
|
+
export {
|
|
68
|
+
V as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { __extends as k } from "../../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { registerAction as z } from "../../../core/echarts.js";
|
|
3
|
+
import { isFunction as D, isString as F, isDom as N, each as b, extend as j, defaults as B, filter as G, map as O, isObject as E, isArray as M } from "../../../../../zrender/lib/core/util.js";
|
|
4
|
+
import { ToolboxFeature as P } from "../featureManager.js";
|
|
5
|
+
import { addEventListener as H } from "../../../../../zrender/lib/core/event.js";
|
|
6
|
+
var L = new Array(60).join("-"), h = " ";
|
|
7
|
+
function U(i) {
|
|
8
|
+
var r = {}, e = [], t = [];
|
|
9
|
+
return i.eachRawSeries(function(n) {
|
|
10
|
+
var o = n.coordinateSystem;
|
|
11
|
+
if (o && (o.type === "cartesian2d" || o.type === "polar")) {
|
|
12
|
+
var a = o.getBaseAxis();
|
|
13
|
+
if (a.type === "category") {
|
|
14
|
+
var s = a.dim + "_" + a.index;
|
|
15
|
+
r[s] || (r[s] = {
|
|
16
|
+
categoryAxis: a,
|
|
17
|
+
valueAxis: o.getOtherAxis(a),
|
|
18
|
+
series: []
|
|
19
|
+
}, t.push({
|
|
20
|
+
axisDim: a.dim,
|
|
21
|
+
axisIndex: a.index
|
|
22
|
+
})), r[s].series.push(n);
|
|
23
|
+
} else
|
|
24
|
+
e.push(n);
|
|
25
|
+
} else
|
|
26
|
+
e.push(n);
|
|
27
|
+
}), {
|
|
28
|
+
seriesGroupByCategoryAxis: r,
|
|
29
|
+
other: e,
|
|
30
|
+
meta: t
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function V(i) {
|
|
34
|
+
var r = [];
|
|
35
|
+
return b(i, function(e, t) {
|
|
36
|
+
var n = e.categoryAxis, o = e.valueAxis, a = o.dim, s = [" "].concat(O(e.series, function(p) {
|
|
37
|
+
return p.name;
|
|
38
|
+
})), l = [n.model.getCategories()];
|
|
39
|
+
b(e.series, function(p) {
|
|
40
|
+
var f = p.getRawData();
|
|
41
|
+
l.push(p.getRawData().mapArray(f.mapDimension(a), function(g) {
|
|
42
|
+
return g;
|
|
43
|
+
}));
|
|
44
|
+
});
|
|
45
|
+
for (var u = [s.join(h)], c = 0; c < l[0].length; c++) {
|
|
46
|
+
for (var v = [], d = 0; d < l.length; d++)
|
|
47
|
+
v.push(l[d][c]);
|
|
48
|
+
u.push(v.join(h));
|
|
49
|
+
}
|
|
50
|
+
r.push(u.join(`
|
|
51
|
+
`));
|
|
52
|
+
}), r.join(`
|
|
53
|
+
|
|
54
|
+
` + L + `
|
|
55
|
+
|
|
56
|
+
`);
|
|
57
|
+
}
|
|
58
|
+
function W(i) {
|
|
59
|
+
return O(i, function(r) {
|
|
60
|
+
var e = r.getRawData(), t = [r.name], n = [];
|
|
61
|
+
return e.each(e.dimensions, function() {
|
|
62
|
+
for (var o = arguments.length, a = arguments[o - 1], s = e.getName(a), l = 0; l < o - 1; l++)
|
|
63
|
+
n[l] = arguments[l];
|
|
64
|
+
t.push((s ? s + h : "") + n.join(h));
|
|
65
|
+
}), t.join(`
|
|
66
|
+
`);
|
|
67
|
+
}).join(`
|
|
68
|
+
|
|
69
|
+
` + L + `
|
|
70
|
+
|
|
71
|
+
`);
|
|
72
|
+
}
|
|
73
|
+
function $(i) {
|
|
74
|
+
var r = U(i);
|
|
75
|
+
return {
|
|
76
|
+
value: G([V(r.seriesGroupByCategoryAxis), W(r.other)], function(e) {
|
|
77
|
+
return !!e.replace(/[\n\t\s]/g, "");
|
|
78
|
+
}).join(`
|
|
79
|
+
|
|
80
|
+
` + L + `
|
|
81
|
+
|
|
82
|
+
`),
|
|
83
|
+
meta: r.meta
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function w(i) {
|
|
87
|
+
return i.replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
88
|
+
}
|
|
89
|
+
function q(i) {
|
|
90
|
+
var r = i.slice(0, i.indexOf(`
|
|
91
|
+
`));
|
|
92
|
+
if (r.indexOf(h) >= 0)
|
|
93
|
+
return !0;
|
|
94
|
+
}
|
|
95
|
+
var A = new RegExp("[" + h + "]+", "g");
|
|
96
|
+
function J(i) {
|
|
97
|
+
for (var r = i.split(/\n+/g), e = w(r.shift()).split(A), t = [], n = O(e, function(l) {
|
|
98
|
+
return {
|
|
99
|
+
name: l,
|
|
100
|
+
data: []
|
|
101
|
+
};
|
|
102
|
+
}), o = 0; o < r.length; o++) {
|
|
103
|
+
var a = w(r[o]).split(A);
|
|
104
|
+
t.push(a.shift());
|
|
105
|
+
for (var s = 0; s < a.length; s++)
|
|
106
|
+
n[s] && (n[s].data[o] = a[s]);
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
series: n,
|
|
110
|
+
categories: t
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function Q(i) {
|
|
114
|
+
for (var r = i.split(/\n+/g), e = w(r.shift()), t = [], n = 0; n < r.length; n++) {
|
|
115
|
+
var o = w(r[n]);
|
|
116
|
+
if (o) {
|
|
117
|
+
var a = o.split(A), s = "", l = void 0, u = !1;
|
|
118
|
+
isNaN(a[0]) ? (u = !0, s = a[0], a = a.slice(1), t[n] = {
|
|
119
|
+
name: s,
|
|
120
|
+
value: []
|
|
121
|
+
}, l = t[n].value) : l = t[n] = [];
|
|
122
|
+
for (var c = 0; c < a.length; c++)
|
|
123
|
+
l.push(+a[c]);
|
|
124
|
+
l.length === 1 && (u ? t[n].value = l[0] : t[n] = l[0]);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
name: e,
|
|
129
|
+
data: t
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function X(i, r) {
|
|
133
|
+
var e = i.split(new RegExp(`
|
|
134
|
+
*` + L + `
|
|
135
|
+
*`, "g")), t = {
|
|
136
|
+
series: []
|
|
137
|
+
};
|
|
138
|
+
return b(e, function(n, o) {
|
|
139
|
+
if (q(n)) {
|
|
140
|
+
var a = J(n), s = r[o], l = s.axisDim + "Axis";
|
|
141
|
+
s && (t[l] = t[l] || [], t[l][s.axisIndex] = {
|
|
142
|
+
data: a.categories
|
|
143
|
+
}, t.series = t.series.concat(a.series));
|
|
144
|
+
} else {
|
|
145
|
+
var a = Q(n);
|
|
146
|
+
t.series.push(a);
|
|
147
|
+
}
|
|
148
|
+
}), t;
|
|
149
|
+
}
|
|
150
|
+
var ne = (
|
|
151
|
+
/** @class */
|
|
152
|
+
(function(i) {
|
|
153
|
+
k(r, i);
|
|
154
|
+
function r() {
|
|
155
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
156
|
+
}
|
|
157
|
+
return r.prototype.onclick = function(e, t) {
|
|
158
|
+
setTimeout(function() {
|
|
159
|
+
t.dispatchAction({
|
|
160
|
+
type: "hideTip"
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
var n = t.getDom(), o = this.model;
|
|
164
|
+
this._dom && n.removeChild(this._dom);
|
|
165
|
+
var a = document.createElement("div");
|
|
166
|
+
a.style.cssText = "position:absolute;top:0;bottom:0;left:0;right:0;padding:5px", a.style.backgroundColor = o.get("backgroundColor") || "#fff";
|
|
167
|
+
var s = document.createElement("h4"), l = o.get("lang") || [];
|
|
168
|
+
s.innerHTML = l[0] || o.get("title"), s.style.cssText = "margin:10px 20px", s.style.color = o.get("textColor");
|
|
169
|
+
var u = document.createElement("div"), c = document.createElement("textarea");
|
|
170
|
+
u.style.cssText = "overflow:auto";
|
|
171
|
+
var v = o.get("optionToContent"), d = o.get("contentToOption"), p = $(e);
|
|
172
|
+
if (D(v)) {
|
|
173
|
+
var f = v(t.getOption());
|
|
174
|
+
F(f) ? u.innerHTML = f : N(f) && u.appendChild(f);
|
|
175
|
+
} else {
|
|
176
|
+
c.readOnly = o.get("readOnly");
|
|
177
|
+
var g = c.style;
|
|
178
|
+
g.cssText = "display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none", g.color = o.get("textColor"), g.borderColor = o.get("textareaBorderColor"), g.backgroundColor = o.get("textareaColor"), c.value = p.value, u.appendChild(c);
|
|
179
|
+
}
|
|
180
|
+
var R = p.meta, m = document.createElement("div");
|
|
181
|
+
m.style.cssText = "position:absolute;bottom:5px;left:0;right:0";
|
|
182
|
+
var S = "float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px", x = document.createElement("div"), C = document.createElement("div");
|
|
183
|
+
S += ";background-color:" + o.get("buttonColor"), S += ";color:" + o.get("buttonTextColor");
|
|
184
|
+
var _ = this;
|
|
185
|
+
function y() {
|
|
186
|
+
n.removeChild(a), _._dom = null;
|
|
187
|
+
}
|
|
188
|
+
H(x, "click", y), H(C, "click", function() {
|
|
189
|
+
if (d == null && v != null || d != null && v == null) {
|
|
190
|
+
y();
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
var T;
|
|
194
|
+
try {
|
|
195
|
+
D(d) ? T = d(u, t.getOption()) : T = X(c.value, R);
|
|
196
|
+
} catch (I) {
|
|
197
|
+
throw y(), new Error("Data view format error " + I);
|
|
198
|
+
}
|
|
199
|
+
T && t.dispatchAction({
|
|
200
|
+
type: "changeDataView",
|
|
201
|
+
newOption: T
|
|
202
|
+
}), y();
|
|
203
|
+
}), x.innerHTML = l[1], C.innerHTML = l[2], C.style.cssText = x.style.cssText = S, !o.get("readOnly") && m.appendChild(C), m.appendChild(x), a.appendChild(s), a.appendChild(u), a.appendChild(m), u.style.height = n.clientHeight - 80 + "px", n.appendChild(a), this._dom = a;
|
|
204
|
+
}, r.prototype.remove = function(e, t) {
|
|
205
|
+
this._dom && t.getDom().removeChild(this._dom);
|
|
206
|
+
}, r.prototype.dispose = function(e, t) {
|
|
207
|
+
this.remove(e, t);
|
|
208
|
+
}, r.getDefaultOption = function(e) {
|
|
209
|
+
var t = {
|
|
210
|
+
show: !0,
|
|
211
|
+
readOnly: !1,
|
|
212
|
+
optionToContent: null,
|
|
213
|
+
contentToOption: null,
|
|
214
|
+
// eslint-disable-next-line
|
|
215
|
+
icon: "M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",
|
|
216
|
+
title: e.getLocaleModel().get(["toolbox", "dataView", "title"]),
|
|
217
|
+
lang: e.getLocaleModel().get(["toolbox", "dataView", "lang"]),
|
|
218
|
+
backgroundColor: "#fff",
|
|
219
|
+
textColor: "#000",
|
|
220
|
+
textareaColor: "#fff",
|
|
221
|
+
textareaBorderColor: "#333",
|
|
222
|
+
buttonColor: "#c23531",
|
|
223
|
+
buttonTextColor: "#fff"
|
|
224
|
+
};
|
|
225
|
+
return t;
|
|
226
|
+
}, r;
|
|
227
|
+
})(P)
|
|
228
|
+
);
|
|
229
|
+
function Y(i, r) {
|
|
230
|
+
return O(i, function(e, t) {
|
|
231
|
+
var n = r && r[t];
|
|
232
|
+
if (E(n) && !M(n)) {
|
|
233
|
+
var o = E(e) && !M(e);
|
|
234
|
+
o || (e = {
|
|
235
|
+
value: e
|
|
236
|
+
});
|
|
237
|
+
var a = n.name != null && e.name == null;
|
|
238
|
+
return e = B(e, n), a && delete e.name, e;
|
|
239
|
+
} else
|
|
240
|
+
return e;
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
z({
|
|
244
|
+
type: "changeDataView",
|
|
245
|
+
event: "dataViewChanged",
|
|
246
|
+
update: "prepareAndUpdate"
|
|
247
|
+
}, function(i, r) {
|
|
248
|
+
var e = [];
|
|
249
|
+
b(i.newOption.series, function(t) {
|
|
250
|
+
var n = r.getSeriesByName(t.name)[0];
|
|
251
|
+
if (!n)
|
|
252
|
+
e.push(j({
|
|
253
|
+
// Default is scatter
|
|
254
|
+
type: "scatter"
|
|
255
|
+
}, t));
|
|
256
|
+
else {
|
|
257
|
+
var o = n.get("data");
|
|
258
|
+
e.push({
|
|
259
|
+
name: t.name,
|
|
260
|
+
data: Y(t.data, o)
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
}), r.mergeOption(B({
|
|
264
|
+
series: e
|
|
265
|
+
}, i.newOption));
|
|
266
|
+
});
|
|
267
|
+
export {
|
|
268
|
+
ne as default
|
|
269
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { __extends as b } from "../../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { bind as y, each as g, clone as I } from "../../../../../zrender/lib/core/util.js";
|
|
3
|
+
import Z from "../../helper/BrushController.js";
|
|
4
|
+
import v from "../../helper/BrushTargetManager.js";
|
|
5
|
+
import { push as _, pop as M, count as C } from "../../dataZoom/history.js";
|
|
6
|
+
import S from "../../helper/sliderMove.js";
|
|
7
|
+
import { ToolboxFeature as k } from "../featureManager.js";
|
|
8
|
+
import { parseFinder as D, makeInternalComponentId as T } from "../../../util/model.js";
|
|
9
|
+
import { registerInternalOptionCreator as B } from "../../../model/internalComponentCreator.js";
|
|
10
|
+
var f = g, O = T("toolbox-dataZoom_"), R = (
|
|
11
|
+
/** @class */
|
|
12
|
+
(function(o) {
|
|
13
|
+
b(t, o);
|
|
14
|
+
function t() {
|
|
15
|
+
return o !== null && o.apply(this, arguments) || this;
|
|
16
|
+
}
|
|
17
|
+
return t.prototype.render = function(n, e, r, i) {
|
|
18
|
+
this._brushController || (this._brushController = new Z(r.getZr()), this._brushController.on("brush", y(this._onBrush, this)).mount()), w(n, e, this, i, r), H(n, e);
|
|
19
|
+
}, t.prototype.onclick = function(n, e, r) {
|
|
20
|
+
V[r].call(this);
|
|
21
|
+
}, t.prototype.remove = function(n, e) {
|
|
22
|
+
this._brushController && this._brushController.unmount();
|
|
23
|
+
}, t.prototype.dispose = function(n, e) {
|
|
24
|
+
this._brushController && this._brushController.dispose();
|
|
25
|
+
}, t.prototype._onBrush = function(n) {
|
|
26
|
+
var e = n.areas;
|
|
27
|
+
if (!n.isEnd || !e.length)
|
|
28
|
+
return;
|
|
29
|
+
var r = {}, i = this.ecModel;
|
|
30
|
+
this._brushController.updateCovers([]);
|
|
31
|
+
var h = new v(A(this.model), i, {
|
|
32
|
+
include: ["grid"]
|
|
33
|
+
});
|
|
34
|
+
h.matchOutputRanges(e, i, function(d, c, a) {
|
|
35
|
+
if (a.type === "cartesian2d") {
|
|
36
|
+
var l = d.brushType;
|
|
37
|
+
l === "rect" ? (u("x", a, c[0]), u("y", a, c[1])) : u({
|
|
38
|
+
lineX: "x",
|
|
39
|
+
lineY: "y"
|
|
40
|
+
}[l], a, c);
|
|
41
|
+
}
|
|
42
|
+
}), _(i, r), this._dispatchZoomAction(r);
|
|
43
|
+
function u(d, c, a) {
|
|
44
|
+
var l = c.getAxis(d), x = l.model, p = s(d, x, i), m = p.findRepresentativeAxisProxy(x).getMinMaxSpan();
|
|
45
|
+
(m.minValueSpan != null || m.maxValueSpan != null) && (a = S(0, a.slice(), l.scale.getExtent(), 0, m.minValueSpan, m.maxValueSpan)), p && (r[p.id] = {
|
|
46
|
+
dataZoomId: p.id,
|
|
47
|
+
startValue: a[0],
|
|
48
|
+
endValue: a[1]
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function s(d, c, a) {
|
|
52
|
+
var l;
|
|
53
|
+
return a.eachComponent({
|
|
54
|
+
mainType: "dataZoom",
|
|
55
|
+
subType: "select"
|
|
56
|
+
}, function(x) {
|
|
57
|
+
var p = x.getAxisModel(d, c.componentIndex);
|
|
58
|
+
p && (l = x);
|
|
59
|
+
}), l;
|
|
60
|
+
}
|
|
61
|
+
}, t.prototype._dispatchZoomAction = function(n) {
|
|
62
|
+
var e = [];
|
|
63
|
+
f(n, function(r, i) {
|
|
64
|
+
e.push(I(r));
|
|
65
|
+
}), e.length && this.api.dispatchAction({
|
|
66
|
+
type: "dataZoom",
|
|
67
|
+
from: this.uid,
|
|
68
|
+
batch: e
|
|
69
|
+
});
|
|
70
|
+
}, t.getDefaultOption = function(n) {
|
|
71
|
+
var e = {
|
|
72
|
+
show: !0,
|
|
73
|
+
filterMode: "filter",
|
|
74
|
+
// Icon group
|
|
75
|
+
icon: {
|
|
76
|
+
zoom: "M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",
|
|
77
|
+
back: "M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"
|
|
78
|
+
},
|
|
79
|
+
// `zoom`, `back`
|
|
80
|
+
title: n.getLocaleModel().get(["toolbox", "dataZoom", "title"]),
|
|
81
|
+
brushStyle: {
|
|
82
|
+
borderWidth: 0,
|
|
83
|
+
color: "rgba(210,219,238,0.2)"
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
return e;
|
|
87
|
+
}, t;
|
|
88
|
+
})(k)
|
|
89
|
+
), V = {
|
|
90
|
+
zoom: function() {
|
|
91
|
+
var o = !this._isZoomActive;
|
|
92
|
+
this.api.dispatchAction({
|
|
93
|
+
type: "takeGlobalCursor",
|
|
94
|
+
key: "dataZoomSelect",
|
|
95
|
+
dataZoomSelectActive: o
|
|
96
|
+
});
|
|
97
|
+
},
|
|
98
|
+
back: function() {
|
|
99
|
+
this._dispatchZoomAction(M(this.ecModel));
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
function A(o) {
|
|
103
|
+
var t = {
|
|
104
|
+
xAxisIndex: o.get("xAxisIndex", !0),
|
|
105
|
+
yAxisIndex: o.get("yAxisIndex", !0),
|
|
106
|
+
xAxisId: o.get("xAxisId", !0),
|
|
107
|
+
yAxisId: o.get("yAxisId", !0)
|
|
108
|
+
};
|
|
109
|
+
return t.xAxisIndex == null && t.xAxisId == null && (t.xAxisIndex = "all"), t.yAxisIndex == null && t.yAxisId == null && (t.yAxisIndex = "all"), t;
|
|
110
|
+
}
|
|
111
|
+
function H(o, t) {
|
|
112
|
+
o.setIconStatus("back", C(t) > 1 ? "emphasis" : "normal");
|
|
113
|
+
}
|
|
114
|
+
function w(o, t, n, e, r) {
|
|
115
|
+
var i = n._isZoomActive;
|
|
116
|
+
e && e.type === "takeGlobalCursor" && (i = e.key === "dataZoomSelect" ? e.dataZoomSelectActive : !1), n._isZoomActive = i, o.setIconStatus("zoom", i ? "emphasis" : "normal");
|
|
117
|
+
var h = new v(A(o), t, {
|
|
118
|
+
include: ["grid"]
|
|
119
|
+
}), u = h.makePanelOpts(r, function(s) {
|
|
120
|
+
return s.xAxisDeclared && !s.yAxisDeclared ? "lineX" : !s.xAxisDeclared && s.yAxisDeclared ? "lineY" : "rect";
|
|
121
|
+
});
|
|
122
|
+
n._brushController.setPanels(u).enableBrush(i && u.length ? {
|
|
123
|
+
brushType: "auto",
|
|
124
|
+
brushStyle: o.getModel("brushStyle").getItemStyle()
|
|
125
|
+
} : !1);
|
|
126
|
+
}
|
|
127
|
+
B("dataZoom", function(o) {
|
|
128
|
+
var t = o.getComponent("toolbox", 0), n = ["feature", "dataZoom"];
|
|
129
|
+
if (!t || t.get(n) == null)
|
|
130
|
+
return;
|
|
131
|
+
var e = t.getModel(n), r = [], i = A(e), h = D(o, i);
|
|
132
|
+
f(h.xAxisModels, function(s) {
|
|
133
|
+
return u(s, "xAxis", "xAxisIndex");
|
|
134
|
+
}), f(h.yAxisModels, function(s) {
|
|
135
|
+
return u(s, "yAxis", "yAxisIndex");
|
|
136
|
+
});
|
|
137
|
+
function u(s, d, c) {
|
|
138
|
+
var a = s.componentIndex, l = {
|
|
139
|
+
type: "select",
|
|
140
|
+
$fromToolbox: !0,
|
|
141
|
+
// Default to be filter
|
|
142
|
+
filterMode: e.get("filterMode", !0) || "filter",
|
|
143
|
+
// Id for merge mapping.
|
|
144
|
+
id: O + d + a
|
|
145
|
+
};
|
|
146
|
+
l[c] = a, r.push(l);
|
|
147
|
+
}
|
|
148
|
+
return r;
|
|
149
|
+
});
|
|
150
|
+
export {
|
|
151
|
+
R as default
|
|
152
|
+
};
|