import { CoarSelectOption, CoarSelectSize } from '@cocoar/vue-ui'; /** * Configuration for the select cell editor + renderer. * * Set via `col.select(field, s => s.options(…).clearable())`. */ export interface SelectCellEditorConfig { /** * Available options. Static array or row-aware function. * Using `(row) => CoarSelectOption[]` lets options depend on row state. */ options?: CoarSelectOption[] | ((row: TData) => CoarSelectOption[]); /** Show a clear button in the editor */ clearable?: boolean; /** Enable search/filter in the dropdown */ searchable?: boolean; /** Placeholder shown when no value is selected */ placeholder?: string; /** Search-input placeholder (only when `searchable: true`) */ searchPlaceholder?: string; /** Trigger size — defaults to `'s'` to fit cell height */ size?: CoarSelectSize; } //# sourceMappingURL=select-cell-editor.models.d.ts.map