assui 3.2.46 → 3.2.47

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.
@@ -62,7 +62,7 @@ var ConditionSelect = function ConditionSelect(_a) {
62
62
  if (result) {
63
63
  return result;
64
64
  }
65
- throw new Error('can not find this option');
65
+ return null;
66
66
  }, [componentValue, option]);
67
67
  var DynamicComponent = current === null || current === void 0 ? void 0 : current.component;
68
68
  var componentProps = omit(current === null || current === void 0 ? void 0 : current.componentProps, 'parseValue');
@@ -72,7 +72,7 @@ var ConditionSelect = function ConditionSelect(_a) {
72
72
  if (result) {
73
73
  return result;
74
74
  }
75
- throw new Error('can not find this option');
75
+ return null;
76
76
  }, [componentValue, option]);
77
77
  var DynamicComponent = current === null || current === void 0 ? void 0 : current.component;
78
78
  var componentProps = (0, omit_1["default"])(current === null || current === void 0 ? void 0 : current.componentProps, 'parseValue');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.2.46",
3
+ "version": "3.2.47",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -82,5 +82,5 @@
82
82
  "node": ">=10.0.0"
83
83
  },
84
84
  "license": "MIT",
85
- "gitHead": "a552f77977efb7f0e2d2abb20a4854c8345be059"
85
+ "gitHead": "0609e0e9038f30c8eb5de91fb9ca70203bb1b018"
86
86
  }