@visactor/vtable 0.10.1-alpha.3 → 0.10.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 (257) hide show
  1. package/cjs/ListTable.js +1 -1
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotChart.js +1 -1
  4. package/cjs/PivotChart.js.map +1 -1
  5. package/cjs/PivotTable.js +1 -1
  6. package/cjs/PivotTable.js.map +1 -1
  7. package/cjs/body-helper/body-helper.d.ts +1 -1
  8. package/cjs/body-helper/body-helper.js +2 -2
  9. package/cjs/body-helper/body-helper.js.map +1 -1
  10. package/cjs/components/axis/axis.js +7 -5
  11. package/cjs/components/axis/axis.js.map +1 -1
  12. package/cjs/components/axis/get-axis-attributes.d.ts +2 -0
  13. package/cjs/components/axis/get-axis-attributes.js +3 -1
  14. package/cjs/components/axis/get-axis-attributes.js.map +1 -1
  15. package/cjs/components/axis/get-axis-component-size.js +66 -34
  16. package/cjs/components/axis/get-axis-component-size.js.map +1 -1
  17. package/cjs/components/menu/dom/logic/MenuContainer.js +1 -1
  18. package/cjs/components/menu/dom/logic/MenuContainer.js.map +1 -1
  19. package/cjs/components/menu/dom/logic/MenuElement.js +3 -3
  20. package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -1
  21. package/cjs/core/BaseTable.d.ts +2 -2
  22. package/cjs/core/BaseTable.js +12 -11
  23. package/cjs/core/BaseTable.js.map +1 -1
  24. package/cjs/event/media-click.js +1 -1
  25. package/cjs/event/media-click.js.map +1 -1
  26. package/cjs/event/sparkline-event.js +2 -2
  27. package/cjs/event/sparkline-event.js.map +1 -1
  28. package/cjs/index.d.ts +1 -1
  29. package/cjs/index.js +1 -1
  30. package/cjs/index.js.map +1 -1
  31. package/cjs/layout/chart-helper/get-axis-config.js +12 -4
  32. package/cjs/layout/chart-helper/get-axis-config.js.map +1 -1
  33. package/cjs/layout/chart-helper/get-chart-spec.js +7 -1
  34. package/cjs/layout/chart-helper/get-chart-spec.js.map +1 -1
  35. package/cjs/layout/pivot-header-layout.d.ts +2 -2
  36. package/cjs/layout/pivot-header-layout.js +8 -8
  37. package/cjs/layout/pivot-header-layout.js.map +1 -1
  38. package/cjs/layout/pivot-layout.d.ts +2 -2
  39. package/cjs/layout/pivot-layout.js +10 -10
  40. package/cjs/layout/pivot-layout.js.map +1 -1
  41. package/cjs/layout/simple-header-layout.d.ts +2 -2
  42. package/cjs/layout/simple-header-layout.js +3 -3
  43. package/cjs/layout/simple-header-layout.js.map +1 -1
  44. package/cjs/scenegraph/component/cell-mover.js +3 -3
  45. package/cjs/scenegraph/component/cell-mover.js.map +1 -1
  46. package/cjs/scenegraph/component/menu.d.ts +41 -0
  47. package/cjs/scenegraph/group-creater/cell-helper.js +5 -5
  48. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  49. package/cjs/scenegraph/group-creater/column-helper.d.ts +2 -2
  50. package/cjs/scenegraph/group-creater/column-helper.js +4 -4
  51. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  52. package/cjs/scenegraph/group-creater/column.d.ts +2 -2
  53. package/cjs/scenegraph/group-creater/column.js +2 -2
  54. package/cjs/scenegraph/group-creater/column.js.map +1 -1
  55. package/cjs/scenegraph/group-creater/progress/proxy.d.ts +2 -1
  56. package/cjs/scenegraph/group-creater/progress/proxy.js +8 -21
  57. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
  58. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
  59. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js +52 -0
  60. package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
  61. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
  62. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js +52 -0
  63. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
  64. package/cjs/scenegraph/layout/compute-col-width.js +1 -1
  65. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  66. package/cjs/scenegraph/layout/compute-row-height.d.ts +1 -1
  67. package/cjs/scenegraph/layout/compute-row-height.js +14 -7
  68. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  69. package/cjs/scenegraph/layout/move-cell.js +1 -1
  70. package/cjs/scenegraph/layout/move-cell.js.map +1 -1
  71. package/cjs/scenegraph/layout/update-cell.js +1 -1
  72. package/cjs/scenegraph/layout/update-cell.js.map +1 -1
  73. package/cjs/scenegraph/layout/update-height.js +1 -1
  74. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  75. package/cjs/scenegraph/layout/update-width.js +1 -1
  76. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  77. package/cjs/scenegraph/scenegraph.d.ts +4 -4
  78. package/cjs/scenegraph/scenegraph.js +5 -8
  79. package/cjs/scenegraph/scenegraph.js.map +1 -1
  80. package/cjs/scenegraph/select/create-select-border.d.ts +2 -2
  81. package/cjs/scenegraph/select/create-select-border.js.map +1 -1
  82. package/cjs/scenegraph/select/delete-select-border.js.map +1 -1
  83. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  84. package/cjs/state/cell-move/index.js +3 -3
  85. package/cjs/state/cell-move/index.js.map +1 -1
  86. package/cjs/state/drill/index.js +1 -1
  87. package/cjs/state/drill/index.js.map +1 -1
  88. package/cjs/state/state.js +1 -1
  89. package/cjs/state/state.js.map +1 -1
  90. package/cjs/ts-types/base-table.d.ts +2 -2
  91. package/cjs/ts-types/base-table.js.map +1 -1
  92. package/cjs/ts-types/common.d.ts +3 -3
  93. package/cjs/ts-types/common.js.map +1 -1
  94. package/cjs/ts-types/events.d.ts +2 -2
  95. package/cjs/ts-types/events.js.map +1 -1
  96. package/cjs/ts-types/list-table/define/basic-define.js.map +1 -1
  97. package/cjs/ts-types/list-table/define/chart-define.d.ts +1 -1
  98. package/cjs/ts-types/list-table/define/chart-define.js.map +1 -1
  99. package/cjs/ts-types/list-table/define/image-define.d.ts +1 -1
  100. package/cjs/ts-types/list-table/define/image-define.js.map +1 -1
  101. package/cjs/ts-types/list-table/define/link-define.d.ts +1 -1
  102. package/cjs/ts-types/list-table/define/link-define.js.map +1 -1
  103. package/cjs/ts-types/list-table/define/multilinetext-define.d.ts +1 -1
  104. package/cjs/ts-types/list-table/define/multilinetext-define.js.map +1 -1
  105. package/cjs/ts-types/list-table/define/progressbar-define.d.ts +1 -1
  106. package/cjs/ts-types/list-table/define/progressbar-define.js.map +1 -1
  107. package/cjs/ts-types/list-table/define/sparkline-define.d.ts +1 -1
  108. package/cjs/ts-types/list-table/define/sparkline-define.js.map +1 -1
  109. package/cjs/ts-types/list-table/layout-map/api.d.ts +2 -2
  110. package/cjs/ts-types/list-table/layout-map/api.js.map +1 -1
  111. package/cjs/ts-types/menu.d.ts +2 -2
  112. package/cjs/ts-types/menu.js.map +1 -1
  113. package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  114. package/cjs/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
  115. package/cjs/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
  116. package/cjs/ts-types/pivot-table/indicator/image-indicator.d.ts +1 -1
  117. package/cjs/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
  118. package/cjs/ts-types/pivot-table/indicator/link-indicator.d.ts +1 -1
  119. package/cjs/ts-types/pivot-table/indicator/link-indicator.js.map +1 -1
  120. package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +1 -1
  121. package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -1
  122. package/cjs/ts-types/pivot-table/indicator/progress-indicator.d.ts +1 -1
  123. package/cjs/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -1
  124. package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +1 -1
  125. package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -1
  126. package/cjs/ts-types/table-engine.d.ts +1 -1
  127. package/cjs/ts-types/table-engine.js.map +1 -1
  128. package/dist/vtable.js +1723 -1994
  129. package/dist/vtable.min.js +3 -3
  130. package/es/ListTable.js +1 -1
  131. package/es/ListTable.js.map +1 -1
  132. package/es/PivotChart.js +1 -1
  133. package/es/PivotChart.js.map +1 -1
  134. package/es/PivotTable.js +1 -1
  135. package/es/PivotTable.js.map +1 -1
  136. package/es/body-helper/body-helper.d.ts +1 -1
  137. package/es/body-helper/body-helper.js +2 -2
  138. package/es/body-helper/body-helper.js.map +1 -1
  139. package/es/components/axis/axis.js +7 -6
  140. package/es/components/axis/axis.js.map +1 -1
  141. package/es/components/axis/get-axis-attributes.d.ts +2 -0
  142. package/es/components/axis/get-axis-attributes.js +3 -1
  143. package/es/components/axis/get-axis-attributes.js.map +1 -1
  144. package/es/components/axis/get-axis-component-size.js +66 -34
  145. package/es/components/axis/get-axis-component-size.js.map +1 -1
  146. package/es/components/menu/dom/logic/MenuContainer.js +1 -1
  147. package/es/components/menu/dom/logic/MenuContainer.js.map +1 -1
  148. package/es/components/menu/dom/logic/MenuElement.js +3 -3
  149. package/es/components/menu/dom/logic/MenuElement.js.map +1 -1
  150. package/es/core/BaseTable.d.ts +2 -2
  151. package/es/core/BaseTable.js +12 -11
  152. package/es/core/BaseTable.js.map +1 -1
  153. package/es/event/media-click.js +1 -1
  154. package/es/event/media-click.js.map +1 -1
  155. package/es/event/sparkline-event.js +2 -2
  156. package/es/event/sparkline-event.js.map +1 -1
  157. package/es/index.d.ts +1 -1
  158. package/es/index.js +1 -1
  159. package/es/index.js.map +1 -1
  160. package/es/layout/chart-helper/get-axis-config.js +13 -5
  161. package/es/layout/chart-helper/get-axis-config.js.map +1 -1
  162. package/es/layout/chart-helper/get-chart-spec.js +7 -1
  163. package/es/layout/chart-helper/get-chart-spec.js.map +1 -1
  164. package/es/layout/pivot-header-layout.d.ts +2 -2
  165. package/es/layout/pivot-header-layout.js +8 -8
  166. package/es/layout/pivot-header-layout.js.map +1 -1
  167. package/es/layout/pivot-layout.d.ts +2 -2
  168. package/es/layout/pivot-layout.js +10 -10
  169. package/es/layout/pivot-layout.js.map +1 -1
  170. package/es/layout/simple-header-layout.d.ts +2 -2
  171. package/es/layout/simple-header-layout.js +3 -3
  172. package/es/layout/simple-header-layout.js.map +1 -1
  173. package/es/scenegraph/component/cell-mover.js +3 -3
  174. package/es/scenegraph/component/cell-mover.js.map +1 -1
  175. package/es/scenegraph/component/menu.d.ts +41 -0
  176. package/es/scenegraph/group-creater/cell-helper.js +5 -5
  177. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  178. package/es/scenegraph/group-creater/column-helper.d.ts +2 -2
  179. package/es/scenegraph/group-creater/column-helper.js +4 -4
  180. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  181. package/es/scenegraph/group-creater/column.d.ts +2 -2
  182. package/es/scenegraph/group-creater/column.js +2 -2
  183. package/es/scenegraph/group-creater/column.js.map +1 -1
  184. package/es/scenegraph/group-creater/progress/proxy.d.ts +2 -1
  185. package/es/scenegraph/group-creater/progress/proxy.js +11 -20
  186. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  187. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
  188. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js +45 -0
  189. package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
  190. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
  191. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js +47 -0
  192. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
  193. package/es/scenegraph/layout/compute-col-width.js +1 -1
  194. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  195. package/es/scenegraph/layout/compute-row-height.d.ts +1 -1
  196. package/es/scenegraph/layout/compute-row-height.js +14 -7
  197. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  198. package/es/scenegraph/layout/move-cell.js +1 -1
  199. package/es/scenegraph/layout/move-cell.js.map +1 -1
  200. package/es/scenegraph/layout/update-cell.js +1 -1
  201. package/es/scenegraph/layout/update-cell.js.map +1 -1
  202. package/es/scenegraph/layout/update-height.js +1 -1
  203. package/es/scenegraph/layout/update-height.js.map +1 -1
  204. package/es/scenegraph/layout/update-width.js +1 -1
  205. package/es/scenegraph/layout/update-width.js.map +1 -1
  206. package/es/scenegraph/scenegraph.d.ts +4 -4
  207. package/es/scenegraph/scenegraph.js +5 -7
  208. package/es/scenegraph/scenegraph.js.map +1 -1
  209. package/es/scenegraph/select/create-select-border.d.ts +2 -2
  210. package/es/scenegraph/select/create-select-border.js.map +1 -1
  211. package/es/scenegraph/select/delete-select-border.js.map +1 -1
  212. package/es/scenegraph/select/update-select-border.js.map +1 -1
  213. package/es/state/cell-move/index.js +3 -3
  214. package/es/state/cell-move/index.js.map +1 -1
  215. package/es/state/drill/index.js +1 -1
  216. package/es/state/drill/index.js.map +1 -1
  217. package/es/state/state.js +1 -1
  218. package/es/state/state.js.map +1 -1
  219. package/es/ts-types/base-table.d.ts +2 -2
  220. package/es/ts-types/base-table.js.map +1 -1
  221. package/es/ts-types/common.d.ts +3 -3
  222. package/es/ts-types/common.js.map +1 -1
  223. package/es/ts-types/events.d.ts +2 -2
  224. package/es/ts-types/events.js.map +1 -1
  225. package/es/ts-types/list-table/define/basic-define.js.map +1 -1
  226. package/es/ts-types/list-table/define/chart-define.d.ts +1 -1
  227. package/es/ts-types/list-table/define/chart-define.js.map +1 -1
  228. package/es/ts-types/list-table/define/image-define.d.ts +1 -1
  229. package/es/ts-types/list-table/define/image-define.js.map +1 -1
  230. package/es/ts-types/list-table/define/link-define.d.ts +1 -1
  231. package/es/ts-types/list-table/define/link-define.js.map +1 -1
  232. package/es/ts-types/list-table/define/multilinetext-define.d.ts +1 -1
  233. package/es/ts-types/list-table/define/multilinetext-define.js.map +1 -1
  234. package/es/ts-types/list-table/define/progressbar-define.d.ts +1 -1
  235. package/es/ts-types/list-table/define/progressbar-define.js.map +1 -1
  236. package/es/ts-types/list-table/define/sparkline-define.d.ts +1 -1
  237. package/es/ts-types/list-table/define/sparkline-define.js.map +1 -1
  238. package/es/ts-types/list-table/layout-map/api.d.ts +2 -2
  239. package/es/ts-types/list-table/layout-map/api.js.map +1 -1
  240. package/es/ts-types/menu.d.ts +2 -2
  241. package/es/ts-types/menu.js.map +1 -1
  242. package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  243. package/es/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
  244. package/es/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
  245. package/es/ts-types/pivot-table/indicator/image-indicator.d.ts +1 -1
  246. package/es/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
  247. package/es/ts-types/pivot-table/indicator/link-indicator.d.ts +1 -1
  248. package/es/ts-types/pivot-table/indicator/link-indicator.js.map +1 -1
  249. package/es/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +1 -1
  250. package/es/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -1
  251. package/es/ts-types/pivot-table/indicator/progress-indicator.d.ts +1 -1
  252. package/es/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -1
  253. package/es/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +1 -1
  254. package/es/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -1
  255. package/es/ts-types/table-engine.d.ts +1 -1
  256. package/es/ts-types/table-engine.js.map +1 -1
  257. package/package.json +9 -9
