import { DOMElement, ID } from "../../types/index.mjs"; import { FilterOptions } from "../../composables/createFilter/index.mjs"; import { PaginationOptions } from "../../composables/createPagination/index.mjs"; import { DataTableAdapter } from "../../composables/createDataTable/adapters/adapter.mjs"; import { SelectStrategy } from "../../composables/createDataTable/index.mjs"; import "../../index.mjs"; import _default, { DataGridRootProps, DataGridRootSlotProps, provideDataGridRoot, useDataGridRoot } from "./DataGridRoot.vue.mjs"; import _default$1, { DataGridTableProps, DataGridTableSlotProps } from "./DataGridTable.vue.mjs"; import _default$2, { DataGridHeaderProps, DataGridHeaderSlotProps } from "./DataGridHeader.vue.mjs"; import _default$3, { DataGridColumnProps, DataGridColumnSlotProps } from "./DataGridColumn.vue.mjs"; import _default$4, { DataGridBodyProps, DataGridBodySlotProps } from "./DataGridBody.vue.mjs"; import _default$5, { DataGridRowContext, DataGridRowProps, DataGridRowSlotProps, provideDataGridRow, useDataGridRow } from "./DataGridRow.vue.mjs"; import _default$6, { DataGridCellProps, DataGridCellSlotProps } from "./DataGridCell.vue.mjs"; import _default$7, { DataGridEmptyProps, DataGridEmptySlotProps } from "./DataGridEmpty.vue.mjs"; import _default$8, { DataGridHandleProps, DataGridHandleSlotProps, DataGridHandleState } from "./DataGridHandle.vue.mjs"; //#region src/components/DataGrid/index.d.ts /** * DataGrid compound component for building data grids. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * ``` */ declare const DataGrid: { /** * Provider that creates `createDataGrid`. Children register when they mount. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * ``` */ Root: (__VLS_props: NonNullable>["props"], __VLS_ctx?: { emit: ((evt: "update:search", value: string) => void) & ((event: "update:search", value: string) => void); attrs: any; slots: { default: (props: DataGridRootSlotProps) => unknown; }; }, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & { namespace?: string | undefined; editing?: { onEdit?: ((row: ID, column: string, value: unknown, item: T) => void) | undefined; } | undefined; preserveRowOrder?: import("vue").MaybeRefOrGetter | undefined; rowSpanning?: ((item: T, column: string) => number) | undefined; filter?: Omit | undefined; pagination?: Omit | undefined; sortMultiple?: boolean | undefined; mandate?: boolean | undefined; firstSortOrder?: "asc" | "desc" | undefined; selectStrategy?: SelectStrategy | undefined; itemSelectable?: (keyof T & string) | undefined; groupBy?: (keyof T & string) | undefined; openAll?: boolean | undefined; expandMultiple?: boolean | undefined; locale?: string | undefined; adapter?: DataTableAdapter | undefined; search?: string | undefined; "onUpdate:search"?: ((value: string) => any) | undefined; } & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: DataGridRootSlotProps) => unknown; }; emit: ((evt: "update:search", value: string) => void) & ((event: "update:search", value: string) => void); }>) => import("vue").VNode & { __ctx?: NonNullable>; }; /** * The `` element wrapper with ARIA table role. `aria-rowcount` is * set only when the current page is a subset of total. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * * ``` */ Table: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridTableSlotProps) => unknown; }; }); /** * The `` element wrapper. Exposes the 2D header grid after columns register. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * Name * * * ``` */ Header: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridHeaderSlotProps) => unknown; }; }); /** * A `` element wrapper. Exposes paginated items. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * * * ``` */ Body: (__VLS_props: NonNullable>["props"], __VLS_ctx?: { emit: {}; attrs: any; slots: { default: (props: DataGridBodySlotProps) => unknown; }; }, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & { namespace?: string | undefined; as?: (DOMElement | null) | undefined; renderless?: boolean | undefined; } & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: DataGridBodySlotProps) => unknown; }; emit: {}; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; /** * A `` element for data rows with selection and expansion state. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * Select * * * * ``` */ Row: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridRowSlotProps) => unknown; }; }); /** * A `
` element for header cells with sort state, pin, and layout. * Composes `Splitter.Panel` when inside a resizable `DataGridRow`. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * Name * * Name * * ``` */ Column: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridColumnSlotProps) => unknown; }; }); /** * The `
` element for data cells with editing state and row spanning. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * {{ isEditing ? 'editing' : item.name }} * * * * No data available * * ``` */ Cell: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridCellSlotProps) => unknown; }; }); /** * Empty state row that renders when the grid has no items. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * No data available * * * ``` */ Empty: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridEmptySlotProps) => unknown; }; }); /** * Column resize handle. Wraps `Splitter.Handle` for drag interaction. * Nest inside a `DataGridColumn` (except the last) in a resizable row * that uses the full `as="div"` chain. * * @see https://0.vuetifyjs.com/components/data/data-grid * * @example * ```vue * * * * * Name * * * Email * * * * ``` */ Handle: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: DataGridHandleSlotProps) => unknown; }; }); }; //#endregion export { DataGrid, _default$4 as DataGridBody, type DataGridBodyProps, type DataGridBodySlotProps, _default$6 as DataGridCell, type DataGridCellProps, type DataGridCellSlotProps, _default$3 as DataGridColumn, type DataGridColumnProps, type DataGridColumnSlotProps, _default$7 as DataGridEmpty, type DataGridEmptyProps, type DataGridEmptySlotProps, _default$8 as DataGridHandle, type DataGridHandleProps, type DataGridHandleSlotProps, type DataGridHandleState, _default$2 as DataGridHeader, type DataGridHeaderProps, type DataGridHeaderSlotProps, _default as DataGridRoot, type DataGridRootProps, type DataGridRootSlotProps, _default$5 as DataGridRow, type DataGridRowContext, type DataGridRowProps, type DataGridRowSlotProps, _default$1 as DataGridTable, type DataGridTableProps, type DataGridTableSlotProps, provideDataGridRoot, provideDataGridRow, useDataGridRoot, useDataGridRow };