@tanstack/table-core 9.0.0-alpha.41 → 9.0.0-alpha.42

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 (57) hide show
  1. package/dist/core/coreFeatures.cjs.map +1 -1
  2. package/dist/core/coreFeatures.d.cts +2 -1
  3. package/dist/core/coreFeatures.d.ts +2 -1
  4. package/dist/core/coreFeatures.js.map +1 -1
  5. package/dist/core/reactivity/constructReactivityBindings.cjs +19 -0
  6. package/dist/core/reactivity/constructReactivityBindings.cjs.map +1 -0
  7. package/dist/core/reactivity/constructReactivityBindings.d.cts +7 -0
  8. package/dist/core/reactivity/constructReactivityBindings.d.ts +7 -0
  9. package/dist/core/reactivity/constructReactivityBindings.js +19 -0
  10. package/dist/core/reactivity/constructReactivityBindings.js.map +1 -0
  11. package/dist/core/reactivity/coreReactivityFeature.types.d.cts +37 -0
  12. package/dist/core/reactivity/coreReactivityFeature.types.d.ts +37 -0
  13. package/dist/core/reactivity/coreReactivityFeature.utils.cjs +19 -0
  14. package/dist/core/reactivity/coreReactivityFeature.utils.cjs.map +1 -0
  15. package/dist/core/reactivity/coreReactivityFeature.utils.d.cts +14 -0
  16. package/dist/core/reactivity/coreReactivityFeature.utils.d.ts +14 -0
  17. package/dist/core/reactivity/coreReactivityFeature.utils.js +18 -0
  18. package/dist/core/reactivity/coreReactivityFeature.utils.js.map +1 -0
  19. package/dist/core/table/constructTable.cjs +18 -15
  20. package/dist/core/table/constructTable.cjs.map +1 -1
  21. package/dist/core/table/constructTable.js +18 -15
  22. package/dist/core/table/constructTable.js.map +1 -1
  23. package/dist/core/table/coreTablesFeature.types.d.cts +29 -24
  24. package/dist/core/table/coreTablesFeature.types.d.ts +29 -24
  25. package/dist/core/table/coreTablesFeature.utils.cjs +2 -3
  26. package/dist/core/table/coreTablesFeature.utils.cjs.map +1 -1
  27. package/dist/core/table/coreTablesFeature.utils.js +2 -3
  28. package/dist/core/table/coreTablesFeature.utils.js.map +1 -1
  29. package/dist/index.cjs +0 -2
  30. package/dist/index.d.cts +1 -2
  31. package/dist/index.d.ts +1 -2
  32. package/dist/index.js +1 -2
  33. package/dist/reactivity.cjs +6 -0
  34. package/dist/reactivity.d.cts +4 -0
  35. package/dist/reactivity.d.ts +4 -0
  36. package/dist/reactivity.js +4 -0
  37. package/dist/types/TableFeatures.d.cts +1 -1
  38. package/dist/types/TableFeatures.d.ts +1 -1
  39. package/package.json +5 -1
  40. package/src/core/coreFeatures.ts +2 -0
  41. package/src/core/reactivity/constructReactivityBindings.ts +19 -0
  42. package/src/core/reactivity/coreReactivityFeature.types.ts +40 -0
  43. package/src/core/reactivity/coreReactivityFeature.utils.ts +29 -0
  44. package/src/core/table/constructTable.ts +44 -28
  45. package/src/core/table/coreTablesFeature.types.ts +29 -24
  46. package/src/core/table/coreTablesFeature.utils.ts +2 -3
  47. package/src/index.ts +0 -3
  48. package/src/reactivity.ts +3 -0
  49. package/src/types/Table.ts +1 -1
  50. package/src/types/TableFeatures.ts +7 -7
  51. package/dist/features/table-reactivity/tableReactivityFeature.cjs +0 -46
  52. package/dist/features/table-reactivity/tableReactivityFeature.cjs.map +0 -1
  53. package/dist/features/table-reactivity/tableReactivityFeature.d.cts +0 -12
  54. package/dist/features/table-reactivity/tableReactivityFeature.d.ts +0 -12
  55. package/dist/features/table-reactivity/tableReactivityFeature.js +0 -45
  56. package/dist/features/table-reactivity/tableReactivityFeature.js.map +0 -1
  57. package/src/features/table-reactivity/tableReactivityFeature.ts +0 -92
@@ -1,11 +1,12 @@
1
1
  import { RowData, Updater } from "../../types/type-utils.js";
2
+ import { TableReactivityBindings } from "../reactivity/coreReactivityFeature.types.js";
2
3
  import { CoreFeatures } from "../coreFeatures.js";
3
4
  import { RowModelFns } from "../../types/RowModelFns.js";
4
5
  import { CachedRowModels, CreateRowModels_All } from "../../types/RowModel.js";
5
6
  import { TableState, TableState_All } from "../../types/TableState.js";
6
7
  import { TableOptions } from "../../types/TableOptions.js";
7
8
  import { TableFeatures } from "../../types/TableFeatures.js";
8
- import { Atom, ReadonlyAtom, ReadonlyStore, Store } from "@tanstack/store";
9
+ import { Atom, ReadonlyAtom, ReadonlyStore } from "@tanstack/store";
9
10
 
10
11
  //#region src/core/table/coreTablesFeature.types.d.ts
11
12
  interface TableMeta<TFeatures extends TableFeatures, TData extends RowData> {}
@@ -45,11 +46,11 @@ interface TableOptions_Table<TFeatures extends TableFeatures, TData extends RowD
45
46
  /**
46
47
  * The features that you want to enable for the table.
47
48
  */
48
- _features: TFeatures;
49
+ readonly _features: TFeatures;
49
50
  /**
50
51
  * The row model options that you want to enable for the table.
51
52
  */
52
- _rowModels?: CreateRowModels_All<TFeatures, TData>;
53
+ readonly _rowModels?: CreateRowModels_All<TFeatures, TData>;
53
54
  /**
54
55
  * Optionally, provide your own external writable atoms for individual state slices.
55
56
  * When an atom is provided for a given slice, it takes precedence over `options.state[key]`
@@ -57,38 +58,38 @@ interface TableOptions_Table<TFeatures extends TableFeatures, TData extends RowD
57
58
  * still routed through the internal base atom; consumers are responsible for
58
59
  * mirroring changes back to their external atom via the corresponding `onXChange` callback.
59
60
  */
60
- atoms?: ExternalAtoms<TFeatures>;
61
+ readonly atoms?: ExternalAtoms<TFeatures>;
61
62
  /**
62
63
  * Set this option to override any of the `autoReset...` feature options.
63
64
  */
64
- autoResetAll?: boolean;
65
+ readonly autoResetAll?: boolean;
65
66
  /**
66
67
  * The data for the table to display. When the `data` option changes reference, the table will reprocess the data.
67
68
  */
