@visactor/vtable 1.26.6 → 1.26.8

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 (367) hide show
  1. package/cjs/ListTable-all.js +5 -5
  2. package/cjs/ListTable-all.js.map +1 -1
  3. package/cjs/ListTable.d.ts +2 -2
  4. package/cjs/ListTable.js +26 -16
  5. package/cjs/ListTable.js.map +1 -1
  6. package/cjs/PivotChart.js +21 -20
  7. package/cjs/PivotChart.js.map +1 -1
  8. package/cjs/PivotTable-all.js +4 -3
  9. package/cjs/PivotTable-all.js.map +1 -1
  10. package/cjs/PivotTable.d.ts +1 -1
  11. package/cjs/PivotTable.js +65 -63
  12. package/cjs/PivotTable.js.map +1 -1
  13. package/cjs/body-helper/body-helper.d.ts +1 -1
  14. package/cjs/body-helper/body-helper.js +3 -1
  15. package/cjs/body-helper/body-helper.js.map +1 -1
  16. package/cjs/components/index.js +1 -2
  17. package/cjs/components/tooltip/TooltipHandler.d.ts +4 -0
  18. package/cjs/components/tooltip/TooltipHandler.js +32 -7
  19. package/cjs/components/tooltip/TooltipHandler.js.map +1 -1
  20. package/cjs/core/BaseTable.js +8 -5
  21. package/cjs/core/BaseTable.js.map +1 -1
  22. package/cjs/core/TABLE_EVENT_TYPE.d.ts +1 -0
  23. package/cjs/core/TABLE_EVENT_TYPE.js +1 -0
  24. package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -1
  25. package/cjs/core/record-helper.d.ts +1 -1
  26. package/cjs/core/record-helper.js +60 -12
  27. package/cjs/core/record-helper.js.map +1 -1
  28. package/cjs/data/DataSource.d.ts +3 -1
  29. package/cjs/data/DataSource.js +70 -21
  30. package/cjs/data/DataSource.js.map +1 -1
  31. package/cjs/dataset/dataset.d.ts +9 -1
  32. package/cjs/dataset/dataset.js +344 -187
  33. package/cjs/dataset/dataset.js.map +1 -1
  34. package/cjs/event/event.d.ts +94 -8
  35. package/cjs/event/event.js +697 -190
  36. package/cjs/event/event.js.map +1 -1
  37. package/cjs/event/media-click.js +147 -12
  38. package/cjs/event/media-click.js.map +1 -1
  39. package/cjs/event/sparkline-event.js +1 -2
  40. package/cjs/event/util.js +1 -1
  41. package/cjs/event/util.js.map +1 -1
  42. package/cjs/header-helper/header-helper.js +3 -1
  43. package/cjs/header-helper/header-helper.js.map +1 -1
  44. package/cjs/index.d.ts +3 -3
  45. package/cjs/index.js +1 -1
  46. package/cjs/index.js.map +1 -1
  47. package/cjs/layout/pivot-header-layout.js +33 -17
  48. package/cjs/layout/pivot-header-layout.js.map +1 -1
  49. package/cjs/scenegraph/group-creater/cell-helper.d.ts +4 -2
  50. package/cjs/scenegraph/group-creater/cell-helper.js +93 -51
  51. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  52. package/cjs/scenegraph/group-creater/cell-type/audio-cell.d.ts +7 -0
  53. package/cjs/scenegraph/group-creater/cell-type/audio-cell.js +83 -0
  54. package/cjs/scenegraph/group-creater/cell-type/audio-cell.js.map +1 -0
  55. package/cjs/scenegraph/group-creater/cell-type/button-cell.d.ts +1 -1
  56. package/cjs/scenegraph/group-creater/cell-type/button-cell.js +5 -4
  57. package/cjs/scenegraph/group-creater/cell-type/button-cell.js.map +1 -1
  58. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +2 -2
  59. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  60. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +1 -1
  61. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js +5 -4
  62. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  63. package/cjs/scenegraph/group-creater/cell-type/image-cell.d.ts +1 -1
  64. package/cjs/scenegraph/group-creater/cell-type/image-cell.js +43 -15
  65. package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  66. package/cjs/scenegraph/group-creater/cell-type/index.d.ts +1 -0
  67. package/cjs/scenegraph/group-creater/cell-type/index.js +8 -2
  68. package/cjs/scenegraph/group-creater/cell-type/index.js.map +1 -1
  69. package/cjs/scenegraph/group-creater/cell-type/media-cell-helper.d.ts +13 -0
  70. package/cjs/scenegraph/group-creater/cell-type/media-cell-helper.js +64 -0
  71. package/cjs/scenegraph/group-creater/cell-type/media-cell-helper.js.map +1 -0
  72. package/cjs/scenegraph/group-creater/cell-type/radio-cell.d.ts +1 -1
  73. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js +23 -7
  74. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  75. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +1 -1
  76. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -5
  77. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  78. package/cjs/scenegraph/group-creater/cell-type/switch-cell.d.ts +1 -1
  79. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js +5 -4
  80. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -1
  81. package/cjs/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  82. package/cjs/scenegraph/group-creater/cell-type/text-cell.js +14 -10
  83. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  84. package/cjs/scenegraph/group-creater/cell-type/video-cell.d.ts +1 -1
  85. package/cjs/scenegraph/group-creater/cell-type/video-cell.js +44 -23
  86. package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  87. package/cjs/scenegraph/group-creater/column-helper.js +14 -7
  88. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  89. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +17 -4
  90. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  91. package/cjs/scenegraph/group-creater/progress/proxy.d.ts +1 -0
  92. package/cjs/scenegraph/group-creater/progress/proxy.js +11 -5
  93. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
  94. package/cjs/scenegraph/icon/icon-update.js +1 -0
  95. package/cjs/scenegraph/icon/icon-update.js.map +1 -1
  96. package/cjs/scenegraph/layout/compute-col-width.js +14 -4
  97. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  98. package/cjs/scenegraph/layout/compute-row-height.js +29 -8
  99. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  100. package/cjs/scenegraph/layout/update-height.d.ts +4 -3
  101. package/cjs/scenegraph/layout/update-height.js +44 -30
  102. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  103. package/cjs/scenegraph/layout/update-width.d.ts +2 -1
  104. package/cjs/scenegraph/layout/update-width.js +50 -38
  105. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  106. package/cjs/scenegraph/scenegraph.d.ts +3 -2
  107. package/cjs/scenegraph/scenegraph.js +60 -52
  108. package/cjs/scenegraph/scenegraph.js.map +1 -1
  109. package/cjs/scenegraph/stick-text/index.js +46 -20
  110. package/cjs/scenegraph/stick-text/index.js.map +1 -1
  111. package/cjs/scenegraph/utils/corner-custom-merge.d.ts +10 -0
  112. package/cjs/scenegraph/utils/corner-custom-merge.js +68 -0
  113. package/cjs/scenegraph/utils/corner-custom-merge.js.map +1 -0
  114. package/cjs/scenegraph/utils/deal-promise-data.d.ts +1 -1
  115. package/cjs/scenegraph/utils/deal-promise-data.js +2 -2
  116. package/cjs/scenegraph/utils/deal-promise-data.js.map +1 -1
  117. package/cjs/state/cell-move/index.js +6 -3
  118. package/cjs/state/cell-move/index.js.map +1 -1
  119. package/cjs/state/checkbox/checkbox.d.ts +3 -1
  120. package/cjs/state/checkbox/checkbox.js +53 -34
  121. package/cjs/state/checkbox/checkbox.js.map +1 -1
  122. package/cjs/state/radio/radio.d.ts +3 -1
  123. package/cjs/state/radio/radio.js +69 -12
  124. package/cjs/state/radio/radio.js.map +1 -1
  125. package/cjs/state/resize/update-resize-column.js +25 -13
  126. package/cjs/state/resize/update-resize-column.js.map +1 -1
  127. package/cjs/state/resize/update-resize-row.js +24 -12
  128. package/cjs/state/resize/update-resize-row.js.map +1 -1
  129. package/cjs/state/state.d.ts +3 -2
  130. package/cjs/state/state.js +6 -3
  131. package/cjs/state/state.js.map +1 -1
  132. package/cjs/themes.d.ts +4 -2
  133. package/cjs/themes.js +12 -4
  134. package/cjs/themes.js.map +1 -1
  135. package/cjs/tools/get-data-path/create-dataset.js +4 -4
  136. package/cjs/tools/get-data-path/create-dataset.js.map +1 -1
  137. package/cjs/tools/get-data-path/index.js +4 -4
  138. package/cjs/tools/get-data-path/index.js.map +1 -1
  139. package/cjs/tools/media.d.ts +1 -0
  140. package/cjs/tools/media.js +19 -0
  141. package/cjs/tools/media.js.map +1 -0
  142. package/cjs/tools/style.d.ts +3 -1
  143. package/cjs/tools/style.js +2 -2
  144. package/cjs/tools/style.js.map +1 -1
  145. package/cjs/ts-types/base-table.d.ts +1 -0
  146. package/cjs/ts-types/base-table.js.map +1 -1
  147. package/cjs/ts-types/column/type.d.ts +2 -2
  148. package/cjs/ts-types/column/type.js.map +1 -1
  149. package/cjs/ts-types/common.d.ts +1 -0
  150. package/cjs/ts-types/common.js.map +1 -1
  151. package/cjs/ts-types/dataset/aggregation.d.ts +1 -0
  152. package/cjs/ts-types/dataset/aggregation.js +21 -3
  153. package/cjs/ts-types/dataset/aggregation.js.map +1 -1
  154. package/cjs/ts-types/events.d.ts +3 -1
  155. package/cjs/ts-types/events.js.map +1 -1
  156. package/cjs/ts-types/icon.d.ts +1 -0
  157. package/cjs/ts-types/icon.js.map +1 -1
  158. package/cjs/ts-types/list-table/define/image-define.d.ts +10 -0
  159. package/cjs/ts-types/list-table/define/image-define.js.map +1 -1
  160. package/cjs/ts-types/list-table/define/index.d.ts +5 -4
  161. package/cjs/ts-types/list-table/define/index.js.map +1 -1
  162. package/cjs/ts-types/list-table/layout-map/api.d.ts +4 -4
  163. package/cjs/ts-types/list-table/layout-map/api.js.map +1 -1
  164. package/cjs/ts-types/list-table/layout-map/index.d.ts +1 -1
  165. package/cjs/ts-types/list-table/layout-map/index.js.map +1 -1
  166. package/cjs/ts-types/menu.d.ts +12 -0
  167. package/cjs/ts-types/menu.js.map +1 -1
  168. package/cjs/ts-types/new-data-set.d.ts +1 -0
  169. package/cjs/ts-types/new-data-set.js.map +1 -1
  170. package/cjs/ts-types/pivot-table/dimension/image-dimension.d.ts +5 -0
  171. package/cjs/ts-types/pivot-table/dimension/image-dimension.js.map +1 -1
  172. package/cjs/ts-types/pivot-table/dimension/index.d.ts +5 -3
  173. package/cjs/ts-types/pivot-table/dimension/index.js.map +1 -1
  174. package/cjs/ts-types/pivot-table/indicator/image-indicator.d.ts +10 -0
  175. package/cjs/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
  176. package/cjs/ts-types/pivot-table/indicator/index.d.ts +3 -3
  177. package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -1
  178. package/cjs/ts-types/table-engine.d.ts +9 -5
  179. package/cjs/ts-types/table-engine.js.map +1 -1
  180. package/cjs/ts-types/tooltip.d.ts +1 -0
  181. package/cjs/ts-types/tooltip.js.map +1 -1
  182. package/cjs/vrender.js.map +1 -1
  183. package/dist/vtable.js +3346 -1099
  184. package/dist/vtable.min.js +1 -1
  185. package/es/ListTable-all.js +4 -4
  186. package/es/ListTable-all.js.map +1 -1
  187. package/es/ListTable.d.ts +2 -2
  188. package/es/ListTable.js +26 -18
  189. package/es/ListTable.js.map +1 -1
  190. package/es/PivotChart.js +20 -20
  191. package/es/PivotChart.js.map +1 -1
  192. package/es/PivotTable-all.js +4 -4
  193. package/es/PivotTable-all.js.map +1 -1
  194. package/es/PivotTable.d.ts +1 -1
  195. package/es/PivotTable.js +65 -63
  196. package/es/PivotTable.js.map +1 -1
  197. package/es/body-helper/body-helper.d.ts +1 -1
  198. package/es/body-helper/body-helper.js +3 -1
  199. package/es/body-helper/body-helper.js.map +1 -1
  200. package/es/components/index.js +1 -2
  201. package/es/components/tooltip/TooltipHandler.d.ts +4 -0
  202. package/es/components/tooltip/TooltipHandler.js +32 -7
  203. package/es/components/tooltip/TooltipHandler.js.map +1 -1
  204. package/es/core/BaseTable.js +8 -5
  205. package/es/core/BaseTable.js.map +1 -1
  206. package/es/core/TABLE_EVENT_TYPE.d.ts +1 -0
  207. package/es/core/TABLE_EVENT_TYPE.js +1 -0
  208. package/es/core/TABLE_EVENT_TYPE.js.map +1 -1
  209. package/es/core/record-helper.d.ts +1 -1
  210. package/es/core/record-helper.js +60 -12
  211. package/es/core/record-helper.js.map +1 -1
  212. package/es/data/DataSource.d.ts +3 -1
  213. package/es/data/DataSource.js +69 -21
  214. package/es/data/DataSource.js.map +1 -1
  215. package/es/dataset/dataset.d.ts +9 -1
  216. package/es/dataset/dataset.js +341 -187
  217. package/es/dataset/dataset.js.map +1 -1
  218. package/es/event/event.d.ts +94 -8
  219. package/es/event/event.js +695 -190
  220. package/es/event/event.js.map +1 -1
  221. package/es/event/media-click.js +150 -11
  222. package/es/event/media-click.js.map +1 -1
  223. package/es/event/sparkline-event.js +1 -2
  224. package/es/event/util.js +1 -1
  225. package/es/event/util.js.map +1 -1
  226. package/es/header-helper/header-helper.js +3 -1
  227. package/es/header-helper/header-helper.js.map +1 -1
  228. package/es/index.d.ts +3 -3
  229. package/es/index.js +1 -1
  230. package/es/index.js.map +1 -1
  231. package/es/layout/pivot-header-layout.js +29 -17
  232. package/es/layout/pivot-header-layout.js.map +1 -1
  233. package/es/scenegraph/group-creater/cell-helper.d.ts +4 -2
  234. package/es/scenegraph/group-creater/cell-helper.js +90 -49
  235. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  236. package/es/scenegraph/group-creater/cell-type/audio-cell.d.ts +7 -0
  237. package/es/scenegraph/group-creater/cell-type/audio-cell.js +89 -0
  238. package/es/scenegraph/group-creater/cell-type/audio-cell.js.map +1 -0
  239. package/es/scenegraph/group-creater/cell-type/button-cell.d.ts +1 -1
  240. package/es/scenegraph/group-creater/cell-type/button-cell.js +5 -4
  241. package/es/scenegraph/group-creater/cell-type/button-cell.js.map +1 -1
  242. package/es/scenegraph/group-creater/cell-type/chart-cell.js +2 -2
  243. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  244. package/es/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +1 -1
  245. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js +5 -4
  246. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  247. package/es/scenegraph/group-creater/cell-type/image-cell.d.ts +1 -1
  248. package/es/scenegraph/group-creater/cell-type/image-cell.js +43 -14
  249. package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  250. package/es/scenegraph/group-creater/cell-type/index.d.ts +1 -0
  251. package/es/scenegraph/group-creater/cell-type/index.js +6 -0
  252. package/es/scenegraph/group-creater/cell-type/index.js.map +1 -1
  253. package/es/scenegraph/group-creater/cell-type/media-cell-helper.d.ts +13 -0
  254. package/es/scenegraph/group-creater/cell-type/media-cell-helper.js +56 -0
  255. package/es/scenegraph/group-creater/cell-type/media-cell-helper.js.map +1 -0
  256. package/es/scenegraph/group-creater/cell-type/radio-cell.d.ts +1 -1
  257. package/es/scenegraph/group-creater/cell-type/radio-cell.js +23 -7
  258. package/es/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  259. package/es/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +1 -1
  260. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -5
  261. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  262. package/es/scenegraph/group-creater/cell-type/switch-cell.d.ts +1 -1
  263. package/es/scenegraph/group-creater/cell-type/switch-cell.js +5 -4
  264. package/es/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -1
  265. package/es/scenegraph/group-creater/cell-type/text-cell.d.ts +1 -1
  266. package/es/scenegraph/group-creater/cell-type/text-cell.js +13 -8
  267. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  268. package/es/scenegraph/group-creater/cell-type/video-cell.d.ts +1 -1
  269. package/es/scenegraph/group-creater/cell-type/video-cell.js +47 -22
  270. package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  271. package/es/scenegraph/group-creater/column-helper.js +14 -8
  272. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  273. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +17 -5
  274. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  275. package/es/scenegraph/group-creater/progress/proxy.d.ts +1 -0
  276. package/es/scenegraph/group-creater/progress/proxy.js +11 -5
  277. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  278. package/es/scenegraph/icon/icon-update.js +1 -0
  279. package/es/scenegraph/icon/icon-update.js.map +1 -1
  280. package/es/scenegraph/layout/compute-col-width.js +14 -4
  281. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  282. package/es/scenegraph/layout/compute-row-height.js +28 -8
  283. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  284. package/es/scenegraph/layout/update-height.d.ts +4 -3
  285. package/es/scenegraph/layout/update-height.js +41 -27
  286. package/es/scenegraph/layout/update-height.js.map +1 -1
  287. package/es/scenegraph/layout/update-width.d.ts +2 -1
  288. package/es/scenegraph/layout/update-width.js +47 -35
  289. package/es/scenegraph/layout/update-width.js.map +1 -1
  290. package/es/scenegraph/scenegraph.d.ts +3 -2
  291. package/es/scenegraph/scenegraph.js +61 -52
  292. package/es/scenegraph/scenegraph.js.map +1 -1
  293. package/es/scenegraph/stick-text/index.js +46 -18
  294. package/es/scenegraph/stick-text/index.js.map +1 -1
  295. package/es/scenegraph/utils/corner-custom-merge.d.ts +10 -0
  296. package/es/scenegraph/utils/corner-custom-merge.js +59 -0
  297. package/es/scenegraph/utils/corner-custom-merge.js.map +1 -0
  298. package/es/scenegraph/utils/deal-promise-data.d.ts +1 -1
  299. package/es/scenegraph/utils/deal-promise-data.js +2 -2
  300. package/es/scenegraph/utils/deal-promise-data.js.map +1 -1
  301. package/es/state/cell-move/index.js +6 -3
  302. package/es/state/cell-move/index.js.map +1 -1
  303. package/es/state/checkbox/checkbox.d.ts +3 -1
  304. package/es/state/checkbox/checkbox.js +53 -34
  305. package/es/state/checkbox/checkbox.js.map +1 -1
  306. package/es/state/radio/radio.d.ts +3 -1
  307. package/es/state/radio/radio.js +70 -13
  308. package/es/state/radio/radio.js.map +1 -1
  309. package/es/state/resize/update-resize-column.js +19 -10
  310. package/es/state/resize/update-resize-column.js.map +1 -1
  311. package/es/state/resize/update-resize-row.js +19 -9
  312. package/es/state/resize/update-resize-row.js.map +1 -1
  313. package/es/state/state.d.ts +3 -2
  314. package/es/state/state.js +6 -2
  315. package/es/state/state.js.map +1 -1
  316. package/es/themes.d.ts +4 -2
  317. package/es/themes.js +11 -3
  318. package/es/themes.js.map +1 -1
  319. package/es/tools/get-data-path/create-dataset.js +4 -4
  320. package/es/tools/get-data-path/create-dataset.js.map +1 -1
  321. package/es/tools/get-data-path/index.js +4 -4
  322. package/es/tools/get-data-path/index.js.map +1 -1
  323. package/es/tools/media.d.ts +1 -0
  324. package/es/tools/media.js +11 -0
  325. package/es/tools/media.js.map +1 -0
  326. package/es/tools/style.d.ts +3 -1
  327. package/es/tools/style.js +2 -2
  328. package/es/tools/style.js.map +1 -1
  329. package/es/ts-types/base-table.d.ts +1 -0
  330. package/es/ts-types/base-table.js.map +1 -1
  331. package/es/ts-types/column/type.d.ts +2 -2
  332. package/es/ts-types/column/type.js.map +1 -1
  333. package/es/ts-types/common.d.ts +1 -0
  334. package/es/ts-types/common.js.map +1 -1
  335. package/es/ts-types/dataset/aggregation.d.ts +1 -0
  336. package/es/ts-types/dataset/aggregation.js +21 -3
  337. package/es/ts-types/dataset/aggregation.js.map +1 -1
  338. package/es/ts-types/events.d.ts +3 -1
  339. package/es/ts-types/events.js.map +1 -1
  340. package/es/ts-types/icon.d.ts +1 -0
  341. package/es/ts-types/icon.js.map +1 -1
  342. package/es/ts-types/list-table/define/image-define.d.ts +10 -0
  343. package/es/ts-types/list-table/define/image-define.js.map +1 -1
  344. package/es/ts-types/list-table/define/index.d.ts +5 -4
  345. package/es/ts-types/list-table/define/index.js.map +1 -1
  346. package/es/ts-types/list-table/layout-map/api.d.ts +4 -4
  347. package/es/ts-types/list-table/layout-map/api.js.map +1 -1
  348. package/es/ts-types/list-table/layout-map/index.d.ts +1 -1
  349. package/es/ts-types/list-table/layout-map/index.js.map +1 -1
  350. package/es/ts-types/menu.d.ts +12 -0
  351. package/es/ts-types/menu.js.map +1 -1
  352. package/es/ts-types/new-data-set.d.ts +1 -0
  353. package/es/ts-types/new-data-set.js.map +1 -1
  354. package/es/ts-types/pivot-table/dimension/image-dimension.d.ts +5 -0
  355. package/es/ts-types/pivot-table/dimension/image-dimension.js.map +1 -1
  356. package/es/ts-types/pivot-table/dimension/index.d.ts +5 -3
  357. package/es/ts-types/pivot-table/dimension/index.js.map +1 -1
  358. package/es/ts-types/pivot-table/indicator/image-indicator.d.ts +10 -0
  359. package/es/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
  360. package/es/ts-types/pivot-table/indicator/index.d.ts +3 -3
  361. package/es/ts-types/pivot-table/indicator/index.js.map +1 -1
  362. package/es/ts-types/table-engine.d.ts +9 -5
  363. package/es/ts-types/table-engine.js.map +1 -1
  364. package/es/ts-types/tooltip.d.ts +1 -0
  365. package/es/ts-types/tooltip.js.map +1 -1
  366. package/es/vrender.js.map +1 -1
  367. package/package.json +10 -9
