c6f21c2f
jingsam
fix ie bug
|
1
|
// es6 polyfill
|
58ff14d7
Sergio Crisostomo
Make date more IE...
|
2
|
import 'core-js/fn/array/find';
|
b0893113
jingsam
add eslint
|
3
|
import 'core-js/fn/array/find-index';
|
c6f21c2f
jingsam
fix ie bug
|
4
|
|
3735e376
jingsam
sort components
|
5
|
import Affix from './components/affix';
|
5d122b37
梁灏
support Alert
|
6
|
import Alert from './components/alert';
|
fed3e09d
梁灏
add AutoComplete ...
|
7
|
import AutoComplete from './components/auto-complete';
|
2c5faf30
梁灏
init Avatar compo...
|
8
|
import Avatar from './components/avatar';
|
1d8f7767
mod
support BackTop t...
|
9
|
import BackTop from './components/back-top';
|
15368be1
梁灏
Support Badge
|
10
|
import Badge from './components/badge';
|
c06e99d0
huixisheng
Support Breadcrumb
|
11
|
import Breadcrumb from './components/breadcrumb';
|
d47ea998
梁灏
support Button an...
|
12
|
import Button from './components/button';
|
a8cb711c
huixisheng
Support Card
|
13
|
import Card from './components/card';
|
bb71140e
梁灏
support Carousel
|
14
|
import Carousel from './components/carousel';
|
47a7f21d
梁灏
support Cascader
|
15
|
import Cascader from './components/cascader';
|
cbe03a12
梁灏
support Checkbox
|
16
|
import Checkbox from './components/checkbox';
|
b2d29401
梁灏
support Circle
|
17
|
import Circle from './components/circle';
|
a190ce84
梁灏
support Collapse
|
18
|
import Collapse from './components/collapse';
|
5a9cda85
梁灏
update ColorPicker
|
19
|
import ColorPicker from './components/color-picker';
|
531cd165
梁灏
support DatePicke...
|
20
|
import DatePicker from './components/date-picker';
|
b1c118d8
梁灏
support Dropdown
|
21
|
import Dropdown from './components/dropdown';
|
257f80f1
梁灏
support Form
|
22
|
import Form from './components/form';
|
d47ea998
梁灏
support Button an...
|
23
|
import Icon from './components/icon';
|
fc7ef072
梁灏
support Input
|
24
|
import Input from './components/input';
|
c97c42ab
梁灏
support InputNumber
|
25
|
import InputNumber from './components/input-number';
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
26
|
import Scroll from './components/scroll';
|
f97e5bb0
梁灏
support LoadingBar
|
27
|
import LoadingBar from './components/loading-bar';
|
fd1582c5
梁灏
support Menu & La...
|
28
|
import Menu from './components/menu';
|
6cadeba4
梁灏
support Message
|
29
|
import Message from './components/message';
|
6259471f
梁灏
support Modal
|
30
|
import Modal from './components/modal';
|
833501a4
梁灏
support Notice
|
31
|
import Notice from './components/notice';
|
87c51597
梁灏
support Page
|
32
|
import Page from './components/page';
|
79288d43
梁灏
support Poptip & ...
|
33
|
import Poptip from './components/poptip';
|
5d08ddf2
梁灏
support Progress ...
|
34
|
import Progress from './components/progress';
|
06322514
梁灏
support Radio
|
35
|
import Radio from './components/radio';
|
6aa72722
huixisheng
Support rate
|
36
|
import Rate from './components/rate';
|
d6f644e1
梁灏
support Tooltip
|
37
|
import Slider from './components/slider';
|
2d43f26b
梁灏
support Spin
|
38
|
import Spin from './components/spin';
|
bd596e7a
huixisheng
support Steps
|
39
|
import Steps from './components/steps';
|
2d5ba278
梁灏
support Switch
|
40
|
import Switch from './components/switch';
|
486d4fda
梁灏
update Table
|
41
|
import Table from './components/table';
|
30510c3d
梁灏
support Tabs
|
42
|
import Tabs from './components/tabs';
|
456daf34
梁灏
support Tag
|
43
|
import Tag from './components/tag';
|
6c9e0282
huixisheng
Support timeline
|
44
|
import Timeline from './components/timeline';
|
531cd165
梁灏
support DatePicke...
|
45
|
import TimePicker from './components/time-picker';
|
d6f644e1
梁灏
support Tooltip
|
46
|
import Tooltip from './components/tooltip';
|
5b19b5f5
梁灏
support Transfer
|
47
|
import Transfer from './components/transfer';
|
cb84e64a
梁灏
update Tree
|
48
|
import Tree from './components/tree';
|
5d08ddf2
梁灏
support Progress ...
|
49
|
import Upload from './components/upload';
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
50
51
|
import {Row, Col} from './components/grid';
import {Select, Option, OptionGroup} from './components/select';
|
b9c1fe77
Sergio Crisostomo
export locale obj...
|
52
53
|
import locale from './locale/index';
import locales from './locale/locales';
|
7fa943eb
梁灏
init
|
54
55
|
const iview = {
|
3735e376
jingsam
sort components
|
56
|
Affix,
|
5d122b37
梁灏
support Alert
|
57
|
Alert,
|
fed3e09d
梁灏
add AutoComplete ...
|
58
|
AutoComplete,
|
2c5faf30
梁灏
init Avatar compo...
|
59
|
Avatar,
|
1d8f7767
mod
support BackTop t...
|
60
|
BackTop,
|
15368be1
梁灏
Support Badge
|
61
|
Badge,
|
c06e99d0
huixisheng
Support Breadcrumb
|
62
63
|
Breadcrumb,
BreadcrumbItem: Breadcrumb.Item,
|
c0b2524d
梁灏
update Table cell...
|
64
|
iButton: Button,
|
d47ea998
梁灏
support Button an...
|
65
66
|
Button,
ButtonGroup: Button.Group,
|
a8cb711c
huixisheng
Support Card
|
67
|
Card,
|
bb71140e
梁灏
support Carousel
|
68
69
|
Carousel,
CarouselItem: Carousel.Item,
|
47a7f21d
梁灏
support Cascader
|
70
|
Cascader,
|
cbe03a12
梁灏
support Checkbox
|
71
72
|
Checkbox,
CheckboxGroup: Checkbox.Group,
|
b2d29401
梁灏
support Circle
|
73
|
iCircle: Circle,
|
5a9cda85
梁灏
update ColorPicker
|
74
75
76
77
|
Col,
iCol: Col,
Collapse,
ColorPicker,
|
531cd165
梁灏
support DatePicke...
|
78
|
DatePicker,
|
b1c118d8
梁灏
support Dropdown
|
79
80
81
|
Dropdown,
DropdownItem: Dropdown.Item,
DropdownMenu: Dropdown.Menu,
|
bf9649f6
梁灏
add Form
|
82
|
Form,
|
257f80f1
梁灏
support Form
|
83
84
|
iForm: Form,
FormItem: Form.Item,
|
d47ea998
梁灏
support Button an...
|
85
|
Icon,
|
fc7ef072
梁灏
support Input
|
86
|
Input,
|
ded95b46
梁灏
fixed #372
|
87
|
iInput: Input,
|
c97c42ab
梁灏
support InputNumber
|
88
|
InputNumber,
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
89
|
Scroll,
|
f97e5bb0
梁灏
support LoadingBar
|
90
|
LoadingBar,
|
fd1582c5
梁灏
support Menu & La...
|
91
|
Menu,
|
ded95b46
梁灏
fixed #372
|
92
|
iMenu: Menu,
|
fd1582c5
梁灏
support Menu & La...
|
93
94
95
|
MenuGroup: Menu.Group,
MenuItem: Menu.Item,
Submenu: Menu.Sub,
|
6cadeba4
梁灏
support Message
|
96
|
Message,
|
6259471f
梁灏
support Modal
|
97
|
Modal,
|
833501a4
梁灏
support Notice
|
98
|
Notice,
|
50168478
young
config(compontent...
|
99
|
Option: Option,
|
4aec6a66
梁灏
support Select
|
100
101
|
iOption: Option,
OptionGroup,
|
87c51597
梁灏
support Page
|
102
|
Page,
|
a190ce84
梁灏
support Collapse
|
103
|
Panel: Collapse.Panel,
|
79288d43
梁灏
support Poptip & ...
|
104
|
Poptip,
|
5d08ddf2
梁灏
support Progress ...
|
105
|
Progress,
|
6ae7b86b
梁灏
fixed #377
|
106
|
iProgress: Progress,
|
06322514
梁灏
support Radio
|
107
108
|
Radio,
RadioGroup: Radio.Group,
|
6aa72722
huixisheng
Support rate
|
109
|
Rate,
|
c755733a
梁灏
support Grid
|
110
|
Row,
|
4a5d5cc9
梁灏
更新几个标签名称
|
111
|
Select,
|
4aec6a66
梁灏
support Select
|
112
|
iSelect: Select,
|
d6f644e1
梁灏
support Tooltip
|
113
|
Slider,
|
2d43f26b
梁灏
support Spin
|
114
|
Spin,
|
bd596e7a
huixisheng
support Steps
|
115
116
|
Step: Steps.Step,
Steps,
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
117
|
// Switch,
|
2d5ba278
梁灏
support Switch
|
118
|
iSwitch: Switch,
|
4a5d5cc9
梁灏
更新几个标签名称
|
119
|
iTable: Table,
|
486d4fda
梁灏
update Table
|
120
|
Table,
|
30510c3d
梁灏
support Tabs
|
121
122
|
Tabs: Tabs,
TabPane: Tabs.Pane,
|
456daf34
梁灏
support Tag
|
123
|
Tag,
|
6c9e0282
huixisheng
Support timeline
|
124
125
|
Timeline,
TimelineItem: Timeline.Item,
|
531cd165
梁灏
support DatePicke...
|
126
|
TimePicker,
|
d6f644e1
梁灏
support Tooltip
|
127
|
Tooltip,
|
5b19b5f5
梁灏
support Transfer
|
128
|
Transfer,
|
34ee7b4a
梁灏
support Tree & ad...
|
129
|
Tree,
|
5d08ddf2
梁灏
support Progress ...
|
130
|
Upload
|
7fa943eb
梁灏
init
|
131
|
};
|
fb189f16
young
cancel the compon...
|
132
|
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
133
|
const install = function(Vue, opts = {}) {
|
d33b5143
梁灏
support i18n
|
134
135
136
|
locale.use(opts.locale);
locale.i18n(opts.i18n);
|
be01f0b4
Sergio Crisostomo
New component: Sc...
|
137
|
Object.keys(iview).forEach(key => {
|
fb189f16
young
cancel the compon...
|
138
|
Vue.component(key, iview[key]);
|
451b52ce
梁灏
Global install iView
|
139
140
|
});
|
f97e5bb0
梁灏
support LoadingBar
|
141
|
Vue.prototype.$Loading = LoadingBar;
|
6cadeba4
梁灏
support Message
|
142
|
Vue.prototype.$Message = Message;
|
6259471f
梁灏
support Modal
|
143
|
Vue.prototype.$Modal = Modal;
|
833501a4
梁灏
support Notice
|
144
|
Vue.prototype.$Notice = Notice;
|
297648f1
梁灏
fixed #1063
|
145
|
Vue.prototype.$Spin = Spin;
|
451b52ce
梁灏
Global install iView
|
146
|
};
|
343abe50
jingsam
add iview.install()
|
147
148
149
150
|
// auto install
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
|
451b52ce
梁灏
Global install iView
|
151
|
}
|
343abe50
jingsam
add iview.install()
|
152
|
|
c7e432f7
梁灏
update export & i18n
|
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
|
module.exports = { // eslint-disable-line no-undef
version: '2.6.0',
locale: locale.use,
i18n: locale.i18n,
install,
locales,
Affix,
Alert,
AutoComplete,
Avatar,
BackTop,
Badge,
Breadcrumb,
BreadcrumbItem: Breadcrumb.Item,
Button,
ButtonGroup: Button.Group,
Card,
Carousel,
CarouselItem: Carousel.Item,
Cascader,
Checkbox,
CheckboxGroup: Checkbox.Group,
Circle,
Col,
Collapse,
ColorPicker,
DatePicker,
Dropdown,
DropdownItem: Dropdown.Item,
DropdownMenu: Dropdown.Menu,
Form,
FormItem: Form.Item,
Icon,
Input,
InputNumber,
Scroll,
LoadingBar,
Menu,
MenuGroup: Menu.Group,
MenuItem: Menu.Item,
Submenu: Menu.Sub,
Message,
Modal,
Notice,
Option: Option,
OptionGroup,
Page,
Panel: Collapse.Panel,
Poptip,
Progress,
Radio,
RadioGroup: Radio.Group,
Rate,
Row,
Select,
Slider,
Spin,
Step: Steps.Step,
Steps,
Switch,
Table,
Tabs: Tabs,
TabPane: Tabs.Pane,
Tag,
Timeline,
TimelineItem: Timeline.Item,
TimePicker,
Tooltip,
Transfer,
Tree,
Upload
};
module.exports.default = module.exports; // eslint-disable-line no-undef
|