x-next 0.0.0-alpha.4 → 0.0.0-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/_hooks/use-overflow.d.ts +5 -0
  2. package/dist/_hooks/use-popup-manager.d.ts +11 -0
  3. package/dist/_props/css.d.ts +13 -0
  4. package/dist/_props/global.d.ts +1 -0
  5. package/dist/_utils/config.d.ts +9 -0
  6. package/dist/_utils/convert-case.d.ts +3 -0
  7. package/dist/_utils/dom.d.ts +10 -0
  8. package/dist/_utils/helpers.d.ts +12 -0
  9. package/dist/_utils/icon.d.ts +59 -0
  10. package/dist/_utils/is.d.ts +22 -0
  11. package/dist/_utils/keyboard.d.ts +24 -0
  12. package/dist/_utils/number.d.ts +0 -0
  13. package/dist/_utils/vue-eco.d.ts +28 -0
  14. package/dist/componets/button/index.vue.d.ts +162 -0
  15. package/dist/componets/button/props.d.ts +45 -0
  16. package/dist/componets/dialog/index.vue.d.ts +221 -0
  17. package/dist/componets/dialog/props.d.ts +83 -0
  18. package/dist/componets/dialog/use-props.d.ts +33 -0
  19. package/dist/componets/dialog/use.d.ts +3 -0
  20. package/dist/componets/dialog/warp.d.ts +2 -0
  21. package/dist/componets/message/index.vue.d.ts +387 -0
  22. package/dist/componets/message/props.d.ts +31 -0
  23. package/dist/componets/message/warp.d.ts +3 -0
  24. package/dist/componets/message-box/index.d.ts +3 -0
  25. package/dist/componets/message-box/props.d.ts +52 -0
  26. package/dist/componets/message-box/warp.d.ts +2 -0
  27. package/dist/componets/notification/index.vue.d.ts +160 -0
  28. package/dist/componets/notification/props.d.ts +54 -0
  29. package/dist/componets/notification/warp.d.ts +3 -0
  30. package/dist/componets/space/index.d.ts +42 -0
  31. package/dist/componets/tag-cloud/index.d.ts +0 -0
  32. package/dist/componets/trend-chart/components/trend-chart-curve.d.ts +114 -0
  33. package/dist/componets/trend-chart/components/trend-chart-grid.d.ts +55 -0
  34. package/dist/componets/trend-chart/components/trend-chart-labels.d.ts +22 -0
  35. package/dist/componets/trend-chart/components/trend-chart.d.ts +270 -0
  36. package/dist/componets/trend-chart/helpers/genPath.d.ts +8 -0
  37. package/dist/componets/trend-chart/helpers/genPoints.d.ts +3 -0
  38. package/dist/componets/trend-chart/helpers/getPadding.d.ts +7 -0
  39. package/dist/componets/trend-chart/helpers/validatePadding.d.ts +2 -0
  40. package/dist/componets/trend-chart/index.d.ts +2 -0
  41. package/dist/componets/trend-chart/props.d.ts +206 -0
  42. package/dist/icons/animation/animation-loading.vue.d.ts +55 -0
  43. package/dist/icons/default/check-circle-fill.vue.d.ts +55 -0
  44. package/dist/icons/default/close-circle-fill.vue.d.ts +55 -0
  45. package/dist/icons/default/exclamation-circle-fill.vue.d.ts +55 -0
  46. package/dist/icons/default/info-circle-fill.vue.d.ts +55 -0
  47. package/dist/icons/default/minus-circle-fill.vue.d.ts +55 -0
  48. package/dist/icons/index.d.ts +7 -0
  49. package/dist/index.es.js +1414 -0
  50. package/dist/style.css +1 -0
  51. package/dist/ui.d.ts +5 -0
  52. package/package.json +2 -2
