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,211 @@
|
|
|
1
|
+
import { findExistImage as I, isImageReady as P } from "./image.js";
|
|
2
|
+
import { retrieve2 as x, retrieve3 as j, extend as S, reduce as y } from "../../core/util.js";
|
|
3
|
+
import { getLineHeight as N, getWidth as o, parsePercent as k } from "../../contain/text.js";
|
|
4
|
+
var D = /\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;
|
|
5
|
+
function rr(i, r, a, t, v, l) {
|
|
6
|
+
if (!a) {
|
|
7
|
+
i.text = "", i.isTruncated = !1;
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
var n = (r + "").split(`
|
|
11
|
+
`);
|
|
12
|
+
l = Q(a, t, v, l);
|
|
13
|
+
for (var e = !1, h = {}, f = 0, c = n.length; f < c; f++)
|
|
14
|
+
U(h, n[f], l), n[f] = h.textLine, e = e || h.isTruncated;
|
|
15
|
+
i.text = n.join(`
|
|
16
|
+
`), i.isTruncated = e;
|
|
17
|
+
}
|
|
18
|
+
function Q(i, r, a, t) {
|
|
19
|
+
t = t || {};
|
|
20
|
+
var v = S({}, t);
|
|
21
|
+
v.font = r, a = x(a, "..."), v.maxIterations = x(t.maxIterations, 2);
|
|
22
|
+
var l = v.minChar = x(t.minChar, 0);
|
|
23
|
+
v.cnCharWidth = o("国", r);
|
|
24
|
+
var n = v.ascCharWidth = o("a", r);
|
|
25
|
+
v.placeholder = x(t.placeholder, "");
|
|
26
|
+
for (var e = i = Math.max(0, i - 1), h = 0; h < l && e >= n; h++)
|
|
27
|
+
e -= n;
|
|
28
|
+
var f = o(a, r);
|
|
29
|
+
return f > e && (a = "", f = 0), e = i - f, v.ellipsis = a, v.ellipsisWidth = f, v.contentWidth = e, v.containerWidth = i, v;
|
|
30
|
+
}
|
|
31
|
+
function U(i, r, a) {
|
|
32
|
+
var t = a.containerWidth, v = a.font, l = a.contentWidth;
|
|
33
|
+
if (!t) {
|
|
34
|
+
i.textLine = "", i.isTruncated = !1;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
var n = o(r, v);
|
|
38
|
+
if (n <= t) {
|
|
39
|
+
i.textLine = r, i.isTruncated = !1;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
for (var e = 0; ; e++) {
|
|
43
|
+
if (n <= l || e >= a.maxIterations) {
|
|
44
|
+
r += a.ellipsis;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
var h = e === 0 ? ar(r, l, a.ascCharWidth, a.cnCharWidth) : n > 0 ? Math.floor(r.length * l / n) : 0;
|
|
48
|
+
r = r.substr(0, h), n = o(r, v);
|
|
49
|
+
}
|
|
50
|
+
r === "" && (r = a.placeholder), i.textLine = r, i.isTruncated = !0;
|
|
51
|
+
}
|
|
52
|
+
function ar(i, r, a, t) {
|
|
53
|
+
for (var v = 0, l = 0, n = i.length; l < n && v < r; l++) {
|
|
54
|
+
var e = i.charCodeAt(l);
|
|
55
|
+
v += 0 <= e && e <= 127 ? a : t;
|
|
56
|
+
}
|
|
57
|
+
return l;
|
|
58
|
+
}
|
|
59
|
+
function cr(i, r) {
|
|
60
|
+
i != null && (i += "");
|
|
61
|
+
var a = r.overflow, t = r.padding, v = r.font, l = a === "truncate", n = N(v), e = x(r.lineHeight, n), h = !!r.backgroundColor, f = r.lineOverflow === "truncate", c = !1, g = r.width, s;
|
|
62
|
+
g != null && (a === "break" || a === "breakAll") ? s = i ? V(i, r.font, g, a === "breakAll", 0).lines : [] : s = i ? i.split(`
|
|
63
|
+
`) : [];
|
|
64
|
+
var w = s.length * e, m = x(r.height, w);
|
|
65
|
+
if (w > m && f) {
|
|
66
|
+
var b = Math.floor(m / e);
|
|
67
|
+
c = c || s.length > b, s = s.slice(0, b);
|
|
68
|
+
}
|
|
69
|
+
if (i && l && g != null)
|
|
70
|
+
for (var W = Q(g, v, r.ellipsis, {
|
|
71
|
+
minChar: r.truncateMinChar,
|
|
72
|
+
placeholder: r.placeholder
|
|
73
|
+
}), C = {}, d = 0; d < s.length; d++)
|
|
74
|
+
U(C, s[d], W), s[d] = C.textLine, c = c || C.isTruncated;
|
|
75
|
+
for (var p = m, T = 0, d = 0; d < s.length; d++)
|
|
76
|
+
T = Math.max(o(s[d], v), T);
|
|
77
|
+
g == null && (g = T);
|
|
78
|
+
var A = T;
|
|
79
|
+
return t && (p += t[0] + t[2], A += t[1] + t[3], g += t[1] + t[3]), h && (A = g), {
|
|
80
|
+
lines: s,
|
|
81
|
+
height: m,
|
|
82
|
+
outerWidth: A,
|
|
83
|
+
outerHeight: p,
|
|
84
|
+
lineHeight: e,
|
|
85
|
+
calculatedLineHeight: n,
|
|
86
|
+
contentWidth: T,
|
|
87
|
+
contentHeight: w,
|
|
88
|
+
width: g,
|
|
89
|
+
isTruncated: c
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
var ir = /* @__PURE__ */ (function() {
|
|
93
|
+
function i() {
|
|
94
|
+
}
|
|
95
|
+
return i;
|
|
96
|
+
})(), K = /* @__PURE__ */ (function() {
|
|
97
|
+
function i(r) {
|
|
98
|
+
this.tokens = [], r && (this.tokens = r);
|
|
99
|
+
}
|
|
100
|
+
return i;
|
|
101
|
+
})(), er = /* @__PURE__ */ (function() {
|
|
102
|
+
function i() {
|
|
103
|
+
this.width = 0, this.height = 0, this.contentWidth = 0, this.contentHeight = 0, this.outerWidth = 0, this.outerHeight = 0, this.lines = [], this.isTruncated = !1;
|
|
104
|
+
}
|
|
105
|
+
return i;
|
|
106
|
+
})();
|
|
107
|
+
function fr(i, r) {
|
|
108
|
+
var a = new er();
|
|
109
|
+
if (i != null && (i += ""), !i)
|
|
110
|
+
return a;
|
|
111
|
+
for (var t = r.width, v = r.height, l = r.overflow, n = (l === "break" || l === "breakAll") && t != null ? { width: t, accumWidth: 0, breakAll: l === "breakAll" } : null, e = D.lastIndex = 0, h; (h = D.exec(i)) != null; ) {
|
|
112
|
+
var f = h.index;
|
|
113
|
+
f > e && G(a, i.substring(e, f), r, n), G(a, h[2], r, n, h[1]), e = D.lastIndex;
|
|
114
|
+
}
|
|
115
|
+
e < i.length && G(a, i.substring(e, i.length), r, n);
|
|
116
|
+
var c = [], g = 0, s = 0, w = r.padding, m = l === "truncate", b = r.lineOverflow === "truncate", W = {};
|
|
117
|
+
function C(_, q, J) {
|
|
118
|
+
_.width = q, _.lineHeight = J, g += J, s = Math.max(s, q);
|
|
119
|
+
}
|
|
120
|
+
r: for (var d = 0; d < a.lines.length; d++) {
|
|
121
|
+
for (var p = a.lines[d], T = 0, A = 0, F = 0; F < p.tokens.length; F++) {
|
|
122
|
+
var u = p.tokens[F], H = u.styleName && r.rich[u.styleName] || {}, L = u.textPadding = H.padding, z = L ? L[1] + L[3] : 0, E = u.font = H.font || r.font;
|
|
123
|
+
u.contentHeight = N(E);
|
|
124
|
+
var O = x(H.height, u.contentHeight);
|
|
125
|
+
if (u.innerHeight = O, L && (O += L[0] + L[2]), u.height = O, u.lineHeight = j(H.lineHeight, r.lineHeight, O), u.align = H && H.align || r.align, u.verticalAlign = H && H.verticalAlign || "middle", b && v != null && g + u.lineHeight > v) {
|
|
126
|
+
var X = a.lines.length;
|
|
127
|
+
F > 0 ? (p.tokens = p.tokens.slice(0, F), C(p, A, T), a.lines = a.lines.slice(0, d + 1)) : a.lines = a.lines.slice(0, d), a.isTruncated = a.isTruncated || a.lines.length < X;
|
|
128
|
+
break r;
|
|
129
|
+
}
|
|
130
|
+
var M = H.width, Y = M == null || M === "auto";
|
|
131
|
+
if (typeof M == "string" && M.charAt(M.length - 1) === "%")
|
|
132
|
+
u.percentWidth = M, c.push(u), u.contentWidth = o(u.text, E);
|
|
133
|
+
else {
|
|
134
|
+
if (Y) {
|
|
135
|
+
var Z = H.backgroundColor, R = Z && Z.image;
|
|
136
|
+
R && (R = I(R), P(R) && (u.width = Math.max(u.width, R.width * O / R.height)));
|
|
137
|
+
}
|
|
138
|
+
var B = m && t != null ? t - A : null;
|
|
139
|
+
B != null && B < u.width ? !Y || B < z ? (u.text = "", u.width = u.contentWidth = 0) : (rr(W, u.text, B - z, E, r.ellipsis, { minChar: r.truncateMinChar }), u.text = W.text, a.isTruncated = a.isTruncated || W.isTruncated, u.width = u.contentWidth = o(u.text, E)) : u.contentWidth = o(u.text, E);
|
|
140
|
+
}
|
|
141
|
+
u.width += z, A += u.width, H && (T = Math.max(T, u.lineHeight));
|
|
142
|
+
}
|
|
143
|
+
C(p, A, T);
|
|
144
|
+
}
|
|
145
|
+
a.outerWidth = a.width = x(t, s), a.outerHeight = a.height = x(v, g), a.contentHeight = g, a.contentWidth = s, w && (a.outerWidth += w[1] + w[3], a.outerHeight += w[0] + w[2]);
|
|
146
|
+
for (var d = 0; d < c.length; d++) {
|
|
147
|
+
var u = c[d], $ = u.percentWidth;
|
|
148
|
+
u.width = parseInt($, 10) / 100 * a.width;
|
|
149
|
+
}
|
|
150
|
+
return a;
|
|
151
|
+
}
|
|
152
|
+
function G(i, r, a, t, v) {
|
|
153
|
+
var l = r === "", n = v && a.rich[v] || {}, e = i.lines, h = n.font || a.font, f = !1, c, g;
|
|
154
|
+
if (t) {
|
|
155
|
+
var s = n.padding, w = s ? s[1] + s[3] : 0;
|
|
156
|
+
if (n.width != null && n.width !== "auto") {
|
|
157
|
+
var m = k(n.width, t.width) + w;
|
|
158
|
+
e.length > 0 && m + t.accumWidth > t.width && (c = r.split(`
|
|
159
|
+
`), f = !0), t.accumWidth = m;
|
|
160
|
+
} else {
|
|
161
|
+
var b = V(r, h, t.width, t.breakAll, t.accumWidth);
|
|
162
|
+
t.accumWidth = b.accumWidth + w, g = b.linesWidths, c = b.lines;
|
|
163
|
+
}
|
|
164
|
+
} else
|
|
165
|
+
c = r.split(`
|
|
166
|
+
`);
|
|
167
|
+
for (var W = 0; W < c.length; W++) {
|
|
168
|
+
var C = c[W], d = new ir();
|
|
169
|
+
if (d.styleName = v, d.text = C, d.isLineHolder = !C && !l, typeof n.width == "number" ? d.width = n.width : d.width = g ? g[W] : o(C, h), !W && !f) {
|
|
170
|
+
var p = (e[e.length - 1] || (e[0] = new K())).tokens, T = p.length;
|
|
171
|
+
T === 1 && p[0].isLineHolder ? p[0] = d : (C || !T || l) && p.push(d);
|
|
172
|
+
} else
|
|
173
|
+
e.push(new K([d]));
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function tr(i) {
|
|
177
|
+
var r = i.charCodeAt(0);
|
|
178
|
+
return r >= 32 && r <= 591 || r >= 880 && r <= 4351 || r >= 4608 && r <= 5119 || r >= 7680 && r <= 8303;
|
|
179
|
+
}
|
|
180
|
+
var nr = y(",&?/;] ".split(""), function(i, r) {
|
|
181
|
+
return i[r] = !0, i;
|
|
182
|
+
}, {});
|
|
183
|
+
function hr(i) {
|
|
184
|
+
return tr(i) ? !!nr[i] : !0;
|
|
185
|
+
}
|
|
186
|
+
function V(i, r, a, t, v) {
|
|
187
|
+
for (var l = [], n = [], e = "", h = "", f = 0, c = 0, g = 0; g < i.length; g++) {
|
|
188
|
+
var s = i.charAt(g);
|
|
189
|
+
if (s === `
|
|
190
|
+
`) {
|
|
191
|
+
h && (e += h, c += f), l.push(e), n.push(c), e = "", h = "", f = 0, c = 0;
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
var w = o(s, r), m = t ? !1 : !hr(s);
|
|
195
|
+
if (l.length ? c + w > a : v + c + w > a) {
|
|
196
|
+
c ? (e || h) && (m ? (e || (e = h, h = "", f = 0, c = f), l.push(e), n.push(c - f), h += s, f += w, e = "", c = f) : (h && (e += h, h = "", f = 0), l.push(e), n.push(c), e = s, c = w)) : m ? (l.push(h), n.push(f), h = s, f = w) : (l.push(s), n.push(w));
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
c += w, m ? (h += s, f += w) : (h && (e += h, h = "", f = 0), e += s);
|
|
200
|
+
}
|
|
201
|
+
return !l.length && !e && (e = i, h = "", f = 0), h && (e += h), e && (l.push(e), n.push(c)), l.length === 1 && (c += v), {
|
|
202
|
+
accumWidth: c,
|
|
203
|
+
lines: l,
|
|
204
|
+
linesWidths: n
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
export {
|
|
208
|
+
er as RichTextContentBlock,
|
|
209
|
+
cr as parsePlainText,
|
|
210
|
+
fr as parseRichText
|
|
211
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import T from "./smoothBezier.js";
|
|
2
|
+
function u(v, e, a) {
|
|
3
|
+
var t = e.smooth, o = e.points;
|
|
4
|
+
if (o && o.length >= 2) {
|
|
5
|
+
if (t) {
|
|
6
|
+
var i = T(o, t, a, e.smoothConstraint);
|
|
7
|
+
v.moveTo(o[0][0], o[0][1]);
|
|
8
|
+
for (var m = o.length, r = 0; r < (a ? m : m - 1); r++) {
|
|
9
|
+
var f = i[r * 2], n = i[r * 2 + 1], h = o[(r + 1) % m];
|
|
10
|
+
v.bezierCurveTo(f[0], f[1], n[0], n[1], h[0], h[1]);
|
|
11
|
+
}
|
|
12
|
+
} else {
|
|
13
|
+
v.moveTo(o[0][0], o[0][1]);
|
|
14
|
+
for (var r = 1, s = o.length; r < s; r++)
|
|
15
|
+
v.lineTo(o[r][0], o[r][1]);
|
|
16
|
+
}
|
|
17
|
+
a && v.closePath();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
u as buildPath
|
|
22
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function I(v, P) {
|
|
2
|
+
var t = P.x, o = P.y, l = P.width, h = P.height, f = P.r, r, i, a, e;
|
|
3
|
+
l < 0 && (t = t + l, l = -l), h < 0 && (o = o + h, h = -h), typeof f == "number" ? r = i = a = e = f : f instanceof Array ? f.length === 1 ? r = i = a = e = f[0] : f.length === 2 ? (r = a = f[0], i = e = f[1]) : f.length === 3 ? (r = f[0], i = e = f[1], a = f[2]) : (r = f[0], i = f[1], a = f[2], e = f[3]) : r = i = a = e = 0;
|
|
4
|
+
var n;
|
|
5
|
+
r + i > l && (n = r + i, r *= l / n, i *= l / n), a + e > l && (n = a + e, a *= l / n, e *= l / n), i + a > h && (n = i + a, i *= h / n, a *= h / n), r + e > h && (n = r + e, r *= h / n, e *= h / n), v.moveTo(t + r, o), v.lineTo(t + l - i, o), i !== 0 && v.arc(t + l - i, o + i, i, -Math.PI / 2, 0), v.lineTo(t + l, o + h - a), a !== 0 && v.arc(t + l - a, o + h - a, a, 0, Math.PI / 2), v.lineTo(t + e, o + h), e !== 0 && v.arc(t + e, o + h - e, e, Math.PI / 2, Math.PI), v.lineTo(t, o + r), r !== 0 && v.arc(t + r, o + r, r, Math.PI, Math.PI * 1.5);
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
I as buildPath
|
|
9
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { isArray as yv } from "../../core/util.js";
|
|
2
|
+
var fv = Math.PI, vv = fv * 2, Q = Math.sin, Y = Math.cos, ev = Math.acos, h = Math.atan2, nv = Math.abs, S = Math.sqrt, p = Math.max, C = Math.min, s = 1e-4;
|
|
3
|
+
function uv(v, u, i, e, r, N, Z, G) {
|
|
4
|
+
var d = i - v, T = e - u, o = Z - r, n = G - N, f = n * d - o * T;
|
|
5
|
+
if (!(f * f < s))
|
|
6
|
+
return f = (o * (u - N) - n * (v - r)) / f, [v + f * d, u + f * T];
|
|
7
|
+
}
|
|
8
|
+
function O(v, u, i, e, r, N, Z) {
|
|
9
|
+
var G = v - i, d = u - e, T = (Z ? N : -N) / S(G * G + d * d), o = T * d, n = -T * G, f = v + o, l = u + n, U = i + o, H = e + n, V = (f + U) / 2, W = (l + H) / 2, g = U - f, A = H - l, B = g * g + A * A, J = r - N, b = f * H - U * l, k = (A < 0 ? -1 : 1) * S(p(0, J * J * B - b * b)), q = (b * A - g * k) / B, m = (-b * g - A * k) / B, P = (b * A + g * k) / B, D = (-b * g + A * k) / B, F = q - V, K = m - W, L = P - V, w = D - W;
|
|
10
|
+
return F * F + K * K > L * L + w * w && (q = P, m = D), {
|
|
11
|
+
cx: q,
|
|
12
|
+
cy: m,
|
|
13
|
+
x0: -o,
|
|
14
|
+
y0: -n,
|
|
15
|
+
x1: q * (r / J - 1),
|
|
16
|
+
y1: m * (r / J - 1)
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function dv(v) {
|
|
20
|
+
var u;
|
|
21
|
+
if (yv(v)) {
|
|
22
|
+
var i = v.length;
|
|
23
|
+
if (!i)
|
|
24
|
+
return v;
|
|
25
|
+
i === 1 ? u = [v[0], v[0], 0, 0] : i === 2 ? u = [v[0], v[0], v[1], v[1]] : i === 3 ? u = v.concat(v[2]) : u = v;
|
|
26
|
+
} else
|
|
27
|
+
u = [v, v, v, v];
|
|
28
|
+
return u;
|
|
29
|
+
}
|
|
30
|
+
function hv(v, u) {
|
|
31
|
+
var i, e = p(u.r, 0), r = p(u.r0 || 0, 0), N = e > 0, Z = r > 0;
|
|
32
|
+
if (!(!N && !Z)) {
|
|
33
|
+
if (N || (e = r, r = 0), r > e) {
|
|
34
|
+
var G = e;
|
|
35
|
+
e = r, r = G;
|
|
36
|
+
}
|
|
37
|
+
var d = u.startAngle, T = u.endAngle;
|
|
38
|
+
if (!(isNaN(d) || isNaN(T))) {
|
|
39
|
+
var o = u.cx, n = u.cy, f = !!u.clockwise, l = nv(T - d), U = l > vv && l % vv;
|
|
40
|
+
if (U > s && (l = U), !(e > s))
|
|
41
|
+
v.moveTo(o, n);
|
|
42
|
+
else if (l > vv - s)
|
|
43
|
+
v.moveTo(o + e * Y(d), n + e * Q(d)), v.arc(o, n, e, d, T, !f), r > s && (v.moveTo(o + r * Y(T), n + r * Q(T)), v.arc(o, n, r, T, d, f));
|
|
44
|
+
else {
|
|
45
|
+
var H = void 0, V = void 0, W = void 0, g = void 0, A = void 0, B = void 0, J = void 0, b = void 0, k = void 0, q = void 0, m = void 0, P = void 0, D = void 0, F = void 0, K = void 0, L = void 0, w = e * Y(d), X = e * Q(d), $ = r * Y(T), I = r * Q(T), M = l > s;
|
|
46
|
+
if (M) {
|
|
47
|
+
var av = u.cornerRadius;
|
|
48
|
+
av && (i = dv(av), H = i[0], V = i[1], W = i[2], g = i[3]);
|
|
49
|
+
var E = nv(e - r) / 2;
|
|
50
|
+
if (A = C(E, W), B = C(E, g), J = C(E, H), b = C(E, V), m = k = p(A, B), P = q = p(J, b), (k > s || q > s) && (D = e * Y(T), F = e * Q(T), K = r * Y(d), L = r * Q(d), l < fv)) {
|
|
51
|
+
var z = uv(w, X, K, L, D, F, $, I);
|
|
52
|
+
if (z) {
|
|
53
|
+
var _ = w - z[0], x = X - z[1], t = D - z[0], c = F - z[1], rv = 1 / Q(ev((_ * t + x * c) / (S(_ * _ + x * x) * S(t * t + c * c))) / 2), ov = S(z[0] * z[0] + z[1] * z[1]);
|
|
54
|
+
m = C(k, (e - ov) / (rv + 1)), P = C(q, (r - ov) / (rv - 1));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (!M)
|
|
59
|
+
v.moveTo(o + w, n + X);
|
|
60
|
+
else if (m > s) {
|
|
61
|
+
var R = C(W, m), j = C(g, m), a = O(K, L, w, X, e, R, f), y = O(D, F, $, I, e, j, f);
|
|
62
|
+
v.moveTo(o + a.cx + a.x0, n + a.cy + a.y0), m < k && R === j ? v.arc(o + a.cx, n + a.cy, m, h(a.y0, a.x0), h(y.y0, y.x0), !f) : (R > 0 && v.arc(o + a.cx, n + a.cy, R, h(a.y0, a.x0), h(a.y1, a.x1), !f), v.arc(o, n, e, h(a.cy + a.y1, a.cx + a.x1), h(y.cy + y.y1, y.cx + y.x1), !f), j > 0 && v.arc(o + y.cx, n + y.cy, j, h(y.y1, y.x1), h(y.y0, y.x0), !f));
|
|
63
|
+
} else
|
|
64
|
+
v.moveTo(o + w, n + X), v.arc(o, n, e, d, T, !f);
|
|
65
|
+
if (!(r > s) || !M)
|
|
66
|
+
v.lineTo(o + $, n + I);
|
|
67
|
+
else if (P > s) {
|
|
68
|
+
var R = C(H, P), j = C(V, P), a = O($, I, D, F, r, -j, f), y = O(w, X, K, L, r, -R, f);
|
|
69
|
+
v.lineTo(o + a.cx + a.x0, n + a.cy + a.y0), P < q && R === j ? v.arc(o + a.cx, n + a.cy, P, h(a.y0, a.x0), h(y.y0, y.x0), !f) : (j > 0 && v.arc(o + a.cx, n + a.cy, j, h(a.y0, a.x0), h(a.y1, a.x1), !f), v.arc(o, n, r, h(a.cy + a.y1, a.cx + a.x1), h(y.cy + y.y1, y.cx + y.x1), f), R > 0 && v.arc(o + y.cx, n + y.cy, R, h(y.y1, y.x1), h(y.y0, y.x0), !f));
|
|
70
|
+
} else
|
|
71
|
+
v.lineTo(o + $, n + I), v.arc(o, n, r, T, d, f);
|
|
72
|
+
}
|
|
73
|
+
v.closePath();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
hv as buildPath
|
|
79
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { min as I, max as g, clone as w, sub as A, scale as z, distance as k, add as q } from "../../core/vector.js";
|
|
2
|
+
function D(a, t, B, m) {
|
|
3
|
+
var f = [], l = [], d = [], j = [], n, x, v, e;
|
|
4
|
+
if (m) {
|
|
5
|
+
v = [1 / 0, 1 / 0], e = [-1 / 0, -1 / 0];
|
|
6
|
+
for (var r = 0, h = a.length; r < h; r++)
|
|
7
|
+
I(v, v, a[r]), g(e, e, a[r]);
|
|
8
|
+
I(v, v, m[0]), g(e, e, m[1]);
|
|
9
|
+
}
|
|
10
|
+
for (var r = 0, h = a.length; r < h; r++) {
|
|
11
|
+
var y = a[r];
|
|
12
|
+
if (B)
|
|
13
|
+
n = a[r ? r - 1 : h - 1], x = a[(r + 1) % h];
|
|
14
|
+
else if (r === 0 || r === h - 1) {
|
|
15
|
+
f.push(w(a[r]));
|
|
16
|
+
continue;
|
|
17
|
+
} else
|
|
18
|
+
n = a[r - 1], x = a[r + 1];
|
|
19
|
+
A(l, x, n), z(l, l, t);
|
|
20
|
+
var P = k(y, n), $ = k(y, x), b = P + $;
|
|
21
|
+
b !== 0 && (P /= b, $ /= b), z(d, l, -P), z(j, l, $);
|
|
22
|
+
var u = q([], y, d), i = q([], y, j);
|
|
23
|
+
m && (g(u, u, v), I(u, u, e), g(i, i, v), I(i, i, e)), f.push(u), f.push(i);
|
|
24
|
+
}
|
|
25
|
+
return B && f.push(f.shift()), f;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
D as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var g = Math.round;
|
|
2
|
+
function m(r, i, f) {
|
|
3
|
+
if (i) {
|
|
4
|
+
var x = i.x1, d = i.x2, v = i.y1, y = i.y2;
|
|
5
|
+
r.x1 = x, r.x2 = d, r.y1 = v, r.y2 = y;
|
|
6
|
+
var n = f && f.lineWidth;
|
|
7
|
+
return n && (g(x * 2) === g(d * 2) && (r.x1 = r.x2 = l(x, n, !0)), g(v * 2) === g(y * 2) && (r.y1 = r.y2 = l(v, n, !0))), r;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
function b(r, i, f) {
|
|
11
|
+
if (i) {
|
|
12
|
+
var x = i.x, d = i.y, v = i.width, y = i.height;
|
|
13
|
+
r.x = x, r.y = d, r.width = v, r.height = y;
|
|
14
|
+
var n = f && f.lineWidth;
|
|
15
|
+
return n && (r.x = l(x, n, !0), r.y = l(d, n, !0), r.width = Math.max(l(x + v, n, !1) - r.x, v === 0 ? 0 : 1), r.height = Math.max(l(d + y, n, !1) - r.y, y === 0 ? 0 : 1)), r;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function l(r, i, f) {
|
|
19
|
+
if (!i)
|
|
20
|
+
return r;
|
|
21
|
+
var x = g(r * 2);
|
|
22
|
+
return (x + g(i)) % 2 === 0 ? x / 2 : (x + (f ? 1 : -1)) / 2;
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
l as subPixelOptimize,
|
|
26
|
+
m as subPixelOptimizeLine,
|
|
27
|
+
b as subPixelOptimizeRect
|
|
28
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __extends as h } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import v from "../Path.js";
|
|
3
|
+
var A = /* @__PURE__ */ (function() {
|
|
4
|
+
function n() {
|
|
5
|
+
this.cx = 0, this.cy = 0, this.r = 0, this.startAngle = 0, this.endAngle = Math.PI * 2, this.clockwise = !0;
|
|
6
|
+
}
|
|
7
|
+
return n;
|
|
8
|
+
})(), p = (function(n) {
|
|
9
|
+
h(r, n);
|
|
10
|
+
function r(e) {
|
|
11
|
+
return n.call(this, e) || this;
|
|
12
|
+
}
|
|
13
|
+
return r.prototype.getDefaultStyle = function() {
|
|
14
|
+
return {
|
|
15
|
+
stroke: "#000",
|
|
16
|
+
fill: null
|
|
17
|
+
};
|
|
18
|
+
}, r.prototype.getDefaultShape = function() {
|
|
19
|
+
return new A();
|
|
20
|
+
}, r.prototype.buildPath = function(e, t) {
|
|
21
|
+
var i = t.cx, c = t.cy, o = Math.max(t.r, 0), a = t.startAngle, l = t.endAngle, u = t.clockwise, f = Math.cos(a), s = Math.sin(a);
|
|
22
|
+
e.moveTo(f * o + i, s * o + c), e.arc(i, c, o, a, l, !u);
|
|
23
|
+
}, r;
|
|
24
|
+
})(v);
|
|
25
|
+
p.prototype.type = "arc";
|
|
26
|
+
export {
|
|
27
|
+
A as ArcShape,
|
|
28
|
+
p as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __extends as S } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import q from "../Path.js";
|
|
3
|
+
import { normalize as B } from "../../core/vector.js";
|
|
4
|
+
import { quadraticSubdivide as a, cubicSubdivide as d, cubicDerivativeAt as m, cubicAt as b, quadraticDerivativeAt as z, quadraticAt as A } from "../../core/curve.js";
|
|
5
|
+
var e = [], D = /* @__PURE__ */ (function() {
|
|
6
|
+
function r() {
|
|
7
|
+
this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.cpx1 = 0, this.cpy1 = 0, this.percent = 1;
|
|
8
|
+
}
|
|
9
|
+
return r;
|
|
10
|
+
})();
|
|
11
|
+
function C(r, u, t) {
|
|
12
|
+
var i = r.cpx2, f = r.cpy2;
|
|
13
|
+
return i != null || f != null ? [
|
|
14
|
+
(t ? m : b)(r.x1, r.cpx1, r.cpx2, r.x2, u),
|
|
15
|
+
(t ? m : b)(r.y1, r.cpy1, r.cpy2, r.y2, u)
|
|
16
|
+
] : [
|
|
17
|
+
(t ? z : A)(r.x1, r.cpx1, r.x2, u),
|
|
18
|
+
(t ? z : A)(r.y1, r.cpy1, r.y2, u)
|
|
19
|
+
];
|
|
20
|
+
}
|
|
21
|
+
var P = (function(r) {
|
|
22
|
+
S(u, r);
|
|
23
|
+
function u(t) {
|
|
24
|
+
return r.call(this, t) || this;
|
|
25
|
+
}
|
|
26
|
+
return u.prototype.getDefaultStyle = function() {
|
|
27
|
+
return {
|
|
28
|
+
stroke: "#000",
|
|
29
|
+
fill: null
|
|
30
|
+
};
|
|
31
|
+
}, u.prototype.getDefaultShape = function() {
|
|
32
|
+
return new D();
|
|
33
|
+
}, u.prototype.buildPath = function(t, i) {
|
|
34
|
+
var f = i.x1, x = i.y1, o = i.x2, n = i.y2, v = i.cpx1, y = i.cpy1, p = i.cpx2, l = i.cpy2, c = i.percent;
|
|
35
|
+
c !== 0 && (t.moveTo(f, x), p == null || l == null ? (c < 1 && (a(f, v, o, c, e), v = e[1], o = e[2], a(x, y, n, c, e), y = e[1], n = e[2]), t.quadraticCurveTo(v, y, o, n)) : (c < 1 && (d(f, v, p, o, c, e), v = e[1], p = e[2], o = e[3], d(x, y, l, n, c, e), y = e[1], l = e[2], n = e[3]), t.bezierCurveTo(v, y, p, l, o, n)));
|
|
36
|
+
}, u.prototype.pointAt = function(t) {
|
|
37
|
+
return C(this.shape, t, !1);
|
|
38
|
+
}, u.prototype.tangentAt = function(t) {
|
|
39
|
+
var i = C(this.shape, t, !0);
|
|
40
|
+
return B(i, i);
|
|
41
|
+
}, u;
|
|
42
|
+
})(q);
|
|
43
|
+
P.prototype.type = "bezier-curve";
|
|
44
|
+
export {
|
|
45
|
+
D as BezierCurveShape,
|
|
46
|
+
P as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __extends as o } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import e from "../Path.js";
|
|
3
|
+
var n = /* @__PURE__ */ (function() {
|
|
4
|
+
function r() {
|
|
5
|
+
this.cx = 0, this.cy = 0, this.r = 0;
|
|
6
|
+
}
|
|
7
|
+
return r;
|
|
8
|
+
})(), u = (function(r) {
|
|
9
|
+
o(c, r);
|
|
10
|
+
function c(i) {
|
|
11
|
+
return r.call(this, i) || this;
|
|
12
|
+
}
|
|
13
|
+
return c.prototype.getDefaultShape = function() {
|
|
14
|
+
return new n();
|
|
15
|
+
}, c.prototype.buildPath = function(i, t) {
|
|
16
|
+
i.moveTo(t.cx + t.r, t.cy), i.arc(t.cx, t.cy, t.r, 0, Math.PI * 2);
|
|
17
|
+
}, c;
|
|
18
|
+
})(e);
|
|
19
|
+
u.prototype.type = "circle";
|
|
20
|
+
export {
|
|
21
|
+
n as CircleShape,
|
|
22
|
+
u as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __extends as f } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import s from "../Path.js";
|
|
3
|
+
var y = /* @__PURE__ */ (function() {
|
|
4
|
+
function n() {
|
|
5
|
+
this.cx = 0, this.cy = 0, this.rx = 0, this.ry = 0;
|
|
6
|
+
}
|
|
7
|
+
return n;
|
|
8
|
+
})(), h = (function(n) {
|
|
9
|
+
f(a, n);
|
|
10
|
+
function a(t) {
|
|
11
|
+
return n.call(this, t) || this;
|
|
12
|
+
}
|
|
13
|
+
return a.prototype.getDefaultShape = function() {
|
|
14
|
+
return new y();
|
|
15
|
+
}, a.prototype.buildPath = function(t, l) {
|
|
16
|
+
var v = 0.5522848, r = l.cx, e = l.cy, o = l.rx, i = l.ry, u = o * v, p = i * v;
|
|
17
|
+
t.moveTo(r - o, e), t.bezierCurveTo(r - o, e - p, r - u, e - i, r, e - i), t.bezierCurveTo(r + u, e - i, r + o, e - p, r + o, e), t.bezierCurveTo(r + o, e + p, r + u, e + i, r, e + i), t.bezierCurveTo(r - u, e + i, r - o, e + p, r - o, e), t.closePath();
|
|
18
|
+
}, a;
|
|
19
|
+
})(s);
|
|
20
|
+
h.prototype.type = "ellipse";
|
|
21
|
+
export {
|
|
22
|
+
y as EllipseShape,
|
|
23
|
+
h as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __extends as a } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import p from "../Path.js";
|
|
3
|
+
import { subPixelOptimizeLine as s } from "../helper/subPixelOptimize.js";
|
|
4
|
+
var x = {}, c = /* @__PURE__ */ (function() {
|
|
5
|
+
function u() {
|
|
6
|
+
this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.percent = 1;
|
|
7
|
+
}
|
|
8
|
+
return u;
|
|
9
|
+
})(), v = (function(u) {
|
|
10
|
+
a(r, u);
|
|
11
|
+
function r(e) {
|
|
12
|
+
return u.call(this, e) || this;
|
|
13
|
+
}
|
|
14
|
+
return r.prototype.getDefaultStyle = function() {
|
|
15
|
+
return {
|
|
16
|
+
stroke: "#000",
|
|
17
|
+
fill: null
|
|
18
|
+
};
|
|
19
|
+
}, r.prototype.getDefaultShape = function() {
|
|
20
|
+
return new c();
|
|
21
|
+
}, r.prototype.buildPath = function(e, t) {
|
|
22
|
+
var f, l, n, o;
|
|
23
|
+
if (this.subPixelOptimize) {
|
|
24
|
+
var y = s(x, t, this.style);
|
|
25
|
+
f = y.x1, l = y.y1, n = y.x2, o = y.y2;
|
|
26
|
+
} else
|
|
27
|
+
f = t.x1, l = t.y1, n = t.x2, o = t.y2;
|
|
28
|
+
var i = t.percent;
|
|
29
|
+
i !== 0 && (e.moveTo(f, l), i < 1 && (n = f * (1 - i) + n * i, o = l * (1 - i) + o * i), e.lineTo(n, o));
|
|
30
|
+
}, r.prototype.pointAt = function(e) {
|
|
31
|
+
var t = this.shape;
|
|
32
|
+
return [
|
|
33
|
+
t.x1 * (1 - e) + t.x2 * e,
|
|
34
|
+
t.y1 * (1 - e) + t.y2 * e
|
|
35
|
+
];
|
|
36
|
+
}, r;
|
|
37
|
+
})(p);
|
|
38
|
+
v.prototype.type = "line";
|
|
39
|
+
export {
|
|
40
|
+
c as LineShape,
|
|
41
|
+
v as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __extends as e } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import i from "../Path.js";
|
|
3
|
+
import { buildPath as u } from "../helper/poly.js";
|
|
4
|
+
var l = /* @__PURE__ */ (function() {
|
|
5
|
+
function t() {
|
|
6
|
+
this.points = null, this.smooth = 0, this.smoothConstraint = null;
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
})(), p = (function(t) {
|
|
10
|
+
e(o, t);
|
|
11
|
+
function o(n) {
|
|
12
|
+
return t.call(this, n) || this;
|
|
13
|
+
}
|
|
14
|
+
return o.prototype.getDefaultShape = function() {
|
|
15
|
+
return new l();
|
|
16
|
+
}, o.prototype.buildPath = function(n, r) {
|
|
17
|
+
u(n, r, !0);
|
|
18
|
+
}, o;
|
|
19
|
+
})(i);
|
|
20
|
+
p.prototype.type = "polygon";
|
|
21
|
+
export {
|
|
22
|
+
l as PolygonShape,
|
|
23
|
+
p as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __extends as l } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import i from "../Path.js";
|
|
3
|
+
import { buildPath as r } from "../helper/poly.js";
|
|
4
|
+
var u = /* @__PURE__ */ (function() {
|
|
5
|
+
function o() {
|
|
6
|
+
this.points = null, this.percent = 1, this.smooth = 0, this.smoothConstraint = null;
|
|
7
|
+
}
|
|
8
|
+
return o;
|
|
9
|
+
})(), p = (function(o) {
|
|
10
|
+
l(t, o);
|
|
11
|
+
function t(n) {
|
|
12
|
+
return o.call(this, n) || this;
|
|
13
|
+
}
|
|
14
|
+
return t.prototype.getDefaultStyle = function() {
|
|
15
|
+
return {
|
|
16
|
+
stroke: "#000",
|
|
17
|
+
fill: null
|
|
18
|
+
};
|
|
19
|
+
}, t.prototype.getDefaultShape = function() {
|
|
20
|
+
return new u();
|
|
21
|
+
}, t.prototype.buildPath = function(n, e) {
|
|
22
|
+
r(n, e, !1);
|
|
23
|
+
}, t;
|
|
24
|
+
})(i);
|
|
25
|
+
p.prototype.type = "polyline";
|
|
26
|
+
export {
|
|
27
|
+
u as PolylineShape,
|
|
28
|
+
p as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __extends as c } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import l from "../Path.js";
|
|
3
|
+
import { buildPath as s } from "../helper/roundRect.js";
|
|
4
|
+
import { subPixelOptimizeRect as y } from "../helper/subPixelOptimize.js";
|
|
5
|
+
var a = /* @__PURE__ */ (function() {
|
|
6
|
+
function e() {
|
|
7
|
+
this.x = 0, this.y = 0, this.width = 0, this.height = 0;
|
|
8
|
+
}
|
|
9
|
+
return e;
|
|
10
|
+
})(), v = {}, x = (function(e) {
|
|
11
|
+
c(i, e);
|
|
12
|
+
function i(h) {
|
|
13
|
+
return e.call(this, h) || this;
|
|
14
|
+
}
|
|
15
|
+
return i.prototype.getDefaultShape = function() {
|
|
16
|
+
return new a();
|
|
17
|
+
}, i.prototype.buildPath = function(h, t) {
|
|
18
|
+
var n, o, u, f;
|
|
19
|
+
if (this.subPixelOptimize) {
|
|
20
|
+
var r = y(v, t, this.style);
|
|
21
|
+
n = r.x, o = r.y, u = r.width, f = r.height, r.r = t.r, t = r;
|
|
22
|
+
} else
|
|
23
|
+
n = t.x, o = t.y, u = t.width, f = t.height;
|
|
24
|
+
t.r ? s(h, t) : h.rect(n, o, u, f);
|
|
25
|
+
}, i.prototype.isZeroArea = function() {
|
|
26
|
+
return !this.shape.width || !this.shape.height;
|
|
27
|
+
}, i;
|
|
28
|
+
})(l);
|
|
29
|
+
x.prototype.type = "rect";
|
|
30
|
+
export {
|
|
31
|
+
a as RectShape,
|
|
32
|
+
x as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __extends as u } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import f from "../Path.js";
|
|
3
|
+
var c = /* @__PURE__ */ (function() {
|
|
4
|
+
function n() {
|
|
5
|
+
this.cx = 0, this.cy = 0, this.r = 0, this.r0 = 0;
|
|
6
|
+
}
|
|
7
|
+
return n;
|
|
8
|
+
})(), h = (function(n) {
|
|
9
|
+
u(o, n);
|
|
10
|
+
function o(t) {
|
|
11
|
+
return n.call(this, t) || this;
|
|
12
|
+
}
|
|
13
|
+
return o.prototype.getDefaultShape = function() {
|
|
14
|
+
return new c();
|
|
15
|
+
}, o.prototype.buildPath = function(t, r) {
|
|
16
|
+
var i = r.cx, e = r.cy, a = Math.PI * 2;
|
|
17
|
+
t.moveTo(i + r.r, e), t.arc(i, e, r.r, 0, a, !1), t.moveTo(i + r.r0, e), t.arc(i, e, r.r0, 0, a, !0);
|
|
18
|
+
}, o;
|
|
19
|
+
})(f);
|
|
20
|
+
h.prototype.type = "ring";
|
|
21
|
+
export {
|
|
22
|
+
c as RingShape,
|
|
23
|
+
h as default
|
|
24
|
+
};
|