68
- data: ReadonlyArray<TData>;
69
+ readonly data: ReadonlyArray<TData>;
69
70
  /**
70
71
  * Use this option to optionally pass initial state to the table. This state will be used when resetting various table states either automatically by the table (eg. `options.autoResetPageIndex`) or via functions like `table.resetRowSelection()`. Most reset function allow you optionally pass a flag to reset to a blank/default state instead of the initial state.
71
72
  * Table state will not be reset when this object changes, which also means that the initial state object does not need to be stable.
72
73
  */
73
- initialState?: Partial<TableState<TFeatures>>;
74
+ readonly initialState?: Partial<TableState<TFeatures>>;
74
75
  /**
75
76
  * This option is used to optionally implement the merging of table options.
76
77
  */
77
- mergeOptions?: (defaultOptions: TableOptions<TFeatures, TData>, options: Partial<TableOptions<TFeatures, TData>>) => TableOptions<TFeatures, TData>;
78
+ readonly mergeOptions?: (defaultOptions: TableOptions<TFeatures, TData>, options: Partial<TableOptions<TFeatures, TData>>) => TableOptions<TFeatures, TData>;
78
79
  /**
79
80
  * You can pass any object to `options.meta` and access it anywhere the `table` is available via `table.options.meta`.
80
81
  */
81
- meta?: TableMeta<TFeatures, TData>;
82
+ readonly meta?: TableMeta<TFeatures, TData>;
82
83
  /**
83
84
  * Pass in individual self-managed state to the table.
84
85
  */
85
- state?: Partial<TableState<TFeatures>>;
86
+ readonly state?: Partial<TableState<TFeatures>>;
86
87
  }
87
88
  interface Table_CoreProperties<TFeatures extends TableFeatures, TData extends RowData> {
88
89
  /**
89
- * The features that are enabled for the table.
90
+ * Table reactivity bindings for interacting with TanStack Store.
90
91
  */
91
- _features: Partial<CoreFeatures> & TFeatures;
92
+ readonly _reactivity: TableReactivityBindings;
92
93
  /**
93
94
  * Prototype cache for Cell objects - shared by all cells in this table
94
95
  */
@@ -97,6 +98,10 @@ interface Table_CoreProperties<TFeatures extends TableFeatures, TData extends Ro
97
98
  * Prototype cache for Column objects - shared by all columns in this table
98
99
  */
99
100
  _columnPrototype?: object;
101
+ /**
102
+ * The features that are enabled for the table.
103
+ */
104
+ readonly _features: Partial<CoreFeatures> & TFeatures;
100
105
  /**
101
106
  * Prototype cache for Header objects - shared by all headers in this table
102
107
  */
@@ -104,43 +109,43 @@ interface Table_CoreProperties<TFeatures extends TableFeatures, TData extends Ro
104
109
  /**
105
110
  * The row model processing functions that are used to process the data by features.
106
111
  */
107
- _rowModelFns: RowModelFns<TFeatures, TData>;
112
+ readonly _rowModelFns: RowModelFns<TFeatures, TData>;
108
113
  /**
109
114
  * The row models that are enabled for the table.
110
115
  */
111
- _rowModels: CachedRowModels<TFeatures, TData>;
116
+ readonly _rowModels: CachedRowModels<TFeatures, TData>;
112
117
  /**
113
118
  * Prototype cache for Row objects - shared by all rows in this table
114
119
  */
115
120
  _rowPrototype?: object;
116
- /**
117
- * The internal writable atoms for each `TableState` slice. This is the library's
118
- * single write surface — all state mutations from features land here.
119
- */
120
- baseAtoms: BaseAtoms<TFeatures>;
121
121
  /**
122
122
  * The readonly derived atoms for each `TableState` slice. Each derives from
123
123
  * its corresponding `baseAtom` plus, optionally, a per-slice external atom or
124
124
  * external state value (precedence: external atom > external state > base atom).
125
125
  */
126
- atoms: Atoms<TFeatures>;
126
+ readonly atoms: Atoms<TFeatures>;
127
127
  /**
128
- * The base store for the table options.
128
+ * The internal writable atoms for each `TableState` slice. This is the library's
129
+ * single write surface — all state mutations from features land here.
129
130
  */
130
- optionsStore: Store<TableOptions<TFeatures, TData>>;
131
+ readonly baseAtoms: BaseAtoms<TFeatures>;
131
132
  /**
132
133
  * This is the resolved initial state of the table.
133
134
  */
134
- initialState: TableState<TFeatures>;
135
+ readonly initialState: TableState<TFeatures>;
135
136
  /**
136
137
  * A read-only reference to the table's current options.
137
138
  */
138
139
  readonly options: TableOptions<TFeatures, TData>;
140
+ /**
141
+ * The base store for the table options.
142
+ */
143
+ readonly optionsStore: Atom<TableOptions<TFeatures, TData>>;
139
144
  /**
140
145
  * The readonly flat store for the table state. Derives from `table.atoms`
141
146
  * only; never reads external state directly.
142
147
  */
143
- store: ReadonlyStore<TableState<TFeatures>>;
148
+ readonly store: ReadonlyStore<TableState<TFeatures>>;
144
149
  }
