assui 3.2.45 → 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');
@@ -10,7 +10,6 @@ export type ComponentConfig<C extends React.ComponentType<any> = React.Component
10
10
  export type DynamicComponentType = {
11
11
  label: string | React.ReactNode;
12
12
  value: any;
13
- name: string;
14
13
  } & ComponentConfig;
15
14
  export type ConditionSelectProps = {
16
15
  value?: ValueType;
@@ -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');
@@ -10,7 +10,6 @@ export type ComponentConfig<C extends React.ComponentType<any> = React.Component
10
10
  export type DynamicComponentType = {
11
11
  label: string | React.ReactNode;
12
12
  value: any;
13
- name: string;
14
13
  } & ComponentConfig;
15
14
  export type ConditionSelectProps = {
16
15
  value?: ValueType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.2.45",
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": "8d7a5ac80317bfd7a2778be816d6afe2dc13091f"
85
+ "gitHead": "0609e0e9038f30c8eb5de91fb9ca70203bb1b018"
86
86
  }