@tanstack/table-core 9.0.0-alpha.16 → 9.0.0-alpha.23

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 (706) hide show
  1. package/dist/core/cells/constructCell.cjs +28 -0
  2. package/dist/core/cells/constructCell.cjs.map +1 -0
  3. package/dist/core/cells/constructCell.d.cts +12 -0
  4. package/dist/core/cells/constructCell.d.ts +12 -0
  5. package/dist/core/cells/constructCell.js +27 -0
  6. package/dist/core/cells/constructCell.js.map +1 -0
  7. package/dist/core/cells/coreCellsFeature.cjs +25 -0
  8. package/dist/core/cells/coreCellsFeature.cjs.map +1 -0
  9. package/dist/core/cells/coreCellsFeature.d.cts +13 -0
  10. package/dist/core/cells/coreCellsFeature.d.ts +13 -0
  11. package/dist/core/cells/coreCellsFeature.js +24 -0
  12. package/dist/core/cells/coreCellsFeature.js.map +1 -0
  13. package/dist/core/cells/coreCellsFeature.types.d.cts +57 -0
  14. package/dist/core/cells/coreCellsFeature.types.d.ts +57 -0
  15. package/dist/core/cells/coreCellsFeature.utils.cjs +24 -0
  16. package/dist/core/cells/coreCellsFeature.utils.cjs.map +1 -0
  17. package/dist/core/cells/coreCellsFeature.utils.d.cts +20 -0
  18. package/dist/core/cells/coreCellsFeature.utils.d.ts +20 -0
  19. package/dist/core/cells/coreCellsFeature.utils.js +21 -0
  20. package/dist/core/cells/coreCellsFeature.utils.js.map +1 -0
  21. package/dist/core/columns/constructColumn.cjs +52 -0
  22. package/dist/core/columns/constructColumn.cjs.map +1 -0
  23. package/dist/core/columns/constructColumn.d.cts +11 -0
  24. package/dist/core/columns/constructColumn.d.ts +11 -0
  25. package/dist/core/columns/constructColumn.js +51 -0
  26. package/dist/core/columns/constructColumn.js.map +1 -0
  27. package/dist/core/columns/coreColumnsFeature.cjs +64 -0
  28. package/dist/core/columns/coreColumnsFeature.cjs.map +1 -0
  29. package/dist/core/columns/coreColumnsFeature.d.cts +13 -0
  30. package/dist/core/columns/coreColumnsFeature.d.ts +13 -0
  31. package/dist/core/columns/coreColumnsFeature.js +63 -0
  32. package/dist/core/columns/coreColumnsFeature.js.map +1 -0
  33. package/dist/core/columns/coreColumnsFeature.types.d.cts +89 -0
  34. package/dist/core/columns/coreColumnsFeature.types.d.ts +89 -0
  35. package/dist/core/columns/coreColumnsFeature.utils.cjs +74 -0
  36. package/dist/core/columns/coreColumnsFeature.utils.cjs.map +1 -0
  37. package/dist/core/columns/coreColumnsFeature.utils.d.cts +18 -0
  38. package/dist/core/columns/coreColumnsFeature.utils.d.ts +18 -0
  39. package/dist/core/columns/coreColumnsFeature.utils.js +67 -0
  40. package/dist/core/columns/coreColumnsFeature.utils.js.map +1 -0
  41. package/dist/core/coreFeatures.cjs +20 -0
  42. package/dist/core/coreFeatures.cjs.map +1 -0
  43. package/dist/core/coreFeatures.d.cts +20 -0
  44. package/dist/core/coreFeatures.d.ts +20 -0
  45. package/dist/{esm/core → core}/coreFeatures.js +12 -10
  46. package/dist/core/coreFeatures.js.map +1 -0
  47. package/dist/core/headers/buildHeaderGroups.cjs +90 -0
  48. package/dist/core/headers/buildHeaderGroups.cjs.map +1 -0
  49. package/dist/core/headers/buildHeaderGroups.d.cts +11 -0
  50. package/dist/core/headers/buildHeaderGroups.d.ts +11 -0
  51. package/dist/core/headers/buildHeaderGroups.js +90 -0
  52. package/dist/core/headers/buildHeaderGroups.js.map +1 -0
  53. package/dist/core/headers/constructHeader.cjs +35 -0
  54. package/dist/core/headers/constructHeader.cjs.map +1 -0
  55. package/dist/core/headers/constructHeader.d.cts +17 -0
  56. package/dist/core/headers/constructHeader.d.ts +17 -0
  57. package/dist/core/headers/constructHeader.js +34 -0
  58. package/dist/core/headers/constructHeader.js.map +1 -0
  59. package/dist/core/headers/coreHeadersFeature.cjs +61 -0
  60. package/dist/core/headers/coreHeadersFeature.cjs.map +1 -0
  61. package/dist/core/headers/coreHeadersFeature.d.cts +13 -0
  62. package/dist/core/headers/coreHeadersFeature.d.ts +13 -0
  63. package/dist/core/headers/coreHeadersFeature.js +60 -0
  64. package/dist/core/headers/coreHeadersFeature.js.map +1 -0
  65. package/dist/core/headers/coreHeadersFeature.types.d.cts +104 -0
  66. package/dist/core/headers/coreHeadersFeature.types.d.ts +104 -0
  67. package/dist/core/headers/coreHeadersFeature.utils.cjs +65 -0
  68. package/dist/core/headers/coreHeadersFeature.utils.cjs.map +1 -0
  69. package/dist/core/headers/coreHeadersFeature.utils.d.cts +20 -0
  70. package/dist/core/headers/coreHeadersFeature.utils.d.ts +20 -0
  71. package/dist/core/headers/coreHeadersFeature.utils.js +60 -0
  72. package/dist/core/headers/coreHeadersFeature.utils.js.map +1 -0
  73. package/dist/core/row-models/coreRowModelsFeature.cjs +31 -0
  74. package/dist/core/row-models/coreRowModelsFeature.cjs.map +1 -0
  75. package/dist/core/row-models/coreRowModelsFeature.d.cts +13 -0
  76. package/dist/core/row-models/coreRowModelsFeature.d.ts +13 -0
  77. package/dist/core/row-models/coreRowModelsFeature.js +30 -0
  78. package/dist/core/row-models/coreRowModelsFeature.js.map +1 -0
  79. package/dist/core/row-models/coreRowModelsFeature.types.d.cts +42 -0
  80. package/dist/core/row-models/coreRowModelsFeature.types.d.ts +42 -0
  81. package/dist/core/row-models/coreRowModelsFeature.utils.cjs +83 -0
  82. package/dist/core/row-models/coreRowModelsFeature.utils.cjs.map +1 -0
  83. package/dist/core/row-models/coreRowModelsFeature.utils.d.cts +21 -0
  84. package/dist/core/row-models/coreRowModelsFeature.utils.d.ts +21 -0
  85. package/dist/core/row-models/coreRowModelsFeature.utils.js +72 -0
  86. package/dist/core/row-models/coreRowModelsFeature.utils.js.map +1 -0
  87. package/dist/core/row-models/createCoreRowModel.cjs +47 -0
  88. package/dist/core/row-models/createCoreRowModel.cjs.map +1 -0
  89. package/dist/core/row-models/createCoreRowModel.d.cts +10 -0
  90. package/dist/core/row-models/createCoreRowModel.d.ts +10 -0
  91. package/dist/core/row-models/createCoreRowModel.js +47 -0
  92. package/dist/core/row-models/createCoreRowModel.js.map +1 -0
  93. package/dist/core/rows/constructRow.cjs +37 -0
  94. package/dist/core/rows/constructRow.cjs.map +1 -0
  95. package/dist/core/rows/constructRow.d.cts +10 -0
  96. package/dist/core/rows/constructRow.d.ts +10 -0
  97. package/dist/core/rows/constructRow.js +36 -0
  98. package/dist/core/rows/constructRow.js.map +1 -0
  99. package/dist/core/rows/coreRowsFeature.cjs +41 -0
  100. package/dist/core/rows/coreRowsFeature.cjs.map +1 -0
  101. package/dist/core/rows/coreRowsFeature.d.cts +13 -0
  102. package/dist/core/rows/coreRowsFeature.d.ts +13 -0
  103. package/dist/core/rows/coreRowsFeature.js +40 -0
  104. package/dist/core/rows/coreRowsFeature.js.map +1 -0
  105. package/dist/core/rows/coreRowsFeature.types.d.cts +96 -0
  106. package/dist/core/rows/coreRowsFeature.types.d.ts +96 -0
  107. package/dist/core/rows/coreRowsFeature.utils.cjs +81 -0
  108. package/dist/core/rows/coreRowsFeature.utils.cjs.map +1 -0
  109. package/dist/core/rows/coreRowsFeature.utils.d.cts +20 -0
  110. package/dist/core/rows/coreRowsFeature.utils.d.ts +20 -0
  111. package/dist/core/rows/coreRowsFeature.utils.js +72 -0
  112. package/dist/core/rows/coreRowsFeature.utils.js.map +1 -0
  113. package/dist/core/table/constructTable.cjs +69 -0
  114. package/dist/core/table/constructTable.cjs.map +1 -0
  115. package/dist/core/table/constructTable.d.cts +14 -0
  116. package/dist/core/table/constructTable.d.ts +14 -0
  117. package/dist/core/table/constructTable.js +67 -0
  118. package/dist/core/table/constructTable.js.map +1 -0
  119. package/dist/core/table/coreTablesFeature.cjs +21 -0
  120. package/dist/core/table/coreTablesFeature.cjs.map +1 -0
  121. package/dist/core/table/coreTablesFeature.d.cts +13 -0
  122. package/dist/core/table/coreTablesFeature.d.ts +13 -0
  123. package/dist/core/table/coreTablesFeature.js +20 -0
  124. package/dist/core/table/coreTablesFeature.js.map +1 -0
  125. package/dist/core/table/coreTablesFeature.types.d.cts +113 -0
  126. package/dist/core/table/coreTablesFeature.types.d.ts +113 -0
  127. package/dist/core/table/coreTablesFeature.utils.cjs +23 -0
  128. package/dist/core/table/coreTablesFeature.utils.cjs.map +1 -0
  129. package/dist/core/table/coreTablesFeature.utils.d.cts +12 -0
  130. package/dist/core/table/coreTablesFeature.utils.d.ts +12 -0
  131. package/dist/core/table/coreTablesFeature.utils.js +21 -0
  132. package/dist/core/table/coreTablesFeature.utils.js.map +1 -0
  133. package/dist/features/column-faceting/columnFacetingFeature.cjs +59 -0
  134. package/dist/features/column-faceting/columnFacetingFeature.cjs.map +1 -0
  135. package/dist/features/column-faceting/columnFacetingFeature.d.cts +13 -0
  136. package/dist/features/column-faceting/columnFacetingFeature.d.ts +13 -0
  137. package/dist/features/column-faceting/columnFacetingFeature.js +58 -0
  138. package/dist/features/column-faceting/columnFacetingFeature.js.map +1 -0
  139. package/dist/features/column-faceting/columnFacetingFeature.types.d.cts +73 -0
  140. package/dist/features/column-faceting/columnFacetingFeature.types.d.ts +73 -0
  141. package/dist/features/column-faceting/columnFacetingFeature.utils.cjs +35 -0
  142. package/dist/features/column-faceting/columnFacetingFeature.utils.cjs.map +1 -0
  143. package/dist/features/column-faceting/columnFacetingFeature.utils.d.cts +16 -0
  144. package/dist/features/column-faceting/columnFacetingFeature.utils.d.ts +16 -0
  145. package/dist/features/column-faceting/columnFacetingFeature.utils.js +29 -0
  146. package/dist/features/column-faceting/columnFacetingFeature.utils.js.map +1 -0
  147. package/dist/features/column-faceting/createFacetedMinMaxValues.cjs +36 -0
  148. package/dist/features/column-faceting/createFacetedMinMaxValues.cjs.map +1 -0
  149. package/dist/features/column-faceting/createFacetedMinMaxValues.d.cts +9 -0
  150. package/dist/features/column-faceting/createFacetedMinMaxValues.d.ts +9 -0
  151. package/dist/features/column-faceting/createFacetedMinMaxValues.js +36 -0
  152. package/dist/features/column-faceting/createFacetedMinMaxValues.js.map +1 -0
  153. package/dist/features/column-faceting/createFacetedRowModel.cjs +37 -0
  154. package/dist/features/column-faceting/createFacetedRowModel.cjs.map +1 -0
  155. package/dist/features/column-faceting/createFacetedRowModel.d.cts +10 -0
  156. package/dist/features/column-faceting/createFacetedRowModel.d.ts +10 -0
  157. package/dist/features/column-faceting/createFacetedRowModel.js +37 -0
  158. package/dist/features/column-faceting/createFacetedRowModel.js.map +1 -0
  159. package/dist/features/column-faceting/createFacetedUniqueValues.cjs +33 -0
  160. package/dist/features/column-faceting/createFacetedUniqueValues.cjs.map +1 -0
  161. package/dist/features/column-faceting/createFacetedUniqueValues.d.cts +9 -0
  162. package/dist/features/column-faceting/createFacetedUniqueValues.d.ts +9 -0
  163. package/dist/features/column-faceting/createFacetedUniqueValues.js +33 -0
  164. package/dist/features/column-faceting/createFacetedUniqueValues.js.map +1 -0
  165. package/dist/features/column-filtering/columnFilteringFeature.cjs +55 -0
  166. package/dist/features/column-filtering/columnFilteringFeature.cjs.map +1 -0
  167. package/dist/features/column-filtering/columnFilteringFeature.d.cts +14 -0
  168. package/dist/features/column-filtering/columnFilteringFeature.d.ts +14 -0
  169. package/dist/features/column-filtering/columnFilteringFeature.js +54 -0
  170. package/dist/features/column-filtering/columnFilteringFeature.js.map +1 -0
  171. package/dist/features/column-filtering/columnFilteringFeature.types.d.cts +147 -0
  172. package/dist/features/column-filtering/columnFilteringFeature.types.d.ts +147 -0
  173. package/dist/features/column-filtering/columnFilteringFeature.utils.cjs +90 -0
  174. package/dist/features/column-filtering/columnFilteringFeature.utils.cjs.map +1 -0
  175. package/dist/features/column-filtering/columnFilteringFeature.utils.d.cts +21 -0
  176. package/dist/features/column-filtering/columnFilteringFeature.utils.d.ts +21 -0
  177. package/dist/features/column-filtering/columnFilteringFeature.utils.js +80 -0
  178. package/dist/features/column-filtering/columnFilteringFeature.utils.js.map +1 -0
  179. package/dist/features/column-filtering/createFilteredRowModel.cjs +94 -0
  180. package/dist/features/column-filtering/createFilteredRowModel.cjs.map +1 -0
  181. package/dist/features/column-filtering/createFilteredRowModel.d.cts +11 -0
  182. package/dist/features/column-filtering/createFilteredRowModel.d.ts +11 -0
  183. package/dist/features/column-filtering/createFilteredRowModel.js +94 -0
  184. package/dist/features/column-filtering/createFilteredRowModel.js.map +1 -0
  185. package/dist/features/column-filtering/filterRowsUtils.cjs +76 -0
  186. package/dist/features/column-filtering/filterRowsUtils.cjs.map +1 -0
  187. package/dist/features/column-filtering/filterRowsUtils.js +76 -0
  188. package/dist/features/column-filtering/filterRowsUtils.js.map +1 -0
  189. package/dist/features/column-grouping/columnGroupingFeature.cjs +71 -0
  190. package/dist/features/column-grouping/columnGroupingFeature.cjs.map +1 -0
  191. package/dist/features/column-grouping/columnGroupingFeature.d.cts +13 -0
  192. package/dist/features/column-grouping/columnGroupingFeature.d.ts +13 -0
  193. package/dist/features/column-grouping/columnGroupingFeature.js +70 -0
  194. package/dist/features/column-grouping/columnGroupingFeature.js.map +1 -0
  195. package/dist/features/column-grouping/columnGroupingFeature.types.d.cts +157 -0
  196. package/dist/features/column-grouping/columnGroupingFeature.types.d.ts +157 -0
  197. package/dist/features/column-grouping/columnGroupingFeature.utils.cjs +88 -0
  198. package/dist/features/column-grouping/columnGroupingFeature.utils.cjs.map +1 -0
  199. package/dist/features/column-grouping/columnGroupingFeature.utils.d.cts +27 -0
  200. package/dist/features/column-grouping/columnGroupingFeature.utils.d.ts +27 -0
  201. package/dist/features/column-grouping/columnGroupingFeature.utils.js +74 -0
  202. package/dist/features/column-grouping/columnGroupingFeature.utils.js.map +1 -0
  203. package/dist/features/column-grouping/createGroupedRowModel.cjs +110 -0
  204. package/dist/features/column-grouping/createGroupedRowModel.cjs.map +1 -0
  205. package/dist/features/column-grouping/createGroupedRowModel.d.cts +11 -0
  206. package/dist/features/column-grouping/createGroupedRowModel.d.ts +11 -0
  207. package/dist/features/column-grouping/createGroupedRowModel.js +110 -0
  208. package/dist/features/column-grouping/createGroupedRowModel.js.map +1 -0
  209. package/dist/features/column-ordering/columnOrderingFeature.cjs +55 -0
  210. package/dist/features/column-ordering/columnOrderingFeature.cjs.map +1 -0
  211. package/dist/features/column-ordering/columnOrderingFeature.d.cts +13 -0
  212. package/dist/features/column-ordering/columnOrderingFeature.d.ts +13 -0
  213. package/dist/features/column-ordering/columnOrderingFeature.js +54 -0
  214. package/dist/features/column-ordering/columnOrderingFeature.js.map +1 -0
  215. package/dist/features/column-ordering/columnOrderingFeature.types.d.cts +45 -0
  216. package/dist/features/column-ordering/columnOrderingFeature.types.d.ts +45 -0
  217. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs +62 -0
  218. package/dist/features/column-ordering/columnOrderingFeature.utils.cjs.map +1 -0
  219. package/dist/features/column-ordering/columnOrderingFeature.utils.d.cts +19 -0
  220. package/dist/features/column-ordering/columnOrderingFeature.utils.d.ts +19 -0
  221. package/dist/features/column-ordering/columnOrderingFeature.utils.js +55 -0
  222. package/dist/features/column-ordering/columnOrderingFeature.utils.js.map +1 -0
  223. package/dist/features/column-pinning/columnPinningFeature.cjs +178 -0
  224. package/dist/features/column-pinning/columnPinningFeature.cjs.map +1 -0
  225. package/dist/features/column-pinning/columnPinningFeature.d.cts +13 -0
  226. package/dist/features/column-pinning/columnPinningFeature.d.ts +13 -0
  227. package/dist/features/column-pinning/columnPinningFeature.js +177 -0
  228. package/dist/features/column-pinning/columnPinningFeature.js.map +1 -0
  229. package/dist/features/column-pinning/columnPinningFeature.types.d.cts +162 -0
  230. package/dist/features/column-pinning/columnPinningFeature.types.d.ts +162 -0
  231. package/dist/features/column-pinning/columnPinningFeature.utils.cjs +194 -0
  232. package/dist/features/column-pinning/columnPinningFeature.utils.cjs.map +1 -0
  233. package/dist/features/column-pinning/columnPinningFeature.utils.d.cts +43 -0
  234. package/dist/features/column-pinning/columnPinningFeature.utils.d.ts +43 -0
  235. package/dist/features/column-pinning/columnPinningFeature.utils.js +164 -0
  236. package/dist/features/column-pinning/columnPinningFeature.utils.js.map +1 -0
  237. package/dist/features/column-resizing/columnResizingFeature.cjs +46 -0
  238. package/dist/features/column-resizing/columnResizingFeature.cjs.map +1 -0
  239. package/dist/features/column-resizing/columnResizingFeature.d.cts +14 -0
  240. package/dist/features/column-resizing/columnResizingFeature.d.ts +14 -0
  241. package/dist/features/column-resizing/columnResizingFeature.js +45 -0
  242. package/dist/features/column-resizing/columnResizingFeature.js.map +1 -0
  243. package/dist/features/column-resizing/columnResizingFeature.types.d.cts +73 -0
  244. package/dist/features/column-resizing/columnResizingFeature.types.d.ts +73 -0
  245. package/dist/features/column-resizing/columnResizingFeature.utils.cjs +156 -0
  246. package/dist/features/column-resizing/columnResizingFeature.utils.cjs.map +1 -0
  247. package/dist/features/column-resizing/columnResizingFeature.utils.d.cts +19 -0
  248. package/dist/features/column-resizing/columnResizingFeature.utils.d.ts +19 -0
  249. package/dist/features/column-resizing/columnResizingFeature.utils.js +149 -0
  250. package/dist/features/column-resizing/columnResizingFeature.utils.js.map +1 -0
  251. package/dist/features/column-sizing/columnSizingFeature.cjs +69 -0
  252. package/dist/features/column-sizing/columnSizingFeature.cjs.map +1 -0
  253. package/dist/features/column-sizing/columnSizingFeature.d.cts +14 -0
  254. package/dist/features/column-sizing/columnSizingFeature.d.ts +14 -0
  255. package/dist/features/column-sizing/columnSizingFeature.js +68 -0
  256. package/dist/features/column-sizing/columnSizingFeature.js.map +1 -0
  257. package/dist/features/column-sizing/columnSizingFeature.types.d.cts +86 -0
  258. package/dist/features/column-sizing/columnSizingFeature.types.d.ts +86 -0
  259. package/dist/features/column-sizing/columnSizingFeature.utils.cjs +97 -0
  260. package/dist/features/column-sizing/columnSizingFeature.utils.cjs.map +1 -0
  261. package/dist/features/column-sizing/columnSizingFeature.utils.d.cts +30 -0
  262. package/dist/features/column-sizing/columnSizingFeature.utils.d.ts +30 -0
  263. package/dist/features/column-sizing/columnSizingFeature.utils.js +84 -0
  264. package/dist/features/column-sizing/columnSizingFeature.utils.js.map +1 -0
  265. package/dist/features/column-visibility/columnVisibilityFeature.cjs +76 -0
  266. package/dist/features/column-visibility/columnVisibilityFeature.cjs.map +1 -0
  267. package/dist/features/column-visibility/columnVisibilityFeature.d.cts +13 -0
  268. package/dist/features/column-visibility/columnVisibilityFeature.d.ts +13 -0
  269. package/dist/features/column-visibility/columnVisibilityFeature.js +75 -0
  270. package/dist/features/column-visibility/columnVisibilityFeature.js.map +1 -0
  271. package/dist/features/column-visibility/columnVisibilityFeature.types.d.cts +89 -0
  272. package/dist/features/column-visibility/columnVisibilityFeature.types.d.ts +89 -0
  273. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs +84 -0
  274. package/dist/features/column-visibility/columnVisibilityFeature.utils.cjs.map +1 -0
  275. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.cts +26 -0
  276. package/dist/features/column-visibility/columnVisibilityFeature.utils.d.ts +26 -0
  277. package/dist/features/column-visibility/columnVisibilityFeature.utils.js +70 -0
  278. package/dist/features/column-visibility/columnVisibilityFeature.utils.js.map +1 -0
  279. package/dist/features/global-filtering/globalFilteringFeature.cjs +46 -0
  280. package/dist/features/global-filtering/globalFilteringFeature.cjs.map +1 -0
  281. package/dist/features/global-filtering/globalFilteringFeature.d.cts +14 -0
  282. package/dist/features/global-filtering/globalFilteringFeature.d.ts +14 -0
  283. package/dist/features/global-filtering/globalFilteringFeature.js +45 -0
  284. package/dist/features/global-filtering/globalFilteringFeature.js.map +1 -0
  285. package/dist/features/global-filtering/globalFilteringFeature.types.d.cts +64 -0
  286. package/dist/features/global-filtering/globalFilteringFeature.types.d.ts +64 -0
  287. package/dist/features/global-filtering/globalFilteringFeature.utils.cjs +31 -0
  288. package/dist/features/global-filtering/globalFilteringFeature.utils.cjs.map +1 -0
  289. package/dist/features/global-filtering/globalFilteringFeature.utils.d.cts +15 -0
  290. package/dist/features/global-filtering/globalFilteringFeature.utils.d.ts +15 -0
  291. package/dist/features/global-filtering/globalFilteringFeature.utils.js +27 -0
  292. package/dist/features/global-filtering/globalFilteringFeature.utils.js.map +1 -0
  293. package/dist/features/row-expanding/createExpandedRowModel.cjs +45 -0
  294. package/dist/features/row-expanding/createExpandedRowModel.cjs.map +1 -0
  295. package/dist/features/row-expanding/createExpandedRowModel.d.cts +11 -0
  296. package/dist/features/row-expanding/createExpandedRowModel.d.ts +11 -0
  297. package/dist/features/row-expanding/createExpandedRowModel.js +44 -0
  298. package/dist/features/row-expanding/createExpandedRowModel.js.map +1 -0
  299. package/dist/features/row-expanding/rowExpandingFeature.cjs +51 -0
  300. package/dist/features/row-expanding/rowExpandingFeature.cjs.map +1 -0
  301. package/dist/features/row-expanding/rowExpandingFeature.d.cts +13 -0
  302. package/dist/features/row-expanding/rowExpandingFeature.d.ts +13 -0
  303. package/dist/features/row-expanding/rowExpandingFeature.js +50 -0
  304. package/dist/features/row-expanding/rowExpandingFeature.js.map +1 -0
  305. package/dist/features/row-expanding/rowExpandingFeature.types.d.cts +121 -0
  306. package/dist/features/row-expanding/rowExpandingFeature.types.d.ts +121 -0
  307. package/dist/features/row-expanding/rowExpandingFeature.utils.cjs +111 -0
  308. package/dist/features/row-expanding/rowExpandingFeature.utils.cjs.map +1 -0
  309. package/dist/features/row-expanding/rowExpandingFeature.utils.d.cts +25 -0
  310. package/dist/features/row-expanding/rowExpandingFeature.utils.d.ts +25 -0
  311. package/dist/features/row-expanding/rowExpandingFeature.utils.js +96 -0
  312. package/dist/features/row-expanding/rowExpandingFeature.utils.js.map +1 -0
  313. package/dist/features/row-pagination/createPaginatedRowModel.cjs +53 -0
  314. package/dist/features/row-pagination/createPaginatedRowModel.cjs.map +1 -0
  315. package/dist/features/row-pagination/createPaginatedRowModel.d.cts +10 -0
  316. package/dist/features/row-pagination/createPaginatedRowModel.d.ts +10 -0
  317. package/dist/features/row-pagination/createPaginatedRowModel.js +53 -0
  318. package/dist/features/row-pagination/createPaginatedRowModel.js.map +1 -0
  319. package/dist/features/row-pagination/rowPaginationFeature.cjs +49 -0
  320. package/dist/features/row-pagination/rowPaginationFeature.cjs.map +1 -0
  321. package/dist/features/row-pagination/rowPaginationFeature.d.cts +13 -0
  322. package/dist/features/row-pagination/rowPaginationFeature.d.ts +13 -0
  323. package/dist/features/row-pagination/rowPaginationFeature.js +48 -0
  324. package/dist/features/row-pagination/rowPaginationFeature.js.map +1 -0
  325. package/dist/features/row-pagination/rowPaginationFeature.types.d.cts +124 -0
  326. package/dist/features/row-pagination/rowPaginationFeature.types.d.ts +124 -0
  327. package/dist/features/row-pagination/rowPaginationFeature.utils.cjs +114 -0
  328. package/dist/features/row-pagination/rowPaginationFeature.utils.cjs.map +1 -0
  329. package/dist/features/row-pagination/rowPaginationFeature.utils.d.cts +26 -0
  330. package/dist/features/row-pagination/rowPaginationFeature.utils.d.ts +26 -0
  331. package/dist/features/row-pagination/rowPaginationFeature.utils.js +98 -0
  332. package/dist/features/row-pagination/rowPaginationFeature.utils.js.map +1 -0
  333. package/dist/features/row-pinning/rowPinningFeature.cjs +65 -0
  334. package/dist/features/row-pinning/rowPinningFeature.cjs.map +1 -0
  335. package/dist/features/row-pinning/rowPinningFeature.d.cts +13 -0
  336. package/dist/features/row-pinning/rowPinningFeature.d.ts +13 -0
  337. package/dist/features/row-pinning/rowPinningFeature.js +64 -0
  338. package/dist/features/row-pinning/rowPinningFeature.js.map +1 -0
  339. package/dist/features/row-pinning/rowPinningFeature.types.d.cts +77 -0
  340. package/dist/features/row-pinning/rowPinningFeature.types.d.ts +77 -0
  341. package/dist/features/row-pinning/rowPinningFeature.utils.cjs +98 -0
  342. package/dist/features/row-pinning/rowPinningFeature.utils.cjs.map +1 -0
  343. package/dist/features/row-pinning/rowPinningFeature.utils.d.cts +21 -0
  344. package/dist/features/row-pinning/rowPinningFeature.utils.d.ts +21 -0
  345. package/dist/features/row-pinning/rowPinningFeature.utils.js +88 -0
  346. package/dist/features/row-pinning/rowPinningFeature.utils.js.map +1 -0
  347. package/dist/features/row-selection/rowSelectionFeature.cjs +70 -0
  348. package/dist/features/row-selection/rowSelectionFeature.cjs.map +1 -0
  349. package/dist/features/row-selection/rowSelectionFeature.d.cts +13 -0
  350. package/dist/features/row-selection/rowSelectionFeature.d.ts +13 -0
  351. package/dist/features/row-selection/rowSelectionFeature.js +69 -0
  352. package/dist/features/row-selection/rowSelectionFeature.js.map +1 -0
  353. package/dist/features/row-selection/rowSelectionFeature.types.d.cts +128 -0
  354. package/dist/features/row-selection/rowSelectionFeature.types.d.ts +128 -0
  355. package/dist/features/row-selection/rowSelectionFeature.utils.cjs +224 -0
  356. package/dist/features/row-selection/rowSelectionFeature.utils.cjs.map +1 -0
  357. package/dist/features/row-selection/rowSelectionFeature.utils.d.cts +39 -0
  358. package/dist/features/row-selection/rowSelectionFeature.utils.d.ts +39 -0
  359. package/dist/features/row-selection/rowSelectionFeature.utils.js +198 -0
  360. package/dist/features/row-selection/rowSelectionFeature.utils.js.map +1 -0
  361. package/dist/features/row-sorting/createSortedRowModel.cjs +81 -0
  362. package/dist/features/row-sorting/createSortedRowModel.cjs.map +1 -0
  363. package/dist/features/row-sorting/createSortedRowModel.d.cts +11 -0
  364. package/dist/features/row-sorting/createSortedRowModel.d.ts +11 -0
  365. package/dist/features/row-sorting/createSortedRowModel.js +81 -0
  366. package/dist/features/row-sorting/createSortedRowModel.js.map +1 -0
  367. package/dist/features/row-sorting/rowSortingFeature.cjs +59 -0
  368. package/dist/features/row-sorting/rowSortingFeature.cjs.map +1 -0
  369. package/dist/features/row-sorting/rowSortingFeature.d.cts +13 -0
  370. package/dist/features/row-sorting/rowSortingFeature.d.ts +13 -0
  371. package/dist/features/row-sorting/rowSortingFeature.js +58 -0
  372. package/dist/features/row-sorting/rowSortingFeature.js.map +1 -0
  373. package/dist/features/row-sorting/rowSortingFeature.types.d.cts +182 -0
  374. package/dist/features/row-sorting/rowSortingFeature.types.d.ts +182 -0
  375. package/dist/features/row-sorting/rowSortingFeature.utils.cjs +134 -0
  376. package/dist/features/row-sorting/rowSortingFeature.utils.cjs.map +1 -0
  377. package/dist/features/row-sorting/rowSortingFeature.utils.d.cts +25 -0
  378. package/dist/features/row-sorting/rowSortingFeature.utils.d.ts +25 -0
  379. package/dist/features/row-sorting/rowSortingFeature.utils.js +120 -0
  380. package/dist/features/row-sorting/rowSortingFeature.utils.js.map +1 -0
  381. package/dist/features/stockFeatures.cjs +36 -0
  382. package/dist/features/stockFeatures.cjs.map +1 -0
  383. package/dist/features/stockFeatures.d.cts +36 -0
  384. package/dist/features/stockFeatures.d.ts +36 -0
  385. package/dist/{esm/features → features}/stockFeatures.js +20 -18
  386. package/dist/features/stockFeatures.js.map +1 -0
  387. package/dist/features/table-reactivity/tableReactivityFeature.cjs +24 -0
  388. package/dist/features/table-reactivity/tableReactivityFeature.cjs.map +1 -0
  389. package/dist/features/table-reactivity/tableReactivityFeature.d.cts +12 -0
  390. package/dist/features/table-reactivity/tableReactivityFeature.d.ts +12 -0
  391. package/dist/features/table-reactivity/tableReactivityFeature.js +23 -0
  392. package/dist/features/table-reactivity/tableReactivityFeature.js.map +1 -0
  393. package/dist/fns/aggregationFns.cjs +125 -0
  394. package/dist/fns/aggregationFns.cjs.map +1 -0
  395. package/dist/fns/aggregationFns.d.cts +54 -0
  396. package/dist/fns/aggregationFns.d.ts +54 -0
  397. package/dist/fns/aggregationFns.js +116 -0
  398. package/dist/fns/aggregationFns.js.map +1 -0
  399. package/dist/fns/filterFns.cjs +179 -0
  400. package/dist/fns/filterFns.cjs.map +1 -0
  401. package/dist/fns/filterFns.d.cts +81 -0
  402. package/dist/fns/filterFns.d.ts +81 -0
  403. package/dist/fns/filterFns.js +163 -0
  404. package/dist/fns/filterFns.js.map +1 -0
  405. package/dist/fns/sortFns.cjs +73 -0
  406. package/dist/fns/sortFns.cjs.map +1 -0
  407. package/dist/fns/sortFns.d.cts +22 -0
  408. package/dist/fns/sortFns.d.ts +22 -0
  409. package/dist/fns/sortFns.js +65 -0
  410. package/dist/fns/sortFns.js.map +1 -0
  411. package/dist/helpers/columnHelper.cjs +36 -0
  412. package/dist/helpers/columnHelper.cjs.map +1 -0
  413. package/dist/helpers/columnHelper.d.cts +66 -0
  414. package/dist/helpers/columnHelper.d.ts +66 -0
  415. package/dist/helpers/columnHelper.js +35 -0
  416. package/dist/helpers/columnHelper.js.map +1 -0
  417. package/dist/helpers/tableFeatures.cjs +20 -0
  418. package/dist/helpers/tableFeatures.cjs.map +1 -0
  419. package/dist/helpers/tableFeatures.d.cts +18 -0
  420. package/dist/{esm/helpers → helpers}/tableFeatures.d.ts +7 -2
  421. package/dist/helpers/tableFeatures.js +19 -0
  422. package/dist/helpers/tableFeatures.js.map +1 -0
  423. package/dist/helpers/tableHelper.cjs +21 -0
  424. package/dist/helpers/tableHelper.cjs.map +1 -0
  425. package/dist/helpers/tableHelper.d.cts +30 -0
  426. package/dist/helpers/tableHelper.d.ts +30 -0
  427. package/dist/helpers/tableHelper.js +21 -0
  428. package/dist/helpers/tableHelper.js.map +1 -0
  429. package/dist/helpers/tableOptions.cjs +9 -0
  430. package/dist/helpers/tableOptions.cjs.map +1 -0
  431. package/dist/helpers/tableOptions.d.cts +28 -0
  432. package/dist/helpers/tableOptions.d.ts +28 -0
  433. package/dist/helpers/tableOptions.js +8 -0
  434. package/dist/helpers/tableOptions.js.map +1 -0
  435. package/dist/index.cjs +420 -0
  436. package/dist/index.d.cts +100 -0
  437. package/dist/index.d.ts +100 -0
  438. package/dist/{esm/index.js → index.js} +42 -395
  439. package/dist/types/Cell.d.cts +16 -0
  440. package/dist/types/Cell.d.ts +16 -0
  441. package/dist/types/Column.d.cts +29 -0
  442. package/dist/types/Column.d.ts +29 -0
  443. package/dist/types/ColumnDef.d.cts +66 -0
  444. package/dist/types/ColumnDef.d.ts +66 -0
  445. package/dist/types/Header.d.cts +17 -0
  446. package/dist/types/Header.d.ts +17 -0
  447. package/dist/types/HeaderGroup.d.cts +15 -0
  448. package/dist/types/HeaderGroup.d.ts +15 -0
  449. package/dist/types/Row.d.cts +22 -0
  450. package/dist/types/Row.d.ts +22 -0
  451. package/dist/types/RowModel.d.cts +26 -0
  452. package/dist/types/RowModel.d.ts +26 -0
  453. package/dist/types/RowModelFns.d.cts +18 -0
  454. package/dist/types/RowModelFns.d.ts +18 -0
  455. package/dist/types/Table.d.cts +57 -0
  456. package/dist/types/Table.d.ts +57 -0
  457. package/dist/types/TableFeatures.d.cts +77 -0
  458. package/dist/types/TableFeatures.d.ts +77 -0
  459. package/dist/types/TableOptions.d.cts +39 -0
  460. package/dist/types/TableOptions.d.ts +39 -0
  461. package/dist/types/TableState.d.cts +27 -0
  462. package/dist/types/TableState.d.ts +27 -0
  463. package/dist/types/type-utils.d.cts +23 -0
  464. package/dist/types/type-utils.d.ts +23 -0
  465. package/dist/utils.cjs +210 -0
  466. package/dist/utils.cjs.map +1 -0
  467. package/dist/utils.d.cts +90 -0
  468. package/dist/utils.d.ts +90 -0
  469. package/dist/utils.js +196 -0
  470. package/dist/utils.js.map +1 -0
  471. package/package.json +8 -8
  472. package/src/features/column-resizing/columnResizingFeature.utils.ts +8 -2
  473. package/src/process-env.d.ts +6 -0
  474. package/dist/esm/core/cells/constructCell.d.ts +0 -7
  475. package/dist/esm/core/cells/constructCell.js +0 -21
  476. package/dist/esm/core/cells/constructCell.js.map +0 -1
  477. package/dist/esm/core/cells/coreCellsFeature.d.ts +0 -10
  478. package/dist/esm/core/cells/coreCellsFeature.js +0 -26
  479. package/dist/esm/core/cells/coreCellsFeature.js.map +0 -1
  480. package/dist/esm/core/cells/coreCellsFeature.types.d.ts +0 -52
  481. package/dist/esm/core/cells/coreCellsFeature.utils.d.ts +0 -13
  482. package/dist/esm/core/cells/coreCellsFeature.utils.js +0 -23
  483. package/dist/esm/core/cells/coreCellsFeature.utils.js.map +0 -1
  484. package/dist/esm/core/columns/constructColumn.d.ts +0 -6
  485. package/dist/esm/core/columns/constructColumn.js +0 -60
  486. package/dist/esm/core/columns/constructColumn.js.map +0 -1
  487. package/dist/esm/core/columns/coreColumnsFeature.d.ts +0 -10
  488. package/dist/esm/core/columns/coreColumnsFeature.js +0 -61
  489. package/dist/esm/core/columns/coreColumnsFeature.js.map +0 -1
  490. package/dist/esm/core/columns/coreColumnsFeature.types.d.ts +0 -84
  491. package/dist/esm/core/columns/coreColumnsFeature.utils.d.ts +0 -13
  492. package/dist/esm/core/columns/coreColumnsFeature.utils.js +0 -91
  493. package/dist/esm/core/columns/coreColumnsFeature.utils.js.map +0 -1
  494. package/dist/esm/core/coreFeatures.d.ts +0 -15
  495. package/dist/esm/core/coreFeatures.js.map +0 -1
  496. package/dist/esm/core/headers/buildHeaderGroups.d.ts +0 -6
  497. package/dist/esm/core/headers/buildHeaderGroups.js +0 -99
  498. package/dist/esm/core/headers/buildHeaderGroups.js.map +0 -1
  499. package/dist/esm/core/headers/constructHeader.d.ts +0 -12
  500. package/dist/esm/core/headers/constructHeader.js +0 -28
  501. package/dist/esm/core/headers/constructHeader.js.map +0 -1
  502. package/dist/esm/core/headers/coreHeadersFeature.d.ts +0 -10
  503. package/dist/esm/core/headers/coreHeadersFeature.js +0 -68
  504. package/dist/esm/core/headers/coreHeadersFeature.js.map +0 -1
  505. package/dist/esm/core/headers/coreHeadersFeature.types.d.ts +0 -99
  506. package/dist/esm/core/headers/coreHeadersFeature.utils.d.ts +0 -15
  507. package/dist/esm/core/headers/coreHeadersFeature.utils.js +0 -85
  508. package/dist/esm/core/headers/coreHeadersFeature.utils.js.map +0 -1
  509. package/dist/esm/core/row-models/coreRowModelsFeature.d.ts +0 -10
  510. package/dist/esm/core/row-models/coreRowModelsFeature.js +0 -52
  511. package/dist/esm/core/row-models/coreRowModelsFeature.js.map +0 -1
  512. package/dist/esm/core/row-models/coreRowModelsFeature.types.d.ts +0 -39
  513. package/dist/esm/core/row-models/coreRowModelsFeature.utils.d.ts +0 -16
  514. package/dist/esm/core/row-models/coreRowModelsFeature.utils.js +0 -85
  515. package/dist/esm/core/row-models/coreRowModelsFeature.utils.js.map +0 -1
  516. package/dist/esm/core/row-models/createCoreRowModel.d.ts +0 -5
  517. package/dist/esm/core/row-models/createCoreRowModel.js +0 -54
  518. package/dist/esm/core/row-models/createCoreRowModel.js.map +0 -1
  519. package/dist/esm/core/rows/constructRow.d.ts +0 -5
  520. package/dist/esm/core/rows/constructRow.js +0 -29
  521. package/dist/esm/core/rows/constructRow.js.map +0 -1
  522. package/dist/esm/core/rows/coreRowsFeature.d.ts +0 -10
  523. package/dist/esm/core/rows/coreRowsFeature.js +0 -52
  524. package/dist/esm/core/rows/coreRowsFeature.js.map +0 -1
  525. package/dist/esm/core/rows/coreRowsFeature.types.d.ts +0 -91
  526. package/dist/esm/core/rows/coreRowsFeature.utils.d.ts +0 -15
  527. package/dist/esm/core/rows/coreRowsFeature.utils.js +0 -94
  528. package/dist/esm/core/rows/coreRowsFeature.utils.js.map +0 -1
  529. package/dist/esm/core/table/constructTable.d.ts +0 -9
  530. package/dist/esm/core/table/constructTable.js +0 -68
  531. package/dist/esm/core/table/constructTable.js.map +0 -1
  532. package/dist/esm/core/table/coreTablesFeature.d.ts +0 -10
  533. package/dist/esm/core/table/coreTablesFeature.js +0 -22
  534. package/dist/esm/core/table/coreTablesFeature.js.map +0 -1
  535. package/dist/esm/core/table/coreTablesFeature.types.d.ts +0 -109
  536. package/dist/esm/core/table/coreTablesFeature.utils.d.ts +0 -7
  537. package/dist/esm/core/table/coreTablesFeature.utils.js +0 -24
  538. package/dist/esm/core/table/coreTablesFeature.utils.js.map +0 -1
  539. package/dist/esm/features/column-faceting/columnFacetingFeature.d.ts +0 -10
  540. package/dist/esm/features/column-faceting/columnFacetingFeature.js +0 -80
  541. package/dist/esm/features/column-faceting/columnFacetingFeature.js.map +0 -1
  542. package/dist/esm/features/column-faceting/columnFacetingFeature.types.d.ts +0 -68
  543. package/dist/esm/features/column-faceting/columnFacetingFeature.utils.d.ts +0 -11
  544. package/dist/esm/features/column-faceting/columnFacetingFeature.utils.js +0 -33
  545. package/dist/esm/features/column-faceting/columnFacetingFeature.utils.js.map +0 -1
  546. package/dist/esm/features/column-faceting/createFacetedMinMaxValues.d.ts +0 -4
  547. package/dist/esm/features/column-faceting/createFacetedMinMaxValues.js +0 -41
  548. package/dist/esm/features/column-faceting/createFacetedMinMaxValues.js.map +0 -1
  549. package/dist/esm/features/column-faceting/createFacetedRowModel.d.ts +0 -5
  550. package/dist/esm/features/column-faceting/createFacetedRowModel.js +0 -47
  551. package/dist/esm/features/column-faceting/createFacetedRowModel.js.map +0 -1
  552. package/dist/esm/features/column-faceting/createFacetedUniqueValues.d.ts +0 -4
  553. package/dist/esm/features/column-faceting/createFacetedUniqueValues.js +0 -46
  554. package/dist/esm/features/column-faceting/createFacetedUniqueValues.js.map +0 -1
  555. package/dist/esm/features/column-filtering/columnFilteringFeature.d.ts +0 -11
  556. package/dist/esm/features/column-filtering/columnFilteringFeature.js +0 -69
  557. package/dist/esm/features/column-filtering/columnFilteringFeature.js.map +0 -1
  558. package/dist/esm/features/column-filtering/columnFilteringFeature.types.d.ts +0 -145
  559. package/dist/esm/features/column-filtering/columnFilteringFeature.utils.d.ts +0 -16
  560. package/dist/esm/features/column-filtering/columnFilteringFeature.utils.js +0 -118
  561. package/dist/esm/features/column-filtering/columnFilteringFeature.utils.js.map +0 -1
  562. package/dist/esm/features/column-filtering/createFilteredRowModel.d.ts +0 -6
  563. package/dist/esm/features/column-filtering/createFilteredRowModel.js +0 -110
  564. package/dist/esm/features/column-filtering/createFilteredRowModel.js.map +0 -1
  565. package/dist/esm/features/column-filtering/filterRowsUtils.d.ts +0 -6
  566. package/dist/esm/features/column-filtering/filterRowsUtils.js +0 -95
  567. package/dist/esm/features/column-filtering/filterRowsUtils.js.map +0 -1
  568. package/dist/esm/features/column-grouping/columnGroupingFeature.d.ts +0 -10
  569. package/dist/esm/features/column-grouping/columnGroupingFeature.js +0 -91
  570. package/dist/esm/features/column-grouping/columnGroupingFeature.js.map +0 -1
  571. package/dist/esm/features/column-grouping/columnGroupingFeature.types.d.ts +0 -153
  572. package/dist/esm/features/column-grouping/columnGroupingFeature.utils.d.ts +0 -22
  573. package/dist/esm/features/column-grouping/columnGroupingFeature.utils.js +0 -99
  574. package/dist/esm/features/column-grouping/columnGroupingFeature.utils.js.map +0 -1
  575. package/dist/esm/features/column-grouping/createGroupedRowModel.d.ts +0 -6
  576. package/dist/esm/features/column-grouping/createGroupedRowModel.js +0 -144
  577. package/dist/esm/features/column-grouping/createGroupedRowModel.js.map +0 -1
  578. package/dist/esm/features/column-ordering/columnOrderingFeature.d.ts +0 -10
  579. package/dist/esm/features/column-ordering/columnOrderingFeature.js +0 -60
  580. package/dist/esm/features/column-ordering/columnOrderingFeature.js.map +0 -1
  581. package/dist/esm/features/column-ordering/columnOrderingFeature.types.d.ts +0 -40
  582. package/dist/esm/features/column-ordering/columnOrderingFeature.utils.d.ts +0 -14
  583. package/dist/esm/features/column-ordering/columnOrderingFeature.utils.js +0 -72
  584. package/dist/esm/features/column-ordering/columnOrderingFeature.utils.js.map +0 -1
  585. package/dist/esm/features/column-pinning/columnPinningFeature.d.ts +0 -10
  586. package/dist/esm/features/column-pinning/columnPinningFeature.js +0 -260
  587. package/dist/esm/features/column-pinning/columnPinningFeature.js.map +0 -1
  588. package/dist/esm/features/column-pinning/columnPinningFeature.types.d.ts +0 -157
  589. package/dist/esm/features/column-pinning/columnPinningFeature.utils.d.ts +0 -39
  590. package/dist/esm/features/column-pinning/columnPinningFeature.utils.js +0 -325
  591. package/dist/esm/features/column-pinning/columnPinningFeature.utils.js.map +0 -1
  592. package/dist/esm/features/column-resizing/columnResizingFeature.d.ts +0 -11
  593. package/dist/esm/features/column-resizing/columnResizingFeature.js +0 -52
  594. package/dist/esm/features/column-resizing/columnResizingFeature.js.map +0 -1
  595. package/dist/esm/features/column-resizing/columnResizingFeature.types.d.ts +0 -68
  596. package/dist/esm/features/column-resizing/columnResizingFeature.utils.d.ts +0 -14
  597. package/dist/esm/features/column-resizing/columnResizingFeature.utils.js +0 -193
  598. package/dist/esm/features/column-resizing/columnResizingFeature.utils.js.map +0 -1
  599. package/dist/esm/features/column-sizing/columnSizingFeature.d.ts +0 -11
  600. package/dist/esm/features/column-sizing/columnSizingFeature.js +0 -95
  601. package/dist/esm/features/column-sizing/columnSizingFeature.js.map +0 -1
  602. package/dist/esm/features/column-sizing/columnSizingFeature.types.d.ts +0 -81
  603. package/dist/esm/features/column-sizing/columnSizingFeature.utils.d.ts +0 -25
  604. package/dist/esm/features/column-sizing/columnSizingFeature.utils.js +0 -128
  605. package/dist/esm/features/column-sizing/columnSizingFeature.utils.js.map +0 -1
  606. package/dist/esm/features/column-visibility/columnVisibilityFeature.d.ts +0 -10
  607. package/dist/esm/features/column-visibility/columnVisibilityFeature.js +0 -100
  608. package/dist/esm/features/column-visibility/columnVisibilityFeature.js.map +0 -1
  609. package/dist/esm/features/column-visibility/columnVisibilityFeature.types.d.ts +0 -84
  610. package/dist/esm/features/column-visibility/columnVisibilityFeature.utils.d.ts +0 -22
  611. package/dist/esm/features/column-visibility/columnVisibilityFeature.utils.js +0 -105
  612. package/dist/esm/features/column-visibility/columnVisibilityFeature.utils.js.map +0 -1
  613. package/dist/esm/features/global-filtering/globalFilteringFeature.d.ts +0 -11
  614. package/dist/esm/features/global-filtering/globalFilteringFeature.js +0 -51
  615. package/dist/esm/features/global-filtering/globalFilteringFeature.js.map +0 -1
  616. package/dist/esm/features/global-filtering/globalFilteringFeature.types.d.ts +0 -59
  617. package/dist/esm/features/global-filtering/globalFilteringFeature.utils.d.ts +0 -10
  618. package/dist/esm/features/global-filtering/globalFilteringFeature.utils.js +0 -30
  619. package/dist/esm/features/global-filtering/globalFilteringFeature.utils.js.map +0 -1
  620. package/dist/esm/features/row-expanding/createExpandedRowModel.d.ts +0 -6
  621. package/dist/esm/features/row-expanding/createExpandedRowModel.js +0 -49
  622. package/dist/esm/features/row-expanding/createExpandedRowModel.js.map +0 -1
  623. package/dist/esm/features/row-expanding/rowExpandingFeature.d.ts +0 -10
  624. package/dist/esm/features/row-expanding/rowExpandingFeature.js +0 -74
  625. package/dist/esm/features/row-expanding/rowExpandingFeature.js.map +0 -1
  626. package/dist/esm/features/row-expanding/rowExpandingFeature.types.d.ts +0 -116
  627. package/dist/esm/features/row-expanding/rowExpandingFeature.utils.d.ts +0 -20
  628. package/dist/esm/features/row-expanding/rowExpandingFeature.utils.js +0 -125
  629. package/dist/esm/features/row-expanding/rowExpandingFeature.utils.js.map +0 -1
  630. package/dist/esm/features/row-pagination/createPaginatedRowModel.d.ts +0 -5
  631. package/dist/esm/features/row-pagination/createPaginatedRowModel.js +0 -58
  632. package/dist/esm/features/row-pagination/createPaginatedRowModel.js.map +0 -1
  633. package/dist/esm/features/row-pagination/rowPaginationFeature.d.ts +0 -10
  634. package/dist/esm/features/row-pagination/rowPaginationFeature.js +0 -78
  635. package/dist/esm/features/row-pagination/rowPaginationFeature.js.map +0 -1
  636. package/dist/esm/features/row-pagination/rowPaginationFeature.types.d.ts +0 -119
  637. package/dist/esm/features/row-pagination/rowPaginationFeature.utils.d.ts +0 -21
  638. package/dist/esm/features/row-pagination/rowPaginationFeature.utils.js +0 -126
  639. package/dist/esm/features/row-pagination/rowPaginationFeature.utils.js.map +0 -1
  640. package/dist/esm/features/row-pinning/rowPinningFeature.d.ts +0 -10
  641. package/dist/esm/features/row-pinning/rowPinningFeature.js +0 -80
  642. package/dist/esm/features/row-pinning/rowPinningFeature.js.map +0 -1
  643. package/dist/esm/features/row-pinning/rowPinningFeature.types.d.ts +0 -72
  644. package/dist/esm/features/row-pinning/rowPinningFeature.utils.d.ts +0 -16
  645. package/dist/esm/features/row-pinning/rowPinningFeature.utils.js +0 -115
  646. package/dist/esm/features/row-pinning/rowPinningFeature.utils.js.map +0 -1
  647. package/dist/esm/features/row-selection/rowSelectionFeature.d.ts +0 -10
  648. package/dist/esm/features/row-selection/rowSelectionFeature.js +0 -112
  649. package/dist/esm/features/row-selection/rowSelectionFeature.js.map +0 -1
  650. package/dist/esm/features/row-selection/rowSelectionFeature.types.d.ts +0 -123
  651. package/dist/esm/features/row-selection/rowSelectionFeature.utils.d.ts +0 -34
  652. package/dist/esm/features/row-selection/rowSelectionFeature.utils.js +0 -290
  653. package/dist/esm/features/row-selection/rowSelectionFeature.utils.js.map +0 -1
  654. package/dist/esm/features/row-sorting/createSortedRowModel.d.ts +0 -6
  655. package/dist/esm/features/row-sorting/createSortedRowModel.js +0 -94
  656. package/dist/esm/features/row-sorting/createSortedRowModel.js.map +0 -1
  657. package/dist/esm/features/row-sorting/rowSortingFeature.d.ts +0 -10
  658. package/dist/esm/features/row-sorting/rowSortingFeature.js +0 -82
  659. package/dist/esm/features/row-sorting/rowSortingFeature.js.map +0 -1
  660. package/dist/esm/features/row-sorting/rowSortingFeature.types.d.ts +0 -178
  661. package/dist/esm/features/row-sorting/rowSortingFeature.utils.d.ts +0 -20
  662. package/dist/esm/features/row-sorting/rowSortingFeature.utils.js +0 -181
  663. package/dist/esm/features/row-sorting/rowSortingFeature.utils.js.map +0 -1
  664. package/dist/esm/features/stockFeatures.d.ts +0 -31
  665. package/dist/esm/features/stockFeatures.js.map +0 -1
  666. package/dist/esm/features/table-reactivity/tableReactivityFeature.d.ts +0 -9
  667. package/dist/esm/features/table-reactivity/tableReactivityFeature.js +0 -30
  668. package/dist/esm/features/table-reactivity/tableReactivityFeature.js.map +0 -1
  669. package/dist/esm/fns/aggregationFns.d.ts +0 -49
  670. package/dist/esm/fns/aggregationFns.js +0 -110
  671. package/dist/esm/fns/aggregationFns.js.map +0 -1
  672. package/dist/esm/fns/filterFns.d.ts +0 -76
  673. package/dist/esm/fns/filterFns.js +0 -134
  674. package/dist/esm/fns/filterFns.js.map +0 -1
  675. package/dist/esm/fns/sortFns.d.ts +0 -17
  676. package/dist/esm/fns/sortFns.js +0 -97
  677. package/dist/esm/fns/sortFns.js.map +0 -1
  678. package/dist/esm/helpers/columnHelper.d.ts +0 -61
  679. package/dist/esm/helpers/columnHelper.js +0 -20
  680. package/dist/esm/helpers/columnHelper.js.map +0 -1
  681. package/dist/esm/helpers/tableFeatures.js +0 -7
  682. package/dist/esm/helpers/tableFeatures.js.map +0 -1
  683. package/dist/esm/helpers/tableHelper.d.ts +0 -25
  684. package/dist/esm/helpers/tableHelper.js +0 -13
  685. package/dist/esm/helpers/tableHelper.js.map +0 -1
  686. package/dist/esm/helpers/tableOptions.d.ts +0 -23
  687. package/dist/esm/helpers/tableOptions.js +0 -7
  688. package/dist/esm/helpers/tableOptions.js.map +0 -1
  689. package/dist/esm/index.d.ts +0 -111
  690. package/dist/esm/index.js.map +0 -1
  691. package/dist/esm/types/Cell.d.ts +0 -13
  692. package/dist/esm/types/Column.d.ts +0 -26
  693. package/dist/esm/types/ColumnDef.d.ts +0 -64
  694. package/dist/esm/types/Header.d.ts +0 -14
  695. package/dist/esm/types/HeaderGroup.d.ts +0 -12
  696. package/dist/esm/types/Row.d.ts +0 -19
  697. package/dist/esm/types/RowModel.d.ts +0 -23
  698. package/dist/esm/types/RowModelFns.d.ts +0 -15
  699. package/dist/esm/types/Table.d.ts +0 -53
  700. package/dist/esm/types/TableFeatures.d.ts +0 -77
  701. package/dist/esm/types/TableOptions.d.ts +0 -39
  702. package/dist/esm/types/TableState.d.ts +0 -23
  703. package/dist/esm/types/type-utils.d.ts +0 -22
  704. package/dist/esm/utils.d.ts +0 -72
  705. package/dist/esm/utils.js +0 -231
  706. package/dist/esm/utils.js.map +0 -1
