// packages/core/src/components/data-table/data-table.props.ts
import { z } from "zod/v4";
export const DataTableColumnSchema = z.object({
    id: z.string().describe("Unique column identifier"),
    header: z.string().describe("Column header label"),
    sortable: z.boolean().optional().describe("Whether the column is sortable"),
    width: z.number().optional().describe("Fixed column width in pixels"),
    minWidth: z.number().optional().describe("Minimum column width in pixels"),
});
export const DataTableRootPropsSchema = z.object({
    pageSize: z.number().optional().describe("Number of rows per page. Defaults to 10"),
    defaultPage: z.number().optional().describe("Initial page index (0-based, uncontrolled)"),
    page: z.number().optional().describe("Controlled page index (0-based)"),
    filterValue: z.string().optional().describe("Controlled global filter string"),
    defaultFilterValue: z.string().optional().describe("Initial filter value (uncontrolled)"),
    enableRowSelection: z.boolean().optional().describe("Whether row selection is enabled"),
    enableMultiRowSelection: z.boolean().optional().describe("Whether multiple rows can be selected"),
});
export const DataTableMeta = {
    name: "DataTable",
    description: "Feature-rich data table with sorting, filtering, pagination, and row selection",
    parts: ["Root", "Header", "HeaderCell", "Body", "Row", "Cell", "Pagination"],
    requiredParts: ["Root", "Header", "Body", "Pagination"],
};
//# sourceMappingURL=data-table.props.js.map