@adapttable/mui 0.1.1 → 0.2.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.d.cts CHANGED
@@ -1,16 +1,15 @@
1
- import * as react from 'react';
2
- import { ReactNode } from 'react';
3
- import { UseSavedViewsOptions, TableLabels, BaseDataTableProps, TableSource, UseServerDataOptions, UrlStateAdapter } from '@adapttable/core';
4
- export { ActionConfirm, ActiveFilterChip, BulkAction, CellProps, ColorScheme, ColumnDef, ColumnFilter, ConfirmHandler, ConfirmRequest, Direction, ExtraFilters, FilterDef, FilterOption, FilterType, FilterValue, InfiniteQueryLike, PageSelector, PaginatedResponse, PaginationMode, RowAction, SavedView, SortByOption, SortDirection, SortableValue, TableLabels, TableQuery, TableSource, UrlStateAdapter, UseBackendDataOptions, UseDataTableResult, UseFrontendDataOptions, UseSavedViewsOptions, UseSavedViewsResult, UseTableUrlStateOptions, UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState } from '@adapttable/core';
1
+ import { ActionConfirm, ActiveFilterChip, BaseDataTableProps, BulkAction, CellProps, ColorScheme, ColumnDef, ColumnFilter, ConfirmHandler, ConfirmRequest, Direction, ExtraFilters, FilterDef, FilterOption, FilterType, FilterValue, InfiniteQueryLike, PageSelector, PaginatedResponse, PaginationMode, RowAction, SavedView, SortByOption, SortDirection, SortableValue, TableLabels, TableLabels as TableLabels$1, TableQuery, TableSource, TableSource as TableSource$1, UrlStateAdapter, UrlStateAdapter as UrlStateAdapter$1, UseBackendDataOptions, UseDataTableResult, UseFrontendDataOptions, UseSavedViewsOptions, UseSavedViewsOptions as UseSavedViewsOptions$1, UseSavedViewsResult, UseServerDataOptions, UseTableUrlStateOptions, UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState } from "@adapttable/core";
2
+ import { ReactNode } from "react";
5
3
 
4
+ //#region src/components/SavedViewsMenu.d.ts
6
5
  /** The label subset the saved-views menu renders. */
7
- type SavedViewsMenuLabels = Pick<Required<TableLabels>, "savedViews" | "saveView" | "viewName" | "deleteView">;
6
+ type SavedViewsMenuLabels = Pick<Required<TableLabels$1>, "savedViews" | "saveView" | "viewName" | "deleteView">;
8
7
  /** Props for the saved-views menu. */
9
8
  interface SavedViewsMenuProps {
10
- /** Storage + URL backend wiring, forwarded to core's `useSavedViews`. */
11
- options: UseSavedViewsOptions;
12
- /** Resolved table labels (trigger, save row, delete action). */
13
- labels: SavedViewsMenuLabels;
9
+ /** Storage + URL backend wiring, forwarded to core's `useSavedViews`. */
10
+ options: UseSavedViewsOptions$1;
11
+ /** Resolved table labels (trigger, save row, delete action). */
12
+ labels: SavedViewsMenuLabels;
14
13
  }
15
14
  /**
16
15
  * MUI saved-views menu: a toolbar button opening a popover that lists the
@@ -18,76 +17,81 @@ interface SavedViewsMenuProps {
18
17
  * above a save row that captures the table's CURRENT URL state (search,
19
18
  * sort, page, filters, column layout) under a typed name.
20
19
  */
21
- declare function SavedViewsMenu({ options, labels, }: Readonly<SavedViewsMenuProps>): react.JSX.Element;
22
-
20
+ declare function SavedViewsMenu({
21
+ options,
22
+ labels
23
+ }: Readonly<SavedViewsMenuProps>): import("react").JSX.Element;
24
+ //#endregion
25
+ //#region src/types.d.ts
23
26
  /** Overridable sub-components. */
