@tanstack/react-table 0.0.1-alpha.9 → 8.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js +112 -0
  2. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  3. package/build/cjs/aggregationTypes.js +130 -0
  4. package/build/cjs/aggregationTypes.js.map +1 -0
  5. package/build/cjs/core.js +493 -0
  6. package/build/cjs/core.js.map +1 -0
  7. package/build/cjs/createTable.js +103 -0
  8. package/build/cjs/createTable.js.map +1 -0
  9. package/build/cjs/features/Expanding.js +234 -0
  10. package/build/cjs/features/Expanding.js.map +1 -0
  11. package/build/cjs/features/Filters.js +396 -0
  12. package/build/cjs/features/Filters.js.map +1 -0
  13. package/build/cjs/features/Grouping.js +228 -0
  14. package/build/cjs/features/Grouping.js.map +1 -0
  15. package/build/cjs/features/Headers.js +483 -0
  16. package/build/cjs/features/Headers.js.map +1 -0
  17. package/build/cjs/features/Ordering.js +83 -0
  18. package/build/cjs/features/Ordering.js.map +1 -0
  19. package/build/cjs/features/Pinning.js +163 -0
  20. package/build/cjs/features/Pinning.js.map +1 -0
  21. package/build/cjs/features/Sorting.js +269 -0
  22. package/build/cjs/features/Sorting.js.map +1 -0
  23. package/build/cjs/features/Visibility.js +160 -0
  24. package/build/cjs/features/Visibility.js.map +1 -0
  25. package/build/cjs/filterTypes.js +172 -0
  26. package/build/cjs/filterTypes.js.map +1 -0
  27. package/build/cjs/index.js +30 -0
  28. package/build/cjs/index.js.map +1 -0
  29. package/build/cjs/sortTypes.js +121 -0
  30. package/build/cjs/sortTypes.js.map +1 -0
  31. package/build/cjs/utils/columnFilterRowsFn.js +130 -0
  32. package/build/cjs/utils/columnFilterRowsFn.js.map +1 -0
  33. package/build/cjs/utils/expandRowsFn.js +38 -0
  34. package/build/cjs/utils/expandRowsFn.js.map +1 -0
  35. package/build/cjs/utils/globalFilterRowsFn.js +100 -0
  36. package/build/cjs/utils/globalFilterRowsFn.js.map +1 -0
  37. package/build/cjs/utils/groupRowsFn.js +154 -0
  38. package/build/cjs/utils/groupRowsFn.js.map +1 -0
  39. package/build/cjs/utils/sortRowsFn.js +93 -0
  40. package/build/cjs/utils/sortRowsFn.js.map +1 -0
  41. package/build/cjs/utils.js +143 -0
  42. package/build/cjs/utils.js.map +1 -0
  43. package/build/esm/index.js +3389 -0
  44. package/build/esm/index.js.map +1 -0
  45. package/build/stats-html.html +2689 -0
  46. package/build/stats-react.json +703 -0
  47. package/build/types/aggregationTypes.d.ts +22 -0
  48. package/build/types/core.d.ts +122 -0
  49. package/build/types/createTable.d.ts +35 -0
  50. package/build/types/features/Expanding.d.ts +52 -0
  51. package/build/types/features/Filters.d.ts +93 -0
  52. package/build/types/features/Grouping.d.ts +82 -0
  53. package/build/types/features/Headers.d.ts +41 -0
  54. package/build/types/features/Ordering.d.ts +19 -0
  55. package/build/types/features/Pinning.d.ts +39 -0
  56. package/build/types/features/Sorting.d.ts +75 -0
  57. package/build/types/features/Visibility.d.ts +47 -0
  58. package/build/types/filterTypes.d.ts +50 -0
  59. package/build/types/index.d.ts +7 -0
  60. package/build/types/sortTypes.d.ts +17 -0
  61. package/build/types/types.d.ts +122 -0
  62. package/build/types/utils/columnFilterRowsFn.d.ts +2 -0
  63. package/build/types/utils/expandRowsFn.d.ts +2 -0
  64. package/build/types/utils/globalFilterRowsFn.d.ts +2 -0
  65. package/build/types/utils/groupRowsFn.d.ts +2 -0
  66. package/build/types/utils/sortRowsFn.d.ts +2 -0
  67. package/build/types/utils.d.ts +24 -0
  68. package/{dist/react-table.development.js → build/umd/index.development.js} +11 -1
  69. package/build/umd/index.development.js.map +1 -0
  70. package/{dist/react-table.production.min.js → build/umd/index.production.js} +11 -1
  71. package/build/umd/index.production.js.map +1 -0
  72. package/package.json +9 -94
  73. package/src/features/{withColumnResizing.ts → withColumnResizing.oldts} +0 -0
  74. package/src/features/{withPagination.ts → withPagination.oldts} +0 -0
  75. package/src/features/{withRowSelection.ts → withRowSelection.oldts} +0 -0
  76. package/dist/react-table.development.js.map +0 -1
  77. package/dist/react-table.production.min.js.map +0 -1
  78. package/lib/index.js +0 -65
  79. package/src/features/notest/useAbsoluteLayout.test.js +0 -152
  80. package/src/features/notest/useBlockLayout.test.js +0 -158
  81. package/src/features/notest/useColumnOrder.test.js +0 -186
  82. package/src/features/notest/useExpanded.test.js +0 -125
  83. package/src/features/notest/useFilters.test.js +0 -393
  84. package/src/features/notest/useFiltersAndRowSelect.test.js +0 -256
  85. package/src/features/notest/useFlexLayout.test.js +0 -152
  86. package/src/features/notest/useGroupBy.test.js +0 -259
  87. package/src/features/notest/usePagination.test.js +0 -231
  88. package/src/features/notest/useResizeColumns.test.js +0 -229
  89. package/src/features/notest/useRowSelect.test.js +0 -250
  90. package/src/features/notest/useRowState.test.js +0 -178
  91. package/src/features/tests/Visibility.test.tsx +0 -225
  92. package/src/features/tests/__snapshots__/Visibility.test.tsx.snap +0 -390
  93. package/src/features/tests/withSorting.notest.tsx +0 -341
  94. package/src/test-utils/makeTestData.ts +0 -41
  95. package/src/tests/__snapshots__/core.test.tsx.snap +0 -148
  96. package/src/tests/core.test.tsx +0 -241