@@ -9,9 +9,10 @@ const PivotTable_1 = require("./PivotTable"), components_1 = require("./componen
9
9
  (0, components_1.registerAxis)(), (0, components_1.registerEmptyTip)(), (0, components_1.registerLegend)(),
10
10
  (0, components_1.registerMenu)(), (0, components_1.registerTitle)(), (0, components_1.registerTooltip)(),
11
11
  (0, custom_cell_style_1.registerCustomCellStylePlugin)(), (0, components_1.registerAnimation)(),
12
- (0, cell_type_1.registerCheckboxCell)(), (0, cell_type_1.registerImageCell)(), (0,
13
- cell_type_1.registerProgressBarCell)(), (0, cell_type_1.registerRadioCell)(), (0,
14
- cell_type_1.registerSparkLineCell)(), (0, cell_type_1.registerTextCell)(), (0, cell_type_1.registerVideoCell)();
12
+ (0, cell_type_1.registerAudioCell)(), (0, cell_type_1.registerCheckboxCell)(), (0,
13
+ cell_type_1.registerImageCell)(), (0, cell_type_1.registerProgressBarCell)(), (0,
14
+ cell_type_1.registerRadioCell)(), (0, cell_type_1.registerSparkLineCell)(), (0,
15
+ cell_type_1.registerTextCell)(), (0, cell_type_1.registerVideoCell)();
15
16
 
16
17
  class PivotTableAll extends PivotTable_1.PivotTable {}
17
18
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/PivotTable-all.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAC1C,6CAQsB;AACtB,mEAA4E;AAC5E,oEAS8C;AAE9C,IAAA,yBAAY,GAAE,CAAC;AACf,IAAA,6BAAgB,GAAE,CAAC;AACnB,IAAA,2BAAc,GAAE,CAAC;AACjB,IAAA,yBAAY,GAAE,CAAC;AACf,IAAA,0BAAa,GAAE,CAAC;AAChB,IAAA,4BAAe,GAAE,CAAC;AAClB,IAAA,iDAA6B,GAAE,CAAC;AAChC,IAAA,8BAAiB,GAAE,CAAC;AACpB,IAAA,gCAAoB,GAAE,CAAC;AACvB,IAAA,6BAAiB,GAAE,CAAC;AACpB,IAAA,mCAAuB,GAAE,CAAC;AAC1B,IAAA,6BAAiB,GAAE,CAAC;AACpB,IAAA,iCAAqB,GAAE,CAAC;AACxB,IAAA,4BAAgB,GAAE,CAAC;AACnB,IAAA,6BAAiB,GAAE,CAAC;AAEpB,MAAa,aAAc,SAAQ,uBAAU;CAAG;AAAhD,sCAAgD","file":"PivotTable-all.js","sourcesContent":["import { PivotTable } from './PivotTable';\nimport {\n registerAxis,\n registerEmptyTip,\n registerLegend,\n registerMenu,\n registerTitle,\n registerTooltip,\n registerAnimation\n} from './components';\nimport { registerCustomCellStylePlugin } from './plugins/custom-cell-style';\nimport {\n registerChartCell,\n registerCheckboxCell,\n registerImageCell,\n registerProgressBarCell,\n registerRadioCell,\n registerSparkLineCell,\n registerTextCell,\n registerVideoCell\n} from './scenegraph/group-creater/cell-type';\n\nregisterAxis();\nregisterEmptyTip();\nregisterLegend();\nregisterMenu();\nregisterTitle();\nregisterTooltip();\nregisterCustomCellStylePlugin();\nregisterAnimation();\nregisterCheckboxCell();\nregisterImageCell();\nregisterProgressBarCell();\nregisterRadioCell();\nregisterSparkLineCell();\nregisterTextCell();\nregisterVideoCell();\n\nexport class PivotTableAll extends PivotTable {}\n"]}
1
+ {"version":3,"sources":["../src/PivotTable-all.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAC1C,6CAQsB;AACtB,mEAA4E;AAC5E,oEAU8C;AAE9C,IAAA,yBAAY,GAAE,CAAC;AACf,IAAA,6BAAgB,GAAE,CAAC;AACnB,IAAA,2BAAc,GAAE,CAAC;AACjB,IAAA,yBAAY,GAAE,CAAC;AACf,IAAA,0BAAa,GAAE,CAAC;AAChB,IAAA,4BAAe,GAAE,CAAC;AAClB,IAAA,iDAA6B,GAAE,CAAC;AAChC,IAAA,8BAAiB,GAAE,CAAC;AACpB,IAAA,6BAAiB,GAAE,CAAC;AACpB,IAAA,gCAAoB,GAAE,CAAC;AACvB,IAAA,6BAAiB,GAAE,CAAC;AACpB,IAAA,mCAAuB,GAAE,CAAC;AAC1B,IAAA,6BAAiB,GAAE,CAAC;AACpB,IAAA,iCAAqB,GAAE,CAAC;AACxB,IAAA,4BAAgB,GAAE,CAAC;AACnB,IAAA,6BAAiB,GAAE,CAAC;AAEpB,MAAa,aAAc,SAAQ,uBAAU;CAAG;AAAhD,sCAAgD","file":"PivotTable-all.js","sourcesContent":["import { PivotTable } from './PivotTable';\nimport {\n registerAxis,\n registerEmptyTip,\n registerLegend,\n registerMenu,\n registerTitle,\n registerTooltip,\n registerAnimation\n} from './components';\nimport { registerCustomCellStylePlugin } from './plugins/custom-cell-style';\nimport {\n registerAudioCell,\n registerChartCell,\n registerCheckboxCell,\n registerImageCell,\n registerProgressBarCell,\n registerRadioCell,\n registerSparkLineCell,\n registerTextCell,\n registerVideoCell\n} from './scenegraph/group-creater/cell-type';\n\nregisterAxis();\nregisterEmptyTip();\nregisterLegend();\nregisterMenu();\nregisterTitle();\nregisterTooltip();\nregisterCustomCellStylePlugin();\nregisterAnimation();\nregisterAudioCell();\nregisterCheckboxCell();\nregisterImageCell();\nregisterProgressBarCell();\nregisterRadioCell();\nregisterSparkLineCell();\nregisterTextCell();\nregisterVideoCell();\n\nexport class PivotTableAll extends PivotTable {}\n"]}
@@ -92,7 +92,7 @@ export declare class PivotTable extends BaseTable implements PivotTableAPI {
92
92
  getEditor(col: number, row: number): IEditor<any, any>;
93
93
  isHasEditorDefine(col: number, row: number): boolean;
94
94
  changeCellValue(col: number, row: number, value: string | undefined, workOnEditableCell?: boolean): void;
95
- changeCellValues(startCol: number, startRow: number, values: string[][], workOnEditableCell?: boolean): void;
95
+ changeCellValues(startCol: number, startRow: number, values: (string | number)[][], workOnEditableCell?: boolean, triggerEvent?: boolean, _noTriggerChangeCellValuesEvent?: boolean, shouldCancel?: () => boolean): boolean[][];
96
96
  private _changeCellValueToDataSet;
97
97
  _hasCustomRenderOrLayout(): boolean;
98
98
  changeRecordOrder(source: number, target: number): void;
package/cjs/PivotTable.js CHANGED
@@ -269,27 +269,27 @@ class PivotTable extends BaseTable_1.BaseTable {
269
269
  if (cellDimensionPath) {
270
270
  let indicatorPosition;
271
271
  const colKeys = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual)).map(((colPath, index) => {
272
- var _a;
272
+ var _a, _b;
273
273
  return colPath.indicatorKey && (indicatorPosition = {
274
274
  position: "col",
275
275
  index: index
276
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
276
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
277
277
  })), rowKeys = null === (_c = cellDimensionPath.rowHeaderPaths) || void 0 === _c ? void 0 : _c.filter((path => !path.virtual)).map(((rowPath, index) => {
278
- var _a;
278
+ var _a, _b;
279
279
  return rowPath.indicatorKey && (indicatorPosition = {
280
280
  position: "row",
281
281
  index: index
282
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
282
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
283
283
  })), aggregator = this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !0, indicatorPosition);
284
284
  if (aggregator.records && aggregator.records.length >= 1) return aggregator.records[0][field];
285
285
  }
286
286
  } else if (this.flatDataToObjects) {
287
287
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
288
- var _a;
289
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
288
+ var _a, _b;
289
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
290
290
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
291
- var _a;
292
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
291
+ var _a, _b;
292
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
293
293
  })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, !1);
294
294
  if (null == treeNode ? void 0 : treeNode.record) return null == treeNode ? void 0 : treeNode.record[field];
295
295
  }
@@ -324,27 +324,27 @@ class PivotTable extends BaseTable_1.BaseTable {
324
324
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
325
325
  let indicatorPosition;
326
326
  const colKeys = null === (_c = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual))) || void 0 === _c ? void 0 : _c.map(((colPath, index) => {
327
- var _a;
327
+ var _a, _b;
328
328
  return colPath.indicatorKey && (indicatorPosition = {
329
329
  position: "col",
330
330
  index: index
331
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
331
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
332
332
  })), rowKeys = null === (_e = null === (_d = cellDimensionPath.rowHeaderPaths) || void 0 === _d ? void 0 : _d.filter((path => !path.virtual))) || void 0 === _e ? void 0 : _e.map(((rowPath, index) => {
333
- var _a;
333
+ var _a, _b;
334
334
  return rowPath.indicatorKey && (indicatorPosition = {
335
335
  position: "row",
336
336
  index: index
337
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
337
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
338
338
  })), aggregator = this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !0, indicatorPosition), {fieldFormat: fieldFormat} = this.internalProps.layoutMap.getBody(col, row);
339
339
  return aggregator.formatValue ? aggregator.formatValue(col, row, this) : "function" == typeof fieldFormat ? fieldFormat(null == aggregator ? void 0 : aggregator.value(), col, row, this) : null !== (_f = null == aggregator ? void 0 : aggregator.value()) && void 0 !== _f ? _f : "";
340
340
  }
341
341
  if (this.flatDataToObjects) {
342
342
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
343
- var _a;
344
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
343
+ var _a, _b;
344
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
345
345
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
346
- var _a;
347
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
346
+ var _a, _b;
347
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
348
348
  })), valueNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey), {fieldFormat: fieldFormat} = this.internalProps.layoutMap.getBody(col, row);
