@zat-design/sisyphus-react 3.6.5-beta.4 → 3.6.5-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ProDownload/index.d.ts +1 -1
- package/es/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/es/ProEditTable/components/Summary/index.d.ts +1 -1
- package/es/ProEditTable/utils/config.d.ts +1 -1
- package/es/ProEnum/components/Group.d.ts +1 -1
- package/es/ProEnum/components/Tag.d.ts +1 -1
- package/es/ProEnum/index.d.ts +2 -2
- package/es/ProEnum/utils/eventCenter.js +2 -1
- package/es/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/es/ProForm/components/base/Input/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/es/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/es/ProForm/components/old/ProAddress/index.d.ts +2 -1
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/es/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/es/ProLayout/index.d.ts +4 -4
- package/es/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/es/ProSelect/index.d.ts +1 -1
- package/es/ProStep/components/Anchor/index.d.ts +1 -1
- package/es/ProStep/components/Item/index.d.ts +1 -1
- package/es/ProStep/components/Step/index.d.ts +1 -1
- package/es/ProStep/index.d.ts +2 -2
- package/es/ProTable/components/ResizableLine/index.d.ts +1 -1
- package/es/ProTable/components/TableResizable/index.d.ts +1 -1
- package/es/ProTable/index.d.ts +1 -1
- package/es/ProTable/utils.js +1 -1
- package/es/ProTabs/components/Card/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProTooltip/index.d.ts +1 -1
- package/es/ProTree/components/CloseIcon.d.ts +2 -1
- package/es/ProTree/components/List.d.ts +1 -1
- package/es/ProTree/components/ProTree.d.ts +1 -1
- package/es/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/es/ProTree/components/SearchTitle.d.ts +1 -1
- package/es/ProTree/components/Tree.d.ts +1 -1
- package/es/ProTree/index.d.ts +1 -1
- package/es/ProTreeModal/components/Cascader.d.ts +1 -1
- package/es/ProTreeModal/components/CloseIcon.d.ts +2 -1
- package/es/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/es/ProTreeModal/components/Trigger.d.ts +1 -1
- package/es/ProTreeModal/index.d.ts +1 -1
- package/es/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/lib/ProDownload/index.d.ts +1 -1
- package/lib/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/lib/ProEditTable/components/Summary/index.d.ts +1 -1
- package/lib/ProEditTable/utils/config.d.ts +1 -1
- package/lib/ProEnum/components/Group.d.ts +1 -1
- package/lib/ProEnum/components/Tag.d.ts +1 -1
- package/lib/ProEnum/index.d.ts +2 -2
- package/lib/ProEnum/utils/eventCenter.js +2 -1
- package/lib/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/lib/ProForm/components/base/Input/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/lib/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProAddress/index.d.ts +2 -1
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/lib/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/lib/ProLayout/index.d.ts +4 -4
- package/lib/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/lib/ProSelect/index.d.ts +1 -1
- package/lib/ProStep/components/Anchor/index.d.ts +1 -1
- package/lib/ProStep/components/Item/index.d.ts +1 -1
- package/lib/ProStep/components/Step/index.d.ts +1 -1
- package/lib/ProStep/index.d.ts +2 -2
- package/lib/ProTable/components/ResizableLine/index.d.ts +1 -1
- package/lib/ProTable/components/TableResizable/index.d.ts +1 -1
- package/lib/ProTable/index.d.ts +1 -1
- package/lib/ProTable/utils.js +1 -1
- package/lib/ProTabs/components/Card/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProTooltip/index.d.ts +1 -1
- package/lib/ProTree/components/CloseIcon.d.ts +2 -1
- package/lib/ProTree/components/List.d.ts +1 -1
- package/lib/ProTree/components/ProTree.d.ts +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/lib/ProTree/components/SearchTitle.d.ts +1 -1
- package/lib/ProTree/components/Tree.d.ts +1 -1
- package/lib/ProTree/index.d.ts +1 -1
- package/lib/ProTreeModal/components/Cascader.d.ts +1 -1
- package/lib/ProTreeModal/components/CloseIcon.d.ts +2 -1
- package/lib/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/lib/ProTreeModal/components/Trigger.d.ts +1 -1
- package/lib/ProTreeModal/index.d.ts +1 -1
- package/lib/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/package.json +1 -1
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import { IProDownloadProps } from './propsType';
         | 
| 2 2 | 
             
            declare const ProDownload: {
         | 
| 3 | 
            -
                (props: IProDownloadProps):  | 
| 3 | 
            +
                (props: IProDownloadProps): JSX.Element;
         | 
| 4 4 | 
             
                downLoadRequest: import("./utils").DownloadRequestProps;
         | 
| 5 5 | 
             
            };
         | 
| 6 6 | 
             
            export default ProDownload;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const ActionButton: ({ record, index, config, btnConfig }: any) =>  | 
