import React from "react"; import { IItemData, ChangeParams, IsCheckAllParams, CheckAllParams } from "./common.typing"; export interface CommonListProps { /** * 列表类型 * - member * - group * - session * - partner * - contact 外部联系人 * - combination (组合类型,包括 member、session) * - default: member */ type?: string; /** * 组件类型(四种组件策略) * member 选人组件 * group 选群组件 * session 选会话组件 * org 选部门 */ pikerType?: string; isShowOrg: boolean; title?: string; showCheckAll?: boolean; customStyle?: {}; list?: IItemData[]; disabledids?: string[]; currentList?: IItemData[]; setCurrentList: (list: IItemData[]) => void; onChangeHoc: (params: ChangeParams) => void; onCheckAllHoc: (params: CheckAllParams) => void; isCheckAllHoc: (params: IsCheckAllParams) => boolean; requiredList?: IItemData[]; onClickPartner?: (id: number | string, name: string) => void; onChangeCurPage: (page: string) => void; isShowGroupMemberRole?: boolean; multiple?: boolean; isSearchHighlight?: boolean; trackTitle?: string; isNeedTrack?: boolean; isFromSearch?: boolean; searchKey?: string; searchType?: string; track: (eventName: string, eventData?: any) => void; } declare const _default: { new (props: any): { onChangeHoc: ({ value, checked, list, currentList, setCurrentList, }: ChangeParams) => void; onCheckAllHoc: ({ value, checked, list, disabledids, currentList, setCurrentList, requiredList, }: CheckAllParams) => void; isCheckAllHoc: ({ list, currentList, disabledids, }: IsCheckAllParams) => boolean; render(): React.JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; new (props: any, context: any): { onChangeHoc: ({ value, checked, list, currentList, setCurrentList, }: ChangeParams) => void; onCheckAllHoc: ({ value, checked, list, disabledids, currentList, setCurrentList, requiredList, }: CheckAllParams) => void; isCheckAllHoc: ({ list, currentList, disabledids, }: IsCheckAllParams) => boolean; render(): React.JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; contextType?: React.Context | undefined; }; export default _default;