antd-management-fast-framework 2.12.14 → 2.12.18
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/components/DataPreviewDrawer/index.d.ts +12 -19
- package/es/components/DrawerExtra/index.d.ts +11 -12
- package/es/components/ElasticityExtraButton/index.d.ts +2 -4
- package/es/components/FunctionComponent/ComponentBuilder/index.d.ts +2 -2
- package/es/components/MenuWrapper/index.d.ts +6 -0
- package/es/components/ModalExtra/index.d.ts +11 -19
- package/es/components/PageExtraWrapper/index.d.ts +5 -0
- package/es/components/ShortcutNavigation/index.d.ts +3 -0
- package/es/components/TopProgressBar/index.d.ts +3 -0
- package/es/framework/Common/ReloadActionButton/index.d.ts +4 -6
- package/es/framework/DataListView/BatchAction/index.d.ts +11 -13
- package/es/framework/DataListView/EmptyCardCollection/index.d.ts +3 -0
- package/es/framework/DataOperation/Base/index.d.ts +9 -9
- package/es/framework/DataOperation/BaseView/index.d.ts +1 -1
- package/es/framework/DataOperation/BaseWindow/index.d.ts +1 -1
- package/es/framework/DataTabContainer/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/package.json +50 -50
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
export class DataPreviewDrawer extends BaseFormDrawer {
|
|
2
2
|
static open(): void;
|
|
3
3
|
constructor(properties: any);
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
getProperties: () => {
|
|
5
|
+
title: string;
|
|
6
|
+
descriptionLabel: string;
|
|
7
|
+
description: string;
|
|
8
|
+
listData: never[];
|
|
9
|
+
icon: React.JSX.Element;
|
|
10
|
+
placement: string;
|
|
11
|
+
width: number;
|
|
12
|
+
dataType: number;
|
|
13
|
+
};
|
|
9
14
|
/**
|
|
10
15
|
* 构造 Card 配置集合。
|
|
11
16
|
* @function
|
|
@@ -20,8 +25,8 @@ export class DataPreviewDrawer extends BaseFormDrawer {
|
|
|
20
25
|
lg: number;
|
|
21
26
|
type: string;
|
|
22
27
|
list: {
|
|
23
|
-
label:
|
|
24
|
-
value:
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
25
30
|
}[];
|
|
26
31
|
props: {
|
|
27
32
|
bordered: boolean;
|
|
@@ -37,17 +42,5 @@ export class DataPreviewDrawer extends BaseFormDrawer {
|
|
|
37
42
|
}[];
|
|
38
43
|
};
|
|
39
44
|
}
|
|
40
|
-
export namespace DataPreviewDrawer {
|
|
41
|
-
namespace defaultProps {
|
|
42
|
-
let title: string;
|
|
43
|
-
let descriptionLabel: string;
|
|
44
|
-
let description: string;
|
|
45
|
-
let listData: never[];
|
|
46
|
-
let icon: React.JSX.Element;
|
|
47
|
-
let placement: string;
|
|
48
|
-
let width: number;
|
|
49
|
-
let dataType: number;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
45
|
import { BaseFormDrawer } from '../../framework/DataDrawer/BaseFormDrawer';
|
|
53
46
|
import React from 'react';
|
|
@@ -3,6 +3,17 @@ export class DrawerExtra extends React.PureComponent<any, any, any> {
|
|
|
3
3
|
state: {
|
|
4
4
|
overlayVisible: boolean;
|
|
5
5
|
};
|
|
6
|
+
getProperties: () => {
|
|
7
|
+
styles: {};
|
|
8
|
+
icon: null;
|
|
9
|
+
titlePrefix: null;
|
|
10
|
+
title: null;
|
|
11
|
+
subtitle: null;
|
|
12
|
+
destroyOnClose: boolean;
|
|
13
|
+
overlayContent: null;
|
|
14
|
+
overlayButtonOpenText: string;
|
|
15
|
+
overlayButtonCloseText: string;
|
|
16
|
+
};
|
|
6
17
|
buildBodyStyle: () => {
|
|
7
18
|
position?: undefined;
|
|
8
19
|
overflowX?: undefined;
|
|
@@ -29,16 +40,4 @@ export class DrawerExtra extends React.PureComponent<any, any, any> {
|
|
|
29
40
|
renderOverlayContent: () => React.JSX.Element | null;
|
|
30
41
|
render(): React.JSX.Element;
|
|
31
42
|
}
|
|
32
|
-
export namespace DrawerExtra {
|
|
33
|
-
namespace defaultProps {
|
|
34
|
-
let icon: null;
|
|
35
|
-
let titlePrefix: null;
|
|
36
|
-
let title: null;
|
|
37
|
-
let subtitle: null;
|
|
38
|
-
let destroyOnClose: boolean;
|
|
39
|
-
let overlayContent: null;
|
|
40
|
-
let overlayButtonOpenText: string;
|
|
41
|
-
let overlayButtonCloseText: string;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
43
|
import React from 'react';
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export class ElasticityExtraButton extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export namespace ElasticityExtraButton {
|
|
7
|
-
let defaultProps: {
|
|
4
|
+
getProperties: () => {
|
|
8
5
|
handleClick(): void;
|
|
9
6
|
confirm: boolean;
|
|
10
7
|
title: string;
|
|
@@ -30,5 +27,6 @@ export namespace ElasticityExtraButton {
|
|
|
30
27
|
flag: string;
|
|
31
28
|
interimIcon: null;
|
|
32
29
|
};
|
|
30
|
+
render(): React.JSX.Element;
|
|
33
31
|
}
|
|
34
32
|
import React from 'react';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 构建按钮
|
|
3
3
|
*/
|
|
4
4
|
export function buildExtraButton({ flag, confirm, title, placement, okText, cancelText, type, size, text, icon, handleClick, hidden, danger, disabled, handleData, processing, iconProcessing, style, showIcon, }: {
|
|
5
|
-
flag?:
|
|
5
|
+
flag?: never[] | undefined;
|
|
6
6
|
confirm?: boolean | undefined;
|
|
7
7
|
title?: string | undefined;
|
|
8
8
|
placement?: string | undefined;
|
|
@@ -26,7 +26,7 @@ export function buildExtraButton({ flag, confirm, title, placement, okText, canc
|
|
|
26
26
|
* 构建按钮
|
|
27
27
|
*/
|
|
28
28
|
export function buildExtraColorPicker({ flag, value, disabled, onChange, }: {
|
|
29
|
-
flag?:
|
|
29
|
+
flag?: never[] | undefined;
|
|
30
30
|
value?: null | undefined;
|
|
31
31
|
disabled?: boolean | undefined;
|
|
32
32
|
onChange?: null | undefined;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export class ModalExtra extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
getProperties: () => {
|
|
5
|
+
icon: null;
|
|
6
|
+
titlePrefix: null;
|
|
7
|
+
title: null;
|
|
8
|
+
destroyOnClose: boolean;
|
|
9
|
+
};
|
|
4
10
|
buildBodyStyle: () => {
|
|
5
11
|
position?: undefined;
|
|
6
12
|
overflowX?: undefined;
|
|
@@ -9,28 +15,14 @@ export class ModalExtra extends React.PureComponent<any, any, any> {
|
|
|
9
15
|
overflowX: string;
|
|
10
16
|
};
|
|
11
17
|
buildStyles: () => {
|
|
12
|
-
header:
|
|
13
|
-
body:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
position: string;
|
|
18
|
-
overflowX: string;
|
|
19
|
-
};
|
|
20
|
-
footer: {};
|
|
21
|
-
mask: {};
|
|
22
|
-
wrapper: {};
|
|
18
|
+
header: any;
|
|
19
|
+
body: any;
|
|
20
|
+
footer: any;
|
|
21
|
+
mask: any;
|
|
22
|
+
wrapper: any;
|
|
23
23
|
};
|
|
24
24
|
renderPresetTitle: () => string;
|
|
25
25
|
renderOverlayControlButton: () => React.JSX.Element | null;
|
|
26
26
|
render(): React.JSX.Element;
|
|
27
27
|
}
|
|
28
|
-
export namespace ModalExtra {
|
|
29
|
-
namespace defaultProps {
|
|
30
|
-
let icon: null;
|
|
31
|
-
let titlePrefix: null;
|
|
32
|
-
let title: null;
|
|
33
|
-
let destroyOnClose: boolean;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
28
|
import React from 'react';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export class ReloadActionButton extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
getProperties: () => {
|
|
5
|
+
title: string;
|
|
6
|
+
onReload: null;
|
|
7
|
+
};
|
|
4
8
|
render(): React.JSX.Element;
|
|
5
9
|
}
|
|
6
|
-
export namespace ReloadActionButton {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
let title: string;
|
|
9
|
-
let onReload: null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
10
|
import React from 'react';
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
export class BatchAction extends React.PureComponent<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
constructor(props: any, context: any);
|
|
4
|
+
getProperties: () => {
|
|
5
|
+
type: string;
|
|
6
|
+
icon: null;
|
|
7
|
+
text: string;
|
|
8
|
+
size: string;
|
|
9
|
+
danger: boolean;
|
|
10
|
+
menus: never[];
|
|
11
|
+
onClick: null;
|
|
12
|
+
onSelect: null;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
};
|
|
4
15
|
render(): React.JSX.Element;
|
|
5
16
|
}
|
|
6
|
-
export namespace BatchAction {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
let type: string;
|
|
9
|
-
let icon: null;
|
|
10
|
-
let text: string;
|
|
11
|
-
let size: string;
|
|
12
|
-
let danger: boolean;
|
|
13
|
-
let menus: never[];
|
|
14
|
-
let onClick: null;
|
|
15
|
-
let onSelect: null;
|
|
16
|
-
let disabled: boolean;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
17
|
import React from 'react';
|
|
@@ -13,13 +13,13 @@ export class Base extends AuthorizationWrapper {
|
|
|
13
13
|
supplementLoadRequestParams: (o: any) => any;
|
|
14
14
|
buildInitialValues: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
15
15
|
metaData?: null | undefined;
|
|
16
|
-
metaListData?:
|
|
16
|
+
metaListData?: never[] | undefined;
|
|
17
17
|
metaExtra?: null | undefined;
|
|
18
18
|
metaOriginalData?: null | undefined;
|
|
19
19
|
}) => {};
|
|
20
20
|
fillInitialValuesAfterLoad: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
21
21
|
metaData?: null | undefined;
|
|
22
|
-
metaListData?:
|
|
22
|
+
metaListData?: never[] | undefined;
|
|
23
23
|
metaExtra?: null | undefined;
|
|
24
24
|
metaOriginalData?: null | undefined;
|
|
25
25
|
}) => {};
|
|
@@ -29,28 +29,28 @@ export class Base extends AuthorizationWrapper {
|
|
|
29
29
|
subjoinDataOnAfterClose: () => {};
|
|
30
30
|
doAfterSubmitSuccess: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
31
31
|
singleData?: null | undefined;
|
|
32
|
-
listData?:
|
|
32
|
+
listData?: never[] | undefined;
|
|
33
33
|
extraData?: null | undefined;
|
|
34
34
|
responseOriginalData?: null | undefined;
|
|
35
35
|
submitData?: null | undefined;
|
|
36
36
|
}) => void;
|
|
37
37
|
doOtherAfterSubmitSuccess: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
38
38
|
singleData?: null | undefined;
|
|
39
|
-
listData?:
|
|
39
|
+
listData?: never[] | undefined;
|
|
40
40
|
extraData?: null | undefined;
|
|
41
41
|
responseOriginalData?: null | undefined;
|
|
42
42
|
submitData?: null | undefined;
|
|
43
43
|
}) => void;
|
|
44
44
|
sendSubmitSuccessMessage: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
45
45
|
singleData?: null | undefined;
|
|
46
|
-
listData?:
|
|
46
|
+
listData?: never[] | undefined;
|
|
47
47
|
extraData?: null | undefined;
|
|
48
48
|
responseOriginalData?: null | undefined;
|
|
49
49
|
submitData?: null | undefined;
|
|
50
50
|
}) => void;
|
|
51
51
|
buildMessage: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
52
52
|
singleData?: null | undefined;
|
|
53
|
-
listData?:
|
|
53
|
+
listData?: never[] | undefined;
|
|
54
54
|
extraData?: null | undefined;
|
|
55
55
|
responseOriginalData?: null | undefined;
|
|
56
56
|
submitData?: null | undefined;
|
|
@@ -61,14 +61,14 @@ export class Base extends AuthorizationWrapper {
|
|
|
61
61
|
buildMessageType: () => string;
|
|
62
62
|
buildMessageText: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
63
63
|
singleData?: null | undefined;
|
|
64
|
-
listData?:
|
|
64
|
+
listData?: never[] | undefined;
|
|
65
65
|
extraData?: null | undefined;
|
|
66
66
|
responseOriginalData?: null | undefined;
|
|
67
67
|
submitData?: null | undefined;
|
|
68
68
|
}) => string;
|
|
69
69
|
sendSubmitSuccessNotification: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
70
70
|
singleData?: null | undefined;
|
|
71
|
-
listData?:
|
|
71
|
+
listData?: never[] | undefined;
|
|
72
72
|
extraData?: null | undefined;
|
|
73
73
|
responseOriginalData?: null | undefined;
|
|
74
74
|
submitData?: null | undefined;
|
|
@@ -78,7 +78,7 @@ export class Base extends AuthorizationWrapper {
|
|
|
78
78
|
buildNotificationMessage: () => string;
|
|
79
79
|
buildNotificationDescription: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
80
80
|
singleData?: null | undefined;
|
|
81
|
-
listData?:
|
|
81
|
+
listData?: never[] | undefined;
|
|
82
82
|
extraData?: null | undefined;
|
|
83
83
|
responseOriginalData?: null | undefined;
|
|
84
84
|
submitData?: null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class BaseView extends Base {
|
|
2
2
|
afterSubmitSuccess: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
3
3
|
singleData?: null | undefined;
|
|
4
|
-
listData?:
|
|
4
|
+
listData?: never[] | undefined;
|
|
5
5
|
extraData?: null | undefined;
|
|
6
6
|
responseOriginalData?: null | undefined;
|
|
7
7
|
submitData?: null | undefined;
|
|
@@ -180,7 +180,7 @@ export class BaseWindow extends Base {
|
|
|
180
180
|
}) => void;
|
|
181
181
|
afterSubmitSuccess: ({ singleData, listData, extraData, responseOriginalData, submitData, }: {
|
|
182
182
|
singleData?: null | undefined;
|
|
183
|
-
listData?:
|
|
183
|
+
listData?: never[] | undefined;
|
|
184
184
|
extraData?: null | undefined;
|
|
185
185
|
responseOriginalData?: null | undefined;
|
|
186
186
|
submitData?: null | undefined;
|
|
@@ -27,7 +27,7 @@ export class DataTabContainer extends DataLoad {
|
|
|
27
27
|
doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
|
|
28
28
|
fillInitialValuesAfterLoad: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
29
29
|
metaData?: null | undefined;
|
|
30
|
-
metaListData?:
|
|
30
|
+
metaListData?: never[] | undefined;
|
|
31
31
|
metaExtra?: null | undefined;
|
|
32
32
|
metaOriginalData?: null | undefined;
|
|
33
33
|
}) => null;
|