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.cts
CHANGED
|
@@ -1,67 +1,76 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import { Store } from
|
|
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'>):
|
|
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
|
-
|
|
16
|
+
columnIds?: string[];
|
|
15
17
|
}
|
|
16
|
-
declare function CombinedFilter({
|
|
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
|
-
|
|
20
|
-
|
|
25
|
+
min: Date;
|
|
26
|
+
max: Date;
|
|
21
27
|
};
|
|
22
28
|
type DatePickerQuickOption = 'today' | 'thisWeek' | 'thisMonth' | 'thisYear' | 'lastSevenDays' | 'lastThirtyDays' | {
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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({
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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):
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
113
|
-
|
|
135
|
+
min?: number;
|
|
136
|
+
max?: number;
|
|
114
137
|
}
|
|
115
|
-
declare function RangeFilter<TItem, TColumnValue>({
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
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
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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>;
|
|
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
|
-
|
|
219
|
-
|
|
249
|
+
theme: PartialTableTheme;
|
|
250
|
+
exporters: ExporterEntry[];
|
|
220
251
|
}
|
|
221
|
-
declare const TableSettingsContext:
|
|
222
|
-
declare function TableSettingsProvider({
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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
|