UNPKG

amis

Version:

一种MIS页面生成工具

75 lines (74 loc) 1.96 kB
import React from 'react'; import { RendererProps } from '../../factory'; import { Action } from '../../types'; export interface QuickSearchConfig { type?: string; controls?: any; tabs?: any; fieldSet?: any; [propName: string]: any; } export interface HeadCellSearchProps extends RendererProps { name: string; searchable: boolean | QuickSearchConfig; classPrefix: string; onQuery: (values: object) => void; } export declare class HeadCellSearchDropDown extends React.Component<HeadCellSearchProps, any> { state: { isOpened: boolean; }; formItems: Array<string>; constructor(props: HeadCellSearchProps); buildSchema(): "error" | { type: string; wrapperComponent: string; actions: ({ type: string; label: any; actionType: string; primary?: undefined; } | { label: any; type: string; primary: boolean; actionType?: undefined; })[]; controls?: any; tabs?: any; fieldSet?: any; title: string; } | { type: string; wrapperComponent: string; actions: ({ type: string; label: any; actionType: string; primary?: undefined; } | { label: any; type: string; primary: boolean; actionType?: undefined; })[]; title: string; className: any; controls: { type: string; controls?: any; tabs?: any; fieldSet?: any; name: any; placeholder: any; }[]; }; handleClickOutside(): void; open(): void; close(): void; handleAction(e: any, action: Action, ctx: object): void; handleReset(): void; handleSubmit(values: any): void; isActive(): boolean; render(): JSX.Element; }