@visactor/vtable 0.12.3-alpha.1 → 0.13.0-alpha.1

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 (433) hide show
  1. package/cjs/ListTable.js +15 -14
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotChart.d.ts +1 -0
  4. package/cjs/PivotChart.js +10 -7
  5. package/cjs/PivotChart.js.map +1 -1
  6. package/cjs/PivotTable.js +6 -6
  7. package/cjs/PivotTable.js.map +1 -1
  8. package/cjs/body-helper/body-helper.d.ts +1 -1
  9. package/cjs/body-helper/body-helper.js +4 -1
  10. package/cjs/body-helper/body-helper.js.map +1 -1
  11. package/cjs/body-helper/style/CheckboxStyle.d.ts +7 -0
  12. package/cjs/body-helper/style/CheckboxStyle.js +24 -0
  13. package/cjs/body-helper/style/CheckboxStyle.js.map +1 -0
  14. package/cjs/body-helper/style.js +2 -2
  15. package/cjs/body-helper/style.js.map +1 -1
  16. package/cjs/components/axis/axis.d.ts +2 -2
  17. package/cjs/components/axis/axis.js +5 -4
  18. package/cjs/components/axis/axis.js.map +1 -1
  19. package/cjs/components/axis/get-axis-attributes.d.ts +137 -0
  20. package/cjs/components/axis/get-axis-attributes.js +10 -5
  21. package/cjs/components/axis/get-axis-attributes.js.map +1 -1
  22. package/cjs/components/axis/get-axis-component-size.js +32 -32
  23. package/cjs/components/axis/get-axis-component-size.js.map +1 -1
  24. package/cjs/components/axis/linear-scale.d.ts +8 -5
  25. package/cjs/components/axis/linear-scale.js +19 -5
  26. package/cjs/components/axis/linear-scale.js.map +1 -1
  27. package/cjs/components/menu/dom/logic/MenuElement.js +2 -2
  28. package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -1
  29. package/cjs/components/menu/dom/logic/MenuElementStyle.js +8 -3
  30. package/cjs/components/menu/dom/logic/MenuElementStyle.js.map +1 -1
  31. package/cjs/components/tooltip/logic/BubbleTooltipElement.js +6 -5
  32. package/cjs/components/tooltip/logic/BubbleTooltipElement.js.map +1 -1
  33. package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js +8 -3
  34. package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -1
  35. package/cjs/core/BaseTable.d.ts +3 -0
  36. package/cjs/core/BaseTable.js +62 -20
  37. package/cjs/core/BaseTable.js.map +1 -1
  38. package/cjs/core/TABLE_EVENT_TYPE.d.ts +1 -0
  39. package/cjs/core/TABLE_EVENT_TYPE.js +1 -0
  40. package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -1
  41. package/cjs/core/style.js +8 -3
  42. package/cjs/core/style.js.map +1 -1
  43. package/cjs/data/DataSource.js +5 -5
  44. package/cjs/data/DataSource.js.map +1 -1
  45. package/cjs/dataset/dataset.js +2 -2
  46. package/cjs/dataset/dataset.js.map +1 -1
  47. package/cjs/event/EventTarget.js +2 -2
  48. package/cjs/event/EventTarget.js.map +1 -1
  49. package/cjs/event/event.js +5 -5
  50. package/cjs/event/event.js.map +1 -1
  51. package/cjs/event/listener/table-group.js +8 -0
  52. package/cjs/event/listener/table-group.js.map +1 -1
  53. package/cjs/event/listener/touch.js +2 -1
  54. package/cjs/event/listener/touch.js.map +1 -1
  55. package/cjs/event/scroll.js +1 -1
  56. package/cjs/event/scroll.js.map +1 -1
  57. package/cjs/header-helper/style.js +2 -2
  58. package/cjs/header-helper/style.js.map +1 -1
  59. package/cjs/index.d.ts +1 -1
  60. package/cjs/index.js +1 -1
  61. package/cjs/index.js.map +1 -1
  62. package/cjs/layout/chart-helper/get-axis-config.js +16 -16
  63. package/cjs/layout/chart-helper/get-axis-config.js.map +1 -1
  64. package/cjs/layout/chart-helper/get-axis-domain.js +11 -8
  65. package/cjs/layout/chart-helper/get-axis-domain.js.map +1 -1
  66. package/cjs/layout/chart-helper/get-chart-spec.js +2 -2
  67. package/cjs/layout/chart-helper/get-chart-spec.js.map +1 -1
  68. package/cjs/layout/pivot-header-layout.d.ts +1 -1
  69. package/cjs/layout/pivot-header-layout.js +25 -25
  70. package/cjs/layout/pivot-header-layout.js.map +1 -1
  71. package/cjs/layout/simple-header-layout.js +5 -5
  72. package/cjs/layout/simple-header-layout.js.map +1 -1
  73. package/cjs/render/layout/container.js +3 -3
  74. package/cjs/render/layout/container.js.map +1 -1
  75. package/cjs/render/layout/icon.js +2 -2
  76. package/cjs/render/layout/icon.js.map +1 -1
  77. package/cjs/render/layout/image.js.map +1 -1
  78. package/cjs/render/layout/text.js +1 -1
  79. package/cjs/render/layout/text.js.map +1 -1
  80. package/cjs/scenegraph/component/custom.js +11 -11
  81. package/cjs/scenegraph/component/custom.js.map +1 -1
  82. package/cjs/scenegraph/component/menu.js +2 -0
  83. package/cjs/scenegraph/component/menu.js.map +1 -1
  84. package/cjs/scenegraph/context/canvas.js +2 -2
  85. package/cjs/scenegraph/context/canvas.js.map +1 -1
  86. package/cjs/scenegraph/context/context.js +2 -2
  87. package/cjs/scenegraph/context/context.js.map +1 -1
  88. package/cjs/scenegraph/context/module.d.ts +1 -1
  89. package/cjs/scenegraph/context/module.js +2 -2
  90. package/cjs/scenegraph/context/module.js.map +1 -1
  91. package/cjs/scenegraph/graphic/chart.d.ts +2 -0
  92. package/cjs/scenegraph/graphic/chart.js +8 -2
  93. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  94. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +2 -2
  95. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  96. package/cjs/scenegraph/graphic/group.d.ts +6 -2
  97. package/cjs/scenegraph/graphic/group.js.map +1 -1
  98. package/cjs/scenegraph/group-creater/cell-helper.d.ts +3 -3
  99. package/cjs/scenegraph/group-creater/cell-helper.js +38 -38
  100. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  101. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +4 -2
  102. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  103. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +5 -0
  104. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js +74 -0
  105. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
  106. package/cjs/scenegraph/group-creater/cell-type/image-cell.js +2 -2
  107. package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  108. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +4 -4
  109. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  110. package/cjs/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  111. package/cjs/scenegraph/group-creater/cell-type/text-cell.js +4 -4
  112. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  113. package/cjs/scenegraph/group-creater/cell-type/video-cell.js +2 -2
  114. package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  115. package/cjs/scenegraph/group-creater/column-helper.d.ts +3 -2
  116. package/cjs/scenegraph/group-creater/column-helper.js +78 -46
  117. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  118. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +23 -24
  119. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  120. package/cjs/scenegraph/group-creater/progress/proxy.d.ts +1 -1
  121. package/cjs/scenegraph/group-creater/progress/proxy.js +8 -5
  122. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
  123. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +3 -4
  124. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
  125. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +11 -12
  126. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  127. package/cjs/scenegraph/icon/icon-update.d.ts +17 -0
  128. package/cjs/scenegraph/icon/icon-update.js +165 -0
  129. package/cjs/scenegraph/icon/icon-update.js.map +1 -0
  130. package/cjs/scenegraph/layout/compute-row-height.js +2 -1
  131. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  132. package/cjs/scenegraph/layout/frozen.js +9 -7
  133. package/cjs/scenegraph/layout/frozen.js.map +1 -1
  134. package/cjs/scenegraph/layout/move-cell.js +8 -27
  135. package/cjs/scenegraph/layout/move-cell.js.map +1 -1
  136. package/cjs/scenegraph/layout/update-height.js +36 -24
  137. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  138. package/cjs/scenegraph/layout/update-row.js +6 -2
  139. package/cjs/scenegraph/layout/update-row.js.map +1 -1
  140. package/cjs/scenegraph/layout/update-width.js +39 -26
  141. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  142. package/cjs/scenegraph/refresh-node/update-chart.js +6 -3
  143. package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -1
  144. package/cjs/scenegraph/scenegraph.d.ts +7 -13
  145. package/cjs/scenegraph/scenegraph.js +40 -154
  146. package/cjs/scenegraph/scenegraph.js.map +1 -1
  147. package/cjs/scenegraph/stick-text/index.js +76 -37
  148. package/cjs/scenegraph/stick-text/index.js.map +1 -1
  149. package/cjs/scenegraph/utils/get-prop.js +4 -4
  150. package/cjs/scenegraph/utils/get-prop.js.map +1 -1
  151. package/cjs/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
  152. package/cjs/scenegraph/utils/is-merge-cell-group.js +16 -0
  153. package/cjs/scenegraph/utils/is-merge-cell-group.js.map +1 -0
  154. package/cjs/scenegraph/utils/text-icon-layout.js +9 -3
  155. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  156. package/cjs/scenegraph/utils/text-measure.js +4 -4
  157. package/cjs/scenegraph/utils/text-measure.js.map +1 -1
  158. package/cjs/state/hover/is-cell-hover.js +4 -2
  159. package/cjs/state/hover/is-cell-hover.js.map +1 -1
  160. package/cjs/state/hover/update-cell.js +10 -5
  161. package/cjs/state/hover/update-cell.js.map +1 -1
  162. package/cjs/state/select/update-position.js +4 -4
  163. package/cjs/state/select/update-position.js.map +1 -1
  164. package/cjs/state/state.d.ts +1 -0
  165. package/cjs/state/state.js +9 -7
  166. package/cjs/state/state.js.map +1 -1
  167. package/cjs/themes/ARCO.js +0 -8
  168. package/cjs/themes/ARCO.js.map +1 -1
  169. package/cjs/themes/BRIGHT.js +2 -9
  170. package/cjs/themes/BRIGHT.js.map +1 -1
  171. package/cjs/themes/DARK.js +1 -10
  172. package/cjs/themes/DARK.js.map +1 -1
  173. package/cjs/themes/DEFAULT.js +0 -8
  174. package/cjs/themes/DEFAULT.js.map +1 -1
  175. package/cjs/themes/theme.js +6 -2
  176. package/cjs/themes/theme.js.map +1 -1
  177. package/cjs/tools/NumberMap.js +2 -2
  178. package/cjs/tools/NumberMap.js.map +1 -1
  179. package/cjs/tools/calc.js +1 -1
  180. package/cjs/tools/diff-cell.d.ts +1 -1
  181. package/cjs/tools/global.d.ts +1 -2
  182. package/cjs/tools/global.js +4 -4
  183. package/cjs/tools/global.js.map +1 -1
  184. package/cjs/ts-types/base-table.d.ts +16 -1
  185. package/cjs/ts-types/base-table.js.map +1 -1
  186. package/cjs/ts-types/column/style.d.ts +2 -1
  187. package/cjs/ts-types/column/style.js.map +1 -1
  188. package/cjs/ts-types/column/type.d.ts +1 -1
  189. package/cjs/ts-types/column/type.js.map +1 -1
  190. package/cjs/ts-types/events.d.ts +4 -0
  191. package/cjs/ts-types/events.js.map +1 -1
  192. package/cjs/ts-types/list-table/define/basic-define.d.ts +1 -0
  193. package/cjs/ts-types/list-table/define/basic-define.js.map +1 -1
  194. package/cjs/ts-types/list-table/define/checkbox-define.d.ts +9 -0
  195. package/cjs/ts-types/list-table/define/checkbox-define.js +6 -0
  196. package/cjs/ts-types/list-table/define/checkbox-define.js.map +1 -0
  197. package/cjs/ts-types/list-table/define/index.d.ts +4 -2
  198. package/cjs/ts-types/list-table/define/index.js.map +1 -1
  199. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
  200. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js +6 -0
  201. package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
  202. package/cjs/ts-types/pivot-table/indicator/index.d.ts +2 -1
  203. package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -1
  204. package/cjs/ts-types/table-engine.d.ts +13 -0
  205. package/cjs/ts-types/table-engine.js.map +1 -1
  206. package/cjs/ts-types/theme.d.ts +6 -3
  207. package/cjs/ts-types/theme.js.map +1 -1
  208. package/cjs/ts-types/tooltip.d.ts +2 -1
  209. package/cjs/ts-types/tooltip.js.map +1 -1
  210. package/dist/vtable.js +12359 -11638
  211. package/dist/vtable.min.js +2 -2
  212. package/es/ListTable.js +6 -3
  213. package/es/ListTable.js.map +1 -1
  214. package/es/PivotChart.d.ts +1 -0
  215. package/es/PivotChart.js +11 -5
  216. package/es/PivotChart.js.map +1 -1
  217. package/es/PivotTable.js +7 -4
  218. package/es/PivotTable.js.map +1 -1
  219. package/es/body-helper/body-helper.d.ts +1 -1
  220. package/es/body-helper/body-helper.js +5 -0
  221. package/es/body-helper/body-helper.js.map +1 -1
  222. package/es/body-helper/style/CheckboxStyle.d.ts +7 -0
  223. package/es/body-helper/style/CheckboxStyle.js +16 -0
  224. package/es/body-helper/style/CheckboxStyle.js.map +1 -0
  225. package/es/body-helper/style.js +1 -1
  226. package/es/body-helper/style.js.map +1 -1
  227. package/es/components/axis/axis.d.ts +2 -2
  228. package/es/components/axis/axis.js +5 -4
  229. package/es/components/axis/axis.js.map +1 -1
  230. package/es/components/axis/get-axis-attributes.d.ts +137 -0
  231. package/es/components/axis/get-axis-attributes.js +8 -2
  232. package/es/components/axis/get-axis-attributes.js.map +1 -1
  233. package/es/components/axis/get-axis-component-size.js +33 -33
  234. package/es/components/axis/get-axis-component-size.js.map +1 -1
  235. package/es/components/axis/linear-scale.d.ts +8 -5
  236. package/es/components/axis/linear-scale.js +15 -6
  237. package/es/components/axis/linear-scale.js.map +1 -1
  238. package/es/components/menu/dom/logic/MenuElement.js +1 -1
  239. package/es/components/menu/dom/logic/MenuElement.js.map +1 -1
  240. package/es/components/menu/dom/logic/MenuElementStyle.js +3 -0
  241. package/es/components/menu/dom/logic/MenuElementStyle.js.map +1 -1
  242. package/es/components/tooltip/logic/BubbleTooltipElement.js +6 -5
  243. package/es/components/tooltip/logic/BubbleTooltipElement.js.map +1 -1
  244. package/es/components/tooltip/logic/BubbleTooltipElementStyle.js +3 -0
  245. package/es/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -1
  246. package/es/core/BaseTable.d.ts +3 -0
  247. package/es/core/BaseTable.js +57 -16
  248. package/es/core/BaseTable.js.map +1 -1
  249. package/es/core/TABLE_EVENT_TYPE.d.ts +1 -0
  250. package/es/core/TABLE_EVENT_TYPE.js +1 -0
  251. package/es/core/TABLE_EVENT_TYPE.js.map +1 -1
  252. package/es/core/style.js +3 -0
  253. package/es/core/style.js.map +1 -1
  254. package/es/data/DataSource.js +3 -1
  255. package/es/data/DataSource.js.map +1 -1
  256. package/es/dataset/dataset.js +2 -2
  257. package/es/dataset/dataset.js.map +1 -1
  258. package/es/event/EventTarget.js +1 -1
  259. package/es/event/EventTarget.js.map +1 -1
  260. package/es/event/event.js +6 -4
  261. package/es/event/event.js.map +1 -1
  262. package/es/event/listener/table-group.js +8 -0
  263. package/es/event/listener/table-group.js.map +1 -1
  264. package/es/event/listener/touch.js +1 -1
  265. package/es/event/listener/touch.js.map +1 -1
  266. package/es/event/scroll.js +1 -1
  267. package/es/event/scroll.js.map +1 -1
  268. package/es/header-helper/style.js +1 -1
  269. package/es/header-helper/style.js.map +1 -1
  270. package/es/index.d.ts +1 -1
  271. package/es/index.js +1 -1
  272. package/es/index.js.map +1 -1
  273. package/es/layout/chart-helper/get-axis-config.js +16 -16
  274. package/es/layout/chart-helper/get-axis-config.js.map +1 -1
  275. package/es/layout/chart-helper/get-axis-domain.js +12 -9
  276. package/es/layout/chart-helper/get-axis-domain.js.map +1 -1
  277. package/es/layout/chart-helper/get-chart-spec.js +2 -2
  278. package/es/layout/chart-helper/get-chart-spec.js.map +1 -1
  279. package/es/layout/pivot-header-layout.d.ts +1 -1
  280. package/es/layout/pivot-header-layout.js +4 -4
  281. package/es/layout/pivot-header-layout.js.map +1 -1
  282. package/es/layout/simple-header-layout.js +2 -2
  283. package/es/layout/simple-header-layout.js.map +1 -1
  284. package/es/render/layout/container.js +1 -1
  285. package/es/render/layout/container.js.map +1 -1
  286. package/es/render/layout/icon.js +1 -1
  287. package/es/render/layout/icon.js.map +1 -1
  288. package/es/render/layout/image.js.map +1 -1
  289. package/es/render/layout/text.js +1 -1
  290. package/es/render/layout/text.js.map +1 -1
  291. package/es/scenegraph/component/custom.js +1 -1
  292. package/es/scenegraph/component/custom.js.map +1 -1
  293. package/es/scenegraph/component/menu.js +2 -0
  294. package/es/scenegraph/component/menu.js.map +1 -1
  295. package/es/scenegraph/context/canvas.js +1 -3
  296. package/es/scenegraph/context/canvas.js.map +1 -1
  297. package/es/scenegraph/context/context.js +0 -2
  298. package/es/scenegraph/context/context.js.map +1 -1
  299. package/es/scenegraph/context/module.d.ts +1 -1
  300. package/es/scenegraph/context/module.js +1 -3
  301. package/es/scenegraph/context/module.js.map +1 -1
  302. package/es/scenegraph/graphic/chart.d.ts +2 -0
  303. package/es/scenegraph/graphic/chart.js +8 -2
  304. package/es/scenegraph/graphic/chart.js.map +1 -1
  305. package/es/scenegraph/graphic/contributions/chart-render-helper.js +1 -3
  306. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  307. package/es/scenegraph/graphic/group.d.ts +6 -2
  308. package/es/scenegraph/graphic/group.js.map +1 -1
  309. package/es/scenegraph/group-creater/cell-helper.d.ts +3 -3
  310. package/es/scenegraph/group-creater/cell-helper.js +39 -38
  311. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  312. package/es/scenegraph/group-creater/cell-type/chart-cell.js +3 -1
  313. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  314. package/es/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +5 -0
  315. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js +72 -0
  316. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
  317. package/es/scenegraph/group-creater/cell-type/image-cell.js +1 -1
  318. package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  319. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +1 -1
  320. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  321. package/es/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  322. package/es/scenegraph/group-creater/cell-type/text-cell.js +3 -3
  323. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  324. package/es/scenegraph/group-creater/cell-type/video-cell.js +1 -1
  325. package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  326. package/es/scenegraph/group-creater/column-helper.d.ts +3 -2
  327. package/es/scenegraph/group-creater/column-helper.js +75 -44
  328. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  329. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +20 -21
  330. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  331. package/es/scenegraph/group-creater/progress/proxy.d.ts +1 -1
  332. package/es/scenegraph/group-creater/progress/proxy.js +8 -5
  333. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  334. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +4 -5
  335. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
  336. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +10 -13
  337. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  338. package/es/scenegraph/icon/icon-update.d.ts +17 -0
  339. package/es/scenegraph/icon/icon-update.js +154 -0
  340. package/es/scenegraph/icon/icon-update.js.map +1 -0
  341. package/es/scenegraph/layout/compute-row-height.js +2 -1
  342. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  343. package/es/scenegraph/layout/frozen.js +9 -7
  344. package/es/scenegraph/layout/frozen.js.map +1 -1
  345. package/es/scenegraph/layout/move-cell.js +8 -27
  346. package/es/scenegraph/layout/move-cell.js.map +1 -1
  347. package/es/scenegraph/layout/update-height.js +38 -22
  348. package/es/scenegraph/layout/update-height.js.map +1 -1
  349. package/es/scenegraph/layout/update-row.js +6 -1
  350. package/es/scenegraph/layout/update-row.js.map +1 -1
  351. package/es/scenegraph/layout/update-width.js +41 -24
  352. package/es/scenegraph/layout/update-width.js.map +1 -1
  353. package/es/scenegraph/refresh-node/update-chart.js +6 -3
  354. package/es/scenegraph/refresh-node/update-chart.js.map +1 -1
  355. package/es/scenegraph/scenegraph.d.ts +7 -13
  356. package/es/scenegraph/scenegraph.js +43 -154
  357. package/es/scenegraph/scenegraph.js.map +1 -1
  358. package/es/scenegraph/stick-text/index.js +74 -37
  359. package/es/scenegraph/stick-text/index.js.map +1 -1
  360. package/es/scenegraph/utils/get-prop.js +1 -1
  361. package/es/scenegraph/utils/get-prop.js.map +1 -1
  362. package/es/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
  363. package/es/scenegraph/utils/is-merge-cell-group.js +6 -0
  364. package/es/scenegraph/utils/is-merge-cell-group.js.map +1 -0
  365. package/es/scenegraph/utils/text-icon-layout.js +9 -3
  366. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  367. package/es/scenegraph/utils/text-measure.js +4 -4
  368. package/es/scenegraph/utils/text-measure.js.map +1 -1
  369. package/es/state/hover/is-cell-hover.js +3 -1
  370. package/es/state/hover/is-cell-hover.js.map +1 -1
  371. package/es/state/hover/update-cell.js +4 -2
  372. package/es/state/hover/update-cell.js.map +1 -1
  373. package/es/state/select/update-position.js +4 -4
  374. package/es/state/select/update-position.js.map +1 -1
  375. package/es/state/state.d.ts +1 -0
  376. package/es/state/state.js +6 -6
  377. package/es/state/state.js.map +1 -1
  378. package/es/themes/ARCO.js +0 -8
  379. package/es/themes/ARCO.js.map +1 -1
  380. package/es/themes/BRIGHT.js +2 -9
  381. package/es/themes/BRIGHT.js.map +1 -1
  382. package/es/themes/DARK.js +1 -10
  383. package/es/themes/DARK.js.map +1 -1
  384. package/es/themes/DEFAULT.js +0 -8
  385. package/es/themes/DEFAULT.js.map +1 -1
  386. package/es/themes/theme.js +7 -3
  387. package/es/themes/theme.js.map +1 -1
  388. package/es/tools/NumberMap.js +1 -1
  389. package/es/tools/NumberMap.js.map +1 -1
  390. package/es/tools/calc.js +1 -1
  391. package/es/tools/diff-cell.d.ts +1 -1
  392. package/es/tools/global.d.ts +1 -2
  393. package/es/tools/global.js +1 -3
  394. package/es/tools/global.js.map +1 -1
  395. package/es/ts-types/base-table.d.ts +16 -1
  396. package/es/ts-types/base-table.js.map +1 -1
  397. package/es/ts-types/column/style.d.ts +2 -1
  398. package/es/ts-types/column/style.js.map +1 -1
  399. package/es/ts-types/column/type.d.ts +1 -1
  400. package/es/ts-types/column/type.js.map +1 -1
  401. package/es/ts-types/events.d.ts +4 -0
  402. package/es/ts-types/events.js.map +1 -1
  403. package/es/ts-types/list-table/define/basic-define.d.ts +1 -0
  404. package/es/ts-types/list-table/define/basic-define.js.map +1 -1
  405. package/es/ts-types/list-table/define/checkbox-define.d.ts +9 -0
  406. package/es/ts-types/list-table/define/checkbox-define.js +2 -0
  407. package/es/ts-types/list-table/define/checkbox-define.js.map +1 -0
  408. package/es/ts-types/list-table/define/index.d.ts +4 -2
  409. package/es/ts-types/list-table/define/index.js.map +1 -1
  410. package/es/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
  411. package/es/ts-types/pivot-table/indicator/checkbox-indicator.js +2 -0
  412. package/es/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
  413. package/es/ts-types/pivot-table/indicator/index.d.ts +2 -1
  414. package/es/ts-types/pivot-table/indicator/index.js.map +1 -1
  415. package/es/ts-types/table-engine.d.ts +13 -0
  416. package/es/ts-types/table-engine.js.map +1 -1
  417. package/es/ts-types/theme.d.ts +6 -3
  418. package/es/ts-types/theme.js.map +1 -1
  419. package/es/ts-types/tooltip.d.ts +2 -1
  420. package/es/ts-types/tooltip.js.map +1 -1
  421. package/package.json +6 -3
  422. package/cjs/scenegraph/header-icon/layout.d.ts +0 -3
  423. package/cjs/scenegraph/header-icon/layout.js +0 -75
  424. package/cjs/scenegraph/header-icon/layout.js.map +0 -1
  425. package/cjs/scenegraph/hover-state.d.ts +0 -14
  426. package/cjs/scenegraph/hover-state.js +0 -27
  427. package/cjs/scenegraph/hover-state.js.map +0 -1
  428. package/es/scenegraph/header-icon/layout.d.ts +0 -3
  429. package/es/scenegraph/header-icon/layout.js +0 -69
  430. package/es/scenegraph/header-icon/layout.js.map +0 -1
  431. package/es/scenegraph/hover-state.d.ts +0 -14
  432. package/es/scenegraph/hover-state.js +0 -19
  433. package/es/scenegraph/hover-state.js.map +0 -1
