UNPKG

tdesign-mobile-vue

Version:
223 lines (222 loc) 8.08 kB
import { TdActionSheetProps } from './type'; import './style'; export * from './type'; export type ActionSheetProps = TdActionSheetProps; export declare const ActionSheet: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ align: { type: import("vue").PropType<TdActionSheetProps['align']>; default: TdActionSheetProps['align']; validator(val: TdActionSheetProps['align']): boolean; }; cancelText: { type: StringConstructor; default: string; }; count: { type: NumberConstructor; default: number; }; description: { type: StringConstructor; default: string; }; items: { type: import("vue").PropType<TdActionSheetProps['items']>; }; popupProps: { type: import("vue").PropType<TdActionSheetProps['popupProps']>; default: () => {}; }; showCancel: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; theme: { type: import("vue").PropType<TdActionSheetProps['theme']>; default: TdActionSheetProps['theme']; validator(val: TdActionSheetProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onCancel: import("vue").PropType<TdActionSheetProps['onCancel']>; onClose: import("vue").PropType<TdActionSheetProps['onClose']>; onSelected: import("vue").PropType<TdActionSheetProps['onSelected']>; }>> & Readonly<{ onCancel?: (...args: any[]) => any; onClose?: (...args: any[]) => any; onSelected?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:visible"?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "close" | "selected" | "update:modelValue" | "update:visible")[], import("vue").PublicProps, { align: "center" | "left"; cancelText: string; count: number; description: string; popupProps: import("@/popup").TdPopupProps; showCancel: boolean; showOverlay: boolean; theme: "grid" | "list"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ align: { type: import("vue").PropType<TdActionSheetProps['align']>; default: TdActionSheetProps['align']; validator(val: TdActionSheetProps['align']): boolean; }; cancelText: { type: StringConstructor; default: string; }; count: { type: NumberConstructor; default: number; }; description: { type: StringConstructor; default: string; }; items: { type: import("vue").PropType<TdActionSheetProps['items']>; }; popupProps: { type: import("vue").PropType<TdActionSheetProps['popupProps']>; default: () => {}; }; showCancel: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; theme: { type: import("vue").PropType<TdActionSheetProps['theme']>; default: TdActionSheetProps['theme']; validator(val: TdActionSheetProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onCancel: import("vue").PropType<TdActionSheetProps['onCancel']>; onClose: import("vue").PropType<TdActionSheetProps['onClose']>; onSelected: import("vue").PropType<TdActionSheetProps['onSelected']>; }>> & Readonly<{ onCancel?: (...args: any[]) => any; onClose?: (...args: any[]) => any; onSelected?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:visible"?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { align: "center" | "left"; cancelText: string; count: number; description: string; popupProps: import("@/popup").TdPopupProps; showCancel: boolean; showOverlay: boolean; theme: "grid" | "list"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ align: { type: import("vue").PropType<TdActionSheetProps['align']>; default: TdActionSheetProps['align']; validator(val: TdActionSheetProps['align']): boolean; }; cancelText: { type: StringConstructor; default: string; }; count: { type: NumberConstructor; default: number; }; description: { type: StringConstructor; default: string; }; items: { type: import("vue").PropType<TdActionSheetProps['items']>; }; popupProps: { type: import("vue").PropType<TdActionSheetProps['popupProps']>; default: () => {}; }; showCancel: { type: BooleanConstructor; default: boolean; }; showOverlay: { type: BooleanConstructor; default: boolean; }; theme: { type: import("vue").PropType<TdActionSheetProps['theme']>; default: TdActionSheetProps['theme']; validator(val: TdActionSheetProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onCancel: import("vue").PropType<TdActionSheetProps['onCancel']>; onClose: import("vue").PropType<TdActionSheetProps['onClose']>; onSelected: import("vue").PropType<TdActionSheetProps['onSelected']>; }>> & Readonly<{ onCancel?: (...args: any[]) => any; onClose?: (...args: any[]) => any; onSelected?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:visible"?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "close" | "selected" | "update:modelValue" | "update:visible")[], "cancel" | "close" | "selected" | "update:modelValue" | "update:visible", { align: "center" | "left"; cancelText: string; count: number; description: string; popupProps: import("@/popup").TdPopupProps; showCancel: boolean; showOverlay: boolean; theme: "grid" | "list"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export default ActionSheet;