145
150
  interface Table_Table<TFeatures extends TableFeatures, TData extends RowData> extends Table_CoreProperties<TFeatures, TData> {
146
151
  /**
@@ -1,10 +1,9 @@
1
1
  const require_utils = require('../../utils.cjs');
2
- let _tanstack_store = require("@tanstack/store");
3
2
 
4
3
  //#region src/core/table/coreTablesFeature.utils.ts
5
4
  function table_reset(table) {
6
5
  const snap = require_utils.cloneState(table.initialState);
7
- (0, _tanstack_store.batch)(() => {
6
+ table._reactivity.batch(() => {
8
7
  for (const key of Object.keys(snap)) table.baseAtoms[key].set(snap[key]);
9
8
  });
10
9
  }
@@ -17,7 +16,7 @@ function table_mergeOptions(table, newOptions) {
17
16
  }
18
17
  function table_setOptions(table, updater) {
19
18
  const mergedOptions = table_mergeOptions(table, require_utils.functionalUpdate(updater, table.options));
20
- table.optionsStore.setState(() => mergedOptions);
19
+ table.optionsStore.set(() => mergedOptions);
21
20
  }
22
21
 
23
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"coreTablesFeature.utils.cjs","names":["cloneState","functionalUpdate"],"sources":["../../../src/core/table/coreTablesFeature.utils.ts"],"sourcesContent":["import { batch } from '@tanstack/store'\nimport { cloneState, functionalUpdate } from '../../utils'\nimport type { RowData, Updater } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableOptions } from '../../types/TableOptions'\n\nexport function table_reset<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): void {\n const snap = cloneState(table.initialState)\n batch(() => {\n for (const key of Object.keys(snap) as Array<keyof typeof snap>) {\n ;(table.baseAtoms as any)[key].set(snap[key] as any)\n }\n })\n}\n\nexport function table_mergeOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n newOptions: TableOptions<TFeatures, TData>,\n) {\n if (table.options.mergeOptions) {\n return table.options.mergeOptions(table.options, newOptions)\n }\n\n return {\n ...table.options,\n ...newOptions,\n }\n}\n\nexport function table_setOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n updater: Updater<TableOptions<TFeatures, TData>>,\n): void {\n const newOptions = functionalUpdate(updater, table.options)\n const mergedOptions = table_mergeOptions(table, newOptions)\n table.optionsStore.setState(() => mergedOptions)\n}\n"],"mappings":";;;;AAOA,SAAgB,YAGd,OAA+C;CAC/C,MAAM,OAAOA,yBAAW,MAAM,aAAa;AAC3C,kCAAY;AACV,OAAK,MAAM,OAAO,OAAO,KAAK,KAAK,CAChC,CAAC,MAAM,UAAkB,KAAK,IAAI,KAAK,KAAY;GAEtD;;AAGJ,SAAgB,mBAId,OACA,YACA;AACA,KAAI,MAAM,QAAQ,aAChB,QAAO,MAAM,QAAQ,aAAa,MAAM,SAAS,WAAW;AAG9D,QAAO;EACL,GAAG,MAAM;EACT,GAAG;EACJ;;AAGH,SAAgB,iBAId,OACA,SACM;CAEN,MAAM,gBAAgB,mBAAmB,OADtBC,+BAAiB,SAAS,MAAM,QACO,CAAC;AAC3D,OAAM,aAAa,eAAe,cAAc"}
1
+ {"version":3,"file":"coreTablesFeature.utils.cjs","names":["cloneState","functionalUpdate"],"sources":["../../../src/core/table/coreTablesFeature.utils.ts"],"sourcesContent":["import { cloneState, functionalUpdate } from '../../utils'\nimport type { RowData, Updater } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableOptions } from '../../types/TableOptions'\n\nexport function table_reset<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): void {\n const snap = cloneState(table.initialState)\n table._reactivity.batch(() => {\n for (const key of Object.keys(snap) as Array<keyof typeof snap>) {\n ;(table.baseAtoms as any)[key].set(snap[key] as any)\n }\n })\n}\n\nexport function table_mergeOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n newOptions: TableOptions<TFeatures, TData>,\n) {\n if (table.options.mergeOptions) {\n return table.options.mergeOptions(table.options, newOptions)\n }\n\n return {\n ...table.options,\n ...newOptions,\n }\n}\n\nexport function table_setOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n updater: Updater<TableOptions<TFeatures, TData>>,\n): void {\n const newOptions = functionalUpdate(updater, table.options)\n const mergedOptions = table_mergeOptions(table, newOptions)\n table.optionsStore.set(() => mergedOptions)\n}\n"],"mappings":";;;AAMA,SAAgB,YAGd,OAA+C;CAC/C,MAAM,OAAOA,yBAAW,MAAM,aAAa;AAC3C,OAAM,YAAY,YAAY;AAC5B,OAAK,MAAM,OAAO,OAAO,KAAK,KAAK,CAChC,CAAC,MAAM,UAAkB,KAAK,IAAI,KAAK,KAAY;GAEtD;;AAGJ,SAAgB,mBAId,OACA,YACA;AACA,KAAI,MAAM,QAAQ,aAChB,QAAO,MAAM,QAAQ,aAAa,MAAM,SAAS,WAAW;AAG9D,QAAO;EACL,GAAG,MAAM;EACT,GAAG;EACJ;;AAGH,SAAgB,iBAId,OACA,SACM;CAEN,MAAM,gBAAgB,mBAAmB,OADtBC,+BAAiB,SAAS,MAAM,QACO,CAAC;AAC3D,OAAM,aAAa,UAAU,cAAc"}
@@ -1,10 +1,9 @@
1
1
  import { cloneState, functionalUpdate } from "../../utils.js";
2
- import { batch } from "@tanstack/store";
3
2
 
4
3
  //#region src/core/table/coreTablesFeature.utils.ts
5
4
  function table_reset(table) {
6
5
  const snap = cloneState(table.initialState);
7
- batch(() => {
6
+ table._reactivity.batch(() => {
8
7
  for (const key of Object.keys(snap)) table.baseAtoms[key].set(snap[key]);
9
8
  });
10
9
  }
@@ -17,7 +16,7 @@ function table_mergeOptions(table, newOptions) {
17
16
  }
18
17
  function table_setOptions(table, updater) {
19
18
  const mergedOptions = table_mergeOptions(table, functionalUpdate(updater, table.options));
20
- table.optionsStore.setState(() => mergedOptions);
19
+ table.optionsStore.set(() => mergedOptions);
21
20
  }
22
21
 
23
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"coreTablesFeature.utils.js","names":[],"sources":["../../../src/core/table/coreTablesFeature.utils.ts"],"sourcesContent":["import { batch } from '@tanstack/store'\nimport { cloneState, functionalUpdate } from '../../utils'\nimport type { RowData, Updater } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableOptions } from '../../types/TableOptions'\n\nexport function table_reset<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): void {\n const snap = cloneState(table.initialState)\n batch(() => {\n for (const key of Object.keys(snap) as Array<keyof typeof snap>) {\n ;(table.baseAtoms as any)[key].set(snap[key] as any)\n }\n })\n}\n\nexport function table_mergeOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n newOptions: TableOptions<TFeatures, TData>,\n) {\n if (table.options.mergeOptions) {\n return table.options.mergeOptions(table.options, newOptions)\n }\n\n return {\n ...table.options,\n ...newOptions,\n }\n}\n\nexport function table_setOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n updater: Updater<TableOptions<TFeatures, TData>>,\n): void {\n const newOptions = functionalUpdate(updater, table.options)\n const mergedOptions = table_mergeOptions(table, newOptions)\n table.optionsStore.setState(() => mergedOptions)\n}\n"],"mappings":";;;;AAOA,SAAgB,YAGd,OAA+C;CAC/C,MAAM,OAAO,WAAW,MAAM,aAAa;AAC3C,aAAY;AACV,OAAK,MAAM,OAAO,OAAO,KAAK,KAAK,CAChC,CAAC,MAAM,UAAkB,KAAK,IAAI,KAAK,KAAY;GAEtD;;AAGJ,SAAgB,mBAId,OACA,YACA;AACA,KAAI,MAAM,QAAQ,aAChB,QAAO,MAAM,QAAQ,aAAa,MAAM,SAAS,WAAW;AAG9D,QAAO;EACL,GAAG,MAAM;EACT,GAAG;EACJ;;AAGH,SAAgB,iBAId,OACA,SACM;CAEN,MAAM,gBAAgB,mBAAmB,OADtB,iBAAiB,SAAS,MAAM,QACO,CAAC;AAC3D,OAAM,aAAa,eAAe,cAAc"}
1
+ {"version":3,"file":"coreTablesFeature.utils.js","names":[],"sources":["../../../src/core/table/coreTablesFeature.utils.ts"],"sourcesContent":["import { cloneState, functionalUpdate } from '../../utils'\nimport type { RowData, Updater } from '../../types/type-utils'\nimport type { TableFeatures } from '../../types/TableFeatures'\nimport type { Table_Internal } from '../../types/Table'\nimport type { TableOptions } from '../../types/TableOptions'\n\nexport function table_reset<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(table: Table_Internal<TFeatures, TData>): void {\n const snap = cloneState(table.initialState)\n table._reactivity.batch(() => {\n for (const key of Object.keys(snap) as Array<keyof typeof snap>) {\n ;(table.baseAtoms as any)[key].set(snap[key] as any)\n }\n })\n}\n\nexport function table_mergeOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n newOptions: TableOptions<TFeatures, TData>,\n) {\n if (table.options.mergeOptions) {\n return table.options.mergeOptions(table.options, newOptions)\n }\n\n return {\n ...table.options,\n ...newOptions,\n }\n}\n\nexport function table_setOptions<\n TFeatures extends TableFeatures,\n TData extends RowData,\n>(\n table: Table_Internal<TFeatures, TData>,\n updater: Updater<TableOptions<TFeatures, TData>>,\n): void {\n const newOptions = functionalUpdate(updater, table.options)\n const mergedOptions = table_mergeOptions(table, newOptions)\n table.optionsStore.set(() => mergedOptions)\n}\n"],"mappings":";;;AAMA,SAAgB,YAGd,OAA+C;CAC/C,MAAM,OAAO,WAAW,MAAM,aAAa;AAC3C,OAAM,YAAY,YAAY;AAC5B,OAAK,MAAM,OAAO,OAAO,KAAK,KAAK,CAChC,CAAC,MAAM,UAAkB,KAAK,IAAI,KAAK,KAAY;GAEtD;;AAGJ,SAAgB,mBAId,OACA,YACA;AACA,KAAI,MAAM,QAAQ,aAChB,QAAO,MAAM,QAAQ,aAAa,MAAM,SAAS,WAAW;AAG9D,QAAO;EACL,GAAG,MAAM;EACT,GAAG;EACJ;;AAGH,SAAgB,iBAId,OACA,SACM;CAEN,MAAM,gBAAgB,mBAAmB,OADtB,iBAAiB,SAAS,MAAM,QACO,CAAC;AAC3D,OAAM,aAAa,UAAU,cAAc"}
package/dist/index.cjs CHANGED
@@ -35,7 +35,6 @@ const require_rowPinningFeature = require('./features/row-pinning/rowPinningFeat
35
35
  const require_rowSelectionFeature = require('./features/row-selection/rowSelectionFeature.cjs');
36
36
  const require_rowSortingFeature = require('./features/row-sorting/rowSortingFeature.cjs');
37
37
  const require_stockFeatures = require('./features/stockFeatures.cjs');
38
- const require_tableReactivityFeature = require('./features/table-reactivity/tableReactivityFeature.cjs');
39
38
  const require_createFacetedMinMaxValues = require('./features/column-faceting/createFacetedMinMaxValues.cjs');
40
39
  const require_createFacetedRowModel = require('./features/column-faceting/createFacetedRowModel.cjs');
41
40
  const require_createFacetedUniqueValues = require('./features/column-faceting/createFacetedUniqueValues.cjs');
@@ -87,7 +86,6 @@ exports.constructCoreRowsFeature = require_coreRowsFeature.constructCoreRowsFeat
87
86
  exports.constructCoreTablesFeature = require_coreTablesFeature.constructCoreTablesFeature;
88
87
  exports.constructGlobalFilteringFeature = require_globalFilteringFeature.constructGlobalFilteringFeature;
89
88
  exports.constructHeader = require_constructHeader.constructHeader;
90
- exports.constructReactivityFeature = require_tableReactivityFeature.constructReactivityFeature;
91
89
  exports.constructRow = require_constructRow.constructRow;
92
90
  exports.constructRowExpandingFeature = require_rowExpandingFeature.constructRowExpandingFeature;
93
91
  exports.constructRowPaginationFeature = require_rowPaginationFeature.constructRowPaginationFeature;
package/dist/index.d.cts CHANGED
@@ -67,7 +67,6 @@ import { constructHeader } from "./core/headers/constructHeader.cjs";
67
67
  import { constructRow } from "./core/rows/constructRow.cjs";
68
68
  import { createCoreRowModel } from "./core/row-models/createCoreRowModel.cjs";
69
69
  import { constructTable, getInitialTableState } from "./core/table/constructTable.cjs";
70
- import { TableReactivityFeatureConstructors, constructReactivityFeature } from "./features/table-reactivity/tableReactivityFeature.cjs";
71
70
  import { createFacetedMinMaxValues } from "./features/column-faceting/createFacetedMinMaxValues.cjs";
72
71
  import { createFacetedRowModel } from "./features/column-faceting/createFacetedRowModel.cjs";
73
72
  import { createFacetedUniqueValues } from "./features/column-faceting/createFacetedUniqueValues.cjs";
@@ -76,4 +75,4 @@ import { createGroupedRowModel } from "./features/column-grouping/createGroupedR
76
75
  import { createExpandedRowModel, expandRows } from "./features/row-expanding/createExpandedRowModel.cjs";
77
76
  import { createPaginatedRowModel } from "./features/row-pagination/createPaginatedRowModel.cjs";
78
77
  import { createSortedRowModel } from "./features/row-sorting/createSortedRowModel.cjs";
79
- export { $internalMemoFnMeta, API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationFn, AggregationFnOption, AggregationFns, AssignCellPrototype, AssignColumnPrototype, AssignHeaderPrototype, AssignRowPrototype, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Plugins, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_Plugins, Cell, CellContext, CellData, Cell_Cell, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_Plugins, Column, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_GlobalFiltering, ColumnDef_Plugins, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFacetingFeatureConstructors, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFilteringFeatureConstructors, ColumnFiltersState, ColumnGroupingFeatureConstructors, ColumnHelper, ColumnMeta, ColumnOrderDefaultOptions, ColumnOrderState, ColumnOrderingFeatureConstructors, ColumnPinningDefaultOptions, ColumnPinningFeatureConstructors, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnResizingFeatureConstructors, ColumnSizingDefaultOptions, ColumnSizingFeatureConstructors, ColumnSizingState, ColumnSort, ColumnVisibilityFeatureConstructors, ColumnVisibilityState, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_GlobalFiltering, Column_Internal, Column_Plugins, Column_RowSorting, ConstructTableAPIs, CoreCellsFeatureConstructors, CoreColumnsFeatureConstructors, CoreFeatures, CoreHeadersFeatureConstructors, CoreRowModelsFeatureConstructors, CoreRowsFeatureConstructors, CoreTablesFeatureConstructors, CreateRowModel_Core, CreateRowModel_Expanded, CreateRowModel_Faceted, CreateRowModel_Filtered, CreateRowModel_Grouped, CreateRowModel_Paginated, CreateRowModel_Plugins, CreateRowModel_Sorted, CreateRowModels, CreateRowModels_All, CreateRowModels_Plugins, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractFeatureTypes, FeatureConstructors, FilterFn, FilterFnOption, FilterFns, FilterMeta, GetDefaultColumnDef, GetDefaultStateSelector, GetDefaultTableOptions, GetInitialState, Getter, GlobalFilteringFeatureConstructors, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, HeaderGroup_Plugins, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_Header, Header_Plugins, IdIdentifier, IdentifiedColumnDef, InitRowInstanceData, MemoFnMeta, NoInfer, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedColumnFilter, Row, RowData, RowExpandingFeatureConstructors, RowModel, RowModelFns, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_ColumnGrouping, RowModelFns_Core, RowModelFns_Plugins, RowModelFns_RowSorting, RowPaginationFeatureConstructors, RowPinningDefaultOptions, RowPinningFeatureConstructors, RowPinningPosition, RowPinningState, RowSelectionFeatureConstructors, RowSelectionState, RowSortingFeatureConstructors, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_Plugins, Row_Row, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SortDirection, SortFn, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_All, TableOptions_Cell, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_GlobalFiltering, TableOptions_Plugins, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableReactivityFeatureConstructors, TableState, TableState_All, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_GlobalFiltering, TableState_Plugins, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_GlobalFiltering, Table_Headers, Table_Internal, Table_Plugins, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, TransformFilterValueFn, UnionToIntersection, Updater, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructReactivityFeature, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
78
+ export { $internalMemoFnMeta, API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationFn, AggregationFnOption, AggregationFns, AssignCellPrototype, AssignColumnPrototype, AssignHeaderPrototype, AssignRowPrototype, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Plugins, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_Plugins, Cell, CellContext, CellData, Cell_Cell, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_Plugins, Column, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_GlobalFiltering, ColumnDef_Plugins, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFacetingFeatureConstructors, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFilteringFeatureConstructors, ColumnFiltersState, ColumnGroupingFeatureConstructors, ColumnHelper, ColumnMeta, ColumnOrderDefaultOptions, ColumnOrderState, ColumnOrderingFeatureConstructors, ColumnPinningDefaultOptions, ColumnPinningFeatureConstructors, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnResizingFeatureConstructors, ColumnSizingDefaultOptions, ColumnSizingFeatureConstructors, ColumnSizingState, ColumnSort, ColumnVisibilityFeatureConstructors, ColumnVisibilityState, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_GlobalFiltering, Column_Internal, Column_Plugins, Column_RowSorting, ConstructTableAPIs, CoreCellsFeatureConstructors, CoreColumnsFeatureConstructors, CoreFeatures, CoreHeadersFeatureConstructors, CoreRowModelsFeatureConstructors, CoreRowsFeatureConstructors, CoreTablesFeatureConstructors, CreateRowModel_Core, CreateRowModel_Expanded, CreateRowModel_Faceted, CreateRowModel_Filtered, CreateRowModel_Grouped, CreateRowModel_Paginated, CreateRowModel_Plugins, CreateRowModel_Sorted, CreateRowModels, CreateRowModels_All, CreateRowModels_Plugins, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractFeatureTypes, FeatureConstructors, FilterFn, FilterFnOption, FilterFns, FilterMeta, GetDefaultColumnDef, GetDefaultStateSelector, GetDefaultTableOptions, GetInitialState, Getter, GlobalFilteringFeatureConstructors, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, HeaderGroup_Plugins, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_Header, Header_Plugins, IdIdentifier, IdentifiedColumnDef, InitRowInstanceData, MemoFnMeta, NoInfer, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedColumnFilter, Row, RowData, RowExpandingFeatureConstructors, RowModel, RowModelFns, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_ColumnGrouping, RowModelFns_Core, RowModelFns_Plugins, RowModelFns_RowSorting, RowPaginationFeatureConstructors, RowPinningDefaultOptions, RowPinningFeatureConstructors, RowPinningPosition, RowPinningState, RowSelectionFeatureConstructors, RowSelectionState, RowSortingFeatureConstructors, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_Plugins, Row_Row, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SortDirection, SortFn, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_All, TableOptions_Cell, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_GlobalFiltering, TableOptions_Plugins, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableState, TableState_All, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_GlobalFiltering, TableState_Plugins, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_GlobalFiltering, Table_Headers, Table_Internal, Table_Plugins, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, TransformFilterValueFn, UnionToIntersection, Updater, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
package/dist/index.d.ts CHANGED
@@ -67,7 +67,6 @@ import { constructHeader } from "./core/headers/constructHeader.js";
67
67
  import { constructRow } from "./core/rows/constructRow.js";
68
68
  import { createCoreRowModel } from "./core/row-models/createCoreRowModel.js";
69
69
  import { constructTable, getInitialTableState } from "./core/table/constructTable.js";
70
- import { TableReactivityFeatureConstructors, constructReactivityFeature } from "./features/table-reactivity/tableReactivityFeature.js";
71
70
  import { createFacetedMinMaxValues } from "./features/column-faceting/createFacetedMinMaxValues.js";
72
71
  import { createFacetedRowModel } from "./features/column-faceting/createFacetedRowModel.js";
73
72
  import { createFacetedUniqueValues } from "./features/column-faceting/createFacetedUniqueValues.js";
@@ -76,4 +75,4 @@ import { createGroupedRowModel } from "./features/column-grouping/createGroupedR
76
75
  import { createExpandedRowModel, expandRows } from "./features/row-expanding/createExpandedRowModel.js";
77
76
  import { createPaginatedRowModel } from "./features/row-pagination/createPaginatedRowModel.js";
78
77
  import { createSortedRowModel } from "./features/row-sorting/createSortedRowModel.js";
79
- export { $internalMemoFnMeta, API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationFn, AggregationFnOption, AggregationFns, AssignCellPrototype, AssignColumnPrototype, AssignHeaderPrototype, AssignRowPrototype, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Plugins, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_Plugins, Cell, CellContext, CellData, Cell_Cell, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_Plugins, Column, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_GlobalFiltering, ColumnDef_Plugins, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFacetingFeatureConstructors, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFilteringFeatureConstructors, ColumnFiltersState, ColumnGroupingFeatureConstructors, ColumnHelper, ColumnMeta, ColumnOrderDefaultOptions, ColumnOrderState, ColumnOrderingFeatureConstructors, ColumnPinningDefaultOptions, ColumnPinningFeatureConstructors, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnResizingFeatureConstructors, ColumnSizingDefaultOptions, ColumnSizingFeatureConstructors, ColumnSizingState, ColumnSort, ColumnVisibilityFeatureConstructors, ColumnVisibilityState, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_GlobalFiltering, Column_Internal, Column_Plugins, Column_RowSorting, ConstructTableAPIs, CoreCellsFeatureConstructors, CoreColumnsFeatureConstructors, CoreFeatures, CoreHeadersFeatureConstructors, CoreRowModelsFeatureConstructors, CoreRowsFeatureConstructors, CoreTablesFeatureConstructors, CreateRowModel_Core, CreateRowModel_Expanded, CreateRowModel_Faceted, CreateRowModel_Filtered, CreateRowModel_Grouped, CreateRowModel_Paginated, CreateRowModel_Plugins, CreateRowModel_Sorted, CreateRowModels, CreateRowModels_All, CreateRowModels_Plugins, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractFeatureTypes, FeatureConstructors, FilterFn, FilterFnOption, FilterFns, FilterMeta, GetDefaultColumnDef, GetDefaultStateSelector, GetDefaultTableOptions, GetInitialState, Getter, GlobalFilteringFeatureConstructors, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, HeaderGroup_Plugins, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_Header, Header_Plugins, IdIdentifier, IdentifiedColumnDef, InitRowInstanceData, MemoFnMeta, NoInfer, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedColumnFilter, Row, RowData, RowExpandingFeatureConstructors, RowModel, RowModelFns, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_ColumnGrouping, RowModelFns_Core, RowModelFns_Plugins, RowModelFns_RowSorting, RowPaginationFeatureConstructors, RowPinningDefaultOptions, RowPinningFeatureConstructors, RowPinningPosition, RowPinningState, RowSelectionFeatureConstructors, RowSelectionState, RowSortingFeatureConstructors, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_Plugins, Row_Row, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SortDirection, SortFn, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_All, TableOptions_Cell, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_GlobalFiltering, TableOptions_Plugins, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableReactivityFeatureConstructors, TableState, TableState_All, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_GlobalFiltering, TableState_Plugins, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_GlobalFiltering, Table_Headers, Table_Internal, Table_Plugins, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, TransformFilterValueFn, UnionToIntersection, Updater, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructReactivityFeature, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
78
+ export { $internalMemoFnMeta, API, APIObject, AccessorColumnDef, AccessorFn, AccessorFnColumnDef, AccessorFnColumnDefBase, AccessorKeyColumnDef, AccessorKeyColumnDefBase, AggregationFn, AggregationFnOption, AggregationFns, AssignCellPrototype, AssignColumnPrototype, AssignHeaderPrototype, AssignRowPrototype, Atoms, Atoms_All, BaseAtoms, BaseAtoms_All, BuiltInAggregationFn, BuiltInFilterFn, BuiltInSortFn, CachedRowModel_All, CachedRowModel_Core, CachedRowModel_Expanded, CachedRowModel_Faceted, CachedRowModel_Filtered, CachedRowModel_Grouped, CachedRowModel_Paginated, CachedRowModel_Plugins, CachedRowModel_Sorted, CachedRowModels, CachedRowModels_Plugins, Cell, CellContext, CellData, Cell_Cell, Cell_ColumnGrouping, Cell_Core, Cell_CoreProperties, Cell_Plugins, Column, ColumnDef, ColumnDefBase, ColumnDefBase_All, ColumnDefResolved, ColumnDefTemplate, ColumnDef_ColumnFiltering, ColumnDef_ColumnGrouping, ColumnDef_ColumnPinning, ColumnDef_ColumnResizing, ColumnDef_ColumnSizing, ColumnDef_ColumnVisibility, ColumnDef_GlobalFiltering, ColumnDef_Plugins, ColumnDef_RowSorting, ColumnDefaultOptions, ColumnFacetingFeatureConstructors, ColumnFilter, ColumnFilterAutoRemoveTestFn, ColumnFilteringFeatureConstructors, ColumnFiltersState, ColumnGroupingFeatureConstructors, ColumnHelper, ColumnMeta, ColumnOrderDefaultOptions, ColumnOrderState, ColumnOrderingFeatureConstructors, ColumnPinningDefaultOptions, ColumnPinningFeatureConstructors, ColumnPinningPosition, ColumnPinningState, ColumnResizeDirection, ColumnResizeMode, ColumnResizingDefaultOptions, ColumnResizingFeatureConstructors, ColumnSizingDefaultOptions, ColumnSizingFeatureConstructors, ColumnSizingState, ColumnSort, ColumnVisibilityFeatureConstructors, ColumnVisibilityState, Column_Column, Column_ColumnFaceting, Column_ColumnFiltering, Column_ColumnGrouping, Column_ColumnOrdering, Column_ColumnPinning, Column_ColumnResizing, Column_ColumnSizing, Column_ColumnVisibility, Column_Core, Column_CoreProperties, Column_GlobalFiltering, Column_Internal, Column_Plugins, Column_RowSorting, ConstructTableAPIs, CoreCellsFeatureConstructors, CoreColumnsFeatureConstructors, CoreFeatures, CoreHeadersFeatureConstructors, CoreRowModelsFeatureConstructors, CoreRowsFeatureConstructors, CoreTablesFeatureConstructors, CreateRowModel_Core, CreateRowModel_Expanded, CreateRowModel_Faceted, CreateRowModel_Filtered, CreateRowModel_Grouped, CreateRowModel_Paginated, CreateRowModel_Plugins, CreateRowModel_Sorted, CreateRowModels, CreateRowModels_All, CreateRowModels_Plugins, CustomAggregationFns, CustomFilterFns, CustomSortFns, DebugOptions, DeepKeys, DeepValue, DisplayColumnDef, ExpandedState, ExpandedStateList, ExternalAtoms, ExternalAtoms_All, ExtractFeatureTypes, FeatureConstructors, FilterFn, FilterFnOption, FilterFns, FilterMeta, GetDefaultColumnDef, GetDefaultStateSelector, GetDefaultTableOptions, GetInitialState, Getter, GlobalFilteringFeatureConstructors, GroupColumnDef, GroupingColumnMode, GroupingState, Header, HeaderContext, HeaderGroup, HeaderGroup_Core, HeaderGroup_Header, HeaderGroup_Plugins, Header_ColumnResizing, Header_ColumnSizing, Header_Core, Header_CoreProperties, Header_Header, Header_Plugins, IdIdentifier, IdentifiedColumnDef, InitRowInstanceData, MemoFnMeta, NoInfer, OnChangeFn, PaginationDefaultOptions, PaginationState, PartialKeys, Plugins, Prettify, PrototypeAPI, PrototypeAPIObject, RequiredKeys, ResolvedColumnFilter, Row, RowData, RowExpandingFeatureConstructors, RowModel, RowModelFns, RowModelFns_All, RowModelFns_ColumnFiltering, RowModelFns_ColumnGrouping, RowModelFns_Core, RowModelFns_Plugins, RowModelFns_RowSorting, RowPaginationFeatureConstructors, RowPinningDefaultOptions, RowPinningFeatureConstructors, RowPinningPosition, RowPinningState, RowSelectionFeatureConstructors, RowSelectionState, RowSortingFeatureConstructors, Row_ColumnFiltering, Row_ColumnGrouping, Row_ColumnPinning, Row_ColumnVisibility, Row_Core, Row_CoreProperties, Row_Plugins, Row_Row, Row_RowExpanding, Row_RowPinning, Row_RowSelection, SortDirection, SortFn, SortFnOption, SortFns, SortingState, StockFeatures, StringHeaderIdentifier, StringOrTemplateHeader, Table, TableFeature, TableFeatures, TableMeta, TableOptions, TableOptions_All, TableOptions_Cell, TableOptions_ColumnFiltering, TableOptions_ColumnGrouping, TableOptions_ColumnOrdering, TableOptions_ColumnPinning, TableOptions_ColumnResizing, TableOptions_ColumnSizing, TableOptions_ColumnVisibility, TableOptions_Columns, TableOptions_Core, TableOptions_GlobalFiltering, TableOptions_Plugins, TableOptions_RowExpanding, TableOptions_RowPagination, TableOptions_RowPinning, TableOptions_RowSelection, TableOptions_RowSorting, TableOptions_Rows, TableOptions_Table, TableState, TableState_All, TableState_ColumnFiltering, TableState_ColumnGrouping, TableState_ColumnOrdering, TableState_ColumnPinning, TableState_ColumnResizing, TableState_ColumnSizing, TableState_ColumnVisibility, TableState_GlobalFiltering, TableState_Plugins, TableState_RowExpanding, TableState_RowPagination, TableState_RowPinning, TableState_RowSelection, TableState_RowSorting, Table_ColumnFaceting, Table_ColumnFiltering, Table_ColumnGrouping, Table_ColumnOrdering, Table_ColumnPinning, Table_ColumnResizing, Table_ColumnSizing, Table_ColumnVisibility, Table_Columns, Table_Core, Table_CoreProperties, Table_GlobalFiltering, Table_Headers, Table_Internal, Table_Plugins, Table_RowExpanding, Table_RowModels, Table_RowModels_Core, Table_RowModels_Expanded, Table_RowModels_Faceted, Table_RowModels_Filtered, Table_RowModels_Grouped, Table_RowModels_Paginated, Table_RowModels_Sorted, Table_RowPagination, Table_RowPinning, Table_RowSelection, Table_RowSorting, Table_Rows, Table_Table, TransformFilterValueFn, UnionToIntersection, Updater, VisibilityDefaultOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnResizingState, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
package/dist/index.js CHANGED
@@ -34,7 +34,6 @@ import { constructRowPinningFeature, rowPinningFeature } from "./features/row-pi
34
34
  import { constructRowSelectionFeature, rowSelectionFeature } from "./features/row-selection/rowSelectionFeature.js";
35
35
  import { constructRowSortingFeature, rowSortingFeature } from "./features/row-sorting/rowSortingFeature.js";
36
36
  import { stockFeatures } from "./features/stockFeatures.js";
37
- import { constructReactivityFeature } from "./features/table-reactivity/tableReactivityFeature.js";
38
37
  import { createFacetedMinMaxValues } from "./features/column-faceting/createFacetedMinMaxValues.js";
39
38
  import { createFacetedRowModel } from "./features/column-faceting/createFacetedRowModel.js";
40
39
  import { createFacetedUniqueValues } from "./features/column-faceting/createFacetedUniqueValues.js";
@@ -44,4 +43,4 @@ import { createExpandedRowModel, expandRows } from "./features/row-expanding/cre
44
43
  import { createPaginatedRowModel } from "./features/row-pagination/createPaginatedRowModel.js";
45
44
  import { createSortedRowModel } from "./features/row-sorting/createSortedRowModel.js";
46
45
 
47
- export { $internalMemoFnMeta, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructReactivityFeature, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
46
+ export { $internalMemoFnMeta, aggregationFn_count, aggregationFn_extent, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, aggregationFns, assignPrototypeAPIs, assignTableAPIs, buildHeaderGroups, callMemoOrStaticFn, cloneState, columnFacetingFeature, columnFilteringFeature, columnGroupingFeature, columnOrderingFeature, columnPinningFeature, columnResizingFeature, columnSizingFeature, columnVisibilityFeature, constructCell, constructColumn, constructColumnFacetingFeature, constructColumnFilteringFeature, constructColumnGroupingFeature, constructColumnOrderingFeature, constructColumnPinningFeature, constructColumnResizingFeature, constructColumnSizingFeature, constructColumnVisibilityFeature, constructCoreCellsFeature, constructCoreColumnsFeature, constructCoreHeadersFeature, constructCoreRowModelsFeature, constructCoreRowsFeature, constructCoreTablesFeature, constructGlobalFilteringFeature, constructHeader, constructRow, constructRowExpandingFeature, constructRowPaginationFeature, constructRowPinningFeature, constructRowSelectionFeature, constructRowSortingFeature, constructTable, coreCellsFeature, coreColumnsFeature, coreFeatures, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createColumnHelper, createCoreRowModel, createExpandedRowModel, createFacetedMinMaxValues, createFacetedRowModel, createFacetedUniqueValues, createFilteredRowModel, createGroupedRowModel, createPaginatedRowModel, createSortedRowModel, expandRows, filterFn_arrHas, filterFn_arrIncludes, filterFn_arrIncludesAll, filterFn_arrIncludesSome, filterFn_equals, filterFn_equalsString, filterFn_equalsStringSensitive, filterFn_greaterThan, filterFn_greaterThanOrEqualTo, filterFn_inNumberRange, filterFn_includesString, filterFn_includesStringSensitive, filterFn_lessThan, filterFn_lessThanOrEqualTo, filterFn_weakEquals, filterFns, flattenBy, functionalUpdate, getFunctionNameInfo, getInitialTableState, getMemoFnMeta, globalFilteringFeature, isFunction, isNumberArray, makeStateUpdater, memo, noop, reSplitAlphaNumeric, rowExpandingFeature, rowPaginationFeature, rowPinningFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, sortFns, stockFeatures, tableFeatures, tableMemo, tableOptions };
@@ -0,0 +1,6 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_coreReactivityFeature_utils = require('./core/reactivity/coreReactivityFeature.utils.cjs');
3
+ const require_constructReactivityBindings = require('./core/reactivity/constructReactivityBindings.cjs');
4
+
5
+ exports.atomToStore = require_coreReactivityFeature_utils.atomToStore;
6
+ exports.constructReactivityBindings = require_constructReactivityBindings.constructReactivityBindings;
@@ -0,0 +1,4 @@
1
+ import { TableAtomOptions, TableReactivityBindings } from "./core/reactivity/coreReactivityFeature.types.cjs";
2
+ import { constructReactivityBindings } from "./core/reactivity/constructReactivityBindings.cjs";
3
+ import { atomToStore } from "./core/reactivity/coreReactivityFeature.utils.cjs";
4
+ export { TableAtomOptions, TableReactivityBindings, atomToStore, constructReactivityBindings };
@@ -0,0 +1,4 @@
1
+ import { TableAtomOptions, TableReactivityBindings } from "./core/reactivity/coreReactivityFeature.types.js";
2
+ import { constructReactivityBindings } from "./core/reactivity/constructReactivityBindings.js";
3
+ import { atomToStore } from "./core/reactivity/coreReactivityFeature.utils.js";
4
+ export { TableAtomOptions, TableReactivityBindings, atomToStore, constructReactivityBindings };
@@ -0,0 +1,4 @@
1
+ import { atomToStore } from "./core/reactivity/coreReactivityFeature.utils.js";
2
+ import { constructReactivityBindings } from "./core/reactivity/constructReactivityBindings.js";
3
+
4
+ export { atomToStore, constructReactivityBindings };
@@ -8,7 +8,7 @@ import { StockFeatures } from "../features/stockFeatures.cjs";
8
8
  import { Table_Internal } from "./Table.cjs";
9
9
 
10
10
  //#region src/types/TableFeatures.d.ts
11
- type ExtractFeatureTypes<TKey extends keyof FeatureConstructors, TFeatures extends TableFeatures> = UnionToIntersection<{ [K in keyof TFeatures]: TFeatures[K] extends TableFeature<infer FeatureConstructorOptions> ? TKey extends keyof FeatureConstructorOptions ? FeatureConstructorOptions[TKey] : never : any }[keyof TFeatures]>;
11
+ type ExtractFeatureTypes<TKey extends keyof FeatureConstructors, TFeatures extends TableFeatures> = UnionToIntersection<{ [K in keyof TFeatures]: K extends 'coreReativityFeature' ? never : TFeatures[K] extends TableFeature<infer FeatureConstructorOptions> ? TKey extends keyof FeatureConstructorOptions ? FeatureConstructorOptions[TKey] : never : any }[keyof TFeatures]>;
12
12
  interface FeatureConstructors {
13
13
  CachedRowModel?: any;
14
14
  Cell?: any;
@@ -8,7 +8,7 @@ import { StockFeatures } from "../features/stockFeatures.js";
8
8
  import { Table_Internal } from "./Table.js";
9
9
 
10
10
  //#region src/types/TableFeatures.d.ts
11
- type ExtractFeatureTypes<TKey extends keyof FeatureConstructors, TFeatures extends TableFeatures> = UnionToIntersection<{ [K in keyof TFeatures]: TFeatures[K] extends TableFeature<infer FeatureConstructorOptions> ? TKey extends keyof FeatureConstructorOptions ? FeatureConstructorOptions[TKey] : never : any }[keyof TFeatures]>;
11
+ type ExtractFeatureTypes<TKey extends keyof FeatureConstructors, TFeatures extends TableFeatures> = UnionToIntersection<{ [K in keyof TFeatures]: K extends 'coreReativityFeature' ? never : TFeatures[K] extends TableFeature<infer FeatureConstructorOptions> ? TKey extends keyof FeatureConstructorOptions ? FeatureConstructorOptions[TKey] : never : any }[keyof TFeatures]>;
12
12
  interface FeatureConstructors {
13
13
  CachedRowModel?: any;
14
14
  Cell?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
- "version": "9.0.0-alpha.41",
3
+ "version": "9.0.0-alpha.42",
4
4
  "description": "Headless UI for building powerful tables & datagrids for TS/JS.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -38,6 +38,10 @@
38
38
  "import": "./dist/flex-render.js",
39
39
  "require": "./dist/flex-render.cjs"
40
40
  },
41
+ "./reactivity": {
42
+ "import": "./dist/reactivity.js",
43
+ "require": "./dist/reactivity.cjs"
44
+ },
41
45
  "./static-functions": {
42
46
  "import": "./dist/static-functions.js",
43
47
  "require": "./dist/static-functions.cjs"
@@ -4,8 +4,10 @@ import { coreHeadersFeature } from './headers/coreHeadersFeature'
4
4
  import { coreRowModelsFeature } from './row-models/coreRowModelsFeature'
5
5
  import { coreRowsFeature } from './rows/coreRowsFeature'
6
6
  import { coreTablesFeature } from './table/coreTablesFeature'
7
+ import type { TableReactivityBindings } from '../reactivity'
7
8
 
8
9
  export interface CoreFeatures {
10
+ coreReativityFeature?: TableReactivityBindings
9
11
  coreCellsFeature: typeof coreCellsFeature
10
12
  coreColumnsFeature: typeof coreColumnsFeature
11
13
  coreHeadersFeature: typeof coreHeadersFeature
@@ -0,0 +1,19 @@
1
+ import { batch, createAtom } from '@tanstack/store'
2
+ import type { TableReactivityBindings } from './coreReactivityFeature.types'
3
+
4
+ export function constructReactivityBindings(): TableReactivityBindings {
5
+ return {
6
+ batch: batch,
7
+ untrack: (fn) => fn(),
8
+ createReadonlyAtom: (fn, options) => {
9
+ return createAtom(() => fn(), {
10
+ compare: options?.compare,
11
+ })
12
+ },
13
+ createWritableAtom: (value, options) => {
14
+ return createAtom(value, {
15
+ compare: options?.compare,
16
+ })
17
+ },
18
+ }
19
+ }
@@ -0,0 +1,40 @@
1
+ import type { Atom, AtomOptions, ReadonlyAtom } from '@tanstack/store'
2
+
3
+ export interface TableAtomOptions<T> extends AtomOptions<T> {
4
+ /**
5
+ * A debug name for the atom, useful for debugging.
6
+ */
7
+ debugName: string
8
+ }
9
+
10
+ /**
11
+ * Framework reactivity bindings used by table-core.
12
+ *
13
+ * Adapters (React, Solid, Vue, etc.) provide concrete implementations so
14
+ * core features can create derived/writable atoms and integrate with their
15
+ * scheduling primitives.
16
+ */
17
+ export interface TableReactivityBindings {
18
+ /**
19
+ * Creates a writable atom with an initial value.
20
+ */
21
+ createWritableAtom: <T>(
22
+ initialValue: T,
23
+ options?: TableAtomOptions<T>,
24
+ ) => Atom<T>
25
+ /**
26
+ * Creates a readonly/derived atom from a compute function.
27
+ */
28
+ createReadonlyAtom: <T>(
29
+ fn: () => T,
30
+ options?: TableAtomOptions<T>,
31
+ ) => ReadonlyAtom<T>
32
+ /**
33
+ * Evaluates a function without tracking reactive dependencies.
34
+ */
35
+ untrack: <T>(fn: () => T) => T
36
+ /**
37
+ * Batches reactive updates to avoid intermediate recomputation.
38
+ */
39
+ batch: (fn: () => void) => void
40
+ }
@@ -0,0 +1,29 @@
1
+ import type { Atom, ReadonlyAtom, ReadonlyStore, Store } from '@tanstack/store'
2
+
3
+ /**
4
+ * Converts a writable atom to the store-compatible shape expected by core.
5
+ */
6
+ export function atomToStore<T>(atom: Atom<T>): Store<T>
7
+ /**
8
+ * Converts a readonly atom to a readonly store-compatible shape.
9
+ */
10
+ export function atomToStore<T>(atom: ReadonlyAtom<T>): ReadonlyStore<T>
11
+ /**
12
+ * Bridges atom instances to the `Store`/`ReadonlyStore` API by exposing
13
+ * a `state` getter backed by `atom.get()`, and wiring `setState` for
14
+ * writable atoms.
15
+ */
16
+ export function atomToStore<T>(
17
+ atom: Atom<T> | ReadonlyAtom<T>,
18
+ ): Store<T> | ReadonlyStore<T> {
19
+ const store: Store<T> = atom as Store<T>
20
+ Object.defineProperty(atom, 'state', {
21
+ get() {
22
+ return atom.get()
23
+ },
24
+ })
25
+ if ('set' in atom) {
26
+ store.setState = atom.set.bind(atom)
27
+ }
28
+ return store
29
+ }