declare var _default: import("../../Utils/ComponentUtils").ComponentWrapper & { wrappedComponentRef?: ((instance: FavoritesList | null) => void) | React.RefObject | null | undefined; }>; export default _default; /** * Provides the favorites listing page. The component relies entirely on its properties. */ declare class FavoritesList extends React.Component { constructor(props: any); renderIdCell({ key, value, row, column }: { key: any; value: any; row: any; column: any; }): JSX.Element; renderGroupCell({ key, value, row, rowIndex, columnIndex, column }: { key: any; value: any; row: any; rowIndex: any; columnIndex: any; column: any; }): JSX.Element; renderTypeCell({ key, value, row, column }: { key: any; value: any; row: any; column: any; }): JSX.Element; renderNoteCell({ key, value, row, rowIndex, column, columnIndex }: { key: any; value: any; row: any; rowIndex: any; column: any; columnIndex: any; }): JSX.Element; renderCountSummary(): JSX.Element; renderEmptyState(): JSX.Element; /** * Calls appropriate handler when any edit link is pressed. Because the switch between the cell contents and the * in-line edit form can alter row height, the CellMeasurer cache is cleared. * @param rowIndex * @param columnIndex * @param dataKey * @param rowData * @param cellData * @private */ private handleEditClick; /** * Calls appropriate handler when changes are made to content during an in-line edit. * @param value - edited value * @private */ private handleCellChange; /** * Calls appropriate handler when an in-line edit save button is clicked. A new favorite is sent back to the handler * with the original favorite information updated with the edited value. Again, because this event collapses the * in-line edit form, which can alter row height, the CellMeasurer cache is cleared. * @param dataKey - the property of the favorite that was edited (group or note here) * @private */ private handleCellSave; /** * Calls appropriate handler when the in-line edit changes are discarded. Again, because this event collapses the * in-line edit form, which can alter row height, the CellMeasure cache is cleared. * @private */ private handleCellCancel; handleRowDelete(row: any): void; handleSearchTermChange(value: any): void; handleTypeFilterClick(recordType: any): void; getRecordClassByName(recordClassName: any): any; countFavoritesByType(): any; handleUndoDelete(row: any): void; handleBannerClose(index: any, banner: any): void; handleBulkUndoDelete(rows: any): void; onSort({ key }: { key: any; }, direction: any): void; onRowSelect({ id }: { id: any; }): void; onRowDeselect({ id }: { id: any; }): void; onMultipleRowSelect(rows: any): void; onMultipleRowDeselect(rows: any): void; getTableActions(): { selectionRequired: boolean; element(selection: any): JSX.Element; callback: (selection: any) => void; }[]; getTableOptions(): { useStickyHeader: boolean; selectedNoun: string; selectedPluralNoun: string; tableBodyMaxHeight: string; renderEmptyState: () => JSX.Element; searchPlaceholder: any; isRowSelected({ id }: { id: any; }): any; }; getTableColumns(): ({ key: string; name: string; renderCell: ({ key, value, row, column }: { key: any; value: any; row: any; column: any; }) => JSX.Element; width: string; sortable: boolean; helpText?: undefined; } | { key: string; name: string; renderCell: ({ key, value, row, rowIndex, column, columnIndex }: { key: any; value: any; row: any; rowIndex: any; column: any; columnIndex: any; }) => JSX.Element; width: string; sortable: boolean; helpText: string; })[]; getTableEventHandlers(): { onSort: ({ key }: { key: any; }, direction: any) => void; onRowSelect: ({ id }: { id: any; }) => void; onRowDeselect: ({ id }: { id: any; }) => void; onMultipleRowSelect: (rows: any) => void; onMultipleRowDeselect: (rows: any) => void; }; createDeletedBanner(selection: any): void; /** * A workaround that watches an cell input (specifically the group editor) and, when "enter" is pressed, submits * the relevant cell for saving. * @param e - Keypress event * @param dataKey - cell data key to pass along for saving **/ handleEnterKey(e: any, dataKey: any): void; getDataKeyTooltip(dataKey: any): "" | "This links back to your favorite" | "This is the type of your favorite" | "Use this column to add notes (click edit to change this field)." | "Organize your favorites by project names"; } import React from "react"; //# sourceMappingURL=FavoritesList.d.ts.map