k-vtable 1.0.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 (2044) hide show
  1. package/README.md +151 -0
  2. package/cjs/ListTable-all.d.ts +3 -0
  3. package/cjs/ListTable-all.js +20 -0
  4. package/cjs/ListTable-all.js.map +1 -0
  5. package/cjs/ListTable-simple.d.ts +3 -0
  6. package/cjs/ListTable-simple.js +14 -0
  7. package/cjs/ListTable-simple.js.map +1 -0
  8. package/cjs/ListTable.d.ts +101 -0
  9. package/cjs/ListTable.js +682 -0
  10. package/cjs/ListTable.js.map +1 -0
  11. package/cjs/PivotChart.d.ts +100 -0
  12. package/cjs/PivotChart.js +755 -0
  13. package/cjs/PivotChart.js.map +1 -0
  14. package/cjs/PivotTable-all.d.ts +3 -0
  15. package/cjs/PivotTable-all.js +19 -0
  16. package/cjs/PivotTable-all.js.map +1 -0
  17. package/cjs/PivotTable-simple.d.ts +3 -0
  18. package/cjs/PivotTable-simple.js +14 -0
  19. package/cjs/PivotTable-simple.js.map +1 -0
  20. package/cjs/PivotTable.d.ts +112 -0
  21. package/cjs/PivotTable.js +992 -0
  22. package/cjs/PivotTable.js.map +1 -0
  23. package/cjs/body-helper/body-helper.d.ts +20 -0
  24. package/cjs/body-helper/body-helper.js +121 -0
  25. package/cjs/body-helper/body-helper.js.map +1 -0
  26. package/cjs/body-helper/style/ButtonStyle.d.ts +45 -0
  27. package/cjs/body-helper/style/ButtonStyle.js +110 -0
  28. package/cjs/body-helper/style/ButtonStyle.js.map +1 -0
  29. package/cjs/body-helper/style/CheckboxStyle.d.ts +42 -0
  30. package/cjs/body-helper/style/CheckboxStyle.js +104 -0
  31. package/cjs/body-helper/style/CheckboxStyle.js.map +1 -0
  32. package/cjs/body-helper/style/ImageStyle.d.ts +7 -0
  33. package/cjs/body-helper/style/ImageStyle.js +24 -0
  34. package/cjs/body-helper/style/ImageStyle.js.map +1 -0
  35. package/cjs/body-helper/style/MultilineTextStyle.d.ts +13 -0
  36. package/cjs/body-helper/style/MultilineTextStyle.js +38 -0
  37. package/cjs/body-helper/style/MultilineTextStyle.js.map +1 -0
  38. package/cjs/body-helper/style/NumberStyle.d.ts +7 -0
  39. package/cjs/body-helper/style/NumberStyle.js +24 -0
  40. package/cjs/body-helper/style/NumberStyle.js.map +1 -0
  41. package/cjs/body-helper/style/ProgressBarStyle.d.ts +55 -0
  42. package/cjs/body-helper/style/ProgressBarStyle.js +139 -0
  43. package/cjs/body-helper/style/ProgressBarStyle.js.map +1 -0
  44. package/cjs/body-helper/style/RadioStyle.d.ts +45 -0
  45. package/cjs/body-helper/style/RadioStyle.js +111 -0
  46. package/cjs/body-helper/style/RadioStyle.js.map +1 -0
  47. package/cjs/body-helper/style/Style.d.ts +95 -0
  48. package/cjs/body-helper/style/Style.js +225 -0
  49. package/cjs/body-helper/style/Style.js.map +1 -0
  50. package/cjs/body-helper/style/SwitchStyle.d.ts +36 -0
  51. package/cjs/body-helper/style/SwitchStyle.js +90 -0
  52. package/cjs/body-helper/style/SwitchStyle.js.map +1 -0
  53. package/cjs/body-helper/style.d.ts +11 -0
  54. package/cjs/body-helper/style.js +52 -0
  55. package/cjs/body-helper/style.js.map +1 -0
  56. package/cjs/chartModule.d.ts +3 -0
  57. package/cjs/chartModule.js +14 -0
  58. package/cjs/chartModule.js.map +1 -0
  59. package/cjs/components/axis/axis.d.ts +52 -0
  60. package/cjs/components/axis/axis.js +190 -0
  61. package/cjs/components/axis/axis.js.map +1 -0
  62. package/cjs/components/axis/band-scale.d.ts +18 -0
  63. package/cjs/components/axis/band-scale.js +54 -0
  64. package/cjs/components/axis/band-scale.js.map +1 -0
  65. package/cjs/components/axis/get-axis-attributes.d.ts +146 -0
  66. package/cjs/components/axis/get-axis-attributes.js +199 -0
  67. package/cjs/components/axis/get-axis-attributes.js.map +1 -0
  68. package/cjs/components/axis/get-axis-component-size.d.ts +6 -0
  69. package/cjs/components/axis/get-axis-component-size.js +138 -0
  70. package/cjs/components/axis/get-axis-component-size.js.map +1 -0
  71. package/cjs/components/axis/label-overlap.d.ts +3 -0
  72. package/cjs/components/axis/label-overlap.js +64 -0
  73. package/cjs/components/axis/label-overlap.js.map +1 -0
  74. package/cjs/components/axis/linear-scale.d.ts +48 -0
  75. package/cjs/components/axis/linear-scale.js +136 -0
  76. package/cjs/components/axis/linear-scale.js.map +1 -0
  77. package/cjs/components/empty-tip/empty-tip.d.ts +25 -0
  78. package/cjs/components/empty-tip/empty-tip.js +102 -0
  79. package/cjs/components/empty-tip/empty-tip.js.map +1 -0
  80. package/cjs/components/index.d.ts +6 -0
  81. package/cjs/components/index.js +44 -0
  82. package/cjs/components/index.js.map +1 -0
  83. package/cjs/components/legend/continue-legend/continue-legend.d.ts +24 -0
  84. package/cjs/components/legend/continue-legend/continue-legend.js +98 -0
  85. package/cjs/components/legend/continue-legend/continue-legend.js.map +1 -0
  86. package/cjs/components/legend/continue-legend/get-continue-legend-attributes.d.ts +5 -0
  87. package/cjs/components/legend/continue-legend/get-continue-legend-attributes.js +139 -0
  88. package/cjs/components/legend/continue-legend/get-continue-legend-attributes.js.map +1 -0
  89. package/cjs/components/legend/create-legend.d.ts +6 -0
  90. package/cjs/components/legend/create-legend.js +14 -0
  91. package/cjs/components/legend/create-legend.js.map +1 -0
  92. package/cjs/components/legend/discrete-legend/discrete-legend.d.ts +25 -0
  93. package/cjs/components/legend/discrete-legend/discrete-legend.js +115 -0
  94. package/cjs/components/legend/discrete-legend/discrete-legend.js.map +1 -0
  95. package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.d.ts +5 -0
  96. package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.js +90 -0
  97. package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.js.map +1 -0
  98. package/cjs/components/menu/dom/BaseMenu.d.ts +16 -0
  99. package/cjs/components/menu/dom/BaseMenu.js +33 -0
  100. package/cjs/components/menu/dom/BaseMenu.js.map +1 -0
  101. package/cjs/components/menu/dom/Menu.d.ts +9 -0
  102. package/cjs/components/menu/dom/Menu.js +24 -0
  103. package/cjs/components/menu/dom/Menu.js.map +1 -0
  104. package/cjs/components/menu/dom/MenuHandler.d.ts +24 -0
  105. package/cjs/components/menu/dom/MenuHandler.js +148 -0
  106. package/cjs/components/menu/dom/MenuHandler.js.map +1 -0
  107. package/cjs/components/menu/dom/logic/MenuContainer.d.ts +21 -0
  108. package/cjs/components/menu/dom/logic/MenuContainer.js +105 -0
  109. package/cjs/components/menu/dom/logic/MenuContainer.js.map +1 -0
  110. package/cjs/components/menu/dom/logic/MenuElement.d.ts +26 -0
  111. package/cjs/components/menu/dom/logic/MenuElement.js +287 -0
  112. package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -0
  113. package/cjs/components/menu/dom/logic/MenuElementStyle.d.ts +1 -0
  114. package/cjs/components/menu/dom/logic/MenuElementStyle.js +17 -0
  115. package/cjs/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
  116. package/cjs/components/react/react-custom-layout.d.ts +27 -0
  117. package/cjs/components/react/react-custom-layout.js +179 -0
  118. package/cjs/components/react/react-custom-layout.js.map +1 -0
  119. package/cjs/components/title/title.d.ts +21 -0
  120. package/cjs/components/title/title.js +89 -0
  121. package/cjs/components/title/title.js.map +1 -0
  122. package/cjs/components/tooltip/BaseTooltip.d.ts +22 -0
  123. package/cjs/components/tooltip/BaseTooltip.js +35 -0
  124. package/cjs/components/tooltip/BaseTooltip.js.map +1 -0
  125. package/cjs/components/tooltip/Tooltip.d.ts +5 -0
  126. package/cjs/components/tooltip/Tooltip.js +16 -0
  127. package/cjs/components/tooltip/Tooltip.js.map +1 -0
  128. package/cjs/components/tooltip/TooltipHandler.d.ts +31 -0
  129. package/cjs/components/tooltip/TooltipHandler.js +132 -0
  130. package/cjs/components/tooltip/TooltipHandler.js.map +1 -0
  131. package/cjs/components/tooltip/logic/BubbleTooltipElement.d.ts +34 -0
  132. package/cjs/components/tooltip/logic/BubbleTooltipElement.js +163 -0
  133. package/cjs/components/tooltip/logic/BubbleTooltipElement.js.map +1 -0
  134. package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.d.ts +1 -0
  135. package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js +17 -0
  136. package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -0
  137. package/cjs/components/util/orient.d.ts +3 -0
  138. package/cjs/components/util/orient.js +14 -0
  139. package/cjs/components/util/orient.js.map +1 -0
  140. package/cjs/components/util/register.d.ts +3 -0
  141. package/cjs/components/util/register.js +15 -0
  142. package/cjs/components/util/register.js.map +1 -0
  143. package/cjs/components/util/transform.d.ts +5 -0
  144. package/cjs/components/util/transform.js +45 -0
  145. package/cjs/components/util/transform.js.map +1 -0
  146. package/cjs/core/BaseTable.d.ts +436 -0
  147. package/cjs/core/BaseTable.js +1866 -0
  148. package/cjs/core/BaseTable.js.map +1 -0
  149. package/cjs/core/FouseInput.d.ts +12 -0
  150. package/cjs/core/FouseInput.js +41 -0
  151. package/cjs/core/FouseInput.js.map +1 -0
  152. package/cjs/core/TABLE_EVENT_TYPE.d.ts +61 -0
  153. package/cjs/core/TABLE_EVENT_TYPE.js +65 -0
  154. package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -0
  155. package/cjs/core/animation.d.ts +17 -0
  156. package/cjs/core/animation.js +61 -0
  157. package/cjs/core/animation.js.map +1 -0
  158. package/cjs/core/factory.d.ts +11 -0
  159. package/cjs/core/factory.js +29 -0
  160. package/cjs/core/factory.js.map +1 -0
  161. package/cjs/core/group-helper.d.ts +6 -0
  162. package/cjs/core/group-helper.js +22 -0
  163. package/cjs/core/group-helper.js.map +1 -0
  164. package/cjs/core/record-helper.d.ts +8 -0
  165. package/cjs/core/record-helper.js +428 -0
  166. package/cjs/core/record-helper.js.map +1 -0
  167. package/cjs/core/row-series-number-helper.d.ts +8 -0
  168. package/cjs/core/row-series-number-helper.js +46 -0
  169. package/cjs/core/row-series-number-helper.js.map +1 -0
  170. package/cjs/core/style-helper.d.ts +3 -0
  171. package/cjs/core/style-helper.js +110 -0
  172. package/cjs/core/style-helper.js.map +1 -0
  173. package/cjs/core/style.d.ts +1 -0
  174. package/cjs/core/style.js +17 -0
  175. package/cjs/core/style.js.map +1 -0
  176. package/cjs/core/tableHelper.d.ts +45 -0
  177. package/cjs/core/tableHelper.js +287 -0
  178. package/cjs/core/tableHelper.js.map +1 -0
  179. package/cjs/core/utils/get-cell-position.d.ts +12 -0
  180. package/cjs/core/utils/get-cell-position.js +214 -0
  181. package/cjs/core/utils/get-cell-position.js.map +1 -0
  182. package/cjs/core/utils/get-custom-merge-cell-func.d.ts +2 -0
  183. package/cjs/core/utils/get-custom-merge-cell-func.js +14 -0
  184. package/cjs/core/utils/get-custom-merge-cell-func.js.map +1 -0
  185. package/cjs/core.d.ts +3 -0
  186. package/cjs/core.js +15 -0
  187. package/cjs/core.js.map +1 -0
  188. package/cjs/data/CachedDataSource.d.ts +36 -0
  189. package/cjs/data/CachedDataSource.js +259 -0
  190. package/cjs/data/CachedDataSource.js.map +1 -0
  191. package/cjs/data/DataSource.d.ts +129 -0
  192. package/cjs/data/DataSource.js +758 -0
  193. package/cjs/data/DataSource.js.map +1 -0
  194. package/cjs/data.d.ts +4 -0
  195. package/cjs/data.js +24 -0
  196. package/cjs/data.js.map +1 -0
  197. package/cjs/dataset/DataStatistics.d.ts +10 -0
  198. package/cjs/dataset/DataStatistics.js +81 -0
  199. package/cjs/dataset/DataStatistics.js.map +1 -0
  200. package/cjs/dataset/dataset-pivot-table.d.ts +60 -0
  201. package/cjs/dataset/dataset-pivot-table.js +349 -0
  202. package/cjs/dataset/dataset-pivot-table.js.map +1 -0
  203. package/cjs/dataset/dataset.d.ts +108 -0
  204. package/cjs/dataset/dataset.js +810 -0
  205. package/cjs/dataset/dataset.js.map +1 -0
  206. package/cjs/dataset/flatDataToObject.d.ts +46 -0
  207. package/cjs/dataset/flatDataToObject.js +133 -0
  208. package/cjs/dataset/flatDataToObject.js.map +1 -0
  209. package/cjs/edit/edit-manager.d.ts +19 -0
  210. package/cjs/edit/edit-manager.js +124 -0
  211. package/cjs/edit/edit-manager.js.map +1 -0
  212. package/cjs/edit/editors.d.ts +5 -0
  213. package/cjs/edit/editors.js +10 -0
  214. package/cjs/edit/editors.js.map +1 -0
  215. package/cjs/event/EventHandler.d.ts +47 -0
  216. package/cjs/event/EventHandler.js +128 -0
  217. package/cjs/event/EventHandler.js.map +1 -0
  218. package/cjs/event/EventTarget.d.ts +12 -0
  219. package/cjs/event/EventTarget.js +67 -0
  220. package/cjs/event/EventTarget.js.map +1 -0
  221. package/cjs/event/component/button.d.ts +2 -0
  222. package/cjs/event/component/button.js +21 -0
  223. package/cjs/event/component/button.js.map +1 -0
  224. package/cjs/event/drill.d.ts +5 -0
  225. package/cjs/event/drill.js +38 -0
  226. package/cjs/event/drill.js.map +1 -0
  227. package/cjs/event/event.d.ts +63 -0
  228. package/cjs/event/event.js +208 -0
  229. package/cjs/event/event.js.map +1 -0
  230. package/cjs/event/helper.d.ts +2 -0
  231. package/cjs/event/helper.js +35 -0
  232. package/cjs/event/helper.js.map +1 -0
  233. package/cjs/event/listener/container-dom.d.ts +2 -0
  234. package/cjs/event/listener/container-dom.js +343 -0
  235. package/cjs/event/listener/container-dom.js.map +1 -0
  236. package/cjs/event/listener/scroll-bar.d.ts +2 -0
  237. package/cjs/event/listener/scroll-bar.js +80 -0
  238. package/cjs/event/listener/scroll-bar.js.map +1 -0
  239. package/cjs/event/listener/table-group.d.ts +6 -0
  240. package/cjs/event/listener/table-group.js +519 -0
  241. package/cjs/event/listener/table-group.js.map +1 -0
  242. package/cjs/event/listener/touch.d.ts +2 -0
  243. package/cjs/event/listener/touch.js +84 -0
  244. package/cjs/event/listener/touch.js.map +1 -0
  245. package/cjs/event/media-click.d.ts +2 -0
  246. package/cjs/event/media-click.js +85 -0
  247. package/cjs/event/media-click.js.map +1 -0
  248. package/cjs/event/scroll.d.ts +20 -0
  249. package/cjs/event/scroll.js +92 -0
  250. package/cjs/event/scroll.js.map +1 -0
  251. package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.d.ts +2 -0
  252. package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.js +31 -0
  253. package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.js.map +1 -0
  254. package/cjs/event/self-event-listener/base-table/dropdown-menu.d.ts +2 -0
  255. package/cjs/event/self-event-listener/base-table/dropdown-menu.js +16 -0
  256. package/cjs/event/self-event-listener/base-table/dropdown-menu.js.map +1 -0
  257. package/cjs/event/self-event-listener/base-table/icon.d.ts +2 -0
  258. package/cjs/event/self-event-listener/base-table/icon.js +23 -0
  259. package/cjs/event/self-event-listener/base-table/icon.js.map +1 -0
  260. package/cjs/event/self-event-listener/base-table/right-button-click.d.ts +2 -0
  261. package/cjs/event/self-event-listener/base-table/right-button-click.js +25 -0
  262. package/cjs/event/self-event-listener/base-table/right-button-click.js.map +1 -0
  263. package/cjs/event/self-event-listener/list-table/checkbox.d.ts +3 -0
  264. package/cjs/event/self-event-listener/list-table/checkbox.js +124 -0
  265. package/cjs/event/self-event-listener/list-table/checkbox.js.map +1 -0
  266. package/cjs/event/self-event-listener/pivot-chart/axis-click.d.ts +2 -0
  267. package/cjs/event/self-event-listener/pivot-chart/axis-click.js +43 -0
  268. package/cjs/event/self-event-listener/pivot-chart/axis-click.js.map +1 -0
  269. package/cjs/event/self-event-listener/pivot-chart/axis-hover.d.ts +2 -0
  270. package/cjs/event/self-event-listener/pivot-chart/axis-hover.js +41 -0
  271. package/cjs/event/self-event-listener/pivot-chart/axis-hover.js.map +1 -0
  272. package/cjs/event/self-event-listener/pivot-table/drill.d.ts +1 -0
  273. package/cjs/event/self-event-listener/pivot-table/drill.js +3 -0
  274. package/cjs/event/self-event-listener/pivot-table/drill.js.map +1 -0
  275. package/cjs/event/sparkline-event.d.ts +2 -0
  276. package/cjs/event/sparkline-event.js +27 -0
  277. package/cjs/event/sparkline-event.js.map +1 -0
  278. package/cjs/event/util.d.ts +20 -0
  279. package/cjs/event/util.js +46 -0
  280. package/cjs/event/util.js.map +1 -0
  281. package/cjs/header-helper/header-helper.d.ts +29 -0
  282. package/cjs/header-helper/header-helper.js +272 -0
  283. package/cjs/header-helper/header-helper.js.map +1 -0
  284. package/cjs/header-helper/style/CheckboxStyle.d.ts +42 -0
  285. package/cjs/header-helper/style/CheckboxStyle.js +104 -0
  286. package/cjs/header-helper/style/CheckboxStyle.js.map +1 -0
  287. package/cjs/header-helper/style/ImageStyle.d.ts +7 -0
  288. package/cjs/header-helper/style/ImageStyle.js +25 -0
  289. package/cjs/header-helper/style/ImageStyle.js.map +1 -0
  290. package/cjs/header-helper/style/MultilineTextHeaderStyle.d.ts +13 -0
  291. package/cjs/header-helper/style/MultilineTextHeaderStyle.js +38 -0
  292. package/cjs/header-helper/style/MultilineTextHeaderStyle.js.map +1 -0
  293. package/cjs/header-helper/style/SortHeaderStyle.d.ts +1 -0
  294. package/cjs/header-helper/style/SortHeaderStyle.js +3 -0
  295. package/cjs/header-helper/style/SortHeaderStyle.js.map +1 -0
  296. package/cjs/header-helper/style/Style.d.ts +95 -0
  297. package/cjs/header-helper/style/Style.js +226 -0
  298. package/cjs/header-helper/style/Style.js.map +1 -0
  299. package/cjs/header-helper/style.d.ts +6 -0
  300. package/cjs/header-helper/style.js +35 -0
  301. package/cjs/header-helper/style.js.map +1 -0
  302. package/cjs/icons.d.ts +5 -0
  303. package/cjs/icons.js +299 -0
  304. package/cjs/icons.js.map +1 -0
  305. package/cjs/index.d.ts +33 -0
  306. package/cjs/index.js +215 -0
  307. package/cjs/index.js.map +1 -0
  308. package/cjs/layout/cell-range/simple-cell-range.d.ts +4 -0
  309. package/cjs/layout/cell-range/simple-cell-range.js +148 -0
  310. package/cjs/layout/cell-range/simple-cell-range.js.map +1 -0
  311. package/cjs/layout/chart-helper/get-axis-config.d.ts +39 -0
  312. package/cjs/layout/chart-helper/get-axis-config.js +398 -0
  313. package/cjs/layout/chart-helper/get-axis-config.js.map +1 -0
  314. package/cjs/layout/chart-helper/get-axis-domain.d.ts +11 -0
  315. package/cjs/layout/chart-helper/get-axis-domain.js +49 -0
  316. package/cjs/layout/chart-helper/get-axis-domain.js.map +1 -0
  317. package/cjs/layout/chart-helper/get-chart-spec.d.ts +13 -0
  318. package/cjs/layout/chart-helper/get-chart-spec.js +287 -0
  319. package/cjs/layout/chart-helper/get-chart-spec.js.map +1 -0
  320. package/cjs/layout/chart-helper/tick-align.d.ts +12 -0
  321. package/cjs/layout/chart-helper/tick-align.js +23 -0
  322. package/cjs/layout/chart-helper/tick-align.js.map +1 -0
  323. package/cjs/layout/chart-helper/zero-align.d.ts +10 -0
  324. package/cjs/layout/chart-helper/zero-align.js +119 -0
  325. package/cjs/layout/chart-helper/zero-align.js.map +1 -0
  326. package/cjs/layout/index.d.ts +1 -0
  327. package/cjs/layout/index.js +14 -0
  328. package/cjs/layout/index.js.map +1 -0
  329. package/cjs/layout/layout-helper.d.ts +20 -0
  330. package/cjs/layout/layout-helper.js +154 -0
  331. package/cjs/layout/layout-helper.js.map +1 -0
  332. package/cjs/layout/pivot-header-layout.d.ts +279 -0
  333. package/cjs/layout/pivot-header-layout.js +1845 -0
  334. package/cjs/layout/pivot-header-layout.js.map +1 -0
  335. package/cjs/layout/pivot-layout.d.ts +1 -0
  336. package/cjs/layout/pivot-layout.js +1 -0
  337. package/cjs/layout/pivot-layout.js.map +1 -0
  338. package/cjs/layout/row-height-map.d.ts +34 -0
  339. package/cjs/layout/row-height-map.js +176 -0
  340. package/cjs/layout/row-height-map.js.map +1 -0
  341. package/cjs/layout/simple-header-layout.d.ts +153 -0
  342. package/cjs/layout/simple-header-layout.js +779 -0
  343. package/cjs/layout/simple-header-layout.js.map +1 -0
  344. package/cjs/layout/tree-helper.d.ts +71 -0
  345. package/cjs/layout/tree-helper.js +405 -0
  346. package/cjs/layout/tree-helper.js.map +1 -0
  347. package/cjs/plugins/chartModules.d.ts +3 -0
  348. package/cjs/plugins/chartModules.js +6 -0
  349. package/cjs/plugins/chartModules.js.map +1 -0
  350. package/cjs/plugins/custom-cell-style.d.ts +26 -0
  351. package/cjs/plugins/custom-cell-style.js +113 -0
  352. package/cjs/plugins/custom-cell-style.js.map +1 -0
  353. package/cjs/plugins/icons.d.ts +12 -0
  354. package/cjs/plugins/icons.js +26 -0
  355. package/cjs/plugins/icons.js.map +1 -0
  356. package/cjs/plugins/invert-highlight.d.ts +1 -0
  357. package/cjs/plugins/invert-highlight.js +23 -0
  358. package/cjs/plugins/invert-highlight.js.map +1 -0
  359. package/cjs/plugins/list-tree-stick-cell.d.ts +18 -0
  360. package/cjs/plugins/list-tree-stick-cell.js +180 -0
  361. package/cjs/plugins/list-tree-stick-cell.js.map +1 -0
  362. package/cjs/plugins/themes.d.ts +4 -0
  363. package/cjs/plugins/themes.js +6 -0
  364. package/cjs/plugins/themes.js.map +1 -0
  365. package/cjs/register.d.ts +15 -0
  366. package/cjs/register.js +45 -0
  367. package/cjs/register.js.map +1 -0
  368. package/cjs/render/jsx/index.d.ts +8 -0
  369. package/cjs/render/jsx/index.js +91 -0
  370. package/cjs/render/jsx/index.js.map +1 -0
  371. package/cjs/render/layout/arc.d.ts +12 -0
  372. package/cjs/render/layout/arc.js +18 -0
  373. package/cjs/render/layout/arc.js.map +1 -0
  374. package/cjs/render/layout/circle.d.ts +12 -0
  375. package/cjs/render/layout/circle.js +18 -0
  376. package/cjs/render/layout/circle.js.map +1 -0
  377. package/cjs/render/layout/container.d.ts +14 -0
  378. package/cjs/render/layout/container.js +27 -0
  379. package/cjs/render/layout/container.js.map +1 -0
  380. package/cjs/render/layout/direction.d.ts +22 -0
  381. package/cjs/render/layout/direction.js +35 -0
  382. package/cjs/render/layout/direction.js.map +1 -0
  383. package/cjs/render/layout/element.d.ts +43 -0
  384. package/cjs/render/layout/element.js +27 -0
  385. package/cjs/render/layout/element.js.map +1 -0
  386. package/cjs/render/layout/group-element.d.ts +5 -0
  387. package/cjs/render/layout/group-element.js +16 -0
  388. package/cjs/render/layout/group-element.js.map +1 -0
  389. package/cjs/render/layout/group.d.ts +12 -0
  390. package/cjs/render/layout/group.js +18 -0
  391. package/cjs/render/layout/group.js.map +1 -0
  392. package/cjs/render/layout/icon.d.ts +21 -0
  393. package/cjs/render/layout/icon.js +50 -0
  394. package/cjs/render/layout/icon.js.map +1 -0
  395. package/cjs/render/layout/image.d.ts +14 -0
  396. package/cjs/render/layout/image.js +19 -0
  397. package/cjs/render/layout/image.js.map +1 -0
  398. package/cjs/render/layout/index.d.ts +13 -0
  399. package/cjs/render/layout/index.js +41 -0
  400. package/cjs/render/layout/index.js.map +1 -0
  401. package/cjs/render/layout/line.d.ts +1 -0
  402. package/cjs/render/layout/line.js +15 -0
  403. package/cjs/render/layout/line.js.map +1 -0
  404. package/cjs/render/layout/percent-calc.d.ts +5 -0
  405. package/cjs/render/layout/percent-calc.js +13 -0
  406. package/cjs/render/layout/percent-calc.js.map +1 -0
  407. package/cjs/render/layout/rect.d.ts +12 -0
  408. package/cjs/render/layout/rect.js +18 -0
  409. package/cjs/render/layout/rect.js.map +1 -0
  410. package/cjs/render/layout/tag.d.ts +14 -0
  411. package/cjs/render/layout/tag.js +21 -0
  412. package/cjs/render/layout/tag.js.map +1 -0
  413. package/cjs/render/layout/text.d.ts +13 -0
  414. package/cjs/render/layout/text.js +23 -0
  415. package/cjs/render/layout/text.js.map +1 -0
  416. package/cjs/scenegraph/animation/appear.d.ts +2 -0
  417. package/cjs/scenegraph/animation/appear.js +26 -0
  418. package/cjs/scenegraph/animation/appear.js.map +1 -0
  419. package/cjs/scenegraph/component/cell-content.d.ts +36 -0
  420. package/cjs/scenegraph/component/cell-content.js +109 -0
  421. package/cjs/scenegraph/component/cell-content.js.map +1 -0
  422. package/cjs/scenegraph/component/cell-mover.d.ts +21 -0
  423. package/cjs/scenegraph/component/cell-mover.js +119 -0
  424. package/cjs/scenegraph/component/cell-mover.js.map +1 -0
  425. package/cjs/scenegraph/component/custom.d.ts +16 -0
  426. package/cjs/scenegraph/component/custom.js +309 -0
  427. package/cjs/scenegraph/component/custom.js.map +1 -0
  428. package/cjs/scenegraph/component/drill-icon.d.ts +9 -0
  429. package/cjs/scenegraph/component/drill-icon.js +70 -0
  430. package/cjs/scenegraph/component/drill-icon.js.map +1 -0
  431. package/cjs/scenegraph/component/menu.d.ts +41 -0
  432. package/cjs/scenegraph/component/menu.js +217 -0
  433. package/cjs/scenegraph/component/menu.js.map +1 -0
  434. package/cjs/scenegraph/component/table-component.d.ts +52 -0
  435. package/cjs/scenegraph/component/table-component.js +560 -0
  436. package/cjs/scenegraph/component/table-component.js.map +1 -0
  437. package/cjs/scenegraph/component/util.d.ts +3 -0
  438. package/cjs/scenegraph/component/util.js +18 -0
  439. package/cjs/scenegraph/component/util.js.map +1 -0
  440. package/cjs/scenegraph/debug-tool/debug-tool.d.ts +34 -0
  441. package/cjs/scenegraph/debug-tool/debug-tool.js +125 -0
  442. package/cjs/scenegraph/debug-tool/debug-tool.js.map +1 -0
  443. package/cjs/scenegraph/debug-tool/index.d.ts +4 -0
  444. package/cjs/scenegraph/debug-tool/index.js +14 -0
  445. package/cjs/scenegraph/debug-tool/index.js.map +1 -0
  446. package/cjs/scenegraph/graphic/chart.d.ts +47 -0
  447. package/cjs/scenegraph/graphic/chart.js +129 -0
  448. package/cjs/scenegraph/graphic/chart.js.map +1 -0
  449. package/cjs/scenegraph/graphic/contributions/chart-render-helper.d.ts +11 -0
  450. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +166 -0
  451. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -0
  452. package/cjs/scenegraph/graphic/contributions/chart-render.d.ts +11 -0
  453. package/cjs/scenegraph/graphic/contributions/chart-render.js +74 -0
  454. package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -0
  455. package/cjs/scenegraph/graphic/contributions/draw-interceptor.d.ts +13 -0
  456. package/cjs/scenegraph/graphic/contributions/draw-interceptor.js +92 -0
  457. package/cjs/scenegraph/graphic/contributions/draw-interceptor.js.map +1 -0
  458. package/cjs/scenegraph/graphic/contributions/group-contribution-render.d.ts +79 -0
  459. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +341 -0
  460. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -0
  461. package/cjs/scenegraph/graphic/contributions/image-contribution-render.d.ts +38 -0
  462. package/cjs/scenegraph/graphic/contributions/image-contribution-render.js +75 -0
  463. package/cjs/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -0
  464. package/cjs/scenegraph/graphic/contributions/index.d.ts +3 -0
  465. package/cjs/scenegraph/graphic/contributions/index.js +46 -0
  466. package/cjs/scenegraph/graphic/contributions/index.js.map +1 -0
  467. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.d.ts +18 -0
  468. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js +91 -0
  469. package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -0
  470. package/cjs/scenegraph/graphic/contributions/text-contribution-render.d.ts +12 -0
  471. package/cjs/scenegraph/graphic/contributions/text-contribution-render.js +72 -0
  472. package/cjs/scenegraph/graphic/contributions/text-contribution-render.js.map +1 -0
  473. package/cjs/scenegraph/graphic/group.d.ts +37 -0
  474. package/cjs/scenegraph/graphic/group.js +135 -0
  475. package/cjs/scenegraph/graphic/group.js.map +1 -0
  476. package/cjs/scenegraph/graphic/icon.d.ts +47 -0
  477. package/cjs/scenegraph/graphic/icon.js +78 -0
  478. package/cjs/scenegraph/graphic/icon.js.map +1 -0
  479. package/cjs/scenegraph/graphic/mark.d.ts +4 -0
  480. package/cjs/scenegraph/graphic/mark.js +74 -0
  481. package/cjs/scenegraph/graphic/mark.js.map +1 -0
  482. package/cjs/scenegraph/graphic/text.d.ts +2 -0
  483. package/cjs/scenegraph/graphic/text.js +15 -0
  484. package/cjs/scenegraph/graphic/text.js.map +1 -0
  485. package/cjs/scenegraph/group-creater/cell-helper.d.ts +16 -0
  486. package/cjs/scenegraph/group-creater/cell-helper.js +325 -0
  487. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -0
  488. package/cjs/scenegraph/group-creater/cell-type/button-cell.d.ts +6 -0
  489. package/cjs/scenegraph/group-creater/cell-type/button-cell.js +146 -0
  490. package/cjs/scenegraph/group-creater/cell-type/button-cell.js.map +1 -0
  491. package/cjs/scenegraph/group-creater/cell-type/chart-cell.d.ts +5 -0
  492. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +100 -0
  493. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -0
  494. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +6 -0
  495. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js +143 -0
  496. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
  497. package/cjs/scenegraph/group-creater/cell-type/image-cell.d.ts +15 -0
  498. package/cjs/scenegraph/group-creater/cell-type/image-cell.js +234 -0
  499. package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -0
  500. package/cjs/scenegraph/group-creater/cell-type/index.d.ts +10 -0
  501. package/cjs/scenegraph/group-creater/cell-type/index.js +67 -0
  502. package/cjs/scenegraph/group-creater/cell-type/index.js.map +1 -0
  503. package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.d.ts +11 -0
  504. package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js +390 -0
  505. package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -0
  506. package/cjs/scenegraph/group-creater/cell-type/radio-cell.d.ts +6 -0
  507. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js +150 -0
  508. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -0
  509. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +5 -0
  510. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +201 -0
  511. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -0
  512. package/cjs/scenegraph/group-creater/cell-type/switch-cell.d.ts +6 -0
  513. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js +152 -0
  514. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -0
  515. package/cjs/scenegraph/group-creater/cell-type/text-cell.d.ts +6 -0
  516. package/cjs/scenegraph/group-creater/cell-type/text-cell.js +66 -0
  517. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -0
  518. package/cjs/scenegraph/group-creater/cell-type/video-cell.d.ts +6 -0
  519. package/cjs/scenegraph/group-creater/cell-type/video-cell.js +139 -0
  520. package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -0
  521. package/cjs/scenegraph/group-creater/column-helper.d.ts +14 -0
  522. package/cjs/scenegraph/group-creater/column-helper.js +142 -0
  523. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -0
  524. package/cjs/scenegraph/group-creater/column.d.ts +4 -0
  525. package/cjs/scenegraph/group-creater/column.js +31 -0
  526. package/cjs/scenegraph/group-creater/column.js.map +1 -0
  527. package/cjs/scenegraph/group-creater/init-scenegraph.d.ts +2 -0
  528. package/cjs/scenegraph/group-creater/init-scenegraph.js +58 -0
  529. package/cjs/scenegraph/group-creater/init-scenegraph.js.map +1 -0
  530. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.d.ts +3 -0
  531. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +53 -0
  532. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
  533. package/cjs/scenegraph/group-creater/progress/default-width-height.d.ts +3 -0
  534. package/cjs/scenegraph/group-creater/progress/default-width-height.js +24 -0
  535. package/cjs/scenegraph/group-creater/progress/default-width-height.js.map +1 -0
  536. package/cjs/scenegraph/group-creater/progress/proxy.d.ts +79 -0
  537. package/cjs/scenegraph/group-creater/progress/proxy.js +341 -0
  538. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -0
  539. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +4 -0
  540. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +173 -0
  541. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -0
  542. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +4 -0
  543. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +190 -0
  544. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -0
  545. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
  546. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js +62 -0
  547. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
  548. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
  549. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js +75 -0
  550. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
  551. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.d.ts +2 -0
  552. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.js +37 -0
  553. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.js.map +1 -0
  554. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.d.ts +2 -0
  555. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.js +47 -0
  556. package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.js.map +1 -0
  557. package/cjs/scenegraph/group-creater/progress/update-position/util.d.ts +8 -0
  558. package/cjs/scenegraph/group-creater/progress/update-position/util.js +98 -0
  559. package/cjs/scenegraph/group-creater/progress/update-position/util.js.map +1 -0
  560. package/cjs/scenegraph/icon/icon-update.d.ts +28 -0
  561. package/cjs/scenegraph/icon/icon-update.js +188 -0
  562. package/cjs/scenegraph/icon/icon-update.js.map +1 -0
  563. package/cjs/scenegraph/layout/compute-col-width.d.ts +4 -0
  564. package/cjs/scenegraph/layout/compute-col-width.js +344 -0
  565. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -0
  566. package/cjs/scenegraph/layout/compute-row-height.d.ts +3 -0
  567. package/cjs/scenegraph/layout/compute-row-height.js +335 -0
  568. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -0
  569. package/cjs/scenegraph/layout/frozen-react.d.ts +5 -0
  570. package/cjs/scenegraph/layout/frozen-react.js +91 -0
  571. package/cjs/scenegraph/layout/frozen-react.js.map +1 -0
  572. package/cjs/scenegraph/layout/frozen.d.ts +6 -0
  573. package/cjs/scenegraph/layout/frozen.js +330 -0
  574. package/cjs/scenegraph/layout/frozen.js.map +1 -0
  575. package/cjs/scenegraph/layout/height-util.d.ts +7 -0
  576. package/cjs/scenegraph/layout/height-util.js +127 -0
  577. package/cjs/scenegraph/layout/height-util.js.map +1 -0
  578. package/cjs/scenegraph/layout/move-cell.d.ts +2 -0
  579. package/cjs/scenegraph/layout/move-cell.js +50 -0
  580. package/cjs/scenegraph/layout/move-cell.js.map +1 -0
  581. package/cjs/scenegraph/layout/update-col.d.ts +3 -0
  582. package/cjs/scenegraph/layout/update-col.js +207 -0
  583. package/cjs/scenegraph/layout/update-col.js.map +1 -0
  584. package/cjs/scenegraph/layout/update-height.d.ts +6 -0
  585. package/cjs/scenegraph/layout/update-height.js +146 -0
  586. package/cjs/scenegraph/layout/update-height.js.map +1 -0
  587. package/cjs/scenegraph/layout/update-row.d.ts +3 -0
  588. package/cjs/scenegraph/layout/update-row.js +284 -0
  589. package/cjs/scenegraph/layout/update-row.js.map +1 -0
  590. package/cjs/scenegraph/layout/update-width.d.ts +2 -0
  591. package/cjs/scenegraph/layout/update-width.js +238 -0
  592. package/cjs/scenegraph/layout/update-width.js.map +1 -0
  593. package/cjs/scenegraph/refresh-node/update-chart.d.ts +7 -0
  594. package/cjs/scenegraph/refresh-node/update-chart.js +201 -0
  595. package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -0
  596. package/cjs/scenegraph/scenegraph.d.ts +182 -0
  597. package/cjs/scenegraph/scenegraph.js +898 -0
  598. package/cjs/scenegraph/scenegraph.js.map +1 -0
  599. package/cjs/scenegraph/select/create-select-border.d.ts +3 -0
  600. package/cjs/scenegraph/select/create-select-border.js +60 -0
  601. package/cjs/scenegraph/select/create-select-border.js.map +1 -0
  602. package/cjs/scenegraph/select/delete-select-border.d.ts +5 -0
  603. package/cjs/scenegraph/select/delete-select-border.js +37 -0
  604. package/cjs/scenegraph/select/delete-select-border.js.map +1 -0
  605. package/cjs/scenegraph/select/move-select-border.d.ts +2 -0
  606. package/cjs/scenegraph/select/move-select-border.js +15 -0
  607. package/cjs/scenegraph/select/move-select-border.js.map +1 -0
  608. package/cjs/scenegraph/select/update-select-border.d.ts +8 -0
  609. package/cjs/scenegraph/select/update-select-border.js +272 -0
  610. package/cjs/scenegraph/select/update-select-border.js.map +1 -0
  611. package/cjs/scenegraph/select/update-select-style.d.ts +3 -0
  612. package/cjs/scenegraph/select/update-select-style.js +13 -0
  613. package/cjs/scenegraph/select/update-select-style.js.map +1 -0
  614. package/cjs/scenegraph/stick-text/index.d.ts +3 -0
  615. package/cjs/scenegraph/stick-text/index.js +189 -0
  616. package/cjs/scenegraph/stick-text/index.js.map +1 -0
  617. package/cjs/scenegraph/style/corner-cell.d.ts +3 -0
  618. package/cjs/scenegraph/style/corner-cell.js +28 -0
  619. package/cjs/scenegraph/style/corner-cell.js.map +1 -0
  620. package/cjs/scenegraph/style/frame-border.d.ts +8 -0
  621. package/cjs/scenegraph/style/frame-border.js +144 -0
  622. package/cjs/scenegraph/style/frame-border.js.map +1 -0
  623. package/cjs/scenegraph/utils/border-line.d.ts +8 -0
  624. package/cjs/scenegraph/utils/border-line.js +51 -0
  625. package/cjs/scenegraph/utils/border-line.js.map +1 -0
  626. package/cjs/scenegraph/utils/break-string.d.ts +5 -0
  627. package/cjs/scenegraph/utils/break-string.js +24 -0
  628. package/cjs/scenegraph/utils/break-string.js.map +1 -0
  629. package/cjs/scenegraph/utils/cell-border-stroke-width.d.ts +3 -0
  630. package/cjs/scenegraph/utils/cell-border-stroke-width.js +21 -0
  631. package/cjs/scenegraph/utils/cell-border-stroke-width.js.map +1 -0
  632. package/cjs/scenegraph/utils/cell-pos.d.ts +4 -0
  633. package/cjs/scenegraph/utils/cell-pos.js +18 -0
  634. package/cjs/scenegraph/utils/cell-pos.js.map +1 -0
  635. package/cjs/scenegraph/utils/deal-promise-data.d.ts +2 -0
  636. package/cjs/scenegraph/utils/deal-promise-data.js +12 -0
  637. package/cjs/scenegraph/utils/deal-promise-data.js.map +1 -0
  638. package/cjs/scenegraph/utils/empty-group.d.ts +2 -0
  639. package/cjs/scenegraph/utils/empty-group.js +10 -0
  640. package/cjs/scenegraph/utils/empty-group.js.map +1 -0
  641. package/cjs/scenegraph/utils/font.d.ts +1 -0
  642. package/cjs/scenegraph/utils/font.js +20 -0
  643. package/cjs/scenegraph/utils/font.js.map +1 -0
  644. package/cjs/scenegraph/utils/get-cell-merge.d.ts +3 -0
  645. package/cjs/scenegraph/utils/get-cell-merge.js +17 -0
  646. package/cjs/scenegraph/utils/get-cell-merge.js.map +1 -0
  647. package/cjs/scenegraph/utils/get-hierarchy-offset.d.ts +2 -0
  648. package/cjs/scenegraph/utils/get-hierarchy-offset.js +27 -0
  649. package/cjs/scenegraph/utils/get-hierarchy-offset.js.map +1 -0
  650. package/cjs/scenegraph/utils/get-prop.d.ts +4 -0
  651. package/cjs/scenegraph/utils/get-prop.js +44 -0
  652. package/cjs/scenegraph/utils/get-prop.js.map +1 -0
  653. package/cjs/scenegraph/utils/icon.d.ts +12 -0
  654. package/cjs/scenegraph/utils/icon.js +35 -0
  655. package/cjs/scenegraph/utils/icon.js.map +1 -0
  656. package/cjs/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
  657. package/cjs/scenegraph/utils/is-merge-cell-group.js +16 -0
  658. package/cjs/scenegraph/utils/is-merge-cell-group.js.map +1 -0
  659. package/cjs/scenegraph/utils/keep-aspect-ratio.d.ts +4 -0
  660. package/cjs/scenegraph/utils/keep-aspect-ratio.js +17 -0
  661. package/cjs/scenegraph/utils/keep-aspect-ratio.js.map +1 -0
  662. package/cjs/scenegraph/utils/padding.d.ts +6 -0
  663. package/cjs/scenegraph/utils/padding.js +21 -0
  664. package/cjs/scenegraph/utils/padding.js.map +1 -0
  665. package/cjs/scenegraph/utils/render-service.d.ts +7 -0
  666. package/cjs/scenegraph/utils/render-service.js +27 -0
  667. package/cjs/scenegraph/utils/render-service.js.map +1 -0
  668. package/cjs/scenegraph/utils/text-icon-layout.d.ts +29 -0
  669. package/cjs/scenegraph/utils/text-icon-layout.js +335 -0
  670. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -0
  671. package/cjs/scenegraph/utils/text-measure.d.ts +38 -0
  672. package/cjs/scenegraph/utils/text-measure.js +166 -0
  673. package/cjs/scenegraph/utils/text-measure.js.map +1 -0
  674. package/cjs/scenegraph/utils/text-pos.d.ts +8 -0
  675. package/cjs/scenegraph/utils/text-pos.js +27 -0
  676. package/cjs/scenegraph/utils/text-pos.js.map +1 -0
  677. package/cjs/scenegraph/utils/update-container.d.ts +2 -0
  678. package/cjs/scenegraph/utils/update-container.js +12 -0
  679. package/cjs/scenegraph/utils/update-container.js.map +1 -0
  680. package/cjs/state/cell-move/adjust-header.d.ts +3 -0
  681. package/cjs/state/cell-move/adjust-header.js +26 -0
  682. package/cjs/state/cell-move/adjust-header.js.map +1 -0
  683. package/cjs/state/cell-move/index.d.ts +4 -0
  684. package/cjs/state/cell-move/index.js +112 -0
  685. package/cjs/state/cell-move/index.js.map +1 -0
  686. package/cjs/state/checkbox/checkbox.d.ts +12 -0
  687. package/cjs/state/checkbox/checkbox.js +210 -0
  688. package/cjs/state/checkbox/checkbox.js.map +1 -0
  689. package/cjs/state/common/check-in-select.d.ts +7 -0
  690. package/cjs/state/common/check-in-select.js +63 -0
  691. package/cjs/state/common/check-in-select.js.map +1 -0
  692. package/cjs/state/drill/index.d.ts +2 -0
  693. package/cjs/state/drill/index.js +15 -0
  694. package/cjs/state/drill/index.js.map +1 -0
  695. package/cjs/state/frozen/index.d.ts +2 -0
  696. package/cjs/state/frozen/index.js +10 -0
  697. package/cjs/state/frozen/index.js.map +1 -0
  698. package/cjs/state/hover/col.d.ts +4 -0
  699. package/cjs/state/hover/col.js +24 -0
  700. package/cjs/state/hover/col.js.map +1 -0
  701. package/cjs/state/hover/is-cell-hover.d.ts +5 -0
  702. package/cjs/state/hover/is-cell-hover.js +49 -0
  703. package/cjs/state/hover/is-cell-hover.js.map +1 -0
  704. package/cjs/state/hover/row.d.ts +4 -0
  705. package/cjs/state/hover/row.js +22 -0
  706. package/cjs/state/hover/row.js.map +1 -0
  707. package/cjs/state/hover/single.d.ts +4 -0
  708. package/cjs/state/hover/single.js +18 -0
  709. package/cjs/state/hover/single.js.map +1 -0
  710. package/cjs/state/hover/update-cell.d.ts +2 -0
  711. package/cjs/state/hover/update-cell.js +24 -0
  712. package/cjs/state/hover/update-cell.js.map +1 -0
  713. package/cjs/state/hover/update-position.d.ts +2 -0
  714. package/cjs/state/hover/update-position.js +44 -0
  715. package/cjs/state/hover/update-position.js.map +1 -0
  716. package/cjs/state/radio/radio.d.ts +7 -0
  717. package/cjs/state/radio/radio.js +96 -0
  718. package/cjs/state/radio/radio.js.map +1 -0
  719. package/cjs/state/resize/update-resize-column.d.ts +2 -0
  720. package/cjs/state/resize/update-resize-column.js +85 -0
  721. package/cjs/state/resize/update-resize-column.js.map +1 -0
  722. package/cjs/state/resize/update-resize-row.d.ts +2 -0
  723. package/cjs/state/resize/update-resize-row.js +64 -0
  724. package/cjs/state/resize/update-resize-row.js.map +1 -0
  725. package/cjs/state/select/custom-select.d.ts +7 -0
  726. package/cjs/state/select/custom-select.js +36 -0
  727. package/cjs/state/select/custom-select.js.map +1 -0
  728. package/cjs/state/select/is-cell-select-highlight.d.ts +6 -0
  729. package/cjs/state/select/is-cell-select-highlight.js +88 -0
  730. package/cjs/state/select/is-cell-select-highlight.js.map +1 -0
  731. package/cjs/state/select/update-position.d.ts +4 -0
  732. package/cjs/state/select/update-position.js +308 -0
  733. package/cjs/state/select/update-position.js.map +1 -0
  734. package/cjs/state/sort/index.d.ts +2 -0
  735. package/cjs/state/sort/index.js +56 -0
  736. package/cjs/state/sort/index.js.map +1 -0
  737. package/cjs/state/spark-line/index.d.ts +3 -0
  738. package/cjs/state/spark-line/index.js +102 -0
  739. package/cjs/state/spark-line/index.js.map +1 -0
  740. package/cjs/state/state.d.ts +206 -0
  741. package/cjs/state/state.js +796 -0
  742. package/cjs/state/state.js.map +1 -0
  743. package/cjs/themes/ARCO.d.ts +3 -0
  744. package/cjs/themes/ARCO.js +113 -0
  745. package/cjs/themes/ARCO.js.map +1 -0
  746. package/cjs/themes/BRIGHT.d.ts +3 -0
  747. package/cjs/themes/BRIGHT.js +70 -0
  748. package/cjs/themes/BRIGHT.js.map +1 -0
  749. package/cjs/themes/DARK.d.ts +3 -0
  750. package/cjs/themes/DARK.js +103 -0
  751. package/cjs/themes/DARK.js.map +1 -0
  752. package/cjs/themes/DEFAULT.d.ts +3 -0
  753. package/cjs/themes/DEFAULT.js +86 -0
  754. package/cjs/themes/DEFAULT.js.map +1 -0
  755. package/cjs/themes/SIMPLIFY.d.ts +3 -0
  756. package/cjs/themes/SIMPLIFY.js +53 -0
  757. package/cjs/themes/SIMPLIFY.js.map +1 -0
  758. package/cjs/themes/component.d.ts +35 -0
  759. package/cjs/themes/component.js +47 -0
  760. package/cjs/themes/component.js.map +1 -0
  761. package/cjs/themes/theme.d.ts +67 -0
  762. package/cjs/themes/theme.js +777 -0
  763. package/cjs/themes/theme.js.map +1 -0
  764. package/cjs/themes.d.ts +28 -0
  765. package/cjs/themes.js +57 -0
  766. package/cjs/themes.js.map +1 -0
  767. package/cjs/tools/LimitPromiseQueue.d.ts +8 -0
  768. package/cjs/tools/LimitPromiseQueue.js +29 -0
  769. package/cjs/tools/LimitPromiseQueue.js.map +1 -0
  770. package/cjs/tools/NumberMap.d.ts +23 -0
  771. package/cjs/tools/NumberMap.js +123 -0
  772. package/cjs/tools/NumberMap.js.map +1 -0
  773. package/cjs/tools/Rect.d.ts +24 -0
  774. package/cjs/tools/Rect.js +70 -0
  775. package/cjs/tools/Rect.js.map +1 -0
  776. package/cjs/tools/calc.d.ts +8 -0
  777. package/cjs/tools/calc.js +205 -0
  778. package/cjs/tools/calc.js.map +1 -0
  779. package/cjs/tools/cell-range.d.ts +2 -0
  780. package/cjs/tools/cell-range.js +10 -0
  781. package/cjs/tools/cell-range.js.map +1 -0
  782. package/cjs/tools/debounce.d.ts +1 -0
  783. package/cjs/tools/debounce.js +51 -0
  784. package/cjs/tools/debounce.js.map +1 -0
  785. package/cjs/tools/diff-cell.d.ts +72 -0
  786. package/cjs/tools/diff-cell.js +170 -0
  787. package/cjs/tools/diff-cell.js.map +1 -0
  788. package/cjs/tools/dom.d.ts +1 -0
  789. package/cjs/tools/dom.js +11 -0
  790. package/cjs/tools/dom.js.map +1 -0
  791. package/cjs/tools/env.d.ts +19 -0
  792. package/cjs/tools/env.js +48 -0
  793. package/cjs/tools/env.js.map +1 -0
  794. package/cjs/tools/get-data-path/create-dataset.d.ts +11 -0
  795. package/cjs/tools/get-data-path/create-dataset.js +149 -0
  796. package/cjs/tools/get-data-path/create-dataset.js.map +1 -0
  797. package/cjs/tools/get-data-path/index.d.ts +2 -0
  798. package/cjs/tools/get-data-path/index.js +51 -0
  799. package/cjs/tools/get-data-path/index.js.map +1 -0
  800. package/cjs/tools/global.d.ts +15 -0
  801. package/cjs/tools/global.js +15 -0
  802. package/cjs/tools/global.js.map +1 -0
  803. package/cjs/tools/helper.d.ts +72 -0
  804. package/cjs/tools/helper.js +228 -0
  805. package/cjs/tools/helper.js.map +1 -0
  806. package/cjs/tools/icons.d.ts +4 -0
  807. package/cjs/tools/icons.js +10 -0
  808. package/cjs/tools/icons.js.map +1 -0
  809. package/cjs/tools/isx.d.ts +16 -0
  810. package/cjs/tools/isx.js +117 -0
  811. package/cjs/tools/isx.js.map +1 -0
  812. package/cjs/tools/join.d.ts +1 -0
  813. package/cjs/tools/join.js +12 -0
  814. package/cjs/tools/join.js.map +1 -0
  815. package/cjs/tools/merge-range.d.ts +11 -0
  816. package/cjs/tools/merge-range.js +35 -0
  817. package/cjs/tools/merge-range.js.map +1 -0
  818. package/cjs/tools/pixel-ratio.d.ts +2 -0
  819. package/cjs/tools/pixel-ratio.js +16 -0
  820. package/cjs/tools/pixel-ratio.js.map +1 -0
  821. package/cjs/tools/sort.d.ts +2 -0
  822. package/cjs/tools/sort.js +18 -0
  823. package/cjs/tools/sort.js.map +1 -0
  824. package/cjs/tools/style.d.ts +5 -0
  825. package/cjs/tools/style.js +30 -0
  826. package/cjs/tools/style.js.map +1 -0
  827. package/cjs/tools/update-row.d.ts +19 -0
  828. package/cjs/tools/update-row.js +38 -0
  829. package/cjs/tools/update-row.js.map +1 -0
  830. package/cjs/tools/util.d.ts +46 -0
  831. package/cjs/tools/util.js +279 -0
  832. package/cjs/tools/util.js.map +1 -0
  833. package/cjs/ts-types/animation/appear.d.ts +11 -0
  834. package/cjs/ts-types/animation/appear.js +6 -0
  835. package/cjs/ts-types/animation/appear.js.map +1 -0
  836. package/cjs/ts-types/animation/index.d.ts +1 -0
  837. package/cjs/ts-types/animation/index.js +21 -0
  838. package/cjs/ts-types/animation/index.js.map +1 -0
  839. package/cjs/ts-types/base-table.d.ts +641 -0
  840. package/cjs/ts-types/base-table.js +6 -0
  841. package/cjs/ts-types/base-table.js.map +1 -0
  842. package/cjs/ts-types/column/index.d.ts +2 -0
  843. package/cjs/ts-types/column/index.js +21 -0
  844. package/cjs/ts-types/column/index.js.map +1 -0
  845. package/cjs/ts-types/column/style.d.ts +151 -0
  846. package/cjs/ts-types/column/style.js +6 -0
  847. package/cjs/ts-types/column/style.js.map +1 -0
  848. package/cjs/ts-types/column/type.d.ts +2 -0
  849. package/cjs/ts-types/column/type.js +6 -0
  850. package/cjs/ts-types/column/type.js.map +1 -0
  851. package/cjs/ts-types/common.d.ts +114 -0
  852. package/cjs/ts-types/common.js +14 -0
  853. package/cjs/ts-types/common.js.map +1 -0
  854. package/cjs/ts-types/component/axis.d.ts +2 -0
  855. package/cjs/ts-types/component/axis.js +6 -0
  856. package/cjs/ts-types/component/axis.js.map +1 -0
  857. package/cjs/ts-types/component/empty-tip.d.ts +20 -0
  858. package/cjs/ts-types/component/empty-tip.js +6 -0
  859. package/cjs/ts-types/component/empty-tip.js.map +1 -0
  860. package/cjs/ts-types/component/index.d.ts +1 -0
  861. package/cjs/ts-types/component/index.js +21 -0
  862. package/cjs/ts-types/component/index.js.map +1 -0
  863. package/cjs/ts-types/component/legend.d.ts +18 -0
  864. package/cjs/ts-types/component/legend.js +6 -0
  865. package/cjs/ts-types/component/legend.js.map +1 -0
  866. package/cjs/ts-types/component/title.d.ts +49 -0
  867. package/cjs/ts-types/component/title.js +6 -0
  868. package/cjs/ts-types/component/title.js.map +1 -0
  869. package/cjs/ts-types/component/util.d.ts +1 -0
  870. package/cjs/ts-types/component/util.js +6 -0
  871. package/cjs/ts-types/component/util.js.map +1 -0
  872. package/cjs/ts-types/customElement.d.ts +128 -0
  873. package/cjs/ts-types/customElement.js +6 -0
  874. package/cjs/ts-types/customElement.js.map +1 -0
  875. package/cjs/ts-types/customLayout.d.ts +9 -0
  876. package/cjs/ts-types/customLayout.js +6 -0
  877. package/cjs/ts-types/customLayout.js.map +1 -0
  878. package/cjs/ts-types/dataset/aggregation.d.ts +192 -0
  879. package/cjs/ts-types/dataset/aggregation.js +423 -0
  880. package/cjs/ts-types/dataset/aggregation.js.map +1 -0
  881. package/cjs/ts-types/dataset/index.d.ts +1 -0
  882. package/cjs/ts-types/dataset/index.js +21 -0
  883. package/cjs/ts-types/dataset/index.js.map +1 -0
  884. package/cjs/ts-types/events.d.ts +363 -0
  885. package/cjs/ts-types/events.js +6 -0
  886. package/cjs/ts-types/events.js.map +1 -0
  887. package/cjs/ts-types/icon.d.ts +93 -0
  888. package/cjs/ts-types/icon.js +28 -0
  889. package/cjs/ts-types/icon.js.map +1 -0
  890. package/cjs/ts-types/index.d.ts +17 -0
  891. package/cjs/ts-types/index.js +29 -0
  892. package/cjs/ts-types/index.js.map +1 -0
  893. package/cjs/ts-types/list-table/define/basic-define.d.ts +50 -0
  894. package/cjs/ts-types/list-table/define/basic-define.js +6 -0
  895. package/cjs/ts-types/list-table/define/basic-define.js.map +1 -0
  896. package/cjs/ts-types/list-table/define/button-define.d.ts +9 -0
  897. package/cjs/ts-types/list-table/define/button-define.js +6 -0
  898. package/cjs/ts-types/list-table/define/button-define.js.map +1 -0
  899. package/cjs/ts-types/list-table/define/chart-define.d.ts +11 -0
  900. package/cjs/ts-types/list-table/define/chart-define.js +6 -0
  901. package/cjs/ts-types/list-table/define/chart-define.js.map +1 -0
  902. package/cjs/ts-types/list-table/define/checkbox-define.d.ts +15 -0
  903. package/cjs/ts-types/list-table/define/checkbox-define.js +6 -0
  904. package/cjs/ts-types/list-table/define/checkbox-define.js.map +1 -0
  905. package/cjs/ts-types/list-table/define/composite-define.d.ts +26 -0
  906. package/cjs/ts-types/list-table/define/composite-define.js +6 -0
  907. package/cjs/ts-types/list-table/define/composite-define.js.map +1 -0
  908. package/cjs/ts-types/list-table/define/image-define.d.ts +17 -0
  909. package/cjs/ts-types/list-table/define/image-define.js +6 -0
  910. package/cjs/ts-types/list-table/define/image-define.js.map +1 -0
  911. package/cjs/ts-types/list-table/define/index.d.ts +31 -0
  912. package/cjs/ts-types/list-table/define/index.js +6 -0
  913. package/cjs/ts-types/list-table/define/index.js.map +1 -0
  914. package/cjs/ts-types/list-table/define/link-define.d.ts +22 -0
  915. package/cjs/ts-types/list-table/define/link-define.js +6 -0
  916. package/cjs/ts-types/list-table/define/link-define.js.map +1 -0
  917. package/cjs/ts-types/list-table/define/multilinetext-define.d.ts +11 -0
  918. package/cjs/ts-types/list-table/define/multilinetext-define.js +6 -0
  919. package/cjs/ts-types/list-table/define/multilinetext-define.js.map +1 -0
  920. package/cjs/ts-types/list-table/define/progressbar-define.d.ts +11 -0
  921. package/cjs/ts-types/list-table/define/progressbar-define.js +6 -0
  922. package/cjs/ts-types/list-table/define/progressbar-define.js.map +1 -0
  923. package/cjs/ts-types/list-table/define/radio-define.d.ts +11 -0
  924. package/cjs/ts-types/list-table/define/radio-define.js +6 -0
  925. package/cjs/ts-types/list-table/define/radio-define.js.map +1 -0
  926. package/cjs/ts-types/list-table/define/sparkline-define.d.ts +10 -0
  927. package/cjs/ts-types/list-table/define/sparkline-define.js +6 -0
  928. package/cjs/ts-types/list-table/define/sparkline-define.js.map +1 -0
  929. package/cjs/ts-types/list-table/define/switch-define.d.ts +11 -0
  930. package/cjs/ts-types/list-table/define/switch-define.js +6 -0
  931. package/cjs/ts-types/list-table/define/switch-define.js.map +1 -0
  932. package/cjs/ts-types/list-table/index.d.ts +2 -0
  933. package/cjs/ts-types/list-table/index.js +21 -0
  934. package/cjs/ts-types/list-table/index.js.map +1 -0
  935. package/cjs/ts-types/list-table/layout-map/api.d.ts +126 -0
  936. package/cjs/ts-types/list-table/layout-map/api.js +6 -0
  937. package/cjs/ts-types/list-table/layout-map/api.js.map +1 -0
  938. package/cjs/ts-types/list-table/layout-map/index.d.ts +1 -0
  939. package/cjs/ts-types/list-table/layout-map/index.js +6 -0
  940. package/cjs/ts-types/list-table/layout-map/index.js.map +1 -0
  941. package/cjs/ts-types/menu.d.ts +74 -0
  942. package/cjs/ts-types/menu.js +6 -0
  943. package/cjs/ts-types/menu.js.map +1 -0
  944. package/cjs/ts-types/new-data-set.d.ts +158 -0
  945. package/cjs/ts-types/new-data-set.js +16 -0
  946. package/cjs/ts-types/new-data-set.js.map +1 -0
  947. package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +10 -0
  948. package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +15 -0
  949. package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -0
  950. package/cjs/ts-types/pivot-table/corner.d.ts +37 -0
  951. package/cjs/ts-types/pivot-table/corner.js +6 -0
  952. package/cjs/ts-types/pivot-table/corner.js.map +1 -0
  953. package/cjs/ts-types/pivot-table/dimension/basic-dimension.d.ts +43 -0
  954. package/cjs/ts-types/pivot-table/dimension/basic-dimension.js +6 -0
  955. package/cjs/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -0
  956. package/cjs/ts-types/pivot-table/dimension/image-dimension.d.ts +10 -0
  957. package/cjs/ts-types/pivot-table/dimension/image-dimension.js +6 -0
  958. package/cjs/ts-types/pivot-table/dimension/image-dimension.js.map +1 -0
  959. package/cjs/ts-types/pivot-table/dimension/index.d.ts +6 -0
  960. package/cjs/ts-types/pivot-table/dimension/index.js +6 -0
  961. package/cjs/ts-types/pivot-table/dimension/index.js.map +1 -0
  962. package/cjs/ts-types/pivot-table/dimension/link-dimension.d.ts +13 -0
  963. package/cjs/ts-types/pivot-table/dimension/link-dimension.js +6 -0
  964. package/cjs/ts-types/pivot-table/dimension/link-dimension.js.map +1 -0
  965. package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +7 -0
  966. package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js +6 -0
  967. package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -0
  968. package/cjs/ts-types/pivot-table/index.d.ts +4 -0
  969. package/cjs/ts-types/pivot-table/index.js +22 -0
  970. package/cjs/ts-types/pivot-table/index.js.map +1 -0
  971. package/cjs/ts-types/pivot-table/indicator/basic-indicator.d.ts +51 -0
  972. package/cjs/ts-types/pivot-table/indicator/basic-indicator.js +6 -0
  973. package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -0
  974. package/cjs/ts-types/pivot-table/indicator/chart-indicator.d.ts +11 -0
  975. package/cjs/ts-types/pivot-table/indicator/chart-indicator.js +6 -0
  976. package/cjs/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -0
  977. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
  978. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js +6 -0
  979. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
  980. package/cjs/ts-types/pivot-table/indicator/composite-indicator.d.ts +24 -0
  981. package/cjs/ts-types/pivot-table/indicator/composite-indicator.js +6 -0
  982. package/cjs/ts-types/pivot-table/indicator/composite-indicator.js.map +1 -0
  983. package/cjs/ts-types/pivot-table/indicator/image-indicator.d.ts +17 -0
  984. package/cjs/ts-types/pivot-table/indicator/image-indicator.js +6 -0
  985. package/cjs/ts-types/pivot-table/indicator/image-indicator.js.map +1 -0
  986. package/cjs/ts-types/pivot-table/indicator/index.d.ts +12 -0
  987. package/cjs/ts-types/pivot-table/indicator/index.js +6 -0
  988. package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -0
  989. package/cjs/ts-types/pivot-table/indicator/link-indicator.d.ts +22 -0
  990. package/cjs/ts-types/pivot-table/indicator/link-indicator.js +6 -0
  991. package/cjs/ts-types/pivot-table/indicator/link-indicator.js.map +1 -0
  992. package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +11 -0
  993. package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.js +6 -0
  994. package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -0
  995. package/cjs/ts-types/pivot-table/indicator/progress-indicator.d.ts +11 -0
  996. package/cjs/ts-types/pivot-table/indicator/progress-indicator.js +6 -0
  997. package/cjs/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -0
  998. package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +10 -0
  999. package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js +6 -0
  1000. package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -0
  1001. package/cjs/ts-types/pivot-table/title.d.ts +20 -0
  1002. package/cjs/ts-types/pivot-table/title.js +6 -0
  1003. package/cjs/ts-types/pivot-table/title.js.map +1 -0
  1004. package/cjs/ts-types/sparkline.d.ts +37 -0
  1005. package/cjs/ts-types/sparkline.js +6 -0
  1006. package/cjs/ts-types/sparkline.js.map +1 -0
  1007. package/cjs/ts-types/style-define.d.ts +72 -0
  1008. package/cjs/ts-types/style-define.js +6 -0
  1009. package/cjs/ts-types/style-define.js.map +1 -0
  1010. package/cjs/ts-types/table-engine.d.ts +405 -0
  1011. package/cjs/ts-types/table-engine.js +13 -0
  1012. package/cjs/ts-types/table-engine.js.map +1 -0
  1013. package/cjs/ts-types/theme.d.ts +164 -0
  1014. package/cjs/ts-types/theme.js +6 -0
  1015. package/cjs/ts-types/theme.js.map +1 -0
  1016. package/cjs/ts-types/tooltip.d.ts +26 -0
  1017. package/cjs/ts-types/tooltip.js +6 -0
  1018. package/cjs/ts-types/tooltip.js.map +1 -0
  1019. package/cjs/vrender.d.ts +8 -0
  1020. package/cjs/vrender.js +61 -0
  1021. package/cjs/vrender.js.map +1 -0
  1022. package/dist/vtable.js +83482 -0
  1023. package/dist/vtable.min.js +15 -0
  1024. package/es/ListTable-all.d.ts +3 -0
  1025. package/es/ListTable-all.js +17 -0
  1026. package/es/ListTable-all.js.map +1 -0
  1027. package/es/ListTable-simple.d.ts +3 -0
  1028. package/es/ListTable-simple.js +8 -0
  1029. package/es/ListTable-simple.js.map +1 -0
  1030. package/es/ListTable.d.ts +101 -0
  1031. package/es/ListTable.js +675 -0
  1032. package/es/ListTable.js.map +1 -0
  1033. package/es/PivotChart.d.ts +100 -0
  1034. package/es/PivotChart.js +773 -0
  1035. package/es/PivotChart.js.map +1 -0
  1036. package/es/PivotTable-all.d.ts +3 -0
  1037. package/es/PivotTable-all.js +13 -0
  1038. package/es/PivotTable-all.js.map +1 -0
  1039. package/es/PivotTable-simple.d.ts +3 -0
  1040. package/es/PivotTable-simple.js +8 -0
  1041. package/es/PivotTable-simple.js.map +1 -0
  1042. package/es/PivotTable.d.ts +112 -0
  1043. package/es/PivotTable.js +985 -0
  1044. package/es/PivotTable.js.map +1 -0
  1045. package/es/body-helper/body-helper.d.ts +20 -0
  1046. package/es/body-helper/body-helper.js +112 -0
  1047. package/es/body-helper/body-helper.js.map +1 -0
  1048. package/es/body-helper/style/ButtonStyle.d.ts +45 -0
  1049. package/es/body-helper/style/ButtonStyle.js +102 -0
  1050. package/es/body-helper/style/ButtonStyle.js.map +1 -0
  1051. package/es/body-helper/style/CheckboxStyle.d.ts +42 -0
  1052. package/es/body-helper/style/CheckboxStyle.js +96 -0
  1053. package/es/body-helper/style/CheckboxStyle.js.map +1 -0
  1054. package/es/body-helper/style/ImageStyle.d.ts +7 -0
  1055. package/es/body-helper/style/ImageStyle.js +16 -0
  1056. package/es/body-helper/style/ImageStyle.js.map +1 -0
  1057. package/es/body-helper/style/MultilineTextStyle.d.ts +13 -0
  1058. package/es/body-helper/style/MultilineTextStyle.js +30 -0
  1059. package/es/body-helper/style/MultilineTextStyle.js.map +1 -0
  1060. package/es/body-helper/style/NumberStyle.d.ts +7 -0
  1061. package/es/body-helper/style/NumberStyle.js +16 -0
  1062. package/es/body-helper/style/NumberStyle.js.map +1 -0
  1063. package/es/body-helper/style/ProgressBarStyle.d.ts +55 -0
  1064. package/es/body-helper/style/ProgressBarStyle.js +131 -0
  1065. package/es/body-helper/style/ProgressBarStyle.js.map +1 -0
  1066. package/es/body-helper/style/RadioStyle.d.ts +45 -0
  1067. package/es/body-helper/style/RadioStyle.js +103 -0
  1068. package/es/body-helper/style/RadioStyle.js.map +1 -0
  1069. package/es/body-helper/style/Style.d.ts +95 -0
  1070. package/es/body-helper/style/Style.js +219 -0
  1071. package/es/body-helper/style/Style.js.map +1 -0
  1072. package/es/body-helper/style/SwitchStyle.d.ts +36 -0
  1073. package/es/body-helper/style/SwitchStyle.js +82 -0
  1074. package/es/body-helper/style/SwitchStyle.js.map +1 -0
  1075. package/es/body-helper/style.d.ts +11 -0
  1076. package/es/body-helper/style.js +28 -0
  1077. package/es/body-helper/style.js.map +1 -0
  1078. package/es/chartModule.d.ts +3 -0
  1079. package/es/chartModule.js +10 -0
  1080. package/es/chartModule.js.map +1 -0
  1081. package/es/components/axis/axis.d.ts +52 -0
  1082. package/es/components/axis/axis.js +198 -0
  1083. package/es/components/axis/axis.js.map +1 -0
  1084. package/es/components/axis/band-scale.d.ts +18 -0
  1085. package/es/components/axis/band-scale.js +46 -0
  1086. package/es/components/axis/band-scale.js.map +1 -0
  1087. package/es/components/axis/get-axis-attributes.d.ts +146 -0
  1088. package/es/components/axis/get-axis-attributes.js +200 -0
  1089. package/es/components/axis/get-axis-attributes.js.map +1 -0
  1090. package/es/components/axis/get-axis-component-size.d.ts +6 -0
  1091. package/es/components/axis/get-axis-component-size.js +128 -0
  1092. package/es/components/axis/get-axis-component-size.js.map +1 -0
  1093. package/es/components/axis/label-overlap.d.ts +3 -0
  1094. package/es/components/axis/label-overlap.js +57 -0
  1095. package/es/components/axis/label-overlap.js.map +1 -0
  1096. package/es/components/axis/linear-scale.d.ts +48 -0
  1097. package/es/components/axis/linear-scale.js +115 -0
  1098. package/es/components/axis/linear-scale.js.map +1 -0
  1099. package/es/components/empty-tip/empty-tip.d.ts +25 -0
  1100. package/es/components/empty-tip/empty-tip.js +98 -0
  1101. package/es/components/empty-tip/empty-tip.js.map +1 -0
  1102. package/es/components/index.d.ts +6 -0
  1103. package/es/components/index.js +44 -0
  1104. package/es/components/index.js.map +1 -0
  1105. package/es/components/legend/continue-legend/continue-legend.d.ts +24 -0
  1106. package/es/components/legend/continue-legend/continue-legend.js +96 -0
  1107. package/es/components/legend/continue-legend/continue-legend.js.map +1 -0
  1108. package/es/components/legend/continue-legend/get-continue-legend-attributes.d.ts +5 -0
  1109. package/es/components/legend/continue-legend/get-continue-legend-attributes.js +132 -0
  1110. package/es/components/legend/continue-legend/get-continue-legend-attributes.js.map +1 -0
  1111. package/es/components/legend/create-legend.d.ts +6 -0
  1112. package/es/components/legend/create-legend.js +8 -0
  1113. package/es/components/legend/create-legend.js.map +1 -0
  1114. package/es/components/legend/discrete-legend/discrete-legend.d.ts +25 -0
  1115. package/es/components/legend/discrete-legend/discrete-legend.js +112 -0
  1116. package/es/components/legend/discrete-legend/discrete-legend.js.map +1 -0
  1117. package/es/components/legend/discrete-legend/get-discrete-legend-attributes.d.ts +5 -0
  1118. package/es/components/legend/discrete-legend/get-discrete-legend-attributes.js +84 -0
  1119. package/es/components/legend/discrete-legend/get-discrete-legend-attributes.js.map +1 -0
  1120. package/es/components/menu/dom/BaseMenu.d.ts +16 -0
  1121. package/es/components/menu/dom/BaseMenu.js +25 -0
  1122. package/es/components/menu/dom/BaseMenu.js.map +1 -0
  1123. package/es/components/menu/dom/Menu.d.ts +9 -0
  1124. package/es/components/menu/dom/Menu.js +18 -0
  1125. package/es/components/menu/dom/Menu.js.map +1 -0
  1126. package/es/components/menu/dom/MenuHandler.d.ts +24 -0
  1127. package/es/components/menu/dom/MenuHandler.js +146 -0
  1128. package/es/components/menu/dom/MenuHandler.js.map +1 -0
  1129. package/es/components/menu/dom/logic/MenuContainer.d.ts +21 -0
  1130. package/es/components/menu/dom/logic/MenuContainer.js +102 -0
  1131. package/es/components/menu/dom/logic/MenuContainer.js.map +1 -0
  1132. package/es/components/menu/dom/logic/MenuElement.d.ts +26 -0
  1133. package/es/components/menu/dom/logic/MenuElement.js +288 -0
  1134. package/es/components/menu/dom/logic/MenuElement.js.map +1 -0
  1135. package/es/components/menu/dom/logic/MenuElementStyle.d.ts +1 -0
  1136. package/es/components/menu/dom/logic/MenuElementStyle.js +9 -0
  1137. package/es/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
  1138. package/es/components/react/react-custom-layout.d.ts +27 -0
  1139. package/es/components/react/react-custom-layout.js +169 -0
  1140. package/es/components/react/react-custom-layout.js.map +1 -0
  1141. package/es/components/title/title.d.ts +21 -0
  1142. package/es/components/title/title.js +84 -0
  1143. package/es/components/title/title.js.map +1 -0
  1144. package/es/components/tooltip/BaseTooltip.d.ts +22 -0
  1145. package/es/components/tooltip/BaseTooltip.js +27 -0
  1146. package/es/components/tooltip/BaseTooltip.js.map +1 -0
  1147. package/es/components/tooltip/Tooltip.d.ts +5 -0
  1148. package/es/components/tooltip/Tooltip.js +10 -0
  1149. package/es/components/tooltip/Tooltip.js.map +1 -0
  1150. package/es/components/tooltip/TooltipHandler.d.ts +31 -0
  1151. package/es/components/tooltip/TooltipHandler.js +134 -0
  1152. package/es/components/tooltip/TooltipHandler.js.map +1 -0
  1153. package/es/components/tooltip/logic/BubbleTooltipElement.d.ts +34 -0
  1154. package/es/components/tooltip/logic/BubbleTooltipElement.js +162 -0
  1155. package/es/components/tooltip/logic/BubbleTooltipElement.js.map +1 -0
  1156. package/es/components/tooltip/logic/BubbleTooltipElementStyle.d.ts +1 -0
  1157. package/es/components/tooltip/logic/BubbleTooltipElementStyle.js +9 -0
  1158. package/es/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -0
  1159. package/es/components/util/orient.d.ts +3 -0
  1160. package/es/components/util/orient.js +8 -0
  1161. package/es/components/util/orient.js.map +1 -0
  1162. package/es/components/util/register.d.ts +3 -0
  1163. package/es/components/util/register.js +8 -0
  1164. package/es/components/util/register.js.map +1 -0
  1165. package/es/components/util/transform.d.ts +5 -0
  1166. package/es/components/util/transform.js +34 -0
  1167. package/es/components/util/transform.js.map +1 -0
  1168. package/es/core/BaseTable.d.ts +436 -0
  1169. package/es/core/BaseTable.js +1900 -0
  1170. package/es/core/BaseTable.js.map +1 -0
  1171. package/es/core/FouseInput.d.ts +12 -0
  1172. package/es/core/FouseInput.js +33 -0
  1173. package/es/core/FouseInput.js.map +1 -0
  1174. package/es/core/TABLE_EVENT_TYPE.d.ts +61 -0
  1175. package/es/core/TABLE_EVENT_TYPE.js +61 -0
  1176. package/es/core/TABLE_EVENT_TYPE.js.map +1 -0
  1177. package/es/core/animation.d.ts +17 -0
  1178. package/es/core/animation.js +54 -0
  1179. package/es/core/animation.js.map +1 -0
  1180. package/es/core/factory.d.ts +11 -0
  1181. package/es/core/factory.js +23 -0
  1182. package/es/core/factory.js.map +1 -0
  1183. package/es/core/group-helper.d.ts +6 -0
  1184. package/es/core/group-helper.js +14 -0
  1185. package/es/core/group-helper.js.map +1 -0
  1186. package/es/core/record-helper.d.ts +8 -0
  1187. package/es/core/record-helper.js +425 -0
  1188. package/es/core/record-helper.js.map +1 -0
  1189. package/es/core/row-series-number-helper.d.ts +8 -0
  1190. package/es/core/row-series-number-helper.js +15 -0
  1191. package/es/core/row-series-number-helper.js.map +1 -0
  1192. package/es/core/style-helper.d.ts +3 -0
  1193. package/es/core/style-helper.js +86 -0
  1194. package/es/core/style-helper.js.map +1 -0
  1195. package/es/core/style.d.ts +1 -0
  1196. package/es/core/style.js +9 -0
  1197. package/es/core/style.js.map +1 -0
  1198. package/es/core/tableHelper.d.ts +45 -0
  1199. package/es/core/tableHelper.js +253 -0
  1200. package/es/core/tableHelper.js.map +1 -0
  1201. package/es/core/utils/get-cell-position.d.ts +12 -0
  1202. package/es/core/utils/get-cell-position.js +202 -0
  1203. package/es/core/utils/get-cell-position.js.map +1 -0
  1204. package/es/core/utils/get-custom-merge-cell-func.d.ts +2 -0
  1205. package/es/core/utils/get-custom-merge-cell-func.js +6 -0
  1206. package/es/core/utils/get-custom-merge-cell-func.js.map +1 -0
  1207. package/es/core.d.ts +3 -0
  1208. package/es/core.js +4 -0
  1209. package/es/core.js.map +1 -0
  1210. package/es/data/CachedDataSource.d.ts +36 -0
  1211. package/es/data/CachedDataSource.js +249 -0
  1212. package/es/data/CachedDataSource.js.map +1 -0
  1213. package/es/data/DataSource.d.ts +129 -0
  1214. package/es/data/DataSource.js +732 -0
  1215. package/es/data/DataSource.js.map +1 -0
  1216. package/es/data.d.ts +4 -0
  1217. package/es/data.js +6 -0
  1218. package/es/data.js.map +1 -0
  1219. package/es/dataset/DataStatistics.d.ts +10 -0
  1220. package/es/dataset/DataStatistics.js +74 -0
  1221. package/es/dataset/DataStatistics.js.map +1 -0
  1222. package/es/dataset/dataset-pivot-table.d.ts +60 -0
  1223. package/es/dataset/dataset-pivot-table.js +340 -0
  1224. package/es/dataset/dataset-pivot-table.js.map +1 -0
  1225. package/es/dataset/dataset.d.ts +108 -0
  1226. package/es/dataset/dataset.js +803 -0
  1227. package/es/dataset/dataset.js.map +1 -0
  1228. package/es/dataset/flatDataToObject.d.ts +46 -0
  1229. package/es/dataset/flatDataToObject.js +124 -0
  1230. package/es/dataset/flatDataToObject.js.map +1 -0
  1231. package/es/edit/edit-manager.d.ts +19 -0
  1232. package/es/edit/edit-manager.js +121 -0
  1233. package/es/edit/edit-manager.js.map +1 -0
  1234. package/es/edit/editors.d.ts +5 -0
  1235. package/es/edit/editors.js +6 -0
  1236. package/es/edit/editors.js.map +1 -0
  1237. package/es/event/EventHandler.d.ts +47 -0
  1238. package/es/event/EventHandler.js +119 -0
  1239. package/es/event/EventHandler.js.map +1 -0
  1240. package/es/event/EventTarget.d.ts +12 -0
  1241. package/es/event/EventTarget.js +58 -0
  1242. package/es/event/EventTarget.js.map +1 -0
  1243. package/es/event/component/button.d.ts +2 -0
  1244. package/es/event/component/button.js +13 -0
  1245. package/es/event/component/button.js.map +1 -0
  1246. package/es/event/drill.d.ts +5 -0
  1247. package/es/event/drill.js +32 -0
  1248. package/es/event/drill.js.map +1 -0
  1249. package/es/event/event.d.ts +63 -0
  1250. package/es/event/event.js +240 -0
  1251. package/es/event/event.js.map +1 -0
  1252. package/es/event/helper.d.ts +2 -0
  1253. package/es/event/helper.js +27 -0
  1254. package/es/event/helper.js.map +1 -0
  1255. package/es/event/listener/container-dom.d.ts +2 -0
  1256. package/es/event/listener/container-dom.js +348 -0
  1257. package/es/event/listener/container-dom.js.map +1 -0
  1258. package/es/event/listener/scroll-bar.d.ts +2 -0
  1259. package/es/event/listener/scroll-bar.js +75 -0
  1260. package/es/event/listener/scroll-bar.js.map +1 -0
  1261. package/es/event/listener/table-group.d.ts +6 -0
  1262. package/es/event/listener/table-group.js +522 -0
  1263. package/es/event/listener/table-group.js.map +1 -0
  1264. package/es/event/listener/touch.d.ts +2 -0
  1265. package/es/event/listener/touch.js +76 -0
  1266. package/es/event/listener/touch.js.map +1 -0
  1267. package/es/event/media-click.d.ts +2 -0
  1268. package/es/event/media-click.js +85 -0
  1269. package/es/event/media-click.js.map +1 -0
  1270. package/es/event/scroll.d.ts +20 -0
  1271. package/es/event/scroll.js +81 -0
  1272. package/es/event/scroll.js.map +1 -0
  1273. package/es/event/self-event-listener/base-table/dbclick-auto-column-width.d.ts +2 -0
  1274. package/es/event/self-event-listener/base-table/dbclick-auto-column-width.js +25 -0
  1275. package/es/event/self-event-listener/base-table/dbclick-auto-column-width.js.map +1 -0
  1276. package/es/event/self-event-listener/base-table/dropdown-menu.d.ts +2 -0
  1277. package/es/event/self-event-listener/base-table/dropdown-menu.js +8 -0
  1278. package/es/event/self-event-listener/base-table/dropdown-menu.js.map +1 -0
  1279. package/es/event/self-event-listener/base-table/icon.d.ts +2 -0
  1280. package/es/event/self-event-listener/base-table/icon.js +18 -0
  1281. package/es/event/self-event-listener/base-table/icon.js.map +1 -0
  1282. package/es/event/self-event-listener/base-table/right-button-click.d.ts +2 -0
  1283. package/es/event/self-event-listener/base-table/right-button-click.js +17 -0
  1284. package/es/event/self-event-listener/base-table/right-button-click.js.map +1 -0
  1285. package/es/event/self-event-listener/list-table/checkbox.d.ts +3 -0
  1286. package/es/event/self-event-listener/list-table/checkbox.js +117 -0
  1287. package/es/event/self-event-listener/list-table/checkbox.js.map +1 -0
  1288. package/es/event/self-event-listener/pivot-chart/axis-click.d.ts +2 -0
  1289. package/es/event/self-event-listener/pivot-chart/axis-click.js +37 -0
  1290. package/es/event/self-event-listener/pivot-chart/axis-click.js.map +1 -0
  1291. package/es/event/self-event-listener/pivot-chart/axis-hover.d.ts +2 -0
  1292. package/es/event/self-event-listener/pivot-chart/axis-hover.js +33 -0
  1293. package/es/event/self-event-listener/pivot-chart/axis-hover.js.map +1 -0
  1294. package/es/event/self-event-listener/pivot-table/drill.d.ts +1 -0
  1295. package/es/event/self-event-listener/pivot-table/drill.js +3 -0
  1296. package/es/event/self-event-listener/pivot-table/drill.js.map +1 -0
  1297. package/es/event/sparkline-event.d.ts +2 -0
  1298. package/es/event/sparkline-event.js +19 -0
  1299. package/es/event/sparkline-event.js.map +1 -0
  1300. package/es/event/util.d.ts +20 -0
  1301. package/es/event/util.js +38 -0
  1302. package/es/event/util.js.map +1 -0
  1303. package/es/header-helper/header-helper.d.ts +29 -0
  1304. package/es/header-helper/header-helper.js +252 -0
  1305. package/es/header-helper/header-helper.js.map +1 -0
  1306. package/es/header-helper/style/CheckboxStyle.d.ts +42 -0
  1307. package/es/header-helper/style/CheckboxStyle.js +96 -0
  1308. package/es/header-helper/style/CheckboxStyle.js.map +1 -0
  1309. package/es/header-helper/style/ImageStyle.d.ts +7 -0
  1310. package/es/header-helper/style/ImageStyle.js +17 -0
  1311. package/es/header-helper/style/ImageStyle.js.map +1 -0
  1312. package/es/header-helper/style/MultilineTextHeaderStyle.d.ts +13 -0
  1313. package/es/header-helper/style/MultilineTextHeaderStyle.js +30 -0
  1314. package/es/header-helper/style/MultilineTextHeaderStyle.js.map +1 -0
  1315. package/es/header-helper/style/SortHeaderStyle.d.ts +1 -0
  1316. package/es/header-helper/style/SortHeaderStyle.js +3 -0
  1317. package/es/header-helper/style/SortHeaderStyle.js.map +1 -0
  1318. package/es/header-helper/style/Style.d.ts +95 -0
  1319. package/es/header-helper/style/Style.js +220 -0
  1320. package/es/header-helper/style/Style.js.map +1 -0
  1321. package/es/header-helper/style.d.ts +6 -0
  1322. package/es/header-helper/style.js +17 -0
  1323. package/es/header-helper/style.js.map +1 -0
  1324. package/es/icons.d.ts +5 -0
  1325. package/es/icons.js +295 -0
  1326. package/es/icons.js.map +1 -0
  1327. package/es/index.d.ts +33 -0
  1328. package/es/index.js +68 -0
  1329. package/es/index.js.map +1 -0
  1330. package/es/layout/cell-range/simple-cell-range.d.ts +4 -0
  1331. package/es/layout/cell-range/simple-cell-range.js +141 -0
  1332. package/es/layout/cell-range/simple-cell-range.js.map +1 -0
  1333. package/es/layout/chart-helper/get-axis-config.d.ts +39 -0
  1334. package/es/layout/chart-helper/get-axis-config.js +391 -0
  1335. package/es/layout/chart-helper/get-axis-config.js.map +1 -0
  1336. package/es/layout/chart-helper/get-axis-domain.d.ts +11 -0
  1337. package/es/layout/chart-helper/get-axis-domain.js +44 -0
  1338. package/es/layout/chart-helper/get-axis-domain.js.map +1 -0
  1339. package/es/layout/chart-helper/get-chart-spec.d.ts +13 -0
  1340. package/es/layout/chart-helper/get-chart-spec.js +281 -0
  1341. package/es/layout/chart-helper/get-chart-spec.js.map +1 -0
  1342. package/es/layout/chart-helper/tick-align.d.ts +12 -0
  1343. package/es/layout/chart-helper/tick-align.js +16 -0
  1344. package/es/layout/chart-helper/tick-align.js.map +1 -0
  1345. package/es/layout/chart-helper/zero-align.d.ts +10 -0
  1346. package/es/layout/chart-helper/zero-align.js +111 -0
  1347. package/es/layout/chart-helper/zero-align.js.map +1 -0
  1348. package/es/layout/index.d.ts +1 -0
  1349. package/es/layout/index.js +1 -0
  1350. package/es/layout/index.js.map +1 -0
  1351. package/es/layout/layout-helper.d.ts +20 -0
  1352. package/es/layout/layout-helper.js +146 -0
  1353. package/es/layout/layout-helper.js.map +1 -0
  1354. package/es/layout/pivot-header-layout.d.ts +279 -0
  1355. package/es/layout/pivot-header-layout.js +1832 -0
  1356. package/es/layout/pivot-header-layout.js.map +1 -0
  1357. package/es/layout/pivot-layout.d.ts +1 -0
  1358. package/es/layout/pivot-layout.js +1 -0
  1359. package/es/layout/pivot-layout.js.map +1 -0
  1360. package/es/layout/row-height-map.d.ts +34 -0
  1361. package/es/layout/row-height-map.js +168 -0
  1362. package/es/layout/row-height-map.js.map +1 -0
  1363. package/es/layout/simple-header-layout.d.ts +153 -0
  1364. package/es/layout/simple-header-layout.js +780 -0
  1365. package/es/layout/simple-header-layout.js.map +1 -0
  1366. package/es/layout/tree-helper.d.ts +71 -0
  1367. package/es/layout/tree-helper.js +401 -0
  1368. package/es/layout/tree-helper.js.map +1 -0
  1369. package/es/plugins/chartModules.d.ts +3 -0
  1370. package/es/plugins/chartModules.js +2 -0
  1371. package/es/plugins/chartModules.js.map +1 -0
  1372. package/es/plugins/custom-cell-style.d.ts +26 -0
  1373. package/es/plugins/custom-cell-style.js +107 -0
  1374. package/es/plugins/custom-cell-style.js.map +1 -0
  1375. package/es/plugins/icons.d.ts +12 -0
  1376. package/es/plugins/icons.js +22 -0
  1377. package/es/plugins/icons.js.map +1 -0
  1378. package/es/plugins/invert-highlight.d.ts +1 -0
  1379. package/es/plugins/invert-highlight.js +14 -0
  1380. package/es/plugins/invert-highlight.js.map +1 -0
  1381. package/es/plugins/list-tree-stick-cell.d.ts +18 -0
  1382. package/es/plugins/list-tree-stick-cell.js +178 -0
  1383. package/es/plugins/list-tree-stick-cell.js.map +1 -0
  1384. package/es/plugins/themes.d.ts +4 -0
  1385. package/es/plugins/themes.js +2 -0
  1386. package/es/plugins/themes.js.map +1 -0
  1387. package/es/register.d.ts +15 -0
  1388. package/es/register.js +44 -0
  1389. package/es/register.js.map +1 -0
  1390. package/es/render/jsx/index.d.ts +8 -0
  1391. package/es/render/jsx/index.js +16 -0
  1392. package/es/render/jsx/index.js.map +1 -0
  1393. package/es/render/layout/arc.d.ts +12 -0
  1394. package/es/render/layout/arc.js +12 -0
  1395. package/es/render/layout/arc.js.map +1 -0
  1396. package/es/render/layout/circle.d.ts +12 -0
  1397. package/es/render/layout/circle.js +12 -0
  1398. package/es/render/layout/circle.js.map +1 -0
  1399. package/es/render/layout/container.d.ts +14 -0
  1400. package/es/render/layout/container.js +21 -0
  1401. package/es/render/layout/container.js.map +1 -0
  1402. package/es/render/layout/direction.d.ts +22 -0
  1403. package/es/render/layout/direction.js +31 -0
  1404. package/es/render/layout/direction.js.map +1 -0
  1405. package/es/render/layout/element.d.ts +43 -0
  1406. package/es/render/layout/element.js +19 -0
  1407. package/es/render/layout/element.js.map +1 -0
  1408. package/es/render/layout/group-element.d.ts +5 -0
  1409. package/es/render/layout/group-element.js +8 -0
  1410. package/es/render/layout/group-element.js.map +1 -0
  1411. package/es/render/layout/group.d.ts +12 -0
  1412. package/es/render/layout/group.js +12 -0
  1413. package/es/render/layout/group.js.map +1 -0
  1414. package/es/render/layout/icon.d.ts +21 -0
  1415. package/es/render/layout/icon.js +21 -0
  1416. package/es/render/layout/icon.js.map +1 -0
  1417. package/es/render/layout/image.d.ts +14 -0
  1418. package/es/render/layout/image.js +13 -0
  1419. package/es/render/layout/image.js.map +1 -0
  1420. package/es/render/layout/index.d.ts +13 -0
  1421. package/es/render/layout/index.js +26 -0
  1422. package/es/render/layout/index.js.map +1 -0
  1423. package/es/render/layout/line.d.ts +1 -0
  1424. package/es/render/layout/line.js +2 -0
  1425. package/es/render/layout/line.js.map +1 -0
  1426. package/es/render/layout/percent-calc.d.ts +5 -0
  1427. package/es/render/layout/percent-calc.js +7 -0
  1428. package/es/render/layout/percent-calc.js.map +1 -0
  1429. package/es/render/layout/rect.d.ts +12 -0
  1430. package/es/render/layout/rect.js +12 -0
  1431. package/es/render/layout/rect.js.map +1 -0
  1432. package/es/render/layout/tag.d.ts +14 -0
  1433. package/es/render/layout/tag.js +15 -0
  1434. package/es/render/layout/tag.js.map +1 -0
  1435. package/es/render/layout/text.d.ts +13 -0
  1436. package/es/render/layout/text.js +17 -0
  1437. package/es/render/layout/text.js.map +1 -0
  1438. package/es/scenegraph/animation/appear.d.ts +2 -0
  1439. package/es/scenegraph/animation/appear.js +20 -0
  1440. package/es/scenegraph/animation/appear.js.map +1 -0
  1441. package/es/scenegraph/component/cell-content.d.ts +36 -0
  1442. package/es/scenegraph/component/cell-content.js +105 -0
  1443. package/es/scenegraph/component/cell-content.js.map +1 -0
  1444. package/es/scenegraph/component/cell-mover.d.ts +21 -0
  1445. package/es/scenegraph/component/cell-mover.js +113 -0
  1446. package/es/scenegraph/component/cell-mover.js.map +1 -0
  1447. package/es/scenegraph/component/custom.d.ts +16 -0
  1448. package/es/scenegraph/component/custom.js +311 -0
  1449. package/es/scenegraph/component/custom.js.map +1 -0
  1450. package/es/scenegraph/component/drill-icon.d.ts +9 -0
  1451. package/es/scenegraph/component/drill-icon.js +41 -0
  1452. package/es/scenegraph/component/drill-icon.js.map +1 -0
  1453. package/es/scenegraph/component/menu.d.ts +41 -0
  1454. package/es/scenegraph/component/menu.js +215 -0
  1455. package/es/scenegraph/component/menu.js.map +1 -0
  1456. package/es/scenegraph/component/table-component.d.ts +52 -0
  1457. package/es/scenegraph/component/table-component.js +564 -0
  1458. package/es/scenegraph/component/table-component.js.map +1 -0
  1459. package/es/scenegraph/component/util.d.ts +3 -0
  1460. package/es/scenegraph/component/util.js +12 -0
  1461. package/es/scenegraph/component/util.js.map +1 -0
  1462. package/es/scenegraph/debug-tool/debug-tool.d.ts +34 -0
  1463. package/es/scenegraph/debug-tool/debug-tool.js +113 -0
  1464. package/es/scenegraph/debug-tool/debug-tool.js.map +1 -0
  1465. package/es/scenegraph/debug-tool/index.d.ts +4 -0
  1466. package/es/scenegraph/debug-tool/index.js +6 -0
  1467. package/es/scenegraph/debug-tool/index.js.map +1 -0
  1468. package/es/scenegraph/graphic/chart.d.ts +47 -0
  1469. package/es/scenegraph/graphic/chart.js +123 -0
  1470. package/es/scenegraph/graphic/chart.js.map +1 -0
  1471. package/es/scenegraph/graphic/contributions/chart-render-helper.d.ts +11 -0
  1472. package/es/scenegraph/graphic/contributions/chart-render-helper.js +159 -0
  1473. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -0
  1474. package/es/scenegraph/graphic/contributions/chart-render.d.ts +11 -0
  1475. package/es/scenegraph/graphic/contributions/chart-render.js +76 -0
  1476. package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -0
  1477. package/es/scenegraph/graphic/contributions/draw-interceptor.d.ts +13 -0
  1478. package/es/scenegraph/graphic/contributions/draw-interceptor.js +66 -0
  1479. package/es/scenegraph/graphic/contributions/draw-interceptor.js.map +1 -0
  1480. package/es/scenegraph/graphic/contributions/group-contribution-render.d.ts +79 -0
  1481. package/es/scenegraph/graphic/contributions/group-contribution-render.js +346 -0
  1482. package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -0
  1483. package/es/scenegraph/graphic/contributions/image-contribution-render.d.ts +38 -0
  1484. package/es/scenegraph/graphic/contributions/image-contribution-render.js +69 -0
  1485. package/es/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -0
  1486. package/es/scenegraph/graphic/contributions/index.d.ts +3 -0
  1487. package/es/scenegraph/graphic/contributions/index.js +38 -0
  1488. package/es/scenegraph/graphic/contributions/index.js.map +1 -0
  1489. package/es/scenegraph/graphic/contributions/rect-contribution-render.d.ts +18 -0
  1490. package/es/scenegraph/graphic/contributions/rect-contribution-render.js +90 -0
  1491. package/es/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -0
  1492. package/es/scenegraph/graphic/contributions/text-contribution-render.d.ts +12 -0
  1493. package/es/scenegraph/graphic/contributions/text-contribution-render.js +69 -0
  1494. package/es/scenegraph/graphic/contributions/text-contribution-render.js.map +1 -0
  1495. package/es/scenegraph/graphic/group.d.ts +37 -0
  1496. package/es/scenegraph/graphic/group.js +127 -0
  1497. package/es/scenegraph/graphic/group.js.map +1 -0
  1498. package/es/scenegraph/graphic/icon.d.ts +47 -0
  1499. package/es/scenegraph/graphic/icon.js +70 -0
  1500. package/es/scenegraph/graphic/icon.js.map +1 -0
  1501. package/es/scenegraph/graphic/mark.d.ts +4 -0
  1502. package/es/scenegraph/graphic/mark.js +66 -0
  1503. package/es/scenegraph/graphic/mark.js.map +1 -0
  1504. package/es/scenegraph/graphic/text.d.ts +2 -0
  1505. package/es/scenegraph/graphic/text.js +2 -0
  1506. package/es/scenegraph/graphic/text.js.map +1 -0
  1507. package/es/scenegraph/group-creater/cell-helper.d.ts +16 -0
  1508. package/es/scenegraph/group-creater/cell-helper.js +325 -0
  1509. package/es/scenegraph/group-creater/cell-helper.js.map +1 -0
  1510. package/es/scenegraph/group-creater/cell-type/button-cell.d.ts +6 -0
  1511. package/es/scenegraph/group-creater/cell-type/button-cell.js +137 -0
  1512. package/es/scenegraph/group-creater/cell-type/button-cell.js.map +1 -0
  1513. package/es/scenegraph/group-creater/cell-type/chart-cell.d.ts +5 -0
  1514. package/es/scenegraph/group-creater/cell-type/chart-cell.js +76 -0
  1515. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -0
  1516. package/es/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +6 -0
  1517. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js +138 -0
  1518. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
  1519. package/es/scenegraph/group-creater/cell-type/image-cell.d.ts +15 -0
  1520. package/es/scenegraph/group-creater/cell-type/image-cell.js +206 -0
  1521. package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -0
  1522. package/es/scenegraph/group-creater/cell-type/index.d.ts +10 -0
  1523. package/es/scenegraph/group-creater/cell-type/index.js +64 -0
  1524. package/es/scenegraph/group-creater/cell-type/index.js.map +1 -0
  1525. package/es/scenegraph/group-creater/cell-type/progress-bar-cell.d.ts +11 -0
  1526. package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js +389 -0
  1527. package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -0
  1528. package/es/scenegraph/group-creater/cell-type/radio-cell.d.ts +6 -0
  1529. package/es/scenegraph/group-creater/cell-type/radio-cell.js +143 -0
  1530. package/es/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -0
  1531. package/es/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +5 -0
  1532. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +202 -0
  1533. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -0
  1534. package/es/scenegraph/group-creater/cell-type/switch-cell.d.ts +6 -0
  1535. package/es/scenegraph/group-creater/cell-type/switch-cell.js +150 -0
  1536. package/es/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -0
  1537. package/es/scenegraph/group-creater/cell-type/text-cell.d.ts +6 -0
  1538. package/es/scenegraph/group-creater/cell-type/text-cell.js +66 -0
  1539. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -0
  1540. package/es/scenegraph/group-creater/cell-type/video-cell.d.ts +6 -0
  1541. package/es/scenegraph/group-creater/cell-type/video-cell.js +127 -0
  1542. package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -0
  1543. package/es/scenegraph/group-creater/column-helper.d.ts +14 -0
  1544. package/es/scenegraph/group-creater/column-helper.js +141 -0
  1545. package/es/scenegraph/group-creater/column-helper.js.map +1 -0
  1546. package/es/scenegraph/group-creater/column.d.ts +4 -0
  1547. package/es/scenegraph/group-creater/column.js +26 -0
  1548. package/es/scenegraph/group-creater/column.js.map +1 -0
  1549. package/es/scenegraph/group-creater/init-scenegraph.d.ts +2 -0
  1550. package/es/scenegraph/group-creater/init-scenegraph.js +50 -0
  1551. package/es/scenegraph/group-creater/init-scenegraph.js.map +1 -0
  1552. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.d.ts +3 -0
  1553. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +46 -0
  1554. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
  1555. package/es/scenegraph/group-creater/progress/default-width-height.d.ts +3 -0
  1556. package/es/scenegraph/group-creater/progress/default-width-height.js +18 -0
  1557. package/es/scenegraph/group-creater/progress/default-width-height.js.map +1 -0
  1558. package/es/scenegraph/group-creater/progress/proxy.d.ts +79 -0
  1559. package/es/scenegraph/group-creater/progress/proxy.js +357 -0
  1560. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -0
  1561. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +4 -0
  1562. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +168 -0
  1563. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -0
  1564. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +4 -0
  1565. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +185 -0
  1566. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -0
  1567. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
  1568. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js +56 -0
  1569. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
  1570. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
  1571. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js +70 -0
  1572. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
  1573. package/es/scenegraph/group-creater/progress/update-position/update-auto-column.d.ts +2 -0
  1574. package/es/scenegraph/group-creater/progress/update-position/update-auto-column.js +29 -0
  1575. package/es/scenegraph/group-creater/progress/update-position/update-auto-column.js.map +1 -0
  1576. package/es/scenegraph/group-creater/progress/update-position/update-auto-row.d.ts +2 -0
  1577. package/es/scenegraph/group-creater/progress/update-position/update-auto-row.js +39 -0
  1578. package/es/scenegraph/group-creater/progress/update-position/update-auto-row.js.map +1 -0
  1579. package/es/scenegraph/group-creater/progress/update-position/util.d.ts +8 -0
  1580. package/es/scenegraph/group-creater/progress/update-position/util.js +88 -0
  1581. package/es/scenegraph/group-creater/progress/update-position/util.js.map +1 -0
  1582. package/es/scenegraph/icon/icon-update.d.ts +28 -0
  1583. package/es/scenegraph/icon/icon-update.js +178 -0
  1584. package/es/scenegraph/icon/icon-update.js.map +1 -0
  1585. package/es/scenegraph/layout/compute-col-width.d.ts +4 -0
  1586. package/es/scenegraph/layout/compute-col-width.js +320 -0
  1587. package/es/scenegraph/layout/compute-col-width.js.map +1 -0
  1588. package/es/scenegraph/layout/compute-row-height.d.ts +3 -0
  1589. package/es/scenegraph/layout/compute-row-height.js +340 -0
  1590. package/es/scenegraph/layout/compute-row-height.js.map +1 -0
  1591. package/es/scenegraph/layout/frozen-react.d.ts +5 -0
  1592. package/es/scenegraph/layout/frozen-react.js +82 -0
  1593. package/es/scenegraph/layout/frozen-react.js.map +1 -0
  1594. package/es/scenegraph/layout/frozen.d.ts +6 -0
  1595. package/es/scenegraph/layout/frozen.js +328 -0
  1596. package/es/scenegraph/layout/frozen.js.map +1 -0
  1597. package/es/scenegraph/layout/height-util.d.ts +7 -0
  1598. package/es/scenegraph/layout/height-util.js +118 -0
  1599. package/es/scenegraph/layout/height-util.js.map +1 -0
  1600. package/es/scenegraph/layout/move-cell.d.ts +2 -0
  1601. package/es/scenegraph/layout/move-cell.js +44 -0
  1602. package/es/scenegraph/layout/move-cell.js.map +1 -0
  1603. package/es/scenegraph/layout/update-col.d.ts +3 -0
  1604. package/es/scenegraph/layout/update-col.js +204 -0
  1605. package/es/scenegraph/layout/update-col.js.map +1 -0
  1606. package/es/scenegraph/layout/update-height.d.ts +6 -0
  1607. package/es/scenegraph/layout/update-height.js +149 -0
  1608. package/es/scenegraph/layout/update-height.js.map +1 -0
  1609. package/es/scenegraph/layout/update-row.d.ts +3 -0
  1610. package/es/scenegraph/layout/update-row.js +278 -0
  1611. package/es/scenegraph/layout/update-row.js.map +1 -0
  1612. package/es/scenegraph/layout/update-width.d.ts +2 -0
  1613. package/es/scenegraph/layout/update-width.js +247 -0
  1614. package/es/scenegraph/layout/update-width.js.map +1 -0
  1615. package/es/scenegraph/refresh-node/update-chart.d.ts +7 -0
  1616. package/es/scenegraph/refresh-node/update-chart.js +196 -0
  1617. package/es/scenegraph/refresh-node/update-chart.js.map +1 -0
  1618. package/es/scenegraph/scenegraph.d.ts +182 -0
  1619. package/es/scenegraph/scenegraph.js +908 -0
  1620. package/es/scenegraph/scenegraph.js.map +1 -0
  1621. package/es/scenegraph/select/create-select-border.d.ts +3 -0
  1622. package/es/scenegraph/select/create-select-border.js +51 -0
  1623. package/es/scenegraph/select/create-select-border.js.map +1 -0
  1624. package/es/scenegraph/select/delete-select-border.d.ts +5 -0
  1625. package/es/scenegraph/select/delete-select-border.js +29 -0
  1626. package/es/scenegraph/select/delete-select-border.js.map +1 -0
  1627. package/es/scenegraph/select/move-select-border.d.ts +2 -0
  1628. package/es/scenegraph/select/move-select-border.js +9 -0
  1629. package/es/scenegraph/select/move-select-border.js.map +1 -0
  1630. package/es/scenegraph/select/update-select-border.d.ts +8 -0
  1631. package/es/scenegraph/select/update-select-border.js +263 -0
  1632. package/es/scenegraph/select/update-select-border.js.map +1 -0
  1633. package/es/scenegraph/select/update-select-style.d.ts +3 -0
  1634. package/es/scenegraph/select/update-select-style.js +7 -0
  1635. package/es/scenegraph/select/update-select-style.js.map +1 -0
  1636. package/es/scenegraph/stick-text/index.d.ts +3 -0
  1637. package/es/scenegraph/stick-text/index.js +179 -0
  1638. package/es/scenegraph/stick-text/index.js.map +1 -0
  1639. package/es/scenegraph/style/corner-cell.d.ts +3 -0
  1640. package/es/scenegraph/style/corner-cell.js +22 -0
  1641. package/es/scenegraph/style/corner-cell.js.map +1 -0
  1642. package/es/scenegraph/style/frame-border.d.ts +8 -0
  1643. package/es/scenegraph/style/frame-border.js +138 -0
  1644. package/es/scenegraph/style/frame-border.js.map +1 -0
  1645. package/es/scenegraph/utils/border-line.d.ts +8 -0
  1646. package/es/scenegraph/utils/border-line.js +45 -0
  1647. package/es/scenegraph/utils/border-line.js.map +1 -0
  1648. package/es/scenegraph/utils/break-string.d.ts +5 -0
  1649. package/es/scenegraph/utils/break-string.js +16 -0
  1650. package/es/scenegraph/utils/break-string.js.map +1 -0
  1651. package/es/scenegraph/utils/cell-border-stroke-width.d.ts +3 -0
  1652. package/es/scenegraph/utils/cell-border-stroke-width.js +12 -0
  1653. package/es/scenegraph/utils/cell-border-stroke-width.js.map +1 -0
  1654. package/es/scenegraph/utils/cell-pos.d.ts +4 -0
  1655. package/es/scenegraph/utils/cell-pos.js +12 -0
  1656. package/es/scenegraph/utils/cell-pos.js.map +1 -0
  1657. package/es/scenegraph/utils/deal-promise-data.d.ts +2 -0
  1658. package/es/scenegraph/utils/deal-promise-data.js +6 -0
  1659. package/es/scenegraph/utils/deal-promise-data.js.map +1 -0
  1660. package/es/scenegraph/utils/empty-group.d.ts +2 -0
  1661. package/es/scenegraph/utils/empty-group.js +6 -0
  1662. package/es/scenegraph/utils/empty-group.js.map +1 -0
  1663. package/es/scenegraph/utils/font.d.ts +1 -0
  1664. package/es/scenegraph/utils/font.js +6 -0
  1665. package/es/scenegraph/utils/font.js.map +1 -0
  1666. package/es/scenegraph/utils/get-cell-merge.d.ts +3 -0
  1667. package/es/scenegraph/utils/get-cell-merge.js +11 -0
  1668. package/es/scenegraph/utils/get-cell-merge.js.map +1 -0
  1669. package/es/scenegraph/utils/get-hierarchy-offset.d.ts +2 -0
  1670. package/es/scenegraph/utils/get-hierarchy-offset.js +21 -0
  1671. package/es/scenegraph/utils/get-hierarchy-offset.js.map +1 -0
  1672. package/es/scenegraph/utils/get-prop.d.ts +4 -0
  1673. package/es/scenegraph/utils/get-prop.js +36 -0
  1674. package/es/scenegraph/utils/get-prop.js.map +1 -0
  1675. package/es/scenegraph/utils/icon.d.ts +12 -0
  1676. package/es/scenegraph/utils/icon.js +29 -0
  1677. package/es/scenegraph/utils/icon.js.map +1 -0
  1678. package/es/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
  1679. package/es/scenegraph/utils/is-merge-cell-group.js +6 -0
  1680. package/es/scenegraph/utils/is-merge-cell-group.js.map +1 -0
  1681. package/es/scenegraph/utils/keep-aspect-ratio.d.ts +4 -0
  1682. package/es/scenegraph/utils/keep-aspect-ratio.js +11 -0
  1683. package/es/scenegraph/utils/keep-aspect-ratio.js.map +1 -0
  1684. package/es/scenegraph/utils/padding.d.ts +6 -0
  1685. package/es/scenegraph/utils/padding.js +14 -0
  1686. package/es/scenegraph/utils/padding.js.map +1 -0
  1687. package/es/scenegraph/utils/render-service.d.ts +7 -0
  1688. package/es/scenegraph/utils/render-service.js +19 -0
  1689. package/es/scenegraph/utils/render-service.js.map +1 -0
  1690. package/es/scenegraph/utils/text-icon-layout.d.ts +29 -0
  1691. package/es/scenegraph/utils/text-icon-layout.js +334 -0
  1692. package/es/scenegraph/utils/text-icon-layout.js.map +1 -0
  1693. package/es/scenegraph/utils/text-measure.d.ts +38 -0
  1694. package/es/scenegraph/utils/text-measure.js +163 -0
  1695. package/es/scenegraph/utils/text-measure.js.map +1 -0
  1696. package/es/scenegraph/utils/text-pos.d.ts +8 -0
  1697. package/es/scenegraph/utils/text-pos.js +20 -0
  1698. package/es/scenegraph/utils/text-pos.js.map +1 -0
  1699. package/es/scenegraph/utils/update-container.d.ts +2 -0
  1700. package/es/scenegraph/utils/update-container.js +6 -0
  1701. package/es/scenegraph/utils/update-container.js.map +1 -0
  1702. package/es/state/cell-move/adjust-header.d.ts +3 -0
  1703. package/es/state/cell-move/adjust-header.js +20 -0
  1704. package/es/state/cell-move/adjust-header.js.map +1 -0
  1705. package/es/state/cell-move/index.d.ts +4 -0
  1706. package/es/state/cell-move/index.js +106 -0
  1707. package/es/state/cell-move/index.js.map +1 -0
  1708. package/es/state/checkbox/checkbox.d.ts +12 -0
  1709. package/es/state/checkbox/checkbox.js +199 -0
  1710. package/es/state/checkbox/checkbox.js.map +1 -0
  1711. package/es/state/common/check-in-select.d.ts +7 -0
  1712. package/es/state/common/check-in-select.js +53 -0
  1713. package/es/state/common/check-in-select.js.map +1 -0
  1714. package/es/state/drill/index.d.ts +2 -0
  1715. package/es/state/drill/index.js +9 -0
  1716. package/es/state/drill/index.js.map +1 -0
  1717. package/es/state/frozen/index.d.ts +2 -0
  1718. package/es/state/frozen/index.js +4 -0
  1719. package/es/state/frozen/index.js.map +1 -0
  1720. package/es/state/hover/col.d.ts +4 -0
  1721. package/es/state/hover/col.js +16 -0
  1722. package/es/state/hover/col.js.map +1 -0
  1723. package/es/state/hover/is-cell-hover.d.ts +5 -0
  1724. package/es/state/hover/is-cell-hover.js +44 -0
  1725. package/es/state/hover/is-cell-hover.js.map +1 -0
  1726. package/es/state/hover/row.d.ts +4 -0
  1727. package/es/state/hover/row.js +14 -0
  1728. package/es/state/hover/row.js.map +1 -0
  1729. package/es/state/hover/single.d.ts +4 -0
  1730. package/es/state/hover/single.js +10 -0
  1731. package/es/state/hover/single.js.map +1 -0
  1732. package/es/state/hover/update-cell.d.ts +2 -0
  1733. package/es/state/hover/update-cell.js +15 -0
  1734. package/es/state/hover/update-cell.js.map +1 -0
  1735. package/es/state/hover/update-position.d.ts +2 -0
  1736. package/es/state/hover/update-position.js +36 -0
  1737. package/es/state/hover/update-position.js.map +1 -0
  1738. package/es/state/radio/radio.d.ts +7 -0
  1739. package/es/state/radio/radio.js +80 -0
  1740. package/es/state/radio/radio.js.map +1 -0
  1741. package/es/state/resize/update-resize-column.d.ts +2 -0
  1742. package/es/state/resize/update-resize-column.js +79 -0
  1743. package/es/state/resize/update-resize-column.js.map +1 -0
  1744. package/es/state/resize/update-resize-row.d.ts +2 -0
  1745. package/es/state/resize/update-resize-row.js +58 -0
  1746. package/es/state/resize/update-resize-row.js.map +1 -0
  1747. package/es/state/select/custom-select.d.ts +7 -0
  1748. package/es/state/select/custom-select.js +30 -0
  1749. package/es/state/select/custom-select.js.map +1 -0
  1750. package/es/state/select/is-cell-select-highlight.d.ts +6 -0
  1751. package/es/state/select/is-cell-select-highlight.js +81 -0
  1752. package/es/state/select/is-cell-select-highlight.js.map +1 -0
  1753. package/es/state/select/update-position.d.ts +4 -0
  1754. package/es/state/select/update-position.js +300 -0
  1755. package/es/state/select/update-position.js.map +1 -0
  1756. package/es/state/sort/index.d.ts +2 -0
  1757. package/es/state/sort/index.js +50 -0
  1758. package/es/state/sort/index.js.map +1 -0
  1759. package/es/state/spark-line/index.d.ts +3 -0
  1760. package/es/state/spark-line/index.js +96 -0
  1761. package/es/state/spark-line/index.js.map +1 -0
  1762. package/es/state/state.d.ts +206 -0
  1763. package/es/state/state.js +834 -0
  1764. package/es/state/state.js.map +1 -0
  1765. package/es/themes/ARCO.d.ts +3 -0
  1766. package/es/themes/ARCO.js +109 -0
  1767. package/es/themes/ARCO.js.map +1 -0
  1768. package/es/themes/BRIGHT.d.ts +3 -0
  1769. package/es/themes/BRIGHT.js +66 -0
  1770. package/es/themes/BRIGHT.js.map +1 -0
  1771. package/es/themes/DARK.d.ts +3 -0
  1772. package/es/themes/DARK.js +99 -0
  1773. package/es/themes/DARK.js.map +1 -0
  1774. package/es/themes/DEFAULT.d.ts +3 -0
  1775. package/es/themes/DEFAULT.js +82 -0
  1776. package/es/themes/DEFAULT.js.map +1 -0
  1777. package/es/themes/SIMPLIFY.d.ts +3 -0
  1778. package/es/themes/SIMPLIFY.js +49 -0
  1779. package/es/themes/SIMPLIFY.js.map +1 -0
  1780. package/es/themes/component.d.ts +35 -0
  1781. package/es/themes/component.js +42 -0
  1782. package/es/themes/component.js.map +1 -0
  1783. package/es/themes/theme.d.ts +67 -0
  1784. package/es/themes/theme.js +752 -0
  1785. package/es/themes/theme.js.map +1 -0
  1786. package/es/themes.d.ts +28 -0
  1787. package/es/themes.js +64 -0
  1788. package/es/themes.js.map +1 -0
  1789. package/es/tools/LimitPromiseQueue.d.ts +8 -0
  1790. package/es/tools/LimitPromiseQueue.js +21 -0
  1791. package/es/tools/LimitPromiseQueue.js.map +1 -0
  1792. package/es/tools/NumberMap.d.ts +23 -0
  1793. package/es/tools/NumberMap.js +117 -0
  1794. package/es/tools/NumberMap.js.map +1 -0
  1795. package/es/tools/Rect.d.ts +24 -0
  1796. package/es/tools/Rect.js +62 -0
  1797. package/es/tools/Rect.js.map +1 -0
  1798. package/es/tools/calc.d.ts +8 -0
  1799. package/es/tools/calc.js +201 -0
  1800. package/es/tools/calc.js.map +1 -0
  1801. package/es/tools/cell-range.d.ts +2 -0
  1802. package/es/tools/cell-range.js +4 -0
  1803. package/es/tools/cell-range.js.map +1 -0
  1804. package/es/tools/debounce.d.ts +1 -0
  1805. package/es/tools/debounce.js +43 -0
  1806. package/es/tools/debounce.js.map +1 -0
  1807. package/es/tools/diff-cell.d.ts +72 -0
  1808. package/es/tools/diff-cell.js +160 -0
  1809. package/es/tools/diff-cell.js.map +1 -0
  1810. package/es/tools/dom.d.ts +1 -0
  1811. package/es/tools/dom.js +5 -0
  1812. package/es/tools/dom.js.map +1 -0
  1813. package/es/tools/env.d.ts +19 -0
  1814. package/es/tools/env.js +42 -0
  1815. package/es/tools/env.js.map +1 -0
  1816. package/es/tools/get-data-path/create-dataset.d.ts +11 -0
  1817. package/es/tools/get-data-path/create-dataset.js +147 -0
  1818. package/es/tools/get-data-path/create-dataset.js.map +1 -0
  1819. package/es/tools/get-data-path/index.d.ts +2 -0
  1820. package/es/tools/get-data-path/index.js +51 -0
  1821. package/es/tools/get-data-path/index.js.map +1 -0
  1822. package/es/tools/global.d.ts +15 -0
  1823. package/es/tools/global.js +30 -0
  1824. package/es/tools/global.js.map +1 -0
  1825. package/es/tools/helper.d.ts +72 -0
  1826. package/es/tools/helper.js +226 -0
  1827. package/es/tools/helper.js.map +1 -0
  1828. package/es/tools/icons.d.ts +4 -0
  1829. package/es/tools/icons.js +4 -0
  1830. package/es/tools/icons.js.map +1 -0
  1831. package/es/tools/isx.d.ts +16 -0
  1832. package/es/tools/isx.js +79 -0
  1833. package/es/tools/isx.js.map +1 -0
  1834. package/es/tools/join.d.ts +1 -0
  1835. package/es/tools/join.js +6 -0
  1836. package/es/tools/join.js.map +1 -0
  1837. package/es/tools/merge-range.d.ts +11 -0
  1838. package/es/tools/merge-range.js +28 -0
  1839. package/es/tools/merge-range.js.map +1 -0
  1840. package/es/tools/pixel-ratio.d.ts +2 -0
  1841. package/es/tools/pixel-ratio.js +12 -0
  1842. package/es/tools/pixel-ratio.js.map +1 -0
  1843. package/es/tools/sort.d.ts +2 -0
  1844. package/es/tools/sort.js +12 -0
  1845. package/es/tools/sort.js.map +1 -0
  1846. package/es/tools/style.d.ts +5 -0
  1847. package/es/tools/style.js +20 -0
  1848. package/es/tools/style.js.map +1 -0
  1849. package/es/tools/update-row.d.ts +19 -0
  1850. package/es/tools/update-row.js +32 -0
  1851. package/es/tools/update-row.js.map +1 -0
  1852. package/es/tools/util.d.ts +46 -0
  1853. package/es/tools/util.js +231 -0
  1854. package/es/tools/util.js.map +1 -0
  1855. package/es/ts-types/animation/appear.d.ts +11 -0
  1856. package/es/ts-types/animation/appear.js +2 -0
  1857. package/es/ts-types/animation/appear.js.map +1 -0
  1858. package/es/ts-types/animation/index.d.ts +1 -0
  1859. package/es/ts-types/animation/index.js +2 -0
  1860. package/es/ts-types/animation/index.js.map +1 -0
  1861. package/es/ts-types/base-table.d.ts +641 -0
  1862. package/es/ts-types/base-table.js +2 -0
  1863. package/es/ts-types/base-table.js.map +1 -0
  1864. package/es/ts-types/column/index.d.ts +2 -0
  1865. package/es/ts-types/column/index.js +4 -0
  1866. package/es/ts-types/column/index.js.map +1 -0
  1867. package/es/ts-types/column/style.d.ts +151 -0
  1868. package/es/ts-types/column/style.js +2 -0
  1869. package/es/ts-types/column/style.js.map +1 -0
  1870. package/es/ts-types/column/type.d.ts +2 -0
  1871. package/es/ts-types/column/type.js +2 -0
  1872. package/es/ts-types/column/type.js.map +1 -0
  1873. package/es/ts-types/common.d.ts +114 -0
  1874. package/es/ts-types/common.js +13 -0
  1875. package/es/ts-types/common.js.map +1 -0
  1876. package/es/ts-types/component/axis.d.ts +2 -0
  1877. package/es/ts-types/component/axis.js +2 -0
  1878. package/es/ts-types/component/axis.js.map +1 -0
  1879. package/es/ts-types/component/empty-tip.d.ts +20 -0
  1880. package/es/ts-types/component/empty-tip.js +2 -0
  1881. package/es/ts-types/component/empty-tip.js.map +1 -0
  1882. package/es/ts-types/component/index.d.ts +1 -0
  1883. package/es/ts-types/component/index.js +2 -0
  1884. package/es/ts-types/component/index.js.map +1 -0
  1885. package/es/ts-types/component/legend.d.ts +18 -0
  1886. package/es/ts-types/component/legend.js +2 -0
  1887. package/es/ts-types/component/legend.js.map +1 -0
  1888. package/es/ts-types/component/title.d.ts +49 -0
  1889. package/es/ts-types/component/title.js +2 -0
  1890. package/es/ts-types/component/title.js.map +1 -0
  1891. package/es/ts-types/component/util.d.ts +1 -0
  1892. package/es/ts-types/component/util.js +2 -0
  1893. package/es/ts-types/component/util.js.map +1 -0
  1894. package/es/ts-types/customElement.d.ts +128 -0
  1895. package/es/ts-types/customElement.js +2 -0
  1896. package/es/ts-types/customElement.js.map +1 -0
  1897. package/es/ts-types/customLayout.d.ts +9 -0
  1898. package/es/ts-types/customLayout.js +2 -0
  1899. package/es/ts-types/customLayout.js.map +1 -0
  1900. package/es/ts-types/dataset/aggregation.d.ts +192 -0
  1901. package/es/ts-types/dataset/aggregation.js +397 -0
  1902. package/es/ts-types/dataset/aggregation.js.map +1 -0
  1903. package/es/ts-types/dataset/index.d.ts +1 -0
  1904. package/es/ts-types/dataset/index.js +2 -0
  1905. package/es/ts-types/dataset/index.js.map +1 -0
  1906. package/es/ts-types/events.d.ts +363 -0
  1907. package/es/ts-types/events.js +2 -0
  1908. package/es/ts-types/events.js.map +1 -0
  1909. package/es/ts-types/icon.d.ts +93 -0
  1910. package/es/ts-types/icon.js +30 -0
  1911. package/es/ts-types/icon.js.map +1 -0
  1912. package/es/ts-types/index.d.ts +17 -0
  1913. package/es/ts-types/index.js +34 -0
  1914. package/es/ts-types/index.js.map +1 -0
  1915. package/es/ts-types/list-table/define/basic-define.d.ts +50 -0
  1916. package/es/ts-types/list-table/define/basic-define.js +2 -0
  1917. package/es/ts-types/list-table/define/basic-define.js.map +1 -0
  1918. package/es/ts-types/list-table/define/button-define.d.ts +9 -0
  1919. package/es/ts-types/list-table/define/button-define.js +2 -0
  1920. package/es/ts-types/list-table/define/button-define.js.map +1 -0
  1921. package/es/ts-types/list-table/define/chart-define.d.ts +11 -0
  1922. package/es/ts-types/list-table/define/chart-define.js +2 -0
  1923. package/es/ts-types/list-table/define/chart-define.js.map +1 -0
  1924. package/es/ts-types/list-table/define/checkbox-define.d.ts +15 -0
  1925. package/es/ts-types/list-table/define/checkbox-define.js +2 -0
  1926. package/es/ts-types/list-table/define/checkbox-define.js.map +1 -0
  1927. package/es/ts-types/list-table/define/composite-define.d.ts +26 -0
  1928. package/es/ts-types/list-table/define/composite-define.js +2 -0
  1929. package/es/ts-types/list-table/define/composite-define.js.map +1 -0
  1930. package/es/ts-types/list-table/define/image-define.d.ts +17 -0
  1931. package/es/ts-types/list-table/define/image-define.js +2 -0
  1932. package/es/ts-types/list-table/define/image-define.js.map +1 -0
  1933. package/es/ts-types/list-table/define/index.d.ts +31 -0
  1934. package/es/ts-types/list-table/define/index.js +2 -0
  1935. package/es/ts-types/list-table/define/index.js.map +1 -0
  1936. package/es/ts-types/list-table/define/link-define.d.ts +22 -0
  1937. package/es/ts-types/list-table/define/link-define.js +2 -0
  1938. package/es/ts-types/list-table/define/link-define.js.map +1 -0
  1939. package/es/ts-types/list-table/define/multilinetext-define.d.ts +11 -0
  1940. package/es/ts-types/list-table/define/multilinetext-define.js +2 -0
  1941. package/es/ts-types/list-table/define/multilinetext-define.js.map +1 -0
  1942. package/es/ts-types/list-table/define/progressbar-define.d.ts +11 -0
  1943. package/es/ts-types/list-table/define/progressbar-define.js +2 -0
  1944. package/es/ts-types/list-table/define/progressbar-define.js.map +1 -0
  1945. package/es/ts-types/list-table/define/radio-define.d.ts +11 -0
  1946. package/es/ts-types/list-table/define/radio-define.js +2 -0
  1947. package/es/ts-types/list-table/define/radio-define.js.map +1 -0
  1948. package/es/ts-types/list-table/define/sparkline-define.d.ts +10 -0
  1949. package/es/ts-types/list-table/define/sparkline-define.js +2 -0
  1950. package/es/ts-types/list-table/define/sparkline-define.js.map +1 -0
  1951. package/es/ts-types/list-table/define/switch-define.d.ts +11 -0
  1952. package/es/ts-types/list-table/define/switch-define.js +2 -0
  1953. package/es/ts-types/list-table/define/switch-define.js.map +1 -0
  1954. package/es/ts-types/list-table/index.d.ts +2 -0
  1955. package/es/ts-types/list-table/index.js +4 -0
  1956. package/es/ts-types/list-table/index.js.map +1 -0
  1957. package/es/ts-types/list-table/layout-map/api.d.ts +126 -0
  1958. package/es/ts-types/list-table/layout-map/api.js +2 -0
  1959. package/es/ts-types/list-table/layout-map/api.js.map +1 -0
  1960. package/es/ts-types/list-table/layout-map/index.d.ts +1 -0
  1961. package/es/ts-types/list-table/layout-map/index.js +2 -0
  1962. package/es/ts-types/list-table/layout-map/index.js.map +1 -0
  1963. package/es/ts-types/menu.d.ts +74 -0
  1964. package/es/ts-types/menu.js +2 -0
  1965. package/es/ts-types/menu.js.map +1 -0
  1966. package/es/ts-types/new-data-set.d.ts +158 -0
  1967. package/es/ts-types/new-data-set.js +15 -0
  1968. package/es/ts-types/new-data-set.js.map +1 -0
  1969. package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +10 -0
  1970. package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +13 -0
  1971. package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -0
  1972. package/es/ts-types/pivot-table/corner.d.ts +37 -0
  1973. package/es/ts-types/pivot-table/corner.js +2 -0
  1974. package/es/ts-types/pivot-table/corner.js.map +1 -0
  1975. package/es/ts-types/pivot-table/dimension/basic-dimension.d.ts +43 -0
  1976. package/es/ts-types/pivot-table/dimension/basic-dimension.js +2 -0
  1977. package/es/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -0
  1978. package/es/ts-types/pivot-table/dimension/image-dimension.d.ts +10 -0
  1979. package/es/ts-types/pivot-table/dimension/image-dimension.js +2 -0
  1980. package/es/ts-types/pivot-table/dimension/image-dimension.js.map +1 -0
  1981. package/es/ts-types/pivot-table/dimension/index.d.ts +6 -0
  1982. package/es/ts-types/pivot-table/dimension/index.js +2 -0
  1983. package/es/ts-types/pivot-table/dimension/index.js.map +1 -0
  1984. package/es/ts-types/pivot-table/dimension/link-dimension.d.ts +13 -0
  1985. package/es/ts-types/pivot-table/dimension/link-dimension.js +2 -0
  1986. package/es/ts-types/pivot-table/dimension/link-dimension.js.map +1 -0
  1987. package/es/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +7 -0
  1988. package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js +2 -0
  1989. package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -0
  1990. package/es/ts-types/pivot-table/index.d.ts +4 -0
  1991. package/es/ts-types/pivot-table/index.js +8 -0
  1992. package/es/ts-types/pivot-table/index.js.map +1 -0
  1993. package/es/ts-types/pivot-table/indicator/basic-indicator.d.ts +51 -0
  1994. package/es/ts-types/pivot-table/indicator/basic-indicator.js +2 -0
  1995. package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -0
  1996. package/es/ts-types/pivot-table/indicator/chart-indicator.d.ts +11 -0
  1997. package/es/ts-types/pivot-table/indicator/chart-indicator.js +2 -0
  1998. package/es/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -0
  1999. package/es/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
  2000. package/es/ts-types/pivot-table/indicator/checkbox-indicator.js +2 -0
  2001. package/es/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
  2002. package/es/ts-types/pivot-table/indicator/composite-indicator.d.ts +24 -0
  2003. package/es/ts-types/pivot-table/indicator/composite-indicator.js +2 -0
  2004. package/es/ts-types/pivot-table/indicator/composite-indicator.js.map +1 -0
  2005. package/es/ts-types/pivot-table/indicator/image-indicator.d.ts +17 -0
  2006. package/es/ts-types/pivot-table/indicator/image-indicator.js +2 -0
  2007. package/es/ts-types/pivot-table/indicator/image-indicator.js.map +1 -0
  2008. package/es/ts-types/pivot-table/indicator/index.d.ts +12 -0
  2009. package/es/ts-types/pivot-table/indicator/index.js +2 -0
  2010. package/es/ts-types/pivot-table/indicator/index.js.map +1 -0
  2011. package/es/ts-types/pivot-table/indicator/link-indicator.d.ts +22 -0
  2012. package/es/ts-types/pivot-table/indicator/link-indicator.js +2 -0
  2013. package/es/ts-types/pivot-table/indicator/link-indicator.js.map +1 -0
  2014. package/es/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +11 -0
  2015. package/es/ts-types/pivot-table/indicator/multilinetext-indicator.js +2 -0
  2016. package/es/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -0
  2017. package/es/ts-types/pivot-table/indicator/progress-indicator.d.ts +11 -0
  2018. package/es/ts-types/pivot-table/indicator/progress-indicator.js +2 -0
  2019. package/es/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -0
  2020. package/es/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +10 -0
  2021. package/es/ts-types/pivot-table/indicator/sparkline-indicator.js +2 -0
  2022. package/es/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -0
  2023. package/es/ts-types/pivot-table/title.d.ts +20 -0
  2024. package/es/ts-types/pivot-table/title.js +2 -0
  2025. package/es/ts-types/pivot-table/title.js.map +1 -0
  2026. package/es/ts-types/sparkline.d.ts +37 -0
  2027. package/es/ts-types/sparkline.js +2 -0
  2028. package/es/ts-types/sparkline.js.map +1 -0
  2029. package/es/ts-types/style-define.d.ts +72 -0
  2030. package/es/ts-types/style-define.js +2 -0
  2031. package/es/ts-types/style-define.js.map +1 -0
  2032. package/es/ts-types/table-engine.d.ts +405 -0
  2033. package/es/ts-types/table-engine.js +13 -0
  2034. package/es/ts-types/table-engine.js.map +1 -0
  2035. package/es/ts-types/theme.d.ts +164 -0
  2036. package/es/ts-types/theme.js +2 -0
  2037. package/es/ts-types/theme.js.map +1 -0
  2038. package/es/ts-types/tooltip.d.ts +26 -0
  2039. package/es/ts-types/tooltip.js +2 -0
  2040. package/es/ts-types/tooltip.js.map +1 -0
  2041. package/es/vrender.d.ts +8 -0
  2042. package/es/vrender.js +27 -0
  2043. package/es/vrender.js.map +1 -0
  2044. package/package.json +132 -0
