sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
47 lines (46 loc) • 1.95 kB
TypeScript
import { type ActionSheetAgentProps, type ActionSheetAgentSlots } from './common';
import { type TransitionHookName } from '../../use';
import { type ActionSheetItemProps } from '../action-sheet/common';
declare function __VLS_template(): Readonly<ActionSheetAgentSlots> & ActionSheetAgentSlots;
declare const __VLS_component: import("vue").DefineComponent<ActionSheetAgentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: any;
} & {
[x: string]: any;
}, string, import("vue").PublicProps, Readonly<ActionSheetAgentProps> & Readonly<{
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
visible: boolean;
duration: number;
overlayClosable: boolean;
description: string;
cancel: string;
itemList: ActionSheetItemProps[];
showCancel: boolean;
beforeClose: import("../action-sheet/common").ActionSheetBeforeClose;
internalDefault: number;
internalDescription: number;
internalCancel: number;
internalContext: import("../action-sheet/context").UseActionSheetReturn;
id: string;
onClose: () => void;
onCancel: () => void;
onSelect: (item: ActionSheetItemProps, index: number) => void;
onVisibleHook: (name: TransitionHookName) => void;
onBeforeEnter: () => void;
onEnter: () => void;
onAfterEnter: () => void;
onEnterCancelled: () => void;
onBeforeLeave: () => void;
onLeave: () => void;
onAfterLeave: () => void;
onLeaveCancelled: () => void;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};