@visactor/vtable 0.17.9 → 0.17.10-alpha.0

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 (339) hide show
  1. package/cjs/components/axis/label-overlap.js.map +1 -1
  2. package/cjs/core/BaseTable.js +1 -1
  3. package/cjs/core/BaseTable.js.map +1 -1
  4. package/cjs/core/style.js +1 -2
  5. package/cjs/core/tableHelper.d.ts +1 -1
  6. package/cjs/core/tableHelper.js +2 -1
  7. package/cjs/core/tableHelper.js.map +1 -1
  8. package/cjs/event/event.d.ts +1 -1
  9. package/cjs/event/event.js +1 -1
  10. package/cjs/event/event.js.map +1 -1
  11. package/cjs/event/listener/scroll-bar.js.map +1 -1
  12. package/cjs/event/listener/table-group.js +1 -1
  13. package/cjs/event/listener/table-group.js.map +1 -1
  14. package/cjs/event/listener/touch.js.map +1 -1
  15. package/cjs/event/media-click.js +1 -2
  16. package/cjs/event/pivot-chart/axis-click.js.map +1 -1
  17. package/cjs/event/scroll.js +1 -0
  18. package/cjs/event/util.d.ts +1 -1
  19. package/cjs/event/util.js.map +1 -1
  20. package/cjs/index.d.ts +2 -2
  21. package/cjs/index.js +2 -2
  22. package/cjs/index.js.map +1 -1
  23. package/cjs/render/jsx/index.d.ts +1 -1
  24. package/cjs/render/jsx/index.js +1 -1
  25. package/cjs/render/jsx/index.js.map +1 -1
  26. package/cjs/render/layout/arc.d.ts +2 -2
  27. package/cjs/render/layout/arc.js +1 -1
  28. package/cjs/render/layout/arc.js.map +1 -1
  29. package/cjs/render/layout/circle.d.ts +2 -2
  30. package/cjs/render/layout/circle.js +1 -1
  31. package/cjs/render/layout/circle.js.map +1 -1
  32. package/cjs/render/layout/container.d.ts +2 -2
  33. package/cjs/render/layout/container.js +1 -1
  34. package/cjs/render/layout/container.js.map +1 -1
  35. package/cjs/render/layout/group.d.ts +2 -2
  36. package/cjs/render/layout/group.js +1 -1
  37. package/cjs/render/layout/group.js.map +1 -1
  38. package/cjs/render/layout/icon.d.ts +2 -2
  39. package/cjs/render/layout/icon.js +1 -1
  40. package/cjs/render/layout/icon.js.map +1 -1
  41. package/cjs/render/layout/image.d.ts +2 -2
  42. package/cjs/render/layout/image.js +1 -1
  43. package/cjs/render/layout/image.js.map +1 -1
  44. package/cjs/render/layout/rect.d.ts +2 -2
  45. package/cjs/render/layout/rect.js +1 -1
  46. package/cjs/render/layout/rect.js.map +1 -1
  47. package/cjs/render/layout/text.d.ts +1 -1
  48. package/cjs/render/layout/text.js +1 -1
  49. package/cjs/render/layout/text.js.map +1 -1
  50. package/cjs/scenegraph/component/cell-content.d.ts +2 -2
  51. package/cjs/scenegraph/component/cell-content.js +1 -1
  52. package/cjs/scenegraph/component/cell-content.js.map +1 -1
  53. package/cjs/scenegraph/component/cell-mover.d.ts +1 -1
  54. package/cjs/scenegraph/component/cell-mover.js +1 -1
  55. package/cjs/scenegraph/component/cell-mover.js.map +1 -1
  56. package/cjs/scenegraph/component/custom.d.ts +1 -1
  57. package/cjs/scenegraph/component/custom.js +1 -1
  58. package/cjs/scenegraph/component/custom.js.map +1 -1
  59. package/cjs/scenegraph/component/drill-icon.js.map +1 -1
  60. package/cjs/scenegraph/component/menu.d.ts +1 -1
  61. package/cjs/scenegraph/component/menu.js +1 -1
  62. package/cjs/scenegraph/component/menu.js.map +1 -1
  63. package/cjs/scenegraph/component/table-component.d.ts +1 -1
  64. package/cjs/scenegraph/component/table-component.js +1 -1
  65. package/cjs/scenegraph/component/table-component.js.map +1 -1
  66. package/cjs/scenegraph/debug-tool/debug-tool.d.ts +1 -1
  67. package/cjs/scenegraph/debug-tool/debug-tool.js +1 -1
  68. package/cjs/scenegraph/debug-tool/debug-tool.js.map +1 -1
  69. package/cjs/scenegraph/debug-tool/index.d.ts +1 -1
  70. package/cjs/scenegraph/debug-tool/index.js.map +1 -1
  71. package/cjs/scenegraph/graphic/chart.d.ts +2 -2
  72. package/cjs/scenegraph/graphic/chart.js +1 -1
  73. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  74. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  75. package/cjs/scenegraph/graphic/contributions/chart-render.d.ts +1 -1
  76. package/cjs/scenegraph/graphic/contributions/chart-render.js +1 -1
  77. package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  78. package/cjs/scenegraph/graphic/contributions/group-contribution-render.d.ts +2 -2
  79. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +1 -1
  80. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
  81. package/cjs/scenegraph/graphic/contributions/image-contribution-render.d.ts +2 -2
  82. package/cjs/scenegraph/graphic/contributions/image-contribution-render.js +1 -1
  83. package/cjs/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -1
  84. package/cjs/scenegraph/graphic/contributions/index.d.ts +1 -1
  85. package/cjs/scenegraph/graphic/contributions/index.js +1 -1
  86. package/cjs/scenegraph/graphic/contributions/index.js.map +1 -1
  87. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.d.ts +2 -2
  88. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js +1 -1
  89. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -1
  90. package/cjs/scenegraph/graphic/group.d.ts +2 -2
  91. package/cjs/scenegraph/graphic/group.js +1 -1
  92. package/cjs/scenegraph/graphic/group.js.map +1 -1
  93. package/cjs/scenegraph/graphic/icon.d.ts +2 -2
  94. package/cjs/scenegraph/graphic/icon.js +1 -1
  95. package/cjs/scenegraph/graphic/icon.js.map +1 -1
  96. package/cjs/scenegraph/graphic/text.d.ts +2 -2
  97. package/cjs/scenegraph/graphic/text.js +1 -1
  98. package/cjs/scenegraph/graphic/text.js.map +1 -1
  99. package/cjs/scenegraph/group-creater/cell-helper.d.ts +1 -1
  100. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  101. package/cjs/scenegraph/group-creater/cell-type/chart-cell.d.ts +1 -1
  102. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  103. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +1 -1
  104. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  105. package/cjs/scenegraph/group-creater/cell-type/image-cell.d.ts +1 -1
  106. package/cjs/scenegraph/group-creater/cell-type/image-cell.js +1 -1
  107. package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  108. package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js +1 -1
  109. package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -1
  110. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +1 -1
  111. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +1 -1
  112. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  113. package/cjs/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  114. package/cjs/scenegraph/group-creater/cell-type/text-cell.js +1 -1
  115. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  116. package/cjs/scenegraph/group-creater/cell-type/video-cell.d.ts +1 -1
  117. package/cjs/scenegraph/group-creater/cell-type/video-cell.js +1 -1
  118. package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  119. package/cjs/scenegraph/group-creater/column-helper.d.ts +1 -1
  120. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  121. package/cjs/scenegraph/icon/icon-update.js +1 -1
  122. package/cjs/scenegraph/icon/icon-update.js.map +1 -1
  123. package/cjs/scenegraph/layout/compute-col-width.js +1 -1
  124. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  125. package/cjs/scenegraph/layout/compute-row-height.js +1 -1
  126. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  127. package/cjs/scenegraph/layout/move-cell.js.map +1 -1
  128. package/cjs/scenegraph/layout/update-col.js.map +1 -1
  129. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  130. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  131. package/cjs/scenegraph/scenegraph.d.ts +1 -1
  132. package/cjs/scenegraph/scenegraph.js +1 -1
  133. package/cjs/scenegraph/scenegraph.js.map +1 -1
  134. package/cjs/scenegraph/select/create-select-border.js +1 -1
  135. package/cjs/scenegraph/select/create-select-border.js.map +1 -1
  136. package/cjs/scenegraph/select/delete-select-border.js.map +1 -1
  137. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  138. package/cjs/scenegraph/stick-text/index.js.map +1 -1
  139. package/cjs/scenegraph/style/corner-cell.js.map +1 -1
  140. package/cjs/scenegraph/style/frame-border.js +1 -1
  141. package/cjs/scenegraph/style/frame-border.js.map +1 -1
  142. package/cjs/scenegraph/utils/padding.js +1 -1
  143. package/cjs/scenegraph/utils/padding.js.map +1 -1
  144. package/cjs/scenegraph/utils/render-service.d.ts +1 -1
  145. package/cjs/scenegraph/utils/render-service.js +1 -1
  146. package/cjs/scenegraph/utils/render-service.js.map +1 -1
  147. package/cjs/scenegraph/utils/text-icon-layout.d.ts +1 -1
  148. package/cjs/scenegraph/utils/text-icon-layout.js +1 -1
  149. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  150. package/cjs/scenegraph/utils/text-measure.d.ts +2 -2
  151. package/cjs/scenegraph/utils/text-measure.js +1 -1
  152. package/cjs/scenegraph/utils/text-measure.js.map +1 -1
  153. package/cjs/scenegraph/utils/text-pos.d.ts +1 -1
  154. package/cjs/scenegraph/utils/text-pos.js.map +1 -1
  155. package/cjs/state/spark-line/index.js +1 -1
  156. package/cjs/state/spark-line/index.js.map +1 -1
  157. package/cjs/state/state.d.ts +1 -1
  158. package/cjs/state/state.js.map +1 -1
  159. package/cjs/themes/ARCO.js +1 -2
  160. package/cjs/themes/BRIGHT.js +2 -1
  161. package/cjs/tools/NumberMap.js +1 -1
  162. package/cjs/ts-types/component/title.d.ts +1 -1
  163. package/cjs/ts-types/component/title.js.map +1 -1
  164. package/cjs/ts-types/events.d.ts +1 -1
  165. package/cjs/ts-types/events.js.map +1 -1
  166. package/cjs/vrender.d.ts +3 -0
  167. package/cjs/vrender.js +34 -0
  168. package/cjs/vrender.js.map +1 -0
  169. package/dist/vtable.js +111 -106
  170. package/dist/vtable.min.js +2 -2
  171. package/es/components/axis/label-overlap.js.map +1 -1
  172. package/es/core/BaseTable.js +1 -1
  173. package/es/core/BaseTable.js.map +1 -1
  174. package/es/core/style.js +1 -2
  175. package/es/core/tableHelper.d.ts +1 -1
  176. package/es/core/tableHelper.js +2 -1
  177. package/es/core/tableHelper.js.map +1 -1
  178. package/es/event/event.d.ts +1 -1
  179. package/es/event/event.js +1 -1
  180. package/es/event/event.js.map +1 -1
  181. package/es/event/listener/scroll-bar.js.map +1 -1
  182. package/es/event/listener/table-group.js +1 -1
  183. package/es/event/listener/table-group.js.map +1 -1
  184. package/es/event/listener/touch.js.map +1 -1
  185. package/es/event/media-click.js +1 -2
  186. package/es/event/pivot-chart/axis-click.js.map +1 -1
  187. package/es/event/scroll.js +2 -1
  188. package/es/event/util.d.ts +1 -1
  189. package/es/event/util.js.map +1 -1
  190. package/es/index.d.ts +2 -2
  191. package/es/index.js +2 -2
  192. package/es/index.js.map +1 -1
  193. package/es/render/jsx/index.d.ts +1 -1
  194. package/es/render/jsx/index.js +1 -1
  195. package/es/render/jsx/index.js.map +1 -1
  196. package/es/render/layout/arc.d.ts +2 -2
  197. package/es/render/layout/arc.js +1 -1
  198. package/es/render/layout/arc.js.map +1 -1
  199. package/es/render/layout/circle.d.ts +2 -2
  200. package/es/render/layout/circle.js +1 -1
  201. package/es/render/layout/circle.js.map +1 -1
  202. package/es/render/layout/container.d.ts +2 -2
  203. package/es/render/layout/container.js +1 -1
  204. package/es/render/layout/container.js.map +1 -1
  205. package/es/render/layout/group.d.ts +2 -2
  206. package/es/render/layout/group.js +1 -1
  207. package/es/render/layout/group.js.map +1 -1
  208. package/es/render/layout/icon.d.ts +2 -2
  209. package/es/render/layout/icon.js +1 -1
  210. package/es/render/layout/icon.js.map +1 -1
  211. package/es/render/layout/image.d.ts +2 -2
  212. package/es/render/layout/image.js +1 -1
  213. package/es/render/layout/image.js.map +1 -1
  214. package/es/render/layout/rect.d.ts +2 -2
  215. package/es/render/layout/rect.js +1 -1
  216. package/es/render/layout/rect.js.map +1 -1
  217. package/es/render/layout/text.d.ts +1 -1
  218. package/es/render/layout/text.js +1 -1
  219. package/es/render/layout/text.js.map +1 -1
  220. package/es/scenegraph/component/cell-content.d.ts +2 -2
  221. package/es/scenegraph/component/cell-content.js +1 -1
  222. package/es/scenegraph/component/cell-content.js.map +1 -1
  223. package/es/scenegraph/component/cell-mover.d.ts +1 -1
  224. package/es/scenegraph/component/cell-mover.js +1 -1
  225. package/es/scenegraph/component/cell-mover.js.map +1 -1
  226. package/es/scenegraph/component/custom.d.ts +1 -1
  227. package/es/scenegraph/component/custom.js +1 -1
  228. package/es/scenegraph/component/custom.js.map +1 -1
  229. package/es/scenegraph/component/drill-icon.js.map +1 -1
  230. package/es/scenegraph/component/menu.d.ts +1 -1
  231. package/es/scenegraph/component/menu.js +1 -1
  232. package/es/scenegraph/component/menu.js.map +1 -1
  233. package/es/scenegraph/component/table-component.d.ts +1 -1
  234. package/es/scenegraph/component/table-component.js +1 -1
  235. package/es/scenegraph/component/table-component.js.map +1 -1
  236. package/es/scenegraph/debug-tool/debug-tool.d.ts +1 -1
  237. package/es/scenegraph/debug-tool/debug-tool.js +1 -1
  238. package/es/scenegraph/debug-tool/debug-tool.js.map +1 -1
  239. package/es/scenegraph/debug-tool/index.d.ts +1 -1
  240. package/es/scenegraph/debug-tool/index.js.map +1 -1
  241. package/es/scenegraph/graphic/chart.d.ts +2 -2
  242. package/es/scenegraph/graphic/chart.js +1 -1
  243. package/es/scenegraph/graphic/chart.js.map +1 -1
  244. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  245. package/es/scenegraph/graphic/contributions/chart-render.d.ts +1 -1
  246. package/es/scenegraph/graphic/contributions/chart-render.js +1 -1
  247. package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  248. package/es/scenegraph/graphic/contributions/group-contribution-render.d.ts +2 -2
  249. package/es/scenegraph/graphic/contributions/group-contribution-render.js +1 -1
  250. package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
  251. package/es/scenegraph/graphic/contributions/image-contribution-render.d.ts +2 -2
  252. package/es/scenegraph/graphic/contributions/image-contribution-render.js +1 -1
  253. package/es/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -1
  254. package/es/scenegraph/graphic/contributions/index.d.ts +1 -1
  255. package/es/scenegraph/graphic/contributions/index.js +1 -1
  256. package/es/scenegraph/graphic/contributions/index.js.map +1 -1
  257. package/es/scenegraph/graphic/contributions/rect-contribution-render.d.ts +2 -2
  258. package/es/scenegraph/graphic/contributions/rect-contribution-render.js +1 -1
  259. package/es/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -1
  260. package/es/scenegraph/graphic/group.d.ts +2 -2
  261. package/es/scenegraph/graphic/group.js +1 -1
  262. package/es/scenegraph/graphic/group.js.map +1 -1
  263. package/es/scenegraph/graphic/icon.d.ts +2 -2
  264. package/es/scenegraph/graphic/icon.js +1 -1
  265. package/es/scenegraph/graphic/icon.js.map +1 -1
  266. package/es/scenegraph/graphic/text.d.ts +2 -2
  267. package/es/scenegraph/graphic/text.js +1 -1
  268. package/es/scenegraph/graphic/text.js.map +1 -1
  269. package/es/scenegraph/group-creater/cell-helper.d.ts +1 -1
  270. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  271. package/es/scenegraph/group-creater/cell-type/chart-cell.d.ts +1 -1
  272. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  273. package/es/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +1 -1
  274. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  275. package/es/scenegraph/group-creater/cell-type/image-cell.d.ts +1 -1
  276. package/es/scenegraph/group-creater/cell-type/image-cell.js +1 -1
  277. package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  278. package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js +1 -1
  279. package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -1
  280. package/es/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +1 -1
  281. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +1 -1
  282. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  283. package/es/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  284. package/es/scenegraph/group-creater/cell-type/text-cell.js +1 -1
  285. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  286. package/es/scenegraph/group-creater/cell-type/video-cell.d.ts +1 -1
  287. package/es/scenegraph/group-creater/cell-type/video-cell.js +1 -1
  288. package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  289. package/es/scenegraph/group-creater/column-helper.d.ts +1 -1
  290. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  291. package/es/scenegraph/icon/icon-update.js +1 -1
  292. package/es/scenegraph/icon/icon-update.js.map +1 -1
  293. package/es/scenegraph/layout/compute-col-width.js +1 -1
  294. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  295. package/es/scenegraph/layout/compute-row-height.js +1 -1
  296. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  297. package/es/scenegraph/layout/move-cell.js.map +1 -1
  298. package/es/scenegraph/layout/update-col.js.map +1 -1
  299. package/es/scenegraph/layout/update-height.js.map +1 -1
  300. package/es/scenegraph/layout/update-width.js.map +1 -1
  301. package/es/scenegraph/scenegraph.d.ts +1 -1
  302. package/es/scenegraph/scenegraph.js +1 -1
  303. package/es/scenegraph/scenegraph.js.map +1 -1
  304. package/es/scenegraph/select/create-select-border.js +1 -1
  305. package/es/scenegraph/select/create-select-border.js.map +1 -1
  306. package/es/scenegraph/select/delete-select-border.js.map +1 -1
  307. package/es/scenegraph/select/update-select-border.js.map +1 -1
  308. package/es/scenegraph/stick-text/index.js.map +1 -1
  309. package/es/scenegraph/style/corner-cell.js.map +1 -1
  310. package/es/scenegraph/style/frame-border.js +1 -1
  311. package/es/scenegraph/style/frame-border.js.map +1 -1
  312. package/es/scenegraph/utils/padding.js +1 -1
  313. package/es/scenegraph/utils/padding.js.map +1 -1
  314. package/es/scenegraph/utils/render-service.d.ts +1 -1
  315. package/es/scenegraph/utils/render-service.js +1 -1
  316. package/es/scenegraph/utils/render-service.js.map +1 -1
  317. package/es/scenegraph/utils/text-icon-layout.d.ts +1 -1
  318. package/es/scenegraph/utils/text-icon-layout.js +1 -1
  319. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  320. package/es/scenegraph/utils/text-measure.d.ts +2 -2
  321. package/es/scenegraph/utils/text-measure.js +1 -1
  322. package/es/scenegraph/utils/text-measure.js.map +1 -1
  323. package/es/scenegraph/utils/text-pos.d.ts +1 -1
  324. package/es/scenegraph/utils/text-pos.js.map +1 -1
  325. package/es/state/spark-line/index.js +1 -1
  326. package/es/state/spark-line/index.js.map +1 -1
  327. package/es/state/state.d.ts +1 -1
  328. package/es/state/state.js.map +1 -1
  329. package/es/themes/ARCO.js +1 -2
  330. package/es/themes/BRIGHT.js +2 -1
  331. package/es/tools/NumberMap.js +1 -1
  332. package/es/ts-types/component/title.d.ts +1 -1
  333. package/es/ts-types/component/title.js.map +1 -1
  334. package/es/ts-types/events.d.ts +1 -1
  335. package/es/ts-types/events.js.map +1 -1
  336. package/es/vrender.d.ts +3 -0
  337. package/es/vrender.js +18 -0
  338. package/es/vrender.js.map +1 -0
  339. package/package.json +7 -6
