/** * @file cascader级联选择 * @author fuqiangqiang@baidu.com */ import Base from 'santd/base'; import InnerCascader from './src/Cascader'; import Input from '../input'; import Icon from '../icon'; import './style/index'; import { SingleCascaderState as State, SingleCascaderProps as Props, Computed, InputClickEvent, DefaultOptionType, ValueType, SingleValueType } from './interface'; export default class Cascader extends Base { static components: { 's-cascader': typeof InnerCascader; 's-input': typeof Input; 's-icon': typeof Icon; }; initData(): State; static computed: Computed; inited(): void; defaultDisplayRender(label: string[]): string; handleChange({ value, selectedOptions }: { value: SingleValueType[]; selectedOptions: DefaultOptionType[]; }): void; handlePopupVisibleChange(visible: boolean): void; setValue(value: ValueType, selectedOptions?: DefaultOptionType[]): void; handleClearSelection(e: MouseEvent): void; handleInputChange(value: string): void; handleInputClick(e: InputClickEvent): void; handleInputBlur(): void; blur(): void; focus(): void; static template: string; }