x-next 0.0.0-alpha.19 → 0.0.0-alpha.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
37
37
  type: BooleanConstructor;
38
38
  default: boolean;
39
39
  };
40
- useHTML: BooleanConstructor;
40
+ useHTML: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
41
44
  popupClass: {
42
45
  type: StringConstructor;
43
46
  default: undefined;
@@ -79,7 +82,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
79
82
  type: BooleanConstructor;
80
83
  default: boolean;
81
84
  };
82
- useHTML: BooleanConstructor;
85
+ useHTML: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
83
89
  popupClass: {
84
90
  type: StringConstructor;
85
91
  default: undefined;
@@ -95,8 +101,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
95
101
  popupClass: string;
96
102
  showClose: boolean;
97
103
  onClose: () => void;
98
- useHTML: boolean;
99
104
  id: string;
100
105
  duration: number;
106
+ useHTML: boolean;
101
107
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
102
108
  export default _default;
@@ -0,0 +1,362 @@
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
+ id: string;
113
+ duration: number;
114
+ useHTML: boolean;
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
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
138
+ size: {
139
+ type: (NumberConstructor | StringConstructor)[];
140
+ default: undefined;
141
+ };
142
+ rotate: {
143
+ type: NumberConstructor;
144
+ default: undefined;
145
+ };
146
+ spin: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ color: {
151
+ type: StringConstructor;
152
+ default: undefined;
153
+ };
154
+ fillColor: {
155
+ type: ArrayConstructor;
156
+ default: undefined;
157
+ };
158
+ }>> & Readonly<{}>, {
159
+ size: string | number;
160
+ rotate: number;
161
+ spin: boolean;
162
+ color: string;
163
+ fillColor: unknown[];
164
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
+ CheckCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
166
+ size: {
167
+ type: (NumberConstructor | StringConstructor)[];
168
+ default: undefined;
169
+ };
170
+ rotate: {
171
+ type: NumberConstructor;
172
+ default: undefined;
173
+ };
174
+ spin: {
175
+ type: BooleanConstructor;
176
+ default: boolean;
177
+ };
178
+ color: {
179
+ type: StringConstructor;
180
+ default: undefined;
181
+ };
182
+ fillColor: {
183
+ type: ArrayConstructor;
184
+ default: undefined;
185
+ };
186
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
187
+ size: {
188
+ type: (NumberConstructor | StringConstructor)[];
189
+ default: undefined;
190
+ };
191
+ rotate: {
192
+ type: NumberConstructor;
193
+ default: undefined;
194
+ };
195
+ spin: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
199
+ color: {
200
+ type: StringConstructor;
201
+ default: undefined;
202
+ };
203
+ fillColor: {
204
+ type: ArrayConstructor;
205
+ default: undefined;
206
+ };
207
+ }>> & Readonly<{}>, {
208
+ size: string | number;
209
+ rotate: number;
210
+ spin: boolean;
211
+ color: string;
212
+ fillColor: unknown[];
213
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
214
+ ExclamationCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
215
+ size: {
216
+ type: (NumberConstructor | StringConstructor)[];
217
+ default: undefined;
218
+ };
219
+ rotate: {
220
+ type: NumberConstructor;
221
+ default: undefined;
222
+ };
223
+ spin: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ };
227
+ color: {
228
+ type: StringConstructor;
229
+ default: undefined;
230
+ };
231
+ fillColor: {
232
+ type: ArrayConstructor;
233
+ default: undefined;
234
+ };
235
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
236
+ size: {
237
+ type: (NumberConstructor | StringConstructor)[];
238
+ default: undefined;
239
+ };
240
+ rotate: {
241
+ type: NumberConstructor;
242
+ default: undefined;
243
+ };
244
+ spin: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ color: {
249
+ type: StringConstructor;
250
+ default: undefined;
251
+ };
252
+ fillColor: {
253
+ type: ArrayConstructor;
254
+ default: undefined;
255
+ };
256
+ }>> & Readonly<{}>, {
257
+ size: string | number;
258
+ rotate: number;
259
+ spin: boolean;
260
+ color: string;
261
+ fillColor: unknown[];
262
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
263
+ InfoCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
264
+ size: {
265
+ type: (NumberConstructor | StringConstructor)[];
266
+ default: undefined;
267
+ };
268
+ rotate: {
269
+ type: NumberConstructor;
270
+ default: undefined;
271
+ };
272
+ spin: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ color: {
277
+ type: StringConstructor;
278
+ default: undefined;
279
+ };
280
+ fillColor: {
281
+ type: ArrayConstructor;
282
+ default: undefined;
283
+ };
284
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
285
+ size: {
286
+ type: (NumberConstructor | StringConstructor)[];
287
+ default: undefined;
288
+ };
289
+ rotate: {
290
+ type: NumberConstructor;
291
+ default: undefined;
292
+ };
293
+ spin: {
294
+ type: BooleanConstructor;
295
+ default: boolean;
296
+ };
297
+ color: {
298
+ type: StringConstructor;
299
+ default: undefined;
300
+ };
301
+ fillColor: {
302
+ type: ArrayConstructor;
303
+ default: undefined;
304
+ };
305
+ }>> & Readonly<{}>, {
306
+ size: string | number;
307
+ rotate: number;
308
+ spin: boolean;
309
+ color: string;
310
+ fillColor: unknown[];
311
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
312
+ MinusCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
313
+ size: {
314
+ type: (NumberConstructor | StringConstructor)[];
315
+ default: undefined;
316
+ };
317
+ rotate: {
318
+ type: NumberConstructor;
319
+ default: undefined;
320
+ };
321
+ spin: {
322
+ type: BooleanConstructor;
323
+ default: boolean;
324
+ };
325
+ color: {
326
+ type: StringConstructor;
327
+ default: undefined;
328
+ };
329
+ fillColor: {
330
+ type: ArrayConstructor;
331
+ default: undefined;
332
+ };
333
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
334
+ size: {
335
+ type: (NumberConstructor | StringConstructor)[];
336
+ default: undefined;
337
+ };
338
+ rotate: {
339
+ type: NumberConstructor;
340
+ default: undefined;
341
+ };
342
+ spin: {
343
+ type: BooleanConstructor;
344
+ default: boolean;
345
+ };
346
+ color: {
347
+ type: StringConstructor;
348
+ default: undefined;
349
+ };
350
+ fillColor: {
351
+ type: ArrayConstructor;
352
+ default: undefined;
353
+ };
354
+ }>> & Readonly<{}>, {
355
+ size: string | number;
356
+ rotate: number;
357
+ spin: boolean;
358
+ color: string;
359
+ fillColor: unknown[];
360
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
361
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
362
+ export default _default;
@@ -36,7 +36,10 @@ export declare const XMessage: {
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
- useHTML: BooleanConstructor;
39
+ useHTML: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
40
43
  popupClass: {
41
44
  type: StringConstructor;
42
45
  default: undefined;
@@ -52,9 +55,9 @@ export declare const XMessage: {
52
55
  popupClass: string;
53
56
  showClose: boolean;
54
57
  onClose: () => void;
55
- useHTML: boolean;
56
58
  id: string;
57
59
  duration: number;
60
+ useHTML: boolean;
58
61
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
59
62
  P: {};
60
63
  B: {};
@@ -99,7 +102,10 @@ export declare const XMessage: {
99
102
  type: BooleanConstructor;
100
103
  default: boolean;
101
104
  };
102
- useHTML: BooleanConstructor;
105
+ useHTML: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
103
109
  popupClass: {
104
110
  type: StringConstructor;
105
111
  default: undefined;
@@ -115,9 +121,9 @@ export declare const XMessage: {
115
121
  popupClass: string;
116
122
  showClose: boolean;
117
123
  onClose: () => void;
118
- useHTML: boolean;
119
124
  id: string;
120
125
  duration: number;
126
+ useHTML: boolean;
121
127
  }>;
122
128
  __isFragment?: never;
123
129
  __isTeleport?: never;
@@ -159,7 +165,10 @@ export declare const XMessage: {
159
165
  type: BooleanConstructor;
160
166
  default: boolean;
161
167
  };
162
- useHTML: BooleanConstructor;
168
+ useHTML: {
169
+ type: BooleanConstructor;
170
+ default: boolean;
171
+ };
163
172
  popupClass: {
164
173
  type: StringConstructor;
165
174
  default: undefined;
@@ -175,9 +184,9 @@ export declare const XMessage: {
175
184
  popupClass: string;
176
185
  showClose: boolean;
177
186
  onClose: () => void;
178
- useHTML: boolean;
179
187
  id: string;
180
188
  duration: number;
189
+ useHTML: boolean;
181
190
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
182
191
  install(app: import('vue').App): void;
183
192
  };
@@ -1,5 +1,6 @@
1
+ import { VNode } from 'vue';
1
2
  import { JSX } from 'vue/jsx-runtime';
2
- export declare function generateIcon(name: string, template: JSX.Element): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ export declare function generateIcon(name: string, template: JSX.Element | VNode): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
4
  size: {
4
5
  type: (NumberConstructor | StringConstructor)[];
5
6
  default: undefined;