@alicloud/console-components-search 0.2.7 → 0.2.8

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.
@@ -1,7 +1,7 @@
1
1
  开始构建微应用external依赖...
2
2
  BreezrPluginStyledComponentsIsolation The plugin will trying to use the package's name as isolation id of styled-components. This behavior usually occurred on dev mode. And if you were received this warning on publish mode then you should to set `options.styledComponentStyleSheetId` implicitly.
3
3
  ℹ Compiling Webpack
4
- ✔ Webpack: Compiled successfully in 12.98s
4
+ ✔ Webpack: Compiled successfully in 12.89s
5
5
  WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
6
6
  This can impact web performance.
7
7
  Assets:
@@ -26,9 +26,7 @@ var AutoComplete = Select.AutoComplete;
26
26
  var normalizeOptions = function normalizeOptions(options) {
27
27
  var optionsCopy = cloneDeep(options);
28
28
  optionsCopy.forEach(function (o) {
29
- var _o$groupName;
30
-
31
- return (_o$groupName = o.groupName) !== null && _o$groupName !== void 0 ? _o$groupName : o.groupName = "选择筛选条件";
29
+ return !o.groupName && (o.groupName = "选择筛选条件");
32
30
  });
33
31
  return Object.entries(groupBy(optionsCopy, 'groupName')).map(function (_ref) {
34
32
  var _ref2 = _slicedToArray(_ref, 2),
@@ -53,9 +53,7 @@ var AutoComplete = _consoleComponents.Select.AutoComplete;
53
53
  var normalizeOptions = function normalizeOptions(options) {
54
54
  var optionsCopy = (0, _cloneDeep.default)(options);
55
55
  optionsCopy.forEach(function (o) {
56
- var _o$groupName;
57
-
58
- return (_o$groupName = o.groupName) !== null && _o$groupName !== void 0 ? _o$groupName : o.groupName = "选择筛选条件";
56
+ return !o.groupName && (o.groupName = "选择筛选条件");
59
57
  });
60
58
  return Object.entries((0, _groupBy.default)(optionsCopy, 'groupName')).map(function (_ref) {
61
59
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/console-components-search",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "license": "MIT",