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,47 @@
|
|
|
1
|
+
function f(r) {
|
|
2
|
+
return isFinite(r);
|
|
3
|
+
}
|
|
4
|
+
function h(r, n, a) {
|
|
5
|
+
var t = n.x == null ? 0 : n.x, i = n.x2 == null ? 1 : n.x2, l = n.y == null ? 0 : n.y, e = n.y2 == null ? 0 : n.y2;
|
|
6
|
+
n.global || (t = t * a.width + a.x, i = i * a.width + a.x, l = l * a.height + a.y, e = e * a.height + a.y), t = f(t) ? t : 0, i = f(i) ? i : 1, l = f(l) ? l : 0, e = f(e) ? e : 0;
|
|
7
|
+
var u = r.createLinearGradient(t, l, i, e);
|
|
8
|
+
return u;
|
|
9
|
+
}
|
|
10
|
+
function y(r, n, a) {
|
|
11
|
+
var t = a.width, i = a.height, l = Math.min(t, i), e = n.x == null ? 0.5 : n.x, u = n.y == null ? 0.5 : n.y, d = n.r == null ? 0.5 : n.r;
|
|
12
|
+
n.global || (e = e * t + a.x, u = u * i + a.y, d = d * l), e = f(e) ? e : 0.5, u = f(u) ? u : 0.5, d = d >= 0 && f(d) ? d : 0.5;
|
|
13
|
+
var v = r.createRadialGradient(e, u, 0, e, u, d);
|
|
14
|
+
return v;
|
|
15
|
+
}
|
|
16
|
+
function x(r, n, a) {
|
|
17
|
+
for (var t = n.type === "radial" ? y(r, n, a) : h(r, n, a), i = n.colorStops, l = 0; l < i.length; l++)
|
|
18
|
+
t.addColorStop(i[l].offset, i[l].color);
|
|
19
|
+
return t;
|
|
20
|
+
}
|
|
21
|
+
function o(r, n) {
|
|
22
|
+
if (r === n || !r && !n)
|
|
23
|
+
return !1;
|
|
24
|
+
if (!r || !n || r.length !== n.length)
|
|
25
|
+
return !0;
|
|
26
|
+
for (var a = 0; a < r.length; a++)
|
|
27
|
+
if (r[a] !== n[a])
|
|
28
|
+
return !0;
|
|
29
|
+
return !1;
|
|
30
|
+
}
|
|
31
|
+
function g(r) {
|
|
32
|
+
return parseInt(r, 10);
|
|
33
|
+
}
|
|
34
|
+
function G(r, n, a) {
|
|
35
|
+
var t = ["width", "height"][n], i = ["clientWidth", "clientHeight"][n], l = ["paddingLeft", "paddingTop"][n], e = ["paddingRight", "paddingBottom"][n];
|
|
36
|
+
if (a[t] != null && a[t] !== "auto")
|
|
37
|
+
return parseFloat(a[t]);
|
|
38
|
+
var u = document.defaultView.getComputedStyle(r);
|
|
39
|
+
return (r[i] || g(u[t]) || g(r.style[t])) - (g(u[l]) || 0) - (g(u[e]) || 0) | 0;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
h as createLinearGradient,
|
|
43
|
+
y as createRadialGradient,
|
|
44
|
+
x as getCanvasGradient,
|
|
45
|
+
G as getSize,
|
|
46
|
+
o as isClipPathChanged
|
|
47
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import i from "./core/env.js";
|
|
2
|
+
var e = 1;
|
|
3
|
+
i.hasGlobalWindow && (e = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
|
|
4
|
+
var r = e, o = 0.4, L = "#333", c = "#ccc", v = "#eee";
|
|
5
|
+
export {
|
|
6
|
+
L as DARK_LABEL_COLOR,
|
|
7
|
+
o as DARK_MODE_THRESHOLD,
|
|
8
|
+
v as LIGHTER_LABEL_COLOR,
|
|
9
|
+
c as LIGHT_LABEL_COLOR,
|
|
10
|
+
r as devicePixelRatio
|
|
11
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { normalizeRadian as v } from "./util.js";
|
|
2
|
+
var i = Math.PI * 2;
|
|
3
|
+
function q(p, I, M, r, a, P, h, o, u) {
|
|
4
|
+
if (h === 0)
|
|
5
|
+
return !1;
|
|
6
|
+
var m = h;
|
|
7
|
+
o -= p, u -= I;
|
|
8
|
+
var c = Math.sqrt(o * o + u * u);
|
|
9
|
+
if (c - m > M || c + m < M)
|
|
10
|
+
return !1;
|
|
11
|
+
if (Math.abs(r - a) % i < 1e-4)
|
|
12
|
+
return !0;
|
|
13
|
+
if (P) {
|
|
14
|
+
var b = r;
|
|
15
|
+
r = v(a), a = v(b);
|
|
16
|
+
} else
|
|
17
|
+
r = v(r), a = v(a);
|
|
18
|
+
r > a && (a += i);
|
|
19
|
+
var f = Math.atan2(u, o);
|
|
20
|
+
return f < 0 && (f += i), f >= r && f <= a || f + i >= r && f + i <= a;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
q as containStroke
|
|
24
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cubicProjectPoint as s } from "../core/curve.js";
|
|
2
|
+
function P(o, e, f, u, a, c, i, l, m, t, n) {
|
|
3
|
+
if (m === 0)
|
|
4
|
+
return !1;
|
|
5
|
+
var r = m;
|
|
6
|
+
if (n > e + r && n > u + r && n > c + r && n > l + r || n < e - r && n < u - r && n < c - r && n < l - r || t > o + r && t > f + r && t > a + r && t > i + r || t < o - r && t < f - r && t < a - r && t < i - r)
|
|
7
|
+
return !1;
|
|
8
|
+
var p = s(o, e, f, u, a, c, i, l, t, n, null);
|
|
9
|
+
return p <= r / 2;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
P as containStroke
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function l(a, f, e, s, v, t, n) {
|
|
2
|
+
if (v === 0)
|
|
3
|
+
return !1;
|
|
4
|
+
var r = v, u = 0, o = a;
|
|
5
|
+
if (n > f + r && n > s + r || n < f - r && n < s - r || t > a + r && t > e + r || t < a - r && t < e - r)
|
|
6
|
+
return !1;
|
|
7
|
+
if (a !== e)
|
|
8
|
+
u = (f - s) / (a - e), o = (a * s - e * f) / (a - e);
|
|
9
|
+
else
|
|
10
|
+
return Math.abs(t - a) <= r / 2;
|
|
11
|
+
var _ = u * t - n + o, i = _ * _ / (u * u + 1);
|
|
12
|
+
return i <= r / 2 * r / 2;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
l as containStroke
|
|
16
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import K from "../core/PathProxy.js";
|
|
2
|
+
import { containStroke as Q } from "./line.js";
|
|
3
|
+
import { containStroke as U } from "./cubic.js";
|
|
4
|
+
import { containStroke as V } from "./quadratic.js";
|
|
5
|
+
import { containStroke as X } from "./arc.js";
|
|
6
|
+
import { quadraticRootAt as Y, quadraticAt as Z, cubicRootAt as i, cubicExtrema as w, quadraticExtremum as F, cubicAt as j } from "../core/curve.js";
|
|
7
|
+
import L from "./windingLine.js";
|
|
8
|
+
var $ = K.CMD, S = Math.PI * 2, T = 1e-4;
|
|
9
|
+
function d(b, e) {
|
|
10
|
+
return Math.abs(b - e) < T;
|
|
11
|
+
}
|
|
12
|
+
var k = [-1, -1, -1], q = [-1, -1];
|
|
13
|
+
function h() {
|
|
14
|
+
var b = q[0];
|
|
15
|
+
q[0] = q[1], q[1] = b;
|
|
16
|
+
}
|
|
17
|
+
function A(b, e, M, f, u, r, I, o, n, v) {
|
|
18
|
+
if (v > e && v > f && v > r && v > o || v < e && v < f && v < r && v < o)
|
|
19
|
+
return 0;
|
|
20
|
+
var t = i(e, f, r, o, v, k);
|
|
21
|
+
if (t === 0)
|
|
22
|
+
return 0;
|
|
23
|
+
for (var c = 0, m = -1, s = void 0, a = void 0, P = 0; P < t; P++) {
|
|
24
|
+
var R = k[P], p = R === 0 || R === 1 ? 0.5 : 1, D = j(b, M, u, I, R);
|
|
25
|
+
D < n || (m < 0 && (m = w(e, f, r, o, q), q[1] < q[0] && m > 1 && h(), s = j(e, f, r, o, q[0]), m > 1 && (a = j(e, f, r, o, q[1]))), m === 2 ? R < q[0] ? c += s < e ? p : -p : R < q[1] ? c += a < s ? p : -p : c += o < a ? p : -p : R < q[0] ? c += s < e ? p : -p : c += o < s ? p : -p);
|
|
26
|
+
}
|
|
27
|
+
return c;
|
|
28
|
+
}
|
|
29
|
+
function W(b, e, M, f, u, r, I, o) {
|
|
30
|
+
if (o > e && o > f && o > r || o < e && o < f && o < r)
|
|
31
|
+
return 0;
|
|
32
|
+
var n = Y(e, f, r, o, k);
|
|
33
|
+
if (n === 0)
|
|
34
|
+
return 0;
|
|
35
|
+
var v = F(e, f, r);
|
|
36
|
+
if (v >= 0 && v <= 1) {
|
|
37
|
+
for (var t = 0, c = Z(e, f, r, v), m = 0; m < n; m++) {
|
|
38
|
+
var s = k[m] === 0 || k[m] === 1 ? 0.5 : 1, a = Z(b, M, u, k[m]);
|
|
39
|
+
a < I || (k[m] < v ? t += c < e ? s : -s : t += r < c ? s : -s);
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
} else {
|
|
43
|
+
var s = k[0] === 0 || k[0] === 1 ? 0.5 : 1, a = Z(b, M, u, k[0]);
|
|
44
|
+
return a < I ? 0 : r < e ? s : -s;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function _(b, e, M, f, u, r, I, o) {
|
|
48
|
+
if (o -= e, o > M || o < -M)
|
|
49
|
+
return 0;
|
|
50
|
+
var n = Math.sqrt(M * M - o * o);
|
|
51
|
+
k[0] = -n, k[1] = n;
|
|
52
|
+
var v = Math.abs(f - u);
|
|
53
|
+
if (v < 1e-4)
|
|
54
|
+
return 0;
|
|
55
|
+
if (v >= S - 1e-4) {
|
|
56
|
+
f = 0, u = S;
|
|
57
|
+
var t = r ? 1 : -1;
|
|
58
|
+
return I >= k[0] + b && I <= k[1] + b ? t : 0;
|
|
59
|
+
}
|
|
60
|
+
if (f > u) {
|
|
61
|
+
var c = f;
|
|
62
|
+
f = u, u = c;
|
|
63
|
+
}
|
|
64
|
+
f < 0 && (f += S, u += S);
|
|
65
|
+
for (var m = 0, s = 0; s < 2; s++) {
|
|
66
|
+
var a = k[s];
|
|
67
|
+
if (a + b > I) {
|
|
68
|
+
var P = Math.atan2(o, a), t = r ? 1 : -1;
|
|
69
|
+
P < 0 && (P = S + P), (P >= f && P <= u || P + S >= f && P + S <= u) && (P > Math.PI / 2 && P < Math.PI * 1.5 && (t = -t), m += t);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return m;
|
|
73
|
+
}
|
|
74
|
+
function G(b, e, M, f, u) {
|
|
75
|
+
for (var r = b.data, I = b.len(), o = 0, n = 0, v = 0, t = 0, c = 0, m, s, a = 0; a < I; ) {
|
|
76
|
+
var P = r[a++], R = a === 1;
|
|
77
|
+
switch (P === $.M && a > 1 && (M || (o += L(n, v, t, c, f, u))), R && (n = r[a], v = r[a + 1], t = n, c = v), P) {
|
|
78
|
+
case $.M:
|
|
79
|
+
t = r[a++], c = r[a++], n = t, v = c;
|
|
80
|
+
break;
|
|
81
|
+
case $.L:
|
|
82
|
+
if (M) {
|
|
83
|
+
if (Q(n, v, r[a], r[a + 1], e, f, u))
|
|
84
|
+
return !0;
|
|
85
|
+
} else
|
|
86
|
+
o += L(n, v, r[a], r[a + 1], f, u) || 0;
|
|
87
|
+
n = r[a++], v = r[a++];
|
|
88
|
+
break;
|
|
89
|
+
case $.C:
|
|
90
|
+
if (M) {
|
|
91
|
+
if (U(n, v, r[a++], r[a++], r[a++], r[a++], r[a], r[a + 1], e, f, u))
|
|
92
|
+
return !0;
|
|
93
|
+
} else
|
|
94
|
+
o += A(n, v, r[a++], r[a++], r[a++], r[a++], r[a], r[a + 1], f, u) || 0;
|
|
95
|
+
n = r[a++], v = r[a++];
|
|
96
|
+
break;
|
|
97
|
+
case $.Q:
|
|
98
|
+
if (M) {
|
|
99
|
+
if (V(n, v, r[a++], r[a++], r[a], r[a + 1], e, f, u))
|
|
100
|
+
return !0;
|
|
101
|
+
} else
|
|
102
|
+
o += W(n, v, r[a++], r[a++], r[a], r[a + 1], f, u) || 0;
|
|
103
|
+
n = r[a++], v = r[a++];
|
|
104
|
+
break;
|
|
105
|
+
case $.A:
|
|
106
|
+
var p = r[a++], D = r[a++], O = r[a++], E = r[a++], C = r[a++], N = r[a++];
|
|
107
|
+
a += 1;
|
|
108
|
+
var z = !!(1 - r[a++]);
|
|
109
|
+
m = Math.cos(C) * O + p, s = Math.sin(C) * E + D, R ? (t = m, c = s) : o += L(n, v, m, s, f, u);
|
|
110
|
+
var B = (f - p) * E / O + p;
|
|
111
|
+
if (M) {
|
|
112
|
+
if (X(p, D, E, C, C + N, z, e, B, u))
|
|
113
|
+
return !0;
|
|
114
|
+
} else
|
|
115
|
+
o += _(p, D, E, C, C + N, z, B, u);
|
|
116
|
+
n = Math.cos(C + N) * O + p, v = Math.sin(C + N) * E + D;
|
|
117
|
+
break;
|
|
118
|
+
case $.R:
|
|
119
|
+
t = n = r[a++], c = v = r[a++];
|
|
120
|
+
var H = r[a++], J = r[a++];
|
|
121
|
+
if (m = t + H, s = c + J, M) {
|
|
122
|
+
if (Q(t, c, m, c, e, f, u) || Q(m, c, m, s, e, f, u) || Q(m, s, t, s, e, f, u) || Q(t, s, t, c, e, f, u))
|
|
123
|
+
return !0;
|
|
124
|
+
} else
|
|
125
|
+
o += L(m, c, m, s, f, u), o += L(t, s, t, c, f, u);
|
|
126
|
+
break;
|
|
127
|
+
case $.Z:
|
|
128
|
+
if (M) {
|
|
129
|
+
if (Q(n, v, t, c, e, f, u))
|
|
130
|
+
return !0;
|
|
131
|
+
} else
|
|
132
|
+
o += L(n, v, t, c, f, u);
|
|
133
|
+
n = t, v = c;
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return !M && !d(v, c) && (o += L(n, v, t, c, f, u) || 0), o !== 0;
|
|
138
|
+
}
|
|
139
|
+
function vr(b, e, M) {
|
|
140
|
+
return G(b, 0, !1, e, M);
|
|
141
|
+
}
|
|
142
|
+
function or(b, e, M, f) {
|
|
143
|
+
return G(b, e, !0, M, f);
|
|
144
|
+
}
|
|
145
|
+
export {
|
|
146
|
+
vr as contain,
|
|
147
|
+
or as containStroke
|
|
148
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import i from "./windingLine.js";
|
|
2
|
+
var c = 1e-8;
|
|
3
|
+
function o(a, n) {
|
|
4
|
+
return Math.abs(a - n) < c;
|
|
5
|
+
}
|
|
6
|
+
function d(a, n, v) {
|
|
7
|
+
var f = 0, r = a[0];
|
|
8
|
+
if (!r)
|
|
9
|
+
return !1;
|
|
10
|
+
for (var t = 1; t < a.length; t++) {
|
|
11
|
+
var u = a[t];
|
|
12
|
+
f += i(r[0], r[1], u[0], u[1], n, v), r = u;
|
|
13
|
+
}
|
|
14
|
+
var e = a[0];
|
|
15
|
+
return (!o(r[0], e[0]) || !o(r[1], e[1])) && (f += i(r[0], r[1], e[0], e[1], n, v)), f !== 0;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
d as contain
|
|
19
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { quadraticProjectPoint as m } from "../core/curve.js";
|
|
2
|
+
function s(o, a, e, f, u, i, c, t, n) {
|
|
3
|
+
if (c === 0)
|
|
4
|
+
return !1;
|
|
5
|
+
var r = c;
|
|
6
|
+
if (n > a + r && n > f + r && n > i + r || n < a - r && n < f - r && n < i - r || t > o + r && t > e + r && t > u + r || t < o - r && t < e - r && t < u - r)
|
|
7
|
+
return !1;
|
|
8
|
+
var l = m(o, a, e, f, u, i, t, n, null);
|
|
9
|
+
return l <= r / 2;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
s as containStroke
|
|
13
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import u from "../core/BoundingRect.js";
|
|
2
|
+
import v from "../core/LRU.js";
|
|
3
|
+
import { platformApi as p, DEFAULT_FONT as k } from "../core/platform.js";
|
|
4
|
+
var f = {};
|
|
5
|
+
function b(e, i) {
|
|
6
|
+
i = i || k;
|
|
7
|
+
var r = f[i];
|
|
8
|
+
r || (r = f[i] = new v(500));
|
|
9
|
+
var o = r.get(e);
|
|
10
|
+
return o == null && (o = p.measureText(e, i).width, r.put(e, o)), o;
|
|
11
|
+
}
|
|
12
|
+
function g(e, i, r, o) {
|
|
13
|
+
var t = b(e, i), l = x(i), a = w(0, t, r), c = T(0, l, o), n = new u(a, c, t, l);
|
|
14
|
+
return n;
|
|
15
|
+
}
|
|
16
|
+
function F(e, i, r, o) {
|
|
17
|
+
var t = ((e || "") + "").split(`
|
|
18
|
+
`), l = t.length;
|
|
19
|
+
if (l === 1)
|
|
20
|
+
return g(t[0], i, r, o);
|
|
21
|
+
for (var a = new u(0, 0, 0, 0), c = 0; c < t.length; c++) {
|
|
22
|
+
var n = g(t[c], i, r, o);
|
|
23
|
+
c === 0 ? a.copy(n) : a.union(n);
|
|
24
|
+
}
|
|
25
|
+
return a;
|
|
26
|
+
}
|
|
27
|
+
function w(e, i, r) {
|
|
28
|
+
return r === "right" ? e -= i : r === "center" && (e -= i / 2), e;
|
|
29
|
+
}
|
|
30
|
+
function T(e, i, r) {
|
|
31
|
+
return r === "middle" ? e -= i / 2 : r === "bottom" && (e -= i), e;
|
|
32
|
+
}
|
|
33
|
+
function x(e) {
|
|
34
|
+
return b("国", e);
|
|
35
|
+
}
|
|
36
|
+
function m(e, i) {
|
|
37
|
+
return typeof e == "string" ? e.lastIndexOf("%") >= 0 ? parseFloat(e) / 100 * i : parseFloat(e) : e;
|
|
38
|
+
}
|
|
39
|
+
function R(e, i, r) {
|
|
40
|
+
var o = i.position || "inside", t = i.distance != null ? i.distance : 5, l = r.height, a = r.width, c = l / 2, n = r.x, s = r.y, d = "left", h = "top";
|
|
41
|
+
if (o instanceof Array)
|
|
42
|
+
n += m(o[0], r.width), s += m(o[1], r.height), d = null, h = null;
|
|
43
|
+
else
|
|
44
|
+
switch (o) {
|
|
45
|
+
case "left":
|
|
46
|
+
n -= t, s += c, d = "right", h = "middle";
|
|
47
|
+
break;
|
|
48
|
+
case "right":
|
|
49
|
+
n += t + a, s += c, h = "middle";
|
|
50
|
+
break;
|
|
51
|
+
case "top":
|
|
52
|
+
n += a / 2, s -= t, d = "center", h = "bottom";
|
|
53
|
+
break;
|
|
54
|
+
case "bottom":
|
|
55
|
+
n += a / 2, s += l + t, d = "center";
|
|
56
|
+
break;
|
|
57
|
+
case "inside":
|
|
58
|
+
n += a / 2, s += c, d = "center", h = "middle";
|
|
59
|
+
break;
|
|
60
|
+
case "insideLeft":
|
|
61
|
+
n += t, s += c, h = "middle";
|
|
62
|
+
break;
|
|
63
|
+
case "insideRight":
|
|
64
|
+
n += a - t, s += c, d = "right", h = "middle";
|
|
65
|
+
break;
|
|
66
|
+
case "insideTop":
|
|
67
|
+
n += a / 2, s += t, d = "center";
|
|
68
|
+
break;
|
|
69
|
+
case "insideBottom":
|
|
70
|
+
n += a / 2, s += l - t, d = "center", h = "bottom";
|
|
71
|
+
break;
|
|
72
|
+
case "insideTopLeft":
|
|
73
|
+
n += t, s += t;
|
|
74
|
+
break;
|
|
75
|
+
case "insideTopRight":
|
|
76
|
+
n += a - t, s += t, d = "right";
|
|
77
|
+
break;
|
|
78
|
+
case "insideBottomLeft":
|
|
79
|
+
n += t, s += l - t, h = "bottom";
|
|
80
|
+
break;
|
|
81
|
+
case "insideBottomRight":
|
|
82
|
+
n += a - t, s += l - t, d = "right", h = "bottom";
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
return e = e || {}, e.x = n, e.y = s, e.align = d, e.verticalAlign = h, e;
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
w as adjustTextX,
|
|
89
|
+
T as adjustTextY,
|
|
90
|
+
R as calculateTextPosition,
|
|
91
|
+
F as getBoundingRect,
|
|
92
|
+
x as getLineHeight,
|
|
93
|
+
b as getWidth,
|
|
94
|
+
g as innerGetBoundingRect,
|
|
95
|
+
m as parsePercent
|
|
96
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function v(e, r, d, i, f, n) {
|
|
2
|
+
if (n > r && n > i || n < r && n < i || i === r)
|
|
3
|
+
return 0;
|
|
4
|
+
var t = (n - r) / (i - r), a = i < r ? 1 : -1;
|
|
5
|
+
(t === 1 || t === 0) && (a = i < r ? 0.5 : -0.5);
|
|
6
|
+
var u = t * (d - e) + e;
|
|
7
|
+
return u === f ? 1 / 0 : u > f ? a : 0;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
v as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { translate as j, scale as k, create as q } from "./matrix.js";
|
|
2
|
+
import s from "./Point.js";
|
|
3
|
+
var R = Math.min, I = Math.max, y = new s(), r = new s(), f = new s(), o = new s(), T = new s(), M = new s(), C = (function() {
|
|
4
|
+
function n(i, h, t, a) {
|
|
5
|
+
t < 0 && (i = i + t, t = -t), a < 0 && (h = h + a, a = -a), this.x = i, this.y = h, this.width = t, this.height = a;
|
|
6
|
+
}
|
|
7
|
+
return n.prototype.union = function(i) {
|
|
8
|
+
var h = R(i.x, this.x), t = R(i.y, this.y);
|
|
9
|
+
isFinite(this.x) && isFinite(this.width) ? this.width = I(i.x + i.width, this.x + this.width) - h : this.width = i.width, isFinite(this.y) && isFinite(this.height) ? this.height = I(i.y + i.height, this.y + this.height) - t : this.height = i.height, this.x = h, this.y = t;
|
|
10
|
+
}, n.prototype.applyTransform = function(i) {
|
|
11
|
+
n.applyTransform(this, this, i);
|
|
12
|
+
}, n.prototype.calculateTransform = function(i) {
|
|
13
|
+
var h = this, t = i.width / h.width, a = i.height / h.height, e = q();
|
|
14
|
+
return j(e, e, [-h.x, -h.y]), k(e, e, [t, a]), j(e, e, [i.x, i.y]), e;
|
|
15
|
+
}, n.prototype.intersect = function(i, h) {
|
|
16
|
+
if (!i)
|
|
17
|
+
return !1;
|
|
18
|
+
i instanceof n || (i = n.create(i));
|
|
19
|
+
var t = this, a = t.x, e = t.x + t.width, x = t.y, p = t.y + t.height, w = i.x, l = i.x + i.width, P = i.y, X = i.y + i.height, Y = !(e < w || l < a || p < P || X < x);
|
|
20
|
+
if (h) {
|
|
21
|
+
var g = 1 / 0, B = 0, u = Math.abs(e - w), c = Math.abs(l - a), m = Math.abs(p - P), F = Math.abs(X - x), v = Math.min(u, c), Z = Math.min(m, F);
|
|
22
|
+
e < w || l < a ? v > B && (B = v, u < c ? s.set(M, -u, 0) : s.set(M, c, 0)) : v < g && (g = v, u < c ? s.set(T, u, 0) : s.set(T, -c, 0)), p < P || X < x ? Z > B && (B = Z, m < F ? s.set(M, 0, -m) : s.set(M, 0, F)) : v < g && (g = v, m < F ? s.set(T, 0, m) : s.set(T, 0, -F));
|
|
23
|
+
}
|
|
24
|
+
return h && s.copy(h, Y ? T : M), Y;
|
|
25
|
+
}, n.prototype.contain = function(i, h) {
|
|
26
|
+
var t = this;
|
|
27
|
+
return i >= t.x && i <= t.x + t.width && h >= t.y && h <= t.y + t.height;
|
|
28
|
+
}, n.prototype.clone = function() {
|
|
29
|
+
return new n(this.x, this.y, this.width, this.height);
|
|
30
|
+
}, n.prototype.copy = function(i) {
|
|
31
|
+
n.copy(this, i);
|
|
32
|
+
}, n.prototype.plain = function() {
|
|
33
|
+
return {
|
|
34
|
+
x: this.x,
|
|
35
|
+
y: this.y,
|
|
36
|
+
width: this.width,
|
|
37
|
+
height: this.height
|
|
38
|
+
};
|
|
39
|
+
}, n.prototype.isFinite = function() {
|
|
40
|
+
return isFinite(this.x) && isFinite(this.y) && isFinite(this.width) && isFinite(this.height);
|
|
41
|
+
}, n.prototype.isZero = function() {
|
|
42
|
+
return this.width === 0 || this.height === 0;
|
|
43
|
+
}, n.create = function(i) {
|
|
44
|
+
return new n(i.x, i.y, i.width, i.height);
|
|
45
|
+
}, n.copy = function(i, h) {
|
|
46
|
+
i.x = h.x, i.y = h.y, i.width = h.width, i.height = h.height;
|
|
47
|
+
}, n.applyTransform = function(i, h, t) {
|
|
48
|
+
if (!t) {
|
|
49
|
+
i !== h && n.copy(i, h);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (t[1] < 1e-5 && t[1] > -1e-5 && t[2] < 1e-5 && t[2] > -1e-5) {
|
|
53
|
+
var a = t[0], e = t[3], x = t[4], p = t[5];
|
|
54
|
+
i.x = h.x * a + x, i.y = h.y * e + p, i.width = h.width * a, i.height = h.height * e, i.width < 0 && (i.x += i.width, i.width = -i.width), i.height < 0 && (i.y += i.height, i.height = -i.height);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
y.x = f.x = h.x, y.y = o.y = h.y, r.x = o.x = h.x + h.width, r.y = f.y = h.y + h.height, y.transform(t), o.transform(t), r.transform(t), f.transform(t), i.x = R(y.x, r.x, f.x, o.x), i.y = R(y.y, r.y, f.y, o.y);
|
|
58
|
+
var w = I(y.x, r.x, f.x, o.x), l = I(y.y, r.y, f.y, o.y);
|
|
59
|
+
i.width = w - i.x, i.height = l - i.y;
|
|
60
|
+
}, n;
|
|
61
|
+
})();
|
|
62
|
+
export {
|
|
63
|
+
C as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
var e = (function() {
|
|
2
|
+
function u(r) {
|
|
3
|
+
r && (this._$eventProcessor = r);
|
|
4
|
+
}
|
|
5
|
+
return u.prototype.on = function(r, a, t, i) {
|
|
6
|
+
this._$handlers || (this._$handlers = {});
|
|
7
|
+
var s = this._$handlers;
|
|
8
|
+
if (typeof a == "function" && (i = t, t = a, a = null), !t || !r)
|
|
9
|
+
return this;
|
|
10
|
+
var f = this._$eventProcessor;
|
|
11
|
+
a != null && f && f.normalizeQuery && (a = f.normalizeQuery(a)), s[r] || (s[r] = []);
|
|
12
|
+
for (var h = 0; h < s[r].length; h++)
|
|
13
|
+
if (s[r][h].h === t)
|
|
14
|
+
return this;
|
|
15
|
+
var o = {
|
|
16
|
+
h: t,
|
|
17
|
+
query: a,
|
|
18
|
+
ctx: i || this,
|
|
19
|
+
callAtLast: t.zrEventfulCallAtLast
|
|
20
|
+
}, l = s[r].length - 1, n = s[r][l];
|
|
21
|
+
return n && n.callAtLast ? s[r].splice(l, 0, o) : s[r].push(o), this;
|
|
22
|
+
}, u.prototype.isSilent = function(r) {
|
|
23
|
+
var a = this._$handlers;
|
|
24
|
+
return !a || !a[r] || !a[r].length;
|
|
25
|
+
}, u.prototype.off = function(r, a) {
|
|
26
|
+
var t = this._$handlers;
|
|
27
|
+
if (!t)
|
|
28
|
+
return this;
|
|
29
|
+
if (!r)
|
|
30
|
+
return this._$handlers = {}, this;
|
|
31
|
+
if (a) {
|
|
32
|
+
if (t[r]) {
|
|
33
|
+
for (var i = [], s = 0, f = t[r].length; s < f; s++)
|
|
34
|
+
t[r][s].h !== a && i.push(t[r][s]);
|
|
35
|
+
t[r] = i;
|
|
36
|
+
}
|
|
37
|
+
t[r] && t[r].length === 0 && delete t[r];
|
|
38
|
+
} else
|
|
39
|
+
delete t[r];
|
|
40
|
+
return this;
|
|
41
|
+
}, u.prototype.trigger = function(r) {
|
|
42
|
+
for (var a = [], t = 1; t < arguments.length; t++)
|
|
43
|
+
a[t - 1] = arguments[t];
|
|
44
|
+
if (!this._$handlers)
|
|
45
|
+
return this;
|
|
46
|
+
var i = this._$handlers[r], s = this._$eventProcessor;
|
|
47
|
+
if (i)
|
|
48
|
+
for (var f = a.length, h = i.length, o = 0; o < h; o++) {
|
|
49
|
+
var l = i[o];
|
|
50
|
+
if (!(s && s.filter && l.query != null && !s.filter(r, l.query)))
|
|
51
|
+
switch (f) {
|
|
52
|
+
case 0:
|
|
53
|
+
l.h.call(l.ctx);
|
|
54
|
+
break;
|
|
55
|
+
case 1:
|
|
56
|
+
l.h.call(l.ctx, a[0]);
|
|
57
|
+
break;
|
|
58
|
+
case 2:
|
|
59
|
+
l.h.call(l.ctx, a[0], a[1]);
|
|
60
|
+
break;
|
|
61
|
+
default:
|
|
62
|
+
l.h.apply(l.ctx, a);
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return s && s.afterTrigger && s.afterTrigger(r), this;
|
|
67
|
+
}, u.prototype.triggerWithContext = function(r) {
|
|
68
|
+
for (var a = [], t = 1; t < arguments.length; t++)
|
|
69
|
+
a[t - 1] = arguments[t];
|
|
70
|
+
if (!this._$handlers)
|
|
71
|
+
return this;
|
|
72
|
+
var i = this._$handlers[r], s = this._$eventProcessor;
|
|
73
|
+
if (i)
|
|
74
|
+
for (var f = a.length, h = a[f - 1], o = i.length, l = 0; l < o; l++) {
|
|
75
|
+
var n = i[l];
|
|
76
|
+
if (!(s && s.filter && n.query != null && !s.filter(r, n.query)))
|
|
77
|
+
switch (f) {
|
|
78
|
+
case 0:
|
|
79
|
+
n.h.call(h);
|
|
80
|
+
break;
|
|
81
|
+
case 1:
|
|
82
|
+
n.h.call(h, a[0]);
|
|
83
|
+
break;
|
|
84
|
+
case 2:
|
|
85
|
+
n.h.call(h, a[0], a[1]);
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
n.h.apply(h, a.slice(1, f - 1));
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return s && s.afterTrigger && s.afterTrigger(r), this;
|
|
93
|
+
}, u;
|
|
94
|
+
})();
|
|
95
|
+
export {
|
|
96
|
+
e as default
|
|
97
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { clientToLocal as p } from "./event.js";
|
|
2
|
+
var _ = (function() {
|
|
3
|
+
function r() {
|
|
4
|
+
this._track = [];
|
|
5
|
+
}
|
|
6
|
+
return r.prototype.recognize = function(t, n, e) {
|
|
7
|
+
return this._doTrack(t, n, e), this._recognize(t);
|
|
8
|
+
}, r.prototype.clear = function() {
|
|
9
|
+
return this._track.length = 0, this;
|
|
10
|
+
}, r.prototype._doTrack = function(t, n, e) {
|
|
11
|
+
var o = t.touches;
|
|
12
|
+
if (o) {
|
|
13
|
+
for (var c = {
|
|
14
|
+
points: [],
|
|
15
|
+
touches: [],
|
|
16
|
+
target: n,
|
|
17
|
+
event: t
|
|
18
|
+
}, i = 0, f = o.length; i < f; i++) {
|
|
19
|
+
var h = o[i], a = p(e, h, {});
|
|
20
|
+
c.points.push([a.zrX, a.zrY]), c.touches.push(h);
|
|
21
|
+
}
|
|
22
|
+
this._track.push(c);
|
|
23
|
+
}
|
|
24
|
+
}, r.prototype._recognize = function(t) {
|
|
25
|
+
for (var n in u)
|
|
26
|
+
if (u.hasOwnProperty(n)) {
|
|
27
|
+
var e = u[n](this._track, t);
|
|
28
|
+
if (e)
|
|
29
|
+
return e;
|
|
30
|
+
}
|
|
31
|
+
}, r;
|
|
32
|
+
})();
|
|
33
|
+
function s(r) {
|
|
34
|
+
var t = r[1][0] - r[0][0], n = r[1][1] - r[0][1];
|
|
35
|
+
return Math.sqrt(t * t + n * n);
|
|
36
|
+
}
|
|
37
|
+
function g(r) {
|
|
38
|
+
return [
|
|
39
|
+
(r[0][0] + r[1][0]) / 2,
|
|
40
|
+
(r[0][1] + r[1][1]) / 2
|
|
41
|
+
];
|
|
42
|
+
}
|
|
43
|
+
var u = {
|
|
44
|
+
pinch: function(r, t) {
|
|
45
|
+
var n = r.length;
|
|
46
|
+
if (n) {
|
|
47
|
+
var e = (r[n - 1] || {}).points, o = (r[n - 2] || {}).points || e;
|
|
48
|
+
if (o && o.length > 1 && e && e.length > 1) {
|
|
49
|
+
var c = s(e) / s(o);
|
|
50
|
+
!isFinite(c) && (c = 1), t.pinchScale = c;
|
|
51
|
+
var i = g(e);
|
|
52
|
+
return t.pinchX = i[0], t.pinchY = i[1], {
|
|
53
|
+
type: "pinch",
|
|
54
|
+
target: r[0].target,
|
|
55
|
+
event: t
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
_ as GestureMgr
|
|
63
|
+
};
|