UNPKG

tdesign-mobile-vue

Version:
121 lines (120 loc) 6.28 kB
import { DropdownValue } from './type'; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ disabled: BooleanConstructor; footer: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['footer']>; }; icon: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['icon']>; default: import("@/components").TdDropdownItemProps['icon']; }; keys: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['keys']>; }; label: { type: StringConstructor; default: string; }; multiple: BooleanConstructor; options: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['options']>; default: () => import("@/components").TdDropdownItemProps['options']; }; optionsColumns: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['optionsColumns']>; default: import("@/components").TdDropdownItemProps['optionsColumns']; }; placement: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['placement']>; default: import("@/components").TdDropdownItemProps['placement']; validator(val: import("@/components").TdDropdownItemProps['placement']): boolean; }; value: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['value']>; default: import("@/components").TdDropdownItemProps['value']; }; modelValue: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['value']>; default: import("@/components").TdDropdownItemProps['value']; }; defaultValue: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['defaultValue']>; default: import("@/components").TdDropdownItemProps['defaultValue']; }; onChange: import("vue").PropType<import("@/components").TdDropdownItemProps['onChange']>; onClose: import("vue").PropType<import("@/components").TdDropdownItemProps['onClose']>; onClosed: import("vue").PropType<import("@/components").TdDropdownItemProps['onClosed']>; onConfirm: import("vue").PropType<import("@/components").TdDropdownItemProps['onConfirm']>; onOpen: import("vue").PropType<import("@/components").TdDropdownItemProps['onOpen']>; onOpened: import("vue").PropType<import("@/components").TdDropdownItemProps['onOpened']>; onReset: import("vue").PropType<import("@/components").TdDropdownItemProps['onReset']>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "open" | "opened" | "update:modelValue" | "update:value")[], "change" | "close" | "closed" | "open" | "opened" | "update:modelValue" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ disabled: BooleanConstructor; footer: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['footer']>; }; icon: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['icon']>; default: import("@/components").TdDropdownItemProps['icon']; }; keys: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['keys']>; }; label: { type: StringConstructor; default: string; }; multiple: BooleanConstructor; options: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['options']>; default: () => import("@/components").TdDropdownItemProps['options']; }; optionsColumns: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['optionsColumns']>; default: import("@/components").TdDropdownItemProps['optionsColumns']; }; placement: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['placement']>; default: import("@/components").TdDropdownItemProps['placement']; validator(val: import("@/components").TdDropdownItemProps['placement']): boolean; }; value: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['value']>; default: import("@/components").TdDropdownItemProps['value']; }; modelValue: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['value']>; default: import("@/components").TdDropdownItemProps['value']; }; defaultValue: { type: import("vue").PropType<import("@/components").TdDropdownItemProps['defaultValue']>; default: import("@/components").TdDropdownItemProps['defaultValue']; }; onChange: import("vue").PropType<import("@/components").TdDropdownItemProps['onChange']>; onClose: import("vue").PropType<import("@/components").TdDropdownItemProps['onClose']>; onClosed: import("vue").PropType<import("@/components").TdDropdownItemProps['onClosed']>; onConfirm: import("vue").PropType<import("@/components").TdDropdownItemProps['onConfirm']>; onOpen: import("vue").PropType<import("@/components").TdDropdownItemProps['onOpen']>; onOpened: import("vue").PropType<import("@/components").TdDropdownItemProps['onOpened']>; onReset: import("vue").PropType<import("@/components").TdDropdownItemProps['onReset']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; onClose?: (...args: any[]) => any; onClosed?: (...args: any[]) => any; onOpen?: (...args: any[]) => any; onOpened?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:value"?: (...args: any[]) => any; }>, { disabled: boolean; icon: ((h: typeof import('vue').h) => import("@/index-lib").TNodeReturnValue)[] | ((h: typeof import('vue').h) => import("@/index-lib").TNodeReturnValue); label: string; multiple: boolean; options: import("@/components").DropdownOption[]; optionsColumns: string | number; placement: "left" | "right"; value: DropdownValue; modelValue: DropdownValue; defaultValue: DropdownValue; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;