web-core-tcm 0.0.61 → 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,5 +1,5 @@
|
|
|
1
1
|
import { devicePixelRatio as Z } from "../config.js";
|
|
2
|
-
import {
|
|
2
|
+
import { extend as A, disableUserSelect as F, each as k, merge as C, logError as U, indexOf as j } from "../core/util.js";
|
|
3
3
|
import P from "./Layer.js";
|
|
4
4
|
import q from "../animation/requestAnimationFrame.js";
|
|
5
5
|
import Y from "../core/env.js";
|
|
@@ -25,17 +25,17 @@ var ot = (function() {
|
|
|
25
25
|
function a(t, i, e, r) {
|
|
26
26
|
this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas";
|
|
27
27
|
var s = !t.nodeName || t.nodeName.toUpperCase() === "CANVAS";
|
|
28
|
-
this._opts = e =
|
|
28
|
+
this._opts = e = A({}, e || {}), this.dpr = e.devicePixelRatio || Z, this._singleCanvas = s, this.root = t;
|
|
29
29
|
var n = t.style;
|
|
30
|
-
n && (
|
|
30
|
+
n && (F(t), t.innerHTML = ""), this.storage = i;
|
|
31
31
|
var f = this._zlevelList;
|
|
32
32
|
this._prevDisplayList = [];
|
|
33
33
|
var o = this._layers;
|
|
34
34
|
if (s) {
|
|
35
35
|
var h = t, _ = h.width, p = h.height;
|
|
36
36
|
e.width != null && (_ = e.width), e.height != null && (p = e.height), this.dpr = e.devicePixelRatio || 1, h.width = _ * this.dpr, h.height = p * this.dpr, this._width = _, this._height = p;
|
|
37
|
-
var
|
|
38
|
-
|
|
37
|
+
var l = new P(h, this, this.dpr);
|
|
38
|
+
l.__builtin__ = !0, l.initContext(), o[g] = l, l.zlevel = g, f.push(g), this._domRoot = t;
|
|
39
39
|
} else {
|
|
40
40
|
this._width = R(t, 0, e), this._height = R(t, 1, e);
|
|
41
41
|
var v = this._domRoot = X(this._width, this._height);
|
|
@@ -111,7 +111,7 @@ var ot = (function() {
|
|
|
111
111
|
v.__builtin__ && v !== this._hoverlayer && (v.__dirty || e) && s.push(v);
|
|
112
112
|
}
|
|
113
113
|
for (var h = !0, _ = !1, p = function(y) {
|
|
114
|
-
var d = s[y],
|
|
114
|
+
var d = s[y], u = d.ctx, L = n && d.createRepaintRects(t, i, l._width, l._height), m = e ? d.__startIndex : d.__drawIndex, M = !e && d.incremental && Date.now, z = M && Date.now(), T = d.zlevel === l._zlevelList[0] ? l._backgroundColor : null;
|
|
115
115
|
if (d.__startIndex === d.__endIndex)
|
|
116
116
|
d.clear(!1, T, L);
|
|
117
117
|
else if (m === d.__startIndex) {
|
|
@@ -119,7 +119,7 @@ var ot = (function() {
|
|
|
119
119
|
(!D.incremental || !D.notClear || e) && d.clear(!1, T, L);
|
|
120
120
|
}
|
|
121
121
|
m === -1 && (console.error("For some unknown reason. drawIndex is -1"), m = d.__startIndex);
|
|
122
|
-
var c, B = function(
|
|
122
|
+
var c, B = function(O) {
|
|
123
123
|
var N = {
|
|
124
124
|
inHover: !1,
|
|
125
125
|
allClipped: !1,
|
|
@@ -129,27 +129,27 @@ var ot = (function() {
|
|
|
129
129
|
};
|
|
130
130
|
for (c = m; c < d.__endIndex; c++) {
|
|
131
131
|
var S = t[c];
|
|
132
|
-
if (S.__inHover && (_ = !0), r._doPaintEl(S, d, n,
|
|
133
|
-
var
|
|
134
|
-
if (
|
|
132
|
+
if (S.__inHover && (_ = !0), r._doPaintEl(S, d, n, O, N, c === d.__endIndex - 1), M) {
|
|
133
|
+
var W = Date.now() - z;
|
|
134
|
+
if (W > 15)
|
|
135
135
|
break;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
N.prevElClipPaths &&
|
|
138
|
+
N.prevElClipPaths && u.restore();
|
|
139
139
|
};
|
|
140
140
|
if (L)
|
|
141
141
|
if (L.length === 0)
|
|
142
142
|
c = d.__endIndex;
|
|
143
143
|
else
|
|
144
|
-
for (var w =
|
|
145
|
-
var x = L[
|
|
146
|
-
|
|
144
|
+
for (var w = l.dpr, H = 0; H < L.length; ++H) {
|
|
145
|
+
var x = L[H];
|
|
146
|
+
u.save(), u.beginPath(), u.rect(x.x * w, x.y * w, x.width * w, x.height * w), u.clip(), B(x), u.restore();
|
|
147
147
|
}
|
|
148
148
|
else
|
|
149
|
-
|
|
149
|
+
u.save(), B(), u.restore();
|
|
150
150
|
d.__drawIndex = c, d.__drawIndex < d.__endIndex && (h = !1);
|
|
151
|
-
},
|
|
152
|
-
p(
|
|
151
|
+
}, l = this, E = 0; E < s.length; E++)
|
|
152
|
+
p(E);
|
|
153
153
|
return Y.wxa && k(this._layers, function(y) {
|
|
154
154
|
y && y.ctx && y.ctx.draw && y.ctx.draw();
|
|
155
155
|
}), {
|
|
@@ -218,7 +218,7 @@ var ot = (function() {
|
|
|
218
218
|
var s = null, n = 0, f, o;
|
|
219
219
|
for (o = 0; o < t.length; o++) {
|
|
220
220
|
var r = t[o], v = r.zlevel, h = void 0;
|
|
221
|
-
f !== v && (f = v, n = 0), r.incremental ? (h = this.getLayer(v + K, this._needsManuallyCompositing), h.incremental = !0, n = 1) : h = this.getLayer(v + (n > 0 ? b : 0), this._needsManuallyCompositing), h.__builtin__ ||
|
|
221
|
+
f !== v && (f = v, n = 0), r.incremental ? (h = this.getLayer(v + K, this._needsManuallyCompositing), h.incremental = !0, n = 1) : h = this.getLayer(v + (n > 0 ? b : 0), this._needsManuallyCompositing), h.__builtin__ || U("ZLevel " + v + " has been used by unkown layer " + h.id), h !== s && (h.__used = !0, h.__startIndex !== o && (h.__dirty = !0), h.__startIndex = o, h.incremental ? h.__drawIndex = -1 : h.__drawIndex = o, i(o), s = h), r.__dirty & J && !r.__inHover && (h.__dirty = !0, h.incremental && h.__drawIndex < 0 && (h.__drawIndex = o));
|
|
222
222
|
}
|
|
223
223
|
i(o), this.eachBuiltinLayer(function(_, p) {
|
|
224
224
|
!_.__used && _.getElementCount() > 0 && (_.__dirty = !0, _.__startIndex = _.__endIndex = _.__drawIndex = 0), _.__dirty && _.__drawIndex < 0 && (_.__drawIndex = _.__startIndex);
|
|
@@ -245,7 +245,7 @@ var ot = (function() {
|
|
|
245
245
|
}
|
|
246
246
|
}, a.prototype.delLayer = function(t) {
|
|
247
247
|
var i = this._layers, e = this._zlevelList, r = i[t];
|
|
248
|
-
r && (r.dom.parentNode.removeChild(r.dom), delete i[t], e.splice(
|
|
248
|
+
r && (r.dom.parentNode.removeChild(r.dom), delete i[t], e.splice(j(e, t), 1));
|
|
249
249
|
}, a.prototype.resize = function(t, i) {
|
|
250
250
|
if (this._domRoot.style) {
|
|
251
251
|
var e = this._domRoot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isNumber as o, isArray as u, map as i } from "../core/util.js";
|
|
2
2
|
function h(r, t) {
|
|
3
|
-
return !r || r === "solid" || !(t > 0) ? null : r === "dashed" ? [4 * t, 2 * t] : r === "dotted" ? [t] :
|
|
3
|
+
return !r || r === "solid" || !(t > 0) ? null : r === "dashed" ? [4 * t, 2 * t] : r === "dotted" ? [t] : o(r) ? [r] : u(r) ? r : null;
|
|
4
4
|
}
|
|
5
5
|
function e(r) {
|
|
6
6
|
var t = r.style, s = t.lineDash && t.lineWidth > 0 && h(t.lineDash, t.lineWidth), f = t.lineDashOffset;
|
|
7
7
|
if (s) {
|
|
8
8
|
var a = t.strokeNoScale && r.getLineScale ? r.getLineScale() : 1;
|
|
9
|
-
a && a !== 1 && (s =
|
|
9
|
+
a && a !== 1 && (s = i(s, function(n) {
|
|
10
10
|
return n / a;
|
|
11
11
|
}), f /= a);
|
|
12
12
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DEFAULT_COMMON_STYLE as p } from "../graphic/Displayable.js";
|
|
2
2
|
import $ from "../core/PathProxy.js";
|
|
3
3
|
import { createOrUpdateImage as V, isImageReady as j } from "../graphic/helper/image.js";
|
|
4
|
-
import {
|
|
4
|
+
import { getCanvasGradient as W, isClipPathChanged as x } from "./helper.js";
|
|
5
5
|
import I from "../graphic/Path.js";
|
|
6
6
|
import c from "../graphic/Image.js";
|
|
7
7
|
import rr from "../graphic/TSpan.js";
|
|
8
8
|
import { RADIAN_TO_DEGREE as ar } from "../core/util.js";
|
|
9
9
|
import { getLineDash as q } from "./dashStyle.js";
|
|
10
|
-
import {
|
|
10
|
+
import { SHAPE_CHANGED_BIT as ir, REDRAW_BIT as er } from "../graphic/constants.js";
|
|
11
11
|
import { DEFAULT_FONT as nr } from "../core/platform.js";
|
|
12
12
|
var fr = new $(!0);
|
|
13
13
|
function T(a) {
|
|
@@ -59,7 +59,7 @@ function tr(a, r, i, n) {
|
|
|
59
59
|
var m, R;
|
|
60
60
|
a.setLineDash && i.lineDash && (f = q(r), m = f[0], R = f[1]);
|
|
61
61
|
var F = !0;
|
|
62
|
-
(l || u &
|
|
62
|
+
(l || u & ir) && (v.setDPR(a.dpr), t ? v.setContext(null) : (v.setContext(a), F = !1), v.reset(), r.buildPath(v, r.shape, n), v.toStatic(), r.pathUpdated()), F && v.rebuildPath(a, t ? h : 1), m && (a.setLineDash(m), a.lineDashOffset = R), n || (i.strokeFirst ? (e && Y(a, i), o && M(a, i)) : (o && M(a, i), e && Y(a, i))), m && a.setLineDash([]);
|
|
63
63
|
}
|
|
64
64
|
function or(a, r, i) {
|
|
65
65
|
var n = r.__image = V(i.image, r.__image, r, r.onload);
|
|
@@ -153,7 +153,7 @@ function Br(a, r) {
|
|
|
153
153
|
function E(a, r, i, n) {
|
|
154
154
|
var f = r.transform;
|
|
155
155
|
if (!r.shouldBePainted(i.viewWidth, i.viewHeight, !1, !1)) {
|
|
156
|
-
r.__dirty &= ~
|
|
156
|
+
r.__dirty &= ~er, r.__isRendered = !1;
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
159
|
var e = r.__clipPaths, o = i.prevElClipPaths, h = !1, t = !1;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import i from "./core/env.js";
|
|
2
2
|
var e = 1;
|
|
3
3
|
i.hasGlobalWindow && (e = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
|
|
4
|
-
var r =
|
|
4
|
+
var r = 0, o = e, L = 0.4, d = "#333", v = "#ccc", c = "#eee";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
r as
|
|
6
|
+
d as DARK_LABEL_COLOR,
|
|
7
|
+
L as DARK_MODE_THRESHOLD,
|
|
8
|
+
c as LIGHTER_LABEL_COLOR,
|
|
9
|
+
v as LIGHT_LABEL_COLOR,
|
|
10
|
+
r as debugMode,
|
|
11
|
+
o as devicePixelRatio
|
|
11
12
|
};
|
|
@@ -3,7 +3,7 @@ import { containStroke as Q } from "./line.js";
|
|
|
3
3
|
import { containStroke as U } from "./cubic.js";
|
|
4
4
|
import { containStroke as V } from "./quadratic.js";
|
|
5
5
|
import { containStroke as X } from "./arc.js";
|
|
6
|
-
import {
|
|
6
|
+
import { cubicRootAt as Y, cubicAt as Z, cubicExtrema as i, quadraticRootAt as w, quadraticExtremum as F, quadraticAt as j } from "../core/curve.js";
|
|
7
7
|
import L from "./windingLine.js";
|
|
8
8
|
var $ = K.CMD, S = Math.PI * 2, T = 1e-4;
|
|
9
9
|
function d(b, e) {
|
|
@@ -17,30 +17,30 @@ function h() {
|
|
|
17
17
|
function A(b, e, M, f, u, r, I, o, n, v) {
|
|
18
18
|
if (v > e && v > f && v > r && v > o || v < e && v < f && v < r && v < o)
|
|
19
19
|
return 0;
|
|
20
|
-
var t =
|
|
20
|
+
var t = Y(e, f, r, o, v, k);
|
|
21
21
|
if (t === 0)
|
|
22
22
|
return 0;
|
|
23
23
|
for (var c = 0, m = -1, s = void 0, a = void 0, P = 0; P < t; P++) {
|
|
24
|
-
var R = k[P], p = R === 0 || R === 1 ? 0.5 : 1, D =
|
|
25
|
-
D < n || (m < 0 && (m =
|
|
24
|
+
var R = k[P], p = R === 0 || R === 1 ? 0.5 : 1, D = Z(b, M, u, I, R);
|
|
25
|
+
D < n || (m < 0 && (m = i(e, f, r, o, q), q[1] < q[0] && m > 1 && h(), s = Z(e, f, r, o, q[0]), m > 1 && (a = Z(e, f, r, o, q[1]))), m === 2 ? R < q[0] ? c += s < e ? p : -p : R < q[1] ? c += a < s ? p : -p : c += o < a ? p : -p : R < q[0] ? c += s < e ? p : -p : c += o < s ? p : -p);
|
|
26
26
|
}
|
|
27
27
|
return c;
|
|
28
28
|
}
|
|
29
29
|
function W(b, e, M, f, u, r, I, o) {
|
|
30
30
|
if (o > e && o > f && o > r || o < e && o < f && o < r)
|
|
31
31
|
return 0;
|
|
32
|
-
var n =
|
|
32
|
+
var n = w(e, f, r, o, k);
|
|
33
33
|
if (n === 0)
|
|
34
34
|
return 0;
|
|
35
35
|
var v = F(e, f, r);
|
|
36
36
|
if (v >= 0 && v <= 1) {
|
|
37
|
-
for (var t = 0, c =
|
|
38
|
-
var s = k[m] === 0 || k[m] === 1 ? 0.5 : 1, a =
|
|
37
|
+
for (var t = 0, c = j(e, f, r, v), m = 0; m < n; m++) {
|
|
38
|
+
var s = k[m] === 0 || k[m] === 1 ? 0.5 : 1, a = j(b, M, u, k[m]);
|
|
39
39
|
a < I || (k[m] < v ? t += c < e ? s : -s : t += r < c ? s : -s);
|
|
40
40
|
}
|
|
41
41
|
return t;
|
|
42
42
|
} else {
|
|
43
|
-
var s = k[0] === 0 || k[0] === 1 ? 0.5 : 1, a =
|
|
43
|
+
var s = k[0] === 0 || k[0] === 1 ? 0.5 : 1, a = j(b, M, u, k[0]);
|
|
44
44
|
return a < I ? 0 : r < e ? s : -s;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,96 +1,100 @@
|
|
|
1
1
|
import u from "../core/BoundingRect.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
var o =
|
|
10
|
-
return o == null && (o =
|
|
2
|
+
import p from "../core/LRU.js";
|
|
3
|
+
import { DEFAULT_FONT as k, platformApi as b } from "../core/platform.js";
|
|
4
|
+
var l = {};
|
|
5
|
+
function v(e, t) {
|
|
6
|
+
t = t || k;
|
|
7
|
+
var i = l[t];
|
|
8
|
+
i || (i = l[t] = new p(500));
|
|
9
|
+
var o = i.get(e);
|
|
10
|
+
return o == null && (o = b.measureText(e, t).width, i.put(e, o)), o;
|
|
11
11
|
}
|
|
12
|
-
function g(e,
|
|
13
|
-
var
|
|
12
|
+
function g(e, t, i, o) {
|
|
13
|
+
var r = v(e, t), f = w(t), a = T(0, r, i), c = x(0, f, o), n = new u(a, c, r, f);
|
|
14
14
|
return n;
|
|
15
15
|
}
|
|
16
|
-
function F(e,
|
|
17
|
-
var
|
|
18
|
-
`),
|
|
19
|
-
if (
|
|
20
|
-
return g(
|
|
21
|
-
for (var a = new u(0, 0, 0, 0), c = 0; c <
|
|
22
|
-
var n = g(
|
|
16
|
+
function F(e, t, i, o) {
|
|
17
|
+
var r = ((e || "") + "").split(`
|
|
18
|
+
`), f = r.length;
|
|
19
|
+
if (f === 1)
|
|
20
|
+
return g(r[0], t, i, o);
|
|
21
|
+
for (var a = new u(0, 0, 0, 0), c = 0; c < r.length; c++) {
|
|
22
|
+
var n = g(r[c], t, i, o);
|
|
23
23
|
c === 0 ? a.copy(n) : a.union(n);
|
|
24
24
|
}
|
|
25
25
|
return a;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
function T(e, t, i) {
|
|
28
|
+
return i === "right" ? e -= t : i === "center" && (e -= t / 2), e;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
30
|
+
function x(e, t, i) {
|
|
31
|
+
return i === "middle" ? e -= t / 2 : i === "bottom" && (e -= t), e;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function w(e) {
|
|
34
|
+
return v("国", e);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
36
|
+
function R(e, t) {
|
|
37
|
+
return b.measureText(e, t);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
39
|
+
function m(e, t) {
|
|
40
|
+
return typeof e == "string" ? e.lastIndexOf("%") >= 0 ? parseFloat(e) / 100 * t : parseFloat(e) : e;
|
|
41
|
+
}
|
|
42
|
+
function A(e, t, i) {
|
|
43
|
+
var o = t.position || "inside", r = t.distance != null ? t.distance : 5, f = i.height, a = i.width, c = f / 2, n = i.x, s = i.y, d = "left", h = "top";
|
|
41
44
|
if (o instanceof Array)
|
|
42
|
-
n += m(o[0],
|
|
45
|
+
n += m(o[0], i.width), s += m(o[1], i.height), d = null, h = null;
|
|
43
46
|
else
|
|
44
47
|
switch (o) {
|
|
45
48
|
case "left":
|
|
46
|
-
n -=
|
|
49
|
+
n -= r, s += c, d = "right", h = "middle";
|
|
47
50
|
break;
|
|
48
51
|
case "right":
|
|
49
|
-
n +=
|
|
52
|
+
n += r + a, s += c, h = "middle";
|
|
50
53
|
break;
|
|
51
54
|
case "top":
|
|
52
|
-
n += a / 2, s -=
|
|
55
|
+
n += a / 2, s -= r, d = "center", h = "bottom";
|
|
53
56
|
break;
|
|
54
57
|
case "bottom":
|
|
55
|
-
n += a / 2, s +=
|
|
58
|
+
n += a / 2, s += f + r, d = "center";
|
|
56
59
|
break;
|
|
57
60
|
case "inside":
|
|
58
61
|
n += a / 2, s += c, d = "center", h = "middle";
|
|
59
62
|
break;
|
|
60
63
|
case "insideLeft":
|
|
61
|
-
n +=
|
|
64
|
+
n += r, s += c, h = "middle";
|
|
62
65
|
break;
|
|
63
66
|
case "insideRight":
|
|
64
|
-
n += a -
|
|
67
|
+
n += a - r, s += c, d = "right", h = "middle";
|
|
65
68
|
break;
|
|
66
69
|
case "insideTop":
|
|
67
|
-
n += a / 2, s +=
|
|
70
|
+
n += a / 2, s += r, d = "center";
|
|
68
71
|
break;
|
|
69
72
|
case "insideBottom":
|
|
70
|
-
n += a / 2, s +=
|
|
73
|
+
n += a / 2, s += f - r, d = "center", h = "bottom";
|
|
71
74
|
break;
|
|
72
75
|
case "insideTopLeft":
|
|
73
|
-
n +=
|
|
76
|
+
n += r, s += r;
|
|
74
77
|
break;
|
|
75
78
|
case "insideTopRight":
|
|
76
|
-
n += a -
|
|
79
|
+
n += a - r, s += r, d = "right";
|
|
77
80
|
break;
|
|
78
81
|
case "insideBottomLeft":
|
|
79
|
-
n +=
|
|
82
|
+
n += r, s += f - r, h = "bottom";
|
|
80
83
|
break;
|
|
81
84
|
case "insideBottomRight":
|
|
82
|
-
n += a -
|
|
85
|
+
n += a - r, s += f - r, d = "right", h = "bottom";
|
|
83
86
|
break;
|
|
84
87
|
}
|
|
85
88
|
return e = e || {}, e.x = n, e.y = s, e.align = d, e.verticalAlign = h, e;
|
|
86
89
|
}
|
|
87
90
|
export {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
T as adjustTextX,
|
|
92
|
+
x as adjustTextY,
|
|
93
|
+
A as calculateTextPosition,
|
|
91
94
|
F as getBoundingRect,
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
w as getLineHeight,
|
|
96
|
+
v as getWidth,
|
|
94
97
|
g as innerGetBoundingRect,
|
|
98
|
+
R as measureText,
|
|
95
99
|
m as parsePercent
|
|
96
100
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { create as k, translate as j, scale as q } from "./matrix.js";
|
|
2
2
|
import s from "./Point.js";
|
|
3
3
|
var R = Math.min, I = Math.max, y = new s(), r = new s(), f = new s(), o = new s(), T = new s(), M = new s(), C = (function() {
|
|
4
4
|
function n(i, h, t, a) {
|
|
@@ -10,8 +10,8 @@ var R = Math.min, I = Math.max, y = new s(), r = new s(), f = new s(), o = new s
|
|
|
10
10
|
}, n.prototype.applyTransform = function(i) {
|
|
11
11
|
n.applyTransform(this, this, i);
|
|
12
12
|
}, n.prototype.calculateTransform = function(i) {
|
|
13
|
-
var h = this, t = i.width / h.width, a = i.height / h.height, e =
|
|
14
|
-
return j(e, e, [-h.x, -h.y]),
|
|
13
|
+
var h = this, t = i.width / h.width, a = i.height / h.height, e = k();
|
|
14
|
+
return j(e, e, [-h.x, -h.y]), q(e, e, [t, a]), j(e, e, [i.x, i.y]), e;
|
|
15
15
|
}, n.prototype.intersect = function(i, h) {
|
|
16
16
|
if (!i)
|
|
17
17
|
return !1;
|
|
@@ -2,7 +2,7 @@ import { min as bt, max as mt } from "./vector.js";
|
|
|
2
2
|
import yt from "./BoundingRect.js";
|
|
3
3
|
import { devicePixelRatio as ut } from "../config.js";
|
|
4
4
|
import { fromLine as pt, fromArc as Lt, fromQuadratic as Dt, fromCubic as Tt } from "./bbox.js";
|
|
5
|
-
import {
|
|
5
|
+
import { quadraticLength as Ct, cubicLength as Mt, quadraticSubdivide as _t, cubicSubdivide as ct } from "./curve.js";
|
|
6
6
|
var h = {
|
|
7
7
|
M: 1,
|
|
8
8
|
L: 2,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { create as j, min as H, max as J } from "./vector.js";
|
|
2
|
+
import { cubicExtrema as K, cubicAt as N, quadraticExtremum as O, quadraticAt as R } from "./curve.js";
|
|
3
3
|
var b = Math.min, I = Math.max, Q = Math.sin, S = Math.cos, p = Math.PI * 2, C = j(), D = j(), L = j();
|
|
4
4
|
function V(t, c, u) {
|
|
5
5
|
if (t.length !== 0) {
|
|
@@ -13,7 +13,7 @@ function W(t, c, u, a, r, v) {
|
|
|
13
13
|
}
|
|
14
14
|
var F = [], G = [];
|
|
15
15
|
function X(t, c, u, a, r, v, M, i, f, o) {
|
|
16
|
-
var E =
|
|
16
|
+
var E = K, P = N, q = E(t, u, r, M, F);
|
|
17
17
|
f[0] = 1 / 0, f[1] = 1 / 0, o[0] = -1 / 0, o[1] = -1 / 0;
|
|
18
18
|
for (var h = 0; h < q; h++) {
|
|
19
19
|
var z = P(t, u, r, M, F[h]);
|
|
@@ -27,7 +27,7 @@ function X(t, c, u, a, r, v, M, i, f, o) {
|
|
|
27
27
|
f[0] = b(t, f[0]), o[0] = I(t, o[0]), f[0] = b(M, f[0]), o[0] = I(M, o[0]), f[1] = b(c, f[1]), o[1] = I(c, o[1]), f[1] = b(i, f[1]), o[1] = I(i, o[1]);
|
|
28
28
|
}
|
|
29
29
|
function Y(t, c, u, a, r, v, M, i) {
|
|
30
|
-
var f =
|
|
30
|
+
var f = O, o = R, E = I(b(f(t, u, r), 1), 0), P = I(b(f(c, a, v), 1), 0), q = o(t, u, r, E), h = o(c, a, v, P);
|
|
31
31
|
M[0] = b(t, r, q), M[1] = b(c, v, h), i[0] = I(t, r, q), i[1] = I(c, v, h);
|
|
32
32
|
}
|
|
33
33
|
function Z(t, c, u, a, r, v, M, i, f) {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { default as O } from "./Eventful.js";
|
|
1
2
|
import f from "./env.js";
|
|
2
|
-
import { isCanvasEl as
|
|
3
|
+
import { isCanvasEl as v, transformCoordWithViewport as d } from "./dom.js";
|
|
3
4
|
var p = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, o = [], h = f.browser.firefox && +f.browser.version.split(".")[0] < 39;
|
|
4
|
-
function
|
|
5
|
-
return n = n || {}, e ?
|
|
5
|
+
function c(t, r, n, e) {
|
|
6
|
+
return n = n || {}, e ? u(t, r, n) : h && r.layerX != null && r.layerX !== r.offsetX ? (n.zrX = r.layerX, n.zrY = r.layerY) : r.offsetX != null ? (n.zrX = r.offsetX, n.zrY = r.offsetY) : u(t, r, n), n;
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
+
function u(t, r, n) {
|
|
8
9
|
if (f.domSupported && t.getBoundingClientRect) {
|
|
9
10
|
var e = r.clientX, a = r.clientY;
|
|
10
|
-
if (
|
|
11
|
+
if (v(t)) {
|
|
11
12
|
var i = t.getBoundingClientRect();
|
|
12
13
|
n.zrX = e - i.left, n.zrY = a - i.top;
|
|
13
14
|
return;
|
|
@@ -21,15 +22,15 @@ function c(t, r, n) {
|
|
|
21
22
|
function X(t) {
|
|
22
23
|
return t || window.event;
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
+
function Y(t, r, n) {
|
|
25
26
|
if (r = X(r), r.zrX != null)
|
|
26
27
|
return r;
|
|
27
28
|
var e = r.type, a = e && e.indexOf("touch") >= 0;
|
|
28
29
|
if (a) {
|
|
29
30
|
var s = e !== "touchend" ? r.targetTouches[0] : r.changedTouches[0];
|
|
30
|
-
s &&
|
|
31
|
+
s && c(t, s, r, n);
|
|
31
32
|
} else {
|
|
32
|
-
|
|
33
|
+
c(t, r, r, n);
|
|
33
34
|
var i = z(r);
|
|
34
35
|
r.zrDelta = i ? i / 120 : -(r.detail || 0) / 3;
|
|
35
36
|
}
|
|
@@ -59,11 +60,12 @@ function b(t) {
|
|
|
59
60
|
return t.which === 2 || t.which === 3;
|
|
60
61
|
}
|
|
61
62
|
export {
|
|
63
|
+
O as Dispatcher,
|
|
62
64
|
w as addEventListener,
|
|
63
|
-
|
|
65
|
+
c as clientToLocal,
|
|
64
66
|
X as getNativeEvent,
|
|
65
67
|
b as isMiddleOrRightButtonOnMouseUpDown,
|
|
66
|
-
|
|
68
|
+
Y as normalizeEvent,
|
|
67
69
|
E as removeEventListener,
|
|
68
70
|
y as stop
|
|
69
71
|
};
|
|
@@ -1,48 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
function g(
|
|
1
|
+
var d = 12, T = "sans-serif", c = d + "px " + T, i = 20, m = 100, W = "007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";
|
|
2
|
+
function g(r) {
|
|
3
3
|
var n = {};
|
|
4
4
|
if (typeof JSON > "u")
|
|
5
5
|
return n;
|
|
6
|
-
for (var
|
|
7
|
-
var e = String.fromCharCode(
|
|
6
|
+
for (var a = 0; a < r.length; a++) {
|
|
7
|
+
var e = String.fromCharCode(a + 32), L = (r.charCodeAt(a) - i) / m;
|
|
8
8
|
n[e] = L;
|
|
9
9
|
}
|
|
10
10
|
return n;
|
|
11
11
|
}
|
|
12
|
-
var l = g(W),
|
|
12
|
+
var l = g(W), u = {
|
|
13
13
|
createCanvas: function() {
|
|
14
14
|
return typeof document < "u" && document.createElement("canvas");
|
|
15
15
|
},
|
|
16
16
|
measureText: /* @__PURE__ */ (function() {
|
|
17
|
-
var
|
|
18
|
-
return function(
|
|
19
|
-
if (!
|
|
20
|
-
var L =
|
|
21
|
-
|
|
17
|
+
var r, n;
|
|
18
|
+
return function(a, e) {
|
|
19
|
+
if (!r) {
|
|
20
|
+
var L = u.createCanvas();
|
|
21
|
+
r = L && L.getContext("2d");
|
|
22
22
|
}
|
|
23
|
-
if (
|
|
24
|
-
return n !== e && (n =
|
|
25
|
-
|
|
26
|
-
var
|
|
23
|
+
if (r)
|
|
24
|
+
return n !== e && (n = r.font = e || c), r.measureText(a);
|
|
25
|
+
a = a || "", e = e || c;
|
|
26
|
+
var F = /((?:\d+)?\.?\d*)px/.exec(e), v = F && +F[1] || d, t = 0;
|
|
27
27
|
if (e.indexOf("mono") >= 0)
|
|
28
|
-
t = v *
|
|
28
|
+
t = v * a.length;
|
|
29
29
|
else
|
|
30
|
-
for (var
|
|
31
|
-
var
|
|
32
|
-
t +=
|
|
30
|
+
for (var o = 0; o < a.length; o++) {
|
|
31
|
+
var f = l[a[o]];
|
|
32
|
+
t += f == null ? v : f * v;
|
|
33
33
|
}
|
|
34
34
|
return { width: t };
|
|
35
35
|
};
|
|
36
36
|
})(),
|
|
37
|
-
loadImage: function(
|
|
37
|
+
loadImage: function(r, n, a) {
|
|
38
38
|
var e = new Image();
|
|
39
|
-
return e.onload = n, e.onerror =
|
|
39
|
+
return e.onload = n, e.onerror = a, e.src = r, e;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
+
function _(r) {
|
|
43
|
+
for (var n in u)
|
|
44
|
+
r[n] && (u[n] = r[n]);
|
|
45
|
+
}
|
|
42
46
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
c as DEFAULT_FONT,
|
|
48
|
+
T as DEFAULT_FONT_FAMILY,
|
|
49
|
+
d as DEFAULT_FONT_SIZE,
|
|
46
50
|
l as DEFAULT_TEXT_WIDTH_MAP,
|
|
47
|
-
|
|
51
|
+
u as platformApi,
|
|
52
|
+
_ as setPlatformAPI
|
|
48
53
|
};
|