antd-management-fast-framework 2.1.1 → 2.1.3
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 +9 -9
- package/es/components/Bootstrap/index.d.ts +3 -3
- package/es/components/DataPreviewDrawer/index.d.ts +31 -31
- package/es/components/LoadingOverlay/index.d.ts +6 -6
- package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -10
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -75
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -54
- package/es/components/MobileContainor/index.d.ts +8 -8
- package/es/components/index.d.ts +5 -5
- package/es/configs/index.d.ts +2 -2
- package/es/configs/themeCollection.d.ts +7 -7
- package/es/configs/webpackPlugin.d.ts +4 -4
- package/es/framework/AuthorizationWrapper/index.d.ts +11 -12
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +14 -14
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +18 -18
- package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -6
- package/es/framework/ButtonExtension/index.d.ts +1 -1
- package/es/framework/Common/InternalBuild/index.d.ts +26 -26
- package/es/framework/Common/InternalFlow/index.d.ts +149 -149
- package/es/framework/Common/InternalLayout/index.d.ts +9 -9
- package/es/framework/Common/InternalTabFlow/index.d.ts +12 -12
- package/es/framework/Common/index.d.ts +3 -3
- package/es/framework/Core/index.d.ts +20 -20
- package/es/framework/CustomWrapper/Supplement/index.d.ts +9 -9
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +18 -18
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +3 -3
- package/es/framework/CustomWrapper/index.d.ts +3 -3
- package/es/framework/DataDrawer/Base/index.d.ts +55 -55
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +19 -19
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +4 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +6 -6
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -4
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +3 -3
- package/es/framework/DataDrawer/index.d.ts +14 -14
- package/es/framework/DataForm/BaseAddForm/index.d.ts +34 -34
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +9 -9
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +3 -3
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +4 -4
- package/es/framework/DataForm/index.d.ts +10 -10
- package/es/framework/DataListView/Base/index.d.ts +180 -180
- package/es/framework/DataListView/BatchAction/index.d.ts +21 -21
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +7 -7
- package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -2
- package/es/framework/DataListView/DensityAction/index.d.ts +6 -6
- package/es/framework/DataListView/index.d.ts +10 -10
- package/es/framework/DataMenuContainer/index.d.ts +28 -28
- package/es/framework/DataModal/Base/index.d.ts +65 -65
- package/es/framework/DataModal/BaseAddModal/index.d.ts +3 -3
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +4 -4
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +35 -35
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +28 -28
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +3 -3
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +44 -44
- package/es/framework/DataModal/index.d.ts +16 -16
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +4 -4
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +32 -32
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +69 -69
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +10 -10
- package/es/framework/DataMultiPageView/index.d.ts +10 -10
- package/es/framework/DataOperation/Base/index.d.ts +76 -76
- package/es/framework/DataOperation/BaseView/index.d.ts +10 -10
- package/es/framework/DataOperation/BaseWindow/index.d.ts +89 -89
- package/es/framework/DataOperation/index.d.ts +8 -8
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +5 -5
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +32 -32
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +71 -71
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +13 -13
- package/es/framework/DataSinglePageView/index.d.ts +10 -10
- package/es/framework/DataSingleView/DataCore/index.d.ts +30 -30
- package/es/framework/DataSingleView/DataLoad/index.d.ts +51 -51
- package/es/framework/DataSingleView/index.d.ts +6 -6
- package/es/framework/DataTabContainer/index.d.ts +36 -36
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +24 -24
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldInteractiveBase/index.d.ts +19 -19
- package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -6
- package/es/framework/FieldExtension/index.d.ts +4 -4
- package/es/framework/Wrapper/index.d.ts +3 -3
- package/es/framework/index.d.ts +17 -17
- package/es/index.css +1 -1
- package/es/index.d.ts +5 -5
- package/es/index.js +2 -2
- package/es/modelBuilders/currentOperator.d.ts +26 -0
- package/es/modelBuilders/entrance.d.ts +40 -0
- package/es/modelBuilders/index.d.ts +1 -1
- package/es/modelBuilders/schedulingControl.d.ts +48 -68
- package/es/services/currentOperator.d.ts +2 -0
- package/es/services/entrance.d.ts +6 -0
- package/es/services/schedulingControl.d.ts +4 -4
- package/es/utils/applicationListDataAssist.d.ts +5 -4
- package/es/utils/applicationListDataCacheAssist.d.ts +24 -24
- package/es/utils/bootstrap.d.ts +4 -4
- package/es/utils/configAssist.d.ts +1 -1
- package/es/utils/currentOperatorAssist.d.ts +19 -5
- package/es/utils/definition.d.ts +4 -4
- package/es/utils/index.d.ts +10 -8
- package/es/utils/interfaceSettingAssist.d.ts +10 -0
- package/es/utils/interfaceSettingCacheAssist.d.ts +18 -0
- package/es/utils/metaDataAssist.d.ts +5 -5
- package/es/utils/schedulingControlAssist.d.ts +34 -10
- package/es/utils/signInAssist.d.ts +6 -0
- package/package.json +26 -23
- package/es/utils/layoutSettingAssist.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class BaseSaveDrawer extends Base {
|
|
2
|
-
adjustWhenDidMount: () => void;
|
|
3
|
-
}
|
|
4
|
-
import { Base } from
|
|
1
|
+
export class BaseSaveDrawer extends Base {
|
|
2
|
+
adjustWhenDidMount: () => void;
|
|
3
|
+
}
|
|
4
|
+
import { Base } from '../Base';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export class BaseUpdateDrawer extends BaseLoadDrawer {
|
|
2
|
-
}
|
|
3
|
-
import { BaseLoadDrawer } from
|
|
1
|
+
export class BaseUpdateDrawer extends BaseLoadDrawer {
|
|
2
|
+
}
|
|
3
|
+
import { BaseLoadDrawer } from '../BaseLoadDrawer';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export namespace DataDrawer {
|
|
2
|
-
export { Base };
|
|
3
|
-
export { BaseAddDrawer };
|
|
4
|
-
export { BaseLoadDrawer };
|
|
5
|
-
export { BaseNeedlessLoadDrawer };
|
|
6
|
-
export { BaseSaveDrawer };
|
|
7
|
-
export { BaseUpdateDrawer };
|
|
8
|
-
}
|
|
9
|
-
import { Base } from
|
|
10
|
-
import { BaseAddDrawer } from
|
|
11
|
-
import { BaseLoadDrawer } from
|
|
12
|
-
import { BaseNeedlessLoadDrawer } from
|
|
13
|
-
import { BaseSaveDrawer } from
|
|
14
|
-
import { BaseUpdateDrawer } from
|
|
1
|
+
export namespace DataDrawer {
|
|
2
|
+
export { Base };
|
|
3
|
+
export { BaseAddDrawer };
|
|
4
|
+
export { BaseLoadDrawer };
|
|
5
|
+
export { BaseNeedlessLoadDrawer };
|
|
6
|
+
export { BaseSaveDrawer };
|
|
7
|
+
export { BaseUpdateDrawer };
|
|
8
|
+
}
|
|
9
|
+
import { Base } from './Base';
|
|
10
|
+
import { BaseAddDrawer } from './BaseAddDrawer';
|
|
11
|
+
import { BaseLoadDrawer } from './BaseLoadDrawer';
|
|
12
|
+
import { BaseNeedlessLoadDrawer } from './BaseNeedlessLoadDrawer';
|
|
13
|
+
import { BaseSaveDrawer } from './BaseSaveDrawer';
|
|
14
|
+
import { BaseUpdateDrawer } from './BaseUpdateDrawer';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export class BaseAddForm extends DataCore {
|
|
2
|
-
loadRemoteRequestAfterMount: boolean;
|
|
3
|
-
state: {
|
|
4
|
-
dataLoading: boolean;
|
|
5
|
-
errorFieldName: string;
|
|
6
|
-
submitApiPath: string;
|
|
7
|
-
loadApiPath: string;
|
|
8
|
-
pageTitle: string;
|
|
9
|
-
pageSubTitle: string;
|
|
10
|
-
metaData: null;
|
|
11
|
-
metaExtra: null;
|
|
12
|
-
metaListData: never[];
|
|
13
|
-
metaOriginalData: null;
|
|
14
|
-
processing: boolean;
|
|
15
|
-
reloading: boolean;
|
|
16
|
-
searching: boolean;
|
|
17
|
-
refreshing: boolean;
|
|
18
|
-
paging: boolean;
|
|
19
|
-
firstLoadSuccess: boolean;
|
|
20
|
-
loadSuccess: boolean;
|
|
21
|
-
urlParams: null;
|
|
22
|
-
externalData: null;
|
|
23
|
-
};
|
|
24
|
-
adjustWhenDidMount: () => void;
|
|
25
|
-
fillData: () => void;
|
|
26
|
-
afterFillForm: (initialValues: any) => void;
|
|
27
|
-
handleFormReset: () => void;
|
|
28
|
-
supplementSubmitRequestParams: (o: any) => any;
|
|
29
|
-
validate: (event: any) => void;
|
|
30
|
-
buildInitialValues: () => {};
|
|
31
|
-
fillDefaultInitialValues: () => {};
|
|
32
|
-
renderPresetModalInner: () => JSX.Element;
|
|
33
|
-
}
|
|
34
|
-
import { DataCore } from
|
|
1
|
+
export class BaseAddForm extends DataCore {
|
|
2
|
+
loadRemoteRequestAfterMount: boolean;
|
|
3
|
+
state: {
|
|
4
|
+
dataLoading: boolean;
|
|
5
|
+
errorFieldName: string;
|
|
6
|
+
submitApiPath: string;
|
|
7
|
+
loadApiPath: string;
|
|
8
|
+
pageTitle: string;
|
|
9
|
+
pageSubTitle: string;
|
|
10
|
+
metaData: null;
|
|
11
|
+
metaExtra: null;
|
|
12
|
+
metaListData: never[];
|
|
13
|
+
metaOriginalData: null;
|
|
14
|
+
processing: boolean;
|
|
15
|
+
reloading: boolean;
|
|
16
|
+
searching: boolean;
|
|
17
|
+
refreshing: boolean;
|
|
18
|
+
paging: boolean;
|
|
19
|
+
firstLoadSuccess: boolean;
|
|
20
|
+
loadSuccess: boolean;
|
|
21
|
+
urlParams: null;
|
|
22
|
+
externalData: null;
|
|
23
|
+
};
|
|
24
|
+
adjustWhenDidMount: () => void;
|
|
25
|
+
fillData: () => void;
|
|
26
|
+
afterFillForm: (initialValues: any) => void;
|
|
27
|
+
handleFormReset: () => void;
|
|
28
|
+
supplementSubmitRequestParams: (o: any) => any;
|
|
29
|
+
validate: (event: any) => void;
|
|
30
|
+
buildInitialValues: () => {};
|
|
31
|
+
fillDefaultInitialValues: () => {};
|
|
32
|
+
renderPresetModalInner: () => JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
import { DataCore } from '../../DataSingleView/DataCore';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export class BaseUpdateForm extends DataLoad {
|
|
2
|
-
goToUpdateWhenProcessed: boolean;
|
|
3
|
-
handleFormReset: () => void;
|
|
4
|
-
supplementSubmitRequestParams: (o: any) => any;
|
|
5
|
-
afterCheckSubmitRequestParams: (o: any) => any;
|
|
6
|
-
execSubmitApi: (values: {} | undefined, afterSubmitCallback: any) => void;
|
|
7
|
-
validate: (event: any) => void;
|
|
8
|
-
}
|
|
9
|
-
import { DataLoad } from
|
|
1
|
+
export class BaseUpdateForm extends DataLoad {
|
|
2
|
+
goToUpdateWhenProcessed: boolean;
|
|
3
|
+
handleFormReset: () => void;
|
|
4
|
+
supplementSubmitRequestParams: (o: any) => any;
|
|
5
|
+
afterCheckSubmitRequestParams: (o: any) => any;
|
|
6
|
+
execSubmitApi: (values: {} | undefined, afterSubmitCallback: any) => void;
|
|
7
|
+
validate: (event: any) => void;
|
|
8
|
+
}
|
|
9
|
+
import { DataLoad } from '../../DataSingleView/DataLoad';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export class BaseUpdateFormContent extends BaseUpdateForm {
|
|
2
|
-
}
|
|
3
|
-
import { BaseUpdateForm } from
|
|
1
|
+
export class BaseUpdateFormContent extends BaseUpdateForm {
|
|
2
|
+
}
|
|
3
|
+
import { BaseUpdateForm } from '../BaseUpdateForm';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class BaseUpdateFormTab extends BaseUpdateFormContent {
|
|
2
|
-
showPageHeader: boolean;
|
|
3
|
-
}
|
|
4
|
-
import { BaseUpdateFormContent } from
|
|
1
|
+
export class BaseUpdateFormTab extends BaseUpdateFormContent {
|
|
2
|
+
showPageHeader: boolean;
|
|
3
|
+
}
|
|
4
|
+
import { BaseUpdateFormContent } from '../BaseUpdateFormContent';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export namespace DataForm {
|
|
2
|
-
export { BaseAddForm };
|
|
3
|
-
export { BaseUpdateForm };
|
|
4
|
-
export { BaseUpdateFormContent };
|
|
5
|
-
export { BaseUpdateFormTab };
|
|
6
|
-
}
|
|
7
|
-
import { BaseAddForm } from
|
|
8
|
-
import { BaseUpdateForm } from
|
|
9
|
-
import { BaseUpdateFormContent } from
|
|
10
|
-
import { BaseUpdateFormTab } from
|
|
1
|
+
export namespace DataForm {
|
|
2
|
+
export { BaseAddForm };
|
|
3
|
+
export { BaseUpdateForm };
|
|
4
|
+
export { BaseUpdateFormContent };
|
|
5
|
+
export { BaseUpdateFormTab };
|
|
6
|
+
}
|
|
7
|
+
import { BaseAddForm } from './BaseAddForm';
|
|
8
|
+
import { BaseUpdateForm } from './BaseUpdateForm';
|
|
9
|
+
import { BaseUpdateFormContent } from './BaseUpdateFormContent';
|
|
10
|
+
import { BaseUpdateFormTab } from './BaseUpdateFormTab';
|
|
@@ -1,180 +1,180 @@
|
|
|
1
|
-
export class Base extends AuthorizationWrapper {
|
|
2
|
-
constructor(properties: any);
|
|
3
|
-
/**
|
|
4
|
-
* 使用远端分页
|
|
5
|
-
*/
|
|
6
|
-
useRemotePagination: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟
|
|
9
|
-
*/
|
|
10
|
-
useFrontendPagination: boolean;
|
|
11
|
-
showSearchForm: boolean;
|
|
12
|
-
affixPaginationBar: boolean;
|
|
13
|
-
formRef: React.RefObject<any>;
|
|
14
|
-
pageSizeAdditional: number;
|
|
15
|
-
columnOperateVisible: boolean;
|
|
16
|
-
columnOperateWidth: number;
|
|
17
|
-
columnOperateFixed: string;
|
|
18
|
-
showListViewItemActionSelect: boolean;
|
|
19
|
-
lastLoadParams: any;
|
|
20
|
-
columnsOtherConfig: any[];
|
|
21
|
-
state: any;
|
|
22
|
-
doWorkAfterDidMount: () => void;
|
|
23
|
-
afterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
24
|
-
metaData: any;
|
|
25
|
-
metaListData: any;
|
|
26
|
-
metaExtra: any;
|
|
27
|
-
metaOriginalData: any;
|
|
28
|
-
}) => void;
|
|
29
|
-
doOtherAfterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
30
|
-
metaData?: null | undefined;
|
|
31
|
-
metaListData?: any[] | undefined;
|
|
32
|
-
metaExtra?: null | undefined;
|
|
33
|
-
metaOriginalData?: null | undefined;
|
|
34
|
-
}) => void;
|
|
35
|
-
onDateRangeChange: (dates: any, dateStrings: any) => void;
|
|
36
|
-
handleSelectRows: (rows: any) => void;
|
|
37
|
-
clearSelectRow: () => void;
|
|
38
|
-
getCanUseFrontendPagination: () => boolean;
|
|
39
|
-
getSearchFormFieldsValue: (nameList: any, filter: any) => any;
|
|
40
|
-
getSearchFormFieldValue: (name: any) => any;
|
|
41
|
-
setSearchFormFieldsValue: (v: any) => void;
|
|
42
|
-
afterSetSearchFormFieldsValue: (value: any) => void;
|
|
43
|
-
getPresetPageName: () => any;
|
|
44
|
-
getColumnWrapper: () => never[];
|
|
45
|
-
buildColumnFromWrapper: () => any[];
|
|
46
|
-
buildColumnList: (list: any) => any[];
|
|
47
|
-
getColumn: () => any[];
|
|
48
|
-
getColumnMerged: () => any[];
|
|
49
|
-
handleSearchReset: () => void;
|
|
50
|
-
handleAdditionalSearchReset: () => void;
|
|
51
|
-
handleSearch: () => void;
|
|
52
|
-
getSearchCard: () => any;
|
|
53
|
-
buildSearchCardContent: (config: any) => JSX.Element | null;
|
|
54
|
-
buildSearchCardContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
|
|
55
|
-
establishSearchCardConfig: () => {
|
|
56
|
-
list: ({
|
|
57
|
-
lg: number;
|
|
58
|
-
type: string;
|
|
59
|
-
dateRangeFieldName: any;
|
|
60
|
-
component?: undefined;
|
|
61
|
-
} | {
|
|
62
|
-
lg: number;
|
|
63
|
-
type: string;
|
|
64
|
-
component: JSX.Element;
|
|
65
|
-
dateRangeFieldName?: undefined;
|
|
66
|
-
})[];
|
|
67
|
-
};
|
|
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;
|
|
73
|
-
fillSearchCardInitialValues: () => {};
|
|
74
|
-
buildSearchCard: () => JSX.Element | null;
|
|
75
|
-
renderPresetForm: () => JSX.Element | null;
|
|
76
|
-
establishTableAdditionalConfig: () => {};
|
|
77
|
-
establishTableExpandableConfig: () => null;
|
|
78
|
-
restoreColumnsOtherConfigArray: () => void;
|
|
79
|
-
buildTableConfig: () => {
|
|
80
|
-
columns: any[];
|
|
81
|
-
size: any;
|
|
82
|
-
tableLayout: string;
|
|
83
|
-
expandable: null;
|
|
84
|
-
};
|
|
85
|
-
setTableSize: (key: any) => void;
|
|
86
|
-
setColumnsMap: (event: any) => void;
|
|
87
|
-
setSortKeyColumns: (event: any) => void;
|
|
88
|
-
getColumnsMap: () => {};
|
|
89
|
-
onBatchActionSelect: (key: any) => void;
|
|
90
|
-
renderPresetTable: (config: any) => null;
|
|
91
|
-
renderPresetAlertContent: () => string;
|
|
92
|
-
renderPresetAlertOption: () => void;
|
|
93
|
-
renderPresetAboveTable: () => JSX.Element | null;
|
|
94
|
-
establishDataContainerExtraActionCollectionConfig: () => never[];
|
|
95
|
-
establishDataContainerExtraAffixConfig: () => {};
|
|
96
|
-
buildDataContainerExtraActionCollection: () => any;
|
|
97
|
-
renderPresetExtraActionView: () => JSX.Element | null;
|
|
98
|
-
renderPresetBatchActionMenu: () => never[];
|
|
99
|
-
renderPresetBatchAction: () => JSX.Element | null;
|
|
100
|
-
getInitialTabActiveKey: () => any;
|
|
101
|
-
onPageHeaderAvatarLoadError: () => void;
|
|
102
|
-
establishViewDataSource: () => null;
|
|
103
|
-
adjustViewDataSource: () => null;
|
|
104
|
-
adjustFrontendPaginationViewDataSource: () => null;
|
|
105
|
-
establishCardCollectionViewItemConfig: (record: any) => null;
|
|
106
|
-
/**
|
|
107
|
-
* 不要在框架之外重载或覆盖该该函数,否则分页视图将功能异常
|
|
108
|
-
*/
|
|
109
|
-
establishViewPaginationConfig: () => null;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @returns build开始得方法不应再框架外部进行重写
|
|
113
|
-
*/
|
|
114
|
-
buildPageSizeOptionList: () => number[];
|
|
115
|
-
/**
|
|
116
|
-
* 不要在框架之外重载或覆盖该该函数,否则分页视图将功能异常
|
|
117
|
-
*/
|
|
118
|
-
supplementPaginationConfig: () => any;
|
|
119
|
-
establishPageHeaderTagCollectionConfig: () => never[];
|
|
120
|
-
establishPageHeaderAvatarConfig: () => null;
|
|
121
|
-
establishPaginationViewStyle: () => {
|
|
122
|
-
paddingTop: number;
|
|
123
|
-
paddingBottom: number;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* 配置StandardTable切换页面时需要引发的事项
|
|
127
|
-
* @param {*} pagination
|
|
128
|
-
* @param {*} filtersArg
|
|
129
|
-
* @param {*} sorter
|
|
130
|
-
*/
|
|
131
|
-
handleStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
132
|
-
/**
|
|
133
|
-
* 配置额外的StandardTable切换页面时需要引发的事项
|
|
134
|
-
* @param {*} pagination
|
|
135
|
-
* @param {*} filtersArg
|
|
136
|
-
* @param {*} sorter
|
|
137
|
-
*/
|
|
138
|
-
handleAdditionalStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
139
|
-
/**
|
|
140
|
-
* 配置Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
141
|
-
* @param {*} pagination
|
|
142
|
-
* @param {*} filtersArg
|
|
143
|
-
* @param {*} sorter
|
|
144
|
-
*/
|
|
145
|
-
handlePaginationChange: (page: any, pageSize: any) => void;
|
|
146
|
-
/**
|
|
147
|
-
* 配置额外的Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
148
|
-
* @param {*} pagination
|
|
149
|
-
* @param {*} filtersArg
|
|
150
|
-
* @param {*} sorter
|
|
151
|
-
*/
|
|
152
|
-
handleAdditionalPaginationChange: (page: any, pageSize: any) => void;
|
|
153
|
-
handlePaginationShowSizeChange: (current: any, size: any) => void;
|
|
154
|
-
establishPageHeaderExtraContentConfig: () => null;
|
|
155
|
-
buildPaginationBar: () => JSX.Element;
|
|
156
|
-
renderPresetCardExtraAction: () => JSX.Element;
|
|
157
|
-
renderPresetListViewItem: (record: any, index: any) => JSX.Element;
|
|
158
|
-
renderPresetListViewItemInner: (record: any, index: any) => null;
|
|
159
|
-
renderPresetListViewItemExtra: (record: any, index: any) => null;
|
|
160
|
-
renderPresetListViewItemActions: (record: any, index: any) => any[] | null;
|
|
161
|
-
renderPresetListViewItemActionOthers: (record: any, index: any) => null;
|
|
162
|
-
renderPresetListViewItemActionSelect: (record: any, index: any) => null;
|
|
163
|
-
renderPresetListViewItemLayout: () => string;
|
|
164
|
-
renderPresetListViewSize: () => string;
|
|
165
|
-
renderPresetListView: () => JSX.Element;
|
|
166
|
-
/**
|
|
167
|
-
* 构建分页视图
|
|
168
|
-
* frontendPagination配置仅用在前台模拟分页时
|
|
169
|
-
*/
|
|
170
|
-
renderPresetTableView: () => JSX.Element;
|
|
171
|
-
renderPresetCardCollectionView: () => JSX.Element;
|
|
172
|
-
renderPresetPaginationView: () => JSX.Element;
|
|
173
|
-
renderPresetListMainView: () => JSX.Element | null;
|
|
174
|
-
renderPresetContentArea: () => JSX.Element;
|
|
175
|
-
establishPageContentLayoutConfig: () => {};
|
|
176
|
-
establishListItemDropdownConfig: (record: any) => null;
|
|
177
|
-
renderPresetListItemDropdown: (record: any) => JSX.Element;
|
|
178
|
-
}
|
|
179
|
-
import { AuthorizationWrapper } from
|
|
180
|
-
import React from
|
|
1
|
+
export class Base extends AuthorizationWrapper {
|
|
2
|
+
constructor(properties: any);
|
|
3
|
+
/**
|
|
4
|
+
* 使用远端分页
|
|
5
|
+
*/
|
|
6
|
+
useRemotePagination: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟
|
|
9
|
+
*/
|
|
10
|
+
useFrontendPagination: boolean;
|
|
11
|
+
showSearchForm: boolean;
|
|
12
|
+
affixPaginationBar: boolean;
|
|
13
|
+
formRef: React.RefObject<any>;
|
|
14
|
+
pageSizeAdditional: number;
|
|
15
|
+
columnOperateVisible: boolean;
|
|
16
|
+
columnOperateWidth: number;
|
|
17
|
+
columnOperateFixed: string;
|
|
18
|
+
showListViewItemActionSelect: boolean;
|
|
19
|
+
lastLoadParams: any;
|
|
20
|
+
columnsOtherConfig: any[];
|
|
21
|
+
state: any;
|
|
22
|
+
doWorkAfterDidMount: () => void;
|
|
23
|
+
afterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
24
|
+
metaData: any;
|
|
25
|
+
metaListData: any;
|
|
26
|
+
metaExtra: any;
|
|
27
|
+
metaOriginalData: any;
|
|
28
|
+
}) => void;
|
|
29
|
+
doOtherAfterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
30
|
+
metaData?: null | undefined;
|
|
31
|
+
metaListData?: any[] | undefined;
|
|
32
|
+
metaExtra?: null | undefined;
|
|
33
|
+
metaOriginalData?: null | undefined;
|
|
34
|
+
}) => void;
|
|
35
|
+
onDateRangeChange: (dates: any, dateStrings: any) => void;
|
|
36
|
+
handleSelectRows: (rows: any) => void;
|
|
37
|
+
clearSelectRow: () => void;
|
|
38
|
+
getCanUseFrontendPagination: () => boolean;
|
|
39
|
+
getSearchFormFieldsValue: (nameList: any, filter: any) => any;
|
|
40
|
+
getSearchFormFieldValue: (name: any) => any;
|
|
41
|
+
setSearchFormFieldsValue: (v: any) => void;
|
|
42
|
+
afterSetSearchFormFieldsValue: (value: any) => void;
|
|
43
|
+
getPresetPageName: () => any;
|
|
44
|
+
getColumnWrapper: () => never[];
|
|
45
|
+
buildColumnFromWrapper: () => any[];
|
|
46
|
+
buildColumnList: (list: any) => any[];
|
|
47
|
+
getColumn: () => any[];
|
|
48
|
+
getColumnMerged: () => any[];
|
|
49
|
+
handleSearchReset: () => void;
|
|
50
|
+
handleAdditionalSearchReset: () => void;
|
|
51
|
+
handleSearch: () => void;
|
|
52
|
+
getSearchCard: () => any;
|
|
53
|
+
buildSearchCardContent: (config: any) => JSX.Element | null;
|
|
54
|
+
buildSearchCardContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
|
|
55
|
+
establishSearchCardConfig: () => {
|
|
56
|
+
list: ({
|
|
57
|
+
lg: number;
|
|
58
|
+
type: string;
|
|
59
|
+
dateRangeFieldName: any;
|
|
60
|
+
component?: undefined;
|
|
61
|
+
} | {
|
|
62
|
+
lg: number;
|
|
63
|
+
type: string;
|
|
64
|
+
component: JSX.Element;
|
|
65
|
+
dateRangeFieldName?: undefined;
|
|
66
|
+
})[];
|
|
67
|
+
};
|
|
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;
|
|
73
|
+
fillSearchCardInitialValues: () => {};
|
|
74
|
+
buildSearchCard: () => JSX.Element | null;
|
|
75
|
+
renderPresetForm: () => JSX.Element | null;
|
|
76
|
+
establishTableAdditionalConfig: () => {};
|
|
77
|
+
establishTableExpandableConfig: () => null;
|
|
78
|
+
restoreColumnsOtherConfigArray: () => void;
|
|
79
|
+
buildTableConfig: () => {
|
|
80
|
+
columns: any[];
|
|
81
|
+
size: any;
|
|
82
|
+
tableLayout: string;
|
|
83
|
+
expandable: null;
|
|
84
|
+
};
|
|
85
|
+
setTableSize: (key: any) => void;
|
|
86
|
+
setColumnsMap: (event: any) => void;
|
|
87
|
+
setSortKeyColumns: (event: any) => void;
|
|
88
|
+
getColumnsMap: () => {};
|
|
89
|
+
onBatchActionSelect: (key: any) => void;
|
|
90
|
+
renderPresetTable: (config: any) => null;
|
|
91
|
+
renderPresetAlertContent: () => string;
|
|
92
|
+
renderPresetAlertOption: () => void;
|
|
93
|
+
renderPresetAboveTable: () => JSX.Element | null;
|
|
94
|
+
establishDataContainerExtraActionCollectionConfig: () => never[];
|
|
95
|
+
establishDataContainerExtraAffixConfig: () => {};
|
|
96
|
+
buildDataContainerExtraActionCollection: () => any;
|
|
97
|
+
renderPresetExtraActionView: () => JSX.Element | null;
|
|
98
|
+
renderPresetBatchActionMenu: () => never[];
|
|
99
|
+
renderPresetBatchAction: () => JSX.Element | null;
|
|
100
|
+
getInitialTabActiveKey: () => any;
|
|
101
|
+
onPageHeaderAvatarLoadError: () => void;
|
|
102
|
+
establishViewDataSource: () => null;
|
|
103
|
+
adjustViewDataSource: () => null;
|
|
104
|
+
adjustFrontendPaginationViewDataSource: () => null;
|
|
105
|
+
establishCardCollectionViewItemConfig: (record: any) => null;
|
|
106
|
+
/**
|
|
107
|
+
* 不要在框架之外重载或覆盖该该函数,否则分页视图将功能异常
|
|
108
|
+
*/
|
|
109
|
+
establishViewPaginationConfig: () => null;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @returns build开始得方法不应再框架外部进行重写
|
|
113
|
+
*/
|
|
114
|
+
buildPageSizeOptionList: () => number[];
|
|
115
|
+
/**
|
|
116
|
+
* 不要在框架之外重载或覆盖该该函数,否则分页视图将功能异常
|
|
117
|
+
*/
|
|
118
|
+
supplementPaginationConfig: () => any;
|
|
119
|
+
establishPageHeaderTagCollectionConfig: () => never[];
|
|
120
|
+
establishPageHeaderAvatarConfig: () => null;
|
|
121
|
+
establishPaginationViewStyle: () => {
|
|
122
|
+
paddingTop: number;
|
|
123
|
+
paddingBottom: number;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* 配置StandardTable切换页面时需要引发的事项
|
|
127
|
+
* @param {*} pagination
|
|
128
|
+
* @param {*} filtersArg
|
|
129
|
+
* @param {*} sorter
|
|
130
|
+
*/
|
|
131
|
+
handleStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
132
|
+
/**
|
|
133
|
+
* 配置额外的StandardTable切换页面时需要引发的事项
|
|
134
|
+
* @param {*} pagination
|
|
135
|
+
* @param {*} filtersArg
|
|
136
|
+
* @param {*} sorter
|
|
137
|
+
*/
|
|
138
|
+
handleAdditionalStandardTableChange: (pagination: any, filtersArgument: any, sorter: any) => void;
|
|
139
|
+
/**
|
|
140
|
+
* 配置Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
141
|
+
* @param {*} pagination
|
|
142
|
+
* @param {*} filtersArg
|
|
143
|
+
* @param {*} sorter
|
|
144
|
+
*/
|
|
145
|
+
handlePaginationChange: (page: any, pageSize: any) => void;
|
|
146
|
+
/**
|
|
147
|
+
* 配置额外的Pagination切换页面时需要引发的事项,用于listView/cardView
|
|
148
|
+
* @param {*} pagination
|
|
149
|
+
* @param {*} filtersArg
|
|
150
|
+
* @param {*} sorter
|
|
151
|
+
*/
|
|
152
|
+
handleAdditionalPaginationChange: (page: any, pageSize: any) => void;
|
|
153
|
+
handlePaginationShowSizeChange: (current: any, size: any) => void;
|
|
154
|
+
establishPageHeaderExtraContentConfig: () => null;
|
|
155
|
+
buildPaginationBar: () => JSX.Element;
|
|
156
|
+
renderPresetCardExtraAction: () => JSX.Element;
|
|
157
|
+
renderPresetListViewItem: (record: any, index: any) => JSX.Element;
|
|
158
|
+
renderPresetListViewItemInner: (record: any, index: any) => null;
|
|
159
|
+
renderPresetListViewItemExtra: (record: any, index: any) => null;
|
|
160
|
+
renderPresetListViewItemActions: (record: any, index: any) => any[] | null;
|
|
161
|
+
renderPresetListViewItemActionOthers: (record: any, index: any) => null;
|
|
162
|
+
renderPresetListViewItemActionSelect: (record: any, index: any) => null;
|
|
163
|
+
renderPresetListViewItemLayout: () => string;
|
|
164
|
+
renderPresetListViewSize: () => string;
|
|
165
|
+
renderPresetListView: () => JSX.Element;
|
|
166
|
+
/**
|
|
167
|
+
* 构建分页视图
|
|
168
|
+
* frontendPagination配置仅用在前台模拟分页时
|
|
169
|
+
*/
|
|
170
|
+
renderPresetTableView: () => JSX.Element;
|
|
171
|
+
renderPresetCardCollectionView: () => JSX.Element;
|
|
172
|
+
renderPresetPaginationView: () => JSX.Element;
|
|
173
|
+
renderPresetListMainView: () => JSX.Element | null;
|
|
174
|
+
renderPresetContentArea: () => JSX.Element;
|
|
175
|
+
establishPageContentLayoutConfig: () => {};
|
|
176
|
+
establishListItemDropdownConfig: (record: any) => null;
|
|
177
|
+
renderPresetListItemDropdown: (record: any) => JSX.Element;
|
|
178
|
+
}
|
|
179
|
+
import { AuthorizationWrapper } from '../../AuthorizationWrapper';
|
|
180
|
+
import React from 'react';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export function BatchAction({ style, onSelect, menus, disabled }: {
|
|
2
|
-
style: any;
|
|
3
|
-
onSelect: any;
|
|
4
|
-
menus?: any[] | undefined;
|
|
5
|
-
disabled: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace BatchAction {
|
|
8
|
-
export { DropdownButton as Button };
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 默认的 index 列容器,提供一个好看的 index
|
|
12
|
-
* @param param0
|
|
13
|
-
*/
|
|
14
|
-
declare function DropdownButton({ children, menus, onSelect, style, disabled, }: {
|
|
15
|
-
children: any;
|
|
16
|
-
menus?: any[] | undefined;
|
|
17
|
-
onSelect: any;
|
|
18
|
-
style: any;
|
|
19
|
-
disabled: any;
|
|
20
|
-
}): JSX.Element;
|
|
21
|
-
export {};
|
|
1
|
+
export function BatchAction({ style, onSelect, menus, disabled }: {
|
|
2
|
+
style: any;
|
|
3
|
+
onSelect: any;
|
|
4
|
+
menus?: any[] | undefined;
|
|
5
|
+
disabled: any;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
export namespace BatchAction {
|
|
8
|
+
export { DropdownButton as Button };
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 默认的 index 列容器,提供一个好看的 index
|
|
12
|
+
* @param param0
|
|
13
|
+
*/
|
|
14
|
+
declare function DropdownButton({ children, menus, onSelect, style, disabled, }: {
|
|
15
|
+
children: any;
|
|
16
|
+
menus?: any[] | undefined;
|
|
17
|
+
onSelect: any;
|
|
18
|
+
style: any;
|
|
19
|
+
disabled: any;
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function DnDItem({ id, end, move, children, index }: {
|
|
2
|
-
id: any;
|
|
3
|
-
end: any;
|
|
4
|
-
move: any;
|
|
5
|
-
children: any;
|
|
6
|
-
index: any;
|
|
7
|
-
}): JSX.Element;
|
|
1
|
+
export function DnDItem({ id, end, move, children, index }: {
|
|
2
|
+
id: any;
|
|
3
|
+
end: any;
|
|
4
|
+
move: any;
|
|
5
|
+
children: any;
|
|
6
|
+
index: any;
|
|
7
|
+
}): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function genColumnKey(key: any, dataIndex: any): any;
|
|
2
|
-
export function ColumnSetting(properties: any): JSX.Element;
|
|
1
|
+
export function genColumnKey(key: any, dataIndex: any): any;
|
|
2
|
+
export function ColumnSetting(properties: any): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class DensityAction extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
import React from
|
|
1
|
+
export class DensityAction extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
import React from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export namespace DataListView {
|
|
2
|
-
export { Base };
|
|
3
|
-
export { BatchAction };
|
|
4
|
-
export { ColumnSetting };
|
|
5
|
-
export { DensityAction };
|
|
6
|
-
}
|
|
7
|
-
import { Base } from
|
|
8
|
-
import { BatchAction } from
|
|
9
|
-
import { ColumnSetting } from
|
|
10
|
-
import { DensityAction } from
|
|
1
|
+
export namespace DataListView {
|
|
2
|
+
export { Base };
|
|
3
|
+
export { BatchAction };
|
|
4
|
+
export { ColumnSetting };
|
|
5
|
+
export { DensityAction };
|
|
6
|
+
}
|
|
7
|
+
import { Base } from './Base';
|
|
8
|
+
import { BatchAction } from './BatchAction';
|
|
9
|
+
import { ColumnSetting } from './ColumnSetting';
|
|
10
|
+
import { DensityAction } from './DensityAction';
|