UNPKG

mltc-design-system

Version:

長照設計系統

98 lines (97 loc) 2.77 kB
import { DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; declare const _default: DefineComponent<ExtractPropTypes<{ type: { type: StringConstructor; default: string; validator: (value: string) => boolean; }; size: { type: StringConstructor; default: string; validator: (value: string) => boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; loading: { type: BooleanConstructor; default: boolean; }; block: { type: BooleanConstructor; default: boolean; }; plain: { type: BooleanConstructor; default: boolean; }; color: { type: StringConstructor; default: string; }; }>, { handleClick: (event: MouseEvent) => void; customColor: ComputedRef<boolean>; customColorStyle: ComputedRef<{ '--button-bg-color'?: undefined; '--button-text-color'?: undefined; '--button-border-color'?: undefined; '--button-hover-bg-color'?: undefined; '--button-active-bg-color'?: undefined; '--button-rgb-values'?: undefined; '--button-hover-rgb-values'?: undefined; '--button-active-rgb-values'?: undefined; } | { '--button-bg-color': string; '--button-text-color': string; '--button-border-color': string; '--button-hover-bg-color': string; '--button-active-bg-color': string; '--button-rgb-values': string; '--button-hover-rgb-values': string; '--button-active-rgb-values': string; }>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly< ExtractPropTypes<{ type: { type: StringConstructor; default: string; validator: (value: string) => boolean; }; size: { type: StringConstructor; default: string; validator: (value: string) => boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; loading: { type: BooleanConstructor; default: boolean; }; block: { type: BooleanConstructor; default: boolean; }; plain: { type: BooleanConstructor; default: boolean; }; color: { type: StringConstructor; default: string; }; }>> & Readonly<{ onClick?: ((...args: any[]) => any) | undefined; }>, { type: string; size: string; disabled: boolean; loading: boolean; block: boolean; plain: boolean; color: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; export default _default;