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,57 +1,57 @@
|
|
|
1
1
|
import { cubicSubdivide as P } from "../core/curve.js";
|
|
2
2
|
import z from "../graphic/Path.js";
|
|
3
|
-
import { defaults as
|
|
3
|
+
import { defaults as W, map as O } from "../core/util.js";
|
|
4
4
|
import { lerp as vr } from "../core/vector.js";
|
|
5
5
|
import { clonePath as nr } from "./path.js";
|
|
6
6
|
import ar from "../core/Transformable.js";
|
|
7
7
|
import { split as er } from "./dividePath.js";
|
|
8
|
-
import { pathToBezierCurves as
|
|
8
|
+
import { pathToBezierCurves as j } from "./convertPath.js";
|
|
9
9
|
function fr(v, r) {
|
|
10
10
|
var a = v.length, n = r.length;
|
|
11
11
|
if (a === n)
|
|
12
12
|
return [v, r];
|
|
13
|
-
for (var
|
|
14
|
-
var I =
|
|
13
|
+
for (var l = [], i = [], o = a < n ? v : r, e = Math.min(a, n), t = Math.abs(n - a) / 6, f = (e - 2) / 6, u = Math.ceil(t / f) + 1, d = [o[0], o[1]], c = t, h = 2; h < e; ) {
|
|
14
|
+
var I = o[h - 2], T = o[h - 1], Z = o[h++], _ = o[h++], D = o[h++], M = o[h++], C = o[h++], s = o[h++];
|
|
15
15
|
if (c <= 0) {
|
|
16
|
-
d.push(
|
|
16
|
+
d.push(Z, _, D, M, C, s);
|
|
17
17
|
continue;
|
|
18
18
|
}
|
|
19
19
|
for (var g = Math.min(c, u - 1) + 1, R = 1; R <= g; R++) {
|
|
20
|
-
var
|
|
21
|
-
P(I,
|
|
20
|
+
var y = R / g;
|
|
21
|
+
P(I, Z, D, C, y, l), P(T, _, M, s, y, i), I = l[3], T = i[3], d.push(l[1], i[1], l[2], i[2], I, T), Z = l[5], _ = i[5], D = l[6], M = i[6];
|
|
22
22
|
}
|
|
23
23
|
c -= g - 1;
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return o === v ? [d, r] : [v, d];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
for (var a = v.length, n = v[a - 2],
|
|
29
|
-
i[
|
|
27
|
+
function w(v, r) {
|
|
28
|
+
for (var a = v.length, n = v[a - 2], l = v[a - 1], i = [], o = 0; o < r.length; )
|
|
29
|
+
i[o++] = n, i[o++] = l;
|
|
30
30
|
return i;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
for (var a, n,
|
|
32
|
+
function lr(v, r) {
|
|
33
|
+
for (var a, n, l, i = [], o = [], e = 0; e < Math.max(v.length, r.length); e++) {
|
|
34
34
|
var t = v[e], f = r[e], u = void 0, d = void 0;
|
|
35
|
-
t ? f ? (a = fr(t, f), u = a[0], d = a[1], n = u,
|
|
35
|
+
t ? f ? (a = fr(t, f), u = a[0], d = a[1], n = u, l = d) : (d = w(l || t, t), u = t) : (u = w(n || f, f), d = f), i.push(u), o.push(d);
|
|
36
36
|
}
|
|
37
|
-
return [i,
|
|
37
|
+
return [i, o];
|
|
38
38
|
}
|
|
39
39
|
function k(v) {
|
|
40
|
-
for (var r = 0, a = 0, n = 0,
|
|
41
|
-
var e = v[
|
|
40
|
+
for (var r = 0, a = 0, n = 0, l = v.length, i = 0, o = l - 2; i < l; o = i, i += 2) {
|
|
41
|
+
var e = v[o], t = v[o + 1], f = v[i], u = v[i + 1], d = e * u - f * t;
|
|
42
42
|
r += d, a += (e + f) * d, n += (t + u) * d;
|
|
43
43
|
}
|
|
44
44
|
return r === 0 ? [v[0] || 0, v[1] || 0] : [a / r / 3, n / r / 3, r];
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
for (var
|
|
46
|
+
function or(v, r, a, n) {
|
|
47
|
+
for (var l = (v.length - 2) / 6, i = 1 / 0, o = 0, e = v.length, t = e - 2, f = 0; f < l; f++) {
|
|
48
48
|
for (var u = f * 6, d = 0, c = 0; c < e; c += 2) {
|
|
49
|
-
var h = c === 0 ? u : (u + c - 2) % t + 2, I = v[h] - a[0],
|
|
50
|
-
d += D * D +
|
|
49
|
+
var h = c === 0 ? u : (u + c - 2) % t + 2, I = v[h] - a[0], T = v[h + 1] - a[1], Z = r[c] - n[0], _ = r[c + 1] - n[1], D = Z - I, M = _ - T;
|
|
50
|
+
d += D * D + M * M;
|
|
51
51
|
}
|
|
52
|
-
d < i && (i = d,
|
|
52
|
+
d < i && (i = d, o = f);
|
|
53
53
|
}
|
|
54
|
-
return
|
|
54
|
+
return o;
|
|
55
55
|
}
|
|
56
56
|
function dr(v) {
|
|
57
57
|
for (var r = [], a = v.length, n = 0; n < a; n += 2)
|
|
@@ -59,30 +59,33 @@ function dr(v) {
|
|
|
59
59
|
return r;
|
|
60
60
|
}
|
|
61
61
|
function ir(v, r, a, n) {
|
|
62
|
-
for (var
|
|
63
|
-
var e = v[
|
|
62
|
+
for (var l = [], i, o = 0; o < v.length; o++) {
|
|
63
|
+
var e = v[o], t = r[o], f = k(e), u = k(t);
|
|
64
64
|
i == null && (i = f[2] < 0 != u[2] < 0);
|
|
65
|
-
var d = [], c = [], h = 0, I = 1 / 0,
|
|
65
|
+
var d = [], c = [], h = 0, I = 1 / 0, T = [], Z = e.length;
|
|
66
66
|
i && (e = dr(e));
|
|
67
|
-
for (var _ =
|
|
68
|
-
var
|
|
69
|
-
d[
|
|
67
|
+
for (var _ = or(e, t, f, u) * 6, D = Z - 2, M = 0; M < D; M += 2) {
|
|
68
|
+
var C = (_ + M) % D + 2;
|
|
69
|
+
d[M + 2] = e[C] - f[0], d[M + 3] = e[C + 1] - f[1];
|
|
70
70
|
}
|
|
71
|
-
d[0] = e[_] - f[0], d[1] = e[_ + 1] - f[1]
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
if (d[0] = e[_] - f[0], d[1] = e[_ + 1] - f[1], a > 0)
|
|
72
|
+
for (var s = n / a, g = -n / 2; g <= n / 2; g += s) {
|
|
73
|
+
for (var R = Math.sin(g), y = Math.cos(g), p = 0, M = 0; M < e.length; M += 2) {
|
|
74
|
+
var N = d[M], X = d[M + 1], U = t[M] - u[0], H = t[M + 1] - u[1], F = U * y - H * R, G = U * R + H * y;
|
|
75
|
+
T[M] = F, T[M + 1] = G;
|
|
76
|
+
var m = F - N, q = G - X;
|
|
77
|
+
p += m * m + q * q;
|
|
78
|
+
}
|
|
79
|
+
if (p < I) {
|
|
80
|
+
I = p, h = g;
|
|
81
|
+
for (var V = 0; V < T.length; V++)
|
|
82
|
+
c[V] = T[V];
|
|
83
|
+
}
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
else
|
|
86
|
+
for (var E = 0; E < Z; E += 2)
|
|
87
|
+
c[E] = t[E] - u[0], c[E + 1] = t[E + 1] - u[1];
|
|
88
|
+
l.push({
|
|
86
89
|
from: d,
|
|
87
90
|
to: c,
|
|
88
91
|
fromCp: f,
|
|
@@ -90,52 +93,55 @@ function ir(v, r, a, n) {
|
|
|
90
93
|
rotation: -h
|
|
91
94
|
});
|
|
92
95
|
}
|
|
93
|
-
return
|
|
96
|
+
return l;
|
|
94
97
|
}
|
|
95
|
-
function
|
|
98
|
+
function Y(v) {
|
|
96
99
|
return v.__isCombineMorphing;
|
|
97
100
|
}
|
|
101
|
+
function pr(v) {
|
|
102
|
+
return v.__morphT >= 0;
|
|
103
|
+
}
|
|
98
104
|
var S = "__mOriginal_";
|
|
99
|
-
function
|
|
100
|
-
var n = S + r,
|
|
105
|
+
function $(v, r, a) {
|
|
106
|
+
var n = S + r, l = v[n] || v[r];
|
|
101
107
|
v[n] || (v[n] = v[r]);
|
|
102
|
-
var i = a.replace,
|
|
108
|
+
var i = a.replace, o = a.after, e = a.before;
|
|
103
109
|
v[r] = function() {
|
|
104
110
|
var t = arguments, f;
|
|
105
|
-
return e && e.apply(this, t), i ? f = i.apply(this, t) : f =
|
|
111
|
+
return e && e.apply(this, t), i ? f = i.apply(this, t) : f = l.apply(this, t), o && o.apply(this, t), f;
|
|
106
112
|
};
|
|
107
113
|
}
|
|
108
|
-
function
|
|
114
|
+
function J(v, r) {
|
|
109
115
|
var a = S + r;
|
|
110
116
|
v[a] && (v[r] = v[a], v[a] = null);
|
|
111
117
|
}
|
|
112
118
|
function x(v, r) {
|
|
113
119
|
for (var a = 0; a < v.length; a++)
|
|
114
|
-
for (var n = v[a],
|
|
115
|
-
var i = n[
|
|
116
|
-
n[
|
|
120
|
+
for (var n = v[a], l = 0; l < n.length; ) {
|
|
121
|
+
var i = n[l], o = n[l + 1];
|
|
122
|
+
n[l++] = r[0] * i + r[2] * o + r[4], n[l++] = r[1] * i + r[3] * o + r[5];
|
|
117
123
|
}
|
|
118
124
|
}
|
|
119
125
|
function B(v, r) {
|
|
120
|
-
var a = v.getUpdatedPathProxy(), n = r.getUpdatedPathProxy(),
|
|
126
|
+
var a = v.getUpdatedPathProxy(), n = r.getUpdatedPathProxy(), l = lr(j(a), j(n)), i = l[0], o = l[1], e = v.getComputedTransform(), t = r.getComputedTransform();
|
|
121
127
|
function f() {
|
|
122
128
|
this.transform = null;
|
|
123
129
|
}
|
|
124
|
-
e && x(i, e), t && x(
|
|
125
|
-
var u = ir(i,
|
|
126
|
-
|
|
127
|
-
for (var h = r.__morphT, I = 1 - h,
|
|
128
|
-
var _ = u[
|
|
129
|
-
vr(
|
|
130
|
+
e && x(i, e), t && x(o, t), $(r, "updateTransform", { replace: f }), r.transform = null;
|
|
131
|
+
var u = ir(i, o, 10, Math.PI), d = [];
|
|
132
|
+
$(r, "buildPath", { replace: function(c) {
|
|
133
|
+
for (var h = r.__morphT, I = 1 - h, T = [], Z = 0; Z < u.length; Z++) {
|
|
134
|
+
var _ = u[Z], D = _.from, M = _.to, C = _.rotation * h, s = _.fromCp, g = _.toCp, R = Math.sin(C), y = Math.cos(C);
|
|
135
|
+
vr(T, s, g, h);
|
|
130
136
|
for (var p = 0; p < D.length; p += 2) {
|
|
131
|
-
var
|
|
132
|
-
d[p] =
|
|
137
|
+
var N = D[p], X = D[p + 1], U = M[p], H = M[p + 1], F = N * I + U * h, G = X * I + H * h;
|
|
138
|
+
d[p] = F * y - G * R + T[0], d[p + 1] = F * R + G * y + T[1];
|
|
133
139
|
}
|
|
134
|
-
var
|
|
135
|
-
c.moveTo(
|
|
140
|
+
var m = d[0], q = d[1];
|
|
141
|
+
c.moveTo(m, q);
|
|
136
142
|
for (var p = 2; p < D.length; ) {
|
|
137
|
-
var
|
|
138
|
-
|
|
143
|
+
var U = d[p++], H = d[p++], V = d[p++], E = d[p++], K = d[p++], Q = d[p++];
|
|
144
|
+
m === U && q === H && V === K && E === Q ? c.lineTo(K, Q) : c.bezierCurveTo(U, H, V, E, K, Q), m = K, q = Q;
|
|
139
145
|
}
|
|
140
146
|
}
|
|
141
147
|
} });
|
|
@@ -143,43 +149,43 @@ function B(v, r) {
|
|
|
143
149
|
function b(v, r, a) {
|
|
144
150
|
if (!v || !r)
|
|
145
151
|
return r;
|
|
146
|
-
var n = a.done,
|
|
152
|
+
var n = a.done, l = a.during;
|
|
147
153
|
B(v, r), r.__morphT = 0;
|
|
148
154
|
function i() {
|
|
149
|
-
|
|
155
|
+
J(r, "buildPath"), J(r, "updateTransform"), r.__morphT = -1, r.createPathProxy(), r.dirtyShape();
|
|
150
156
|
}
|
|
151
157
|
return r.animateTo({
|
|
152
158
|
__morphT: 1
|
|
153
|
-
},
|
|
154
|
-
during: function(
|
|
155
|
-
r.dirtyShape(),
|
|
159
|
+
}, W({
|
|
160
|
+
during: function(o) {
|
|
161
|
+
r.dirtyShape(), l && l(o);
|
|
156
162
|
},
|
|
157
163
|
done: function() {
|
|
158
164
|
i(), n && n();
|
|
159
165
|
}
|
|
160
166
|
}, a)), r;
|
|
161
167
|
}
|
|
162
|
-
function tr(v, r, a, n,
|
|
163
|
-
var
|
|
164
|
-
v =
|
|
165
|
-
for (var e = 0, t, f = (1 <<
|
|
168
|
+
function tr(v, r, a, n, l, i) {
|
|
169
|
+
var o = 16;
|
|
170
|
+
v = l === a ? 0 : Math.round(32767 * (v - a) / (l - a)), r = i === n ? 0 : Math.round(32767 * (r - n) / (i - n));
|
|
171
|
+
for (var e = 0, t, f = (1 << o) / 2; f > 0; f /= 2) {
|
|
166
172
|
var u = 0, d = 0;
|
|
167
173
|
(v & f) > 0 && (u = 1), (r & f) > 0 && (d = 1), e += f * f * (3 * u ^ d), d === 0 && (u === 1 && (v = f - 1 - v, r = f - 1 - r), t = v, v = r, r = t);
|
|
168
174
|
}
|
|
169
175
|
return e;
|
|
170
176
|
}
|
|
171
|
-
function
|
|
172
|
-
var r = 1 / 0, a = 1 / 0, n = -1 / 0,
|
|
177
|
+
function A(v) {
|
|
178
|
+
var r = 1 / 0, a = 1 / 0, n = -1 / 0, l = -1 / 0, i = O(v, function(e) {
|
|
173
179
|
var t = e.getBoundingRect(), f = e.getComputedTransform(), u = t.x + t.width / 2 + (f ? f[4] : 0), d = t.y + t.height / 2 + (f ? f[5] : 0);
|
|
174
|
-
return r = Math.min(u, r), a = Math.min(d, a), n = Math.max(u, n),
|
|
175
|
-
}),
|
|
180
|
+
return r = Math.min(u, r), a = Math.min(d, a), n = Math.max(u, n), l = Math.max(d, l), [u, d];
|
|
181
|
+
}), o = O(i, function(e, t) {
|
|
176
182
|
return {
|
|
177
183
|
cp: e,
|
|
178
|
-
z: tr(e[0], e[1], r, a, n,
|
|
184
|
+
z: tr(e[0], e[1], r, a, n, l),
|
|
179
185
|
path: v[t]
|
|
180
186
|
};
|
|
181
187
|
});
|
|
182
|
-
return
|
|
188
|
+
return o.sort(function(e, t) {
|
|
183
189
|
return e.z - t.z;
|
|
184
190
|
}).map(function(e) {
|
|
185
191
|
return e.path;
|
|
@@ -188,32 +194,32 @@ function $(v) {
|
|
|
188
194
|
function rr(v) {
|
|
189
195
|
return er(v.path, v.count);
|
|
190
196
|
}
|
|
191
|
-
function
|
|
197
|
+
function L() {
|
|
192
198
|
return {
|
|
193
199
|
fromIndividuals: [],
|
|
194
200
|
toIndividuals: [],
|
|
195
201
|
count: 0
|
|
196
202
|
};
|
|
197
203
|
}
|
|
198
|
-
function
|
|
204
|
+
function Ir(v, r, a) {
|
|
199
205
|
var n = [];
|
|
200
|
-
function
|
|
206
|
+
function l(s) {
|
|
201
207
|
for (var g = 0; g < s.length; g++) {
|
|
202
208
|
var R = s[g];
|
|
203
|
-
|
|
209
|
+
Y(R) ? l(R.childrenRef()) : R instanceof z && n.push(R);
|
|
204
210
|
}
|
|
205
211
|
}
|
|
206
|
-
|
|
212
|
+
l(v);
|
|
207
213
|
var i = n.length;
|
|
208
214
|
if (!i)
|
|
209
|
-
return
|
|
210
|
-
var
|
|
215
|
+
return L();
|
|
216
|
+
var o = a.dividePath || rr, e = o({
|
|
211
217
|
path: r,
|
|
212
218
|
count: i
|
|
213
219
|
});
|
|
214
220
|
if (e.length !== i)
|
|
215
|
-
return console.error("Invalid morphing: unmatched splitted path"),
|
|
216
|
-
n =
|
|
221
|
+
return console.error("Invalid morphing: unmatched splitted path"), L();
|
|
222
|
+
n = A(n), e = A(e);
|
|
217
223
|
for (var t = a.done, f = a.during, u = a.individualDelay, d = new ar(), c = 0; c < i; c++) {
|
|
218
224
|
var h = n[c], I = e[c];
|
|
219
225
|
I.parent = r, I.copyTransform(d), u || B(h, I);
|
|
@@ -221,38 +227,38 @@ function pr(v, r, a) {
|
|
|
221
227
|
r.__isCombineMorphing = !0, r.childrenRef = function() {
|
|
222
228
|
return e;
|
|
223
229
|
};
|
|
224
|
-
function
|
|
230
|
+
function T(s) {
|
|
225
231
|
for (var g = 0; g < e.length; g++)
|
|
226
232
|
e[g].addSelfToZr(s);
|
|
227
233
|
}
|
|
228
|
-
|
|
234
|
+
$(r, "addSelfToZr", {
|
|
229
235
|
after: function(s) {
|
|
230
|
-
|
|
236
|
+
T(s);
|
|
231
237
|
}
|
|
232
|
-
}),
|
|
238
|
+
}), $(r, "removeSelfFromZr", {
|
|
233
239
|
after: function(s) {
|
|
234
240
|
for (var g = 0; g < e.length; g++)
|
|
235
241
|
e[g].removeSelfFromZr(s);
|
|
236
242
|
}
|
|
237
243
|
});
|
|
238
|
-
function
|
|
239
|
-
r.__isCombineMorphing = !1, r.__morphT = -1, r.childrenRef = null,
|
|
244
|
+
function Z() {
|
|
245
|
+
r.__isCombineMorphing = !1, r.__morphT = -1, r.childrenRef = null, J(r, "addSelfToZr"), J(r, "removeSelfFromZr");
|
|
240
246
|
}
|
|
241
247
|
var _ = e.length;
|
|
242
248
|
if (u)
|
|
243
|
-
for (var D = _,
|
|
244
|
-
D--, D === 0 && (
|
|
249
|
+
for (var D = _, M = function() {
|
|
250
|
+
D--, D === 0 && (Z(), t && t());
|
|
245
251
|
}, c = 0; c < _; c++) {
|
|
246
|
-
var
|
|
252
|
+
var C = u ? W({
|
|
247
253
|
delay: (a.delay || 0) + u(c, _, n[c], e[c]),
|
|
248
|
-
done:
|
|
254
|
+
done: M
|
|
249
255
|
}, a) : a;
|
|
250
|
-
b(n[c], e[c],
|
|
256
|
+
b(n[c], e[c], C);
|
|
251
257
|
}
|
|
252
258
|
else
|
|
253
259
|
r.__morphT = 0, r.animateTo({
|
|
254
260
|
__morphT: 1
|
|
255
|
-
},
|
|
261
|
+
}, W({
|
|
256
262
|
during: function(s) {
|
|
257
263
|
for (var g = 0; g < _; g++) {
|
|
258
264
|
var R = e[g];
|
|
@@ -261,59 +267,60 @@ function pr(v, r, a) {
|
|
|
261
267
|
f && f(s);
|
|
262
268
|
},
|
|
263
269
|
done: function() {
|
|
264
|
-
|
|
270
|
+
Z();
|
|
265
271
|
for (var s = 0; s < v.length; s++)
|
|
266
|
-
|
|
272
|
+
J(v[s], "updateTransform");
|
|
267
273
|
t && t();
|
|
268
274
|
}
|
|
269
275
|
}, a));
|
|
270
|
-
return r.__zr &&
|
|
276
|
+
return r.__zr && T(r.__zr), {
|
|
271
277
|
fromIndividuals: n,
|
|
272
278
|
toIndividuals: e,
|
|
273
279
|
count: _
|
|
274
280
|
};
|
|
275
281
|
}
|
|
276
|
-
function
|
|
277
|
-
var n = r.length,
|
|
278
|
-
function
|
|
282
|
+
function Dr(v, r, a) {
|
|
283
|
+
var n = r.length, l = [], i = a.dividePath || rr;
|
|
284
|
+
function o(h) {
|
|
279
285
|
for (var I = 0; I < h.length; I++) {
|
|
280
|
-
var
|
|
281
|
-
|
|
286
|
+
var T = h[I];
|
|
287
|
+
Y(T) ? o(T.childrenRef()) : T instanceof z && l.push(T);
|
|
282
288
|
}
|
|
283
289
|
}
|
|
284
|
-
if (
|
|
285
|
-
|
|
286
|
-
var e =
|
|
290
|
+
if (Y(v)) {
|
|
291
|
+
o(v.childrenRef());
|
|
292
|
+
var e = l.length;
|
|
287
293
|
if (e < n)
|
|
288
294
|
for (var t = 0, f = e; f < n; f++)
|
|
289
|
-
|
|
290
|
-
|
|
295
|
+
l.push(nr(l[t++ % e]));
|
|
296
|
+
l.length = n;
|
|
291
297
|
} else {
|
|
292
|
-
|
|
293
|
-
for (var u = v.getComputedTransform(), f = 0; f <
|
|
294
|
-
|
|
295
|
-
if (
|
|
296
|
-
return console.error("Invalid morphing: unmatched splitted path"),
|
|
298
|
+
l = i({ path: v, count: n });
|
|
299
|
+
for (var u = v.getComputedTransform(), f = 0; f < l.length; f++)
|
|
300
|
+
l[f].setLocalTransform(u);
|
|
301
|
+
if (l.length !== n)
|
|
302
|
+
return console.error("Invalid morphing: unmatched splitted path"), L();
|
|
297
303
|
}
|
|
298
|
-
|
|
304
|
+
l = A(l), r = A(r);
|
|
299
305
|
for (var d = a.individualDelay, f = 0; f < n; f++) {
|
|
300
|
-
var c = d ?
|
|
301
|
-
delay: (a.delay || 0) + d(f, n,
|
|
306
|
+
var c = d ? W({
|
|
307
|
+
delay: (a.delay || 0) + d(f, n, l[f], r[f])
|
|
302
308
|
}, a) : a;
|
|
303
|
-
b(
|
|
309
|
+
b(l[f], r[f], c);
|
|
304
310
|
}
|
|
305
311
|
return {
|
|
306
|
-
fromIndividuals:
|
|
312
|
+
fromIndividuals: l,
|
|
307
313
|
toIndividuals: r,
|
|
308
314
|
count: r.length
|
|
309
315
|
};
|
|
310
316
|
}
|
|
311
317
|
export {
|
|
312
|
-
|
|
318
|
+
lr as alignBezierCurves,
|
|
313
319
|
k as centroid,
|
|
314
|
-
|
|
320
|
+
Ir as combineMorph,
|
|
315
321
|
er as defaultDividePath,
|
|
316
|
-
|
|
322
|
+
Y as isCombineMorphing,
|
|
323
|
+
pr as isMorphing,
|
|
317
324
|
b as morphPath,
|
|
318
|
-
|
|
325
|
+
Dr as separateMorph
|
|
319
326
|
};
|
|
@@ -6,14 +6,14 @@ import V from "../graphic/shape/Ellipse.js";
|
|
|
6
6
|
import j from "../graphic/shape/Line.js";
|
|
7
7
|
import H from "../graphic/shape/Polygon.js";
|
|
8
8
|
import J from "../graphic/shape/Polyline.js";
|
|
9
|
-
import {
|
|
9
|
+
import { create as K, mul as T, rotate as q, scale as Z, translate as z } from "../core/matrix.js";
|
|
10
10
|
import { createFromString as Q } from "./path.js";
|
|
11
11
|
import { keys as D, hasOwn as _, defaults as $, each as E, map as m, trim as B } from "../core/util.js";
|
|
12
12
|
import N from "../graphic/LinearGradient.js";
|
|
13
13
|
import tt from "../graphic/RadialGradient.js";
|
|
14
14
|
import et from "../graphic/TSpan.js";
|
|
15
15
|
import { parseXML as rt } from "./parseXML.js";
|
|
16
|
-
var
|
|
16
|
+
var w, F = {
|
|
17
17
|
fill: "fill",
|
|
18
18
|
stroke: "stroke",
|
|
19
19
|
"stroke-width": "lineWidth",
|
|
@@ -80,8 +80,8 @@ var A, F = {
|
|
|
80
80
|
n = i;
|
|
81
81
|
else {
|
|
82
82
|
if (!a) {
|
|
83
|
-
var y =
|
|
84
|
-
if (y && _(
|
|
83
|
+
var y = w[l];
|
|
84
|
+
if (y && _(w, l)) {
|
|
85
85
|
n = y.call(this, e, i);
|
|
86
86
|
var v = e.getAttribute("name");
|
|
87
87
|
if (v) {
|
|
@@ -132,7 +132,7 @@ var A, F = {
|
|
|
132
132
|
var l = t.getBoundingRect();
|
|
133
133
|
return this._textX += l.width, i.add(t), t;
|
|
134
134
|
}, s.internalField = (function() {
|
|
135
|
-
|
|
135
|
+
w = {
|
|
136
136
|
g: function(e, i) {
|
|
137
137
|
var t = new b();
|
|
138
138
|
return u(i, t), o(e, t, this._defsUsePending, !1, !1), t;
|
|
@@ -319,7 +319,7 @@ var lt = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
|
|
|
319
319
|
function S(s) {
|
|
320
320
|
return s.match(lt) || [];
|
|
321
321
|
}
|
|
322
|
-
var ft = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,
|
|
322
|
+
var ft = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, A = Math.PI / 180;
|
|
323
323
|
function ot(s, e) {
|
|
324
324
|
var i = s.getAttribute("transform");
|
|
325
325
|
if (i) {
|
|
@@ -330,25 +330,25 @@ function ot(s, e) {
|
|
|
330
330
|
});
|
|
331
331
|
for (var a = t.length - 1; a > 0; a -= 2) {
|
|
332
332
|
var f = t[a], l = t[a - 1], n = S(f);
|
|
333
|
-
switch (r = r ||
|
|
333
|
+
switch (r = r || K(), l) {
|
|
334
334
|
case "translate":
|
|
335
|
-
|
|
335
|
+
z(r, r, [parseFloat(n[0]), parseFloat(n[1] || "0")]);
|
|
336
336
|
break;
|
|
337
337
|
case "scale":
|
|
338
|
-
|
|
338
|
+
Z(r, r, [parseFloat(n[0]), parseFloat(n[1] || n[0])]);
|
|
339
339
|
break;
|
|
340
340
|
case "rotate":
|
|
341
|
-
|
|
341
|
+
q(r, r, -parseFloat(n[0]) * A, [
|
|
342
342
|
parseFloat(n[1] || "0"),
|
|
343
343
|
parseFloat(n[2] || "0")
|
|
344
344
|
]);
|
|
345
345
|
break;
|
|
346
346
|
case "skewX":
|
|
347
|
-
var g = Math.tan(parseFloat(n[0]) *
|
|
347
|
+
var g = Math.tan(parseFloat(n[0]) * A);
|
|
348
348
|
T(r, [1, 0, g, 1, 0, 0], r);
|
|
349
349
|
break;
|
|
350
350
|
case "skewY":
|
|
351
|
-
var y = Math.tan(parseFloat(n[0]) *
|
|
351
|
+
var y = Math.tan(parseFloat(n[0]) * A);
|
|
352
352
|
T(r, [1, y, 0, 1, 0, 0], r);
|
|
353
353
|
break;
|
|
354
354
|
case "matrix":
|