@@ -1,6 +1,4 @@
1
- import { createStage, createRect, IContainPointMode, container, vglobal } from "@visactor/vrender";
2
-
3
- import { IconFuncTypeEnum } from "../ts-types";
1
+ import { createStage, container, vglobal } from "@visactor/vrender";
4
2
 
5
3
  import { isArray, isString } from "@visactor/vutils";
6
4
 
@@ -24,8 +22,6 @@ import splitModule from "./graphic/contributions";
24
22
 
25
23
  import { getProp } from "./utils/get-prop";
26
24
 
27
- import { dealWithIcon } from "./utils/text-icon-layout";
28
-
29
25
  import { SceneProxy } from "./group-creater/progress/proxy";
30
26
 
31
27
  import { computeColWidth, computeColsWidth } from "./layout/compute-col-width";
@@ -62,6 +58,10 @@ import { loadPoptip, setPoptipTheme } from "@visactor/vrender-components";
62
58
 
63
59
  import textMeasureModule from "./utils/text-measure";
64
60
 
61
+ import { getIconByXY, hideClickIcon, hideHoverIcon, setIconHoverStyle, setIconNormalStyle, showClickIcon, showHoverIcon, updateFrozenIcon, updateHierarchyIcon, updateSortIcon } from "./icon/icon-update";
62
+
63
+ import { Env } from "../tools/env";
64
+
65
65
  loadPoptip(), container.load(splitModule), container.load(textMeasureModule);