| 1 | 
            +
            declare const ActionButton: ({ record, index, config, btnConfig }: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default ActionButton;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const RenderField: ({ text: value, record, index, column, config }: any) =>  | 
| 1 | 
            +
            declare const RenderField: ({ text: value, record, index, column, config }: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default RenderField;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const RenderToolbar: (config: any) =>  | 
| 1 | 
            +
            declare const RenderToolbar: (config: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default RenderToolbar;
         | 
| @@ -8,5 +8,5 @@ interface SummaryProps<T = any> { | |
| 8 8 | 
             
                };
         | 
| 9 9 | 
             
                rowSelection: any;
         | 
| 10 10 | 
             
            }
         | 
| 11 | 
            -
            declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) =>  | 
| 11 | 
            +
            declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => JSX.Element;
         | 
| 12 12 | 
             
            export default Summary;
         | 
| @@ -9,7 +9,7 @@ export declare const defaultBtnNameMap: { | |
| 9 9 | 
             
                custom: any;
         | 
| 10 10 | 
             
            };
         | 
| 11 11 | 
             
            export declare const iconMap: {
         | 
| 12 | 
            -
                add:  | 
| 12 | 
            +
                add: JSX.Element;
         | 
| 13 13 | 
             
            };
         | 
| 14 14 | 
             
            export declare const defaultSingleActionKeys: string[];
         | 
| 15 15 | 
             
            export declare const defaultMultipleActionKeys: string[];
         | 
| @@ -6,5 +6,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource' | |
| 6 6 | 
             
                allowClear?: boolean;
         | 
| 7 7 | 
             
                button?: boolean;
         | 
| 8 8 | 
             
            }
         | 
| 9 | 
            -
            declare const Group: (props: Props) =>  | 
| 9 | 
            +
            declare const Group: (props: Props) => JSX.Element;
         | 
| 10 10 | 
             
            export default Group;
         | 
| @@ -3,5 +3,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource' | |
| 3 3 | 
             
                fieldValue: string;
         | 
| 4 4 | 
             
                fieldLabel: string;
         | 
| 5 5 | 
             
            }
         | 
| 6 | 
            -
            declare const ProEnumTag: (props: Props) =>  | 
| 6 | 
            +
            declare const ProEnumTag: (props: Props) => JSX.Element;
         | 
| 7 7 | 
             
            export default ProEnumTag;
         | 
    
        package/es/ProEnum/index.d.ts
    CHANGED
    
    | @@ -2,8 +2,8 @@ import useEnum from './hooks/useEnum'; | |
| 2 2 | 
             
            import { ProEnumProps } from './propsType';
         | 
| 3 3 | 
             
            import './style/index.less';
         | 
| 4 4 | 
             
            declare const ProEnum: {
         | 
| 5 | 
            -
                (props: ProEnumProps):  | 
| 6 | 
            -
                getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) =>  | 
| 5 | 
            +
                (props: ProEnumProps): JSX.Element;
         | 
| 6 | 
            +
                getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
         | 
| 7 7 | 
             
                useEnum: typeof useEnum;
         | 
| 8 8 | 
             
            };
         | 
| 9 9 | 
             
            export default ProEnum;
         | 
| @@ -7,7 +7,7 @@ var SimpleEventCenter = /*#__PURE__*/function () { | |
| 7 7 | 
             
                this.events = void 0;
         | 
| 8 8 | 
             
                this.events = new Map();
         | 
| 9 9 | 
             
              }
         | 
| 10 | 
            -
               | 
| 10 | 
            +
              _createClass(SimpleEventCenter, [{
         | 
| 11 11 | 
             
                key: "subscribe",
         | 
| 12 12 | 
             
                value: function subscribe(eventName, callback) {
         | 
| 13 13 | 
             
                  if (!this.events.has(eventName)) {
         | 
| @@ -34,5 +34,6 @@ var SimpleEventCenter = /*#__PURE__*/function () { | |
| 34 34 | 
             
                  }
         | 
| 35 35 | 
             
                }
         | 
| 36 36 | 
             
              }]);
         | 
| 37 | 
            +
              return SimpleEventCenter;
         | 
| 37 38 | 
             
            }(); // 将 eventCenter 实例添加到 window 对象上
         | 
| 38 39 | 
             
            window.eventCenter = new SimpleEventCenter();
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) =>  | 
| 1 | 
            +
            declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
         | 
| 2 2 | 
             
            export default getEnumLabel;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            /// <reference types="react" />
         | 
| 2 2 | 
             
            import { ProCascaderProps } from './propsType';
         | 
| 3 | 
            -
            declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) =>  | 
| 3 | 
            +
            declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
| @@ -12,5 +12,5 @@ export interface InputRangeProps { | |
| 12 12 | 
             
                isPositiveInteger?: boolean;
         | 
| 13 13 | 
             
                precision?: number;
         | 
| 14 14 | 
             
            }
         | 
| 15 | 
            -
            declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) =>  | 
| 15 | 
            +
            declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) => JSX.Element;
         | 
| 16 16 | 
             
            export default InputRange;
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            /// <reference types="react" />
         | 
| 1 2 | 
             
            import { ProAddressPropsType } from './propsTypes';
         | 
| 2 3 | 
             
            export declare const transferAddressInfoToRegion: () => {
         | 
| 3 4 | 
             
                normalize: (value: any) => {
         | 
| @@ -23,5 +24,5 @@ export declare const transferAddressInfoToRegion: () => { | |
| 23 24 | 
             
                    };
         | 
| 24 25 | 
             
                };
         | 
| 25 26 | 
             
            };
         | 
