antd-management-fast-framework 1.12.44 → 1.12.47

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.
@@ -98,7 +98,7 @@ var SinglePage = /*#__PURE__*/function (_Base) {
98
98
  (0, _tools.showRuntimeError)({
99
99
  message: text
100
100
  });
101
- recordObject(_assertThisInitialized(_this));
101
+ (0, _tools.recordObject)(_assertThisInitialized(_this));
102
102
  return d;
103
103
  }
104
104
 
@@ -40,7 +40,7 @@ function recordLog(record, showMode) {
40
40
  var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _constants.logLevel.debug;
41
41
  var showModeModified = (showMode || null) == null || (0, _core.stringIsNullOrWhiteSpace)(showMode) ? _constants.logShowMode.unknown : showMode;
42
42
 
43
- if (!inCollection([_constants.logShowMode.unknown, _constants.logShowMode.text, _constants.logShowMode.object], showModeModified)) {
43
+ if (!(0, _core.inCollection)([_constants.logShowMode.unknown, _constants.logShowMode.text, _constants.logShowMode.object], showModeModified)) {
44
44
  throw new Error("\u65E0\u6548\u7684\u65E5\u5FD7\u663E\u793A\u6A21\u5F0F:".concat(showModeModified));
45
45
  }
46
46
 
@@ -650,13 +650,13 @@ export function notify({ type, placement: placementValue, message: messageValue,
650
650
  message: any;
651
651
  description: any;
652
652
  }): void;
653
- export function recordLog(record: any, showMode: any, level?: any): void;
653
+ export function recordLog(record: any, showMode: any, level?: string): void;
654
654
  export function recordWarn(record: any): void;
655
655
  export function recordInfo(record: any): void;
656
656
  export function recordDebug(record: any): void;
657
657
  export function recordError(record: any): void;
658
- export function recordText(record: any, level?: any): void;
659
- export function recordObject(record: any, level?: any): void;
658
+ export function recordText(record: any, level?: string): void;
659
+ export function recordObject(record: any, level?: string): void;
660
660
  export function checkFromConfig({ label, name, helper }: {
661
661
  label: any;
662
662
  name: any;
package/es/utils/tools.js CHANGED
@@ -1939,7 +1939,7 @@ function notify(_ref23) {
1939
1939
  }
1940
1940
 
1941
1941
  function recordLog(record, showMode) {
1942
- var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : logLevel.debug;
1942
+ var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _constants.logLevel.debug;
1943
1943
  (0, _developAssist.recordLog)(record, showMode, level);
1944
1944
  }
1945
1945
 
@@ -1960,12 +1960,12 @@ function recordError(record) {
1960
1960
  }
1961
1961
 
1962
1962
  function recordText(record) {
1963
- var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : logLevel.debug;
1963
+ var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _constants.logLevel.debug;
1964
1964
  (0, _developAssist.recordText)(record, level);
1965
1965
  }
1966
1966
 
1967
1967
  function recordObject(record) {
1968
- var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : logLevel.debug;
1968
+ var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _constants.logLevel.debug;
1969
1969
  (0, _developAssist.recordObject)(record, level);
1970
1970
  }
1971
1971
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.12.44",
3
+ "version": "1.12.47",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -171,7 +171,7 @@
171
171
  "src/framework",
172
172
  "src/utils"
173
173
  ],
174
- "gitHead": "98f4b9ddcaf870d47fde6c1437e299b6d63eff21",
174
+ "gitHead": "d2acb8f693a698606c2f2c77da37efda58a15055",
175
175
  "gitHooks": {
176
176
  "pre-commit": "lint-staged"
177
177
  }