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
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { AffixProps } from './affix';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Affix } from './affix';
|
2016-06-24 15:20:48 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { AnchorProps, AnchorLinkProps } from './anchor';
|
2016-10-28 14:02:55 +08:00
|
|
|
export { default as Anchor } from './anchor';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { AutoCompleteProps } from './auto-complete';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as AutoComplete } from './auto-complete';
|
2016-07-25 17:46:45 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { AlertProps } from './alert';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Alert } from './alert';
|
2016-07-14 13:29:50 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { AvatarProps } from './avatar';
|
2017-05-28 14:20:59 +08:00
|
|
|
export { default as Avatar } from './avatar';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { BackTopProps } from './back-top';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as BackTop } from './back-top';
|
2016-07-14 13:29:50 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { BadgeProps } from './badge';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Badge } from './badge';
|
2016-07-14 13:29:50 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { BreadcrumbProps, BreadcrumbItemProps } from './breadcrumb';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Breadcrumb } from './breadcrumb';
|
2016-07-14 13:29:50 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ButtonProps } from './button';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Button } from './button';
|
2016-07-14 13:29:50 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CalendarProps } from './calendar';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Calendar } from './calendar';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CardProps } from './card';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Card } from './card';
|
2016-07-07 20:25:03 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CollapseProps, CollapsePanelProps } from './collapse';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Collapse } from './collapse';
|
2016-07-01 20:52:17 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CarouselProps } from './carousel';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Carousel } from './carousel';
|
2016-07-01 20:52:17 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CascaderProps } from './cascader';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Cascader } from './cascader';
|
2016-07-01 20:52:17 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CheckboxProps, CheckboxOptionType } from './checkbox';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Checkbox } from './checkbox';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ColProps } from './col';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Col } from './col';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { CommentProps } from './comment';
|
2018-10-22 21:20:28 +08:00
|
|
|
export { default as Comment } from './comment';
|
|
|
|
|
2018-11-26 12:06:42 +08:00
|
|
|
export { default as ConfigProvider } from './config-provider';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { DatePickerProps } from './date-picker';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as DatePicker } from './date-picker';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { DescriptionsProps } from './descriptions';
|
2019-05-22 23:22:09 +08:00
|
|
|
export { default as Descriptions } from './descriptions';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { DividerProps } from './divider';
|
2017-08-19 12:39:11 +08:00
|
|
|
export { default as Divider } from './divider';
|
|
|
|
|
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';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Dropdown } from './dropdown';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { DrawerProps } from './drawer';
|
2018-05-23 10:56:37 +08:00
|
|
|
export { default as Drawer } from './drawer';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { EmptyProps } from './empty';
|
2018-12-26 16:01:00 +08:00
|
|
|
export { default as Empty } from './empty';
|
|
|
|
|
2022-06-17 09:51:36 +08:00
|
|
|
export type {
|
|
|
|
FormInstance,
|
|
|
|
FormProps,
|
|
|
|
FormItemProps,
|
|
|
|
FormListFieldData,
|
|
|
|
FormListOperation,
|
|
|
|
Rule as FormRule,
|
|
|
|
} from './form';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Form } from './form';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2020-03-15 20:53:23 +08:00
|
|
|
export { default as Grid } from './grid';
|
|
|
|
|
2022-03-01 14:17:48 +08:00
|
|
|
export type { InputProps, InputRef } from './input';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Input } from './input';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ImageProps } from './image';
|
2020-08-22 22:02:20 +08:00
|
|
|
export { default as Image } from './image';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { InputNumberProps } from './input-number';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as InputNumber } from './input-number';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2022-02-21 13:16:27 +08:00
|
|
|
export type { LayoutProps, SiderProps } from './layout';
|
2016-12-30 21:41:28 +08:00
|
|
|
export { default as Layout } from './layout';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ListProps } from './list';
|
2017-08-09 15:45:08 +08:00
|
|
|
export { default as List } from './list';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ArgsProps as MessageArgsProps } from './message';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as message } from './message';
|
2016-08-10 10:26:42 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { MenuProps, MenuTheme, SubMenuProps, MenuItemProps } from './menu';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Menu } from './menu';
|
2016-08-15 12:00:05 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { MentionProps } from './mentions';
|
2019-05-17 12:05:03 +08:00
|
|
|
export { default as Mentions } from './mentions';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ModalProps, ModalFuncProps } from './modal';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Modal } from './modal';
|
2016-08-15 12:00:05 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { StatisticProps } from './statistic';
|
2019-01-09 20:38:09 +08:00
|
|
|
export { default as Statistic } from './statistic';
|
|
|
|
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as notification } from './notification';
|
2016-08-15 12:00:05 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { PageHeaderProps } from './page-header';
|
2019-03-02 15:51:08 +08:00
|
|
|
export { default as PageHeader } from './page-header';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { PaginationProps } from './pagination';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Pagination } from './pagination';
|
2016-08-15 12:00:05 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { PopconfirmProps } from './popconfirm';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Popconfirm } from './popconfirm';
|
2016-07-25 11:28:43 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { PopoverProps } from './popover';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Popover } from './popover';
|
2016-07-29 14:45:06 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ProgressProps } from './progress';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Progress } from './progress';
|
2016-08-09 15:04:02 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { RadioProps, RadioChangeEvent, RadioGroupProps } from './radio';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Radio } from './radio';
|
2016-08-10 10:26:42 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { RateProps } from './rate';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Rate } from './rate';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { ResultProps } from './result';
|
2019-06-30 20:15:44 +08:00
|
|
|
export { default as Result } from './result';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { RowProps } from './row';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Row } from './row';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2022-06-17 09:52:56 +08:00
|
|
|
export type { SelectProps, RefSelectProps } from './select';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Select } from './select';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2022-04-11 11:13:16 +08:00
|
|
|
export type { SegmentedProps } from './segmented';
|
|
|
|
export { default as Segmented } from './segmented';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { SkeletonProps } from './skeleton';
|
2018-08-22 23:34:36 +08:00
|
|
|
export { default as Skeleton } from './skeleton';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { SliderSingleProps } from './slider';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Slider } from './slider';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { SpaceProps } from './space';
|
2020-03-22 11:38:02 +08:00
|
|
|
export { default as Space } from './space';
|
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { SpinProps } from './spin';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Spin } from './spin';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { StepProps, StepsProps } from './steps';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Steps } from './steps';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { SwitchProps } from './switch';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Switch } from './switch';
|
2016-08-10 09:46:56 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type {
|
|
|
|
TableProps,
|
|
|
|
TablePaginationConfig,
|
|
|
|
ColumnGroupType as TableColumnGroupType,
|
|
|
|
ColumnType as TableColumnType,
|
|
|
|
ColumnProps as TableColumnProps,
|
2021-05-28 10:32:38 +08:00
|
|
|
ColumnsType as TableColumnsType,
|
2021-01-24 23:24:06 +08:00
|
|
|
} from './table';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Table } from './table';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TransferProps } from './transfer';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Transfer } from './transfer';
|
2016-07-01 20:52:17 +08:00
|
|
|
|
2021-05-28 13:26:18 +08:00
|
|
|
export type {
|
|
|
|
TreeProps,
|
|
|
|
AntTreeNodeProps as TreeNodeProps,
|
|
|
|
DataNode as TreeDataNode,
|
|
|
|
} from './tree';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Tree } from './tree';
|
2016-07-09 10:50:51 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TreeSelectProps } from './tree-select';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as TreeSelect } from './tree-select';
|
2016-09-19 10:17:07 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TabsProps, TabPaneProps } from './tabs';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Tabs } from './tabs';
|
2016-07-09 10:52:16 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TagProps, TagType } from './tag';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Tag } from './tag';
|
2016-07-09 10:52:58 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TimePickerProps, TimeRangePickerProps } from './time-picker';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as TimePicker } from './time-picker';
|
2016-07-09 10:53:40 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TimelineProps, TimelineItemProps } from './timeline';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Timeline } from './timeline';
|
2016-07-09 10:53:40 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TooltipProps } from './tooltip';
|
2016-09-28 16:53:02 +08:00
|
|
|
export { default as Tooltip } from './tooltip';
|
2016-07-04 10:31:27 +08:00
|
|
|
|
2021-01-24 23:24:06 +08:00
|
|
|
export type { TypographyProps } from './typography';
|
2019-02-19 11:42:05 +08:00
|
|
|
export { default as Typography } from './typography';
|
|
|
|
|
2022-06-17 21:34:12 +08:00
|
|
|
export type { UploadProps, UploadFile } from './upload';
|
2016-11-03 16:45:13 +08:00
|
|
|
export { default as Upload } from './upload';
|
2017-02-13 14:27:12 +08:00
|
|
|
|
|
|
|
export { default as version } from './version';
|