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.
Files changed (426) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
  28. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
  29. package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
  30. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
  31. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
  32. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
  33. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
  34. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
  35. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
  36. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
  37. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
  38. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
  39. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
  40. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
  41. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
  42. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
  43. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
  44. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
  45. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
  46. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
  47. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
  48. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
  49. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
  50. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
  51. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
  52. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
  53. package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
  54. package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
  55. package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
  56. package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
  57. package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
  58. package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
  59. package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
  60. package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
  61. package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
  62. package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
  63. package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
  64. package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
  65. package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
  66. package/dist/node_modules/@vueuse/core/index.js +5189 -199
  67. package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
  68. package/dist/node_modules/@vueuse/shared/index.js +1172 -23
  69. package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
  70. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
  71. package/dist/node_modules/alova/dist/alova.esm.js +266 -220
  72. package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
  73. package/dist/node_modules/builder-pattern/dist/index.js +25 -13
  74. package/dist/node_modules/echarts/index.js +5 -0
  75. package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
  76. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
  77. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
  78. package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
  79. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
  80. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
  81. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
  82. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
  83. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
  84. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
  85. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
  86. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
  87. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
  88. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
  89. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
  90. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
  91. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
  92. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
  93. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
  94. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
  95. package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
  96. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
  97. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
  98. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
  99. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
  100. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
  101. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
  102. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
  103. package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
  104. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
  105. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
  106. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
  107. package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
  108. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
  109. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
  110. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
  111. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
  112. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
  113. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
  114. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
  115. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
  116. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
  117. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
  118. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
  119. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
  120. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
  121. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
  122. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
  123. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
  124. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
  125. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
  126. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
  127. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
  128. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
  129. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
  130. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
  131. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
  132. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
  133. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
  134. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
  135. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
  136. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
  137. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
  138. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
  139. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
  140. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
  141. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
  142. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
  143. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
  144. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
  145. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
  146. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
  147. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
  148. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
  149. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
  150. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
  151. package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
  152. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
  153. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
  154. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
  155. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
  156. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
  157. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
  158. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
  159. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
  160. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
  161. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
  162. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
  163. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
  164. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
  165. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
  166. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
  167. package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
  168. package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
  169. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
  170. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
  171. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
  172. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
  173. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
  174. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
  175. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
  176. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
  177. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
  178. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
  179. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
  180. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
  181. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
  182. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
  183. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
  184. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
  185. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
  186. package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
  187. package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
  188. package/dist/node_modules/echarts/lib/core/impl.js +8 -7
  189. package/dist/node_modules/echarts/lib/core/task.js +19 -19
  190. package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
  191. package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
  192. package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
  193. package/dist/node_modules/echarts/lib/data/Source.js +58 -58
  194. package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
  195. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
  196. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
  197. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
  198. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
  199. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
  200. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
  201. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
  202. package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
  203. package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
  204. package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
  205. package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
  206. package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
  207. package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
  208. package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
  209. package/dist/node_modules/echarts/lib/export/api.js +71 -0
  210. package/dist/node_modules/echarts/lib/export/charts.js +46 -0
  211. package/dist/node_modules/echarts/lib/export/components.js +62 -0
  212. package/dist/node_modules/echarts/lib/export/core.js +39 -0
  213. package/dist/node_modules/echarts/lib/export/features.js +6 -0
  214. package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
  215. package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
  216. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
  217. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
  218. package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
  219. package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
  220. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
  221. package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
  222. package/dist/node_modules/echarts/lib/loading/default.js +3 -2
  223. package/dist/node_modules/echarts/lib/model/Global.js +162 -157
  224. package/dist/node_modules/echarts/lib/model/Model.js +14 -12
  225. package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
  226. package/dist/node_modules/echarts/lib/model/Series.js +52 -52
  227. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
  228. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
  229. package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
  230. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
  231. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
  232. package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
  233. package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
  234. package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
  235. package/dist/node_modules/echarts/lib/util/component.js +40 -39
  236. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
  237. package/dist/node_modules/echarts/lib/util/decal.js +54 -52
  238. package/dist/node_modules/echarts/lib/util/format.js +81 -65
  239. package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
  240. package/dist/node_modules/echarts/lib/util/layout.js +29 -29
  241. package/dist/node_modules/echarts/lib/util/log.js +41 -2
  242. package/dist/node_modules/echarts/lib/util/model.js +171 -170
  243. package/dist/node_modules/echarts/lib/util/number.js +97 -90
  244. package/dist/node_modules/echarts/lib/util/states.js +170 -164
  245. package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
  246. package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
  247. package/dist/node_modules/echarts/lib/util/time.js +2 -2
  248. package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
  249. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
  250. package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
  251. package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
  252. package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
  253. package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
  254. package/dist/node_modules/punycode/punycode.es6.js +17 -17
  255. package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
  256. package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
  257. package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
  258. package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
  259. package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
  260. package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
  261. package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
  262. package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
  263. package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
  264. package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
  265. package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
  266. package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
  267. package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
  268. package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
  269. package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
  270. package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
  271. package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
  272. package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
  273. package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
  274. package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
  275. package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
  276. package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
  277. package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
  278. package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
  279. package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
  280. package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
  281. package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
  282. package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
  283. package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
  284. package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
  285. package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
  286. package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
  287. package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
  288. package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
  289. package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
  290. package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
  291. package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
  292. package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
  293. package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
  294. package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
  295. package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
  296. package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
  297. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
  298. package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
  299. package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
  300. package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
  301. package/dist/node_modules/tslib/tslib.es6.js +305 -14
  302. package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
  303. package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
  304. package/dist/node_modules/zrender/lib/Element.js +126 -122
  305. package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
  306. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
  307. package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
  308. package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
  309. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
  310. package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
  311. package/dist/node_modules/zrender/lib/config.js +7 -6
  312. package/dist/node_modules/zrender/lib/contain/path.js +8 -8
  313. package/dist/node_modules/zrender/lib/contain/text.js +50 -46
  314. package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
  315. package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
  316. package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
  317. package/dist/node_modules/zrender/lib/core/curve.js +1 -1
  318. package/dist/node_modules/zrender/lib/core/event.js +12 -10
  319. package/dist/node_modules/zrender/lib/core/platform.js +29 -24
  320. package/dist/node_modules/zrender/lib/core/util.js +94 -91
  321. package/dist/node_modules/zrender/lib/core/vector.js +54 -34
  322. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
  323. package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
  324. package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
  325. package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
  326. package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
  327. package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
  328. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
  329. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
  330. package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
  331. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
  332. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
  333. package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
  334. package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
  335. package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
  336. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
  337. package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
  338. package/dist/node_modules/zrender/lib/tool/color.js +87 -69
  339. package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
  340. package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
  341. package/dist/node_modules/zrender/lib/zrender.js +106 -90
  342. package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
  343. package/dist/src/api/algorithm/alova/implement/index.js +13 -0
  344. package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
  345. package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
  346. package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
  347. package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
  348. package/dist/src/api/algorithm/alova/index.js +14 -21
  349. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
  350. package/dist/src/api/authorization/alova/globals.js +1 -0
  351. package/dist/src/api/authorization/alova/implement/index.js +4 -0
  352. package/dist/src/api/authorization/alova/index.js +10 -8
  353. package/dist/src/api/check/alova/globals.js +1 -0
  354. package/dist/src/api/check/alova/implement/index.js +5 -0
  355. package/dist/src/api/check/alova/index.js +5 -6
  356. package/dist/src/api/check/check.js +2 -2
  357. package/dist/src/api/doctor/alova/globals.js +1 -0
  358. package/dist/src/api/doctor/alova/implement/index.js +4 -0
  359. package/dist/src/api/doctor/alova/index.js +10 -9
  360. package/dist/src/api/index.js +28 -0
  361. package/dist/src/api/metric/alova/implement/index.js +4 -0
  362. package/dist/src/api/metric/alova/index.js +1 -0
  363. package/dist/src/api/metric/index.js +5 -4
  364. package/dist/src/api/oauth/alova/globals.js +1 -0
  365. package/dist/src/api/oauth/alova/implement/index.js +4 -0
  366. package/dist/src/api/oauth/alova/index.js +13 -11
  367. package/dist/src/api/outpatient/alova/globals.js +1 -0
  368. package/dist/src/api/outpatient/alova/implement/index.js +4 -0
  369. package/dist/src/api/outpatient/alova/index.js +5 -5
  370. package/dist/src/api/patient/alova/globals.js +1 -0
  371. package/dist/src/api/patient/alova/implement/index.js +16 -0
  372. package/dist/src/api/patient/alova/implement/meta.js +44 -44
  373. package/dist/src/api/patient/alova/index.js +9 -12
  374. package/dist/src/api/patient/index.js +23 -22
  375. package/dist/src/api/patient/meta.d.ts +12 -0
  376. package/dist/src/api/patient/meta.js +100 -98
  377. package/dist/src/api/prescription/alova/globals.js +1 -0
  378. package/dist/src/api/prescription/alova/implement/index.js +6 -0
  379. package/dist/src/api/prescription/alova/index.js +8 -7
  380. package/dist/src/api/scientist/alova/globals.js +1 -0
  381. package/dist/src/api/scientist/alova/implement/index.js +4 -0
  382. package/dist/src/api/scientist/alova/index.js +5 -5
  383. package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
  384. package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
  385. package/dist/src/components/tcm/index.d.ts +1 -0
  386. package/dist/src/components/tcm/index.js +28 -0
  387. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
  388. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
  389. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
  390. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
  391. package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
  392. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
  393. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
  394. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
  395. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
  396. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
  397. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
  398. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
  399. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
  400. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
  401. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
  402. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
  403. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
  404. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
  405. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
  406. package/dist/src/components/tcm/inspections/index.d.ts +1 -0
  407. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  408. package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
  409. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
  410. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
  411. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
  412. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
  413. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
  414. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
  415. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  416. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
  417. package/dist/src/index.js +63 -58
  418. package/dist/src/proto/index.js +10 -0
  419. package/dist/src/proto/types/Images_pb.js +7 -6
  420. package/dist/src/proto/types/WaveMap_pb.js +4 -3
  421. package/dist/src/util/helper.js +38 -2
  422. package/dist/src/util/number.js +64 -25
  423. package/dist/src/util/string.js +51 -5
  424. package/dist/web-core-tcm.css +1 -1
  425. package/package.json +5 -3
  426. 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 r(e, n) {
10
+ function u(e, n) {
8
11
  e.removeChild(n);
9
12
  }
10
- function d(e, n) {
13
+ function c(e, n) {
11
14
  e.appendChild(n);
12
15
  }
13
- function u(e) {
16
+ function d(e) {
14
17
  return e.parentNode;
15
18
  }
16
- function c(e) {
19
+ function f(e) {
17
20
  return e.nextSibling;
18
21
  }
19
- function f(e, n) {
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
- d as appendChild,
41
+ c as appendChild,
42
+ r as createComment,
24
43
  o as createTextNode,
44
+ C as getTextContent,
25
45
  i as insertBefore,
26
- c as nextSibling,
27
- u as parentNode,
28
- r as removeChild,
29
- f as setTextContent
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 { getIdURL as D, getPathPrecision as $, adjustTextY as H, TEXT_ALIGN_TO_ANCHOR as W, isLinearGradient as rr, isRadialGradient as tr, round4 as ar, normalizeColor as Z, isImagePattern as ir, getSRTTransformString as nr, getMatrixStr as er, isGradient as or, isPattern as fr, isAroundZero as T, hasShadow as sr, getShadowKey as vr } from "./helper.js";
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 ur from "../graphic/Image.js";
4
- import { getLineHeight as dr } from "../contain/text.js";
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 { createVNode as g, vNodeToString as B, META_DATA_PREFIX as j } from "./core.js";
9
- import { isString as N, retrieve2 as G, assert as E, clone as yr, map as gr, isFunction as mr } from "../core/util.js";
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 && mr(r.toDataURL);
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 && or(e) ? Fr(n, r, i, a) : o && fr(e) ? Or(t, r, i, a) : r[i] = e, o && a.ssr && e === "none" && (r["pointer-events"] = "visible");
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 V(r, n) {
29
+ function I(r, n) {
30
30
  var t = br(n);
31
31
  t && (t.each(function(a, i) {
32
- a != null && (r[(j + i).toLowerCase()] = a + "");
33
- }), n.isSilent() && (r[j + "silent"] = "true"));
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 z(r, n, t) {
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 + ")" : er(n);
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 = gr(r, function(t) {
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 && $(r) || 4;
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 y = Math.pow(10, v);
82
- i[0](a, e, y);
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 u = r.path;
87
- l && (u.beginPath(), r.buildPath(u, r.shape), r.pathUpdated());
88
- var h = u.getVersion(), p = r, d = p.__svgPathBuilder;
89
- (p.__svgPathVersion !== h || !d || f !== p.__svgPathStrokePercent) && (d || (d = p.__svgPathBuilder = new lr()), d.reset(v), u.rebuildPath(d, f), d.generateStr(), p.__svgPathVersion = h, p.__svgPathStrokePercent = f), e.d = d.getStr();
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 z(e, r.transform), O(e, t, r, n), V(e, r), n.animation && F(r, e, n), n.emphasis && Tr(r, e, n), g(s, r.id + "", e);
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), z(f, r.transform), O(f, t, r, n), V(f, r), n.animation && F(r, f, n), g("image", r.id + "", f);
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 = H(t.y || 0, dr(i), t.textBaseline), s = W[t.textAlign] || t.textAlign, f = {
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 = "", y = t.fontStyle, l = Pr(t.fontSize);
112
+ var v = "", g = t.fontStyle, l = Pr(t.fontSize);
113
113
  if (!parseFloat(l))
114
114
  return;
115
- var u = t.fontFamily || Ar, h = t.fontWeight;
116
- v += "font-size:" + l + ";font-family:" + u + ";", y && y !== "normal" && (v += "font-style:" + y + ";"), h && h !== "normal" && (v += "font-weight:" + h + ";"), f.style = v;
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), z(f, r.transform), O(f, t, r, n), V(f, r), n.animation && F(r, f, n), g("text", r.id + "", f, void 0, a);
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 Qr(r, n) {
122
+ function $r(r, n) {
123
123
  if (r instanceof hr)
124
124
  return Q(r, n);
125
- if (r instanceof ur)
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 (sr(a)) {
133
- var i = vr(r), e = t.shadowCache, o = e[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 y = a.shadowOffsetX || 0, l = a.shadowOffsetY || 0, u = a.shadowBlur, h = Z(a.shadowColor), p = h.opacity, d = h.color, x = u / 2 / f, A = u / 2 / v, m = x + " " + A;
139
- o = t.zrId + "-s" + t.shadowIdx++, t.defs[o] = g("filter", 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
- g("feDropShadow", "", {
147
- dx: y / f,
146
+ y("feDropShadow", "", {
147
+ dx: g / f,
148
148
  dy: l / v,
149
149
  stdDeviation: m,
150
- "flood-color": d,
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 (rr(i))
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 (tr(i))
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, y = s.length; v < y; ++v) {
169
- var l = ar(s[v].offset) * 100 + "%", u = s[v].color, h = Z(u), p = h.color, d = h.opacity, x = {
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, d < 1 && (x["stop-opacity"] = d), f.push(g("stop", v + "", x));
172
+ x["stop-color"] = p, u < 1 && (x["stop-opacity"] = u), f.push(y("stop", v + "", x));
173
173
  }
174
- var A = g(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] = g(e, c, o, f)), n[t] = D(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", y = s === "repeat-y", l;
179
- if (ir(i)) {
180
- var u = i.imageWidth, h = i.imageHeight, p = void 0, d = i.image;
181
- if (N(d) ? p = d : q(d) ? p = d.src : J(d) && (p = d.toDataURL()), typeof Image > "u") {
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
- E(u, x), E(h, x);
184
- } else if (u == null || h == null) {
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 = u || _.width, R = h || _.height;
188
- P.tag === "pattern" && (v ? (R = 1, C /= e.width) : y && (C = 1, R /= e.height)), P.attrs.width = C, P.attrs.height = R, U && (U.setAttribute("width", C), U.setAttribute("height", R));
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 && (u = u || m.width, h = h || m.height);
193
+ m && m.width && m.height && (d = d || m.width, h = h || m.height);
194
194
  }
195
- l = g("image", "img", {
195
+ l = y("image", "img", {
196
196
  href: p,
197
- width: u,
197
+ width: d,
198
198
  height: h
199
- }), o.width = u, o.height = h;
200
- } else i.svgElement && (l = yr(i.svgElement), o.width = i.svgWidth, o.height = i.svgHeight);
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) : y ? (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 I = nr(i);
205
- I && (o.patternTransform = I);
206
- var L = g("pattern", "", o, [l]), M = B(L), k = a.patternCache, w = k[M];
207
- w || (w = a.zrId + "-p" + a.patternIdx++, k[M] = w, o.id = w, L = a.defs[w] = g("pattern", w, o, [l])), n[t] = D(w);
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 $r(r, n, t) {
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] = g("clipPath", e, o, [Q(r, t)]);
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
- Qr as brush,
222
+ $r as brush,
223
223
  Ur as brushSVGImage,
224
224
  Q as brushSVGPath,
225
225
  Gr as brushSVGTSpan,
226
- $r as setClipPath,
226
+ Hr as setClipPath,
227
227
  Fr as setGradient,
228
228
  Or as setPattern
229
229
  };
@@ -1,13 +1,13 @@
1
- import { isFunction as g, RADIAN_TO_DEGREE as o, retrieve2 as l } from "../core/util.js";
2
- import { parse as w } from "../tool/color.js";
3
- import v from "../core/env.js";
4
- var a = Math.round;
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 = w(e);
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 R(e) {
19
+ function E(e) {
20
20
  return e < h && e > -h;
21
21
  }
22
- function i(e) {
23
- return a(e * 1e3) / 1e3;
22
+ function o(e) {
23
+ return i(e * 1e3) / 1e3;
24
24
  }
25
- function p(e) {
26
- return a(e * 1e4) / 1e4;
25
+ function g(e) {
26
+ return i(e * 1e4) / 1e4;
27
27
  }
28
- function y(e) {
29
- return "matrix(" + i(e[0]) + "," + i(e[1]) + "," + i(e[2]) + "," + i(e[3]) + "," + p(e[4]) + "," + p(e[5]) + ")";
28
+ function R(e) {
29
+ return i(e * 10) / 10;
30
30
  }
31
- var M = {
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 T(e, t, n) {
40
+ function X(e, t, n) {
38
41
  return n === "top" ? e += t / 2 : n === "bottom" && (e -= t / 2), e;
39
42
  }
40
- function X(e) {
43
+ function Y(e) {
41
44
  return e && (e.shadowBlur || e.shadowOffsetX || e.shadowOffsetY);
42
45
  }
43
- function Y(e) {
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 E(e) {
72
+ function A(e) {
61
73
  return x(e) || S(e);
62
74
  }
63
- function I(e) {
75
+ function B(e) {
64
76
  return e.type === "linear";
65
77
  }
66
- function P(e) {
78
+ function C(e) {
67
79
  return e.type === "radial";
68
80
  }
69
- function k(e) {
81
+ function P(e) {
70
82
  return e && (e.type === "linear" || e.type === "radial");
71
83
  }
72
- function A(e) {
84
+ function _(e) {
73
85
  return "url(#" + e + ")";
74
86
  }
75
- function _(e) {
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 B(e) {
80
- var t = e.x || 0, n = e.y || 0, u = (e.rotation || 0) * o, f = l(e.scaleX, 1), s = l(e.scaleY, 1), d = e.skewX || 0, c = e.skewY || 0, r = [];
81
- return (t || n) && r.push("translate(" + t + "px," + n + "px)"), u && r.push("rotate(" + u + ")"), (f !== 1 || s !== 1) && r.push("scale(" + f + "," + s + ")"), (d || c) && r.push("skew(" + a(d * o) + "deg, " + a(c * o) + "deg)"), r.join(" ");
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 C = (function() {
84
- return v.hasGlobalWindow && g(window.btoa) ? function(e) {
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
- M as TEXT_ALIGN_TO_ANCHOR,
94
- T as adjustTextY,
95
- C as encodeBase64,
96
- A as getIdURL,
97
- y as getMatrixStr,
98
- _ as getPathPrecision,
99
- B as getSRTTransformString,
100
- Y as getShadowKey,
101
- X as hasShadow,
102
- R as isAroundZero,
103
- k as isGradient,
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
- I as isLinearGradient,
106
- E as isPattern,
107
- P as isRadialGradient,
118
+ B as isLinearGradient,
119
+ A as isPattern,
120
+ C as isRadialGradient,
108
121
  S as isSVGPattern,
109
122
  O as normalizeColor,
110
- i as round3,
111
- p as round4
123
+ R as round1,
124
+ o as round3,
125
+ g as round4
112
126
  };
@@ -1,50 +1,50 @@
1
- import { DEFAULT_PATH_STYLE as C } from "../graphic/Path.js";
2
- import P from "../graphic/Image.js";
3
- import { getLineDash as e } from "../canvas/dashStyle.js";
4
- import { map as s } from "../core/util.js";
5
- import { normalizeColor as E } from "./helper.js";
6
- var k = "none", w = Math.round;
7
- function F(r) {
8
- var o = r.fill;
9
- return o != null && o !== k;
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 R(r) {
12
- var o = r.stroke;
13
- return o != null && o !== k;
11
+ function x(i) {
12
+ var o = i.stroke;
13
+ return o != null && o !== a;
14
14
  }
15
- var m = ["lineCap", "miterLimit", "lineJoin"], j = s(m, function(r) {
16
- return "stroke-" + r.toLowerCase();
15
+ var h = ["lineCap", "miterLimit", "lineJoin"], z = R(h, function(i) {
16
+ return "stroke-" + i.toLowerCase();
17
17
  });
18
- function U(r, o, c, H) {
19
- var i = o.opacity == null ? 1 : o.opacity;
20
- if (c instanceof P) {
21
- r("opacity", i);
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 (F(o)) {
25
- var v = E(o.fill);
26
- r("fill", v.color);
27
- var p = o.fillOpacity != null ? o.fillOpacity * v.opacity * i : v.opacity * i;
28
- p < 1 && r("fill-opacity", p);
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
- r("fill", k);
31
- if (R(o)) {
32
- var l = E(o.stroke);
33
- r("stroke", l.color);
34
- var t = o.strokeNoScale ? c.getLineScale() : 1, h = t ? (o.lineWidth || 0) / t : 0, u = o.strokeOpacity != null ? o.strokeOpacity * l.opacity * i : l.opacity * i, L = o.strokeFirst;
35
- if (h !== 1 && r("stroke-width", h), L && r("paint-order", L ? "stroke" : "fill"), u < 1 && r("stroke-opacity", u), o.lineDash) {
36
- var g = e(c), S = g[0], a = g[1];
37
- S && (a = w(a || 0), r("stroke-dasharray", S.join(",")), (a || H) && r("stroke-dashoffset", a));
38
- }
39
- for (var n = 0; n < m.length; n++) {
40
- var f = m[n];
41
- if (o[f] !== C[f]) {
42
- var T = o[f] || C[f];
43
- T && r(j[n], T);
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
- U as default
49
+ _ as default
50
50
  };