web-core-tcm 0.0.62 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +229 -92
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/clone.js +35 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +109 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +16 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +9 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +9 -10
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +28 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +48 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +8 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +49 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +1 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +1 -1
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/equals.js +127 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +86 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/fields.js +11 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +60 -56
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +434 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/index.js +49 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/merge.js +33 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +12 -3
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +14 -10
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +32 -12
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +42 -6
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +58 -50
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +26 -4
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +1 -1
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +130 -99
  28. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +279 -0
  29. package/dist/node_modules/@bufbuild/protobuf/dist/esm/types.js +1 -0
  30. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +48 -27
  31. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +24 -0
  32. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +123 -0
  33. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +10 -6
  34. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +40 -0
  35. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +18 -0
  36. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -0
  37. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +11 -0
  38. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +19 -0
  39. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +18 -0
  40. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +137 -63
  41. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -0
  42. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -0
  43. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -0
  44. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +25 -0
  45. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +26 -0
  46. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -0
  47. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +17 -0
  48. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -0
  49. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +35 -0
  50. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +15 -0
  51. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +180 -0
  52. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +29 -0
  53. package/dist/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
  54. package/dist/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
  55. package/dist/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
  56. package/dist/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
  57. package/dist/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
  58. package/dist/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
  59. package/dist/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
  60. package/dist/node_modules/@vue/devtools-api/lib/esm/const.js +5 -0
  61. package/dist/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
  62. package/dist/node_modules/@vue/devtools-api/lib/esm/index.js +24 -0
  63. package/dist/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
  64. package/dist/node_modules/@vue/devtools-api/lib/esm/proxy.js +67 -0
  65. package/dist/node_modules/@vue/devtools-api/lib/esm/time.js +12 -0
  66. package/dist/node_modules/@vueuse/core/index.js +5189 -199
  67. package/dist/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.js +24 -0
  68. package/dist/node_modules/@vueuse/shared/index.js +1172 -23
  69. package/dist/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.js +24 -0
  70. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +30 -34
  71. package/dist/node_modules/alova/dist/alova.esm.js +266 -220
  72. package/dist/node_modules/alova/dist/clienthook/index.esm.js +2110 -70
  73. package/dist/node_modules/builder-pattern/dist/index.js +25 -13
  74. package/dist/node_modules/echarts/index.js +5 -0
  75. package/dist/node_modules/echarts/lib/animation/basicTransition.js +1 -1
  76. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +40 -39
  77. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +146 -148
  78. package/dist/node_modules/echarts/lib/animation/universalTransition.js +208 -203
  79. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +77 -76
  80. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +6 -6
  81. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +8 -8
  82. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +8 -8
  83. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +34 -34
  84. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +157 -157
  85. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +7 -6
  86. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +52 -52
  87. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +45 -44
  88. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +4 -2
  89. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +5 -5
  90. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +4 -4
  91. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +54 -54
  92. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +26 -25
  93. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +42 -41
  94. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +9 -8
  95. package/dist/node_modules/echarts/lib/chart/helper/Line.js +8 -7
  96. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +18 -15
  97. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +13 -12
  98. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +3 -2
  99. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +4 -3
  100. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +4 -4
  101. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +1 -1
  102. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +17 -15
  103. package/dist/node_modules/echarts/lib/chart/line/LineView.js +201 -200
  104. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +64 -61
  105. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +36 -36
  106. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +21 -20
  107. package/dist/node_modules/echarts/lib/chart/map/MapView.js +13 -12
  108. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +7 -6
  109. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +19 -18
  110. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +1 -1
  111. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +5 -5
  112. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +27 -27
  113. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +6 -5
  114. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +3 -2
  115. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +22 -21
  116. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +3 -3
  117. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +3 -2
  118. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +13 -12
  119. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +1 -1
  120. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +3 -2
  121. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +131 -130
  122. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +4 -4
  123. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +3 -3
  124. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +11 -10
  125. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +3 -3
  126. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +3 -3
  127. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +1 -1
  128. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +3 -3
  129. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +29 -29
  130. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +3 -2
  131. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -4
  132. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +12 -12
  133. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +22 -21
  134. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +49 -41
  135. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +5 -5
  136. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +66 -59
  137. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +93 -93
  138. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +168 -168
  139. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +95 -95
  140. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +8 -8
  141. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +3 -2
  142. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +1 -1
  143. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +46 -45
  144. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
  145. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +84 -83
  146. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +47 -47
  147. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +32 -32
  148. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +1 -1
  149. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +24 -24
  150. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +1 -1
  151. package/dist/node_modules/echarts/lib/component/title/install.js +8 -7
  152. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +80 -79
  153. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +10 -9
  154. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +24 -23
  155. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +10 -10
  156. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +7 -7
  157. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +1 -1
  158. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +13 -13
  159. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +17 -17
  160. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +34 -34
  161. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +3 -3
  162. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +4 -4
  163. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +7 -6
  164. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -4
  165. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +1 -1
  166. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +29 -27
  167. package/dist/node_modules/echarts/lib/coord/axisDefault.js +1 -1
  168. package/dist/node_modules/echarts/lib/coord/axisHelper.js +4 -4
  169. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +1 -1
  170. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +7 -7
  171. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +91 -91
  172. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +21 -21
  173. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +3 -3
  174. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +22 -23
  175. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +3 -3
  176. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +38 -38
  177. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +2 -2
  178. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +1 -1
  179. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +3 -3
  180. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +4 -4
  181. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +11 -11
  182. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +3 -3
  183. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +1 -1
  184. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +1 -1
  185. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +37 -37
  186. package/dist/node_modules/echarts/lib/core/Scheduler.js +22 -22
  187. package/dist/node_modules/echarts/lib/core/echarts.js +615 -559
  188. package/dist/node_modules/echarts/lib/core/impl.js +8 -7
  189. package/dist/node_modules/echarts/lib/core/task.js +19 -19
  190. package/dist/node_modules/echarts/lib/data/DataStore.js +193 -191
  191. package/dist/node_modules/echarts/lib/data/Graph.js +69 -69
  192. package/dist/node_modules/echarts/lib/data/SeriesData.js +73 -68
  193. package/dist/node_modules/echarts/lib/data/Source.js +58 -58
  194. package/dist/node_modules/echarts/lib/data/Tree.js +3 -3
  195. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +4 -4
  196. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +40 -36
  197. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +103 -92
  198. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +17 -17
  199. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +15 -15
  200. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
  201. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +58 -58
  202. package/dist/node_modules/echarts/lib/data/helper/transform.js +97 -95
  203. package/dist/node_modules/echarts/lib/export/api/format.js +16 -0
  204. package/dist/node_modules/echarts/lib/export/api/graphic.js +54 -0
  205. package/dist/node_modules/echarts/lib/export/api/helper.js +44 -0
  206. package/dist/node_modules/echarts/lib/export/api/number.js +21 -0
  207. package/dist/node_modules/echarts/lib/export/api/time.js +6 -0
  208. package/dist/node_modules/echarts/lib/export/api/util.js +19 -0
  209. package/dist/node_modules/echarts/lib/export/api.js +71 -0
  210. package/dist/node_modules/echarts/lib/export/charts.js +46 -0
  211. package/dist/node_modules/echarts/lib/export/components.js +62 -0
  212. package/dist/node_modules/echarts/lib/export/core.js +39 -0
  213. package/dist/node_modules/echarts/lib/export/features.js +6 -0
  214. package/dist/node_modules/echarts/lib/export/renderers.js +6 -0
  215. package/dist/node_modules/echarts/lib/label/LabelManager.js +1 -1
  216. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +4 -4
  217. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +87 -84
  218. package/dist/node_modules/echarts/lib/label/labelStyle.js +116 -115
  219. package/dist/node_modules/echarts/lib/layout/barGrid.js +84 -84
  220. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +27 -26
  221. package/dist/node_modules/echarts/lib/legacy/getTextRect.js +20 -0
  222. package/dist/node_modules/echarts/lib/loading/default.js +3 -2
  223. package/dist/node_modules/echarts/lib/model/Global.js +162 -157
  224. package/dist/node_modules/echarts/lib/model/Model.js +14 -12
  225. package/dist/node_modules/echarts/lib/model/OptionManager.js +36 -35
  226. package/dist/node_modules/echarts/lib/model/Series.js +52 -52
  227. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +17 -11
  228. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +38 -37
  229. package/dist/node_modules/echarts/lib/model/referHelper.js +13 -13
  230. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +60 -59
  231. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +82 -81
  232. package/dist/node_modules/echarts/lib/scale/Time.js +35 -34
  233. package/dist/node_modules/echarts/lib/scale/helper.js +25 -20
  234. package/dist/node_modules/echarts/lib/util/clazz.js +62 -62
  235. package/dist/node_modules/echarts/lib/util/component.js +40 -39
  236. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +73 -73
  237. package/dist/node_modules/echarts/lib/util/decal.js +54 -52
  238. package/dist/node_modules/echarts/lib/util/format.js +81 -65
  239. package/dist/node_modules/echarts/lib/util/graphic.js +22 -22
  240. package/dist/node_modules/echarts/lib/util/layout.js +29 -29
  241. package/dist/node_modules/echarts/lib/util/log.js +41 -2
  242. package/dist/node_modules/echarts/lib/util/model.js +171 -170
  243. package/dist/node_modules/echarts/lib/util/number.js +97 -90
  244. package/dist/node_modules/echarts/lib/util/states.js +170 -164
  245. package/dist/node_modules/echarts/lib/util/styleCompat.js +27 -22
  246. package/dist/node_modules/echarts/lib/util/symbol.js +3 -3
  247. package/dist/node_modules/echarts/lib/util/time.js +2 -2
  248. package/dist/node_modules/echarts/lib/view/Chart.js +22 -21
  249. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +45 -44
  250. package/dist/node_modules/echarts/lib/visual/helper.js +20 -17
  251. package/dist/node_modules/echarts/lib/visual/symbol.js +4 -4
  252. package/dist/node_modules/echarts/lib/visual/visualSolution.js +64 -64
  253. package/dist/node_modules/pinyin/lib/esm/pinyin.js +2 -2
  254. package/dist/node_modules/punycode/punycode.es6.js +17 -17
  255. package/dist/node_modules/quasar/src/components/btn-toggle/QBtnToggle.js +3 -3
  256. package/dist/node_modules/quasar/src/components/chip/QChip.js +3 -3
  257. package/dist/node_modules/quasar/src/components/dialog/QDialog.js +71 -73
  258. package/dist/node_modules/quasar/src/components/field/QField.js +4 -4
  259. package/dist/node_modules/quasar/src/components/infinite-scroll/QInfiniteScroll.js +8 -8
  260. package/dist/node_modules/quasar/src/components/input/QInput.js +28 -26
  261. package/dist/node_modules/quasar/src/components/menu/QMenu.js +13 -13
  262. package/dist/node_modules/quasar/src/components/radio/QRadio.js +4 -4
  263. package/dist/node_modules/quasar/src/components/resize-observer/QResizeObserver.js +14 -14
  264. package/dist/node_modules/quasar/src/components/scroll-area/QScrollArea.js +1 -1
  265. package/dist/node_modules/quasar/src/components/scroll-observer/QScrollObserver.js +4 -4
  266. package/dist/node_modules/quasar/src/components/select/QSelect.js +22 -22
  267. package/dist/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js +73 -72
  268. package/dist/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js +10 -10
  269. package/dist/node_modules/quasar/src/composables/private.use-field/use-field.js +6 -6
  270. package/dist/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js +6 -6
  271. package/dist/node_modules/quasar/src/composables/private.use-history/use-history.js +13 -8
  272. package/dist/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js +16 -16
  273. package/dist/node_modules/quasar/src/composables/private.use-portal/use-portal.js +28 -28
  274. package/dist/node_modules/quasar/src/composables/use-form/private.use-form.js +20 -12
  275. package/dist/node_modules/quasar/src/composables/use-render-cache/use-render-cache.js +8 -8
  276. package/dist/node_modules/quasar/src/directives/close-popup/ClosePopup.js +6 -5
  277. package/dist/node_modules/quasar/src/directives/ripple/Ripple.js +17 -16
  278. package/dist/node_modules/quasar/src/directives/touch-pan/TouchPan.js +23 -22
  279. package/dist/node_modules/quasar/src/plugins/lang/Lang.js +14 -16
  280. package/dist/node_modules/quasar/src/plugins/platform/Platform.js +6 -6
  281. package/dist/node_modules/quasar/src/plugins/private.history/History.js +55 -0
  282. package/dist/node_modules/quasar/src/utils/date/date.js +70 -69
  283. package/dist/node_modules/quasar/src/utils/date/private.persian.js +107 -0
  284. package/dist/node_modules/quasar/src/utils/debounce/debounce.js +8 -8
  285. package/dist/node_modules/quasar/src/utils/dom/dom.js +50 -13
  286. package/dist/node_modules/quasar/src/utils/event/event.js +83 -51
  287. package/dist/node_modules/quasar/src/utils/format/format.js +22 -6
  288. package/dist/node_modules/quasar/src/utils/is/is.js +17 -1
  289. package/dist/node_modules/quasar/src/utils/patterns/patterns.js +8 -5
  290. package/dist/node_modules/quasar/src/utils/private.click-outside/click-outside.js +11 -9
  291. package/dist/node_modules/quasar/src/utils/private.config/instance-config.js +8 -2
  292. package/dist/node_modules/quasar/src/utils/private.config/nodes.js +26 -9
  293. package/dist/node_modules/quasar/src/utils/private.create/create.js +18 -18
  294. package/dist/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js +10 -4
  295. package/dist/node_modules/quasar/src/utils/private.keyboard/key-composition.js +11 -6
  296. package/dist/node_modules/quasar/src/utils/private.noop-ssr-directive-transform/noop-ssr-directive-transform.js +4 -0
  297. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +13 -3
  298. package/dist/node_modules/quasar/src/utils/private.vm/vm.js +23 -11
  299. package/dist/node_modules/quasar/src/utils/scroll/prevent-scroll.js +4 -4
  300. package/dist/node_modules/quasar/src/utils/scroll/scroll.js +52 -34
  301. package/dist/node_modules/tslib/tslib.es6.js +305 -14
  302. package/dist/node_modules/vue-router/dist/devtools-BLCumUwL.js +659 -0
  303. package/dist/node_modules/vue-router/dist/vue-router.js +919 -9
  304. package/dist/node_modules/zrender/lib/Element.js +126 -122
  305. package/dist/node_modules/zrender/lib/animation/Animator.js +7 -7
  306. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +6 -5
  307. package/dist/node_modules/zrender/lib/canvas/Layer.js +4 -4
  308. package/dist/node_modules/zrender/lib/canvas/Painter.js +19 -19
  309. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +3 -3
  310. package/dist/node_modules/zrender/lib/canvas/graphic.js +4 -4
  311. package/dist/node_modules/zrender/lib/config.js +7 -6
  312. package/dist/node_modules/zrender/lib/contain/path.js +8 -8
  313. package/dist/node_modules/zrender/lib/contain/text.js +50 -46
  314. package/dist/node_modules/zrender/lib/core/BoundingRect.js +3 -3
  315. package/dist/node_modules/zrender/lib/core/PathProxy.js +1 -1
  316. package/dist/node_modules/zrender/lib/core/bbox.js +4 -4
  317. package/dist/node_modules/zrender/lib/core/curve.js +1 -1
  318. package/dist/node_modules/zrender/lib/core/event.js +12 -10
  319. package/dist/node_modules/zrender/lib/core/platform.js +29 -24
  320. package/dist/node_modules/zrender/lib/core/util.js +94 -91
  321. package/dist/node_modules/zrender/lib/core/vector.js +54 -34
  322. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +4 -4
  323. package/dist/node_modules/zrender/lib/graphic/Group.js +4 -4
  324. package/dist/node_modules/zrender/lib/graphic/Image.js +4 -4
  325. package/dist/node_modules/zrender/lib/graphic/Path.js +4 -4
  326. package/dist/node_modules/zrender/lib/graphic/TSpan.js +3 -3
  327. package/dist/node_modules/zrender/lib/graphic/Text.js +5 -5
  328. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +92 -87
  329. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +6 -6
  330. package/dist/node_modules/zrender/lib/svg/Painter.js +43 -43
  331. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +12 -12
  332. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +16 -16
  333. package/dist/node_modules/zrender/lib/svg/domapi.js +34 -10
  334. package/dist/node_modules/zrender/lib/svg/graphic.js +67 -67
  335. package/dist/node_modules/zrender/lib/svg/helper.js +57 -43
  336. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +39 -39
  337. package/dist/node_modules/zrender/lib/svg/patch.js +26 -26
  338. package/dist/node_modules/zrender/lib/tool/color.js +87 -69
  339. package/dist/node_modules/zrender/lib/tool/morphPath.js +136 -129
  340. package/dist/node_modules/zrender/lib/tool/parseSVG.js +12 -12
  341. package/dist/node_modules/zrender/lib/zrender.js +106 -90
  342. package/dist/src/api/algorithm/alova/implement/comprehensiveAlgorithm.js +12 -16
  343. package/dist/src/api/algorithm/alova/implement/index.js +13 -0
  344. package/dist/src/api/algorithm/alova/implement/inquiriesAlgorithm.js +4 -7
  345. package/dist/src/api/algorithm/alova/implement/inspectionsAlgorithm.js +7 -10
  346. package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -9
  347. package/dist/src/api/algorithm/alova/implement/pulsationsAlgorithm.js +7 -10
  348. package/dist/src/api/algorithm/alova/index.js +14 -21
  349. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +5 -6
  350. package/dist/src/api/authorization/alova/globals.js +1 -0
  351. package/dist/src/api/authorization/alova/implement/index.js +4 -0
  352. package/dist/src/api/authorization/alova/index.js +10 -8
  353. package/dist/src/api/check/alova/globals.js +1 -0
  354. package/dist/src/api/check/alova/implement/index.js +5 -0
  355. package/dist/src/api/check/alova/index.js +5 -6
  356. package/dist/src/api/check/check.js +2 -2
  357. package/dist/src/api/doctor/alova/globals.js +1 -0
  358. package/dist/src/api/doctor/alova/implement/index.js +4 -0
  359. package/dist/src/api/doctor/alova/index.js +10 -9
  360. package/dist/src/api/index.js +28 -0
  361. package/dist/src/api/metric/alova/implement/index.js +4 -0
  362. package/dist/src/api/metric/alova/index.js +1 -0
  363. package/dist/src/api/metric/index.js +5 -4
  364. package/dist/src/api/oauth/alova/globals.js +1 -0
  365. package/dist/src/api/oauth/alova/implement/index.js +4 -0
  366. package/dist/src/api/oauth/alova/index.js +13 -11
  367. package/dist/src/api/outpatient/alova/globals.js +1 -0
  368. package/dist/src/api/outpatient/alova/implement/index.js +4 -0
  369. package/dist/src/api/outpatient/alova/index.js +5 -5
  370. package/dist/src/api/patient/alova/globals.js +1 -0
  371. package/dist/src/api/patient/alova/implement/index.js +16 -0
  372. package/dist/src/api/patient/alova/implement/meta.js +44 -44
  373. package/dist/src/api/patient/alova/index.js +9 -12
  374. package/dist/src/api/patient/index.js +23 -22
  375. package/dist/src/api/patient/meta.d.ts +12 -0
  376. package/dist/src/api/patient/meta.js +100 -98
  377. package/dist/src/api/prescription/alova/globals.js +1 -0
  378. package/dist/src/api/prescription/alova/implement/index.js +6 -0
  379. package/dist/src/api/prescription/alova/index.js +8 -7
  380. package/dist/src/api/scientist/alova/globals.js +1 -0
  381. package/dist/src/api/scientist/alova/implement/index.js +4 -0
  382. package/dist/src/api/scientist/alova/index.js +5 -5
  383. package/dist/src/components/core/TakeImageCollected.vue.js +2 -2
  384. package/dist/src/components/core/TakeImageCollected.vue2.js +82 -74
  385. package/dist/src/components/tcm/index.d.ts +1 -0
  386. package/dist/src/components/tcm/index.js +28 -0
  387. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +1 -1
  388. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +42 -46
  389. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +1 -1
  390. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +19 -23
  391. package/dist/src/components/tcm/inquirise/symptoms.js +33 -9
  392. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.d.ts +7 -0
  393. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue.js +7 -0
  394. package/dist/src/components/tcm/inspections/AppendixMetaCollected.vue2.js +26 -0
  395. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue.js +2 -2
  396. package/dist/src/components/tcm/inspections/CheckSceneMetaCollected.vue2.js +13 -11
  397. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.js +2 -2
  398. package/dist/src/components/tcm/inspections/FaceMetaCollected.vue2.js +14 -16
  399. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue.js +1 -1
  400. package/dist/src/components/tcm/inspections/InspectionDeviceTakeImageCollected.vue2.js +141 -95
  401. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue.js +4 -4
  402. package/dist/src/components/tcm/inspections/SceneMetaCollected.vue2.js +19 -19
  403. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +3 -3
  404. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.js +2 -2
  405. package/dist/src/components/tcm/inspections/TongueMetaCollected.vue2.js +30 -13
  406. package/dist/src/components/tcm/inspections/index.d.ts +1 -0
  407. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  408. package/dist/src/components/tcm/lisems/EPPCollected.vue2.js +3 -2
  409. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.d.ts +1 -1
  410. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue.js +5 -833
  411. package/dist/src/components/tcm/lisems/EcgAndPcgCollect.vue2.js +816 -2
  412. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.d.ts +1 -1
  413. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue.js +5 -148
  414. package/dist/src/components/tcm/palpations/OnePulsationCollect.vue2.js +147 -2
  415. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  416. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +30 -32
  417. package/dist/src/index.js +63 -58
  418. package/dist/src/proto/index.js +10 -0
  419. package/dist/src/proto/types/Images_pb.js +7 -6
  420. package/dist/src/proto/types/WaveMap_pb.js +4 -3
  421. package/dist/src/util/helper.js +38 -2
  422. package/dist/src/util/number.js +64 -25
  423. package/dist/src/util/string.js +51 -5
  424. package/dist/web-core-tcm.css +1 -1
  425. package/package.json +5 -3
  426. package/dist/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -19