66
66
 
67
67
  const poptipStyle = {
@@ -94,11 +94,14 @@ const poptipStyle = {
94
94
 
95
95
  export class Scenegraph {
96
96
  constructor(table) {
97
+ let width, height;
97
98
  this.table = table, this.hasFrozen = !1, this.clear = !0, this.mergeMap = new Map,
98
- setPoptipTheme(poptipStyle), vglobal.setEnv("browser"), this.stage = createStage({
99
+ setPoptipTheme(poptipStyle), "node" === Env.mode ? (vglobal.setEnv("node", table.options.modeParams),
100
+ width = table.canvasWidth, height = table.canvasHeight) : (vglobal.setEnv("browser"),
101
+ width = table.canvas.width, height = table.canvas.height), this.stage = createStage({
99
102
  canvas: table.canvas,
100
- width: table.canvas.width,
101
- height: table.canvas.height,
103
+ width: width,
104
+ height: height,
102
105
  disableDirtyBounds: !1,
103
106
  background: table.theme.underlayBackgroundColor,
104
107
  dpr: table.internalProps.pixelRatio,
@@ -213,7 +216,7 @@ export class Scenegraph {
213
216
  this.selectedRangeComponents = new Map, this.selectingRangeComponents = new Map;
214
217
  }
215
218
  createSceneGraph() {
216
- this.clear = !1, this.frozenColCount = this.table.rowHeaderLevelCount, this.frozenRowCount = this.table.columnHeaderLevelCount,
219
+ this.clear = !1, this.frozenColCount = this.table.frozenColCount, this.frozenRowCount = this.table.columnHeaderLevelCount,
217
220
  this.proxy = new SceneProxy(this.table), createFrameBorder(this.tableGroup, this.table.theme.frameStyle, this.tableGroup.role, void 0, !0),
218
221
  this.proxy.createGroupForFirstScreen(this.cornerHeaderGroup, this.colHeaderGroup, this.rowHeaderGroup, this.rightFrozenGroup, this.bottomFrozenGroup, this.bodyGroup, 0, 0),
219
222
  this.afterScenegraphCreated();
@@ -221,21 +224,6 @@ export class Scenegraph {
221
224
  renderSceneGraph() {
222
225
  this.stage.render();
223
226
  }
224
- getCellOld(col, row) {
225
- var _a, _b, _c, _d;
226
- let element;
227
- if (element = this.hasFrozen && col < this.table.frozenColCount && row < this.table.frozenRowCount ? null === (_a = this.cornerHeaderGroup.getChildAt(col)) || void 0 === _a ? void 0 : _a.getChildAt(row) : row < this.table.frozenRowCount ? null === (_b = this.colHeaderGroup.getChildAt(this.hasFrozen ? col - this.table.frozenColCount : col)) || void 0 === _b ? void 0 : _b.getChildAt(row) : col < this.table.frozenColCount ? null === (_c = this.rowHeaderGroup.getChildAt(col)) || void 0 === _c ? void 0 : _c.getChildAt(row - this.table.frozenRowCount) : null === (_d = this.bodyGroup.getChildAt(col - this.table.frozenColCount)) || void 0 === _d ? void 0 : _d.getChildAt(row - this.table.frozenRowCount),
228
- element && "shadow-cell" === element.role) {
229
- const range = this.table.getCellRange(col, row);
230
- element = this.getCell(range.start.col, range.start.row);
231
- }
232
- return element || void 0;
233
- }
234
- getColGroupOld(col, isHeader = !1) {
235
- let element;
236
- return element = col < this.frozenColCount && isHeader ? this.cornerHeaderGroup.getChildAt(col) : col < this.frozenColCount ? this.rowHeaderGroup.getChildAt(col) : isHeader ? this.rowHeaderGroup.getChildAt(col - this.frozenColCount) : this.bodyGroup.getChildAt(col - this.frozenColCount),
237
- element || void 0;
238
- }
239
227
  getCell(col, row, getShadow) {
240
228
  var _a, _b, _c, _d, _e, _f;
241
229
  let cell;
@@ -282,20 +270,34 @@ export class Scenegraph {
282
270
  updateAllSelectComponent(this);
283
271
  }
284
272
  hideHoverIcon(col, row) {
285
- if (-1 === col || -1 === row) return;
286
- hideIcon(this, this.getCell(col, row), "mouseenter_cell");
273
+ hideHoverIcon(col, row, this);
287
274
  }
288
275
  showHoverIcon(col, row) {
289
- if (-1 === col || -1 === row) return;
290
- showIcon(this, this.getCell(col, row), "mouseenter_cell");
276
+ showHoverIcon(col, row, this);
291
277
  }
292
278
  hideClickIcon(col, row) {
293
- if (-1 === col || -1 === row) return;
294
- hideIcon(this, this.getCell(col, row), "click_cell");
279
+ hideClickIcon(col, row, this);
295
280
  }
296
281
  showClickIcon(col, row) {
297
- if (-1 === col || -1 === row) return;
298
- showIcon(this, this.getCell(col, row), "click_cell");
282
+ showClickIcon(col, row, this);
283
+ }
284
+ getIcon(col, row, x, y) {
285
+ return getIconByXY(col, row, x, y, this);
286
+ }
287
+ setIconHoverStyle(icon, col, row, cellGroup) {
288
+ setIconHoverStyle(icon, col, row, cellGroup, this);
289
+ }
290
+ updateSortIcon(col, row, iconMark, order, oldSortCol, oldSortRow, oldIconMark) {
291
+ updateSortIcon(col, row, iconMark, order, oldSortCol, oldSortRow, oldIconMark, this);
292
+ }
293
+ updateFrozenIcon(col, oldFrozenCol) {
294
+ updateFrozenIcon(this);
295
+ }
296
+ updateHierarchyIcon(col, row) {
297
+ updateHierarchyIcon(col, row, this);
298
+ }
299
+ setIconNormalStyle(icon, col, row) {
300
+ setIconNormalStyle(icon, col, row, this);
299
301
  }
300
302
  deactivateChart(col, row) {
301
303
  var _a, _b;
@@ -329,59 +331,6 @@ export class Scenegraph {
329
331
  updateCellSelectBorder(newStartCol, newStartRow, newEndCol, newEndRow) {
330
332
  updateCellSelectBorder(this, newStartCol, newStartRow, newEndCol, newEndRow);
331
333
  }
332
- getIcon(col, row, x, y) {
333
- let pickMark;
334
- return this.getCell(col, row).forEachChildren((mark => {
335
- "icon" === mark.role && mark.containsPoint(x, y, IContainPointMode.GLOBAL) && (pickMark = mark);
336
- })), pickMark;
337
- }
338
- setIconHoverStyle(icon, col, row, cellGroup) {
339
- var _a, _b, _c, _d, _e, _f, _g, _h;
340
- if (icon.attribute.backgroundColor) {
341
- let iconBack = icon.parent.getChildByName("icon-back");
342
- iconBack ? iconBack.setAttributes({
343
- x: (null !== (_a = icon.attribute.x) && void 0 !== _a ? _a : 0) + (null !== (_b = icon.attribute.dx) && void 0 !== _b ? _b : 0) + (icon.AABBBounds.width() - icon.backgroundWidth) / 2,
344
- y: (null !== (_c = icon.attribute.y) && void 0 !== _c ? _c : 0) + (icon.AABBBounds.height() - icon.backgroundHeight) / 2,
345
- width: icon.backgroundWidth,
346
- height: icon.backgroundHeight,
347
- fill: icon.attribute.backgroundColor,
348
- cornerRadius: 5,
349
- visible: !0
350
- }) : (iconBack = createRect({
351
- x: (null !== (_d = icon.attribute.x) && void 0 !== _d ? _d : 0) + (null !== (_e = icon.attribute.dx) && void 0 !== _e ? _e : 0) + (icon.AABBBounds.width() - icon.backgroundWidth) / 2,
352
- y: (null !== (_f = icon.attribute.y) && void 0 !== _f ? _f : 0) + (icon.AABBBounds.height() - icon.backgroundHeight) / 2,
353
- width: icon.backgroundWidth,
354
- height: icon.backgroundHeight,
355
- fill: icon.attribute.backgroundColor,
356
- cornerRadius: 5,
357
- pickable: !1,
358
- visible: !0
359
- }), iconBack.name = "icon-back"), icon.parent.insertBefore(iconBack, icon);
360
- }
361
- if (icon.attribute.hoverImage && icon.attribute.image !== icon.attribute.hoverImage && (icon.image = icon.attribute.hoverImage),
362
- icon.tooltip) {
363
- const {x1: left, x2: right, y1: top, y2: bottom} = icon.globalAABBBounds, tooltipOptions = {
364
- content: icon.tooltip.title,
365
- referencePosition: {
366
- rect: {
367
- left: left,
368
- right: right,
369
- top: top,
370
- bottom: bottom,
371
- width: icon.globalAABBBounds.width(),
372
- height: icon.globalAABBBounds.height()
373
- },
374
- placement: icon.tooltip.placement
375
- },
376
- style: Object.assign({}, null === (_g = this.table.internalProps.theme) || void 0 === _g ? void 0 : _g.tooltipStyle, null === (_h = icon.tooltip) || void 0 === _h ? void 0 : _h.style)
377
- };
378
- this.table.internalProps.tooltipHandler.isBinded(tooltipOptions) || this.table.showTooltip(col, row, tooltipOptions);
379
- }
380
- }
381
- setIconNormalStyle(icon, col, row) {
382
- const iconBack = icon.parent.getChildByName("icon-back");
383
- iconBack && iconBack.setAttribute("visible", !1), icon.attribute.hoverImage && icon.attribute.image !== icon.attribute.originImage && (icon.image = icon.attribute.originImage);
384
- }
385
334
  updateColWidth(col, detaX) {
386
335
  updateColWidth(this, col, Math.round(detaX)), this.updateContainer();
387
336
  }
@@ -403,11 +352,10 @@ export class Scenegraph {
403
352
  computeRowsHeight(this.table, 0, this.table.rowCount - 1, !0, !0);
404
353
  }
405
354
  resize() {
406
- ("adaptive" === this.table.widthMode || this.table.autoFillWidth) && this.recalculateColWidths(),
407
- ("adaptive" === this.table.heightMode || this.table.autoFillHeight) && this.recalculateRowHeights(),
408
- this.dealWidthMode(), this.dealHeightMode(), this.resetFrozen(), this.dealFrozen(),
409
- this.updateTableSize(), this.updateBorderSizeAndPosition(), this.component.updateScrollBar(),
410
- ("adaptive" === this.table.widthMode || "adaptive" === this.table.heightMode || this.table.autoFillWidth || this.table.autoFillHeight) && this.updateChartSize(this.table.rowHeaderLevelCount),
355
+ 0 === this.table.internalProps._widthResizedColMap.size && (("adaptive" === this.table.widthMode || this.table.autoFillWidth) && this.recalculateColWidths(),
356
+ ("adaptive" === this.table.heightMode || this.table.autoFillHeight) && this.recalculateRowHeights()),
357
+ this.dealWidthMode(), this.dealHeightMode(), this.resetFrozen(), this.updateTableSize(),
358
+ this.updateBorderSizeAndPosition(), this.component.updateScrollBar(), ("adaptive" === this.table.widthMode || "adaptive" === this.table.heightMode || this.table.autoFillWidth || this.table.autoFillHeight) && this.updateChartSize(this.table.rowHeaderLevelCount),
411
359
  this.updateNextFrame();
412
360
  }
413
361
  updateTableSize() {
@@ -487,8 +435,10 @@ export class Scenegraph {
487
435
  this.updateNextFrame());
488
436
  }
489
437
  afterScenegraphCreated() {
490
- this.resetFrozen(), this.dealFrozen(), this.createFrameBorder(), this.updateBorderSizeAndPosition(),
491
- this.component.updateScrollBar(), handleTextStick(this.table), this.updateNextFrame();
438
+ this.isPivot || this.transpose || this.component.setFrozenColumnShadow(this.table.frozenColCount - 1),
439
+ this.table.stateManeger.checkFrozen(), this.updateContainer(), this.createFrameBorder(),
440
+ this.updateBorderSizeAndPosition(), this.component.updateScrollBar(), handleTextStick(this.table),
441
+ this.updateNextFrame();
492
442
  }
493
443
  dealWidthMode() {
494
444
  const table = this.table;
@@ -644,11 +594,8 @@ export class Scenegraph {
644
594
  row: -1
645
595
  };
646
596
  }
647
- updateIcon(icon, iconConfig) {
648
- dealWithIcon(iconConfig, icon), icon.name = iconConfig.name, this.updateNextFrame();
649
- }
650
597
  updateFrozen() {
651
- this.clear || (this.resetFrozen(), this.dealFrozen(), this.component.updateScrollBar());
598
+ this.clear || (this.resetFrozen(), this.component.updateScrollBar());
652
599
  }
653
600
  dealWidthRightFrozen(rightFrozenColCount) {
654
601
  this.clear ? this.table.internalProps.rightFrozenColCount = rightFrozenColCount : dealRightFrozen(rightFrozenColCount, this);
@@ -665,37 +612,6 @@ export class Scenegraph {
665
612
  updateFrameBorderSize(this.rowHeaderGroup)), this.cornerHeaderGroup.border && (this.cornerHeaderGroup.appendChild(this.cornerHeaderGroup.border),
666
613
  updateFrameBorderSize(this.cornerHeaderGroup));
667
614
  }
668
- updateSortIcon(col, row, iconMark, order, oldSortCol, oldSortRow, oldIconMark) {
669
- const icon = this.table.internalProps.headerHelper.getSortIcon(order, this.table, col, row);
670
- if (iconMark && this.updateIcon(iconMark, icon), oldIconMark !== iconMark) {
671
- const oldIcon = this.table.internalProps.headerHelper.getSortIcon("normal", this.table, oldSortCol, oldSortRow);
672
- if (oldIconMark) this.updateIcon(oldIconMark, oldIcon); else {
673
- let oldIconMark;
674
- this.getCell(oldSortCol, oldSortRow).forEachChildren((mark => "sort" === mark.attribute.funcType && (oldIconMark = mark,
675
- !0))), oldIconMark && this.updateIcon(oldIconMark, oldIcon);
676
- }
677
- }
678
- }
679
- updateFrozenIcon(col, oldFrozenCol) {
680
- const updateCol = Math.max(col, oldFrozenCol);
681
- this.colHeaderGroup.forEachChildrenSkipChild((colGroup => !(colGroup.col <= updateCol) || (colGroup.forEachChildren((cellGroup => {
682
- cellGroup.forEachChildren((icon => {
683
- if ("frozen" === icon.attribute.funcType) {
684
- const iconConfig = this.table.internalProps.headerHelper.getFrozenIcon(cellGroup.col, cellGroup.row);
685
- return this.updateIcon(icon, iconConfig), !0;
686
- }
687
- return !1;
688
- }));
689
- })), !1))), this.cornerHeaderGroup.forEachChildrenSkipChild((colGroup => !(colGroup.col <= updateCol) || (colGroup.forEachChildren((cellGroup => {
690
- cellGroup.forEachChildren((icon => {
691
- if ("frozen" === icon.attribute.funcType) {
692
- const iconConfig = this.table.internalProps.headerHelper.getFrozenIcon(cellGroup.col, cellGroup.row);
693
- return this.updateIcon(icon, iconConfig), !0;
694
- }
695
- return !1;
696
- }));
697
- })), !1)));
698
- }
699
615
  sortCell() {
700
616
  this.isPivot || (this.transpose ? this.proxy.sortCellHorizontal() : this.proxy.sortCellVertical());
701
617
  }
@@ -720,23 +636,10 @@ export class Scenegraph {
720
636
  this.stage.disableDirtyBounds(), this.stage.window.setDpr(pixelRatio), this.stage.render(),
721
637
  this.stage.enableDirtyBounds();
722
638
  }
723
- updateHierarchyIcon(col, row) {
724
- const cellGroup = this.getCell(col, row);
725
- let iconConfig;
726
- iconConfig = this.table.isHeader(col, row) ? this.table.internalProps.headerHelper.getHierarchyIcon(cellGroup.col, cellGroup.row) : this.table.internalProps.bodyHelper.getHierarchyIcon(cellGroup.col, cellGroup.row),
727
- this.findAndUpdateIcon(cellGroup, [ IconFuncTypeEnum.collapse, IconFuncTypeEnum.expand ], iconConfig);
728
- }
729
639
  updateRow(removeCells, addCells, updateCells = []) {
730
640
  updateRow(removeCells, addCells, updateCells, this.table), this.recalculateColWidths(),
731
641
  this.recalculateRowHeights(), this.table.stateManeger.checkFrozen(), this.updateNextFrame();
732
642
  }
733
- findAndUpdateIcon(group, funcTypeArr, iconConfig) {
734
- group.forEachChildren((icon => {
735
- if ("group" === icon.type) this.findAndUpdateIcon(icon, funcTypeArr, iconConfig); else if (-1 !== funcTypeArr.indexOf(icon.attribute.funcType)) return this.updateIcon(icon, iconConfig),
736
- !0;
737
- return !1;
738
- }));
739
- }
740
643
  getColumnGroupX(col) {
741
644
  return col < this.table.rowHeaderLevelCount ? this.table.getColsWidth(0, col - 1) : col < this.table.colCount - this.table.rightFrozenColCount ? this.table.getColsWidth(this.table.rowHeaderLevelCount, col - 1) : col < this.table.colCount ? this.table.getColsWidth(this.table.colCount - this.table.bottomFrozenRowCount, col - 1) : 0;
742
645
  }
@@ -744,18 +647,4 @@ export class Scenegraph {
744
647
  return row < this.table.columnHeaderLevelCount ? this.table.getRowsHeight(0, row - 1) : row < this.table.rowCount - this.table.bottomFrozenRowCount ? this.table.getRowsHeight(this.table.columnHeaderLevelCount, row - 1) : row < this.table.rowCount ? this.table.getRowsHeight(this.table.rowCount - this.table.bottomFrozenRowCount, row - 1) : 0;
745
648
  }
746
649
  }
747
-
748
- function showIcon(scene, cellGroup, visibleTime) {
749
- cellGroup.forEachChildren((child => {
750
- "group" === child.type ? showIcon(scene, child, visibleTime) : child.attribute.visibleTime === visibleTime && (child.attribute.visible = !0,
751
- scene.updateNextFrame());
752
- }));
753
- }
754
-
755
- function hideIcon(scene, cellGroup, visibleTime) {
756
- cellGroup.forEachChildren((child => {
757
- "group" === child.type ? hideIcon(scene, child, visibleTime) : child.attribute.visibleTime === visibleTime && (child.attribute.visible = !1,
758
- scene.updateNextFrame());
759
- }));
760
- }
761
650
  //# sourceMappingURL=scenegraph.js.map