349
349
  return "function" == typeof fieldFormat ? fieldFormat(null == valueNode ? void 0 : valueNode.value, col, row, this) : null !== (_g = null == valueNode ? void 0 : valueNode.value) && void 0 !== _g ? _g : "";
350
350
  }
@@ -363,27 +363,27 @@ class PivotTable extends BaseTable_1.BaseTable {
363
363
  if (this.dataset) {
364
364
  let indicatorPosition;
365
365
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual)).map(((colPath, index) => {
366
- var _a;
366
+ var _a, _b;
367
367
  return colPath.indicatorKey && (indicatorPosition = {
368
368
  position: "col",
369
369
  index: index
370
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
370
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
371
371
  })), rowKeys = null === (_c = cellDimensionPath.rowHeaderPaths) || void 0 === _c ? void 0 : _c.filter((path => !path.virtual)).map(((rowPath, index) => {
372
- var _a;
372
+ var _a, _b;
373
373
  return rowPath.indicatorKey && (indicatorPosition = {
374
374
  position: "row",
375
375
  index: index
376
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
376
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
377
377
  })), aggregator = this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !0, indicatorPosition);
378
378
  return aggregator.value ? aggregator.value() : void 0;
379
379
  }
380
380
  if (this.flatDataToObjects) {
381
381
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
382
- var _a;
383
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
382
+ var _a, _b;
383
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
384
384
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
385
- var _a;
386
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
385
+ var _a, _b;
386
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
387
387
  })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey);
