bani-ui 1.0.2-alpha.9 → 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.
Files changed (59) hide show
  1. package/dist/es/{Button-Bwzevixh.js → Button-CXgL_cy-.js} +6 -4
  2. package/dist/es/{ButtonGroup-iYDLXmLV.js → ButtonGroup-CaS3gDGZ.js} +4 -3
  3. package/dist/es/ConfigProvider-BPs20cEq.js +74 -0
  4. package/dist/es/Dropdown-Dgqe_mDE.js +175 -0
  5. package/dist/es/{Icon-C5WM3GNh.js → Icon-iDz_Qer5.js} +2 -2
  6. package/dist/es/{Loading-DEDOSX2q.js → Loading-BuMMkzGV.js} +3 -3
  7. package/dist/es/{Message-CQJbBQH-.js → Message-xfxk4ZMC.js} +9 -8
  8. package/dist/es/{Popconfirm-n33nSKOi.js → Popconfirm-DiHdBNmK.js} +10 -9
  9. package/dist/es/{Tooltip-BF6cY52d.js → Tooltip-CR8OQQL4.js} +3 -3
  10. package/dist/es/{hooks-D92zul9o.js → hooks-Bze4eaZa.js} +6 -8
  11. package/dist/es/index.js +20 -10
  12. package/dist/es/{utils-Uf9tqvV5.js → utils-mFOE2DND.js} +1 -1
  13. package/dist/es/{vendor-R0ZbR4ac.js → vendor-mcUuP0dl.js} +129 -11
  14. package/dist/index.css +1 -1
  15. package/dist/theme/ConfigProvider.css +1 -0
  16. package/dist/theme/Dropdown.css +117 -0
  17. package/dist/types/components/Button/constants.d.ts +1 -0
  18. package/dist/types/components/Button/index.d.ts +156 -16
  19. package/dist/types/components/Button/types.d.ts +3 -2
  20. package/dist/types/components/ButtonGroup/index.d.ts +34 -3
  21. package/dist/types/components/ButtonGroup/types.d.ts +1 -0
  22. package/dist/types/components/ConfigProvider/constants.d.ts +5 -0
  23. package/dist/types/components/ConfigProvider/hooks.d.ts +6 -0
  24. package/dist/types/components/ConfigProvider/index.d.ts +41 -0
  25. package/dist/types/components/ConfigProvider/types.d.ts +6 -0
  26. package/dist/types/components/Dropdown/constants.d.ts +4 -0
  27. package/dist/types/components/Dropdown/index.d.ts +266 -0
  28. package/dist/types/components/Dropdown/types.d.ts +31 -0
  29. package/dist/types/components/Icon/index.d.ts +235 -3
  30. package/dist/types/components/Icon/types.d.ts +1 -0
  31. package/dist/types/components/Loading/directive.d.ts +1 -0
  32. package/dist/types/components/Loading/index.d.ts +2 -0
  33. package/dist/types/components/Loading/service.d.ts +1 -0
  34. package/dist/types/components/Loading/types.d.ts +1 -0
  35. package/dist/types/components/Message/index.d.ts +2 -1
  36. package/dist/types/components/Message/methods.d.ts +1 -0
  37. package/dist/types/components/Message/types.d.ts +1 -0
  38. package/dist/types/components/Popconfirm/index.d.ts +125 -102
  39. package/dist/types/components/Popconfirm/types.d.ts +1 -0
  40. package/dist/types/components/Tooltip/index.d.ts +128 -15
  41. package/dist/types/components/Tooltip/types.d.ts +1 -0
  42. package/dist/types/components/Tooltip/useEventsToTiggerNode.d.ts +1 -0
  43. package/dist/types/components/index.d.ts +2 -0
  44. package/dist/types/core/index.d.ts +1 -0
  45. package/dist/types/hooks/index.d.ts +1 -0
  46. package/dist/types/hooks/useClickOutside.d.ts +1 -0
  47. package/dist/types/hooks/useEventListener.d.ts +1 -0
  48. package/dist/types/hooks/useId.d.ts +1 -0
  49. package/dist/types/hooks/useLocale.d.ts +2 -1
  50. package/dist/types/hooks/useOffset.d.ts +1 -0
  51. package/dist/types/utils/install.d.ts +1 -0
  52. package/dist/umd/index.css +1 -1
  53. package/dist/umd/index.css.br +0 -0
  54. package/dist/umd/index.css.gz +0 -0
  55. package/dist/umd/index.umd.cjs +12 -12
  56. package/dist/umd/index.umd.cjs.br +0 -0
  57. package/dist/umd/index.umd.cjs.gz +0 -0
  58. package/dist/umd/locale/lang.umd.cjs +1 -0
  59. package/package.json +12 -6
