bitboss-ui 2.1.32 → 2.1.33
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/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +27 -36
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
- package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
- package/dist/composables/useCancelableFunction.d.ts +17 -0
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +111 -93
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index139.js +1 -1
- package/dist/index140.js +292 -250
- package/dist/index141.js +1 -1
- package/dist/index142.js +2 -2
- package/dist/index15.js +72 -74
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +15 -15
- package/dist/index212.js +3 -3
- package/dist/index213.js +2 -2
- package/dist/index214.js +2 -2
- package/dist/index215.js +13 -4
- package/dist/index216.js +2 -2
- package/dist/index217.js +7 -5
- package/dist/index218.js +3 -20
- package/dist/index219.js +80 -191
- package/dist/index221.js +28 -116
- package/dist/index222.js +19 -0
- package/dist/index223.js +49 -32
- package/dist/index224.js +15 -86
- package/dist/index225.js +5 -0
- package/dist/index226.js +11 -28
- package/dist/index227.js +14 -15
- package/dist/index228.js +2 -51
- package/dist/index229.js +2 -15
- package/dist/index23.js +153 -153
- package/dist/index230.js +6 -3
- package/dist/index231.js +16 -12
- package/dist/index232.js +9 -15
- package/dist/index233.js +3 -2
- package/dist/index234.js +9 -2
- package/dist/index235.js +121 -2
- package/dist/index237.js +23 -5
- package/dist/index238.js +4 -5
- package/dist/index239.js +23 -5
- package/dist/index240.js +5 -5
- package/dist/index241.js +5 -5
- package/dist/index242.js +5 -5
- package/dist/index243.js +5 -2
- package/dist/index244.js +5 -8
- package/dist/index245.js +5 -250
- package/dist/index246.js +5 -52
- package/dist/index247.js +2 -44
- package/dist/index248.js +8 -5
- package/dist/index249.js +243 -53
- package/dist/index25.js +1 -1
- package/dist/index250.js +52 -4
- package/dist/index251.js +44 -3
- package/dist/index252.js +5 -13
- package/dist/index253.js +54 -100
- package/dist/index254.js +108 -0
- package/dist/{index255.js → index256.js} +2 -2
- package/dist/index258.js +2 -183
- package/dist/index259.js +4 -7
- package/dist/index260.js +5 -2
- package/dist/index261.js +2 -2
- package/dist/index262.js +19 -6
- package/dist/index263.js +2 -7
- package/dist/index264.js +6 -17
- package/dist/index265.js +7 -12
- package/dist/index266.js +33 -5
- package/dist/index267.js +2 -229
- package/dist/index268.js +18 -5
- package/dist/index269.js +11 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +229 -3
- package/dist/index271.js +3 -9
- package/dist/index272.js +4 -23
- package/dist/index273.js +197 -3
- package/dist/index275.js +183 -6
- package/dist/index276.js +7 -16
- package/dist/index277.js +9 -9
- package/dist/index278.js +9 -8
- package/dist/index279.js +8 -33
- package/dist/index280.js +33 -28
- package/dist/index281.js +30 -0
- package/dist/index283.js +2 -5
- package/dist/index284.js +5 -8
- package/dist/index285.js +67 -2
- package/dist/index286.js +7 -5
- package/dist/index287.js +11 -3
- package/dist/index288.js +5 -3
- package/dist/index289.js +3 -7
- package/dist/index29.js +3 -3
- package/dist/index290.js +17 -11
- package/dist/index291.js +28 -2
- package/dist/index292.js +718 -4
- package/dist/index293.js +366 -3
- package/dist/index294.js +55 -14
- package/dist/index295.js +3 -28
- package/dist/index296.js +280 -4
- package/dist/index297.js +2 -5
- package/dist/index298.js +13 -277
- package/dist/index299.js +2 -2
- package/dist/index300.js +9 -9
- package/dist/index302.js +17 -14
- package/dist/index304.js +12 -16
- package/dist/index306.js +15 -11
- package/dist/index308.js +23 -15
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -27
- package/dist/index311.js +2 -2
- package/dist/index312.js +1 -1
- package/dist/index313.js +1 -1
- package/dist/index314.js +21 -1
- package/dist/index316.js +3 -22
- package/dist/index317.js +5 -0
- package/dist/index318.js +6 -3
- package/dist/index319.js +4 -3
- package/dist/index320.js +124 -5
- package/dist/index321.js +2 -2
- package/dist/index322.js +2 -125
- package/dist/index324.js +3 -5
- package/dist/index325.js +5 -718
- package/dist/index326.js +8 -366
- package/dist/index327.js +2 -58
- package/dist/index328.js +7 -0
- package/dist/index329.js +1 -1
- package/dist/index33.js +8 -8
- package/dist/index330.js +4 -2
- package/dist/index331.js +92 -7
- package/dist/index332.js +34 -5
- package/dist/index333.js +6 -8
- package/dist/index334.js +128 -57
- package/dist/index335.js +367 -56
- package/dist/index336.js +56 -6
- package/dist/index337.js +57 -128
- package/dist/index338.js +2 -369
- package/dist/index339.js +6 -6
- package/dist/index340.js +6 -18
- package/dist/index341.js +17 -226
- package/dist/index342.js +46 -6
- package/dist/index343.js +7 -46
- package/dist/index344.js +5 -92
- package/dist/index345.js +7 -128
- package/dist/index346.js +223 -431
- package/dist/index347.js +123 -121
- package/dist/index348.js +421 -473
- package/dist/index349.js +125 -48
- package/dist/index35.js +3 -3
- package/dist/index350.js +490 -0
- package/dist/index351.js +52 -0
- package/dist/index37.js +263 -271
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +2 -2
- package/dist/index79.js +206 -182
- 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 +1 -1
- package/dist/index92.js +1 -1
- package/dist/index94.js +121 -117
- package/dist/index96.js +1 -1
- package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
- package/dist/utilities/functions/parseWidthString.d.ts +6 -0
- package/package.json +2 -2
- package/dist/index236.js +0 -7
- package/dist/index257.js +0 -4
- package/dist/index274.js +0 -11
- package/dist/index282.js +0 -69
- package/dist/index315.js +0 -4
- package/dist/index323.js +0 -4
@@ -1,11 +1,20 @@
|
|
1
1
|
import { CommonProps } from '../../types/CommonProps';
|
2
2
|
import { Placement } from '@floating-ui/vue';
|
3
3
|
export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
|
4
|
+
/**
|
5
|
+
* Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
|
6
|
+
* @deprecated since the popover is local you should use a normal css class applied to the top level element
|
7
|
+
*/
|
8
|
+
theme?: string;
|
4
9
|
/**
|
5
10
|
* The delay in milliseconds before the tooltip is shown.
|
6
11
|
* @default 0
|
7
12
|
*/
|
8
13
|
timeout?: number;
|
14
|
+
/**
|
15
|
+
* Width of the dropdown in pixels or percentage.
|
16
|
+
*/
|
17
|
+
width?: number | string;
|
9
18
|
};
|
10
19
|
type __VLS_Props = BbTooltipProps;
|
11
20
|
type BbTooltipSlots = {
|
@@ -15,7 +24,7 @@ type BbTooltipSlots = {
|
|
15
24
|
onMouseenter: typeof onMouseenter;
|
16
25
|
onFocus: typeof onFocus;
|
17
26
|
onBlur: typeof closeTooltip;
|
18
|
-
|
27
|
+
ref: (reference: unknown) => void;
|
19
28
|
};
|
20
29
|
disabled?: boolean;
|
21
30
|
open: boolean;
|
@@ -33,20 +42,19 @@ declare function __VLS_template(): {
|
|
33
42
|
attrs: Partial<{}>;
|
34
43
|
slots: Readonly<BbTooltipSlots> & BbTooltipSlots;
|
35
44
|
refs: {
|
36
|
-
|
45
|
+
popover: ({
|
37
46
|
$: import('vue').ComponentInternalInstance;
|
38
47
|
$data: {};
|
39
48
|
$props: {
|
40
49
|
readonly modelValue?: boolean | undefined;
|
50
|
+
readonly eager?: boolean | undefined;
|
41
51
|
readonly transitionDuration?: number | undefined;
|
42
52
|
readonly arrowPadding?: number | undefined;
|
43
|
-
readonly block?: boolean | undefined;
|
44
53
|
readonly offset?: number | undefined;
|
45
54
|
readonly padding?: number | undefined;
|
46
55
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
47
|
-
readonly
|
56
|
+
readonly anchor?: any;
|
48
57
|
readonly dialog?: boolean | undefined;
|
49
|
-
readonly renderContent?: boolean | undefined;
|
50
58
|
readonly tag?: string | undefined;
|
51
59
|
readonly flip?: boolean | undefined;
|
52
60
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -58,7 +66,6 @@ declare function __VLS_template(): {
|
|
58
66
|
[x: string]: unknown;
|
59
67
|
} & {
|
60
68
|
wrapper: unknown;
|
61
|
-
content: unknown;
|
62
69
|
bubblearrow: HTMLSpanElement;
|
63
70
|
};
|
64
71
|
$slots: Readonly<{
|
@@ -71,10 +78,9 @@ declare function __VLS_template(): {
|
|
71
78
|
$el: any;
|
72
79
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
73
80
|
modelValue?: boolean;
|
74
|
-
} & Pick<CommonProps, "
|
75
|
-
|
81
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
82
|
+
anchor?: any;
|
76
83
|
dialog?: boolean;
|
77
|
-
renderContent?: boolean;
|
78
84
|
tag?: string;
|
79
85
|
flip?: boolean;
|
80
86
|
}> & Readonly<{
|
@@ -85,7 +91,6 @@ declare function __VLS_template(): {
|
|
85
91
|
transitionDuration: number;
|
86
92
|
padding: number;
|
87
93
|
tag: string;
|
88
|
-
renderContent: boolean;
|
89
94
|
flip: boolean;
|
90
95
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
91
96
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -111,21 +116,18 @@ declare function __VLS_template(): {
|
|
111
116
|
transitionDuration: number;
|
112
117
|
padding: number;
|
113
118
|
tag: string;
|
114
|
-
renderContent: boolean;
|
115
119
|
flip: boolean;
|
116
120
|
}> & Omit<Readonly<{
|
117
121
|
modelValue?: boolean;
|
118
|
-
} & Pick<CommonProps, "
|
119
|
-
|
122
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
123
|
+
anchor?: any;
|
120
124
|
dialog?: boolean;
|
121
|
-
renderContent?: boolean;
|
122
125
|
tag?: string;
|
123
126
|
flip?: boolean;
|
124
127
|
}> & Readonly<{
|
125
128
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
126
|
-
}>, "transitionDuration" | "padding" | "tag" | "
|
129
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
127
130
|
$slots: {
|
128
|
-
activator?(_: {}): any;
|
129
131
|
default?(_: {}): any;
|
130
132
|
};
|
131
133
|
}) | null;
|
@@ -146,20 +148,19 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
146
148
|
theme: string;
|
147
149
|
timeout: number;
|
148
150
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
149
|
-
|
151
|
+
popover: ({
|
150
152
|
$: import('vue').ComponentInternalInstance;
|
151
153
|
$data: {};
|
152
154
|
$props: {
|
153
155
|
readonly modelValue?: boolean | undefined;
|
156
|
+
readonly eager?: boolean | undefined;
|
154
157
|
readonly transitionDuration?: number | undefined;
|
155
158
|
readonly arrowPadding?: number | undefined;
|
156
|
-
readonly block?: boolean | undefined;
|
157
159
|
readonly offset?: number | undefined;
|
158
160
|
readonly padding?: number | undefined;
|
159
161
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
160
|
-
readonly
|
162
|
+
readonly anchor?: any;
|
161
163
|
readonly dialog?: boolean | undefined;
|
162
|
-
readonly renderContent?: boolean | undefined;
|
163
164
|
readonly tag?: string | undefined;
|
164
165
|
readonly flip?: boolean | undefined;
|
165
166
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -171,7 +172,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
171
172
|
[x: string]: unknown;
|
172
173
|
} & {
|
173
174
|
wrapper: unknown;
|
174
|
-
content: unknown;
|
175
175
|
bubblearrow: HTMLSpanElement;
|
176
176
|
};
|
177
177
|
$slots: Readonly<{
|
@@ -184,10 +184,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
184
184
|
$el: any;
|
185
185
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
186
186
|
modelValue?: boolean;
|
187
|
-
} & Pick<CommonProps, "
|
188
|
-
|
187
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
188
|
+
anchor?: any;
|
189
189
|
dialog?: boolean;
|
190
|
-
renderContent?: boolean;
|
191
190
|
tag?: string;
|
192
191
|
flip?: boolean;
|
193
192
|
}> & Readonly<{
|
@@ -198,7 +197,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
198
197
|
transitionDuration: number;
|
199
198
|
padding: number;
|
200
199
|
tag: string;
|
201
|
-
renderContent: boolean;
|
202
200
|
flip: boolean;
|
203
201
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
204
202
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -224,21 +222,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
224
222
|
transitionDuration: number;
|
225
223
|
padding: number;
|
226
224
|
tag: string;
|
227
|
-
renderContent: boolean;
|
228
225
|
flip: boolean;
|
229
226
|
}> & Omit<Readonly<{
|
230
227
|
modelValue?: boolean;
|
231
|
-
} & Pick<CommonProps, "
|
232
|
-
|
228
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
229
|
+
anchor?: any;
|
233
230
|
dialog?: boolean;
|
234
|
-
renderContent?: boolean;
|
235
231
|
tag?: string;
|
236
232
|
flip?: boolean;
|
237
233
|
}> & Readonly<{
|
238
234
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
239
|
-
}>, "transitionDuration" | "padding" | "tag" | "
|
235
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
240
236
|
$slots: {
|
241
|
-
activator?(_: {}): any;
|
242
237
|
default?(_: {}): any;
|
243
238
|
};
|
244
239
|
}) | null;
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { CommonProps } from '../types/CommonProps';
|
2
|
-
export type BubbleProps = Pick<CommonProps, 'arrowPadding' | '
|
3
|
-
|
2
|
+
export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
|
3
|
+
anchor?: any;
|
4
4
|
dialog?: boolean;
|
5
|
-
renderContent?: boolean;
|
6
5
|
tag?: string;
|
7
6
|
flip?: boolean;
|
8
7
|
};
|
@@ -13,12 +12,10 @@ type __VLS_PublicProps = {
|
|
13
12
|
declare function __VLS_template(): {
|
14
13
|
attrs: Partial<{}>;
|
15
14
|
slots: {
|
16
|
-
activator?(_: {}): any;
|
17
15
|
default?(_: {}): any;
|
18
16
|
};
|
19
17
|
refs: {
|
20
18
|
wrapper: unknown;
|
21
|
-
content: unknown;
|
22
19
|
bubblearrow: HTMLSpanElement;
|
23
20
|
};
|
24
21
|
rootEl: any;
|
@@ -32,11 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
32
29
|
transitionDuration: number;
|
33
30
|
padding: number;
|
34
31
|
tag: string;
|
35
|
-
renderContent: boolean;
|
36
32
|
flip: boolean;
|
37
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
38
34
|
wrapper: unknown;
|
39
|
-
content: unknown;
|
40
35
|
bubblearrow: HTMLSpanElement;
|
41
36
|
}, any>;
|
42
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
export interface CancelableFunction<T extends any[], R> {
|
3
|
+
execute: (...args: T) => Promise<R>;
|
4
|
+
cancel: () => void;
|
5
|
+
isCancelled: Ref<boolean>;
|
6
|
+
isExecuting: Ref<boolean>;
|
7
|
+
}
|
8
|
+
export interface CancelableExecutionContext {
|
9
|
+
signal: AbortSignal;
|
10
|
+
isCancelled: Ref<boolean>;
|
11
|
+
checkCancelled: () => void;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Creates a cancelable function wrapper that allows interrupting async operations.
|
15
|
+
* The wrapped function receives a context object with cancellation utilities.
|
16
|
+
*/
|
17
|
+
export declare function useCancelableFunction<T extends any[], R>(fn: (context: CancelableExecutionContext, ...args: T) => Promise<R> | R): CancelableFunction<T, R>;
|