@dynamic-labs-sdk/droplet 1.49.0 → 1.50.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/components/empty-state/empty-state.d.ts +3 -3
- package/dist/components/empty-state/empty-state.d.ts.map +1 -1
- package/dist/components/status-badge/status-badge.d.ts.map +1 -1
- package/dist/components/tab-navigation/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/data-table/create-column-helper.d.ts +20 -0
- package/dist/components/ui/data-table/create-column-helper.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-active-filters.d.ts +37 -0
- package/dist/components/ui/data-table/data-table-active-filters.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-column-filter.d.ts +48 -0
- package/dist/components/ui/data-table/data-table-column-filter.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-column-visibility.d.ts +37 -0
- package/dist/components/ui/data-table/data-table-column-visibility.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-content.d.ts +43 -0
- package/dist/components/ui/data-table/data-table-content.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-context.d.ts +13 -0
- package/dist/components/ui/data-table/data-table-context.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-pagination.d.ts +38 -0
- package/dist/components/ui/data-table/data-table-pagination.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-placeholder-rows.d.ts +21 -0
- package/dist/components/ui/data-table/data-table-placeholder-rows.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-rows.d.ts +22 -0
- package/dist/components/ui/data-table/data-table-rows.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-search.d.ts +40 -0
- package/dist/components/ui/data-table/data-table-search.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table.d.ts +56 -0
- package/dist/components/ui/data-table/data-table.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table.stories.d.ts +32 -0
- package/dist/components/ui/data-table/data-table.stories.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table.types.d.ts +189 -0
- package/dist/components/ui/data-table/data-table.types.d.ts.map +1 -0
- package/dist/components/ui/data-table/expand-chevron.d.ts +7 -0
- package/dist/components/ui/data-table/expand-chevron.d.ts.map +1 -0
- package/dist/components/ui/data-table/get-column-label.d.ts +7 -0
- package/dist/components/ui/data-table/get-column-label.d.ts.map +1 -0
- package/dist/components/ui/data-table/get-pinned-cell-props.d.ts +15 -0
- package/dist/components/ui/data-table/get-pinned-cell-props.d.ts.map +1 -0
- package/dist/components/ui/data-table/selection-column.d.ts +24 -0
- package/dist/components/ui/data-table/selection-column.d.ts.map +1 -0
- package/dist/components/ui/data-table/use-data-table.d.ts +157 -0
- package/dist/components/ui/data-table/use-data-table.d.ts.map +1 -0
- package/dist/components/ui/pagination/pagination.d.ts +2 -2
- package/dist/components/ui/pagination/pagination.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts +7 -3
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/table.stories.d.ts +3 -1
- package/dist/components/ui/table/table.stories.d.ts.map +1 -1
- package/dist/components/ui/tabs/tabs.d.ts +3 -1
- package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/index.cjs +1434 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1426 -103
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -1
- package/src/styles/globals.css +44 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type ComponentType, type ReactElement, type ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type EmptyStateProps = {
|
|
3
3
|
action?: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
description
|
|
5
|
+
description?: string;
|
|
6
6
|
icon: ComponentType<{
|
|
7
7
|
className?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
}>;
|
|
10
10
|
title: string;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
export declare const EmptyState: ({ icon: Icon, title, description, action, className, }: EmptyStateProps) => ReactElement;
|
|
13
13
|
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9E,MAAM,
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9E,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,UAAU,2DAMpB,eAAe,KAAG,YAoBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../../src/components/status-badge/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../../src/components/status-badge/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,KAAK,UAAU,GACX,QAAQ,GACR,UAAU,GACV,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,YAAY,CAAC;AAwBjB,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,kCAIrB,gBAAgB,KAAG,YASrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-navigation.d.ts","sourceRoot":"","sources":["../../../src/components/tab-navigation/tab-navigation.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"tab-navigation.d.ts","sourceRoot":"","sources":["../../../src/components/tab-navigation/tab-navigation.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,YAAY,EAIlB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,IAAI,EAAyB,MAAM,YAAY,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,aAAa,CAAC,GAAG;IAC3E,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,aAAa,iFAQhB,kBAAkB,KAAG,YA2FvB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createColumnHelper as createTanStackColumnHelper } from '@tanstack/react-table';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a helper that builds typed column definitions for rows of type `TData`. Its `accessor`, `display` and `group` methods infer each column's value type.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const columnHelper = createColumnHelper<User>();
|
|
8
|
+
*
|
|
9
|
+
* const columns = [
|
|
10
|
+
* columnHelper.accessor('name', { header: 'Name' }),
|
|
11
|
+
* columnHelper.accessor('email', { header: 'Email' }),
|
|
12
|
+
* ];
|
|
13
|
+
* ```
|
|
14
|
+
* @returns A column helper for rows of type `TData`.
|
|
15
|
+
* @see ColumnDef
|
|
16
|
+
* @see useDataTable
|
|
17
|
+
*/
|
|
18
|
+
declare const createColumnHelper: typeof createTanStackColumnHelper;
|
|
19
|
+
export { createColumnHelper };
|
|
20
|
+
//# sourceMappingURL=create-column-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-column-helper.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/create-column-helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAEzF;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,kBAAkB,EAAE,OAAO,0BACL,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link DataTableActiveFilters}.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const props: DataTableActiveFiltersProps = { className: 'px-4' };
|
|
8
|
+
* ```
|
|
9
|
+
* @see DataTableActiveFilters
|
|
10
|
+
* @see DataTableColumnFilter
|
|
11
|
+
*/
|
|
12
|
+
type DataTableActiveFiltersProps = {
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* One chip per active filter, each with a button that removes it, plus a button that clears them all.
|
|
17
|
+
* The search text gets a chip too. Renders nothing while no filter is active.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <DataTable table={dataTable}>
|
|
22
|
+
* <DataTableToolbar>
|
|
23
|
+
* <DataTableSearch />
|
|
24
|
+
* </DataTableToolbar>
|
|
25
|
+
* <DataTableActiveFilters />
|
|
26
|
+
* <DataTableContent />
|
|
27
|
+
* </DataTable>
|
|
28
|
+
* ```
|
|
29
|
+
* @returns The rendered filter chips, or nothing when no filter is active.
|
|
30
|
+
* @see DataTableColumnFilter
|
|
31
|
+
* @see DataTableSearch
|
|
32
|
+
* @see useDataTable
|
|
33
|
+
*/
|
|
34
|
+
declare const DataTableActiveFilters: ({ className, }: DataTableActiveFiltersProps) => ReactElement | null;
|
|
35
|
+
export { DataTableActiveFilters };
|
|
36
|
+
export type { DataTableActiveFiltersProps };
|
|
37
|
+
//# sourceMappingURL=data-table-active-filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-active-filters.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-active-filters.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAyF1C;;;;;;;;;GASG;AACH,KAAK,2BAA2B,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,sBAAsB,mBAEzB,2BAA2B,KAAG,YAAY,GAAG,IAkD/C,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Column } from '@tanstack/react-table';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Props for {@link DataTableColumnFilter}.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* const props: DataTableColumnFilterProps<User> = { column: header.column };
|
|
9
|
+
* ```
|
|
10
|
+
* @see DataTableColumnFilter
|
|
11
|
+
* @see DataTableActiveFilters
|
|
12
|
+
*/
|
|
13
|
+
type DataTableColumnFilterProps<TData> = {
|
|
14
|
+
className?: string;
|
|
15
|
+
/** The column to filter. It needs `meta.filter`, and `filtering` turned on in `useDataTable`. */
|
|
16
|
+
column: Column<TData, unknown>;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A filter button that opens a column's filter: a text field for `meta.filter: 'text'`, or a checklist for `meta.filter: 'values'`.
|
|
20
|
+
* `DataTableContent` already adds it to each filterable header; render it yourself only in a header you build without `DataTableContent`.
|
|
21
|
+
* The checklist offers `meta.filterOptions`, else the values in the data. With manual filtering and no `filterOptions`,
|
|
22
|
+
* it can only offer the values in the rows currently loaded, so pass `filterOptions` when the server holds more.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* const columns: ColumnDef<User>[] = [
|
|
27
|
+
* { accessorKey: 'role', header: 'Role', meta: { filter: 'values' } },
|
|
28
|
+
* ];
|
|
29
|
+
*
|
|
30
|
+
* // In a header row you render yourself:
|
|
31
|
+
* <th>
|
|
32
|
+
* Role
|
|
33
|
+
* <DataTableColumnFilter column={header.column} />
|
|
34
|
+
* </th>
|
|
35
|
+
* ```
|
|
36
|
+
* @returns The rendered filter button and its popover.
|
|
37
|
+
* @see DataTableContent
|
|
38
|
+
* @see DataTableActiveFilters
|
|
39
|
+
* @see DataTableSearch
|
|
40
|
+
*/
|
|
41
|
+
declare const DataTableColumnFilter: <TData>({ className, column, }: DataTableColumnFilterProps<TData>) => ReactElement;
|
|
42
|
+
/** The body of a column's filter popover, shared by the header filter button and the active-filter chips. */
|
|
43
|
+
declare const DataTableColumnFilterContent: <TData>({ column, }: {
|
|
44
|
+
column: Column<TData, unknown>;
|
|
45
|
+
}) => ReactElement;
|
|
46
|
+
export { DataTableColumnFilter, DataTableColumnFilterContent };
|
|
47
|
+
export type { DataTableColumnFilterProps };
|
|
48
|
+
//# sourceMappingURL=data-table-column-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-column-filter.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-column-filter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAS,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAqF1C;;;;;;;;;GASG;AACH,KAAK,0BAA0B,CAAC,KAAK,IAAI;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,qBAAqB,GAAI,KAAK,0BAGjC,0BAA0B,CAAC,KAAK,CAAC,KAAG,YA0BtC,CAAC;AAEF,6GAA6G;AAC7G,QAAA,MAAM,4BAA4B,GAAI,KAAK,eAExC;IACD,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;CAChC,KAAG,YA6BH,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,CAAC;AAC/D,YAAY,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link DataTableColumnVisibility}.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const props: DataTableColumnVisibilityProps = { label: 'Fields' };
|
|
8
|
+
* ```
|
|
9
|
+
* @see DataTableColumnVisibility
|
|
10
|
+
* @see useDataTable
|
|
11
|
+
*/
|
|
12
|
+
type DataTableColumnVisibilityProps = {
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Menu trigger text. */
|
|
15
|
+
label?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Lets people choose which columns are shown, from a menu with a checkbox per column.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <DataTable table={dataTable}>
|
|
23
|
+
* <DataTableToolbar>
|
|
24
|
+
* <DataTableColumnVisibility label="Columns" />
|
|
25
|
+
* </DataTableToolbar>
|
|
26
|
+
* <DataTableContent />
|
|
27
|
+
* </DataTable>
|
|
28
|
+
* ```
|
|
29
|
+
* @returns The rendered column picker menu.
|
|
30
|
+
* @see DataTable
|
|
31
|
+
* @see DataTableToolbar
|
|
32
|
+
* @see useDataTable
|
|
33
|
+
*/
|
|
34
|
+
declare const DataTableColumnVisibility: ({ className, label, }: DataTableColumnVisibilityProps) => ReactElement;
|
|
35
|
+
export { DataTableColumnVisibility };
|
|
36
|
+
export type { DataTableColumnVisibilityProps };
|
|
37
|
+
//# sourceMappingURL=data-table-column-visibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-column-visibility.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-column-visibility.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAa1C;;;;;;;;;GASG;AACH,KAAK,8BAA8B,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,yBAAyB,0BAG5B,8BAA8B,KAAG,YAmDnC,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AACrC,YAAY,EAAE,8BAA8B,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactElement } from 'react';
|
|
2
|
+
import type { EmptyStateProps } from '../../empty-state/empty-state';
|
|
3
|
+
import { Table } from '../table/table';
|
|
4
|
+
/**
|
|
5
|
+
* Props for {@link DataTableContent}: the empty and loading states, plus the props of the underlying table element.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const props: DataTableContentProps = { emptyTitle: 'No users yet' };
|
|
10
|
+
* ```
|
|
11
|
+
* @see DataTableContent
|
|
12
|
+
* @see DataTable
|
|
13
|
+
*/
|
|
14
|
+
type DataTableContentProps = Omit<ComponentProps<typeof Table>, 'children' | 'fill' | 'stickyFirstColumn' | 'viewportRef'> & {
|
|
15
|
+
/** Title for the empty state when filters or search hide every row. It comes with a button that clears them. */
|
|
16
|
+
emptyFilteredTitle?: string;
|
|
17
|
+
/** Icon for the empty state. Defaults to a table icon. */
|
|
18
|
+
emptyIcon?: EmptyStateProps['icon'];
|
|
19
|
+
/** Title for the empty state. */
|
|
20
|
+
emptyTitle?: string;
|
|
21
|
+
/** How many skeleton rows to show while loading. */
|
|
22
|
+
loadingRowCount?: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The table itself: headers, rows, and the loading and empty states.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* const dataTable = useDataTable({ columns, data, sorting: { mode: 'client' } });
|
|
30
|
+
*
|
|
31
|
+
* <DataTable table={dataTable}>
|
|
32
|
+
* <DataTableContent emptyTitle="No users yet" />
|
|
33
|
+
* </DataTable>
|
|
34
|
+
* ```
|
|
35
|
+
* @returns The rendered table element.
|
|
36
|
+
* @see DataTable
|
|
37
|
+
* @see useDataTable
|
|
38
|
+
* @see DataTablePagination
|
|
39
|
+
*/
|
|
40
|
+
declare const DataTableContent: ({ className, emptyFilteredTitle, emptyIcon, emptyTitle, loadingRowCount, style, ...props }: DataTableContentProps) => ReactElement;
|
|
41
|
+
export { DataTableContent };
|
|
42
|
+
export type { DataTableContentProps };
|
|
43
|
+
//# sourceMappingURL=data-table-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-content.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-content.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,cAAc,EAAsB,KAAK,YAAY,EAAuC,MAAM,OAAO,CAAC;AAGxH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,KAAK,EAA+C,MAAM,gBAAgB,CAAC;AAqJpF;;;;;;;;;GASG;AACH,KAAK,qBAAqB,GAAG,IAAI,CAC/B,cAAc,CAAC,OAAO,KAAK,CAAC,EAC5B,UAAU,GAAG,MAAM,GAAG,mBAAmB,GAAG,aAAa,CAC1D,GAAG;IACF,gHAAgH;IAChH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IACpC,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,gBAAgB,+FAQnB,qBAAqB,KAAG,YA2H1B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DataTableInstance } from './use-data-table';
|
|
2
|
+
type DataTableContextValue = DataTableInstance<any> & {
|
|
3
|
+
fill: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const DataTableContext: import("react").Context<DataTableContextValue | null>;
|
|
6
|
+
/**
|
|
7
|
+
* Read the state of the nearest `DataTable`, for building custom table parts.
|
|
8
|
+
* Throws when called outside a `DataTable`.
|
|
9
|
+
*/
|
|
10
|
+
declare const useDataTableContext: () => DataTableContextValue;
|
|
11
|
+
export { DataTableContext, useDataTableContext };
|
|
12
|
+
export type { DataTableContextValue };
|
|
13
|
+
//# sourceMappingURL=data-table-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-context.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-context.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAExE,QAAA,MAAM,gBAAgB,uDAAoD,CAAC;AAE3E;;;GAGG;AACH,QAAA,MAAM,mBAAmB,QAAO,qBAO/B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;AACjD,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link DataTablePagination}.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const props: DataTablePaginationProps = { className: 'justify-start' };
|
|
8
|
+
* ```
|
|
9
|
+
* @see DataTablePagination
|
|
10
|
+
* @see useDataTable
|
|
11
|
+
*/
|
|
12
|
+
type DataTablePaginationProps = {
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Previous and next buttons beside the visible row range, for client or server pagination. Renders nothing when pagination is off.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* const dataTable = useDataTable({
|
|
21
|
+
* columns,
|
|
22
|
+
* data,
|
|
23
|
+
* pagination: { mode: 'client', pageSize: 25 },
|
|
24
|
+
* });
|
|
25
|
+
*
|
|
26
|
+
* <DataTable table={dataTable}>
|
|
27
|
+
* <DataTableContent />
|
|
28
|
+
* <DataTablePagination />
|
|
29
|
+
* </DataTable>
|
|
30
|
+
* ```
|
|
31
|
+
* @returns The rendered pagination controls, or `null` when pagination is off.
|
|
32
|
+
* @see useDataTable
|
|
33
|
+
* @see DataTable
|
|
34
|
+
*/
|
|
35
|
+
declare const DataTablePagination: ({ className, }: DataTablePaginationProps) => ReactElement | null;
|
|
36
|
+
export { DataTablePagination };
|
|
37
|
+
export type { DataTablePaginationProps };
|
|
38
|
+
//# sourceMappingURL=data-table-pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-pagination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C;;;;;;;;;GASG;AACH,KAAK,wBAAwB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,mBAAmB,mBAEtB,wBAAwB,KAAG,YAAY,GAAG,IA+B5C,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
2
|
+
import type { EmptyStateProps } from '../../empty-state/empty-state';
|
|
3
|
+
/** Placeholder, group and detail rows are not interactive, so they must not take the row hover fill. */
|
|
4
|
+
declare const STATIC_ROW = "hover:bg-transparent hover:[--table-row-overlay:transparent]";
|
|
5
|
+
type DataTableSkeletonRowsProps = {
|
|
6
|
+
columnCount: number;
|
|
7
|
+
rowCount: number;
|
|
8
|
+
};
|
|
9
|
+
/** Skeleton rows shown while data loads. Only the first bar is announced, so screen readers hear "Loading" once. */
|
|
10
|
+
declare const DataTableSkeletonRows: ({ columnCount, rowCount, }: DataTableSkeletonRowsProps) => ReactElement;
|
|
11
|
+
type DataTableEmptyRowProps = {
|
|
12
|
+
/** An action under the title, for example a button that clears the filters. */
|
|
13
|
+
action?: ReactNode;
|
|
14
|
+
columnCount: number;
|
|
15
|
+
icon: EmptyStateProps['icon'];
|
|
16
|
+
title: string;
|
|
17
|
+
};
|
|
18
|
+
/** Ghost rows keep the table's shape behind an icon and title. */
|
|
19
|
+
declare const DataTableEmptyRow: ({ action, columnCount, icon, title, }: DataTableEmptyRowProps) => ReactElement;
|
|
20
|
+
export { DataTableEmptyRow, DataTableSkeletonRows, STATIC_ROW };
|
|
21
|
+
//# sourceMappingURL=data-table-placeholder-rows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-placeholder-rows.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-placeholder-rows.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAOrE,wGAAwG;AACxG,QAAA,MAAM,UAAU,iEAAiE,CAAC;AAKlF,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oHAAoH;AACpH,QAAA,MAAM,qBAAqB,+BAGxB,0BAA0B,KAAG,YAmB/B,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,+EAA+E;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,kEAAkE;AAClE,QAAA,MAAM,iBAAiB,0CAKpB,sBAAsB,KAAG,YAqC3B,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type Row } from '@tanstack/react-table';
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ReactElement, type Ref } from 'react';
|
|
3
|
+
/** Fixed layout cells clip and truncate, so a narrowed column cannot spill into its neighbour. The checkbox column never needs it. */
|
|
4
|
+
declare const FIXED_LAYOUT_CELL_CLASS = "overflow-hidden text-ellipsis";
|
|
5
|
+
type AnyRow = Row<any>;
|
|
6
|
+
/** The checkbox column holds one control, so it stays narrow and never clips. */
|
|
7
|
+
declare const isControlColumn: (columnId: string) => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Lands on the row's `<tr>`, for the virtualizer to measure it. A named prop rather than `ref`, because on React 18
|
|
10
|
+
* a plain function component never receives `ref`.
|
|
11
|
+
*/
|
|
12
|
+
type RowRef = Ref<HTMLTableRowElement> | undefined;
|
|
13
|
+
type DataTableBodyRowProps = ComponentPropsWithoutRef<'tr'> & {
|
|
14
|
+
columnCount: number;
|
|
15
|
+
hasFixedLayout: boolean;
|
|
16
|
+
row: AnyRow;
|
|
17
|
+
rowRef?: RowRef;
|
|
18
|
+
};
|
|
19
|
+
/** One table row, as a group header or a data row. Row props and `rowRef` land on its `<tr>`. */
|
|
20
|
+
declare const DataTableBodyRow: ({ columnCount, hasFixedLayout, row, ...props }: DataTableBodyRowProps) => ReactElement;
|
|
21
|
+
export { DataTableBodyRow, FIXED_LAYOUT_CELL_CLASS, isControlColumn };
|
|
22
|
+
//# sourceMappingURL=data-table-rows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-rows.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-rows.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAAc,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AASnF,sIAAsI;AACtI,QAAA,MAAM,uBAAuB,kCAAkC,CAAC;AAahE,KAAK,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvB,iFAAiF;AACjF,QAAA,MAAM,eAAe,aAAc,MAAM,KAAG,OAA2C,CAAC;AAsBxF;;;GAGG;AACH,KAAK,MAAM,GAAG,GAAG,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;AAmGnD,KAAK,qBAAqB,GAAG,wBAAwB,CAAC,IAAI,CAAC,GAAG;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,iGAAiG;AACjG,QAAA,MAAM,gBAAgB,mDAKnB,qBAAqB,KAAG,YAc1B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link DataTableSearch}.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const props: DataTableSearchProps = { placeholder: 'Search users' };
|
|
8
|
+
* ```
|
|
9
|
+
* @see DataTableSearch
|
|
10
|
+
* @see DataTableActiveFilters
|
|
11
|
+
*/
|
|
12
|
+
type DataTableSearchProps = {
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Placeholder text, also the field's accessible name. */
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A search field that matches its text across the table's columns. Needs `filtering` in `useDataTable`, and renders nothing without it.
|
|
19
|
+
* With manual filtering the app receives the text as `globalFilter` and filters the data itself.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* const dataTable = useDataTable({ columns, data, filtering: { mode: 'client' } });
|
|
24
|
+
*
|
|
25
|
+
* <DataTable table={dataTable}>
|
|
26
|
+
* <DataTableToolbar>
|
|
27
|
+
* <DataTableSearch placeholder="Search users" />
|
|
28
|
+
* </DataTableToolbar>
|
|
29
|
+
* <DataTableContent />
|
|
30
|
+
* </DataTable>
|
|
31
|
+
* ```
|
|
32
|
+
* @returns The rendered search field, or nothing when filtering is off.
|
|
33
|
+
* @see DataTableToolbar
|
|
34
|
+
* @see DataTableActiveFilters
|
|
35
|
+
* @see useDataTable
|
|
36
|
+
*/
|
|
37
|
+
declare const DataTableSearch: ({ className, placeholder, }: DataTableSearchProps) => ReactElement | null;
|
|
38
|
+
export { DataTableSearch };
|
|
39
|
+
export type { DataTableSearchProps };
|
|
40
|
+
//# sourceMappingURL=data-table-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-search.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table-search.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C;;;;;;;;;GASG;AACH,KAAK,oBAAoB,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,eAAe,gCAGlB,oBAAoB,KAAG,YAAY,GAAG,IAwBxC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactElement } from 'react';
|
|
2
|
+
import type { DataTableInstance } from './use-data-table';
|
|
3
|
+
/**
|
|
4
|
+
* Props for {@link DataTable}: the `table` from `useDataTable`, an optional `fill` layout mode, and any `div` props.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* const props: DataTableProps<User> = { table: dataTable, fill: true };
|
|
9
|
+
* ```
|
|
10
|
+
* @see DataTable
|
|
11
|
+
* @see useDataTable
|
|
12
|
+
*/
|
|
13
|
+
type DataTableProps<TData> = ComponentProps<'div'> & {
|
|
14
|
+
/** Stretch to the height the parent gives it, with a pinned header and one scrollbar. The parent must be a flex column with a bounded height. */
|
|
15
|
+
fill?: boolean;
|
|
16
|
+
/** The result of `useDataTable`. */
|
|
17
|
+
table: DataTableInstance<TData>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Root of a data table. Holds the table state for `DataTableContent`, `DataTablePagination` and the other parts.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* const dataTable = useDataTable({ columns, data });
|
|
25
|
+
*
|
|
26
|
+
* <DataTable table={dataTable}>
|
|
27
|
+
* <DataTableToolbar>
|
|
28
|
+
* <DataTableColumnVisibility />
|
|
29
|
+
* </DataTableToolbar>
|
|
30
|
+
* <DataTableContent />
|
|
31
|
+
* </DataTable>
|
|
32
|
+
* ```
|
|
33
|
+
* @returns The rendered data table root element.
|
|
34
|
+
* @see useDataTable
|
|
35
|
+
* @see DataTableContent
|
|
36
|
+
* @see DataTableToolbar
|
|
37
|
+
*/
|
|
38
|
+
declare const DataTable: <TData>({ children, className, fill, table, ...props }: DataTableProps<TData>) => ReactElement;
|
|
39
|
+
/**
|
|
40
|
+
* Row above the table for search, filters and actions.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```tsx
|
|
44
|
+
* <DataTableToolbar>
|
|
45
|
+
* <Input placeholder="Search users" />
|
|
46
|
+
* <DataTableColumnVisibility />
|
|
47
|
+
* </DataTableToolbar>
|
|
48
|
+
* ```
|
|
49
|
+
* @returns The rendered toolbar element.
|
|
50
|
+
* @see DataTable
|
|
51
|
+
* @see DataTableColumnVisibility
|
|
52
|
+
*/
|
|
53
|
+
declare const DataTableToolbar: ({ className, ...props }: ComponentProps<"div">) => ReactElement;
|
|
54
|
+
export { DataTable, DataTableToolbar };
|
|
55
|
+
export type { DataTableProps };
|
|
56
|
+
//# sourceMappingURL=data-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAIxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;;;;;;;;GASG;AACH,KAAK,cAAc,CAAC,KAAK,IAAI,cAAc,CAAC,KAAK,CAAC,GAAG;IACnD,iJAAiJ;IACjJ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oCAAoC;IACpC,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,SAAS,GAAI,KAAK,kDAMrB,cAAc,CAAC,KAAK,CAAC,KAAG,YAmB1B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,gBAAgB,4BAGnB,cAAc,CAAC,KAAK,CAAC,KAAG,YAM1B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AACvC,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
3
|
+
import { type DataTableProps } from './data-table';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: <TData>({ children, className, fill, table, ...props }: DataTableProps<TData>) => ReactElement;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<Partial<DataTableProps<unknown>>>;
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
export declare const Sortable: Story;
|
|
16
|
+
export declare const Paginated: Story;
|
|
17
|
+
export declare const Manual: Story;
|
|
18
|
+
export declare const Selection: Story;
|
|
19
|
+
export declare const ColumnVisibility: Story;
|
|
20
|
+
export declare const Pinned: Story;
|
|
21
|
+
export declare const Resizable: Story;
|
|
22
|
+
export declare const Loading: Story;
|
|
23
|
+
export declare const Empty: Story;
|
|
24
|
+
export declare const WideScroll: Story;
|
|
25
|
+
export declare const Fill: Story;
|
|
26
|
+
export declare const Filtering: Story;
|
|
27
|
+
export declare const Everything: Story;
|
|
28
|
+
export declare const FilteringManual: Story;
|
|
29
|
+
export declare const Grouped: Story;
|
|
30
|
+
export declare const Virtualized: Story;
|
|
31
|
+
export declare const MultiSort: Story;
|
|
32
|
+
//# sourceMappingURL=data-table.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/data-table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AAGpD,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAC;AAUtB,QAAA,MAAM,IAAI;;;;;;;CAKwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AA2OxD,eAAO,MAAM,OAAO,EAAE,KAAqC,CAAC;AAE5D,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAC;AA4CF,eAAO,MAAM,MAAM,EAAE,KAA0C,CAAC;AAEhE,eAAO,MAAM,SAAS,EAAE,KAmBvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAiB9B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAA6C,CAAC;AAEpE,eAAO,MAAM,KAAK,EAAE,KAA+C,CAAC;AAEpE,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAiBlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAuBvB,CAAC;AAyCF,eAAO,MAAM,UAAU,EAAE,KA6BxB,CAAC;AAgEF,eAAO,MAAM,eAAe,EAAE,KAA4C,CAAC;AAE3E,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAoBzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
|