sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
54 lines (53 loc) • 2.04 kB
TypeScript
import { type ShareSheetAgentProps } from './common';
import { type TransitionHookName } from '../../use';
import type { ShareSheetItemProps } from '../share-sheet-item/common';
declare function __VLS_template(): {
title?(_: {}): any;
description?(_: {}): any;
cancel?(_: {}): any;
default?(_: {}): any;
};
declare const __VLS_component: import("vue").DefineComponent<ShareSheetAgentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: any;
} & {
[x: string]: any;
}, string, import("vue").PublicProps, Readonly<ShareSheetAgentProps> & 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: ShareSheetItemProps[] | ShareSheetItemProps[][];
showCancel: boolean;
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
internalDefault: number;
internalDescription: number;
internalCancel: number;
internalContext: import("../share-sheet/context").UseShareSheetReturn;
id: string;
onClose: () => void;
onCancel: () => void;
onSelect: (item: ShareSheetItemProps) => void;
onVisibleHook: (name: TransitionHookName) => void;
onBeforeEnter: () => void;
onEnter: () => void;
onAfterEnter: () => void;
onEnterCancelled: () => void;
onBeforeLeave: () => void;
onLeave: () => void;
onAfterLeave: () => void;
onLeaveCancelled: () => void;
title: string;
internalTitle: number;
}, {}, {}, {}, 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;
};
};