| 26 | 
            -
            export declare function ProAddress({ ...props }: ProAddressPropsType):  | 
| 27 | 
            +
            export declare function ProAddress({ ...props }: ProAddressPropsType): JSX.Element;
         | 
| 27 28 | 
             
            export default ProAddress;
         | 
| @@ -1,2 +1,3 @@ | |
| 1 | 
            +
            /// <reference types="react" />
         | 
| 1 2 | 
             
            import { ProRangeBoxPropsType } from './propsType';
         | 
| 2 | 
            -
            export default function ProRangeBox({ configOption }: ProRangeBoxPropsType):  | 
| 3 | 
            +
            export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): JSX.Element;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            /// <reference types="react" />
         | 
| 2 2 | 
             
            import { ProFooterProps } from './PropTypes';
         | 
| 3 | 
            -
            declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) =>  | 
| 3 | 
            +
            declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import type { ProHeaderProps } from './PropTypes';
         | 
| 3 | 
            -
            declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) =>  | 
| 3 | 
            +
            declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
    
        package/es/ProLayout/index.d.ts
    CHANGED
    
    | @@ -5,7 +5,7 @@ export declare const LayoutContext: import("react").Context<{ | |
| 5 5 | 
             
                onSelected: (params: any) => void;
         | 
| 6 6 | 
             
            }>;
         | 
| 7 7 | 
             
            declare const ProLayout: {
         | 
| 8 | 
            -
                (props: ProLayoutProps):  | 
| 8 | 
            +
                (props: ProLayoutProps): JSX.Element;
         | 
| 9 9 | 
             
                defaultProps: {
         | 
| 10 10 | 
             
                    menus: any[];
         | 
| 11 11 | 
             
                    iconfontUrl: string;
         | 
| @@ -17,8 +17,8 @@ declare const ProLayout: { | |
| 17 17 | 
             
                    headerHeight: number;
         | 
| 18 18 | 
             
                    contentStyle: {};
         | 
| 19 19 | 
             
                };
         | 
| 20 | 
            -
                ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) =>  | 
| 21 | 
            -
                ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) =>  | 
| 22 | 
            -
                ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) =>  | 
| 20 | 
            +
                ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) => JSX.Element;
         | 
| 21 | 
            +
                ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) => JSX.Element>;
         | 
| 22 | 
            +
                ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) => JSX.Element>;
         | 
| 23 23 | 
             
            };
         | 
| 24 24 | 
             
            export default ProLayout;
         | 
    
        package/es/ProSelect/index.d.ts
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import { PropSelectProps, ProSelectAction } from './propsType';
         | 
| 3 3 | 
             
            import './index.less';
         | 
| 4 | 
            -
            export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) =>  | 
| 4 | 
            +
            export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) => JSX.Element;
         | 
| 5 5 | 
             
            declare const _default: React.ForwardRefExoticComponent<PropSelectProps & React.RefAttributes<ProSelectAction>>;
         | 
| 6 6 | 
             
            export default _default;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            export declare const MenuItem: (props: any) =>  | 
| 1 | 
            +
            export declare const MenuItem: (props: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default MenuItem;
         | 
| @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            import { ProStepItem } from '../../propsType';
         | 
| 2 | 
            -
            declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) =>  | 
| 2 | 
            +
            declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) => JSX.Element;
         | 
| 3 3 | 
             
            export default _default;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import { ProStepPropsType } from '../../propsType';
         | 
| 2 2 | 
             
            export declare const Step: ({ fixedTop, dataSource, activeKey, errorCollection, style, targetOffset, scrollToError, }: ProStepPropsType & {
         | 
| 3 3 | 
             
                errorCollection: object;
         | 
| 4 | 
            -
            }) =>  | 
| 4 | 
            +
            }) => JSX.Element;
         | 
| 5 5 | 
             
            export default Step;
         | 
    
        package/es/ProStep/index.d.ts
    CHANGED
    
    | @@ -4,9 +4,9 @@ import './style/index.less'; | |
| 4 4 | 
             
            export declare const ProStepContext: import("react").Context<any>;
         | 
| 5 5 | 
             
            export declare const useStep: () => any;
         | 
| 6 6 | 
             
            declare const ProStep: {
         | 
| 7 | 
            -
                ({ children, ...resetProps }: ProStepPropsType):  | 
| 7 | 
            +
                ({ children, ...resetProps }: ProStepPropsType): JSX.Element;
         | 
| 8 8 | 
             
                useStep: () => any;
         | 
| 9 | 
            -
                Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) =>  | 
| 9 | 
            +
                Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) => JSX.Element;
         | 
