sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
34 lines (33 loc) • 1.45 kB
TypeScript
import { type SlideVerifyProps, type SlideVerifySlots, type SlideVerifyResult } from './common';
declare function __VLS_template(): Readonly<SlideVerifySlots> & SlideVerifySlots;
declare const __VLS_component: import("vue").DefineComponent<SlideVerifyProps, {
reset: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
start: (event: any) => any;
end: (event: any) => any;
change: (percent: number) => any;
move: (event: any) => any;
}, string, import("vue").PublicProps, Readonly<SlideVerifyProps> & Readonly<{
onStart?: ((event: any) => any) | undefined;
onEnd?: ((event: any) => any) | undefined;
onChange?: ((percent: number) => any) | undefined;
onMove?: ((event: any) => any) | undefined;
}>, {
text: string;
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
disabled: boolean;
targetPos: number;
successText: string;
errorText: string;
resetWhenError: boolean;
showTarget: boolean;
verify: (result: SlideVerifyResult) => Promise<boolean> | boolean;
}, {}, {}, {}, 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;
};
};