web-core-tcm 0.0.62 → 0.0.64
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/createApis.js +1 -7
- package/dist/src/api/authorization/alova/globals.d.ts +331 -250
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.d.ts +1 -1
- package/dist/src/api/authorization/alova/index.js +7 -6
- package/dist/src/api/check/alova/createApis.js +1 -7
- package/dist/src/api/check/alova/globals.d.ts +1227 -1126
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.d.ts +1 -1
- package/dist/src/api/check/alova/index.js +9 -11
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/config/index.d.ts +1 -0
- package/dist/src/api/config/index.js +3 -1
- package/dist/src/api/doctor/alova/createApis.js +1 -7
- package/dist/src/api/doctor/alova/globals.d.ts +510 -419
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.d.ts +1 -1
- package/dist/src/api/doctor/alova/index.js +4 -4
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +30 -0
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
- package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
- package/dist/src/api/manager/alova/createApis.d.ts +10 -0
- package/dist/src/api/manager/alova/createApis.js +49 -0
- package/dist/src/api/manager/alova/globals.d.ts +4890 -0
- package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/department.js +44 -0
- package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/division.js +44 -0
- package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/hospital.js +44 -0
- package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
- package/dist/src/api/manager/alova/implement/index.js +8 -0
- package/dist/src/api/manager/alova/index.d.ts +6 -0
- package/dist/src/api/manager/alova/index.js +19 -0
- package/dist/src/api/manager/department.d.ts +30 -0
- package/dist/src/api/manager/department.js +35 -0
- package/dist/src/api/manager/division.d.ts +30 -0
- package/dist/src/api/manager/division.js +34 -0
- package/dist/src/api/manager/hospital.d.ts +32 -0
- package/dist/src/api/manager/hospital.js +36 -0
- package/dist/src/api/manager/index.d.ts +4 -0
- package/dist/src/api/manager/index.js +17 -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/createApis.js +1 -7
- package/dist/src/api/oauth/alova/globals.d.ts +403 -312
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.d.ts +1 -1
- package/dist/src/api/oauth/alova/index.js +12 -11
- package/dist/src/api/outpatient/alova/createApis.js +1 -7
- package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.d.ts +1 -1
- package/dist/src/api/outpatient/alova/index.js +8 -9
- package/dist/src/api/patient/alova/createApis.js +1 -7
- package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
- 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.d.ts +1 -1
- package/dist/src/api/patient/alova/index.js +10 -14
- 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/apiDefinitions.d.ts +1 -0
- package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
- package/dist/src/api/prescription/alova/createApis.js +1 -7
- package/dist/src/api/prescription/alova/globals.d.ts +959 -812
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.d.ts +1 -1
- package/dist/src/api/prescription/alova/index.js +4 -4
- package/dist/src/api/scientist/alova/createApis.js +1 -7
- package/dist/src/api/scientist/alova/globals.d.ts +406 -315
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.d.ts +1 -1
- package/dist/src/api/scientist/alova/index.js +7 -8
- 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 +65 -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,50 +1,51 @@
|
|
|
1
|
-
import { extend as d, isString as v, isArray as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { each as m, extend as d, isString as v, isArray as h } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import "../util/log.js";
|
|
3
|
+
import { queryDataIndex as S } from "../util/model.js";
|
|
4
|
+
function N(n, c) {
|
|
5
|
+
function l(e, t) {
|
|
5
6
|
var i = [];
|
|
6
7
|
return e.eachComponent({
|
|
7
8
|
mainType: "series",
|
|
8
|
-
subType:
|
|
9
|
+
subType: n,
|
|
9
10
|
query: t
|
|
10
|
-
}, function(
|
|
11
|
-
i.push(
|
|
11
|
+
}, function(o) {
|
|
12
|
+
i.push(o.seriesIndex);
|
|
12
13
|
}), i;
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
t = d({}, t),
|
|
15
|
+
m([[n + "ToggleSelect", "toggleSelect"], [n + "Select", "select"], [n + "UnSelect", "unselect"]], function(e) {
|
|
16
|
+
c(e[0], function(t, i, o) {
|
|
17
|
+
t = d({}, t), o.dispatchAction(d(t, {
|
|
17
18
|
type: e[1],
|
|
18
|
-
seriesIndex:
|
|
19
|
+
seriesIndex: l(i, t)
|
|
19
20
|
}));
|
|
20
21
|
});
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
function r(
|
|
24
|
-
var i =
|
|
25
|
-
|
|
24
|
+
function r(n, c, l, e, t) {
|
|
25
|
+
var i = n + c;
|
|
26
|
+
l.isSilent(i) || e.eachComponent({
|
|
26
27
|
mainType: "series",
|
|
27
28
|
subType: "pie"
|
|
28
|
-
}, function(
|
|
29
|
-
for (var
|
|
30
|
-
if (
|
|
31
|
-
var g =
|
|
32
|
-
|
|
29
|
+
}, function(o) {
|
|
30
|
+
for (var p = o.seriesIndex, s = o.option.selectedMap, u = t.selected, f = 0; f < u.length; f++)
|
|
31
|
+
if (u[f].seriesIndex === p) {
|
|
32
|
+
var g = o.getData(), a = S(g, t.fromActionPayload);
|
|
33
|
+
l.trigger(i, {
|
|
33
34
|
type: i,
|
|
34
|
-
seriesId:
|
|
35
|
-
name:
|
|
35
|
+
seriesId: o.id,
|
|
36
|
+
name: h(a) ? g.getName(a[0]) : g.getName(a),
|
|
36
37
|
selected: v(s) ? s : d({}, s)
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
|
-
function C(
|
|
42
|
-
|
|
43
|
-
var t =
|
|
44
|
-
e.isFromClick ? (r("map", "selectchanged",
|
|
42
|
+
function C(n, c, l) {
|
|
43
|
+
n.on("selectchanged", function(e) {
|
|
44
|
+
var t = l.getModel();
|
|
45
|
+
e.isFromClick ? (r("map", "selectchanged", c, t, e), r("pie", "selectchanged", c, t, e)) : e.fromAction === "select" ? (r("map", "selected", c, t, e), r("pie", "selected", c, t, e)) : e.fromAction === "unselect" && (r("map", "unselected", c, t, e), r("pie", "unselected", c, t, e));
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
N as createLegacyDataSelectAction,
|
|
49
50
|
C as handleLegacySelectEvents
|
|
50
51
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "../util/graphic.js";
|
|
2
|
+
import a from "../../../zrender/lib/graphic/Text.js";
|
|
3
|
+
function f(t, e, n, i, r, l, o, g) {
|
|
4
|
+
var c = new a({
|
|
5
|
+
style: {
|
|
6
|
+
text: t,
|
|
7
|
+
font: e,
|
|
8
|
+
align: n,
|
|
9
|
+
verticalAlign: i,
|
|
10
|
+
padding: r,
|
|
11
|
+
rich: l,
|
|
12
|
+
overflow: o ? "truncate" : null,
|
|
13
|
+
lineHeight: g
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
return c.getBoundingRect();
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
f as getTextRect
|
|
20
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defaults as u } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import "../util/graphic.js";
|
|
2
3
|
import c from "../../../zrender/lib/graphic/Group.js";
|
|
3
4
|
import m from "../../../zrender/lib/graphic/shape/Rect.js";
|
|
4
5
|
import v from "../../../zrender/lib/graphic/Text.js";
|
|
5
6
|
import z from "../../../zrender/lib/graphic/shape/Arc.js";
|
|
6
7
|
var a = Math.PI;
|
|
7
|
-
function
|
|
8
|
+
function C(l, e) {
|
|
8
9
|
e = e || {}, u(e, {
|
|
9
10
|
text: "loading",
|
|
10
11
|
textColor: "#000",
|
|
@@ -88,5 +89,5 @@ function W(l, e) {
|
|
|
88
89
|
}, t.resize(), t;
|
|
89
90
|
}
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
C as default
|
|
92
93
|
};
|
|
@@ -1,280 +1,285 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { each as h, createHashMap as
|
|
3
|
-
import { normalizeToArray as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { __extends as W } from "../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as h, createHashMap as C, clone as A, merge as B, extend as U, filter as v, isFunction as j, isString as Y, isObject as G, isArray as Z, mixin as q } from "../../../zrender/lib/core/util.js";
|
|
3
|
+
import { normalizeToArray as T, mappingToExists as Q, setComponentTypeToKeyInfo as J, isComponentIdInternal as X, convertOptionIdName as L } from "../util/model.js";
|
|
4
|
+
import P from "./Model.js";
|
|
5
|
+
import g from "./Component.js";
|
|
6
6
|
import $ from "./globalDefault.js";
|
|
7
7
|
import { resetSourceDefaulter as ee } from "../data/helper/sourceHelper.js";
|
|
8
8
|
import { concatInternalOptions as te } from "./internalComponentCreator.js";
|
|
9
9
|
import { PaletteMixin as ne } from "./mixin/palette.js";
|
|
10
|
-
|
|
10
|
+
import { error as ye } from "../util/log.js";
|
|
11
|
+
var O, I, D, R = "\0_ec_inner", re = 1;
|
|
12
|
+
var oe = (
|
|
11
13
|
/** @class */
|
|
12
|
-
(function(
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
(function(p) {
|
|
15
|
+
W(o, p);
|
|
16
|
+
function o() {
|
|
17
|
+
return p !== null && p.apply(this, arguments) || this;
|
|
16
18
|
}
|
|
17
|
-
return
|
|
18
|
-
r = r || {}, this.option = null, this._theme = new
|
|
19
|
-
},
|
|
20
|
-
var r =
|
|
19
|
+
return o.prototype.init = function(e, n, t, r, i, u) {
|
|
20
|
+
r = r || {}, this.option = null, this._theme = new P(r), this._locale = new P(i), this._optionManager = u;
|
|
21
|
+
}, o.prototype.setOption = function(e, n, t) {
|
|
22
|
+
var r = V(n);
|
|
21
23
|
this._optionManager.setOption(e, t, r), this._resetOption(null, r);
|
|
22
|
-
},
|
|
23
|
-
return this._resetOption(e,
|
|
24
|
-
},
|
|
24
|
+
}, o.prototype.resetOption = function(e, n) {
|
|
25
|
+
return this._resetOption(e, V(n));
|
|
26
|
+
}, o.prototype._resetOption = function(e, n) {
|
|
25
27
|
var t = !1, r = this._optionManager;
|
|
26
28
|
if (!e || e === "recreate") {
|
|
27
|
-
var
|
|
28
|
-
!this.option || e === "recreate" ?
|
|
29
|
+
var i = r.mountOption(e === "recreate");
|
|
30
|
+
!this.option || e === "recreate" ? D(this, i) : (this.restoreData(), this._mergeOption(i, n)), t = !0;
|
|
29
31
|
}
|
|
30
32
|
if ((e === "timeline" || e === "media") && this.restoreData(), !e || e === "recreate" || e === "timeline") {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
+
var u = r.getTimelineOption(this);
|
|
34
|
+
u && (t = !0, this._mergeOption(u, n));
|
|
33
35
|
}
|
|
34
36
|
if (!e || e === "recreate" || e === "media") {
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
+
var l = r.getMediaOption(this);
|
|
38
|
+
l.length && h(l, function(s) {
|
|
37
39
|
t = !0, this._mergeOption(s, n);
|
|
38
40
|
}, this);
|
|
39
41
|
}
|
|
40
42
|
return t;
|
|
41
|
-
},
|
|
43
|
+
}, o.prototype.mergeOption = function(e) {
|
|
42
44
|
this._mergeOption(e, null);
|
|
43
|
-
},
|
|
44
|
-
var t = this.option, r = this._componentsMap,
|
|
45
|
+
}, o.prototype._mergeOption = function(e, n) {
|
|
46
|
+
var t = this.option, r = this._componentsMap, i = this._componentsCount, u = [], l = C(), s = n && n.replaceMergeMainTypeMap;
|
|
45
47
|
ee(this), h(e, function(a, f) {
|
|
46
|
-
a != null && (
|
|
48
|
+
a != null && (g.hasClass(f) ? f && (u.push(f), l.set(f, !0)) : t[f] = t[f] == null ? A(a) : B(t[f], a, !0));
|
|
47
49
|
}), s && s.each(function(a, f) {
|
|
48
|
-
|
|
49
|
-
}),
|
|
50
|
-
function
|
|
51
|
-
var f = te(this, a,
|
|
50
|
+
g.hasClass(f) && !l.get(f) && (u.push(f), l.set(f, !0));
|
|
51
|
+
}), g.topologicalTravel(u, g.getAllClassMainTypes(), m, this);
|
|
52
|
+
function m(a) {
|
|
53
|
+
var f = te(this, a, T(e[a])), d = r.get(a), M = (
|
|
52
54
|
// `!oldCmptList` means init. See the comment in `mappingToExists`
|
|
53
|
-
|
|
54
|
-
),
|
|
55
|
-
|
|
56
|
-
var
|
|
57
|
-
h(
|
|
58
|
-
var c =
|
|
59
|
-
if (!
|
|
55
|
+
d ? s && s.get(a) ? "replaceMerge" : "normalMerge" : "replaceAll"
|
|
56
|
+
), N = Q(d, f, M);
|
|
57
|
+
J(N, a, g), t[a] = null, r.set(a, null), i.set(a, 0);
|
|
58
|
+
var S = [], b = [], k = 0, w, ae;
|
|
59
|
+
h(N, function(_, z) {
|
|
60
|
+
var c = _.existing, y = _.newOption;
|
|
61
|
+
if (!y)
|
|
60
62
|
c && (c.mergeOption({}, this), c.optionUpdated({}, !1));
|
|
61
63
|
else {
|
|
62
|
-
var
|
|
64
|
+
var K = a === "series", x = g.getClass(
|
|
63
65
|
a,
|
|
64
|
-
|
|
65
|
-
!
|
|
66
|
+
_.keyInfo.subType,
|
|
67
|
+
!K
|
|
66
68
|
// Give a more detailed warn later if series don't exists
|
|
67
69
|
);
|
|
68
|
-
if (!
|
|
70
|
+
if (!x) {
|
|
71
|
+
if (0)
|
|
72
|
+
var le, pe;
|
|
69
73
|
return;
|
|
74
|
+
}
|
|
70
75
|
if (a === "tooltip") {
|
|
71
|
-
if (
|
|
76
|
+
if (w)
|
|
72
77
|
return;
|
|
73
|
-
|
|
78
|
+
w = !0;
|
|
74
79
|
}
|
|
75
|
-
if (c && c.constructor ===
|
|
76
|
-
c.name =
|
|
80
|
+
if (c && c.constructor === x)
|
|
81
|
+
c.name = _.keyInfo.name, c.mergeOption(y, this), c.optionUpdated(y, !1);
|
|
77
82
|
else {
|
|
78
|
-
var
|
|
79
|
-
componentIndex:
|
|
80
|
-
},
|
|
81
|
-
c = new
|
|
83
|
+
var E = U({
|
|
84
|
+
componentIndex: z
|
|
85
|
+
}, _.keyInfo);
|
|
86
|
+
c = new x(y, this, this, E), U(c, E), _.brandNew && (c.__requireNewView = !0), c.init(y, this, this), c.optionUpdated(null, !0);
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
|
-
c ? (
|
|
85
|
-
}, this), t[a] =
|
|
89
|
+
c ? (S.push(c.option), b.push(c), k++) : (S.push(void 0), b.push(void 0));
|
|
90
|
+
}, this), t[a] = S, r.set(a, b), i.set(a, k), a === "series" && O(this);
|
|
86
91
|
}
|
|
87
92
|
this._seriesIndices || O(this);
|
|
88
|
-
},
|
|
93
|
+
}, o.prototype.getOption = function() {
|
|
89
94
|
var e = A(this.option);
|
|
90
95
|
return h(e, function(n, t) {
|
|
91
|
-
if (
|
|
92
|
-
for (var r =
|
|
93
|
-
r[
|
|
94
|
-
r.length =
|
|
96
|
+
if (g.hasClass(t)) {
|
|
97
|
+
for (var r = T(n), i = r.length, u = !1, l = i - 1; l >= 0; l--)
|
|
98
|
+
r[l] && !X(r[l]) ? u = !0 : (r[l] = null, !u && i--);
|
|
99
|
+
r.length = i, e[t] = r;
|
|
95
100
|
}
|
|
96
|
-
}), delete e[
|
|
97
|
-
},
|
|
101
|
+
}), delete e[R], e;
|
|
102
|
+
}, o.prototype.getTheme = function() {
|
|
98
103
|
return this._theme;
|
|
99
|
-
},
|
|
104
|
+
}, o.prototype.getLocaleModel = function() {
|
|
100
105
|
return this._locale;
|
|
101
|
-
},
|
|
106
|
+
}, o.prototype.setUpdatePayload = function(e) {
|
|
102
107
|
this._payload = e;
|
|
103
|
-
},
|
|
108
|
+
}, o.prototype.getUpdatePayload = function() {
|
|
104
109
|
return this._payload;
|
|
105
|
-
},
|
|
110
|
+
}, o.prototype.getComponent = function(e, n) {
|
|
106
111
|
var t = this._componentsMap.get(e);
|
|
107
112
|
if (t) {
|
|
108
113
|
var r = t[n || 0];
|
|
109
114
|
if (r)
|
|
110
115
|
return r;
|
|
111
116
|
if (n == null) {
|
|
112
|
-
for (var
|
|
113
|
-
if (t[
|
|
114
|
-
return t[
|
|
117
|
+
for (var i = 0; i < t.length; i++)
|
|
118
|
+
if (t[i])
|
|
119
|
+
return t[i];
|
|
115
120
|
}
|
|
116
121
|
}
|
|
117
|
-
},
|
|
122
|
+
}, o.prototype.queryComponents = function(e) {
|
|
118
123
|
var n = e.mainType;
|
|
119
124
|
if (!n)
|
|
120
125
|
return [];
|
|
121
|
-
var t = e.index, r = e.id,
|
|
122
|
-
if (!
|
|
126
|
+
var t = e.index, r = e.id, i = e.name, u = this._componentsMap.get(n);
|
|
127
|
+
if (!u || !u.length)
|
|
123
128
|
return [];
|
|
124
|
-
var
|
|
125
|
-
return t != null ? (
|
|
126
|
-
|
|
127
|
-
})) : r != null ?
|
|
129
|
+
var l;
|
|
130
|
+
return t != null ? (l = [], h(T(t), function(s) {
|
|
131
|
+
u[s] && l.push(u[s]);
|
|
132
|
+
})) : r != null ? l = F("id", r, u) : i != null ? l = F("name", i, u) : l = v(u, function(s) {
|
|
128
133
|
return !!s;
|
|
129
|
-
}),
|
|
130
|
-
},
|
|
131
|
-
var n = e.query, t = e.mainType, r =
|
|
134
|
+
}), H(l, e);
|
|
135
|
+
}, o.prototype.findComponents = function(e) {
|
|
136
|
+
var n = e.query, t = e.mainType, r = u(n), i = r ? this.queryComponents(r) : v(this._componentsMap.get(t), function(s) {
|
|
132
137
|
return !!s;
|
|
133
138
|
});
|
|
134
|
-
return
|
|
135
|
-
function
|
|
136
|
-
var
|
|
137
|
-
return s && (s[
|
|
139
|
+
return l(H(i, e));
|
|
140
|
+
function u(s) {
|
|
141
|
+
var m = t + "Index", a = t + "Id", f = t + "Name";
|
|
142
|
+
return s && (s[m] != null || s[a] != null || s[f] != null) ? {
|
|
138
143
|
mainType: t,
|
|
139
144
|
// subType will be filtered finally.
|
|
140
|
-
index: s[
|
|
145
|
+
index: s[m],
|
|
141
146
|
id: s[a],
|
|
142
147
|
name: s[f]
|
|
143
148
|
} : null;
|
|
144
149
|
}
|
|
145
|
-
function
|
|
146
|
-
return e.filter ?
|
|
150
|
+
function l(s) {
|
|
151
|
+
return e.filter ? v(s, e.filter) : s;
|
|
147
152
|
}
|
|
148
|
-
},
|
|
153
|
+
}, o.prototype.eachComponent = function(e, n, t) {
|
|
149
154
|
var r = this._componentsMap;
|
|
150
|
-
if (
|
|
151
|
-
var
|
|
155
|
+
if (j(e)) {
|
|
156
|
+
var i = n, u = e;
|
|
152
157
|
r.each(function(a, f) {
|
|
153
|
-
for (var
|
|
154
|
-
var
|
|
155
|
-
|
|
158
|
+
for (var d = 0; a && d < a.length; d++) {
|
|
159
|
+
var M = a[d];
|
|
160
|
+
M && u.call(i, f, M, M.componentIndex);
|
|
156
161
|
}
|
|
157
162
|
});
|
|
158
163
|
} else
|
|
159
|
-
for (var
|
|
160
|
-
var
|
|
161
|
-
|
|
164
|
+
for (var l = Y(e) ? r.get(e) : G(e) ? this.findComponents(e) : null, s = 0; l && s < l.length; s++) {
|
|
165
|
+
var m = l[s];
|
|
166
|
+
m && n.call(t, m, m.componentIndex);
|
|
162
167
|
}
|
|
163
|
-
},
|
|
164
|
-
var n =
|
|
165
|
-
return
|
|
168
|
+
}, o.prototype.getSeriesByName = function(e) {
|
|
169
|
+
var n = L(e, null);
|
|
170
|
+
return v(this._componentsMap.get("series"), function(t) {
|
|
166
171
|
return !!t && n != null && t.name === n;
|
|
167
172
|
});
|
|
168
|
-
},
|
|
173
|
+
}, o.prototype.getSeriesByIndex = function(e) {
|
|
169
174
|
return this._componentsMap.get("series")[e];
|
|
170
|
-
},
|
|
171
|
-
return
|
|
175
|
+
}, o.prototype.getSeriesByType = function(e) {
|
|
176
|
+
return v(this._componentsMap.get("series"), function(n) {
|
|
172
177
|
return !!n && n.subType === e;
|
|
173
178
|
});
|
|
174
|
-
},
|
|
175
|
-
return
|
|
179
|
+
}, o.prototype.getSeries = function() {
|
|
180
|
+
return v(this._componentsMap.get("series"), function(e) {
|
|
176
181
|
return !!e;
|
|
177
182
|
});
|
|
178
|
-
},
|
|
183
|
+
}, o.prototype.getSeriesCount = function() {
|
|
179
184
|
return this._componentsCount.get("series");
|
|
180
|
-
},
|
|
185
|
+
}, o.prototype.eachSeries = function(e, n) {
|
|
181
186
|
I(this), h(this._seriesIndices, function(t) {
|
|
182
187
|
var r = this._componentsMap.get("series")[t];
|
|
183
188
|
e.call(n, r, t);
|
|
184
189
|
}, this);
|
|
185
|
-
},
|
|
190
|
+
}, o.prototype.eachRawSeries = function(e, n) {
|
|
186
191
|
h(this._componentsMap.get("series"), function(t) {
|
|
187
192
|
t && e.call(n, t, t.componentIndex);
|
|
188
193
|
});
|
|
189
|
-
},
|
|
194
|
+
}, o.prototype.eachSeriesByType = function(e, n, t) {
|
|
190
195
|
I(this), h(this._seriesIndices, function(r) {
|
|
191
|
-
var
|
|
192
|
-
|
|
196
|
+
var i = this._componentsMap.get("series")[r];
|
|
197
|
+
i.subType === e && n.call(t, i, r);
|
|
193
198
|
}, this);
|
|
194
|
-
},
|
|
199
|
+
}, o.prototype.eachRawSeriesByType = function(e, n, t) {
|
|
195
200
|
return h(this.getSeriesByType(e), n, t);
|
|
196
|
-
},
|
|
201
|
+
}, o.prototype.isSeriesFiltered = function(e) {
|
|
197
202
|
return I(this), this._seriesIndicesMap.get(e.componentIndex) == null;
|
|
198
|
-
},
|
|
203
|
+
}, o.prototype.getCurrentSeriesIndices = function() {
|
|
199
204
|
return (this._seriesIndices || []).slice();
|
|
200
|
-
},
|
|
205
|
+
}, o.prototype.filterSeries = function(e, n) {
|
|
201
206
|
I(this);
|
|
202
207
|
var t = [];
|
|
203
208
|
h(this._seriesIndices, function(r) {
|
|
204
|
-
var
|
|
205
|
-
e.call(n,
|
|
206
|
-
}, this), this._seriesIndices = t, this._seriesIndicesMap =
|
|
207
|
-
},
|
|
209
|
+
var i = this._componentsMap.get("series")[r];
|
|
210
|
+
e.call(n, i, r) && t.push(r);
|
|
211
|
+
}, this), this._seriesIndices = t, this._seriesIndicesMap = C(t);
|
|
212
|
+
}, o.prototype.restoreData = function(e) {
|
|
208
213
|
O(this);
|
|
209
214
|
var n = this._componentsMap, t = [];
|
|
210
|
-
n.each(function(r,
|
|
211
|
-
|
|
212
|
-
}),
|
|
213
|
-
h(n.get(r), function(
|
|
214
|
-
|
|
215
|
+
n.each(function(r, i) {
|
|
216
|
+
g.hasClass(i) && t.push(i);
|
|
217
|
+
}), g.topologicalTravel(t, g.getAllClassMainTypes(), function(r) {
|
|
218
|
+
h(n.get(r), function(i) {
|
|
219
|
+
i && (r !== "series" || !ie(i, e)) && i.restoreData();
|
|
215
220
|
});
|
|
216
221
|
});
|
|
217
|
-
},
|
|
222
|
+
}, o.internalField = (function() {
|
|
218
223
|
O = function(e) {
|
|
219
224
|
var n = e._seriesIndices = [];
|
|
220
225
|
h(e._componentsMap.get("series"), function(t) {
|
|
221
226
|
t && n.push(t.componentIndex);
|
|
222
|
-
}), e._seriesIndicesMap =
|
|
227
|
+
}), e._seriesIndicesMap = C(n);
|
|
223
228
|
}, I = function(e) {
|
|
224
|
-
},
|
|
225
|
-
e.option = {}, e.option[
|
|
229
|
+
}, D = function(e, n) {
|
|
230
|
+
e.option = {}, e.option[R] = re, e._componentsMap = C({
|
|
226
231
|
series: []
|
|
227
|
-
}), e._componentsCount =
|
|
232
|
+
}), e._componentsCount = C();
|
|
228
233
|
var t = n.aria;
|
|
229
|
-
|
|
234
|
+
G(t) && t.enabled == null && (t.enabled = !0), se(n, e._theme.option), B(n, $, !1), e._mergeOption(n, null);
|
|
230
235
|
};
|
|
231
|
-
})(),
|
|
232
|
-
})(
|
|
236
|
+
})(), o;
|
|
237
|
+
})(P)
|
|
233
238
|
);
|
|
234
|
-
function
|
|
235
|
-
if (
|
|
236
|
-
var e =
|
|
237
|
-
return e != null &&
|
|
239
|
+
function ie(p, o) {
|
|
240
|
+
if (o) {
|
|
241
|
+
var e = o.seriesIndex, n = o.seriesId, t = o.seriesName;
|
|
242
|
+
return e != null && p.componentIndex !== e || n != null && p.id !== n || t != null && p.name !== t;
|
|
238
243
|
}
|
|
239
244
|
}
|
|
240
|
-
function se(
|
|
241
|
-
var e =
|
|
242
|
-
h(
|
|
243
|
-
t === "colorLayer" && e ||
|
|
245
|
+
function se(p, o) {
|
|
246
|
+
var e = p.color && !p.colorLayer;
|
|
247
|
+
h(o, function(n, t) {
|
|
248
|
+
t === "colorLayer" && e || g.hasClass(t) || (typeof n == "object" ? p[t] = p[t] ? B(p[t], n, !1) : A(n) : p[t] == null && (p[t] = n));
|
|
244
249
|
});
|
|
245
250
|
}
|
|
246
|
-
function
|
|
247
|
-
if (
|
|
248
|
-
var n =
|
|
249
|
-
return h(
|
|
251
|
+
function F(p, o, e) {
|
|
252
|
+
if (Z(o)) {
|
|
253
|
+
var n = C();
|
|
254
|
+
return h(o, function(r) {
|
|
250
255
|
if (r != null) {
|
|
251
|
-
var
|
|
252
|
-
|
|
256
|
+
var i = L(r, null);
|
|
257
|
+
i != null && n.set(r, !0);
|
|
253
258
|
}
|
|
254
|
-
}),
|
|
255
|
-
return r && n.get(r[
|
|
259
|
+
}), v(e, function(r) {
|
|
260
|
+
return r && n.get(r[p]);
|
|
256
261
|
});
|
|
257
262
|
} else {
|
|
258
|
-
var t =
|
|
259
|
-
return
|
|
260
|
-
return r && t != null && r[
|
|
263
|
+
var t = L(o, null);
|
|
264
|
+
return v(e, function(r) {
|
|
265
|
+
return r && t != null && r[p] === t;
|
|
261
266
|
});
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
266
|
-
return e && e.subType ===
|
|
267
|
-
}) :
|
|
269
|
+
function H(p, o) {
|
|
270
|
+
return o.hasOwnProperty("subType") ? v(p, function(e) {
|
|
271
|
+
return e && e.subType === o.subType;
|
|
272
|
+
}) : p;
|
|
268
273
|
}
|
|
269
|
-
function
|
|
270
|
-
var
|
|
271
|
-
return
|
|
272
|
-
|
|
274
|
+
function V(p) {
|
|
275
|
+
var o = C();
|
|
276
|
+
return p && h(T(p.replaceMerge), function(e) {
|
|
277
|
+
o.set(e, !0);
|
|
273
278
|
}), {
|
|
274
|
-
replaceMergeMainTypeMap:
|
|
279
|
+
replaceMergeMainTypeMap: o
|
|
275
280
|
};
|
|
276
281
|
}
|
|
277
|
-
|
|
282
|
+
q(oe, ne);
|
|
278
283
|
export {
|
|
279
|
-
|
|
284
|
+
oe as default
|
|
280
285
|
};
|
|
@@ -5,13 +5,15 @@ import h from "./mixin/textStyle.js";
|
|
|
5
5
|
import { LineStyleMixin as c } from "./mixin/lineStyle.js";
|
|
6
6
|
import { ItemStyleMixin as m } from "./mixin/itemStyle.js";
|
|
7
7
|
import { merge as d, clone as y, mixin as p } from "../../../zrender/lib/core/util.js";
|
|
8
|
-
var
|
|
8
|
+
var l = (
|
|
9
9
|
/** @class */
|
|
10
10
|
(function() {
|
|
11
11
|
function n(t, e, o) {
|
|
12
12
|
this.parentModel = e, this.ecModel = o, this.option = t;
|
|
13
13
|
}
|
|
14
14
|
return n.prototype.init = function(t, e, o) {
|
|
15
|
+
for (var i = [], r = 3; r < arguments.length; r++)
|
|
16
|
+
i[r - 3] = arguments[r];
|
|
15
17
|
}, n.prototype.mergeOption = function(t, e) {
|
|
16
18
|
d(this.option, t, !0);
|
|
17
19
|
}, n.prototype.get = function(t, e) {
|
|
@@ -19,13 +21,13 @@ var r = (
|
|
|
19
21
|
}, n.prototype.getShallow = function(t, e) {
|
|
20
22
|
var o = this.option, i = o == null ? o : o[t];
|
|
21
23
|
if (i == null && !e) {
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
+
var r = this.parentModel;
|
|
25
|
+
r && (i = r.getShallow(t));
|
|
24
26
|
}
|
|
25
27
|
return i;
|
|
26
28
|
}, n.prototype.getModel = function(t, e) {
|
|
27
|
-
var o = t != null, i = o ? this.parsePath(t) : null,
|
|
28
|
-
return e = e || this.parentModel && this.parentModel.getModel(this.resolveParentPath(i)), new n(
|
|
29
|
+
var o = t != null, i = o ? this.parsePath(t) : null, r = o ? this._doGet(i) : this.option;
|
|
30
|
+
return e = e || this.parentModel && this.parentModel.getModel(this.resolveParentPath(i)), new n(r, e, this.ecModel);
|
|
29
31
|
}, n.prototype.isEmpty = function() {
|
|
30
32
|
return this.option == null;
|
|
31
33
|
}, n.prototype.restoreData = function() {
|
|
@@ -53,12 +55,12 @@ var r = (
|
|
|
53
55
|
}, n;
|
|
54
56
|
})()
|
|
55
57
|
);
|
|
56
|
-
a(
|
|
57
|
-
u(
|
|
58
|
-
p(
|
|
59
|
-
p(
|
|
60
|
-
p(
|
|
61
|
-
p(
|
|
58
|
+
a(l);
|
|
59
|
+
u(l);
|
|
60
|
+
p(l, c);
|
|
61
|
+
p(l, m);
|
|
62
|
+
p(l, f);
|
|
63
|
+
p(l, h);
|
|
62
64
|
export {
|
|
63
|
-
|
|
65
|
+
l as default
|
|
64
66
|
};
|