@@ -0,0 +1,45 @@
1
+ import { assignPrototypeAPIs, assignTableAPIs, makeStateUpdater } from "../../utils.js";
2
+ import { column_getCanGlobalFilter, table_getGlobalAutoFilterFn, table_getGlobalFilterFn, table_resetGlobalFilter, table_setGlobalFilter } from "./globalFilteringFeature.utils.js";
3
+
4
+ //#region src/features/global-filtering/globalFilteringFeature.ts
5
+ function constructGlobalFilteringFeature() {
6
+ return {
7
+ getInitialState: (initialState) => {
8
+ return {
9
+ globalFilter: void 0,
10
+ ...initialState
11
+ };
12
+ },
13
+ getDefaultTableOptions: (table) => {
14
+ return {
15
+ onGlobalFilterChange: makeStateUpdater("globalFilter", table),
16
+ globalFilterFn: "auto",
17
+ getColumnCanGlobalFilter: (column) => {
18
+ var _table$getCoreRowMode;
19
+ const value = (_table$getCoreRowMode = table.getCoreRowModel().flatRows[0]) === null || _table$getCoreRowMode === void 0 || (_table$getCoreRowMode = _table$getCoreRowMode.getAllCellsByColumnId()[column.id]) === null || _table$getCoreRowMode === void 0 ? void 0 : _table$getCoreRowMode.getValue();
20
+ return typeof value === "string" || typeof value === "number";
21
+ }
22
+ };
23
+ },
24
+ assignColumnPrototype: (prototype, table) => {
25
+ assignPrototypeAPIs("globalFilteringFeature", prototype, table, { column_getCanGlobalFilter: { fn: (column) => column_getCanGlobalFilter(column) } });
26
+ },
27
+ constructTableAPIs: (table) => {
28
+ assignTableAPIs("globalFilteringFeature", table, {
29
+ table_getGlobalAutoFilterFn: { fn: () => table_getGlobalAutoFilterFn() },
30
+ table_getGlobalFilterFn: { fn: () => table_getGlobalFilterFn(table) },
31
+ table_setGlobalFilter: { fn: (updater) => table_setGlobalFilter(table, updater) },
32
+ table_resetGlobalFilter: { fn: (defaultState) => table_resetGlobalFilter(table, defaultState) }
33
+ });
34
+ }
35
+ };
36
+ }
37
+ /**
38
+ * The Global Filtering feature adds global filtering state and APIs to the table and column objects.
39
+ * **Note:** This is dependent on the columnFilteringFeature feature.
40
+ */
41
+ const globalFilteringFeature = constructGlobalFilteringFeature();
42
+
43
+ //#endregion
44
+ export { constructGlobalFilteringFeature, globalFilteringFeature };
45
+ //# sourceMappingURL=globalFilteringFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalFilteringFeature.js","names":[],"sources":["../../../src/features/global-filtering/globalFilteringFeature.ts"],"sourcesContent":["import {\n assignPrototypeAPIs,\n assignTableAPIs,\n makeStateUpdater,\n} from '../../utils'\nimport {\n column_getCanGlobalFilter,\n table_getGlobalAutoFilterFn,\n table_getGlobalFilterFn,\n table_resetGlobalFilter,\n table_setGlobalFilter,\n} from './globalFilteringFeature.utils'\nimport type { RowData } from '../../types/type-utils'\nimport type { TableFeature, TableFeatures } from '../../types/TableFeatures'\n// import type {\n// ColumnDef_GlobalFiltering,\n// Column_GlobalFiltering,\n// TableOptions_GlobalFiltering,\n// TableState_GlobalFiltering,\n// Table_GlobalFiltering,\n// } from './globalFilteringFeature.types'\n\ninterface GlobalFilteringFeatureConstructors<\n TFeatures extends TableFeatures,\n TData extends RowData,\n> {\n // Column: Column_GlobalFiltering\n // ColumnDef: ColumnDef_GlobalFiltering\n // Table: Table_GlobalFiltering<TFeatures, TData>\n // TableOptions: TableOptions_GlobalFiltering<TFeatures, TData>\n // TableState: TableState_GlobalFiltering\n}\n\nexport function constructGlobalFilteringFeature<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(): TableFeature<GlobalFilteringFeatureConstructors<TFeatures, TData>> {\n return {\n getInitialState: (initialState) => {\n return {\n globalFilter: undefined,\n ...initialState,\n }\n },\n\n getDefaultTableOptions: (table) => {\n return {\n onGlobalFilterChange: makeStateUpdater('globalFilter', table),\n globalFilterFn: 'auto',\n getColumnCanGlobalFilter: (column) => {\n const value = table\n .getCoreRowModel()\n .flatRows[0]?.getAllCellsByColumnId()\n [column.id]?.getValue()\n\n return typeof value === 'string' || typeof value === 'number'\n },\n }\n },\n\n assignColumnPrototype: (prototype, table) => {\n assignPrototypeAPIs('globalFilteringFeature', prototype, table, {\n column_getCanGlobalFilter: {\n fn: (column) => column_getCanGlobalFilter(column),\n },\n })\n },\n\n constructTableAPIs: (table) => {\n assignTableAPIs('globalFilteringFeature', table, {\n table_getGlobalAutoFilterFn: {\n fn: () => table_getGlobalAutoFilterFn(),\n },\n table_getGlobalFilterFn: {\n fn: () => table_getGlobalFilterFn(table),\n },\n table_setGlobalFilter: {\n fn: (updater) => table_setGlobalFilter(table, updater),\n },\n table_resetGlobalFilter: {\n fn: (defaultState) => table_resetGlobalFilter(table, defaultState),\n },\n })\n },\n }\n}\n\n/**\n * The Global Filtering feature adds global filtering state and APIs to the table and column objects.\n * **Note:** This is dependent on the columnFilteringFeature feature.\n */\nexport const globalFilteringFeature = constructGlobalFilteringFeature()\n"],"mappings":";;;;AAiCA,SAAgB,kCAGwD;AACtE,QAAO;EACL,kBAAkB,iBAAiB;AACjC,UAAO;IACL,cAAc;IACd,GAAG;IACJ;;EAGH,yBAAyB,UAAU;AACjC,UAAO;IACL,sBAAsB,iBAAiB,gBAAgB,MAAM;IAC7D,gBAAgB;IAChB,2BAA2B,WAAW;;KACpC,MAAM,iCAAQ,MACX,iBAAiB,CACjB,SAAS,mGAAI,uBAAuB,CACpC,OAAO,mFAAK,UAAU;AAEzB,YAAO,OAAO,UAAU,YAAY,OAAO,UAAU;;IAExD;;EAGH,wBAAwB,WAAW,UAAU;AAC3C,uBAAoB,0BAA0B,WAAW,OAAO,EAC9D,2BAA2B,EACzB,KAAK,WAAW,0BAA0B,OAAO,EAClD,EACF,CAAC;;EAGJ,qBAAqB,UAAU;AAC7B,mBAAgB,0BAA0B,OAAO;IAC/C,6BAA6B,EAC3B,UAAU,6BAA6B,EACxC;IACD,yBAAyB,EACvB,UAAU,wBAAwB,MAAM,EACzC;IACD,uBAAuB,EACrB,KAAK,YAAY,sBAAsB,OAAO,QAAQ,EACvD;IACD,yBAAyB,EACvB,KAAK,iBAAiB,wBAAwB,OAAO,aAAa,EACnE;IACF,CAAC;;EAEL;;;;;;AAOH,MAAa,yBAAyB,iCAAiC"}
@@ -0,0 +1,64 @@
1
+ import { CellData, OnChangeFn, RowData, Updater } from "../../types/type-utils.cjs";
2
+ import { FilterFn, FilterFnOption } from "../column-filtering/columnFilteringFeature.types.cjs";
3
+ import { Column } from "../../types/Column.cjs";
4
+ import { TableFeatures } from "../../types/TableFeatures.cjs";
5
+
6
+ //#region src/features/global-filtering/globalFilteringFeature.types.d.ts
7
+ interface TableState_GlobalFiltering {
8
+ globalFilter: any;
9
+ }
10
+ interface ColumnDef_GlobalFiltering {
11
+ /**
12
+ * Enables/disables the **global** filter for this column.
13
+ */
14
+ enableGlobalFilter?: boolean;
15
+ }
16
+ interface Column_GlobalFiltering {
17
+ /**
18
+ * Returns whether or not the column can be **globally** filtered. Set to `false` to disable a column from being scanned during global filtering.
19
+ */
20
+ getCanGlobalFilter: () => boolean;
21
+ }
22
+ interface TableOptions_GlobalFiltering<TFeatures extends TableFeatures, TData extends RowData> {
23
+ /**
24
+ * Enables/disables **global** filtering for all columns.
25
+ */
26
+ enableGlobalFilter?: boolean;
27
+ /**
28
+ * If provided, this function will be called with the column and should return `true` or `false` to indicate whether this column should be used for global filtering.
29
+ * This is useful if the column can contain data that is not `string` or `number` (i.e. `undefined`).
30
+ */
31
+ getColumnCanGlobalFilter?: <TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>) => boolean;
32
+ /**
33
+ * The filter function to use for global filtering.
34
+ * - A `string` referencing a built-in filter function
35
+ * - A `string` that references a custom filter functions provided via the `tableOptions.filterFns` option
36
+ * - A custom filter function
37
+ */
38
+ globalFilterFn?: FilterFnOption<TFeatures, TData>;
39
+ /**
40
+ * If provided, this function will be called with an `updaterFn` when `state.globalFilter` changes. This overrides the default internal state management, so you will need to persist the state change either fully or partially outside of the table.
41
+ */
42
+ onGlobalFilterChange?: OnChangeFn<any>;
43
+ }
44
+ interface Table_GlobalFiltering<TFeatures extends TableFeatures, TData extends RowData> {
45
+ /**
46
+ * Currently, this function returns the built-in `includesString` filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided.
47
+ */
48
+ getGlobalAutoFilterFn: () => FilterFn<TFeatures, TData> | undefined;
49
+ /**
50
+ * Returns the filter function (either user-defined or automatic, depending on configuration) for the global filter.
51
+ */
52
+ getGlobalFilterFn: () => FilterFn<TFeatures, TData> | undefined;
53
+ /**
54
+ * Resets the **globalFilter** state to `initialState.globalFilter`, or `true` can be passed to force a default blank state reset to `undefined`.
55
+ */
56
+ resetGlobalFilter: (defaultState?: boolean) => void;
57
+ /**
58
+ * Sets or updates the `state.globalFilter` state.
59
+ */
60
+ setGlobalFilter: (updater: Updater<any>) => void;
61
+ }
62
+ //#endregion
63
+ export { ColumnDef_GlobalFiltering, Column_GlobalFiltering, TableOptions_GlobalFiltering, TableState_GlobalFiltering, Table_GlobalFiltering };
64
+ //# sourceMappingURL=globalFilteringFeature.types.d.cts.map
@@ -0,0 +1,64 @@
1
+ import { CellData, OnChangeFn, RowData, Updater } from "../../types/type-utils.js";
2
+ import { FilterFn, FilterFnOption } from "../column-filtering/columnFilteringFeature.types.js";
3
+ import { Column } from "../../types/Column.js";
4
+ import { TableFeatures } from "../../types/TableFeatures.js";
5
+
6
+ //#region src/features/global-filtering/globalFilteringFeature.types.d.ts
7
+ interface TableState_GlobalFiltering {
8
+ globalFilter: any;
9
+ }
10
+ interface ColumnDef_GlobalFiltering {
11
+ /**
12
+ * Enables/disables the **global** filter for this column.
13
+ */
14
+ enableGlobalFilter?: boolean;
15
+ }
16
+ interface Column_GlobalFiltering {
17
+ /**
18
+ * Returns whether or not the column can be **globally** filtered. Set to `false` to disable a column from being scanned during global filtering.
19
+ */
20
+ getCanGlobalFilter: () => boolean;
21
+ }
22
+ interface TableOptions_GlobalFiltering<TFeatures extends TableFeatures, TData extends RowData> {
23
+ /**
24
+ * Enables/disables **global** filtering for all columns.
25
+ */
26
+ enableGlobalFilter?: boolean;
27
+ /**
28
+ * If provided, this function will be called with the column and should return `true` or `false` to indicate whether this column should be used for global filtering.
29
+ * This is useful if the column can contain data that is not `string` or `number` (i.e. `undefined`).
30
+ */
31
+ getColumnCanGlobalFilter?: <TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column<TFeatures, TData, TValue>) => boolean;
32
+ /**
33
+ * The filter function to use for global filtering.
34
+ * - A `string` referencing a built-in filter function
35
+ * - A `string` that references a custom filter functions provided via the `tableOptions.filterFns` option
36
+ * - A custom filter function
37
+ */
38
+ globalFilterFn?: FilterFnOption<TFeatures, TData>;
39
+ /**
40
+ * If provided, this function will be called with an `updaterFn` when `state.globalFilter` changes. This overrides the default internal state management, so you will need to persist the state change either fully or partially outside of the table.
41
+ */
42
+ onGlobalFilterChange?: OnChangeFn<any>;
43
+ }
44
+ interface Table_GlobalFiltering<TFeatures extends TableFeatures, TData extends RowData> {
45
+ /**
46
+ * Currently, this function returns the built-in `includesString` filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided.
47
+ */
48
+ getGlobalAutoFilterFn: () => FilterFn<TFeatures, TData> | undefined;
49
+ /**
50
+ * Returns the filter function (either user-defined or automatic, depending on configuration) for the global filter.
51
+ */
52
+ getGlobalFilterFn: () => FilterFn<TFeatures, TData> | undefined;
53
+ /**
54
+ * Resets the **globalFilter** state to `initialState.globalFilter`, or `true` can be passed to force a default blank state reset to `undefined`.
55
+ */
56
+ resetGlobalFilter: (defaultState?: boolean) => void;
57
+ /**
58
+ * Sets or updates the `state.globalFilter` state.
59
+ */
60
+ setGlobalFilter: (updater: Updater<any>) => void;
61
+ }
62
+ //#endregion
63
+ export { ColumnDef_GlobalFiltering, Column_GlobalFiltering, TableOptions_GlobalFiltering, TableState_GlobalFiltering, Table_GlobalFiltering };
64
+ //# sourceMappingURL=globalFilteringFeature.types.d.ts.map
@@ -0,0 +1,31 @@
1
+ const require_utils = require('../../utils.cjs');
2
+ const require_filterFns = require('../../fns/filterFns.cjs');
3
+
4
+ //#region src/features/global-filtering/globalFilteringFeature.utils.ts
5
+ function column_getCanGlobalFilter(column) {
6
+ var _column$table$options, _column$table$options2;
7
+ return (column.columnDef.enableGlobalFilter ?? true) && (column.table.options.enableGlobalFilter ?? true) && (column.table.options.enableFilters ?? true) && (((_column$table$options = (_column$table$options2 = column.table.options).getColumnCanGlobalFilter) === null || _column$table$options === void 0 ? void 0 : _column$table$options.call(_column$table$options2, column)) ?? true) && !!column.accessorFn;
8
+ }
9
+ function table_getGlobalAutoFilterFn() {
10
+ return require_filterFns.filterFn_includesString;
11
+ }
12
+ function table_getGlobalFilterFn(table) {
13
+ const { globalFilterFn } = table.options;
14
+ const filterFns = table._rowModelFns.filterFns;
15
+ return require_utils.isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === "auto" ? table_getGlobalAutoFilterFn() : filterFns === null || filterFns === void 0 ? void 0 : filterFns[globalFilterFn];
16
+ }
17
+ function table_setGlobalFilter(table, updater) {
18
+ var _table$options$onGlob, _table$options;
19
+ (_table$options$onGlob = (_table$options = table.options).onGlobalFilterChange) === null || _table$options$onGlob === void 0 || _table$options$onGlob.call(_table$options, updater);
20
+ }
21
+ function table_resetGlobalFilter(table, defaultState) {
22
+ table_setGlobalFilter(table, defaultState ? void 0 : table.initialState.globalFilter);
23
+ }
24
+
25
+ //#endregion
26
+ exports.column_getCanGlobalFilter = column_getCanGlobalFilter;
27
+ exports.table_getGlobalAutoFilterFn = table_getGlobalAutoFilterFn;
28
+ exports.table_getGlobalFilterFn = table_getGlobalFilterFn;
29
+ exports.table_resetGlobalFilter = table_resetGlobalFilter;
30
+ exports.table_setGlobalFilter = table_setGlobalFilter;
31
+ //# sourceMappingURL=globalFilteringFeature.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalFilteringFeature.utils.cjs","names":["filterFn_includesString","isFunction"],"sources":["../../../src/features/global-filtering/globalFilteringFeature.utils.ts"],"sourcesContent":["import { filterFn_includesString } from '../../fns/filterFns'\nimport { isFunction } from '../../utils'\nimport type { Column_Internal } from '../../types/Column'\nimport type { FilterFn } from '../column-filtering/columnFilteringFeature.types'\nimport type { CellData, RowData } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\n\nexport function column_getCanGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n TValue extends CellData = CellData,\n>(column: Column_Internal<TFeatures, TData, TValue>): boolean {\n return (\n (column.columnDef.enableGlobalFilter ?? true) &&\n (column.table.options.enableGlobalFilter ?? true) &&\n (column.table.options.enableFilters ?? true) &&\n (column.table.options.getColumnCanGlobalFilter?.(column) ?? true) &&\n !!column.accessorFn\n )\n}\n\nexport function table_getGlobalAutoFilterFn() {\n return filterFn_includesString\n}\n\nexport function table_getGlobalFilterFn<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n): FilterFn<TFeatures, TData> | FilterFn<TFeatures, TData> | undefined {\n const { globalFilterFn: globalFilterFn } = table.options\n const filterFns = table._rowModelFns.filterFns as\n | Record<string, FilterFn<TFeatures, TData>>\n | undefined\n\n return isFunction(globalFilterFn)\n ? globalFilterFn\n : globalFilterFn === 'auto'\n ? table_getGlobalAutoFilterFn()\n : filterFns?.[globalFilterFn as string]\n}\n\nexport function table_setGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>, updater: any) {\n table.options.onGlobalFilterChange?.(updater)\n}\n\nexport function table_resetGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>, defaultState?: boolean) {\n table_setGlobalFilter(\n table,\n defaultState ? undefined : table.initialState.globalFilter,\n )\n}\n"],"mappings":";;;;AAQA,SAAgB,0BAId,QAA4D;;AAC5D,SACG,OAAO,UAAU,sBAAsB,UACvC,OAAO,MAAM,QAAQ,sBAAsB,UAC3C,OAAO,MAAM,QAAQ,iBAAiB,8DACtC,OAAO,MAAM,SAAQ,qIAA2B,OAAO,KAAI,SAC5D,CAAC,CAAC,OAAO;;AAIb,SAAgB,8BAA8B;AAC5C,QAAOA;;AAGT,SAAgB,wBAId,OACqE;CACrE,MAAM,EAAkB,mBAAmB,MAAM;CACjD,MAAM,YAAY,MAAM,aAAa;AAIrC,QAAOC,yBAAW,eAAe,GAC7B,iBACA,mBAAmB,SACjB,6BAA6B,yDAC7B,UAAY;;AAGpB,SAAgB,sBAGd,OAAyC,SAAc;;AACvD,kDAAM,SAAQ,iHAAuB,QAAQ;;AAG/C,SAAgB,wBAGd,OAAyC,cAAwB;AACjE,uBACE,OACA,eAAe,SAAY,MAAM,aAAa,aAC/C"}
@@ -0,0 +1,15 @@
1
+ import { CellData, RowData } from "../../types/type-utils.cjs";
2
+ import { FilterFn } from "../column-filtering/columnFilteringFeature.types.cjs";
3
+ import { Column_Internal } from "../../types/Column.cjs";
4
+ import { TableFeatures } from "../../types/TableFeatures.cjs";
5
+ import { Table_Internal } from "../../types/Table.cjs";
6
+
7
+ //#region src/features/global-filtering/globalFilteringFeature.utils.d.ts
8
+ declare function column_getCanGlobalFilter<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column_Internal<TFeatures, TData, TValue>): boolean;
9
+ declare function table_getGlobalAutoFilterFn(): FilterFn<any, any>;
10
+ declare function table_getGlobalFilterFn<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): FilterFn<TFeatures, TData> | FilterFn<TFeatures, TData> | undefined;
11
+ declare function table_setGlobalFilter<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>, updater: any): void;
12
+ declare function table_resetGlobalFilter<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>, defaultState?: boolean): void;
13
+ //#endregion
14
+ export { column_getCanGlobalFilter, table_getGlobalAutoFilterFn, table_getGlobalFilterFn, table_resetGlobalFilter, table_setGlobalFilter };
15
+ //# sourceMappingURL=globalFilteringFeature.utils.d.cts.map
@@ -0,0 +1,15 @@
1
+ import { CellData, RowData } from "../../types/type-utils.js";
2
+ import { FilterFn } from "../column-filtering/columnFilteringFeature.types.js";
3
+ import { Column_Internal } from "../../types/Column.js";
4
+ import { TableFeatures } from "../../types/TableFeatures.js";
5
+ import { Table_Internal } from "../../types/Table.js";
6
+
7
+ //#region src/features/global-filtering/globalFilteringFeature.utils.d.ts
8
+ declare function column_getCanGlobalFilter<TFeatures extends TableFeatures, TData extends RowData, TValue extends CellData = CellData>(column: Column_Internal<TFeatures, TData, TValue>): boolean;
9
+ declare function table_getGlobalAutoFilterFn(): FilterFn<any, any>;
10
+ declare function table_getGlobalFilterFn<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>): FilterFn<TFeatures, TData> | FilterFn<TFeatures, TData> | undefined;
11
+ declare function table_setGlobalFilter<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>, updater: any): void;
12
+ declare function table_resetGlobalFilter<TFeatures extends TableFeatures, TData extends RowData>(table: Table_Internal<TFeatures, TData>, defaultState?: boolean): void;
13
+ //#endregion
14
+ export { column_getCanGlobalFilter, table_getGlobalAutoFilterFn, table_getGlobalFilterFn, table_resetGlobalFilter, table_setGlobalFilter };
15
+ //# sourceMappingURL=globalFilteringFeature.utils.d.ts.map
@@ -0,0 +1,27 @@
1
+ import { isFunction } from "../../utils.js";
2
+ import { filterFn_includesString } from "../../fns/filterFns.js";
3
+
4
+ //#region src/features/global-filtering/globalFilteringFeature.utils.ts
5
+ function column_getCanGlobalFilter(column) {
6
+ var _column$table$options, _column$table$options2;
7
+ return (column.columnDef.enableGlobalFilter ?? true) && (column.table.options.enableGlobalFilter ?? true) && (column.table.options.enableFilters ?? true) && (((_column$table$options = (_column$table$options2 = column.table.options).getColumnCanGlobalFilter) === null || _column$table$options === void 0 ? void 0 : _column$table$options.call(_column$table$options2, column)) ?? true) && !!column.accessorFn;
8
+ }
9
+ function table_getGlobalAutoFilterFn() {
10
+ return filterFn_includesString;
11
+ }
12
+ function table_getGlobalFilterFn(table) {
13
+ const { globalFilterFn } = table.options;
14
+ const filterFns = table._rowModelFns.filterFns;
15
+ return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === "auto" ? table_getGlobalAutoFilterFn() : filterFns === null || filterFns === void 0 ? void 0 : filterFns[globalFilterFn];
16
+ }
17
+ function table_setGlobalFilter(table, updater) {
18
+ var _table$options$onGlob, _table$options;
19
+ (_table$options$onGlob = (_table$options = table.options).onGlobalFilterChange) === null || _table$options$onGlob === void 0 || _table$options$onGlob.call(_table$options, updater);
20
+ }
21
+ function table_resetGlobalFilter(table, defaultState) {
22
+ table_setGlobalFilter(table, defaultState ? void 0 : table.initialState.globalFilter);
23
+ }
24
+
25
+ //#endregion
26
+ export { column_getCanGlobalFilter, table_getGlobalAutoFilterFn, table_getGlobalFilterFn, table_resetGlobalFilter, table_setGlobalFilter };
27
+ //# sourceMappingURL=globalFilteringFeature.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalFilteringFeature.utils.js","names":[],"sources":["../../../src/features/global-filtering/globalFilteringFeature.utils.ts"],"sourcesContent":["import { filterFn_includesString } from '../../fns/filterFns'\nimport { isFunction } from '../../utils'\nimport type { Column_Internal } from '../../types/Column'\nimport type { FilterFn } from '../column-filtering/columnFilteringFeature.types'\nimport type { CellData, RowData } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\n\nexport function column_getCanGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n TValue extends CellData = CellData,\n>(column: Column_Internal<TFeatures, TData, TValue>): boolean {\n return (\n (column.columnDef.enableGlobalFilter ?? true) &&\n (column.table.options.enableGlobalFilter ?? true) &&\n (column.table.options.enableFilters ?? true) &&\n (column.table.options.getColumnCanGlobalFilter?.(column) ?? true) &&\n !!column.accessorFn\n )\n}\n\nexport function table_getGlobalAutoFilterFn() {\n return filterFn_includesString\n}\n\nexport function table_getGlobalFilterFn<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n): FilterFn<TFeatures, TData> | FilterFn<TFeatures, TData> | undefined {\n const { globalFilterFn: globalFilterFn } = table.options\n const filterFns = table._rowModelFns.filterFns as\n | Record<string, FilterFn<TFeatures, TData>>\n | undefined\n\n return isFunction(globalFilterFn)\n ? globalFilterFn\n : globalFilterFn === 'auto'\n ? table_getGlobalAutoFilterFn()\n : filterFns?.[globalFilterFn as string]\n}\n\nexport function table_setGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>, updater: any) {\n table.options.onGlobalFilterChange?.(updater)\n}\n\nexport function table_resetGlobalFilter<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>, defaultState?: boolean) {\n table_setGlobalFilter(\n table,\n defaultState ? undefined : table.initialState.globalFilter,\n )\n}\n"],"mappings":";;;;AAQA,SAAgB,0BAId,QAA4D;;AAC5D,SACG,OAAO,UAAU,sBAAsB,UACvC,OAAO,MAAM,QAAQ,sBAAsB,UAC3C,OAAO,MAAM,QAAQ,iBAAiB,8DACtC,OAAO,MAAM,SAAQ,qIAA2B,OAAO,KAAI,SAC5D,CAAC,CAAC,OAAO;;AAIb,SAAgB,8BAA8B;AAC5C,QAAO;;AAGT,SAAgB,wBAId,OACqE;CACrE,MAAM,EAAkB,mBAAmB,MAAM;CACjD,MAAM,YAAY,MAAM,aAAa;AAIrC,QAAO,WAAW,eAAe,GAC7B,iBACA,mBAAmB,SACjB,6BAA6B,yDAC7B,UAAY;;AAGpB,SAAgB,sBAGd,OAAyC,SAAc;;AACvD,kDAAM,SAAQ,iHAAuB,QAAQ;;AAG/C,SAAgB,wBAGd,OAAyC,cAAwB;AACjE,uBACE,OACA,eAAe,SAAY,MAAM,aAAa,aAC/C"}
@@ -0,0 +1,45 @@
1
+ const require_utils = require('../../utils.cjs');
2
+ const require_rowExpandingFeature_utils = require('./rowExpandingFeature.utils.cjs');
3
+
4
+ //#region src/features/row-expanding/createExpandedRowModel.ts
5
+ function createExpandedRowModel() {
6
+ return (_table) => {
7
+ const table = _table;
8
+ return require_utils.tableMemo({
9
+ feature: "rowExpandingFeature",
10
+ table,
11
+ fnName: "table.getExpandedRowModel",
12
+ memoDeps: () => [
13
+ table.store.state.expanded,
14
+ table.getPreExpandedRowModel(),
15
+ table.options.paginateExpandedRows
16
+ ],
17
+ fn: () => _createExpandedRowModel(table)
18
+ });
19
+ };
20
+ }
21
+ function _createExpandedRowModel(table) {
22
+ const rowModel = table.getPreExpandedRowModel();
23
+ const expanded = table.store.state.expanded;
24
+ if (!rowModel.rows.length || expanded !== true && !Object.keys(expanded ?? {}).length) return rowModel;
25
+ if (!table.options.paginateExpandedRows) return rowModel;
26
+ return expandRows(rowModel);
27
+ }
28
+ function expandRows(rowModel) {
29
+ const expandedRows = [];
30
+ const handleRow = (row) => {
31
+ expandedRows.push(row);
32
+ if (row.subRows.length && require_rowExpandingFeature_utils.row_getIsExpanded(row)) row.subRows.forEach(handleRow);
33
+ };
34
+ rowModel.rows.forEach(handleRow);
35
+ return {
36
+ rows: expandedRows,
37
+ flatRows: rowModel.flatRows,
38
+ rowsById: rowModel.rowsById
39
+ };
40
+ }
41
+
42
+ //#endregion
43
+ exports.createExpandedRowModel = createExpandedRowModel;
44
+ exports.expandRows = expandRows;
45
+ //# sourceMappingURL=createExpandedRowModel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createExpandedRowModel.cjs","names":["tableMemo","row_getIsExpanded"],"sources":["../../../src/features/row-expanding/createExpandedRowModel.ts"],"sourcesContent":["import { tableMemo } from '../../utils'\nimport { row_getIsExpanded } from './rowExpandingFeature.utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { RowModel } from '../../core/row-models/coreRowModelsFeature.types'\nimport type { Table, Table_Internal } from '../../types/Table'\nimport type { Row } from '../../types/Row'\nimport type { RowData } from '../../types/type-utils'\n\nexport function createExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(): (table: Table<TFeatures, TData>) => () => RowModel<TFeatures, TData> {\n return (_table) => {\n const table = _table as Table_Internal<TFeatures, TData>\n return tableMemo({\n feature: 'rowExpandingFeature',\n table,\n fnName: 'table.getExpandedRowModel',\n memoDeps: () => [\n table.store.state.expanded,\n table.getPreExpandedRowModel(),\n table.options.paginateExpandedRows,\n ],\n fn: () => _createExpandedRowModel(table),\n })\n }\n}\n\nfunction _createExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n const rowModel = table.getPreExpandedRowModel()\n const expanded = table.store.state.expanded\n\n if (\n !rowModel.rows.length ||\n (expanded !== true && !Object.keys(expanded ?? {}).length)\n ) {\n return rowModel\n }\n\n if (!table.options.paginateExpandedRows) {\n // Only expand rows at this point if they are being paginated\n return rowModel\n }\n\n return expandRows(rowModel)\n}\n\nexport function expandRows<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(rowModel: RowModel<TFeatures, TData>): RowModel<TFeatures, TData> {\n const expandedRows: Array<Row<TFeatures, TData>> = []\n\n const handleRow = (row: Row<TFeatures, TData>) => {\n expandedRows.push(row)\n\n if (row.subRows.length && row_getIsExpanded(row)) {\n row.subRows.forEach(handleRow)\n }\n }\n\n rowModel.rows.forEach(handleRow)\n\n return {\n rows: expandedRows,\n flatRows: rowModel.flatRows,\n rowsById: rowModel.rowsById,\n }\n}\n"],"mappings":";;;;AAQA,SAAgB,yBAG0D;AACxE,SAAQ,WAAW;EACjB,MAAM,QAAQ;AACd,SAAOA,wBAAU;GACf,SAAS;GACT;GACA,QAAQ;GACR,gBAAgB;IACd,MAAM,MAAM,MAAM;IAClB,MAAM,wBAAwB;IAC9B,MAAM,QAAQ;IACf;GACD,UAAU,wBAAwB,MAAM;GACzC,CAAC;;;AAIN,SAAS,wBAGP,OAAqE;CACrE,MAAM,WAAW,MAAM,wBAAwB;CAC/C,MAAM,WAAW,MAAM,MAAM,MAAM;AAEnC,KACE,CAAC,SAAS,KAAK,UACd,aAAa,QAAQ,CAAC,OAAO,KAAK,YAAY,EAAE,CAAC,CAAC,OAEnD,QAAO;AAGT,KAAI,CAAC,MAAM,QAAQ,qBAEjB,QAAO;AAGT,QAAO,WAAW,SAAS;;AAG7B,SAAgB,WAGd,UAAkE;CAClE,MAAM,eAA6C,EAAE;CAErD,MAAM,aAAa,QAA+B;AAChD,eAAa,KAAK,IAAI;AAEtB,MAAI,IAAI,QAAQ,UAAUC,oDAAkB,IAAI,CAC9C,KAAI,QAAQ,QAAQ,UAAU;;AAIlC,UAAS,KAAK,QAAQ,UAAU;AAEhC,QAAO;EACL,MAAM;EACN,UAAU,SAAS;EACnB,UAAU,SAAS;EACpB"}
@@ -0,0 +1,11 @@
1
+ import { RowData } from "../../types/type-utils.cjs";
2
+ import { TableFeatures } from "../../types/TableFeatures.cjs";
3
+ import { Table } from "../../types/Table.cjs";
4
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.cjs";
5
+
6
+ //#region src/features/row-expanding/createExpandedRowModel.d.ts
7
+ declare function createExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData = any>(): (table: Table<TFeatures, TData>) => () => RowModel<TFeatures, TData>;
8
+ declare function expandRows<TFeatures extends TableFeatures, TData extends RowData = any>(rowModel: RowModel<TFeatures, TData>): RowModel<TFeatures, TData>;
9
+ //#endregion
10
+ export { createExpandedRowModel, expandRows };
11
+ //# sourceMappingURL=createExpandedRowModel.d.cts.map
@@ -0,0 +1,11 @@
1
+ import { RowData } from "../../types/type-utils.js";
2
+ import { TableFeatures } from "../../types/TableFeatures.js";
3
+ import { Table } from "../../types/Table.js";
4
+ import { RowModel } from "../../core/row-models/coreRowModelsFeature.types.js";
5
+
6
+ //#region src/features/row-expanding/createExpandedRowModel.d.ts
7
+ declare function createExpandedRowModel<TFeatures extends TableFeatures, TData extends RowData = any>(): (table: Table<TFeatures, TData>) => () => RowModel<TFeatures, TData>;
8
+ declare function expandRows<TFeatures extends TableFeatures, TData extends RowData = any>(rowModel: RowModel<TFeatures, TData>): RowModel<TFeatures, TData>;
9
+ //#endregion
10
+ export { createExpandedRowModel, expandRows };
11
+ //# sourceMappingURL=createExpandedRowModel.d.ts.map
@@ -0,0 +1,44 @@
1
+ import { tableMemo } from "../../utils.js";
2
+ import { row_getIsExpanded } from "./rowExpandingFeature.utils.js";
3
+
4
+ //#region src/features/row-expanding/createExpandedRowModel.ts
5
+ function createExpandedRowModel() {
6
+ return (_table) => {
7
+ const table = _table;
8
+ return tableMemo({
9
+ feature: "rowExpandingFeature",
10
+ table,
11
+ fnName: "table.getExpandedRowModel",
12
+ memoDeps: () => [
13
+ table.store.state.expanded,
14
+ table.getPreExpandedRowModel(),
15
+ table.options.paginateExpandedRows
16
+ ],
17
+ fn: () => _createExpandedRowModel(table)
18
+ });
19
+ };
20
+ }
21
+ function _createExpandedRowModel(table) {
22
+ const rowModel = table.getPreExpandedRowModel();
23
+ const expanded = table.store.state.expanded;
24
+ if (!rowModel.rows.length || expanded !== true && !Object.keys(expanded ?? {}).length) return rowModel;
25
+ if (!table.options.paginateExpandedRows) return rowModel;
26
+ return expandRows(rowModel);
27
+ }
28
+ function expandRows(rowModel) {
29
+ const expandedRows = [];
30
+ const handleRow = (row) => {
31
+ expandedRows.push(row);
32
+ if (row.subRows.length && row_getIsExpanded(row)) row.subRows.forEach(handleRow);
33
+ };
34
+ rowModel.rows.forEach(handleRow);
35
+ return {
36
+ rows: expandedRows,
37
+ flatRows: rowModel.flatRows,
38
+ rowsById: rowModel.rowsById
39
+ };
40
+ }
41
+
42
+ //#endregion
43
+ export { createExpandedRowModel, expandRows };
44
+ //# sourceMappingURL=createExpandedRowModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createExpandedRowModel.js","names":[],"sources":["../../../src/features/row-expanding/createExpandedRowModel.ts"],"sourcesContent":["import { tableMemo } from '../../utils'\nimport { row_getIsExpanded } from './rowExpandingFeature.utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { RowModel } from '../../core/row-models/coreRowModelsFeature.types'\nimport type { Table, Table_Internal } from '../../types/Table'\nimport type { Row } from '../../types/Row'\nimport type { RowData } from '../../types/type-utils'\n\nexport function createExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(): (table: Table<TFeatures, TData>) => () => RowModel<TFeatures, TData> {\n return (_table) => {\n const table = _table as Table_Internal<TFeatures, TData>\n return tableMemo({\n feature: 'rowExpandingFeature',\n table,\n fnName: 'table.getExpandedRowModel',\n memoDeps: () => [\n table.store.state.expanded,\n table.getPreExpandedRowModel(),\n table.options.paginateExpandedRows,\n ],\n fn: () => _createExpandedRowModel(table),\n })\n }\n}\n\nfunction _createExpandedRowModel<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(table: Table_Internal<TFeatures, TData>): RowModel<TFeatures, TData> {\n const rowModel = table.getPreExpandedRowModel()\n const expanded = table.store.state.expanded\n\n if (\n !rowModel.rows.length ||\n (expanded !== true && !Object.keys(expanded ?? {}).length)\n ) {\n return rowModel\n }\n\n if (!table.options.paginateExpandedRows) {\n // Only expand rows at this point if they are being paginated\n return rowModel\n }\n\n return expandRows(rowModel)\n}\n\nexport function expandRows<\n TFeatures extends TableFeatures,\n TData extends RowData = any,\n>(rowModel: RowModel<TFeatures, TData>): RowModel<TFeatures, TData> {\n const expandedRows: Array<Row<TFeatures, TData>> = []\n\n const handleRow = (row: Row<TFeatures, TData>) => {\n expandedRows.push(row)\n\n if (row.subRows.length && row_getIsExpanded(row)) {\n row.subRows.forEach(handleRow)\n }\n }\n\n rowModel.rows.forEach(handleRow)\n\n return {\n rows: expandedRows,\n flatRows: rowModel.flatRows,\n rowsById: rowModel.rowsById,\n }\n}\n"],"mappings":";;;;AAQA,SAAgB,yBAG0D;AACxE,SAAQ,WAAW;EACjB,MAAM,QAAQ;AACd,SAAO,UAAU;GACf,SAAS;GACT;GACA,QAAQ;GACR,gBAAgB;IACd,MAAM,MAAM,MAAM;IAClB,MAAM,wBAAwB;IAC9B,MAAM,QAAQ;IACf;GACD,UAAU,wBAAwB,MAAM;GACzC,CAAC;;;AAIN,SAAS,wBAGP,OAAqE;CACrE,MAAM,WAAW,MAAM,wBAAwB;CAC/C,MAAM,WAAW,MAAM,MAAM,MAAM;AAEnC,KACE,CAAC,SAAS,KAAK,UACd,aAAa,QAAQ,CAAC,OAAO,KAAK,YAAY,EAAE,CAAC,CAAC,OAEnD,QAAO;AAGT,KAAI,CAAC,MAAM,QAAQ,qBAEjB,QAAO;AAGT,QAAO,WAAW,SAAS;;AAG7B,SAAgB,WAGd,UAAkE;CAClE,MAAM,eAA6C,EAAE;CAErD,MAAM,aAAa,QAA+B;AAChD,eAAa,KAAK,IAAI;AAEtB,MAAI,IAAI,QAAQ,UAAU,kBAAkB,IAAI,CAC9C,KAAI,QAAQ,QAAQ,UAAU;;AAIlC,UAAS,KAAK,QAAQ,UAAU;AAEhC,QAAO;EACL,MAAM;EACN,UAAU,SAAS;EACnB,UAAU,SAAS;EACpB"}
@@ -0,0 +1,51 @@
1
+ const require_utils = require('../../utils.cjs');
2
+ const require_rowExpandingFeature_utils = require('./rowExpandingFeature.utils.cjs');
3
+
4
+ //#region src/features/row-expanding/rowExpandingFeature.ts
5
+ function constructRowExpandingFeature() {
6
+ return {
7
+ getInitialState: (initialState) => {
8
+ return {
9
+ expanded: require_rowExpandingFeature_utils.getDefaultExpandedState(),
10
+ ...initialState
11
+ };
12
+ },
13
+ getDefaultTableOptions: (table) => {
14
+ return {
15
+ onExpandedChange: require_utils.makeStateUpdater("expanded", table),
16
+ paginateExpandedRows: true
17
+ };
18
+ },
19
+ assignRowPrototype: (prototype, table) => {
20
+ require_utils.assignPrototypeAPIs("rowExpandingFeature", prototype, table, {
21
+ row_toggleExpanded: { fn: (row, expanded) => require_rowExpandingFeature_utils.row_toggleExpanded(row, expanded) },
22
+ row_getIsExpanded: { fn: (row) => require_rowExpandingFeature_utils.row_getIsExpanded(row) },
23
+ row_getCanExpand: { fn: (row) => require_rowExpandingFeature_utils.row_getCanExpand(row) },
24
+ row_getIsAllParentsExpanded: { fn: (row) => require_rowExpandingFeature_utils.row_getIsAllParentsExpanded(row) },
25
+ row_getToggleExpandedHandler: { fn: (row) => require_rowExpandingFeature_utils.row_getToggleExpandedHandler(row) }
26
+ });
27
+ },
28
+ constructTableAPIs: (table) => {
29
+ require_utils.assignTableAPIs("rowExpandingFeature", table, {
30
+ table_autoResetExpanded: { fn: () => require_rowExpandingFeature_utils.table_autoResetExpanded(table) },
31
+ table_setExpanded: { fn: (updater) => require_rowExpandingFeature_utils.table_setExpanded(table, updater) },
32
+ table_toggleAllRowsExpanded: { fn: (expanded) => require_rowExpandingFeature_utils.table_toggleAllRowsExpanded(table, expanded) },
33
+ table_resetExpanded: { fn: (defaultState) => require_rowExpandingFeature_utils.table_resetExpanded(table, defaultState) },
34
+ table_getCanSomeRowsExpand: { fn: () => require_rowExpandingFeature_utils.table_getCanSomeRowsExpand(table) },
35
+ table_getToggleAllRowsExpandedHandler: { fn: () => require_rowExpandingFeature_utils.table_getToggleAllRowsExpandedHandler(table) },
36
+ table_getIsSomeRowsExpanded: { fn: () => require_rowExpandingFeature_utils.table_getIsSomeRowsExpanded(table) },
37
+ table_getIsAllRowsExpanded: { fn: () => require_rowExpandingFeature_utils.table_getIsAllRowsExpanded(table) },
38
+ table_getExpandedDepth: { fn: () => require_rowExpandingFeature_utils.table_getExpandedDepth(table) }
39
+ });
40
+ }
41
+ };
42
+ }
43
+ /**
44
+ * The Row Expanding feature adds row expanding state and APIs to the table and row objects.
45
+ */
46
+ const rowExpandingFeature = constructRowExpandingFeature();
47
+
48
+ //#endregion
49
+ exports.constructRowExpandingFeature = constructRowExpandingFeature;
50
+ exports.rowExpandingFeature = rowExpandingFeature;
51
+ //# sourceMappingURL=rowExpandingFeature.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rowExpandingFeature.cjs","names":["getDefaultExpandedState","makeStateUpdater","row_toggleExpanded","row_getIsExpanded","row_getCanExpand","row_getIsAllParentsExpanded","row_getToggleExpandedHandler","table_autoResetExpanded","table_setExpanded","table_toggleAllRowsExpanded","table_resetExpanded","table_getCanSomeRowsExpand","table_getToggleAllRowsExpandedHandler","table_getIsSomeRowsExpanded","table_getIsAllRowsExpanded","table_getExpandedDepth"],"sources":["../../../src/features/row-expanding/rowExpandingFeature.ts"],"sourcesContent":["import {\n assignPrototypeAPIs,\n assignTableAPIs,\n makeStateUpdater,\n} from '../../utils'\nimport {\n getDefaultExpandedState,\n row_getCanExpand,\n row_getIsAllParentsExpanded,\n row_getIsExpanded,\n row_getToggleExpandedHandler,\n row_toggleExpanded,\n table_autoResetExpanded,\n table_getCanSomeRowsExpand,\n table_getExpandedDepth,\n table_getIsAllRowsExpanded,\n table_getIsSomeRowsExpanded,\n table_getToggleAllRowsExpandedHandler,\n table_resetExpanded,\n table_setExpanded,\n table_toggleAllRowsExpanded,\n} from './rowExpandingFeature.utils'\nimport type { RowData } from '../../types/type-utils'\nimport type { TableFeature, TableFeatures } from '../../types/TableFeatures'\n// import type {\n// CachedRowModel_Expanded,\n// CreateRowModel_Expanded,\n// Row_RowExpanding,\n// TableOptions_RowExpanding,\n// TableState_RowExpanding,\n// Table_RowExpanding,\n// } from './rowExpandingFeature.types'\n\ninterface RowExpandingFeatureConstructors<\n TFeatures extends TableFeatures,\n TData extends RowData,\n> {\n // CachedRowModel: CachedRowModel_Expanded<TFeatures, TData>\n // CreateRowModels: CreateRowModel_Expanded<TFeatures, TData>\n // Row: Row_RowExpanding\n // Table: Table_RowExpanding<TFeatures, TData>\n // TableOptions: TableOptions_RowExpanding<TFeatures, TData>\n // TableState: TableState_RowExpanding\n}\n\nexport function constructRowExpandingFeature<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(): TableFeature<RowExpandingFeatureConstructors<TFeatures, TData>> {\n return {\n getInitialState: (initialState) => {\n return {\n expanded: getDefaultExpandedState(),\n ...initialState,\n }\n },\n\n getDefaultTableOptions: (table) => {\n return {\n onExpandedChange: makeStateUpdater('expanded', table),\n paginateExpandedRows: true,\n }\n },\n\n assignRowPrototype: (prototype, table) => {\n assignPrototypeAPIs('rowExpandingFeature', prototype, table, {\n row_toggleExpanded: {\n fn: (row, expanded) => row_toggleExpanded(row, expanded),\n },\n row_getIsExpanded: {\n fn: (row) => row_getIsExpanded(row),\n },\n row_getCanExpand: {\n fn: (row) => row_getCanExpand(row),\n },\n row_getIsAllParentsExpanded: {\n fn: (row) => row_getIsAllParentsExpanded(row),\n },\n row_getToggleExpandedHandler: {\n fn: (row) => row_getToggleExpandedHandler(row),\n },\n })\n },\n\n constructTableAPIs: (table) => {\n assignTableAPIs('rowExpandingFeature', table, {\n table_autoResetExpanded: {\n fn: () => table_autoResetExpanded(table),\n },\n table_setExpanded: {\n fn: (updater) => table_setExpanded(table, updater),\n },\n table_toggleAllRowsExpanded: {\n fn: (expanded) => table_toggleAllRowsExpanded(table, expanded),\n },\n table_resetExpanded: {\n fn: (defaultState) => table_resetExpanded(table, defaultState),\n },\n table_getCanSomeRowsExpand: {\n fn: () => table_getCanSomeRowsExpand(table),\n },\n table_getToggleAllRowsExpandedHandler: {\n fn: () => table_getToggleAllRowsExpandedHandler(table),\n },\n table_getIsSomeRowsExpanded: {\n fn: () => table_getIsSomeRowsExpanded(table),\n },\n table_getIsAllRowsExpanded: {\n fn: () => table_getIsAllRowsExpanded(table),\n },\n table_getExpandedDepth: {\n fn: () => table_getExpandedDepth(table),\n },\n })\n },\n }\n}\n\n/**\n * The Row Expanding feature adds row expanding state and APIs to the table and row objects.\n */\nexport const rowExpandingFeature = constructRowExpandingFeature()\n"],"mappings":";;;;AA6CA,SAAgB,+BAGqD;AACnE,QAAO;EACL,kBAAkB,iBAAiB;AACjC,UAAO;IACL,UAAUA,2DAAyB;IACnC,GAAG;IACJ;;EAGH,yBAAyB,UAAU;AACjC,UAAO;IACL,kBAAkBC,+BAAiB,YAAY,MAAM;IACrD,sBAAsB;IACvB;;EAGH,qBAAqB,WAAW,UAAU;AACxC,qCAAoB,uBAAuB,WAAW,OAAO;IAC3D,oBAAoB,EAClB,KAAK,KAAK,aAAaC,qDAAmB,KAAK,SAAS,EACzD;IACD,mBAAmB,EACjB,KAAK,QAAQC,oDAAkB,IAAI,EACpC;IACD,kBAAkB,EAChB,KAAK,QAAQC,mDAAiB,IAAI,EACnC;IACD,6BAA6B,EAC3B,KAAK,QAAQC,8DAA4B,IAAI,EAC9C;IACD,8BAA8B,EAC5B,KAAK,QAAQC,+DAA6B,IAAI,EAC/C;IACF,CAAC;;EAGJ,qBAAqB,UAAU;AAC7B,iCAAgB,uBAAuB,OAAO;IAC5C,yBAAyB,EACvB,UAAUC,0DAAwB,MAAM,EACzC;IACD,mBAAmB,EACjB,KAAK,YAAYC,oDAAkB,OAAO,QAAQ,EACnD;IACD,6BAA6B,EAC3B,KAAK,aAAaC,8DAA4B,OAAO,SAAS,EAC/D;IACD,qBAAqB,EACnB,KAAK,iBAAiBC,sDAAoB,OAAO,aAAa,EAC/D;IACD,4BAA4B,EAC1B,UAAUC,6DAA2B,MAAM,EAC5C;IACD,uCAAuC,EACrC,UAAUC,wEAAsC,MAAM,EACvD;IACD,6BAA6B,EAC3B,UAAUC,8DAA4B,MAAM,EAC7C;IACD,4BAA4B,EAC1B,UAAUC,6DAA2B,MAAM,EAC5C;IACD,wBAAwB,EACtB,UAAUC,yDAAuB,MAAM,EACxC;IACF,CAAC;;EAEL;;;;;AAMH,MAAa,sBAAsB,8BAA8B"}
@@ -0,0 +1,13 @@
1
+ import { RowData } from "../../types/type-utils.cjs";
2
+ import { TableFeature, TableFeatures } from "../../types/TableFeatures.cjs";
3
+
4
+ //#region src/features/row-expanding/rowExpandingFeature.d.ts
5
+ interface RowExpandingFeatureConstructors<TFeatures extends TableFeatures, TData extends RowData> {}
6
+ declare function constructRowExpandingFeature<TFeatures extends TableFeatures, TData extends RowData>(): TableFeature<RowExpandingFeatureConstructors<TFeatures, TData>>;
7
+ /**
8
+ * The Row Expanding feature adds row expanding state and APIs to the table and row objects.
9
+ */
10
+ declare const rowExpandingFeature: TableFeature<RowExpandingFeatureConstructors<TableFeatures, RowData>>;
11
+ //#endregion
12
+ export { constructRowExpandingFeature, rowExpandingFeature };
13
+ //# sourceMappingURL=rowExpandingFeature.d.cts.map
@@ -0,0 +1,13 @@
1
+ import { RowData } from "../../types/type-utils.js";
2
+ import { TableFeature, TableFeatures } from "../../types/TableFeatures.js";
3
+
4
+ //#region src/features/row-expanding/rowExpandingFeature.d.ts
5
+ interface RowExpandingFeatureConstructors<TFeatures extends TableFeatures, TData extends RowData> {}
6
+ declare function constructRowExpandingFeature<TFeatures extends TableFeatures, TData extends RowData>(): TableFeature<RowExpandingFeatureConstructors<TFeatures, TData>>;
7
+ /**
8
+ * The Row Expanding feature adds row expanding state and APIs to the table and row objects.
9
+ */
10
+ declare const rowExpandingFeature: TableFeature<RowExpandingFeatureConstructors<TableFeatures, RowData>>;
11
+ //#endregion
12
+ export { constructRowExpandingFeature, rowExpandingFeature };
13
+ //# sourceMappingURL=rowExpandingFeature.d.ts.map
@@ -0,0 +1,50 @@
1
+ import { assignPrototypeAPIs, assignTableAPIs, makeStateUpdater } from "../../utils.js";
2
+ import { getDefaultExpandedState, row_getCanExpand, row_getIsAllParentsExpanded, row_getIsExpanded, row_getToggleExpandedHandler, row_toggleExpanded, table_autoResetExpanded, table_getCanSomeRowsExpand, table_getExpandedDepth, table_getIsAllRowsExpanded, table_getIsSomeRowsExpanded, table_getToggleAllRowsExpandedHandler, table_resetExpanded, table_setExpanded, table_toggleAllRowsExpanded } from "./rowExpandingFeature.utils.js";
3
+
4
+ //#region src/features/row-expanding/rowExpandingFeature.ts
5
+ function constructRowExpandingFeature() {
6
+ return {
7
+ getInitialState: (initialState) => {
8
+ return {
9
+ expanded: getDefaultExpandedState(),
10
+ ...initialState
11
+ };
12
+ },
13
+ getDefaultTableOptions: (table) => {
14
+ return {
15
+ onExpandedChange: makeStateUpdater("expanded", table),
16
+ paginateExpandedRows: true
17
+ };
18
+ },
19
+ assignRowPrototype: (prototype, table) => {
20
+ assignPrototypeAPIs("rowExpandingFeature", prototype, table, {
21
+ row_toggleExpanded: { fn: (row, expanded) => row_toggleExpanded(row, expanded) },
22
+ row_getIsExpanded: { fn: (row) => row_getIsExpanded(row) },
23
+ row_getCanExpand: { fn: (row) => row_getCanExpand(row) },
24
+ row_getIsAllParentsExpanded: { fn: (row) => row_getIsAllParentsExpanded(row) },
25
+ row_getToggleExpandedHandler: { fn: (row) => row_getToggleExpandedHandler(row) }
26
+ });
27
+ },
28
+ constructTableAPIs: (table) => {
29
+ assignTableAPIs("rowExpandingFeature", table, {
30
+ table_autoResetExpanded: { fn: () => table_autoResetExpanded(table) },
31
+ table_setExpanded: { fn: (updater) => table_setExpanded(table, updater) },
32
+ table_toggleAllRowsExpanded: { fn: (expanded) => table_toggleAllRowsExpanded(table, expanded) },
33
+ table_resetExpanded: { fn: (defaultState) => table_resetExpanded(table, defaultState) },
34
+ table_getCanSomeRowsExpand: { fn: () => table_getCanSomeRowsExpand(table) },
35
+ table_getToggleAllRowsExpandedHandler: { fn: () => table_getToggleAllRowsExpandedHandler(table) },
36
+ table_getIsSomeRowsExpanded: { fn: () => table_getIsSomeRowsExpanded(table) },
37
+ table_getIsAllRowsExpanded: { fn: () => table_getIsAllRowsExpanded(table) },
38
+ table_getExpandedDepth: { fn: () => table_getExpandedDepth(table) }
39
+ });
40
+ }
41
+ };
42
+ }
43
+ /**
44
+ * The Row Expanding feature adds row expanding state and APIs to the table and row objects.
45
+ */
46
+ const rowExpandingFeature = constructRowExpandingFeature();
47
+
48
+ //#endregion
49
+ export { constructRowExpandingFeature, rowExpandingFeature };
50
+ //# sourceMappingURL=rowExpandingFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rowExpandingFeature.js","names":[],"sources":["../../../src/features/row-expanding/rowExpandingFeature.ts"],"sourcesContent":["import {\n assignPrototypeAPIs,\n assignTableAPIs,\n makeStateUpdater,\n} from '../../utils'\nimport {\n getDefaultExpandedState,\n row_getCanExpand,\n row_getIsAllParentsExpanded,\n row_getIsExpanded,\n row_getToggleExpandedHandler,\n row_toggleExpanded,\n table_autoResetExpanded,\n table_getCanSomeRowsExpand,\n table_getExpandedDepth,\n table_getIsAllRowsExpanded,\n table_getIsSomeRowsExpanded,\n table_getToggleAllRowsExpandedHandler,\n table_resetExpanded,\n table_setExpanded,\n table_toggleAllRowsExpanded,\n} from './rowExpandingFeature.utils'\nimport type { RowData } from '../../types/type-utils'\nimport type { TableFeature, TableFeatures } from '../../types/TableFeatures'\n// import type {\n// CachedRowModel_Expanded,\n// CreateRowModel_Expanded,\n// Row_RowExpanding,\n// TableOptions_RowExpanding,\n// TableState_RowExpanding,\n// Table_RowExpanding,\n// } from './rowExpandingFeature.types'\n\ninterface RowExpandingFeatureConstructors<\n TFeatures extends TableFeatures,\n TData extends RowData,\n> {\n // CachedRowModel: CachedRowModel_Expanded<TFeatures, TData>\n // CreateRowModels: CreateRowModel_Expanded<TFeatures, TData>\n // Row: Row_RowExpanding\n // Table: Table_RowExpanding<TFeatures, TData>\n // TableOptions: TableOptions_RowExpanding<TFeatures, TData>\n // TableState: TableState_RowExpanding\n}\n\nexport function constructRowExpandingFeature<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(): TableFeature<RowExpandingFeatureConstructors<TFeatures, TData>> {\n return {\n getInitialState: (initialState) => {\n return {\n expanded: getDefaultExpandedState(),\n ...initialState,\n }\n },\n\n getDefaultTableOptions: (table) => {\n return {\n onExpandedChange: makeStateUpdater('expanded', table),\n paginateExpandedRows: true,\n }\n },\n\n assignRowPrototype: (prototype, table) => {\n assignPrototypeAPIs('rowExpandingFeature', prototype, table, {\n row_toggleExpanded: {\n fn: (row, expanded) => row_toggleExpanded(row, expanded),\n },\n row_getIsExpanded: {\n fn: (row) => row_getIsExpanded(row),\n },\n row_getCanExpand: {\n fn: (row) => row_getCanExpand(row),\n },\n row_getIsAllParentsExpanded: {\n fn: (row) => row_getIsAllParentsExpanded(row),\n },\n row_getToggleExpandedHandler: {\n fn: (row) => row_getToggleExpandedHandler(row),\n },\n })\n },\n\n constructTableAPIs: (table) => {\n assignTableAPIs('rowExpandingFeature', table, {\n table_autoResetExpanded: {\n fn: () => table_autoResetExpanded(table),\n },\n table_setExpanded: {\n fn: (updater) => table_setExpanded(table, updater),\n },\n table_toggleAllRowsExpanded: {\n fn: (expanded) => table_toggleAllRowsExpanded(table, expanded),\n },\n table_resetExpanded: {\n fn: (defaultState) => table_resetExpanded(table, defaultState),\n },\n table_getCanSomeRowsExpand: {\n fn: () => table_getCanSomeRowsExpand(table),\n },\n table_getToggleAllRowsExpandedHandler: {\n fn: () => table_getToggleAllRowsExpandedHandler(table),\n },\n table_getIsSomeRowsExpanded: {\n fn: () => table_getIsSomeRowsExpanded(table),\n },\n table_getIsAllRowsExpanded: {\n fn: () => table_getIsAllRowsExpanded(table),\n },\n table_getExpandedDepth: {\n fn: () => table_getExpandedDepth(table),\n },\n })\n },\n }\n}\n\n/**\n * The Row Expanding feature adds row expanding state and APIs to the table and row objects.\n */\nexport const rowExpandingFeature = constructRowExpandingFeature()\n"],"mappings":";;;;AA6CA,SAAgB,+BAGqD;AACnE,QAAO;EACL,kBAAkB,iBAAiB;AACjC,UAAO;IACL,UAAU,yBAAyB;IACnC,GAAG;IACJ;;EAGH,yBAAyB,UAAU;AACjC,UAAO;IACL,kBAAkB,iBAAiB,YAAY,MAAM;IACrD,sBAAsB;IACvB;;EAGH,qBAAqB,WAAW,UAAU;AACxC,uBAAoB,uBAAuB,WAAW,OAAO;IAC3D,oBAAoB,EAClB,KAAK,KAAK,aAAa,mBAAmB,KAAK,SAAS,EACzD;IACD,mBAAmB,EACjB,KAAK,QAAQ,kBAAkB,IAAI,EACpC;IACD,kBAAkB,EAChB,KAAK,QAAQ,iBAAiB,IAAI,EACnC;IACD,6BAA6B,EAC3B,KAAK,QAAQ,4BAA4B,IAAI,EAC9C;IACD,8BAA8B,EAC5B,KAAK,QAAQ,6BAA6B,IAAI,EAC/C;IACF,CAAC;;EAGJ,qBAAqB,UAAU;AAC7B,mBAAgB,uBAAuB,OAAO;IAC5C,yBAAyB,EACvB,UAAU,wBAAwB,MAAM,EACzC;IACD,mBAAmB,EACjB,KAAK,YAAY,kBAAkB,OAAO,QAAQ,EACnD;IACD,6BAA6B,EAC3B,KAAK,aAAa,4BAA4B,OAAO,SAAS,EAC/D;IACD,qBAAqB,EACnB,KAAK,iBAAiB,oBAAoB,OAAO,aAAa,EAC/D;IACD,4BAA4B,EAC1B,UAAU,2BAA2B,MAAM,EAC5C;IACD,uCAAuC,EACrC,UAAU,sCAAsC,MAAM,EACvD;IACD,6BAA6B,EAC3B,UAAU,4BAA4B,MAAM,EAC7C;IACD,4BAA4B,EAC1B,UAAU,2BAA2B,MAAM,EAC5C;IACD,wBAAwB,EACtB,UAAU,uBAAuB,MAAM,EACxC;IACF,CAAC;;EAEL;;;;;AAMH,MAAa,sBAAsB,8BAA8B"}