import { IInitialStateParams } from '@mjcloud/redux'; import { ISelectBaseState, ISelectBaseConfig, SelectBaseControlActionType, SelectBaseControlEventType } from '../common/select/typings'; export declare type CascaderActionType = SelectBaseControlActionType; export declare type CascaderEventType = SelectBaseControlEventType; export interface ICascaderInitialStateParams extends IInitialStateParams { } export interface ICascaderConfig extends ISelectBaseConfig { /** * 是否允许多选,默认为false */ multiSelect: boolean; /** * 自动分词的分隔符 */ tokenSeparators: string[]; /** * 格式化成值时使用的分隔符 */ vaueleTokenSeparator: string; /** * 格式化成文本时使用的分隔符 */ textTokenSeparator: string; } export interface ICascaderState extends ISelectBaseState { /** * 是否允许多选,默认为false */ multiSelect: boolean; /** * 自动分词的分隔符 */ tokenSeparators: string[]; /** * 格式化成值时使用的分隔符 */ vaueleTokenSeparator: string; /** * 格式化成文本时使用的分隔符 */ textTokenSeparator: string; autoFocus: boolean; }