antd-management-fast-framework 2.1.0 → 2.1.2
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 +3 -9771
- 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 +24 -21
- package/es/configGroup/configGeneral.d.ts +0 -28
- package/es/configGroup/configGeneral.js +0 -36
- package/es/configGroup/index.d.ts +0 -2
- package/es/configGroup/themeCollection.d.ts +0 -7
- package/es/configGroup/themeCollection.js +0 -9
- package/es/configGroup/webpackPlugin.d.ts +0 -4
- package/es/configGroup/webpackPlugin.js +0 -351
- package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
- package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
- package/es/customComponents/Bootstrap/index.d.ts +0 -3
- package/es/customComponents/Bootstrap/index.js +0 -67
- package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
- package/es/customComponents/DataPreviewDrawer/index.js +0 -169
- package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
- package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
- package/es/customComponents/MobileContainor/index.d.ts +0 -8
- package/es/customComponents/index.d.ts +0 -5
- package/es/framework/AuthorizationWrapper/index.js +0 -108
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
- package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
- package/es/framework/Common/CommonInternal/index.d.ts +0 -167
- package/es/framework/Common/InternalMake/index.d.ts +0 -9
- package/es/framework/Common/index.js +0 -39
- package/es/framework/Core/index.js +0 -38
- package/es/framework/CustomWrapper/Supplement/index.js +0 -67
- package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
- package/es/framework/DataDrawer/Base/index.js +0 -335
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
- package/es/framework/DataForm/BaseAddForm/index.js +0 -261
- package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
- package/es/framework/DataListView/Base/index.js +0 -1261
- package/es/framework/DataListView/BatchAction/index.js +0 -73
- package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
- package/es/framework/DataListView/ColumnSetting/index.js +0 -319
- package/es/framework/DataListView/DensityAction/index.js +0 -63
- package/es/framework/DataMenuContainer/index.js +0 -282
- package/es/framework/DataModal/Base/index.js +0 -231
- package/es/framework/DataModal/BaseAddModal/index.js +0 -72
- package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
- package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
- package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
- package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
- package/es/framework/DataOperation/Base/index.js +0 -322
- package/es/framework/DataOperation/BaseView/index.js +0 -83
- package/es/framework/DataOperation/BaseWindow/index.js +0 -330
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
- package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
- package/es/framework/DataSingleView/DataCore/index.js +0 -260
- package/es/framework/DataSingleView/DataLoad/index.js +0 -151
- package/es/framework/DataTabContainer/index.js +0 -254
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
- package/es/framework/LayoutWrapper/index.d.ts +0 -2
- package/es/framework/Wrapper/index.js +0 -59
- package/es/get.js +0 -28
- package/es/getPrototypeOf.js +0 -76
- package/es/index2.js +0 -2075
- package/es/index3.js +0 -383
- package/es/models/index.d.ts +0 -1
- package/es/models/schedulingControl.d.ts +0 -46
- package/es/models/schedulingControl.js +0 -171
- package/es/objectSpread2.js +0 -40
- package/es/services/schedulingControl.js +0 -135
- package/es/slicedToArray.js +0 -43
- package/es/toConsumableArray.js +0 -19
- package/es/toPropertyKey.js +0 -19
- package/es/typeof.js +0 -11
- package/es/unsupportedIterableToArray.js +0 -16
- package/es/utils/appListDataAssist.js +0 -69
- package/es/utils/applicationAssist.js +0 -28
- package/es/utils/bootstrap.js +0 -58
- package/es/utils/layoutSettingAssist.d.ts +0 -2
- package/es/utils/layoutSettingAssist.js +0 -60
- package/es/utils/metaDataAssist.js +0 -69
- package/es/utils/storageAssist.js +0 -153
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function buildModel(): {
|
|
2
|
+
namespace: string;
|
|
3
|
+
state: {
|
|
4
|
+
data: {
|
|
5
|
+
code: number;
|
|
6
|
+
message: string;
|
|
7
|
+
dataSuccess: boolean;
|
|
8
|
+
data: {};
|
|
9
|
+
list: never[];
|
|
10
|
+
extra: {};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
effects: {
|
|
14
|
+
refreshCurrentOperator({ payload, alias }: {
|
|
15
|
+
payload: any;
|
|
16
|
+
alias: any;
|
|
17
|
+
}, { call, put }: {
|
|
18
|
+
call: any;
|
|
19
|
+
put: any;
|
|
20
|
+
}): Generator<any, {}, unknown>;
|
|
21
|
+
};
|
|
22
|
+
reducers: {
|
|
23
|
+
reducerRemoteData(state: any, action: any): any;
|
|
24
|
+
reducerNormalData(state: any, action: any): any;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export function buildModel(): {
|
|
2
|
+
namespace: string;
|
|
3
|
+
state: {
|
|
4
|
+
data: {
|
|
5
|
+
code: number;
|
|
6
|
+
message: string;
|
|
7
|
+
dataSuccess: boolean;
|
|
8
|
+
data: {};
|
|
9
|
+
list: never[];
|
|
10
|
+
extra: {};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
effects: {
|
|
14
|
+
signIn({ payload, alias }: {
|
|
15
|
+
payload: any;
|
|
16
|
+
alias: any;
|
|
17
|
+
}, { call, put }: {
|
|
18
|
+
call: any;
|
|
19
|
+
put: any;
|
|
20
|
+
}): Generator<any, {}, unknown>;
|
|
21
|
+
getCaptcha({ payload, alias }: {
|
|
22
|
+
payload: any;
|
|
23
|
+
alias: any;
|
|
24
|
+
}, { call, put }: {
|
|
25
|
+
call: any;
|
|
26
|
+
put: any;
|
|
27
|
+
}): Generator<any, {}, unknown>;
|
|
28
|
+
signOut({ payload, alias }: {
|
|
29
|
+
payload: any;
|
|
30
|
+
alias: any;
|
|
31
|
+
}, { call, put }: {
|
|
32
|
+
call: any;
|
|
33
|
+
put: any;
|
|
34
|
+
}): Generator<any, {}, unknown>;
|
|
35
|
+
};
|
|
36
|
+
reducers: {
|
|
37
|
+
reducerRemoteData(state: any, action: any): any;
|
|
38
|
+
reducerNormalData(state: any, action: any): any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function appendEmbedModelBuilder(): void;
|
|
@@ -1,68 +1,48 @@
|
|
|
1
|
-
export function
|
|
2
|
-
namespace: string;
|
|
3
|
-
state: {
|
|
4
|
-
remoteLoading: boolean;
|
|
5
|
-
data: {
|
|
6
|
-
code: number;
|
|
7
|
-
message: string;
|
|
8
|
-
dataSuccess: boolean;
|
|
9
|
-
data: {};
|
|
10
|
-
list: never[];
|
|
11
|
-
extra: {};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
effects: {
|
|
15
|
-
|
|
16
|
-
payload: any;
|
|
17
|
-
alias: any;
|
|
18
|
-
}, { call, put }: {
|
|
19
|
-
call: any;
|
|
20
|
-
put: any;
|
|
21
|
-
}): Generator<any, {}, unknown>;
|
|
22
|
-
|
|
23
|
-
payload: any;
|
|
24
|
-
alias: any;
|
|
25
|
-
}, { call, put }: {
|
|
26
|
-
call: any;
|
|
27
|
-
put: any;
|
|
28
|
-
}): Generator<any, {}, unknown>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
startRemoteLoading({ alias }: {
|
|
50
|
-
alias: any;
|
|
51
|
-
}, { put }: {
|
|
52
|
-
put: any;
|
|
53
|
-
}): Generator<any, {
|
|
54
|
-
remoteLoading: boolean;
|
|
55
|
-
}, unknown>;
|
|
56
|
-
stopRemoteLoading({ alias }: {
|
|
57
|
-
alias: any;
|
|
58
|
-
}, { put }: {
|
|
59
|
-
put: any;
|
|
60
|
-
}): Generator<any, {
|
|
61
|
-
remoteLoading: boolean;
|
|
62
|
-
}, unknown>;
|
|
63
|
-
};
|
|
64
|
-
reducers: {
|
|
65
|
-
reducerRemoteData(state: any, action: any): any;
|
|
66
|
-
reducerNormalData(state: any, action: any): any;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
1
|
+
export function buildModel(): {
|
|
2
|
+
namespace: string;
|
|
3
|
+
state: {
|
|
4
|
+
remoteLoading: boolean;
|
|
5
|
+
data: {
|
|
6
|
+
code: number;
|
|
7
|
+
message: string;
|
|
8
|
+
dataSuccess: boolean;
|
|
9
|
+
data: {};
|
|
10
|
+
list: never[];
|
|
11
|
+
extra: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
effects: {
|
|
15
|
+
refreshApplicationListData({ payload, alias }: {
|
|
16
|
+
payload: any;
|
|
17
|
+
alias: any;
|
|
18
|
+
}, { call, put }: {
|
|
19
|
+
call: any;
|
|
20
|
+
put: any;
|
|
21
|
+
}): Generator<any, {}, unknown>;
|
|
22
|
+
refreshMetaData({ payload, alias }: {
|
|
23
|
+
payload: any;
|
|
24
|
+
alias: any;
|
|
25
|
+
}, { call, put }: {
|
|
26
|
+
call: any;
|
|
27
|
+
put: any;
|
|
28
|
+
}): Generator<any, {}, unknown>;
|
|
29
|
+
startRemoteLoading({ alias }: {
|
|
30
|
+
alias: any;
|
|
31
|
+
}, { put }: {
|
|
32
|
+
put: any;
|
|
33
|
+
}): Generator<any, {
|
|
34
|
+
remoteLoading: boolean;
|
|
35
|
+
}, unknown>;
|
|
36
|
+
stopRemoteLoading({ alias }: {
|
|
37
|
+
alias: any;
|
|
38
|
+
}, { put }: {
|
|
39
|
+
put: any;
|
|
40
|
+
}): Generator<any, {
|
|
41
|
+
remoteLoading: boolean;
|
|
42
|
+
}, unknown>;
|
|
43
|
+
};
|
|
44
|
+
reducers: {
|
|
45
|
+
reducerRemoteData(state: any, action: any): any;
|
|
46
|
+
reducerNormalData(state: any, action: any): any;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function signInData(parameters: any): Promise<void | {}>;
|
|
2
|
+
export function signInDataSimulation(parameters: any): Promise<void | {}>;
|
|
3
|
+
export function getCaptchaData(parameters: any): Promise<void | {}>;
|
|
4
|
+
export function getCaptchaDataSimulation(parameters: any): Promise<void | {}>;
|
|
5
|
+
export function signOutData(parameters: any): Promise<void | {}>;
|
|
6
|
+
export function signOutDataSimulation(parameters: any): Promise<void | {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function
|
|
2
|
-
export function
|
|
3
|
-
export function
|
|
4
|
-
export function
|
|
1
|
+
export function refreshMetaDataData(parameters: any): Promise<void | {}>;
|
|
2
|
+
export function refreshMetaDataSimulation(parameters: any): Promise<void | {}>;
|
|
3
|
+
export function refreshSingleListApplicationListData(parameters: any): Promise<void | {}>;
|
|
4
|
+
export function refreshSingleListApplicationListDataSimulation(parameters: any): Promise<void | {}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export function loadApplicationListData({ successCallback }: {
|
|
2
|
-
successCallback?: null | undefined;
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export function loadApplicationListData({ successCallback, failCallback, }: {
|
|
2
|
+
successCallback?: null | undefined;
|
|
3
|
+
failCallback?: null | undefined;
|
|
4
|
+
}): void;
|
|
5
|
+
export function getApplicationListData(): any;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取 applicationListData 缓存
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @param {*} fn
|
|
6
|
-
* @returns
|
|
7
|
-
*/
|
|
8
|
-
export function getApplicationListDataCache(): any;
|
|
9
|
-
/**
|
|
10
|
-
* 设置 applicationListData 缓存
|
|
11
|
-
*
|
|
12
|
-
* @export
|
|
13
|
-
* @param {o} metaData数据
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export function setApplicationListDataCache(o: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* 移除信息
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @param {*} fn
|
|
22
|
-
* @returns
|
|
23
|
-
*/
|
|
24
|
-
export function removeApplicationListDataCache(): void;
|
|
1
|
+
/**
|
|
2
|
+
* 获取 applicationListData 缓存
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @param {*} fn
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export function getApplicationListDataCache(): any;
|
|
9
|
+
/**
|
|
10
|
+
* 设置 applicationListData 缓存
|
|
11
|
+
*
|
|
12
|
+
* @export
|
|
13
|
+
* @param {o} metaData数据
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export function setApplicationListDataCache(o: any): void;
|
|
17
|
+
/**
|
|
18
|
+
* 移除信息
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @param {*} fn
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export function removeApplicationListDataCache(): void;
|
package/es/utils/bootstrap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Load application initial data after sign in, make sure to call after sign in
|
|
3
|
-
*/
|
|
4
|
-
export function loadApplicationInitialData(): void;
|
|
1
|
+
/**
|
|
2
|
+
* Load application initial data after sign in, make sure to call after sign in
|
|
3
|
+
*/
|
|
4
|
+
export function loadApplicationInitialData(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function configEnvironment(): void;
|
|
1
|
+
export function configEnvironment(otherConfigHandler?: null): void;
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Set transfer layout avatar handler
|
|
3
|
+
* @param {Function} handler handle transfer layout avatar
|
|
4
|
+
*/
|
|
5
|
+
export function setTransferLayoutAvatarHandler(handler: Function): void;
|
|
6
|
+
export function transferLayoutAvatar({ currentOperator }: {
|
|
7
|
+
currentOperator: any;
|
|
8
|
+
}): any;
|
|
9
|
+
export function getCurrentOperator({ force, successCallback, failCallback, }: {
|
|
10
|
+
force?: boolean | undefined;
|
|
11
|
+
successCallback?: null | undefined;
|
|
12
|
+
failCallback?: null | undefined;
|
|
13
|
+
}): void;
|
|
14
|
+
export namespace currentOperatorAssistConfigure {
|
|
15
|
+
function handleTransferLayoutAvatar({ currentOperator }: {
|
|
16
|
+
currentOperator: any;
|
|
17
|
+
}): any;
|
|
18
|
+
const transferLayoutAvatarSetComplete: boolean;
|
|
19
|
+
}
|
package/es/utils/definition.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Module Package Name
|
|
3
|
-
*/
|
|
4
|
-
export const modulePackageName: "antd-management-fast-framework";
|
|
1
|
+
/**
|
|
2
|
+
* Module Package Name
|
|
3
|
+
*/
|
|
4
|
+
export const modulePackageName: "antd-management-fast-framework";
|
package/es/utils/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export * from "./applicationListDataAssist";
|
|
2
|
-
export * from "./applicationListDataCacheAssist";
|
|
3
|
-
export * from "./bootstrap";
|
|
4
|
-
export * from "./configAssist";
|
|
5
|
-
export * from "./currentOperatorAssist";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
1
|
+
export * from "./applicationListDataAssist";
|
|
2
|
+
export * from "./applicationListDataCacheAssist";
|
|
3
|
+
export * from "./bootstrap";
|
|
4
|
+
export * from "./configAssist";
|
|
5
|
+
export * from "./currentOperatorAssist";
|
|
6
|
+
export * from "./interfaceSettingAssist";
|
|
7
|
+
export * from "./interfaceSettingCacheAssist";
|
|
8
|
+
export * from "./metaDataAssist";
|
|
9
|
+
export * from "./schedulingControlAssist";
|
|
10
|
+
export * from "./signInAssist";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function getLayoutSetting({ logo, title, water, footerLinks, initialState, setInitialState, themeToken, config, }: {
|
|
2
|
+
logo?: string | undefined;
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
water?: string | undefined;
|
|
5
|
+
footerLinks?: any[] | undefined;
|
|
6
|
+
initialState: any;
|
|
7
|
+
setInitialState: any;
|
|
8
|
+
themeToken?: {} | undefined;
|
|
9
|
+
config: any;
|
|
10
|
+
}): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get interfaceSetting catch
|
|
3
|
+
*/
|
|
4
|
+
export function getInterfaceSetting(): any;
|
|
5
|
+
/**
|
|
6
|
+
* Set interfaceSetting catch
|
|
7
|
+
* @param {String} value
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export function setInterfaceSetting(value: string): void;
|
|
11
|
+
/**
|
|
12
|
+
* Remove interfaceSetting catch
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @param {*} fn
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export function removeInterfaceSetting(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function loadMetaData({ successCallback, failCallback }: {
|
|
2
|
-
successCallback?: null | undefined;
|
|
3
|
-
failCallback?: null | undefined;
|
|
4
|
-
}): void;
|
|
5
|
-
export function getMetaData(): any;
|
|
1
|
+
export function loadMetaData({ successCallback, failCallback }: {
|
|
2
|
+
successCallback?: null | undefined;
|
|
3
|
+
failCallback?: null | undefined;
|
|
4
|
+
}): void;
|
|
5
|
+
export function getMetaData(): any;
|
|
@@ -1,10 +1,34 @@
|
|
|
1
|
-
export namespace schedulingControlAssist {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
function
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
function
|
|
10
|
-
|
|
1
|
+
export namespace schedulingControlAssist {
|
|
2
|
+
/**
|
|
3
|
+
* Get meta data request is processing
|
|
4
|
+
*/
|
|
5
|
+
function getMetaDataRequestProcessing(): any;
|
|
6
|
+
/**
|
|
7
|
+
* Set meta data request is processing
|
|
8
|
+
*/
|
|
9
|
+
function setMetaDataRequestProcessing(value: any): void;
|
|
10
|
+
/**
|
|
11
|
+
* Get application list data request is processing
|
|
12
|
+
*/
|
|
13
|
+
function getApplicationListDataProcessing(): any;
|
|
14
|
+
/**
|
|
15
|
+
* Set application list data request is processing
|
|
16
|
+
*/
|
|
17
|
+
function setApplicationListDataProcessing(value: any): void;
|
|
18
|
+
/**
|
|
19
|
+
* Get current operator request is processing
|
|
20
|
+
*/
|
|
21
|
+
function getCurrentOperatorRequestProcessing(): any;
|
|
22
|
+
/**
|
|
23
|
+
* Set current operator request is processing
|
|
24
|
+
*/
|
|
25
|
+
function setCurrentOperatorRequestProcessing(value: any): void;
|
|
26
|
+
/**
|
|
27
|
+
* start remote loading
|
|
28
|
+
*/
|
|
29
|
+
function startRemoteLoading(): void;
|
|
30
|
+
/**
|
|
31
|
+
* stop remote loading
|
|
32
|
+
*/
|
|
33
|
+
function stopRemoteLoading(): void;
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/kityandhero/antd-management-fast-framework#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -49,15 +49,17 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@ant-design/icons": "^5.0.1",
|
|
52
|
-
"@ant-design/pro-
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"antd
|
|
56
|
-
"antd-management-fast-
|
|
52
|
+
"@ant-design/pro-components": "^2.4.2",
|
|
53
|
+
"@ant-design/pro-layout": "^7.10.2",
|
|
54
|
+
"@umijs/max": "^4.0.61",
|
|
55
|
+
"antd": "^5.3.1",
|
|
56
|
+
"antd-management-fast-common": "^2.1.2",
|
|
57
|
+
"antd-management-fast-component": "^2.1.2",
|
|
58
|
+
"axios": "^1.3.4",
|
|
57
59
|
"classnames": "^2.3.2",
|
|
58
60
|
"dayjs": "^1.11.7",
|
|
59
|
-
"easy-soft-dva": "^3.6.
|
|
60
|
-
"easy-soft-utility": "^2.4.
|
|
61
|
+
"easy-soft-dva": "^3.6.130",
|
|
62
|
+
"easy-soft-utility": "^2.4.101",
|
|
61
63
|
"html-react-parser": "^3.0.12",
|
|
62
64
|
"nprogress": "^0.2.0",
|
|
63
65
|
"rc-animate": "^3.1.1",
|
|
@@ -65,11 +67,12 @@
|
|
|
65
67
|
"react": "^18.2.0",
|
|
66
68
|
"react-dnd": "^16.0.1",
|
|
67
69
|
"react-dnd-html5-backend": "^16.0.1",
|
|
68
|
-
"react-dom": "^18.2.0"
|
|
70
|
+
"react-dom": "^18.2.0",
|
|
71
|
+
"react-toastify": "^9.1.1"
|
|
69
72
|
},
|
|
70
73
|
"devDependencies": {
|
|
71
|
-
"@babel/core": "^7.21.
|
|
72
|
-
"@babel/eslint-parser": "^7.
|
|
74
|
+
"@babel/core": "^7.21.3",
|
|
75
|
+
"@babel/eslint-parser": "^7.21.3",
|
|
73
76
|
"@babel/plugin-external-helpers": "^7.18.6",
|
|
74
77
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
75
78
|
"@babel/plugin-proposal-decorators": "^7.21.0",
|
|
@@ -93,23 +96,23 @@
|
|
|
93
96
|
"@rollup/plugin-url": "^8.0.1",
|
|
94
97
|
"@svgr/rollup": "^6.5.1",
|
|
95
98
|
"@types/fs-extra": "^11.0.1",
|
|
96
|
-
"@types/jest": "^29.
|
|
99
|
+
"@types/jest": "^29.5.0",
|
|
97
100
|
"@types/lodash": "^4.14.191",
|
|
98
101
|
"@types/lodash.isequal": "^4.5.6",
|
|
99
|
-
"@types/node": "^18.15.
|
|
102
|
+
"@types/node": "^18.15.3",
|
|
100
103
|
"@types/nprogress": "^0.2.0",
|
|
101
104
|
"@types/react": "^18.0.28",
|
|
102
105
|
"@types/react-dom": "^18.0.11",
|
|
103
106
|
"@types/shelljs": "^0.8.11",
|
|
104
|
-
"@typescript-eslint/parser": "^5.
|
|
107
|
+
"@typescript-eslint/parser": "^5.55.0",
|
|
105
108
|
"autoprefixer": "^10.4.14",
|
|
106
109
|
"commitizen": "^4.3.0",
|
|
107
110
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
108
111
|
"cross-env": "^7.0.3",
|
|
109
112
|
"cssnano": "^5.1.15",
|
|
110
113
|
"documentation": "^14.0.1",
|
|
111
|
-
"easy-soft-develop": "^2.0.
|
|
112
|
-
"eslint": "^8.
|
|
114
|
+
"easy-soft-develop": "^2.0.177",
|
|
115
|
+
"eslint": "^8.36.0",
|
|
113
116
|
"eslint-config-airbnb": "^19.0.4",
|
|
114
117
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
115
118
|
"eslint-config-prettier": "^8.7.0",
|
|
@@ -127,14 +130,14 @@
|
|
|
127
130
|
"eslint-plugin-unicorn": "^46.0.0",
|
|
128
131
|
"husky": "^8.0.3",
|
|
129
132
|
"jest": "^29.5.0",
|
|
130
|
-
"lint-staged": "^13.
|
|
133
|
+
"lint-staged": "^13.2.0",
|
|
131
134
|
"npm-check-updates": "^16.7.12",
|
|
132
135
|
"prettier": "^2.8.4",
|
|
133
136
|
"prettier-plugin-organize-imports": "^3",
|
|
134
137
|
"prettier-plugin-packagejson": "^2",
|
|
135
138
|
"prop-types": "^15.8.1",
|
|
136
139
|
"rimraf": "^4.4.0",
|
|
137
|
-
"rollup": "^3.19.
|
|
140
|
+
"rollup": "^3.19.1",
|
|
138
141
|
"rollup-plugin-copy": "^3.4.0",
|
|
139
142
|
"rollup-plugin-dts": "^5.2.0",
|
|
140
143
|
"rollup-plugin-livereload": "^2.0.5",
|
|
@@ -143,11 +146,11 @@
|
|
|
143
146
|
"rollup-plugin-serve": "^2.0.2",
|
|
144
147
|
"rollup-plugin-terser": "^7.0.2",
|
|
145
148
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
146
|
-
"stylelint": "^15.
|
|
149
|
+
"stylelint": "^15.3.0",
|
|
147
150
|
"stylelint-config-css-modules": "^4.2.0",
|
|
148
151
|
"stylelint-config-prettier": "^9.0.5",
|
|
149
|
-
"stylelint-config-standard": "^
|
|
152
|
+
"stylelint-config-standard": "^31.0.0",
|
|
150
153
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
151
|
-
"typescript": "^
|
|
154
|
+
"typescript": "^5.0.2"
|
|
152
155
|
}
|
|
153
156
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export function buildConfig(packageImport: any): {
|
|
2
|
-
mfsu: {
|
|
3
|
-
shared: {
|
|
4
|
-
react: {
|
|
5
|
-
singleton: boolean;
|
|
6
|
-
requiredVersion: any;
|
|
7
|
-
};
|
|
8
|
-
'react-dom': {
|
|
9
|
-
singleton: boolean;
|
|
10
|
-
requiredVersion: any;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
hash: boolean;
|
|
15
|
-
antd: {};
|
|
16
|
-
access: {};
|
|
17
|
-
model: {};
|
|
18
|
-
initialState: {};
|
|
19
|
-
request: {};
|
|
20
|
-
dva: {};
|
|
21
|
-
history: {
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
|
-
locale: {
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
layout: {};
|
|
28
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
function buildConfig(packageImport) {
|
|
2
|
-
var deps = packageImport.dependencies;
|
|
3
|
-
return {
|
|
4
|
-
mfsu: {
|
|
5
|
-
shared: {
|
|
6
|
-
react: {
|
|
7
|
-
singleton: true,
|
|
8
|
-
requiredVersion: deps['react']
|
|
9
|
-
},
|
|
10
|
-
'react-dom': {
|
|
11
|
-
singleton: true,
|
|
12
|
-
requiredVersion: deps['react-dom']
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
hash: true,
|
|
17
|
-
antd: {},
|
|
18
|
-
access: {},
|
|
19
|
-
model: {},
|
|
20
|
-
initialState: {},
|
|
21
|
-
request: {},
|
|
22
|
-
dva: {},
|
|
23
|
-
history: {
|
|
24
|
-
type: 'hash'
|
|
25
|
-
},
|
|
26
|
-
locale: {
|
|
27
|
-
// 默认使用 src/locales/zh-CN.ts 作为多语言文件
|
|
28
|
-
"default": 'zh-CN'
|
|
29
|
-
// baseSeparator: '-',
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
layout: {}
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { buildConfig };
|