@beisen-phoenix/lookup
Version:
---
49 lines (48 loc) • 1.54 kB
TypeScript
import * as React from 'react';
import './index.scss';
import { OptionsType } from "../simpleList";
export interface AdvancedProps {
searchFormMeta?: any;
tableMeta?: any;
advMetaParam?: Object;
advMetaUrl?: string | Function;
advFormatListData?: Function;
advFormatMetaData?: Function;
advanceSearchUrl?: string;
advanceSearchFunction?: Function;
modalSize?: string;
maxSize?: number;
getContainer?: Function;
tablePrimaryKey?: string;
modalHeight?: string;
dlgTitle?: string;
multiple?: boolean;
selectValue?: OptionsType[];
translation?: {
clearSelected: string;
selected: string;
emptyMsg: string;
};
}
export default class AdvancedCmpt extends React.Component<AdvancedProps, any> {
static defaultProps: {
tablePrimaryKey: string;
};
private tableRef;
constructor(props: any);
componentDidMount(): void;
resetCalcHeight: () => void;
componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void;
clearItem: (item: any) => void;
clearAll: () => void;
renderSelectedPanel(): JSX.Element | null;
resetLoading: (loading: any) => void;
initTableData: (param: any, pagination: any, data: any) => void;
getListInfo: (param: any, pagination: any) => void;
onSearchFormChange: (value: any) => void;
tableOnChange: (data: any) => void;
getSelected: () => any;
getSelectedRowsData: (rows: any) => any;
renderTable: () => JSX.Element;
render(): JSX.Element;
}