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,17 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import M, { TRANSFORMABLE_PROPS as N } from "./core/Transformable.js";
|
|
2
2
|
import U, { cloneValue as $ } from "./animation/Animator.js";
|
|
3
3
|
import b from "./core/BoundingRect.js";
|
|
4
4
|
import j from "./core/Eventful.js";
|
|
5
|
-
import { calculateTextPosition as K, parsePercent as
|
|
6
|
-
import {
|
|
5
|
+
import { calculateTextPosition as K, parsePercent as F } from "./contain/text.js";
|
|
6
|
+
import { reduce as O, guid as k, extend as y, isObject as B, keys as W, indexOf as w, logError as tt, mixin as Y, isArrayLike as P, isTypedArray as it, isGradientObject as rt, filter as Z } from "./core/util.js";
|
|
7
7
|
import { LIGHT_LABEL_COLOR as et, DARK_LABEL_COLOR as ot } from "./config.js";
|
|
8
8
|
import { parse as nt, stringify as st } from "./tool/color.js";
|
|
9
9
|
import { REDRAW_BIT as R } from "./graphic/constants.js";
|
|
10
|
-
var
|
|
10
|
+
var E = "__zr_normal__", z = N.concat(["ignore"]), at = O(N, function(e, t) {
|
|
11
11
|
return e[t] = !0, e;
|
|
12
12
|
}, { ignore: !1 }), C = {}, ht = new b(0, 0, 0, 0), X = (function() {
|
|
13
13
|
function e(t) {
|
|
14
|
-
this.id =
|
|
14
|
+
this.id = k(), this.animators = [], this.currentStates = [], this.states = {}, this._init(t);
|
|
15
15
|
}
|
|
16
16
|
return e.prototype._init = function(t) {
|
|
17
17
|
this.attr(t);
|
|
@@ -34,23 +34,23 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
34
34
|
var i = this._textContent;
|
|
35
35
|
if (i && (!i.ignore || t)) {
|
|
36
36
|
this.textConfig || (this.textConfig = {});
|
|
37
|
-
var r = this.textConfig, n = r.local, o = i.innerTransformable, s = void 0,
|
|
37
|
+
var r = this.textConfig, n = r.local, o = i.innerTransformable, s = void 0, f = void 0, h = !1;
|
|
38
38
|
o.parent = n ? this : null;
|
|
39
|
-
var
|
|
39
|
+
var v = !1;
|
|
40
40
|
if (o.copyTransform(i), r.position != null) {
|
|
41
|
-
var
|
|
42
|
-
r.layoutRect ?
|
|
43
|
-
var
|
|
44
|
-
if (
|
|
41
|
+
var a = ht;
|
|
42
|
+
r.layoutRect ? a.copy(r.layoutRect) : a.copy(this.getBoundingRect()), n || a.applyTransform(this.transform), this.calculateTextPosition ? this.calculateTextPosition(C, r, a) : K(C, r, a), o.x = C.x, o.y = C.y, s = C.align, f = C.verticalAlign;
|
|
43
|
+
var p = r.origin;
|
|
44
|
+
if (p && r.rotation != null) {
|
|
45
45
|
var l = void 0, m = void 0;
|
|
46
|
-
|
|
46
|
+
p === "center" ? (l = a.width * 0.5, m = a.height * 0.5) : (l = F(p[0], a.width), m = F(p[1], a.height)), v = !0, o.originX = -o.x + l + (n ? 0 : a.x), o.originY = -o.y + m + (n ? 0 : a.y);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
r.rotation != null && (o.rotation = r.rotation);
|
|
50
50
|
var _ = r.offset;
|
|
51
|
-
_ && (o.x += _[0], o.y += _[1],
|
|
52
|
-
var d = r.inside == null ? typeof r.position == "string" && r.position.indexOf("inside") >= 0 : r.inside, c = this._innerTextDefaultStyle || (this._innerTextDefaultStyle = {}),
|
|
53
|
-
d && this.canBeInsideText() ? (
|
|
51
|
+
_ && (o.x += _[0], o.y += _[1], v || (o.originX = -_[0], o.originY = -_[1]));
|
|
52
|
+
var d = r.inside == null ? typeof r.position == "string" && r.position.indexOf("inside") >= 0 : r.inside, c = this._innerTextDefaultStyle || (this._innerTextDefaultStyle = {}), u = void 0, g = void 0, S = void 0;
|
|
53
|
+
d && this.canBeInsideText() ? (u = r.insideFill, g = r.insideStroke, (u == null || u === "auto") && (u = this.getInsideTextFill()), (g == null || g === "auto") && (g = this.getInsideTextStroke(u), S = !0)) : (u = r.outsideFill, g = r.outsideStroke, (u == null || u === "auto") && (u = this.getOutsideFill()), (g == null || g === "auto") && (g = this.getOutsideStroke(u), S = !0)), u = u || "#000", (u !== c.fill || g !== c.stroke || S !== c.autoStroke || s !== c.align || f !== c.verticalAlign) && (h = !0, c.fill = u, c.stroke = g, c.autoStroke = S, c.align = s, c.verticalAlign = f, i.setDefaultTextStyle(c)), i.__dirty |= R, h && i.dirtyStyle(!0);
|
|
54
54
|
}
|
|
55
55
|
}, e.prototype.canBeInsideText = function() {
|
|
56
56
|
return !0;
|
|
@@ -68,7 +68,7 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
68
68
|
return r[3] = 1, st(r, "rgba");
|
|
69
69
|
}, e.prototype.traverse = function(t, i) {
|
|
70
70
|
}, e.prototype.attrKV = function(t, i) {
|
|
71
|
-
t === "textConfig" ? this.setTextConfig(i) : t === "textContent" ? this.setTextContent(i) : t === "clipPath" ? this.setClipPath(i) : t === "extra" ? (this.extra = this.extra || {},
|
|
71
|
+
t === "textConfig" ? this.setTextConfig(i) : t === "textContent" ? this.setTextContent(i) : t === "clipPath" ? this.setClipPath(i) : t === "extra" ? (this.extra = this.extra || {}, y(this.extra, i)) : this[t] = i;
|
|
72
72
|
}, e.prototype.hide = function() {
|
|
73
73
|
this.ignore = !0, this.markRedraw();
|
|
74
74
|
}, e.prototype.show = function() {
|
|
@@ -76,7 +76,7 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
76
76
|
}, e.prototype.attr = function(t, i) {
|
|
77
77
|
if (typeof t == "string")
|
|
78
78
|
this.attrKV(t, i);
|
|
79
|
-
else if (
|
|
79
|
+
else if (B(t))
|
|
80
80
|
for (var r = t, n = W(r), o = 0; o < n.length; o++) {
|
|
81
81
|
var s = n[o];
|
|
82
82
|
this.attrKV(s, t[s]);
|
|
@@ -86,14 +86,14 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
86
86
|
this._innerSaveToNormal(t);
|
|
87
87
|
for (var i = this._normalState, r = 0; r < this.animators.length; r++) {
|
|
88
88
|
var n = this.animators[r], o = n.__fromStateTransition;
|
|
89
|
-
if (!(n.getLoop() || o && o !==
|
|
90
|
-
var s = n.targetName,
|
|
91
|
-
n.saveTo(
|
|
89
|
+
if (!(n.getLoop() || o && o !== E)) {
|
|
90
|
+
var s = n.targetName, f = s ? i[s] : i;
|
|
91
|
+
n.saveTo(f);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}, e.prototype._innerSaveToNormal = function(t) {
|
|
95
95
|
var i = this._normalState;
|
|
96
|
-
i || (i = this._normalState = {}), t.textConfig && !i.textConfig && (i.textConfig = this.textConfig), this._savePrimaryToNormal(t, i,
|
|
96
|
+
i || (i = this._normalState = {}), t.textConfig && !i.textConfig && (i.textConfig = this.textConfig), this._savePrimaryToNormal(t, i, z);
|
|
97
97
|
}, e.prototype._savePrimaryToNormal = function(t, i, r) {
|
|
98
98
|
for (var n = 0; n < r.length; n++) {
|
|
99
99
|
var o = r[n];
|
|
@@ -107,43 +107,43 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
107
107
|
var i = this.states;
|
|
108
108
|
return i[t] || (i[t] = {}), i[t];
|
|
109
109
|
}, e.prototype.clearStates = function(t) {
|
|
110
|
-
this.useState(
|
|
110
|
+
this.useState(E, !1, t);
|
|
111
111
|
}, e.prototype.useState = function(t, i, r, n) {
|
|
112
|
-
var o = t ===
|
|
112
|
+
var o = t === E, s = this.hasState();
|
|
113
113
|
if (!(!s && o)) {
|
|
114
|
-
var
|
|
115
|
-
if (!(
|
|
116
|
-
var
|
|
117
|
-
if (this.stateProxy && !o && (
|
|
118
|
-
|
|
114
|
+
var f = this.currentStates, h = this.stateTransition;
|
|
115
|
+
if (!(w(f, t) >= 0 && (i || f.length === 1))) {
|
|
116
|
+
var v;
|
|
117
|
+
if (this.stateProxy && !o && (v = this.stateProxy(t)), v || (v = this.states && this.states[t]), !v && !o) {
|
|
118
|
+
tt("State " + t + " not exists.");
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
|
-
o || this.saveCurrentToNormalState(
|
|
122
|
-
var
|
|
123
|
-
|
|
124
|
-
var
|
|
125
|
-
return
|
|
121
|
+
o || this.saveCurrentToNormalState(v);
|
|
122
|
+
var a = !!(v && v.hoverLayer || n);
|
|
123
|
+
a && this._toggleHoverLayerFlag(!0), this._applyStateObj(t, v, this._normalState, i, !r && !this.__inHover && h && h.duration > 0, h);
|
|
124
|
+
var p = this._textContent, l = this._textGuide;
|
|
125
|
+
return p && p.useState(t, i, r, a), l && l.useState(t, i, r, a), o ? (this.currentStates = [], this._normalState = {}) : i ? this.currentStates.push(t) : this.currentStates = [t], this._updateAnimationTargets(), this.markRedraw(), !a && this.__inHover && (this._toggleHoverLayerFlag(!1), this.__dirty &= ~R), v;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}, e.prototype.useStates = function(t, i, r) {
|
|
129
129
|
if (!t.length)
|
|
130
130
|
this.clearStates();
|
|
131
131
|
else {
|
|
132
|
-
var n = [], o = this.currentStates, s = t.length,
|
|
133
|
-
if (
|
|
134
|
-
for (var
|
|
135
|
-
if (t[
|
|
136
|
-
|
|
132
|
+
var n = [], o = this.currentStates, s = t.length, f = s === o.length;
|
|
133
|
+
if (f) {
|
|
134
|
+
for (var h = 0; h < s; h++)
|
|
135
|
+
if (t[h] !== o[h]) {
|
|
136
|
+
f = !1;
|
|
137
137
|
break;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
if (
|
|
140
|
+
if (f)
|
|
141
141
|
return;
|
|
142
|
-
for (var
|
|
143
|
-
var
|
|
144
|
-
this.stateProxy && (
|
|
142
|
+
for (var h = 0; h < s; h++) {
|
|
143
|
+
var v = t[h], a = void 0;
|
|
144
|
+
this.stateProxy && (a = this.stateProxy(v, t)), a || (a = this.states[v]), a && n.push(a);
|
|
145
145
|
}
|
|
146
|
-
var
|
|
146
|
+
var p = n[s - 1], l = !!(p && p.hoverLayer || r);
|
|
147
147
|
l && this._toggleHoverLayerFlag(!0);
|
|
148
148
|
var m = this._mergeStates(n), _ = this.stateTransition;
|
|
149
149
|
this.saveCurrentToNormalState(m), this._applyStateObj(t.join(","), m, this._normalState, !1, !i && !this.__inHover && _ && _.duration > 0, _);
|
|
@@ -165,35 +165,35 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
165
165
|
i.targetName && i.changeTarget(this[i.targetName]);
|
|
166
166
|
}
|
|
167
167
|
}, e.prototype.removeState = function(t) {
|
|
168
|
-
var i =
|
|
168
|
+
var i = w(this.currentStates, t);
|
|
169
169
|
if (i >= 0) {
|
|
170
170
|
var r = this.currentStates.slice();
|
|
171
171
|
r.splice(i, 1), this.useStates(r);
|
|
172
172
|
}
|
|
173
173
|
}, e.prototype.replaceState = function(t, i, r) {
|
|
174
|
-
var n = this.currentStates.slice(), o =
|
|
174
|
+
var n = this.currentStates.slice(), o = w(n, t), s = w(n, i) >= 0;
|
|
175
175
|
o >= 0 ? s ? n.splice(o, 1) : n[o] = i : r && !s && n.push(i), this.useStates(n);
|
|
176
176
|
}, e.prototype.toggleState = function(t, i) {
|
|
177
177
|
i ? this.useState(t, !0) : this.removeState(t);
|
|
178
178
|
}, e.prototype._mergeStates = function(t) {
|
|
179
179
|
for (var i = {}, r, n = 0; n < t.length; n++) {
|
|
180
180
|
var o = t[n];
|
|
181
|
-
|
|
181
|
+
y(i, o), o.textConfig && (r = r || {}, y(r, o.textConfig));
|
|
182
182
|
}
|
|
183
183
|
return r && (i.textConfig = r), i;
|
|
184
184
|
}, e.prototype._applyStateObj = function(t, i, r, n, o, s) {
|
|
185
|
-
var
|
|
186
|
-
i && i.textConfig ? (this.textConfig =
|
|
187
|
-
for (var
|
|
188
|
-
var
|
|
189
|
-
i && i[
|
|
185
|
+
var f = !(i && n);
|
|
186
|
+
i && i.textConfig ? (this.textConfig = y({}, n ? this.textConfig : r.textConfig), y(this.textConfig, i.textConfig)) : f && r.textConfig && (this.textConfig = r.textConfig);
|
|
187
|
+
for (var h = {}, v = !1, a = 0; a < z.length; a++) {
|
|
188
|
+
var p = z[a], l = o && at[p];
|
|
189
|
+
i && i[p] != null ? l ? (v = !0, h[p] = i[p]) : this[p] = i[p] : f && r[p] != null && (l ? (v = !0, h[p] = r[p]) : this[p] = r[p]);
|
|
190
190
|
}
|
|
191
191
|
if (!o)
|
|
192
|
-
for (var
|
|
193
|
-
var m = this.animators[
|
|
192
|
+
for (var a = 0; a < this.animators.length; a++) {
|
|
193
|
+
var m = this.animators[a], _ = m.targetName;
|
|
194
194
|
m.getLoop() || m.__changeFinalValue(_ ? (i || r)[_] : i || r);
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
v && this._transitionState(t, h, s);
|
|
197
197
|
}, e.prototype._attachComponent = function(t) {
|
|
198
198
|
if (!(t.__zr && !t.__hostTarget) && t !== this) {
|
|
199
199
|
var i = this.__zr;
|
|
@@ -212,9 +212,9 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
212
212
|
return this._textContent;
|
|
213
213
|
}, e.prototype.setTextContent = function(t) {
|
|
214
214
|
var i = this._textContent;
|
|
215
|
-
i !== t && (i && i !== t && this.removeTextContent(), t.innerTransformable = new
|
|
215
|
+
i !== t && (i && i !== t && this.removeTextContent(), t.innerTransformable = new M(), this._attachComponent(t), this._textContent = t, this.markRedraw());
|
|
216
216
|
}, e.prototype.setTextConfig = function(t) {
|
|
217
|
-
this.textConfig || (this.textConfig = {}),
|
|
217
|
+
this.textConfig || (this.textConfig = {}), y(this.textConfig, t), this.markRedraw();
|
|
218
218
|
}, e.prototype.removeTextConfig = function() {
|
|
219
219
|
this.textConfig = null, this.markRedraw();
|
|
220
220
|
}, e.prototype.removeTextContent = function() {
|
|
@@ -263,23 +263,23 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
263
263
|
t.during(function() {
|
|
264
264
|
n.updateDuringAnimation(i);
|
|
265
265
|
}).done(function() {
|
|
266
|
-
var o = n.animators, s =
|
|
266
|
+
var o = n.animators, s = w(o, t);
|
|
267
267
|
s >= 0 && o.splice(s, 1);
|
|
268
268
|
}), this.animators.push(t), r && r.animation.addAnimator(t), r && r.wakeUp();
|
|
269
269
|
}, e.prototype.updateDuringAnimation = function(t) {
|
|
270
270
|
this.markRedraw();
|
|
271
271
|
}, e.prototype.stopAnimation = function(t, i) {
|
|
272
272
|
for (var r = this.animators, n = r.length, o = [], s = 0; s < n; s++) {
|
|
273
|
-
var
|
|
274
|
-
!t || t ===
|
|
273
|
+
var f = r[s];
|
|
274
|
+
!t || t === f.scope ? f.stop(i) : o.push(f);
|
|
275
275
|
}
|
|
276
276
|
return this.animators = o, this;
|
|
277
277
|
}, e.prototype.animateTo = function(t, i, r) {
|
|
278
|
-
|
|
278
|
+
D(this, t, i, r);
|
|
279
279
|
}, e.prototype.animateFrom = function(t, i, r) {
|
|
280
|
-
|
|
280
|
+
D(this, t, i, r, !0);
|
|
281
281
|
}, e.prototype._transitionState = function(t, i, r, n) {
|
|
282
|
-
for (var o =
|
|
282
|
+
for (var o = D(this, i, r, n), s = 0; s < o.length; s++)
|
|
283
283
|
o[s].__fromStateTransition = t;
|
|
284
284
|
}, e.prototype.getBoundingRect = function() {
|
|
285
285
|
return null;
|
|
@@ -288,86 +288,90 @@ var z = "__zr_normal__", H = E.concat(["ignore"]), at = k(E, function(e, t) {
|
|
|
288
288
|
}, e.initDefaultProps = (function() {
|
|
289
289
|
var t = e.prototype;
|
|
290
290
|
t.type = "element", t.name = "", t.ignore = t.silent = t.isGroup = t.draggable = t.dragging = t.ignoreClip = t.__inHover = !1, t.__dirty = R;
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
var i = {};
|
|
292
|
+
function r(o, s, f) {
|
|
293
|
+
i[o + s + f] || (console.warn("DEPRECATED: '" + o + "' has been deprecated. use '" + s + "', '" + f + "' instead"), i[o + s + f] = !0);
|
|
294
|
+
}
|
|
295
|
+
function n(o, s, f, h) {
|
|
296
|
+
Object.defineProperty(t, o, {
|
|
293
297
|
get: function() {
|
|
294
|
-
if (!this[
|
|
295
|
-
var a = this[
|
|
296
|
-
|
|
298
|
+
if (!this[s]) {
|
|
299
|
+
var a = this[s] = [];
|
|
300
|
+
v(this, a);
|
|
297
301
|
}
|
|
298
|
-
return this[
|
|
302
|
+
return this[s];
|
|
299
303
|
},
|
|
300
304
|
set: function(a) {
|
|
301
|
-
this[
|
|
305
|
+
this[f] = a[0], this[h] = a[1], this[s] = a, v(this, a);
|
|
302
306
|
}
|
|
303
307
|
});
|
|
304
|
-
function
|
|
308
|
+
function v(a, p) {
|
|
305
309
|
Object.defineProperty(p, 0, {
|
|
306
310
|
get: function() {
|
|
307
|
-
return a[
|
|
311
|
+
return a[f];
|
|
308
312
|
},
|
|
309
|
-
set: function(
|
|
310
|
-
a[
|
|
313
|
+
set: function(l) {
|
|
314
|
+
a[f] = l;
|
|
311
315
|
}
|
|
312
316
|
}), Object.defineProperty(p, 1, {
|
|
313
317
|
get: function() {
|
|
314
|
-
return a[
|
|
318
|
+
return a[h];
|
|
315
319
|
},
|
|
316
|
-
set: function(
|
|
317
|
-
a[
|
|
320
|
+
set: function(l) {
|
|
321
|
+
a[h] = l;
|
|
318
322
|
}
|
|
319
323
|
});
|
|
320
324
|
}
|
|
321
325
|
}
|
|
322
|
-
Object.defineProperty && (
|
|
326
|
+
Object.defineProperty && (n("position", "_legacyPos", "x", "y"), n("scale", "_legacyScale", "scaleX", "scaleY"), n("origin", "_legacyOrigin", "originX", "originY"));
|
|
323
327
|
})(), e;
|
|
324
328
|
})();
|
|
325
329
|
Y(X, j);
|
|
326
|
-
Y(X,
|
|
327
|
-
function
|
|
330
|
+
Y(X, M);
|
|
331
|
+
function D(e, t, i, r, n) {
|
|
328
332
|
i = i || {};
|
|
329
333
|
var o = [];
|
|
330
334
|
q(e, "", e, t, i, r, o, n);
|
|
331
|
-
var s = o.length,
|
|
332
|
-
|
|
333
|
-
},
|
|
334
|
-
s--, s <= 0 && (
|
|
335
|
+
var s = o.length, f = !1, h = i.done, v = i.aborted, a = function() {
|
|
336
|
+
f = !0, s--, s <= 0 && (f ? h && h() : v && v());
|
|
337
|
+
}, p = function() {
|
|
338
|
+
s--, s <= 0 && (f ? h && h() : v && v());
|
|
335
339
|
};
|
|
336
|
-
s ||
|
|
340
|
+
s || h && h(), o.length > 0 && i.during && o[0].during(function(_, d) {
|
|
337
341
|
i.during(d);
|
|
338
342
|
});
|
|
339
343
|
for (var l = 0; l < o.length; l++) {
|
|
340
344
|
var m = o[l];
|
|
341
|
-
|
|
345
|
+
a && m.done(a), p && m.aborted(p), i.force && m.duration(i.duration), m.start(i.easing);
|
|
342
346
|
}
|
|
343
347
|
return o;
|
|
344
348
|
}
|
|
345
|
-
function
|
|
349
|
+
function H(e, t, i) {
|
|
346
350
|
for (var r = 0; r < i; r++)
|
|
347
351
|
e[r] = t[r];
|
|
348
352
|
}
|
|
349
353
|
function ft(e) {
|
|
350
|
-
return
|
|
354
|
+
return P(e[0]);
|
|
351
355
|
}
|
|
352
356
|
function ut(e, t, i) {
|
|
353
|
-
if (
|
|
354
|
-
if (
|
|
357
|
+
if (P(t[i]))
|
|
358
|
+
if (P(e[i]) || (e[i] = []), it(t[i])) {
|
|
355
359
|
var r = t[i].length;
|
|
356
|
-
e[i].length !== r && (e[i] = new t[i].constructor(r),
|
|
360
|
+
e[i].length !== r && (e[i] = new t[i].constructor(r), H(e[i], t[i], r));
|
|
357
361
|
} else {
|
|
358
362
|
var n = t[i], o = e[i], s = n.length;
|
|
359
363
|
if (ft(n))
|
|
360
|
-
for (var
|
|
361
|
-
o[
|
|
364
|
+
for (var f = n[0].length, h = 0; h < s; h++)
|
|
365
|
+
o[h] ? H(o[h], n[h], f) : o[h] = Array.prototype.slice.call(n[h]);
|
|
362
366
|
else
|
|
363
|
-
|
|
367
|
+
H(o, n, s);
|
|
364
368
|
o.length = n.length;
|
|
365
369
|
}
|
|
366
370
|
else
|
|
367
371
|
e[i] = t[i];
|
|
368
372
|
}
|
|
369
373
|
function pt(e, t) {
|
|
370
|
-
return e === t ||
|
|
374
|
+
return e === t || P(e) && P(t) && vt(e, t);
|
|
371
375
|
}
|
|
372
376
|
function vt(e, t) {
|
|
373
377
|
var i = e.length;
|
|
@@ -378,56 +382,56 @@ function vt(e, t) {
|
|
|
378
382
|
return !1;
|
|
379
383
|
return !0;
|
|
380
384
|
}
|
|
381
|
-
function q(e, t, i, r, n, o, s,
|
|
382
|
-
for (var
|
|
383
|
-
var
|
|
384
|
-
if (g != null && i[
|
|
385
|
-
if (
|
|
385
|
+
function q(e, t, i, r, n, o, s, f) {
|
|
386
|
+
for (var h = W(r), v = n.duration, a = n.delay, p = n.additive, l = n.setToFinal, m = !B(o), _ = e.animators, d = [], c = 0; c < h.length; c++) {
|
|
387
|
+
var u = h[c], g = r[u];
|
|
388
|
+
if (g != null && i[u] != null && (m || o[u]))
|
|
389
|
+
if (B(g) && !P(g) && !rt(g)) {
|
|
386
390
|
if (t) {
|
|
387
|
-
|
|
391
|
+
f || (i[u] = g, e.updateDuringAnimation(t));
|
|
388
392
|
continue;
|
|
389
393
|
}
|
|
390
|
-
q(e,
|
|
394
|
+
q(e, u, i[u], g, n, o && o[u], s, f);
|
|
391
395
|
} else
|
|
392
|
-
d.push(
|
|
393
|
-
else
|
|
396
|
+
d.push(u);
|
|
397
|
+
else f || (i[u] = g, e.updateDuringAnimation(t), d.push(u));
|
|
394
398
|
}
|
|
395
|
-
var
|
|
396
|
-
if (!
|
|
399
|
+
var S = d.length;
|
|
400
|
+
if (!p && S)
|
|
397
401
|
for (var T = 0; T < _.length; T++) {
|
|
398
|
-
var
|
|
399
|
-
if (
|
|
400
|
-
var J =
|
|
402
|
+
var x = _[T];
|
|
403
|
+
if (x.targetName === t) {
|
|
404
|
+
var J = x.stopTracks(d);
|
|
401
405
|
if (J) {
|
|
402
|
-
var Q =
|
|
406
|
+
var Q = w(_, x);
|
|
403
407
|
_.splice(Q, 1);
|
|
404
408
|
}
|
|
405
409
|
}
|
|
406
410
|
}
|
|
407
|
-
if (n.force || (d =
|
|
408
|
-
return !pt(r[
|
|
409
|
-
}),
|
|
411
|
+
if (n.force || (d = Z(d, function(I) {
|
|
412
|
+
return !pt(r[I], i[I]);
|
|
413
|
+
}), S = d.length), S > 0 || n.force && !s.length) {
|
|
410
414
|
var A = void 0, L = void 0, G = void 0;
|
|
411
|
-
if (
|
|
415
|
+
if (f) {
|
|
412
416
|
L = {}, l && (A = {});
|
|
413
|
-
for (var T = 0; T <
|
|
414
|
-
var
|
|
415
|
-
L[
|
|
417
|
+
for (var T = 0; T < S; T++) {
|
|
418
|
+
var u = d[T];
|
|
419
|
+
L[u] = i[u], l ? A[u] = r[u] : i[u] = r[u];
|
|
416
420
|
}
|
|
417
421
|
} else if (l) {
|
|
418
422
|
G = {};
|
|
419
|
-
for (var T = 0; T <
|
|
420
|
-
var
|
|
421
|
-
G[
|
|
423
|
+
for (var T = 0; T < S; T++) {
|
|
424
|
+
var u = d[T];
|
|
425
|
+
G[u] = $(i[u]), ut(i, r, u);
|
|
422
426
|
}
|
|
423
427
|
}
|
|
424
|
-
var
|
|
428
|
+
var x = new U(i, !1, !1, p ? Z(_, function(V) {
|
|
425
429
|
return V.targetName === t;
|
|
426
430
|
}) : null);
|
|
427
|
-
|
|
431
|
+
x.targetName = t, n.scope && (x.scope = n.scope), l && A && x.whenWithKeys(0, A, d), G && x.whenWithKeys(0, G, d), x.whenWithKeys(v ?? 500, f ? L : r, d).delay(a || 0), e.addAnimator(x, t), s.push(x);
|
|
428
432
|
}
|
|
429
433
|
}
|
|
430
434
|
export {
|
|
431
|
-
|
|
435
|
+
E as PRESERVED_NORMAL_STATE,
|
|
432
436
|
X as default
|
|
433
437
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Z from "./Clip.js";
|
|
2
2
|
import { parse as R } from "../tool/color.js";
|
|
3
|
-
import {
|
|
3
|
+
import { isArrayLike as S, isNumber as D, eqNaN as $, isString as w, isGradientObject as H, extend as V, map as M, isFunction as j, logError as tt, keys as q } from "../core/util.js";
|
|
4
4
|
import et from "./easing.js";
|
|
5
5
|
import { createCubicEasingFunc as rt } from "./cubicEasing.js";
|
|
6
6
|
import { isLinearGradient as it, isRadialGradient as st } from "../svg/helper.js";
|
|
@@ -104,17 +104,17 @@ var k = [0, 0, 0, 0], ht = (function() {
|
|
|
104
104
|
if (S(r)) {
|
|
105
105
|
var l = ft(r);
|
|
106
106
|
a = l, (l === 1 && !D(r[0]) || l === 2 && !D(r[0][0])) && (o = !0);
|
|
107
|
-
} else if (D(r) &&
|
|
107
|
+
} else if (D(r) && !$(r))
|
|
108
108
|
a = F;
|
|
109
|
-
else if (
|
|
109
|
+
else if (w(r))
|
|
110
110
|
if (!isNaN(+r))
|
|
111
111
|
a = F;
|
|
112
112
|
else {
|
|
113
113
|
var f = R(r);
|
|
114
114
|
f && (h = f, a = b);
|
|
115
115
|
}
|
|
116
|
-
else if (
|
|
117
|
-
var p =
|
|
116
|
+
else if (H(r)) {
|
|
117
|
+
var p = V({}, h);
|
|
118
118
|
p.colorStops = M(r.colorStops, function(u) {
|
|
119
119
|
return {
|
|
120
120
|
offset: u.offset,
|
|
@@ -129,7 +129,7 @@ var k = [0, 0, 0, 0], ht = (function() {
|
|
|
129
129
|
rawValue: r,
|
|
130
130
|
percent: 0
|
|
131
131
|
};
|
|
132
|
-
return e && (d.easing = e, d.easingFunc =
|
|
132
|
+
return e && (d.easing = e, d.easingFunc = j(e) ? e : et[e] || rt(e)), s.push(d), d;
|
|
133
133
|
}, i.prototype.prepare = function(t, r) {
|
|
134
134
|
var e = this.keyframes;
|
|
135
135
|
this._needsSort && e.sort(function(g, c) {
|
|
@@ -205,7 +205,7 @@ var k = [0, 0, 0, 0], ht = (function() {
|
|
|
205
205
|
})(), pt = (function() {
|
|
206
206
|
function i(t, r, e, s) {
|
|
207
207
|
if (this._tracks = {}, this._trackKeys = [], this._maxTime = 0, this._started = 0, this._clip = null, this._target = t, this._loop = r, r && s) {
|
|
208
|
-
|
|
208
|
+
tt("Can' use additive animation on looped animation.");
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
211
|
this._additiveAnimators = s, this._allowDiscrete = e;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
return setTimeout(
|
|
1
|
+
import i from "../core/env.js";
|
|
2
|
+
var n;
|
|
3
|
+
n = i.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(e) {
|
|
4
|
+
return setTimeout(e, 16);
|
|
5
5
|
};
|
|
6
|
+
const t = n;
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
t as default
|
|
8
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends as F } from "../../../tslib/tslib.es6.js";
|
|
2
|
-
import { isObject as D, disableUserSelect as L,
|
|
2
|
+
import { isObject as D, disableUserSelect as L, isGradientObject as U, isImagePatternObject as G, each as W } from "../core/util.js";
|
|
3
3
|
import { devicePixelRatio as X } from "../config.js";
|
|
4
4
|
import Y from "../core/Eventful.js";
|
|
5
5
|
import { getCanvasGradient as Z } from "./helper.js";
|
|
@@ -107,7 +107,7 @@ var C = (function(I) {
|
|
|
107
107
|
function u(p, c, d, f) {
|
|
108
108
|
if (t.clearRect(p, c, d, f), i && i !== "transparent") {
|
|
109
109
|
var v = void 0;
|
|
110
|
-
if (
|
|
110
|
+
if (U(i)) {
|
|
111
111
|
var g = i.global || i.__width === d && i.__height === f;
|
|
112
112
|
v = g && i.__canvasGradient || Z(t, i, {
|
|
113
113
|
x: 0,
|
|
@@ -115,7 +115,7 @@ var C = (function(I) {
|
|
|
115
115
|
width: d,
|
|
116
116
|
height: f
|
|
117
117
|
}), i.__canvasGradient = v, i.__width = d, i.__height = f;
|
|
118
|
-
} else
|
|
118
|
+
} else G(i) && (i.scaleX = i.scaleX || n, i.scaleY = i.scaleY || n, v = O(t, i, {
|
|
119
119
|
dirty: function() {
|
|
120
120
|
s.setUnpainted(), s.painter.refresh();
|
|
121
121
|
}
|
|
@@ -124,7 +124,7 @@ var C = (function(I) {
|
|
|
124
124
|
}
|
|
125
125
|
_ && (t.save(), t.globalAlpha = x, t.drawImage(l, p, c, d, f), t.restore());
|
|
126
126
|
}
|
|
127
|
-
!r || _ ? u(0, 0, o, m) : r.length &&
|
|
127
|
+
!r || _ ? u(0, 0, o, m) : r.length && W(r, function(p) {
|
|
128
128
|
u(p.x * n, p.y * n, p.width * n, p.height * n);
|
|
129
129
|
});
|
|
130
130
|
}, h;
|