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,61 @@
|
|
|
1
|
+
import { forceLayout as k } from "./forceHelper.js";
|
|
2
|
+
import { simpleLayout as q } from "./simpleLayoutHelper.js";
|
|
3
|
+
import { circularLayout as s } from "./circularLayoutHelper.js";
|
|
4
|
+
import { linearMap as b } from "../../util/number.js";
|
|
5
|
+
import { copy as F } from "../../../../zrender/lib/core/vector.js";
|
|
6
|
+
import { isArray as C, retrieve3 as z } from "../../../../zrender/lib/core/util.js";
|
|
7
|
+
import { getCurvenessForEdge as H } from "../helper/multipleGraphEdgeHelper.js";
|
|
8
|
+
function X(G) {
|
|
9
|
+
G.eachSeriesByType("graph", function(r) {
|
|
10
|
+
var d = r.coordinateSystem;
|
|
11
|
+
if (!(d && d.type !== "view"))
|
|
12
|
+
if (r.get("layout") === "force") {
|
|
13
|
+
var I = r.preservedPoints || {}, y = r.getGraph(), f = y.data, w = y.edgeData, l = r.getModel("force"), B = l.get("initLayout");
|
|
14
|
+
r.preservedPoints ? f.each(function(a) {
|
|
15
|
+
var v = f.getId(a);
|
|
16
|
+
f.setItemLayout(a, I[v] || [NaN, NaN]);
|
|
17
|
+
}) : !B || B === "none" ? q(r) : B === "circular" && s(r, "value");
|
|
18
|
+
var P = f.getDataExtent("value"), R = w.getDataExtent("value"), N = l.get("repulsion"), g = l.get("edgeLength"), L = C(N) ? N : [N, N], c = C(g) ? g : [g, g];
|
|
19
|
+
c = [c[1], c[0]];
|
|
20
|
+
var E = f.mapArray("value", function(a, v) {
|
|
21
|
+
var e = f.getItemLayout(v), t = b(a, P, L);
|
|
22
|
+
return isNaN(t) && (t = (L[0] + L[1]) / 2), {
|
|
23
|
+
w: t,
|
|
24
|
+
rep: t,
|
|
25
|
+
fixed: f.getItemModel(v).get("fixed"),
|
|
26
|
+
p: !e || isNaN(e[0]) || isNaN(e[1]) ? null : e
|
|
27
|
+
};
|
|
28
|
+
}), T = w.mapArray("value", function(a, v) {
|
|
29
|
+
var e = y.getEdgeByIndex(v), t = b(a, R, c);
|
|
30
|
+
isNaN(t) && (t = (c[0] + c[1]) / 2);
|
|
31
|
+
var m = e.getModel(), o = z(e.getModel().get(["lineStyle", "curveness"]), -H(e, r, v, !0), 0);
|
|
32
|
+
return {
|
|
33
|
+
n1: E[e.node1.dataIndex],
|
|
34
|
+
n2: E[e.node2.dataIndex],
|
|
35
|
+
d: t,
|
|
36
|
+
curveness: o,
|
|
37
|
+
ignoreForceLayout: m.get("ignoreForceLayout")
|
|
38
|
+
};
|
|
39
|
+
}), j = d.getBoundingRect(), x = k(E, T, {
|
|
40
|
+
rect: j,
|
|
41
|
+
gravity: l.get("gravity"),
|
|
42
|
+
friction: l.get("friction")
|
|
43
|
+
});
|
|
44
|
+
x.beforeStep(function(a, v) {
|
|
45
|
+
for (var e = 0, t = a.length; e < t; e++)
|
|
46
|
+
a[e].fixed && F(a[e].p, y.getNodeByIndex(e).getLayout());
|
|
47
|
+
}), x.afterStep(function(a, v, e) {
|
|
48
|
+
for (var t = 0, m = a.length; t < m; t++)
|
|
49
|
+
a[t].fixed || y.getNodeByIndex(t).setLayout(a[t].p), I[f.getId(t)] = a[t].p;
|
|
50
|
+
for (var t = 0, m = v.length; t < m; t++) {
|
|
51
|
+
var o = v[t], M = y.getEdgeByIndex(t), i = o.n1.p, n = o.n2.p, u = M.getLayout();
|
|
52
|
+
u = u ? u.slice() : [], u[0] = u[0] || [], u[1] = u[1] || [], F(u[0], i), F(u[1], n), +o.curveness && (u[2] = [(i[0] + n[0]) / 2 - (i[1] - n[1]) * o.curveness, (i[1] + n[1]) / 2 - (n[0] - i[0]) * o.curveness]), M.setLayout(u);
|
|
53
|
+
}
|
|
54
|
+
}), r.forceLayout = x, r.preservedPoints = I, x.step();
|
|
55
|
+
} else
|
|
56
|
+
r.forceLayout = null;
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
X as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function i(e) {
|
|
2
|
+
var o = e.coordinateSystem;
|
|
3
|
+
if (o.type !== "view")
|
|
4
|
+
return 1;
|
|
5
|
+
var a = e.option.nodeScaleRatio, r = o.scaleX, t = o.getZoom(), n = (t - 1) * a + 1;
|
|
6
|
+
return n / r;
|
|
7
|
+
}
|
|
8
|
+
function c(e) {
|
|
9
|
+
var o = e.getVisual("symbolSize");
|
|
10
|
+
return o instanceof Array && (o = (o[0] + o[1]) / 2), +o;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
i as getNodeGlobalScale,
|
|
14
|
+
c as getSymbolSize
|
|
15
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import c from "./categoryFilter.js";
|
|
2
|
+
import p from "./categoryVisual.js";
|
|
3
|
+
import u from "./edgeVisual.js";
|
|
4
|
+
import d from "./simpleLayout.js";
|
|
5
|
+
import f from "./circularLayout.js";
|
|
6
|
+
import y from "./forceLayout.js";
|
|
7
|
+
import s from "./createView.js";
|
|
8
|
+
import A from "../../coord/View.js";
|
|
9
|
+
import h from "./GraphView.js";
|
|
10
|
+
import g from "./GraphSeries.js";
|
|
11
|
+
import { updateCenterAndZoom as V } from "../../action/roamHelper.js";
|
|
12
|
+
import { noop as a } from "../../../../zrender/lib/core/util.js";
|
|
13
|
+
var C = {
|
|
14
|
+
type: "graphRoam",
|
|
15
|
+
event: "graphRoam",
|
|
16
|
+
update: "none"
|
|
17
|
+
};
|
|
18
|
+
function Z(o) {
|
|
19
|
+
o.registerChartView(h), o.registerSeriesModel(g), o.registerProcessor(c), o.registerVisual(p), o.registerVisual(u), o.registerLayout(d), o.registerLayout(o.PRIORITY.VISUAL.POST_CHART_LAYOUT, f), o.registerLayout(y), o.registerCoordinateSystem("graphView", {
|
|
20
|
+
dimensions: A.dimensions,
|
|
21
|
+
create: s
|
|
22
|
+
}), o.registerAction({
|
|
23
|
+
type: "focusNodeAdjacency",
|
|
24
|
+
event: "focusNodeAdjacency",
|
|
25
|
+
update: "series:focusNodeAdjacency"
|
|
26
|
+
}, a), o.registerAction({
|
|
27
|
+
type: "unfocusNodeAdjacency",
|
|
28
|
+
event: "unfocusNodeAdjacency",
|
|
29
|
+
update: "series:unfocusNodeAdjacency"
|
|
30
|
+
}, a), o.registerAction(C, function(r, n, i) {
|
|
31
|
+
n.eachComponent({
|
|
32
|
+
mainType: "series",
|
|
33
|
+
query: r
|
|
34
|
+
}, function(e) {
|
|
35
|
+
var m = e.coordinateSystem, t = V(m, r, void 0, i);
|
|
36
|
+
e.setCenter && e.setCenter(t.center), e.setZoom && e.setZoom(t.zoom);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
Z as install
|
|
42
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { each as g } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { simpleLayoutEdge as v, simpleLayout as n } from "./simpleLayoutHelper.js";
|
|
3
|
+
function L(i, h) {
|
|
4
|
+
i.eachSeriesByType("graph", function(o) {
|
|
5
|
+
var u = o.get("layout"), p = o.coordinateSystem;
|
|
6
|
+
if (p && p.type !== "view") {
|
|
7
|
+
var t = o.getData(), a = [];
|
|
8
|
+
g(p.dimensions, function(m) {
|
|
9
|
+
a = a.concat(t.mapDimensionsAll(m));
|
|
10
|
+
});
|
|
11
|
+
for (var r = 0; r < t.count(); r++) {
|
|
12
|
+
for (var y = [], e = !1, f = 0; f < a.length; f++) {
|
|
13
|
+
var c = t.get(a[f], r);
|
|
14
|
+
isNaN(c) || (e = !0), y.push(c);
|
|
15
|
+
}
|
|
16
|
+
e ? t.setItemLayout(r, p.dataToPoint(y)) : t.setItemLayout(r, [NaN, NaN]);
|
|
17
|
+
}
|
|
18
|
+
v(t.graph, o);
|
|
19
|
+
} else (!u || u === "none") && n(o);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
L as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { clone as p } from "../../../../zrender/lib/core/vector.js";
|
|
2
|
+
import { retrieve3 as v } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { getCurvenessForEdge as c } from "../helper/multipleGraphEdgeHelper.js";
|
|
4
|
+
function g(o) {
|
|
5
|
+
var n = o.coordinateSystem;
|
|
6
|
+
if (!(n && n.type !== "view")) {
|
|
7
|
+
var t = o.getGraph();
|
|
8
|
+
t.eachNode(function(u) {
|
|
9
|
+
var e = u.getModel();
|
|
10
|
+
u.setLayout([+e.get("x"), +e.get("y")]);
|
|
11
|
+
}), y(t, o);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function y(o, n) {
|
|
15
|
+
o.eachEdge(function(t, u) {
|
|
16
|
+
var e = v(t.getModel().get(["lineStyle", "curveness"]), -c(t, n, u, !0), 0), r = p(t.node1.getLayout()), a = p(t.node2.getLayout()), i = [r, a];
|
|
17
|
+
+e && i.push([(r[0] + a[0]) / 2 - (r[1] - a[1]) * e, (r[1] + a[1]) / 2 - (a[0] - r[0]) * e]), t.setLayout(i);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
g as simpleLayout,
|
|
22
|
+
y as simpleLayoutEdge
|
|
23
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { platformApi as S } from "../../../../zrender/lib/core/platform.js";
|
|
2
|
+
var L = 256, D = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function() {
|
|
5
|
+
function u() {
|
|
6
|
+
this.blurSize = 30, this.pointSize = 20, this.maxOpacity = 1, this.minOpacity = 0, this._gradientPixels = {
|
|
7
|
+
inRange: null,
|
|
8
|
+
outOfRange: null
|
|
9
|
+
};
|
|
10
|
+
var t = S.createCanvas();
|
|
11
|
+
this.canvas = t;
|
|
12
|
+
}
|
|
13
|
+
return u.prototype.update = function(t, e, r, a, h, v) {
|
|
14
|
+
var l = this._getBrush(), b = this._getGradient(h, "inRange"), w = this._getGradient(h, "outOfRange"), m = this.pointSize + this.blurSize, i = this.canvas, p = i.getContext("2d"), _ = t.length;
|
|
15
|
+
i.width = e, i.height = r;
|
|
16
|
+
for (var f = 0; f < _; ++f) {
|
|
17
|
+
var d = t[f], C = d[0], O = d[1], z = d[2], n = a(z);
|
|
18
|
+
p.globalAlpha = n, p.drawImage(l, C - m, O - m);
|
|
19
|
+
}
|
|
20
|
+
if (!i.width || !i.height)
|
|
21
|
+
return i;
|
|
22
|
+
for (var x = p.getImageData(0, 0, i.width, i.height), o = x.data, s = 0, R = o.length, y = this.minOpacity, I = this.maxOpacity, P = I - y; s < R; ) {
|
|
23
|
+
var n = o[s + 3] / 256, g = Math.floor(n * (L - 1)) * 4;
|
|
24
|
+
if (n > 0) {
|
|
25
|
+
var c = v(n) ? b : w;
|
|
26
|
+
n > 0 && (n = n * P + y), o[s++] = c[g], o[s++] = c[g + 1], o[s++] = c[g + 2], o[s++] = c[g + 3] * n * 256;
|
|
27
|
+
} else
|
|
28
|
+
s += 4;
|
|
29
|
+
}
|
|
30
|
+
return p.putImageData(x, 0, 0), i;
|
|
31
|
+
}, u.prototype._getBrush = function() {
|
|
32
|
+
var t = this._brushCanvas || (this._brushCanvas = S.createCanvas()), e = this.pointSize + this.blurSize, r = e * 2;
|
|
33
|
+
t.width = r, t.height = r;
|
|
34
|
+
var a = t.getContext("2d");
|
|
35
|
+
return a.clearRect(0, 0, r, r), a.shadowOffsetX = r, a.shadowBlur = this.blurSize, a.shadowColor = "#000", a.beginPath(), a.arc(-e, e, this.pointSize, 0, Math.PI * 2, !0), a.closePath(), a.fill(), t;
|
|
36
|
+
}, u.prototype._getGradient = function(t, e) {
|
|
37
|
+
for (var r = this._gradientPixels, a = r[e] || (r[e] = new Uint8ClampedArray(256 * 4)), h = [0, 0, 0, 0], v = 0, l = 0; l < 256; l++)
|
|
38
|
+
t[e](l / 255, !0, h), a[v++] = h[0], a[v++] = h[1], a[v++] = h[2], a[v++] = h[3];
|
|
39
|
+
return a;
|
|
40
|
+
}, u;
|
|
41
|
+
})()
|
|
42
|
+
);
|
|
43
|
+
export {
|
|
44
|
+
D as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __extends as o } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import i from "../../model/Series.js";
|
|
3
|
+
import n from "../helper/createSeriesData.js";
|
|
4
|
+
import a from "../../core/CoordinateSystem.js";
|
|
5
|
+
var c = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(r) {
|
|
8
|
+
o(e, r);
|
|
9
|
+
function e() {
|
|
10
|
+
var t = r !== null && r.apply(this, arguments) || this;
|
|
11
|
+
return t.type = e.type, t;
|
|
12
|
+
}
|
|
13
|
+
return e.prototype.getInitialData = function(t, s) {
|
|
14
|
+
return n(null, this, {
|
|
15
|
+
generateCoord: "value"
|
|
16
|
+
});
|
|
17
|
+
}, e.prototype.preventIncremental = function() {
|
|
18
|
+
var t = a.get(this.get("coordinateSystem"));
|
|
19
|
+
if (t && t.dimensions)
|
|
20
|
+
return t.dimensions[0] === "lng" && t.dimensions[1] === "lat";
|
|
21
|
+
}, e.type = "series.heatmap", e.dependencies = ["grid", "geo", "calendar"], e.defaultOption = {
|
|
22
|
+
coordinateSystem: "cartesian2d",
|
|
23
|
+
// zlevel: 0,
|
|
24
|
+
z: 2,
|
|
25
|
+
// Cartesian coordinate system
|
|
26
|
+
// xAxisIndex: 0,
|
|
27
|
+
// yAxisIndex: 0,
|
|
28
|
+
// Geo coordinate system
|
|
29
|
+
geoIndex: 0,
|
|
30
|
+
blurSize: 30,
|
|
31
|
+
pointSize: 20,
|
|
32
|
+
maxOpacity: 1,
|
|
33
|
+
minOpacity: 0,
|
|
34
|
+
select: {
|
|
35
|
+
itemStyle: {
|
|
36
|
+
borderColor: "#212121"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}, e;
|
|
40
|
+
})(i)
|
|
41
|
+
);
|
|
42
|
+
export {
|
|
43
|
+
c as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { __extends as k } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { traverseElements as B } from "../../util/graphic.js";
|
|
3
|
+
import { toggleHoverEmphasis as F } from "../../util/states.js";
|
|
4
|
+
import Z from "./HeatmapLayer.js";
|
|
5
|
+
import { map as j } from "../../../../zrender/lib/core/util.js";
|
|
6
|
+
import q from "../../view/Chart.js";
|
|
7
|
+
import { isCoordinateSystemType as J } from "../../coord/CoordinateSystem.js";
|
|
8
|
+
import { getLabelStatesModels as G, setLabelStyle as K } from "../../label/labelStyle.js";
|
|
9
|
+
import L from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
10
|
+
import Q from "../../../../zrender/lib/graphic/Image.js";
|
|
11
|
+
function U(m, e, t) {
|
|
12
|
+
var n = m[1] - m[0];
|
|
13
|
+
e = j(e, function(r) {
|
|
14
|
+
return {
|
|
15
|
+
interval: [(r.interval[0] - m[0]) / n, (r.interval[1] - m[0]) / n]
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
var i = e.length, g = 0;
|
|
19
|
+
return function(r) {
|
|
20
|
+
var a;
|
|
21
|
+
for (a = g; a < i; a++) {
|
|
22
|
+
var s = e[a].interval;
|
|
23
|
+
if (s[0] <= r && r <= s[1]) {
|
|
24
|
+
g = a;
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (a === i)
|
|
29
|
+
for (a = g - 1; a >= 0; a--) {
|
|
30
|
+
var s = e[a].interval;
|
|
31
|
+
if (s[0] <= r && r <= s[1]) {
|
|
32
|
+
g = a;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return a >= 0 && a < i && t[a];
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function $(m, e) {
|
|
40
|
+
var t = m[1] - m[0];
|
|
41
|
+
return e = [(e[0] - m[0]) / t, (e[1] - m[0]) / t], function(n) {
|
|
42
|
+
return n >= e[0] && n <= e[1];
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function W(m) {
|
|
46
|
+
var e = m.dimensions;
|
|
47
|
+
return e[0] === "lng" && e[1] === "lat";
|
|
48
|
+
}
|
|
49
|
+
var st = (
|
|
50
|
+
/** @class */
|
|
51
|
+
(function(m) {
|
|
52
|
+
k(e, m);
|
|
53
|
+
function e() {
|
|
54
|
+
var t = m !== null && m.apply(this, arguments) || this;
|
|
55
|
+
return t.type = e.type, t;
|
|
56
|
+
}
|
|
57
|
+
return e.prototype.render = function(t, n, i) {
|
|
58
|
+
var g;
|
|
59
|
+
n.eachComponent("visualMap", function(a) {
|
|
60
|
+
a.eachTargetSeries(function(s) {
|
|
61
|
+
s === t && (g = a);
|
|
62
|
+
});
|
|
63
|
+
}), this._progressiveEls = null, this.group.removeAll();
|
|
64
|
+
var r = t.coordinateSystem;
|
|
65
|
+
r.type === "cartesian2d" || r.type === "calendar" ? this._renderOnCartesianAndCalendar(t, i, 0, t.getData().count()) : W(r) && this._renderOnGeo(r, t, g, i);
|
|
66
|
+
}, e.prototype.incrementalPrepareRender = function(t, n, i) {
|
|
67
|
+
this.group.removeAll();
|
|
68
|
+
}, e.prototype.incrementalRender = function(t, n, i, g) {
|
|
69
|
+
var r = n.coordinateSystem;
|
|
70
|
+
r && (W(r) ? this.render(n, i, g) : (this._progressiveEls = [], this._renderOnCartesianAndCalendar(n, g, t.start, t.end, !0)));
|
|
71
|
+
}, e.prototype.eachRendered = function(t) {
|
|
72
|
+
B(this._progressiveEls || this.group, t);
|
|
73
|
+
}, e.prototype._renderOnCartesianAndCalendar = function(t, n, i, g, r) {
|
|
74
|
+
var a = t.coordinateSystem, s = J(a, "cartesian2d"), u, v, c, h;
|
|
75
|
+
if (s) {
|
|
76
|
+
var f = a.getAxis("x"), I = a.getAxis("y");
|
|
77
|
+
u = f.getBandWidth() + 0.5, v = I.getBandWidth() + 0.5, c = f.scale.getExtent(), h = I.scale.getExtent();
|
|
78
|
+
}
|
|
79
|
+
for (var V = this.group, o = t.getData(), S = t.getModel(["emphasis", "itemStyle"]).getItemStyle(), O = t.getModel(["blur", "itemStyle"]).getItemStyle(), C = t.getModel(["select", "itemStyle"]).getItemStyle(), d = t.get(["itemStyle", "borderRadius"]), w = G(t), b = t.getModel("emphasis"), _ = b.get("focus"), N = b.get("blurScope"), A = b.get("disabled"), y = s ? [o.mapDimension("x"), o.mapDimension("y"), o.mapDimension("value")] : [o.mapDimension("time"), o.mapDimension("value")], l = i; l < g; l++) {
|
|
80
|
+
var p = void 0, z = o.getItemVisual(l, "style");
|
|
81
|
+
if (s) {
|
|
82
|
+
var D = o.get(y[0], l), E = o.get(y[1], l);
|
|
83
|
+
if (isNaN(o.get(y[2], l)) || isNaN(D) || isNaN(E) || D < c[0] || D > c[1] || E < h[0] || E > h[1])
|
|
84
|
+
continue;
|
|
85
|
+
var H = a.dataToPoint([D, E]);
|
|
86
|
+
p = new L({
|
|
87
|
+
shape: {
|
|
88
|
+
x: H[0] - u / 2,
|
|
89
|
+
y: H[1] - v / 2,
|
|
90
|
+
width: u,
|
|
91
|
+
height: v
|
|
92
|
+
},
|
|
93
|
+
style: z
|
|
94
|
+
});
|
|
95
|
+
} else {
|
|
96
|
+
if (isNaN(o.get(y[1], l)))
|
|
97
|
+
continue;
|
|
98
|
+
p = new L({
|
|
99
|
+
z2: 1,
|
|
100
|
+
shape: a.dataToRect([o.get(y[0], l)]).contentShape,
|
|
101
|
+
style: z
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
if (o.hasItemOption) {
|
|
105
|
+
var R = o.getItemModel(l), T = R.getModel("emphasis");
|
|
106
|
+
S = T.getModel("itemStyle").getItemStyle(), O = R.getModel(["blur", "itemStyle"]).getItemStyle(), C = R.getModel(["select", "itemStyle"]).getItemStyle(), d = R.get(["itemStyle", "borderRadius"]), _ = T.get("focus"), N = T.get("blurScope"), A = T.get("disabled"), w = G(R);
|
|
107
|
+
}
|
|
108
|
+
p.shape.r = d;
|
|
109
|
+
var x = t.getRawValue(l), P = "-";
|
|
110
|
+
x && x[2] != null && (P = x[2] + ""), K(p, w, {
|
|
111
|
+
labelFetcher: t,
|
|
112
|
+
labelDataIndex: l,
|
|
113
|
+
defaultOpacity: z.opacity,
|
|
114
|
+
defaultText: P
|
|
115
|
+
}), p.ensureState("emphasis").style = S, p.ensureState("blur").style = O, p.ensureState("select").style = C, F(p, _, N, A), p.incremental = r, r && (p.states.emphasis.hoverLayer = !0), V.add(p), o.setItemGraphicEl(l, p), this._progressiveEls && this._progressiveEls.push(p);
|
|
116
|
+
}
|
|
117
|
+
}, e.prototype._renderOnGeo = function(t, n, i, g) {
|
|
118
|
+
var r = i.targetVisuals.inRange, a = i.targetVisuals.outOfRange, s = n.getData(), u = this._hmLayer || this._hmLayer || new Z();
|
|
119
|
+
u.blurSize = n.get("blurSize"), u.pointSize = n.get("pointSize"), u.minOpacity = n.get("minOpacity"), u.maxOpacity = n.get("maxOpacity");
|
|
120
|
+
var v = t.getViewRect().clone(), c = t.getRoamTransform();
|
|
121
|
+
v.applyTransform(c);
|
|
122
|
+
var h = Math.max(v.x, 0), f = Math.max(v.y, 0), I = Math.min(v.width + v.x, g.getWidth()), V = Math.min(v.height + v.y, g.getHeight()), o = I - h, S = V - f, O = [s.mapDimension("lng"), s.mapDimension("lat"), s.mapDimension("value")], C = s.mapArray(O, function(_, N, A) {
|
|
123
|
+
var y = t.dataToPoint([_, N]);
|
|
124
|
+
return y[0] -= h, y[1] -= f, y.push(A), y;
|
|
125
|
+
}), d = i.getExtent(), w = i.type === "visualMap.continuous" ? $(d, i.option.range) : U(d, i.getPieceList(), i.option.selected);
|
|
126
|
+
u.update(C, o, S, r.color.getNormalizer(), {
|
|
127
|
+
inRange: r.color.getColorMapper(),
|
|
128
|
+
outOfRange: a.color.getColorMapper()
|
|
129
|
+
}, w);
|
|
130
|
+
var b = new Q({
|
|
131
|
+
style: {
|
|
132
|
+
width: o,
|
|
133
|
+
height: S,
|
|
134
|
+
x: h,
|
|
135
|
+
y: f,
|
|
136
|
+
image: u.canvas
|
|
137
|
+
},
|
|
138
|
+
silent: !0
|
|
139
|
+
});
|
|
140
|
+
this.group.add(b);
|
|
141
|
+
}, e.type = "heatmap", e;
|
|
142
|
+
})(q)
|
|
143
|
+
);
|
|
144
|
+
export {
|
|
145
|
+
st as default
|
|
146
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { __extends as v } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import l from "./Line.js";
|
|
3
|
+
import { isArray as g, retrieve as m, isFunction as y } from "../../../../zrender/lib/core/util.js";
|
|
4
|
+
import { createSymbol as S } from "../../util/symbol.js";
|
|
5
|
+
import { dist as s } from "../../../../zrender/lib/core/vector.js";
|
|
6
|
+
import { quadraticAt as A, quadraticDerivativeAt as T } from "../../../../zrender/lib/core/curve.js";
|
|
7
|
+
import L from "../../../../zrender/lib/graphic/Group.js";
|
|
8
|
+
var z = (
|
|
9
|
+
/** @class */
|
|
10
|
+
(function(d) {
|
|
11
|
+
v(p, d);
|
|
12
|
+
function p(t, e, a) {
|
|
13
|
+
var i = d.call(this) || this;
|
|
14
|
+
return i.add(i.createLine(t, e, a)), i._updateEffectSymbol(t, e), i;
|
|
15
|
+
}
|
|
16
|
+
return p.prototype.createLine = function(t, e, a) {
|
|
17
|
+
return new l(t, e, a);
|
|
18
|
+
}, p.prototype._updateEffectSymbol = function(t, e) {
|
|
19
|
+
var a = t.getItemModel(e), i = a.getModel("effect"), o = i.get("symbolSize"), r = i.get("symbol");
|
|
20
|
+
g(o) || (o = [o, o]);
|
|
21
|
+
var n = t.getItemVisual(e, "style"), c = i.get("color") || n && n.stroke, _ = this.childAt(1);
|
|
22
|
+
this._symbolType !== r && (this.remove(_), _ = S(r, -0.5, -0.5, 1, 1, c), _.z2 = 100, _.culling = !0, this.add(_)), _ && (_.setStyle("shadowColor", c), _.setStyle(i.getItemStyle(["color"])), _.scaleX = o[0], _.scaleY = o[1], _.setColor(c), this._symbolType = r, this._symbolScale = o, this._updateEffectAnimation(t, i, e));
|
|
23
|
+
}, p.prototype._updateEffectAnimation = function(t, e, a) {
|
|
24
|
+
var i = this.childAt(1);
|
|
25
|
+
if (i) {
|
|
26
|
+
var o = t.getItemLayout(a), r = e.get("period") * 1e3, n = e.get("loop"), c = e.get("roundTrip"), _ = e.get("constantSpeed"), u = m(e.get("delay"), function(h) {
|
|
27
|
+
return h / t.count() * r / 3;
|
|
28
|
+
});
|
|
29
|
+
if (i.ignore = !0, this._updateAnimationPoints(i, o), _ > 0 && (r = this._getLineLength(i) / _ * 1e3), r !== this._period || n !== this._loop || c !== this._roundTrip) {
|
|
30
|
+
i.stopAnimation();
|
|
31
|
+
var f = void 0;
|
|
32
|
+
y(u) ? f = u(a) : f = u, i.__t > 0 && (f = -r * i.__t), this._animateSymbol(i, r, f, n, c);
|
|
33
|
+
}
|
|
34
|
+
this._period = r, this._loop = n, this._roundTrip = c;
|
|
35
|
+
}
|
|
36
|
+
}, p.prototype._animateSymbol = function(t, e, a, i, o) {
|
|
37
|
+
if (e > 0) {
|
|
38
|
+
t.__t = 0;
|
|
39
|
+
var r = this, n = t.animate("", i).when(o ? e * 2 : e, {
|
|
40
|
+
__t: o ? 2 : 1
|
|
41
|
+
}).delay(a).during(function() {
|
|
42
|
+
r._updateSymbolPosition(t);
|
|
43
|
+
});
|
|
44
|
+
i || n.done(function() {
|
|
45
|
+
r.remove(t);
|
|
46
|
+
}), n.start();
|
|
47
|
+
}
|
|
48
|
+
}, p.prototype._getLineLength = function(t) {
|
|
49
|
+
return s(t.__p1, t.__cp1) + s(t.__cp1, t.__p2);
|
|
50
|
+
}, p.prototype._updateAnimationPoints = function(t, e) {
|
|
51
|
+
t.__p1 = e[0], t.__p2 = e[1], t.__cp1 = e[2] || [(e[0][0] + e[1][0]) / 2, (e[0][1] + e[1][1]) / 2];
|
|
52
|
+
}, p.prototype.updateData = function(t, e, a) {
|
|
53
|
+
this.childAt(0).updateData(t, e, a), this._updateEffectSymbol(t, e);
|
|
54
|
+
}, p.prototype._updateSymbolPosition = function(t) {
|
|
55
|
+
var e = t.__p1, a = t.__p2, i = t.__cp1, o = t.__t < 1 ? t.__t : 2 - t.__t, r = [t.x, t.y], n = r.slice(), c = A, _ = T;
|
|
56
|
+
r[0] = c(e[0], i[0], a[0], o), r[1] = c(e[1], i[1], a[1], o);
|
|
57
|
+
var u = t.__t < 1 ? _(e[0], i[0], a[0], o) : _(a[0], i[0], e[0], 1 - o), f = t.__t < 1 ? _(e[1], i[1], a[1], o) : _(a[1], i[1], e[1], 1 - o);
|
|
58
|
+
t.rotation = -Math.atan2(f, u) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = s(n, r) * 1.05, o === 1 && (r[0] = n[0] + (r[0] - n[0]) / 2, r[1] = n[1] + (r[1] - n[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * s(e, r) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = r[0], t.y = r[1];
|
|
59
|
+
}, p.prototype.updateLayout = function(t, e) {
|
|
60
|
+
this.childAt(0).updateLayout(t, e);
|
|
61
|
+
var a = t.getItemModel(e).getModel("effect");
|
|
62
|
+
this._updateEffectAnimation(t, a, e);
|
|
63
|
+
}, p;
|
|
64
|
+
})(L)
|
|
65
|
+
);
|
|
66
|
+
export {
|
|
67
|
+
z as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __extends as c } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import m from "./Polyline.js";
|
|
3
|
+
import g from "./EffectLine.js";
|
|
4
|
+
import { dist as P } from "../../../../zrender/lib/core/vector.js";
|
|
5
|
+
var x = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(l) {
|
|
8
|
+
c(f, l);
|
|
9
|
+
function f() {
|
|
10
|
+
var r = l !== null && l.apply(this, arguments) || this;
|
|
11
|
+
return r._lastFrame = 0, r._lastFramePercent = 0, r;
|
|
12
|
+
}
|
|
13
|
+
return f.prototype.createLine = function(r, a, i) {
|
|
14
|
+
return new m(r, a, i);
|
|
15
|
+
}, f.prototype._updateAnimationPoints = function(r, a) {
|
|
16
|
+
this._points = a;
|
|
17
|
+
for (var i = [0], n = 0, e = 1; e < a.length; e++) {
|
|
18
|
+
var s = a[e - 1], t = a[e];
|
|
19
|
+
n += P(s, t), i.push(n);
|
|
20
|
+
}
|
|
21
|
+
if (n === 0) {
|
|
22
|
+
this._length = 0;
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
for (var e = 0; e < i.length; e++)
|
|
26
|
+
i[e] /= n;
|
|
27
|
+
this._offsets = i, this._length = n;
|
|
28
|
+
}, f.prototype._getLineLength = function() {
|
|
29
|
+
return this._length;
|
|
30
|
+
}, f.prototype._updateSymbolPosition = function(r) {
|
|
31
|
+
var a = r.__t < 1 ? r.__t : 2 - r.__t, i = this._points, n = this._offsets, e = i.length;
|
|
32
|
+
if (n) {
|
|
33
|
+
var s = this._lastFrame, t;
|
|
34
|
+
if (a < this._lastFramePercent) {
|
|
35
|
+
var v = Math.min(s + 1, e - 1);
|
|
36
|
+
for (t = v; t >= 0 && !(n[t] <= a); t--)
|
|
37
|
+
;
|
|
38
|
+
t = Math.min(t, e - 2);
|
|
39
|
+
} else {
|
|
40
|
+
for (t = s; t < e && !(n[t] > a); t++)
|
|
41
|
+
;
|
|
42
|
+
t = Math.min(t - 1, e - 2);
|
|
43
|
+
}
|
|
44
|
+
var _ = (a - n[t]) / (n[t + 1] - n[t]), o = i[t], h = i[t + 1];
|
|
45
|
+
r.x = o[0] * (1 - _) + _ * h[0], r.y = o[1] * (1 - _) + _ * h[1];
|
|
46
|
+
var p = r.__t < 1 ? h[0] - o[0] : o[0] - h[0], u = r.__t < 1 ? h[1] - o[1] : o[1] - h[1];
|
|
47
|
+
r.rotation = -Math.atan2(u, p) - Math.PI / 2, this._lastFrame = t, this._lastFramePercent = a, r.ignore = !1;
|
|
48
|
+
}
|
|
49
|
+
}, f;
|
|
50
|
+
})(g)
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
x as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { __extends as d } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { createSymbol as S, normalizeSymbolSize as g, normalizeSymbolOffset as A } from "../../util/symbol.js";
|
|
3
|
+
import "../../util/graphic.js";
|
|
4
|
+
import { enterEmphasis as z, leaveEmphasis as w, toggleHoverEmphasis as O } from "../../util/states.js";
|
|
5
|
+
import T from "./Symbol.js";
|
|
6
|
+
import v from "../../../../zrender/lib/graphic/Group.js";
|
|
7
|
+
function b(f, o) {
|
|
8
|
+
var e = o.rippleEffectColor || o.color;
|
|
9
|
+
f.eachChild(function(r) {
|
|
10
|
+
r.attr({
|
|
11
|
+
z: o.z,
|
|
12
|
+
zlevel: o.zlevel,
|
|
13
|
+
style: {
|
|
14
|
+
stroke: o.brushType === "stroke" ? e : null,
|
|
15
|
+
fill: o.brushType === "fill" ? e : null
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
var N = (
|
|
21
|
+
/** @class */
|
|
22
|
+
(function(f) {
|
|
23
|
+
d(o, f);
|
|
24
|
+
function o(e, r) {
|
|
25
|
+
var s = f.call(this) || this, p = new T(e, r), l = new v();
|
|
26
|
+
return s.add(p), s.add(l), s.updateData(e, r), s;
|
|
27
|
+
}
|
|
28
|
+
return o.prototype.stopEffectAnimation = function() {
|
|
29
|
+
this.childAt(1).removeAll();
|
|
30
|
+
}, o.prototype.startEffectAnimation = function(e) {
|
|
31
|
+
for (var r = e.symbolType, s = e.color, p = e.rippleNumber, l = this.childAt(1), i = 0; i < p; i++) {
|
|
32
|
+
var a = S(r, -1, -1, 2, 2, s);
|
|
33
|
+
a.attr({
|
|
34
|
+
style: {
|
|
35
|
+
strokeNoScale: !0
|
|
36
|
+
},
|
|
37
|
+
z2: 99,
|
|
38
|
+
silent: !0,
|
|
39
|
+
scaleX: 0.5,
|
|
40
|
+
scaleY: 0.5
|
|
41
|
+
});
|
|
42
|
+
var n = -i / p * e.period + e.effectOffset;
|
|
43
|
+
a.animate("", !0).when(e.period, {
|
|
44
|
+
scaleX: e.rippleScale / 2,
|
|
45
|
+
scaleY: e.rippleScale / 2
|
|
46
|
+
}).delay(n).start(), a.animateStyle(!0).when(e.period, {
|
|
47
|
+
opacity: 0
|
|
48
|
+
}).delay(n).start(), l.add(a);
|
|
49
|
+
}
|
|
50
|
+
b(l, e);
|
|
51
|
+
}, o.prototype.updateEffectAnimation = function(e) {
|
|
52
|
+
for (var r = this._effectCfg, s = this.childAt(1), p = ["symbolType", "period", "rippleScale", "rippleNumber"], l = 0; l < p.length; l++) {
|
|
53
|
+
var i = p[l];
|
|
54
|
+
if (r[i] !== e[i]) {
|
|
55
|
+
this.stopEffectAnimation(), this.startEffectAnimation(e);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
b(s, e);
|
|
60
|
+
}, o.prototype.highlight = function() {
|
|
61
|
+
z(this);
|
|
62
|
+
}, o.prototype.downplay = function() {
|
|
63
|
+
w(this);
|
|
64
|
+
}, o.prototype.getSymbolType = function() {
|
|
65
|
+
var e = this.childAt(0);
|
|
66
|
+
return e && e.getSymbolType();
|
|
67
|
+
}, o.prototype.updateData = function(e, r) {
|
|
68
|
+
var s = this, p = e.hostModel;
|
|
69
|
+
this.childAt(0).updateData(e, r);
|
|
70
|
+
var l = this.childAt(1), i = e.getItemModel(r), a = e.getItemVisual(r, "symbol"), n = g(e.getItemVisual(r, "symbolSize")), u = e.getItemVisual(r, "style"), y = u && u.fill, c = i.getModel("emphasis");
|
|
71
|
+
l.setScale(n), l.traverse(function(m) {
|
|
72
|
+
m.setStyle("fill", y);
|
|
73
|
+
});
|
|
74
|
+
var h = A(e.getItemVisual(r, "symbolOffset"), n);
|
|
75
|
+
h && (l.x = h[0], l.y = h[1]);
|
|
76
|
+
var E = e.getItemVisual(r, "symbolRotate");
|
|
77
|
+
l.rotation = (E || 0) * Math.PI / 180 || 0;
|
|
78
|
+
var t = {};
|
|
79
|
+
t.showEffectOn = p.get("showEffectOn"), t.rippleScale = i.get(["rippleEffect", "scale"]), t.brushType = i.get(["rippleEffect", "brushType"]), t.period = i.get(["rippleEffect", "period"]) * 1e3, t.effectOffset = r / e.count(), t.z = p.getShallow("z") || 0, t.zlevel = p.getShallow("zlevel") || 0, t.symbolType = a, t.color = y, t.rippleEffectColor = i.get(["rippleEffect", "color"]), t.rippleNumber = i.get(["rippleEffect", "number"]), t.showEffectOn === "render" ? (this._effectCfg ? this.updateEffectAnimation(t) : this.startEffectAnimation(t), this._effectCfg = t) : (this._effectCfg = null, this.stopEffectAnimation(), this.onHoverStateChange = function(m) {
|
|
80
|
+
m === "emphasis" ? t.showEffectOn !== "render" && s.startEffectAnimation(t) : m === "normal" && t.showEffectOn !== "render" && s.stopEffectAnimation();
|
|
81
|
+
}), this._effectCfg = t, O(this, c.get("focus"), c.get("blurScope"), c.get("disabled"));
|
|
82
|
+
}, o.prototype.fadeOut = function(e) {
|
|
83
|
+
e && e();
|
|
84
|
+
}, o;
|
|
85
|
+
})(v)
|
|
86
|
+
);
|
|
87
|
+
export {
|
|
88
|
+
N as default
|
|
89
|
+
};
|