UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

161 lines (160 loc) 6.38 kB
export declare const McButton: import('../../utils').SFCWithInstall<{ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<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; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (e: MouseEvent) => void; mousedown: (e: MouseEvent) => void; }, import('vue').PublicProps, { readonly round: boolean; readonly loading: boolean; readonly disabled: boolean; readonly nativeType: import('../../mealcomes').NativeType; readonly iconPlacement: import('../../mealcomes').Placement; }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { 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, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, 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; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<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; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (e: MouseEvent) => void; mousedown: (e: MouseEvent) => void; }, string, { readonly round: boolean; readonly loading: boolean; readonly disabled: boolean; readonly nativeType: import('../../mealcomes').NativeType; readonly iconPlacement: import('../../mealcomes').Placement; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: { loading?(_: {}): any; loading?(_: {}): any; icon?(_: {}): any; icon?(_: {}): any; default?(_: {}): any; }; })>; export default McButton; export * from './src/button'; declare module 'vue' { interface GlobalComponents { McButton: typeof McButton; } }