web-core-tcm 0.0.61 → 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,34 +1,34 @@
|
|
|
1
|
-
import { getLayoutRect as
|
|
2
|
-
import { parsePercent as
|
|
3
|
-
import { isFunction as
|
|
4
|
-
function
|
|
5
|
-
return
|
|
1
|
+
import { getLayoutRect as G } from "../../util/layout.js";
|
|
2
|
+
import { parsePercent as A, linearMap as j } from "../../util/number.js";
|
|
3
|
+
import { isFunction as H } from "../../../../zrender/lib/core/util.js";
|
|
4
|
+
function J(u, m) {
|
|
5
|
+
return G(u.getBoxLayoutParams(), {
|
|
6
6
|
width: m.getWidth(),
|
|
7
7
|
height: m.getHeight()
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
for (var e = u.mapDimension("value"),
|
|
12
|
-
return
|
|
13
|
-
}), h = [],
|
|
14
|
-
h[
|
|
15
|
-
return
|
|
16
|
-
return
|
|
10
|
+
function K(u, m) {
|
|
11
|
+
for (var e = u.mapDimension("value"), s = u.mapArray(e, function(g) {
|
|
12
|
+
return g;
|
|
13
|
+
}), h = [], z = m === "ascending", i = 0, p = u.count(); i < p; i++)
|
|
14
|
+
h[i] = i;
|
|
15
|
+
return H(m) ? h.sort(m) : m !== "none" && h.sort(function(g, t) {
|
|
16
|
+
return z ? s[g] - s[t] : s[t] - s[g];
|
|
17
17
|
}), h;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function N(u) {
|
|
20
20
|
var m = u.hostModel, e = m.get("orient");
|
|
21
|
-
u.each(function(
|
|
22
|
-
var h = u.getItemModel(
|
|
21
|
+
u.each(function(s) {
|
|
22
|
+
var h = u.getItemModel(s), z = h.getModel("label"), i = z.get("position"), p = h.getModel("labelLine"), g = u.getItemLayout(s), t = g.points, d = i === "inner" || i === "inside" || i === "center" || i === "insideLeft" || i === "insideRight", r, l, f, S;
|
|
23
23
|
if (d)
|
|
24
|
-
|
|
24
|
+
i === "insideLeft" ? (l = (t[0][0] + t[3][0]) / 2 + 5, f = (t[0][1] + t[3][1]) / 2, r = "left") : i === "insideRight" ? (l = (t[1][0] + t[2][0]) / 2 - 5, f = (t[1][1] + t[2][1]) / 2, r = "right") : (l = (t[0][0] + t[1][0] + t[2][0] + t[3][0]) / 4, f = (t[0][1] + t[1][1] + t[2][1] + t[3][1]) / 4, r = "center"), S = [[l, f], [l, f]];
|
|
25
25
|
else {
|
|
26
|
-
var
|
|
27
|
-
|
|
26
|
+
var o = void 0, a = void 0, v = void 0, n = void 0, c = p.get("length");
|
|
27
|
+
i === "left" ? (o = (t[3][0] + t[0][0]) / 2, a = (t[3][1] + t[0][1]) / 2, v = o - c, l = v - 5, r = "right") : i === "right" ? (o = (t[1][0] + t[2][0]) / 2, a = (t[1][1] + t[2][1]) / 2, v = o + c, l = v + 5, r = "left") : i === "top" ? (o = (t[3][0] + t[0][0]) / 2, a = (t[3][1] + t[0][1]) / 2, n = a - c, f = n - 5, r = "center") : i === "bottom" ? (o = (t[1][0] + t[2][0]) / 2, a = (t[1][1] + t[2][1]) / 2, n = a + c, f = n + 5, r = "center") : i === "rightTop" ? (o = e === "horizontal" ? t[3][0] : t[1][0], a = e === "horizontal" ? t[3][1] : t[1][1], e === "horizontal" ? (n = a - c, f = n - 5, r = "center") : (v = o + c, l = v + 5, r = "top")) : i === "rightBottom" ? (o = t[2][0], a = t[2][1], e === "horizontal" ? (n = a + c, f = n + 5, r = "center") : (v = o + c, l = v + 5, r = "bottom")) : i === "leftTop" ? (o = t[0][0], a = e === "horizontal" ? t[0][1] : t[1][1], e === "horizontal" ? (n = a - c, f = n - 5, r = "center") : (v = o - c, l = v - 5, r = "right")) : i === "leftBottom" ? (o = e === "horizontal" ? t[1][0] : t[3][0], a = e === "horizontal" ? t[1][1] : t[2][1], e === "horizontal" ? (n = a + c, f = n + 5, r = "center") : (v = o - c, l = v - 5, r = "right")) : (o = (t[1][0] + t[2][0]) / 2, a = (t[1][1] + t[2][1]) / 2, e === "horizontal" ? (n = a + c, f = n + 5, r = "center") : (v = o + c, l = v + 5, r = "left")), e === "horizontal" ? (v = o, l = v) : (n = a, f = n), S = [[o, a], [v, n]];
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
linePoints:
|
|
31
|
-
x:
|
|
29
|
+
g.label = {
|
|
30
|
+
linePoints: S,
|
|
31
|
+
x: l,
|
|
32
32
|
y: f,
|
|
33
33
|
verticalAlign: "middle",
|
|
34
34
|
textAlign: r,
|
|
@@ -38,58 +38,58 @@ function O(u) {
|
|
|
38
38
|
}
|
|
39
39
|
function _(u, m) {
|
|
40
40
|
u.eachSeriesByType("funnel", function(e) {
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
if (
|
|
45
|
-
var
|
|
46
|
-
switch (
|
|
41
|
+
var s = e.getData(), h = s.mapDimension("value"), z = e.get("sort"), i = J(e, m), p = e.get("orient"), g = i.width, t = i.height, d = K(s, z), r = i.x, l = i.y, f = p === "horizontal" ? [A(e.get("minSize"), t), A(e.get("maxSize"), t)] : [A(e.get("minSize"), g), A(e.get("maxSize"), g)], S = s.getDataExtent(h), o = e.get("min"), a = e.get("max");
|
|
42
|
+
o == null && (o = Math.min(S[0], 0)), a == null && (a = S[1]);
|
|
43
|
+
var v = e.get("funnelAlign"), n = e.get("gap"), c = p === "horizontal" ? g : t, w = (c - n * (s.count() - 1)) / s.count(), R = function(Y, E) {
|
|
44
|
+
if (p === "horizontal") {
|
|
45
|
+
var q = s.get(h, Y) || 0, W = j(q, [o, a], f, !0), D = void 0;
|
|
46
|
+
switch (v) {
|
|
47
47
|
case "top":
|
|
48
|
-
|
|
48
|
+
D = l;
|
|
49
49
|
break;
|
|
50
50
|
case "center":
|
|
51
|
-
|
|
51
|
+
D = l + (t - W) / 2;
|
|
52
52
|
break;
|
|
53
53
|
case "bottom":
|
|
54
|
-
|
|
54
|
+
D = l + (t - W);
|
|
55
55
|
break;
|
|
56
56
|
}
|
|
57
|
-
return [[E,
|
|
57
|
+
return [[E, D], [E, D + W]];
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
switch (
|
|
59
|
+
var C = s.get(h, Y) || 0, O = j(C, [o, a], f, !0), I;
|
|
60
|
+
switch (v) {
|
|
61
61
|
case "left":
|
|
62
|
-
|
|
62
|
+
I = r;
|
|
63
63
|
break;
|
|
64
64
|
case "center":
|
|
65
|
-
|
|
65
|
+
I = r + (g - O) / 2;
|
|
66
66
|
break;
|
|
67
67
|
case "right":
|
|
68
|
-
|
|
68
|
+
I = r + g - O;
|
|
69
69
|
break;
|
|
70
70
|
}
|
|
71
|
-
return [[
|
|
71
|
+
return [[I, E], [I + O, E]];
|
|
72
72
|
};
|
|
73
|
-
|
|
74
|
-
for (var
|
|
75
|
-
var
|
|
76
|
-
if (
|
|
77
|
-
var
|
|
78
|
-
|
|
79
|
-
var
|
|
80
|
-
r +=
|
|
81
|
-
points:
|
|
73
|
+
z === "ascending" && (w = -w, n = -n, p === "horizontal" ? r += g : l += t, d = d.reverse());
|
|
74
|
+
for (var B = 0; B < d.length; B++) {
|
|
75
|
+
var k = d[B], V = d[B + 1], X = s.getItemModel(k);
|
|
76
|
+
if (p === "horizontal") {
|
|
77
|
+
var P = X.get(["itemStyle", "width"]);
|
|
78
|
+
P == null ? P = w : (P = A(P, g), z === "ascending" && (P = -P));
|
|
79
|
+
var F = R(k, r), T = R(V, r + P);
|
|
80
|
+
r += P + n, s.setItemLayout(k, {
|
|
81
|
+
points: F.concat(T.slice().reverse())
|
|
82
82
|
});
|
|
83
83
|
} else {
|
|
84
|
-
var
|
|
85
|
-
|
|
86
|
-
var
|
|
87
|
-
|
|
88
|
-
points:
|
|
84
|
+
var b = X.get(["itemStyle", "height"]);
|
|
85
|
+
b == null ? b = w : (b = A(b, t), z === "ascending" && (b = -b));
|
|
86
|
+
var F = R(k, l), T = R(V, l + b);
|
|
87
|
+
l += b + n, s.setItemLayout(k, {
|
|
88
|
+
points: F.concat(T.slice().reverse())
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
N(s);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
export {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __extends as it } from "../../../../tslib/tslib.es6.js";
|
|
2
2
|
import nt from "./PointerPath.js";
|
|
3
|
+
import "../../util/graphic.js";
|
|
3
4
|
import { setStatesStylesFromModel as Q, toggleHoverEmphasis as U } from "../../util/states.js";
|
|
4
5
|
import { createTextStyle as Y, setLabelValueAnimation as lt, animateLabelValue as vt } from "../../label/labelStyle.js";
|
|
5
6
|
import gt from "../../view/Chart.js";
|
|
@@ -7,16 +8,16 @@ import { parsePercent as M, round as ht, linearMap as W } from "../../util/numbe
|
|
|
7
8
|
import $ from "../../util/shape/sausage.js";
|
|
8
9
|
import { createSymbol as F } from "../../util/symbol.js";
|
|
9
10
|
import ut from "../../../../zrender/lib/graphic/Image.js";
|
|
10
|
-
import {
|
|
11
|
+
import { isString as mt, isFunction as ot, each as ct, isNumber as st, extend as dt } from "../../../../zrender/lib/core/util.js";
|
|
11
12
|
import { setCommonECData as j } from "../../util/innerStore.js";
|
|
12
13
|
import { normalizeArcAngles as ft } from "../../../../zrender/lib/core/PathProxy.js";
|
|
13
14
|
import I from "../../../../zrender/lib/graphic/shape/Sector.js";
|
|
14
15
|
import tt from "../../../../zrender/lib/graphic/shape/Line.js";
|
|
15
16
|
import q from "../../../../zrender/lib/graphic/Text.js";
|
|
16
|
-
import et from "
|
|
17
|
-
import
|
|
18
|
-
function
|
|
19
|
-
var t = O.get("center"), b = c.getWidth(),
|
|
17
|
+
import { initProps as et, updateProps as at } from "../../animation/basicTransition.js";
|
|
18
|
+
import rt from "../../../../zrender/lib/graphic/Group.js";
|
|
19
|
+
function pt(O, c) {
|
|
20
|
+
var t = O.get("center"), b = c.getWidth(), p = c.getHeight(), m = Math.min(b, p), a = M(t[0], c.getWidth()), A = M(t[1], c.getHeight()), s = M(O.get("radius"), m / 2);
|
|
20
21
|
return {
|
|
21
22
|
cx: a,
|
|
22
23
|
cy: A,
|
|
@@ -25,9 +26,9 @@ function yt(O, c) {
|
|
|
25
26
|
}
|
|
26
27
|
function B(O, c) {
|
|
27
28
|
var t = O == null ? "" : O + "";
|
|
28
|
-
return c && (
|
|
29
|
+
return c && (mt(c) ? t = c.replace("{value}", t) : ot(c) && (t = c(O))), t;
|
|
29
30
|
}
|
|
30
|
-
var
|
|
31
|
+
var zt = (
|
|
31
32
|
/** @class */
|
|
32
33
|
(function(O) {
|
|
33
34
|
it(c, O);
|
|
@@ -35,20 +36,20 @@ var Tt = (
|
|
|
35
36
|
var t = O !== null && O.apply(this, arguments) || this;
|
|
36
37
|
return t.type = c.type, t;
|
|
37
38
|
}
|
|
38
|
-
return c.prototype.render = function(t, b,
|
|
39
|
+
return c.prototype.render = function(t, b, p) {
|
|
39
40
|
this.group.removeAll();
|
|
40
|
-
var m = t.get(["axisLine", "lineStyle", "color"]), a =
|
|
41
|
-
this._renderMain(t, b,
|
|
41
|
+
var m = t.get(["axisLine", "lineStyle", "color"]), a = pt(t, p);
|
|
42
|
+
this._renderMain(t, b, p, m, a), this._data = t.getData();
|
|
42
43
|
}, c.prototype.dispose = function() {
|
|
43
|
-
}, c.prototype._renderMain = function(t, b,
|
|
44
|
+
}, c.prototype._renderMain = function(t, b, p, m, a) {
|
|
44
45
|
var A = this.group, s = t.get("clockwise"), k = -t.get("startAngle") / 180 * Math.PI, d = -t.get("endAngle") / 180 * Math.PI, _ = t.getModel("axisLine"), L = _.get("roundCap"), V = L ? $ : I, u = _.get("show"), z = _.getModel("lineStyle"), D = z.get("width"), g = [k, d];
|
|
45
46
|
ft(g, !s), k = g[0], d = g[1];
|
|
46
|
-
for (var r = d - k,
|
|
47
|
+
for (var r = d - k, y = k, S = [], N = 0; u && N < m.length; N++) {
|
|
47
48
|
var x = Math.min(Math.max(m[N][0], 0), 1);
|
|
48
49
|
d = k + r * x;
|
|
49
50
|
var E = new V({
|
|
50
51
|
shape: {
|
|
51
|
-
startAngle:
|
|
52
|
+
startAngle: y,
|
|
52
53
|
endAngle: d,
|
|
53
54
|
cx: a.cx,
|
|
54
55
|
cy: a.cy,
|
|
@@ -64,9 +65,9 @@ var Tt = (
|
|
|
64
65
|
// Because we use sector to simulate arc
|
|
65
66
|
// so the properties for stroking are useless
|
|
66
67
|
["color", "width"]
|
|
67
|
-
)), S.push(E),
|
|
68
|
+
)), S.push(E), y = d;
|
|
68
69
|
}
|
|
69
|
-
S.reverse(),
|
|
70
|
+
S.reverse(), ct(S, function(C) {
|
|
70
71
|
return A.add(C);
|
|
71
72
|
});
|
|
72
73
|
var P = function(C) {
|
|
@@ -78,9 +79,9 @@ var Tt = (
|
|
|
78
79
|
return m[e][1];
|
|
79
80
|
return m[e - 1][1];
|
|
80
81
|
};
|
|
81
|
-
this._renderTicks(t, b,
|
|
82
|
-
}, c.prototype._renderTicks = function(t, b,
|
|
83
|
-
for (var _ = this.group, L = a.cx, V = a.cy, u = a.r, z = +t.get("min"), D = +t.get("max"), g = t.getModel("splitLine"), r = t.getModel("axisTick"),
|
|
82
|
+
this._renderTicks(t, b, p, P, a, k, d, s, D), this._renderTitleAndDetail(t, b, p, P, a), this._renderAnchor(t, a), this._renderPointer(t, b, p, P, a, k, d, s, D);
|
|
83
|
+
}, c.prototype._renderTicks = function(t, b, p, m, a, A, s, k, d) {
|
|
84
|
+
for (var _ = this.group, L = a.cx, V = a.cy, u = a.r, z = +t.get("min"), D = +t.get("max"), g = t.getModel("splitLine"), r = t.getModel("axisTick"), y = t.getModel("axisLabel"), S = t.get("splitNumber"), N = r.get("splitNumber"), x = M(g.get("length"), u), E = M(r.get("length"), u), P = A, C = (s - A) / S, e = C / N, h = g.getModel("lineStyle").getLineStyle(), f = r.getModel("lineStyle").getLineStyle(), o = g.get("distance"), n, l, i = 0; i <= S; i++) {
|
|
84
85
|
if (n = Math.cos(P), l = Math.sin(P), g.get("show")) {
|
|
85
86
|
var v = o ? o + d : d, w = new tt({
|
|
86
87
|
shape: {
|
|
@@ -96,10 +97,10 @@ var Tt = (
|
|
|
96
97
|
stroke: m(i / S)
|
|
97
98
|
}), _.add(w);
|
|
98
99
|
}
|
|
99
|
-
if (
|
|
100
|
-
var v =
|
|
101
|
-
K === "radial" ? (R = -P + 2 * Math.PI, R > Math.PI / 2 && (R += Math.PI)) : K === "tangential" ? R = -P - Math.PI / 2 :
|
|
102
|
-
style: Y(
|
|
100
|
+
if (y.get("show")) {
|
|
101
|
+
var v = y.get("distance") + o, G = B(ht(i / S * (D - z) + z), y.get("formatter")), T = m(i / S), H = n * (u - x - v) + L, X = l * (u - x - v) + V, K = y.get("rotate"), R = 0;
|
|
102
|
+
K === "radial" ? (R = -P + 2 * Math.PI, R > Math.PI / 2 && (R += Math.PI)) : K === "tangential" ? R = -P - Math.PI / 2 : st(K) && (R = K * Math.PI / 180), R === 0 ? _.add(new q({
|
|
103
|
+
style: Y(y, {
|
|
103
104
|
text: G,
|
|
104
105
|
x: H,
|
|
105
106
|
y: X,
|
|
@@ -110,7 +111,7 @@ var Tt = (
|
|
|
110
111
|
}),
|
|
111
112
|
silent: !0
|
|
112
113
|
})) : _.add(new q({
|
|
113
|
-
style: Y(
|
|
114
|
+
style: Y(y, {
|
|
114
115
|
text: G,
|
|
115
116
|
x: H,
|
|
116
117
|
y: X,
|
|
@@ -148,8 +149,8 @@ var Tt = (
|
|
|
148
149
|
} else
|
|
149
150
|
P += C;
|
|
150
151
|
}
|
|
151
|
-
}, c.prototype._renderPointer = function(t, b,
|
|
152
|
-
var _ = this.group, L = this._data, V = this._progressEls, u = [], z = t.get(["pointer", "show"]), D = t.getModel("progress"), g = D.get("show"), r = t.getData(),
|
|
152
|
+
}, c.prototype._renderPointer = function(t, b, p, m, a, A, s, k, d) {
|
|
153
|
+
var _ = this.group, L = this._data, V = this._progressEls, u = [], z = t.get(["pointer", "show"]), D = t.getModel("progress"), g = D.get("show"), r = t.getData(), y = r.mapDimension("value"), S = +t.get("min"), N = +t.get("max"), x = [S, N], E = [A, s];
|
|
153
154
|
function P(e, h) {
|
|
154
155
|
var f = r.getItemModel(e), o = f.getModel("pointer"), n = M(o.get("width"), a.r), l = M(o.get("length"), a.r), i = t.get(["pointer", "icon"]), v = o.get("offsetCenter"), w = M(v[0], a.r), G = M(v[1], a.r), T = o.get("keepAspect"), H;
|
|
155
156
|
return i ? H = F(i, w - n / 2, G - l, n, l, null, T) : H = new nt({
|
|
@@ -174,35 +175,35 @@ var Tt = (
|
|
|
174
175
|
r: v
|
|
175
176
|
}
|
|
176
177
|
});
|
|
177
|
-
return n && (w.z2 = W(r.get(
|
|
178
|
+
return n && (w.z2 = W(r.get(y, e), [S, N], [100, 0], !0)), w;
|
|
178
179
|
}
|
|
179
180
|
(g || z) && (r.diff(L).add(function(e) {
|
|
180
|
-
var h = r.get(
|
|
181
|
+
var h = r.get(y, e);
|
|
181
182
|
if (z) {
|
|
182
183
|
var f = P(e, A);
|
|
183
|
-
|
|
184
|
+
et(f, {
|
|
184
185
|
rotation: -((isNaN(+h) ? E[0] : W(h, x, E, !0)) + Math.PI / 2)
|
|
185
186
|
}, t), _.add(f), r.setItemGraphicEl(e, f);
|
|
186
187
|
}
|
|
187
188
|
if (g) {
|
|
188
189
|
var o = C(e, A), n = D.get("clip");
|
|
189
|
-
|
|
190
|
+
et(o, {
|
|
190
191
|
shape: {
|
|
191
192
|
endAngle: W(h, x, E, n)
|
|
192
193
|
}
|
|
193
194
|
}, t), _.add(o), j(t.seriesIndex, r.dataType, e, o), u[e] = o;
|
|
194
195
|
}
|
|
195
196
|
}).update(function(e, h) {
|
|
196
|
-
var f = r.get(
|
|
197
|
+
var f = r.get(y, e);
|
|
197
198
|
if (z) {
|
|
198
199
|
var o = L.getItemGraphicEl(h), n = o ? o.rotation : A, l = P(e, n);
|
|
199
|
-
l.rotation = n,
|
|
200
|
+
l.rotation = n, at(l, {
|
|
200
201
|
rotation: -((isNaN(+f) ? E[0] : W(f, x, E, !0)) + Math.PI / 2)
|
|
201
202
|
}, t), _.add(l), r.setItemGraphicEl(e, l);
|
|
202
203
|
}
|
|
203
204
|
if (g) {
|
|
204
205
|
var i = V[h], v = i ? i.shape.endAngle : A, w = C(e, v), G = D.get("clip");
|
|
205
|
-
|
|
206
|
+
at(w, {
|
|
206
207
|
shape: {
|
|
207
208
|
endAngle: W(f, x, E, G)
|
|
208
209
|
}
|
|
@@ -214,7 +215,7 @@ var Tt = (
|
|
|
214
215
|
var i = r.getItemGraphicEl(e), v = r.getItemVisual(e, "style"), w = v.fill;
|
|
215
216
|
if (i instanceof ut) {
|
|
216
217
|
var G = i.style;
|
|
217
|
-
i.useStyle(
|
|
218
|
+
i.useStyle(dt({
|
|
218
219
|
image: G.image,
|
|
219
220
|
x: G.x,
|
|
220
221
|
y: G.y,
|
|
@@ -223,7 +224,7 @@ var Tt = (
|
|
|
223
224
|
}, v));
|
|
224
225
|
} else
|
|
225
226
|
i.useStyle(v), i.type !== "pointer" && i.setColor(w);
|
|
226
|
-
i.setStyle(h.getModel(["pointer", "itemStyle"]).getItemStyle()), i.style.fill === "auto" && i.setStyle("fill", m(W(r.get(
|
|
227
|
+
i.setStyle(h.getModel(["pointer", "itemStyle"]).getItemStyle()), i.style.fill === "auto" && i.setStyle("fill", m(W(r.get(y, e), x, [0, 1], !0))), i.z2EmphasisLift = 0, Q(i, h), U(i, o, n, l);
|
|
227
228
|
}
|
|
228
229
|
if (g) {
|
|
229
230
|
var T = u[e];
|
|
@@ -231,13 +232,13 @@ var Tt = (
|
|
|
231
232
|
}
|
|
232
233
|
}), this._progressEls = u);
|
|
233
234
|
}, c.prototype._renderAnchor = function(t, b) {
|
|
234
|
-
var
|
|
235
|
+
var p = t.getModel("anchor"), m = p.get("show");
|
|
235
236
|
if (m) {
|
|
236
|
-
var a =
|
|
237
|
-
d.z2 =
|
|
237
|
+
var a = p.get("size"), A = p.get("icon"), s = p.get("offsetCenter"), k = p.get("keepAspect"), d = F(A, b.cx - a / 2 + M(s[0], b.r), b.cy - a / 2 + M(s[1], b.r), a, a, null, k);
|
|
238
|
+
d.z2 = p.get("showAbove") ? 1 : 0, d.setStyle(p.getModel("itemStyle").getItemStyle()), this.group.add(d);
|
|
238
239
|
}
|
|
239
|
-
}, c.prototype._renderTitleAndDetail = function(t, b,
|
|
240
|
-
var A = this, s = t.getData(), k = s.mapDimension("value"), d = +t.get("min"), _ = +t.get("max"), L = new
|
|
240
|
+
}, c.prototype._renderTitleAndDetail = function(t, b, p, m, a) {
|
|
241
|
+
var A = this, s = t.getData(), k = s.mapDimension("value"), d = +t.get("min"), _ = +t.get("max"), L = new rt(), V = [], u = [], z = t.isAnimationEnabled(), D = t.get(["pointer", "showAbove"]);
|
|
241
242
|
s.diff(this._data).add(function(g) {
|
|
242
243
|
V[g] = new q({
|
|
243
244
|
silent: !0
|
|
@@ -247,7 +248,7 @@ var Tt = (
|
|
|
247
248
|
}).update(function(g, r) {
|
|
248
249
|
V[g] = A._titleEls[r], u[g] = A._detailEls[r];
|
|
249
250
|
}).execute(), s.each(function(g) {
|
|
250
|
-
var r = s.getItemModel(g),
|
|
251
|
+
var r = s.getItemModel(g), y = s.get(k, g), S = new rt(), N = m(W(y, [d, _], [0, 1], !0)), x = r.getModel("title");
|
|
251
252
|
if (x.get("show")) {
|
|
252
253
|
var E = x.get("offsetCenter"), P = a.cx + M(E[0], a.r), C = a.cy + M(E[1], a.r), e = V[g];
|
|
253
254
|
e.attr({
|
|
@@ -271,7 +272,7 @@ var Tt = (
|
|
|
271
272
|
style: Y(h, {
|
|
272
273
|
x: o,
|
|
273
274
|
y: n,
|
|
274
|
-
text: B(
|
|
275
|
+
text: B(y, w),
|
|
275
276
|
width: isNaN(l) ? null : l,
|
|
276
277
|
height: isNaN(i) ? null : i,
|
|
277
278
|
align: "center",
|
|
@@ -281,11 +282,11 @@ var Tt = (
|
|
|
281
282
|
})
|
|
282
283
|
}), lt(e, {
|
|
283
284
|
normal: h
|
|
284
|
-
},
|
|
285
|
+
}, y, function(T) {
|
|
285
286
|
return B(T, w);
|
|
286
287
|
}), z && vt(e, g, s, t, {
|
|
287
288
|
getFormattedLabel: function(T, H, X, K, R, Z) {
|
|
288
|
-
return B(Z ? Z.interpolatedValue :
|
|
289
|
+
return B(Z ? Z.interpolatedValue : y, w);
|
|
289
290
|
}
|
|
290
291
|
}), S.add(e);
|
|
291
292
|
}
|
|
@@ -295,5 +296,5 @@ var Tt = (
|
|
|
295
296
|
})(gt)
|
|
296
297
|
);
|
|
297
298
|
export {
|
|
298
|
-
|
|
299
|
+
zt as default
|
|
299
300
|
};
|
|
@@ -4,6 +4,7 @@ import k from "../helper/LineDraw.js";
|
|
|
4
4
|
import C from "../../component/helper/RoamController.js";
|
|
5
5
|
import { updateViewOnPan as z, updateViewOnZoom as N } from "../../component/helper/roamHelper.js";
|
|
6
6
|
import { onIrrelevantElement as V } from "../../component/helper/cursorHelper.js";
|
|
7
|
+
import "../../util/graphic.js";
|
|
7
8
|
import v from "./adjustEdge.js";
|
|
8
9
|
import { getNodeGlobalScale as g } from "./graphHelper.js";
|
|
9
10
|
import X from "../../view/Chart.js";
|
|
@@ -14,7 +15,7 @@ import { updateProps as H } from "../../animation/basicTransition.js";
|
|
|
14
15
|
function x(y) {
|
|
15
16
|
return y.type === "view";
|
|
16
17
|
}
|
|
17
|
-
var
|
|
18
|
+
var ot = (
|
|
18
19
|
/** @class */
|
|
19
20
|
(function(y) {
|
|
20
21
|
R(u, y);
|
|
@@ -63,6 +64,7 @@ var at = (
|
|
|
63
64
|
fixed: !0
|
|
64
65
|
}, !0), j(t, "symbolSize", i, [D.offsetX, D.offsetY]), r.updateLayout(t);
|
|
65
66
|
break;
|
|
67
|
+
case "none":
|
|
66
68
|
default:
|
|
67
69
|
c.setItemLayout(p, [n.x, n.y]), Y(t.getGraph(), t), r.updateLayout(t);
|
|
68
70
|
break;
|
|
@@ -131,5 +133,5 @@ var at = (
|
|
|
131
133
|
})(X)
|
|
132
134
|
);
|
|
133
135
|
export {
|
|
134
|
-
|
|
136
|
+
ot as default
|
|
135
137
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { clone as q, copy as u, sub as
|
|
1
|
+
import { quadraticAt as E, quadraticSubdivide as V } from "../../../../zrender/lib/core/curve.js";
|
|
2
|
+
import { distSquare as $, clone as q, copy as u, sub as j, normalize as k, scaleAndAdd as h } from "../../../../zrender/lib/core/vector.js";
|
|
3
3
|
import { getSymbolSize as y } from "./graphHelper.js";
|
|
4
|
-
var c = [], A = [], g = [], b =
|
|
4
|
+
var c = [], A = [], g = [], b = E, z = $, _ = Math.abs;
|
|
5
5
|
function C(S, m, v) {
|
|
6
6
|
for (var n = S[0], a = S[1], o = S[2], s = 1 / 0, r, p = v * v, i = 0.1, t = 0.1; t <= 0.9; t += 0.1) {
|
|
7
7
|
c[0] = b(n[0], a[0], o[0], t), c[1] = b(n[1], a[1], o[1], t);
|
|
@@ -20,7 +20,7 @@ function C(S, m, v) {
|
|
|
20
20
|
return r;
|
|
21
21
|
}
|
|
22
22
|
function w(S, m) {
|
|
23
|
-
var v = [], n =
|
|
23
|
+
var v = [], n = V, a = [[], [], []], o = [[], []], s = [];
|
|
24
24
|
m /= 2, S.eachEdge(function(r, p) {
|
|
25
25
|
var i = r.getLayout(), t = r.getVisual("fromSymbol"), l = r.getVisual("toSymbol");
|
|
26
26
|
i.__original || (i.__original = [q(i[0]), q(i[1])], i[2] && i.__original.push(q(i[2])));
|
|
@@ -36,7 +36,7 @@ function w(S, m) {
|
|
|
36
36
|
}
|
|
37
37
|
u(i[0], a[0]), u(i[1], a[2]), u(i[2], a[1]);
|
|
38
38
|
} else {
|
|
39
|
-
if (u(o[0], e[0]), u(o[1], e[1]),
|
|
39
|
+
if (u(o[0], e[0]), u(o[1], e[1]), j(s, o[1], o[0]), k(s, s), t && t !== "none") {
|
|
40
40
|
var f = y(r.node1);
|
|
41
41
|
h(o[0], o[0], s, f * m);
|
|
42
42
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var o =
|
|
1
|
+
import { scaleAndAdd as q, create as B, clone as D, sub as s, len as N, normalize as E, set as G, copy as H } from "../../../../zrender/lib/core/vector.js";
|
|
2
|
+
var o = q;
|
|
3
3
|
function J(U, z, d) {
|
|
4
4
|
for (var t = U, l = z, u = d.rect, S = u.width, w = u.height, m = [u.x + S / 2, u.y + w / 2], $ = d.gravity == null ? 0.1 : d.gravity, y = 0; y < t.length; y++) {
|
|
5
5
|
var c = t[y];
|
|
6
|
-
c.p || (c.p =
|
|
6
|
+
c.p || (c.p = B(S * (Math.random() - 0.5) + m[0], w * (Math.random() - 0.5) + m[1])), c.pp = D(c.p), c.edges = null;
|
|
7
7
|
}
|
|
8
8
|
var L = d.friction == null ? 0.6 : d.friction, p = L, A, b;
|
|
9
9
|
return {
|
|
@@ -42,7 +42,7 @@ function J(U, z, d) {
|
|
|
42
42
|
var f = x.n1, e = x.n2;
|
|
43
43
|
s(a, e.p, f.p);
|
|
44
44
|
var n = N(a) - x.d, g = e.w / (f.w + e.w);
|
|
45
|
-
isNaN(g) && (g = 0),
|
|
45
|
+
isNaN(g) && (g = 0), E(a, a), !f.fixed && o(f.p, f.p, a, g * n * p), !e.fixed && o(e.p, e.p, a, -(1 - g) * n * p);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
for (var r = 0; r < h; r++) {
|