web-core-tcm 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/globals.js +1 -0
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.js +10 -8
- package/dist/src/api/check/alova/globals.js +1 -0
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.js +5 -6
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/globals.js +1 -0
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.js +10 -9
- package/dist/src/api/index.js +28 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/globals.js +1 -0
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.js +13 -11
- package/dist/src/api/outpatient/alova/globals.js +1 -0
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/globals.js +1 -0
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.js +9 -12
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/globals.js +1 -0
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.js +8 -7
- package/dist/src/api/scientist/alova/globals.js +1 -0
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +63 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import fr from "../../../zrender/lib/core/WeakMap.js";
|
|
2
2
|
import gr from "../../../zrender/lib/core/LRU.js";
|
|
3
|
-
import { defaults as vr, isArray as ur, isString as
|
|
3
|
+
import { defaults as vr, isArray as ur, isString as z, isNumber as A, map as K } from "../../../zrender/lib/core/util.js";
|
|
4
4
|
import { getLeastCommonMultiple as F } from "./number.js";
|
|
5
5
|
import { createSymbol as cr } from "./symbol.js";
|
|
6
6
|
import { brushSingle as sr } from "../../../zrender/lib/canvas/graphic.js";
|
|
7
7
|
import { platformApi as mr } from "../../../zrender/lib/core/platform.js";
|
|
8
|
-
var
|
|
9
|
-
function
|
|
8
|
+
var H = new fr(), G = new gr(100), Z = ["symbol", "symbolSize", "symbolKeepAspect", "color", "backgroundColor", "dashArrayX", "dashArrayY", "maxTileWidth", "maxTileHeight"];
|
|
9
|
+
function Mr(r, t) {
|
|
10
10
|
if (r === "none")
|
|
11
11
|
return null;
|
|
12
12
|
var e = t.getDevicePixelRatio(), a = t.getZr(), l = a.painter.type === "svg";
|
|
13
|
-
r.dirty &&
|
|
14
|
-
var
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
13
|
+
r.dirty && H.delete(r);
|
|
14
|
+
var N = H.get(r);
|
|
15
|
+
if (N)
|
|
16
|
+
return N;
|
|
17
17
|
var i = vr(r, {
|
|
18
18
|
symbol: "rect",
|
|
19
19
|
symbolSize: 1,
|
|
@@ -30,71 +30,73 @@ function zr(r, t) {
|
|
|
30
30
|
var g = {
|
|
31
31
|
repeat: "repeat"
|
|
32
32
|
};
|
|
33
|
-
return $(g), g.rotation = i.rotation, g.scaleX = g.scaleY = l ? 1 : 1 / e,
|
|
33
|
+
return $(g), g.rotation = i.rotation, g.scaleX = g.scaleY = l ? 1 : 1 / e, H.set(r, g), r.dirty = !1, g;
|
|
34
34
|
function $(p) {
|
|
35
|
-
for (var
|
|
35
|
+
for (var P = [e], M = !0, C = 0; C < Z.length; ++C) {
|
|
36
36
|
var y = i[Z[C]];
|
|
37
|
-
if (y != null && !ur(y) && !
|
|
38
|
-
|
|
37
|
+
if (y != null && !ur(y) && !z(y) && !A(y) && typeof y != "boolean") {
|
|
38
|
+
M = !1;
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
P.push(y);
|
|
42
42
|
}
|
|
43
|
-
var
|
|
44
|
-
if (
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
|
|
43
|
+
var T;
|
|
44
|
+
if (M) {
|
|
45
|
+
T = P.join(",") + (l ? "-svg" : "");
|
|
46
|
+
var L = G.get(T);
|
|
47
|
+
L && (l ? p.svgElement = L : p.image = L);
|
|
48
48
|
}
|
|
49
|
-
var v = J(i.dashArrayX), u = pr(i.dashArrayY),
|
|
49
|
+
var v = J(i.dashArrayX), u = pr(i.dashArrayY), d = q(i.symbol), x = yr(v), R = Q(u), h = !l && mr.createCanvas(), X = l && {
|
|
50
50
|
tag: "g",
|
|
51
51
|
attrs: {},
|
|
52
52
|
key: "dcl",
|
|
53
53
|
children: []
|
|
54
|
-
}, b =
|
|
55
|
-
h && (h.width = b.width * e, h.height = b.height * e, k = h.getContext("2d")),
|
|
56
|
-
function
|
|
57
|
-
for (var c = 1, n = 0, s =
|
|
58
|
-
c = F(c,
|
|
59
|
-
for (var o = 1, n = 0, s =
|
|
60
|
-
o = F(o,
|
|
54
|
+
}, b = O(), k;
|
|
55
|
+
h && (h.width = b.width * e, h.height = b.height * e, k = h.getContext("2d")), _(), M && G.put(T, h || X), p.image = h, p.svgElement = X, p.svgWidth = b.width, p.svgHeight = b.height;
|
|
56
|
+
function O() {
|
|
57
|
+
for (var c = 1, n = 0, s = x.length; n < s; ++n)
|
|
58
|
+
c = F(c, x[n]);
|
|
59
|
+
for (var o = 1, n = 0, s = d.length; n < s; ++n)
|
|
60
|
+
o = F(o, d[n].length);
|
|
61
61
|
c *= o;
|
|
62
|
-
var
|
|
62
|
+
var w = R * x.length * d.length;
|
|
63
|
+
if (0)
|
|
64
|
+
var f;
|
|
63
65
|
return {
|
|
64
66
|
width: Math.max(1, Math.min(c, i.maxTileWidth)),
|
|
65
|
-
height: Math.max(1, Math.min(
|
|
67
|
+
height: Math.max(1, Math.min(w, i.maxTileHeight))
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
|
-
function
|
|
70
|
+
function _() {
|
|
69
71
|
k && (k.clearRect(0, 0, h.width, h.height), i.backgroundColor && (k.fillStyle = i.backgroundColor, k.fillRect(0, 0, h.width, h.height)));
|
|
70
72
|
for (var c = 0, n = 0; n < u.length; ++n)
|
|
71
73
|
c += u[n];
|
|
72
74
|
if (c <= 0)
|
|
73
75
|
return;
|
|
74
|
-
for (var s = -
|
|
76
|
+
for (var s = -R, o = 0, w = 0, f = 0; s < b.height; ) {
|
|
75
77
|
if (o % 2 === 0) {
|
|
76
|
-
for (var
|
|
77
|
-
for (var
|
|
78
|
-
|
|
79
|
-
if (
|
|
78
|
+
for (var W = w / 2 % d.length, Y = 0, m = 0, D = 0; Y < b.width * 2; ) {
|
|
79
|
+
for (var B = 0, n = 0; n < v[f].length; ++n)
|
|
80
|
+
B += v[f][n];
|
|
81
|
+
if (B <= 0)
|
|
80
82
|
break;
|
|
81
83
|
if (m % 2 === 0) {
|
|
82
|
-
var
|
|
83
|
-
ar(j, I, rr, er,
|
|
84
|
+
var V = (1 - i.symbolSize) * 0.5, j = Y + v[f][m] * V, I = s + u[o] * V, rr = v[f][m] * i.symbolSize, er = u[o] * i.symbolSize, tr = D / 2 % d[W].length;
|
|
85
|
+
ar(j, I, rr, er, d[W][tr]);
|
|
84
86
|
}
|
|
85
|
-
|
|
87
|
+
Y += v[f][m], ++D, ++m, m === v[f].length && (m = 0);
|
|
86
88
|
}
|
|
87
89
|
++f, f === v.length && (f = 0);
|
|
88
90
|
}
|
|
89
|
-
s += u[o], ++
|
|
91
|
+
s += u[o], ++w, ++o, o === u.length && (o = 0);
|
|
90
92
|
}
|
|
91
93
|
function ar(ir, nr, lr, or, hr) {
|
|
92
|
-
var
|
|
94
|
+
var S = l ? 1 : e, E = cr(hr, ir * S, nr * S, lr * S, or * S, i.color, i.symbolKeepAspect);
|
|
93
95
|
if (l) {
|
|
94
|
-
var U = a.painter.renderOneToVNode(
|
|
95
|
-
U &&
|
|
96
|
+
var U = a.painter.renderOneToVNode(E);
|
|
97
|
+
U && X.children.push(U);
|
|
96
98
|
} else
|
|
97
|
-
sr(k,
|
|
99
|
+
sr(k, E);
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
102
|
}
|
|
@@ -102,39 +104,39 @@ function zr(r, t) {
|
|
|
102
104
|
function q(r) {
|
|
103
105
|
if (!r || r.length === 0)
|
|
104
106
|
return [["rect"]];
|
|
105
|
-
if (
|
|
107
|
+
if (z(r))
|
|
106
108
|
return [[r]];
|
|
107
109
|
for (var t = !0, e = 0; e < r.length; ++e)
|
|
108
|
-
if (!
|
|
110
|
+
if (!z(r[e])) {
|
|
109
111
|
t = !1;
|
|
110
112
|
break;
|
|
111
113
|
}
|
|
112
114
|
if (t)
|
|
113
115
|
return q([r]);
|
|
114
116
|
for (var a = [], e = 0; e < r.length; ++e)
|
|
115
|
-
|
|
117
|
+
z(r[e]) ? a.push([r[e]]) : a.push(r[e]);
|
|
116
118
|
return a;
|
|
117
119
|
}
|
|
118
120
|
function J(r) {
|
|
119
121
|
if (!r || r.length === 0)
|
|
120
122
|
return [[0, 0]];
|
|
121
|
-
if (
|
|
123
|
+
if (A(r)) {
|
|
122
124
|
var t = Math.ceil(r);
|
|
123
125
|
return [[t, t]];
|
|
124
126
|
}
|
|
125
127
|
for (var e = !0, a = 0; a < r.length; ++a)
|
|
126
|
-
if (!
|
|
128
|
+
if (!A(r[a])) {
|
|
127
129
|
e = !1;
|
|
128
130
|
break;
|
|
129
131
|
}
|
|
130
132
|
if (e)
|
|
131
133
|
return J([r]);
|
|
132
134
|
for (var l = [], a = 0; a < r.length; ++a)
|
|
133
|
-
if (
|
|
135
|
+
if (A(r[a])) {
|
|
134
136
|
var t = Math.ceil(r[a]);
|
|
135
137
|
l.push([t, t]);
|
|
136
138
|
} else {
|
|
137
|
-
var t =
|
|
139
|
+
var t = K(r[a], function(g) {
|
|
138
140
|
return Math.ceil(g);
|
|
139
141
|
});
|
|
140
142
|
t.length % 2 === 1 ? l.push(t.concat(t)) : l.push(t);
|
|
@@ -144,17 +146,17 @@ function J(r) {
|
|
|
144
146
|
function pr(r) {
|
|
145
147
|
if (!r || typeof r == "object" && r.length === 0)
|
|
146
148
|
return [0, 0];
|
|
147
|
-
if (
|
|
149
|
+
if (A(r)) {
|
|
148
150
|
var t = Math.ceil(r);
|
|
149
151
|
return [t, t];
|
|
150
152
|
}
|
|
151
|
-
var e =
|
|
153
|
+
var e = K(r, function(a) {
|
|
152
154
|
return Math.ceil(a);
|
|
153
155
|
});
|
|
154
156
|
return r.length % 2 ? e.concat(e) : e;
|
|
155
157
|
}
|
|
156
158
|
function yr(r) {
|
|
157
|
-
return
|
|
159
|
+
return K(r, function(t) {
|
|
158
160
|
return Q(t);
|
|
159
161
|
});
|
|
160
162
|
}
|
|
@@ -164,5 +166,5 @@ function Q(r) {
|
|
|
164
166
|
return r.length % 2 === 1 ? t * 2 : t;
|
|
165
167
|
}
|
|
166
168
|
export {
|
|
167
|
-
|
|
169
|
+
Mr as createOrUpdatePatternFromDecal
|
|
168
170
|
};
|
|
@@ -1,111 +1,127 @@
|
|
|
1
|
-
import { isString as
|
|
2
|
-
import { encodeHTML as
|
|
3
|
-
import { isNumeric as
|
|
4
|
-
import { format as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { isString as s, normalizeCssArray as v, trim as T, isStringSafe as h, isNumber as M, isArray as S, each as w, isObject as A } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import { encodeHTML as l } from "../../../zrender/lib/core/dom.js";
|
|
3
|
+
import { isNumeric as R, parseDate as y, numericToNumber as C } from "./number.js";
|
|
4
|
+
import { format as N, pad as d } from "./time.js";
|
|
5
|
+
import "./log.js";
|
|
6
|
+
import { truncateText as G } from "../../../zrender/lib/graphic/helper/parseText.js";
|
|
7
|
+
import { getTextRect as K } from "../legacy/getTextRect.js";
|
|
8
|
+
function U(r) {
|
|
9
|
+
if (!R(r))
|
|
10
|
+
return s(r) ? r : "-";
|
|
8
11
|
var e = (r + "").split(".");
|
|
9
12
|
return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, "$1,") + (e.length > 1 ? "." + e[1] : "");
|
|
10
13
|
}
|
|
11
|
-
function
|
|
12
|
-
return r = (r || "").toLowerCase().replace(/-(.)/g, function(
|
|
13
|
-
return
|
|
14
|
+
function L(r, e) {
|
|
15
|
+
return r = (r || "").toLowerCase().replace(/-(.)/g, function(o, a) {
|
|
16
|
+
return a.toUpperCase();
|
|
14
17
|
}), e && r && (r = r.charAt(0).toUpperCase() + r.slice(1)), r;
|
|
15
18
|
}
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
19
|
+
var V = v;
|
|
20
|
+
function $(r, e, o) {
|
|
21
|
+
var a = "{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";
|
|
22
|
+
function n(f) {
|
|
23
|
+
return f && T(f) ? f : "-";
|
|
21
24
|
}
|
|
22
|
-
function
|
|
23
|
-
return !!(
|
|
25
|
+
function i(f) {
|
|
26
|
+
return !!(f != null && !isNaN(f) && isFinite(f));
|
|
24
27
|
}
|
|
25
28
|
var t = e === "time", c = r instanceof Date;
|
|
26
29
|
if (t || c) {
|
|
27
|
-
var
|
|
28
|
-
if (isNaN(+
|
|
30
|
+
var p = t ? y(r) : r;
|
|
31
|
+
if (isNaN(+p)) {
|
|
29
32
|
if (c)
|
|
30
33
|
return "-";
|
|
31
|
-
} else return
|
|
34
|
+
} else return N(p, a, o);
|
|
32
35
|
}
|
|
33
36
|
if (e === "ordinal")
|
|
34
|
-
return
|
|
35
|
-
var
|
|
36
|
-
return
|
|
37
|
+
return h(r) ? n(r) : M(r) && i(r) ? r + "" : "-";
|
|
38
|
+
var m = C(r);
|
|
39
|
+
return i(m) ? U(m) : h(r) ? n(r) : typeof r == "boolean" ? r + "" : "-";
|
|
37
40
|
}
|
|
38
|
-
var g = ["a", "b", "c", "d", "e", "f", "g"],
|
|
41
|
+
var g = ["a", "b", "c", "d", "e", "f", "g"], u = function(r, e) {
|
|
39
42
|
return "{" + r + (e ?? "") + "}";
|
|
40
43
|
};
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
if (!
|
|
44
|
+
function x(r, e, o) {
|
|
45
|
+
S(e) || (e = [e]);
|
|
46
|
+
var a = e.length;
|
|
47
|
+
if (!a)
|
|
45
48
|
return "";
|
|
46
|
-
for (var
|
|
47
|
-
var t = g[
|
|
48
|
-
r = r.replace(
|
|
49
|
+
for (var n = e[0].$vars || [], i = 0; i < n.length; i++) {
|
|
50
|
+
var t = g[i];
|
|
51
|
+
r = r.replace(u(t), u(t, 0));
|
|
49
52
|
}
|
|
50
|
-
for (var c = 0; c <
|
|
51
|
-
for (var
|
|
52
|
-
var
|
|
53
|
-
r = r.replace(
|
|
53
|
+
for (var c = 0; c < a; c++)
|
|
54
|
+
for (var p = 0; p < n.length; p++) {
|
|
55
|
+
var m = e[c][n[p]];
|
|
56
|
+
r = r.replace(u(g[p], c), o ? l(m) : m);
|
|
54
57
|
}
|
|
55
58
|
return r;
|
|
56
59
|
}
|
|
57
|
-
function z(r, e,
|
|
58
|
-
return
|
|
59
|
-
r = r.replace("{" +
|
|
60
|
+
function z(r, e, o) {
|
|
61
|
+
return w(e, function(a, n) {
|
|
62
|
+
r = r.replace("{" + n + "}", o ? l(a) : a);
|
|
60
63
|
}), r;
|
|
61
64
|
}
|
|
62
|
-
function
|
|
63
|
-
var
|
|
65
|
+
function P(r, e) {
|
|
66
|
+
var o = s(r) ? {
|
|
64
67
|
color: r,
|
|
65
68
|
extraCssText: e
|
|
66
|
-
} : r || {},
|
|
67
|
-
e =
|
|
68
|
-
var
|
|
69
|
-
if (!
|
|
69
|
+
} : r || {}, a = o.color, n = o.type;
|
|
70
|
+
e = o.extraCssText;
|
|
71
|
+
var i = o.renderMode || "html";
|
|
72
|
+
if (!a)
|
|
70
73
|
return "";
|
|
71
|
-
if (
|
|
72
|
-
return
|
|
73
|
-
var t =
|
|
74
|
+
if (i === "html")
|
|
75
|
+
return n === "subItem" ? '<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:' + l(a) + ";" + (e || "") + '"></span>' : '<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:' + l(a) + ";" + (e || "") + '"></span>';
|
|
76
|
+
var t = o.markerId || "markerX";
|
|
74
77
|
return {
|
|
75
|
-
renderMode:
|
|
78
|
+
renderMode: i,
|
|
76
79
|
content: "{" + t + "|} ",
|
|
77
|
-
style:
|
|
80
|
+
style: n === "subItem" ? {
|
|
78
81
|
width: 4,
|
|
79
82
|
height: 4,
|
|
80
83
|
borderRadius: 2,
|
|
81
|
-
backgroundColor:
|
|
84
|
+
backgroundColor: a
|
|
82
85
|
} : {
|
|
83
86
|
width: 10,
|
|
84
87
|
height: 10,
|
|
85
88
|
borderRadius: 5,
|
|
86
|
-
backgroundColor:
|
|
89
|
+
backgroundColor: a
|
|
87
90
|
}
|
|
88
91
|
};
|
|
89
92
|
}
|
|
90
|
-
function
|
|
91
|
-
|
|
93
|
+
function j(r, e, o) {
|
|
94
|
+
(r === "week" || r === "month" || r === "quarter" || r === "half-year" || r === "year") && (r = `MM-dd
|
|
95
|
+
yyyy`);
|
|
96
|
+
var a = y(e), n = o ? "getUTC" : "get", i = a[n + "FullYear"](), t = a[n + "Month"]() + 1, c = a[n + "Date"](), p = a[n + "Hours"](), m = a[n + "Minutes"](), f = a[n + "Seconds"](), b = a[n + "Milliseconds"]();
|
|
97
|
+
return r = r.replace("MM", d(t, 2)).replace("M", t).replace("yyyy", i).replace("yy", d(i % 100 + "", 2)).replace("dd", d(c, 2)).replace("d", c).replace("hh", d(p, 2)).replace("h", p).replace("mm", d(m, 2)).replace("m", m).replace("ss", d(f, 2)).replace("s", f).replace("SSS", d(b, 3)), r;
|
|
92
98
|
}
|
|
93
|
-
function
|
|
99
|
+
function q(r) {
|
|
100
|
+
return r && r.charAt(0).toUpperCase() + r.substr(1);
|
|
101
|
+
}
|
|
102
|
+
function B(r, e) {
|
|
103
|
+
return e = e || "transparent", s(r) ? r : A(r) && r.colorStops && (r.colorStops[0] || {}).color || e;
|
|
104
|
+
}
|
|
105
|
+
function I(r, e) {
|
|
94
106
|
if (e === "_blank" || e === "blank") {
|
|
95
|
-
var
|
|
96
|
-
|
|
107
|
+
var o = window.open();
|
|
108
|
+
o.opener = null, o.location.href = r;
|
|
97
109
|
} else
|
|
98
110
|
window.open(r, e);
|
|
99
111
|
}
|
|
100
112
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
113
|
+
U as addCommas,
|
|
114
|
+
q as capitalFirst,
|
|
115
|
+
B as convertToColorString,
|
|
116
|
+
l as encodeHTML,
|
|
117
|
+
j as formatTime,
|
|
118
|
+
x as formatTpl,
|
|
105
119
|
z as formatTplSimple,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
L as
|
|
120
|
+
K as getTextRect,
|
|
121
|
+
P as getTooltipMarker,
|
|
122
|
+
$ as makeValueReadable,
|
|
123
|
+
V as normalizeCssArray,
|
|
124
|
+
L as toCamelCase,
|
|
125
|
+
G as truncateText,
|
|
126
|
+
I as windowOpen
|
|
111
127
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { extendFromString as L, createFromString as R, mergePath as B } from "../../../zrender/lib/tool/path.js";
|
|
2
|
+
import { identity as E, mul as S, invert as G } from "../../../zrender/lib/core/matrix.js";
|
|
3
3
|
import { applyTransform as $ } from "../../../zrender/lib/core/vector.js";
|
|
4
4
|
import A from "../../../zrender/lib/graphic/Path.js";
|
|
5
5
|
import D from "../../../zrender/lib/core/Transformable.js";
|
|
@@ -23,8 +23,8 @@ import { default as mt } from "../../../zrender/lib/core/BoundingRect.js";
|
|
|
23
23
|
import { default as ut } from "../../../zrender/lib/core/OrientedBoundingRect.js";
|
|
24
24
|
import { default as ht } from "../../../zrender/lib/core/Point.js";
|
|
25
25
|
import { default as lt } from "../../../zrender/lib/graphic/IncrementalDisplayable.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
26
|
+
import { subPixelOptimizeLine as K, subPixelOptimizeRect as Q, subPixelOptimize as U } from "../../../zrender/lib/graphic/helper/subPixelOptimize.js";
|
|
27
|
+
import { isArrayLike as V, extend as M, map as X, defaults as z, isString as Y, each as ee, keys as te, hasOwn as re, isArray as ie } from "../../../zrender/lib/core/util.js";
|
|
28
28
|
import { getECData as I } from "./innerStore.js";
|
|
29
29
|
import { updateProps as ne } from "../animation/basicTransition.js";
|
|
30
30
|
import { initProps as dt, isElementRemoved as xt, removeElement as ct, removeElementWithFadeOut as gt } from "../animation/basicTransition.js";
|
|
@@ -32,7 +32,7 @@ var s = Math.max, l = Math.min, x = {};
|
|
|
32
32
|
function Ee(e) {
|
|
33
33
|
return A.extend(e);
|
|
34
34
|
}
|
|
35
|
-
var ae =
|
|
35
|
+
var ae = L;
|
|
36
36
|
function Se(e, t) {
|
|
37
37
|
return ae(e, t);
|
|
38
38
|
}
|
|
@@ -44,7 +44,7 @@ function Ge(e) {
|
|
|
44
44
|
return x[e];
|
|
45
45
|
}
|
|
46
46
|
function oe(e, t, r, i) {
|
|
47
|
-
var n =
|
|
47
|
+
var n = R(e, t);
|
|
48
48
|
return r && (i === "center" && (r = C(r, n.getBoundingRect())), me(n, r)), n;
|
|
49
49
|
}
|
|
50
50
|
function $e(e, t, r) {
|
|
@@ -79,7 +79,7 @@ function C(e, t) {
|
|
|
79
79
|
height: n
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
var Ae =
|
|
82
|
+
var Ae = B;
|
|
83
83
|
function me(e, t) {
|
|
84
84
|
if (e.applyTransform) {
|
|
85
85
|
var r = e.getBoundingRect(), i = r.calculateTransform(t);
|
|
@@ -87,21 +87,21 @@ function me(e, t) {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
function De(e, t) {
|
|
90
|
-
return
|
|
90
|
+
return K(e, e, {
|
|
91
91
|
lineWidth: t
|
|
92
92
|
}), e;
|
|
93
93
|
}
|
|
94
94
|
function Fe(e) {
|
|
95
|
-
return
|
|
95
|
+
return Q(e.shape, e.shape, e.style), e;
|
|
96
96
|
}
|
|
97
|
-
var Ne =
|
|
97
|
+
var Ne = U;
|
|
98
98
|
function je(e, t) {
|
|
99
|
-
for (var r =
|
|
100
|
-
|
|
99
|
+
for (var r = E([]); e && e !== t; )
|
|
100
|
+
S(r, e.getLocalTransform(), r), e = e.parent;
|
|
101
101
|
return r;
|
|
102
102
|
}
|
|
103
103
|
function fe(e, t, r) {
|
|
104
|
-
return t && !
|
|
104
|
+
return t && !V(t) && (t = D.getLocalTransform(t)), r && (t = G([], t)), $([], e, t);
|
|
105
105
|
}
|
|
106
106
|
function ke(e, t, r) {
|
|
107
107
|
var i = t[4] === 0 || t[5] === 0 || t[0] === 0 ? 1 : Math.abs(2 * t[4] / t[0]), n = t[4] === 0 || t[5] === 0 || t[2] === 0 ? 1 : Math.abs(2 * t[4] / t[2]), a = [e === "left" ? -i : e === "right" ? i : 0, e === "top" ? -n : e === "bottom" ? n : 0];
|
|
@@ -128,7 +128,7 @@ function He(e, t, r) {
|
|
|
128
128
|
y: o.y,
|
|
129
129
|
rotation: o.rotation
|
|
130
130
|
};
|
|
131
|
-
return ue(o) && (m.shape =
|
|
131
|
+
return ue(o) && (m.shape = M({}, o.shape)), m;
|
|
132
132
|
}
|
|
133
133
|
var a = i(e);
|
|
134
134
|
t.traverse(function(o) {
|
|
@@ -142,7 +142,7 @@ function He(e, t, r) {
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
function We(e, t) {
|
|
145
|
-
return
|
|
145
|
+
return X(e, function(r) {
|
|
146
146
|
var i = r[0];
|
|
147
147
|
i = s(i, t.x), i = l(i, t.x + t.width);
|
|
148
148
|
var n = r[1];
|
|
@@ -160,7 +160,7 @@ function Ze(e, t) {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
function qe(e, t, r) {
|
|
163
|
-
var i =
|
|
163
|
+
var i = M({
|
|
164
164
|
rectHover: !0
|
|
165
165
|
}, t), n = i.style = {
|
|
166
166
|
strokeNoScale: !0
|
|
@@ -171,7 +171,7 @@ function qe(e, t, r) {
|
|
|
171
171
|
width: 2,
|
|
172
172
|
height: 2
|
|
173
173
|
}, e)
|
|
174
|
-
return e.indexOf("image://") === 0 ? (n.image = e.slice(8),
|
|
174
|
+
return e.indexOf("image://") === 0 ? (n.image = e.slice(8), z(n, r), new b(i)) : oe(e.replace("path://", ""), i, r, "center");
|
|
175
175
|
}
|
|
176
176
|
function _e(e, t, r, i, n) {
|
|
177
177
|
for (var a = 0, o = n[n.length - 1]; a < n.length; a++) {
|
|
@@ -198,7 +198,7 @@ function he(e) {
|
|
|
198
198
|
return e <= 1e-6 && e >= -1e-6;
|
|
199
199
|
}
|
|
200
200
|
function Je(e) {
|
|
201
|
-
var t = e.itemTooltipOption, r = e.componentModel, i = e.itemName, n =
|
|
201
|
+
var t = e.itemTooltipOption, r = e.componentModel, i = e.itemName, n = Y(t) ? {
|
|
202
202
|
formatter: t
|
|
203
203
|
} : t, a = r.mainType, o = r.componentIndex, m = {
|
|
204
204
|
componentType: a,
|
|
@@ -207,13 +207,13 @@ function Je(e) {
|
|
|
207
207
|
};
|
|
208
208
|
m[a + "Index"] = o;
|
|
209
209
|
var f = e.formatterParamsExtra;
|
|
210
|
-
f &&
|
|
211
|
-
|
|
210
|
+
f && ee(te(f), function(p) {
|
|
211
|
+
re(m, p) || (m[p] = f[p], m.$vars.push(p));
|
|
212
212
|
});
|
|
213
213
|
var h = I(e.el);
|
|
214
214
|
h.componentMainType = a, h.componentIndex = o, h.tooltipConfig = {
|
|
215
215
|
name: i,
|
|
216
|
-
option:
|
|
216
|
+
option: z({
|
|
217
217
|
content: i,
|
|
218
218
|
encodeHTMLContent: !0,
|
|
219
219
|
formatterParams: m
|
|
@@ -226,7 +226,7 @@ function O(e, t) {
|
|
|
226
226
|
}
|
|
227
227
|
function Ke(e, t) {
|
|
228
228
|
if (e)
|
|
229
|
-
if (
|
|
229
|
+
if (ie(e))
|
|
230
230
|
for (var r = 0; r < e.length; r++)
|
|
231
231
|
O(e[r], t);
|
|
232
232
|
else
|