bootstrap-vue-3
Version:
Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript
246 lines (245 loc) • 7.06 kB
TypeScript
import type { Booleanish, ClassValue, LinkTarget } from '../../types';
declare const _sfc_main: import("vue").DefineComponent<{
href: {
type: StringConstructor;
required: false;
};
linkClass: {
type: null;
required: false;
};
active: {
type: null;
required: false;
default: boolean;
};
disabled: {
type: null;
required: false;
default: boolean;
};
rel: {
type: StringConstructor;
required: false;
default: undefined;
};
target: {
type: null;
required: false;
default: string;
};
variant: {
type: null;
required: false;
};
}, {
props: any;
activeBoolean: Readonly<import("vue").Ref<boolean>>;
disabledBoolean: Readonly<import("vue").Ref<boolean>>;
emit: (e: 'click', value: MouseEvent) => void;
attrs: {
[x: string]: unknown;
};
computedClasses: import("vue").ComputedRef<(ClassValue | undefined)[]>;
tag: import("vue").ComputedRef<"button" | "a" | import("vue").DefineComponent<{
active: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
activeClass: {
type: StringConstructor;
default: string;
};
append: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
disabled: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
event: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
exact: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
exactActiveClass: {
type: StringConstructor;
default: string;
};
href: {
type: StringConstructor;
};
rel: {
type: StringConstructor;
default: null;
};
replace: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
routerComponentName: {
type: StringConstructor;
default: string;
};
routerTag: {
type: StringConstructor;
default: string;
};
target: {
type: import("vue").PropType<LinkTarget>;
default: string;
};
to: {
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
default: null;
};
}, {
computedLinkClasses: import("vue").ComputedRef<{
active: boolean;
disabled: boolean;
}>;
tag: import("vue").ComputedRef<string>;
routerAttr: import("vue").ComputedRef<{
to: import("vue-router").RouteLocationRaw;
href: string;
target: LinkTarget;
rel: string | null;
tabindex: unknown;
'aria-disabled': string | null;
}>;
link: import("vue").Ref<HTMLElement>;
clicked: (e: MouseEvent) => void;
activeBoolean: Readonly<import("vue").Ref<boolean>>;
appendBoolean: Readonly<import("vue").Ref<boolean>>;
disabledBoolean: Readonly<import("vue").Ref<boolean>>;
replaceBoolean: Readonly<import("vue").Ref<boolean>>;
exactBoolean: Readonly<import("vue").Ref<boolean>>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
active: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
activeClass: {
type: StringConstructor;
default: string;
};
append: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
disabled: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
event: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
exact: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
exactActiveClass: {
type: StringConstructor;
default: string;
};
href: {
type: StringConstructor;
};
rel: {
type: StringConstructor;
default: null;
};
replace: {
type: import("vue").PropType<Booleanish>;
default: boolean;
};
routerComponentName: {
type: StringConstructor;
default: string;
};
routerTag: {
type: StringConstructor;
default: string;
};
target: {
type: import("vue").PropType<LinkTarget>;
default: string;
};
to: {
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
default: null;
};
}>> & {
onClick?: ((...args: any[]) => any) | undefined;
}, {
disabled: Booleanish;
active: Booleanish;
activeClass: string;
append: Booleanish;
event: string | unknown[];
exact: Booleanish;
exactActiveClass: string;
rel: string;
replace: Booleanish;
routerComponentName: string;
routerTag: string;
target: LinkTarget;
to: import("vue-router").RouteLocationRaw;
}>>;
componentAttrs: import("vue").ComputedRef<{
activeClass?: string | undefined;
disabled: boolean;
'aria-current': string | null;
href: string | null | undefined;
rel: string;
type: string | null;
target: LinkTarget;
}>;
clicked: (e: MouseEvent) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
href: {
type: StringConstructor;
required: false;
};
linkClass: {
type: null;
required: false;
};
active: {
type: null;
required: false;
default: boolean;
};
disabled: {
type: null;
required: false;
default: boolean;
};
rel: {
type: StringConstructor;
required: false;
default: undefined;
};
target: {
type: null;
required: false;
default: string;
};
variant: {
type: null;
required: false;
};
}>> & {
onClick?: ((...args: any[]) => any) | undefined;
}, {
disabled: any;
active: any;
rel: string;
target: any;
}>;
export default _sfc_main;