import { IColumn, Selection } from "office-ui-fabric-react/lib/DetailsList"; import { FabreactorField, FabreactorFieldType, FabreactorFieldHeader, FabreactorFieldTotal } from "../../utils"; import { IFabreactorDetailsListProps } from "../../components/DetailsList"; export default class FabreactorDetailsListStore { api: IFabreactorDetailsListProps; selection: Selection; items?: any[] | null; fields: FabreactorField[]; summary?: FabreactorFieldHeader[]; summaryValues: any[]; hasNextPage: boolean; selectedItems: any[]; columnHeaderField: any; orderBy: any; constructor(api: IFabreactorDetailsListProps); private init; getSummaryValue: (key: any, total: any) => Promise; onSelectionChanged: () => void; openForm: (item: any) => void; columnClick: (ev: any, column: IColumn) => void; getSelection: () => import("office-ui-fabric-react").IObjectWithKey[]; contextualMenuDismissed: () => void; onLinkClick: (item: any, url: string) => Promise; setHasNextPage: (hasNextPage: boolean) => void; setOrderBy: (orderBy: any) => void; setItems: (items?: any[] | null | undefined) => void; setFields: (fields: FabreactorField[]) => void; setSummary: (fields: FabreactorFieldHeader[]) => void; adjustOrder: (draggedIndex: number, targetIndex: number) => void; readonly summaryRow: { field: { async: boolean; key: string; name?: string | undefined; description?: string | undefined; type: FabreactorFieldType; sortable?: boolean | undefined; minWidth?: number | undefined; maxWidth?: number | undefined; filterable?: boolean | undefined; readOnly?: boolean | undefined; asTimeAgo?: boolean | undefined; hideInViewForm?: boolean | undefined; required?: boolean | undefined; asProgressBar?: boolean | undefined; colored?: boolean | undefined; editOnViewForm?: boolean | undefined; multiValue?: boolean | undefined; icon?: string | undefined; options?: import("../../utils").FabreactorLookup[] | undefined; action?: import("../../utils").FabreactorAction | undefined; onClick?: ((item: any, sourceItem: any) => Promise) | undefined; totals?: FabreactorFieldTotal[] | undefined; }; summary: FabreactorFieldTotal; title: string; getValue: () => Promise; }[] | null; translateSummary: (total: FabreactorFieldTotal) => string; readonly columnReorderOptions: { onColumnDrop: (event: any) => void; frozenColumnCountFromEnd: number; } | undefined; readonly contextualHeaderMenuProps: any; readonly isLoaded: boolean; readonly isSticky: boolean; readonly preview: boolean | undefined; readonly titleColumn: string | null; readonly listItems: any[]; readonly hasSelectedItems: boolean; readonly disableItemSelection: boolean; readonly columns: IColumn[]; }