UNPKG

lwx-test-ui

Version:

lwx-test-ui

71 lines (70 loc) 2.14 kB
import { ExtractPropTypes } from 'vue'; export declare const selectTreeProps: { readonly queryInterface: { readonly type: StringConstructor; }; readonly options: { readonly type: ArrayConstructor; readonly default: () => never[]; }; readonly params: { readonly type: ObjectConstructor; readonly default: null; }; readonly isSelectedFirst: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly modelValue: { readonly type: [StringConstructor, NumberConstructor]; readonly default: () => string; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: true; }; readonly placeholder: { readonly type: StringConstructor; readonly default: "请选择"; }; readonly multiple: { readonly type: BooleanConstructor; readonly default: false; }; readonly filterable: { readonly type: BooleanConstructor; readonly default: true; }; readonly firstValue: { readonly type: [StringConstructor, NumberConstructor]; readonly default: () => string; }; readonly checkStrictly: { readonly type: BooleanConstructor; readonly default: true; }; readonly expandOnClickNode: { readonly type: BooleanConstructor; readonly default: true; }; readonly treeProps: { readonly type: ObjectConstructor; readonly default: () => { key: string; label: string; value: string; disabled: string; isLeaf: string; }; }; }; export type SelectTreeProps = ExtractPropTypes<typeof selectTreeProps>; export declare const selectTreeEmits: { 'update:modelValue': (value: string | number | null | undefined) => string | number | null | undefined; nodeChange: (value: any) => any; change: (_value: string | number | null | undefined) => boolean; };