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.
Files changed (470) 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/createApis.js +1 -7
  351. package/dist/src/api/authorization/alova/globals.d.ts +331 -250
  352. package/dist/src/api/authorization/alova/implement/index.js +4 -0
  353. package/dist/src/api/authorization/alova/index.d.ts +1 -1
  354. package/dist/src/api/authorization/alova/index.js +7 -6
  355. package/dist/src/api/check/alova/createApis.js +1 -7
  356. package/dist/src/api/check/alova/globals.d.ts +1227 -1126
  357. package/dist/src/api/check/alova/implement/index.js +5 -0
  358. package/dist/src/api/check/alova/index.d.ts +1 -1
  359. package/dist/src/api/check/alova/index.js +9 -11
  360. package/dist/src/api/check/check.js +2 -2
  361. package/dist/src/api/config/index.d.ts +1 -0
  362. package/dist/src/api/config/index.js +3 -1
  363. package/dist/src/api/doctor/alova/createApis.js +1 -7
  364. package/dist/src/api/doctor/alova/globals.d.ts +510 -419
  365. package/dist/src/api/doctor/alova/implement/index.js +4 -0
  366. package/dist/src/api/doctor/alova/index.d.ts +1 -1
  367. package/dist/src/api/doctor/alova/index.js +4 -4
  368. package/dist/src/api/index.d.ts +1 -0
  369. package/dist/src/api/index.js +30 -0
  370. package/dist/src/api/manager/alova/apiDefinitions.d.ts +62 -0
  371. package/dist/src/api/manager/alova/apiDefinitions.js +50 -0
  372. package/dist/src/api/manager/alova/createApis.d.ts +10 -0
  373. package/dist/src/api/manager/alova/createApis.js +49 -0
  374. package/dist/src/api/manager/alova/globals.d.ts +4890 -0
  375. package/dist/src/api/manager/alova/implement/department.d.ts +7 -0
  376. package/dist/src/api/manager/alova/implement/department.js +44 -0
  377. package/dist/src/api/manager/alova/implement/division.d.ts +7 -0
  378. package/dist/src/api/manager/alova/implement/division.js +44 -0
  379. package/dist/src/api/manager/alova/implement/hospital.d.ts +7 -0
  380. package/dist/src/api/manager/alova/implement/hospital.js +44 -0
  381. package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
  382. package/dist/src/api/manager/alova/implement/index.js +8 -0
  383. package/dist/src/api/manager/alova/index.d.ts +6 -0
  384. package/dist/src/api/manager/alova/index.js +19 -0
  385. package/dist/src/api/manager/department.d.ts +30 -0
  386. package/dist/src/api/manager/department.js +35 -0
  387. package/dist/src/api/manager/division.d.ts +30 -0
  388. package/dist/src/api/manager/division.js +34 -0
  389. package/dist/src/api/manager/hospital.d.ts +32 -0
  390. package/dist/src/api/manager/hospital.js +36 -0
  391. package/dist/src/api/manager/index.d.ts +4 -0
  392. package/dist/src/api/manager/index.js +17 -0
  393. package/dist/src/api/metric/alova/implement/index.js +4 -0
  394. package/dist/src/api/metric/alova/index.js +1 -0
  395. package/dist/src/api/metric/index.js +5 -4
  396. package/dist/src/api/oauth/alova/createApis.js +1 -7
  397. package/dist/src/api/oauth/alova/globals.d.ts +403 -312
  398. package/dist/src/api/oauth/alova/implement/index.js +4 -0
  399. package/dist/src/api/oauth/alova/index.d.ts +1 -1
  400. package/dist/src/api/oauth/alova/index.js +12 -11
  401. package/dist/src/api/outpatient/alova/createApis.js +1 -7
  402. package/dist/src/api/outpatient/alova/globals.d.ts +634 -543
  403. package/dist/src/api/outpatient/alova/implement/index.js +4 -0
  404. package/dist/src/api/outpatient/alova/index.d.ts +1 -1
  405. package/dist/src/api/outpatient/alova/index.js +8 -9
  406. package/dist/src/api/patient/alova/createApis.js +1 -7
  407. package/dist/src/api/patient/alova/globals.d.ts +1627 -1480
  408. package/dist/src/api/patient/alova/implement/index.js +16 -0
  409. package/dist/src/api/patient/alova/implement/meta.js +44 -44
  410. package/dist/src/api/patient/alova/index.d.ts +1 -1
  411. package/dist/src/api/patient/alova/index.js +10 -14
  412. package/dist/src/api/patient/index.js +23 -22
  413. package/dist/src/api/patient/meta.d.ts +12 -0
  414. package/dist/src/api/patient/meta.js +100 -98
  415. package/dist/src/api/prescription/alova/apiDefinitions.d.ts +1 -0
  416. package/dist/src/api/prescription/alova/apiDefinitions.js +1 -0
  417. package/dist/src/api/prescription/alova/createApis.js +1 -7
  418. package/dist/src/api/prescription/alova/globals.d.ts +959 -812
  419. package/dist/src/api/prescription/alova/implement/index.js +6 -0
  420. package/dist/src/api/prescription/alova/index.d.ts +1 -1
  421. package/dist/src/api/prescription/alova/index.js +4 -4
  422. package/dist/src/api/scientist/alova/createApis.js +1 -7
  423. package/dist/src/api/scientist/alova/globals.d.ts +406 -315
  424. package/dist/src/api/scientist/alova/implement/index.js +4 -0
  425. package/dist/src/api/scientist/alova/index.d.ts +1 -1
  426. package/dist/src/api/scientist/alova/index.js +7 -8
  427. package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
  428. package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
  429. package/dist/src/components/tcm/index.d.ts +1 -0
  430. package/dist/src/components/tcm/index.js +28 -0
  431. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
  432. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
  433. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
  434. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
  435. package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
  436. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
  437. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
  438. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
  439. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
  440. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
  441. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
  442. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
  443. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
  444. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
  445. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
  446. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
  447. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
  448. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
  449. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
  450. package/dist/src/components/tcm/inspections/index.d.ts +1 -0
  451. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  452. package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
  453. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
  454. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
  455. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
  456. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
  457. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
  458. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
  459. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  460. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
  461. package/dist/src/index.js +65 -58
  462. package/dist/src/proto/index.js +10 -0
  463. package/dist/src/proto/types/Images_pb.js +7 -6
  464. package/dist/src/proto/types/WaveMap_pb.js +4 -3
  465. package/dist/src/util/helper.js +38 -2
  466. package/dist/src/util/number.js +64 -25
  467. package/dist/src/util/string.js +51 -5
  468. package/dist/web-core-tcm.css +1 -1
  469. package/package.json +5 -3
  470. package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
