@aplus-frontend/ui
Version:
34 lines (33 loc) • 1.26 kB
TypeScript
import { ApFieldSwitchProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type ApFieldSwitchSlots = {
checkedChildren: any;
unCheckedChildren: any;
default: any;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFieldSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:checked": (...args: any[]) => void;
}, string, PublicProps, Readonly<ApFieldSwitchProps> & Readonly<{
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
}>, {
size: "small" | "default";
disabled: boolean;
loading: boolean;
emptyText: string;
checkedValue: string | number | boolean;
unCheckedValue: string | number | boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};