@@ -0,0 +1,703 @@
1
+ {
2
+ "version": 2,
3
+ "tree": {
4
+ "name": "root",
5
+ "children": [
6
+ {
7
+ "name": "index.production.js",
8
+ "children": [
9
+ {
10
+ "name": "packages/react-table/src",
11
+ "children": [
12
+ {
13
+ "name": "utils",
14
+ "children": [
15
+ {
16
+ "uid": "22aa-45",
17
+ "name": "columnFilterRowsFn.ts"
18
+ },
19
+ {
20
+ "uid": "22aa-47",
21
+ "name": "globalFilterRowsFn.ts"
22
+ },
23
+ {
24
+ "uid": "22aa-49",
25
+ "name": "sortRowsFn.ts"
26
+ },
27
+ {
28
+ "uid": "22aa-55",
29
+ "name": "groupRowsFn.ts"
30
+ },
31
+ {
32
+ "uid": "22aa-57",
33
+ "name": "expandRowsFn.ts"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "uid": "22aa-53",
39
+ "name": "utils.tsx"
40
+ },
41
+ {
42
+ "name": "features",
43
+ "children": [
44
+ {
45
+ "uid": "22aa-59",
46
+ "name": "Visibility.ts"
47
+ },
48
+ {
49
+ "uid": "22aa-63",
50
+ "name": "Grouping.ts"
51
+ },
52
+ {
53
+ "uid": "22aa-65",
54
+ "name": "Ordering.ts"
55
+ },
56
+ {
57
+ "uid": "22aa-67",
58
+ "name": "Pinning.ts"
59
+ },
60
+ {
61
+ "uid": "22aa-69",
62
+ "name": "Headers.ts"
63
+ },
64
+ {
65
+ "uid": "22aa-73",
66
+ "name": "Filters.ts"
67
+ },
68
+ {
69
+ "uid": "22aa-77",
70
+ "name": "Sorting.ts"
71
+ },
72
+ {
73
+ "uid": "22aa-79",
74
+ "name": "Expanding.ts"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "uid": "22aa-61",
80
+ "name": "aggregationTypes.ts"
81
+ },
82
+ {
83
+ "uid": "22aa-71",
84
+ "name": "filterTypes.ts"
85
+ },
86
+ {
87
+ "uid": "22aa-75",
88
+ "name": "sortTypes.ts"
89
+ },
90
+ {
91
+ "uid": "22aa-81",
92
+ "name": "core.tsx"
93
+ },
94
+ {
95
+ "uid": "22aa-83",
96
+ "name": "createTable.tsx"
97
+ },
98
+ {
99
+ "uid": "22aa-85",
100
+ "name": "index.tsx"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "uid": "22aa-51",
106
+ "name": "\u0000rollupPluginBabelHelpers.js"
107
+ }
108
+ ]
109
+ }
110
+ ],
111
+ "isRoot": true
112
+ },
113
+ "nodeParts": {
114
+ "22aa-45": {
115
+ "renderedLength": 3156,
116
+ "gzipLength": 860,
117
+ "brotliLength": 0,
118
+ "mainUid": "22aa-44"
119
+ },
120
+ "22aa-47": {
121
+ "renderedLength": 2523,
122
+ "gzipLength": 714,
123
+ "brotliLength": 0,
124
+ "mainUid": "22aa-46"
125
+ },
126
+ "22aa-49": {
127
+ "renderedLength": 2416,
128
+ "gzipLength": 811,
129
+ "brotliLength": 0,
130
+ "mainUid": "22aa-48"
131
+ },
132
+ "22aa-51": {
133
+ "renderedLength": 2695,
134
+ "gzipLength": 1065,
135
+ "brotliLength": 0,
136
+ "mainUid": "22aa-50"
137
+ },
138
+ "22aa-53": {
139
+ "renderedLength": 3913,
140
+ "gzipLength": 1413,
141
+ "brotliLength": 0,
142
+ "mainUid": "22aa-52"
143
+ },
144
+ "22aa-55": {
145
+ "renderedLength": 4797,
146
+ "gzipLength": 1351,
147
+ "brotliLength": 0,
148
+ "mainUid": "22aa-54"
149
+ },
150
+ "22aa-57": {
151
+ "renderedLength": 631,
152
+ "gzipLength": 278,
153
+ "brotliLength": 0,
154
+ "mainUid": "22aa-56"
155
+ },
156
+ "22aa-59": {
157
+ "renderedLength": 5559,
158
+ "gzipLength": 1139,
159
+ "brotliLength": 0,
160
+ "mainUid": "22aa-58"
161
+ },
162
+ "22aa-61": {
163
+ "renderedLength": 2520,
164
+ "gzipLength": 755,
165
+ "brotliLength": 0,
166
+ "mainUid": "22aa-60"
167
+ },
168
+ "22aa-63": {
169
+ "renderedLength": 7455,
170
+ "gzipLength": 1615,
171
+ "brotliLength": 0,
172
+ "mainUid": "22aa-62"
173
+ },
174
+ "22aa-65": {
175
+ "renderedLength": 2381,
176
+ "gzipLength": 745,
177
+ "brotliLength": 0,
178
+ "mainUid": "22aa-64"
179
+ },
180
+ "22aa-67": {
181
+ "renderedLength": 5325,
182
+ "gzipLength": 1040,
183
+ "brotliLength": 0,
184
+ "mainUid": "22aa-66"
185
+ },
186
+ "22aa-69": {
187
+ "renderedLength": 17919,
188
+ "gzipLength": 2898,
189
+ "brotliLength": 0,
190
+ "mainUid": "22aa-68"
191
+ },
192
+ "22aa-71": {
193
+ "renderedLength": 4437,
194
+ "gzipLength": 786,
195
+ "brotliLength": 0,
196
+ "mainUid": "22aa-70"
197
+ },
198
+ "22aa-73": {
199
+ "renderedLength": 15814,
200
+ "gzipLength": 2768,
201
+ "brotliLength": 0,
202
+ "mainUid": "22aa-72"
203
+ },
204
+ "22aa-75": {
205
+ "renderedLength": 2752,
206
+ "gzipLength": 846,
207
+ "brotliLength": 0,
208
+ "mainUid": "22aa-74"
209
+ },
210
+ "22aa-77": {
211
+ "renderedLength": 9830,
212
+ "gzipLength": 2116,
213
+ "brotliLength": 0,
214
+ "mainUid": "22aa-76"
215
+ },
216
+ "22aa-79": {
217
+ "renderedLength": 7502,
218
+ "gzipLength": 1624,
219
+ "brotliLength": 0,
220
+ "mainUid": "22aa-78"
221
+ },
222
+ "22aa-81": {
223
+ "renderedLength": 15063,
224
+ "gzipLength": 3151,
225
+ "brotliLength": 0,
226
+ "mainUid": "22aa-80"
227
+ },
228
+ "22aa-83": {
229
+ "renderedLength": 1694,
230
+ "gzipLength": 487,
231
+ "brotliLength": 0,
232
+ "mainUid": "22aa-82"
233
+ },
234
+ "22aa-85": {
235
+ "renderedLength": 0,
236
+ "gzipLength": 0,
237
+ "brotliLength": 0,
238
+ "mainUid": "22aa-84"
239
+ }
240
+ },
241
+ "nodeMetas": {
242
+ "22aa-44": {
243
+ "id": "/packages/react-table/src/utils/columnFilterRowsFn.ts",
244
+ "moduleParts": {
245
+ "index.production.js": "22aa-45"
246
+ },
247
+ "imported": [],
248
+ "importedBy": [
249
+ {
250
+ "uid": "22aa-84"
251
+ }
252
+ ]
253
+ },
254
+ "22aa-46": {
255
+ "id": "/packages/react-table/src/utils/globalFilterRowsFn.ts",
256
+ "moduleParts": {
257
+ "index.production.js": "22aa-47"
258
+ },
259
+ "imported": [],
260
+ "importedBy": [
261
+ {
262
+ "uid": "22aa-84"
263
+ }
264
+ ]
265
+ },
266
+ "22aa-48": {
267
+ "id": "/packages/react-table/src/utils/sortRowsFn.ts",
268
+ "moduleParts": {
269
+ "index.production.js": "22aa-49"
270
+ },
271
+ "imported": [],
272
+ "importedBy": [
273
+ {
274
+ "uid": "22aa-84"
275
+ }
276
+ ]
277
+ },
278
+ "22aa-50": {
279
+ "id": "\u0000rollupPluginBabelHelpers.js",
280
+ "moduleParts": {
281
+ "index.production.js": "22aa-51"
282
+ },
283
+ "imported": [],
284
+ "importedBy": [
285
+ {
286
+ "uid": "22aa-82"
287
+ },
288
+ {
289
+ "uid": "22aa-52"
290
+ },
291
+ {
292
+ "uid": "22aa-80"
293
+ },
294
+ {
295
+ "uid": "22aa-58"
296
+ },
297
+ {
298
+ "uid": "22aa-76"
299
+ },
300
+ {
301
+ "uid": "22aa-78"
302
+ },
303
+ {
304
+ "uid": "22aa-60"
305
+ }
306
+ ]
307
+ },
308
+ "22aa-52": {
309
+ "id": "/packages/react-table/src/utils.tsx",
310
+ "moduleParts": {
311
+ "index.production.js": "22aa-53"
312
+ },
313
+ "imported": [
314
+ {
315
+ "uid": "22aa-50"
316
+ },
317
+ {
318
+ "uid": "22aa-87"
319
+ }
320
+ ],
321
+ "importedBy": [
322
+ {
323
+ "uid": "22aa-54"
324
+ },
325
+ {
326
+ "uid": "22aa-80"
327
+ },
328
+ {
329
+ "uid": "22aa-58"
330
+ },
331
+ {
332
+ "uid": "22aa-64"
333
+ },
334
+ {
335
+ "uid": "22aa-66"
336
+ },
337
+ {
338
+ "uid": "22aa-68"
339
+ },
340
+ {
341
+ "uid": "22aa-72"
342
+ },
343
+ {
344
+ "uid": "22aa-76"
345
+ },
346
+ {
347
+ "uid": "22aa-62"
348
+ },
349
+ {
350
+ "uid": "22aa-78"
351
+ }
352
+ ]
353
+ },
354
+ "22aa-54": {
355
+ "id": "/packages/react-table/src/utils/groupRowsFn.ts",
356
+ "moduleParts": {
357
+ "index.production.js": "22aa-55"
358
+ },
359
+ "imported": [
360
+ {
361
+ "uid": "22aa-52"
362
+ }
363
+ ],
364
+ "importedBy": [
365
+ {
366
+ "uid": "22aa-84"
367
+ }
368
+ ]
369
+ },
370
+ "22aa-56": {
371
+ "id": "/packages/react-table/src/utils/expandRowsFn.ts",
372
+ "moduleParts": {
373
+ "index.production.js": "22aa-57"
374
+ },
375
+ "imported": [],
376
+ "importedBy": [
377
+ {
378
+ "uid": "22aa-84"
379
+ }
380
+ ]
381
+ },
382
+ "22aa-58": {
383
+ "id": "/packages/react-table/src/features/Visibility.ts",
384
+ "moduleParts": {
385
+ "index.production.js": "22aa-59"
386
+ },
387
+ "imported": [
388
+ {
389
+ "uid": "22aa-50"
390
+ },
391
+ {
392
+ "uid": "22aa-52"
393
+ }
394
+ ],
395
+ "importedBy": [
396
+ {
397
+ "uid": "22aa-80"
398
+ }
399
+ ]
400
+ },
401
+ "22aa-60": {
402
+ "id": "/packages/react-table/src/aggregationTypes.ts",
403
+ "moduleParts": {
404
+ "index.production.js": "22aa-61"
405
+ },
406
+ "imported": [
407
+ {
408
+ "uid": "22aa-50"
409
+ }
410
+ ],
411
+ "importedBy": [
412
+ {
413
+ "uid": "22aa-62"
414
+ }
415
+ ]
416
+ },
417
+ "22aa-62": {
418
+ "id": "/packages/react-table/src/features/Grouping.ts",
419
+ "moduleParts": {
420
+ "index.production.js": "22aa-63"
421
+ },
422
+ "imported": [
423
+ {
424
+ "uid": "22aa-60"
425
+ },
426
+ {
427
+ "uid": "22aa-52"
428
+ }
429
+ ],
430
+ "importedBy": [
431
+ {
432
+ "uid": "22aa-80"
433
+ },
434
+ {
435
+ "uid": "22aa-64"
436
+ }
437
+ ]
438
+ },
439
+ "22aa-64": {
440
+ "id": "/packages/react-table/src/features/Ordering.ts",
441
+ "moduleParts": {
442
+ "index.production.js": "22aa-65"
443
+ },
444
+ "imported": [
445
+ {
446
+ "uid": "22aa-52"
447
+ },
448
+ {
449
+ "uid": "22aa-62"
450
+ }
451
+ ],
452
+ "importedBy": [
453
+ {
454
+ "uid": "22aa-80"
455
+ }
456
+ ]
457
+ },
458
+ "22aa-66": {
459
+ "id": "/packages/react-table/src/features/Pinning.ts",
460
+ "moduleParts": {
461
+ "index.production.js": "22aa-67"
462
+ },
463
+ "imported": [
464
+ {
465
+ "uid": "22aa-52"
466
+ }
467
+ ],
468
+ "importedBy": [
469
+ {
470
+ "uid": "22aa-80"
471
+ }
472
+ ]
473
+ },
474
+ "22aa-68": {
475
+ "id": "/packages/react-table/src/features/Headers.ts",
476
+ "moduleParts": {
477
+ "index.production.js": "22aa-69"
478
+ },
479
+ "imported": [
480
+ {
481
+ "uid": "22aa-52"
482
+ }
483
+ ],
484
+ "importedBy": [
485
+ {
486
+ "uid": "22aa-80"
487
+ }
488
+ ]
489
+ },
490
+ "22aa-70": {
491
+ "id": "/packages/react-table/src/filterTypes.ts",
492
+ "moduleParts": {
493
+ "index.production.js": "22aa-71"
494
+ },
495
+ "imported": [],
496
+ "importedBy": [
497
+ {
498
+ "uid": "22aa-72"
499
+ }
500
+ ]
501
+ },
502
+ "22aa-72": {
503
+ "id": "/packages/react-table/src/features/Filters.ts",
504
+ "moduleParts": {
505
+ "index.production.js": "22aa-73"
506
+ },
507
+ "imported": [
508
+ {
509
+ "uid": "22aa-70"
510
+ },
511
+ {
512
+ "uid": "22aa-52"
513
+ }
514
+ ],
515
+ "importedBy": [
516
+ {
517
+ "uid": "22aa-80"
518
+ }
519
+ ]
520
+ },
521
+ "22aa-74": {
522
+ "id": "/packages/react-table/src/sortTypes.ts",
523
+ "moduleParts": {
524
+ "index.production.js": "22aa-75"
525
+ },
526
+ "imported": [],
527
+ "importedBy": [
528
+ {
529
+ "uid": "22aa-76"
530
+ }
531
+ ]
532
+ },
533
+ "22aa-76": {
534
+ "id": "/packages/react-table/src/features/Sorting.ts",
535
+ "moduleParts": {
536
+ "index.production.js": "22aa-77"
537
+ },
538
+ "imported": [
539
+ {
540
+ "uid": "22aa-50"
541
+ },
542
+ {
543
+ "uid": "22aa-74"
544
+ },
545
+ {
546
+ "uid": "22aa-52"
547
+ }
548
+ ],
549
+ "importedBy": [
550
+ {
551
+ "uid": "22aa-80"
552
+ }
553
+ ]
554
+ },
555
+ "22aa-78": {
556
+ "id": "/packages/react-table/src/features/Expanding.ts",
557
+ "moduleParts": {
558
+ "index.production.js": "22aa-79"
559
+ },
560
+ "imported": [
561
+ {
562
+ "uid": "22aa-50"
563
+ },
564
+ {
565
+ "uid": "22aa-52"
566
+ }
567
+ ],
568
+ "importedBy": [
569
+ {
570
+ "uid": "22aa-80"
571
+ }
572
+ ]
573
+ },
574
+ "22aa-80": {
575
+ "id": "/packages/react-table/src/core.tsx",
576
+ "moduleParts": {
577
+ "index.production.js": "22aa-81"
578
+ },
579
+ "imported": [
580
+ {
581
+ "uid": "22aa-50"
582
+ },
583
+ {
584
+ "uid": "22aa-52"
585
+ },
586
+ {
587
+ "uid": "22aa-58"
588
+ },
589
+ {
590
+ "uid": "22aa-64"
591
+ },
592
+ {
593
+ "uid": "22aa-66"
594
+ },
595
+ {
596
+ "uid": "22aa-68"
597
+ },
598
+ {
599
+ "uid": "22aa-72"
600
+ },
601
+ {
602
+ "uid": "22aa-76"
603
+ },
604
+ {
605
+ "uid": "22aa-62"
606
+ },
607
+ {
608
+ "uid": "22aa-78"
609
+ }
610
+ ],
611
+ "importedBy": [
612
+ {
613
+ "uid": "22aa-82"
614
+ }
615
+ ]
616
+ },
617
+ "22aa-82": {
618
+ "id": "/packages/react-table/src/createTable.tsx",
619
+ "moduleParts": {
620
+ "index.production.js": "22aa-83"
621
+ },
622
+ "imported": [
623
+ {
624
+ "uid": "22aa-50"
625
+ },
626
+ {
627
+ "uid": "22aa-87"
628
+ },
629
+ {
630
+ "uid": "22aa-80"
631
+ }
632
+ ],
633
+ "importedBy": [
634
+ {
635
+ "uid": "22aa-84"
636
+ }
637
+ ]
638
+ },
639
+ "22aa-84": {
640
+ "id": "/packages/react-table/src/index.tsx",
641
+ "moduleParts": {
642
+ "index.production.js": "22aa-85"
643
+ },
644
+ "imported": [
645
+ {
646
+ "uid": "22aa-86"
647
+ },
648
+ {
649
+ "uid": "22aa-44"
650
+ },
651
+ {
652
+ "uid": "22aa-46"
653
+ },
654
+ {
655
+ "uid": "22aa-48"
656
+ },
657
+ {
658
+ "uid": "22aa-54"
659
+ },
660
+ {
661
+ "uid": "22aa-56"
662
+ },
663
+ {
664
+ "uid": "22aa-82"
665
+ }
666
+ ],
667
+ "importedBy": [],
668
+ "isEntry": true
669
+ },
670
+ "22aa-86": {
671
+ "id": "/packages/react-table/src/types.ts",
672
+ "moduleParts": {},
673
+ "imported": [],
674
+ "importedBy": [
675
+ {
676
+ "uid": "22aa-84"
677
+ }
678
+ ]
679
+ },
680
+ "22aa-87": {
681
+ "id": "react",
682
+ "moduleParts": {},
683
+ "imported": [],
684
+ "importedBy": [
685
+ {
686
+ "uid": "22aa-82"
687
+ },
688
+ {
689
+ "uid": "22aa-52"
690
+ }
691
+ ],
692
+ "isExternal": true
693
+ }
694
+ },
695
+ "env": {
696
+ "rollup": "2.66.0"
697
+ },
698
+ "options": {
699
+ "gzip": true,
700
+ "brotli": false,
701
+ "sourcemap": false
702
+ }
703
+ }
@@ -0,0 +1,22 @@
1
+ export declare const aggregationTypes: {
2
+ sum: typeof sum;
3
+ min: typeof min;
4
+ max: typeof max;
5
+ extent: typeof extent;
6
+ mean: typeof mean;
7
+ median: typeof median;
8
+ unique: typeof unique;
9
+ uniqueCount: typeof uniqueCount;
10
+ count: typeof count;
11
+ };
12
+ export declare type BuiltInAggregationType = keyof typeof aggregationTypes;
13
+ declare function sum(_leafValues: unknown[], childValues: unknown[]): number;
14
+ declare function min(_leafValues: unknown[], childValues: unknown[]): number | undefined;
15
+ declare function max(_leafValues: unknown[], childValues: unknown[]): number | undefined;
16
+ declare function extent(_leafValues: unknown[], childValues: unknown[]): (number | undefined)[];
17
+ declare function mean(leafValues: unknown[]): number | undefined;
18
+ declare function median(values: unknown[]): number | undefined;
19
+ declare function unique<T>(values: T[]): T[];
20
+ declare function uniqueCount(values: unknown[]): number;
21
+ declare function count(values: unknown[]): number;
22
+ export {};