x-next 0.0.0-alpha.16 → 0.0.0-alpha.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/components/button/Button.d.ts +2 -2
  2. package/dist/components/button/index.d.ts +6 -6
  3. package/dist/components/dialog/{index.vue.d.ts → Dialog.d.ts} +4 -37
  4. package/dist/components/dialog/index.d.ts +334 -0
  5. package/dist/components/index.d.ts +5 -0
  6. package/dist/components/message/Message.d.ts +102 -0
  7. package/dist/components/message/index.d.ts +184 -0
  8. package/dist/components/message-box/MessageBox.d.ts +3 -0
  9. package/dist/components/message-box/index.d.ts +4 -3
  10. package/dist/components/message-box/warp.d.ts +1 -1
  11. package/dist/components/notification/Notification.d.ts +89 -0
  12. package/dist/components/notification/index.d.ts +166 -0
  13. package/dist/components/space/Space.d.ts +42 -0
  14. package/dist/components/space/index.d.ts +65 -25
  15. package/dist/icons/animation/animation-loading.d.ts +48 -4
  16. package/dist/icons/default/{exclamation-circle-fill.vue.d.ts → check-circle-fill.d.ts} +2 -7
  17. package/dist/icons/{animation/animation-loading.vue.d.ts → default/close-circle-fill.d.ts} +2 -7
  18. package/dist/icons/default/{check-circle-fill.vue.d.ts → exclamation-circle-fill.d.ts} +2 -7
  19. package/dist/icons/default/{close-circle-fill.vue.d.ts → info-circle-fill.d.ts} +2 -7
  20. package/dist/icons/default/minus-circle-fill.d.ts +50 -0
  21. package/dist/icons/icon.d.ts +50 -0
  22. package/dist/icons/index.d.ts +6 -6
  23. package/dist/index.es.js +787 -944
  24. package/dist/index.umd.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/types.d.ts +5 -0
  27. package/package.json +2 -2
  28. package/dist/_utils/icon.d.ts +0 -59
  29. package/dist/components/message/index.vue.d.ts +0 -387
  30. package/dist/components/notification/index.vue.d.ts +0 -160
  31. package/dist/icons/default/info-circle-fill.vue.d.ts +0 -55
  32. package/dist/icons/default/minus-circle-fill.vue.d.ts +0 -55
  33. package/dist/web-types.json +0 -11
