2017-09-11 11:58:38 +08:00
|
|
|
/* @remove-on-es-build-begin */
|
2016-10-31 12:09:06 +08:00
|
|
|
// this file is not used if use https://github.com/ant-design/babel-plugin-import
|
2017-03-20 15:34:34 +08:00
|
|
|
const ENV = process.env.NODE_ENV;
|
2018-12-07 20:02:01 +08:00
|
|
|
if (
|
|
|
|
ENV !== 'production' &&
|
2018-07-18 17:35:39 +08:00
|
|
|
ENV !== 'test' &&
|
|
|
|
typeof console !== 'undefined' &&
|
2019-08-14 18:21:24 +08:00
|
|
|
console.warn && // eslint-disable-line no-console
|
2018-12-07 20:02:01 +08:00
|
|
|
typeof window !== 'undefined'
|
|
|
|
) {
|
2019-08-14 18:21:24 +08:00
|
|
|
// eslint-disable-next-line no-console
|
2017-03-29 15:47:31 +08:00
|
|
|
console.warn(
|
|
|
|
'You are using a whole package of antd, ' +
|
2018-12-07 20:02:01 +08:00
|
|
|
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
|
2017-03-20 15:34:34 +08:00
|
|
|
);
|
2016-10-31 12:09:06 +08:00
|
|
|
}
|
2017-09-11 11:58:38 +08:00
|
|
|
/* @remove-on-es-build-end */
|
2016-10-31 12:09:06 +08:00
|
|
|
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Affix } from './affix';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { AffixProps } from './affix';
|
|
|
|
export { default as Alert } from './alert';
|
|
|
|
export type { AlertProps } from './alert';
|
2016-10-28 14:02:55 +08:00
|
|
|
export { default as Anchor } from './anchor';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { AnchorLinkProps, AnchorProps } from './anchor';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as AutoComplete } from './auto-complete';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { AutoCompleteProps } from './auto-complete';
|
2017-05-28 14:20:59 +08:00
|
|
|
export { default as Avatar } from './avatar';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { AvatarProps } from './avatar';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as BackTop } from './back-top';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { BackTopProps } from './back-top';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Badge } from './badge';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { BadgeProps } from './badge';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Breadcrumb } from './breadcrumb';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Button } from './button';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ButtonProps } from './button';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Calendar } from './calendar';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { CalendarProps } from './calendar';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Card } from './card';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { CardProps } from './card';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Carousel } from './carousel';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { CarouselProps } from './carousel';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Cascader } from './cascader';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { CascaderProps } from './cascader';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Checkbox } from './checkbox';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { CheckboxOptionType, CheckboxProps } from './checkbox';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Col } from './col';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ColProps } from './col';
|
|
|
|
export { default as Collapse } from './collapse';
|
|
|
|
export type { CollapsePanelProps, CollapseProps } from './collapse';
|
2018-11-26 12:06:42 +08:00
|
|
|
export { default as ConfigProvider } from './config-provider';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as DatePicker } from './date-picker';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { DatePickerProps } from './date-picker';
|
2019-05-22 23:22:09 +08:00
|
|
|
export { default as Descriptions } from './descriptions';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { DescriptionsProps } from './descriptions';
|
2017-08-19 12:39:11 +08:00
|
|
|
export { default as Divider } from './divider';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { DividerProps } from './divider';
|
|
|
|
export { default as Drawer } from './drawer';
|
|
|
|
export type { DrawerProps } from './drawer';
|
|
|
|
export { default as Dropdown } from './dropdown';
|
2022-04-21 22:09:59 +08:00
|
|
|
export type {
|
|
|
|
DropdownProps,
|
|
|
|
// typo, but we need to support it for backwards compatibility
|
|
|
|
// https://github.com/ant-design/ant-design/pull/35161
|
|
|
|
DropdownProps as DropDownProps,
|
|
|
|
} from './dropdown';
|
2018-12-26 16:01:00 +08:00
|
|
|
export { default as Empty } from './empty';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { EmptyProps } from './empty';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Form } from './form';
|
2022-06-17 09:51:36 +08:00
|
|
|
export type {
|
|
|
|
FormInstance,
|
|
|
|
FormItemProps,
|
|
|
|
FormListFieldData,
|
|
|
|
FormListOperation,
|
2022-06-21 19:40:22 +08:00
|
|
|
FormProps,
|
2022-06-17 09:51:36 +08:00
|
|
|
Rule as FormRule,
|
|
|
|
} from './form';
|
2020-03-15 20:53:23 +08:00
|
|
|
export { default as Grid } from './grid';
|
2020-08-22 22:02:20 +08:00
|
|
|
export { default as Image } from './image';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ImageProps } from './image';
|
|
|
|
export { default as Input } from './input';
|
|
|
|
export type { InputProps, InputRef } from './input';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as InputNumber } from './input-number';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { InputNumberProps } from './input-number';
|
2016-12-30 21:41:28 +08:00
|
|
|
export { default as Layout } from './layout';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { LayoutProps, SiderProps } from './layout';
|
2017-08-09 15:45:08 +08:00
|
|
|
export { default as List } from './list';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ListProps } from './list';
|
2019-05-17 12:05:03 +08:00
|
|
|
export { default as Mentions } from './mentions';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { MentionProps } from './mentions';
|
|
|
|
export { default as Menu } from './menu';
|
|
|
|
export type { MenuItemProps, MenuProps, MenuTheme, SubMenuProps } from './menu';
|
|
|
|
export { default as message } from './message';
|
|
|
|
export type { ArgsProps as MessageArgsProps } from './message';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Modal } from './modal';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ModalFuncProps, ModalProps } from './modal';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as notification } from './notification';
|
|
|
|
export { default as Pagination } from './pagination';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { PaginationProps } from './pagination';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Popconfirm } from './popconfirm';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { PopconfirmProps } from './popconfirm';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Popover } from './popover';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { PopoverProps } from './popover';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Progress } from './progress';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ProgressProps } from './progress';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Radio } from './radio';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { RadioChangeEvent, RadioGroupProps, RadioProps } from './radio';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Rate } from './rate';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { RateProps } from './rate';
|
2019-06-30 20:15:44 +08:00
|
|
|
export { default as Result } from './result';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { ResultProps } from './result';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Row } from './row';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { RowProps } from './row';
|
2022-04-11 11:13:16 +08:00
|
|
|
export { default as Segmented } from './segmented';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SegmentedProps } from './segmented';
|
|
|
|
export { default as Select } from './select';
|
|
|
|
export type { RefSelectProps, SelectProps } from './select';
|
2018-08-22 23:34:36 +08:00
|
|
|
export { default as Skeleton } from './skeleton';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SkeletonProps } from './skeleton';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Slider } from './slider';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SliderSingleProps } from './slider';
|
2020-03-22 11:38:02 +08:00
|
|
|
export { default as Space } from './space';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SpaceProps } from './space';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Spin } from './spin';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SpinProps } from './spin';
|
|
|
|
export { default as Statistic } from './statistic';
|
|
|
|
export type { StatisticProps } from './statistic';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Steps } from './steps';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { StepProps, StepsProps } from './steps';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Switch } from './switch';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { SwitchProps } from './switch';
|
|
|
|
export { default as Table } from './table';
|
2021-01-24 23:24:06 +08:00
|
|
|
export type {
|
|
|
|
ColumnGroupType as TableColumnGroupType,
|
|
|
|
ColumnProps as TableColumnProps,
|
2021-05-28 10:32:38 +08:00
|
|
|
ColumnsType as TableColumnsType,
|
2022-06-21 19:40:22 +08:00
|
|
|
ColumnType as TableColumnType,
|
|
|
|
TablePaginationConfig,
|
|
|
|
TableProps,
|
2021-01-24 23:24:06 +08:00
|
|
|
} from './table';
|
2022-06-21 19:40:22 +08:00
|
|
|
export { default as Tabs } from './tabs';
|
|
|
|
export type { TabPaneProps, TabsProps } from './tabs';
|
|
|
|
export { default as Tag } from './tag';
|
|
|
|
export type { TagProps, TagType } from './tag';
|
2022-06-29 20:34:00 +08:00
|
|
|
export { default as theme } from './theme/export';
|
2022-06-21 19:40:22 +08:00
|
|
|
export { default as TimePicker } from './time-picker';
|
|
|
|
export type { TimePickerProps, TimeRangePickerProps } from './time-picker';
|
|
|
|
export { default as Timeline } from './timeline';
|
|
|
|
export type { TimelineItemProps, TimelineProps } from './timeline';
|
|
|
|
export { default as Tooltip } from './tooltip';
|
|
|
|
export type { TooltipProps } from './tooltip';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Transfer } from './transfer';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { TransferProps } from './transfer';
|
|
|
|
export { default as Tree } from './tree';
|
2021-05-28 13:26:18 +08:00
|
|
|
export type {
|
|
|
|
AntTreeNodeProps as TreeNodeProps,
|
|
|
|
DataNode as TreeDataNode,
|
2022-06-21 19:40:22 +08:00
|
|
|
TreeProps,
|
2021-05-28 13:26:18 +08:00
|
|
|
} from './tree';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as TreeSelect } from './tree-select';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { TreeSelectProps } from './tree-select';
|
2019-02-19 11:42:05 +08:00
|
|
|
export { default as Typography } from './typography';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { TypographyProps } from './typography';
|
2016-11-03 16:45:13 +08:00
|
|
|
export { default as Upload } from './upload';
|
2022-06-21 19:40:22 +08:00
|
|
|
export type { UploadFile, UploadProps } from './upload';
|
2017-02-13 14:27:12 +08:00
|
|
|
export { default as version } from './version';
|