mealcomes
Version:
MealComes 用于学习前端的组件库
120 lines (119 loc) • 4.48 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
loading?(_: {}): any;
loading?(_: {}): any;
icon?(_: {}): any;
icon?(_: {}): any;
default?(_: {}): any;
};
refs: {
waveRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
wave: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
waveRef: HTMLDivElement;
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{}> & Readonly<{}>, {
wave: () => void;
}, {}, {}, {}, {}> | null;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly size: {
readonly type: import('vue').PropType<import('../../../mealcomes').ComponentSize>;
};
readonly type: {
readonly type: import('vue').PropType<import('../../../mealcomes').Type>;
readonly validator: (val: string) => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly loading: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly nativeType: {
readonly type: import('vue').PropType<import('../../../mealcomes').NativeType>;
readonly default: "button";
};
readonly iconPlacement: {
readonly type: import('vue').PropType<import('../../../mealcomes').Placement>;
readonly default: "left";
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: (e: MouseEvent) => void;
mousedown: (e: MouseEvent) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly size: {
readonly type: import('vue').PropType<import('../../../mealcomes').ComponentSize>;
};
readonly type: {
readonly type: import('vue').PropType<import('../../../mealcomes').Type>;
readonly validator: (val: string) => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly loading: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly nativeType: {
readonly type: import('vue').PropType<import('../../../mealcomes').NativeType>;
readonly default: "button";
};
readonly iconPlacement: {
readonly type: import('vue').PropType<import('../../../mealcomes').Placement>;
readonly default: "left";
};
}>> & Readonly<{
onClick?: ((e: MouseEvent) => any) | undefined;
onMousedown?: ((e: MouseEvent) => any) | undefined;
}>, {
readonly round: boolean;
readonly loading: boolean;
readonly disabled: boolean;
readonly nativeType: import('../../../mealcomes').NativeType;
readonly iconPlacement: import('../../../mealcomes').Placement;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
waveRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
wave: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
waveRef: HTMLDivElement;
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{}> & Readonly<{}>, {
wave: () => void;
}, {}, {}, {}, {}> | null;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};