schummar-table 0.46.8 → 0.47.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 (55) hide show
  1. package/dist/chunk-CTAAG5j7.js +13 -0
  2. package/dist/chunk-pbleEpgJ.cjs +44 -0
  3. package/dist/csvExporter-BGoiph1b.cjs +41 -0
  4. package/dist/csvExporter-BGoiph1b.cjs.map +1 -0
  5. package/dist/csvExporter-DRm4V8We.js +35 -0
  6. package/dist/csvExporter-DRm4V8We.js.map +1 -0
  7. package/dist/csvExporter.cjs +2 -78
  8. package/dist/csvExporter.d.cts +15 -13
  9. package/dist/csvExporter.d.ts +15 -13
  10. package/dist/csvExporter.js +3 -8
  11. package/dist/excelExporter.cjs +18 -38
  12. package/dist/excelExporter.cjs.map +1 -1
  13. package/dist/excelExporter.d.cts +7 -6
  14. package/dist/excelExporter.d.ts +7 -5
  15. package/dist/excelExporter.js +16 -19
  16. package/dist/excelExporter.js.map +1 -1
  17. package/dist/exporter-BxgFAyWA.d.ts +24 -0
  18. package/dist/exporter-ztSF5GbY.d.cts +24 -0
  19. package/dist/index.cjs +3422 -5340
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +207 -168
  22. package/dist/index.d.ts +205 -168
  23. package/dist/index.js +3378 -4425
  24. package/dist/index.js.map +1 -1
  25. package/dist/mui4Theme.cjs +62 -905
  26. package/dist/mui4Theme.cjs.map +1 -1
  27. package/dist/mui4Theme.d.cts +14 -10
  28. package/dist/mui4Theme.d.ts +14 -10
  29. package/dist/mui4Theme.js +54 -77
  30. package/dist/mui4Theme.js.map +1 -1
  31. package/dist/mui5Theme.cjs +62 -901
  32. package/dist/mui5Theme.cjs.map +1 -1
  33. package/dist/mui5Theme.d.cts +14 -10
  34. package/dist/mui5Theme.d.ts +14 -10
  35. package/dist/mui5Theme.js +57 -76
  36. package/dist/mui5Theme.js.map +1 -1
  37. package/dist/tableSettings-C_spVpBs.js +674 -0
  38. package/dist/tableSettings-C_spVpBs.js.map +1 -0
  39. package/dist/tableSettings-CmqSZu-Q.cjs +739 -0
  40. package/dist/tableSettings-CmqSZu-Q.cjs.map +1 -0
  41. package/dist/types-CemO-cBr.d.ts +433 -0
  42. package/dist/types-lBtXAU-l.d.cts +433 -0
  43. package/package.json +30 -70
  44. package/dist/chunk-EEBUKP6F.js +0 -64
  45. package/dist/chunk-EEBUKP6F.js.map +0 -1
  46. package/dist/chunk-NTYYITKA.js +0 -803
  47. package/dist/chunk-NTYYITKA.js.map +0 -1
  48. package/dist/chunk-WFCJ3D3G.js +0 -47
  49. package/dist/chunk-WFCJ3D3G.js.map +0 -1
  50. package/dist/csvExporter.cjs.map +0 -1
  51. package/dist/csvExporter.js.map +0 -1
  52. package/dist/exporter-u6SatTo6.d.cts +0 -22
  53. package/dist/exporter-u6SatTo6.d.ts +0 -22
  54. package/dist/types-BM1Cjg67.d.ts +0 -435
  55. package/dist/types-CNiUxMEp.d.cts +0 -435
package/dist/index.d.ts CHANGED
@@ -1,67 +1,74 @@
1
- import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
- import * as React from 'react';
3
- import { ComponentType, ReactNode, HTMLProps, ForwardedRef } from 'react';
4
- import { T as TableTheme, C as CommonFilterProps, a as TableProps, b as TableRef, F as FilterImplementation, M as MemoizedTableTheme, I as Id, c as TableItem, d as InternalTableState, P as PartialTableTheme } from './types-BM1Cjg67.js';
5
- export { f as Column, g as FunctionWithDeps, h as InternalColumn, S as Sort, i as SortDirection, e as TableStateStorage } from './types-BM1Cjg67.js';
6
- import { Store } from 'schummar-state/react';
7
- import { E as ExporterEntry } from './exporter-u6SatTo6.js';
8
- import '@emotion/react';
1
+ import { ExporterEntry } from "./exporter-BxgFAyWA.js";
2
+ import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-CemO-cBr.js";
3
+ import * as react0 from "react";
4
+ import { ComponentType, ForwardedRef, HTMLProps, ReactNode } from "react";
5
+ import * as _emotion_react_jsx_runtime9 from "@emotion/react/jsx-runtime";
6
+ import { Store } from "schummar-state/react";
9
7
 
