sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
51 lines (50 loc) • 2 kB
TypeScript
import { type DialogAgentProps, type DialogAgentSlots } from './common';
import { type TransitionHookName } from '../../use';
declare function __VLS_template(): Readonly<DialogAgentSlots> & DialogAgentSlots;
declare const __VLS_component: import("vue").DefineComponent<DialogAgentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: any;
} & {
[x: string]: any;
}, string, import("vue").PublicProps, Readonly<DialogAgentProps> & 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;
backPress: "close" | "back";
showCancel: boolean;
beforeClose: import("../dialog/common.js").DialogBeforeClose;
id: string;
onClose: () => void;
onCancel: () => void;
onVisibleHook: (name: TransitionHookName) => void;
onBeforeEnter: () => void;
onEnter: () => void;
onAfterEnter: () => void;
onEnterCancelled: () => void;
onBeforeLeave: () => void;
onLeave: () => void;
onAfterLeave: () => void;
onLeaveCancelled: () => void;
message: string;
title: string;
showConfirm: boolean;
cancelText: string;
confirmText: string;
popupStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
popupClass: string;
headed: boolean;
buttonType: "round" | "text";
cancelProps: import("../button/common.js").ButtonProps;
confirmProps: import("../button/common.js").ButtonProps;
onConfirm: () => 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;
};
};