bani-ui 1.0.2-alpha.8 → 1.0.2
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/es/{Button-Bwzevixh.js → Button-CXgL_cy-.js} +6 -4
- package/dist/es/{ButtonGroup-iYDLXmLV.js → ButtonGroup-CaS3gDGZ.js} +4 -3
- package/dist/es/ConfigProvider-BPs20cEq.js +74 -0
- package/dist/es/Dropdown-Dgqe_mDE.js +175 -0
- package/dist/es/{Icon-C5WM3GNh.js → Icon-iDz_Qer5.js} +2 -2
- package/dist/es/{Loading-DEDOSX2q.js → Loading-BuMMkzGV.js} +3 -3
- package/dist/es/{Message-CQJbBQH-.js → Message-xfxk4ZMC.js} +9 -8
- package/dist/es/{Popconfirm-DGlIr8wm.js → Popconfirm-DiHdBNmK.js} +11 -10
- package/dist/es/{Tooltip-CQ0AQJf-.js → Tooltip-CR8OQQL4.js} +7 -6
- package/dist/es/{hooks-D92zul9o.js → hooks-Bze4eaZa.js} +6 -8
- package/dist/es/index.js +20 -10
- package/dist/es/{utils-Uf9tqvV5.js → utils-mFOE2DND.js} +1 -1
- package/dist/es/{vendor-R0ZbR4ac.js → vendor-mcUuP0dl.js} +129 -11
- package/dist/index.css +1 -1
- package/dist/theme/ConfigProvider.css +1 -0
- package/dist/theme/Dropdown.css +117 -0
- package/dist/types/components/Button/constants.d.ts +1 -0
- package/dist/types/components/Button/index.d.ts +156 -16
- package/dist/types/components/Button/types.d.ts +3 -2
- package/dist/types/components/ButtonGroup/index.d.ts +34 -3
- package/dist/types/components/ButtonGroup/types.d.ts +1 -0
- package/dist/types/components/ConfigProvider/constants.d.ts +5 -0
- package/dist/types/components/ConfigProvider/hooks.d.ts +6 -0
- package/dist/types/components/ConfigProvider/index.d.ts +41 -0
- package/dist/types/components/ConfigProvider/types.d.ts +6 -0
- package/dist/types/components/Dropdown/constants.d.ts +4 -0
- package/dist/types/components/Dropdown/index.d.ts +266 -0
- package/dist/types/components/Dropdown/types.d.ts +31 -0
- package/dist/types/components/Icon/index.d.ts +235 -3
- package/dist/types/components/Icon/types.d.ts +1 -0
- package/dist/types/components/Loading/directive.d.ts +1 -0
- package/dist/types/components/Loading/index.d.ts +2 -0
- package/dist/types/components/Loading/service.d.ts +1 -0
- package/dist/types/components/Loading/types.d.ts +1 -0
- package/dist/types/components/Message/index.d.ts +2 -1
- package/dist/types/components/Message/methods.d.ts +1 -0
- package/dist/types/components/Message/types.d.ts +1 -0
- package/dist/types/components/Popconfirm/index.d.ts +125 -15
- package/dist/types/components/Popconfirm/types.d.ts +1 -0
- package/dist/types/components/Tooltip/index.d.ts +128 -15
- package/dist/types/components/Tooltip/types.d.ts +1 -0
- package/dist/types/components/Tooltip/useEventsToTiggerNode.d.ts +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/core/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useClickOutside.d.ts +1 -0
- package/dist/types/hooks/useEventListener.d.ts +1 -0
- package/dist/types/hooks/useId.d.ts +1 -0
- package/dist/types/hooks/useLocale.d.ts +2 -1
- package/dist/types/hooks/useOffset.d.ts +1 -0
- package/dist/types/utils/install.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.br +0 -0
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +12 -12
- package/dist/umd/index.umd.cjs.br +0 -0
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/dist/umd/locale/lang.umd.cjs +1 -0
- package/package.json +16 -7
|
@@ -1,13 +1,245 @@
|
|
|
1
|
+
export * from './types';
|
|
1
2
|
export declare const BnIcon: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
border: {
|
|
5
|
+
type: import('vue').PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
fixedWidth: {
|
|
8
|
+
type: import('vue').PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
flip: {
|
|
11
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "both">;
|
|
12
|
+
};
|
|
13
|
+
icon: {
|
|
14
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
mask: {
|
|
18
|
+
type: import('vue').PropType<string | object | string[]>;
|
|
19
|
+
};
|
|
20
|
+
listItem: {
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
pull: {
|
|
24
|
+
type: import('vue').PropType<"right" | "left">;
|
|
25
|
+
};
|
|
26
|
+
pulse: {
|
|
27
|
+
type: import('vue').PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
rotation: {
|
|
30
|
+
type: import('vue').PropType<90 | 180 | 270 | "90" | "180" | "270">;
|
|
31
|
+
};
|
|
32
|
+
swapOpacity: {
|
|
33
|
+
type: import('vue').PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
type: import('vue').PropType<"2xs" | "xs" | "sm" | "lg" | "xl" | "2xl" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x">;
|
|
37
|
+
};
|
|
38
|
+
spin: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
transform: {
|
|
42
|
+
type: import('vue').PropType<string | object>;
|
|
43
|
+
};
|
|
44
|
+
symbol: {
|
|
45
|
+
type: import('vue').PropType<string | boolean>;
|
|
46
|
+
};
|
|
47
|
+
title: {
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
inverse: {
|
|
51
|
+
type: import('vue').PropType<boolean>;
|
|
52
|
+
};
|
|
53
|
+
bounce: {
|
|
54
|
+
type: import('vue').PropType<boolean>;
|
|
55
|
+
};
|
|
56
|
+
shake: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
beat: {
|
|
60
|
+
type: import('vue').PropType<boolean>;
|
|
61
|
+
};
|
|
62
|
+
fade: {
|
|
63
|
+
type: import('vue').PropType<boolean>;
|
|
64
|
+
};
|
|
65
|
+
beatFade: {
|
|
66
|
+
type: import('vue').PropType<boolean>;
|
|
67
|
+
};
|
|
68
|
+
spinPulse: {
|
|
69
|
+
type: import('vue').PropType<boolean>;
|
|
70
|
+
};
|
|
71
|
+
spinReverse: {
|
|
72
|
+
type: import('vue').PropType<boolean>;
|
|
73
|
+
};
|
|
74
|
+
type: {
|
|
75
|
+
type: import('vue').PropType<"info" | "success" | "warning" | "danger" | "primary">;
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
type: import('vue').PropType<string>;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
81
|
P: {};
|
|
4
82
|
B: {};
|
|
5
83
|
D: {};
|
|
6
84
|
C: {};
|
|
7
85
|
M: {};
|
|
8
86
|
Defaults: {};
|
|
9
|
-
}, Readonly<import('
|
|
87
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
88
|
+
border: {
|
|
89
|
+
type: import('vue').PropType<boolean>;
|
|
90
|
+
};
|
|
91
|
+
fixedWidth: {
|
|
92
|
+
type: import('vue').PropType<boolean>;
|
|
93
|
+
};
|
|
94
|
+
flip: {
|
|
95
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "both">;
|
|
96
|
+
};
|
|
97
|
+
icon: {
|
|
98
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
mask: {
|
|
102
|
+
type: import('vue').PropType<string | object | string[]>;
|
|
103
|
+
};
|
|
104
|
+
listItem: {
|
|
105
|
+
type: import('vue').PropType<boolean>;
|
|
106
|
+
};
|
|
107
|
+
pull: {
|
|
108
|
+
type: import('vue').PropType<"right" | "left">;
|
|
109
|
+
};
|
|
110
|
+
pulse: {
|
|
111
|
+
type: import('vue').PropType<boolean>;
|
|
112
|
+
};
|
|
113
|
+
rotation: {
|
|
114
|
+
type: import('vue').PropType<90 | 180 | 270 | "90" | "180" | "270">;
|
|
115
|
+
};
|
|
116
|
+
swapOpacity: {
|
|
117
|
+
type: import('vue').PropType<boolean>;
|
|
118
|
+
};
|
|
119
|
+
size: {
|
|
120
|
+
type: import('vue').PropType<"2xs" | "xs" | "sm" | "lg" | "xl" | "2xl" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x">;
|
|
121
|
+
};
|
|
122
|
+
spin: {
|
|
123
|
+
type: import('vue').PropType<boolean>;
|
|
124
|
+
};
|
|
125
|
+
transform: {
|
|
126
|
+
type: import('vue').PropType<string | object>;
|
|
127
|
+
};
|
|
128
|
+
symbol: {
|
|
129
|
+
type: import('vue').PropType<string | boolean>;
|
|
130
|
+
};
|
|
131
|
+
title: {
|
|
132
|
+
type: import('vue').PropType<string>;
|
|
133
|
+
};
|
|
134
|
+
inverse: {
|
|
135
|
+
type: import('vue').PropType<boolean>;
|
|
136
|
+
};
|
|
137
|
+
bounce: {
|
|
138
|
+
type: import('vue').PropType<boolean>;
|
|
139
|
+
};
|
|
140
|
+
shake: {
|
|
141
|
+
type: import('vue').PropType<boolean>;
|
|
142
|
+
};
|
|
143
|
+
beat: {
|
|
144
|
+
type: import('vue').PropType<boolean>;
|
|
145
|
+
};
|
|
146
|
+
fade: {
|
|
147
|
+
type: import('vue').PropType<boolean>;
|
|
148
|
+
};
|
|
149
|
+
beatFade: {
|
|
150
|
+
type: import('vue').PropType<boolean>;
|
|
151
|
+
};
|
|
152
|
+
spinPulse: {
|
|
153
|
+
type: import('vue').PropType<boolean>;
|
|
154
|
+
};
|
|
155
|
+
spinReverse: {
|
|
156
|
+
type: import('vue').PropType<boolean>;
|
|
157
|
+
};
|
|
158
|
+
type: {
|
|
159
|
+
type: import('vue').PropType<"info" | "success" | "warning" | "danger" | "primary">;
|
|
160
|
+
};
|
|
161
|
+
color: {
|
|
162
|
+
type: import('vue').PropType<string>;
|
|
163
|
+
};
|
|
164
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
165
|
__isFragment?: never;
|
|
11
166
|
__isTeleport?: never;
|
|
12
167
|
__isSuspense?: never;
|
|
13
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
168
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
169
|
+
border: {
|
|
170
|
+
type: import('vue').PropType<boolean>;
|
|
171
|
+
};
|
|
172
|
+
fixedWidth: {
|
|
173
|
+
type: import('vue').PropType<boolean>;
|
|
174
|
+
};
|
|
175
|
+
flip: {
|
|
176
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "both">;
|
|
177
|
+
};
|
|
178
|
+
icon: {
|
|
179
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
180
|
+
required: true;
|
|
181
|
+
};
|
|
182
|
+
mask: {
|
|
183
|
+
type: import('vue').PropType<string | object | string[]>;
|
|
184
|
+
};
|
|
185
|
+
listItem: {
|
|
186
|
+
type: import('vue').PropType<boolean>;
|
|
187
|
+
};
|
|
188
|
+
pull: {
|
|
189
|
+
type: import('vue').PropType<"right" | "left">;
|
|
190
|
+
};
|
|
191
|
+
pulse: {
|
|
192
|
+
type: import('vue').PropType<boolean>;
|
|
193
|
+
};
|
|
194
|
+
rotation: {
|
|
195
|
+
type: import('vue').PropType<90 | 180 | 270 | "90" | "180" | "270">;
|
|
196
|
+
};
|
|
197
|
+
swapOpacity: {
|
|
198
|
+
type: import('vue').PropType<boolean>;
|
|
199
|
+
};
|
|
200
|
+
size: {
|
|
201
|
+
type: import('vue').PropType<"2xs" | "xs" | "sm" | "lg" | "xl" | "2xl" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x">;
|
|
202
|
+
};
|
|
203
|
+
spin: {
|
|
204
|
+
type: import('vue').PropType<boolean>;
|
|
205
|
+
};
|
|
206
|
+
transform: {
|
|
207
|
+
type: import('vue').PropType<string | object>;
|
|
208
|
+
};
|
|
209
|
+
symbol: {
|
|
210
|
+
type: import('vue').PropType<string | boolean>;
|
|
211
|
+
};
|
|
212
|
+
title: {
|
|
213
|
+
type: import('vue').PropType<string>;
|
|
214
|
+
};
|
|
215
|
+
inverse: {
|
|
216
|
+
type: import('vue').PropType<boolean>;
|
|
217
|
+
};
|
|
218
|
+
bounce: {
|
|
219
|
+
type: import('vue').PropType<boolean>;
|
|
220
|
+
};
|
|
221
|
+
shake: {
|
|
222
|
+
type: import('vue').PropType<boolean>;
|
|
223
|
+
};
|
|
224
|
+
beat: {
|
|
225
|
+
type: import('vue').PropType<boolean>;
|
|
226
|
+
};
|
|
227
|
+
fade: {
|
|
228
|
+
type: import('vue').PropType<boolean>;
|
|
229
|
+
};
|
|
230
|
+
beatFade: {
|
|
231
|
+
type: import('vue').PropType<boolean>;
|
|
232
|
+
};
|
|
233
|
+
spinPulse: {
|
|
234
|
+
type: import('vue').PropType<boolean>;
|
|
235
|
+
};
|
|
236
|
+
spinReverse: {
|
|
237
|
+
type: import('vue').PropType<boolean>;
|
|
238
|
+
};
|
|
239
|
+
type: {
|
|
240
|
+
type: import('vue').PropType<"info" | "success" | "warning" | "danger" | "primary">;
|
|
241
|
+
};
|
|
242
|
+
color: {
|
|
243
|
+
type: import('vue').PropType<string>;
|
|
244
|
+
};
|
|
245
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LoadingOptions, LoadingOptionsResolved } from './types';
|
|
2
|
+
|
|
2
3
|
declare function createLoadingComponent(options: LoadingOptionsResolved): {
|
|
3
4
|
readonly $el: HTMLElement;
|
|
4
5
|
vm: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare const BnMessage: import('
|
|
1
|
+
export declare const BnMessage: import('../../core').Message & import('vue').Plugin;
|
|
2
|
+
export * from './types';
|
|
@@ -1,31 +1,104 @@
|
|
|
1
|
+
export * from './types';
|
|
1
2
|
export declare const BnPopconfirm: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
icon: {
|
|
5
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
required: true;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
confirmButtonText: {
|
|
13
|
+
type: import('vue').PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
cancelButtonText: {
|
|
16
|
+
type: import('vue').PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
confirmButtonType: {
|
|
19
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
cancelButtonType: {
|
|
23
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
24
|
+
};
|
|
25
|
+
iconColor: {
|
|
26
|
+
type: import('vue').PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
hideIcon: {
|
|
30
|
+
type: import('vue').PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
hideAfter: {
|
|
33
|
+
type: import('vue').PropType<number>;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
width: {
|
|
37
|
+
type: import('vue').PropType<string | number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{
|
|
3
41
|
onCancel?: ((value: MouseEvent) => any) | undefined;
|
|
4
42
|
onConfirm?: ((value: MouseEvent) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
|
|
7
|
-
|
|
43
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
confirm: (value: MouseEvent) => void;
|
|
45
|
+
cancel: (value: MouseEvent) => void;
|
|
8
46
|
}, import('vue').PublicProps, {
|
|
9
47
|
title: string;
|
|
10
|
-
confirmButtonType: import('
|
|
48
|
+
confirmButtonType: import('../../core').ButtonType;
|
|
11
49
|
iconColor: string;
|
|
12
50
|
hideAfter: number;
|
|
13
51
|
width: number | string;
|
|
14
|
-
},
|
|
15
|
-
tooltipRef: unknown;
|
|
16
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
52
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
17
53
|
P: {};
|
|
18
54
|
B: {};
|
|
19
55
|
D: {};
|
|
20
56
|
C: {};
|
|
21
57
|
M: {};
|
|
22
58
|
Defaults: {};
|
|
23
|
-
}, Readonly<import('
|
|
59
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
60
|
+
icon: {
|
|
61
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
62
|
+
};
|
|
63
|
+
title: {
|
|
64
|
+
type: import('vue').PropType<string>;
|
|
65
|
+
required: true;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
confirmButtonText: {
|
|
69
|
+
type: import('vue').PropType<string>;
|
|
70
|
+
};
|
|
71
|
+
cancelButtonText: {
|
|
72
|
+
type: import('vue').PropType<string>;
|
|
73
|
+
};
|
|
74
|
+
confirmButtonType: {
|
|
75
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
cancelButtonType: {
|
|
79
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
80
|
+
};
|
|
81
|
+
iconColor: {
|
|
82
|
+
type: import('vue').PropType<string>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
hideIcon: {
|
|
86
|
+
type: import('vue').PropType<boolean>;
|
|
87
|
+
};
|
|
88
|
+
hideAfter: {
|
|
89
|
+
type: import('vue').PropType<number>;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
width: {
|
|
93
|
+
type: import('vue').PropType<string | number>;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{
|
|
24
97
|
onCancel?: ((value: MouseEvent) => any) | undefined;
|
|
25
98
|
onConfirm?: ((value: MouseEvent) => any) | undefined;
|
|
26
99
|
}>, {}, {}, {}, {}, {
|
|
27
100
|
title: string;
|
|
28
|
-
confirmButtonType: import('
|
|
101
|
+
confirmButtonType: import('../../core').ButtonType;
|
|
29
102
|
iconColor: string;
|
|
30
103
|
hideAfter: number;
|
|
31
104
|
width: number | string;
|
|
@@ -33,15 +106,52 @@ export declare const BnPopconfirm: {
|
|
|
33
106
|
__isFragment?: never;
|
|
34
107
|
__isTeleport?: never;
|
|
35
108
|
__isSuspense?: never;
|
|
36
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
109
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
110
|
+
icon: {
|
|
111
|
+
type: import('vue').PropType<string | object | string[] | import('@fortawesome/free-solid-svg-icons').IconDefinition>;
|
|
112
|
+
};
|
|
113
|
+
title: {
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
115
|
+
required: true;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
confirmButtonText: {
|
|
119
|
+
type: import('vue').PropType<string>;
|
|
120
|
+
};
|
|
121
|
+
cancelButtonText: {
|
|
122
|
+
type: import('vue').PropType<string>;
|
|
123
|
+
};
|
|
124
|
+
confirmButtonType: {
|
|
125
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
cancelButtonType: {
|
|
129
|
+
type: import('vue').PropType<import('../../core').ButtonType>;
|
|
130
|
+
};
|
|
131
|
+
iconColor: {
|
|
132
|
+
type: import('vue').PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
hideIcon: {
|
|
136
|
+
type: import('vue').PropType<boolean>;
|
|
137
|
+
};
|
|
138
|
+
hideAfter: {
|
|
139
|
+
type: import('vue').PropType<number>;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
width: {
|
|
143
|
+
type: import('vue').PropType<string | number>;
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
}>> & Readonly<{
|
|
37
147
|
onCancel?: ((value: MouseEvent) => any) | undefined;
|
|
38
148
|
onConfirm?: ((value: MouseEvent) => any) | undefined;
|
|
39
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
|
|
41
|
-
|
|
149
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
+
confirm: (value: MouseEvent) => void;
|
|
151
|
+
cancel: (value: MouseEvent) => void;
|
|
42
152
|
}, string, {
|
|
43
153
|
title: string;
|
|
44
|
-
confirmButtonType: import('
|
|
154
|
+
confirmButtonType: import('../../core').ButtonType;
|
|
45
155
|
iconColor: string;
|
|
46
156
|
hideAfter: number;
|
|
47
157
|
width: number | string;
|
|
@@ -1,31 +1,106 @@
|
|
|
1
|
+
export * from './types';
|
|
1
2
|
export declare const BnTooltip: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
transition: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: import('vue').PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
virtualRef: {
|
|
12
|
+
type: import('vue').PropType<void | HTMLElement>;
|
|
13
|
+
};
|
|
14
|
+
virtualTriggering: {
|
|
15
|
+
type: import('vue').PropType<boolean>;
|
|
16
|
+
};
|
|
17
|
+
content: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
trigger: {
|
|
21
|
+
type: import('vue').PropType<"click" | "contextmenu" | "hover">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
placement: {
|
|
25
|
+
type: import('vue').PropType<import('@popperjs/core').Placement>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
manual: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
popperOptions: {
|
|
32
|
+
type: import('vue').PropType<Partial<import('@popperjs/core').Options>>;
|
|
33
|
+
};
|
|
34
|
+
showTimeout: {
|
|
35
|
+
type: import('vue').PropType<number>;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
hideTimeout: {
|
|
39
|
+
type: import('vue').PropType<number>;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
3
43
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
4
44
|
"onClick-outside"?: (() => any) | undefined;
|
|
5
45
|
}>, {
|
|
6
46
|
show(): void;
|
|
7
47
|
hide(): void;
|
|
8
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
"visible-change": (value: boolean) =>
|
|
10
|
-
"click-outside": () =>
|
|
48
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
"visible-change": (value: boolean) => void;
|
|
50
|
+
"click-outside": () => void;
|
|
11
51
|
}, import('vue').PublicProps, {
|
|
12
52
|
transition: string;
|
|
13
53
|
trigger: "hover" | "click" | "contextmenu";
|
|
14
54
|
placement: import('@popperjs/core').Placement;
|
|
15
55
|
showTimeout: number;
|
|
16
56
|
hideTimeout: number;
|
|
17
|
-
},
|
|
18
|
-
containerNode: HTMLDivElement;
|
|
19
|
-
_triggerNode: HTMLDivElement;
|
|
20
|
-
popperNode: HTMLDivElement;
|
|
21
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
57
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
22
58
|
P: {};
|
|
23
59
|
B: {};
|
|
24
60
|
D: {};
|
|
25
61
|
C: {};
|
|
26
62
|
M: {};
|
|
27
63
|
Defaults: {};
|
|
28
|
-
}, Readonly<import('
|
|
64
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
65
|
+
transition: {
|
|
66
|
+
type: import('vue').PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
disabled: {
|
|
70
|
+
type: import('vue').PropType<boolean>;
|
|
71
|
+
};
|
|
72
|
+
virtualRef: {
|
|
73
|
+
type: import('vue').PropType<void | HTMLElement>;
|
|
74
|
+
};
|
|
75
|
+
virtualTriggering: {
|
|
76
|
+
type: import('vue').PropType<boolean>;
|
|
77
|
+
};
|
|
78
|
+
content: {
|
|
79
|
+
type: import('vue').PropType<string>;
|
|
80
|
+
};
|
|
81
|
+
trigger: {
|
|
82
|
+
type: import('vue').PropType<"click" | "contextmenu" | "hover">;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
placement: {
|
|
86
|
+
type: import('vue').PropType<import('@popperjs/core').Placement>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
manual: {
|
|
90
|
+
type: import('vue').PropType<boolean>;
|
|
91
|
+
};
|
|
92
|
+
popperOptions: {
|
|
93
|
+
type: import('vue').PropType<Partial<import('@popperjs/core').Options>>;
|
|
94
|
+
};
|
|
95
|
+
showTimeout: {
|
|
96
|
+
type: import('vue').PropType<number>;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
hideTimeout: {
|
|
100
|
+
type: import('vue').PropType<number>;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
29
104
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
30
105
|
"onClick-outside"?: (() => any) | undefined;
|
|
31
106
|
}>, {
|
|
@@ -41,15 +116,54 @@ export declare const BnTooltip: {
|
|
|
41
116
|
__isFragment?: never;
|
|
42
117
|
__isTeleport?: never;
|
|
43
118
|
__isSuspense?: never;
|
|
44
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
119
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
120
|
+
transition: {
|
|
121
|
+
type: import('vue').PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
disabled: {
|
|
125
|
+
type: import('vue').PropType<boolean>;
|
|
126
|
+
};
|
|
127
|
+
virtualRef: {
|
|
128
|
+
type: import('vue').PropType<void | HTMLElement>;
|
|
129
|
+
};
|
|
130
|
+
virtualTriggering: {
|
|
131
|
+
type: import('vue').PropType<boolean>;
|
|
132
|
+
};
|
|
133
|
+
content: {
|
|
134
|
+
type: import('vue').PropType<string>;
|
|
135
|
+
};
|
|
136
|
+
trigger: {
|
|
137
|
+
type: import('vue').PropType<"click" | "contextmenu" | "hover">;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
placement: {
|
|
141
|
+
type: import('vue').PropType<import('@popperjs/core').Placement>;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
manual: {
|
|
145
|
+
type: import('vue').PropType<boolean>;
|
|
146
|
+
};
|
|
147
|
+
popperOptions: {
|
|
148
|
+
type: import('vue').PropType<Partial<import('@popperjs/core').Options>>;
|
|
149
|
+
};
|
|
150
|
+
showTimeout: {
|
|
151
|
+
type: import('vue').PropType<number>;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
hideTimeout: {
|
|
155
|
+
type: import('vue').PropType<number>;
|
|
156
|
+
default: number;
|
|
157
|
+
};
|
|
158
|
+
}>> & Readonly<{
|
|
45
159
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
46
160
|
"onClick-outside"?: (() => any) | undefined;
|
|
47
161
|
}>, {
|
|
48
162
|
show(): void;
|
|
49
163
|
hide(): void;
|
|
50
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
-
"visible-change": (value: boolean) =>
|
|
52
|
-
"click-outside": () =>
|
|
164
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
165
|
+
"visible-change": (value: boolean) => void;
|
|
166
|
+
"click-outside": () => void;
|
|
53
167
|
}, string, {
|
|
54
168
|
transition: string;
|
|
55
169
|
trigger: "hover" | "click" | "contextmenu";
|
|
@@ -58,7 +172,6 @@ export declare const BnTooltip: {
|
|
|
58
172
|
hideTimeout: number;
|
|
59
173
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
60
174
|
$slots: {
|
|
61
|
-
default?(_: {}): any;
|
|
62
175
|
default?(_: {}): any;
|
|
63
176
|
content?(_: {}): any;
|
|
64
177
|
};
|