@tanstack/table-core 8.0.0-alpha.20 → 8.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.
- package/build/cjs/aggregationTypes.js +21 -19
- package/build/cjs/aggregationTypes.js.map +1 -1
- package/build/cjs/core.js +8 -8
- package/build/cjs/core.js.map +1 -1
- package/build/cjs/features/Expanding.js +5 -8
- package/build/cjs/features/Expanding.js.map +1 -1
- package/build/cjs/features/Filters.js +1 -1
- package/build/cjs/features/Filters.js.map +1 -1
- package/build/cjs/features/Grouping.js.map +1 -1
- package/build/cjs/features/Pinning.js +6 -0
- package/build/cjs/features/Pinning.js.map +1 -1
- package/build/cjs/features/RowSelection.js +3 -3
- package/build/cjs/features/RowSelection.js.map +1 -1
- package/build/cjs/utils/columnFilterRowsFn.js +20 -78
- package/build/cjs/utils/columnFilterRowsFn.js.map +1 -1
- package/build/cjs/utils/filterRowsUtils.js +100 -0
- package/build/cjs/utils/filterRowsUtils.js.map +1 -0
- package/build/cjs/utils/globalFilterRowsFn.js +10 -62
- package/build/cjs/utils/globalFilterRowsFn.js.map +1 -1
- package/build/cjs/utils/groupRowsFn.js +15 -15
- package/build/cjs/utils/groupRowsFn.js.map +1 -1
- package/build/cjs/utils/sortRowsFn.js +1 -1
- package/build/cjs/utils/sortRowsFn.js.map +1 -1
- package/build/esm/index.js +166 -192
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +303 -270
- package/build/types/aggregationTypes.d.ts +9 -9
- package/build/types/core.d.ts +1 -1
- package/build/types/features/Expanding.d.ts +1 -0
- package/build/types/features/Filters.d.ts +1 -1
- package/build/types/features/Grouping.d.ts +1 -1
- package/build/types/features/Pinning.d.ts +1 -0
- package/build/types/utils/filterRowsUtils.d.ts +3 -0
- package/build/types/utils/sortRowsQuicksortFn.d.ts +11 -0
- package/build/umd/index.development.js +166 -192
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/aggregationTypes.ts +23 -19
- package/src/core.tsx +3 -5
- package/src/features/Expanding.ts +7 -10
- package/src/features/Filters.ts +2 -2
- package/src/features/Grouping.ts +2 -2
- package/src/features/Pinning.ts +7 -0
- package/src/features/RowSelection.ts +1 -3
- package/src/utils/columnFilterRowsFn.ts +12 -73
- package/src/utils/filterRowsUtils.ts +107 -0
- package/src/utils/globalFilterRowsFn.ts +10 -66
- package/src/utils/groupRowsFn.ts +14 -16
- package/src/utils/sortRowsFn.ts +6 -8
- package/src/utils/sortRowsQuicksortFn.ts +174 -0
package/build/stats-html.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"3f7d-1","name":"\u0000rollupPluginBabelHelpers.js"},{"name":"packages/table-core/src","children":[{"uid":"3f7d-3","name":"utils.tsx"},{"name":"features","children":[{"uid":"3f7d-5","name":"Visibility.ts"},{"uid":"3f7d-9","name":"Grouping.ts"},{"uid":"3f7d-11","name":"Ordering.ts"},{"uid":"3f7d-13","name":"Pinning.ts"},{"uid":"3f7d-15","name":"ColumnSizing.ts"},{"uid":"3f7d-17","name":"Headers.ts"},{"uid":"3f7d-21","name":"Filters.ts"},{"uid":"3f7d-25","name":"Sorting.ts"},{"uid":"3f7d-27","name":"Expanding.ts"},{"uid":"3f7d-29","name":"Pagination.ts"},{"uid":"3f7d-31","name":"RowSelection.ts"}]},{"uid":"3f7d-7","name":"aggregationTypes.ts"},{"uid":"3f7d-19","name":"filterTypes.ts"},{"uid":"3f7d-23","name":"sortTypes.ts"},{"uid":"3f7d-33","name":"core.tsx"},{"uid":"3f7d-35","name":"createTable.tsx"},{"name":"utils","children":[{"uid":"3f7d-37","name":"filterRowsUtils.ts"},{"uid":"3f7d-39","name":"columnFilterRowsFn.ts"},{"uid":"3f7d-41","name":"globalFilterRowsFn.ts"},{"uid":"3f7d-43","name":"sortRowsFn.ts"},{"uid":"3f7d-45","name":"groupRowsFn.ts"},{"uid":"3f7d-47","name":"expandRowsFn.ts"},{"uid":"3f7d-49","name":"paginateRowsFn.ts"}]},{"uid":"3f7d-51","name":"index.tsx"}]}]}],"isRoot":true},"nodeParts":{"3f7d-1":{"renderedLength":2695,"gzipLength":1065,"brotliLength":0,"mainUid":"3f7d-0"},"3f7d-3":{"renderedLength":3906,"gzipLength":1358,"brotliLength":0,"mainUid":"3f7d-2"},"3f7d-5":{"renderedLength":6367,"gzipLength":1219,"brotliLength":0,"mainUid":"3f7d-4"},"3f7d-7":{"renderedLength":2674,"gzipLength":773,"brotliLength":0,"mainUid":"3f7d-6"},"3f7d-9":{"renderedLength":8351,"gzipLength":1807,"brotliLength":0,"mainUid":"3f7d-8"},"3f7d-11":{"renderedLength":2639,"gzipLength":799,"brotliLength":0,"mainUid":"3f7d-10"},"3f7d-13":{"renderedLength":5842,"gzipLength":1084,"brotliLength":0,"mainUid":"3f7d-12"},"3f7d-15":{"renderedLength":10919,"gzipLength":2166,"brotliLength":0,"mainUid":"3f7d-14"},"3f7d-17":{"renderedLength":23655,"gzipLength":3372,"brotliLength":0,"mainUid":"3f7d-16"},"3f7d-19":{"renderedLength":4437,"gzipLength":786,"brotliLength":0,"mainUid":"3f7d-18"},"3f7d-21":{"renderedLength":16504,"gzipLength":2894,"brotliLength":0,"mainUid":"3f7d-20"},"3f7d-23":{"renderedLength":2752,"gzipLength":846,"brotliLength":0,"mainUid":"3f7d-22"},"3f7d-25":{"renderedLength":12092,"gzipLength":2589,"brotliLength":0,"mainUid":"3f7d-24"},"3f7d-27":{"renderedLength":7711,"gzipLength":1694,"brotliLength":0,"mainUid":"3f7d-26"},"3f7d-29":{"renderedLength":6378,"gzipLength":1280,"brotliLength":0,"mainUid":"3f7d-28"},"3f7d-31":{"renderedLength":18035,"gzipLength":3049,"brotliLength":0,"mainUid":"3f7d-30"},"3f7d-33":{"renderedLength":18004,"gzipLength":3499,"brotliLength":0,"mainUid":"3f7d-32"},"3f7d-35":{"renderedLength":1444,"gzipLength":413,"brotliLength":0,"mainUid":"3f7d-34"},"3f7d-37":{"renderedLength":2457,"gzipLength":568,"brotliLength":0,"mainUid":"3f7d-36"},"3f7d-39":{"renderedLength":1362,"gzipLength":472,"brotliLength":0,"mainUid":"3f7d-38"},"3f7d-41":{"renderedLength":807,"gzipLength":291,"brotliLength":0,"mainUid":"3f7d-40"},"3f7d-43":{"renderedLength":2482,"gzipLength":823,"brotliLength":0,"mainUid":"3f7d-42"},"3f7d-45":{"renderedLength":4752,"gzipLength":1344,"brotliLength":0,"mainUid":"3f7d-44"},"3f7d-47":{"renderedLength":556,"gzipLength":265,"brotliLength":0,"mainUid":"3f7d-46"},"3f7d-49":{"renderedLength":720,"gzipLength":281,"brotliLength":0,"mainUid":"3f7d-48"},"3f7d-51":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3f7d-50"}},"nodeMetas":{"3f7d-0":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"3f7d-1"},"imported":[],"importedBy":[{"uid":"3f7d-32"},{"uid":"3f7d-34"},{"uid":"3f7d-14"},{"uid":"3f7d-26"},{"uid":"3f7d-28"},{"uid":"3f7d-30"},{"uid":"3f7d-24"},{"uid":"3f7d-4"},{"uid":"3f7d-2"},{"uid":"3f7d-6"}]},"3f7d-2":{"id":"/packages/table-core/src/utils.tsx","moduleParts":{"index.production.js":"3f7d-3"},"imported":[{"uid":"3f7d-0"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"},{"uid":"3f7d-14"},{"uid":"3f7d-26"},{"uid":"3f7d-20"},{"uid":"3f7d-8"},{"uid":"3f7d-16"},{"uid":"3f7d-10"},{"uid":"3f7d-28"},{"uid":"3f7d-12"},{"uid":"3f7d-30"},{"uid":"3f7d-24"},{"uid":"3f7d-4"},{"uid":"3f7d-44"}]},"3f7d-4":{"id":"/packages/table-core/src/features/Visibility.ts","moduleParts":{"index.production.js":"3f7d-5"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-6":{"id":"/packages/table-core/src/aggregationTypes.ts","moduleParts":{"index.production.js":"3f7d-7"},"imported":[{"uid":"3f7d-0"}],"importedBy":[{"uid":"3f7d-8"}]},"3f7d-8":{"id":"/packages/table-core/src/features/Grouping.ts","moduleParts":{"index.production.js":"3f7d-9"},"imported":[{"uid":"3f7d-6"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"},{"uid":"3f7d-10"}]},"3f7d-10":{"id":"/packages/table-core/src/features/Ordering.ts","moduleParts":{"index.production.js":"3f7d-11"},"imported":[{"uid":"3f7d-2"},{"uid":"3f7d-8"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-12":{"id":"/packages/table-core/src/features/Pinning.ts","moduleParts":{"index.production.js":"3f7d-13"},"imported":[{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-14":{"id":"/packages/table-core/src/features/ColumnSizing.ts","moduleParts":{"index.production.js":"3f7d-15"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"},{"uid":"3f7d-16"}]},"3f7d-16":{"id":"/packages/table-core/src/features/Headers.ts","moduleParts":{"index.production.js":"3f7d-17"},"imported":[{"uid":"3f7d-2"},{"uid":"3f7d-14"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-18":{"id":"/packages/table-core/src/filterTypes.ts","moduleParts":{"index.production.js":"3f7d-19"},"imported":[],"importedBy":[{"uid":"3f7d-20"}]},"3f7d-20":{"id":"/packages/table-core/src/features/Filters.ts","moduleParts":{"index.production.js":"3f7d-21"},"imported":[{"uid":"3f7d-18"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-22":{"id":"/packages/table-core/src/sortTypes.ts","moduleParts":{"index.production.js":"3f7d-23"},"imported":[],"importedBy":[{"uid":"3f7d-24"}]},"3f7d-24":{"id":"/packages/table-core/src/features/Sorting.ts","moduleParts":{"index.production.js":"3f7d-25"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-22"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-26":{"id":"/packages/table-core/src/features/Expanding.ts","moduleParts":{"index.production.js":"3f7d-27"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-28":{"id":"/packages/table-core/src/features/Pagination.ts","moduleParts":{"index.production.js":"3f7d-29"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-30":{"id":"/packages/table-core/src/features/RowSelection.ts","moduleParts":{"index.production.js":"3f7d-31"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-32"}]},"3f7d-32":{"id":"/packages/table-core/src/core.tsx","moduleParts":{"index.production.js":"3f7d-33"},"imported":[{"uid":"3f7d-0"},{"uid":"3f7d-2"},{"uid":"3f7d-4"},{"uid":"3f7d-10"},{"uid":"3f7d-12"},{"uid":"3f7d-16"},{"uid":"3f7d-20"},{"uid":"3f7d-24"},{"uid":"3f7d-8"},{"uid":"3f7d-26"},{"uid":"3f7d-14"},{"uid":"3f7d-28"},{"uid":"3f7d-30"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-34":{"id":"/packages/table-core/src/createTable.tsx","moduleParts":{"index.production.js":"3f7d-35"},"imported":[{"uid":"3f7d-0"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-36":{"id":"/packages/table-core/src/utils/filterRowsUtils.ts","moduleParts":{"index.production.js":"3f7d-37"},"imported":[],"importedBy":[{"uid":"3f7d-38"},{"uid":"3f7d-40"}]},"3f7d-38":{"id":"/packages/table-core/src/utils/columnFilterRowsFn.ts","moduleParts":{"index.production.js":"3f7d-39"},"imported":[{"uid":"3f7d-36"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-40":{"id":"/packages/table-core/src/utils/globalFilterRowsFn.ts","moduleParts":{"index.production.js":"3f7d-41"},"imported":[{"uid":"3f7d-36"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-42":{"id":"/packages/table-core/src/utils/sortRowsFn.ts","moduleParts":{"index.production.js":"3f7d-43"},"imported":[],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-44":{"id":"/packages/table-core/src/utils/groupRowsFn.ts","moduleParts":{"index.production.js":"3f7d-45"},"imported":[{"uid":"3f7d-2"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-46":{"id":"/packages/table-core/src/utils/expandRowsFn.ts","moduleParts":{"index.production.js":"3f7d-47"},"imported":[],"importedBy":[{"uid":"3f7d-50"},{"uid":"3f7d-48"}]},"3f7d-48":{"id":"/packages/table-core/src/utils/paginateRowsFn.ts","moduleParts":{"index.production.js":"3f7d-49"},"imported":[{"uid":"3f7d-46"}],"importedBy":[{"uid":"3f7d-50"}]},"3f7d-50":{"id":"/packages/table-core/src/index.tsx","moduleParts":{"index.production.js":"3f7d-51"},"imported":[{"uid":"3f7d-32"},{"uid":"3f7d-52"},{"uid":"3f7d-34"},{"uid":"3f7d-14"},{"uid":"3f7d-26"},{"uid":"3f7d-20"},{"uid":"3f7d-8"},{"uid":"3f7d-16"},{"uid":"3f7d-10"},{"uid":"3f7d-28"},{"uid":"3f7d-12"},{"uid":"3f7d-30"},{"uid":"3f7d-24"},{"uid":"3f7d-4"},{"uid":"3f7d-2"},{"uid":"3f7d-38"},{"uid":"3f7d-40"},{"uid":"3f7d-42"},{"uid":"3f7d-44"},{"uid":"3f7d-46"},{"uid":"3f7d-48"}],"importedBy":[],"isEntry":true},"3f7d-52":{"id":"/packages/table-core/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f7d-50"}]}},"env":{"rollup":"2.66.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|