import { TemplateRef } from "@angular/core"; import { FormGroup } from "@angular/forms"; import { SafeAny } from "../../utilities/type/type"; import { BzInternalState } from "./table.enum"; export interface Sort { element: HTMLElement; columnName: string; direction?: string; } export interface BzTemplate { template: TemplateRef; } export interface PageObject { page?: number; pageSize?: number; sortDirection?: string; columnName?: string; } export interface BzPageable { sort?: string; size?: number; page?: number; } export interface BzCustomFormGroup extends FormGroup { index: string; entityState: BzInternalState; buttonIndex: string; restoreRow: boolean; } export interface BzSmartTable { deletedItems: SafeAny[]; modifiedItems: SafeAny[]; newItems: SafeAny[]; } export interface BzTableUnique { isUnique: boolean; bzSmartTable: SafeAny; }