yanzhen-design-vue
Version:
24 lines (23 loc) • 1.17 kB
TypeScript
import { Key, SingleValueType } from './types';
import { InnerCascaderContextProps } from './context';
interface IProps extends Partial<Pick<InnerCascaderContextProps, 'height' | 'options' | 'fieldNames'>> {
checkStrictly?: boolean;
displayRender?: (labels: string[], selectedOptions?: Record<string, any>) => string;
}
declare let __VLS_typeProps: IProps;
type __VLS_PublicProps = {
'value'?: Key[];
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:value": (value: Key[]) => any;
change: (values: SingleValueType[]) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:value"?: (value: Key[]) => any;
onChange?: (values: SingleValueType[]) => any;
}>, {
fieldNames: import('vue').Ref<import('./types').FieldNames>;
options: import('vue').Ref<import('./types').Option[]>;
height: import('vue').Ref<number>;
checkStrictly: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;