UNPKG

tdesign-mobile-vue

Version:
177 lines (176 loc) 7.48 kB
import { PickerValue, PickerColumn, PickerColumnItem, PickerWheelConfig } from './type'; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ cancelBtn: { type: import("vue").PropType<import("@/components").TdPickerProps['cancelBtn']>; default: import("@/components").TdPickerProps['cancelBtn']; }; columns: { type: import("vue").PropType<import("@/components").TdPickerProps['columns']>; default: () => import("@/components").TdPickerProps['columns']; required: boolean; }; confirmBtn: { type: import("vue").PropType<import("@/components").TdPickerProps['confirmBtn']>; default: import("@/components").TdPickerProps['confirmBtn']; }; footer: { type: import("vue").PropType<import("@/components").TdPickerProps['footer']>; }; header: { type: import("vue").PropType<import("@/components").TdPickerProps['header']>; }; keys: { type: import("vue").PropType<import("@/components").TdPickerProps['keys']>; }; option: { type: import("vue").PropType<import("@/components").TdPickerProps['option']>; }; renderLabel: { type: import("vue").PropType<import("@/components").TdPickerProps['renderLabel']>; }; swipeDuration: { type: import("vue").PropType<import("@/components").TdPickerProps['swipeDuration']>; default: import("@/components").TdPickerProps['swipeDuration']; }; title: { type: StringConstructor; default: string; }; value: { type: import("vue").PropType<import("@/components").TdPickerProps['value']>; default: import("@/components").TdPickerProps['value']; }; modelValue: { type: import("vue").PropType<import("@/components").TdPickerProps['value']>; default: import("@/components").TdPickerProps['value']; }; defaultValue: { type: import("vue").PropType<import("@/components").TdPickerProps['defaultValue']>; }; wheelConfig: { type: import("vue").PropType<import("@/components").TdPickerProps['wheelConfig']>; }; onCancel: import("vue").PropType<import("@/components").TdPickerProps['onCancel']>; onChange: import("vue").PropType<import("@/components").TdPickerProps['onChange']>; onConfirm: import("vue").PropType<import("@/components").TdPickerProps['onConfirm']>; onPick: import("vue").PropType<import("@/components").TdPickerProps['onPick']>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "pick" | "update:modelValue" | "update:value")[], "cancel" | "change" | "pick" | "update:modelValue" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ cancelBtn: { type: import("vue").PropType<import("@/components").TdPickerProps['cancelBtn']>; default: import("@/components").TdPickerProps['cancelBtn']; }; columns: { type: import("vue").PropType<import("@/components").TdPickerProps['columns']>; default: () => import("@/components").TdPickerProps['columns']; required: boolean; }; confirmBtn: { type: import("vue").PropType<import("@/components").TdPickerProps['confirmBtn']>; default: import("@/components").TdPickerProps['confirmBtn']; }; footer: { type: import("vue").PropType<import("@/components").TdPickerProps['footer']>; }; header: { type: import("vue").PropType<import("@/components").TdPickerProps['header']>; }; keys: { type: import("vue").PropType<import("@/components").TdPickerProps['keys']>; }; option: { type: import("vue").PropType<import("@/components").TdPickerProps['option']>; }; renderLabel: { type: import("vue").PropType<import("@/components").TdPickerProps['renderLabel']>; }; swipeDuration: { type: import("vue").PropType<import("@/components").TdPickerProps['swipeDuration']>; default: import("@/components").TdPickerProps['swipeDuration']; }; title: { type: StringConstructor; default: string; }; value: { type: import("vue").PropType<import("@/components").TdPickerProps['value']>; default: import("@/components").TdPickerProps['value']; }; modelValue: { type: import("vue").PropType<import("@/components").TdPickerProps['value']>; default: import("@/components").TdPickerProps['value']; }; defaultValue: { type: import("vue").PropType<import("@/components").TdPickerProps['defaultValue']>; }; wheelConfig: { type: import("vue").PropType<import("@/components").TdPickerProps['wheelConfig']>; }; onCancel: import("vue").PropType<import("@/components").TdPickerProps['onCancel']>; onChange: import("vue").PropType<import("@/components").TdPickerProps['onChange']>; onConfirm: import("vue").PropType<import("@/components").TdPickerProps['onConfirm']>; onPick: import("vue").PropType<import("@/components").TdPickerProps['onPick']>; }>> & Readonly<{ onCancel?: (...args: any[]) => any; onChange?: (...args: any[]) => any; onPick?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:value"?: (...args: any[]) => any; }>, { cancelBtn: string | boolean; columns: PickerColumn[] | PickerColumn | ((item: Array<PickerValue>) => Array<PickerColumn>); confirmBtn: string | boolean; swipeDuration: string | number; title: string; value: PickerValue[]; modelValue: PickerValue[]; }, {}, { PickerItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ options: { type: import("vue").PropType<PickerColumnItem[]>; }; value: { type: import("vue").PropType<PickerValue>; default: any; }; renderLabel: { type: FunctionConstructor; default: any; }; onPick: { type: FunctionConstructor; default: any; }; wheelConfig: { type: import("vue").PropType<Required<PickerWheelConfig>>; default: () => Required<PickerWheelConfig>; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "pick"[], "pick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ options: { type: import("vue").PropType<PickerColumnItem[]>; }; value: { type: import("vue").PropType<PickerValue>; default: any; }; renderLabel: { type: FunctionConstructor; default: any; }; onPick: { type: FunctionConstructor; default: any; }; wheelConfig: { type: import("vue").PropType<Required<PickerWheelConfig>>; default: () => Required<PickerWheelConfig>; }; }>> & Readonly<{ onPick?: (...args: any[]) => any; }>, { value: PickerValue; renderLabel: Function; onPick: Function; wheelConfig: Required<PickerWheelConfig>; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;