schummar-table 0.47.1 → 0.48.0
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/index.cjs +283 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +283 -155
- package/dist/index.js.map +1 -1
- package/dist/mui4Theme.cjs +1 -1
- package/dist/mui4Theme.d.cts +1 -1
- package/dist/mui4Theme.d.ts +1 -1
- package/dist/mui4Theme.js +1 -1
- package/dist/mui5Theme.cjs +1 -1
- package/dist/mui5Theme.d.cts +1 -1
- package/dist/mui5Theme.d.ts +1 -1
- package/dist/mui5Theme.js +1 -1
- package/dist/{tableSettings-CmqSZu-Q.cjs → tableSettings-C450XPgW.cjs} +28 -17
- package/dist/{tableSettings-CmqSZu-Q.cjs.map → tableSettings-C450XPgW.cjs.map} +1 -1
- package/dist/{tableSettings-C_spVpBs.js → tableSettings-DFnt2SZO.js} +28 -17
- package/dist/{tableSettings-C_spVpBs.js.map → tableSettings-DFnt2SZO.js.map} +1 -1
- package/dist/{types-lBtXAU-l.d.cts → types-DzYx_oT1.d.cts} +4 -1
- package/dist/{types-CemO-cBr.d.ts → types-k3mbd-dT.d.ts} +4 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-DzYx_oT1.cjs";
|
|
3
3
|
import * as _emotion_react_jsx_runtime1 from "@emotion/react/jsx-runtime";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import { ComponentType, ForwardedRef, HTMLProps, ReactNode } from "react";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
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-
|
|
2
|
+
import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-k3mbd-dT.js";
|
|
3
3
|
import * as react0 from "react";
|
|
4
4
|
import { ComponentType, ForwardedRef, HTMLProps, ReactNode } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _emotion_react_jsx_runtime1 from "@emotion/react/jsx-runtime";
|
|
6
6
|
import { Store } from "schummar-state/react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/autoFocusTextField.d.ts
|
|
9
9
|
type Props = TableTheme['components']['TextField'] extends ComponentType<infer T> ? T : never;
|
|
10
|
-
declare function AutoFocusTextField(props: Omit<Props, 'inputRef'>):
|
|
10
|
+
declare function AutoFocusTextField(props: Omit<Props, 'inputRef'>): _emotion_react_jsx_runtime1.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/components/combinedFilter.d.ts
|
|
13
13
|
interface CombinedFilterProps extends Pick<CommonFilterProps<any, any, any, any>, 'classNames'> {
|
|
@@ -16,7 +16,7 @@ interface CombinedFilterProps extends Pick<CommonFilterProps<any, any, any, any>
|
|
|
16
16
|
declare function CombinedFilter({
|
|
17
17
|
columnIds: inputColumnIds,
|
|
18
18
|
...props
|
|
19
|
-
}: CombinedFilterProps):
|
|
19
|
+
}: CombinedFilterProps): _emotion_react_jsx_runtime1.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/datePicker.d.ts
|
|
22
22
|
type DateRange = {
|
|
@@ -68,7 +68,7 @@ declare function DatePickerProvider({
|
|
|
68
68
|
...props
|
|
69
69
|
}: Partial<Omit<DatePickerProps, 'value' | 'onChange'>> & {
|
|
70
70
|
children?: ReactNode;
|
|
71
|
-
}):
|
|
71
|
+
}): _emotion_react_jsx_runtime1.JSX.Element;
|
|
72
72
|
/** Rounds a date down to the start of the day. */
|
|
73
73
|
declare const startOfDay: (d: Date) => Date;
|
|
74
74
|
/** Rounds a date up to the end of the day. */
|
|
@@ -81,34 +81,34 @@ declare const thisYear: (delta?: number) => DateRange;
|
|
|
81
81
|
declare const getCalendarWeek: (date: Date) => number;
|
|
82
82
|
declare const commonQuickOptions: {
|
|
83
83
|
today: {
|
|
84
|
-
label:
|
|
84
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
85
85
|
value: () => DateRange;
|
|
86
86
|
};
|
|
87
87
|
thisWeek: {
|
|
88
|
-
label:
|
|
88
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
89
89
|
value: (props: DatePickerProps) => DateRange;
|
|
90
90
|
};
|
|
91
91
|
thisMonth: {
|
|
92
|
-
label:
|
|
92
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
93
93
|
value: () => DateRange;
|
|
94
94
|
};
|
|
95
95
|
thisYear: {
|
|
96
|
-
label:
|
|
96
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
97
97
|
value: () => DateRange;
|
|
98
98
|
};
|
|
99
99
|
lastSevenDays: {
|
|
100
|
-
label:
|
|
100
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
101
101
|
value: () => DateRange;
|
|
102
102
|
};
|
|
103
103
|
lastThirtyDays: {
|
|
104
|
-
label:
|
|
104
|
+
label: _emotion_react_jsx_runtime1.JSX.Element;
|
|
105
105
|
value: () => DateRange;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
/** Returns whether two dates and/or date ranges intersect. Intersection is considered per day. */
|
|
109
109
|
declare function dateIntersect(a: Date | DateRange | null | undefined, b: Date | DateRange | null | undefined): boolean;
|
|
110
110
|
declare function dateClamp(date: Date, min?: Date, max?: Date): Date;
|
|
111
|
-
declare function DatePicker(props: DatePickerProps):
|
|
111
|
+
declare function DatePicker(props: DatePickerProps): _emotion_react_jsx_runtime1.JSX.Element;
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/dateFilter.d.ts
|
|
114
114
|
declare function DateFilter<TItem, TColumnValue>({
|
|
@@ -256,7 +256,7 @@ declare function TableSettingsProvider({
|
|
|
256
256
|
}: Partial<TableSettingsContextType> & {
|
|
257
257
|
additionalExporters?: ExporterEntry[];
|
|
258
258
|
children?: ReactNode;
|
|
259
|
-
}):
|
|
259
|
+
}): _emotion_react_jsx_runtime1.JSX.Element;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/misc/textMatch.d.ts
|
|
262
262
|
declare const textMatch: (text: string, query: string) => boolean;
|