antd-management-fast-framework 1.12.19 → 1.12.22
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/framework/Base/index.js +4 -1
- package/es/framework/Common/index.js +1 -1
- package/es/utils/authority.js +22 -14
- package/package.json +28 -28
|
@@ -259,7 +259,10 @@ var Base = /*#__PURE__*/function (_Component) {
|
|
|
259
259
|
value: function showRenderCount() {
|
|
260
260
|
if (this.showRenderCountInConsole) {
|
|
261
261
|
this.renderCount += 1;
|
|
262
|
-
|
|
262
|
+
var text = "render frequency: ".concat(this.renderCount);
|
|
263
|
+
(0, _tools.showInfoMessage)({
|
|
264
|
+
message: text
|
|
265
|
+
});
|
|
263
266
|
}
|
|
264
267
|
}
|
|
265
268
|
/**
|
|
@@ -419,7 +419,7 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
419
419
|
metaOriginalData: metaOriginalData || null
|
|
420
420
|
});
|
|
421
421
|
} catch (e) {
|
|
422
|
-
|
|
422
|
+
(0, _tools.recordObject)(e);
|
|
423
423
|
var text = "".concat((0, _tools.toString)(e), ",place view in the console");
|
|
424
424
|
(0, _tools.showErrorMessage)({
|
|
425
425
|
message: text
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.22",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -30,18 +30,18 @@
|
|
|
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.6",
|
|
34
34
|
"@antv/data-set": "^0.11.8",
|
|
35
35
|
"@tinymce/tinymce-react": "^3.13.1",
|
|
36
|
-
"antd": "^4.19.
|
|
36
|
+
"antd": "^4.19.3",
|
|
37
37
|
"array-move": "^4.0.0",
|
|
38
38
|
"bizcharts": "^4.1.15",
|
|
39
|
-
"browserslist": "^4.20.
|
|
40
|
-
"caniuse-lite": "^1.0.
|
|
39
|
+
"browserslist": "^4.20.2",
|
|
40
|
+
"caniuse-lite": "^1.0.30001319",
|
|
41
41
|
"classnames": "^2.3.1",
|
|
42
42
|
"copy-to-clipboard": "^3.3.1",
|
|
43
43
|
"enquire-js": "^0.2.1",
|
|
44
|
-
"html-react-parser": "^1.4.
|
|
44
|
+
"html-react-parser": "^1.4.9",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
46
46
|
"lodash-decorators": "^6.0.1",
|
|
47
47
|
"lodash.debounce": "^4.0.8",
|
|
@@ -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",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"react-document-title": "^2.0.3",
|
|
75
75
|
"react-dom": "^17.0.2",
|
|
76
76
|
"react-json-view": "^1.21.3",
|
|
77
|
-
"react-player": "^2.
|
|
77
|
+
"react-player": "^2.10.0",
|
|
78
78
|
"react-router": "^6.2.2",
|
|
79
79
|
"react-router-dom": "^6.2.2",
|
|
80
|
-
"react-syntax-highlighter": "^15.
|
|
80
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
81
81
|
"redux": "^4.1.2",
|
|
82
82
|
"umi-request": "^1.4.0",
|
|
83
83
|
"use-merge-value": "^1.0.2",
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@ant-design/colors": "^6.0.0",
|
|
88
88
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
89
|
-
"@babel/plugin-proposal-decorators": "^7.17.
|
|
89
|
+
"@babel/plugin-proposal-decorators": "^7.17.8",
|
|
90
90
|
"@babel/plugin-syntax-jsx": "^7.16.7",
|
|
91
91
|
"@babel/preset-env": "^7.16.11",
|
|
92
92
|
"@babel/preset-react": "^7.16.7",
|
|
93
|
-
"@commitlint/cli": "^16.2.
|
|
93
|
+
"@commitlint/cli": "^16.2.3",
|
|
94
94
|
"@commitlint/config-conventional": "^16.2.1",
|
|
95
95
|
"@commitlint/config-lerna-scopes": "^16.2.2",
|
|
96
|
-
"@commitlint/cz-commitlint": "^16.2.
|
|
97
|
-
"@testing-library/react": "^12.1.
|
|
96
|
+
"@commitlint/cz-commitlint": "^16.2.3",
|
|
97
|
+
"@testing-library/react": "^12.1.4",
|
|
98
98
|
"@testing-library/react-hooks": "^7.0.2",
|
|
99
99
|
"@types/jest": "^27.4.1",
|
|
100
|
-
"@types/node": "^17.0.
|
|
100
|
+
"@types/node": "^17.0.22",
|
|
101
101
|
"@types/react-document-title": "^2.0.5",
|
|
102
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
102
|
+
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
|
103
103
|
"@umijs/fabric": "^2.10.2",
|
|
104
104
|
"@umijs/test": "^3.5.21",
|
|
105
105
|
"@umijs/test-utils": "^3.5.21",
|
|
@@ -109,35 +109,35 @@
|
|
|
109
109
|
"body-parser": "^1.19.2",
|
|
110
110
|
"commitizen": "^4.2.4",
|
|
111
111
|
"cross-env": "^7.0.3",
|
|
112
|
-
"eslint": "^8.
|
|
112
|
+
"eslint": "^8.11.0",
|
|
113
113
|
"eslint-config-airbnb": "^19.0.4",
|
|
114
|
-
"eslint-config-airbnb-typescript": "^16.1.
|
|
114
|
+
"eslint-config-airbnb-typescript": "^16.1.4",
|
|
115
115
|
"eslint-config-prettier": "^8.5.0",
|
|
116
116
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
117
117
|
"eslint-plugin-import": "^2.25.4",
|
|
118
|
-
"eslint-plugin-jest": "^26.1.
|
|
118
|
+
"eslint-plugin-jest": "^26.1.2",
|
|
119
119
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
120
120
|
"eslint-plugin-prettier": "^4.0.0",
|
|
121
|
-
"eslint-plugin-react": "^7.29.
|
|
121
|
+
"eslint-plugin-react": "^7.29.4",
|
|
122
122
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
123
|
-
"eslint-plugin-unicorn": "^41.0.
|
|
123
|
+
"eslint-plugin-unicorn": "^41.0.1",
|
|
124
124
|
"express": "^4.17.3",
|
|
125
|
-
"father-build": "^1.21.
|
|
125
|
+
"father-build": "^1.21.2",
|
|
126
126
|
"husky": "^7.0.4",
|
|
127
127
|
"import-sort-cli": "^6.0.0",
|
|
128
128
|
"import-sort-parser-babylon": "^6.0.0",
|
|
129
129
|
"import-sort-parser-typescript": "^6.0.0",
|
|
130
130
|
"import-sort-style-module": "^6.0.0",
|
|
131
|
-
"lint-staged": "^12.3.
|
|
132
|
-
"postcss": "^8.4.
|
|
131
|
+
"lint-staged": "^12.3.7",
|
|
132
|
+
"postcss": "^8.4.12",
|
|
133
133
|
"postcss-less": "^6.0.0",
|
|
134
|
-
"prettier": "^2.
|
|
135
|
-
"puppeteer": "^13.5.
|
|
134
|
+
"prettier": "^2.6.0",
|
|
135
|
+
"puppeteer": "^13.5.1",
|
|
136
136
|
"react": "^17.0.2",
|
|
137
137
|
"react-test-renderer": "^17.0.2",
|
|
138
138
|
"rimraf": "^3.0.2",
|
|
139
|
-
"stylelint": "^14.
|
|
140
|
-
"stylelint-config-css-modules": "^
|
|
139
|
+
"stylelint": "^14.6.0",
|
|
140
|
+
"stylelint-config-css-modules": "^4.1.0",
|
|
141
141
|
"stylelint-config-prettier": "^9.0.3",
|
|
142
142
|
"stylelint-config-standard": "^25.0.0",
|
|
143
143
|
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"bugs": {
|
|
172
172
|
"url": "https://github.com/kityandhero/antd-management-fast-framework/issues"
|
|
173
173
|
},
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "fd31b0c60a249d9730446ac0dab33931be0613a0"
|
|
175
175
|
}
|