@@ -1,26 +1,27 @@
1
- import { each as d, isArray as G, isArrayLike as Q, isObject as X, keys as $, indexOf as M, extend as v } from "../../../zrender/lib/core/util.js";
1
+ import { indexOf as F, extend as v, each as d, isArrayLike as Q, isObject as X, keys as $, isArray as M } from "../../../zrender/lib/core/util.js";
2
2
  import { getECData as S } from "./innerStore.js";
3
- import { liftColor as x } from "../../../zrender/lib/tool/color.js";
3
+ import { liftColor as b } from "../../../zrender/lib/tool/color.js";
4
4
  import { makeInner as V, queryDataIndex as z } from "./model.js";
5
5
  import ee from "../../../zrender/lib/graphic/Path.js";
6
- var B = 1, b = {}, Y = V(), T = V(), O = 0, I = 1, C = 2, we = ["emphasis", "blur", "select"], He = ["normal", "emphasis", "blur", "select"], te = 10, ne = 9, re = "highlight", ae = "downplay", R = "select", ie = "unselect", N = "toggleSelect";
6
+ import "./log.js";
7
+ var x = 1, B = {}, Y = V(), T = V(), O = 0, w = 1, I = 2, be = ["emphasis", "blur", "select"], xe = ["normal", "emphasis", "blur", "select"], te = 10, re = 9, ne = "highlight", ae = "downplay", R = "select", ie = "unselect", N = "toggleSelect";
7
8
  function g(e) {
8
9
  return e != null && e !== "none";
9
10
  }