package/dist/vtable.js CHANGED
@@ -8004,7 +8004,7 @@
8004
8004
  const SYMBOL_NUMBER_TYPE = genNumberType();
8005
8005
  const TEXT_NUMBER_TYPE = genNumberType();
8006
8006
  const GraphicService = Symbol.for("GraphicService");
8007
- const GraphicCreator$2 = Symbol.for("GraphicCreator");
8007
+ const GraphicCreator$1 = Symbol.for("GraphicCreator");
8008
8008
  const SVG_PARSE_ATTRIBUTE_MAP = {
8009
8009
  "stroke-linecap": "lineCap",
8010
8010
  "stroke-linejoin": "lineJoin",
@@ -12230,9 +12230,9 @@
12230
12230
  return !!visible || (aabbBounds.clear(), !1);
12231
12231
  }
12232
12232
  };
12233
- DefaultGraphicService = __decorate$19([injectable(), __param$F(0, inject(GraphicCreator$2)), __metadata$S("design:paramtypes", [Object])], DefaultGraphicService);
12233
+ DefaultGraphicService = __decorate$19([injectable(), __param$F(0, inject(GraphicCreator$1)), __metadata$S("design:paramtypes", [Object])], DefaultGraphicService);
12234
12234
 
12235
- let GraphicCreator$1 = class GraphicCreator {
12235
+ class GraphicCreator {
12236
12236
  constructor() {
12237
12237
  this.store = new Map();
12238
12238
  }
@@ -12243,12 +12243,12 @@
12243
12243
  const cb = this.store.get(name);
12244
12244
  return cb ? cb(params) : null;
12245
12245
  }
12246
- };
12247
- const graphicCreator$1 = new GraphicCreator$1();
12246
+ }
12247
+ const graphicCreator = new GraphicCreator();
12248
12248
 
