x-next 0.0.0-alpha.2 → 0.0.0-alpha.20
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -84
- package/dist/{types/_hooks → _hooks}/use-overflow.d.ts +1 -1
- package/dist/{types/_hooks → _hooks}/use-popup-manager.d.ts +1 -1
- package/dist/{types/_utils → _utils}/config.d.ts +1 -1
- package/dist/{types/_utils → _utils}/dom.d.ts +1 -1
- package/dist/{types/_utils → _utils}/is.d.ts +5 -6
- package/dist/{types/_utils → _utils}/keyboard.d.ts +1 -1
- package/dist/{types/_utils → _utils}/vue-eco.d.ts +10 -11
- package/dist/{types/componets/button/index.vue.d.ts → components/button/Button.d.ts} +18 -28
- package/dist/components/button/index.d.ts +181 -0
- package/dist/{types/componets → components}/button/props.d.ts +4 -4
- package/dist/{types/componets/dialog/index.vue.d.ts → components/dialog/Dialog.d.ts} +9 -42
- package/dist/components/dialog/index.d.ts +334 -0
- package/dist/{types/componets → components}/dialog/props.d.ts +7 -7
- package/dist/{types/componets → components}/dialog/use-props.d.ts +1 -1
- package/dist/{types/componets → components}/dialog/use.d.ts +1 -1
- package/dist/components/dialog/warp.d.ts +2 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/{types/componets/message/index.vue.d.ts → components/message/Message.d.ts} +19 -27
- package/dist/components/message/MessageVue.vue.d.ts +362 -0
- package/dist/components/message/index.d.ts +193 -0
- package/dist/{types/componets → components}/message/props.d.ts +1 -1
- package/dist/{types/componets → components}/message/warp.d.ts +1 -1
- package/dist/{types/componets/message-box/index.d.ts → components/message-box/MessageBox.d.ts} +1 -1
- package/dist/components/message-box/index.d.ts +4 -0
- package/dist/{types/componets → components}/message-box/props.d.ts +1 -1
- package/dist/components/message-box/warp.d.ts +2 -0
- package/dist/components/notification/Notification.d.ts +89 -0
- package/dist/components/notification/index.d.ts +166 -0
- package/dist/{types/componets → components}/notification/props.d.ts +2 -2
- package/dist/{types/componets → components}/notification/warp.d.ts +1 -1
- package/dist/{types/componets/space/index.d.ts → components/space/Space.d.ts} +9 -9
- package/dist/components/space/index.d.ts +82 -0
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-curve.d.ts +17 -17
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-grid.d.ts +7 -7
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-labels.d.ts +7 -7
- package/dist/{types/componets → components}/trend-chart/components/trend-chart.d.ts +47 -47
- package/dist/{types/componets → components}/trend-chart/helpers/genPoints.d.ts +1 -1
- package/dist/components/trend-chart/index.d.ts +2 -0
- package/dist/{types/componets → components}/trend-chart/props.d.ts +2 -2
- package/dist/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/dist/{types/icons/default/exclamation-circle-fill.vue.d.ts → icons/animation/animation-loading.d.ts} +5 -10
- package/dist/{types/icons/default/close-circle-fill.vue.d.ts → icons/default/check-circle-fill.d.ts} +5 -10
- package/dist/{types/icons/animation/animation-loading.vue.d.ts → icons/default/close-circle-fill.d.ts} +5 -10
- package/dist/{types/icons/default/check-circle-fill.vue.d.ts → icons/default/exclamation-circle-fill.d.ts} +5 -10
- package/dist/icons/default/info-circle-fill.d.ts +50 -0
- package/dist/icons/default/minus-circle-fill.d.ts +50 -0
- package/dist/icons/icon.d.ts +51 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +1368 -0
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +11 -0
- package/package.json +45 -48
- package/volar.d.ts +12 -0
- package/LICENSE +0 -21
- package/dist/favicon.ico +0 -0
- package/dist/types/_utils/icon.d.ts +0 -59
- package/dist/types/componets/dialog/warp.d.ts +0 -2
- package/dist/types/componets/message-box/warp.d.ts +0 -2
- package/dist/types/componets/notification/index.vue.d.ts +0 -160
- package/dist/types/componets/trend-chart/index.d.ts +0 -2
- package/dist/types/icons/default/info-circle-fill.vue.d.ts +0 -55
- package/dist/types/icons/default/minus-circle-fill.vue.d.ts +0 -55
- package/dist/types/icons/index.d.ts +0 -7
- package/dist/types/ui.d.ts +0 -5
- package/dist/ui.cjs.js +0 -2
- package/dist/ui.es.js +0 -1395
- package/dist/ui.umd.js +0 -3
- /package/dist/{types/_props → _props}/css.d.ts +0 -0
- /package/dist/{types/_props → _props}/global.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/convert-case.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/helpers.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/number.d.ts +0 -0
- /package/dist/{types/componets → components}/tag-cloud/index.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/genPath.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/getPadding.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/validatePadding.d.ts +0 -0
@@ -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;
|
@@ -0,0 +1,193 @@
|
|
1
|
+
export declare const XMessage: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
id: {
|
4
|
+
type: StringConstructor;
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
message: {
|
8
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
type: {
|
12
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
duration: {
|
16
|
+
type: NumberConstructor;
|
17
|
+
default: number;
|
18
|
+
};
|
19
|
+
center: {
|
20
|
+
type: BooleanConstructor;
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
onClose: {
|
24
|
+
type: import('vue').PropType<() => void>;
|
25
|
+
default: () => void;
|
26
|
+
};
|
27
|
+
offset: {
|
28
|
+
type: NumberConstructor;
|
29
|
+
default: number;
|
30
|
+
};
|
31
|
+
zIndex: {
|
32
|
+
type: NumberConstructor;
|
33
|
+
default: number;
|
34
|
+
};
|
35
|
+
showClose: {
|
36
|
+
type: BooleanConstructor;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
useHTML: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
popupClass: {
|
44
|
+
type: StringConstructor;
|
45
|
+
default: undefined;
|
46
|
+
};
|
47
|
+
}>> & Readonly<{
|
48
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
49
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "destroy"[], import('vue').PublicProps, {
|
50
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
51
|
+
message: import('./props').IMessage;
|
52
|
+
zIndex: number;
|
53
|
+
offset: number;
|
54
|
+
center: boolean;
|
55
|
+
popupClass: string;
|
56
|
+
showClose: boolean;
|
57
|
+
onClose: () => void;
|
58
|
+
id: string;
|
59
|
+
duration: number;
|
60
|
+
useHTML: boolean;
|
61
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
62
|
+
P: {};
|
63
|
+
B: {};
|
64
|
+
D: {};
|
65
|
+
C: {};
|
66
|
+
M: {};
|
67
|
+
Defaults: {};
|
68
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
69
|
+
id: {
|
70
|
+
type: StringConstructor;
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
message: {
|
74
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
type: {
|
78
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
79
|
+
default: string;
|
80
|
+
};
|
81
|
+
duration: {
|
82
|
+
type: NumberConstructor;
|
83
|
+
default: number;
|
84
|
+
};
|
85
|
+
center: {
|
86
|
+
type: BooleanConstructor;
|
87
|
+
default: boolean;
|
88
|
+
};
|
89
|
+
onClose: {
|
90
|
+
type: import('vue').PropType<() => void>;
|
91
|
+
default: () => void;
|
92
|
+
};
|
93
|
+
offset: {
|
94
|
+
type: NumberConstructor;
|
95
|
+
default: number;
|
96
|
+
};
|
97
|
+
zIndex: {
|
98
|
+
type: NumberConstructor;
|
99
|
+
default: number;
|
100
|
+
};
|
101
|
+
showClose: {
|
102
|
+
type: BooleanConstructor;
|
103
|
+
default: boolean;
|
104
|
+
};
|
105
|
+
useHTML: {
|
106
|
+
type: BooleanConstructor;
|
107
|
+
default: boolean;
|
108
|
+
};
|
109
|
+
popupClass: {
|
110
|
+
type: StringConstructor;
|
111
|
+
default: undefined;
|
112
|
+
};
|
113
|
+
}>> & Readonly<{
|
114
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
115
|
+
}>, () => any, {}, {}, {}, {
|
116
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
117
|
+
message: import('./props').IMessage;
|
118
|
+
zIndex: number;
|
119
|
+
offset: number;
|
120
|
+
center: boolean;
|
121
|
+
popupClass: string;
|
122
|
+
showClose: boolean;
|
123
|
+
onClose: () => void;
|
124
|
+
id: string;
|
125
|
+
duration: number;
|
126
|
+
useHTML: boolean;
|
127
|
+
}>;
|
128
|
+
__isFragment?: never;
|
129
|
+
__isTeleport?: never;
|
130
|
+
__isSuspense?: never;
|
131
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
132
|
+
id: {
|
133
|
+
type: StringConstructor;
|
134
|
+
default: string;
|
135
|
+
};
|
136
|
+
message: {
|
137
|
+
type: import('vue').PropType<import('./props').IMessage>;
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
type: {
|
141
|
+
type: import('vue').PropType<import('./props').IMessageType>;
|
142
|
+
default: string;
|
143
|
+
};
|
144
|
+
duration: {
|
145
|
+
type: NumberConstructor;
|
146
|
+
default: number;
|
147
|
+
};
|
148
|
+
center: {
|
149
|
+
type: BooleanConstructor;
|
150
|
+
default: boolean;
|
151
|
+
};
|
152
|
+
onClose: {
|
153
|
+
type: import('vue').PropType<() => void>;
|
154
|
+
default: () => void;
|
155
|
+
};
|
156
|
+
offset: {
|
157
|
+
type: NumberConstructor;
|
158
|
+
default: number;
|
159
|
+
};
|
160
|
+
zIndex: {
|
161
|
+
type: NumberConstructor;
|
162
|
+
default: number;
|
163
|
+
};
|
164
|
+
showClose: {
|
165
|
+
type: BooleanConstructor;
|
166
|
+
default: boolean;
|
167
|
+
};
|
168
|
+
useHTML: {
|
169
|
+
type: BooleanConstructor;
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
popupClass: {
|
173
|
+
type: StringConstructor;
|
174
|
+
default: undefined;
|
175
|
+
};
|
176
|
+
}>> & Readonly<{
|
177
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
178
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "destroy"[], "destroy", {
|
179
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
180
|
+
message: import('./props').IMessage;
|
181
|
+
zIndex: number;
|
182
|
+
offset: number;
|
183
|
+
center: boolean;
|
184
|
+
popupClass: string;
|
185
|
+
showClose: boolean;
|
186
|
+
onClose: () => void;
|
187
|
+
id: string;
|
188
|
+
duration: number;
|
189
|
+
useHTML: boolean;
|
190
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
191
|
+
install(app: import('vue').App): void;
|
192
|
+
};
|
193
|
+
export { XMessage as default };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { RenderFunction, VNode } from 'vue';
|
2
2
|
export declare const messageTypes: readonly ["success", "warning", "error", "strong", "info"];
|
3
3
|
export type IMessageType = (typeof messageTypes)[number];
|
4
4
|
export type IMessage = string | number | VNode | RenderFunction;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { RenderFunction, VNode } from 'vue';
|
2
2
|
export declare const messageBoxStaticMethods: readonly ["info", "success", "warning", "strong", "error"];
|
3
3
|
export type MessageBoxStaticMethod = (typeof messageBoxStaticMethods)[number];
|
4
4
|
export type MessageBoxBeforeAction = () => boolean | Promise<boolean>;
|
@@ -0,0 +1,89 @@
|
|
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
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
39
|
+
position: {
|
40
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
41
|
+
default: string;
|
42
|
+
};
|
43
|
+
offset: {
|
44
|
+
type: NumberConstructor;
|
45
|
+
default: number;
|
46
|
+
};
|
47
|
+
title: {
|
48
|
+
type: StringConstructor;
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
type: {
|
52
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
message: {
|
56
|
+
type: StringConstructor;
|
57
|
+
default: undefined;
|
58
|
+
};
|
59
|
+
duration: {
|
60
|
+
type: NumberConstructor;
|
61
|
+
default: number;
|
62
|
+
};
|
63
|
+
showClose: {
|
64
|
+
type: BooleanConstructor;
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
onClose: {
|
68
|
+
type: import('vue').PropType<() => void>;
|
69
|
+
default: () => void;
|
70
|
+
};
|
71
|
+
renderToBody: {
|
72
|
+
type: BooleanConstructor;
|
73
|
+
default: boolean;
|
74
|
+
};
|
75
|
+
}>> & Readonly<{
|
76
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
77
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
78
|
+
}>, {
|
79
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
80
|
+
title: string;
|
81
|
+
message: string;
|
82
|
+
position: import('./props').NotificationPosition;
|
83
|
+
offset: number;
|
84
|
+
showClose: boolean;
|
85
|
+
onClose: () => void;
|
86
|
+
duration: number;
|
87
|
+
renderToBody: boolean;
|
88
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
89
|
+
export default _default;
|