ant-design-vue/components/index.js

138 lines
3.4 KiB
JavaScript
Raw Normal View History

2018-03-21 21:16:11 +08:00
/* @remove-on-es-build-begin */
// this file is not used if use https://github.com/ant-design/babel-plugin-import
const ENV = process.env.NODE_ENV
if (ENV !== 'production' &&
ENV !== 'test' &&
typeof console !== 'undefined' &&
console.warn &&
typeof window !== 'undefined') {
console.warn(
'You are using a whole package of antd, ' +
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
)
}
/* @remove-on-es-build-end */
2018-01-23 18:55:39 +08:00
import Button from './button'
const ButtonGroup = Button.Group
export { Button, ButtonGroup }
2017-10-26 15:18:08 +08:00
2018-01-23 19:00:20 +08:00
import Checkbox from './checkbox'
const CheckboxGroup = Checkbox.Group
export { Checkbox, CheckboxGroup }
2017-10-26 15:18:08 +08:00
export { default as Icon } from './icon'
2017-10-27 14:04:48 +08:00
2018-01-23 18:55:39 +08:00
import Radio from './radio'
const RadioGroup = Radio.Group
const RadioButton = Radio.Button
export { Radio, RadioGroup, RadioButton }
2018-03-08 13:55:49 +08:00
import { Row, Col } from './grid'
export {
Row,
Col,
}
2017-11-01 17:03:42 +08:00
export { default as Rate } from './rate'
2018-01-11 18:53:51 +08:00
export { default as Tooltip } from './tooltip'
2017-11-06 17:46:08 +08:00
2017-11-07 11:57:16 +08:00
export { default as Pagination } from './pagination'
2017-11-07 12:02:33 +08:00
2018-03-22 22:17:35 +08:00
import Tag from './tag'
const CheckableTag = Tag.CheckableTag
export {
Tag,
CheckableTag,
}
2017-11-09 18:57:34 +08:00
export { default as Avatar } from './avatar'
2017-11-16 18:29:02 +08:00
export { default as Badge } from './badge'
2017-11-21 19:15:41 +08:00
2018-03-22 22:17:35 +08:00
import Tabs from './tabs'
const TabPane = Tabs.TabPane
export {
Tabs,
TabPane,
}
2017-12-06 18:54:20 +08:00
2018-02-28 19:07:04 +08:00
import Input from './input'
const InputGroup = Input.Group
const InputSearch = Input.Search
const InputTextArea = Input.TextArea
const Textarea = InputTextArea
const TextArea = InputTextArea
2018-02-28 19:07:04 +08:00
export { Input, InputGroup, InputSearch, InputTextArea, Textarea, TextArea }
2018-01-15 10:52:16 +08:00
2018-03-10 13:34:26 +08:00
import Breadcrumb from './breadcrumb'
const BreadcrumbItem = Breadcrumb.Item
export { Breadcrumb, BreadcrumbItem }
2018-01-15 10:57:10 +08:00
2018-01-12 16:10:41 +08:00
export { default as Popover } from './popover'
2018-01-12 19:04:42 +08:00
export { default as Popconfirm } from './popconfirm'
2018-01-16 19:15:07 +08:00
2018-01-29 18:57:20 +08:00
import Menu from './menu'
const MenuItem = Menu.Item
const SubMenu = Menu.SubMenu
const MenuDivider = Menu.Divider
const MenuItemGroup = Menu.ItemGroup
export { Menu, MenuItem, SubMenu, MenuDivider, MenuItemGroup }
2018-01-20 14:33:42 +08:00
export { default as Card } from './card'
2018-01-29 18:57:20 +08:00
import Dropdown from './dropdown'
const DropdownButton = Dropdown.Button
export { Dropdown, DropdownButton }
2018-01-30 18:22:41 +08:00
export { default as Divider } from './divider'
2018-02-01 18:18:05 +08:00
import Collapse from './collapse'
const CollapsePanel = Collapse.Panel
export { Collapse, CollapsePanel }
2018-02-06 15:21:13 +08:00
import notification from './notification'
2018-02-06 16:43:59 +08:00
import message from './message'
2018-02-06 15:21:13 +08:00
2018-02-09 17:09:50 +08:00
export { default as Spin } from './spin'
2018-02-24 19:53:21 +08:00
import Select from './select'
const SelectOption = Select.Option
const SelectOptGroup = Select.OptGroup
export { Select, SelectOption, SelectOptGroup }
2018-02-27 12:14:29 +08:00
export { default as Switch } from './switch'
2018-02-27 12:17:53 +08:00
export { default as LocaleProvider } from './locale-provider'
2018-02-28 19:07:04 +08:00
export { default as AutoComplete } from './auto-complete'
2018-03-02 16:54:22 +08:00
export { default as Affix } from './affix'
2018-03-03 19:14:03 +08:00
export { default as Cascader } from './cascader'
2018-03-05 19:05:23 +08:00
export { default as BackTop } from './back-top'
2018-03-06 19:14:41 +08:00
export { default as Modal } from './modal'
2018-03-07 21:36:15 +08:00
export { default as Alert } from './alert'
2018-03-08 23:02:04 +08:00
export { default as TimePicker } from './time-picker'
2018-03-03 19:14:03 +08:00
2018-03-20 21:48:01 +08:00
export { notification, message }
2018-03-09 18:52:31 +08:00
import Steps from './steps'
const { Step } = Steps
export { Steps, Step }
2018-03-14 22:00:43 +08:00
export { default as Calendar } from './calendar'
2018-03-17 21:38:29 +08:00
import DatePicker from './date-picker'
const { MonthPicker, RangePicker, WeekPicker } = DatePicker
export { DatePicker, MonthPicker, RangePicker, WeekPicker }
2018-03-21 21:16:11 +08:00
export { default as version } from './version'
2018-04-01 19:23:56 +08:00
export { default as Slider } from './slider'