antd-management-fast-framework 1.12.18 → 1.12.21
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/customComponents/Entrance/EntranceContext.d.ts +2 -0
- package/es/customComponents/{Login/loginContext.js → Entrance/EntranceContext.js} +2 -2
- package/es/customComponents/Entrance/EntranceItem.d.ts +2 -0
- package/es/customComponents/Entrance/EntranceItem.js +241 -0
- package/es/customComponents/Entrance/EntranceSubmit.d.ts +5 -0
- package/es/customComponents/{Login/LoginSubmit.js → Entrance/EntranceSubmit.js} +2 -2
- package/es/customComponents/Entrance/EntranceTab.d.ts +2 -0
- package/es/customComponents/Entrance/EntranceTab.js +55 -0
- package/es/customComponents/Entrance/index.d.ts +12 -0
- package/es/customComponents/Entrance/index.js +144 -0
- package/es/customComponents/{Login → Entrance}/index.less +9 -7
- package/es/customComponents/{Login → Entrance}/map.d.ts +0 -0
- package/es/customComponents/{Login → Entrance}/map.js +6 -3
- package/es/customComponents/index.js +0 -49
- package/es/framework/Base/index.js +4 -1
- package/es/framework/Common/index.js +1 -1
- package/es/framework/DataModal/Base/index.less +0 -1
- package/es/utils/authority.js +22 -14
- package/es/utils/constants.d.ts +3 -3
- package/es/utils/constants.js +3 -3
- package/es/utils/defaultSettingsSpecial.d.ts +3 -3
- package/es/utils/defaultSettingsSpecial.js +15 -15
- package/es/utils/request.js +3 -3
- package/es/utils/requestAssistor.js +8 -10
- package/es/utils/tools.d.ts +4 -3
- package/es/utils/tools.js +16 -0
- package/es/utils/virtualRequest.js +8 -8
- package/package.json +11 -9
- package/es/customComponents/Login/LoginItem.d.ts +0 -2
- package/es/customComponents/Login/LoginItem.js +0 -237
- package/es/customComponents/Login/LoginSubmit.d.ts +0 -5
- package/es/customComponents/Login/LoginTab.d.ts +0 -5
- package/es/customComponents/Login/LoginTab.js +0 -100
- package/es/customComponents/Login/index.d.ts +0 -38
- package/es/customComponents/Login/index.js +0 -222
- package/es/customComponents/Login/loginContext.d.ts +0 -2
package/es/utils/authority.js
CHANGED
|
@@ -167,14 +167,18 @@ function checkHasAuthorities(authCollection) {
|
|
|
167
167
|
function checkHasAuthorityCore(auth) {
|
|
168
168
|
if (checkIsSuper()) {
|
|
169
169
|
return true;
|
|
170
|
-
}
|
|
170
|
+
} // if (isObject(auth)) {
|
|
171
|
+
// console.log({
|
|
172
|
+
// auth,
|
|
173
|
+
// attachedTargetName:
|
|
174
|
+
// (this || null) != null
|
|
175
|
+
// ? (this.constructor || null) != null
|
|
176
|
+
// ? this.constructor.name
|
|
177
|
+
// : ''
|
|
178
|
+
// : '',
|
|
179
|
+
// });
|
|
180
|
+
// }
|
|
171
181
|
|
|
172
|
-
if ((0, _tools.isObject)(auth)) {
|
|
173
|
-
console.log({
|
|
174
|
-
auth: auth,
|
|
175
|
-
attachedTargetName: (this || null) != null ? (this.constructor || null) != null ? this.constructor.name : '' : ''
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
182
|
|
|
179
183
|
var result = '0';
|
|
180
184
|
var existCache = (0, _cacheAssist.hasCache)({
|
|
@@ -214,13 +218,17 @@ function checkHasAuthorityCore(auth) {
|
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
function checkHasAuthority(auth) {
|
|
217
|
-
if (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
// if (isObject(auth)) {
|
|
222
|
+
// console.log({
|
|
223
|
+
// auth,
|
|
224
|
+
// attachedTargetName:
|
|
225
|
+
// (this || null) != null
|
|
226
|
+
// ? (this.constructor || null) != null
|
|
227
|
+
// ? this.constructor.name
|
|
228
|
+
// : ''
|
|
229
|
+
// : '',
|
|
230
|
+
// });
|
|
231
|
+
// }
|
|
224
232
|
if ((0, _tools.isArray)(auth)) {
|
|
225
233
|
return checkHasAuthorities(auth);
|
|
226
234
|
}
|
package/es/utils/constants.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export namespace appInitDefault {
|
|
|
34
34
|
export const platformName: string;
|
|
35
35
|
export const appName: string;
|
|
36
36
|
export const appDescription: string;
|
|
37
|
-
export const
|
|
37
|
+
export const entranceLogo: string;
|
|
38
38
|
export const shareLogo: string;
|
|
39
39
|
export const shareLogoName: string;
|
|
40
40
|
export const leftBarText: string;
|
|
@@ -44,12 +44,12 @@ export namespace appInitDefault {
|
|
|
44
44
|
export const corsTargetProduction: string;
|
|
45
45
|
}
|
|
46
46
|
export const showSelectLanguage: boolean;
|
|
47
|
-
export const
|
|
47
|
+
export const showLogoInEntrance: boolean;
|
|
48
48
|
export { emptyLogo };
|
|
49
49
|
export { emptyLogo as leftBarLogo };
|
|
50
50
|
export { apiSuccessCode };
|
|
51
51
|
export { authenticationFailCode };
|
|
52
|
-
export const
|
|
52
|
+
export const entrancePath: string;
|
|
53
53
|
export const showLogInConsole: boolean;
|
|
54
54
|
export const showRequestInfo: boolean;
|
|
55
55
|
export const useVirtualRequest: boolean;
|
package/es/utils/constants.js
CHANGED
|
@@ -62,7 +62,7 @@ var appInitDefault = {
|
|
|
62
62
|
platformName: '平台名称',
|
|
63
63
|
appName: '应用名称',
|
|
64
64
|
appDescription: '应用描述',
|
|
65
|
-
|
|
65
|
+
entranceLogo: '',
|
|
66
66
|
shareLogo: '',
|
|
67
67
|
shareLogoName: 'Logo',
|
|
68
68
|
leftBarText: '左侧名称',
|
|
@@ -72,12 +72,12 @@ var appInitDefault = {
|
|
|
72
72
|
corsTargetProduction: ''
|
|
73
73
|
},
|
|
74
74
|
showSelectLanguage: false,
|
|
75
|
-
|
|
75
|
+
showLogoInEntrance: true,
|
|
76
76
|
emptyLogo: emptyLogo,
|
|
77
77
|
leftBarLogo: emptyLogo,
|
|
78
78
|
apiSuccessCode: apiSuccessCode,
|
|
79
79
|
authenticationFailCode: authenticationFailCode,
|
|
80
|
-
|
|
80
|
+
entrancePath: '/entrance/signIn',
|
|
81
81
|
showLogInConsole: false,
|
|
82
82
|
showRequestInfo: false,
|
|
83
83
|
useVirtualRequest: false,
|
|
@@ -14,11 +14,11 @@ export namespace defaultSettingsLayoutCustom {
|
|
|
14
14
|
export function getVideoUploadMaxSize(): number;
|
|
15
15
|
export function getImageUploadMaxSize(): number;
|
|
16
16
|
export function getShowSelectLanguage(): boolean;
|
|
17
|
-
export function
|
|
17
|
+
export function getShowLogoInEntrance(): boolean;
|
|
18
18
|
export function getEmptyLogo(): string;
|
|
19
19
|
export function getApiSuccessCode(): number;
|
|
20
20
|
export function getAuthenticationFailCode(): number;
|
|
21
|
-
export function
|
|
21
|
+
export function getEntrancePath(): string;
|
|
22
22
|
export function getApiVersion(): string;
|
|
23
23
|
export function getUseVirtualRequest(): boolean;
|
|
24
24
|
export function getShowUseVirtualRequestMessage(): boolean;
|
|
@@ -28,7 +28,7 @@ export namespace defaultSettingsLayoutCustom {
|
|
|
28
28
|
export function getAppName(): string;
|
|
29
29
|
export function getAppDescription(): string;
|
|
30
30
|
export function getTitle(): string;
|
|
31
|
-
export function
|
|
31
|
+
export function getEntranceLogo(): string;
|
|
32
32
|
export function getShareLogo(): string;
|
|
33
33
|
export function getShareLogoName(): string;
|
|
34
34
|
export function getCompanyName(): string;
|
|
@@ -97,15 +97,15 @@ var defaultSettingsLayoutCustom = {
|
|
|
97
97
|
|
|
98
98
|
return showSelectLanguage || false;
|
|
99
99
|
},
|
|
100
|
-
|
|
100
|
+
getShowLogoInEntrance: function getShowLogoInEntrance() {
|
|
101
101
|
var appInit = (0, _tools.getAppInitConfigData)();
|
|
102
102
|
|
|
103
|
-
var
|
|
104
|
-
|
|
103
|
+
var _showLogoInEntrance = _objectSpread(_objectSpread({}, {
|
|
104
|
+
showLogoInEntrance: false
|
|
105
105
|
}), appInit || {}),
|
|
106
|
-
|
|
106
|
+
showLogoInEntrance = _showLogoInEntrance.showLogoInEntrance;
|
|
107
107
|
|
|
108
|
-
return
|
|
108
|
+
return showLogoInEntrance || false;
|
|
109
109
|
},
|
|
110
110
|
getEmptyLogo: function getEmptyLogo() {
|
|
111
111
|
var appInit = (0, _tools.getAppInitConfigData)();
|
|
@@ -137,15 +137,15 @@ var defaultSettingsLayoutCustom = {
|
|
|
137
137
|
|
|
138
138
|
return authenticationFailCode || _constants.authenticationFailCode;
|
|
139
139
|
},
|
|
140
|
-
|
|
140
|
+
getEntrancePath: function getEntrancePath() {
|
|
141
141
|
var appInit = (0, _tools.getAppInitConfigData)();
|
|
142
142
|
|
|
143
|
-
var
|
|
144
|
-
|
|
143
|
+
var _entrancePath = _objectSpread(_objectSpread({}, {
|
|
144
|
+
entrancePath: ''
|
|
145
145
|
}), appInit || {}),
|
|
146
|
-
|
|
146
|
+
entrancePath = _entrancePath.entrancePath;
|
|
147
147
|
|
|
148
|
-
return
|
|
148
|
+
return entrancePath || '';
|
|
149
149
|
},
|
|
150
150
|
getApiVersion: function getApiVersion() {
|
|
151
151
|
var appInit = (0, _tools.getAppInitConfigData)();
|
|
@@ -237,15 +237,15 @@ var defaultSettingsLayoutCustom = {
|
|
|
237
237
|
|
|
238
238
|
return appName || '';
|
|
239
239
|
},
|
|
240
|
-
|
|
240
|
+
getEntranceLogo: function getEntranceLogo() {
|
|
241
241
|
var appInit = (0, _tools.getAppInitConfigData)();
|
|
242
242
|
|
|
243
|
-
var
|
|
244
|
-
|
|
243
|
+
var _entranceLogo = _objectSpread(_objectSpread({}, {
|
|
244
|
+
entranceLogo: _constants.emptyLogo
|
|
245
245
|
}), appInit || {}),
|
|
246
|
-
|
|
246
|
+
entranceLogo = _entranceLogo.entranceLogo;
|
|
247
247
|
|
|
248
|
-
return
|
|
248
|
+
return entranceLogo || _constants.emptyLogo;
|
|
249
249
|
},
|
|
250
250
|
getShareLogo: function getShareLogo() {
|
|
251
251
|
var appInit = (0, _tools.getAppInitConfigData)();
|
package/es/utils/request.js
CHANGED
|
@@ -218,9 +218,9 @@ request.interceptors.response.use(function (response) {
|
|
|
218
218
|
var code = o.code;
|
|
219
219
|
|
|
220
220
|
if (code === _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode()) {
|
|
221
|
-
var
|
|
221
|
+
var entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
222
222
|
|
|
223
|
-
if ((0, _tools.stringIsNullOrWhiteSpace)(
|
|
223
|
+
if ((0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
224
224
|
throw new Error('缺少登录页面路径配置');
|
|
225
225
|
}
|
|
226
226
|
|
|
@@ -230,7 +230,7 @@ request.interceptors.response.use(function (response) {
|
|
|
230
230
|
_message2.default.info('登陆超时,请重新登录!', 0.6);
|
|
231
231
|
|
|
232
232
|
_umi.history.replace({
|
|
233
|
-
pathname:
|
|
233
|
+
pathname: entrancePath
|
|
234
234
|
});
|
|
235
235
|
}, 200);
|
|
236
236
|
}
|
|
@@ -98,17 +98,17 @@ function dataExceptionNotice(d) {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
var
|
|
101
|
+
var entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
102
102
|
|
|
103
103
|
var authenticationFailCode = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode();
|
|
104
104
|
|
|
105
105
|
if (code === authenticationFailCode) {
|
|
106
|
-
if ((0, _tools.stringIsNullOrWhiteSpace)(
|
|
106
|
+
if ((0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
107
107
|
throw new Error('缺少登录页面路径配置');
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
requestAnimationFrame(function () {
|
|
111
|
-
_umi.history.replace(
|
|
111
|
+
_umi.history.replace(entrancePath);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -407,7 +407,7 @@ function request(_x) {
|
|
|
407
407
|
|
|
408
408
|
function _request() {
|
|
409
409
|
_request = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(_ref4) {
|
|
410
|
-
var api, _ref4$urlParams, urlParams, _ref4$params, params, _ref4$method, method, _ref4$useVirtualReque, useVirtualRequest, _ref4$showUseVirtualR, showUseVirtualRequestMessage, _ref4$virtualSuccessR, virtualSuccessResponse, _ref4$virtualFailResp, virtualFailResponse, _ref4$virtualRequestR, virtualRequestResult, _ref4$virtualNeedAuth, virtualNeedAuthorize, apiVersion, url, showRequestInfo, result, verifyToken, token,
|
|
410
|
+
var api, _ref4$urlParams, urlParams, _ref4$params, params, _ref4$method, method, _ref4$useVirtualReque, useVirtualRequest, _ref4$showUseVirtualR, showUseVirtualRequestMessage, _ref4$virtualSuccessR, virtualSuccessResponse, _ref4$virtualFailResp, virtualFailResponse, _ref4$virtualRequestR, virtualRequestResult, _ref4$virtualNeedAuth, virtualNeedAuthorize, apiVersion, url, showRequestInfo, result, verifyToken, token, entrancePath;
|
|
411
411
|
|
|
412
412
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
413
413
|
while (1) {
|
|
@@ -463,9 +463,7 @@ function _request() {
|
|
|
463
463
|
if (showUseVirtualRequestMessage) {
|
|
464
464
|
setTimeout(function () {
|
|
465
465
|
var text = '由虚拟访问返回';
|
|
466
|
-
(0, _tools.
|
|
467
|
-
message: text
|
|
468
|
-
});
|
|
466
|
+
(0, _tools.notifyInfo)(text);
|
|
469
467
|
}, 500);
|
|
470
468
|
}
|
|
471
469
|
|
|
@@ -485,9 +483,9 @@ function _request() {
|
|
|
485
483
|
break;
|
|
486
484
|
}
|
|
487
485
|
|
|
488
|
-
|
|
486
|
+
entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
489
487
|
|
|
490
|
-
if (!(0, _tools.stringIsNullOrWhiteSpace)(
|
|
488
|
+
if (!(0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
491
489
|
_context.next = 21;
|
|
492
490
|
break;
|
|
493
491
|
}
|
|
@@ -501,7 +499,7 @@ function _request() {
|
|
|
501
499
|
_message2.default.info('登陆超时,请重新登录!', 0.6);
|
|
502
500
|
|
|
503
501
|
_umi.history.replace({
|
|
504
|
-
pathname:
|
|
502
|
+
pathname: entrancePath
|
|
505
503
|
});
|
|
506
504
|
}, 400);
|
|
507
505
|
_context.next = 27;
|
package/es/utils/tools.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export function getAppInitConfigData(): {
|
|
|
2
2
|
platformName: string;
|
|
3
3
|
appName: string;
|
|
4
4
|
appDescription: string;
|
|
5
|
-
|
|
5
|
+
entranceLogo: string;
|
|
6
6
|
shareLogo: string;
|
|
7
7
|
shareLogoName: string;
|
|
8
8
|
leftBarText: string;
|
|
@@ -12,12 +12,12 @@ export function getAppInitConfigData(): {
|
|
|
12
12
|
corsTargetProduction: string;
|
|
13
13
|
};
|
|
14
14
|
showSelectLanguage: boolean;
|
|
15
|
-
|
|
15
|
+
showLogoInEntrance: boolean;
|
|
16
16
|
emptyLogo: string;
|
|
17
17
|
leftBarLogo: string;
|
|
18
18
|
apiSuccessCode: number;
|
|
19
19
|
authenticationFailCode: number;
|
|
20
|
-
|
|
20
|
+
entrancePath: string;
|
|
21
21
|
showLogInConsole: boolean;
|
|
22
22
|
showRequestInfo: boolean;
|
|
23
23
|
useVirtualRequest: boolean;
|
|
@@ -760,6 +760,7 @@ export function trySendNearestLocalhostNotify({ text }: {
|
|
|
760
760
|
*/
|
|
761
761
|
export function ellipsis(value: any, length: any, symbol?: string): string;
|
|
762
762
|
export function notifySuccess(text: any): void;
|
|
763
|
+
export function notifyInfo(text: any): void;
|
|
763
764
|
/**
|
|
764
765
|
* 发送页面通知
|
|
765
766
|
*/
|
package/es/utils/tools.js
CHANGED
|
@@ -74,6 +74,7 @@ exports.isObject = isObject;
|
|
|
74
74
|
exports.isString = isString;
|
|
75
75
|
exports.isUndefined = isUndefined;
|
|
76
76
|
exports.notify = notify;
|
|
77
|
+
exports.notifyInfo = notifyInfo;
|
|
77
78
|
exports.notifySuccess = notifySuccess;
|
|
78
79
|
exports.numeralFormat = numeralFormat;
|
|
79
80
|
exports.queryStringParse = queryStringParse;
|
|
@@ -2129,6 +2130,21 @@ function notifySuccess(text) {
|
|
|
2129
2130
|
description: description
|
|
2130
2131
|
});
|
|
2131
2132
|
}
|
|
2133
|
+
|
|
2134
|
+
function notifyInfo(text) {
|
|
2135
|
+
var description = text || '';
|
|
2136
|
+
|
|
2137
|
+
if (stringIsNullOrWhiteSpace(description)) {
|
|
2138
|
+
return;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
notify({
|
|
2142
|
+
type: _constants.notificationTypeCollection.info,
|
|
2143
|
+
placement: 'bottomRight',
|
|
2144
|
+
message: '操作结果',
|
|
2145
|
+
description: description
|
|
2146
|
+
});
|
|
2147
|
+
}
|
|
2132
2148
|
/**
|
|
2133
2149
|
* 发送页面通知
|
|
2134
2150
|
*/
|
|
@@ -142,7 +142,7 @@ function apiVirtualSuccessAccess(_x) {
|
|
|
142
142
|
|
|
143
143
|
function _apiVirtualSuccessAccess() {
|
|
144
144
|
_apiVirtualSuccessAccess = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(_ref3) {
|
|
145
|
-
var remoteResponse, _ref3$needAuthorize, needAuthorize, result, _result, code,
|
|
145
|
+
var remoteResponse, _ref3$needAuthorize, needAuthorize, result, _result, code, entrancePath;
|
|
146
146
|
|
|
147
147
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
148
148
|
while (1) {
|
|
@@ -170,9 +170,9 @@ function _apiVirtualSuccessAccess() {
|
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
174
174
|
|
|
175
|
-
if (!(0, _tools.stringIsNullOrWhiteSpace)(
|
|
175
|
+
if (!(0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
176
176
|
_context.next = 9;
|
|
177
177
|
break;
|
|
178
178
|
}
|
|
@@ -180,7 +180,7 @@ function _apiVirtualSuccessAccess() {
|
|
|
180
180
|
throw new Error('缺少登录页面路径配置');
|
|
181
181
|
|
|
182
182
|
case 9:
|
|
183
|
-
_umi.history.push(
|
|
183
|
+
_umi.history.push(entrancePath);
|
|
184
184
|
|
|
185
185
|
case 10:
|
|
186
186
|
return _context.abrupt("return", result);
|
|
@@ -205,7 +205,7 @@ function apiVirtualFailAccess(_x2) {
|
|
|
205
205
|
|
|
206
206
|
function _apiVirtualFailAccess() {
|
|
207
207
|
_apiVirtualFailAccess = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(_ref4) {
|
|
208
|
-
var remoteResponse, _ref4$needAuthorize, needAuthorize, result, _result2, code, messageText,
|
|
208
|
+
var remoteResponse, _ref4$needAuthorize, needAuthorize, result, _result2, code, messageText, entrancePath;
|
|
209
209
|
|
|
210
210
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
211
211
|
while (1) {
|
|
@@ -230,9 +230,9 @@ function _apiVirtualFailAccess() {
|
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
234
234
|
|
|
235
|
-
if (!(0, _tools.stringIsNullOrWhiteSpace)(
|
|
235
|
+
if (!(0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
236
236
|
_context2.next = 9;
|
|
237
237
|
break;
|
|
238
238
|
}
|
|
@@ -240,7 +240,7 @@ function _apiVirtualFailAccess() {
|
|
|
240
240
|
throw new Error('缺少登录页面路径配置');
|
|
241
241
|
|
|
242
242
|
case 9:
|
|
243
|
-
_umi.history.push(
|
|
243
|
+
_umi.history.push(entrancePath);
|
|
244
244
|
|
|
245
245
|
_context2.next = 13;
|
|
246
246
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.21",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ant-design/icons": "^4.7.0",
|
|
33
|
-
"@ant-design/pro-layout": "^6.34.
|
|
33
|
+
"@ant-design/pro-layout": "^6.34.1",
|
|
34
34
|
"@antv/data-set": "^0.11.8",
|
|
35
35
|
"@tinymce/tinymce-react": "^3.13.1",
|
|
36
|
-
"antd": "^4.19.
|
|
36
|
+
"antd": "^4.19.1",
|
|
37
37
|
"array-move": "^4.0.0",
|
|
38
38
|
"bizcharts": "^4.1.15",
|
|
39
39
|
"browserslist": "^4.20.0",
|
|
40
|
-
"caniuse-lite": "^1.0.
|
|
40
|
+
"caniuse-lite": "^1.0.30001314",
|
|
41
41
|
"classnames": "^2.3.1",
|
|
42
42
|
"copy-to-clipboard": "^3.3.1",
|
|
43
43
|
"enquire-js": "^0.2.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"rc-scroll-anim": "^2.7.6",
|
|
66
66
|
"rc-texty": "^0.2.0",
|
|
67
67
|
"rc-tween-one": "^3.0.3",
|
|
68
|
-
"rc-util": "^5.
|
|
68
|
+
"rc-util": "^5.19.3",
|
|
69
69
|
"react": "^17.0.2",
|
|
70
70
|
"react-container-query": "^0.12.0",
|
|
71
71
|
"react-copy-to-clipboard": "^5.0.4",
|
|
@@ -85,14 +85,16 @@
|
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@ant-design/colors": "^6.0.0",
|
|
88
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
88
89
|
"@babel/plugin-proposal-decorators": "^7.17.2",
|
|
89
90
|
"@babel/plugin-syntax-jsx": "^7.16.7",
|
|
91
|
+
"@babel/preset-env": "^7.16.11",
|
|
90
92
|
"@babel/preset-react": "^7.16.7",
|
|
91
93
|
"@commitlint/cli": "^16.2.1",
|
|
92
94
|
"@commitlint/config-conventional": "^16.2.1",
|
|
93
95
|
"@commitlint/config-lerna-scopes": "^16.2.2",
|
|
94
96
|
"@commitlint/cz-commitlint": "^16.2.1",
|
|
95
|
-
"@testing-library/react": "^12.1.
|
|
97
|
+
"@testing-library/react": "^12.1.4",
|
|
96
98
|
"@testing-library/react-hooks": "^7.0.2",
|
|
97
99
|
"@types/jest": "^27.4.1",
|
|
98
100
|
"@types/node": "^17.0.21",
|
|
@@ -109,7 +111,7 @@
|
|
|
109
111
|
"cross-env": "^7.0.3",
|
|
110
112
|
"eslint": "^8.10.0",
|
|
111
113
|
"eslint-config-airbnb": "^19.0.4",
|
|
112
|
-
"eslint-config-airbnb-typescript": "^16.1.
|
|
114
|
+
"eslint-config-airbnb-typescript": "^16.1.1",
|
|
113
115
|
"eslint-config-prettier": "^8.5.0",
|
|
114
116
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
115
117
|
"eslint-plugin-import": "^2.25.4",
|
|
@@ -130,7 +132,7 @@
|
|
|
130
132
|
"postcss": "^8.4.8",
|
|
131
133
|
"postcss-less": "^6.0.0",
|
|
132
134
|
"prettier": "^2.5.1",
|
|
133
|
-
"puppeteer": "^13.5.
|
|
135
|
+
"puppeteer": "^13.5.1",
|
|
134
136
|
"react": "^17.0.2",
|
|
135
137
|
"react-test-renderer": "^17.0.2",
|
|
136
138
|
"rimraf": "^3.0.2",
|
|
@@ -169,5 +171,5 @@
|
|
|
169
171
|
"bugs": {
|
|
170
172
|
"url": "https://github.com/kityandhero/antd-management-fast-framework/issues"
|
|
171
173
|
},
|
|
172
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "d9178482e73291b0f0b4dfcc0d0c1623a4c86789"
|
|
173
175
|
}
|