1
0

semi-global.ts 4.1 KB

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