@opensig/opendesign
Version:
129 lines (128 loc) • 3.33 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: any;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
href: {
type: StringConstructor;
};
target: {
type: import('vue').PropType<"_blank" | "_parent" | "_self" | "_top">;
};
to: {
type: import('vue').PropType<string | Record<string, unknown>>;
};
replace: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
};
color: {
type: import('vue').PropType<import('..').ColorT>;
default: string;
};
size: {
type: import('vue').PropType<import('./types').LinkSizeT>;
default: string;
};
disabled: {
type: BooleanConstructor;
};
icon: {
type: import('vue').PropType<import('vue').Component>;
};
suffix: {
type: BooleanConstructor;
};
hoverBg: {
type: BooleanConstructor;
};
hoverUnderline: {
type: BooleanConstructor;
default: boolean;
};
tag: {
type: StringConstructor;
default: string;
};
global: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
click: (val: MouseEvent) => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
href: {
type: StringConstructor;
};
target: {
type: import('vue').PropType<"_blank" | "_parent" | "_self" | "_top">;
};
to: {
type: import('vue').PropType<string | Record<string, unknown>>;
};
replace: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
};
color: {
type: import('vue').PropType<import('..').ColorT>;
default: string;
};
size: {
type: import('vue').PropType<import('./types').LinkSizeT>;
default: string;
};
disabled: {
type: BooleanConstructor;
};
icon: {
type: import('vue').PropType<import('vue').Component>;
};
suffix: {
type: BooleanConstructor;
};
hoverBg: {
type: BooleanConstructor;
};
hoverUnderline: {
type: BooleanConstructor;
default: boolean;
};
tag: {
type: StringConstructor;
default: string;
};
global: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onClick?: ((val: MouseEvent) => any) | undefined;
}>, {
color: "normal" | "primary" | "success" | "warning" | "danger";
size: "large" | "medium" | "small" | "auto";
disabled: boolean;
replace: boolean;
tag: string;
loading: boolean;
suffix: boolean;
hoverBg: boolean;
hoverUnderline: boolean;
global: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};