semi-global.ts 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. class SemiGlobal {
  21. config: {
  22. overrideDefaultProps?: {
  23. // "Anchor"?: Partial<AnchorProps>;
  24. "AutoComplete"?: Partial<AutoCompleteProps<any>>;
  25. "Avatar"?: Partial<AvatarProps>;
  26. // BackTop?: Partial<BackTopProps>;
  27. // Badge?: Partial<BadgeProps>;
  28. // Banner?: Partial<BannerProps>;
  29. // Breadcrumb?: Partial<BreadcrumbProps>;
  30. // Button?: Partial<ButtonProps>;
  31. // Calendar?: Partial<CalendarProps>;
  32. // Card?: Partial<CardProps>;
  33. // Carousel?: Partial<CarouselProps>;
  34. Cascader?: Partial<CascaderProps>;
  35. // Checkbox?: Partial<CheckboxProps>;
  36. Collapse?: Partial<CollapseReactProps>;
  37. Collapsible?: Partial<CollapsibleProps>;
  38. DatePicker?: Partial<DatePickerProps>;
  39. // Descriptions?: Partial<DescriptionsProps>;
  40. // Divider?: Partial<DividerProps>;
  41. Dropdown?: Partial<DropdownProps>;
  42. // Empty?: Partial<EmptyProps>;
  43. // Form?: Partial<BaseFormProps>;
  44. // Row?: Partial<RowProps>;
  45. // Col?: Partial<ColProps>;
  46. // Highlight?: Partial<HighlightProps>;
  47. // Icon?: Partial<IconProps>;
  48. // Image?: Partial<ImageProps>;
  49. // Input?: Partial<InputProps>;
  50. // InputNumber?: Partial<InputNumberProps>;
  51. // Layout?: Partial<BasicLayoutProps>;
  52. // List?: Partial<ListProps<any>>;
  53. Modal?: Partial<ModalReactProps>;
  54. Navigation?: Partial<NavProps>;
  55. Notification?: Partial<NoticeReactProps>;
  56. OverflowList?: Partial<OverflowListProps>;
  57. // Pagination?: Partial<PaginationProps>;
  58. Popconfirm?: Partial<PopconfirmProps>;
  59. Popover?: Partial<PopoverProps>;
  60. // Progress?: Partial<ProgressProps>;
  61. // Radio?: Partial<RadioProps>;
  62. // Rating?: Partial<RatingProps>;
  63. // ScrollList?: Partial<ScrollListProps>;
  64. Select?: Partial<SelectProps>;
  65. SideSheet?: Partial<SideSheetReactProps>;
  66. // Skeleton?: Partial<SkeletonProps>;
  67. // Slider?: Partial<SliderProps>;
  68. // Space?: Partial<SpaceProps>;
  69. // Spin?: Partial<SpinProps>;
  70. // Steps?: Partial<StepsProps>;
  71. // Switch?: Partial<SwitchProps>;
  72. // Table?: Partial<TableProps>;
  73. Tabs?: Partial<TabsProps>;
  74. // Tag?: Partial<TagProps>;
  75. // TagInput?: Partial<TagInputProps>;
  76. // Timeline?: Partial<TimelineProps>;
  77. TimePicker?: Partial<TimePickerProps>;
  78. Toast?: Partial<ToastReactProps>;
  79. Tooltip?: Partial<TooltipProps>
  80. // Transfer?: Partial<TransferProps>;
  81. // Tree?: Partial<TreeProps>;
  82. // TreeSelect?: Partial<TreeSelectProps>;
  83. // Typography?: Partial<BaseTypographyProps>;
  84. // Upload?: Partial<UploadProps>
  85. }
  86. }
  87. = {}
  88. }
  89. export default new SemiGlobal();