388
388
  return null == treeNode ? void 0 : treeNode.value;
389
389
  }
@@ -402,27 +402,27 @@ class PivotTable extends BaseTable_1.BaseTable {
402
402
  if (this.dataset) {
403
403
  let indicatorPosition;
404
404
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual)).map(((colPath, index) => {
405
- var _a;
405
+ var _a, _b;
406
406
  return colPath.indicatorKey && (indicatorPosition = {
407
407
  position: "col",
408
408
  index: index
409
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
409
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
410
410
  })), rowKeys = null === (_c = cellDimensionPath.rowHeaderPaths) || void 0 === _c ? void 0 : _c.filter((path => !path.virtual)).map(((rowPath, index) => {
411
- var _a;
411
+ var _a, _b;
412
412
  return rowPath.indicatorKey && (indicatorPosition = {
413
413
  position: "row",
414
414
  index: index
415
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
415
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
416
416
  })), aggregator = this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !1, indicatorPosition);
417
417
  return aggregator.value ? aggregator.value() : void 0;
418
418
  }
419
419
  if (this.flatDataToObjects) {
420
420
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
421
- var _a;
422
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
421
+ var _a, _b;
422
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
423
423
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
424
- var _a;
425
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
424
+ var _a, _b;
425
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
426
426
  })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, !1);