24
27
  interface DataTableSlots {
25
- /** Replace the loading skeleton. */
26
- skeleton?: ReactNode;
27
- /** Replace the empty-state. */
28
- empty?: ReactNode;
28
+ /** Replace the loading skeleton. */
29
+ skeleton?: ReactNode;
30
+ /** Replace the empty-state. */
31
+ empty?: ReactNode;
29
32
  }
30
33
  /** Props for the Material UI `<DataTable>`. */
31
34
  interface DataTableProps<TRow> extends Omit<BaseDataTableProps<TRow>, "source"> {
32
- /**
33
- * Full-control data tier: a prebuilt source (`useFrontendData` /
34
- * `useBackendData`). Omit it and pass `data` instead for the zero-ceremony
35
- * tiers below.
36
- */
37
- source?: TableSource<TRow>;
38
- /**
39
- * Frontend tier: the raw rows — the table filters/sorts/pages them.
40
- * With `onQueryChange` it becomes the server tier: the current page of
41
- * rows, exactly as the server returned them.
42
- */
43
- data?: readonly TRow[];
44
- /** Server tier: total row count across all pages (drives the pager). */
45
- total?: number;
46
- /** Server tier: request in flight. */
47
- loading?: boolean;
48
- /**
49
- * Server tier: fired with the consolidated query (page, search, sort,
50
- * filters) whenever it changes — including once on mount with the
51
- * URL-restored values. Run the request and hand back `data` + `total`.
52
- */
53
- onQueryChange?: UseServerDataOptions<TRow>["onQueryChange"];
54
- /**
55
- * URL-state backend for the built-in tiers. Defaults to the browser
56
- * History API; supply a router adapter (react-router / Next.js) — or a
57
- * memory adapter in tests — to integrate with an existing stack.
58
- */
59
- urlAdapter?: UrlStateAdapter;
60
- /**
61
- * Sync table state (search, sort, page, filters) to the URL. `false`
62
- * keeps everything in memory — the table works identically, the address
63
- * bar never changes, and any `urlAdapter` is ignored.
64
- *
65
- * @default true
66
- */
67
- urlSync?: boolean;
68
- /**
69
- * Namespace for this table's URL params (`left.q`, `left.f_status`, …) so
70
- * multiple tables can share one URL without colliding.
71
- */
72
- urlKey?: string;
73
- /**
74
- * Mount a saved-views menu in the toolbar: name and capture the table's
75
- * current URL state (search, sort, page, filters, column layout), then
76
- * re-apply it on demand. `adapter`/`urlKey` default to the table's own
77
- * `urlAdapter`/`urlKey`, so usually only `storageKey` is needed.
78
- */
79
- savedViews?: UseSavedViewsOptions;
80
- /** Replace sub-components (skeleton, empty-state). */
81
- slots?: DataTableSlots;
82
- /** Class name applied to the root `<Paper>`. */
83
- className?: string;
84
- /**
85
- * Explicit MUI table size override. When omitted, the size is derived from
86
- * `density`: `"comfortable"` → `"medium"`, `"compact"` → `"small"`.
87
- */
88
- size?: "small" | "medium";
35
+ /**
36
+ * Full-control data tier: a prebuilt source (`useFrontendData` /
37
+ * `useBackendData`). Omit it and pass `data` instead for the zero-ceremony
38
+ * tiers below.
39
+ */
40
+ source?: TableSource$1<TRow>;
41
+ /**
42
+ * Frontend tier: the raw rows — the table filters/sorts/pages them.
43
+ * With `onQueryChange` it becomes the server tier: the current page of
44
+ * rows, exactly as the server returned them.
45
+ */
46
+ data?: readonly TRow[];
47
+ /** Server tier: total row count across all pages (drives the pager). */
48
+ total?: number;
49
+ /** Server tier: request in flight. */
50
+ loading?: boolean;
51
+ /**
52
+ * Server tier: fired with the consolidated query (page, search, sort,
53
+ * filters) whenever it changes — including once on mount with the
54
+ * URL-restored values. Run the request and hand back `data` + `total`.
55
+ */
56
+ onQueryChange?: UseServerDataOptions<TRow>["onQueryChange"];
57
+ /**
58
+ * URL-state backend for the built-in tiers. Defaults to the browser
59
+ * History API; supply a router adapter (react-router / Next.js) — or a
60
+ * memory adapter in tests — to integrate with an existing stack.
61
+ */
62
+ urlAdapter?: UrlStateAdapter$1;
63
+ /**
64
+ * Sync table state (search, sort, page, filters) to the URL. `false`
65
+ * keeps everything in memory — the table works identically, the address
66
+ * bar never changes, and any `urlAdapter` is ignored.
67
+ *
68
+ * @default true
69
+ */
70
+ urlSync?: boolean;
71
+ /**
72
+ * Namespace for this table's URL params (`left.q`, `left.f_status`, …) so
73
+ * multiple tables can share one URL without colliding.
74
+ */
75
+ urlKey?: string;
76
+ /**
77
+ * Mount a saved-views menu in the toolbar: name and capture the table's
78
+ * current URL state (search, sort, page, filters, column layout), then
79
+ * re-apply it on demand. `adapter`/`urlKey` default to the table's own
80
+ * `urlAdapter`/`urlKey`, so usually only `storageKey` is needed.
81
+ */
82
+ savedViews?: UseSavedViewsOptions$1;
83
+ /** Replace sub-components (skeleton, empty-state). */
84
+ slots?: DataTableSlots;
85
+ /** Class name applied to the root `<Paper>`. */
86
+ className?: string;
87
+ /**
88
+ * Explicit MUI table size override. When omitted, the size is derived from
89
+ * `density`: `"comfortable"` → `"medium"`, `"compact"` → `"small"`.
90
+ */
91
+ size?: "small" | "medium";
89
92
  }
