web-core-tcm 0.0.59 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
function l(n, r) {
|
|
2
|
+
return n == null && (n = 0), r == null && (r = 0), [n, r];
|
|
3
|
+
}
|
|
4
|
+
function s(n, r) {
|
|
5
|
+
return n[0] = r[0], n[1] = r[1], n;
|
|
6
|
+
}
|
|
7
|
+
function d(n) {
|
|
8
|
+
return [n[0], n[1]];
|
|
9
|
+
}
|
|
10
|
+
function h(n, r, e) {
|
|
11
|
+
return n[0] = r, n[1] = e, n;
|
|
12
|
+
}
|
|
13
|
+
function M(n, r, e) {
|
|
14
|
+
return n[0] = r[0] + e[0], n[1] = r[1] + e[1], n;
|
|
15
|
+
}
|
|
16
|
+
function p(n, r, e, i) {
|
|
17
|
+
return n[0] = r[0] + e[0] * i, n[1] = r[1] + e[1] * i, n;
|
|
18
|
+
}
|
|
19
|
+
function q(n, r, e) {
|
|
20
|
+
return n[0] = r[0] - e[0], n[1] = r[1] - e[1], n;
|
|
21
|
+
}
|
|
22
|
+
function c(n) {
|
|
23
|
+
return Math.sqrt(t(n));
|
|
24
|
+
}
|
|
25
|
+
function t(n) {
|
|
26
|
+
return n[0] * n[0] + n[1] * n[1];
|
|
27
|
+
}
|
|
28
|
+
function m(n, r, e) {
|
|
29
|
+
return n[0] = r[0] * e, n[1] = r[1] * e, n;
|
|
30
|
+
}
|
|
31
|
+
function x(n, r) {
|
|
32
|
+
var e = c(r);
|
|
33
|
+
return e === 0 ? (n[0] = 0, n[1] = 0) : (n[0] = r[0] / e, n[1] = r[1] / e), n;
|
|
34
|
+
}
|
|
35
|
+
function f(n, r) {
|
|
36
|
+
return Math.sqrt((n[0] - r[0]) * (n[0] - r[0]) + (n[1] - r[1]) * (n[1] - r[1]));
|
|
37
|
+
}
|
|
38
|
+
var S = f;
|
|
39
|
+
function u(n, r) {
|
|
40
|
+
return (n[0] - r[0]) * (n[0] - r[0]) + (n[1] - r[1]) * (n[1] - r[1]);
|
|
41
|
+
}
|
|
42
|
+
var A = u;
|
|
43
|
+
function b(n, r, e, i) {
|
|
44
|
+
return n[0] = r[0] + i * (e[0] - r[0]), n[1] = r[1] + i * (e[1] - r[1]), n;
|
|
45
|
+
}
|
|
46
|
+
function y(n, r, e) {
|
|
47
|
+
var i = r[0], a = r[1];
|
|
48
|
+
return n[0] = e[0] * i + e[2] * a + e[4], n[1] = e[1] * i + e[3] * a + e[5], n;
|
|
49
|
+
}
|
|
50
|
+
function z(n, r, e) {
|
|
51
|
+
return n[0] = Math.min(r[0], e[0]), n[1] = Math.min(r[1], e[1]), n;
|
|
52
|
+
}
|
|
53
|
+
function T(n, r, e) {
|
|
54
|
+
return n[0] = Math.max(r[0], e[0]), n[1] = Math.max(r[1], e[1]), n;
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
M as add,
|
|
58
|
+
y as applyTransform,
|
|
59
|
+
d as clone,
|
|
60
|
+
s as copy,
|
|
61
|
+
l as create,
|
|
62
|
+
S as dist,
|
|
63
|
+
A as distSquare,
|
|
64
|
+
f as distance,
|
|
65
|
+
u as distanceSquare,
|
|
66
|
+
c as len,
|
|
67
|
+
t as lenSquare,
|
|
68
|
+
b as lerp,
|
|
69
|
+
T as max,
|
|
70
|
+
z as min,
|
|
71
|
+
x as normalize,
|
|
72
|
+
m as scale,
|
|
73
|
+
p as scaleAndAdd,
|
|
74
|
+
h as set,
|
|
75
|
+
q as sub
|
|
76
|
+
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { __extends as E } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { normalizeEvent as u, removeEventListener as S, addEventListener as D, getNativeEvent as H } from "../core/event.js";
|
|
3
|
+
import { each as l, map as L, noop as h } from "../core/util.js";
|
|
4
|
+
import O from "../core/Eventful.js";
|
|
5
|
+
import a from "../core/env.js";
|
|
6
|
+
var b = 300, c = a.domSupported, p = (function() {
|
|
7
|
+
var o = [
|
|
8
|
+
"click",
|
|
9
|
+
"dblclick",
|
|
10
|
+
"mousewheel",
|
|
11
|
+
"wheel",
|
|
12
|
+
"mouseout",
|
|
13
|
+
"mouseup",
|
|
14
|
+
"mousedown",
|
|
15
|
+
"mousemove",
|
|
16
|
+
"contextmenu"
|
|
17
|
+
], t = [
|
|
18
|
+
"touchstart",
|
|
19
|
+
"touchend",
|
|
20
|
+
"touchmove"
|
|
21
|
+
], r = {
|
|
22
|
+
pointerdown: 1,
|
|
23
|
+
pointerup: 1,
|
|
24
|
+
pointermove: 1,
|
|
25
|
+
pointerout: 1
|
|
26
|
+
}, i = L(o, function(e) {
|
|
27
|
+
var s = e.replace("mouse", "pointer");
|
|
28
|
+
return r.hasOwnProperty(s) ? s : e;
|
|
29
|
+
});
|
|
30
|
+
return {
|
|
31
|
+
mouse: o,
|
|
32
|
+
touch: t,
|
|
33
|
+
pointer: i
|
|
34
|
+
};
|
|
35
|
+
})(), T = {
|
|
36
|
+
mouse: ["mousemove", "mouseup"],
|
|
37
|
+
pointer: ["pointermove", "pointerup"]
|
|
38
|
+
}, w = !1;
|
|
39
|
+
function g(o) {
|
|
40
|
+
var t = o.pointerType;
|
|
41
|
+
return t === "pen" || t === "touch";
|
|
42
|
+
}
|
|
43
|
+
function P(o) {
|
|
44
|
+
o.touching = !0, o.touchTimer != null && (clearTimeout(o.touchTimer), o.touchTimer = null), o.touchTimer = setTimeout(function() {
|
|
45
|
+
o.touching = !1, o.touchTimer = null;
|
|
46
|
+
}, 700);
|
|
47
|
+
}
|
|
48
|
+
function f(o) {
|
|
49
|
+
o && (o.zrByTouch = !0);
|
|
50
|
+
}
|
|
51
|
+
function M(o, t) {
|
|
52
|
+
return u(o.dom, new z(o, t), !0);
|
|
53
|
+
}
|
|
54
|
+
function C(o, t) {
|
|
55
|
+
for (var r = t, i = !1; r && r.nodeType !== 9 && !(i = r.domBelongToZr || r !== t && r === o.painterRoot); )
|
|
56
|
+
r = r.parentNode;
|
|
57
|
+
return i;
|
|
58
|
+
}
|
|
59
|
+
var z = /* @__PURE__ */ (function() {
|
|
60
|
+
function o(t, r) {
|
|
61
|
+
this.stopPropagation = h, this.stopImmediatePropagation = h, this.preventDefault = h, this.type = r.type, this.target = this.currentTarget = t.dom, this.pointerType = r.pointerType, this.clientX = r.clientX, this.clientY = r.clientY;
|
|
62
|
+
}
|
|
63
|
+
return o;
|
|
64
|
+
})(), n = {
|
|
65
|
+
mousedown: function(o) {
|
|
66
|
+
o = u(this.dom, o), this.__mayPointerCapture = [o.zrX, o.zrY], this.trigger("mousedown", o);
|
|
67
|
+
},
|
|
68
|
+
mousemove: function(o) {
|
|
69
|
+
o = u(this.dom, o);
|
|
70
|
+
var t = this.__mayPointerCapture;
|
|
71
|
+
t && (o.zrX !== t[0] || o.zrY !== t[1]) && this.__togglePointerCapture(!0), this.trigger("mousemove", o);
|
|
72
|
+
},
|
|
73
|
+
mouseup: function(o) {
|
|
74
|
+
o = u(this.dom, o), this.__togglePointerCapture(!1), this.trigger("mouseup", o);
|
|
75
|
+
},
|
|
76
|
+
mouseout: function(o) {
|
|
77
|
+
o = u(this.dom, o);
|
|
78
|
+
var t = o.toElement || o.relatedTarget;
|
|
79
|
+
C(this, t) || (this.__pointerCapturing && (o.zrEventControl = "no_globalout"), this.trigger("mouseout", o));
|
|
80
|
+
},
|
|
81
|
+
wheel: function(o) {
|
|
82
|
+
w = !0, o = u(this.dom, o), this.trigger("mousewheel", o);
|
|
83
|
+
},
|
|
84
|
+
mousewheel: function(o) {
|
|
85
|
+
w || (o = u(this.dom, o), this.trigger("mousewheel", o));
|
|
86
|
+
},
|
|
87
|
+
touchstart: function(o) {
|
|
88
|
+
o = u(this.dom, o), f(o), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(o, "start"), n.mousemove.call(this, o), n.mousedown.call(this, o);
|
|
89
|
+
},
|
|
90
|
+
touchmove: function(o) {
|
|
91
|
+
o = u(this.dom, o), f(o), this.handler.processGesture(o, "change"), n.mousemove.call(this, o);
|
|
92
|
+
},
|
|
93
|
+
touchend: function(o) {
|
|
94
|
+
o = u(this.dom, o), f(o), this.handler.processGesture(o, "end"), n.mouseup.call(this, o), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < b && n.click.call(this, o);
|
|
95
|
+
},
|
|
96
|
+
pointerdown: function(o) {
|
|
97
|
+
n.mousedown.call(this, o);
|
|
98
|
+
},
|
|
99
|
+
pointermove: function(o) {
|
|
100
|
+
g(o) || n.mousemove.call(this, o);
|
|
101
|
+
},
|
|
102
|
+
pointerup: function(o) {
|
|
103
|
+
n.mouseup.call(this, o);
|
|
104
|
+
},
|
|
105
|
+
pointerout: function(o) {
|
|
106
|
+
g(o) || n.mouseout.call(this, o);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
l(["click", "dblclick", "contextmenu"], function(o) {
|
|
110
|
+
n[o] = function(t) {
|
|
111
|
+
t = u(this.dom, t), this.trigger(o, t);
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
var _ = {
|
|
115
|
+
pointermove: function(o) {
|
|
116
|
+
g(o) || _.mousemove.call(this, o);
|
|
117
|
+
},
|
|
118
|
+
pointerup: function(o) {
|
|
119
|
+
_.mouseup.call(this, o);
|
|
120
|
+
},
|
|
121
|
+
mousemove: function(o) {
|
|
122
|
+
this.trigger("mousemove", o);
|
|
123
|
+
},
|
|
124
|
+
mouseup: function(o) {
|
|
125
|
+
var t = this.__pointerCapturing;
|
|
126
|
+
this.__togglePointerCapture(!1), this.trigger("mouseup", o), t && (o.zrEventControl = "only_globalout", this.trigger("mouseout", o));
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
function k(o, t) {
|
|
130
|
+
var r = t.domHandlers;
|
|
131
|
+
a.pointerEventsSupported ? l(p.pointer, function(i) {
|
|
132
|
+
m(t, i, function(e) {
|
|
133
|
+
r[i].call(o, e);
|
|
134
|
+
});
|
|
135
|
+
}) : (a.touchEventsSupported && l(p.touch, function(i) {
|
|
136
|
+
m(t, i, function(e) {
|
|
137
|
+
r[i].call(o, e), P(t);
|
|
138
|
+
});
|
|
139
|
+
}), l(p.mouse, function(i) {
|
|
140
|
+
m(t, i, function(e) {
|
|
141
|
+
e = H(e), t.touching || r[i].call(o, e);
|
|
142
|
+
});
|
|
143
|
+
}));
|
|
144
|
+
}
|
|
145
|
+
function G(o, t) {
|
|
146
|
+
a.pointerEventsSupported ? l(T.pointer, r) : a.touchEventsSupported || l(T.mouse, r);
|
|
147
|
+
function r(i) {
|
|
148
|
+
function e(s) {
|
|
149
|
+
s = H(s), C(o, s.target) || (s = M(o, s), t.domHandlers[i].call(o, s));
|
|
150
|
+
}
|
|
151
|
+
m(t, i, e, { capture: !0 });
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
function m(o, t, r, i) {
|
|
155
|
+
o.mounted[t] = r, o.listenerOpts[t] = i, D(o.domTarget, t, r, i);
|
|
156
|
+
}
|
|
157
|
+
function d(o) {
|
|
158
|
+
var t = o.mounted;
|
|
159
|
+
for (var r in t)
|
|
160
|
+
t.hasOwnProperty(r) && S(o.domTarget, r, t[r], o.listenerOpts[r]);
|
|
161
|
+
o.mounted = {};
|
|
162
|
+
}
|
|
163
|
+
var y = /* @__PURE__ */ (function() {
|
|
164
|
+
function o(t, r) {
|
|
165
|
+
this.mounted = {}, this.listenerOpts = {}, this.touching = !1, this.domTarget = t, this.domHandlers = r;
|
|
166
|
+
}
|
|
167
|
+
return o;
|
|
168
|
+
})(), v = (function(o) {
|
|
169
|
+
E(t, o);
|
|
170
|
+
function t(r, i) {
|
|
171
|
+
var e = o.call(this) || this;
|
|
172
|
+
return e.__pointerCapturing = !1, e.dom = r, e.painterRoot = i, e._localHandlerScope = new y(r, n), c && (e._globalHandlerScope = new y(document, _)), k(e, e._localHandlerScope), e;
|
|
173
|
+
}
|
|
174
|
+
return t.prototype.dispose = function() {
|
|
175
|
+
d(this._localHandlerScope), c && d(this._globalHandlerScope);
|
|
176
|
+
}, t.prototype.setCursor = function(r) {
|
|
177
|
+
this.dom.style && (this.dom.style.cursor = r || "default");
|
|
178
|
+
}, t.prototype.__togglePointerCapture = function(r) {
|
|
179
|
+
if (this.__mayPointerCapture = null, c && +this.__pointerCapturing ^ +r) {
|
|
180
|
+
this.__pointerCapturing = r;
|
|
181
|
+
var i = this._globalHandlerScope;
|
|
182
|
+
r ? G(this, i) : d(i);
|
|
183
|
+
}
|
|
184
|
+
}, t;
|
|
185
|
+
})(O);
|
|
186
|
+
export {
|
|
187
|
+
v as default
|
|
188
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __extends as n } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import p from "./Path.js";
|
|
3
|
+
var i = (function(o) {
|
|
4
|
+
n(e, o);
|
|
5
|
+
function e() {
|
|
6
|
+
var t = o !== null && o.apply(this, arguments) || this;
|
|
7
|
+
return t.type = "compound", t;
|
|
8
|
+
}
|
|
9
|
+
return e.prototype._updatePathDirty = function() {
|
|
10
|
+
for (var t = this.shape.paths, h = this.shapeChanged(), a = 0; a < t.length; a++)
|
|
11
|
+
h = h || t[a].shapeChanged();
|
|
12
|
+
h && this.dirtyShape();
|
|
13
|
+
}, e.prototype.beforeBrush = function() {
|
|
14
|
+
this._updatePathDirty();
|
|
15
|
+
for (var t = this.shape.paths || [], h = this.getGlobalScale(), a = 0; a < t.length; a++)
|
|
16
|
+
t[a].path || t[a].createPathProxy(), t[a].path.setScale(h[0], h[1], t[a].segmentIgnoreThreshold);
|
|
17
|
+
}, e.prototype.buildPath = function(t, h) {
|
|
18
|
+
for (var a = h.paths || [], r = 0; r < a.length; r++)
|
|
19
|
+
a[r].buildPath(t, a[r].shape, !0);
|
|
20
|
+
}, e.prototype.afterBrush = function() {
|
|
21
|
+
for (var t = this.shape.paths || [], h = 0; h < t.length; h++)
|
|
22
|
+
t[h].pathUpdated();
|
|
23
|
+
}, e.prototype.getBoundingRect = function() {
|
|
24
|
+
return this._updatePathDirty.call(this), p.prototype.getBoundingRect.call(this);
|
|
25
|
+
}, e;
|
|
26
|
+
})(p);
|
|
27
|
+
export {
|
|
28
|
+
i as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { __extends as M } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import w from "../Element.js";
|
|
3
|
+
import p from "../core/BoundingRect.js";
|
|
4
|
+
import { keys as _, extend as P, createObject as B } from "../core/util.js";
|
|
5
|
+
import { STYLE_CHANGED_BIT as c, REDRAW_BIT as E } from "./constants.js";
|
|
6
|
+
var m = "__zr_style_" + Math.round(Math.random() * 10), A = {
|
|
7
|
+
shadowBlur: 0,
|
|
8
|
+
shadowOffsetX: 0,
|
|
9
|
+
shadowOffsetY: 0,
|
|
10
|
+
shadowColor: "#000",
|
|
11
|
+
opacity: 1,
|
|
12
|
+
blend: "source-over"
|
|
13
|
+
}, b = {
|
|
14
|
+
style: {
|
|
15
|
+
shadowBlur: !0,
|
|
16
|
+
shadowOffsetX: !0,
|
|
17
|
+
shadowOffsetY: !0,
|
|
18
|
+
shadowColor: !0,
|
|
19
|
+
opacity: !0
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
A[m] = !0;
|
|
23
|
+
var T = ["z", "z2", "invisible"], Y = ["invisible"], L = (function(a) {
|
|
24
|
+
M(i, a);
|
|
25
|
+
function i(t) {
|
|
26
|
+
return a.call(this, t) || this;
|
|
27
|
+
}
|
|
28
|
+
return i.prototype._init = function(t) {
|
|
29
|
+
for (var e = _(t), r = 0; r < e.length; r++) {
|
|
30
|
+
var o = e[r];
|
|
31
|
+
o === "style" ? this.useStyle(t[o]) : a.prototype.attrKV.call(this, o, t[o]);
|
|
32
|
+
}
|
|
33
|
+
this.style || this.useStyle({});
|
|
34
|
+
}, i.prototype.beforeBrush = function() {
|
|
35
|
+
}, i.prototype.afterBrush = function() {
|
|
36
|
+
}, i.prototype.innerBeforeBrush = function() {
|
|
37
|
+
}, i.prototype.innerAfterBrush = function() {
|
|
38
|
+
}, i.prototype.shouldBePainted = function(t, e, r, o) {
|
|
39
|
+
var n = this.transform;
|
|
40
|
+
if (this.ignore || this.invisible || this.style.opacity === 0 || this.culling && D(this, t, e) || n && !n[0] && !n[3])
|
|
41
|
+
return !1;
|
|
42
|
+
if (r && this.__clipPaths) {
|
|
43
|
+
for (var f = 0; f < this.__clipPaths.length; ++f)
|
|
44
|
+
if (this.__clipPaths[f].isZeroArea())
|
|
45
|
+
return !1;
|
|
46
|
+
}
|
|
47
|
+
if (o && this.parent)
|
|
48
|
+
for (var h = this.parent; h; ) {
|
|
49
|
+
if (h.ignore)
|
|
50
|
+
return !1;
|
|
51
|
+
h = h.parent;
|
|
52
|
+
}
|
|
53
|
+
return !0;
|
|
54
|
+
}, i.prototype.contain = function(t, e) {
|
|
55
|
+
return this.rectContain(t, e);
|
|
56
|
+
}, i.prototype.traverse = function(t, e) {
|
|
57
|
+
t.call(e, this);
|
|
58
|
+
}, i.prototype.rectContain = function(t, e) {
|
|
59
|
+
var r = this.transformCoordToLocal(t, e), o = this.getBoundingRect();
|
|
60
|
+
return o.contain(r[0], r[1]);
|
|
61
|
+
}, i.prototype.getPaintRect = function() {
|
|
62
|
+
var t = this._paintRect;
|
|
63
|
+
if (!this._paintRect || this.__dirty) {
|
|
64
|
+
var e = this.transform, r = this.getBoundingRect(), o = this.style, n = o.shadowBlur || 0, f = o.shadowOffsetX || 0, h = o.shadowOffsetY || 0;
|
|
65
|
+
t = this._paintRect || (this._paintRect = new p(0, 0, 0, 0)), e ? p.applyTransform(t, r, e) : t.copy(r), (n || f || h) && (t.width += n * 2 + Math.abs(f), t.height += n * 2 + Math.abs(h), t.x = Math.min(t.x, t.x + f - n), t.y = Math.min(t.y, t.y + h - n));
|
|
66
|
+
var s = this.dirtyRectTolerance;
|
|
67
|
+
t.isZero() || (t.x = Math.floor(t.x - s), t.y = Math.floor(t.y - s), t.width = Math.ceil(t.width + 1 + s * 2), t.height = Math.ceil(t.height + 1 + s * 2));
|
|
68
|
+
}
|
|
69
|
+
return t;
|
|
70
|
+
}, i.prototype.setPrevPaintRect = function(t) {
|
|
71
|
+
t ? (this._prevPaintRect = this._prevPaintRect || new p(0, 0, 0, 0), this._prevPaintRect.copy(t)) : this._prevPaintRect = null;
|
|
72
|
+
}, i.prototype.getPrevPaintRect = function() {
|
|
73
|
+
return this._prevPaintRect;
|
|
74
|
+
}, i.prototype.animateStyle = function(t) {
|
|
75
|
+
return this.animate("style", t);
|
|
76
|
+
}, i.prototype.updateDuringAnimation = function(t) {
|
|
77
|
+
t === "style" ? this.dirtyStyle() : this.markRedraw();
|
|
78
|
+
}, i.prototype.attrKV = function(t, e) {
|
|
79
|
+
t !== "style" ? a.prototype.attrKV.call(this, t, e) : this.style ? this.setStyle(e) : this.useStyle(e);
|
|
80
|
+
}, i.prototype.setStyle = function(t, e) {
|
|
81
|
+
return typeof t == "string" ? this.style[t] = e : P(this.style, t), this.dirtyStyle(), this;
|
|
82
|
+
}, i.prototype.dirtyStyle = function(t) {
|
|
83
|
+
t || this.markRedraw(), this.__dirty |= c, this._rect && (this._rect = null);
|
|
84
|
+
}, i.prototype.dirty = function() {
|
|
85
|
+
this.dirtyStyle();
|
|
86
|
+
}, i.prototype.styleChanged = function() {
|
|
87
|
+
return !!(this.__dirty & c);
|
|
88
|
+
}, i.prototype.styleUpdated = function() {
|
|
89
|
+
this.__dirty &= ~c;
|
|
90
|
+
}, i.prototype.createStyle = function(t) {
|
|
91
|
+
return B(A, t);
|
|
92
|
+
}, i.prototype.useStyle = function(t) {
|
|
93
|
+
t[m] || (t = this.createStyle(t)), this.__inHover ? this.__hoverStyle = t : this.style = t, this.dirtyStyle();
|
|
94
|
+
}, i.prototype.isStyleObject = function(t) {
|
|
95
|
+
return t[m];
|
|
96
|
+
}, i.prototype._innerSaveToNormal = function(t) {
|
|
97
|
+
a.prototype._innerSaveToNormal.call(this, t);
|
|
98
|
+
var e = this._normalState;
|
|
99
|
+
t.style && !e.style && (e.style = this._mergeStyle(this.createStyle(), this.style)), this._savePrimaryToNormal(t, e, T);
|
|
100
|
+
}, i.prototype._applyStateObj = function(t, e, r, o, n, f) {
|
|
101
|
+
a.prototype._applyStateObj.call(this, t, e, r, o, n, f);
|
|
102
|
+
var h = !(e && o), s;
|
|
103
|
+
if (e && e.style ? n ? o ? s = e.style : (s = this._mergeStyle(this.createStyle(), r.style), this._mergeStyle(s, e.style)) : (s = this._mergeStyle(this.createStyle(), o ? this.style : r.style), this._mergeStyle(s, e.style)) : h && (s = r.style), s)
|
|
104
|
+
if (n) {
|
|
105
|
+
var u = this.style;
|
|
106
|
+
if (this.style = this.createStyle(h ? {} : u), h)
|
|
107
|
+
for (var g = _(u), y = 0; y < g.length; y++) {
|
|
108
|
+
var l = g[y];
|
|
109
|
+
l in s && (s[l] = s[l], this.style[l] = u[l]);
|
|
110
|
+
}
|
|
111
|
+
for (var S = _(s), y = 0; y < S.length; y++) {
|
|
112
|
+
var l = S[y];
|
|
113
|
+
this.style[l] = this.style[l];
|
|
114
|
+
}
|
|
115
|
+
this._transitionState(t, {
|
|
116
|
+
style: s
|
|
117
|
+
}, f, this.getAnimationStyleProps());
|
|
118
|
+
} else
|
|
119
|
+
this.useStyle(s);
|
|
120
|
+
for (var R = this.__inHover ? Y : T, y = 0; y < R.length; y++) {
|
|
121
|
+
var l = R[y];
|
|
122
|
+
e && e[l] != null ? this[l] = e[l] : h && r[l] != null && (this[l] = r[l]);
|
|
123
|
+
}
|
|
124
|
+
}, i.prototype._mergeStates = function(t) {
|
|
125
|
+
for (var e = a.prototype._mergeStates.call(this, t), r, o = 0; o < t.length; o++) {
|
|
126
|
+
var n = t[o];
|
|
127
|
+
n.style && (r = r || {}, this._mergeStyle(r, n.style));
|
|
128
|
+
}
|
|
129
|
+
return r && (e.style = r), e;
|
|
130
|
+
}, i.prototype._mergeStyle = function(t, e) {
|
|
131
|
+
return P(t, e), t;
|
|
132
|
+
}, i.prototype.getAnimationStyleProps = function() {
|
|
133
|
+
return b;
|
|
134
|
+
}, i.initDefaultProps = (function() {
|
|
135
|
+
var t = i.prototype;
|
|
136
|
+
t.type = "displayable", t.invisible = !1, t.z = 0, t.z2 = 0, t.zlevel = 0, t.culling = !1, t.cursor = "pointer", t.rectHover = !1, t.incremental = !1, t._rect = null, t.dirtyRectTolerance = 0, t.__dirty = E | c;
|
|
137
|
+
})(), i;
|
|
138
|
+
})(w), v = new p(0, 0, 0, 0), d = new p(0, 0, 0, 0);
|
|
139
|
+
function D(a, i, t) {
|
|
140
|
+
return v.copy(a.getBoundingRect()), a.transform && v.applyTransform(a.transform), d.width = i, d.height = t, !v.intersect(d);
|
|
141
|
+
}
|
|
142
|
+
export {
|
|
143
|
+
b as DEFAULT_COMMON_ANIMATION_PROPS,
|
|
144
|
+
A as DEFAULT_COMMON_STYLE,
|
|
145
|
+
L as default
|
|
146
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { __extends as v } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { indexOf as l } from "../core/util.js";
|
|
3
|
+
import c from "../Element.js";
|
|
4
|
+
import u from "../core/BoundingRect.js";
|
|
5
|
+
var d = (function(a) {
|
|
6
|
+
v(o, a);
|
|
7
|
+
function o(r) {
|
|
8
|
+
var t = a.call(this) || this;
|
|
9
|
+
return t.isGroup = !0, t._children = [], t.attr(r), t;
|
|
10
|
+
}
|
|
11
|
+
return o.prototype.childrenRef = function() {
|
|
12
|
+
return this._children;
|
|
13
|
+
}, o.prototype.children = function() {
|
|
14
|
+
return this._children.slice();
|
|
15
|
+
}, o.prototype.childAt = function(r) {
|
|
16
|
+
return this._children[r];
|
|
17
|
+
}, o.prototype.childOfName = function(r) {
|
|
18
|
+
for (var t = this._children, e = 0; e < t.length; e++)
|
|
19
|
+
if (t[e].name === r)
|
|
20
|
+
return t[e];
|
|
21
|
+
}, o.prototype.childCount = function() {
|
|
22
|
+
return this._children.length;
|
|
23
|
+
}, o.prototype.add = function(r) {
|
|
24
|
+
return r && r !== this && r.parent !== this && (this._children.push(r), this._doAdd(r)), this;
|
|
25
|
+
}, o.prototype.addBefore = function(r, t) {
|
|
26
|
+
if (r && r !== this && r.parent !== this && t && t.parent === this) {
|
|
27
|
+
var e = this._children, n = e.indexOf(t);
|
|
28
|
+
n >= 0 && (e.splice(n, 0, r), this._doAdd(r));
|
|
29
|
+
}
|
|
30
|
+
return this;
|
|
31
|
+
}, o.prototype.replace = function(r, t) {
|
|
32
|
+
var e = l(this._children, r);
|
|
33
|
+
return e >= 0 && this.replaceAt(t, e), this;
|
|
34
|
+
}, o.prototype.replaceAt = function(r, t) {
|
|
35
|
+
var e = this._children, n = e[t];
|
|
36
|
+
if (r && r !== this && r.parent !== this && r !== n) {
|
|
37
|
+
e[t] = r, n.parent = null;
|
|
38
|
+
var i = this.__zr;
|
|
39
|
+
i && n.removeSelfFromZr(i), this._doAdd(r);
|
|
40
|
+
}
|
|
41
|
+
return this;
|
|
42
|
+
}, o.prototype._doAdd = function(r) {
|
|
43
|
+
r.parent && r.parent.remove(r), r.parent = this;
|
|
44
|
+
var t = this.__zr;
|
|
45
|
+
t && t !== r.__zr && r.addSelfToZr(t), t && t.refresh();
|
|
46
|
+
}, o.prototype.remove = function(r) {
|
|
47
|
+
var t = this.__zr, e = this._children, n = l(e, r);
|
|
48
|
+
return n < 0 ? this : (e.splice(n, 1), r.parent = null, t && r.removeSelfFromZr(t), t && t.refresh(), this);
|
|
49
|
+
}, o.prototype.removeAll = function() {
|
|
50
|
+
for (var r = this._children, t = this.__zr, e = 0; e < r.length; e++) {
|
|
51
|
+
var n = r[e];
|
|
52
|
+
t && n.removeSelfFromZr(t), n.parent = null;
|
|
53
|
+
}
|
|
54
|
+
return r.length = 0, this;
|
|
55
|
+
}, o.prototype.eachChild = function(r, t) {
|
|
56
|
+
for (var e = this._children, n = 0; n < e.length; n++) {
|
|
57
|
+
var i = e[n];
|
|
58
|
+
r.call(t, i, n);
|
|
59
|
+
}
|
|
60
|
+
return this;
|
|
61
|
+
}, o.prototype.traverse = function(r, t) {
|
|
62
|
+
for (var e = 0; e < this._children.length; e++) {
|
|
63
|
+
var n = this._children[e], i = r.call(t, n);
|
|
64
|
+
n.isGroup && !i && n.traverse(r, t);
|
|
65
|
+
}
|
|
66
|
+
return this;
|
|
67
|
+
}, o.prototype.addSelfToZr = function(r) {
|
|
68
|
+
a.prototype.addSelfToZr.call(this, r);
|
|
69
|
+
for (var t = 0; t < this._children.length; t++) {
|
|
70
|
+
var e = this._children[t];
|
|
71
|
+
e.addSelfToZr(r);
|
|
72
|
+
}
|
|
73
|
+
}, o.prototype.removeSelfFromZr = function(r) {
|
|
74
|
+
a.prototype.removeSelfFromZr.call(this, r);
|
|
75
|
+
for (var t = 0; t < this._children.length; t++) {
|
|
76
|
+
var e = this._children[t];
|
|
77
|
+
e.removeSelfFromZr(r);
|
|
78
|
+
}
|
|
79
|
+
}, o.prototype.getBoundingRect = function(r) {
|
|
80
|
+
for (var t = new u(0, 0, 0, 0), e = r || this._children, n = [], i = null, f = 0; f < e.length; f++) {
|
|
81
|
+
var p = e[f];
|
|
82
|
+
if (!(p.ignore || p.invisible)) {
|
|
83
|
+
var h = p.getBoundingRect(), s = p.getLocalTransform(n);
|
|
84
|
+
s ? (u.applyTransform(t, h, s), i = i || t.clone(), i.union(t)) : (i = i || h.clone(), i.union(h));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return i || t;
|
|
88
|
+
}, o;
|
|
89
|
+
})(c);
|
|
90
|
+
d.prototype.type = "group";
|
|
91
|
+
export {
|
|
92
|
+
d as default
|
|
93
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __extends as a } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import s, { DEFAULT_COMMON_ANIMATION_PROPS as p, DEFAULT_COMMON_STYLE as y } from "./Displayable.js";
|
|
3
|
+
import f from "../core/BoundingRect.js";
|
|
4
|
+
import { createObject as l, defaults as g } from "../core/util.js";
|
|
5
|
+
var _ = g({
|
|
6
|
+
x: 0,
|
|
7
|
+
y: 0
|
|
8
|
+
}, y), m = {
|
|
9
|
+
style: g({
|
|
10
|
+
x: !0,
|
|
11
|
+
y: !0,
|
|
12
|
+
width: !0,
|
|
13
|
+
height: !0,
|
|
14
|
+
sx: !0,
|
|
15
|
+
sy: !0,
|
|
16
|
+
sWidth: !0,
|
|
17
|
+
sHeight: !0
|
|
18
|
+
}, p.style)
|
|
19
|
+
};
|
|
20
|
+
function c(e) {
|
|
21
|
+
return !!(e && typeof e != "string" && e.width && e.height);
|
|
22
|
+
}
|
|
23
|
+
var A = (function(e) {
|
|
24
|
+
a(r, e);
|
|
25
|
+
function r() {
|
|
26
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
27
|
+
}
|
|
28
|
+
return r.prototype.createStyle = function(t) {
|
|
29
|
+
return l(_, t);
|
|
30
|
+
}, r.prototype._getSize = function(t) {
|
|
31
|
+
var i = this.style, o = i[t];
|
|
32
|
+
if (o != null)
|
|
33
|
+
return o;
|
|
34
|
+
var n = c(i.image) ? i.image : this.__image;
|
|
35
|
+
if (!n)
|
|
36
|
+
return 0;
|
|
37
|
+
var h = t === "width" ? "height" : "width", u = i[h];
|
|
38
|
+
return u == null ? n[t] : n[t] / n[h] * u;
|
|
39
|
+
}, r.prototype.getWidth = function() {
|
|
40
|
+
return this._getSize("width");
|
|
41
|
+
}, r.prototype.getHeight = function() {
|
|
42
|
+
return this._getSize("height");
|
|
43
|
+
}, r.prototype.getAnimationStyleProps = function() {
|
|
44
|
+
return m;
|
|
45
|
+
}, r.prototype.getBoundingRect = function() {
|
|
46
|
+
var t = this.style;
|
|
47
|
+
return this._rect || (this._rect = new f(t.x || 0, t.y || 0, this.getWidth(), this.getHeight())), this._rect;
|
|
48
|
+
}, r;
|
|
49
|
+
})(s);
|
|
50
|
+
A.prototype.type = "image";
|
|
51
|
+
export {
|
|
52
|
+
m as DEFAULT_IMAGE_ANIMATION_PROPS,
|
|
53
|
+
_ as DEFAULT_IMAGE_STYLE,
|
|
54
|
+
A as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { __extends as l } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import p from "./Displayable.js";
|
|
3
|
+
import y from "../core/BoundingRect.js";
|
|
4
|
+
var h = [], _ = (function(i) {
|
|
5
|
+
l(a, i);
|
|
6
|
+
function a() {
|
|
7
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
8
|
+
return t.notClear = !0, t.incremental = !0, t._displayables = [], t._temporaryDisplayables = [], t._cursor = 0, t;
|
|
9
|
+
}
|
|
10
|
+
return a.prototype.traverse = function(t, r) {
|
|
11
|
+
t.call(r, this);
|
|
12
|
+
}, a.prototype.useStyle = function() {
|
|
13
|
+
this.style = {};
|
|
14
|
+
}, a.prototype.getCursor = function() {
|
|
15
|
+
return this._cursor;
|
|
16
|
+
}, a.prototype.innerAfterBrush = function() {
|
|
17
|
+
this._cursor = this._displayables.length;
|
|
18
|
+
}, a.prototype.clearDisplaybles = function() {
|
|
19
|
+
this._displayables = [], this._temporaryDisplayables = [], this._cursor = 0, this.markRedraw(), this.notClear = !1;
|
|
20
|
+
}, a.prototype.clearTemporalDisplayables = function() {
|
|
21
|
+
this._temporaryDisplayables = [];
|
|
22
|
+
}, a.prototype.addDisplayable = function(t, r) {
|
|
23
|
+
r ? this._temporaryDisplayables.push(t) : this._displayables.push(t), this.markRedraw();
|
|
24
|
+
}, a.prototype.addDisplayables = function(t, r) {
|
|
25
|
+
r = r || !1;
|
|
26
|
+
for (var e = 0; e < t.length; e++)
|
|
27
|
+
this.addDisplayable(t[e], r);
|
|
28
|
+
}, a.prototype.getDisplayables = function() {
|
|
29
|
+
return this._displayables;
|
|
30
|
+
}, a.prototype.getTemporalDisplayables = function() {
|
|
31
|
+
return this._temporaryDisplayables;
|
|
32
|
+
}, a.prototype.eachPendingDisplayable = function(t) {
|
|
33
|
+
for (var r = this._cursor; r < this._displayables.length; r++)
|
|
34
|
+
t && t(this._displayables[r]);
|
|
35
|
+
for (var r = 0; r < this._temporaryDisplayables.length; r++)
|
|
36
|
+
t && t(this._temporaryDisplayables[r]);
|
|
37
|
+
}, a.prototype.update = function() {
|
|
38
|
+
this.updateTransform();
|
|
39
|
+
for (var t = this._cursor; t < this._displayables.length; t++) {
|
|
40
|
+
var r = this._displayables[t];
|
|
41
|
+
r.parent = this, r.update(), r.parent = null;
|
|
42
|
+
}
|
|
43
|
+
for (var t = 0; t < this._temporaryDisplayables.length; t++) {
|
|
44
|
+
var r = this._temporaryDisplayables[t];
|
|
45
|
+
r.parent = this, r.update(), r.parent = null;
|
|
46
|
+
}
|
|
47
|
+
}, a.prototype.getBoundingRect = function() {
|
|
48
|
+
if (!this._rect) {
|
|
49
|
+
for (var t = new y(1 / 0, 1 / 0, -1 / 0, -1 / 0), r = 0; r < this._displayables.length; r++) {
|
|
50
|
+
var e = this._displayables[r], s = e.getBoundingRect().clone();
|
|
51
|
+
e.needLocalTransform() && s.applyTransform(e.getLocalTransform(h)), t.union(s);
|
|
52
|
+
}
|
|
53
|
+
this._rect = t;
|
|
54
|
+
}
|
|
55
|
+
return this._rect;
|
|
56
|
+
}, a.prototype.contain = function(t, r) {
|
|
57
|
+
var e = this.transformCoordToLocal(t, r), s = this.getBoundingRect();
|
|
58
|
+
if (s.contain(e[0], e[1]))
|
|
59
|
+
for (var o = 0; o < this._displayables.length; o++) {
|
|
60
|
+
var n = this._displayables[o];
|
|
61
|
+
if (n.contain(t, r))
|
|
62
|
+
return !0;
|
|
63
|
+
}
|
|
64
|
+
return !1;
|
|
65
|
+
}, a;
|
|
66
|
+
})(p);
|
|
67
|
+
export {
|
|
68
|
+
_ as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __extends as f } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import d from "./Gradient.js";
|
|
3
|
+
var c = (function(r) {
|
|
4
|
+
f(t, r);
|
|
5
|
+
function t(l, a, e, i, o, u) {
|
|
6
|
+
var n = r.call(this, o) || this;
|
|
7
|
+
return n.x = l ?? 0, n.y = a ?? 0, n.x2 = e ?? 1, n.y2 = i ?? 0, n.type = "linear", n.global = u || !1, n;
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
})(d);
|
|
11
|
+
export {
|
|
12
|
+
c as default
|
|
13
|
+
};
|