@@ -1,79 +1,80 @@
1
- import { each as i, isObject as b, isTypedArray as o, defaults as t, isArray as T } from "../../../zrender/lib/core/util.js";
2
- import A from "./helper/compatStyle.js";
3
- import { normalizeToArray as S } from "../util/model.js";
4
- function k(l, n) {
5
- for (var a = n.split(","), f = l, r = 0; r < a.length && (f = f && f[a[r]], f != null); r++)
1
+ import { each as m, isObject as v, isTypedArray as h, defaults as y, isArray as b } from "../../../zrender/lib/core/util.js";
2
+ import p from "./helper/compatStyle.js";
3
+ import { normalizeToArray as L } from "../util/model.js";
4
+ import "../util/log.js";
5
+ function R(e, c) {
6
+ for (var a = c.split(","), l = e, f = 0; f < a.length && (l = l && l[a[f]], l != null); f++)
6
7
  ;
7
- return f;
8
+ return l;
8
9
  }
9
- function w(l, n, a, f) {
10
- for (var r = n.split(","), u = l, e, c = 0; c < r.length - 1; c++)
11
- e = r[c], u[e] == null && (u[e] = {}), u = u[e];
12
- u[r[c]] == null && (u[r[c]] = a);
10
+ function A(e, c, a, l) {
11
+ for (var f = c.split(","), r = e, n, i = 0; i < f.length - 1; i++)
12
+ n = f[i], r[n] == null && (r[n] = {}), r = r[n];
13
+ (l || r[f[i]] == null) && (r[f[i]] = a);
13
14
  }
14
- function v(l) {
15
- l && i(B, function(n) {
16
- n[0] in l && !(n[1] in l) && (l[n[1]] = l[n[0]]);
15
+ function d(e) {
16
+ e && m(T, function(c) {
17
+ c[0] in e && !(c[1] in e) && (e[c[1]] = e[c[0]]);
17
18
  });
18
19
  }
19
- var B = [["x", "left"], ["y", "top"], ["x2", "right"], ["y2", "bottom"]], L = ["grid", "geo", "parallel", "legend", "toolbox", "title", "visualMap", "dataZoom", "timeline"], h = [["borderRadius", "barBorderRadius"], ["borderColor", "barBorderColor"], ["borderWidth", "barBorderWidth"]];
20
- function m(l) {
21
- var n = l && l.itemStyle;
22
- if (n)
23
- for (var a = 0; a < h.length; a++) {
24
- var f = h[a][1], r = h[a][0];
25
- n[f] != null && (n[r] = n[f]);
20
+ var T = [["x", "left"], ["y", "top"], ["x2", "right"], ["y2", "bottom"]], S = ["grid", "geo", "parallel", "legend", "toolbox", "title", "visualMap", "dataZoom", "timeline"], u = [["borderRadius", "barBorderRadius"], ["borderColor", "barBorderColor"], ["borderWidth", "barBorderWidth"]];
21
+ function o(e) {
22
+ var c = e && e.itemStyle;
23
+ if (c)
24
+ for (var a = 0; a < u.length; a++) {
25
+ var l = u[a][1], f = u[a][0];
26
+ c[l] != null && (c[f] = c[l]);
26
27
  }
27
28
  }
28
- function g(l) {
29
- l && l.alignTo === "edge" && l.margin != null && l.edgeDistance == null && (l.edgeDistance = l.margin);
29
+ function g(e) {
30
+ e && e.alignTo === "edge" && e.margin != null && e.edgeDistance == null && (e.edgeDistance = e.margin);
30
31
  }
31
- function d(l) {
32
- l && l.downplay && !l.blur && (l.blur = l.downplay);
32
+ function t(e) {
33
+ e && e.downplay && !e.blur && (e.blur = e.downplay);
33
34
  }
34
- function P(l) {
35
- l && l.focusNodeAdjacency != null && (l.emphasis = l.emphasis || {}, l.emphasis.focus == null && (l.emphasis.focus = "adjacency"));
35
+ function k(e) {
36
+ e && e.focusNodeAdjacency != null && (e.emphasis = e.emphasis || {}, e.emphasis.focus == null && (e.emphasis.focus = "adjacency"));
36
37
  }
37
- function y(l, n) {
38
- if (l)
39
- for (var a = 0; a < l.length; a++)
40
- n(l[a]), l[a] && y(l[a].children, n);
38
+ function s(e, c) {
39
+ if (e)
40
+ for (var a = 0; a < e.length; a++)
41
+ c(e[a]), e[a] && s(e[a].children, c);
41
42
  }
42
- function M(l, n) {
43
- A(l, n), l.series = S(l.series), i(l.series, function(a) {
44
- if (b(a)) {
45
- var f = a.type;
46
- if (f === "line")
43
+ function C(e, c) {
44
+ p(e, c), e.series = L(e.series), m(e.series, function(a) {
45
+ if (v(a)) {
46
+ var l = a.type;
47
+ if (l === "line")
47
48
  a.clipOverflow != null && (a.clip = a.clipOverflow);
48
- else if (f === "pie" || f === "gauge") {
49
+ else if (l === "pie" || l === "gauge") {
49
50
  a.clockWise != null && (a.clockwise = a.clockWise), g(a.label);
50
- var r = a.data;
51
- if (r && !o(r))
52
- for (var u = 0; u < r.length; u++)
53
- g(r[u]);
51
+ var f = a.data;
52
+ if (f && !h(f))
53
+ for (var r = 0; r < f.length; r++)
54
+ g(f[r]);
54
55
  a.hoverOffset != null && (a.emphasis = a.emphasis || {}, (a.emphasis.scaleSize = null) && (a.emphasis.scaleSize = a.hoverOffset));
55
- } else if (f === "gauge") {
56
- var e = k(a, "pointer.color");
57
- e != null && w(a, "itemStyle.color", e);
58
- } else if (f === "bar") {
59
- m(a), m(a.backgroundStyle), m(a.emphasis);
60
- var r = a.data;
61
- if (r && !o(r))
62
- for (var u = 0; u < r.length; u++)
63
- typeof r[u] == "object" && (m(r[u]), m(r[u] && r[u].emphasis));
64
- } else if (f === "sunburst") {
65
- var c = a.highlightPolicy;
66
- c && (a.emphasis = a.emphasis || {}, a.emphasis.focus || (a.emphasis.focus = c)), d(a), y(a.data, d);
67
- } else f === "graph" || f === "sankey" ? P(a) : f === "map" && (a.mapType && !a.map && (a.map = a.mapType), a.mapLocation && t(a, a.mapLocation));
68
- a.hoverAnimation != null && (a.emphasis = a.emphasis || {}, a.emphasis && a.emphasis.scale == null && (a.emphasis.scale = a.hoverAnimation)), v(a);
56
+ } else if (l === "gauge") {
57
+ var n = R(a, "pointer.color");
58
+ n != null && A(a, "itemStyle.color", n);
59
+ } else if (l === "bar") {
60
+ o(a), o(a.backgroundStyle), o(a.emphasis);
61
+ var f = a.data;
62
+ if (f && !h(f))
63
+ for (var r = 0; r < f.length; r++)
64
+ typeof f[r] == "object" && (o(f[r]), o(f[r] && f[r].emphasis));
65
+ } else if (l === "sunburst") {
66
+ var i = a.highlightPolicy;
67
+ i && (a.emphasis = a.emphasis || {}, a.emphasis.focus || (a.emphasis.focus = i)), t(a), s(a.data, t);
68
+ } else l === "graph" || l === "sankey" ? k(a) : l === "map" && (a.mapType && !a.map && (a.map = a.mapType), a.mapLocation && y(a, a.mapLocation));
69
+ a.hoverAnimation != null && (a.emphasis = a.emphasis || {}, a.emphasis && a.emphasis.scale == null && (a.emphasis.scale = a.hoverAnimation)), d(a);
69
70
  }
70
- }), l.dataRange && (l.visualMap = l.dataRange), i(L, function(a) {
71
- var f = l[a];
72
- f && (T(f) || (f = [f]), i(f, function(r) {
73
- v(r);
71
+ }), e.dataRange && (e.visualMap = e.dataRange), m(S, function(a) {
72
+ var l = e[a];
73
+ l && (b(l) || (l = [l]), m(l, function(f) {
74
+ d(f);
74
75
  }));
75
76
  });
76
77
  }
77
78
  export {
78
- M as default
79
+ C as default
79
80
  };
@@ -1,106 +1,107 @@
1
- import { each as m, isObject as j, isArray as g, isTypedArray as E, defaults as _, merge as P } from "../../../../zrender/lib/core/util.js";
2
- import { TEXT_STYLE_OPTIONS as o } from "../../util/model.js";
3
- var v = m, L = j, C = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
4
- function d(a) {
5
- var f = a && a.itemStyle;
6
- if (f)
7
- for (var u = 0, n = C.length; u < n; u++) {
8
- var l = C[u], r = f.normal, i = f.emphasis;
9
- r && r[l] && (a[l] = a[l] || {}, a[l].normal ? P(a[l].normal, r[l]) : a[l].normal = r[l], r[l] = null), i && i[l] && (a[l] = a[l] || {}, a[l].emphasis ? P(a[l].emphasis, i[l]) : a[l].emphasis = i[l], i[l] = null);
1
+ import { each as s, isObject as t, merge as y, defaults as G, isTypedArray as A, isArray as g } from "../../../../zrender/lib/core/util.js";
2
+ import { TEXT_STYLE_OPTIONS as k } from "../../util/model.js";
3
+ import "../../util/log.js";
4
+ var m = s, v = t, E = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
5
+ function S(a) {
6
+ var n = a && a.itemStyle;
7
+ if (n)
8
+ for (var f = 0, i = E.length; f < i; f++) {
9
+ var e = E[f], c = n.normal, l = n.emphasis;
10
+ c && c[e] && (a[e] = a[e] || {}, a[e].normal ? y(a[e].normal, c[e]) : a[e].normal = c[e], c[e] = null), l && l[e] && (a[e] = a[e] || {}, a[e].emphasis ? y(a[e].emphasis, l[e]) : a[e].emphasis = l[e], l[e] = null);
10
11
  }
11
12
  }
12
- function c(a, f, u) {
13
- if (a && a[f] && (a[f].normal || a[f].emphasis)) {
14
- var n = a[f].normal, l = a[f].emphasis;
15
- n && (u ? (a[f].normal = a[f].emphasis = null, _(a[f], n)) : a[f] = n), l && (a.emphasis = a.emphasis || {}, a.emphasis[f] = l, l.focus && (a.emphasis.focus = l.focus), l.blurScope && (a.emphasis.blurScope = l.blurScope));
13
+ function u(a, n, f) {
14
+ if (a && a[n] && (a[n].normal || a[n].emphasis)) {
15
+ var i = a[n].normal, e = a[n].emphasis;
16
+ i && (f ? (a[n].normal = a[n].emphasis = null, G(a[n], i)) : a[n] = i), e && (a.emphasis = a.emphasis || {}, a.emphasis[n] = e, e.focus && (a.emphasis.focus = e.focus), e.blurScope && (a.emphasis.blurScope = e.blurScope));
16
17
  }
17
18
  }
18
- function h(a) {
19
- c(a, "itemStyle"), c(a, "lineStyle"), c(a, "areaStyle"), c(a, "label"), c(a, "labelLine"), c(a, "upperLabel"), c(a, "edgeLabel");
19
+ function d(a) {
20
+ u(a, "itemStyle"), u(a, "lineStyle"), u(a, "areaStyle"), u(a, "label"), u(a, "labelLine"), u(a, "upperLabel"), u(a, "edgeLabel");
20
21
  }
21
- function e(a, f) {
22
- var u = L(a) && a[f], n = L(u) && u.textStyle;
23
- if (n)
24
- for (var l = 0, r = o.length; l < r; l++) {
25
- var i = o[l];
26
- n.hasOwnProperty(i) && (u[i] = n[i]);
22
+ function r(a, n) {
23
+ var f = v(a) && a[n], i = v(f) && f.textStyle;
24
+ if (i)
25
+ for (var e = 0, c = k.length; e < c; e++) {
26
+ var l = k[e];
27
+ i.hasOwnProperty(l) && (f[l] = i[l]);
27
28
  }
28
29
  }
29
- function b(a) {
30
- a && (h(a), e(a, "label"), a.emphasis && e(a.emphasis, "label"));
30
+ function o(a) {
31
+ a && (d(a), r(a, "label"), a.emphasis && r(a.emphasis, "label"));
31
32
  }
32
- function Y(a) {
33
- if (L(a)) {
34
- d(a), h(a), e(a, "label"), e(a, "upperLabel"), e(a, "edgeLabel"), a.emphasis && (e(a.emphasis, "label"), e(a.emphasis, "upperLabel"), e(a.emphasis, "edgeLabel"));
35
- var f = a.markPoint;
36
- f && (d(f), b(f));
37
- var u = a.markLine;
38
- u && (d(u), b(u));
39
- var n = a.markArea;
40
- n && b(n);
41
- var l = a.data;
33
+ function C(a) {
34
+ if (v(a)) {
35
+ S(a), d(a), r(a, "label"), r(a, "upperLabel"), r(a, "edgeLabel"), a.emphasis && (r(a.emphasis, "label"), r(a.emphasis, "upperLabel"), r(a.emphasis, "edgeLabel"));
36
+ var n = a.markPoint;
37
+ n && (S(n), o(n));
38
+ var f = a.markLine;
39
+ f && (S(f), o(f));
40
+ var i = a.markArea;
41
+ i && o(i);
42
+ var e = a.data;
42
43
  if (a.type === "graph") {
43
- l = l || a.nodes;
44
- var r = a.links || a.edges;
45
- if (r && !E(r))
46
- for (var i = 0; i < r.length; i++)
47
- b(r[i]);
48
- m(a.categories, function(A) {
49
- h(A);
44
+ e = e || a.nodes;
45
+ var c = a.links || a.edges;
46
+ if (c && !A(c))
47
+ for (var l = 0; l < c.length; l++)
48
+ o(c[l]);
49
+ s(a.categories, function(x) {
50
+ d(x);
50
51
  });
51
52
  }
52
- if (l && !E(l))
53
- for (var i = 0; i < l.length; i++)
54
- b(l[i]);
55
- if (f = a.markPoint, f && f.data)
56
- for (var k = f.data, i = 0; i < k.length; i++)
57
- b(k[i]);
58
- if (u = a.markLine, u && u.data)
59
- for (var x = u.data, i = 0; i < x.length; i++)
60
- g(x[i]) ? (b(x[i][0]), b(x[i][1])) : b(x[i]);
61
- a.type === "gauge" ? (e(a, "axisLabel"), e(a, "title"), e(a, "detail")) : a.type === "treemap" ? (c(a.breadcrumb, "itemStyle"), m(a.levels, function(A) {
62
- h(A);
63
- })) : a.type === "tree" && h(a.leaves);
53
+ if (e && !A(e))
54
+ for (var l = 0; l < e.length; l++)
55
+ o(e[l]);
56
+ if (n = a.markPoint, n && n.data)
57
+ for (var L = n.data, l = 0; l < L.length; l++)
58
+ o(L[l]);
59
+ if (f = a.markLine, f && f.data)
60
+ for (var h = f.data, l = 0; l < h.length; l++)
61
+ g(h[l]) ? (o(h[l][0]), o(h[l][1])) : o(h[l]);
62
+ a.type === "gauge" ? (r(a, "axisLabel"), r(a, "title"), r(a, "detail")) : a.type === "treemap" ? (u(a.breadcrumb, "itemStyle"), s(a.levels, function(x) {
63
+ d(x);
64
+ })) : a.type === "tree" && d(a.leaves);
64
65
  }
65
66
  }
66
- function S(a) {
67
+ function b(a) {
67
68
  return g(a) ? a : a ? [a] : [];
68
69
  }
69
- function G(a) {
70
+ function P(a) {
70
71
  return (g(a) ? a[0] : a) || {};
71
72
  }
72
- function w(a, f) {
73
- v(S(a.series), function(n) {
74
- L(n) && Y(n);
73
+ function Y(a, n) {
74
+ m(b(a.series), function(i) {
75
+ v(i) && C(i);
75
76
  });
76
- var u = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"];
77
- f && u.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), v(u, function(n) {
78
- v(S(a[n]), function(l) {
79
- l && (e(l, "axisLabel"), e(l.axisPointer, "label"));
77
+ var f = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"];
78
+ n && f.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), m(f, function(i) {
79
+ m(b(a[i]), function(e) {
80
+ e && (r(e, "axisLabel"), r(e.axisPointer, "label"));
80
81
  });
81
- }), v(S(a.parallel), function(n) {
82
- var l = n && n.parallelAxisDefault;
83
- e(l, "axisLabel"), e(l && l.axisPointer, "label");
84
- }), v(S(a.calendar), function(n) {
85
- c(n, "itemStyle"), e(n, "dayLabel"), e(n, "monthLabel"), e(n, "yearLabel");
86
- }), v(S(a.radar), function(n) {
87
- e(n, "name"), n.name && n.axisName == null && (n.axisName = n.name, delete n.name), n.nameGap != null && n.axisNameGap == null && (n.axisNameGap = n.nameGap, delete n.nameGap);
88
- }), v(S(a.geo), function(n) {
89
- L(n) && (b(n), v(S(n.regions), function(l) {
90
- b(l);
82
+ }), m(b(a.parallel), function(i) {
83
+ var e = i && i.parallelAxisDefault;
84
+ r(e, "axisLabel"), r(e && e.axisPointer, "label");
85
+ }), m(b(a.calendar), function(i) {
86
+ u(i, "itemStyle"), r(i, "dayLabel"), r(i, "monthLabel"), r(i, "yearLabel");
87
+ }), m(b(a.radar), function(i) {
88
+ r(i, "name"), i.name && i.axisName == null && (i.axisName = i.name, delete i.name), i.nameGap != null && i.axisNameGap == null && (i.axisNameGap = i.nameGap, delete i.nameGap);
89
+ }), m(b(a.geo), function(i) {
90
+ v(i) && (o(i), m(b(i.regions), function(e) {
91
+ o(e);
91
92
  }));
92
- }), v(S(a.timeline), function(n) {
93
- b(n), c(n, "label"), c(n, "itemStyle"), c(n, "controlStyle", !0);
94
- var l = n.data;
95
- g(l) && m(l, function(r) {
96
- j(r) && (c(r, "label"), c(r, "itemStyle"));
93
+ }), m(b(a.timeline), function(i) {
94
+ o(i), u(i, "label"), u(i, "itemStyle"), u(i, "controlStyle", !0);
95
+ var e = i.data;
96
+ g(e) && s(e, function(c) {
97
+ t(c) && (u(c, "label"), u(c, "itemStyle"));
97
98
  });
98
- }), v(S(a.toolbox), function(n) {
99
- c(n, "iconStyle"), v(n.feature, function(l) {
100
- c(l, "iconStyle");
99
+ }), m(b(a.toolbox), function(i) {
100
+ u(i, "iconStyle"), m(i.feature, function(e) {
101
+ u(e, "iconStyle");
101
102
  });
102
- }), e(G(a.axisPointer), "label"), e(G(a.tooltip).axisPointer, "label");
103
+ }), r(P(a.axisPointer), "label"), r(P(a.tooltip).axisPointer, "label");
103
104
  }
104
105
  export {
105
- w as default
106
+ Y as default
106
107
  };
@@ -1,17 +1,18 @@
1
1
  import { __extends as re } from "../../../tslib/tslib.es6.js";
2
- import { parseDate as p, nice as ne } from "../util/number.js";
3
- import { format as ae, fullLeveledFormatter as j, getDefaultFormatPrecisionOfInterval as ue, getPrimaryTimeUnit as A, leveledFormat as ie, ONE_DAY as v, ONE_SECOND as W, ONE_MINUTE as Z, ONE_HOUR as F, ONE_YEAR as J, timeUnits as se, isPrimaryTimeUnit as oe, secondsSetterName as $, millisecondsSetterName as I, minutesSetterName as U, hoursSetterName as T, dateSetterName as C, monthSetterName as x, getUnitValue as K, millisecondsGetterName as ce, secondsGetterName as fe, minutesGetterName as le, hoursGetterName as he, dateGetterName as ve, monthGetterName as me, fullYearGetterName as de, fullYearSetterName as ge } from "../util/time.js";
2
+ import { parseDate as H, nice as ne } from "../util/number.js";
3
+ import { format as ae, fullLeveledFormatter as j, getDefaultFormatPrecisionOfInterval as ue, getPrimaryTimeUnit as A, leveledFormat as ie, ONE_DAY as v, ONE_SECOND as W, ONE_MINUTE as Z, ONE_HOUR as F, ONE_YEAR as J, getUnitValue as K, secondsSetterName as $, millisecondsSetterName as I, minutesSetterName as U, hoursSetterName as T, dateSetterName as C, monthSetterName as x, timeUnits as se, millisecondsGetterName as oe, secondsGetterName as ce, minutesGetterName as fe, hoursGetterName as le, dateGetterName as he, monthGetterName as ve, fullYearGetterName as me, fullYearSetterName as de, isPrimaryTimeUnit as ge } from "../util/time.js";
4
4
  import { contain as ye, normalize as Se, scale as _e } from "./helper.js";
5
5
  import we from "./Interval.js";
6
6
  import be from "./Scale.js";
7
+ import "../util/log.js";
7
8
  import { isNumber as Me, filter as Q, map as De } from "../../../zrender/lib/core/util.js";
8
- var Oe = function(r, n, e, t) {
9
+ var Ee = function(r, n, e, t) {
9
10
  for (; e < t; ) {
10
11
  var a = e + t >>> 1;
11
12
  r[a][1] < n ? e = a + 1 : t = a;
12
13
  }
13
14
  return e;
14
- }, Ee = (
15
+ }, Oe = (
15
16
  /** @class */
16
17
  (function(r) {
17
18
  re(n, r);
@@ -49,10 +50,10 @@ var Oe = function(r, n, e, t) {
49
50
  e = e || 10;
50
51
  var i = this._extent, o = i[1] - i[0];
51
52
  this._approxInterval = o / e, t != null && this._approxInterval < t && (this._approxInterval = t), a != null && this._approxInterval > a && (this._approxInterval = a);
52
- var g = k.length, y = Math.min(Oe(k, this._approxInterval, 0, g), g - 1);
53
+ var g = k.length, y = Math.min(Ee(k, this._approxInterval, 0, g), g - 1);
53
54
  this._interval = k[y][1], this._minLevelUnit = k[Math.max(y - 1, 0)][0];
54
55
  }, n.prototype.parse = function(e) {
55
- return Me(e) ? e : +p(e);
56
+ return Me(e) ? e : +H(e);
56
57
  }, n.prototype.contain = function(e) {
57
58
  return ye(this.parse(e), this._extent);
58
59
  }, n.prototype.normalize = function(e) {
@@ -78,7 +79,7 @@ var Oe = function(r, n, e, t) {
78
79
  // 1Y
79
80
  ];
80
81
  function Le(r, n, e, t) {
81
- var a = p(n), i = p(e), o = function(N) {
82
+ var a = H(n), i = H(e), o = function(N) {
82
83
  return K(a, N, t) === K(i, N, t);
83
84
  }, g = function() {
84
85
  return o("year");
@@ -90,10 +91,10 @@ function Le(r, n, e, t) {
90
91
  return S() && o("hour");
91
92
  }, _ = function() {
92
93
  return l() && o("minute");
93
- }, E = function() {
94
+ }, O = function() {
94
95
  return _() && o("second");
95
96
  }, u = function() {
96
- return E() && o("millisecond");
97
+ return O() && o("millisecond");
97
98
  };
98
99
  switch (r) {
99
100
  case "year":
@@ -107,7 +108,7 @@ function Le(r, n, e, t) {
107
108
  case "minute":
108
109
  return _();
109
110
  case "second":
110
- return E();
111
+ return O();
111
112
  case "millisecond":
112
113
  return u();
113
114
  }
@@ -126,7 +127,7 @@ function V(r, n) {
126
127
  return r /= n ? Z : W, r > 30 ? 30 : r > 20 ? 20 : r > 15 ? 15 : r > 10 ? 10 : r > 5 ? 5 : r > 2 ? 2 : 1;
127
128
  }
128
129
  function Fe(r) {
129
- return ne(r);
130
+ return ne(r, !0);
130
131
  }
131
132
  function Ge(r, n, e) {
132
133
  var t = new Date(r);
@@ -147,60 +148,60 @@ function Ge(r, n, e) {
147
148
  }
148
149
  function Ye(r, n, e, t) {
149
150
  var a = 1e4, i = se, o = 0;
150
- function g(f, s, M, D, H, m, L) {
151
- for (var O = new Date(s), c = s, h = O[D](); c < M && c <= t[1]; )
151
+ function g(f, s, M, D, q, m, L) {
152
+ for (var E = new Date(s), c = s, h = E[D](); c < M && c <= t[1]; )
152
153
  L.push({
153
154
  value: c
154
- }), h += f, O[H](h), c = O.getTime();
155
+ }), h += f, E[q](h), c = E.getTime();
155
156
  L.push({
156
157
  value: c,
157
158
  notAdd: !0
158
159
  });
159
160
  }
160
161
  function y(f, s, M) {
161
- var D = [], H = !s.length;
162
+ var D = [], q = !s.length;
162
163
  if (!Le(A(f), t[0], t[1], e)) {
163
- H && (s = [{
164
+ q && (s = [{
164
165
  // TODO Optimize. Not include so may ticks.
165
166
  value: Ge(new Date(t[0]), f, e)
166
167
  }, {
167
168
  value: t[1]
168
169
  }]);
169
170
  for (var m = 0; m < s.length - 1; m++) {
170
- var L = s[m].value, O = s[m + 1].value;
171
- if (L !== O) {
171
+ var L = s[m].value, E = s[m + 1].value;
172
+ if (L !== E) {
172
173
  var c = void 0, h = void 0, d = void 0, X = !1;
173
174
  switch (f) {
174
175
  case "year":
175
- c = Math.max(1, Math.round(n / v / 365)), h = de(e), d = ge(e);
176
+ c = Math.max(1, Math.round(n / v / 365)), h = me(e), d = de(e);
176
177
  break;
177
178
  case "half-year":
178
179
  case "quarter":
179
180
  case "month":
180
- c = Ne(n), h = me(e), d = x(e);
181
+ c = Ne(n), h = ve(e), d = x(e);
181
182
  break;
182
183
  case "week":
183
184
  // PENDING If week is added. Ignore day.
184
185
  case "half-week":
185
186
  case "day":
186
- c = Ae(n), h = ve(e), d = C(e), X = !0;
187
+ c = Ae(n, 31), h = he(e), d = C(e), X = !0;
187
188
  break;
188
189
  case "half-day":
189
190
  case "quarter-day":
190
191
  case "hour":
191
- c = ke(n), h = he(e), d = T(e);
192
+ c = ke(n), h = le(e), d = T(e);
192
193
  break;
193
194
  case "minute":
194
- c = V(n, !0), h = le(e), d = U(e);
195
+ c = V(n, !0), h = fe(e), d = U(e);
195
196
  break;
196
197
  case "second":
197
- c = V(n, !1), h = fe(e), d = $(e);
198
+ c = V(n, !1), h = ce(e), d = $(e);
198
199
  break;
199
200
  case "millisecond":
200
- c = Fe(n), h = ce(e), d = I(e);
201
+ c = Fe(n), h = oe(e), d = I(e);
201
202
  break;
202
203
  }
203
- g(c, L, O, h, d, X, D), f === "year" && M.length > 1 && m === 0 && M.unshift({
204
+ g(c, L, E, h, d, X, D), f === "year" && M.length > 1 && m === 0 && M.unshift({
204
205
  value: M[0].value - c
205
206
  });
206
207
  }
@@ -210,14 +211,14 @@ function Ye(r, n, e, t) {
210
211
  return D;
211
212
  }
212
213
  }
213
- for (var S = [], l = [], _ = 0, E = 0, u = 0; u < i.length && o++ < a; ++u) {
214
+ for (var S = [], l = [], _ = 0, O = 0, u = 0; u < i.length && o++ < a; ++u) {
214
215
  var N = A(i[u]);
215
- if (oe(i[u])) {
216
+ if (ge(i[u])) {
216
217
  y(i[u], S[S.length - 1] || [], l);
217
218
  var ee = i[u + 1] ? A(i[u + 1]) : null;
218
219
  if (N !== ee) {
219
220
  if (l.length) {
220
- E = _, l.sort(function(f, s) {
221
+ O = _, l.sort(function(f, s) {
221
222
  return f.value - s.value;
222
223
  });
223
224
  for (var z = [], w = 0; w < l.length; ++w) {
@@ -225,7 +226,7 @@ function Ye(r, n, e, t) {
225
226
  (w === 0 || l[w - 1].value !== G) && (z.push(l[w]), G >= t[0] && G <= t[1] && _++);
226
227
  }
227
228
  var Y = (t[1] - t[0]) / n;
228
- if (_ > Y * 1.5 && E > Y / 1.5 || (S.push(z), _ > Y || r === i[u]))
229
+ if (_ > Y * 1.5 && O > Y / 1.5 || (S.push(z), _ > Y || r === i[u]))
229
230
  break;
230
231
  }
231
232
  l = [];
@@ -239,9 +240,9 @@ function Ye(r, n, e, t) {
239
240
  }), function(f) {
240
241
  return f.length > 0;
241
242
  }), b = [], te = P.length - 1, u = 0; u < P.length; ++u)
242
- for (var R = P[u], q = 0; q < R.length; ++q)
243
+ for (var R = P[u], p = 0; p < R.length; ++p)
243
244
  b.push({
244
- value: R[q].value,
245
+ value: R[p].value,
245
246
  level: te - u
246
247
  });
247
248
  b.sort(function(f, s) {
@@ -251,7 +252,7 @@ function Ye(r, n, e, t) {
251
252
  (u === 0 || b[u].value !== b[u - 1].value) && B.push(b[u]);
252
253
  return B;
253
254
  }
254
- be.registerClass(Ee);
255
+ be.registerClass(Oe);
255
256
  export {
256
- Ee as default
257
+ Oe as default
257
258
  };
@@ -1,42 +1,47 @@
1
- import { getPrecision as c, nice as h, round as l, quantityExponent as M } from "../util/number.js";
1
+ import { quantityExponent as p, nice as h, round as n, getPrecision as M } from "../util/number.js";
2
+ function b(r) {
3
+ var i = Math.pow(10, p(Math.abs(r))), a = Math.abs(r / i);
4
+ return a === 0 || a === 1 || a === 2 || a === 3 || a === 5;
5
+ }
2
6
  function m(r) {
3
7
  return r.type === "interval" || r.type === "log";
4
8
  }
5
- function F(r, i, o, f) {
6
- var u = {}, v = r[1] - r[0], a = u.interval = h(v / i);
7
- o != null && a < o && (a = u.interval = o), f != null && a > f && (a = u.interval = f);
8
- var n = u.intervalPrecision = g(a), p = u.niceTickExtent = [l(Math.ceil(r[0] / a) * a, n), l(Math.floor(r[1] / a) * a, n)];
9
- return y(p, r), u;
9
+ function t(r, i, a, f) {
10
+ var u = {}, v = r[1] - r[0], o = u.interval = h(v / i, !0);
11
+ a != null && o < a && (o = u.interval = a), f != null && o > f && (o = u.interval = f);
12
+ var l = u.intervalPrecision = g(o), c = u.niceTickExtent = [n(Math.ceil(r[0] / o) * o, l), n(Math.floor(r[1] / o) * o, l)];
13
+ return y(c, r), u;
10
14
  }
11
- function S(r) {
12
- var i = Math.pow(10, M(r)), o = r / i;
13
- return o ? o === 2 ? o = 3 : o === 3 ? o = 5 : o *= 2 : o = 1, l(o * i);
15
+ function w(r) {
16
+ var i = Math.pow(10, p(r)), a = r / i;
17
+ return a ? a === 2 ? a = 3 : a === 3 ? a = 5 : a *= 2 : a = 1, n(a * i);
14
18
  }
15
19
  function g(r) {
16
- return c(r) + 2;
20
+ return M(r) + 2;
17
21
  }
18
- function s(r, i, o) {
19
- r[i] = Math.max(Math.min(r[i], o[1]), o[0]);
22
+ function s(r, i, a) {
23
+ r[i] = Math.max(Math.min(r[i], a[1]), a[0]);
20
24
  }
21
25
  function y(r, i) {
22
26
  !isFinite(r[0]) && (r[0] = i[0]), !isFinite(r[1]) && (r[1] = i[1]), s(r, 0, i), s(r, 1, i), r[0] > r[1] && (r[0] = r[1]);
23
27
  }
24
- function q(r, i) {
28
+ function F(r, i) {
25
29
  return r >= i[0] && r <= i[1];
26
30
  }
27
- function w(r, i) {
31
+ function N(r, i) {
28
32
  return i[1] === i[0] ? 0.5 : (r - i[0]) / (i[1] - i[0]);
29
33
  }
30
- function z(r, i) {
34
+ function S(r, i) {
31
35
  return r * (i[1] - i[0]) + i[0];
32
36
  }
33
37
  export {
34
- q as contain,
38
+ F as contain,
35
39
  y as fixExtent,
36
40
  g as getIntervalPrecision,
37
- S as increaseInterval,
38
- F as intervalScaleNiceTicks,
41
+ w as increaseInterval,
42
+ t as intervalScaleNiceTicks,
39
43
  m as isIntervalOrLogScale,
40
- w as normalize,
41
- z as scale
44
+ b as isValueNice,
45
+ N as normalize,
46
+ S as scale
42
47
  };