12249
- let text$1;
12250
- function getTextBounds$1(params) {
12251
- return text$1 || (text$1 = graphicCreator$1.CreateGraphic("text", {})), text$1.setAttributes(params), text$1.AABBBounds;
12249
+ let text;
12250
+ function getTextBounds(params) {
12251
+ return text || (text = graphicCreator.CreateGraphic("text", {})), text.setAttributes(params), text.AABBBounds;
12252
12252
  }
12253
12253
 
12254
12254
  const result = {
@@ -14767,7 +14767,7 @@
14767
14767
  });
14768
14768
 
14769
14769
  var graphicModule = new ContainerModule(bind => {
14770
- bind(GraphicService).to(DefaultGraphicService).inSingletonScope(), bind(GraphicCreator$2).toConstantValue(graphicCreator$1);
14770
+ bind(GraphicService).to(DefaultGraphicService).inSingletonScope(), bind(GraphicCreator$1).toConstantValue(graphicCreator);
14771
14771
  });
14772
14772
 
14773
14773
  const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
@@ -15258,7 +15258,7 @@
15258
15258
  getShadowRoot(interactiveLayer) {
15259
15259
  var _a;
15260
15260
  let group = interactiveLayer.getElementById("_interactive_group");
15261
- return group || (group = graphicCreator$1.CreateGraphic("group", {}), group.id = "_interactive_group", interactiveLayer.add(group)), null !== (_a = group.shadowRoot) && void 0 !== _a ? _a : group.attachShadow();
15261
+ return group || (group = graphicCreator.CreateGraphic("group", {}), group.id = "_interactive_group", interactiveLayer.add(group)), null !== (_a = group.shadowRoot) && void 0 !== _a ? _a : group.attachShadow();
15262
15262
  }