@@ -0,0 +1,1866 @@
1
+ "use strict";
2
+
3
+ var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
4
+ void 0 === k2 && (k2 = k);
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
7
+ enumerable: !0,
8
+ get: function() {
9
+ return m[k];
10
+ }
11
+ }), Object.defineProperty(o, k2, desc);
12
+ } : function(o, m, k, k2) {
13
+ void 0 === k2 && (k2 = k), o[k2] = m[k];
14
+ }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) {
15
+ Object.defineProperty(o, "default", {
16
+ enumerable: !0,
17
+ value: v
18
+ });
19
+ } : function(o, v) {
20
+ o.default = v;
21
+ }), __importStar = this && this.__importStar || function(mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
25
+ return __setModuleDefault(result, mod), result;
26
+ }, __importDefault = this && this.__importDefault || function(mod) {
27
+ return mod && mod.__esModule ? mod : {
28
+ default: mod
29
+ };
30
+ };
31
+
32
+ Object.defineProperty(exports, "__esModule", {
33
+ value: !0
34
+ }), exports.BaseTable = void 0;
35
+
36
+ const columnStyleContents = __importStar(require("../body-helper/style")), style_1 = require("./style"), style = __importStar(require("../tools/style")), ts_types_1 = require("../ts-types"), helper_1 = require("../tools/helper"), TABLE_EVENT_TYPE_1 = require("./TABLE_EVENT_TYPE"), EventHandler_1 = require("../event/EventHandler"), EventTarget_1 = require("../event/EventTarget"), NumberMap_1 = require("../tools/NumberMap"), Rect_1 = require("../tools/Rect"), util_1 = require("../tools/util"), themes_1 = __importDefault(require("../themes")), env_1 = require("../tools/env"), scenegraph_1 = require("../scenegraph/scenegraph"), state_1 = require("../state/state"), event_1 = require("../event/event"), body_helper_1 = require("../body-helper/body-helper"), header_helper_1 = require("../header-helper/header-helper"), vutils_1 = require("@visactor/vutils"), text_measure_1 = require("../scenegraph/utils/text-measure"), get_prop_1 = require("../scenegraph/utils/get-prop"), icons_1 = require("../plugins/icons"), tableHelper_1 = require("./tableHelper"), FouseInput_1 = require("./FouseInput"), pixel_ratio_1 = require("../tools/pixel-ratio"), chart_render_helper_1 = require("../scenegraph/graphic/contributions/chart-render-helper"), row_height_map_1 = require("../layout/row-height-map"), row_series_number_helper_1 = require("./row-series-number-helper"), update_select_border_1 = require("../scenegraph/select/update-select-border"), react_custom_layout_1 = require("../components/react/react-custom-layout"), layout_helper_1 = require("../layout/layout-helper"), factory_1 = require("./factory"), get_cell_position_1 = require("./utils/get-cell-position"), style_helper_1 = require("./style-helper"), frozen_react_1 = require("../scenegraph/layout/frozen-react"), icons_2 = require("../icons"), animation_1 = require("./animation"), check_in_select_1 = require("../state/common/check-in-select"), is_cell_select_highlight_1 = require("../state/select/is-cell-select-highlight"), get_custom_merge_cell_func_1 = require("./utils/get-custom-merge-cell-func"), vrender_1 = require("./../vrender"), {toBoxArray: toBoxArray} = helper_1.style, {isTouchEvent: isTouchEvent} = helper_1.event, rangeReg = /^\$(\d+)\$(\d+)$/;
37
+
38
+ (0, style_1.importStyle)();
39
+
40
+ class BaseTable extends EventTarget_1.EventTarget {
41
+ static get EVENT_TYPE() {
42
+ return TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE;
43
+ }
44
+ constructor(container, options = {}) {
45
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
46
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.5", this.id = `VTable${Date.now()}`,
47
+ this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = (0, util_1.throttle2)(this.render.bind(this), 200),
48
+ !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
49
+ !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vrender_1.vglobal.isImageAnonymous = !1);
50
+ const {frozenColCount: frozenColCount = 0, unfreezeAllOnExceedsMaxWidth: unfreezeAllOnExceedsMaxWidth, frozenRowCount: frozenRowCount, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, autoFillHeight: autoFillHeight = !1, widthAdaptiveMode: widthAdaptiveMode = "only-body", heightAdaptiveMode: heightAdaptiveMode = "only-body", keyboardOptions: keyboardOptions, eventOptions: eventOptions, rowSeriesNumber: rowSeriesNumber, columnResizeMode: columnResizeMode, rowResizeMode: rowResizeMode = "none", resize: resize, dragHeaderMode: dragHeaderMode, dragOrder: dragOrder, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = pixel_ratio_1.defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior, limitMinWidth: limitMinWidth, limitMinHeight: limitMinHeight, clearDOM: clearDOM = !0} = options;
51
+ this.container = container, this.options = options, this._widthMode = widthMode,
52
+ this._heightMode = heightMode, this._widthAdaptiveMode = widthAdaptiveMode, this._heightAdaptiveMode = heightAdaptiveMode,
53
+ this._autoFillWidth = autoFillWidth, this._autoFillHeight = autoFillHeight, this.customRender = customRender,
54
+ this.padding = {
55
+ top: 0,
56
+ right: 0,
57
+ left: 0,
58
+ bottom: 0
59
+ }, padding && ("number" == typeof padding ? (this.padding.top = padding, this.padding.left = padding,
60
+ this.padding.bottom = padding, this.padding.right = padding) : (padding.top && (this.padding.top = padding.top),
61
+ padding.bottom && (this.padding.bottom = padding.bottom), padding.left && (this.padding.left = padding.left),
62
+ padding.right && (this.padding.right = padding.right))), ((0, vutils_1.isValid)(canvasHeight) || (0,
63
+ vutils_1.isValid)(canvasWidth)) && (this.canvasSizeSeted = !0), this.tableNoFrameWidth = 0,
64
+ this.tableNoFrameHeight = 0, this.canvasWidth = (0, vutils_1.isNumber)(canvasWidth) ? canvasWidth : void 0,
65
+ this.canvasHeight = (0, vutils_1.isNumber)(canvasHeight) ? canvasHeight : void 0,
66
+ this.columnWidthComputeMode = null !== (_b = options.columnWidthComputeMode) && void 0 !== _b ? _b : "normal";
67
+ const internalProps = this.internalProps = {};
68
+ void 0 !== showFrozenIcon && (this.showFrozenIcon = showFrozenIcon), "number" == typeof allowFrozenColCount && allowFrozenColCount <= 0 && (this.showFrozenIcon = !1),
69
+ this.options.canvas ? ("node" !== env_1.Env.mode && (internalProps.element = this.options.canvas.parentElement,
70
+ internalProps.element.style.position = "relative"), internalProps.focusControl = new FouseInput_1.FocusInput(this, internalProps.element),
71
+ internalProps.canvas = this.options.canvas, internalProps.context = internalProps.canvas.getContext("2d")) : "node" !== env_1.Env.mode && (internalProps.element = (0,
72
+ tableHelper_1.createRootElement)(this.padding), internalProps.focusControl = new FouseInput_1.FocusInput(this, internalProps.element),
73
+ internalProps.canvas = document.createElement("canvas"), internalProps.element.appendChild(internalProps.canvas),
74
+ internalProps.context = internalProps.canvas.getContext("2d"), (null === (_c = options.customConfig) || void 0 === _c ? void 0 : _c.createReactContainer) && (0,
75
+ frozen_react_1.createReactContainer)(this)), internalProps.handler = new EventHandler_1.EventHandler,
76
+ (0, vutils_1.isNumber)(this.options.resizeTime) && (internalProps.handler.resizeTime = this.options.resizeTime),
77
+ internalProps.pixelRatio = pixelRatio, internalProps.frozenColCount = frozenColCount,
78
+ internalProps.frozenRowCount = frozenRowCount, internalProps.unfreezeAllOnExceedsMaxWidth = null == unfreezeAllOnExceedsMaxWidth || unfreezeAllOnExceedsMaxWidth,
79
+ internalProps.defaultRowHeight = defaultRowHeight, internalProps.defaultHeaderRowHeight = null != defaultHeaderRowHeight ? defaultHeaderRowHeight : defaultRowHeight,
80
+ internalProps.defaultColWidth = defaultColWidth, internalProps.defaultHeaderColWidth = null != defaultHeaderColWidth ? defaultHeaderColWidth : defaultColWidth,
81
+ internalProps.keyboardOptions = keyboardOptions, internalProps.eventOptions = eventOptions,
82
+ internalProps.rowSeriesNumber = rowSeriesNumber, internalProps.columnResizeMode = null !== (_d = null == resize ? void 0 : resize.columnResizeMode) && void 0 !== _d ? _d : columnResizeMode,
83
+ internalProps.rowResizeMode = null !== (_e = null == resize ? void 0 : resize.rowResizeMode) && void 0 !== _e ? _e : rowResizeMode,
84
+ internalProps.dragHeaderMode = null !== (_g = null !== (_f = null == dragOrder ? void 0 : dragOrder.dragHeaderMode) && void 0 !== _f ? _f : dragHeaderMode) && void 0 !== _g ? _g : "none",
85
+ internalProps.renderChartAsync = renderChartAsync, (0, chart_render_helper_1.setBatchRenderChartCount)(renderChartAsyncBatchCount),
86
+ internalProps.overscrollBehavior = null != overscrollBehavior ? overscrollBehavior : "auto",
87
+ internalProps._rowHeightsMap = new row_height_map_1.NumberRangeMap(this), internalProps._rowRangeHeightsMap = new Map,
88
+ internalProps._colRangeWidthsMap = new Map, internalProps._widthResizedColMap = new Set,
89
+ internalProps._heightResizedRowMap = new Set, this.colWidthsMap = new NumberMap_1.NumberMap,
90
+ this.colContentWidthsMap = new NumberMap_1.NumberMap, this.colWidthsLimit = {};
91
+ const that = this;
92
+ if (internalProps.calcWidthContext = {
93
+ _: internalProps,
94
+ get full() {
95
+ var _a;
96
+ return "node" === env_1.Env.mode ? that.canvasWidth / (null != pixelRatio ? pixelRatio : 1) : this._.canvas.width / (null !== (_a = this._.context.pixelRatio) && void 0 !== _a ? _a : window.devicePixelRatio);
97
+ }
98
+ }, internalProps.cellTextOverflows = {}, internalProps.focusedTable = !1, internalProps.theme = themes_1.default.of(null !== (_h = options.theme) && void 0 !== _h ? _h : themes_1.default.DEFAULT),
99
+ internalProps.theme.isPivot = this.isPivotTable(), (0, icons_2.setIconColor)(internalProps.theme.functionalIconsStyle),
100
+ container ? (clearDOM && (container.innerHTML = ""), container.appendChild(internalProps.element),
101
+ this._updateSize()) : this._updateSize(), internalProps.bodyHelper = new body_helper_1.BodyHelper(this),
102
+ internalProps.headerHelper = new header_helper_1.HeaderHelper(this), internalProps.rowSeriesNumberHelper = new row_series_number_helper_1.RowSeriesNumberHelper(this),
103
+ internalProps.autoWrapText = options.autoWrapText, internalProps.enableLineBreak = options.enableLineBreak,
104
+ internalProps.allowFrozenColCount = null !== (_j = options.allowFrozenColCount) && void 0 !== _j ? _j : 0,
105
+ internalProps.limitMaxAutoWidth = null !== (_k = options.limitMaxAutoWidth) && void 0 !== _k ? _k : 450,
106
+ internalProps.limitMinWidth = null != limitMinWidth ? "number" == typeof limitMinWidth ? limitMinWidth : limitMinWidth ? 10 : 0 : 10,
107
+ internalProps.limitMinHeight = null != limitMinHeight ? "number" == typeof limitMinHeight ? limitMinHeight : limitMinHeight ? 10 : 0 : 10,
108
+ this.scenegraph = new scenegraph_1.Scenegraph(this), this.stateManager = new state_1.StateManager(this),
109
+ this.eventManager = new event_1.EventManager(this), this.animationManager = new animation_1.TableAnimationManager(this),
110
+ options.legends) {
111
+ internalProps.legends = [];
112
+ const createLegend = factory_1.Factory.getFunction("createLegend");
113
+ if (Array.isArray(options.legends)) {
114
+ for (let i = 0; i < options.legends.length; i++) internalProps.legends.push(createLegend(options.legends[i], this));
115
+ this.scenegraph.tableGroup.setAttributes({
116
+ x: this.tableX,
117
+ y: this.tableY
118
+ });
119
+ } else internalProps.legends.push(createLegend(options.legends, this)), this.scenegraph.tableGroup.setAttributes({
120
+ x: this.tableX,
121
+ y: this.tableY
122
+ });
123
+ }
124
+ if (internalProps.tooltip = Object.assign({
125
+ parentElement: this.getElement(),
126
+ renderMode: "html",
127
+ isShowOverflowTextTooltip: !1,
128
+ confine: !0,
129
+ position: ts_types_1.Placement.bottom
130
+ }, options.tooltip), "html" === internalProps.tooltip.renderMode) {
131
+ const TooltipHandler = factory_1.Factory.getComponent("tooltipHandler");
132
+ TooltipHandler && (internalProps.tooltipHandler = new TooltipHandler(this, internalProps.tooltip.confine));
133
+ }
134
+ if (internalProps.menu = Object.assign({
135
+ renderMode: "html"
136
+ }, options.menu), Array.isArray(null === (_l = options.menu) || void 0 === _l ? void 0 : _l.dropDownMenuHighlight) && this.setDropDownMenuHighlight(null === (_m = options.menu) || void 0 === _m ? void 0 : _m.dropDownMenuHighlight),
137
+ (Array.isArray(null === (_o = options.menu) || void 0 === _o ? void 0 : _o.defaultHeaderMenuItems) || "function" == typeof (null === (_p = options.menu) || void 0 === _p ? void 0 : _p.defaultHeaderMenuItems)) && (this.globalDropDownMenu = options.menu.defaultHeaderMenuItems),
138
+ "html" === internalProps.menu.renderMode) {
139
+ const MenuHandler = factory_1.Factory.getComponent("menuHandler");
140
+ internalProps.menuHandler = new MenuHandler(this);
141
+ }
142
+ this.headerStyleCache = new Map, this.bodyStyleCache = new Map, this.bodyMergeTitleCache = new Map,
143
+ this.bodyBottomStyleCache = new Map, internalProps.stick = {
144
+ changedCells: new Map
145
+ }, internalProps.customMergeCell = (0, get_custom_merge_cell_func_1.getCustomMergeCellFunc)(options.customMergeCell);
146
+ const CustomCellStylePlugin = factory_1.Factory.getComponent("customCellStylePlugin");
147
+ CustomCellStylePlugin && (this.customCellStylePlugin = new CustomCellStylePlugin(this, null !== (_q = options.customCellStyle) && void 0 !== _q ? _q : [], null !== (_r = options.customCellStyleArrangement) && void 0 !== _r ? _r : [])),
148
+ this._adjustCanvasSizeByOption();
149
+ }
150
+ _adjustCanvasSizeByOption() {
151
+ "auto" !== this.options.canvasHeight && "auto" !== this.options.canvasWidth || setTimeout((() => {
152
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
153
+ let canvasWidth, canvasHeight;
154
+ if ("auto" === this.options.canvasHeight) {
155
+ let borderWidth = 0;
156
+ if (null === (_a = this.theme.frameStyle) || void 0 === _a ? void 0 : _a.innerBorder) {
157
+ borderWidth += null !== (_d = toBoxArray(null !== (_c = null === (_b = this.internalProps.theme.frameStyle) || void 0 === _b ? void 0 : _b.shadowBlur) && void 0 !== _c ? _c : [ 0 ])[1]) && void 0 !== _d ? _d : 0;
158
+ } else if (this.theme.frameStyle) {
159
+ const lineWidths = toBoxArray(null !== (_f = null === (_e = this.internalProps.theme.frameStyle) || void 0 === _e ? void 0 : _e.borderLineWidth) && void 0 !== _f ? _f : [ null ]), shadowWidths = toBoxArray(null !== (_h = null === (_g = this.internalProps.theme.frameStyle) || void 0 === _g ? void 0 : _g.shadowBlur) && void 0 !== _h ? _h : [ 0 ]);
160
+ borderWidth += (null !== (_j = lineWidths[0]) && void 0 !== _j ? _j : 0) + (null !== (_k = shadowWidths[0]) && void 0 !== _k ? _k : 0) + ((null !== (_l = lineWidths[2]) && void 0 !== _l ? _l : 0) + (null !== (_m = shadowWidths[2]) && void 0 !== _m ? _m : 0));
161
+ }
162
+ canvasHeight = Math.min(this.options.maxCanvasHeight ? this.options.maxCanvasHeight - borderWidth : 2e4, this.getAllRowsHeight()) + borderWidth;
163
+ } else canvasHeight = this.canvasHeight;
164
+ if ("auto" === this.options.canvasWidth) {
165
+ let borderWidth = 0;
166
+ if (null === (_o = this.theme.frameStyle) || void 0 === _o ? void 0 : _o.innerBorder) {
167
+ borderWidth += null !== (_r = toBoxArray(null !== (_q = null === (_p = this.internalProps.theme.frameStyle) || void 0 === _p ? void 0 : _p.shadowBlur) && void 0 !== _q ? _q : [ 0 ])[2]) && void 0 !== _r ? _r : 0;
168
+ } else if (this.theme.frameStyle) {
169
+ const lineWidths = toBoxArray(null !== (_t = null === (_s = this.internalProps.theme.frameStyle) || void 0 === _s ? void 0 : _s.borderLineWidth) && void 0 !== _t ? _t : [ null ]), shadowWidths = toBoxArray(null !== (_v = null === (_u = this.internalProps.theme.frameStyle) || void 0 === _u ? void 0 : _u.shadowBlur) && void 0 !== _v ? _v : [ 0 ]);
170
+ borderWidth += (null !== (_w = lineWidths[1]) && void 0 !== _w ? _w : 0) + (null !== (_x = shadowWidths[1]) && void 0 !== _x ? _x : 0) + ((null !== (_y = lineWidths[3]) && void 0 !== _y ? _y : 0) + (null !== (_z = shadowWidths[3]) && void 0 !== _z ? _z : 0));
171
+ }
172
+ canvasWidth = Math.min(this.options.maxCanvasWidth ? this.options.maxCanvasWidth - borderWidth : 2e4, this.getAllColsWidth()) + borderWidth;
173
+ } else canvasWidth = this.canvasWidth;
174
+ this.setCanvasSize(canvasWidth, canvasHeight);
175
+ }), 0);
176
+ }
177
+ getContainer() {
178
+ return this.container;
179
+ }
180
+ getElement() {
181
+ return this.internalProps.element;
182
+ }
183
+ get canvas() {
184
+ return this.internalProps.canvas;
185
+ }
186
+ setCanvasSize(canvasWidth, canvasHeight) {
187
+ this.canvasWidth = canvasWidth, this.canvasHeight = canvasHeight, this.options.canvasHeight = canvasHeight,
188
+ this.options.canvasWidth = canvasWidth, this.resize();
189
+ }
190
+ resize() {
191
+ var _a;
192
+ this._updateSize(), null === (_a = this.internalProps.legends) || void 0 === _a || _a.forEach((legend => {
193
+ null == legend || legend.resize();
194
+ })), this.internalProps.title && this.internalProps.title.resize(), this.internalProps.emptyTip && this.internalProps.emptyTip.resize(),
195
+ this.scenegraph.resize();
196
+ }
197
+ get rowCount() {
198
+ return this.internalProps.rowCount;
199
+ }
200
+ set rowCount(rowCount) {
201
+ this.internalProps.rowCount = rowCount;
202
+ }
203
+ get colCount() {
204
+ var _a;
205
+ return null !== (_a = this.internalProps.colCount) && void 0 !== _a ? _a : 0;
206
+ }
207
+ set colCount(colCount) {
208
+ this.internalProps.colCount = colCount;
209
+ }
210
+ get frozenColCount() {
211
+ var _a, _b, _c, _d, _e;
212
+ return null !== (_e = null !== (_c = null === (_b = null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.layoutMap) || void 0 === _b ? void 0 : _b.frozenColCount) && void 0 !== _c ? _c : null === (_d = this.internalProps) || void 0 === _d ? void 0 : _d.frozenColCount) && void 0 !== _e ? _e : 0;
213
+ }
214
+ set frozenColCount(frozenColCount) {
215
+ frozenColCount >= this.colCount && (frozenColCount = 0), this.internalProps.frozenColCount = frozenColCount,
216
+ this.options.frozenColCount = frozenColCount;
217
+ const maxFrozenWidth = this._getMaxFrozenWidth();
218
+ if (this.getColsWidth(0, frozenColCount - 1) > maxFrozenWidth) if (this.internalProps.unfreezeAllOnExceedsMaxWidth) this.internalProps.frozenColCount = 0; else {
219
+ const computedFrozenColCount = this._getComputedFrozenColCount(frozenColCount);
220
+ this.internalProps.frozenColCount = computedFrozenColCount;
221
+ }
222
+ this.stateManager.setFrozenCol(this.internalProps.frozenColCount);
223
+ }
224
+ setFrozenColCount(frozenColCount) {
225
+ frozenColCount >= this.colCount && (frozenColCount = 0), this.internalProps.frozenColCount = frozenColCount,
226
+ this.options.frozenColCount = frozenColCount;
227
+ const maxFrozenWidth = this._getMaxFrozenWidth();
228
+ if (this.getColsWidth(0, frozenColCount - 1) > maxFrozenWidth) if (this.internalProps.unfreezeAllOnExceedsMaxWidth) this.internalProps.frozenColCount = 0; else {
229
+ const computedFrozenColCount = this._getComputedFrozenColCount(frozenColCount);
230
+ this.internalProps.frozenColCount = computedFrozenColCount;
231
+ }
232
+ this.stateManager.setFrozenCol(this.internalProps.frozenColCount);
233
+ }
234
+ _setFrozenColCount(frozenColCount) {
235
+ frozenColCount >= this.colCount && (frozenColCount = 0), this.internalProps.frozenColCount = frozenColCount;
236
+ }
237
+ _resetFrozenColCount() {
238
+ this.options.frozenColCount && (this.tableNoFrameWidth - this.getColsWidth(0, this.options.frozenColCount - 1) <= 120 ? this._setFrozenColCount(0) : this.frozenColCount !== this.options.frozenColCount && this._setFrozenColCount(this.options.frozenColCount));
239
+ }
240
+ get frozenRowCount() {
241
+ var _a, _b, _c, _d, _e;
242
+ return null !== (_e = null !== (_c = null === (_b = null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.layoutMap) || void 0 === _b ? void 0 : _b.frozenRowCount) && void 0 !== _c ? _c : null === (_d = this.internalProps) || void 0 === _d ? void 0 : _d.frozenRowCount) && void 0 !== _e ? _e : 0;
243
+ }
244
+ set frozenRowCount(frozenRowCount) {
245
+ this.internalProps.frozenRowCount = frozenRowCount, this.stateManager.setFrozenRow(this.internalProps.frozenRowCount);
246
+ }
247
+ get rightFrozenColCount() {
248
+ var _a, _b, _c, _d, _e;
249
+ return null !== (_e = null !== (_c = null === (_b = null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.layoutMap) || void 0 === _b ? void 0 : _b.rightFrozenColCount) && void 0 !== _c ? _c : null === (_d = this.internalProps) || void 0 === _d ? void 0 : _d.rightFrozenColCount) && void 0 !== _e ? _e : 0;
250
+ }
251
+ set rightFrozenColCount(rightFrozenColCount) {
252
+ this.scenegraph.dealWidthRightFrozen(rightFrozenColCount);
253
+ }
254
+ get bottomFrozenRowCount() {
255
+ var _a, _b, _c, _d, _e;
256
+ return null !== (_e = null !== (_c = null === (_b = null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.layoutMap) || void 0 === _b ? void 0 : _b.bottomFrozenRowCount) && void 0 !== _c ? _c : null === (_d = this.internalProps) || void 0 === _d ? void 0 : _d.bottomFrozenRowCount) && void 0 !== _e ? _e : 0;
257
+ }
258
+ set bottomFrozenRowCount(bottomFrozenRowCount) {
259
+ this.scenegraph.dealWidthBottomFrozen(bottomFrozenRowCount);
260
+ }
261
+ get defaultRowHeight() {
262
+ return (0, vutils_1.isNumber)(this.internalProps.defaultRowHeight) ? this.internalProps.defaultRowHeight : 40;
263
+ }
264
+ set defaultRowHeight(defaultRowHeight) {
265
+ this.internalProps.defaultRowHeight = defaultRowHeight, this.options.defaultRowHeight = defaultRowHeight;
266
+ }
267
+ get defaultHeaderRowHeight() {
268
+ return this.internalProps.defaultHeaderRowHeight;
269
+ }
270
+ set defaultHeaderRowHeight(defaultHeaderRowHeight) {
271
+ this.internalProps.defaultHeaderRowHeight = defaultHeaderRowHeight, this.options.defaultHeaderRowHeight = defaultHeaderRowHeight;
272
+ }
273
+ get defaultColWidth() {
274
+ return this.internalProps.defaultColWidth;
275
+ }
276
+ set defaultColWidth(defaultColWidth) {
277
+ this.internalProps.defaultColWidth = defaultColWidth, this.options.defaultColWidth = defaultColWidth;
278
+ }
279
+ get defaultHeaderColWidth() {
280
+ return this.internalProps.defaultHeaderColWidth;
281
+ }
282
+ set defaultHeaderColWidth(defaultHeaderColWidth) {
283
+ this.internalProps.defaultHeaderColWidth = defaultHeaderColWidth, this.options.defaultHeaderColWidth = defaultHeaderColWidth;
284
+ }
285
+ get colWidthsMap() {
286
+ return this.internalProps._colWidthsMap;
287
+ }
288
+ set colWidthsMap(colWidthsMap) {
289
+ this.internalProps._colWidthsMap = colWidthsMap;
290
+ }
291
+ get colContentWidthsMap() {
292
+ return this.internalProps._colContentWidthsMap;
293
+ }
294
+ set colContentWidthsMap(colContentWidthsMap) {
295
+ this.internalProps._colContentWidthsMap = colContentWidthsMap;
296
+ }
297
+ get _colRangeWidthsMap() {
298
+ return this.internalProps._colRangeWidthsMap;
299
+ }
300
+ set _colRangeWidthsMap(_colRangeWidthsMap) {
301
+ this.internalProps._colRangeWidthsMap = _colRangeWidthsMap;
302
+ }
303
+ get _rowRangeHeightsMap() {
304
+ return this.internalProps._rowRangeHeightsMap;
305
+ }
306
+ set _rowRangeHeightsMap(_rowRangeHeightsMap) {
307
+ this.internalProps._rowRangeHeightsMap = _rowRangeHeightsMap;
308
+ }
309
+ get rowHeightsMap() {
310
+ return this.internalProps._rowHeightsMap;
311
+ }
312
+ set rowHeightsMap(rowHeightsMap) {
313
+ this.internalProps._rowHeightsMap = rowHeightsMap;
314
+ }
315
+ get colWidthsLimit() {
316
+ return this.internalProps._colWidthsLimit;
317
+ }
318
+ set colWidthsLimit(colWidthsLimit) {
319
+ this.internalProps._colWidthsLimit = colWidthsLimit;
320
+ }
321
+ get keyboardOptions() {
322
+ var _a;
323
+ return null !== (_a = this.internalProps.keyboardOptions) && void 0 !== _a ? _a : null;
324
+ }
325
+ set keyboardOptions(keyboardOptions) {
326
+ this.internalProps.keyboardOptions = null != keyboardOptions ? keyboardOptions : void 0;
327
+ }
328
+ get eventOptions() {
329
+ var _a;
330
+ return null !== (_a = this.internalProps.eventOptions) && void 0 !== _a ? _a : null;
331
+ }
332
+ set eventOptions(eventOptions) {
333
+ this.internalProps.eventOptions = null != eventOptions ? eventOptions : void 0;
334
+ }
335
+ get widthMode() {
336
+ return this._widthMode;
337
+ }
338
+ set widthMode(widthMode) {
339
+ widthMode !== this._widthMode && (this._widthMode = widthMode, this.options.widthMode = widthMode);
340
+ }
341
+ get heightMode() {
342
+ return this._heightMode;
343
+ }
344
+ set heightMode(heightMode) {
345
+ heightMode !== this._heightMode && (this._heightMode = heightMode, this.options.heightMode = heightMode);
346
+ }
347
+ get autoFillWidth() {
348
+ return this._autoFillWidth;
349
+ }
350
+ set autoFillWidth(autoFillWidth) {
351
+ autoFillWidth !== this._autoFillWidth && (this._autoFillWidth = autoFillWidth);
352
+ }
353
+ get autoFillHeight() {
354
+ return this._autoFillHeight;
355
+ }
356
+ set autoFillHeight(autoFillHeight) {
357
+ autoFillHeight !== this._autoFillHeight && (this._autoFillHeight = autoFillHeight);
358
+ }
359
+ get widthAdaptiveMode() {
360
+ return this._widthAdaptiveMode;
361
+ }
362
+ set widthAdaptiveMode(widthAdaptiveMode) {
363
+ widthAdaptiveMode !== this._widthAdaptiveMode && (this._widthAdaptiveMode = widthAdaptiveMode);
364
+ }
365
+ get heightAdaptiveMode() {
366
+ return this._heightAdaptiveMode;
367
+ }
368
+ set heightAdaptiveMode(heightAdaptiveMode) {
369
+ heightAdaptiveMode !== this._heightAdaptiveMode && (this._heightAdaptiveMode = heightAdaptiveMode);
370
+ }
371
+ _colWidthDefineToPxWidth(width) {
372
+ return "auto" === width ? 0 : (0, tableHelper_1._toPxWidth)(this, width);
373
+ }
374
+ _getMaxFrozenWidth() {
375
+ var _a;
376
+ const maxFrozenWidth = null !== (_a = this.options.maxFrozenWidth) && void 0 !== _a ? _a : "80%";
377
+ return (0, tableHelper_1._toPxWidth)(this, maxFrozenWidth);
378
+ }
379
+ _getComputedFrozenColCount(frozenColCount) {
380
+ const maxFrozenWidth = this._getMaxFrozenWidth();
381
+ let computedfrozenColCount = frozenColCount;
382
+ for (;this.getColsWidth(0, computedfrozenColCount - 1) > maxFrozenWidth && (computedfrozenColCount--,
383
+ !(computedfrozenColCount <= 0)); ) ;
384
+ return computedfrozenColCount;
385
+ }
386
+ _getColWidthLimits(col) {
387
+ const limit = this.colWidthsLimit[col];
388
+ if (!limit) return null;
389
+ const result = {};
390
+ return limit.min && (result.min = (0, tableHelper_1._toPxWidth)(this, limit.min),
391
+ result.minDef = limit.min), limit.max && (result.max = (0, tableHelper_1._toPxWidth)(this, limit.max),
392
+ result.maxDef = limit.max), result;
393
+ }
394
+ _adjustColWidth(col, orgWidth) {
395
+ const limits = this._getColWidthLimits(col);
396
+ return Math.max((0, tableHelper_1._applyColWidthLimits)(limits, orgWidth), 0);
397
+ }
398
+ get pixelRatio() {
399
+ return this.internalProps.pixelRatio;
400
+ }
401
+ setPixelRatio(pixelRatio) {
402
+ var _a;
403
+ if (pixelRatio !== (null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.pixelRatio)) {
404
+ this.internalProps.pixelRatio = pixelRatio;
405
+ const canvasWidth = this.canvasWidth;
406
+ this.internalProps.calcWidthContext = {
407
+ _: this.internalProps,
408
+ get full() {
409
+ var _a;
410
+ return "node" === env_1.Env.mode ? canvasWidth / (null != pixelRatio ? pixelRatio : 1) : this._.canvas.width / (null !== (_a = this._.context.pixelRatio) && void 0 !== _a ? _a : window.devicePixelRatio);
411
+ }
412
+ }, this.scenegraph.setPixelRatio(pixelRatio);
413
+ }
414
+ }
415
+ _updateSize() {
416
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
417
+ const {padding: padding} = this;
418
+ let widthP = 0, heightP = 0;
419
+ if (this.tableX = 0, this.tableY = 0, this.options.canvas && this.options.viewBox) widthP = this.options.viewBox.x2 - this.options.viewBox.x1,
420
+ heightP = this.options.viewBox.y2 - this.options.viewBox.y1, (null === (_a = null == this ? void 0 : this.scenegraph) || void 0 === _a ? void 0 : _a.stage) && (this.options.viewBox ? this.scenegraph.stage.setViewBox(this.options.viewBox, !1) : this.scenegraph.stage.resize(widthP, heightP)); else if ("browser" === env_1.Env.mode) {
421
+ const element = this.getElement();
422
+ let widthWithoutPadding = 0, heightWithoutPadding = 0;
423
+ const isDefWidth = (0, vutils_1.isValid)(this.canvasWidth), isDefHeight = (0, vutils_1.isValid)(this.canvasHeight);
424
+ this.canvasSizeSeted && (isDefWidth && (widthWithoutPadding = this.canvasWidth),
425
+ isDefHeight && (heightWithoutPadding = this.canvasHeight));
426
+ if ((!isDefWidth || !isDefHeight) && element.parentElement) {
427
+ const computedStyle = element.parentElement.style || window.getComputedStyle(element.parentElement);
428
+ isDefWidth || (widthWithoutPadding = element.parentElement.offsetWidth - (parseInt(computedStyle.paddingLeft, 10) || 0) - (parseInt(computedStyle.paddingRight, 10) || 0)),
429
+ isDefHeight || (heightWithoutPadding = element.parentElement.offsetHeight - parseInt(computedStyle.paddingTop || "0px", 10) - parseInt(computedStyle.paddingBottom || "0px", 20)),
430
+ widthWithoutPadding = (null != widthWithoutPadding ? widthWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0),
431
+ heightWithoutPadding = (null != heightWithoutPadding ? heightWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0);
432
+ }
433
+ element.style.width = widthWithoutPadding && widthWithoutPadding - padding.left - padding.right + "px" || "0px",
434
+ element.style.height = heightWithoutPadding && heightWithoutPadding - padding.top - padding.bottom + "px" || "0px";
435
+ const {canvas: canvas} = this.internalProps;
436
+ widthP = (null !== (_c = null === (_b = canvas.parentElement) || void 0 === _b ? void 0 : _b.offsetWidth) && void 0 !== _c ? _c : 1) - (this.options.tableSizeAntiJitter ? 1 : 0),
437
+ heightP = (null !== (_e = null === (_d = canvas.parentElement) || void 0 === _d ? void 0 : _d.offsetHeight) && void 0 !== _e ? _e : 1) - (this.options.tableSizeAntiJitter ? 1 : 0),
438
+ (null === (_f = null == this ? void 0 : this.scenegraph) || void 0 === _f ? void 0 : _f.stage) ? (null === (_g = this.options) || void 0 === _g ? void 0 : _g.viewBox) && !(null === (_h = this.options) || void 0 === _h ? void 0 : _h.canvas) && this.scenegraph.stage.resize(widthP, heightP) : (canvas.style.width = "",
439
+ canvas.style.height = "", canvas.width = widthP, canvas.height = heightP, canvas.style.width = `${widthP}px`,
440
+ canvas.style.height = `${heightP}px`), (null === (_j = this.options) || void 0 === _j ? void 0 : _j.viewBox) && (widthP = this.options.viewBox.x2 - this.options.viewBox.x1,
441
+ heightP = this.options.viewBox.y2 - this.options.viewBox.y1), (null === (_k = null == this ? void 0 : this.scenegraph) || void 0 === _k ? void 0 : _k.stage) && (this.options.viewBox ? this.scenegraph.stage.setViewBox(this.options.viewBox, !1) : this.scenegraph.stage.resize(widthP, heightP));
442
+ } else "node" === env_1.Env.mode && (widthP = this.canvasWidth - 1, heightP = this.canvasHeight - 1);
443
+ const width = Math.floor(widthP - style.getVerticalScrollBarSize(this.getTheme().scrollStyle)), height = Math.floor(heightP - style.getHorizontalScrollBarSize(this.getTheme().scrollStyle));
444
+ if (null === (_l = this.internalProps.theme) || void 0 === _l ? void 0 : _l.frameStyle) {
445
+ const lineWidths = toBoxArray(null !== (_o = null === (_m = this.internalProps.theme.frameStyle) || void 0 === _m ? void 0 : _m.borderLineWidth) && void 0 !== _o ? _o : [ null ]), shadowWidths = toBoxArray(null !== (_q = null === (_p = this.internalProps.theme.frameStyle) || void 0 === _p ? void 0 : _p.shadowBlur) && void 0 !== _q ? _q : [ 0 ]);
446
+ (null === (_r = this.theme.frameStyle) || void 0 === _r ? void 0 : _r.innerBorder) ? (this.tableX = 0,
447
+ this.tableY = 0, this.tableNoFrameWidth = width - (null !== (_s = shadowWidths[1]) && void 0 !== _s ? _s : 0),
448
+ this.tableNoFrameHeight = height - (null !== (_t = shadowWidths[2]) && void 0 !== _t ? _t : 0)) : (this.tableX = (null !== (_u = lineWidths[3]) && void 0 !== _u ? _u : 0) + (null !== (_v = shadowWidths[3]) && void 0 !== _v ? _v : 0),
449
+ this.tableY = (null !== (_w = lineWidths[0]) && void 0 !== _w ? _w : 0) + (null !== (_x = shadowWidths[0]) && void 0 !== _x ? _x : 0),
450
+ this.tableNoFrameWidth = width - ((null !== (_y = lineWidths[1]) && void 0 !== _y ? _y : 0) + (null !== (_z = shadowWidths[1]) && void 0 !== _z ? _z : 0)) - ((null !== (_0 = lineWidths[3]) && void 0 !== _0 ? _0 : 0) + (null !== (_1 = shadowWidths[3]) && void 0 !== _1 ? _1 : 0)),
451
+ this.tableNoFrameHeight = height - ((null !== (_2 = lineWidths[0]) && void 0 !== _2 ? _2 : 0) + (null !== (_3 = shadowWidths[0]) && void 0 !== _3 ? _3 : 0)) - ((null !== (_4 = lineWidths[2]) && void 0 !== _4 ? _4 : 0) + (null !== (_5 = shadowWidths[2]) && void 0 !== _5 ? _5 : 0)));
452
+ }
453
+ }
454
+ updateViewBox(newViewBox) {
455
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
456
+ const oldWidth = (null !== (_c = null === (_b = null === (_a = this.options) || void 0 === _a ? void 0 : _a.viewBox) || void 0 === _b ? void 0 : _b.x2) && void 0 !== _c ? _c : 0) - (null !== (_f = null === (_e = null === (_d = this.options) || void 0 === _d ? void 0 : _d.viewBox) || void 0 === _e ? void 0 : _e.x1) && void 0 !== _f ? _f : 0), oldHeight = (null !== (_j = null === (_h = null === (_g = this.options) || void 0 === _g ? void 0 : _g.viewBox) || void 0 === _h ? void 0 : _h.y2) && void 0 !== _j ? _j : 0) - (null !== (_m = null === (_l = null === (_k = this.options) || void 0 === _k ? void 0 : _k.viewBox) || void 0 === _l ? void 0 : _l.y1) && void 0 !== _m ? _m : 0), newWidth = newViewBox.x2 - newViewBox.x1, newHeight = newViewBox.y2 - newViewBox.y1;
457
+ this.options.viewBox = newViewBox, oldWidth !== newWidth || oldHeight !== newHeight ? this.resize() : this.scenegraph.stage.setViewBox(this.options.viewBox, !0);
458
+ }
459
+ setViewBoxTransform(a, b, c, d, e, f) {
460
+ this.internalProps.modifiedViewBoxTransform = !0, this.scenegraph.stage.window.setViewBoxTransform(a, b, c, d, e, f);
461
+ }
462
+ get rowHierarchyType() {
463
+ return this.dataSource.rowHierarchyType;
464
+ }
465
+ getColsWidth(startCol, endCol) {
466
+ var _a;
467
+ if (startCol > endCol) return 0;
468
+ startCol = Math.max(startCol, 0), endCol = Math.min(endCol, (null !== (_a = this.colCount) && void 0 !== _a ? _a : 1 / 0) - 1);
469
+ const cachedColWidth = this._colRangeWidthsMap.get(`$${startCol}$${endCol}`);
470
+ if (null != cachedColWidth) return cachedColWidth;
471
+ const cachedLowerColWidth = this._colRangeWidthsMap.get(`$${startCol}$${endCol - 1}`);
472
+ if (null != cachedLowerColWidth) {
473
+ const addWidth = cachedLowerColWidth + this.getColWidth(endCol);
474
+ return startCol >= 0 && endCol >= 0 && !Number.isNaN(addWidth) && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(addWidth)),
475
+ Math.round(addWidth);
476
+ }
477
+ let w = 0;
478
+ for (let col = startCol; col <= endCol; col++) w += this.getColWidth(col);
479
+ return startCol >= 0 && endCol >= 0 && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(w)),
480
+ Math.round(w);
481
+ }
482
+ getRowHeight(row) {
483
+ var _a;
484
+ if ((0, vutils_1.isValid)(this.rowHeightsMap.get(row))) {
485
+ if (null === (_a = this.options.customConfig) || void 0 === _a ? void 0 : _a._disableColumnAndRowSizeRound) {
486
+ const height = this.rowHeightsMap.get(row);
487
+ let heightRange;
488
+ return heightRange = row < this.frozenRowCount ? this.rowHeightsMap.getSumInRange(0, row) : row >= this.rowCount - this.bottomFrozenRowCount ? this.rowHeightsMap.getSumInRange(row, this.rowCount - 1) : this.rowHeightsMap.getSumInRange(this.frozenRowCount, row),
489
+ heightRange = Number(heightRange.toFixed(2)), Number.isInteger(heightRange) ? Math.ceil(height) : Math.floor(height);
490
+ }
491
+ return this.rowHeightsMap.get(row);
492
+ }
493
+ const defaultHeight = this.getDefaultRowHeight(row);
494
+ return (0, vutils_1.isNumber)(defaultHeight) ? defaultHeight : this.defaultRowHeight;
495
+ }
496
+ getDefaultColumnWidth(col) {
497
+ var _a, _b;
498
+ return this.isRowHeader(col, 0) || this.isCornerHeader(col, 0) ? Array.isArray(this.defaultHeaderColWidth) ? null !== (_a = this.defaultHeaderColWidth[col]) && void 0 !== _a ? _a : this.defaultColWidth : this.defaultHeaderColWidth : this.isRightFrozenColumn(col, this.columnHeaderLevelCount) && this.isPivotTable() ? Array.isArray(this.defaultHeaderColWidth) ? null !== (_b = this.defaultHeaderColWidth[this.rowHeaderLevelCount - this.rightFrozenColCount]) && void 0 !== _b ? _b : this.defaultColWidth : this.defaultHeaderColWidth : this.defaultColWidth;
499
+ }
500
+ getDefaultRowHeight(row) {
501
+ var _a, _b;
502
+ return this.isColumnHeader(0, row) || this.isCornerHeader(0, row) || this.isSeriesNumberInHeader(0, row) ? Array.isArray(this.defaultHeaderRowHeight) ? null !== (_a = this.defaultHeaderRowHeight[row]) && void 0 !== _a ? _a : this.internalProps.defaultRowHeight : this.defaultHeaderRowHeight : this.isBottomFrozenRow(row) ? Array.isArray(this.defaultHeaderRowHeight) ? null !== (_b = this.defaultHeaderRowHeight[this.columnHeaderLevelCount > 0 ? this.columnHeaderLevelCount - this.bottomFrozenRowCount : 0]) && void 0 !== _b ? _b : this.internalProps.defaultRowHeight : this.defaultHeaderRowHeight : this.internalProps.defaultRowHeight;
503
+ }
504
+ _setRowHeight(row, height, clearCache) {
505
+ var _a;
506
+ this.rowHeightsMap.put(row, (null === (_a = this.options.customConfig) || void 0 === _a ? void 0 : _a._disableColumnAndRowSizeRound) ? height : Math.round(height)),
507
+ clearCache && this._clearRowRangeHeightsMap(row);
508
+ }
509
+ setRowHeight(row, height) {
510
+ this.scenegraph.setRowHeight(row, height), this.scenegraph.updateChartSizeForResizeRowHeight(row),
511
+ this.internalProps._heightResizedRowMap.add(row);
512
+ }
513
+ getRowsHeight(startRow, endRow) {
514
+ var _a, _b;
515
+ if (startRow > endRow || 0 === this.rowCount) return 0;
516
+ startRow = Math.max(startRow, 0), endRow = Math.min(endRow, (null !== (_a = this.rowCount) && void 0 !== _a ? _a : 1 / 0) - 1);
517
+ let h = 0;
518
+ const isDefaultRowHeightIsAuto = "auto" === this.options.defaultRowHeight;
519
+ if ("standard" !== this.heightMode || this.options.customComputeRowHeight || this.autoFillHeight || !this.internalProps.layoutMap || this.hasAutoImageColumn() || isDefaultRowHeightIsAuto || 0 !== this.internalProps._heightResizedRowMap.size) {
520
+ if (null === (_b = this.options.customConfig) || void 0 === _b ? void 0 : _b._disableColumnAndRowSizeRound) {
521
+ const tempH = this.rowHeightsMap.getSumInRange(startRow, endRow);
522
+ let heightRange;
523
+ return heightRange = endRow < this.frozenRowCount ? this.rowHeightsMap.getSumInRange(0, endRow) : endRow >= this.rowCount - this.bottomFrozenRowCount ? this.rowHeightsMap.getSumInRange(endRow, this.rowCount - 1) : this.rowHeightsMap.getSumInRange(this.frozenRowCount, endRow),
524
+ heightRange = Number(heightRange.toFixed(2)), Number.isInteger(heightRange) ? Math.ceil(tempH) : Math.floor(tempH);
525
+ }
526
+ h = this.rowHeightsMap.getSumInRange(startRow, endRow);
527
+ } else {
528
+ for (let i = startRow; i < Math.min(endRow + 1, this.columnHeaderLevelCount); i++) h += this.getRowHeight(i);
529
+ endRow >= this.columnHeaderLevelCount && (h += this.defaultRowHeight * (Math.min(endRow, this.rowCount - this.bottomFrozenRowCount - 1) - Math.max(this.columnHeaderLevelCount, startRow) + 1));
530
+ for (let i = this.rowCount - this.bottomFrozenRowCount; i < endRow + 1; i++) h += this.getRowHeight(i);
531
+ }
532
+ return Math.round(h);
533
+ }
534
+ getColWidthDefined(col) {
535
+ var _a;
536
+ const {layoutMap: layoutMap} = this.internalProps;
537
+ if ("autoWidth" === this.widthMode) return "auto";
538
+ const {width: width} = null !== (_a = null == layoutMap ? void 0 : layoutMap.getColumnWidthDefined(col)) && void 0 !== _a ? _a : {};
539
+ return "number" == typeof width && width <= 0 ? 0 : width || this.getDefaultColumnWidth(col);
540
+ }
541
+ getColWidthDefinedNumber(col) {
542
+ const width = this.getColWidthDefined(col);
543
+ return this._adjustColWidth(col, this._colWidthDefineToPxWidth(width));
544
+ }
545
+ isAutoRowHeight(row) {
546
+ return "autoHeight" === this.heightMode || (!!this.options.customComputeRowHeight || (row >= 0 && row < this.columnHeaderLevelCount ? "auto" === this.getDefaultRowHeight(row) : "auto" === this.internalProps.defaultRowHeight));
547
+ }
548
+ getColWidth(col) {
549
+ var _a;
550
+ const width = null !== (_a = this.colWidthsMap.get(col)) && void 0 !== _a ? _a : this.getDefaultColumnWidth(col);
551
+ return "adaptive" === this.widthMode && "number" == typeof width || this.transpose && "number" == typeof width ? this._colWidthDefineToPxWidth(width) : this._adjustColWidth(col, this._colWidthDefineToPxWidth(width));
552
+ }
553
+ _setColWidth(col, width, clearCache, skipCheckFrozen) {
554
+ this.colWidthsMap.put(col, "number" == typeof width ? Math.round(width) : width),
555
+ clearCache && this._clearColRangeWidthsMap(col), skipCheckFrozen || this.stateManager.checkFrozen();
556
+ }
557
+ setColWidth(col, width) {
558
+ this.scenegraph.setColWidth(col, width), this.scenegraph.updateChartSizeForResizeColWidth(col),
559
+ this.internalProps._widthResizedColMap.add(col);
560
+ }
561
+ _clearColRangeWidthsMap(col) {
562
+ if ("number" != typeof col) this._colRangeWidthsMap.clear(); else {
563
+ const keys = this._colRangeWidthsMap.keys();
564
+ for (const key of keys) {
565
+ const reg = rangeReg.exec(key);
566
+ if (reg) {
567
+ const start = Number(reg[1]), end = Number(reg[2]);
568
+ col >= start && col <= end && this._colRangeWidthsMap.delete(key);
569
+ }
570
+ }
571
+ }
572
+ }
573
+ _clearRowRangeHeightsMap(row) {
574
+ this.rowHeightsMap.clearRange();
575
+ }
576
+ _getColContentWidth(col) {
577
+ return Number(this.colContentWidthsMap.get(col));
578
+ }
579
+ _setColContentWidth(col, width) {
580
+ this.colContentWidthsMap.put(col, width);
581
+ }
582
+ getAllRowsHeight() {
583
+ if (this.internalProps.rowCount <= 0) return 0;
584
+ return this.getRowsHeight(0, this.internalProps.rowCount - 1);
585
+ }
586
+ getAllColsWidth() {
587
+ if (this.internalProps.colCount <= 0) return 0;
588
+ return this.getColsWidth(0, this.internalProps.colCount - 1);
589
+ }
590
+ getMaxColWidth(col) {
591
+ var _a;
592
+ const obj = this.colWidthsLimit[col];
593
+ let max = null !== (_a = obj && obj.max) && void 0 !== _a ? _a : 1 / 0;
594
+ return "string" == typeof max && (max = (0, tableHelper_1._toPxWidth)(this, max)),
595
+ max;
596
+ }
597
+ setMaxColWidth(col, maxwidth) {
598
+ (this.colWidthsLimit[col] || (this.colWidthsLimit[col] = {})).max = maxwidth;
599
+ }
600
+ getMinColWidth(col) {
601
+ var _a;
602
+ const obj = this.colWidthsLimit[col];
603
+ let min = null !== (_a = obj && obj.min) && void 0 !== _a ? _a : 0;
604
+ return "string" == typeof min && (min = (0, tableHelper_1._toPxWidth)(this, min)),
605
+ min;
606
+ }
607
+ setMinColWidth(col, minwidth) {
608
+ (this.colWidthsLimit[col] || (this.colWidthsLimit[col] = {})).min = minwidth;
609
+ }
610
+ getCellRect(col, row) {
611
+ var _a, _b;
612
+ const isFrozenCell = this.isFrozenCell(col, row);
613
+ let absoluteLeft;
614
+ const width = this.getColWidth(col);
615
+ let absoluteTop;
616
+ absoluteLeft = isFrozenCell && isFrozenCell.col && this.isRightFrozenColumn(col, row) ? this.getAllColsWidth() <= this.tableNoFrameWidth ? this.getColsWidth(0, col - 1) || 0 : this.tableNoFrameWidth - (null !== (_a = this.getColsWidth(col, this.colCount - 1)) && void 0 !== _a ? _a : 0) : this.getColsWidth(0, col - 1) || 0;
617
+ const height = this.getRowHeight(row);
618
+ return absoluteTop = isFrozenCell && isFrozenCell.row && this.isBottomFrozenRow(col, row) ? this.getAllRowsHeight() <= this.tableNoFrameHeight ? this.getRowsHeight(0, row - 1) : this.tableNoFrameHeight - (null !== (_b = this.getRowsHeight(row, this.rowCount - 1)) && void 0 !== _b ? _b : 0) : this.getRowsHeight(0, row - 1),
619
+ new Rect_1.Rect(Math.round(absoluteLeft), Math.round(absoluteTop), Math.round(width), Math.round(height));
620
+ }
621
+ getMergeCellRect(col, row) {
622
+ const cellRange = this.getCellRange(col, row), absoluteLeft = this.getColsWidth(0, cellRange.start.col - 1) || 0, width = this.getColsWidth(cellRange.start.col, cellRange.end.col), absoluteTop = this.getRowsHeight(0, cellRange.start.row - 1) || 0, height = this.getRowsHeight(cellRange.start.row, cellRange.end.row);
623
+ return new Rect_1.Rect(Math.round(absoluteLeft), Math.round(absoluteTop), Math.round(width), Math.round(height));
624
+ }
625
+ getCellRelativeRect(col, row) {
626
+ const isFrozenCell = this.isFrozenCell(col, row);
627
+ let relativeX = !0, relativeY = !0;
628
+ (null == isFrozenCell ? void 0 : isFrozenCell.col) && (null == isFrozenCell ? void 0 : isFrozenCell.row) ? (relativeX = !1,
629
+ relativeY = !1) : (null == isFrozenCell ? void 0 : isFrozenCell.col) ? relativeX = !1 : (null == isFrozenCell ? void 0 : isFrozenCell.row) && (relativeY = !1);
630
+ const cellRect = this.getCellRect(col, row);
631
+ return this._toRelativeRect(cellRect, relativeX, relativeY);
632
+ }
633
+ getCellRangeRelativeRect(range) {
634
+ if (range.start) {
635
+ const isFrozenCell = this.isFrozenCell(range.start.col, range.start.row);
636
+ let relativeX = !0, relativeY = !0;
637
+ return (null == isFrozenCell ? void 0 : isFrozenCell.col) && (null == isFrozenCell ? void 0 : isFrozenCell.row) ? (relativeX = !1,
638
+ relativeY = !1) : (null == isFrozenCell ? void 0 : isFrozenCell.col) ? relativeX = !1 : (null == isFrozenCell ? void 0 : isFrozenCell.row) && (relativeY = !1),
639
+ this._toRelativeRect(this.getCellsRect(range.start.col, range.start.row, range.end.col, range.end.row), relativeX, relativeY);
640
+ }
641
+ const cellRange = this.getCellRange(range.col, range.row), isFrozenCell = this.isFrozenCell(range.col, range.row);
642
+ let relativeX = !0, relativeY = !0;
643
+ return (null == isFrozenCell ? void 0 : isFrozenCell.col) && (null == isFrozenCell ? void 0 : isFrozenCell.row) ? (relativeX = !1,
644
+ relativeY = !1) : (null == isFrozenCell ? void 0 : isFrozenCell.col) ? relativeX = !1 : (null == isFrozenCell ? void 0 : isFrozenCell.row) && (relativeY = !1),
645
+ this._toRelativeRect(this.getCellsRect(cellRange.start.col, cellRange.start.row, cellRange.end.col, cellRange.end.row), relativeX, relativeY);
646
+ }
647
+ getVisibleCellRangeRelativeRect(range) {
648
+ let cellRange;
649
+ return cellRange = range.start ? range : this.getCellRange(range.col, range.row),
650
+ this._getVisiableRect(this.getCellRangeRelativeRect(range), cellRange);
651
+ }
652
+ _getVisiableRect(relativeRectObj, cellRange) {
653
+ const targetLeft = cellRange.start.col >= this.frozenColCount ? Math.max(relativeRectObj.left, this.frozenColCount >= 1 ? this.getColsWidth(0, this.frozenColCount - 1) : 0) : relativeRectObj.left, targetRight = Math.min(relativeRectObj.right, this.tableNoFrameWidth), rect = relativeRectObj.copy();
654
+ rect.left = targetLeft, rect.right = targetRight;
655
+ const targetTop = cellRange.start.row >= this.frozenRowCount ? Math.max(relativeRectObj.top, this.frozenRowCount >= 1 ? this.getRowsHeight(0, this.frozenRowCount - 1) : 0) : relativeRectObj.top, targetBottom = Math.min(relativeRectObj.bottom, this.tableNoFrameHeight);
656
+ return rect.top = targetTop, rect.bottom = targetBottom, rect;
657
+ }
658
+ getCellsRect(startCol, startRow, endCol, endRow) {
659
+ var _a, _b, _c, _d, _e, _f;
660
+ let absoluteLeft = this.getColsWidth(0, startCol - 1) || 0, width = this.getColsWidth(startCol, endCol);
661
+ const scrollLeft = this.scrollLeft;
662
+ this.isLeftFrozenColumn(startCol) && this.isRightFrozenColumn(endCol) ? width = this.tableNoFrameWidth - (null !== (_a = this.getColsWidth(startCol + 1, this.colCount - 1)) && void 0 !== _a ? _a : 0) - absoluteLeft : this.isLeftFrozenColumn(startCol) && !this.isLeftFrozenColumn(endCol) ? width = Math.max(width - scrollLeft, this.getColsWidth(startCol, this.frozenColCount - 1)) : !this.isRightFrozenColumn(startCol) && this.isRightFrozenColumn(endCol) ? (absoluteLeft = Math.min(absoluteLeft - scrollLeft, this.tableNoFrameWidth - this.getRightFrozenColsWidth()),
663
+ width = this.tableNoFrameWidth - (null !== (_b = this.getColsWidth(startCol + 1, this.colCount - 1)) && void 0 !== _b ? _b : 0) - absoluteLeft) : this.isRightFrozenColumn(startCol) && (absoluteLeft = this.tableNoFrameWidth - (null !== (_c = this.getColsWidth(startCol, this.colCount - 1)) && void 0 !== _c ? _c : 0));
664
+ let absoluteTop = this.getRowsHeight(0, startRow - 1), height = this.getRowsHeight(startRow, endRow);
665
+ const scrollTop = this.scrollTop;
666
+ return this.isTopFrozenRow(startRow) && this.isBottomFrozenRow(endRow) ? height = this.tableNoFrameHeight - (null !== (_d = this.getRowsHeight(startRow + 1, this.rowCount - 1)) && void 0 !== _d ? _d : 0) - absoluteTop : this.isTopFrozenRow(startRow) && !this.isTopFrozenRow(endRow) ? height = Math.max(height - scrollTop, this.getRowsHeight(startRow, this.frozenRowCount - 1)) : !this.isBottomFrozenRow(startRow) && this.isBottomFrozenRow(endRow) ? (absoluteTop = Math.min(absoluteTop - scrollTop, this.tableNoFrameHeight - this.getBottomFrozenRowsHeight()),
667
+ height = this.tableNoFrameHeight - (null !== (_e = this.getRowsHeight(startRow + 1, this.rowCount - 1)) && void 0 !== _e ? _e : 0) - absoluteTop) : this.isBottomFrozenRow(startRow) && (absoluteTop = this.tableNoFrameHeight - (null !== (_f = this.getRowsHeight(startRow, this.rowCount - 1)) && void 0 !== _f ? _f : 0)),
668
+ new Rect_1.Rect(Math.round(absoluteLeft), Math.round(absoluteTop), Math.round(width), Math.round(height));
669
+ }
670
+ getCellsRectWidth(startCol, startRow, endCol, endRow) {
671
+ const isFrozenStartCell = this.isFrozenCell(startCol, startRow), isFrozenEndCell = this.isFrozenCell(endCol, endRow);
672
+ let width = this.getColsWidth(startCol, endCol);
673
+ if (isFrozenStartCell && isFrozenStartCell.col) {
674
+ const scrollLeft = this.scrollLeft;
675
+ isFrozenEndCell && isFrozenEndCell.col || (width -= scrollLeft, width = Math.max(width, this.getColsWidth(startCol, this.frozenColCount - 1)));
676
+ }
677
+ return width;
678
+ }
679
+ getCellRangeRect(range) {
680
+ if (range.start) return this.getCellsRect(range.start.col, range.start.row, range.end.col, range.end.row);
681
+ const cellRange = this.getCellRange(range.col, range.row);
682
+ return this.getCellsRect(cellRange.start.col, cellRange.start.row, cellRange.end.col, cellRange.end.row);
683
+ }
684
+ getCellRangeRectWidth(range) {
685
+ if (range.start) return this.getCellsRectWidth(range.start.col, range.start.row, range.end.col, range.end.row);
686
+ const cellRange = this.getCellRange(range.col, range.row);
687
+ return this.getCellsRectWidth(cellRange.start.col, cellRange.start.row, cellRange.end.col, cellRange.end.row);
688
+ }
689
+ isFrozenCell(col, row) {
690
+ const isFrozenRow = this.isFrozenRow(row), isFrozenCol = this.isFrozenColumn(col);
691
+ return isFrozenRow || isFrozenCol ? {
692
+ row: isFrozenRow,
693
+ col: isFrozenCol
694
+ } : null;
695
+ }
696
+ getRowAt(absoluteY) {
697
+ return (0, get_cell_position_1.getRowAt)(absoluteY, this);
698
+ }
699
+ getColAt(absoluteX) {
700
+ return (0, get_cell_position_1.getColAt)(absoluteX, this);
701
+ }
702
+ getCellAt(absoluteX, absoluteY) {
703
+ return (0, get_cell_position_1.getCellAt)(absoluteX, absoluteY, this);
704
+ }
705
+ getCellAtRelativePosition(relativeX, relativeY) {
706
+ return (0, get_cell_position_1.getCellAtRelativePosition)(relativeX, relativeY, this);
707
+ }
708
+ _checkRowCol(col, row) {
709
+ return col >= 0 && col < this.colCount && row >= 0 && row < this.rowCount;
710
+ }
711
+ _makeVisibleCell(col, row) {
712
+ if (this._checkRowCol(col, row)) {
713
+ const isFrozenCell = this.isFrozenCell(col, row);
714
+ if (isFrozenCell && isFrozenCell.col && isFrozenCell.row) return;
715
+ const rect = this.getCellRect(col, row), visibleRect = (0, tableHelper_1._getScrollableVisibleRect)(this);
716
+ if (visibleRect.contains(rect)) return;
717
+ isFrozenCell && isFrozenCell.col || this.getColsWidth(0, this.frozenColCount - 1) + rect.width > this.canvas.width || (rect.left < visibleRect.left ? this.scrollLeft -= visibleRect.left - rect.left : visibleRect.right < rect.right && (this.scrollLeft -= visibleRect.right - rect.right)),
718
+ isFrozenCell && isFrozenCell.row || this.getRowsHeight(0, this.frozenRowCount - 1) + rect.height > this.canvas.height || (rect.top < visibleRect.top ? this.scrollTop -= visibleRect.top - rect.top : visibleRect.bottom < rect.bottom && (this.scrollTop -= visibleRect.bottom - rect.bottom));
719
+ }
720
+ }
721
+ render() {
722
+ this.scenegraph.renderSceneGraph();
723
+ }
724
+ renderAsync() {
725
+ return this.scenegraph.updateNextFrame(), new Promise(((resolve, reject) => {
726
+ setTimeout((() => {
727
+ resolve();
728
+ }), 0);
729
+ }));
730
+ }
731
+ _toRelativeRect(absoluteRect, relativeX = !0, relativeY = !0) {
732
+ var _a, _b, _c, _d;
733
+ const rect = absoluteRect.copy(), visibleRect = this.getVisibleRect();
734
+ return rect.offsetLeft(this.tableX - (relativeX ? visibleRect.left : 0)), rect.offsetTop(this.tableY - (relativeY ? visibleRect.top : 0)),
735
+ rect.offsetLeft(null !== (_b = null === (_a = this.options.viewBox) || void 0 === _a ? void 0 : _a.x1) && void 0 !== _b ? _b : 0),
736
+ rect.offsetTop(null !== (_d = null === (_c = this.options.viewBox) || void 0 === _c ? void 0 : _c.y1) && void 0 !== _d ? _d : 0),
737
+ rect;
738
+ }
739
+ getVisibleRect() {
740
+ const {scrollTop: scrollTop, scrollLeft: scrollLeft} = this, width = this.tableNoFrameWidth, height = this.tableNoFrameHeight;
741
+ return new Rect_1.Rect(scrollLeft, scrollTop, width, height);
742
+ }
743
+ get visibleRowCount() {
744
+ const {frozenRowCount: frozenRowCount} = this, visibleRect = this.getVisibleRect(), visibleTop = frozenRowCount > 0 ? visibleRect.top + this.getRowsHeight(0, frozenRowCount - 1) : visibleRect.top, initRow = this.getTargetRowAt(visibleTop);
745
+ if (!initRow) return 0;
746
+ const startRow = Math.max(initRow.top >= visibleTop ? initRow.row : initRow.row + 1, frozenRowCount);
747
+ let absoluteTop = this.getRowsHeight(0, startRow - 1), count = 0;
748
+ const {rowCount: rowCount} = this;
749
+ for (let row = startRow; row < rowCount; row++) {
750
+ const bottom = absoluteTop + this.getRowHeight(row);
751
+ if (visibleRect.bottom < bottom) break;
752
+ count++, absoluteTop = bottom;
753
+ }
754
+ return count;
755
+ }
756
+ getBodyVisibleCellRange() {
757
+ const {scrollTop: scrollTop, scrollLeft: scrollLeft} = this, frozenRowsHeight = this.getFrozenRowsHeight(), frozenColsWidth = this.getFrozenColsWidth(), bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), rightFrozenColsWidth = this.getRightFrozenColsWidth(), {row: rowStart} = this.getRowAt(scrollTop + frozenRowsHeight + 1), {col: colStart} = this.getColAt(scrollLeft + frozenColsWidth + 1), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? this.getRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight).row : this.rowCount - 1, colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + this.tableNoFrameWidth - 1 - rightFrozenColsWidth).col : this.colCount - 1;
758
+ return colEnd < 0 || rowEnd < 0 ? null : {
759
+ rowStart: rowStart,
760
+ colStart: colStart,
761
+ rowEnd: rowEnd,
762
+ colEnd: colEnd
763
+ };
764
+ }
765
+ getBodyVisibleRowRange() {
766
+ const {scrollTop: scrollTop} = this, frozenRowsHeight = this.getFrozenRowsHeight(), bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), {row: rowStart} = this.getRowAt(scrollTop + frozenRowsHeight + 1), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? this.getRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight).row : this.rowCount - 1;
767
+ return rowEnd < 0 ? null : {
768
+ rowStart: rowStart,
769
+ rowEnd: rowEnd
770
+ };
771
+ }
772
+ getBodyVisibleColRange() {
773
+ const {scrollLeft: scrollLeft} = this, frozenColsWidth = this.getFrozenColsWidth(), rightFrozenColsWidth = this.getRightFrozenColsWidth(), {col: colStart} = this.getColAt(scrollLeft + frozenColsWidth + 1), colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + this.tableNoFrameWidth - 1 - rightFrozenColsWidth).col : this.colCount - 1;
774
+ return colEnd < 0 ? null : {
775
+ colStart: colStart,
776
+ colEnd: colEnd
777
+ };
778
+ }
779
+ get visibleColCount() {
780
+ const {frozenColCount: frozenColCount} = this, visibleRect = this.getVisibleRect(), visibleLeft = frozenColCount > 0 ? visibleRect.left + this.getColsWidth(0, frozenColCount - 1) : visibleRect.left, initCol = this.getTargetColAt(visibleLeft);
781
+ if (!initCol) return 0;
782
+ const startCol = Math.max(initCol.left >= visibleLeft ? initCol.col : initCol.col + 1, frozenColCount);
783
+ let absoluteLeft = this.getColsWidth(0, startCol - 1), count = 0;
784
+ const {colCount: colCount} = this;
785
+ for (let col = startCol; col < colCount; col++) {
786
+ const right = absoluteLeft + this.getColWidth(col);
787
+ if (visibleRect.right < right) break;
788
+ count++, absoluteLeft = right;
789
+ }
790
+ return count;
791
+ }
792
+ get scrollTop() {
793
+ return this.stateManager.scroll.verticalBarPos;
794
+ }
795
+ set scrollTop(scrollTop) {
796
+ this.stateManager.setScrollTop(scrollTop);
797
+ }
798
+ get scrollLeft() {
799
+ return this.stateManager.scroll.horizontalBarPos;
800
+ }
801
+ set scrollLeft(scrollLeft) {
802
+ this.stateManager.setScrollLeft(scrollLeft);
803
+ }
804
+ getScrollLeft() {
805
+ return this.scrollLeft;
806
+ }
807
+ getScrollTop() {
808
+ return this.scrollTop;
809
+ }
810
+ setScrollLeft(num) {
811
+ this.scrollLeft = Math.ceil(num);
812
+ }
813
+ setScrollTop(num) {
814
+ this.scrollTop = Math.ceil(num);
815
+ }
816
+ getCellOverflowText(col, row) {
817
+ return this.scenegraph.getCellOverflowText(col, row);
818
+ }
819
+ addReleaseObj(releaseObj) {
820
+ if (!releaseObj || !releaseObj.release || "function" != typeof releaseObj.release) throw new Error("not releaseObj!");
821
+ (this.internalProps.releaseList = this.internalProps.releaseList || []).push(releaseObj);
822
+ }
823
+ dispose() {
824
+ this.release();
825
+ }
826
+ release() {
827
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
828
+ const internalProps = this.internalProps;
829
+ if (this.isReleased) return;
830
+ null === (_b = null === (_a = internalProps.tooltipHandler) || void 0 === _a ? void 0 : _a.release) || void 0 === _b || _b.call(_a),
831
+ null === (_d = null === (_c = internalProps.menuHandler) || void 0 === _c ? void 0 : _c.release) || void 0 === _d || _d.call(_c),
832
+ icons_1.IconCache.clearAll(), null === (_e = super.release) || void 0 === _e || _e.call(this),
833
+ null === (_g = null === (_f = internalProps.handler) || void 0 === _f ? void 0 : _f.release) || void 0 === _g || _g.call(_f),
834
+ this.eventManager.release(), null === (_j = null === (_h = internalProps.focusControl) || void 0 === _h ? void 0 : _h.release) || void 0 === _j || _j.call(_h),
835
+ null === (_k = internalProps.legends) || void 0 === _k || _k.forEach((legend => {
836
+ null == legend || legend.release();
837
+ })), null === (_l = internalProps.title) || void 0 === _l || _l.release(), internalProps.title = null,
838
+ null === (_m = internalProps.emptyTip) || void 0 === _m || _m.release(), internalProps.emptyTip = null,
839
+ internalProps.layoutMap.release(), internalProps.releaseList && (internalProps.releaseList.forEach((releaseObj => {
840
+ var _a;
841
+ return null === (_a = null == releaseObj ? void 0 : releaseObj.release) || void 0 === _a ? void 0 : _a.call(releaseObj);
842
+ })), internalProps.releaseList = null), this.scenegraph.stage.release(), this.scenegraph.proxy.release(),
843
+ internalProps.focusControl.release();
844
+ const {parentElement: parentElement} = internalProps.element;
845
+ parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element),
846
+ null === (_q = null === (_p = null === (_o = this.editorManager) || void 0 === _o ? void 0 : _o.editingEditor) || void 0 === _p ? void 0 : _p.onEnd) || void 0 === _q || _q.call(_p),
847
+ this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_r = this.reactCustomLayout) || void 0 === _r || _r.clearCache(),
848
+ (0, chart_render_helper_1.clearChartRenderQueue)();
849
+ }
850
+ fireListeners(type, event) {
851
+ return super.fireListeners(type, event);
852
+ }
853
+ updateOption(options) {
854
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
855
+ this.options = options, this._hasAutoImageColumn = void 0;
856
+ const {frozenColCount: frozenColCount = 0, unfreezeAllOnExceedsMaxWidth: unfreezeAllOnExceedsMaxWidth, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth = 80, keyboardOptions: keyboardOptions, eventOptions: eventOptions, rowSeriesNumber: rowSeriesNumber, columnResizeMode: columnResizeMode, rowResizeMode: rowResizeMode = "none", resize: resize, dragHeaderMode: dragHeaderMode, dragOrder: dragOrder, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, pixelRatio: pixelRatio, widthMode: widthMode, heightMode: heightMode, autoFillWidth: autoFillWidth, autoFillHeight: autoFillHeight, widthAdaptiveMode: widthAdaptiveMode, heightAdaptiveMode: heightAdaptiveMode, customRender: customRender, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior, limitMinWidth: limitMinWidth, limitMinHeight: limitMinHeight} = options;
857
+ pixelRatio && pixelRatio !== this.internalProps.pixelRatio && (this.internalProps.pixelRatio = pixelRatio),
858
+ padding && ("number" == typeof padding ? (this.padding.top = padding, this.padding.left = padding,
859
+ this.padding.bottom = padding, this.padding.right = padding) : (padding.top && (this.padding.top = padding.top),
860
+ padding.bottom && (this.padding.bottom = padding.bottom), padding.left && (this.padding.left = padding.left),
861
+ padding.right && (this.padding.right = padding.right))), this.showFrozenIcon = "boolean" != typeof showFrozenIcon || showFrozenIcon,
862
+ "number" == typeof allowFrozenColCount && allowFrozenColCount <= 0 && (this.showFrozenIcon = !1),
863
+ this.widthMode = null != widthMode ? widthMode : "standard", this.heightMode = null != heightMode ? heightMode : "standard",
864
+ this._widthAdaptiveMode = null != widthAdaptiveMode ? widthAdaptiveMode : "only-body",
865
+ this._heightAdaptiveMode = null != heightAdaptiveMode ? heightAdaptiveMode : "only-body",
866
+ this.autoFillWidth = null != autoFillWidth && autoFillWidth, this.autoFillHeight = null != autoFillHeight && autoFillHeight,
867
+ this.customRender = customRender, this.canvasWidth = (0, vutils_1.isNumber)(canvasWidth) ? canvasWidth : void 0,
868
+ this.canvasHeight = (0, vutils_1.isNumber)(canvasHeight) ? canvasHeight : void 0;
869
+ const internalProps = this.internalProps;
870
+ if ("node" === env_1.Env.mode || options.canvas || (0, tableHelper_1.updateRootElementPadding)(internalProps.element, this.padding),
871
+ this.columnWidthComputeMode = null !== (_a = options.columnWidthComputeMode) && void 0 !== _a ? _a : "normal",
872
+ internalProps.frozenColCount = frozenColCount, internalProps.unfreezeAllOnExceedsMaxWidth = null == unfreezeAllOnExceedsMaxWidth || unfreezeAllOnExceedsMaxWidth,
873
+ internalProps.defaultRowHeight = defaultRowHeight, internalProps.defaultHeaderRowHeight = null != defaultHeaderRowHeight ? defaultHeaderRowHeight : defaultRowHeight,
874
+ internalProps.defaultColWidth = defaultColWidth, internalProps.defaultHeaderColWidth = null != defaultHeaderColWidth ? defaultHeaderColWidth : defaultColWidth,
875
+ internalProps.keyboardOptions = keyboardOptions, internalProps.eventOptions = eventOptions,
876
+ internalProps.rowSeriesNumber = rowSeriesNumber, internalProps.columnResizeMode = null !== (_b = null == resize ? void 0 : resize.columnResizeMode) && void 0 !== _b ? _b : columnResizeMode,
877
+ internalProps.rowResizeMode = null !== (_c = null == resize ? void 0 : resize.rowResizeMode) && void 0 !== _c ? _c : rowResizeMode,
878
+ internalProps.dragHeaderMode = null !== (_e = null !== (_d = null == dragOrder ? void 0 : dragOrder.dragHeaderMode) && void 0 !== _d ? _d : dragHeaderMode) && void 0 !== _e ? _e : "none",
879
+ internalProps.renderChartAsync = renderChartAsync, (0, chart_render_helper_1.setBatchRenderChartCount)(renderChartAsyncBatchCount),
880
+ internalProps.overscrollBehavior = null != overscrollBehavior ? overscrollBehavior : "auto",
881
+ internalProps.cellTextOverflows = {}, internalProps._rowHeightsMap = new row_height_map_1.NumberRangeMap(this),
882
+ internalProps._rowRangeHeightsMap = new Map, internalProps._colRangeWidthsMap = new Map,
883
+ internalProps._widthResizedColMap = new Set, internalProps._heightResizedRowMap = new Set,
884
+ this.colWidthsMap = new NumberMap_1.NumberMap, this.colContentWidthsMap = new NumberMap_1.NumberMap,
885
+ this.colWidthsLimit = {}, internalProps.stick.changedCells.clear(), internalProps.theme = themes_1.default.of(null !== (_f = options.theme) && void 0 !== _f ? _f : themes_1.default.DEFAULT),
886
+ internalProps.theme.isPivot = this.isPivotTable(), (0, icons_2.setIconColor)(internalProps.theme.functionalIconsStyle),
887
+ this.scenegraph.updateStageBackground(), internalProps.autoWrapText = options.autoWrapText,
888
+ internalProps.enableLineBreak = options.enableLineBreak, internalProps.allowFrozenColCount = null !== (_g = options.allowFrozenColCount) && void 0 !== _g ? _g : 0,
889
+ internalProps.limitMaxAutoWidth = null !== (_h = options.limitMaxAutoWidth) && void 0 !== _h ? _h : 450,
890
+ internalProps.limitMinWidth = null != limitMinWidth ? "number" == typeof limitMinWidth ? limitMinWidth : limitMinWidth ? 10 : 0 : 10,
891
+ internalProps.limitMinHeight = null != limitMinHeight ? "number" == typeof limitMinHeight ? limitMinHeight : limitMinHeight ? 10 : 0 : 10,
892
+ null === (_j = internalProps.legends) || void 0 === _j || _j.forEach((legend => {
893
+ null == legend || legend.release();
894
+ })), null === (_k = internalProps.title) || void 0 === _k || _k.release(), internalProps.title = null,
895
+ null === (_l = internalProps.emptyTip) || void 0 === _l || _l.release(), internalProps.emptyTip = null,
896
+ internalProps.layoutMap.release(), (0, chart_render_helper_1.clearChartRenderQueue)(),
897
+ this.scenegraph.clearCells(), this.scenegraph.updateComponent(), this.stateManager.updateOptionSetState(),
898
+ this._updateSize(), this.eventManager.updateEventBinder(), options.legends) {
899
+ internalProps.legends = [];
900
+ const createLegend = factory_1.Factory.getFunction("createLegend");
901
+ if (Array.isArray(options.legends)) {
902
+ for (let i = 0; i < options.legends.length; i++) internalProps.legends.push(createLegend(options.legends[i], this));
903
+ this.scenegraph.tableGroup.setAttributes({
904
+ x: this.tableX,
905
+ y: this.tableY
906
+ });
907
+ } else internalProps.legends.push(createLegend(options.legends, this)), this.scenegraph.tableGroup.setAttributes({
908
+ x: this.tableX,
909
+ y: this.tableY
910
+ });
911
+ }
912
+ if (internalProps.tooltip = Object.assign({
913
+ parentElement: this.getElement(),
914
+ renderMode: "html",
915
+ isShowOverflowTextTooltip: !1,
916
+ confine: !0,
917
+ position: ts_types_1.Placement.bottom
918
+ }, options.tooltip), "html" === internalProps.tooltip.renderMode && !internalProps.tooltipHandler) {
919
+ const TooltipHandler = factory_1.Factory.getComponent("tooltipHandler");
920
+ internalProps.tooltipHandler = new TooltipHandler(this, internalProps.tooltip.confine);
921
+ }
922
+ if (internalProps.menu = Object.assign({
923
+ renderMode: "html"
924
+ }, options.menu), Array.isArray(null === (_m = options.menu) || void 0 === _m ? void 0 : _m.dropDownMenuHighlight) && this.setDropDownMenuHighlight(null === (_o = options.menu) || void 0 === _o ? void 0 : _o.dropDownMenuHighlight),
925
+ (Array.isArray(null === (_p = options.menu) || void 0 === _p ? void 0 : _p.defaultHeaderMenuItems) || "function" == typeof (null === (_q = options.menu) || void 0 === _q ? void 0 : _q.defaultHeaderMenuItems)) && (this.globalDropDownMenu = options.menu.defaultHeaderMenuItems),
926
+ "html" === internalProps.menu.renderMode && !internalProps.menuHandler) {
927
+ const MenuHandler = factory_1.Factory.getComponent("menuHandler");
928
+ internalProps.menuHandler = new MenuHandler(this);
929
+ }
930
+ this.clearCellStyleCache(), this.clearColWidthCache(), this.clearRowHeightCache(),
931
+ internalProps.customMergeCell = (0, get_custom_merge_cell_func_1.getCustomMergeCellFunc)(options.customMergeCell),
932
+ null === (_r = this.customCellStylePlugin) || void 0 === _r || _r.updateCustomCell(null !== (_s = options.customCellStyle) && void 0 !== _s ? _s : [], null !== (_t = options.customCellStyleArrangement) && void 0 !== _t ? _t : []),
933
+ this._adjustCanvasSizeByOption();
934
+ }
935
+ renderWithRecreateCells() {
936
+ this.internalProps.stick.changedCells.clear();
937
+ const oldHoverState = {
938
+ col: this.stateManager.hover.cellPos.col,
939
+ row: this.stateManager.hover.cellPos.row
940
+ };
941
+ this.refreshHeader(), this.internalProps.useOneRowHeightFillAll = !1, this.scenegraph.clearCells(),
942
+ this.clearCellStyleCache(), this.scenegraph.createSceneGraph(), this.stateManager.updateHoverPos(oldHoverState.col, oldHoverState.row),
943
+ this.render();
944
+ }
945
+ getFrozenRowsHeight() {
946
+ return this.getRowsHeight(0, this.frozenRowCount - 1);
947
+ }
948
+ getFrozenColsWidth() {
949
+ return this.getColsWidth(0, this.frozenColCount - 1);
950
+ }
951
+ getBottomFrozenRowsHeight() {
952
+ if (this.bottomFrozenRowCount > 0) {
953
+ let height = 0;
954
+ for (let row = this.rowCount - this.bottomFrozenRowCount; row <= this.rowCount - 1; row++) height += this.getRowHeight(row);
955
+ return height;
956
+ }
957
+ return 0;
958
+ }
959
+ getRightFrozenColsWidth() {
960
+ if (this.rightFrozenColCount > 0) {
961
+ let width = 0;
962
+ for (let col = this.colCount - this.rightFrozenColCount; col <= this.colCount - 1; col++) width += this.getColWidth(col);
963
+ return width;
964
+ }
965
+ return 0;
966
+ }
967
+ getDrawRange() {
968
+ const width = Math.min(this.tableNoFrameWidth, this.getAllColsWidth()), height = Math.min(this.tableNoFrameHeight, this.getAllRowsHeight());
969
+ return new Rect_1.Rect(this.tableX, this.tableY, width, height);
970
+ }
971
+ _getMouseAbstractPoint(evt, isAddScroll = !0) {
972
+ var _a, _b, _c, _d;
973
+ let e;
974
+ if (!evt) return {
975
+ inTable: !1,
976
+ x: void 0,
977
+ y: void 0
978
+ };
979
+ e = isTouchEvent(evt) ? evt.changedTouches[0] : evt;
980
+ const clientX = e.clientX || e.pageX + window.scrollX, clientY = e.clientY || e.pageY + window.scrollY, rect = this.internalProps.canvas.getBoundingClientRect();
981
+ let inTable = !0;
982
+ rect.right <= clientX && (inTable = !1), rect.bottom <= clientY && (inTable = !1);
983
+ const currentWidth = rect.width, widthRatio = currentWidth / (this.canvas.offsetWidth || currentWidth), currentHeight = rect.height, heightRatio = currentHeight / (this.canvas.offsetHeight || currentHeight), point = {
984
+ x: (clientX - rect.left) / widthRatio + (isAddScroll ? this.scrollLeft : 0) - (null !== (_b = null === (_a = this.options.viewBox) || void 0 === _a ? void 0 : _a.x1) && void 0 !== _b ? _b : 0),
985
+ y: (clientY - rect.top) / heightRatio + (isAddScroll ? this.scrollTop : 0) - (null !== (_d = null === (_c = this.options.viewBox) || void 0 === _c ? void 0 : _c.y1) && void 0 !== _d ? _d : 0),
986
+ inTable: inTable
987
+ };
988
+ if (this.internalProps.modifiedViewBoxTransform && this.scenegraph.stage.window.getViewBoxTransform()) {
989
+ this.scenegraph.stage.window.getViewBoxTransform().transformPoint(point, point);
990
+ }
991
+ return point;
992
+ }
993
+ getTheme() {
994
+ return this.internalProps.theme;
995
+ }
996
+ getTargetColAt(absoluteX) {
997
+ return (0, get_cell_position_1.getTargetColAt)(absoluteX, this);
998
+ }
999
+ getTargetRowAt(absoluteY) {
1000
+ const targetRow = (0, get_cell_position_1.getTargetRowAt)(absoluteY, this);
1001
+ return targetRow && (targetRow.row = Math.min(targetRow.row, this.rowCount - 1)),
1002
+ targetRow;
1003
+ }
1004
+ getTargetColAtConsiderRightFrozen(absoluteX, isConsider) {
1005
+ return (0, get_cell_position_1.getTargetColAtConsiderRightFrozen)(absoluteX, isConsider, this);
1006
+ }
1007
+ getTargetRowAtConsiderBottomFrozen(absoluteY, isConsider) {
1008
+ return (0, get_cell_position_1.getTargetRowAtConsiderBottomFrozen)(absoluteY, isConsider, this);
1009
+ }
1010
+ clearSelected() {
1011
+ this.stateManager.updateSelectPos(-1, -1);
1012
+ }
1013
+ selectCell(col, row, isShift, isCtrl, makeSelectCellVisible, skipBodyMerge = !1) {
1014
+ var _a, _b, _c;
1015
+ const isHasSelected = !!(null === (_a = this.stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
1016
+ this.stateManager.updateSelectPos(col, row, isShift, isCtrl, !1, null === (_c = null != makeSelectCellVisible ? makeSelectCellVisible : null === (_b = this.options.select) || void 0 === _b ? void 0 : _b.makeSelectCellVisible) || void 0 === _c || _c, skipBodyMerge),
1017
+ this.stateManager.endSelectCells(!0, isHasSelected);
1018
+ }
1019
+ selectCells(cellRanges) {
1020
+ const {scrollLeft: scrollLeft, scrollTop: scrollTop} = this;
1021
+ cellRanges.forEach(((cellRange, index) => {
1022
+ var _a, _b, _c, _d, _e, _f;
1023
+ cellRange.start.col === cellRange.end.col && cellRange.start.row === cellRange.end.row ? this.stateManager.updateSelectPos(cellRange.start.col, cellRange.start.row, !1, index >= 1, !1, null === (_b = null === (_a = this.options.select) || void 0 === _a ? void 0 : _a.makeSelectCellVisible) || void 0 === _b || _b, !0) : (this.stateManager.updateSelectPos(cellRange.start.col, cellRange.start.row, !1, index >= 1, !1, null === (_d = null === (_c = this.options.select) || void 0 === _c ? void 0 : _c.makeSelectCellVisible) || void 0 === _d || _d, !0),
1024
+ this.stateManager.updateInteractionState(ts_types_1.InteractionState.grabing), this.stateManager.updateSelectPos(cellRange.end.col, cellRange.end.row, !1, index >= 1, !1, null === (_f = null === (_e = this.options.select) || void 0 === _e ? void 0 : _e.makeSelectCellVisible) || void 0 === _f || _f, !0)),
1025
+ this.stateManager.endSelectCells(!1, !1), this.stateManager.updateInteractionState(ts_types_1.InteractionState.default);
1026
+ })), this.setScrollTop(scrollTop), this.setScrollLeft(scrollLeft);
1027
+ }
1028
+ get recordsCount() {
1029
+ var _a;
1030
+ return null === (_a = this.records) || void 0 === _a ? void 0 : _a.length;
1031
+ }
1032
+ get allowFrozenColCount() {
1033
+ return this.internalProps.allowFrozenColCount;
1034
+ }
1035
+ get rowHeaderLevelCount() {
1036
+ return this.internalProps.layoutMap.rowHeaderLevelCount;
1037
+ }
1038
+ get columnHeaderLevelCount() {
1039
+ return this.internalProps.layoutMap.columnHeaderLevelCount;
1040
+ }
1041
+ get records() {
1042
+ return this.internalProps.records;
1043
+ }
1044
+ get dataSource() {
1045
+ return this.internalProps.dataSource;
1046
+ }
1047
+ set dataSource(dataSource) {
1048
+ this.scenegraph.clearCells(), (0, tableHelper_1._setDataSource)(this, dataSource),
1049
+ this.refreshRowColCount(), this.scenegraph.createSceneGraph(), this.render();
1050
+ }
1051
+ get autoWrapText() {
1052
+ return this.internalProps.autoWrapText;
1053
+ }
1054
+ set autoWrapText(autoWrapText) {
1055
+ this.internalProps.autoWrapText = autoWrapText, this.options.autoWrapText = autoWrapText;
1056
+ }
1057
+ get enableLineBreak() {
1058
+ return this.internalProps.enableLineBreak;
1059
+ }
1060
+ set enableLineBreak(enableLineBreak) {
1061
+ this.internalProps.enableLineBreak = enableLineBreak, this.options.enableLineBreak = enableLineBreak;
1062
+ }
1063
+ updateAutoWrapText(autoWrapText) {
1064
+ this.internalProps.autoWrapText !== autoWrapText && (this.internalProps.autoWrapText = autoWrapText,
1065
+ this.options.autoWrapText = autoWrapText, this.scenegraph.clearCells(), this.clearCellStyleCache(),
1066
+ this.scenegraph.createSceneGraph(), this.render());
1067
+ }
1068
+ get theme() {
1069
+ return this.internalProps.theme;
1070
+ }
1071
+ set theme(theme) {
1072
+ this.internalProps.theme = themes_1.default.of(null != theme ? theme : themes_1.default.DEFAULT),
1073
+ this.internalProps.theme.isPivot = this.isPivotTable(), this.options.theme = theme,
1074
+ (0, icons_2.setIconColor)(this.internalProps.theme.functionalIconsStyle);
1075
+ }
1076
+ updateTheme(theme) {
1077
+ const oldHoverState = {
1078
+ col: this.stateManager.hover.cellPos.col,
1079
+ row: this.stateManager.hover.cellPos.row
1080
+ };
1081
+ this.internalProps.theme = themes_1.default.of(null != theme ? theme : themes_1.default.DEFAULT),
1082
+ this.internalProps.theme.isPivot = this.isPivotTable(), (0, icons_2.setIconColor)(this.internalProps.theme.functionalIconsStyle),
1083
+ this.options.theme = theme, this.scenegraph.updateComponent(), this.scenegraph.updateStageBackground(),
1084
+ this.scenegraph.clearCells(), this.clearCellStyleCache(), this.scenegraph.createSceneGraph(),
1085
+ this.stateManager.updateHoverPos(oldHoverState.col, oldHoverState.row), this.render();
1086
+ }
1087
+ getBodyField(col, row) {
1088
+ return this.internalProps.layoutMap.getBody(col, row).field;
1089
+ }
1090
+ getBodyColumnDefine(col, row) {
1091
+ const body = this.internalProps.layoutMap.getBody(col, row);
1092
+ return null == body ? void 0 : body.define;
1093
+ }
1094
+ getBodyColumnType(col, row) {
1095
+ var _a, _b;
1096
+ const cellType = null !== (_b = null === (_a = this.internalProps.layoutMap.getBody(col, row)) || void 0 === _a ? void 0 : _a.cellType) && void 0 !== _b ? _b : "text";
1097
+ return (0, get_prop_1.getProp)("cellType", {
1098
+ cellType: cellType
1099
+ }, col, row, this);
1100
+ }
1101
+ getCellType(col, row) {
1102
+ let cellType;
1103
+ return this.isSeriesNumberInHeader(col, row) ? this.internalProps.layoutMap.getSeriesNumberHeader(col, row).cellType : (cellType = this.isHeader(col, row) ? this.internalProps.layoutMap.getHeader(col, row).headerType : this.internalProps.layoutMap.getBody(col, row).cellType,
1104
+ (0, get_prop_1.getProp)("cellType", {
1105
+ cellType: cellType
1106
+ }, col, row, this));
1107
+ }
1108
+ getHeaderField(col, row) {
1109
+ return this.internalProps.layoutMap.getHeaderField(col, row);
1110
+ }
1111
+ getHeaderDefine(col, row) {
1112
+ const hd = this.internalProps.layoutMap.getHeader(col, row);
1113
+ return null == hd ? void 0 : hd.define;
1114
+ }
1115
+ getCellLocation(col, row) {
1116
+ return this.internalProps.layoutMap.getCellLocation(col, row);
1117
+ }
1118
+ getCellHeaderPaths(col, row) {
1119
+ return this.internalProps.layoutMap.getCellHeaderPaths(col, row);
1120
+ }
1121
+ getHeadersDefine(col, row) {
1122
+ const headers = [];
1123
+ for (;;) {
1124
+ const header = this.getHeaderDefine(col, row);
1125
+ if (!header || !header.field && !header.columns) break;
1126
+ headers.push(header), row++;
1127
+ }
1128
+ return headers;
1129
+ }
1130
+ _getHeaderLayoutMap(col, row) {
1131
+ return this.internalProps.layoutMap.getHeader(col, row);
1132
+ }
1133
+ _getBodyLayoutMap(col, row) {
1134
+ return this.internalProps.layoutMap.getBody(col, row);
1135
+ }
1136
+ getContext() {
1137
+ return this.internalProps.context;
1138
+ }
1139
+ getRecordByCell(col, row) {
1140
+ if (!this.internalProps.layoutMap.isHeader(col, row)) return this.getCellOriginRecord(col, row);
1141
+ }
1142
+ getRecordByRowCol(col, row) {
1143
+ return this.getRecordByCell(col, row);
1144
+ }
1145
+ getRecordStartRowByRecordIndex(index) {
1146
+ return this.internalProps.layoutMap.getRecordStartRowByRecordIndex(index);
1147
+ }
1148
+ _getHeaderCellBySortState(sortState) {
1149
+ const {layoutMap: layoutMap} = this.internalProps, hd = layoutMap.headerObjects.find((col => col && col.field === sortState.field));
1150
+ if (hd) {
1151
+ return layoutMap.getHeaderCellAdressById(hd.id);
1152
+ }
1153
+ }
1154
+ getCellRange(col, row) {
1155
+ var _a;
1156
+ if (this.internalProps.customMergeCell) {
1157
+ const customMerge = this.internalProps.customMergeCell(col, row, this);
1158
+ if (customMerge && customMerge.range && ((0, vutils_1.isValid)(customMerge.text) || customMerge.customLayout || customMerge.customRender)) {
1159
+ return {
1160
+ start: {
1161
+ col: Math.max(customMerge.range.start.col, 0),
1162
+ row: Math.max(customMerge.range.start.row, 0)
1163
+ },
1164
+ end: {
1165
+ col: Math.min(customMerge.range.end.col, this.colCount - 1),
1166
+ row: Math.min(customMerge.range.end.row, this.rowCount - 1)
1167
+ },
1168
+ isCustom: !0
1169
+ };
1170
+ }
1171
+ }
1172
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.getCellRange(col, row);
1173
+ }
1174
+ hasCustomMerge() {
1175
+ return !!this.internalProps.customMergeCell;
1176
+ }
1177
+ getCustomMerge(col, row) {
1178
+ if (this.internalProps.customMergeCell) {
1179
+ const customMerge = this.internalProps.customMergeCell(col, row, this);
1180
+ if (customMerge && customMerge.range && ((0, vutils_1.isValid)(customMerge.text) || customMerge.customLayout || this.customRender)) {
1181
+ if (customMerge.style) {
1182
+ const styleClass = this.internalProps.bodyHelper.getStyleClass("text"), style = customMerge.style, fullStyle = columnStyleContents.of(style, this.theme.bodyStyle, {
1183
+ col: col,
1184
+ row: row,
1185
+ table: this,
1186
+ value: customMerge.text,
1187
+ dataValue: this.getCellOriginValue(col, row),
1188
+ cellHeaderPaths: this.getCellHeaderPaths(col, row)
1189
+ }, styleClass, this.options.autoWrapText, this.theme);
1190
+ customMerge.style = fullStyle;
1191
+ }
1192
+ return customMerge.range = {
1193
+ start: {
1194
+ col: Math.max(customMerge.range.start.col, 0),
1195
+ row: Math.max(customMerge.range.start.row, 0)
1196
+ },
1197
+ end: {
1198
+ col: Math.min(customMerge.range.end.col, this.colCount - 1),
1199
+ row: Math.min(customMerge.range.end.row, this.rowCount - 1)
1200
+ },
1201
+ isCustom: !0
1202
+ }, customMerge;
1203
+ }
1204
+ }
1205
+ }
1206
+ isCellRangeEqual(col, row, targetCol, targetRow) {
1207
+ return this.internalProps.layoutMap.isCellRangeEqual(col, row, targetCol, targetRow);
1208
+ }
1209
+ _getLayoutCellId(col, row) {
1210
+ return this.internalProps.layoutMap.getCellId(col, row);
1211
+ }
1212
+ getHeaderDescription(col, row) {
1213
+ var _a;
1214
+ const field = this._getHeaderLayoutMap(col, row), fieldDef = null == field ? void 0 : field.define, description = null !== (_a = null == fieldDef ? void 0 : fieldDef.description) && void 0 !== _a ? _a : null == field ? void 0 : field.description;
1215
+ if ("function" == typeof description) {
1216
+ return description({
1217
+ col: col,
1218
+ row: row,
1219
+ value: this.getCellValue(col, row),
1220
+ dataValue: this.getCellOriginValue(col, row)
1221
+ });
1222
+ }
1223
+ return description;
1224
+ }
1225
+ setDropDownMenuHighlight(cells) {
1226
+ this.stateManager.setDropDownMenuHighlight(cells);
1227
+ }
1228
+ _dropDownMenuIsHighlight(colNow, rowNow, index) {
1229
+ return this.stateManager.dropDownMenuIsHighlight(colNow, rowNow, index);
1230
+ }
1231
+ isSeriesNumberInBody(col, row) {
1232
+ return this.internalProps.layoutMap && this.internalProps.layoutMap.isSeriesNumberInBody(col, row);
1233
+ }
1234
+ isSeriesNumberInHeader(col, row) {
1235
+ return this.internalProps.layoutMap && this.internalProps.layoutMap.isSeriesNumberInHeader(col, row);
1236
+ }
1237
+ isHeader(col, row) {
1238
+ return this.internalProps.layoutMap && this.internalProps.layoutMap.isHeader(col, row);
1239
+ }
1240
+ isColumnHeader(col, row) {
1241
+ var _a;
1242
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isColumnHeader(col, row);
1243
+ }
1244
+ isRowHeader(col, row) {
1245
+ var _a;
1246
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isRowHeader(col, row);
1247
+ }
1248
+ isCornerHeader(col, row) {
1249
+ var _a;
1250
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isCornerHeader(col, row);
1251
+ }
1252
+ isFrozenColumn(col, row) {
1253
+ return this.isLeftFrozenColumn(col, row) || this.isRightFrozenColumn(col, row);
1254
+ }
1255
+ isLeftFrozenColumn(col, row) {
1256
+ var _a;
1257
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isFrozenColumn(col, row);
1258
+ }
1259
+ isRightFrozenColumn(col, row) {
1260
+ var _a;
1261
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isRightFrozenColumn(col, row);
1262
+ }
1263
+ isFrozenRow(col, row) {
1264
+ return this.isTopFrozenRow(col, row) || this.isBottomFrozenRow(col, row);
1265
+ }
1266
+ isTopFrozenRow(col, row) {
1267
+ var _a;
1268
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isFrozenRow(col, row);
1269
+ }
1270
+ isBottomFrozenRow(col, row) {
1271
+ var _a;
1272
+ return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.isBottomFrozenRow(col, row);
1273
+ }
1274
+ getCellInfo(col, row) {
1275
+ if (col >= 0 && row >= 0) {
1276
+ const colDef = this.isHeader(col, row) ? this.getHeaderDefine(col, row) : this.getBodyColumnDefine(col, row);
1277
+ return {
1278
+ col: col,
1279
+ row: row,
1280
+ field: this.getHeaderField(col, row),
1281
+ cellHeaderPaths: this.internalProps.layoutMap.getCellHeaderPaths(col, row),
1282
+ title: null == colDef ? void 0 : colDef.title,
1283
+ cellType: this.getCellType(col, row),
1284
+ originData: this.getCellOriginRecord(col, row),
1285
+ cellRange: this.getCellRangeRelativeRect({
1286
+ col: col,
1287
+ row: row
1288
+ }),
1289
+ value: this.getCellValue(col, row),
1290
+ dataValue: this.getCellOriginValue(col, row),
1291
+ cellLocation: this.getCellLocation(col, row),
1292
+ scaleRatio: this.canvas.getBoundingClientRect().width / this.canvas.offsetWidth
1293
+ };
1294
+ }
1295
+ }
1296
+ _hasField(field, col, row) {
1297
+ var _a;
1298
+ if (null === field) return !1;
1299
+ if (this.internalProps.layoutMap.isHeader(col, row)) return !1;
1300
+ const index = this.getRecordShowIndexByCell(col, row);
1301
+ return null === (_a = this.internalProps.dataSource) || void 0 === _a ? void 0 : _a.hasField(index, field);
1302
+ }
1303
+ _getCellStyle(col, row) {
1304
+ return (0, style_helper_1.getCellStyle)(col, row, this);
1305
+ }
1306
+ clearCellStyleCache() {
1307
+ this.headerStyleCache.clear(), this.bodyStyleCache.clear(), this.bodyMergeTitleCache.clear(),
1308
+ this.bodyBottomStyleCache.clear();
1309
+ }
1310
+ clearRowHeightCache() {
1311
+ this.internalProps._rowHeightsMap.clear(), this._clearRowRangeHeightsMap();
1312
+ }
1313
+ clearColWidthCache() {
1314
+ this.internalProps._colWidthsMap.clear(), this._clearColRangeWidthsMap();
1315
+ }
1316
+ _canResizeColumn(col, row) {
1317
+ if (!(col >= 0 && row >= 0)) return !1;
1318
+ if (this.isCellRangeEqual(col, row, col + 1, row)) return !1;
1319
+ if ("none" === this.internalProps.columnResizeMode) return !1;
1320
+ if ("header" === this.internalProps.columnResizeMode) {
1321
+ if (!this.isHeader(col, row)) return !1;
1322
+ } else if ("body" === this.internalProps.columnResizeMode && this.isHeader(col, row)) return !1;
1323
+ const limit = this.colWidthsLimit[col];
1324
+ return !(limit && limit.min && limit.max) || limit.max !== limit.min;
1325
+ }
1326
+ _canResizeRow(col, row) {
1327
+ if (!(col >= 0 && row >= 0)) return !1;
1328
+ if (this.isCellRangeEqual(col, row, col, row + 1)) return !1;
1329
+ if ("none" === this.internalProps.rowResizeMode) return !1;
1330
+ if ("header" === this.internalProps.rowResizeMode) {
1331
+ if (!this.isHeader(col, row)) return !1;
1332
+ } else if ("body" === this.internalProps.rowResizeMode && this.isHeader(col, row)) return !1;
1333
+ return !0;
1334
+ }
1335
+ _canDragHeaderPosition(col, row) {
1336
+ var _a;
1337
+ if (this.isHeader(col, row) && (this.stateManager.isSelected(col, row) || "body" === (null === (_a = this.options.select) || void 0 === _a ? void 0 : _a.headerSelectMode) && (0,
1338
+ check_in_select_1.checkCellInSelect)(col, row, [ this.getCellRange(this.stateManager.select.cellPos.col, this.stateManager.select.cellPos.row) ]) || (0,
1339
+ is_cell_select_highlight_1.isCellDisableSelect)(this, col, row))) {
1340
+ if ("disabled" === this.internalProps.frozenColDragHeaderMode && this.isFrozenColumn(col)) return !1;
1341
+ if (this.stateManager.isSelected(col, row)) {
1342
+ const selectRange = this.stateManager.select.ranges[0];
1343
+ if (this.isColumnHeader(col, row)) {
1344
+ if (selectRange.end.row !== this.rowCount - 1) return !1;
1345
+ } else {
1346
+ if (!this.isRowHeader(col, row)) return !1;
1347
+ if (selectRange.end.col !== this.colCount - 1) return !1;
1348
+ }
1349
+ }
1350
+ const define = this.getHeaderDefine(col, row);
1351
+ if (!define) return !1;
1352
+ if (void 0 === define.dragHeader) {
1353
+ if ("all" === this.internalProps.dragHeaderMode) return !0;
1354
+ if ("column" === this.internalProps.dragHeaderMode) {
1355
+ if (this.isColumnHeader(col, row)) return !0;
1356
+ } else if ("row" === this.internalProps.dragHeaderMode && this.isRowHeader(col, row)) return !0;
1357
+ return !1;
1358
+ }
1359
+ return define.dragHeader;
1360
+ }
1361
+ return !1;
1362
+ }
1363
+ getCellIcons(col, row) {
1364
+ var _a, _b, _c;
1365
+ let icons;
1366
+ if (this.isHeader(col, row)) icons = this.internalProps.headerHelper.getIcons(col, row); else if (this.internalProps.layoutMap.isSeriesNumber(col, row)) {
1367
+ if (!this.options.groupBy || !(null === (_a = this.getCellRawRecord(col, row)) || void 0 === _a ? void 0 : _a.vtableMerge)) {
1368
+ (null === (_c = null === (_b = this.internalProps.layoutMap.getSeriesNumberBody(col, row)) || void 0 === _b ? void 0 : _b.define) || void 0 === _c ? void 0 : _c.dragOrder) && (icons = this.internalProps.rowSeriesNumberHelper.getIcons(col, row));
1369
+ }
1370
+ const cellValue = this.getCellValue(col, row), dataValue = this.getCellOriginValue(col, row), ctx = this.internalProps.context, cellIcon = this.internalProps.bodyHelper.getIcons(col, row, cellValue, dataValue, ctx);
1371
+ (null == icons ? void 0 : icons.length) > 0 ? icons = icons.concat(cellIcon) : (null == cellIcon ? void 0 : cellIcon.length) > 0 && (icons = cellIcon);
1372
+ } else {
1373
+ const cellValue = this.getCellValue(col, row), dataValue = this.getCellOriginValue(col, row), ctx = this.internalProps.context;
1374
+ icons = this.internalProps.bodyHelper.getIcons(col, row, cellValue, dataValue, ctx);
1375
+ }
1376
+ return icons;
1377
+ }
1378
+ showDropDownMenu(col, row, dropDownMenuOptions) {
1379
+ let menuType = "dropdown-menu";
1380
+ dropDownMenuOptions && (menuType = Array.isArray(dropDownMenuOptions.content) ? "dropdown-menu" : "container"),
1381
+ "html" === this.internalProps.menu.renderMode && (this.stateManager.menu.isShow = !0,
1382
+ this.internalProps.menuHandler._bindToCell(col, row, menuType, dropDownMenuOptions));
1383
+ }
1384
+ showTooltip(col, row, tooltipOptions) {
1385
+ "html" === this.internalProps.tooltip.renderMode && this.internalProps.tooltipHandler._bindToCell(col, row, tooltipOptions);
1386
+ }
1387
+ getCellStyle(col, row) {
1388
+ const actStyle = this._getCellStyle(col, row), theme = (0, tableHelper_1.getStyleTheme)(actStyle, this, col, row, get_prop_1.getProp).theme, {autoWrapText: autoWrapText, lineClamp: lineClamp, textOverflow: textOverflow} = actStyle;
1389
+ return {
1390
+ textAlign: theme.text.textAlign,
1391
+ textBaseline: theme.text.textBaseline,
1392
+ bgColor: (0, vutils_1.isBoolean)(theme.group.fill) ? (0, get_prop_1.getProp)("bgColor", actStyle, col, row, this) : theme.group.fill,
1393
+ color: (0, vutils_1.isBoolean)(theme.text.fill) ? (0, get_prop_1.getProp)("color", actStyle, col, row, this) : theme.text.fill,
1394
+ strokeColor: (0, vutils_1.isBoolean)(theme.text.stroke) ? (0, get_prop_1.getProp)("strokeColor", actStyle, col, row, this) : theme.text.stroke,
1395
+ fontFamily: theme.text.fontFamily,
1396
+ fontSize: theme.text.fontSize,
1397
+ fontWeight: theme.text.fontWeight,
1398
+ fontVariant: theme.text.fontVariant,
1399
+ fontStyle: theme.text.fontStyle,
1400
+ lineHeight: theme.text.lineHeight,
1401
+ autoWrapText: null != autoWrapText && autoWrapText,
1402
+ lineClamp: null != lineClamp ? lineClamp : "auto",
1403
+ textOverflow: textOverflow,
1404
+ borderColor: (0, vutils_1.isBoolean)(theme.group.stroke) ? (0, get_prop_1.getProp)("borderColor", actStyle, col, row, this) : theme.group.stroke,
1405
+ borderLineWidth: theme.group.lineWidth,
1406
+ borderLineDash: theme.group.lineDash,
1407
+ underline: !!theme.text.underline,
1408
+ underlineDash: theme.text.underlineDash,
1409
+ underlineOffset: theme.text.underlineOffset,
1410
+ lineThrough: !!theme.text.lineThrough,
1411
+ padding: theme._vtable.padding,
1412
+ underlineWidth: theme.text.underline,
1413
+ lineThroughLineWidth: theme.text.lineThrough,
1414
+ _strokeArrayWidth: theme.group.strokeArrayWidth,
1415
+ _strokeArrayColor: theme.group.strokeArrayColor,
1416
+ _linkColor: (0, get_prop_1.getProp)("linkColor", actStyle, col, row, this)
1417
+ };
1418
+ }
1419
+ getAllBodyCells(colMaxCount, rowMaxCount) {
1420
+ const start_col = this.rowHeaderLevelCount, start_row = this.columnHeaderLevelCount, end_col = this.colCount - 1, end_row = this.rowCount - 1;
1421
+ return Array(Math.min(null != rowMaxCount ? rowMaxCount : 2e3, end_row - start_row + 1, this.rowCount)).fill(0).map(((_, i) => Array(Math.min(null != colMaxCount ? colMaxCount : 2e3, end_col - start_col + 1, this.colCount)).fill(0).map(((_, j) => this.getCellInfo(j + start_col, i + start_row)))));
1422
+ }
1423
+ getAllCells(colMaxCount, rowMaxCount) {
1424
+ const start_col = 0, start_row = 0, end_col = this.colCount - 1, end_row = this.rowCount - 1;
1425
+ return Array(Math.min(null != rowMaxCount ? rowMaxCount : 2e3, end_row - start_row + 1, this.rowCount)).fill(0).map(((_, i) => Array(Math.min(null != colMaxCount ? colMaxCount : 2e3, end_col - start_col + 1, this.colCount)).fill(0).map(((_, j) => this.getCellInfo(j + start_col, i + start_row)))));
1426
+ }
1427
+ getAllColumnHeaderCells() {
1428
+ const start_col = this.rowHeaderLevelCount, start_row = 0, end_col = this.colCount - 1, end_row = this.columnHeaderLevelCount - 1;
1429
+ return Array(end_row - start_row + 1).fill(0).map(((_, i) => Array(end_col - start_col + 1).fill(0).map(((_, j) => this.getCellInfo(j + start_col, i + start_row)))));
1430
+ }
1431
+ getAllRowHeaderCells() {
1432
+ const start_col = 0, start_row = this.columnHeaderLevelCount, end_col = this.rowHeaderLevelCount - 1, end_row = this.rowCount - 1;
1433
+ return Array(end_row - start_row + 1).fill(0).map(((_, i) => Array(end_col - start_col + 1).fill(0).map(((_, j) => this.getCellInfo(j + start_col, i + start_row)))));
1434
+ }
1435
+ getCopyValue() {
1436
+ var _a, _b, _c;
1437
+ if ((null === (_b = null === (_a = this.stateManager.select) || void 0 === _a ? void 0 : _a.ranges) || void 0 === _b ? void 0 : _b.length) > 0) {
1438
+ const ranges = this.stateManager.select.ranges;
1439
+ let minCol = Math.min(ranges[0].start.col, ranges[0].end.col), maxCol = Math.max(ranges[0].start.col, ranges[0].end.col), minRow = Math.min(ranges[0].start.row, ranges[0].end.row), maxRow = Math.max(ranges[0].start.row, ranges[0].end.row);
1440
+ ranges.forEach((a => {
1441
+ minCol = Math.min(minCol, a.start.col, a.end.col), maxCol = Math.max(maxCol, a.start.col, a.end.col),
1442
+ minRow = Math.min(minRow, a.start.row, a.end.row), maxRow = Math.max(maxRow, a.start.row, a.end.row);
1443
+ }));
1444
+ const isExistDataInRow = r => {
1445
+ let isExist = !1;
1446
+ return ranges.forEach((range => {
1447
+ const minRow = Math.min(range.start.row, range.end.row), maxRow = Math.max(range.start.row, range.end.row);
1448
+ minRow <= r && maxRow >= r && (isExist = !0);
1449
+ })), isExist;
1450
+ }, isExistDataInCol = c => {
1451
+ let isExist = !1;
1452
+ return ranges.forEach((range => {
1453
+ const minCol = Math.min(range.start.col, range.end.col), maxCol = Math.max(range.start.col, range.end.col);
1454
+ minCol <= c && maxCol >= c && (isExist = !0);
1455
+ })), isExist;
1456
+ }, getRangeExistDataInCell = (c, r) => {
1457
+ let isExistRange;
1458
+ return ranges.forEach((range => {
1459
+ const minRow = Math.min(range.start.row, range.end.row), maxRow = Math.max(range.start.row, range.end.row), minCol = Math.min(range.start.col, range.end.col), maxCol = Math.max(range.start.col, range.end.col);
1460
+ minCol <= c && maxCol >= c && minRow <= r && maxRow >= r && (isExistRange = range);
1461
+ })), isExistRange;
1462
+ }, getCopyCellValue = (col, row, range) => {
1463
+ const cellRange = this.getCellRange(col, row);
1464
+ let copyStartCol = cellRange.start.col, copyStartRow = cellRange.start.row;
1465
+ if (range) {
1466
+ const rangeMinCol = Math.min(range.start.col, range.end.col), rangeMinRow = Math.min(range.start.row, range.end.row);
1467
+ copyStartCol = Math.max(rangeMinCol, cellRange.start.col), copyStartRow = Math.max(rangeMinRow, cellRange.start.row);
1468
+ }
1469
+ if (copyStartCol !== col || copyStartRow !== row) return "";
1470
+ return this.getCellValue(col, row);
1471
+ };
1472
+ let copyValue = "";
1473
+ for (let r = minRow; r <= maxRow; r++) {
1474
+ if (isExistDataInRow(r)) {
1475
+ for (let c = minCol; c <= maxCol; c++) {
1476
+ if (isExistDataInCol(c)) {
1477
+ const range = getRangeExistDataInCell(c, r);
1478
+ if (range) {
1479
+ const copyCellValue = getCopyCellValue(c, r, range);
1480
+ if ("undefined" != typeof Promise && copyCellValue instanceof Promise) ; else {
1481
+ const strCellValue = (0, vutils_1.isValid)(copyCellValue) ? `${copyCellValue}` : "";
1482
+ /^\[object .*\]$/.exec(strCellValue) || (copyValue += strCellValue);
1483
+ }
1484
+ (c < range.end.col || c < maxCol) && (copyValue += "\t");
1485
+ } else copyValue += "\t";
1486
+ }
1487
+ }
1488
+ r < maxRow && (copyValue += "\r\n");
1489
+ }
1490
+ }
1491
+ return (null === (_c = this.options) || void 0 === _c ? void 0 : _c.formatCopyValue) && (copyValue = this.options.formatCopyValue(copyValue)),
1492
+ copyValue;
1493
+ }
1494
+ return "";
1495
+ }
1496
+ getSelectedCellInfos() {
1497
+ var _a;
1498
+ if (!(null === (_a = this.stateManager.select) || void 0 === _a ? void 0 : _a.ranges)) return null;
1499
+ const ranges = this.stateManager.select.ranges;
1500
+ if (!ranges.length) return [];
1501
+ let minCol = Math.min(ranges[0].start.col, ranges[0].end.col), maxCol = Math.max(ranges[0].start.col, ranges[0].end.col), minRow = Math.min(ranges[0].start.row, ranges[0].end.row), maxRow = Math.max(ranges[0].start.row, ranges[0].end.row);
1502
+ ranges.forEach((a => {
1503
+ minCol = Math.min(minCol, a.start.col, a.end.col), maxCol = Math.max(maxCol, a.start.col, a.end.col),
1504
+ minRow = Math.min(minRow, a.start.row, a.end.row), maxRow = Math.max(maxRow, a.start.row, a.end.row);
1505
+ }));
1506
+ const isExistDataInRow = r => {
1507
+ let isExist = !1;
1508
+ return ranges.forEach((range => {
1509
+ const minRow = Math.min(range.start.row, range.end.row), maxRow = Math.max(range.start.row, range.end.row);
1510
+ minRow <= r && maxRow >= r && (isExist = !0);
1511
+ })), isExist;
1512
+ }, isExistDataInCol = c => {
1513
+ let isExist = !1;
1514
+ return ranges.forEach((range => {
1515
+ const minCol = Math.min(range.start.col, range.end.col), maxCol = Math.max(range.start.col, range.end.col);
1516
+ minCol <= c && maxCol >= c && (isExist = !0);
1517
+ })), isExist;
1518
+ }, getRangeExistDataInCell = (c, r) => {
1519
+ let isExistRange;
1520
+ return ranges.forEach((range => {
1521
+ const minRow = Math.min(range.start.row, range.end.row), maxRow = Math.max(range.start.row, range.end.row), minCol = Math.min(range.start.col, range.end.col), maxCol = Math.max(range.start.col, range.end.col);
1522
+ minCol <= c && maxCol >= c && minRow <= r && maxRow >= r && (isExistRange = range);
1523
+ })), isExistRange;
1524
+ }, cellInfoArray = [];
1525
+ for (let r = minRow; r <= maxRow; r++) {
1526
+ if (isExistDataInRow(r)) {
1527
+ const cellInfoRow = [];
1528
+ for (let c = minCol; c <= maxCol; c++) {
1529
+ if (isExistDataInCol(c)) {
1530
+ if (getRangeExistDataInCell(c, r)) {
1531
+ const cellInfo = this.getCellInfo(c, r);
1532
+ cellInfoRow.push(cellInfo);
1533
+ }
1534
+ }
1535
+ }
1536
+ cellInfoArray.push(cellInfoRow);
1537
+ }
1538
+ }
1539
+ return cellInfoArray;
1540
+ }
1541
+ getSelectedCellRanges() {
1542
+ const ranges = this.stateManager.select.ranges;
1543
+ return ranges.length ? (0, vutils_1.cloneDeep)(ranges) : [];
1544
+ }
1545
+ measureText(text, font) {
1546
+ return text_measure_1.textMeasure.measureText(text, font);
1547
+ }
1548
+ measureTextBounds(attribute) {
1549
+ return (0, text_measure_1.measureTextBounds)(attribute);
1550
+ }
1551
+ getCustomRender(col, row) {
1552
+ let customRender;
1553
+ if ("body" !== this.getCellLocation(col, row)) {
1554
+ const define = this.getHeaderDefine(col, row);
1555
+ customRender = null == define ? void 0 : define.headerCustomRender;
1556
+ } else {
1557
+ const define = this.getBodyColumnDefine(col, row);
1558
+ customRender = (null == define ? void 0 : define.customRender) || this.customRender;
1559
+ }
1560
+ return customRender;
1561
+ }
1562
+ getCustomLayout(col, row) {
1563
+ let customLayout;
1564
+ if ("body" !== this.getCellLocation(col, row)) {
1565
+ const define = this.getHeaderDefine(col, row);
1566
+ customLayout = null == define ? void 0 : define.headerCustomLayout;
1567
+ } else {
1568
+ const define = this.getBodyColumnDefine(col, row);
1569
+ customLayout = null == define ? void 0 : define.customLayout;
1570
+ }
1571
+ return customLayout;
1572
+ }
1573
+ hasAutoImageColumn() {
1574
+ return void 0 === this._hasAutoImageColumn && (this._hasAutoImageColumn = (0, layout_helper_1.hasAutoImageColumn)(this)),
1575
+ this._hasAutoImageColumn;
1576
+ }
1577
+ _getActiveChartInstance() {
1578
+ var _a, _b, _c, _d, _e, _f;
1579
+ const cellGroup = this.scenegraph.getCell(null === (_b = null === (_a = this.stateManager.hover) || void 0 === _a ? void 0 : _a.cellPos) || void 0 === _b ? void 0 : _b.col, null === (_d = null === (_c = this.stateManager.hover) || void 0 === _c ? void 0 : _c.cellPos) || void 0 === _d ? void 0 : _d.row);
1580
+ return "chart" === (null === (_f = null === (_e = null == cellGroup ? void 0 : cellGroup.getChildren()) || void 0 === _e ? void 0 : _e[0]) || void 0 === _f ? void 0 : _f.type) ? cellGroup.getChildren()[0].activeChartInstance : null;
1581
+ }
1582
+ cellIsInVisualView(col, row) {
1583
+ var _a, _b, _c, _d;
1584
+ const drawRange = this.getDrawRange(), rect = this.getCellRelativeRect(col, row);
1585
+ if (col < this.frozenColCount && row < this.frozenRowCount) return !0;
1586
+ let colHeaderRangeRect, rowHeaderRangeRect, bottomFrozenRangeRect, rightFrozenRangeRect;
1587
+ if (this.frozenRowCount >= 1 && (colHeaderRangeRect = this.getCellRangeRelativeRect({
1588
+ start: {
1589
+ col: 0,
1590
+ row: 0
1591
+ },
1592
+ end: {
1593
+ col: this.colCount - 1,
1594
+ row: this.frozenRowCount - 1
1595
+ }
1596
+ })), this.frozenColCount >= 1 && (rowHeaderRangeRect = this.getCellRangeRelativeRect({
1597
+ start: {
1598
+ col: 0,
1599
+ row: 0
1600
+ },
1601
+ end: {
1602
+ col: this.frozenColCount - 1,
1603
+ row: this.rowCount - 1
1604
+ }
1605
+ })), this.bottomFrozenRowCount >= 1 && (bottomFrozenRangeRect = this.getCellRangeRelativeRect({
1606
+ start: {
1607
+ col: 0,
1608
+ row: this.rowCount - this.bottomFrozenRowCount
1609
+ },
1610
+ end: {
1611
+ col: this.colCount - 1,
1612
+ row: this.rowCount - 1
1613
+ }
1614
+ })), this.rightFrozenColCount >= 1 && (rightFrozenRangeRect = this.getCellRangeRelativeRect({
1615
+ start: {
1616
+ col: this.colCount - this.rightFrozenColCount,
1617
+ row: 0
1618
+ },
1619
+ end: {
1620
+ col: this.colCount - 1,
1621
+ row: this.rowCount - 1
1622
+ }
1623
+ })), rect.top >= drawRange.top && rect.bottom <= drawRange.bottom && rect.left >= drawRange.left && rect.right <= drawRange.right) {
1624
+ if (this.isFrozenCell(col, row)) return !0;
1625
+ if (rect.top >= (null !== (_a = null == colHeaderRangeRect ? void 0 : colHeaderRangeRect.bottom) && void 0 !== _a ? _a : rect.top) && rect.left >= (null !== (_b = null == rowHeaderRangeRect ? void 0 : rowHeaderRangeRect.right) && void 0 !== _b ? _b : rect.left) && rect.bottom <= (null !== (_c = null == bottomFrozenRangeRect ? void 0 : bottomFrozenRangeRect.top) && void 0 !== _c ? _c : rect.bottom) && rect.right <= (null !== (_d = null == rightFrozenRangeRect ? void 0 : rightFrozenRangeRect.left) && void 0 !== _d ? _d : rect.right)) return !0;
1626
+ }
1627
+ return !1;
1628
+ }
1629
+ getCustomMergeValue(col, row) {
1630
+ if (this.internalProps.customMergeCell) {
1631
+ const customMerge = this.getCustomMerge(col, row);
1632
+ if (customMerge) {
1633
+ const {text: text} = customMerge;
1634
+ return text;
1635
+ }
1636
+ }
1637
+ }
1638
+ exportImg() {
1639
+ return this.scenegraph.stage.toCanvas().toDataURL();
1640
+ }
1641
+ exportCellImg(col, row, options) {
1642
+ var _a, _b, _c, _d;
1643
+ const isInView = this.cellIsInVisualView(col, row), {scrollTop: scrollTop, scrollLeft: scrollLeft} = this;
1644
+ isInView || this.scrollToCell({
1645
+ col: col,
1646
+ row: row
1647
+ });
1648
+ const cellRect = this.getCellRelativeRect(col, row);
1649
+ (null === (_b = null === (_a = this.stateManager.select) || void 0 === _a ? void 0 : _a.ranges) || void 0 === _b ? void 0 : _b.length) > 0 && (0,
1650
+ update_select_border_1.hideCellSelectBorder)(this.scenegraph);
1651
+ const {col: hoverCol, row: hoverRow} = this.stateManager.hover.cellPos;
1652
+ let oldFill, oldStroke;
1653
+ if (this.stateManager.updateHoverPos(-1, -1), this.scenegraph.component.hideVerticalScrollBar(),
1654
+ this.scenegraph.component.hideHorizontalScrollBar(), this.scenegraph.tableGroup.border.setAttribute("visible", !1),
1655
+ null == options ? void 0 : options.disableBackground) {
1656
+ const cellGroup = this.scenegraph.getCell(col, row);
1657
+ oldFill = cellGroup.attribute.fill, cellGroup.setAttribute("fill", "transparent");
1658
+ }
1659
+ if (null == options ? void 0 : options.disableBorder) {
1660
+ const cellGroup = this.scenegraph.getCell(col, row);
1661
+ oldStroke = cellGroup.attribute.stroke, cellGroup.setAttribute("stroke", !1);
1662
+ }
1663
+ this.scenegraph.renderSceneGraph();
1664
+ let sizeOffset = 0;
1665
+ "bottom-right" === this.theme.cellBorderClipDirection && (sizeOffset = 1);
1666
+ const c = this.scenegraph.stage.toCanvas(!1, (new vutils_1.AABBBounds).set(cellRect.left + this.tableX + 1, cellRect.top + this.tableY + 1, cellRect.right + this.tableX - sizeOffset, cellRect.bottom + this.tableY - sizeOffset));
1667
+ if (isInView || (this.setScrollTop(scrollTop), this.setScrollLeft(scrollLeft)),
1668
+ this.scenegraph.tableGroup.border.setAttribute("visible", !0), oldFill) {
1669
+ this.scenegraph.getCell(col, row).setAttribute("fill", oldFill);
1670
+ }
1671
+ if (oldStroke) {
1672
+ this.scenegraph.getCell(col, row).setAttribute("stroke", oldStroke);
1673
+ }
1674
+ return (null === (_d = null === (_c = this.stateManager.select) || void 0 === _c ? void 0 : _c.ranges) || void 0 === _d ? void 0 : _d.length) > 0 && (0,
1675
+ update_select_border_1.restoreCellSelectBorder)(this.scenegraph), this.stateManager.updateHoverPos(hoverCol, hoverRow),
1676
+ this.scenegraph.updateNextFrame(), c.toDataURL();
1677
+ }
1678
+ exportCellRangeImg(cellRange) {
1679
+ var _a, _b, _c, _d;
1680
+ const {scrollTop: scrollTop, scrollLeft: scrollLeft} = this, minCol = Math.min(cellRange.start.col, cellRange.end.col), minRow = Math.min(cellRange.start.row, cellRange.end.row), maxCol = Math.max(cellRange.start.col, cellRange.end.col), maxRow = Math.max(cellRange.start.row, cellRange.end.row), isInView = this.cellIsInVisualView(minCol, minRow), isMaxCellInView = this.cellIsInVisualView(maxCol, maxRow);
1681
+ isInView && isMaxCellInView || this.scrollToCell({
1682
+ col: minCol,
1683
+ row: minRow
1684
+ });
1685
+ const cellRect = this.getCellRangeRelativeRect({
1686
+ start: {
1687
+ col: minCol,
1688
+ row: minRow
1689
+ },
1690
+ end: {
1691
+ col: maxCol,
1692
+ row: maxRow
1693
+ }
1694
+ });
1695
+ (null === (_b = null === (_a = this.stateManager.select) || void 0 === _a ? void 0 : _a.ranges) || void 0 === _b ? void 0 : _b.length) > 0 && (0,
1696
+ update_select_border_1.hideCellSelectBorder)(this.scenegraph);
1697
+ const {col: hoverCol, row: hoverRow} = this.stateManager.hover.cellPos;
1698
+ this.stateManager.updateHoverPos(-1, -1), this.scenegraph.component.hideVerticalScrollBar(),
1699
+ this.scenegraph.component.hideHorizontalScrollBar(), this.scenegraph.renderSceneGraph();
1700
+ const base64Image = this.scenegraph.stage.toCanvas(!1, (new vutils_1.AABBBounds).set(cellRect.left + this.tableX + 1, cellRect.top + this.tableY + 1, cellRect.right + this.tableX, cellRect.bottom + this.tableY)).toDataURL();
1701
+ return isInView && isMaxCellInView || (this.setScrollTop(scrollTop), this.setScrollLeft(scrollLeft)),
1702
+ (null === (_d = null === (_c = this.stateManager.select) || void 0 === _c ? void 0 : _c.ranges) || void 0 === _d ? void 0 : _d.length) > 0 && (0,
1703
+ update_select_border_1.restoreCellSelectBorder)(this.scenegraph), this.stateManager.updateHoverPos(hoverCol, hoverRow),
1704
+ base64Image;
1705
+ }
1706
+ exportCanvas() {
1707
+ return this.scenegraph.stage.toCanvas();
1708
+ }
1709
+ getImageBuffer(type = "image/png") {
1710
+ if ("node" !== this.options.mode) return;
1711
+ this.render();
1712
+ const stage = this.scenegraph.stage;
1713
+ if (stage) {
1714
+ const contentWidth = this.tableX + this.getAllColsWidth(), contentHeight = this.tableY + this.getAllRowsHeight();
1715
+ if (contentWidth >= this.canvasWidth && contentHeight >= this.canvasHeight) {
1716
+ stage.render();
1717
+ return stage.window.getImageBuffer(type);
1718
+ }
1719
+ return this.scenegraph.stage.toCanvas(!1, (new vutils_1.AABBBounds).set(0, 0, Math.min(this.canvasWidth, contentWidth), Math.min(this.canvasHeight, contentHeight))).toBuffer(type);
1720
+ }
1721
+ return null;
1722
+ }
1723
+ getBodyIndexByTableIndex(col, row) {
1724
+ return {
1725
+ col: col - this.rowHeaderLevelCount - this.leftRowSeriesNumberCount,
1726
+ row: row - this.columnHeaderLevelCount
1727
+ };
1728
+ }
1729
+ getTableIndexByBodyIndex(col, row) {
1730
+ return {
1731
+ col: col + this.rowHeaderLevelCount + this.leftRowSeriesNumberCount,
1732
+ row: row + this.columnHeaderLevelCount
1733
+ };
1734
+ }
1735
+ onVChartEvent(type, query, callback) {
1736
+ this._chartEventMap[type] || (this._chartEventMap[type] = []), "function" == typeof query ? this._chartEventMap[type].push({
1737
+ callback: query
1738
+ }) : this._chartEventMap[type].push({
1739
+ callback: callback,
1740
+ query: query
1741
+ });
1742
+ }
1743
+ offVChartEvent(type, callback) {
1744
+ this._chartEventMap[type] && (this._chartEventMap[type] = callback ? this._chartEventMap[type].filter((e => e.callback !== callback)) : []);
1745
+ }
1746
+ _bindChartEvent(activeChartInstance) {
1747
+ if (activeChartInstance) for (const key in this._chartEventMap) (this._chartEventMap[key] || []).forEach((e => {
1748
+ e.query ? activeChartInstance.on(key, e.query, e.callback) : activeChartInstance.on(key, e.callback);
1749
+ }));
1750
+ }
1751
+ changeRecordOrder(source, target) {}
1752
+ hasCustomCellStyle(customStyleId) {
1753
+ var _a;
1754
+ return null === (_a = this.customCellStylePlugin) || void 0 === _a ? void 0 : _a.hasCustomCellStyle(customStyleId);
1755
+ }
1756
+ registerCustomCellStyle(customStyleId, customStyle) {
1757
+ var _a;
1758
+ null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.registerCustomCellStyle(customStyleId, customStyle);
1759
+ }
1760
+ arrangeCustomCellStyle(cellPos, customStyleId, forceFastUpdate) {
1761
+ var _a;
1762
+ null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.arrangeCustomCellStyle(cellPos, customStyleId, forceFastUpdate);
1763
+ }
1764
+ isSeriesNumber(col, row) {
1765
+ return this.internalProps.layoutMap.isSeriesNumber(col, row);
1766
+ }
1767
+ isHasSeriesNumber() {
1768
+ var _a;
1769
+ return (null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.leftRowSeriesNumberColumnCount) > 0;
1770
+ }
1771
+ get leftRowSeriesNumberCount() {
1772
+ var _a, _b;
1773
+ return null !== (_b = null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.leftRowSeriesNumberColumnCount) && void 0 !== _b ? _b : 0;
1774
+ }
1775
+ setMinMaxLimitWidth(setWidth = !1) {
1776
+ var _a, _b;
1777
+ const internalProps = this.internalProps;
1778
+ for (let col = 0; col < internalProps.layoutMap.columnWidths.length; col++) {
1779
+ if (this.internalProps._widthResizedColMap.has(col)) continue;
1780
+ const {width: width, minWidth: minWidth, maxWidth: maxWidth} = null !== (_b = null === (_a = internalProps.layoutMap.columnWidths) || void 0 === _a ? void 0 : _a[col]) && void 0 !== _b ? _b : {};
1781
+ setWidth && width && ("string" == typeof width && "auto" !== width || "number" == typeof width && width > 0) && this._setColWidth(col, width),
1782
+ minWidth && ("number" == typeof minWidth && minWidth > 0 || "string" == typeof minWidth) && this.setMinColWidth(col, minWidth),
1783
+ maxWidth && ("number" == typeof maxWidth && maxWidth > 0 || "string" == typeof maxWidth) && this.setMaxColWidth(col, maxWidth);
1784
+ }
1785
+ }
1786
+ setSortedIndexMap(field, filedMap) {
1787
+ var _a;
1788
+ null === (_a = this.dataSource) || void 0 === _a || _a.setSortedIndexMap(field, filedMap);
1789
+ }
1790
+ checkReactCustomLayout() {
1791
+ this.reactCustomLayout || (this.reactCustomLayout = new react_custom_layout_1.ReactCustomLayout(this));
1792
+ }
1793
+ get bodyDomContainer() {
1794
+ return this.internalProps.bodyDomContainer;
1795
+ }
1796
+ get headerDomContainer() {
1797
+ return this.internalProps.headerDomContainer;
1798
+ }
1799
+ get frozenBodyDomContainer() {
1800
+ return this.internalProps.frozenBodyDomContainer;
1801
+ }
1802
+ get frozenHeaderDomContainer() {
1803
+ return this.internalProps.frozenHeaderDomContainer;
1804
+ }
1805
+ get rightFrozenBodyDomContainer() {
1806
+ return this.internalProps.rightFrozenBodyDomContainer;
1807
+ }
1808
+ get rightFrozenHeaderDomContainer() {
1809
+ return this.internalProps.rightFrozenHeaderDomContainer;
1810
+ }
1811
+ get frozenBottomDomContainer() {
1812
+ return this.internalProps.frozenBottomDomContainer;
1813
+ }
1814
+ get bottomDomContainer() {
1815
+ return this.internalProps.bottomDomContainer;
1816
+ }
1817
+ get rightFrozenBottomDomContainer() {
1818
+ return this.internalProps.rightFrozenBottomDomContainer;
1819
+ }
1820
+ showMoverLine(col, row) {
1821
+ this.scenegraph.component.showMoveCol(col, row, 0), this.scenegraph.renderSceneGraph();
1822
+ }
1823
+ hideMoverLine(col, row) {
1824
+ this.scenegraph.component.hideMoveCol(), this.scenegraph.renderSceneGraph();
1825
+ }
1826
+ disableScroll() {
1827
+ this.eventManager.disableScroll();
1828
+ }
1829
+ enableScroll() {
1830
+ this.eventManager.enableScroll();
1831
+ }
1832
+ getGroupTitleLevel(col, row) {}
1833
+ scrollToRow(row, animationOption) {
1834
+ animationOption ? this.animationManager.scrollTo({
1835
+ row: row
1836
+ }, animationOption) : this.scrollToCell({
1837
+ row: row
1838
+ });
1839
+ }
1840
+ scrollToCol(col, animationOption) {
1841
+ animationOption ? this.animationManager.scrollTo({
1842
+ col: col
1843
+ }, animationOption) : this.scrollToCell({
1844
+ col: col
1845
+ });
1846
+ }
1847
+ scrollToCell(cellAddr, animationOption) {
1848
+ if (animationOption) return void this.animationManager.scrollTo(cellAddr, animationOption);
1849
+ const drawRange = this.getDrawRange();
1850
+ if ((0, vutils_1.isValid)(cellAddr.col) && cellAddr.col >= this.frozenColCount) {
1851
+ const frozenWidth = this.getFrozenColsWidth(), left = this.getColsWidth(0, cellAddr.col - 1);
1852
+ this.scrollLeft = Math.min(left - frozenWidth, this.getAllColsWidth() - drawRange.width);
1853
+ }
1854
+ if ((0, vutils_1.isValid)(cellAddr.row) && cellAddr.row >= this.frozenRowCount) {
1855
+ const frozenHeight = this.getFrozenRowsHeight(), top = this.getRowsHeight(0, cellAddr.row - 1);
1856
+ this.scrollTop = Math.min(top - frozenHeight, this.getAllRowsHeight() - drawRange.height);
1857
+ }
1858
+ this.render();
1859
+ }
1860
+ checkHasColumnAutoWidth() {
1861
+ return (0, tableHelper_1.checkHasColumnAutoWidth)(this);
1862
+ }
1863
+ }
1864
+
1865
+ exports.BaseTable = BaseTable;
1866
+ //# sourceMappingURL=BaseTable.js.map