| 10 10 | 
             
                Listener: ({ children, delayTime, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>;
         | 
| 11 11 | 
             
            };
         | 
| 12 12 | 
             
            export default ProStep;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const ResizableLine: () =>  | 
| 1 | 
            +
            declare const ResizableLine: () => JSX.Element;
         | 
| 2 2 | 
             
            export default ResizableLine;
         | 
    
        package/es/ProTable/index.d.ts
    CHANGED
    
    | @@ -5,7 +5,7 @@ export declare const defaultPage: { | |
| 5 5 | 
             
                pageNum: number;
         | 
| 6 6 | 
             
                pageSize: number;
         | 
| 7 7 | 
             
            };
         | 
| 8 | 
            -
            declare function ProTable(props: ProTableProps):  | 
| 8 | 
            +
            declare function ProTable(props: ProTableProps): JSX.Element;
         | 
| 9 9 | 
             
            declare namespace ProTable {
         | 
| 10 10 | 
             
                var defaultProps: {
         | 
| 11 11 | 
             
                    quickConfig: boolean;
         | 
    
        package/es/ProTable/utils.js
    CHANGED
    
    | @@ -105,7 +105,7 @@ export var formatColumn = function formatColumn(column, originalObj, dataSourceO | |
| 105 105 | 
             
              if (['percentage', 'permillage'].includes(valueType)) {
         | 
| 106 106 | 
             
                column.render = function (value, record, index) {
         | 
| 107 107 | 
             
                  var multiple = valueType === 'percentage' ? 100 : 1000;
         | 
| 108 | 
            -
                  var realValue = tools.calc(Number(value), '*', multiple);
         | 
| 108 | 
            +
                  var realValue = tools.calc(Number(value !== null && value !== void 0 ? value : 0), '*', multiple);
         | 
| 109 109 | 
             
                  var renderValue = getDecimalDigits(value) > valueTypePrecision ? realValue : realValue.toFixed(valueTypePrecision);
         | 
| 110 110 | 
             
                  var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
         | 
| 111 111 | 
             
                  var originalRealValue = tools.calc(Number(originalValue || null), '*', multiple);
         | 
| @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            import type { DevToolsPropsType } from '../../propsType';
         | 
| 2 | 
            -
            declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) =>  | 
| 2 | 
            +
            declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => JSX.Element;
         | 
| 3 3 | 
             
            export default PrdTools;
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import type { ProThemeToolsProps } from './propsType';
         | 
| 2 2 | 
             
            declare const ProThemeTools: {
         | 
| 3 | 
            -
                ({ size, className, cacheTime, color, mode, iconFollowTheme, prefixCls, tableBorder, tableStripe, theme, onChange, ...props }: ProThemeToolsProps):  | 
| 3 | 
            +
                ({ size, className, cacheTime, color, mode, iconFollowTheme, prefixCls, tableBorder, tableStripe, theme, onChange, ...props }: ProThemeToolsProps): JSX.Element;
         | 
| 4 4 | 
             
                defaultProps: {
         | 
| 5 5 | 
             
                    size: number;
         | 
| 6 6 | 
             
                    mode: string;
         | 
    
        package/es/ProTooltip/index.d.ts
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            import { ProTooltipPropsType } from './propsType';
         | 
| 2 2 | 
             
            import './style/index.less';
         | 
| 3 | 
            -
            declare const ProTooltip: (props: ProTooltipPropsType) =>  | 
| 3 | 
            +
            declare const ProTooltip: (props: ProTooltipPropsType) => JSX.Element;
         | 
| 4 4 | 
             
            export default ProTooltip;
         | 
| @@ -12,6 +12,6 @@ interface ListProps { | |
| 12 12 | 
             
                handleFilterClose?: (code: string) => void;
         | 
| 13 13 | 
             
                optionRender?: (item: any, searchStr?: string) => string | ReactNode;
         | 
| 14 14 | 
             
            }
         | 
| 15 | 
            -
            declare function List(props: ListProps):  | 
| 15 | 
            +
            declare function List(props: ListProps): JSX.Element;
         | 
| 16 16 | 
             
            declare const _default: import("react").MemoExoticComponent<typeof List>;
         | 
| 17 17 | 
             
            export default _default;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import { PropTreeSelectProps } from './propsType';
         | 
| 3 | 
            -
            export declare const ProTreeSelect: (props: PropTreeSelectProps, ref: React.Ref<unknown> | undefined) =>  | 
| 3 | 
            +
            export declare const ProTreeSelect: (props: PropTreeSelectProps, ref: React.Ref<unknown> | undefined) => JSX.Element;
         | 
| 4 4 | 
             
            declare const _default: React.ForwardRefExoticComponent<PropTreeSelectProps & React.RefAttributes<unknown>>;
         | 
| 5 5 | 
             
            export default _default;
         | 
| @@ -4,6 +4,6 @@ declare function SearchTitle(props: { | |
| 4 4 | 
             
                label?: string;
         | 
| 5 5 | 
             
                showEllipse?: boolean;
         | 
| 6 6 | 
             
                ellipseWidth?: string;
         | 
| 7 | 
            -
            }):  | 
| 7 | 
            +
            }): JSX.Element;
         | 
| 8 8 | 
             
            declare const _default: import("react").MemoExoticComponent<typeof SearchTitle>;
         | 
| 9 9 | 
             
            export default _default;
         | 
| @@ -23,5 +23,5 @@ interface ListProps extends ProTreeProps { | |
| 23 23 | 
             
                handleFilterClose?: (code: string, node?: any) => void;
         | 
| 24 24 | 
             
                [key: string]: any;
         | 
| 25 25 | 
             
            }
         | 
| 26 | 
            -
            declare function List(props: ListProps):  | 
| 26 | 
            +
            declare function List(props: ListProps): JSX.Element;
         | 
| 27 27 | 
             
            export default List;
         | 
    
        package/es/ProTree/index.d.ts
    CHANGED
    
    
| @@ -10,5 +10,5 @@ interface CascaderProps { | |
| 10 10 | 
             
                handleOnChange?: (e: any, value: string) => void;
         | 
| 11 11 | 
             
                optionRender?: (item: any, searchStr: string) => string | ReactNode;
         | 
| 12 12 | 
             
            }
         | 
| 13 | 
            -
            declare const Cascader: (props: CascaderProps) =>  | 
| 13 | 
            +
            declare const Cascader: (props: CascaderProps) => JSX.Element;
         | 
| 14 14 | 
             
            export default Cascader;
         | 
| @@ -17,5 +17,5 @@ interface TriggerProps { | |
| 17 17 | 
             
                handleClearAll: () => void;
         | 
| 18 18 | 
             
                appointChange: (appoint?: boolean) => void;
         | 
| 19 19 | 
             
            }
         | 
| 20 | 
            -
            declare function Trigger(props: TriggerProps):  | 
| 20 | 
            +
            declare function Trigger(props: TriggerProps): JSX.Element;
         | 
| 21 21 | 
             
            export default Trigger;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import { ProTreeModalProps } from './propsType';
         | 
| 2 2 | 
             
            import './style/index.less';
         | 
| 3 3 | 
             
            export declare const CASCADER = "CASCADER";
         | 
| 4 | 
            -
            declare const ProTreeModal: (props: ProTreeModalProps) =>  | 
| 4 | 
            +
            declare const ProTreeModal: (props: ProTreeModalProps) => JSX.Element;
         | 
| 5 5 | 
             
            export default ProTreeModal;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 1 | 
             
            import { DraggableUploadListItemProps } from '../propsType';
         | 
| 2 | 
            -
            export declare const DraggableUploadListItem: ({ file, children }: DraggableUploadListItemProps) =>  | 
| 2 | 
            +
            export declare const DraggableUploadListItem: ({ file, children }: DraggableUploadListItemProps) => JSX.Element;
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import { IProDownloadProps } from './propsType';
         | 
| 2 2 | 
             
            declare const ProDownload: {
         | 
| 3 | 
            -
                (props: IProDownloadProps):  | 
| 3 | 
            +
                (props: IProDownloadProps): JSX.Element;
         | 
| 4 4 | 
             
                downLoadRequest: import("./utils").DownloadRequestProps;
         | 
| 5 5 | 
             
            };
         | 
| 6 6 | 
             
            export default ProDownload;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const ActionButton: ({ record, index, config, btnConfig }: any) =>  | 
| 1 | 
            +
            declare const ActionButton: ({ record, index, config, btnConfig }: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default ActionButton;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const RenderField: ({ text: value, record, index, column, config }: any) =>  | 
| 1 | 
            +
            declare const RenderField: ({ text: value, record, index, column, config }: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default RenderField;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const RenderToolbar: (config: any) =>  | 
| 1 | 
            +
            declare const RenderToolbar: (config: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default RenderToolbar;
         | 
| @@ -8,5 +8,5 @@ interface SummaryProps<T = any> { | |
| 8 8 | 
             
                };
         | 
| 9 9 | 
             
                rowSelection: any;
         | 
| 10 10 | 
             
            }
         | 
| 11 | 
            -
            declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) =>  | 
| 11 | 
            +
            declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => JSX.Element;
         | 
| 12 12 | 
             
            export default Summary;
         | 
| @@ -9,7 +9,7 @@ export declare const defaultBtnNameMap: { | |
| 9 9 | 
             
                custom: any;
         | 
| 10 10 | 
             
            };
         | 
| 11 11 | 
             
            export declare const iconMap: {
         | 
| 12 | 
            -
                add:  | 
| 12 | 
            +
                add: JSX.Element;
         | 
| 13 13 | 
             
            };
         | 
| 14 14 | 
             
            export declare const defaultSingleActionKeys: string[];
         | 
| 15 15 | 
             
            export declare const defaultMultipleActionKeys: string[];
         | 
| @@ -6,5 +6,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource' | |
| 6 6 | 
             
                allowClear?: boolean;
         | 
| 7 7 | 
             
                button?: boolean;
         | 
| 8 8 | 
             
            }
         | 
| 9 | 
            -
            declare const Group: (props: Props) =>  | 
| 9 | 
            +
            declare const Group: (props: Props) => JSX.Element;
         | 
| 10 10 | 
             
            export default Group;
         | 
| @@ -3,5 +3,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource' | |
| 3 3 | 
             
                fieldValue: string;
         | 
| 4 4 | 
             
                fieldLabel: string;
         | 
| 5 5 | 
             
            }
         | 
| 6 | 
            -
            declare const ProEnumTag: (props: Props) =>  | 
| 6 | 
            +
            declare const ProEnumTag: (props: Props) => JSX.Element;
         | 
| 7 7 | 
             
            export default ProEnumTag;
         | 
    
        package/lib/ProEnum/index.d.ts
    CHANGED
    
    | @@ -2,8 +2,8 @@ import useEnum from './hooks/useEnum'; | |
| 2 2 | 
             
            import { ProEnumProps } from './propsType';
         | 
| 3 3 | 
             
            import './style/index.less';
         | 
| 4 4 | 
             
            declare const ProEnum: {
         | 
| 5 | 
            -
                (props: ProEnumProps):  | 
| 6 | 
            -
                getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) =>  | 
| 5 | 
            +
                (props: ProEnumProps): JSX.Element;
         | 
| 6 | 
            +
                getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
         | 
| 7 7 | 
             
                useEnum: typeof useEnum;
         | 
| 8 8 | 
             
            };
         | 
| 9 9 | 
             
            export default ProEnum;
         | 
| @@ -10,7 +10,7 @@ var SimpleEventCenter = /*#__PURE__*/function () { | |
| 10 10 | 
             
                this.events = void 0;
         | 
| 11 11 | 
             
                this.events = new Map();
         | 
| 12 12 | 
             
              }
         | 
| 13 | 
            -
               | 
| 13 | 
            +
              (0, _createClass2.default)(SimpleEventCenter, [{
         | 
| 14 14 | 
             
                key: "subscribe",
         | 
| 15 15 | 
             
                value: function subscribe(eventName, callback) {
         | 
| 16 16 | 
             
                  if (!this.events.has(eventName)) {
         | 
| @@ -37,5 +37,6 @@ var SimpleEventCenter = /*#__PURE__*/function () { | |
| 37 37 | 
             
                  }
         | 
| 38 38 | 
             
                }
         | 
| 39 39 | 
             
              }]);
         | 
| 40 | 
            +
              return SimpleEventCenter;
         | 
| 40 41 | 
             
            }(); // 将 eventCenter 实例添加到 window 对象上
         | 
| 41 42 | 
             
            window.eventCenter = new SimpleEventCenter();
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) =>  | 
| 1 | 
            +
            declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
         | 
| 2 2 | 
             
            export default getEnumLabel;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            /// <reference types="react" />
         | 
| 2 2 | 
             
            import { ProCascaderProps } from './propsType';
         | 
| 3 | 
            -
            declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) =>  | 
| 3 | 
            +
            declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
| @@ -12,5 +12,5 @@ export interface InputRangeProps { | |
| 12 12 | 
             
                isPositiveInteger?: boolean;
         | 
| 13 13 | 
             
                precision?: number;
         | 
| 14 14 | 
             
            }
         | 
| 15 | 
            -
            declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) =>  | 
