web-core-tcm 0.0.59 → 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.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,342 @@
|
|
|
1
|
+
import H from "../core/LRU.js";
|
|
2
|
+
import { isString as T, isGradientObject as j, extend as B, map as G } from "../core/util.js";
|
|
3
|
+
var F = {
|
|
4
|
+
transparent: [0, 0, 0, 0],
|
|
5
|
+
aliceblue: [240, 248, 255, 1],
|
|
6
|
+
antiquewhite: [250, 235, 215, 1],
|
|
7
|
+
aqua: [0, 255, 255, 1],
|
|
8
|
+
aquamarine: [127, 255, 212, 1],
|
|
9
|
+
azure: [240, 255, 255, 1],
|
|
10
|
+
beige: [245, 245, 220, 1],
|
|
11
|
+
bisque: [255, 228, 196, 1],
|
|
12
|
+
black: [0, 0, 0, 1],
|
|
13
|
+
blanchedalmond: [255, 235, 205, 1],
|
|
14
|
+
blue: [0, 0, 255, 1],
|
|
15
|
+
blueviolet: [138, 43, 226, 1],
|
|
16
|
+
brown: [165, 42, 42, 1],
|
|
17
|
+
burlywood: [222, 184, 135, 1],
|
|
18
|
+
cadetblue: [95, 158, 160, 1],
|
|
19
|
+
chartreuse: [127, 255, 0, 1],
|
|
20
|
+
chocolate: [210, 105, 30, 1],
|
|
21
|
+
coral: [255, 127, 80, 1],
|
|
22
|
+
cornflowerblue: [100, 149, 237, 1],
|
|
23
|
+
cornsilk: [255, 248, 220, 1],
|
|
24
|
+
crimson: [220, 20, 60, 1],
|
|
25
|
+
cyan: [0, 255, 255, 1],
|
|
26
|
+
darkblue: [0, 0, 139, 1],
|
|
27
|
+
darkcyan: [0, 139, 139, 1],
|
|
28
|
+
darkgoldenrod: [184, 134, 11, 1],
|
|
29
|
+
darkgray: [169, 169, 169, 1],
|
|
30
|
+
darkgreen: [0, 100, 0, 1],
|
|
31
|
+
darkgrey: [169, 169, 169, 1],
|
|
32
|
+
darkkhaki: [189, 183, 107, 1],
|
|
33
|
+
darkmagenta: [139, 0, 139, 1],
|
|
34
|
+
darkolivegreen: [85, 107, 47, 1],
|
|
35
|
+
darkorange: [255, 140, 0, 1],
|
|
36
|
+
darkorchid: [153, 50, 204, 1],
|
|
37
|
+
darkred: [139, 0, 0, 1],
|
|
38
|
+
darksalmon: [233, 150, 122, 1],
|
|
39
|
+
darkseagreen: [143, 188, 143, 1],
|
|
40
|
+
darkslateblue: [72, 61, 139, 1],
|
|
41
|
+
darkslategray: [47, 79, 79, 1],
|
|
42
|
+
darkslategrey: [47, 79, 79, 1],
|
|
43
|
+
darkturquoise: [0, 206, 209, 1],
|
|
44
|
+
darkviolet: [148, 0, 211, 1],
|
|
45
|
+
deeppink: [255, 20, 147, 1],
|
|
46
|
+
deepskyblue: [0, 191, 255, 1],
|
|
47
|
+
dimgray: [105, 105, 105, 1],
|
|
48
|
+
dimgrey: [105, 105, 105, 1],
|
|
49
|
+
dodgerblue: [30, 144, 255, 1],
|
|
50
|
+
firebrick: [178, 34, 34, 1],
|
|
51
|
+
floralwhite: [255, 250, 240, 1],
|
|
52
|
+
forestgreen: [34, 139, 34, 1],
|
|
53
|
+
fuchsia: [255, 0, 255, 1],
|
|
54
|
+
gainsboro: [220, 220, 220, 1],
|
|
55
|
+
ghostwhite: [248, 248, 255, 1],
|
|
56
|
+
gold: [255, 215, 0, 1],
|
|
57
|
+
goldenrod: [218, 165, 32, 1],
|
|
58
|
+
gray: [128, 128, 128, 1],
|
|
59
|
+
green: [0, 128, 0, 1],
|
|
60
|
+
greenyellow: [173, 255, 47, 1],
|
|
61
|
+
grey: [128, 128, 128, 1],
|
|
62
|
+
honeydew: [240, 255, 240, 1],
|
|
63
|
+
hotpink: [255, 105, 180, 1],
|
|
64
|
+
indianred: [205, 92, 92, 1],
|
|
65
|
+
indigo: [75, 0, 130, 1],
|
|
66
|
+
ivory: [255, 255, 240, 1],
|
|
67
|
+
khaki: [240, 230, 140, 1],
|
|
68
|
+
lavender: [230, 230, 250, 1],
|
|
69
|
+
lavenderblush: [255, 240, 245, 1],
|
|
70
|
+
lawngreen: [124, 252, 0, 1],
|
|
71
|
+
lemonchiffon: [255, 250, 205, 1],
|
|
72
|
+
lightblue: [173, 216, 230, 1],
|
|
73
|
+
lightcoral: [240, 128, 128, 1],
|
|
74
|
+
lightcyan: [224, 255, 255, 1],
|
|
75
|
+
lightgoldenrodyellow: [250, 250, 210, 1],
|
|
76
|
+
lightgray: [211, 211, 211, 1],
|
|
77
|
+
lightgreen: [144, 238, 144, 1],
|
|
78
|
+
lightgrey: [211, 211, 211, 1],
|
|
79
|
+
lightpink: [255, 182, 193, 1],
|
|
80
|
+
lightsalmon: [255, 160, 122, 1],
|
|
81
|
+
lightseagreen: [32, 178, 170, 1],
|
|
82
|
+
lightskyblue: [135, 206, 250, 1],
|
|
83
|
+
lightslategray: [119, 136, 153, 1],
|
|
84
|
+
lightslategrey: [119, 136, 153, 1],
|
|
85
|
+
lightsteelblue: [176, 196, 222, 1],
|
|
86
|
+
lightyellow: [255, 255, 224, 1],
|
|
87
|
+
lime: [0, 255, 0, 1],
|
|
88
|
+
limegreen: [50, 205, 50, 1],
|
|
89
|
+
linen: [250, 240, 230, 1],
|
|
90
|
+
magenta: [255, 0, 255, 1],
|
|
91
|
+
maroon: [128, 0, 0, 1],
|
|
92
|
+
mediumaquamarine: [102, 205, 170, 1],
|
|
93
|
+
mediumblue: [0, 0, 205, 1],
|
|
94
|
+
mediumorchid: [186, 85, 211, 1],
|
|
95
|
+
mediumpurple: [147, 112, 219, 1],
|
|
96
|
+
mediumseagreen: [60, 179, 113, 1],
|
|
97
|
+
mediumslateblue: [123, 104, 238, 1],
|
|
98
|
+
mediumspringgreen: [0, 250, 154, 1],
|
|
99
|
+
mediumturquoise: [72, 209, 204, 1],
|
|
100
|
+
mediumvioletred: [199, 21, 133, 1],
|
|
101
|
+
midnightblue: [25, 25, 112, 1],
|
|
102
|
+
mintcream: [245, 255, 250, 1],
|
|
103
|
+
mistyrose: [255, 228, 225, 1],
|
|
104
|
+
moccasin: [255, 228, 181, 1],
|
|
105
|
+
navajowhite: [255, 222, 173, 1],
|
|
106
|
+
navy: [0, 0, 128, 1],
|
|
107
|
+
oldlace: [253, 245, 230, 1],
|
|
108
|
+
olive: [128, 128, 0, 1],
|
|
109
|
+
olivedrab: [107, 142, 35, 1],
|
|
110
|
+
orange: [255, 165, 0, 1],
|
|
111
|
+
orangered: [255, 69, 0, 1],
|
|
112
|
+
orchid: [218, 112, 214, 1],
|
|
113
|
+
palegoldenrod: [238, 232, 170, 1],
|
|
114
|
+
palegreen: [152, 251, 152, 1],
|
|
115
|
+
paleturquoise: [175, 238, 238, 1],
|
|
116
|
+
palevioletred: [219, 112, 147, 1],
|
|
117
|
+
papayawhip: [255, 239, 213, 1],
|
|
118
|
+
peachpuff: [255, 218, 185, 1],
|
|
119
|
+
peru: [205, 133, 63, 1],
|
|
120
|
+
pink: [255, 192, 203, 1],
|
|
121
|
+
plum: [221, 160, 221, 1],
|
|
122
|
+
powderblue: [176, 224, 230, 1],
|
|
123
|
+
purple: [128, 0, 128, 1],
|
|
124
|
+
red: [255, 0, 0, 1],
|
|
125
|
+
rosybrown: [188, 143, 143, 1],
|
|
126
|
+
royalblue: [65, 105, 225, 1],
|
|
127
|
+
saddlebrown: [139, 69, 19, 1],
|
|
128
|
+
salmon: [250, 128, 114, 1],
|
|
129
|
+
sandybrown: [244, 164, 96, 1],
|
|
130
|
+
seagreen: [46, 139, 87, 1],
|
|
131
|
+
seashell: [255, 245, 238, 1],
|
|
132
|
+
sienna: [160, 82, 45, 1],
|
|
133
|
+
silver: [192, 192, 192, 1],
|
|
134
|
+
skyblue: [135, 206, 235, 1],
|
|
135
|
+
slateblue: [106, 90, 205, 1],
|
|
136
|
+
slategray: [112, 128, 144, 1],
|
|
137
|
+
slategrey: [112, 128, 144, 1],
|
|
138
|
+
snow: [255, 250, 250, 1],
|
|
139
|
+
springgreen: [0, 255, 127, 1],
|
|
140
|
+
steelblue: [70, 130, 180, 1],
|
|
141
|
+
tan: [210, 180, 140, 1],
|
|
142
|
+
teal: [0, 128, 128, 1],
|
|
143
|
+
thistle: [216, 191, 216, 1],
|
|
144
|
+
tomato: [255, 99, 71, 1],
|
|
145
|
+
turquoise: [64, 224, 208, 1],
|
|
146
|
+
violet: [238, 130, 238, 1],
|
|
147
|
+
wheat: [245, 222, 179, 1],
|
|
148
|
+
white: [255, 255, 255, 1],
|
|
149
|
+
whitesmoke: [245, 245, 245, 1],
|
|
150
|
+
yellow: [255, 255, 0, 1],
|
|
151
|
+
yellowgreen: [154, 205, 50, 1]
|
|
152
|
+
};
|
|
153
|
+
function o(n) {
|
|
154
|
+
return n = Math.round(n), n < 0 ? 0 : n > 255 ? 255 : n;
|
|
155
|
+
}
|
|
156
|
+
function N(n) {
|
|
157
|
+
return n = Math.round(n), n < 0 ? 0 : n > 360 ? 360 : n;
|
|
158
|
+
}
|
|
159
|
+
function y(n) {
|
|
160
|
+
return n < 0 ? 0 : n > 1 ? 1 : n;
|
|
161
|
+
}
|
|
162
|
+
function w(n) {
|
|
163
|
+
var e = n;
|
|
164
|
+
return e.length && e.charAt(e.length - 1) === "%" ? o(parseFloat(e) / 100 * 255) : o(parseInt(e, 10));
|
|
165
|
+
}
|
|
166
|
+
function v(n) {
|
|
167
|
+
var e = n;
|
|
168
|
+
return e.length && e.charAt(e.length - 1) === "%" ? y(parseFloat(e) / 100) : y(parseFloat(e));
|
|
169
|
+
}
|
|
170
|
+
function x(n, e, t) {
|
|
171
|
+
return t < 0 ? t += 1 : t > 1 && (t -= 1), t * 6 < 1 ? n + (e - n) * t * 6 : t * 2 < 1 ? e : t * 3 < 2 ? n + (e - n) * (2 / 3 - t) * 6 : n;
|
|
172
|
+
}
|
|
173
|
+
function h(n, e, t) {
|
|
174
|
+
return n + (e - n) * t;
|
|
175
|
+
}
|
|
176
|
+
function d(n, e, t, r, i) {
|
|
177
|
+
return n[0] = e, n[1] = t, n[2] = r, n[3] = i, n;
|
|
178
|
+
}
|
|
179
|
+
function b(n, e) {
|
|
180
|
+
return n[0] = e[0], n[1] = e[1], n[2] = e[2], n[3] = e[3], n;
|
|
181
|
+
}
|
|
182
|
+
var O = new H(20), k = null;
|
|
183
|
+
function g(n, e) {
|
|
184
|
+
k && b(k, e), k = O.put(n, k || e.slice());
|
|
185
|
+
}
|
|
186
|
+
function c(n, e) {
|
|
187
|
+
if (n) {
|
|
188
|
+
e = e || [];
|
|
189
|
+
var t = O.get(n);
|
|
190
|
+
if (t)
|
|
191
|
+
return b(e, t);
|
|
192
|
+
n = n + "";
|
|
193
|
+
var r = n.replace(/ /g, "").toLowerCase();
|
|
194
|
+
if (r in F)
|
|
195
|
+
return b(e, F[r]), g(n, e), e;
|
|
196
|
+
var i = r.length;
|
|
197
|
+
if (r.charAt(0) === "#") {
|
|
198
|
+
if (i === 4 || i === 5) {
|
|
199
|
+
var l = parseInt(r.slice(1, 4), 16);
|
|
200
|
+
if (!(l >= 0 && l <= 4095)) {
|
|
201
|
+
d(e, 0, 0, 0, 1);
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
return d(e, (l & 3840) >> 4 | (l & 3840) >> 8, l & 240 | (l & 240) >> 4, l & 15 | (l & 15) << 4, i === 5 ? parseInt(r.slice(4), 16) / 15 : 1), g(n, e), e;
|
|
205
|
+
} else if (i === 7 || i === 9) {
|
|
206
|
+
var l = parseInt(r.slice(1, 7), 16);
|
|
207
|
+
if (!(l >= 0 && l <= 16777215)) {
|
|
208
|
+
d(e, 0, 0, 0, 1);
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
return d(e, (l & 16711680) >> 16, (l & 65280) >> 8, l & 255, i === 9 ? parseInt(r.slice(7), 16) / 255 : 1), g(n, e), e;
|
|
212
|
+
}
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
var a = r.indexOf("("), s = r.indexOf(")");
|
|
216
|
+
if (a !== -1 && s + 1 === i) {
|
|
217
|
+
var f = r.substr(0, a), u = r.substr(a + 1, s - (a + 1)).split(","), p = 1;
|
|
218
|
+
switch (f) {
|
|
219
|
+
case "rgba":
|
|
220
|
+
if (u.length !== 4)
|
|
221
|
+
return u.length === 3 ? d(e, +u[0], +u[1], +u[2], 1) : d(e, 0, 0, 0, 1);
|
|
222
|
+
p = v(u.pop());
|
|
223
|
+
case "rgb":
|
|
224
|
+
if (u.length >= 3)
|
|
225
|
+
return d(e, w(u[0]), w(u[1]), w(u[2]), u.length === 3 ? p : v(u[3])), g(n, e), e;
|
|
226
|
+
d(e, 0, 0, 0, 1);
|
|
227
|
+
return;
|
|
228
|
+
case "hsla":
|
|
229
|
+
if (u.length !== 4) {
|
|
230
|
+
d(e, 0, 0, 0, 1);
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
return u[3] = v(u[3]), I(u, e), g(n, e), e;
|
|
234
|
+
case "hsl":
|
|
235
|
+
if (u.length !== 3) {
|
|
236
|
+
d(e, 0, 0, 0, 1);
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
return I(u, e), g(n, e), e;
|
|
240
|
+
default:
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
d(e, 0, 0, 0, 1);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function I(n, e) {
|
|
248
|
+
var t = (parseFloat(n[0]) % 360 + 360) % 360 / 360, r = v(n[1]), i = v(n[2]), l = i <= 0.5 ? i * (r + 1) : i + r - i * r, a = i * 2 - l;
|
|
249
|
+
return e = e || [], d(e, o(x(a, l, t + 1 / 3) * 255), o(x(a, l, t) * 255), o(x(a, l, t - 1 / 3) * 255), 1), n.length === 4 && (e[3] = n[3]), e;
|
|
250
|
+
}
|
|
251
|
+
function U(n) {
|
|
252
|
+
if (n) {
|
|
253
|
+
var e = n[0] / 255, t = n[1] / 255, r = n[2] / 255, i = Math.min(e, t, r), l = Math.max(e, t, r), a = l - i, s = (l + i) / 2, f, u;
|
|
254
|
+
if (a === 0)
|
|
255
|
+
f = 0, u = 0;
|
|
256
|
+
else {
|
|
257
|
+
s < 0.5 ? u = a / (l + i) : u = a / (2 - l - i);
|
|
258
|
+
var p = ((l - e) / 6 + a / 2) / a, M = ((l - t) / 6 + a / 2) / a, q = ((l - r) / 6 + a / 2) / a;
|
|
259
|
+
e === l ? f = q - M : t === l ? f = 1 / 3 + p - q : r === l && (f = 2 / 3 + M - p), f < 0 && (f += 1), f > 1 && (f -= 1);
|
|
260
|
+
}
|
|
261
|
+
var C = [f * 360, u, s];
|
|
262
|
+
return n[3] != null && C.push(n[3]), C;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
function L(n, e) {
|
|
266
|
+
var t = c(n);
|
|
267
|
+
if (t) {
|
|
268
|
+
for (var r = 0; r < 3; r++)
|
|
269
|
+
e < 0 ? t[r] = t[r] * (1 - e) | 0 : t[r] = (255 - t[r]) * e + t[r] | 0, t[r] > 255 ? t[r] = 255 : t[r] < 0 && (t[r] = 0);
|
|
270
|
+
return m(t, t.length === 4 ? "rgba" : "rgb");
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
function J(n, e, t) {
|
|
274
|
+
if (!(!(e && e.length) || !(n >= 0 && n <= 1))) {
|
|
275
|
+
t = t || [];
|
|
276
|
+
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a = e[i], s = e[l], f = r - i;
|
|
277
|
+
return t[0] = o(h(a[0], s[0], f)), t[1] = o(h(a[1], s[1], f)), t[2] = o(h(a[2], s[2], f)), t[3] = y(h(a[3], s[3], f)), t;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
function K(n, e, t) {
|
|
281
|
+
if (!(!(e && e.length) || !(n >= 0 && n <= 1))) {
|
|
282
|
+
var r = n * (e.length - 1), i = Math.floor(r), l = Math.ceil(r), a = c(e[i]), s = c(e[l]), f = r - i, u = m([
|
|
283
|
+
o(h(a[0], s[0], f)),
|
|
284
|
+
o(h(a[1], s[1], f)),
|
|
285
|
+
o(h(a[2], s[2], f)),
|
|
286
|
+
y(h(a[3], s[3], f))
|
|
287
|
+
], "rgba");
|
|
288
|
+
return t ? {
|
|
289
|
+
color: u,
|
|
290
|
+
leftIndex: i,
|
|
291
|
+
rightIndex: l,
|
|
292
|
+
value: r
|
|
293
|
+
} : u;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
function P(n, e, t, r) {
|
|
297
|
+
var i = c(n);
|
|
298
|
+
if (n)
|
|
299
|
+
return i = U(i), e != null && (i[0] = N(e)), t != null && (i[1] = v(t)), r != null && (i[2] = v(r)), m(I(i), "rgba");
|
|
300
|
+
}
|
|
301
|
+
function Q(n, e) {
|
|
302
|
+
var t = c(n);
|
|
303
|
+
if (t && e != null)
|
|
304
|
+
return t[3] = y(e), m(t, "rgba");
|
|
305
|
+
}
|
|
306
|
+
function m(n, e) {
|
|
307
|
+
if (!(!n || !n.length)) {
|
|
308
|
+
var t = n[0] + "," + n[1] + "," + n[2];
|
|
309
|
+
return (e === "rgba" || e === "hsva" || e === "hsla") && (t += "," + n[3]), e + "(" + t + ")";
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
function W(n, e) {
|
|
313
|
+
var t = c(n);
|
|
314
|
+
return t ? (0.299 * t[0] + 0.587 * t[1] + 0.114 * t[2]) * t[3] / 255 + (1 - t[3]) * e : 0;
|
|
315
|
+
}
|
|
316
|
+
var R = new H(100);
|
|
317
|
+
function X(n) {
|
|
318
|
+
if (T(n)) {
|
|
319
|
+
var e = R.get(n);
|
|
320
|
+
return e || (e = L(n, -0.1), R.put(n, e)), e;
|
|
321
|
+
} else if (j(n)) {
|
|
322
|
+
var t = B({}, n);
|
|
323
|
+
return t.colorStops = G(n.colorStops, function(r) {
|
|
324
|
+
return {
|
|
325
|
+
offset: r.offset,
|
|
326
|
+
color: L(r.color, -0.1)
|
|
327
|
+
};
|
|
328
|
+
}), t;
|
|
329
|
+
}
|
|
330
|
+
return n;
|
|
331
|
+
}
|
|
332
|
+
export {
|
|
333
|
+
J as fastLerp,
|
|
334
|
+
K as lerp,
|
|
335
|
+
L as lift,
|
|
336
|
+
X as liftColor,
|
|
337
|
+
W as lum,
|
|
338
|
+
Q as modifyAlpha,
|
|
339
|
+
P as modifyHSL,
|
|
340
|
+
c as parse,
|
|
341
|
+
m as stringify
|
|
342
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { cubicSubdivide as z } from "../core/curve.js";
|
|
2
|
+
import y from "../core/PathProxy.js";
|
|
3
|
+
var C = y.CMD;
|
|
4
|
+
function R(d, a) {
|
|
5
|
+
return Math.abs(d - a) < 1e-5;
|
|
6
|
+
}
|
|
7
|
+
function l(d) {
|
|
8
|
+
var a = d.data, m = d.len(), b = [], o, v = 0, h = 0, u = 0, t = 0;
|
|
9
|
+
function M(q, P) {
|
|
10
|
+
o && o.length > 2 && b.push(o), o = [q, P];
|
|
11
|
+
}
|
|
12
|
+
function c(q, P, B, G) {
|
|
13
|
+
R(q, B) && R(P, G) || o.push(q, P, B, G, B, G);
|
|
14
|
+
}
|
|
15
|
+
function E(q, P, B, G, Y, Z) {
|
|
16
|
+
var i = Math.abs(P - q), H = Math.tan(i / 4) * 4 / 3, J = P < q ? -1 : 1, K = Math.cos(q), O = Math.sin(q), U = Math.cos(P), V = Math.sin(P), g = K * Y + B, x = O * Z + G, W = U * Y + B, $ = V * Z + G, k = Y * H * J, F = Z * H * J;
|
|
17
|
+
o.push(g - k * O, x + F * K, W + k * V, $ - F * U, W, $);
|
|
18
|
+
}
|
|
19
|
+
for (var p, f, L, n, r = 0; r < m; ) {
|
|
20
|
+
var I = a[r++], N = r === 1;
|
|
21
|
+
switch (N && (v = a[r], h = a[r + 1], u = v, t = h, (I === C.L || I === C.C || I === C.Q) && (o = [u, t])), I) {
|
|
22
|
+
case C.M:
|
|
23
|
+
v = u = a[r++], h = t = a[r++], M(u, t);
|
|
24
|
+
break;
|
|
25
|
+
case C.L:
|
|
26
|
+
p = a[r++], f = a[r++], c(v, h, p, f), v = p, h = f;
|
|
27
|
+
break;
|
|
28
|
+
case C.C:
|
|
29
|
+
o.push(a[r++], a[r++], a[r++], a[r++], v = a[r++], h = a[r++]);
|
|
30
|
+
break;
|
|
31
|
+
case C.Q:
|
|
32
|
+
p = a[r++], f = a[r++], L = a[r++], n = a[r++], o.push(v + 2 / 3 * (p - v), h + 2 / 3 * (f - h), L + 2 / 3 * (p - L), n + 2 / 3 * (f - n), L, n), v = L, h = n;
|
|
33
|
+
break;
|
|
34
|
+
case C.A:
|
|
35
|
+
var Q = a[r++], X = a[r++], T = a[r++], e = a[r++], _ = a[r++], D = a[r++] + _;
|
|
36
|
+
r += 1;
|
|
37
|
+
var s = !a[r++];
|
|
38
|
+
p = Math.cos(_) * T + Q, f = Math.sin(_) * e + X, N ? (u = p, t = f, M(u, t)) : c(v, h, p, f), v = Math.cos(D) * T + Q, h = Math.sin(D) * e + X;
|
|
39
|
+
for (var S = (s ? -1 : 1) * Math.PI / 2, j = _; s ? j > D : j < D; j += S) {
|
|
40
|
+
var A = s ? Math.max(j + S, D) : Math.min(j + S, D);
|
|
41
|
+
E(j, A, Q, X, T, e);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
case C.R:
|
|
45
|
+
u = v = a[r++], t = h = a[r++], p = u + a[r++], f = t + a[r++], M(p, t), c(p, t, p, f), c(p, f, u, f), c(u, f, u, t), c(u, t, p, t);
|
|
46
|
+
break;
|
|
47
|
+
case C.Z:
|
|
48
|
+
o && c(v, h, u, t), v = u, h = t;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return o && o.length > 2 && b.push(o), b;
|
|
53
|
+
}
|
|
54
|
+
function w(d, a, m, b, o, v, h, u, t, M) {
|
|
55
|
+
if (R(d, m) && R(a, b) && R(o, h) && R(v, u)) {
|
|
56
|
+
t.push(h, u);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
var c = 2 / M, E = c * c, p = h - d, f = u - a, L = Math.sqrt(p * p + f * f);
|
|
60
|
+
p /= L, f /= L;
|
|
61
|
+
var n = m - d, r = b - a, I = o - h, N = v - u, Q = n * n + r * r, X = I * I + N * N;
|
|
62
|
+
if (Q < E && X < E) {
|
|
63
|
+
t.push(h, u);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
var T = p * n + f * r, e = -p * I - f * N, _ = Q - T * T, D = X - e * e;
|
|
67
|
+
if (_ < E && T >= 0 && D < E && e >= 0) {
|
|
68
|
+
t.push(h, u);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
var s = [], S = [];
|
|
72
|
+
z(d, m, o, h, 0.5, s), z(a, b, v, u, 0.5, S), w(s[0], S[0], s[1], S[1], s[2], S[2], s[3], S[3], t, M), w(s[4], S[4], s[5], S[5], s[6], S[6], s[7], S[7], t, M);
|
|
73
|
+
}
|
|
74
|
+
function va(d, a) {
|
|
75
|
+
var m = l(d), b = [];
|
|
76
|
+
a = a || 1;
|
|
77
|
+
for (var o = 0; o < m.length; o++) {
|
|
78
|
+
var v = m[o], h = [], u = v[0], t = v[1];
|
|
79
|
+
h.push(u, t);
|
|
80
|
+
for (var M = 2; M < v.length; ) {
|
|
81
|
+
var c = v[M++], E = v[M++], p = v[M++], f = v[M++], L = v[M++], n = v[M++];
|
|
82
|
+
w(u, t, c, E, p, f, L, n, h, a), u = L, t = n;
|
|
83
|
+
}
|
|
84
|
+
b.push(h);
|
|
85
|
+
}
|
|
86
|
+
return b;
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
l as pathToBezierCurves,
|
|
90
|
+
va as pathToPolygons
|
|
91
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { fromPoints as L } from "../core/bbox.js";
|
|
2
|
+
import q from "../core/BoundingRect.js";
|
|
3
|
+
import P from "../core/Point.js";
|
|
4
|
+
import { map as R } from "../core/util.js";
|
|
5
|
+
import I from "../graphic/shape/Polygon.js";
|
|
6
|
+
import O from "../graphic/shape/Rect.js";
|
|
7
|
+
import k from "../graphic/shape/Sector.js";
|
|
8
|
+
import { pathToPolygons as B } from "./convertPath.js";
|
|
9
|
+
import { clonePath as C } from "./path.js";
|
|
10
|
+
function T(r, t, v) {
|
|
11
|
+
var n = r[t], e = r[1 - t], a = Math.abs(n / e), d = Math.ceil(Math.sqrt(a * v)), l = Math.floor(v / d);
|
|
12
|
+
l === 0 && (l = 1, d = v);
|
|
13
|
+
for (var s = [], i = 0; i < d; i++)
|
|
14
|
+
s.push(l);
|
|
15
|
+
var f = d * l, h = v - f;
|
|
16
|
+
if (h > 0)
|
|
17
|
+
for (var i = 0; i < h; i++)
|
|
18
|
+
s[i % d] += 1;
|
|
19
|
+
return s;
|
|
20
|
+
}
|
|
21
|
+
function p(r, t, v) {
|
|
22
|
+
for (var n = r.r0, e = r.r, a = r.startAngle, d = r.endAngle, l = Math.abs(d - a), s = l * e, i = e - n, f = s > Math.abs(i), h = T([s, i], f ? 0 : 1, t), g = (f ? l : i) / h.length, u = 0; u < h.length; u++)
|
|
23
|
+
for (var x = (f ? i : l) / h[u], o = 0; o < h[u]; o++) {
|
|
24
|
+
var y = {};
|
|
25
|
+
f ? (y.startAngle = a + g * u, y.endAngle = a + g * (u + 1), y.r0 = n + x * o, y.r = n + x * (o + 1)) : (y.startAngle = a + x * o, y.endAngle = a + x * (o + 1), y.r0 = n + g * u, y.r = n + g * (u + 1)), y.clockwise = r.clockwise, y.cx = r.cx, y.cy = r.cy, v.push(y);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function G(r, t, v) {
|
|
29
|
+
for (var n = r.width, e = r.height, a = n > e, d = T([n, e], a ? 0 : 1, t), l = a ? "width" : "height", s = a ? "height" : "width", i = a ? "x" : "y", f = a ? "y" : "x", h = r[l] / d.length, g = 0; g < d.length; g++)
|
|
30
|
+
for (var u = r[s] / d[g], x = 0; x < d[g]; x++) {
|
|
31
|
+
var o = {};
|
|
32
|
+
o[i] = g * h, o[f] = x * u, o[l] = h, o[s] = u, o.x += r.x, o.y += r.y, v.push(o);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function D(r, t, v, n) {
|
|
36
|
+
return r * n - v * t;
|
|
37
|
+
}
|
|
38
|
+
function H(r, t, v, n, e, a, d, l) {
|
|
39
|
+
var s = v - r, i = n - t, f = d - e, h = l - a, g = D(f, h, s, i);
|
|
40
|
+
if (Math.abs(g) < 1e-6)
|
|
41
|
+
return null;
|
|
42
|
+
var u = r - e, x = t - a, o = D(u, x, f, h) / g;
|
|
43
|
+
return o < 0 || o > 1 ? null : new P(o * s + r, o * i + t);
|
|
44
|
+
}
|
|
45
|
+
function U(r, t, v) {
|
|
46
|
+
var n = new P();
|
|
47
|
+
P.sub(n, v, t), n.normalize();
|
|
48
|
+
var e = new P();
|
|
49
|
+
P.sub(e, r, t);
|
|
50
|
+
var a = e.dot(n);
|
|
51
|
+
return a;
|
|
52
|
+
}
|
|
53
|
+
function m(r, t) {
|
|
54
|
+
var v = r[r.length - 1];
|
|
55
|
+
v && v[0] === t[0] && v[1] === t[1] || r.push(t);
|
|
56
|
+
}
|
|
57
|
+
function E(r, t, v) {
|
|
58
|
+
for (var n = r.length, e = [], a = 0; a < n; a++) {
|
|
59
|
+
var d = r[a], l = r[(a + 1) % n], s = H(d[0], d[1], l[0], l[1], t.x, t.y, v.x, v.y);
|
|
60
|
+
s && e.push({
|
|
61
|
+
projPt: U(s, t, v),
|
|
62
|
+
pt: s,
|
|
63
|
+
idx: a
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
if (e.length < 2)
|
|
67
|
+
return [{ points: r }, { points: r }];
|
|
68
|
+
e.sort(function(y, c) {
|
|
69
|
+
return y.projPt - c.projPt;
|
|
70
|
+
});
|
|
71
|
+
var i = e[0], f = e[e.length - 1];
|
|
72
|
+
if (f.idx < i.idx) {
|
|
73
|
+
var h = i;
|
|
74
|
+
i = f, f = h;
|
|
75
|
+
}
|
|
76
|
+
for (var g = [i.pt.x, i.pt.y], u = [f.pt.x, f.pt.y], x = [g], o = [u], a = i.idx + 1; a <= f.idx; a++)
|
|
77
|
+
m(x, r[a].slice());
|
|
78
|
+
m(x, u), m(x, g);
|
|
79
|
+
for (var a = f.idx + 1; a <= i.idx + n; a++)
|
|
80
|
+
m(o, r[a % n].slice());
|
|
81
|
+
return m(o, g), m(o, u), [{
|
|
82
|
+
points: x
|
|
83
|
+
}, {
|
|
84
|
+
points: o
|
|
85
|
+
}];
|
|
86
|
+
}
|
|
87
|
+
function j(r) {
|
|
88
|
+
var t = r.points, v = [], n = [];
|
|
89
|
+
L(t, v, n);
|
|
90
|
+
var e = new q(v[0], v[1], n[0] - v[0], n[1] - v[1]), a = e.width, d = e.height, l = e.x, s = e.y, i = new P(), f = new P();
|
|
91
|
+
return a > d ? (i.x = f.x = l + a / 2, i.y = s, f.y = s + d) : (i.y = f.y = s + d / 2, i.x = l, f.x = l + a), E(t, i, f);
|
|
92
|
+
}
|
|
93
|
+
function b(r, t, v, n) {
|
|
94
|
+
if (v === 1)
|
|
95
|
+
n.push(t);
|
|
96
|
+
else {
|
|
97
|
+
var e = Math.floor(v / 2), a = r(t);
|
|
98
|
+
b(r, a[0], e, n), b(r, a[1], v - e, n);
|
|
99
|
+
}
|
|
100
|
+
return n;
|
|
101
|
+
}
|
|
102
|
+
function F(r, t) {
|
|
103
|
+
for (var v = [], n = 0; n < t; n++)
|
|
104
|
+
v.push(C(r));
|
|
105
|
+
return v;
|
|
106
|
+
}
|
|
107
|
+
function J(r, t) {
|
|
108
|
+
t.setStyle(r.style), t.z = r.z, t.z2 = r.z2, t.zlevel = r.zlevel;
|
|
109
|
+
}
|
|
110
|
+
function K(r) {
|
|
111
|
+
for (var t = [], v = 0; v < r.length; )
|
|
112
|
+
t.push([r[v++], r[v++]]);
|
|
113
|
+
return t;
|
|
114
|
+
}
|
|
115
|
+
function w(r, t) {
|
|
116
|
+
var v = [], n = r.shape, e;
|
|
117
|
+
switch (r.type) {
|
|
118
|
+
case "rect":
|
|
119
|
+
G(n, t, v), e = O;
|
|
120
|
+
break;
|
|
121
|
+
case "sector":
|
|
122
|
+
p(n, t, v), e = k;
|
|
123
|
+
break;
|
|
124
|
+
case "circle":
|
|
125
|
+
p({
|
|
126
|
+
r0: 0,
|
|
127
|
+
r: n.r,
|
|
128
|
+
startAngle: 0,
|
|
129
|
+
endAngle: Math.PI * 2,
|
|
130
|
+
cx: n.cx,
|
|
131
|
+
cy: n.cy
|
|
132
|
+
}, t, v), e = k;
|
|
133
|
+
break;
|
|
134
|
+
default:
|
|
135
|
+
var a = r.getComputedTransform(), d = a ? Math.sqrt(Math.max(a[0] * a[0] + a[1] * a[1], a[2] * a[2] + a[3] * a[3])) : 1, l = R(B(r.getUpdatedPathProxy(), d), function(c) {
|
|
136
|
+
return K(c);
|
|
137
|
+
}), s = l.length;
|
|
138
|
+
if (s === 0)
|
|
139
|
+
b(j, {
|
|
140
|
+
points: l[0]
|
|
141
|
+
}, t, v);
|
|
142
|
+
else if (s === t)
|
|
143
|
+
for (var i = 0; i < s; i++)
|
|
144
|
+
v.push({
|
|
145
|
+
points: l[i]
|
|
146
|
+
});
|
|
147
|
+
else {
|
|
148
|
+
var f = 0, h = R(l, function(c) {
|
|
149
|
+
var M = [], A = [];
|
|
150
|
+
L(c, M, A);
|
|
151
|
+
var z = (A[1] - M[1]) * (A[0] - M[0]);
|
|
152
|
+
return f += z, { poly: c, area: z };
|
|
153
|
+
});
|
|
154
|
+
h.sort(function(c, M) {
|
|
155
|
+
return M.area - c.area;
|
|
156
|
+
});
|
|
157
|
+
for (var g = t, i = 0; i < s; i++) {
|
|
158
|
+
var u = h[i];
|
|
159
|
+
if (g <= 0)
|
|
160
|
+
break;
|
|
161
|
+
var x = i === s - 1 ? g : Math.ceil(u.area / f * t);
|
|
162
|
+
x < 0 || (b(j, {
|
|
163
|
+
points: u.poly
|
|
164
|
+
}, x, v), g -= x);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
e = I;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (!e)
|
|
171
|
+
return F(r, t);
|
|
172
|
+
for (var o = [], i = 0; i < v.length; i++) {
|
|
173
|
+
var y = new e();
|
|
174
|
+
y.setShape(v[i]), J(r, y), o.push(y);
|
|
175
|
+
}
|
|
176
|
+
return o;
|
|
177
|
+
}
|
|
178
|
+
export {
|
|
179
|
+
F as clone,
|
|
180
|
+
w as split
|
|
181
|
+
};
|