@tanstack/table-core 9.0.0-alpha.43 → 9.0.0-alpha.46

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 (518) hide show
  1. package/dist/core/cells/constructCell.cjs +5 -0
  2. package/dist/core/cells/constructCell.cjs.map +1 -1
  3. package/dist/core/cells/constructCell.d.cts +5 -0
  4. package/dist/core/cells/constructCell.d.ts +5 -0
  5. package/dist/core/cells/constructCell.js +5 -0
  6. package/dist/core/cells/constructCell.js.map +1 -1
  7. package/dist/core/cells/coreCellsFeature.cjs +5 -0
  8. package/dist/core/cells/coreCellsFeature.cjs.map +1 -1
  9. package/dist/core/cells/coreCellsFeature.d.cts +5 -0
  10. package/dist/core/cells/coreCellsFeature.d.ts +5 -0
  11. package/dist/core/cells/coreCellsFeature.js +5 -0
  12. package/dist/core/cells/coreCellsFeature.js.map +1 -1
  13. package/dist/core/cells/coreCellsFeature.utils.cjs +30 -0
  14. package/dist/core/cells/coreCellsFeature.utils.cjs.map +1 -1
  15. package/dist/core/cells/coreCellsFeature.utils.d.cts +30 -0
  16. package/dist/core/cells/coreCellsFeature.utils.d.ts +30 -0
  17. package/dist/core/cells/coreCellsFeature.utils.js +30 -0
  18. package/dist/core/cells/coreCellsFeature.utils.js.map +1 -1
  19. package/dist/core/columns/constructColumn.cjs +16 -9
  20. package/dist/core/columns/constructColumn.cjs.map +1 -1
  21. package/dist/core/columns/constructColumn.d.cts +5 -0
  22. package/dist/core/columns/constructColumn.d.ts +5 -0
  23. package/dist/core/columns/constructColumn.js +16 -9
  24. package/dist/core/columns/constructColumn.js.map +1 -1
  25. package/dist/core/columns/coreColumnsFeature.cjs +9 -0
  26. package/dist/core/columns/coreColumnsFeature.cjs.map +1 -1
  27. package/dist/core/columns/coreColumnsFeature.d.cts +5 -0
  28. package/dist/core/columns/coreColumnsFeature.d.ts +5 -0
  29. package/dist/core/columns/coreColumnsFeature.js +10 -1
  30. package/dist/core/columns/coreColumnsFeature.js.map +1 -1
  31. package/dist/core/columns/coreColumnsFeature.types.d.cts +4 -0
  32. package/dist/core/columns/coreColumnsFeature.types.d.ts +4 -0
  33. package/dist/core/columns/coreColumnsFeature.utils.cjs +99 -4
  34. package/dist/core/columns/coreColumnsFeature.utils.cjs.map +1 -1
  35. package/dist/core/columns/coreColumnsFeature.utils.d.cts +92 -1
  36. package/dist/core/columns/coreColumnsFeature.utils.d.ts +92 -1
  37. package/dist/core/columns/coreColumnsFeature.utils.js +99 -5
  38. package/dist/core/columns/coreColumnsFeature.utils.js.map +1 -1
  39. package/dist/core/coreFeatures.cjs +5 -0
  40. package/dist/core/coreFeatures.cjs.map +1 -1
  41. package/dist/core/coreFeatures.d.cts +5 -0
  42. package/dist/core/coreFeatures.d.ts +5 -0
  43. package/dist/core/coreFeatures.js +5 -0
  44. package/dist/core/coreFeatures.js.map +1 -1
  45. package/dist/core/headers/buildHeaderGroups.cjs +6 -1
  46. package/dist/core/headers/buildHeaderGroups.cjs.map +1 -1
  47. package/dist/core/headers/buildHeaderGroups.d.cts +5 -0
  48. package/dist/core/headers/buildHeaderGroups.d.ts +5 -0
  49. package/dist/core/headers/buildHeaderGroups.js +6 -1
  50. package/dist/core/headers/buildHeaderGroups.js.map +1 -1
  51. package/dist/core/headers/constructHeader.cjs +5 -0
  52. package/dist/core/headers/constructHeader.cjs.map +1 -1
  53. package/dist/core/headers/constructHeader.d.cts +5 -0
  54. package/dist/core/headers/constructHeader.d.ts +5 -0
  55. package/dist/core/headers/constructHeader.js +5 -0
  56. package/dist/core/headers/constructHeader.js.map +1 -1
  57. package/dist/core/headers/coreHeadersFeature.cjs +5 -0
  58. package/dist/core/headers/coreHeadersFeature.cjs.map +1 -1
  59. package/dist/core/headers/coreHeadersFeature.d.cts +5 -0
  60. package/dist/core/headers/coreHeadersFeature.d.ts +5 -0
  61. package/dist/core/headers/coreHeadersFeature.js +5 -0
  62. package/dist/core/headers/coreHeadersFeature.js.map +1 -1
  63. package/dist/core/headers/coreHeadersFeature.utils.cjs +71 -2
  64. package/dist/core/headers/coreHeadersFeature.utils.cjs.map +1 -1
  65. package/dist/core/headers/coreHeadersFeature.utils.d.cts +60 -0
  66. package/dist/core/headers/coreHeadersFeature.utils.d.ts +60 -0
  67. package/dist/core/headers/coreHeadersFeature.utils.js +72 -3
  68. package/dist/core/headers/coreHeadersFeature.utils.js.map +1 -1
  69. package/dist/core/reactivity/coreReactivityFeature.utils.cjs +5 -0
  70. package/dist/core/reactivity/coreReactivityFeature.utils.cjs.map +1 -1
  71. package/dist/core/reactivity/coreReactivityFeature.utils.d.cts +10 -0
  72. package/dist/core/reactivity/coreReactivityFeature.utils.d.ts +10 -0
  73. package/dist/core/reactivity/coreReactivityFeature.utils.js +5 -0
  74. package/dist/core/reactivity/coreReactivityFeature.utils.js.map +1 -1
  75. package/dist/core/row-models/coreRowModelsFeature.cjs +5 -0
  76. package/dist/core/row-models/coreRowModelsFeature.cjs.map +1 -1
  77. package/dist/core/row-models/coreRowModelsFeature.d.cts +5 -0
  78. package/dist/core/row-models/coreRowModelsFeature.d.ts +5 -0
  79. package/dist/core/row-models/coreRowModelsFeature.js +5 -0
  80. package/dist/core/row-models/coreRowModelsFeature.js.map +1 -1
  81. package/dist/core/row-models/coreRowModelsFeature.types.d.cts +2 -1
  82. package/dist/core/row-models/coreRowModelsFeature.types.d.ts +2 -1
  83. package/dist/core/row-models/coreRowModelsFeature.utils.cjs +120 -0
  84. package/dist/core/row-models/coreRowModelsFeature.utils.cjs.map +1 -1
  85. package/dist/core/row-models/coreRowModelsFeature.utils.d.cts +120 -0
  86. package/dist/core/row-models/coreRowModelsFeature.utils.d.ts +120 -0
  87. package/dist/core/row-models/coreRowModelsFeature.utils.js +120 -0
  88. package/dist/core/row-models/coreRowModelsFeature.utils.js.map +1 -1
  89. package/dist/core/row-models/createCoreRowModel.cjs +5 -0
  90. package/dist/core/row-models/createCoreRowModel.cjs.map +1 -1
  91. package/dist/core/row-models/createCoreRowModel.d.cts +5 -0
  92. package/dist/core/row-models/createCoreRowModel.d.ts +5 -0
  93. package/dist/core/row-models/createCoreRowModel.js +5 -0
  94. package/dist/core/row-models/createCoreRowModel.js.map +1 -1
  95. package/dist/core/rows/constructRow.cjs +5 -0
  96. package/dist/core/rows/constructRow.cjs.map +1 -1
  97. package/dist/core/rows/constructRow.d.cts +5 -0
  98. package/dist/core/rows/constructRow.d.ts +5 -0
  99. package/dist/core/rows/constructRow.js +5 -0
  100. package/dist/core/rows/constructRow.js.map +1 -1
  101. package/dist/core/rows/coreRowsFeature.cjs +5 -0
  102. package/dist/core/rows/coreRowsFeature.cjs.map +1 -1
  103. package/dist/core/rows/coreRowsFeature.d.cts +5 -0
  104. package/dist/core/rows/coreRowsFeature.d.ts +5 -0
  105. package/dist/core/rows/coreRowsFeature.js +5 -0
  106. package/dist/core/rows/coreRowsFeature.js.map +1 -1
  107. package/dist/core/rows/coreRowsFeature.types.d.cts +3 -0
  108. package/dist/core/rows/coreRowsFeature.types.d.ts +3 -0
  109. package/dist/core/rows/coreRowsFeature.utils.cjs +104 -4
  110. package/dist/core/rows/coreRowsFeature.utils.cjs.map +1 -1
  111. package/dist/core/rows/coreRowsFeature.utils.d.cts +101 -0
  112. package/dist/core/rows/coreRowsFeature.utils.d.ts +101 -0
  113. package/dist/core/rows/coreRowsFeature.utils.js +104 -4
  114. package/dist/core/rows/coreRowsFeature.utils.js.map +1 -1
  115. package/dist/core/table/constructTable.cjs +10 -0
  116. package/dist/core/table/constructTable.cjs.map +1 -1
  117. package/dist/core/table/constructTable.d.cts +10 -0
  118. package/dist/core/table/constructTable.d.ts +10 -0
  119. package/dist/core/table/constructTable.js +10 -0
  120. package/dist/core/table/constructTable.js.map +1 -1
  121. package/dist/core/table/coreTablesFeature.cjs +5 -0
  122. package/dist/core/table/coreTablesFeature.cjs.map +1 -1
  123. package/dist/core/table/coreTablesFeature.d.cts +5 -0
  124. package/dist/core/table/coreTablesFeature.d.ts +5 -0
  125. package/dist/core/table/coreTablesFeature.js +5 -0
  126. package/dist/core/table/coreTablesFeature.js.map +1 -1
  127. package/dist/core/table/coreTablesFeature.types.d.cts +22 -12
  128. package/dist/core/table/coreTablesFeature.types.d.ts +22 -12
  129. package/dist/core/table/coreTablesFeature.utils.cjs +44 -0
  130. package/dist/core/table/coreTablesFeature.utils.cjs.map +1 -1
  131. package/dist/core/table/coreTablesFeature.utils.d.cts +44 -0
  132. package/dist/core/table/coreTablesFeature.utils.d.ts +44 -0
  133. package/dist/core/table/coreTablesFeature.utils.js +44 -0
  134. package/dist/core/table/coreTablesFeature.utils.js.map +1 -1
  135. package/dist/features/column-faceting/columnFacetingFeature.cjs +9 -1
  136. package/dist/features/column-faceting/columnFacetingFeature.cjs.map +1 -1
  137. package/dist/features/column-faceting/columnFacetingFeature.d.cts +9 -1
  138. package/dist/features/column-faceting/columnFacetingFeature.d.ts +9 -1
  139. package/dist/features/column-faceting/columnFacetingFeature.js +9 -1
  140. package/dist/features/column-faceting/columnFacetingFeature.js.map +1 -1
  141. package/dist/features/column-faceting/columnFacetingFeature.types.d.cts +12 -6
  142. package/dist/features/column-faceting/columnFacetingFeature.types.d.ts +12 -6
  143. package/dist/features/column-faceting/columnFacetingFeature.utils.cjs +60 -0
  144. package/dist/features/column-faceting/columnFacetingFeature.utils.cjs.map +1 -1
  145. package/dist/features/column-faceting/columnFacetingFeature.utils.d.cts +60 -0
  146. package/dist/features/column-faceting/columnFacetingFeature.utils.d.ts +60 -0
  147. package/dist/features/column-faceting/columnFacetingFeature.utils.js +60 -0
  148. package/dist/features/column-faceting/columnFacetingFeature.utils.js.map +1 -1
  149. package/dist/features/column-faceting/createFacetedMinMaxValues.cjs +5 -0
  150. package/dist/features/column-faceting/createFacetedMinMaxValues.cjs.map +1 -1
  151. package/dist/features/column-faceting/createFacetedMinMaxValues.d.cts +5 -0
  152. package/dist/features/column-faceting/createFacetedMinMaxValues.d.ts +5 -0
  153. package/dist/features/column-faceting/createFacetedMinMaxValues.js +5 -0
  154. package/dist/features/column-faceting/createFacetedMinMaxValues.js.map +1 -1
  155. package/dist/features/column-faceting/createFacetedRowModel.cjs +5 -0
  156. package/dist/features/column-faceting/createFacetedRowModel.cjs.map +1 -1
  157. package/dist/features/column-faceting/createFacetedRowModel.d.cts +5 -0
  158. package/dist/features/column-faceting/createFacetedRowModel.d.ts +5 -0
  159. package/dist/features/column-faceting/createFacetedRowModel.js +5 -0
  160. package/dist/features/column-faceting/createFacetedRowModel.js.map +1 -1
  161. package/dist/features/column-faceting/createFacetedUniqueValues.cjs +5 -0
  162. package/dist/features/column-faceting/createFacetedUniqueValues.cjs.map +1 -1
  163. package/dist/features/column-faceting/createFacetedUniqueValues.d.cts +5 -0
  164. package/dist/features/column-faceting/createFacetedUniqueValues.d.ts +5 -0
  165. package/dist/features/column-faceting/createFacetedUniqueValues.js +5 -0
  166. package/dist/features/column-faceting/createFacetedUniqueValues.js.map +1 -1
  167. package/dist/features/column-filtering/columnFilteringFeature.cjs +10 -2
  168. package/dist/features/column-filtering/columnFilteringFeature.cjs.map +1 -1
  169. package/dist/features/column-filtering/columnFilteringFeature.d.cts +10 -2
  170. package/dist/features/column-filtering/columnFilteringFeature.d.ts +10 -2
  171. package/dist/features/column-filtering/columnFilteringFeature.js +10 -2
  172. package/dist/features/column-filtering/columnFilteringFeature.js.map +1 -1
  173. package/dist/features/column-filtering/columnFilteringFeature.types.d.cts +7 -4
  174. package/dist/features/column-filtering/columnFilteringFeature.types.d.ts +7 -4
  175. package/dist/features/column-filtering/columnFilteringFeature.utils.cjs +113 -2
  176. package/dist/features/column-filtering/columnFilteringFeature.utils.cjs.map +1 -1
  177. package/dist/features/column-filtering/columnFilteringFeature.utils.d.cts +111 -0
  178. package/dist/features/column-filtering/columnFilteringFeature.utils.d.ts +111 -0
  179. package/dist/features/column-filtering/columnFilteringFeature.utils.js +113 -2
  180. package/dist/features/column-filtering/columnFilteringFeature.utils.js.map +1 -1
  181. package/dist/features/column-filtering/createFilteredRowModel.cjs +5 -0
  182. package/dist/features/column-filtering/createFilteredRowModel.cjs.map +1 -1
  183. package/dist/features/column-filtering/createFilteredRowModel.d.cts +5 -0
  184. package/dist/features/column-filtering/createFilteredRowModel.d.ts +5 -0
  185. package/dist/features/column-filtering/createFilteredRowModel.js +5 -0
  186. package/dist/features/column-filtering/createFilteredRowModel.js.map +1 -1
  187. package/dist/features/column-filtering/filterRowsUtils.cjs +5 -0
  188. package/dist/features/column-filtering/filterRowsUtils.cjs.map +1 -1
  189. package/dist/features/column-filtering/filterRowsUtils.js +5 -0
  190. package/dist/features/column-filtering/filterRowsUtils.js.map +1 -1
  191. package/dist/features/column-grouping/columnGroupingFeature.cjs +9 -1
  192. package/dist/features/column-grouping/columnGroupingFeature.cjs.map +1 -1
  193. package/dist/features/column-grouping/columnGroupingFeature.d.cts +9 -1
  194. package/dist/features/column-grouping/columnGroupingFeature.d.ts +9 -1
  195. package/dist/features/column-grouping/columnGroupingFeature.js +9 -1
  196. package/dist/features/column-grouping/columnGroupingFeature.js.map +1 -1
  197. package/dist/features/column-grouping/columnGroupingFeature.types.d.cts +7 -3
  198. package/dist/features/column-grouping/columnGroupingFeature.types.d.ts +7 -3
  199. package/dist/features/column-grouping/columnGroupingFeature.utils.cjs +151 -0
  200. package/dist/features/column-grouping/columnGroupingFeature.utils.cjs.map +1 -1
  201. package/dist/features/column-grouping/columnGroupingFeature.utils.d.cts +151 -0
  202. package/dist/features/column-grouping/columnGroupingFeature.utils.d.ts +151 -0
  203. package/dist/features/column-grouping/columnGroupingFeature.utils.js +151 -0
  204. package/dist/features/column-grouping/columnGroupingFeature.utils.js.map +1 -1
  205. package/dist/features/column-grouping/createGroupedRowModel.cjs +5 -0
  206. package/dist/features/column-grouping/createGroupedRowModel.cjs.map +1 -1
  207. package/dist/features/column-grouping/createGroupedRowModel.d.cts +5 -0
  208. package/dist/features/column-grouping/createGroupedRowModel.d.ts +5 -0
  209. package/dist/features/column-grouping/createGroupedRowModel.js +5 -0
  210. package/dist/features/column-grouping/createGroupedRowModel.js.map +1 -1
  211. package/dist/features/column-ordering/columnOrderingFeature.cjs +12 -3
  212. package/dist/features/column-ordering/columnOrderingFeature.cjs.map +1 -1
  213. package/dist/features/column-ordering/columnOrderingFeature.d.cts +9 -1
  214. package/dist/features/column-ordering/columnOrderingFeature.d.ts +9 -1
  215. package/dist/features/column-ordering/columnOrderingFeature.js +12 -3
  216. package/dist/features/column-ordering/columnOrderingFeature.js.map +1 -1
  217. package/dist/features/column-ordering/columnOrderingFeature.types.d.cts +4 -2
  218. package/dist/features/column-ordering/columnOrderingFeature.types.d.ts +4 -2
  219. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs +98 -8
  220. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs.map +1 -1
  221. package/dist/features/column-ordering/columnOrderingFeature.utils.d.cts +81 -0
  222. package/dist/features/column-ordering/columnOrderingFeature.utils.d.ts +81 -0
  223. package/dist/features/column-ordering/columnOrderingFeature.utils.js +98 -8
  224. package/dist/features/column-ordering/columnOrderingFeature.utils.js.map +1 -1
  225. package/dist/features/column-pinning/columnPinningFeature.cjs +17 -30
  226. package/dist/features/column-pinning/columnPinningFeature.cjs.map +1 -1
  227. package/dist/features/column-pinning/columnPinningFeature.d.cts +9 -1
  228. package/dist/features/column-pinning/columnPinningFeature.d.ts +9 -1
  229. package/dist/features/column-pinning/columnPinningFeature.js +17 -30
  230. package/dist/features/column-pinning/columnPinningFeature.js.map +1 -1
  231. package/dist/features/column-pinning/columnPinningFeature.types.d.cts +6 -2
  232. package/dist/features/column-pinning/columnPinningFeature.types.d.ts +6 -2
  233. package/dist/features/column-pinning/columnPinningFeature.utils.cjs +360 -17
  234. package/dist/features/column-pinning/columnPinningFeature.utils.cjs.map +1 -1
  235. package/dist/features/column-pinning/columnPinningFeature.utils.d.cts +314 -3
  236. package/dist/features/column-pinning/columnPinningFeature.utils.d.ts +314 -3
  237. package/dist/features/column-pinning/columnPinningFeature.utils.js +361 -18
  238. package/dist/features/column-pinning/columnPinningFeature.utils.js.map +1 -1
  239. package/dist/features/column-resizing/columnResizingFeature.cjs +9 -2
  240. package/dist/features/column-resizing/columnResizingFeature.cjs.map +1 -1
  241. package/dist/features/column-resizing/columnResizingFeature.d.cts +9 -2
  242. package/dist/features/column-resizing/columnResizingFeature.d.ts +9 -2
  243. package/dist/features/column-resizing/columnResizingFeature.js +9 -2
  244. package/dist/features/column-resizing/columnResizingFeature.js.map +1 -1
  245. package/dist/features/column-resizing/columnResizingFeature.types.d.cts +14 -6
  246. package/dist/features/column-resizing/columnResizingFeature.types.d.ts +14 -6
  247. package/dist/features/column-resizing/columnResizingFeature.utils.cjs +81 -0
  248. package/dist/features/column-resizing/columnResizingFeature.utils.cjs.map +1 -1
  249. package/dist/features/column-resizing/columnResizingFeature.utils.d.cts +81 -0
  250. package/dist/features/column-resizing/columnResizingFeature.utils.d.ts +81 -0
  251. package/dist/features/column-resizing/columnResizingFeature.utils.js +81 -0
  252. package/dist/features/column-resizing/columnResizingFeature.utils.js.map +1 -1
  253. package/dist/features/column-sizing/columnSizingFeature.cjs +50 -12
  254. package/dist/features/column-sizing/columnSizingFeature.cjs.map +1 -1
  255. package/dist/features/column-sizing/columnSizingFeature.d.cts +10 -2
  256. package/dist/features/column-sizing/columnSizingFeature.d.ts +10 -2
  257. package/dist/features/column-sizing/columnSizingFeature.js +51 -13
  258. package/dist/features/column-sizing/columnSizingFeature.js.map +1 -1
  259. package/dist/features/column-sizing/columnSizingFeature.types.d.cts +6 -3
  260. package/dist/features/column-sizing/columnSizingFeature.types.d.ts +6 -3
  261. package/dist/features/column-sizing/columnSizingFeature.utils.cjs +151 -3
  262. package/dist/features/column-sizing/columnSizingFeature.utils.cjs.map +1 -1
  263. package/dist/features/column-sizing/columnSizingFeature.utils.d.cts +141 -0
  264. package/dist/features/column-sizing/columnSizingFeature.utils.d.ts +141 -0
  265. package/dist/features/column-sizing/columnSizingFeature.utils.js +151 -3
  266. package/dist/features/column-sizing/columnSizingFeature.utils.js.map +1 -1
  267. package/dist/features/column-visibility/columnVisibilityFeature.cjs +26 -25
  268. package/dist/features/column-visibility/columnVisibilityFeature.cjs.map +1 -1
  269. package/dist/features/column-visibility/columnVisibilityFeature.d.cts +9 -1
  270. package/dist/features/column-visibility/columnVisibilityFeature.d.ts +9 -1
  271. package/dist/features/column-visibility/columnVisibilityFeature.js +27 -26
  272. package/dist/features/column-visibility/columnVisibilityFeature.js.map +1 -1
  273. package/dist/features/column-visibility/columnVisibilityFeature.types.d.cts +4 -3
  274. package/dist/features/column-visibility/columnVisibilityFeature.types.d.ts +4 -3
  275. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs +172 -12
  276. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs.map +1 -1
  277. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.cts +143 -3
  278. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.ts +143 -3
  279. package/dist/features/column-visibility/columnVisibilityFeature.utils.js +173 -12
  280. package/dist/features/column-visibility/columnVisibilityFeature.utils.js.map +1 -1
  281. package/dist/features/global-filtering/globalFilteringFeature.cjs +9 -2
  282. package/dist/features/global-filtering/globalFilteringFeature.cjs.map +1 -1
  283. package/dist/features/global-filtering/globalFilteringFeature.d.cts +9 -2
  284. package/dist/features/global-filtering/globalFilteringFeature.d.ts +9 -2
  285. package/dist/features/global-filtering/globalFilteringFeature.js +9 -2
  286. package/dist/features/global-filtering/globalFilteringFeature.js.map +1 -1
  287. package/dist/features/global-filtering/globalFilteringFeature.types.d.cts +4 -2
  288. package/dist/features/global-filtering/globalFilteringFeature.types.d.ts +4 -2
  289. package/dist/features/global-filtering/globalFilteringFeature.utils.cjs +51 -0
  290. package/dist/features/global-filtering/globalFilteringFeature.utils.cjs.map +1 -1
  291. package/dist/features/global-filtering/globalFilteringFeature.utils.d.cts +51 -0
  292. package/dist/features/global-filtering/globalFilteringFeature.utils.d.ts +51 -0
  293. package/dist/features/global-filtering/globalFilteringFeature.utils.js +51 -0
  294. package/dist/features/global-filtering/globalFilteringFeature.utils.js.map +1 -1
  295. package/dist/features/row-expanding/createExpandedRowModel.cjs +10 -0
  296. package/dist/features/row-expanding/createExpandedRowModel.cjs.map +1 -1
  297. package/dist/features/row-expanding/createExpandedRowModel.d.cts +10 -0
  298. package/dist/features/row-expanding/createExpandedRowModel.d.ts +10 -0
  299. package/dist/features/row-expanding/createExpandedRowModel.js +10 -0
  300. package/dist/features/row-expanding/createExpandedRowModel.js.map +1 -1
  301. package/dist/features/row-expanding/rowExpandingFeature.cjs +9 -1
  302. package/dist/features/row-expanding/rowExpandingFeature.cjs.map +1 -1
  303. package/dist/features/row-expanding/rowExpandingFeature.d.cts +9 -1
  304. package/dist/features/row-expanding/rowExpandingFeature.d.ts +9 -1
  305. package/dist/features/row-expanding/rowExpandingFeature.js +9 -1
  306. package/dist/features/row-expanding/rowExpandingFeature.js.map +1 -1
  307. package/dist/features/row-expanding/rowExpandingFeature.types.d.cts +10 -5
  308. package/dist/features/row-expanding/rowExpandingFeature.types.d.ts +10 -5
  309. package/dist/features/row-expanding/rowExpandingFeature.utils.cjs +151 -0
  310. package/dist/features/row-expanding/rowExpandingFeature.utils.cjs.map +1 -1
  311. package/dist/features/row-expanding/rowExpandingFeature.utils.d.cts +151 -0
  312. package/dist/features/row-expanding/rowExpandingFeature.utils.d.ts +151 -0
  313. package/dist/features/row-expanding/rowExpandingFeature.utils.js +151 -0
  314. package/dist/features/row-expanding/rowExpandingFeature.utils.js.map +1 -1
  315. package/dist/features/row-pagination/createPaginatedRowModel.cjs +5 -0
  316. package/dist/features/row-pagination/createPaginatedRowModel.cjs.map +1 -1
  317. package/dist/features/row-pagination/createPaginatedRowModel.d.cts +5 -0
  318. package/dist/features/row-pagination/createPaginatedRowModel.d.ts +5 -0
  319. package/dist/features/row-pagination/createPaginatedRowModel.js +5 -0
  320. package/dist/features/row-pagination/createPaginatedRowModel.js.map +1 -1
  321. package/dist/features/row-pagination/rowPaginationFeature.cjs +9 -1
  322. package/dist/features/row-pagination/rowPaginationFeature.cjs.map +1 -1
  323. package/dist/features/row-pagination/rowPaginationFeature.d.cts +9 -1
  324. package/dist/features/row-pagination/rowPaginationFeature.d.ts +9 -1
  325. package/dist/features/row-pagination/rowPaginationFeature.js +9 -1
  326. package/dist/features/row-pagination/rowPaginationFeature.js.map +1 -1
  327. package/dist/features/row-pagination/rowPaginationFeature.types.d.cts +11 -7
  328. package/dist/features/row-pagination/rowPaginationFeature.types.d.ts +11 -7
  329. package/dist/features/row-pagination/rowPaginationFeature.utils.cjs +175 -0
  330. package/dist/features/row-pagination/rowPaginationFeature.utils.cjs.map +1 -1
  331. package/dist/features/row-pagination/rowPaginationFeature.utils.d.cts +175 -0
  332. package/dist/features/row-pagination/rowPaginationFeature.utils.d.ts +175 -0
  333. package/dist/features/row-pagination/rowPaginationFeature.utils.js +175 -0
  334. package/dist/features/row-pagination/rowPaginationFeature.utils.js.map +1 -1
  335. package/dist/features/row-pinning/rowPinningFeature.cjs +9 -1
  336. package/dist/features/row-pinning/rowPinningFeature.cjs.map +1 -1
  337. package/dist/features/row-pinning/rowPinningFeature.d.cts +9 -1
  338. package/dist/features/row-pinning/rowPinningFeature.d.ts +9 -1
  339. package/dist/features/row-pinning/rowPinningFeature.js +9 -1
  340. package/dist/features/row-pinning/rowPinningFeature.js.map +1 -1
  341. package/dist/features/row-pinning/rowPinningFeature.types.d.cts +4 -2
  342. package/dist/features/row-pinning/rowPinningFeature.types.d.ts +4 -2
  343. package/dist/features/row-pinning/rowPinningFeature.utils.cjs +112 -0
  344. package/dist/features/row-pinning/rowPinningFeature.utils.cjs.map +1 -1
  345. package/dist/features/row-pinning/rowPinningFeature.utils.d.cts +112 -0
  346. package/dist/features/row-pinning/rowPinningFeature.utils.d.ts +112 -0
  347. package/dist/features/row-pinning/rowPinningFeature.utils.js +112 -0
  348. package/dist/features/row-pinning/rowPinningFeature.utils.js.map +1 -1
  349. package/dist/features/row-selection/rowSelectionFeature.cjs +9 -1
  350. package/dist/features/row-selection/rowSelectionFeature.cjs.map +1 -1
  351. package/dist/features/row-selection/rowSelectionFeature.d.cts +9 -1
  352. package/dist/features/row-selection/rowSelectionFeature.d.ts +9 -1
  353. package/dist/features/row-selection/rowSelectionFeature.js +9 -1
  354. package/dist/features/row-selection/rowSelectionFeature.js.map +1 -1
  355. package/dist/features/row-selection/rowSelectionFeature.types.d.cts +4 -2
  356. package/dist/features/row-selection/rowSelectionFeature.types.d.ts +4 -2
  357. package/dist/features/row-selection/rowSelectionFeature.utils.cjs +259 -0
  358. package/dist/features/row-selection/rowSelectionFeature.utils.cjs.map +1 -1
  359. package/dist/features/row-selection/rowSelectionFeature.utils.d.cts +259 -0
  360. package/dist/features/row-selection/rowSelectionFeature.utils.d.ts +259 -0
  361. package/dist/features/row-selection/rowSelectionFeature.utils.js +259 -0
  362. package/dist/features/row-selection/rowSelectionFeature.utils.js.map +1 -1
  363. package/dist/features/row-sorting/createSortedRowModel.cjs +5 -0
  364. package/dist/features/row-sorting/createSortedRowModel.cjs.map +1 -1
  365. package/dist/features/row-sorting/createSortedRowModel.d.cts +5 -0
  366. package/dist/features/row-sorting/createSortedRowModel.d.ts +5 -0
  367. package/dist/features/row-sorting/createSortedRowModel.js +5 -0
  368. package/dist/features/row-sorting/createSortedRowModel.js.map +1 -1
  369. package/dist/features/row-sorting/rowSortingFeature.cjs +11 -3
  370. package/dist/features/row-sorting/rowSortingFeature.cjs.map +1 -1
  371. package/dist/features/row-sorting/rowSortingFeature.d.cts +9 -1
  372. package/dist/features/row-sorting/rowSortingFeature.d.ts +9 -1
  373. package/dist/features/row-sorting/rowSortingFeature.js +11 -3
  374. package/dist/features/row-sorting/rowSortingFeature.js.map +1 -1
  375. package/dist/features/row-sorting/rowSortingFeature.types.d.cts +7 -3
  376. package/dist/features/row-sorting/rowSortingFeature.types.d.ts +7 -3
  377. package/dist/features/row-sorting/rowSortingFeature.utils.cjs +151 -0
  378. package/dist/features/row-sorting/rowSortingFeature.utils.cjs.map +1 -1
  379. package/dist/features/row-sorting/rowSortingFeature.utils.d.cts +151 -0
  380. package/dist/features/row-sorting/rowSortingFeature.utils.d.ts +151 -0
  381. package/dist/features/row-sorting/rowSortingFeature.utils.js +151 -0
  382. package/dist/features/row-sorting/rowSortingFeature.utils.js.map +1 -1
  383. package/dist/features/stockFeatures.cjs +5 -0
  384. package/dist/features/stockFeatures.cjs.map +1 -1
  385. package/dist/features/stockFeatures.d.cts +5 -0
  386. package/dist/features/stockFeatures.d.ts +5 -0
  387. package/dist/features/stockFeatures.js +5 -0
  388. package/dist/features/stockFeatures.js.map +1 -1
  389. package/dist/flex-render.cjs +10 -0
  390. package/dist/flex-render.cjs.map +1 -1
  391. package/dist/flex-render.d.cts +10 -0
  392. package/dist/flex-render.d.ts +10 -0
  393. package/dist/flex-render.js +10 -0
  394. package/dist/flex-render.js.map +1 -1
  395. package/dist/fns/aggregationFns.cjs +5 -0
  396. package/dist/fns/aggregationFns.cjs.map +1 -1
  397. package/dist/fns/aggregationFns.d.cts +5 -0
  398. package/dist/fns/aggregationFns.d.ts +5 -0
  399. package/dist/fns/aggregationFns.js +5 -0
  400. package/dist/fns/aggregationFns.js.map +1 -1
  401. package/dist/fns/filterFns.cjs +5 -0
  402. package/dist/fns/filterFns.cjs.map +1 -1
  403. package/dist/fns/filterFns.d.cts +5 -0
  404. package/dist/fns/filterFns.d.ts +5 -0
  405. package/dist/fns/filterFns.js +5 -0
  406. package/dist/fns/filterFns.js.map +1 -1
  407. package/dist/fns/sortFns.cjs +49 -4
  408. package/dist/fns/sortFns.cjs.map +1 -1
  409. package/dist/fns/sortFns.d.cts +41 -0
  410. package/dist/fns/sortFns.d.ts +41 -0
  411. package/dist/fns/sortFns.js +49 -4
  412. package/dist/fns/sortFns.js.map +1 -1
  413. package/dist/helpers/columnHelper.cjs.map +1 -1
  414. package/dist/helpers/columnHelper.js.map +1 -1
  415. package/dist/helpers/tableFeatures.cjs.map +1 -1
  416. package/dist/helpers/tableFeatures.js.map +1 -1
  417. package/dist/helpers/tableOptions.cjs +6 -0
  418. package/dist/helpers/tableOptions.cjs.map +1 -1
  419. package/dist/helpers/tableOptions.d.cts +26 -0
  420. package/dist/helpers/tableOptions.d.ts +26 -0
  421. package/dist/helpers/tableOptions.js +6 -0
  422. package/dist/helpers/tableOptions.js.map +1 -1
  423. package/dist/static-functions.cjs +1 -1
  424. package/dist/static-functions.d.cts +3 -3
  425. package/dist/static-functions.d.ts +3 -3
  426. package/dist/static-functions.js +3 -3
  427. package/dist/store-reactivity-bindings.cjs.map +1 -1
  428. package/dist/store-reactivity-bindings.js.map +1 -1
  429. package/dist/utils.cjs +45 -0
  430. package/dist/utils.cjs.map +1 -1
  431. package/dist/utils.d.cts +45 -0
  432. package/dist/utils.d.ts +45 -0
  433. package/dist/utils.js +45 -0
  434. package/dist/utils.js.map +1 -1
  435. package/package.json +1 -1
  436. package/src/core/cells/constructCell.ts +5 -0
  437. package/src/core/cells/coreCellsFeature.ts +5 -0
  438. package/src/core/cells/coreCellsFeature.utils.ts +30 -0
  439. package/src/core/columns/constructColumn.ts +7 -1
  440. package/src/core/columns/coreColumnsFeature.ts +10 -0
  441. package/src/core/columns/coreColumnsFeature.types.ts +4 -0
  442. package/src/core/columns/coreColumnsFeature.utils.ts +109 -8
  443. package/src/core/coreFeatures.ts +5 -0
  444. package/src/core/headers/buildHeaderGroups.ts +7 -1
  445. package/src/core/headers/constructHeader.ts +5 -0
  446. package/src/core/headers/coreHeadersFeature.ts +5 -0
  447. package/src/core/headers/coreHeadersFeature.utils.ts +86 -8
  448. package/src/core/reactivity/coreReactivityFeature.utils.ts +15 -0
  449. package/src/core/row-models/coreRowModelsFeature.ts +5 -0
  450. package/src/core/row-models/coreRowModelsFeature.types.ts +2 -1
  451. package/src/core/row-models/coreRowModelsFeature.utils.ts +120 -0
  452. package/src/core/row-models/createCoreRowModel.ts +5 -0
  453. package/src/core/rows/constructRow.ts +5 -0
  454. package/src/core/rows/coreRowsFeature.ts +5 -0
  455. package/src/core/rows/coreRowsFeature.types.ts +3 -0
  456. package/src/core/rows/coreRowsFeature.utils.ts +106 -7
  457. package/src/core/table/constructTable.ts +10 -0
  458. package/src/core/table/coreTablesFeature.ts +5 -0
  459. package/src/core/table/coreTablesFeature.types.ts +22 -12
  460. package/src/core/table/coreTablesFeature.utils.ts +44 -0
  461. package/src/features/column-faceting/columnFacetingFeature.ts +9 -1
  462. package/src/features/column-faceting/columnFacetingFeature.types.ts +12 -6
  463. package/src/features/column-faceting/columnFacetingFeature.utils.ts +60 -0
  464. package/src/features/column-faceting/createFacetedMinMaxValues.ts +5 -0
  465. package/src/features/column-faceting/createFacetedRowModel.ts +5 -0
  466. package/src/features/column-faceting/createFacetedUniqueValues.ts +5 -0
  467. package/src/features/column-filtering/columnFilteringFeature.ts +10 -2
  468. package/src/features/column-filtering/columnFilteringFeature.types.ts +7 -4
  469. package/src/features/column-filtering/columnFilteringFeature.utils.ts +113 -2
  470. package/src/features/column-filtering/createFilteredRowModel.ts +5 -0
  471. package/src/features/column-filtering/filterRowsUtils.ts +5 -0
  472. package/src/features/column-grouping/columnGroupingFeature.ts +9 -1
  473. package/src/features/column-grouping/columnGroupingFeature.types.ts +7 -3
  474. package/src/features/column-grouping/columnGroupingFeature.utils.ts +151 -0
  475. package/src/features/column-grouping/createGroupedRowModel.ts +5 -0
  476. package/src/features/column-ordering/columnOrderingFeature.ts +10 -1
  477. package/src/features/column-ordering/columnOrderingFeature.types.ts +4 -2
  478. package/src/features/column-ordering/columnOrderingFeature.utils.ts +110 -18
  479. package/src/features/column-pinning/columnPinningFeature.ts +11 -12
  480. package/src/features/column-pinning/columnPinningFeature.types.ts +6 -2
  481. package/src/features/column-pinning/columnPinningFeature.utils.ts +390 -57
  482. package/src/features/column-resizing/columnResizingFeature.ts +9 -2
  483. package/src/features/column-resizing/columnResizingFeature.types.ts +14 -6
  484. package/src/features/column-resizing/columnResizingFeature.utils.ts +81 -0
  485. package/src/features/column-sizing/columnSizingFeature.ts +38 -18
  486. package/src/features/column-sizing/columnSizingFeature.types.ts +6 -3
  487. package/src/features/column-sizing/columnSizingFeature.utils.ts +168 -9
  488. package/src/features/column-visibility/columnVisibilityFeature.ts +15 -21
  489. package/src/features/column-visibility/columnVisibilityFeature.types.ts +4 -3
  490. package/src/features/column-visibility/columnVisibilityFeature.utils.ts +179 -23
  491. package/src/features/global-filtering/globalFilteringFeature.ts +9 -2
  492. package/src/features/global-filtering/globalFilteringFeature.types.ts +4 -2
  493. package/src/features/global-filtering/globalFilteringFeature.utils.ts +51 -0
  494. package/src/features/row-expanding/createExpandedRowModel.ts +10 -0
  495. package/src/features/row-expanding/rowExpandingFeature.ts +9 -1
  496. package/src/features/row-expanding/rowExpandingFeature.types.ts +10 -5
  497. package/src/features/row-expanding/rowExpandingFeature.utils.ts +151 -0
  498. package/src/features/row-pagination/createPaginatedRowModel.ts +5 -0
  499. package/src/features/row-pagination/rowPaginationFeature.ts +9 -1
  500. package/src/features/row-pagination/rowPaginationFeature.types.ts +11 -7
  501. package/src/features/row-pagination/rowPaginationFeature.utils.ts +175 -0
  502. package/src/features/row-pinning/rowPinningFeature.ts +9 -1
  503. package/src/features/row-pinning/rowPinningFeature.types.ts +4 -2
  504. package/src/features/row-pinning/rowPinningFeature.utils.ts +112 -0
  505. package/src/features/row-selection/rowSelectionFeature.ts +9 -1
  506. package/src/features/row-selection/rowSelectionFeature.types.ts +4 -2
  507. package/src/features/row-selection/rowSelectionFeature.utils.ts +259 -0
  508. package/src/features/row-sorting/createSortedRowModel.ts +5 -0
  509. package/src/features/row-sorting/rowSortingFeature.ts +11 -3
  510. package/src/features/row-sorting/rowSortingFeature.types.ts +7 -3
  511. package/src/features/row-sorting/rowSortingFeature.utils.ts +151 -0
  512. package/src/features/stockFeatures.ts +5 -0
  513. package/src/flex-render.ts +10 -0
  514. package/src/fns/aggregationFns.ts +5 -0
  515. package/src/fns/filterFns.ts +5 -0
  516. package/src/fns/sortFns.ts +50 -5
  517. package/src/helpers/tableOptions.ts +32 -0
  518. package/src/utils.ts +45 -0
