tdesign-mobile-vue
Version:
tdesign-mobile-vue
122 lines (121 loc) • 4 kB
TypeScript
import { TdActionSheetProps } from './type';
declare const _default: import("vue").DefineComponent<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']>;
}>, () => 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", import("vue").PublicProps, 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;
}>, {
align: "center" | "left";
cancelText: string;
count: number;
description: string;
popupProps: import("@/components").TdPopupProps;
showCancel: boolean;
showOverlay: boolean;
theme: "grid" | "list";
visible: boolean;
modelValue: boolean;
defaultVisible: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;