web-core-tcm 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/globals.js +1 -0
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.js +10 -8
- package/dist/src/api/check/alova/globals.js +1 -0
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.js +5 -6
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/doctor/alova/globals.js +1 -0
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.js +10 -9
- package/dist/src/api/index.js +28 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/globals.js +1 -0
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.js +13 -11
- package/dist/src/api/outpatient/alova/globals.js +1 -0
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.js +5 -5
- package/dist/src/api/patient/alova/globals.js +1 -0
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.js +9 -12
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/globals.js +1 -0
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.js +8 -7
- package/dist/src/api/scientist/alova/globals.js +1 -0
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.js +5 -5
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +63 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { __extends as
|
|
2
|
-
import { each as d, bind as ir, merge as H, clone as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { __extends as nr } from "../../../../tslib/tslib.es6.js";
|
|
2
|
+
import { each as d, bind as ir, merge as H, clone as c, map as I, curry as l, defaults as sr } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import ur from "../../../../zrender/lib/core/Eventful.js";
|
|
4
|
+
import { getTransform as fr, transformDirection as or } from "../../util/graphic.js";
|
|
5
5
|
import { take as hr, release as vr } from "./interactionMutex.js";
|
|
6
6
|
import gr from "../../data/DataDiffer.js";
|
|
7
|
-
import
|
|
7
|
+
import z from "../../../../zrender/lib/graphic/Group.js";
|
|
8
|
+
import N from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
8
9
|
import dr from "../../../../zrender/lib/graphic/shape/Polygon.js";
|
|
9
10
|
import pr from "../../../../zrender/lib/graphic/shape/Polyline.js";
|
|
10
|
-
|
|
11
|
-
var _ = !0, y = Math.min, b = Math.max, _r = Math.pow, mr = 1e4, cr = 6, lr = 6, X = "globalPan", br = {
|
|
11
|
+
var _ = !0, y = Math.min, b = Math.max, _r = Math.pow, mr = 1e4, lr = 6, cr = 6, X = "globalPan", br = {
|
|
12
12
|
w: [0, 0],
|
|
13
13
|
e: [0, 1],
|
|
14
14
|
n: [1, 0],
|
|
@@ -31,80 +31,80 @@ var _ = !0, y = Math.min, b = Math.max, _r = Math.pow, mr = 1e4, cr = 6, lr = 6,
|
|
|
31
31
|
transformable: !0,
|
|
32
32
|
brushMode: "single",
|
|
33
33
|
removeOnClick: !1
|
|
34
|
-
}, yr = 0,
|
|
34
|
+
}, yr = 0, Yr = (
|
|
35
35
|
/** @class */
|
|
36
36
|
(function(r) {
|
|
37
|
-
|
|
37
|
+
nr(e, r);
|
|
38
38
|
function e(t) {
|
|
39
|
-
var
|
|
40
|
-
return
|
|
41
|
-
this._handlers[i] = ir(
|
|
42
|
-
},
|
|
39
|
+
var a = r.call(this) || this;
|
|
40
|
+
return a._track = [], a._covers = [], a._handlers = {}, a._zr = t, a.group = new z(), a._uid = "brushController_" + yr++, d(Dr, function(n, i) {
|
|
41
|
+
this._handlers[i] = ir(n, this);
|
|
42
|
+
}, a), a;
|
|
43
43
|
}
|
|
44
44
|
return e.prototype.enableBrush = function(t) {
|
|
45
45
|
return this._brushType && this._doDisableBrush(), t.brushType && this._doEnableBrush(t), this;
|
|
46
46
|
}, e.prototype._doEnableBrush = function(t) {
|
|
47
|
-
var
|
|
48
|
-
this._enableGlobalPan || hr(
|
|
49
|
-
|
|
50
|
-
}), this._brushType = t.brushType, this._brushOption = H(
|
|
47
|
+
var a = this._zr;
|
|
48
|
+
this._enableGlobalPan || hr(a, X, this._uid), d(this._handlers, function(n, i) {
|
|
49
|
+
a.on(i, n);
|
|
50
|
+
}), this._brushType = t.brushType, this._brushOption = H(c(Y), t, !0);
|
|
51
51
|
}, e.prototype._doDisableBrush = function() {
|
|
52
52
|
var t = this._zr;
|
|
53
|
-
vr(t, X, this._uid), d(this._handlers, function(
|
|
54
|
-
t.off(
|
|
53
|
+
vr(t, X, this._uid), d(this._handlers, function(a, n) {
|
|
54
|
+
t.off(n, a);
|
|
55
55
|
}), this._brushType = this._brushOption = null;
|
|
56
56
|
}, e.prototype.setPanels = function(t) {
|
|
57
57
|
if (t && t.length) {
|
|
58
|
-
var
|
|
59
|
-
d(t, function(
|
|
60
|
-
n
|
|
58
|
+
var a = this._panels = {};
|
|
59
|
+
d(t, function(n) {
|
|
60
|
+
a[n.panelId] = c(n);
|
|
61
61
|
});
|
|
62
62
|
} else
|
|
63
63
|
this._panels = null;
|
|
64
64
|
return this;
|
|
65
65
|
}, e.prototype.mount = function(t) {
|
|
66
66
|
t = t || {}, this._enableGlobalPan = t.enableGlobalPan;
|
|
67
|
-
var
|
|
68
|
-
return this._zr.add(
|
|
67
|
+
var a = this.group;
|
|
68
|
+
return this._zr.add(a), a.attr({
|
|
69
69
|
x: t.x || 0,
|
|
70
70
|
y: t.y || 0,
|
|
71
71
|
rotation: t.rotation || 0,
|
|
72
72
|
scaleX: t.scaleX || 1,
|
|
73
73
|
scaleY: t.scaleY || 1
|
|
74
|
-
}), this._transform =
|
|
74
|
+
}), this._transform = a.getLocalTransform(), this;
|
|
75
75
|
}, e.prototype.updateCovers = function(t) {
|
|
76
76
|
t = I(t, function(o) {
|
|
77
|
-
return H(
|
|
77
|
+
return H(c(Y), o, !0);
|
|
78
78
|
});
|
|
79
|
-
var
|
|
80
|
-
return new gr(
|
|
79
|
+
var a = "\0-brush-index-", n = this._covers, i = this._covers = [], s = this, u = this._creatingCover;
|
|
80
|
+
return new gr(n, t, v, f).add(g).update(g).remove(w).execute(), this;
|
|
81
81
|
function f(o, h) {
|
|
82
|
-
return (o.id != null ? o.id :
|
|
82
|
+
return (o.id != null ? o.id : a + h) + "-" + o.brushType;
|
|
83
83
|
}
|
|
84
84
|
function v(o, h) {
|
|
85
85
|
return f(o.__brushOption, h);
|
|
86
86
|
}
|
|
87
87
|
function g(o, h) {
|
|
88
88
|
var C = t[o];
|
|
89
|
-
if (h != null &&
|
|
90
|
-
i[o] =
|
|
89
|
+
if (h != null && n[h] === u)
|
|
90
|
+
i[o] = n[h];
|
|
91
91
|
else {
|
|
92
|
-
var
|
|
93
|
-
|
|
92
|
+
var T = i[o] = h != null ? (n[h].__brushOption = C, n[h]) : V(s, F(s, C));
|
|
93
|
+
P(s, T);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
function w(o) {
|
|
97
|
-
|
|
97
|
+
n[o] !== u && s.group.remove(n[o]);
|
|
98
98
|
}
|
|
99
99
|
}, e.prototype.unmount = function() {
|
|
100
100
|
return this.enableBrush(!1), E(this), this._zr.remove(this.group), this;
|
|
101
101
|
}, e.prototype.dispose = function() {
|
|
102
102
|
this.unmount(), this.off();
|
|
103
103
|
}, e;
|
|
104
|
-
})(
|
|
104
|
+
})(ur)
|
|
105
105
|
);
|
|
106
106
|
function F(r, e) {
|
|
107
|
-
var t =
|
|
107
|
+
var t = R[e.brushType].createCover(r, e);
|
|
108
108
|
return t.__brushOption = e, J(t, e), r.group.add(t), t;
|
|
109
109
|
}
|
|
110
110
|
function V(r, e) {
|
|
@@ -117,44 +117,44 @@ function $(r, e) {
|
|
|
117
117
|
}
|
|
118
118
|
function J(r, e) {
|
|
119
119
|
var t = e.z;
|
|
120
|
-
t == null && (t = mr), r.traverse(function(
|
|
121
|
-
|
|
120
|
+
t == null && (t = mr), r.traverse(function(a) {
|
|
121
|
+
a.z = t, a.z2 = t;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function P(r, e) {
|
|
125
125
|
k(e).updateCommon(r, e), $(r, e);
|
|
126
126
|
}
|
|
127
127
|
function k(r) {
|
|
128
|
-
return
|
|
128
|
+
return R[r.__brushOption.brushType];
|
|
129
129
|
}
|
|
130
130
|
function L(r, e, t) {
|
|
131
|
-
var
|
|
132
|
-
if (!
|
|
131
|
+
var a = r._panels;
|
|
132
|
+
if (!a)
|
|
133
133
|
return _;
|
|
134
|
-
var
|
|
135
|
-
return d(
|
|
136
|
-
|
|
137
|
-
}),
|
|
134
|
+
var n, i = r._transform;
|
|
135
|
+
return d(a, function(s) {
|
|
136
|
+
s.isTargetByCursor(e, t, i) && (n = s);
|
|
137
|
+
}), n;
|
|
138
138
|
}
|
|
139
139
|
function Q(r, e) {
|
|
140
140
|
var t = r._panels;
|
|
141
141
|
if (!t)
|
|
142
142
|
return _;
|
|
143
|
-
var
|
|
144
|
-
return
|
|
143
|
+
var a = e.__brushOption.panelId;
|
|
144
|
+
return a != null ? t[a] : _;
|
|
145
145
|
}
|
|
146
146
|
function E(r) {
|
|
147
147
|
var e = r._covers, t = e.length;
|
|
148
|
-
return d(e, function(
|
|
149
|
-
r.group.remove(
|
|
148
|
+
return d(e, function(a) {
|
|
149
|
+
r.group.remove(a);
|
|
150
150
|
}, r), e.length = 0, !!t;
|
|
151
151
|
}
|
|
152
152
|
function m(r, e) {
|
|
153
|
-
var t = I(r._covers, function(
|
|
154
|
-
var
|
|
153
|
+
var t = I(r._covers, function(a) {
|
|
154
|
+
var n = a.__brushOption, i = c(n.range);
|
|
155
155
|
return {
|
|
156
|
-
brushType:
|
|
157
|
-
panelId:
|
|
156
|
+
brushType: n.brushType,
|
|
157
|
+
panelId: n.panelId,
|
|
158
158
|
range: i
|
|
159
159
|
};
|
|
160
160
|
});
|
|
@@ -168,27 +168,27 @@ function wr(r) {
|
|
|
168
168
|
var e = r._track;
|
|
169
169
|
if (!e.length)
|
|
170
170
|
return !1;
|
|
171
|
-
var t = e[e.length - 1],
|
|
172
|
-
return
|
|
171
|
+
var t = e[e.length - 1], a = e[0], n = t[0] - a[0], i = t[1] - a[1], s = _r(n * n + i * i, 0.5);
|
|
172
|
+
return s > lr;
|
|
173
173
|
}
|
|
174
174
|
function q(r) {
|
|
175
175
|
var e = r.length - 1;
|
|
176
176
|
return e < 0 && (e = 0), [r[0], r[e]];
|
|
177
177
|
}
|
|
178
|
-
function x(r, e, t,
|
|
179
|
-
var
|
|
180
|
-
return
|
|
178
|
+
function x(r, e, t, a) {
|
|
179
|
+
var n = new z();
|
|
180
|
+
return n.add(new N({
|
|
181
181
|
name: "main",
|
|
182
182
|
style: M(t),
|
|
183
183
|
silent: !0,
|
|
184
184
|
draggable: !0,
|
|
185
185
|
cursor: "move",
|
|
186
|
-
drift:
|
|
187
|
-
ondragend:
|
|
186
|
+
drift: l(W, r, e, n, ["n", "s", "w", "e"]),
|
|
187
|
+
ondragend: l(m, e, {
|
|
188
188
|
isEnd: !0
|
|
189
189
|
})
|
|
190
|
-
})), d(
|
|
191
|
-
|
|
190
|
+
})), d(a, function(i) {
|
|
191
|
+
n.add(new N({
|
|
192
192
|
name: i.join(""),
|
|
193
193
|
style: {
|
|
194
194
|
opacity: 0
|
|
@@ -196,116 +196,116 @@ function x(r, e, t, n) {
|
|
|
196
196
|
draggable: !0,
|
|
197
197
|
silent: !0,
|
|
198
198
|
invisible: !0,
|
|
199
|
-
drift:
|
|
200
|
-
ondragend:
|
|
199
|
+
drift: l(W, r, e, n, i),
|
|
200
|
+
ondragend: l(m, e, {
|
|
201
201
|
isEnd: !0
|
|
202
202
|
})
|
|
203
203
|
}));
|
|
204
|
-
}),
|
|
204
|
+
}), n;
|
|
205
205
|
}
|
|
206
|
-
function rr(r, e, t,
|
|
207
|
-
var
|
|
208
|
-
p(r, e, "main",
|
|
206
|
+
function rr(r, e, t, a) {
|
|
207
|
+
var n = a.brushStyle.lineWidth || 0, i = b(n, cr), s = t[0][0], u = t[1][0], f = s - n / 2, v = u - n / 2, g = t[0][1], w = t[1][1], o = g - i + n / 2, h = w - i + n / 2, C = g - s, T = w - u, G = C + n, U = T + n;
|
|
208
|
+
p(r, e, "main", s, u, C, T), a.transformable && (p(r, e, "w", f, v, i, U), p(r, e, "e", o, v, i, U), p(r, e, "n", f, v, G, i), p(r, e, "s", f, h, G, i), p(r, e, "nw", f, v, i, i), p(r, e, "ne", o, v, i, i), p(r, e, "sw", f, h, i, i), p(r, e, "se", o, h, i, i));
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
var t = e.__brushOption,
|
|
212
|
-
|
|
213
|
-
silent: !
|
|
214
|
-
cursor:
|
|
210
|
+
function B(r, e) {
|
|
211
|
+
var t = e.__brushOption, a = t.transformable, n = e.childAt(0);
|
|
212
|
+
n.useStyle(M(t)), n.attr({
|
|
213
|
+
silent: !a,
|
|
214
|
+
cursor: a ? "move" : "default"
|
|
215
215
|
}), d([["w"], ["e"], ["n"], ["s"], ["s", "e"], ["s", "w"], ["n", "e"], ["n", "w"]], function(i) {
|
|
216
|
-
var
|
|
217
|
-
|
|
218
|
-
silent: !
|
|
219
|
-
invisible: !
|
|
220
|
-
cursor:
|
|
216
|
+
var s = e.childOfName(i.join("")), u = i.length === 1 ? O(r, i[0]) : Rr(r, i);
|
|
217
|
+
s && s.attr({
|
|
218
|
+
silent: !a,
|
|
219
|
+
invisible: !a,
|
|
220
|
+
cursor: a ? Cr[u] + "-resize" : null
|
|
221
221
|
});
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
function p(r, e, t,
|
|
225
|
-
var
|
|
226
|
-
|
|
224
|
+
function p(r, e, t, a, n, i, s) {
|
|
225
|
+
var u = e.childOfName(t);
|
|
226
|
+
u && u.setShape(Br(A(r, e, [[a, n], [a + i, n + s]])));
|
|
227
227
|
}
|
|
228
228
|
function M(r) {
|
|
229
|
-
return
|
|
229
|
+
return sr({
|
|
230
230
|
strokeNoScale: !0
|
|
231
231
|
}, r.brushStyle);
|
|
232
232
|
}
|
|
233
|
-
function er(r, e, t,
|
|
234
|
-
var
|
|
233
|
+
function er(r, e, t, a) {
|
|
234
|
+
var n = [y(r, t), y(e, a)], i = [b(r, t), b(e, a)];
|
|
235
235
|
return [
|
|
236
|
-
[
|
|
237
|
-
[
|
|
236
|
+
[n[0], i[0]],
|
|
237
|
+
[n[1], i[1]]
|
|
238
238
|
// y range
|
|
239
239
|
];
|
|
240
240
|
}
|
|
241
|
-
function
|
|
242
|
-
return
|
|
241
|
+
function Tr(r) {
|
|
242
|
+
return fr(r.group);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function O(r, e) {
|
|
245
245
|
var t = {
|
|
246
246
|
w: "left",
|
|
247
247
|
e: "right",
|
|
248
248
|
n: "top",
|
|
249
249
|
s: "bottom"
|
|
250
|
-
},
|
|
250
|
+
}, a = {
|
|
251
251
|
left: "w",
|
|
252
252
|
right: "e",
|
|
253
253
|
top: "n",
|
|
254
254
|
bottom: "s"
|
|
255
|
-
},
|
|
256
|
-
return n
|
|
255
|
+
}, n = or(t[e], Tr(r));
|
|
256
|
+
return a[n];
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
var t = [
|
|
258
|
+
function Rr(r, e) {
|
|
259
|
+
var t = [O(r, e[0]), O(r, e[1])];
|
|
260
260
|
return (t[0] === "e" || t[0] === "w") && t.reverse(), t.join("");
|
|
261
261
|
}
|
|
262
|
-
function W(r, e, t,
|
|
263
|
-
var
|
|
264
|
-
d(
|
|
262
|
+
function W(r, e, t, a, n, i) {
|
|
263
|
+
var s = t.__brushOption, u = r.toRectRange(s.range), f = tr(e, n, i);
|
|
264
|
+
d(a, function(v) {
|
|
265
265
|
var g = br[v];
|
|
266
|
-
|
|
267
|
-
}),
|
|
266
|
+
u[g[0]][g[1]] += f[g[0]];
|
|
267
|
+
}), s.range = r.fromRectRange(er(u[0][0], u[1][0], u[0][1], u[1][1])), P(e, t), m(e, {
|
|
268
268
|
isEnd: !1
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
|
-
function Er(r, e, t,
|
|
272
|
-
var
|
|
273
|
-
d(
|
|
274
|
-
|
|
275
|
-
}),
|
|
271
|
+
function Er(r, e, t, a) {
|
|
272
|
+
var n = e.__brushOption.range, i = tr(r, t, a);
|
|
273
|
+
d(n, function(s) {
|
|
274
|
+
s[0] += i[0], s[1] += i[1];
|
|
275
|
+
}), P(r, e), m(r, {
|
|
276
276
|
isEnd: !1
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
function tr(r, e, t) {
|
|
280
|
-
var
|
|
281
|
-
return [
|
|
280
|
+
var a = r.group, n = a.transformCoordToLocal(e, t), i = a.transformCoordToLocal(0, 0);
|
|
281
|
+
return [n[0] - i[0], n[1] - i[1]];
|
|
282
282
|
}
|
|
283
283
|
function A(r, e, t) {
|
|
284
|
-
var
|
|
285
|
-
return
|
|
284
|
+
var a = Q(r, e);
|
|
285
|
+
return a && a !== _ ? a.clipPath(t, r._transform) : c(t);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
var e = y(r[0][0], r[1][0]), t = y(r[0][1], r[1][1]),
|
|
287
|
+
function Br(r) {
|
|
288
|
+
var e = y(r[0][0], r[1][0]), t = y(r[0][1], r[1][1]), a = b(r[0][0], r[1][0]), n = b(r[0][1], r[1][1]);
|
|
289
289
|
return {
|
|
290
290
|
x: e,
|
|
291
291
|
y: t,
|
|
292
|
-
width:
|
|
293
|
-
height:
|
|
292
|
+
width: a - e,
|
|
293
|
+
height: n - t
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Or(r, e, t) {
|
|
297
297
|
if (
|
|
298
298
|
// Check active
|
|
299
299
|
!(!r._brushType || Sr(r, e.offsetX, e.offsetY))
|
|
300
300
|
) {
|
|
301
|
-
var
|
|
301
|
+
var a = r._zr, n = r._covers, i = L(r, e, t);
|
|
302
302
|
if (!r._dragging)
|
|
303
|
-
for (var
|
|
304
|
-
var
|
|
305
|
-
if (i && (i === _ ||
|
|
303
|
+
for (var s = 0; s < n.length; s++) {
|
|
304
|
+
var u = n[s].__brushOption;
|
|
305
|
+
if (i && (i === _ || u.panelId === i.panelId) && R[u.brushType].contain(n[s], t[0], t[1]))
|
|
306
306
|
return;
|
|
307
307
|
}
|
|
308
|
-
i &&
|
|
308
|
+
i && a.setCursorStyle("crosshair");
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
function D(r) {
|
|
@@ -315,25 +315,25 @@ function D(r) {
|
|
|
315
315
|
function S(r, e, t) {
|
|
316
316
|
return r.childOfName("main").contain(e, t);
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
var
|
|
320
|
-
if (r._track.push(t.slice()), wr(r) ||
|
|
321
|
-
if (i && !
|
|
322
|
-
|
|
323
|
-
var f =
|
|
324
|
-
f.brushType = Z(f.brushType, i), f.panelId = i === _ ? null : i.panelId,
|
|
318
|
+
function ar(r, e, t, a) {
|
|
319
|
+
var n = r._creatingCover, i = r._creatingPanel, s = r._brushOption, u;
|
|
320
|
+
if (r._track.push(t.slice()), wr(r) || n) {
|
|
321
|
+
if (i && !n) {
|
|
322
|
+
s.brushMode === "single" && E(r);
|
|
323
|
+
var f = c(s);
|
|
324
|
+
f.brushType = Z(f.brushType, i), f.panelId = i === _ ? null : i.panelId, n = r._creatingCover = F(r, f), r._covers.push(n);
|
|
325
325
|
}
|
|
326
|
-
if (
|
|
327
|
-
var v =
|
|
328
|
-
g.range = v.getCreatingRange(A(r,
|
|
329
|
-
isEnd:
|
|
326
|
+
if (n) {
|
|
327
|
+
var v = R[Z(r._brushType, i)], g = n.__brushOption;
|
|
328
|
+
g.range = v.getCreatingRange(A(r, n, r._track)), a && (V(r, n), v.updateCommon(r, n)), $(r, n), u = {
|
|
329
|
+
isEnd: a
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
|
-
} else
|
|
333
|
-
isEnd:
|
|
332
|
+
} else a && s.brushMode === "single" && s.removeOnClick && L(r, e, t) && E(r) && (u = {
|
|
333
|
+
isEnd: a,
|
|
334
334
|
removeOnClick: !0
|
|
335
335
|
});
|
|
336
|
-
return
|
|
336
|
+
return u;
|
|
337
337
|
}
|
|
338
338
|
function Z(r, e) {
|
|
339
339
|
return r === "auto" ? e.defaultBrushType : r;
|
|
@@ -351,11 +351,11 @@ var Dr = {
|
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
mousemove: function(r) {
|
|
354
|
-
var e = r.offsetX, t = r.offsetY,
|
|
355
|
-
if (
|
|
354
|
+
var e = r.offsetX, t = r.offsetY, a = this.group.transformCoordToLocal(e, t);
|
|
355
|
+
if (Or(this, r, a), this._dragging) {
|
|
356
356
|
D(r);
|
|
357
|
-
var
|
|
358
|
-
|
|
357
|
+
var n = ar(this, r, a, !1);
|
|
358
|
+
n && m(this, n);
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
mouseup: function(r) {
|
|
@@ -365,21 +365,21 @@ var Dr = {
|
|
|
365
365
|
function j(r, e) {
|
|
366
366
|
if (r._dragging) {
|
|
367
367
|
D(e);
|
|
368
|
-
var t = e.offsetX,
|
|
368
|
+
var t = e.offsetX, a = e.offsetY, n = r.group.transformCoordToLocal(t, a), i = ar(r, e, n, !0);
|
|
369
369
|
r._dragging = !1, r._track = [], r._creatingCover = null, i && m(r, i);
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
function Sr(r, e, t) {
|
|
373
|
-
var
|
|
374
|
-
return e < 0 || e >
|
|
373
|
+
var a = r._zr;
|
|
374
|
+
return e < 0 || e > a.getWidth() || t < 0 || t > a.getHeight();
|
|
375
375
|
}
|
|
376
|
-
var
|
|
376
|
+
var R = {
|
|
377
377
|
lineX: K(0),
|
|
378
378
|
lineY: K(1),
|
|
379
379
|
rect: {
|
|
380
380
|
createCover: function(r, e) {
|
|
381
|
-
function t(
|
|
382
|
-
return
|
|
381
|
+
function t(a) {
|
|
382
|
+
return a;
|
|
383
383
|
}
|
|
384
384
|
return x({
|
|
385
385
|
toRectRange: t,
|
|
@@ -390,15 +390,15 @@ var T = {
|
|
|
390
390
|
var e = q(r);
|
|
391
391
|
return er(e[1][0], e[1][1], e[0][0], e[0][1]);
|
|
392
392
|
},
|
|
393
|
-
updateCoverShape: function(r, e, t,
|
|
394
|
-
rr(r, e, t,
|
|
393
|
+
updateCoverShape: function(r, e, t, a) {
|
|
394
|
+
rr(r, e, t, a);
|
|
395
395
|
},
|
|
396
|
-
updateCommon:
|
|
396
|
+
updateCommon: B,
|
|
397
397
|
contain: S
|
|
398
398
|
},
|
|
399
399
|
polygon: {
|
|
400
400
|
createCover: function(r, e) {
|
|
401
|
-
var t = new
|
|
401
|
+
var t = new z();
|
|
402
402
|
return t.add(new pr({
|
|
403
403
|
name: "main",
|
|
404
404
|
style: M(e),
|
|
@@ -412,18 +412,18 @@ var T = {
|
|
|
412
412
|
e.remove(e.childAt(0)), e.add(new dr({
|
|
413
413
|
name: "main",
|
|
414
414
|
draggable: !0,
|
|
415
|
-
drift:
|
|
416
|
-
ondragend:
|
|
415
|
+
drift: l(Er, r, e),
|
|
416
|
+
ondragend: l(m, r, {
|
|
417
417
|
isEnd: !0
|
|
418
418
|
})
|
|
419
419
|
}));
|
|
420
420
|
},
|
|
421
|
-
updateCoverShape: function(r, e, t,
|
|
421
|
+
updateCoverShape: function(r, e, t, a) {
|
|
422
422
|
e.childAt(0).setShape({
|
|
423
423
|
points: A(r, e, t)
|
|
424
424
|
});
|
|
425
425
|
},
|
|
426
|
-
updateCommon:
|
|
426
|
+
updateCommon: B,
|
|
427
427
|
contain: S
|
|
428
428
|
}
|
|
429
429
|
};
|
|
@@ -431,34 +431,34 @@ function K(r) {
|
|
|
431
431
|
return {
|
|
432
432
|
createCover: function(e, t) {
|
|
433
433
|
return x({
|
|
434
|
-
toRectRange: function(
|
|
435
|
-
var
|
|
436
|
-
return r &&
|
|
434
|
+
toRectRange: function(a) {
|
|
435
|
+
var n = [a, [0, 100]];
|
|
436
|
+
return r && n.reverse(), n;
|
|
437
437
|
},
|
|
438
|
-
fromRectRange: function(
|
|
439
|
-
return
|
|
438
|
+
fromRectRange: function(a) {
|
|
439
|
+
return a[r];
|
|
440
440
|
}
|
|
441
441
|
}, e, t, [[["w"], ["e"]], [["n"], ["s"]]][r]);
|
|
442
442
|
},
|
|
443
443
|
getCreatingRange: function(e) {
|
|
444
|
-
var t = q(e),
|
|
445
|
-
return [
|
|
444
|
+
var t = q(e), a = y(t[0][r], t[1][r]), n = b(t[0][r], t[1][r]);
|
|
445
|
+
return [a, n];
|
|
446
446
|
},
|
|
447
|
-
updateCoverShape: function(e, t,
|
|
448
|
-
var i,
|
|
449
|
-
if (
|
|
450
|
-
i =
|
|
447
|
+
updateCoverShape: function(e, t, a, n) {
|
|
448
|
+
var i, s = Q(e, t);
|
|
449
|
+
if (s !== _ && s.getLinearBrushOtherExtent)
|
|
450
|
+
i = s.getLinearBrushOtherExtent(r);
|
|
451
451
|
else {
|
|
452
|
-
var
|
|
453
|
-
i = [0, [
|
|
452
|
+
var u = e._zr;
|
|
453
|
+
i = [0, [u.getWidth(), u.getHeight()][1 - r]];
|
|
454
454
|
}
|
|
455
|
-
var f = [
|
|
456
|
-
r && f.reverse(), rr(e, t, f,
|
|
455
|
+
var f = [a, i];
|
|
456
|
+
r && f.reverse(), rr(e, t, f, n);
|
|
457
457
|
},
|
|
458
|
-
updateCommon:
|
|
458
|
+
updateCommon: B,
|
|
459
459
|
contain: S
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
462
|
export {
|
|
463
|
-
|
|
463
|
+
Yr as default
|
|
464
464
|
};
|