web-core-tcm 0.0.54 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.d.ts +2 -2
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.d.ts +19 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -0
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +5 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/{pages/LoginPage.vue.d.ts → components/tcm/lisems/EcgAndPcgCollect.vue.d.ts} +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -0
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.d.ts +5 -5
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.d.ts +1 -1
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +10 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/components/models.d.ts +0 -7
- package/dist/src/proto/index.js +0 -10
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var h = /* @__PURE__ */ (function() {
|
|
2
|
+
function e(t) {
|
|
3
|
+
this.value = t;
|
|
4
|
+
}
|
|
5
|
+
return e;
|
|
6
|
+
})(), u = (function() {
|
|
7
|
+
function e() {
|
|
8
|
+
this._len = 0;
|
|
9
|
+
}
|
|
10
|
+
return e.prototype.insert = function(t) {
|
|
11
|
+
var i = new h(t);
|
|
12
|
+
return this.insertEntry(i), i;
|
|
13
|
+
}, e.prototype.insertEntry = function(t) {
|
|
14
|
+
this.head ? (this.tail.next = t, t.prev = this.tail, t.next = null, this.tail = t) : this.head = this.tail = t, this._len++;
|
|
15
|
+
}, e.prototype.remove = function(t) {
|
|
16
|
+
var i = t.prev, n = t.next;
|
|
17
|
+
i ? i.next = n : this.head = n, n ? n.prev = i : this.tail = i, t.next = t.prev = null, this._len--;
|
|
18
|
+
}, e.prototype.len = function() {
|
|
19
|
+
return this._len;
|
|
20
|
+
}, e.prototype.clear = function() {
|
|
21
|
+
this.head = this.tail = null, this._len = 0;
|
|
22
|
+
}, e;
|
|
23
|
+
})(), p = (function() {
|
|
24
|
+
function e(t) {
|
|
25
|
+
this._list = new u(), this._maxSize = 10, this._map = {}, this._maxSize = t;
|
|
26
|
+
}
|
|
27
|
+
return e.prototype.put = function(t, i) {
|
|
28
|
+
var n = this._list, l = this._map, a = null;
|
|
29
|
+
if (l[t] == null) {
|
|
30
|
+
var o = n.len(), r = this._lastRemovedEntry;
|
|
31
|
+
if (o >= this._maxSize && o > 0) {
|
|
32
|
+
var s = n.head;
|
|
33
|
+
n.remove(s), delete l[s.key], a = s.value, this._lastRemovedEntry = s;
|
|
34
|
+
}
|
|
35
|
+
r ? r.value = i : r = new h(i), r.key = t, n.insertEntry(r), l[t] = r;
|
|
36
|
+
}
|
|
37
|
+
return a;
|
|
38
|
+
}, e.prototype.get = function(t) {
|
|
39
|
+
var i = this._map[t], n = this._list;
|
|
40
|
+
if (i != null)
|
|
41
|
+
return i !== n.tail && (n.remove(i), n.insertEntry(i)), i.value;
|
|
42
|
+
}, e.prototype.clear = function() {
|
|
43
|
+
this._list.clear(), this._map = {};
|
|
44
|
+
}, e.prototype.len = function() {
|
|
45
|
+
return this._list.len();
|
|
46
|
+
}, e;
|
|
47
|
+
})();
|
|
48
|
+
export {
|
|
49
|
+
h as Entry,
|
|
50
|
+
u as LinkedList,
|
|
51
|
+
p as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import o from "./Point.js";
|
|
2
|
+
var u = [0, 0], l = [0, 0], x = new o(), p = new o(), g = (function() {
|
|
3
|
+
function _(n, a) {
|
|
4
|
+
this._corners = [], this._axes = [], this._origin = [0, 0];
|
|
5
|
+
for (var t = 0; t < 4; t++)
|
|
6
|
+
this._corners[t] = new o();
|
|
7
|
+
for (var t = 0; t < 2; t++)
|
|
8
|
+
this._axes[t] = new o();
|
|
9
|
+
n && this.fromBoundingRect(n, a);
|
|
10
|
+
}
|
|
11
|
+
return _.prototype.fromBoundingRect = function(n, a) {
|
|
12
|
+
var t = this._corners, e = this._axes, v = n.x, s = n.y, f = v + n.width, i = s + n.height;
|
|
13
|
+
if (t[0].set(v, s), t[1].set(f, s), t[2].set(f, i), t[3].set(v, i), a)
|
|
14
|
+
for (var r = 0; r < 4; r++)
|
|
15
|
+
t[r].transform(a);
|
|
16
|
+
o.sub(e[0], t[1], t[0]), o.sub(e[1], t[3], t[0]), e[0].normalize(), e[1].normalize();
|
|
17
|
+
for (var r = 0; r < 2; r++)
|
|
18
|
+
this._origin[r] = e[r].dot(t[0]);
|
|
19
|
+
}, _.prototype.intersect = function(n, a) {
|
|
20
|
+
var t = !0, e = !a;
|
|
21
|
+
return x.set(1 / 0, 1 / 0), p.set(0, 0), !this._intersectCheckOneSide(this, n, x, p, e, 1) && (t = !1, e) || !this._intersectCheckOneSide(n, this, x, p, e, -1) && (t = !1, e) || e || o.copy(a, t ? x : p), t;
|
|
22
|
+
}, _.prototype._intersectCheckOneSide = function(n, a, t, e, v, s) {
|
|
23
|
+
for (var f = !0, i = 0; i < 2; i++) {
|
|
24
|
+
var r = this._axes[i];
|
|
25
|
+
if (this._getProjMinMaxOnAxis(i, n._corners, u), this._getProjMinMaxOnAxis(i, a._corners, l), u[1] < l[0] || u[0] > l[1]) {
|
|
26
|
+
if (f = !1, v)
|
|
27
|
+
return f;
|
|
28
|
+
var h = Math.abs(l[0] - u[1]), c = Math.abs(u[0] - l[1]);
|
|
29
|
+
Math.min(h, c) > e.len() && (h < c ? o.scale(e, r, -h * s) : o.scale(e, r, c * s));
|
|
30
|
+
} else if (t) {
|
|
31
|
+
var h = Math.abs(l[0] - u[1]), c = Math.abs(u[0] - l[1]);
|
|
32
|
+
Math.min(h, c) < t.len() && (h < c ? o.scale(t, r, h * s) : o.scale(t, r, -c * s));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return f;
|
|
36
|
+
}, _.prototype._getProjMinMaxOnAxis = function(n, a, t) {
|
|
37
|
+
for (var e = this._axes[n], v = this._origin, s = a[0].dot(e) + v[n], f = s, i = s, r = 1; r < a.length; r++) {
|
|
38
|
+
var h = a[r].dot(e) + v[n];
|
|
39
|
+
f = Math.min(h, f), i = Math.max(h, i);
|
|
40
|
+
}
|
|
41
|
+
t[0] = f, t[1] = i;
|
|
42
|
+
}, _;
|
|
43
|
+
})();
|
|
44
|
+
export {
|
|
45
|
+
g as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { min as bt, max as mt } from "./vector.js";
|
|
2
|
+
import yt from "./BoundingRect.js";
|
|
3
|
+
import { devicePixelRatio as ut } from "../config.js";
|
|
4
|
+
import { fromLine as pt, fromArc as Lt, fromQuadratic as Dt, fromCubic as Tt } from "./bbox.js";
|
|
5
|
+
import { quadraticSubdivide as _t, cubicSubdivide as ct, quadraticLength as Ct, cubicLength as Mt } from "./curve.js";
|
|
6
|
+
var h = {
|
|
7
|
+
M: 1,
|
|
8
|
+
L: 2,
|
|
9
|
+
C: 3,
|
|
10
|
+
Q: 4,
|
|
11
|
+
A: 5,
|
|
12
|
+
Z: 6,
|
|
13
|
+
R: 7
|
|
14
|
+
}, X = [], Z = [], M = [], q = [], g = [], k = [], it = Math.min, et = Math.max, V = Math.cos, Y = Math.sin, S = Math.abs, vt = Math.PI, w = vt * 2, st = typeof Float32Array < "u", K = [];
|
|
15
|
+
function nt(v) {
|
|
16
|
+
var t = Math.round(v / vt * 1e8) / 1e8;
|
|
17
|
+
return t % 2 * vt;
|
|
18
|
+
}
|
|
19
|
+
function gt(v, t) {
|
|
20
|
+
var r = nt(v[0]);
|
|
21
|
+
r < 0 && (r += w);
|
|
22
|
+
var a = r - v[0], e = v[1];
|
|
23
|
+
e += a, !t && e - r >= w ? e = r + w : t && r - e >= w ? e = r - w : !t && r > e ? e = r + (w - nt(r - e)) : t && r < e && (e = r - (w - nt(e - r))), v[0] = r, v[1] = e;
|
|
24
|
+
}
|
|
25
|
+
var wt = (function() {
|
|
26
|
+
function v(t) {
|
|
27
|
+
this.dpr = 1, this._xi = 0, this._yi = 0, this._x0 = 0, this._y0 = 0, this._len = 0, t && (this._saveData = !1), this._saveData && (this.data = []);
|
|
28
|
+
}
|
|
29
|
+
return v.prototype.increaseVersion = function() {
|
|
30
|
+
this._version++;
|
|
31
|
+
}, v.prototype.getVersion = function() {
|
|
32
|
+
return this._version;
|
|
33
|
+
}, v.prototype.setScale = function(t, r, a) {
|
|
34
|
+
a = a || 0, a > 0 && (this._ux = S(a / ut / t) || 0, this._uy = S(a / ut / r) || 0);
|
|
35
|
+
}, v.prototype.setDPR = function(t) {
|
|
36
|
+
this.dpr = t;
|
|
37
|
+
}, v.prototype.setContext = function(t) {
|
|
38
|
+
this._ctx = t;
|
|
39
|
+
}, v.prototype.getContext = function() {
|
|
40
|
+
return this._ctx;
|
|
41
|
+
}, v.prototype.beginPath = function() {
|
|
42
|
+
return this._ctx && this._ctx.beginPath(), this.reset(), this;
|
|
43
|
+
}, v.prototype.reset = function() {
|
|
44
|
+
this._saveData && (this._len = 0), this._pathSegLen && (this._pathSegLen = null, this._pathLen = 0), this._version++;
|
|
45
|
+
}, v.prototype.moveTo = function(t, r) {
|
|
46
|
+
return this._drawPendingPt(), this.addData(h.M, t, r), this._ctx && this._ctx.moveTo(t, r), this._x0 = t, this._y0 = r, this._xi = t, this._yi = r, this;
|
|
47
|
+
}, v.prototype.lineTo = function(t, r) {
|
|
48
|
+
var a = S(t - this._xi), e = S(r - this._yi), s = a > this._ux || e > this._uy;
|
|
49
|
+
if (this.addData(h.L, t, r), this._ctx && s && this._ctx.lineTo(t, r), s)
|
|
50
|
+
this._xi = t, this._yi = r, this._pendingPtDist = 0;
|
|
51
|
+
else {
|
|
52
|
+
var i = a * a + e * e;
|
|
53
|
+
i > this._pendingPtDist && (this._pendingPtX = t, this._pendingPtY = r, this._pendingPtDist = i);
|
|
54
|
+
}
|
|
55
|
+
return this;
|
|
56
|
+
}, v.prototype.bezierCurveTo = function(t, r, a, e, s, i) {
|
|
57
|
+
return this._drawPendingPt(), this.addData(h.C, t, r, a, e, s, i), this._ctx && this._ctx.bezierCurveTo(t, r, a, e, s, i), this._xi = s, this._yi = i, this;
|
|
58
|
+
}, v.prototype.quadraticCurveTo = function(t, r, a, e) {
|
|
59
|
+
return this._drawPendingPt(), this.addData(h.Q, t, r, a, e), this._ctx && this._ctx.quadraticCurveTo(t, r, a, e), this._xi = a, this._yi = e, this;
|
|
60
|
+
}, v.prototype.arc = function(t, r, a, e, s, i) {
|
|
61
|
+
this._drawPendingPt(), K[0] = e, K[1] = s, gt(K, i), e = K[0], s = K[1];
|
|
62
|
+
var c = s - e;
|
|
63
|
+
return this.addData(h.A, t, r, a, a, e, c, 0, i ? 0 : 1), this._ctx && this._ctx.arc(t, r, a, e, s, i), this._xi = V(s) * a + t, this._yi = Y(s) * a + r, this;
|
|
64
|
+
}, v.prototype.arcTo = function(t, r, a, e, s) {
|
|
65
|
+
return this._drawPendingPt(), this._ctx && this._ctx.arcTo(t, r, a, e, s), this;
|
|
66
|
+
}, v.prototype.rect = function(t, r, a, e) {
|
|
67
|
+
return this._drawPendingPt(), this._ctx && this._ctx.rect(t, r, a, e), this.addData(h.R, t, r, a, e), this;
|
|
68
|
+
}, v.prototype.closePath = function() {
|
|
69
|
+
this._drawPendingPt(), this.addData(h.Z);
|
|
70
|
+
var t = this._ctx, r = this._x0, a = this._y0;
|
|
71
|
+
return t && t.closePath(), this._xi = r, this._yi = a, this;
|
|
72
|
+
}, v.prototype.fill = function(t) {
|
|
73
|
+
t && t.fill(), this.toStatic();
|
|
74
|
+
}, v.prototype.stroke = function(t) {
|
|
75
|
+
t && t.stroke(), this.toStatic();
|
|
76
|
+
}, v.prototype.len = function() {
|
|
77
|
+
return this._len;
|
|
78
|
+
}, v.prototype.setData = function(t) {
|
|
79
|
+
var r = t.length;
|
|
80
|
+
!(this.data && this.data.length === r) && st && (this.data = new Float32Array(r));
|
|
81
|
+
for (var a = 0; a < r; a++)
|
|
82
|
+
this.data[a] = t[a];
|
|
83
|
+
this._len = r;
|
|
84
|
+
}, v.prototype.appendPath = function(t) {
|
|
85
|
+
t instanceof Array || (t = [t]);
|
|
86
|
+
for (var r = t.length, a = 0, e = this._len, s = 0; s < r; s++)
|
|
87
|
+
a += t[s].len();
|
|
88
|
+
st && this.data instanceof Float32Array && (this.data = new Float32Array(e + a));
|
|
89
|
+
for (var s = 0; s < r; s++)
|
|
90
|
+
for (var i = t[s].data, c = 0; c < i.length; c++)
|
|
91
|
+
this.data[e++] = i[c];
|
|
92
|
+
this._len = e;
|
|
93
|
+
}, v.prototype.addData = function(t, r, a, e, s, i, c, b, d) {
|
|
94
|
+
if (this._saveData) {
|
|
95
|
+
var u = this.data;
|
|
96
|
+
this._len + arguments.length > u.length && (this._expandData(), u = this.data);
|
|
97
|
+
for (var _ = 0; _ < arguments.length; _++)
|
|
98
|
+
u[this._len++] = arguments[_];
|
|
99
|
+
}
|
|
100
|
+
}, v.prototype._drawPendingPt = function() {
|
|
101
|
+
this._pendingPtDist > 0 && (this._ctx && this._ctx.lineTo(this._pendingPtX, this._pendingPtY), this._pendingPtDist = 0);
|
|
102
|
+
}, v.prototype._expandData = function() {
|
|
103
|
+
if (!(this.data instanceof Array)) {
|
|
104
|
+
for (var t = [], r = 0; r < this._len; r++)
|
|
105
|
+
t[r] = this.data[r];
|
|
106
|
+
this.data = t;
|
|
107
|
+
}
|
|
108
|
+
}, v.prototype.toStatic = function() {
|
|
109
|
+
if (this._saveData) {
|
|
110
|
+
this._drawPendingPt();
|
|
111
|
+
var t = this.data;
|
|
112
|
+
t instanceof Array && (t.length = this._len, st && this._len > 11 && (this.data = new Float32Array(t)));
|
|
113
|
+
}
|
|
114
|
+
}, v.prototype.getBoundingRect = function() {
|
|
115
|
+
M[0] = M[1] = g[0] = g[1] = Number.MAX_VALUE, q[0] = q[1] = k[0] = k[1] = -Number.MAX_VALUE;
|
|
116
|
+
var t = this.data, r = 0, a = 0, e = 0, s = 0, i;
|
|
117
|
+
for (i = 0; i < this._len; ) {
|
|
118
|
+
var c = t[i++], b = i === 1;
|
|
119
|
+
switch (b && (r = t[i], a = t[i + 1], e = r, s = a), c) {
|
|
120
|
+
case h.M:
|
|
121
|
+
r = e = t[i++], a = s = t[i++], g[0] = e, g[1] = s, k[0] = e, k[1] = s;
|
|
122
|
+
break;
|
|
123
|
+
case h.L:
|
|
124
|
+
pt(r, a, t[i], t[i + 1], g, k), r = t[i++], a = t[i++];
|
|
125
|
+
break;
|
|
126
|
+
case h.C:
|
|
127
|
+
Tt(r, a, t[i++], t[i++], t[i++], t[i++], t[i], t[i + 1], g, k), r = t[i++], a = t[i++];
|
|
128
|
+
break;
|
|
129
|
+
case h.Q:
|
|
130
|
+
Dt(r, a, t[i++], t[i++], t[i], t[i + 1], g, k), r = t[i++], a = t[i++];
|
|
131
|
+
break;
|
|
132
|
+
case h.A:
|
|
133
|
+
var d = t[i++], u = t[i++], _ = t[i++], n = t[i++], y = t[i++], L = t[i++] + y;
|
|
134
|
+
i += 1;
|
|
135
|
+
var D = !t[i++];
|
|
136
|
+
b && (e = V(y) * _ + d, s = Y(y) * n + u), Lt(d, u, _, n, y, L, D, g, k), r = V(L) * _ + d, a = Y(L) * n + u;
|
|
137
|
+
break;
|
|
138
|
+
case h.R:
|
|
139
|
+
e = r = t[i++], s = a = t[i++];
|
|
140
|
+
var f = t[i++], m = t[i++];
|
|
141
|
+
pt(e, s, e + f, s + m, g, k);
|
|
142
|
+
break;
|
|
143
|
+
case h.Z:
|
|
144
|
+
r = e, a = s;
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
bt(M, M, g), mt(q, q, k);
|
|
148
|
+
}
|
|
149
|
+
return i === 0 && (M[0] = M[1] = q[0] = q[1] = 0), new yt(M[0], M[1], q[0] - M[0], q[1] - M[1]);
|
|
150
|
+
}, v.prototype._calculateLength = function() {
|
|
151
|
+
var t = this.data, r = this._len, a = this._ux, e = this._uy, s = 0, i = 0, c = 0, b = 0;
|
|
152
|
+
this._pathSegLen || (this._pathSegLen = []);
|
|
153
|
+
for (var d = this._pathSegLen, u = 0, _ = 0, n = 0; n < r; ) {
|
|
154
|
+
var y = t[n++], L = n === 1;
|
|
155
|
+
L && (s = t[n], i = t[n + 1], c = s, b = i);
|
|
156
|
+
var D = -1;
|
|
157
|
+
switch (y) {
|
|
158
|
+
case h.M:
|
|
159
|
+
s = c = t[n++], i = b = t[n++];
|
|
160
|
+
break;
|
|
161
|
+
case h.L: {
|
|
162
|
+
var f = t[n++], m = t[n++], P = f - s, T = m - i;
|
|
163
|
+
(S(P) > a || S(T) > e || n === r - 1) && (D = Math.sqrt(P * P + T * T), s = f, i = m);
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
case h.C: {
|
|
167
|
+
var E = t[n++], U = t[n++], f = t[n++], m = t[n++], o = t[n++], A = t[n++];
|
|
168
|
+
D = Mt(s, i, E, U, f, m, o, A, 10), s = o, i = A;
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
case h.Q: {
|
|
172
|
+
var E = t[n++], U = t[n++], f = t[n++], m = t[n++];
|
|
173
|
+
D = Ct(s, i, E, U, f, m, 10), s = f, i = m;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
case h.A:
|
|
177
|
+
var G = t[n++], F = t[n++], z = t[n++], p = t[n++], l = t[n++], H = t[n++], x = H + l;
|
|
178
|
+
n += 1, L && (c = V(l) * z + G, b = Y(l) * p + F), D = et(z, p) * it(w, Math.abs(H)), s = V(x) * z + G, i = Y(x) * p + F;
|
|
179
|
+
break;
|
|
180
|
+
case h.R: {
|
|
181
|
+
c = s = t[n++], b = i = t[n++];
|
|
182
|
+
var Q = t[n++], R = t[n++];
|
|
183
|
+
D = Q * 2 + R * 2;
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
case h.Z: {
|
|
187
|
+
var P = c - s, T = b - i;
|
|
188
|
+
D = Math.sqrt(P * P + T * T), s = c, i = b;
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
D >= 0 && (d[_++] = D, u += D);
|
|
193
|
+
}
|
|
194
|
+
return this._pathLen = u, u;
|
|
195
|
+
}, v.prototype.rebuildPath = function(t, r) {
|
|
196
|
+
var a = this.data, e = this._ux, s = this._uy, i = this._len, c, b, d, u, _, n, y = r < 1, L, D, f = 0, m = 0, P, T = 0, E, U;
|
|
197
|
+
if (!(y && (this._pathSegLen || this._calculateLength(), L = this._pathSegLen, D = this._pathLen, P = r * D, !P)))
|
|
198
|
+
t: for (var o = 0; o < i; ) {
|
|
199
|
+
var A = a[o++], G = o === 1;
|
|
200
|
+
switch (G && (d = a[o], u = a[o + 1], c = d, b = u), A !== h.L && T > 0 && (t.lineTo(E, U), T = 0), A) {
|
|
201
|
+
case h.M:
|
|
202
|
+
c = d = a[o++], b = u = a[o++], t.moveTo(d, u);
|
|
203
|
+
break;
|
|
204
|
+
case h.L: {
|
|
205
|
+
_ = a[o++], n = a[o++];
|
|
206
|
+
var F = S(_ - d), z = S(n - u);
|
|
207
|
+
if (F > e || z > s) {
|
|
208
|
+
if (y) {
|
|
209
|
+
var p = L[m++];
|
|
210
|
+
if (f + p > P) {
|
|
211
|
+
var l = (P - f) / p;
|
|
212
|
+
t.lineTo(d * (1 - l) + _ * l, u * (1 - l) + n * l);
|
|
213
|
+
break t;
|
|
214
|
+
}
|
|
215
|
+
f += p;
|
|
216
|
+
}
|
|
217
|
+
t.lineTo(_, n), d = _, u = n, T = 0;
|
|
218
|
+
} else {
|
|
219
|
+
var H = F * F + z * z;
|
|
220
|
+
H > T && (E = _, U = n, T = H);
|
|
221
|
+
}
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
case h.C: {
|
|
225
|
+
var x = a[o++], Q = a[o++], R = a[o++], N = a[o++], at = a[o++], rt = a[o++];
|
|
226
|
+
if (y) {
|
|
227
|
+
var p = L[m++];
|
|
228
|
+
if (f + p > P) {
|
|
229
|
+
var l = (P - f) / p;
|
|
230
|
+
ct(d, x, R, at, l, X), ct(u, Q, N, rt, l, Z), t.bezierCurveTo(X[1], Z[1], X[2], Z[2], X[3], Z[3]);
|
|
231
|
+
break t;
|
|
232
|
+
}
|
|
233
|
+
f += p;
|
|
234
|
+
}
|
|
235
|
+
t.bezierCurveTo(x, Q, R, N, at, rt), d = at, u = rt;
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
case h.Q: {
|
|
239
|
+
var x = a[o++], Q = a[o++], R = a[o++], N = a[o++];
|
|
240
|
+
if (y) {
|
|
241
|
+
var p = L[m++];
|
|
242
|
+
if (f + p > P) {
|
|
243
|
+
var l = (P - f) / p;
|
|
244
|
+
_t(d, x, R, l, X), _t(u, Q, N, l, Z), t.quadraticCurveTo(X[1], Z[1], X[2], Z[2]);
|
|
245
|
+
break t;
|
|
246
|
+
}
|
|
247
|
+
f += p;
|
|
248
|
+
}
|
|
249
|
+
t.quadraticCurveTo(x, Q, R, N), d = R, u = N;
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
case h.A:
|
|
253
|
+
var W = a[o++], tt = a[o++], O = a[o++], $ = a[o++], B = a[o++], ot = a[o++], dt = a[o++], ht = !a[o++], Pt = O > $ ? O : $, lt = S(O - $) > 1e-3, I = B + ot, ft = !1;
|
|
254
|
+
if (y) {
|
|
255
|
+
var p = L[m++];
|
|
256
|
+
f + p > P && (I = B + ot * (P - f) / p, ft = !0), f += p;
|
|
257
|
+
}
|
|
258
|
+
if (lt && t.ellipse ? t.ellipse(W, tt, O, $, dt, B, I, ht) : t.arc(W, tt, Pt, B, I, ht), ft)
|
|
259
|
+
break t;
|
|
260
|
+
G && (c = V(B) * O + W, b = Y(B) * $ + tt), d = V(I) * O + W, u = Y(I) * $ + tt;
|
|
261
|
+
break;
|
|
262
|
+
case h.R:
|
|
263
|
+
c = d = a[o], b = u = a[o + 1], _ = a[o++], n = a[o++];
|
|
264
|
+
var j = a[o++], J = a[o++];
|
|
265
|
+
if (y) {
|
|
266
|
+
var p = L[m++];
|
|
267
|
+
if (f + p > P) {
|
|
268
|
+
var C = P - f;
|
|
269
|
+
t.moveTo(_, n), t.lineTo(_ + it(C, j), n), C -= j, C > 0 && t.lineTo(_ + j, n + it(C, J)), C -= J, C > 0 && t.lineTo(_ + et(j - C, 0), n + J), C -= j, C > 0 && t.lineTo(_, n + et(J - C, 0));
|
|
270
|
+
break t;
|
|
271
|
+
}
|
|
272
|
+
f += p;
|
|
273
|
+
}
|
|
274
|
+
t.rect(_, n, j, J);
|
|
275
|
+
break;
|
|
276
|
+
case h.Z:
|
|
277
|
+
if (y) {
|
|
278
|
+
var p = L[m++];
|
|
279
|
+
if (f + p > P) {
|
|
280
|
+
var l = (P - f) / p;
|
|
281
|
+
t.lineTo(d * (1 - l) + c * l, u * (1 - l) + b * l);
|
|
282
|
+
break t;
|
|
283
|
+
}
|
|
284
|
+
f += p;
|
|
285
|
+
}
|
|
286
|
+
t.closePath(), d = c, u = b;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}, v.prototype.clone = function() {
|
|
290
|
+
var t = new v(), r = this.data;
|
|
291
|
+
return t.data = r.slice ? r.slice() : Array.prototype.slice.call(r), t._len = this._len, t;
|
|
292
|
+
}, v.CMD = h, v.initDefaultProps = (function() {
|
|
293
|
+
var t = v.prototype;
|
|
294
|
+
t._saveData = !0, t._ux = 0, t._uy = 0, t._pendingPtDist = 0, t._version = 0;
|
|
295
|
+
})(), v;
|
|
296
|
+
})();
|
|
297
|
+
export {
|
|
298
|
+
wt as default,
|
|
299
|
+
gt as normalizeArcAngles
|
|
300
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var o = (function() {
|
|
2
|
+
function i(t, n) {
|
|
3
|
+
this.x = t || 0, this.y = n || 0;
|
|
4
|
+
}
|
|
5
|
+
return i.prototype.copy = function(t) {
|
|
6
|
+
return this.x = t.x, this.y = t.y, this;
|
|
7
|
+
}, i.prototype.clone = function() {
|
|
8
|
+
return new i(this.x, this.y);
|
|
9
|
+
}, i.prototype.set = function(t, n) {
|
|
10
|
+
return this.x = t, this.y = n, this;
|
|
11
|
+
}, i.prototype.equal = function(t) {
|
|
12
|
+
return t.x === this.x && t.y === this.y;
|
|
13
|
+
}, i.prototype.add = function(t) {
|
|
14
|
+
return this.x += t.x, this.y += t.y, this;
|
|
15
|
+
}, i.prototype.scale = function(t) {
|
|
16
|
+
this.x *= t, this.y *= t;
|
|
17
|
+
}, i.prototype.scaleAndAdd = function(t, n) {
|
|
18
|
+
this.x += t.x * n, this.y += t.y * n;
|
|
19
|
+
}, i.prototype.sub = function(t) {
|
|
20
|
+
return this.x -= t.x, this.y -= t.y, this;
|
|
21
|
+
}, i.prototype.dot = function(t) {
|
|
22
|
+
return this.x * t.x + this.y * t.y;
|
|
23
|
+
}, i.prototype.len = function() {
|
|
24
|
+
return Math.sqrt(this.x * this.x + this.y * this.y);
|
|
25
|
+
}, i.prototype.lenSquare = function() {
|
|
26
|
+
return this.x * this.x + this.y * this.y;
|
|
27
|
+
}, i.prototype.normalize = function() {
|
|
28
|
+
var t = this.len();
|
|
29
|
+
return this.x /= t, this.y /= t, this;
|
|
30
|
+
}, i.prototype.distance = function(t) {
|
|
31
|
+
var n = this.x - t.x, y = this.y - t.y;
|
|
32
|
+
return Math.sqrt(n * n + y * y);
|
|
33
|
+
}, i.prototype.distanceSquare = function(t) {
|
|
34
|
+
var n = this.x - t.x, y = this.y - t.y;
|
|
35
|
+
return n * n + y * y;
|
|
36
|
+
}, i.prototype.negate = function() {
|
|
37
|
+
return this.x = -this.x, this.y = -this.y, this;
|
|
38
|
+
}, i.prototype.transform = function(t) {
|
|
39
|
+
if (t) {
|
|
40
|
+
var n = this.x, y = this.y;
|
|
41
|
+
return this.x = t[0] * n + t[2] * y + t[4], this.y = t[1] * n + t[3] * y + t[5], this;
|
|
42
|
+
}
|
|
43
|
+
}, i.prototype.toArray = function(t) {
|
|
44
|
+
return t[0] = this.x, t[1] = this.y, t;
|
|
45
|
+
}, i.prototype.fromArray = function(t) {
|
|
46
|
+
this.x = t[0], this.y = t[1];
|
|
47
|
+
}, i.set = function(t, n, y) {
|
|
48
|
+
t.x = n, t.y = y;
|
|
49
|
+
}, i.copy = function(t, n) {
|
|
50
|
+
t.x = n.x, t.y = n.y;
|
|
51
|
+
}, i.len = function(t) {
|
|
52
|
+
return Math.sqrt(t.x * t.x + t.y * t.y);
|
|
53
|
+
}, i.lenSquare = function(t) {
|
|
54
|
+
return t.x * t.x + t.y * t.y;
|
|
55
|
+
}, i.dot = function(t, n) {
|
|
56
|
+
return t.x * n.x + t.y * n.y;
|
|
57
|
+
}, i.add = function(t, n, y) {
|
|
58
|
+
t.x = n.x + y.x, t.y = n.y + y.y;
|
|
59
|
+
}, i.sub = function(t, n, y) {
|
|
60
|
+
t.x = n.x - y.x, t.y = n.y - y.y;
|
|
61
|
+
}, i.scale = function(t, n, y) {
|
|
62
|
+
t.x = n.x * y, t.y = n.y * y;
|
|
63
|
+
}, i.scaleAndAdd = function(t, n, y, r) {
|
|
64
|
+
t.x = n.x + y.x * r, t.y = n.y + y.y * r;
|
|
65
|
+
}, i.lerp = function(t, n, y, r) {
|
|
66
|
+
var s = 1 - r;
|
|
67
|
+
t.x = s * n.x + r * y.x, t.y = s * n.y + r * y.y;
|
|
68
|
+
}, i;
|
|
69
|
+
})();
|
|
70
|
+
export {
|
|
71
|
+
o as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { identity as d, create as c, mul as l, copy as x, invert as R, rotate as P } from "./matrix.js";
|
|
2
|
+
import { applyTransform as k } from "./vector.js";
|
|
3
|
+
var g = d, L = 5e-5;
|
|
4
|
+
function e(a) {
|
|
5
|
+
return a > L || a < -L;
|
|
6
|
+
}
|
|
7
|
+
var f = [], h = [], v = c(), p = Math.abs, A = (function() {
|
|
8
|
+
function a() {
|
|
9
|
+
}
|
|
10
|
+
return a.prototype.getLocalTransform = function(r) {
|
|
11
|
+
return a.getLocalTransform(this, r);
|
|
12
|
+
}, a.prototype.setPosition = function(r) {
|
|
13
|
+
this.x = r[0], this.y = r[1];
|
|
14
|
+
}, a.prototype.setScale = function(r) {
|
|
15
|
+
this.scaleX = r[0], this.scaleY = r[1];
|
|
16
|
+
}, a.prototype.setSkew = function(r) {
|
|
17
|
+
this.skewX = r[0], this.skewY = r[1];
|
|
18
|
+
}, a.prototype.setOrigin = function(r) {
|
|
19
|
+
this.originX = r[0], this.originY = r[1];
|
|
20
|
+
}, a.prototype.needLocalTransform = function() {
|
|
21
|
+
return e(this.rotation) || e(this.x) || e(this.y) || e(this.scaleX - 1) || e(this.scaleY - 1) || e(this.skewX) || e(this.skewY);
|
|
22
|
+
}, a.prototype.updateTransform = function() {
|
|
23
|
+
var r = this.parent && this.parent.transform, t = this.needLocalTransform(), o = this.transform;
|
|
24
|
+
if (!(t || r)) {
|
|
25
|
+
o && (g(o), this.invTransform = null);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
o = o || c(), t ? this.getLocalTransform(o) : g(o), r && (t ? l(o, r, o) : x(o, r)), this.transform = o, this._resolveGlobalScaleRatio(o);
|
|
29
|
+
}, a.prototype._resolveGlobalScaleRatio = function(r) {
|
|
30
|
+
var t = this.globalScaleRatio;
|
|
31
|
+
if (t != null && t !== 1) {
|
|
32
|
+
this.getGlobalScale(f);
|
|
33
|
+
var o = f[0] < 0 ? -1 : 1, n = f[1] < 0 ? -1 : 1, s = ((f[0] - o) * t + o) / f[0] || 0, i = ((f[1] - n) * t + n) / f[1] || 0;
|
|
34
|
+
r[0] *= s, r[1] *= s, r[2] *= i, r[3] *= i;
|
|
35
|
+
}
|
|
36
|
+
this.invTransform = this.invTransform || c(), R(this.invTransform, r);
|
|
37
|
+
}, a.prototype.getComputedTransform = function() {
|
|
38
|
+
for (var r = this, t = []; r; )
|
|
39
|
+
t.push(r), r = r.parent;
|
|
40
|
+
for (; r = t.pop(); )
|
|
41
|
+
r.updateTransform();
|
|
42
|
+
return this.transform;
|
|
43
|
+
}, a.prototype.setLocalTransform = function(r) {
|
|
44
|
+
if (r) {
|
|
45
|
+
var t = r[0] * r[0] + r[1] * r[1], o = r[2] * r[2] + r[3] * r[3], n = Math.atan2(r[1], r[0]), s = Math.PI / 2 + n - Math.atan2(r[3], r[2]);
|
|
46
|
+
o = Math.sqrt(o) * Math.cos(s), t = Math.sqrt(t), this.skewX = s, this.skewY = 0, this.rotation = -n, this.x = +r[4], this.y = +r[5], this.scaleX = t, this.scaleY = o, this.originX = 0, this.originY = 0;
|
|
47
|
+
}
|
|
48
|
+
}, a.prototype.decomposeTransform = function() {
|
|
49
|
+
if (this.transform) {
|
|
50
|
+
var r = this.parent, t = this.transform;
|
|
51
|
+
r && r.transform && (r.invTransform = r.invTransform || c(), l(h, r.invTransform, t), t = h);
|
|
52
|
+
var o = this.originX, n = this.originY;
|
|
53
|
+
(o || n) && (v[4] = o, v[5] = n, l(h, t, v), h[4] -= o, h[5] -= n, t = h), this.setLocalTransform(t);
|
|
54
|
+
}
|
|
55
|
+
}, a.prototype.getGlobalScale = function(r) {
|
|
56
|
+
var t = this.transform;
|
|
57
|
+
return r = r || [], t ? (r[0] = Math.sqrt(t[0] * t[0] + t[1] * t[1]), r[1] = Math.sqrt(t[2] * t[2] + t[3] * t[3]), t[0] < 0 && (r[0] = -r[0]), t[3] < 0 && (r[1] = -r[1]), r) : (r[0] = 1, r[1] = 1, r);
|
|
58
|
+
}, a.prototype.transformCoordToLocal = function(r, t) {
|
|
59
|
+
var o = [r, t], n = this.invTransform;
|
|
60
|
+
return n && k(o, o, n), o;
|
|
61
|
+
}, a.prototype.transformCoordToGlobal = function(r, t) {
|
|
62
|
+
var o = [r, t], n = this.transform;
|
|
63
|
+
return n && k(o, o, n), o;
|
|
64
|
+
}, a.prototype.getLineScale = function() {
|
|
65
|
+
var r = this.transform;
|
|
66
|
+
return r && p(r[0] - 1) > 1e-10 && p(r[3] - 1) > 1e-10 ? Math.sqrt(p(r[0] * r[3] - r[2] * r[1])) : 1;
|
|
67
|
+
}, a.prototype.copyTransform = function(r) {
|
|
68
|
+
q(this, r);
|
|
69
|
+
}, a.getLocalTransform = function(r, t) {
|
|
70
|
+
t = t || [];
|
|
71
|
+
var o = r.originX || 0, n = r.originY || 0, s = r.scaleX, i = r.scaleY, u = r.anchorX, T = r.anchorY, y = r.rotation || 0, S = r.x, b = r.y, m = r.skewX ? Math.tan(r.skewX) : 0, X = r.skewY ? Math.tan(-r.skewY) : 0;
|
|
72
|
+
if (o || n || u || T) {
|
|
73
|
+
var Y = o + u, w = n + T;
|
|
74
|
+
t[4] = -Y * s - m * w * i, t[5] = -w * i - X * Y * s;
|
|
75
|
+
} else
|
|
76
|
+
t[4] = t[5] = 0;
|
|
77
|
+
return t[0] = s, t[3] = i, t[1] = X * s, t[2] = m * i, y && P(t, t, y), t[4] += o + S, t[5] += n + b, t;
|
|
78
|
+
}, a.initDefaultProps = (function() {
|
|
79
|
+
var r = a.prototype;
|
|
80
|
+
r.scaleX = r.scaleY = r.globalScaleRatio = 1, r.x = r.y = r.originX = r.originY = r.skewX = r.skewY = r.rotation = r.anchorX = r.anchorY = 0;
|
|
81
|
+
})(), a;
|
|
82
|
+
})(), M = [
|
|
83
|
+
"x",
|
|
84
|
+
"y",
|
|
85
|
+
"originX",
|
|
86
|
+
"originY",
|
|
87
|
+
"anchorX",
|
|
88
|
+
"anchorY",
|
|
89
|
+
"rotation",
|
|
90
|
+
"scaleX",
|
|
91
|
+
"scaleY",
|
|
92
|
+
"skewX",
|
|
93
|
+
"skewY"
|
|
94
|
+
];
|
|
95
|
+
function q(a, r) {
|
|
96
|
+
for (var t = 0; t < M.length; t++) {
|
|
97
|
+
var o = M[t];
|
|
98
|
+
a[o] = r[o];
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
M as TRANSFORMABLE_PROPS,
|
|
103
|
+
q as copyTransform,
|
|
104
|
+
A as default
|
|
105
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var i = Math.round(Math.random() * 9), o = typeof Object.defineProperty == "function", u = (function() {
|
|
2
|
+
function e() {
|
|
3
|
+
this._id = "__ec_inner_" + i++;
|
|
4
|
+
}
|
|
5
|
+
return e.prototype.get = function(t) {
|
|
6
|
+
return this._guard(t)[this._id];
|
|
7
|
+
}, e.prototype.set = function(t, r) {
|
|
8
|
+
var n = this._guard(t);
|
|
9
|
+
return o ? Object.defineProperty(n, this._id, {
|
|
10
|
+
value: r,
|
|
11
|
+
enumerable: !1,
|
|
12
|
+
configurable: !0
|
|
13
|
+
}) : n[this._id] = r, this;
|
|
14
|
+
}, e.prototype.delete = function(t) {
|
|
15
|
+
return this.has(t) ? (delete this._guard(t)[this._id], !0) : !1;
|
|
16
|
+
}, e.prototype.has = function(t) {
|
|
17
|
+
return !!this._guard(t)[this._id];
|
|
18
|
+
}, e.prototype._guard = function(t) {
|
|
19
|
+
if (t !== Object(t))
|
|
20
|
+
throw TypeError("Value of WeakMap is not a non-null object.");
|
|
21
|
+
return t;
|
|
22
|
+
}, e;
|
|
23
|
+
})();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { min as H, max as J, create as j } from "./vector.js";
|
|
2
|
+
import { quadraticAt as K, cubicExtrema as N, cubicAt as O, quadraticExtremum as R } from "./curve.js";
|
|
3
|
+
var b = Math.min, I = Math.max, Q = Math.sin, S = Math.cos, p = Math.PI * 2, C = j(), D = j(), L = j();
|
|
4
|
+
function V(t, c, u) {
|
|
5
|
+
if (t.length !== 0) {
|
|
6
|
+
for (var a = t[0], r = a[0], v = a[0], M = a[1], i = a[1], f = 1; f < t.length; f++)
|
|
7
|
+
a = t[f], r = b(r, a[0]), v = I(v, a[0]), M = b(M, a[1]), i = I(i, a[1]);
|
|
8
|
+
c[0] = r, c[1] = M, u[0] = v, u[1] = i;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function W(t, c, u, a, r, v) {
|
|
12
|
+
r[0] = b(t, u), r[1] = b(c, a), v[0] = I(t, u), v[1] = I(c, a);
|
|
13
|
+
}
|
|
14
|
+
var F = [], G = [];
|
|
15
|
+
function X(t, c, u, a, r, v, M, i, f, o) {
|
|
16
|
+
var E = N, P = O, q = E(t, u, r, M, F);
|
|
17
|
+
f[0] = 1 / 0, f[1] = 1 / 0, o[0] = -1 / 0, o[1] = -1 / 0;
|
|
18
|
+
for (var h = 0; h < q; h++) {
|
|
19
|
+
var z = P(t, u, r, M, F[h]);
|
|
20
|
+
f[0] = b(z, f[0]), o[0] = I(z, o[0]);
|
|
21
|
+
}
|
|
22
|
+
q = E(c, a, v, i, G);
|
|
23
|
+
for (var h = 0; h < q; h++) {
|
|
24
|
+
var B = P(c, a, v, i, G[h]);
|
|
25
|
+
f[1] = b(B, f[1]), o[1] = I(B, o[1]);
|
|
26
|
+
}
|
|
27
|
+
f[0] = b(t, f[0]), o[0] = I(t, o[0]), f[0] = b(M, f[0]), o[0] = I(M, o[0]), f[1] = b(c, f[1]), o[1] = I(c, o[1]), f[1] = b(i, f[1]), o[1] = I(i, o[1]);
|
|
28
|
+
}
|
|
29
|
+
function Y(t, c, u, a, r, v, M, i) {
|
|
30
|
+
var f = R, o = K, E = I(b(f(t, u, r), 1), 0), P = I(b(f(c, a, v), 1), 0), q = o(t, u, r, E), h = o(c, a, v, P);
|
|
31
|
+
M[0] = b(t, r, q), M[1] = b(c, v, h), i[0] = I(t, r, q), i[1] = I(c, v, h);
|
|
32
|
+
}
|
|
33
|
+
function Z(t, c, u, a, r, v, M, i, f) {
|
|
34
|
+
var o = H, E = J, P = Math.abs(r - v);
|
|
35
|
+
if (P % p < 1e-4 && P > 1e-4) {
|
|
36
|
+
i[0] = t - u, i[1] = c - a, f[0] = t + u, f[1] = c + a;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (C[0] = S(r) * u + t, C[1] = Q(r) * a + c, D[0] = S(v) * u + t, D[1] = Q(v) * a + c, o(i, C, D), E(f, C, D), r = r % p, r < 0 && (r = r + p), v = v % p, v < 0 && (v = v + p), r > v && !M ? v += p : r < v && M && (r += p), M) {
|
|
40
|
+
var q = v;
|
|
41
|
+
v = r, r = q;
|
|
42
|
+
}
|
|
43
|
+
for (var h = 0; h < v; h += Math.PI / 2)
|
|
44
|
+
h > r && (L[0] = S(h) * u + t, L[1] = Q(h) * a + c, o(i, L, i), E(f, L, f));
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
Z as fromArc,
|
|
48
|
+
X as fromCubic,
|
|
49
|
+
W as fromLine,
|
|
50
|
+
V as fromPoints,
|
|
51
|
+
Y as fromQuadratic
|
|
52
|
+
};
|