90
-
93
+ //#endregion
94
+ //#region src/DataTable.d.ts
91
95
  /**
92
96
  * Batteries-included Material UI data table. Drop in `columns`, `data` (or
93
97
  * `data` + `onQueryChange` for server fetching, or a full `source`), and a
@@ -98,6 +102,7 @@ interface DataTableProps<TRow> extends Omit<BaseDataTableProps<TRow>, "source">
98
102
  *
99
103
  * @typeParam TRow - The row type.
100
104
  */
101
- declare function DataTable<TRow>(props: Readonly<DataTableProps<TRow>>): react.JSX.Element;
102
-
103
- export { DataTable, type DataTableProps, type DataTableSlots, SavedViewsMenu, type SavedViewsMenuLabels, type SavedViewsMenuProps };
105
+ declare function DataTable<TRow>(props: Readonly<DataTableProps<TRow>>): import("react").JSX.Element;
106
+ //#endregion
107
+ export { type ActionConfirm, type ActiveFilterChip, type BulkAction, type CellProps, type ColorScheme, type ColumnDef, type ColumnFilter, type ConfirmHandler, type ConfirmRequest, DataTable, type DataTableProps, type DataTableSlots, type Direction, type ExtraFilters, type FilterDef, type FilterOption, type FilterType, type FilterValue, type InfiniteQueryLike, type PageSelector, type PaginatedResponse, type PaginationMode, type RowAction, type SavedView, SavedViewsMenu, type SavedViewsMenuLabels, type SavedViewsMenuProps, type SortByOption, type SortDirection, type SortableValue, type TableLabels, type TableQuery, type TableSource, type UrlStateAdapter, type UseBackendDataOptions, type UseDataTableResult, type UseFrontendDataOptions, type UseSavedViewsOptions, type UseSavedViewsResult, type UseTableUrlStateOptions, type UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState };
108
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/components/SavedViewsMenu.tsx","../src/types.ts","../src/DataTable.tsx"],"mappings":";;;;;KAiBY,oBAAA,GAAuB,IAAA,CACjC,QAAA,CAAS,aAAA;;UAKM,mBAAA;EANe;EAQ9B,OAAA,EAAS,sBAAA;EAPA;EAST,MAAA,EAAQ,oBAAoB;AAAA;;;;;;;iBASd,cAAA;EACd,OAAA;EACA;AAAA,GACC,QAAA,CAAS,mBAAA,oBAAoB,GAAA,CAAA,OAAA;;;;UC7Bf,cAAA;EDOL;ECLV,QAAA,GAAW,SAAA;;EAEX,KAAA,GAAQ,SAAS;AAAA;;UAIF,cAAA,eAA6B,IAAA,CAC5C,kBAAA,CAAmB,IAAA;EDFkB;;;;;ECUrC,MAAA,GAAS,aAAA,CAAY,IAAA;EDJN;;;;;ECUf,IAAA,YAAgB,IAAA;EDNhB;ECQA,KAAA;EDR4B;ECU5B,OAAA;EDDc;;;;;ECOd,aAAA,GAAgB,oBAAA,CAAqB,IAAA;EDJpC;;;;;ECUD,UAAA,GAAa,iBAAA;EDXb;;;;;;AAC8B;ECkB9B,OAAA;;;AA/CF;;EAoDE,MAAA;EAhDiB;;;;;;EAuDjB,UAAA,GAAa,sBAAA;EAnDE;EAqDf,KAAA,GAAQ,cAAA;EArDqB;EAuD7B,SAAA;EAtDA;;;;EA2DA,IAAA;AAAA;;;;;;AD7DF;;;;;;;iBEyHgB,SAAA,OAAgB,KAAA,EAAO,QAAA,CAAS,cAAA,CAAe,IAAA,qBAAM,GAAA,CAAA,OAAA"}
package/dist/index.d.ts CHANGED
@@ -1,16 +1,15 @@
1
- import * as react from 'react';
2
- import { ReactNode } from 'react';
3
- import { UseSavedViewsOptions, TableLabels, BaseDataTableProps, TableSource, UseServerDataOptions, UrlStateAdapter } from '@adapttable/core';
4
- export { ActionConfirm, ActiveFilterChip, BulkAction, CellProps, ColorScheme, ColumnDef, ColumnFilter, ConfirmHandler, ConfirmRequest, Direction, ExtraFilters, FilterDef, FilterOption, FilterType, FilterValue, InfiniteQueryLike, PageSelector, PaginatedResponse, PaginationMode, RowAction, SavedView, SortByOption, SortDirection, SortableValue, TableLabels, TableQuery, TableSource, UrlStateAdapter, UseBackendDataOptions, UseDataTableResult, UseFrontendDataOptions, UseSavedViewsOptions, UseSavedViewsResult, UseTableUrlStateOptions, UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState } from '@adapttable/core';
1
+ import { ActionConfirm, ActiveFilterChip, BaseDataTableProps, BulkAction, CellProps, ColorScheme, ColumnDef, ColumnFilter, ConfirmHandler, ConfirmRequest, Direction, ExtraFilters, FilterDef, FilterOption, FilterType, FilterValue, InfiniteQueryLike, PageSelector, PaginatedResponse, PaginationMode, RowAction, SavedView, SortByOption, SortDirection, SortableValue, TableLabels, TableLabels as TableLabels$1, TableQuery, TableSource, TableSource as TableSource$1, UrlStateAdapter, UrlStateAdapter as UrlStateAdapter$1, UseBackendDataOptions, UseDataTableResult, UseFrontendDataOptions, UseSavedViewsOptions, UseSavedViewsOptions as UseSavedViewsOptions$1, UseSavedViewsResult, UseServerDataOptions, UseTableUrlStateOptions, UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState } from "@adapttable/core";
2
+ import { ReactNode } from "react";
5
3
 
