UNPKG

ng-layout-form

Version:

layout form

22 lines (21 loc) 737 B
import { NGTableProps } from 'ng-lib-tsx'; import { formConfProps } from '../config/interface'; import { CompDefaultPropsInfo } from '../props.dt'; export interface grid_col { text: string; datafield: string; langKey: string; width: number; sortable: boolean; editor: { allowBlank: true; }; } declare type columnsType = NGTableProps['columns'] | ((configColumns: NGTableProps['columns']) => NGTableProps['columns']); export declare type GridViewInfo = Omit<NGTableProps, 'columns'> & { busKey?: string; busFields?: Array<string>; columns?: columnsType; }; export declare type GridViewPropsInfo = GridViewInfo & CompDefaultPropsInfo<formConfProps.GridView>; export {};