427
427
  return null == treeNode ? void 0 : treeNode.value;
428
428
  }
@@ -437,27 +437,27 @@ class PivotTable extends BaseTable_1.BaseTable {
437
437
  if (this.dataset) {
438
438
  let indicatorPosition;
439
439
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual)).map(((colPath, index) => {
440
- var _a;
440
+ var _a, _b;
441
441
  return colPath.indicatorKey && (indicatorPosition = {
442
442
  position: "col",
443
443
  index: index
444
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
444
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
445
445
  })), rowKeys = null === (_c = cellDimensionPath.rowHeaderPaths) || void 0 === _c ? void 0 : _c.filter((path => !path.virtual)).map(((rowPath, index) => {
446
- var _a;
446
+ var _a, _b;
447
447
  return rowPath.indicatorKey && (indicatorPosition = {
448
448
  position: "row",
449
449
  index: index
450
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
450
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
451
451
  }));
452
452
  return this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !0, indicatorPosition).records;
453
453
  }
454
454
  if (this.flatDataToObjects) {
455
455
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
456
- var _a;
457
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
456
+ var _a, _b;
457
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
458
458
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
459
- var _a;
460
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
459
+ var _a, _b;
460
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
461
461
  })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey);
462
462
  return null == treeNode ? void 0 : treeNode.record;
