import { VanillaFrameworkOverrides } from '@ag-grid-community/core' ; import { AgGridVue } from './AgGridVue' ; import { VueComponentFactory } from './VueComponentFactory' ; export class VueFrameworkOverrides extends VanillaFrameworkOverrides { private readonly parent : AgGridVue ; constructor ( parent ) { super ( ) ; this . parent = parent ; } public frameworkComponent ( name ) { return ! ! VueComponentFactory . searchForComponentInstance ( this . parent , name , 10 , true ) ? name : null ; } }