15263
15263
  }
15264
15264
  class Canvas3DDrawItemInterceptor {
@@ -17799,75 +17799,75 @@
17799
17799
  });
17800
17800
 
17801
17801
  function registerArcGraphic() {
17802
- graphicCreator$1.RegisterGraphicCreator("arc", createArc);
17802
+ graphicCreator.RegisterGraphicCreator("arc", createArc);
17803
17803
  }
17804
17804
 
17805
17805
  function registerArc3dGraphic() {
17806
- graphicCreator$1.RegisterGraphicCreator("arc3d", createArc3d);
17806
+ graphicCreator.RegisterGraphicCreator("arc3d", createArc3d);
17807
17807
  }
17808
17808
 
17809
17809
  function registerAreaGraphic() {
17810
- graphicCreator$1.RegisterGraphicCreator("area", createArea);
17810
+ graphicCreator.RegisterGraphicCreator("area", createArea);
17811
17811
  }
17812
17812
 
17813
17813
  function registerCircleGraphic() {
17814
- graphicCreator$1.RegisterGraphicCreator("circle", createCircle);
17814
+ graphicCreator.RegisterGraphicCreator("circle", createCircle);
17815
17815
  }
17816
17816
 
17817
17817
  function registerGlyphGraphic() {
17818
- graphicCreator$1.RegisterGraphicCreator("glyph", createGlyph);
17818
+ graphicCreator.RegisterGraphicCreator("glyph", createGlyph);
17819
17819
  }
17820
17820
 
17821
17821
  function registerGroupGraphic() {
17822
- graphicCreator$1.RegisterGraphicCreator("group", createGroup);
17822
+ graphicCreator.RegisterGraphicCreator("group", createGroup);
17823
17823
  }
17824
17824
 
17825
17825
  function registerImageGraphic() {
17826
- graphicCreator$1.RegisterGraphicCreator("image", createImage);
17826
+ graphicCreator.RegisterGraphicCreator("image", createImage);
17827
17827
  }
17828
17828
 
17829
17829
  function registerLineGraphic() {
17830
- graphicCreator$1.RegisterGraphicCreator("line", createLine);
17830
+ graphicCreator.RegisterGraphicCreator("line", createLine);
17831
17831
  }
17832
17832
 
17833
17833
  function registerPathGraphic() {
17834
- graphicCreator$1.RegisterGraphicCreator("path", createPath);
17834
+ graphicCreator.RegisterGraphicCreator("path", createPath);
17835
17835
  }
17836
17836
 
17837
17837
  function registerPolygonGraphic() {
17838
- graphicCreator$1.RegisterGraphicCreator("polygon", createPolygon);
17838
+ graphicCreator.RegisterGraphicCreator("polygon", createPolygon);
17839
17839
  }
17840
17840
 
17841
17841
  function registerPyramid3dGraphic() {
17842
- graphicCreator$1.RegisterGraphicCreator("pyramid3d", createPyramid3d);
17842
+ graphicCreator.RegisterGraphicCreator("pyramid3d", createPyramid3d);
17843
17843
  }
17844
17844
 
17845
17845
  function registerRectGraphic() {
17846
- graphicCreator$1.RegisterGraphicCreator("rect", createRect);
17846
+ graphicCreator.RegisterGraphicCreator("rect", createRect);
17847
17847
  }
17848
17848
 
17849
17849
  function registerRect3dGraphic() {
17850
- graphicCreator$1.RegisterGraphicCreator("rect3d", createRect3d);
17850
+ graphicCreator.RegisterGraphicCreator("rect3d", createRect3d);
17851
17851
  }
17852
17852
 
17853
17853
  function registerRichtextGraphic() {
17854
- graphicCreator$1.RegisterGraphicCreator("richtext", createRichText);
17854
+ graphicCreator.RegisterGraphicCreator("richtext", createRichText);
17855
17855
  }
17856
17856
 
17857
17857
  function registerSymbolGraphic() {
17858
- graphicCreator$1.RegisterGraphicCreator("symbol", createSymbol);
17858
+ graphicCreator.RegisterGraphicCreator("symbol", createSymbol);
17859
17859
  }
17860
17860
 
17861
17861
  function registerTextGraphic() {
17862
- graphicCreator$1.RegisterGraphicCreator("text", createText);
17862
+ graphicCreator.RegisterGraphicCreator("text", createText);
17863
17863
  }
17864
17864
 
17865
17865
  function registerShadowRootGraphic() {
17866
- graphicCreator$1.RegisterGraphicCreator("shadowRoot", createShadowRoot);
17866
+ graphicCreator.RegisterGraphicCreator("shadowRoot", createShadowRoot);
17867
17867
  }
17868
17868
 
17869
17869
  function registerWrapTextGraphic() {
17870
- graphicCreator$1.RegisterGraphicCreator("wrapText", createWrapText);
17870
+ graphicCreator.RegisterGraphicCreator("wrapText", createWrapText);
17871
17871
  }
17872
17872
 
17873
17873
  const REACT_TO_CANOPUS_EVENTS = {
@@ -17918,40 +17918,40 @@
17918
17918
  onDblClick: "dblclick"
17919
17919
  };
17920
17920
  function VArc(params) {
17921
- return graphicCreator$1.arc(params ? params.attribute : {});
17921
+ return graphicCreator.arc(params ? params.attribute : {});
17922
17922
  }
17923
17923
  function VArea(params) {
17924
- return graphicCreator$1.area(params ? params.attribute : {});
17924
+ return graphicCreator.area(params ? params.attribute : {});
17925
17925
  }
17926
17926
  function VCircle(params) {
17927
- return graphicCreator$1.circle(params ? params.attribute : {});
17927
+ return graphicCreator.circle(params ? params.attribute : {});
17928
17928
  }
17929
17929
  function VGroup(params) {
17930
- return graphicCreator$1.group(params ? params.attribute : {});
17930
+ return graphicCreator.group(params ? params.attribute : {});
17931
17931
  }
17932
17932
  function VGlyph(params) {
17933
- return graphicCreator$1.glyph(params ? params.attribute : {});
17933
+ return graphicCreator.glyph(params ? params.attribute : {});
17934
17934
  }
17935
17935
  function VImage(params) {
17936
- return graphicCreator$1.image(params ? params.attribute : {});
17936
+ return graphicCreator.image(params ? params.attribute : {});
17937
17937
  }
17938
17938
  function VLine(params) {
17939
- return graphicCreator$1.line(params ? params.attribute : {});
17939
+ return graphicCreator.line(params ? params.attribute : {});
17940
17940
  }
17941
17941
  function VPath(params) {
17942
- return graphicCreator$1.path(params ? params.attribute : {});
17942
+ return graphicCreator.path(params ? params.attribute : {});
17943
17943
  }
17944
17944
  function VPolygon(params) {
17945
- return graphicCreator$1.polygon(params ? params.attribute : {});
17945
+ return graphicCreator.polygon(params ? params.attribute : {});
17946
17946
  }