463
463
  }
@@ -473,27 +473,27 @@ class PivotTable extends BaseTable_1.BaseTable {
473
473
  if (this.dataset) {
474
474
  let indicatorPosition;
475
475
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = null === (_b = cellDimensionPath.colHeaderPaths) || void 0 === _b ? void 0 : _b.filter((path => !path.virtual)).map(((colPath, index) => {
476
- var _a;
476
+ var _a, _b;
477
477
  return colPath.indicatorKey && (indicatorPosition = {
478
478
  position: "col",
479
479
  index: index
480
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
480
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
481
481
  })), rowKeys = null === (_c = cellDimensionPath.rowHeaderPaths) || void 0 === _c ? void 0 : _c.filter((path => !path.virtual)).map(((rowPath, index) => {
482
- var _a;
482
+ var _a, _b;
483
483
  return rowPath.indicatorKey && (indicatorPosition = {
484
484
  position: "row",
485
485
  index: index
486
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
486
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
487
487
  }));
488
488
  return this.dataset.getAggregator(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), !1, indicatorPosition).records;
489
489
  }
490
490
  if (this.flatDataToObjects) {
491
491
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
492
- var _a;
493
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
492
+ var _a, _b;
493
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
494
494
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
495
- var _a;
496
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
495
+ var _a, _b;
496
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
497
497
  })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, !1);
498
498
  return null == treeNode ? void 0 : treeNode.record;
499
499
  }
@@ -915,8 +915,10 @@ class PivotTable extends BaseTable_1.BaseTable {
915
915
  }), this.scenegraph.updateNextFrame();