@@ -1,13 +1,245 @@
1
+ export * from './types';
1
2
  export declare const BnIcon: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
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('./types').IconProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
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('./types').IconProps> & 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;
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 { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+
2
3
  export interface IconProps {
3
4
  border?: boolean;
4
5
  fixedWidth?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { Directive } from 'vue';
2
2
  import { LoadingOptions } from './types';
3
3
  import { LoadingInstance } from './service';
4
+
4
5
  declare const INSTANCE_KEY: unique symbol;
5
6
  export interface ElementLoading extends HTMLElement {
6
7
  [INSTANCE_KEY]?: {
@@ -1,6 +1,8 @@
1
1
  import { vLoading } from './directive';
2
2
  import { Loading } from './service';
3
3
  import { App } from 'vue';
4
+
5
+ export * from './types';
4
6
  export declare const BnLoading: {
5
7
  name: string;
6
8
  install(app: App): void;
@@ -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,4 +1,5 @@
1
1
  import { MaybeRef } from 'vue';
2
+
2
3
  export interface LoadingOptionsResolved {
3
4
  parent?: HTMLElement;
4
5
  target?: HTMLElement;
@@ -1 +1,2 @@
1
- export declare const BnMessage: import('./types').Message & import('vue').Plugin;
1
+ export declare const BnMessage: import('../../core').Message & import('vue').Plugin;
2
+ export * from './types';
@@ -1,4 +1,5 @@
1
1
  import { MessageFn, Message, MessageProps, messageType } from './types';
2
+
2
3
  export declare const messageDefaults: {
3
4
  readonly type: "info";
4
5
  readonly duration: 3000;
@@ -1,4 +1,5 @@
1
1
  import { VNode, ComponentInternalInstance } from 'vue';
2
+
2
3
  export declare const messageTypes: readonly ["info", "success", "warning", "danger", "error"];
3
4
  export type messageType = (typeof messageTypes)[number];
4
5
  export interface MessageHandler {
@@ -1,118 +1,104 @@
1
+ export * from './types';
1
2
  export declare const BnPopconfirm: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').PopconfirmProps> & Readonly<{
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
- cancel: (value: MouseEvent) => any;
7
- confirm: (value: MouseEvent) => any;
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('../Button/types').ButtonType;
48
+ confirmButtonType: import('../../core').ButtonType;
11
49
  iconColor: string;
12
50
  hideAfter: number;
13
51
  width: number | string;
14
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
15
- tooltipRef: ({
16
- $: import('vue').ComponentInternalInstance;
17
- $data: {};
18
- $props: {
19
- readonly virtualRef?: (HTMLElement | void) | undefined;
20
- readonly virtualTriggering?: boolean | undefined;
21
- readonly content?: string | undefined;
22
- readonly trigger?: "hover" | "click" | "contextmenu" | undefined;
23
- readonly placement?: import('@popperjs/core').Placement | undefined;
24
- readonly manual?: boolean | undefined;
25
- readonly disabled?: boolean | undefined;
26
- readonly popperOptions?: Partial<import('@popperjs/core').Options> | undefined;
27
- readonly transition?: string | undefined;
28
- readonly showTimeout?: number | undefined;
29
- readonly hideTimeout?: number | undefined;
30
- readonly "onVisible-change"?: ((value: boolean) => any) | undefined;
31
- readonly "onClick-outside"?: (() => any) | undefined;
32
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
- $attrs: import('vue').Attrs;
34
- $refs: {
35
- [x: string]: unknown;
36
- } & {
37
- containerNode: HTMLDivElement;
38
- _triggerNode: HTMLDivElement;
39
- popperNode: HTMLDivElement;
40
- };
41
- $slots: Readonly<{
42
- [name: string]: import('vue').Slot<any> | undefined;
43
- }>;
44
- $root: import('vue').ComponentPublicInstance | null;
45
- $parent: import('vue').ComponentPublicInstance | null;
46
- $host: Element | null;
47
- $emit: ((event: "visible-change", value: boolean) => void) & ((event: "click-outside") => void);
48
- $el: HTMLDivElement;
49
- $options: import('vue').ComponentOptionsBase<Readonly<import('../Tooltip/types').TooltipPropsSfc> & Readonly<{
50
- "onVisible-change"?: ((value: boolean) => any) | undefined;
51
- "onClick-outside"?: (() => any) | undefined;
52
- }>, {
53
- show(): void;
54
- hide(): void;
55
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
56
- "visible-change": (value: boolean) => any;
57
- "click-outside": () => any;
58
- }, string, {
59
- transition: string;
60
- trigger: "hover" | "click" | "contextmenu";
61
- placement: import('@popperjs/core').Placement;
62
- showTimeout: number;
63
- hideTimeout: number;
64
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
65
- beforeCreate?: (() => void) | (() => void)[];
66
- created?: (() => void) | (() => void)[];
67
- beforeMount?: (() => void) | (() => void)[];
68
- mounted?: (() => void) | (() => void)[];
69
- beforeUpdate?: (() => void) | (() => void)[];
70
- updated?: (() => void) | (() => void)[];
71
- activated?: (() => void) | (() => void)[];
72
- deactivated?: (() => void) | (() => void)[];
73
- beforeDestroy?: (() => void) | (() => void)[];
74
- beforeUnmount?: (() => void) | (() => void)[];
75
- destroyed?: (() => void) | (() => void)[];
76
- unmounted?: (() => void) | (() => void)[];
77
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
78
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
79
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
80
- };
81
- $forceUpdate: () => void;
82
- $nextTick: typeof import('vue').nextTick;
83
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
84
- } & Readonly<{
85
- transition: string;
86
- trigger: "hover" | "click" | "contextmenu";
87
- placement: import('@popperjs/core').Placement;
88
- showTimeout: number;
89
- hideTimeout: number;
90
- }> & Omit<Readonly<import('../Tooltip/types').TooltipPropsSfc> & Readonly<{
91
- "onVisible-change"?: ((value: boolean) => any) | undefined;
92
- "onClick-outside"?: (() => any) | undefined;
93
- }>, "show" | "hide" | ("transition" | "trigger" | "placement" | "showTimeout" | "hideTimeout")> & {
94
- show: () => void;
95
- hide: () => void;
96
- } & {} & import('vue').ComponentCustomProperties & {} & {
97
- $slots: {
98
- default?(_: {}): any;
99
- default?(_: {}): any;
100
- content?(_: {}): any;
101
- };
102
- }) | null;
103
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
52
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
104
53
  P: {};
105
54
  B: {};
106
55
  D: {};
107
56
  C: {};
108
57
  M: {};
109
58
  Defaults: {};
110
- }, Readonly<import('./types').PopconfirmProps> & Readonly<{
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<{
111
97
  onCancel?: ((value: MouseEvent) => any) | undefined;
112
98
  onConfirm?: ((value: MouseEvent) => any) | undefined;
113
99
  }>, {}, {}, {}, {}, {
114
100
  title: string;
115
- confirmButtonType: import('../Button/types').ButtonType;
101
+ confirmButtonType: import('../../core').ButtonType;
116
102
  iconColor: string;
117
103
  hideAfter: number;
118
104
  width: number | string;
@@ -120,15 +106,52 @@ export declare const BnPopconfirm: {
120
106
  __isFragment?: never;
121
107
  __isTeleport?: never;
122
108
  __isSuspense?: never;
123
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').PopconfirmProps> & Readonly<{
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<{
124
147
  onCancel?: ((value: MouseEvent) => any) | undefined;
125
148
  onConfirm?: ((value: MouseEvent) => any) | undefined;
126
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
127
- cancel: (value: MouseEvent) => any;
128
- confirm: (value: MouseEvent) => any;
149
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
150
+ confirm: (value: MouseEvent) => void;
151
+ cancel: (value: MouseEvent) => void;
129
152
  }, string, {
130
153
  title: string;
131
- confirmButtonType: import('../Button/types').ButtonType;
154
+ confirmButtonType: import('../../core').ButtonType;
132
155
  iconColor: string;
133
156
  hideAfter: number;
134
157
  width: number | string;
@@ -1,5 +1,6 @@
1
1
  import { IconProps } from '../Icon/types';
2
2
  import { ButtonType } from '../Button/types';
3
+
3
4
  export interface PopconfirmProps {
4
5
  title: string;
5
6
  confirmButtonText?: string;