@@ -1,387 +0,0 @@
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
- type: "success" | "warning" | "strong" | "info" | "error";
105
- message: IMessage;
106
- zIndex: number;
107
- offset: number;
108
- center: boolean;
109
- popupClass: string;
110
- showClose: boolean;
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
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;
@@ -1,160 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- position: {
3
- type: import('vue').PropType<import('./props').NotificationPosition>;
4
- default: string;
5
- };
6
- offset: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- title: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- type: {
15
- type: import('vue').PropType<import('./props').NotificationType>;
16
- default: string;
17
- };
18
- message: {
19
- type: StringConstructor;
20
- default: undefined;
21
- };
22
- duration: {
23
- type: NumberConstructor;
24
- default: number;
25
- };
26
- showClose: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- onClose: {
31
- type: import('vue').PropType<() => void>;
32
- default: () => void;
33
- };
34
- renderToBody: {
35
- type: BooleanConstructor;
36
- default: boolean;
37
- };
38
- }>, {
39
- ns: string;
40
- cn: {
41
- block: string;
42
- element: (className: string) => string;
43
- modifier: (className: string) => string;
44
- is: (className: string) => string;
45
- };
46
- cls: import('vue').ComputedRef<string[]>;
47
- animationClsName: import('vue').ComputedRef<string>;
48
- positionStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
49
- visible: import('vue').Ref<boolean, boolean>;
50
- positionPropMap: import('vue').ComputedRef<{
51
- hor: string;
52
- ver: string;
53
- }>;
54
- currentIcon: import('vue').ComputedRef<"" | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
55
- size: {
56
- type: (NumberConstructor | StringConstructor)[];
57
- default: undefined;
58
- };
59
- rotate: {
60
- type: NumberConstructor;
61
- default: undefined;
62
- };
63
- spin: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- color: {
68
- type: StringConstructor;
69
- default: undefined;
70
- };
71
- fillColor: {
72
- type: ArrayConstructor;
73
- default: undefined;
74
- };
75
- }>, {
76
- cls: import('vue').ComputedRef<(string | {
77
- "x-icon-loading": boolean;
78
- })[]>;
79
- styles: import('vue').ComputedRef<import('vue').CSSProperties>;
80
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
81
- size: {
82
- type: (NumberConstructor | StringConstructor)[];
83
- default: undefined;
84
- };
85
- rotate: {
86
- type: NumberConstructor;
87
- default: undefined;
88
- };
89
- spin: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- color: {
94
- type: StringConstructor;
95
- default: undefined;
96
- };
97
- fillColor: {
98
- type: ArrayConstructor;
99
- default: undefined;
100
- };
101
- }>> & Readonly<{}>, {
102
- size: string | number;
103
- color: string;
104
- rotate: number;
105
- spin: boolean;
106
- fillColor: unknown[];
107
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
108
- handleClose: () => void;
109
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
110
- position: {
111
- type: import('vue').PropType<import('./props').NotificationPosition>;
112
- default: string;
113
- };
114
- offset: {
115
- type: NumberConstructor;
116
- default: number;
117
- };
118
- title: {
119
- type: StringConstructor;
120
- default: string;
121
- };
122
- type: {
123
- type: import('vue').PropType<import('./props').NotificationType>;
124
- default: string;
125
- };
126
- message: {
127
- type: StringConstructor;
128
- default: undefined;
129
- };
130
- duration: {
131
- type: NumberConstructor;
132
- default: number;
133
- };
134
- showClose: {
135
- type: BooleanConstructor;
136
- default: boolean;
137
- };
138
- onClose: {
139
- type: import('vue').PropType<() => void>;
140
- default: () => void;
141
- };
142
- renderToBody: {
143
- type: BooleanConstructor;
144
- default: boolean;
145
- };
146
- }>> & Readonly<{
147
- onClose?: ((...args: any[]) => any) | undefined;
148
- onDestroy?: ((...args: any[]) => any) | undefined;
149
- }>, {
150
- type: "success" | "warning" | "strong" | "info" | "error";
151
- message: string;
152
- position: import('./props').NotificationPosition;
153
- offset: number;
154
- title: string;
155
- showClose: boolean;
156
- onClose: () => void;
157
- duration: number;
158
- renderToBody: boolean;
159
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
160
- export default _default;
@@ -1,55 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- size: {
3
- type: (NumberConstructor | StringConstructor)[];
4
- default: undefined;
5
- };
6
- rotate: {
7
- type: NumberConstructor;
8
- default: undefined;
9
- };
10
- spin: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- color: {
15
- type: StringConstructor;
16
- default: undefined;
17
- };
18
- fillColor: {
19
- type: ArrayConstructor;
20
- default: undefined;
21
- };
22
- }>, {
23
- cls: import('vue').ComputedRef<(string | {
24
- "x-icon-loading": boolean;
25
- })[]>;
26
- styles: import('vue').ComputedRef<import('vue').CSSProperties>;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- size: {
29
- type: (NumberConstructor | StringConstructor)[];
30
- default: undefined;
31
- };
32
- rotate: {
33
- type: NumberConstructor;
34
- default: undefined;
35
- };
36
- spin: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- color: {
41
- type: StringConstructor;
42
- default: undefined;
43
- };
44
- fillColor: {
45
- type: ArrayConstructor;
46
- default: undefined;
47
- };
48
- }>> & Readonly<{}>, {
49
- size: string | number;
50
- color: string;
51
- rotate: number;
52
- spin: boolean;
53
- fillColor: unknown[];
54
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
55
- export default _default;
@@ -1,55 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- size: {
3
- type: (NumberConstructor | StringConstructor)[];
4
- default: undefined;
5
- };
6
- rotate: {
7
- type: NumberConstructor;
8
- default: undefined;
9
- };
10
- spin: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- color: {
15
- type: StringConstructor;
16
- default: undefined;
17
- };
18
- fillColor: {
19
- type: ArrayConstructor;
20
- default: undefined;
21
- };
22
- }>, {
23
- cls: import('vue').ComputedRef<(string | {
24
- "x-icon-loading": boolean;
25
- })[]>;
26
- styles: import('vue').ComputedRef<import('vue').CSSProperties>;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- size: {
29
- type: (NumberConstructor | StringConstructor)[];
30
- default: undefined;
31
- };
32
- rotate: {
33
- type: NumberConstructor;
34
- default: undefined;
35
- };
36
- spin: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- color: {
41
- type: StringConstructor;
42
- default: undefined;
43
- };
44
- fillColor: {
45
- type: ArrayConstructor;
46
- default: undefined;
47
- };
48
- }>> & Readonly<{}>, {
49
- size: string | number;
50
- color: string;
51
- rotate: number;
52
- spin: boolean;
53
- fillColor: unknown[];
54
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
55
- export default _default;
@@ -1,11 +0,0 @@
1
- {
2
- "framework": "vue",
3
- "name": "your-library-name",
4
- "version": "1.0.0",
5
- "contributions": {
6
- "html": {
7
- "tags": [],
8
- "attributes": []
9
- }
10
- }
11
- }