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,12 +1,12 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { traverseElements as
|
|
1
|
+
import { __extends as W } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { traverseElements as k } from "../../util/graphic.js";
|
|
3
3
|
import { toggleHoverEmphasis as F } from "../../util/states.js";
|
|
4
4
|
import Z from "./HeatmapLayer.js";
|
|
5
5
|
import { map as j } from "../../../../zrender/lib/core/util.js";
|
|
6
6
|
import q from "../../view/Chart.js";
|
|
7
7
|
import { isCoordinateSystemType as J } from "../../coord/CoordinateSystem.js";
|
|
8
|
-
import { getLabelStatesModels as
|
|
9
|
-
import
|
|
8
|
+
import { getLabelStatesModels as P, setLabelStyle as K } from "../../label/labelStyle.js";
|
|
9
|
+
import B from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
10
10
|
import Q from "../../../../zrender/lib/graphic/Image.js";
|
|
11
11
|
function U(m, e, t) {
|
|
12
12
|
var n = m[1] - m[0];
|
|
@@ -15,21 +15,21 @@ function U(m, e, t) {
|
|
|
15
15
|
interval: [(r.interval[0] - m[0]) / n, (r.interval[1] - m[0]) / n]
|
|
16
16
|
};
|
|
17
17
|
});
|
|
18
|
-
var i = e.length,
|
|
18
|
+
var i = e.length, p = 0;
|
|
19
19
|
return function(r) {
|
|
20
20
|
var a;
|
|
21
|
-
for (a =
|
|
21
|
+
for (a = p; a < i; a++) {
|
|
22
22
|
var s = e[a].interval;
|
|
23
23
|
if (s[0] <= r && r <= s[1]) {
|
|
24
|
-
|
|
24
|
+
p = a;
|
|
25
25
|
break;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
if (a === i)
|
|
29
|
-
for (a =
|
|
29
|
+
for (a = p - 1; a >= 0; a--) {
|
|
30
30
|
var s = e[a].interval;
|
|
31
31
|
if (s[0] <= r && r <= s[1]) {
|
|
32
|
-
|
|
32
|
+
p = a;
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -42,98 +42,98 @@ function $(m, e) {
|
|
|
42
42
|
return n >= e[0] && n <= e[1];
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function L(m) {
|
|
46
46
|
var e = m.dimensions;
|
|
47
47
|
return e[0] === "lng" && e[1] === "lat";
|
|
48
48
|
}
|
|
49
49
|
var st = (
|
|
50
50
|
/** @class */
|
|
51
51
|
(function(m) {
|
|
52
|
-
|
|
52
|
+
W(e, m);
|
|
53
53
|
function e() {
|
|
54
54
|
var t = m !== null && m.apply(this, arguments) || this;
|
|
55
55
|
return t.type = e.type, t;
|
|
56
56
|
}
|
|
57
57
|
return e.prototype.render = function(t, n, i) {
|
|
58
|
-
var
|
|
58
|
+
var p;
|
|
59
59
|
n.eachComponent("visualMap", function(a) {
|
|
60
60
|
a.eachTargetSeries(function(s) {
|
|
61
|
-
s === t && (
|
|
61
|
+
s === t && (p = a);
|
|
62
62
|
});
|
|
63
63
|
}), this._progressiveEls = null, this.group.removeAll();
|
|
64
64
|
var r = t.coordinateSystem;
|
|
65
|
-
r.type === "cartesian2d" || r.type === "calendar" ? this._renderOnCartesianAndCalendar(t, i, 0, t.getData().count()) :
|
|
65
|
+
r.type === "cartesian2d" || r.type === "calendar" ? this._renderOnCartesianAndCalendar(t, i, 0, t.getData().count()) : L(r) && this._renderOnGeo(r, t, p, i);
|
|
66
66
|
}, e.prototype.incrementalPrepareRender = function(t, n, i) {
|
|
67
67
|
this.group.removeAll();
|
|
68
|
-
}, e.prototype.incrementalRender = function(t, n, i,
|
|
68
|
+
}, e.prototype.incrementalRender = function(t, n, i, p) {
|
|
69
69
|
var r = n.coordinateSystem;
|
|
70
|
-
r && (
|
|
70
|
+
r && (L(r) ? this.render(n, i, p) : (this._progressiveEls = [], this._renderOnCartesianAndCalendar(n, p, t.start, t.end, !0)));
|
|
71
71
|
}, e.prototype.eachRendered = function(t) {
|
|
72
|
-
|
|
73
|
-
}, e.prototype._renderOnCartesianAndCalendar = function(t, n, i,
|
|
74
|
-
var a = t.coordinateSystem, s = J(a, "cartesian2d"),
|
|
72
|
+
k(this._progressiveEls || this.group, t);
|
|
73
|
+
}, e.prototype._renderOnCartesianAndCalendar = function(t, n, i, p, r) {
|
|
74
|
+
var a = t.coordinateSystem, s = J(a, "cartesian2d"), v, u, c, h;
|
|
75
75
|
if (s) {
|
|
76
|
-
var f = a.getAxis("x"),
|
|
77
|
-
|
|
76
|
+
var f = a.getAxis("x"), R = a.getAxis("y");
|
|
77
|
+
v = f.getBandWidth() + 0.5, u = R.getBandWidth() + 0.5, c = f.scale.getExtent(), h = R.scale.getExtent();
|
|
78
78
|
}
|
|
79
|
-
for (var
|
|
80
|
-
var
|
|
79
|
+
for (var D = this.group, o = t.getData(), S = t.getModel(["emphasis", "itemStyle"]).getItemStyle(), I = t.getModel(["blur", "itemStyle"]).getItemStyle(), O = t.getModel(["select", "itemStyle"]).getItemStyle(), d = t.get(["itemStyle", "borderRadius"]), C = P(t), b = t.getModel("emphasis"), x = b.get("focus"), A = b.get("blurScope"), E = b.get("disabled"), y = s ? [o.mapDimension("x"), o.mapDimension("y"), o.mapDimension("value")] : [o.mapDimension("time"), o.mapDimension("value")], l = i; l < p; l++) {
|
|
80
|
+
var g = void 0, H = o.getItemVisual(l, "style");
|
|
81
81
|
if (s) {
|
|
82
|
-
var
|
|
83
|
-
if (isNaN(o.get(y[2], l)) || isNaN(
|
|
82
|
+
var _ = o.get(y[0], l), N = o.get(y[1], l);
|
|
83
|
+
if (isNaN(o.get(y[2], l)) || isNaN(_) || isNaN(N) || _ < c[0] || _ > c[1] || N < h[0] || N > h[1])
|
|
84
84
|
continue;
|
|
85
|
-
var
|
|
86
|
-
|
|
85
|
+
var z = a.dataToPoint([_, N]);
|
|
86
|
+
g = new B({
|
|
87
87
|
shape: {
|
|
88
|
-
x:
|
|
89
|
-
y:
|
|
90
|
-
width:
|
|
91
|
-
height:
|
|
88
|
+
x: z[0] - v / 2,
|
|
89
|
+
y: z[1] - u / 2,
|
|
90
|
+
width: v,
|
|
91
|
+
height: u
|
|
92
92
|
},
|
|
93
|
-
style:
|
|
93
|
+
style: H
|
|
94
94
|
});
|
|
95
95
|
} else {
|
|
96
96
|
if (isNaN(o.get(y[1], l)))
|
|
97
97
|
continue;
|
|
98
|
-
|
|
98
|
+
g = new B({
|
|
99
99
|
z2: 1,
|
|
100
100
|
shape: a.dataToRect([o.get(y[0], l)]).contentShape,
|
|
101
|
-
style:
|
|
101
|
+
style: H
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
if (o.hasItemOption) {
|
|
105
|
-
var
|
|
106
|
-
S = T.getModel("itemStyle").getItemStyle(),
|
|
105
|
+
var w = o.getItemModel(l), T = w.getModel("emphasis");
|
|
106
|
+
S = T.getModel("itemStyle").getItemStyle(), I = w.getModel(["blur", "itemStyle"]).getItemStyle(), O = w.getModel(["select", "itemStyle"]).getItemStyle(), d = w.get(["itemStyle", "borderRadius"]), x = T.get("focus"), A = T.get("blurScope"), E = T.get("disabled"), C = P(w);
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
var
|
|
110
|
-
|
|
108
|
+
g.shape.r = d;
|
|
109
|
+
var V = t.getRawValue(l), G = "-";
|
|
110
|
+
V && V[2] != null && (G = V[2] + ""), K(g, C, {
|
|
111
111
|
labelFetcher: t,
|
|
112
112
|
labelDataIndex: l,
|
|
113
|
-
defaultOpacity:
|
|
114
|
-
defaultText:
|
|
115
|
-
}),
|
|
113
|
+
defaultOpacity: H.opacity,
|
|
114
|
+
defaultText: G
|
|
115
|
+
}), g.ensureState("emphasis").style = S, g.ensureState("blur").style = I, g.ensureState("select").style = O, F(g, x, A, E), g.incremental = r, r && (g.states.emphasis.hoverLayer = !0), D.add(g), o.setItemGraphicEl(l, g), this._progressiveEls && this._progressiveEls.push(g);
|
|
116
116
|
}
|
|
117
|
-
}, e.prototype._renderOnGeo = function(t, n, i,
|
|
118
|
-
var r = i.targetVisuals.inRange, a = i.targetVisuals.outOfRange, s = n.getData(),
|
|
119
|
-
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
var h = Math.max(
|
|
123
|
-
var y = t.dataToPoint([
|
|
124
|
-
return y[0] -= h, y[1] -= f, y.push(
|
|
125
|
-
}), d = i.getExtent(),
|
|
126
|
-
|
|
117
|
+
}, e.prototype._renderOnGeo = function(t, n, i, p) {
|
|
118
|
+
var r = i.targetVisuals.inRange, a = i.targetVisuals.outOfRange, s = n.getData(), v = this._hmLayer || this._hmLayer || new Z();
|
|
119
|
+
v.blurSize = n.get("blurSize"), v.pointSize = n.get("pointSize"), v.minOpacity = n.get("minOpacity"), v.maxOpacity = n.get("maxOpacity");
|
|
120
|
+
var u = t.getViewRect().clone(), c = t.getRoamTransform();
|
|
121
|
+
u.applyTransform(c);
|
|
122
|
+
var h = Math.max(u.x, 0), f = Math.max(u.y, 0), R = Math.min(u.width + u.x, p.getWidth()), D = Math.min(u.height + u.y, p.getHeight()), o = R - h, S = D - f, I = [s.mapDimension("lng"), s.mapDimension("lat"), s.mapDimension("value")], O = s.mapArray(I, function(x, A, E) {
|
|
123
|
+
var y = t.dataToPoint([x, A]);
|
|
124
|
+
return y[0] -= h, y[1] -= f, y.push(E), y;
|
|
125
|
+
}), d = i.getExtent(), C = i.type === "visualMap.continuous" ? $(d, i.option.range) : U(d, i.getPieceList(), i.option.selected);
|
|
126
|
+
v.update(O, o, S, r.color.getNormalizer(), {
|
|
127
127
|
inRange: r.color.getColorMapper(),
|
|
128
128
|
outOfRange: a.color.getColorMapper()
|
|
129
|
-
},
|
|
129
|
+
}, C);
|
|
130
130
|
var b = new Q({
|
|
131
131
|
style: {
|
|
132
132
|
width: o,
|
|
133
133
|
height: S,
|
|
134
134
|
x: h,
|
|
135
135
|
y: f,
|
|
136
|
-
image:
|
|
136
|
+
image: v.canvas
|
|
137
137
|
},
|
|
138
138
|
silent: !0
|
|
139
139
|
});
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import { __extends as v } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import "../../util/graphic.js";
|
|
2
3
|
import l from "./Line.js";
|
|
3
4
|
import { isArray as g, retrieve as m, isFunction as y } from "../../../../zrender/lib/core/util.js";
|
|
4
5
|
import { createSymbol as S } from "../../util/symbol.js";
|
|
5
6
|
import { dist as s } from "../../../../zrender/lib/core/vector.js";
|
|
6
7
|
import { quadraticAt as A, quadraticDerivativeAt as T } from "../../../../zrender/lib/core/curve.js";
|
|
7
8
|
import L from "../../../../zrender/lib/graphic/Group.js";
|
|
8
|
-
var
|
|
9
|
+
var C = (
|
|
9
10
|
/** @class */
|
|
10
11
|
(function(d) {
|
|
11
12
|
v(p, d);
|
|
12
|
-
function p(t, e,
|
|
13
|
+
function p(t, e, o) {
|
|
13
14
|
var i = d.call(this) || this;
|
|
14
|
-
return i.add(i.createLine(t, e,
|
|
15
|
+
return i.add(i.createLine(t, e, o)), i._updateEffectSymbol(t, e), i;
|
|
15
16
|
}
|
|
16
|
-
return p.prototype.createLine = function(t, e,
|
|
17
|
-
return new l(t, e,
|
|
17
|
+
return p.prototype.createLine = function(t, e, o) {
|
|
18
|
+
return new l(t, e, o);
|
|
18
19
|
}, p.prototype._updateEffectSymbol = function(t, e) {
|
|
19
|
-
var
|
|
20
|
-
g(
|
|
20
|
+
var o = t.getItemModel(e), i = o.getModel("effect"), a = i.get("symbolSize"), r = i.get("symbol");
|
|
21
|
+
g(a) || (a = [a, a]);
|
|
21
22
|
var n = t.getItemVisual(e, "style"), c = i.get("color") || n && n.stroke, _ = this.childAt(1);
|
|
22
|
-
this._symbolType !== r && (this.remove(_), _ = S(r, -0.5, -0.5, 1, 1, c), _.z2 = 100, _.culling = !0, this.add(_)), _ && (_.setStyle("shadowColor", c), _.setStyle(i.getItemStyle(["color"])), _.scaleX =
|
|
23
|
-
}, p.prototype._updateEffectAnimation = function(t, e,
|
|
23
|
+
this._symbolType !== r && (this.remove(_), _ = S(r, -0.5, -0.5, 1, 1, c), _.z2 = 100, _.culling = !0, this.add(_)), _ && (_.setStyle("shadowColor", c), _.setStyle(i.getItemStyle(["color"])), _.scaleX = a[0], _.scaleY = a[1], _.setColor(c), this._symbolType = r, this._symbolScale = a, this._updateEffectAnimation(t, i, e));
|
|
24
|
+
}, p.prototype._updateEffectAnimation = function(t, e, o) {
|
|
24
25
|
var i = this.childAt(1);
|
|
25
26
|
if (i) {
|
|
26
|
-
var
|
|
27
|
+
var a = t.getItemLayout(o), r = e.get("period") * 1e3, n = e.get("loop"), c = e.get("roundTrip"), _ = e.get("constantSpeed"), u = m(e.get("delay"), function(h) {
|
|
27
28
|
return h / t.count() * r / 3;
|
|
28
29
|
});
|
|
29
|
-
if (i.ignore = !0, this._updateAnimationPoints(i,
|
|
30
|
+
if (i.ignore = !0, this._updateAnimationPoints(i, a), _ > 0 && (r = this._getLineLength(i) / _ * 1e3), r !== this._period || n !== this._loop || c !== this._roundTrip) {
|
|
30
31
|
i.stopAnimation();
|
|
31
32
|
var f = void 0;
|
|
32
|
-
y(u) ? f = u(
|
|
33
|
+
y(u) ? f = u(o) : f = u, i.__t > 0 && (f = -r * i.__t), this._animateSymbol(i, r, f, n, c);
|
|
33
34
|
}
|
|
34
35
|
this._period = r, this._loop = n, this._roundTrip = c;
|
|
35
36
|
}
|
|
36
|
-
}, p.prototype._animateSymbol = function(t, e,
|
|
37
|
+
}, p.prototype._animateSymbol = function(t, e, o, i, a) {
|
|
37
38
|
if (e > 0) {
|
|
38
39
|
t.__t = 0;
|
|
39
|
-
var r = this, n = t.animate("", i).when(
|
|
40
|
-
__t:
|
|
41
|
-
}).delay(
|
|
40
|
+
var r = this, n = t.animate("", i).when(a ? e * 2 : e, {
|
|
41
|
+
__t: a ? 2 : 1
|
|
42
|
+
}).delay(o).during(function() {
|
|
42
43
|
r._updateSymbolPosition(t);
|
|
43
44
|
});
|
|
44
45
|
i || n.done(function() {
|
|
@@ -49,20 +50,20 @@ var z = (
|
|
|
49
50
|
return s(t.__p1, t.__cp1) + s(t.__cp1, t.__p2);
|
|
50
51
|
}, p.prototype._updateAnimationPoints = function(t, e) {
|
|
51
52
|
t.__p1 = e[0], t.__p2 = e[1], t.__cp1 = e[2] || [(e[0][0] + e[1][0]) / 2, (e[0][1] + e[1][1]) / 2];
|
|
52
|
-
}, p.prototype.updateData = function(t, e,
|
|
53
|
-
this.childAt(0).updateData(t, e,
|
|
53
|
+
}, p.prototype.updateData = function(t, e, o) {
|
|
54
|
+
this.childAt(0).updateData(t, e, o), this._updateEffectSymbol(t, e);
|
|
54
55
|
}, p.prototype._updateSymbolPosition = function(t) {
|
|
55
|
-
var e = t.__p1,
|
|
56
|
-
r[0] = c(e[0], i[0],
|
|
57
|
-
var u = t.__t < 1 ? _(e[0], i[0],
|
|
58
|
-
t.rotation = -Math.atan2(f, u) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = s(n, r) * 1.05,
|
|
56
|
+
var e = t.__p1, o = t.__p2, i = t.__cp1, a = t.__t < 1 ? t.__t : 2 - t.__t, r = [t.x, t.y], n = r.slice(), c = A, _ = T;
|
|
57
|
+
r[0] = c(e[0], i[0], o[0], a), r[1] = c(e[1], i[1], o[1], a);
|
|
58
|
+
var u = t.__t < 1 ? _(e[0], i[0], o[0], a) : _(o[0], i[0], e[0], 1 - a), f = t.__t < 1 ? _(e[1], i[1], o[1], a) : _(o[1], i[1], e[1], 1 - a);
|
|
59
|
+
t.rotation = -Math.atan2(f, u) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = s(n, r) * 1.05, a === 1 && (r[0] = n[0] + (r[0] - n[0]) / 2, r[1] = n[1] + (r[1] - n[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * s(e, r) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = r[0], t.y = r[1];
|
|
59
60
|
}, p.prototype.updateLayout = function(t, e) {
|
|
60
61
|
this.childAt(0).updateLayout(t, e);
|
|
61
|
-
var
|
|
62
|
-
this._updateEffectAnimation(t,
|
|
62
|
+
var o = t.getItemModel(e).getModel("effect");
|
|
63
|
+
this._updateEffectAnimation(t, o, e);
|
|
63
64
|
}, p;
|
|
64
65
|
})(L)
|
|
65
66
|
);
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
+
C as default
|
|
68
69
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { __extends as _ } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import "../../util/graphic.js";
|
|
2
3
|
import { containStroke as g } from "../../../../zrender/lib/contain/line.js";
|
|
3
4
|
import { containStroke as I } from "../../../../zrender/lib/contain/quadratic.js";
|
|
4
5
|
import { getECData as S } from "../../util/innerStore.js";
|
|
5
|
-
import L from "../../../../zrender/lib/
|
|
6
|
-
import D from "../../../../zrender/lib/
|
|
7
|
-
import P from "../../../../zrender/lib/graphic/
|
|
6
|
+
import L from "../../../../zrender/lib/core/BoundingRect.js";
|
|
7
|
+
import D from "../../../../zrender/lib/graphic/Path.js";
|
|
8
|
+
import P from "../../../../zrender/lib/graphic/Group.js";
|
|
8
9
|
var w = (
|
|
9
10
|
/** @class */
|
|
10
11
|
/* @__PURE__ */ (function() {
|
|
@@ -17,9 +18,9 @@ var w = (
|
|
|
17
18
|
/** @class */
|
|
18
19
|
(function(f) {
|
|
19
20
|
_(e, f);
|
|
20
|
-
function e(
|
|
21
|
-
var
|
|
22
|
-
return
|
|
21
|
+
function e(o) {
|
|
22
|
+
var n = f.call(this, o) || this;
|
|
23
|
+
return n._off = 0, n.hoverDataIdx = -1, n;
|
|
23
24
|
}
|
|
24
25
|
return e.prototype.reset = function() {
|
|
25
26
|
this.notClear = !1, this._off = 0;
|
|
@@ -30,28 +31,28 @@ var w = (
|
|
|
30
31
|
};
|
|
31
32
|
}, e.prototype.getDefaultShape = function() {
|
|
32
33
|
return new w();
|
|
33
|
-
}, e.prototype.buildPath = function(
|
|
34
|
-
var t =
|
|
35
|
-
if (
|
|
34
|
+
}, e.prototype.buildPath = function(o, n) {
|
|
35
|
+
var t = n.segs, a = n.curveness, r;
|
|
36
|
+
if (n.polyline)
|
|
36
37
|
for (r = this._off; r < t.length; ) {
|
|
37
38
|
var v = t[r++];
|
|
38
39
|
if (v > 0) {
|
|
39
|
-
|
|
40
|
+
o.moveTo(t[r++], t[r++]);
|
|
40
41
|
for (var s = 1; s < v; s++)
|
|
41
|
-
|
|
42
|
+
o.lineTo(t[r++], t[r++]);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
else
|
|
45
46
|
for (r = this._off; r < t.length; ) {
|
|
46
47
|
var i = t[r++], u = t[r++], h = t[r++], l = t[r++];
|
|
47
|
-
if (
|
|
48
|
+
if (o.moveTo(i, u), a > 0) {
|
|
48
49
|
var c = (i + h) / 2 - (u - l) * a, p = (u + l) / 2 - (h - i) * a;
|
|
49
|
-
|
|
50
|
+
o.quadraticCurveTo(c, p, h, l);
|
|
50
51
|
} else
|
|
51
|
-
|
|
52
|
+
o.lineTo(h, l);
|
|
52
53
|
}
|
|
53
54
|
this.incremental && (this._off = r, this.notClear = !0);
|
|
54
|
-
}, e.prototype.findDataIndex = function(
|
|
55
|
+
}, e.prototype.findDataIndex = function(o, n) {
|
|
55
56
|
var t = this.shape, a = t.segs, r = t.curveness, v = this.style.lineWidth;
|
|
56
57
|
if (t.polyline)
|
|
57
58
|
for (var s = 0, i = 0; i < a.length; ) {
|
|
@@ -59,7 +60,7 @@ var w = (
|
|
|
59
60
|
if (u > 0)
|
|
60
61
|
for (var h = a[i++], l = a[i++], c = 1; c < u; c++) {
|
|
61
62
|
var p = a[i++], d = a[i++];
|
|
62
|
-
if (g(h, l, p, d, v,
|
|
63
|
+
if (g(h, l, p, d, v, o, n))
|
|
63
64
|
return s;
|
|
64
65
|
}
|
|
65
66
|
s++;
|
|
@@ -69,51 +70,51 @@ var w = (
|
|
|
69
70
|
var h = a[i++], l = a[i++], p = a[i++], d = a[i++];
|
|
70
71
|
if (r > 0) {
|
|
71
72
|
var m = (h + p) / 2 - (l - d) * r, y = (l + d) / 2 - (p - h) * r;
|
|
72
|
-
if (I(h, l, m, y, p, d, v,
|
|
73
|
+
if (I(h, l, m, y, p, d, v, o, n))
|
|
73
74
|
return s;
|
|
74
|
-
} else if (g(h, l, p, d, v,
|
|
75
|
+
} else if (g(h, l, p, d, v, o, n))
|
|
75
76
|
return s;
|
|
76
77
|
s++;
|
|
77
78
|
}
|
|
78
79
|
return -1;
|
|
79
|
-
}, e.prototype.contain = function(
|
|
80
|
-
var t = this.transformCoordToLocal(
|
|
81
|
-
if (
|
|
82
|
-
var r = this.hoverDataIdx = this.findDataIndex(
|
|
80
|
+
}, e.prototype.contain = function(o, n) {
|
|
81
|
+
var t = this.transformCoordToLocal(o, n), a = this.getBoundingRect();
|
|
82
|
+
if (o = t[0], n = t[1], a.contain(o, n)) {
|
|
83
|
+
var r = this.hoverDataIdx = this.findDataIndex(o, n);
|
|
83
84
|
return r >= 0;
|
|
84
85
|
}
|
|
85
86
|
return this.hoverDataIdx = -1, !1;
|
|
86
87
|
}, e.prototype.getBoundingRect = function() {
|
|
87
|
-
var
|
|
88
|
-
if (!
|
|
89
|
-
for (var
|
|
88
|
+
var o = this._rect;
|
|
89
|
+
if (!o) {
|
|
90
|
+
for (var n = this.shape, t = n.segs, a = 1 / 0, r = 1 / 0, v = -1 / 0, s = -1 / 0, i = 0; i < t.length; ) {
|
|
90
91
|
var u = t[i++], h = t[i++];
|
|
91
92
|
a = Math.min(u, a), v = Math.max(u, v), r = Math.min(h, r), s = Math.max(h, s);
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
+
o = this._rect = new L(a, r, v, s);
|
|
94
95
|
}
|
|
95
|
-
return
|
|
96
|
+
return o;
|
|
96
97
|
}, e;
|
|
97
|
-
})(
|
|
98
|
-
),
|
|
98
|
+
})(D)
|
|
99
|
+
), b = (
|
|
99
100
|
/** @class */
|
|
100
101
|
(function() {
|
|
101
102
|
function f() {
|
|
102
|
-
this.group = new
|
|
103
|
+
this.group = new P();
|
|
103
104
|
}
|
|
104
105
|
return f.prototype.updateData = function(e) {
|
|
105
106
|
this._clear();
|
|
106
|
-
var
|
|
107
|
-
|
|
107
|
+
var o = this._create();
|
|
108
|
+
o.setShape({
|
|
108
109
|
segs: e.getLayout("linesPoints")
|
|
109
|
-
}), this._setCommon(
|
|
110
|
+
}), this._setCommon(o, e);
|
|
110
111
|
}, f.prototype.incrementalPrepareUpdate = function(e) {
|
|
111
112
|
this.group.removeAll(), this._clear();
|
|
112
|
-
}, f.prototype.incrementalUpdate = function(e,
|
|
113
|
-
var
|
|
113
|
+
}, f.prototype.incrementalUpdate = function(e, o) {
|
|
114
|
+
var n = this._newAdded[0], t = o.getLayout("linesPoints"), a = n && n.shape.segs;
|
|
114
115
|
if (a && a.length < 2e4) {
|
|
115
116
|
var r = a.length, v = new Float32Array(r + t.length);
|
|
116
|
-
v.set(a), v.set(t, r),
|
|
117
|
+
v.set(a), v.set(t, r), n.setShape({
|
|
117
118
|
segs: v
|
|
118
119
|
});
|
|
119
120
|
} else {
|
|
@@ -121,7 +122,7 @@ var w = (
|
|
|
121
122
|
var s = this._create();
|
|
122
123
|
s.incremental = !0, s.setShape({
|
|
123
124
|
segs: t
|
|
124
|
-
}), this._setCommon(s,
|
|
125
|
+
}), this._setCommon(s, o), s.__startIndex = e.start;
|
|
125
126
|
}
|
|
126
127
|
}, f.prototype.remove = function() {
|
|
127
128
|
this._clear();
|
|
@@ -133,13 +134,13 @@ var w = (
|
|
|
133
134
|
ignoreCoarsePointer: !0
|
|
134
135
|
});
|
|
135
136
|
return this._newAdded.push(e), this.group.add(e), e;
|
|
136
|
-
}, f.prototype._setCommon = function(e,
|
|
137
|
-
var t =
|
|
137
|
+
}, f.prototype._setCommon = function(e, o, n) {
|
|
138
|
+
var t = o.hostModel;
|
|
138
139
|
e.setShape({
|
|
139
140
|
polyline: t.get("polyline"),
|
|
140
141
|
curveness: t.get(["lineStyle", "curveness"])
|
|
141
142
|
}), e.useStyle(t.getModel("lineStyle").getLineStyle()), e.style.strokeNoScale = !0;
|
|
142
|
-
var a =
|
|
143
|
+
var a = o.getVisual("style");
|
|
143
144
|
a && a.stroke && e.setStyle("stroke", a.stroke), e.setStyle("fill", null);
|
|
144
145
|
var r = S(e);
|
|
145
146
|
r.seriesIndex = t.seriesIndex, e.on("mousemove", function(v) {
|
|
@@ -153,5 +154,5 @@ var w = (
|
|
|
153
154
|
})()
|
|
154
155
|
);
|
|
155
156
|
export {
|
|
156
|
-
|
|
157
|
+
b as default
|
|
157
158
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __extends as g } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import "../../util/graphic.js";
|
|
2
3
|
import { createSymbol as S } from "../../util/symbol.js";
|
|
3
4
|
import { getECData as _ } from "../../util/innerStore.js";
|
|
4
|
-
import y from "../../../../zrender/lib/
|
|
5
|
-
import m from "../../../../zrender/lib/
|
|
6
|
-
import I from "../../../../zrender/lib/graphic/
|
|
5
|
+
import y from "../../../../zrender/lib/core/BoundingRect.js";
|
|
6
|
+
import m from "../../../../zrender/lib/graphic/Path.js";
|
|
7
|
+
import I from "../../../../zrender/lib/graphic/Group.js";
|
|
7
8
|
var l = 4, x = (
|
|
8
9
|
/** @class */
|
|
9
10
|
/* @__PURE__ */ (function() {
|
|
@@ -64,16 +65,16 @@ var l = 4, x = (
|
|
|
64
65
|
var c = a[v++], d = a[v++];
|
|
65
66
|
s = Math.min(c, s), u = Math.max(c, u), n = Math.min(d, n), f = Math.max(d, f);
|
|
66
67
|
}
|
|
67
|
-
r = this._rect = new
|
|
68
|
+
r = this._rect = new y(s - h / 2, n - i / 2, u - s + h, f - n + i);
|
|
68
69
|
}
|
|
69
70
|
return r;
|
|
70
71
|
}, t;
|
|
71
|
-
})(
|
|
72
|
-
),
|
|
72
|
+
})(m)
|
|
73
|
+
), N = (
|
|
73
74
|
/** @class */
|
|
74
75
|
(function() {
|
|
75
76
|
function p() {
|
|
76
|
-
this.group = new
|
|
77
|
+
this.group = new I();
|
|
77
78
|
}
|
|
78
79
|
return p.prototype.updateData = function(t, r) {
|
|
79
80
|
this._clear();
|
|
@@ -139,5 +140,5 @@ var l = 4, x = (
|
|
|
139
140
|
})()
|
|
140
141
|
);
|
|
141
142
|
export {
|
|
142
|
-
|
|
143
|
+
N as default
|
|
143
144
|
};
|
|
@@ -3,11 +3,12 @@ import { each as E, isArray as Y } from "../../../../zrender/lib/core/util.js";
|
|
|
3
3
|
import { sub as G, normalize as X } from "../../../../zrender/lib/core/vector.js";
|
|
4
4
|
import { normalizeSymbolSize as C, normalizeSymbolOffset as F, createSymbol as H } from "../../util/symbol.js";
|
|
5
5
|
import U from "./LinePath.js";
|
|
6
|
+
import "../../util/graphic.js";
|
|
6
7
|
import { SPECIAL_STATES as z, toggleHoverEmphasis as $, enterEmphasis as j, leaveEmphasis as q } from "../../util/states.js";
|
|
7
8
|
import { getLabelStatesModels as J, setLabelStyle as Q } from "../../label/labelStyle.js";
|
|
8
9
|
import { round as W } from "../../util/number.js";
|
|
9
|
-
import Z from "
|
|
10
|
-
import
|
|
10
|
+
import { initProps as Z, updateProps as x } from "../../animation/basicTransition.js";
|
|
11
|
+
import D from "../../../../zrender/lib/graphic/Group.js";
|
|
11
12
|
var R = ["fromSymbol", "toSymbol"];
|
|
12
13
|
function w(a) {
|
|
13
14
|
return "_" + a + "Type";
|
|
@@ -38,7 +39,7 @@ function A(a, r) {
|
|
|
38
39
|
var t = r[2];
|
|
39
40
|
t ? (a.cpx1 = t[0], a.cpy1 = t[1]) : (a.cpx1 = NaN, a.cpy1 = NaN);
|
|
40
41
|
}
|
|
41
|
-
var
|
|
42
|
+
var ue = (
|
|
42
43
|
/** @class */
|
|
43
44
|
(function(a) {
|
|
44
45
|
K(r, a);
|
|
@@ -48,7 +49,7 @@ var ve = (
|
|
|
48
49
|
}
|
|
49
50
|
return r.prototype._createLine = function(t, o, i) {
|
|
50
51
|
var e = t.hostModel, l = t.getItemLayout(o), f = ee(l);
|
|
51
|
-
f.shape.percent = 0,
|
|
52
|
+
f.shape.percent = 0, Z(f, {
|
|
52
53
|
shape: {
|
|
53
54
|
percent: 1
|
|
54
55
|
}
|
|
@@ -60,7 +61,7 @@ var ve = (
|
|
|
60
61
|
var e = t.hostModel, l = this.childOfName("line"), f = t.getItemLayout(o), s = {
|
|
61
62
|
shape: {}
|
|
62
63
|
};
|
|
63
|
-
A(s.shape, f),
|
|
64
|
+
A(s.shape, f), x(l, s, e, o), E(R, function(n) {
|
|
64
65
|
var v = V(n, t, o), u = w(n);
|
|
65
66
|
if (this[u] !== v) {
|
|
66
67
|
this.remove(this.childOfName(n));
|
|
@@ -201,8 +202,8 @@ var ve = (
|
|
|
201
202
|
});
|
|
202
203
|
}
|
|
203
204
|
}, r;
|
|
204
|
-
})(
|
|
205
|
+
})(D)
|
|
205
206
|
);
|
|
206
207
|
export {
|
|
207
|
-
|
|
208
|
+
ue as default
|
|
208
209
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { __extends as
|
|
1
|
+
import { __extends as u } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import "../../util/graphic.js";
|
|
2
3
|
import { normalize as l } from "../../../../zrender/lib/core/vector.js";
|
|
3
4
|
import s from "../../../../zrender/lib/graphic/shape/Line.js";
|
|
4
5
|
import f from "../../../../zrender/lib/graphic/shape/BezierCurve.js";
|
|
5
6
|
import c from "../../../../zrender/lib/graphic/Path.js";
|
|
6
|
-
var
|
|
7
|
+
var p = s.prototype, n = f.prototype, h = (
|
|
7
8
|
/** @class */
|
|
8
9
|
/* @__PURE__ */ (function() {
|
|
9
10
|
function i() {
|
|
@@ -11,21 +12,23 @@ var u = s.prototype, n = f.prototype, p = (
|
|
|
11
12
|
}
|
|
12
13
|
return i;
|
|
13
14
|
})()
|
|
15
|
+
), L = (
|
|
16
|
+
/** @class */
|
|
17
|
+
(function(i) {
|
|
18
|
+
u(r, i);
|
|
19
|
+
function r() {
|
|
20
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
21
|
+
}
|
|
22
|
+
return r;
|
|
23
|
+
})(h)
|
|
14
24
|
);
|
|
15
|
-
(function(i) {
|
|
16
|
-
h(r, i);
|
|
17
|
-
function r() {
|
|
18
|
-
return i !== null && i.apply(this, arguments) || this;
|
|
19
|
-
}
|
|
20
|
-
return r;
|
|
21
|
-
})(p);
|
|
22
25
|
function o(i) {
|
|
23
26
|
return isNaN(+i.cpx1) || isNaN(+i.cpy1);
|
|
24
27
|
}
|
|
25
|
-
var
|
|
28
|
+
var x = (
|
|
26
29
|
/** @class */
|
|
27
30
|
(function(i) {
|
|
28
|
-
|
|
31
|
+
u(r, i);
|
|
29
32
|
function r(e) {
|
|
30
33
|
var t = i.call(this, e) || this;
|
|
31
34
|
return t.type = "ec-line", t;
|
|
@@ -36,11 +39,11 @@ var S = (
|
|
|
36
39
|
fill: null
|
|
37
40
|
};
|
|
38
41
|
}, r.prototype.getDefaultShape = function() {
|
|
39
|
-
return new
|
|
42
|
+
return new h();
|
|
40
43
|
}, r.prototype.buildPath = function(e, t) {
|
|
41
|
-
o(t) ?
|
|
44
|
+
o(t) ? p.buildPath.call(this, e, t) : n.buildPath.call(this, e, t);
|
|
42
45
|
}, r.prototype.pointAt = function(e) {
|
|
43
|
-
return o(this.shape) ?
|
|
46
|
+
return o(this.shape) ? p.pointAt.call(this, e) : n.pointAt.call(this, e);
|
|
44
47
|
}, r.prototype.tangentAt = function(e) {
|
|
45
48
|
var t = this.shape, a = o(t) ? [t.x2 - t.x1, t.y2 - t.y1] : n.tangentAt.call(this, e);
|
|
46
49
|
return l(a, a);
|
|
@@ -48,5 +51,5 @@ var S = (
|
|
|
48
51
|
})(c)
|
|
49
52
|
);
|
|
50
53
|
export {
|
|
51
|
-
|
|
54
|
+
x as default
|
|
52
55
|
};
|