forked from vueComponent/ant-design-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.js
349 lines (349 loc) · 6.61 KB
/
demo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
export default {
avatar: {
category: 'Components',
subtitle: '头像',
type: 'Data Display',
title: 'Avatar',
},
badge: {
category: 'Components',
subtitle: '徽标数',
type: 'Data Display',
title: 'Badge',
},
comment: {
category: 'Components',
subtitle: '评论',
type: 'Data Display',
title: 'Comment',
},
configProvider: {
category: 'Components',
subtitle: '全局化配置',
type: 'Other',
title: 'ConfigProvider',
},
breadcrumb: {
category: 'Components',
subtitle: '面包屑',
type: 'Navigation',
title: 'Breadcrumb',
},
button: {
category: 'Components',
subtitle: '按钮',
type: 'General',
title: 'Button',
},
card: {
category: 'Components',
subtitle: '卡片',
type: 'Data Display',
title: 'Card',
cols: 1,
},
checkbox: {
category: 'Components',
subtitle: '多选框',
type: 'Data Entry',
title: 'Checkbox',
},
grid: {
category: 'Components',
subtitle: '栅格',
type: 'Layout',
title: 'Grid',
cols: 1,
},
icon: {
category: 'Components',
subtitle: '图标',
type: 'General',
title: 'Icon',
},
input: {
category: 'Components',
subtitle: '输入框',
type: 'Data Entry',
title: 'Input',
},
select: {
category: 'Components',
subtitle: '选择器',
type: 'Data Entry',
title: 'Select',
},
menu: {
category: 'Components',
subtitle: '导航菜单',
type: 'Navigation',
title: 'Menu',
cols: 1,
},
pagination: {
category: 'Components',
subtitle: '分页',
type: 'Navigation',
title: 'Pagination',
cols: 1,
},
popconfirm: {
category: 'Components',
subtitle: '气泡确认框',
type: 'Feedback',
title: 'Popconfirm',
},
popover: {
category: 'Components',
subtitle: '气泡卡片',
type: 'Data Display',
title: 'Popover',
},
radio: {
category: 'Components',
subtitle: '单选框',
type: 'Data Entry',
title: 'Radio',
},
rate: {
category: 'Components',
subtitle: '评分',
type: 'Data Entry',
title: 'Rate',
cols: 1,
},
tabs: {
category: 'Components',
subtitle: '标签页',
type: 'Data Display',
title: 'Tabs',
cols: 1,
},
tag: {
category: 'Components',
subtitle: '标签',
type: 'Data Display',
title: 'Tag',
},
tooltip: {
category: 'Components',
subtitle: '文字提示',
type: 'Data Display',
title: 'Tooltip',
},
dropdown: {
category: 'Components',
subtitle: '下拉菜单',
type: 'Navigation',
title: 'Dropdown',
},
divider: {
category: 'Components',
subtitle: '分割线',
type: 'Other',
title: 'Divider',
},
collapse: {
category: 'Components',
subtitle: '折叠面板',
type: 'Data Display',
title: 'Collapse',
cols: 1,
},
notification: {
category: 'Components',
subtitle: '通知提醒框',
type: 'Feedback',
title: 'Notification',
},
message: {
category: 'Components',
subtitle: '全局提示',
type: 'Feedback',
title: 'Message',
},
spin: {
category: 'Components',
subtitle: '加载中',
type: 'Feedback',
title: 'Spin',
},
switch: {
category: 'Components',
subtitle: '开关',
type: 'Data Entry',
title: 'Switch',
},
autoComplete: {
category: 'Components',
subtitle: '自动完成',
type: 'Data Entry',
title: 'AutoComplete',
cols: 2,
},
affix: {
category: 'Components',
subtitle: '固钉',
type: 'Navigation',
title: 'Affix',
},
cascader: {
category: 'Components',
subtitle: '级联选择',
type: 'Data Entry',
title: 'Cascader',
},
backTop: {
category: 'Components',
subtitle: '回到顶部',
type: 'Other',
title: 'BackTop',
},
modal: {
category: 'Components',
subtitle: '对话框',
type: 'Feedback',
title: 'Modal',
},
alert: {
category: 'Components',
subtitle: '警告提示',
type: 'Feedback',
title: 'Alert',
},
timePicker: {
category: 'Components',
subtitle: '时间选择框',
type: 'Data Entry',
title: 'TimePicker',
},
steps: {
category: 'Components',
subtitle: '步骤条',
type: 'Navigation',
title: 'Steps',
cols: 1,
},
calendar: {
category: 'Components',
subtitle: '日历',
type: 'Data Display',
title: 'Calendar',
cols: 1,
},
datePicker: {
category: 'Components',
subtitle: '日期选择框',
type: 'Data Entry',
title: 'DatePicker',
},
localeProvider: {
category: 'Components',
subtitle: '国际化',
type: 'Other',
title: 'LocaleProvider',
cols: 1,
},
slider: {
category: 'Components',
subtitle: '滑动输入条',
type: 'Data Entry',
title: 'Slider',
},
progress: {
category: 'Components',
subtitle: '进度条',
type: 'Feedback',
title: 'Progress',
},
timeline: {
category: 'Components',
subtitle: '时间轴',
type: 'Data Display',
title: 'Timeline',
},
table: {
category: 'Components',
subtitle: '表格',
type: 'Data Display',
title: 'Table',
cols: 1,
},
inputNumber: {
category: 'Components',
subtitle: '数字输入框',
type: 'Data Entry',
title: 'InputNumber',
},
transfer: {
category: 'Components',
subtitle: '穿梭框',
type: 'Data Entry',
title: 'Transfer',
cols: '1',
},
upload: {
category: 'Components',
subtitle: '上传',
type: 'Data Entry',
title: 'Upload',
},
carousel: {
category: 'Components',
type: 'Data Display',
title: 'Carousel',
subtitle: '走马灯',
},
tree: {
category: 'Components',
subtitle: '树形控件',
type: 'Data Display',
title: 'Tree',
},
treeSelect: {
category: 'Components',
subtitle: '树选择',
type: 'Data Entry',
title: 'TreeSelect',
},
layout: {
category: 'Components',
subtitle: '布局',
type: 'Layout',
title: 'Layout',
cols: 1,
},
form: {
category: 'Components',
subtitle: '表单',
type: 'Data Entry',
title: 'Form',
cols: 1,
},
anchor: {
category: 'Components',
subtitle: '锚点',
type: 'Other',
title: 'Anchor',
cols: 2,
},
list: {
category: 'Components',
subtitle: '列表',
type: 'Data Display',
title: 'List',
cols: 1,
},
drawer: {
category: 'Components',
type: 'Feedback',
title: 'Drawer',
subtitle: '抽屉',
},
skeleton: {
category: 'Components',
type: 'Feedback',
title: 'Skeleton',
subtitle: '骨架屏',
},
};