import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { SortDirection } from "../../composables/createDataTable/adapters/adapter.mjs"; import "../../composables/createDataTable/index.mjs"; import { PinPosition } from "../../composables/createDataGrid/layout.mjs"; import "../../composables/createDataGrid/index.mjs"; //#region src/components/DataGrid/DataGridColumn.vue.d.ts interface DataGridColumnProps extends AtomProps { /** Namespace for dependency injection. @default 'v0:data-grid' */ namespace?: string; /** Column id — registers this header with the grid when set */ id?: string; /** Participate in the sort pipeline */ sortable?: boolean; /** Participate in the filter pipeline */ filterable?: boolean; /** Width as a percentage (0–100) */ size?: number; /** Minimum width as a percentage */ minSize?: number; /** Maximum width as a percentage */ maxSize?: number; /** Pin position */ pinned?: PinPosition; /** Allow resizing */ resizable?: boolean; /** Whether cells in this column can be edited */ editable?: boolean; /** Validate a committed edit. Return `true` or an error string. */ validate?: (value: unknown) => string | true; /** Number of columns this cell spans */ colspan?: number; /** Number of rows this cell spans */ rowspan?: number; } interface DataGridColumnSlotProps { /** Whether this column is sortable */ isSortable: boolean; /** Current sort direction: 'asc' | 'desc' | 'none' */ direction: SortDirection; /** Sort priority index (0-based), or -1 if not sorted */ priority: number; /** Toggle sort for this column */ toggle: () => void; /** Whether this column is pinned */ isPinned: boolean; /** Pin position: 'left', 'right', or false */ pinPosition: PinPosition; /** Whether this column is resizable */ isResizable: boolean; /** Current column size as a percentage */ size: number; /** Minimum size as a percentage */ minSize: number; /** Maximum size as a percentage */ maxSize: number; /** Offset from the pinning edge (for sticky positioning) */ offset: number; attrs: { 'role': 'columnheader'; 'scope': 'col' | 'colgroup' | undefined; 'aria-sort': 'ascending' | 'descending' | 'none' | undefined; 'data-direction': 'asc' | 'desc' | undefined; 'colspan': number | undefined; 'rowspan': number | undefined; 'aria-colspan': number | undefined; 'aria-rowspan': number | undefined; 'style'?: Record; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: DataGridColumnSlotProps) => unknown; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { DataGridColumnProps, DataGridColumnSlotProps, _default as default };