antd-management-fast-component 2.6.161 → 2.6.166

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.
@@ -18,6 +18,11 @@ export class PureExtraComponent extends PureComponent<any, any, any> {
18
18
  * @param {*} message
19
19
  */
20
20
  logCallTrace(data: any, ...messages: any[]): void;
21
+ /**
22
+ * log call result
23
+ * @param {*} message
24
+ */
25
+ logCallResult(data: any, ...messages: any[]): void;
21
26
  buildOverloadErrorText(...texts: any[]): string;
22
27
  }
23
28
  export namespace PureExtraComponent {
@@ -1,8 +1,12 @@
1
1
  export class AudioUpload extends React.PureComponent<any, any, any> {
2
- static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- audioSource: any;
4
- audioUrl: any;
5
- } | null;
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
6
10
  constructor(properties: any);
7
11
  state: {
8
12
  audioSource: string;
@@ -1,8 +1,12 @@
1
1
  export class FileUpload extends React.PureComponent<any, any, any> {
2
- static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- fileSource: any;
4
- fileUrl: any;
5
- } | null;
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
6
10
  constructor(properties: any);
7
11
  state: {
8
12
  fileSource: string;
@@ -1,30 +1,12 @@
1
1
  export class ImageBox extends BaseComponent {
2
- static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- showErrorOverlay: any;
4
- src: any;
5
- aspectRatio: any;
6
- showOverlay: any;
7
- loadingEffect: any;
8
- overlayText: any;
9
- borderRadiusDefaultStyle: {
10
- borderRadius: string;
11
- overflow: string;
12
- } | {
13
- borderRadius?: undefined;
14
- overflow?: undefined;
15
- };
16
- circle: any;
17
- backgroundColor: {
18
- backgroundColor?: undefined;
19
- } | {
20
- backgroundColor: any;
21
- };
22
- showMode: any;
23
- imageBoxStyle: any;
24
- errorOverlayVisible: any;
25
- errorOverlayText: any;
26
- showErrorIcon: any;
27
- };
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
28
10
  state: {
29
11
  src: string;
30
12
  aspectRatio: number;
@@ -1,8 +1,12 @@
1
1
  export class StandardTable extends React.PureComponent<any, any, any> {
2
- static getDerivedStateFromProps(nextProperties: any): {
3
- selectedRowKeys: never[];
4
- needTotalList: any[];
5
- } | null;
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object): Object;
6
10
  constructor(properties: any);
7
11
  state: {
8
12
  selectedRowKeys: never[];
@@ -1,7 +1,12 @@
1
1
  export class TagSelect extends React.Component<any, any, any> {
2
- static getDerivedStateFromProps(nextProperties: any): {
3
- value: any;
4
- } | null;
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object): Object;
5
10
  constructor(properties: any);
6
11
  state: {
7
12
  expand: boolean;
@@ -1,8 +1,12 @@
1
1
  export class VideoUpload extends React.PureComponent<any, any, any> {
2
- static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- videoSource: any;
4
- videoUrl: any;
5
- } | null;
2
+ /**
3
+ * get derived state from props
4
+ * @static
5
+ * @param {Object} nextProperties
6
+ * @param {Object} previousState
7
+ * @returns {Object}
8
+ */
9
+ static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
6
10
  constructor(properties: any);
7
11
  state: {
8
12
  videoSource: string;