@@ -74,7 +74,7 @@ export class BaseTable extends EventTarget {
74
74
  }
75
75
  constructor(container, options = {}) {
76
76
  var _a, _b, _c, _d, _e, _f, _g;
77
- if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.10.1-alpha.3",
77
+ if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.10.1",
78
78
  this.id = `VTable${Date.now()}`, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
79
79
  !container) throw new Error("vtable's container is undefined");
80
80
  const {frozenColCount: frozenColCount = 0, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, keyboardOptions: keyboardOptions, columnResizeMode: columnResizeMode, dragHeaderMode: dragHeaderMode, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount} = options;
@@ -383,7 +383,8 @@ export class BaseTable extends EventTarget {
383
383
  return "number" == typeof width && width <= 0 ? 0 : width || (this.isRowHeader(col, 0) || this.isCornerHeader(col, 0) ? Array.isArray(this.defaultHeaderColWidth) ? null !== (_b = this.defaultHeaderColWidth[col]) && void 0 !== _b ? _b : this.defaultColWidth : this.defaultHeaderColWidth : this.isRightFrozenColumn(col, this.columnHeaderLevelCount) && this.isPivotTable() ? Array.isArray(this.defaultHeaderColWidth) ? null !== (_c = this.defaultHeaderColWidth[this.rowHeaderLevelCount - this.rightFrozenColCount]) && void 0 !== _c ? _c : this.defaultColWidth : this.defaultHeaderColWidth : this.defaultColWidth);
384
384
  }
