antd-management-fast-component 2.1.19 → 2.1.22
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Refined PureComponent, it is usually used in load remote api scenarios
|
|
3
3
|
*/
|
|
4
4
|
export class AbstractComponent extends Component<any, any, any> {
|
|
5
|
-
static getDerivedStateFromProps(
|
|
5
|
+
static getDerivedStateFromProps(nextProperties: any, previousState: any): null;
|
|
6
6
|
constructor(properties: any);
|
|
7
7
|
mounted: boolean;
|
|
8
8
|
preventRender: boolean;
|
|
@@ -90,10 +90,12 @@ export class AbstractComponent extends Component<any, any, any> {
|
|
|
90
90
|
doWhenCatchError: (error: any, info: any) => void;
|
|
91
91
|
doWorkBeforeUnmount: () => void;
|
|
92
92
|
doWorkAfterUnmount: () => void;
|
|
93
|
-
dispatchApi: ({ type, payload, alias }: {
|
|
93
|
+
dispatchApi: ({ type, payload, alias, pretreatmentSuccessCallback, pretreatmentFailCallback, }: {
|
|
94
94
|
type: any;
|
|
95
95
|
payload: any;
|
|
96
96
|
alias?: string | undefined;
|
|
97
|
+
pretreatmentSuccessCallback?: null | undefined;
|
|
98
|
+
pretreatmentFailCallback?: null | undefined;
|
|
97
99
|
}) => any;
|
|
98
100
|
goToPath: (path: any, withProgress?: boolean) => void;
|
|
99
101
|
redirectToPath: (path: any, withProgress?: boolean) => void;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export class VerticalBox extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
triggerClick: (event: any) => void;
|
|
4
5
|
render(): React.JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
export namespace VerticalBox {
|
|
7
8
|
namespace defaultProps {
|
|
8
|
-
let fitWidth: boolean;
|
|
9
9
|
let style: {};
|
|
10
10
|
let bodyStyle: {};
|
|
11
11
|
let align: string;
|
|
12
12
|
let alignJustify: string;
|
|
13
|
+
let fillWidth: boolean;
|
|
14
|
+
let onClick: null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
import React from 'react';
|