bootstrap-vue-next
Advanced tools
Comparing version 0.16.6 to 0.17.0
@@ -1,3 +0,4 @@ | ||
import type { Plugin } from 'vue'; | ||
import type { BootstrapVueOptions } from './types'; | ||
import { BootstrapVueOptions } from './types'; | ||
import { Plugin } from 'vue'; | ||
import * as Components from './components'; | ||
@@ -4,0 +5,0 @@ declare module '@vue/runtime-core' { |
@@ -1,31 +0,33 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
flush?: Booleanish | undefined; | ||
free?: Booleanish | undefined; | ||
id?: string | undefined; | ||
modelValue?: string | undefined; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<string | undefined>; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
flush: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
free: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<string | undefined>; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
flush: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
free: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
id: string; | ||
flush: boolean; | ||
free: boolean; | ||
id: undefined; | ||
modelValue: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
flush?: Booleanish | undefined; | ||
free?: Booleanish | undefined; | ||
id?: string | undefined; | ||
modelValue?: string | undefined; | ||
}>, { | ||
flush: boolean; | ||
free: boolean; | ||
id: undefined; | ||
modelValue: undefined; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: string) => any) | undefined; | ||
}, { | ||
id: string; | ||
flush: Booleanish; | ||
modelValue: string; | ||
free: Booleanish; | ||
}, {}>, Readonly<{ | ||
@@ -37,19 +39,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -56,0 +41,0 @@ new (): { |
import { BvTriggerableEvent } from '../../utils'; | ||
import type { AttrsValue, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bodyAttrs?: Readonly<AttrsValue> | undefined; | ||
bodyClass?: any; | ||
buttonAttrs?: Readonly<AttrsValue> | undefined; | ||
buttonClass?: any; | ||
collapseClass?: any; | ||
headerAttrs?: Readonly<AttrsValue> | undefined; | ||
headerClass?: any; | ||
headerTag?: string | undefined; | ||
horizontal?: Booleanish | undefined; | ||
id?: string | undefined; | ||
isNav?: Booleanish | undefined; | ||
modelValue?: boolean | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
toggle?: Booleanish | undefined; | ||
visible?: Booleanish | undefined; | ||
wrapperAttrs?: Readonly<AttrsValue> | undefined; | ||
}>, { | ||
bodyAttrs: undefined; | ||
bodyClass: undefined; | ||
buttonAttrs: undefined; | ||
buttonClass: undefined; | ||
collapseClass: undefined; | ||
headerAttrs: undefined; | ||
headerClass: undefined; | ||
headerTag: string; | ||
horizontal: undefined; | ||
id: undefined; | ||
isNav: undefined; | ||
modelValue: boolean; | ||
tag: undefined; | ||
title: undefined; | ||
toggle: undefined; | ||
visible: boolean; | ||
wrapperAttrs: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
toggle: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
visible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
horizontal: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
buttonAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
buttonClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
collapseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
wrapperAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: () => void; | ||
"update:modelValue": (value: boolean) => void; | ||
show: (value: BvTriggerableEvent) => void; | ||
@@ -47,41 +76,70 @@ hide: (value: BvTriggerableEvent) => void; | ||
shown: () => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bodyAttrs?: Readonly<AttrsValue> | undefined; | ||
bodyClass?: any; | ||
buttonAttrs?: Readonly<AttrsValue> | undefined; | ||
buttonClass?: any; | ||
collapseClass?: any; | ||
headerAttrs?: Readonly<AttrsValue> | undefined; | ||
headerClass?: any; | ||
headerTag?: string | undefined; | ||
horizontal?: Booleanish | undefined; | ||
id?: string | undefined; | ||
isNav?: Booleanish | undefined; | ||
modelValue?: boolean | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
toggle?: Booleanish | undefined; | ||
visible?: Booleanish | undefined; | ||
wrapperAttrs?: Readonly<AttrsValue> | undefined; | ||
}>, { | ||
bodyAttrs: undefined; | ||
bodyClass: undefined; | ||
buttonAttrs: undefined; | ||
buttonClass: undefined; | ||
collapseClass: undefined; | ||
headerAttrs: undefined; | ||
headerClass: undefined; | ||
headerTag: string; | ||
horizontal: undefined; | ||
id: undefined; | ||
isNav: undefined; | ||
modelValue: boolean; | ||
tag: undefined; | ||
title: undefined; | ||
toggle: undefined; | ||
visible: boolean; | ||
wrapperAttrs: undefined; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
toggle: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
visible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
horizontal: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
buttonAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
buttonClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
collapseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
wrapperAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
}>> & { | ||
onHidden?: (() => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -96,16 +154,15 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
id: string; | ||
modelValue: boolean; | ||
toggle: Booleanish; | ||
visible: Booleanish; | ||
horizontal: Booleanish; | ||
toggle: boolean; | ||
visible: boolean; | ||
horizontal: boolean; | ||
bodyClass: any; | ||
headerClass: any; | ||
headerTag: string; | ||
isNav: Booleanish; | ||
bodyAttrs: Readonly<AttrsValue>; | ||
buttonAttrs: Readonly<AttrsValue>; | ||
bodyAttrs: Readonly<import('../../types').AttrsValue>; | ||
isNav: boolean; | ||
buttonAttrs: Readonly<import('../../types').AttrsValue>; | ||
buttonClass: any; | ||
collapseClass: any; | ||
headerAttrs: Readonly<AttrsValue>; | ||
wrapperAttrs: Readonly<AttrsValue>; | ||
headerAttrs: Readonly<import('../../types').AttrsValue>; | ||
wrapperAttrs: Readonly<import('../../types').AttrsValue>; | ||
}, {}>, Readonly<{ | ||
@@ -119,19 +176,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -138,0 +178,0 @@ new (): { |
@@ -1,29 +0,48 @@ | ||
import type { Booleanish, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
closeClass?: any; | ||
closeContent?: string | undefined; | ||
closeLabel?: string | undefined; | ||
closeVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
dismissible?: Booleanish | undefined; | ||
fade?: Booleanish | undefined; | ||
immediate?: Booleanish | undefined; | ||
interval?: Numberish | undefined; | ||
modelValue?: number | boolean | undefined; | ||
noHoverPause?: Booleanish | undefined; | ||
showOnPause?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
closeClass: undefined; | ||
closeContent: undefined; | ||
closeLabel: string; | ||
closeVariant: string; | ||
dismissible: boolean; | ||
fade: boolean; | ||
immediate: boolean; | ||
interval: number; | ||
modelValue: boolean; | ||
noHoverPause: boolean; | ||
showOnPause: boolean; | ||
variant: string; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number | boolean>; | ||
fade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: string; | ||
}; | ||
immediate: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
showOnPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
closeClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
closeContent: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
closeLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
closeVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
dismissible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, { | ||
pause: () => void; | ||
@@ -33,51 +52,68 @@ restart: () => void; | ||
stop: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
closed: () => void; | ||
close: () => void; | ||
"update:modelValue": (value: number | boolean) => void; | ||
"close-countdown": (value: number) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
closeClass?: any; | ||
closeContent?: string | undefined; | ||
closeLabel?: string | undefined; | ||
closeVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
dismissible?: Booleanish | undefined; | ||
fade?: Booleanish | undefined; | ||
immediate?: Booleanish | undefined; | ||
interval?: Numberish | undefined; | ||
modelValue?: number | boolean | undefined; | ||
noHoverPause?: Booleanish | undefined; | ||
showOnPause?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
closeClass: undefined; | ||
closeContent: undefined; | ||
closeLabel: string; | ||
closeVariant: string; | ||
dismissible: boolean; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number | boolean>; | ||
fade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: string; | ||
}; | ||
immediate: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
showOnPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
closeClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
closeContent: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
closeLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
closeVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
dismissible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
onClose?: (() => any) | undefined; | ||
onClosed?: (() => any) | undefined; | ||
"onClose-countdown"?: ((value: number) => any) | undefined; | ||
}, { | ||
fade: boolean; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
immediate: boolean; | ||
interval: number; | ||
modelValue: boolean; | ||
interval: import('../../types').Numberish; | ||
noHoverPause: boolean; | ||
showOnPause: boolean; | ||
variant: string; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: number | boolean) => any) | undefined; | ||
onClose?: (() => any) | undefined; | ||
onClosed?: (() => any) | undefined; | ||
"onClose-countdown"?: ((value: number) => any) | undefined; | ||
}, { | ||
fade: Booleanish; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
immediate: Booleanish; | ||
modelValue: number | boolean; | ||
interval: Numberish; | ||
noHoverPause: Booleanish; | ||
showOnPause: Booleanish; | ||
closeClass: any; | ||
closeContent: string; | ||
closeLabel: string; | ||
closeVariant: keyof import("../../types").BaseButtonVariant | null; | ||
dismissible: Booleanish; | ||
closeVariant: keyof import('../../types').BaseButtonVariant | null; | ||
dismissible: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -91,19 +127,2 @@ close?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -110,0 +129,0 @@ new (): { |
@@ -1,19 +0,4 @@ | ||
import type { BLinkProps, Booleanish, ButtonType, ColorExtendables, LiteralUnion, Numberish, RadiusElementExtendables } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
alt?: string | undefined; | ||
badge?: string | boolean | undefined; | ||
badgeBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
badgeOffset?: string | undefined; | ||
badgeStart?: Booleanish | undefined; | ||
badgeTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
badgeTop?: Booleanish | undefined; | ||
badgeVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
button?: Booleanish | undefined; | ||
buttonType?: ButtonType | undefined; | ||
icon?: string | undefined; | ||
size?: LiteralUnion<keyof import("../../types").BaseSize, Numberish> | undefined; | ||
square?: Booleanish | undefined; | ||
src?: string | undefined; | ||
text?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag"> & ColorExtendables & RadiusElementExtendables>, { | ||
import { BAvatarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BAvatarProps>, { | ||
alt: string; | ||
@@ -60,22 +45,6 @@ badge: boolean; | ||
roundedTop: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
"img-error": (value: Event) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
alt?: string | undefined; | ||
badge?: string | boolean | undefined; | ||
badgeBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
badgeOffset?: string | undefined; | ||
badgeStart?: Booleanish | undefined; | ||
badgeTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
badgeTop?: Booleanish | undefined; | ||
badgeVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
button?: Booleanish | undefined; | ||
buttonType?: ButtonType | undefined; | ||
icon?: string | undefined; | ||
size?: LiteralUnion<keyof import("../../types").BaseSize, Numberish> | undefined; | ||
square?: Booleanish | undefined; | ||
src?: string | undefined; | ||
text?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag"> & ColorExtendables & RadiusElementExtendables>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BAvatarProps>, { | ||
alt: string; | ||
@@ -126,7 +95,8 @@ badge: boolean; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: Booleanish; | ||
button: Booleanish; | ||
disabled: Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
button: boolean; | ||
disabled: boolean; | ||
text: string; | ||
@@ -137,33 +107,32 @@ href: string; | ||
alt: string; | ||
size: LiteralUnion<keyof import("../../types").BaseSize, Numberish>; | ||
active: Booleanish; | ||
size: import('../../types').LiteralUnion<keyof import('../../types').BaseSize, import('../../types').Numberish>; | ||
active: boolean; | ||
activeClass: string; | ||
replace: Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
rounded: Booleanish | import("../../types").RadiusElement; | ||
roundedTop: Booleanish | import("../../types").RadiusElement; | ||
roundedBottom: Booleanish | import("../../types").RadiusElement; | ||
roundedStart: Booleanish | import("../../types").RadiusElement; | ||
roundedEnd: Booleanish | import("../../types").RadiusElement; | ||
icon: "true" | "false"; | ||
square: Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: string; | ||
square: boolean; | ||
exactActiveClass: string; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
badge: string | boolean; | ||
badgeBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
badgeBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
badgeOffset: string; | ||
badgeStart: Booleanish; | ||
badgeTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
badgeTop: Booleanish; | ||
badgeVariant: keyof import("../../types").BaseColorVariant | null; | ||
buttonType: ButtonType; | ||
badgeStart: boolean; | ||
badgeTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
badgeTop: boolean; | ||
badgeVariant: keyof import('../../types').BaseColorVariant | null; | ||
buttonType: import('../../types').ButtonType; | ||
rounded: boolean | import('../../types').RadiusElement; | ||
roundedTop: boolean | import('../../types').RadiusElement; | ||
roundedBottom: boolean | import('../../types').RadiusElement; | ||
roundedStart: boolean | import('../../types').RadiusElement; | ||
roundedEnd: boolean | import('../../types').RadiusElement; | ||
}, {}>, Readonly<{ | ||
@@ -170,0 +139,0 @@ badge?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,8 +0,4 @@ | ||
import type { Booleanish, ColorExtendables, LiteralUnion, Numberish, RadiusElementExtendables } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
overlap?: Numberish | undefined; | ||
size?: LiteralUnion<keyof import("../../types").BaseSize, Numberish> | undefined; | ||
square?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
} & ColorExtendables & RadiusElementExtendables>, { | ||
import { BAvatarGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BAvatarGroupProps>, { | ||
overlap: number; | ||
@@ -20,8 +16,3 @@ size: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
overlap?: Numberish | undefined; | ||
size?: LiteralUnion<keyof import("../../types").BaseSize, Numberish> | undefined; | ||
square?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
} & ColorExtendables & RadiusElementExtendables>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BAvatarGroupProps>, { | ||
overlap: number; | ||
@@ -41,13 +32,13 @@ size: undefined; | ||
tag: string; | ||
size: LiteralUnion<keyof import("../../types").BaseSize, Numberish>; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
rounded: Booleanish | import("../../types").RadiusElement; | ||
roundedTop: Booleanish | import("../../types").RadiusElement; | ||
roundedBottom: Booleanish | import("../../types").RadiusElement; | ||
roundedStart: Booleanish | import("../../types").RadiusElement; | ||
roundedEnd: Booleanish | import("../../types").RadiusElement; | ||
square: Booleanish; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
overlap: Numberish; | ||
size: import('../../types').LiteralUnion<keyof import('../../types').BaseSize, import('../../types').Numberish>; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
square: boolean; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
rounded: boolean | import('../../types').RadiusElement; | ||
roundedTop: boolean | import('../../types').RadiusElement; | ||
roundedBottom: boolean | import('../../types').RadiusElement; | ||
roundedStart: boolean | import('../../types').RadiusElement; | ||
roundedEnd: boolean | import('../../types').RadiusElement; | ||
overlap: import('../../types').Numberish; | ||
}, {}>, Readonly<{ | ||
@@ -54,0 +45,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,8 +0,4 @@ | ||
import type { BLinkProps, Booleanish, ColorExtendables } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
dotIndicator?: Booleanish | undefined; | ||
pill?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
textIndicator?: Booleanish | undefined; | ||
} & Omit<BLinkProps, "routerTag"> & ColorExtendables>, { | ||
import { BBadgeProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBadgeProps>, { | ||
dotIndicator: boolean; | ||
@@ -34,8 +30,3 @@ pill: boolean; | ||
bgVariant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
dotIndicator?: Booleanish | undefined; | ||
pill?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
textIndicator?: Booleanish | undefined; | ||
} & Omit<BLinkProps, "routerTag"> & ColorExtendables>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBadgeProps>, { | ||
dotIndicator: boolean; | ||
@@ -69,27 +60,27 @@ pill: boolean; | ||
tag: string; | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: Booleanish; | ||
disabled: Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
pill: Booleanish; | ||
icon: Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
pill: boolean; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
dotIndicator: Booleanish; | ||
textIndicator: Booleanish; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
dotIndicator: boolean; | ||
textIndicator: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -96,0 +87,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,12 +0,9 @@ | ||
import type { BreadcrumbItemRaw } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
items?: readonly BreadcrumbItemRaw[] | undefined; | ||
}>, { | ||
import { BBreadcrumbProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBreadcrumbProps>, { | ||
items: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
items?: readonly BreadcrumbItemRaw[] | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBreadcrumbProps>, { | ||
items: undefined; | ||
}>>>, { | ||
items: readonly BreadcrumbItemRaw[]; | ||
items: readonly import('../../types').BreadcrumbItemRaw[]; | ||
}, {}>, Readonly<{ | ||
@@ -13,0 +10,0 @@ append?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,6 +0,4 @@ | ||
import type { BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaCurrent?: string | undefined; | ||
text?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
import { BBreadcrumbItemProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBreadcrumbItemProps>, { | ||
ariaCurrent: string; | ||
@@ -29,8 +27,5 @@ text: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaCurrent?: string | undefined; | ||
text?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BBreadcrumbItemProps>, { | ||
ariaCurrent: string; | ||
@@ -62,23 +57,23 @@ text: undefined; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
ariaCurrent: string; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
append: boolean; | ||
disabled: boolean; | ||
text: string; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
@@ -85,0 +80,0 @@ }, {}>, Readonly<{ |
@@ -1,123 +0,271 @@ | ||
import type { BLinkProps, Booleanish, ButtonType } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
loading?: Booleanish | undefined; | ||
loadingFill?: Booleanish | undefined; | ||
loadingText?: string | undefined; | ||
pill?: Booleanish | undefined; | ||
pressed?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
squared?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
type?: ButtonType | undefined; | ||
variant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
} & Omit<BLinkProps, "variant">>, { | ||
loading: boolean; | ||
loadingFill: boolean; | ||
loadingText: string; | ||
pill: boolean; | ||
pressed: undefined; | ||
size: string; | ||
squared: boolean; | ||
tag: string; | ||
type: string; | ||
active: boolean; | ||
variant: string; | ||
activeClass: undefined; | ||
append: undefined; | ||
disabled: undefined; | ||
exactActiveClass: undefined; | ||
href: undefined; | ||
icon: undefined; | ||
opacity: undefined; | ||
opacityHover: undefined; | ||
rel: undefined; | ||
replace: undefined; | ||
routerComponentName: undefined; | ||
routerTag: undefined; | ||
target: undefined; | ||
to: undefined; | ||
underlineOffset: undefined; | ||
underlineOffsetHover: undefined; | ||
underlineOpacity: undefined; | ||
underlineOpacityHover: undefined; | ||
underlineVariant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
pressed: import('vue').PropType<boolean | undefined>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
type: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<import('../../types').LinkTarget>; | ||
default: undefined; | ||
}; | ||
to: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
append: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
href: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
rel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
active: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
activeClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
routerComponentName: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
opacity: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
opacityHover: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
underlineOffset: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOffsetHover: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOpacity: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineOpacityHover: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
pill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
icon: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
routerTag: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
exactActiveClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
loading: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
loadingFill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
loadingText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
squared: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
"update:pressed": (value: boolean) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
loading?: Booleanish | undefined; | ||
loadingFill?: Booleanish | undefined; | ||
loadingText?: string | undefined; | ||
pill?: Booleanish | undefined; | ||
pressed?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
squared?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
type?: ButtonType | undefined; | ||
variant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
} & Omit<BLinkProps, "variant">>, { | ||
loading: boolean; | ||
loadingFill: boolean; | ||
loadingText: string; | ||
pill: boolean; | ||
pressed: undefined; | ||
size: string; | ||
squared: boolean; | ||
tag: string; | ||
type: string; | ||
active: boolean; | ||
variant: string; | ||
activeClass: undefined; | ||
append: undefined; | ||
disabled: undefined; | ||
exactActiveClass: undefined; | ||
href: undefined; | ||
icon: undefined; | ||
opacity: undefined; | ||
opacityHover: undefined; | ||
rel: undefined; | ||
replace: undefined; | ||
routerComponentName: undefined; | ||
routerTag: undefined; | ||
target: undefined; | ||
to: undefined; | ||
underlineOffset: undefined; | ||
underlineOffsetHover: undefined; | ||
underlineOpacity: undefined; | ||
underlineOpacityHover: undefined; | ||
underlineVariant: undefined; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
pressed: import('vue').PropType<boolean | undefined>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
type: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<import('../../types').LinkTarget>; | ||
default: undefined; | ||
}; | ||
to: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
append: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
href: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
rel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
active: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
activeClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
routerComponentName: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
opacity: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
opacityHover: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
underlineOffset: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOffsetHover: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOpacity: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineOpacityHover: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
pill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
icon: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
routerTag: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
exactActiveClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
loading: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
loadingFill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
loadingText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
squared: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
onClick?: ((value: MouseEvent) => any) | undefined; | ||
"onUpdate:pressed"?: ((value: boolean) => any) | undefined; | ||
}, { | ||
tag: string; | ||
type: ButtonType; | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: Booleanish; | ||
disabled: Booleanish; | ||
type: import('../../types').ButtonType; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
size: keyof import("../../types").BaseSize; | ||
active: Booleanish; | ||
size: keyof import('../../types').BaseSize; | ||
active: boolean; | ||
activeClass: string; | ||
replace: Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseButtonVariant | null; | ||
variant: keyof import('../../types').BaseButtonVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
pill: Booleanish; | ||
icon: Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
pill: boolean; | ||
icon: boolean; | ||
routerTag: string; | ||
exactActiveClass: string; | ||
loading: Booleanish; | ||
loadingFill: Booleanish; | ||
loading: boolean; | ||
loadingFill: boolean; | ||
loadingText: string; | ||
pressed: Booleanish; | ||
squared: Booleanish; | ||
squared: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -133,19 +281,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -152,0 +283,0 @@ new (): { |
@@ -1,8 +0,4 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
tag?: string | undefined; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
import { BButtonGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BButtonGroupProps>, { | ||
ariaLabel: string; | ||
@@ -12,8 +8,3 @@ size: string; | ||
vertical: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
tag?: string | undefined; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BButtonGroupProps>, { | ||
ariaLabel: string; | ||
@@ -26,4 +17,4 @@ size: string; | ||
ariaLabel: string; | ||
size: keyof import("../../types").BaseSize; | ||
vertical: Booleanish; | ||
size: keyof import('../../types').BaseSize; | ||
vertical: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -30,0 +21,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,15 +0,8 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
justify?: Booleanish | undefined; | ||
role?: string | undefined; | ||
}>, { | ||
import { BButtonToolbarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BButtonToolbarProps>, { | ||
ariaLabel: string; | ||
justify: boolean; | ||
role: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
justify?: Booleanish | undefined; | ||
role?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BButtonToolbarProps>, { | ||
ariaLabel: string; | ||
@@ -21,3 +14,3 @@ justify: boolean; | ||
role: string; | ||
justify: Booleanish; | ||
justify: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -24,0 +17,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,17 +0,10 @@ | ||
import type { Booleanish, ButtonType } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
type?: ButtonType | undefined; | ||
}>, { | ||
import { BCloseButtonProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCloseButtonProps>, { | ||
ariaLabel: string; | ||
disabled: boolean; | ||
type: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
type?: ButtonType | undefined; | ||
}>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCloseButtonProps>, { | ||
ariaLabel: string; | ||
@@ -23,5 +16,5 @@ disabled: boolean; | ||
}, { | ||
type: ButtonType; | ||
type: import('../../types').ButtonType; | ||
ariaLabel: string; | ||
disabled: Booleanish; | ||
disabled: boolean; | ||
}, {}>; | ||
@@ -28,0 +21,0 @@ export default _default; |
@@ -1,43 +0,4 @@ | ||
import type { AlignmentTextHorizontal, Booleanish, ColorExtendables, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentTextHorizontal | undefined; | ||
bodyBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
bodyClass?: any; | ||
bodyTag?: string | undefined; | ||
bodyText?: string | undefined; | ||
bodyTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footer?: string | undefined; | ||
footerBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerBorderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerClass?: any; | ||
footerHtml?: string | undefined; | ||
footerTag?: string | undefined; | ||
footerTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
header?: string | undefined; | ||
headerBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerBorderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerClass?: any; | ||
headerHtml?: string | undefined; | ||
headerTag?: string | undefined; | ||
headerTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
imgAlt?: string | undefined; | ||
imgBottom?: Booleanish | undefined; | ||
imgEnd?: Booleanish | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
imgStart?: Booleanish | undefined; | ||
imgTop?: Booleanish | undefined; | ||
imgWidth?: Numberish | undefined; | ||
noBody?: Booleanish | undefined; | ||
overlay?: Booleanish | undefined; | ||
subtitle?: string | undefined; | ||
subtitleTag?: string | undefined; | ||
subtitleTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
titleTag?: string | undefined; | ||
} & ColorExtendables>, { | ||
import { BCardProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardProps>, { | ||
align: undefined; | ||
@@ -85,43 +46,3 @@ bodyBgVariant: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentTextHorizontal | undefined; | ||
bodyBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
bodyClass?: any; | ||
bodyTag?: string | undefined; | ||
bodyText?: string | undefined; | ||
bodyTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footer?: string | undefined; | ||
footerBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerBorderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerClass?: any; | ||
footerHtml?: string | undefined; | ||
footerTag?: string | undefined; | ||
footerTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
header?: string | undefined; | ||
headerBgVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerBorderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerClass?: any; | ||
headerHtml?: string | undefined; | ||
headerTag?: string | undefined; | ||
headerTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
imgAlt?: string | undefined; | ||
imgBottom?: Booleanish | undefined; | ||
imgEnd?: Booleanish | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
imgStart?: Booleanish | undefined; | ||
imgTop?: Booleanish | undefined; | ||
imgWidth?: Numberish | undefined; | ||
noBody?: Booleanish | undefined; | ||
overlay?: Booleanish | undefined; | ||
subtitle?: string | undefined; | ||
subtitleTag?: string | undefined; | ||
subtitleTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
titleTag?: string | undefined; | ||
} & ColorExtendables>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardProps>, { | ||
align: undefined; | ||
@@ -174,26 +95,26 @@ bodyBgVariant: undefined; | ||
header: string; | ||
align: AlignmentTextHorizontal; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
overlay: Booleanish; | ||
align: import('../../types').AlignmentTextHorizontal; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
overlay: boolean; | ||
bodyClass: any; | ||
headerClass: any; | ||
headerTag: string; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
bodyBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
bodyTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
footerBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
footerBorderVariant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
bodyBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
bodyTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
footerBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
footerBorderVariant: keyof import('../../types').BaseColorVariant | null; | ||
footerClass: any; | ||
footerTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
footerVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerBorderVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
headerVariant: keyof import("../../types").BaseColorVariant | null; | ||
footerTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
footerVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerBorderVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
headerVariant: keyof import('../../types').BaseColorVariant | null; | ||
titleTag: string; | ||
borderVariant: keyof import("../../types").BaseColorVariant | null; | ||
borderVariant: keyof import('../../types').BaseColorVariant | null; | ||
subtitle: string; | ||
subtitleTag: string; | ||
subtitleTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
subtitleTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
bodyTag: string; | ||
@@ -205,10 +126,10 @@ bodyText: string; | ||
imgAlt: string; | ||
imgBottom: Booleanish; | ||
imgEnd: Booleanish; | ||
imgHeight: Numberish; | ||
imgBottom: boolean; | ||
imgEnd: boolean; | ||
imgHeight: import('../../types').Numberish; | ||
imgSrc: string; | ||
imgStart: Booleanish; | ||
imgTop: Booleanish; | ||
imgWidth: Numberish; | ||
noBody: Booleanish; | ||
imgStart: boolean; | ||
imgTop: boolean; | ||
imgWidth: import('../../types').Numberish; | ||
noBody: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -215,0 +136,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,12 +0,4 @@ | ||
import type { Booleanish, ColorExtendables } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
overlay?: Booleanish | undefined; | ||
subtitle?: string | undefined; | ||
subtitleTag?: string | undefined; | ||
subtitleTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
title?: string | undefined; | ||
titleTag?: string | undefined; | ||
} & ColorExtendables>, { | ||
import { BCardBodyProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardBodyProps>, { | ||
overlay: boolean; | ||
@@ -23,12 +15,3 @@ subtitle: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
overlay?: Booleanish | undefined; | ||
subtitle?: string | undefined; | ||
subtitleTag?: string | undefined; | ||
subtitleTextVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
title?: string | undefined; | ||
titleTag?: string | undefined; | ||
} & ColorExtendables>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardBodyProps>, { | ||
overlay: boolean; | ||
@@ -49,10 +32,10 @@ subtitle: undefined; | ||
text: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
overlay: Booleanish; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
overlay: boolean; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
titleTag: string; | ||
subtitle: string; | ||
subtitleTag: string; | ||
subtitleTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
subtitleTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -59,0 +42,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
import { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: undefined; | ||
@@ -10,3 +11,3 @@ html: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: undefined; | ||
@@ -23,6 +24,6 @@ html: undefined; | ||
text: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
borderVariant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
borderVariant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -29,0 +30,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,15 +0,8 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
columns?: Booleanish | undefined; | ||
deck?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
import { BCardGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardGroupProps>, { | ||
columns: boolean; | ||
deck: boolean; | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
columns?: Booleanish | undefined; | ||
deck?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardGroupProps>, { | ||
columns: boolean; | ||
@@ -20,4 +13,4 @@ deck: boolean; | ||
tag: string; | ||
columns: Booleanish; | ||
deck: Booleanish; | ||
columns: boolean; | ||
deck: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -24,0 +17,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
import { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: undefined; | ||
@@ -10,3 +11,3 @@ html: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: undefined; | ||
@@ -23,6 +24,6 @@ html: undefined; | ||
text: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
borderVariant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
borderVariant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -29,0 +30,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
import { BCardHeadFootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: null; | ||
@@ -10,3 +11,3 @@ html: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardHeadFootProps>, { | ||
borderVariant: null; | ||
@@ -23,6 +24,6 @@ html: undefined; | ||
text: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
borderVariant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
borderVariant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -29,0 +30,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,6 +0,4 @@ | ||
import type { BImgProps, Booleanish } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bottom?: Booleanish | undefined; | ||
top?: Booleanish | undefined; | ||
} & BImgProps>, { | ||
import { BCardImageProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardImageProps>, { | ||
bottom: boolean; | ||
@@ -28,6 +26,3 @@ top: boolean; | ||
width: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bottom?: Booleanish | undefined; | ||
top?: Booleanish | undefined; | ||
} & BImgProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardImageProps>, { | ||
bottom: boolean; | ||
@@ -56,24 +51,24 @@ top: boolean; | ||
}>>>, { | ||
fluid: Booleanish; | ||
start: Booleanish; | ||
end: Booleanish; | ||
center: Booleanish; | ||
top: Booleanish; | ||
bottom: Booleanish; | ||
fluid: boolean; | ||
start: boolean; | ||
end: boolean; | ||
center: boolean; | ||
top: boolean; | ||
bottom: boolean; | ||
src: string; | ||
srcset: string | readonly string[]; | ||
width: import("../../types").Numberish; | ||
height: import("../../types").Numberish; | ||
lazy: Booleanish; | ||
rounded: Booleanish | import("../../types").RadiusElement; | ||
roundedTop: Booleanish | import("../../types").RadiusElement; | ||
roundedBottom: Booleanish | import("../../types").RadiusElement; | ||
roundedStart: Booleanish | import("../../types").RadiusElement; | ||
roundedEnd: Booleanish | import("../../types").RadiusElement; | ||
block: Booleanish; | ||
blank: Booleanish; | ||
width: import('../../types').Numberish; | ||
height: import('../../types').Numberish; | ||
lazy: boolean; | ||
block: boolean; | ||
rounded: boolean | import('../../types').RadiusElement; | ||
roundedTop: boolean | import('../../types').RadiusElement; | ||
roundedBottom: boolean | import('../../types').RadiusElement; | ||
roundedStart: boolean | import('../../types').RadiusElement; | ||
roundedEnd: boolean | import('../../types').RadiusElement; | ||
blank: boolean; | ||
blankColor: string; | ||
fluidGrow: Booleanish; | ||
fluidGrow: boolean; | ||
sizes: string | readonly string[]; | ||
thumbnail: Booleanish; | ||
thumbnail: boolean; | ||
}, {}>; | ||
@@ -80,0 +75,0 @@ export default _default; |
@@ -1,14 +0,8 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
tag?: string | undefined; | ||
textVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
}>, { | ||
import { BCardSubtitleProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardSubtitleProps>, { | ||
tag: string; | ||
text: undefined; | ||
textVariant: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
tag?: string | undefined; | ||
textVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardSubtitleProps>, { | ||
tag: string; | ||
@@ -20,3 +14,3 @@ text: undefined; | ||
text: string; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -23,0 +17,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,11 +0,7 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
import { BCardTextProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardTextProps>, { | ||
tag: string; | ||
text: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardTextProps>, { | ||
tag: string; | ||
@@ -12,0 +8,0 @@ text: undefined; |
@@ -1,11 +0,7 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
import { BCardTitleProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardTitleProps>, { | ||
tag: string; | ||
text: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCardTitleProps>, { | ||
tag: string; | ||
@@ -12,0 +8,0 @@ text: undefined; |
import { BvCarouselEvent } from '../../utils'; | ||
import type { Booleanish, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
background?: string | undefined; | ||
controls?: Booleanish | undefined; | ||
controlsNextText?: string | undefined; | ||
controlsPrevText?: string | undefined; | ||
fade?: Booleanish | undefined; | ||
id?: string | undefined; | ||
imgHeight?: string | undefined; | ||
imgWidth?: string | undefined; | ||
indicators?: Booleanish | undefined; | ||
indicatorsButtonLabel?: string | undefined; | ||
interval?: Numberish | undefined; | ||
keyboard?: Booleanish | undefined; | ||
modelValue?: number | undefined; | ||
noHoverPause?: Booleanish | undefined; | ||
noTouch?: Booleanish | undefined; | ||
noWrap?: Booleanish | undefined; | ||
ride?: Booleanish | "carousel" | undefined; | ||
rideReverse?: Booleanish | undefined; | ||
touchThreshold?: Numberish | undefined; | ||
}>, { | ||
background: undefined; | ||
controls: boolean; | ||
controlsNextText: string; | ||
controlsPrevText: string; | ||
fade: boolean; | ||
id: undefined; | ||
imgHeight: undefined; | ||
imgWidth: undefined; | ||
indicators: boolean; | ||
indicatorsButtonLabel: string; | ||
interval: number; | ||
keyboard: boolean; | ||
modelValue: number; | ||
noHoverPause: boolean; | ||
noTouch: boolean; | ||
noWrap: boolean; | ||
ride: boolean; | ||
rideReverse: boolean; | ||
touchThreshold: number; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number>; | ||
fade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
background: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
imgHeight: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
imgWidth: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
controls: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
controlsNextText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
controlsPrevText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
indicators: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
indicatorsButtonLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
keyboard: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTouch: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noWrap: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ride: { | ||
type: import('vue').PropType<boolean | "carousel">; | ||
default: boolean; | ||
}; | ||
rideReverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
touchThreshold: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
}, { | ||
next: () => void; | ||
pause: import("@vueuse/shared/index.cjs").Fn; | ||
pause: import('@vueuse/core').Fn; | ||
prev: () => void; | ||
resume: import("@vueuse/shared/index.cjs").Fn; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: number) => void; | ||
resume: import('@vueuse/core').Fn; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
slide: (value: BvCarouselEvent) => void; | ||
slid: (value: BvCarouselEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
background?: string | undefined; | ||
controls?: Booleanish | undefined; | ||
controlsNextText?: string | undefined; | ||
controlsPrevText?: string | undefined; | ||
fade?: Booleanish | undefined; | ||
id?: string | undefined; | ||
imgHeight?: string | undefined; | ||
imgWidth?: string | undefined; | ||
indicators?: Booleanish | undefined; | ||
indicatorsButtonLabel?: string | undefined; | ||
interval?: Numberish | undefined; | ||
keyboard?: Booleanish | undefined; | ||
modelValue?: number | undefined; | ||
noHoverPause?: Booleanish | undefined; | ||
noTouch?: Booleanish | undefined; | ||
noWrap?: Booleanish | undefined; | ||
ride?: Booleanish | "carousel" | undefined; | ||
rideReverse?: Booleanish | undefined; | ||
touchThreshold?: Numberish | undefined; | ||
}>, { | ||
background: undefined; | ||
controls: boolean; | ||
controlsNextText: string; | ||
controlsPrevText: string; | ||
fade: boolean; | ||
id: undefined; | ||
imgHeight: undefined; | ||
imgWidth: undefined; | ||
indicators: boolean; | ||
indicatorsButtonLabel: string; | ||
interval: number; | ||
keyboard: boolean; | ||
modelValue: number; | ||
noHoverPause: boolean; | ||
noTouch: boolean; | ||
noWrap: boolean; | ||
ride: boolean; | ||
rideReverse: boolean; | ||
touchThreshold: number; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: number) => any) | undefined; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number>; | ||
fade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
background: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
imgHeight: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
imgWidth: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
controls: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
controlsNextText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
controlsPrevText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
indicators: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
indicatorsButtonLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
keyboard: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTouch: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noWrap: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ride: { | ||
type: import('vue').PropType<boolean | "carousel">; | ||
default: boolean; | ||
}; | ||
rideReverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
touchThreshold: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
}>> & { | ||
onSlide?: ((value: BvCarouselEvent) => any) | undefined; | ||
onSlid?: ((value: BvCarouselEvent) => any) | undefined; | ||
}, { | ||
fade: Booleanish; | ||
fade: boolean; | ||
id: string; | ||
background: string; | ||
modelValue: number; | ||
interval: Numberish; | ||
noHoverPause: Booleanish; | ||
interval: import('../../types').Numberish; | ||
noHoverPause: boolean; | ||
imgHeight: string; | ||
imgWidth: string; | ||
controls: Booleanish; | ||
controls: boolean; | ||
controlsNextText: string; | ||
controlsPrevText: string; | ||
indicators: Booleanish; | ||
indicators: boolean; | ||
indicatorsButtonLabel: string; | ||
keyboard: Booleanish; | ||
noTouch: Booleanish; | ||
noWrap: Booleanish; | ||
ride: Booleanish | "carousel"; | ||
rideReverse: Booleanish; | ||
touchThreshold: Numberish; | ||
keyboard: boolean; | ||
noTouch: boolean; | ||
noWrap: boolean; | ||
ride: boolean | "carousel"; | ||
rideReverse: boolean; | ||
touchThreshold: import('../../types').Numberish; | ||
}, {}>, Readonly<{ | ||
@@ -122,19 +187,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -141,0 +189,0 @@ new (): { |
@@ -1,22 +0,4 @@ | ||
import type { Booleanish, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
background?: string | undefined; | ||
caption?: string | undefined; | ||
captionHtml?: string | undefined; | ||
captionTag?: string | undefined; | ||
contentTag?: string | undefined; | ||
contentVisibleUp?: string | undefined; | ||
id?: string | undefined; | ||
imgAlt?: string | undefined; | ||
imgBlank?: Booleanish | undefined; | ||
imgBlankColor?: string | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
imgSrcset?: string | readonly string[] | undefined; | ||
imgWidth?: Numberish | undefined; | ||
interval?: Numberish | undefined; | ||
text?: string | undefined; | ||
textHtml?: string | undefined; | ||
textTag?: string | undefined; | ||
}>, { | ||
import { BCarouselSlideProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCarouselSlideProps>, { | ||
background: undefined; | ||
@@ -40,22 +22,3 @@ caption: undefined; | ||
textTag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
background?: string | undefined; | ||
caption?: string | undefined; | ||
captionHtml?: string | undefined; | ||
captionTag?: string | undefined; | ||
contentTag?: string | undefined; | ||
contentVisibleUp?: string | undefined; | ||
id?: string | undefined; | ||
imgAlt?: string | undefined; | ||
imgBlank?: Booleanish | undefined; | ||
imgBlankColor?: string | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
imgSrcset?: string | readonly string[] | undefined; | ||
imgWidth?: Numberish | undefined; | ||
interval?: Numberish | undefined; | ||
text?: string | undefined; | ||
textHtml?: string | undefined; | ||
textTag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCarouselSlideProps>, { | ||
background: undefined; | ||
@@ -84,7 +47,7 @@ caption: undefined; | ||
background: string; | ||
interval: Numberish; | ||
interval: import('../../types').Numberish; | ||
imgAlt: string; | ||
imgHeight: Numberish; | ||
imgHeight: import('../../types').Numberish; | ||
imgSrc: string; | ||
imgWidth: Numberish; | ||
imgWidth: import('../../types').Numberish; | ||
captionHtml: string; | ||
@@ -94,3 +57,3 @@ captionTag: string; | ||
contentVisibleUp: string; | ||
imgBlank: Booleanish; | ||
imgBlank: boolean; | ||
imgBlankColor: string; | ||
@@ -97,0 +60,0 @@ imgSrcset: string | readonly string[]; |
@@ -1,4 +0,5 @@ | ||
import { type PropType, type SlotsType } from 'vue'; | ||
import type { AlignmentVertical, Booleanish } from '../types'; | ||
declare const _default: import("vue").DefineComponent<{ | ||
import { AlignmentVertical } from '../types'; | ||
import { PropType, SlotsType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent<{ | ||
alignSelf: { | ||
@@ -21,3 +22,3 @@ type: PropType<AlignmentVertical | "auto">; | ||
col: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -30,7 +31,7 @@ }; | ||
}, { | ||
computedClasses: import("vue").ComputedRef<(string[] | { | ||
computedClasses: import('vue').ComputedRef<(string[] | { | ||
[x: string]: boolean; | ||
col: boolean; | ||
})[]>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
alignSelf: { | ||
@@ -53,3 +54,3 @@ type: PropType<AlignmentVertical | "auto">; | ||
col: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -64,3 +65,3 @@ }; | ||
cols: string | number; | ||
col: Booleanish; | ||
col: boolean; | ||
offset: string | number; | ||
@@ -67,0 +68,0 @@ order: string | number; |
@@ -1,37 +0,48 @@ | ||
import type { Booleanish } from '../types'; | ||
import { BvTriggerableEvent } from '../utils'; | ||
type SharedSlotsData = { | ||
close: () => void; | ||
hide: () => void; | ||
id: string; | ||
open: () => void; | ||
show: () => void; | ||
toggle: () => void; | ||
visible: boolean; | ||
}; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
horizontal?: Booleanish | undefined; | ||
id?: string | undefined; | ||
isNav?: Booleanish | undefined; | ||
modelValue?: Booleanish | undefined; | ||
skipAnimation?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
toggle?: Booleanish | undefined; | ||
visible?: Booleanish | undefined; | ||
}>, { | ||
horizontal: boolean; | ||
id: undefined; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
toggle: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
visible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
horizontal: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
skipAnimation: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, { | ||
hide: () => void; | ||
isNav: boolean; | ||
modelValue: boolean; | ||
skipAnimation: boolean; | ||
tag: string; | ||
toggle: boolean; | ||
visible: boolean; | ||
}>, { | ||
close: () => void; | ||
isNav: import("vue").ComputedRef<boolean>; | ||
open: () => void; | ||
show: () => void; | ||
toggle: () => void; | ||
visible: Readonly<import("vue").Ref<boolean>>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
visible: Readonly<import('vue').Ref<boolean>>; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: () => void; | ||
"update:modelValue": (value: boolean) => void; | ||
show: (value: BvTriggerableEvent) => void; | ||
@@ -42,23 +53,34 @@ hide: (value: BvTriggerableEvent) => void; | ||
shown: () => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
horizontal?: Booleanish | undefined; | ||
id?: string | undefined; | ||
isNav?: Booleanish | undefined; | ||
modelValue?: Booleanish | undefined; | ||
skipAnimation?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
toggle?: Booleanish | undefined; | ||
visible?: Booleanish | undefined; | ||
}>, { | ||
horizontal: boolean; | ||
id: undefined; | ||
isNav: boolean; | ||
modelValue: boolean; | ||
skipAnimation: boolean; | ||
tag: string; | ||
toggle: boolean; | ||
visible: boolean; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
toggle: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
visible: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
horizontal: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
skipAnimation: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
onHidden?: (() => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -72,8 +94,7 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
id: string; | ||
modelValue: Booleanish; | ||
toggle: Booleanish; | ||
visible: Booleanish; | ||
horizontal: Booleanish; | ||
isNav: Booleanish; | ||
skipAnimation: Booleanish; | ||
toggle: boolean; | ||
visible: boolean; | ||
horizontal: boolean; | ||
isNav: boolean; | ||
skipAnimation: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -89,19 +110,2 @@ default?: ((props: SharedSlotsData) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -108,0 +112,0 @@ new (): { |
@@ -1,8 +0,4 @@ | ||
import type { Booleanish, Breakpoint, Numberish } from '../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
fluid?: Booleanish | Breakpoint | undefined; | ||
gutterX?: Numberish | undefined; | ||
gutterY?: Numberish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
import { BContainerProps } from '../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BContainerProps>, { | ||
fluid: boolean; | ||
@@ -12,8 +8,3 @@ gutterX: undefined; | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
fluid?: Booleanish | Breakpoint | undefined; | ||
gutterX?: Numberish | undefined; | ||
gutterY?: Numberish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BContainerProps>, { | ||
fluid: boolean; | ||
@@ -24,5 +15,5 @@ gutterX: undefined; | ||
}>>>, { | ||
fluid: Booleanish | Breakpoint; | ||
gutterX: Numberish; | ||
gutterY: Numberish; | ||
fluid: boolean | import('../types').Breakpoint; | ||
gutterX: import('../types').Numberish; | ||
gutterY: import('../types').Numberish; | ||
tag: string; | ||
@@ -29,0 +20,0 @@ }, {}>, { |
@@ -1,48 +0,174 @@ | ||
import type { BDropdownProps } from '../../types'; | ||
import { BvTriggerableEvent } from '../../utils'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownProps>, { | ||
ariaLabel: undefined; | ||
autoClose: boolean; | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
center: boolean; | ||
container: undefined; | ||
disabled: boolean; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
end: boolean; | ||
floatingMiddleware: undefined; | ||
id: undefined; | ||
isNav: boolean; | ||
lazy: boolean; | ||
menuClass: undefined; | ||
modelValue: boolean; | ||
noCaret: boolean; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
offset: number; | ||
role: string; | ||
size: string; | ||
split: boolean; | ||
splitButtonType: string; | ||
splitClass: undefined; | ||
splitDisabled: undefined; | ||
splitHref: undefined; | ||
splitTo: undefined; | ||
splitVariant: undefined; | ||
strategy: string; | ||
text: undefined; | ||
toggleClass: undefined; | ||
toggleText: string; | ||
variant: string; | ||
}>, { | ||
close: () => void; | ||
open: () => void; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
split: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
center: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
offset: { | ||
type: import('vue').PropType<string | number | Readonly<{ | ||
mainAxis?: number | undefined; | ||
crossAxis?: number | undefined; | ||
alignmentAxis?: number | null | undefined; | ||
}>>; | ||
default: number; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
role: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
text: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Padding>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('@floating-ui/vue').Placement; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: import('@floating-ui/vue').Placement; | ||
middlewareData: import('../../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Strategy>; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoClose: { | ||
type: import('vue').PropType<boolean | "inside" | "outside">; | ||
default: boolean; | ||
}; | ||
dropend: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropstart: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
menuClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCaret: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
splitButtonType: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
splitClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
splitDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
splitHref: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
splitTo: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
splitVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: undefined; | ||
}; | ||
toggleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
toggleText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}, { | ||
hide: () => void; | ||
show: () => void; | ||
toggle: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: () => void; | ||
click: (event: MouseEvent) => void; | ||
"update:modelValue": (value: boolean) => void; | ||
toggle: () => void; | ||
@@ -54,42 +180,168 @@ show: (value: BvTriggerableEvent) => void; | ||
shown: () => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownProps>, { | ||
ariaLabel: undefined; | ||
autoClose: boolean; | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
center: boolean; | ||
container: undefined; | ||
disabled: boolean; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
end: boolean; | ||
floatingMiddleware: undefined; | ||
id: undefined; | ||
isNav: boolean; | ||
lazy: boolean; | ||
menuClass: undefined; | ||
modelValue: boolean; | ||
noCaret: boolean; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
offset: number; | ||
role: string; | ||
size: string; | ||
split: boolean; | ||
splitButtonType: string; | ||
splitClass: undefined; | ||
splitDisabled: undefined; | ||
splitHref: undefined; | ||
splitTo: undefined; | ||
splitVariant: undefined; | ||
strategy: string; | ||
text: undefined; | ||
toggleClass: undefined; | ||
toggleText: string; | ||
variant: string; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
split: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
center: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
offset: { | ||
type: import('vue').PropType<string | number | Readonly<{ | ||
mainAxis?: number | undefined; | ||
crossAxis?: number | undefined; | ||
alignmentAxis?: number | null | undefined; | ||
}>>; | ||
default: number; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
role: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
text: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Padding>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('@floating-ui/vue').Placement; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: import('@floating-ui/vue').Placement; | ||
middlewareData: import('../../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Strategy>; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoClose: { | ||
type: import('vue').PropType<boolean | "inside" | "outside">; | ||
default: boolean; | ||
}; | ||
dropend: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropstart: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
menuClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCaret: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
splitButtonType: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
splitClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
splitDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
splitHref: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
splitTo: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
splitVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: undefined; | ||
}; | ||
toggleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
toggleText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}>> & { | ||
onHidden?: (() => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -103,4 +355,5 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
}, { | ||
end: import("../../types").Booleanish; | ||
center: import("../../types").Booleanish; | ||
split: boolean; | ||
end: boolean; | ||
center: boolean; | ||
offset: string | number | Readonly<{ | ||
@@ -114,12 +367,9 @@ mainAxis?: number | undefined; | ||
role: string; | ||
disabled: import("../../types").Booleanish; | ||
disabled: boolean; | ||
text: string; | ||
size: keyof import("../../types").BaseSize; | ||
variant: keyof import("../../types").BaseButtonVariant | null; | ||
split: import("../../types").Booleanish; | ||
lazy: import("../../types").Booleanish; | ||
modelValue: import("../../types").Booleanish; | ||
boundary: Element | "document" | "clippingAncestors" | Element[] | import("@floating-ui/vue").Rect | "viewport"; | ||
boundaryPadding: import("@floating-ui/vue").Padding; | ||
container: string | HTMLElement | import("vue").ComponentPublicInstance<HTMLElement>; | ||
size: keyof import('../../types').BaseSize; | ||
variant: keyof import('../../types').BaseButtonVariant | null; | ||
lazy: boolean; | ||
boundary: Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport"; | ||
boundaryPadding: import('@floating-ui/vue').Padding; | ||
floatingMiddleware: { | ||
@@ -131,28 +381,30 @@ name: string; | ||
y: number; | ||
placement: import("@floating-ui/vue").Placement; | ||
strategy: import("@floating-ui/vue").Strategy; | ||
initialPlacement: import("@floating-ui/vue").Placement; | ||
placement: import('@floating-ui/vue').Placement; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: import('@floating-ui/vue').Placement; | ||
middlewareData: import('../../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import("@floating-ui/vue").ElementRects; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import("@floating-ui/vue").Elements; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]; | ||
noFlip: import("../../types").Booleanish; | ||
noShift: import("../../types").Booleanish; | ||
noSize: import("../../types").Booleanish; | ||
strategy: import("@floating-ui/vue").Strategy; | ||
isNav: import("../../types").Booleanish; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
isNav: boolean; | ||
autoClose: boolean | "inside" | "outside"; | ||
dropend: import("../../types").Booleanish; | ||
dropstart: import("../../types").Booleanish; | ||
dropup: import("../../types").Booleanish; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
menuClass: any; | ||
noCaret: import("../../types").Booleanish; | ||
splitButtonType: import("../../types").ButtonType; | ||
noCaret: boolean; | ||
splitButtonType: import('../../types').ButtonType; | ||
splitClass: any; | ||
splitDisabled: import("../../types").Booleanish; | ||
splitDisabled: boolean; | ||
splitHref: string; | ||
splitTo: import("vue-router").RouteLocationRaw; | ||
splitVariant: keyof import("../../types").BaseButtonVariant | null; | ||
splitTo: import('vue-router').RouteLocationRaw; | ||
splitVariant: keyof import('../../types').BaseButtonVariant | null; | ||
toggleClass: any; | ||
@@ -176,19 +428,2 @@ toggleText: string; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -195,0 +430,0 @@ new (): { |
@@ -1,8 +0,6 @@ | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
}>, { | ||
import { BDropdownDividerProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownDividerProps>, { | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownDividerProps>, { | ||
tag: string; | ||
@@ -9,0 +7,0 @@ }>>>, { |
@@ -1,2 +0,2 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{ | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, Readonly<{ | ||
default?: ((props: Record<string, never>) => any) | undefined; | ||
@@ -3,0 +3,0 @@ }> & { |
@@ -1,9 +0,4 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaDescribedby?: string | undefined; | ||
header?: string | undefined; | ||
headerClass?: any; | ||
headerTag?: string | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
id?: string | undefined; | ||
}>, { | ||
import { BDropdownGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownGroupProps>, { | ||
ariaDescribedby: undefined; | ||
@@ -15,10 +10,3 @@ header: undefined; | ||
id: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaDescribedby?: string | undefined; | ||
header?: string | undefined; | ||
headerClass?: any; | ||
headerTag?: string | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
id?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownGroupProps>, { | ||
ariaDescribedby: undefined; | ||
@@ -35,3 +23,3 @@ header: undefined; | ||
headerTag: string; | ||
headerVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerVariant: keyof import('../../types').BaseColorVariant | null; | ||
ariaDescribedby: string; | ||
@@ -38,0 +26,0 @@ }, {}>, Readonly<{ |
@@ -1,2 +0,2 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{ | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, Readonly<{ | ||
default?: ((props: Record<string, never>) => any) | undefined; | ||
@@ -3,0 +3,0 @@ }> & { |
@@ -1,6 +0,4 @@ | ||
import type { AttrsValue, BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
linkClass?: any; | ||
wrapperAttrs?: Readonly<AttrsValue> | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
import { BDropdownItemProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownItemProps>, { | ||
wrapperAttrs: undefined; | ||
@@ -28,8 +26,5 @@ linkClass: undefined; | ||
underlineVariant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
linkClass?: any; | ||
wrapperAttrs?: Readonly<AttrsValue> | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownItemProps>, { | ||
wrapperAttrs: undefined; | ||
@@ -60,23 +55,23 @@ linkClass: undefined; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
wrapperAttrs: Readonly<AttrsValue>; | ||
wrapperAttrs: Readonly<import('../../types').AttrsValue>; | ||
linkClass: any; | ||
@@ -83,0 +78,0 @@ }, {}>, Readonly<{ |
@@ -1,9 +0,4 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
active?: Booleanish | undefined; | ||
activeClass?: any; | ||
buttonClass?: any; | ||
disabled?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BDropdownItemButtonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownItemButtonProps>, { | ||
active: boolean; | ||
@@ -14,11 +9,5 @@ activeClass: string; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
active?: Booleanish | undefined; | ||
activeClass?: any; | ||
buttonClass?: any; | ||
disabled?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownItemButtonProps>, { | ||
active: boolean; | ||
@@ -32,6 +21,6 @@ activeClass: string; | ||
}, { | ||
disabled: Booleanish; | ||
active: Booleanish; | ||
disabled: boolean; | ||
active: boolean; | ||
activeClass: any; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
buttonClass: any; | ||
@@ -38,0 +27,0 @@ }, {}>, Readonly<{ |
@@ -1,8 +0,6 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
}>, { | ||
import { BDropdownTextProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownTextProps>, { | ||
text: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownTextProps>, { | ||
text: string; | ||
@@ -9,0 +7,0 @@ }>>>, { |
@@ -1,3 +0,4 @@ | ||
import type { BFormProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormProps>, { | ||
import { BFormProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormProps>, { | ||
floating: boolean; | ||
@@ -8,6 +9,6 @@ id: undefined; | ||
}>, { | ||
element: import("vue").Ref<HTMLFormElement | null>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
element: import('vue').Ref<HTMLFormElement | null>; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
submit: (value: Event) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormProps>, { | ||
floating: boolean; | ||
@@ -21,5 +22,5 @@ id: undefined; | ||
id: string; | ||
floating: import("../../types").Booleanish; | ||
novalidate: import("../../types").Booleanish; | ||
validated: import("../../types").Booleanish; | ||
floating: boolean; | ||
novalidate: boolean; | ||
validated: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -26,0 +27,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,14 +0,8 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
label?: string | undefined; | ||
labelFor?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
import { BFormFloatingLabelProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFloatingLabelProps>, { | ||
label: undefined; | ||
labelFor: undefined; | ||
text: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
label?: string | undefined; | ||
labelFor?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFloatingLabelProps>, { | ||
label: undefined; | ||
@@ -15,0 +9,0 @@ labelFor: undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BFormFeedbackSharedProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
import { BFormFeedbackSharedProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
ariaLive: undefined; | ||
@@ -11,3 +12,3 @@ forceShow: boolean; | ||
tooltip: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
ariaLive: undefined; | ||
@@ -27,5 +28,5 @@ forceShow: boolean; | ||
text: string; | ||
state: import("../../types").Booleanish | null; | ||
tooltip: import("../../types").Booleanish; | ||
forceShow: import("../../types").Booleanish; | ||
state: boolean | null; | ||
tooltip: boolean; | ||
forceShow: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -32,0 +33,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,8 +0,6 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
}>, { | ||
import { BFormRowProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormRowProps>, { | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormRowProps>, { | ||
tag: string; | ||
@@ -9,0 +7,0 @@ }>>>, { |
@@ -1,9 +0,4 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
textVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
}>, { | ||
import { BFormTextProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTextProps>, { | ||
id: undefined; | ||
@@ -14,9 +9,3 @@ inline: boolean; | ||
textVariant: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
textVariant?: keyof import("../../types").BaseTextColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTextProps>, { | ||
id: undefined; | ||
@@ -31,4 +20,4 @@ inline: boolean; | ||
text: string; | ||
inline: Booleanish; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
inline: boolean; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -35,0 +24,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BFormFeedbackSharedProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
import { BFormFeedbackSharedProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
ariaLive: undefined; | ||
@@ -11,3 +12,3 @@ forceShow: boolean; | ||
tooltip: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormFeedbackSharedProps>, { | ||
ariaLive: undefined; | ||
@@ -27,5 +28,5 @@ forceShow: boolean; | ||
text: string; | ||
state: import("../../types").Booleanish | null; | ||
tooltip: import("../../types").Booleanish; | ||
forceShow: import("../../types").Booleanish; | ||
state: boolean | null; | ||
tooltip: boolean; | ||
forceShow: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -32,0 +33,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,116 +0,184 @@ | ||
import type { Booleanish, CheckboxValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
ariaLabelledby?: string | undefined; | ||
autofocus?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
buttonGroup?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
indeterminate?: Booleanish | undefined; | ||
inline?: Booleanish | undefined; | ||
modelValue?: CheckboxValue | readonly CheckboxValue[] | undefined; | ||
name?: string | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
switch?: Booleanish | undefined; | ||
uncheckedValue?: CheckboxValue | undefined; | ||
value?: CheckboxValue | undefined; | ||
}>, { | ||
ariaLabel: undefined; | ||
ariaLabelledby: undefined; | ||
autofocus: boolean; | ||
button: boolean; | ||
buttonGroup: boolean; | ||
buttonVariant: null; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
indeterminate: boolean; | ||
inline: boolean; | ||
modelValue: undefined; | ||
name: undefined; | ||
plain: boolean; | ||
required: undefined; | ||
size: undefined; | ||
state: null; | ||
switch: boolean; | ||
uncheckedValue: boolean; | ||
value: boolean; | ||
}>, { | ||
import { CheckboxValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<CheckboxValue | CheckboxValue[]>; | ||
indeterminate: import('vue').PropType<boolean>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
button: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
switch: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
value: { | ||
type: import('vue').PropType<CheckboxValue>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
buttonGroup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: null; | ||
}; | ||
uncheckedValue: { | ||
type: import('vue').PropType<CheckboxValue>; | ||
default: boolean; | ||
}; | ||
}, { | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLElement | null>; | ||
element: import('vue').Ref<HTMLElement | null>; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: CheckboxValue | CheckboxValue[]) => void; | ||
"update:indeterminate": (value: boolean) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
ariaLabelledby?: string | undefined; | ||
autofocus?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
buttonGroup?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
indeterminate?: Booleanish | undefined; | ||
inline?: Booleanish | undefined; | ||
modelValue?: CheckboxValue | readonly CheckboxValue[] | undefined; | ||
name?: string | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
switch?: Booleanish | undefined; | ||
uncheckedValue?: CheckboxValue | undefined; | ||
value?: CheckboxValue | undefined; | ||
}>, { | ||
ariaLabel: undefined; | ||
ariaLabelledby: undefined; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<CheckboxValue | CheckboxValue[]>; | ||
indeterminate: import('vue').PropType<boolean>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
button: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
switch: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
value: { | ||
type: import('vue').PropType<CheckboxValue>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
buttonGroup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: null; | ||
}; | ||
uncheckedValue: { | ||
type: import('vue').PropType<CheckboxValue>; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
reverse: boolean; | ||
name: string; | ||
id: string; | ||
ariaLabel: string; | ||
autofocus: boolean; | ||
button: boolean; | ||
buttonGroup: boolean; | ||
buttonVariant: null; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
indeterminate: boolean; | ||
inline: boolean; | ||
modelValue: undefined; | ||
name: undefined; | ||
plain: boolean; | ||
required: undefined; | ||
size: undefined; | ||
state: null; | ||
form: string; | ||
switch: boolean; | ||
uncheckedValue: boolean; | ||
value: boolean; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: CheckboxValue | CheckboxValue[]) => any) | undefined; | ||
"onUpdate:indeterminate"?: ((value: boolean) => any) | undefined; | ||
}, { | ||
name: string; | ||
id: string; | ||
ariaLabel: string; | ||
autofocus: Booleanish; | ||
button: Booleanish; | ||
disabled: Booleanish; | ||
form: string; | ||
switch: Booleanish; | ||
value: CheckboxValue; | ||
indeterminate: Booleanish; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
plain: Booleanish; | ||
state: Booleanish | null; | ||
modelValue: CheckboxValue | readonly CheckboxValue[]; | ||
inline: Booleanish; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
plain: boolean; | ||
state: boolean | null; | ||
inline: boolean; | ||
ariaLabelledby: string; | ||
buttonGroup: Booleanish; | ||
buttonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
buttonGroup: boolean; | ||
buttonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
uncheckedValue: CheckboxValue; | ||
@@ -123,19 +191,2 @@ }, {}>, Readonly<{ | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -142,0 +193,0 @@ new (): { |
@@ -1,123 +0,200 @@ | ||
import type { AriaInvalid, Booleanish, CheckboxOptionRaw, CheckboxValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
buttons?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
disabledField?: string | undefined; | ||
form?: string | undefined; | ||
htmlField?: string | undefined; | ||
id?: string | undefined; | ||
modelValue?: readonly CheckboxValue[] | undefined; | ||
name?: string | undefined; | ||
options?: readonly CheckboxOptionRaw[] | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
stacked?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
switches?: Booleanish | undefined; | ||
textField?: string | undefined; | ||
validated?: Booleanish | undefined; | ||
valueField?: string | undefined; | ||
}>, { | ||
ariaInvalid: undefined; | ||
autofocus: boolean; | ||
buttonVariant: string; | ||
buttons: boolean; | ||
disabled: boolean; | ||
disabledField: string; | ||
form: undefined; | ||
htmlField: string; | ||
id: undefined; | ||
modelValue: () => never[]; | ||
name: undefined; | ||
options: () => never[]; | ||
plain: boolean; | ||
required: boolean; | ||
size: string; | ||
stacked: boolean; | ||
state: null; | ||
switches: boolean; | ||
textField: string; | ||
validated: boolean; | ||
valueField: string; | ||
}>, { | ||
import { CheckboxValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<CheckboxValue[]>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaInvalid: { | ||
type: import('vue').PropType<import('../../types').AriaInvalid>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
options: { | ||
type: import('vue').PropType<readonly import('../../types').CheckboxOptionRaw[]>; | ||
default: () => never[]; | ||
}; | ||
valueField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
textField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
htmlField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabledField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
buttons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
validated: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
stacked: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
switches: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, { | ||
blur: () => void; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
input: (value: CheckboxValue[]) => void; | ||
"update:modelValue": (value: CheckboxValue[]) => void; | ||
change: (value: CheckboxValue[]) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
buttons?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
disabledField?: string | undefined; | ||
form?: string | undefined; | ||
htmlField?: string | undefined; | ||
id?: string | undefined; | ||
modelValue?: readonly CheckboxValue[] | undefined; | ||
name?: string | undefined; | ||
options?: readonly CheckboxOptionRaw[] | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
stacked?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
switches?: Booleanish | undefined; | ||
textField?: string | undefined; | ||
validated?: Booleanish | undefined; | ||
valueField?: string | undefined; | ||
}>, { | ||
ariaInvalid: undefined; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<CheckboxValue[]>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaInvalid: { | ||
type: import('vue').PropType<import('../../types').AriaInvalid>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
options: { | ||
type: import('vue').PropType<readonly import('../../types').CheckboxOptionRaw[]>; | ||
default: () => never[]; | ||
}; | ||
valueField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
textField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
htmlField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabledField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
buttons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
validated: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
stacked: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
switches: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
reverse: boolean; | ||
name: string; | ||
id: string; | ||
ariaInvalid: import('../../types').AriaInvalid; | ||
autofocus: boolean; | ||
buttonVariant: string; | ||
buttons: boolean; | ||
disabled: boolean; | ||
disabledField: string; | ||
form: undefined; | ||
htmlField: string; | ||
id: undefined; | ||
modelValue: () => never[]; | ||
name: undefined; | ||
options: () => never[]; | ||
form: string; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
plain: boolean; | ||
required: boolean; | ||
size: string; | ||
stacked: boolean; | ||
state: null; | ||
switches: boolean; | ||
textField: string; | ||
validated: boolean; | ||
state: boolean | null; | ||
options: readonly import('../../types').CheckboxOptionRaw[]; | ||
valueField: string; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: CheckboxValue[]) => any) | undefined; | ||
onChange?: ((value: CheckboxValue[]) => any) | undefined; | ||
onInput?: ((value: CheckboxValue[]) => any) | undefined; | ||
}, { | ||
name: string; | ||
id: string; | ||
ariaInvalid: AriaInvalid; | ||
autofocus: Booleanish; | ||
disabled: Booleanish; | ||
form: string; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
plain: Booleanish; | ||
state: Booleanish | null; | ||
modelValue: readonly CheckboxValue[]; | ||
options: readonly CheckboxOptionRaw[]; | ||
valueField: string; | ||
textField: string; | ||
htmlField: string; | ||
disabledField: string; | ||
buttons: Booleanish; | ||
validated: Booleanish; | ||
buttonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
stacked: Booleanish; | ||
switches: Booleanish; | ||
buttons: boolean; | ||
validated: boolean; | ||
buttonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
stacked: boolean; | ||
switches: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -131,19 +208,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -150,0 +210,0 @@ new (): { |
@@ -1,101 +0,191 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
accept?: string | readonly string[] | undefined; | ||
autofocus?: Booleanish | undefined; | ||
capture?: Booleanish | "user" | "environment" | undefined; | ||
directory?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
label?: string | undefined; | ||
labelClass?: any; | ||
modelValue?: File | readonly File[] | null | undefined; | ||
multiple?: Booleanish | undefined; | ||
name?: string | undefined; | ||
noDrop?: Booleanish | undefined; | ||
noTraverse?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
}>, { | ||
accept: string; | ||
autofocus: boolean; | ||
capture: boolean; | ||
directory: boolean; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
label: string; | ||
labelClass: undefined; | ||
modelValue: null; | ||
multiple: boolean; | ||
name: undefined; | ||
noDrop: boolean; | ||
noTraverse: boolean; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<File | File[] | null>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
capture: { | ||
type: import('vue').PropType<boolean | "user" | "environment">; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
label: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
accept: { | ||
type: import('vue').PropType<string | readonly string[]>; | ||
default: string; | ||
}; | ||
multiple: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<"start" | "end">; | ||
default: string; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
browserText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
directory: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
labelClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noDrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTraverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, { | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLInputElement | null>; | ||
element: import('vue').Ref<HTMLInputElement | null>; | ||
focus: () => void; | ||
reset: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: File | File[] | null) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
accept?: string | readonly string[] | undefined; | ||
autofocus?: Booleanish | undefined; | ||
capture?: Booleanish | "user" | "environment" | undefined; | ||
directory?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
label?: string | undefined; | ||
labelClass?: any; | ||
modelValue?: File | readonly File[] | null | undefined; | ||
multiple?: Booleanish | undefined; | ||
name?: string | undefined; | ||
noDrop?: Booleanish | undefined; | ||
noTraverse?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
}>, { | ||
accept: string; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<File | File[] | null>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
capture: { | ||
type: import('vue').PropType<boolean | "user" | "environment">; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
label: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
accept: { | ||
type: import('vue').PropType<string | readonly string[]>; | ||
default: string; | ||
}; | ||
multiple: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<"start" | "end">; | ||
default: string; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
browserText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
directory: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
labelClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noDrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTraverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
name: string; | ||
id: string; | ||
ariaLabel: string; | ||
autofocus: boolean; | ||
capture: boolean; | ||
directory: boolean; | ||
capture: boolean | "user" | "environment"; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
form: string; | ||
label: string; | ||
labelClass: undefined; | ||
modelValue: null; | ||
accept: string | readonly string[]; | ||
multiple: boolean; | ||
name: undefined; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
state: boolean | null; | ||
placement: "start" | "end"; | ||
ariaLabelledby: string; | ||
browserText: string; | ||
directory: boolean; | ||
labelClass: any; | ||
noDrop: boolean; | ||
noTraverse: boolean; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: File | File[] | null) => any) | undefined; | ||
}, { | ||
name: string; | ||
id: string; | ||
autofocus: Booleanish; | ||
capture: Booleanish | "user" | "environment"; | ||
disabled: Booleanish; | ||
form: string; | ||
label: string; | ||
accept: string | readonly string[]; | ||
multiple: Booleanish; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
state: Booleanish | null; | ||
modelValue: File | readonly File[] | null; | ||
directory: Booleanish; | ||
labelClass: any; | ||
noDrop: Booleanish; | ||
noTraverse: Booleanish; | ||
}, {}>, Readonly<{ | ||
@@ -107,19 +197,2 @@ label?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -126,0 +199,0 @@ new (): { |
@@ -1,3 +0,4 @@ | ||
import { type PropType } from 'vue'; | ||
import type { AriaInvalid, Booleanish } from '../../types'; | ||
import { AriaInvalid } from '../../types'; | ||
import { PropType } from 'vue'; | ||
export declare const SLOT_NAME_LABEL = "label"; | ||
@@ -8,3 +9,3 @@ export declare const SLOT_NAME_INVALID_FEEDBACK = "invalid-feedback"; | ||
export declare const SLOT_NAME_DEFAULT = "default"; | ||
declare const _default: import("vue").DefineComponent<{ | ||
declare const _default: import('vue').DefineComponent<{ | ||
ariaInvalid: { | ||
@@ -39,3 +40,3 @@ type: PropType<AriaInvalid>; | ||
disabled: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -112,11 +113,11 @@ }; | ||
labelSrOnly: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: PropType<Booleanish | null>; | ||
type: PropType<boolean | null>; | ||
default: null; | ||
}; | ||
tooltip: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -129,25 +130,19 @@ }; | ||
validated: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
floating: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}, { | ||
disabledBoolean: import("vue").ComputedRef<boolean>; | ||
labelSrOnlyBoolean: import("vue").ComputedRef<boolean>; | ||
stateBoolean: import("vue").ComputedRef<boolean | null>; | ||
tooltipBoolean: import("vue").ComputedRef<boolean>; | ||
validatedBoolean: import("vue").ComputedRef<boolean>; | ||
floatingBoolean: import("vue").ComputedRef<boolean>; | ||
ariaDescribedby: string | null; | ||
computedAriaInvalid: import("vue").ComputedRef<"true" | "false" | "grammar" | "spelling" | undefined>; | ||
contentColProps: import("vue").ComputedRef<any>; | ||
isHorizontal: import("vue").ComputedRef<boolean>; | ||
labelAlignClasses: import("vue").ComputedRef<string[]>; | ||
labelColProps: import("vue").ComputedRef<any>; | ||
computedAriaInvalid: import('vue').ComputedRef<"grammar" | "spelling" | "true" | "false" | undefined>; | ||
contentColProps: import('vue').ComputedRef<any>; | ||
isHorizontal: import('vue').ComputedRef<boolean>; | ||
labelAlignClasses: import('vue').ComputedRef<string[]>; | ||
labelColProps: import('vue').ComputedRef<any>; | ||
onLegendClick: (event: Readonly<MouseEvent>) => void; | ||
stateClass: import("vue").ComputedRef<"is-valid" | "is-invalid" | null>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
stateClass: import('vue').ComputedRef<"is-valid" | "is-invalid" | null>; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
ariaInvalid: { | ||
@@ -182,3 +177,3 @@ type: PropType<AriaInvalid>; | ||
disabled: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -255,11 +250,11 @@ }; | ||
labelSrOnly: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: PropType<Booleanish | null>; | ||
type: PropType<boolean | null>; | ||
default: null; | ||
}; | ||
tooltip: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -272,7 +267,7 @@ }; | ||
validated: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
floating: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -283,9 +278,9 @@ }; | ||
ariaInvalid: AriaInvalid; | ||
disabled: Booleanish; | ||
disabled: boolean; | ||
label: string; | ||
description: string; | ||
state: Booleanish | null; | ||
tooltip: Booleanish; | ||
floating: Booleanish; | ||
validated: Booleanish; | ||
state: boolean | null; | ||
tooltip: boolean; | ||
floating: boolean; | ||
validated: boolean; | ||
labelFor: string; | ||
@@ -311,5 +306,5 @@ labelClass: string | Record<string, any> | unknown[]; | ||
labelSize: string; | ||
labelSrOnly: Booleanish; | ||
labelSrOnly: boolean; | ||
validFeedback: string; | ||
}, {}>; | ||
export default _default; |
@@ -1,8 +0,4 @@ | ||
import type { CommonInputProps, InputType, Numberish } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
max?: Numberish | undefined; | ||
min?: Numberish | undefined; | ||
step?: Numberish | undefined; | ||
type?: InputType | undefined; | ||
} & CommonInputProps>, { | ||
import { BFormInputProps, Numberish } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormInputProps>, { | ||
max: undefined; | ||
@@ -36,12 +32,7 @@ min: undefined; | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLInputElement | null>; | ||
element: import('vue').Ref<HTMLInputElement | null>; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
"update:modelValue": (val: Numberish | null) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
max?: Numberish | undefined; | ||
min?: Numberish | undefined; | ||
step?: Numberish | undefined; | ||
type?: InputType | undefined; | ||
} & CommonInputProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormInputProps>, { | ||
max: undefined; | ||
@@ -76,11 +67,12 @@ min: undefined; | ||
}, { | ||
number: import("../../types").Booleanish; | ||
type: InputType; | ||
number: boolean; | ||
type: import('../../types').InputType; | ||
trim: boolean; | ||
name: string; | ||
id: string; | ||
ariaInvalid: import("../../types").AriaInvalid; | ||
autofocus: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
ariaInvalid: import('../../types').AriaInvalid; | ||
autofocus: boolean; | ||
disabled: boolean; | ||
form: string; | ||
plaintext: import("../../types").Booleanish; | ||
plaintext: boolean; | ||
autocomplete: string; | ||
@@ -91,12 +83,11 @@ list: string; | ||
placeholder: string; | ||
required: import("../../types").Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
step: Numberish; | ||
trim: import("../../types").Booleanish; | ||
state: import("../../types").Booleanish | null; | ||
state: boolean | null; | ||
formatter: (val: string, evt: Event) => string; | ||
lazy: import("../../types").Booleanish; | ||
lazyFormatter: import("../../types").Booleanish; | ||
lazy: boolean; | ||
lazyFormatter: boolean; | ||
modelValue: Numberish | null; | ||
readonly: import("../../types").Booleanish; | ||
readonly: boolean; | ||
debounce: Numberish; | ||
@@ -103,0 +94,0 @@ debounceMaxWait: Numberish; |
@@ -1,100 +0,165 @@ | ||
import type { Booleanish, RadioValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
ariaLabelledby?: string | undefined; | ||
autofocus?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
buttonGroup?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
modelValue?: RadioValue | undefined; | ||
name?: string | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
value?: RadioValue | undefined; | ||
}>, { | ||
ariaLabel: undefined; | ||
ariaLabelledby: undefined; | ||
autofocus: boolean; | ||
button: boolean; | ||
buttonGroup: boolean; | ||
buttonVariant: null; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
inline: boolean; | ||
modelValue: undefined; | ||
name: undefined; | ||
plain: boolean; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
value: boolean; | ||
}>, { | ||
import { RadioValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<RadioValue | undefined>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
button: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
value: { | ||
type: import('vue').PropType<RadioValue>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
buttonGroup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: null; | ||
}; | ||
}, { | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLElement | null>; | ||
element: import('vue').Ref<HTMLElement | null>; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: RadioValue) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaLabel?: string | undefined; | ||
ariaLabelledby?: string | undefined; | ||
autofocus?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
buttonGroup?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
modelValue?: RadioValue | undefined; | ||
name?: string | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
value?: RadioValue | undefined; | ||
}>, { | ||
ariaLabel: undefined; | ||
ariaLabelledby: undefined; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<RadioValue | undefined>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
button: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
value: { | ||
type: import('vue').PropType<RadioValue>; | ||
default: boolean; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaLabelledby: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
buttonGroup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: null; | ||
}; | ||
}>>, { | ||
reverse: boolean; | ||
name: string; | ||
id: string; | ||
ariaLabel: string; | ||
autofocus: boolean; | ||
button: boolean; | ||
buttonGroup: boolean; | ||
buttonVariant: null; | ||
disabled: boolean; | ||
form: undefined; | ||
id: undefined; | ||
inline: boolean; | ||
modelValue: undefined; | ||
name: undefined; | ||
plain: boolean; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
value: boolean; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: RadioValue) => any) | undefined; | ||
}, { | ||
name: string; | ||
id: string; | ||
ariaLabel: string; | ||
autofocus: Booleanish; | ||
button: Booleanish; | ||
disabled: Booleanish; | ||
form: string; | ||
value: RadioValue; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
plain: Booleanish; | ||
state: Booleanish | null; | ||
modelValue: RadioValue; | ||
inline: Booleanish; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
plain: boolean; | ||
state: boolean | null; | ||
inline: boolean; | ||
ariaLabelledby: string; | ||
buttonGroup: Booleanish; | ||
buttonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
buttonGroup: boolean; | ||
buttonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -106,19 +171,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -125,0 +173,0 @@ new (): { |
@@ -1,118 +0,191 @@ | ||
import type { AriaInvalid, Booleanish, RadioOptionRaw, RadioValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
buttons?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
disabledField?: string | undefined; | ||
form?: string | undefined; | ||
htmlField?: string | undefined; | ||
id?: string | undefined; | ||
modelValue?: RadioValue | undefined; | ||
name?: string | undefined; | ||
options?: readonly RadioOptionRaw[] | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
stacked?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
textField?: string | undefined; | ||
validated?: Booleanish | undefined; | ||
valueField?: string | undefined; | ||
}>, { | ||
ariaInvalid: undefined; | ||
autofocus: boolean; | ||
buttonVariant: string; | ||
buttons: boolean; | ||
disabled: boolean; | ||
disabledField: string; | ||
form: undefined; | ||
htmlField: string; | ||
id: undefined; | ||
modelValue: null; | ||
name: undefined; | ||
options: () => never[]; | ||
plain: boolean; | ||
required: boolean; | ||
size: string; | ||
stacked: boolean; | ||
state: null; | ||
textField: string; | ||
validated: boolean; | ||
valueField: string; | ||
}>, { | ||
import { RadioValue } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<RadioValue>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaInvalid: { | ||
type: import('vue').PropType<import('../../types').AriaInvalid>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
options: { | ||
type: import('vue').PropType<readonly import('../../types').RadioOptionRaw[]>; | ||
default: () => never[]; | ||
}; | ||
valueField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
textField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
htmlField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabledField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
buttons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
validated: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
stacked: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, { | ||
blur: () => void; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
input: (value: RadioValue) => void; | ||
"update:modelValue": (value: RadioValue) => void; | ||
change: (value: RadioValue) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
buttonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
buttons?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
disabledField?: string | undefined; | ||
form?: string | undefined; | ||
htmlField?: string | undefined; | ||
id?: string | undefined; | ||
modelValue?: RadioValue | undefined; | ||
name?: string | undefined; | ||
options?: readonly RadioOptionRaw[] | undefined; | ||
plain?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
stacked?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
textField?: string | undefined; | ||
validated?: Booleanish | undefined; | ||
valueField?: string | undefined; | ||
}>, { | ||
ariaInvalid: undefined; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<RadioValue>; | ||
reverse: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaInvalid: { | ||
type: import('vue').PropType<import('../../types').AriaInvalid>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
plain: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
options: { | ||
type: import('vue').PropType<readonly import('../../types').RadioOptionRaw[]>; | ||
default: () => never[]; | ||
}; | ||
valueField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
textField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
htmlField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabledField: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
buttons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
validated: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
stacked: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
reverse: boolean; | ||
name: string; | ||
id: string; | ||
ariaInvalid: import('../../types').AriaInvalid; | ||
autofocus: boolean; | ||
buttonVariant: string; | ||
buttons: boolean; | ||
disabled: boolean; | ||
disabledField: string; | ||
form: undefined; | ||
htmlField: string; | ||
id: undefined; | ||
modelValue: null; | ||
name: undefined; | ||
options: () => never[]; | ||
form: string; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
plain: boolean; | ||
required: boolean; | ||
size: string; | ||
stacked: boolean; | ||
state: null; | ||
textField: string; | ||
validated: boolean; | ||
state: boolean | null; | ||
options: readonly import('../../types').RadioOptionRaw[]; | ||
valueField: string; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: RadioValue) => any) | undefined; | ||
onChange?: ((value: RadioValue) => any) | undefined; | ||
onInput?: ((value: RadioValue) => any) | undefined; | ||
}, { | ||
name: string; | ||
id: string; | ||
ariaInvalid: AriaInvalid; | ||
autofocus: Booleanish; | ||
disabled: Booleanish; | ||
form: string; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
plain: Booleanish; | ||
state: Booleanish | null; | ||
modelValue: RadioValue; | ||
options: readonly RadioOptionRaw[]; | ||
valueField: string; | ||
textField: string; | ||
htmlField: string; | ||
disabledField: string; | ||
buttons: Booleanish; | ||
validated: Booleanish; | ||
buttonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
stacked: Booleanish; | ||
buttons: boolean; | ||
validated: boolean; | ||
buttonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
stacked: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -126,19 +199,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -145,0 +201,0 @@ new (): { |
@@ -1,15 +0,14 @@ | ||
import type { AriaInvalid, Booleanish, Numberish } from '../../types'; | ||
declare const _default: <T = unknown>(__VLS_props: { | ||
declare const _default: <T>(__VLS_props: { | ||
name?: string | undefined; | ||
id?: string | undefined; | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
ariaInvalid?: import('../../types').AriaInvalid | undefined; | ||
autofocus?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
form?: string | undefined; | ||
multiple?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
plain?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
modelValue?: string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null | undefined; | ||
multiple?: boolean | undefined; | ||
required?: boolean | undefined; | ||
size?: keyof import('../../types').BaseSize | undefined; | ||
plain?: boolean | undefined; | ||
state?: boolean | null | undefined; | ||
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined; | ||
options?: readonly unknown[] | undefined; | ||
@@ -22,5 +21,4 @@ valueField?: string | undefined; | ||
labelField?: string | undefined; | ||
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined; | ||
selectSize?: Numberish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { | ||
selectSize?: import('../../types').Numberish | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: { | ||
slots: Readonly<{ | ||
@@ -34,6 +32,6 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
attrs: any; | ||
emit: (evt: "update:modelValue", value: unknown) => void; | ||
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{ | ||
emit: any; | ||
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{ | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLElement | null>; | ||
element: import('vue').Ref<HTMLElement | null>; | ||
focus: () => void; | ||
@@ -44,12 +42,12 @@ }>) => void) | undefined, __VLS_setup?: Promise<{ | ||
id?: string | undefined; | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
ariaInvalid?: import('../../types').AriaInvalid | undefined; | ||
autofocus?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
form?: string | undefined; | ||
multiple?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
plain?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
modelValue?: string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null | undefined; | ||
multiple?: boolean | undefined; | ||
required?: boolean | undefined; | ||
size?: keyof import('../../types').BaseSize | undefined; | ||
plain?: boolean | undefined; | ||
state?: boolean | null | undefined; | ||
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined; | ||
options?: readonly unknown[] | undefined; | ||
@@ -62,8 +60,7 @@ valueField?: string | undefined; | ||
labelField?: string | undefined; | ||
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined; | ||
selectSize?: Numberish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
expose(exposed: import("vue").ShallowUnwrapRef<{ | ||
selectSize?: import('../../types').Numberish | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{ | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLElement | null>; | ||
element: import('vue').Ref<HTMLElement | null>; | ||
focus: () => void; | ||
@@ -79,4 +76,4 @@ }>): void; | ||
}; | ||
emit: (evt: "update:modelValue", value: unknown) => void; | ||
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
emit: any; | ||
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { | ||
[key: string]: any; | ||
@@ -88,12 +85,12 @@ }> & { | ||
id?: string | undefined; | ||
ariaInvalid?: AriaInvalid | undefined; | ||
autofocus?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
ariaInvalid?: import('../../types').AriaInvalid | undefined; | ||
autofocus?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
form?: string | undefined; | ||
multiple?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
plain?: Booleanish | undefined; | ||
state?: Booleanish | null | undefined; | ||
modelValue?: string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null | undefined; | ||
multiple?: boolean | undefined; | ||
required?: boolean | undefined; | ||
size?: keyof import('../../types').BaseSize | undefined; | ||
plain?: boolean | undefined; | ||
state?: boolean | null | undefined; | ||
modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined; | ||
options?: readonly unknown[] | undefined; | ||
@@ -106,8 +103,7 @@ valueField?: string | undefined; | ||
labelField?: string | undefined; | ||
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined; | ||
selectSize?: Numberish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
expose(exposed: import("vue").ShallowUnwrapRef<{ | ||
selectSize?: import('../../types').Numberish | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{ | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLElement | null>; | ||
element: import('vue').Ref<HTMLElement | null>; | ||
focus: () => void; | ||
@@ -123,3 +119,3 @@ }>): void; | ||
}; | ||
emit: (evt: "update:modelValue", value: unknown) => void; | ||
emit: any; | ||
} | undefined; | ||
@@ -126,0 +122,0 @@ }; |
@@ -1,6 +0,5 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: <T>(__VLS_props: { | ||
disabled?: Booleanish | undefined; | ||
disabled?: boolean | undefined; | ||
value?: T | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: { | ||
slots: Readonly<{ | ||
@@ -15,5 +14,5 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
props: { | ||
disabled?: Booleanish | undefined; | ||
disabled?: boolean | undefined; | ||
value?: T | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -27,3 +26,3 @@ attrs: any; | ||
emit: any; | ||
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { | ||
[key: string]: any; | ||
@@ -33,5 +32,5 @@ }> & { | ||
props: { | ||
disabled?: Booleanish | undefined; | ||
disabled?: boolean | undefined; | ||
value?: T | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -38,0 +37,0 @@ attrs: any; |
@@ -1,2 +0,2 @@ | ||
declare const _default: <T = unknown>(__VLS_props: { | ||
declare const _default: <T>(__VLS_props: { | ||
label?: string | undefined; | ||
@@ -8,3 +8,3 @@ options?: readonly unknown[] | undefined; | ||
disabledField?: string | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: { | ||
slots: Readonly<{ | ||
@@ -27,3 +27,3 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
disabledField?: string | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -39,3 +39,3 @@ attrs: any; | ||
emit: any; | ||
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { | ||
[key: string]: any; | ||
@@ -51,3 +51,3 @@ }> & { | ||
disabledField?: string | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -54,0 +54,0 @@ attrs: any; |
@@ -1,115 +0,208 @@ | ||
import type { Booleanish, Numberish, Size } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaControls?: string | undefined; | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
formatterFn?: ((value: number) => string) | undefined; | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
labelDecrement?: string | undefined; | ||
labelIncrement?: string | undefined; | ||
locale?: string | undefined; | ||
max?: Numberish | undefined; | ||
min?: Numberish | undefined; | ||
modelValue?: number | null | undefined; | ||
name?: string | undefined; | ||
placeholder?: string | undefined; | ||
readonly?: Booleanish | undefined; | ||
repeatDelay?: Numberish | undefined; | ||
repeatInterval?: Numberish | undefined; | ||
repeatStepMultiplier?: Numberish | undefined; | ||
repeatThreshold?: Numberish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
step?: Numberish | undefined; | ||
vertical?: Booleanish | undefined; | ||
wrap?: Booleanish | undefined; | ||
}>, { | ||
ariaControls: undefined; | ||
ariaLabel: undefined; | ||
disabled: boolean; | ||
form: undefined; | ||
formatterFn: undefined; | ||
id: undefined; | ||
inline: boolean; | ||
labelDecrement: string; | ||
labelIncrement: string; | ||
locale: undefined; | ||
max: 100; | ||
min: 1; | ||
modelValue: null; | ||
name: undefined; | ||
placeholder: undefined; | ||
readonly: boolean; | ||
repeatDelay: 500; | ||
repeatInterval: 100; | ||
repeatStepMultiplier: 4; | ||
repeatThreshold: 10; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
step: 1; | ||
vertical: boolean; | ||
wrap: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: number | null) => void; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number | null>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
max: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 100; | ||
}; | ||
min: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 1; | ||
}; | ||
placeholder: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
step: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 1; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
readonly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
wrap: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
vertical: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaControls: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
formatterFn: { | ||
type: import('vue').PropType<(value: number) => string>; | ||
default: undefined; | ||
}; | ||
labelDecrement: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelIncrement: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
locale: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
repeatDelay: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 500; | ||
}; | ||
repeatInterval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 100; | ||
}; | ||
repeatStepMultiplier: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 4; | ||
}; | ||
repeatThreshold: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 10; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
change: (value: number | null) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
ariaControls?: string | undefined; | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
form?: string | undefined; | ||
formatterFn?: ((value: number) => string) | undefined; | ||
id?: string | undefined; | ||
inline?: Booleanish | undefined; | ||
labelDecrement?: string | undefined; | ||
labelIncrement?: string | undefined; | ||
locale?: string | undefined; | ||
max?: Numberish | undefined; | ||
min?: Numberish | undefined; | ||
modelValue?: number | null | undefined; | ||
name?: string | undefined; | ||
placeholder?: string | undefined; | ||
readonly?: Booleanish | undefined; | ||
repeatDelay?: Numberish | undefined; | ||
repeatInterval?: Numberish | undefined; | ||
repeatStepMultiplier?: Numberish | undefined; | ||
repeatThreshold?: Numberish | undefined; | ||
required?: Booleanish | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
step?: Numberish | undefined; | ||
vertical?: Booleanish | undefined; | ||
wrap?: Booleanish | undefined; | ||
}>, { | ||
ariaControls: undefined; | ||
ariaLabel: undefined; | ||
disabled: boolean; | ||
form: undefined; | ||
formatterFn: undefined; | ||
id: undefined; | ||
inline: boolean; | ||
labelDecrement: string; | ||
labelIncrement: string; | ||
locale: undefined; | ||
max: 100; | ||
min: 1; | ||
modelValue: null; | ||
name: undefined; | ||
placeholder: undefined; | ||
readonly: boolean; | ||
repeatDelay: 500; | ||
repeatInterval: 100; | ||
repeatStepMultiplier: 4; | ||
repeatThreshold: 10; | ||
required: boolean; | ||
size: undefined; | ||
state: null; | ||
step: 1; | ||
vertical: boolean; | ||
wrap: boolean; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number | null>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
max: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 100; | ||
}; | ||
min: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 1; | ||
}; | ||
placeholder: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
step: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 1; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
readonly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
wrap: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
vertical: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ariaControls: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
formatterFn: { | ||
type: import('vue').PropType<(value: number) => string>; | ||
default: undefined; | ||
}; | ||
labelDecrement: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelIncrement: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
locale: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
repeatDelay: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 500; | ||
}; | ||
repeatInterval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 100; | ||
}; | ||
repeatStepMultiplier: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 4; | ||
}; | ||
repeatThreshold: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: 10; | ||
}; | ||
}>> & { | ||
onChange?: ((value: number | null) => any) | undefined; | ||
@@ -120,16 +213,15 @@ }, { | ||
ariaLabel: string; | ||
disabled: Booleanish; | ||
disabled: boolean; | ||
form: string; | ||
max: Numberish; | ||
min: Numberish; | ||
max: import('../../types').Numberish; | ||
min: import('../../types').Numberish; | ||
placeholder: string; | ||
required: Booleanish; | ||
size: Size; | ||
step: Numberish; | ||
state: Booleanish | null; | ||
modelValue: number | null; | ||
readonly: Booleanish; | ||
inline: Booleanish; | ||
wrap: Booleanish; | ||
vertical: Booleanish; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
step: import('../../types').Numberish; | ||
state: boolean | null; | ||
readonly: boolean; | ||
inline: boolean; | ||
wrap: boolean; | ||
vertical: boolean; | ||
ariaControls: string; | ||
@@ -140,6 +232,6 @@ formatterFn: (value: number) => string; | ||
locale: string; | ||
repeatDelay: Numberish; | ||
repeatInterval: Numberish; | ||
repeatStepMultiplier: Numberish; | ||
repeatThreshold: Numberish; | ||
repeatDelay: import('../../types').Numberish; | ||
repeatInterval: import('../../types').Numberish; | ||
repeatStepMultiplier: import('../../types').Numberish; | ||
repeatThreshold: import('../../types').Numberish; | ||
}, {}>, Readonly<{ | ||
@@ -161,19 +253,2 @@ decrement?: ((props: { | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -180,0 +255,0 @@ new (): { |
@@ -1,12 +0,4 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
disabled?: Booleanish | undefined; | ||
id?: string | undefined; | ||
noRemove?: Booleanish | undefined; | ||
pill?: Booleanish | undefined; | ||
removeLabel?: string | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BFormTagProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTagProps>, { | ||
disabled: boolean; | ||
@@ -20,14 +12,5 @@ id: undefined; | ||
variant: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
remove: (value: string) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
disabled?: Booleanish | undefined; | ||
id?: string | undefined; | ||
noRemove?: Booleanish | undefined; | ||
pill?: Booleanish | undefined; | ||
removeLabel?: string | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTagProps>, { | ||
disabled: boolean; | ||
@@ -47,6 +30,6 @@ id: undefined; | ||
id: string; | ||
disabled: Booleanish; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
pill: Booleanish; | ||
noRemove: Booleanish; | ||
disabled: boolean; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
pill: boolean; | ||
noRemove: boolean; | ||
removeLabel: string; | ||
@@ -53,0 +36,0 @@ }, {}>, Readonly<{ |
@@ -1,144 +0,256 @@ | ||
import type { AttrsValue, Booleanish, InputType, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
addButtonText?: string | undefined; | ||
addButtonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
addOnChange?: Booleanish | undefined; | ||
autofocus?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
duplicateTagText?: string | undefined; | ||
form?: string | undefined; | ||
inputAttrs?: Readonly<AttrsValue> | undefined; | ||
inputClass?: any; | ||
inputId?: string | undefined; | ||
inputType?: InputType | undefined; | ||
invalidTagText?: string | undefined; | ||
limit?: Numberish | undefined; | ||
limitTagsText?: string | undefined; | ||
modelValue?: readonly string[] | undefined; | ||
name?: string | undefined; | ||
noAddOnEnter?: Booleanish | undefined; | ||
noOuterFocus?: Booleanish | undefined; | ||
noTagRemove?: Booleanish | undefined; | ||
placeholder?: string | undefined; | ||
removeOnDelete?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
separator?: string | readonly string[] | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
tagClass?: any; | ||
tagPills?: Booleanish | undefined; | ||
tagRemoveLabel?: string | undefined; | ||
tagRemovedLabel?: string | undefined; | ||
tagValidator?: ((t: string) => boolean) | undefined; | ||
tagVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
addButtonText: string; | ||
addButtonVariant: string; | ||
addOnChange: boolean; | ||
autofocus: boolean; | ||
disabled: boolean; | ||
duplicateTagText: string; | ||
form: undefined; | ||
inputAttrs: undefined; | ||
inputClass: undefined; | ||
inputId: undefined; | ||
inputType: string; | ||
invalidTagText: string; | ||
limit: undefined; | ||
limitTagsText: string; | ||
modelValue: () => never[]; | ||
name: undefined; | ||
noAddOnEnter: boolean; | ||
noOuterFocus: boolean; | ||
noTagRemove: boolean; | ||
placeholder: string; | ||
removeOnDelete: boolean; | ||
required: boolean; | ||
separator: undefined; | ||
size: string; | ||
state: null; | ||
tagClass: undefined; | ||
tagPills: boolean; | ||
tagRemoveLabel: undefined; | ||
tagRemovedLabel: string; | ||
tagValidator: () => true; | ||
tagVariant: string; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<string[]>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
placeholder: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
separator: { | ||
type: import('vue').PropType<string | readonly string[]>; | ||
default: undefined; | ||
}; | ||
addButtonText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
addButtonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
addOnChange: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
duplicateTagText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
inputAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
inputClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inputId: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
inputType: { | ||
type: import('vue').PropType<import('../../types').InputType>; | ||
default: string; | ||
}; | ||
invalidTagText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
limit: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: undefined; | ||
}; | ||
limitTagsText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
noAddOnEnter: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noOuterFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTagRemove: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
removeOnDelete: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tagClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
tagPills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tagRemoveLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
tagRemovedLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
tagValidator: { | ||
type: import('vue').PropType<(t: string) => boolean>; | ||
default: () => true; | ||
}; | ||
tagVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: string; | ||
}; | ||
}, { | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLInputElement | null>; | ||
element: import('vue').Ref<HTMLInputElement | null>; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
blur: (value: FocusEvent) => void; | ||
focus: (value: FocusEvent) => void; | ||
input: (value: string[]) => void; | ||
"update:modelValue": (value: string[]) => void; | ||
focusin: (value: FocusEvent) => void; | ||
focusout: (value: FocusEvent) => void; | ||
"tag-state": (...args: string[][]) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
addButtonText?: string | undefined; | ||
addButtonVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
addOnChange?: Booleanish | undefined; | ||
autofocus?: Booleanish | undefined; | ||
disabled?: Booleanish | undefined; | ||
duplicateTagText?: string | undefined; | ||
form?: string | undefined; | ||
inputAttrs?: Readonly<AttrsValue> | undefined; | ||
inputClass?: any; | ||
inputId?: string | undefined; | ||
inputType?: InputType | undefined; | ||
invalidTagText?: string | undefined; | ||
limit?: Numberish | undefined; | ||
limitTagsText?: string | undefined; | ||
modelValue?: readonly string[] | undefined; | ||
name?: string | undefined; | ||
noAddOnEnter?: Booleanish | undefined; | ||
noOuterFocus?: Booleanish | undefined; | ||
noTagRemove?: Booleanish | undefined; | ||
placeholder?: string | undefined; | ||
removeOnDelete?: Booleanish | undefined; | ||
required?: Booleanish | undefined; | ||
separator?: string | readonly string[] | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
state?: Booleanish | null | undefined; | ||
tagClass?: any; | ||
tagPills?: Booleanish | undefined; | ||
tagRemoveLabel?: string | undefined; | ||
tagRemovedLabel?: string | undefined; | ||
tagValidator?: ((t: string) => boolean) | undefined; | ||
tagVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
addButtonText: string; | ||
addButtonVariant: string; | ||
addOnChange: boolean; | ||
autofocus: boolean; | ||
disabled: boolean; | ||
duplicateTagText: string; | ||
form: undefined; | ||
inputAttrs: undefined; | ||
inputClass: undefined; | ||
inputId: undefined; | ||
inputType: string; | ||
invalidTagText: string; | ||
limit: undefined; | ||
limitTagsText: string; | ||
modelValue: () => never[]; | ||
name: undefined; | ||
noAddOnEnter: boolean; | ||
noOuterFocus: boolean; | ||
noTagRemove: boolean; | ||
placeholder: string; | ||
removeOnDelete: boolean; | ||
required: boolean; | ||
separator: undefined; | ||
size: string; | ||
state: null; | ||
tagClass: undefined; | ||
tagPills: boolean; | ||
tagRemoveLabel: undefined; | ||
tagRemovedLabel: string; | ||
tagValidator: () => true; | ||
tagVariant: string; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<string[]>; | ||
name: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
autofocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
form: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
placeholder: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
required: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
state: { | ||
type: import('vue').PropType<boolean | null>; | ||
default: null; | ||
}; | ||
separator: { | ||
type: import('vue').PropType<string | readonly string[]>; | ||
default: undefined; | ||
}; | ||
addButtonText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
addButtonVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
addOnChange: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
duplicateTagText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
inputAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
inputClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inputId: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
inputType: { | ||
type: import('vue').PropType<import('../../types').InputType>; | ||
default: string; | ||
}; | ||
invalidTagText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
limit: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: undefined; | ||
}; | ||
limitTagsText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
noAddOnEnter: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noOuterFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noTagRemove: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
removeOnDelete: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tagClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
tagPills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tagRemoveLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
tagRemovedLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
tagValidator: { | ||
type: import('vue').PropType<(t: string) => boolean>; | ||
default: () => true; | ||
}; | ||
tagVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: string; | ||
}; | ||
}>> & { | ||
onFocus?: ((value: FocusEvent) => any) | undefined; | ||
@@ -148,36 +260,34 @@ onFocusin?: ((value: FocusEvent) => any) | undefined; | ||
onBlur?: ((value: FocusEvent) => any) | undefined; | ||
onInput?: ((value: string[]) => any) | undefined; | ||
"onTag-state"?: ((...args: string[][]) => any) | undefined; | ||
}, { | ||
name: string; | ||
autofocus: Booleanish; | ||
disabled: Booleanish; | ||
autofocus: boolean; | ||
disabled: boolean; | ||
form: string; | ||
placeholder: string; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
state: Booleanish | null; | ||
modelValue: readonly string[]; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
state: boolean | null; | ||
separator: string | readonly string[]; | ||
addButtonText: string; | ||
addButtonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
addOnChange: Booleanish; | ||
addButtonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
addOnChange: boolean; | ||
duplicateTagText: string; | ||
inputAttrs: Readonly<AttrsValue>; | ||
inputAttrs: Readonly<import('../../types').AttrsValue>; | ||
inputClass: any; | ||
inputId: string; | ||
inputType: InputType; | ||
inputType: import('../../types').InputType; | ||
invalidTagText: string; | ||
limit: Numberish; | ||
limit: import('../../types').Numberish; | ||
limitTagsText: string; | ||
noAddOnEnter: Booleanish; | ||
noOuterFocus: Booleanish; | ||
noTagRemove: Booleanish; | ||
removeOnDelete: Booleanish; | ||
noAddOnEnter: boolean; | ||
noOuterFocus: boolean; | ||
noTagRemove: boolean; | ||
removeOnDelete: boolean; | ||
tagClass: any; | ||
tagPills: Booleanish; | ||
tagPills: boolean; | ||
tagRemoveLabel: string; | ||
tagRemovedLabel: string; | ||
tagValidator: (t: string) => boolean; | ||
tagVariant: keyof import("../../types").BaseColorVariant | null; | ||
tagVariant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -187,3 +297,3 @@ 'add-button-text'?: ((props: Record<string, never>) => any) | undefined; | ||
addButtonText: string; | ||
addButtonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
addButtonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
addTag: (tag?: string | undefined) => void; | ||
@@ -198,4 +308,4 @@ disableAddButton: boolean; | ||
form: string | undefined; | ||
id: Readonly<import("vue").Ref<string>>; | ||
value: import("vue").Ref<string>; | ||
id: Readonly<import('vue').Ref<string>>; | ||
value: import('vue').Ref<string>; | ||
}; | ||
@@ -207,4 +317,4 @@ inputHandlers: { | ||
}; | ||
inputId: Readonly<import("vue").Ref<string>>; | ||
inputType: InputType; | ||
inputId: Readonly<import('vue').Ref<string>>; | ||
inputType: import('../../types').InputType; | ||
invalidTagText: string; | ||
@@ -222,3 +332,3 @@ invalidTags: string[]; | ||
separator: string | readonly string[] | undefined; | ||
size: keyof import("../../types").BaseSize; | ||
size: keyof import('../../types').BaseSize; | ||
state: boolean | null; | ||
@@ -228,3 +338,3 @@ tagClass: any; | ||
tagRemoveLabel: string | undefined; | ||
tagVariant: keyof import("../../types").BaseColorVariant | null; | ||
tagVariant: keyof import('../../types').BaseColorVariant | null; | ||
tags: string[]; | ||
@@ -235,3 +345,3 @@ }) => any) | undefined; | ||
tagClass: any; | ||
tagVariant: keyof import("../../types").BaseColorVariant | null; | ||
tagVariant: keyof import('../../types').BaseColorVariant | null; | ||
tagPills: boolean; | ||
@@ -244,3 +354,3 @@ removeTag: (tag?: string | undefined) => void; | ||
addButtonText: string; | ||
addButtonVariant: keyof import("../../types").BaseButtonVariant | null; | ||
addButtonVariant: keyof import('../../types').BaseButtonVariant | null; | ||
addTag: (tag?: string | undefined) => void; | ||
@@ -255,4 +365,4 @@ disableAddButton: boolean; | ||
form: string | undefined; | ||
id: Readonly<import("vue").Ref<string>>; | ||
value: import("vue").Ref<string>; | ||
id: Readonly<import('vue').Ref<string>>; | ||
value: import('vue').Ref<string>; | ||
}; | ||
@@ -264,4 +374,4 @@ inputHandlers: { | ||
}; | ||
inputId: Readonly<import("vue").Ref<string>>; | ||
inputType: InputType; | ||
inputId: Readonly<import('vue').Ref<string>>; | ||
inputType: import('../../types').InputType; | ||
invalidTagText: string; | ||
@@ -279,3 +389,3 @@ invalidTags: string[]; | ||
separator: string | readonly string[] | undefined; | ||
size: keyof import("../../types").BaseSize; | ||
size: keyof import('../../types').BaseSize; | ||
state: boolean | null; | ||
@@ -285,3 +395,3 @@ tagClass: any; | ||
tagRemoveLabel: string | undefined; | ||
tagVariant: keyof import("../../types").BaseColorVariant | null; | ||
tagVariant: keyof import('../../types').BaseColorVariant | null; | ||
tags: string[]; | ||
@@ -292,3 +402,3 @@ }) => any) | undefined; | ||
tagClass: any; | ||
tagVariant: keyof import("../../types").BaseColorVariant | null; | ||
tagVariant: keyof import('../../types').BaseColorVariant | null; | ||
tagPills: boolean; | ||
@@ -299,19 +409,2 @@ removeTag: (tag?: string | undefined) => void; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -318,0 +411,0 @@ new (): { |
@@ -1,7 +0,4 @@ | ||
import type { Booleanish, CommonInputProps, Numberish } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
noResize?: Booleanish | undefined; | ||
rows?: Numberish | undefined; | ||
wrap?: string | undefined; | ||
} & CommonInputProps>, { | ||
import { BFormTextareaProps, Numberish } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTextareaProps>, { | ||
ariaInvalid: undefined; | ||
@@ -34,11 +31,7 @@ autocomplete: undefined; | ||
blur: () => void; | ||
element: import("vue").Ref<HTMLInputElement | null>; | ||
element: import('vue').Ref<HTMLInputElement | null>; | ||
focus: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
"update:modelValue": (val: Numberish | null) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
noResize?: Booleanish | undefined; | ||
rows?: Numberish | undefined; | ||
wrap?: string | undefined; | ||
} & CommonInputProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BFormTextareaProps>, { | ||
ariaInvalid: undefined; | ||
@@ -72,26 +65,26 @@ autocomplete: undefined; | ||
}, { | ||
number: Booleanish; | ||
number: boolean; | ||
trim: boolean; | ||
name: string; | ||
id: string; | ||
ariaInvalid: import("../../types").AriaInvalid; | ||
autofocus: Booleanish; | ||
disabled: Booleanish; | ||
ariaInvalid: import('../../types').AriaInvalid; | ||
autofocus: boolean; | ||
disabled: boolean; | ||
form: string; | ||
plaintext: Booleanish; | ||
plaintext: boolean; | ||
autocomplete: string; | ||
list: string; | ||
placeholder: string; | ||
required: Booleanish; | ||
size: keyof import("../../types").BaseSize; | ||
trim: Booleanish; | ||
state: Booleanish | null; | ||
required: boolean; | ||
size: keyof import('../../types').BaseSize; | ||
state: boolean | null; | ||
formatter: (val: string, evt: Event) => string; | ||
lazy: Booleanish; | ||
lazyFormatter: Booleanish; | ||
lazy: boolean; | ||
lazyFormatter: boolean; | ||
modelValue: Numberish | null; | ||
readonly: Booleanish; | ||
readonly: boolean; | ||
debounce: Numberish; | ||
debounceMaxWait: Numberish; | ||
wrap: string; | ||
noResize: Booleanish; | ||
noResize: boolean; | ||
rows: Numberish; | ||
@@ -98,0 +91,0 @@ }, {}>; |
@@ -1,3 +0,4 @@ | ||
import type { BImgProps } from '../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BImgProps>, { | ||
import { BImgProps } from '../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BImgProps>, { | ||
blank: boolean; | ||
@@ -23,3 +24,3 @@ blankColor: string; | ||
roundedTop: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BImgProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BImgProps>, { | ||
blank: boolean; | ||
@@ -46,22 +47,22 @@ blankColor: string; | ||
}>>>, { | ||
fluid: import("../types").Booleanish; | ||
start: import("../types").Booleanish; | ||
end: import("../types").Booleanish; | ||
center: import("../types").Booleanish; | ||
fluid: boolean; | ||
start: boolean; | ||
end: boolean; | ||
center: boolean; | ||
src: string; | ||
srcset: string | readonly string[]; | ||
width: import("../types").Numberish; | ||
height: import("../types").Numberish; | ||
lazy: import("../types").Booleanish; | ||
rounded: import("../types").Booleanish | import("../types").RadiusElement; | ||
roundedTop: import("../types").Booleanish | import("../types").RadiusElement; | ||
roundedBottom: import("../types").Booleanish | import("../types").RadiusElement; | ||
roundedStart: import("../types").Booleanish | import("../types").RadiusElement; | ||
roundedEnd: import("../types").Booleanish | import("../types").RadiusElement; | ||
block: import("../types").Booleanish; | ||
blank: import("../types").Booleanish; | ||
width: import('../types').Numberish; | ||
height: import('../types').Numberish; | ||
lazy: boolean; | ||
block: boolean; | ||
rounded: boolean | import('../types').RadiusElement; | ||
roundedTop: boolean | import('../types').RadiusElement; | ||
roundedBottom: boolean | import('../types').RadiusElement; | ||
roundedStart: boolean | import('../types').RadiusElement; | ||
roundedEnd: boolean | import('../types').RadiusElement; | ||
blank: boolean; | ||
blankColor: string; | ||
fluidGrow: import("../types").Booleanish; | ||
fluidGrow: boolean; | ||
sizes: string | readonly string[]; | ||
thumbnail: import("../types").Booleanish; | ||
thumbnail: boolean; | ||
}, {}>; | ||
@@ -68,0 +69,0 @@ export default _default; |
@@ -1,10 +0,4 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
append?: string | undefined; | ||
appendHtml?: string | undefined; | ||
id?: string | undefined; | ||
prepend?: string | undefined; | ||
prependHtml?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
import { BInputGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupProps>, { | ||
append: undefined; | ||
@@ -17,11 +11,3 @@ appendHtml: undefined; | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
append?: string | undefined; | ||
appendHtml?: string | undefined; | ||
id?: string | undefined; | ||
prepend?: string | undefined; | ||
prependHtml?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupProps>, { | ||
append: undefined; | ||
@@ -39,3 +25,3 @@ appendHtml: undefined; | ||
prepend: string; | ||
size: keyof import("../../types").BaseSize; | ||
size: keyof import('../../types').BaseSize; | ||
appendHtml: string; | ||
@@ -42,0 +28,0 @@ prependHtml: string; |
@@ -1,8 +0,9 @@ | ||
import type { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
import { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>>>, { | ||
isText: import("../../types").Booleanish; | ||
isText: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -9,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,8 +0,9 @@ | ||
import type { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
import { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>>>, { | ||
isText: import("../../types").Booleanish; | ||
isText: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -9,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,8 +0,9 @@ | ||
import type { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
import { BInputGroupAddonProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupAddonProps>, { | ||
isText: boolean; | ||
}>>>, { | ||
isText: import("../../types").Booleanish; | ||
isText: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -9,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,11 +0,7 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
import { BInputGroupTextProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupTextProps>, { | ||
tag: string; | ||
text: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BInputGroupTextProps>, { | ||
tag: string; | ||
@@ -12,0 +8,0 @@ text: undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BLinkProps>, { | ||
import { BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BLinkProps>, { | ||
active: undefined; | ||
@@ -24,5 +25,5 @@ activeClass: string; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BLinkProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BLinkProps>, { | ||
active: undefined; | ||
@@ -52,21 +53,21 @@ activeClass: string; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
routerTag: string; | ||
@@ -73,0 +74,0 @@ exactActiveClass: string; |
@@ -1,8 +0,4 @@ | ||
import type { Booleanish, Breakpoint } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
flush?: Booleanish | undefined; | ||
horizontal?: Booleanish | Breakpoint | undefined; | ||
numbered?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
import { BListGroupProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BListGroupProps>, { | ||
flush: boolean; | ||
@@ -12,8 +8,3 @@ horizontal: boolean; | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
flush?: Booleanish | undefined; | ||
horizontal?: Booleanish | Breakpoint | undefined; | ||
numbered?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BListGroupProps>, { | ||
flush: boolean; | ||
@@ -25,5 +16,5 @@ horizontal: boolean; | ||
tag: string; | ||
flush: Booleanish; | ||
horizontal: Booleanish | Breakpoint; | ||
numbered: Booleanish; | ||
flush: boolean; | ||
horizontal: boolean | import('../../types').Breakpoint; | ||
numbered: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -30,0 +21,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,7 +0,4 @@ | ||
import type { BLinkProps, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
action?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
import { BListGroupItemProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BListGroupItemProps>, { | ||
action: boolean; | ||
@@ -30,7 +27,3 @@ button: boolean; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
action?: Booleanish | undefined; | ||
button?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BListGroupItemProps>, { | ||
action: boolean; | ||
@@ -61,24 +54,24 @@ button: boolean; | ||
tag: string; | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: Booleanish; | ||
button: Booleanish; | ||
disabled: Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
button: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
action: Booleanish; | ||
action: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -85,0 +78,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,3 @@ | ||
import type { BModalProps } from '../../types'; | ||
import { BvTriggerableEvent } from '../../utils'; | ||
type SharedSlotsData = { | ||
@@ -10,66 +10,231 @@ cancel: () => void; | ||
}; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BModalProps>, { | ||
autoFocus: boolean; | ||
autoFocusButton: undefined; | ||
backdropVariant: undefined; | ||
body: undefined; | ||
bodyBgVariant: null; | ||
bodyClass: undefined; | ||
bodyScrolling: boolean; | ||
bodyTextVariant: null; | ||
bodyVariant: null; | ||
busy: boolean; | ||
buttonSize: string; | ||
cancelDisabled: boolean; | ||
cancelTitle: string; | ||
cancelVariant: string; | ||
centered: boolean; | ||
contentClass: undefined; | ||
dialogClass: undefined; | ||
footerBgVariant: null; | ||
footerBorderVariant: null; | ||
footerClass: undefined; | ||
footerTextVariant: null; | ||
footerVariant: null; | ||
fullscreen: boolean; | ||
headerBgVariant: null; | ||
headerBorderVariant: null; | ||
headerClass: undefined; | ||
headerCloseClass: undefined; | ||
headerCloseLabel: string; | ||
headerCloseVariant: string; | ||
headerTextVariant: null; | ||
headerVariant: null; | ||
hideBackdrop: boolean; | ||
hideFooter: boolean; | ||
hideHeader: boolean; | ||
hideHeaderClose: boolean; | ||
id: undefined; | ||
lazy: boolean; | ||
modalClass: undefined; | ||
modelValue: boolean; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
noFade: boolean; | ||
okDisabled: boolean; | ||
okOnly: boolean; | ||
okTitle: string; | ||
okVariant: string; | ||
scrollable: boolean; | ||
size: string; | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
title: undefined; | ||
titleClass: undefined; | ||
titleSrOnly: boolean; | ||
titleTag: string; | ||
transProps: undefined; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
body: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<"xl" | keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: string; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: null; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
transProps: { | ||
type: import('vue').PropType<Readonly<import('../../types').BTransitionProps>>; | ||
default: undefined; | ||
}; | ||
autoFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoFocusButton: { | ||
type: import('vue').PropType<"close" | "cancel" | "ok">; | ||
default: undefined; | ||
}; | ||
backdropVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
bodyBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
bodyScrolling: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
bodyTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
bodyVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
busy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonSize: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
cancelDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
cancelTitle: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
cancelVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
centered: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
contentClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
dialogClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
footerBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
footerBorderVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
footerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
footerTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
footerVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
fullscreen: { | ||
type: import('vue').PropType<boolean | import('../../types').Breakpoint>; | ||
default: boolean; | ||
}; | ||
headerBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
headerBorderVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
headerCloseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerCloseLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
headerCloseVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
headerTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
headerVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
hideBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideFooter: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideHeader: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideHeaderClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
modalClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCloseOnBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseOnEsc: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okOnly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okTitle: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
okVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
scrollable: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
titleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
titleSrOnly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
titleTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}, { | ||
hide: (trigger?: string) => void; | ||
id: import("vue").ComputedRef<string>; | ||
id: import('vue').ComputedRef<string>; | ||
show: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: (value: BvTriggerableEvent) => void; | ||
close: (value: BvTriggerableEvent) => void; | ||
"update:modelValue": (value: boolean) => void; | ||
cancel: (value: BvTriggerableEvent) => void; | ||
@@ -82,61 +247,226 @@ show: (value: BvTriggerableEvent) => void; | ||
ok: (value: BvTriggerableEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BModalProps>, { | ||
autoFocus: boolean; | ||
autoFocusButton: undefined; | ||
backdropVariant: undefined; | ||
body: undefined; | ||
bodyBgVariant: null; | ||
bodyClass: undefined; | ||
bodyScrolling: boolean; | ||
bodyTextVariant: null; | ||
bodyVariant: null; | ||
busy: boolean; | ||
buttonSize: string; | ||
cancelDisabled: boolean; | ||
cancelTitle: string; | ||
cancelVariant: string; | ||
centered: boolean; | ||
contentClass: undefined; | ||
dialogClass: undefined; | ||
footerBgVariant: null; | ||
footerBorderVariant: null; | ||
footerClass: undefined; | ||
footerTextVariant: null; | ||
footerVariant: null; | ||
fullscreen: boolean; | ||
headerBgVariant: null; | ||
headerBorderVariant: null; | ||
headerClass: undefined; | ||
headerCloseClass: undefined; | ||
headerCloseLabel: string; | ||
headerCloseVariant: string; | ||
headerTextVariant: null; | ||
headerVariant: null; | ||
hideBackdrop: boolean; | ||
hideFooter: boolean; | ||
hideHeader: boolean; | ||
hideHeaderClose: boolean; | ||
id: undefined; | ||
lazy: boolean; | ||
modalClass: undefined; | ||
modelValue: boolean; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
noFade: boolean; | ||
okDisabled: boolean; | ||
okOnly: boolean; | ||
okTitle: string; | ||
okVariant: string; | ||
scrollable: boolean; | ||
size: string; | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
title: undefined; | ||
titleClass: undefined; | ||
titleSrOnly: boolean; | ||
titleTag: string; | ||
transProps: undefined; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
body: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<"xl" | keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: string; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: null; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
transProps: { | ||
type: import('vue').PropType<Readonly<import('../../types').BTransitionProps>>; | ||
default: undefined; | ||
}; | ||
autoFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoFocusButton: { | ||
type: import('vue').PropType<"close" | "cancel" | "ok">; | ||
default: undefined; | ||
}; | ||
backdropVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
bodyBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
bodyScrolling: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
bodyTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
bodyVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
busy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonSize: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
cancelDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
cancelTitle: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
cancelVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
centered: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
contentClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
dialogClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
footerBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
footerBorderVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
footerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
footerTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
footerVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
fullscreen: { | ||
type: import('vue').PropType<boolean | import('../../types').Breakpoint>; | ||
default: boolean; | ||
}; | ||
headerBgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
headerBorderVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
headerCloseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerCloseLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
headerCloseVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
headerTextVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
headerVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
hideBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideFooter: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideHeader: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideHeaderClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
modalClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCloseOnBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseOnEsc: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okOnly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
okTitle: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
okVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
scrollable: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
titleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
titleSrOnly: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
titleTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}>> & { | ||
onHidden?: ((value: BvTriggerableEvent) => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -154,53 +484,53 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
body: string; | ||
size: "xl" | keyof import("../../types").BaseSize; | ||
lazy: import("../../types").Booleanish; | ||
modelValue: import("../../types").Booleanish; | ||
noFade: import("../../types").Booleanish; | ||
size: "xl" | keyof import('../../types').BaseSize; | ||
lazy: boolean; | ||
noFade: boolean; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
bodyClass: any; | ||
headerClass: any; | ||
transProps: Readonly<import("../../types").BTransitionProps>; | ||
autoFocus: import("../../types").Booleanish; | ||
transProps: Readonly<import('../../types').BTransitionProps>; | ||
autoFocus: boolean; | ||
autoFocusButton: "close" | "cancel" | "ok"; | ||
backdropVariant: keyof import("../../types").BaseColorVariant | null; | ||
bodyBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
bodyScrolling: import("../../types").Booleanish; | ||
bodyTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
bodyVariant: keyof import("../../types").BaseColorVariant | null; | ||
busy: import("../../types").Booleanish; | ||
buttonSize: keyof import("../../types").BaseSize; | ||
cancelDisabled: import("../../types").Booleanish; | ||
backdropVariant: keyof import('../../types').BaseColorVariant | null; | ||
bodyAttrs: Readonly<import('../../types').AttrsValue>; | ||
bodyBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
bodyScrolling: boolean; | ||
bodyTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
bodyVariant: keyof import('../../types').BaseColorVariant | null; | ||
busy: boolean; | ||
buttonSize: keyof import('../../types').BaseSize; | ||
cancelDisabled: boolean; | ||
cancelTitle: string; | ||
cancelVariant: keyof import("../../types").BaseButtonVariant | null; | ||
centered: import("../../types").Booleanish; | ||
cancelVariant: keyof import('../../types').BaseButtonVariant | null; | ||
centered: boolean; | ||
contentClass: any; | ||
dialogClass: any; | ||
footerBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
footerBorderVariant: keyof import("../../types").BaseColorVariant | null; | ||
footerBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
footerBorderVariant: keyof import('../../types').BaseColorVariant | null; | ||
footerClass: any; | ||
footerTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
footerVariant: keyof import("../../types").BaseColorVariant | null; | ||
fullscreen: import("../../types").Booleanish | import("../../types").Breakpoint; | ||
headerBgVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerBorderVariant: keyof import("../../types").BaseColorVariant | null; | ||
footerTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
footerVariant: keyof import('../../types').BaseColorVariant | null; | ||
fullscreen: boolean | import('../../types').Breakpoint; | ||
headerBgVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerBorderVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerCloseClass: any; | ||
headerCloseLabel: string; | ||
headerCloseVariant: keyof import("../../types").BaseButtonVariant | null; | ||
headerTextVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
headerVariant: keyof import("../../types").BaseColorVariant | null; | ||
hideBackdrop: import("../../types").Booleanish; | ||
hideFooter: import("../../types").Booleanish; | ||
hideHeader: import("../../types").Booleanish; | ||
hideHeaderClose: import("../../types").Booleanish; | ||
headerCloseVariant: keyof import('../../types').BaseButtonVariant | null; | ||
headerTextVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
headerVariant: keyof import('../../types').BaseColorVariant | null; | ||
hideBackdrop: boolean; | ||
hideFooter: boolean; | ||
hideHeader: boolean; | ||
hideHeaderClose: boolean; | ||
modalClass: any; | ||
noCloseOnBackdrop: import("../../types").Booleanish; | ||
noCloseOnEsc: import("../../types").Booleanish; | ||
okDisabled: import("../../types").Booleanish; | ||
okOnly: import("../../types").Booleanish; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
okDisabled: boolean; | ||
okOnly: boolean; | ||
okTitle: string; | ||
okVariant: keyof import("../../types").BaseButtonVariant | null; | ||
scrollable: import("../../types").Booleanish; | ||
teleportDisabled: import("../../types").Booleanish; | ||
teleportTo: string | Readonly<import("vue").RendererElement> | null; | ||
okVariant: keyof import('../../types').BaseButtonVariant | null; | ||
scrollable: boolean; | ||
titleClass: any; | ||
titleSrOnly: import("../../types").Booleanish; | ||
titleSrOnly: boolean; | ||
titleTag: string; | ||
@@ -227,19 +557,2 @@ }, {}>, Readonly<{ | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -246,0 +559,0 @@ new (): { |
@@ -1,15 +0,12 @@ | ||
import type { Booleanish } from '../../types'; | ||
import type { RendererElement } from 'vue'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined; | ||
}>, { | ||
import { BModalOrchestratorProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BModalOrchestratorProps>, { | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
}>, { | ||
modals: import("vue").ShallowRef<import("vue").ComputedRef<{ | ||
modals: import('vue').ShallowRef<import('vue').ComputedRef<{ | ||
component: unknown; | ||
props: import("../../types").OrchestratedModal & { | ||
props: import('../../types').OrchestratedModal & { | ||
_self: symbol; | ||
_modelValue: Booleanish | undefined; | ||
_modelValue: boolean | undefined; | ||
_promise: { | ||
@@ -23,18 +20,15 @@ value: Promise<boolean | null>; | ||
show: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../../types").OrchestratedModal>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../../types').OrchestratedModal>> | undefined; | ||
}) => Promise<boolean | null>) | undefined; | ||
confirm: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../../types").OrchestratedModal>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../../types').OrchestratedModal>> | undefined; | ||
}) => Promise<boolean | null>) | undefined; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined; | ||
}>, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BModalOrchestratorProps>, { | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
}>>>, { | ||
teleportDisabled: Booleanish; | ||
teleportTo: string | Readonly<RendererElement> | null; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
}, {}>; | ||
@@ -41,0 +35,0 @@ export default _default; |
@@ -1,14 +0,4 @@ | ||
import type { AlignmentJustifyContent, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentJustifyContent | undefined; | ||
cardHeader?: Booleanish | undefined; | ||
fill?: Booleanish | undefined; | ||
justified?: Booleanish | undefined; | ||
pills?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tabs?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
underline?: Booleanish | undefined; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
import { BNavProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavProps>, { | ||
align: undefined; | ||
@@ -24,14 +14,3 @@ cardHeader: boolean; | ||
vertical: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentJustifyContent | undefined; | ||
cardHeader?: Booleanish | undefined; | ||
fill?: Booleanish | undefined; | ||
justified?: Booleanish | undefined; | ||
pills?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tabs?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
underline?: Booleanish | undefined; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavProps>, { | ||
align: undefined; | ||
@@ -48,12 +27,12 @@ cardHeader: boolean; | ||
}>>>, { | ||
fill: Booleanish; | ||
fill: boolean; | ||
tag: string; | ||
small: Booleanish; | ||
align: AlignmentJustifyContent; | ||
vertical: Booleanish; | ||
underline: Booleanish; | ||
tabs: Booleanish; | ||
cardHeader: Booleanish; | ||
justified: Booleanish; | ||
pills: Booleanish; | ||
small: boolean; | ||
align: import('../../types').AlignmentJustifyContent; | ||
vertical: boolean; | ||
underline: boolean; | ||
tabs: boolean; | ||
cardHeader: boolean; | ||
justified: boolean; | ||
pills: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -60,0 +39,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,5 +0,4 @@ | ||
import type { BFormProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
role?: string | undefined; | ||
} & BFormProps>, { | ||
import { BNavFormProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavFormProps>, { | ||
role: undefined; | ||
@@ -10,7 +9,5 @@ floating: undefined; | ||
validated: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
submit: (value: Event) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
role?: string | undefined; | ||
} & BFormProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavFormProps>, { | ||
role: undefined; | ||
@@ -26,5 +23,5 @@ floating: undefined; | ||
role: string; | ||
floating: import("../../types").Booleanish; | ||
novalidate: import("../../types").Booleanish; | ||
validated: import("../../types").Booleanish; | ||
floating: boolean; | ||
novalidate: boolean; | ||
validated: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -31,0 +28,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,6 +0,4 @@ | ||
import type { AttrsValue, BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
linkAttrs?: Readonly<AttrsValue> | undefined; | ||
linkClass?: any; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
import { BNavItemProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavItemProps>, { | ||
active: undefined; | ||
@@ -28,8 +26,5 @@ activeClass: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
linkAttrs?: Readonly<AttrsValue> | undefined; | ||
linkClass?: any; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavItemProps>, { | ||
active: undefined; | ||
@@ -60,24 +55,24 @@ activeClass: undefined; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
linkClass: any; | ||
linkAttrs: Readonly<AttrsValue>; | ||
linkAttrs: Readonly<import('../../types').AttrsValue>; | ||
}, {}>, Readonly<{ | ||
@@ -84,0 +79,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
import { BvTriggerableEvent } from '../../utils'; | ||
import type { BDropdownProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownProps>, { | ||
ariaLabel: undefined; | ||
autoClose: boolean; | ||
block: boolean; | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
center: boolean; | ||
container: undefined; | ||
disabled: boolean; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
end: boolean; | ||
floatingMiddleware: undefined; | ||
id: undefined; | ||
isNav: boolean; | ||
lazy: boolean; | ||
menuClass: undefined; | ||
modelValue: boolean; | ||
noCaret: boolean; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
offset: number; | ||
role: string; | ||
size: string; | ||
split: boolean; | ||
splitButtonType: string; | ||
splitClass: undefined; | ||
splitDisabled: undefined; | ||
splitHref: undefined; | ||
splitTo: undefined; | ||
splitVariant: undefined; | ||
strategy: string; | ||
text: undefined; | ||
toggleClass: undefined; | ||
toggleText: string; | ||
variant: string; | ||
}>, { | ||
close: () => void; | ||
open: () => void; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
split: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
center: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
offset: { | ||
type: import('vue').PropType<string | number | Readonly<{ | ||
mainAxis?: number | undefined; | ||
crossAxis?: number | undefined; | ||
alignmentAxis?: number | null | undefined; | ||
}>>; | ||
default: number; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
role: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
text: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('../../../node_modules/@floating-ui/core').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('../../../node_modules/@floating-ui/core').Padding>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('../../../node_modules/@floating-ui/core').Placement; | ||
strategy: import('../../../node_modules/@floating-ui/core').Strategy; | ||
initialPlacement: import('../../../node_modules/@floating-ui/core').Placement; | ||
middlewareData: import('../../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('../../../node_modules/@floating-ui/core').ElementRects; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('../../../node_modules/@floating-ui/core').Strategy>; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoClose: { | ||
type: import('vue').PropType<boolean | "inside" | "outside">; | ||
default: boolean; | ||
}; | ||
dropend: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropstart: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
menuClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCaret: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
splitButtonType: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
splitClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
splitDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
splitHref: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
splitTo: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
splitVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: undefined; | ||
}; | ||
toggleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
toggleText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}, { | ||
hide: () => void; | ||
show: () => void; | ||
toggle: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: () => void; | ||
click: (event: MouseEvent) => void; | ||
"update:modelValue": (value: boolean) => void; | ||
toggle: () => void; | ||
@@ -55,43 +180,168 @@ show: (value: BvTriggerableEvent) => void; | ||
shown: () => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BDropdownProps>, { | ||
ariaLabel: undefined; | ||
autoClose: boolean; | ||
block: boolean; | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
center: boolean; | ||
container: undefined; | ||
disabled: boolean; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
end: boolean; | ||
floatingMiddleware: undefined; | ||
id: undefined; | ||
isNav: boolean; | ||
lazy: boolean; | ||
menuClass: undefined; | ||
modelValue: boolean; | ||
noCaret: boolean; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
offset: number; | ||
role: string; | ||
size: string; | ||
split: boolean; | ||
splitButtonType: string; | ||
splitClass: undefined; | ||
splitDisabled: undefined; | ||
splitHref: undefined; | ||
splitTo: undefined; | ||
splitVariant: undefined; | ||
strategy: string; | ||
text: undefined; | ||
toggleClass: undefined; | ||
toggleText: string; | ||
variant: string; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
split: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
center: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
offset: { | ||
type: import('vue').PropType<string | number | Readonly<{ | ||
mainAxis?: number | undefined; | ||
crossAxis?: number | undefined; | ||
alignmentAxis?: number | null | undefined; | ||
}>>; | ||
default: number; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
role: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
text: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: string; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('../../../node_modules/@floating-ui/core').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('../../../node_modules/@floating-ui/core').Padding>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('../../../node_modules/@floating-ui/core').Placement; | ||
strategy: import('../../../node_modules/@floating-ui/core').Strategy; | ||
initialPlacement: import('../../../node_modules/@floating-ui/core').Placement; | ||
middlewareData: import('../../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('../../../node_modules/@floating-ui/core').ElementRects; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('../../../node_modules/@floating-ui/core').Strategy>; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
isNav: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
autoClose: { | ||
type: import('vue').PropType<boolean | "inside" | "outside">; | ||
default: boolean; | ||
}; | ||
dropend: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropstart: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
dropup: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
menuClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noCaret: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
splitButtonType: { | ||
type: import('vue').PropType<import('../../types').ButtonType>; | ||
default: string; | ||
}; | ||
splitClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
splitDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
splitHref: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
splitTo: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
splitVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: undefined; | ||
}; | ||
toggleClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
toggleText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
}>> & { | ||
onHidden?: (() => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -105,4 +355,5 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
}, { | ||
end: import("../../types").Booleanish; | ||
center: import("../../types").Booleanish; | ||
split: boolean; | ||
end: boolean; | ||
center: boolean; | ||
offset: string | number | Readonly<{ | ||
@@ -116,12 +367,9 @@ mainAxis?: number | undefined; | ||
role: string; | ||
disabled: import("../../types").Booleanish; | ||
disabled: boolean; | ||
text: string; | ||
size: keyof import("../../types").BaseSize; | ||
variant: keyof import("../../types").BaseButtonVariant | null; | ||
split: import("../../types").Booleanish; | ||
lazy: import("../../types").Booleanish; | ||
modelValue: import("../../types").Booleanish; | ||
size: keyof import('../../types').BaseSize; | ||
variant: keyof import('../../types').BaseButtonVariant | null; | ||
lazy: boolean; | ||
boundary: Element | "document" | "clippingAncestors" | Element[] | import('../../../node_modules/@floating-ui/core').Rect | "viewport"; | ||
boundaryPadding: import('../../../node_modules/@floating-ui/core').Padding; | ||
container: string | HTMLElement | import("vue").ComponentPublicInstance<HTMLElement>; | ||
floatingMiddleware: { | ||
@@ -139,22 +387,24 @@ name: string; | ||
platform: import('../../../node_modules/@floating-ui/core').Platform; | ||
elements: import("@floating-ui/vue").Elements; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]; | ||
noFlip: import("../../types").Booleanish; | ||
noShift: import("../../types").Booleanish; | ||
noSize: import("../../types").Booleanish; | ||
noFlip: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
strategy: import('../../../node_modules/@floating-ui/core').Strategy; | ||
isNav: import("../../types").Booleanish; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
isNav: boolean; | ||
autoClose: boolean | "inside" | "outside"; | ||
dropend: import("../../types").Booleanish; | ||
dropstart: import("../../types").Booleanish; | ||
dropup: import("../../types").Booleanish; | ||
dropend: boolean; | ||
dropstart: boolean; | ||
dropup: boolean; | ||
menuClass: any; | ||
noCaret: import("../../types").Booleanish; | ||
splitButtonType: import("../../types").ButtonType; | ||
noCaret: boolean; | ||
splitButtonType: import('../../types').ButtonType; | ||
splitClass: any; | ||
splitDisabled: import("../../types").Booleanish; | ||
splitDisabled: boolean; | ||
splitHref: string; | ||
splitTo: import("vue-router").RouteLocationRaw; | ||
splitVariant: keyof import("../../types").BaseButtonVariant | null; | ||
splitTo: import('vue-router').RouteLocationRaw; | ||
splitVariant: keyof import('../../types').BaseButtonVariant | null; | ||
toggleClass: any; | ||
@@ -178,19 +428,2 @@ toggleText: string; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -197,0 +430,0 @@ new (): { |
@@ -1,8 +0,6 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
}>, { | ||
import { BNavTextProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavTextProps>, { | ||
text: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
text?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavTextProps>, { | ||
text: undefined; | ||
@@ -9,0 +7,0 @@ }>>>, { |
@@ -1,12 +0,4 @@ | ||
import type { Booleanish, Breakpoint } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
autoClose?: Booleanish | undefined; | ||
container?: Booleanish | Breakpoint | "fluid" | undefined; | ||
fixed?: "top" | "bottom" | undefined; | ||
print?: Booleanish | undefined; | ||
sticky?: "top" | "bottom" | undefined; | ||
tag?: string | undefined; | ||
toggleable?: Booleanish | Breakpoint | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BNavbarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarProps>, { | ||
autoClose: boolean; | ||
@@ -20,12 +12,3 @@ container: string; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
autoClose?: Booleanish | undefined; | ||
container?: Booleanish | Breakpoint | "fluid" | undefined; | ||
fixed?: "top" | "bottom" | undefined; | ||
print?: Booleanish | undefined; | ||
sticky?: "top" | "bottom" | undefined; | ||
tag?: string | undefined; | ||
toggleable?: Booleanish | Breakpoint | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarProps>, { | ||
autoClose: boolean; | ||
@@ -41,9 +24,9 @@ container: string; | ||
tag: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
fixed: "top" | "bottom"; | ||
print: Booleanish; | ||
container: Booleanish | Breakpoint | "fluid"; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
print: boolean; | ||
sticky: "top" | "bottom"; | ||
autoClose: Booleanish; | ||
toggleable: Booleanish | Breakpoint; | ||
container: boolean | "fluid" | import('../../types').Breakpoint; | ||
autoClose: boolean; | ||
toggleable: boolean | import('../../types').Breakpoint; | ||
}, {}>, Readonly<{ | ||
@@ -50,0 +33,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,5 +0,4 @@ | ||
import type { BLinkProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
import { BNavbarBrandProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarBrandProps>, { | ||
tag: string; | ||
@@ -26,5 +25,3 @@ active: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
tag?: string | undefined; | ||
} & Omit<BLinkProps, "routerTag">>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarBrandProps>, { | ||
tag: string; | ||
@@ -53,21 +50,21 @@ active: undefined; | ||
tag: string; | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
append: boolean; | ||
disabled: boolean; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
@@ -74,0 +71,0 @@ }, {}>, Readonly<{ |
@@ -1,9 +0,4 @@ | ||
import type { AlignmentJustifyContent, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentJustifyContent | undefined; | ||
fill?: Booleanish | undefined; | ||
justified?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
import { BNavbarNavProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarNavProps>, { | ||
align: undefined; | ||
@@ -14,9 +9,3 @@ fill: boolean; | ||
tag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: AlignmentJustifyContent | undefined; | ||
fill?: Booleanish | undefined; | ||
justified?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarNavProps>, { | ||
align: undefined; | ||
@@ -28,7 +17,7 @@ fill: boolean; | ||
}>>>, { | ||
fill: Booleanish; | ||
fill: boolean; | ||
tag: string; | ||
small: Booleanish; | ||
align: AlignmentJustifyContent; | ||
justified: Booleanish; | ||
small: boolean; | ||
align: import('../../types').AlignmentJustifyContent; | ||
justified: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -35,0 +24,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,17 +0,10 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
disabled?: Booleanish | undefined; | ||
label?: string | undefined; | ||
target?: string | readonly string[] | undefined; | ||
}>, { | ||
import { BNavbarToggleProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarToggleProps>, { | ||
label: string; | ||
disabled: boolean; | ||
target: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: (value: MouseEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
disabled?: Booleanish | undefined; | ||
label?: string | undefined; | ||
target?: string | readonly string[] | undefined; | ||
}>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BNavbarToggleProps>, { | ||
label: string; | ||
@@ -24,3 +17,3 @@ disabled: boolean; | ||
target: string | readonly string[]; | ||
disabled: Booleanish; | ||
disabled: boolean; | ||
label: string; | ||
@@ -27,0 +20,0 @@ }, {}>, Readonly<{ |
@@ -1,4 +0,3 @@ | ||
import { type RendererElement } from 'vue'; | ||
import type { Booleanish } from '../../types'; | ||
import { BvTriggerableEvent } from '../../utils'; | ||
type SharedSlotsData = { | ||
@@ -9,53 +8,102 @@ visible: boolean; | ||
}; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
backdrop?: Booleanish | undefined; | ||
backdropVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
bodyClass?: string | undefined; | ||
bodyScrolling?: Booleanish | undefined; | ||
footerClass?: string | undefined; | ||
headerClass?: string | undefined; | ||
headerCloseClass?: any; | ||
headerCloseLabel?: string | undefined; | ||
headerCloseVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
id?: string | undefined; | ||
lazy?: Booleanish | undefined; | ||
modelValue?: Booleanish | undefined; | ||
noCloseOnBackdrop?: Booleanish | undefined; | ||
noCloseOnEsc?: Booleanish | undefined; | ||
noFocus?: Booleanish | undefined; | ||
noHeader?: Booleanish | undefined; | ||
noHeaderClose?: Booleanish | undefined; | ||
placement?: "start" | "end" | "top" | "bottom" | undefined; | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | RendererElement | null | undefined; | ||
title?: string | undefined; | ||
}>, { | ||
backdrop: boolean; | ||
backdropVariant: string; | ||
bodyClass: undefined; | ||
bodyScrolling: boolean; | ||
footerClass: undefined; | ||
headerClass: undefined; | ||
headerCloseClass: undefined; | ||
headerCloseLabel: string; | ||
headerCloseVariant: string; | ||
id: undefined; | ||
lazy: boolean; | ||
modelValue: boolean; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
noFocus: boolean; | ||
noHeader: boolean; | ||
noHeaderClose: boolean; | ||
placement: string; | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
title: undefined; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<"start" | "end" | "top" | "bottom">; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: string; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
backdropVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | "white" | "transparent" | null>; | ||
default: string; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
bodyScrolling: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
footerClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
headerCloseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerCloseLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
headerCloseVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
noCloseOnBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseOnEsc: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
backdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
backdropBlur: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
noFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHeader: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHeaderClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
shadow: { | ||
type: import('vue').PropType<boolean | keyof import('../../types').BaseSize>; | ||
default: boolean; | ||
}; | ||
}, { | ||
hide: (trigger?: string) => void; | ||
show: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: (value: BvTriggerableEvent) => void; | ||
close: (value: BvTriggerableEvent) => void; | ||
"update:modelValue": (value: boolean) => void; | ||
show: (value: BvTriggerableEvent) => void; | ||
@@ -67,49 +115,98 @@ hide: (value: BvTriggerableEvent) => void; | ||
esc: (value: BvTriggerableEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
backdrop?: Booleanish | undefined; | ||
backdropVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
bodyClass?: string | undefined; | ||
bodyScrolling?: Booleanish | undefined; | ||
footerClass?: string | undefined; | ||
headerClass?: string | undefined; | ||
headerCloseClass?: any; | ||
headerCloseLabel?: string | undefined; | ||
headerCloseVariant?: keyof import("../../types").BaseButtonVariant | null | undefined; | ||
id?: string | undefined; | ||
lazy?: Booleanish | undefined; | ||
modelValue?: Booleanish | undefined; | ||
noCloseOnBackdrop?: Booleanish | undefined; | ||
noCloseOnEsc?: Booleanish | undefined; | ||
noFocus?: Booleanish | undefined; | ||
noHeader?: Booleanish | undefined; | ||
noHeaderClose?: Booleanish | undefined; | ||
placement?: "start" | "end" | "top" | "bottom" | undefined; | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | RendererElement | null | undefined; | ||
title?: string | undefined; | ||
}>, { | ||
backdrop: boolean; | ||
backdropVariant: string; | ||
bodyClass: undefined; | ||
bodyScrolling: boolean; | ||
footerClass: undefined; | ||
headerClass: undefined; | ||
headerCloseClass: undefined; | ||
headerCloseLabel: string; | ||
headerCloseVariant: string; | ||
id: undefined; | ||
lazy: boolean; | ||
modelValue: boolean; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
noFocus: boolean; | ||
noHeader: boolean; | ||
noHeaderClose: boolean; | ||
placement: string; | ||
teleportDisabled: boolean; | ||
teleportTo: string; | ||
title: undefined; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<"start" | "end" | "top" | "bottom">; | ||
default: string; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: string; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
backdropVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | "white" | "transparent" | null>; | ||
default: string; | ||
}; | ||
bodyAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
bodyScrolling: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
footerClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
headerCloseClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerCloseLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
headerCloseVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseButtonVariant | null>; | ||
default: string; | ||
}; | ||
noCloseOnBackdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseOnEsc: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
backdrop: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
backdropBlur: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
noFocus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHeader: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHeaderClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
shadow: { | ||
type: import('vue').PropType<boolean | keyof import('../../types').BaseSize>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
onHidden?: ((value: BvTriggerableEvent) => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -125,21 +222,23 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
id: string; | ||
lazy: Booleanish; | ||
modelValue: Booleanish; | ||
lazy: boolean; | ||
placement: "start" | "end" | "top" | "bottom"; | ||
bodyClass: string; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
bodyClass: any; | ||
headerClass: string; | ||
backdropVariant: keyof import("../../types").BaseColorVariant | null; | ||
bodyScrolling: Booleanish; | ||
backdropVariant: keyof import('../../types').BaseColorVariant | "white" | "transparent" | null; | ||
bodyAttrs: Readonly<import('../../types').AttrsValue>; | ||
bodyScrolling: boolean; | ||
footerClass: string; | ||
headerCloseClass: any; | ||
headerCloseLabel: string; | ||
headerCloseVariant: keyof import("../../types").BaseButtonVariant | null; | ||
noCloseOnBackdrop: Booleanish; | ||
noCloseOnEsc: Booleanish; | ||
teleportDisabled: Booleanish; | ||
teleportTo: string | RendererElement | null; | ||
backdrop: Booleanish; | ||
noFocus: Booleanish; | ||
noHeader: Booleanish; | ||
noHeaderClose: Booleanish; | ||
headerCloseVariant: keyof import('../../types').BaseButtonVariant | null; | ||
noCloseOnBackdrop: boolean; | ||
noCloseOnEsc: boolean; | ||
backdrop: boolean; | ||
backdropBlur: string; | ||
noFocus: boolean; | ||
noHeader: boolean; | ||
noHeaderClose: boolean; | ||
shadow: boolean | keyof import('../../types').BaseSize; | ||
}, {}>, Readonly<{ | ||
@@ -161,19 +260,2 @@ backdrop?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -180,0 +262,0 @@ new (): { |
@@ -1,20 +0,4 @@ | ||
import type { Booleanish, Numberish, RadiusElementExtendables, SpinnerType } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bgColor?: string | undefined; | ||
blur?: string | null | undefined; | ||
fixed?: Booleanish | undefined; | ||
noCenter?: Booleanish | undefined; | ||
noFade?: Booleanish | undefined; | ||
noSpinner?: Booleanish | undefined; | ||
noWrap?: Booleanish | undefined; | ||
opacity?: Numberish | undefined; | ||
overlayTag?: string | undefined; | ||
show?: Booleanish | undefined; | ||
spinnerSmall?: Booleanish | undefined; | ||
spinnerType?: SpinnerType | undefined; | ||
spinnerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | "white" | "transparent" | null | undefined; | ||
wrapTag?: string | undefined; | ||
zIndex?: Numberish | undefined; | ||
} & RadiusElementExtendables>, { | ||
import { BOverlayProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BOverlayProps>, { | ||
blur: string; | ||
@@ -41,24 +25,7 @@ bgColor: undefined; | ||
roundedTop: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: () => void; | ||
click: (value: MouseEvent) => void; | ||
shown: () => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
bgColor?: string | undefined; | ||
blur?: string | null | undefined; | ||
fixed?: Booleanish | undefined; | ||
noCenter?: Booleanish | undefined; | ||
noFade?: Booleanish | undefined; | ||
noSpinner?: Booleanish | undefined; | ||
noWrap?: Booleanish | undefined; | ||
opacity?: Numberish | undefined; | ||
overlayTag?: string | undefined; | ||
show?: Booleanish | undefined; | ||
spinnerSmall?: Booleanish | undefined; | ||
spinnerType?: SpinnerType | undefined; | ||
spinnerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | "white" | "transparent" | null | undefined; | ||
wrapTag?: string | undefined; | ||
zIndex?: Numberish | undefined; | ||
} & RadiusElementExtendables>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BOverlayProps>, { | ||
blur: string; | ||
@@ -90,22 +57,22 @@ bgColor: undefined; | ||
}, { | ||
fixed: boolean; | ||
blur: string | null; | ||
variant: keyof import("../../types").BaseColorVariant | "white" | "transparent" | null; | ||
opacity: Numberish; | ||
fixed: Booleanish; | ||
show: Booleanish; | ||
rounded: Booleanish | import("../../types").RadiusElement; | ||
roundedTop: Booleanish | import("../../types").RadiusElement; | ||
roundedBottom: Booleanish | import("../../types").RadiusElement; | ||
roundedStart: Booleanish | import("../../types").RadiusElement; | ||
roundedEnd: Booleanish | import("../../types").RadiusElement; | ||
noFade: Booleanish; | ||
zIndex: Numberish; | ||
noWrap: Booleanish; | ||
variant: keyof import('../../types').BaseColorVariant | "white" | "transparent" | null; | ||
opacity: import('../../types').Numberish; | ||
show: boolean; | ||
noFade: boolean; | ||
zIndex: import('../../types').Numberish; | ||
rounded: boolean | import('../../types').RadiusElement; | ||
roundedTop: boolean | import('../../types').RadiusElement; | ||
roundedBottom: boolean | import('../../types').RadiusElement; | ||
roundedStart: boolean | import('../../types').RadiusElement; | ||
roundedEnd: boolean | import('../../types').RadiusElement; | ||
noWrap: boolean; | ||
bgColor: string; | ||
noCenter: Booleanish; | ||
noSpinner: Booleanish; | ||
noCenter: boolean; | ||
noSpinner: boolean; | ||
overlayTag: string; | ||
spinnerSmall: Booleanish; | ||
spinnerType: SpinnerType; | ||
spinnerVariant: keyof import("../../types").BaseColorVariant | null; | ||
spinnerSmall: boolean; | ||
spinnerType: import('../../types').SpinnerType; | ||
spinnerVariant: keyof import('../../types').BaseColorVariant | null; | ||
wrapTag: string; | ||
@@ -115,4 +82,4 @@ }, {}>, Readonly<{ | ||
overlay?: ((props: { | ||
type: SpinnerType; | ||
variant: keyof import("../../types").BaseColorVariant | null | undefined; | ||
type: import('../../types').SpinnerType; | ||
variant: keyof import('../../types').BaseColorVariant | null | undefined; | ||
small: boolean; | ||
@@ -123,4 +90,4 @@ }) => any) | undefined; | ||
overlay?: ((props: { | ||
type: SpinnerType; | ||
variant: keyof import("../../types").BaseColorVariant | null | undefined; | ||
type: import('../../types').SpinnerType; | ||
variant: keyof import('../../types').BaseColorVariant | null | undefined; | ||
small: boolean; | ||
@@ -127,0 +94,0 @@ }) => any) | undefined; |
import { BvEvent } from '../../utils'; | ||
import type { AlignmentJustifyContent, Booleanish, ClassValue, Numberish, Size } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: "fill" | AlignmentJustifyContent | undefined; | ||
ariaControls?: string | undefined; | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
ellipsisClass?: ClassValue; | ||
ellipsisText?: string | undefined; | ||
firstClass?: ClassValue; | ||
firstNumber?: Booleanish | undefined; | ||
firstText?: string | undefined; | ||
hideEllipsis?: Booleanish | undefined; | ||
hideGotoEndButtons?: Booleanish | undefined; | ||
labelFirstPage?: string | undefined; | ||
labelLastPage?: string | undefined; | ||
labelNextPage?: string | undefined; | ||
labelPage?: string | undefined; | ||
labelPrevPage?: string | undefined; | ||
lastClass?: ClassValue; | ||
lastNumber?: Booleanish | undefined; | ||
lastText?: string | undefined; | ||
limit?: Numberish | undefined; | ||
modelValue?: Numberish | undefined; | ||
nextClass?: ClassValue; | ||
nextText?: string | undefined; | ||
pageClass?: ClassValue; | ||
perPage?: Numberish | undefined; | ||
pills?: Booleanish | undefined; | ||
prevClass?: ClassValue; | ||
prevText?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
totalRows?: Numberish | undefined; | ||
}>, { | ||
align: string; | ||
ariaControls: undefined; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number>; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
align: { | ||
type: import('vue').PropType<"fill" | import('../../types').AlignmentJustifyContent>; | ||
default: string; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
ariaControls: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
limit: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
pills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ellipsisClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
ellipsisText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
firstClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
firstNumber: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
firstText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
hideEllipsis: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideGotoEndButtons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
labelFirstPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelLastPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelNextPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelPrevPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
lastClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
lastNumber: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
lastText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
nextClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
nextText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
pageClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
perPage: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
prevClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
prevText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
totalRows: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
"page-click": (event: BvEvent, pageNumber: number) => void; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number>; | ||
ariaLabel: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
align: { | ||
type: import('vue').PropType<"fill" | import('../../types').AlignmentJustifyContent>; | ||
default: string; | ||
}; | ||
size: { | ||
type: import('vue').PropType<keyof import('../../types').BaseSize>; | ||
default: undefined; | ||
}; | ||
ariaControls: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
limit: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
pills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
ellipsisClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
ellipsisText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
firstClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
firstNumber: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
firstText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
hideEllipsis: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
hideGotoEndButtons: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
labelFirstPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelLastPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelNextPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
labelPrevPage: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
lastClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
lastNumber: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
lastText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
nextClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
nextText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
pageClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
perPage: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
prevClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
prevText: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
totalRows: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
}>> & { | ||
"onPage-click"?: ((event: BvEvent, pageNumber: number) => any) | undefined; | ||
}, { | ||
ariaLabel: string; | ||
disabled: boolean; | ||
ellipsisClass: undefined; | ||
ellipsisText: string; | ||
firstClass: undefined; | ||
firstNumber: boolean; | ||
firstText: string; | ||
hideEllipsis: boolean; | ||
hideGotoEndButtons: boolean; | ||
labelFirstPage: string; | ||
labelLastPage: string; | ||
labelNextPage: string; | ||
labelPage: string; | ||
labelPrevPage: string; | ||
lastClass: undefined; | ||
lastNumber: boolean; | ||
lastText: string; | ||
limit: number; | ||
modelValue: number; | ||
nextClass: undefined; | ||
nextText: string; | ||
pageClass: undefined; | ||
perPage: number; | ||
align: "fill" | import('../../types').AlignmentJustifyContent; | ||
size: keyof import('../../types').BaseSize; | ||
ariaControls: string; | ||
limit: import('../../types').Numberish; | ||
pills: boolean; | ||
prevClass: undefined; | ||
prevText: string; | ||
size: undefined; | ||
totalRows: number; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: number) => void; | ||
"page-click": (event: BvEvent, pageNumber: number) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
align?: "fill" | AlignmentJustifyContent | undefined; | ||
ariaControls?: string | undefined; | ||
ariaLabel?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
ellipsisClass?: ClassValue; | ||
ellipsisText?: string | undefined; | ||
firstClass?: ClassValue; | ||
firstNumber?: Booleanish | undefined; | ||
firstText?: string | undefined; | ||
hideEllipsis?: Booleanish | undefined; | ||
hideGotoEndButtons?: Booleanish | undefined; | ||
labelFirstPage?: string | undefined; | ||
labelLastPage?: string | undefined; | ||
labelNextPage?: string | undefined; | ||
labelPage?: string | undefined; | ||
labelPrevPage?: string | undefined; | ||
lastClass?: ClassValue; | ||
lastNumber?: Booleanish | undefined; | ||
lastText?: string | undefined; | ||
limit?: Numberish | undefined; | ||
modelValue?: Numberish | undefined; | ||
nextClass?: ClassValue; | ||
nextText?: string | undefined; | ||
pageClass?: ClassValue; | ||
perPage?: Numberish | undefined; | ||
pills?: Booleanish | undefined; | ||
prevClass?: ClassValue; | ||
prevText?: string | undefined; | ||
size?: keyof import("../../types").BaseSize | undefined; | ||
totalRows?: Numberish | undefined; | ||
}>, { | ||
align: string; | ||
ariaControls: undefined; | ||
ariaLabel: string; | ||
disabled: boolean; | ||
ellipsisClass: undefined; | ||
ellipsisClass: any; | ||
ellipsisText: string; | ||
firstClass: undefined; | ||
firstClass: any; | ||
firstNumber: boolean; | ||
@@ -116,50 +263,12 @@ firstText: string; | ||
labelPrevPage: string; | ||
lastClass: undefined; | ||
lastClass: any; | ||
lastNumber: boolean; | ||
lastText: string; | ||
limit: number; | ||
modelValue: number; | ||
nextClass: undefined; | ||
nextClass: any; | ||
nextText: string; | ||
pageClass: undefined; | ||
perPage: number; | ||
pills: boolean; | ||
prevClass: undefined; | ||
pageClass: any; | ||
perPage: import('../../types').Numberish; | ||
prevClass: any; | ||
prevText: string; | ||
size: undefined; | ||
totalRows: number; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: number) => any) | undefined; | ||
"onPage-click"?: ((event: BvEvent, pageNumber: number) => any) | undefined; | ||
}, { | ||
ariaLabel: string; | ||
disabled: Booleanish; | ||
align: AlignmentJustifyContent | 'fill'; | ||
size: Size; | ||
modelValue: Numberish; | ||
ariaControls: string; | ||
limit: Numberish; | ||
pills: Booleanish; | ||
ellipsisClass: ClassValue; | ||
ellipsisText: string; | ||
firstClass: ClassValue; | ||
firstNumber: Booleanish; | ||
firstText: string; | ||
hideEllipsis: Booleanish; | ||
hideGotoEndButtons: Booleanish; | ||
labelFirstPage: string; | ||
labelLastPage: string; | ||
labelNextPage: string; | ||
labelPage: string; | ||
labelPrevPage: string; | ||
lastClass: ClassValue; | ||
lastNumber: Booleanish; | ||
lastText: string; | ||
nextClass: ClassValue; | ||
nextText: string; | ||
pageClass: ClassValue; | ||
perPage: Numberish; | ||
prevClass: ClassValue; | ||
prevText: string; | ||
totalRows: Numberish; | ||
totalRows: import('../../types').Numberish; | ||
}, {}>, Partial<Record<string, (_: { | ||
@@ -175,19 +284,2 @@ disabled: boolean; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -194,0 +286,0 @@ new (): { |
@@ -1,11 +0,4 @@ | ||
import type { ColorVariant, Numberish, PlaceholderAnimation, PlaceholderSize } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cols?: Numberish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
tag?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
width?: Numberish | undefined; | ||
wrapperTag?: string | undefined; | ||
}>, { | ||
import { BPlaceholderProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderProps>, { | ||
animation: undefined; | ||
@@ -18,11 +11,3 @@ cols: number; | ||
wrapperTag: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cols?: Numberish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
tag?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
width?: Numberish | undefined; | ||
wrapperTag?: string | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderProps>, { | ||
animation: undefined; | ||
@@ -37,7 +22,7 @@ cols: number; | ||
tag: string; | ||
cols: Numberish; | ||
width: Numberish; | ||
size: PlaceholderSize; | ||
variant: ColorVariant | null; | ||
animation: PlaceholderAnimation; | ||
cols: import('../../types').Numberish; | ||
width: import('../../types').Numberish; | ||
size: import('../../types').PlaceholderSize; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
animation: import('../../types').PlaceholderAnimation; | ||
wrapperTag: string; | ||
@@ -44,0 +29,0 @@ }, {}>; |
@@ -1,9 +0,4 @@ | ||
import type { ColorVariant, Numberish, PlaceholderAnimation } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cols?: Numberish | undefined; | ||
tag?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
width?: Numberish | undefined; | ||
}>, { | ||
import { BPlaceholderButtonProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderButtonProps>, { | ||
animation: undefined; | ||
@@ -14,9 +9,3 @@ cols: undefined; | ||
width: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cols?: Numberish | undefined; | ||
tag?: string | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
width?: Numberish | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderButtonProps>, { | ||
animation: undefined; | ||
@@ -29,6 +18,6 @@ cols: undefined; | ||
tag: string; | ||
cols: Numberish; | ||
width: Numberish; | ||
variant: ColorVariant | null; | ||
animation: PlaceholderAnimation; | ||
cols: import('../../types').Numberish; | ||
width: import('../../types').Numberish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
animation: import('../../types').PlaceholderAnimation; | ||
}, {}>; | ||
@@ -35,0 +24,0 @@ export default _default; |
@@ -1,23 +0,4 @@ | ||
import type { Booleanish, Numberish, PlaceholderAnimation, PlaceholderSize } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
footerAnimation?: PlaceholderAnimation | undefined; | ||
footerSize?: PlaceholderSize | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerWidth?: Numberish | undefined; | ||
headerAnimation?: PlaceholderAnimation | undefined; | ||
headerSize?: PlaceholderSize | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerWidth?: Numberish | undefined; | ||
imgBlankColor?: string | undefined; | ||
imgBottom?: Booleanish | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
noButton?: Booleanish | undefined; | ||
noFooter?: Booleanish | undefined; | ||
noHeader?: Booleanish | undefined; | ||
noImg?: Booleanish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BPlaceholderCardProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderCardProps>, { | ||
animation: undefined; | ||
@@ -42,23 +23,3 @@ footerAnimation: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
footerAnimation?: PlaceholderAnimation | undefined; | ||
footerSize?: PlaceholderSize | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footerWidth?: Numberish | undefined; | ||
headerAnimation?: PlaceholderAnimation | undefined; | ||
headerSize?: PlaceholderSize | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerWidth?: Numberish | undefined; | ||
imgBlankColor?: string | undefined; | ||
imgBottom?: Booleanish | undefined; | ||
imgHeight?: Numberish | undefined; | ||
imgSrc?: string | undefined; | ||
noButton?: Booleanish | undefined; | ||
noFooter?: Booleanish | undefined; | ||
noHeader?: Booleanish | undefined; | ||
noImg?: Booleanish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderCardProps>, { | ||
animation: undefined; | ||
@@ -84,21 +45,21 @@ footerAnimation: undefined; | ||
}>>>, { | ||
size: PlaceholderSize; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
animation: PlaceholderAnimation; | ||
footerVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerVariant: keyof import("../../types").BaseColorVariant | null; | ||
imgBottom: Booleanish; | ||
imgHeight: Numberish; | ||
size: import('../../types').PlaceholderSize; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
animation: import('../../types').PlaceholderAnimation; | ||
footerVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerVariant: keyof import('../../types').BaseColorVariant | null; | ||
imgBottom: boolean; | ||
imgHeight: import('../../types').Numberish; | ||
imgSrc: string; | ||
imgBlankColor: string; | ||
noHeader: Booleanish; | ||
footerAnimation: PlaceholderAnimation; | ||
footerSize: PlaceholderSize; | ||
footerWidth: Numberish; | ||
headerAnimation: PlaceholderAnimation; | ||
headerSize: PlaceholderSize; | ||
headerWidth: Numberish; | ||
noButton: Booleanish; | ||
noFooter: Booleanish; | ||
noImg: Booleanish; | ||
noHeader: boolean; | ||
footerAnimation: import('../../types').PlaceholderAnimation; | ||
footerSize: import('../../types').PlaceholderSize; | ||
footerWidth: import('../../types').Numberish; | ||
headerAnimation: import('../../types').PlaceholderAnimation; | ||
headerSize: import('../../types').PlaceholderSize; | ||
headerWidth: import('../../types').Numberish; | ||
noButton: boolean; | ||
noFooter: boolean; | ||
noImg: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -105,0 +66,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,22 +0,4 @@ | ||
import type { Booleanish, Numberish, PlaceholderAnimation, PlaceholderSize } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cellWidth?: Numberish | undefined; | ||
columns?: Numberish | undefined; | ||
footerAnimation?: PlaceholderAnimation | undefined; | ||
footerCellWidth?: Numberish | undefined; | ||
footerColumns?: Numberish | undefined; | ||
footerSize?: PlaceholderSize | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerAnimation?: PlaceholderAnimation | undefined; | ||
headerCellWidth?: Numberish | undefined; | ||
headerColumns?: Numberish | undefined; | ||
headerSize?: PlaceholderSize | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
hideHeader?: Booleanish | undefined; | ||
rows?: Numberish | undefined; | ||
showFooter?: Booleanish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BPlaceholderTableProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderTableProps>, { | ||
animation: undefined; | ||
@@ -40,22 +22,3 @@ cellWidth: number; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
animation?: PlaceholderAnimation | undefined; | ||
cellWidth?: Numberish | undefined; | ||
columns?: Numberish | undefined; | ||
footerAnimation?: PlaceholderAnimation | undefined; | ||
footerCellWidth?: Numberish | undefined; | ||
footerColumns?: Numberish | undefined; | ||
footerSize?: PlaceholderSize | undefined; | ||
footerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headerAnimation?: PlaceholderAnimation | undefined; | ||
headerCellWidth?: Numberish | undefined; | ||
headerColumns?: Numberish | undefined; | ||
headerSize?: PlaceholderSize | undefined; | ||
headerVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
hideHeader?: Booleanish | undefined; | ||
rows?: Numberish | undefined; | ||
showFooter?: Booleanish | undefined; | ||
size?: PlaceholderSize | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderTableProps>, { | ||
animation: undefined; | ||
@@ -80,20 +43,20 @@ cellWidth: number; | ||
}>>>, { | ||
size: PlaceholderSize; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
animation: PlaceholderAnimation; | ||
columns: Numberish; | ||
footerVariant: keyof import("../../types").BaseColorVariant | null; | ||
headerVariant: keyof import("../../types").BaseColorVariant | null; | ||
hideHeader: Booleanish; | ||
rows: Numberish; | ||
footerAnimation: PlaceholderAnimation; | ||
footerSize: PlaceholderSize; | ||
headerAnimation: PlaceholderAnimation; | ||
headerSize: PlaceholderSize; | ||
cellWidth: Numberish; | ||
footerCellWidth: Numberish; | ||
footerColumns: Numberish; | ||
headerCellWidth: Numberish; | ||
headerColumns: Numberish; | ||
showFooter: Booleanish; | ||
size: import('../../types').PlaceholderSize; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
animation: import('../../types').PlaceholderAnimation; | ||
columns: import('../../types').Numberish; | ||
footerVariant: keyof import('../../types').BaseColorVariant | null; | ||
headerVariant: keyof import('../../types').BaseColorVariant | null; | ||
hideHeader: boolean; | ||
rows: import('../../types').Numberish; | ||
footerAnimation: import('../../types').PlaceholderAnimation; | ||
footerSize: import('../../types').PlaceholderSize; | ||
headerAnimation: import('../../types').PlaceholderAnimation; | ||
headerSize: import('../../types').PlaceholderSize; | ||
cellWidth: import('../../types').Numberish; | ||
footerCellWidth: import('../../types').Numberish; | ||
footerColumns: import('../../types').Numberish; | ||
headerCellWidth: import('../../types').Numberish; | ||
headerColumns: import('../../types').Numberish; | ||
showFooter: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -100,0 +63,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,12 +0,9 @@ | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
loading?: Booleanish | undefined; | ||
}>, { | ||
import { BPlaceholderWrapperProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderWrapperProps>, { | ||
loading: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
loading?: Booleanish | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPlaceholderWrapperProps>, { | ||
loading: boolean; | ||
}>>>, { | ||
loading: Booleanish; | ||
loading: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -13,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,46 +0,156 @@ | ||
import { type Placement as OriginalPlacement } from '@floating-ui/vue'; | ||
import type { BPopoverProps } from '../types'; | ||
import { BvTriggerableEvent } from '../utils'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPopoverProps>, { | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
click: boolean; | ||
container: undefined; | ||
content: undefined; | ||
customClass: string; | ||
delay: () => { | ||
show: number; | ||
hide: number; | ||
import { Placement as OriginalPlacement } from '@floating-ui/vue'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
offset: { | ||
type: import('vue').PropType<import('../types').Numberish | null>; | ||
default: null; | ||
}; | ||
floatingMiddleware: undefined; | ||
hide: undefined; | ||
html: boolean; | ||
id: undefined; | ||
inline: boolean; | ||
manual: boolean; | ||
modelValue: boolean; | ||
noAutoClose: boolean; | ||
noFade: boolean; | ||
noFlip: boolean; | ||
noHide: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
noninteractive: boolean; | ||
offset: null; | ||
persistent: boolean; | ||
placement: string; | ||
realtime: boolean; | ||
reference: null; | ||
strategy: string; | ||
target: null; | ||
title: undefined; | ||
tooltip: boolean; | ||
variant: null; | ||
}>, { | ||
target: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: null; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
click: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
html: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
hide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
manual: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Padding>; | ||
default: undefined; | ||
}; | ||
content: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
customClass: { | ||
type: import('vue').PropType<any>; | ||
default: string; | ||
}; | ||
delay: { | ||
type: import('vue').PropType<number | Readonly<{ | ||
show: number; | ||
hide: number; | ||
}>>; | ||
default: () => { | ||
show: number; | ||
hide: number; | ||
}; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: OriginalPlacement; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: OriginalPlacement; | ||
middlewareData: import('../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noAutoClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHide: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noninteractive: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<import('../types').PopoverPlacement>; | ||
default: string; | ||
}; | ||
persistent: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
realtime: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
reference: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: null; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Strategy>; | ||
default: string; | ||
}; | ||
tooltip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
}, { | ||
hide: (e: Readonly<Event>) => void; | ||
show: () => void; | ||
toggle: (e?: Event | undefined) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: (value: BvTriggerableEvent) => void; | ||
"update:modelValue": (value: boolean) => void; | ||
show: (value: BvTriggerableEvent) => void; | ||
@@ -51,40 +161,150 @@ hide: (value: BvTriggerableEvent) => void; | ||
shown: (value: BvTriggerableEvent) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BPopoverProps>, { | ||
boundary: string; | ||
boundaryPadding: undefined; | ||
click: boolean; | ||
container: undefined; | ||
content: undefined; | ||
customClass: string; | ||
delay: () => { | ||
show: number; | ||
hide: number; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean>; | ||
offset: { | ||
type: import('vue').PropType<import('../types').Numberish | null>; | ||
default: null; | ||
}; | ||
floatingMiddleware: undefined; | ||
hide: undefined; | ||
html: boolean; | ||
id: undefined; | ||
inline: boolean; | ||
manual: boolean; | ||
modelValue: boolean; | ||
noAutoClose: boolean; | ||
noFade: boolean; | ||
noFlip: boolean; | ||
noHide: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
noninteractive: boolean; | ||
offset: null; | ||
persistent: boolean; | ||
placement: string; | ||
realtime: boolean; | ||
reference: null; | ||
strategy: string; | ||
target: null; | ||
title: undefined; | ||
tooltip: boolean; | ||
variant: null; | ||
}>>> & { | ||
target: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: null; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
click: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
html: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
hide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
manual: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport">; | ||
default: string; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Padding>; | ||
default: undefined; | ||
}; | ||
content: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
customClass: { | ||
type: import('vue').PropType<any>; | ||
default: string; | ||
}; | ||
delay: { | ||
type: import('vue').PropType<number | Readonly<{ | ||
show: number; | ||
hide: number; | ||
}>>; | ||
default: () => { | ||
show: number; | ||
hide: number; | ||
}; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: OriginalPlacement; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: OriginalPlacement; | ||
middlewareData: import('../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noAutoClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHide: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noninteractive: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<import('../types').PopoverPlacement>; | ||
default: string; | ||
}; | ||
persistent: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
realtime: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
reference: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: null; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('@floating-ui/vue').Strategy>; | ||
default: string; | ||
}; | ||
tooltip: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
}>> & { | ||
onHidden?: ((value: BvTriggerableEvent) => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -96,15 +316,13 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
}, { | ||
offset: import("../types").Numberish | null; | ||
target: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance> | null; | ||
offset: import('../types').Numberish | null; | ||
target: string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null; | ||
title: string; | ||
click: import("../types").Booleanish; | ||
click: boolean; | ||
id: string; | ||
html: import("../types").Booleanish; | ||
variant: keyof import("../types").BaseColorVariant | null; | ||
modelValue: import("../types").Booleanish; | ||
hide: import("../types").Booleanish; | ||
manual: import("../types").Booleanish; | ||
boundary: Element | "document" | "clippingAncestors" | Element[] | import("@floating-ui/vue").Rect | "viewport"; | ||
boundaryPadding: import("@floating-ui/vue").Padding; | ||
container: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance>; | ||
html: boolean; | ||
variant: keyof import('../types').BaseColorVariant | null; | ||
hide: boolean; | ||
manual: boolean; | ||
boundary: Element | "document" | "clippingAncestors" | Element[] | import('@floating-ui/vue').Rect | "viewport"; | ||
boundaryPadding: import('@floating-ui/vue').Padding; | ||
content: string; | ||
@@ -123,24 +341,26 @@ customClass: any; | ||
placement: OriginalPlacement; | ||
strategy: import("@floating-ui/vue").Strategy; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
initialPlacement: OriginalPlacement; | ||
middlewareData: import('../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import("@floating-ui/vue").ElementRects; | ||
rects: import('@floating-ui/vue').ElementRects; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import("@floating-ui/vue").Elements; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]; | ||
inline: import("../types").Booleanish; | ||
noAutoClose: import("../types").Booleanish; | ||
noFade: import("../types").Booleanish; | ||
noFlip: import("../types").Booleanish; | ||
noHide: import("../types").Booleanish; | ||
noShift: import("../types").Booleanish; | ||
noSize: import("../types").Booleanish; | ||
noninteractive: import("../types").Booleanish; | ||
placement: import("../types").PopoverPlacement; | ||
persistent: import("../types").Booleanish; | ||
realtime: import("../types").Booleanish; | ||
reference: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance> | null; | ||
strategy: import("@floating-ui/vue").Strategy; | ||
tooltip: import("../types").Booleanish; | ||
inline: boolean; | ||
noAutoClose: boolean; | ||
noFade: boolean; | ||
noFlip: boolean; | ||
noHide: boolean; | ||
noShift: boolean; | ||
noSize: boolean; | ||
noninteractive: boolean; | ||
placement: import('../types').PopoverPlacement; | ||
persistent: boolean; | ||
realtime: boolean; | ||
reference: string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null; | ||
strategy: import('@floating-ui/vue').Strategy; | ||
tooltip: boolean; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
}, {}>, Readonly<{ | ||
@@ -166,19 +386,2 @@ default?: ((props: Record<string, never>) => any) | undefined; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -185,0 +388,0 @@ new (): { |
@@ -1,5 +0,4 @@ | ||
import type { BProgressBarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
height?: string | undefined; | ||
} & Omit<BProgressBarProps, "label" | "labelHtml">>, { | ||
import { BProgressProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressProps>, { | ||
height: undefined; | ||
@@ -16,5 +15,3 @@ animated: undefined; | ||
variant: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
height?: string | undefined; | ||
} & Omit<BProgressBarProps, "label" | "labelHtml">>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressProps>, { | ||
height: undefined; | ||
@@ -33,12 +30,12 @@ animated: undefined; | ||
height: string; | ||
value: import("../../types").Numberish; | ||
max: import("../../types").Numberish; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
striped: import("../../types").Booleanish; | ||
animated: import("../../types").Booleanish; | ||
precision: import("../../types").Numberish; | ||
showProgress: import("../../types").Booleanish; | ||
showValue: import("../../types").Booleanish; | ||
value: import('../../types').Numberish; | ||
max: import('../../types').Numberish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
striped: boolean; | ||
animated: boolean; | ||
precision: import('../../types').Numberish; | ||
showProgress: boolean; | ||
showValue: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -45,0 +42,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import type { BProgressBarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressBarProps>, { | ||
import { BProgressBarProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressBarProps>, { | ||
animated: boolean; | ||
@@ -15,3 +16,3 @@ bgVariant: null; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressBarProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BProgressBarProps>, { | ||
animated: boolean; | ||
@@ -31,13 +32,13 @@ bgVariant: null; | ||
label: string; | ||
value: import("../../types").Numberish; | ||
max: import("../../types").Numberish; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
striped: import("../../types").Booleanish; | ||
animated: import("../../types").Booleanish; | ||
value: import('../../types').Numberish; | ||
max: import('../../types').Numberish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
striped: boolean; | ||
animated: boolean; | ||
labelHtml: string; | ||
precision: import("../../types").Numberish; | ||
showProgress: import("../../types").Booleanish; | ||
showValue: import("../../types").Booleanish; | ||
precision: import('../../types').Numberish; | ||
showProgress: boolean; | ||
showValue: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -44,0 +45,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,4 +0,5 @@ | ||
import { type PropType, type SlotsType } from 'vue'; | ||
import type { AlignmentContent, AlignmentJustifyContent, AlignmentVertical, Booleanish } from '../types'; | ||
declare const _default: import("vue").DefineComponent<{ | ||
import { AlignmentContent, AlignmentJustifyContent, AlignmentVertical } from '../types'; | ||
import { PropType, SlotsType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent<{ | ||
tag: { | ||
@@ -17,3 +18,3 @@ type: StringConstructor; | ||
noGutters: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -34,7 +35,7 @@ }; | ||
}, { | ||
computedClasses: import("vue").ComputedRef<(string[] | { | ||
computedClasses: import('vue').ComputedRef<(string[] | { | ||
[x: string]: boolean; | ||
'g-0': boolean; | ||
})[]>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
tag: { | ||
@@ -53,3 +54,3 @@ type: StringConstructor; | ||
noGutters: { | ||
type: PropType<Booleanish>; | ||
type: BooleanConstructor; | ||
default: boolean; | ||
@@ -73,3 +74,3 @@ }; | ||
tag: string; | ||
noGutters: Booleanish; | ||
noGutters: boolean; | ||
alignV: AlignmentVertical; | ||
@@ -76,0 +77,0 @@ alignH: AlignmentJustifyContent; |
@@ -1,10 +0,4 @@ | ||
import type { Booleanish, SpinnerType } from '../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
label?: string | undefined; | ||
role?: string | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
type?: SpinnerType | undefined; | ||
variant?: keyof import("../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BSpinnerProps } from '../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BSpinnerProps>, { | ||
label: undefined; | ||
@@ -16,10 +10,3 @@ role: string; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
label?: string | undefined; | ||
role?: string | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
type?: SpinnerType | undefined; | ||
variant?: keyof import("../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BSpinnerProps>, { | ||
label: undefined; | ||
@@ -33,7 +20,7 @@ role: string; | ||
tag: string; | ||
type: SpinnerType; | ||
type: import('../types').SpinnerType; | ||
small: boolean; | ||
role: string; | ||
label: string; | ||
small: Booleanish; | ||
variant: keyof import("../types").BaseColorVariant | null; | ||
variant: keyof import('../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -40,0 +27,0 @@ label?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,33 +0,34 @@ | ||
import type { Booleanish, BTableProvider, BTableSortCompare, LiteralUnion, Numberish, TableField, TableFieldRaw, TableItem } from '../../types'; | ||
declare const _default: <T = Record<string, unknown>>(__VLS_props: { | ||
import { BTableSortBy, NoProviderTypes, TableField, TableFieldRaw } from '../../types'; | ||
declare const _default: <T>(__VLS_props: { | ||
filter?: string | undefined; | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: Booleanish | undefined; | ||
dark?: Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
busy?: Booleanish | undefined; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
busy?: boolean | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: Booleanish | import("../../types").Breakpoint | undefined; | ||
perPage?: Numberish | undefined; | ||
bordered?: Booleanish | undefined; | ||
borderless?: Booleanish | undefined; | ||
captionTop?: Booleanish | undefined; | ||
hover?: Booleanish | undefined; | ||
noBorderCollapse?: Booleanish | undefined; | ||
outlined?: Booleanish | undefined; | ||
responsive?: Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: Booleanish | undefined; | ||
striped?: Booleanish | undefined; | ||
stripedColumns?: Booleanish | undefined; | ||
"onHead-clicked"?: ((key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
perPage?: import('../../types').Numberish | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -38,13 +39,13 @@ emptyFilteredText?: string | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: Booleanish | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -54,66 +55,75 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
onFiltered?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onRow-selected"?: ((value: TableItem<T>) => any) | undefined; | ||
"onRow-unselected"?: ((value: TableItem<T>) => any) | undefined; | ||
onSelection?: ((value: TableItem<T>[]) => any) | undefined; | ||
onSorted?: ((sortBy: string, isDesc: boolean) => any) | undefined; | ||
"onUpdate:busy"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:selectedItems"?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onUpdate:sortDesc"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:sortBy"?: ((value: string) => any) | undefined; | ||
provider?: BTableProvider<T> | undefined; | ||
sortCompare?: BTableSortCompare<T> | undefined; | ||
noProvider?: readonly ("paging" | "sorting" | "filtering")[] | undefined; | ||
noProviderPaging?: Booleanish | undefined; | ||
noProviderSorting?: Booleanish | undefined; | ||
noProviderFiltering?: Booleanish | undefined; | ||
sortBy?: string | undefined; | ||
sortDesc?: Booleanish | undefined; | ||
selectable?: Booleanish | undefined; | ||
stickySelect?: Booleanish | undefined; | ||
onFiltered?: ((value: T[]) => any) | undefined; | ||
"onRow-selected"?: ((value: T) => any) | undefined; | ||
"onRow-unselected"?: ((value: T) => any) | undefined; | ||
onSelection?: ((value: T[]) => any) | undefined; | ||
onSorted?: ((value: BTableSortBy) => any) | undefined; | ||
provider?: import('../../types').BTableProvider<T> | undefined; | ||
noProvider?: readonly NoProviderTypes[] | undefined; | ||
noProviderPaging?: boolean | undefined; | ||
noProviderSorting?: boolean | undefined; | ||
noProviderFiltering?: boolean | undefined; | ||
sortBy?: BTableSortBy[] | undefined; | ||
mustSort?: boolean | string[] | undefined; | ||
noSortReset?: boolean | undefined; | ||
selectable?: boolean | undefined; | ||
multisort?: boolean | undefined; | ||
stickySelect?: boolean | undefined; | ||
selectHead?: string | boolean | undefined; | ||
selectMode?: "range" | "single" | "multi" | undefined; | ||
selectionVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
selectionVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
busyLoadingText?: string | undefined; | ||
currentPage?: Numberish | undefined; | ||
currentPage?: import('../../types').Numberish | undefined; | ||
filterable?: readonly string[] | undefined; | ||
noLocalSorting?: Booleanish | undefined; | ||
noSelectOnClick?: Booleanish | undefined; | ||
sortCompareLocale?: string | string[] | undefined; | ||
sortCompareOptions?: Intl.CollatorOptions | undefined; | ||
selectedItems?: readonly TableItem<T>[] | undefined; | ||
noSortableIcon?: Booleanish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { | ||
noLocalSorting?: boolean | undefined; | ||
noSelectOnClick?: boolean | undefined; | ||
selectedItems?: (readonly T[] & T[]) | undefined; | ||
noSortableIcon?: boolean | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: { | ||
slots: Partial<Record<NonNullable<string | number>, (_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & { | ||
sortAsc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
sortDesc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
"table-busy"?(_: {}): any; | ||
}; | ||
attrs: any; | ||
emit: ((evt: "head-clicked", key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: TableItem<T>[]) => void) & ((evt: "row-selected", value: TableItem<T>) => void) & ((evt: "row-unselected", value: TableItem<T>) => void) & ((evt: "selection", value: TableItem<T>[]) => void) & ((evt: "sorted", sortBy: string, isDesc: boolean) => void) & ((evt: "update:busy", value: boolean) => void) & ((evt: "update:selectedItems", value: TableItem<T>[]) => void) & ((evt: "update:sortDesc", value: boolean) => void) & ((evt: "update:sortBy", value: string) => void); | ||
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{ | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: T[]) => void) & ((evt: "row-selected", value: T) => void) & ((evt: "row-unselected", value: T) => void) & ((evt: "selection", value: T[]) => void) & ((evt: "sorted", value: BTableSortBy) => void); | ||
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{ | ||
clearSelected: () => void; | ||
@@ -127,31 +137,31 @@ refresh: () => Promise<void>; | ||
filter?: string | undefined; | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: Booleanish | undefined; | ||
dark?: Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
busy?: Booleanish | undefined; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
busy?: boolean | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: Booleanish | import("../../types").Breakpoint | undefined; | ||
perPage?: Numberish | undefined; | ||
bordered?: Booleanish | undefined; | ||
borderless?: Booleanish | undefined; | ||
captionTop?: Booleanish | undefined; | ||
hover?: Booleanish | undefined; | ||
noBorderCollapse?: Booleanish | undefined; | ||
outlined?: Booleanish | undefined; | ||
responsive?: Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: Booleanish | undefined; | ||
striped?: Booleanish | undefined; | ||
stripedColumns?: Booleanish | undefined; | ||
"onHead-clicked"?: ((key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
perPage?: import('../../types').Numberish | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -162,13 +172,13 @@ emptyFilteredText?: string | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: Booleanish | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -178,35 +188,30 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
onFiltered?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onRow-selected"?: ((value: TableItem<T>) => any) | undefined; | ||
"onRow-unselected"?: ((value: TableItem<T>) => any) | undefined; | ||
onSelection?: ((value: TableItem<T>[]) => any) | undefined; | ||
onSorted?: ((sortBy: string, isDesc: boolean) => any) | undefined; | ||
"onUpdate:busy"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:selectedItems"?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onUpdate:sortDesc"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:sortBy"?: ((value: string) => any) | undefined; | ||
provider?: BTableProvider<T> | undefined; | ||
sortCompare?: BTableSortCompare<T> | undefined; | ||
noProvider?: readonly ("paging" | "sorting" | "filtering")[] | undefined; | ||
noProviderPaging?: Booleanish | undefined; | ||
noProviderSorting?: Booleanish | undefined; | ||
noProviderFiltering?: Booleanish | undefined; | ||
sortBy?: string | undefined; | ||
sortDesc?: Booleanish | undefined; | ||
selectable?: Booleanish | undefined; | ||
stickySelect?: Booleanish | undefined; | ||
onFiltered?: ((value: T[]) => any) | undefined; | ||
"onRow-selected"?: ((value: T) => any) | undefined; | ||
"onRow-unselected"?: ((value: T) => any) | undefined; | ||
onSelection?: ((value: T[]) => any) | undefined; | ||
onSorted?: ((value: BTableSortBy) => any) | undefined; | ||
provider?: import('../../types').BTableProvider<T> | undefined; | ||
noProvider?: readonly NoProviderTypes[] | undefined; | ||
noProviderPaging?: boolean | undefined; | ||
noProviderSorting?: boolean | undefined; | ||
noProviderFiltering?: boolean | undefined; | ||
sortBy?: BTableSortBy[] | undefined; | ||
mustSort?: boolean | string[] | undefined; | ||
noSortReset?: boolean | undefined; | ||
selectable?: boolean | undefined; | ||
multisort?: boolean | undefined; | ||
stickySelect?: boolean | undefined; | ||
selectHead?: string | boolean | undefined; | ||
selectMode?: "range" | "single" | "multi" | undefined; | ||
selectionVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
selectionVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
busyLoadingText?: string | undefined; | ||
currentPage?: Numberish | undefined; | ||
currentPage?: import('../../types').Numberish | undefined; | ||
filterable?: readonly string[] | undefined; | ||
noLocalSorting?: Booleanish | undefined; | ||
noSelectOnClick?: Booleanish | undefined; | ||
sortCompareLocale?: string | string[] | undefined; | ||
sortCompareOptions?: Intl.CollatorOptions | undefined; | ||
selectedItems?: readonly TableItem<T>[] | undefined; | ||
noSortableIcon?: Booleanish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
expose(exposed: import("vue").ShallowUnwrapRef<{ | ||
noLocalSorting?: boolean | undefined; | ||
noSelectOnClick?: boolean | undefined; | ||
selectedItems?: (readonly T[] & T[]) | undefined; | ||
noSortableIcon?: boolean | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{ | ||
clearSelected: () => void; | ||
@@ -222,30 +227,44 @@ refresh: () => Promise<void>; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & { | ||
sortAsc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
sortDesc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
"table-busy"?(_: {}): any; | ||
}; | ||
emit: ((evt: "head-clicked", key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: TableItem<T>[]) => void) & ((evt: "row-selected", value: TableItem<T>) => void) & ((evt: "row-unselected", value: TableItem<T>) => void) & ((evt: "selection", value: TableItem<T>[]) => void) & ((evt: "sorted", sortBy: string, isDesc: boolean) => void) & ((evt: "update:busy", value: boolean) => void) & ((evt: "update:selectedItems", value: TableItem<T>[]) => void) & ((evt: "update:sortDesc", value: boolean) => void) & ((evt: "update:sortBy", value: string) => void); | ||
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: T[]) => void) & ((evt: "row-selected", value: T) => void) & ((evt: "row-unselected", value: T) => void) & ((evt: "selection", value: T[]) => void) & ((evt: "sorted", value: BTableSortBy) => void); | ||
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { | ||
[key: string]: any; | ||
@@ -256,31 +275,31 @@ }> & { | ||
filter?: string | undefined; | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: Booleanish | undefined; | ||
dark?: Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
busy?: Booleanish | undefined; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
busy?: boolean | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: Booleanish | import("../../types").Breakpoint | undefined; | ||
perPage?: Numberish | undefined; | ||
bordered?: Booleanish | undefined; | ||
borderless?: Booleanish | undefined; | ||
captionTop?: Booleanish | undefined; | ||
hover?: Booleanish | undefined; | ||
noBorderCollapse?: Booleanish | undefined; | ||
outlined?: Booleanish | undefined; | ||
responsive?: Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: Booleanish | undefined; | ||
striped?: Booleanish | undefined; | ||
stripedColumns?: Booleanish | undefined; | ||
"onHead-clicked"?: ((key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
perPage?: import('../../types').Numberish | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -291,13 +310,13 @@ emptyFilteredText?: string | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: Booleanish | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -307,35 +326,30 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
onFiltered?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onRow-selected"?: ((value: TableItem<T>) => any) | undefined; | ||
"onRow-unselected"?: ((value: TableItem<T>) => any) | undefined; | ||
onSelection?: ((value: TableItem<T>[]) => any) | undefined; | ||
onSorted?: ((sortBy: string, isDesc: boolean) => any) | undefined; | ||
"onUpdate:busy"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:selectedItems"?: ((value: TableItem<T>[]) => any) | undefined; | ||
"onUpdate:sortDesc"?: ((value: boolean) => any) | undefined; | ||
"onUpdate:sortBy"?: ((value: string) => any) | undefined; | ||
provider?: BTableProvider<T> | undefined; | ||
sortCompare?: BTableSortCompare<T> | undefined; | ||
noProvider?: readonly ("paging" | "sorting" | "filtering")[] | undefined; | ||
noProviderPaging?: Booleanish | undefined; | ||
noProviderSorting?: Booleanish | undefined; | ||
noProviderFiltering?: Booleanish | undefined; | ||
sortBy?: string | undefined; | ||
sortDesc?: Booleanish | undefined; | ||
selectable?: Booleanish | undefined; | ||
stickySelect?: Booleanish | undefined; | ||
onFiltered?: ((value: T[]) => any) | undefined; | ||
"onRow-selected"?: ((value: T) => any) | undefined; | ||
"onRow-unselected"?: ((value: T) => any) | undefined; | ||
onSelection?: ((value: T[]) => any) | undefined; | ||
onSorted?: ((value: BTableSortBy) => any) | undefined; | ||
provider?: import('../../types').BTableProvider<T> | undefined; | ||
noProvider?: readonly NoProviderTypes[] | undefined; | ||
noProviderPaging?: boolean | undefined; | ||
noProviderSorting?: boolean | undefined; | ||
noProviderFiltering?: boolean | undefined; | ||
sortBy?: BTableSortBy[] | undefined; | ||
mustSort?: boolean | string[] | undefined; | ||
noSortReset?: boolean | undefined; | ||
selectable?: boolean | undefined; | ||
multisort?: boolean | undefined; | ||
stickySelect?: boolean | undefined; | ||
selectHead?: string | boolean | undefined; | ||
selectMode?: "range" | "single" | "multi" | undefined; | ||
selectionVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
selectionVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
busyLoadingText?: string | undefined; | ||
currentPage?: Numberish | undefined; | ||
currentPage?: import('../../types').Numberish | undefined; | ||
filterable?: readonly string[] | undefined; | ||
noLocalSorting?: Booleanish | undefined; | ||
noSelectOnClick?: Booleanish | undefined; | ||
sortCompareLocale?: string | string[] | undefined; | ||
sortCompareOptions?: Intl.CollatorOptions | undefined; | ||
selectedItems?: readonly TableItem<T>[] | undefined; | ||
noSortableIcon?: Booleanish | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
expose(exposed: import("vue").ShallowUnwrapRef<{ | ||
noLocalSorting?: boolean | undefined; | ||
noSelectOnClick?: boolean | undefined; | ||
selectedItems?: (readonly T[] & T[]) | undefined; | ||
noSortableIcon?: boolean | undefined; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{ | ||
clearSelected: () => void; | ||
@@ -351,29 +365,43 @@ refresh: () => Promise<void>; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & Partial<Record<string, (_: { | ||
value: unknown; | ||
index: number; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}) => any>> & { | ||
sortAsc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
sortDesc?(_: { | ||
value: unknown; | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
toggleDetails: () => void; | ||
detailsShowing: boolean; | ||
}): any; | ||
"table-busy"?(_: {}): any; | ||
}; | ||
emit: ((evt: "head-clicked", key: LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: TableItem<T>[]) => void) & ((evt: "row-selected", value: TableItem<T>) => void) & ((evt: "row-unselected", value: TableItem<T>) => void) & ((evt: "selection", value: TableItem<T>[]) => void) & ((evt: "sorted", sortBy: string, isDesc: boolean) => void) & ((evt: "update:busy", value: boolean) => void) & ((evt: "update:selectedItems", value: TableItem<T>[]) => void) & ((evt: "update:sortDesc", value: boolean) => void) & ((evt: "update:sortBy", value: string) => void); | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "filtered", value: T[]) => void) & ((evt: "row-selected", value: T) => void) & ((evt: "row-unselected", value: T) => void) & ((evt: "selection", value: T[]) => void) & ((evt: "sorted", value: BTableSortBy) => void); | ||
} | undefined; | ||
@@ -380,0 +408,0 @@ }; |
@@ -1,31 +0,32 @@ | ||
import type { TableField, TableFieldAttribute, TableFieldRaw, TableItem } from '../../types'; | ||
declare const _default: <T = Record<string, unknown>>(__VLS_props: { | ||
import { TableField, TableFieldAttribute } from '../../types'; | ||
declare const _default: <T>(__VLS_props: { | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: import("../../types").Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: import("../../types").Booleanish | undefined; | ||
dark?: import("../../types").Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
bordered?: import("../../types").Booleanish | undefined; | ||
borderless?: import("../../types").Booleanish | undefined; | ||
captionTop?: import("../../types").Booleanish | undefined; | ||
hover?: import("../../types").Booleanish | undefined; | ||
noBorderCollapse?: import("../../types").Booleanish | undefined; | ||
outlined?: import("../../types").Booleanish | undefined; | ||
responsive?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: import("../../types").Booleanish | undefined; | ||
striped?: import("../../types").Booleanish | undefined; | ||
stripedColumns?: import("../../types").Booleanish | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
tableClass?: any; | ||
"onHead-clicked"?: ((key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -35,14 +36,14 @@ emptyFilteredText?: string | undefined; | ||
fieldColumnClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((field: TableField<T>) => readonly Record<string, any>[]) | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: import("../../types").Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: import("../../types").Booleanish | undefined; | ||
fields?: import('../../types').TableFieldRaw<T>[] | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: import("../../types").Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -52,7 +53,9 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: { | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: { | ||
slots: Partial<Record<string, (_: { | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -62,5 +65,7 @@ }) => any>> & Partial<Record<string, (_: { | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
@@ -70,4 +75,6 @@ detailsShowing: boolean; | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -77,3 +84,3 @@ }) => any>> & { | ||
"thead-sub"?(_: { | ||
key: import("../../types").LiteralUnion<keyof T>; | ||
key: import('../../types').LiteralUnion<string | number | symbol>; | ||
label?: string | undefined; | ||
@@ -83,21 +90,26 @@ headerTitle?: string | undefined; | ||
class?: any; | ||
formatter?: import("../../types").TableFieldFormatter<T> | undefined; | ||
formatter?: import('../../types').TableFieldFormatter<any> | undefined; | ||
sortable?: boolean | undefined; | ||
sortKey?: string | undefined; | ||
sortDirection?: string | undefined; | ||
sortByFormatted?: boolean | import("../../types").TableFieldFormatter<T> | undefined; | ||
sortByFormatted?: boolean | import('../../types').TableFieldFormatter<any> | undefined; | ||
filterByFormatted?: boolean | undefined; | ||
tdClass?: any; | ||
thClass?: any; | ||
thStyle?: import("vue").StyleValue; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<T> | undefined; | ||
thAttr?: TableFieldAttribute<T> | undefined; | ||
thStyle?: import('vue').StyleValue; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<any> | undefined; | ||
thAttr?: TableFieldAttribute<any> | undefined; | ||
isRowHeader?: boolean | undefined; | ||
stickyColumn?: boolean | undefined; | ||
items: TableField<T>[]; | ||
_noHeader?: true | undefined; | ||
items: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
}): any; | ||
"custom-body"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -107,14 +119,20 @@ }): any; | ||
"row-details"?(_: { | ||
item: TableItem<T>; | ||
item: T & Record<string, unknown> & { | ||
_rowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
_cellVariants?: Partial<Record<string, keyof import('../../types').BaseColorVariant>> | undefined; | ||
_showDetails?: boolean | undefined; | ||
}; | ||
toggleDetails: () => void; | ||
fields: TableFieldRaw<T>[]; | ||
fields: import('../../types').TableFieldRaw<T>[]; | ||
index: number; | ||
}): any; | ||
empty?(_: { | ||
items: readonly TableItem<T>[]; | ||
items: readonly T[]; | ||
}): any; | ||
"bottom-row"?(_: {}): any; | ||
"custom-foot"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -125,33 +143,33 @@ }): any; | ||
attrs: any; | ||
emit: ((evt: "head-clicked", key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void); | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void); | ||
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{ | ||
props: { | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: import("../../types").Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: import("../../types").Booleanish | undefined; | ||
dark?: import("../../types").Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
bordered?: import("../../types").Booleanish | undefined; | ||
borderless?: import("../../types").Booleanish | undefined; | ||
captionTop?: import("../../types").Booleanish | undefined; | ||
hover?: import("../../types").Booleanish | undefined; | ||
noBorderCollapse?: import("../../types").Booleanish | undefined; | ||
outlined?: import("../../types").Booleanish | undefined; | ||
responsive?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: import("../../types").Booleanish | undefined; | ||
striped?: import("../../types").Booleanish | undefined; | ||
stripedColumns?: import("../../types").Booleanish | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
tableClass?: any; | ||
"onHead-clicked"?: ((key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -161,14 +179,14 @@ emptyFilteredText?: string | undefined; | ||
fieldColumnClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((field: TableField<T>) => readonly Record<string, any>[]) | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: import("../../types").Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: import("../../types").Booleanish | undefined; | ||
fields?: import('../../types').TableFieldRaw<T>[] | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: import("../../types").Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -178,3 +196,3 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -184,4 +202,6 @@ attrs: any; | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -191,5 +211,7 @@ }) => any>> & Partial<Record<string, (_: { | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
@@ -199,4 +221,6 @@ detailsShowing: boolean; | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -206,3 +230,3 @@ }) => any>> & { | ||
"thead-sub"?(_: { | ||
key: import("../../types").LiteralUnion<keyof T>; | ||
key: import('../../types').LiteralUnion<string | number | symbol>; | ||
label?: string | undefined; | ||
@@ -212,21 +236,26 @@ headerTitle?: string | undefined; | ||
class?: any; | ||
formatter?: import("../../types").TableFieldFormatter<T> | undefined; | ||
formatter?: import('../../types').TableFieldFormatter<any> | undefined; | ||
sortable?: boolean | undefined; | ||
sortKey?: string | undefined; | ||
sortDirection?: string | undefined; | ||
sortByFormatted?: boolean | import("../../types").TableFieldFormatter<T> | undefined; | ||
sortByFormatted?: boolean | import('../../types').TableFieldFormatter<any> | undefined; | ||
filterByFormatted?: boolean | undefined; | ||
tdClass?: any; | ||
thClass?: any; | ||
thStyle?: import("vue").StyleValue; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<T> | undefined; | ||
thAttr?: TableFieldAttribute<T> | undefined; | ||
thStyle?: import('vue').StyleValue; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<any> | undefined; | ||
thAttr?: TableFieldAttribute<any> | undefined; | ||
isRowHeader?: boolean | undefined; | ||
stickyColumn?: boolean | undefined; | ||
items: TableField<T>[]; | ||
_noHeader?: true | undefined; | ||
items: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
}): any; | ||
"custom-body"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -236,14 +265,20 @@ }): any; | ||
"row-details"?(_: { | ||
item: TableItem<T>; | ||
item: T & Record<string, unknown> & { | ||
_rowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
_cellVariants?: Partial<Record<string, keyof import('../../types').BaseColorVariant>> | undefined; | ||
_showDetails?: boolean | undefined; | ||
}; | ||
toggleDetails: () => void; | ||
fields: TableFieldRaw<T>[]; | ||
fields: import('../../types').TableFieldRaw<T>[]; | ||
index: number; | ||
}): any; | ||
empty?(_: { | ||
items: readonly TableItem<T>[]; | ||
items: readonly T[]; | ||
}): any; | ||
"bottom-row"?(_: {}): any; | ||
"custom-foot"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -253,4 +288,4 @@ }): any; | ||
}; | ||
emit: ((evt: "head-clicked", key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void); | ||
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void); | ||
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { | ||
[key: string]: any; | ||
@@ -260,30 +295,30 @@ }> & { | ||
props: { | ||
fixed?: boolean | undefined; | ||
small?: boolean | undefined; | ||
id?: string | undefined; | ||
caption?: string | undefined; | ||
small?: import("../../types").Booleanish | undefined; | ||
align?: import("../../types").VerticalAlign | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
fixed?: import("../../types").Booleanish | undefined; | ||
dark?: import("../../types").Booleanish | undefined; | ||
align?: import('../../types').VerticalAlign | undefined; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
dark?: boolean | undefined; | ||
modelValue?: any; | ||
items?: readonly TableItem<T>[] | undefined; | ||
borderVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
items?: readonly T[] | undefined; | ||
borderVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
captionHtml?: string | undefined; | ||
stacked?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
bordered?: import("../../types").Booleanish | undefined; | ||
borderless?: import("../../types").Booleanish | undefined; | ||
captionTop?: import("../../types").Booleanish | undefined; | ||
hover?: import("../../types").Booleanish | undefined; | ||
noBorderCollapse?: import("../../types").Booleanish | undefined; | ||
outlined?: import("../../types").Booleanish | undefined; | ||
responsive?: import("../../types").Booleanish | import("../../types").Breakpoint | undefined; | ||
stickyHeader?: import("../../types").Booleanish | undefined; | ||
striped?: import("../../types").Booleanish | undefined; | ||
stripedColumns?: import("../../types").Booleanish | undefined; | ||
stacked?: boolean | import('../../types').Breakpoint | undefined; | ||
bordered?: boolean | undefined; | ||
borderless?: boolean | undefined; | ||
captionTop?: boolean | undefined; | ||
hover?: boolean | undefined; | ||
noBorderCollapse?: boolean | undefined; | ||
outlined?: boolean | undefined; | ||
responsive?: boolean | import('../../types').Breakpoint | undefined; | ||
stickyHeader?: boolean | import('../../types').Numberish | undefined; | ||
striped?: boolean | undefined; | ||
stripedColumns?: boolean | undefined; | ||
tableClass?: any; | ||
"onHead-clicked"?: ((key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: TableItem<T>, index: number, event: MouseEvent) => any) | undefined; | ||
"onHead-clicked"?: ((key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => any) | undefined; | ||
"onRow-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-dbl-clicked"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-hovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
"onRow-unhovered"?: ((item: T, index: number, event: MouseEvent) => any) | undefined; | ||
detailsTdClass?: any; | ||
@@ -293,14 +328,14 @@ emptyFilteredText?: string | undefined; | ||
fieldColumnClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((field: TableField<T>) => readonly Record<string, any>[]) | undefined; | ||
fields?: TableFieldRaw<T>[] | undefined; | ||
footClone?: import("../../types").Booleanish | undefined; | ||
footRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
footVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
headVariant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
labelStacked?: import("../../types").Booleanish | undefined; | ||
fields?: import('../../types').TableFieldRaw<T>[] | undefined; | ||
footClone?: boolean | undefined; | ||
footRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
footVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headRowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
headVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
labelStacked?: boolean | undefined; | ||
primaryKey?: string | undefined; | ||
showEmpty?: import("../../types").Booleanish | undefined; | ||
showEmpty?: boolean | undefined; | ||
tbodyClass?: any; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tbodyTrClass?: string | readonly any[] | Readonly<Record<PropertyKey, any>> | ((item: T | null, type: string) => string | readonly any[] | null | undefined) | undefined; | ||
tfootClass?: any; | ||
@@ -310,3 +345,3 @@ tfootTrClass?: any; | ||
theadTrClass?: any; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps; | ||
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; | ||
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void; | ||
@@ -316,4 +351,6 @@ attrs: any; | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -323,5 +360,7 @@ }) => any>> & Partial<Record<string, (_: { | ||
index: number; | ||
item: TableItem<T>; | ||
field: TableField<T>; | ||
items: readonly TableItem<T>[]; | ||
item: T; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
items: readonly T[]; | ||
toggleDetails: () => void; | ||
@@ -331,4 +370,6 @@ detailsShowing: boolean; | ||
label: string | undefined; | ||
column: import("../../types").LiteralUnion<keyof T>; | ||
field: TableField<T>; | ||
column: import('../../types').LiteralUnion<string | number | symbol>; | ||
field: TableField & { | ||
_noHeader?: true | undefined; | ||
}; | ||
isFoot: boolean; | ||
@@ -338,3 +379,3 @@ }) => any>> & { | ||
"thead-sub"?(_: { | ||
key: import("../../types").LiteralUnion<keyof T>; | ||
key: import('../../types').LiteralUnion<string | number | symbol>; | ||
label?: string | undefined; | ||
@@ -344,21 +385,26 @@ headerTitle?: string | undefined; | ||
class?: any; | ||
formatter?: import("../../types").TableFieldFormatter<T> | undefined; | ||
formatter?: import('../../types').TableFieldFormatter<any> | undefined; | ||
sortable?: boolean | undefined; | ||
sortKey?: string | undefined; | ||
sortDirection?: string | undefined; | ||
sortByFormatted?: boolean | import("../../types").TableFieldFormatter<T> | undefined; | ||
sortByFormatted?: boolean | import('../../types').TableFieldFormatter<any> | undefined; | ||
filterByFormatted?: boolean | undefined; | ||
tdClass?: any; | ||
thClass?: any; | ||
thStyle?: import("vue").StyleValue; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<T> | undefined; | ||
thAttr?: TableFieldAttribute<T> | undefined; | ||
thStyle?: import('vue').StyleValue; | ||
variant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
tdAttr?: TableFieldAttribute<any> | undefined; | ||
thAttr?: TableFieldAttribute<any> | undefined; | ||
isRowHeader?: boolean | undefined; | ||
stickyColumn?: boolean | undefined; | ||
items: TableField<T>[]; | ||
_noHeader?: true | undefined; | ||
items: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
}): any; | ||
"custom-body"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -368,14 +414,20 @@ }): any; | ||
"row-details"?(_: { | ||
item: TableItem<T>; | ||
item: T & Record<string, unknown> & { | ||
_rowVariant?: keyof import('../../types').BaseColorVariant | null | undefined; | ||
_cellVariants?: Partial<Record<string, keyof import('../../types').BaseColorVariant>> | undefined; | ||
_showDetails?: boolean | undefined; | ||
}; | ||
toggleDetails: () => void; | ||
fields: TableFieldRaw<T>[]; | ||
fields: import('../../types').TableFieldRaw<T>[]; | ||
index: number; | ||
}): any; | ||
empty?(_: { | ||
items: readonly TableItem<T>[]; | ||
items: readonly T[]; | ||
}): any; | ||
"bottom-row"?(_: {}): any; | ||
"custom-foot"?(_: { | ||
fields: TableField<T>[]; | ||
items: readonly TableItem<T>[]; | ||
fields: (TableField & { | ||
_noHeader?: true | undefined; | ||
})[]; | ||
items: readonly T[]; | ||
columns: number; | ||
@@ -385,3 +437,3 @@ }): any; | ||
}; | ||
emit: ((evt: "head-clicked", key: import("../../types").LiteralUnion<keyof T>, field: TableFieldRaw<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: TableItem<T>, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: TableItem<T>, index: number, event: MouseEvent) => void); | ||
emit: ((evt: "head-clicked", key: string, field: TableField<T>, event: MouseEvent, isFooter: boolean) => void) & ((evt: "row-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-dbl-clicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-hovered", item: T, index: number, event: MouseEvent) => void) & ((evt: "row-unhovered", item: T, index: number, event: MouseEvent) => void); | ||
} | undefined; | ||
@@ -388,0 +440,0 @@ }; |
@@ -1,3 +0,4 @@ | ||
import type { BTableSimpleProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTableSimpleProps>, { | ||
import { BTableSimpleProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTableSimpleProps>, { | ||
borderVariant: null; | ||
@@ -21,3 +22,3 @@ tableClass: undefined; | ||
stickyHeader: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTableSimpleProps>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTableSimpleProps>, { | ||
borderVariant: null; | ||
@@ -42,19 +43,19 @@ tableClass: undefined; | ||
}>>>, { | ||
fixed: boolean; | ||
small: boolean; | ||
id: string; | ||
small: import("../../types").Booleanish; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
fixed: import("../../types").Booleanish; | ||
dark: import("../../types").Booleanish; | ||
borderVariant: keyof import("../../types").BaseColorVariant | null; | ||
stacked: import("../../types").Booleanish | import("../../types").Breakpoint; | ||
bordered: import("../../types").Booleanish; | ||
borderless: import("../../types").Booleanish; | ||
captionTop: import("../../types").Booleanish; | ||
hover: import("../../types").Booleanish; | ||
noBorderCollapse: import("../../types").Booleanish; | ||
outlined: import("../../types").Booleanish; | ||
responsive: import("../../types").Booleanish | import("../../types").Breakpoint; | ||
stickyHeader: import("../../types").Booleanish; | ||
striped: import("../../types").Booleanish; | ||
stripedColumns: import("../../types").Booleanish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
dark: boolean; | ||
borderVariant: keyof import('../../types').BaseColorVariant | null; | ||
stacked: boolean | import('../../types').Breakpoint; | ||
bordered: boolean; | ||
borderless: boolean; | ||
captionTop: boolean; | ||
hover: boolean; | ||
noBorderCollapse: boolean; | ||
outlined: boolean; | ||
responsive: boolean | import('../../types').Breakpoint; | ||
stickyHeader: boolean | import('../../types').Numberish; | ||
striped: boolean; | ||
stripedColumns: boolean; | ||
tableClass: any; | ||
@@ -61,0 +62,0 @@ }, {}>, Readonly<{ |
@@ -1,11 +0,9 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BTbodyProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTbodyProps>, { | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTbodyProps>, { | ||
variant: null; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -12,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,9 +0,4 @@ | ||
import type { Booleanish, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
colspan?: Numberish | undefined; | ||
rowspan?: Numberish | undefined; | ||
stackedHeading?: string | undefined; | ||
stickyColumn?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BTdProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTdProps>, { | ||
colspan: undefined; | ||
@@ -14,9 +9,3 @@ rowspan: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
colspan?: Numberish | undefined; | ||
rowspan?: Numberish | undefined; | ||
stackedHeading?: string | undefined; | ||
stickyColumn?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTdProps>, { | ||
colspan: undefined; | ||
@@ -28,6 +17,6 @@ rowspan: undefined; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
stickyColumn: Booleanish; | ||
colspan: Numberish; | ||
rowspan: Numberish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
stickyColumn: boolean; | ||
colspan: import('../../types').Numberish; | ||
rowspan: import('../../types').Numberish; | ||
stackedHeading: string; | ||
@@ -34,0 +23,0 @@ }, {}>, Readonly<{ |
@@ -1,11 +0,9 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BTfootProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTfootProps>, { | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTfootProps>, { | ||
variant: null; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -12,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,9 +0,4 @@ | ||
import type { Booleanish, Numberish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
colspan?: Numberish | undefined; | ||
rowspan?: Numberish | undefined; | ||
stackedHeading?: string | undefined; | ||
stickyColumn?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BThProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BThProps>, { | ||
colspan: undefined; | ||
@@ -14,9 +9,3 @@ rowspan: undefined; | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
colspan?: Numberish | undefined; | ||
rowspan?: Numberish | undefined; | ||
stackedHeading?: string | undefined; | ||
stickyColumn?: Booleanish | undefined; | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BThProps>, { | ||
colspan: undefined; | ||
@@ -28,6 +17,6 @@ rowspan: undefined; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
stickyColumn: Booleanish; | ||
colspan: Numberish; | ||
rowspan: Numberish; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
stickyColumn: boolean; | ||
colspan: import('../../types').Numberish; | ||
rowspan: import('../../types').Numberish; | ||
stackedHeading: string; | ||
@@ -34,0 +23,0 @@ }, {}>, Readonly<{ |
@@ -1,11 +0,9 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BTheadProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTheadProps>, { | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTheadProps>, { | ||
variant: null; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -12,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,11 +0,9 @@ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
import { BTrProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTrProps>, { | ||
variant: null; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
variant?: keyof import("../../types").BaseColorVariant | null | undefined; | ||
}>, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTrProps>, { | ||
variant: null; | ||
}>>>, { | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
}, {}>, Readonly<{ | ||
@@ -12,0 +10,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,70 +0,104 @@ | ||
import type { AttrsValue, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
active?: Booleanish | undefined; | ||
buttonId?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
id?: string | undefined; | ||
lazy?: Booleanish | undefined; | ||
lazyOnce?: Booleanish | undefined; | ||
noBody?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
titleItemClass?: any; | ||
titleLinkAttrs?: Readonly<AttrsValue> | undefined; | ||
titleLinkClass?: any; | ||
}>, { | ||
active: boolean; | ||
buttonId: undefined; | ||
disabled: boolean; | ||
id: undefined; | ||
lazy: undefined; | ||
lazyOnce: undefined; | ||
noBody: boolean; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
active: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noBody: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonId: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
lazyOnce: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
titleItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
titleLinkAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
titleLinkClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
active: import('vue').PropType<boolean>; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noBody: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
buttonId: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
lazyOnce: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
titleItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
titleLinkAttrs: { | ||
type: import('vue').PropType<Readonly<import('../../types').AttrsValue>>; | ||
default: undefined; | ||
}; | ||
titleLinkClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
}>>, { | ||
tag: string; | ||
title: undefined; | ||
titleItemClass: undefined; | ||
titleLinkAttrs: undefined; | ||
titleLinkClass: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:active": (value: boolean) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
active?: Booleanish | undefined; | ||
buttonId?: string | undefined; | ||
disabled?: Booleanish | undefined; | ||
id?: string | undefined; | ||
lazy?: Booleanish | undefined; | ||
lazyOnce?: Booleanish | undefined; | ||
noBody?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
title?: string | undefined; | ||
titleItemClass?: any; | ||
titleLinkAttrs?: Readonly<AttrsValue> | undefined; | ||
titleLinkClass?: any; | ||
}>, { | ||
active: boolean; | ||
buttonId: undefined; | ||
title: string; | ||
id: string; | ||
disabled: boolean; | ||
id: undefined; | ||
lazy: undefined; | ||
lazyOnce: undefined; | ||
lazy: boolean; | ||
noBody: boolean; | ||
tag: string; | ||
title: undefined; | ||
titleItemClass: undefined; | ||
titleLinkAttrs: undefined; | ||
titleLinkClass: undefined; | ||
}>>> & { | ||
"onUpdate:active"?: ((value: boolean) => any) | undefined; | ||
}, { | ||
tag: string; | ||
title: string; | ||
id: string; | ||
disabled: Booleanish; | ||
active: Booleanish; | ||
lazy: Booleanish; | ||
noBody: Booleanish; | ||
buttonId: string; | ||
lazyOnce: Booleanish; | ||
lazyOnce: boolean; | ||
titleItemClass: any; | ||
titleLinkAttrs: Readonly<AttrsValue>; | ||
titleLinkAttrs: Readonly<import('../../types').AttrsValue>; | ||
titleLinkClass: any; | ||
@@ -79,19 +113,2 @@ }, {}>, Readonly<{ | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -98,0 +115,0 @@ new (): { |
import { BvEvent } from '../../utils'; | ||
import type { AlignmentJustifyContent, Booleanish } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
activeId?: string | undefined; | ||
activeNavItemClass?: any; | ||
activeTabClass?: any; | ||
align?: AlignmentJustifyContent | undefined; | ||
card?: Booleanish | undefined; | ||
contentClass?: any; | ||
end?: Booleanish | undefined; | ||
fill?: Booleanish | undefined; | ||
id?: string | undefined; | ||
inactiveNavItemClass?: any; | ||
inactiveTabClass?: any; | ||
justified?: Booleanish | undefined; | ||
lazy?: Booleanish | undefined; | ||
modelValue?: number | undefined; | ||
navClass?: any; | ||
navItemClass?: any; | ||
navWrapperClass?: any; | ||
noFade?: Booleanish | undefined; | ||
noNavStyle?: Booleanish | undefined; | ||
pills?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
tabClass?: any; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
activeId: undefined; | ||
activeNavItemClass: undefined; | ||
activeTabClass: undefined; | ||
align: undefined; | ||
card: boolean; | ||
contentClass: undefined; | ||
end: boolean; | ||
fill: boolean; | ||
id: undefined; | ||
inactiveNavItemClass: undefined; | ||
inactiveTabClass: undefined; | ||
justified: boolean; | ||
lazy: boolean; | ||
modelValue: number; | ||
navClass: undefined; | ||
navItemClass: undefined; | ||
navWrapperClass: undefined; | ||
noFade: boolean; | ||
noNavStyle: boolean; | ||
pills: boolean; | ||
small: boolean; | ||
tag: string; | ||
tabClass: undefined; | ||
vertical: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number>; | ||
activeId: import('vue').PropType<string | undefined>; | ||
fill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
small: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
align: { | ||
type: import('vue').PropType<import('../../types').AlignmentJustifyContent>; | ||
default: undefined; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
vertical: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
contentClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
card: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
justified: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
pills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
activeTabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
activeNavItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inactiveNavItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inactiveTabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navWrapperClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noNavStyle: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
click: () => void; | ||
"update:modelValue": (value: number) => void; | ||
"activate-tab": (v1: number, v2: number, v3: BvEvent) => void; | ||
"update:activeId": (value: string) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
activeId?: string | undefined; | ||
activeNavItemClass?: any; | ||
activeTabClass?: any; | ||
align?: AlignmentJustifyContent | undefined; | ||
card?: Booleanish | undefined; | ||
contentClass?: any; | ||
end?: Booleanish | undefined; | ||
fill?: Booleanish | undefined; | ||
id?: string | undefined; | ||
inactiveNavItemClass?: any; | ||
inactiveTabClass?: any; | ||
justified?: Booleanish | undefined; | ||
lazy?: Booleanish | undefined; | ||
modelValue?: number | undefined; | ||
navClass?: any; | ||
navItemClass?: any; | ||
navWrapperClass?: any; | ||
noFade?: Booleanish | undefined; | ||
noNavStyle?: Booleanish | undefined; | ||
pills?: Booleanish | undefined; | ||
small?: Booleanish | undefined; | ||
tag?: string | undefined; | ||
tabClass?: any; | ||
vertical?: Booleanish | undefined; | ||
}>, { | ||
activeId: undefined; | ||
activeNavItemClass: undefined; | ||
activeTabClass: undefined; | ||
align: undefined; | ||
card: boolean; | ||
contentClass: undefined; | ||
end: boolean; | ||
fill: boolean; | ||
id: undefined; | ||
inactiveNavItemClass: undefined; | ||
inactiveTabClass: undefined; | ||
justified: boolean; | ||
lazy: boolean; | ||
modelValue: number; | ||
navClass: undefined; | ||
navItemClass: undefined; | ||
navWrapperClass: undefined; | ||
noFade: boolean; | ||
noNavStyle: boolean; | ||
pills: boolean; | ||
small: boolean; | ||
tag: string; | ||
tabClass: undefined; | ||
vertical: boolean; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((value: number) => any) | undefined; | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number>; | ||
activeId: import('vue').PropType<string | undefined>; | ||
fill: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
small: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
end: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
align: { | ||
type: import('vue').PropType<import('../../types').AlignmentJustifyContent>; | ||
default: undefined; | ||
}; | ||
lazy: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
vertical: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
contentClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
card: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
justified: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
pills: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
activeTabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
activeNavItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inactiveNavItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
inactiveTabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navItemClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
navWrapperClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
noNavStyle: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
tabClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
}>> & { | ||
onClick?: (() => any) | undefined; | ||
"onActivate-tab"?: ((v1: number, v2: number, v3: BvEvent) => any) | undefined; | ||
"onUpdate:activeId"?: ((value: string) => any) | undefined; | ||
}, { | ||
fill: Booleanish; | ||
fill: boolean; | ||
tag: string; | ||
end: Booleanish; | ||
small: boolean; | ||
end: boolean; | ||
id: string; | ||
small: Booleanish; | ||
align: AlignmentJustifyContent; | ||
lazy: Booleanish; | ||
modelValue: number; | ||
noFade: Booleanish; | ||
vertical: Booleanish; | ||
align: import('../../types').AlignmentJustifyContent; | ||
lazy: boolean; | ||
noFade: boolean; | ||
vertical: boolean; | ||
contentClass: any; | ||
card: Booleanish; | ||
justified: Booleanish; | ||
pills: Booleanish; | ||
card: boolean; | ||
justified: boolean; | ||
pills: boolean; | ||
activeTabClass: any; | ||
activeId: string; | ||
activeNavItemClass: any; | ||
@@ -136,3 +212,3 @@ inactiveNavItemClass: any; | ||
navWrapperClass: any; | ||
noNavStyle: Booleanish; | ||
noNavStyle: boolean; | ||
tabClass: any; | ||
@@ -151,19 +227,2 @@ }, {}>, Readonly<{ | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -170,0 +229,0 @@ new (): { |
@@ -1,44 +0,158 @@ | ||
import type { BToastProps } from '../../types'; | ||
import { BvTriggerableEvent } from '../../utils'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BToastProps>, { | ||
bgVariant: null; | ||
body: undefined; | ||
bodyClass: undefined; | ||
headerClass: undefined; | ||
headerTag: string; | ||
id: undefined; | ||
interval: number; | ||
isStatus: boolean; | ||
modelValue: boolean; | ||
noCloseButton: boolean; | ||
noFade: boolean; | ||
noHoverPause: boolean; | ||
progressProps: undefined; | ||
showOnPause: boolean; | ||
solid: boolean; | ||
textVariant: null; | ||
title: undefined; | ||
toastClass: undefined; | ||
transProps: undefined; | ||
active: undefined; | ||
activeClass: undefined; | ||
append: undefined; | ||
disabled: undefined; | ||
exactActiveClass: undefined; | ||
href: undefined; | ||
icon: undefined; | ||
opacity: undefined; | ||
opacityHover: undefined; | ||
rel: undefined; | ||
replace: undefined; | ||
routerComponentName: undefined; | ||
target: undefined; | ||
to: undefined; | ||
underlineOffset: undefined; | ||
underlineOffsetHover: undefined; | ||
underlineOpacity: undefined; | ||
underlineOpacityHover: undefined; | ||
underlineVariant: undefined; | ||
variant: undefined; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<number | boolean>; | ||
replace: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<import('../../types').LinkTarget>; | ||
default: undefined; | ||
}; | ||
to: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
append: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
body: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
href: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
rel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
active: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
activeClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
routerComponentName: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
opacity: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
opacityHover: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
underlineOffset: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOffsetHover: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOpacity: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineOpacityHover: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
solid: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
icon: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
exactActiveClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
isStatus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseButton: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
progressProps: { | ||
type: import('vue').PropType<Omit<import('../../types').BProgressBarProps, "label" | "value" | "max" | "labelHtml">>; | ||
default: undefined; | ||
}; | ||
showOnPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
toastClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
transProps: { | ||
type: import('vue').PropType<Readonly<import('../../types').BTransitionProps>>; | ||
default: undefined; | ||
}; | ||
bgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
textVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
}, { | ||
pause: () => void; | ||
@@ -48,6 +162,5 @@ restart: () => void; | ||
stop: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
hidden: (value: BvTriggerableEvent) => void; | ||
close: (value: BvTriggerableEvent) => void; | ||
"update:modelValue": (value: number | boolean) => void; | ||
show: (value: BvTriggerableEvent) => void; | ||
@@ -59,45 +172,158 @@ hide: (value: BvTriggerableEvent) => void; | ||
"close-countdown": (value: number) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BToastProps>, { | ||
bgVariant: null; | ||
body: undefined; | ||
bodyClass: undefined; | ||
headerClass: undefined; | ||
headerTag: string; | ||
id: undefined; | ||
interval: number; | ||
isStatus: boolean; | ||
modelValue: boolean; | ||
noCloseButton: boolean; | ||
noFade: boolean; | ||
noHoverPause: boolean; | ||
progressProps: undefined; | ||
showOnPause: boolean; | ||
solid: boolean; | ||
textVariant: null; | ||
title: undefined; | ||
toastClass: undefined; | ||
transProps: undefined; | ||
active: undefined; | ||
activeClass: undefined; | ||
append: undefined; | ||
disabled: undefined; | ||
exactActiveClass: undefined; | ||
href: undefined; | ||
icon: undefined; | ||
opacity: undefined; | ||
opacityHover: undefined; | ||
rel: undefined; | ||
replace: undefined; | ||
routerComponentName: undefined; | ||
target: undefined; | ||
to: undefined; | ||
underlineOffset: undefined; | ||
underlineOffsetHover: undefined; | ||
underlineOpacity: undefined; | ||
underlineOpacityHover: undefined; | ||
underlineVariant: undefined; | ||
variant: undefined; | ||
}>>> & { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<number | boolean>; | ||
replace: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<import('../../types').LinkTarget>; | ||
default: undefined; | ||
}; | ||
to: { | ||
type: import('vue').PropType<import('vue-router').RouteLocationRaw>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
append: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
disabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
body: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
href: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
rel: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
active: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
activeClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
routerComponentName: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
opacity: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
opacityHover: { | ||
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
underlineOffset: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOffsetHover: { | ||
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">; | ||
default: undefined; | ||
}; | ||
underlineOpacity: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
underlineOpacityHover: { | ||
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">; | ||
default: undefined; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
solid: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
icon: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
exactActiveClass: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
bodyClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
headerTag: { | ||
type: import('vue').PropType<string>; | ||
default: string; | ||
}; | ||
interval: { | ||
type: import('vue').PropType<import('../../types').Numberish>; | ||
default: number; | ||
}; | ||
isStatus: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noCloseButton: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
noHoverPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
progressProps: { | ||
type: import('vue').PropType<Omit<import('../../types').BProgressBarProps, "label" | "value" | "max" | "labelHtml">>; | ||
default: undefined; | ||
}; | ||
showOnPause: { | ||
type: import('vue').PropType<boolean>; | ||
default: boolean; | ||
}; | ||
toastClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
transProps: { | ||
type: import('vue').PropType<Readonly<import('../../types').BTransitionProps>>; | ||
default: undefined; | ||
}; | ||
bgVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseColorVariant | null>; | ||
default: null; | ||
}; | ||
textVariant: { | ||
type: import('vue').PropType<keyof import('../../types').BaseTextColorVariant | null>; | ||
default: null; | ||
}; | ||
}>> & { | ||
onHidden?: ((value: BvTriggerableEvent) => any) | undefined; | ||
"onUpdate:modelValue"?: ((value: number | boolean) => any) | undefined; | ||
onShow?: ((value: BvTriggerableEvent) => any) | undefined; | ||
@@ -111,27 +337,26 @@ onHide?: ((value: BvTriggerableEvent) => any) | undefined; | ||
}, { | ||
target: import("../../types").LinkTarget; | ||
to: import("vue-router").RouteLocationRaw; | ||
replace: boolean; | ||
target: import('../../types').LinkTarget; | ||
to: import('vue-router').RouteLocationRaw; | ||
title: string; | ||
id: string; | ||
append: import("../../types").Booleanish; | ||
disabled: import("../../types").Booleanish; | ||
append: boolean; | ||
disabled: boolean; | ||
body: string; | ||
href: string; | ||
rel: string; | ||
active: import("../../types").Booleanish; | ||
active: boolean; | ||
activeClass: string; | ||
replace: import("../../types").Booleanish; | ||
routerComponentName: string; | ||
variant: keyof import("../../types").BaseColorVariant | null; | ||
variant: keyof import('../../types').BaseColorVariant | null; | ||
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineVariant: keyof import("../../types").BaseColorVariant | null; | ||
underlineVariant: keyof import('../../types').BaseColorVariant | null; | ||
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3"; | ||
underlineOpacity: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | 10 | "0" | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
modelValue: number | boolean; | ||
noFade: import("../../types").Booleanish; | ||
solid: import("../../types").Booleanish; | ||
icon: import("../../types").Booleanish; | ||
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100"; | ||
noFade: boolean; | ||
solid: boolean; | ||
icon: boolean; | ||
exactActiveClass: string; | ||
@@ -141,12 +366,12 @@ bodyClass: any; | ||
headerTag: string; | ||
interval: import("../../types").Numberish; | ||
isStatus: import("../../types").Booleanish; | ||
noCloseButton: import("../../types").Booleanish; | ||
noHoverPause: import("../../types").Booleanish; | ||
progressProps: Omit<import("../../types").BProgressBarProps, "label" | "value" | "max" | "labelHtml">; | ||
showOnPause: import("../../types").Booleanish; | ||
interval: import('../../types').Numberish; | ||
isStatus: boolean; | ||
noCloseButton: boolean; | ||
noHoverPause: boolean; | ||
progressProps: Omit<import('../../types').BProgressBarProps, "label" | "value" | "max" | "labelHtml">; | ||
showOnPause: boolean; | ||
toastClass: any; | ||
transProps: Readonly<import("../../types").BTransitionProps>; | ||
bgVariant: keyof import("../../types").BaseColorVariant | null; | ||
textVariant: keyof import("../../types").BaseTextColorVariant | null; | ||
transProps: Readonly<import('../../types').BTransitionProps>; | ||
bgVariant: keyof import('../../types').BaseColorVariant | null; | ||
textVariant: keyof import('../../types').BaseTextColorVariant | null; | ||
}, {}>, { | ||
@@ -161,19 +386,2 @@ title?(_: { | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -180,0 +388,0 @@ new (): { |
@@ -1,8 +0,4 @@ | ||
import { type RendererElement } from 'vue'; | ||
import type { Booleanish } from '../../types'; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined; | ||
appendToast?: Booleanish | undefined; | ||
}>, { | ||
import { BToastOrchestratorProps } from '../../types'; | ||
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BToastOrchestratorProps>, { | ||
teleportDisabled: boolean; | ||
@@ -14,8 +10,8 @@ teleportTo: string; | ||
show: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../../types").OrchestratedToast>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../../types').OrchestratedToast>> | undefined; | ||
}) => symbol) | undefined; | ||
toasts: import("vue").ShallowRef<import("vue").ComputedRef<{ | ||
toasts: import('vue').ShallowRef<import('vue').ComputedRef<{ | ||
component: unknown; | ||
props: Omit<import("../../types").OrchestratedToast, "value"> & { | ||
props: Omit<import('../../types').OrchestratedToast, "value"> & { | ||
_self: symbol; | ||
@@ -25,7 +21,3 @@ _modelValue: number | boolean | undefined; | ||
}>[]> | undefined; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
teleportDisabled?: Booleanish | undefined; | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined; | ||
appendToast?: Booleanish | undefined; | ||
}>, { | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BToastOrchestratorProps>, { | ||
teleportDisabled: boolean; | ||
@@ -35,5 +27,5 @@ teleportTo: string; | ||
}>>>, { | ||
appendToast: Booleanish; | ||
teleportDisabled: Booleanish; | ||
teleportTo: string | Readonly<RendererElement> | null; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
appendToast: boolean; | ||
}, {}>; | ||
@@ -40,0 +32,0 @@ export default _default; |
@@ -1,74 +0,293 @@ | ||
import type { BTooltipProps } from '../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTooltipProps>, { | ||
click: undefined; | ||
container: undefined; | ||
content: undefined; | ||
customClass: undefined; | ||
delay: undefined; | ||
floatingMiddleware: undefined; | ||
hide: undefined; | ||
html: undefined; | ||
id: undefined; | ||
inline: undefined; | ||
interactive: undefined; | ||
manual: undefined; | ||
modelValue: undefined; | ||
noAutoClose: undefined; | ||
noFade: undefined; | ||
noFlip: undefined; | ||
noHide: undefined; | ||
noShift: undefined; | ||
noninteractive: undefined; | ||
offset: undefined; | ||
placement: undefined; | ||
realtime: undefined; | ||
reference: undefined; | ||
strategy: undefined; | ||
target: undefined; | ||
title: undefined; | ||
variant: undefined; | ||
}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{ | ||
modelValue: import('vue').PropType<boolean | undefined>; | ||
offset: { | ||
type: import('vue').PropType<import('../types').Numberish | null>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
click: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
html: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
hide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
manual: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('../../node_modules/@floating-ui/core').Rect | "viewport">; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('../../node_modules/@floating-ui/core').Padding>; | ||
}; | ||
content: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
customClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
delay: { | ||
type: import('vue').PropType<number | Readonly<{ | ||
show: number; | ||
hide: number; | ||
}>>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('../../node_modules/@floating-ui/core').Placement; | ||
strategy: import('../../node_modules/@floating-ui/core').Strategy; | ||
initialPlacement: import('../../node_modules/@floating-ui/core').Placement; | ||
middlewareData: import('../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('../../node_modules/@floating-ui/core').ElementRects; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noAutoClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noHide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
}; | ||
noninteractive: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<import('../types').PopoverPlacement>; | ||
default: undefined; | ||
}; | ||
persistent: { | ||
type: import('vue').PropType<boolean>; | ||
}; | ||
realtime: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
reference: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: undefined; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('../../node_modules/@floating-ui/core').Strategy>; | ||
default: undefined; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
interactive: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
}, { | ||
hide: ((e: Readonly<Event>) => void) | undefined; | ||
show: (() => void) | undefined; | ||
toggle: ((e?: Event | undefined) => void) | undefined; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTooltipProps>, { | ||
click: undefined; | ||
container: undefined; | ||
content: undefined; | ||
customClass: undefined; | ||
delay: undefined; | ||
floatingMiddleware: undefined; | ||
hide: undefined; | ||
html: undefined; | ||
id: undefined; | ||
inline: undefined; | ||
interactive: undefined; | ||
manual: undefined; | ||
modelValue: undefined; | ||
noAutoClose: undefined; | ||
noFade: undefined; | ||
noFlip: undefined; | ||
noHide: undefined; | ||
noShift: undefined; | ||
noninteractive: undefined; | ||
offset: undefined; | ||
placement: undefined; | ||
realtime: undefined; | ||
reference: undefined; | ||
strategy: undefined; | ||
target: undefined; | ||
title: undefined; | ||
variant: undefined; | ||
}>>>, { | ||
offset: import("../types").Numberish | null; | ||
target: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance> | null; | ||
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
modelValue: import('vue').PropType<boolean | undefined>; | ||
offset: { | ||
type: import('vue').PropType<import('../types').Numberish | null>; | ||
default: undefined; | ||
}; | ||
target: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: undefined; | ||
}; | ||
title: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
click: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
html: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
variant: { | ||
type: import('vue').PropType<keyof import('../types').BaseColorVariant | null>; | ||
default: undefined; | ||
}; | ||
hide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
manual: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
boundary: { | ||
type: import('vue').PropType<Element | "document" | "clippingAncestors" | Element[] | import('../../node_modules/@floating-ui/core').Rect | "viewport">; | ||
}; | ||
boundaryPadding: { | ||
type: import('vue').PropType<import('../../node_modules/@floating-ui/core').Padding>; | ||
}; | ||
content: { | ||
type: import('vue').PropType<string>; | ||
default: undefined; | ||
}; | ||
customClass: { | ||
type: import('vue').PropType<any>; | ||
default: undefined; | ||
}; | ||
delay: { | ||
type: import('vue').PropType<number | Readonly<{ | ||
show: number; | ||
hide: number; | ||
}>>; | ||
default: undefined; | ||
}; | ||
floatingMiddleware: { | ||
type: import('vue').PropType<{ | ||
name: string; | ||
options?: any; | ||
fn: (state: { | ||
x: number; | ||
y: number; | ||
placement: import('../../node_modules/@floating-ui/core').Placement; | ||
strategy: import('../../node_modules/@floating-ui/core').Strategy; | ||
initialPlacement: import('../../node_modules/@floating-ui/core').Placement; | ||
middlewareData: import('../../node_modules/@floating-ui/core').MiddlewareData; | ||
rects: import('../../node_modules/@floating-ui/core').ElementRects; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]>; | ||
default: undefined; | ||
}; | ||
inline: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noAutoClose: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noFade: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noFlip: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noHide: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noShift: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
noSize: { | ||
type: import('vue').PropType<boolean>; | ||
}; | ||
noninteractive: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: import('vue').PropType<import('../types').PopoverPlacement>; | ||
default: undefined; | ||
}; | ||
persistent: { | ||
type: import('vue').PropType<boolean>; | ||
}; | ||
realtime: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
reference: { | ||
type: import('vue').PropType<string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null>; | ||
default: undefined; | ||
}; | ||
strategy: { | ||
type: import('vue').PropType<import('../../node_modules/@floating-ui/core').Strategy>; | ||
default: undefined; | ||
}; | ||
teleportDisabled: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
teleportTo: { | ||
type: import('vue').PropType<string | import('vue').RendererElement | null>; | ||
default: undefined; | ||
}; | ||
interactive: { | ||
type: import('vue').PropType<boolean>; | ||
default: undefined; | ||
}; | ||
}>>, { | ||
offset: import('../types').Numberish | null; | ||
target: string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null; | ||
title: string; | ||
click: import("../types").Booleanish; | ||
click: boolean; | ||
id: string; | ||
html: import("../types").Booleanish; | ||
variant: keyof import("../types").BaseColorVariant | null; | ||
modelValue: import("../types").Booleanish; | ||
hide: import("../types").Booleanish; | ||
manual: import("../types").Booleanish; | ||
container: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance>; | ||
html: boolean; | ||
variant: keyof import('../types').BaseColorVariant | null; | ||
hide: boolean; | ||
manual: boolean; | ||
content: string; | ||
@@ -92,36 +311,21 @@ customClass: any; | ||
platform: import('../../node_modules/@floating-ui/core').Platform; | ||
elements: import("@floating-ui/vue").Elements; | ||
elements: import('@floating-ui/vue').Elements; | ||
}) => import('../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../node_modules/@floating-ui/core').MiddlewareReturn>; | ||
}[]; | ||
inline: import("../types").Booleanish; | ||
noAutoClose: import("../types").Booleanish; | ||
noFade: import("../types").Booleanish; | ||
noFlip: import("../types").Booleanish; | ||
noHide: import("../types").Booleanish; | ||
noShift: import("../types").Booleanish; | ||
noninteractive: import("../types").Booleanish; | ||
placement: import("../types").PopoverPlacement; | ||
realtime: import("../types").Booleanish; | ||
reference: string | Readonly<HTMLElement> | Readonly<import("vue").ComponentPublicInstance> | null; | ||
inline: boolean; | ||
noAutoClose: boolean; | ||
noFade: boolean; | ||
noFlip: boolean; | ||
noHide: boolean; | ||
noShift: boolean; | ||
noninteractive: boolean; | ||
placement: import('../types').PopoverPlacement; | ||
realtime: boolean; | ||
reference: string | Readonly<HTMLElement> | Readonly<import('vue').ComponentPublicInstance> | null; | ||
strategy: import('../../node_modules/@floating-ui/core').Strategy; | ||
interactive: import("../types").Booleanish; | ||
teleportDisabled: boolean; | ||
teleportTo: string | import('vue').RendererElement | null; | ||
interactive: boolean; | ||
}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -128,0 +332,0 @@ new (): { |
@@ -1,3 +0,4 @@ | ||
import type { BTransitionProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTransitionProps>, { | ||
import { BTransitionProps } from '../../types'; | ||
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTransitionProps>, { | ||
appear: boolean; | ||
@@ -7,3 +8,3 @@ mode: undefined; | ||
transProps: undefined; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
appear: (value: Element) => void; | ||
@@ -21,3 +22,3 @@ "after-appear": (value: Element) => void; | ||
"leave-cancelled": (value: Element) => void; | ||
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTransitionProps>, { | ||
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTransitionProps>, { | ||
appear: boolean; | ||
@@ -41,6 +42,6 @@ mode: undefined; | ||
}, { | ||
noFade: import("../../types").Booleanish; | ||
mode: import("../../types").TransitionMode; | ||
transProps: Readonly<import("vue").TransitionProps>; | ||
appear: import("../../types").Booleanish; | ||
noFade: boolean; | ||
mode: import('../../types').TransitionMode; | ||
transProps: Readonly<import('vue').TransitionProps>; | ||
appear: boolean; | ||
}, {}>, Readonly<{ | ||
@@ -47,0 +48,0 @@ default?: ((props: Record<string, never>) => any) | undefined; |
@@ -1,3 +0,4 @@ | ||
import { type PropType, type RendererElement, type SlotsType } from 'vue'; | ||
declare const _default: import("vue").DefineComponent<{ | ||
import { PropType, RendererElement, SlotsType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent<{ | ||
tag: { | ||
@@ -15,7 +16,7 @@ type: StringConstructor; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, RendererElement, { | ||
}, () => import('vue').VNode<import('vue').RendererNode, RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, RendererElement, { | ||
}> | import('vue').VNode<import('vue').RendererNode, RendererElement, { | ||
[key: string]: any; | ||
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | undefined, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ | ||
tag: { | ||
@@ -22,0 +23,0 @@ type: StringConstructor; |
export { default as useAlignment } from './useAlignment'; | ||
export { default as useAriaInvalid } from './useAriaInvalid'; | ||
export { default as useAvatarSize } from './useAvatarSize'; | ||
export { default as useBLinkHelper } from './useBLinkHelper'; | ||
export { default as useBooleanish } from './useBooleanish'; | ||
export { default as useBreadcrumb } from './useBreadcrumb'; | ||
@@ -14,3 +12,3 @@ export { default as useColorMode } from './useColorMode'; | ||
export { default as useFormSelect } from './useFormSelect'; | ||
export { default as useId } from './useId'; | ||
export { default as useId, getId } from './useId'; | ||
export { default as useManualTransition } from './useManualTransition'; | ||
@@ -20,2 +18,3 @@ export { default as useModal } from './useModal'; | ||
export { default as useModalManager } from './useModalManager'; | ||
export { default as useNumberishToStyle } from './useNumberishToStyle'; | ||
export { default as useRadiusElementClasses } from './useRadiusElementClasses'; | ||
@@ -22,0 +21,0 @@ export { default as useRtl } from './useRtl'; |
@@ -1,4 +0,5 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import type { AlignmentJustifyContent } from '../types'; | ||
declare const _default: (align: MaybeRefOrGetter<AlignmentJustifyContent | undefined>) => import("vue").ComputedRef<string>; | ||
import { AlignmentJustifyContent } from '../types'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (align: MaybeRefOrGetter<AlignmentJustifyContent | undefined>) => import('vue').ComputedRef<string>; | ||
export default _default; |
@@ -1,4 +0,5 @@ | ||
import type { AriaInvalid } from '../types'; | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (ariaInvalid: MaybeRefOrGetter<AriaInvalid | undefined>, state: MaybeRefOrGetter<boolean | null | undefined>) => import("vue").ComputedRef<"true" | "false" | "grammar" | "spelling" | undefined>; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
import { AriaInvalid } from '../types'; | ||
declare const _default: (ariaInvalid: MaybeRefOrGetter<AriaInvalid | undefined>, state: MaybeRefOrGetter<boolean | null | undefined>) => import('vue').ComputedRef<"grammar" | "spelling" | "true" | "false" | undefined>; | ||
export default _default; |
@@ -1,5 +0,6 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
declare const _default: <T extends Record<string, unknown>, const B extends readonly PropertyKey[]>(props: MaybeRefOrGetter<T>, pickProps?: MaybeRefOrGetter<B | (keyof T)[]> | undefined) => { | ||
computedLink: Readonly<import("vue").Ref<boolean>>; | ||
computedLinkProps: import("vue").ComputedRef<Pick<{ | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: <T extends Record<string, unknown>, const B extends readonly PropertyKey[]>(props: MaybeRefOrGetter<T>, pickProps?: MaybeRefOrGetter<B | (keyof T)[]>) => { | ||
computedLink: Readonly<import('vue').Ref<boolean>>; | ||
computedLinkProps: import('vue').ComputedRef<Pick<{ | ||
[x: string]: any; | ||
@@ -6,0 +7,0 @@ }, PropertyKey>>; |
declare const _default: () => { | ||
items?: import("vue").Ref<import("../types").BreadcrumbItemRaw[]> | undefined; | ||
items?: import('vue').Ref<import('../types').BreadcrumbItemRaw[]> | undefined; | ||
reset?: (() => void) | undefined; | ||
}; | ||
export default _default; |
@@ -1,2 +0,3 @@ | ||
import { type UseColorModeOptions } from '@vueuse/core'; | ||
import { UseColorModeOptions } from '@vueuse/core'; | ||
export interface ColorModeOptions extends UseColorModeOptions { | ||
@@ -9,3 +10,3 @@ /** | ||
} | ||
declare const _default: (opts?: Readonly<ColorModeOptions>) => import("@vueuse/core").UseColorModeReturn<import("@vueuse/core").BasicColorMode>; | ||
declare const _default: (opts?: Readonly<ColorModeOptions>) => import('@vueuse/core').UseColorModeReturn<import('@vueuse/core').BasicColorMode>; | ||
export default _default; |
@@ -1,6 +0,7 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import type { ColorExtendables } from '../types'; | ||
declare const _default: (obj: MaybeRefOrGetter<ColorExtendables>) => import("vue").ComputedRef<{ | ||
import { ColorExtendables } from '../types'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (obj: MaybeRefOrGetter<ColorExtendables>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean; | ||
}>; | ||
export default _default; |
@@ -1,4 +0,5 @@ | ||
import type { Breakpoint } from '../types'; | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (value: MaybeRefOrGetter<boolean | Breakpoint | 'fluid'>) => import("vue").ComputedRef<{ | ||
import { MaybeRefOrGetter } from 'vue'; | ||
import { Breakpoint } from '../types'; | ||
declare const _default: (value: MaybeRefOrGetter<boolean | Breakpoint | 'fluid'>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean; | ||
@@ -5,0 +6,0 @@ container: boolean; |
@@ -1,3 +0,4 @@ | ||
import { type UseIntervalFnOptions } from '@vueuse/core'; | ||
import { type MaybeRefOrGetter, type Ref } from 'vue'; | ||
import { MaybeRefOrGetter, Ref } from 'vue'; | ||
import { UseIntervalFnOptions } from '@vueuse/core'; | ||
type VoidFn = () => void; | ||
@@ -4,0 +5,0 @@ interface CountdownReturn { |
@@ -1,3 +0,4 @@ | ||
import type { AriaInvalid, ButtonVariant, Size } from '../types'; | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
import { AriaInvalid, ButtonVariant, Size } from '../types'; | ||
interface ClassesItemsInput { | ||
@@ -7,8 +8,11 @@ plain?: boolean; | ||
inline?: boolean; | ||
reverse?: boolean; | ||
switch?: boolean; | ||
size?: Size; | ||
hasDefaultSlot?: boolean; | ||
} | ||
declare const getClasses: (items: MaybeRefOrGetter<ClassesItemsInput>) => import("vue").ComputedRef<{ | ||
[x: string]: boolean; | ||
'form-check': boolean; | ||
declare const getClasses: (items: MaybeRefOrGetter<ClassesItemsInput>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean | undefined; | ||
'form-check': boolean | undefined; | ||
'form-check-reverse': boolean; | ||
'form-check-inline': boolean; | ||
@@ -22,3 +26,3 @@ 'form-switch': boolean; | ||
} | ||
declare const getInputClasses: (items: MaybeRefOrGetter<InputClassesItemsInput>) => import("vue").ComputedRef<(string | { | ||
declare const getInputClasses: (items: MaybeRefOrGetter<InputClassesItemsInput>) => import('vue').ComputedRef<(string | { | ||
'form-check-input': boolean; | ||
@@ -33,3 +37,3 @@ 'btn-check': boolean; | ||
} | ||
declare const getLabelClasses: (items: MaybeRefOrGetter<LabelClasesItemsInput>) => import("vue").ComputedRef<{ | ||
declare const getLabelClasses: (items: MaybeRefOrGetter<LabelClasesItemsInput>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean | undefined; | ||
@@ -44,3 +48,3 @@ 'form-check-label': boolean; | ||
} | ||
declare const getGroupAttr: (items: MaybeRefOrGetter<GroupAttrItemsInput>) => import("vue").ComputedRef<{ | ||
declare const getGroupAttr: (items: MaybeRefOrGetter<GroupAttrItemsInput>) => import('vue').ComputedRef<{ | ||
'aria-invalid': AriaInvalid | undefined; | ||
@@ -55,3 +59,3 @@ 'aria-required': boolean | undefined; | ||
} | ||
declare const getGroupClasses: (items: MaybeRefOrGetter<GroupClassesItemsInput>) => import("vue").ComputedRef<{ | ||
declare const getGroupClasses: (items: MaybeRefOrGetter<GroupClassesItemsInput>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean; | ||
@@ -58,0 +62,0 @@ 'was-validated': boolean; |
@@ -1,6 +0,7 @@ | ||
import type { CommonInputProps } from '../types/FormCommonInputProps'; | ||
import { CommonInputProps } from '../types/FormCommonInputProps'; | ||
declare const _default: (props: Readonly<CommonInputProps>, emit: (evt: 'update:modelValue', val: any) => void) => { | ||
input: import("vue").Ref<HTMLInputElement | null>; | ||
computedId: import("vue").ComputedRef<string>; | ||
computedAriaInvalid: import("vue").ComputedRef<"true" | "false" | "grammar" | "spelling" | undefined>; | ||
input: import('vue').Ref<HTMLInputElement | null>; | ||
computedId: import('vue').ComputedRef<string>; | ||
computedAriaInvalid: import('vue').ComputedRef<"grammar" | "spelling" | "true" | "false" | undefined>; | ||
onInput: (evt: Readonly<Event>) => void; | ||
@@ -7,0 +8,0 @@ onChange: (evt: Readonly<Event>) => void; |
@@ -1,13 +0,14 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import type { SelectOption } from '../types'; | ||
import { SelectOption } from '../types'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (options: MaybeRefOrGetter, props: Record<string, unknown>) => { | ||
normalizedOptions: import("vue").ComputedRef<(Readonly<{ | ||
normalizedOptions: import('vue').ComputedRef<(Readonly<{ | ||
label: string; | ||
options: readonly import("../types").SelectOptionRaw<unknown>[]; | ||
options: readonly import('../types').SelectOptionRaw<unknown>[]; | ||
}> | SelectOption<unknown>)[]>; | ||
isComplex: (option: unknown) => option is Readonly<{ | ||
label: string; | ||
options: readonly import("../types").SelectOptionRaw<unknown>[]; | ||
options: readonly import('../types').SelectOptionRaw<unknown>[]; | ||
}>; | ||
}; | ||
export default _default; |
@@ -1,3 +0,5 @@ | ||
import { type ComputedRef, type MaybeRefOrGetter } from 'vue'; | ||
import { ComputedRef, MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (id?: MaybeRefOrGetter<string | undefined>, suffix?: string) => ComputedRef<string>; | ||
export default _default; | ||
export declare const getId: (suffix?: string) => string; |
@@ -1,2 +0,3 @@ | ||
import { type MaybeRef, type MaybeRefOrGetter } from 'vue'; | ||
import { MaybeRef, MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (el: MaybeRef<HTMLElement | null>, classEnter: MaybeRefOrGetter<string | string[]>, classLeave: MaybeRefOrGetter<string | string[]>) => { | ||
@@ -3,0 +4,0 @@ startTransition: (onEnd?: () => void) => void; |
@@ -1,7 +0,8 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (id?: MaybeRefOrGetter<string | undefined>) => { | ||
show(): void; | ||
hide(trigger?: string): void; | ||
modal: Readonly<import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null | undefined>>; | ||
modal: Readonly<import('vue').Ref<import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null | undefined>>; | ||
}; | ||
export default _default; |
declare const _default: () => { | ||
hide: (trigger?: string) => void; | ||
hideAll: (trigger?: string) => void; | ||
modals?: import("vue").ShallowRef<import("vue").ComputedRef<{ | ||
modals?: import('vue').ShallowRef<import('vue').ComputedRef<{ | ||
component: unknown; | ||
props: import("../types").OrchestratedModal & { | ||
props: import('../types').OrchestratedModal & { | ||
_self: symbol; | ||
_modelValue: import("../types").Booleanish | undefined; | ||
_modelValue: boolean | undefined; | ||
_promise: { | ||
@@ -17,8 +17,8 @@ value: Promise<boolean | null>; | ||
show?: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../types").OrchestratedModal>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../types').OrchestratedModal>> | undefined; | ||
}) => Promise<boolean | null>) | undefined; | ||
confirm?: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../types").OrchestratedModal>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../types').OrchestratedModal>> | undefined; | ||
}) => Promise<boolean | null>) | undefined; | ||
@@ -25,0 +25,0 @@ remove?: ((self: symbol) => void) | undefined; |
@@ -1,5 +0,6 @@ | ||
import { type ComponentInternalInstance, type Ref } from 'vue'; | ||
import { ComponentInternalInstance, Ref } from 'vue'; | ||
export declare const useSharedModalStack: () => { | ||
dispose: (modal: Readonly<ComponentInternalInstance>) => void; | ||
stack?: import("vue").ShallowRef<Readonly<ComponentInternalInstance>[]> | undefined; | ||
stack?: import('vue').ShallowRef<Readonly<ComponentInternalInstance>[]> | undefined; | ||
countStack?: Readonly<Ref<number>> | undefined; | ||
@@ -9,3 +10,3 @@ lastStack?: Readonly<Ref<ComponentInternalInstance | undefined>> | undefined; | ||
removeStack?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; | ||
registry?: import("vue").ShallowRef<Readonly<ComponentInternalInstance>[]> | undefined; | ||
registry?: import('vue').ShallowRef<Readonly<ComponentInternalInstance>[]> | undefined; | ||
pushRegistry?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; | ||
@@ -15,5 +16,5 @@ removeRegistry?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; | ||
declare const _default: (modalOpen: Readonly<Ref<boolean>>) => { | ||
activePosition: import("vue").ComputedRef<number | undefined>; | ||
activePosition: import('vue').ComputedRef<number | undefined>; | ||
activeModalCount: Readonly<Ref<number>> | undefined; | ||
}; | ||
export default _default; |
@@ -1,6 +0,7 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import type { RadiusElementExtendables } from '../types'; | ||
declare const _default: (obj: MaybeRefOrGetter<RadiusElementExtendables>) => import("vue").ComputedRef<{ | ||
import { RadiusElementExtendables } from '../types'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (obj: MaybeRefOrGetter<RadiusElementExtendables>) => import('vue').ComputedRef<{ | ||
[x: string]: boolean; | ||
}>; | ||
export default _default; |
declare const _default: () => { | ||
isRtl?: import("vue").Ref<boolean> | undefined; | ||
locale?: import("vue").Ref<string | undefined> | undefined; | ||
isRtl?: import('vue').Ref<boolean> | undefined; | ||
locale?: import('vue').Ref<string | undefined> | undefined; | ||
}; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (isOpen: MaybeRefOrGetter<boolean>, bodyScroll: MaybeRefOrGetter<boolean>) => void; | ||
export default _default; |
@@ -1,2 +0,3 @@ | ||
import { type ComponentPublicInstance, type MaybeRefOrGetter, type Ref } from 'vue'; | ||
import { ComponentPublicInstance, MaybeRefOrGetter, Ref } from 'vue'; | ||
type ScrollspyList = { | ||
@@ -3,0 +4,0 @@ id: string | null; |
@@ -1,3 +0,4 @@ | ||
import { type MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (value: MaybeRefOrGetter<boolean | null>) => import("vue").ComputedRef<"is-valid" | "is-invalid" | null>; | ||
import { MaybeRefOrGetter } from 'vue'; | ||
declare const _default: (value: MaybeRefOrGetter<boolean | null>) => import('vue').ComputedRef<"is-valid" | "is-invalid" | null>; | ||
export default _default; |
declare const _default: () => { | ||
toasts?: import("vue").ShallowRef<import("vue").ComputedRef<{ | ||
toasts?: import('vue').ShallowRef<import('vue').ComputedRef<{ | ||
component: unknown; | ||
props: Omit<import("../types").OrchestratedToast, "value"> & { | ||
props: Omit<import('../types').OrchestratedToast, "value"> & { | ||
_self: symbol; | ||
@@ -11,4 +11,4 @@ _modelValue: number | boolean | undefined; | ||
show?: ((obj: { | ||
component?: Readonly<import("vue").Component> | undefined; | ||
props?: import("vue").MaybeRefOrGetter<Readonly<import("../types").OrchestratedToast>> | undefined; | ||
component?: Readonly<import('vue').Component> | undefined; | ||
props?: import('vue').MaybeRefOrGetter<Readonly<import('../types').OrchestratedToast>> | undefined; | ||
}) => symbol) | undefined; | ||
@@ -15,0 +15,0 @@ remove?: ((self: symbol) => void) | undefined; |
@@ -1,2 +0,3 @@ | ||
import type { DirectiveBinding } from 'vue'; | ||
import { DirectiveBinding } from 'vue'; | ||
declare const _default: { | ||
@@ -3,0 +4,0 @@ mounted(el: HTMLElement, binding: DirectiveBinding): void; |
@@ -1,2 +0,3 @@ | ||
import BToggle from './BToggle'; | ||
import { default as BToggle } from './BToggle'; | ||
export default BToggle; |
@@ -1,7 +0,8 @@ | ||
import { type ElementWithPopper } from '../utils/floatingUi'; | ||
import { ElementWithPopper } from '../utils/floatingUi'; | ||
declare const _default: { | ||
mounted(el: ElementWithPopper, binding: import("vue").DirectiveBinding<any>): void; | ||
updated(el: ElementWithPopper, binding: import("vue").DirectiveBinding<any>): void; | ||
mounted(el: ElementWithPopper, binding: import('vue').DirectiveBinding<any>): void; | ||
updated(el: ElementWithPopper, binding: import('vue').DirectiveBinding<any>): void; | ||
beforeUnmount(el: ElementWithPopper): void; | ||
}; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import { type DirectiveBinding } from 'vue'; | ||
import { useScrollspy } from '../composables'; | ||
import { DirectiveBinding } from 'vue'; | ||
export interface ElementWithScrollspy extends HTMLElement { | ||
@@ -4,0 +5,0 @@ $__scrollspy?: ReturnType<typeof useScrollspy>; |
@@ -1,2 +0,3 @@ | ||
import type { DirectiveBinding } from 'vue'; | ||
import { DirectiveBinding } from 'vue'; | ||
export interface WithToggle extends HTMLElement { | ||
@@ -3,0 +4,0 @@ __toggle: () => void; |
@@ -1,7 +0,8 @@ | ||
import { type ElementWithPopper } from '../utils/floatingUi'; | ||
import { ElementWithPopper } from '../utils/floatingUi'; | ||
declare const _default: { | ||
mounted(el: ElementWithPopper, binding: import("vue").DirectiveBinding<any>): void; | ||
updated(el: ElementWithPopper, binding: import("vue").DirectiveBinding<any>): void; | ||
mounted(el: ElementWithPopper, binding: import('vue').DirectiveBinding<any>): void; | ||
updated(el: ElementWithPopper, binding: import('vue').DirectiveBinding<any>): void; | ||
beforeUnmount(el: ElementWithPopper): void; | ||
}; | ||
export default _default; |
declare const _default: { | ||
install(app: import("vue").App<any>): void; | ||
install(app: import('vue').App<any>): void; | ||
}; | ||
export default _default; |
declare const _default: { | ||
install(app: import("vue").App<any>): void; | ||
install(app: import('vue').App<any>): void; | ||
}; | ||
export default _default; |
declare const _default: { | ||
install(app: import("vue").App<any>): void; | ||
install(app: import('vue').App<any>): void; | ||
}; | ||
export default _default; |
@@ -1,5 +0,6 @@ | ||
import type { BootstrapVueOptions } from '../types'; | ||
import { BootstrapVueOptions } from '../types'; | ||
declare const _default: { | ||
install(app: import("vue").App<any>, options: BootstrapVueOptions['plugins']): void; | ||
install(app: import('vue').App<any>, options: BootstrapVueOptions['plugins']): void; | ||
}; | ||
export default _default; |
declare const _default: { | ||
install(app: import("vue").App<any>): void; | ||
install(app: import('vue').App<any>): void; | ||
}; | ||
export default _default; |
@@ -1,2 +0,1 @@ | ||
import type { Booleanish } from '.'; | ||
export type AriaInvalid = Booleanish | 'grammar' | 'spelling'; | ||
export type AriaInvalid = boolean | 'grammar' | 'spelling'; |
@@ -25,2 +25,18 @@ import * as Components from '../components'; | ||
*/ | ||
id?: boolean | ||
/** | ||
* This function is allows users to provide a custom id generator | ||
* as a workaround for the lack of stable SSR IDs in Vue 3.x | ||
* | ||
* This lets the Nuxt module swap in the Nuxt `useId` function | ||
* which is stable across SSR and client. | ||
* | ||
* @default undefined | ||
*/ | ||
| { | ||
getId?: () => string; | ||
}; | ||
/** | ||
* @default true | ||
*/ | ||
modalController?: boolean; | ||
@@ -27,0 +43,0 @@ /** |
@@ -1,2 +0,3 @@ | ||
import type { RouteLocationRaw } from 'vue-router'; | ||
import { RouteLocationRaw } from 'vue-router'; | ||
export interface BreadcrumbItem { | ||
@@ -3,0 +4,0 @@ active?: boolean; |
@@ -1,2 +0,3 @@ | ||
import type { Booleanish, LiteralUnion, Numberish } from '.'; | ||
import { Numberish } from '.'; | ||
export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; | ||
@@ -18,7 +19,7 @@ export interface OffsetBreakpointProps { | ||
export interface ColBreakpointProps { | ||
sm?: LiteralUnion<Booleanish, Numberish>; | ||
md?: LiteralUnion<Booleanish, Numberish>; | ||
lg?: LiteralUnion<Booleanish, Numberish>; | ||
xl?: LiteralUnion<Booleanish, Numberish>; | ||
xxl?: LiteralUnion<Booleanish, Numberish>; | ||
sm?: boolean | Numberish; | ||
md?: boolean | Numberish; | ||
lg?: boolean | Numberish; | ||
xl?: boolean | Numberish; | ||
xxl?: boolean | Numberish; | ||
} | ||
@@ -25,0 +26,0 @@ export interface RowColsBreakpointProps { |
@@ -1,2 +0,2 @@ | ||
export type CheckboxValue = readonly unknown[] | ReadonlySet<unknown> | boolean | string | Readonly<Record<string, unknown>> | number | null; | ||
export type CheckboxValue = readonly unknown[] | ReadonlySet<unknown> | string | boolean | Readonly<Record<string, unknown>> | number | null; | ||
export type CheckboxOption = { | ||
@@ -3,0 +3,0 @@ text: string; |
@@ -0,2 +1,7 @@ | ||
import { TeleportProps } from 'vue'; | ||
export type Numberish = string | number; | ||
export type Booleanish = boolean | 'true' | 'false'; | ||
export type TeleporterProps = { | ||
teleportDisabled?: TeleportProps['disabled']; | ||
teleportTo?: TeleportProps['to']; | ||
}; |
@@ -1,2 +0,3 @@ | ||
import type { BModalProps, BToastProps, ContainerPosition } from '.'; | ||
import { BModalProps, BToastProps, ContainerPosition } from '.'; | ||
export type OrchestratedToast = Omit<BToastProps, 'modelValue'> & { | ||
@@ -3,0 +4,0 @@ /** |
@@ -1,17 +0,18 @@ | ||
import type { Boundary, Middleware, Padding, RootBoundary, Strategy } from '@floating-ui/vue'; | ||
import type { ComponentPublicInstance, RendererElement, TransitionProps } from 'vue'; | ||
import type { RouteLocationRaw } from 'vue-router'; | ||
import type { Booleanish, Breakpoint, ButtonType, ButtonVariant, ClassValue, ColorExtendables, ColorVariant, LinkTarget, Numberish, PopoverPlacement, RadiusElementExtendables, Size, TableField, TableFieldRaw, TableItem, TextColorVariant, TransitionMode, VerticalAlign } from '.'; | ||
import { AlignmentJustifyContent, AlignmentTextHorizontal, AriaInvalid, AttrsValue, BreadcrumbItemRaw, Breakpoint, BTableProvider, BTableSortBy, ButtonType, ButtonVariant, CheckboxOptionRaw, CheckboxValue, ClassValue, ColorExtendables, ColorVariant, CommonInputProps, InputType, LinkTarget, LiteralUnion, NoProviderTypes, Numberish, PlaceholderAnimation, PlaceholderSize, PopoverPlacement, RadioOptionRaw, RadioValue, RadiusElementExtendables, Size, SpinnerType, TableField, TableFieldRaw, TeleporterProps, TextColorVariant, TransitionMode, VerticalAlign } from '.'; | ||
import { RouteLocationRaw } from 'vue-router'; | ||
import { ComponentPublicInstance, TransitionProps } from 'vue'; | ||
import { Boundary, Middleware, Padding, RootBoundary, Strategy } from '@floating-ui/vue'; | ||
export interface BLinkProps { | ||
active?: Booleanish; | ||
active?: boolean; | ||
activeClass?: string; | ||
append?: Booleanish; | ||
disabled?: Booleanish; | ||
append?: boolean; | ||
disabled?: boolean; | ||
exactActiveClass?: string; | ||
href?: string; | ||
icon?: Booleanish; | ||
icon?: boolean; | ||
opacity?: 10 | 25 | 50 | 75 | 100 | '10' | '25' | '50' | '75' | '100'; | ||
opacityHover?: 10 | 25 | 50 | 75 | 100 | '10' | '25' | '50' | '75' | '100'; | ||
rel?: string; | ||
replace?: Booleanish; | ||
replace?: boolean; | ||
routerComponentName?: string; | ||
@@ -28,52 +29,815 @@ routerTag?: string; | ||
} | ||
export interface BAccordionProps { | ||
flush?: boolean; | ||
free?: boolean; | ||
id?: string; | ||
modelValue?: string; | ||
} | ||
export interface BDropdownDividerProps { | ||
tag?: string; | ||
} | ||
export interface BDropdownGroupProps { | ||
ariaDescribedby?: string; | ||
header?: string; | ||
headerClass?: ClassValue; | ||
headerTag?: string; | ||
headerVariant?: ColorVariant | null; | ||
id?: string; | ||
} | ||
export interface BDropdownItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
linkClass?: ClassValue; | ||
wrapperAttrs?: Readonly<AttrsValue>; | ||
} | ||
export interface BDropdownItemButtonProps { | ||
active?: boolean; | ||
activeClass?: ClassValue; | ||
buttonClass?: ClassValue; | ||
disabled?: boolean; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BDropdownTextProps { | ||
text?: string; | ||
} | ||
export interface BFormFloatingLabelProps { | ||
label?: string; | ||
labelFor?: string; | ||
text?: string; | ||
} | ||
export interface BFormRowProps { | ||
tag?: string; | ||
} | ||
export interface BFormTextProps { | ||
id?: string; | ||
inline?: boolean; | ||
tag?: string; | ||
text?: string; | ||
textVariant?: TextColorVariant | null; | ||
} | ||
export interface BFormCheckboxProps { | ||
ariaLabel?: string; | ||
ariaLabelledby?: string; | ||
autofocus?: boolean; | ||
button?: boolean; | ||
buttonGroup?: boolean; | ||
buttonVariant?: ButtonVariant | null; | ||
disabled?: boolean; | ||
form?: string; | ||
id?: string; | ||
indeterminate?: boolean; | ||
inline?: boolean; | ||
modelValue?: CheckboxValue | readonly CheckboxValue[]; | ||
name?: string; | ||
plain?: boolean; | ||
required?: boolean; | ||
reverse?: boolean; | ||
size?: Size; | ||
state?: boolean | null; | ||
switch?: boolean; | ||
uncheckedValue?: CheckboxValue; | ||
value?: string | boolean | CheckboxValue; | ||
} | ||
export interface BFormCheckboxGroupProps { | ||
ariaInvalid?: AriaInvalid; | ||
autofocus?: boolean; | ||
buttonVariant?: ButtonVariant | null; | ||
buttons?: boolean; | ||
disabled?: boolean; | ||
disabledField?: string; | ||
form?: string; | ||
htmlField?: string; | ||
id?: string; | ||
modelValue?: readonly CheckboxValue[]; | ||
name?: string; | ||
options?: readonly CheckboxOptionRaw[]; | ||
plain?: boolean; | ||
required?: boolean; | ||
reverse?: boolean; | ||
size?: Size; | ||
stacked?: boolean; | ||
state?: boolean | null; | ||
switches?: boolean; | ||
textField?: string; | ||
validated?: boolean; | ||
valueField?: string; | ||
} | ||
export interface BFormFileProps { | ||
ariaLabel?: string; | ||
ariaLabelledby?: string; | ||
accept?: string | readonly string[]; | ||
autofocus?: boolean; | ||
browserText?: string; | ||
capture?: boolean | 'user' | 'environment'; | ||
directory?: boolean; | ||
disabled?: boolean; | ||
form?: string; | ||
id?: string; | ||
label?: string; | ||
labelClass?: ClassValue; | ||
modelValue?: readonly File[] | File | null; | ||
multiple?: boolean; | ||
name?: string; | ||
noDrop?: boolean; | ||
noTraverse?: boolean; | ||
placement?: 'start' | 'end'; | ||
required?: boolean; | ||
size?: Size; | ||
state?: boolean | null; | ||
} | ||
export interface BFormInputProps extends CommonInputProps { | ||
max?: Numberish; | ||
min?: Numberish; | ||
step?: Numberish; | ||
type?: InputType; | ||
} | ||
export interface BFormRadioProps { | ||
ariaLabel?: string; | ||
ariaLabelledby?: string; | ||
autofocus?: boolean; | ||
button?: boolean; | ||
buttonGroup?: boolean; | ||
buttonVariant?: ButtonVariant | null; | ||
disabled?: boolean; | ||
form?: string; | ||
id?: string; | ||
inline?: boolean; | ||
modelValue?: RadioValue; | ||
name?: string; | ||
plain?: boolean; | ||
required?: boolean; | ||
reverse?: boolean; | ||
size?: Size; | ||
state?: boolean | null; | ||
value?: RadioValue; | ||
} | ||
export interface BFormRadioGroupProps { | ||
ariaInvalid?: AriaInvalid; | ||
autofocus?: boolean; | ||
buttonVariant?: ButtonVariant | null; | ||
buttons?: boolean; | ||
disabled?: boolean; | ||
disabledField?: string; | ||
form?: string; | ||
htmlField?: string; | ||
id?: string; | ||
modelValue?: RadioValue; | ||
name?: string; | ||
options?: readonly RadioOptionRaw[]; | ||
plain?: boolean; | ||
required?: boolean; | ||
reverse?: boolean; | ||
size?: Size; | ||
stacked?: boolean; | ||
state?: boolean | null; | ||
textField?: string; | ||
validated?: boolean; | ||
valueField?: string; | ||
} | ||
export interface BFormSelectProps { | ||
ariaInvalid?: AriaInvalid; | ||
autofocus?: boolean; | ||
disabled?: boolean; | ||
disabledField?: string; | ||
form?: string; | ||
htmlField?: string; | ||
id?: string; | ||
labelField?: string; | ||
modelValue?: boolean | string | readonly unknown[] | Readonly<Record<string, unknown>> | number | null; | ||
multiple?: boolean; | ||
name?: string; | ||
options?: readonly (unknown | Record<string, unknown>)[]; | ||
optionsField?: string; | ||
plain?: boolean; | ||
required?: boolean; | ||
selectSize?: Numberish; | ||
size?: Size; | ||
state?: boolean | null; | ||
textField?: string; | ||
valueField?: string; | ||
} | ||
export interface BFormSelectOptionProps<T> { | ||
disabled?: boolean; | ||
value?: T; | ||
} | ||
export interface BFormSelectOptionGroupProps { | ||
disabledField?: string; | ||
htmlField?: string; | ||
label?: string; | ||
options?: readonly (unknown | Record<string, unknown>)[]; | ||
textField?: string; | ||
valueField?: string; | ||
} | ||
export interface BFormSpinbuttonProps { | ||
ariaControls?: string; | ||
ariaLabel?: string; | ||
disabled?: boolean; | ||
form?: string; | ||
formatterFn?: (value: number) => string; | ||
id?: string; | ||
inline?: boolean; | ||
labelDecrement?: string; | ||
labelIncrement?: string; | ||
locale?: string; | ||
max?: Numberish; | ||
min?: Numberish; | ||
modelValue?: number | null; | ||
name?: string; | ||
placeholder?: string; | ||
readonly?: boolean; | ||
repeatDelay?: Numberish; | ||
repeatInterval?: Numberish; | ||
repeatStepMultiplier?: Numberish; | ||
repeatThreshold?: Numberish; | ||
required?: boolean; | ||
size?: Size; | ||
state?: boolean | null; | ||
step?: Numberish; | ||
vertical?: boolean; | ||
wrap?: boolean; | ||
} | ||
export interface BFormTagProps { | ||
disabled?: boolean; | ||
id?: string; | ||
noRemove?: boolean; | ||
pill?: boolean; | ||
removeLabel?: string; | ||
tag?: string; | ||
title?: string; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BFormTagsProps { | ||
addButtonText?: string; | ||
addButtonVariant?: ButtonVariant | null; | ||
addOnChange?: boolean; | ||
autofocus?: boolean; | ||
disabled?: boolean; | ||
duplicateTagText?: string; | ||
form?: string; | ||
inputAttrs?: Readonly<AttrsValue>; | ||
inputClass?: ClassValue; | ||
inputId?: string; | ||
inputType?: InputType; | ||
invalidTagText?: string; | ||
limit?: Numberish; | ||
limitTagsText?: string; | ||
modelValue?: readonly string[]; | ||
name?: string; | ||
noAddOnEnter?: boolean; | ||
noOuterFocus?: boolean; | ||
noTagRemove?: boolean; | ||
placeholder?: string; | ||
removeOnDelete?: boolean; | ||
required?: boolean; | ||
separator?: string | readonly string[]; | ||
size?: Size; | ||
state?: boolean | null; | ||
tagClass?: ClassValue; | ||
tagPills?: boolean; | ||
tagRemoveLabel?: string; | ||
tagRemovedLabel?: string; | ||
tagValidator?: (t: string) => boolean; | ||
tagVariant?: ColorVariant | null; | ||
} | ||
export interface BFormTextareaProps extends CommonInputProps { | ||
noResize?: boolean; | ||
rows?: Numberish; | ||
wrap?: string; | ||
} | ||
export interface BInputGroupProps { | ||
append?: string; | ||
appendHtml?: string; | ||
id?: string; | ||
prepend?: string; | ||
prependHtml?: string; | ||
size?: Size; | ||
tag?: string; | ||
} | ||
export interface BInputGroupTextProps { | ||
tag?: string; | ||
text?: string; | ||
} | ||
export interface BListGroupProps { | ||
flush?: boolean; | ||
horizontal?: boolean | Breakpoint; | ||
numbered?: boolean; | ||
tag?: string; | ||
} | ||
export interface BListGroupItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
action?: boolean; | ||
button?: boolean; | ||
tag?: string; | ||
} | ||
export interface BModalOrchestratorProps extends TeleporterProps { | ||
} | ||
export interface BNavProps { | ||
align?: AlignmentJustifyContent; | ||
cardHeader?: boolean; | ||
fill?: boolean; | ||
justified?: boolean; | ||
pills?: boolean; | ||
small?: boolean; | ||
tabs?: boolean; | ||
tag?: string; | ||
underline?: boolean; | ||
vertical?: boolean; | ||
} | ||
export interface BNavFormProps extends BFormProps { | ||
role?: string; | ||
} | ||
export interface BNavItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
linkAttrs?: Readonly<AttrsValue>; | ||
linkClass?: ClassValue; | ||
} | ||
export interface BNavTextProps { | ||
text?: string; | ||
} | ||
export interface BNavbarProps { | ||
autoClose?: boolean; | ||
container?: boolean | 'fluid' | Breakpoint; | ||
fixed?: 'top' | 'bottom'; | ||
print?: boolean; | ||
sticky?: 'top' | 'bottom'; | ||
tag?: string; | ||
toggleable?: boolean | Breakpoint; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BNavbarBrandProps extends Omit<BLinkProps, 'routerTag'> { | ||
tag?: string; | ||
} | ||
export interface BNavbarNavProps { | ||
align?: AlignmentJustifyContent; | ||
fill?: boolean; | ||
justified?: boolean; | ||
small?: boolean; | ||
tag?: string; | ||
} | ||
export interface BNavbarToggleProps { | ||
disabled?: boolean; | ||
label?: string; | ||
target?: string | readonly string[]; | ||
} | ||
export interface BOffcanvasProps extends TeleporterProps { | ||
backdrop?: boolean; | ||
backdropBlur?: string; | ||
backdropVariant?: ColorVariant | 'white' | 'transparent' | null; | ||
bodyAttrs?: Readonly<AttrsValue>; | ||
bodyClass?: ClassValue; | ||
bodyScrolling?: boolean; | ||
footerClass?: string; | ||
headerClass?: string; | ||
headerCloseClass?: ClassValue; | ||
headerCloseLabel?: string; | ||
headerCloseVariant?: ButtonVariant | null; | ||
id?: string; | ||
lazy?: boolean; | ||
modelValue?: boolean; | ||
noCloseOnBackdrop?: boolean; | ||
noCloseOnEsc?: boolean; | ||
noFocus?: boolean; | ||
noHeader?: boolean; | ||
noHeaderClose?: boolean; | ||
placement?: 'top' | 'bottom' | 'start' | 'end'; | ||
shadow?: Size | boolean; | ||
title?: string; | ||
} | ||
export interface BOverlayProps extends RadiusElementExtendables { | ||
bgColor?: string; | ||
blur?: string | null; | ||
fixed?: boolean; | ||
noCenter?: boolean; | ||
noFade?: boolean; | ||
noSpinner?: boolean; | ||
noWrap?: boolean; | ||
opacity?: Numberish; | ||
overlayTag?: string; | ||
show?: boolean; | ||
spinnerSmall?: boolean; | ||
spinnerType?: SpinnerType; | ||
spinnerVariant?: ColorVariant | null; | ||
variant?: ColorVariant | 'white' | 'transparent' | null; | ||
wrapTag?: string; | ||
zIndex?: Numberish; | ||
} | ||
export interface BPaginationProps { | ||
align?: AlignmentJustifyContent | 'fill'; | ||
ariaControls?: string; | ||
ariaLabel?: string; | ||
disabled?: boolean; | ||
ellipsisClass?: ClassValue; | ||
ellipsisText?: string; | ||
firstClass?: ClassValue; | ||
firstNumber?: boolean; | ||
firstText?: string; | ||
hideEllipsis?: boolean; | ||
hideGotoEndButtons?: boolean; | ||
labelFirstPage?: string; | ||
labelLastPage?: string; | ||
labelNextPage?: string; | ||
labelPage?: string; | ||
labelPrevPage?: string; | ||
lastClass?: ClassValue; | ||
lastNumber?: boolean; | ||
lastText?: string; | ||
limit?: Numberish; | ||
modelValue?: Numberish; | ||
nextClass?: ClassValue; | ||
nextText?: string; | ||
pageClass?: ClassValue; | ||
perPage?: Numberish; | ||
pills?: boolean; | ||
prevClass?: ClassValue; | ||
prevText?: string; | ||
size?: Size; | ||
totalRows?: Numberish; | ||
} | ||
export interface BPlaceholderProps { | ||
animation?: PlaceholderAnimation; | ||
cols?: Numberish; | ||
size?: PlaceholderSize; | ||
tag?: string; | ||
variant?: ColorVariant | null; | ||
width?: Numberish; | ||
wrapperTag?: string; | ||
} | ||
export interface BPlaceholderButtonProps { | ||
animation?: PlaceholderAnimation; | ||
cols?: Numberish; | ||
tag?: string; | ||
variant?: ColorVariant | null; | ||
width?: Numberish; | ||
} | ||
export interface BPlaceholderCardProps { | ||
animation?: PlaceholderAnimation; | ||
footerAnimation?: PlaceholderAnimation; | ||
footerSize?: PlaceholderSize; | ||
footerVariant?: ColorVariant | null; | ||
footerWidth?: Numberish; | ||
headerAnimation?: PlaceholderAnimation; | ||
headerSize?: PlaceholderSize; | ||
headerVariant?: ColorVariant | null; | ||
headerWidth?: Numberish; | ||
imgBlankColor?: string; | ||
imgBottom?: boolean; | ||
imgHeight?: Numberish; | ||
imgSrc?: string; | ||
noButton?: boolean; | ||
noFooter?: boolean; | ||
noHeader?: boolean; | ||
noImg?: boolean; | ||
size?: PlaceholderSize; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BPlaceholderTableProps { | ||
animation?: PlaceholderAnimation; | ||
cellWidth?: Numberish; | ||
columns?: Numberish; | ||
footerAnimation?: PlaceholderAnimation; | ||
footerCellWidth?: Numberish; | ||
footerColumns?: Numberish; | ||
footerSize?: PlaceholderSize; | ||
footerVariant?: ColorVariant | null; | ||
headerAnimation?: PlaceholderAnimation; | ||
headerCellWidth?: Numberish; | ||
headerColumns?: Numberish; | ||
headerSize?: PlaceholderSize; | ||
headerVariant?: ColorVariant | null; | ||
hideHeader?: boolean; | ||
rows?: Numberish; | ||
showFooter?: boolean; | ||
size?: PlaceholderSize; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BPlaceholderWrapperProps { | ||
loading?: boolean; | ||
} | ||
export interface BProgressProps extends Omit<BProgressBarProps, 'label' | 'labelHtml'> { | ||
height?: string; | ||
} | ||
export interface BTabProps { | ||
active?: boolean; | ||
buttonId?: string; | ||
disabled?: boolean; | ||
id?: string; | ||
lazy?: boolean; | ||
lazyOnce?: boolean; | ||
noBody?: boolean; | ||
tag?: string; | ||
title?: string; | ||
titleItemClass?: ClassValue; | ||
titleLinkAttrs?: Readonly<AttrsValue>; | ||
titleLinkClass?: ClassValue; | ||
} | ||
export interface BTabsProps { | ||
activeId?: string; | ||
activeNavItemClass?: ClassValue; | ||
activeTabClass?: ClassValue; | ||
align?: AlignmentJustifyContent; | ||
card?: boolean; | ||
contentClass?: ClassValue; | ||
end?: boolean; | ||
fill?: boolean; | ||
id?: string; | ||
inactiveNavItemClass?: ClassValue; | ||
inactiveTabClass?: ClassValue; | ||
justified?: boolean; | ||
lazy?: boolean; | ||
modelValue?: number; | ||
navClass?: ClassValue; | ||
navItemClass?: ClassValue; | ||
navWrapperClass?: ClassValue; | ||
noFade?: boolean; | ||
noNavStyle?: boolean; | ||
pills?: boolean; | ||
small?: boolean; | ||
tag?: string; | ||
tabClass?: ClassValue; | ||
vertical?: boolean; | ||
} | ||
export interface BToastOrchestratorProps extends TeleporterProps { | ||
appendToast?: boolean; | ||
} | ||
export interface BCollapseProps { | ||
horizontal?: boolean; | ||
id?: string; | ||
isNav?: boolean; | ||
modelValue?: boolean; | ||
skipAnimation?: boolean; | ||
tag?: string; | ||
toggle?: boolean; | ||
visible?: boolean; | ||
} | ||
export interface BContainerProps { | ||
fluid?: boolean | Breakpoint; | ||
gutterX?: Numberish; | ||
gutterY?: Numberish; | ||
tag?: string; | ||
} | ||
export interface BSpinnerProps { | ||
label?: string; | ||
role?: string; | ||
small?: boolean; | ||
tag?: string; | ||
type?: SpinnerType; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BAccordionItemProps { | ||
bodyAttrs?: Readonly<AttrsValue>; | ||
bodyClass?: ClassValue; | ||
buttonAttrs?: Readonly<AttrsValue>; | ||
buttonClass?: ClassValue; | ||
collapseClass?: ClassValue; | ||
headerAttrs?: Readonly<AttrsValue>; | ||
headerClass?: ClassValue; | ||
headerTag?: string; | ||
horizontal?: boolean; | ||
id?: string; | ||
isNav?: boolean; | ||
modelValue?: boolean; | ||
tag?: string; | ||
title?: string; | ||
toggle?: boolean; | ||
visible?: boolean; | ||
wrapperAttrs?: Readonly<AttrsValue>; | ||
} | ||
export interface BAlertProps { | ||
closeClass?: ClassValue; | ||
closeContent?: string; | ||
closeLabel?: string; | ||
closeVariant?: ButtonVariant | null; | ||
dismissible?: boolean; | ||
fade?: boolean; | ||
immediate?: boolean; | ||
interval?: Numberish; | ||
modelValue?: boolean | number; | ||
noHoverPause?: boolean; | ||
showOnPause?: boolean; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BAvatarProps extends Omit<BLinkProps, 'routerTag' | 'icon'>, ColorExtendables, RadiusElementExtendables { | ||
alt?: string; | ||
badge?: boolean | string; | ||
badgeBgVariant?: ColorVariant | null; | ||
badgeOffset?: string; | ||
badgeStart?: boolean; | ||
badgeTextVariant?: TextColorVariant | null; | ||
badgeTop?: boolean; | ||
badgeVariant?: ColorVariant | null; | ||
button?: boolean; | ||
buttonType?: ButtonType; | ||
icon?: string; | ||
size?: LiteralUnion<Size, Numberish>; | ||
square?: boolean; | ||
src?: string; | ||
text?: string; | ||
} | ||
export interface BAvatarGroupProps extends ColorExtendables, RadiusElementExtendables { | ||
overlap?: Numberish; | ||
size?: LiteralUnion<Size, Numberish>; | ||
square?: boolean; | ||
tag?: string; | ||
} | ||
export interface BBadgeProps extends Omit<BLinkProps, 'routerTag'>, ColorExtendables { | ||
dotIndicator?: boolean; | ||
pill?: boolean; | ||
tag?: string; | ||
textIndicator?: boolean; | ||
} | ||
export interface BBreadcrumbProps { | ||
items?: readonly BreadcrumbItemRaw[]; | ||
} | ||
export interface BBreadcrumbItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
ariaCurrent?: string; | ||
text?: string; | ||
} | ||
export interface BButtonProps extends Omit<BLinkProps, 'variant'> { | ||
loading?: boolean; | ||
loadingFill?: boolean; | ||
loadingText?: string; | ||
pill?: boolean; | ||
pressed?: boolean; | ||
size?: Size; | ||
squared?: boolean; | ||
tag?: string; | ||
type?: ButtonType; | ||
variant?: ButtonVariant | null; | ||
} | ||
export interface BButtonGroupProps { | ||
ariaLabel?: string; | ||
size?: Size; | ||
tag?: string; | ||
vertical?: boolean; | ||
} | ||
export interface BButtonToolbarProps { | ||
ariaLabel?: string; | ||
justify?: boolean; | ||
role?: string; | ||
} | ||
export interface BCloseButtonProps { | ||
ariaLabel?: string; | ||
disabled?: boolean; | ||
type?: ButtonType; | ||
} | ||
export interface BCardProps extends ColorExtendables { | ||
align?: AlignmentTextHorizontal; | ||
bodyBgVariant?: ColorVariant | null; | ||
bodyClass?: ClassValue; | ||
bodyTag?: string; | ||
bodyText?: string; | ||
bodyTextVariant?: TextColorVariant | null; | ||
borderVariant?: ColorVariant | null; | ||
footer?: string; | ||
footerBgVariant?: ColorVariant | null; | ||
footerBorderVariant?: ColorVariant | null; | ||
footerClass?: ClassValue; | ||
footerHtml?: string; | ||
footerTag?: string; | ||
footerTextVariant?: TextColorVariant | null; | ||
footerVariant?: ColorVariant | null; | ||
header?: string; | ||
headerBgVariant?: ColorVariant | null; | ||
headerBorderVariant?: ColorVariant | null; | ||
headerClass?: ClassValue; | ||
headerHtml?: string; | ||
headerTag?: string; | ||
headerTextVariant?: TextColorVariant | null; | ||
headerVariant?: ColorVariant | null; | ||
imgAlt?: string; | ||
imgBottom?: boolean; | ||
imgEnd?: boolean; | ||
imgHeight?: Numberish; | ||
imgSrc?: string; | ||
imgStart?: boolean; | ||
imgTop?: boolean; | ||
imgWidth?: Numberish; | ||
noBody?: boolean; | ||
overlay?: boolean; | ||
subtitle?: string; | ||
subtitleTag?: string; | ||
subtitleTextVariant?: TextColorVariant | null; | ||
tag?: string; | ||
title?: string; | ||
titleTag?: string; | ||
} | ||
export interface BCardBodyProps extends ColorExtendables { | ||
overlay?: boolean; | ||
subtitle?: string; | ||
subtitleTag?: string; | ||
subtitleTextVariant?: TextColorVariant | null; | ||
tag?: string; | ||
text?: string; | ||
title?: string; | ||
titleTag?: string; | ||
} | ||
export interface BCardGroupProps { | ||
columns?: boolean; | ||
deck?: boolean; | ||
tag?: string; | ||
} | ||
export interface BCardImageProps extends BImgProps { | ||
bottom?: boolean; | ||
top?: boolean; | ||
} | ||
export interface BCardSubtitleProps { | ||
text?: string; | ||
tag?: string; | ||
textVariant?: TextColorVariant | null; | ||
} | ||
export interface BCardTextProps { | ||
tag?: string; | ||
text?: string; | ||
} | ||
export interface BCardTitleProps { | ||
tag?: string; | ||
text?: string; | ||
} | ||
export interface BCarouselProps { | ||
background?: string; | ||
controls?: boolean; | ||
controlsNextText?: string; | ||
controlsPrevText?: string; | ||
fade?: boolean; | ||
id?: string; | ||
imgHeight?: string; | ||
imgWidth?: string; | ||
indicators?: boolean; | ||
indicatorsButtonLabel?: string; | ||
interval?: Numberish; | ||
keyboard?: boolean; | ||
modelValue?: number; | ||
noHoverPause?: boolean; | ||
noTouch?: boolean; | ||
noWrap?: boolean; | ||
ride?: boolean | 'carousel'; | ||
rideReverse?: boolean; | ||
touchThreshold?: Numberish; | ||
} | ||
export interface BCarouselSlideProps { | ||
background?: string; | ||
caption?: string; | ||
captionHtml?: string; | ||
captionTag?: string; | ||
contentTag?: string; | ||
contentVisibleUp?: string; | ||
id?: string; | ||
imgAlt?: string; | ||
imgBlank?: boolean; | ||
imgBlankColor?: string; | ||
imgHeight?: Numberish; | ||
imgSrc?: string; | ||
imgSrcset?: string | readonly string[]; | ||
imgWidth?: Numberish; | ||
interval?: Numberish; | ||
text?: string; | ||
textHtml?: string; | ||
textTag?: string; | ||
} | ||
export interface BTransitionProps { | ||
appear?: Booleanish; | ||
appear?: boolean; | ||
mode?: TransitionMode; | ||
noFade?: Booleanish; | ||
noFade?: boolean; | ||
transProps?: Readonly<TransitionProps>; | ||
} | ||
export interface BImgProps extends RadiusElementExtendables { | ||
blank?: Booleanish; | ||
blank?: boolean; | ||
blankColor?: string; | ||
block?: Booleanish; | ||
center?: Booleanish; | ||
end?: Booleanish; | ||
fluid?: Booleanish; | ||
fluidGrow?: Booleanish; | ||
block?: boolean; | ||
center?: boolean; | ||
end?: boolean; | ||
fluid?: boolean; | ||
fluidGrow?: boolean; | ||
height?: Numberish; | ||
lazy?: Booleanish; | ||
lazy?: boolean; | ||
sizes?: string | readonly string[]; | ||
src?: string; | ||
srcset?: string | readonly string[]; | ||
start?: Booleanish; | ||
thumbnail?: Booleanish; | ||
start?: boolean; | ||
thumbnail?: boolean; | ||
width?: Numberish; | ||
} | ||
export interface BFormProps { | ||
floating?: Booleanish; | ||
floating?: boolean; | ||
id?: string; | ||
novalidate?: Booleanish; | ||
validated?: Booleanish; | ||
novalidate?: boolean; | ||
validated?: boolean; | ||
} | ||
export interface BTableSimpleProps { | ||
bordered?: Booleanish; | ||
borderless?: Booleanish; | ||
bordered?: boolean; | ||
borderless?: boolean; | ||
borderVariant?: ColorVariant | null; | ||
captionTop?: Booleanish; | ||
dark?: Booleanish; | ||
fixed?: Booleanish; | ||
hover?: Booleanish; | ||
captionTop?: boolean; | ||
dark?: boolean; | ||
fixed?: boolean; | ||
hover?: boolean; | ||
id?: string; | ||
noBorderCollapse?: Booleanish; | ||
outlined?: Booleanish; | ||
responsive?: Booleanish | Breakpoint; | ||
small?: Booleanish; | ||
stacked?: Booleanish | Breakpoint; | ||
stickyHeader?: Booleanish; | ||
striped?: Booleanish; | ||
stripedColumns?: Booleanish; | ||
noBorderCollapse?: boolean; | ||
outlined?: boolean; | ||
responsive?: boolean | Breakpoint; | ||
small?: boolean; | ||
stacked?: boolean | Breakpoint; | ||
stickyHeader?: boolean | Numberish; | ||
striped?: boolean; | ||
stripedColumns?: boolean; | ||
tableClass?: ClassValue; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTableLiteProps<T = Record<string, unknown>> extends BTableSimpleProps { | ||
export interface BTableLiteProps<T> extends BTableSimpleProps { | ||
align?: VerticalAlign; | ||
@@ -87,3 +851,3 @@ caption?: string; | ||
fields?: TableFieldRaw<T>[]; | ||
footClone?: Booleanish; | ||
footClone?: boolean; | ||
footRowVariant?: ColorVariant | null; | ||
@@ -93,10 +857,10 @@ footVariant?: ColorVariant | null; | ||
headVariant?: ColorVariant | null; | ||
items?: readonly TableItem<T>[]; | ||
labelStacked?: Booleanish; | ||
items?: readonly T[]; | ||
labelStacked?: boolean; | ||
modelValue?: any; | ||
primaryKey?: string; | ||
showEmpty?: Booleanish; | ||
showEmpty?: boolean; | ||
tbodyClass?: ClassValue; | ||
tbodyTrAttr?: any; | ||
tbodyTrClass?: ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | string | Readonly<Record<PropertyKey, any>> | readonly any[]; | ||
tbodyTrClass?: ((item: T | null, type: string) => string | readonly any[] | null | undefined) | string | Readonly<Record<PropertyKey, any>> | readonly any[]; | ||
tfootClass?: ClassValue; | ||
@@ -107,4 +871,56 @@ tfootTrClass?: ClassValue; | ||
} | ||
export interface BTableProps<T> extends Omit<BTableLiteProps<T>, 'tableClass'> { | ||
provider?: BTableProvider<T>; | ||
noProvider?: readonly NoProviderTypes[]; | ||
noProviderPaging?: boolean; | ||
noProviderSorting?: boolean; | ||
noProviderFiltering?: boolean; | ||
sortBy?: BTableSortBy[]; | ||
mustSort?: boolean | string[]; | ||
noSortReset?: boolean; | ||
selectable?: boolean; | ||
multisort?: boolean; | ||
stickySelect?: boolean; | ||
selectHead?: boolean | string; | ||
selectMode?: 'multi' | 'single' | 'range'; | ||
selectionVariant?: ColorVariant | null; | ||
busy?: boolean; | ||
busyLoadingText?: string; | ||
perPage?: Numberish; | ||
currentPage?: Numberish; | ||
filter?: string; | ||
filterable?: readonly string[]; | ||
noLocalSorting?: boolean; | ||
noSelectOnClick?: boolean; | ||
selectedItems?: readonly T[]; | ||
noSortableIcon?: boolean; | ||
} | ||
export interface BTrProps { | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTheadProps { | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTfootProps { | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTdProps { | ||
colspan?: Numberish; | ||
rowspan?: Numberish; | ||
stackedHeading?: string; | ||
stickyColumn?: boolean; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTbodyProps { | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BThProps { | ||
colspan?: Numberish; | ||
rowspan?: Numberish; | ||
stackedHeading?: string; | ||
stickyColumn?: boolean; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BProgressBarProps extends ColorExtendables { | ||
animated?: Booleanish; | ||
animated?: boolean; | ||
label?: string; | ||
@@ -114,21 +930,21 @@ labelHtml?: string; | ||
precision?: Numberish; | ||
showProgress?: Booleanish; | ||
showValue?: Booleanish; | ||
striped?: Booleanish; | ||
showProgress?: boolean; | ||
showValue?: boolean; | ||
striped?: boolean; | ||
value?: Numberish; | ||
} | ||
export interface BInputGroupAddonProps { | ||
isText?: Booleanish; | ||
isText?: boolean; | ||
} | ||
export interface BFormFeedbackSharedProps { | ||
ariaLive?: string; | ||
forceShow?: Booleanish; | ||
forceShow?: boolean; | ||
id?: string; | ||
role?: string; | ||
state?: Booleanish | null; | ||
state?: boolean | null; | ||
tag?: string; | ||
text?: string; | ||
tooltip?: Booleanish; | ||
tooltip?: boolean; | ||
} | ||
export interface BDropdownProps { | ||
export interface BDropdownProps extends TeleporterProps { | ||
ariaLabel?: string; | ||
@@ -138,19 +954,18 @@ autoClose?: boolean | 'inside' | 'outside'; | ||
boundaryPadding?: Padding; | ||
center?: Booleanish; | ||
container?: string | ComponentPublicInstance<HTMLElement> | HTMLElement | undefined; | ||
disabled?: Booleanish; | ||
dropend?: Booleanish; | ||
dropstart?: Booleanish; | ||
dropup?: Booleanish; | ||
end?: Booleanish; | ||
center?: boolean; | ||
disabled?: boolean; | ||
dropend?: boolean; | ||
dropstart?: boolean; | ||
dropup?: boolean; | ||
end?: boolean; | ||
floatingMiddleware?: Middleware[]; | ||
id?: string; | ||
isNav?: Booleanish; | ||
lazy?: Booleanish; | ||
isNav?: boolean; | ||
lazy?: boolean; | ||
menuClass?: ClassValue; | ||
modelValue?: Booleanish; | ||
noCaret?: Booleanish; | ||
noFlip?: Booleanish; | ||
noShift?: Booleanish; | ||
noSize?: Booleanish; | ||
modelValue?: boolean; | ||
noCaret?: boolean; | ||
noFlip?: boolean; | ||
noShift?: boolean; | ||
noSize?: boolean; | ||
offset?: number | string | Readonly<{ | ||
@@ -163,6 +978,6 @@ mainAxis?: number; | ||
size?: Size; | ||
split?: Booleanish; | ||
split?: boolean; | ||
splitButtonType?: ButtonType; | ||
splitClass?: ClassValue; | ||
splitDisabled?: Booleanish; | ||
splitDisabled?: boolean; | ||
splitHref?: string; | ||
@@ -184,10 +999,10 @@ splitTo?: RouteLocationRaw; | ||
interval?: Numberish; | ||
isStatus?: Booleanish; | ||
isStatus?: boolean; | ||
modelValue?: boolean | number; | ||
noCloseButton?: Booleanish; | ||
noFade?: Booleanish; | ||
noHoverPause?: Booleanish; | ||
noCloseButton?: boolean; | ||
noFade?: boolean; | ||
noHoverPause?: boolean; | ||
progressProps?: Omit<BProgressBarProps, 'label' | 'labelHtml' | 'max' | 'value'>; | ||
showOnPause?: Booleanish; | ||
solid?: Booleanish; | ||
showOnPause?: boolean; | ||
solid?: boolean; | ||
title?: string; | ||
@@ -197,7 +1012,6 @@ toastClass?: ClassValue; | ||
} | ||
export interface BPopoverProps { | ||
export interface BPopoverProps extends TeleporterProps { | ||
boundary?: Boundary | RootBoundary; | ||
boundaryPadding?: Padding; | ||
click?: Booleanish; | ||
container?: string | Readonly<ComponentPublicInstance> | Readonly<HTMLElement> | undefined; | ||
click?: boolean; | ||
content?: string; | ||
@@ -210,19 +1024,19 @@ customClass?: ClassValue; | ||
floatingMiddleware?: Middleware[]; | ||
hide?: Booleanish; | ||
html?: Booleanish; | ||
hide?: boolean; | ||
html?: boolean; | ||
id?: string; | ||
inline?: Booleanish; | ||
manual?: Booleanish; | ||
modelValue?: Booleanish; | ||
noAutoClose?: Booleanish; | ||
noFade?: Booleanish; | ||
noFlip?: Booleanish; | ||
noHide?: Booleanish; | ||
noShift?: Booleanish; | ||
noSize?: Booleanish; | ||
noninteractive?: Booleanish; | ||
inline?: boolean; | ||
manual?: boolean; | ||
modelValue?: boolean; | ||
noAutoClose?: boolean; | ||
noFade?: boolean; | ||
noFlip?: boolean; | ||
noHide?: boolean; | ||
noShift?: boolean; | ||
noSize?: boolean; | ||
noninteractive?: boolean; | ||
offset?: Numberish | null; | ||
placement?: PopoverPlacement; | ||
persistent?: Booleanish; | ||
realtime?: Booleanish; | ||
persistent?: boolean; | ||
realtime?: boolean; | ||
reference?: string | Readonly<ComponentPublicInstance> | Readonly<HTMLElement> | null; | ||
@@ -232,7 +1046,7 @@ strategy?: Strategy; | ||
title?: string; | ||
tooltip?: Booleanish; | ||
tooltip?: boolean; | ||
variant?: ColorVariant | null; | ||
} | ||
export interface BTooltipProps extends Omit<BPopoverProps, 'tooltip'> { | ||
interactive?: Booleanish; | ||
interactive?: boolean; | ||
} | ||
@@ -245,18 +1059,19 @@ export interface BCardHeadFootProps extends ColorExtendables { | ||
} | ||
export interface BModalProps { | ||
autoFocus?: Booleanish; | ||
export interface BModalProps extends TeleporterProps { | ||
autoFocus?: boolean; | ||
autoFocusButton?: 'ok' | 'cancel' | 'close'; | ||
body?: string; | ||
backdropVariant?: ColorVariant | null; | ||
bodyAttrs?: Readonly<AttrsValue>; | ||
bodyBgVariant?: ColorVariant | null; | ||
bodyClass?: ClassValue; | ||
bodyScrolling?: Booleanish; | ||
bodyScrolling?: boolean; | ||
bodyTextVariant?: TextColorVariant | null; | ||
bodyVariant?: ColorVariant | null; | ||
busy?: Booleanish; | ||
busy?: boolean; | ||
buttonSize?: Size; | ||
cancelDisabled?: Booleanish; | ||
cancelDisabled?: boolean; | ||
cancelTitle?: string; | ||
cancelVariant?: ButtonVariant | null; | ||
centered?: Booleanish; | ||
centered?: boolean; | ||
contentClass?: ClassValue; | ||
@@ -269,3 +1084,3 @@ dialogClass?: ClassValue; | ||
footerVariant?: ColorVariant | null; | ||
fullscreen?: Booleanish | Breakpoint; | ||
fullscreen?: boolean | Breakpoint; | ||
headerBgVariant?: ColorVariant | null; | ||
@@ -279,26 +1094,24 @@ headerBorderVariant?: ColorVariant | null; | ||
headerVariant?: ColorVariant | null; | ||
hideBackdrop?: Booleanish; | ||
hideFooter?: Booleanish; | ||
hideHeader?: Booleanish; | ||
hideHeaderClose?: Booleanish; | ||
hideBackdrop?: boolean; | ||
hideFooter?: boolean; | ||
hideHeader?: boolean; | ||
hideHeaderClose?: boolean; | ||
id?: string; | ||
lazy?: Booleanish; | ||
lazy?: boolean; | ||
modalClass?: ClassValue; | ||
modelValue?: Booleanish; | ||
noCloseOnBackdrop?: Booleanish; | ||
noCloseOnEsc?: Booleanish; | ||
noFade?: Booleanish; | ||
okDisabled?: Booleanish; | ||
okOnly?: Booleanish; | ||
modelValue?: boolean; | ||
noCloseOnBackdrop?: boolean; | ||
noCloseOnEsc?: boolean; | ||
noFade?: boolean; | ||
okDisabled?: boolean; | ||
okOnly?: boolean; | ||
okTitle?: string; | ||
okVariant?: ButtonVariant | null; | ||
scrollable?: Booleanish; | ||
scrollable?: boolean; | ||
size?: Size | 'xl'; | ||
teleportDisabled?: Booleanish; | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined; | ||
title?: string; | ||
titleClass?: ClassValue; | ||
titleSrOnly?: Booleanish; | ||
titleSrOnly?: boolean; | ||
titleTag?: string; | ||
transProps?: Readonly<BTransitionProps>; | ||
} |
@@ -1,1 +0,2 @@ | ||
export type { AlignmentCommon, AlignmentContent, AlignmentHorizontal, AlignmentJustifyContent, AlignmentTextHorizontal, AlignmentVertical, Animation, BTableProvider, BTableProviderContext, BaseButtonVariant, BaseColorVariant, BaseSize, BaseTextColorVariant, BreadcrumbItem, BreadcrumbItemRaw, Breakpoint, ButtonType, ButtonVariant, CheckboxOption, CheckboxOptionRaw, CheckboxValue, ColorExtendables, ColorVariant, ComplexSelectOption, ComplexSelectOptionRaw, ContainerHorizontalAlign, ContainerPosition, ContainerVerticalAlign, InputType, LinkTarget, OrchestratedModal, OrchestratedToast, PaginationPage, PlaceholderAnimation, PlaceholderSize, PopoverPlacement, Position, RadioOption, RadioOptionRaw, RadioValue, RadiusElement, RadiusElementExtendables, SelectOption, SelectOptionRaw, Size, SpinnerType, TabType, TableField, TableFieldFormatter, TableFieldRaw, TableItem, TextColorVariant, TransitionMode, VerticalAlign, } from '..'; | ||
export type { AlignmentCommon, AlignmentContent, AlignmentHorizontal, AlignmentJustifyContent, AlignmentTextHorizontal, AlignmentVertical, Animation, BTableProvider, BTableProviderContext, BaseButtonVariant, BaseColorVariant, BaseSize, BaseTextColorVariant, BreadcrumbItem, BreadcrumbItemRaw, Breakpoint, BTableSortBy, ButtonType, ButtonVariant, CheckboxOption, CheckboxOptionRaw, CheckboxValue, ColorExtendables, ColorVariant, ComplexSelectOption, ComplexSelectOptionRaw, ContainerHorizontalAlign, ContainerPosition, ContainerVerticalAlign, InputType, LinkTarget, OrchestratedModal, OrchestratedToast, PaginationPage, PlaceholderAnimation, PlaceholderSize, PopoverPlacement, Position, RadioOption, RadioOptionRaw, RadioValue, RadiusElement, RadiusElementExtendables, SelectOption, SelectOptionRaw, Size, SpinnerType, TabType, TableField, TableFieldFormatter, TableFieldRaw, TableItem, TextColorVariant, TransitionMode, VerticalAlign, } from '..'; | ||
export * from '../ComponentProps'; |
@@ -1,2 +0,3 @@ | ||
import type { AriaInvalid, Booleanish, Numberish, Size } from '.'; | ||
import { AriaInvalid, Numberish, Size } from '.'; | ||
export interface FormDebounceOptions { | ||
@@ -9,20 +10,20 @@ debounce?: Numberish; | ||
autocomplete?: string; | ||
autofocus?: Booleanish; | ||
disabled?: Booleanish; | ||
autofocus?: boolean; | ||
disabled?: boolean; | ||
form?: string; | ||
formatter?: (val: string, evt: Event) => string; | ||
id?: string; | ||
lazy?: Booleanish; | ||
lazyFormatter?: Booleanish; | ||
lazy?: boolean; | ||
lazyFormatter?: boolean; | ||
list?: string; | ||
modelValue?: Numberish | null; | ||
name?: string; | ||
number?: Booleanish; | ||
number?: boolean; | ||
placeholder?: string; | ||
plaintext?: Booleanish; | ||
readonly?: Booleanish; | ||
required?: Booleanish; | ||
plaintext?: boolean; | ||
readonly?: boolean; | ||
required?: boolean; | ||
size?: Size; | ||
state?: Booleanish | null | undefined; | ||
trim?: Booleanish; | ||
state?: boolean | null | undefined; | ||
trim?: boolean; | ||
} |
@@ -0,1 +1,19 @@ | ||
/** | ||
* Represents a type that is a union of a literal type `T` and a string type `U`. | ||
* The `U & Record<never, never>` part is a trick that allows string types to be used in a way that is compatible with literal types. | ||
* | ||
* @template T The literal type. | ||
* @template U The string type. Defaults to `string` if not provided. | ||
* | ||
* @example | ||
* // Define a type that can be "small", "medium", "large", or any string | ||
* type Size = LiteralUnion<"small" | "medium" | "large"> | ||
* | ||
* // Now this variable can be assigned "small", "medium", "large", or any string | ||
* let shirtSize: Size; | ||
* shirtSize = "small"; // OK | ||
* shirtSize = "medium"; // OK | ||
* shirtSize = "large"; // OK | ||
* shirtSize = "extra large"; // Also OK | ||
*/ | ||
export type LiteralUnion<T, U = string> = T | (U & Record<never, never>); |
@@ -1,3 +0,4 @@ | ||
import type { Size } from '.'; | ||
import { Size } from '.'; | ||
export type PlaceholderSize = Size | 'xs'; | ||
export type PlaceholderAnimation = 'wave' | 'glow'; |
@@ -1,2 +0,3 @@ | ||
import type { Placement } from '@floating-ui/vue'; | ||
import { Placement } from '@floating-ui/vue'; | ||
export type PopoverPlacement = Placement | 'auto' | 'auto-start' | 'auto-end'; |
@@ -1,2 +0,2 @@ | ||
export type RadioValue = string | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | number | null; | ||
export type RadioValue = boolean | string | readonly unknown[] | Readonly<Record<string, unknown>> | number | null; | ||
export interface RadioOption { | ||
@@ -3,0 +3,0 @@ text: string; |
@@ -1,9 +0,8 @@ | ||
import type { Booleanish } from '.'; | ||
export type RadiusElement = 'circle' | 'pill' | 'none' | 'sm' | 'lg' | '0' | '1' | '2' | '3' | '4' | '5' | 0 | 1 | 2 | 3 | 4 | 5; | ||
export type RadiusElementExtendables = { | ||
rounded?: RadiusElement | Booleanish; | ||
roundedTop?: RadiusElement | Booleanish; | ||
roundedBottom?: RadiusElement | Booleanish; | ||
roundedStart?: RadiusElement | Booleanish; | ||
roundedEnd?: RadiusElement | Booleanish; | ||
rounded?: boolean | RadiusElement; | ||
roundedTop?: boolean | RadiusElement; | ||
roundedBottom?: boolean | RadiusElement; | ||
roundedStart?: boolean | RadiusElement; | ||
roundedEnd?: boolean | RadiusElement; | ||
}; |
@@ -1,3 +0,4 @@ | ||
import type { Slot } from 'vue'; | ||
import type { ClassValue } from '.'; | ||
import { ClassValue } from '.'; | ||
import { Slot } from 'vue'; | ||
export interface TabType { | ||
@@ -4,0 +5,0 @@ id: string; |
@@ -1,10 +0,4 @@ | ||
import type { Booleanish, ClassValue, ColorVariant, LiteralUnion, MaybePromise } from '.'; | ||
import type { StyleValue } from 'vue'; | ||
export type BTableProviderContext = { | ||
readonly filter: string | undefined; | ||
readonly sortBy: string | undefined; | ||
readonly currentPage: number; | ||
readonly perPage: number; | ||
readonly sortDesc: Booleanish; | ||
}; | ||
import { StyleValue } from 'vue'; | ||
import { ClassValue, ColorVariant, LiteralUnion, MaybePromise } from '.'; | ||
export type TableItem<T = Record<string, unknown>> = T & { | ||
@@ -15,7 +9,19 @@ _rowVariant?: ColorVariant | null; | ||
}; | ||
export type BTableProvider<T = Record<string, unknown>> = (context: BTableProviderContext) => MaybePromise<TableItem<T>[] | undefined>; | ||
export type BTableSortCompare<T> = (aRow: TableItem<T>, bRow: TableItem<T>, fieldKey: string, sortDesc: boolean) => number; | ||
export type TableFieldFormatter<T = any> = string | ((value: unknown, key?: LiteralUnion<keyof T>, item?: T) => string); | ||
export type TableFieldAttribute<T = any> = Record<string, unknown> | ((value: unknown, key?: LiteralUnion<keyof T>, item?: T) => Record<string, unknown>); | ||
export interface TableField<T = Record<string, unknown>> { | ||
export declare const isTableItem: (value: unknown) => value is TableItem<Record<string, unknown>>; | ||
export type BTableSortByOrder = 'desc' | 'asc' | undefined; | ||
export type BTableSortBy = { | ||
order: BTableSortByOrder; | ||
key: string; | ||
comparer?: (a: string, b: string) => number; | ||
}; | ||
export type BTableProviderContext = { | ||
sortBy: BTableSortBy[] | undefined; | ||
filter: string | undefined; | ||
currentPage: number; | ||
perPage: number; | ||
}; | ||
export type BTableProvider<T> = (context: Readonly<BTableProviderContext>) => MaybePromise<T[] | undefined>; | ||
export type TableFieldFormatter<T> = (value: unknown, key: string, item: T) => string; | ||
export type TableFieldAttribute<T> = Record<string, unknown> | ((value: unknown, key: string, item: T) => Record<string, unknown>); | ||
export type TableField<T = any> = { | ||
key: LiteralUnion<keyof T>; | ||
@@ -40,3 +46,6 @@ label?: string; | ||
stickyColumn?: boolean; | ||
} | ||
export type TableFieldRaw<T = Record<string, unknown>> = string | TableField<T>; | ||
}; | ||
export type TableFieldRaw<T = unknown> = T extends object ? LiteralUnion<keyof T> | TableField<T> : string | TableField; | ||
export declare const isTableField: <T>(value: unknown) => value is TableField<T>; | ||
export declare const isTableFieldRaw: <T>(value: unknown) => value is TableFieldRaw<T>; | ||
export type NoProviderTypes = 'paging' | 'sorting' | 'filtering'; |
@@ -1,2 +0,3 @@ | ||
import BvEvent, { type BvEventConstructorOmittables } from './BvEvent'; | ||
import { default as BvEvent, BvEventConstructorOmittables } from './BvEvent'; | ||
export default class BvCarouselEvent extends BvEvent { | ||
@@ -3,0 +4,0 @@ readonly from: number; |
@@ -1,2 +0,3 @@ | ||
import BvEvent, { type BvEventConstructorOmittables } from './BvEvent'; | ||
import { default as BvEvent, BvEventConstructorOmittables } from './BvEvent'; | ||
export default class BvTriggerableEvent extends BvEvent { | ||
@@ -3,0 +4,0 @@ readonly trigger: string | null; |
@@ -1,2 +0,3 @@ | ||
import type { Slot } from 'vue'; | ||
import { Slot } from 'vue'; | ||
/** | ||
@@ -3,0 +4,0 @@ * @deprecated only used in BFormGroup, which is not an SFC... Function could probably be replaced with pure Vue |
@@ -1,4 +0,6 @@ | ||
import type { Placement } from '@floating-ui/vue'; | ||
import { BPopoverProps } from '../types'; | ||
import { DirectiveBinding } from 'vue'; | ||
import { Placement } from '@floating-ui/vue'; | ||
export { autoUpdate } from '@floating-ui/vue'; | ||
import { type App, type DirectiveBinding, type Ref } from 'vue'; | ||
/** | ||
@@ -21,15 +23,10 @@ * Configures Bootstrap-like placement props to floating-ui Placement strings. | ||
export declare const resolveContent: (values: DirectiveBinding['value'], el: HTMLElement) => { | ||
title?: string | undefined; | ||
content?: string | undefined; | ||
title?: string; | ||
content?: string; | ||
}; | ||
export declare const resolveDirectiveProps: (binding: Readonly<DirectiveBinding>, el: Readonly<HTMLElement>) => any; | ||
export interface ElementWithPopper extends HTMLElement { | ||
$__state?: Ref<{ | ||
title: string; | ||
target: HTMLElement; | ||
}>; | ||
$__app?: App; | ||
$__element?: HTMLElement; | ||
} | ||
export declare const bind: (el: ElementWithPopper, binding: Readonly<DirectiveBinding>) => void; | ||
export declare const bind: (el: ElementWithPopper, binding: Readonly<DirectiveBinding>, props: BPopoverProps) => void; | ||
export declare const unbind: (el: ElementWithPopper) => void; |
@@ -1,3 +0,4 @@ | ||
import type { TableFieldFormatter, TableItem } from '../types'; | ||
declare const _default: <T = Record<string, unknown>>(item: TableItem<T>, fieldKey: string, formatter?: TableFieldFormatter<TableItem<T>> | undefined) => unknown; | ||
import { TableFieldFormatter } from '../types'; | ||
declare const _default: (item: unknown, fieldKey: string, formatter?: TableFieldFormatter<unknown>) => unknown; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import type { ComponentProps, PropDefinition } from '../types'; | ||
import { ComponentProps, PropDefinition } from '../types'; | ||
declare const _default: (prefix: string, breakpoints: readonly string[], definition: Readonly<PropDefinition>) => ComponentProps; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import type { ComponentProps } from '../types'; | ||
import { ComponentProps } from '../types'; | ||
declare const _default: (props: Readonly<Record<PropertyKey, unknown>>, els: Readonly<ComponentProps>, propPrefix: string, classPrefix?: string) => string[]; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import type { ComponentPublicInstance } from 'vue'; | ||
import { ComponentPublicInstance } from 'vue'; | ||
declare const _default: (element: string | Readonly<ComponentPublicInstance> | Readonly<HTMLElement> | null) => HTMLElement | undefined; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import type { Slot, VNode } from 'vue'; | ||
import { Slot, VNode } from 'vue'; | ||
declare const _default: (slot: Slot | undefined, filterBy: string) => VNode[]; | ||
export default _default; |
@@ -1,3 +0,4 @@ | ||
import type { TableFieldRaw } from '../types'; | ||
declare const _default: <T = Record<string, unknown>>(field: Readonly<TableFieldRaw<T>>) => string | keyof T; | ||
import { TableFieldRaw } from '../types'; | ||
declare const _default: (field: Readonly<TableFieldRaw<unknown>>) => string | number | symbol; | ||
export default _default; |
@@ -10,3 +10,2 @@ export * from './classes'; | ||
export { default as getElement } from './getElement'; | ||
export { default as getId } from './getId'; | ||
export { default as getSlotElements } from './getSlotElements'; | ||
@@ -13,0 +12,0 @@ export { default as getTableFieldHeadLabel } from './getTableFieldHeadLabel'; |
@@ -1,2 +0,3 @@ | ||
import type { RouteLocationRaw } from 'vue-router'; | ||
import { RouteLocationRaw } from 'vue-router'; | ||
declare const _default: (props: Readonly<{ | ||
@@ -3,0 +4,0 @@ href?: string; |
@@ -1,3 +0,4 @@ | ||
import type { Component, ComponentInternalInstance, ComputedRef, InjectionKey, MaybeRefOrGetter, Ref, ShallowRef } from 'vue'; | ||
import type { BModalProps, BreadcrumbItemRaw, ButtonVariant, CheckboxValue, ClassValue, ColorVariant, LiteralUnion, Numberish, OrchestratedModal, OrchestratedToast, RadioValue, RadiusElement, Size, TabType, TextColorVariant } from '../types'; | ||
import { BModalProps, BreadcrumbItemRaw, ButtonVariant, CheckboxValue, ClassValue, ColorVariant, LiteralUnion, Numberish, OrchestratedModal, OrchestratedToast, RadioValue, RadiusElement, Size, TabType, TextColorVariant } from '../types'; | ||
import { Component, ComponentInternalInstance, ComputedRef, InjectionKey, MaybeRefOrGetter, Ref, ShallowRef } from 'vue'; | ||
export declare const carouselInjectionKey: InjectionKey<{ | ||
@@ -58,2 +59,3 @@ background: Readonly<Ref<string | undefined>>; | ||
inline: Readonly<Ref<boolean>>; | ||
reverse: Readonly<Ref<boolean>>; | ||
required: Readonly<Ref<boolean>>; | ||
@@ -73,2 +75,3 @@ buttons: Readonly<Ref<boolean>>; | ||
inline: Readonly<Ref<boolean>>; | ||
reverse: Readonly<Ref<boolean>>; | ||
required: Readonly<Ref<boolean>>; | ||
@@ -79,4 +82,4 @@ disabled: Readonly<Ref<boolean>>; | ||
id?: Readonly<Ref<string>>; | ||
readonly close?: () => void; | ||
readonly open?: () => void; | ||
readonly hide?: () => void; | ||
readonly show?: () => void; | ||
readonly toggle?: () => void; | ||
@@ -88,4 +91,4 @@ visible?: Readonly<Ref<boolean>>; | ||
id?: Readonly<Ref<string>>; | ||
readonly close?: () => void; | ||
readonly open?: () => void; | ||
readonly hide?: () => void; | ||
readonly show?: () => void; | ||
readonly toggle?: () => void; | ||
@@ -155,1 +158,2 @@ visible?: Readonly<Ref<boolean>>; | ||
}>; | ||
export declare const idPluginKey: InjectionKey<() => string>; |
@@ -1,3 +0,4 @@ | ||
import type { Slots, VNode } from 'vue'; | ||
import { Slots, VNode } from 'vue'; | ||
declare const _default: (name: string, scope?: {}, $slots?: Slots) => VNode; | ||
export default _default; |
@@ -18,2 +18,2 @@ /** | ||
*/ | ||
export declare const get: <TDefault = unknown>(value: any, path: string, defaultValue?: Readonly<TDefault> | undefined) => TDefault; | ||
export declare const get: <TDefault = unknown>(value: any, path: string, defaultValue?: Readonly<TDefault>) => TDefault; |
@@ -1,3 +0,4 @@ | ||
import type { ConfigurationOption } from '../types'; | ||
import { ConfigurationOption } from '../types'; | ||
declare const _default: <Type extends string, Base extends ConfigurationOption<Type>>(options: Readonly<Base>, values: readonly Type[]) => Type[]; | ||
export default _default; |
@@ -39,2 +39,2 @@ /** | ||
}; | ||
export declare const sanitizeHtml: (unsafeHtml: string, allowList: Readonly<Record<string, (string | RegExp)[]>>, sanitizeFunction?: ((unsafeHtml: string) => string) | undefined) => string; | ||
export declare const sanitizeHtml: (unsafeHtml: string, allowList: Readonly<Record<string, (string | RegExp)[]>>, sanitizeFunction?: (unsafeHtml: string) => string) => string; |
@@ -5,3 +5,3 @@ { | ||
"description": "BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.", | ||
"version": "0.16.6", | ||
"version": "0.17.0", | ||
"license": "MIT", | ||
@@ -32,35 +32,35 @@ "main": "./dist/bootstrap-vue-next.umd.js", | ||
"peerDependencies": { | ||
"vue": "^3.4.18" | ||
"vue": "^3.4.21" | ||
}, | ||
"dependencies": { | ||
"@floating-ui/vue": "^1.0.6", | ||
"@vueuse/core": "^10.7.2" | ||
"@vueuse/core": "^10.9.0" | ||
}, | ||
"devDependencies": { | ||
"@floating-ui/core": "^1.6.0", | ||
"@rushstack/eslint-patch": "^1.7.2", | ||
"@tsconfig/node20": "^20.1.2", | ||
"@types/node": "^20.11.17", | ||
"@rushstack/eslint-patch": "^1.10.2", | ||
"@tsconfig/node20": "^20.1.4", | ||
"@types/node": "^20.12.7", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"@vitest/coverage-v8": "^1.5.0", | ||
"@vue/eslint-config-prettier": "^9.0.0", | ||
"@vue/eslint-config-typescript": "^12.0.0", | ||
"@vue/runtime-core": "^3.4.18", | ||
"@vue/test-utils": "^2.4.4", | ||
"@vue/eslint-config-typescript": "^13.0.0", | ||
"@vue/runtime-core": "^3.4.21", | ||
"@vue/test-utils": "^2.4.5", | ||
"@vue/tsconfig": "^0.5.1", | ||
"@vueuse/shared": "^10.7.2", | ||
"bootstrap": "^5.3.2", | ||
"eslint": "^8.56.0", | ||
"@vueuse/shared": "^10.9.0", | ||
"bootstrap": "^5.3.3", | ||
"eslint": "^8.57.0", | ||
"eslint-define-config": "^2.1.0", | ||
"eslint-plugin-vue": "^9.21.1", | ||
"happy-dom": "^13.3.8", | ||
"eslint-plugin-vue": "^9.25.0", | ||
"happy-dom": "13.6.2", | ||
"prettier": "^3.2.5", | ||
"sass": "^1.70.0", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.1.1", | ||
"vite-plugin-dts": "^3.7.2", | ||
"vitest": "^1.2.2", | ||
"vue": "^3.4.18", | ||
"vue-router": "^4.2.5", | ||
"vue-tsc": "^1.8.27" | ||
"sass": "^1.75.0", | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.8", | ||
"vite-plugin-dts": "^3.8.2", | ||
"vitest": "^1.5.0", | ||
"vue": "^3.4.21", | ||
"vue-router": "^4.3.0", | ||
"vue-tsc": "^2.0.13" | ||
}, | ||
@@ -160,3 +160,3 @@ "repository": { | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", | ||
"type-check": "vue-tsc --noEmit -p tsconfig.app.json", | ||
"preview": "vite preview", | ||
@@ -163,0 +163,0 @@ "build": "pnpm run type-check && pnpm run build-only", |
@@ -5,2 +5,3 @@ import type {Plugin} from 'vue' | ||
import breadcrumbPlugin from './plugins/breadcrumbPlugin' | ||
import idPlugin from './plugins/idPlugin' | ||
import modalControllerPlugin from './plugins/modalControllerPlugin' | ||
@@ -150,2 +151,5 @@ import modalManagerPlugin from './plugins/modalManagerPlugin' | ||
} | ||
if ((plugins?.id ?? true === true) || typeof plugins.id === 'object') { | ||
app.use(idPlugin, plugins) | ||
} | ||
if (plugins?.modalController ?? true === true) { | ||
@@ -152,0 +156,0 @@ app.use(modalControllerPlugin) |
export {default as useAlignment} from './useAlignment' | ||
export {default as useAriaInvalid} from './useAriaInvalid' | ||
export {default as useAvatarSize} from './useAvatarSize' | ||
export {default as useBLinkHelper} from './useBLinkHelper' | ||
export {default as useBooleanish} from './useBooleanish' | ||
export {default as useBreadcrumb} from './useBreadcrumb' | ||
@@ -20,3 +18,3 @@ export {default as useColorMode} from './useColorMode' | ||
export {default as useFormSelect} from './useFormSelect' | ||
export {default as useId} from './useId' | ||
export {default as useId, getId} from './useId' | ||
export {default as useManualTransition} from './useManualTransition' | ||
@@ -26,2 +24,3 @@ export {default as useModal} from './useModal' | ||
export {default as useModalManager} from './useModalManager' | ||
export {default as useNumberishToStyle} from './useNumberishToStyle' | ||
export {default as useRadiusElementClasses} from './useRadiusElementClasses' | ||
@@ -28,0 +27,0 @@ export {default as useRtl} from './useRtl' |
@@ -1,4 +0,3 @@ | ||
import useBooleanish from './useBooleanish' | ||
import type {AriaInvalid} from '../types' | ||
import {computed, type MaybeRefOrGetter, toRef} from 'vue' | ||
import {computed, type MaybeRefOrGetter, toValue} from 'vue' | ||
@@ -8,17 +7,19 @@ export default ( | ||
state: MaybeRefOrGetter<boolean | null | undefined> | ||
) => { | ||
const resolvedAriaInvalid = useBooleanish(ariaInvalid) | ||
const resolvedState = toRef(state) | ||
) => | ||
computed(() => { | ||
const resolvedAriaInvalid = toValue(ariaInvalid) | ||
const resolvedState = toValue(state) | ||
return computed(() => | ||
resolvedAriaInvalid.value === true | ||
? 'true' | ||
: typeof resolvedAriaInvalid.value === 'string' | ||
? resolvedAriaInvalid.value | ||
: resolvedState.value === false | ||
? 'true' | ||
: resolvedAriaInvalid.value === false | ||
? 'false' | ||
: undefined | ||
) | ||
} | ||
const resolvedAriaInvalidValue = | ||
resolvedAriaInvalid === true | ||
? 'true' | ||
: typeof resolvedAriaInvalid === 'string' | ||
? resolvedAriaInvalid | ||
: resolvedState === false | ||
? 'true' | ||
: resolvedAriaInvalid === false | ||
? 'false' | ||
: undefined | ||
return resolvedAriaInvalidValue | ||
}) |
@@ -10,4 +10,6 @@ import type {AriaInvalid, ButtonVariant, Size} from '../types' | ||
inline?: boolean | ||
reverse?: boolean | ||
switch?: boolean | ||
size?: Size | ||
hasDefaultSlot?: boolean | ||
} | ||
@@ -19,3 +21,7 @@ | ||
return { | ||
'form-check': resolvedItems.plain === false && resolvedItems.button === false, | ||
'form-check': | ||
resolvedItems.plain === false && | ||
resolvedItems.button === false && | ||
resolvedItems.hasDefaultSlot, | ||
'form-check-reverse': resolvedItems.reverse === true, | ||
'form-check-inline': resolvedItems.inline === true, | ||
@@ -22,0 +28,0 @@ 'form-switch': resolvedItems.switch === true, |
import type {Numberish} from '../types' | ||
import {nextTick, onActivated, onMounted, ref} from 'vue' | ||
import useAriaInvalid from './useAriaInvalid' | ||
import useBooleanish from './useBooleanish' | ||
import useId from './useId' | ||
@@ -19,9 +18,2 @@ import {useDebounceFn, useFocus, useToNumber, useVModel} from '@vueuse/core' | ||
const computedId = useId(() => props.id, 'input') | ||
const autofocusBoolean = useBooleanish(() => props.autofocus) | ||
const disabledBoolean = useBooleanish(() => props.disabled) | ||
const lazyBoolean = useBooleanish(() => props.lazy) | ||
const lazyFormatterBoolean = useBooleanish(() => props.lazyFormatter) | ||
const numberBoolean = useBooleanish(() => props.number) | ||
const stateBoolean = useBooleanish(() => props.state) | ||
const trimBoolean = useBooleanish(() => props.trim) | ||
const debounceNumber = useToNumber(() => props.debounce ?? 0) | ||
@@ -34,8 +26,8 @@ const debounceMaxWaitNumber = useToNumber(() => props.debounceMaxWait ?? NaN) | ||
}, | ||
() => (lazyBoolean.value === true ? 0 : debounceNumber.value), | ||
{maxWait: () => (lazyBoolean.value === true ? NaN : debounceMaxWaitNumber.value)} | ||
() => (props.lazy === true ? 0 : debounceNumber.value), | ||
{maxWait: () => (props.lazy === true ? NaN : debounceMaxWaitNumber.value)} | ||
) | ||
const updateModelValue = (value: Numberish | undefined, force = false) => { | ||
if (lazyBoolean.value === true && force === false) return | ||
if (props.lazy === true && force === false) return | ||
internalUpdateModelValue(value) | ||
@@ -45,7 +37,7 @@ } | ||
const {focused} = useFocus(input, { | ||
initialValue: autofocusBoolean.value, | ||
initialValue: props.autofocus, | ||
}) | ||
const _formatValue = (value: string, evt: Readonly<Event>, force = false) => { | ||
if (props.formatter !== undefined && (!lazyFormatterBoolean.value || force)) { | ||
if (props.formatter !== undefined && (!props.lazyFormatter || force)) { | ||
return props.formatter(value, evt) | ||
@@ -57,4 +49,4 @@ } | ||
const _getModelValue = (value: string) => { | ||
if (trimBoolean.value) return value.trim() | ||
if (numberBoolean.value) return Number.parseFloat(value) | ||
if (props.trim) return value.trim() | ||
if (props.number) return Number.parseFloat(value) | ||
@@ -72,3 +64,3 @@ return value | ||
nextTick(() => { | ||
if (autofocusBoolean.value) { | ||
if (props.autofocus) { | ||
focused.value = true | ||
@@ -79,3 +71,6 @@ } | ||
const computedAriaInvalid = useAriaInvalid(() => props.ariaInvalid, stateBoolean) | ||
const computedAriaInvalid = useAriaInvalid( | ||
() => props.ariaInvalid, | ||
() => props.state | ||
) | ||
@@ -110,3 +105,3 @@ const onInput = (evt: Readonly<Event>) => { | ||
const onBlur = (evt: Readonly<FocusEvent>) => { | ||
if (!lazyBoolean.value && !lazyFormatterBoolean.value) return | ||
if (!props.lazy && !props.lazyFormatter) return | ||
@@ -123,3 +118,3 @@ const {value} = evt.target as HTMLInputElement | ||
const focus = () => { | ||
if (!disabledBoolean.value) { | ||
if (!props.disabled) { | ||
focused.value = true | ||
@@ -130,3 +125,3 @@ } | ||
const blur = () => { | ||
if (!disabledBoolean.value) { | ||
if (!props.disabled) { | ||
focused.value = false | ||
@@ -133,0 +128,0 @@ } |
@@ -16,2 +16,8 @@ import {computed, type MaybeRefOrGetter, toValue} from 'vue' | ||
} | ||
if (typeof option === 'number') { | ||
return {value: option, text: `${option}`} | ||
} | ||
if (option instanceof Date) { | ||
return {value: option, text: option.toLocaleString()} | ||
} | ||
@@ -18,0 +24,0 @@ const value: unknown = get(option, props.valueField as string) |
@@ -1,5 +0,10 @@ | ||
import {getId} from '../utils' | ||
import {computed, type ComputedRef, type MaybeRefOrGetter, toValue} from 'vue' | ||
import {idPluginKey} from '../utils' | ||
import {computed, type ComputedRef, inject, type MaybeRefOrGetter, toValue} from 'vue' | ||
export default (id?: MaybeRefOrGetter<string | undefined>, suffix?: string): ComputedRef<string> => | ||
computed(() => toValue(id) || getId(suffix)) | ||
export const getId = (suffix = '') => { | ||
const getId = inject(idPluginKey, () => Math.random().toString().slice(2, 8)) | ||
return `__BVID__${getId()}___BV_${suffix}__` | ||
} |
@@ -85,4 +85,4 @@ import {getSSRHandler, tryOnScopeDispose, unrefElement} from '@vueuse/core' | ||
return { | ||
activePosition: computed( | ||
() => stack?.value.findIndex((el) => el.exposed?.id === currentModal.exposed?.id) | ||
activePosition: computed(() => | ||
stack?.value.findIndex((el) => el.exposed?.id === currentModal.exposed?.id) | ||
), | ||
@@ -89,0 +89,0 @@ activeModalCount: countStack, |
@@ -1,4 +0,3 @@ | ||
import {computed, type MaybeRefOrGetter, readonly, toRef} from 'vue' | ||
import {computed, type MaybeRefOrGetter, toValue} from 'vue' | ||
import type {RadiusElement, RadiusElementExtendables} from '../types' | ||
import useBooleanish from './useBooleanish' | ||
@@ -33,20 +32,17 @@ export default (obj: MaybeRefOrGetter<RadiusElementExtendables>) => { | ||
const props = readonly(toRef(obj)) | ||
const roundedBoolean = useBooleanish(() => props.value.rounded) | ||
const roundedTopBoolean = useBooleanish(() => props.value.roundedTop) | ||
const roundedBottomBoolean = useBooleanish(() => props.value.roundedBottom) | ||
const roundedStartBoolean = useBooleanish(() => props.value.roundedStart) | ||
const roundedEndBoolean = useBooleanish(() => props.value.roundedEnd) | ||
return computed(() => ({ | ||
[`${resolveRadiusElement(roundedBoolean.value as boolean | RadiusElement, null)}`]: | ||
!!roundedBoolean.value, | ||
[`${resolveRadiusElement(roundedTopBoolean.value as boolean | RadiusElement, 'top')}`]: | ||
!!roundedTopBoolean.value, | ||
[`${resolveRadiusElement(roundedBottomBoolean.value as boolean | RadiusElement, 'bottom')}`]: | ||
!!roundedBottomBoolean.value, | ||
[`${resolveRadiusElement(roundedStartBoolean.value as boolean | RadiusElement, 'start')}`]: | ||
!!roundedStartBoolean.value, | ||
[`${resolveRadiusElement(roundedEndBoolean.value as boolean | RadiusElement, 'end')}`]: | ||
!!roundedEndBoolean.value, | ||
})) | ||
return computed(() => { | ||
const props = toValue(obj) | ||
return { | ||
[`${resolveRadiusElement(props.rounded as boolean | RadiusElement, null)}`]: !!props.rounded, | ||
[`${resolveRadiusElement(props.roundedTop as boolean | RadiusElement, 'top')}`]: | ||
!!props.roundedTop, | ||
[`${resolveRadiusElement(props.roundedBottom as boolean | RadiusElement, 'bottom')}`]: | ||
!!props.roundedBottom, | ||
[`${resolveRadiusElement(props.roundedStart as boolean | RadiusElement, 'start')}`]: | ||
!!props.roundedStart, | ||
[`${resolveRadiusElement(props.roundedEnd as boolean | RadiusElement, 'end')}`]: | ||
!!props.roundedEnd, | ||
} | ||
}) | ||
} |
@@ -1,2 +0,2 @@ | ||
import {type Directive, ref} from 'vue' | ||
import {type Directive} from 'vue' | ||
import { | ||
@@ -19,8 +19,6 @@ bind, | ||
if (!text.content && !text.title) return | ||
el.$__state = ref({ | ||
bind(el, binding, { | ||
...resolveDirectiveProps(binding, el), | ||
...text, | ||
}) | ||
bind(el, binding) | ||
}, | ||
@@ -35,17 +33,7 @@ updated(el, binding) { | ||
if (!el.$__state) { | ||
// Same binding as above | ||
// This happens when mounting occurs, but binding does not happen ie (if (!text.content && !text.title) return) | ||
// So mounting occurs without a title or content set | ||
el.$__state = ref({ | ||
...resolveDirectiveProps(binding, el), | ||
...text, | ||
}) | ||
bind(el, binding) | ||
return | ||
} | ||
el.$__state.value = { | ||
unbind(el) | ||
bind(el, binding, { | ||
...resolveDirectiveProps(binding, el), | ||
...text, | ||
} | ||
}) | ||
}, | ||
@@ -52,0 +40,0 @@ beforeUnmount(el) { |
@@ -1,2 +0,2 @@ | ||
import {type Directive, ref} from 'vue' | ||
import {type Directive} from 'vue' | ||
import { | ||
@@ -20,3 +20,3 @@ bind, | ||
el.$__state = ref({ | ||
bind(el, binding, { | ||
noninteractive: true, | ||
@@ -27,3 +27,2 @@ ...resolveDirectiveProps(binding, el), | ||
}) | ||
bind(el, binding) | ||
}, | ||
@@ -37,17 +36,5 @@ updated(el, binding) { | ||
if (!text.content && !text.title) return | ||
unbind(el) | ||
if (!el.$__state) { | ||
// Same binding as above | ||
// This happens when mounting occurs, but binding does not happen ie (if (!text.content && !text.title) return) | ||
// So mounting occurs without a title or content set | ||
el.$__state = ref({ | ||
noninteractive: true, | ||
...resolveDirectiveProps(binding, el), | ||
title: text.title ?? text.content ?? '', | ||
tooltip: isActive, | ||
}) | ||
bind(el, binding) | ||
return | ||
} | ||
el.$__state.value = { | ||
bind(el, binding, { | ||
noninteractive: true, | ||
@@ -57,3 +44,3 @@ ...resolveDirectiveProps(binding, el), | ||
tooltip: isActive, | ||
} | ||
}) | ||
}, | ||
@@ -60,0 +47,0 @@ beforeUnmount(el) { |
@@ -1,3 +0,1 @@ | ||
import type {Booleanish} from '.' | ||
export type AriaInvalid = Booleanish | 'grammar' | 'spelling' | ||
export type AriaInvalid = boolean | 'grammar' | 'spelling' |
@@ -25,2 +25,19 @@ import * as Components from '../components' | ||
*/ | ||
id?: | ||
| boolean | ||
/** | ||
* This function is allows users to provide a custom id generator | ||
* as a workaround for the lack of stable SSR IDs in Vue 3.x | ||
* | ||
* This lets the Nuxt module swap in the Nuxt `useId` function | ||
* which is stable across SSR and client. | ||
* | ||
* @default undefined | ||
*/ | ||
| { | ||
getId?: () => string | ||
} | ||
/** | ||
* @default true | ||
*/ | ||
modalController?: boolean | ||
@@ -27,0 +44,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type {Booleanish, LiteralUnion, Numberish} from '.' | ||
import type {Numberish} from '.' | ||
@@ -22,7 +22,7 @@ export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | ||
export interface ColBreakpointProps { | ||
sm?: LiteralUnion<Booleanish, Numberish> | ||
md?: LiteralUnion<Booleanish, Numberish> | ||
lg?: LiteralUnion<Booleanish, Numberish> | ||
xl?: LiteralUnion<Booleanish, Numberish> | ||
xxl?: LiteralUnion<Booleanish, Numberish> | ||
sm?: boolean | Numberish | ||
md?: boolean | Numberish | ||
lg?: boolean | Numberish | ||
xl?: boolean | Numberish | ||
xxl?: boolean | Numberish | ||
} | ||
@@ -29,0 +29,0 @@ |
export type CheckboxValue = | ||
| readonly unknown[] | ||
| ReadonlySet<unknown> | ||
| string | ||
| boolean | ||
| string | ||
| Readonly<Record<string, unknown>> | ||
@@ -7,0 +7,0 @@ | number |
@@ -0,2 +1,8 @@ | ||
import type {TeleportProps} from 'vue' | ||
export type Numberish = string | number | ||
export type Booleanish = boolean | 'true' | 'false' | ||
export type TeleporterProps = { | ||
teleportDisabled?: TeleportProps['disabled'] | ||
teleportTo?: TeleportProps['to'] | ||
} |
import type {Boundary, Middleware, Padding, RootBoundary, Strategy} from '@floating-ui/vue' | ||
import type {ComponentPublicInstance, RendererElement, TransitionProps} from 'vue' | ||
import type {ComponentPublicInstance, TransitionProps} from 'vue' | ||
import type {RouteLocationRaw} from 'vue-router' | ||
import type { | ||
Booleanish, | ||
AlignmentJustifyContent, | ||
AlignmentTextHorizontal, | ||
AriaInvalid, | ||
AttrsValue, | ||
BreadcrumbItemRaw, | ||
Breakpoint, | ||
BTableProvider, | ||
BTableSortBy, | ||
ButtonType, | ||
ButtonVariant, | ||
CheckboxOptionRaw, | ||
CheckboxValue, | ||
ClassValue, | ||
ColorExtendables, | ||
ColorVariant, | ||
CommonInputProps, | ||
InputType, | ||
LinkTarget, | ||
LiteralUnion, | ||
NoProviderTypes, | ||
Numberish, | ||
PlaceholderAnimation, | ||
PlaceholderSize, | ||
PopoverPlacement, | ||
RadioOptionRaw, | ||
RadioValue, | ||
RadiusElementExtendables, | ||
Size, | ||
SpinnerType, | ||
TableField, | ||
TableFieldRaw, | ||
TableItem, | ||
TeleporterProps, | ||
TextColorVariant, | ||
@@ -26,15 +43,15 @@ TransitionMode, | ||
export interface BLinkProps { | ||
active?: Booleanish | ||
active?: boolean | ||
activeClass?: string | ||
append?: Booleanish | ||
disabled?: Booleanish | ||
append?: boolean | ||
disabled?: boolean | ||
exactActiveClass?: string | ||
href?: string | ||
icon?: Booleanish | ||
// noPrefetch: {type: [Boolean, String] as PropType<Booleanish>, default: false}, | ||
icon?: boolean | ||
// noPrefetch: {type: [Boolean, String] as PropType<boolean>, default: false}, | ||
opacity?: 10 | 25 | 50 | 75 | 100 | '10' | '25' | '50' | '75' | '100' | ||
opacityHover?: 10 | 25 | 50 | 75 | 100 | '10' | '25' | '50' | '75' | '100' | ||
// prefetch: {type: [Boolean, String] as PropType<Booleanish>, default: null}, | ||
// prefetch: {type: [Boolean, String] as PropType<boolean>, default: null}, | ||
rel?: string | ||
replace?: Booleanish | ||
replace?: boolean | ||
routerComponentName?: string | ||
@@ -52,6 +69,860 @@ routerTag?: string | ||
export interface BAccordionProps { | ||
flush?: boolean | ||
free?: boolean | ||
id?: string | ||
modelValue?: string | ||
} | ||
export interface BDropdownDividerProps { | ||
tag?: string | ||
} | ||
export interface BDropdownGroupProps { | ||
ariaDescribedby?: string | ||
header?: string | ||
headerClass?: ClassValue | ||
headerTag?: string | ||
headerVariant?: ColorVariant | null | ||
id?: string | ||
} | ||
export interface BDropdownItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
linkClass?: ClassValue | ||
wrapperAttrs?: Readonly<AttrsValue> | ||
} | ||
export interface BDropdownItemButtonProps { | ||
active?: boolean | ||
activeClass?: ClassValue | ||
buttonClass?: ClassValue | ||
disabled?: boolean | ||
variant?: ColorVariant | null | ||
} | ||
export interface BDropdownTextProps { | ||
text?: string | ||
} | ||
export interface BFormFloatingLabelProps { | ||
label?: string | ||
labelFor?: string | ||
text?: string | ||
} | ||
export interface BFormRowProps { | ||
tag?: string | ||
} | ||
export interface BFormTextProps { | ||
id?: string | ||
inline?: boolean | ||
tag?: string | ||
text?: string | ||
textVariant?: TextColorVariant | null | ||
} | ||
export interface BFormCheckboxProps { | ||
ariaLabel?: string | ||
ariaLabelledby?: string | ||
autofocus?: boolean | ||
button?: boolean | ||
buttonGroup?: boolean | ||
buttonVariant?: ButtonVariant | null | ||
disabled?: boolean | ||
form?: string | ||
id?: string | ||
indeterminate?: boolean | ||
inline?: boolean | ||
modelValue?: CheckboxValue | readonly CheckboxValue[] | ||
name?: string | ||
plain?: boolean | ||
required?: boolean | ||
reverse?: boolean | ||
size?: Size | ||
state?: boolean | null | ||
switch?: boolean | ||
uncheckedValue?: CheckboxValue | ||
// Since the compiler-sfc doesn't crawl external filed, the redundant string/boolean union is | ||
// necessary to tell it that we don't want it to follow Boolean casting rules | ||
// https://vuejs.org/guide/components/props.html#boolean-casting which would cast the empty | ||
// string to true | ||
value?: string | boolean | CheckboxValue | ||
} | ||
export interface BFormCheckboxGroupProps { | ||
ariaInvalid?: AriaInvalid | ||
autofocus?: boolean | ||
buttonVariant?: ButtonVariant | null | ||
buttons?: boolean | ||
disabled?: boolean | ||
disabledField?: string | ||
form?: string | ||
htmlField?: string | ||
id?: string | ||
modelValue?: readonly CheckboxValue[] | ||
name?: string | ||
options?: readonly CheckboxOptionRaw[] | ||
plain?: boolean | ||
required?: boolean | ||
reverse?: boolean | ||
size?: Size | ||
stacked?: boolean | ||
state?: boolean | null | ||
switches?: boolean | ||
textField?: string | ||
validated?: boolean | ||
valueField?: string | ||
} | ||
export interface BFormFileProps { | ||
ariaLabel?: string | ||
ariaLabelledby?: string | ||
accept?: string | readonly string[] | ||
autofocus?: boolean | ||
browserText?: string | ||
capture?: boolean | 'user' | 'environment' | ||
directory?: boolean | ||
disabled?: boolean | ||
form?: string | ||
id?: string | ||
label?: string | ||
labelClass?: ClassValue | ||
modelValue?: readonly File[] | File | null | ||
multiple?: boolean | ||
name?: string | ||
noDrop?: boolean | ||
noTraverse?: boolean | ||
placement?: 'start' | 'end' | ||
required?: boolean | ||
size?: Size | ||
state?: boolean | null | ||
} | ||
export interface BFormInputProps extends CommonInputProps { | ||
max?: Numberish | ||
min?: Numberish | ||
// noWheel: {type: Boolean, default: false}, TODO: not implemented yet | ||
step?: Numberish | ||
type?: InputType | ||
} | ||
export interface BFormRadioProps { | ||
ariaLabel?: string | ||
ariaLabelledby?: string | ||
autofocus?: boolean | ||
button?: boolean | ||
buttonGroup?: boolean | ||
buttonVariant?: ButtonVariant | null | ||
disabled?: boolean | ||
form?: string | ||
id?: string | ||
inline?: boolean | ||
modelValue?: RadioValue | ||
name?: string | ||
plain?: boolean | ||
required?: boolean | ||
reverse?: boolean | ||
size?: Size | ||
state?: boolean | null | ||
value?: RadioValue | ||
} | ||
export interface BFormRadioGroupProps { | ||
ariaInvalid?: AriaInvalid | ||
autofocus?: boolean | ||
buttonVariant?: ButtonVariant | null | ||
buttons?: boolean | ||
disabled?: boolean | ||
disabledField?: string | ||
form?: string | ||
htmlField?: string | ||
id?: string | ||
modelValue?: RadioValue | ||
name?: string | ||
options?: readonly RadioOptionRaw[] | ||
plain?: boolean | ||
required?: boolean | ||
reverse?: boolean | ||
size?: Size | ||
stacked?: boolean | ||
state?: boolean | null | ||
textField?: string | ||
validated?: boolean | ||
valueField?: string | ||
} | ||
export interface BFormSelectProps { | ||
ariaInvalid?: AriaInvalid | ||
autofocus?: boolean | ||
disabled?: boolean | ||
disabledField?: string | ||
form?: string | ||
htmlField?: string | ||
id?: string | ||
labelField?: string | ||
modelValue?: | ||
| boolean | ||
| string | ||
| readonly unknown[] | ||
| Readonly<Record<string, unknown>> | ||
| number | ||
| null | ||
multiple?: boolean | ||
name?: string | ||
options?: readonly (unknown | Record<string, unknown>)[] | ||
optionsField?: string | ||
plain?: boolean | ||
required?: boolean | ||
selectSize?: Numberish | ||
size?: Size | ||
state?: boolean | null | ||
textField?: string | ||
valueField?: string | ||
} | ||
export interface BFormSelectOptionProps<T> { | ||
disabled?: boolean | ||
value?: T | ||
} | ||
export interface BFormSelectOptionGroupProps { | ||
disabledField?: string | ||
htmlField?: string | ||
label?: string | ||
options?: readonly (unknown | Record<string, unknown>)[] | ||
textField?: string | ||
valueField?: string | ||
} | ||
export interface BFormSpinbuttonProps { | ||
ariaControls?: string | ||
ariaLabel?: string | ||
disabled?: boolean | ||
form?: string | ||
formatterFn?: (value: number) => string | ||
id?: string | ||
inline?: boolean | ||
labelDecrement?: string | ||
labelIncrement?: string | ||
locale?: string | ||
max?: Numberish | ||
min?: Numberish | ||
modelValue?: number | null | ||
name?: string | ||
placeholder?: string | ||
readonly?: boolean | ||
repeatDelay?: Numberish | ||
repeatInterval?: Numberish | ||
repeatStepMultiplier?: Numberish | ||
repeatThreshold?: Numberish | ||
required?: boolean | ||
size?: Size | ||
state?: boolean | null | ||
step?: Numberish | ||
vertical?: boolean | ||
wrap?: boolean | ||
} | ||
export interface BFormTagProps { | ||
disabled?: boolean | ||
id?: string | ||
noRemove?: boolean | ||
pill?: boolean | ||
removeLabel?: string | ||
tag?: string | ||
title?: string | ||
variant?: ColorVariant | null | ||
} | ||
export interface BFormTagsProps { | ||
addButtonText?: string | ||
addButtonVariant?: ButtonVariant | null | ||
addOnChange?: boolean | ||
autofocus?: boolean | ||
disabled?: boolean | ||
duplicateTagText?: string | ||
form?: string | ||
inputAttrs?: Readonly<AttrsValue> | ||
inputClass?: ClassValue | ||
inputId?: string | ||
inputType?: InputType | ||
invalidTagText?: string | ||
limit?: Numberish | ||
limitTagsText?: string | ||
modelValue?: readonly string[] | ||
name?: string | ||
noAddOnEnter?: boolean | ||
noOuterFocus?: boolean | ||
noTagRemove?: boolean | ||
placeholder?: string | ||
removeOnDelete?: boolean | ||
required?: boolean | ||
separator?: string | readonly string[] | ||
size?: Size | ||
state?: boolean | null | ||
tagClass?: ClassValue | ||
tagPills?: boolean | ||
tagRemoveLabel?: string | ||
tagRemovedLabel?: string | ||
tagValidator?: (t: string) => boolean | ||
tagVariant?: ColorVariant | null | ||
} | ||
export interface BFormTextareaProps extends CommonInputProps { | ||
noResize?: boolean | ||
rows?: Numberish | ||
wrap?: string | ||
} | ||
export interface BInputGroupProps { | ||
append?: string | ||
appendHtml?: string | ||
id?: string | ||
prepend?: string | ||
prependHtml?: string | ||
size?: Size | ||
tag?: string | ||
} | ||
export interface BInputGroupTextProps { | ||
tag?: string | ||
text?: string | ||
} | ||
export interface BListGroupProps { | ||
flush?: boolean | ||
horizontal?: boolean | Breakpoint | ||
numbered?: boolean | ||
tag?: string | ||
} | ||
export interface BListGroupItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
action?: boolean | ||
button?: boolean | ||
tag?: string | ||
} | ||
export interface BModalOrchestratorProps extends TeleporterProps {} | ||
export interface BNavProps { | ||
align?: AlignmentJustifyContent | ||
cardHeader?: boolean | ||
fill?: boolean | ||
justified?: boolean | ||
pills?: boolean | ||
small?: boolean | ||
tabs?: boolean | ||
tag?: string | ||
underline?: boolean | ||
vertical?: boolean | ||
} | ||
export interface BNavFormProps extends BFormProps { | ||
role?: string | ||
} | ||
export interface BNavItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
linkAttrs?: Readonly<AttrsValue> | ||
linkClass?: ClassValue | ||
} | ||
export interface BNavTextProps { | ||
text?: string | ||
} | ||
export interface BNavbarProps { | ||
autoClose?: boolean | ||
container?: boolean | 'fluid' | Breakpoint | ||
fixed?: 'top' | 'bottom' | ||
print?: boolean | ||
sticky?: 'top' | 'bottom' | ||
tag?: string | ||
toggleable?: boolean | Breakpoint | ||
variant?: ColorVariant | null | ||
} | ||
export interface BNavbarBrandProps extends Omit<BLinkProps, 'routerTag'> { | ||
tag?: string | ||
} | ||
export interface BNavbarNavProps { | ||
align?: AlignmentJustifyContent | ||
fill?: boolean | ||
justified?: boolean | ||
small?: boolean | ||
tag?: string | ||
} | ||
export interface BNavbarToggleProps { | ||
disabled?: boolean | ||
label?: string | ||
target?: string | readonly string[] | ||
} | ||
export interface BOffcanvasProps extends TeleporterProps { | ||
backdrop?: boolean | ||
backdropBlur?: string | ||
backdropVariant?: ColorVariant | 'white' | 'transparent' | null | ||
bodyAttrs?: Readonly<AttrsValue> | ||
bodyClass?: ClassValue | ||
bodyScrolling?: boolean | ||
footerClass?: string | ||
headerClass?: string | ||
headerCloseClass?: ClassValue | ||
headerCloseLabel?: string | ||
headerCloseVariant?: ButtonVariant | null | ||
id?: string | ||
lazy?: boolean | ||
modelValue?: boolean | ||
noCloseOnBackdrop?: boolean | ||
noCloseOnEsc?: boolean | ||
noFocus?: boolean | ||
noHeader?: boolean | ||
noHeaderClose?: boolean | ||
// TODO standardize this. Create a dedicated type | ||
// Then in components that use individual props (BImg) | ||
// Make them just use prop placement | ||
placement?: 'top' | 'bottom' | 'start' | 'end' | ||
shadow?: Size | boolean | ||
title?: string | ||
// responsive?: Breakpoint | ||
// TODO responsive doesn't work | ||
} | ||
export interface BOverlayProps extends RadiusElementExtendables { | ||
bgColor?: string | ||
blur?: string | null | ||
fixed?: boolean | ||
noCenter?: boolean | ||
noFade?: boolean | ||
noSpinner?: boolean | ||
noWrap?: boolean | ||
opacity?: Numberish | ||
overlayTag?: string | ||
show?: boolean | ||
spinnerSmall?: boolean | ||
spinnerType?: SpinnerType | ||
spinnerVariant?: ColorVariant | null | ||
variant?: ColorVariant | 'white' | 'transparent' | null | ||
wrapTag?: string | ||
zIndex?: Numberish | ||
} | ||
export interface BPaginationProps { | ||
align?: AlignmentJustifyContent | 'fill' | ||
ariaControls?: string | ||
ariaLabel?: string | ||
disabled?: boolean | ||
ellipsisClass?: ClassValue | ||
ellipsisText?: string | ||
firstClass?: ClassValue | ||
firstNumber?: boolean | ||
firstText?: string | ||
hideEllipsis?: boolean | ||
hideGotoEndButtons?: boolean | ||
labelFirstPage?: string | ||
labelLastPage?: string | ||
labelNextPage?: string | ||
labelPage?: string | ||
labelPrevPage?: string | ||
lastClass?: ClassValue | ||
lastNumber?: boolean | ||
lastText?: string | ||
limit?: Numberish | ||
modelValue?: Numberish | ||
nextClass?: ClassValue | ||
nextText?: string | ||
pageClass?: ClassValue | ||
perPage?: Numberish | ||
pills?: boolean | ||
prevClass?: ClassValue | ||
prevText?: string | ||
size?: Size | ||
totalRows?: Numberish | ||
} | ||
export interface BPlaceholderProps { | ||
animation?: PlaceholderAnimation | ||
cols?: Numberish | ||
size?: PlaceholderSize | ||
tag?: string | ||
variant?: ColorVariant | null | ||
width?: Numberish | ||
wrapperTag?: string | ||
} | ||
export interface BPlaceholderButtonProps { | ||
animation?: PlaceholderAnimation | ||
cols?: Numberish | ||
tag?: string | ||
variant?: ColorVariant | null | ||
width?: Numberish | ||
} | ||
export interface BPlaceholderCardProps { | ||
animation?: PlaceholderAnimation | ||
footerAnimation?: PlaceholderAnimation | ||
footerSize?: PlaceholderSize | ||
footerVariant?: ColorVariant | null | ||
footerWidth?: Numberish | ||
headerAnimation?: PlaceholderAnimation | ||
headerSize?: PlaceholderSize | ||
headerVariant?: ColorVariant | null | ||
headerWidth?: Numberish | ||
imgBlankColor?: string | ||
imgBottom?: boolean | ||
imgHeight?: Numberish | ||
imgSrc?: string | ||
noButton?: boolean | ||
noFooter?: boolean | ||
noHeader?: boolean | ||
noImg?: boolean | ||
size?: PlaceholderSize | ||
variant?: ColorVariant | null | ||
} | ||
export interface BPlaceholderTableProps { | ||
animation?: PlaceholderAnimation | ||
cellWidth?: Numberish | ||
columns?: Numberish | ||
footerAnimation?: PlaceholderAnimation | ||
footerCellWidth?: Numberish | ||
footerColumns?: Numberish | ||
footerSize?: PlaceholderSize | ||
footerVariant?: ColorVariant | null | ||
headerAnimation?: PlaceholderAnimation | ||
headerCellWidth?: Numberish | ||
headerColumns?: Numberish | ||
headerSize?: PlaceholderSize | ||
headerVariant?: ColorVariant | null | ||
hideHeader?: boolean | ||
rows?: Numberish | ||
showFooter?: boolean | ||
size?: PlaceholderSize | ||
variant?: ColorVariant | null | ||
} | ||
export interface BPlaceholderWrapperProps { | ||
loading?: boolean | ||
} | ||
export interface BProgressProps extends Omit<BProgressBarProps, 'label' | 'labelHtml'> { | ||
height?: string | ||
} | ||
export interface BTabProps { | ||
active?: boolean | ||
buttonId?: string | ||
disabled?: boolean | ||
id?: string | ||
lazy?: boolean | ||
lazyOnce?: boolean | ||
noBody?: boolean | ||
tag?: string | ||
title?: string | ||
titleItemClass?: ClassValue | ||
titleLinkAttrs?: Readonly<AttrsValue> | ||
titleLinkClass?: ClassValue | ||
} | ||
export interface BTabsProps { | ||
activeId?: string | ||
activeNavItemClass?: ClassValue | ||
activeTabClass?: ClassValue | ||
align?: AlignmentJustifyContent | ||
card?: boolean | ||
contentClass?: ClassValue | ||
end?: boolean | ||
fill?: boolean | ||
id?: string | ||
inactiveNavItemClass?: ClassValue | ||
inactiveTabClass?: ClassValue | ||
justified?: boolean | ||
lazy?: boolean | ||
modelValue?: number | ||
navClass?: ClassValue | ||
navItemClass?: ClassValue | ||
navWrapperClass?: ClassValue | ||
noFade?: boolean | ||
// noKeyNav?: boolean, | ||
noNavStyle?: boolean | ||
pills?: boolean | ||
small?: boolean | ||
tag?: string | ||
tabClass?: ClassValue | ||
vertical?: boolean | ||
} | ||
export interface BToastOrchestratorProps extends TeleporterProps { | ||
appendToast?: boolean | ||
} | ||
export interface BCollapseProps { | ||
// appear?: boolean | ||
horizontal?: boolean | ||
id?: string | ||
isNav?: boolean | ||
modelValue?: boolean | ||
skipAnimation?: boolean | ||
tag?: string | ||
toggle?: boolean | ||
visible?: boolean | ||
} | ||
export interface BContainerProps { | ||
fluid?: boolean | Breakpoint | ||
gutterX?: Numberish | ||
gutterY?: Numberish | ||
tag?: string | ||
} | ||
export interface BSpinnerProps { | ||
label?: string | ||
role?: string | ||
small?: boolean | ||
tag?: string | ||
type?: SpinnerType | ||
variant?: ColorVariant | null | ||
} | ||
export interface BAccordionItemProps { | ||
bodyAttrs?: Readonly<AttrsValue> | ||
bodyClass?: ClassValue | ||
buttonAttrs?: Readonly<AttrsValue> | ||
buttonClass?: ClassValue | ||
collapseClass?: ClassValue | ||
headerAttrs?: Readonly<AttrsValue> | ||
headerClass?: ClassValue | ||
headerTag?: string | ||
horizontal?: boolean | ||
id?: string | ||
isNav?: boolean | ||
modelValue?: boolean | ||
tag?: string | ||
title?: string | ||
toggle?: boolean | ||
visible?: boolean | ||
wrapperAttrs?: Readonly<AttrsValue> | ||
} | ||
export interface BAlertProps { | ||
closeClass?: ClassValue | ||
closeContent?: string | ||
closeLabel?: string | ||
closeVariant?: ButtonVariant | null | ||
dismissible?: boolean | ||
fade?: boolean | ||
immediate?: boolean | ||
interval?: Numberish | ||
modelValue?: boolean | number | ||
noHoverPause?: boolean | ||
showOnPause?: boolean | ||
variant?: ColorVariant | null | ||
} | ||
export interface BAvatarProps | ||
extends Omit<BLinkProps, 'routerTag' | 'icon'>, | ||
ColorExtendables, | ||
RadiusElementExtendables { | ||
alt?: string | ||
badge?: boolean | string | ||
badgeBgVariant?: ColorVariant | null | ||
badgeOffset?: string | ||
badgeStart?: boolean | ||
badgeTextVariant?: TextColorVariant | null | ||
badgeTop?: boolean | ||
badgeVariant?: ColorVariant | null | ||
button?: boolean | ||
buttonType?: ButtonType | ||
icon?: string | ||
size?: LiteralUnion<Size, Numberish> | ||
square?: boolean | ||
src?: string | ||
text?: string | ||
} | ||
export interface BAvatarGroupProps extends ColorExtendables, RadiusElementExtendables { | ||
overlap?: Numberish | ||
size?: LiteralUnion<Size, Numberish> | ||
square?: boolean | ||
tag?: string | ||
} | ||
export interface BBadgeProps extends Omit<BLinkProps, 'routerTag'>, ColorExtendables { | ||
dotIndicator?: boolean | ||
pill?: boolean | ||
tag?: string | ||
textIndicator?: boolean | ||
} | ||
export interface BBreadcrumbProps { | ||
items?: readonly BreadcrumbItemRaw[] | ||
} | ||
export interface BBreadcrumbItemProps extends Omit<BLinkProps, 'routerTag'> { | ||
ariaCurrent?: string | ||
text?: string | ||
} | ||
export interface BButtonProps extends Omit<BLinkProps, 'variant'> { | ||
loading?: boolean | ||
loadingFill?: boolean | ||
loadingText?: string | ||
pill?: boolean | ||
pressed?: boolean | ||
size?: Size | ||
squared?: boolean | ||
tag?: string | ||
type?: ButtonType | ||
variant?: ButtonVariant | null | ||
} | ||
export interface BButtonGroupProps { | ||
ariaLabel?: string | ||
size?: Size | ||
tag?: string | ||
vertical?: boolean | ||
} | ||
export interface BButtonToolbarProps { | ||
ariaLabel?: string | ||
// keyNav?: boolean | ||
justify?: boolean | ||
role?: string | ||
} | ||
export interface BCloseButtonProps { | ||
ariaLabel?: string | ||
disabled?: boolean | ||
type?: ButtonType | ||
} | ||
export interface BCardProps extends ColorExtendables { | ||
align?: AlignmentTextHorizontal | ||
bodyBgVariant?: ColorVariant | null | ||
bodyClass?: ClassValue | ||
bodyTag?: string | ||
bodyText?: string | ||
bodyTextVariant?: TextColorVariant | null | ||
borderVariant?: ColorVariant | null | ||
footer?: string | ||
footerBgVariant?: ColorVariant | null | ||
footerBorderVariant?: ColorVariant | null | ||
footerClass?: ClassValue | ||
footerHtml?: string | ||
footerTag?: string | ||
footerTextVariant?: TextColorVariant | null | ||
footerVariant?: ColorVariant | null | ||
header?: string | ||
headerBgVariant?: ColorVariant | null | ||
headerBorderVariant?: ColorVariant | null | ||
headerClass?: ClassValue | ||
headerHtml?: string | ||
headerTag?: string | ||
headerTextVariant?: TextColorVariant | null | ||
headerVariant?: ColorVariant | null | ||
imgAlt?: string | ||
imgBottom?: boolean | ||
imgEnd?: boolean | ||
imgHeight?: Numberish | ||
imgSrc?: string | ||
imgStart?: boolean | ||
imgTop?: boolean | ||
imgWidth?: Numberish | ||
noBody?: boolean | ||
overlay?: boolean | ||
subtitle?: string | ||
subtitleTag?: string | ||
subtitleTextVariant?: TextColorVariant | null | ||
tag?: string | ||
title?: string | ||
titleTag?: string | ||
} | ||
export interface BCardBodyProps extends ColorExtendables { | ||
overlay?: boolean | ||
subtitle?: string | ||
subtitleTag?: string | ||
subtitleTextVariant?: TextColorVariant | null | ||
tag?: string | ||
text?: string | ||
title?: string | ||
titleTag?: string | ||
} | ||
export interface BCardGroupProps { | ||
columns?: boolean | ||
deck?: boolean | ||
tag?: string | ||
} | ||
export interface BCardImageProps extends BImgProps { | ||
bottom?: boolean | ||
top?: boolean | ||
} | ||
export interface BCardSubtitleProps { | ||
text?: string | ||
tag?: string | ||
textVariant?: TextColorVariant | null | ||
} | ||
export interface BCardTextProps { | ||
tag?: string | ||
text?: string | ||
} | ||
export interface BCardTitleProps { | ||
tag?: string | ||
text?: string | ||
} | ||
export interface BCarouselProps { | ||
background?: string | ||
controls?: boolean | ||
controlsNextText?: string | ||
controlsPrevText?: string | ||
fade?: boolean | ||
id?: string | ||
imgHeight?: string | ||
imgWidth?: string | ||
indicators?: boolean | ||
indicatorsButtonLabel?: string | ||
interval?: Numberish | ||
keyboard?: boolean | ||
modelValue?: number | ||
noHoverPause?: boolean | ||
noTouch?: boolean | ||
noWrap?: boolean | ||
ride?: boolean | 'carousel' | ||
rideReverse?: boolean | ||
touchThreshold?: Numberish | ||
} | ||
export interface BCarouselSlideProps { | ||
background?: string | ||
caption?: string | ||
captionHtml?: string | ||
captionTag?: string | ||
contentTag?: string | ||
contentVisibleUp?: string | ||
id?: string | ||
imgAlt?: string | ||
imgBlank?: boolean | ||
imgBlankColor?: string | ||
imgHeight?: Numberish | ||
imgSrc?: string | ||
imgSrcset?: string | readonly string[] | ||
imgWidth?: Numberish | ||
interval?: Numberish | ||
text?: string | ||
textHtml?: string | ||
textTag?: string | ||
} | ||
export interface BTransitionProps { | ||
appear?: Booleanish | ||
appear?: boolean | ||
mode?: TransitionMode | ||
noFade?: Booleanish | ||
noFade?: boolean | ||
transProps?: Readonly<TransitionProps> | ||
@@ -61,16 +932,16 @@ } | ||
export interface BImgProps extends RadiusElementExtendables { | ||
blank?: Booleanish | ||
blank?: boolean | ||
blankColor?: string | ||
block?: Booleanish | ||
center?: Booleanish | ||
end?: Booleanish | ||
fluid?: Booleanish | ||
fluidGrow?: Booleanish | ||
block?: boolean | ||
center?: boolean | ||
end?: boolean | ||
fluid?: boolean | ||
fluidGrow?: boolean | ||
height?: Numberish | ||
lazy?: Booleanish | ||
lazy?: boolean | ||
sizes?: string | readonly string[] | ||
src?: string | ||
srcset?: string | readonly string[] | ||
start?: Booleanish | ||
thumbnail?: Booleanish | ||
start?: boolean | ||
thumbnail?: boolean | ||
width?: Numberish | ||
@@ -80,25 +951,25 @@ } | ||
export interface BFormProps { | ||
floating?: Booleanish | ||
floating?: boolean | ||
id?: string | ||
novalidate?: Booleanish | ||
validated?: Booleanish | ||
novalidate?: boolean | ||
validated?: boolean | ||
} | ||
export interface BTableSimpleProps { | ||
bordered?: Booleanish | ||
borderless?: Booleanish | ||
bordered?: boolean | ||
borderless?: boolean | ||
borderVariant?: ColorVariant | null | ||
captionTop?: Booleanish | ||
dark?: Booleanish | ||
fixed?: Booleanish | ||
hover?: Booleanish | ||
captionTop?: boolean | ||
dark?: boolean | ||
fixed?: boolean | ||
hover?: boolean | ||
id?: string | ||
noBorderCollapse?: Booleanish | ||
outlined?: Booleanish | ||
responsive?: Booleanish | Breakpoint | ||
small?: Booleanish | ||
stacked?: Booleanish | Breakpoint | ||
stickyHeader?: Booleanish | ||
striped?: Booleanish | ||
stripedColumns?: Booleanish | ||
noBorderCollapse?: boolean | ||
outlined?: boolean | ||
responsive?: boolean | Breakpoint | ||
small?: boolean | ||
stacked?: boolean | Breakpoint | ||
stickyHeader?: boolean | Numberish | ||
striped?: boolean | ||
stripedColumns?: boolean | ||
tableClass?: ClassValue | ||
@@ -108,3 +979,3 @@ variant?: ColorVariant | null | ||
export interface BTableLiteProps<T = Record<string, unknown>> extends BTableSimpleProps { | ||
export interface BTableLiteProps<T> extends BTableSimpleProps { | ||
align?: VerticalAlign | ||
@@ -124,3 +995,3 @@ caption?: string | ||
fields?: TableFieldRaw<T>[] | ||
footClone?: Booleanish | ||
footClone?: boolean | ||
footRowVariant?: ColorVariant | null | ||
@@ -130,8 +1001,8 @@ footVariant?: ColorVariant | null | ||
headVariant?: ColorVariant | null | ||
items?: readonly TableItem<T>[] | ||
labelStacked?: Booleanish | ||
items?: readonly T[] | ||
labelStacked?: boolean | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
modelValue?: any | ||
primaryKey?: string | ||
showEmpty?: Booleanish | ||
showEmpty?: boolean | ||
tbodyClass?: ClassValue | ||
@@ -142,4 +1013,8 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// tbodyTransitionProps | ||
tbodyTrClass?: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
| ((item: TableItem | null, type: string) => string | readonly any[] | null | undefined) | ||
tbodyTrClass?: | ||
| (( | ||
item: T | null, | ||
type: string | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
) => string | readonly any[] | null | undefined) | ||
| string | ||
@@ -155,4 +1030,80 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
} | ||
export interface BTableProps<T> extends Omit<BTableLiteProps<T>, 'tableClass'> { | ||
provider?: BTableProvider<T> | ||
noProvider?: readonly NoProviderTypes[] | ||
noProviderPaging?: boolean | ||
noProviderSorting?: boolean | ||
noProviderFiltering?: boolean | ||
sortBy?: BTableSortBy[] | ||
mustSort?: boolean | string[] // TODO this is a string of fields, possibly generic | ||
noSortReset?: boolean | ||
selectable?: boolean | ||
multisort?: boolean | ||
stickySelect?: boolean | ||
selectHead?: boolean | string | ||
selectMode?: 'multi' | 'single' | 'range' | ||
selectionVariant?: ColorVariant | null | ||
busy?: boolean | ||
busyLoadingText?: string | ||
perPage?: Numberish | ||
currentPage?: Numberish | ||
filter?: string | ||
filterable?: readonly string[] | ||
// TODO | ||
// apiUrl?: string | ||
// filterFunction?: () => any | ||
// filterIgnoredFields?: any[] | ||
// filterIncludedFields?: any[] | ||
// headRowVariant?: ColorVariant | null | ||
// headVariant?: ColorVariant | null | ||
// labelSortAsc?: string | ||
// labelSortClear?: string | ||
// labelSortDesc?: string | ||
// noFooterSorting?: boolean | ||
noLocalSorting?: boolean | ||
noSelectOnClick?: boolean | ||
// selectedVariant?: ColorVariant | null | ||
// showEmpty?: boolean | ||
// sortDirection?: 'asc' | 'desc' | 'last' | ||
// sortIconLeft?: boolean | ||
// sortNullLast?: boolean | ||
selectedItems?: readonly T[] | ||
noSortableIcon?: boolean | ||
} | ||
export interface BTrProps { | ||
variant?: ColorVariant | null | ||
} | ||
export interface BTheadProps { | ||
variant?: ColorVariant | null | ||
} | ||
export interface BTfootProps { | ||
variant?: ColorVariant | null | ||
} | ||
export interface BTdProps { | ||
colspan?: Numberish | ||
rowspan?: Numberish | ||
stackedHeading?: string | ||
stickyColumn?: boolean | ||
variant?: ColorVariant | null | ||
} | ||
export interface BTbodyProps { | ||
variant?: ColorVariant | null | ||
} | ||
export interface BThProps { | ||
colspan?: Numberish | ||
rowspan?: Numberish | ||
stackedHeading?: string | ||
stickyColumn?: boolean | ||
variant?: ColorVariant | null | ||
} | ||
export interface BProgressBarProps extends ColorExtendables { | ||
animated?: Booleanish | ||
animated?: boolean | ||
label?: string | ||
@@ -162,5 +1113,5 @@ labelHtml?: string | ||
precision?: Numberish | ||
showProgress?: Booleanish | ||
showValue?: Booleanish | ||
striped?: Booleanish | ||
showProgress?: boolean | ||
showValue?: boolean | ||
striped?: boolean | ||
value?: Numberish | ||
@@ -170,3 +1121,3 @@ } | ||
export interface BInputGroupAddonProps { | ||
isText?: Booleanish | ||
isText?: boolean | ||
} | ||
@@ -176,12 +1127,12 @@ | ||
ariaLive?: string | ||
forceShow?: Booleanish | ||
forceShow?: boolean | ||
id?: string | ||
role?: string | ||
state?: Booleanish | null | ||
state?: boolean | null | ||
tag?: string | ||
text?: string | ||
tooltip?: Booleanish | ||
tooltip?: boolean | ||
} | ||
export interface BDropdownProps { | ||
export interface BDropdownProps extends TeleporterProps { | ||
ariaLabel?: string | ||
@@ -191,19 +1142,18 @@ autoClose?: boolean | 'inside' | 'outside' | ||
boundaryPadding?: Padding | ||
center?: Booleanish | ||
container?: string | ComponentPublicInstance<HTMLElement> | HTMLElement | undefined | ||
disabled?: Booleanish | ||
dropend?: Booleanish | ||
dropstart?: Booleanish | ||
dropup?: Booleanish | ||
end?: Booleanish | ||
center?: boolean | ||
disabled?: boolean | ||
dropend?: boolean | ||
dropstart?: boolean | ||
dropup?: boolean | ||
end?: boolean | ||
floatingMiddleware?: Middleware[] | ||
id?: string | ||
isNav?: Booleanish | ||
lazy?: Booleanish | ||
isNav?: boolean | ||
lazy?: boolean | ||
menuClass?: ClassValue | ||
modelValue?: Booleanish | ||
noCaret?: Booleanish | ||
noFlip?: Booleanish | ||
noShift?: Booleanish | ||
noSize?: Booleanish | ||
modelValue?: boolean | ||
noCaret?: boolean | ||
noFlip?: boolean | ||
noShift?: boolean | ||
noSize?: boolean | ||
offset?: | ||
@@ -215,6 +1165,6 @@ | number | ||
size?: Size | ||
split?: Booleanish | ||
split?: boolean | ||
splitButtonType?: ButtonType | ||
splitClass?: ClassValue | ||
splitDisabled?: Booleanish | ||
splitDisabled?: boolean | ||
splitHref?: string | ||
@@ -237,10 +1187,10 @@ splitTo?: RouteLocationRaw | ||
interval?: Numberish | ||
isStatus?: Booleanish | ||
isStatus?: boolean | ||
modelValue?: boolean | number | ||
noCloseButton?: Booleanish | ||
noFade?: Booleanish | ||
noHoverPause?: Booleanish | ||
noCloseButton?: boolean | ||
noFade?: boolean | ||
noHoverPause?: boolean | ||
progressProps?: Omit<BProgressBarProps, 'label' | 'labelHtml' | 'max' | 'value'> | ||
showOnPause?: Booleanish | ||
solid?: Booleanish | ||
showOnPause?: boolean | ||
solid?: boolean | ||
title?: string | ||
@@ -251,7 +1201,6 @@ toastClass?: ClassValue | ||
export interface BPopoverProps { | ||
export interface BPopoverProps extends TeleporterProps { | ||
boundary?: Boundary | RootBoundary | ||
boundaryPadding?: Padding | ||
click?: Booleanish | ||
container?: string | Readonly<ComponentPublicInstance> | Readonly<HTMLElement> | undefined | ||
click?: boolean | ||
content?: string | ||
@@ -266,19 +1215,19 @@ customClass?: ClassValue | ||
floatingMiddleware?: Middleware[] | ||
hide?: Booleanish | ||
html?: Booleanish | ||
hide?: boolean | ||
html?: boolean | ||
id?: string | ||
inline?: Booleanish | ||
manual?: Booleanish | ||
modelValue?: Booleanish | ||
noAutoClose?: Booleanish | ||
noFade?: Booleanish | ||
noFlip?: Booleanish | ||
noHide?: Booleanish | ||
noShift?: Booleanish | ||
noSize?: Booleanish | ||
noninteractive?: Booleanish | ||
inline?: boolean | ||
manual?: boolean | ||
modelValue?: boolean | ||
noAutoClose?: boolean | ||
noFade?: boolean | ||
noFlip?: boolean | ||
noHide?: boolean | ||
noShift?: boolean | ||
noSize?: boolean | ||
noninteractive?: boolean | ||
offset?: Numberish | null | ||
placement?: PopoverPlacement | ||
persistent?: Booleanish | ||
realtime?: Booleanish | ||
persistent?: boolean | ||
realtime?: boolean | ||
reference?: string | Readonly<ComponentPublicInstance> | Readonly<HTMLElement> | null | ||
@@ -288,3 +1237,3 @@ strategy?: Strategy | ||
title?: string | ||
tooltip?: Booleanish | ||
tooltip?: boolean | ||
variant?: ColorVariant | null | ||
@@ -294,3 +1243,3 @@ } | ||
export interface BTooltipProps extends Omit<BPopoverProps, 'tooltip'> { | ||
interactive?: Booleanish | ||
interactive?: boolean | ||
} | ||
@@ -305,18 +1254,19 @@ | ||
export interface BModalProps { | ||
autoFocus?: Booleanish | ||
export interface BModalProps extends TeleporterProps { | ||
autoFocus?: boolean | ||
autoFocusButton?: 'ok' | 'cancel' | 'close' | ||
body?: string | ||
backdropVariant?: ColorVariant | null | ||
bodyAttrs?: Readonly<AttrsValue> | ||
bodyBgVariant?: ColorVariant | null | ||
bodyClass?: ClassValue | ||
bodyScrolling?: Booleanish | ||
bodyScrolling?: boolean | ||
bodyTextVariant?: TextColorVariant | null | ||
bodyVariant?: ColorVariant | null | ||
busy?: Booleanish | ||
busy?: boolean | ||
buttonSize?: Size | ||
cancelDisabled?: Booleanish | ||
cancelDisabled?: boolean | ||
cancelTitle?: string | ||
cancelVariant?: ButtonVariant | null | ||
centered?: Booleanish | ||
centered?: boolean | ||
contentClass?: ClassValue | ||
@@ -329,3 +1279,3 @@ dialogClass?: ClassValue | ||
footerVariant?: ColorVariant | null | ||
fullscreen?: Booleanish | Breakpoint | ||
fullscreen?: boolean | Breakpoint | ||
headerBgVariant?: ColorVariant | null | ||
@@ -339,26 +1289,24 @@ headerBorderVariant?: ColorVariant | null | ||
headerVariant?: ColorVariant | null | ||
hideBackdrop?: Booleanish | ||
hideFooter?: Booleanish | ||
hideHeader?: Booleanish | ||
hideHeaderClose?: Booleanish | ||
hideBackdrop?: boolean | ||
hideFooter?: boolean | ||
hideHeader?: boolean | ||
hideHeaderClose?: boolean | ||
id?: string | ||
lazy?: Booleanish | ||
lazy?: boolean | ||
modalClass?: ClassValue | ||
modelValue?: Booleanish | ||
noCloseOnBackdrop?: Booleanish | ||
noCloseOnEsc?: Booleanish | ||
noFade?: Booleanish | ||
okDisabled?: Booleanish | ||
okOnly?: Booleanish | ||
modelValue?: boolean | ||
noCloseOnBackdrop?: boolean | ||
noCloseOnEsc?: boolean | ||
noFade?: boolean | ||
okDisabled?: boolean | ||
okOnly?: boolean | ||
okTitle?: string | ||
okVariant?: ButtonVariant | null | ||
scrollable?: Booleanish | ||
scrollable?: boolean | ||
size?: Size | 'xl' | ||
teleportDisabled?: Booleanish | ||
teleportTo?: string | Readonly<RendererElement> | null | undefined | ||
title?: string | ||
titleClass?: ClassValue | ||
titleSrOnly?: Booleanish | ||
titleSrOnly?: boolean | ||
titleTag?: string | ||
transProps?: Readonly<BTransitionProps> | ||
} |
@@ -18,2 +18,3 @@ export type { | ||
Breakpoint, | ||
BTableSortBy, | ||
ButtonType, | ||
@@ -58,1 +59,3 @@ ButtonVariant, | ||
} from '..' | ||
export * from '../ComponentProps' |
@@ -1,2 +0,2 @@ | ||
import type {AriaInvalid, Booleanish, Numberish, Size} from '.' | ||
import type {AriaInvalid, Numberish, Size} from '.' | ||
@@ -11,20 +11,20 @@ export interface FormDebounceOptions { | ||
autocomplete?: string | ||
autofocus?: Booleanish | ||
disabled?: Booleanish | ||
autofocus?: boolean | ||
disabled?: boolean | ||
form?: string | ||
formatter?: (val: string, evt: Event) => string | ||
id?: string | ||
lazy?: Booleanish | ||
lazyFormatter?: Booleanish | ||
lazy?: boolean | ||
lazyFormatter?: boolean | ||
list?: string | ||
modelValue?: Numberish | null | ||
name?: string | ||
number?: Booleanish | ||
number?: boolean | ||
placeholder?: string | ||
plaintext?: Booleanish | ||
readonly?: Booleanish | ||
required?: Booleanish | ||
plaintext?: boolean | ||
readonly?: boolean | ||
required?: boolean | ||
size?: Size | ||
state?: Booleanish | null | undefined | ||
trim?: Booleanish | ||
state?: boolean | null | undefined | ||
trim?: boolean | ||
} |
@@ -0,1 +1,19 @@ | ||
/** | ||
* Represents a type that is a union of a literal type `T` and a string type `U`. | ||
* The `U & Record<never, never>` part is a trick that allows string types to be used in a way that is compatible with literal types. | ||
* | ||
* @template T The literal type. | ||
* @template U The string type. Defaults to `string` if not provided. | ||
* | ||
* @example | ||
* // Define a type that can be "small", "medium", "large", or any string | ||
* type Size = LiteralUnion<"small" | "medium" | "large"> | ||
* | ||
* // Now this variable can be assigned "small", "medium", "large", or any string | ||
* let shirtSize: Size; | ||
* shirtSize = "small"; // OK | ||
* shirtSize = "medium"; // OK | ||
* shirtSize = "large"; // OK | ||
* shirtSize = "extra large"; // Also OK | ||
*/ | ||
export type LiteralUnion<T, U = string> = T | (U & Record<never, never>) |
export type RadioValue = | ||
| boolean | ||
| string | ||
| boolean | ||
| readonly unknown[] | ||
@@ -5,0 +5,0 @@ | Readonly<Record<string, unknown>> |
@@ -1,3 +0,1 @@ | ||
import type {Booleanish} from '.' | ||
export type RadiusElement = | ||
@@ -23,7 +21,7 @@ | 'circle' | ||
export type RadiusElementExtendables = { | ||
rounded?: RadiusElement | Booleanish | ||
roundedTop?: RadiusElement | Booleanish | ||
roundedBottom?: RadiusElement | Booleanish | ||
roundedStart?: RadiusElement | Booleanish | ||
roundedEnd?: RadiusElement | Booleanish | ||
rounded?: boolean | RadiusElement | ||
roundedTop?: boolean | RadiusElement | ||
roundedBottom?: boolean | RadiusElement | ||
roundedStart?: boolean | RadiusElement | ||
roundedEnd?: boolean | RadiusElement | ||
} |
@@ -1,12 +0,4 @@ | ||
import type {Booleanish, ClassValue, ColorVariant, LiteralUnion, MaybePromise} from '.' | ||
import type {ClassValue, ColorVariant, LiteralUnion, MaybePromise} from '.' | ||
import type {StyleValue} from 'vue' | ||
export type BTableProviderContext = { | ||
readonly filter: string | undefined | ||
readonly sortBy: string | undefined | ||
readonly currentPage: number | ||
readonly perPage: number | ||
readonly sortDesc: Booleanish | ||
} | ||
export type TableItem<T = Record<string, unknown>> = T & { | ||
@@ -18,24 +10,33 @@ _rowVariant?: ColorVariant | null | ||
export type BTableProvider<T = Record<string, unknown>> = ( | ||
context: BTableProviderContext | ||
) => MaybePromise<TableItem<T>[] | undefined> | ||
export const isTableItem = (value: unknown): value is TableItem => | ||
typeof value === 'object' && value !== null | ||
export type BTableSortCompare<T> = ( | ||
aRow: TableItem<T>, | ||
bRow: TableItem<T>, | ||
fieldKey: string, | ||
sortDesc: boolean | ||
) => number | ||
// undefined means no sorting | ||
export type BTableSortByOrder = 'desc' | 'asc' | undefined | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export type TableFieldFormatter<T = any> = | ||
| string | ||
| ((value: unknown, key?: LiteralUnion<keyof T>, item?: T) => string) | ||
export type BTableSortBy = { | ||
order: BTableSortByOrder | ||
key: string | ||
comparer?: (a: string, b: string) => number | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export type TableFieldAttribute<T = any> = | ||
export type BTableProviderContext = { | ||
sortBy: BTableSortBy[] | undefined | ||
filter: string | undefined | ||
currentPage: number | ||
perPage: number | ||
} | ||
export type BTableProvider<T> = ( | ||
context: Readonly<BTableProviderContext> | ||
) => MaybePromise<T[] | undefined> | ||
export type TableFieldFormatter<T> = (value: unknown, key: string, item: T) => string | ||
export type TableFieldAttribute<T> = | ||
| Record<string, unknown> | ||
| ((value: unknown, key?: LiteralUnion<keyof T>, item?: T) => Record<string, unknown>) | ||
| ((value: unknown, key: string, item: T) => Record<string, unknown>) | ||
export interface TableField<T = Record<string, unknown>> { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export type TableField<T = any> = { | ||
key: LiteralUnion<keyof T> | ||
@@ -62,2 +63,12 @@ label?: string | ||
export type TableFieldRaw<T = Record<string, unknown>> = string | TableField<T> | ||
export type TableFieldRaw<T = unknown> = T extends object | ||
? LiteralUnion<keyof T> | TableField<T> | ||
: string | TableField | ||
export const isTableField = <T>(value: unknown): value is TableField<T> => | ||
typeof value === 'object' && value !== null && 'key' in value | ||
export const isTableFieldRaw = <T>(value: unknown): value is TableFieldRaw<T> => | ||
typeof value === 'string' || isTableField(value) | ||
export type NoProviderTypes = 'paging' | 'sorting' | 'filtering' |
import type {Placement} from '@floating-ui/vue' | ||
export {autoUpdate} from '@floating-ui/vue' | ||
import {type App, createApp, type DirectiveBinding, h, type Ref} from 'vue' | ||
import {type DirectiveBinding, h, render} from 'vue' | ||
import {DefaultAllowlist, sanitizeHtml} from './sanitizer' | ||
import BPopover from '../components/BPopover.vue' | ||
import type {BPopoverProps} from '../types' | ||
@@ -109,8 +110,10 @@ // TODO this function doesn't currently resolve with RTL in mind. Once Bootstrap finalizes their RTL, we should make this change here | ||
export interface ElementWithPopper extends HTMLElement { | ||
$__state?: Ref<{title: string; target: HTMLElement}> | ||
$__app?: App | ||
$__element?: HTMLElement | ||
} | ||
export const bind = (el: ElementWithPopper, binding: Readonly<DirectiveBinding>) => { | ||
export const bind = ( | ||
el: ElementWithPopper, | ||
binding: Readonly<DirectiveBinding>, | ||
props: BPopoverProps | ||
) => { | ||
const div = document.createElement('span') | ||
@@ -120,4 +123,3 @@ if (binding.modifiers.body) document.body.appendChild(div) | ||
else el.parentNode?.insertBefore(div, el.nextSibling) | ||
el.$__app = createApp({render: () => h(BPopover, {...el.$__state?.value})}) | ||
el.$__app.mount(div) | ||
render(h(BPopover, props), div) | ||
el.$__element = div | ||
@@ -128,5 +130,3 @@ } | ||
const div = el.$__element | ||
el.$__app?.unmount() | ||
delete el.$__app | ||
delete el.$__state | ||
if (div) render(null, div) | ||
setTimeout(() => { | ||
@@ -133,0 +133,0 @@ div?.remove() |
@@ -1,8 +0,9 @@ | ||
import type {TableFieldFormatter, TableItem} from '../types' | ||
import type {TableFieldFormatter} from '../types' | ||
import {get} from '.' | ||
export default <T = Record<string, unknown>>( | ||
item: TableItem<T>, | ||
export default ( | ||
item: unknown, | ||
// Weakly type fieldKey because it can be a nested string, such as 'foo.bar.baz' | ||
fieldKey: string, | ||
formatter?: TableFieldFormatter<typeof item> | ||
formatter?: TableFieldFormatter<unknown> | ||
) => { | ||
@@ -9,0 +10,0 @@ const val = get(item, fieldKey) |
import {titleCase} from './stringUtils' | ||
import type {TableFieldRaw} from '../types' | ||
export default <T = Record<string, unknown>>(field: Readonly<TableFieldRaw<T>>) => | ||
export default (field: Readonly<TableFieldRaw<unknown>>) => | ||
typeof field === 'string' | ||
@@ -6,0 +6,0 @@ ? titleCase(field) |
@@ -10,3 +10,2 @@ export * from './classes' | ||
export {default as getElement} from './getElement' | ||
export {default as getId} from './getId' | ||
export {default as getSlotElements} from './getSlotElements' | ||
@@ -13,0 +12,0 @@ export {default as getTableFieldHeadLabel} from './getTableFieldHeadLabel' |
@@ -96,2 +96,3 @@ import type { | ||
inline: Readonly<Ref<boolean>> | ||
reverse: Readonly<Ref<boolean>> | ||
required: Readonly<Ref<boolean>> | ||
@@ -112,2 +113,3 @@ buttons: Readonly<Ref<boolean>> | ||
inline: Readonly<Ref<boolean>> | ||
reverse: Readonly<Ref<boolean>> | ||
required: Readonly<Ref<boolean>> | ||
@@ -120,4 +122,4 @@ disabled: Readonly<Ref<boolean>> | ||
id?: Readonly<Ref<string>> | ||
readonly close?: () => void | ||
readonly open?: () => void | ||
readonly hide?: () => void | ||
readonly show?: () => void | ||
readonly toggle?: () => void | ||
@@ -130,4 +132,4 @@ visible?: Readonly<Ref<boolean>> | ||
id?: Readonly<Ref<string>> | ||
readonly close?: () => void | ||
readonly open?: () => void | ||
readonly hide?: () => void | ||
readonly show?: () => void | ||
readonly toggle?: () => void | ||
@@ -208,1 +210,3 @@ visible?: Readonly<Ref<boolean>> | ||
}> = Symbol('modalManagerPlugin') | ||
export const idPluginKey: InjectionKey<() => string> = Symbol('idPluginKey') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31300
3641636
424
Updated@vueuse/core@^10.9.0