semi-global.ts 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. import type { AutoCompleteProps } from "../autoComplete";
  2. import type { AvatarProps } from "../avatar";
  3. import type { CascaderProps } from "../cascader";
  4. import type { CollapseReactProps } from "../collapse";
  5. import type { CollapsibleProps } from "../collapsible";
  6. import type { DatePickerProps } from "../datePicker";
  7. import type { DropdownProps } from "../dropdown";
  8. import type { ModalReactProps } from "../modal";
  9. import type { NavProps } from "../navigation";
  10. import type { NoticeReactProps } from "../notification";
  11. import type { OverflowListProps } from "../overflowList";
  12. import type { PopconfirmProps } from "../popconfirm";
  13. import type { PopoverProps } from "../popover";
  14. import type { SelectProps } from "../select";
  15. import type { SideSheetReactProps } from "../sideSheet";
  16. import type { TabsProps } from "../tabs";
  17. import type { TimePickerProps } from "../timePicker";
  18. import type { ToastReactProps } from "../toast";
  19. import type { TooltipProps } from "../tooltip";
  20. import type { MarkdownRenderProps } from "../markdownRender";
  21. import { SpinProps } from "../spin";
  22. class SemiGlobal {
  23. config: {
  24. overrideDefaultProps?: {
  25. // "Anchor"?: Partial<AnchorProps>;
  26. "AutoComplete"?: Partial<AutoCompleteProps<any>>;
  27. "Avatar"?: Partial<AvatarProps>;
  28. "MarkdownRender"?: Partial<MarkdownRenderProps>;
  29. // BackTop?: Partial<BackTopProps>;
  30. // Badge?: Partial<BadgeProps>;
  31. // Banner?: Partial<BannerProps>;
  32. // Breadcrumb?: Partial<BreadcrumbProps>;
  33. // Button?: Partial<ButtonProps>;
  34. // Calendar?: Partial<CalendarProps>;
  35. // Card?: Partial<CardProps>;
  36. // Carousel?: Partial<CarouselProps>;
  37. Cascader?: Partial<CascaderProps>;
  38. // Checkbox?: Partial<CheckboxProps>;
  39. Collapse?: Partial<CollapseReactProps>;
  40. Collapsible?: Partial<CollapsibleProps>;
  41. DatePicker?: Partial<DatePickerProps>;
  42. // Descriptions?: Partial<DescriptionsProps>;
  43. // Divider?: Partial<DividerProps>;
  44. Dropdown?: Partial<DropdownProps>;
  45. // Empty?: Partial<EmptyProps>;
  46. // Form?: Partial<BaseFormProps>;
  47. // Row?: Partial<RowProps>;
  48. // Col?: Partial<ColProps>;
  49. // Highlight?: Partial<HighlightProps>;
  50. // Icon?: Partial<IconProps>;
  51. // Image?: Partial<ImageProps>;
  52. // Input?: Partial<InputProps>;
  53. // InputNumber?: Partial<InputNumberProps>;
  54. // Layout?: Partial<BasicLayoutProps>;
  55. // List?: Partial<ListProps<any>>;
  56. Modal?: Partial<ModalReactProps>;
  57. Navigation?: Partial<NavProps>;
  58. Notification?: Partial<NoticeReactProps>;
  59. OverflowList?: Partial<OverflowListProps>;
  60. // Pagination?: Partial<PaginationProps>;
  61. Popconfirm?: Partial<PopconfirmProps>;
  62. Popover?: Partial<PopoverProps>;
  63. // Progress?: Partial<ProgressProps>;
  64. // Radio?: Partial<RadioProps>;
  65. // Rating?: Partial<RatingProps>;
  66. // ScrollList?: Partial<ScrollListProps>;
  67. Select?: Partial<SelectProps>;
  68. SideSheet?: Partial<SideSheetReactProps>;
  69. // Skeleton?: Partial<SkeletonProps>;
  70. // Slider?: Partial<SliderProps>;
  71. // Space?: Partial<SpaceProps>;
  72. Spin?: Partial<SpinProps>;
  73. // Steps?: Partial<StepsProps>;
  74. // Switch?: Partial<SwitchProps>;
  75. // Table?: Partial<TableProps>;
  76. Tabs?: Partial<TabsProps>;
  77. // Tag?: Partial<TagProps>;
  78. // TagInput?: Partial<TagInputProps>;
  79. // Timeline?: Partial<TimelineProps>;
  80. TimePicker?: Partial<TimePickerProps>;
  81. Toast?: Partial<ToastReactProps>;
  82. Tooltip?: Partial<TooltipProps>
  83. // Transfer?: Partial<TransferProps>;
  84. // Tree?: Partial<TreeProps>;
  85. // TreeSelect?: Partial<TreeSelectProps>;
  86. // Typography?: Partial<BaseTypographyProps>;
  87. // Upload?: Partial<UploadProps>
  88. }
  89. }
  90. = {}
  91. }
  92. export default new SemiGlobal();