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,180 @@
|
|
|
1
|
+
import { __extends as v } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import M from "../../data/SeriesData.js";
|
|
3
|
+
import { each as b, map as D, extend as S } from "../../../../zrender/lib/core/util.js";
|
|
4
|
+
import { defaultEmphasis as L } from "../../util/model.js";
|
|
5
|
+
import x from "../../model/Model.js";
|
|
6
|
+
import w from "../helper/createGraphFromNodeEdge.js";
|
|
7
|
+
import C from "../../visual/LegendVisualProvider.js";
|
|
8
|
+
import I from "../../model/Series.js";
|
|
9
|
+
import { createTooltipMarkup as k } from "../../component/tooltip/tooltipMarkup.js";
|
|
10
|
+
import { defaultSeriesFormatTooltip as E } from "../../component/tooltip/seriesFormatTooltip.js";
|
|
11
|
+
import { initCurvenessList as G, createEdgeMapForCurveness as P } from "../helper/multipleGraphEdgeHelper.js";
|
|
12
|
+
var Z = (
|
|
13
|
+
/** @class */
|
|
14
|
+
(function(n) {
|
|
15
|
+
v(t, n);
|
|
16
|
+
function t() {
|
|
17
|
+
var e = n !== null && n.apply(this, arguments) || this;
|
|
18
|
+
return e.type = t.type, e.hasSymbolVisual = !0, e;
|
|
19
|
+
}
|
|
20
|
+
return t.prototype.init = function(e) {
|
|
21
|
+
n.prototype.init.apply(this, arguments);
|
|
22
|
+
var r = this;
|
|
23
|
+
function a() {
|
|
24
|
+
return r._categoriesData;
|
|
25
|
+
}
|
|
26
|
+
this.legendVisualProvider = new C(a, a), this.fillDataTextStyle(e.edges || e.links), this._updateCategoriesData();
|
|
27
|
+
}, t.prototype.mergeOption = function(e) {
|
|
28
|
+
n.prototype.mergeOption.apply(this, arguments), this.fillDataTextStyle(e.edges || e.links), this._updateCategoriesData();
|
|
29
|
+
}, t.prototype.mergeDefaultAndTheme = function(e) {
|
|
30
|
+
n.prototype.mergeDefaultAndTheme.apply(this, arguments), L(e, "edgeLabel", ["show"]);
|
|
31
|
+
}, t.prototype.getInitialData = function(e, r) {
|
|
32
|
+
var a = e.edges || e.links || [], s = e.data || e.nodes || [], d = this;
|
|
33
|
+
if (s && a) {
|
|
34
|
+
G(this);
|
|
35
|
+
var u = w(s, a, this, !0, g);
|
|
36
|
+
return b(u.edges, function(i) {
|
|
37
|
+
P(i.node1, i.node2, this, i.dataIndex);
|
|
38
|
+
}, this), u.data;
|
|
39
|
+
}
|
|
40
|
+
function g(i, p) {
|
|
41
|
+
i.wrapMethod("getItemModel", function(o) {
|
|
42
|
+
var l = d._categoriesModels, f = o.getShallow("category"), m = l[f];
|
|
43
|
+
return m && (m.parentModel = o.parentModel, o.parentModel = m), o;
|
|
44
|
+
});
|
|
45
|
+
var c = x.prototype.getModel;
|
|
46
|
+
function y(o, l) {
|
|
47
|
+
var f = c.call(this, o, l);
|
|
48
|
+
return f.resolveParentPath = h, f;
|
|
49
|
+
}
|
|
50
|
+
p.wrapMethod("getItemModel", function(o) {
|
|
51
|
+
return o.resolveParentPath = h, o.getModel = y, o;
|
|
52
|
+
});
|
|
53
|
+
function h(o) {
|
|
54
|
+
if (o && (o[0] === "label" || o[1] === "label")) {
|
|
55
|
+
var l = o.slice();
|
|
56
|
+
return o[0] === "label" ? l[0] = "edgeLabel" : o[1] === "label" && (l[1] = "edgeLabel"), l;
|
|
57
|
+
}
|
|
58
|
+
return o;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}, t.prototype.getGraph = function() {
|
|
62
|
+
return this.getData().graph;
|
|
63
|
+
}, t.prototype.getEdgeData = function() {
|
|
64
|
+
return this.getGraph().edgeData;
|
|
65
|
+
}, t.prototype.getCategoriesData = function() {
|
|
66
|
+
return this._categoriesData;
|
|
67
|
+
}, t.prototype.formatTooltip = function(e, r, a) {
|
|
68
|
+
if (a === "edge") {
|
|
69
|
+
var s = this.getData(), d = this.getDataParams(e, a), u = s.graph.getEdgeByIndex(e), g = s.getName(u.node1.dataIndex), i = s.getName(u.node2.dataIndex), p = [];
|
|
70
|
+
return g != null && p.push(g), i != null && p.push(i), k("nameValue", {
|
|
71
|
+
name: p.join(" > "),
|
|
72
|
+
value: d.value,
|
|
73
|
+
noValue: d.value == null
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
var c = E({
|
|
77
|
+
series: this,
|
|
78
|
+
dataIndex: e,
|
|
79
|
+
multipleSeries: r
|
|
80
|
+
});
|
|
81
|
+
return c;
|
|
82
|
+
}, t.prototype._updateCategoriesData = function() {
|
|
83
|
+
var e = D(this.option.categories || [], function(a) {
|
|
84
|
+
return a.value != null ? a : S({
|
|
85
|
+
value: 0
|
|
86
|
+
}, a);
|
|
87
|
+
}), r = new M(["value"], this);
|
|
88
|
+
r.initData(e), this._categoriesData = r, this._categoriesModels = r.mapArray(function(a) {
|
|
89
|
+
return r.getItemModel(a);
|
|
90
|
+
});
|
|
91
|
+
}, t.prototype.setZoom = function(e) {
|
|
92
|
+
this.option.zoom = e;
|
|
93
|
+
}, t.prototype.setCenter = function(e) {
|
|
94
|
+
this.option.center = e;
|
|
95
|
+
}, t.prototype.isAnimationEnabled = function() {
|
|
96
|
+
return n.prototype.isAnimationEnabled.call(this) && !(this.get("layout") === "force" && this.get(["force", "layoutAnimation"]));
|
|
97
|
+
}, t.type = "series.graph", t.dependencies = ["grid", "polar", "geo", "singleAxis", "calendar"], t.defaultOption = {
|
|
98
|
+
// zlevel: 0,
|
|
99
|
+
z: 2,
|
|
100
|
+
coordinateSystem: "view",
|
|
101
|
+
// Default option for all coordinate systems
|
|
102
|
+
// xAxisIndex: 0,
|
|
103
|
+
// yAxisIndex: 0,
|
|
104
|
+
// polarIndex: 0,
|
|
105
|
+
// geoIndex: 0,
|
|
106
|
+
legendHoverLink: !0,
|
|
107
|
+
layout: null,
|
|
108
|
+
// Configuration of circular layout
|
|
109
|
+
circular: {
|
|
110
|
+
rotateLabel: !1
|
|
111
|
+
},
|
|
112
|
+
// Configuration of force directed layout
|
|
113
|
+
force: {
|
|
114
|
+
initLayout: null,
|
|
115
|
+
// Node repulsion. Can be an array to represent range.
|
|
116
|
+
repulsion: [0, 50],
|
|
117
|
+
gravity: 0.1,
|
|
118
|
+
// Initial friction
|
|
119
|
+
friction: 0.6,
|
|
120
|
+
// Edge length. Can be an array to represent range.
|
|
121
|
+
edgeLength: 30,
|
|
122
|
+
layoutAnimation: !0
|
|
123
|
+
},
|
|
124
|
+
left: "center",
|
|
125
|
+
top: "center",
|
|
126
|
+
// right: null,
|
|
127
|
+
// bottom: null,
|
|
128
|
+
// width: '80%',
|
|
129
|
+
// height: '80%',
|
|
130
|
+
symbol: "circle",
|
|
131
|
+
symbolSize: 10,
|
|
132
|
+
edgeSymbol: ["none", "none"],
|
|
133
|
+
edgeSymbolSize: 10,
|
|
134
|
+
edgeLabel: {
|
|
135
|
+
position: "middle",
|
|
136
|
+
distance: 5
|
|
137
|
+
},
|
|
138
|
+
draggable: !1,
|
|
139
|
+
roam: !1,
|
|
140
|
+
// Default on center of graph
|
|
141
|
+
center: null,
|
|
142
|
+
zoom: 1,
|
|
143
|
+
// Symbol size scale ratio in roam
|
|
144
|
+
nodeScaleRatio: 0.6,
|
|
145
|
+
// cursor: null,
|
|
146
|
+
// categories: [],
|
|
147
|
+
// data: []
|
|
148
|
+
// Or
|
|
149
|
+
// nodes: []
|
|
150
|
+
//
|
|
151
|
+
// links: []
|
|
152
|
+
// Or
|
|
153
|
+
// edges: []
|
|
154
|
+
label: {
|
|
155
|
+
show: !1,
|
|
156
|
+
formatter: "{b}"
|
|
157
|
+
},
|
|
158
|
+
itemStyle: {},
|
|
159
|
+
lineStyle: {
|
|
160
|
+
color: "#aaa",
|
|
161
|
+
width: 1,
|
|
162
|
+
opacity: 0.5
|
|
163
|
+
},
|
|
164
|
+
emphasis: {
|
|
165
|
+
scale: !0,
|
|
166
|
+
label: {
|
|
167
|
+
show: !0
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
select: {
|
|
171
|
+
itemStyle: {
|
|
172
|
+
borderColor: "#212121"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, t;
|
|
176
|
+
})(I)
|
|
177
|
+
);
|
|
178
|
+
export {
|
|
179
|
+
Z as default
|
|
180
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { __extends as R } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import T from "../helper/SymbolDraw.js";
|
|
3
|
+
import k from "../helper/LineDraw.js";
|
|
4
|
+
import C from "../../component/helper/RoamController.js";
|
|
5
|
+
import { updateViewOnPan as z, updateViewOnZoom as N } from "../../component/helper/roamHelper.js";
|
|
6
|
+
import { onIrrelevantElement as V } from "../../component/helper/cursorHelper.js";
|
|
7
|
+
import v from "./adjustEdge.js";
|
|
8
|
+
import { getNodeGlobalScale as g } from "./graphHelper.js";
|
|
9
|
+
import X from "../../view/Chart.js";
|
|
10
|
+
import { getECData as b } from "../../util/innerStore.js";
|
|
11
|
+
import { simpleLayoutEdge as Y } from "./simpleLayoutHelper.js";
|
|
12
|
+
import { circularLayout as j, rotateNodeLabel as F } from "./circularLayoutHelper.js";
|
|
13
|
+
import { updateProps as H } from "../../animation/basicTransition.js";
|
|
14
|
+
function x(y) {
|
|
15
|
+
return y.type === "view";
|
|
16
|
+
}
|
|
17
|
+
var at = (
|
|
18
|
+
/** @class */
|
|
19
|
+
(function(y) {
|
|
20
|
+
R(u, y);
|
|
21
|
+
function u() {
|
|
22
|
+
var t = y !== null && y.apply(this, arguments) || this;
|
|
23
|
+
return t.type = u.type, t;
|
|
24
|
+
}
|
|
25
|
+
return u.prototype.init = function(t, l) {
|
|
26
|
+
var o = new T(), r = new k(), a = this.group;
|
|
27
|
+
this._controller = new C(l.getZr()), this._controllerHost = {
|
|
28
|
+
target: a
|
|
29
|
+
}, a.add(o.group), a.add(r.group), this._symbolDraw = o, this._lineDraw = r, this._firstRender = !0;
|
|
30
|
+
}, u.prototype.render = function(t, l, o) {
|
|
31
|
+
var r = this, a = t.coordinateSystem;
|
|
32
|
+
this._model = t;
|
|
33
|
+
var f = this._symbolDraw, s = this._lineDraw, e = this.group;
|
|
34
|
+
if (x(a)) {
|
|
35
|
+
var d = {
|
|
36
|
+
x: a.x,
|
|
37
|
+
y: a.y,
|
|
38
|
+
scaleX: a.scaleX,
|
|
39
|
+
scaleY: a.scaleY
|
|
40
|
+
};
|
|
41
|
+
this._firstRender ? e.attr(d) : H(e, d, t);
|
|
42
|
+
}
|
|
43
|
+
v(t.getGraph(), g(t));
|
|
44
|
+
var c = t.getData();
|
|
45
|
+
f.updateData(c);
|
|
46
|
+
var h = t.getEdgeData();
|
|
47
|
+
s.updateData(h), this._updateNodeAndLinkScale(), this._updateController(t, l, o), clearTimeout(this._layoutTimeout);
|
|
48
|
+
var m = t.forceLayout, L = t.get(["force", "layoutAnimation"]);
|
|
49
|
+
m && this._startForceLayoutIteration(m, L);
|
|
50
|
+
var I = t.get("layout");
|
|
51
|
+
c.graph.eachNode(function(i) {
|
|
52
|
+
var p = i.dataIndex, n = i.getGraphicEl(), _ = i.getModel();
|
|
53
|
+
if (n) {
|
|
54
|
+
n.off("drag").off("dragend");
|
|
55
|
+
var w = _.get("draggable");
|
|
56
|
+
w && n.on("drag", function(D) {
|
|
57
|
+
switch (I) {
|
|
58
|
+
case "force":
|
|
59
|
+
m.warmUp(), !r._layouting && r._startForceLayoutIteration(m, L), m.setFixed(p), c.setItemLayout(p, [n.x, n.y]);
|
|
60
|
+
break;
|
|
61
|
+
case "circular":
|
|
62
|
+
c.setItemLayout(p, [n.x, n.y]), i.setLayout({
|
|
63
|
+
fixed: !0
|
|
64
|
+
}, !0), j(t, "symbolSize", i, [D.offsetX, D.offsetY]), r.updateLayout(t);
|
|
65
|
+
break;
|
|
66
|
+
default:
|
|
67
|
+
c.setItemLayout(p, [n.x, n.y]), Y(t.getGraph(), t), r.updateLayout(t);
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
}).on("dragend", function() {
|
|
71
|
+
m && m.setUnfixed(p);
|
|
72
|
+
}), n.setDraggable(w, !!_.get("cursor"));
|
|
73
|
+
var A = _.get(["emphasis", "focus"]);
|
|
74
|
+
A === "adjacency" && (b(n).focus = i.getAdjacentDataIndices());
|
|
75
|
+
}
|
|
76
|
+
}), c.graph.eachEdge(function(i) {
|
|
77
|
+
var p = i.getGraphicEl(), n = i.getModel().get(["emphasis", "focus"]);
|
|
78
|
+
p && n === "adjacency" && (b(p).focus = {
|
|
79
|
+
edge: [i.dataIndex],
|
|
80
|
+
node: [i.node1.dataIndex, i.node2.dataIndex]
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
var S = t.get("layout") === "circular" && t.get(["circular", "rotateLabel"]), G = c.getLayout("cx"), E = c.getLayout("cy");
|
|
84
|
+
c.graph.eachNode(function(i) {
|
|
85
|
+
F(i, S, G, E);
|
|
86
|
+
}), this._firstRender = !1;
|
|
87
|
+
}, u.prototype.dispose = function() {
|
|
88
|
+
this.remove(), this._controller && this._controller.dispose(), this._controllerHost = null;
|
|
89
|
+
}, u.prototype._startForceLayoutIteration = function(t, l) {
|
|
90
|
+
var o = this;
|
|
91
|
+
(function r() {
|
|
92
|
+
t.step(function(a) {
|
|
93
|
+
o.updateLayout(o._model), (o._layouting = !a) && (l ? o._layoutTimeout = setTimeout(r, 16) : r());
|
|
94
|
+
});
|
|
95
|
+
})();
|
|
96
|
+
}, u.prototype._updateController = function(t, l, o) {
|
|
97
|
+
var r = this, a = this._controller, f = this._controllerHost, s = this.group;
|
|
98
|
+
if (a.setPointerChecker(function(e, d, c) {
|
|
99
|
+
var h = s.getBoundingRect();
|
|
100
|
+
return h.applyTransform(s.transform), h.contain(d, c) && !V(e, o, t);
|
|
101
|
+
}), !x(t.coordinateSystem)) {
|
|
102
|
+
a.disable();
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
a.enable(t.get("roam")), f.zoomLimit = t.get("scaleLimit"), f.zoom = t.coordinateSystem.getZoom(), a.off("pan").off("zoom").on("pan", function(e) {
|
|
106
|
+
z(f, e.dx, e.dy), o.dispatchAction({
|
|
107
|
+
seriesId: t.id,
|
|
108
|
+
type: "graphRoam",
|
|
109
|
+
dx: e.dx,
|
|
110
|
+
dy: e.dy
|
|
111
|
+
});
|
|
112
|
+
}).on("zoom", function(e) {
|
|
113
|
+
N(f, e.scale, e.originX, e.originY), o.dispatchAction({
|
|
114
|
+
seriesId: t.id,
|
|
115
|
+
type: "graphRoam",
|
|
116
|
+
zoom: e.scale,
|
|
117
|
+
originX: e.originX,
|
|
118
|
+
originY: e.originY
|
|
119
|
+
}), r._updateNodeAndLinkScale(), v(t.getGraph(), g(t)), r._lineDraw.updateLayout(), o.updateLabelLayout();
|
|
120
|
+
});
|
|
121
|
+
}, u.prototype._updateNodeAndLinkScale = function() {
|
|
122
|
+
var t = this._model, l = t.getData(), o = g(t);
|
|
123
|
+
l.eachItemGraphicEl(function(r, a) {
|
|
124
|
+
r && r.setSymbolScale(o);
|
|
125
|
+
});
|
|
126
|
+
}, u.prototype.updateLayout = function(t) {
|
|
127
|
+
v(t.getGraph(), g(t)), this._symbolDraw.updateLayout(), this._lineDraw.updateLayout();
|
|
128
|
+
}, u.prototype.remove = function() {
|
|
129
|
+
clearTimeout(this._layoutTimeout), this._layouting = !1, this._layoutTimeout = null, this._symbolDraw && this._symbolDraw.remove(), this._lineDraw && this._lineDraw.remove();
|
|
130
|
+
}, u.type = "graph", u;
|
|
131
|
+
})(X)
|
|
132
|
+
);
|
|
133
|
+
export {
|
|
134
|
+
at as default
|
|
135
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { quadraticSubdivide as E, quadraticAt as V } from "../../../../zrender/lib/core/curve.js";
|
|
2
|
+
import { clone as q, copy as u, sub as $, normalize as j, scaleAndAdd as h, distSquare as k } from "../../../../zrender/lib/core/vector.js";
|
|
3
|
+
import { getSymbolSize as y } from "./graphHelper.js";
|
|
4
|
+
var c = [], A = [], g = [], b = V, z = k, _ = Math.abs;
|
|
5
|
+
function C(S, m, v) {
|
|
6
|
+
for (var n = S[0], a = S[1], o = S[2], s = 1 / 0, r, p = v * v, i = 0.1, t = 0.1; t <= 0.9; t += 0.1) {
|
|
7
|
+
c[0] = b(n[0], a[0], o[0], t), c[1] = b(n[1], a[1], o[1], t);
|
|
8
|
+
var l = _(z(c, m) - p);
|
|
9
|
+
l < s && (s = l, r = t);
|
|
10
|
+
}
|
|
11
|
+
for (var e = 0; e < 32; e++) {
|
|
12
|
+
var f = r + i;
|
|
13
|
+
A[0] = b(n[0], a[0], o[0], r), A[1] = b(n[1], a[1], o[1], r), g[0] = b(n[0], a[0], o[0], f), g[1] = b(n[1], a[1], o[1], f);
|
|
14
|
+
var l = z(A, m) - p;
|
|
15
|
+
if (_(l) < 0.01)
|
|
16
|
+
break;
|
|
17
|
+
var d = z(g, m) - p;
|
|
18
|
+
i /= 2, l < 0 ? d >= 0 ? r = r + i : r = r - i : d >= 0 ? r = r - i : r = r + i;
|
|
19
|
+
}
|
|
20
|
+
return r;
|
|
21
|
+
}
|
|
22
|
+
function w(S, m) {
|
|
23
|
+
var v = [], n = E, a = [[], [], []], o = [[], []], s = [];
|
|
24
|
+
m /= 2, S.eachEdge(function(r, p) {
|
|
25
|
+
var i = r.getLayout(), t = r.getVisual("fromSymbol"), l = r.getVisual("toSymbol");
|
|
26
|
+
i.__original || (i.__original = [q(i[0]), q(i[1])], i[2] && i.__original.push(q(i[2])));
|
|
27
|
+
var e = i.__original;
|
|
28
|
+
if (i[2] != null) {
|
|
29
|
+
if (u(a[0], e[0]), u(a[1], e[2]), u(a[2], e[1]), t && t !== "none") {
|
|
30
|
+
var f = y(r.node1), d = C(a, e[0], f * m);
|
|
31
|
+
n(a[0][0], a[1][0], a[2][0], d, v), a[0][0] = v[3], a[1][0] = v[4], n(a[0][1], a[1][1], a[2][1], d, v), a[0][1] = v[3], a[1][1] = v[4];
|
|
32
|
+
}
|
|
33
|
+
if (l && l !== "none") {
|
|
34
|
+
var f = y(r.node2), d = C(a, e[1], f * m);
|
|
35
|
+
n(a[0][0], a[1][0], a[2][0], d, v), a[1][0] = v[1], a[2][0] = v[2], n(a[0][1], a[1][1], a[2][1], d, v), a[1][1] = v[1], a[2][1] = v[2];
|
|
36
|
+
}
|
|
37
|
+
u(i[0], a[0]), u(i[1], a[2]), u(i[2], a[1]);
|
|
38
|
+
} else {
|
|
39
|
+
if (u(o[0], e[0]), u(o[1], e[1]), $(s, o[1], o[0]), j(s, s), t && t !== "none") {
|
|
40
|
+
var f = y(r.node1);
|
|
41
|
+
h(o[0], o[0], s, f * m);
|
|
42
|
+
}
|
|
43
|
+
if (l && l !== "none") {
|
|
44
|
+
var f = y(r.node2);
|
|
45
|
+
h(o[1], o[1], s, -f * m);
|
|
46
|
+
}
|
|
47
|
+
u(i[0], o[0]), u(i[1], o[1]);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
w as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { isNumber as u } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
function d(t) {
|
|
3
|
+
var a = t.findComponents({
|
|
4
|
+
mainType: "legend"
|
|
5
|
+
});
|
|
6
|
+
!a || !a.length || t.eachSeriesByType("graph", function(n) {
|
|
7
|
+
var o = n.getCategoriesData(), l = n.getGraph(), g = l.data, f = o.mapArray(o.getName);
|
|
8
|
+
g.filterSelf(function(i) {
|
|
9
|
+
var m = g.getItemModel(i), e = m.getShallow("category");
|
|
10
|
+
if (e != null) {
|
|
11
|
+
u(e) && (e = f[e]);
|
|
12
|
+
for (var r = 0; r < a.length; r++)
|
|
13
|
+
if (!a[r].isSelected(e))
|
|
14
|
+
return !1;
|
|
15
|
+
}
|
|
16
|
+
return !0;
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { isString as f, extend as v } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
function p(y) {
|
|
3
|
+
var u = {};
|
|
4
|
+
y.eachSeriesByType("graph", function(c) {
|
|
5
|
+
var a = c.getCategoriesData(), g = c.getData(), n = {};
|
|
6
|
+
a.each(function(e) {
|
|
7
|
+
var s = a.getName(e);
|
|
8
|
+
n["ec-" + s] = e;
|
|
9
|
+
var t = a.getItemModel(e), o = t.getModel("itemStyle").getItemStyle();
|
|
10
|
+
o.fill || (o.fill = c.getColorFromPalette(s, u)), a.setItemVisual(e, "style", o);
|
|
11
|
+
for (var m = ["symbol", "symbolSize", "symbolKeepAspect"], l = 0; l < m.length; l++) {
|
|
12
|
+
var r = t.getShallow(m[l], !0);
|
|
13
|
+
r != null && a.setItemVisual(e, m[l], r);
|
|
14
|
+
}
|
|
15
|
+
}), a.count() && g.each(function(e) {
|
|
16
|
+
var s = g.getItemModel(e), t = s.getShallow("category");
|
|
17
|
+
if (t != null) {
|
|
18
|
+
f(t) && (t = n["ec-" + t]);
|
|
19
|
+
var o = a.getItemVisual(t, "style"), m = g.ensureUniqueItemVisual(e, "style");
|
|
20
|
+
v(m, o);
|
|
21
|
+
for (var l = ["symbol", "symbolSize", "symbolKeepAspect"], r = 0; r < l.length; r++)
|
|
22
|
+
g.setItemVisual(e, l[r], a.getItemVisual(t, l[r]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
p as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { normalize as C, scale as z, clone as M } from "../../../../zrender/lib/core/vector.js";
|
|
2
|
+
import { getNodeGlobalScale as D, getSymbolSize as H } from "./graphHelper.js";
|
|
3
|
+
import { retrieve3 as w, extend as E } from "../../../../zrender/lib/core/util.js";
|
|
4
|
+
import { getCurvenessForEdge as T } from "../helper/multipleGraphEdgeHelper.js";
|
|
5
|
+
var x = Math.PI, p = [];
|
|
6
|
+
function _(i, h, f, c) {
|
|
7
|
+
var l = i.coordinateSystem;
|
|
8
|
+
if (!(l && l.type !== "view")) {
|
|
9
|
+
var v = l.getBoundingRect(), u = i.getData(), o = u.graph, e = v.width / 2 + v.x, t = v.height / 2 + v.y, n = Math.min(v.width, v.height) / 2, r = u.count();
|
|
10
|
+
if (u.setLayout({
|
|
11
|
+
cx: e,
|
|
12
|
+
cy: t
|
|
13
|
+
}), !!r) {
|
|
14
|
+
if (f) {
|
|
15
|
+
var a = l.pointToData(c), s = a[0], S = a[1], y = [s - e, S - t];
|
|
16
|
+
C(y, y), z(y, y, n), f.setLayout([e + y[0], t + y[1]], !0);
|
|
17
|
+
var I = i.get(["circular", "rotateLabel"]);
|
|
18
|
+
G(f, I, e, t);
|
|
19
|
+
}
|
|
20
|
+
B[h](i, o, u, n, e, t, r), o.eachEdge(function(m, N) {
|
|
21
|
+
var g = w(m.getModel().get(["lineStyle", "curveness"]), T(m, i, N), 0), b = M(m.node1.getLayout()), d = M(m.node2.getLayout()), L, P = (b[0] + d[0]) / 2, R = (b[1] + d[1]) / 2;
|
|
22
|
+
+g && (g *= 3, L = [e * g + P * (1 - g), t * g + R * (1 - g)]), m.setLayout([b, d, L]);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
var B = {
|
|
28
|
+
value: function(i, h, f, c, l, v, u) {
|
|
29
|
+
var o = 0, e = f.getSum("value"), t = Math.PI * 2 / (e || u);
|
|
30
|
+
h.eachNode(function(n) {
|
|
31
|
+
var r = n.getValue("value"), a = t * (e ? r : 1) / 2;
|
|
32
|
+
o += a, n.setLayout([c * Math.cos(o) + l, c * Math.sin(o) + v]), o += a;
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
symbolSize: function(i, h, f, c, l, v, u) {
|
|
36
|
+
var o = 0;
|
|
37
|
+
p.length = u;
|
|
38
|
+
var e = D(i);
|
|
39
|
+
h.eachNode(function(r) {
|
|
40
|
+
var a = H(r);
|
|
41
|
+
isNaN(a) && (a = 2), a < 0 && (a = 0), a *= e;
|
|
42
|
+
var s = Math.asin(a / 2 / c);
|
|
43
|
+
isNaN(s) && (s = x / 2), p[r.dataIndex] = s, o += s * 2;
|
|
44
|
+
});
|
|
45
|
+
var t = (2 * x - o) / u / 2, n = 0;
|
|
46
|
+
h.eachNode(function(r) {
|
|
47
|
+
var a = t + p[r.dataIndex];
|
|
48
|
+
n += a, (!r.getLayout() || !r.getLayout().fixed) && r.setLayout([c * Math.cos(n) + l, c * Math.sin(n) + v]), n += a;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
function G(i, h, f, c) {
|
|
53
|
+
var l = i.getGraphicEl();
|
|
54
|
+
if (l) {
|
|
55
|
+
var v = i.getModel(), u = v.get(["label", "rotate"]) || 0, o = l.getSymbolPath();
|
|
56
|
+
if (h) {
|
|
57
|
+
var e = i.getLayout(), t = Math.atan2(e[1] - c, e[0] - f);
|
|
58
|
+
t < 0 && (t = Math.PI * 2 + t);
|
|
59
|
+
var n = e[0] < f;
|
|
60
|
+
n && (t = t - Math.PI);
|
|
61
|
+
var r = n ? "left" : "right";
|
|
62
|
+
o.setTextConfig({
|
|
63
|
+
rotation: -t,
|
|
64
|
+
position: r,
|
|
65
|
+
origin: "center"
|
|
66
|
+
});
|
|
67
|
+
var a = o.ensureState("emphasis");
|
|
68
|
+
E(a.textConfig || (a.textConfig = {}), {
|
|
69
|
+
position: r
|
|
70
|
+
});
|
|
71
|
+
} else
|
|
72
|
+
o.setTextConfig({
|
|
73
|
+
rotation: u *= Math.PI / 180
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
_ as circularLayout,
|
|
79
|
+
G as rotateNodeLabel
|
|
80
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import z from "../../coord/View.js";
|
|
2
|
+
import { getLayoutRect as N } from "../../util/layout.js";
|
|
3
|
+
import { fromPoints as P } from "../../../../zrender/lib/core/bbox.js";
|
|
4
|
+
import { extend as T } from "../../../../zrender/lib/core/util.js";
|
|
5
|
+
function d(h, e, f) {
|
|
6
|
+
var a = T(h.getBoxLayoutParams(), {
|
|
7
|
+
aspect: f
|
|
8
|
+
});
|
|
9
|
+
return N(a, {
|
|
10
|
+
width: e.getWidth(),
|
|
11
|
+
height: e.getHeight()
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function W(h, e) {
|
|
15
|
+
var f = [];
|
|
16
|
+
return h.eachSeriesByType("graph", function(a) {
|
|
17
|
+
var u = a.get("coordinateSystem");
|
|
18
|
+
if (!u || u === "view") {
|
|
19
|
+
var n = a.getData(), c = n.mapArray(function(B) {
|
|
20
|
+
var y = n.getItemModel(B);
|
|
21
|
+
return [+y.get("x"), +y.get("y")];
|
|
22
|
+
}), t = [], r = [];
|
|
23
|
+
P(c, t, r), r[0] - t[0] === 0 && (r[0] += 1, t[0] -= 1), r[1] - t[1] === 0 && (r[1] += 1, t[1] -= 1);
|
|
24
|
+
var p = (r[0] - t[0]) / (r[1] - t[1]), o = d(a, e, p);
|
|
25
|
+
isNaN(p) && (t = [o.x, o.y], r = [o.x + o.width, o.y + o.height]);
|
|
26
|
+
var i = r[0] - t[0], L = r[1] - t[1], V = o.width, v = o.height, g = a.coordinateSystem = new z();
|
|
27
|
+
g.zoomLimit = a.get("scaleLimit"), g.setBoundingRect(t[0], t[1], i, L), g.setViewRect(o.x, o.y, V, v), g.setCenter(a.get("center"), e), g.setZoom(a.get("zoom")), f.push(g);
|
|
28
|
+
}
|
|
29
|
+
}), f;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
W as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { extend as f } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
function S(t) {
|
|
3
|
+
return t instanceof Array || (t = [t, t]), t;
|
|
4
|
+
}
|
|
5
|
+
function v(t) {
|
|
6
|
+
t.eachSeriesByType("graph", function(a) {
|
|
7
|
+
var n = a.getGraph(), e = a.getEdgeData(), s = S(a.get("edgeSymbol")), r = S(a.get("edgeSymbolSize"));
|
|
8
|
+
e.setVisual("fromSymbol", s && s[0]), e.setVisual("toSymbol", s && s[1]), e.setVisual("fromSymbolSize", r && r[0]), e.setVisual("toSymbolSize", r && r[1]), e.setVisual("style", a.getModel("lineStyle").getLineStyle()), e.each(function(g) {
|
|
9
|
+
var u = e.getItemModel(g), l = n.getEdgeByIndex(g), i = S(u.getShallow("symbol", !0)), y = S(u.getShallow("symbolSize", !0)), b = u.getModel("lineStyle").getLineStyle(), m = e.ensureUniqueItemVisual(g, "style");
|
|
10
|
+
switch (f(m, b), m.stroke) {
|
|
11
|
+
case "source": {
|
|
12
|
+
var o = l.node1.getVisual("style");
|
|
13
|
+
m.stroke = o && o.fill;
|
|
14
|
+
break;
|
|
15
|
+
}
|
|
16
|
+
case "target": {
|
|
17
|
+
var o = l.node2.getVisual("style");
|
|
18
|
+
m.stroke = o && o.fill;
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
i[0] && l.setVisual("fromSymbol", i[0]), i[1] && l.setVisual("toSymbol", i[1]), y[0] && l.setVisual("fromSymbolSize", y[0]), y[1] && l.setVisual("toSymbolSize", y[1]);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
v as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { create as q, clone as B, sub as s, len as N, normalize as D, scaleAndAdd as E, set as G, copy as H } from "../../../../zrender/lib/core/vector.js";
|
|
2
|
+
var o = E;
|
|
3
|
+
function J(U, z, d) {
|
|
4
|
+
for (var t = U, l = z, u = d.rect, S = u.width, w = u.height, m = [u.x + S / 2, u.y + w / 2], $ = d.gravity == null ? 0.1 : d.gravity, y = 0; y < t.length; y++) {
|
|
5
|
+
var c = t[y];
|
|
6
|
+
c.p || (c.p = q(S * (Math.random() - 0.5) + m[0], w * (Math.random() - 0.5) + m[1])), c.pp = B(c.p), c.edges = null;
|
|
7
|
+
}
|
|
8
|
+
var L = d.friction == null ? 0.6 : d.friction, p = L, A, b;
|
|
9
|
+
return {
|
|
10
|
+
warmUp: function() {
|
|
11
|
+
p = L * 0.8;
|
|
12
|
+
},
|
|
13
|
+
setFixed: function(v) {
|
|
14
|
+
t[v].fixed = !0;
|
|
15
|
+
},
|
|
16
|
+
setUnfixed: function(v) {
|
|
17
|
+
t[v].fixed = !1;
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* Before step hook
|
|
21
|
+
*/
|
|
22
|
+
beforeStep: function(v) {
|
|
23
|
+
A = v;
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* After step hook
|
|
27
|
+
*/
|
|
28
|
+
afterStep: function(v) {
|
|
29
|
+
b = v;
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Some formulas were originally copied from "d3.js"
|
|
33
|
+
* https://github.com/d3/d3/blob/b516d77fb8566b576088e73410437494717ada26/src/layout/force.js
|
|
34
|
+
* with some modifications made for this project.
|
|
35
|
+
* See the license statement at the head of this file.
|
|
36
|
+
*/
|
|
37
|
+
step: function(v) {
|
|
38
|
+
A && A(t, l);
|
|
39
|
+
for (var a = [], h = t.length, r = 0; r < l.length; r++) {
|
|
40
|
+
var x = l[r];
|
|
41
|
+
if (!x.ignoreForceLayout) {
|
|
42
|
+
var f = x.n1, e = x.n2;
|
|
43
|
+
s(a, e.p, f.p);
|
|
44
|
+
var n = N(a) - x.d, g = e.w / (f.w + e.w);
|
|
45
|
+
isNaN(g) && (g = 0), D(a, a), !f.fixed && o(f.p, f.p, a, g * n * p), !e.fixed && o(e.p, e.p, a, -(1 - g) * n * p);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
for (var r = 0; r < h; r++) {
|
|
49
|
+
var i = t[r];
|
|
50
|
+
i.fixed || (s(a, m, i.p), o(i.p, i.p, a, $ * p));
|
|
51
|
+
}
|
|
52
|
+
for (var r = 0; r < h; r++)
|
|
53
|
+
for (var f = t[r], M = r + 1; M < h; M++) {
|
|
54
|
+
var e = t[M];
|
|
55
|
+
s(a, e.p, f.p);
|
|
56
|
+
var n = N(a);
|
|
57
|
+
n === 0 && (G(a, Math.random() - 0.5, Math.random() - 0.5), n = 1);
|
|
58
|
+
var k = (f.rep + e.rep) / n / n;
|
|
59
|
+
!f.fixed && o(f.pp, f.pp, a, k), !e.fixed && o(e.pp, e.pp, a, -k);
|
|
60
|
+
}
|
|
61
|
+
for (var C = [], r = 0; r < h; r++) {
|
|
62
|
+
var i = t[r];
|
|
63
|
+
i.fixed || (s(C, i.p, i.pp), o(i.p, i.p, C, p), H(i.pp, i.p));
|
|
64
|
+
}
|
|
65
|
+
p = p * 0.992;
|
|
66
|
+
var F = p < 0.01;
|
|
67
|
+
b && b(t, l, F), v && v(F);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
J as forceLayout
|
|
73
|
+
};
|