antd-management-fast-framework 2.1.11 → 2.1.13
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/ApplicationWrapper/index.d.ts +2 -1
- package/es/components/DataPreviewDrawer/index.d.ts +3 -2
- package/es/components/DrawerExtra/index.d.ts +30 -0
- package/es/components/ElasticityExtraButton/index.d.ts +33 -0
- package/es/components/LoadingOverlay/index.d.ts +7 -1
- package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +3 -2
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +7 -8
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +7 -7
- package/es/components/ModalExtra/index.d.ts +6 -0
- package/es/components/PageExtraWrapper/index.d.ts +6 -0
- package/es/components/ReloadAnimalPrompt/index.d.ts +14 -0
- package/es/components/TopProgressBar/index.d.ts +2 -1
- package/es/components/index.d.ts +3 -0
- package/es/customConfig/constants.d.ts +6 -0
- package/es/customConfig/index.d.ts +1 -0
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +2 -2
- package/es/framework/Common/InternalBuild/index.d.ts +6 -5
- package/es/framework/Common/InternalFlow/index.d.ts +65 -40
- package/es/framework/Common/InternalLayout/index.d.ts +6 -5
- package/es/framework/Common/InternalTabFlow/index.d.ts +13 -3
- package/es/framework/Common/ReloadActionButton/index.d.ts +12 -0
- package/es/framework/Core/index.d.ts +32 -5
- package/es/framework/DataDrawer/Base/index.d.ts +19 -17
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +3 -10
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +0 -1
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +0 -1
- package/es/framework/DataForm/BaseAddForm/index.d.ts +14 -7
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +11 -2
- package/es/framework/DataListView/Base/index.d.ts +42 -32
- package/es/framework/DataListView/BatchAction/index.d.ts +3 -2
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +2 -1
- package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -1
- package/es/framework/DataListView/DensityAction/index.d.ts +1 -1
- package/es/framework/DataListView/EmptyCardCollection/index.d.ts +9 -0
- package/es/framework/DataListView/RefreshButton/index.d.ts +12 -0
- package/es/framework/DataListView/ResetButton/index.d.ts +12 -0
- package/es/framework/DataListView/SearchButton/index.d.ts +12 -0
- package/es/framework/DataMenuContainer/index.d.ts +4 -3
- package/es/framework/DataModal/Base/index.d.ts +11 -16
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +0 -1
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -7
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +1 -7
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +4 -9
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +3 -1
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +38 -34
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +36 -7
- package/es/framework/DataOperation/BaseWindow/index.d.ts +35 -30
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +3 -1
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +32 -31
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +26 -7
- package/es/framework/DataSingleView/DataCore/index.d.ts +7 -7
- package/es/framework/DataSingleView/DataLoad/index.d.ts +0 -5
- package/es/framework/DataTabContainer/index.d.ts +1 -9
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +3 -2
- package/es/index.css +7 -6
- package/es/index.js +2 -2
- package/es/modelBuilders/currentOperator.d.ts +1 -0
- package/es/modelBuilders/entrance.d.ts +1 -0
- package/es/modelBuilders/{progressControl.d.ts → progressBarControl.d.ts} +3 -2
- package/es/modelBuilders/{remoteLoadingControl.d.ts → reloadAnimalPromptControl.d.ts} +8 -5
- package/es/modelBuilders/schedulingControl.d.ts +1 -0
- package/es/modelBuilders/switchControl.d.ts +56 -0
- package/es/modelBuilders/tabControl.d.ts +38 -0
- package/es/utils/entranceAssist.d.ts +16 -0
- package/es/utils/index.d.ts +3 -2
- package/es/utils/interfaceSettingAssist.d.ts +7 -5
- package/es/utils/progressBarControlAssist.d.ts +10 -0
- package/es/utils/reloadAnimalPromptControlAssist.d.ts +17 -0
- package/es/utils/switchControlAssist.d.ts +38 -0
- package/es/utils/tabControlAssist.d.ts +17 -0
- package/package.json +51 -50
- package/es/utils/progressControlAssist.d.ts +0 -10
- package/es/utils/remoteLoadingControlAssist.d.ts +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class Base extends BaseWindow {
|
|
2
|
-
constructor(properties: any);
|
|
2
|
+
constructor(properties: any, visibleFlag: any);
|
|
3
3
|
contentWrapperType: string;
|
|
4
4
|
state: {
|
|
5
5
|
title: string;
|
|
@@ -10,6 +10,8 @@ export class Base extends BaseWindow {
|
|
|
10
10
|
showBottomBar: boolean;
|
|
11
11
|
submitApiPath: string;
|
|
12
12
|
placement: string;
|
|
13
|
+
overlayButtonOpenText: string;
|
|
14
|
+
overlayButtonCloseText: string;
|
|
13
15
|
errorFieldName: string;
|
|
14
16
|
loadApiPath: string;
|
|
15
17
|
pageTitle: string;
|
|
@@ -18,38 +20,38 @@ export class Base extends BaseWindow {
|
|
|
18
20
|
metaExtra: null;
|
|
19
21
|
metaListData: never[];
|
|
20
22
|
metaOriginalData: null;
|
|
21
|
-
processing: boolean;
|
|
22
|
-
reloading: boolean;
|
|
23
|
-
searching: boolean;
|
|
24
|
-
refreshing: boolean;
|
|
25
|
-
paging: boolean;
|
|
26
23
|
firstLoadSuccess: boolean;
|
|
27
24
|
loadSuccess: boolean;
|
|
28
25
|
urlParams: null;
|
|
29
26
|
externalData: null;
|
|
30
27
|
};
|
|
31
|
-
onClose: () => void;
|
|
32
28
|
buildTitlePrevText: () => string;
|
|
33
29
|
buildTitleText: () => string;
|
|
34
30
|
buildTitleSubText: () => string;
|
|
35
|
-
renderPresetTitleIcon: () => JSX.Element;
|
|
36
|
-
renderPresetTitle: () => string;
|
|
31
|
+
renderPresetTitleIcon: () => React.JSX.Element;
|
|
37
32
|
buildFormLayout: () => string;
|
|
38
|
-
renderPresetForm: () => JSX.Element;
|
|
33
|
+
renderPresetForm: () => React.JSX.Element;
|
|
39
34
|
establishCardCollectionConfig: () => null;
|
|
40
35
|
renderPresetFormContent: () => any;
|
|
41
|
-
renderPresetContentContainor: () => JSX.Element;
|
|
42
|
-
renderPresetCloseButton: (option: any) => JSX.Element;
|
|
36
|
+
renderPresetContentContainor: () => React.JSX.Element;
|
|
37
|
+
renderPresetCloseButton: (option: any) => React.JSX.Element;
|
|
43
38
|
buildBottomBarInnerExtraConfigList: () => never[];
|
|
44
39
|
buildBottomBarInnerDefaultConfigList: () => {
|
|
45
40
|
buildType: string;
|
|
46
41
|
}[];
|
|
47
42
|
buildBottomBarInnerLeftItemConfigList: () => never[];
|
|
48
43
|
buildBottomBarInnerRightItemConfigList: () => any[];
|
|
49
|
-
renderPresetBottomBarRightBox: () => JSX.Element[] | null;
|
|
50
|
-
renderPresetBottomBarLeftBox: () => JSX.Element[] | null;
|
|
51
|
-
renderPresetBottomBarInnerBox: (configList: any) => JSX.Element[] | null;
|
|
52
|
-
renderPresetBottomBar: () => JSX.Element;
|
|
53
|
-
|
|
44
|
+
renderPresetBottomBarRightBox: () => React.JSX.Element[] | null;
|
|
45
|
+
renderPresetBottomBarLeftBox: () => React.JSX.Element[] | null;
|
|
46
|
+
renderPresetBottomBarInnerBox: (configList: any) => React.JSX.Element[] | null;
|
|
47
|
+
renderPresetBottomBar: () => React.JSX.Element;
|
|
48
|
+
renderOverlayContent: () => null;
|
|
49
|
+
renderFurther(): React.JSX.Element;
|
|
50
|
+
}
|
|
51
|
+
export namespace Base {
|
|
52
|
+
namespace defaultProps {
|
|
53
|
+
const flag: string;
|
|
54
|
+
}
|
|
54
55
|
}
|
|
55
56
|
import { BaseWindow } from '../../DataOperation/BaseWindow';
|
|
57
|
+
import React from 'react';
|
|
@@ -2,18 +2,11 @@ export class BaseAddDrawer extends BaseNeedlessLoadDrawer {
|
|
|
2
2
|
adjustWhenDidMount: () => void;
|
|
3
3
|
buildBottomBarInnerDefaultConfigList: () => ({
|
|
4
4
|
buildType: string;
|
|
5
|
-
|
|
6
|
-
icon: JSX.Element;
|
|
7
|
-
text: string;
|
|
8
|
-
disabled: any;
|
|
9
|
-
handleClick: (event: any) => void;
|
|
5
|
+
component: React.JSX.Element;
|
|
10
6
|
} | {
|
|
11
7
|
buildType: string;
|
|
12
|
-
|
|
13
|
-
icon?: undefined;
|
|
14
|
-
text?: undefined;
|
|
15
|
-
disabled?: undefined;
|
|
16
|
-
handleClick?: undefined;
|
|
8
|
+
component?: undefined;
|
|
17
9
|
})[];
|
|
18
10
|
}
|
|
19
11
|
import { BaseNeedlessLoadDrawer } from '../BaseNeedlessLoadDrawer';
|
|
12
|
+
import React from 'react';
|
|
@@ -11,11 +11,6 @@ export class BaseAddForm extends DataCore {
|
|
|
11
11
|
metaExtra: null;
|
|
12
12
|
metaListData: never[];
|
|
13
13
|
metaOriginalData: null;
|
|
14
|
-
processing: boolean;
|
|
15
|
-
reloading: boolean;
|
|
16
|
-
searching: boolean;
|
|
17
|
-
refreshing: boolean;
|
|
18
|
-
paging: boolean;
|
|
19
14
|
firstLoadSuccess: boolean;
|
|
20
15
|
loadSuccess: boolean;
|
|
21
16
|
urlParams: null;
|
|
@@ -26,9 +21,21 @@ export class BaseAddForm extends DataCore {
|
|
|
26
21
|
afterFillForm: (initialValues: any) => void;
|
|
27
22
|
handleFormReset: () => void;
|
|
28
23
|
supplementSubmitRequestParams: (o: any) => any;
|
|
29
|
-
|
|
24
|
+
afterCheckSubmitRequestParams: (o: any) => any;
|
|
25
|
+
execSubmitApi: ({ values, successCallback, failCallback, completeCallback, }: {
|
|
26
|
+
values?: {} | undefined;
|
|
27
|
+
successCallback?: null | undefined;
|
|
28
|
+
failCallback?: null | undefined;
|
|
29
|
+
completeCallback?: null | undefined;
|
|
30
|
+
}) => void;
|
|
31
|
+
validate: ({ successCallback, failCallback, completeCallback, }: {
|
|
32
|
+
successCallback?: null | undefined;
|
|
33
|
+
failCallback?: null | undefined;
|
|
34
|
+
completeCallback?: null | undefined;
|
|
35
|
+
}) => void;
|
|
30
36
|
buildInitialValues: () => {};
|
|
31
37
|
fillDefaultInitialValues: () => {};
|
|
32
|
-
renderPresetModalInner: () => JSX.Element;
|
|
38
|
+
renderPresetModalInner: () => React.JSX.Element;
|
|
33
39
|
}
|
|
34
40
|
import { DataCore } from '../../DataSingleView/DataCore';
|
|
41
|
+
import React from 'react';
|
|
@@ -3,7 +3,16 @@ export class BaseUpdateForm extends DataLoad {
|
|
|
3
3
|
handleFormReset: () => void;
|
|
4
4
|
supplementSubmitRequestParams: (o: any) => any;
|
|
5
5
|
afterCheckSubmitRequestParams: (o: any) => any;
|
|
6
|
-
execSubmitApi: (values
|
|
7
|
-
|
|
6
|
+
execSubmitApi: ({ values, successCallback, failCallback, completeCallback, }: {
|
|
7
|
+
values?: {} | undefined;
|
|
8
|
+
successCallback?: null | undefined;
|
|
9
|
+
failCallback?: null | undefined;
|
|
10
|
+
completeCallback?: null | undefined;
|
|
11
|
+
}) => void;
|
|
12
|
+
validate: ({ successCallback, failCallback, completeCallback, }: {
|
|
13
|
+
successCallback?: null | undefined;
|
|
14
|
+
failCallback?: null | undefined;
|
|
15
|
+
completeCallback?: null | undefined;
|
|
16
|
+
}) => void;
|
|
8
17
|
}
|
|
9
18
|
import { DataLoad } from '../../DataSingleView/DataLoad';
|
|
@@ -5,7 +5,7 @@ export class Base extends AuthorizationWrapper {
|
|
|
5
5
|
*/
|
|
6
6
|
useRemotePagination: boolean;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟, 默认 true
|
|
9
9
|
*/
|
|
10
10
|
useFrontendPagination: boolean;
|
|
11
11
|
showSearchForm: boolean;
|
|
@@ -15,7 +15,14 @@ export class Base extends AuthorizationWrapper {
|
|
|
15
15
|
columnOperateVisible: boolean;
|
|
16
16
|
columnOperateWidth: number;
|
|
17
17
|
columnOperateFixed: string;
|
|
18
|
+
/**
|
|
19
|
+
* 显示选择按钮
|
|
20
|
+
*/
|
|
18
21
|
showListViewItemActionSelect: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 使用表格密度配置
|
|
24
|
+
*/
|
|
25
|
+
useTableDensityAction: boolean;
|
|
19
26
|
lastLoadParams: any;
|
|
20
27
|
columnsOtherConfig: any[];
|
|
21
28
|
state: any;
|
|
@@ -49,9 +56,10 @@ export class Base extends AuthorizationWrapper {
|
|
|
49
56
|
handleSearchReset: () => void;
|
|
50
57
|
handleAdditionalSearchReset: () => void;
|
|
51
58
|
handleSearch: () => void;
|
|
59
|
+
filterFormValues: any;
|
|
52
60
|
getSearchCard: () => any;
|
|
53
|
-
buildSearchCardContent: (config: any) => JSX.Element | null;
|
|
54
|
-
buildSearchCardContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
|
|
61
|
+
buildSearchCardContent: (config: any) => React.JSX.Element | null;
|
|
62
|
+
buildSearchCardContentItem: (contentItem: any, contentIndex: any) => React.JSX.Element;
|
|
55
63
|
establishSearchCardConfig: () => {
|
|
56
64
|
list: ({
|
|
57
65
|
lg: number;
|
|
@@ -61,18 +69,18 @@ export class Base extends AuthorizationWrapper {
|
|
|
61
69
|
} | {
|
|
62
70
|
lg: number;
|
|
63
71
|
type: string;
|
|
64
|
-
component: JSX.Element;
|
|
72
|
+
component: React.JSX.Element;
|
|
65
73
|
dateRangeFieldName?: undefined;
|
|
66
74
|
})[];
|
|
67
75
|
};
|
|
68
|
-
buildSearchCardButtonCore: () => JSX.Element;
|
|
69
|
-
buildSearchCardButton: (ColMd?: number) => JSX.Element;
|
|
70
|
-
buildSearchCardRangePickerCore: (dateRangeFieldName: any, rangePickerProperties?: null) => JSX.Element;
|
|
71
|
-
buildSearchCardRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProperties?: null) => JSX.Element;
|
|
72
|
-
buildSearchCardRow: () => JSX.Element | null;
|
|
76
|
+
buildSearchCardButtonCore: () => React.JSX.Element;
|
|
77
|
+
buildSearchCardButton: (ColMd?: number) => React.JSX.Element;
|
|
78
|
+
buildSearchCardRangePickerCore: (dateRangeFieldName: any, rangePickerProperties?: null) => React.JSX.Element;
|
|
79
|
+
buildSearchCardRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProperties?: null) => React.JSX.Element;
|
|
80
|
+
buildSearchCardRow: () => React.JSX.Element | null;
|
|
73
81
|
fillSearchCardInitialValues: () => {};
|
|
74
|
-
buildSearchCard: () => JSX.Element | null;
|
|
75
|
-
renderPresetForm: () => JSX.Element | null;
|
|
82
|
+
buildSearchCard: () => React.JSX.Element | null;
|
|
83
|
+
renderPresetForm: () => React.JSX.Element | null;
|
|
76
84
|
establishTableAdditionalConfig: () => {};
|
|
77
85
|
establishTableExpandableConfig: () => null;
|
|
78
86
|
restoreColumnsOtherConfigArray: () => void;
|
|
@@ -90,14 +98,13 @@ export class Base extends AuthorizationWrapper {
|
|
|
90
98
|
renderPresetTable: (config: any) => null;
|
|
91
99
|
renderPresetAlertContent: () => string;
|
|
92
100
|
renderPresetAlertOption: () => void;
|
|
93
|
-
renderPresetAboveTable: () => JSX.Element | null;
|
|
101
|
+
renderPresetAboveTable: () => React.JSX.Element | null;
|
|
94
102
|
establishDataContainerExtraActionCollectionConfig: () => never[];
|
|
95
103
|
establishDataContainerExtraAffixConfig: () => {};
|
|
96
104
|
buildDataContainerExtraActionCollection: () => any;
|
|
97
|
-
renderPresetExtraActionView: () => JSX.Element | null;
|
|
105
|
+
renderPresetExtraActionView: () => React.JSX.Element | null;
|
|
98
106
|
renderPresetBatchActionMenu: () => never[];
|
|
99
|
-
renderPresetBatchAction: () => JSX.Element | null;
|
|
100
|
-
getInitialTabActiveKey: () => any;
|
|
107
|
+
renderPresetBatchAction: () => React.JSX.Element | null;
|
|
101
108
|
onPageHeaderAvatarLoadError: () => void;
|
|
102
109
|
establishViewDataSource: () => null;
|
|
103
110
|
adjustViewDataSource: () => null;
|
|
@@ -127,34 +134,35 @@ export class Base extends AuthorizationWrapper {
|
|
|
127
134
|
* @param {*} pagination
|
|
128
135
|
* @param {*} filtersArg
|
|
129
136
|
* @param {*} sorter
|
|
137
|
+
* @param {*} extra
|
|
130
138
|
*/
|
|
131
|
-
handleStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
139
|
+
handleStandardTableChange: (pagination: any, filtersArgument: any, sorter: any, extra: any) => void;
|
|
132
140
|
/**
|
|
133
141
|
* 配置额外的StandardTable切换页面时需要引发的事项
|
|
134
142
|
* @param {*} pagination
|
|
135
143
|
* @param {*} filtersArg
|
|
136
144
|
* @param {*} sorter
|
|
145
|
+
* @param {*} extra
|
|
137
146
|
*/
|
|
138
|
-
handleAdditionalStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
147
|
+
handleAdditionalStandardTableChange: (pagination: any, filtersArgument: any, sorter: any, extra: any) => void;
|
|
139
148
|
/**
|
|
140
149
|
* 配置Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
141
|
-
* @param {*}
|
|
142
|
-
* @param {*}
|
|
143
|
-
* @param {*} sorter
|
|
150
|
+
* @param {*} page
|
|
151
|
+
* @param {*} size
|
|
144
152
|
*/
|
|
145
|
-
handlePaginationChange: (page: any,
|
|
153
|
+
handlePaginationChange: (page: any, size: any) => void;
|
|
146
154
|
/**
|
|
147
155
|
* 配置额外的Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
148
156
|
* @param {*} pagination
|
|
149
157
|
* @param {*} filtersArg
|
|
150
158
|
* @param {*} sorter
|
|
151
159
|
*/
|
|
152
|
-
handleAdditionalPaginationChange: (page: any,
|
|
160
|
+
handleAdditionalPaginationChange: (page: any, size: any) => void;
|
|
153
161
|
handlePaginationShowSizeChange: (current: any, size: any) => void;
|
|
154
162
|
establishPageHeaderExtraContentConfig: () => null;
|
|
155
|
-
buildPaginationBar: () => JSX.Element;
|
|
156
|
-
renderPresetCardExtraAction: () => JSX.Element;
|
|
157
|
-
renderPresetListViewItem: (record: any, index: any) => JSX.Element;
|
|
163
|
+
buildPaginationBar: () => React.JSX.Element;
|
|
164
|
+
renderPresetCardExtraAction: () => React.JSX.Element;
|
|
165
|
+
renderPresetListViewItem: (record: any, index: any) => React.JSX.Element;
|
|
158
166
|
renderPresetListViewItemInner: (record: any, index: any) => null;
|
|
159
167
|
renderPresetListViewItemExtra: (record: any, index: any) => null;
|
|
160
168
|
renderPresetListViewItemActions: (record: any, index: any) => any[] | null;
|
|
@@ -162,19 +170,21 @@ export class Base extends AuthorizationWrapper {
|
|
|
162
170
|
renderPresetListViewItemActionSelect: (record: any, index: any) => null;
|
|
163
171
|
renderPresetListViewItemLayout: () => string;
|
|
164
172
|
renderPresetListViewSize: () => string;
|
|
165
|
-
renderPresetListView: () => JSX.Element;
|
|
173
|
+
renderPresetListView: () => React.JSX.Element;
|
|
166
174
|
/**
|
|
167
175
|
* 构建分页视图
|
|
168
176
|
* frontendPagination配置仅用在前台模拟分页时
|
|
169
177
|
*/
|
|
170
|
-
renderPresetTableView: () => JSX.Element;
|
|
171
|
-
renderPresetCardCollectionView: () => JSX.Element;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
178
|
+
renderPresetTableView: () => React.JSX.Element;
|
|
179
|
+
renderPresetCardCollectionView: () => React.JSX.Element;
|
|
180
|
+
renderPresetCustomItemView: (item: any) => null;
|
|
181
|
+
renderPresetCustomView: () => React.JSX.Element;
|
|
182
|
+
renderPresetPaginationView: () => React.JSX.Element;
|
|
183
|
+
renderPresetListMainView: () => React.JSX.Element | null;
|
|
184
|
+
renderPresetContentArea: () => React.JSX.Element;
|
|
175
185
|
establishPageContentLayoutConfig: () => {};
|
|
176
186
|
establishListItemDropdownConfig: (record: any) => null;
|
|
177
|
-
renderPresetListItemDropdown: (record: any) => JSX.Element;
|
|
187
|
+
renderPresetListItemDropdown: (record: any) => React.JSX.Element;
|
|
178
188
|
}
|
|
179
189
|
import { AuthorizationWrapper } from '../../AuthorizationWrapper';
|
|
180
190
|
import React from 'react';
|
|
@@ -3,10 +3,11 @@ export function BatchAction({ style, onSelect, menus, disabled }: {
|
|
|
3
3
|
onSelect: any;
|
|
4
4
|
menus?: any[] | undefined;
|
|
5
5
|
disabled: any;
|
|
6
|
-
}): JSX.Element;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
7
|
export namespace BatchAction {
|
|
8
8
|
export { DropdownButton as Button };
|
|
9
9
|
}
|
|
10
|
+
import React from 'react';
|
|
10
11
|
/**
|
|
11
12
|
* 默认的 index 列容器,提供一个好看的 index
|
|
12
13
|
* @param param0
|
|
@@ -17,5 +18,5 @@ declare function DropdownButton({ children, menus, onSelect, style, disabled, }:
|
|
|
17
18
|
onSelect: any;
|
|
18
19
|
style: any;
|
|
19
20
|
disabled: any;
|
|
20
|
-
}): JSX.Element;
|
|
21
|
+
}): React.JSX.Element;
|
|
21
22
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export class EmptyCardCollection extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace EmptyCardCollection {
|
|
7
|
+
const defaultProps: {};
|
|
8
|
+
}
|
|
9
|
+
import React from 'react';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class RefreshButton extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace RefreshButton {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const title: string;
|
|
9
|
+
const onRefresh: null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
import React from 'react';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class ResetButton extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace ResetButton {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const text: string;
|
|
9
|
+
const onReset: null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
import React from 'react';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class SearchButton extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace SearchButton {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const text: string;
|
|
9
|
+
const onSearch: null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
import React from 'react';
|
|
@@ -15,14 +15,15 @@ export class DataMenuContainer extends AuthorizationWrapper {
|
|
|
15
15
|
buildRightTitle: ({ icon, text }: {
|
|
16
16
|
icon?: null | undefined;
|
|
17
17
|
text?: null | undefined;
|
|
18
|
-
}) => JSX.Element;
|
|
18
|
+
}) => React.JSX.Element;
|
|
19
19
|
buildMenu: () => any;
|
|
20
20
|
selectKey: ({ key }: {
|
|
21
21
|
key: any;
|
|
22
22
|
}) => void;
|
|
23
23
|
resize: () => void;
|
|
24
|
-
renderPresetRightTitle: () => JSX.Element;
|
|
25
|
-
renderFurther(): JSX.Element;
|
|
24
|
+
renderPresetRightTitle: () => React.JSX.Element;
|
|
25
|
+
renderFurther(): React.JSX.Element;
|
|
26
26
|
main: HTMLDivElement | null | undefined;
|
|
27
27
|
}
|
|
28
28
|
import { AuthorizationWrapper } from '../AuthorizationWrapper';
|
|
29
|
+
import React from 'react';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export class Base extends BaseWindow {
|
|
2
|
-
constructor(properties: any);
|
|
2
|
+
constructor(properties: any, visibleFlag: any);
|
|
3
3
|
contentWrapperType: string;
|
|
4
4
|
state: {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
dataLoading: boolean;
|
|
7
5
|
width: number;
|
|
8
6
|
errorFieldName: string;
|
|
9
7
|
submitApiPath: string;
|
|
@@ -14,11 +12,7 @@ export class Base extends BaseWindow {
|
|
|
14
12
|
metaExtra: null;
|
|
15
13
|
metaListData: never[];
|
|
16
14
|
metaOriginalData: null;
|
|
17
|
-
|
|
18
|
-
reloading: boolean;
|
|
19
|
-
searching: boolean;
|
|
20
|
-
refreshing: boolean;
|
|
21
|
-
paging: boolean;
|
|
15
|
+
dataLoading: boolean;
|
|
22
16
|
firstLoadSuccess: boolean;
|
|
23
17
|
loadSuccess: boolean;
|
|
24
18
|
urlParams: null;
|
|
@@ -38,28 +32,29 @@ export class Base extends BaseWindow {
|
|
|
38
32
|
disabled: any;
|
|
39
33
|
};
|
|
40
34
|
buildOkText: () => string;
|
|
41
|
-
buildOkTextWrapper: () => JSX.Element;
|
|
35
|
+
buildOkTextWrapper: () => React.JSX.Element;
|
|
42
36
|
buildCancelButtonProps: () => {
|
|
43
37
|
disabled: any;
|
|
44
38
|
} | {
|
|
45
39
|
disabled?: undefined;
|
|
46
40
|
};
|
|
47
|
-
buildCancelText: (saveButtonText?: string) => JSX.Element;
|
|
41
|
+
buildCancelText: (saveButtonText?: string) => React.JSX.Element;
|
|
48
42
|
buildModalBodyStyle: () => {
|
|
49
43
|
padding: number;
|
|
50
44
|
};
|
|
51
45
|
getModalBodyStyle: () => {
|
|
52
46
|
padding: number;
|
|
53
47
|
};
|
|
54
|
-
buildTitleIcon: () => JSX.Element;
|
|
48
|
+
buildTitleIcon: () => React.JSX.Element;
|
|
55
49
|
buildTitlePrevText: () => string;
|
|
56
50
|
buildTitleText: () => string;
|
|
57
51
|
buildTitleSubText: () => string;
|
|
58
|
-
buildTitle: () => JSX.Element;
|
|
52
|
+
buildTitle: () => React.JSX.Element;
|
|
59
53
|
renderPresetFormContent: () => any;
|
|
60
|
-
renderPresetForm: () => JSX.Element;
|
|
61
|
-
renderPresetFormWrapper: () => JSX.Element;
|
|
62
|
-
renderPresetModalInner: () => JSX.Element;
|
|
63
|
-
renderFurther(): JSX.Element;
|
|
54
|
+
renderPresetForm: () => React.JSX.Element;
|
|
55
|
+
renderPresetFormWrapper: () => React.JSX.Element;
|
|
56
|
+
renderPresetModalInner: () => React.JSX.Element;
|
|
57
|
+
renderFurther(): React.JSX.Element;
|
|
64
58
|
}
|
|
65
59
|
import { BaseWindow } from '../../DataOperation/BaseWindow';
|
|
60
|
+
import React from 'react';
|
|
@@ -7,7 +7,6 @@ export class BaseNeedlessLoadModal extends Base {
|
|
|
7
7
|
state: {
|
|
8
8
|
visible: boolean;
|
|
9
9
|
needReset: boolean;
|
|
10
|
-
dataLoading: boolean;
|
|
11
10
|
width: number;
|
|
12
11
|
errorFieldName: string;
|
|
13
12
|
submitApiPath: string;
|
|
@@ -18,17 +17,12 @@ export class BaseNeedlessLoadModal extends Base {
|
|
|
18
17
|
metaExtra: null;
|
|
19
18
|
metaListData: never[];
|
|
20
19
|
metaOriginalData: null;
|
|
21
|
-
|
|
22
|
-
reloading: boolean;
|
|
23
|
-
searching: boolean;
|
|
24
|
-
refreshing: boolean;
|
|
25
|
-
paging: boolean;
|
|
20
|
+
dataLoading: boolean;
|
|
26
21
|
firstLoadSuccess: boolean;
|
|
27
22
|
loadSuccess: boolean;
|
|
28
23
|
urlParams: null;
|
|
29
24
|
externalData: null;
|
|
30
25
|
};
|
|
31
|
-
doOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
|
|
32
26
|
buildInitialValues: () => {};
|
|
33
27
|
fillDefaultInitialValues: () => {};
|
|
34
28
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export class BaseSelectModal extends BaseLoadModal {
|
|
2
2
|
state: {
|
|
3
3
|
currentRecord: null;
|
|
4
|
-
visible: boolean;
|
|
5
|
-
dataLoading: boolean;
|
|
6
4
|
width: number;
|
|
7
5
|
errorFieldName: string;
|
|
8
6
|
submitApiPath: string;
|
|
@@ -13,11 +11,7 @@ export class BaseSelectModal extends BaseLoadModal {
|
|
|
13
11
|
metaExtra: null;
|
|
14
12
|
metaListData: never[];
|
|
15
13
|
metaOriginalData: null;
|
|
16
|
-
|
|
17
|
-
reloading: boolean;
|
|
18
|
-
searching: boolean;
|
|
19
|
-
refreshing: boolean;
|
|
20
|
-
paging: boolean;
|
|
14
|
+
dataLoading: boolean;
|
|
21
15
|
firstLoadSuccess: boolean;
|
|
22
16
|
loadSuccess: boolean;
|
|
23
17
|
urlParams: null;
|
|
@@ -3,8 +3,6 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
|
|
|
3
3
|
width: number;
|
|
4
4
|
targetKeys: never[];
|
|
5
5
|
selectedKeys: never[];
|
|
6
|
-
visible: boolean;
|
|
7
|
-
dataLoading: boolean;
|
|
8
6
|
errorFieldName: string;
|
|
9
7
|
submitApiPath: string;
|
|
10
8
|
loadApiPath: string;
|
|
@@ -14,17 +12,13 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
|
|
|
14
12
|
metaExtra: null;
|
|
15
13
|
metaListData: never[];
|
|
16
14
|
metaOriginalData: null;
|
|
17
|
-
|
|
18
|
-
reloading: boolean;
|
|
19
|
-
searching: boolean;
|
|
20
|
-
refreshing: boolean;
|
|
21
|
-
paging: boolean;
|
|
15
|
+
dataLoading: boolean;
|
|
22
16
|
firstLoadSuccess: boolean;
|
|
23
17
|
loadSuccess: boolean;
|
|
24
18
|
urlParams: null;
|
|
25
19
|
externalData: null;
|
|
26
20
|
};
|
|
27
|
-
buildTargetKeys: (
|
|
21
|
+
buildTargetKeys: () => never;
|
|
28
22
|
handleChange: (nextTargetKeys: any) => void;
|
|
29
23
|
handleSelectChange: (sourceSelectedKeys: any, targetSelectedKeys: any) => void;
|
|
30
24
|
buildDataSource: () => never;
|
|
@@ -36,9 +30,10 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
|
|
|
36
30
|
items: {
|
|
37
31
|
lg: number;
|
|
38
32
|
type: string;
|
|
39
|
-
component: JSX.Element;
|
|
33
|
+
component: React.JSX.Element;
|
|
40
34
|
}[];
|
|
41
35
|
}[];
|
|
42
36
|
};
|
|
43
37
|
}
|
|
44
38
|
import { BaseUpdateModal } from '../BaseUpdateModal';
|
|
39
|
+
import React from 'react';
|
|
@@ -10,7 +10,8 @@ export class MultiPage extends Base {
|
|
|
10
10
|
restoreSearchComplete: boolean;
|
|
11
11
|
supplementPageLoadRequestParams: () => void;
|
|
12
12
|
supplementLoadRequestParams: (o: any) => any;
|
|
13
|
-
|
|
13
|
+
filterNoFormValues: any;
|
|
14
|
+
filterExtraValues: any;
|
|
14
15
|
/**
|
|
15
16
|
* 轻微调整初始化请求数据体
|
|
16
17
|
*
|
|
@@ -25,6 +26,7 @@ export class MultiPage extends Base {
|
|
|
25
26
|
initLoadRequestParams: (o: any) => any;
|
|
26
27
|
restoreQueryDataBeforeFirstRequest: (d: any) => void;
|
|
27
28
|
afterGetRequestResult: () => void;
|
|
29
|
+
sorterValues: any;
|
|
28
30
|
handlePaginationChange: (page: any, pageSize: any) => void;
|
|
29
31
|
establishViewDataSource: () => any;
|
|
30
32
|
establishViewPaginationConfig: () => any;
|