4
+ //#region src/components/SavedViewsMenu.d.ts
6
5
  /** The label subset the saved-views menu renders. */
7
- type SavedViewsMenuLabels = Pick<Required<TableLabels>, "savedViews" | "saveView" | "viewName" | "deleteView">;
6
+ type SavedViewsMenuLabels = Pick<Required<TableLabels$1>, "savedViews" | "saveView" | "viewName" | "deleteView">;
8
7
  /** Props for the saved-views menu. */
9
8
  interface SavedViewsMenuProps {
10
- /** Storage + URL backend wiring, forwarded to core's `useSavedViews`. */
11
- options: UseSavedViewsOptions;
12
- /** Resolved table labels (trigger, save row, delete action). */
13
- labels: SavedViewsMenuLabels;
9
+ /** Storage + URL backend wiring, forwarded to core's `useSavedViews`. */
10
+ options: UseSavedViewsOptions$1;
11
+ /** Resolved table labels (trigger, save row, delete action). */
12
+ labels: SavedViewsMenuLabels;
14
13
  }
15
14
  /**
16
15
  * MUI saved-views menu: a toolbar button opening a popover that lists the
@@ -18,76 +17,81 @@ interface SavedViewsMenuProps {
18
17
  * above a save row that captures the table's CURRENT URL state (search,
19
18
  * sort, page, filters, column layout) under a typed name.
20
19
  */
