UNPKG

tav-ui

Version:
202 lines (201 loc) 6.71 kB
import type { CascadeProOption } from './types'; declare const _default: import("vue").DefineComponent<{ readonly generatePannelItem: { readonly type: import("vue").PropType<import("./types").GeneratePannelItem>; }; readonly firstLetterTitle: { readonly type: StringConstructor; readonly default: "首字母:"; }; readonly firstLetterVisible: { readonly type: BooleanConstructor; readonly default: true; }; readonly hotVisible: { readonly type: BooleanConstructor; readonly default: true; }; readonly hotKeyWords: { readonly type: import("vue").PropType<string[]>; readonly default: () => string[]; }; readonly generateHotList: { readonly type: import("vue").PropType<import("./types").GenerateHotList>; readonly default: typeof import("./constants").getHots; }; readonly searchVisible: { readonly type: BooleanConstructor; readonly default: true; }; readonly searchPlaceholder: { readonly type: StringConstructor; readonly default: "请输入地址名称"; }; readonly generateSearchItem: { readonly type: import("vue").PropType<import("./types").GenerateSearchItem>; }; readonly id: { readonly type: StringConstructor; }; readonly value: { readonly type: import("vue").PropType<any>; readonly default: () => any[]; }; readonly fields: { readonly type: import("vue").PropType<string[]>; readonly default: () => string[]; }; readonly options: { readonly type: import("vue").PropType<any[]>; readonly default: () => any[]; }; readonly optionsKeyConfig: { readonly type: import("vue").PropType<Record<string, any>>; readonly default: () => Record<string, any>; }; readonly title: { readonly type: StringConstructor; readonly default: "地址选择"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: "请选择地址"; }; readonly showPlaceholder: { readonly type: BooleanConstructor; readonly default: false; }; readonly maxTagCount: { readonly type: NumberConstructor; readonly default: 3; }; }, { tavI18n: (key: string, vars?: any) => any; cascadeProRef: import("vue").Ref<any, any>; getBindValue: import("vue").ComputedRef<{ id: string; value: any; title: string; onChange: ((...args: any[]) => any) | undefined; searchVisible: boolean; searchPlaceholder: string; generateSearchItem: import("./types").GenerateSearchItem | undefined; options: any[]; hotVisible: boolean; hotKeyWords: string[]; generateHotList: import("./types").GenerateHotList; firstLetterTitle: string; firstLetterVisible: boolean; generatePannelItem: import("./types").GeneratePannelItem | undefined; fields: string[]; optionsKeyConfig: Record<string, any>; placeholder: string; showPlaceholder: boolean; maxTagCount: number; }>; visible: import("vue").Ref<boolean, boolean>; selectValue: import("vue").Ref<{ [x: string]: any; name: string; id: string; pid: string; children?: any[] | undefined; idPath: string; namePath: string; isIdSameAsOnlyOneChild?: boolean | undefined; firstLetter?: string | undefined; }[], CascadeProOption[] | { [x: string]: any; name: string; id: string; pid: string; children?: any[] | undefined; idPath: string; namePath: string; isIdSameAsOnlyOneChild?: boolean | undefined; firstLetter?: string | undefined; }[]>; selectOptions: import("vue").Ref<{ [x: string]: any; name: string; id: string; pid: string; children?: any[] | undefined; idPath: string; namePath: string; isIdSameAsOnlyOneChild?: boolean | undefined; firstLetter?: string | undefined; }[], CascadeProOption[] | { [x: string]: any; name: string; id: string; pid: string; children?: any[] | undefined; idPath: string; namePath: string; isIdSameAsOnlyOneChild?: boolean | undefined; firstLetter?: string | undefined; }[]>; handleConfirm: () => Promise<void>; handleCancel: () => void; handleClick: () => void; handleClear: (option: CascadeProOption) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ readonly generatePannelItem?: unknown; readonly firstLetterTitle?: unknown; readonly firstLetterVisible?: unknown; readonly hotVisible?: unknown; readonly hotKeyWords?: unknown; readonly generateHotList?: unknown; readonly searchVisible?: unknown; readonly searchPlaceholder?: unknown; readonly generateSearchItem?: unknown; readonly id?: unknown; readonly value?: unknown; readonly fields?: unknown; readonly options?: unknown; readonly optionsKeyConfig?: unknown; readonly title?: unknown; readonly placeholder?: unknown; readonly showPlaceholder?: unknown; readonly maxTagCount?: unknown; } & { value: any[]; title: string; searchVisible: boolean; searchPlaceholder: string; options: any[]; hotVisible: boolean; hotKeyWords: string[]; generateHotList: import("./types").GenerateHotList; firstLetterTitle: string; firstLetterVisible: boolean; fields: string[]; optionsKeyConfig: Record<string, any>; placeholder: string; showPlaceholder: boolean; maxTagCount: number; } & { generateSearchItem?: import("./types").GenerateSearchItem | undefined; id?: string | undefined; generatePannelItem?: import("./types").GeneratePannelItem | undefined; }> & { onChange?: ((...args: any[]) => any) | undefined; }, { value: any[]; title: string; searchVisible: boolean; searchPlaceholder: string; options: any[]; hotVisible: boolean; hotKeyWords: string[]; generateHotList: import("./types").GenerateHotList; firstLetterTitle: string; firstLetterVisible: boolean; fields: string[]; optionsKeyConfig: Record<string, any>; placeholder: string; showPlaceholder: boolean; maxTagCount: number; }>; export default _default;