web-core-tcm 0.0.62 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
- package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
- package/dist/node_modules/@vueuse/core/index.js +5189 -199
- package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/@vueuse/shared/index.js +1172 -23
- package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
- package/dist/node_modules/alova/dist/alova.esm.js +266 -220
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
- package/dist/node_modules/builder-pattern/dist/index.js +25 -13
- package/dist/node_modules/echarts/index.js +5 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
- package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
- package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
- package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
- package/dist/node_modules/echarts/lib/core/impl.js +8 -7
- package/dist/node_modules/echarts/lib/core/task.js +19 -19
- package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
- package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
- package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
- package/dist/node_modules/echarts/lib/data/Source.js +58 -58
- package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
- package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
- package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
- package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
- package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
- package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
- package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
- package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
- package/dist/node_modules/echarts/lib/export/api.js +71 -0
- package/dist/node_modules/echarts/lib/export/charts.js +46 -0
- package/dist/node_modules/echarts/lib/export/components.js +62 -0
- package/dist/node_modules/echarts/lib/export/core.js +39 -0
- package/dist/node_modules/echarts/lib/export/features.js +6 -0
- package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
- package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
- package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
- package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
- package/dist/node_modules/echarts/lib/loading/default.js +3 -2
- package/dist/node_modules/echarts/lib/model/Global.js +162 -157
- package/dist/node_modules/echarts/lib/model/Model.js +14 -12
- package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
- package/dist/node_modules/echarts/lib/model/Series.js +52 -52
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
- package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
- package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
- package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
- package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
- package/dist/node_modules/echarts/lib/util/component.js +40 -39
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
- package/dist/node_modules/echarts/lib/util/decal.js +54 -52
- package/dist/node_modules/echarts/lib/util/format.js +81 -65
- package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
- package/dist/node_modules/echarts/lib/util/layout.js +29 -29
- package/dist/node_modules/echarts/lib/util/log.js +41 -2
- package/dist/node_modules/echarts/lib/util/model.js +171 -170
- package/dist/node_modules/echarts/lib/util/number.js +97 -90
- package/dist/node_modules/echarts/lib/util/states.js +170 -164
- package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
- package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
- package/dist/node_modules/echarts/lib/util/time.js +2 -2
- package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
- package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
- package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
- package/dist/node_modules/punycode/punycode.es6.js +17 -17
- package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
- package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
- package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
- package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
- package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
- package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
- package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
- package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
- package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
- package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
- package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
- package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
- package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
- package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
- package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
- package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
- package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
- package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
- package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
- package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
- package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
- package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
- package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
- package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
- package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
- package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
- package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
- package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
- package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
- package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
- package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
- package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
- package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
- package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
- package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
- package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
- package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
- package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
- package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
- package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
- package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
- package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
- package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
- package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
- package/dist/node_modules/tslib/tslib.es6.js +305 -14
- package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
- package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
- package/dist/node_modules/zrender/lib/Element.js +126 -122
- package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
- package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
- package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
- package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
- package/dist/node_modules/zrender/lib/config.js +7 -6
- package/dist/node_modules/zrender/lib/contain/path.js +8 -8
- package/dist/node_modules/zrender/lib/contain/text.js +50 -46
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
- package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
- package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
- package/dist/node_modules/zrender/lib/core/curve.js +1 -1
- package/dist/node_modules/zrender/lib/core/event.js +12 -10
- package/dist/node_modules/zrender/lib/core/platform.js +29 -24
- package/dist/node_modules/zrender/lib/core/util.js +94 -91
- package/dist/node_modules/zrender/lib/core/vector.js +54 -34
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
- package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
- package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
- package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
- package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
- package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
- package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
- package/dist/node_modules/zrender/lib/tool/color.js +87 -69
- package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
- package/dist/node_modules/zrender/lib/zrender.js +106 -90
- package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
- package/dist/src/api/algorithm/alova/implement/index.js +13 -0
- package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
- package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
- package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
- package/dist/src/api/algorithm/alova/index.js +14 -21
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
- package/dist/src/api/authorization/alova/createApis.js +1 -7
- package/dist/src/api/authorization/alova/globals.d.ts +331 -250
- package/dist/src/api/authorization/alova/implement/index.js +4 -0
- package/dist/src/api/authorization/alova/index.d.ts +1 -1
- package/dist/src/api/authorization/alova/index.js +7 -6
- package/dist/src/api/check/alova/createApis.js +1 -7
- package/dist/src/api/check/alova/globals.d.ts +1227 -1126
- package/dist/src/api/check/alova/implement/index.js +5 -0
- package/dist/src/api/check/alova/index.d.ts +1 -1
- package/dist/src/api/check/alova/index.js +9 -11
- package/dist/src/api/check/check.js +2 -2
- package/dist/src/api/config/index.d.ts +1 -0
- package/dist/src/api/config/index.js +3 -1
- package/dist/src/api/doctor/alova/createApis.js +1 -7
- package/dist/src/api/doctor/alova/globals.d.ts +510 -419
- package/dist/src/api/doctor/alova/implement/index.js +4 -0
- package/dist/src/api/doctor/alova/index.d.ts +1 -1
- package/dist/src/api/doctor/alova/index.js +4 -4
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +30 -0
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
- package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
- package/dist/src/api/manager/alova/createApis.d.ts +10 -0
- package/dist/src/api/manager/alova/createApis.js +49 -0
- package/dist/src/api/manager/alova/globals.d.ts +4890 -0
- package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/department.js +44 -0
- package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/division.js +44 -0
- package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
- package/dist/src/api/manager/alova/implement/hospital.js +44 -0
- package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
- package/dist/src/api/manager/alova/implement/index.js +8 -0
- package/dist/src/api/manager/alova/index.d.ts +6 -0
- package/dist/src/api/manager/alova/index.js +19 -0
- package/dist/src/api/manager/department.d.ts +30 -0
- package/dist/src/api/manager/department.js +35 -0
- package/dist/src/api/manager/division.d.ts +30 -0
- package/dist/src/api/manager/division.js +34 -0
- package/dist/src/api/manager/hospital.d.ts +32 -0
- package/dist/src/api/manager/hospital.js +36 -0
- package/dist/src/api/manager/index.d.ts +4 -0
- package/dist/src/api/manager/index.js +17 -0
- package/dist/src/api/metric/alova/implement/index.js +4 -0
- package/dist/src/api/metric/alova/index.js +1 -0
- package/dist/src/api/metric/index.js +5 -4
- package/dist/src/api/oauth/alova/createApis.js +1 -7
- package/dist/src/api/oauth/alova/globals.d.ts +403 -312
- package/dist/src/api/oauth/alova/implement/index.js +4 -0
- package/dist/src/api/oauth/alova/index.d.ts +1 -1
- package/dist/src/api/oauth/alova/index.js +12 -11
- package/dist/src/api/outpatient/alova/createApis.js +1 -7
- package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
- package/dist/src/api/outpatient/alova/implement/index.js +4 -0
- package/dist/src/api/outpatient/alova/index.d.ts +1 -1
- package/dist/src/api/outpatient/alova/index.js +8 -9
- package/dist/src/api/patient/alova/createApis.js +1 -7
- package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
- package/dist/src/api/patient/alova/implement/index.js +16 -0
- package/dist/src/api/patient/alova/implement/meta.js +44 -44
- package/dist/src/api/patient/alova/index.d.ts +1 -1
- package/dist/src/api/patient/alova/index.js +10 -14
- package/dist/src/api/patient/index.js +23 -22
- package/dist/src/api/patient/meta.d.ts +12 -0
- package/dist/src/api/patient/meta.js +100 -98
- package/dist/src/api/prescription/alova/apiDefinitions.d.ts +1 -0
- package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
- package/dist/src/api/prescription/alova/createApis.js +1 -7
- package/dist/src/api/prescription/alova/globals.d.ts +959 -812
- package/dist/src/api/prescription/alova/implement/index.js +6 -0
- package/dist/src/api/prescription/alova/index.d.ts +1 -1
- package/dist/src/api/prescription/alova/index.js +4 -4
- package/dist/src/api/scientist/alova/createApis.js +1 -7
- package/dist/src/api/scientist/alova/globals.d.ts +406 -315
- package/dist/src/api/scientist/alova/implement/index.js +4 -0
- package/dist/src/api/scientist/alova/index.d.ts +1 -1
- package/dist/src/api/scientist/alova/index.js +7 -8
- package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
- package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
- package/dist/src/components/tcm/index.d.ts +1 -0
- package/dist/src/components/tcm/index.js +28 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
- package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
- package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
- package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
- package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
- package/dist/src/components/tcm/inspections/index.d.ts +1 -0
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
- package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
- package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
- package/dist/src/index.js +65 -58
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/types/Images_pb.js +7 -6
- package/dist/src/proto/types/WaveMap_pb.js +4 -3
- package/dist/src/util/helper.js +38 -2
- package/dist/src/util/number.js +64 -25
- package/dist/src/util/string.js +51 -5
- package/dist/web-core-tcm.css +1 -1
- package/package.json +5 -3
- package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
|
@@ -1,30 +1,54 @@
|
|
|
1
1
|
function o(e) {
|
|
2
2
|
return document.createTextNode(e);
|
|
3
3
|
}
|
|
4
|
+
function r(e) {
|
|
5
|
+
return document.createComment(e);
|
|
6
|
+
}
|
|
4
7
|
function i(e, n, t) {
|
|
5
8
|
e.insertBefore(n, t);
|
|
6
9
|
}
|
|
7
|
-
function
|
|
10
|
+
function u(e, n) {
|
|
8
11
|
e.removeChild(n);
|
|
9
12
|
}
|
|
10
|
-
function
|
|
13
|
+
function c(e, n) {
|
|
11
14
|
e.appendChild(n);
|
|
12
15
|
}
|
|
13
|
-
function
|
|
16
|
+
function d(e) {
|
|
14
17
|
return e.parentNode;
|
|
15
18
|
}
|
|
16
|
-
function
|
|
19
|
+
function f(e) {
|
|
17
20
|
return e.nextSibling;
|
|
18
21
|
}
|
|
19
|
-
function
|
|
22
|
+
function m(e) {
|
|
23
|
+
return e.tagName;
|
|
24
|
+
}
|
|
25
|
+
function a(e, n) {
|
|
20
26
|
e.textContent = n;
|
|
21
27
|
}
|
|
28
|
+
function C(e) {
|
|
29
|
+
return e.textContent;
|
|
30
|
+
}
|
|
31
|
+
function p(e) {
|
|
32
|
+
return e.nodeType === 1;
|
|
33
|
+
}
|
|
34
|
+
function x(e) {
|
|
35
|
+
return e.nodeType === 3;
|
|
36
|
+
}
|
|
37
|
+
function T(e) {
|
|
38
|
+
return e.nodeType === 8;
|
|
39
|
+
}
|
|
22
40
|
export {
|
|
23
|
-
|
|
41
|
+
c as appendChild,
|
|
42
|
+
r as createComment,
|
|
24
43
|
o as createTextNode,
|
|
44
|
+
C as getTextContent,
|
|
25
45
|
i as insertBefore,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
f as
|
|
46
|
+
T as isComment,
|
|
47
|
+
p as isElement,
|
|
48
|
+
x as isText,
|
|
49
|
+
f as nextSibling,
|
|
50
|
+
d as parentNode,
|
|
51
|
+
u as removeChild,
|
|
52
|
+
a as setTextContent,
|
|
53
|
+
m as tagName
|
|
30
54
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isGradient as $, isPattern as H, isAroundZero as T, getMatrixStr as W, getPathPrecision as rr, adjustTextY as tr, TEXT_ALIGN_TO_ANCHOR as ar, hasShadow as ir, getShadowKey as nr, normalizeColor as Z, getIdURL as D, isLinearGradient as er, isRadialGradient as or, round4 as fr, isImagePattern as sr, getSRTTransformString as vr } from "./helper.js";
|
|
2
2
|
import hr from "../graphic/Path.js";
|
|
3
|
-
import
|
|
4
|
-
import { getLineHeight as
|
|
3
|
+
import dr from "../graphic/Image.js";
|
|
4
|
+
import { getLineHeight as ur } from "../contain/text.js";
|
|
5
5
|
import pr from "../graphic/TSpan.js";
|
|
6
6
|
import lr from "./SVGPathRebuilder.js";
|
|
7
7
|
import cr from "./mapStyleToAttrs.js";
|
|
8
|
-
import {
|
|
9
|
-
import { isString as N,
|
|
8
|
+
import { META_DATA_PREFIX as _, createVNode as y, vNodeToString as B } from "./core.js";
|
|
9
|
+
import { isString as N, isFunction as gr, map as yr, retrieve2 as G, assert as j, clone as mr } from "../core/util.js";
|
|
10
10
|
import { createOrUpdateImage as Sr } from "../graphic/helper/image.js";
|
|
11
11
|
import { createCSSAnimation as F } from "./cssAnimation.js";
|
|
12
12
|
import { hasSeparateFont as xr, parseFontSize as Pr } from "../graphic/Text.js";
|
|
@@ -18,19 +18,19 @@ function q(r) {
|
|
|
18
18
|
return r && N(r.src);
|
|
19
19
|
}
|
|
20
20
|
function J(r) {
|
|
21
|
-
return r &&
|
|
21
|
+
return r && gr(r.toDataURL);
|
|
22
22
|
}
|
|
23
23
|
function O(r, n, t, a) {
|
|
24
24
|
cr(function(i, e) {
|
|
25
25
|
var o = i === "fill" || i === "stroke";
|
|
26
|
-
o &&
|
|
26
|
+
o && $(e) ? Fr(n, r, i, a) : o && H(e) ? Or(t, r, i, a) : r[i] = e, o && a.ssr && e === "none" && (r["pointer-events"] = "visible");
|
|
27
27
|
}, n, t, !1), Nr(t, r, a);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function I(r, n) {
|
|
30
30
|
var t = br(n);
|
|
31
31
|
t && (t.each(function(a, i) {
|
|
32
|
-
a != null && (r[(
|
|
33
|
-
}), n.isSilent() && (r[
|
|
32
|
+
a != null && (r[(_ + i).toLowerCase()] = a + "");
|
|
33
|
+
}), n.isSilent() && (r[_ + "silent"] = "true"));
|
|
34
34
|
}
|
|
35
35
|
function K(r) {
|
|
36
36
|
return T(r[0] - 1) && T(r[1]) && T(r[2]) && T(r[3] - 1);
|
|
@@ -38,10 +38,10 @@ function K(r) {
|
|
|
38
38
|
function Cr(r) {
|
|
39
39
|
return T(r[4]) && T(r[5]);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function V(r, n, t) {
|
|
42
42
|
if (n && !(Cr(n) && K(n))) {
|
|
43
|
-
var a = 1e4;
|
|
44
|
-
r.transform = K(n) ? "translate(" + b(n[4] * a) / a + " " + b(n[5] * a) / a + ")" :
|
|
43
|
+
var a = t ? 10 : 1e4;
|
|
44
|
+
r.transform = K(n) ? "translate(" + b(n[4] * a) / a + " " + b(n[5] * a) / a + ")" : W(n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function X(r, n, t) {
|
|
@@ -53,7 +53,7 @@ function Y(r) {
|
|
|
53
53
|
return !r.smooth;
|
|
54
54
|
}
|
|
55
55
|
function Rr(r) {
|
|
56
|
-
var n =
|
|
56
|
+
var n = yr(r, function(t) {
|
|
57
57
|
return typeof t == "string" ? [t, t] : t;
|
|
58
58
|
});
|
|
59
59
|
return function(t, a, i) {
|
|
@@ -75,20 +75,20 @@ function Lr(r) {
|
|
|
75
75
|
return !1;
|
|
76
76
|
}
|
|
77
77
|
function Q(r, n) {
|
|
78
|
-
var t = r.style, a = r.shape, i = Dr[r.type], e = {}, o = n.animation, s = "path", f = r.style.strokePercent, v = n.compress &&
|
|
78
|
+
var t = r.style, a = r.shape, i = Dr[r.type], e = {}, o = n.animation, s = "path", f = r.style.strokePercent, v = n.compress && rr(r) || 4;
|
|
79
79
|
if (i && !n.willUpdate && !(i[1] && !i[1](a)) && !(o && Lr(r)) && !(f < 1)) {
|
|
80
80
|
s = r.type;
|
|
81
|
-
var
|
|
82
|
-
i[0](a, e,
|
|
81
|
+
var g = Math.pow(10, v);
|
|
82
|
+
i[0](a, e, g);
|
|
83
83
|
} else {
|
|
84
84
|
var l = !r.path || r.shapeChanged();
|
|
85
85
|
r.path || r.createPathProxy();
|
|
86
|
-
var
|
|
87
|
-
l && (
|
|
88
|
-
var h =
|
|
89
|
-
(p.__svgPathVersion !== h || !
|
|
86
|
+
var d = r.path;
|
|
87
|
+
l && (d.beginPath(), r.buildPath(d, r.shape), r.pathUpdated());
|
|
88
|
+
var h = d.getVersion(), p = r, u = p.__svgPathBuilder;
|
|
89
|
+
(p.__svgPathVersion !== h || !u || f !== p.__svgPathStrokePercent) && (u || (u = p.__svgPathBuilder = new lr()), u.reset(v), d.rebuildPath(u, f), u.generateStr(), p.__svgPathVersion = h, p.__svgPathStrokePercent = f), e.d = u.getStr();
|
|
90
90
|
}
|
|
91
|
-
return
|
|
91
|
+
return V(e, r.transform), O(e, t, r, n), I(e, r), n.animation && F(r, e, n), n.emphasis && Tr(r, e, n), y(s, r.id + "", e);
|
|
92
92
|
}
|
|
93
93
|
function Ur(r, n) {
|
|
94
94
|
var t = r.style, a = t.image;
|
|
@@ -98,56 +98,56 @@ function Ur(r, n) {
|
|
|
98
98
|
width: o,
|
|
99
99
|
height: s
|
|
100
100
|
};
|
|
101
|
-
return i && (f.x = i), e && (f.y = e),
|
|
101
|
+
return i && (f.x = i), e && (f.y = e), V(f, r.transform), O(f, t, r, n), I(f, r), n.animation && F(r, f, n), y("image", r.id + "", f);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
function Gr(r, n) {
|
|
105
105
|
var t = r.style, a = t.text;
|
|
106
106
|
if (a != null && (a += ""), !(!a || isNaN(t.x) || isNaN(t.y))) {
|
|
107
|
-
var i = t.font || wr, e = t.x || 0, o =
|
|
107
|
+
var i = t.font || wr, e = t.x || 0, o = tr(t.y || 0, ur(i), t.textBaseline), s = ar[t.textAlign] || t.textAlign, f = {
|
|
108
108
|
"dominant-baseline": "central",
|
|
109
109
|
"text-anchor": s
|
|
110
110
|
};
|
|
111
111
|
if (xr(t)) {
|
|
112
|
-
var v = "",
|
|
112
|
+
var v = "", g = t.fontStyle, l = Pr(t.fontSize);
|
|
113
113
|
if (!parseFloat(l))
|
|
114
114
|
return;
|
|
115
|
-
var
|
|
116
|
-
v += "font-size:" + l + ";font-family:" +
|
|
115
|
+
var d = t.fontFamily || Ar, h = t.fontWeight;
|
|
116
|
+
v += "font-size:" + l + ";font-family:" + d + ";", g && g !== "normal" && (v += "font-style:" + g + ";"), h && h !== "normal" && (v += "font-weight:" + h + ";"), f.style = v;
|
|
117
117
|
} else
|
|
118
118
|
f.style = "font: " + i;
|
|
119
|
-
return a.match(/\s/) && (f["xml:space"] = "preserve"), e && (f.x = e), o && (f.y = o),
|
|
119
|
+
return a.match(/\s/) && (f["xml:space"] = "preserve"), e && (f.x = e), o && (f.y = o), V(f, r.transform), O(f, t, r, n), I(f, r), n.animation && F(r, f, n), y("text", r.id + "", f, void 0, a);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function $r(r, n) {
|
|
123
123
|
if (r instanceof hr)
|
|
124
124
|
return Q(r, n);
|
|
125
|
-
if (r instanceof
|
|
125
|
+
if (r instanceof dr)
|
|
126
126
|
return Ur(r, n);
|
|
127
127
|
if (r instanceof pr)
|
|
128
128
|
return Gr(r, n);
|
|
129
129
|
}
|
|
130
130
|
function Nr(r, n, t) {
|
|
131
131
|
var a = r.style;
|
|
132
|
-
if (
|
|
133
|
-
var i =
|
|
132
|
+
if (ir(a)) {
|
|
133
|
+
var i = nr(r), e = t.shadowCache, o = e[i];
|
|
134
134
|
if (!o) {
|
|
135
135
|
var s = r.getGlobalScale(), f = s[0], v = s[1];
|
|
136
136
|
if (!f || !v)
|
|
137
137
|
return;
|
|
138
|
-
var
|
|
139
|
-
o = t.zrId + "-s" + t.shadowIdx++, t.defs[o] =
|
|
138
|
+
var g = a.shadowOffsetX || 0, l = a.shadowOffsetY || 0, d = a.shadowBlur, h = Z(a.shadowColor), p = h.opacity, u = h.color, x = d / 2 / f, A = d / 2 / v, m = x + " " + A;
|
|
139
|
+
o = t.zrId + "-s" + t.shadowIdx++, t.defs[o] = y("filter", o, {
|
|
140
140
|
id: o,
|
|
141
141
|
x: "-100%",
|
|
142
142
|
y: "-100%",
|
|
143
143
|
width: "300%",
|
|
144
144
|
height: "300%"
|
|
145
145
|
}, [
|
|
146
|
-
|
|
147
|
-
dx:
|
|
146
|
+
y("feDropShadow", "", {
|
|
147
|
+
dx: g / f,
|
|
148
148
|
dy: l / v,
|
|
149
149
|
stdDeviation: m,
|
|
150
|
-
"flood-color":
|
|
150
|
+
"flood-color": u,
|
|
151
151
|
"flood-opacity": p
|
|
152
152
|
})
|
|
153
153
|
]), e[i] = o;
|
|
@@ -159,71 +159,71 @@ function Fr(r, n, t, a) {
|
|
|
159
159
|
var i = r[t], e, o = {
|
|
160
160
|
gradientUnits: i.global ? "userSpaceOnUse" : "objectBoundingBox"
|
|
161
161
|
};
|
|
162
|
-
if (
|
|
162
|
+
if (er(i))
|
|
163
163
|
e = "linearGradient", o.x1 = i.x, o.y1 = i.y, o.x2 = i.x2, o.y2 = i.y2;
|
|
164
|
-
else if (
|
|
164
|
+
else if (or(i))
|
|
165
165
|
e = "radialGradient", o.cx = G(i.x, 0.5), o.cy = G(i.y, 0.5), o.r = G(i.r, 0.5);
|
|
166
166
|
else
|
|
167
167
|
return;
|
|
168
|
-
for (var s = i.colorStops, f = [], v = 0,
|
|
169
|
-
var l =
|
|
168
|
+
for (var s = i.colorStops, f = [], v = 0, g = s.length; v < g; ++v) {
|
|
169
|
+
var l = fr(s[v].offset) * 100 + "%", d = s[v].color, h = Z(d), p = h.color, u = h.opacity, x = {
|
|
170
170
|
offset: l
|
|
171
171
|
};
|
|
172
|
-
x["stop-color"] = p,
|
|
172
|
+
x["stop-color"] = p, u < 1 && (x["stop-opacity"] = u), f.push(y("stop", v + "", x));
|
|
173
173
|
}
|
|
174
|
-
var A =
|
|
175
|
-
c || (c = a.zrId + "-g" + a.gradientIdx++, S[m] = c, o.id = c, a.defs[c] =
|
|
174
|
+
var A = y(e, "", o, f), m = B(A), S = a.gradientCache, c = S[m];
|
|
175
|
+
c || (c = a.zrId + "-g" + a.gradientIdx++, S[m] = c, o.id = c, a.defs[c] = y(e, c, o, f)), n[t] = D(c);
|
|
176
176
|
}
|
|
177
177
|
function Or(r, n, t, a) {
|
|
178
|
-
var i = r.style[t], e = r.getBoundingRect(), o = {}, s = i.repeat, f = s === "no-repeat", v = s === "repeat-x",
|
|
179
|
-
if (
|
|
180
|
-
var
|
|
181
|
-
if (N(
|
|
178
|
+
var i = r.style[t], e = r.getBoundingRect(), o = {}, s = i.repeat, f = s === "no-repeat", v = s === "repeat-x", g = s === "repeat-y", l;
|
|
179
|
+
if (sr(i)) {
|
|
180
|
+
var d = i.imageWidth, h = i.imageHeight, p = void 0, u = i.image;
|
|
181
|
+
if (N(u) ? p = u : q(u) ? p = u.src : J(u) && (p = u.toDataURL()), typeof Image > "u") {
|
|
182
182
|
var x = "Image width/height must been given explictly in svg-ssr renderer.";
|
|
183
|
-
|
|
184
|
-
} else if (
|
|
185
|
-
var A = function(P,
|
|
183
|
+
j(d, x), j(h, x);
|
|
184
|
+
} else if (d == null || h == null) {
|
|
185
|
+
var A = function(P, k) {
|
|
186
186
|
if (P) {
|
|
187
|
-
var U = P.elm, C =
|
|
188
|
-
P.tag === "pattern" && (v ? (R = 1, C /= e.width) :
|
|
187
|
+
var U = P.elm, C = d || k.width, R = h || k.height;
|
|
188
|
+
P.tag === "pattern" && (v ? (R = 1, C /= e.width) : g && (C = 1, R /= e.height)), P.attrs.width = C, P.attrs.height = R, U && (U.setAttribute("width", C), U.setAttribute("height", R));
|
|
189
189
|
}
|
|
190
190
|
}, m = Sr(p, null, r, function(P) {
|
|
191
191
|
f || A(L, P), A(l, P);
|
|
192
192
|
});
|
|
193
|
-
m && m.width && m.height && (
|
|
193
|
+
m && m.width && m.height && (d = d || m.width, h = h || m.height);
|
|
194
194
|
}
|
|
195
|
-
l =
|
|
195
|
+
l = y("image", "img", {
|
|
196
196
|
href: p,
|
|
197
|
-
width:
|
|
197
|
+
width: d,
|
|
198
198
|
height: h
|
|
199
|
-
}), o.width =
|
|
200
|
-
} else i.svgElement && (l =
|
|
199
|
+
}), o.width = d, o.height = h;
|
|
200
|
+
} else i.svgElement && (l = mr(i.svgElement), o.width = i.svgWidth, o.height = i.svgHeight);
|
|
201
201
|
if (l) {
|
|
202
202
|
var S, c;
|
|
203
|
-
f ? S = c = 1 : v ? (c = 1, S = o.width / e.width) :
|
|
204
|
-
var
|
|
205
|
-
|
|
206
|
-
var L =
|
|
207
|
-
w || (w = a.zrId + "-p" + a.patternIdx++,
|
|
203
|
+
f ? S = c = 1 : v ? (c = 1, S = o.width / e.width) : g ? (S = 1, c = o.height / e.height) : o.patternUnits = "userSpaceOnUse", S != null && !isNaN(S) && (o.width = S), c != null && !isNaN(c) && (o.height = c);
|
|
204
|
+
var z = vr(i);
|
|
205
|
+
z && (o.patternTransform = z);
|
|
206
|
+
var L = y("pattern", "", o, [l]), E = B(L), M = a.patternCache, w = M[E];
|
|
207
|
+
w || (w = a.zrId + "-p" + a.patternIdx++, M[E] = w, o.id = w, L = a.defs[w] = y("pattern", w, o, [l])), n[t] = D(w);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Hr(r, n, t) {
|
|
211
211
|
var a = t.clipPathCache, i = t.defs, e = a[r.id];
|
|
212
212
|
if (!e) {
|
|
213
213
|
e = t.zrId + "-c" + t.clipPathIdx++;
|
|
214
214
|
var o = {
|
|
215
215
|
id: e
|
|
216
216
|
};
|
|
217
|
-
a[r.id] = e, i[e] =
|
|
217
|
+
a[r.id] = e, i[e] = y("clipPath", e, o, [Q(r, t)]);
|
|
218
218
|
}
|
|
219
219
|
n["clip-path"] = D(e);
|
|
220
220
|
}
|
|
221
221
|
export {
|
|
222
|
-
|
|
222
|
+
$r as brush,
|
|
223
223
|
Ur as brushSVGImage,
|
|
224
224
|
Q as brushSVGPath,
|
|
225
225
|
Gr as brushSVGTSpan,
|
|
226
|
-
|
|
226
|
+
Hr as setClipPath,
|
|
227
227
|
Fr as setGradient,
|
|
228
228
|
Or as setPattern
|
|
229
229
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { parse as
|
|
3
|
-
import
|
|
4
|
-
var
|
|
1
|
+
import { RADIAN_TO_DEGREE as u, retrieve2 as l, isFunction as p } from "../core/util.js";
|
|
2
|
+
import { parse as v } from "../tool/color.js";
|
|
3
|
+
import w from "../core/env.js";
|
|
4
|
+
var i = Math.round;
|
|
5
5
|
function O(e) {
|
|
6
6
|
var t;
|
|
7
7
|
if (!e || e === "transparent")
|
|
8
8
|
e = "none";
|
|
9
9
|
else if (typeof e == "string" && e.indexOf("rgba") > -1) {
|
|
10
|
-
var n =
|
|
10
|
+
var n = v(e);
|
|
11
11
|
n && (e = "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")", t = n[3]);
|
|
12
12
|
}
|
|
13
13
|
return {
|
|
@@ -16,31 +16,34 @@ function O(e) {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
var h = 1e-4;
|
|
19
|
-
function
|
|
19
|
+
function E(e) {
|
|
20
20
|
return e < h && e > -h;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function o(e) {
|
|
23
|
+
return i(e * 1e3) / 1e3;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
return
|
|
25
|
+
function g(e) {
|
|
26
|
+
return i(e * 1e4) / 1e4;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
return
|
|
28
|
+
function R(e) {
|
|
29
|
+
return i(e * 10) / 10;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
function M(e) {
|
|
32
|
+
return "matrix(" + o(e[0]) + "," + o(e[1]) + "," + o(e[2]) + "," + o(e[3]) + "," + g(e[4]) + "," + g(e[5]) + ")";
|
|
33
|
+
}
|
|
34
|
+
var T = {
|
|
32
35
|
left: "start",
|
|
33
36
|
right: "end",
|
|
34
37
|
center: "middle",
|
|
35
38
|
middle: "middle"
|
|
36
39
|
};
|
|
37
|
-
function
|
|
40
|
+
function X(e, t, n) {
|
|
38
41
|
return n === "top" ? e += t / 2 : n === "bottom" && (e -= t / 2), e;
|
|
39
42
|
}
|
|
40
|
-
function
|
|
43
|
+
function Y(e) {
|
|
41
44
|
return e && (e.shadowBlur || e.shadowOffsetX || e.shadowOffsetY);
|
|
42
45
|
}
|
|
43
|
-
function
|
|
46
|
+
function k(e) {
|
|
44
47
|
var t = e.style, n = e.getGlobalScale();
|
|
45
48
|
return [
|
|
46
49
|
t.shadowColor,
|
|
@@ -51,37 +54,46 @@ function Y(e) {
|
|
|
51
54
|
n[1]
|
|
52
55
|
].join(",");
|
|
53
56
|
}
|
|
57
|
+
function I(e) {
|
|
58
|
+
var t = [];
|
|
59
|
+
if (e)
|
|
60
|
+
for (var n = 0; n < e.length; n++) {
|
|
61
|
+
var a = e[n];
|
|
62
|
+
t.push(a.id);
|
|
63
|
+
}
|
|
64
|
+
return t.join(",");
|
|
65
|
+
}
|
|
54
66
|
function x(e) {
|
|
55
67
|
return e && !!e.image;
|
|
56
68
|
}
|
|
57
69
|
function S(e) {
|
|
58
70
|
return e && !!e.svgElement;
|
|
59
71
|
}
|
|
60
|
-
function
|
|
72
|
+
function A(e) {
|
|
61
73
|
return x(e) || S(e);
|
|
62
74
|
}
|
|
63
|
-
function
|
|
75
|
+
function B(e) {
|
|
64
76
|
return e.type === "linear";
|
|
65
77
|
}
|
|
66
|
-
function
|
|
78
|
+
function C(e) {
|
|
67
79
|
return e.type === "radial";
|
|
68
80
|
}
|
|
69
|
-
function
|
|
81
|
+
function P(e) {
|
|
70
82
|
return e && (e.type === "linear" || e.type === "radial");
|
|
71
83
|
}
|
|
72
|
-
function
|
|
84
|
+
function _(e) {
|
|
73
85
|
return "url(#" + e + ")";
|
|
74
86
|
}
|
|
75
|
-
function
|
|
87
|
+
function j(e) {
|
|
76
88
|
var t = e.getGlobalScale(), n = Math.max(t[0], t[1]);
|
|
77
89
|
return Math.max(Math.ceil(Math.log(n) / Math.log(10)), 1);
|
|
78
90
|
}
|
|
79
|
-
function
|
|
80
|
-
var t = e.x || 0, n = e.y || 0,
|
|
81
|
-
return (t || n) && r.push("translate(" + t + "px," + n + "px)"),
|
|
91
|
+
function F(e) {
|
|
92
|
+
var t = e.x || 0, n = e.y || 0, a = (e.rotation || 0) * u, f = l(e.scaleX, 1), s = l(e.scaleY, 1), d = e.skewX || 0, c = e.skewY || 0, r = [];
|
|
93
|
+
return (t || n) && r.push("translate(" + t + "px," + n + "px)"), a && r.push("rotate(" + a + ")"), (f !== 1 || s !== 1) && r.push("scale(" + f + "," + s + ")"), (d || c) && r.push("skew(" + i(d * u) + "deg, " + i(c * u) + "deg)"), r.join(" ");
|
|
82
94
|
}
|
|
83
|
-
var
|
|
84
|
-
return
|
|
95
|
+
var L = (function() {
|
|
96
|
+
return w.hasGlobalWindow && p(window.btoa) ? function(e) {
|
|
85
97
|
return window.btoa(unescape(encodeURIComponent(e)));
|
|
86
98
|
} : typeof Buffer < "u" ? function(e) {
|
|
87
99
|
return Buffer.from(e).toString("base64");
|
|
@@ -90,23 +102,25 @@ var C = (function() {
|
|
|
90
102
|
};
|
|
91
103
|
})();
|
|
92
104
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
T as TEXT_ALIGN_TO_ANCHOR,
|
|
106
|
+
X as adjustTextY,
|
|
107
|
+
L as encodeBase64,
|
|
108
|
+
I as getClipPathsKey,
|
|
109
|
+
_ as getIdURL,
|
|
110
|
+
M as getMatrixStr,
|
|
111
|
+
j as getPathPrecision,
|
|
112
|
+
F as getSRTTransformString,
|
|
113
|
+
k as getShadowKey,
|
|
114
|
+
Y as hasShadow,
|
|
115
|
+
E as isAroundZero,
|
|
116
|
+
P as isGradient,
|
|
104
117
|
x as isImagePattern,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
118
|
+
B as isLinearGradient,
|
|
119
|
+
A as isPattern,
|
|
120
|
+
C as isRadialGradient,
|
|
108
121
|
S as isSVGPattern,
|
|
109
122
|
O as normalizeColor,
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
R as round1,
|
|
124
|
+
o as round3,
|
|
125
|
+
g as round4
|
|
112
126
|
};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { DEFAULT_PATH_STYLE as
|
|
2
|
-
import
|
|
3
|
-
import { getLineDash as
|
|
4
|
-
import { map as
|
|
5
|
-
import { normalizeColor as
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
var o =
|
|
9
|
-
return o != null && o !==
|
|
1
|
+
import { DEFAULT_PATH_STYLE as H } from "../graphic/Path.js";
|
|
2
|
+
import w from "../graphic/Image.js";
|
|
3
|
+
import { getLineDash as F } from "../canvas/dashStyle.js";
|
|
4
|
+
import { map as R } from "../core/util.js";
|
|
5
|
+
import { normalizeColor as P } from "./helper.js";
|
|
6
|
+
var a = "none", j = Math.round;
|
|
7
|
+
function p(i) {
|
|
8
|
+
var o = i.fill;
|
|
9
|
+
return o != null && o !== a;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
var o =
|
|
13
|
-
return o != null && o !==
|
|
11
|
+
function x(i) {
|
|
12
|
+
var o = i.stroke;
|
|
13
|
+
return o != null && o !== a;
|
|
14
14
|
}
|
|
15
|
-
var
|
|
16
|
-
return "stroke-" +
|
|
15
|
+
var h = ["lineCap", "miterLimit", "lineJoin"], z = R(h, function(i) {
|
|
16
|
+
return "stroke-" + i.toLowerCase();
|
|
17
17
|
});
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
if (
|
|
21
|
-
|
|
18
|
+
function _(i, o, m, r) {
|
|
19
|
+
var n = o.opacity == null ? 1 : o.opacity;
|
|
20
|
+
if (m instanceof w) {
|
|
21
|
+
i("opacity", n);
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
|
-
if (
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
var
|
|
28
|
-
|
|
24
|
+
if (p(o)) {
|
|
25
|
+
var c = P(o.fill);
|
|
26
|
+
i("fill", c.color);
|
|
27
|
+
var s = o.fillOpacity != null ? o.fillOpacity * c.opacity * n : c.opacity * n;
|
|
28
|
+
(r || s < 1) && i("fill-opacity", s);
|
|
29
29
|
} else
|
|
30
|
-
|
|
31
|
-
if (
|
|
32
|
-
var
|
|
33
|
-
|
|
34
|
-
var
|
|
35
|
-
if (
|
|
36
|
-
var
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
for (var
|
|
40
|
-
var
|
|
41
|
-
if (o[
|
|
42
|
-
var
|
|
43
|
-
|
|
30
|
+
i("fill", a);
|
|
31
|
+
if (x(o)) {
|
|
32
|
+
var k = P(o.stroke);
|
|
33
|
+
i("stroke", k.color);
|
|
34
|
+
var L = o.strokeNoScale ? m.getLineScale() : 1, g = L ? (o.lineWidth || 0) / L : 0, S = o.strokeOpacity != null ? o.strokeOpacity * k.opacity * n : k.opacity * n, u = o.strokeFirst;
|
|
35
|
+
if ((r || g !== 1) && i("stroke-width", g), (r || u) && i("paint-order", u ? "stroke" : "fill"), (r || S < 1) && i("stroke-opacity", S), o.lineDash) {
|
|
36
|
+
var T = F(m), C = T[0], f = T[1];
|
|
37
|
+
C && (f = j(f || 0), i("stroke-dasharray", C.join(",")), (f || r) && i("stroke-dashoffset", f));
|
|
38
|
+
} else r && i("stroke-dasharray", a);
|
|
39
|
+
for (var v = 0; v < h.length; v++) {
|
|
40
|
+
var l = h[v];
|
|
41
|
+
if (r || o[l] !== H[l]) {
|
|
42
|
+
var E = o[l] || H[l];
|
|
43
|
+
E && i(z[v], E);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
} else r && i("stroke", a);
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
_ as default
|
|
50
50
|
};
|