385
385
  getColWidth(col) {
386
- const width = this.colWidthsMap.get(col);
386
+ var _a;
387
+ const width = null !== (_a = this.colWidthsMap.get(col)) && void 0 !== _a ? _a : 0;
387
388
  return "adaptive" === this.widthMode && "number" == typeof width || this.transpose && "number" == typeof width ? this._colWidthDefineToPxWidth(width) : this._adjustColWidth(col, this._colWidthDefineToPxWidth(width));
388
389
  }
389
390
  setColWidth(col, width, clearCache, skipCheckFrozen) {
@@ -916,7 +917,7 @@ export class BaseTable extends EventTarget {
916
917
  return null == body ? void 0 : body.define;
917
918
  }
918
919
  getBodyColumnType(col, row) {
919
- return this.internalProps.layoutMap.getBody(col, row).columnType;
920
+ return this.internalProps.layoutMap.getBody(col, row).cellType;
920
921
  }
921
922
  getHeaderField(col, row) {
922
923
  return this.internalProps.layoutMap.getHeaderField(col, row);
@@ -928,8 +929,8 @@ export class BaseTable extends EventTarget {
928
929
  const hd = this.internalProps.layoutMap.getHeader(col, row);
929
930
  return null == hd ? void 0 : hd.define;
930
931
  }
931
- getCellType(col, row) {
932
- return this.internalProps.layoutMap.getCellType(col, row);
932
+ getCellLocation(col, row) {
933
+ return this.internalProps.layoutMap.getCellLocation(col, row);
933
934
  }
934
935
  getCellHeaderPaths(col, row) {
935
936
  return this.internalProps.layoutMap.getCellHeaderPaths(col, row);
@@ -1049,7 +1050,7 @@ export class BaseTable extends EventTarget {
1049
1050
  field: this.getHeaderField(col, row),
1050
1051
  cellHeaderPaths: this.internalProps.layoutMap.getCellHeaderPaths(col, row),
1051
1052
  title: colDef.title,
1052
- columnType: colDef.columnType ? "string" == typeof colDef.columnType ? colDef.columnType : "progressbar" : "text",
1053
+ cellType: colDef.cellType ? "string" == typeof colDef.cellType ? colDef.cellType : "progressbar" : "text",
1053
1054
  originData: this.getCellOriginRecord(col, row),
1054
1055
  cellRange: this.getCellRangeRelativeRect({
1055
1056
  col: col,
@@ -1057,7 +1058,7 @@ export class BaseTable extends EventTarget {
1057
1058
  }),
1058
1059
  value: this.getCellValue(col, row),
1059
1060
  dataValue: this.getCellOriginValue(col, row),
1060
- cellType: this.getCellType(col, row),
1061
+ cellLocation: this.getCellLocation(col, row),
1061
1062
  scaleRatio: this.canvas.getBoundingClientRect().width / this.canvas.offsetWidth
1062
1063
  };
1063
1064
  }
@@ -1106,7 +1107,7 @@ export class BaseTable extends EventTarget {
1106
1107
  cacheKey = this.isListTable() && !this.transpose || this.isPivotTable() && this.internalProps.layoutMap.indicatorsAsCol ? col : row;
1107
1108
  let cacheStyle = this.bodyStyleCache.get(cacheKey);
1108
1109
  if (cacheStyle) return cacheStyle;
1109
- const column = layoutMap.getBody(col, row), styleClass = this.internalProps.bodyHelper.getStyleClass(column.columnType), style = null == column ? void 0 : column.style;
1110
+ const column = layoutMap.getBody(col, row), styleClass = this.internalProps.bodyHelper.getStyleClass(column.cellType), style = null == column ? void 0 : column.style;
1110
1111
  return cacheStyle = columnStyleContents.of(style, this.theme.bodyStyle, {
1111
1112
  col: col,
1112
1113
  row: row,
@@ -1331,7 +1332,7 @@ export class BaseTable extends EventTarget {
1331
1332
  }
1332
1333
  getCustomRender(col, row) {
1333
1334
  let customRender;
1334
- if ("body" !== this.getCellType(col, row)) {
1335
+ if ("body" !== this.getCellLocation(col, row)) {
1335
1336
  const define = this.getHeaderDefine(col, row);
1336
1337
  customRender = null == define ? void 0 : define.headerCustomRender;
1337
1338
  } else {
@@ -1342,7 +1343,7 @@ export class BaseTable extends EventTarget {
1342
1343
  }
1343
1344
  getCustomLayout(col, row) {
1344
1345
  let customLayout;
1345
- if ("body" !== this.getCellType(col, row)) {
1346
+ if ("body" !== this.getCellLocation(col, row)) {
1346
1347
  const define = this.getHeaderDefine(col, row);
1347
1348
  customLayout = null == define ? void 0 : define.headerCustomLayout;
1348
1349
  } else {
@@ -1352,7 +1353,7 @@ export class BaseTable extends EventTarget {
1352
1353
  return customLayout;
1353
1354
  }
1354
1355
  hasAutoImageColumn() {
1355
- return this.internalProps.layoutMap.columnObjects.find((column => !("image" !== column.columnType || !column.define.imageAutoSizing)));
1356
+ return this.internalProps.layoutMap.columnObjects.find((column => !("image" !== column.cellType || !column.define.imageAutoSizing)));
1356
1357
  }
1357
1358
  _getActiveChartInstance() {
1358
1359
  var _a, _b, _c, _d, _e, _f;