web-core-tcm 0.0.62 → 0.0.63
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/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- 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/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/globals.js +1 -0
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.js +10 -8
- package/dist/src/api/check/alova/globals.js +1 -0
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.js +5 -6
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/globals.js +1 -0
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.js +10 -9
- package/dist/src/api/index.js +28 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/globals.js +1 -0
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.js +13 -11
- package/dist/src/api/outpatient/alova/globals.js +1 -0
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/globals.js +1 -0
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.js +9 -12
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/globals.js +1 -0
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.js +8 -7
- package/dist/src/api/scientist/alova/globals.js +1 -0
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +63 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,90 +1,91 @@
|
|
|
1
1
|
import { __extends as ut } from "../../../../tslib/tslib.es6.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { isNumber as ht, map as ft, each as it, bind as pt, defaults as Z, isFunction as T } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import gt from "../helper/SymbolDraw.js";
|
|
4
4
|
import ot from "../helper/Symbol.js";
|
|
5
5
|
import mt from "./lineAnimationDiff.js";
|
|
6
|
+
import "../../util/graphic.js";
|
|
6
7
|
import { queryDataIndex as q, interpolateRawValues as ct } from "../../util/model.js";
|
|
7
|
-
import { ECPolyline as yt, ECPolygon as
|
|
8
|
+
import { ECPolyline as yt, ECPolygon as dt } from "./poly.js";
|
|
8
9
|
import F from "../../view/Chart.js";
|
|
9
|
-
import {
|
|
10
|
+
import { getStackedOnPoint as _t, prepareDataCoordInfo as bt } from "./helper.js";
|
|
10
11
|
import { createGridClipPath as St, createPolarClipPath as xt } from "../helper/createClipPathFromCoordSys.js";
|
|
11
|
-
import { isCoordinateSystemType as
|
|
12
|
-
import {
|
|
13
|
-
import { setLabelStyle as
|
|
14
|
-
import { getDefaultInterpolatedLabel as
|
|
12
|
+
import { isCoordinateSystemType as wt } from "../../coord/CoordinateSystem.js";
|
|
13
|
+
import { SPECIAL_STATES as $, setStatesStylesFromModel as j, toggleHoverEmphasis as K, setStatesFlag as Q } from "../../util/states.js";
|
|
14
|
+
import { setLabelStyle as It, getLabelStatesModels as Lt, labelInner as Pt } from "../../label/labelStyle.js";
|
|
15
|
+
import { getDefaultInterpolatedLabel as Dt, getDefaultLabel as At } from "../helper/labelHelper.js";
|
|
15
16
|
import { getECData as V } from "../../util/innerStore.js";
|
|
16
17
|
import { createFloat32Array as Ct } from "../../util/vendor.js";
|
|
17
18
|
import { convertToColorString as Y } from "../../util/format.js";
|
|
18
19
|
import { lerp as Nt } from "../../../../zrender/lib/tool/color.js";
|
|
19
|
-
import Et from "../../../../zrender/lib/graphic/
|
|
20
|
-
import kt from "../../../../zrender/lib/graphic/
|
|
21
|
-
import Gt from "
|
|
22
|
-
import
|
|
23
|
-
function tt(
|
|
24
|
-
if (
|
|
25
|
-
for (var t = 0; t <
|
|
26
|
-
if (
|
|
20
|
+
import Et from "../../../../zrender/lib/graphic/LinearGradient.js";
|
|
21
|
+
import kt from "../../../../zrender/lib/graphic/Group.js";
|
|
22
|
+
import { initProps as Gt, updateProps as M } from "../../animation/basicTransition.js";
|
|
23
|
+
import Ot from "../../../../zrender/lib/graphic/Text.js";
|
|
24
|
+
function tt(s, l) {
|
|
25
|
+
if (s.length === l.length) {
|
|
26
|
+
for (var t = 0; t < s.length; t++)
|
|
27
|
+
if (s[t] !== l[t])
|
|
27
28
|
return;
|
|
28
29
|
return !0;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
function et(
|
|
32
|
-
for (var l = 1 / 0, t = 1 / 0, o = -1 / 0, n = -1 / 0, e = 0; e <
|
|
33
|
-
var a =
|
|
32
|
+
function et(s) {
|
|
33
|
+
for (var l = 1 / 0, t = 1 / 0, o = -1 / 0, n = -1 / 0, e = 0; e < s.length; ) {
|
|
34
|
+
var a = s[e++], i = s[e++];
|
|
34
35
|
isNaN(a) || (l = Math.min(a, l), o = Math.max(a, o)), isNaN(i) || (t = Math.min(i, t), n = Math.max(i, n));
|
|
35
36
|
}
|
|
36
37
|
return [[l, t], [o, n]];
|
|
37
38
|
}
|
|
38
|
-
function at(
|
|
39
|
-
var t = et(
|
|
39
|
+
function at(s, l) {
|
|
40
|
+
var t = et(s), o = t[0], n = t[1], e = et(l), a = e[0], i = e[1];
|
|
40
41
|
return Math.max(Math.abs(o[0] - a[0]), Math.abs(o[1] - a[1]), Math.abs(n[0] - i[0]), Math.abs(n[1] - i[1]));
|
|
41
42
|
}
|
|
42
|
-
function rt(
|
|
43
|
-
return
|
|
43
|
+
function rt(s) {
|
|
44
|
+
return ht(s) ? s : s ? 0.5 : 0;
|
|
44
45
|
}
|
|
45
|
-
function Tt(
|
|
46
|
+
function Tt(s, l, t) {
|
|
46
47
|
if (!t.valueDim)
|
|
47
48
|
return [];
|
|
48
49
|
for (var o = l.count(), n = Ct(o * 2), e = 0; e < o; e++) {
|
|
49
|
-
var a =
|
|
50
|
+
var a = _t(t, s, l, e);
|
|
50
51
|
n[e * 2] = a[0], n[e * 2 + 1] = a[1];
|
|
51
52
|
}
|
|
52
53
|
return n;
|
|
53
54
|
}
|
|
54
|
-
function N(
|
|
55
|
-
var e = t.getBaseAxis(), a = e.dim === "x" || e.dim === "radius" ? 0 : 1, i = [], u = 0, r = [],
|
|
55
|
+
function N(s, l, t, o, n) {
|
|
56
|
+
var e = t.getBaseAxis(), a = e.dim === "x" || e.dim === "radius" ? 0 : 1, i = [], u = 0, r = [], v = [], f = [], h = [];
|
|
56
57
|
if (n) {
|
|
57
|
-
for (u = 0; u <
|
|
58
|
-
var
|
|
59
|
-
!isNaN(
|
|
58
|
+
for (u = 0; u < s.length; u += 2) {
|
|
59
|
+
var g = l || s;
|
|
60
|
+
!isNaN(g[u]) && !isNaN(g[u + 1]) && h.push(s[u], s[u + 1]);
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
s = h;
|
|
62
63
|
}
|
|
63
|
-
for (u = 0; u <
|
|
64
|
-
switch (f[0] =
|
|
64
|
+
for (u = 0; u < s.length - 2; u += 2)
|
|
65
|
+
switch (f[0] = s[u + 2], f[1] = s[u + 3], v[0] = s[u], v[1] = s[u + 1], i.push(v[0], v[1]), o) {
|
|
65
66
|
case "end":
|
|
66
|
-
r[a] = f[a], r[1 - a] =
|
|
67
|
+
r[a] = f[a], r[1 - a] = v[1 - a], i.push(r[0], r[1]);
|
|
67
68
|
break;
|
|
68
69
|
case "middle":
|
|
69
|
-
var m = (
|
|
70
|
-
r[a] =
|
|
70
|
+
var m = (v[a] + f[a]) / 2, p = [];
|
|
71
|
+
r[a] = p[a] = m, r[1 - a] = v[1 - a], p[1 - a] = f[1 - a], i.push(r[0], r[1]), i.push(p[0], p[1]);
|
|
71
72
|
break;
|
|
72
73
|
default:
|
|
73
|
-
r[a] =
|
|
74
|
+
r[a] = v[a], r[1 - a] = f[1 - a], i.push(r[0], r[1]);
|
|
74
75
|
}
|
|
75
|
-
return i.push(
|
|
76
|
+
return i.push(s[u++], s[u++]), i;
|
|
76
77
|
}
|
|
77
|
-
function Ft(
|
|
78
|
-
var t = [], o =
|
|
79
|
-
function a(
|
|
80
|
-
var
|
|
78
|
+
function Ft(s, l) {
|
|
79
|
+
var t = [], o = s.length, n, e;
|
|
80
|
+
function a(v, f, h) {
|
|
81
|
+
var g = v.coord, m = (h - g) / (f.coord - g), p = Nt(m, [v.color, f.color]);
|
|
81
82
|
return {
|
|
82
83
|
coord: h,
|
|
83
|
-
color:
|
|
84
|
+
color: p
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
87
|
for (var i = 0; i < o; i++) {
|
|
87
|
-
var u =
|
|
88
|
+
var u = s[i], r = u.coord;
|
|
88
89
|
if (r < 0)
|
|
89
90
|
n = u;
|
|
90
91
|
else if (r > l) {
|
|
@@ -95,11 +96,11 @@ function Ft(v, l) {
|
|
|
95
96
|
}
|
|
96
97
|
return t;
|
|
97
98
|
}
|
|
98
|
-
function Vt(
|
|
99
|
-
var o =
|
|
100
|
-
if (!(!o || !o.length || !
|
|
99
|
+
function Vt(s, l, t) {
|
|
100
|
+
var o = s.getVisual("visualMeta");
|
|
101
|
+
if (!(!o || !o.length || !s.count()) && l.type === "cartesian2d") {
|
|
101
102
|
for (var n, e, a = o.length - 1; a >= 0; a--) {
|
|
102
|
-
var i =
|
|
103
|
+
var i = s.getDimensionInfo(o[a].dimension);
|
|
103
104
|
if (n = i && i.coordDim, n === "x" || n === "y") {
|
|
104
105
|
e = o[a];
|
|
105
106
|
break;
|
|
@@ -111,31 +112,31 @@ function Vt(v, l, t) {
|
|
|
111
112
|
coord: u.toGlobalCoord(u.dataToCoord(c.value)),
|
|
112
113
|
color: c.color
|
|
113
114
|
};
|
|
114
|
-
}),
|
|
115
|
-
|
|
116
|
-
var h = Ft(r, n === "x" ? t.getWidth() : t.getHeight()),
|
|
117
|
-
if (!
|
|
118
|
-
return r[0].coord < 0 ? f[1] ? f[1] : r[
|
|
119
|
-
var m = 10,
|
|
120
|
-
if (
|
|
115
|
+
}), v = r.length, f = e.outerColors.slice();
|
|
116
|
+
v && r[0].coord > r[v - 1].coord && (r.reverse(), f.reverse());
|
|
117
|
+
var h = Ft(r, n === "x" ? t.getWidth() : t.getHeight()), g = h.length;
|
|
118
|
+
if (!g && v)
|
|
119
|
+
return r[0].coord < 0 ? f[1] ? f[1] : r[v - 1].color : f[0] ? f[0] : r[0].color;
|
|
120
|
+
var m = 10, p = h[0].coord - m, b = h[g - 1].coord + m, d = b - p;
|
|
121
|
+
if (d < 1e-3)
|
|
121
122
|
return "transparent";
|
|
122
123
|
it(h, function(c) {
|
|
123
|
-
c.offset = (c.coord -
|
|
124
|
+
c.offset = (c.coord - p) / d;
|
|
124
125
|
}), h.push({
|
|
125
126
|
// NOTE: inRangeStopLen may still be 0 if stoplen is zero.
|
|
126
|
-
offset:
|
|
127
|
+
offset: g ? h[g - 1].offset : 0.5,
|
|
127
128
|
color: f[1] || "transparent"
|
|
128
129
|
}), h.unshift({
|
|
129
|
-
offset:
|
|
130
|
+
offset: g ? h[0].offset : 0.5,
|
|
130
131
|
color: f[0] || "transparent"
|
|
131
132
|
});
|
|
132
|
-
var y = new
|
|
133
|
-
return y[n] =
|
|
133
|
+
var y = new Et(0, 0, 0, 0, h, !0);
|
|
134
|
+
return y[n] = p, y[n + "2"] = b, y;
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
function Ht(
|
|
138
|
-
var o =
|
|
138
|
+
function Ht(s, l, t) {
|
|
139
|
+
var o = s.get("showAllSymbol"), n = o === "auto";
|
|
139
140
|
if (!(o && !n)) {
|
|
140
141
|
var e = t.getAxesByScale("ordinal")[0];
|
|
141
142
|
if (e && !(n && zt(e, l))) {
|
|
@@ -149,32 +150,32 @@ function Ht(v, l, t) {
|
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
|
-
function zt(
|
|
153
|
-
var t =
|
|
153
|
+
function zt(s, l) {
|
|
154
|
+
var t = s.getExtent(), o = Math.abs(t[1] - t[0]) / s.scale.count();
|
|
154
155
|
isNaN(o) && (o = 0);
|
|
155
156
|
for (var n = l.count(), e = Math.max(1, Math.round(n / 5)), a = 0; a < n; a += e)
|
|
156
157
|
if (ot.getSymbolSize(
|
|
157
158
|
l,
|
|
158
159
|
a
|
|
159
160
|
// Only for cartesian, where `isHorizontal` exists.
|
|
160
|
-
)[
|
|
161
|
+
)[s.isHorizontal() ? 1 : 0] * 1.5 > o)
|
|
161
162
|
return !1;
|
|
162
163
|
return !0;
|
|
163
164
|
}
|
|
164
|
-
function Bt(
|
|
165
|
-
return isNaN(
|
|
165
|
+
function Bt(s, l) {
|
|
166
|
+
return isNaN(s) || isNaN(l);
|
|
166
167
|
}
|
|
167
|
-
function Rt(
|
|
168
|
-
for (var l =
|
|
168
|
+
function Rt(s) {
|
|
169
|
+
for (var l = s.length / 2; l > 0 && Bt(s[l * 2 - 2], s[l * 2 - 1]); l--)
|
|
169
170
|
;
|
|
170
171
|
return l - 1;
|
|
171
172
|
}
|
|
172
|
-
function nt(
|
|
173
|
-
return [
|
|
173
|
+
function nt(s, l) {
|
|
174
|
+
return [s[l * 2], s[l * 2 + 1]];
|
|
174
175
|
}
|
|
175
|
-
function Xt(
|
|
176
|
-
for (var o =
|
|
177
|
-
if (a =
|
|
176
|
+
function Xt(s, l, t) {
|
|
177
|
+
for (var o = s.length / 2, n = t === "x" ? 0 : 1, e, a, i = 0, u = -1, r = 0; r < o; r++)
|
|
178
|
+
if (a = s[r * 2 + n], !(isNaN(a) || isNaN(s[r * 2 + 1 - n]))) {
|
|
178
179
|
if (r === 0) {
|
|
179
180
|
e = a;
|
|
180
181
|
continue;
|
|
@@ -190,93 +191,93 @@ function Xt(v, l, t) {
|
|
|
190
191
|
t: (l - e) / (a - e)
|
|
191
192
|
};
|
|
192
193
|
}
|
|
193
|
-
function lt(
|
|
194
|
-
if (
|
|
194
|
+
function lt(s) {
|
|
195
|
+
if (s.get(["endLabel", "show"]))
|
|
195
196
|
return !0;
|
|
196
|
-
for (var l = 0; l <
|
|
197
|
-
if (
|
|
197
|
+
for (var l = 0; l < $.length; l++)
|
|
198
|
+
if (s.get([$[l], "endLabel", "show"]))
|
|
198
199
|
return !0;
|
|
199
200
|
return !1;
|
|
200
201
|
}
|
|
201
|
-
function H(
|
|
202
|
-
if (
|
|
202
|
+
function H(s, l, t, o) {
|
|
203
|
+
if (wt(l, "cartesian2d")) {
|
|
203
204
|
var n = o.getModel("endLabel"), e = n.get("valueAnimation"), a = o.getData(), i = {
|
|
204
205
|
lastFrameIndex: 0
|
|
205
|
-
}, u = lt(o) ? function(
|
|
206
|
-
|
|
207
|
-
} : null, r = l.getBaseAxis().isHorizontal(),
|
|
208
|
-
var
|
|
209
|
-
|
|
206
|
+
}, u = lt(o) ? function(g, m) {
|
|
207
|
+
s._endLabelOnDuring(g, m, a, i, e, n, l);
|
|
208
|
+
} : null, r = l.getBaseAxis().isHorizontal(), v = St(l, t, o, function() {
|
|
209
|
+
var g = s._endLabel;
|
|
210
|
+
g && t && i.originalX != null && g.attr({
|
|
210
211
|
x: i.originalX,
|
|
211
212
|
y: i.originalY
|
|
212
213
|
});
|
|
213
214
|
}, u);
|
|
214
215
|
if (!o.get("clip", !0)) {
|
|
215
|
-
var f =
|
|
216
|
+
var f = v.shape, h = Math.max(f.width, f.height);
|
|
216
217
|
r ? (f.y -= h, f.height += h * 2) : (f.x -= h, f.width += h * 2);
|
|
217
218
|
}
|
|
218
|
-
return u && u(1,
|
|
219
|
+
return u && u(1, v), v;
|
|
219
220
|
} else
|
|
220
221
|
return xt(l, t, o);
|
|
221
222
|
}
|
|
222
|
-
function Ut(
|
|
223
|
+
function Ut(s, l) {
|
|
223
224
|
var t = l.getBaseAxis(), o = t.isHorizontal(), n = t.inverse, e = o ? n ? "right" : "left" : "center", a = o ? "middle" : n ? "top" : "bottom";
|
|
224
225
|
return {
|
|
225
226
|
normal: {
|
|
226
|
-
align:
|
|
227
|
-
verticalAlign:
|
|
227
|
+
align: s.get("align") || e,
|
|
228
|
+
verticalAlign: s.get("verticalAlign") || a
|
|
228
229
|
}
|
|
229
230
|
};
|
|
230
231
|
}
|
|
231
|
-
var
|
|
232
|
+
var pe = (
|
|
232
233
|
/** @class */
|
|
233
|
-
(function(
|
|
234
|
-
ut(l,
|
|
234
|
+
(function(s) {
|
|
235
|
+
ut(l, s);
|
|
235
236
|
function l() {
|
|
236
|
-
return
|
|
237
|
+
return s !== null && s.apply(this, arguments) || this;
|
|
237
238
|
}
|
|
238
239
|
return l.prototype.init = function() {
|
|
239
|
-
var t = new
|
|
240
|
-
this.group.add(o.group), this._symbolDraw = o, this._lineGroup = t, this._changePolyState =
|
|
240
|
+
var t = new kt(), o = new gt();
|
|
241
|
+
this.group.add(o.group), this._symbolDraw = o, this._lineGroup = t, this._changePolyState = pt(this._changePolyState, this);
|
|
241
242
|
}, l.prototype.render = function(t, o, n) {
|
|
242
|
-
var e = t.coordinateSystem, a = this.group, i = t.getData(), u = t.getModel("lineStyle"), r = t.getModel("areaStyle"),
|
|
243
|
-
S && S.eachItemGraphicEl(function(C,
|
|
244
|
-
C.__temp && (a.remove(C), S.setItemGraphicEl(
|
|
245
|
-
}), x ||
|
|
246
|
-
var
|
|
247
|
-
e && e.getArea && t.get("clip", !0) && (
|
|
248
|
-
var
|
|
249
|
-
if (!(m && h.type === e.type &&
|
|
250
|
-
x &&
|
|
243
|
+
var e = t.coordinateSystem, a = this.group, i = t.getData(), u = t.getModel("lineStyle"), r = t.getModel("areaStyle"), v = i.getLayout("points") || [], f = e.type === "polar", h = this._coordSys, g = this._symbolDraw, m = this._polyline, p = this._polygon, b = this._lineGroup, d = !o.ssr && t.get("animation"), y = !r.isEmpty(), c = r.get("origin"), P = bt(e, i, c), _ = y && Tt(e, i, P), x = t.get("showSymbol"), L = t.get("connectNulls"), A = x && !f && Ht(t, i, e), S = this._data;
|
|
244
|
+
S && S.eachItemGraphicEl(function(C, vt) {
|
|
245
|
+
C.__temp && (a.remove(C), S.setItemGraphicEl(vt, null));
|
|
246
|
+
}), x || g.remove(), a.add(b);
|
|
247
|
+
var w = f ? !1 : t.get("step"), I;
|
|
248
|
+
e && e.getArea && t.get("clip", !0) && (I = e.getArea(), I.width != null ? (I.x -= 0.1, I.y -= 0.1, I.width += 0.2, I.height += 0.2) : I.r0 && (I.r0 -= 0.5, I.r += 0.5)), this._clipShapeForSymbol = I;
|
|
249
|
+
var D = Vt(i, e, n) || i.getVisual("style")[i.getVisual("drawType")];
|
|
250
|
+
if (!(m && h.type === e.type && w === this._step))
|
|
251
|
+
x && g.updateData(i, {
|
|
251
252
|
isIgnore: A,
|
|
252
|
-
clipShape:
|
|
253
|
+
clipShape: I,
|
|
253
254
|
disableAnimation: !0,
|
|
254
255
|
getSymbolPoint: function(C) {
|
|
255
|
-
return [
|
|
256
|
+
return [v[C * 2], v[C * 2 + 1]];
|
|
256
257
|
}
|
|
257
|
-
}),
|
|
258
|
+
}), d && this._initSymbolLabelAnimation(i, e, I), w && (_ && (_ = N(_, v, e, w, L)), v = N(v, null, e, w, L)), m = this._newPolyline(v), y ? p = this._newPolygon(v, _) : p && (b.remove(p), p = this._polygon = null), f || this._initOrUpdateEndLabel(t, e, Y(D)), b.setClipPath(H(this, e, !0, t));
|
|
258
259
|
else {
|
|
259
|
-
y && !
|
|
260
|
+
y && !p ? p = this._newPolygon(v, _) : p && !y && (b.remove(p), p = this._polygon = null), f || this._initOrUpdateEndLabel(t, e, Y(D));
|
|
260
261
|
var G = b.getClipPath();
|
|
261
262
|
if (G) {
|
|
262
263
|
var O = H(this, e, !1, t);
|
|
263
|
-
|
|
264
|
+
Gt(G, {
|
|
264
265
|
shape: O.shape
|
|
265
266
|
}, t);
|
|
266
267
|
} else
|
|
267
268
|
b.setClipPath(H(this, e, !0, t));
|
|
268
|
-
x &&
|
|
269
|
+
x && g.updateData(i, {
|
|
269
270
|
isIgnore: A,
|
|
270
|
-
clipShape:
|
|
271
|
+
clipShape: I,
|
|
271
272
|
disableAnimation: !0,
|
|
272
273
|
getSymbolPoint: function(C) {
|
|
273
|
-
return [
|
|
274
|
+
return [v[C * 2], v[C * 2 + 1]];
|
|
274
275
|
}
|
|
275
|
-
}), (!tt(this._stackedOnPoints,
|
|
276
|
-
points:
|
|
277
|
-
}),
|
|
278
|
-
points:
|
|
279
|
-
stackedOnPoints:
|
|
276
|
+
}), (!tt(this._stackedOnPoints, _) || !tt(this._points, v)) && (d ? this._doUpdateAnimation(i, _, e, n, w, c, L) : (w && (_ && (_ = N(_, v, e, w, L)), v = N(v, null, e, w, L)), m.setShape({
|
|
277
|
+
points: v
|
|
278
|
+
}), p && p.setShape({
|
|
279
|
+
points: v,
|
|
280
|
+
stackedOnPoints: _
|
|
280
281
|
})));
|
|
281
282
|
}
|
|
282
283
|
var E = t.getModel("emphasis"), k = E.get("focus"), z = E.get("blurScope"), B = E.get("disabled");
|
|
@@ -285,37 +286,37 @@ var fe = (
|
|
|
285
286
|
u.getLineStyle(),
|
|
286
287
|
{
|
|
287
288
|
fill: "none",
|
|
288
|
-
stroke:
|
|
289
|
+
stroke: D,
|
|
289
290
|
lineJoin: "bevel"
|
|
290
291
|
}
|
|
291
|
-
)),
|
|
292
|
-
var
|
|
293
|
-
|
|
292
|
+
)), j(m, t, "lineStyle"), m.style.lineWidth > 0 && t.get(["emphasis", "lineStyle", "width"]) === "bolder") {
|
|
293
|
+
var st = m.getState("emphasis").style;
|
|
294
|
+
st.lineWidth = +m.style.lineWidth + 1;
|
|
294
295
|
}
|
|
295
|
-
V(m).seriesIndex = t.seriesIndex,
|
|
296
|
+
V(m).seriesIndex = t.seriesIndex, K(m, k, z, B);
|
|
296
297
|
var R = rt(t.get("smooth")), X = t.get("smoothMonotone");
|
|
297
298
|
if (m.setShape({
|
|
298
299
|
smooth: R,
|
|
299
300
|
smoothMonotone: X,
|
|
300
|
-
connectNulls:
|
|
301
|
-
}),
|
|
301
|
+
connectNulls: L
|
|
302
|
+
}), p) {
|
|
302
303
|
var U = i.getCalculationInfo("stackedOnSeries"), W = 0;
|
|
303
|
-
|
|
304
|
-
fill:
|
|
304
|
+
p.useStyle(Z(r.getAreaStyle(), {
|
|
305
|
+
fill: D,
|
|
305
306
|
opacity: 0.7,
|
|
306
307
|
lineJoin: "bevel",
|
|
307
308
|
decal: i.getVisual("style").decal
|
|
308
|
-
})), U && (W = rt(U.get("smooth"))),
|
|
309
|
+
})), U && (W = rt(U.get("smooth"))), p.setShape({
|
|
309
310
|
smooth: R,
|
|
310
311
|
stackedOnSmooth: W,
|
|
311
312
|
smoothMonotone: X,
|
|
312
|
-
connectNulls:
|
|
313
|
-
}),
|
|
313
|
+
connectNulls: L
|
|
314
|
+
}), j(p, t, "areaStyle"), V(p).seriesIndex = t.seriesIndex, K(p, k, z, B);
|
|
314
315
|
}
|
|
315
316
|
var J = this._changePolyState;
|
|
316
317
|
i.eachItemGraphicEl(function(C) {
|
|
317
318
|
C && (C.onHoverStateChange = J);
|
|
318
|
-
}), this._polyline.onHoverStateChange = J, this._data = i, this._coordSys = e, this._stackedOnPoints =
|
|
319
|
+
}), this._polyline.onHoverStateChange = J, this._data = i, this._coordSys = e, this._stackedOnPoints = _, this._points = v, this._step = w, this._valueOrigin = c, t.get("triggerLineEvent") && (this.packEventData(t, m), p && this.packEventData(t, p));
|
|
319
320
|
}, l.prototype.packEventData = function(t, o) {
|
|
320
321
|
V(o).eventData = {
|
|
321
322
|
componentType: "series",
|
|
@@ -330,13 +331,13 @@ var fe = (
|
|
|
330
331
|
if (this._changePolyState("emphasis"), !(i instanceof Array) && i != null && i >= 0) {
|
|
331
332
|
var u = a.getLayout("points"), r = a.getItemGraphicEl(i);
|
|
332
333
|
if (!r) {
|
|
333
|
-
var
|
|
334
|
-
if (isNaN(
|
|
334
|
+
var v = u[i * 2], f = u[i * 2 + 1];
|
|
335
|
+
if (isNaN(v) || isNaN(f) || this._clipShapeForSymbol && !this._clipShapeForSymbol.contain(v, f))
|
|
335
336
|
return;
|
|
336
|
-
var h = t.get("zlevel") || 0,
|
|
337
|
-
r = new ot(a, i), r.x =
|
|
337
|
+
var h = t.get("zlevel") || 0, g = t.get("z") || 0;
|
|
338
|
+
r = new ot(a, i), r.x = v, r.y = f, r.setZ(h, g);
|
|
338
339
|
var m = r.getSymbolPath().getTextContent();
|
|
339
|
-
m && (m.zlevel = h, m.z =
|
|
340
|
+
m && (m.zlevel = h, m.z = g, m.z2 = this._polyline.z2 + 1), r.__temp = !0, a.setItemGraphicEl(i, r), r.stopSymbolAnimation(!0), this.group.add(r);
|
|
340
341
|
}
|
|
341
342
|
r.highlight();
|
|
342
343
|
} else
|
|
@@ -350,7 +351,7 @@ var fe = (
|
|
|
350
351
|
F.prototype.downplay.call(this, t, o, n, e);
|
|
351
352
|
}, l.prototype._changePolyState = function(t) {
|
|
352
353
|
var o = this._polygon;
|
|
353
|
-
|
|
354
|
+
Q(this._polyline, t), o && Q(o, t);
|
|
354
355
|
}, l.prototype._newPolyline = function(t) {
|
|
355
356
|
var o = this._polyline;
|
|
356
357
|
return o && this._lineGroup.remove(o), o = new yt({
|
|
@@ -362,7 +363,7 @@ var fe = (
|
|
|
362
363
|
}), this._lineGroup.add(o), this._polyline = o, o;
|
|
363
364
|
}, l.prototype._newPolygon = function(t, o) {
|
|
364
365
|
var n = this._polygon;
|
|
365
|
-
return n && this._lineGroup.remove(n), n = new
|
|
366
|
+
return n && this._lineGroup.remove(n), n = new dt({
|
|
366
367
|
shape: {
|
|
367
368
|
points: t,
|
|
368
369
|
stackedOnPoints: o
|
|
@@ -372,35 +373,35 @@ var fe = (
|
|
|
372
373
|
}, l.prototype._initSymbolLabelAnimation = function(t, o, n) {
|
|
373
374
|
var e, a, i = o.getBaseAxis(), u = i.inverse;
|
|
374
375
|
o.type === "cartesian2d" ? (e = i.isHorizontal(), a = !1) : o.type === "polar" && (e = i.dim === "angle", a = !0);
|
|
375
|
-
var r = t.hostModel,
|
|
376
|
-
T(
|
|
376
|
+
var r = t.hostModel, v = r.get("animationDuration");
|
|
377
|
+
T(v) && (v = v(null));
|
|
377
378
|
var f = r.get("animationDelay") || 0, h = T(f) ? f(null) : f;
|
|
378
|
-
t.eachItemGraphicEl(function(
|
|
379
|
-
var
|
|
380
|
-
if (
|
|
381
|
-
var b = [
|
|
379
|
+
t.eachItemGraphicEl(function(g, m) {
|
|
380
|
+
var p = g;
|
|
381
|
+
if (p) {
|
|
382
|
+
var b = [g.x, g.y], d = void 0, y = void 0, c = void 0;
|
|
382
383
|
if (n)
|
|
383
384
|
if (a) {
|
|
384
|
-
var
|
|
385
|
-
e ? (
|
|
385
|
+
var P = n, _ = o.pointToCoord(b);
|
|
386
|
+
e ? (d = P.startAngle, y = P.endAngle, c = -_[1] / 180 * Math.PI) : (d = P.r0, y = P.r, c = _[0]);
|
|
386
387
|
} else {
|
|
387
388
|
var x = n;
|
|
388
|
-
e ? (
|
|
389
|
+
e ? (d = x.x, y = x.x + x.width, c = g.x) : (d = x.y + x.height, y = x.y, c = g.y);
|
|
389
390
|
}
|
|
390
|
-
var
|
|
391
|
-
u && (
|
|
392
|
-
var A = T(f) ? f(m) :
|
|
393
|
-
|
|
391
|
+
var L = y === d ? 0 : (c - d) / (y - d);
|
|
392
|
+
u && (L = 1 - L);
|
|
393
|
+
var A = T(f) ? f(m) : v * L + h, S = p.getSymbolPath(), w = S.getTextContent();
|
|
394
|
+
p.attr({
|
|
394
395
|
scaleX: 0,
|
|
395
396
|
scaleY: 0
|
|
396
|
-
}),
|
|
397
|
+
}), p.animateTo({
|
|
397
398
|
scaleX: 1,
|
|
398
399
|
scaleY: 1
|
|
399
400
|
}, {
|
|
400
401
|
duration: 200,
|
|
401
402
|
setToFinal: !0,
|
|
402
403
|
delay: A
|
|
403
|
-
}),
|
|
404
|
+
}), w && w.animateFrom({
|
|
404
405
|
style: {
|
|
405
406
|
opacity: 0
|
|
406
407
|
}
|
|
@@ -419,97 +420,97 @@ var fe = (
|
|
|
419
420
|
return;
|
|
420
421
|
}
|
|
421
422
|
var r = this._endLabel;
|
|
422
|
-
r || (r = this._endLabel = new
|
|
423
|
+
r || (r = this._endLabel = new Ot({
|
|
423
424
|
z2: 200
|
|
424
425
|
// should be higher than item symbol
|
|
425
426
|
}), r.ignoreClip = !0, i.setTextContent(this._endLabel), i.disableLabelAnimation = !0);
|
|
426
|
-
var
|
|
427
|
-
|
|
427
|
+
var v = Rt(u);
|
|
428
|
+
v >= 0 && (It(i, Lt(t, "endLabel"), {
|
|
428
429
|
inheritColor: n,
|
|
429
430
|
labelFetcher: t,
|
|
430
|
-
labelDataIndex:
|
|
431
|
-
defaultText: function(f, h,
|
|
432
|
-
return
|
|
431
|
+
labelDataIndex: v,
|
|
432
|
+
defaultText: function(f, h, g) {
|
|
433
|
+
return g != null ? Dt(a, g) : At(a, f);
|
|
433
434
|
},
|
|
434
435
|
enableTextSetter: !0
|
|
435
436
|
}, Ut(e, o)), i.textConfig.position = null);
|
|
436
437
|
} else this._endLabel && (this._polyline.removeTextContent(), this._endLabel = null);
|
|
437
438
|
}, l.prototype._endLabelOnDuring = function(t, o, n, e, a, i, u) {
|
|
438
|
-
var r = this._endLabel,
|
|
439
|
+
var r = this._endLabel, v = this._polyline;
|
|
439
440
|
if (r) {
|
|
440
441
|
t < 1 && e.originalX == null && (e.originalX = r.x, e.originalY = r.y);
|
|
441
|
-
var f = n.getLayout("points"), h = n.hostModel,
|
|
442
|
-
if (
|
|
443
|
-
if (
|
|
444
|
-
var
|
|
442
|
+
var f = n.getLayout("points"), h = n.hostModel, g = h.get("connectNulls"), m = i.get("precision"), p = i.get("distance") || 0, b = u.getBaseAxis(), d = b.isHorizontal(), y = b.inverse, c = o.shape, P = y ? d ? c.x : c.y + c.height : d ? c.x + c.width : c.y, _ = (d ? p : 0) * (y ? -1 : 1), x = (d ? 0 : -p) * (y ? -1 : 1), L = d ? "x" : "y", A = Xt(f, P, L), S = A.range, w = S[1] - S[0], I = void 0;
|
|
443
|
+
if (w >= 1) {
|
|
444
|
+
if (w > 1 && !g) {
|
|
445
|
+
var D = nt(f, S[0]);
|
|
445
446
|
r.attr({
|
|
446
|
-
x:
|
|
447
|
-
y:
|
|
448
|
-
}), a && (
|
|
447
|
+
x: D[0] + _,
|
|
448
|
+
y: D[1] + x
|
|
449
|
+
}), a && (I = h.getRawValue(S[0]));
|
|
449
450
|
} else {
|
|
450
|
-
var
|
|
451
|
-
|
|
452
|
-
x:
|
|
453
|
-
y:
|
|
451
|
+
var D = v.getPointOn(P, L);
|
|
452
|
+
D && r.attr({
|
|
453
|
+
x: D[0] + _,
|
|
454
|
+
y: D[1] + x
|
|
454
455
|
});
|
|
455
456
|
var G = h.getRawValue(S[0]), O = h.getRawValue(S[1]);
|
|
456
|
-
a && (
|
|
457
|
+
a && (I = ct(n, m, G, O, A.t));
|
|
457
458
|
}
|
|
458
459
|
e.lastFrameIndex = S[0];
|
|
459
460
|
} else {
|
|
460
|
-
var E = t === 1 || e.lastFrameIndex > 0 ? S[0] : 0,
|
|
461
|
-
a && (
|
|
462
|
-
x:
|
|
463
|
-
y:
|
|
461
|
+
var E = t === 1 || e.lastFrameIndex > 0 ? S[0] : 0, D = nt(f, E);
|
|
462
|
+
a && (I = h.getRawValue(E)), r.attr({
|
|
463
|
+
x: D[0] + _,
|
|
464
|
+
y: D[1] + x
|
|
464
465
|
});
|
|
465
466
|
}
|
|
466
467
|
if (a) {
|
|
467
|
-
var k =
|
|
468
|
-
typeof k.setLabelText == "function" && k.setLabelText(
|
|
468
|
+
var k = Pt(r);
|
|
469
|
+
typeof k.setLabelText == "function" && k.setLabelText(I);
|
|
469
470
|
}
|
|
470
471
|
}
|
|
471
472
|
}, l.prototype._doUpdateAnimation = function(t, o, n, e, a, i, u) {
|
|
472
|
-
var r = this._polyline,
|
|
473
|
-
if (a && (m = N(h.stackedOnCurrent, h.current, n, a, u),
|
|
473
|
+
var r = this._polyline, v = this._polygon, f = t.hostModel, h = mt(this._data, t, this._stackedOnPoints, o, this._coordSys, n, this._valueOrigin, i), g = h.current, m = h.stackedOnCurrent, p = h.next, b = h.stackedOnNext;
|
|
474
|
+
if (a && (m = N(h.stackedOnCurrent, h.current, n, a, u), g = N(h.current, null, n, a, u), b = N(h.stackedOnNext, h.next, n, a, u), p = N(h.next, null, n, a, u)), at(g, p) > 3e3 || v && at(m, b) > 3e3) {
|
|
474
475
|
r.stopAnimation(), r.setShape({
|
|
475
|
-
points:
|
|
476
|
-
}),
|
|
477
|
-
points:
|
|
476
|
+
points: p
|
|
477
|
+
}), v && (v.stopAnimation(), v.setShape({
|
|
478
|
+
points: p,
|
|
478
479
|
stackedOnPoints: b
|
|
479
480
|
}));
|
|
480
481
|
return;
|
|
481
482
|
}
|
|
482
|
-
r.shape.__points = h.current, r.shape.points =
|
|
483
|
-
var
|
|
483
|
+
r.shape.__points = h.current, r.shape.points = g;
|
|
484
|
+
var d = {
|
|
484
485
|
shape: {
|
|
485
|
-
points:
|
|
486
|
+
points: p
|
|
486
487
|
}
|
|
487
488
|
};
|
|
488
|
-
h.current !==
|
|
489
|
+
h.current !== g && (d.shape.__points = h.next), r.stopAnimation(), M(r, d, f), v && (v.setShape({
|
|
489
490
|
// Reuse the points with polyline.
|
|
490
|
-
points:
|
|
491
|
+
points: g,
|
|
491
492
|
stackedOnPoints: m
|
|
492
|
-
}),
|
|
493
|
+
}), v.stopAnimation(), M(v, {
|
|
493
494
|
shape: {
|
|
494
495
|
stackedOnPoints: b
|
|
495
496
|
}
|
|
496
|
-
}, f), r.shape.points !==
|
|
497
|
-
for (var y = [], c = h.status,
|
|
498
|
-
var
|
|
499
|
-
if (
|
|
500
|
-
var x = t.getItemGraphicEl(c[
|
|
497
|
+
}, f), r.shape.points !== v.shape.points && (v.shape.points = r.shape.points));
|
|
498
|
+
for (var y = [], c = h.status, P = 0; P < c.length; P++) {
|
|
499
|
+
var _ = c[P].cmd;
|
|
500
|
+
if (_ === "=") {
|
|
501
|
+
var x = t.getItemGraphicEl(c[P].idx1);
|
|
501
502
|
x && y.push({
|
|
502
503
|
el: x,
|
|
503
|
-
ptIdx:
|
|
504
|
+
ptIdx: P
|
|
504
505
|
// Index of points
|
|
505
506
|
});
|
|
506
507
|
}
|
|
507
508
|
}
|
|
508
509
|
r.animators && r.animators.length && r.animators[0].during(function() {
|
|
509
|
-
|
|
510
|
-
for (var
|
|
511
|
-
var S = y[A].el,
|
|
512
|
-
S.x =
|
|
510
|
+
v && v.dirtyShape();
|
|
511
|
+
for (var L = r.shape.__points, A = 0; A < y.length; A++) {
|
|
512
|
+
var S = y[A].el, w = y[A].ptIdx * 2;
|
|
513
|
+
S.x = L[w], S.y = L[w + 1], S.markRedraw();
|
|
513
514
|
}
|
|
514
515
|
});
|
|
515
516
|
}, l.prototype.remove = function(t) {
|
|
@@ -521,5 +522,5 @@ var fe = (
|
|
|
521
522
|
})(F)
|
|
522
523
|
);
|
|
523
524
|
export {
|
|
524
|
-
|
|
525
|
+
pe as default
|
|
525
526
|
};
|