antd-management-fast-component 2.6.166 → 2.6.168
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/bases/AbstractComponent/index.d.ts +29 -3
- package/es/components/AudioUpload/index.d.ts +4 -4
- package/es/components/CustomGrid/index.d.ts +0 -2
- package/es/components/DescriptionGrid/index.d.ts +0 -2
- package/es/components/DisplayCopyData/index.d.ts +0 -2
- package/es/components/ElasticityButton/index.d.ts +0 -1
- package/es/components/ElasticityDropdown/index.d.ts +0 -1
- package/es/components/ElasticityListViewItemExtra/index.d.ts +0 -2
- package/es/components/ElasticityMenu/index.d.ts +0 -2
- package/es/components/ElasticityMenuHeader/index.d.ts +0 -2
- package/es/components/ElasticityRadioGroup/index.d.ts +0 -2
- package/es/components/ElasticitySelectButton/BaseElasticitySelectButton/index.d.ts +0 -1
- package/es/components/ElasticityTagList/index.d.ts +0 -2
- package/es/components/ElasticityTree/index.d.ts +0 -2
- package/es/components/ElasticityTreeSelect/index.d.ts +0 -2
- package/es/components/FieldExtra/SelectFieldExtra/BaseSelectFieldExtra/index.d.ts +0 -1
- package/es/components/FileUpload/index.d.ts +4 -4
- package/es/components/FlexRadio/index.d.ts +0 -2
- package/es/components/FlexSelect/index.d.ts +0 -2
- package/es/components/HiddenWrapper/index.d.ts +0 -1
- package/es/components/ImageBox/index.d.ts +4 -6
- package/es/components/RowExpandTable/index.d.ts +0 -2
- package/es/components/StandardTable/index.d.ts +4 -4
- package/es/components/SyntaxHighlighter/index.d.ts +0 -2
- package/es/components/TagSelect/index.d.ts +4 -4
- package/es/components/VideoUpload/index.d.ts +4 -4
- package/es/index.js +2 -2
- package/package.json +20 -20
|
@@ -77,12 +77,28 @@ export class AbstractComponent extends Component<any, any, any> {
|
|
|
77
77
|
doWorkWhenCheckAuthenticationFail: () => void;
|
|
78
78
|
doWorkWhenCheckAuthorizationFail: () => void;
|
|
79
79
|
doOtherCheckComponentUpdate: () => null;
|
|
80
|
+
/**
|
|
81
|
+
* 挂载完成后进行调整,触发 doWorkAdjustDidMount 前执行,默认为空逻辑,可根据需要重载。
|
|
82
|
+
* @function
|
|
83
|
+
*/
|
|
80
84
|
doWorkBeforeAdjustDidMount: () => void;
|
|
85
|
+
/**
|
|
86
|
+
* 挂载完成后进行调整,触发 doWorkBeforeAdjustDidMount 后,触发 doWorkAfterAdjustDidMount 前执行,默认为空逻辑,可根据需要重载。
|
|
87
|
+
* @function
|
|
88
|
+
*/
|
|
81
89
|
doWorkAdjustDidMount: () => void;
|
|
90
|
+
/**
|
|
91
|
+
* 挂载完成后进行调整,触发 doWorkAdjustDidMount 后执行,默认为空逻辑,可根据需要重载。
|
|
92
|
+
* @function
|
|
93
|
+
*/
|
|
82
94
|
doWorkAfterAdjustDidMount: () => void;
|
|
83
95
|
doWorkAfterDidMount: () => void;
|
|
84
96
|
doLoadRemoteRequest: () => void;
|
|
85
97
|
doOtherRemoteRequest: () => void;
|
|
98
|
+
/**
|
|
99
|
+
* 挂载完成后触发执行。
|
|
100
|
+
* @function
|
|
101
|
+
*/
|
|
86
102
|
doOtherWorkAfterDidMount: () => void;
|
|
87
103
|
doWorkBeforeUpdate: (nextProperties: any, nextState: any) => void;
|
|
88
104
|
doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
|
|
@@ -124,16 +140,26 @@ export class AbstractComponent extends Component<any, any, any> {
|
|
|
124
140
|
* @param {*} message
|
|
125
141
|
*/
|
|
126
142
|
logCallTrace(data: any, ...messages: any[]): void;
|
|
143
|
+
/**
|
|
144
|
+
* log call result
|
|
145
|
+
* @param {*} message
|
|
146
|
+
*/
|
|
147
|
+
logCallResult(data: any, ...messages: any[]): void;
|
|
127
148
|
buildOverloadErrorText(...texts: any[]): string;
|
|
128
|
-
|
|
149
|
+
/**
|
|
150
|
+
* 渲染主入口。
|
|
151
|
+
* @function
|
|
152
|
+
* @returns {Object} 渲染结果
|
|
153
|
+
*/
|
|
154
|
+
renderFurther(): Object;
|
|
129
155
|
setPageValue(o: any): void;
|
|
130
156
|
openPreventRender(): void;
|
|
131
157
|
closePreventRender(triggerRender?: boolean): void;
|
|
132
158
|
/**
|
|
133
159
|
* render the practical view
|
|
134
160
|
*/
|
|
135
|
-
renderPracticalView(): null;
|
|
136
|
-
render(): null;
|
|
161
|
+
renderPracticalView(): Object | null;
|
|
162
|
+
render(): Object | null;
|
|
137
163
|
}
|
|
138
164
|
export namespace AbstractComponent {
|
|
139
165
|
namespace defaultProps {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class AudioUpload extends React.PureComponent<any, any, any> {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
|
|
10
10
|
constructor(properties: any);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class CustomGrid extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element | null;
|
|
3
2
|
}
|
|
4
3
|
export namespace CustomGrid {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -8,4 +7,3 @@ export namespace CustomGrid {
|
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
9
|
import { BaseComponent } from '../../bases';
|
|
11
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class DescriptionGrid extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element | null;
|
|
3
2
|
}
|
|
4
3
|
export namespace DescriptionGrid {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -8,4 +7,3 @@ export namespace DescriptionGrid {
|
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
9
|
import { BaseComponent } from '../../bases';
|
|
11
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityListViewItemExtra extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityListViewItemExtra {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -10,4 +9,3 @@ export namespace ElasticityListViewItemExtra {
|
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
import { BaseComponent } from '../../bases';
|
|
13
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityMenu extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityMenu {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -9,4 +8,3 @@ export namespace ElasticityMenu {
|
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
import { BaseComponent } from '../../bases';
|
|
12
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityMenuHeader extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityMenuHeader {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -10,4 +9,3 @@ export namespace ElasticityMenuHeader {
|
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
import { BaseComponent } from '../../bases';
|
|
13
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityRadioGroup extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityRadioGroup {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -16,4 +15,3 @@ export namespace ElasticityRadioGroup {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
import { BaseComponent } from '../../bases';
|
|
19
|
-
import React from 'react';
|
|
@@ -16,7 +16,6 @@ export class BaseElasticitySelectButton extends BaseComponent {
|
|
|
16
16
|
renderPresetButton: () => React.JSX.Element;
|
|
17
17
|
renderPresetSelector: () => never;
|
|
18
18
|
renderPresetOther: () => never;
|
|
19
|
-
renderFurther(): React.JSX.Element;
|
|
20
19
|
}
|
|
21
20
|
export namespace BaseElasticitySelectButton {
|
|
22
21
|
namespace defaultProps {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityTagList extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element | null;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityTagList {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -7,4 +6,3 @@ export namespace ElasticityTagList {
|
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
8
|
import { BaseComponent } from '../../bases';
|
|
10
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityTree extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityTree {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -10,4 +9,3 @@ export namespace ElasticityTree {
|
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
import { BaseComponent } from '../../bases';
|
|
13
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class ElasticityTreeSelect extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace ElasticityTreeSelect {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -12,4 +11,3 @@ export namespace ElasticityTreeSelect {
|
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
import { BaseComponent } from '../../bases';
|
|
15
|
-
import React from 'react';
|
|
@@ -18,7 +18,6 @@ export class BaseSelectFieldExtra extends BaseComponent {
|
|
|
18
18
|
renderPresetSelector: () => never;
|
|
19
19
|
renderPresetField: () => React.JSX.Element;
|
|
20
20
|
renderPresetOther: () => never;
|
|
21
|
-
renderFurther(): React.JSX.Element;
|
|
22
21
|
}
|
|
23
22
|
export namespace BaseSelectFieldExtra {
|
|
24
23
|
namespace defaultProps {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class FileUpload extends React.PureComponent<any, any, any> {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
|
|
10
10
|
constructor(properties: any);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class FlexRadio extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace FlexRadio {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -18,4 +17,3 @@ export namespace FlexRadio {
|
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
import { BaseComponent } from '../../bases';
|
|
21
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class FlexSelect extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace FlexSelect {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -16,4 +15,3 @@ export namespace FlexSelect {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
import { BaseComponent } from '../../bases';
|
|
19
|
-
import React from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class ImageBox extends BaseComponent {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
|
|
10
10
|
state: {
|
|
@@ -36,7 +36,6 @@ export class ImageBox extends BaseComponent {
|
|
|
36
36
|
onImageLoadSuccess(): void;
|
|
37
37
|
onImageError(): void;
|
|
38
38
|
onImageClick(): void;
|
|
39
|
-
renderFurther(): React.JSX.Element | null;
|
|
40
39
|
}
|
|
41
40
|
export namespace ImageBox {
|
|
42
41
|
namespace defaultProps {
|
|
@@ -46,4 +45,3 @@ export namespace ImageBox {
|
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
import { BaseComponent } from '../../bases';
|
|
49
|
-
import React from 'react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class RowExpandTable extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace RowExpandTable {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -7,4 +6,3 @@ export namespace RowExpandTable {
|
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
8
|
import { BaseComponent } from '../../bases';
|
|
10
|
-
import React from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class StandardTable extends React.PureComponent<any, any, any> {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object): Object;
|
|
10
10
|
constructor(properties: any);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export class SyntaxHighlighter extends BaseComponent {
|
|
2
|
-
renderFurther(): React.JSX.Element;
|
|
3
2
|
}
|
|
4
3
|
export namespace SyntaxHighlighter {
|
|
5
4
|
namespace defaultProps {
|
|
@@ -10,4 +9,3 @@ export namespace SyntaxHighlighter {
|
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
import { BaseComponent } from '../../bases';
|
|
13
|
-
import React from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class TagSelect extends React.Component<any, any, any> {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object): Object;
|
|
10
10
|
constructor(properties: any);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class VideoUpload extends React.PureComponent<any, any, any> {
|
|
2
2
|
/**
|
|
3
|
-
* get derived state from props
|
|
3
|
+
* get derived state from props。
|
|
4
4
|
* @static
|
|
5
|
-
* @param {Object} nextProperties
|
|
6
|
-
* @param {Object} previousState
|
|
7
|
-
* @returns {Object}
|
|
5
|
+
* @param {Object} nextProperties 即将更改的属性值
|
|
6
|
+
* @param {Object} previousState 之前的 state 值
|
|
7
|
+
* @returns {Object} 更新后的 state 值
|
|
8
8
|
*/
|
|
9
9
|
static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
|
|
10
10
|
constructor(properties: any);
|