import { t as GroupingPanel } from "./GroupingPanel-C4YG1AlP.cjs"; import { t as PivotPanel } from "./PivotPanel-DdaEPs5C.cjs"; import { AgentApprovalProps, BatchEditBarProps, ChecklistFilterProps, ColumnGroupToggleProps, DataModeProps, DataModeProps as DataModeProps$1, FillHandleChromeProps, FilterHeaderControlProps, FilterHeaderRowProps, FilterTreeBuilderProps, FindBarProps, GroupMoreButtonProps, RowEditActionsProps, RowReorderButtonsProps, RowReorderHandleProps, SavedViewsPanelChromeProps, SelectionStatsChromeProps, TreeCellProps, TreeToggleProps, deriveSortByOptions } from "@adapttable/react/adapter"; import { ActionConfirm, BulkAction, BulkActionContext, CellEditor, ChipLabelResolver, ColorScheme, ColumnFilter, ColumnGroupDef, ColumnGroupShow, ConfirmHandler, ConfirmRequest, CustomCellEditorCtrl, CustomCellEditorRender, Direction, ExportCsvOptions, ExtraFilters, FILTER_TYPES, FilterDef, FilterOption, FilterType, FilterTypeRegistry, FilterTypeSpec, FilterValue, MobileCardRenderer, PaginatedResponse, PaginationMode, RowAction, RowActionsRenderer, SortByOption, SortDirection, SortableValue, TableErrorState, TableLabels, TableLabels as TableLabels$1, TableQuery, TableSource, TableSource as TableSource$1, createFilterRegistry, defaultConfirm, defaultFilterRegistry, defaultLabels, resolveFilterRegistry } from "@adapttable/core"; import { ActiveFilterChip, BaseDataTableProps, BaseDataTableProps as BaseDataTableProps$1, CellProps, ColumnDef, ColumnInput, ColumnLayoutState, EditConflict, EditConflictChoice, EditConflictHandler, EditConflictPolicy, EditConflictState, EditEvent, EditEventHandler, EditLifecycle, EditUnit, InfiniteQueryLike, PageSelector, SavedView, Slot, ToolbarSlots, UrlStateAdapter, UrlStateAdapter as UrlStateAdapter$1, UseDataTableResult, UseFrontendDataOptions, UseQuerySourceOptions, UseSavedViewsOptions, UseSavedViewsOptions as UseSavedViewsOptions$1, UseSavedViewsResult, UseServerDataOptions, UseTableDataOptions, UseTableUrlStateOptions, UseTableUrlStateResult, createHistoryAdapter, createMemoryAdapter, getHistoryAdapter, useDataTable, useFrontendData, useQuerySource, useSavedViews, useTableUrlState } from "@adapttable/react"; import { ReactNode } from "react"; //#region src/agent-approval.d.ts /** * Bind this kit's approval strip to the agent-approval slot. * * @public */ declare function agentApproval(): import("@adapttable/react").StaticTableFeature; //#endregion //#region src/components/ChecklistFilter.d.ts /** * MUI checklist — wrapping kit checkboxes, not one value per row. * * @public */ declare function ChecklistFilter(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/components/FillHandle.d.ts /** * MUI-owned fill handle; core only decides which cell receives it. * * @public */ declare function FillHandle(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/components/FilterTreeBuilder.d.ts /** * MUI AND/OR builder — compact kit Select / TextField / Button, no stacked labels. * * @public */ declare function FilterTreeBuilder(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/components/kitControls.d.ts /** * The filter row under the column headers, drawn with this kit's controls. * * @public */ declare function FilterHeaderRow(props: Readonly>): import("react").JSX.Element; /** * One column's header filter, drawn with this kit's controls. * * @public */ declare function FilterHeaderControl(props: Readonly>): import("react").JSX.Element; /** * The find bar, drawn with this kit's input and buttons. * * @public */ declare function FindBar(props: Readonly): import("react").JSX.Element; /** * Save and cancel for a row being edited. * * @public */ declare function RowEditActions(props: Readonly>): import("react").JSX.Element; /** * The bar that saves or discards a batch of edits. * * @public */ declare function BatchEditBar(props: Readonly>): import("react").JSX.Element; declare function AgentApproval(props: Readonly): import("react").JSX.Element; /** * The expand/collapse control on a tree row. * * @public */ declare function TreeToggle(props: Readonly>): import("react").JSX.Element; /** * A tree row's first cell: indentation, toggle and content. * * @public */ declare function TreeCell(props: Readonly>): import("react").JSX.Element; /** * The control that collapses a grouped column header. * * @public */ declare function ColumnGroupToggle(props: Readonly): import("react").JSX.Element; /** * The control that reveals the rest of a truncated group. * * @public */ declare function GroupMoreButton(props: Readonly): import("react").JSX.Element; /** * The drag handle for reordering a row. * * @public */ declare function RowReorderHandle(props: Readonly>): import("react").JSX.Element; /** * Keyboard-reachable move-up and move-down for a row. * * @public */ declare function RowReorderButtons(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/components/SavedViewsMenu.d.ts /** * The label strings the saved-views menu renders. * * @public */ type SavedViewsLabels = Pick, "savedViews" | "saveView" | "viewName" | "deleteView">; /** * Props for the saved-views menu. * * @public */ interface SavedViewsMenuProps { /** Storage + URL backend wiring, forwarded to core's `useSavedViews`. */ options: UseSavedViewsOptions$1; /** Resolved table labels (trigger, save row, delete action). */ labels: SavedViewsLabels; } /** * MUI saved-views menu: a toolbar button opening a popover that lists the * saved views — click applies one and closes, the trailing × deletes it — * above a save row that captures the table's CURRENT URL state (search, * sort, page, filters, column layout) under a typed name. * * @public */ declare function SavedViewsMenu({ options, labels }: Readonly): import("react").JSX.Element; //#endregion //#region src/components/SavedViewsPanel.d.ts /** * Manage saved views: apply, rename, reorder, default, delete. * * @public */ declare function SavedViewsPanel(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/components/SelectionStatsBar.d.ts /** * MUI-owned status bar for the headless selection statistics. * * @public */ declare function SelectionStatsBar(props: Readonly>): import("react").JSX.Element; //#endregion //#region src/types.d.ts /** * Overridable sub-components. * * @public */ interface DataTableSlots { /** Replace the loading skeleton. */ skeleton?: ReactNode; /** Replace the empty-state. */ empty?: ReactNode; /** * Replace the empty-state shown when a search or filter matched nothing. * * Falls back to `empty` when unset, so passing only `empty` keeps covering * both states. Set this when the filtered case needs its own message — the * built-in one carries a working "clear all filters" action that a custom * `empty` would otherwise replace in both situations. */ noResults?: ReactNode; /** * Replace the load-failure state. * * Unlike the other slots this one also takes a function, because an error * state is about something: the function receives the error being reported * and the retry the source can actually perform, so a replacement can offer * both. Pass a plain node when the message is fixed. */ error?: Slot; } /** Props for the Material UI ``. */ /** * Structural class hooks for the MUI adapter. Fine-grained per-part * styling belongs to `@adapttable/unstyled` / `@adapttable/shadcn`; here * the kit owns the visuals and these hooks target the wrapper elements. * * @public */ interface DataTableClassNames { /** The root `` (also reachable via `className`). */ root?: string; /** The toolbar row (search, filters, export, menus). */ toolbar?: string; /** The desktop table region. */ table?: string; /** One mobile card (merged with `rowClassName`). */ card?: string; /** The pagination footer region. */ footer?: string; } /** * The props every MUI table takes, before the data-mode half is added. * `DataTableProps` is this plus one of the data modes. * * @public */ interface DataTablePropsBase extends Omit, "source"> { /** * Full-control data tier: a prebuilt source (`useFrontendData` / * `useQuerySource`). Omit it and pass `data` instead for the zero-ceremony * tiers below. */ source?: TableSource$1; /** * Frontend tier: the raw rows — the table filters/sorts/pages them. * With `onQueryChange` it becomes the server tier: the current page of * rows, exactly as the server returned them. */ data?: readonly TRow[]; /** Server tier: total row count across all pages (drives the pager). */ total?: number; /** Server tier: request in flight. */ loading?: boolean; /** Forwarded error to display in the table's error state. */ error?: Error | null; /** * URL-state backend for the built-in tiers. Defaults to the browser * History API; supply a router adapter (react-router / Next.js) — or a * memory adapter in tests — to integrate with an existing stack. */ urlAdapter?: UrlStateAdapter$1; /** * Sync table state (search, sort, page, filters) to the URL. `false` * keeps everything in memory — the table works identically, the address * bar never changes, and any `urlAdapter` is ignored. * * @default true */ urlSync?: boolean; /** * Namespace for this table's URL params (`left.q`, `left.f_status`, …) so * multiple tables can share one URL without colliding. */ urlKey?: string; /** Replace sub-components (skeleton, empty-state). */ slots?: DataTableSlots; /** Class name applied to the root ``. */ className?: string; /** Per-part class hooks for the structural elements. */ classNames?: DataTableClassNames; /** * Animate rows/cards on mount (dependency-free; honors reduced motion). * Off by default. */ animate?: boolean; } /** * Props for the MUI ``: the base surface intersected * with core's data-mode union, so `mode="server"` requires * `onQueryChange` at compile time and `mode="frontend"` turns it into a * pure notification. * * @public */ type DataTableProps = DataTablePropsBase & DataModeProps$1; //#endregion //#region src/DataTable.d.ts /** * Resolve `features` and mount whatever providers they contribute, then render * the table inside them. * * A feature that owns hooks owns a component, so its provider has to sit ABOVE * the body that reads what it publishes — that is the whole reason this is two * components rather than one. * * @typeParam TRow - The row type. * * @public */ declare function DataTable(incoming: Readonly>): import("react").JSX.Element; //#endregion export { type ActionConfirm, type ActiveFilterChip, AgentApproval, type AgentApprovalProps, type BaseDataTableProps, BatchEditBar, type BatchEditBarProps, type BulkAction, type BulkActionContext, type CellEditor, type CellProps, ChecklistFilter, type ChecklistFilterProps, type ChipLabelResolver, type ColorScheme, type ColumnDef, type ColumnFilter, type ColumnGroupDef, type ColumnGroupShow, ColumnGroupToggle, type ColumnGroupToggleProps, type ColumnInput, type ColumnLayoutState, type ConfirmHandler, type ConfirmRequest, type CustomCellEditorCtrl, type CustomCellEditorRender, type DataModeProps, DataTable, type DataTableClassNames, type DataTableProps, type DataTablePropsBase, type DataTableSlots, type Direction, type EditConflict, type EditConflictChoice, type EditConflictHandler, type EditConflictPolicy, type EditConflictState, type EditEvent, type EditEventHandler, type EditLifecycle, type EditUnit, type ExportCsvOptions, type ExtraFilters, FILTER_TYPES, FillHandle, type FilterDef, FilterHeaderControl, type FilterHeaderControlProps, FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, FilterTreeBuilder, type FilterTreeBuilderProps, type FilterType, type FilterTypeRegistry, type FilterTypeSpec, type FilterValue, FindBar, type FindBarProps, GroupMoreButton, type GroupMoreButtonProps, GroupingPanel, type InfiniteQueryLike, type MobileCardRenderer, type PageSelector, type PaginatedResponse, type PaginationMode, PivotPanel, type RowAction, type RowActionsRenderer, RowEditActions, type RowEditActionsProps, RowReorderButtons, type RowReorderButtonsProps, RowReorderHandle, type RowReorderHandleProps, type SavedView, type SavedViewsLabels, SavedViewsMenu, type SavedViewsMenuProps, SavedViewsPanel, SelectionStatsBar, type SortByOption, type SortDirection, type SortableValue, type TableLabels, type TableQuery, type TableSource, type ToolbarSlots, TreeCell, type TreeCellProps, TreeToggle, type TreeToggleProps, type UrlStateAdapter, type UseDataTableResult, type UseFrontendDataOptions, type UseQuerySourceOptions, type UseSavedViewsOptions, type UseSavedViewsResult, type UseServerDataOptions, type UseTableDataOptions, type UseTableUrlStateOptions, type UseTableUrlStateResult, agentApproval, createFilterRegistry, createHistoryAdapter, createMemoryAdapter, defaultConfirm, defaultFilterRegistry, defaultLabels, deriveSortByOptions, getHistoryAdapter, resolveFilterRegistry, useDataTable, useFrontendData, useQuerySource, useSavedViews, useTableUrlState }; //# sourceMappingURL=index.d.cts.map