sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
37 lines (36 loc) • 1.53 kB
TypeScript
import { type SwitchProps, type SwitchSlots } from './common';
declare function __VLS_template(): Readonly<SwitchSlots> & SwitchSlots;
declare const __VLS_component: import("vue").DefineComponent<SwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:model-value": (value: any) => any;
click: (event: any) => any;
change: (value: any) => any;
"update:loading": (loading: boolean) => any;
}, string, import("vue").PublicProps, Readonly<SwitchProps> & Readonly<{
"onUpdate:model-value"?: ((value: any) => any) | undefined;
onClick?: ((event: any) => any) | undefined;
onChange?: ((value: any) => any) | undefined;
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
modelValue: any;
size: string;
loading: boolean;
disabled: boolean;
readonly: boolean;
validateEvent: boolean;
checkedColor: string;
uncheckedColor: string;
checkedValue: any;
uncheckedValue: any;
beforeUpdate: (value: any) => Promise<any>;
checkedText: string;
uncheckedText: string;
}, {}, {}, {}, 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;
};
};