antd-management-fast-framework 1.12.20 → 1.12.23
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/configGroup/configGeneral.d.ts +34 -32
- package/es/configGroup/themeCollection.d.ts +1 -1
- package/es/customComponents/AMap/UIPoiPicker.d.ts +1 -0
- package/es/customComponents/AMap/UIPositionPicker.d.ts +1 -0
- package/es/customComponents/ActiveChart/index.d.ts +9 -0
- package/es/customComponents/AnimalBox/FadeBox/index.d.ts +5 -4
- package/es/customComponents/AnimalBox/QueueBox/index.d.ts +3 -2
- package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +6 -5
- package/es/customComponents/AnimalBox/RotateBox/index.d.ts +5 -4
- package/es/customComponents/AudioUpload/index.d.ts +17 -8
- package/es/customComponents/Authorized/PromiseRender.d.ts +6 -0
- package/es/customComponents/Authorized/Secured.d.ts +1 -1
- package/es/customComponents/Canvas/Bubbly/index.d.ts +11 -12
- package/es/customComponents/Canvas/Core/index.d.ts +7 -3
- package/es/customComponents/Canvas/RadarScanning/index.d.ts +4 -5
- package/es/customComponents/Canvas/Spirit/index.d.ts +5 -2
- package/es/customComponents/CenterBox/index.d.ts +1 -0
- package/es/customComponents/Charts/Bar/index.d.ts +4 -0
- package/es/customComponents/Charts/ChartCard/index.d.ts +1 -0
- package/es/customComponents/Charts/Pie/index.d.ts +2 -0
- package/es/customComponents/Charts/TagCloud/index.d.ts +11 -2
- package/es/customComponents/Charts/WaterWave/index.d.ts +9 -2
- package/es/customComponents/Charts/autoHeight.d.ts +6 -1
- package/es/customComponents/ColorText/index.d.ts +12 -11
- package/es/customComponents/Countdown/index.d.ts +11 -1
- package/es/customComponents/DataPreviewDrawer/index.d.ts +25 -7
- package/es/customComponents/DecorateAvatar/index.d.ts +26 -10
- package/es/customComponents/DisplayCopyData/index.d.ts +1 -2
- package/es/customComponents/EditableItem/index.d.ts +5 -0
- package/es/customComponents/EditableLinkGroup/index.d.ts +6 -5
- package/es/customComponents/Editor/TinymceWrapper/index.d.ts +6 -5
- package/es/customComponents/Ellipsis/index.d.ts +7 -0
- package/es/customComponents/EllipsisCustom/index.d.ts +7 -0
- package/es/customComponents/Entrance/map.d.ts +33 -29
- package/es/customComponents/EverySpace/index.d.ts +7 -6
- package/es/customComponents/Exception/index.d.ts +2 -0
- package/es/customComponents/FigureRange/index.d.ts +29 -21
- package/es/customComponents/FileBase64Upload/index.d.ts +13 -8
- package/es/customComponents/FileUpload/index.d.ts +15 -7
- package/es/customComponents/FlexBox/index.d.ts +13 -12
- package/es/customComponents/FlexText/index.d.ts +12 -11
- package/es/customComponents/FooterToolbar/index.d.ts +6 -0
- package/es/customComponents/FromDisplayItem/index.d.ts +5 -4
- package/es/customComponents/FunctionComponent/index.d.ts +52 -52
- package/es/customComponents/FunctionSupplement/Whether/index.d.ts +9 -9
- package/es/customComponents/HelpBox/index.d.ts +9 -8
- package/es/customComponents/HelpCard/index.d.ts +8 -7
- package/es/customComponents/HtmlBox/index.d.ts +6 -3
- package/es/customComponents/IconInfo/index.d.ts +20 -19
- package/es/customComponents/ImageBox/index.d.ts +33 -12
- package/es/customComponents/ImageContentPreview/index.d.ts +8 -0
- package/es/customComponents/ImageUpload/index.d.ts +9 -3
- package/es/customComponents/MobileContainor/ContentView/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +3 -3
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +10 -10
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +38 -3
- package/es/customComponents/MobileContainor/MobileSimulation/index.d.ts +13 -12
- package/es/customComponents/NoticeIconCustom/index.d.ts +11 -10
- package/es/customComponents/PercentageBox/index.d.ts +3 -2
- package/es/customComponents/PriceBox/index.d.ts +9 -8
- package/es/customComponents/StandardTable/index.d.ts +5 -0
- package/es/customComponents/StandardTableCustom/index.d.ts +7 -2
- package/es/customComponents/StatusBar/index.d.ts +4 -3
- package/es/customComponents/TagSelect/index.d.ts +7 -2
- package/es/customComponents/TimeLineCustom/index.d.ts +17 -12
- package/es/customComponents/VerticalBox/index.d.ts +6 -5
- package/es/customComponents/VideoUpload/index.d.ts +17 -8
- package/es/framework/AuthorizationWrapper/index.d.ts +2 -2
- package/es/framework/Base/index.d.ts +18 -0
- package/es/framework/Base/index.js +4 -1
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +2 -3
- package/es/framework/Common/index.d.ts +57 -39
- package/es/framework/Common/index.js +1 -1
- package/es/framework/Core/index.d.ts +2 -3
- package/es/framework/CustomBase/index.d.ts +2 -0
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +17 -2
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +15 -1
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +1 -1
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +2 -1
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +0 -1
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +0 -1
- package/es/framework/DataForm/BaseAddForm/index.d.ts +21 -1
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +0 -1
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +0 -1
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +0 -1
- package/es/framework/DataListView/Base/index.d.ts +8 -8
- package/es/framework/DataListView/DensityAction/index.d.ts +1 -0
- package/es/framework/DataMenuContainer/index.d.ts +2 -2
- package/es/framework/DataModal/BaseAddModal/index.d.ts +0 -1
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +1 -1
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +25 -1
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +24 -1
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +0 -1
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +34 -1
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +0 -1
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +5 -1
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +5 -5
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +1 -2
- package/es/framework/DataOperation/Base/index.d.ts +34 -34
- package/es/framework/DataOperation/BaseView/index.d.ts +4 -4
- package/es/framework/DataOperation/BaseWindow/index.d.ts +10 -10
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +0 -1
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +7 -1
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +5 -5
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +3 -3
- package/es/framework/DataSingleView/DataLoad/index.d.ts +30 -10
- package/es/framework/DataTabContainer/index.d.ts +30 -1
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -6
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.d.ts +3 -4
- package/es/framework/Wrapper/index.d.ts +1 -2
- package/es/utils/Yuan.d.ts +3 -0
- package/es/utils/actionAssist.d.ts +2 -2
- package/es/utils/authority.js +22 -14
- package/es/utils/constants.d.ts +202 -342
- package/es/utils/defaultSettingsSpecial.d.ts +29 -29
- package/es/utils/globalModel.d.ts +1 -1
- package/es/utils/globalStorageAssist.d.ts +4 -4
- package/es/utils/proLayoutCollection.d.ts +3 -3
- package/es/utils/requestAssistor.d.ts +2 -2
- package/es/utils/tools.d.ts +11 -8
- package/es/utils/tools.js +73 -16
- package/package.json +51 -52
|
@@ -3,7 +3,7 @@ export function buildConfig({ routes, loading, headerExtraLinks, mfsu, proxy, }:
|
|
|
3
3
|
loading?: string | undefined;
|
|
4
4
|
headerExtraLinks?: any[] | undefined;
|
|
5
5
|
mfsu?: boolean | undefined;
|
|
6
|
-
proxy?:
|
|
6
|
+
proxy?: null | undefined;
|
|
7
7
|
}): any;
|
|
8
8
|
/**
|
|
9
9
|
* 占位函数
|
|
@@ -13,42 +13,44 @@ export function buildConfig({ routes, loading, headerExtraLinks, mfsu, proxy, }:
|
|
|
13
13
|
*/
|
|
14
14
|
export function empty(): {};
|
|
15
15
|
export namespace configGeneral {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
16
|
+
const hash: boolean;
|
|
17
|
+
const alias: {};
|
|
18
|
+
const antd: {};
|
|
19
|
+
const analytics: boolean;
|
|
20
|
+
namespace dva {
|
|
21
|
+
const hmr: boolean;
|
|
22
|
+
}
|
|
23
|
+
namespace locale {
|
|
24
|
+
const _default: string;
|
|
25
|
+
export { _default as default };
|
|
26
|
+
const antd_1: boolean;
|
|
27
|
+
export { antd_1 as antd };
|
|
28
|
+
export const baseNavigator: boolean;
|
|
29
|
+
}
|
|
30
|
+
namespace targets {
|
|
31
|
+
const ie: number;
|
|
30
32
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
const title: boolean;
|
|
34
|
+
const theme: {
|
|
33
35
|
'@border-radius-base': string;
|
|
34
36
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
namespace define {
|
|
38
|
+
const REACT_APP_ENV: string | boolean;
|
|
37
39
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
const ignoreMomentLocale: boolean;
|
|
41
|
+
namespace lessLoader {
|
|
42
|
+
const javascriptEnabled: boolean;
|
|
41
43
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
namespace manifest {
|
|
45
|
+
const basePath: string;
|
|
44
46
|
}
|
|
45
|
-
|
|
46
|
-
type: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
namespace history {
|
|
48
|
+
const type: string;
|
|
49
|
+
}
|
|
50
|
+
const ssr: boolean;
|
|
51
|
+
const mfsu: {};
|
|
52
|
+
const fastRefresh: {};
|
|
53
|
+
namespace extraCustomOption {
|
|
54
|
+
const babelCompact: boolean;
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
export default class ActiveChart extends React.Component<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
state: {
|
|
5
|
+
activeData: {
|
|
6
|
+
x: string;
|
|
7
|
+
y: number;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
componentDidMount(): void;
|
|
11
|
+
componentWillUnmount(): void;
|
|
4
12
|
loopData: () => void;
|
|
5
13
|
requestRef: number | undefined;
|
|
6
14
|
timer: NodeJS.Timeout | undefined;
|
|
15
|
+
render(): JSX.Element;
|
|
7
16
|
}
|
|
8
17
|
import React from "react";
|
|
@@ -2,12 +2,13 @@ export default FadeBox;
|
|
|
2
2
|
declare class FadeBox extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace FadeBox {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const show: boolean;
|
|
10
|
+
const style: null;
|
|
11
|
+
const bodyStyle: null;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
import React from "react";
|
|
@@ -2,10 +2,11 @@ export default QueueBox;
|
|
|
2
2
|
declare class QueueBox extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace QueueBox {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const show: boolean;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
import React from "react";
|
|
@@ -2,13 +2,14 @@ export default QueueListBox;
|
|
|
2
2
|
declare class QueueListBox extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace QueueListBox {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const show: boolean;
|
|
10
|
+
const style: null;
|
|
11
|
+
const items: never[];
|
|
12
|
+
const itemStyle: null;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
import React from "react";
|
|
@@ -2,12 +2,13 @@ export default RotateBox;
|
|
|
2
2
|
declare class RotateBox extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace RotateBox {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const rotate: number;
|
|
10
|
+
const duration: number;
|
|
11
|
+
const onClick: null;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
import React from "react";
|
|
@@ -5,6 +5,14 @@ declare class AudioUpload extends React.PureComponent<any, any, any> {
|
|
|
5
5
|
audioUrl: any;
|
|
6
6
|
} | null;
|
|
7
7
|
constructor(props: any);
|
|
8
|
+
state: {
|
|
9
|
+
audioSource: string;
|
|
10
|
+
audioUrl: string;
|
|
11
|
+
audioUrlTemp: string;
|
|
12
|
+
uploading: boolean;
|
|
13
|
+
previewVisible: boolean;
|
|
14
|
+
changeUrlVisible: boolean;
|
|
15
|
+
};
|
|
8
16
|
handleUploadCancel: () => void;
|
|
9
17
|
showPreviewModal: () => void;
|
|
10
18
|
showChangeUrlModal: () => void;
|
|
@@ -15,16 +23,17 @@ declare class AudioUpload extends React.PureComponent<any, any, any> {
|
|
|
15
23
|
beforeUpload: (file: any) => boolean;
|
|
16
24
|
handleUploadChange: (info: any) => void;
|
|
17
25
|
handleMenuClick: (e: any) => void;
|
|
26
|
+
render(): JSX.Element;
|
|
18
27
|
}
|
|
19
28
|
declare namespace AudioUpload {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
namespace defaultProps {
|
|
30
|
+
const action: string;
|
|
31
|
+
const disabled: boolean;
|
|
32
|
+
const tokenSet: {};
|
|
33
|
+
const audio: string;
|
|
34
|
+
const showPreview: boolean;
|
|
35
|
+
function pretreatmentRemoteResponse(): void;
|
|
36
|
+
function afterChangeSuccess(): void;
|
|
28
37
|
}
|
|
29
38
|
}
|
|
30
39
|
import React from "react";
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export default class PromiseRender extends React.Component<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
state: {
|
|
5
|
+
component: () => null;
|
|
6
|
+
};
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
shouldComponentUpdate: (nextProps: any, nextState: any) => boolean;
|
|
4
9
|
setRenderComponent(props: any): void;
|
|
5
10
|
checkIsInstantiation: (target: any) => ((props: any) => JSX.Element) | (() => any);
|
|
11
|
+
render(): JSX.Element;
|
|
6
12
|
}
|
|
7
13
|
import React from "react";
|
|
@@ -15,4 +15,4 @@ export default authorize;
|
|
|
15
15
|
* @param {string | function | Promise} authority
|
|
16
16
|
* @param {ReactNode} error 非必需参数
|
|
17
17
|
*/
|
|
18
|
-
declare function authorize(authority: string | Function | Promise
|
|
18
|
+
declare function authorize(authority: string | Function | Promise<any>, error: ReactNode): (target: any) => ((props: any) => JSX.Element) | (() => any);
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
export default CanvasRibbon;
|
|
2
2
|
declare class CanvasRibbon extends Core {
|
|
3
|
-
constructor(props: any);
|
|
4
3
|
bubbleList: any[];
|
|
5
4
|
draw: () => void;
|
|
6
5
|
}
|
|
7
6
|
declare namespace CanvasRibbon {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const shadowColor: string;
|
|
9
|
+
const blur: number;
|
|
10
|
+
const colorStart: string;
|
|
11
|
+
const colorStop: string;
|
|
12
|
+
const animate: boolean;
|
|
13
|
+
const compose: string;
|
|
14
|
+
const bubbleFunc: null;
|
|
15
|
+
const radiusFunc: null;
|
|
16
|
+
const angleFunc: null;
|
|
17
|
+
const velocityFunc: null;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
import Core from "../Core";
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export default Index;
|
|
2
2
|
declare class Index extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
|
+
state: {};
|
|
4
5
|
canvasContainerRef: React.RefObject<any>;
|
|
5
6
|
canvasRef: React.RefObject<any>;
|
|
6
7
|
canvasWidth: number;
|
|
7
8
|
canvasHeight: number;
|
|
9
|
+
componentDidMount(): void;
|
|
10
|
+
componentWillUnmount(): void;
|
|
8
11
|
getCanvasContainer: () => any;
|
|
9
12
|
getCanvas: () => any;
|
|
10
13
|
getCanvasContext: () => any;
|
|
@@ -13,12 +16,13 @@ declare class Index extends React.PureComponent<any, any, any> {
|
|
|
13
16
|
}) => void;
|
|
14
17
|
resize: () => void;
|
|
15
18
|
buildContainorStyle: () => {
|
|
16
|
-
backgroundImage?: string;
|
|
19
|
+
backgroundImage?: string | undefined;
|
|
17
20
|
};
|
|
21
|
+
render(): JSX.Element;
|
|
18
22
|
}
|
|
19
23
|
declare namespace Index {
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
namespace defaultProps {
|
|
25
|
+
const backgroundImage: string;
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
import React from "react";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export default RadarScanning;
|
|
2
2
|
declare class RadarScanning extends Core {
|
|
3
|
-
constructor(props: any);
|
|
4
3
|
orbs: any[];
|
|
5
4
|
getTrail: () => boolean;
|
|
6
5
|
turnOnMove: () => void;
|
|
@@ -13,9 +12,9 @@ declare class RadarScanning extends Core {
|
|
|
13
12
|
createOrbByExist: (o: any) => any;
|
|
14
13
|
}
|
|
15
14
|
declare namespace RadarScanning {
|
|
16
|
-
|
|
17
|
-
number: number;
|
|
18
|
-
trail: boolean;
|
|
19
|
-
}
|
|
15
|
+
namespace defaultProps {
|
|
16
|
+
const number: number;
|
|
17
|
+
const trail: boolean;
|
|
18
|
+
}
|
|
20
19
|
}
|
|
21
20
|
import Core from "../Core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default Spirit;
|
|
2
2
|
declare class Spirit extends Core {
|
|
3
|
-
constructor(props: any);
|
|
4
3
|
circles: any[];
|
|
4
|
+
doAfterDidMount: () => void;
|
|
5
5
|
animate: () => void;
|
|
6
6
|
createCircle: () => {
|
|
7
7
|
pos: {
|
|
@@ -13,8 +13,11 @@ declare class Spirit extends Core {
|
|
|
13
13
|
velocity: number;
|
|
14
14
|
};
|
|
15
15
|
drawCircle: (ctx: any, circle: any) => void;
|
|
16
|
+
buildContainorStyle: () => {
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
};
|
|
16
19
|
}
|
|
17
20
|
declare namespace Spirit {
|
|
18
|
-
|
|
21
|
+
const defaultProps: {};
|
|
19
22
|
}
|
|
20
23
|
import Core from "../Core";
|
|
@@ -2,7 +2,9 @@ export default Pie;
|
|
|
2
2
|
declare class Pie extends React.Component<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
state: {};
|
|
5
6
|
calculateTotal: (d: any) => number;
|
|
6
7
|
handleLegendClick: (item: any, i: any) => void;
|
|
8
|
+
render(): JSX.Element;
|
|
7
9
|
}
|
|
8
10
|
import React from "react";
|
|
@@ -2,13 +2,22 @@ export default TagCloud;
|
|
|
2
2
|
declare class TagCloud extends React.Component<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
state: {
|
|
6
|
+
dv: null;
|
|
7
|
+
height: number;
|
|
8
|
+
width: number;
|
|
9
|
+
};
|
|
5
10
|
isUnmount: boolean;
|
|
6
11
|
requestRef: number;
|
|
7
|
-
root:
|
|
8
|
-
imageMask:
|
|
12
|
+
root: undefined;
|
|
13
|
+
imageMask: undefined;
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
componentDidUpdate(preProps: any): void;
|
|
16
|
+
componentWillUnmount(): void;
|
|
9
17
|
resize: () => void;
|
|
10
18
|
saveRootRef: (node: any) => void;
|
|
11
19
|
initTagCloud: () => void;
|
|
12
20
|
renderChart: import("lodash").DebouncedFunc<(nextProps: any) => void>;
|
|
21
|
+
render(): JSX.Element;
|
|
13
22
|
}
|
|
14
23
|
import React from "react";
|
|
@@ -2,10 +2,17 @@ export default WaterWave;
|
|
|
2
2
|
declare class WaterWave extends React.Component<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
state: {
|
|
6
|
+
radio: number;
|
|
7
|
+
};
|
|
5
8
|
timer: number;
|
|
6
|
-
root:
|
|
7
|
-
node:
|
|
9
|
+
root: null;
|
|
10
|
+
node: null;
|
|
11
|
+
componentDidMount(): void;
|
|
12
|
+
componentDidUpdate(props: any): void;
|
|
13
|
+
componentWillUnmount(): void;
|
|
8
14
|
resize: () => void;
|
|
9
15
|
renderChart(type: any): void;
|
|
16
|
+
render(): JSX.Element;
|
|
10
17
|
}
|
|
11
18
|
import React from "react";
|
|
@@ -2,7 +2,12 @@ export default AutoHeightComponent;
|
|
|
2
2
|
declare class AutoHeightComponent extends React.Component<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
-
|
|
5
|
+
state: {
|
|
6
|
+
computedHeight: number;
|
|
7
|
+
};
|
|
8
|
+
root: undefined;
|
|
9
|
+
componentDidMount(): void;
|
|
6
10
|
handleRoot: (node: any) => void;
|
|
11
|
+
render(): JSX.Element;
|
|
7
12
|
}
|
|
8
13
|
import React from "react";
|
|
@@ -3,19 +3,20 @@ declare class ColorText extends React.PureComponent<any, any, any> {
|
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
5
|
copyText: () => void;
|
|
6
|
+
render(): JSX.Element;
|
|
6
7
|
}
|
|
7
8
|
declare namespace ColorText {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
namespace defaultProps {
|
|
10
|
+
const canCopy: boolean;
|
|
11
|
+
const randomSeed: number;
|
|
12
|
+
const seedOffset: number;
|
|
13
|
+
const randomColor: boolean;
|
|
14
|
+
const color: string;
|
|
15
|
+
const textPrefix: null;
|
|
16
|
+
const textPrefixStyle: null;
|
|
17
|
+
const text: string;
|
|
18
|
+
const separator: string;
|
|
19
|
+
const separatorStyle: null;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
import React from "react";
|
|
@@ -5,8 +5,18 @@ declare class Countdown extends CustomBase {
|
|
|
5
5
|
};
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
mounted: boolean;
|
|
8
|
-
timer:
|
|
8
|
+
timer: null;
|
|
9
|
+
state: {
|
|
10
|
+
day: number;
|
|
11
|
+
hour: number;
|
|
12
|
+
minute: number;
|
|
13
|
+
second: number;
|
|
14
|
+
endTime: null;
|
|
15
|
+
};
|
|
16
|
+
componentDidMount(): void;
|
|
9
17
|
doWorkWhenDidUpdate: (preProps: any, preState: any, snapshot: any) => void;
|
|
18
|
+
componentWillUnmount(): void;
|
|
10
19
|
countFun: (time: any) => void;
|
|
20
|
+
render(): JSX.Element;
|
|
11
21
|
}
|
|
12
22
|
import CustomBase from "../../framework/CustomBase";
|
|
@@ -1,14 +1,32 @@
|
|
|
1
1
|
export default DataPreviewDrawer;
|
|
2
2
|
declare class DataPreviewDrawer extends Base {
|
|
3
|
-
|
|
3
|
+
renderTitleIcon: () => any;
|
|
4
|
+
renderTitle: () => any;
|
|
5
|
+
establishCardCollectionConfig: () => {
|
|
6
|
+
list: {
|
|
7
|
+
title: {
|
|
8
|
+
icon: JSX.Element;
|
|
9
|
+
text: string;
|
|
10
|
+
};
|
|
11
|
+
items: {
|
|
12
|
+
lg: number;
|
|
13
|
+
type: string;
|
|
14
|
+
fieldData: {
|
|
15
|
+
label: string;
|
|
16
|
+
helper: string;
|
|
17
|
+
};
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
4
22
|
}
|
|
5
23
|
declare namespace DataPreviewDrawer {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
24
|
+
namespace defaultProps {
|
|
25
|
+
const title: string;
|
|
26
|
+
const icon: JSX.Element;
|
|
27
|
+
const placement: string;
|
|
28
|
+
const width: number;
|
|
29
|
+
const dataType: number;
|
|
12
30
|
}
|
|
13
31
|
}
|
|
14
32
|
import Base from "../../framework/DataDrawer/Base";
|
|
@@ -1,21 +1,37 @@
|
|
|
1
|
-
export function decorateAvatar(avatar:
|
|
1
|
+
export function decorateAvatar(avatar: null | undefined, defaultAvatarIcon: JSX.Element | undefined, showPageHeaderAvatar: boolean | undefined, dataLoading: boolean | undefined, reloading: boolean | undefined, avatarImageLoadResult: any, onImageLoadErrorCallback: any): {
|
|
2
|
+
icon: JSX.Element;
|
|
3
|
+
src?: undefined;
|
|
4
|
+
onError?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
src: any;
|
|
7
|
+
icon?: undefined;
|
|
8
|
+
onError?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
src: any;
|
|
11
|
+
onError: () => boolean;
|
|
12
|
+
icon?: undefined;
|
|
13
|
+
} | null;
|
|
2
14
|
export namespace avatarImageLoadResultCollection {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
15
|
+
const wait: number;
|
|
16
|
+
const success: number;
|
|
17
|
+
const fail: number;
|
|
6
18
|
}
|
|
7
19
|
export default DecorateAvatar;
|
|
8
20
|
declare class DecorateAvatar extends React.PureComponent<any, any, any> {
|
|
9
21
|
constructor(props: any);
|
|
22
|
+
state: {
|
|
23
|
+
avatarImageLoadResult: number;
|
|
24
|
+
};
|
|
10
25
|
onImageLoadErrorCallback: () => void;
|
|
26
|
+
render(): JSX.Element | null;
|
|
11
27
|
}
|
|
12
28
|
declare namespace DecorateAvatar {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
namespace defaultProps {
|
|
30
|
+
const avatar: null;
|
|
31
|
+
const defaultAvatarIcon: JSX.Element;
|
|
32
|
+
const showPageHeaderAvatar: boolean;
|
|
33
|
+
const dataLoading: boolean;
|
|
34
|
+
const reloading: boolean;
|
|
19
35
|
}
|
|
20
36
|
}
|
|
21
37
|
import React from "react";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export default class EditableItem extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
|
+
state: {
|
|
4
|
+
value: any;
|
|
5
|
+
editable: boolean;
|
|
6
|
+
};
|
|
3
7
|
handleChange: (e: any) => void;
|
|
4
8
|
check: () => void;
|
|
5
9
|
edit: () => void;
|
|
10
|
+
render(): JSX.Element;
|
|
6
11
|
}
|
|
7
12
|
import React from "react";
|
|
@@ -2,14 +2,15 @@ export default EditableLinkGroup;
|
|
|
2
2
|
declare class EditableLinkGroup extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace EditableLinkGroup {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const links: PropTypes.Requireable<any[]>;
|
|
10
|
+
const onAdd: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
const linkElement: PropTypes.Requireable<string | ((...args: any[]) => any)>;
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
namespace defaultProps {
|
|
13
14
|
const links_1: never[];
|
|
14
15
|
export { links_1 as links };
|
|
15
16
|
export function onAdd_1(): void;
|