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.
Files changed (197) hide show
  1. package/es/components/ApplicationWrapper/index.d.ts +9 -9
  2. package/es/components/Bootstrap/index.d.ts +3 -3
  3. package/es/components/DataPreviewDrawer/index.d.ts +31 -31
  4. package/es/components/LoadingOverlay/index.d.ts +6 -6
  5. package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -10
  6. package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -75
  7. package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -54
  8. package/es/components/MobileContainor/index.d.ts +8 -8
  9. package/es/components/index.d.ts +5 -5
  10. package/es/configs/index.d.ts +2 -2
  11. package/es/configs/themeCollection.d.ts +7 -7
  12. package/es/configs/webpackPlugin.d.ts +4 -4
  13. package/es/framework/AuthorizationWrapper/index.d.ts +11 -12
  14. package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +14 -14
  15. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +18 -18
  16. package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -6
  17. package/es/framework/ButtonExtension/index.d.ts +1 -1
  18. package/es/framework/Common/InternalBuild/index.d.ts +26 -26
  19. package/es/framework/Common/InternalFlow/index.d.ts +149 -149
  20. package/es/framework/Common/InternalLayout/index.d.ts +9 -9
  21. package/es/framework/Common/InternalTabFlow/index.d.ts +12 -12
  22. package/es/framework/Common/index.d.ts +3 -3
  23. package/es/framework/Core/index.d.ts +20 -20
  24. package/es/framework/CustomWrapper/Supplement/index.d.ts +9 -9
  25. package/es/framework/CustomWrapper/SupplementCore/index.d.ts +18 -18
  26. package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +3 -3
  27. package/es/framework/CustomWrapper/index.d.ts +3 -3
  28. package/es/framework/DataDrawer/Base/index.d.ts +55 -55
  29. package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +19 -19
  30. package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +4 -4
  31. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +6 -6
  32. package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -4
  33. package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +3 -3
  34. package/es/framework/DataDrawer/index.d.ts +14 -14
  35. package/es/framework/DataForm/BaseAddForm/index.d.ts +34 -34
  36. package/es/framework/DataForm/BaseUpdateForm/index.d.ts +9 -9
  37. package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +3 -3
  38. package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +4 -4
  39. package/es/framework/DataForm/index.d.ts +10 -10
  40. package/es/framework/DataListView/Base/index.d.ts +180 -180
  41. package/es/framework/DataListView/BatchAction/index.d.ts +21 -21
  42. package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +7 -7
  43. package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -2
  44. package/es/framework/DataListView/DensityAction/index.d.ts +6 -6
  45. package/es/framework/DataListView/index.d.ts +10 -10
  46. package/es/framework/DataMenuContainer/index.d.ts +28 -28
  47. package/es/framework/DataModal/Base/index.d.ts +65 -65
  48. package/es/framework/DataModal/BaseAddModal/index.d.ts +3 -3
  49. package/es/framework/DataModal/BaseLoadModal/index.d.ts +4 -4
  50. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +35 -35
  51. package/es/framework/DataModal/BaseSelectModal/index.d.ts +28 -28
  52. package/es/framework/DataModal/BaseUpdateModal/index.d.ts +3 -3
  53. package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +44 -44
  54. package/es/framework/DataModal/index.d.ts +16 -16
  55. package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +4 -4
  56. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +32 -32
  57. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +69 -69
  58. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +10 -10
  59. package/es/framework/DataMultiPageView/index.d.ts +10 -10
  60. package/es/framework/DataOperation/Base/index.d.ts +76 -76
  61. package/es/framework/DataOperation/BaseView/index.d.ts +10 -10
  62. package/es/framework/DataOperation/BaseWindow/index.d.ts +89 -89
  63. package/es/framework/DataOperation/index.d.ts +8 -8
  64. package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +5 -5
  65. package/es/framework/DataSinglePageView/SinglePage/index.d.ts +32 -32
  66. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +71 -71
  67. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +13 -13
  68. package/es/framework/DataSinglePageView/index.d.ts +10 -10
  69. package/es/framework/DataSingleView/DataCore/index.d.ts +30 -30
  70. package/es/framework/DataSingleView/DataLoad/index.d.ts +51 -51
  71. package/es/framework/DataSingleView/index.d.ts +6 -6
  72. package/es/framework/DataTabContainer/index.d.ts +36 -36
  73. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +24 -24
  74. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldInteractiveBase/index.d.ts +19 -19
  75. package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -6
  76. package/es/framework/FieldExtension/index.d.ts +4 -4
  77. package/es/framework/Wrapper/index.d.ts +3 -3
  78. package/es/framework/index.d.ts +17 -17
  79. package/es/index.css +1 -1
  80. package/es/index.d.ts +5 -5
  81. package/es/index.js +3 -9771
  82. package/es/modelBuilders/currentOperator.d.ts +26 -0
  83. package/es/modelBuilders/entrance.d.ts +40 -0
  84. package/es/modelBuilders/index.d.ts +1 -1
  85. package/es/modelBuilders/schedulingControl.d.ts +48 -68
  86. package/es/services/currentOperator.d.ts +2 -0
  87. package/es/services/entrance.d.ts +6 -0
  88. package/es/services/schedulingControl.d.ts +4 -4
  89. package/es/utils/applicationListDataAssist.d.ts +5 -4
  90. package/es/utils/applicationListDataCacheAssist.d.ts +24 -24
  91. package/es/utils/bootstrap.d.ts +4 -4
  92. package/es/utils/configAssist.d.ts +1 -1
  93. package/es/utils/currentOperatorAssist.d.ts +19 -5
  94. package/es/utils/definition.d.ts +4 -4
  95. package/es/utils/index.d.ts +10 -8
  96. package/es/utils/interfaceSettingAssist.d.ts +10 -0
  97. package/es/utils/interfaceSettingCacheAssist.d.ts +18 -0
  98. package/es/utils/metaDataAssist.d.ts +5 -5
  99. package/es/utils/schedulingControlAssist.d.ts +34 -10
  100. package/es/utils/signInAssist.d.ts +6 -0
  101. package/package.json +24 -21
  102. package/es/configGroup/configGeneral.d.ts +0 -28
  103. package/es/configGroup/configGeneral.js +0 -36
  104. package/es/configGroup/index.d.ts +0 -2
  105. package/es/configGroup/themeCollection.d.ts +0 -7
  106. package/es/configGroup/themeCollection.js +0 -9
  107. package/es/configGroup/webpackPlugin.d.ts +0 -4
  108. package/es/configGroup/webpackPlugin.js +0 -351
  109. package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
  110. package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
  111. package/es/customComponents/Bootstrap/index.d.ts +0 -3
  112. package/es/customComponents/Bootstrap/index.js +0 -67
  113. package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
  114. package/es/customComponents/DataPreviewDrawer/index.js +0 -169
  115. package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
  116. package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
  117. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
  118. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
  119. package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
  120. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
  121. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
  122. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
  123. package/es/customComponents/MobileContainor/index.d.ts +0 -8
  124. package/es/customComponents/index.d.ts +0 -5
  125. package/es/framework/AuthorizationWrapper/index.js +0 -108
  126. package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
  127. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
  128. package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
  129. package/es/framework/Common/CommonInternal/index.d.ts +0 -167
  130. package/es/framework/Common/InternalMake/index.d.ts +0 -9
  131. package/es/framework/Common/index.js +0 -39
  132. package/es/framework/Core/index.js +0 -38
  133. package/es/framework/CustomWrapper/Supplement/index.js +0 -67
  134. package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
  135. package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
  136. package/es/framework/DataDrawer/Base/index.js +0 -335
  137. package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
  138. package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
  139. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
  140. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
  141. package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
  142. package/es/framework/DataForm/BaseAddForm/index.js +0 -261
  143. package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
  144. package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
  145. package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
  146. package/es/framework/DataListView/Base/index.js +0 -1261
  147. package/es/framework/DataListView/BatchAction/index.js +0 -73
  148. package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
  149. package/es/framework/DataListView/ColumnSetting/index.js +0 -319
  150. package/es/framework/DataListView/DensityAction/index.js +0 -63
  151. package/es/framework/DataMenuContainer/index.js +0 -282
  152. package/es/framework/DataModal/Base/index.js +0 -231
  153. package/es/framework/DataModal/BaseAddModal/index.js +0 -72
  154. package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
  155. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
  156. package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
  157. package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
  158. package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
  159. package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
  160. package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
  161. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
  162. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
  163. package/es/framework/DataOperation/Base/index.js +0 -322
  164. package/es/framework/DataOperation/BaseView/index.js +0 -83
  165. package/es/framework/DataOperation/BaseWindow/index.js +0 -330
  166. package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
  167. package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
  168. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
  169. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
  170. package/es/framework/DataSingleView/DataCore/index.js +0 -260
  171. package/es/framework/DataSingleView/DataLoad/index.js +0 -151
  172. package/es/framework/DataTabContainer/index.js +0 -254
  173. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
  174. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
  175. package/es/framework/LayoutWrapper/index.d.ts +0 -2
  176. package/es/framework/Wrapper/index.js +0 -59
  177. package/es/get.js +0 -28
  178. package/es/getPrototypeOf.js +0 -76
  179. package/es/index2.js +0 -2075
  180. package/es/index3.js +0 -383
  181. package/es/models/index.d.ts +0 -1
  182. package/es/models/schedulingControl.d.ts +0 -46
  183. package/es/models/schedulingControl.js +0 -171
  184. package/es/objectSpread2.js +0 -40
  185. package/es/services/schedulingControl.js +0 -135
  186. package/es/slicedToArray.js +0 -43
  187. package/es/toConsumableArray.js +0 -19
  188. package/es/toPropertyKey.js +0 -19
  189. package/es/typeof.js +0 -11
  190. package/es/unsupportedIterableToArray.js +0 -16
  191. package/es/utils/appListDataAssist.js +0 -69
  192. package/es/utils/applicationAssist.js +0 -28
  193. package/es/utils/bootstrap.js +0 -58
  194. package/es/utils/layoutSettingAssist.d.ts +0 -2
  195. package/es/utils/layoutSettingAssist.js +0 -60
  196. package/es/utils/metaDataAssist.js +0 -69
  197. 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 * from "./schedulingControl";
