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.
- package/dist/chunk-CTAAG5j7.js +13 -0
- package/dist/chunk-pbleEpgJ.cjs +44 -0
- package/dist/csvExporter-BGoiph1b.cjs +41 -0
- package/dist/csvExporter-BGoiph1b.cjs.map +1 -0
- package/dist/csvExporter-DRm4V8We.js +35 -0
- package/dist/csvExporter-DRm4V8We.js.map +1 -0
- package/dist/csvExporter.cjs +2 -78
- package/dist/csvExporter.d.cts +15 -13
- package/dist/csvExporter.d.ts +15 -13
- package/dist/csvExporter.js +3 -8
- package/dist/excelExporter.cjs +18 -38
- package/dist/excelExporter.cjs.map +1 -1
- package/dist/excelExporter.d.cts +7 -6
- package/dist/excelExporter.d.ts +7 -5
- package/dist/excelExporter.js +16 -19
- package/dist/excelExporter.js.map +1 -1
- package/dist/exporter-BxgFAyWA.d.ts +24 -0
- package/dist/exporter-ztSF5GbY.d.cts +24 -0
- package/dist/index.cjs +3422 -5340
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +207 -168
- package/dist/index.d.ts +205 -168
- package/dist/index.js +3378 -4425
- package/dist/index.js.map +1 -1
- package/dist/mui4Theme.cjs +62 -905
- package/dist/mui4Theme.cjs.map +1 -1
- package/dist/mui4Theme.d.cts +14 -10
- package/dist/mui4Theme.d.ts +14 -10
- package/dist/mui4Theme.js +54 -77
- package/dist/mui4Theme.js.map +1 -1
- package/dist/mui5Theme.cjs +62 -901
- package/dist/mui5Theme.cjs.map +1 -1
- package/dist/mui5Theme.d.cts +14 -10
- package/dist/mui5Theme.d.ts +14 -10
- package/dist/mui5Theme.js +57 -76
- package/dist/mui5Theme.js.map +1 -1
- package/dist/tableSettings-C_spVpBs.js +674 -0
- package/dist/tableSettings-C_spVpBs.js.map +1 -0
- package/dist/tableSettings-CmqSZu-Q.cjs +739 -0
- package/dist/tableSettings-CmqSZu-Q.cjs.map +1 -0
- package/dist/types-CemO-cBr.d.ts +433 -0
- package/dist/types-lBtXAU-l.d.cts +433 -0
- package/package.json +30 -70
- package/dist/chunk-EEBUKP6F.js +0 -64
- package/dist/chunk-EEBUKP6F.js.map +0 -1
- package/dist/chunk-NTYYITKA.js +0 -803
- package/dist/chunk-NTYYITKA.js.map +0 -1
- package/dist/chunk-WFCJ3D3G.js +0 -47
- package/dist/chunk-WFCJ3D3G.js.map +0 -1
- package/dist/csvExporter.cjs.map +0 -1
- package/dist/csvExporter.js.map +0 -1
- package/dist/exporter-u6SatTo6.d.cts +0 -22
- package/dist/exporter-u6SatTo6.d.ts +0 -22
- package/dist/types-BM1Cjg67.d.ts +0 -435
- package/dist/types-CNiUxMEp.d.cts +0 -435
package/dist/index.d.ts
CHANGED
|
@@ -1,67 +1,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { Store } from
|
|
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'>):
|
|
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
|
-
|
|
14
|
+
columnIds?: string[];
|
|
15
15
|
}
|
|
16
|
-
declare function CombinedFilter({
|
|
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
|
-
|
|
20
|
-
|
|
23
|
+
min: Date;
|
|
24
|
+
max: Date;
|
|
21
25
|
};
|
|
22
26
|
type DatePickerQuickOption = 'today' | 'thisWeek' | 'thisMonth' | 'thisYear' | 'lastSevenDays' | 'lastThirtyDays' | {
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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({
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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):
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
113
|
-
|
|
133
|
+
min?: number;
|
|
134
|
+
max?: number;
|
|
114
135
|
}
|
|
115
|
-
declare function RangeFilter<TItem, TColumnValue>({
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
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
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
|
|
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
|
-
|
|
192
|
-
declare const
|
|
193
|
-
declare const
|
|
194
|
-
declare const
|
|
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
|
-
|
|
219
|
-
|
|
247
|
+
theme: PartialTableTheme;
|
|
248
|
+
exporters: ExporterEntry[];
|
|
220
249
|
}
|
|
221
|
-
declare const TableSettingsContext:
|
|
222
|
-
declare function TableSettingsProvider({
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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
|