8
+ //#region src/components/autoFocusTextField.d.ts
10
9
  type Props = TableTheme['components']['TextField'] extends ComponentType<infer T> ? T : never;
11
- declare function AutoFocusTextField(props: Omit<Props, 'inputRef'>): _emotion_react_jsx_runtime.JSX.Element;
12
-
10
+ declare function AutoFocusTextField(props: Omit<Props, 'inputRef'>): _emotion_react_jsx_runtime9.JSX.Element;
11
+ //#endregion
12
+ //#region src/components/combinedFilter.d.ts
13
13
  interface CombinedFilterProps extends Pick<CommonFilterProps<any, any, any, any>, 'classNames'> {
14
- columnIds?: string[];
14
+ columnIds?: string[];
15
15
  }
16
- declare function CombinedFilter({ columnIds: inputColumnIds, ...props }: CombinedFilterProps): _emotion_react_jsx_runtime.JSX.Element;
17
-
16
+ declare function CombinedFilter({
17
+ columnIds: inputColumnIds,
18
+ ...props
19
+ }: CombinedFilterProps): _emotion_react_jsx_runtime9.JSX.Element;
20
+ //#endregion
21
+ //#region src/components/datePicker.d.ts
18
22
  type DateRange = {
19
- min: Date;
20
- max: Date;
23
+ min: Date;
24
+ max: Date;
21
25
  };
22
26
  type DatePickerQuickOption = 'today' | 'thisWeek' | 'thisMonth' | 'thisYear' | 'lastSevenDays' | 'lastThirtyDays' | {
23
- label: ReactNode;
24
- value: Date | DateRange | (() => Date | DateRange);
27
+ label: ReactNode;
28
+ value: Date | DateRange | (() => Date | DateRange);
25
29
  } | ((onChange: (value: Date | DateRange | null) => void) => ReactNode);
26
30
  type DatePickerChangeSource = 'input' | 'calendarWeek' | 'calendar' | 'quickOption';
27
31
  type DatePickerProps = {
28
- /** Currently selected day or range of days. */
29
- value: Date | DateRange | null;
30
- /** Callback for when the day (range) changes. */
31
- onChange: (value: Date | DateRange | null, source: DatePickerChangeSource) => void;
32
- /** Currently visible date. */
33
- dateInView?: Date;
34
- /** Callback for when the currently visible date changes. */
35
- onDateInViewChange?: (value: Date) => void;
36
- /** If enabled, ranges can be selected. */
37
- rangeSelect?: boolean;
38
- /** Which locale to use to render the calendar. */
39
- locale?: string;
40
- /** Which day of the week should be in the first column. (0=Sunday, 1=Monday, ...)
41
- * @default 1
42
- */
43
- firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
44
- /** Which month to show initially */
45
- defaultDateInView?: Date;
46
- /** Show buttons to quickly select suggested dates or date ranges */
47
- quickOptions?: DatePickerQuickOption[];
48
- noReset?: boolean;
49
- /** Minimum selectable date */
50
- /** Date ranges that are visually marked as blocked */
51
- blockedRanges?: DateRange[];
52
- minDate?: Date;
53
- /** Maximum selectable date */
54
- maxDate?: Date;
55
- /** Whether to show the calendar week in the first column */
56
- showCalendarWeek?: boolean;
57
- /** Whether to show and allow editing of time */
58
- showTime?: boolean | {
59
- showSeconds?: boolean;
60
- };
32
+ /** Currently selected day or range of days. */
33
+ value: Date | DateRange | null;
34
+ /** Callback for when the day (range) changes. */
35
+ onChange: (value: Date | DateRange | null, source: DatePickerChangeSource) => void;
36
+ /** Currently visible date. */
37
+ dateInView?: Date;
38
+ /** Callback for when the currently visible date changes. */
39
+ onDateInViewChange?: (value: Date) => void;
40
+ /** If enabled, ranges can be selected. */
41
+ rangeSelect?: boolean;
42
+ /** Which locale to use to render the calendar. */
43
+ locale?: string;
44
+ /** Which day of the week should be in the first column. (0=Sunday, 1=Monday, ...)
45
+ * @default 1
46
+ */
47
+ firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
48
+ /** Which month to show initially */
49
+ defaultDateInView?: Date;
50
+ /** Show buttons to quickly select suggested dates or date ranges */
51
+ quickOptions?: DatePickerQuickOption[];
52
+ noReset?: boolean;
53
+ /** Minimum selectable date */
54
+ /** Date ranges that are visually marked as blocked */
55
+ blockedRanges?: DateRange[];
56
+ minDate?: Date;
57
+ /** Maximum selectable date */
58
+ maxDate?: Date;
59
+ /** Whether to show the calendar week in the first column */
60
+ showCalendarWeek?: boolean;
61
+ /** Whether to show and allow editing of time */
62
+ showTime?: boolean | {
63
+ showSeconds?: boolean;
64
+ };
61
65
  };