1
+ export function appendEmbedModelBuilder(): void;
@@ -1,68 +1,48 @@
1
- export function buildSchedulingControlModel(): {
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
- getApplicationListData({ payload, alias }: {
16
- payload: any;
17
- alias: any;
18
- }, { call, put }: {
19
- call: any;
20
- put: any;
21
- }): Generator<any, {}, unknown>;
22
- getApplicationListDataSimulation({ payload, alias }: {
23
- payload: any;
24
- alias: any;
25
- }, { call, put }: {
26
- call: any;
27
- put: any;
28
- }): Generator<any, {}, unknown>;
29
- getMetaData({ payload, alias }: {
30
- payload: any;
31
- alias: any;
32
- }, { call, put }: {
33
- call: any;
34
- put: any;
35
- }): Generator<any, {}, unknown>;
36
- getMetaDataSimulation({ payload, alias }: {
37
- payload: any;
38
- alias: any;
39
- }, { call, put }: {
40
- call: any;
41
- put: any;
42
- }): Generator<any, {}, unknown>;
43
- configLayoutSetting({ payload, alias }: {
44
- payload: any;
45
- alias: any;
46
- }, { put }: {
47
- put: any;
48
- }): Generator<any, any, unknown>;
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,2 @@
1
+ export function refreshCurrentOperatorData(parameters: any): Promise<void | {}>;
2
+ export function refreshCurrentOperatorDataSimulation(parameters: any): Promise<void | {}>;
@@ -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 getMetaDataData(parameters: any): Promise<void | {}>;
2
- export function getMetaDataSimulation(parameters: any): Promise<void | {}>;
3
- export function singleListApplicationListData(parameters: any): Promise<void | {}>;
4
- export function singleListApplicationListDataSimulation(parameters: any): Promise<void | {}>;
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
- }): void;
4
- export function getApplicationListData(): any;
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;
@@ -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
- export function getCurrentOperator({ force, successCallback, failCallback, }: {
2
- force?: boolean | undefined;
3
- successCallback?: null | undefined;
4
- failCallback?: null | undefined;
5
- }): void;
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
+ }
@@ -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";
@@ -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 "./layoutSettingAssist";
7
- export * from "./metaDataAssist";
8
- export * from "./schedulingControlAssist";
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
- * start remote loading
4
- */
5
- function startRemoteLoading(): void;
6
- /**
7
- * stop remote loading
8
- */
9
- function stopRemoteLoading(): void;
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
+ }
@@ -0,0 +1,6 @@
1
+ export function signInAction({ target, handleData, successCallback, failCallback, }: {
2
+ target: any;
3
+ handleData: any;
4
+ successCallback?: null | undefined;
5
+ failCallback?: null | undefined;
6
+ }): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "2.1.0",
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-layout": "^7.10.0",
53
- "@umijs/max": "^4.0.57",
54
- "antd": "^5.3.0",
55
- "antd-management-fast-common": "^2.1.0",
56
- "antd-management-fast-component": "^2.1.0",
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.120",
60
- "easy-soft-utility": "^2.4.91",
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.0",
72
- "@babel/eslint-parser": "^7.19.1",
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.4.0",
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.0",
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.54.1",
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.174",
112
- "eslint": "^8.35.0",
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.1.2",
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.0",
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.2.0",
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": "^30.0.1",
152
+ "stylelint-config-standard": "^31.0.0",
150
153
  "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
151
- "typescript": "^4.9.5"
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 };
@@ -1,2 +0,0 @@
1
- export * from "./themeCollection";
2
- export * from "./webpackPlugin";
@@ -1,7 +0,0 @@
1
- export namespace themeCollection {
2
- const list: {
3
- key: string;
4
- fileName: string;
5
- theme: string;
6
- }[];
7
- }
@@ -1,9 +0,0 @@
1
- var configGeneral = {
2
- list: [{
3
- key: 'dark',
4
- fileName: 'dark.css',
5
- theme: 'dark'
6
- }]
7
- };
8
-
9
- export { configGeneral };
@@ -1,4 +0,0 @@
1
- export function webpackPlugin(config: any): void;
2
- export function webpackPlugin5(config: any, { env }: {
3
- env: any;
4
- }): void;