10
- function y(e, t, n) {
11
- e.onHoverStateChange && (e.hoverState || 0) !== n && e.onHoverStateChange(t), e.hoverState = n;
11
+ function y(e, t, r) {
12
+ e.onHoverStateChange && (e.hoverState || 0) !== r && e.onHoverStateChange(t), e.hoverState = r;
12
13
  }
13
14
  function U(e) {
14
- y(e, "emphasis", C);
15
+ y(e, "emphasis", I);
15
16
  }
16
17
  function W(e) {
17
- e.hoverState === C && y(e, "normal", O);
18
+ e.hoverState === I && y(e, "normal", O);
18
19
  }
19
- function w(e) {
20
- y(e, "blur", I);
20
+ function C(e) {
21
+ y(e, "blur", w);
21
22
  }
22
23
  function Z(e) {
23
- e.hoverState === I && y(e, "normal", O);
24
+ e.hoverState === w && y(e, "normal", O);
24
25
  }
25
26
  function oe(e) {
26
27
  e.selected = !0;
@@ -28,92 +29,97 @@ function oe(e) {
28
29
  function le(e) {
29
30
  e.selected = !1;
30
31
  }
31
- function A(e, t, n) {
32
- t(e, n);
32
+ function A(e, t, r) {
33
+ t(e, r);
33
34
  }
34
- function h(e, t, n) {
35
- A(e, t, n), e.isGroup && e.traverse(function(r) {
36
- A(r, t, n);
35
+ function h(e, t, r) {
36
+ A(e, t, r), e.isGroup && e.traverse(function(n) {
37
+ A(n, t, r);
37
38
  });
38
39
  }
39
- function xe(e, t) {
40
+ function Be(e, t) {
40
41
  switch (t) {
41
42
  case "emphasis":
42
- e.hoverState = C;
43
+ e.hoverState = I;
43
44
  break;
44
45
  case "normal":
45
46
  e.hoverState = O;
46
47
  break;
47
48
  case "blur":
48
- e.hoverState = I;
49
+ e.hoverState = w;
49
50
  break;
50
51
  case "select":
51
52
  e.selected = !0;
52
53
  }
53
54
  }
54
- function ue(e, t, n, r) {
55
+ function Ae(e) {
56
+ e.isGroup ? e.traverse(function(t) {
57
+ t.clearStates();
58
+ }) : e.clearStates();
59
+ }
60
+ function ue(e, t, r, n) {
55
61
  for (var a = e.style, i = {}, o = 0; o < t.length; o++) {
56
62
  var u = t[o], f = a[u];
57
- i[u] = f ?? (r && r[u]);
63
+ i[u] = f ?? (n && n[u]);
58
64
  }
59
65
  for (var o = 0; o < e.animators.length; o++) {
60
66
  var l = e.animators[o];
61
- l.__fromStateTransition && l.__fromStateTransition.indexOf(n) < 0 && l.targetName === "style" && l.saveTo(i, t);
67
+ l.__fromStateTransition && l.__fromStateTransition.indexOf(r) < 0 && l.targetName === "style" && l.saveTo(i, t);
62
68
  }
63
69
  return i;
64
70
  }
65
- function fe(e, t, n, r) {
66
- var a = n && M(n, "select") >= 0, i = !1;
71
+ function fe(e, t, r, n) {
72
+ var a = r && F(r, "select") >= 0, i = !1;
67
73
  if (e instanceof ee) {
68
74
  var o = Y(e), u = a && o.selectFill || o.normalFill, f = a && o.selectStroke || o.normalStroke;
69
75
  if (g(u) || g(f)) {
70
- r = r || {};
71
- var l = r.style || {};
72
- l.fill === "inherit" ? (i = !0, r = v({}, r), l = v({}, l), l.fill = u) : !g(l.fill) && g(u) ? (i = !0, r = v({}, r), l = v({}, l), l.fill = x(u)) : !g(l.stroke) && g(f) && (i || (r = v({}, r), l = v({}, l)), l.stroke = x(f)), r.style = l;
76
+ n = n || {};
77
+ var l = n.style || {};
78
+ l.fill === "inherit" ? (i = !0, n = v({}, n), l = v({}, l), l.fill = u) : !g(l.fill) && g(u) ? (i = !0, n = v({}, n), l = v({}, l), l.fill = b(u)) : !g(l.stroke) && g(f) && (i || (n = v({}, n), l = v({}, l)), l.stroke = b(f)), n.style = l;
73
79
  }
74
80
  }
75
- if (r && r.z2 == null) {
76
- i || (r = v({}, r));
81
+ if (n && n.z2 == null) {
82
+ i || (n = v({}, n));
77
83
  var s = e.z2EmphasisLift;
78
- r.z2 = e.z2 + (s ?? te);
84
+ n.z2 = e.z2 + (s ?? te);
79
85
  }
80
- return r;
86
+ return n;
81
87
  }
82
- function ce(e, t, n) {
83
- if (n && n.z2 == null) {
84
- n = v({}, n);
85
- var r = e.z2SelectLift;
86
- n.z2 = e.z2 + (r ?? ne);
88
+ function ce(e, t, r) {
89
+ if (r && r.z2 == null) {
90
+ r = v({}, r);
91
+ var n = e.z2SelectLift;
92
+ r.z2 = e.z2 + (n ?? re);
87
93
  }
88
- return n;
94
+ return r;
89
95
  }
90
- function se(e, t, n) {
91
- var r = M(e.currentStates, t) >= 0, a = e.style.opacity, i = r ? null : ue(e, ["opacity"], t, {
96
+ function se(e, t, r) {
97
+ var n = F(e.currentStates, t) >= 0, a = e.style.opacity, i = n ? null : ue(e, ["opacity"], t, {
92
98
  opacity: 1
93
99
  });
94
- n = n || {};
95
- var o = n.style || {};
96
- return o.opacity == null && (n = v({}, n), o = v({
100
+ r = r || {};
101
+ var o = r.style || {};
102
+ return o.opacity == null && (r = v({}, r), o = v({
97
103
  // Already being applied 'emphasis'. DON'T mul opacity multiple times.
98
- opacity: r ? a : i.opacity * 0.1
99
- }, o), n.style = o), n;
104
+ opacity: n ? a : i.opacity * 0.1
105
+ }, o), r.style = o), r;
100
106
  }
101
- function D(e, t) {
102
- var n = this.states[e];
107
+ function _(e, t) {
108
+ var r = this.states[e];
103
109
  if (this.style) {
104
110
  if (e === "emphasis")
105
- return fe(this, e, t, n);
111
+ return fe(this, e, t, r);
106
112
  if (e === "blur")
107
- return se(this, e, n);
113
+ return se(this, e, r);
108
114
  if (e === "select")
109
- return ce(this, e, n);
115
+ return ce(this, e, r);
110
116
  }
111
- return n;
117
+ return r;
112
118
  }
113
119
  function ve(e) {
114
- e.stateProxy = D;
115
- var t = e.getTextContent(), n = e.getTextGuideLine();
116
- t && (t.stateProxy = D), n && (n.stateProxy = D);
120
+ e.stateProxy = _;
121
+ var t = e.getTextContent(), r = e.getTextGuideLine();
122
+ t && (t.stateProxy = _), r && (r.stateProxy = _);
117
123
  }
118
124
  function L(e, t) {
119
125
  !j(e, t) && !e.__highByOuter && h(e, U);
@@ -121,14 +127,14 @@ function L(e, t) {
121
127
  function P(e, t) {
122
128
  !j(e, t) && !e.__highByOuter && h(e, W);
123
129
  }
124
- function Be(e, t) {
130
+ function Le(e, t) {
125
131
  e.__highByOuter |= 1 << (t || 0), h(e, U);
126
132
  }
127
- function be(e, t) {
133
+ function Pe(e, t) {
128
134
  !(e.__highByOuter &= ~(1 << (t || 0))) && h(e, W);
129
135
  }
130
- function Ae(e) {
131
- h(e, w);
136
+ function ke(e) {
137
+ h(e, C);
132
138
  }
133
139
  function he(e) {
134
140
  h(e, Z);
@@ -143,19 +149,19 @@ function j(e, t) {
143
149
  return e.__highDownSilentOnTouch && t.zrByTouch;
144
150
  }
145
151
  function de(e) {
146
- var t = e.getModel(), n = [], r = [];
152
+ var t = e.getModel(), r = [], n = [];
147
153
  t.eachComponent(function(a, i) {
148
154
  var o = T(i), u = a === "series", f = u ? e.getViewOfSeriesModel(i) : e.getViewOfComponentModel(i);
149
- !u && r.push(f), o.isBlured && (f.group.traverse(function(l) {
155
+ !u && n.push(f), o.isBlured && (f.group.traverse(function(l) {
150
156
  Z(l);
151
- }), u && n.push(i)), o.isBlured = !1;
152
- }), d(r, function(a) {
153
- a && a.toggleBlurSeries && a.toggleBlurSeries(n, !1, t);
157
+ }), u && r.push(i)), o.isBlured = !1;
158
+ }), d(n, function(a) {
159
+ a && a.toggleBlurSeries && a.toggleBlurSeries(r, !1, t);
154
160
  });
155
161
  }
156
- function E(e, t, n, r) {
157
- var a = r.getModel();
158
- n = n || "coordinateSystem";
162
+ function E(e, t, r, n) {
163
+ var a = n.getModel();
164
+ r = r || "coordinateSystem";
159
165
  function i(l, s) {
160
166
  for (var c = 0; c < s.length; c++) {
161
167
  var p = l.getItemGraphicEl(s[c]);
@@ -171,69 +177,69 @@ function E(e, t, n, r) {
171
177
  c && c.master && (c = c.master);
172
178
  var p = c && u ? c === u : s;
173
179
  if (!// Not blur other series if blurScope series
174
- (n === "series" && !s || n === "coordinateSystem" && !p || t === "series" && s)) {
175
- var K = r.getViewOfSeriesModel(l);
180
+ (r === "series" && !s || r === "coordinateSystem" && !p || t === "series" && s)) {
181
+ var K = n.getViewOfSeriesModel(l);
176
182
  if (K.group.traverse(function(H) {
177
- H.__highByOuter && s && t === "self" || w(H);
183
+ H.__highByOuter && s && t === "self" || C(H);
178
184
  }), Q(t))
179
185
  i(l.getData(), t);
180
186
  else if (X(t))
181
- for (var _ = $(t), m = 0; m < _.length; m++)
182
- i(l.getData(_[m]), t[_[m]]);
187
+ for (var D = $(t), m = 0; m < D.length; m++)
188
+ i(l.getData(D[m]), t[D[m]]);
183
189
  f.push(l), T(l).isBlured = !0;
184
190
  }
185
191
  }), a.eachComponent(function(l, s) {
186
192
  if (l !== "series") {
187
- var c = r.getViewOfComponentModel(s);
193
+ var c = n.getViewOfComponentModel(s);
188
194
  c && c.toggleBlurSeries && c.toggleBlurSeries(f, !0, a);
189
195
  }
190
196
  });
191
197
  }
192
198
  }
193
- function k(e, t, n) {
199
+ function k(e, t, r) {
194
200
  if (!(e == null || t == null)) {
195
- var r = n.getModel().getComponent(e, t);
196
- if (r) {
197
- T(r).isBlured = !0;
198
- var a = n.getViewOfComponentModel(r);
201
+ var n = r.getModel().getComponent(e, t);
202
+ if (n) {
203
+ T(n).isBlured = !0;
204
+ var a = r.getViewOfComponentModel(n);
199
205
  !a || !a.focusBlurEnabled || a.group.traverse(function(i) {
200
- w(i);
206
+ C(i);
201
207
  });
202
208
  }
203
209
  }
204
210
  }
205
- function Le(e, t, n) {
206
- var r = e.seriesIndex, a = e.getData(t.dataType);
211
+ function Ge(e, t, r) {
212
+ var n = e.seriesIndex, a = e.getData(t.dataType);
207
213
  if (a) {
208
214
  var i = z(a, t);
209
- i = (G(i) ? i[0] : i) || 0;
215
+ i = (M(i) ? i[0] : i) || 0;
210
216
  var o = a.getItemGraphicEl(i);
211
217
  if (!o)
212
218
  for (var u = a.count(), f = 0; !o && f < u; )
213
219
  o = a.getItemGraphicEl(f++);
214
220
  if (o) {
215
221
  var l = S(o);
216
- E(r, l.focus, l.blurScope, n);
222
+ E(n, l.focus, l.blurScope, r);
217
223
  } else {
218
224
  var s = e.get(["emphasis", "focus"]), c = e.get(["emphasis", "blurScope"]);
219
- s != null && E(r, s, c, n);
225
+ s != null && E(n, s, c, r);
220
226
  }
221
227
  }
222
228
  }
223
- function q(e, t, n, r) {
229
+ function q(e, t, r, n) {
224
230
  var a = {
225
231
  focusSelf: !1,
226
232
  dispatchers: null
227
233
  };
228
- if (e == null || e === "series" || t == null || n == null)
234
+ if (e == null || e === "series" || t == null || r == null)
229
235
  return a;
230
- var i = r.getModel().getComponent(e, t);
236
+ var i = n.getModel().getComponent(e, t);
231
237
  if (!i)
232
238
  return a;
233
- var o = r.getViewOfComponentModel(i);
239
+ var o = n.getViewOfComponentModel(i);
234
240
  if (!o || !o.findHighDownDispatchers)
235
241
  return a;
236
- for (var u = o.findHighDownDispatchers(n), f, l = 0; l < u.length; l++)
242
+ for (var u = o.findHighDownDispatchers(r), f, l = 0; l < u.length; l++)
237
243
  if (S(u[l]).focus === "self") {
238
244
  f = !0;
239
245
  break;
@@ -243,148 +249,148 @@ function q(e, t, n, r) {
243
249
  dispatchers: u
244
250
  };
245
251
  }
246
- function Pe(e, t, n) {
247
- var r = S(e), a = q(r.componentMainType, r.componentIndex, r.componentHighDownName, n), i = a.dispatchers, o = a.focusSelf;
248
- i ? (o && k(r.componentMainType, r.componentIndex, n), d(i, function(u) {
252
+ function Fe(e, t, r) {
253
+ var n = S(e), a = q(n.componentMainType, n.componentIndex, n.componentHighDownName, r), i = a.dispatchers, o = a.focusSelf;
254
+ i ? (o && k(n.componentMainType, n.componentIndex, r), d(i, function(u) {
249
255
  return L(u, t);
250
- })) : (E(r.seriesIndex, r.focus, r.blurScope, n), r.focus === "self" && k(r.componentMainType, r.componentIndex, n), L(e, t));
256
+ })) : (E(n.seriesIndex, n.focus, n.blurScope, r), n.focus === "self" && k(n.componentMainType, n.componentIndex, r), L(e, t));
251
257
  }
252
- function ke(e, t, n) {
253
- de(n);
254
- var r = S(e), a = q(r.componentMainType, r.componentIndex, r.componentHighDownName, n).dispatchers;
258
+ function Me(e, t, r) {
259
+ de(r);
260
+ var n = S(e), a = q(n.componentMainType, n.componentIndex, n.componentHighDownName, r).dispatchers;
255
261
  a ? d(a, function(i) {
256
262
  return P(i, t);
257
263
  }) : P(e, t);
258
264
  }
259
- function Fe(e, t, n) {
260
- if (De(t)) {
261
- var r = t.dataType, a = e.getData(r), i = z(a, t);
262
- G(i) || (i = [i]), e[t.type === N ? "toggleSelect" : t.type === R ? "select" : "unselect"](i, r);
265
+ function Ve(e, t, r) {
266
+ if (_e(t)) {
267
+ var n = t.dataType, a = e.getData(n), i = z(a, t);
268
+ M(i) || (i = [i]), e[t.type === N ? "toggleSelect" : t.type === R ? "select" : "unselect"](i, n);
263
269
  }
264
270
  }
265
- function Ge(e) {
271
+ function ze(e) {
266
272
  var t = e.getAllData();
267
- d(t, function(n) {
268
- var r = n.data, a = n.type;
269
- r.eachItemGraphicEl(function(i, o) {
273
+ d(t, function(r) {
274
+ var n = r.data, a = r.type;
275
+ n.eachItemGraphicEl(function(i, o) {
270
276
  e.isSelected(o, a) ? ge(i) : Se(i);
271
277
  });
272
278
  });
273
279
  }
274
- function Me(e) {
280
+ function Ye(e) {
275
281
  var t = [];
276
- return e.eachSeries(function(n) {
277
- var r = n.getAllData();
278
- d(r, function(a) {
279
- a.data;
280
- var i = a.type, o = n.getSelectedDataIndices();
281
- if (o.length > 0) {
282
- var u = {
283
- dataIndex: o,
284
- seriesIndex: n.seriesIndex
282
+ return e.eachSeries(function(r) {
283
+ var n = r.getAllData();
284
+ d(n, function(a) {
285
+ var i = a.data, o = a.type, u = r.getSelectedDataIndices();
286
+ if (u.length > 0) {
287
+ var f = {
288
+ dataIndex: u,
289
+ seriesIndex: r.seriesIndex
285
290
  };
286
- i != null && (u.dataType = i), t.push(u);
291
+ o != null && (f.dataType = o), t.push(f);
287
292
  }
288
293
  });
289
294
  }), t;
290
295
  }
291
- function pe(e, t, n) {
292
- J(e, !0), h(e, ve), ye(e, t, n);
296
+ function pe(e, t, r) {
297
+ J(e, !0), h(e, ve), ye(e, t, r);
293
298
  }
294
299
  function me(e) {
295
300
  J(e, !1);
296
301
  }
297
- function Ve(e, t, n, r) {
298
- r ? me(e) : pe(e, t, n);
302
+ function Re(e, t, r, n) {
303
+ n ? me(e) : pe(e, t, r);
299
304
  }
300
- function ye(e, t, n) {
301
- var r = S(e);
302
- t != null ? (r.focus = t, r.blurScope = n) : r.focus && (r.focus = null);
305
+ function ye(e, t, r) {
306
+ var n = S(e);
307
+ t != null ? (n.focus = t, n.blurScope = r) : n.focus && (n.focus = null);
303
308
  }
304
- var F = ["emphasis", "blur", "select"], _e = {
309
+ var G = ["emphasis", "blur", "select"], De = {
305
310
  itemStyle: "getItemStyle",
306
311
  lineStyle: "getLineStyle",
307
312
  areaStyle: "getAreaStyle"
308
313
  };
309
- function ze(e, t, n, r) {
310
- n = n || "itemStyle";
311
- for (var a = 0; a < F.length; a++) {
312
- var i = F[a], o = t.getModel([i, n]), u = e.ensureState(i);
313
- u.style = r ? r(o) : o[_e[n]]();
314
+ function Ne(e, t, r, n) {
315
+ r = r || "itemStyle";
316
+ for (var a = 0; a < G.length; a++) {
317
+ var i = G[a], o = t.getModel([i, r]), u = e.ensureState(i);
318
+ u.style = n ? n(o) : o[De[r]]();
314
319
  }
315
320
  }
316
321
  function J(e, t) {
317
- var n = t === !1, r = e;
318
- e.highDownSilentOnTouch && (r.__highDownSilentOnTouch = e.highDownSilentOnTouch), (!n || r.__highDownDispatcher) && (r.__highByOuter = r.__highByOuter || 0, r.__highDownDispatcher = !n);
322
+ var r = t === !1, n = e;
323
+ e.highDownSilentOnTouch && (n.__highDownSilentOnTouch = e.highDownSilentOnTouch), (!r || n.__highDownDispatcher) && (n.__highByOuter = n.__highByOuter || 0, n.__highDownDispatcher = !r);
319
324
  }
320
- function Ye(e) {
325
+ function Ue(e) {
321
326
  return !!(e && e.__highDownDispatcher);
322
327
  }
323
- function Re(e, t, n) {
324
- var r = S(e);
325
- r.componentMainType = t.mainType, r.componentIndex = t.componentIndex, r.componentHighDownName = n;
328
+ function We(e, t, r) {
329
+ var n = S(e);
330
+ n.componentMainType = t.mainType, n.componentIndex = t.componentIndex, n.componentHighDownName = r;
326
331
  }
327
- function Ne(e) {
328
- var t = b[e];
329
- return t == null && B <= 32 && (t = b[e] = B++), t;
332
+ function Ze(e) {
333
+ var t = B[e];
334
+ return t == null && x <= 32 && (t = B[e] = x++), t;
330
335
  }
331
- function De(e) {
336
+ function _e(e) {
332
337
  var t = e.type;
333
338
  return t === R || t === ie || t === N;
334
339
  }
335
- function Ue(e) {
340
+ function je(e) {
336
341
  var t = e.type;
337
- return t === re || t === ae;
342
+ return t === ne || t === ae;
338
343
  }
339
- function We(e) {
344
+ function qe(e) {
340
345
  var t = Y(e);
341
346
  t.normalFill = e.style.fill, t.normalStroke = e.style.stroke;
342
- var n = e.states.select || {};
343
- t.selectFill = n.style && n.style.fill || null, t.selectStroke = n.style && n.style.stroke || null;
347
+ var r = e.states.select || {};
348
+ t.selectFill = r.style && r.style.fill || null, t.selectStroke = r.style && r.style.stroke || null;
344
349
  }
345
350
  export {
346
- He as DISPLAY_STATES,
351
+ xe as DISPLAY_STATES,
347
352
  ae as DOWNPLAY_ACTION_TYPE,
348
- re as HIGHLIGHT_ACTION_TYPE,
349
- I as HOVER_STATE_BLUR,
350
- C as HOVER_STATE_EMPHASIS,
353
+ ne as HIGHLIGHT_ACTION_TYPE,
354
+ w as HOVER_STATE_BLUR,
355
+ I as HOVER_STATE_EMPHASIS,
351
356
  O as HOVER_STATE_NORMAL,
352
357
  R as SELECT_ACTION_TYPE,
353
- we as SPECIAL_STATES,
358
+ be as SPECIAL_STATES,
354
359
  N as TOGGLE_SELECT_ACTION_TYPE,
355
360
  ie as UNSELECT_ACTION_TYPE,
356
361
  te as Z2_EMPHASIS_LIFT,
357
- ne as Z2_SELECT_LIFT,
362
+ re as Z2_SELECT_LIFT,
358
363
  de as allLeaveBlur,
359
364
  k as blurComponent,
360
365
  E as blurSeries,
361
- Le as blurSeriesFromHighlightPayload,
366
+ Ge as blurSeriesFromHighlightPayload,
367
+ Ae as clearStates,
362
368
  me as disableHoverEmphasis,
363
- Re as enableComponentHighDownFeatures,
369
+ We as enableComponentHighDownFeatures,
364
370
  pe as enableHoverEmphasis,
365
371
  ye as enableHoverFocus,
366
- Ae as enterBlur,
367
- Be as enterEmphasis,
372
+ ke as enterBlur,
373
+ Le as enterEmphasis,
368
374
  L as enterEmphasisWhenMouseOver,
369
375
  ge as enterSelect,
370
376
  q as findComponentHighDownDispatchers,
371
- Me as getAllSelectedIndices,
372
- Ne as getHighlightDigit,
373
- ke as handleGlobalMouseOutForHighDown,
374
- Pe as handleGlobalMouseOverForHighDown,
375
- Ye as isHighDownDispatcher,
376
- Ue as isHighDownPayload,
377
- De as isSelectChangePayload,
377
+ Ye as getAllSelectedIndices,
378
+ Ze as getHighlightDigit,
379
+ Me as handleGlobalMouseOutForHighDown,
380
+ Fe as handleGlobalMouseOverForHighDown,
381
+ Ue as isHighDownDispatcher,
382
+ je as isHighDownPayload,
383
+ _e as isSelectChangePayload,
378
384
  he as leaveBlur,
379
- be as leaveEmphasis,
385
+ Pe as leaveEmphasis,
380
386
  P as leaveEmphasisWhenMouseOut,
381
387
  Se as leaveSelect,
382
- We as savePathStates,
388
+ qe as savePathStates,
383
389
  J as setAsHighDownDispatcher,
384
390
  ve as setDefaultStateProxy,
385
- xe as setStatesFlag,
386
- ze as setStatesStylesFromModel,
387
- Ve as toggleHoverEmphasis,
388
- Fe as toggleSelectionFromPayload,
389
- Ge as updateSeriesElementSelection
391
+ Be as setStatesFlag,
392
+ Ne as setStatesStylesFromModel,
393
+ Re as toggleHoverEmphasis,
394
+ Ve as toggleSelectionFromPayload,
395
+ ze as updateSeriesElementSelection
390
396
  };
@@ -1,50 +1,55 @@
1
- import { hasOwn as o, each as r } from "../../../zrender/lib/core/util.js";
2
- function g(e, t, l, n) {
3
- return e && (e.legacy || e.legacy !== !1 && !l && !n && t !== "tspan" && (t === "text" || o(e, "text")));
1
+ import { hasOwn as o, each as S } from "../../../zrender/lib/core/util.js";
2
+ function g(e, t, d, n) {
3
+ return e && (e.legacy || e.legacy !== !1 && !d && !n && t !== "tspan" && (t === "text" || o(e, "text")));
4
4
  }
5
- function B(e, t, l) {
6
- var n = e, x, a, d;
5
+ function B(e, t, d) {
6
+ var n = e, l, x, a;
7
7
  if (t === "text")
8
- d = n;
8
+ a = n;
9
9
  else {
10
- d = {}, o(n, "text") && (d.text = n.text), o(n, "rich") && (d.rich = n.rich), o(n, "textFill") && (d.fill = n.textFill), o(n, "textStroke") && (d.stroke = n.textStroke), o(n, "fontFamily") && (d.fontFamily = n.fontFamily), o(n, "fontSize") && (d.fontSize = n.fontSize), o(n, "fontStyle") && (d.fontStyle = n.fontStyle), o(n, "fontWeight") && (d.fontWeight = n.fontWeight), a = {
10
+ a = {}, o(n, "text") && (a.text = n.text), o(n, "rich") && (a.rich = n.rich), o(n, "textFill") && (a.fill = n.textFill), o(n, "textStroke") && (a.stroke = n.textStroke), o(n, "fontFamily") && (a.fontFamily = n.fontFamily), o(n, "fontSize") && (a.fontSize = n.fontSize), o(n, "fontStyle") && (a.fontStyle = n.fontStyle), o(n, "fontWeight") && (a.fontWeight = n.fontWeight), x = {
11
11
  type: "text",
12
- style: d,
12
+ style: a,
13
13
  // ec4 does not support rectText trigger.
14
14
  // And when text position is different in normal and emphasis
15
15
  // => hover text trigger emphasis;
16
16
  // => text position changed, leave mouse pointer immediately;
17
17
  // That might cause incorrect state.
18
18
  silent: !0
19
- }, x = {};
19
+ }, l = {};
20
20
  var i = o(n, "textPosition");
21
- l ? x.position = i ? n.textPosition : "inside" : i && (x.position = n.textPosition), o(n, "textPosition") && (x.position = n.textPosition), o(n, "textOffset") && (x.offset = n.textOffset), o(n, "textRotation") && (x.rotation = n.textRotation), o(n, "textDistance") && (x.distance = n.textDistance);
21
+ d ? l.position = i ? n.textPosition : "inside" : i && (l.position = n.textPosition), o(n, "textPosition") && (l.position = n.textPosition), o(n, "textOffset") && (l.offset = n.textOffset), o(n, "textRotation") && (l.rotation = n.textRotation), o(n, "textDistance") && (l.distance = n.textDistance);
22
22
  }
23
- return s(d, e), r(d.rich, function(f) {
23
+ return s(a, e), S(a.rich, function(f) {
24
24
  s(f, f);
25
25
  }), {
26
- textConfig: x,
27
- textContent: a
26
+ textConfig: l,
27
+ textContent: x
28
28
  };
29
29
  }
30
30
  function s(e, t) {
31
31
  t && (t.font = t.textFont || t.font, o(t, "textStrokeWidth") && (e.lineWidth = t.textStrokeWidth), o(t, "textAlign") && (e.align = t.textAlign), o(t, "textVerticalAlign") && (e.verticalAlign = t.textVerticalAlign), o(t, "textLineHeight") && (e.lineHeight = t.textLineHeight), o(t, "textWidth") && (e.width = t.textWidth), o(t, "textHeight") && (e.height = t.textHeight), o(t, "textBackgroundColor") && (e.backgroundColor = t.textBackgroundColor), o(t, "textPadding") && (e.padding = t.textPadding), o(t, "textBorderColor") && (e.borderColor = t.textBorderColor), o(t, "textBorderWidth") && (e.borderWidth = t.textBorderWidth), o(t, "textBorderRadius") && (e.borderRadius = t.textBorderRadius), o(t, "textBoxShadowColor") && (e.shadowColor = t.textBoxShadowColor), o(t, "textBoxShadowBlur") && (e.shadowBlur = t.textBoxShadowBlur), o(t, "textBoxShadowOffsetX") && (e.shadowOffsetX = t.textBoxShadowOffsetX), o(t, "textBoxShadowOffsetY") && (e.shadowOffsetY = t.textBoxShadowOffsetY));
32
32
  }
33
- function k(e, t, l) {
33
+ function k(e, t, d) {
34
34
  var n = e;
35
- n.textPosition = n.textPosition || l.position || "inside", l.offset != null && (n.textOffset = l.offset), l.rotation != null && (n.textRotation = l.rotation), l.distance != null && (n.textDistance = l.distance);
36
- var x = n.textPosition.indexOf("inside") >= 0, a = e.fill || "#000";
37
- S(n, t);
38
- var d = n.textFill == null;
39
- return x ? d && (n.textFill = l.insideFill || "#fff", !n.textStroke && l.insideStroke && (n.textStroke = l.insideStroke), !n.textStroke && (n.textStroke = a), n.textStrokeWidth == null && (n.textStrokeWidth = 2)) : (d && (n.textFill = e.fill || l.outsideFill || "#000"), !n.textStroke && l.outsideStroke && (n.textStroke = l.outsideStroke)), n.text = t.text, n.rich = t.rich, r(t.rich, function(i) {
40
- S(i, i);
35
+ n.textPosition = n.textPosition || d.position || "inside", d.offset != null && (n.textOffset = d.offset), d.rotation != null && (n.textRotation = d.rotation), d.distance != null && (n.textDistance = d.distance);
36
+ var l = n.textPosition.indexOf("inside") >= 0, x = e.fill || "#000";
37
+ r(n, t);
38
+ var a = n.textFill == null;
39
+ return l ? a && (n.textFill = d.insideFill || "#fff", !n.textStroke && d.insideStroke && (n.textStroke = d.insideStroke), !n.textStroke && (n.textStroke = x), n.textStrokeWidth == null && (n.textStrokeWidth = 2)) : (a && (n.textFill = e.fill || d.outsideFill || "#000"), !n.textStroke && d.outsideStroke && (n.textStroke = d.outsideStroke)), n.text = t.text, n.rich = t.rich, S(t.rich, function(i) {
40
+ r(i, i);
41
41
  }), n;
42
42
  }
43
- function S(e, t) {
43
+ function r(e, t) {
44
44
  t && (o(t, "fill") && (e.textFill = t.fill), o(t, "stroke") && (e.textStroke = t.fill), o(t, "lineWidth") && (e.textStrokeWidth = t.lineWidth), o(t, "font") && (e.font = t.font), o(t, "fontStyle") && (e.fontStyle = t.fontStyle), o(t, "fontWeight") && (e.fontWeight = t.fontWeight), o(t, "fontSize") && (e.fontSize = t.fontSize), o(t, "fontFamily") && (e.fontFamily = t.fontFamily), o(t, "align") && (e.textAlign = t.align), o(t, "verticalAlign") && (e.textVerticalAlign = t.verticalAlign), o(t, "lineHeight") && (e.textLineHeight = t.lineHeight), o(t, "width") && (e.textWidth = t.width), o(t, "height") && (e.textHeight = t.height), o(t, "backgroundColor") && (e.textBackgroundColor = t.backgroundColor), o(t, "padding") && (e.textPadding = t.padding), o(t, "borderColor") && (e.textBorderColor = t.borderColor), o(t, "borderWidth") && (e.textBorderWidth = t.borderWidth), o(t, "borderRadius") && (e.textBorderRadius = t.borderRadius), o(t, "shadowColor") && (e.textBoxShadowColor = t.shadowColor), o(t, "shadowBlur") && (e.textBoxShadowBlur = t.shadowBlur), o(t, "shadowOffsetX") && (e.textBoxShadowOffsetX = t.shadowOffsetX), o(t, "shadowOffsetY") && (e.textBoxShadowOffsetY = t.shadowOffsetY), o(t, "textShadowColor") && (e.textShadowColor = t.textShadowColor), o(t, "textShadowBlur") && (e.textShadowBlur = t.textShadowBlur), o(t, "textShadowOffsetX") && (e.textShadowOffsetX = t.textShadowOffsetX), o(t, "textShadowOffsetY") && (e.textShadowOffsetY = t.textShadowOffsetY));
45
45
  }
46
+ function p(e, t) {
47
+ if (0)
48
+ var d;
49
+ }
46
50
  export {
47
51
  B as convertFromEC4CompatibleStyle,
48
52
  k as convertToEC4StyleForCustomSerise,
49
- g as isEC4CompatibleStyle
53
+ g as isEC4CompatibleStyle,
54
+ p as warnDeprecated
50
55
  };
@@ -1,4 +1,4 @@
1
- import { isArray as y, retrieve2 as M, each as C } from "../../../zrender/lib/core/util.js";
1
+ import { each as M, isArray as y, retrieve2 as C } from "../../../zrender/lib/core/util.js";
2
2
  import { makeImage as k, makePath as R } from "./graphic.js";
3
3
  import P from "../../../zrender/lib/core/BoundingRect.js";
4
4
  import { calculateTextPosition as B } from "../../../zrender/lib/contain/text.js";
@@ -96,7 +96,7 @@ var E = h.extend({
96
96
  t.cx = i + r / 2, t.cy = n + e / 2, t.width = r, t.height = e;
97
97
  }
98
98
  }, g = {};
99
- C(A, function(i, n) {
99
+ M(A, function(i, n) {
100
100
  g[n] = new i();
101
101
  });
102
102
  var W = h.extend({
@@ -145,7 +145,7 @@ function V(i) {
145
145
  }
146
146
  function Z(i, n) {
147
147
  if (i != null)
148
- return y(i) || (i = [i, i]), [T(i[0], n[0]) || 0, T(M(i[1], i[0]), n[1]) || 0];
148
+ return y(i) || (i = [i, i]), [T(i[0], n[0]) || 0, T(C(i[1], i[0]), n[1]) || 0];
149
149
  }
150
150
  export {
151
151
  U as createSymbol,