| 15 | 
            +
            declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) => JSX.Element;
         | 
| 16 16 | 
             
            export default InputRange;
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            /// <reference types="react" />
         | 
| 1 2 | 
             
            import { ProAddressPropsType } from './propsTypes';
         | 
| 2 3 | 
             
            export declare const transferAddressInfoToRegion: () => {
         | 
| 3 4 | 
             
                normalize: (value: any) => {
         | 
| @@ -23,5 +24,5 @@ export declare const transferAddressInfoToRegion: () => { | |
| 23 24 | 
             
                    };
         | 
| 24 25 | 
             
                };
         | 
| 25 26 | 
             
            };
         | 
| 26 | 
            -
            export declare function ProAddress({ ...props }: ProAddressPropsType):  | 
| 27 | 
            +
            export declare function ProAddress({ ...props }: ProAddressPropsType): JSX.Element;
         | 
| 27 28 | 
             
            export default ProAddress;
         | 
| @@ -1,2 +1,3 @@ | |
| 1 | 
            +
            /// <reference types="react" />
         | 
| 1 2 | 
             
            import { ProRangeBoxPropsType } from './propsType';
         | 
| 2 | 
            -
            export default function ProRangeBox({ configOption }: ProRangeBoxPropsType):  | 
| 3 | 
            +
            export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): JSX.Element;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            /// <reference types="react" />
         | 