@@ -1,6 +1,16 @@
1
1
  const require_createCoreRowModel = require('./createCoreRowModel.cjs');
2
2
 
3
3
  //#region src/core/row-models/coreRowModelsFeature.utils.ts
4
+ /**
5
+ * Returns core row model for the table.
6
+ *
7
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const value = table_getCoreRowModel(table)
12
+ * ```
13
+ */
4
14
  function table_getCoreRowModel(table) {
5
15
  if (!table._rowModels.coreRowModel) {
6
16
  var _table$options$_rowMo, _table$options$_rowMo2;
@@ -8,9 +18,29 @@ function table_getCoreRowModel(table) {
8
18
  }
9
19
  return table._rowModels.coreRowModel();
10
20
  }
21
+ /**
22
+ * Returns pre filtered row model for the table.
23
+ *
24
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const value = table_getPreFilteredRowModel(table)
29
+ * ```
30
+ */
11
31
  function table_getPreFilteredRowModel(table) {
12
32
  return table.getCoreRowModel();
13
33
  }
34
+ /**
35
+ * Returns filtered row model for the table.
36
+ *
37
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * const value = table_getFilteredRowModel(table)
42
+ * ```
43
+ */
14
44
  function table_getFilteredRowModel(table) {
15
45
  if (!table._rowModels.filteredRowModel) {
16
46
  var _table$options$_rowMo3, _table$options$_rowMo4;
@@ -19,9 +49,29 @@ function table_getFilteredRowModel(table) {
19
49
  if (table.options.manualFiltering || !table._rowModels.filteredRowModel) return table.getPreFilteredRowModel();
20
50
  return table._rowModels.filteredRowModel();
21
51
  }
52
+ /**
53
+ * Returns pre grouped row model for the table.
54
+ *
55
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const value = table_getPreGroupedRowModel(table)
60
+ * ```
61
+ */
22
62
  function table_getPreGroupedRowModel(table) {
23
63
  return table.getFilteredRowModel();
24
64
  }
65
+ /**
66
+ * Returns grouped row model for the table.
67
+ *
68
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
69
+ *
70
+ * @example
71
+ * ```ts
72
+ * const value = table_getGroupedRowModel(table)
73
+ * ```
74
+ */
25
75
  function table_getGroupedRowModel(table) {
26
76
  if (!table._rowModels.groupedRowModel) {
27
77
  var _table$options$_rowMo5, _table$options$_rowMo6;
@@ -30,9 +80,29 @@ function table_getGroupedRowModel(table) {
30
80
  if (table.options.manualGrouping || !table._rowModels.groupedRowModel) return table.getPreGroupedRowModel();
31
81
  return table._rowModels.groupedRowModel();
32
82
  }
83
+ /**
84
+ * Returns pre sorted row model for the table.
85
+ *
86
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * const value = table_getPreSortedRowModel(table)
91
+ * ```
92
+ */
33
93
  function table_getPreSortedRowModel(table) {
34
94
  return table.getGroupedRowModel();
35
95
  }
96
+ /**
97
+ * Returns sorted row model for the table.
98
+ *
99
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * const value = table_getSortedRowModel(table)
104
+ * ```
105
+ */
36
106
  function table_getSortedRowModel(table) {
37
107
  if (!table._rowModels.sortedRowModel) {
38
108
  var _table$options$_rowMo7, _table$options$_rowMo8;
@@ -41,9 +111,29 @@ function table_getSortedRowModel(table) {
41
111
  if (table.options.manualSorting || !table._rowModels.sortedRowModel) return table.getPreSortedRowModel();
42
112
  return table._rowModels.sortedRowModel();
43
113
  }
114
+ /**
115
+ * Returns pre expanded row model for the table.
116
+ *
117
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * const value = table_getPreExpandedRowModel(table)
122
+ * ```
123
+ */
44
124
  function table_getPreExpandedRowModel(table) {
45
125
  return table.getSortedRowModel();
46
126
  }
127
+ /**
128
+ * Returns expanded row model for the table.
129
+ *
130
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * const value = table_getExpandedRowModel(table)
135
+ * ```
136
+ */
47
137
  function table_getExpandedRowModel(table) {
48
138
  if (!table._rowModels.expandedRowModel) {
49
139
  var _table$options$_rowMo9, _table$options$_rowMo10;
@@ -52,9 +142,29 @@ function table_getExpandedRowModel(table) {
52
142
  if (table.options.manualExpanding || !table._rowModels.expandedRowModel) return table.getPreExpandedRowModel();
53
143
  return table._rowModels.expandedRowModel();
54
144
  }
145
+ /**
146
+ * Returns pre paginated row model for the table.
147
+ *
148
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
149
+ *
150
+ * @example
151
+ * ```ts
152
+ * const value = table_getPrePaginatedRowModel(table)
153
+ * ```
154
+ */
55
155
  function table_getPrePaginatedRowModel(table) {
56
156
  return table.getExpandedRowModel();
57
157
  }
158
+ /**
159
+ * Returns paginated row model for the table.
160
+ *
161
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
162
+ *
163
+ * @example
164
+ * ```ts
165
+ * const value = table_getPaginatedRowModel(table)
166
+ * ```
167
+ */
58
168
  function table_getPaginatedRowModel(table) {
59
169
  if (!table._rowModels.paginatedRowModel) {
60
170
  var _table$options$_rowMo11, _table$options$_rowMo12;
@@ -63,6 +173,16 @@ function table_getPaginatedRowModel(table) {
63
173
  if (table.options.manualPagination || !table._rowModels.paginatedRowModel) return table.getPrePaginatedRowModel();
64
174
  return table._rowModels.paginatedRowModel();
65
175
  }
176
+ /**
177
+ * Returns row model for the table.
178
+ *
179
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * const value = table_getRowModel(table)
184
+ * ```
185
+ */
66
186
  function table_getRowModel(table) {
67
187
  return table.getPaginatedRowModel();
68
188
  }
@@ -1 +1 @@
1
- {"version":3,"file":"coreRowModelsFeature.utils.cjs","names":["createCoreRowModel"],"sources":["../../../src/core/row-models/coreRowModelsFeature.utils.ts"],"sourcesContent":["import { createCoreRowModel } from './createCoreRowModel'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { RowData } from '../../types/type-utils'\nimport type { RowModel } from './coreRowModelsFeature.types'\n\nexport function table_getCoreRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.coreRowModel) {\n table._rowModels.coreRowModel =\n table.options._rowModels?.coreRowModel?.(table) ??\n createCoreRowModel<TFeatures, TData>()(table)\n }\n\n return table._rowModels.coreRowModel()\n}\n\nexport function table_getPreFilteredRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getCoreRowModel()\n}\n\nexport function table_getFilteredRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.filteredRowModel) {\n table._rowModels.filteredRowModel =\n table.options._rowModels?.filteredRowModel?.(table)\n }\n\n if (table.options.manualFiltering || !table._rowModels.filteredRowModel) {\n return table.getPreFilteredRowModel()\n }\n\n return table._rowModels.filteredRowModel()\n}\n\nexport function table_getPreGroupedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getFilteredRowModel()\n}\n\nexport function table_getGroupedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.groupedRowModel) {\n table._rowModels.groupedRowModel =\n table.options._rowModels?.groupedRowModel?.(table)\n }\n\n if (table.options.manualGrouping || !table._rowModels.groupedRowModel) {\n return table.getPreGroupedRowModel()\n }\n\n return table._rowModels.groupedRowModel()\n}\n\nexport function table_getPreSortedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getGroupedRowModel()\n}\n\nexport function table_getSortedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.sortedRowModel) {\n table._rowModels.sortedRowModel =\n table.options._rowModels?.sortedRowModel?.(table)\n }\n\n if (table.options.manualSorting || !table._rowModels.sortedRowModel) {\n return table.getPreSortedRowModel()\n }\n\n return table._rowModels.sortedRowModel()\n}\n\nexport function table_getPreExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getSortedRowModel()\n}\n\nexport function table_getExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.expandedRowModel) {\n table._rowModels.expandedRowModel =\n table.options._rowModels?.expandedRowModel?.(table)\n }\n\n if (table.options.manualExpanding || !table._rowModels.expandedRowModel) {\n return table.getPreExpandedRowModel()\n }\n\n return table._rowModels.expandedRowModel()\n}\n\nexport function table_getPrePaginatedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getExpandedRowModel()\n}\n\nexport function table_getPaginatedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.paginatedRowModel) {\n table._rowModels.paginatedRowModel =\n table.options._rowModels?.paginatedRowModel?.(table)\n }\n\n if (table.options.manualPagination || !table._rowModels.paginatedRowModel) {\n return table.getPrePaginatedRowModel()\n }\n\n return table._rowModels.paginatedRowModel()\n}\n\nexport function table_getRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getPaginatedRowModel()\n}\n"],"mappings":";;;AAMA,SAAgB,sBAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,cAAc;;AAClC,QAAM,WAAW,yCACf,MAAM,QAAQ,4GAAY,0HAAe,MAAM,KAC/CA,+CAAsC,CAAC,MAAM;;AAGjD,QAAO,MAAM,WAAW,cAAc;;AAGxC,SAAgB,6BAGd,OAAqE;AACrE,QAAO,MAAM,iBAAiB;;AAGhC,SAAgB,0BAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,kBAAkB;;AACtC,QAAM,WAAW,6CACf,MAAM,QAAQ,8GAAY,+HAAmB,MAAM;;AAGvD,KAAI,MAAM,QAAQ,mBAAmB,CAAC,MAAM,WAAW,iBACrD,QAAO,MAAM,wBAAwB;AAGvC,QAAO,MAAM,WAAW,kBAAkB;;AAG5C,SAAgB,4BAGd,OAAqE;AACrE,QAAO,MAAM,qBAAqB;;AAGpC,SAAgB,yBAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,iBAAiB;;AACrC,QAAM,WAAW,4CACf,MAAM,QAAQ,8GAAY,8HAAkB,MAAM;;AAGtD,KAAI,MAAM,QAAQ,kBAAkB,CAAC,MAAM,WAAW,gBACpD,QAAO,MAAM,uBAAuB;AAGtC,QAAO,MAAM,WAAW,iBAAiB;;AAG3C,SAAgB,2BAGd,OAAqE;AACrE,QAAO,MAAM,oBAAoB;;AAGnC,SAAgB,wBAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,gBAAgB;;AACpC,QAAM,WAAW,2CACf,MAAM,QAAQ,8GAAY,6HAAiB,MAAM;;AAGrD,KAAI,MAAM,QAAQ,iBAAiB,CAAC,MAAM,WAAW,eACnD,QAAO,MAAM,sBAAsB;AAGrC,QAAO,MAAM,WAAW,gBAAgB;;AAG1C,SAAgB,6BAGd,OAAqE;AACrE,QAAO,MAAM,mBAAmB;;AAGlC,SAAgB,0BAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,kBAAkB;;AACtC,QAAM,WAAW,6CACf,MAAM,QAAQ,+GAAY,iIAAmB,MAAM;;AAGvD,KAAI,MAAM,QAAQ,mBAAmB,CAAC,MAAM,WAAW,iBACrD,QAAO,MAAM,wBAAwB;AAGvC,QAAO,MAAM,WAAW,kBAAkB;;AAG5C,SAAgB,8BAGd,OAAqE;AACrE,QAAO,MAAM,qBAAqB;;AAGpC,SAAgB,2BAGd,OAAqE;AACrE,KAAI,CAAC,MAAM,WAAW,mBAAmB;;AACvC,QAAM,WAAW,+CACf,MAAM,QAAQ,iHAAY,mIAAoB,MAAM;;AAGxD,KAAI,MAAM,QAAQ,oBAAoB,CAAC,MAAM,WAAW,kBACtD,QAAO,MAAM,yBAAyB;AAGxC,QAAO,MAAM,WAAW,mBAAmB;;AAG7C,SAAgB,kBAGd,OAAqE;AACrE,QAAO,MAAM,sBAAsB"}
1
+ {"version":3,"file":"coreRowModelsFeature.utils.cjs","names":["createCoreRowModel"],"sources":["../../../src/core/row-models/coreRowModelsFeature.utils.ts"],"sourcesContent":["import { createCoreRowModel } from './createCoreRowModel'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { RowData } from '../../types/type-utils'\nimport type { RowModel } from './coreRowModelsFeature.types'\n\n/**\n * Returns core row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getCoreRowModel(table)\n * ```\n */\nexport function table_getCoreRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.coreRowModel) {\n table._rowModels.coreRowModel =\n table.options._rowModels?.coreRowModel?.(table) ??\n createCoreRowModel<TFeatures, TData>()(table)\n }\n\n return table._rowModels.coreRowModel()\n}\n\n/**\n * Returns pre filtered row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPreFilteredRowModel(table)\n * ```\n */\nexport function table_getPreFilteredRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getCoreRowModel()\n}\n\n/**\n * Returns filtered row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getFilteredRowModel(table)\n * ```\n */\nexport function table_getFilteredRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.filteredRowModel) {\n table._rowModels.filteredRowModel =\n table.options._rowModels?.filteredRowModel?.(table)\n }\n\n if (table.options.manualFiltering || !table._rowModels.filteredRowModel) {\n return table.getPreFilteredRowModel()\n }\n\n return table._rowModels.filteredRowModel()\n}\n\n/**\n * Returns pre grouped row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPreGroupedRowModel(table)\n * ```\n */\nexport function table_getPreGroupedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getFilteredRowModel()\n}\n\n/**\n * Returns grouped row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getGroupedRowModel(table)\n * ```\n */\nexport function table_getGroupedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.groupedRowModel) {\n table._rowModels.groupedRowModel =\n table.options._rowModels?.groupedRowModel?.(table)\n }\n\n if (table.options.manualGrouping || !table._rowModels.groupedRowModel) {\n return table.getPreGroupedRowModel()\n }\n\n return table._rowModels.groupedRowModel()\n}\n\n/**\n * Returns pre sorted row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPreSortedRowModel(table)\n * ```\n */\nexport function table_getPreSortedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getGroupedRowModel()\n}\n\n/**\n * Returns sorted row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getSortedRowModel(table)\n * ```\n */\nexport function table_getSortedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.sortedRowModel) {\n table._rowModels.sortedRowModel =\n table.options._rowModels?.sortedRowModel?.(table)\n }\n\n if (table.options.manualSorting || !table._rowModels.sortedRowModel) {\n return table.getPreSortedRowModel()\n }\n\n return table._rowModels.sortedRowModel()\n}\n\n/**\n * Returns pre expanded row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPreExpandedRowModel(table)\n * ```\n */\nexport function table_getPreExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getSortedRowModel()\n}\n\n/**\n * Returns expanded row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getExpandedRowModel(table)\n * ```\n */\nexport function table_getExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.expandedRowModel) {\n table._rowModels.expandedRowModel =\n table.options._rowModels?.expandedRowModel?.(table)\n }\n\n if (table.options.manualExpanding || !table._rowModels.expandedRowModel) {\n return table.getPreExpandedRowModel()\n }\n\n return table._rowModels.expandedRowModel()\n}\n\n/**\n * Returns pre paginated row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPrePaginatedRowModel(table)\n * ```\n */\nexport function table_getPrePaginatedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getExpandedRowModel()\n}\n\n/**\n * Returns paginated row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getPaginatedRowModel(table)\n * ```\n */\nexport function table_getPaginatedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n if (!table._rowModels.paginatedRowModel) {\n table._rowModels.paginatedRowModel =\n table.options._rowModels?.paginatedRowModel?.(table)\n }\n\n if (table.options.manualPagination || !table._rowModels.paginatedRowModel) {\n return table.getPrePaginatedRowModel()\n }\n\n return table._rowModels.paginatedRowModel()\n}\n\n/**\n * Returns row model for the table.\n *\n * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.\n *\n * @example\n * ```ts\n * const value = table_getRowModel(table)\n * ```\n */\nexport function table_getRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n return table.getPaginatedRowModel()\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,cAAc;;EAClC,MAAM,WAAW,yCACf,MAAM,QAAQ,4GAAY,0HAAe,MAAM,KAC/CA,+CAAsC,CAAC,MAAM;;CAGjD,OAAO,MAAM,WAAW,cAAc;;;;;;;;;;;;AAaxC,SAAgB,6BAGd,OAAqE;CACrE,OAAO,MAAM,iBAAiB;;;;;;;;;;;;AAahC,SAAgB,0BAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,kBAAkB;;EACtC,MAAM,WAAW,6CACf,MAAM,QAAQ,8GAAY,+HAAmB,MAAM;;CAGvD,IAAI,MAAM,QAAQ,mBAAmB,CAAC,MAAM,WAAW,kBACrD,OAAO,MAAM,wBAAwB;CAGvC,OAAO,MAAM,WAAW,kBAAkB;;;;;;;;;;;;AAa5C,SAAgB,4BAGd,OAAqE;CACrE,OAAO,MAAM,qBAAqB;;;;;;;;;;;;AAapC,SAAgB,yBAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,iBAAiB;;EACrC,MAAM,WAAW,4CACf,MAAM,QAAQ,8GAAY,8HAAkB,MAAM;;CAGtD,IAAI,MAAM,QAAQ,kBAAkB,CAAC,MAAM,WAAW,iBACpD,OAAO,MAAM,uBAAuB;CAGtC,OAAO,MAAM,WAAW,iBAAiB;;;;;;;;;;;;AAa3C,SAAgB,2BAGd,OAAqE;CACrE,OAAO,MAAM,oBAAoB;;;;;;;;;;;;AAanC,SAAgB,wBAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,gBAAgB;;EACpC,MAAM,WAAW,2CACf,MAAM,QAAQ,8GAAY,6HAAiB,MAAM;;CAGrD,IAAI,MAAM,QAAQ,iBAAiB,CAAC,MAAM,WAAW,gBACnD,OAAO,MAAM,sBAAsB;CAGrC,OAAO,MAAM,WAAW,gBAAgB;;;;;;;;;;;;AAa1C,SAAgB,6BAGd,OAAqE;CACrE,OAAO,MAAM,mBAAmB;;;;;;;;;;;;AAalC,SAAgB,0BAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,kBAAkB;;EACtC,MAAM,WAAW,6CACf,MAAM,QAAQ,+GAAY,iIAAmB,MAAM;;CAGvD,IAAI,MAAM,QAAQ,mBAAmB,CAAC,MAAM,WAAW,kBACrD,OAAO,MAAM,wBAAwB;CAGvC,OAAO,MAAM,WAAW,kBAAkB;;;;;;;;;;;;AAa5C,SAAgB,8BAGd,OAAqE;CACrE,OAAO,MAAM,qBAAqB;;;;;;;;;;;;AAapC,SAAgB,2BAGd,OAAqE;CACrE,IAAI,CAAC,MAAM,WAAW,mBAAmB;;EACvC,MAAM,WAAW,+CACf,MAAM,QAAQ,iHAAY,mIAAoB,MAAM;;CAGxD,IAAI,MAAM,QAAQ,oBAAoB,CAAC,MAAM,WAAW,mBACtD,OAAO,MAAM,yBAAyB;CAGxC,OAAO,MAAM,WAAW,mBAAmB;;;;;;;;;;;;AAa7C,SAAgB,kBAGd,OAAqE;CACrE,OAAO,MAAM,sBAAsB"}
@@ -4,17 +4,137 @@ import { Table_Internal } from "../../types/Table.cjs";
4
4
  import { RowModel } from "./coreRowModelsFeature.types.cjs";
5
5
 
6
6
  //#region src/core/row-models/coreRowModelsFeature.utils.d.ts
7
+ /**
8
+ * Returns core row model for the table.
9
+ *
10
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const value = table_getCoreRowModel(table)
15
+ * ```
16
+ */
7
17
  declare function table_getCoreRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
18
+ /**
19
+ * Returns pre filtered row model for the table.
20
+ *
21
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const value = table_getPreFilteredRowModel(table)
26
+ * ```
27
+ */
8
28
  declare function table_getPreFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
29
+ /**
30
+ * Returns filtered row model for the table.
31
+ *
32
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const value = table_getFilteredRowModel(table)
37
+ * ```
38
+ */
9
39
  declare function table_getFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
40
+ /**
41
+ * Returns pre grouped row model for the table.
42
+ *
43
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const value = table_getPreGroupedRowModel(table)
48
+ * ```
49
+ */
10
50
  declare function table_getPreGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
51
+ /**
52
+ * Returns grouped row model for the table.
53
+ *
54
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const value = table_getGroupedRowModel(table)
59
+ * ```
60
+ */
11
61
  declare function table_getGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
62
+ /**
63
+ * Returns pre sorted row model for the table.
64
+ *
65
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const value = table_getPreSortedRowModel(table)
70
+ * ```
71
+ */
12
72
  declare function table_getPreSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
73
+ /**
74
+ * Returns sorted row model for the table.
75
+ *
76
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const value = table_getSortedRowModel(table)
81
+ * ```
82
+ */
13
83
  declare function table_getSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
84
+ /**
85
+ * Returns pre expanded row model for the table.
86
+ *
87
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * const value = table_getPreExpandedRowModel(table)
92
+ * ```
93
+ */
14
94
  declare function table_getPreExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
95
+ /**
96
+ * Returns expanded row model for the table.
97
+ *
98
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const value = table_getExpandedRowModel(table)
103
+ * ```
104
+ */
15
105
  declare function table_getExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
106
+ /**
107
+ * Returns pre paginated row model for the table.
108
+ *
109
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * const value = table_getPrePaginatedRowModel(table)
114
+ * ```
115
+ */
16
116
  declare function table_getPrePaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
117
+ /**
118
+ * Returns paginated row model for the table.
119
+ *
120
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
121
+ *
122
+ * @example
123
+ * ```ts
124
+ * const value = table_getPaginatedRowModel(table)
125
+ * ```
126
+ */
17
127
  declare function table_getPaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
128
+ /**
129
+ * Returns row model for the table.
130
+ *
131
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
132
+ *
133
+ * @example
134
+ * ```ts
135
+ * const value = table_getRowModel(table)
136
+ * ```
137
+ */
18
138
  declare function table_getRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
19
139
  //#endregion
20
140
  export { table_getCoreRowModel, table_getExpandedRowModel, table_getFilteredRowModel, table_getGroupedRowModel, table_getPaginatedRowModel, table_getPreExpandedRowModel, table_getPreFilteredRowModel, table_getPreGroupedRowModel, table_getPrePaginatedRowModel, table_getPreSortedRowModel, table_getRowModel, table_getSortedRowModel };
@@ -4,17 +4,137 @@ import { Table_Internal } from "../../types/Table.js";
4
4
  import { RowModel } from "./coreRowModelsFeature.types.js";
5
5
 
6
6
  //#region src/core/row-models/coreRowModelsFeature.utils.d.ts
7
+ /**
8
+ * Returns core row model for the table.
9
+ *
10
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const value = table_getCoreRowModel(table)
15
+ * ```
16
+ */
7
17
  declare function table_getCoreRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
18
+ /**
19
+ * Returns pre filtered row model for the table.
20
+ *
21
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const value = table_getPreFilteredRowModel(table)
26
+ * ```
27
+ */
8
28
  declare function table_getPreFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
29
+ /**
30
+ * Returns filtered row model for the table.
31
+ *
32
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const value = table_getFilteredRowModel(table)
37
+ * ```
38
+ */
9
39
  declare function table_getFilteredRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
40
+ /**
41
+ * Returns pre grouped row model for the table.
42
+ *
43
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const value = table_getPreGroupedRowModel(table)
48
+ * ```
49
+ */
10
50
  declare function table_getPreGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
51
+ /**
52
+ * Returns grouped row model for the table.
53
+ *
54
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const value = table_getGroupedRowModel(table)
59
+ * ```
60
+ */
11
61
  declare function table_getGroupedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
62
+ /**
63
+ * Returns pre sorted row model for the table.
64
+ *
65
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const value = table_getPreSortedRowModel(table)
70
+ * ```
71
+ */
12
72
  declare function table_getPreSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
73
+ /**
74
+ * Returns sorted row model for the table.
75
+ *
76
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const value = table_getSortedRowModel(table)
81
+ * ```
82
+ */
13
83
  declare function table_getSortedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
84
+ /**
85
+ * Returns pre expanded row model for the table.
86
+ *
87
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * const value = table_getPreExpandedRowModel(table)
92
+ * ```
93
+ */
14
94
  declare function table_getPreExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
95
+ /**
96
+ * Returns expanded row model for the table.
97
+ *
98
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const value = table_getExpandedRowModel(table)
103
+ * ```
104
+ */
15
105
  declare function table_getExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
106
+ /**
107
+ * Returns pre paginated row model for the table.
108
+ *
109
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * const value = table_getPrePaginatedRowModel(table)
114
+ * ```
115
+ */
16
116
  declare function table_getPrePaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
117
+ /**
118
+ * Returns paginated row model for the table.
119
+ *
120
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
121
+ *
122
+ * @example
123
+ * ```ts
124
+ * const value = table_getPaginatedRowModel(table)
125
+ * ```
126
+ */
17
127
  declare function table_getPaginatedRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
128
+ /**
129
+ * Returns row model for the table.
130
+ *
131
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
132
+ *
133
+ * @example
134
+ * ```ts
135
+ * const value = table_getRowModel(table)
136
+ * ```
137
+ */
18
138
  declare function table_getRowModel<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData>;
19
139
  //#endregion
20
140
  export { table_getCoreRowModel, table_getExpandedRowModel, table_getFilteredRowModel, table_getGroupedRowModel, table_getPaginatedRowModel, table_getPreExpandedRowModel, table_getPreFilteredRowModel, table_getPreGroupedRowModel, table_getPrePaginatedRowModel, table_getPreSortedRowModel, table_getRowModel, table_getSortedRowModel };
@@ -1,6 +1,16 @@
1
1
  import { createCoreRowModel } from "./createCoreRowModel.js";
2
2
 
3
3
  //#region src/core/row-models/coreRowModelsFeature.utils.ts
4
+ /**
5
+ * Returns core row model for the table.
6
+ *
7
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const value = table_getCoreRowModel(table)
12
+ * ```
13
+ */
4
14
  function table_getCoreRowModel(table) {
5
15
  if (!table._rowModels.coreRowModel) {
6
16
  var _table$options$_rowMo, _table$options$_rowMo2;
@@ -8,9 +18,29 @@ function table_getCoreRowModel(table) {
8
18
  }
9
19
  return table._rowModels.coreRowModel();
10
20
  }
21
+ /**
22
+ * Returns pre filtered row model for the table.
23
+ *
24
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const value = table_getPreFilteredRowModel(table)
29
+ * ```
30
+ */
11
31
  function table_getPreFilteredRowModel(table) {
12
32
  return table.getCoreRowModel();
13
33
  }
34
+ /**
35
+ * Returns filtered row model for the table.
36
+ *
37
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * const value = table_getFilteredRowModel(table)
42
+ * ```
43
+ */
14
44
  function table_getFilteredRowModel(table) {
15
45
  if (!table._rowModels.filteredRowModel) {
16
46
  var _table$options$_rowMo3, _table$options$_rowMo4;
@@ -19,9 +49,29 @@ function table_getFilteredRowModel(table) {
19
49
  if (table.options.manualFiltering || !table._rowModels.filteredRowModel) return table.getPreFilteredRowModel();
20
50
  return table._rowModels.filteredRowModel();
21
51
  }
52
+ /**
53
+ * Returns pre grouped row model for the table.
54
+ *
55
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const value = table_getPreGroupedRowModel(table)
60
+ * ```
61
+ */
22
62
  function table_getPreGroupedRowModel(table) {
23
63
  return table.getFilteredRowModel();
24
64
  }
65
+ /**
66
+ * Returns grouped row model for the table.
67
+ *
68
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
69
+ *
70
+ * @example
71
+ * ```ts
72
+ * const value = table_getGroupedRowModel(table)
73
+ * ```
74
+ */
25
75
  function table_getGroupedRowModel(table) {
26
76
  if (!table._rowModels.groupedRowModel) {
27
77
  var _table$options$_rowMo5, _table$options$_rowMo6;
@@ -30,9 +80,29 @@ function table_getGroupedRowModel(table) {
30
80
  if (table.options.manualGrouping || !table._rowModels.groupedRowModel) return table.getPreGroupedRowModel();
31
81
  return table._rowModels.groupedRowModel();
32
82
  }
83
+ /**
84
+ * Returns pre sorted row model for the table.
85
+ *
86
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * const value = table_getPreSortedRowModel(table)
91
+ * ```
92
+ */
33
93
  function table_getPreSortedRowModel(table) {
34
94
  return table.getGroupedRowModel();
35
95
  }
96
+ /**
97
+ * Returns sorted row model for the table.
98
+ *
99
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * const value = table_getSortedRowModel(table)
104
+ * ```
105
+ */
36
106
  function table_getSortedRowModel(table) {
37
107
  if (!table._rowModels.sortedRowModel) {
38
108
  var _table$options$_rowMo7, _table$options$_rowMo8;
@@ -41,9 +111,29 @@ function table_getSortedRowModel(table) {
41
111
  if (table.options.manualSorting || !table._rowModels.sortedRowModel) return table.getPreSortedRowModel();
42
112
  return table._rowModels.sortedRowModel();
43
113
  }
114
+ /**
115
+ * Returns pre expanded row model for the table.
116
+ *
117
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * const value = table_getPreExpandedRowModel(table)
122
+ * ```
123
+ */
44
124
  function table_getPreExpandedRowModel(table) {
45
125
  return table.getSortedRowModel();
46
126
  }
127
+ /**
128
+ * Returns expanded row model for the table.
129
+ *
130
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * const value = table_getExpandedRowModel(table)
135
+ * ```
136
+ */
47
137
  function table_getExpandedRowModel(table) {
48
138
  if (!table._rowModels.expandedRowModel) {
49
139
  var _table$options$_rowMo9, _table$options$_rowMo10;
@@ -52,9 +142,29 @@ function table_getExpandedRowModel(table) {
52
142
  if (table.options.manualExpanding || !table._rowModels.expandedRowModel) return table.getPreExpandedRowModel();
53
143
  return table._rowModels.expandedRowModel();
54
144
  }
145
+ /**
146
+ * Returns pre paginated row model for the table.
147
+ *
148
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
149
+ *
150
+ * @example
151
+ * ```ts
152
+ * const value = table_getPrePaginatedRowModel(table)
153
+ * ```
154
+ */
55
155
  function table_getPrePaginatedRowModel(table) {
56
156
  return table.getExpandedRowModel();
57
157
  }
158
+ /**
159
+ * Returns paginated row model for the table.
160
+ *
161
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
162
+ *
163
+ * @example
164
+ * ```ts
165
+ * const value = table_getPaginatedRowModel(table)
166
+ * ```
167
+ */
58
168
  function table_getPaginatedRowModel(table) {
59
169
  if (!table._rowModels.paginatedRowModel) {
60
170
  var _table$options$_rowMo11, _table$options$_rowMo12;
@@ -63,6 +173,16 @@ function table_getPaginatedRowModel(table) {
63
173
  if (table.options.manualPagination || !table._rowModels.paginatedRowModel) return table.getPrePaginatedRowModel();
64
174
  return table._rowModels.paginatedRowModel();
65
175
  }
176
+ /**
177
+ * Returns row model for the table.
178
+ *
179
+ * This reads the relevant table atoms, options, and row-model cache to derive the current table-level value.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * const value = table_getRowModel(table)
184
+ * ```
185
+ */
66
186
  function table_getRowModel(table) {
67
187
  return table.getPaginatedRowModel();
68
188
  }