@@ -12,208 +12,208 @@ if (ENV !== 'production' &&
12
12
}
13
13
/* @remove -on-es-build-end */
14
14
15
- import { default as Affix } from './affix' ;
15
+ import { default as Affix } from './affix'
16
16
17
17
// import { default as Anchor } from './anchor'
18
18
19
- import { default as AutoComplete } from './auto-complete' ;
19
+ import { default as AutoComplete } from './auto-complete'
20
20
21
- import { default as Alert } from './alert' ;
21
+ import { default as Alert } from './alert'
22
22
23
- import { default as Avatar } from './avatar' ;
23
+ import { default as Avatar } from './avatar'
24
24
25
- import { default as BackTop } from './back-top' ;
25
+ import { default as BackTop } from './back-top'
26
26
27
- import { default as Badge } from './badge' ;
27
+ import { default as Badge } from './badge'
28
28
29
- import { default as Breadcrumb } from './breadcrumb' ;
29
+ import { default as Breadcrumb } from './breadcrumb'
30
30
31
- import { default as Button } from './button' ;
31
+ import { default as Button } from './button'
32
32
33
- import { default as Calendar } from './calendar' ;
33
+ import { default as Calendar } from './calendar'
34
34
35
- import { default as Card } from './card' ;
35
+ import { default as Card } from './card'
36
36
37
- import { default as Collapse } from './collapse' ;
37
+ import { default as Collapse } from './collapse'
38
38
39
39
// import { default as Carousel } from './carousel'
40
40
41
- import { default as Cascader } from './cascader' ;
41
+ import { default as Cascader } from './cascader'
42
42
43
- import { default as Checkbox } from './checkbox' ;
43
+ import { default as Checkbox } from './checkbox'
44
44
45
- import { default as Col } from './col' ;
45
+ import { default as Col } from './col'
46
46
47
- import { default as DatePicker } from './date-picker' ;
47
+ import { default as DatePicker } from './date-picker'
48
48
49
- import { default as Divider } from './divider' ;
49
+ import { default as Divider } from './divider'
50
50
51
- import { default as Dropdown } from './dropdown' ;
51
+ import { default as Dropdown } from './dropdown'
52
52
53
53
// import { default as Form } from './form'
54
54
55
- import { default as Icon } from './icon' ;
55
+ import { default as Icon } from './icon'
56
56
57
- import { default as Input } from './input' ;
57
+ import { default as Input } from './input'
58
58
59
- import { default as InputNumber } from './input-number' ;
59
+ import { default as InputNumber } from './input-number'
60
60
61
61
// import { default as Layout } from './layout'
62
62
63
63
// import { default as List } from './list'
64
64
65
- import { default as LocaleProvider } from './locale-provider' ;
65
+ import { default as LocaleProvider } from './locale-provider'
66
66
67
- import { default as message } from './message' ;
67
+ import { default as message } from './message'
68
68
69
- import { default as Menu } from './menu' ;
69
+ import { default as Menu } from './menu'
70
70
71
- import { default as Modal } from './modal' ;
71
+ import { default as Modal } from './modal'
72
72
73
- import { default as notification } from './notification' ;
73
+ import { default as notification } from './notification'
74
74
75
- import { default as Pagination } from './pagination' ;
75
+ import { default as Pagination } from './pagination'
76
76
77
- import { default as Popconfirm } from './popconfirm' ;
77
+ import { default as Popconfirm } from './popconfirm'
78
78
79
- import { default as Popover } from './popover' ;
79
+ import { default as Popover } from './popover'
80
80
81
- import { default as Progress } from './progress' ;
81
+ import { default as Progress } from './progress'
82
82
83
- import { default as Radio } from './radio' ;
83
+ import { default as Radio } from './radio'
84
84
85
- import { default as Rate } from './rate' ;
85
+ import { default as Rate } from './rate'
86
86
87
- import { default as Row } from './row' ;
87
+ import { default as Row } from './row'
88
88
89
- import { default as Select } from './select' ;
89
+ import { default as Select } from './select'
90
90
91
- import { default as Slider } from './slider' ;
91
+ import { default as Slider } from './slider'
92
92
93
- import { default as Spin } from './spin' ;
93
+ import { default as Spin } from './spin'
94
94
95
- import { default as Steps } from './steps' ;
95
+ import { default as Steps } from './steps'
96
96
97
- import { default as Switch } from './switch' ;
97
+ import { default as Switch } from './switch'
98
98
99
- import { default as Table } from './table' ;
99
+ import { default as Table } from './table'
100
100
101
- import { default as Transfer } from './transfer' ;
101
+ import { default as Transfer } from './transfer'
102
102
103
- import { default as Tree } from './tree' ;
103
+ import { default as Tree } from './tree'
104
104
105
105
// import { default as TreeSelect } from './tree-select'
106
106
107
- import tabs , { default as Tabs } from './tabs' ;
107
+ import tabs , { default as Tabs } from './tabs'
108
108
109
- import { default as Tag } from './tag' ;
109
+ import { default as Tag } from './tag'
110
110
111
- import { default as TimePicker } from './time-picker' ;
111
+ import { default as TimePicker } from './time-picker'
112
112
113
- import { default as Timeline } from './timeline' ;
113
+ import { default as Timeline } from './timeline'
114
114
115
- import { default as Tooltip } from './tooltip' ;
115
+ import { default as Tooltip } from './tooltip'
116
116
117
117
// import { default as Mention } from './mention'
118
118
119
- import { default as Upload } from './upload' ;
119
+ import { default as Upload } from './upload'
120
120
121
- import { default as version } from './version' ;
121
+ import { default as version } from './version'
122
122
123
123
const components = [
124
- Affix ,
125
- AutoComplete ,
126
- Alert ,
127
- Avatar ,
128
- BackTop ,
129
- Badge ,
130
- Breadcrumb ,
131
- Breadcrumb . Item ,
132
- Button ,
133
- Button . Group ,
134
- Calendar ,
135
- Card ,
136
- Card . Meta ,
137
- Card . Grid ,
138
- Collapse ,
139
- Collapse . Panel ,
140
- Cascader ,
141
- Checkbox ,
142
- Checkbox . Group ,
143
- Col ,
144
- DatePicker ,
145
- DatePicker . MonthPicker ,
146
- DatePicker . RangePicker ,
147
- DatePicker . WeekPicker ,
148
- Divider ,
149
- Dropdown ,
150
- Dropdown . Button ,
151
- Icon ,
152
- Input ,
153
- Input . Group ,
154
- Input . Search ,
155
- Input . TextArea ,
156
- InputNumber ,
157
- LocaleProvider ,
158
- Menu ,
159
- Menu . Item ,
160
- Menu . SubMenu ,
161
- Menu . Divider ,
162
- Menu . ItemGroup ,
163
- Modal ,
164
- Pagination ,
165
- Popconfirm ,
166
- Popover ,
167
- Progress ,
168
- Radio ,
169
- Radio . Group ,
170
- Radio . Button ,
171
- Rate ,
172
- Row ,
173
- Select ,
174
- Select . Option ,
175
- Select . OptGroup ,
176
- Slider ,
177
- Spin ,
178
- Steps ,
179
- Steps . Step ,
180
- Switch ,
181
- Table ,
182
- Table . Column ,
183
- Table . ColumnGroup ,
184
- Transfer ,
185
- Tree ,
186
- Tree . TreeNode ,
187
- Tabs ,
188
- Tabs . TabPane ,
189
- Tag ,
190
- Tag . CheckableTag ,
191
- TimePicker ,
192
- Timeline ,
193
- Timeline . Item ,
194
- Tooltip ,
195
- Upload ,
196
- Upload . Dragger ,
197
- ] ;
198
-
199
- const install = function ( Vue ) {
124
+ Affix ,
125
+ AutoComplete ,
126
+ Alert ,
127
+ Avatar ,
128
+ BackTop ,
129
+ Badge ,
130
+ Breadcrumb ,
131
+ Breadcrumb . Item ,
132
+ Button ,
133
+ Button . Group ,
134
+ Calendar ,
135
+ Card ,
136
+ Card . Meta ,
137
+ Card . Grid ,
138
+ Collapse ,
139
+ Collapse . Panel ,
140
+ Cascader ,
141
+ Checkbox ,
142
+ Checkbox . Group ,
143
+ Col ,
144
+ DatePicker ,
145
+ DatePicker . MonthPicker ,
146
+ DatePicker . RangePicker ,
147
+ DatePicker . WeekPicker ,
148
+ Divider ,
149
+ Dropdown ,
150
+ Dropdown . Button ,
151
+ Icon ,
152
+ Input ,
153
+ Input . Group ,
154
+ Input . Search ,
155
+ Input . TextArea ,
156
+ InputNumber ,
157
+ LocaleProvider ,
158
+ Menu ,
159
+ Menu . Item ,
160
+ Menu . SubMenu ,
161
+ Menu . Divider ,
162
+ Menu . ItemGroup ,
163
+ Modal ,
164
+ Pagination ,
165
+ Popconfirm ,
166
+ Popover ,
167
+ Progress ,
168
+ Radio ,
169
+ Radio . Group ,
170
+ Radio . Button ,
171
+ Rate ,
172
+ Row ,
173
+ Select ,
174
+ Select . Option ,
175
+ Select . OptGroup ,
176
+ Slider ,
177
+ Spin ,
178
+ Steps ,
179
+ Steps . Step ,
180
+ Switch ,
181
+ Table ,
182
+ Table . Column ,
183
+ Table . ColumnGroup ,
184
+ Transfer ,
185
+ Tree ,
186
+ Tree . TreeNode ,
187
+ Tabs ,
188
+ Tabs . TabPane ,
189
+ Tag ,
190
+ Tag . CheckableTag ,
191
+ TimePicker ,
192
+ Timeline ,
193
+ Timeline . Item ,
194
+ Tooltip ,
195
+ Upload ,
196
+ Upload . Dragger ,
197
+ ]
198
+
199
+ const install = function ( Vue ) {
200
200
components . map ( component => {
201
- Vue . component ( component . name , component ) ;
202
- } ) ;
203
-
204
- Vue . prototype . $message = message ;
205
- Vue . prototype . $notification = notification ;
206
- Vue . prototype . $info = Modal . info ;
207
- Vue . prototype . $success = Modal . success ;
208
- Vue . prototype . $error = Modal . error ;
209
- Vue . prototype . $warning = Modal . warning ;
210
- Vue . prototype . $confirm = Modal . confirm ;
201
+ Vue . component ( component . name , component )
202
+ } )
203
+
204
+ Vue . prototype . $message = message
205
+ Vue . prototype . $notification = notification
206
+ Vue . prototype . $info = Modal . info
207
+ Vue . prototype . $success = Modal . success
208
+ Vue . prototype . $error = Modal . error
209
+ Vue . prototype . $warning = Modal . warning
210
+ Vue . prototype . $confirm = Modal . confirm
211
211
}
212
212
213
213
const antd = {
214
214
version,
215
215
install,
216
- ...components
216
+ ...components ,
217
217
}
218
218
219
- module . exports . default = module . exports = antd ;
219
+ module . exports . default = module . exports = antd
0 commit comments