| 2 2 | 
             
            import { ProFooterProps } from './PropTypes';
         | 
| 3 | 
            -
            declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) =>  | 
| 3 | 
            +
            declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import type { ProHeaderProps } from './PropTypes';
         | 
| 3 | 
            -
            declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) =>  | 
| 3 | 
            +
            declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) => JSX.Element>;
         | 
| 4 4 | 
             
            export default _default;
         | 
    
        package/lib/ProLayout/index.d.ts
    CHANGED
    
    | @@ -5,7 +5,7 @@ export declare const LayoutContext: import("react").Context<{ | |
| 5 5 | 
             
                onSelected: (params: any) => void;
         | 
| 6 6 | 
             
            }>;
         | 
| 7 7 | 
             
            declare const ProLayout: {
         | 
| 8 | 
            -
                (props: ProLayoutProps):  | 
| 8 | 
            +
                (props: ProLayoutProps): JSX.Element;
         | 
| 9 9 | 
             
                defaultProps: {
         | 
| 10 10 | 
             
                    menus: any[];
         | 
| 11 11 | 
             
                    iconfontUrl: string;
         | 
| @@ -17,8 +17,8 @@ declare const ProLayout: { | |
| 17 17 | 
             
                    headerHeight: number;
         | 
| 18 18 | 
             
                    contentStyle: {};
         | 
| 19 19 | 
             
                };
         | 
| 20 | 
            -
                ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) =>  | 
| 21 | 
            -
                ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) =>  | 
| 22 | 
            -
                ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) =>  | 