62
- declare function DatePickerProvider({ children, ...props }: Partial<Omit<DatePickerProps, 'value' | 'onChange'>> & {
63
- children?: ReactNode;
64
- }): _emotion_react_jsx_runtime.JSX.Element;
66
+ declare function DatePickerProvider({
67
+ children,
68
+ ...props
69
+ }: Partial<Omit<DatePickerProps, 'value' | 'onChange'>> & {
70
+ children?: ReactNode;
71
+ }): _emotion_react_jsx_runtime9.JSX.Element;
65
72
  /** Rounds a date down to the start of the day. */
66
73
  declare const startOfDay: (d: Date) => Date;
67
74
  /** Rounds a date up to the end of the day. */
@@ -73,106 +80,146 @@ declare const thisMonth: (delta?: number) => DateRange;
73
80
  declare const thisYear: (delta?: number) => DateRange;
74
81
  declare const getCalendarWeek: (date: Date) => number;
75
82
  declare const commonQuickOptions: {
76
- today: {
77
- label: _emotion_react_jsx_runtime.JSX.Element;
78
- value: () => DateRange;
79
- };
80
- thisWeek: {
81
- label: _emotion_react_jsx_runtime.JSX.Element;
82
- value: (props: DatePickerProps) => DateRange;
83
- };
84
- thisMonth: {
85
- label: _emotion_react_jsx_runtime.JSX.Element;
86
- value: () => DateRange;
87
- };
88
- thisYear: {
89
- label: _emotion_react_jsx_runtime.JSX.Element;
90
- value: () => DateRange;
91
- };
92
- lastSevenDays: {
93
- label: _emotion_react_jsx_runtime.JSX.Element;
94
- value: () => DateRange;
95
- };
96
- lastThirtyDays: {
97
- label: _emotion_react_jsx_runtime.JSX.Element;
98
- value: () => DateRange;
99
- };
83
+ today: {
84
+ label: _emotion_react_jsx_runtime9.JSX.Element;
85
+ value: () => DateRange;
86
+ };
87
+ thisWeek: {
88
+ label: _emotion_react_jsx_runtime9.JSX.Element;
89
+ value: (props: DatePickerProps) => DateRange;
90
+ };
91
+ thisMonth: {
92
+ label: _emotion_react_jsx_runtime9.JSX.Element;
93
+ value: () => DateRange;
94
+ };
95
+ thisYear: {
96
+ label: _emotion_react_jsx_runtime9.JSX.Element;
97
+ value: () => DateRange;
98
+ };
99
+ lastSevenDays: {
100
+ label: _emotion_react_jsx_runtime9.JSX.Element;
101
+ value: () => DateRange;
102
+ };
103
+ lastThirtyDays: {
104
+ label: _emotion_react_jsx_runtime9.JSX.Element;
105
+ value: () => DateRange;
106
+ };
100
107
  };
101
108
  /** Returns whether two dates and/or date ranges intersect. Intersection is considered per day. */
102
109
  declare function dateIntersect(a: Date | DateRange | null | undefined, b: Date | DateRange | null | undefined): boolean;
103
110
  declare function dateClamp(date: Date, min?: Date, max?: Date): Date;
