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,156 +1,156 @@
1
- import { each as f, indexOf as d, createHashMap as N, curry as v, map as l } from "../../../../zrender/lib/core/util.js";
2
- import { getTransform as P } from "../../util/graphic.js";
3
- import { makeLinearBrushOtherExtent as _, makeRectIsTargetByCursor as B, makeRectPanelClipPath as L } from "./brushHelper.js";
4
- import { parseFinder as D } from "../../util/model.js";
5
- var R = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"], X = (
1
+ import { each as c, indexOf as d, curry as l, map as v, createHashMap as b } from "../../../../zrender/lib/core/util.js";
2
+ import { getTransform as N } from "../../util/graphic.js";
3
+ import { makeLinearBrushOtherExtent as P, makeRectIsTargetByCursor as _, makeRectPanelClipPath as R } from "./brushHelper.js";
4
+ import { parseFinder as B } from "../../util/model.js";
5
+ var L = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"], w = (
6
6
  /** @class */
7
7
  (function() {
8
- function i(e, n, t) {
8
+ function e(i, n, t) {
9
9
  var r = this;
10
10
  this._targetInfoList = [];
11
- var s = x(n, e);
12
- f(b, function(o, a) {
11
+ var s = x(n, i);
12
+ c(D, function(o, a) {
13
13
  (!t || !t.include || d(t.include, a) >= 0) && o(s, r._targetInfoList);
14
14
  });
15
15
  }
16
- return i.prototype.setOutputRanges = function(e, n) {
17
- return this.matchOutputRanges(e, n, function(t, r, s) {
16
+ return e.prototype.setOutputRanges = function(i, n) {
17
+ return this.matchOutputRanges(i, n, function(t, r, s) {
18
18
  if ((t.coordRanges || (t.coordRanges = [])).push(r), !t.coordRange) {
19
19
  t.coordRange = r;
20
- var o = g[t.brushType](0, s, r);
20
+ var o = y[t.brushType](0, s, r);
21
21
  t.__rangeOffset = {
22
- offset: I[t.brushType](o.values, t.range, [1, 1]),
22
+ offset: T[t.brushType](o.values, t.range, [1, 1]),
23
23
  xyMinMax: o.xyMinMax
24
24
  };
25
25
  }
26
- }), e;
27
- }, i.prototype.matchOutputRanges = function(e, n, t) {
28
- f(e, function(r) {
26
+ }), i;
27
+ }, e.prototype.matchOutputRanges = function(i, n, t) {
28
+ c(i, function(r) {
29
29
  var s = this.findTargetInfo(r, n);
30
- s && s !== !0 && f(s.coordSyses, function(o) {
31
- var a = g[r.brushType](1, o, r.range, !0);
30
+ s && s !== !0 && c(s.coordSyses, function(o) {
31
+ var a = y[r.brushType](1, o, r.range, !0);
32
32
  t(r, a.values, o, n);
33
33
  });
34
34
  }, this);
35
- }, i.prototype.setInputRanges = function(e, n) {
36
- f(e, function(t) {
35
+ }, e.prototype.setInputRanges = function(i, n) {
36
+ c(i, function(t) {
37
37
  var r = this.findTargetInfo(t, n);
38
38
  if (t.range = t.range || [], r && r !== !0) {
39
39
  t.panelId = r.panelId;
40
- var s = g[t.brushType](0, r.coordSys, t.coordRange), o = t.__rangeOffset;
41
- t.range = o ? I[t.brushType](s.values, o.offset, E(s.xyMinMax, o.xyMinMax)) : s.values;
40
+ var s = y[t.brushType](0, r.coordSys, t.coordRange), o = t.__rangeOffset;
41
+ t.range = o ? T[t.brushType](s.values, o.offset, E(s.xyMinMax, o.xyMinMax)) : s.values;
42
42
  }
43
43
  }, this);
44
- }, i.prototype.makePanelOpts = function(e, n) {
45
- return l(this._targetInfoList, function(t) {
44
+ }, e.prototype.makePanelOpts = function(i, n) {
45
+ return v(this._targetInfoList, function(t) {
46
46
  var r = t.getPanelRect();
47
47
  return {
48
48
  panelId: t.panelId,
49
49
  defaultBrushType: n ? n(t) : null,
50
- clipPath: L(r),
51
- isTargetByCursor: B(r, e, t.coordSysModel),
52
- getLinearBrushOtherExtent: _(r)
50
+ clipPath: R(r),
51
+ isTargetByCursor: _(r, i, t.coordSysModel),
52
+ getLinearBrushOtherExtent: P(r)
53
53
  };
54
54
  });
55
- }, i.prototype.controlSeries = function(e, n, t) {
56
- var r = this.findTargetInfo(e, t);
55
+ }, e.prototype.controlSeries = function(i, n, t) {
56
+ var r = this.findTargetInfo(i, t);
57
57
  return r === !0 || r && d(r.coordSyses, n.coordinateSystem) >= 0;
58
- }, i.prototype.findTargetInfo = function(e, n) {
59
- for (var t = this._targetInfoList, r = x(n, e), s = 0; s < t.length; s++) {
60
- var o = t[s], a = e.panelId;
58
+ }, e.prototype.findTargetInfo = function(i, n) {
59
+ for (var t = this._targetInfoList, r = x(n, i), s = 0; s < t.length; s++) {
60
+ var o = t[s], a = i.panelId;
61
61
  if (a) {
62
62
  if (o.panelId === a)
63
63
  return o;
64
64
  } else
65
- for (var u = 0; u < M.length; u++)
66
- if (M[u](r, o))
65
+ for (var u = 0; u < m.length; u++)
66
+ if (m[u](r, o))
67
67
  return o;
68
68
  }
69
69
  return !0;
70
- }, i;
70
+ }, e;
71
71
  })()
72
72
  );
73
- function h(i) {
74
- return i[0] > i[1] && i.reverse(), i;
73
+ function h(e) {
74
+ return e[0] > e[1] && e.reverse(), e;
75
75
  }
76
- function x(i, e) {
77
- return D(i, e, {
78
- includeMainTypes: R
76
+ function x(e, i) {
77
+ return B(e, i, {
78
+ includeMainTypes: L
79
79
  });
80
80
  }
81
- var b = {
82
- grid: function(i, e) {
83
- var n = i.xAxisModels, t = i.yAxisModels, r = i.gridModels, s = N(), o = {}, a = {};
84
- !n && !t && !r || (f(n, function(u) {
85
- var c = u.axis.grid.model;
86
- s.set(c.id, c), o[c.id] = !0;
87
- }), f(t, function(u) {
88
- var c = u.axis.grid.model;
89
- s.set(c.id, c), a[c.id] = !0;
90
- }), f(r, function(u) {
81
+ var D = {
82
+ grid: function(e, i) {
83
+ var n = e.xAxisModels, t = e.yAxisModels, r = e.gridModels, s = b(), o = {}, a = {};
84
+ !n && !t && !r || (c(n, function(u) {
85
+ var f = u.axis.grid.model;
86
+ s.set(f.id, f), o[f.id] = !0;
87
+ }), c(t, function(u) {
88
+ var f = u.axis.grid.model;
89
+ s.set(f.id, f), a[f.id] = !0;
90
+ }), c(r, function(u) {
91
91
  s.set(u.id, u), o[u.id] = !0, a[u.id] = !0;
92
92
  }), s.each(function(u) {
93
- var c = u.coordinateSystem, p = [];
94
- f(c.getCartesians(), function(y, k) {
95
- (d(n, y.getAxis("x").model) >= 0 || d(t, y.getAxis("y").model) >= 0) && p.push(y);
96
- }), e.push({
93
+ var f = u.coordinateSystem, p = [];
94
+ c(f.getCartesians(), function(g, k) {
95
+ (d(n, g.getAxis("x").model) >= 0 || d(t, g.getAxis("y").model) >= 0) && p.push(g);
96
+ }), i.push({
97
97
  panelId: "grid--" + u.id,
98
98
  gridModel: u,
99
99
  coordSysModel: u,
100
100
  // Use the first one as the representitive coordSys.
101
101
  coordSys: p[0],
102
102
  coordSyses: p,
103
- getPanelRect: m.grid,
103
+ getPanelRect: M.grid,
104
104
  xAxisDeclared: o[u.id],
105
105
  yAxisDeclared: a[u.id]
106
106
  });
107
107
  }));
108
108
  },
109
- geo: function(i, e) {
110
- f(i.geoModels, function(n) {
109
+ geo: function(e, i) {
110
+ c(e.geoModels, function(n) {
111
111
  var t = n.coordinateSystem;
112
- e.push({
112
+ i.push({
113
113
  panelId: "geo--" + n.id,
114
114
  geoModel: n,
115
115
  coordSysModel: n,
116
116
  coordSys: t,
117
117
  coordSyses: [t],
118
- getPanelRect: m.geo
118
+ getPanelRect: M.geo
119
119
  });
120
120
  });
121
121
  }
122
- }, M = [
122
+ }, m = [
123
123
  // grid
124
- function(i, e) {
125
- var n = i.xAxisModel, t = i.yAxisModel, r = i.gridModel;
126
- return !r && n && (r = n.axis.grid.model), !r && t && (r = t.axis.grid.model), r && r === e.gridModel;
124
+ function(e, i) {
125
+ var n = e.xAxisModel, t = e.yAxisModel, r = e.gridModel;
126
+ return !r && n && (r = n.axis.grid.model), !r && t && (r = t.axis.grid.model), r && r === i.gridModel;
127
127
  },
128
128
  // geo
129
- function(i, e) {
130
- var n = i.geoModel;
131
- return n && n === e.geoModel;
129
+ function(e, i) {
130
+ var n = e.geoModel;
131
+ return n && n === i.geoModel;
132
132
  }
133
- ], m = {
133
+ ], M = {
134
134
  grid: function() {
135
135
  return this.coordSys.master.getRect().clone();
136
136
  },
137
137
  geo: function() {
138
- var i = this.coordSys, e = i.getBoundingRect().clone();
139
- return e.applyTransform(P(i)), e;
138
+ var e = this.coordSys, i = e.getBoundingRect().clone();
139
+ return i.applyTransform(N(e)), i;
140
140
  }
141
- }, g = {
142
- lineX: v(T, 0),
143
- lineY: v(T, 1),
144
- rect: function(i, e, n, t) {
145
- var r = i ? e.pointToData([n[0][0], n[1][0]], t) : e.dataToPoint([n[0][0], n[1][0]], t), s = i ? e.pointToData([n[0][1], n[1][1]], t) : e.dataToPoint([n[0][1], n[1][1]], t), o = [h([r[0], s[0]]), h([r[1], s[1]])];
141
+ }, y = {
142
+ lineX: l(I, 0),
143
+ lineY: l(I, 1),
144
+ rect: function(e, i, n, t) {
145
+ var r = e ? i.pointToData([n[0][0], n[1][0]], t) : i.dataToPoint([n[0][0], n[1][0]], t), s = e ? i.pointToData([n[0][1], n[1][1]], t) : i.dataToPoint([n[0][1], n[1][1]], t), o = [h([r[0], s[0]]), h([r[1], s[1]])];
146
146
  return {
147
147
  values: o,
148
148
  xyMinMax: o
149
149
  };
150
150
  },
151
- polygon: function(i, e, n, t) {
152
- var r = [[1 / 0, -1 / 0], [1 / 0, -1 / 0]], s = l(n, function(o) {
153
- var a = i ? e.pointToData(o, t) : e.dataToPoint(o, t);
151
+ polygon: function(e, i, n, t) {
152
+ var r = [[1 / 0, -1 / 0], [1 / 0, -1 / 0]], s = v(n, function(o) {
153
+ var a = e ? i.pointToData(o, t) : i.dataToPoint(o, t);
154
154
  return r[0][0] = Math.min(r[0][0], a[0]), r[1][0] = Math.min(r[1][0], a[1]), r[0][1] = Math.max(r[0][1], a[0]), r[1][1] = Math.max(r[1][1], a[1]), a;
155
155
  });
156
156
  return {
@@ -159,37 +159,37 @@ var b = {
159
159
  };
160
160
  }
161
161
  };
162
- function T(i, e, n, t) {
163
- var r = n.getAxis(["x", "y"][i]), s = h(l([0, 1], function(a) {
164
- return e ? r.coordToData(r.toLocalCoord(t[a]), !0) : r.toGlobalCoord(r.dataToCoord(t[a]));
162
+ function I(e, i, n, t) {
163
+ var r = n.getAxis(["x", "y"][e]), s = h(v([0, 1], function(a) {
164
+ return i ? r.coordToData(r.toLocalCoord(t[a]), !0) : r.toGlobalCoord(r.dataToCoord(t[a]));
165
165
  })), o = [];
166
- return o[i] = s, o[1 - i] = [NaN, NaN], {
166
+ return o[e] = s, o[1 - e] = [NaN, NaN], {
167
167
  values: s,
168
168
  xyMinMax: o
169
169
  };
170
170
  }
171
- var I = {
172
- lineX: v(A, 0),
173
- lineY: v(A, 1),
174
- rect: function(i, e, n) {
175
- return [[i[0][0] - n[0] * e[0][0], i[0][1] - n[0] * e[0][1]], [i[1][0] - n[1] * e[1][0], i[1][1] - n[1] * e[1][1]]];
171
+ var T = {
172
+ lineX: l(A, 0),
173
+ lineY: l(A, 1),
174
+ rect: function(e, i, n) {
175
+ return [[e[0][0] - n[0] * i[0][0], e[0][1] - n[0] * i[0][1]], [e[1][0] - n[1] * i[1][0], e[1][1] - n[1] * i[1][1]]];
176
176
  },
177
- polygon: function(i, e, n) {
178
- return l(i, function(t, r) {
179
- return [t[0] - n[0] * e[r][0], t[1] - n[1] * e[r][1]];
177
+ polygon: function(e, i, n) {
178
+ return v(e, function(t, r) {
179
+ return [t[0] - n[0] * i[r][0], t[1] - n[1] * i[r][1]];
180
180
  });
181
181
  }
182
182
  };
183
- function A(i, e, n, t) {
184
- return [e[0] - t[i] * n[0], e[1] - t[i] * n[1]];
183
+ function A(e, i, n, t) {
184
+ return [i[0] - t[e] * n[0], i[1] - t[e] * n[1]];
185
185
  }
186
- function E(i, e) {
187
- var n = S(i), t = S(e), r = [n[0] / t[0], n[1] / t[1]];
186
+ function E(e, i) {
187
+ var n = S(e), t = S(i), r = [n[0] / t[0], n[1] / t[1]];
188
188
  return isNaN(r[0]) && (r[0] = 1), isNaN(r[1]) && (r[1] = 1), r;
189
189
  }
190
- function S(i) {
191
- return i ? [i[0][1] - i[0][0], i[1][1] - i[1][0]] : [NaN, NaN];
190
+ function S(e) {
191
+ return e ? [e[0][1] - e[0][0], e[1][1] - e[1][0]] : [NaN, NaN];
192
192
  }
193
193
  export {
194
- X as default
194
+ w as default
195
195
  };
@@ -12,10 +12,10 @@ import { createOrUpdatePatternFromDecal as oe } from "../../util/decal.js";
12
12
  import F from "../../../../zrender/lib/graphic/Displayable.js";
13
13
  import { makeInner as re } from "../../util/model.js";
14
14
  import D from "../../../../zrender/lib/graphic/Group.js";
15
- import ae from "../../../../zrender/lib/graphic/shape/Polygon.js";
16
- import ne from "../../../../zrender/lib/graphic/shape/Polyline.js";
17
- import ie from "../../../../zrender/lib/graphic/CompoundPath.js";
18
- import { updateProps as se } from "../../animation/basicTransition.js";
15
+ import { updateProps as ae } from "../../animation/basicTransition.js";
16
+ import ne from "../../../../zrender/lib/graphic/shape/Polygon.js";
17
+ import ie from "../../../../zrender/lib/graphic/shape/Polyline.js";
18
+ import se from "../../../../zrender/lib/graphic/CompoundPath.js";
19
19
  var b = ["rect", "circle", "line", "ellipse", "polygon", "polyline", "path"], le = G(b), ue = G(b.concat(["g"])), fe = G(b.concat(["g"])), X = re();
20
20
  function I(u) {
21
21
  var e = u.getItemStyle(), t = u.get("areaColor");
@@ -43,7 +43,7 @@ var Ne = (
43
43
  !n && h.getHostGeoModel() === e && (n = h.getData());
44
44
  });
45
45
  var f = e.coordinateSystem, a = this._regionsGroup, c = this.group, g = f.getTransformInfo(), v = g.raw, s = g.roam, p = !a.childAt(0) || r;
46
- p ? (c.x = s.x, c.y = s.y, c.scaleX = s.scaleX, c.scaleY = s.scaleY, c.dirty()) : se(c, s, e);
46
+ p ? (c.x = s.x, c.y = s.y, c.scaleX = s.scaleX, c.scaleY = s.scaleY, c.dirty()) : ae(c, s, e);
47
47
  var m = n && n.getVisual("visualMeta") && n.getVisual("visualMeta").length > 0, d = {
48
48
  api: o,
49
49
  geo: f,
@@ -88,19 +88,19 @@ var Ne = (
88
88
  if (_.type === "polygon") {
89
89
  var M = [_.exterior].concat(_.interiors || []);
90
90
  a && (M = j(M, a)), S(M, function(R) {
91
- N.push(new ae(v(R)));
91
+ N.push(new ne(v(R)));
92
92
  });
93
93
  } else {
94
94
  var y = _.points;
95
95
  a && (y = j(y, a, !0)), S(y, function(R) {
96
- P.push(new ne(v(R)));
96
+ P.push(new ie(v(R)));
97
97
  });
98
98
  }
99
99
  });
100
100
  var J = c(s.getCenter(), f && f.project);
101
101
  function E(_, M) {
102
102
  if (_.length) {
103
- var y = new ie({
103
+ var y = new se({
104
104
  culling: !0,
105
105
  segmentIgnoreThreshold: 1,
106
106
  shape: {
@@ -1,12 +1,13 @@
1
- import { getLayoutRect as d, box as y, positionElement as o } from "../../util/layout.js";
1
+ import { getLayoutRect as d, box as o, positionElement as y } from "../../util/layout.js";
2
2
  import { normalizeCssArray as s } from "../../util/format.js";
3
+ import "../../util/graphic.js";
3
4
  import u from "../../../../zrender/lib/graphic/shape/Rect.js";
4
5
  function w(t, i, a) {
5
6
  var r = i.getBoxLayoutParams(), e = i.get("padding"), g = {
6
7
  width: a.getWidth(),
7
8
  height: a.getHeight()
8
9
  }, h = d(r, g, e);
9
- y(i.get("orient"), t, i.get("itemGap"), h.width, h.height), o(t, r, g, e);
10
+ o(i.get("orient"), t, i.get("itemGap"), h.width, h.height), y(t, r, g, e);
10
11
  }
11
12
  function x(t, i) {
12
13
  var a = s(i.get("padding")), r = i.getItemStyle(["color", "opacity"]);
@@ -1,5 +1,5 @@
1
1
  import { __extends as g } from "../../../../tslib/tslib.es6.js";
2
- import { isArray as v, each as s, merge as y, isString as p, createHashMap as m, map as b, isNumber as S, filter as M, indexOf as _ } from "../../../../zrender/lib/core/util.js";
2
+ import { isArray as v, each as s, isString as p, merge as y, createHashMap as m, map as b, isNumber as S, filter as M, indexOf as _ } from "../../../../zrender/lib/core/util.js";
3
3
  import w from "../../model/Model.js";
4
4
  import { isNameSpecified as O } from "../../util/model.js";
5
5
  import C from "../../model/Component.js";
@@ -1,5 +1,5 @@
1
1
  import { __extends as X } from "../../../../tslib/tslib.es6.js";
2
- import { defaults as j, createHashMap as q, each as J, curry as Q, extend as P, isFunction as E, isString as Y } from "../../../../zrender/lib/core/util.js";
2
+ import { curry as j, each as q, defaults as J, createHashMap as Q, extend as P, isFunction as E, isString as Y } from "../../../../zrender/lib/core/util.js";
3
3
  import { parse as N, stringify as M } from "../../../../zrender/lib/tool/color.js";
4
4
  import { setTooltipConfig as tt } from "../../util/graphic.js";
5
5
  import { enableHoverEmphasis as I } from "../../util/states.js";
@@ -13,7 +13,7 @@ import { getECData as K } from "../../util/innerStore.js";
13
13
  import st from "../../../../zrender/lib/graphic/Group.js";
14
14
  import $ from "../../../../zrender/lib/graphic/Text.js";
15
15
  import lt from "../../../../zrender/lib/graphic/shape/Rect.js";
16
- var R = Q, H = J, B = st, Rt = (
16
+ var R = j, H = q, B = st, Lt = (
17
17
  /** @class */
18
18
  (function(a) {
19
19
  X(r, a);
@@ -27,27 +27,27 @@ var R = Q, H = J, B = st, Rt = (
27
27
  return this._contentGroup;
28
28
  }, r.prototype.getSelectorGroup = function() {
29
29
  return this._selectorGroup;
30
- }, r.prototype.render = function(t, e, u) {
30
+ }, r.prototype.render = function(t, e, h) {
31
31
  var c = this._isFirstRender;
32
32
  if (this._isFirstRender = !1, this.resetInner(), !!t.get("show", !0)) {
33
33
  var f = t.get("align"), m = t.get("orient");
34
34
  (!f || f === "auto") && (f = t.get("left") === "right" && m === "vertical" ? "right" : "left");
35
35
  var v = t.get("selector", !0), i = t.get("selectorPosition", !0);
36
- v && (!i || i === "auto") && (i = m === "horizontal" ? "end" : "start"), this.renderInner(f, t, e, u, v, m, i);
37
- var s = t.getBoxLayoutParams(), h = {
38
- width: u.getWidth(),
39
- height: u.getHeight()
40
- }, o = t.get("padding"), l = V(s, h, o), g = this.layoutInner(t, f, l, c, v, i), n = V(j({
36
+ v && (!i || i === "auto") && (i = m === "horizontal" ? "end" : "start"), this.renderInner(f, t, e, h, v, m, i);
37
+ var s = t.getBoxLayoutParams(), u = {
38
+ width: h.getWidth(),
39
+ height: h.getHeight()
40
+ }, o = t.get("padding"), l = V(s, u, o), g = this.layoutInner(t, f, l, c, v, i), n = V(J({
41
41
  width: g.width,
42
42
  height: g.height
43
- }, s), h, o);
43
+ }, s), u, o);
44
44
  this.group.x = n.x - g.x, this.group.y = n.y - g.y, this.group.markRedraw(), this.group.add(this._backgroundEl = rt(g, t));
45
45
  }
46
46
  }, r.prototype.resetInner = function() {
47
47
  this.getContentGroup().removeAll(), this._backgroundEl && this.group.remove(this._backgroundEl), this.getSelectorGroup().removeAll();
48
- }, r.prototype.renderInner = function(t, e, u, c, f, m, v) {
49
- var i = this.getContentGroup(), s = q(), h = e.get("selectedMode"), o = [];
50
- u.eachRawSeries(function(l) {
48
+ }, r.prototype.renderInner = function(t, e, h, c, f, m, v) {
49
+ var i = this.getContentGroup(), s = Q(), u = e.get("selectedMode"), o = [];
50
+ h.eachRawSeries(function(l) {
51
51
  !l.get("legendHoverLink") && o.push(l.id);
52
52
  }), H(e.getData(), function(l, g) {
53
53
  var n = l.get("name");
@@ -57,16 +57,16 @@ var R = Q, H = J, B = st, Rt = (
57
57
  y.newline = !0, i.add(y);
58
58
  return;
59
59
  }
60
- var p = u.getSeriesByName(n)[0];
60
+ var p = h.getSeriesByName(n)[0];
61
61
  if (!s.get(n))
62
62
  if (p) {
63
- var x = p.getData(), d = x.getVisual("legendLineStyle") || {}, L = x.getVisual("legendIcon"), S = x.getVisual("style"), _ = this._createItem(p, n, g, l, e, t, d, S, L, h, c);
64
- _.on("click", R(U, n, null, c, o)).on("mouseover", R(F, p.name, null, c, o)).on("mouseout", R(O, p.name, null, c, o)), u.ssr && _.eachChild(function(k) {
63
+ var x = p.getData(), d = x.getVisual("legendLineStyle") || {}, G = x.getVisual("legendIcon"), S = x.getVisual("style"), _ = this._createItem(p, n, g, l, e, t, d, S, G, u, c);
64
+ _.on("click", R(U, n, null, c, o)).on("mouseover", R(F, p.name, null, c, o)).on("mouseout", R(O, p.name, null, c, o)), h.ssr && _.eachChild(function(k) {
65
65
  var w = K(k);
66
66
  w.seriesIndex = p.seriesIndex, w.dataIndex = g, w.ssrType = "legend";
67
67
  }), s.set(n, !0);
68
68
  } else
69
- u.eachRawSeries(function(k) {
69
+ h.eachRawSeries(function(k) {
70
70
  if (!s.get(n) && k.legendVisualProvider) {
71
71
  var w = k.legendVisualProvider;
72
72
  if (!w.containName(n))
@@ -75,18 +75,18 @@ var R = Q, H = J, B = st, Rt = (
75
75
  C && C[3] === 0 && (C[3] = 0.2, b = P(P({}, b), {
76
76
  fill: M(C, "rgba")
77
77
  }));
78
- var G = this._createItem(k, n, g, l, e, t, {}, b, D, h, c);
79
- G.on("click", R(U, null, n, c, o)).on("mouseover", R(F, null, n, c, o)).on("mouseout", R(O, null, n, c, o)), u.ssr && G.eachChild(function(T) {
78
+ var L = this._createItem(k, n, g, l, e, t, {}, b, D, u, c);
79
+ L.on("click", R(U, null, n, c, o)).on("mouseover", R(F, null, n, c, o)).on("mouseout", R(O, null, n, c, o)), h.ssr && L.eachChild(function(T) {
80
80
  var W = K(T);
81
81
  W.seriesIndex = k.seriesIndex, W.dataIndex = g, W.ssrType = "legend";
82
82
  }), s.set(n, !0);
83
83
  }
84
84
  }, this);
85
85
  }, this), f && this._createSelector(f, e, c, m, v);
86
- }, r.prototype._createSelector = function(t, e, u, c, f) {
86
+ }, r.prototype._createSelector = function(t, e, h, c, f) {
87
87
  var m = this.getSelectorGroup();
88
88
  H(t, function(i) {
89
- var s = i.type, h = new $({
89
+ var s = i.type, u = new $({
90
90
  style: {
91
91
  x: 0,
92
92
  y: 0,
@@ -94,43 +94,44 @@ var R = Q, H = J, B = st, Rt = (
94
94
  verticalAlign: "middle"
95
95
  },
96
96
  onclick: function() {
97
- u.dispatchAction({
97
+ h.dispatchAction({
98
98
  type: s === "all" ? "legendAllSelect" : "legendInverseSelect",
99
99
  legendId: e.id
100
100
  });
101
101
  }
102
102
  });
103
- m.add(h);
103
+ m.add(u);
104
104
  var o = e.getModel("selectorLabel"), l = e.getModel(["emphasis", "selectorLabel"]);
105
- et(h, {
105
+ et(u, {
106
106
  normal: o,
107
107
  emphasis: l
108
108
  }, {
109
109
  defaultText: i.title
110
- }), I(h);
110
+ }), I(u);
111
111
  });
112
- }, r.prototype._createItem = function(t, e, u, c, f, m, v, i, s, h, o) {
112
+ }, r.prototype._createItem = function(t, e, h, c, f, m, v, i, s, u, o) {
113
113
  var l = t.visualDrawType, g = f.get("itemWidth"), n = f.get("itemHeight"), y = f.isSelected(e), p = c.get("symbolRotate"), x = c.get("symbolKeepAspect"), d = c.get("icon");
114
114
  s = d || s || "roundRect";
115
- var L = ct(s, c, v, i, l, y, o), S = new B(), _ = c.getModel("textStyle");
115
+ var G = ct(s, c, v, i, l, y, o), S = new B(), _ = c.getModel("textStyle");
116
116
  if (E(t.getLegendIcon) && (!d || d === "inherit"))
117
117
  S.add(t.getLegendIcon({
118
118
  itemWidth: g,
119
119
  itemHeight: n,
120
120
  icon: s,
121
121
  iconRotate: p,
122
- itemStyle: L.itemStyle,
123
- lineStyle: L.lineStyle,
122
+ itemStyle: G.itemStyle,
123
+ lineStyle: G.lineStyle,
124
124
  symbolKeepAspect: x
125
125
  }));
126
126
  else {
127
127
  var k = d === "inherit" && t.getData().getVisual("symbol") ? p === "inherit" ? t.getData().getVisual("symbolRotate") : p : 0;
128
- S.add(ut({
128
+ S.add(ht({
129
129
  itemWidth: g,
130
130
  itemHeight: n,
131
131
  icon: s,
132
132
  iconRotate: k,
133
- itemStyle: L.itemStyle,
133
+ itemStyle: G.itemStyle,
134
+ lineStyle: G.lineStyle,
134
135
  symbolKeepAspect: x
135
136
  }));
136
137
  }
@@ -149,7 +150,7 @@ var R = Q, H = J, B = st, Rt = (
149
150
  inheritColor: C
150
151
  })
151
152
  }));
152
- var G = new lt({
153
+ var L = new lt({
153
154
  shape: S.getBoundingRect(),
154
155
  style: {
155
156
  // Cannot use 'invisible' because SVG SSR will miss the node
@@ -157,17 +158,17 @@ var R = Q, H = J, B = st, Rt = (
157
158
  }
158
159
  }), T = c.getModel("tooltip");
159
160
  return T.get("show") && tt({
160
- el: G,
161
+ el: L,
161
162
  componentModel: f,
162
163
  itemName: e,
163
164
  itemTooltipOption: T.option
164
- }), S.add(G), S.eachChild(function(W) {
165
+ }), S.add(L), S.eachChild(function(W) {
165
166
  W.silent = !0;
166
- }), G.silent = !h, this.getContentGroup().add(S), I(S), S.__legendDataIndex = u, S;
167
- }, r.prototype.layoutInner = function(t, e, u, c, f, m) {
167
+ }), L.silent = !u, this.getContentGroup().add(S), I(S), S.__legendDataIndex = h, S;
168
+ }, r.prototype.layoutInner = function(t, e, h, c, f, m) {
168
169
  var v = this.getContentGroup(), i = this.getSelectorGroup();
169
- z(t.get("orient"), v, t.get("itemGap"), u.width, u.height);
170
- var s = v.getBoundingRect(), h = [-s.x, -s.y];
170
+ z(t.get("orient"), v, t.get("itemGap"), h.width, h.height);
171
+ var s = v.getBoundingRect(), u = [-s.x, -s.y];
171
172
  if (i.markRedraw(), v.markRedraw(), f) {
172
173
  z(
173
174
  // Buttons in selectorGroup always layout horizontally
@@ -176,27 +177,27 @@ var R = Q, H = J, B = st, Rt = (
176
177
  t.get("selectorItemGap", !0)
177
178
  );
178
179
  var o = i.getBoundingRect(), l = [-o.x, -o.y], g = t.get("selectorButtonGap", !0), n = t.getOrient().index, y = n === 0 ? "width" : "height", p = n === 0 ? "height" : "width", x = n === 0 ? "y" : "x";
179
- m === "end" ? l[n] += s[y] + g : h[n] += o[y] + g, l[1 - n] += s[p] / 2 - o[p] / 2, i.x = l[0], i.y = l[1], v.x = h[0], v.y = h[1];
180
+ m === "end" ? l[n] += s[y] + g : u[n] += o[y] + g, l[1 - n] += s[p] / 2 - o[p] / 2, i.x = l[0], i.y = l[1], v.x = u[0], v.y = u[1];
180
181
  var d = {
181
182
  x: 0,
182
183
  y: 0
183
184
  };
184
185
  return d[y] = s[y] + g + o[y], d[p] = Math.max(s[p], o[p]), d[x] = Math.min(0, o[x] + l[1 - n]), d;
185
186
  } else
186
- return v.x = h[0], v.y = h[1], this.group.getBoundingRect();
187
+ return v.x = u[0], v.y = u[1], this.group.getBoundingRect();
187
188
  }, r.prototype.remove = function() {
188
189
  this.getContentGroup().removeAll(), this._isFirstRender = !0;
189
190
  }, r.type = "legend.plain", r;
190
191
  })(nt)
191
192
  );
192
- function ct(a, r, t, e, u, c, f) {
193
+ function ct(a, r, t, e, h, c, f) {
193
194
  function m(y, p) {
194
195
  y.lineWidth === "auto" && (y.lineWidth = p.lineWidth > 0 ? 2 : 0), H(y, function(x, d) {
195
196
  y[d] === "inherit" && (y[d] = p[d]);
196
197
  });
197
198
  }
198
- var v = r.getModel("itemStyle"), i = v.getItemStyle(), s = a.lastIndexOf("empty", 0) === 0 ? "fill" : "stroke", h = v.getShallow("decal");
199
- i.decal = !h || h === "inherit" ? e.decal : ot(h, f), i.fill === "inherit" && (i.fill = e[u]), i.stroke === "inherit" && (i.stroke = e[s]), i.opacity === "inherit" && (i.opacity = (u === "fill" ? e : t).opacity), m(i, e);
199
+ var v = r.getModel("itemStyle"), i = v.getItemStyle(), s = a.lastIndexOf("empty", 0) === 0 ? "fill" : "stroke", u = v.getShallow("decal");
200
+ i.decal = !u || u === "inherit" ? e.decal : ot(u, f), i.fill === "inherit" && (i.fill = e[h]), i.stroke === "inherit" && (i.stroke = e[s]), i.opacity === "inherit" && (i.opacity = (h === "fill" ? e : t).opacity), m(i, e);
200
201
  var o = r.getModel("lineStyle"), l = o.getLineStyle();
201
202
  if (m(l, t), i.fill === "auto" && (i.fill = e.fill), i.stroke === "auto" && (i.stroke = e.fill), l.stroke === "auto" && (l.stroke = e.fill), !c) {
202
203
  var g = r.get("inactiveBorderWidth"), n = i[s];
@@ -207,7 +208,7 @@ function ct(a, r, t, e, u, c, f) {
207
208
  lineStyle: l
208
209
  };
209
210
  }
210
- function ut(a) {
211
+ function ht(a) {
211
212
  var r = a.icon || "roundRect", t = at(r, 0, 0, a.itemWidth, a.itemHeight, a.itemStyle.fill, a.symbolKeepAspect);
212
213
  return t.setStyle(a.itemStyle), t.rotation = (a.iconRotate || 0) * Math.PI / 180, t.setOrigin([a.itemWidth / 2, a.itemHeight / 2]), r.indexOf("empty") > -1 && (t.style.stroke = t.style.fill, t.style.fill = "#fff", t.style.lineWidth = 2), t;
213
214
  }
@@ -218,7 +219,7 @@ function U(a, r, t, e) {
218
219
  }), F(a, r, t, e);
219
220
  }
220
221
  function Z(a) {
221
- for (var r = a.getZr().storage.getDisplayList(), t, e = 0, u = r.length; e < u && !(t = r[e].states.emphasis); )
222
+ for (var r = a.getZr().storage.getDisplayList(), t, e = 0, h = r.length; e < h && !(t = r[e].states.emphasis); )
222
223
  e++;
223
224
  return t && t.hoverLayer;
224
225
  }
@@ -239,5 +240,5 @@ function O(a, r, t, e) {
239
240
  });
240
241
  }
241
242
  export {
242
- Rt as default
243
+ Lt as default
243
244
  };
@@ -1,4 +1,4 @@
1
- import { curry as r, each as d, hasOwn as f } from "../../../../zrender/lib/core/util.js";
1
+ import { each as d, hasOwn as f, curry as r } from "../../../../zrender/lib/core/util.js";
2
2
  function a(e, l, t) {
3
3
  var s = e === "allSelect" || e === "inverseSelect", n = {}, i = [];
4
4
  t.eachComponent({