17947
17947
  function VRect(params) {
17948
- return graphicCreator$1.rect(params ? params.attribute : {});
17948
+ return graphicCreator.rect(params ? params.attribute : {});
17949
17949
  }
17950
17950
  function VSymbol(params) {
17951
- return graphicCreator$1.symbol(params ? params.attribute : {});
17951
+ return graphicCreator.symbol(params ? params.attribute : {});
17952
17952
  }
17953
17953
  function VText(params) {
17954
- return graphicCreator$1.text(params ? params.attribute : {});
17954
+ return graphicCreator.text(params ? params.attribute : {});
17955
17955
  }
17956
17956
 
17957
17957
  var __rest$4 = undefined && undefined.__rest || function (s, e) {
@@ -17976,7 +17976,7 @@
17976
17976
  } = _a,
17977
17977
  props = __rest$4(_a, ["key", "attribute", "stateProxy"]);
17978
17978
  let c = type;
17979
- isString$2(type) && (c = graphicCreator$1[type]);
17979
+ isString$2(type) && (c = graphicCreator[type]);
17980
17980
  const childrenList = [];
17981
17981
  for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
17982
17982
  children[_key - 2] = arguments[_key];
@@ -20958,7 +20958,31 @@
20958
20958
  loaded || (loaded = !0, registerWrapTextGraphic());
20959
20959
  }
20960
20960
 
20961
- preLoadAllModule(), isBrowserEnv() ? loadBrowserEnv(container) : isNodeEnv() && loadNodeEnv(container), registerArc(), registerArc3d(), registerArea(), registerCircle(), registerGlyph(), registerGroup(), registerImage(), registerLine(), registerPath(), registerPolygon(), registerPyramid3d(), registerRect(), registerRect3d(), registerRichtext(), registerShadowRoot(), registerSymbol(), registerText(), registerWrapText();
20961
+ preLoadAllModule();
20962
+ if (isBrowserEnv()) {
20963
+ loadBrowserEnv(container);
20964
+ }
20965
+ else if (isNodeEnv()) {
20966
+ loadNodeEnv(container);
20967
+ }
20968
+ registerArc();
20969
+ registerArc3d();
20970
+ registerArea();
20971
+ registerCircle();
20972
+ registerGlyph();
20973
+ registerGroup();
20974
+ registerImage();
20975
+ registerLine();
20976
+ registerPath();
20977
+ registerPolygon();
20978
+ registerPyramid3d();
20979
+ registerRect();
20980
+ registerRect3d();
20981
+ registerRichtext();
20982
+ registerShadowRoot();
20983
+ registerSymbol();
20984
+ registerText();
20985
+ registerWrapText();
20962
20986
 
20963
20987
  var InteractionState;
