@stealthscale/component-tables 0.2.2 → 0.2.3
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/cyclonedx/bom.json +1 -1
- package/dist/index.js +1 -6000
- package/dist/pages/data-table/data-table.js +4299 -0
- package/dist/pages/data-table/data-table.props.js +3 -0
- package/dist/pages/pages.json +21 -0
- package/dist/shared-DJAOX1dY.js +6001 -0
- package/dist/theme.js +1 -1
- package/locales/en/specimen/data-table.json +276 -0
- package/package.json +16 -15
- /package/dist/{recipe-E5qwAx85.js → recipes-E5qwAx85.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export const dropped = {"ColumnFilterProps": {"conditions": 0, "foreign": 0}, "ColumnManagerProps": {"conditions": 0, "foreign": 0}, "ColumnMenuProps": {"conditions": 0, "foreign": 0}, "PageSizeProps": {"conditions": 284, "foreign": 1040}, "PaginationProps": {"conditions": 284, "foreign": 1037}, "RootProps": {"conditions": 284, "foreign": 1041}, "SearchProps": {"conditions": 284, "foreign": 1064}, "TableProps": {"conditions": 284, "foreign": 1039}};
|
|
2
|
+
export const parts = {"ColumnFilterProps": [{"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "checkIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph inside a checked box of a `select` filter, such as a check mark."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "clearLabel", "refers": [], "required": false, "says": "Words of the button that clears the filter. \"Clear\" unless stated."}, {"accepts": "TableColumn", "fallback": "", "kind": "option", "name": "column", "refers": ["kit.ColumnMeta", "table-core.AccessorFn", "table-core.AggregationFnDef", "table-core.AggregationFnOption", "table-core.ColumnDef", "table-core.ColumnDefBase_Core", "table-core.ColumnDefTemplate", "table-core.ColumnDef_CellSelection", "table-core.ColumnDef_CellSpanning", "table-core.ColumnDef_ColumnFiltering", "table-core.ColumnDef_ColumnGrouping", "table-core.ColumnDef_ColumnPinning", "table-core.ColumnDef_ColumnResizing", "table-core.ColumnDef_ColumnSizing", "table-core.ColumnDef_ColumnVisibility", "table-core.ColumnDef_GlobalFiltering", "table-core.ColumnDef_RowAggregation", "table-core.ColumnDef_RowSorting", "table-core.Column_ColumnFaceting", "table-core.Column_ColumnFiltering", "table-core.Column_ColumnGrouping", "table-core.Column_ColumnOrdering", "table-core.Column_ColumnPinning", "table-core.Column_ColumnResizing", "table-core.Column_ColumnSizing", "table-core.Column_ColumnVisibility", "table-core.Column_Core", "table-core.Column_GlobalFiltering", "table-core.Column_RowAggregation", "table-core.Column_RowSorting", "table-core.FilterFn", "table-core.FilterFnOption", "table-core.IdIdentifier", "table-core.RowData", "table-core.SortFn", "table-core.SortFnOption", "table-core.StringHeaderIdentifier", "table-core.Table_CellSelection", "table-core.Table_CellSpanning", "table-core.Table_ColumnFaceting", "table-core.Table_ColumnFiltering", "table-core.Table_ColumnGrouping", "table-core.Table_ColumnOrdering", "table-core.Table_ColumnPinning", "table-core.Table_ColumnResizing", "table-core.Table_ColumnSizing", "table-core.Table_ColumnVisibility", "table-core.Table_Core", "table-core.Table_GlobalFiltering", "table-core.Table_RowExpanding", "table-core.Table_RowPagination", "table-core.Table_RowPinning", "table-core.Table_RowSelection", "table-core.Table_RowSorting"], "required": true, "says": "Column the filter acts on, which `DataTable.Table`'s `columnActions` receives."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "indicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": true, "says": "Glyph inside the button, such as a funnel."}, {"accepts": "((column: string, active: boolean) => string)", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Returns the accessible name of the button from the column's name and whether the column filters, and the panel's title while `active` is false. \"Filter Amount\" and \"Filter Amount, active\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "maxLabel", "refers": [], "required": false, "says": "Label of a `range` filter's field for the maximum. \"Maximum\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "minLabel", "refers": [], "required": false, "says": "Label of a `range` filter's field for the minimum. \"Minimum\" unless stated."}], "ColumnManagerProps": [{"accepts": "((at: SortableAnnouncement) => string)", "fallback": "", "kind": "option", "name": "cancelledLabel", "refers": ["kit.SortableAnnouncement"], "required": false, "says": "Writes the announcement of a drag that was cancelled, with the place the item went back to."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "checkIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph inside a checked box, such as a check mark."}, {"accepts": "((at: SortableAnnouncement) => string)", "fallback": "", "kind": "option", "name": "droppedLabel", "refers": ["kit.SortableAnnouncement"], "required": false, "says": "Writes the announcement of a drop, with the place the item took."}, {"accepts": "((refused: SortableRefused) => string)", "fallback": "", "kind": "option", "name": "fullLabel", "refers": ["kit.SortableRefused"], "required": false, "says": "Writes the announcement of a list at its limit refusing the item."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "handleIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph inside each row's handle, such as a grip."}, {"accepts": "((item: string) => string)", "fallback": "", "kind": "option", "name": "handleLabel", "refers": [], "required": false, "says": "Writes the name of an item's handle from the item's name."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "instructions", "refers": [], "required": false, "says": "Instructions every handle is described by."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Accessible name of the list. \"Columns\" unless stated."}, {"accepts": "((at: SortableAnnouncement) => string)", "fallback": "", "kind": "option", "name": "liftedLabel", "refers": ["kit.SortableAnnouncement"], "required": false, "says": "Writes the announcement of an item picked up, with the place it left."}, {"accepts": "((at: SortableAnnouncement) => string)", "fallback": "", "kind": "option", "name": "movedLabel", "refers": ["kit.SortableAnnouncement"], "required": false, "says": "Writes the announcement of an item moved during a drag, with the place it would take."}, {"accepts": "((refused: SortableRefused) => string)", "fallback": "", "kind": "option", "name": "refusedLabel", "refers": ["kit.SortableRefused"], "required": false, "says": "Writes the announcement of the caller's rule refusing the item a list."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "resetLabel", "refers": [], "required": false, "says": "Words of the button that restores the order and the visibility. \"Reset\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "roleDescription", "refers": [], "required": false, "says": "Role description every handle states in place of \"button\"."}], "ColumnMenuProps": [{"accepts": "Readonly<Partial<Record<ColumnMenuAction, ReactNode>>>", "fallback": "", "kind": "option", "name": "actionIndicators", "refers": [], "required": false, "says": "Glyph each action's row leads with, such as an arrow for a sort. A row without one starts with its words."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "ascendingLabel", "refers": [], "required": false, "says": "Words of the action that sorts the column ascending. \"Sort ascending\" unless stated."}, {"accepts": "TableColumn", "fallback": "", "kind": "option", "name": "column", "refers": ["table-core.Column_ColumnFaceting", "table-core.Column_ColumnFiltering", "table-core.Column_ColumnGrouping", "table-core.Column_ColumnOrdering", "table-core.Column_ColumnPinning", "table-core.Column_ColumnResizing", "table-core.Column_ColumnSizing", "table-core.Column_ColumnVisibility", "table-core.Column_Core", "table-core.Column_GlobalFiltering", "table-core.Column_RowAggregation", "table-core.Column_RowSorting", "table-core.RowData"], "required": true, "says": "Column the menu acts on, which `DataTable.Table`'s `columnActions` receives."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "descendingLabel", "refers": [], "required": false, "says": "Words of the action that sorts the column descending. \"Sort descending\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "endLabel", "refers": [], "required": false, "says": "Words of the action that pins the column to the end. \"Pin to end\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "groupedLabel", "refers": [], "required": false, "says": "Words of the action that groups the rows by the column. \"Group by column\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "hideLabel", "refers": [], "required": false, "says": "Words of the action that hides the column. \"Hide column\" unless stated."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "indicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": true, "says": "Glyph inside the button, such as three dots."}, {"accepts": "((column: string) => string)", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Returns the accessible name of the button from the column's name. \"Options for Amount\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "startLabel", "refers": [], "required": false, "says": "Words of the action that pins the column to the start. \"Pin to start\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "ungroupedLabel", "refers": [], "required": false, "says": "Words of the action that stops grouping the rows by the column. \"Ungroup\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "unpinnedLabel", "refers": [], "required": false, "says": "Words of the action that unpins the column. \"Unpin\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "unsortedLabel", "refers": [], "required": false, "says": "Words of the action that clears the column's sort. \"Clear sort\" unless stated."}], "PageSizeProps": [{"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "indicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph at the select's end, such as a chevron."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Words of the label before the select, such as \"Rows per page\", for a select outside a `Field`."}, {"accepts": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"", "fallback": "", "kind": "variant", "name": "size", "refers": [], "required": false, "says": "Height, text and insets of the field, and the indicator's icon and place."}, {"accepts": "readonly number[]", "fallback": "", "kind": "option", "name": "sizes", "refers": [], "required": true, "says": "Sizes a person chooses from, in the order the options list them."}, {"accepts": "\"error\" | \"info\" | \"success\" | \"warning\"", "fallback": "", "kind": "variant", "name": "status", "refers": [], "required": false, "says": "Status the field reports. Each value sets the edge and the focus ring from that status's palette."}, {"accepts": "\"flushed\" | \"outline\" | \"subtle\"", "fallback": "", "kind": "variant", "name": "variant", "refers": [], "required": false, "says": "Edges and surface of the field."}], "PaginationProps": [{"accepts": "number", "fallback": "1", "kind": "option", "name": "boundaryCount", "refers": [], "required": false, "says": "Number of pages to show at the beginning and end"}, {"accepts": "\"ltr\" | \"rtl\"", "fallback": "\"ltr\"", "kind": "option", "name": "dir", "refers": [], "required": false, "says": "The document's text/writing direction."}, {"accepts": "((details: PageUrlDetails) => string)", "fallback": "", "kind": "option", "name": "getPageUrl", "refers": ["pagination.PageUrlDetails"], "required": false, "says": "Function to generate href attributes for pagination links. Only used when `type` is set to \"link\"."}, {"accepts": "(() => Document | Node | ShadowRoot)", "fallback": "", "kind": "option", "name": "getRootNode", "refers": [], "required": false, "says": "A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "id", "refers": [], "required": false, "says": "The unique identifier of the machine."}, {"accepts": "ElementIds", "fallback": "", "kind": "option", "name": "ids", "refers": ["pagination.ElementIds"], "required": false, "says": "The ids of the elements in the accordion. Useful for composition."}, {"accepts": "\"accent\" | \"error\" | \"info\" | \"neutral\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"", "fallback": "", "kind": "option", "name": "palette", "refers": [], "required": false, "says": "Palette of the buttons, the button's own `primary` unless the caller sets another."}, {"accepts": "number", "fallback": "1", "kind": "option", "name": "siblingCount", "refers": [], "required": false, "says": "Number of pages to show beside active page"}, {"accepts": "\"lg\" | \"md\" | \"sm\"", "fallback": "", "kind": "variant", "name": "size", "refers": [], "required": false, "says": "Size of the gaps, the ellipsis, the summary and the page text, beside the buttons' own size."}, {"accepts": "\"button\" | \"link\"", "fallback": "\"button\"", "kind": "option", "name": "type", "refers": [], "required": false, "says": "The type of the trigger element"}, {"accepts": "Look", "fallback": "", "kind": "option", "name": "variant", "refers": ["kit.Look"], "required": false, "says": "Look of the buttons, `ghost` unless the caller sets another. The current page is marked in every look."}], "RootProps": [{"accepts": "DataTableApi<Row>", "fallback": "", "kind": "option", "name": "table", "refers": ["kit.Row", "table-core.Table_CellSelection", "table-core.Table_CellSpanning", "table-core.Table_ColumnFaceting", "table-core.Table_ColumnFiltering", "table-core.Table_ColumnGrouping", "table-core.Table_ColumnOrdering", "table-core.Table_ColumnPinning", "table-core.Table_ColumnResizing", "table-core.Table_ColumnSizing", "table-core.Table_ColumnVisibility", "table-core.Table_Core", "table-core.Table_GlobalFiltering", "table-core.Table_RowExpanding", "table-core.Table_RowPagination", "table-core.Table_RowPinning", "table-core.Table_RowSelection", "table-core.Table_RowSorting"], "required": true, "says": "Table `useDataTable` returns, which every part reads."}], "SearchProps": [{"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "clearIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Content of the clear control. The control renders only when this is passed."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "clearLabel", "refers": [], "required": false, "says": "Accessible name of the clear control. Defaults to `Clear search`."}, {"accepts": "((value: string) => void)", "fallback": "", "kind": "option", "name": "onSubmit", "refers": [], "required": false, "says": "Called with the value when Enter is pressed in the field."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "searchIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Content of the decorative mark before the field, such as a magnifying glass."}, {"accepts": "Scale", "fallback": "", "kind": "variant", "name": "size", "refers": ["kit.Scale"], "required": false, "says": "Row height, text size and inline inset. The height reads the control scale, the text the label role at the normal weight, and the inset the inset scale one size smaller."}, {"accepts": "\"error\" | \"info\" | \"success\" | \"warning\"", "fallback": "", "kind": "variant", "name": "status", "refers": [], "required": false, "says": "Status the group reports. Each value sets the edge and the focus ring from that status's palette."}, {"accepts": "\"flushed\" | \"outline\" | \"subtle\"", "fallback": "", "kind": "variant", "name": "variant", "refers": [], "required": false, "says": "Edges and surface of the box, and the fill of a filled addon."}], "TableProps": [{"accepts": "\"center\" | \"end\" | \"start\"", "fallback": "", "kind": "variant", "name": "align", "refers": [], "required": false, "says": "Vertical alignment of a cell's content in a row taller than one line."}, {"accepts": "boolean", "fallback": "", "kind": "variant", "name": "banded", "refers": [], "required": false, "says": "Whether the column names render on `bg.subtle`, in capitals, tracked out."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "caption", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Caption rendered under the table, and the accessible name of the table and its scroll region."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "collapseLabel", "refers": [], "required": false, "says": "Accessible name of the toggle of an open row in a table with levels. \"Collapse\" unless stated."}, {"accepts": "ColumnActions", "fallback": "", "kind": "option", "name": "columnActions", "refers": ["kit.ColumnActions", "table-core.Column_ColumnFaceting", "table-core.Column_ColumnFiltering", "table-core.Column_ColumnGrouping", "table-core.Column_ColumnOrdering", "table-core.Column_ColumnPinning", "table-core.Column_ColumnResizing", "table-core.Column_ColumnSizing", "table-core.Column_ColumnVisibility", "table-core.Column_Core", "table-core.Column_GlobalFiltering", "table-core.Column_RowAggregation", "table-core.Column_RowSorting", "table-core.RowData"], "required": false, "says": "Returns the controls a column's header renders beside its name from the column, such as `DataTable.ColumnFilter` and `DataTable.ColumnMenu`."}, {"accepts": "((column: string) => string)", "fallback": "", "kind": "option", "name": "editLabel", "refers": [], "required": false, "says": "Returns the accessible name of a grid cell's editor from its column's name. \"Edit Amount\" unless stated."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "empty", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Content of the full-width row rendered while the table has no rows. \"No rows\" unless stated."}, {"accepts": "number", "fallback": "", "kind": "option", "name": "estimateSize", "refers": [], "required": false, "says": "Height in pixels a windowed table takes for a body row before it measures the first one, whose height it takes after. 40 unless stated."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "expandIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph inside each toggle of a table with levels, pointing to the inline end, such as a chevron. The recipe turns it a quarter while its row is open."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "expandLabel", "refers": [], "required": false, "says": "Accessible name of the toggle of a closed row in a table with levels. \"Expand\" unless stated."}, {"accepts": "((count: number, total: number) => string)", "fallback": "", "kind": "option", "name": "filteredAnnouncement", "refers": [], "required": false, "says": "Returns the announcement of the rows that match the filters, from their count and the count of every row. \"12 of 40 rows\" unless stated."}, {"accepts": "boolean", "fallback": "", "kind": "option", "name": "focusable", "refers": [], "required": false, "says": "Whether the viewport is a region with a tab stop while the table overflows. `false` keeps it out of the tab order, for a table whose cells take focus. `true` unless stated."}, {"accepts": "boolean", "fallback": "", "kind": "option", "name": "grid", "refers": [], "required": false, "says": "Whether the table is a grid of cells a person selects, moves between with the arrow keys and copies, as in a spreadsheet. A table with levels remains a `treegrid`."}, {"accepts": "boolean", "fallback": "", "kind": "variant", "name": "interactive", "refers": [], "required": false, "says": "Whether a body row fills under the pointer and while a control inside it has focus."}, {"accepts": "\"auto\" | \"fixed\"", "fallback": "", "kind": "variant", "name": "layout", "refers": [], "required": false, "says": "Column widths from the content, or from the column declarations and the first row."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "loadingLabel", "refers": [], "required": false, "says": "Words of the row under an open row whose sub-rows have not arrived, in a table with levels. \"Loading…\" unless stated."}, {"accepts": "((edit: CellEditEvent) => void)", "fallback": "", "kind": "option", "name": "onCellEdit", "refers": ["kit.CellEditEvent"], "required": false, "says": "Receives each edit a person saves in a grid cell of an editable column, whose text the caller writes into `data`."}, {"accepts": "(() => void)", "fallback": "", "kind": "option", "name": "onEndReached", "refers": [], "required": false, "says": "Runs when a windowed table's last row comes within `overscan` rows of the viewport, once per number of rows, so a caller loads the next rows."}, {"accepts": "number", "fallback": "", "kind": "option", "name": "overscan", "refers": [], "required": false, "says": "Number of rows a windowed table renders beyond each end of the viewport. 8 unless stated."}, {"accepts": "\"accent\" | \"error\" | \"info\" | \"neutral\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"", "fallback": "", "kind": "variant", "name": "palette", "refers": [], "required": false, "says": "Palette the selected row and the interactive row fill read."}, {"accepts": "\"l1\" | \"l2\" | \"l3\"", "fallback": "", "kind": "variant", "name": "radius", "refers": [], "required": false, "says": "Corner radius of the scroller, from the layer radii without the pill, which clips the first and last rows."}, {"accepts": "((column: string) => string)", "fallback": "", "kind": "option", "name": "resizeLabel", "refers": [], "required": false, "says": "Returns the accessible name of a column's resize separator. \"Resize Amount\" unless stated."}, {"accepts": "((size: number) => string)", "fallback": "", "kind": "option", "name": "resizeValue", "refers": [], "required": false, "says": "Returns a column's size in words. \"150 pixels\" unless stated."}, {"accepts": "\"all\" | \"none\" | \"rows\"", "fallback": "", "kind": "variant", "name": "rules", "refers": [], "required": false, "says": "Where the body rules run: `rows` between rows, `all` between rows and between columns, and `none` nowhere. The rule under the header and the rule over the footer render in every value."}, {"accepts": "\"lg\" | \"md\" | \"sm\"", "fallback": "", "kind": "variant", "name": "size", "refers": [], "required": false, "says": "Text size and cell padding: cells read the body role at the size, and the column names and the caption read the label role one size smaller."}, {"accepts": "((column: string, direction: Direction) => string)", "fallback": "", "kind": "option", "name": "sortedAnnouncement", "refers": ["kit.Direction"], "required": false, "says": "Returns the announcement of a sort from the column's name and the direction. \"Sorted by Amount, descending\" unless stated."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "sortIndicator", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Glyph beside a sortable column's name, pointing up. The recipe turns it for a descending sort."}, {"accepts": "boolean", "fallback": "", "kind": "variant", "name": "stickyColumn", "refers": [], "required": false, "says": "Whether the row headers and the first column header stick to the start of the scroll area's viewport."}, {"accepts": "boolean", "fallback": "", "kind": "variant", "name": "stickyHeader", "refers": [], "required": false, "says": "Whether the header rows stick to the top of the scroll area's viewport."}, {"accepts": "boolean", "fallback": "", "kind": "variant", "name": "striped", "refers": [], "required": false, "says": "Whether every odd body row renders on `bg.muted`."}, {"accepts": "((rowId: string, columnId: string) => boolean)", "fallback": "", "kind": "option", "name": "unsaved", "refers": [], "required": false, "says": "Returns whether a grid cell has a change the caller has not saved, from its row's and its column's ids. The cell marks its inline start and states the change for assistive technology."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "unsavedLabel", "refers": [], "required": false, "says": "Words of an unsaved change, which a cell with one renders for assistive technology. \"Unsaved change\" unless stated."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "unsortedAnnouncement", "refers": [], "required": false, "says": "Announcement of a table sorted by no column. \"Not sorted\" unless stated."}, {"accepts": "\"plain\" | \"surface\"", "fallback": "", "kind": "variant", "name": "variant", "refers": [], "required": false, "says": "Surface of the scroller: the panel inside a hairline edge, or transparent."}, {"accepts": "boolean", "fallback": "", "kind": "option", "name": "windowed", "refers": [], "required": false, "says": "Whether the table renders only the body rows in or near the viewport, for thousands of rows. The caller gives the scroller a height, such as `style={{ maxBlockSize: \"24rem\" }}`."}]};
|
|
3
|
+
export const shapes = {"react.ReactElement": [{"accepts": "string | JSXElementConstructor<any>", "name": "type", "says": ""}, {"accepts": "unknown", "name": "props", "says": ""}, {"accepts": "string | null", "name": "key", "says": ""}], "react.ReactPortal": [{"accepts": "ReactNode", "name": "children", "says": ""}, {"accepts": "string | JSXElementConstructor<any>", "name": "type", "says": ""}, {"accepts": "unknown", "name": "props", "says": ""}, {"accepts": "string | null", "name": "key", "says": ""}], "table-core.RowData": [{"accepts": "", "name": "any[]", "says": ""}, {"accepts": "", "name": "Record<string, any>", "says": ""}], "table-core.Column_Core": [{"accepts": "Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>", "name": "parent", "says": "The parent column for this column. Will be undefined if this is a root column."}, {"accepts": "AccessorFn<RowData, unknown>", "name": "accessorFn", "says": "The resolved accessor function to use when extracting the value for the column from each row. Will only be defined if the column def has a valid accessor key or function defined."}, {"accepts": "ColumnDef<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>", "name": "columnDef", "says": "The original column def used to create the column."}, {"accepts": "Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "columns", "says": "The child column (if the column is a group column). Will be an empty array if the column is not a group column."}, {"accepts": "number", "name": "depth", "says": "The depth of the column (if grouped) relative to the root column def array."}, {"accepts": "string", "name": "id", "says": "The resolved unique identifier for the column resolved in this priority: - A manual `id` property from the column def - The accessor key from the column def - The header string from the column def"}, {"accepts": "Table<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "table", "says": "Reference to the parent table instance."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getFlatColumns", "says": "Flattens this column and every descendant column into a single array."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getLeafColumns", "says": "Collects the terminal leaf columns below this column, or the column itself when it has no children."}], "table-core.Column_ColumnFaceting": [{"accepts": "() => [number, number]", "name": "getFacetedMinMaxValues", "says": "Computes min/max numeric facet values for this column."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getFacetedRowModel", "says": "Computes the row model used to derive this column's facet values."}, {"accepts": "() => Map<any, number>", "name": "getFacetedUniqueValues", "says": "Computes unique facet values and occurrence counts for this column."}], "table-core.Column_ColumnFiltering": [{"accepts": "() => FilterFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getAutoFilterFn", "says": "Returns an automatically calculated filter function for the column based off of the columns first known value."}, {"accepts": "() => boolean", "name": "getCanFilter", "says": "Checks whether this accessor column can currently be column-filtered."}, {"accepts": "() => FilterFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getFilterFn", "says": "Returns the filter function (either user-defined or automatic, depending on configuration) for the columnId specified."}, {"accepts": "() => number", "name": "getFilterIndex", "says": "Returns the index (including `-1`) of the column filter in the table's `state.columnFilters` array."}, {"accepts": "() => unknown", "name": "getFilterValue", "says": "Reads this column's current value from `state.columnFilters`."}, {"accepts": "() => boolean", "name": "getIsFiltered", "says": "Checks whether this column has an active entry in `state.columnFilters`."}, {"accepts": "(updater: any) => void", "name": "setFilterValue", "says": "Adds, updates, or removes this column's filter value."}], "table-core.Column_ColumnGrouping": [{"accepts": "() => boolean", "name": "getCanGroup", "says": "Checks whether this column can currently be grouped."}, {"accepts": "() => number", "name": "getGroupedIndex", "says": "Finds this column's position in the ordered grouping state."}, {"accepts": "() => boolean", "name": "getIsGrouped", "says": "Checks whether this column id is present in grouping state."}, {"accepts": "() => () => void", "name": "getToggleGroupingHandler", "says": "Returns a function that toggles the grouping state of the column. This is useful for passing to the `onClick` prop of a button."}, {"accepts": "() => void", "name": "toggleGrouping", "says": "Toggles the grouping state of the column."}], "table-core.Column_ColumnOrdering": [{"accepts": "(position?: \"center\" | ColumnPinningPosition) => number", "name": "getIndex", "says": "Finds this column's zero-based index among visible columns."}, {"accepts": "(position?: \"center\" | ColumnPinningPosition) => boolean", "name": "getIsFirstColumn", "says": "Checks whether this column is the first visible column."}, {"accepts": "(position?: \"center\" | ColumnPinningPosition) => boolean", "name": "getIsLastColumn", "says": "Checks whether this column is the last visible column."}], "table-core.Column_ColumnPinning": [{"accepts": "() => boolean", "name": "getCanPin", "says": "Checks whether this column or any of its leaves can be pinned."}, {"accepts": "() => ColumnPinningPosition", "name": "getIsPinned", "says": "Reads the column's logical pinned position: `'start'`, `'end'`, or `false`."}, {"accepts": "() => number", "name": "getPinnedIndex", "says": "Finds this column's index within its pinned region."}, {"accepts": "(position: ColumnPinningPosition) => void", "name": "pin", "says": "Pins this column's leaf columns to logical start or end, or unpins them when `false` is passed."}], "table-core.Column_ColumnResizing": [{"accepts": "() => boolean", "name": "getCanResize", "says": "Checks whether this column can start a resize interaction."}, {"accepts": "() => boolean", "name": "getIsResizing", "says": "Checks whether this column is the active resize target."}], "table-core.Column_ColumnSizing": [{"accepts": "(position?: \"center\" | ColumnPinningPosition) => number", "name": "getAfter", "says": "Measures the offset from this column's end edge to the end of its region."}, {"accepts": "() => number", "name": "getSize", "says": "Resolves the column's current size after state and min/max constraints."}, {"accepts": "(position?: \"center\" | ColumnPinningPosition) => number", "name": "getStart", "says": "Measures the offset from the start of this column's region to its start edge."}, {"accepts": "() => void", "name": "resetSize", "says": "Resets the column to its initial size."}], "table-core.Column_ColumnVisibility": [{"accepts": "() => boolean", "name": "getCanHide", "says": "Checks whether this column is allowed to be hidden."}, {"accepts": "() => boolean", "name": "getIsVisible", "says": "Checks whether this column is currently visible."}, {"accepts": "() => (event: unknown) => void", "name": "getToggleVisibilityHandler", "says": "Creates a checkbox-style handler that toggles this column's visibility."}, {"accepts": "(value?: boolean) => void", "name": "toggleVisibility", "says": "Toggles the visibility of the column."}], "table-core.Column_GlobalFiltering": [{"accepts": "() => boolean", "name": "getCanGlobalFilter", "says": "Checks whether this accessor column participates in global filtering."}], "table-core.Column_RowAggregation": [{"accepts": "() => readonly ResolvedAggregationFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getAggregationFns", "says": "Resolves the configured scalar or multiple aggregation definitions."}, {"accepts": "<TResult = unknown>(options?: AggregationValueOptions<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>) => TResult", "name": "getAggregationValue", "says": "Aggregates this column over the default pre-grouped row model, or over a caller-provided array of rows. `options.maxDepth` overrides the column's `maxAggregationDepth`. Explicit-row calls are intentionally not cached."}, {"accepts": "() => AggregationFnDef<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, any, any>", "name": "getAutoAggregationFn", "says": "Infers `sum` for a numeric first row and `extent` for a Date first row."}], "table-core.Column_RowSorting": [{"accepts": "() => void", "name": "clearSorting", "says": "Removes this column from the table's sorting state"}, {"accepts": "() => SortDirection", "name": "getAutoSortDir", "says": "Returns a sort direction automatically inferred based on the columns values."}, {"accepts": "() => SortFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getAutoSortFn", "says": "Returns a sorting function automatically inferred based on the columns values."}, {"accepts": "() => boolean", "name": "getCanMultiSort", "says": "Returns whether this column can be multi-sorted."}, {"accepts": "() => boolean", "name": "getCanSort", "says": "Returns whether this column can be sorted."}, {"accepts": "() => SortDirection", "name": "getFirstSortDir", "says": "Returns the first direction that should be used when sorting this column."}, {"accepts": "() => false | SortDirection", "name": "getIsSorted", "says": "Reads this column's current sort direction, or `false` when unsorted."}, {"accepts": "(multi?: boolean) => false | SortDirection", "name": "getNextSortingOrder", "says": "Returns the next sorting order. Pass `multi` to resolve the order for a multi-sort toggle, where `enableMultiRemove` governs whether the cycle can remove the sort."}, {"accepts": "() => number", "name": "getSortIndex", "says": "Finds this column's position in the ordered sorting state."}, {"accepts": "() => SortFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getSortFn", "says": "Returns the resolved sorting function to be used for this column"}, {"accepts": "() => ((event: unknown) => void)", "name": "getToggleSortingHandler", "says": "Creates a header/control handler that toggles this column's sorting state."}, {"accepts": "(desc?: boolean, isMulti?: boolean) => void", "name": "toggleSorting", "says": "Toggles this column's sorting state. If `desc` is provided, it will force the sort direction to that value. If `isMulti` is provided, it will additively multi-sort the column (or toggle it if it is already sorted)."}], "table-core.ColumnDef": [{"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 11 more ... & IdIdentifier<...>", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 11 more ... & StringHeaderIdentifier", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & IdIdentifier<...>", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & StringHeaderIdentifier", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & IdIdentifier<...>", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & StringHeaderIdentifier", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & Partial<...>", "says": ""}, {"accepts": "", "name": "ColumnDefBase_Core<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown> & ... 12 more ... & Partial<...>", "says": ""}], "table-core.ColumnDefBase_Core": [{"accepts": "AccessorFn<RowData, readonly unknown[]>", "name": "getUniqueValues", "says": "Produces the values used by faceting/grouping for this column."}, {"accepts": "ColumnDefTemplate<HeaderContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>>", "name": "footer", "says": "Footer template rendered with header context."}, {"accepts": "ColumnDefTemplate<CellContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>>", "name": "cell", "says": "Cell template rendered with cell context."}, {"accepts": "ColumnMeta", "name": "meta", "says": "User-defined metadata available on the resolved column definition."}], "table-core.ColumnDefTemplate": [{"accepts": "", "name": "string", "says": ""}, {"accepts": "", "name": "(props: HeaderContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>) => any", "says": ""}], "kit.ColumnMeta": [{"accepts": "((record: RowData) => ReactNode)", "name": "detail", "says": "Returns the content of the detail row rendered under an expanded row, from the row's record. `DataTable.expandColumn` sets it."}, {"accepts": "CellEdit", "name": "edit", "says": "How a grid edits the column's cells. A column without it is read-only."}, {"accepts": "\"range\" | \"select\" | \"text\"", "name": "filter", "says": "Filter `DataTable.ColumnFilter` offers for the column: a text the values contain, a choice of the column's values, or a range of figures."}, {"accepts": "boolean", "name": "fit", "says": "Whether the column is as narrow as its content while the table lays out its columns by their content, such as a column of checkboxes. The kit's select, expand and pin columns set it."}, {"accepts": "string", "name": "label", "says": "Name of the column in words, which the sort announcement reads. The header when it is a string, and the column's id otherwise, unless stated."}, {"accepts": "boolean", "name": "numeric", "says": "Whether the column contains figures, aligned to the end in tabular figures."}, {"accepts": "boolean", "name": "rowHeader", "says": "Whether the column's cells render as row headers, the `th` a screen reader names each row by."}, {"accepts": "boolean", "name": "selects", "says": "Whether the column's cells select their rows. While the column is visible each row states `aria-selected`. `DataTable.selectColumn` sets it."}], "table-core.ColumnDef_CellSelection": [{"accepts": "boolean", "name": "enableCellSelection", "says": "Allows cells in this column to be selected. Defaults to `true`."}], "table-core.ColumnDef_CellSpanning": [{"accepts": "boolean", "name": "enableCellSpanning", "says": "Turns this column off for cell spanning even when the table allows it. Defaults to `true`."}, {"accepts": "number | ((context: ColSpanContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>) => number)", "name": "spanColumns", "says": "Makes this column's cell span the given number of columns per row, starting at itself and counted in the order columns actually render."}, {"accepts": "boolean | ((context: RowSpanContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>) => boolean)", "name": "spanRows", "says": "Merges adjacent rows in this column into a single vertically spanning cell."}], "table-core.ColumnDef_ColumnFiltering": [{"accepts": "boolean", "name": "enableColumnFilter", "says": "Enables this column to participate in column-specific filtering."}, {"accepts": "FilterFnOption<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "filterFn", "says": "The filter function to use with this column. Can be the name of a built-in filter function or a custom filter function."}], "table-core.FilterFnOption": [{"accepts": "", "name": "\"arrHas\"", "says": ""}, {"accepts": "", "name": "\"arrIncludes\"", "says": ""}, {"accepts": "", "name": "\"arrIncludesAll\"", "says": ""}, {"accepts": "", "name": "\"arrIncludesSome\"", "says": ""}, {"accepts": "", "name": "\"auto\"", "says": ""}, {"accepts": "", "name": "\"between\"", "says": ""}, {"accepts": "", "name": "\"betweenInclusive\"", "says": ""}, {"accepts": "", "name": "\"empty\"", "says": ""}, {"accepts": "", "name": "\"endsWith\"", "says": ""}, {"accepts": "", "name": "\"equals\"", "says": ""}, {"accepts": "", "name": "\"equalsString\"", "says": ""}, {"accepts": "", "name": "\"equalsStringSensitive\"", "says": ""}, {"accepts": "", "name": "\"greaterThan\"", "says": ""}, {"accepts": "", "name": "\"greaterThanOrEqualTo\"", "says": ""}, {"accepts": "", "name": "\"inDateRange\"", "says": ""}, {"accepts": "", "name": "\"inNumberRange\"", "says": ""}, {"accepts": "", "name": "\"includesString\"", "says": ""}, {"accepts": "", "name": "\"includesStringSensitive\"", "says": ""}, {"accepts": "", "name": "\"lessThan\"", "says": ""}, {"accepts": "", "name": "\"lessThanOrEqualTo\"", "says": ""}, {"accepts": "", "name": "\"notEmpty\"", "says": ""}, {"accepts": "", "name": "\"startsWith\"", "says": ""}, {"accepts": "", "name": "\"weakEquals\"", "says": ""}, {"accepts": "", "name": "FilterFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "says": ""}], "table-core.FilterFn": [{"accepts": "ColumnFilterAutoRemoveTestFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>", "name": "autoRemove", "says": "Removes the filter from `state.columnFilters` when the filter value fails this test (e.g. empty strings for text filters)."}, {"accepts": "TransformFilterValueFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>", "name": "resolveFilterValue", "says": "Normalizes the filter value before filtering runs."}, {"accepts": "TransformDataValueFn", "name": "resolveDataValue", "says": "Normalizes each row's value before it is compared against the filter value. Only honored by filter functions built with `constructFilterFn` (including all built-in filter functions)."}], "table-core.ColumnDef_ColumnGrouping": [{"accepts": "boolean", "name": "enableGrouping", "says": "Allows this column to be added to grouping state."}, {"accepts": "((originalRow: RowData, index: number, row: Row<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; ... 25 more ...; sortFns: { ...; }; }, RowData>) => any)", "name": "getGroupingValue", "says": "Returns the value used to group rows for this column."}], "table-core.ColumnDef_ColumnPinning": [{"accepts": "boolean", "name": "enablePinning", "says": "Allows this column's leaf columns to be pinned."}], "table-core.ColumnDef_ColumnResizing": [{"accepts": "boolean", "name": "enableResizing", "says": "Enables or disables column resizing for the column."}], "table-core.ColumnDef_ColumnSizing": [{"accepts": "number", "name": "maxSize", "says": "Upper bound used when resolving this column's size."}, {"accepts": "number", "name": "minSize", "says": "Lower bound used when resolving this column's size."}, {"accepts": "number", "name": "size", "says": "Initial size used before column sizing state overrides it."}], "table-core.ColumnDef_ColumnVisibility": [{"accepts": "boolean", "name": "enableHiding", "says": "Allows this column to be hidden. Defaults to `true`."}], "table-core.ColumnDef_GlobalFiltering": [{"accepts": "boolean", "name": "enableGlobalFilter", "says": "Allows this column to be scanned by global filtering."}], "table-core.ColumnDef_RowAggregation": [{"accepts": "ColumnDefTemplate<CellContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>>", "name": "aggregatedCell", "says": "Renderer used for a grouped row's aggregated cell."}, {"accepts": "AggregationFnOption<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>", "name": "aggregationFn", "says": "One aggregation reference for a scalar result, or an array for a keyed result object. Inline definitions in an array require an explicit `id`."}, {"accepts": "number", "name": "maxAggregationDepth", "says": "Maximum relative sub-row depth used for grouped aggregation and cached default totals. `0` selects the supplied root rows, `1` their direct sub-rows, and so on. Defaults to `0`."}, {"accepts": "((context: AggregationValueContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>) => AggregationValueResult<...>)", "name": "getAggregationValue", "says": "Optionally supplies a precomputed aggregation value for this column. Return `{ value }` to handle the request, including `{ value: undefined }`; return `undefined` to use the local aggregation fallback."}], "table-core.AggregationFnOption": [{"accepts": "", "name": "\"auto\"", "says": ""}, {"accepts": "", "name": "\"count\"", "says": ""}, {"accepts": "", "name": "\"extent\"", "says": ""}, {"accepts": "", "name": "\"first\"", "says": ""}, {"accepts": "", "name": "\"last\"", "says": ""}, {"accepts": "", "name": "\"max\"", "says": ""}, {"accepts": "", "name": "\"mean\"", "says": ""}, {"accepts": "", "name": "\"median\"", "says": ""}, {"accepts": "", "name": "\"min\"", "says": ""}, {"accepts": "", "name": "\"sum\"", "says": ""}, {"accepts": "", "name": "\"unique\"", "says": ""}, {"accepts": "", "name": "\"uniqueCount\"", "says": ""}, {"accepts": "", "name": "AggregationFnDef<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown, any>", "says": ""}, {"accepts": "", "name": "readonly AggregationFnListItem<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "says": ""}], "table-core.AggregationFnDef": [{"accepts": "(context: AggregationContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>) => any", "name": "aggregate", "says": "Computes a result directly from the selected `rows`."}, {"accepts": "((context: AggregationMergeContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown, any>) => any)", "name": "merge", "says": "Combines already-computed immediate sub-row results. When omitted, nested grouping falls back to `aggregate` over the group's selected rows."}], "table-core.ColumnDef_RowSorting": [{"accepts": "boolean", "name": "enableMultiSort", "says": "Enables/Disables multi-sorting for this column."}, {"accepts": "boolean", "name": "enableSorting", "says": "Enables/Disables sorting for this column."}, {"accepts": "boolean", "name": "invertSorting", "says": "Inverts the order of the sorting for this column. This is useful for values that have an inverted best/worst scale where lower numbers are better, e.g. a ranking (1st, 2nd, 3rd) or golf-like scoring"}, {"accepts": "boolean", "name": "sortDescFirst", "says": "Set to `true` for sorting toggles on this column to start in the descending direction."}, {"accepts": "SortFnOption<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "sortFn", "says": "The sorting function to use with this column. - A `string` referencing a built-in sorting function - A custom sorting function"}, {"accepts": "\"first\" | \"last\" | -1 | 1 | false", "name": "sortUndefined", "says": "The priority of undefined values when sorting this column. - `false` - Undefined values will be passed to the sorting function like any other value with no special handling; the sorting function is responsible for handling them - `-1` - Undefined values will be sorted with higher priority (ascending) (if ascending, undefined will appear on the beginning of the list) - `1` - Undefined values will be sorted with lower priority (descending) (if ascending, undefined will appear on the end of the list) - `'first'` - Undefined values will be pushed to the beginning of the list regardless of sort direction - `'last'` - Undefined values will be pushed to the end of the list regardless of sort direction"}], "table-core.SortFnOption": [{"accepts": "", "name": "\"alphanumeric\"", "says": ""}, {"accepts": "", "name": "\"alphanumericCaseSensitive\"", "says": ""}, {"accepts": "", "name": "\"auto\"", "says": ""}, {"accepts": "", "name": "\"basic\"", "says": ""}, {"accepts": "", "name": "\"datetime\"", "says": ""}, {"accepts": "", "name": "\"text\"", "says": ""}, {"accepts": "", "name": "\"textCaseSensitive\"", "says": ""}, {"accepts": "", "name": "SortFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "says": ""}], "table-core.SortFn": [{"accepts": "TransformDataValueFn", "name": "resolveDataValue", "says": "Normalizes each row's value before the two sides are compared. Only honored by sorting functions built with `constructSortFn` (including all built-in sorting functions)."}], "table-core.IdIdentifier": [{"accepts": "string", "name": "id", "says": "Explicit stable column id."}, {"accepts": "ColumnDefTemplate<HeaderContext<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>>", "name": "header", "says": "Header text or template used to render this column's header."}], "table-core.StringHeaderIdentifier": [{"accepts": "string", "name": "header", "says": "Header text used both for rendering and as a fallback column id."}, {"accepts": "string", "name": "id", "says": "Optional explicit id that overrides the header-derived id."}], "table-core.Table_CellSelection": [{"accepts": "boolean", "name": "_isSelectingCells", "says": "Whether a drag selection is currently open."}, {"accepts": "() => void", "name": "autoResetCellSelection", "says": "Schedules a cell selection reset after `data` changes."}, {"accepts": "(direction: CellSelectionDirection) => void", "name": "extendCellSelection", "says": "Extends the active range one step in a direction, keeping its anchor fixed."}, {"accepts": "() => CellSelectionBounds[]", "name": "getCellSelectionBounds", "says": "Returns the final positive selection as disjoint, inclusive display-order index rectangles after all include and exclude operations are applied."}, {"accepts": "() => CellSelectionBounds[]", "name": "getCellSelectionMergeBounds", "says": "Returns the merged-cell rectangles of the rendered rows in selection's display-order index space, or an empty array when `cellSpanningFeature` is not registered."}, {"accepts": "() => string[]", "name": "getCellSelectionColumnIds", "says": "Returns the ids of all columns intersected by the selection."}, {"accepts": "() => Record<string, number>", "name": "getCellSelectionColumnIndexes", "says": "Returns a column id to display-index map for the current column order."}, {"accepts": "() => string[]", "name": "getCellSelectionRowIds", "says": "Returns the ids of all rows intersected by the selection."}, {"accepts": "() => Cell<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, any>", "name": "getFocusedCell", "says": "Returns the active cell, i.e. the anchor of the most recent operation. An exclusion's active cell is focused even though it is not selected."}, {"accepts": "() => number", "name": "getSelectedCellCount", "says": "Returns the number of selected cells."}, {"accepts": "() => string[]", "name": "getSelectedCellIds", "says": "Returns the unique ids of all selected cells, in row-major order."}, {"accepts": "() => unknown[][][]", "name": "getSelectedCellRangesData", "says": "Returns each final positive selection region's values as a row-major grid."}, {"accepts": "(direction: CellSelectionDirection) => void", "name": "moveCellSelection", "says": "Moves the selection one step in a direction, collapsing it to a single cell. Columns that cannot be selected are skipped over."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetCellSelection", "says": "Resets `cellSelection` to `initialState.cellSelection`."}, {"accepts": "() => void", "name": "selectAllCells", "says": "Selects every selectable cell in the table as one range."}, {"accepts": "(range: CellSelectionRange, opts?: SelectCellRangeOptions) => void", "name": "selectCellRange", "says": "Selects a rectangle using the requested replace/include/exclude mode."}, {"accepts": "(updater: Updater<CellSelectionState>) => void", "name": "setCellSelection", "says": "Updates cell selection state with a next value or updater function."}, {"accepts": "(rowId: string, columnId: string) => void", "name": "setFocusedCell", "says": "Collapses the selection to a single cell at the given coordinates."}], "table-core.Table_CellSpanning": [{"accepts": "() => CellSpanIndex<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getCellSpanIndex", "says": "The memoized span index for the rows that are currently rendered."}], "table-core.Table_ColumnFaceting": [{"accepts": "() => [number, number]", "name": "getGlobalFacetedMinMaxValues", "says": "Returns the min and max values for the global filter."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getGlobalFacetedRowModel", "says": "Computes the row model used to derive global facet values."}, {"accepts": "() => Map<any, number>", "name": "getGlobalFacetedUniqueValues", "says": "Returns the faceted unique values for the global filter."}], "table-core.Table_ColumnFiltering": [{"accepts": "(defaultState?: boolean) => void", "name": "resetColumnFilters", "says": "Resets `columnFilters` to `initialState.columnFilters`."}, {"accepts": "(updater: Updater<ColumnFiltersState>) => void", "name": "setColumnFilters", "says": "Updates column filter state with a next array or updater function."}], "table-core.Table_ColumnGrouping": [{"accepts": "(defaultState?: boolean) => void", "name": "resetGrouping", "says": "Resets `grouping` to `initialState.grouping`."}, {"accepts": "(updater: Updater<GroupingState>) => void", "name": "setGrouping", "says": "Updates grouping state with a next ordered id array or updater function."}], "table-core.Table_ColumnOrdering": [{"accepts": "() => ColumnIndexes", "name": "getColumnIndexes", "says": "Builds column-id to index records for each visible pinning region."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetColumnOrder", "says": "Resets `columnOrder` to `initialState.columnOrder`."}, {"accepts": "(updater: Updater<ColumnOrderState>) => void", "name": "setColumnOrder", "says": "Updates column order state with a next ordered id array or updater function."}], "table-core.Table_ColumnPinning": [{"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getCenterFlatHeaders", "says": "Builds flat center-region headers for columns that are not pinned, including parent headers."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getCenterFooterGroups", "says": "Builds footer groups for the center region of unpinned columns."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getCenterHeaderGroups", "says": "Builds header groups for the center region of unpinned columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getCenterLeafColumns", "says": "Gets leaf columns that are not pinned start or end."}, {"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getCenterLeafHeaders", "says": "Builds center-region leaf headers for columns that are not pinned."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getCenterVisibleLeafColumns", "says": "Lists visible leaf columns in the unpinned center region."}, {"accepts": "(position?: ColumnPinningPosition) => boolean", "name": "getIsSomeColumnsPinned", "says": "Checks whether any columns are pinned, optionally limited to one side."}, {"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getStartFlatHeaders", "says": "Builds flat logical start-region headers for pinned columns, including parent headers."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getStartFooterGroups", "says": "Builds footer groups for logical start-pinned columns."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getStartHeaderGroups", "says": "Builds header groups for logical start-pinned columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getStartLeafColumns", "says": "Gets leaf columns pinned to the logical start region in pinning-state order."}, {"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getStartLeafHeaders", "says": "Builds leaf headers for logical start-pinned columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getStartVisibleLeafColumns", "says": "Lists visible leaf columns in the logical start pinned region."}, {"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getEndFlatHeaders", "says": "Builds flat logical end-region headers for pinned columns, including parent headers."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getEndFooterGroups", "says": "Builds footer groups for logical end-pinned columns."}, {"accepts": "() => HeaderGroup<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getEndHeaderGroups", "says": "Builds header groups for logical end-pinned columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getEndLeafColumns", "says": "Gets leaf columns pinned to the logical end region in pinning-state order."}, {"accepts": "() => Header<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getEndLeafHeaders", "says": "Builds leaf headers for logical end-pinned columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getEndVisibleLeafColumns", "says": "Lists visible leaf columns in the logical end pinned region."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetColumnPinning", "says": "Resets `columnPinning` to `initialState.columnPinning`."}, {"accepts": "(updater: Updater<ColumnPinningState>) => void", "name": "setColumnPinning", "says": "Updates column pinning state with a next state or updater function."}, {"accepts": "(position: \"center\" | ColumnPinningPosition) => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; ... 26 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getPinnedLeafColumns", "says": "Returns pinned leaf columns for the requested pinning region."}, {"accepts": "(position: \"center\" | ColumnPinningPosition) => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; ... 26 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getPinnedVisibleLeafColumns", "says": "Lists visible leaf columns for the requested pinning region."}], "table-core.Table_ColumnResizing": [{"accepts": "(defaultState?: boolean) => void", "name": "resetHeaderSizeInfo", "says": "Resets `columnResizing` to `initialState.columnResizing`."}, {"accepts": "(updater: Updater<columnResizingState>) => void", "name": "setColumnResizing", "says": "Updates transient resize interaction state with a next state or updater function."}], "table-core.Table_ColumnSizing": [{"accepts": "() => number", "name": "getCenterTotalSize", "says": "Sums the current sizes of visible center-region leaf columns."}, {"accepts": "() => ColumnOffsetsByPosition", "name": "getColumnOffsets", "says": "Returns memoized column offset maps (start and after offsets keyed by column id) for each pinning region plus the full visible leaf column list."}, {"accepts": "() => number", "name": "getStartTotalSize", "says": "Sums the current sizes of visible logical start-pinned leaf columns."}, {"accepts": "() => number", "name": "getEndTotalSize", "says": "Sums the current sizes of visible logical end-pinned leaf columns."}, {"accepts": "() => number", "name": "getTotalSize", "says": "Sums the current sizes of all visible leaf columns."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetColumnSizing", "says": "Resets column sizing to `initialState.columnSizing`. Pass `true` to reset to the feature default of `{}`."}, {"accepts": "(updater: Updater<ColumnSizingState>) => void", "name": "setColumnSizing", "says": "Updates committed column sizing state with a next map or updater function."}], "table-core.Table_ColumnVisibility": [{"accepts": "() => boolean", "name": "getIsAllColumnsVisible", "says": "Checks whether every leaf column is currently visible."}, {"accepts": "() => boolean", "name": "getIsSomeColumnsVisible", "says": "Checks whether at least one leaf column is currently visible."}, {"accepts": "() => (event: unknown) => void", "name": "getToggleAllColumnsVisibilityHandler", "says": "Creates a checkbox-style handler that shows or hides all columns."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getVisibleFlatColumns", "says": "Lists visible columns in flat table order, including parent columns that have visible descendants."}, {"accepts": "() => Column<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData, unknown>[]", "name": "getVisibleLeafColumns", "says": "Lists visible leaf columns in the order used for row cells and headers."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetColumnVisibility", "says": "Resets `columnVisibility` to `initialState.columnVisibility`."}, {"accepts": "(updater: Updater<ColumnVisibilityState>) => void", "name": "setColumnVisibility", "says": "Updates column visibility state with a next map or updater function."}, {"accepts": "(value?: boolean) => void", "name": "toggleAllColumnsVisible", "says": "Toggles the visibility of all columns."}], "table-core.Table_GlobalFiltering": [{"accepts": "() => FilterFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getGlobalAutoFilterFn", "says": "Currently, this function returns the built-in `includesString` filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided."}, {"accepts": "() => FilterFn<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getGlobalFilterFn", "says": "Returns the filter function (either user-defined or automatic, depending on configuration) for the global filter."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetGlobalFilter", "says": "Resets `globalFilter` to `initialState.globalFilter`."}, {"accepts": "(updater: any) => void", "name": "setGlobalFilter", "says": "Updates global filter state with a next value or updater function."}], "table-core.Table_RowExpanding": [{"accepts": "() => void", "name": "autoResetExpanded", "says": ""}, {"accepts": "() => boolean", "name": "getCanSomeRowsExpand", "says": "Checks whether at least one row can be expanded."}, {"accepts": "() => number", "name": "getExpandedDepth", "says": "Computes the deepest expanded row id depth."}, {"accepts": "() => boolean", "name": "getIsAllRowsExpanded", "says": "Checks whether all rows in the current row model are expanded."}, {"accepts": "() => boolean", "name": "getIsSomeRowsExpanded", "says": "Checks whether any row is currently expanded."}, {"accepts": "() => (event: unknown) => void", "name": "getToggleAllRowsExpandedHandler", "says": "Creates a handler that toggles all rows expanded."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetExpanded", "says": "Resets `expanded` to `initialState.expanded`."}, {"accepts": "(updater: Updater<ExpandedState>) => void", "name": "setExpanded", "says": "Updates expanded state with `true`, a row-id map, or an updater function."}, {"accepts": "(expanded?: boolean) => void", "name": "toggleAllRowsExpanded", "says": "Toggles the expanded state for all rows."}], "table-core.Table_RowPagination": [{"accepts": "() => void", "name": "_autoResetPageIndex", "says": ""}, {"accepts": "() => boolean", "name": "getCanNextPage", "says": "Checks whether the current page index can move forward."}, {"accepts": "() => boolean", "name": "getCanLastPage", "says": "Checks whether a known, finite last page exists after the current page."}, {"accepts": "() => boolean", "name": "getCanPreviousPage", "says": "Checks whether the current page index can move backward."}, {"accepts": "() => number", "name": "getPageCount", "says": "Resolves the current page count from `options.pageCount` or row count and page size."}, {"accepts": "() => number", "name": "getRowCount", "says": "Resolves the row count used for pagination math."}, {"accepts": "() => number[]", "name": "getPageOptions", "says": "Builds zero-based page indexes for the current page count."}, {"accepts": "() => void", "name": "nextPage", "says": "Increments the page index by one, if possible."}, {"accepts": "() => void", "name": "previousPage", "says": "Decrements the page index by one, if possible."}, {"accepts": "() => void", "name": "firstPage", "says": "Sets the page index to `0`."}, {"accepts": "() => void", "name": "lastPage", "says": "Sets the page index to the last known page. Does nothing when the page count is unknown, empty, or non-finite."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetPageIndex", "says": "Resets `pagination.pageIndex` to initial state, or to `0` when `defaultState` is `true`."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetPageSize", "says": "Resets `pagination.pageSize` to initial state, or to `10` when `defaultState` is `true`."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetPagination", "says": "Resets `pagination` to `initialState.pagination`."}, {"accepts": "(updater: Updater<number>) => void", "name": "setPageIndex", "says": "Updates `pagination.pageIndex` using a value or updater."}, {"accepts": "(updater: Updater<number>) => void", "name": "setPageSize", "says": "Updates `pagination.pageSize` using a value or updater."}, {"accepts": "(updater: Updater<PaginationState>) => void", "name": "setPagination", "says": "Updates pagination state with a next state or updater function."}], "table-core.Table_RowPinning": [{"accepts": "() => Row<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getBottomRows", "says": "Gets rows pinned to the bottom region."}, {"accepts": "() => Row<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getCenterRows", "says": "Gets rows that are not pinned to the top or bottom region."}, {"accepts": "(position?: RowPinningPosition) => boolean", "name": "getIsSomeRowsPinned", "says": "Checks whether any rows are pinned, optionally limited to one region."}, {"accepts": "() => Row<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>[]", "name": "getTopRows", "says": "Gets rows pinned to the top region."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetRowPinning", "says": "Resets `rowPinning` to `initialState.rowPinning`."}, {"accepts": "(updater: Updater<RowPinningState>) => void", "name": "setRowPinning", "says": "Updates row pinning state with a next state or updater function."}], "table-core.Table_RowSelection": [{"accepts": "string | null", "name": "_lastSelectedRowId", "says": "The most recent row interacted with through the row selection handler."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getFilteredSelectedRowModel", "says": "Builds a selected-row model from rows after filtering."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getGroupedSelectedRowModel", "says": "Builds a selected-row model from rows after grouping."}, {"accepts": "() => string[]", "name": "getSelectedRowIds", "says": "Returns the ids of all selected rows."}, {"accepts": "() => boolean", "name": "getIsAllPageRowsSelected", "says": "Checks whether every selectable row on the current page is selected. Sub-rows whose ancestors block sub-row selection are ignored."}, {"accepts": "() => boolean", "name": "getIsAllRowsSelected", "says": "Checks whether every selectable filtered row is selected. Sub-rows whose ancestors block sub-row selection are ignored."}, {"accepts": "() => boolean", "name": "getIsSomePageRowsSelected", "says": "Checks whether at least one selectable row on the current page is selected."}, {"accepts": "() => boolean", "name": "getIsSomeRowsSelected", "says": "Checks whether at least one row id is selected."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getPreSelectedRowModel", "says": "Returns the core row model of all rows before row selection has been applied."}, {"accepts": "() => RowModel<{ cellSelectionFeature: TableFeature; cellSpanningFeature: TableFeature; columnFacetingFeature: TableFeature; columnFilteringFeature: TableFeature; ... 24 more ...; sortFns: { ...; }; }, RowData>", "name": "getSelectedRowModel", "says": "Builds a selected-row model from the core row model."}, {"accepts": "() => (event: unknown) => void", "name": "getToggleAllPageRowsSelectedHandler", "says": "Creates a checkbox-style handler that toggles all current-page rows."}, {"accepts": "() => (event: unknown) => void", "name": "getToggleAllRowsSelectedHandler", "says": "Creates a checkbox-style handler that toggles all selectable rows."}, {"accepts": "(defaultState?: boolean) => void", "name": "resetRowSelection", "says": "Resets `rowSelection` to `initialState.rowSelection`."}, {"accepts": "(updater: Updater<RowSelectionState>) => void", "name": "setRowSelection", "says": "Updates row selection state with a next map or updater function."}, {"accepts": "(value?: boolean, opts?: { deselectAll?: boolean; }) => void", "name": "toggleAllPageRowsSelected", "says": "Selects/deselects all rows on the current page."}, {"accepts": "(value?: boolean, opts?: { deselectAll?: boolean; }) => void", "name": "toggleAllRowsSelected", "says": "Selects/deselects all rows in the table."}], "table-core.Table_RowSorting": [{"accepts": "(defaultState?: boolean) => void", "name": "resetSorting", "says": "Resets `sorting` to `initialState.sorting`."}, {"accepts": "(updater: Updater<SortingState>) => void", "name": "setSorting", "says": "Updates sorting state with a next ordered array or updater function."}], "kit.SortableAnnouncement": [{"accepts": "number", "name": "count", "says": "Number of items in the list the item is in."}, {"accepts": "string", "name": "item", "says": "Name of the item."}, {"accepts": "string", "name": "list", "says": "Name of the list, or undefined for the one list of an array."}, {"accepts": "number", "name": "position", "says": "Position of the item in the list, from 1."}], "kit.SortableRefused": [{"accepts": "string", "name": "item", "says": "Name of the item."}, {"accepts": "number", "name": "limit", "says": "Most items the list takes, or undefined for a list the caller's rule refuses."}, {"accepts": "string", "name": "list", "says": "Name of the list."}], "pagination.ElementIds": [{"accepts": "string", "name": "root", "says": ""}, {"accepts": "((index: number) => string)", "name": "ellipsis", "says": ""}, {"accepts": "string", "name": "firstTrigger", "says": ""}, {"accepts": "string", "name": "prevTrigger", "says": ""}, {"accepts": "string", "name": "nextTrigger", "says": ""}, {"accepts": "string", "name": "lastTrigger", "says": ""}, {"accepts": "((page: number) => string)", "name": "item", "says": ""}], "pagination.PageUrlDetails": [{"accepts": "number", "name": "page", "says": ""}, {"accepts": "number", "name": "pageSize", "says": ""}], "kit.Look": [{"accepts": "", "name": "\"ghost\"", "says": ""}, {"accepts": "", "name": "\"outline\"", "says": ""}, {"accepts": "", "name": "\"plain\"", "says": ""}, {"accepts": "", "name": "\"solid\"", "says": ""}, {"accepts": "", "name": "\"subtle\"", "says": ""}, {"accepts": "", "name": "\"surface\"", "says": ""}], "kit.Scale": [{"accepts": "", "name": "\"2xl\"", "says": ""}, {"accepts": "", "name": "\"3xl\"", "says": ""}, {"accepts": "", "name": "\"4xl\"", "says": ""}, {"accepts": "", "name": "\"lg\"", "says": ""}, {"accepts": "", "name": "\"md\"", "says": ""}, {"accepts": "", "name": "\"sm\"", "says": ""}, {"accepts": "", "name": "\"xl\"", "says": ""}, {"accepts": "", "name": "\"xs\"", "says": ""}], "kit.CellEditEvent": [{"accepts": "string", "name": "columnId", "says": "Id of the cell's column."}, {"accepts": "unknown", "name": "record", "says": "Record of the cell's row."}, {"accepts": "string", "name": "rowId", "says": "Id of the cell's row."}, {"accepts": "string", "name": "value", "says": "Text saved."}], "kit.Direction": [{"accepts": "", "name": "\"ascending\"", "says": ""}, {"accepts": "", "name": "\"descending\"", "says": ""}]};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"pages": [
|
|
4
|
+
{
|
|
5
|
+
"about": "data-table.about",
|
|
6
|
+
"group": "",
|
|
7
|
+
"id": "components/tables/data-table",
|
|
8
|
+
"module": "data-table/data-table.js",
|
|
9
|
+
"namespace": "",
|
|
10
|
+
"props": "data-table/data-table.props.js",
|
|
11
|
+
"specimen": "src/data-table/data-table.specimen.tsx",
|
|
12
|
+
"title": "data-table.title"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"requires": {
|
|
16
|
+
"@stealthscale/component-layout": "^0.2.0",
|
|
17
|
+
"@stealthscale/component-typography": "^0.3.0",
|
|
18
|
+
"@stealthscale/specimen": "^0.3.0",
|
|
19
|
+
"lucide-react": "^1.52.0"
|
|
20
|
+
}
|
|
21
|
+
}
|