UNPKG

@ecoba-vn/tender-feature

Version:
21 lines (20 loc) 837 B
import { DataColumn, HelperColumn } from "../components/DataGrid"; import { ComponentActivityModel } from "../services/component.service"; export declare type Data = { idCode: string; description: string; unit: string; quantity: string; serviceCode: string; orderItemCode: string; orderItemDescription: string; orderItemUnit: string; }; export declare const checkNullColumns: (keyof Data)[]; declare const config: { getDataColumns: (items: ComponentActivityModel[]) => DataColumn<Data>[]; getHelperColumns: (items: ComponentActivityModel[], itemsToDelete: string[], onSelect: (value: string) => void, selectAll: number, onSelectAll: () => void) => HelperColumn[]; isDiff: (item: Data, obj: any) => boolean; dataFromItem: (item?: any) => Data; }; export default config;