20964
20988
  (function (InteractionState) {
@@ -24278,7 +24302,7 @@
24278
24302
  width: 0,
24279
24303
  height: 0
24280
24304
  };
24281
- const bounds = getTextBounds$1({
24305
+ const bounds = getTextBounds({
24282
24306
  text: text,
24283
24307
  fontFamily: textSpec.fontFamily,
24284
24308
  fontSize: textSpec.fontSize || 12,
@@ -24926,7 +24950,7 @@
24926
24950
  }
24927
24951
  points.forEach((point, index) => {
24928
24952
  var _a, _b;
24929
- const line = graphicCreator$1.line(Object.assign(Object.assign({
24953
+ const line = graphicCreator.line(Object.assign(Object.assign({
24930
24954
  points: point
24931
24955
  }, isArray$1(lineStyle) ? null !== (_a = lineStyle[index]) && void 0 !== _a ? _a : lineStyle[lineStyle.length - 1] : lineStyle), {
24932
24956
  fill: !1
@@ -24934,7 +24958,7 @@
24934
24958
  line.name = `${this.name}-line`, line.id = this._getNodeId("line" + index), isEmpty(null == state ? void 0 : state.line) || (line.states = isArray$1(state.line) ? null !== (_b = state.line[index]) && void 0 !== _b ? _b : state.line[state.line.length - 1] : state.line), this.add(line);
24935
24959
  });
24936
24960
  } else {
24937
- const line = graphicCreator$1.polygon(Object.assign(Object.assign({
24961
+ const line = graphicCreator.polygon(Object.assign(Object.assign({
24938
24962
  points: this._clipPoints(this.attribute.points)
24939
24963
  }, array$1(lineStyle)[0]), {
24940
24964
  fill: !1,
@@ -24973,7 +24997,7 @@
24973
24997
  }, rotate = startAngle + Math.PI / 2) : (position = {
24974
24998
  x: end.x + (isValidNumber$1(endAngle) ? refX * Math.cos(endAngle) + refY * Math.cos(endAngle - Math.PI / 2) : 0),
24975
24999
  y: end.y + (isValidNumber$1(endAngle) ? refX * Math.sin(endAngle) + refY * Math.sin(endAngle - Math.PI / 2) : 0)
24976
- }, rotate = endAngle + Math.PI / 2), symbol = graphicCreator$1.symbol(Object.assign(Object.assign(Object.assign({}, position), {
25000
+ }, rotate = endAngle + Math.PI / 2), symbol = graphicCreator.symbol(Object.assign(Object.assign(Object.assign({}, position), {
24977
25001
  symbolType: symbolType,
24978
25002
  size: size,
24979
25003
  angle: autoRotate ? rotate + refAngle : 0,
@@ -25166,14 +25190,14 @@
25166
25190
  getBoundsWithoutRender(attributes) {
25167
25191
  const currentAttribute = cloneDeep(this.attribute);
25168
25192
  merge(this.attribute, attributes);
25169
- const offscreenGroup = graphicCreator$1.group({
25193
+ const offscreenGroup = graphicCreator.group({
25170
25194
  x: this.attribute.x,
25171
25195
  y: this.attribute.y
25172
25196
  });
25173
25197
  return this.add(offscreenGroup), this._renderInner(offscreenGroup), this.removeChild(offscreenGroup), this.attribute = currentAttribute, offscreenGroup.AABBBounds;
25174
25198
  }
25175
25199
  render() {
25176
- this.removeAllChild(), this._prevInnerView = this._innerView, this._innerView = graphicCreator$1.group({
25200
+ this.removeAllChild(), this._prevInnerView = this._innerView, this._innerView = graphicCreator.group({
25177
25201
  x: 0,
25178
25202
  y: 0,
25179
25203
  pickable: !1
@@ -25195,13 +25219,13 @@
25195
25219
  line: line,
25196
25220
  items: items
25197
25221
  } = this.attribute,
25198
- axisContainer = graphicCreator$1.group({
25222
+ axisContainer = graphicCreator.group({
25199
25223
  x: 0,
25200
25224
  y: 0,
25201
25225
  zIndex: 1
25202
25226
  });
25203
25227
  if (axisContainer.name = AXIS_ELEMENT_NAME.axisContainer, axisContainer.id = this._getNodeId("container"), axisContainer.setMode(this.mode), this.axisContainer = axisContainer, container.add(axisContainer), line && line.visible && this.renderLine(axisContainer), items && items.length && (this.data = this._transformItems(items[0]), tick && tick.visible && this.renderTicks(axisContainer), label && label.visible)) {
25204
- const labelGroup = graphicCreator$1.group({
25228
+ const labelGroup = graphicCreator.group({
25205
25229
  x: 0,
25206
25230
  y: 0,
25207
25231
  pickable: !1
@@ -25234,14 +25258,14 @@
25234
25258
  }
25235
25259
  renderTicks(container) {
25236
25260
  const tickLineItems = this.getTickLineItems(),
25237
- tickLineGroup = graphicCreator$1.group({
25261
+ tickLineGroup = graphicCreator.group({
25238
25262
  x: 0,
25239
25263
  y: 0,
25240
25264
  pickable: !1
25241
25265
  });
25242
25266
  tickLineGroup.name = AXIS_ELEMENT_NAME.tickContainer, tickLineGroup.id = this._getNodeId("tick-container"), container.add(tickLineGroup), tickLineItems.forEach((item, index) => {
25243
25267
  var _a;
25244
- const line = graphicCreator$1.line(Object.assign({}, this._getTickLineAttribute("tick", item, index, tickLineItems)));
25268
+ const line = graphicCreator.line(Object.assign({}, this._getTickLineAttribute("tick", item, index, tickLineItems)));
25245
25269
  if (line.name = AXIS_ELEMENT_NAME.tick, line.id = this._getNodeId(item.id), isEmpty(null === (_a = this.attribute.tick) || void 0 === _a ? void 0 : _a.state)) line.states = DEFAULT_STATES$2;else {
25246
25270
  const data = this.data[index],
25247
25271
  tickLineState = merge({}, DEFAULT_STATES$2, this.attribute.tick.state);
@@ -25257,7 +25281,7 @@
25257
25281
  if (subTick && subTick.visible) {
25258
25282
  const subTickLineItems = this.getSubTickLineItems();
25259
25283
  subTickLineItems.length && subTickLineItems.forEach((item, index) => {
25260
- const line = graphicCreator$1.line(Object.assign({}, this._getTickLineAttribute("subTick", item, index, tickLineItems)));
25284
+ const line = graphicCreator.line(Object.assign({}, this._getTickLineAttribute("subTick", item, index, tickLineItems)));
25261
25285
  if (line.name = AXIS_ELEMENT_NAME.subTick, line.id = this._getNodeId(`${index}`), isEmpty(subTick.state)) line.states = DEFAULT_STATES$2;else {
25262
25286
  const subTickLineState = merge({}, DEFAULT_STATES$2, subTick.state);
25263
25287
  Object.keys(subTickLineState).forEach(key => {
@@ -25274,7 +25298,7 @@
25274
25298
  } = this.attribute.label;
25275
25299
  dataFilter && isFunction$1(dataFilter) && (items = dataFilter(items, layer));
25276
25300
  const data = this._transformItems(items),
25277
- labelGroup = graphicCreator$1.group({
25301
+ labelGroup = graphicCreator.group({
25278
25302
  x: 0,
25279
25303
  y: 0,
25280
25304
  pickable: !1
@@ -25283,9 +25307,9 @@
25283
25307
  var _a, _b, _c;
25284
25308
  const labelStyle = this._getLabelAttribute(item, index, data, layer);
25285
25309
  let text;
25286
- if ("rich" === labelStyle.type ? (labelStyle.textConfig = labelStyle.text, labelStyle.width = null !== (_a = labelStyle.width) && void 0 !== _a ? _a : 0, labelStyle.height = null !== (_b = labelStyle.height) && void 0 !== _b ? _b : 0, text = graphicCreator$1.richtext(labelStyle)) : "html" === labelStyle.type ? (labelStyle.textConfig = [], labelStyle.html = Object.assign(Object.assign({
25310
+ if ("rich" === labelStyle.type ? (labelStyle.textConfig = labelStyle.text, labelStyle.width = null !== (_a = labelStyle.width) && void 0 !== _a ? _a : 0, labelStyle.height = null !== (_b = labelStyle.height) && void 0 !== _b ? _b : 0, text = graphicCreator.richtext(labelStyle)) : "html" === labelStyle.type ? (labelStyle.textConfig = [], labelStyle.html = Object.assign(Object.assign({
25287
25311
  dom: labelStyle.text
25288
- }, DEFAULT_HTML_TEXT_SPEC), labelStyle), text = graphicCreator$1.richtext(labelStyle)) : text = graphicCreator$1.text(labelStyle), text.name = AXIS_ELEMENT_NAME.label, text.id = this._getNodeId(`layer${layer}-label-${item.id}`), isEmpty(null === (_c = this.attribute.label) || void 0 === _c ? void 0 : _c.state)) text.states = DEFAULT_STATES$2;else {
25312
+ }, DEFAULT_HTML_TEXT_SPEC), labelStyle), text = graphicCreator.richtext(labelStyle)) : text = graphicCreator.text(labelStyle), text.name = AXIS_ELEMENT_NAME.label, text.id = this._getNodeId(`layer${layer}-label-${item.id}`), isEmpty(null === (_c = this.attribute.label) || void 0 === _c ? void 0 : _c.state)) text.states = DEFAULT_STATES$2;else {
25289
25313
  const labelState = merge({}, DEFAULT_STATES$2, this.attribute.label.state);
25290
25314
  Object.keys(labelState).forEach(key => {
25291
25315
  isFunction$1(labelState[key]) && (labelState[key] = labelState[key](item, index, data, layer));
@@ -25741,7 +25765,7 @@
25741
25765
  if (panel && panel.visible) {
25742
25766
  const axisContainer = this.axisContainer,
25743
25767
  axisContainerBounds = axisContainer.AABBBounds,
25744
- bgRect = graphicCreator$1.rect(Object.assign({
25768
+ bgRect = graphicCreator.rect(Object.assign({
25745
25769
  x: axisContainerBounds.x1,
25746
25770
  y: axisContainerBounds.y1,
25747
25771
  width: axisContainerBounds.width(),
@@ -26001,7 +26025,7 @@
26001
26025
  const minSize = this._getAxisLabelLimitLength(verticalMinSize, layerCount);
26002
26026
  let x, y;
26003
26027
  axisLabelContainerSize = Math.max(axisLabelContainerSize, minSize), "left" === orient ? (x = axisLabelContainerBounds.x2 - axisLabelContainerSize, y = axisLabelContainerBounds.y1) : "right" === orient ? (x = axisLabelContainerBounds.x1, y = axisLabelContainerBounds.y1) : "top" === orient ? (x = axisLabelContainerBounds.x1, y = axisLabelContainerBounds.y2 - axisLabelContainerSize) : "bottom" === orient && (x = axisLabelContainerBounds.x1, y = axisLabelContainerBounds.y1);
26004
- const bgRect = graphicCreator$1.rect({
26028
+ const bgRect = graphicCreator.rect({
26005
26029
  x: x,
26006
26030
  y: y,
26007
26031
  width: isHorizontal ? axisLabelContainerBounds.width() : axisLabelContainerSize,
@@ -26106,7 +26130,7 @@
26106
26130
  this._current = defaultCurrent;
26107
26131
  const parsedPadding = normalizePadding(padding),
26108
26132
  isHorizontal = "horizontal" === layout,
26109
- container = graphicCreator$1.group({
26133
+ container = graphicCreator.group({
26110
26134
  x: 0,
26111
26135
  y: 0
26112
26136
  }),
@@ -26119,7 +26143,7 @@
26119
26143
  nextShape: nextShape
26120
26144
  } = handler;
26121
26145
  preShape || (preShape = isHorizontal ? "triangleLeft" : "triangleUp"), nextShape || (nextShape = isHorizontal ? "triangleRight" : "triangleDown");
26122
- const preHandler = graphicCreator$1.symbol(Object.assign(Object.assign({
26146
+ const preHandler = graphicCreator.symbol(Object.assign(Object.assign({
26123
26147
  strokeBoundsBuffer: 0,
26124
26148
  pickMode: "imprecise"
26125
26149
  }, handlerStyle), {
@@ -26138,7 +26162,7 @@
26138
26162
  }, textStyle)),
26139
26163
  handlerSizeX = isNumber$3(handlerSize) ? handlerSize : handlerSize[0],
26140
26164
  handlerSizeY = isNumber$3(handlerSize) ? handlerSize : handlerSize[1],
26141
- text = graphicCreator$1.text(Object.assign({
26165
+ text = graphicCreator.text(Object.assign({
26142
26166
  x: isHorizontal ? handlerSizeX / 2 + handlerSpace + maxTextWidth / 2 : 0,
26143
26167
  y: isHorizontal ? 0 : handlerSizeY / 2 + handlerSpace + maxTextHeight / 2,
26144
26168
  text: `${defaultCurrent}/${total}`,
@@ -26147,7 +26171,7 @@
26147
26171
  lineHeight: null == textStyle ? void 0 : textStyle.fontSize
26148
26172
  }, textStyle));
26149
26173
  this.text = text, container.add(text);
26150
- const nextHandler = graphicCreator$1.symbol(Object.assign(Object.assign({
26174
+ const nextHandler = graphicCreator.symbol(Object.assign(Object.assign({
26151
26175
  strokeBoundsBuffer: 0,
26152
26176
  pickMode: "imprecise"
26153
26177
  }, handlerStyle), {
@@ -26210,7 +26234,7 @@
26210
26234
  padding = 0
26211
26235
  } = this.attribute,
26212
26236
  parsedPadding = normalizePadding(padding),
26213
- innerView = graphicCreator$1.group({
26237
+ innerView = graphicCreator.group({
26214
26238
  x: parsedPadding[3],
26215
26239
  y: parsedPadding[0],
26216
26240
  pickable: interactive,
@@ -26357,7 +26381,7 @@
26357
26381
  if (!1 === item.visible || isEmpty(items)) return;
26358
26382
  let legendItems = items;
26359
26383
  reversed && (legendItems = null == items ? void 0 : items.reverse());
26360
- const itemsContainer = graphicCreator$1.group({
26384
+ const itemsContainer = graphicCreator.group({
26361
26385
  x: 0,
26362
26386
  y: 0
26363
26387
  });
@@ -26434,15 +26458,15 @@
26434
26458
  backgroundStyle = this._handleStyle(background, item, isSelected, index, items),
26435
26459
  parsedPadding = normalizePadding(padding);
26436
26460
  let itemGroup;
26437
- !1 === background.visible ? (itemGroup = graphicCreator$1.group({
26461
+ !1 === background.visible ? (itemGroup = graphicCreator.group({
26438
26462
  x: 0,
26439
26463
  y: 0,
26440
26464
  cursor: null === (_a = backgroundStyle.style) || void 0 === _a ? void 0 : _a.cursor
26441
- }), this._appendDataToShape(itemGroup, LEGEND_ELEMENT_NAME.item, item, itemGroup)) : (itemGroup = graphicCreator$1.group(Object.assign({
26465
+ }), this._appendDataToShape(itemGroup, LEGEND_ELEMENT_NAME.item, item, itemGroup)) : (itemGroup = graphicCreator.group(Object.assign({
26442
26466
  x: 0,
26443
26467
  y: 0
26444
26468
  }, backgroundStyle.style)), this._appendDataToShape(itemGroup, LEGEND_ELEMENT_NAME.item, item, itemGroup, backgroundStyle.state)), itemGroup.id = `${null != id ? id : label}-${index}`, itemGroup.addState(isSelected ? LegendStateValue.selected : LegendStateValue.unSelected);
26445
- const innerGroup = graphicCreator$1.group({
26469
+ const innerGroup = graphicCreator.group({
26446
26470
  x: 0,
26447
26471
  y: 0,
26448
26472
  pickable: !1
@@ -26455,7 +26479,7 @@
26455
26479
  if (shapeAttr && !1 !== shapeAttr.visible) {
26456
26480
  const s = get$5(shapeStyle, "style.size", DEFAULT_SHAPE_SIZE);
26457
26481
  shapeSize = isArray$1(s) ? s[0] || 0 : s, shapeSpace = get$5(shapeAttr, "space", DEFAULT_SHAPE_SPACE);
26458
- const itemShape = graphicCreator$1.symbol(Object.assign(Object.assign({
26482
+ const itemShape = graphicCreator.symbol(Object.assign(Object.assign({
26459
26483
  x: 0,
26460
26484
  y: 0,
26461
26485
  symbolType: "circle",
@@ -26469,7 +26493,7 @@
26469
26493
  let focusSpace = 0;
26470
26494
  if (focus) {
26471
26495
  const focusSize = get$5(focusIconStyle, "size", DEFAULT_SHAPE_SIZE);
26472
- focusShape = graphicCreator$1.symbol(Object.assign(Object.assign({
26496
+ focusShape = graphicCreator.symbol(Object.assign(Object.assign({
26473
26497
  x: 0,
26474
26498
  y: -focusSize / 2 - 1,
26475
26499
  strokeBoundsBuffer: 0
@@ -26479,7 +26503,7 @@
26479
26503
  boundsPadding: parsedPadding
26480
26504
  })), this._appendDataToShape(focusShape, LEGEND_ELEMENT_NAME.focus, item, itemGroup), focusSpace = focusSize;
26481
26505
  }
26482
- const labelShape = graphicCreator$1.text(Object.assign(Object.assign({
26506
+ const labelShape = graphicCreator.text(Object.assign(Object.assign({
26483
26507
  x: shapeSize / 2 + shapeSpace,
26484
26508
  y: 0,
26485
26509
  textAlign: "start",
@@ -26492,7 +26516,7 @@
26492
26516
  const labelSpace = get$5(labelAttr, "space", DEFAULT_LABEL_SPACE);
26493
26517
  if (isValid$1(value)) {
26494
26518
  const valueSpace = get$5(valueAttr, "space", focus ? DEFAULT_VALUE_SPACE : 0),
26495
- valueShape = graphicCreator$1.text(Object.assign(Object.assign({
26519
+ valueShape = graphicCreator.text(Object.assign(Object.assign({
26496
26520
  x: 0,
26497
26521
  y: 0,
26498
26522
  textAlign: "start",
@@ -26599,7 +26623,7 @@
26599
26623
  });
26600
26624
  }
26601
26625
  pager.defaultCurrent > 1 && (isHorizontal ? itemsContainer.setAttribute("y", -(pager.defaultCurrent - 1) * (pageHeight + spaceRow)) : itemsContainer.setAttribute("x", -(pager.defaultCurrent - 1) * (pageWidth + spaceCol)));
26602
- const clipGroup = graphicCreator$1.group({
26626
+ const clipGroup = graphicCreator.group({
26603
26627
  x: 0,
26604
26628
  y: renderStartY,
26605
26629
  width: pageWidth,
@@ -27904,7 +27928,7 @@
27904
27928
  };
27905
27929
  const isHorizontal = "horizontal" === layout;
27906
27930
  this._isHorizontal = isHorizontal;
27907
- const innerView = graphicCreator$1.group({
27931
+ const innerView = graphicCreator.group({
27908
27932
  x: 0,
27909
27933
  y: 0
27910
27934
  });
@@ -27912,7 +27936,7 @@
27912
27936
  let startTextShape,
27913
27937
  startLen = 0;
27914
27938
  if (startText && startText.visible) {
27915
- startTextShape = graphicCreator$1.text(Object.assign({
27939
+ startTextShape = graphicCreator.text(Object.assign({
27916
27940
  x: isHorizontal ? 0 : railWidth / 2,
27917
27941
  y: isHorizontal ? railHeight / 2 : 0,
27918
27942
  textAlign: isHorizontal ? "start" : "center",
@@ -27923,19 +27947,19 @@
27923
27947
  const space = isValid$1(startText.space) ? startText.space : 0;
27924
27948
  startLen += (isHorizontal ? startTextShape.AABBBounds.width() : startTextShape.AABBBounds.height()) + space;
27925
27949
  }
27926
- const mainContainer = graphicCreator$1.group({
27950
+ const mainContainer = graphicCreator.group({
27927
27951
  x: isHorizontal ? startLen : 0,
27928
27952
  y: isHorizontal ? 0 : startLen
27929
27953
  });
27930
27954
  innerView.add(mainContainer);
27931
- const railContainer = graphicCreator$1.group({
27955
+ const railContainer = graphicCreator.group({
27932
27956
  x: 0,
27933
27957
  y: 0
27934
27958
  });
27935
27959
  let endTextShape;
27936
27960
  if (railContainer.name = SLIDER_ELEMENT_NAME.railContainer, this._railContainer = railContainer, mainContainer.add(railContainer), this._renderRail(railContainer), startLen += isHorizontal ? railWidth : railHeight, endText && endText.visible) {
27937
27961
  const space = isValid$1(endText.space) ? endText.space : 0;
27938
- endTextShape = graphicCreator$1.text(Object.assign({
27962
+ endTextShape = graphicCreator.text(Object.assign({
27939
27963
  x: isHorizontal ? startLen + space : railWidth / 2,
27940
27964
  y: isHorizontal ? railHeight / 2 : startLen + space,
27941
27965
  textAlign: isHorizontal ? "start" : "center",
@@ -27955,7 +27979,7 @@
27955
27979
  } = this.attribute;
27956
27980
  let cursor = "default";
27957
27981
  !1 !== slidable && (cursor = "pointer");
27958
- const railShape = graphicCreator$1.rect(Object.assign({
27982
+ const railShape = graphicCreator.rect(Object.assign({
27959
27983
  x: 0,
27960
27984
  y: 0,
27961
27985
  width: railWidth,
@@ -28031,7 +28055,7 @@
28031
28055
  const isHorizontal = this._isHorizontal,
28032
28056
  railLen = isHorizontal ? railWidth : railHeight;
28033
28057
  range || (startValue = min);
28034
- const trackContainer = graphicCreator$1.group({
28058
+ const trackContainer = graphicCreator.group({
28035
28059
  x: 0,
28036
28060
  y: 0,
28037
28061
  width: railWidth,
@@ -28046,7 +28070,7 @@
28046
28070
  cursor = !1 === slidable ? "default" : !1 === range || !1 === draggableTrack ? "pointer" : getDefaultCursor(isHorizontal);
28047
28071
  const trackWidth = max === min ? railLen : (endValue - startValue) / (max - min) * railLen,
28048
28072
  startPos = max === min ? 0 : (startValue - min) / (max - min) * railLen,
28049
- track = graphicCreator$1.rect(Object.assign({
28073
+ track = graphicCreator.rect(Object.assign({
28050
28074
  x: isHorizontal ? startPos : 0,
28051
28075
  y: isHorizontal ? 0 : startPos,
28052
28076
  width: isHorizontal ? trackWidth : railWidth,
@@ -28056,7 +28080,7 @@
28056
28080
  track.name = SLIDER_ELEMENT_NAME.track, this._track = track, trackContainer.add(track), container.add(trackContainer);
28057
28081
  }
28058
28082
  _renderHandler(style) {
28059
- return graphicCreator$1.symbol(style);
28083
+ return graphicCreator.symbol(style);
28060
28084
  }
28061
28085
  _renderHandlerText(value, position) {
28062
28086
  var _a, _b, _c;
@@ -28080,7 +28104,7 @@
28080
28104
  cursor: !1 === slidable ? "default" : getDefaultCursor(isHorizontal)
28081
28105
  };
28082
28106
  isHorizontal ? "top" === align ? (textStyle.textBaseline = "bottom", textStyle.textAlign = "center", textStyle.x = handlerStart, textStyle.y = (railHeight - handlerSize) / 2 - textSpace) : (textStyle.textBaseline = "top", textStyle.textAlign = "center", textStyle.x = handlerStart, textStyle.y = (railHeight + handlerSize) / 2 + textSpace) : "left" === align ? (textStyle.textBaseline = "middle", textStyle.textAlign = "end", textStyle.x = (railWidth - handlerSize) / 2 - textSpace, textStyle.y = handlerStart) : (textStyle.textBaseline = "middle", textStyle.textAlign = "start", textStyle.x = (railWidth + handlerSize) / 2 + textSpace, textStyle.y = handlerStart);
28083
- return graphicCreator$1.text(Object.assign(Object.assign({}, textStyle), handlerText.style));
28107
+ return graphicCreator.text(Object.assign(Object.assign({}, textStyle), handlerText.style));
28084
28108
  }
28085
28109
  _bindEvents() {
28086
28110
  if (this.attribute.disableTriggerEvent) return;
@@ -28423,7 +28447,7 @@
28423
28447
  sizeBackground: sizeBackground,
28424
28448
  disableTriggerEvent: disableTriggerEvent
28425
28449
  } = this.attribute,
28426
- mainContainer = graphicCreator$1.group({
28450
+ mainContainer = graphicCreator.group({
28427
28451
  x: 0,
28428
28452
  y: 0
28429
28453
  });
@@ -28461,7 +28485,7 @@
28461
28485
  let path,
28462
28486
  start = 0;
28463
28487
  "horizontal" === layout ? "top" === align ? (path = `M0,0L${railWidth},0L${railWidth},12Z`, start = railHeight) : (path = `M0,12L${railWidth},12L${railWidth},0Z`, slider.setAttribute("y", 12)) : "left" === align ? path = `M${railWidth},0L${railWidth},0L${railWidth + 12},${railHeight}L${railWidth},${railHeight}Z` : (path = `M0,${railHeight}L12,${railHeight}L12,0Z`, slider.setAttribute("x", 12));
28464
- const background = graphicCreator$1.path(Object.assign(Object.assign({
28488
+ const background = graphicCreator.path(Object.assign(Object.assign({
28465
28489
  x: 0,
28466
28490
  y: start,
28467
28491
  path: path
@@ -29391,25 +29415,6 @@
29391
29415
 
29392
29416
  const DEFAULT_CONTINUOUS_TICK_COUNT$1 = 5;
29393
29417
 
29394
- class GraphicCreator {
29395
- constructor() {
29396
- this.store = new Map();
29397
- }
29398
- RegisterGraphicCreator(name, cb) {
29399
- this.store.set(name, cb), this[name] = cb;
29400
- }
29401
- CreateGraphic(name, params) {
29402
- const cb = this.store.get(name);
29403
- return cb ? cb(params) : null;
29404
- }
29405
- }
29406
- const graphicCreator = new GraphicCreator();
29407
-
29408
- let text;
29409
- function getTextBounds(params) {
29410
- return text || (text = graphicCreator.CreateGraphic("text", {})), text.setAttributes(params), text.AABBBounds;
29411
- }
29412
-
29413
29418
  const initTextMeasure$1 = (textSpec, option, useNaiveCanvas, defaultFontParams) => new TextMeasure(Object.assign({
29414
29419
  defaultFontParams: Object.assign({
29415
29420
  fontFamily: "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol",
@@ -42269,7 +42274,7 @@
42269
42274
  fontFamily: DefaultTextStyle.fontFamily,
42270
42275
  fontSize: DefaultTextStyle.fontSize
42271
42276
  },
42272
- getTextBounds: useNaiveCanvas ? undefined : getTextBounds$1,
42277
+ getTextBounds: useNaiveCanvas ? undefined : getTextBounds,
42273
42278
  specialCharSet: `{}()//&-/: .,@%'"~…${TextMeasure.ALPHABET_CHAR_SET}${TextMeasure.ALPHABET_CHAR_SET.toUpperCase()}0123456789`,
42274
42279
  ...(option ?? {})
42275
42280
  }, textSpec);
@@ -50300,7 +50305,7 @@
50300
50305
  return TABLE_EVENT_TYPE;
50301
50306
  }
50302
50307
  options;
50303
- version = "0.17.9";
50308
+ version = "0.17.10-alpha.0";
50304
50309
  pagination;
50305
50310
  id = `VTable${Date.now()}`;
50306
50311
  headerStyleCache;
@@ -61273,7 +61278,7 @@
61273
61278
  return new Tag$1(params ? params.attribute : {});
61274
61279
  }
61275
61280
 
61276
- const version = "0.17.9";
61281
+ const version = "0.17.10-alpha.0";
61277
61282
  function getIcons() {
61278
61283
  return get$2();
61279
61284
  }