/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { CompositeFilterDescriptor } from '@progress/kendo-data-query'; import { PopupAnimation } from '@progress/kendo-vue-popup'; import { GridColumnMenuColumnProps } from './GridColumnMenuColumnProps'; import { GridFilterOperators } from './GridFilterOperators'; /** * The props passed to the ColumnMenu filter component. */ export interface GridColumnMenuFilterBaseProps { /** * Controls the ColumnMenu animation. By default, the opening and closing animations are enabled. */ animate?: boolean | PopupAnimation; /** * The current column options. */ column: GridColumnMenuColumnProps; /** * The method that will be called to close the column menu. */ onClosemenu?: Function; /** * The current filter state of the Grid. */ filter?: CompositeFilterDescriptor; /** * The filterable option of the column. */ filterable?: boolean | undefined; /** * The filter operators for the Grid filters. */ filterOperators: GridFilterOperators; /** * The template that can customize the check all checkbox item. */ checkAllItem?: string | object | Function | boolean; /** * The template that can customize the checkbox item. */ item?: string | object | Function | boolean; /** * The trigger focus event. */ onFocus?: (e: any) => void; /** * The method that will be called to notify the parent Grid about a filter change. */ onFilterchange?: (filter: CompositeFilterDescriptor | null, syntheticEvent: any) => any; }