916
916
  }
917
917
  }
918
- changeCellValues(startCol, startRow, values, workOnEditableCell = !1) {
918
+ changeCellValues(startCol, startRow, values, workOnEditableCell = !1, triggerEvent = !0, _noTriggerChangeCellValuesEvent, shouldCancel) {
919
919
  var _a, _b;
920
+ const changedCellResults = [];
921
+ if (null == shouldCancel ? void 0 : shouldCancel()) return changedCellResults;
920
922
  let pasteColEnd = startCol, pasteRowEnd = startRow;
921
923
  const beforeChangeValues = [], oldValues = [];
922
924
  for (let i = 0; i < values.length && !(startRow + i > this.rowCount - 1); i++) {
@@ -930,7 +932,7 @@ class PivotTable extends BaseTable_1.BaseTable {
930
932
  }
931
933
  }
932
934
  for (let i = 0; i < values.length && !(startRow + i > this.rowCount - 1); i++) {
933
- pasteRowEnd = startRow + i;
935
+ changedCellResults[i] = [], pasteRowEnd = startRow + i;
934
936
  const rowValues = values[i];
935
937
  let thisRowPasteColEnd = startCol;
936
938
  for (let j = 0; j < rowValues.length && !(startCol + j > this.colCount - 1); j++) if (thisRowPasteColEnd = startCol + j,
@@ -938,17 +940,17 @@ class PivotTable extends BaseTable_1.BaseTable {
938
940
  const value = rowValues[j];
939
941
  let newValue = value;
940
942
  const oldValue = oldValues[i][j], rawValue = beforeChangeValues[i][j];
941
- "number" == typeof rawValue && (0, util_1.isAllDigits)(value) && (newValue = parseFloat(value)),
942
- this._changeCellValueToDataSet(startCol + j, startRow + i, oldValue, newValue);
943
+ "number" == typeof rawValue && "string" == typeof value && (0, util_1.isAllDigits)(value) && (newValue = parseFloat(value)),
944
+ changedCellResults[i][j] = !0, this._changeCellValueToDataSet(startCol + j, startRow + i, oldValue, newValue);
943
945
  const changedValue = this.getCellOriginValue(startCol + j, startRow + i);
944
- changedValue !== oldValue && this.fireListeners(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.CHANGE_CELL_VALUE, {
946
+ changedValue !== oldValue && triggerEvent && this.fireListeners(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.CHANGE_CELL_VALUE, {
945
947
  col: startCol + j,
946
948
  row: startRow + i,
947
949
  rawValue: rawValue,
948
950
  currentValue: oldValue,
949
951
  changedValue: changedValue
950
952
  });
951
- }
953
+ } else changedCellResults[i][j] = !1;
952
954
  pasteColEnd = Math.max(pasteColEnd, thisRowPasteColEnd);
953
955
  }
954
956
  const startRange = this.getCellRange(startCol, startRow), range = this.getCellRange(pasteColEnd, pasteRowEnd);
@@ -966,7 +968,7 @@ class PivotTable extends BaseTable_1.BaseTable {
966
968
  }
967
969
  this.scenegraph.updateRowsHeight(rows, deltaYs);
968
970
  }
969
- this.scenegraph.updateNextFrame();
971
+ return this.scenegraph.updateNextFrame(), changedCellResults;
970
972
  }
971
973
  _changeCellValueToDataSet(col, row, oldValue, newValue) {
972
974
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -979,17 +981,17 @@ class PivotTable extends BaseTable_1.BaseTable {
979
981
  !this.isCornerHeader(col, row) && this.dataset.changeRecordFieldValue((null === (_a = cellDimensionPath.colHeaderPaths) || void 0 === _a ? void 0 : _a.length) ? null !== (_b = cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].indicatorKey) && void 0 !== _b ? _b : cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].dimensionKey : null !== (_c = cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].indicatorKey) && void 0 !== _c ? _c : cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].dimensionKey, oldValue, newValue); else {
980
982
  let indicatorPosition;
981
983
  const colKeys = null === (_d = cellDimensionPath.colHeaderPaths) || void 0 === _d ? void 0 : _d.filter((path => !path.virtual)).map(((colPath, index) => {
982
- var _a;
984
+ var _a, _b;
983
985
  return colPath.indicatorKey && (indicatorPosition = {
984
986
  position: "col",
985
987
  index: index
986
- }), null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
988
+ }), null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
987
989
  })), rowKeys = null === (_e = cellDimensionPath.rowHeaderPaths) || void 0 === _e ? void 0 : _e.filter((path => !path.virtual)).map(((rowPath, index) => {
988
- var _a;
990
+ var _a, _b;
989
991
  return rowPath.indicatorKey && (indicatorPosition = {
990
992
  position: "row",
991
993
  index: index
992
- }), null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
994
+ }), null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
993
995
  }));
