import * as React from 'react'; /** * 组件默认属性,所有组件的默认属性都在这里写, * 而不是在组件文件中以“componentName.defaultProps”的方式去写 * componentName: defaultPropsObj * (用于处理用户自定义默认属性) */ declare const compDefaultProps: { Alert: { type: string; showIcon: boolean; closable: boolean; delayOffTime: number; banner: boolean; bannerOffset: number[]; }; Breadcrumb: { colorModel: string; separator: string; }; Button: { type: string; iconPlace: string; size: string; bordered: boolean; }; ButtonGroup: { buttonType: string; type: string; size: string; }; Card: { hoverable: boolean; selectable: boolean; }; Carousel: { autoplay: boolean; dotPosition: string; dots: boolean; easing: string; effect: string; intervalTime: number; }; Cascader: { mode: string; allowClear: boolean; expandTrigger: string; notFoundContent: string; dropdownRender: (menus: React.ReactNode) => React.ReactNode; displayRender: (labels: string[]) => string; fieldNames: { label: string; value: string; children: string; }; }; Col: {}; Collapse: { accordion: boolean; expandIconPosition: string; bordered: boolean; }; CollapsePanel: { disabled: boolean; }; ColorPicker: { borderType: string; defaultOpen: boolean; functionalColorName: string; switchName: { name: string; internationalName: string; }; placeholder: string; scrollHidden: boolean; pure: boolean; showAlphaInput: boolean; showClear: boolean; showColorTransfer: boolean; showPresetColor: boolean; showColorPickerBox: { showBox: boolean; showHue: boolean; showOpacity: boolean; }; format: string; panelFormatConfig: { show: string[]; default: string; }; }; Checkbox: { defaultChecked: boolean; checkboxType: string; indeterminate: boolean; disabled: boolean; size: string; }; CheckboxGroup: { checkboxType: string; disabled: boolean; }; Dropdown: { arrow: boolean; placement: string; trigger: string; }; DropdownItem: {}; DropdownMenu: {}; DatePicker: { allowClear: boolean; autoFocus: boolean; borderType: string; disabled: boolean; inputReadOnly: boolean; picker: string; popupStyle: {}; size: string; showToday: boolean; style: {}; showArrow: boolean; defaultOpen: boolean; showWeeksTitle: boolean; yearItemNumber: number; hourStep: number; minuteStep: number; secondStep: number; }; Divider: { orientation: string; orientationMargin: string; type: string; borderStyle: string; }; Drawer: { closable: boolean; destroyOnClose: boolean; forceRender: boolean; getContainer: HTMLElement; keyboard: boolean; mask: boolean; maskClosable: boolean; placement: string; width: number; zIndex: number; disableScroll: boolean; }; Empty: {}; Filter: { fields: never[]; schemes: never[]; defaultTabKey: string; }; Form: { layout: string; labelAlign: string; size: string; }; Icon: {}; Input: { type: string; size: string; borderType: string; }; Select: { size: string; borderType: string; mode: string; defaultOpen: boolean; showArrow: boolean; filterOption: boolean; optionLabelProp: string; optionFilterProp: string; }; Image: { preview: boolean; scales: number[]; }; InputNumber: { type: string; size: string; borderType: string; minMark: string; maxMark: string; zeroShow: boolean; showDecimalTailZero: boolean; mask: string; mustInScope: boolean; mustInPrecisionScope: boolean; numberMode: boolean; }; Layout: {}; Modal: { type: string; keyboard: boolean; mask: boolean; maskClosable: boolean; closable: boolean; getContainer: HTMLElement; footerBtnOrder: string; width: number; height: number; focusTriggerAfterClose: boolean; destroyOnClose: boolean; draggable: boolean; cancelButtonProps: {}; okButtonProps: {}; showline: boolean; overroll: boolean; resizable: boolean; }; Menu: { mode: string; inlineIndent: number; forceSubMenuRender: boolean; triggerSubMenuAction: string; theme: string; collapsed: boolean; }; MenuItem: { disabled: boolean; }; MenuSubMenu: { disabled: boolean; popupOffset: number[]; }; Message: { closable: boolean; duration: number; }; Notice: {}; Notification: {}; Pagination: { total: number; pageType: string; defaultCurrent: number; defaultPageSize: number; pageSizeOptions: number[]; showTitle: boolean; bordered: boolean; hideOnSinglePage: boolean; }; Popconfirm: { icon: boolean; placement: string; trigger: string; okType: string; }; Progress: { type: string; trailColor: string; percent: number; showInfo: boolean; infoPosition: string; trailWidth: number; strokeWidth: number; }; Radio: { defaultChecked: boolean; disabled: boolean; }; RadioGroup: {}; Rate: { allowHalf: boolean; icon: () => JSX.Element; count: number; defaultValue: number; disabled: boolean; size: string; }; RangePicker: { order: boolean; allowClear: boolean; autoFocus: boolean; allowEmpty: boolean[]; borderType: string; disabled: boolean; inputReadOnly: boolean; picker: string; separator: string; popupStyle: {}; size: string; showArrow: boolean; defaultOpen: boolean; showWeeksTitle: boolean; hourStep: number; minuteStep: number; secondStep: number; }; Row: { align: string; gutter: number; justify: string; wrap: boolean; }; Switch: { size: string; defaultChecked: boolean; disabled: boolean; loading: boolean; }; Steps: { direction: string; initial: number; labelPlacement: string; }; Space: { direction: string; size: string; align: string; }; SplitPanel: { defaultSplit: number; mode: string; min: number; max: number; canFold: boolean; }; Spin: { type: string; spinning: boolean; }; TextArea: { size: string; defaultValue: string; autoSize: boolean; canResize: boolean; borderType: string; disabled: boolean; count: boolean; countPosition: string; maxLength: number; }; Timeline: { reverse: boolean; mode: string; labelWidth: number; lineHeight: number; }; TimelineItem: { color: string; pending: boolean; position: string; }; Tree: { defaultExpandAll: boolean; defaultExpandRoot: boolean; checkable: boolean; checkStrictly: boolean; disabled: boolean; draggable: boolean; virtual: boolean; estimatedItemSize: number; expandOnClickNode: boolean; expandOnFilterNode: boolean; }; TreeNode: {}; ToolTip: { placement: string; trigger: string; arrow: boolean; }; Tabs: { type: string; size: string; }; TabPane: {}; Transfer: { dataSource: never[]; locale: {}; showSearch: boolean; listStyle: {}; }; Tag: { type: string; closable: boolean; clickable: boolean; disabled: boolean; size: string; }; Upload: { multiple: boolean; disabled: boolean; directory: boolean; method: string; name: string; type: string; listType: string; showUploadList: boolean; withCredentials: boolean; }; ViewContainer: {}; Typography: {}; Search: { size: string; borderType: string; type: string; disabled: boolean; }; Badge: {}; ImageCropper: { containerWidth: number; containerHeight: number; dragMode: string; viewMode: number; aspectRatio: number; autoCropArea: number; }; Anchor: { type: string; affix: boolean; trigger: string; placement: string; }; Slider: { default: number; disabled: boolean; dots: boolean; marks: never[]; max: number; min: number; step: number; tooltipPlacement: string; vertical: boolean; }; Stepper: { size: string; step: number; borderType: string; minMark: string; maxMark: string; mustInScope: boolean; zeroShow: boolean; }; BaseData: { mode: string; optionLabelProp: string; searchField: string; size: number; }; Avatar: { size: string; shape: string; gap: number; }; Link: { size: string; underscore: boolean; }; TreeSelect: { size: string; borderType: string; mode: string; defaultOpen: boolean; showArrow: boolean; optionLabelProp: string; treeNodeFilterProp: string; treeExpandOnClickNode: boolean; onlyExpandOnClickIcon: boolean; showSearch: boolean; expandOnClickNode: boolean; listHeight: number; virtual: boolean; }; CityPicker: { type: string; loading: boolean; size: string; borderType: string; defaultOpen: boolean; showArrow: boolean; placeholder: string; showDescription: boolean; optionHighlightProps: string; allowClear: boolean; }; Clipboard: { action: string; disabled: boolean; size: string; }; QRCode: { value: string; size: number; status: string; type: string; errorLevel: string; color: string; }; Signature: { penColor: string; backgroundColor: string; containerWidth: number; containerHeight: number; canFullScreen: boolean; }; GeoZonePicker: { showSearch: boolean; level: number; bordered: boolean; }; }; export default compDefaultProps;