bootstrap-vue-3
Version:
Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript
270 lines (269 loc) • 7.48 kB
TypeScript
import type { RouteLocationRaw } from 'vue-router';
import type { Booleanish, LinkTarget } from '../../types';
declare const _sfc_main: import("vue").DefineComponent<{
action: {
type: null;
required: false;
default: boolean;
};
active: {
type: null;
required: false;
default: boolean;
};
button: {
type: null;
required: false;
default: boolean;
};
disabled: {
type: null;
required: false;
default: boolean;
};
href: {
type: StringConstructor;
required: false;
};
tag: {
type: StringConstructor;
required: false;
default: string;
};
target: {
type: null;
required: false;
default: string;
};
to: {
type: null;
required: false;
};
variant: {
type: null;
required: false;
};
}, {
props: any;
attrs: {
[x: string]: unknown;
};
parentData: import("../../types/components").BListGroupParentData | null;
actionBoolean: Readonly<import("vue").Ref<boolean>>;
activeBoolean: Readonly<import("vue").Ref<boolean>>;
buttonBoolean: Readonly<import("vue").Ref<boolean>>;
disabledBoolean: Readonly<import("vue").Ref<boolean>>;
link: import("vue").ComputedRef<boolean>;
tagComputed: import("vue").ComputedRef<string | 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<RouteLocationRaw>;
default: null;
};
}, {
computedLinkClasses: import("vue").ComputedRef<{
active: boolean;
disabled: boolean;
}>;
tag: import("vue").ComputedRef<string>;
routerAttr: import("vue").ComputedRef<{
to: 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<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: RouteLocationRaw;
}>>;
isAction: import("vue").ComputedRef<boolean>;
computedClasses: import("vue").ComputedRef<{
[x: string]: boolean;
'list-group-item-action': boolean;
active: boolean;
disabled: boolean;
}>;
computedAttrs: import("vue").ComputedRef<{
type?: string | undefined;
disabled?: boolean | undefined;
}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
action: {
type: null;
required: false;
default: boolean;
};
active: {
type: null;
required: false;
default: boolean;
};
button: {
type: null;
required: false;
default: boolean;
};
disabled: {
type: null;
required: false;
default: boolean;
};
href: {
type: StringConstructor;
required: false;
};
tag: {
type: StringConstructor;
required: false;
default: string;
};
target: {
type: null;
required: false;
default: string;
};
to: {
type: null;
required: false;
};
variant: {
type: null;
required: false;
};
}>>, {
tag: string;
button: any;
disabled: any;
active: any;
target: any;
action: any;
}>;
export default _sfc_main;