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,149 +1,150 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import B from "../../../zrender/lib/graphic/Text.js";
|
|
2
|
+
import { isFunction as x, retrieve2 as w, extend as _, keys as X, trim as Y } from "../../../zrender/lib/core/util.js";
|
|
3
|
+
import { SPECIAL_STATES as T, DISPLAY_STATES as I } from "../util/states.js";
|
|
4
|
+
import "../util/log.js";
|
|
4
5
|
import { makeInner as z, interpolateRawValues as H } from "../util/model.js";
|
|
5
6
|
import "../util/graphic.js";
|
|
6
7
|
import { initProps as G, updateProps as J } from "../animation/basicTransition.js";
|
|
7
|
-
var
|
|
8
|
-
function W(r,
|
|
9
|
-
for (var a = 0; a <
|
|
10
|
-
var
|
|
11
|
-
|
|
8
|
+
var p = {};
|
|
9
|
+
function W(r, e) {
|
|
10
|
+
for (var a = 0; a < T.length; a++) {
|
|
11
|
+
var n = T[a], o = e[n], i = r.ensureState(n);
|
|
12
|
+
i.style = i.style || {}, i.style.text = o;
|
|
12
13
|
}
|
|
13
|
-
var
|
|
14
|
+
var t = r.currentStates.slice();
|
|
14
15
|
r.clearStates(!0), r.setStyle({
|
|
15
|
-
text:
|
|
16
|
-
}), r.useStates(
|
|
16
|
+
text: e.normal
|
|
17
|
+
}), r.useStates(t, !0);
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
19
|
+
function L(r, e, a) {
|
|
20
|
+
var n = r.labelFetcher, o = r.labelDataIndex, i = r.labelDimIndex, t = e.normal, f;
|
|
21
|
+
n && (f = n.getFormattedLabel(o, "normal", null, i, t && t.get("formatter"), a != null ? {
|
|
21
22
|
interpolatedValue: a
|
|
22
|
-
} : null)), f == null && (f =
|
|
23
|
+
} : null)), f == null && (f = x(r.defaultText) ? r.defaultText(o, r, a) : r.defaultText);
|
|
23
24
|
for (var l = {
|
|
24
25
|
normal: f
|
|
25
|
-
}, v = 0; v <
|
|
26
|
-
var
|
|
27
|
-
l[
|
|
26
|
+
}, v = 0; v < T.length; v++) {
|
|
27
|
+
var u = T[v], h = e[u];
|
|
28
|
+
l[u] = w(n ? n.getFormattedLabel(o, u, null, i, h && h.get("formatter")) : null, f);
|
|
28
29
|
}
|
|
29
30
|
return l;
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
-
a = a ||
|
|
33
|
-
for (var
|
|
34
|
-
var f =
|
|
32
|
+
function M(r, e, a, n) {
|
|
33
|
+
a = a || p;
|
|
34
|
+
for (var o = r instanceof B, i = !1, t = 0; t < I.length; t++) {
|
|
35
|
+
var f = e[I[t]];
|
|
35
36
|
if (f && f.getShallow("show")) {
|
|
36
|
-
|
|
37
|
+
i = !0;
|
|
37
38
|
break;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
|
-
var l =
|
|
41
|
-
if (
|
|
42
|
-
|
|
43
|
-
var v =
|
|
44
|
-
g.text = v.normal,
|
|
45
|
-
for (var
|
|
46
|
-
var
|
|
41
|
+
var l = o ? r : r.getTextContent();
|
|
42
|
+
if (i) {
|
|
43
|
+
o || (l || (l = new B(), r.setTextContent(l)), r.stateProxy && (l.stateProxy = r.stateProxy));
|
|
44
|
+
var v = L(a, e), u = e.normal, h = !!u.getShallow("show"), g = k(u, n && n.normal, a, !1, !o);
|
|
45
|
+
g.text = v.normal, o || r.setTextConfig(D(u, a, !1));
|
|
46
|
+
for (var t = 0; t < T.length; t++) {
|
|
47
|
+
var C = T[t], f = e[C];
|
|
47
48
|
if (f) {
|
|
48
|
-
var m = l.ensureState(
|
|
49
|
-
if (s !== h && (m.ignore = !s), m.style =
|
|
50
|
-
var c = r.ensureState(
|
|
51
|
-
c.textConfig =
|
|
49
|
+
var m = l.ensureState(C), s = !!w(f.getShallow("show"), h);
|
|
50
|
+
if (s !== h && (m.ignore = !s), m.style = k(f, n && n[C], a, !0, !o), m.style.text = v[C], !o) {
|
|
51
|
+
var c = r.ensureState(C);
|
|
52
|
+
c.textConfig = D(f, a, !0);
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
l.silent = !!
|
|
56
|
-
var b =
|
|
56
|
+
l.silent = !!u.getShallow("silent"), l.style.x != null && (g.x = l.style.x), l.style.y != null && (g.y = l.style.y), l.ignore = !h, l.useStyle(g), l.dirty(), a.enableTextSetter && (O(l).setLabelText = function(d) {
|
|
57
|
+
var b = L(a, e, d);
|
|
57
58
|
W(l, b);
|
|
58
59
|
});
|
|
59
60
|
} else l && (l.ignore = !0);
|
|
60
61
|
r.dirty();
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
-
|
|
63
|
+
function N(r, e) {
|
|
64
|
+
e = e || "label";
|
|
64
65
|
for (var a = {
|
|
65
|
-
normal: r.getModel(
|
|
66
|
-
},
|
|
67
|
-
var
|
|
68
|
-
a[
|
|
66
|
+
normal: r.getModel(e)
|
|
67
|
+
}, n = 0; n < T.length; n++) {
|
|
68
|
+
var o = T[n];
|
|
69
|
+
a[o] = r.getModel([o, e]);
|
|
69
70
|
}
|
|
70
71
|
return a;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
-
var
|
|
74
|
-
return Z(
|
|
73
|
+
function k(r, e, a, n, o) {
|
|
74
|
+
var i = {};
|
|
75
|
+
return Z(i, r, a, n, o), e && _(i, e), i;
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
-
var
|
|
79
|
-
return
|
|
77
|
+
function D(r, e, a) {
|
|
78
|
+
e = e || {};
|
|
79
|
+
var n = {}, o, i = r.getShallow("rotate"), t = w(r.getShallow("distance"), a ? null : 5), f = r.getShallow("offset");
|
|
80
|
+
return o = r.getShallow("position") || (a ? null : "inside"), o === "outside" && (o = e.defaultOutsidePosition || "top"), o != null && (n.position = o), f != null && (n.offset = f), i != null && (i *= Math.PI / 180, n.rotation = i), t != null && (n.distance = t), n.outsideFill = r.get("color") === "inherit" ? e.inheritColor || null : "auto", n;
|
|
80
81
|
}
|
|
81
|
-
function Z(r,
|
|
82
|
-
a = a ||
|
|
83
|
-
var
|
|
82
|
+
function Z(r, e, a, n, o) {
|
|
83
|
+
a = a || p;
|
|
84
|
+
var i = e.ecModel, t = i && i.option.textStyle, f = j(e), l;
|
|
84
85
|
if (f) {
|
|
85
86
|
l = {};
|
|
86
87
|
for (var v in f)
|
|
87
88
|
if (f.hasOwnProperty(v)) {
|
|
88
|
-
var
|
|
89
|
-
V(l[v] = {},
|
|
89
|
+
var u = e.getModel(["rich", v]);
|
|
90
|
+
V(l[v] = {}, u, t, a, n, o, !1, !0);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
l && (r.rich = l);
|
|
93
|
-
var h =
|
|
94
|
+
var h = e.get("overflow");
|
|
94
95
|
h && (r.overflow = h);
|
|
95
|
-
var g =
|
|
96
|
-
g != null && (r.margin = g), V(r,
|
|
96
|
+
var g = e.get("minMargin");
|
|
97
|
+
g != null && (r.margin = g), V(r, e, t, a, n, o, !0, !1);
|
|
97
98
|
}
|
|
98
99
|
function j(r) {
|
|
99
|
-
for (var
|
|
100
|
-
var a = (r.option ||
|
|
100
|
+
for (var e; r && r !== r.ecModel; ) {
|
|
101
|
+
var a = (r.option || p).rich;
|
|
101
102
|
if (a) {
|
|
102
|
-
|
|
103
|
-
for (var
|
|
104
|
-
var
|
|
105
|
-
|
|
103
|
+
e = e || {};
|
|
104
|
+
for (var n = X(a), o = 0; o < n.length; o++) {
|
|
105
|
+
var i = n[o];
|
|
106
|
+
e[i] = 1;
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
r = r.parentModel;
|
|
109
110
|
}
|
|
110
|
-
return
|
|
111
|
+
return e;
|
|
111
112
|
}
|
|
112
|
-
var
|
|
113
|
-
function V(r,
|
|
114
|
-
a = !
|
|
115
|
-
var l =
|
|
116
|
-
(v === "inherit" || v === "auto") && (l ? v = l : v = null), (
|
|
117
|
-
var g = w(
|
|
113
|
+
var R = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "textShadowColor", "textShadowBlur", "textShadowOffsetX", "textShadowOffsetY"], A = ["align", "lineHeight", "width", "height", "tag", "verticalAlign", "ellipsis"], F = ["padding", "borderWidth", "borderRadius", "borderDashOffset", "backgroundColor", "borderColor", "shadowColor", "shadowBlur", "shadowOffsetX", "shadowOffsetY"];
|
|
114
|
+
function V(r, e, a, n, o, i, t, f) {
|
|
115
|
+
a = !o && a || p;
|
|
116
|
+
var l = n && n.inheritColor, v = e.getShallow("color"), u = e.getShallow("textBorderColor"), h = w(e.getShallow("opacity"), a.opacity);
|
|
117
|
+
(v === "inherit" || v === "auto") && (l ? v = l : v = null), (u === "inherit" || u === "auto") && (l ? u = l : u = null), i || (v = v || a.color, u = u || a.textBorderColor), v != null && (r.fill = v), u != null && (r.stroke = u);
|
|
118
|
+
var g = w(e.getShallow("textBorderWidth"), a.textBorderWidth);
|
|
118
119
|
g != null && (r.lineWidth = g);
|
|
119
|
-
var
|
|
120
|
-
|
|
121
|
-
var m = w(
|
|
122
|
-
m != null && (r.lineDashOffset = m), !
|
|
123
|
-
for (var s = 0; s <
|
|
124
|
-
var c =
|
|
120
|
+
var C = w(e.getShallow("textBorderType"), a.textBorderType);
|
|
121
|
+
C != null && (r.lineDash = C);
|
|
122
|
+
var m = w(e.getShallow("textBorderDashOffset"), a.textBorderDashOffset);
|
|
123
|
+
m != null && (r.lineDashOffset = m), !o && h == null && !f && (h = n && n.defaultOpacity), h != null && (r.opacity = h), !o && !i && r.fill == null && n.inheritColor && (r.fill = n.inheritColor);
|
|
124
|
+
for (var s = 0; s < R.length; s++) {
|
|
125
|
+
var c = R[s], d = w(e.getShallow(c), a[c]);
|
|
125
126
|
d != null && (r[c] = d);
|
|
126
127
|
}
|
|
127
|
-
for (var s = 0; s <
|
|
128
|
-
var c =
|
|
128
|
+
for (var s = 0; s < A.length; s++) {
|
|
129
|
+
var c = A[s], d = e.getShallow(c);
|
|
129
130
|
d != null && (r[c] = d);
|
|
130
131
|
}
|
|
131
132
|
if (r.verticalAlign == null) {
|
|
132
|
-
var b =
|
|
133
|
+
var b = e.getShallow("baseline");
|
|
133
134
|
b != null && (r.verticalAlign = b);
|
|
134
135
|
}
|
|
135
|
-
if (!
|
|
136
|
-
for (var s = 0; s <
|
|
137
|
-
var c =
|
|
136
|
+
if (!t || !n.disableBox) {
|
|
137
|
+
for (var s = 0; s < F.length; s++) {
|
|
138
|
+
var c = F[s], d = e.getShallow(c);
|
|
138
139
|
d != null && (r[c] = d);
|
|
139
140
|
}
|
|
140
|
-
var
|
|
141
|
-
|
|
141
|
+
var P = e.getShallow("borderType");
|
|
142
|
+
P != null && (r.borderDash = P), (r.backgroundColor === "auto" || r.backgroundColor === "inherit") && l && (r.backgroundColor = l), (r.borderColor === "auto" || r.borderColor === "inherit") && l && (r.borderColor = l);
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
|
-
function
|
|
145
|
-
var a =
|
|
146
|
-
return
|
|
145
|
+
function rr(r, e) {
|
|
146
|
+
var a = e && e.getModel("textStyle");
|
|
147
|
+
return Y([
|
|
147
148
|
// FIXME in node-canvas fontWeight is before fontStyle
|
|
148
149
|
r.fontStyle || a && a.getShallow("fontStyle") || "",
|
|
149
150
|
r.fontWeight || a && a.getShallow("fontWeight") || "",
|
|
@@ -151,43 +152,43 @@ function M(r, n) {
|
|
|
151
152
|
r.fontFamily || a && a.getShallow("fontFamily") || "sans-serif"
|
|
152
153
|
].join(" "));
|
|
153
154
|
}
|
|
154
|
-
var
|
|
155
|
-
function
|
|
155
|
+
var O = z();
|
|
156
|
+
function er(r, e, a, n) {
|
|
156
157
|
if (r) {
|
|
157
|
-
var
|
|
158
|
-
|
|
159
|
-
var
|
|
160
|
-
|
|
158
|
+
var o = O(r);
|
|
159
|
+
o.prevValue = o.value, o.value = a;
|
|
160
|
+
var i = e.normal;
|
|
161
|
+
o.valueAnimation = i.get("valueAnimation"), o.valueAnimation && (o.precision = i.get("precision"), o.defaultInterpolatedText = n, o.statesModels = e);
|
|
161
162
|
}
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
-
var
|
|
165
|
-
if (!
|
|
164
|
+
function ar(r, e, a, n, o) {
|
|
165
|
+
var i = O(r);
|
|
166
|
+
if (!i.valueAnimation || i.prevValue === i.value)
|
|
166
167
|
return;
|
|
167
|
-
var
|
|
168
|
-
function v(
|
|
169
|
-
var h = H(a,
|
|
170
|
-
|
|
171
|
-
var g =
|
|
172
|
-
labelDataIndex:
|
|
173
|
-
labelFetcher:
|
|
174
|
-
defaultText:
|
|
175
|
-
},
|
|
168
|
+
var t = i.defaultInterpolatedText, f = w(i.interpolatedValue, i.prevValue), l = i.value;
|
|
169
|
+
function v(u) {
|
|
170
|
+
var h = H(a, i.precision, f, l, u);
|
|
171
|
+
i.interpolatedValue = u === 1 ? null : h;
|
|
172
|
+
var g = L({
|
|
173
|
+
labelDataIndex: e,
|
|
174
|
+
labelFetcher: o,
|
|
175
|
+
defaultText: t ? t(h) : h + ""
|
|
176
|
+
}, i.statesModels, h);
|
|
176
177
|
W(r, g);
|
|
177
178
|
}
|
|
178
|
-
r.percent = 0, (
|
|
179
|
+
r.percent = 0, (i.prevValue == null ? G : J)(r, {
|
|
179
180
|
// percent is used to prevent animation from being aborted #15916
|
|
180
181
|
percent: 1
|
|
181
|
-
},
|
|
182
|
+
}, n, e, null, v);
|
|
182
183
|
}
|
|
183
184
|
export {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
185
|
+
ar as animateLabelValue,
|
|
186
|
+
D as createTextConfig,
|
|
187
|
+
k as createTextStyle,
|
|
188
|
+
rr as getFont,
|
|
189
|
+
N as getLabelStatesModels,
|
|
190
|
+
O as labelInner,
|
|
191
|
+
M as setLabelStyle,
|
|
191
192
|
W as setLabelText,
|
|
192
|
-
|
|
193
|
+
er as setLabelValueAnimation
|
|
193
194
|
};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { parsePercent as
|
|
1
|
+
import { defaults as Y, each as l, keys as Z } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import { parsePercent as S } from "../util/number.js";
|
|
3
3
|
import { isDimensionStacked as $ } from "../data/helper/dataStackHelper.js";
|
|
4
4
|
import N from "../chart/helper/createRenderPlanner.js";
|
|
5
5
|
import { createFloat32Array as R } from "../util/vendor.js";
|
|
6
6
|
var E = "__ec_stack_";
|
|
7
|
-
function
|
|
8
|
-
return
|
|
7
|
+
function F(n) {
|
|
8
|
+
return n.get("stack") || E + n.seriesIndex;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
return
|
|
10
|
+
function V(n) {
|
|
11
|
+
return n.dim + n.index;
|
|
12
12
|
}
|
|
13
|
-
function da(
|
|
14
|
-
var i = [], t =
|
|
13
|
+
function da(n) {
|
|
14
|
+
var i = [], t = n.axis, a = "axis0";
|
|
15
15
|
if (t.type === "category") {
|
|
16
|
-
for (var u = t.getBandWidth(), r = 0; r <
|
|
17
|
-
i.push(
|
|
16
|
+
for (var u = t.getBandWidth(), r = 0; r < n.count; r++)
|
|
17
|
+
i.push(Y({
|
|
18
18
|
bandWidth: u,
|
|
19
19
|
axisKey: a,
|
|
20
20
|
stackId: E + r
|
|
21
|
-
},
|
|
22
|
-
for (var
|
|
23
|
-
var o =
|
|
24
|
-
o.offsetCenter = o.offset + o.width / 2,
|
|
21
|
+
}, n));
|
|
22
|
+
for (var f = q(i), e = [], r = 0; r < n.count; r++) {
|
|
23
|
+
var o = f[a][E + r];
|
|
24
|
+
o.offsetCenter = o.offset + o.width / 2, e.push(o);
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return e;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function j(
|
|
29
|
+
function j(n, i) {
|
|
30
30
|
var t = [];
|
|
31
|
-
return i.eachSeriesByType(
|
|
31
|
+
return i.eachSeriesByType(n, function(a) {
|
|
32
32
|
J(a) && t.push(a);
|
|
33
33
|
}), t;
|
|
34
34
|
}
|
|
35
|
-
function aa(
|
|
35
|
+
function aa(n) {
|
|
36
36
|
var i = {};
|
|
37
|
-
l(
|
|
37
|
+
l(n, function(o) {
|
|
38
38
|
var d = o.coordinateSystem, v = d.getBaseAxis();
|
|
39
39
|
if (!(v.type !== "time" && v.type !== "value"))
|
|
40
|
-
for (var
|
|
40
|
+
for (var s = o.getData(), h = v.dim + "_" + v.index, m = s.getDimensionIndex(s.mapDimension(v.dim)), p = s.getStore(), x = 0, b = p.count(); x < b; ++x) {
|
|
41
41
|
var c = p.get(m, x);
|
|
42
42
|
i[h] ? i[h].push(c) : i[h] = [c];
|
|
43
43
|
}
|
|
@@ -50,93 +50,93 @@ function aa(e) {
|
|
|
50
50
|
u.sort(function(o, d) {
|
|
51
51
|
return o - d;
|
|
52
52
|
});
|
|
53
|
-
for (var r = null,
|
|
54
|
-
var
|
|
55
|
-
|
|
53
|
+
for (var r = null, f = 1; f < u.length; ++f) {
|
|
54
|
+
var e = u[f] - u[f - 1];
|
|
55
|
+
e > 0 && (r = r === null ? e : Math.min(r, e));
|
|
56
56
|
}
|
|
57
57
|
t[a] = r;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
function ta(
|
|
63
|
-
var i = aa(
|
|
64
|
-
return l(
|
|
65
|
-
var u = a.coordinateSystem, r = u.getBaseAxis(),
|
|
62
|
+
function ta(n) {
|
|
63
|
+
var i = aa(n), t = [];
|
|
64
|
+
return l(n, function(a) {
|
|
65
|
+
var u = a.coordinateSystem, r = u.getBaseAxis(), f = r.getExtent(), e;
|
|
66
66
|
if (r.type === "category")
|
|
67
|
-
|
|
67
|
+
e = r.getBandWidth();
|
|
68
68
|
else if (r.type === "value" || r.type === "time") {
|
|
69
|
-
var o = r.dim + "_" + r.index, d = i[o], v = Math.abs(
|
|
70
|
-
|
|
69
|
+
var o = r.dim + "_" + r.index, d = i[o], v = Math.abs(f[1] - f[0]), s = r.scale.getExtent(), h = Math.abs(s[1] - s[0]);
|
|
70
|
+
e = d ? v / h * d : v;
|
|
71
71
|
} else {
|
|
72
72
|
var m = a.getData();
|
|
73
|
-
|
|
73
|
+
e = Math.abs(f[1] - f[0]) / m.count();
|
|
74
74
|
}
|
|
75
|
-
var p =
|
|
75
|
+
var p = S(a.get("barWidth"), e), x = S(a.get("barMaxWidth"), e), b = S(
|
|
76
76
|
// barMinWidth by default is 0.5 / 1 in cartesian. Because in value axis,
|
|
77
77
|
// the auto-calculated bar width might be less than 0.5 / 1.
|
|
78
78
|
a.get("barMinWidth") || (Q(a) ? 0.5 : 1),
|
|
79
|
-
|
|
79
|
+
e
|
|
80
80
|
), c = a.get("barGap"), y = a.get("barCategoryGap");
|
|
81
81
|
t.push({
|
|
82
|
-
bandWidth:
|
|
82
|
+
bandWidth: e,
|
|
83
83
|
barWidth: p,
|
|
84
84
|
barMaxWidth: x,
|
|
85
85
|
barMinWidth: b,
|
|
86
86
|
barGap: c,
|
|
87
87
|
barCategoryGap: y,
|
|
88
|
-
axisKey:
|
|
89
|
-
stackId:
|
|
88
|
+
axisKey: V(r),
|
|
89
|
+
stackId: F(a)
|
|
90
90
|
});
|
|
91
91
|
}), q(t);
|
|
92
92
|
}
|
|
93
|
-
function q(
|
|
93
|
+
function q(n) {
|
|
94
94
|
var i = {};
|
|
95
|
-
l(
|
|
96
|
-
var r = a.axisKey,
|
|
97
|
-
bandWidth:
|
|
98
|
-
remainedWidth:
|
|
95
|
+
l(n, function(a, u) {
|
|
96
|
+
var r = a.axisKey, f = a.bandWidth, e = i[r] || {
|
|
97
|
+
bandWidth: f,
|
|
98
|
+
remainedWidth: f,
|
|
99
99
|
autoWidthCount: 0,
|
|
100
100
|
categoryGap: null,
|
|
101
101
|
gap: "20%",
|
|
102
102
|
stacks: {}
|
|
103
|
-
}, o =
|
|
104
|
-
i[r] =
|
|
103
|
+
}, o = e.stacks;
|
|
104
|
+
i[r] = e;
|
|
105
105
|
var d = a.stackId;
|
|
106
|
-
o[d] ||
|
|
106
|
+
o[d] || e.autoWidthCount++, o[d] = o[d] || {
|
|
107
107
|
width: 0,
|
|
108
108
|
maxWidth: 0
|
|
109
109
|
};
|
|
110
110
|
var v = a.barWidth;
|
|
111
|
-
v && !o[d].width && (o[d].width = v, v = Math.min(
|
|
112
|
-
var
|
|
113
|
-
|
|
111
|
+
v && !o[d].width && (o[d].width = v, v = Math.min(e.remainedWidth, v), e.remainedWidth -= v);
|
|
112
|
+
var s = a.barMaxWidth;
|
|
113
|
+
s && (o[d].maxWidth = s);
|
|
114
114
|
var h = a.barMinWidth;
|
|
115
115
|
h && (o[d].minWidth = h);
|
|
116
116
|
var m = a.barGap;
|
|
117
|
-
m != null && (
|
|
117
|
+
m != null && (e.gap = m);
|
|
118
118
|
var p = a.barCategoryGap;
|
|
119
|
-
p != null && (
|
|
119
|
+
p != null && (e.categoryGap = p);
|
|
120
120
|
});
|
|
121
121
|
var t = {};
|
|
122
122
|
return l(i, function(a, u) {
|
|
123
123
|
t[u] = {};
|
|
124
|
-
var r = a.stacks,
|
|
125
|
-
if (
|
|
126
|
-
var o =
|
|
127
|
-
|
|
124
|
+
var r = a.stacks, f = a.bandWidth, e = a.categoryGap;
|
|
125
|
+
if (e == null) {
|
|
126
|
+
var o = Z(r).length;
|
|
127
|
+
e = Math.max(35 - o * 4, 15) + "%";
|
|
128
128
|
}
|
|
129
|
-
var d =
|
|
129
|
+
var d = S(e, f), v = S(a.gap, 1), s = a.remainedWidth, h = a.autoWidthCount, m = (s - d) / (h + (h - 1) * v);
|
|
130
130
|
m = Math.max(m, 0), l(r, function(c) {
|
|
131
131
|
var y = c.maxWidth, W = c.minWidth;
|
|
132
132
|
if (c.width) {
|
|
133
133
|
var g = c.width;
|
|
134
|
-
y && (g = Math.min(g, y)), W && (g = Math.max(g, W)), c.width = g,
|
|
134
|
+
y && (g = Math.min(g, y)), W && (g = Math.max(g, W)), c.width = g, s -= g + v * g, h--;
|
|
135
135
|
} else {
|
|
136
136
|
var g = m;
|
|
137
|
-
y && y < g && (g = Math.min(y,
|
|
137
|
+
y && y < g && (g = Math.min(y, s)), W && W > g && (g = W), g !== m && (c.width = g, s -= g + v * g, h--);
|
|
138
138
|
}
|
|
139
|
-
}), m = (
|
|
139
|
+
}), m = (s - d) / (h + (h - 1) * v), m = Math.max(m, 0);
|
|
140
140
|
var p = 0, x;
|
|
141
141
|
l(r, function(c, y) {
|
|
142
142
|
c.width || (c.width = m), x = c, p += c.width * (1 + v);
|
|
@@ -144,59 +144,59 @@ function q(e) {
|
|
|
144
144
|
var b = -p / 2;
|
|
145
145
|
l(r, function(c, y) {
|
|
146
146
|
t[u][y] = t[u][y] || {
|
|
147
|
-
bandWidth:
|
|
147
|
+
bandWidth: f,
|
|
148
148
|
offset: b,
|
|
149
149
|
width: c.width
|
|
150
150
|
}, b += c.width * (1 + v);
|
|
151
151
|
});
|
|
152
152
|
}), t;
|
|
153
153
|
}
|
|
154
|
-
function ua(
|
|
155
|
-
if (
|
|
156
|
-
var a =
|
|
157
|
-
return a;
|
|
154
|
+
function ua(n, i, t) {
|
|
155
|
+
if (n && i) {
|
|
156
|
+
var a = n[V(i)];
|
|
157
|
+
return a != null && t != null ? a[F(t)] : a;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
var t = j(
|
|
160
|
+
function fa(n, i) {
|
|
161
|
+
var t = j(n, i), a = ta(t);
|
|
162
162
|
l(t, function(u) {
|
|
163
|
-
var r = u.getData(),
|
|
163
|
+
var r = u.getData(), f = u.coordinateSystem, e = f.getBaseAxis(), o = F(u), d = a[V(e)][o], v = d.offset, s = d.width;
|
|
164
164
|
r.setLayout({
|
|
165
165
|
bandWidth: d.bandWidth,
|
|
166
166
|
offset: v,
|
|
167
|
-
size:
|
|
167
|
+
size: s
|
|
168
168
|
});
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function sa(n) {
|
|
172
172
|
return {
|
|
173
|
-
seriesType:
|
|
173
|
+
seriesType: n,
|
|
174
174
|
plan: N(),
|
|
175
175
|
reset: function(i) {
|
|
176
176
|
if (J(i)) {
|
|
177
|
-
var t = i.getData(), a = i.coordinateSystem, u = a.getBaseAxis(), r = a.getOtherAxis(u),
|
|
177
|
+
var t = i.getData(), a = i.coordinateSystem, u = a.getBaseAxis(), r = a.getOtherAxis(u), f = t.getDimensionIndex(t.mapDimension(r.dim)), e = t.getDimensionIndex(t.mapDimension(u.dim)), o = i.get("showBackground", !0), d = t.mapDimension(r.dim), v = t.getCalculationInfo("stackResultDimension"), s = $(t, d) && !!t.getCalculationInfo("stackedOnSeries"), h = r.isHorizontal(), m = ra(u, r), p = Q(i), x = i.get("barMinHeight") || 0, b = v && t.getDimensionIndex(v), c = t.getLayout("size"), y = t.getLayout("offset");
|
|
178
178
|
return {
|
|
179
179
|
progress: function(W, g) {
|
|
180
|
-
for (var K = W.count,
|
|
181
|
-
var O = _.get(
|
|
182
|
-
|
|
180
|
+
for (var K = W.count, A = p && R(K * 3), L = p && o && R(K * 3), X = p && R(K), M = a.master.getRect(), U = h ? M.width : M.height, k, _ = g.getStore(), D = 0; (k = W.next()) != null; ) {
|
|
181
|
+
var O = _.get(s ? b : f, k), T = _.get(e, k), C = m, z = void 0;
|
|
182
|
+
s && (z = +O - _.get(f, k));
|
|
183
183
|
var P = void 0, B = void 0, G = void 0, w = void 0;
|
|
184
184
|
if (h) {
|
|
185
185
|
var I = a.dataToPoint([O, T]);
|
|
186
|
-
if (
|
|
186
|
+
if (s) {
|
|
187
187
|
var H = a.dataToPoint([z, T]);
|
|
188
188
|
C = H[0];
|
|
189
189
|
}
|
|
190
190
|
P = C, B = I[1] + y, G = I[0] - C, w = c, Math.abs(G) < x && (G = (G < 0 ? -1 : 1) * x);
|
|
191
191
|
} else {
|
|
192
192
|
var I = a.dataToPoint([T, O]);
|
|
193
|
-
if (
|
|
193
|
+
if (s) {
|
|
194
194
|
var H = a.dataToPoint([T, z]);
|
|
195
195
|
C = H[1];
|
|
196
196
|
}
|
|
197
197
|
P = I[0] + y, B = C, G = c, w = I[1] - C, Math.abs(w) < x && (w = (w <= 0 ? -1 : 1) * x);
|
|
198
198
|
}
|
|
199
|
-
p ? (
|
|
199
|
+
p ? (A[D] = P, A[D + 1] = B, A[D + 2] = h ? G : w, L && (L[D] = h ? M.x : P, L[D + 1] = h ? B : M.y, L[D + 2] = U), X[k] = k) : g.setItemLayout(k, {
|
|
200
200
|
x: P,
|
|
201
201
|
y: B,
|
|
202
202
|
width: G,
|
|
@@ -204,8 +204,8 @@ function fa(e) {
|
|
|
204
204
|
}), D += 3;
|
|
205
205
|
}
|
|
206
206
|
p && g.setLayout({
|
|
207
|
-
largePoints:
|
|
208
|
-
largeDataIndices:
|
|
207
|
+
largePoints: A,
|
|
208
|
+
largeDataIndices: X,
|
|
209
209
|
largeBackgroundPoints: L,
|
|
210
210
|
valueAxisHorizontal: h
|
|
211
211
|
});
|
|
@@ -215,20 +215,20 @@ function fa(e) {
|
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
function J(
|
|
219
|
-
return
|
|
218
|
+
function J(n) {
|
|
219
|
+
return n.coordinateSystem && n.coordinateSystem.type === "cartesian2d";
|
|
220
220
|
}
|
|
221
|
-
function Q(
|
|
222
|
-
return
|
|
221
|
+
function Q(n) {
|
|
222
|
+
return n.pipelineContext && n.pipelineContext.large;
|
|
223
223
|
}
|
|
224
|
-
function ra(
|
|
224
|
+
function ra(n, i) {
|
|
225
225
|
var t = i.model.get("startValue");
|
|
226
226
|
return t || (t = 0), i.toGlobalCoord(i.dataToCoord(i.type === "log" ? t > 0 ? t : 1 : t));
|
|
227
227
|
}
|
|
228
228
|
export {
|
|
229
|
-
|
|
229
|
+
sa as createProgressiveLayout,
|
|
230
230
|
da as getLayoutOnAxis,
|
|
231
|
-
|
|
231
|
+
fa as layout,
|
|
232
232
|
ta as makeColumnLayout,
|
|
233
233
|
j as prepareLayoutBarSeries,
|
|
234
234
|
ua as retrieveColumnLayout
|