ant-design-vue/components/index.js

143 lines
3.6 KiB
JavaScript
Raw Normal View History

2018-03-21 13:16:11 +00: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 10:55:39 +00:00
import Button from './button'
const ButtonGroup = Button.Group
export { Button, ButtonGroup }
2017-10-26 07:18:08 +00:00
2018-01-23 11:00:20 +00:00
import Checkbox from './checkbox'
const CheckboxGroup = Checkbox.Group
export { Checkbox, CheckboxGroup }
2017-10-26 07:18:08 +00:00
export { default as Icon } from './icon'
2017-10-27 06:04:48 +00:00
2018-01-23 10:55:39 +00:00
import Radio from './radio'
const RadioGroup = Radio.Group
const RadioButton = Radio.Button
export { Radio, RadioGroup, RadioButton }
2018-03-08 05:55:49 +00:00
import { Row, Col } from './grid'
export {
Row,
Col,
}
2017-11-01 09:03:42 +00:00
export { default as Rate } from './rate'
2018-01-11 10:53:51 +00:00
export { default as Tooltip } from './tooltip'
2017-11-06 09:46:08 +00:00
2017-11-07 03:57:16 +00:00
export { default as Pagination } from './pagination'
2017-11-07 04:02:33 +00:00
2018-03-22 14:17:35 +00:00
import Tag from './tag'
const CheckableTag = Tag.CheckableTag
export {
Tag,
CheckableTag,
}
2017-11-09 10:57:34 +00:00
export { default as Avatar } from './avatar'
2017-11-16 10:29:02 +00:00
export { default as Badge } from './badge'
2017-11-21 11:15:41 +00:00
2018-03-22 14:17:35 +00:00
import Tabs from './tabs'
const TabPane = Tabs.TabPane
export {
Tabs,
TabPane,
}
2017-12-06 10:54:20 +00:00
2018-02-28 11:07:04 +00: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 11:07:04 +00:00
export { Input, InputGroup, InputSearch, InputTextArea, Textarea, TextArea }
2018-01-15 02:52:16 +00:00
2018-03-10 05:34:26 +00:00
import Breadcrumb from './breadcrumb'
const BreadcrumbItem = Breadcrumb.Item
export { Breadcrumb, BreadcrumbItem }
2018-01-15 02:57:10 +00:00
2018-01-12 08:10:41 +00:00
export { default as Popover } from './popover'
2018-01-12 11:04:42 +00:00
export { default as Popconfirm } from './popconfirm'
2018-01-16 11:15:07 +00:00
2018-01-29 10:57:20 +00: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 06:33:42 +00:00
export { default as Card } from './card'
2018-01-29 10:57:20 +00:00
import Dropdown from './dropdown'
const DropdownButton = Dropdown.Button
export { Dropdown, DropdownButton }
2018-01-30 10:22:41 +00:00
export { default as Divider } from './divider'
2018-02-01 10:18:05 +00:00
import Collapse from './collapse'
const CollapsePanel = Collapse.Panel
export { Collapse, CollapsePanel }
2018-02-06 07:21:13 +00:00
import notification from './notification'
2018-02-06 08:43:59 +00:00
import message from './message'
2018-02-06 07:21:13 +00:00
2018-02-09 09:09:50 +00:00
export { default as Spin } from './spin'
2018-02-24 11:53:21 +00:00
import Select from './select'
const SelectOption = Select.Option
const SelectOptGroup = Select.OptGroup
export { Select, SelectOption, SelectOptGroup }
2018-02-27 04:14:29 +00:00
export { default as Switch } from './switch'
2018-02-27 04:17:53 +00:00
export { default as LocaleProvider } from './locale-provider'
2018-02-28 11:07:04 +00:00
export { default as AutoComplete } from './auto-complete'
2018-03-02 08:54:22 +00:00
export { default as Affix } from './affix'
2018-03-03 11:14:03 +00:00
export { default as Cascader } from './cascader'
2018-03-05 11:05:23 +00:00
export { default as BackTop } from './back-top'
2018-03-06 11:14:41 +00:00
export { default as Modal } from './modal'
2018-03-07 13:36:15 +00:00
export { default as Alert } from './alert'
2018-03-08 15:02:04 +00:00
export { default as TimePicker } from './time-picker'
2018-03-03 11:14:03 +00:00
2018-03-20 13:48:01 +00:00
export { notification, message }
2018-03-09 10:52:31 +00:00
import Steps from './steps'
const { Step } = Steps
export { Steps, Step }
2018-03-14 14:00:43 +00:00
export { default as Calendar } from './calendar'
2018-03-17 13:38:29 +00:00
import DatePicker from './date-picker'
const { MonthPicker, RangePicker, WeekPicker } = DatePicker
export { DatePicker, MonthPicker, RangePicker, WeekPicker }
2018-03-21 13:16:11 +00:00
2018-03-31 13:11:02 +00:00
import Table from './table'
const { Column: TableColumn, ColumnGroup: TableColumnGroup } = Table
export { Table, TableColumn, TableColumnGroup }
2018-03-21 13:16:11 +00:00
export { default as version } from './version'
2018-04-01 11:23:56 +00:00
export { default as Slider } from './slider'