104
- declare function DatePicker(props: DatePickerProps): _emotion_react_jsx_runtime.JSX.Element;
105
-
106
- declare function DateFilter<TItem, TColumnValue>({ locale, firstDayOfWeek, defaultDateInView, quickOptions, singleSelect, filterBy, minDate, maxDate, showCalendarWeek, showTime, ...props }: {
107
- /** If enabled, only single days can be selected. Ranges otherwise. */
108
- singleSelect?: boolean;
111
+ declare function DatePicker(props: DatePickerProps): _emotion_react_jsx_runtime9.JSX.Element;
112
+ //#endregion
113
+ //#region src/components/dateFilter.d.ts
114
+ declare function DateFilter<TItem, TColumnValue>({
115
+ locale,
116
+ firstDayOfWeek,
117
+ defaultDateInView,
118
+ quickOptions,
119
+ singleSelect,
120
+ filterBy,
121
+ minDate,
122
+ maxDate,
123
+ showCalendarWeek,
124
+ showTime,
125
+ ...props
126
+ }: {
127
+ /** If enabled, only single days can be selected. Ranges otherwise. */
128
+ singleSelect?: boolean;
109
129
  } & Pick<DatePickerProps, 'locale' | 'firstDayOfWeek' | 'defaultDateInView' | 'quickOptions' | 'minDate' | 'maxDate' | 'showCalendarWeek' | 'showTime'> & CommonFilterProps<TItem, TColumnValue, Date | DateRange | null, Date | DateRange | null>): JSX.Element;
110
-
130
+ //#endregion
131
+ //#region src/components/rangeFilter.d.ts
111
132
  interface RangeFilterProps<T, V> extends CommonFilterProps<T, V, number | null, [number | null, number | null] | null> {
112
- min?: number;
113
- max?: number;
133
+ min?: number;
134
+ max?: number;
114
135
  }
115
- declare function RangeFilter<TItem, TColumnValue>({ min, max, filterBy, ...props }: RangeFilterProps<TItem, TColumnValue>): JSX.Element;
116
-
136
+ declare function RangeFilter<TItem, TColumnValue>({
137
+ min,
138
+ max,
139
+ filterBy,
140
+ ...props
141
+ }: RangeFilterProps<TItem, TColumnValue>): JSX.Element;
142
+ //#endregion
143
+ //#region src/components/virtualList.d.ts
117
144
  interface VirtualListProps<T> extends Omit<HTMLProps<HTMLDivElement>, 'children'> {
118
- virtual?: boolean | {
119
- rowHeight?: number;
120
- initalRowHeight?: number;
121
- throttleScroll?: number;
122
- overscan?: number;
123
- overscanBottom?: number;
124
- overscanTop?: number;
125
- };
126
- items: T[];
127
- children: (item: T, index: number) => ReactNode;
145
+ virtual?: boolean | {
146
+ rowHeight?: number;
147
+ initalRowHeight?: number;
148
+ throttleScroll?: number;
149
+ overscan?: number;
150
+ overscanBottom?: number;
151
+ overscanTop?: number;
152
+ };
153
+ items: T[];
154
+ children: (item: T, index: number) => ReactNode;
128
155
  }
129
-
130
- declare function SelectFilter<TItem, TColumnValue, TFilterBy>({ options: providedOptions, stringValue, render, singleSelect, hideSearchField, hideResetButton, ...props }: {
131
- /** Which options are provided to select. By default all unique item values are used. */
132
- options?: TFilterBy[];
133
- /** String representation of a value. Used to filter options via the text field. */
134
- stringValue?: (value: TFilterBy) => string;
135
- /** Render values. By default a string representation of the value is used. */
136
- render?: (value: TFilterBy) => ReactNode;
137
- /** If enabled, only one option can be selected at a time. */
138
- singleSelect?: boolean;
139
- /** If enabled, the search field is hidden. */
140
- hideSearchField?: boolean;
141
- /** If enabled, the reset button is hidden. */
142
- hideResetButton?: boolean;
143
- /** Virtual list props.
144
- * @default true */
145
- virtual?: VirtualListProps<unknown>['virtual'];
156
+ //#endregion
157
+ //#region src/components/selectFilter.d.ts
158
+ declare function SelectFilter<TItem, TColumnValue, TFilterBy>({
159
+ options: providedOptions,
160
+ stringValue,
161
+ render,
162
+ singleSelect,
163
+ hideSearchField,
164
+ hideResetButton,
165
+ ...props
166
+ }: {
167
+ /** Which options are provided to select. By default all unique item values are used. */
168
+ options?: TFilterBy[];
169
+ /** String representation of a value. Used to filter options via the text field. */
170
+ stringValue?: (value: TFilterBy) => string;
171
+ /** Render values. By default a string representation of the value is used. */
172
+ render?: (value: TFilterBy) => ReactNode;
173
+ /** If enabled, only one option can be selected at a time. */
174
+ singleSelect?: boolean;
175
+ /** If enabled, the search field is hidden. */
176
+ hideSearchField?: boolean;
177
+ /** If enabled, the reset button is hidden. */
178
+ hideResetButton?: boolean;
179
+ /** Virtual list props.
180
+ * @default true */
181
+ virtual?: VirtualListProps<unknown>['virtual'];
146
182
  } & CommonFilterProps<TItem, TColumnValue, TFilterBy, Set<TFilterBy>>): JSX.Element;
147
-
183
+ //#endregion
184
+ //#region src/components/table.d.ts
148
185
  declare const Table: <T>(props: TableProps<T> & {
149
- ref?: ForwardedRef<TableRef>;
186
+ ref?: ForwardedRef<TableRef>;
150
187
  }) => ReturnType<typeof _Table>;
151
188
  declare function _Table<T>(props: TableProps<T>, ref: ForwardedRef<TableRef>): JSX.Element;
152
-
153
- declare function TextFilter<TItem, TColumnValue>({ compare, filterBy, placeholder, ...props }: {
154
- /** Custom comparison function. Should return true if an item value matches the current filter value.
155
- * By default a fuzzy text comparison is used.
156
- */
157
- compare?: (itemValue: string, filterValue: string) => boolean;
158
- placeholder?: string;
189
+ //#endregion
190
+ //#region src/components/textFilter.d.ts
191
+ declare function TextFilter<TItem, TColumnValue>({
192
+ compare,
193
+ filterBy,
194
+ placeholder,
195
+ ...props
196
+ }: {
197
+ /** Custom comparison function. Should return true if an item value matches the current filter value.
198
+ * By default a fuzzy text comparison is used.
199
+ */
200
+ compare?: (itemValue: string, filterValue: string) => boolean;
201
+ placeholder?: string;
159
202
  } & CommonFilterProps<TItem, TColumnValue, string, string>): JSX.Element;
160
-
203
+ //#endregion
204
+ //#region src/hooks/useFilter.d.ts
161
205
  declare function useFilter<TItem, TColumnValue, TFilterBy, TFilterValue>(impl: FilterImplementation<TItem, TColumnValue, TFilterBy, TFilterValue>): {
162
- isActive: boolean;
163
- close: () => void;
164
- value: TFilterValue | undefined;
165
- onChange: (value?: TFilterValue) => void;
166
- filterBy: (value: TColumnValue, item: TItem) => TFilterBy | TFilterBy[];
206
+ isActive: boolean;
207
+ close: () => void;
208
+ value: TFilterValue | undefined;
209
+ onChange: (value?: TFilterValue) => void;
210
+ filterBy: (value: TColumnValue, item: TItem) => TFilterBy | TFilterBy[];
167
211
  };
168
-
212
+ //#endregion
213
+ //#region src/hooks/useTheme.d.ts
169
214
  declare function useTheme<T, S>(selector: (theme: MemoizedTableTheme<T>) => S): S;
170
-
215
+ declare namespace helpers_d_exports {
216
+ export { asNumber, asNumberOrArray, asString, asStringOrArray, castArray, cx, defaultEquals, flatMap, getAncestors, getDescendants, identity, intersect, isTruthy, orderBy, subStringMatch, uniq };
217
+ }
171
218
  declare const flatMap: <T, S>(array: Iterable<T>, flatMap: (t: T) => S[]) => S[];
172
219
  declare const orderBy: <T>(array: T[], selectors?: ((t: T) => any)[], direction?: ("desc" | "asc")[]) => T[];
173
220
  declare const uniq: <T>(array: T[]) => T[];
174
221
  declare const intersect: <T>(a: Iterable<T>, b: {
175
- has(t: T): boolean;
222
+ has(t: T): boolean;
176
223
  }) => Set<T>;
177
224
  declare const getAncestors: <T>(activeItemsById: Map<Id, TableItem<T>>, ...items: TableItem<T>[]) => Set<Id>;
178
225
  declare const getDescendants: <T>(...items: TableItem<T>[]) => Set<Id>;
@@ -187,47 +234,37 @@ declare const castArray: <T>(a: T | T[]) => T[];
187
234
  declare const cx: (...classNames: (string | false | undefined | null | Record<string, boolean>)[]) => string;
188
235
  type Falsy = false | 0 | '' | null | undefined;
189
236
  declare function isTruthy<T>(x: T): x is Exclude<T, Falsy>;
190
-
191
- declare const helpers_asNumber: typeof asNumber;
192
- declare const helpers_asNumberOrArray: typeof asNumberOrArray;
193
- declare const helpers_asString: typeof asString;
194
- declare const helpers_asStringOrArray: typeof asStringOrArray;
195
- declare const helpers_castArray: typeof castArray;
196
- declare const helpers_cx: typeof cx;
197
- declare const helpers_defaultEquals: typeof defaultEquals;
198
- declare const helpers_flatMap: typeof flatMap;
199
- declare const helpers_getAncestors: typeof getAncestors;
200
- declare const helpers_getDescendants: typeof getDescendants;
201
- declare const helpers_identity: typeof identity;
202
- declare const helpers_intersect: typeof intersect;
203
- declare const helpers_isTruthy: typeof isTruthy;
204
- declare const helpers_orderBy: typeof orderBy;
205
- declare const helpers_subStringMatch: typeof subStringMatch;
206
- declare const helpers_uniq: typeof uniq;
207
- declare namespace helpers {
208
- export { helpers_asNumber as asNumber, helpers_asNumberOrArray as asNumberOrArray, helpers_asString as asString, helpers_asStringOrArray as asStringOrArray, helpers_castArray as castArray, helpers_cx as cx, helpers_defaultEquals as defaultEquals, helpers_flatMap as flatMap, helpers_getAncestors as getAncestors, helpers_getDescendants as getDescendants, helpers_identity as identity, helpers_intersect as intersect, helpers_isTruthy as isTruthy, helpers_orderBy as orderBy, helpers_subStringMatch as subStringMatch, helpers_uniq as uniq };
209
- }
210
-
211
- declare const TableContext: React.Context<Store<InternalTableState<any>> | null>;
212
- declare const TableResetContext: React.Context<() => void>;
213
- declare const ColumnContext: React.Context<Id | null>;
237
+ //#endregion
238
+ //#region src/misc/tableContext.d.ts
239
+ declare const TableContext: react0.Context<Store<InternalTableState<any>> | null>;
240
+ declare const TableResetContext: react0.Context<() => void>;
241
+ declare const ColumnContext: react0.Context<Id | null>;
214
242
  declare function useTableContext<T>(): Store<InternalTableState<T>>;
215
243
  declare function useColumnContext(): Id;
216
-
244
+ //#endregion
245
+ //#region src/misc/tableSettings.d.ts
217
246
  interface TableSettingsContextType {
218
- theme: PartialTableTheme;
219
- exporters: ExporterEntry[];
247
+ theme: PartialTableTheme;
248
+ exporters: ExporterEntry[];
220
249
  }
221
- declare const TableSettingsContext: React.Context<TableSettingsContextType>;
222
- declare function TableSettingsProvider({ theme, exporters, additionalExporters, children, }: Partial<TableSettingsContextType> & {
223
- additionalExporters?: ExporterEntry[];
224
- children?: ReactNode;
225
- }): _emotion_react_jsx_runtime.JSX.Element;
226
-
250
+ declare const TableSettingsContext: react0.Context<TableSettingsContextType>;
251
+ declare function TableSettingsProvider({
252
+ theme,
253
+ exporters,
254
+ additionalExporters,
255
+ children
256
+ }: Partial<TableSettingsContextType> & {
257
+ additionalExporters?: ExporterEntry[];
258
+ children?: ReactNode;
259
+ }): _emotion_react_jsx_runtime9.JSX.Element;
260
+ //#endregion
261
+ //#region src/misc/textMatch.d.ts
227
262
  declare const textMatch: (text: string, query: string) => boolean;
228
263
  declare const termMatch: (text: string, query: string) => boolean;
229
-
264
+ //#endregion
265
+ //#region src/theme/tableTheme.d.ts
230
266
  declare function configureTableTheme(tableTheme: PartialTableTheme): void;
231
267
  declare function mergeThemes<T>(...themes: PartialTableTheme<T>[]): PartialTableTheme<T>;
232
-
233
- export { AutoFocusTextField, ColumnContext, CombinedFilter, type CombinedFilterProps, CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, FilterImplementation, Id, PartialTableTheme, RangeFilter, SelectFilter, Table, TableContext, TableProps, TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
268
+ //#endregion
269
+ export { AutoFocusTextField, type Column, ColumnContext, CombinedFilter, type CombinedFilterProps, type CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, type FilterImplementation, type FunctionWithDeps, type Id, type InternalColumn, type PartialTableTheme, RangeFilter, SelectFilter, type Sort, type SortDirection, Table, TableContext, type TableProps, type TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, type TableStateStorage, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers_d_exports as helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
270
+ //# sourceMappingURL=index.d.ts.map