x-next 0.0.0-alpha.76 → 0.0.0-alpha.78
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.
- package/dist/directives/wave.d.ts +15 -0
- package/dist/index.es.js +1784 -1752
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/button/Button.d.ts +0 -118
- package/dist/components/button/index.d.ts +0 -320
- package/dist/components/drawer/index.d.ts +0 -1616
- package/dist/components/drawer/src/Drawer.vue.d.ts +0 -815
- package/dist/components/dropdown/DropdownButton.vue.d.ts +0 -1643
- package/dist/components/dropdown/index.d.ts +0 -7700
- package/dist/components/popconfirm/src/popup.vue.d.ts +0 -441
package/package.json
CHANGED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { SlotsType } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
disabled: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
block: BooleanConstructor;
|
|
8
|
-
loading: BooleanConstructor;
|
|
9
|
-
loadingFill: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
debounce: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
shape: {
|
|
18
|
-
type: import('vue').PropType<import('./props').ButtonShape>;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
link: {
|
|
22
|
-
type: import('vue').PropType<boolean>;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
type: {
|
|
26
|
-
type: import('vue').PropType<import('./props').ButtonTypes>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
status: {
|
|
30
|
-
type: import('vue').PropType<import('./props').ButtonStatus>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
plain: {
|
|
34
|
-
type: import('vue').PropType<boolean>;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
size: {
|
|
38
|
-
type: import('vue').PropType<import('./props').ButtonSize>;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
border: {
|
|
42
|
-
type: import('vue').PropType<boolean>;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
narrow: {
|
|
46
|
-
type: import('vue').PropType<boolean>;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
-
disabled: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
block: BooleanConstructor;
|
|
55
|
-
loading: BooleanConstructor;
|
|
56
|
-
loadingFill: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
debounce: {
|
|
61
|
-
type: NumberConstructor;
|
|
62
|
-
default: number;
|
|
63
|
-
};
|
|
64
|
-
shape: {
|
|
65
|
-
type: import('vue').PropType<import('./props').ButtonShape>;
|
|
66
|
-
default: undefined;
|
|
67
|
-
};
|
|
68
|
-
link: {
|
|
69
|
-
type: import('vue').PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
type: {
|
|
73
|
-
type: import('vue').PropType<import('./props').ButtonTypes>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
status: {
|
|
77
|
-
type: import('vue').PropType<import('./props').ButtonStatus>;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
plain: {
|
|
81
|
-
type: import('vue').PropType<boolean>;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
size: {
|
|
85
|
-
type: import('vue').PropType<import('./props').ButtonSize>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
border: {
|
|
89
|
-
type: import('vue').PropType<boolean>;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
narrow: {
|
|
93
|
-
type: import('vue').PropType<boolean>;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
}>> & Readonly<{
|
|
97
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
98
|
-
}>, {
|
|
99
|
-
type: import('./props').ButtonTypes;
|
|
100
|
-
size: import('./props').ButtonSize;
|
|
101
|
-
disabled: boolean;
|
|
102
|
-
link: boolean;
|
|
103
|
-
block: boolean;
|
|
104
|
-
loading: boolean;
|
|
105
|
-
loadingFill: boolean;
|
|
106
|
-
debounce: number;
|
|
107
|
-
shape: import('./props').ButtonShape;
|
|
108
|
-
status: import('./props').ButtonStatus;
|
|
109
|
-
plain: boolean;
|
|
110
|
-
border: boolean;
|
|
111
|
-
narrow: boolean;
|
|
112
|
-
}, SlotsType<{
|
|
113
|
-
default: () => any;
|
|
114
|
-
prefix: () => any;
|
|
115
|
-
suffix: () => any;
|
|
116
|
-
icon: any;
|
|
117
|
-
}>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
-
export default _default;
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { ButtonShape, ButtonSize, ButtonStatus, ButtonTypes } from './props';
|
|
2
|
-
export declare const Button: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
-
disabled: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
block: BooleanConstructor;
|
|
9
|
-
loading: BooleanConstructor;
|
|
10
|
-
loadingFill: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
debounce: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
shape: {
|
|
19
|
-
type: import('vue').PropType<ButtonShape>;
|
|
20
|
-
default: undefined;
|
|
21
|
-
};
|
|
22
|
-
link: {
|
|
23
|
-
type: import('vue').PropType<boolean>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
type: {
|
|
27
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
status: {
|
|
31
|
-
type: import('vue').PropType<ButtonStatus>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
plain: {
|
|
35
|
-
type: import('vue').PropType<boolean>;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
type: import('vue').PropType<ButtonSize>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
border: {
|
|
43
|
-
type: import('vue').PropType<boolean>;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
narrow: {
|
|
47
|
-
type: import('vue').PropType<boolean>;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
}>> & Readonly<{
|
|
51
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], import('vue').PublicProps, {
|
|
53
|
-
type: ButtonTypes;
|
|
54
|
-
size: ButtonSize;
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
link: boolean;
|
|
57
|
-
block: boolean;
|
|
58
|
-
loading: boolean;
|
|
59
|
-
loadingFill: boolean;
|
|
60
|
-
debounce: number;
|
|
61
|
-
shape: ButtonShape;
|
|
62
|
-
status: ButtonStatus;
|
|
63
|
-
plain: boolean;
|
|
64
|
-
border: boolean;
|
|
65
|
-
narrow: boolean;
|
|
66
|
-
}, true, {}, import('vue').SlotsType<{
|
|
67
|
-
default: () => any;
|
|
68
|
-
prefix: () => any;
|
|
69
|
-
suffix: () => any;
|
|
70
|
-
icon: any;
|
|
71
|
-
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
72
|
-
P: {};
|
|
73
|
-
B: {};
|
|
74
|
-
D: {};
|
|
75
|
-
C: {};
|
|
76
|
-
M: {};
|
|
77
|
-
Defaults: {};
|
|
78
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
-
disabled: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
block: BooleanConstructor;
|
|
84
|
-
loading: BooleanConstructor;
|
|
85
|
-
loadingFill: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
debounce: {
|
|
90
|
-
type: NumberConstructor;
|
|
91
|
-
default: number;
|
|
92
|
-
};
|
|
93
|
-
shape: {
|
|
94
|
-
type: import('vue').PropType<ButtonShape>;
|
|
95
|
-
default: undefined;
|
|
96
|
-
};
|
|
97
|
-
link: {
|
|
98
|
-
type: import('vue').PropType<boolean>;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
type: {
|
|
102
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
status: {
|
|
106
|
-
type: import('vue').PropType<ButtonStatus>;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
plain: {
|
|
110
|
-
type: import('vue').PropType<boolean>;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
size: {
|
|
114
|
-
type: import('vue').PropType<ButtonSize>;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
border: {
|
|
118
|
-
type: import('vue').PropType<boolean>;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
|
-
narrow: {
|
|
122
|
-
type: import('vue').PropType<boolean>;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
}>> & Readonly<{
|
|
126
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
127
|
-
}>, () => VNode, {}, {}, {}, {
|
|
128
|
-
type: ButtonTypes;
|
|
129
|
-
size: ButtonSize;
|
|
130
|
-
disabled: boolean;
|
|
131
|
-
link: boolean;
|
|
132
|
-
block: boolean;
|
|
133
|
-
loading: boolean;
|
|
134
|
-
loadingFill: boolean;
|
|
135
|
-
debounce: number;
|
|
136
|
-
shape: ButtonShape;
|
|
137
|
-
status: ButtonStatus;
|
|
138
|
-
plain: boolean;
|
|
139
|
-
border: boolean;
|
|
140
|
-
narrow: boolean;
|
|
141
|
-
}>;
|
|
142
|
-
__isFragment?: never;
|
|
143
|
-
__isTeleport?: never;
|
|
144
|
-
__isSuspense?: never;
|
|
145
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
146
|
-
disabled: {
|
|
147
|
-
type: BooleanConstructor;
|
|
148
|
-
default: boolean;
|
|
149
|
-
};
|
|
150
|
-
block: BooleanConstructor;
|
|
151
|
-
loading: BooleanConstructor;
|
|
152
|
-
loadingFill: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
debounce: {
|
|
157
|
-
type: NumberConstructor;
|
|
158
|
-
default: number;
|
|
159
|
-
};
|
|
160
|
-
shape: {
|
|
161
|
-
type: import('vue').PropType<ButtonShape>;
|
|
162
|
-
default: undefined;
|
|
163
|
-
};
|
|
164
|
-
link: {
|
|
165
|
-
type: import('vue').PropType<boolean>;
|
|
166
|
-
default: boolean;
|
|
167
|
-
};
|
|
168
|
-
type: {
|
|
169
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
170
|
-
default: string;
|
|
171
|
-
};
|
|
172
|
-
status: {
|
|
173
|
-
type: import('vue').PropType<ButtonStatus>;
|
|
174
|
-
default: string;
|
|
175
|
-
};
|
|
176
|
-
plain: {
|
|
177
|
-
type: import('vue').PropType<boolean>;
|
|
178
|
-
default: boolean;
|
|
179
|
-
};
|
|
180
|
-
size: {
|
|
181
|
-
type: import('vue').PropType<ButtonSize>;
|
|
182
|
-
default: string;
|
|
183
|
-
};
|
|
184
|
-
border: {
|
|
185
|
-
type: import('vue').PropType<boolean>;
|
|
186
|
-
default: boolean;
|
|
187
|
-
};
|
|
188
|
-
narrow: {
|
|
189
|
-
type: import('vue').PropType<boolean>;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
}>> & Readonly<{
|
|
193
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", {
|
|
195
|
-
type: ButtonTypes;
|
|
196
|
-
size: ButtonSize;
|
|
197
|
-
disabled: boolean;
|
|
198
|
-
link: boolean;
|
|
199
|
-
block: boolean;
|
|
200
|
-
loading: boolean;
|
|
201
|
-
loadingFill: boolean;
|
|
202
|
-
debounce: number;
|
|
203
|
-
shape: ButtonShape;
|
|
204
|
-
status: ButtonStatus;
|
|
205
|
-
plain: boolean;
|
|
206
|
-
border: boolean;
|
|
207
|
-
narrow: boolean;
|
|
208
|
-
}, {}, string, import('vue').SlotsType<{
|
|
209
|
-
default: () => any;
|
|
210
|
-
prefix: () => any;
|
|
211
|
-
suffix: () => any;
|
|
212
|
-
icon: any;
|
|
213
|
-
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
214
|
-
install(app: import('vue').App): void;
|
|
215
|
-
};
|
|
216
|
-
export declare const ButtonGroup: {
|
|
217
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
218
|
-
type: {
|
|
219
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
220
|
-
};
|
|
221
|
-
status: {
|
|
222
|
-
type: import('vue').PropType<import('../../_utils/constant').Status>;
|
|
223
|
-
};
|
|
224
|
-
shape: {
|
|
225
|
-
type: import('vue').PropType<import('../../_utils/constant').BorderShape>;
|
|
226
|
-
};
|
|
227
|
-
size: {
|
|
228
|
-
type: import('vue').PropType<import('../../_utils/constant').Size>;
|
|
229
|
-
};
|
|
230
|
-
disabled: {
|
|
231
|
-
type: BooleanConstructor;
|
|
232
|
-
};
|
|
233
|
-
}>> & Readonly<{}>, {
|
|
234
|
-
className: {
|
|
235
|
-
block: string;
|
|
236
|
-
element: (className: string) => string;
|
|
237
|
-
modifier: (className: string) => string;
|
|
238
|
-
is: (className: string) => string;
|
|
239
|
-
};
|
|
240
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
241
|
-
disabled: boolean;
|
|
242
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
243
|
-
P: {};
|
|
244
|
-
B: {};
|
|
245
|
-
D: {};
|
|
246
|
-
C: {};
|
|
247
|
-
M: {};
|
|
248
|
-
Defaults: {};
|
|
249
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
250
|
-
type: {
|
|
251
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
252
|
-
};
|
|
253
|
-
status: {
|
|
254
|
-
type: import('vue').PropType<import('../../_utils/constant').Status>;
|
|
255
|
-
};
|
|
256
|
-
shape: {
|
|
257
|
-
type: import('vue').PropType<import('../../_utils/constant').BorderShape>;
|
|
258
|
-
};
|
|
259
|
-
size: {
|
|
260
|
-
type: import('vue').PropType<import('../../_utils/constant').Size>;
|
|
261
|
-
};
|
|
262
|
-
disabled: {
|
|
263
|
-
type: BooleanConstructor;
|
|
264
|
-
};
|
|
265
|
-
}>> & Readonly<{}>, {
|
|
266
|
-
className: {
|
|
267
|
-
block: string;
|
|
268
|
-
element: (className: string) => string;
|
|
269
|
-
modifier: (className: string) => string;
|
|
270
|
-
is: (className: string) => string;
|
|
271
|
-
};
|
|
272
|
-
}, {}, {}, {}, {
|
|
273
|
-
disabled: boolean;
|
|
274
|
-
}>;
|
|
275
|
-
__isFragment?: never;
|
|
276
|
-
__isTeleport?: never;
|
|
277
|
-
__isSuspense?: never;
|
|
278
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
279
|
-
type: {
|
|
280
|
-
type: import('vue').PropType<ButtonTypes>;
|
|
281
|
-
};
|
|
282
|
-
status: {
|
|
283
|
-
type: import('vue').PropType<import('../../_utils/constant').Status>;
|
|
284
|
-
};
|
|
285
|
-
shape: {
|
|
286
|
-
type: import('vue').PropType<import('../../_utils/constant').BorderShape>;
|
|
287
|
-
};
|
|
288
|
-
size: {
|
|
289
|
-
type: import('vue').PropType<import('../../_utils/constant').Size>;
|
|
290
|
-
};
|
|
291
|
-
disabled: {
|
|
292
|
-
type: BooleanConstructor;
|
|
293
|
-
};
|
|
294
|
-
}>> & Readonly<{}>, {
|
|
295
|
-
className: {
|
|
296
|
-
block: string;
|
|
297
|
-
element: (className: string) => string;
|
|
298
|
-
modifier: (className: string) => string;
|
|
299
|
-
is: (className: string) => string;
|
|
300
|
-
};
|
|
301
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
302
|
-
disabled: boolean;
|
|
303
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
304
|
-
install(app: import('vue').App): void;
|
|
305
|
-
};
|
|
306
|
-
export type ButtonProps = {
|
|
307
|
-
disabled?: boolean;
|
|
308
|
-
block?: boolean;
|
|
309
|
-
loading?: boolean;
|
|
310
|
-
loadingFill?: boolean;
|
|
311
|
-
debounce?: number;
|
|
312
|
-
shape?: ButtonShape;
|
|
313
|
-
link?: boolean;
|
|
314
|
-
type?: ButtonTypes;
|
|
315
|
-
status?: ButtonStatus;
|
|
316
|
-
plain?: boolean;
|
|
317
|
-
size?: ButtonSize;
|
|
318
|
-
border?: boolean;
|
|
319
|
-
};
|
|
320
|
-
export { Button as default };
|