import { TableColumn } from '../datatable'; import { ClassComponent } from '../ts-helpers.d'; export interface CustomColumnLocaleConfig { resetDefaultText: string; } export type DragableColumn = TableColumn & { order?: number; parentHeaderField?: string; siblingHeaders?: TableColumn[]; }; export interface CustomColumnProps { tableId: string; defaultColumns: TableColumn[]; visibleColumns: TableColumn[]; /** * The maximum column count allowed * @default infinity */ maxColumn?: number; type?: 'menu' | 'flat'; } /** * **WangsVue - CustomColumn** * * * _Internally used by DataTable to configure visibility of columns. It can also be used outside DataTable with type 'flat'._ * * --- --- * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png) * * @group Component */ declare class CustomColumn extends ClassComponent< CustomColumnProps, unknown, unknown > { /** * Method to show custom column menu. */ toggleMenu: () => void; /** * Resets the column visibility to default */ resetToDefault: () => void; } export default CustomColumn;