@lingxiteam/assets 1.0.12 → 1.0.13-alpha.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/dealDsl/index.d.ts +1 -2
- package/es/dealDsl/index.js +1 -2
- package/es/dealDsl/preprocess/common.js +179 -37
- package/es/dealDsl/preprocessDSL.d.ts +2 -14
- package/es/dealDsl/preprocessDSL.js +2 -42
- package/es/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
- package/es/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +187 -43
- package/es/error/errorDisplay/Web/Notification/Notice.js +5 -1
- package/es/error/errorDisplay/Web/Notification/Notification.js +10 -3
- package/es/error/errorDisplay/Web/Notification/Notification.less +13 -1
- package/es/error/errorDisplay/Web/Notification/index.js +8 -9
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +3 -1
- package/es/error/errorDisplay/compUtils.js +17 -1
- package/es/error/errorDisplay/const.js +1 -1
- package/es/error/errorDisplay/http.js +1 -1
- package/es/error/index.js +3 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/rootConfig/mobile/BusiComp.d.ts +5 -0
- package/es/rootConfig/mobile/BusiComp.js +32 -3
- package/es/rootConfig/mobile/MobileModal.d.ts +13 -5
- package/es/rootConfig/mobile/MobileModal.js +38 -9
- package/es/rootConfig/mobile/MobilePopover.d.ts +5 -0
- package/es/rootConfig/mobile/MobilePopover.js +31 -2
- package/es/rootConfig/mobile/page.d.ts +25 -5
- package/es/rootConfig/mobile/page.js +70 -10
- package/es/rootConfig/pc/BusiComp.d.ts +4 -0
- package/es/rootConfig/pc/BusiComp.js +64 -3
- package/es/rootConfig/pc/Drawer.d.ts +12 -0
- package/es/rootConfig/pc/Drawer.js +68 -2
- package/es/rootConfig/pc/Modal.d.ts +6 -0
- package/es/rootConfig/pc/Modal.js +62 -2
- package/es/rootConfig/pc/Popover.d.ts +5 -0
- package/es/rootConfig/pc/Popover.js +58 -2
- package/es/rootConfig/pc/page.d.ts +25 -10
- package/es/rootConfig/pc/page.js +103 -15
- package/es/rootConfig/todoActionList.d.ts +170 -50
- package/es/rootConfig/todoActionList.js +221 -70
- package/es/rootConfig/todoOptionList.d.ts +38 -6
- package/es/rootConfig/todoOptionList.js +44 -6
- package/es/security/encipher/sign.js +8 -1
- package/es/security/encipher/token.d.ts +3 -0
- package/es/security/encipher/token.js +30 -0
- package/es/security/index.d.ts +2 -0
- package/es/security/index.js +4 -1
- package/es/theme/bin/default/modalWidth.js +8 -0
- package/es/theme/bin/default/theme.js +282 -207
- package/es/theme/bin/default/theme.less +282 -207
- package/es/theme/bin/default/theme.scss +282 -207
- package/es/theme/build.js +9 -0
- package/es/theme/src/default/index.js +169 -61
- package/es/theme/utils/renderColors.js +13 -2
- package/es/utils/cookieUtil.js +36 -0
- package/lib/dealDsl/index.d.ts +1 -2
- package/lib/dealDsl/index.js +1 -20
- package/lib/dealDsl/preprocess/common.js +179 -37
- package/lib/dealDsl/preprocessDSL.d.ts +2 -14
- package/lib/dealDsl/preprocessDSL.js +4 -46
- package/lib/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
- package/lib/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
- package/lib/error/errorDisplay/Web/ErrorMsg/index.js +186 -43
- package/lib/error/errorDisplay/Web/Notification/Notice.js +5 -1
- package/lib/error/errorDisplay/Web/Notification/Notification.js +10 -3
- package/lib/error/errorDisplay/Web/Notification/Notification.less +13 -1
- package/lib/error/errorDisplay/Web/Notification/index.js +8 -9
- package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +2 -1
- package/lib/error/errorDisplay/compUtils.js +19 -1
- package/lib/error/errorDisplay/const.js +1 -1
- package/lib/error/errorDisplay/http.js +1 -1
- package/lib/error/index.js +14 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +14 -0
- package/lib/rootConfig/mobile/BusiComp.d.ts +5 -0
- package/lib/rootConfig/mobile/BusiComp.js +32 -3
- package/lib/rootConfig/mobile/MobileModal.d.ts +13 -5
- package/lib/rootConfig/mobile/MobileModal.js +38 -9
- package/lib/rootConfig/mobile/MobilePopover.d.ts +5 -0
- package/lib/rootConfig/mobile/MobilePopover.js +31 -2
- package/lib/rootConfig/mobile/page.d.ts +25 -5
- package/lib/rootConfig/mobile/page.js +70 -10
- package/lib/rootConfig/pc/BusiComp.d.ts +4 -0
- package/lib/rootConfig/pc/BusiComp.js +64 -3
- package/lib/rootConfig/pc/Drawer.d.ts +12 -0
- package/lib/rootConfig/pc/Drawer.js +68 -2
- package/lib/rootConfig/pc/Modal.d.ts +6 -0
- package/lib/rootConfig/pc/Modal.js +62 -2
- package/lib/rootConfig/pc/Popover.d.ts +5 -0
- package/lib/rootConfig/pc/Popover.js +58 -2
- package/lib/rootConfig/pc/page.d.ts +25 -10
- package/lib/rootConfig/pc/page.js +103 -15
- package/lib/rootConfig/todoActionList.d.ts +170 -50
- package/lib/rootConfig/todoActionList.js +221 -70
- package/lib/rootConfig/todoOptionList.d.ts +38 -6
- package/lib/rootConfig/todoOptionList.js +44 -6
- package/lib/security/encipher/sign.js +9 -1
- package/lib/security/encipher/token.d.ts +3 -0
- package/lib/security/encipher/token.js +38 -0
- package/lib/security/index.d.ts +2 -0
- package/lib/security/index.js +4 -1
- package/lib/theme/bin/default/modalWidth.js +15 -0
- package/lib/theme/bin/default/theme.js +282 -207
- package/lib/theme/bin/default/theme.less +282 -207
- package/lib/theme/bin/default/theme.scss +282 -207
- package/lib/theme/build.js +9 -0
- package/lib/theme/src/default/index.js +169 -61
- package/lib/theme/utils/renderColors.js +13 -2
- package/lib/utils/cookieUtil.js +43 -0
- package/package.json +1 -1
- package/es/dealDsl/events/actionObj.d.ts +0 -3
- package/es/dealDsl/events/actionObj.js +0 -6
- package/es/dealDsl/events/index.d.ts +0 -6
- package/es/dealDsl/events/index.js +0 -14
- package/es/dealDsl/preprocess/editor.d.ts +0 -9
- package/es/dealDsl/preprocess/editor.js +0 -21
- package/es/dealDsl/preprocess/engine.d.ts +0 -9
- package/es/dealDsl/preprocess/engine.js +0 -19
- package/es/theme/bin/cucc/theme.js +0 -275
- package/es/theme/bin/cucc/theme.less +0 -272
- package/es/theme/bin/cucc/theme.scss +0 -272
- package/es/theme/src/cucc/index.js +0 -131
- package/lib/dealDsl/events/actionObj.d.ts +0 -3
- package/lib/dealDsl/events/actionObj.js +0 -13
- package/lib/dealDsl/events/index.d.ts +0 -6
- package/lib/dealDsl/events/index.js +0 -21
- package/lib/dealDsl/preprocess/editor.d.ts +0 -9
- package/lib/dealDsl/preprocess/editor.js +0 -28
- package/lib/dealDsl/preprocess/engine.d.ts +0 -9
- package/lib/dealDsl/preprocess/engine.js +0 -26
- package/lib/theme/bin/cucc/theme.js +0 -277
- package/lib/theme/bin/cucc/theme.less +0 -272
- package/lib/theme/bin/cucc/theme.scss +0 -272
- package/lib/theme/src/cucc/index.js +0 -133
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.generateToken = exports.checkToken = void 0;
|
|
7
|
+
var _aes = _interopRequireDefault(require("crypto-js/aes"));
|
|
8
|
+
var _encUtf = _interopRequireDefault(require("crypto-js/enc-utf8"));
|
|
9
|
+
var _md = _interopRequireDefault(require("crypto-js/md5"));
|
|
10
|
+
var _cryptoJs = _interopRequireDefault(require("crypto-js"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
var generateToken = function generateToken(pageId) {
|
|
13
|
+
var tokenStr = "".concat((0, _md.default)(pageId).toString(), ".").concat(new Date().getTime());
|
|
14
|
+
return _aes.default.encrypt(tokenStr, 'Lixing666', {
|
|
15
|
+
iv: _encUtf.default.parse('3468546098617269')
|
|
16
|
+
}).toString();
|
|
17
|
+
};
|
|
18
|
+
exports.generateToken = generateToken;
|
|
19
|
+
var checkToken = function checkToken(token, pageId) {
|
|
20
|
+
var result = true;
|
|
21
|
+
if (token) {
|
|
22
|
+
var bytes = _cryptoJs.default.AES.decrypt(token, 'Lixing666', {
|
|
23
|
+
iv: '3468546098617269'
|
|
24
|
+
});
|
|
25
|
+
var decryptedData = bytes.toString(_cryptoJs.default.enc.Utf8);
|
|
26
|
+
if (decryptedData) {
|
|
27
|
+
// 加密字符串: MD5(pageId) + '.' + Timestamp + '.' + ‘版本(保留)’
|
|
28
|
+
var tokenarr = decryptedData.split('.');
|
|
29
|
+
var pagemd5 = _cryptoJs.default.MD5(pageId).toString();
|
|
30
|
+
// Token验证:第一段相同,且Timestamp和当前时间的差距在1小时(3600秒 = 3600000毫秒)内
|
|
31
|
+
if (tokenarr.length >= 2 && tokenarr[0] === pagemd5 && new Date(parseInt(tokenarr[1], 10)).getTime() - new Date().getTime() <= 3600000) {
|
|
32
|
+
result = true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
exports.checkToken = checkToken;
|
package/lib/security/index.d.ts
CHANGED
package/lib/security/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var _sign = _interopRequireDefault(require("./encipher/sign"));
|
|
|
9
9
|
var _rsa = require("../security/encipher/rsa");
|
|
10
10
|
var _aes = require("../security/encipher/aes");
|
|
11
11
|
var _des = require("../security/encipher/des");
|
|
12
|
+
var _token = require("./encipher/token");
|
|
12
13
|
var _const = _interopRequireDefault(require("./const"));
|
|
13
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
15
|
window.lingxiSecurity = {
|
|
@@ -24,6 +25,8 @@ var _default = {
|
|
|
24
25
|
AESDecrypt: _aes.AESDecrypt,
|
|
25
26
|
DESEncrypt: _des.DESEncrypt,
|
|
26
27
|
DESDecrypt: _des.DESDecrypt,
|
|
27
|
-
KEYS: _const.default
|
|
28
|
+
KEYS: _const.default,
|
|
29
|
+
checkToken: _token.checkToken,
|
|
30
|
+
generateToken: _token.generateToken
|
|
28
31
|
};
|
|
29
32
|
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var modalWidths = {
|
|
8
|
+
xs: '256px',
|
|
9
|
+
sm: '500px',
|
|
10
|
+
md: '768px',
|
|
11
|
+
lg: '1000px',
|
|
12
|
+
xl: '80%'
|
|
13
|
+
};
|
|
14
|
+
var _default = modalWidths;
|
|
15
|
+
exports.default = _default;
|
|
@@ -1,61 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var theme = {
|
|
4
|
-
'blue-base': '#3295fa',
|
|
5
|
-
'blue-1': '#f0faff',
|
|
6
|
-
'blue-2': '#d6f0ff',
|
|
7
|
-
'blue-3': '#addeff',
|
|
8
|
-
'blue-4': '#85caff',
|
|
9
|
-
'blue-5': '#5cb3ff',
|
|
10
|
-
'blue-6': '#3296fa',
|
|
11
|
-
'blue-7': '#2074d4',
|
|
12
|
-
'blue-8': '#1155ad',
|
|
13
|
-
'blue-9': '#073a87',
|
|
14
|
-
'blue-10': '#042661',
|
|
15
|
-
'cyan-base': '#0dd1a9',
|
|
16
|
-
'cyan-1': '#e6fff6',
|
|
17
|
-
'cyan-2': '#b3ffe5',
|
|
18
|
-
'cyan-3': '#86f7d5',
|
|
19
|
-
'cyan-4': '#59ebc4',
|
|
20
|
-
'cyan-5': '#31deb5',
|
|
21
|
-
'cyan-6': '#0dd1aa',
|
|
22
|
-
'cyan-7': '#02ab8f',
|
|
23
|
-
'cyan-8': '#008573',
|
|
24
|
-
'cyan-9': '#005e55',
|
|
25
|
-
'cyan-10': '#003834',
|
|
26
|
-
'green-base': '#02b342',
|
|
27
|
-
'green-1': '#daf2df',
|
|
28
|
-
'green-2': '#95e6a8',
|
|
29
|
-
'green-3': '#6ad988',
|
|
30
|
-
'green-4': '#43cc6c',
|
|
31
|
-
'green-5': '#21bf55',
|
|
32
|
-
'green-6': '#02b343',
|
|
33
|
-
'green-7': '#008c38',
|
|
34
|
-
'green-8': '#00662c',
|
|
35
|
-
'green-9': '#00401e',
|
|
36
|
-
'green-10': '#001a0d',
|
|
37
|
-
'gold-base': '#faaf0c',
|
|
38
|
-
'gold-1': '#fffbe6',
|
|
39
|
-
'gold-2': '#fff1b0',
|
|
40
|
-
'gold-3': '#ffe587',
|
|
41
|
-
'gold-4': '#ffd75e',
|
|
42
|
-
'gold-5': '#ffc636',
|
|
43
|
-
'gold-6': '#faaf0c',
|
|
44
|
-
'gold-7': '#d48a00',
|
|
45
|
-
'gold-8': '#ad6b00',
|
|
46
|
-
'gold-9': '#874f00',
|
|
47
|
-
'gold-10': '#613500',
|
|
48
|
-
'volcano-base': '#fa6432',
|
|
49
|
-
'volcano-1': '#fff6f0',
|
|
50
|
-
'volcano-2': '#ffe6d6',
|
|
51
|
-
'volcano-3': '#ffcaad',
|
|
52
|
-
'volcano-4': '#ffab85',
|
|
53
|
-
'volcano-5': '#ff8a5c',
|
|
54
|
-
'volcano-6': '#fa6432',
|
|
55
|
-
'volcano-7': '#d44720',
|
|
56
|
-
'volcano-8': '#ad2e11',
|
|
57
|
-
'volcano-9': '#871a07',
|
|
58
|
-
'volcano-10': '#610f04',
|
|
59
4
|
'red-base': '#f23030',
|
|
60
5
|
'red-1': '#fff2f0',
|
|
61
6
|
'red-2': '#ffdcd6',
|
|
@@ -67,50 +12,39 @@ var theme = {
|
|
|
67
12
|
'red-8': '#a6111b',
|
|
68
13
|
'red-9': '#800612',
|
|
69
14
|
'red-10': '#59040f',
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'orange-base': '#fa8c16',
|
|
104
|
-
'orange-1': '#fff7e6',
|
|
105
|
-
'orange-2': '#ffe7ba',
|
|
106
|
-
'orange-3': '#ffd591',
|
|
107
|
-
'orange-4': '#ffc069',
|
|
108
|
-
'orange-5': '#ffa940',
|
|
109
|
-
'orange-6': '#fa8c16',
|
|
110
|
-
'orange-7': '#d46b08',
|
|
111
|
-
'orange-8': '#ad4e00',
|
|
112
|
-
'orange-9': '#873800',
|
|
113
|
-
'orange-10': '#612500',
|
|
15
|
+
'volcano-base': '#fa541c',
|
|
16
|
+
'volcano-1': '#fff2e8',
|
|
17
|
+
'volcano-2': '#ffd8bf',
|
|
18
|
+
'volcano-3': '#ffbb96',
|
|
19
|
+
'volcano-4': '#ff9c6e',
|
|
20
|
+
'volcano-5': '#ff7a45',
|
|
21
|
+
'volcano-6': '#fa541c',
|
|
22
|
+
'volcano-7': '#d4380d',
|
|
23
|
+
'volcano-8': '#ad2102',
|
|
24
|
+
'volcano-9': '#871400',
|
|
25
|
+
'volcano-10': '#610b00',
|
|
26
|
+
'orange-base': '#fa6432',
|
|
27
|
+
'orange-1': '#fff6f0',
|
|
28
|
+
'orange-2': '#ffe6d6',
|
|
29
|
+
'orange-3': '#ffcaad',
|
|
30
|
+
'orange-4': '#ffab85',
|
|
31
|
+
'orange-5': '#ff8a5c',
|
|
32
|
+
'orange-6': '#fa6432',
|
|
33
|
+
'orange-7': '#d44720',
|
|
34
|
+
'orange-8': '#ad2e11',
|
|
35
|
+
'orange-9': '#871a07',
|
|
36
|
+
'orange-10': '#610f04',
|
|
37
|
+
'gold-base': '#faaf0c',
|
|
38
|
+
'gold-1': '#fffbe6',
|
|
39
|
+
'gold-2': '#fff1b0',
|
|
40
|
+
'gold-3': '#ffe587',
|
|
41
|
+
'gold-4': '#ffd75e',
|
|
42
|
+
'gold-5': '#ffc636',
|
|
43
|
+
'gold-6': '#faaf0c',
|
|
44
|
+
'gold-7': '#d48a00',
|
|
45
|
+
'gold-8': '#ad6b00',
|
|
46
|
+
'gold-9': '#874f00',
|
|
47
|
+
'gold-10': '#613500',
|
|
114
48
|
'yellow-base': '#fadb14',
|
|
115
49
|
'yellow-1': '#feffe6',
|
|
116
50
|
'yellow-2': '#ffffb8',
|
|
@@ -133,139 +67,280 @@ var theme = {
|
|
|
133
67
|
'lime-8': '#5b8c00',
|
|
134
68
|
'lime-9': '#3f6600',
|
|
135
69
|
'lime-10': '#254000',
|
|
136
|
-
'
|
|
70
|
+
'green-base': '#02b342',
|
|
71
|
+
'green-1': '#daf2df',
|
|
72
|
+
'green-2': '#95e6a8',
|
|
73
|
+
'green-3': '#6ad988',
|
|
74
|
+
'green-4': '#43cc6c',
|
|
75
|
+
'green-5': '#21bf55',
|
|
76
|
+
'green-6': '#02b342',
|
|
77
|
+
'green-7': '#008c38',
|
|
78
|
+
'green-8': '#00662c',
|
|
79
|
+
'green-9': '#00401e',
|
|
80
|
+
'green-10': '#001a0d',
|
|
81
|
+
'cyan-base': '#0dd1a9',
|
|
82
|
+
'cyan-1': '#e6fff6',
|
|
83
|
+
'cyan-2': '#b3ffe5',
|
|
84
|
+
'cyan-3': '#86f7d5',
|
|
85
|
+
'cyan-4': '#59ebc4',
|
|
86
|
+
'cyan-5': '#31deb5',
|
|
87
|
+
'cyan-6': '#0dd1a9',
|
|
88
|
+
'cyan-7': '#02ab8f',
|
|
89
|
+
'cyan-8': '#008573',
|
|
90
|
+
'cyan-9': '#005e55',
|
|
91
|
+
'cyan-10': '#003834',
|
|
92
|
+
'blue-base': '#3295fa',
|
|
93
|
+
'blue-1': '#f0faff',
|
|
94
|
+
'blue-2': '#d6f0ff',
|
|
95
|
+
'blue-3': '#addeff',
|
|
96
|
+
'blue-4': '#85caff',
|
|
97
|
+
'blue-5': '#5cb3ff',
|
|
98
|
+
'blue-6': '#3295fa',
|
|
99
|
+
'blue-7': '#2074d4',
|
|
100
|
+
'blue-8': '#1155ad',
|
|
101
|
+
'blue-9': '#073a87',
|
|
102
|
+
'blue-10': '#042661',
|
|
103
|
+
'geekblue-base': '#3366ee',
|
|
104
|
+
'geekblue-1': '#f0f6ff',
|
|
105
|
+
'geekblue-2': '#d9e8ff',
|
|
106
|
+
'geekblue-3': '#b0cdff',
|
|
107
|
+
'geekblue-4': '#87afff',
|
|
108
|
+
'geekblue-5': '#5c8cfa',
|
|
109
|
+
'geekblue-6': '#3366ee',
|
|
110
|
+
'geekblue-7': '#2047c7',
|
|
111
|
+
'geekblue-8': '#122ea1',
|
|
112
|
+
'geekblue-9': '#071b7a',
|
|
113
|
+
'geekblue-10': '#040f54',
|
|
114
|
+
'purple-base': '#6732e6',
|
|
115
|
+
'purple-1': '#f7f0ff',
|
|
116
|
+
'purple-2': '#ebdbff',
|
|
117
|
+
'purple-3': '#d1b3ff',
|
|
118
|
+
'purple-4': '#b58aff',
|
|
119
|
+
'purple-5': '#8e5cf2',
|
|
120
|
+
'purple-6': '#6732e6',
|
|
121
|
+
'purple-7': '#4b21bf',
|
|
122
|
+
'purple-8': '#321299',
|
|
123
|
+
'purple-9': '#1d0873',
|
|
124
|
+
'purple-10': '#11054d',
|
|
125
|
+
'magenta-base': '#eb2f96',
|
|
126
|
+
'magenta-1': '#fff0f6',
|
|
127
|
+
'magenta-2': '#ffd6e7',
|
|
128
|
+
'magenta-3': '#ffadd2',
|
|
129
|
+
'magenta-4': '#ff85c0',
|
|
130
|
+
'magenta-5': '#f759ab',
|
|
131
|
+
'magenta-6': '#eb2f96',
|
|
132
|
+
'magenta-7': '#c41d7f',
|
|
133
|
+
'magenta-8': '#9e1068',
|
|
134
|
+
'magenta-9': '#780650',
|
|
135
|
+
'magenta-10': '#520339',
|
|
136
|
+
'pink-base': '#eb2f96',
|
|
137
|
+
'pink-1': '#fff0f6',
|
|
138
|
+
'pink-2': '#ffd6e7',
|
|
139
|
+
'pink-3': '#ffadd2',
|
|
140
|
+
'pink-4': '#ff85c0',
|
|
141
|
+
'pink-5': '#f759ab',
|
|
142
|
+
'pink-6': '#eb2f96',
|
|
143
|
+
'pink-7': '#c41d7f',
|
|
144
|
+
'pink-8': '#9e1068',
|
|
145
|
+
'pink-9': '#780650',
|
|
146
|
+
'pink-10': '#520339',
|
|
147
|
+
'primary-color': '#417ffb',
|
|
137
148
|
'primary-1': '#f0f7ff',
|
|
138
|
-
'primary-2': '#
|
|
139
|
-
'primary-3': '#
|
|
140
|
-
'primary-4': '#
|
|
141
|
-
'primary-5': '#
|
|
142
|
-
'primary-6': '#
|
|
143
|
-
'primary-7': '#
|
|
144
|
-
'primary-8': '#
|
|
145
|
-
'primary-9': '#
|
|
146
|
-
'primary-10': '#
|
|
147
|
-
'info-color': '#
|
|
148
|
-
'info-1': '#
|
|
149
|
-
'info-2': '#
|
|
150
|
-
'info-3': '#
|
|
151
|
-
'info-4': '#
|
|
152
|
-
'info-5': '#
|
|
153
|
-
'info-6': '#
|
|
154
|
-
'info-7': '#
|
|
155
|
-
'info-8': '#
|
|
156
|
-
'info-9': '#
|
|
157
|
-
'info-10': '#
|
|
158
|
-
'success-color': '#
|
|
159
|
-
'success-1': '#
|
|
160
|
-
'success-2': '#
|
|
161
|
-
'success-3': '#
|
|
162
|
-
'success-4': '#
|
|
163
|
-
'success-5': '#
|
|
164
|
-
'success-6': '#
|
|
165
|
-
'success-7': '#
|
|
166
|
-
'success-8': '#
|
|
167
|
-
'success-9': '#
|
|
168
|
-
'success-10': '#
|
|
169
|
-
'warning-color': '#
|
|
149
|
+
'primary-2': '#e6f1ff',
|
|
150
|
+
'primary-3': '#bdd9ff',
|
|
151
|
+
'primary-4': '#94bfff',
|
|
152
|
+
'primary-5': '#6ba1ff',
|
|
153
|
+
'primary-6': '#417ffb',
|
|
154
|
+
'primary-7': '#2c5fd4',
|
|
155
|
+
'primary-8': '#1c43ad',
|
|
156
|
+
'primary-9': '#0f2b87',
|
|
157
|
+
'primary-10': '#0a1b61',
|
|
158
|
+
'info-color': '#3998f7',
|
|
159
|
+
'info-1': '#f0faff',
|
|
160
|
+
'info-2': '#def3ff',
|
|
161
|
+
'info-3': '#b5e1ff',
|
|
162
|
+
'info-4': '#8ccdff',
|
|
163
|
+
'info-5': '#63b6ff',
|
|
164
|
+
'info-6': '#3998f7',
|
|
165
|
+
'info-7': '#2676d1',
|
|
166
|
+
'info-8': '#1657ab',
|
|
167
|
+
'info-9': '#0b3b85',
|
|
168
|
+
'info-10': '#07275e',
|
|
169
|
+
'success-color': '#02b342',
|
|
170
|
+
'success-1': '#daf2df',
|
|
171
|
+
'success-2': '#95e6a8',
|
|
172
|
+
'success-3': '#6ad988',
|
|
173
|
+
'success-4': '#43cc6c',
|
|
174
|
+
'success-5': '#21bf55',
|
|
175
|
+
'success-6': '#02b342',
|
|
176
|
+
'success-7': '#008c38',
|
|
177
|
+
'success-8': '#00662c',
|
|
178
|
+
'success-9': '#00401e',
|
|
179
|
+
'success-10': '#001a0d',
|
|
180
|
+
'warning-color': '#faaf0c',
|
|
170
181
|
'warning-1': '#fffbe6',
|
|
171
|
-
'warning-2': '#
|
|
172
|
-
'warning-3': '#
|
|
173
|
-
'warning-4': '#
|
|
174
|
-
'warning-5': '#
|
|
175
|
-
'warning-6': '#
|
|
176
|
-
'warning-7': '#
|
|
177
|
-
'warning-8': '#
|
|
178
|
-
'warning-9': '#
|
|
179
|
-
'warning-10': '#
|
|
180
|
-
'error-color': '#
|
|
181
|
-
'error-1': '#
|
|
182
|
-
'error-2': '#
|
|
183
|
-
'error-3': '#
|
|
184
|
-
'error-4': '#
|
|
185
|
-
'error-5': '#
|
|
186
|
-
'error-6': '#
|
|
187
|
-
'error-7': '#
|
|
188
|
-
'error-8': '#
|
|
189
|
-
'error-9': '#
|
|
190
|
-
'error-10': '#
|
|
191
|
-
'highlight-color': '#
|
|
192
|
-
'highlight-1': '#
|
|
193
|
-
'highlight-2': '#
|
|
194
|
-
'highlight-3': '#
|
|
195
|
-
'highlight-4': '#
|
|
196
|
-
'highlight-5': '#
|
|
197
|
-
'highlight-6': '#
|
|
198
|
-
'highlight-7': '#
|
|
199
|
-
'highlight-8': '#
|
|
200
|
-
'highlight-9': '#
|
|
201
|
-
'highlight-10': '#
|
|
202
|
-
'black-1': 'rgba(
|
|
203
|
-
'black-2': 'rgba(
|
|
204
|
-
'black-3': 'rgba(
|
|
205
|
-
'black-4': 'rgba(
|
|
206
|
-
'black-5': 'rgba(
|
|
207
|
-
'black-6': 'rgba(
|
|
208
|
-
'black-7': 'rgba(
|
|
209
|
-
'black-8': 'rgba(
|
|
210
|
-
'black-9': 'rgba(
|
|
211
|
-
'black-10': '
|
|
182
|
+
'warning-2': '#fff1b0',
|
|
183
|
+
'warning-3': '#ffe587',
|
|
184
|
+
'warning-4': '#ffd75e',
|
|
185
|
+
'warning-5': '#ffc636',
|
|
186
|
+
'warning-6': '#faaf0c',
|
|
187
|
+
'warning-7': '#d48a00',
|
|
188
|
+
'warning-8': '#ad6b00',
|
|
189
|
+
'warning-9': '#874f00',
|
|
190
|
+
'warning-10': '#613500',
|
|
191
|
+
'error-color': '#f23030',
|
|
192
|
+
'error-1': '#fff2f0',
|
|
193
|
+
'error-2': '#ffdcd6',
|
|
194
|
+
'error-3': '#ffb6ad',
|
|
195
|
+
'error-4': '#ff8d85',
|
|
196
|
+
'error-5': '#ff615c',
|
|
197
|
+
'error-6': '#f23030',
|
|
198
|
+
'error-7': '#cc1f24',
|
|
199
|
+
'error-8': '#a6111b',
|
|
200
|
+
'error-9': '#800612',
|
|
201
|
+
'error-10': '#59040f',
|
|
202
|
+
'highlight-color': '#f23030',
|
|
203
|
+
'highlight-1': '#fff2f0',
|
|
204
|
+
'highlight-2': '#ffdcd6',
|
|
205
|
+
'highlight-3': '#ffb6ad',
|
|
206
|
+
'highlight-4': '#ff8d85',
|
|
207
|
+
'highlight-5': '#ff615c',
|
|
208
|
+
'highlight-6': '#f23030',
|
|
209
|
+
'highlight-7': '#cc1f24',
|
|
210
|
+
'highlight-8': '#a6111b',
|
|
211
|
+
'highlight-9': '#800612',
|
|
212
|
+
'highlight-10': '#59040f',
|
|
213
|
+
'black-1': 'rgba(42, 43, 51, 0.15)',
|
|
214
|
+
'black-2': 'rgba(42, 43, 51, 0.25)',
|
|
215
|
+
'black-3': 'rgba(42, 43, 51, 0.35)',
|
|
216
|
+
'black-4': 'rgba(42, 43, 51, 0.45)',
|
|
217
|
+
'black-5': 'rgba(42, 43, 51, 0.55)',
|
|
218
|
+
'black-6': 'rgba(42, 43, 51, 0.65)',
|
|
219
|
+
'black-7': 'rgba(42, 43, 51, 0.75)',
|
|
220
|
+
'black-8': 'rgba(42, 43, 51, 0.85)',
|
|
221
|
+
'black-9': 'rgba(42, 43, 51, 0.95)',
|
|
222
|
+
'black-10': 'rgb(42, 43, 51)',
|
|
223
|
+
'gray-1': '#fff',
|
|
224
|
+
'gray-2': '#f7f8fa',
|
|
225
|
+
'gray-3': '#f2f3f5',
|
|
226
|
+
'gray-4': '#ebebf0',
|
|
227
|
+
'gray-5': '#e4e4eb',
|
|
228
|
+
'gray-6': '#dcdde5',
|
|
229
|
+
'gray-7': '#d5d6e0',
|
|
230
|
+
'gray-8': '#c9cbd6',
|
|
231
|
+
'gray-9': '#b0b2bf',
|
|
232
|
+
'gray-10': '#9092a3',
|
|
233
|
+
'gray-11': '#64677a',
|
|
234
|
+
'gray-12': '#414352',
|
|
235
|
+
'gray-13': '#2a2b33',
|
|
236
|
+
'color-fill-1': '#fff',
|
|
237
|
+
'color-fill-2': '#f7f8fa',
|
|
238
|
+
'color-fill-3': '#f2f3f5',
|
|
239
|
+
'color-fill-4': '#ebebf0',
|
|
240
|
+
'color-fill-5': '#64677a',
|
|
241
|
+
'color-line-1': '#f2f3f5',
|
|
242
|
+
'color-line-2': '#e4e4eb',
|
|
243
|
+
'color-line-3': '#dcdde5',
|
|
244
|
+
'color-line-4': '#d5d6e0',
|
|
245
|
+
'box-shadow-1': '0px 1px 4px rgba(100, 103, 122, 0.06)',
|
|
246
|
+
'box-shadow-2': '0px 2px 8px rgba(100, 103, 122, 0.08)',
|
|
247
|
+
'box-shadow-3': '0px 4px 16px rgba(100, 103, 122, 0.12)',
|
|
248
|
+
'box-shadow-4': '0px 8px 24px rgba(100, 103, 122, 0.24)',
|
|
212
249
|
white: '#fff',
|
|
213
|
-
black: '
|
|
214
|
-
'
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
219
|
-
'border-color-split': '#f0f0f0',
|
|
220
|
-
'component-background': '#fff',
|
|
221
|
-
'background-color-light': 'hsv(0, 0, 98%)',
|
|
222
|
-
'disabled-bg': '#f5f5f5',
|
|
223
|
-
'modal-mask-bg': 'rgba(28, 36, 46, 0.45)',
|
|
224
|
-
'item-hover-bg': '#f5f5f5',
|
|
225
|
-
'heading-color': 'rgba(28, 36, 46, 1)',
|
|
226
|
-
'text-color': 'rgba(28, 36, 46, 0.85)',
|
|
227
|
-
'text-color-paragraph': 'rgba(28, 36, 46, 0.65)',
|
|
228
|
-
'text-color-secondary': 'rgba(28, 36, 46, 0.45)',
|
|
229
|
-
'disabled-color': 'rgba(28, 36, 46, 0.25)',
|
|
250
|
+
black: '#000',
|
|
251
|
+
'heading-color': '#2a2b33',
|
|
252
|
+
'text-color': '#414352',
|
|
253
|
+
'text-color-paragraph': '#64677a',
|
|
254
|
+
'text-color-secondary': '#9092a3',
|
|
255
|
+
'disabled-color': '#b0b2bf',
|
|
230
256
|
'text-color-inverse': '#fff',
|
|
231
|
-
'
|
|
257
|
+
'text-color-dark': 'rgba(255, 255, 255, 0.85)',
|
|
258
|
+
'text-color-paragraph-dark': 'rgba(255, 255, 255, 0.75)',
|
|
259
|
+
'text-color-secondary-dark': 'rgba(255, 255, 255, 0.65)',
|
|
260
|
+
'disabled-color-dark': 'rgba(255, 255, 255, 0.45)',
|
|
261
|
+
'icon-color-hover': 'rgba(42, 43, 51, 0.75)',
|
|
262
|
+
'icon-color-secondary': 'rgba(42, 43, 51, 0.45)',
|
|
263
|
+
'icon-color-heading': 'rgb(42, 43, 51)',
|
|
232
264
|
'icon-color': 'inherit',
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
265
|
+
'link-color': '#417ffb',
|
|
266
|
+
'body-background': 'linear-gradient(180deg, #EBF0FF 0%, #F2F3F7 100%)',
|
|
267
|
+
'background-color-base': '#f2f3f5',
|
|
268
|
+
'component-background': '#fff',
|
|
269
|
+
'background-color-light': '#f7f8fa',
|
|
270
|
+
'border-color-base': '#dcdde5',
|
|
271
|
+
'border-color-split': '#e4e4eb',
|
|
272
|
+
'dividing-color': '#dcdde5',
|
|
273
|
+
'disabled-bg': '#f2f3f5',
|
|
274
|
+
'disabled-active-bg': '#ebebf0',
|
|
275
|
+
'modal-mask-bg': 'rgba(42, 43, 51, 0.45)',
|
|
276
|
+
'item-hover-bg': 'rgba(42, 43, 51, 0.06)',
|
|
277
|
+
'item-active-bg': '#f0f7ff',
|
|
278
|
+
'label-required-color': '#f23030',
|
|
279
|
+
'line-height-base': '1.5715',
|
|
239
280
|
'font-size-sm': '12px',
|
|
281
|
+
'font-size-base': '13px',
|
|
282
|
+
'font-size-md': '14px',
|
|
283
|
+
'font-size-lg': '16px',
|
|
240
284
|
'font-weight': '500',
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'
|
|
245
|
-
'heading-
|
|
246
|
-
'heading-
|
|
247
|
-
'
|
|
285
|
+
'article-size-sm': '12px',
|
|
286
|
+
'article-size-md': '14px',
|
|
287
|
+
'article-size-lg': '16px',
|
|
288
|
+
'article-line-height': '2',
|
|
289
|
+
'heading-1-size': '36px',
|
|
290
|
+
'heading-2-size': '28px',
|
|
291
|
+
'heading-3-size': '23px',
|
|
292
|
+
'heading-4-size': '19px',
|
|
293
|
+
'heading-5-size': '15px',
|
|
294
|
+
'heading-6-size': '13px',
|
|
295
|
+
'border-radius-base': '4px',
|
|
296
|
+
'border-radius-sm': '2px',
|
|
248
297
|
'border-radius-md': '4px',
|
|
249
298
|
'border-radius-lg': '8px',
|
|
250
299
|
'border-radius-round': '50%',
|
|
251
|
-
'
|
|
300
|
+
'box-border-radius': '8px',
|
|
301
|
+
'space-xxs': '2px',
|
|
302
|
+
'space-xs': '4px',
|
|
303
|
+
'space-sm': '8px',
|
|
304
|
+
'space-md': '12px',
|
|
305
|
+
'space-lg': '16px',
|
|
306
|
+
'space-xl': '20px',
|
|
307
|
+
'space-xxl': '24px',
|
|
308
|
+
'padding-lg': '24px',
|
|
252
309
|
'padding-md': '16px',
|
|
253
310
|
'padding-sm': '12px',
|
|
254
311
|
'padding-xs': '8px',
|
|
255
312
|
'padding-xxs': '4px',
|
|
256
313
|
'padding-xxxs': '2px',
|
|
314
|
+
'margin-lg': '24px',
|
|
315
|
+
'margin-md': '16px',
|
|
316
|
+
'margin-sm': '12px',
|
|
317
|
+
'margin-xs': '8px',
|
|
318
|
+
'margin-xxs': '4px',
|
|
319
|
+
'margin-xxxs': '2px',
|
|
320
|
+
'page-space': '0 40px 16px 40px',
|
|
321
|
+
'box-padding-base': '20px',
|
|
322
|
+
'box-padding-sm': '12px',
|
|
257
323
|
'size-xs': '16px',
|
|
258
324
|
'size-sm': '24px',
|
|
259
325
|
'size-md': '28px',
|
|
260
326
|
'size-base': '32px',
|
|
261
327
|
'size-lg': '40px',
|
|
262
328
|
'size-xl': '56px',
|
|
263
|
-
'
|
|
329
|
+
'width-xs': '256px',
|
|
330
|
+
'width-sm': '500px',
|
|
331
|
+
'width-md': '768px',
|
|
332
|
+
'width-lg': '1000px',
|
|
333
|
+
'width-xl': '80%',
|
|
334
|
+
'height-base': '28px',
|
|
335
|
+
'height-lg': '40px',
|
|
336
|
+
'height-sm': '24px',
|
|
337
|
+
'table-header-bg': '#f7f8fa',
|
|
338
|
+
'btn-height-base': '28px',
|
|
264
339
|
'btn-height-lg': '40px',
|
|
265
340
|
'btn-height-sm': '24px',
|
|
266
341
|
'radio-size': '16px',
|
|
267
342
|
'checkbox-size': '16px',
|
|
268
|
-
'input-height-base': '
|
|
343
|
+
'input-height-base': '28px',
|
|
269
344
|
'input-height-lg': '40px',
|
|
270
345
|
'input-height-sm': '24px',
|
|
271
346
|
'menu-inline-toplevel-item-height': '40px',
|