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