@@ -0,0 +1,83 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const dialogProps: {
3
+ renderTo: {
4
+ type: import('vue').PropType<string | HTMLElement>;
5
+ default: string;
6
+ };
7
+ disabled: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ modelValue: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ top: {
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: string;
18
+ };
19
+ center: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ width: {
24
+ type: (StringConstructor | NumberConstructor)[];
25
+ default: number;
26
+ };
27
+ height: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ default: number;
30
+ };
31
+ minWidth: {
32
+ type: (StringConstructor | NumberConstructor)[];
33
+ default: number;
34
+ };
35
+ minHeight: {
36
+ type: (StringConstructor | NumberConstructor)[];
37
+ default: number;
38
+ };
39
+ title: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ mask: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ destroyOnClosed: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ onBeforeCancel: {
52
+ type: FunctionConstructor;
53
+ };
54
+ maskToClose: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ escToClose: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ fullscreen: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ messageBox: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ popupClass: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
74
+ showClose: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ showHeaderBottomLine: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ };
83
+ export type DialogProps = ExtractPropTypes<typeof dialogProps>;
@@ -0,0 +1,33 @@
1
+ import { RenderFunction, VNode } from 'vue';
2
+ export type DialogBeforeAction = () => boolean | Promise<boolean>;
3
+ export type DialogContent = string | number | VNode | RenderFunction;
4
+ export interface DialogOptions {
5
+ title?: DialogContent;
6
+ content?: DialogContent;
7
+ footer?: boolean | ((scoped: DialogFooterScoped) => VNode);
8
+ okText?: string;
9
+ cancelText?: string;
10
+ mask?: boolean;
11
+ maskToClose?: boolean;
12
+ onOk?: (e: Event) => void;
13
+ beforeOnOk?: DialogBeforeAction;
14
+ onCancel?: (e: Event) => void;
15
+ beforeOnCancel?: DialogBeforeAction;
16
+ width?: number | string;
17
+ height?: number | string;
18
+ top?: number | string;
19
+ center?: boolean;
20
+ renderTo?: string | HTMLElement;
21
+ hideCancel?: boolean;
22
+ hideOk?: boolean;
23
+ popupClass?: string;
24
+ }
25
+ export type DialogFooterAction = 'cancel' | 'ok';
26
+ export interface DialogFooterScoped {
27
+ cancel(): void;
28
+ ok(): void;
29
+ loadingObj?: {
30
+ ok: boolean;
31
+ cancel: boolean;
32
+ };
33
+ }
@@ -0,0 +1,3 @@
1
+ import { DialogOptions } from './use-props';
2
+ declare const _default: (options: DialogOptions) => void;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { default as Dialog } from './use';
2
+ export default Dialog;
@@ -0,0 +1,387 @@
1
+ import { PropType } from 'vue';
2
+ import { IMessageType, IMessage } from './props';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ id: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ message: {
9
+ type: PropType<IMessage>;
10
+ default: string;
11
+ };
12
+ type: {
13
+ type: PropType<IMessageType>;
14
+ default: string;
15
+ };
16
+ duration: {
17
+ type: NumberConstructor;
18
+ default: number;
19
+ };
20
+ center: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ onClose: {
25
+ type: PropType<() => void>;
26
+ default: () => void;
27
+ };
28
+ offset: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ zIndex: {
33
+ type: NumberConstructor;
34
+ default: number;
35
+ };
36
+ showClose: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ useHTML: BooleanConstructor;
41
+ popupClass: {
42
+ type: StringConstructor;
43
+ default: undefined;
44
+ };
45
+ }>, {
46
+ cn: {
47
+ block: string;
48
+ element: (className: string) => string;
49
+ modifier: (className: string) => string;
50
+ is: (className: string) => string;
51
+ };
52
+ cls: import('vue').ComputedRef<(string | false | undefined)[]>;
53
+ styles: import('vue').ComputedRef<{
54
+ top: string;
55
+ zIndex: number;
56
+ }>;
57
+ visible: import('vue').Ref<boolean, boolean>;
58
+ handleClose: () => void;
59
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "destroy"[], "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
60
+ id: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ message: {
65
+ type: PropType<IMessage>;
66
+ default: string;
67
+ };
68
+ type: {
69
+ type: PropType<IMessageType>;
70
+ default: string;
71
+ };
72
+ duration: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ center: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ onClose: {
81
+ type: PropType<() => void>;
82
+ default: () => void;
83
+ };
84
+ offset: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ zIndex: {
89
+ type: NumberConstructor;
90
+ default: number;
91
+ };
92
+ showClose: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ useHTML: BooleanConstructor;
97
+ popupClass: {
98
+ type: StringConstructor;
99
+ default: undefined;
100
+ };
101
+ }>> & Readonly<{
102
+ onDestroy?: ((...args: any[]) => any) | undefined;
103
+ }>, {
104
+ message: IMessage;
105
+ zIndex: number;
106
+ offset: number;
107
+ center: boolean;
108
+ popupClass: string;
109
+ showClose: boolean;
110
+ type: "error" | "strong" | "success" | "warning" | "info";
111
+ onClose: () => void;
112
+ useHTML: boolean;
113
+ id: string;
114
+ duration: number;
115
+ }, {}, {
116
+ CloseCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
117
+ size: {
118
+ type: (StringConstructor | NumberConstructor)[];
119
+ default: undefined;
120
+ };
121
+ rotate: {
122
+ type: NumberConstructor;
123
+ default: undefined;
124
+ };
125
+ spin: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ color: {
130
+ type: StringConstructor;
131
+ default: undefined;
132
+ };
133
+ fillColor: {
134
+ type: ArrayConstructor;
135
+ default: undefined;
136
+ };
137
+ }>, {
138
+ cls: import('vue').ComputedRef<(string | {
139
+ "x-icon-loading": boolean;
140
+ })[]>;
141
+ styles: import('vue').ComputedRef<import('vue').CSSProperties>;
142
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
143
+ size: {
144
+ type: (StringConstructor | NumberConstructor)[];
145
+ default: undefined;
146
+ };
147
+ rotate: {
148
+ type: NumberConstructor;
149
+ default: undefined;
150
+ };
151
+ spin: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ color: {
156
+ type: StringConstructor;
157
+ default: undefined;
158
+ };
159
+ fillColor: {
160
+ type: ArrayConstructor;
161
+ default: undefined;
162
+ };
163
+ }>> & Readonly<{}>, {
164
+ size: string | number;
165
+ color: string;
166
+ rotate: number;
167
+ spin: boolean;
168
+ fillColor: unknown[];
169
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
170
+ CheckCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
171
+ size: {
172
+ type: (StringConstructor | NumberConstructor)[];
173
+ default: undefined;
174
+ };
175
+ rotate: {
176
+ type: NumberConstructor;
177
+ default: undefined;
178
+ };
179
+ spin: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
183
+ color: {
184
+ type: StringConstructor;
185
+ default: undefined;
186
+ };
187
+ fillColor: {
188
+ type: ArrayConstructor;
189
+ default: undefined;
190
+ };
191
+ }>, {
192
+ cls: import('vue').ComputedRef<(string | {
193
+ "x-icon-loading": boolean;
194
+ })[]>;
195
+ styles: import('vue').ComputedRef<import('vue').CSSProperties>;
196
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
197
+ size: {
198
+ type: (StringConstructor | NumberConstructor)[];
199
+ default: undefined;
200
+ };
201
+ rotate: {
202
+ type: NumberConstructor;
203
+ default: undefined;
204
+ };
205
+ spin: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ color: {
210
+ type: StringConstructor;
211
+ default: undefined;
212
+ };
213
+ fillColor: {
214
+ type: ArrayConstructor;
215
+ default: undefined;
216
+ };
217
+ }>> & Readonly<{}>, {
218
+ size: string | number;
219
+ color: string;
220
+ rotate: number;
221
+ spin: boolean;
222
+ fillColor: unknown[];
223
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
224
+ ExclamationCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
225
+ size: {
226
+ type: (StringConstructor | NumberConstructor)[];
227
+ default: undefined;
228
+ };
229
+ rotate: {
230
+ type: NumberConstructor;
231
+ default: undefined;
232
+ };
233
+ spin: {
234
+ type: BooleanConstructor;
235
+ default: boolean;
236
+ };
237
+ color: {
238
+ type: StringConstructor;
239
+ default: undefined;
240
+ };
241
+ fillColor: {
242
+ type: ArrayConstructor;
243
+ default: undefined;
244
+ };
245
+ }>, {
246
+ cls: import('vue').ComputedRef<(string | {
247
+ "x-icon-loading": boolean;
248
+ })[]>;
249
+ styles: import('vue').ComputedRef<import('vue').CSSProperties>;
250
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
251
+ size: {
252
+ type: (StringConstructor | NumberConstructor)[];
253
+ default: undefined;
254
+ };
255
+ rotate: {
256
+ type: NumberConstructor;
257
+ default: undefined;
258
+ };
259
+ spin: {
260
+ type: BooleanConstructor;
261
+ default: boolean;
262
+ };
263
+ color: {
264
+ type: StringConstructor;
265
+ default: undefined;
266
+ };
267
+ fillColor: {
268
+ type: ArrayConstructor;
269
+ default: undefined;
270
+ };
271
+ }>> & Readonly<{}>, {
272
+ size: string | number;
273
+ color: string;
274
+ rotate: number;
275
+ spin: boolean;
276
+ fillColor: unknown[];
277
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
278
+ InfoCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
279
+ size: {
280
+ type: (StringConstructor | NumberConstructor)[];
281
+ default: undefined;
282
+ };
283
+ rotate: {
284
+ type: NumberConstructor;
285
+ default: undefined;
286
+ };
287
+ spin: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ color: {
292
+ type: StringConstructor;
293
+ default: undefined;
294
+ };
295
+ fillColor: {
296
+ type: ArrayConstructor;
297
+ default: undefined;
298
+ };
299
+ }>, {
300
+ cls: import('vue').ComputedRef<(string | {
301
+ "x-icon-loading": boolean;
302
+ })[]>;
303
+ styles: import('vue').ComputedRef<import('vue').CSSProperties>;
304
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
305
+ size: {
306
+ type: (StringConstructor | NumberConstructor)[];
307
+ default: undefined;
308
+ };
309
+ rotate: {
310
+ type: NumberConstructor;
311
+ default: undefined;
312
+ };
313
+ spin: {
314
+ type: BooleanConstructor;
315
+ default: boolean;
316
+ };
317
+ color: {
318
+ type: StringConstructor;
319
+ default: undefined;
320
+ };
321
+ fillColor: {
322
+ type: ArrayConstructor;
323
+ default: undefined;
324
+ };
325
+ }>> & Readonly<{}>, {
326
+ size: string | number;
327
+ color: string;
328
+ rotate: number;
329
+ spin: boolean;
330
+ fillColor: unknown[];
331
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
332
+ MinusCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
333
+ size: {
334
+ type: (StringConstructor | NumberConstructor)[];
335
+ default: undefined;
336
+ };
337
+ rotate: {
338
+ type: NumberConstructor;
339
+ default: undefined;
340
+ };
341
+ spin: {
342
+ type: BooleanConstructor;
343
+ default: boolean;
344
+ };
345
+ color: {
346
+ type: StringConstructor;
347
+ default: undefined;
348
+ };
349
+ fillColor: {
350
+ type: ArrayConstructor;
351
+ default: undefined;
352
+ };
353
+ }>, {
354
+ cls: import('vue').ComputedRef<(string | {
355
+ "x-icon-loading": boolean;
356
+ })[]>;
357
+ styles: import('vue').ComputedRef<import('vue').CSSProperties>;
358
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
359
+ size: {
360
+ type: (StringConstructor | NumberConstructor)[];
361
+ default: undefined;
362
+ };
363
+ rotate: {
364
+ type: NumberConstructor;
365
+ default: undefined;
366
+ };
367
+ spin: {
368
+ type: BooleanConstructor;
369
+ default: boolean;
370
+ };
371
+ color: {
372
+ type: StringConstructor;
373
+ default: undefined;
374
+ };
375
+ fillColor: {
376
+ type: ArrayConstructor;
377
+ default: undefined;
378
+ };
379
+ }>> & Readonly<{}>, {
380
+ size: string | number;
381
+ color: string;
382
+ rotate: number;
383
+ spin: boolean;
384
+ fillColor: unknown[];
385
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
386
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
387
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { RenderFunction, VNode } from 'vue';
2
+ export declare const messageTypes: readonly ["success", "warning", "error", "strong", "info"];
3
+ export type IMessageType = (typeof messageTypes)[number];
4
+ export type IMessage = string | number | VNode | RenderFunction;
5
+ export interface IMessageOptions {
6
+ id?: string;
7
+ message?: IMessage;
8
+ type?: IMessageType;
9
+ duration?: number;
10
+ center?: boolean;
11
+ onClose?: (vm?: VNode) => void;
12
+ offset?: number;
13
+ renderTo?: string | HTMLElement;
14
+ showClose?: Boolean;
15
+ useHTML?: Boolean;
16
+ popupClass?: string;
17
+ }
18
+ export interface IMessageHandler {
19
+ close: () => void;
20
+ }
21
+ export interface IMessageCaller {
22
+ (options: IMessageParams): IMessageHandler;
23
+ }
24
+ export interface IMessageMethods extends IMessageCaller {
25
+ success(message: IMessage | IMessageOptions): IMessageHandler;
26
+ error(message: IMessage | IMessageOptions): IMessageHandler;
27
+ warning(message: IMessage | IMessageOptions): IMessageHandler;
28
+ strong(message: IMessage | IMessageOptions): IMessageHandler;
29
+ info(message: IMessage | IMessageOptions): IMessageHandler;
30
+ }
31
+ export type IMessageParams = IMessageOptions | string;
@@ -0,0 +1,3 @@
1
+ import { IMessageMethods } from './props';
2
+ declare const _default: IMessageMethods;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { MessageBoxMethods } from './props';
2
+ declare const _default: MessageBoxMethods;
3
+ export default _default;
@@ -0,0 +1,52 @@
1
+ import { RenderFunction, VNode } from 'vue';
2
+ export declare const messageBoxStaticMethods: readonly ["info", "success", "warning", "strong", "error"];
3
+ export type MessageBoxStaticMethod = (typeof messageBoxStaticMethods)[number];
4
+ export type MessageBoxBeforeAction = () => boolean | Promise<boolean>;
5
+ export type MessageBoxContent = string | number | VNode | RenderFunction;
6
+ export interface MessageBoxOptions {
7
+ title?: MessageBoxContent;
8
+ type?: MessageBoxStaticMethod;
9
+ content?: MessageBoxContent;
10
+ footer?: boolean | ((scoped: MessageBoxFooterScoped) => VNode);
11
+ okText?: string;
12
+ cancelText?: string;
13
+ mask?: boolean;
14
+ maskToClose?: boolean;
15
+ onOk?: (e: Event) => void;
16
+ beforeOnOk?: MessageBoxBeforeAction;
17
+ onCancel?: (e: Event) => void;
18
+ beforeOnCancel?: MessageBoxBeforeAction;
19
+ width?: number | string;
20
+ height?: number | string;
21
+ top?: number | string;
22
+ center?: boolean;
23
+ renderTo?: string | HTMLElement;
24
+ hideCancel?: boolean;
25
+ hideOk?: boolean;
26
+ popupClass?: string;
27
+ }
28
+ export type MessageBoxFooterAction = 'cancel' | 'ok';
29
+ export interface MessageBoxFooterScoped {
30
+ cancel(): void;
31
+ ok(): void;
32
+ loadingObj?: {
33
+ ok: boolean;
34
+ cancel: boolean;
35
+ };
36
+ }
37
+ export interface MessageBoxCaller {
38
+ (options: MessageBoxOptions): void;
39
+ }
40
+ export type MessageBoxChainArgs = [() => boolean | Promise<boolean>, () => void] | [() => void];
41
+ export interface MessageBoxMethodReturn {
42
+ ok(...args: MessageBoxChainArgs): any;
43
+ cancel(...args: MessageBoxChainArgs): any;
44
+ }
45
+ export interface MessageBoxMethods extends MessageBoxCaller {
46
+ info(title: MessageBoxContent, content?: MessageBoxContent): MessageBoxMethodReturn;
47
+ success(title: MessageBoxContent, content?: MessageBoxContent): MessageBoxMethodReturn;
48
+ warning(title: MessageBoxContent, content?: MessageBoxContent): MessageBoxMethodReturn;
49
+ strong(title: MessageBoxContent, content?: MessageBoxContent): MessageBoxMethodReturn;
50
+ error(title: MessageBoxContent, content?: MessageBoxContent): MessageBoxMethodReturn;
51
+ }
52
+ export type MessageBoxMethodOption = string | MessageBoxOptions;
@@ -0,0 +1,2 @@
1
+ import { default as MessageBox } from './';
2
+ export default MessageBox;