| 20 | 
            +
                ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) => JSX.Element;
         | 
| 21 | 
            +
                ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) => JSX.Element>;
         | 
| 22 | 
            +
                ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) => JSX.Element>;
         | 
| 23 23 | 
             
            };
         | 
| 24 24 | 
             
            export default ProLayout;
         | 
    
        package/lib/ProSelect/index.d.ts
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import { PropSelectProps, ProSelectAction } from './propsType';
         | 
| 3 3 | 
             
            import './index.less';
         | 
| 4 | 
            -
            export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) =>  | 
| 4 | 
            +
            export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) => JSX.Element;
         | 
| 5 5 | 
             
            declare const _default: React.ForwardRefExoticComponent<PropSelectProps & React.RefAttributes<ProSelectAction>>;
         | 
| 6 6 | 
             
            export default _default;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            export declare const MenuItem: (props: any) =>  | 
| 1 | 
            +
            export declare const MenuItem: (props: any) => JSX.Element;
         | 
| 2 2 | 
             
            export default MenuItem;
         | 
| @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            import { ProStepItem } from '../../propsType';
         | 
| 2 | 
            -
            declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) =>  | 
| 2 | 
            +
            declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) => JSX.Element;
         | 
| 3 3 | 
             
            export default _default;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import { ProStepPropsType } from '../../propsType';
         | 
| 2 2 | 
             
            export declare const Step: ({ fixedTop, dataSource, activeKey, errorCollection, style, targetOffset, scrollToError, }: ProStepPropsType & {
         | 
| 3 3 | 
             
                errorCollection: object;
         | 
| 4 | 
            -
            }) =>  | 
| 4 | 
            +
            }) => JSX.Element;
         | 
| 5 5 | 
             
            export default Step;
         | 
    
        package/lib/ProStep/index.d.ts
    CHANGED
    
    | @@ -4,9 +4,9 @@ import './style/index.less'; | |
| 4 4 | 
             
            export declare const ProStepContext: import("react").Context<any>;
         | 
| 5 5 | 
             
            export declare const useStep: () => any;
         | 
| 6 6 | 
             
            declare const ProStep: {
         | 
| 7 | 
            -
                ({ children, ...resetProps }: ProStepPropsType):  | 
| 7 | 
            +
                ({ children, ...resetProps }: ProStepPropsType): JSX.Element;
         | 
| 8 8 | 
             
                useStep: () => any;
         | 
| 9 | 
            -
                Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) =>  | 
| 9 | 
            +
                Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) => JSX.Element;
         | 