994
996
  this.dataset.changeTreeNodeValue(rowKeys, colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), newValue, indicatorPosition);
995
997
  }
@@ -998,11 +1000,11 @@ class PivotTable extends BaseTable_1.BaseTable {
998
1000
  if (this.isHeader(col, row)) this.internalProps.layoutMap.changeTreeNodeTitle(col, row, newValue),
999
1001
  !this.isCornerHeader(col, row) && this.flatDataToObjects.changeRecordFieldValue((null === (_f = cellDimensionPath.colHeaderPaths) || void 0 === _f ? void 0 : _f.length) ? null !== (_g = cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].indicatorKey) && void 0 !== _g ? _g : cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].dimensionKey : null !== (_h = cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].indicatorKey) && void 0 !== _h ? _h : cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].dimensionKey, oldValue, newValue); else {
1000
1002
  const colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
1001
- var _a;
1002
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
1003
+ var _a, _b;
1004
+ return null !== (_b = null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.dataValue) && void 0 !== _b ? _b : colPath.value;
1003
1005
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
1004
- var _a;
1005
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
1006
+ var _a, _b;
1007
+ return null !== (_b = null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.dataValue) && void 0 !== _b ? _b : rowPath.value;
1006
1008
  }));
1007
1009
  this.flatDataToObjects.changeTreeNodeValue(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, newValue);
1008
1010
  }