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,23 +1,24 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { indexOf as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
1
|
+
import { __extends as bt } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { indexOf as Dt, each as E, curry as Ct, isFunction as lt, extend as _t, bind as q, normalizeCssArray as Mt } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import "../../util/graphic.js";
|
|
4
|
+
import { getECData as dt } from "../../util/innerStore.js";
|
|
5
|
+
import { Z2_EMPHASIS_LIFT as j, isHighDownDispatcher as ht, setAsHighDownDispatcher as X, enableHoverFocus as ft, setDefaultStateProxy as ut } from "../../util/states.js";
|
|
6
|
+
import At from "../../data/DataDiffer.js";
|
|
7
|
+
import { retrieveTargetInfo as Gt, aboveViewRoot as Rt } from "../helper/treeHelper.js";
|
|
8
|
+
import Ht from "./Breadcrumb.js";
|
|
9
|
+
import Et from "../../component/helper/RoamController.js";
|
|
10
|
+
import vt from "../../../../zrender/lib/core/BoundingRect.js";
|
|
11
|
+
import { create as kt, translate as pt, scale as Wt } from "../../../../zrender/lib/core/matrix.js";
|
|
12
|
+
import { createWrap as Nt } from "../../util/animation.js";
|
|
13
|
+
import zt from "../../model/mixin/makeStyleMapper.js";
|
|
14
|
+
import Ot from "../../view/Chart.js";
|
|
15
|
+
import Pt from "../../../../zrender/lib/graphic/Displayable.js";
|
|
16
|
+
import { makeInner as Ft, convertOptionIdName as Bt } from "../../util/model.js";
|
|
17
|
+
import { windowOpen as Vt } from "../../util/format.js";
|
|
18
|
+
import { setLabelStyle as Zt, getLabelStatesModels as Xt } from "../../label/labelStyle.js";
|
|
18
19
|
import J from "../../../../zrender/lib/graphic/Group.js";
|
|
19
|
-
import
|
|
20
|
-
var K = J,
|
|
20
|
+
import Lt from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
21
|
+
var K = J, ct = Lt, gt = 3, mt = "label", yt = "upperLabel", Yt = j * 10, Ut = j * 2, $t = j * 3, F = zt([
|
|
21
22
|
["fill", "color"],
|
|
22
23
|
// `borderColor` and `borderWidth` has been occupied,
|
|
23
24
|
// so use `stroke` to indicate the stroke of the rect.
|
|
@@ -29,40 +30,40 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
29
30
|
["shadowColor"]
|
|
30
31
|
// Option decal is in `DecalObject` but style.decal is in `PatternObject`.
|
|
31
32
|
// So do not transfer decal directly.
|
|
32
|
-
]),
|
|
33
|
+
]), xt = function(C) {
|
|
33
34
|
var l = F(C);
|
|
34
35
|
return l.stroke = l.fill = l.lineWidth = null, l;
|
|
35
|
-
}, L =
|
|
36
|
+
}, L = Ft(), me = (
|
|
36
37
|
/** @class */
|
|
37
38
|
(function(C) {
|
|
38
|
-
|
|
39
|
+
bt(l, C);
|
|
39
40
|
function l() {
|
|
40
|
-
var
|
|
41
|
-
return
|
|
41
|
+
var t = C !== null && C.apply(this, arguments) || this;
|
|
42
|
+
return t.type = l.type, t._state = "ready", t._storage = Z(), t;
|
|
42
43
|
}
|
|
43
|
-
return l.prototype.render = function(
|
|
44
|
-
var r =
|
|
44
|
+
return l.prototype.render = function(t, e, i, o) {
|
|
45
|
+
var r = e.findComponents({
|
|
45
46
|
mainType: "series",
|
|
46
47
|
subType: "treemap",
|
|
47
48
|
query: o
|
|
48
49
|
});
|
|
49
|
-
if (!(
|
|
50
|
-
this.seriesModel =
|
|
51
|
-
var u = ["treemapZoomToNode", "treemapRootToNode"], s =
|
|
50
|
+
if (!(Dt(r, t) < 0)) {
|
|
51
|
+
this.seriesModel = t, this.api = i, this.ecModel = e;
|
|
52
|
+
var u = ["treemapZoomToNode", "treemapRootToNode"], s = Gt(o, u, t), d = o && o.type, n = t.layoutInfo, S = !this._oldTree, m = this._storage, f = d === "treemapRootToNode" && s && m ? {
|
|
52
53
|
rootNodeGroup: m.nodeGroup[s.node.getRawIndex()],
|
|
53
54
|
direction: o.direction
|
|
54
|
-
} : null, T = this._giveContainerGroup(n), v =
|
|
55
|
-
v && !S && (!d || d === "treemapZoomToNode" || d === "treemapRootToNode") ? this._doAnimation(T, h,
|
|
55
|
+
} : null, T = this._giveContainerGroup(n), v = t.get("animation"), h = this._doRender(T, t, f);
|
|
56
|
+
v && !S && (!d || d === "treemapZoomToNode" || d === "treemapRootToNode") ? this._doAnimation(T, h, t, f) : h.renderFinally(), this._resetController(i), this._renderBreadcrumb(t, i, s);
|
|
56
57
|
}
|
|
57
|
-
}, l.prototype._giveContainerGroup = function(
|
|
58
|
-
var
|
|
59
|
-
return
|
|
60
|
-
}, l.prototype._doRender = function(
|
|
61
|
-
var o =
|
|
58
|
+
}, l.prototype._giveContainerGroup = function(t) {
|
|
59
|
+
var e = this._containerGroup;
|
|
60
|
+
return e || (e = this._containerGroup = new K(), this._initEvents(e), this.group.add(e)), e.x = t.x, e.y = t.y, e;
|
|
61
|
+
}, l.prototype._doRender = function(t, e, i) {
|
|
62
|
+
var o = e.getData().tree, r = this._oldTree, u = Z(), s = Z(), d = this._storage, n = [];
|
|
62
63
|
function S(g, _, P, k) {
|
|
63
|
-
return
|
|
64
|
+
return qt(e, s, d, i, u, n, g, _, P, k);
|
|
64
65
|
}
|
|
65
|
-
v(o.root ? [o.root] : [], r && r.root ? [r.root] : [],
|
|
66
|
+
v(o.root ? [o.root] : [], r && r.root ? [r.root] : [], t, o === r || !r, 0);
|
|
66
67
|
var m = h(d);
|
|
67
68
|
if (this._oldTree = o, this._storage = s, this._controllerHost) {
|
|
68
69
|
var f = this.seriesModel.layoutInfo, T = o.root.getLayout();
|
|
@@ -76,7 +77,7 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
76
77
|
function v(g, _, P, k, N) {
|
|
77
78
|
k ? (_ = g, E(g, function(H, O) {
|
|
78
79
|
!H.isRemoved() && z(O, O);
|
|
79
|
-
})) : new
|
|
80
|
+
})) : new At(_, g, R, R).add(z).update(z).remove(Ct(z, null)).execute();
|
|
80
81
|
function R(H) {
|
|
81
82
|
return H.getId();
|
|
82
83
|
}
|
|
@@ -103,9 +104,9 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
103
104
|
g.invisible = !0, g.dirty();
|
|
104
105
|
});
|
|
105
106
|
}
|
|
106
|
-
}, l.prototype._doAnimation = function(
|
|
107
|
-
var r = i.get("animationDurationUpdate"), u = i.get("animationEasing"), s = (
|
|
108
|
-
E(
|
|
107
|
+
}, l.prototype._doAnimation = function(t, e, i, o) {
|
|
108
|
+
var r = i.get("animationDurationUpdate"), u = i.get("animationEasing"), s = (lt(r) ? 0 : r) || 0, d = (lt(u) ? null : u) || "cubicOut", n = Nt();
|
|
109
|
+
E(e.willDeleteEls, function(S, m) {
|
|
109
110
|
E(S, function(f, T) {
|
|
110
111
|
if (!f.invisible) {
|
|
111
112
|
var v = f.parent, h, M = L(v);
|
|
@@ -150,34 +151,34 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
150
151
|
});
|
|
151
152
|
}), E(this._storage, function(S, m) {
|
|
152
153
|
E(S, function(f, T) {
|
|
153
|
-
var v =
|
|
154
|
-
v && (f instanceof J ? v.oldX != null && (h.x = f.x, h.y = f.y, f.x = v.oldX, f.y = v.oldY) : (v.oldShape && (h.shape =
|
|
154
|
+
var v = e.lastsForAnimation[m][T], h = {};
|
|
155
|
+
v && (f instanceof J ? v.oldX != null && (h.x = f.x, h.y = f.y, f.x = v.oldX, f.y = v.oldY) : (v.oldShape && (h.shape = _t({}, f.shape), f.setShape(v.oldShape)), v.fadein ? (f.setStyle("opacity", 0), h.style = {
|
|
155
156
|
opacity: 1
|
|
156
157
|
}) : f.style.opacity !== 1 && (h.style = {
|
|
157
158
|
opacity: 1
|
|
158
159
|
})), n.add(f, h, s, 0, d));
|
|
159
160
|
});
|
|
160
161
|
}, this), this._state = "animating", n.finished(q(function() {
|
|
161
|
-
this._state = "ready",
|
|
162
|
+
this._state = "ready", e.renderFinally();
|
|
162
163
|
}, this)).start();
|
|
163
|
-
}, l.prototype._resetController = function(
|
|
164
|
-
var
|
|
164
|
+
}, l.prototype._resetController = function(t) {
|
|
165
|
+
var e = this._controller, i = this._controllerHost;
|
|
165
166
|
i || (this._controllerHost = {
|
|
166
167
|
target: this.group
|
|
167
|
-
}, i = this._controllerHost),
|
|
168
|
-
var o = new
|
|
169
|
-
|
|
168
|
+
}, i = this._controllerHost), e || (e = this._controller = new Et(t.getZr()), e.enable(this.seriesModel.get("roam")), i.zoomLimit = this.seriesModel.get("scaleLimit"), i.zoom = this.seriesModel.get("zoom"), e.on("pan", q(this._onPan, this)), e.on("zoom", q(this._onZoom, this)));
|
|
169
|
+
var o = new vt(0, 0, t.getWidth(), t.getHeight());
|
|
170
|
+
e.setPointerChecker(function(r, u, s) {
|
|
170
171
|
return o.contain(u, s);
|
|
171
172
|
});
|
|
172
173
|
}, l.prototype._clearController = function() {
|
|
173
|
-
var
|
|
174
|
-
this._controllerHost = null,
|
|
175
|
-
}, l.prototype._onPan = function(
|
|
176
|
-
if (this._state !== "animating" && (Math.abs(
|
|
177
|
-
var
|
|
178
|
-
if (!
|
|
174
|
+
var t = this._controller;
|
|
175
|
+
this._controllerHost = null, t && (t.dispose(), t = null);
|
|
176
|
+
}, l.prototype._onPan = function(t) {
|
|
177
|
+
if (this._state !== "animating" && (Math.abs(t.dx) > gt || Math.abs(t.dy) > gt)) {
|
|
178
|
+
var e = this.seriesModel.getData().tree.root;
|
|
179
|
+
if (!e)
|
|
179
180
|
return;
|
|
180
|
-
var i =
|
|
181
|
+
var i = e.getLayout();
|
|
181
182
|
if (!i)
|
|
182
183
|
return;
|
|
183
184
|
this.api.dispatchAction({
|
|
@@ -185,15 +186,15 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
185
186
|
from: this.uid,
|
|
186
187
|
seriesId: this.seriesModel.id,
|
|
187
188
|
rootRect: {
|
|
188
|
-
x: i.x +
|
|
189
|
-
y: i.y +
|
|
189
|
+
x: i.x + t.dx,
|
|
190
|
+
y: i.y + t.dy,
|
|
190
191
|
width: i.width,
|
|
191
192
|
height: i.height
|
|
192
193
|
}
|
|
193
194
|
});
|
|
194
195
|
}
|
|
195
|
-
}, l.prototype._onZoom = function(
|
|
196
|
-
var
|
|
196
|
+
}, l.prototype._onZoom = function(t) {
|
|
197
|
+
var e = t.originX, i = t.originY, o = t.scale;
|
|
197
198
|
if (this._state !== "animating") {
|
|
198
199
|
var r = this.seriesModel.getData().tree.root;
|
|
199
200
|
if (!r)
|
|
@@ -201,7 +202,7 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
201
202
|
var u = r.getLayout();
|
|
202
203
|
if (!u)
|
|
203
204
|
return;
|
|
204
|
-
var s = new
|
|
205
|
+
var s = new vt(u.x, u.y, u.width, u.height), d = null, n = this._controllerHost;
|
|
205
206
|
d = n.zoomLimit;
|
|
206
207
|
var S = n.zoom = n.zoom || 1;
|
|
207
208
|
if (S *= o, d) {
|
|
@@ -211,9 +212,9 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
211
212
|
var T = S / n.zoom;
|
|
212
213
|
n.zoom = S;
|
|
213
214
|
var v = this.seriesModel.layoutInfo;
|
|
214
|
-
|
|
215
|
-
var h =
|
|
216
|
-
|
|
215
|
+
e -= v.x, i -= v.y;
|
|
216
|
+
var h = kt();
|
|
217
|
+
pt(h, h, [-e, -i]), Wt(h, h, [T, T]), pt(h, h, [e, i]), s.applyTransform(h), this.api.dispatchAction({
|
|
217
218
|
type: "treemapRender",
|
|
218
219
|
from: this.uid,
|
|
219
220
|
seriesId: this.seriesModel.id,
|
|
@@ -225,35 +226,35 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
225
226
|
}
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
|
-
}, l.prototype._initEvents = function(
|
|
229
|
-
var
|
|
230
|
-
|
|
231
|
-
if (
|
|
232
|
-
var o =
|
|
229
|
+
}, l.prototype._initEvents = function(t) {
|
|
230
|
+
var e = this;
|
|
231
|
+
t.on("click", function(i) {
|
|
232
|
+
if (e._state === "ready") {
|
|
233
|
+
var o = e.seriesModel.get("nodeClick", !0);
|
|
233
234
|
if (o) {
|
|
234
|
-
var r =
|
|
235
|
+
var r = e.findTarget(i.offsetX, i.offsetY);
|
|
235
236
|
if (r) {
|
|
236
237
|
var u = r.node;
|
|
237
238
|
if (u.getLayout().isLeafRoot)
|
|
238
|
-
|
|
239
|
+
e._rootToNode(r);
|
|
239
240
|
else if (o === "zoomToNode")
|
|
240
|
-
|
|
241
|
+
e._zoomToNode(r);
|
|
241
242
|
else if (o === "link") {
|
|
242
243
|
var s = u.hostTree.data.getItemModel(u.dataIndex), d = s.get("link", !0), n = s.get("target", !0) || "blank";
|
|
243
|
-
d &&
|
|
244
|
+
d && Vt(d, n);
|
|
244
245
|
}
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
}
|
|
248
249
|
}, this);
|
|
249
|
-
}, l.prototype._renderBreadcrumb = function(
|
|
250
|
+
}, l.prototype._renderBreadcrumb = function(t, e, i) {
|
|
250
251
|
var o = this;
|
|
251
|
-
i || (i =
|
|
252
|
-
node:
|
|
253
|
-
} : this.findTarget(
|
|
254
|
-
node:
|
|
255
|
-
})), (this._breadcrumb || (this._breadcrumb = new
|
|
256
|
-
o._state !== "animating" && (
|
|
252
|
+
i || (i = t.get("leafDepth", !0) != null ? {
|
|
253
|
+
node: t.getViewRoot()
|
|
254
|
+
} : this.findTarget(e.getWidth() / 2, e.getHeight() / 2), i || (i = {
|
|
255
|
+
node: t.getData().tree.root
|
|
256
|
+
})), (this._breadcrumb || (this._breadcrumb = new Ht(this.group))).render(t, e, i.node, function(r) {
|
|
257
|
+
o._state !== "animating" && (Rt(t.getViewRoot(), r) ? o._rootToNode({
|
|
257
258
|
node: r
|
|
258
259
|
}) : o._zoomToNode({
|
|
259
260
|
node: r
|
|
@@ -263,21 +264,21 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
263
264
|
this._clearController(), this._containerGroup && this._containerGroup.removeAll(), this._storage = Z(), this._state = "ready", this._breadcrumb && this._breadcrumb.remove();
|
|
264
265
|
}, l.prototype.dispose = function() {
|
|
265
266
|
this._clearController();
|
|
266
|
-
}, l.prototype._zoomToNode = function(
|
|
267
|
+
}, l.prototype._zoomToNode = function(t) {
|
|
267
268
|
this.api.dispatchAction({
|
|
268
269
|
type: "treemapZoomToNode",
|
|
269
270
|
from: this.uid,
|
|
270
271
|
seriesId: this.seriesModel.id,
|
|
271
|
-
targetNode:
|
|
272
|
+
targetNode: t.node
|
|
272
273
|
});
|
|
273
|
-
}, l.prototype._rootToNode = function(
|
|
274
|
+
}, l.prototype._rootToNode = function(t) {
|
|
274
275
|
this.api.dispatchAction({
|
|
275
276
|
type: "treemapRootToNode",
|
|
276
277
|
from: this.uid,
|
|
277
278
|
seriesId: this.seriesModel.id,
|
|
278
|
-
targetNode:
|
|
279
|
+
targetNode: t.node
|
|
279
280
|
});
|
|
280
|
-
}, l.prototype.findTarget = function(
|
|
281
|
+
}, l.prototype.findTarget = function(t, e) {
|
|
281
282
|
var i, o = this.seriesModel.getViewRoot();
|
|
282
283
|
return o.eachNode({
|
|
283
284
|
attr: "viewChildren",
|
|
@@ -285,7 +286,7 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
285
286
|
}, function(r) {
|
|
286
287
|
var u = this._storage.background[r.getRawIndex()];
|
|
287
288
|
if (u) {
|
|
288
|
-
var s = u.transformCoordToLocal(
|
|
289
|
+
var s = u.transformCoordToLocal(t, e), d = u.shape;
|
|
289
290
|
if (d.x <= s[0] && s[0] <= d.x + d.width && d.y <= s[1] && s[1] <= d.y + d.height)
|
|
290
291
|
i = {
|
|
291
292
|
node: r,
|
|
@@ -297,7 +298,7 @@ var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j
|
|
|
297
298
|
}
|
|
298
299
|
}, this), i;
|
|
299
300
|
}, l.type = "treemap", l;
|
|
300
|
-
})(
|
|
301
|
+
})(Ot)
|
|
301
302
|
);
|
|
302
303
|
function Z() {
|
|
303
304
|
return {
|
|
@@ -306,7 +307,7 @@ function Z() {
|
|
|
306
307
|
content: []
|
|
307
308
|
};
|
|
308
309
|
}
|
|
309
|
-
function
|
|
310
|
+
function qt(C, l, t, e, i, o, r, u, s, d) {
|
|
310
311
|
if (!r)
|
|
311
312
|
return;
|
|
312
313
|
var n = r.getLayout(), S = C.getData(), m = r.getModel();
|
|
@@ -317,20 +318,20 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
317
318
|
return;
|
|
318
319
|
if (s.add(y), y.x = n.x || 0, y.y = n.y || 0, y.markRedraw(), L(y).nodeWidth = f, L(y).nodeHeight = T, n.isAboveViewRoot)
|
|
319
320
|
return y;
|
|
320
|
-
var b = $("background",
|
|
321
|
-
b &&
|
|
322
|
-
var B = m.getModel("emphasis"), Y = B.get("focus"), Q = B.get("blurScope"),
|
|
321
|
+
var b = $("background", ct, d, Ut);
|
|
322
|
+
b && wt(y, b, k && n.upperLabelHeight);
|
|
323
|
+
var B = m.getModel("emphasis"), Y = B.get("focus"), Q = B.get("blurScope"), tt = B.get("disabled"), et = Y === "ancestor" ? r.getAncestorsIndices() : Y === "descendant" ? r.getDescendantIndices() : Y;
|
|
323
324
|
if (k)
|
|
324
|
-
|
|
325
|
+
ht(y) && X(y, !1), b && (X(b, !tt), S.setItemGraphicEl(r.dataIndex, b), ft(b, et, Q));
|
|
325
326
|
else {
|
|
326
|
-
var U = $("content",
|
|
327
|
-
U &&
|
|
328
|
-
var
|
|
329
|
-
|
|
327
|
+
var U = $("content", ct, d, $t);
|
|
328
|
+
U && It(y, U), b.disableMorphing = !0, b && ht(b) && X(b, !1), X(y, !tt), S.setItemGraphicEl(r.dataIndex, y);
|
|
329
|
+
var rt = m.getShallow("cursor");
|
|
330
|
+
rt && U.attr("cursor", rt), ft(y, et, Q);
|
|
330
331
|
}
|
|
331
332
|
return y;
|
|
332
|
-
function
|
|
333
|
-
var c =
|
|
333
|
+
function wt(p, a, w) {
|
|
334
|
+
var c = dt(a);
|
|
334
335
|
if (c.dataIndex = r.dataIndex, c.seriesIndex = C.seriesIndex, a.setShape({
|
|
335
336
|
x: 0,
|
|
336
337
|
y: 0,
|
|
@@ -338,10 +339,10 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
338
339
|
height: T,
|
|
339
340
|
r: O
|
|
340
341
|
}), h)
|
|
341
|
-
|
|
342
|
+
it(a);
|
|
342
343
|
else {
|
|
343
344
|
a.invisible = !1;
|
|
344
|
-
var x = r.getVisual("style"), D = x.stroke, A =
|
|
345
|
+
var x = r.getVisual("style"), D = x.stroke, A = xt(N);
|
|
345
346
|
A.fill = D;
|
|
346
347
|
var I = F(R);
|
|
347
348
|
I.fill = R.get("borderColor");
|
|
@@ -350,7 +351,7 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
350
351
|
var W = F(H);
|
|
351
352
|
if (W.fill = H.get("borderColor"), w) {
|
|
352
353
|
var V = f - 2 * v;
|
|
353
|
-
|
|
354
|
+
at(
|
|
354
355
|
// PENDING: convert ZRColor to ColorString for text.
|
|
355
356
|
a,
|
|
356
357
|
D,
|
|
@@ -364,12 +365,12 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
364
365
|
);
|
|
365
366
|
} else
|
|
366
367
|
a.removeTextContent();
|
|
367
|
-
a.setStyle(A), a.ensureState("emphasis").style = I, a.ensureState("blur").style = G, a.ensureState("select").style = W,
|
|
368
|
+
a.setStyle(A), a.ensureState("emphasis").style = I, a.ensureState("blur").style = G, a.ensureState("select").style = W, ut(a);
|
|
368
369
|
}
|
|
369
370
|
p.add(a);
|
|
370
371
|
}
|
|
371
|
-
function
|
|
372
|
-
var w =
|
|
372
|
+
function It(p, a) {
|
|
373
|
+
var w = dt(a);
|
|
373
374
|
w.dataIndex = r.dataIndex, w.seriesIndex = C.seriesIndex;
|
|
374
375
|
var c = Math.max(f - 2 * v, 0), x = Math.max(T - 2 * v, 0);
|
|
375
376
|
if (a.culling = !0, a.setShape({
|
|
@@ -379,22 +380,22 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
379
380
|
height: x,
|
|
380
381
|
r: O
|
|
381
382
|
}), h)
|
|
382
|
-
|
|
383
|
+
it(a);
|
|
383
384
|
else {
|
|
384
385
|
a.invisible = !1;
|
|
385
|
-
var D = r.getVisual("style"), A = D.fill, I =
|
|
386
|
+
var D = r.getVisual("style"), A = D.fill, I = xt(N);
|
|
386
387
|
I.fill = A, I.decal = D.decal;
|
|
387
388
|
var G = F(R), W = F(z), V = F(H);
|
|
388
|
-
|
|
389
|
+
at(a, A, D.opacity, null), a.setStyle(I), a.ensureState("emphasis").style = G, a.ensureState("blur").style = W, a.ensureState("select").style = V, ut(a);
|
|
389
390
|
}
|
|
390
391
|
p.add(a);
|
|
391
392
|
}
|
|
392
|
-
function
|
|
393
|
+
function it(p) {
|
|
393
394
|
!p.invisible && o.push(p);
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
-
var x = m.getModel(c ?
|
|
397
|
-
|
|
396
|
+
function at(p, a, w, c) {
|
|
397
|
+
var x = m.getModel(c ? yt : mt), D = Bt(m.get("name"), null), A = x.getShallow("show");
|
|
398
|
+
Zt(p, Xt(m, c ? yt : mt), {
|
|
398
399
|
defaultText: A ? D : null,
|
|
399
400
|
inheritColor: a,
|
|
400
401
|
defaultOpacity: w,
|
|
@@ -403,21 +404,21 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
403
404
|
});
|
|
404
405
|
var I = p.getTextContent();
|
|
405
406
|
if (I) {
|
|
406
|
-
var G = I.style, W =
|
|
407
|
+
var G = I.style, W = Mt(G.padding || 0);
|
|
407
408
|
c && (p.setTextConfig({
|
|
408
409
|
layoutRect: c
|
|
409
410
|
}), I.disableLabelLayout = !0), I.beforeUpdate = function() {
|
|
410
|
-
var
|
|
411
|
-
(G.width !==
|
|
412
|
-
width:
|
|
413
|
-
height:
|
|
411
|
+
var nt = Math.max((c ? c.width : p.shape.width) - W[1] - W[3], 0), st = Math.max((c ? c.height : p.shape.height) - W[0] - W[2], 0);
|
|
412
|
+
(G.width !== nt || G.height !== st) && I.setStyle({
|
|
413
|
+
width: nt,
|
|
414
|
+
height: st
|
|
414
415
|
});
|
|
415
|
-
}, G.truncateMinChar = 2, G.lineOverflow = "truncate",
|
|
416
|
+
}, G.truncateMinChar = 2, G.lineOverflow = "truncate", ot(G, c, n);
|
|
416
417
|
var V = I.getState("emphasis");
|
|
417
|
-
|
|
418
|
+
ot(V ? V.style : null, c, n);
|
|
418
419
|
}
|
|
419
420
|
}
|
|
420
|
-
function
|
|
421
|
+
function ot(p, a, w) {
|
|
421
422
|
var c = p ? p.text : null;
|
|
422
423
|
if (!a && w.isLeafRoot && c != null) {
|
|
423
424
|
var x = C.get("drillDownIcon", !0);
|
|
@@ -425,18 +426,18 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
425
426
|
}
|
|
426
427
|
}
|
|
427
428
|
function $(p, a, w, c) {
|
|
428
|
-
var x = g != null &&
|
|
429
|
-
return x ? (
|
|
429
|
+
var x = g != null && t[p][g], D = i[p];
|
|
430
|
+
return x ? (t[p][g] = null, St(D, x)) : h || (x = new a(), x instanceof Pt && (x.z2 = Kt(w, c)), Tt(D, x)), l[p][M] = x;
|
|
430
431
|
}
|
|
431
|
-
function
|
|
432
|
+
function St(p, a) {
|
|
432
433
|
var w = p[M] = {};
|
|
433
|
-
a instanceof K ? (w.oldX = a.x, w.oldY = a.y) : w.oldShape =
|
|
434
|
+
a instanceof K ? (w.oldX = a.x, w.oldY = a.y) : w.oldShape = _t({}, a.shape);
|
|
434
435
|
}
|
|
435
|
-
function
|
|
436
|
+
function Tt(p, a) {
|
|
436
437
|
var w = p[M] = {}, c = r.parentNode, x = a instanceof J;
|
|
437
|
-
if (c && (!
|
|
438
|
+
if (c && (!e || e.direction === "drillDown")) {
|
|
438
439
|
var D = 0, A = 0, I = i.background[c.getRawIndex()];
|
|
439
|
-
!
|
|
440
|
+
!e && I && I.oldShape && (D = I.oldShape.width, A = I.oldShape.height), x ? (w.oldX = 0, w.oldY = A) : w.oldShape = {
|
|
440
441
|
x: D,
|
|
441
442
|
y: A,
|
|
442
443
|
width: 0,
|
|
@@ -446,9 +447,9 @@ function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
|
446
447
|
w.fadein = !x;
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
|
-
function
|
|
450
|
-
return C *
|
|
450
|
+
function Kt(C, l) {
|
|
451
|
+
return C * Yt + l;
|
|
451
452
|
}
|
|
452
453
|
export {
|
|
453
|
-
|
|
454
|
+
me as default
|
|
454
455
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defaults as B, retrieve as D, map as et, extend as at, isString as W, each as E, isObject as
|
|
1
|
+
import { defaults as B, retrieve as D, map as et, extend as at, isString as W, isNumber as rt, each as E, isObject as nt, retrieve2 as C, isFunction as it } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
import { setTooltipConfig as j, subPixelOptimizeLine as z } from "../../util/graphic.js";
|
|
3
3
|
import { getECData as Z } from "../../util/innerStore.js";
|
|
4
4
|
import { createTextStyle as q } from "../../label/labelStyle.js";
|
|
@@ -81,7 +81,7 @@ var A = Math.PI, w = (
|
|
|
81
81
|
var g = t.get(["axisLine", "symbol"]);
|
|
82
82
|
if (g != null) {
|
|
83
83
|
var c = t.get(["axisLine", "symbolSize"]);
|
|
84
|
-
W(g) && (g = [g, g]), (W(c) ||
|
|
84
|
+
W(g) && (g = [g, g]), (W(c) || rt(c)) && (c = [c, c]);
|
|
85
85
|
var d = ot(t.get(["axisLine", "symbolOffset"]) || 0, c), y = c[0], L = c[1];
|
|
86
86
|
E([{
|
|
87
87
|
rotate: a.rotation + Math.PI / 2,
|
|
@@ -245,7 +245,7 @@ function dt(a, t, e, i) {
|
|
|
245
245
|
var p = r.scale.type === "ordinal" ? r.scale.getRawOrdinalNumber(y.tickValue) : y.tickValue, T = y.formattedLabel, h = y.rawLabel, m = n;
|
|
246
246
|
if (u && u[p]) {
|
|
247
247
|
var S = u[p];
|
|
248
|
-
|
|
248
|
+
nt(S) && S.textStyle && (m = new lt(S.textStyle, n, e.ecModel));
|
|
249
249
|
}
|
|
250
250
|
var V = m.getTextColor() || e.get(["axisLine", "lineStyle", "color"]), X = r.dataToCoord(p), N = m.getShallow("align", !0) || v.textAlign, Y = C(m.getShallow("alignMinLabel", !0), N), $ = C(m.getShallow("alignMaxLabel", !0), N), M = m.getShallow("verticalAlign", !0) || m.getShallow("baseline", !0) || v.textVerticalAlign, H = C(m.getShallow("verticalAlignMinLabel", !0), M), tt = C(m.getShallow("verticalAlignMaxLabel", !0), M), b = new K({
|
|
251
251
|
x: X,
|
|
@@ -257,7 +257,7 @@ function dt(a, t, e, i) {
|
|
|
257
257
|
text: T,
|
|
258
258
|
align: L === 0 ? Y : L === s.length - 1 ? $ : N,
|
|
259
259
|
verticalAlign: L === 0 ? H : L === s.length - 1 ? tt : M,
|
|
260
|
-
fill:
|
|
260
|
+
fill: it(V) ? V(
|
|
261
261
|
// (1) In category axis with data zoom, tick is not the original
|
|
262
262
|
// index of axis.data. So tick should not be exposed to user
|
|
263
263
|
// in category axis.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends as p } from "../../../../tslib/tslib.es6.js";
|
|
2
|
-
import { fixValue as
|
|
2
|
+
import { fixValue as x, getAxisPointerModel as l } from "../axisPointer/modelHelper.js";
|
|
3
3
|
import d from "../../view/Component.js";
|
|
4
4
|
var a = {}, h = (
|
|
5
5
|
/** @class */
|
|
@@ -10,7 +10,7 @@ var a = {}, h = (
|
|
|
10
10
|
return t.type = i.type, t;
|
|
11
11
|
}
|
|
12
12
|
return i.prototype.render = function(t, e, o, r) {
|
|
13
|
-
this.axisPointerClass &&
|
|
13
|
+
this.axisPointerClass && x(t), s.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(t, o, !0);
|
|
14
14
|
}, i.prototype.updateAxisPointer = function(t, e, o, r) {
|
|
15
15
|
this._doUpdateAxisPointerClass(t, o, !1);
|
|
16
16
|
}, i.prototype.remove = function(t, e) {
|
|
@@ -21,7 +21,7 @@ var a = {}, h = (
|
|
|
21
21
|
}, i.prototype._doUpdateAxisPointerClass = function(t, e, o) {
|
|
22
22
|
var r = i.getAxisPointerClass(this.axisPointerClass);
|
|
23
23
|
if (r) {
|
|
24
|
-
var n =
|
|
24
|
+
var n = l(t);
|
|
25
25
|
n ? (this._axisPointer || (this._axisPointer = new r())).render(t, n, e, o) : this._disposeAxisPointer(e);
|
|
26
26
|
}
|
|
27
27
|
}, i.prototype._disposeAxisPointer = function(t) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { createHashMap as b, isArray as B, defaults as H } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import "../../util/graphic.js";
|
|
2
3
|
import { makeInner as G } from "../../util/model.js";
|
|
3
4
|
import x from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
4
5
|
var u = G();
|
|
5
|
-
function
|
|
6
|
+
function _(s, h, A, k) {
|
|
6
7
|
var o = A.axis;
|
|
7
8
|
if (!o.scale.isBlank()) {
|
|
8
9
|
var C = A.getModel("splitArea"), g = C.getModel("areaStyle"), a = g.get("color"), n = k.coordinateSystem.getRect(), e = o.getTicksCoords({
|
|
@@ -22,16 +23,16 @@ function T(s, h, A, k) {
|
|
|
22
23
|
var v = o.toGlobalCoord(e[0].coord), R = g.getAreaStyle();
|
|
23
24
|
a = B(a) ? a : [a];
|
|
24
25
|
for (var r = 1; r < e.length; r++) {
|
|
25
|
-
var M = o.toGlobalCoord(e[r].coord), t = void 0, i = void 0, d = void 0,
|
|
26
|
-
o.isHorizontal() ? (t = v, i = n.y, d = M - t,
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
anid:
|
|
26
|
+
var M = o.toGlobalCoord(e[r].coord), t = void 0, i = void 0, d = void 0, p = void 0;
|
|
27
|
+
o.isHorizontal() ? (t = v, i = n.y, d = M - t, p = n.height, v = t + d) : (t = n.x, i = v, d = n.width, p = M - i, v = i + p);
|
|
28
|
+
var c = e[r - 1].tickValue;
|
|
29
|
+
c != null && S.set(c, l), h.add(new x({
|
|
30
|
+
anid: c != null ? "area_" + c : null,
|
|
30
31
|
shape: {
|
|
31
32
|
x: t,
|
|
32
33
|
y: i,
|
|
33
34
|
width: d,
|
|
34
|
-
height:
|
|
35
|
+
height: p
|
|
35
36
|
},
|
|
36
37
|
style: H({
|
|
37
38
|
fill: a[l]
|
|
@@ -44,10 +45,10 @@ function T(s, h, A, k) {
|
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
+
function j(s) {
|
|
48
49
|
u(s).splitAreaColors = null;
|
|
49
50
|
}
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
_ as rectCoordAxisBuildSplitArea,
|
|
53
|
+
j as rectCoordAxisHandleRemove
|
|
53
54
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { clone as E, bind as x, curry as H, isArray as P, isObject as v, each as w } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
import * as z from "../../util/graphic.js";
|
|
3
3
|
import { createIcon as S } from "../../util/graphic.js";
|
|
4
4
|
import { getAxisInfo as T } from "./modelHelper.js";
|
|
@@ -8,7 +8,7 @@ import { makeInner as L } from "../../util/model.js";
|
|
|
8
8
|
import V from "../../../../zrender/lib/graphic/Group.js";
|
|
9
9
|
import C from "../../../../zrender/lib/graphic/Text.js";
|
|
10
10
|
import { updateProps as K } from "../../animation/basicTransition.js";
|
|
11
|
-
var u = L(), _ =
|
|
11
|
+
var u = L(), _ = E, p = x, Y = (
|
|
12
12
|
/** @class */
|
|
13
13
|
(function() {
|
|
14
14
|
function r() {
|
|
@@ -32,7 +32,7 @@ var u = L(), _ = x, p = H, Y = (
|
|
|
32
32
|
if (!n)
|
|
33
33
|
n = this._group = new V(), this.createPointerEl(n, h, e, t), this.createLabelEl(n, h, e, t), a.getZr().add(n);
|
|
34
34
|
else {
|
|
35
|
-
var c =
|
|
35
|
+
var c = H(g, t, A);
|
|
36
36
|
this.updatePointerEl(n, h, c), this.updateLabelEl(n, h, c, t);
|
|
37
37
|
}
|
|
38
38
|
y(n, t, !0), this._renderHandle(o);
|
|
@@ -2,7 +2,7 @@ import { __extends as u } from "../../../../tslib/tslib.es6.js";
|
|
|
2
2
|
import A from "./BaseAxisPointer.js";
|
|
3
3
|
import { applyTransform as P } from "../../util/graphic.js";
|
|
4
4
|
import { buildElStyle as b, buildLabelElOption as T, makeSectorShape as f, makeLineShape as S } from "./viewHelper.js";
|
|
5
|
-
import {
|
|
5
|
+
import { create as E, rotate as I, translate as L } from "../../../../zrender/lib/core/matrix.js";
|
|
6
6
|
import B from "../axis/AxisBuilder.js";
|
|
7
7
|
var q = (
|
|
8
8
|
/** @class */
|
|
@@ -29,8 +29,8 @@ function k(n, t, a, e, i) {
|
|
|
29
29
|
o = o / 180 * Math.PI;
|
|
30
30
|
var c = e.getRadiusAxis().getExtent(), s, h, m;
|
|
31
31
|
if (r.dim === "radius") {
|
|
32
|
-
var v =
|
|
33
|
-
|
|
32
|
+
var v = E();
|
|
33
|
+
I(v, v, o), L(v, v, [e.cx, e.cy]), s = P([d, -i], v);
|
|
34
34
|
var y = t.getModel("axisLabel").get("rotate") || 0, g = B.innerTextLayout(o, y * Math.PI / 180, -1);
|
|
35
35
|
h = g.textAlign, m = g.textVerticalAlign;
|
|
36
36
|
} else {
|