| 10 10 | 
             
                Listener: ({ children, delayTime, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>;
         | 
| 11 11 | 
             
            };
         | 
| 12 12 | 
             
            export default ProStep;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 | 
            -
            declare const ResizableLine: () =>  | 
| 1 | 
            +
            declare const ResizableLine: () => JSX.Element;
         | 
| 2 2 | 
             
            export default ResizableLine;
         | 
    
        package/lib/ProTable/index.d.ts
    CHANGED
    
    | @@ -5,7 +5,7 @@ export declare const defaultPage: { | |
| 5 5 | 
             
                pageNum: number;
         | 
| 6 6 | 
             
                pageSize: number;
         | 
| 7 7 | 
             
            };
         | 
| 8 | 
            -
            declare function ProTable(props: ProTableProps):  | 
| 8 | 
            +
            declare function ProTable(props: ProTableProps): JSX.Element;
         | 
| 9 9 | 
             
            declare namespace ProTable {
         | 
| 10 10 | 
             
                var defaultProps: {
         | 
| 11 11 | 
             
                    quickConfig: boolean;
         | 
    
        package/lib/ProTable/utils.js
    CHANGED
    
    | @@ -112,7 +112,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original | |
| 112 112 | 
             
              if (['percentage', 'permillage'].includes(valueType)) {
         | 
| 113 113 | 
             
                column.render = function (value, record, index) {
         | 
| 114 114 | 
             
                  var multiple = valueType === 'percentage' ? 100 : 1000;
         | 
| 115 | 
            -
                  var realValue = _utils.tools.calc(Number(value), '*', multiple);
         | 
| 115 | 
            +
                  var realValue = _utils.tools.calc(Number(value !== null && value !== void 0 ? value : 0), '*', multiple);
         | 
| 116 116 | 
             
                  var renderValue = getDecimalDigits(value) > valueTypePrecision ? realValue : realValue.toFixed(valueTypePrecision);
         | 
| 117 117 | 
             
                  var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
         | 
| 118 118 | 
             
                  var originalRealValue = _utils.tools.calc(Number(originalValue || null), '*', multiple);
         | 
| @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            import type { DevToolsPropsType } from '../../propsType';
         | 
| 2 | 
            -
            declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) =>  | 
| 2 | 
            +
            declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => JSX.Element;
         | 
| 3 3 | 
             
            export default PrdTools;
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import type { ProThemeToolsProps } from './propsType';
         | 
| 2 2 | 
             
            declare const ProThemeTools: {
         | 
| 3 | 
            -
                ({ size, className, cacheTime, color, mode, iconFollowTheme, prefixCls, tableBorder, tableStripe, theme, onChange, ...props }: ProThemeToolsProps):  | 
| 3 | 
            +
                ({ size, className, cacheTime, color, mode, iconFollowTheme, prefixCls, tableBorder, tableStripe, theme, onChange, ...props }: ProThemeToolsProps): JSX.Element;
         | 
| 4 4 | 
             
                defaultProps: {
         | 
| 5 5 | 
             
                    size: number;
         | 
| 6 6 | 
             
                    mode: string;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 1 | 
             
            import { ProTooltipPropsType } from './propsType';
         | 
| 2 2 | 
             
            import './style/index.less';
         | 
| 3 | 
            -
            declare const ProTooltip: (props: ProTooltipPropsType) =>  | 
| 3 | 
            +
            declare const ProTooltip: (props: ProTooltipPropsType) => JSX.Element;
         | 
| 4 4 | 
             
            export default ProTooltip;
         | 
| @@ -12,6 +12,6 @@ interface ListProps { | |
| 12 12 | 
             
                handleFilterClose?: (code: string) => void;
         | 
| 13 13 | 
             
                optionRender?: (item: any, searchStr?: string) => string | ReactNode;
         | 
| 14 14 | 
             
            }
         | 
| 15 | 
            -
            declare function List(props: ListProps):  | 
| 15 | 
            +
            declare function List(props: ListProps): JSX.Element;
         | 
| 16 16 | 
             
            declare const _default: import("react").MemoExoticComponent<typeof List>;
         | 
| 17 17 | 
             
            export default _default;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import React from 'react';
         | 
| 2 2 | 
             
            import { PropTreeSelectProps } from './propsType';
         | 
| 3 | 
            -
            export declare const ProTreeSelect: (props: PropTreeSelectProps, ref: React.Ref<unknown> | undefined) =>  | 
| 3 | 
            +
            export declare const ProTreeSelect: (props: PropTreeSelectProps, ref: React.Ref<unknown> | undefined) => JSX.Element;
         | 
| 4 4 | 
             
            declare const _default: React.ForwardRefExoticComponent<PropTreeSelectProps & React.RefAttributes<unknown>>;
         | 
| 5 5 | 
             
            export default _default;
         | 
| @@ -4,6 +4,6 @@ declare function SearchTitle(props: { | |
| 4 4 | 
             
                label?: string;
         | 
| 5 5 | 
             
                showEllipse?: boolean;
         | 
| 6 6 | 
             
                ellipseWidth?: string;
         | 
| 7 | 
            -
            }):  | 
| 7 | 
            +
            }): JSX.Element;
         | 
| 8 8 | 
             
            declare const _default: import("react").MemoExoticComponent<typeof SearchTitle>;
         | 
| 9 9 | 
             
            export default _default;
         | 
| @@ -23,5 +23,5 @@ interface ListProps extends ProTreeProps { | |
| 23 23 | 
             
                handleFilterClose?: (code: string, node?: any) => void;
         | 
| 24 24 | 
             
                [key: string]: any;
         | 
| 25 25 | 
             
            }
         | 
| 26 | 
            -
            declare function List(props: ListProps):  | 
| 26 | 
            +
            declare function List(props: ListProps): JSX.Element;
         | 
| 27 27 | 
             
            export default List;
         | 
    
        package/lib/ProTree/index.d.ts
    CHANGED
    
    
| @@ -10,5 +10,5 @@ interface CascaderProps { | |
| 10 10 | 
             
                handleOnChange?: (e: any, value: string) => void;
         | 
| 11 11 | 
             
                optionRender?: (item: any, searchStr: string) => string | ReactNode;
         | 
| 12 12 | 
             
            }
         | 
| 13 | 
            -
            declare const Cascader: (props: CascaderProps) =>  | 
| 13 | 
            +
            declare const Cascader: (props: CascaderProps) => JSX.Element;
         | 
| 14 14 | 
             
            export default Cascader;
         | 
| @@ -17,5 +17,5 @@ interface TriggerProps { | |
| 17 17 | 
             
                handleClearAll: () => void;
         | 
| 18 18 | 
             
                appointChange: (appoint?: boolean) => void;
         | 
| 19 19 | 
             
            }
         | 
| 20 | 
            -
            declare function Trigger(props: TriggerProps):  | 
| 20 | 
            +
            declare function Trigger(props: TriggerProps): JSX.Element;
         | 
| 21 21 | 
             
            export default Trigger;
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            import { ProTreeModalProps } from './propsType';
         | 
| 2 2 | 
             
            import './style/index.less';
         | 
| 3 3 | 
             
            export declare const CASCADER = "CASCADER";
         | 
| 4 | 
            -
            declare const ProTreeModal: (props: ProTreeModalProps) =>  | 
| 4 | 
            +
            declare const ProTreeModal: (props: ProTreeModalProps) => JSX.Element;
         | 
| 5 5 | 
             
            export default ProTreeModal;
         | 
| @@ -1,2 +1,2 @@ | |
| 1 1 | 
             
            import { DraggableUploadListItemProps } from '../propsType';
         | 
| 2 | 
            -
            export declare const DraggableUploadListItem: ({ file, children }: DraggableUploadListItemProps) =>  | 
| 2 | 
            +
            export declare const DraggableUploadListItem: ({ file, children }: DraggableUploadListItemProps) => JSX.Element;
         |