web-core-tcm 0.0.59 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +92 -229
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +10 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +56 -60
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +3 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +10 -14
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +12 -32
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +6 -42
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +50 -58
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +4 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +99 -130
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +27 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +6 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +63 -137
- package/dist/node_modules/@vueuse/core/index.js +254 -0
- package/dist/node_modules/@vueuse/shared/index.js +37 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +34 -30
- package/dist/node_modules/alova/dist/alova.esm.js +220 -266
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +70 -2110
- package/dist/node_modules/builder-pattern/dist/index.js +13 -25
- package/dist/node_modules/echarts/index.js +87 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +22 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +55 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +223 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +336 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +54 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +476 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +76 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +48 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +95 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +72 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +23 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +25 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +70 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +195 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +76 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +35 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +437 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +44 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +83 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +109 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +97 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +299 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +29 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +180 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +135 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +53 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +22 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +9 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +80 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +33 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +28 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +73 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +61 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +15 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +42 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +23 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +44 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +146 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +8 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +54 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +89 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +157 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +143 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +208 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +87 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +45 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +155 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +106 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +70 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +15 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +13 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +27 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +67 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +51 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +87 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +525 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +40 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +163 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +65 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +47 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +20 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +83 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +63 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +111 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +26 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +142 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +151 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +199 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +73 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +123 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +17 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +30 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +121 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +168 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +23 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +277 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +33 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +60 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +82 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +128 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +93 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +13 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +49 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +23 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +122 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +100 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +63 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +100 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +314 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +102 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +37 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +53 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +13 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +99 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +203 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +454 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +30 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +217 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +95 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +12 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +195 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +294 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +38 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +88 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +117 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +70 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +53 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +71 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +31 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +185 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +85 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +83 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +80 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +202 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +36 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +58 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +137 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +114 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +56 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +46 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +32 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +30 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +140 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +187 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +125 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +187 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +24 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +76 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +16 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +87 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +452 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +56 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +43 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +49 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +72 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +86 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +180 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +42 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +464 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +195 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +303 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +106 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +12 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +27 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +28 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +196 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +243 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +49 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +40 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +14 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +43 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +178 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +40 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +45 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +11 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +83 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +66 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +40 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +119 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +115 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +361 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +20 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +79 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +16 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +12 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +35 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +29 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +121 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +60 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +140 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +269 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +152 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +123 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +37 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +69 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +19 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +16 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +152 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +82 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +89 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +412 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +32 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +63 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +186 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +32 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +8 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +109 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +382 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +216 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +118 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +161 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +77 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +24 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +15 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +9 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +20 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +51 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +17 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +107 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/View.js +91 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +160 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +162 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +15 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +40 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +176 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +158 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +91 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +28 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +26 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +66 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +226 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +44 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +125 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +108 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +137 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +10 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +21 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +106 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +66 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +67 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +51 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +180 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +18 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +20 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +25 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +29 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +44 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +86 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +26 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +61 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +16 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +79 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +89 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +70 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +60 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +88 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +21 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +26 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +32 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +21 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +29 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +34 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +226 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1019 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +37 -0
- package/dist/node_modules/echarts/lib/core/task.js +91 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +80 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +427 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +207 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +36 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +13 -0
- package/dist/node_modules/echarts/lib/data/Source.js +157 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +154 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +86 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +122 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +165 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +60 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +89 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +57 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +62 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +163 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +136 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +164 -0
- package/dist/node_modules/echarts/lib/extension.js +61 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +114 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +114 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +235 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +17 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +234 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +132 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +193 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +94 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +235 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +101 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +50 -0
- package/dist/node_modules/echarts/lib/loading/default.js +92 -0
- package/dist/node_modules/echarts/lib/model/Component.js +81 -0
- package/dist/node_modules/echarts/lib/model/Global.js +280 -0
- package/dist/node_modules/echarts/lib/model/Model.js +64 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +86 -0
- package/dist/node_modules/echarts/lib/model/Series.js +231 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +87 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +70 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +18 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +42 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +30 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +46 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +79 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +106 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +22 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +50 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +97 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +76 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +32 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +257 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +42 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +180 -0
- package/dist/node_modules/echarts/lib/theme/light.js +8 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +54 -0
- package/dist/node_modules/echarts/lib/util/animation.js +40 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +106 -0
- package/dist/node_modules/echarts/lib/util/component.js +78 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +146 -0
- package/dist/node_modules/echarts/lib/util/decal.js +168 -0
- package/dist/node_modules/echarts/lib/util/event.js +8 -0
- package/dist/node_modules/echarts/lib/util/format.js +111 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +294 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +14 -0
- package/dist/node_modules/echarts/lib/util/layout.js +140 -0
- package/dist/node_modules/echarts/lib/util/log.js +6 -0
- package/dist/node_modules/echarts/lib/util/model.js +339 -0
- package/dist/node_modules/echarts/lib/util/number.js +196 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +32 -0
- package/dist/node_modules/echarts/lib/util/states.js +390 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +50 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +155 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +41 -0
- package/dist/node_modules/echarts/lib/util/time.js +193 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +8 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +87 -0
- package/dist/node_modules/echarts/lib/view/Component.js +27 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +24 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +262 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +133 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +23 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +47 -0
- package/dist/node_modules/echarts/lib/visual/style.js +95 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +52 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +46 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +97 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/lang/en-US.js +106 -0
- package/dist/node_modules/quasar/src/components/btn/QBtn.js +188 -0
- package/dist/node_modules/quasar/src/components/btn/use-btn.js +122 -0
- package/dist/node_modules/quasar/src/components/btn-group/QBtnGroup.js +27 -0
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +114 -0
- package/dist/node_modules/quasar/src/components/card/QCard.js +26 -0
- package/dist/node_modules/quasar/src/components/card/QCardActions.js +20 -0
- package/dist/node_modules/quasar/src/components/card/QCardSection.js +22 -0
- package/dist/node_modules/quasar/src/components/checkbox/QCheckbox.js +50 -0
- package/dist/node_modules/quasar/src/components/checkbox/use-checkbox.js +130 -0
- package/dist/node_modules/quasar/src/components/chip/QChip.js +127 -0
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +202 -0
- package/dist/node_modules/quasar/src/components/field/QField.js +22 -0
- package/dist/node_modules/quasar/src/components/icon/QIcon.js +131 -0
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +135 -0
- package/dist/node_modules/quasar/src/components/input/QInput.js +212 -0
- package/dist/node_modules/quasar/src/components/input/use-mask.js +291 -0
- package/dist/node_modules/quasar/src/components/item/QItem.js +75 -0
- package/dist/node_modules/quasar/src/components/item/QItemLabel.js +29 -0
- package/dist/node_modules/quasar/src/components/item/QItemSection.js +22 -0
- package/dist/node_modules/quasar/src/components/item/QList.js +29 -0
- package/dist/node_modules/quasar/src/components/linear-progress/QLinearProgress.js +83 -0
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +183 -0
- package/dist/node_modules/quasar/src/components/option-group/QOptionGroup.js +90 -0
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +118 -0
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +71 -0
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +288 -0
- package/dist/node_modules/quasar/src/components/scroll-area/ScrollAreaControls.js +47 -0
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +77 -0
- package/dist/node_modules/quasar/src/components/select/QSelect.js +762 -0
- package/dist/node_modules/quasar/src/components/slide-item/QSlideItem.js +118 -0
- package/dist/node_modules/quasar/src/components/space/QSpace.js +12 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinner.js +36 -0
- package/dist/node_modules/quasar/src/components/spinner/QSpinnerBall.js +22 -0
- package/dist/node_modules/quasar/src/components/spinner/use-spinner.js +21 -0
- package/dist/node_modules/quasar/src/components/toggle/QToggle.js +39 -0
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +372 -0
- package/dist/node_modules/quasar/src/composables/private.use-align/use-align.js +27 -0
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +118 -0
- package/dist/node_modules/quasar/src/composables/private.use-dark/use-dark.js +14 -0
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +316 -0
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +25 -0
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +17 -0
- package/dist/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js +13 -0
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +68 -0
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +53 -0
- package/dist/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +12 -0
- package/dist/node_modules/quasar/src/composables/private.use-refocus-target/use-refocus-target.js +19 -0
- package/dist/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js +141 -0
- package/dist/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js +24 -0
- package/dist/node_modules/quasar/src/composables/private.use-size/use-size.js +18 -0
- package/dist/node_modules/quasar/src/composables/private.use-transition/use-transition.js +38 -0
- package/dist/node_modules/quasar/src/composables/private.use-validate/use-validate.js +87 -0
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +22 -0
- package/dist/node_modules/quasar/src/composables/use-form/use-form-child.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-hydration/use-hydration.js +11 -0
- package/dist/node_modules/quasar/src/composables/use-id/use-id.js +23 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +18 -0
- package/dist/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-tick/use-tick.js +20 -0
- package/dist/node_modules/quasar/src/composables/use-timeout/use-timeout.js +20 -0
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +41 -0
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +81 -0
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +174 -0
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +42 -0
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +115 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +633 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +15 -0
- package/dist/node_modules/quasar/src/utils/dom/dom.js +36 -0
- package/dist/node_modules/quasar/src/utils/event/event.js +88 -0
- package/dist/node_modules/quasar/src/utils/format/format.js +25 -0
- package/dist/node_modules/quasar/src/utils/is/is.js +79 -0
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +25 -0
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.create/create.js +26 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focus-manager.js +22 -0
- package/dist/node_modules/quasar/src/utils/private.focus/focusout.js +16 -0
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/escape-key.js +27 -0
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.option-sizes/option-sizes.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.portal/portal.js +37 -0
- package/dist/node_modules/quasar/src/utils/private.position-engine/position-engine.js +168 -0
- package/dist/node_modules/quasar/src/utils/private.render/render.js +30 -0
- package/dist/node_modules/quasar/src/utils/private.rtl/rtl.js +17 -0
- package/dist/node_modules/quasar/src/utils/private.selection/selection.js +10 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +5 -0
- package/dist/node_modules/quasar/src/utils/private.touch/touch.js +23 -0
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +21 -0
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +58 -0
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +108 -0
- package/dist/node_modules/quasar/src/utils/throttle/throttle.js +11 -0
- package/dist/node_modules/quasar/src/utils/uid/uid.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +19 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +12 -0
- package/dist/node_modules/zrender/lib/Element.js +433 -0
- package/dist/node_modules/zrender/lib/Handler.js +168 -0
- package/dist/node_modules/zrender/lib/Storage.js +75 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +66 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +381 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +33 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +18 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +8 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +134 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +302 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +18 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +197 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +47 -0
- package/dist/node_modules/zrender/lib/config.js +11 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +24 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/line.js +16 -0
- package/dist/node_modules/zrender/lib/contain/path.js +148 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +19 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +13 -0
- package/dist/node_modules/zrender/lib/contain/text.js +96 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +11 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +64 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +97 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +63 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +52 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +46 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +300 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +105 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +26 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +52 -0
- package/dist/node_modules/zrender/lib/core/curve.js +161 -0
- package/dist/node_modules/zrender/lib/core/dom.js +67 -0
- package/dist/node_modules/zrender/lib/core/env.js +21 -0
- package/dist/node_modules/zrender/lib/core/event.js +69 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +41 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +44 -0
- package/dist/node_modules/zrender/lib/core/platform.js +48 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +286 -0
- package/dist/node_modules/zrender/lib/core/util.js +405 -0
- package/dist/node_modules/zrender/lib/core/vector.js +76 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +188 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +146 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +93 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +55 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +69 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +52 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +218 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +6 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +41 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +211 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +79 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +47 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +33 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +26 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +29 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +151 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +52 -0
- package/dist/node_modules/zrender/lib/svg/core.js +98 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +182 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +7 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +33 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +30 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +229 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +112 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +50 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +85 -0
- package/dist/node_modules/zrender/lib/tool/color.js +342 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +91 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +181 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +319 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +401 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +14 -0
- package/dist/node_modules/zrender/lib/tool/path.js +164 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +38 -0
- package/dist/node_modules/zrender/lib/zrender.js +129 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.d.ts +1 -0
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +20 -5
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +7 -4
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +9 -6
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +10 -7
- package/dist/src/api/algorithm/alova/index.d.ts +0 -1
- package/dist/src/api/algorithm/alova/index.js +21 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +1 -1
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +7 -6
- package/dist/src/api/algorithm/index.d.ts +1 -1
- package/dist/src/api/algorithm/index.js +18 -18
- package/dist/src/api/algorithm/lisemsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/createApis.js +7 -1
- package/dist/src/api/authorization/alova/index.js +8 -10
- package/dist/src/api/check/alova/createApis.js +7 -1
- package/dist/src/api/check/alova/index.js +6 -5
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/createApis.js +7 -1
- package/dist/src/api/doctor/alova/index.js +9 -10
- package/dist/src/api/metric/index.js +4 -5
- package/dist/src/api/oauth/alova/createApis.js +7 -1
- package/dist/src/api/oauth/alova/index.js +11 -13
- package/dist/src/api/outpatient/alova/createApis.js +7 -1
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/createApis.js +7 -1
- package/dist/src/api/patient/alova/index.js +12 -9
- package/dist/src/api/patient/meta.js +0 -1
- package/dist/src/api/prescription/alova/createApis.js +7 -1
- package/dist/src/api/prescription/alova/index.js +7 -8
- package/dist/src/api/scientist/alova/createApis.js +7 -1
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/assets/body_1.svg.js +108 -0
- package/dist/src/assets/priclose.png.js +4 -0
- package/dist/src/boot/ioc.d.ts +2 -0
- package/dist/src/components/core/TakeImageCollected.vue.js +7 -0
- package/dist/src/components/core/TakeImageCollected.vue2.js +302 -0
- package/dist/src/components/tcm/index.d.ts +12 -4
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +20 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +429 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +18 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +7 -0
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +364 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +3 -1
- package/dist/src/components/tcm/inquirise/symptoms.d.ts +15 -0
- package/dist/src/components/tcm/inquirise/symptoms.js +20 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.d.ts +6 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +42 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.d.ts +9 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +174 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +28 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +22 -0
- package/dist/src/components/tcm/inspections/index.d.ts +3 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +7 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +761 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +835 -0
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +4 -0
- package/dist/src/components/tcm/lisems/index.d.ts +2 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +2 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +150 -0
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +4 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.d.ts +10 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +7 -0
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +238 -0
- package/dist/src/components/tcm/palpations/index.d.ts +2 -1
- package/dist/src/env.d.ts +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +58 -36
- package/dist/src/layouts/UserLayout.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.js +6 -7
- package/dist/src/proto/types/WaveMap_pb.js +3 -4
- package/dist/src/util/helper.js +2 -38
- package/dist/src/util/number.js +38 -0
- package/dist/src/util/string.d.ts +1 -0
- package/dist/src/util/string.js +5 -47
- package/dist/web-core-tcm.css +1 -0
- package/package.json +5 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -109
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -16
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -9
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -28
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -48
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -8
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -127
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -86
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -434
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -49
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -33
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -279
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -24
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -123
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -40
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -11
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -19
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -18
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -25
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -26
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -17
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -7
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -35
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -15
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -180
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -29
- package/dist/src/api/algorithm/alova/implement/index.js +0 -12
- package/dist/src/api/authorization/alova/globals.js +0 -1
- package/dist/src/api/authorization/alova/implement/index.js +0 -4
- package/dist/src/api/check/alova/globals.js +0 -1
- package/dist/src/api/check/alova/implement/index.js +0 -5
- package/dist/src/api/doctor/alova/globals.js +0 -1
- package/dist/src/api/doctor/alova/implement/index.js +0 -4
- package/dist/src/api/index.js +0 -28
- package/dist/src/api/metric/alova/implement/index.js +0 -4
- package/dist/src/api/metric/alova/index.js +0 -1
- package/dist/src/api/oauth/alova/globals.js +0 -1
- package/dist/src/api/oauth/alova/implement/index.js +0 -4
- package/dist/src/api/outpatient/alova/globals.js +0 -1
- package/dist/src/api/outpatient/alova/implement/index.js +0 -4
- package/dist/src/api/patient/alova/globals.js +0 -1
- package/dist/src/api/patient/alova/implement/index.js +0 -16
- package/dist/src/api/prescription/alova/globals.js +0 -1
- package/dist/src/api/prescription/alova/implement/index.js +0 -6
- package/dist/src/api/scientist/alova/globals.js +0 -1
- package/dist/src/api/scientist/alova/implement/index.js +0 -4
- package/dist/src/proto/index.js +0 -10
- /package/dist/src/components/{core/TestFather.vue.d.ts → tcm/lisems/EcgAndPcgCollect.vue.d.ts} +0 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { __extends as v } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import O, { DEFAULT_COMMON_ANIMATION_PROPS as R, DEFAULT_COMMON_STYLE as b } from "./Displayable.js";
|
|
3
|
+
import E from "../core/PathProxy.js";
|
|
4
|
+
import { containStroke as F, contain as N } from "../contain/path.js";
|
|
5
|
+
import { keys as m, extend as l, isString as g, createObject as B, defaults as L, clone as S } from "../core/util.js";
|
|
6
|
+
import { lum as P } from "../tool/color.js";
|
|
7
|
+
import { DARK_LABEL_COLOR as T, LIGHTER_LABEL_COLOR as x, LIGHT_LABEL_COLOR as A, DARK_MODE_THRESHOLD as I } from "../config.js";
|
|
8
|
+
import { REDRAW_BIT as D, SHAPE_CHANGED_BIT as c, STYLE_CHANGED_BIT as C } from "./constants.js";
|
|
9
|
+
import { TRANSFORMABLE_PROPS as M } from "../core/Transformable.js";
|
|
10
|
+
var H = L({
|
|
11
|
+
fill: "#000",
|
|
12
|
+
stroke: null,
|
|
13
|
+
strokePercent: 1,
|
|
14
|
+
fillOpacity: 1,
|
|
15
|
+
strokeOpacity: 1,
|
|
16
|
+
lineDashOffset: 0,
|
|
17
|
+
lineWidth: 1,
|
|
18
|
+
lineCap: "butt",
|
|
19
|
+
miterLimit: 10,
|
|
20
|
+
strokeNoScale: !1,
|
|
21
|
+
strokeFirst: !1
|
|
22
|
+
}, b), U = {
|
|
23
|
+
style: L({
|
|
24
|
+
fill: !0,
|
|
25
|
+
stroke: !0,
|
|
26
|
+
strokePercent: !0,
|
|
27
|
+
fillOpacity: !0,
|
|
28
|
+
strokeOpacity: !0,
|
|
29
|
+
lineDashOffset: !0,
|
|
30
|
+
lineWidth: !0,
|
|
31
|
+
miterLimit: !0
|
|
32
|
+
}, R.style)
|
|
33
|
+
}, _ = M.concat([
|
|
34
|
+
"invisible",
|
|
35
|
+
"culling",
|
|
36
|
+
"z",
|
|
37
|
+
"z2",
|
|
38
|
+
"zlevel",
|
|
39
|
+
"parent"
|
|
40
|
+
]), Z = (function(p) {
|
|
41
|
+
v(r, p);
|
|
42
|
+
function r(t) {
|
|
43
|
+
return p.call(this, t) || this;
|
|
44
|
+
}
|
|
45
|
+
return r.prototype.update = function() {
|
|
46
|
+
var t = this;
|
|
47
|
+
p.prototype.update.call(this);
|
|
48
|
+
var e = this.style;
|
|
49
|
+
if (e.decal) {
|
|
50
|
+
var i = this._decalEl = this._decalEl || new r();
|
|
51
|
+
i.buildPath === r.prototype.buildPath && (i.buildPath = function(n) {
|
|
52
|
+
t.buildPath(n, t.shape);
|
|
53
|
+
}), i.silent = !0;
|
|
54
|
+
var s = i.style;
|
|
55
|
+
for (var a in e)
|
|
56
|
+
s[a] !== e[a] && (s[a] = e[a]);
|
|
57
|
+
s.fill = e.fill ? e.decal : null, s.decal = null, s.shadowColor = null, e.strokeFirst && (s.stroke = null);
|
|
58
|
+
for (var h = 0; h < _.length; ++h)
|
|
59
|
+
i[_[h]] = this[_[h]];
|
|
60
|
+
i.__dirty |= D;
|
|
61
|
+
} else this._decalEl && (this._decalEl = null);
|
|
62
|
+
}, r.prototype.getDecalElement = function() {
|
|
63
|
+
return this._decalEl;
|
|
64
|
+
}, r.prototype._init = function(t) {
|
|
65
|
+
var e = m(t);
|
|
66
|
+
this.shape = this.getDefaultShape();
|
|
67
|
+
var i = this.getDefaultStyle();
|
|
68
|
+
i && this.useStyle(i);
|
|
69
|
+
for (var s = 0; s < e.length; s++) {
|
|
70
|
+
var a = e[s], h = t[a];
|
|
71
|
+
a === "style" ? this.style ? l(this.style, h) : this.useStyle(h) : a === "shape" ? l(this.shape, h) : p.prototype.attrKV.call(this, a, h);
|
|
72
|
+
}
|
|
73
|
+
this.style || this.useStyle({});
|
|
74
|
+
}, r.prototype.getDefaultStyle = function() {
|
|
75
|
+
return null;
|
|
76
|
+
}, r.prototype.getDefaultShape = function() {
|
|
77
|
+
return {};
|
|
78
|
+
}, r.prototype.canBeInsideText = function() {
|
|
79
|
+
return this.hasFill();
|
|
80
|
+
}, r.prototype.getInsideTextFill = function() {
|
|
81
|
+
var t = this.style.fill;
|
|
82
|
+
if (t !== "none") {
|
|
83
|
+
if (g(t)) {
|
|
84
|
+
var e = P(t, 0);
|
|
85
|
+
return e > 0.5 ? T : e > 0.2 ? x : A;
|
|
86
|
+
} else if (t)
|
|
87
|
+
return A;
|
|
88
|
+
}
|
|
89
|
+
return T;
|
|
90
|
+
}, r.prototype.getInsideTextStroke = function(t) {
|
|
91
|
+
var e = this.style.fill;
|
|
92
|
+
if (g(e)) {
|
|
93
|
+
var i = this.__zr, s = !!(i && i.isDarkMode()), a = P(t, 0) < I;
|
|
94
|
+
if (s === a)
|
|
95
|
+
return e;
|
|
96
|
+
}
|
|
97
|
+
}, r.prototype.buildPath = function(t, e, i) {
|
|
98
|
+
}, r.prototype.pathUpdated = function() {
|
|
99
|
+
this.__dirty &= ~c;
|
|
100
|
+
}, r.prototype.getUpdatedPathProxy = function(t) {
|
|
101
|
+
return !this.path && this.createPathProxy(), this.path.beginPath(), this.buildPath(this.path, this.shape, t), this.path;
|
|
102
|
+
}, r.prototype.createPathProxy = function() {
|
|
103
|
+
this.path = new E(!1);
|
|
104
|
+
}, r.prototype.hasStroke = function() {
|
|
105
|
+
var t = this.style, e = t.stroke;
|
|
106
|
+
return !(e == null || e === "none" || !(t.lineWidth > 0));
|
|
107
|
+
}, r.prototype.hasFill = function() {
|
|
108
|
+
var t = this.style, e = t.fill;
|
|
109
|
+
return e != null && e !== "none";
|
|
110
|
+
}, r.prototype.getBoundingRect = function() {
|
|
111
|
+
var t = this._rect, e = this.style, i = !t;
|
|
112
|
+
if (i) {
|
|
113
|
+
var s = !1;
|
|
114
|
+
this.path || (s = !0, this.createPathProxy());
|
|
115
|
+
var a = this.path;
|
|
116
|
+
(s || this.__dirty & c) && (a.beginPath(), this.buildPath(a, this.shape, !1), this.pathUpdated()), t = a.getBoundingRect();
|
|
117
|
+
}
|
|
118
|
+
if (this._rect = t, this.hasStroke() && this.path && this.path.len() > 0) {
|
|
119
|
+
var h = this._rectStroke || (this._rectStroke = t.clone());
|
|
120
|
+
if (this.__dirty || i) {
|
|
121
|
+
h.copy(t);
|
|
122
|
+
var n = e.strokeNoScale ? this.getLineScale() : 1, o = e.lineWidth;
|
|
123
|
+
if (!this.hasFill()) {
|
|
124
|
+
var f = this.strokeContainThreshold;
|
|
125
|
+
o = Math.max(o, f ?? 4);
|
|
126
|
+
}
|
|
127
|
+
n > 1e-10 && (h.width += o / n, h.height += o / n, h.x -= o / n / 2, h.y -= o / n / 2);
|
|
128
|
+
}
|
|
129
|
+
return h;
|
|
130
|
+
}
|
|
131
|
+
return t;
|
|
132
|
+
}, r.prototype.contain = function(t, e) {
|
|
133
|
+
var i = this.transformCoordToLocal(t, e), s = this.getBoundingRect(), a = this.style;
|
|
134
|
+
if (t = i[0], e = i[1], s.contain(t, e)) {
|
|
135
|
+
var h = this.path;
|
|
136
|
+
if (this.hasStroke()) {
|
|
137
|
+
var n = a.lineWidth, o = a.strokeNoScale ? this.getLineScale() : 1;
|
|
138
|
+
if (o > 1e-10 && (this.hasFill() || (n = Math.max(n, this.strokeContainThreshold)), F(h, n / o, t, e)))
|
|
139
|
+
return !0;
|
|
140
|
+
}
|
|
141
|
+
if (this.hasFill())
|
|
142
|
+
return N(h, t, e);
|
|
143
|
+
}
|
|
144
|
+
return !1;
|
|
145
|
+
}, r.prototype.dirtyShape = function() {
|
|
146
|
+
this.__dirty |= c, this._rect && (this._rect = null), this._decalEl && this._decalEl.dirtyShape(), this.markRedraw();
|
|
147
|
+
}, r.prototype.dirty = function() {
|
|
148
|
+
this.dirtyStyle(), this.dirtyShape();
|
|
149
|
+
}, r.prototype.animateShape = function(t) {
|
|
150
|
+
return this.animate("shape", t);
|
|
151
|
+
}, r.prototype.updateDuringAnimation = function(t) {
|
|
152
|
+
t === "style" ? this.dirtyStyle() : t === "shape" ? this.dirtyShape() : this.markRedraw();
|
|
153
|
+
}, r.prototype.attrKV = function(t, e) {
|
|
154
|
+
t === "shape" ? this.setShape(e) : p.prototype.attrKV.call(this, t, e);
|
|
155
|
+
}, r.prototype.setShape = function(t, e) {
|
|
156
|
+
var i = this.shape;
|
|
157
|
+
return i || (i = this.shape = {}), typeof t == "string" ? i[t] = e : l(i, t), this.dirtyShape(), this;
|
|
158
|
+
}, r.prototype.shapeChanged = function() {
|
|
159
|
+
return !!(this.__dirty & c);
|
|
160
|
+
}, r.prototype.createStyle = function(t) {
|
|
161
|
+
return B(H, t);
|
|
162
|
+
}, r.prototype._innerSaveToNormal = function(t) {
|
|
163
|
+
p.prototype._innerSaveToNormal.call(this, t);
|
|
164
|
+
var e = this._normalState;
|
|
165
|
+
t.shape && !e.shape && (e.shape = l({}, this.shape));
|
|
166
|
+
}, r.prototype._applyStateObj = function(t, e, i, s, a, h) {
|
|
167
|
+
p.prototype._applyStateObj.call(this, t, e, i, s, a, h);
|
|
168
|
+
var n = !(e && s), o;
|
|
169
|
+
if (e && e.shape ? a ? s ? o = e.shape : (o = l({}, i.shape), l(o, e.shape)) : (o = l({}, s ? this.shape : i.shape), l(o, e.shape)) : n && (o = i.shape), o)
|
|
170
|
+
if (a) {
|
|
171
|
+
this.shape = l({}, this.shape);
|
|
172
|
+
for (var f = {}, d = m(o), y = 0; y < d.length; y++) {
|
|
173
|
+
var u = d[y];
|
|
174
|
+
typeof o[u] == "object" ? this.shape[u] = o[u] : f[u] = o[u];
|
|
175
|
+
}
|
|
176
|
+
this._transitionState(t, {
|
|
177
|
+
shape: f
|
|
178
|
+
}, h);
|
|
179
|
+
} else
|
|
180
|
+
this.shape = o, this.dirtyShape();
|
|
181
|
+
}, r.prototype._mergeStates = function(t) {
|
|
182
|
+
for (var e = p.prototype._mergeStates.call(this, t), i, s = 0; s < t.length; s++) {
|
|
183
|
+
var a = t[s];
|
|
184
|
+
a.shape && (i = i || {}, this._mergeStyle(i, a.shape));
|
|
185
|
+
}
|
|
186
|
+
return i && (e.shape = i), e;
|
|
187
|
+
}, r.prototype.getAnimationStyleProps = function() {
|
|
188
|
+
return U;
|
|
189
|
+
}, r.prototype.isZeroArea = function() {
|
|
190
|
+
return !1;
|
|
191
|
+
}, r.extend = function(t) {
|
|
192
|
+
var e = (function(s) {
|
|
193
|
+
v(a, s);
|
|
194
|
+
function a(h) {
|
|
195
|
+
var n = s.call(this, h) || this;
|
|
196
|
+
return t.init && t.init.call(n, h), n;
|
|
197
|
+
}
|
|
198
|
+
return a.prototype.getDefaultStyle = function() {
|
|
199
|
+
return S(t.style);
|
|
200
|
+
}, a.prototype.getDefaultShape = function() {
|
|
201
|
+
return S(t.shape);
|
|
202
|
+
}, a;
|
|
203
|
+
})(r);
|
|
204
|
+
for (var i in t)
|
|
205
|
+
typeof t[i] == "function" && (e.prototype[i] = t[i]);
|
|
206
|
+
return e;
|
|
207
|
+
}, r.initDefaultProps = (function() {
|
|
208
|
+
var t = r.prototype;
|
|
209
|
+
t.type = "path", t.strokeContainThreshold = 5, t.segmentIgnoreThreshold = 0, t.subPixelOptimize = !1, t.autoBatch = !1, t.__dirty = D | C | c;
|
|
210
|
+
})(), r;
|
|
211
|
+
})(O);
|
|
212
|
+
export {
|
|
213
|
+
U as DEFAULT_PATH_ANIMATION_PROPS,
|
|
214
|
+
H as DEFAULT_PATH_STYLE,
|
|
215
|
+
Z as default
|
|
216
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __extends as o } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import u from "./Gradient.js";
|
|
3
|
+
var m = (function(t) {
|
|
4
|
+
o(l, t);
|
|
5
|
+
function l(r, i, n, e, d) {
|
|
6
|
+
var a = t.call(this, e) || this;
|
|
7
|
+
return a.x = r ?? 0.5, a.y = i ?? 0.5, a.r = n ?? 0.5, a.type = "radial", a.global = d || !1, a;
|
|
8
|
+
}
|
|
9
|
+
return l;
|
|
10
|
+
})(u);
|
|
11
|
+
export {
|
|
12
|
+
m as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __extends as l } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import s from "./Displayable.js";
|
|
3
|
+
import { getBoundingRect as a } from "../contain/text.js";
|
|
4
|
+
import { DEFAULT_PATH_STYLE as p } from "./Path.js";
|
|
5
|
+
import { createObject as f, defaults as u } from "../core/util.js";
|
|
6
|
+
import { DEFAULT_FONT as y } from "../core/platform.js";
|
|
7
|
+
var h = u({
|
|
8
|
+
strokeFirst: !0,
|
|
9
|
+
font: y,
|
|
10
|
+
x: 0,
|
|
11
|
+
y: 0,
|
|
12
|
+
textAlign: "left",
|
|
13
|
+
textBaseline: "top",
|
|
14
|
+
miterLimit: 2
|
|
15
|
+
}, p), m = (function(i) {
|
|
16
|
+
l(r, i);
|
|
17
|
+
function r() {
|
|
18
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return r.prototype.hasStroke = function() {
|
|
21
|
+
var t = this.style, e = t.stroke;
|
|
22
|
+
return e != null && e !== "none" && t.lineWidth > 0;
|
|
23
|
+
}, r.prototype.hasFill = function() {
|
|
24
|
+
var t = this.style, e = t.fill;
|
|
25
|
+
return e != null && e !== "none";
|
|
26
|
+
}, r.prototype.createStyle = function(t) {
|
|
27
|
+
return f(h, t);
|
|
28
|
+
}, r.prototype.setBoundingRect = function(t) {
|
|
29
|
+
this._rect = t;
|
|
30
|
+
}, r.prototype.getBoundingRect = function() {
|
|
31
|
+
var t = this.style;
|
|
32
|
+
if (!this._rect) {
|
|
33
|
+
var e = t.text;
|
|
34
|
+
e != null ? e += "" : e = "";
|
|
35
|
+
var n = a(e, t.font, t.textAlign, t.textBaseline);
|
|
36
|
+
if (n.x += t.x || 0, n.y += t.y || 0, this.hasStroke()) {
|
|
37
|
+
var o = t.lineWidth;
|
|
38
|
+
n.x -= o / 2, n.y -= o / 2, n.width += o, n.height += o;
|
|
39
|
+
}
|
|
40
|
+
this._rect = n;
|
|
41
|
+
}
|
|
42
|
+
return this._rect;
|
|
43
|
+
}, r.initDefaultProps = (function() {
|
|
44
|
+
var t = r.prototype;
|
|
45
|
+
t.dirtyRectTolerance = 10;
|
|
46
|
+
})(), r;
|
|
47
|
+
})(s);
|
|
48
|
+
m.prototype.type = "tspan";
|
|
49
|
+
export {
|
|
50
|
+
h as DEFAULT_TSPAN_STYLE,
|
|
51
|
+
m as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { __extends as Q } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { parsePlainText as $, parseRichText as E } from "./helper/parseText.js";
|
|
3
|
+
import X from "./TSpan.js";
|
|
4
|
+
import { extend as k, keys as tt, defaults as rt, retrieve3 as Y, retrieve2 as N, trim as et, each as at, normalizeCssArray as it } from "../core/util.js";
|
|
5
|
+
import { adjustTextX as R, adjustTextY as L } from "../contain/text.js";
|
|
6
|
+
import ot from "./Image.js";
|
|
7
|
+
import nt from "./shape/Rect.js";
|
|
8
|
+
import z from "../core/BoundingRect.js";
|
|
9
|
+
import ht, { DEFAULT_COMMON_ANIMATION_PROPS as lt } from "./Displayable.js";
|
|
10
|
+
import { DEFAULT_FONT as I, DEFAULT_FONT_SIZE as ft } from "../core/platform.js";
|
|
11
|
+
var Z = {
|
|
12
|
+
fill: "#000"
|
|
13
|
+
}, U = 2, dt = {
|
|
14
|
+
style: rt({
|
|
15
|
+
fill: !0,
|
|
16
|
+
stroke: !0,
|
|
17
|
+
fillOpacity: !0,
|
|
18
|
+
strokeOpacity: !0,
|
|
19
|
+
lineWidth: !0,
|
|
20
|
+
fontSize: !0,
|
|
21
|
+
lineHeight: !0,
|
|
22
|
+
width: !0,
|
|
23
|
+
height: !0,
|
|
24
|
+
textShadowColor: !0,
|
|
25
|
+
textShadowBlur: !0,
|
|
26
|
+
textShadowOffsetX: !0,
|
|
27
|
+
textShadowOffsetY: !0,
|
|
28
|
+
backgroundColor: !0,
|
|
29
|
+
padding: !0,
|
|
30
|
+
borderColor: !0,
|
|
31
|
+
borderWidth: !0,
|
|
32
|
+
borderRadius: !0
|
|
33
|
+
}, lt.style)
|
|
34
|
+
}, st = (function(e) {
|
|
35
|
+
Q(a, e);
|
|
36
|
+
function a(t) {
|
|
37
|
+
var r = e.call(this) || this;
|
|
38
|
+
return r.type = "text", r._children = [], r._defaultStyle = Z, r.attr(t), r;
|
|
39
|
+
}
|
|
40
|
+
return a.prototype.childrenRef = function() {
|
|
41
|
+
return this._children;
|
|
42
|
+
}, a.prototype.update = function() {
|
|
43
|
+
e.prototype.update.call(this), this.styleChanged() && this._updateSubTexts();
|
|
44
|
+
for (var t = 0; t < this._children.length; t++) {
|
|
45
|
+
var r = this._children[t];
|
|
46
|
+
r.zlevel = this.zlevel, r.z = this.z, r.z2 = this.z2, r.culling = this.culling, r.cursor = this.cursor, r.invisible = this.invisible;
|
|
47
|
+
}
|
|
48
|
+
}, a.prototype.updateTransform = function() {
|
|
49
|
+
var t = this.innerTransformable;
|
|
50
|
+
t ? (t.updateTransform(), t.transform && (this.transform = t.transform)) : e.prototype.updateTransform.call(this);
|
|
51
|
+
}, a.prototype.getLocalTransform = function(t) {
|
|
52
|
+
var r = this.innerTransformable;
|
|
53
|
+
return r ? r.getLocalTransform(t) : e.prototype.getLocalTransform.call(this, t);
|
|
54
|
+
}, a.prototype.getComputedTransform = function() {
|
|
55
|
+
return this.__hostTarget && (this.__hostTarget.getComputedTransform(), this.__hostTarget.updateInnerText(!0)), e.prototype.getComputedTransform.call(this);
|
|
56
|
+
}, a.prototype._updateSubTexts = function() {
|
|
57
|
+
this._childCursor = 0, gt(this.style), this.style.rich ? this._updateRichTexts() : this._updatePlainTexts(), this._children.length = this._childCursor, this.styleUpdated();
|
|
58
|
+
}, a.prototype.addSelfToZr = function(t) {
|
|
59
|
+
e.prototype.addSelfToZr.call(this, t);
|
|
60
|
+
for (var r = 0; r < this._children.length; r++)
|
|
61
|
+
this._children[r].__zr = t;
|
|
62
|
+
}, a.prototype.removeSelfFromZr = function(t) {
|
|
63
|
+
e.prototype.removeSelfFromZr.call(this, t);
|
|
64
|
+
for (var r = 0; r < this._children.length; r++)
|
|
65
|
+
this._children[r].__zr = null;
|
|
66
|
+
}, a.prototype.getBoundingRect = function() {
|
|
67
|
+
if (this.styleChanged() && this._updateSubTexts(), !this._rect) {
|
|
68
|
+
for (var t = new z(0, 0, 0, 0), r = this._children, o = [], h = null, n = 0; n < r.length; n++) {
|
|
69
|
+
var g = r[n], p = g.getBoundingRect(), l = g.getLocalTransform(o);
|
|
70
|
+
l ? (t.copy(p), t.applyTransform(l), h = h || t.clone(), h.union(t)) : (h = h || p.clone(), h.union(p));
|
|
71
|
+
}
|
|
72
|
+
this._rect = h || t;
|
|
73
|
+
}
|
|
74
|
+
return this._rect;
|
|
75
|
+
}, a.prototype.setDefaultTextStyle = function(t) {
|
|
76
|
+
this._defaultStyle = t || Z;
|
|
77
|
+
}, a.prototype.setTextContent = function(t) {
|
|
78
|
+
}, a.prototype._mergeStyle = function(t, r) {
|
|
79
|
+
if (!r)
|
|
80
|
+
return t;
|
|
81
|
+
var o = r.rich, h = t.rich || o && {};
|
|
82
|
+
return k(t, r), o && h ? (this._mergeRich(h, o), t.rich = h) : h && (t.rich = h), t;
|
|
83
|
+
}, a.prototype._mergeRich = function(t, r) {
|
|
84
|
+
for (var o = tt(r), h = 0; h < o.length; h++) {
|
|
85
|
+
var n = o[h];
|
|
86
|
+
t[n] = t[n] || {}, k(t[n], r[n]);
|
|
87
|
+
}
|
|
88
|
+
}, a.prototype.getAnimationStyleProps = function() {
|
|
89
|
+
return dt;
|
|
90
|
+
}, a.prototype._getOrCreateChild = function(t) {
|
|
91
|
+
var r = this._children[this._childCursor];
|
|
92
|
+
return (!r || !(r instanceof t)) && (r = new t()), this._children[this._childCursor++] = r, r.__zr = this.__zr, r.parent = this, r;
|
|
93
|
+
}, a.prototype._updatePlainTexts = function() {
|
|
94
|
+
var t = this.style, r = t.font || I, o = t.padding, h = J(t), n = $(h, t), g = P(t), p = !!t.backgroundColor, l = n.outerHeight, w = n.outerWidth, x = n.contentWidth, O = n.lines, B = n.lineHeight, T = this._defaultStyle;
|
|
95
|
+
this.isTruncated = !!n.isTruncated;
|
|
96
|
+
var f = t.x || 0, i = t.y || 0, u = t.align || T.align || "left", s = t.verticalAlign || T.verticalAlign || "top", _ = f, c = L(i, n.contentHeight, s);
|
|
97
|
+
if (g || o) {
|
|
98
|
+
var S = R(f, w, u), D = L(i, l, s);
|
|
99
|
+
g && this._renderBackground(t, t, S, D, w, l);
|
|
100
|
+
}
|
|
101
|
+
c += B / 2, o && (_ = q(f, u, o), s === "top" ? c += o[0] : s === "bottom" && (c -= o[2]));
|
|
102
|
+
for (var F = 0, m = !1, y = K("fill" in t ? t.fill : (m = !0, T.fill)), C = V("stroke" in t ? t.stroke : !p && (!T.autoStroke || m) ? (F = U, T.stroke) : null), W = t.textShadowBlur > 0, b = t.width != null && (t.overflow === "truncate" || t.overflow === "break" || t.overflow === "breakAll"), A = n.calculatedLineHeight, v = 0; v < O.length; v++) {
|
|
103
|
+
var H = this._getOrCreateChild(X), d = H.createStyle();
|
|
104
|
+
H.useStyle(d), d.text = O[v], d.x = _, d.y = c, d.textAlign = u, d.textBaseline = "middle", d.opacity = t.opacity, d.strokeFirst = !0, W && (d.shadowBlur = t.textShadowBlur || 0, d.shadowColor = t.textShadowColor || "transparent", d.shadowOffsetX = t.textShadowOffsetX || 0, d.shadowOffsetY = t.textShadowOffsetY || 0), d.stroke = C, d.fill = y, C && (d.lineWidth = t.lineWidth || F, d.lineDash = t.lineDash, d.lineDashOffset = t.lineDashOffset || 0), d.font = r, j(d, t), c += B, b && H.setBoundingRect(new z(R(d.x, x, d.textAlign), L(d.y, A, d.textBaseline), x, A));
|
|
105
|
+
}
|
|
106
|
+
}, a.prototype._updateRichTexts = function() {
|
|
107
|
+
var t = this.style, r = J(t), o = E(r, t), h = o.width, n = o.outerWidth, g = o.outerHeight, p = t.padding, l = t.x || 0, w = t.y || 0, x = this._defaultStyle, O = t.align || x.align, B = t.verticalAlign || x.verticalAlign;
|
|
108
|
+
this.isTruncated = !!o.isTruncated;
|
|
109
|
+
var T = R(l, n, O), f = L(w, g, B), i = T, u = f;
|
|
110
|
+
p && (i += p[3], u += p[0]);
|
|
111
|
+
var s = i + h;
|
|
112
|
+
P(t) && this._renderBackground(t, t, T, f, n, g);
|
|
113
|
+
for (var _ = !!t.backgroundColor, c = 0; c < o.lines.length; c++) {
|
|
114
|
+
for (var S = o.lines[c], D = S.tokens, F = D.length, m = S.lineHeight, y = S.width, C = 0, W = i, b = s, A = F - 1, v = void 0; C < F && (v = D[C], !v.align || v.align === "left"); )
|
|
115
|
+
this._placeToken(v, t, m, u, W, "left", _), y -= v.width, W += v.width, C++;
|
|
116
|
+
for (; A >= 0 && (v = D[A], v.align === "right"); )
|
|
117
|
+
this._placeToken(v, t, m, u, b, "right", _), y -= v.width, b -= v.width, A--;
|
|
118
|
+
for (W += (h - (W - i) - (s - b) - y) / 2; C <= A; )
|
|
119
|
+
v = D[C], this._placeToken(v, t, m, u, W + v.width / 2, "center", _), W += v.width, C++;
|
|
120
|
+
u += m;
|
|
121
|
+
}
|
|
122
|
+
}, a.prototype._placeToken = function(t, r, o, h, n, g, p) {
|
|
123
|
+
var l = r.rich[t.styleName] || {};
|
|
124
|
+
l.text = t.text;
|
|
125
|
+
var w = t.verticalAlign, x = h + o / 2;
|
|
126
|
+
w === "top" ? x = h + t.height / 2 : w === "bottom" && (x = h + o - t.height / 2);
|
|
127
|
+
var O = !t.isLineHolder && P(l);
|
|
128
|
+
O && this._renderBackground(l, r, g === "right" ? n - t.width : g === "center" ? n - t.width / 2 : n, x - t.height / 2, t.width, t.height);
|
|
129
|
+
var B = !!l.backgroundColor, T = t.textPadding;
|
|
130
|
+
T && (n = q(n, g, T), x -= t.height / 2 - T[0] - t.innerHeight / 2);
|
|
131
|
+
var f = this._getOrCreateChild(X), i = f.createStyle();
|
|
132
|
+
f.useStyle(i);
|
|
133
|
+
var u = this._defaultStyle, s = !1, _ = 0, c = K("fill" in l ? l.fill : "fill" in r ? r.fill : (s = !0, u.fill)), S = V("stroke" in l ? l.stroke : "stroke" in r ? r.stroke : !B && !p && (!u.autoStroke || s) ? (_ = U, u.stroke) : null), D = l.textShadowBlur > 0 || r.textShadowBlur > 0;
|
|
134
|
+
i.text = t.text, i.x = n, i.y = x, D && (i.shadowBlur = l.textShadowBlur || r.textShadowBlur || 0, i.shadowColor = l.textShadowColor || r.textShadowColor || "transparent", i.shadowOffsetX = l.textShadowOffsetX || r.textShadowOffsetX || 0, i.shadowOffsetY = l.textShadowOffsetY || r.textShadowOffsetY || 0), i.textAlign = g, i.textBaseline = "middle", i.font = t.font || I, i.opacity = Y(l.opacity, r.opacity, 1), j(i, l), S && (i.lineWidth = Y(l.lineWidth, r.lineWidth, _), i.lineDash = N(l.lineDash, r.lineDash), i.lineDashOffset = r.lineDashOffset || 0, i.stroke = S), c && (i.fill = c);
|
|
135
|
+
var F = t.contentWidth, m = t.contentHeight;
|
|
136
|
+
f.setBoundingRect(new z(R(i.x, F, i.textAlign), L(i.y, m, i.textBaseline), F, m));
|
|
137
|
+
}, a.prototype._renderBackground = function(t, r, o, h, n, g) {
|
|
138
|
+
var p = t.backgroundColor, l = t.borderWidth, w = t.borderColor, x = p && p.image, O = p && !x, B = t.borderRadius, T = this, f, i;
|
|
139
|
+
if (O || t.lineHeight || l && w) {
|
|
140
|
+
f = this._getOrCreateChild(nt), f.useStyle(f.createStyle()), f.style.fill = null;
|
|
141
|
+
var u = f.shape;
|
|
142
|
+
u.x = o, u.y = h, u.width = n, u.height = g, u.r = B, f.dirtyShape();
|
|
143
|
+
}
|
|
144
|
+
if (O) {
|
|
145
|
+
var s = f.style;
|
|
146
|
+
s.fill = p || null, s.fillOpacity = N(t.fillOpacity, 1);
|
|
147
|
+
} else if (x) {
|
|
148
|
+
i = this._getOrCreateChild(ot), i.onload = function() {
|
|
149
|
+
T.dirtyStyle();
|
|
150
|
+
};
|
|
151
|
+
var _ = i.style;
|
|
152
|
+
_.image = p.image, _.x = o, _.y = h, _.width = n, _.height = g;
|
|
153
|
+
}
|
|
154
|
+
if (l && w) {
|
|
155
|
+
var s = f.style;
|
|
156
|
+
s.lineWidth = l, s.stroke = w, s.strokeOpacity = N(t.strokeOpacity, 1), s.lineDash = t.borderDash, s.lineDashOffset = t.borderDashOffset || 0, f.strokeContainThreshold = 0, f.hasFill() && f.hasStroke() && (s.strokeFirst = !0, s.lineWidth *= 2);
|
|
157
|
+
}
|
|
158
|
+
var c = (f || i).style;
|
|
159
|
+
c.shadowBlur = t.shadowBlur || 0, c.shadowColor = t.shadowColor || "transparent", c.shadowOffsetX = t.shadowOffsetX || 0, c.shadowOffsetY = t.shadowOffsetY || 0, c.opacity = Y(t.opacity, r.opacity, 1);
|
|
160
|
+
}, a.makeFont = function(t) {
|
|
161
|
+
var r = "";
|
|
162
|
+
return pt(t) && (r = [
|
|
163
|
+
t.fontStyle,
|
|
164
|
+
t.fontWeight,
|
|
165
|
+
ct(t.fontSize),
|
|
166
|
+
t.fontFamily || "sans-serif"
|
|
167
|
+
].join(" ")), r && et(r) || t.textFont || t.font;
|
|
168
|
+
}, a;
|
|
169
|
+
})(ht), ut = { left: !0, right: 1, center: 1 }, vt = { top: 1, bottom: 1, middle: 1 }, M = ["fontStyle", "fontWeight", "fontSize", "fontFamily"];
|
|
170
|
+
function ct(e) {
|
|
171
|
+
return typeof e == "string" && (e.indexOf("px") !== -1 || e.indexOf("rem") !== -1 || e.indexOf("em") !== -1) ? e : isNaN(+e) ? ft + "px" : e + "px";
|
|
172
|
+
}
|
|
173
|
+
function j(e, a) {
|
|
174
|
+
for (var t = 0; t < M.length; t++) {
|
|
175
|
+
var r = M[t], o = a[r];
|
|
176
|
+
o != null && (e[r] = o);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
function pt(e) {
|
|
180
|
+
return e.fontSize != null || e.fontFamily || e.fontWeight;
|
|
181
|
+
}
|
|
182
|
+
function gt(e) {
|
|
183
|
+
return G(e), at(e.rich, G), e;
|
|
184
|
+
}
|
|
185
|
+
function G(e) {
|
|
186
|
+
if (e) {
|
|
187
|
+
e.font = st.makeFont(e);
|
|
188
|
+
var a = e.align;
|
|
189
|
+
a === "middle" && (a = "center"), e.align = a == null || ut[a] ? a : "left";
|
|
190
|
+
var t = e.verticalAlign;
|
|
191
|
+
t === "center" && (t = "middle"), e.verticalAlign = t == null || vt[t] ? t : "top";
|
|
192
|
+
var r = e.padding;
|
|
193
|
+
r && (e.padding = it(e.padding));
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function V(e, a) {
|
|
197
|
+
return e == null || a <= 0 || e === "transparent" || e === "none" ? null : e.image || e.colorStops ? "#000" : e;
|
|
198
|
+
}
|
|
199
|
+
function K(e) {
|
|
200
|
+
return e == null || e === "none" ? null : e.image || e.colorStops ? "#000" : e;
|
|
201
|
+
}
|
|
202
|
+
function q(e, a, t) {
|
|
203
|
+
return a === "right" ? e - t[1] : a === "center" ? e + t[3] / 2 - t[1] / 2 : e + t[3];
|
|
204
|
+
}
|
|
205
|
+
function J(e) {
|
|
206
|
+
var a = e.text;
|
|
207
|
+
return a != null && (a += ""), a;
|
|
208
|
+
}
|
|
209
|
+
function P(e) {
|
|
210
|
+
return !!(e.backgroundColor || e.lineHeight || e.borderWidth && e.borderColor);
|
|
211
|
+
}
|
|
212
|
+
export {
|
|
213
|
+
dt as DEFAULT_TEXT_ANIMATION_PROPS,
|
|
214
|
+
st as default,
|
|
215
|
+
pt as hasSeparateFont,
|
|
216
|
+
gt as normalizeTextStyle,
|
|
217
|
+
ct as parseFontSize
|
|
218
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import h from "../../core/LRU.js";
|
|
2
|
+
import { platformApi as u } from "../../core/platform.js";
|
|
3
|
+
var f = new h(50);
|
|
4
|
+
function p(t) {
|
|
5
|
+
if (typeof t == "string") {
|
|
6
|
+
var o = f.get(t);
|
|
7
|
+
return o && o.image;
|
|
8
|
+
} else
|
|
9
|
+
return t;
|
|
10
|
+
}
|
|
11
|
+
function v(t, o, n, r, e) {
|
|
12
|
+
if (t)
|
|
13
|
+
if (typeof t == "string") {
|
|
14
|
+
if (o && o.__zrImageSrc === t || !n)
|
|
15
|
+
return o;
|
|
16
|
+
var i = f.get(t), l = { hostEl: n, cb: r, cbPayload: e };
|
|
17
|
+
return i ? (o = i.image, !d(o) && i.pending.push(l)) : (o = u.loadImage(t, s, s), o.__zrImageSrc = t, f.put(t, o.__cachedImgObj = {
|
|
18
|
+
image: o,
|
|
19
|
+
pending: [l]
|
|
20
|
+
})), o;
|
|
21
|
+
} else
|
|
22
|
+
return t;
|
|
23
|
+
else return o;
|
|
24
|
+
}
|
|
25
|
+
function s() {
|
|
26
|
+
var t = this.__cachedImgObj;
|
|
27
|
+
this.onload = this.onerror = this.__cachedImgObj = null;
|
|
28
|
+
for (var o = 0; o < t.pending.length; o++) {
|
|
29
|
+
var n = t.pending[o], r = n.cb;
|
|
30
|
+
r && r(this, n.cbPayload), n.hostEl.dirty();
|
|
31
|
+
}
|
|
32
|
+
t.pending.length = 0;
|
|
33
|
+
}
|
|
34
|
+
function d(t) {
|
|
35
|
+
return t && t.width && t.height;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
v as createOrUpdateImage,
|
|
39
|
+
p as findExistImage,
|
|
40
|
+
d as isImageReady
|
|
41
|
+
};
|