import SimpleSearch from '.'; import { Filter } from '@mjcloud/utils'; import { IState } from '@mjcloud/redux'; import { IInitialStateParams } from '@mjcloud/redux'; import { IControlSetConfig, XmlNode } from '@mjcloud/types'; import { IEventArg } from '@mjcloud/utils/dist/events/eventListening'; import { ContainerControlActionType } from '@mjcloud/instance/dist/containerInstanceBase'; export declare type SimpleSearchActionType = ContainerControlActionType | 'updateValue' | 'find'; export declare type SimpleSearchThemeType = 'header' | 'normal'; export interface ISimpleSearchUpdateValueParams { value: string | undefined; } export interface ISimpleSearchFindParams { value: string | undefined; } export declare type SimpleSearchEventType = 'find'; export interface ISimpleSearchFindData { filter: Filter; } export interface ISimpleSearchFindArg extends IEventArg { } export interface ISimpleSearchItem { title: string; left: string; } export interface ISimpleSearchConfig extends IControlSetConfig { tip?: string; styleName: SimpleSearchThemeType; items: Array; } export interface ISimpleSearchInitialStateParams extends IInitialStateParams { } export interface ISimpleSearchState extends IState { _filter: Filter; _nowValue: string | undefined; theme: SimpleSearchThemeType; placeholder: string; items: ISimpleSearchItem[]; searchValue: string | undefined; }