antd-management-fast-framework 1.12.45 → 1.12.48
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/utils/tools.d.ts
CHANGED
|
@@ -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?:
|
|
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?:
|
|
659
|
-
export function recordObject(record: any, level?:
|
|
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
|
@@ -1565,7 +1565,7 @@ function cloneWithoutMethod(value) {
|
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
1567
|
function isFunction(value) {
|
|
1568
|
-
return (0,
|
|
1568
|
+
return (0, _typeCheck.isFunction)(value);
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
1571
|
function isArray(value) {
|
|
@@ -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/es/utils/typeCheck.d.ts
CHANGED
package/es/utils/typeCheck.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.empty = empty;
|
|
7
7
|
exports.isArray = isArray;
|
|
8
|
+
exports.isFunction = isFunction;
|
|
8
9
|
exports.isNumber = isNumber;
|
|
9
10
|
exports.isString = isString;
|
|
10
11
|
|
|
@@ -16,6 +17,10 @@ var _lodash = require("lodash");
|
|
|
16
17
|
function isString(value) {
|
|
17
18
|
return (0, _lodash.isString)(value);
|
|
18
19
|
}
|
|
20
|
+
|
|
21
|
+
function isFunction(value) {
|
|
22
|
+
return (0, _lodash.isFunction)(value);
|
|
23
|
+
}
|
|
19
24
|
/**
|
|
20
25
|
* 判断是否是数字字符串
|
|
21
26
|
*
|
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.48",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@types/randomcolor": "^0.5.6",
|
|
119
119
|
"@types/react-document-title": "^2.0.5",
|
|
120
120
|
"@types/uuid": "^8.3.4",
|
|
121
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
121
|
+
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
122
122
|
"@umijs/fabric": "^2.11.1",
|
|
123
123
|
"@umijs/test": "^3.5.24",
|
|
124
124
|
"@umijs/test-utils": "^3.5.24",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"src/framework",
|
|
172
172
|
"src/utils"
|
|
173
173
|
],
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "d5acf8e6d0be5ebae7d42dd003c513e7a48fed3e",
|
|
175
175
|
"gitHooks": {
|
|
176
176
|
"pre-commit": "lint-staged"
|
|
177
177
|
}
|