@next-core/brick-kit 2.123.2 → 2.123.5
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/CHANGELOG.md +12 -58
- package/dist/index.bundle.js +11 -22
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +14 -25
- package/dist/index.esm.js.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [2.123.
|
|
6
|
+
## [2.123.5](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.123.4...@next-core/brick-kit@2.123.5) (2022-07-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
9
9
|
|
|
@@ -11,124 +11,78 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [2.123.
|
|
14
|
+
## [2.123.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.123.3...@next-core/brick-kit@2.123.4) (2022-07-20)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
17
17
|
|
|
18
|
+
## [2.123.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.123.2...@next-core/brick-kit@2.123.3) (2022-07-19)
|
|
18
19
|
|
|
20
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
19
21
|
|
|
22
|
+
## [2.123.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.123.1...@next-core/brick-kit@2.123.2) (2022-07-19)
|
|
20
23
|
|
|
24
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Features
|
|
26
|
-
|
|
27
|
-
* contract support upload type ([c4614f8](https://github.com/easyops-cn/next-core/commit/c4614f8d588bf60c243444e95780b62eb3612371))
|
|
26
|
+
## [2.123.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.123.0...@next-core/brick-kit@2.123.1) (2022-07-18)
|
|
28
27
|
|
|
28
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
29
29
|
|
|
30
|
+
# [2.123.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.14...@next-core/brick-kit@2.123.0) (2022-07-18)
|
|
30
31
|
|
|
32
|
+
### Features
|
|
31
33
|
|
|
34
|
+
- contract support upload type ([c4614f8](https://github.com/easyops-cn/next-core/commit/c4614f8d588bf60c243444e95780b62eb3612371))
|
|
32
35
|
|
|
33
36
|
## [2.122.14](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.13...@next-core/brick-kit@2.122.14) (2022-07-15)
|
|
34
37
|
|
|
35
38
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
36
39
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
40
|
## [2.122.13](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.12...@next-core/brick-kit@2.122.13) (2022-07-15)
|
|
42
41
|
|
|
43
42
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
44
|
## [2.122.12](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.11...@next-core/brick-kit@2.122.12) (2022-07-14)
|
|
50
45
|
|
|
51
46
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
52
47
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
48
|
## [2.122.11](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.10...@next-core/brick-kit@2.122.11) (2022-07-14)
|
|
58
49
|
|
|
59
50
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
60
51
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
52
|
## [2.122.10](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.9...@next-core/brick-kit@2.122.10) (2022-07-12)
|
|
66
53
|
|
|
67
54
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
68
55
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
56
|
## [2.122.9](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.8...@next-core/brick-kit@2.122.9) (2022-07-12)
|
|
74
57
|
|
|
75
58
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
76
59
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
60
|
## [2.122.8](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.7...@next-core/brick-kit@2.122.8) (2022-07-12)
|
|
82
61
|
|
|
83
62
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
84
63
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
64
|
## [2.122.7](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.6...@next-core/brick-kit@2.122.7) (2022-07-07)
|
|
90
65
|
|
|
91
66
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
92
67
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
68
|
## [2.122.6](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.5...@next-core/brick-kit@2.122.6) (2022-07-05)
|
|
98
69
|
|
|
99
70
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
100
71
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
72
|
## [2.122.5](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.4...@next-core/brick-kit@2.122.5) (2022-07-04)
|
|
106
73
|
|
|
107
74
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
108
75
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
76
|
## [2.122.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.3...@next-core/brick-kit@2.122.4) (2022-06-27)
|
|
114
77
|
|
|
115
|
-
|
|
116
78
|
### Bug Fixes
|
|
117
79
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
80
|
+
- remove the request to fetch contarcts ([18f80d9](https://github.com/easyops-cn/next-core/commit/18f80d917f588956251621f27cc2d523cb5916fd))
|
|
123
81
|
|
|
124
82
|
## [2.122.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.2...@next-core/brick-kit@2.122.3) (2022-06-24)
|
|
125
83
|
|
|
126
84
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
127
85
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
86
|
## [2.122.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.1...@next-core/brick-kit@2.122.2) (2022-06-24)
|
|
133
87
|
|
|
134
88
|
### Bug Fixes
|
package/dist/index.bundle.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BrickKit = {}, global.
|
|
5
|
-
})(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('history'), require('@babel/runtime/helpers/objectSpread2'), require('@babel/runtime/helpers/objectWithoutProperties'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/helpers/defineProperty'), require('react'), require('@next-core/brick-utils'), require('lodash'), require('@next-core/brick-http'), require('moment'), require('@next-core/pipes'), require('i18next'), require('@next-core/easyops-analytics'), require('antd'), require('@ant-design/icons'), require('js-yaml'), require('react-i18next'), require('@babel/runtime/helpers/esm/extends'), require('@next-core/illustrations'), require('@babel/runtime/helpers/decorate')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'history', '@babel/runtime/helpers/objectSpread2', '@babel/runtime/helpers/objectWithoutProperties', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/helpers/defineProperty', 'react', '@next-core/brick-utils', 'lodash', '@next-core/brick-http', 'moment', '@next-core/pipes', 'i18next', '@next-core/easyops-analytics', 'antd', '@ant-design/icons', 'js-yaml', 'react-i18next', '@babel/runtime/helpers/esm/extends', '@next-core/illustrations', '@babel/runtime/helpers/decorate'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BrickKit = {}, global.history$1, global._objectSpread, global._objectWithoutProperties, global._asyncToGenerator$4, global._defineProperty$1, global.React, global.brickUtils, global._, global.brickHttp, global.moment, global.pipes, global.i18next, global.easyopsAnalytics, global.antd, global.icons, global.yaml, global.reactI18next, global._extends, global.illustrations, global._decorate));
|
|
5
|
+
})(this, (function (exports, history$1, _objectSpread, _objectWithoutProperties, _asyncToGenerator$4, _defineProperty$1, React, brickUtils, _, brickHttp, moment, pipes, i18next, easyopsAnalytics, antd, icons, yaml, reactI18next, _extends, illustrations, _decorate) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
9
|
+
var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
|
|
10
|
+
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
9
11
|
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator$4);
|
|
10
12
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty$1);
|
|
11
|
-
var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
|
|
12
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
-
var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
|
|
14
|
-
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
15
14
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
16
15
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
16
|
+
var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
|
|
17
17
|
var yaml__default = /*#__PURE__*/_interopDefaultLegacy(yaml);
|
|
18
18
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
19
19
|
var _decorate__default = /*#__PURE__*/_interopDefaultLegacy(_decorate);
|
|
@@ -1208,6 +1208,7 @@
|
|
|
1208
1208
|
[K.LOGIN_TIMEOUT_MESSAGE]: "You haven't logged in or your login session has expired. Login right now?",
|
|
1209
1209
|
[K.NETWORK_ERROR]: "Network error, please check your network."
|
|
1210
1210
|
};
|
|
1211
|
+
var en = locale$7;
|
|
1211
1212
|
|
|
1212
1213
|
var locale$6 = {
|
|
1213
1214
|
[K.REQUEST_FAILED]: "请求失败",
|
|
@@ -1217,12 +1218,13 @@
|
|
|
1217
1218
|
[K.LOGIN_TIMEOUT_MESSAGE]: "您还未登录或登录信息已过期,现在重新登录?",
|
|
1218
1219
|
[K.NETWORK_ERROR]: "网络错误,请检查您的网络连接。"
|
|
1219
1220
|
};
|
|
1221
|
+
var zh = locale$6;
|
|
1220
1222
|
|
|
1221
1223
|
/** @internal */
|
|
1222
1224
|
|
|
1223
1225
|
var initI18n = () => {
|
|
1224
|
-
i18next__default["default"].addResourceBundle("en", NS_BRICK_KIT,
|
|
1225
|
-
i18next__default["default"].addResourceBundle("zh", NS_BRICK_KIT,
|
|
1226
|
+
i18next__default["default"].addResourceBundle("en", NS_BRICK_KIT, en);
|
|
1227
|
+
i18next__default["default"].addResourceBundle("zh", NS_BRICK_KIT, zh);
|
|
1226
1228
|
};
|
|
1227
1229
|
/** @internal */
|
|
1228
1230
|
|
|
@@ -7886,19 +7888,6 @@
|
|
|
7886
7888
|
});
|
|
7887
7889
|
presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
|
|
7888
7890
|
});
|
|
7889
|
-
presetPalettes.red;
|
|
7890
|
-
presetPalettes.volcano;
|
|
7891
|
-
presetPalettes.gold;
|
|
7892
|
-
presetPalettes.orange;
|
|
7893
|
-
presetPalettes.yellow;
|
|
7894
|
-
presetPalettes.lime;
|
|
7895
|
-
presetPalettes.green;
|
|
7896
|
-
presetPalettes.cyan;
|
|
7897
|
-
presetPalettes.blue;
|
|
7898
|
-
presetPalettes.geekblue;
|
|
7899
|
-
presetPalettes.purple;
|
|
7900
|
-
presetPalettes.magenta;
|
|
7901
|
-
presetPalettes.grey;
|
|
7902
7891
|
|
|
7903
7892
|
function getStyleByBaseColors(theme, baseColors, backgroundColor) {
|
|
7904
7893
|
return (theme === "dark" ? getDarkStyle : getLightStyle)("".concat(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor), theme), "\n").concat(getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor)));
|