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,86 +1,93 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { each as
|
|
1
|
+
import { __extends as d } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as p, extend as T, merge as _, filter as O } from "../../../../zrender/lib/core/util.js";
|
|
3
3
|
import { mappingToExists as g } from "../../util/model.js";
|
|
4
|
-
import
|
|
5
|
-
import { mergeLayoutParam as
|
|
6
|
-
function
|
|
7
|
-
var
|
|
8
|
-
if (
|
|
9
|
-
var i =
|
|
10
|
-
i ?
|
|
4
|
+
import I from "../../model/Component.js";
|
|
5
|
+
import { mergeLayoutParam as S, copyLayoutParams as A } from "../../util/layout.js";
|
|
6
|
+
function C(n, t) {
|
|
7
|
+
var e = n.existing;
|
|
8
|
+
if (t.id = n.keyInfo.id, !t.type && e && (t.type = e.type), t.parentId == null) {
|
|
9
|
+
var i = t.parentOption;
|
|
10
|
+
i ? t.parentId = i.id : e && (t.parentId = e.parentId);
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
t.parentOption = null;
|
|
13
13
|
}
|
|
14
|
-
function m(n,
|
|
15
|
-
var
|
|
16
|
-
return
|
|
17
|
-
n[i] != null && n[i] !== "auto" && (
|
|
18
|
-
}),
|
|
14
|
+
function m(n, t) {
|
|
15
|
+
var e;
|
|
16
|
+
return p(t, function(i) {
|
|
17
|
+
n[i] != null && n[i] !== "auto" && (e = !0);
|
|
18
|
+
}), e;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
var i =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
function N(n, t, e) {
|
|
21
|
+
var i = T({}, e), a = n[t], o = e.$action || "merge";
|
|
22
|
+
if (o === "merge")
|
|
23
|
+
if (a) {
|
|
24
|
+
if (0)
|
|
25
|
+
var r;
|
|
26
|
+
_(a, i, !0), S(a, i, {
|
|
27
|
+
ignoreSize: !0
|
|
28
|
+
}), A(e, a), s(e, a), s(e, a, "shape"), s(e, a, "style"), s(e, a, "extra"), e.clipPath = a.clipPath;
|
|
29
|
+
} else
|
|
30
|
+
n[t] = i;
|
|
31
|
+
else o === "replace" ? n[t] = i : o === "remove" && a && (n[t] = null);
|
|
25
32
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
if (
|
|
29
|
-
for (var i =
|
|
30
|
-
var
|
|
31
|
-
n[
|
|
33
|
+
var c = ["transition", "enterFrom", "leaveTo"], R = c.concat(["enterAnimation", "updateAnimation", "leaveAnimation"]);
|
|
34
|
+
function s(n, t, e) {
|
|
35
|
+
if (e && (!n[e] && t[e] && (n[e] = {}), n = n[e], t = t[e]), !(!n || !t))
|
|
36
|
+
for (var i = e ? c : R, a = 0; a < i.length; a++) {
|
|
37
|
+
var o = i[a];
|
|
38
|
+
n[o] == null && t[o] != null && (n[o] = t[o]);
|
|
32
39
|
}
|
|
33
40
|
}
|
|
34
|
-
function U(n,
|
|
35
|
-
if (n && (n.hv =
|
|
41
|
+
function U(n, t) {
|
|
42
|
+
if (n && (n.hv = t.hv = [
|
|
36
43
|
// Rigid body, don't care about `width`.
|
|
37
|
-
m(
|
|
44
|
+
m(t, ["left", "right"]),
|
|
38
45
|
// Rigid body, don't care about `height`.
|
|
39
|
-
m(
|
|
46
|
+
m(t, ["top", "bottom"])
|
|
40
47
|
], n.type === "group")) {
|
|
41
|
-
var
|
|
42
|
-
|
|
48
|
+
var e = n, i = t;
|
|
49
|
+
e.width == null && (e.width = i.width = 0), e.height == null && (e.height = i.height = 0);
|
|
43
50
|
}
|
|
44
51
|
}
|
|
45
52
|
var k = (
|
|
46
53
|
/** @class */
|
|
47
54
|
(function(n) {
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
var
|
|
51
|
-
return
|
|
55
|
+
d(t, n);
|
|
56
|
+
function t() {
|
|
57
|
+
var e = n !== null && n.apply(this, arguments) || this;
|
|
58
|
+
return e.type = t.type, e.preventAutoZ = !0, e;
|
|
52
59
|
}
|
|
53
|
-
return
|
|
54
|
-
var
|
|
55
|
-
this.option.elements = null, n.prototype.mergeOption.call(this,
|
|
56
|
-
},
|
|
57
|
-
var
|
|
58
|
-
this._flatten(
|
|
59
|
-
var
|
|
60
|
-
|
|
60
|
+
return t.prototype.mergeOption = function(e, i) {
|
|
61
|
+
var a = this.option.elements;
|
|
62
|
+
this.option.elements = null, n.prototype.mergeOption.call(this, e, i), this.option.elements = a;
|
|
63
|
+
}, t.prototype.optionUpdated = function(e, i) {
|
|
64
|
+
var a = this.option, o = (i ? a : e).elements, r = a.elements = i ? [] : a.elements, h = [];
|
|
65
|
+
this._flatten(o, h, null);
|
|
66
|
+
var v = g(r, h, "normalMerge"), y = this._elOptionsToUpdate = [];
|
|
67
|
+
p(v, function(l, u) {
|
|
61
68
|
var f = l.newOption;
|
|
62
|
-
f && (
|
|
63
|
-
}, this),
|
|
69
|
+
f && (y.push(f), C(l, f), N(r, u, f), U(r[u], f));
|
|
70
|
+
}, this), a.elements = O(r, function(l) {
|
|
64
71
|
return l && delete l.$action, l != null;
|
|
65
72
|
});
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
if (
|
|
69
|
-
|
|
70
|
-
var r =
|
|
71
|
-
r && r.length && this._flatten(r, i,
|
|
73
|
+
}, t.prototype._flatten = function(e, i, a) {
|
|
74
|
+
p(e, function(o) {
|
|
75
|
+
if (o) {
|
|
76
|
+
a && (o.parentOption = a), i.push(o);
|
|
77
|
+
var r = o.children;
|
|
78
|
+
r && r.length && this._flatten(r, i, o), delete o.children;
|
|
72
79
|
}
|
|
73
80
|
}, this);
|
|
74
|
-
},
|
|
75
|
-
var
|
|
76
|
-
return this._elOptionsToUpdate = null,
|
|
77
|
-
},
|
|
81
|
+
}, t.prototype.useElOptionsToUpdate = function() {
|
|
82
|
+
var e = this._elOptionsToUpdate;
|
|
83
|
+
return this._elOptionsToUpdate = null, e;
|
|
84
|
+
}, t.type = "graphic", t.defaultOption = {
|
|
78
85
|
elements: []
|
|
79
86
|
// parentId: null
|
|
80
|
-
},
|
|
81
|
-
})(
|
|
87
|
+
}, t;
|
|
88
|
+
})(I)
|
|
82
89
|
);
|
|
83
90
|
export {
|
|
84
91
|
k as GraphicComponentModel,
|
|
85
|
-
|
|
92
|
+
C as setKeyInfoToNewElOption
|
|
86
93
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { createHashMap as $, each as
|
|
1
|
+
import { __extends as J } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { createHashMap as $, each as D, indexOf as Q, hasOwn as V, retrieve2 as X, keys as Y, isFunction as k, extend as P } from "../../../../zrender/lib/core/util.js";
|
|
3
3
|
import O from "../../../../zrender/lib/graphic/Displayable.js";
|
|
4
|
-
import {
|
|
4
|
+
import { makeInner as tt, convertOptionIdName as I } from "../../util/model.js";
|
|
5
5
|
import { setTooltipConfig as et, getShapeClass as rt } from "../../util/graphic.js";
|
|
6
6
|
import { positionElement as at, LOCATION_PARAMS as nt } from "../../util/layout.js";
|
|
7
7
|
import { parsePercent as F } from "../../util/number.js";
|
|
8
8
|
import it from "../../view/Component.js";
|
|
9
9
|
import { getECData as W } from "../../util/innerStore.js";
|
|
10
|
-
import { isEC4CompatibleStyle as ot, convertFromEC4CompatibleStyle as
|
|
11
|
-
import { applyUpdateTransition as
|
|
12
|
-
import { updateProps as
|
|
13
|
-
import { stopPreviousKeyframeAnimationAndRestore as
|
|
14
|
-
import
|
|
10
|
+
import { isEC4CompatibleStyle as ot, convertFromEC4CompatibleStyle as ft } from "../../util/styleCompat.js";
|
|
11
|
+
import { applyUpdateTransition as U, updateLeaveTo as vt, isTransitionAll as st, applyLeaveTransition as mt } from "../../animation/customGraphicTransition.js";
|
|
12
|
+
import { updateProps as pt } from "../../animation/basicTransition.js";
|
|
13
|
+
import { stopPreviousKeyframeAnimationAndRestore as ut, applyKeyframeAnimation as B } from "../../animation/customGraphicKeyframeAnimation.js";
|
|
14
|
+
import Z from "../../../../zrender/lib/graphic/Text.js";
|
|
15
15
|
import lt from "../../../../zrender/lib/graphic/Image.js";
|
|
16
|
-
import
|
|
17
|
-
var
|
|
16
|
+
import gt from "../../../../zrender/lib/graphic/Group.js";
|
|
17
|
+
var M = {
|
|
18
18
|
// Reserved but not supported in graphic component.
|
|
19
19
|
path: null,
|
|
20
20
|
compoundPath: null,
|
|
21
21
|
// Supported in graphic component.
|
|
22
|
-
group:
|
|
22
|
+
group: gt,
|
|
23
23
|
image: lt,
|
|
24
|
-
text:
|
|
25
|
-
},
|
|
24
|
+
text: Z
|
|
25
|
+
}, p = tt(), Ut = (
|
|
26
26
|
/** @class */
|
|
27
27
|
(function(t) {
|
|
28
|
-
|
|
28
|
+
J(a, t);
|
|
29
29
|
function a() {
|
|
30
30
|
var e = t !== null && t.apply(this, arguments) || this;
|
|
31
31
|
return e.type = a.type, e;
|
|
@@ -37,83 +37,83 @@ var R = {
|
|
|
37
37
|
}, a.prototype._updateElements = function(e) {
|
|
38
38
|
var i = e.useElOptionsToUpdate();
|
|
39
39
|
if (i) {
|
|
40
|
-
var r = this._elMap,
|
|
41
|
-
|
|
42
|
-
var C =
|
|
43
|
-
o === "text" &&
|
|
44
|
-
var
|
|
45
|
-
if (
|
|
46
|
-
var h =
|
|
47
|
-
!c && h.textConfig && (c = n.textConfig = h.textConfig), !
|
|
40
|
+
var r = this._elMap, v = this.group, b = e.get("z"), E = e.get("zlevel");
|
|
41
|
+
D(i, function(n) {
|
|
42
|
+
var C = I(n.id, null), m = C != null ? r.get(C) : null, l = I(n.parentId, null), y = l != null ? r.get(l) : v, o = n.type, s = n.style;
|
|
43
|
+
o === "text" && s && n.hv && n.hv[1] && (s.textVerticalAlign = s.textBaseline = s.verticalAlign = s.align = null);
|
|
44
|
+
var g = n.textContent, c = n.textConfig;
|
|
45
|
+
if (s && ot(s, o, !!c, !!g)) {
|
|
46
|
+
var h = ft(s, o, !0);
|
|
47
|
+
!c && h.textConfig && (c = n.textConfig = h.textConfig), !g && h.textContent && (g = h.textContent);
|
|
48
48
|
}
|
|
49
|
-
var _ = ht(n), w = n.$action || "merge",
|
|
50
|
-
if (
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
isInit:
|
|
54
|
-
}),
|
|
55
|
-
} else if (
|
|
56
|
-
|
|
57
|
-
var x =
|
|
58
|
-
x && (
|
|
49
|
+
var _ = ht(n), w = n.$action || "merge", A = w === "merge", T = w === "replace";
|
|
50
|
+
if (A) {
|
|
51
|
+
var d = !m, u = m;
|
|
52
|
+
d ? u = R(C, y, n.type, r) : (u && (p(u).isNew = !1), ut(u)), u && (U(u, _, e, {
|
|
53
|
+
isInit: d
|
|
54
|
+
}), j(u, n, b, E));
|
|
55
|
+
} else if (T) {
|
|
56
|
+
S(m, n, r, e);
|
|
57
|
+
var x = R(C, y, n.type, r);
|
|
58
|
+
x && (U(x, _, e, {
|
|
59
59
|
isInit: !0
|
|
60
|
-
}),
|
|
61
|
-
} else w === "remove" && (
|
|
62
|
-
var
|
|
63
|
-
if (
|
|
64
|
-
if (
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
} else
|
|
68
|
-
if (
|
|
69
|
-
var
|
|
70
|
-
if (
|
|
71
|
-
var
|
|
72
|
-
if (
|
|
73
|
-
var L =
|
|
74
|
-
|
|
75
|
-
} else
|
|
76
|
-
|
|
77
|
-
isInit:
|
|
78
|
-
}), B(
|
|
60
|
+
}), j(x, n, b, E));
|
|
61
|
+
} else w === "remove" && (vt(m, n), S(m, n, r, e));
|
|
62
|
+
var f = r.get(C);
|
|
63
|
+
if (f && g)
|
|
64
|
+
if (A) {
|
|
65
|
+
var K = f.getTextContent();
|
|
66
|
+
K ? K.attr(g) : f.setTextContent(new Z(g));
|
|
67
|
+
} else T && f.setTextContent(new Z(g));
|
|
68
|
+
if (f) {
|
|
69
|
+
var z = n.clipPath;
|
|
70
|
+
if (z) {
|
|
71
|
+
var N = z.type, G = void 0, d = !1;
|
|
72
|
+
if (A) {
|
|
73
|
+
var L = f.getClipPath();
|
|
74
|
+
d = !L || p(L).type !== N, G = d ? H(N) : L;
|
|
75
|
+
} else T && (d = !0, G = H(N));
|
|
76
|
+
f.setClipPath(G), U(G, z, e, {
|
|
77
|
+
isInit: d
|
|
78
|
+
}), B(G, z.keyframeAnimation, e);
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
|
|
82
|
-
el:
|
|
80
|
+
var q = p(f);
|
|
81
|
+
f.setTextConfig(c), q.option = n, dt(f, e, n), et({
|
|
82
|
+
el: f,
|
|
83
83
|
componentModel: e,
|
|
84
|
-
itemName:
|
|
84
|
+
itemName: f.name,
|
|
85
85
|
itemTooltipOption: n.tooltip
|
|
86
|
-
}), B(
|
|
86
|
+
}), B(f, n.keyframeAnimation, e);
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
}, a.prototype._relocate = function(e, i) {
|
|
91
|
-
for (var r = e.option.elements,
|
|
92
|
-
var l = r[
|
|
91
|
+
for (var r = e.option.elements, v = this.group, b = this._elMap, E = i.getWidth(), n = i.getHeight(), C = ["x", "y"], m = 0; m < r.length; m++) {
|
|
92
|
+
var l = r[m], y = I(l.id, null), o = y != null ? b.get(y) : null;
|
|
93
93
|
if (!(!o || !o.isGroup)) {
|
|
94
|
-
var
|
|
95
|
-
c.width = F(c.option.width,
|
|
94
|
+
var s = o.parent, g = s === v, c = p(o), h = p(s);
|
|
95
|
+
c.width = F(c.option.width, g ? E : h.width) || 0, c.height = F(c.option.height, g ? n : h.height) || 0;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
for (var
|
|
99
|
-
var l = r[
|
|
98
|
+
for (var m = r.length - 1; m >= 0; m--) {
|
|
99
|
+
var l = r[m], y = I(l.id, null), o = y != null ? b.get(y) : null;
|
|
100
100
|
if (o) {
|
|
101
|
-
var
|
|
102
|
-
width:
|
|
101
|
+
var s = o.parent, h = p(s), _ = s === v ? {
|
|
102
|
+
width: E,
|
|
103
103
|
height: n
|
|
104
104
|
} : {
|
|
105
105
|
width: h.width,
|
|
106
106
|
height: h.height
|
|
107
|
-
}, w = {},
|
|
107
|
+
}, w = {}, A = at(o, l, _, null, {
|
|
108
108
|
hv: l.hv,
|
|
109
109
|
boundingMode: l.bounding
|
|
110
110
|
}, w);
|
|
111
|
-
if (!
|
|
112
|
-
for (var
|
|
113
|
-
var x = C[
|
|
114
|
-
|
|
111
|
+
if (!p(o).isNew && A) {
|
|
112
|
+
for (var T = l.transition, d = {}, u = 0; u < C.length; u++) {
|
|
113
|
+
var x = C[u], f = w[x];
|
|
114
|
+
T && (st(T) || Q(T, x) >= 0) ? d[x] = f : o[x] = f;
|
|
115
115
|
}
|
|
116
|
-
|
|
116
|
+
pt(o, d, e, 0);
|
|
117
117
|
} else
|
|
118
118
|
o.attr(w);
|
|
119
119
|
}
|
|
@@ -121,29 +121,29 @@ var R = {
|
|
|
121
121
|
}, a.prototype._clear = function() {
|
|
122
122
|
var e = this, i = this._elMap;
|
|
123
123
|
i.each(function(r) {
|
|
124
|
-
|
|
124
|
+
S(r, p(r).option, i, e._lastGraphicModel);
|
|
125
125
|
}), this._elMap = $();
|
|
126
126
|
}, a.prototype.dispose = function() {
|
|
127
127
|
this._clear();
|
|
128
128
|
}, a.type = "graphic", a;
|
|
129
129
|
})(it)
|
|
130
130
|
);
|
|
131
|
-
function
|
|
132
|
-
var a =
|
|
133
|
-
return
|
|
131
|
+
function H(t) {
|
|
132
|
+
var a = V(M, t) ? M[t] : rt(t), e = new a({});
|
|
133
|
+
return p(e).type = t, e;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
var r =
|
|
137
|
-
return a.add(r), i.set(t, r),
|
|
135
|
+
function R(t, a, e, i) {
|
|
136
|
+
var r = H(e);
|
|
137
|
+
return a.add(r), i.set(t, r), p(r).id = t, p(r).isNew = !0, r;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function S(t, a, e, i) {
|
|
140
140
|
var r = t && t.parent;
|
|
141
|
-
r && (t.type === "group" && t.traverse(function(
|
|
142
|
-
|
|
143
|
-
}),
|
|
141
|
+
r && (t.type === "group" && t.traverse(function(v) {
|
|
142
|
+
S(v, a, e, i);
|
|
143
|
+
}), mt(t, a, i), e.removeKey(p(t).id));
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
t.isGroup ||
|
|
145
|
+
function j(t, a, e, i) {
|
|
146
|
+
t.isGroup || D([
|
|
147
147
|
["cursor", O.prototype.cursor],
|
|
148
148
|
// We should not support configure z and zlevel in the element level.
|
|
149
149
|
// But seems we didn't limit it previously. So here still use it to avoid breaking.
|
|
@@ -152,21 +152,21 @@ function q(t, a, e, i) {
|
|
|
152
152
|
// z2 must not be null/undefined, otherwise sort error may occur.
|
|
153
153
|
["z2", 0]
|
|
154
154
|
], function(r) {
|
|
155
|
-
var
|
|
156
|
-
|
|
157
|
-
}),
|
|
155
|
+
var v = r[0];
|
|
156
|
+
V(a, v) ? t[v] = X(a[v], r[1]) : t[v] == null && (t[v] = r[1]);
|
|
157
|
+
}), D(Y(a), function(r) {
|
|
158
158
|
if (r.indexOf("on") === 0) {
|
|
159
|
-
var
|
|
160
|
-
t[r] = k(
|
|
159
|
+
var v = a[r];
|
|
160
|
+
t[r] = k(v) ? v : null;
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
162
|
+
}), V(a, "draggable") && (t.draggable = a.draggable), a.name != null && (t.name = a.name), a.id != null && (t.id = a.id);
|
|
163
163
|
}
|
|
164
164
|
function ht(t) {
|
|
165
|
-
return t =
|
|
165
|
+
return t = P({}, t), D(["id", "parentId", "$action", "hv", "bounding", "textContent", "clipPath"].concat(nt), function(a) {
|
|
166
166
|
delete t[a];
|
|
167
167
|
}), t;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function dt(t, a, e) {
|
|
170
170
|
var i = W(t).eventData;
|
|
171
171
|
!t.silent && !t.ignore && !i && (i = W(t).eventData = {
|
|
172
172
|
componentType: "graphic",
|
|
@@ -175,6 +175,6 @@ function gt(t, a, e) {
|
|
|
175
175
|
}), i && (i.info = e.info);
|
|
176
176
|
}
|
|
177
177
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
Ut as GraphicComponentView,
|
|
179
|
+
p as inner
|
|
180
180
|
};
|