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,44 @@
|
|
|
1
|
+
import { retrieve as p, each as h } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { SINGLE_REFERRING as D } from "../../util/model.js";
|
|
3
|
+
function R(a, e, c) {
|
|
4
|
+
c = c || {};
|
|
5
|
+
var x = a.coordinateSystem, n = e.axis, t = {}, s = n.getAxesOnZeroOf()[0], v = n.position, m = s ? "onZero" : v, f = n.dim, o = x.getRect(), r = [o.x, o.x + o.width, o.y, o.y + o.height], l = {
|
|
6
|
+
left: 0,
|
|
7
|
+
right: 1,
|
|
8
|
+
top: 0,
|
|
9
|
+
bottom: 1,
|
|
10
|
+
onZero: 2
|
|
11
|
+
}, d = e.get("offset") || 0, i = f === "x" ? [r[2] - d, r[3] + d] : [r[0] - d, r[1] + d];
|
|
12
|
+
if (s) {
|
|
13
|
+
var u = s.toGlobalCoord(s.dataToCoord(0));
|
|
14
|
+
i[l.onZero] = Math.max(Math.min(u, i[1]), i[0]);
|
|
15
|
+
}
|
|
16
|
+
t.position = [f === "y" ? i[l[m]] : r[0], f === "x" ? i[l[m]] : r[3]], t.rotation = Math.PI / 2 * (f === "x" ? 0 : 1);
|
|
17
|
+
var b = {
|
|
18
|
+
top: -1,
|
|
19
|
+
bottom: 1,
|
|
20
|
+
left: -1,
|
|
21
|
+
right: 1
|
|
22
|
+
};
|
|
23
|
+
t.labelDirection = t.tickDirection = t.nameDirection = b[v], t.labelOffset = s ? i[l[v]] - i[l.onZero] : 0, e.get(["axisTick", "inside"]) && (t.tickDirection = -t.tickDirection), p(c.labelInside, e.get(["axisLabel", "inside"])) && (t.labelDirection = -t.labelDirection);
|
|
24
|
+
var g = e.get(["axisLabel", "rotate"]);
|
|
25
|
+
return t.labelRotate = m === "top" ? -g : g, t.z2 = 1, t;
|
|
26
|
+
}
|
|
27
|
+
function A(a) {
|
|
28
|
+
return a.get("coordinateSystem") === "cartesian2d";
|
|
29
|
+
}
|
|
30
|
+
function O(a) {
|
|
31
|
+
var e = {
|
|
32
|
+
xAxisModel: null,
|
|
33
|
+
yAxisModel: null
|
|
34
|
+
};
|
|
35
|
+
return h(e, function(c, x) {
|
|
36
|
+
var n = x.replace(/Model$/, ""), t = a.getReferringComponents(n, D).models[0];
|
|
37
|
+
e[x] = t;
|
|
38
|
+
}), e;
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
O as findAxisModels,
|
|
42
|
+
A as isCartesian2DSeries,
|
|
43
|
+
R as layout
|
|
44
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { bind as h, map as d } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
function s(a, t) {
|
|
3
|
+
return t = t || [0, 0], d(["x", "y"], function(e, i) {
|
|
4
|
+
var r = this.getAxis(e), o = t[i], n = a[i] / 2;
|
|
5
|
+
return r.type === "category" ? r.getBandWidth() : Math.abs(r.dataToCoord(o - n) - r.dataToCoord(o + n));
|
|
6
|
+
}, this);
|
|
7
|
+
}
|
|
8
|
+
function c(a) {
|
|
9
|
+
var t = a.master.getRect();
|
|
10
|
+
return {
|
|
11
|
+
coordSys: {
|
|
12
|
+
// The name exposed to user is always 'cartesian2d' but not 'grid'.
|
|
13
|
+
type: "cartesian2d",
|
|
14
|
+
x: t.x,
|
|
15
|
+
y: t.y,
|
|
16
|
+
width: t.width,
|
|
17
|
+
height: t.height
|
|
18
|
+
},
|
|
19
|
+
api: {
|
|
20
|
+
coord: function(e) {
|
|
21
|
+
return a.dataToPoint(e);
|
|
22
|
+
},
|
|
23
|
+
size: h(s, a)
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
c as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { __extends as h } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { createHashMap as y, retrieve2 as T, isString as S, mixin as M } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import _ from "../../../../zrender/lib/core/BoundingRect.js";
|
|
4
|
+
import m from "../View.js";
|
|
5
|
+
import d from "./geoSourceManager.js";
|
|
6
|
+
import { SINGLE_REFERRING as P } from "../../util/model.js";
|
|
7
|
+
var R = {
|
|
8
|
+
geoJSON: {
|
|
9
|
+
aspectScale: 0.75,
|
|
10
|
+
invertLongitute: !0
|
|
11
|
+
},
|
|
12
|
+
geoSVG: {
|
|
13
|
+
aspectScale: 1,
|
|
14
|
+
invertLongitute: !1
|
|
15
|
+
}
|
|
16
|
+
}, j = ["lng", "lat"], C = (
|
|
17
|
+
/** @class */
|
|
18
|
+
(function(c) {
|
|
19
|
+
h(n, c);
|
|
20
|
+
function n(e, t, r) {
|
|
21
|
+
var o = c.call(this, e) || this;
|
|
22
|
+
o.dimensions = j, o.type = "geo", o._nameCoordMap = y(), o.map = t;
|
|
23
|
+
var i = r.projection, p = d.load(t, r.nameMap, r.nameProperty), a = d.getGeoResource(t);
|
|
24
|
+
o.resourceType = a ? a.type : null;
|
|
25
|
+
var g = o.regions = p.regions, l = R[a.type];
|
|
26
|
+
o._regionsMap = p.regionsMap, o.regions = p.regions, o.projection = i;
|
|
27
|
+
var s;
|
|
28
|
+
if (i)
|
|
29
|
+
for (var u = 0; u < g.length; u++) {
|
|
30
|
+
var f = g[u].getBoundingRect(i);
|
|
31
|
+
s = s || f.clone(), s.union(f);
|
|
32
|
+
}
|
|
33
|
+
else
|
|
34
|
+
s = p.boundingRect;
|
|
35
|
+
return o.setBoundingRect(s.x, s.y, s.width, s.height), o.aspectScale = i ? 1 : T(r.aspectScale, l.aspectScale), o._invertLongitute = i ? !1 : l.invertLongitute, o;
|
|
36
|
+
}
|
|
37
|
+
return n.prototype._transformTo = function(e, t, r, o) {
|
|
38
|
+
var i = this.getBoundingRect(), p = this._invertLongitute;
|
|
39
|
+
i = i.clone(), p && (i.y = -i.y - i.height);
|
|
40
|
+
var a = this._rawTransformable;
|
|
41
|
+
a.transform = i.calculateTransform(new _(e, t, r, o));
|
|
42
|
+
var g = a.parent;
|
|
43
|
+
a.parent = null, a.decomposeTransform(), a.parent = g, p && (a.scaleY = -a.scaleY), this._updateTransform();
|
|
44
|
+
}, n.prototype.getRegion = function(e) {
|
|
45
|
+
return this._regionsMap.get(e);
|
|
46
|
+
}, n.prototype.getRegionByCoord = function(e) {
|
|
47
|
+
for (var t = this.regions, r = 0; r < t.length; r++) {
|
|
48
|
+
var o = t[r];
|
|
49
|
+
if (o.type === "geoJSON" && o.contain(e))
|
|
50
|
+
return t[r];
|
|
51
|
+
}
|
|
52
|
+
}, n.prototype.addGeoCoord = function(e, t) {
|
|
53
|
+
this._nameCoordMap.set(e, t);
|
|
54
|
+
}, n.prototype.getGeoCoord = function(e) {
|
|
55
|
+
var t = this._regionsMap.get(e);
|
|
56
|
+
return this._nameCoordMap.get(e) || t && t.getCenter();
|
|
57
|
+
}, n.prototype.dataToPoint = function(e, t, r) {
|
|
58
|
+
if (S(e) && (e = this.getGeoCoord(e)), e) {
|
|
59
|
+
var o = this.projection;
|
|
60
|
+
return o && (e = o.project(e)), e && this.projectedToPoint(e, t, r);
|
|
61
|
+
}
|
|
62
|
+
}, n.prototype.pointToData = function(e) {
|
|
63
|
+
var t = this.projection;
|
|
64
|
+
return t && (e = t.unproject(e)), e && this.pointToProjected(e);
|
|
65
|
+
}, n.prototype.pointToProjected = function(e) {
|
|
66
|
+
return c.prototype.pointToData.call(this, e);
|
|
67
|
+
}, n.prototype.projectedToPoint = function(e, t, r) {
|
|
68
|
+
return c.prototype.dataToPoint.call(this, e, t, r);
|
|
69
|
+
}, n.prototype.convertToPixel = function(e, t, r) {
|
|
70
|
+
var o = v(t);
|
|
71
|
+
return o === this ? o.dataToPoint(r) : null;
|
|
72
|
+
}, n.prototype.convertFromPixel = function(e, t, r) {
|
|
73
|
+
var o = v(t);
|
|
74
|
+
return o === this ? o.pointToData(r) : null;
|
|
75
|
+
}, n;
|
|
76
|
+
})(m)
|
|
77
|
+
);
|
|
78
|
+
M(C, m);
|
|
79
|
+
function v(c) {
|
|
80
|
+
var n = c.geoModel, e = c.seriesModel;
|
|
81
|
+
return n ? n.coordinateSystem : e ? e.coordinateSystem || (e.getReferringComponents("geo", P).models[0] || {}).coordinateSystem : null;
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
C as default,
|
|
85
|
+
j as geo2DDimensions
|
|
86
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { createHashMap as c, isString as h, each as f, hasOwn as u } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import g from "./parseGeoJson.js";
|
|
3
|
+
import m from "./fix/nanhai.js";
|
|
4
|
+
import N from "./fix/textCoord.js";
|
|
5
|
+
import l from "./fix/diaoyuIsland.js";
|
|
6
|
+
import d from "../../../../zrender/lib/core/BoundingRect.js";
|
|
7
|
+
var _ = "name", T = (
|
|
8
|
+
/** @class */
|
|
9
|
+
(function() {
|
|
10
|
+
function t(a, e, r) {
|
|
11
|
+
this.type = "geoJSON", this._parsedMap = c(), this._mapName = a, this._specialAreas = r, this._geoJSON = J(e);
|
|
12
|
+
}
|
|
13
|
+
return t.prototype.load = function(a, e) {
|
|
14
|
+
e = e || _;
|
|
15
|
+
var r = this._parsedMap.get(e);
|
|
16
|
+
if (!r) {
|
|
17
|
+
var n = this._parseToRegions(e);
|
|
18
|
+
r = this._parsedMap.set(e, {
|
|
19
|
+
regions: n,
|
|
20
|
+
boundingRect: v(n)
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
var i = c(), s = [];
|
|
24
|
+
return f(r.regions, function(o) {
|
|
25
|
+
var p = o.name;
|
|
26
|
+
a && u(a, p) && (o = o.cloneShallow(p = a[p])), s.push(o), i.set(p, o);
|
|
27
|
+
}), {
|
|
28
|
+
regions: s,
|
|
29
|
+
boundingRect: r.boundingRect || new d(0, 0, 0, 0),
|
|
30
|
+
regionsMap: i
|
|
31
|
+
};
|
|
32
|
+
}, t.prototype._parseToRegions = function(a) {
|
|
33
|
+
var e = this._mapName, r = this._geoJSON, n;
|
|
34
|
+
try {
|
|
35
|
+
n = r ? g(r, a) : [];
|
|
36
|
+
} catch (i) {
|
|
37
|
+
throw new Error(`Invalid geoJson format
|
|
38
|
+
` + i.message);
|
|
39
|
+
}
|
|
40
|
+
return m(e, n), f(n, function(i) {
|
|
41
|
+
var s = i.name;
|
|
42
|
+
N(e, i), l(e, i);
|
|
43
|
+
var o = this._specialAreas && this._specialAreas[s];
|
|
44
|
+
o && i.transformTo(o.left, o.top, o.width, o.height);
|
|
45
|
+
}, this), n;
|
|
46
|
+
}, t.prototype.getMapForUser = function() {
|
|
47
|
+
return {
|
|
48
|
+
// For backward compatibility, use geoJson
|
|
49
|
+
// PENDING: it has been returning them without clone.
|
|
50
|
+
// do we need to avoid outsite modification?
|
|
51
|
+
geoJson: this._geoJSON,
|
|
52
|
+
geoJSON: this._geoJSON,
|
|
53
|
+
specialAreas: this._specialAreas
|
|
54
|
+
};
|
|
55
|
+
}, t;
|
|
56
|
+
})()
|
|
57
|
+
);
|
|
58
|
+
function v(t) {
|
|
59
|
+
for (var a, e = 0; e < t.length; e++) {
|
|
60
|
+
var r = t[e].getBoundingRect();
|
|
61
|
+
a = a || r.clone(), a.union(r);
|
|
62
|
+
}
|
|
63
|
+
return a;
|
|
64
|
+
}
|
|
65
|
+
function J(t) {
|
|
66
|
+
return h(t) ? typeof JSON < "u" && JSON.parse ? JSON.parse(t) : new Function("return (" + t + ");")() : t;
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
T as GeoJSONResource
|
|
70
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { reduce as c, createHashMap as u, isFunction as d, isString as f } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { defaultEmphasis as m } from "../../util/model.js";
|
|
4
|
+
import g from "../../model/Component.js";
|
|
5
|
+
import s from "../../model/Model.js";
|
|
6
|
+
import h from "./geoCreator.js";
|
|
7
|
+
import M from "./geoSourceManager.js";
|
|
8
|
+
var _ = (
|
|
9
|
+
/** @class */
|
|
10
|
+
(function(n) {
|
|
11
|
+
p(o, n);
|
|
12
|
+
function o() {
|
|
13
|
+
var e = n !== null && n.apply(this, arguments) || this;
|
|
14
|
+
return e.type = o.type, e;
|
|
15
|
+
}
|
|
16
|
+
return o.prototype.init = function(e, t, l) {
|
|
17
|
+
var r = M.getGeoResource(e.map);
|
|
18
|
+
if (r && r.type === "geoJSON") {
|
|
19
|
+
var i = e.itemStyle = e.itemStyle || {};
|
|
20
|
+
"color" in i || (i.color = "#eee");
|
|
21
|
+
}
|
|
22
|
+
this.mergeDefaultAndTheme(e, l), m(e, "label", ["show"]);
|
|
23
|
+
}, o.prototype.optionUpdated = function() {
|
|
24
|
+
var e = this, t = this.option;
|
|
25
|
+
t.regions = h.getFilledRegions(t.regions, t.map, t.nameMap, t.nameProperty);
|
|
26
|
+
var l = {};
|
|
27
|
+
this._optionModelMap = c(t.regions || [], function(r, i) {
|
|
28
|
+
var a = i.name;
|
|
29
|
+
return a && (r.set(a, new s(i, e, e.ecModel)), i.selected && (l[a] = !0)), r;
|
|
30
|
+
}, u()), t.selectedMap || (t.selectedMap = l);
|
|
31
|
+
}, o.prototype.getRegionModel = function(e) {
|
|
32
|
+
return this._optionModelMap.get(e) || new s(null, this, this.ecModel);
|
|
33
|
+
}, o.prototype.getFormattedLabel = function(e, t) {
|
|
34
|
+
var l = this.getRegionModel(e), r = t === "normal" ? l.get(["label", "formatter"]) : l.get(["emphasis", "label", "formatter"]), i = {
|
|
35
|
+
name: e
|
|
36
|
+
};
|
|
37
|
+
if (d(r))
|
|
38
|
+
return i.status = t, r(i);
|
|
39
|
+
if (f(r))
|
|
40
|
+
return r.replace("{a}", e ?? "");
|
|
41
|
+
}, o.prototype.setZoom = function(e) {
|
|
42
|
+
this.option.zoom = e;
|
|
43
|
+
}, o.prototype.setCenter = function(e) {
|
|
44
|
+
this.option.center = e;
|
|
45
|
+
}, o.prototype.select = function(e) {
|
|
46
|
+
var t = this.option, l = t.selectedMode;
|
|
47
|
+
if (l) {
|
|
48
|
+
l !== "multiple" && (t.selectedMap = null);
|
|
49
|
+
var r = t.selectedMap || (t.selectedMap = {});
|
|
50
|
+
r[e] = !0;
|
|
51
|
+
}
|
|
52
|
+
}, o.prototype.unSelect = function(e) {
|
|
53
|
+
var t = this.option.selectedMap;
|
|
54
|
+
t && (t[e] = !1);
|
|
55
|
+
}, o.prototype.toggleSelected = function(e) {
|
|
56
|
+
this[this.isSelected(e) ? "unSelect" : "select"](e);
|
|
57
|
+
}, o.prototype.isSelected = function(e) {
|
|
58
|
+
var t = this.option.selectedMap;
|
|
59
|
+
return !!(t && t[e]);
|
|
60
|
+
}, o.type = "geo", o.layoutMode = "box", o.defaultOption = {
|
|
61
|
+
// zlevel: 0,
|
|
62
|
+
z: 0,
|
|
63
|
+
show: !0,
|
|
64
|
+
left: "center",
|
|
65
|
+
top: "center",
|
|
66
|
+
// Default value:
|
|
67
|
+
// for geoSVG source: 1,
|
|
68
|
+
// for geoJSON source: 0.75.
|
|
69
|
+
aspectScale: null,
|
|
70
|
+
// /// Layout with center and size
|
|
71
|
+
// If you want to put map in a fixed size box with right aspect ratio
|
|
72
|
+
// This two properties may be more convenient
|
|
73
|
+
// layoutCenter: [50%, 50%]
|
|
74
|
+
// layoutSize: 100
|
|
75
|
+
silent: !1,
|
|
76
|
+
// Map type
|
|
77
|
+
map: "",
|
|
78
|
+
// Define left-top, right-bottom coords to control view
|
|
79
|
+
// For example, [ [180, 90], [-180, -90] ]
|
|
80
|
+
boundingCoords: null,
|
|
81
|
+
// Default on center of map
|
|
82
|
+
center: null,
|
|
83
|
+
zoom: 1,
|
|
84
|
+
scaleLimit: null,
|
|
85
|
+
// selectedMode: false
|
|
86
|
+
label: {
|
|
87
|
+
show: !1,
|
|
88
|
+
color: "#000"
|
|
89
|
+
},
|
|
90
|
+
itemStyle: {
|
|
91
|
+
borderWidth: 0.5,
|
|
92
|
+
borderColor: "#444"
|
|
93
|
+
// Default color:
|
|
94
|
+
// + geoJSON: #eee
|
|
95
|
+
// + geoSVG: null (use SVG original `fill`)
|
|
96
|
+
// color: '#eee'
|
|
97
|
+
},
|
|
98
|
+
emphasis: {
|
|
99
|
+
label: {
|
|
100
|
+
show: !0,
|
|
101
|
+
color: "rgb(100,0,0)"
|
|
102
|
+
},
|
|
103
|
+
itemStyle: {
|
|
104
|
+
color: "rgba(255,215,0,0.8)"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
select: {
|
|
108
|
+
label: {
|
|
109
|
+
show: !0,
|
|
110
|
+
color: "rgb(100,0,0)"
|
|
111
|
+
},
|
|
112
|
+
itemStyle: {
|
|
113
|
+
color: "rgba(255,215,0,0.8)"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
regions: []
|
|
117
|
+
// tooltip: {
|
|
118
|
+
// show: false
|
|
119
|
+
// }
|
|
120
|
+
}, o;
|
|
121
|
+
})(g)
|
|
122
|
+
);
|
|
123
|
+
export {
|
|
124
|
+
_ as default
|
|
125
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { parseSVG as m, makeViewBoxTransform as M } from "../../../../zrender/lib/tool/parseSVG.js";
|
|
2
|
+
import w from "../../../../zrender/lib/graphic/Group.js";
|
|
3
|
+
import y from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
4
|
+
import { createHashMap as v, assert as V, each as _ } from "../../../../zrender/lib/core/util.js";
|
|
5
|
+
import x from "../../../../zrender/lib/core/BoundingRect.js";
|
|
6
|
+
import { parseXML as S } from "../../../../zrender/lib/tool/parseXML.js";
|
|
7
|
+
import { GeoSVGRegion as L } from "./Region.js";
|
|
8
|
+
var A = v([
|
|
9
|
+
"rect",
|
|
10
|
+
"circle",
|
|
11
|
+
"line",
|
|
12
|
+
"ellipse",
|
|
13
|
+
"polygon",
|
|
14
|
+
"polyline",
|
|
15
|
+
"path",
|
|
16
|
+
// <text> <tspan> are also enabled because some SVG might paint text itself,
|
|
17
|
+
// but still need to trigger events or tooltip.
|
|
18
|
+
"text",
|
|
19
|
+
"tspan",
|
|
20
|
+
// <g> is also enabled because this case: if multiple tags share one name
|
|
21
|
+
// and need label displayed, every tags will display the name, which is not
|
|
22
|
+
// expected. So we can put them into a <g name="xxx">. Thereby only one label
|
|
23
|
+
// displayed and located based on the bounding rect of the <g>.
|
|
24
|
+
"g"
|
|
25
|
+
]), T = (
|
|
26
|
+
/** @class */
|
|
27
|
+
(function() {
|
|
28
|
+
function o(i, e) {
|
|
29
|
+
this.type = "geoSVG", this._usedGraphicMap = v(), this._freedGraphics = [], this._mapName = i, this._parsedXML = S(e);
|
|
30
|
+
}
|
|
31
|
+
return o.prototype.load = function() {
|
|
32
|
+
var i = this._firstGraphic;
|
|
33
|
+
if (!i) {
|
|
34
|
+
i = this._firstGraphic = this._buildGraphic(this._parsedXML), this._freedGraphics.push(i), this._boundingRect = this._firstGraphic.boundingRect.clone();
|
|
35
|
+
var e = N(i.named), r = e.regions, s = e.regionsMap;
|
|
36
|
+
this._regions = r, this._regionsMap = s;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
boundingRect: this._boundingRect,
|
|
40
|
+
regions: this._regions,
|
|
41
|
+
regionsMap: this._regionsMap
|
|
42
|
+
};
|
|
43
|
+
}, o.prototype._buildGraphic = function(i) {
|
|
44
|
+
var e, r;
|
|
45
|
+
try {
|
|
46
|
+
e = i && m(i, {
|
|
47
|
+
ignoreViewBox: !0,
|
|
48
|
+
ignoreRootClip: !0
|
|
49
|
+
}) || {}, r = e.root, V(r != null);
|
|
50
|
+
} catch (h) {
|
|
51
|
+
throw new Error(`Invalid svg format
|
|
52
|
+
` + h.message);
|
|
53
|
+
}
|
|
54
|
+
var s = new w();
|
|
55
|
+
s.add(r), s.isGeoSVGGraphicRoot = !0;
|
|
56
|
+
var G = e.width, c = e.height, t = e.viewBoxRect, p = this._boundingRect;
|
|
57
|
+
if (!p) {
|
|
58
|
+
var n = void 0, a = void 0, u = void 0, f = void 0;
|
|
59
|
+
if (G != null ? (n = 0, u = G) : t && (n = t.x, u = t.width), c != null ? (a = 0, f = c) : t && (a = t.y, f = t.height), n == null || a == null) {
|
|
60
|
+
var g = r.getBoundingRect();
|
|
61
|
+
n == null && (n = g.x, u = g.width), a == null && (a = g.y, f = g.height);
|
|
62
|
+
}
|
|
63
|
+
p = this._boundingRect = new x(n, a, u, f);
|
|
64
|
+
}
|
|
65
|
+
if (t) {
|
|
66
|
+
var l = M(t, p);
|
|
67
|
+
r.scaleX = r.scaleY = l.scale, r.x = l.x, r.y = l.y;
|
|
68
|
+
}
|
|
69
|
+
s.setClipPath(new y({
|
|
70
|
+
shape: p.plain()
|
|
71
|
+
}));
|
|
72
|
+
var d = [];
|
|
73
|
+
return _(e.named, function(h) {
|
|
74
|
+
A.get(h.svgNodeTagLower) != null && (d.push(h), E(h.el));
|
|
75
|
+
}), {
|
|
76
|
+
root: s,
|
|
77
|
+
boundingRect: p,
|
|
78
|
+
named: d
|
|
79
|
+
};
|
|
80
|
+
}, o.prototype.useGraphic = function(i) {
|
|
81
|
+
var e = this._usedGraphicMap, r = e.get(i);
|
|
82
|
+
return r || (r = this._freedGraphics.pop() || this._buildGraphic(this._parsedXML), e.set(i, r), r);
|
|
83
|
+
}, o.prototype.freeGraphic = function(i) {
|
|
84
|
+
var e = this._usedGraphicMap, r = e.get(i);
|
|
85
|
+
r && (e.removeKey(i), this._freedGraphics.push(r));
|
|
86
|
+
}, o;
|
|
87
|
+
})()
|
|
88
|
+
);
|
|
89
|
+
function E(o) {
|
|
90
|
+
o.silent = !1, o.isGroup && o.traverse(function(i) {
|
|
91
|
+
i.silent = !1;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
function N(o) {
|
|
95
|
+
var i = [], e = v();
|
|
96
|
+
return _(o, function(r) {
|
|
97
|
+
if (r.namedFrom == null) {
|
|
98
|
+
var s = new L(r.name, r.el);
|
|
99
|
+
i.push(s), e.set(r.name, s);
|
|
100
|
+
}
|
|
101
|
+
}), {
|
|
102
|
+
regions: i,
|
|
103
|
+
regionsMap: e
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export {
|
|
107
|
+
T as GeoSVGResource
|
|
108
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { __extends as R } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import y from "../../../../zrender/lib/core/BoundingRect.js";
|
|
3
|
+
import { applyTransform as S, min as x, max as F } from "../../../../zrender/lib/core/vector.js";
|
|
4
|
+
import { contain as G } from "../../../../zrender/lib/contain/polygon.js";
|
|
5
|
+
import { identity as O, mul as B, invert as N } from "../../../../zrender/lib/core/matrix.js";
|
|
6
|
+
import { each as l } from "../../../../zrender/lib/core/util.js";
|
|
7
|
+
var d = [];
|
|
8
|
+
function m(o, n) {
|
|
9
|
+
for (var r = 0; r < o.length; r++)
|
|
10
|
+
S(o[r], o[r], n);
|
|
11
|
+
}
|
|
12
|
+
function p(o, n, r, i) {
|
|
13
|
+
for (var e = 0; e < o.length; e++) {
|
|
14
|
+
var t = o[e];
|
|
15
|
+
i && (t = i.project(t)), t && isFinite(t[0]) && isFinite(t[1]) && (x(n, n, t), F(r, r, t));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function w(o) {
|
|
19
|
+
for (var n = 0, r = 0, i = 0, e = o.length, t = o[e - 1][0], a = o[e - 1][1], f = 0; f < e; f++) {
|
|
20
|
+
var s = o[f][0], c = o[f][1], u = t * c - s * a;
|
|
21
|
+
n += u, r += (t + s) * u, i += (a + c) * u, t = s, a = c;
|
|
22
|
+
}
|
|
23
|
+
return n ? [r / n / 3, i / n / 3, n] : [o[0][0] || 0, o[0][1] || 0];
|
|
24
|
+
}
|
|
25
|
+
var _ = (
|
|
26
|
+
/** @class */
|
|
27
|
+
(function() {
|
|
28
|
+
function o(n) {
|
|
29
|
+
this.name = n;
|
|
30
|
+
}
|
|
31
|
+
return o.prototype.setCenter = function(n) {
|
|
32
|
+
this._center = n;
|
|
33
|
+
}, o.prototype.getCenter = function() {
|
|
34
|
+
var n = this._center;
|
|
35
|
+
return n || (n = this._center = this.calcCenter()), n;
|
|
36
|
+
}, o;
|
|
37
|
+
})()
|
|
38
|
+
), L = (
|
|
39
|
+
/** @class */
|
|
40
|
+
/* @__PURE__ */ (function() {
|
|
41
|
+
function o(n, r) {
|
|
42
|
+
this.type = "polygon", this.exterior = n, this.interiors = r;
|
|
43
|
+
}
|
|
44
|
+
return o;
|
|
45
|
+
})()
|
|
46
|
+
), A = (
|
|
47
|
+
/** @class */
|
|
48
|
+
/* @__PURE__ */ (function() {
|
|
49
|
+
function o(n) {
|
|
50
|
+
this.type = "linestring", this.points = n;
|
|
51
|
+
}
|
|
52
|
+
return o;
|
|
53
|
+
})()
|
|
54
|
+
), M = (
|
|
55
|
+
/** @class */
|
|
56
|
+
(function(o) {
|
|
57
|
+
R(n, o);
|
|
58
|
+
function n(r, i, e) {
|
|
59
|
+
var t = o.call(this, r) || this;
|
|
60
|
+
return t.type = "geoJSON", t.geometries = i, t._center = e && [e[0], e[1]], t;
|
|
61
|
+
}
|
|
62
|
+
return n.prototype.calcCenter = function() {
|
|
63
|
+
for (var r = this.geometries, i, e = 0, t = 0; t < r.length; t++) {
|
|
64
|
+
var a = r[t], f = a.exterior, s = f && f.length;
|
|
65
|
+
s > e && (i = a, e = s);
|
|
66
|
+
}
|
|
67
|
+
if (i)
|
|
68
|
+
return w(i.exterior);
|
|
69
|
+
var c = this.getBoundingRect();
|
|
70
|
+
return [c.x + c.width / 2, c.y + c.height / 2];
|
|
71
|
+
}, n.prototype.getBoundingRect = function(r) {
|
|
72
|
+
var i = this._rect;
|
|
73
|
+
if (i && !r)
|
|
74
|
+
return i;
|
|
75
|
+
var e = [1 / 0, 1 / 0], t = [-1 / 0, -1 / 0], a = this.geometries;
|
|
76
|
+
return l(a, function(f) {
|
|
77
|
+
f.type === "polygon" ? p(f.exterior, e, t, r) : l(f.points, function(s) {
|
|
78
|
+
p(s, e, t, r);
|
|
79
|
+
});
|
|
80
|
+
}), isFinite(e[0]) && isFinite(e[1]) && isFinite(t[0]) && isFinite(t[1]) || (e[0] = e[1] = t[0] = t[1] = 0), i = new y(e[0], e[1], t[0] - e[0], t[1] - e[1]), r || (this._rect = i), i;
|
|
81
|
+
}, n.prototype.contain = function(r) {
|
|
82
|
+
var i = this.getBoundingRect(), e = this.geometries;
|
|
83
|
+
if (!i.contain(r[0], r[1]))
|
|
84
|
+
return !1;
|
|
85
|
+
t: for (var t = 0, a = e.length; t < a; t++) {
|
|
86
|
+
var f = e[t];
|
|
87
|
+
if (f.type === "polygon") {
|
|
88
|
+
var s = f.exterior, c = f.interiors;
|
|
89
|
+
if (G(s, r[0], r[1])) {
|
|
90
|
+
for (var u = 0; u < (c ? c.length : 0); u++)
|
|
91
|
+
if (G(c[u], r[0], r[1]))
|
|
92
|
+
continue t;
|
|
93
|
+
return !0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return !1;
|
|
98
|
+
}, n.prototype.transformTo = function(r, i, e, t) {
|
|
99
|
+
var a = this.getBoundingRect(), f = a.width / a.height;
|
|
100
|
+
e ? t || (t = e / f) : e = f * t;
|
|
101
|
+
for (var s = new y(r, i, e, t), c = a.calculateTransform(s), u = this.geometries, g = 0; g < u.length; g++) {
|
|
102
|
+
var v = u[g];
|
|
103
|
+
v.type === "polygon" ? (m(v.exterior, c), l(v.interiors, function(h) {
|
|
104
|
+
m(h, c);
|
|
105
|
+
})) : l(v.points, function(h) {
|
|
106
|
+
m(h, c);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
a = this._rect, a.copy(s), this._center = [a.x + a.width / 2, a.y + a.height / 2];
|
|
110
|
+
}, n.prototype.cloneShallow = function(r) {
|
|
111
|
+
r == null && (r = this.name);
|
|
112
|
+
var i = new n(r, this.geometries, this._center);
|
|
113
|
+
return i._rect = this._rect, i.transformTo = null, i;
|
|
114
|
+
}, n;
|
|
115
|
+
})(_)
|
|
116
|
+
), b = (
|
|
117
|
+
/** @class */
|
|
118
|
+
(function(o) {
|
|
119
|
+
R(n, o);
|
|
120
|
+
function n(r, i) {
|
|
121
|
+
var e = o.call(this, r) || this;
|
|
122
|
+
return e.type = "geoSVG", e._elOnlyForCalculate = i, e;
|
|
123
|
+
}
|
|
124
|
+
return n.prototype.calcCenter = function() {
|
|
125
|
+
for (var r = this._elOnlyForCalculate, i = r.getBoundingRect(), e = [i.x + i.width / 2, i.y + i.height / 2], t = O(d), a = r; a && !a.isGeoSVGGraphicRoot; )
|
|
126
|
+
B(t, a.getLocalTransform(), t), a = a.parent;
|
|
127
|
+
return N(t, t), S(e, e, t), e;
|
|
128
|
+
}, n;
|
|
129
|
+
})(_)
|
|
130
|
+
);
|
|
131
|
+
export {
|
|
132
|
+
A as GeoJSONLineStringGeometry,
|
|
133
|
+
L as GeoJSONPolygonGeometry,
|
|
134
|
+
M as GeoJSONRegion,
|
|
135
|
+
b as GeoSVGRegion,
|
|
136
|
+
_ as Region
|
|
137
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var i = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];
|
|
2
|
+
function o(a, e) {
|
|
3
|
+
a === "china" && e.name === "台湾" && e.geometries.push({
|
|
4
|
+
type: "polygon",
|
|
5
|
+
exterior: i[0]
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
o as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { map as m } from "../../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { GeoJSONRegion as u } from "../Region.js";
|
|
3
|
+
var t = [126, 25], f = "南海诸岛", o = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
|
|
4
|
+
for (var r = 0; r < o.length; r++)
|
|
5
|
+
for (var a = 0; a < o[r].length; a++)
|
|
6
|
+
o[r][a][0] /= 10.5, o[r][a][1] /= -10.5 / 0.75, o[r][a][0] += t[0], o[r][a][1] += t[1];
|
|
7
|
+
function g(p, n) {
|
|
8
|
+
if (p === "china") {
|
|
9
|
+
for (var e = 0; e < n.length; e++)
|
|
10
|
+
if (n[e].name === f)
|
|
11
|
+
return;
|
|
12
|
+
n.push(new u(f, m(o, function(h) {
|
|
13
|
+
return {
|
|
14
|
+
type: "polygon",
|
|
15
|
+
exterior: h
|
|
16
|
+
};
|
|
17
|
+
}), t));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
g as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var s = {
|
|
2
|
+
南海诸岛: [32, 80],
|
|
3
|
+
// 全国
|
|
4
|
+
广东: [0, -10],
|
|
5
|
+
香港: [10, 5],
|
|
6
|
+
澳门: [-10, 10],
|
|
7
|
+
// '北京': [-10, 0],
|
|
8
|
+
天津: [5, 5]
|
|
9
|
+
};
|
|
10
|
+
function n(f, e) {
|
|
11
|
+
if (f === "china") {
|
|
12
|
+
var t = s[e.name];
|
|
13
|
+
if (t) {
|
|
14
|
+
var a = e.getCenter();
|
|
15
|
+
a[0] += t[0] / 10.5, a[1] += -t[1] / (10.5 / 0.75), e.setCenter(a);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
n as default
|
|
21
|
+
};
|