21
- declare function SavedViewsMenu({ options, labels, }: Readonly<SavedViewsMenuProps>): react.JSX.Element;
22
-
20
+ declare function SavedViewsMenu({
21
+ options,
22
+ labels
23
+ }: Readonly<SavedViewsMenuProps>): import("react").JSX.Element;
24
+ //#endregion
25
+ //#region src/types.d.ts
23
26
  /** Overridable sub-components. */
24
27
  interface DataTableSlots {
25
- /** Replace the loading skeleton. */
26
- skeleton?: ReactNode;
27
- /** Replace the empty-state. */
28
- empty?: ReactNode;
28
+ /** Replace the loading skeleton. */
29
+ skeleton?: ReactNode;
30
+ /** Replace the empty-state. */
31
+ empty?: ReactNode;
29
32
  }
30
33
  /** Props for the Material UI `<DataTable>`. */
31
34
  interface DataTableProps<TRow> extends Omit<BaseDataTableProps<TRow>, "source"> {
32
- /**
33
- * Full-control data tier: a prebuilt source (`useFrontendData` /
34
- * `useBackendData`). Omit it and pass `data` instead for the zero-ceremony
35
- * tiers below.
36
- */
37
- source?: TableSource<TRow>;
38
- /**
39
- * Frontend tier: the raw rows — the table filters/sorts/pages them.
40
- * With `onQueryChange` it becomes the server tier: the current page of
41
- * rows, exactly as the server returned them.
42
- */
43
- data?: readonly TRow[];
44
- /** Server tier: total row count across all pages (drives the pager). */
45
- total?: number;
46
- /** Server tier: request in flight. */
47
- loading?: boolean;
48
- /**
49
- * Server tier: fired with the consolidated query (page, search, sort,
50
- * filters) whenever it changes — including once on mount with the
51
- * URL-restored values. Run the request and hand back `data` + `total`.
52
- */
53
- onQueryChange?: UseServerDataOptions<TRow>["onQueryChange"];
54
- /**
55
- * URL-state backend for the built-in tiers. Defaults to the browser
56
- * History API; supply a router adapter (react-router / Next.js) — or a
57
- * memory adapter in tests — to integrate with an existing stack.
58
- */
59
- urlAdapter?: UrlStateAdapter;
60
- /**
61
- * Sync table state (search, sort, page, filters) to the URL. `false`
62
- * keeps everything in memory — the table works identically, the address
63
- * bar never changes, and any `urlAdapter` is ignored.
64
- *
65
- * @default true
66
- */
67
- urlSync?: boolean;
68
- /**
69
- * Namespace for this table's URL params (`left.q`, `left.f_status`, …) so
70
- * multiple tables can share one URL without colliding.
71
- */
72
- urlKey?: string;
73
- /**
74
- * Mount a saved-views menu in the toolbar: name and capture the table's
75
- * current URL state (search, sort, page, filters, column layout), then
76
- * re-apply it on demand. `adapter`/`urlKey` default to the table's own
77
- * `urlAdapter`/`urlKey`, so usually only `storageKey` is needed.
78
- */
79
- savedViews?: UseSavedViewsOptions;
80
- /** Replace sub-components (skeleton, empty-state). */
81
- slots?: DataTableSlots;
82
- /** Class name applied to the root `<Paper>`. */
83
- className?: string;
84
- /**
85
- * Explicit MUI table size override. When omitted, the size is derived from
86
- * `density`: `"comfortable"` → `"medium"`, `"compact"` → `"small"`.
87
- */
88
- size?: "small" | "medium";
35
+ /**
36
+ * Full-control data tier: a prebuilt source (`useFrontendData` /
37
+ * `useBackendData`). Omit it and pass `data` instead for the zero-ceremony
38
+ * tiers below.
39
+ */
40
+ source?: TableSource$1<TRow>;
41
+ /**
42
+ * Frontend tier: the raw rows — the table filters/sorts/pages them.
43
+ * With `onQueryChange` it becomes the server tier: the current page of
44
+ * rows, exactly as the server returned them.
45
+ */
46
+ data?: readonly TRow[];
47
+ /** Server tier: total row count across all pages (drives the pager). */
48
+ total?: number;
49
+ /** Server tier: request in flight. */
50
+ loading?: boolean;
51
+ /**
52
+ * Server tier: fired with the consolidated query (page, search, sort,
53
+ * filters) whenever it changes — including once on mount with the
54
+ * URL-restored values. Run the request and hand back `data` + `total`.
55
+ */
56
+ onQueryChange?: UseServerDataOptions<TRow>["onQueryChange"];
57
+ /**
58
+ * URL-state backend for the built-in tiers. Defaults to the browser
59
+ * History API; supply a router adapter (react-router / Next.js) — or a
60
+ * memory adapter in tests — to integrate with an existing stack.
61
+ */
62
+ urlAdapter?: UrlStateAdapter$1;
63
+ /**
64
+ * Sync table state (search, sort, page, filters) to the URL. `false`
65
+ * keeps everything in memory — the table works identically, the address
66
+ * bar never changes, and any `urlAdapter` is ignored.
67
+ *
68
+ * @default true
69
+ */
70
+ urlSync?: boolean;
71
+ /**
72
+ * Namespace for this table's URL params (`left.q`, `left.f_status`, …) so
73
+ * multiple tables can share one URL without colliding.
74
+ */
75
+ urlKey?: string;
76
+ /**
77
+ * Mount a saved-views menu in the toolbar: name and capture the table's
78
+ * current URL state (search, sort, page, filters, column layout), then
79
+ * re-apply it on demand. `adapter`/`urlKey` default to the table's own
80
+ * `urlAdapter`/`urlKey`, so usually only `storageKey` is needed.
81
+ */
82
+ savedViews?: UseSavedViewsOptions$1;
83
+ /** Replace sub-components (skeleton, empty-state). */
84
+ slots?: DataTableSlots;
85
+ /** Class name applied to the root `<Paper>`. */
86
+ className?: string;
87
+ /**
88
+ * Explicit MUI table size override. When omitted, the size is derived from
89
+ * `density`: `"comfortable"` → `"medium"`, `"compact"` → `"small"`.
90
+ */
91
+ size?: "small" | "medium";
89
92
  }
