bitboss-ui 2.0.175 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +1 -4
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -4
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +34 -27
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -4
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -3
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +32 -28
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -4
- package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index107.js +29 -31
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +12 -12
- package/dist/index129.js +20 -26
- package/dist/index13.js +1 -1
- package/dist/index131.js +13 -14
- package/dist/index133.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index137.js +3 -3
- package/dist/index139.js +2 -2
- package/dist/index15.js +14 -15
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -138
- package/dist/index207.js +138 -2
- package/dist/index209.js +2 -86
- package/dist/index21.js +16 -16
- package/dist/index210.js +6 -0
- package/dist/index211.js +2 -29
- package/dist/index212.js +66 -17
- package/dist/index214.js +13 -15
- package/dist/index215.js +13 -3
- package/dist/index216.js +13 -12
- package/dist/index217.js +10 -15
- package/dist/index218.js +5 -2
- package/dist/index219.js +5 -2
- package/dist/index220.js +5 -18
- package/dist/index221.js +5 -12
- package/dist/index222.js +5 -13
- package/dist/index223.js +5 -6
- package/dist/index224.js +2 -4
- package/dist/index225.js +2 -106
- package/dist/index226.js +4 -0
- package/dist/index227.js +19 -99
- package/dist/index228.js +115 -0
- package/dist/index23.js +45 -46
- package/dist/index230.js +88 -0
- package/dist/index232.js +28 -119
- package/dist/index233.js +18 -0
- package/dist/index234.js +17 -228
- package/dist/index235.js +51 -2
- package/dist/index236.js +15 -2
- package/dist/index237.js +3 -2
- package/dist/index238.js +11 -40
- package/dist/index239.js +4 -7
- package/dist/index240.js +193 -11
- package/dist/index242.js +5 -3
- package/dist/index243.js +5 -3
- package/dist/index244.js +6 -32
- package/dist/index245.js +247 -174
- package/dist/index246.js +52 -5
- package/dist/index247.js +44 -5
- package/dist/index248.js +4 -4
- package/dist/index249.js +60 -5
- package/dist/index25.js +155 -224
- package/dist/index250.js +18 -5
- package/dist/index251.js +12 -5
- package/dist/index252.js +6 -5
- package/dist/index253.js +104 -6
- package/dist/index255.js +95 -47
- package/dist/index257.js +228 -5
- package/dist/index258.js +176 -59
- package/dist/index259.js +2 -4
- package/dist/index260.js +3 -11
- package/dist/index261.js +33 -19
- package/dist/index262.js +2 -200
- package/dist/index264.js +3 -5
- package/dist/index265.js +6 -2
- package/dist/index266.js +16 -2
- package/dist/index267.js +3 -6
- package/dist/index268.js +9 -16
- package/dist/index269.js +9 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +23 -9
- package/dist/index271.js +9 -23
- package/dist/index272.js +8 -9
- package/dist/index273.js +5 -9
- package/dist/index274.js +8 -8
- package/dist/index275.js +2 -67
- package/dist/index276.js +67 -5
- package/dist/index277.js +5 -2
- package/dist/index278.js +4 -5
- package/dist/index279.js +3 -8
- package/dist/index281.js +7 -17
- package/dist/index282.js +7 -28
- package/dist/index283.js +10 -470
- package/dist/index284.js +4 -2
- package/dist/index285.js +3 -7
- package/dist/index286.js +3 -11
- package/dist/index287.js +3 -4
- package/dist/index288.js +17 -4
- package/dist/index289.js +28 -5
- package/dist/index29.js +3 -3
- package/dist/index290.js +278 -198
- package/dist/index291.js +2 -3
- package/dist/index292.js +125 -3
- package/dist/index293.js +2 -3
- package/dist/index294.js +17 -0
- package/dist/index295.js +2 -7
- package/dist/index296.js +16 -3
- package/dist/index297.js +2 -2
- package/dist/index298.js +16 -3
- package/dist/index299.js +2 -280
- package/dist/index300.js +19 -2
- package/dist/index301.js +2 -16
- package/dist/index302.js +19 -2
- package/dist/index303.js +2 -16
- package/dist/index304.js +27 -2
- package/dist/index305.js +2 -19
- package/dist/index306.js +2 -2
- package/dist/index307.js +2 -15
- package/dist/index308.js +2 -2
- package/dist/index309.js +2 -19
- package/dist/index31.js +2 -2
- package/dist/index310.js +22 -2
- package/dist/index312.js +3 -2
- package/dist/index313.js +3 -2
- package/dist/index314.js +1 -1
- package/dist/index315.js +6 -2
- package/dist/index316.js +1 -1
- package/dist/index317.js +5 -22
- package/dist/index318.js +7 -0
- package/dist/index319.js +701 -6
- package/dist/index320.js +354 -125
- package/dist/index321.js +58 -2
- package/dist/index322.js +33 -2
- package/dist/index323.js +28 -5
- package/dist/index325.js +2 -354
- package/dist/index326.js +122 -51
- package/dist/index327.js +369 -2
- package/dist/index328.js +7 -227
- package/dist/index329.js +5 -128
- package/dist/index33.js +8 -8
- package/dist/index330.js +6 -367
- package/dist/index331.js +46 -6
- package/dist/index332.js +6 -18
- package/dist/index333.js +17 -5
- package/dist/index334.js +58 -47
- package/dist/index335.js +58 -8
- package/dist/index336.js +227 -5
- package/dist/index337.js +7 -8
- package/dist/index338.js +92 -57
- package/dist/index340.js +2 -32
- package/dist/index341.js +128 -27
- package/dist/index342.js +438 -0
- package/dist/index343.js +125 -91
- package/dist/index344.js +476 -123
- package/dist/index345.js +40 -429
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -21
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index73.js +23 -26
- package/dist/index77.js +32 -34
- package/dist/index79.js +18 -19
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +159 -225
- package/dist/index92.js +2 -2
- package/dist/index94.js +15 -15
- package/dist/index96.js +1 -1
- package/dist/types/CommonProps.d.ts +0 -4
- package/dist/utilities/functions/parseSize.d.ts +2 -0
- package/package.json +2 -3
- package/dist/components/BbTeleport.vue.d.ts +0 -20
- package/dist/index213.js +0 -53
- package/dist/index229.js +0 -68
- package/dist/index231.js +0 -15
- package/dist/index254.js +0 -252
- package/dist/index256.js +0 -46
- package/dist/index280.js +0 -5
- package/dist/index311.js +0 -29
- package/dist/index324.js +0 -703
- package/dist/index339.js +0 -60
- package/dist/index346.js +0 -129
- package/dist/index347.js +0 -484
- package/dist/index349.js +0 -5
- package/dist/index350.js +0 -49
- /package/dist/{index241.js → index263.js} +0 -0
@@ -85,8 +85,8 @@ declare function __VLS_template(): {
|
|
85
85
|
};
|
86
86
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
87
87
|
declare const __VLS_component: import('vue').DefineComponent<BaseButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseButtonProps> & Readonly<{}>, {
|
88
|
-
type: HTMLButtonElement["type"];
|
89
88
|
tag: string;
|
89
|
+
type: HTMLButtonElement["type"];
|
90
90
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
91
91
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
92
92
|
export default _default;
|
@@ -65,10 +65,6 @@ export type BaseColorInputProps = {
|
|
65
65
|
* Sets the input as required.
|
66
66
|
*/
|
67
67
|
required?: boolean;
|
68
|
-
/**
|
69
|
-
* The target to teleport the floating component to.
|
70
|
-
*/
|
71
|
-
teleportTarget?: string;
|
72
68
|
/**
|
73
69
|
* The transition duration of the floating component.
|
74
70
|
*/
|
@@ -247,6 +243,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
247
243
|
}, string, import('vue').PublicProps, Readonly<BaseColorInputProps> & Readonly<{
|
248
244
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
249
245
|
}>, {
|
246
|
+
autocomplete: string;
|
250
247
|
transitionDuration: number;
|
251
248
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
252
249
|
wrapper: ({
|
@@ -87,10 +87,6 @@ export type BaseDatePickerInputProps = {
|
|
87
87
|
* @param date
|
88
88
|
*/
|
89
89
|
selectable?: (date: Date) => boolean;
|
90
|
-
/**
|
91
|
-
* Target element to teleport the calendar to.
|
92
|
-
*/
|
93
|
-
teleportTarget?: string;
|
94
90
|
};
|
95
91
|
export type BaseDatePickerInputEvents = {
|
96
92
|
(e: 'active'): void;
|
@@ -1,10 +1,11 @@
|
|
1
|
+
import { Classes } from '../../types/Classes';
|
1
2
|
import { CommonProps, Size } from '../../types/CommonProps';
|
2
3
|
export type Sizes = {
|
3
4
|
sm: number;
|
4
5
|
md: number;
|
5
6
|
lg: number;
|
6
7
|
};
|
7
|
-
export type BaseDialogProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'disabled' | 'eager' | '
|
8
|
+
export type BaseDialogProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'disabled' | 'eager' | 'persistent' | 'showClose' | 'title' | 'transitionDuration'> & Size<Sizes> & {
|
8
9
|
/**
|
9
10
|
* Description of the content of the modal. Extremely useful for accessibility reasons.
|
10
11
|
*/
|
@@ -19,14 +20,24 @@ export type BaseDialogProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'disa
|
|
19
20
|
*/
|
20
21
|
fullscreen?: boolean | 'mobile';
|
21
22
|
/**
|
22
|
-
*
|
23
|
+
* Classes to apply to the panel of the dialog.
|
24
|
+
* @deprecated Pass a common `class` attribute to the component instead.
|
23
25
|
*/
|
24
|
-
|
26
|
+
panelClasses?: Classes;
|
27
|
+
/**
|
28
|
+
* Classes to apply to the overlay of the dialog.
|
29
|
+
* @deprecated Pass a common `class` attribute to the component instead.
|
30
|
+
*/
|
31
|
+
overlayClasses?: Classes;
|
32
|
+
};
|
33
|
+
type __VLS_Props = BaseDialogProps;
|
34
|
+
export type BaseDialogEvents = {
|
35
|
+
(e: 'shown' | 'hidden'): void;
|
25
36
|
};
|
26
37
|
export type BaseDialogSlots = {
|
27
38
|
header?: (props: {
|
28
39
|
titleId: typeof titleId;
|
29
|
-
close: typeof
|
40
|
+
close: typeof userClose;
|
30
41
|
title: BaseDialogProps['title'];
|
31
42
|
}) => any;
|
32
43
|
title?: (props: {
|
@@ -40,56 +51,52 @@ export type BaseDialogSlots = {
|
|
40
51
|
default?: (props: object) => any;
|
41
52
|
footer?: (props: object) => any;
|
42
53
|
};
|
43
|
-
export type BaseDialogEvents = {
|
44
|
-
(e: 'shown'): void;
|
45
|
-
(e: 'hidden'): void;
|
46
|
-
(e: 'update:modelValue', value: boolean): void;
|
47
|
-
};
|
48
54
|
declare const titleId: string;
|
49
55
|
declare const descriptionId: string;
|
50
56
|
/**
|
51
|
-
*
|
57
|
+
* This function is called when the user attempts to close the dialog.
|
58
|
+
* It differs from programmatically closing the dialog in that it allows for
|
59
|
+
* custom logic to be executed.
|
52
60
|
*/
|
53
|
-
declare const
|
61
|
+
declare const userClose: (event: Event) => false | undefined;
|
62
|
+
type __VLS_PublicProps = {
|
63
|
+
modelValue?: boolean;
|
64
|
+
} & __VLS_Props;
|
54
65
|
declare function __VLS_template(): {
|
55
66
|
attrs: Partial<{}>;
|
56
67
|
slots: Readonly<BaseDialogSlots> & BaseDialogSlots;
|
57
68
|
refs: {
|
58
|
-
|
59
|
-
panel: HTMLDivElement;
|
60
|
-
content: HTMLDivElement;
|
69
|
+
dialog: HTMLDialogElement;
|
61
70
|
header: HTMLDivElement;
|
62
71
|
body: HTMLDivElement;
|
63
72
|
footer: HTMLDivElement;
|
64
73
|
};
|
65
|
-
rootEl:
|
74
|
+
rootEl: HTMLDialogElement;
|
66
75
|
};
|
67
76
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
68
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
77
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
78
|
+
"update:modelValue": (value: boolean) => any;
|
79
|
+
} & {
|
69
80
|
shown: () => any;
|
70
81
|
hidden: () => any;
|
71
|
-
|
72
|
-
}, string, import('vue').PublicProps, Readonly<BaseDialogProps> & Readonly<{
|
82
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
73
83
|
onShown?: (() => any) | undefined;
|
74
84
|
onHidden?: (() => any) | undefined;
|
75
85
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
76
86
|
}>, {
|
77
|
-
size: number | ({
|
87
|
+
size: number | keyof Sizes | ({
|
78
88
|
size?: any;
|
79
|
-
} & string)
|
80
|
-
transition: string;
|
89
|
+
} & string);
|
81
90
|
transitionDuration: number;
|
82
|
-
overlayClasses:
|
83
|
-
panelClasses:
|
91
|
+
overlayClasses: Classes;
|
92
|
+
panelClasses: Classes;
|
84
93
|
showClose: boolean;
|
85
94
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
86
|
-
|
87
|
-
panel: HTMLDivElement;
|
88
|
-
content: HTMLDivElement;
|
95
|
+
dialog: HTMLDialogElement;
|
89
96
|
header: HTMLDivElement;
|
90
97
|
body: HTMLDivElement;
|
91
98
|
footer: HTMLDivElement;
|
92
|
-
},
|
99
|
+
}, HTMLDialogElement>;
|
93
100
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
94
101
|
export default _default;
|
95
102
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -163,10 +163,6 @@ export type BaseSelectProps<Item> = {
|
|
163
163
|
* @param count - Number of selected labels.
|
164
164
|
*/
|
165
165
|
selectedLabelsFn?: (count: number) => string;
|
166
|
-
/**
|
167
|
-
* Target to teleport the listbox to.
|
168
|
-
*/
|
169
|
-
teleportTarget?: string;
|
170
166
|
/**
|
171
167
|
* How long the transition has to last in milliseconds
|
172
168
|
*/
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDialogElement>;
|
2
2
|
export default _default;
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { BaseDialogProps, BaseDialogSlots } from '../BaseDialog/BaseDialog.vue';
|
2
2
|
export type { BaseDialogProps as BbDialogProps, BaseDialogEvents as BbDialogEvents, Sizes, } from '../BaseDialog/BaseDialog.vue';
|
3
|
+
type __VLS_Props = BaseDialogProps;
|
4
|
+
type __VLS_PublicProps = {
|
5
|
+
modelValue?: boolean;
|
6
|
+
} & __VLS_Props;
|
3
7
|
declare function __VLS_template(): {
|
4
8
|
attrs: Partial<{}>;
|
5
9
|
slots: Readonly<BaseDialogSlots> & BaseDialogSlots;
|
@@ -7,11 +11,12 @@ declare function __VLS_template(): {
|
|
7
11
|
rootEl: any;
|
8
12
|
};
|
9
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
15
|
+
"update:modelValue": (value: boolean) => any;
|
16
|
+
} & {
|
11
17
|
shown: () => any;
|
12
18
|
hidden: () => any;
|
13
|
-
|
14
|
-
}, string, import('vue').PublicProps, Readonly<BaseDialogProps> & Readonly<{
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
15
20
|
onShown?: (() => any) | undefined;
|
16
21
|
onHidden?: (() => any) | undefined;
|
17
22
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BaseButtonProps } from '../BaseButton/BaseButton.vue';
|
2
2
|
import { CommonProps } from '../../types/CommonProps';
|
3
|
-
export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration'
|
3
|
+
export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration'> & {
|
4
4
|
/**
|
5
5
|
* Array used to render each dropdown button.
|
6
6
|
* They can act as `button`, as `a`, or as `router-link`
|
@@ -1,41 +1,47 @@
|
|
1
|
+
import { Classes } from '../../types/Classes';
|
1
2
|
import { CommonProps, Size } from '../../types/CommonProps';
|
2
3
|
export type Sizes = {
|
3
4
|
sm: number;
|
4
5
|
md: number;
|
5
6
|
lg: number;
|
6
7
|
};
|
7
|
-
export type BbOffCanvasProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'disabled' | 'eager' | '
|
8
|
+
export type BbOffCanvasProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'disabled' | 'eager' | 'persistent' | 'showClose' | 'title' | 'transitionDuration'> & Size<Sizes> & {
|
8
9
|
/**
|
9
10
|
* Description of the content of the modal. Extremely useful for accessibility reasons.
|
10
11
|
*/
|
11
12
|
description?: string;
|
12
13
|
/**
|
13
|
-
* Elements that obtains focus immediately after opening the
|
14
|
+
* Elements that obtains focus immediately after opening the dialog.
|
14
15
|
* By default it's the first tabbable item.
|
15
16
|
*/
|
16
17
|
focusTarget?: string;
|
17
18
|
/**
|
18
|
-
* Displays the
|
19
|
+
* Displays the modal as fullscreen with no margin to the page
|
19
20
|
*/
|
20
21
|
fullscreen?: boolean | 'mobile';
|
21
22
|
/**
|
22
|
-
*
|
23
|
+
* Classes to apply to the panel of the dialog.
|
24
|
+
* @deprecated Pass a common `class` attribute to the component instead.
|
23
25
|
*/
|
24
|
-
|
26
|
+
panelClasses?: Classes;
|
27
|
+
/**
|
28
|
+
* Classes to apply to the overlay of the dialog.
|
29
|
+
* @deprecated Pass a common `class` attribute to the component instead.
|
30
|
+
*/
|
31
|
+
overlayClasses?: Classes;
|
25
32
|
/**
|
26
33
|
* Defines the direction the offcanvas should appear from
|
27
34
|
*/
|
28
35
|
direction?: 'left' | 'top' | 'right' | 'bottom';
|
29
36
|
};
|
37
|
+
type __VLS_Props = BbOffCanvasProps;
|
30
38
|
export type BbOffCanvasEvents = {
|
31
|
-
(e: 'shown'): void;
|
32
|
-
(e: 'hidden'): void;
|
33
|
-
(e: 'update:modelValue', value: boolean): void;
|
39
|
+
(e: 'shown' | 'hidden'): void;
|
34
40
|
};
|
35
41
|
export type BbOffCanvasSlots = {
|
36
42
|
header?: (props: {
|
37
43
|
titleId: typeof titleId;
|
38
|
-
close: typeof
|
44
|
+
close: typeof userClose;
|
39
45
|
title: BbOffCanvasProps['title'];
|
40
46
|
}) => any;
|
41
47
|
title?: (props: {
|
@@ -47,36 +53,37 @@ export type BbOffCanvasSlots = {
|
|
47
53
|
text: BbOffCanvasProps['description'];
|
48
54
|
}) => any;
|
49
55
|
default?: (props: object) => any;
|
50
|
-
content?: (props: {
|
51
|
-
close: typeof onCloseClick;
|
52
|
-
}) => any;
|
53
56
|
footer?: (props: object) => any;
|
54
57
|
};
|
55
58
|
declare const titleId: string;
|
56
59
|
declare const descriptionId: string;
|
57
60
|
/**
|
58
|
-
*
|
61
|
+
* This function is called when the user attempts to close the dialog.
|
62
|
+
* It differs from programmatically closing the dialog in that it allows for
|
63
|
+
* custom logic to be executed.
|
59
64
|
*/
|
60
|
-
declare const
|
65
|
+
declare const userClose: (event: Event) => false | undefined;
|
66
|
+
type __VLS_PublicProps = {
|
67
|
+
modelValue?: boolean;
|
68
|
+
} & __VLS_Props;
|
61
69
|
declare function __VLS_template(): {
|
62
70
|
attrs: Partial<{}>;
|
63
71
|
slots: Readonly<BbOffCanvasSlots> & BbOffCanvasSlots;
|
64
72
|
refs: {
|
65
|
-
|
66
|
-
panel: HTMLDivElement;
|
67
|
-
content: HTMLDivElement;
|
73
|
+
dialog: HTMLDialogElement;
|
68
74
|
header: HTMLDivElement;
|
69
75
|
body: HTMLDivElement;
|
70
76
|
footer: HTMLDivElement;
|
71
77
|
};
|
72
|
-
rootEl:
|
78
|
+
rootEl: HTMLDialogElement;
|
73
79
|
};
|
74
80
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
75
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
81
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
82
|
+
"update:modelValue": (value: boolean) => any;
|
83
|
+
} & {
|
76
84
|
shown: () => any;
|
77
85
|
hidden: () => any;
|
78
|
-
|
79
|
-
}, string, import('vue').PublicProps, Readonly<BbOffCanvasProps> & Readonly<{
|
86
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
80
87
|
onShown?: (() => any) | undefined;
|
81
88
|
onHidden?: (() => any) | undefined;
|
82
89
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -84,20 +91,17 @@ declare const __VLS_component: import('vue').DefineComponent<BbOffCanvasProps, {
|
|
84
91
|
size: number | ({
|
85
92
|
size?: any;
|
86
93
|
} & string) | keyof Sizes;
|
87
|
-
transition: string;
|
88
94
|
transitionDuration: number;
|
89
95
|
direction: "left" | "top" | "right" | "bottom";
|
90
|
-
overlayClasses:
|
91
|
-
panelClasses:
|
96
|
+
overlayClasses: Classes;
|
97
|
+
panelClasses: Classes;
|
92
98
|
showClose: boolean;
|
93
99
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
94
|
-
|
95
|
-
panel: HTMLDivElement;
|
96
|
-
content: HTMLDivElement;
|
100
|
+
dialog: HTMLDialogElement;
|
97
101
|
header: HTMLDivElement;
|
98
102
|
body: HTMLDivElement;
|
99
103
|
footer: HTMLDivElement;
|
100
|
-
},
|
104
|
+
}, HTMLDialogElement>;
|
101
105
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
102
106
|
export default _default;
|
103
107
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { nextTick } from 'vue';
|
2
2
|
import { CommonProps } from '../../types/CommonProps';
|
3
3
|
import { Placement } from '@floating-ui/vue';
|
4
|
-
export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | 'block' | 'disabled' | 'eager' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'
|
4
|
+
export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | 'block' | 'disabled' | 'eager' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
|
5
5
|
/**
|
6
6
|
* Elements that obtains focus immediately after opening the popover.
|
7
7
|
* By default it's the first tabbable item.
|
@@ -193,10 +193,6 @@ export type BbSelectProps<T> = {
|
|
193
193
|
* you either always return the previous items or you stash them passing `true` to this option.
|
194
194
|
*/
|
195
195
|
stash?: boolean;
|
196
|
-
/**
|
197
|
-
* Target to teleport the listbox to.
|
198
|
-
*/
|
199
|
-
teleportTarget?: string;
|
200
196
|
/**
|
201
197
|
* How long the transition has to last in milliseconds
|
202
198
|
*/
|
@@ -6,5 +6,5 @@ export type BbToastProps = {
|
|
6
6
|
};
|
7
7
|
declare const _default: import('vue').DefineComponent<BbToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbToastProps> & Readonly<{}>, {
|
8
8
|
placement: "bottom" | "bottom-start" | "bottom-end" | "top" | "top-start" | "top-end";
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
10
10
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CommonProps } from '../../types/CommonProps';
|
2
2
|
import { Placement } from '@floating-ui/vue';
|
3
|
-
export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | '
|
3
|
+
export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
|
4
4
|
/**
|
5
5
|
* The delay in milliseconds before the tooltip is shown.
|
6
6
|
* @default 0
|