antd-management-fast-framework 1.9.39 → 1.11.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/configGroup/configGeneral.js +1 -1
- package/es/configGroup/webpackPlugin.js +5 -5
- package/es/customComponents/AMap/UIPoiPicker.js +2 -2
- package/es/customComponents/AMap/UIPositionPicker.js +2 -2
- package/es/customComponents/ActiveChart/index.js +22 -22
- package/es/customComponents/AnimalBox/FadeBox/index.js +8 -8
- package/es/customComponents/AnimalBox/QueueBox/index.js +5 -5
- package/es/customComponents/AnimalBox/QueueListBox/index.js +8 -8
- package/es/customComponents/AnimalBox/RotateBox/index.js +6 -6
- package/es/customComponents/ArticleListContent/index.js +13 -13
- package/es/customComponents/Authorized/Authorized.js +6 -6
- package/es/customComponents/Authorized/AuthorizedRoute.js +8 -8
- package/es/customComponents/Authorized/CheckPermissions.js +5 -5
- package/es/customComponents/Authorized/PromiseRender.js +11 -11
- package/es/customComponents/Authorized/Secured.js +8 -8
- package/es/customComponents/Authorized/index.js +6 -6
- package/es/customComponents/Authorized/renderAuthorize.js +2 -2
- package/es/customComponents/AvatarList/index.js +16 -16
- package/es/customComponents/Canvas/Bubbly/index.js +4 -4
- package/es/customComponents/Canvas/Core/index.js +7 -7
- package/es/customComponents/Canvas/RadarScanning/index.js +4 -4
- package/es/customComponents/Canvas/Spirit/index.js +4 -4
- package/es/customComponents/Canvas/index.js +6 -6
- package/es/customComponents/CenterBox/index.js +5 -5
- package/es/customComponents/Charts/Bar/index.js +12 -12
- package/es/customComponents/Charts/ChartCard/index.js +29 -29
- package/es/customComponents/Charts/Field/index.js +9 -9
- package/es/customComponents/Charts/Gauge/index.js +14 -14
- package/es/customComponents/Charts/MiniArea/index.js +13 -13
- package/es/customComponents/Charts/MiniBar/index.js +10 -10
- package/es/customComponents/Charts/MiniProgress/index.js +14 -14
- package/es/customComponents/Charts/Pie/index.js +33 -33
- package/es/customComponents/Charts/TagCloud/index.js +12 -12
- package/es/customComponents/Charts/TimelineChart/index.js +14 -14
- package/es/customComponents/Charts/WaterWave/index.js +12 -12
- package/es/customComponents/Charts/autoHeight.js +5 -5
- package/es/customComponents/Charts/bizcharts.js +3 -3
- package/es/customComponents/Charts/index.js +26 -26
- package/es/customComponents/ColorText/index.js +7 -7
- package/es/customComponents/Countdown/index.js +7 -7
- package/es/customComponents/DataPreviewDrawer/index.js +14 -14
- package/es/customComponents/DecorateAvatar/index.js +9 -9
- package/es/customComponents/DisplayCopyData/index.js +7 -7
- package/es/customComponents/EditableItem/index.js +15 -15
- package/es/customComponents/EditableLinkGroup/index.js +11 -11
- package/es/customComponents/Ellipsis/index.js +35 -26
- package/es/customComponents/Ellipsis/index.less +2 -1
- package/es/customComponents/EllipsisCustom/index.js +23 -23
- package/es/customComponents/EverySpace/index.js +5 -5
- package/es/customComponents/Exception/index.js +20 -20
- package/es/customComponents/Exception/typeConfig.js +2 -2
- package/es/customComponents/FigureRange/index.js +33 -33
- package/es/customComponents/FileBase64Upload/index.js +8 -8
- package/es/customComponents/FlexBox/index.js +23 -17
- package/es/customComponents/FlexText/index.d.ts +1 -0
- package/es/customComponents/FlexText/index.js +16 -8
- package/es/customComponents/FooterToolbar/index.js +11 -11
- package/es/customComponents/FromDisplayItem/index.js +6 -6
- package/es/customComponents/FunctionComponent/index.js +211 -200
- package/es/customComponents/GlobalFooter/index.js +10 -10
- package/es/customComponents/HelpBox/index.js +8 -8
- package/es/customComponents/HelpCard/index.js +6 -6
- package/es/customComponents/HtmlBox/index.js +6 -6
- package/es/customComponents/IconInfo/index.d.ts +5 -1
- package/es/customComponents/IconInfo/index.js +160 -68
- package/es/customComponents/ImageBox/index.js +48 -48
- package/es/customComponents/ImageContentPreview/index.js +18 -18
- package/es/customComponents/ImageUpload/index.js +31 -31
- package/es/customComponents/Login/LoginItem.js +18 -18
- package/es/customComponents/Login/LoginSubmit.js +6 -6
- package/es/customComponents/Login/LoginTab.js +8 -8
- package/es/customComponents/Login/index.js +19 -19
- package/es/customComponents/Login/loginContext.js +2 -2
- package/es/customComponents/Login/map.js +11 -11
- package/es/customComponents/MobileContainor/index.js +11 -11
- package/es/customComponents/NoticeIconCustom/NoticeList.js +26 -26
- package/es/customComponents/NoticeIconCustom/index.js +19 -19
- package/es/customComponents/NumberInfo/index.js +16 -16
- package/es/customComponents/PageLoading/index.js +2 -2
- package/es/customComponents/PercentageBox/index.js +4 -4
- package/es/customComponents/PriceBox/index.js +9 -9
- package/es/customComponents/Result/index.js +18 -18
- package/es/customComponents/StandardFormRow/index.js +9 -9
- package/es/customComponents/StandardTable/index.js +14 -14
- package/es/customComponents/StandardTableCustom/index.js +15 -15
- package/es/customComponents/StatusBar/index.js +9 -9
- package/es/customComponents/TagSelect/index.js +15 -15
- package/es/customComponents/TimeLineCustom/index.js +40 -40
- package/es/customComponents/Trend/index.js +7 -7
- package/es/customComponents/VerticalBox/index.js +8 -8
- package/es/customComponents/VideoUpload/index.js +35 -35
- package/es/framework/AuthorizationWrapper/index.js +4 -4
- package/es/framework/Base/index.js +6 -6
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +6 -6
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +4 -4
- package/es/framework/Common/index.js +98 -92
- package/es/framework/Core/index.js +4 -4
- package/es/framework/CustomBase/index.js +2 -2
- package/es/framework/CustomWrapper/Supplement/index.js +4 -4
- package/es/framework/CustomWrapper/SupplementCore/index.js +4 -4
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +4 -4
- package/es/framework/DataDrawer/Base/index.js +26 -26
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +5 -5
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +4 -4
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +4 -4
- package/es/framework/DataForm/BaseAddForm/index.js +11 -11
- package/es/framework/DataForm/BaseUpdateForm/index.js +7 -7
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +5 -5
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +4 -4
- package/es/framework/DataListView/Base/index.js +79 -79
- package/es/framework/DataListView/BatchAction/index.js +18 -18
- package/es/framework/DataListView/ColumnSetting/DndItem.js +4 -4
- package/es/framework/DataListView/ColumnSetting/index.js +37 -37
- package/es/framework/DataListView/DensityAction/index.js +12 -12
- package/es/framework/DataMenuContainer/index.js +15 -15
- package/es/framework/DataModal/Base/index.js +14 -14
- package/es/framework/DataModal/BaseAddModal/index.js +4 -4
- package/es/framework/DataModal/BaseLoadModal/index.js +4 -4
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +4 -4
- package/es/framework/DataModal/BaseSelectModal/index.js +4 -4
- package/es/framework/DataModal/BaseUpdateModal/index.js +4 -4
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +5 -5
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +4 -4
- package/es/framework/DataMultiPageView/MultiPage/index.js +6 -6
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +51 -51
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +6 -6
- package/es/framework/DataOperation/Base/index.js +10 -10
- package/es/framework/DataOperation/BaseView/index.js +4 -4
- package/es/framework/DataOperation/BaseWindow/index.js +8 -8
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +4 -4
- package/es/framework/DataSinglePageView/SinglePage/index.js +6 -6
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +48 -48
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +6 -6
- package/es/framework/DataSingleView/DataCore/index.js +21 -21
- package/es/framework/DataSingleView/DataLoad/index.js +4 -4
- package/es/framework/DataTabContainer/index.js +9 -9
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +10 -10
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +5 -5
- package/es/framework/Wrapper/index.js +4 -4
- package/es/index.js +1 -1
- package/es/utils/Authorized.js +5 -5
- package/es/utils/Yuan.js +5 -5
- package/es/utils/actionAssist.js +6 -6
- package/es/utils/authority.js +2 -2
- package/es/utils/cacheAssist.js +2 -2
- package/es/utils/constants.d.ts +1 -0
- package/es/utils/constants.js +7 -2
- package/es/utils/proLayoutCollection.js +7 -7
- package/es/utils/request.js +7 -7
- package/es/utils/requestAssistor.js +5 -5
- package/es/utils/tools.js +34 -34
- package/es/utils/virtualRequest.js +4 -4
- package/package.json +3 -1
|
@@ -5,13 +5,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _tools = require("../../utils/tools");
|
|
11
11
|
|
|
12
12
|
var _Common2 = _interopRequireDefault(require("../../framework/Common"));
|
|
13
13
|
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
17
|
|
|
@@ -52,7 +52,7 @@ var Wrapper = /*#__PURE__*/function (_Common) {
|
|
|
52
52
|
}]);
|
|
53
53
|
|
|
54
54
|
return Wrapper;
|
|
55
|
-
}(_Common2
|
|
55
|
+
}(_Common2.default);
|
|
56
56
|
|
|
57
57
|
var _default = Wrapper;
|
|
58
|
-
exports
|
|
58
|
+
exports.default = _default;
|
package/es/index.js
CHANGED
package/es/utils/Authorized.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
exports.getAuthority = getAuthority;
|
|
8
8
|
exports.reloadAuthorized = void 0;
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _globalStorageAssist = require("./globalStorageAssist");
|
|
|
13
13
|
|
|
14
14
|
var _Authorized = _interopRequireDefault(require("../customComponents/Authorized"));
|
|
15
15
|
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
18
|
function getAuthority(str) {
|
|
19
19
|
var authorityString = typeof str === 'undefined' ? (0, _tools.getStringFromLocalStorage)(_globalStorageAssist.storageKeyCollection.authorityCollection) : str;
|
|
@@ -38,13 +38,13 @@ function getAuthority(str) {
|
|
|
38
38
|
return [];
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
var Authorized = (0, _Authorized
|
|
41
|
+
var Authorized = (0, _Authorized.default)(getAuthority());
|
|
42
42
|
|
|
43
43
|
var reloadAuthorized = function reloadAuthorized() {
|
|
44
|
-
Authorized = (0, _Authorized
|
|
44
|
+
Authorized = (0, _Authorized.default)(getAuthority());
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
exports.reloadAuthorized = reloadAuthorized;
|
|
48
48
|
window.reloadAuthorized = reloadAuthorized;
|
|
49
49
|
var _default = Authorized;
|
|
50
|
-
exports
|
|
50
|
+
exports.default = _default;
|
package/es/utils/Yuan.js
CHANGED
|
@@ -5,13 +5,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
12
|
var _Charts = require("../customComponents/Charts");
|
|
13
13
|
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
17
|
|
|
@@ -78,7 +78,7 @@ var Yuan = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
78
78
|
value: function render() {
|
|
79
79
|
var _this2 = this;
|
|
80
80
|
|
|
81
|
-
return /*#__PURE__*/_react
|
|
81
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
82
82
|
ref: function ref(_ref) {
|
|
83
83
|
_this2.main = _ref;
|
|
84
84
|
}
|
|
@@ -87,6 +87,6 @@ var Yuan = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
87
87
|
}]);
|
|
88
88
|
|
|
89
89
|
return Yuan;
|
|
90
|
-
}(_react
|
|
90
|
+
}(_react.default.PureComponent);
|
|
91
91
|
|
|
92
|
-
exports
|
|
92
|
+
exports.default = Yuan;
|
package/es/utils/actionAssist.js
CHANGED
|
@@ -18,13 +18,13 @@ var _modal = _interopRequireDefault(require("antd/es/modal"));
|
|
|
18
18
|
|
|
19
19
|
var _tools = require("./tools");
|
|
20
20
|
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
21
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
22
|
|
|
23
23
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
24
24
|
|
|
25
25
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
26
26
|
|
|
27
|
-
var confirm = _modal
|
|
27
|
+
var confirm = _modal.default.confirm;
|
|
28
28
|
/**
|
|
29
29
|
* 处理 actionCore 的异步请求结果
|
|
30
30
|
* @param {*} param0
|
|
@@ -153,7 +153,7 @@ function _actionCore() {
|
|
|
153
153
|
if (showProcessing) {
|
|
154
154
|
key = (0, _tools.getGuid)();
|
|
155
155
|
|
|
156
|
-
_message2
|
|
156
|
+
_message2.default.loading({
|
|
157
157
|
key: key,
|
|
158
158
|
content: textProcessing || '处理中,请稍后',
|
|
159
159
|
duration: 0
|
|
@@ -174,7 +174,7 @@ function _actionCore() {
|
|
|
174
174
|
}).then(function () {
|
|
175
175
|
if (showProcessing) {
|
|
176
176
|
setTimeout(function () {
|
|
177
|
-
_message2
|
|
177
|
+
_message2.default.destroy(key);
|
|
178
178
|
}, 200);
|
|
179
179
|
}
|
|
180
180
|
|
|
@@ -213,12 +213,12 @@ function _actionCore() {
|
|
|
213
213
|
processing: false,
|
|
214
214
|
dispatchComplete: true
|
|
215
215
|
});
|
|
216
|
-
})
|
|
216
|
+
}).catch(function (res) {
|
|
217
217
|
(0, _tools.recordObject)(res);
|
|
218
218
|
|
|
219
219
|
if (showProcessing) {
|
|
220
220
|
setTimeout(function () {
|
|
221
|
-
_message2
|
|
221
|
+
_message2.default.destroy(key);
|
|
222
222
|
}, 200);
|
|
223
223
|
}
|
|
224
224
|
|
package/es/utils/authority.js
CHANGED
|
@@ -41,7 +41,7 @@ function checkIsSuper() {
|
|
|
41
41
|
var _getAccessWayCollecti;
|
|
42
42
|
|
|
43
43
|
var list = getAllAuthorityCore();
|
|
44
|
-
var superAuth = (_getAccessWayCollecti = (0, _globalStorageAssist.getAccessWayCollectionCache)()
|
|
44
|
+
var superAuth = (_getAccessWayCollecti = (0, _globalStorageAssist.getAccessWayCollectionCache)().super.permission) !== null && _getAccessWayCollecti !== void 0 ? _getAccessWayCollecti : '';
|
|
45
45
|
var isSuper = (list || []).find(function (o) {
|
|
46
46
|
return o === superAuth;
|
|
47
47
|
}) || '';
|
|
@@ -80,7 +80,7 @@ function checkHasAuthority(auth) {
|
|
|
80
80
|
|
|
81
81
|
var list = getAllAuthorityCore();
|
|
82
82
|
var accessWayCollection = (0, _globalStorageAssist.getAccessWayCollectionCache)();
|
|
83
|
-
var superAuth = (_accessWayCollection$ = accessWayCollection
|
|
83
|
+
var superAuth = (_accessWayCollection$ = accessWayCollection.super.permission) !== null && _accessWayCollection$ !== void 0 ? _accessWayCollection$ : '';
|
|
84
84
|
var isSuper = (list || []).find(function (o) {
|
|
85
85
|
return o === superAuth;
|
|
86
86
|
});
|
package/es/utils/cacheAssist.js
CHANGED
|
@@ -22,7 +22,7 @@ var _nodeCache = _interopRequireDefault(require("node-cache"));
|
|
|
22
22
|
|
|
23
23
|
var _tools = require("./tools");
|
|
24
24
|
|
|
25
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
26
|
|
|
27
27
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
28
28
|
|
|
@@ -48,7 +48,7 @@ function checkKey(key) {
|
|
|
48
48
|
|
|
49
49
|
function getCachePool() {
|
|
50
50
|
if ((window.localRunningCache || null) == null) {
|
|
51
|
-
window.localRunningCache = new _nodeCache
|
|
51
|
+
window.localRunningCache = new _nodeCache.default();
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
return window.localRunningCache;
|
package/es/utils/constants.d.ts
CHANGED
|
@@ -217,6 +217,7 @@ export namespace cardConfig {
|
|
|
217
217
|
export { generalButton_2 as generalButton };
|
|
218
218
|
const iconInfo_2: string;
|
|
219
219
|
export { iconInfo_2 as iconInfo };
|
|
220
|
+
export const colorText: string;
|
|
220
221
|
const button_2: string;
|
|
221
222
|
export { button_2 as button };
|
|
222
223
|
const dropdownButton_2: string;
|
package/es/utils/constants.js
CHANGED
|
@@ -86,7 +86,7 @@ var appInitDefault = {
|
|
|
86
86
|
};
|
|
87
87
|
exports.appInitDefault = appInitDefault;
|
|
88
88
|
var accessWaySpecialCollection = {
|
|
89
|
-
|
|
89
|
+
super: {
|
|
90
90
|
permission: 'super'
|
|
91
91
|
}
|
|
92
92
|
};
|
|
@@ -326,6 +326,11 @@ var cardConfig = _objectSpread(_objectSpread({}, contentConfig), {}, {
|
|
|
326
326
|
*/
|
|
327
327
|
iconInfo: 'iconInfo',
|
|
328
328
|
|
|
329
|
+
/**
|
|
330
|
+
* 彩色文字
|
|
331
|
+
*/
|
|
332
|
+
colorText: 'colorText',
|
|
333
|
+
|
|
329
334
|
/**
|
|
330
335
|
* 根据配置项渲染按钮,事件触发需要自定义指定,配置项与generalButton相仿,配置模式有所不同,最终效果类似
|
|
331
336
|
*/
|
|
@@ -385,7 +390,7 @@ var cardConfig = _objectSpread(_objectSpread({}, contentConfig), {}, {
|
|
|
385
390
|
/**
|
|
386
391
|
* switch开关
|
|
387
392
|
*/
|
|
388
|
-
|
|
393
|
+
switch: 'switch',
|
|
389
394
|
|
|
390
395
|
/**
|
|
391
396
|
* 一般选择框
|
|
@@ -16,7 +16,7 @@ var _tools = require("./tools");
|
|
|
16
16
|
|
|
17
17
|
var _defaultSettingsSpecial = require("./defaultSettingsSpecial");
|
|
18
18
|
|
|
19
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
20
|
|
|
21
21
|
var proLayoutDefaultProps = {
|
|
22
22
|
onMenuHeaderClick: function onMenuHeaderClick() {
|
|
@@ -24,9 +24,9 @@ var proLayoutDefaultProps = {
|
|
|
24
24
|
},
|
|
25
25
|
itemRender: function itemRender(route, params, routes, paths) {
|
|
26
26
|
var first = routes.indexOf(route) === 0;
|
|
27
|
-
return first ? /*#__PURE__*/_react
|
|
27
|
+
return first ? /*#__PURE__*/_react.default.createElement(_umi.Link, {
|
|
28
28
|
to: paths.join('/')
|
|
29
|
-
}, route.breadcrumbName) : /*#__PURE__*/_react
|
|
29
|
+
}, route.breadcrumbName) : /*#__PURE__*/_react.default.createElement("span", null, route.breadcrumbName);
|
|
30
30
|
},
|
|
31
31
|
menuItemRender: function menuItemRender(menuItemProps, defaultDom) {
|
|
32
32
|
var _ref = menuItemProps.children || {
|
|
@@ -38,21 +38,21 @@ var proLayoutDefaultProps = {
|
|
|
38
38
|
return defaultDom;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
return /*#__PURE__*/_react
|
|
41
|
+
return /*#__PURE__*/_react.default.createElement(_umi.Link, {
|
|
42
42
|
to: menuItemProps.path,
|
|
43
43
|
onClick: function onClick() {
|
|
44
44
|
if (_defaultSettingsSpecial.defaultSettingsLayoutCustom.getUseNprogress()) {
|
|
45
|
-
if ((_nprogress
|
|
45
|
+
if ((_nprogress.default || null) == null) {
|
|
46
46
|
var text = 'nprogress need install';
|
|
47
47
|
(0, _tools.showErrorMessage)({
|
|
48
48
|
message: text
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
_nprogress
|
|
52
|
+
_nprogress.default.inc();
|
|
53
53
|
|
|
54
54
|
setTimeout(function () {
|
|
55
|
-
_nprogress
|
|
55
|
+
_nprogress.default.done();
|
|
56
56
|
}, 400);
|
|
57
57
|
}
|
|
58
58
|
}
|
package/es/utils/request.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
require("antd/es/message/style");
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ var _globalStorageAssist = require("./globalStorageAssist");
|
|
|
23
23
|
|
|
24
24
|
var _defaultSettingsSpecial = require("./defaultSettingsSpecial");
|
|
25
25
|
|
|
26
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
28
28
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
29
29
|
|
|
@@ -69,11 +69,11 @@ var errorHandler = function errorHandler(error) {
|
|
|
69
69
|
description: errorText
|
|
70
70
|
};
|
|
71
71
|
requestAnimationFrame(function () {
|
|
72
|
-
_notification2
|
|
72
|
+
_notification2.default.error(data);
|
|
73
73
|
});
|
|
74
74
|
(0, _tools.recordText)(data);
|
|
75
75
|
} else if (!response) {
|
|
76
|
-
_notification2
|
|
76
|
+
_notification2.default.error({
|
|
77
77
|
description: '您的网络发生异常,无法连接服务器',
|
|
78
78
|
message: '网络异常'
|
|
79
79
|
});
|
|
@@ -227,17 +227,17 @@ request.interceptors.response.use(function (response) {
|
|
|
227
227
|
setTimeout(function () {
|
|
228
228
|
(0, _globalStorageAssist.clearCustomData)();
|
|
229
229
|
|
|
230
|
-
_message2
|
|
230
|
+
_message2.default.info('登陆超时,请重新登录!', 0.6);
|
|
231
231
|
|
|
232
232
|
_umi.history.replace({
|
|
233
233
|
pathname: loginPath
|
|
234
234
|
});
|
|
235
235
|
}, 200);
|
|
236
236
|
}
|
|
237
|
-
})
|
|
237
|
+
}).catch(function (o) {
|
|
238
238
|
(0, _tools.recordText)(o);
|
|
239
239
|
});
|
|
240
240
|
return response;
|
|
241
241
|
});
|
|
242
242
|
var _default = request;
|
|
243
|
-
exports
|
|
243
|
+
exports.default = _default;
|
|
@@ -31,7 +31,7 @@ var _defaultSettingsSpecial = require("./defaultSettingsSpecial");
|
|
|
31
31
|
|
|
32
32
|
var _virtualRequest = require("./virtualRequest");
|
|
33
33
|
|
|
34
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
34
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
35
|
|
|
36
36
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
37
37
|
|
|
@@ -78,7 +78,7 @@ function dataExceptionNotice(d) {
|
|
|
78
78
|
if (code === lastCustomMessage.code) {
|
|
79
79
|
if (currentTime - lastCustomMessage.time > 800) {
|
|
80
80
|
requestAnimationFrame(function () {
|
|
81
|
-
_message2
|
|
81
|
+
_message2.default.error(messageText);
|
|
82
82
|
});
|
|
83
83
|
window.lastCustomMessage = {
|
|
84
84
|
code: code,
|
|
@@ -88,7 +88,7 @@ function dataExceptionNotice(d) {
|
|
|
88
88
|
}
|
|
89
89
|
} else {
|
|
90
90
|
requestAnimationFrame(function () {
|
|
91
|
-
_message2
|
|
91
|
+
_message2.default.error(messageText);
|
|
92
92
|
});
|
|
93
93
|
window.lastCustomMessage = {
|
|
94
94
|
code: code,
|
|
@@ -476,7 +476,7 @@ function _request() {
|
|
|
476
476
|
setTimeout(function () {
|
|
477
477
|
(0, _globalStorageAssist.clearCustomData)();
|
|
478
478
|
|
|
479
|
-
_message2
|
|
479
|
+
_message2.default.info('登陆超时,请重新登录!', 0.6);
|
|
480
480
|
|
|
481
481
|
_umi.history.replace({
|
|
482
482
|
pathname: loginPath
|
|
@@ -527,7 +527,7 @@ function _request() {
|
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
return _context.abrupt("return", (0, _request2
|
|
530
|
+
return _context.abrupt("return", (0, _request2.default)(url, {
|
|
531
531
|
method: method,
|
|
532
532
|
data: params
|
|
533
533
|
}));
|
package/es/utils/tools.js
CHANGED
|
@@ -149,7 +149,7 @@ var _lodash = require("lodash");
|
|
|
149
149
|
|
|
150
150
|
var _constants = require("./constants");
|
|
151
151
|
|
|
152
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
152
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
153
153
|
|
|
154
154
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
155
155
|
|
|
@@ -305,14 +305,14 @@ function getValue(obj) {
|
|
|
305
305
|
function copyToClipboard(text) {
|
|
306
306
|
var showCopyText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
307
307
|
var otherShowText = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
|
308
|
-
(0, _copyToClipboard
|
|
308
|
+
(0, _copyToClipboard.default)(text);
|
|
309
309
|
|
|
310
310
|
if (showCopyText) {
|
|
311
|
-
_message2
|
|
311
|
+
_message2.default.success("\u5DF2\u7ECF\u5C06 ".concat(text, " \u590D\u5236\u5230\u526A\u8D34\u677F\uFF01"));
|
|
312
312
|
} else if (stringIsNullOrWhiteSpace(otherShowText)) {
|
|
313
|
-
_message2
|
|
313
|
+
_message2.default.success('已经复制到剪贴板!');
|
|
314
314
|
} else {
|
|
315
|
-
_message2
|
|
315
|
+
_message2.default.success("\u5DF2\u7ECF\u5C06".concat(otherShowText, "\u590D\u5236\u5230\u526A\u8D34\u677F\uFF01"));
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
@@ -533,37 +533,37 @@ function showMessage(_ref9) {
|
|
|
533
533
|
requestAnimationFrame(function () {
|
|
534
534
|
switch (type) {
|
|
535
535
|
case _constants.messageTypeCollection.success:
|
|
536
|
-
_message2
|
|
536
|
+
_message2.default.success(messageText, duration, onClose);
|
|
537
537
|
|
|
538
538
|
break;
|
|
539
539
|
|
|
540
540
|
case _constants.messageTypeCollection.error:
|
|
541
|
-
_message2
|
|
541
|
+
_message2.default.warn(messageText, duration, onClose);
|
|
542
542
|
|
|
543
543
|
break;
|
|
544
544
|
|
|
545
545
|
case _constants.messageTypeCollection.info:
|
|
546
|
-
_message2
|
|
546
|
+
_message2.default.info(messageText, duration, onClose);
|
|
547
547
|
|
|
548
548
|
break;
|
|
549
549
|
|
|
550
550
|
case _constants.messageTypeCollection.warning:
|
|
551
|
-
_message2
|
|
551
|
+
_message2.default.warning(messageText, duration, onClose);
|
|
552
552
|
|
|
553
553
|
break;
|
|
554
554
|
|
|
555
555
|
case _constants.messageTypeCollection.warn:
|
|
556
|
-
_message2
|
|
556
|
+
_message2.default.warn(messageText, duration, onClose);
|
|
557
557
|
|
|
558
558
|
break;
|
|
559
559
|
|
|
560
560
|
case _constants.messageTypeCollection.loading:
|
|
561
|
-
_message2
|
|
561
|
+
_message2.default.loading(messageText, duration, onClose);
|
|
562
562
|
|
|
563
563
|
break;
|
|
564
564
|
|
|
565
565
|
default:
|
|
566
|
-
_message2
|
|
566
|
+
_message2.default.open(messageText, duration, onClose);
|
|
567
567
|
|
|
568
568
|
break;
|
|
569
569
|
}
|
|
@@ -767,7 +767,7 @@ function formatDatetime(_ref10) {
|
|
|
767
767
|
return defaultValue;
|
|
768
768
|
}
|
|
769
769
|
|
|
770
|
-
var m = (0, _moment
|
|
770
|
+
var m = (0, _moment.default)(_typeof(data) === 'object' ? data : new Date(data.replace('/', '-'))).utcOffset(timeZone);
|
|
771
771
|
|
|
772
772
|
if (m.isSame(_constants.emptyDatetime)) {
|
|
773
773
|
return defaultValue;
|
|
@@ -781,7 +781,7 @@ function formatDatetime(_ref10) {
|
|
|
781
781
|
|
|
782
782
|
|
|
783
783
|
function numeralFormat(v, formatString) {
|
|
784
|
-
return (0, _numeral
|
|
784
|
+
return (0, _numeral.default)(v).format(formatString);
|
|
785
785
|
}
|
|
786
786
|
/**
|
|
787
787
|
* 当前Moment时间
|
|
@@ -794,7 +794,7 @@ function numeralFormat(v, formatString) {
|
|
|
794
794
|
|
|
795
795
|
function getMomentNow() {
|
|
796
796
|
var timeZone = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;
|
|
797
|
-
return (0, _moment
|
|
797
|
+
return (0, _moment.default)().utcOffset(timeZone);
|
|
798
798
|
}
|
|
799
799
|
/**
|
|
800
800
|
* 转化为Moment时间
|
|
@@ -839,14 +839,14 @@ function stringToMoment(_ref12) {
|
|
|
839
839
|
var data = _ref12.data,
|
|
840
840
|
_ref12$timeZone = _ref12.timeZone,
|
|
841
841
|
timeZone = _ref12$timeZone === void 0 ? 8 : _ref12$timeZone;
|
|
842
|
-
if (_moment
|
|
842
|
+
if (_moment.default.isMoment(data)) return data;
|
|
843
843
|
var d = (data || '').toString();
|
|
844
844
|
|
|
845
845
|
if (stringIsNullOrWhiteSpace(d)) {
|
|
846
846
|
return null;
|
|
847
847
|
}
|
|
848
848
|
|
|
849
|
-
return (0, _moment
|
|
849
|
+
return (0, _moment.default)(new Date(d.replace('/', '-'))).utcOffset(timeZone);
|
|
850
850
|
}
|
|
851
851
|
/**
|
|
852
852
|
* 转化为Moment时间
|
|
@@ -861,7 +861,7 @@ function dateToMoment(_ref13) {
|
|
|
861
861
|
var data = _ref13.data,
|
|
862
862
|
_ref13$timeZone = _ref13.timeZone,
|
|
863
863
|
timeZone = _ref13$timeZone === void 0 ? 8 : _ref13$timeZone;
|
|
864
|
-
var m = (0, _moment
|
|
864
|
+
var m = (0, _moment.default)(data).utcOffset(timeZone);
|
|
865
865
|
|
|
866
866
|
if (m.isSame(_constants.emptyDatetime)) {
|
|
867
867
|
return null;
|
|
@@ -1140,12 +1140,12 @@ function formatDecimal(numberSource) {
|
|
|
1140
1140
|
function formatMoney(numberSource) {
|
|
1141
1141
|
var symbolSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '¥';
|
|
1142
1142
|
var format = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0,0.00';
|
|
1143
|
-
return "".concat(symbolSource).concat((0, _numeral
|
|
1143
|
+
return "".concat(symbolSource).concat((0, _numeral.default)(numberSource).format(format));
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
1146
|
function toPercentage(val) {
|
|
1147
1147
|
var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0,0.00';
|
|
1148
|
-
return "".concat((0, _numeral
|
|
1148
|
+
return "".concat((0, _numeral.default)(toNumber((0, _numeral.default)(val).value() * 1000) / 10).format(format), "%");
|
|
1149
1149
|
}
|
|
1150
1150
|
/**
|
|
1151
1151
|
* 检查字符串string是否以给定的target字符串结尾
|
|
@@ -1360,7 +1360,7 @@ function getRandomColor(_ref16) {
|
|
|
1360
1360
|
format = _ref16$format === void 0 ? null : _ref16$format,
|
|
1361
1361
|
_ref16$alpha = _ref16.alpha,
|
|
1362
1362
|
alpha = _ref16$alpha === void 0 ? null : _ref16$alpha;
|
|
1363
|
-
return (0, _randomcolor
|
|
1363
|
+
return (0, _randomcolor.default)({
|
|
1364
1364
|
seed: seed,
|
|
1365
1365
|
hue: hue,
|
|
1366
1366
|
luminosity: luminosity,
|
|
@@ -1721,7 +1721,7 @@ function clearLocalStorage() {
|
|
|
1721
1721
|
|
|
1722
1722
|
function getQueue() {
|
|
1723
1723
|
if (typeof window.queue === 'undefined') {
|
|
1724
|
-
window.queueCustom = (0, _queue
|
|
1724
|
+
window.queueCustom = (0, _queue.default)({
|
|
1725
1725
|
concurrency: 3
|
|
1726
1726
|
});
|
|
1727
1727
|
window.queueCustom.start();
|
|
@@ -1979,7 +1979,7 @@ function getTimeDistance(type) {
|
|
|
1979
1979
|
now.setHours(0);
|
|
1980
1980
|
now.setMinutes(0);
|
|
1981
1981
|
now.setSeconds(0);
|
|
1982
|
-
return [(0, _moment
|
|
1982
|
+
return [(0, _moment.default)(now).utcOffset(8), (0, _moment.default)(now.getTime() + (oneDay - 1000)).utcOffset(8)];
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
1985
|
if (type === 'week') {
|
|
@@ -1995,21 +1995,21 @@ function getTimeDistance(type) {
|
|
|
1995
1995
|
}
|
|
1996
1996
|
|
|
1997
1997
|
var beginTime = now.getTime() - day * oneDay;
|
|
1998
|
-
return [(0, _moment
|
|
1998
|
+
return [(0, _moment.default)(beginTime).utcOffset(8), (0, _moment.default)(beginTime + (7 * oneDay - 1000)).utcOffset(8)];
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
2001
|
if (type === 'month') {
|
|
2002
2002
|
var _year = now.getFullYear();
|
|
2003
2003
|
|
|
2004
2004
|
var month = now.getMonth();
|
|
2005
|
-
var nextDate = (0, _moment
|
|
2005
|
+
var nextDate = (0, _moment.default)(now).add(1, 'months');
|
|
2006
2006
|
var nextYear = nextDate.year();
|
|
2007
2007
|
var nextMonth = nextDate.month();
|
|
2008
|
-
return [(0, _moment
|
|
2008
|
+
return [(0, _moment.default)("".concat(_year, "-").concat(fixedZero(month + 1), "-01 00:00:00")).utcOffset(8), (0, _moment.default)((0, _moment.default)("".concat(nextYear, "-").concat(fixedZero(nextMonth + 1), "-01 00:00:00")).utcOffset(8).valueOf() - 1000).utcOffset(8)];
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
2011
|
var year = now.getFullYear();
|
|
2012
|
-
return [(0, _moment
|
|
2012
|
+
return [(0, _moment.default)("".concat(year, "-01-01 00:00:00")).utcOffset(8), (0, _moment.default)("".concat(year, "-12-31 23:59:59")).utcOffset(8)];
|
|
2013
2013
|
}
|
|
2014
2014
|
/**
|
|
2015
2015
|
* 构建描述文本
|
|
@@ -2084,7 +2084,7 @@ function trySendNearestLocalhostNotify(_ref17) {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
2086
|
if (needSend) {
|
|
2087
|
-
_notification2
|
|
2087
|
+
_notification2.default.open({
|
|
2088
2088
|
placement: 'bottomLeft',
|
|
2089
2089
|
message: '开发提示',
|
|
2090
2090
|
description: "\u5F53\u524D\u63A5\u53E3\u57DF\u540D\uFF1A".concat(text, "\u3002")
|
|
@@ -2146,7 +2146,7 @@ function notify(_ref18) {
|
|
|
2146
2146
|
requestAnimationFrame(function () {
|
|
2147
2147
|
switch (type) {
|
|
2148
2148
|
case _constants.notificationTypeCollection.success:
|
|
2149
|
-
_notification2
|
|
2149
|
+
_notification2.default.success({
|
|
2150
2150
|
placement: placement,
|
|
2151
2151
|
message: messageText,
|
|
2152
2152
|
description: description
|
|
@@ -2155,7 +2155,7 @@ function notify(_ref18) {
|
|
|
2155
2155
|
break;
|
|
2156
2156
|
|
|
2157
2157
|
case _constants.notificationTypeCollection.warning:
|
|
2158
|
-
_notification2
|
|
2158
|
+
_notification2.default.warning({
|
|
2159
2159
|
placement: placement,
|
|
2160
2160
|
message: messageText,
|
|
2161
2161
|
description: description
|
|
@@ -2164,7 +2164,7 @@ function notify(_ref18) {
|
|
|
2164
2164
|
break;
|
|
2165
2165
|
|
|
2166
2166
|
case _constants.notificationTypeCollection.error:
|
|
2167
|
-
_notification2
|
|
2167
|
+
_notification2.default.error({
|
|
2168
2168
|
placement: placement,
|
|
2169
2169
|
message: messageText,
|
|
2170
2170
|
description: description
|
|
@@ -2173,7 +2173,7 @@ function notify(_ref18) {
|
|
|
2173
2173
|
break;
|
|
2174
2174
|
|
|
2175
2175
|
case _constants.notificationTypeCollection.info:
|
|
2176
|
-
_notification2
|
|
2176
|
+
_notification2.default.info({
|
|
2177
2177
|
placement: placement,
|
|
2178
2178
|
message: messageText,
|
|
2179
2179
|
description: description
|
|
@@ -2182,7 +2182,7 @@ function notify(_ref18) {
|
|
|
2182
2182
|
break;
|
|
2183
2183
|
|
|
2184
2184
|
case _constants.notificationTypeCollection.warn:
|
|
2185
|
-
_notification2
|
|
2185
|
+
_notification2.default.warn({
|
|
2186
2186
|
placement: placement,
|
|
2187
2187
|
message: messageText,
|
|
2188
2188
|
description: description
|
|
@@ -2191,7 +2191,7 @@ function notify(_ref18) {
|
|
|
2191
2191
|
break;
|
|
2192
2192
|
|
|
2193
2193
|
default:
|
|
2194
|
-
_notification2
|
|
2194
|
+
_notification2.default.open({
|
|
2195
2195
|
placement: placement,
|
|
2196
2196
|
message: messageText,
|
|
2197
2197
|
description: description
|
|
@@ -23,7 +23,7 @@ var _globalStorageAssist = require("./globalStorageAssist");
|
|
|
23
23
|
|
|
24
24
|
var _defaultSettingsSpecial = require("./defaultSettingsSpecial");
|
|
25
25
|
|
|
26
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
28
28
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
29
29
|
|
|
@@ -91,7 +91,7 @@ function apiVirtualFailData(_ref) {
|
|
|
91
91
|
});
|
|
92
92
|
return _objectSpread({
|
|
93
93
|
code: code,
|
|
94
|
-
message: _message2
|
|
94
|
+
message: _message2.default,
|
|
95
95
|
success: false
|
|
96
96
|
}, remoteResponse);
|
|
97
97
|
}
|
|
@@ -247,7 +247,7 @@ function _apiVirtualFailAccess() {
|
|
|
247
247
|
|
|
248
248
|
case 12:
|
|
249
249
|
if (code !== _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode()) {
|
|
250
|
-
_message2
|
|
250
|
+
_message2.default.warn(messageText);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
case 13:
|
|
@@ -299,7 +299,7 @@ function _apiVirtualAccess() {
|
|
|
299
299
|
_result3 = result, code = _result3.code, messageText = _result3.message;
|
|
300
300
|
|
|
301
301
|
if (code !== _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode()) {
|
|
302
|
-
_message2
|
|
302
|
+
_message2.default.warn(messageText);
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
return _context3.abrupt("return", result);
|