90
-
93
+ //#endregion
94
+ //#region src/DataTable.d.ts
91
95
  /**
92
96
  * Batteries-included Material UI data table. Drop in `columns`, `data` (or
93
97
  * `data` + `onQueryChange` for server fetching, or a full `source`), and a
@@ -98,6 +102,7 @@ interface DataTableProps<TRow> extends Omit<BaseDataTableProps<TRow>, "source">
98
102
  *
99
103
  * @typeParam TRow - The row type.
100
104
  */
101
- declare function DataTable<TRow>(props: Readonly<DataTableProps<TRow>>): react.JSX.Element;
102
-
103
- export { DataTable, type DataTableProps, type DataTableSlots, SavedViewsMenu, type SavedViewsMenuLabels, type SavedViewsMenuProps };
105
+ declare function DataTable<TRow>(props: Readonly<DataTableProps<TRow>>): import("react").JSX.Element;
106
+ //#endregion
107
+ export { type ActionConfirm, type ActiveFilterChip, type BulkAction, type CellProps, type ColorScheme, type ColumnDef, type ColumnFilter, type ConfirmHandler, type ConfirmRequest, DataTable, type DataTableProps, type DataTableSlots, type Direction, type ExtraFilters, type FilterDef, type FilterOption, type FilterType, type FilterValue, type InfiniteQueryLike, type PageSelector, type PaginatedResponse, type PaginationMode, type RowAction, type SavedView, SavedViewsMenu, type SavedViewsMenuLabels, type SavedViewsMenuProps, type SortByOption, type SortDirection, type SortableValue, type TableLabels, type TableQuery, type TableSource, type UrlStateAdapter, type UseBackendDataOptions, type UseDataTableResult, type UseFrontendDataOptions, type UseSavedViewsOptions, type UseSavedViewsResult, type UseTableUrlStateOptions, type UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultLabels, deriveSortByOptions, getHistoryAdapter, useBackendData, useDataTable, useFrontendData, useSavedViews, useTableUrlState };
108
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/SavedViewsMenu.tsx","../src/types.ts","../src/DataTable.tsx"],"mappings":";;;;;KAiBY,oBAAA,GAAuB,IAAA,CACjC,QAAA,CAAS,aAAA;;UAKM,mBAAA;EANe;EAQ9B,OAAA,EAAS,sBAAA;EAPA;EAST,MAAA,EAAQ,oBAAoB;AAAA;;;;;;;iBASd,cAAA;EACd,OAAA;EACA;AAAA,GACC,QAAA,CAAS,mBAAA,oBAAoB,GAAA,CAAA,OAAA;;;;UC7Bf,cAAA;EDOL;ECLV,QAAA,GAAW,SAAA;;EAEX,KAAA,GAAQ,SAAS;AAAA;;UAIF,cAAA,eAA6B,IAAA,CAC5C,kBAAA,CAAmB,IAAA;EDFkB;;;;;ECUrC,MAAA,GAAS,aAAA,CAAY,IAAA;EDJN;;;;;ECUf,IAAA,YAAgB,IAAA;EDNhB;ECQA,KAAA;EDR4B;ECU5B,OAAA;EDDc;;;;;ECOd,aAAA,GAAgB,oBAAA,CAAqB,IAAA;EDJpC;;;;;ECUD,UAAA,GAAa,iBAAA;EDXb;;;;;;AAC8B;ECkB9B,OAAA;;;AA/CF;;EAoDE,MAAA;EAhDiB;;;;;;EAuDjB,UAAA,GAAa,sBAAA;EAnDE;EAqDf,KAAA,GAAQ,cAAA;EArDqB;EAuD7B,SAAA;EAtDA;;;;EA2DA,IAAA;AAAA;;;;;;AD7DF;;;;;;;iBEyHgB,SAAA,OAAgB,KAAA,EAAO,QAAA,CAAS,cAAA,CAAe,IAAA,qBAAM,GAAA,CAAA,OAAA"}