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,168 @@
|
|
|
1
|
+
import { __extends as Q } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { setStatesStylesFromModel as N, toggleHoverEmphasis as B, enterEmphasis as et, leaveEmphasis as at } from "../../util/states.js";
|
|
3
|
+
import rt from "../../view/Chart.js";
|
|
4
|
+
import { getLabelStatesModels as H, setLabelStyle as q } from "../../label/labelStyle.js";
|
|
5
|
+
import { getECData as J } from "../../util/innerStore.js";
|
|
6
|
+
import { isString as K, retrieve3 as lt } from "../../../../zrender/lib/core/util.js";
|
|
7
|
+
import U from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
8
|
+
import it from "../../../../zrender/lib/graphic/Path.js";
|
|
9
|
+
import ot from "../../../../zrender/lib/graphic/LinearGradient.js";
|
|
10
|
+
import { initProps as nt } from "../../animation/basicTransition.js";
|
|
11
|
+
var dt = (
|
|
12
|
+
/** @class */
|
|
13
|
+
/* @__PURE__ */ (function() {
|
|
14
|
+
function r() {
|
|
15
|
+
this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.cpx1 = 0, this.cpy1 = 0, this.cpx2 = 0, this.cpy2 = 0, this.extent = 0;
|
|
16
|
+
}
|
|
17
|
+
return r;
|
|
18
|
+
})()
|
|
19
|
+
), ct = (
|
|
20
|
+
/** @class */
|
|
21
|
+
(function(r) {
|
|
22
|
+
Q(i, r);
|
|
23
|
+
function i(t) {
|
|
24
|
+
return r.call(this, t) || this;
|
|
25
|
+
}
|
|
26
|
+
return i.prototype.getDefaultShape = function() {
|
|
27
|
+
return new dt();
|
|
28
|
+
}, i.prototype.buildPath = function(t, e) {
|
|
29
|
+
var o = e.extent;
|
|
30
|
+
t.moveTo(e.x1, e.y1), t.bezierCurveTo(e.cpx1, e.cpy1, e.cpx2, e.cpy2, e.x2, e.y2), e.orient === "vertical" ? (t.lineTo(e.x2 + o, e.y2), t.bezierCurveTo(e.cpx2 + o, e.cpy2, e.cpx1 + o, e.cpy1, e.x1 + o, e.y1)) : (t.lineTo(e.x2, e.y2 + o), t.bezierCurveTo(e.cpx2, e.cpy2 + o, e.cpx1, e.cpy1 + o, e.x1, e.y1 + o)), t.closePath();
|
|
31
|
+
}, i.prototype.highlight = function() {
|
|
32
|
+
et(this);
|
|
33
|
+
}, i.prototype.downplay = function() {
|
|
34
|
+
at(this);
|
|
35
|
+
}, i;
|
|
36
|
+
})(it)
|
|
37
|
+
), It = (
|
|
38
|
+
/** @class */
|
|
39
|
+
(function(r) {
|
|
40
|
+
Q(i, r);
|
|
41
|
+
function i() {
|
|
42
|
+
var t = r !== null && r.apply(this, arguments) || this;
|
|
43
|
+
return t.type = i.type, t._focusAdjacencyDisabled = !1, t;
|
|
44
|
+
}
|
|
45
|
+
return i.prototype.render = function(t, e, o) {
|
|
46
|
+
var _ = this, z = t.getGraph(), u = this.group, L = t.layoutInfo, v = L.width, h = L.height, D = t.getData(), W = t.getData("edge"), T = t.get("orient");
|
|
47
|
+
this._model = t, u.removeAll(), u.x = L.x, u.y = L.y, z.eachEdge(function(a) {
|
|
48
|
+
var l = new ct(), n = J(l);
|
|
49
|
+
n.dataIndex = a.dataIndex, n.seriesIndex = t.seriesIndex, n.dataType = "edge";
|
|
50
|
+
var y = a.getModel(), f = y.getModel("lineStyle"), d = f.get("curveness"), g = a.node1.getLayout(), c = a.node1.getModel(), s = c.get("localX"), p = c.get("localY"), m = a.node2.getLayout(), P = a.node2.getModel(), V = P.get("localX"), j = P.get("localY"), w = a.getLayout(), x, b, S, I, k, M, A, C;
|
|
51
|
+
l.shape.extent = Math.max(1, w.dy), l.shape.orient = T, T === "vertical" ? (x = (s != null ? s * v : g.x) + w.sy, b = (p != null ? p * h : g.y) + g.dy, S = (V != null ? V * v : m.x) + w.ty, I = j != null ? j * h : m.y, k = x, M = b * (1 - d) + I * d, A = S, C = b * d + I * (1 - d)) : (x = (s != null ? s * v : g.x) + g.dx, b = (p != null ? p * h : g.y) + w.sy, S = V != null ? V * v : m.x, I = (j != null ? j * h : m.y) + w.ty, k = x * (1 - d) + S * d, M = b, A = x * d + S * (1 - d), C = I), l.setShape({
|
|
52
|
+
x1: x,
|
|
53
|
+
y1: b,
|
|
54
|
+
x2: S,
|
|
55
|
+
y2: I,
|
|
56
|
+
cpx1: k,
|
|
57
|
+
cpy1: M,
|
|
58
|
+
cpx2: A,
|
|
59
|
+
cpy2: C
|
|
60
|
+
}), l.useStyle(f.getItemStyle()), O(l.style, T, a);
|
|
61
|
+
var R = "" + y.get("value"), F = H(y, "edgeLabel");
|
|
62
|
+
q(l, F, {
|
|
63
|
+
labelFetcher: {
|
|
64
|
+
getFormattedLabel: function(G, E, ut, Z, $, tt) {
|
|
65
|
+
return t.getFormattedLabel(
|
|
66
|
+
G,
|
|
67
|
+
E,
|
|
68
|
+
"edge",
|
|
69
|
+
Z,
|
|
70
|
+
// ensure edgeLabel formatter is provided
|
|
71
|
+
// to prevent the inheritance from `label.formatter` of the series
|
|
72
|
+
lt($, F.normal && F.normal.get("formatter"), R),
|
|
73
|
+
tt
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
labelDataIndex: a.dataIndex,
|
|
78
|
+
defaultText: R
|
|
79
|
+
}), l.setTextConfig({
|
|
80
|
+
position: "inside"
|
|
81
|
+
});
|
|
82
|
+
var X = y.getModel("emphasis");
|
|
83
|
+
N(l, y, "lineStyle", function(G) {
|
|
84
|
+
var E = G.getItemStyle();
|
|
85
|
+
return O(E, T, a), E;
|
|
86
|
+
}), u.add(l), W.setItemGraphicEl(a.dataIndex, l);
|
|
87
|
+
var Y = X.get("focus");
|
|
88
|
+
B(l, Y === "adjacency" ? a.getAdjacentDataIndices() : Y === "trajectory" ? a.getTrajectoryDataIndices() : Y, X.get("blurScope"), X.get("disabled"));
|
|
89
|
+
}), z.eachNode(function(a) {
|
|
90
|
+
var l = a.getLayout(), n = a.getModel(), y = n.get("localX"), f = n.get("localY"), d = n.getModel("emphasis"), g = n.get(["itemStyle", "borderRadius"]) || 0, c = new U({
|
|
91
|
+
shape: {
|
|
92
|
+
x: y != null ? y * v : l.x,
|
|
93
|
+
y: f != null ? f * h : l.y,
|
|
94
|
+
width: l.dx,
|
|
95
|
+
height: l.dy,
|
|
96
|
+
r: g
|
|
97
|
+
},
|
|
98
|
+
style: n.getModel("itemStyle").getItemStyle(),
|
|
99
|
+
z2: 10
|
|
100
|
+
});
|
|
101
|
+
q(c, H(n), {
|
|
102
|
+
labelFetcher: {
|
|
103
|
+
getFormattedLabel: function(p, m) {
|
|
104
|
+
return t.getFormattedLabel(p, m, "node");
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
labelDataIndex: a.dataIndex,
|
|
108
|
+
defaultText: a.id
|
|
109
|
+
}), c.disableLabelAnimation = !0, c.setStyle("fill", a.getVisual("color")), c.setStyle("decal", a.getVisual("style").decal), N(c, n), u.add(c), D.setItemGraphicEl(a.dataIndex, c), J(c).dataType = "node";
|
|
110
|
+
var s = d.get("focus");
|
|
111
|
+
B(c, s === "adjacency" ? a.getAdjacentDataIndices() : s === "trajectory" ? a.getTrajectoryDataIndices() : s, d.get("blurScope"), d.get("disabled"));
|
|
112
|
+
}), D.eachItemGraphicEl(function(a, l) {
|
|
113
|
+
var n = D.getItemModel(l);
|
|
114
|
+
n.get("draggable") && (a.drift = function(y, f) {
|
|
115
|
+
_._focusAdjacencyDisabled = !0, this.shape.x += y, this.shape.y += f, this.dirty(), o.dispatchAction({
|
|
116
|
+
type: "dragNode",
|
|
117
|
+
seriesId: t.id,
|
|
118
|
+
dataIndex: D.getRawIndex(l),
|
|
119
|
+
localX: this.shape.x / v,
|
|
120
|
+
localY: this.shape.y / h
|
|
121
|
+
});
|
|
122
|
+
}, a.ondragend = function() {
|
|
123
|
+
_._focusAdjacencyDisabled = !1;
|
|
124
|
+
}, a.draggable = !0, a.cursor = "move");
|
|
125
|
+
}), !this._data && t.isAnimationEnabled() && u.setClipPath(yt(u.getBoundingRect(), t, function() {
|
|
126
|
+
u.removeClipPath();
|
|
127
|
+
})), this._data = t.getData();
|
|
128
|
+
}, i.prototype.dispose = function() {
|
|
129
|
+
}, i.type = "sankey", i;
|
|
130
|
+
})(rt)
|
|
131
|
+
);
|
|
132
|
+
function O(r, i, t) {
|
|
133
|
+
switch (r.fill) {
|
|
134
|
+
case "source":
|
|
135
|
+
r.fill = t.node1.getVisual("color"), r.decal = t.node1.getVisual("style").decal;
|
|
136
|
+
break;
|
|
137
|
+
case "target":
|
|
138
|
+
r.fill = t.node2.getVisual("color"), r.decal = t.node2.getVisual("style").decal;
|
|
139
|
+
break;
|
|
140
|
+
case "gradient":
|
|
141
|
+
var e = t.node1.getVisual("color"), o = t.node2.getVisual("color");
|
|
142
|
+
K(e) && K(o) && (r.fill = new ot(0, 0, +(i === "horizontal"), +(i === "vertical"), [{
|
|
143
|
+
color: e,
|
|
144
|
+
offset: 0
|
|
145
|
+
}, {
|
|
146
|
+
color: o,
|
|
147
|
+
offset: 1
|
|
148
|
+
}]));
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function yt(r, i, t) {
|
|
152
|
+
var e = new U({
|
|
153
|
+
shape: {
|
|
154
|
+
x: r.x - 10,
|
|
155
|
+
y: r.y - 10,
|
|
156
|
+
width: 0,
|
|
157
|
+
height: r.height + 20
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
return nt(e, {
|
|
161
|
+
shape: {
|
|
162
|
+
width: r.width + 20
|
|
163
|
+
}
|
|
164
|
+
}, i, t), e;
|
|
165
|
+
}
|
|
166
|
+
export {
|
|
167
|
+
It as default
|
|
168
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import n from "./SankeyView.js";
|
|
2
|
+
import r from "./SankeySeries.js";
|
|
3
|
+
import a from "./sankeyLayout.js";
|
|
4
|
+
import u from "./sankeyVisual.js";
|
|
5
|
+
function y(e) {
|
|
6
|
+
e.registerChartView(n), e.registerSeriesModel(r), e.registerLayout(a), e.registerVisual(u), e.registerAction({
|
|
7
|
+
type: "dragNode",
|
|
8
|
+
event: "dragnode",
|
|
9
|
+
// here can only use 'update' now, other value is not support in echarts.
|
|
10
|
+
update: "update"
|
|
11
|
+
}, function(o, t) {
|
|
12
|
+
t.eachComponent({
|
|
13
|
+
mainType: "series",
|
|
14
|
+
subType: "sankey",
|
|
15
|
+
query: o
|
|
16
|
+
}, function(i) {
|
|
17
|
+
i.setNodePosition(o.dataIndex, [o.localX, o.localY]);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
y as install
|
|
23
|
+
};
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { getLayoutRect as T } from "../../util/layout.js";
|
|
2
|
+
import { filter as O, each as c } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { groupData as S } from "../../util/model.js";
|
|
4
|
+
function tt(a, e) {
|
|
5
|
+
a.eachSeriesByType("sankey", function(r) {
|
|
6
|
+
var i = r.get("nodeWidth"), t = r.get("nodeGap"), u = z(r, e);
|
|
7
|
+
r.layoutInfo = u;
|
|
8
|
+
var y = u.width, g = u.height, v = r.getGraph(), n = v.nodes, f = v.edges;
|
|
9
|
+
W(n);
|
|
10
|
+
var s = O(n, function(h) {
|
|
11
|
+
return h.getLayout().value === 0;
|
|
12
|
+
}), o = s.length !== 0 ? 0 : r.get("layoutIterations"), l = r.get("orient"), x = r.get("nodeAlign");
|
|
13
|
+
H(n, f, i, t, y, g, o, l, x);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function z(a, e) {
|
|
17
|
+
return T(a.getBoxLayoutParams(), {
|
|
18
|
+
width: e.getWidth(),
|
|
19
|
+
height: e.getHeight()
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function H(a, e, r, i, t, u, y, g, v) {
|
|
23
|
+
b(a, e, r, t, u, g, v), X(a, e, u, t, i, y, g), Z(a, g);
|
|
24
|
+
}
|
|
25
|
+
function W(a) {
|
|
26
|
+
c(a, function(e) {
|
|
27
|
+
var r = L(e.outEdges, k), i = L(e.inEdges, k), t = e.getValue() || 0, u = Math.max(r, i, t);
|
|
28
|
+
e.setLayout({
|
|
29
|
+
value: u
|
|
30
|
+
}, !0);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function b(a, e, r, i, t, u, y) {
|
|
34
|
+
for (var g = [], v = [], n = [], f = [], s = 0, o = 0; o < e.length; o++)
|
|
35
|
+
g[o] = 1;
|
|
36
|
+
for (var o = 0; o < a.length; o++)
|
|
37
|
+
v[o] = a[o].inEdges.length, v[o] === 0 && n.push(a[o]);
|
|
38
|
+
for (var l = -1; n.length; ) {
|
|
39
|
+
for (var x = 0; x < n.length; x++) {
|
|
40
|
+
var h = n[x], E = h.hostGraph.data.getRawDataItem(h.dataIndex), d = E.depth != null && E.depth >= 0;
|
|
41
|
+
d && E.depth > l && (l = E.depth), h.setLayout({
|
|
42
|
+
depth: d ? E.depth : s
|
|
43
|
+
}, !0), u === "vertical" ? h.setLayout({
|
|
44
|
+
dy: r
|
|
45
|
+
}, !0) : h.setLayout({
|
|
46
|
+
dx: r
|
|
47
|
+
}, !0);
|
|
48
|
+
for (var m = 0; m < h.outEdges.length; m++) {
|
|
49
|
+
var R = h.outEdges[m], B = e.indexOf(R);
|
|
50
|
+
g[B] = 0;
|
|
51
|
+
var D = R.node2, A = a.indexOf(D);
|
|
52
|
+
--v[A] === 0 && f.indexOf(D) < 0 && f.push(D);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
++s, n = f, f = [];
|
|
56
|
+
}
|
|
57
|
+
for (var o = 0; o < g.length; o++)
|
|
58
|
+
if (g[o] === 1)
|
|
59
|
+
throw new Error("Sankey is a DAG, the original data has cycle!");
|
|
60
|
+
var N = l > s - 1 ? l : s - 1;
|
|
61
|
+
y && y !== "left" && C(a, y, u, N);
|
|
62
|
+
var I = u === "vertical" ? (t - r) / N : (i - r) / N;
|
|
63
|
+
P(a, I, u);
|
|
64
|
+
}
|
|
65
|
+
function V(a) {
|
|
66
|
+
var e = a.hostGraph.data.getRawDataItem(a.dataIndex);
|
|
67
|
+
return e.depth != null && e.depth >= 0;
|
|
68
|
+
}
|
|
69
|
+
function C(a, e, r, i) {
|
|
70
|
+
if (e === "right") {
|
|
71
|
+
for (var t = [], u = a, y = 0; u.length; ) {
|
|
72
|
+
for (var g = 0; g < u.length; g++) {
|
|
73
|
+
var v = u[g];
|
|
74
|
+
v.setLayout({
|
|
75
|
+
skNodeHeight: y
|
|
76
|
+
}, !0);
|
|
77
|
+
for (var n = 0; n < v.inEdges.length; n++) {
|
|
78
|
+
var f = v.inEdges[n];
|
|
79
|
+
t.indexOf(f.node1) < 0 && t.push(f.node1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
u = t, t = [], ++y;
|
|
83
|
+
}
|
|
84
|
+
c(a, function(s) {
|
|
85
|
+
V(s) || s.setLayout({
|
|
86
|
+
depth: Math.max(0, i - s.getLayout().skNodeHeight)
|
|
87
|
+
}, !0);
|
|
88
|
+
});
|
|
89
|
+
} else e === "justify" && K(a, i);
|
|
90
|
+
}
|
|
91
|
+
function K(a, e) {
|
|
92
|
+
c(a, function(r) {
|
|
93
|
+
!V(r) && !r.outEdges.length && r.setLayout({
|
|
94
|
+
depth: e
|
|
95
|
+
}, !0);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function P(a, e, r) {
|
|
99
|
+
c(a, function(i) {
|
|
100
|
+
var t = i.getLayout().depth * e;
|
|
101
|
+
r === "vertical" ? i.setLayout({
|
|
102
|
+
y: t
|
|
103
|
+
}, !0) : i.setLayout({
|
|
104
|
+
x: t
|
|
105
|
+
}, !0);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
function X(a, e, r, i, t, u, y) {
|
|
109
|
+
var g = j(a, y);
|
|
110
|
+
q(g, e, r, i, t, y), w(g, t, r, i, y);
|
|
111
|
+
for (var v = 1; u > 0; u--)
|
|
112
|
+
v *= 0.99, F(g, v, y), w(g, t, r, i, y), Y(g, v, y), w(g, t, r, i, y);
|
|
113
|
+
}
|
|
114
|
+
function j(a, e) {
|
|
115
|
+
var r = [], i = e === "vertical" ? "y" : "x", t = S(a, function(u) {
|
|
116
|
+
return u.getLayout()[i];
|
|
117
|
+
});
|
|
118
|
+
return t.keys.sort(function(u, y) {
|
|
119
|
+
return u - y;
|
|
120
|
+
}), c(t.keys, function(u) {
|
|
121
|
+
r.push(t.buckets.get(u));
|
|
122
|
+
}), r;
|
|
123
|
+
}
|
|
124
|
+
function q(a, e, r, i, t, u) {
|
|
125
|
+
var y = 1 / 0;
|
|
126
|
+
c(a, function(g) {
|
|
127
|
+
var v = g.length, n = 0;
|
|
128
|
+
c(g, function(s) {
|
|
129
|
+
n += s.getLayout().value;
|
|
130
|
+
});
|
|
131
|
+
var f = u === "vertical" ? (i - (v - 1) * t) / n : (r - (v - 1) * t) / n;
|
|
132
|
+
f < y && (y = f);
|
|
133
|
+
}), c(a, function(g) {
|
|
134
|
+
c(g, function(v, n) {
|
|
135
|
+
var f = v.getLayout().value * y;
|
|
136
|
+
u === "vertical" ? (v.setLayout({
|
|
137
|
+
x: n
|
|
138
|
+
}, !0), v.setLayout({
|
|
139
|
+
dx: f
|
|
140
|
+
}, !0)) : (v.setLayout({
|
|
141
|
+
y: n
|
|
142
|
+
}, !0), v.setLayout({
|
|
143
|
+
dy: f
|
|
144
|
+
}, !0));
|
|
145
|
+
});
|
|
146
|
+
}), c(e, function(g) {
|
|
147
|
+
var v = +g.getValue() * y;
|
|
148
|
+
g.setLayout({
|
|
149
|
+
dy: v
|
|
150
|
+
}, !0);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
function w(a, e, r, i, t) {
|
|
154
|
+
var u = t === "vertical" ? "x" : "y";
|
|
155
|
+
c(a, function(y) {
|
|
156
|
+
y.sort(function(h, E) {
|
|
157
|
+
return h.getLayout()[u] - E.getLayout()[u];
|
|
158
|
+
});
|
|
159
|
+
for (var g, v, n, f = 0, s = y.length, o = t === "vertical" ? "dx" : "dy", l = 0; l < s; l++)
|
|
160
|
+
v = y[l], n = f - v.getLayout()[u], n > 0 && (g = v.getLayout()[u] + n, t === "vertical" ? v.setLayout({
|
|
161
|
+
x: g
|
|
162
|
+
}, !0) : v.setLayout({
|
|
163
|
+
y: g
|
|
164
|
+
}, !0)), f = v.getLayout()[u] + v.getLayout()[o] + e;
|
|
165
|
+
var x = t === "vertical" ? i : r;
|
|
166
|
+
if (n = f - e - x, n > 0) {
|
|
167
|
+
g = v.getLayout()[u] - n, t === "vertical" ? v.setLayout({
|
|
168
|
+
x: g
|
|
169
|
+
}, !0) : v.setLayout({
|
|
170
|
+
y: g
|
|
171
|
+
}, !0), f = g;
|
|
172
|
+
for (var l = s - 2; l >= 0; --l)
|
|
173
|
+
v = y[l], n = v.getLayout()[u] + v.getLayout()[o] + e - f, n > 0 && (g = v.getLayout()[u] - n, t === "vertical" ? v.setLayout({
|
|
174
|
+
x: g
|
|
175
|
+
}, !0) : v.setLayout({
|
|
176
|
+
y: g
|
|
177
|
+
}, !0)), f = v.getLayout()[u];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
function F(a, e, r) {
|
|
182
|
+
c(a.slice().reverse(), function(i) {
|
|
183
|
+
c(i, function(t) {
|
|
184
|
+
if (t.outEdges.length) {
|
|
185
|
+
var u = L(t.outEdges, G, r) / L(t.outEdges, k);
|
|
186
|
+
if (isNaN(u)) {
|
|
187
|
+
var y = t.outEdges.length;
|
|
188
|
+
u = y ? L(t.outEdges, J, r) / y : 0;
|
|
189
|
+
}
|
|
190
|
+
if (r === "vertical") {
|
|
191
|
+
var g = t.getLayout().x + (u - p(t, r)) * e;
|
|
192
|
+
t.setLayout({
|
|
193
|
+
x: g
|
|
194
|
+
}, !0);
|
|
195
|
+
} else {
|
|
196
|
+
var v = t.getLayout().y + (u - p(t, r)) * e;
|
|
197
|
+
t.setLayout({
|
|
198
|
+
y: v
|
|
199
|
+
}, !0);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
function G(a, e) {
|
|
206
|
+
return p(a.node2, e) * a.getValue();
|
|
207
|
+
}
|
|
208
|
+
function J(a, e) {
|
|
209
|
+
return p(a.node2, e);
|
|
210
|
+
}
|
|
211
|
+
function Q(a, e) {
|
|
212
|
+
return p(a.node1, e) * a.getValue();
|
|
213
|
+
}
|
|
214
|
+
function U(a, e) {
|
|
215
|
+
return p(a.node1, e);
|
|
216
|
+
}
|
|
217
|
+
function p(a, e) {
|
|
218
|
+
return e === "vertical" ? a.getLayout().x + a.getLayout().dx / 2 : a.getLayout().y + a.getLayout().dy / 2;
|
|
219
|
+
}
|
|
220
|
+
function k(a) {
|
|
221
|
+
return a.getValue();
|
|
222
|
+
}
|
|
223
|
+
function L(a, e, r) {
|
|
224
|
+
for (var i = 0, t = a.length, u = -1; ++u < t; ) {
|
|
225
|
+
var y = +e(a[u], r);
|
|
226
|
+
isNaN(y) || (i += y);
|
|
227
|
+
}
|
|
228
|
+
return i;
|
|
229
|
+
}
|
|
230
|
+
function Y(a, e, r) {
|
|
231
|
+
c(a, function(i) {
|
|
232
|
+
c(i, function(t) {
|
|
233
|
+
if (t.inEdges.length) {
|
|
234
|
+
var u = L(t.inEdges, Q, r) / L(t.inEdges, k);
|
|
235
|
+
if (isNaN(u)) {
|
|
236
|
+
var y = t.inEdges.length;
|
|
237
|
+
u = y ? L(t.inEdges, U, r) / y : 0;
|
|
238
|
+
}
|
|
239
|
+
if (r === "vertical") {
|
|
240
|
+
var g = t.getLayout().x + (u - p(t, r)) * e;
|
|
241
|
+
t.setLayout({
|
|
242
|
+
x: g
|
|
243
|
+
}, !0);
|
|
244
|
+
} else {
|
|
245
|
+
var v = t.getLayout().y + (u - p(t, r)) * e;
|
|
246
|
+
t.setLayout({
|
|
247
|
+
y: v
|
|
248
|
+
}, !0);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
function Z(a, e) {
|
|
255
|
+
var r = e === "vertical" ? "x" : "y";
|
|
256
|
+
c(a, function(i) {
|
|
257
|
+
i.outEdges.sort(function(t, u) {
|
|
258
|
+
return t.node2.getLayout()[r] - u.node2.getLayout()[r];
|
|
259
|
+
}), i.inEdges.sort(function(t, u) {
|
|
260
|
+
return t.node1.getLayout()[r] - u.node1.getLayout()[r];
|
|
261
|
+
});
|
|
262
|
+
}), c(a, function(i) {
|
|
263
|
+
var t = 0, u = 0;
|
|
264
|
+
c(i.outEdges, function(y) {
|
|
265
|
+
y.setLayout({
|
|
266
|
+
sy: t
|
|
267
|
+
}, !0), t += y.getLayout().dy;
|
|
268
|
+
}), c(i.inEdges, function(y) {
|
|
269
|
+
y.setLayout({
|
|
270
|
+
ty: u
|
|
271
|
+
}, !0), u += y.getLayout().dy;
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
export {
|
|
276
|
+
tt as default
|
|
277
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { each as r } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import p from "../../visual/VisualMapping.js";
|
|
3
|
+
function v(g) {
|
|
4
|
+
g.eachSeriesByType("sankey", function(s) {
|
|
5
|
+
var n = s.getGraph(), a = n.nodes, u = n.edges;
|
|
6
|
+
if (a.length) {
|
|
7
|
+
var l = 1 / 0, i = -1 / 0;
|
|
8
|
+
r(a, function(e) {
|
|
9
|
+
var t = e.getLayout().value;
|
|
10
|
+
t < l && (l = t), t > i && (i = t);
|
|
11
|
+
}), r(a, function(e) {
|
|
12
|
+
var t = new p({
|
|
13
|
+
type: "color",
|
|
14
|
+
mappingMethod: "linear",
|
|
15
|
+
dataExtent: [l, i],
|
|
16
|
+
visual: s.get("color")
|
|
17
|
+
}), f = t.mapValueToVisual(e.getLayout().value), o = e.getModel().get(["itemStyle", "color"]);
|
|
18
|
+
o != null ? (e.setVisual("color", o), e.setVisual("style", {
|
|
19
|
+
fill: o
|
|
20
|
+
})) : (e.setVisual("color", f), e.setVisual("style", {
|
|
21
|
+
fill: f
|
|
22
|
+
}));
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
u.length && r(u, function(e) {
|
|
26
|
+
var t = e.getModel().get("lineStyle");
|
|
27
|
+
e.setVisual("style", t);
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
v as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { __extends as s } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import n from "../helper/createSeriesData.js";
|
|
3
|
+
import l from "../../model/Series.js";
|
|
4
|
+
var h = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function(r) {
|
|
7
|
+
s(t, r);
|
|
8
|
+
function t() {
|
|
9
|
+
var e = r !== null && r.apply(this, arguments) || this;
|
|
10
|
+
return e.type = t.type, e.hasSymbolVisual = !0, e;
|
|
11
|
+
}
|
|
12
|
+
return t.prototype.getInitialData = function(e, o) {
|
|
13
|
+
return n(null, this, {
|
|
14
|
+
useEncodeDefaulter: !0
|
|
15
|
+
});
|
|
16
|
+
}, t.prototype.getProgressive = function() {
|
|
17
|
+
var e = this.option.progressive;
|
|
18
|
+
return e ?? (this.option.large ? 5e3 : this.get("progressive"));
|
|
19
|
+
}, t.prototype.getProgressiveThreshold = function() {
|
|
20
|
+
var e = this.option.progressiveThreshold;
|
|
21
|
+
return e ?? (this.option.large ? 1e4 : this.get("progressiveThreshold"));
|
|
22
|
+
}, t.prototype.brushSelector = function(e, o, i) {
|
|
23
|
+
return i.point(o.getItemLayout(e));
|
|
24
|
+
}, t.prototype.getZLevelKey = function() {
|
|
25
|
+
return this.getData().count() > this.getProgressiveThreshold() ? this.id : "";
|
|
26
|
+
}, t.type = "series.scatter", t.dependencies = ["grid", "polar", "geo", "singleAxis", "calendar"], t.defaultOption = {
|
|
27
|
+
coordinateSystem: "cartesian2d",
|
|
28
|
+
// zlevel: 0,
|
|
29
|
+
z: 2,
|
|
30
|
+
legendHoverLink: !0,
|
|
31
|
+
symbolSize: 10,
|
|
32
|
+
// symbolRotate: null, // 图形旋转控制
|
|
33
|
+
large: !1,
|
|
34
|
+
// Available when large is true
|
|
35
|
+
largeThreshold: 2e3,
|
|
36
|
+
// cursor: null,
|
|
37
|
+
itemStyle: {
|
|
38
|
+
opacity: 0.8
|
|
39
|
+
// color: 各异
|
|
40
|
+
},
|
|
41
|
+
emphasis: {
|
|
42
|
+
scale: !0
|
|
43
|
+
},
|
|
44
|
+
// If clip the overflow graphics
|
|
45
|
+
// Works on cartesian / polar series
|
|
46
|
+
clip: !0,
|
|
47
|
+
select: {
|
|
48
|
+
itemStyle: {
|
|
49
|
+
borderColor: "#212121"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
universalTransition: {
|
|
53
|
+
divideShape: "clone"
|
|
54
|
+
}
|
|
55
|
+
// progressive: null
|
|
56
|
+
}, t;
|
|
57
|
+
})(l)
|
|
58
|
+
);
|
|
59
|
+
export {
|
|
60
|
+
h as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import s from "../helper/SymbolDraw.js";
|
|
3
|
+
import u from "../helper/LargeSymbolDraw.js";
|
|
4
|
+
import h from "../../layout/points.js";
|
|
5
|
+
import l from "../../view/Chart.js";
|
|
6
|
+
var D = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function(n) {
|
|
9
|
+
p(r, n);
|
|
10
|
+
function r() {
|
|
11
|
+
var t = n !== null && n.apply(this, arguments) || this;
|
|
12
|
+
return t.type = r.type, t;
|
|
13
|
+
}
|
|
14
|
+
return r.prototype.render = function(t, e, o) {
|
|
15
|
+
var a = t.getData(), i = this._updateSymbolDraw(a, t);
|
|
16
|
+
i.updateData(a, {
|
|
17
|
+
// TODO
|
|
18
|
+
// If this parameter should be a shape or a bounding volume
|
|
19
|
+
// shape will be more general.
|
|
20
|
+
// But bounding volume like bounding rect will be much faster in the contain calculation
|
|
21
|
+
clipShape: this._getClipShape(t)
|
|
22
|
+
}), this._finished = !0;
|
|
23
|
+
}, r.prototype.incrementalPrepareRender = function(t, e, o) {
|
|
24
|
+
var a = t.getData(), i = this._updateSymbolDraw(a, t);
|
|
25
|
+
i.incrementalPrepareUpdate(a), this._finished = !1;
|
|
26
|
+
}, r.prototype.incrementalRender = function(t, e, o) {
|
|
27
|
+
this._symbolDraw.incrementalUpdate(t, e.getData(), {
|
|
28
|
+
clipShape: this._getClipShape(e)
|
|
29
|
+
}), this._finished = t.end === e.getData().count();
|
|
30
|
+
}, r.prototype.updateTransform = function(t, e, o) {
|
|
31
|
+
var a = t.getData();
|
|
32
|
+
if (this.group.dirty(), !this._finished || a.count() > 1e4)
|
|
33
|
+
return {
|
|
34
|
+
update: !0
|
|
35
|
+
};
|
|
36
|
+
var i = h("").reset(t, e, o);
|
|
37
|
+
i.progress && i.progress({
|
|
38
|
+
start: 0,
|
|
39
|
+
end: a.count(),
|
|
40
|
+
count: a.count()
|
|
41
|
+
}, a), this._symbolDraw.updateLayout(a);
|
|
42
|
+
}, r.prototype.eachRendered = function(t) {
|
|
43
|
+
this._symbolDraw && this._symbolDraw.eachRendered(t);
|
|
44
|
+
}, r.prototype._getClipShape = function(t) {
|
|
45
|
+
if (t.get("clip", !0)) {
|
|
46
|
+
var e = t.coordinateSystem;
|
|
47
|
+
return e && e.getArea && e.getArea(0.1);
|
|
48
|
+
}
|
|
49
|
+
}, r.prototype._updateSymbolDraw = function(t, e) {
|
|
50
|
+
var o = this._symbolDraw, a = e.pipelineContext, i = a.large;
|
|
51
|
+
return (!o || i !== this._isLargeDraw) && (o && o.remove(), o = this._symbolDraw = i ? new u() : new s(), this._isLargeDraw = i, this.group.removeAll()), this.group.add(o.group), o;
|
|
52
|
+
}, r.prototype.remove = function(t, e) {
|
|
53
|
+
this._symbolDraw && this._symbolDraw.remove(!0), this._symbolDraw = null;
|
|
54
|
+
}, r.prototype.dispose = function() {
|
|
55
|
+
}, r.type = "scatter", r;
|
|
56
|
+
})(l)
|
|
57
|
+
);
|
|
58
|
+
export {
|
|
59
|
+
D as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { use as r } from "../../extension.js";
|
|
2
|
+
import o from "./ScatterSeries.js";
|
|
3
|
+
import e from "./ScatterView.js";
|
|
4
|
+
import { install as i } from "../../component/grid/installSimple.js";
|
|
5
|
+
import a from "../../layout/points.js";
|
|
6
|
+
function n(t) {
|
|
7
|
+
r(i), t.registerSeriesModel(o), t.registerChartView(e), t.registerLayout(a("scatter"));
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
n as install
|
|
11
|
+
};
|