@hi-ui/check-tree-select 4.0.0-beta.28 → 4.0.0-beta.30

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.
@@ -18,12 +18,13 @@ export interface CheckTreeSelectProps extends Omit<PickerProps, 'data' | 'onChan
18
18
  */
19
19
  fieldNames?: FieldNames;
20
20
  /**
21
- * 数据回显模式 string
22
- * ALL: 所有被选中节点,不区分父子节点
21
+ * 多选数据交互时回填、回显模式
23
22
  * PARENT: 当所有子节点被选中时将只保留父节点
24
- * CHILD: 仅显示子节点
23
+ * ALL: 所有被选中节点,不区分父子节点(不支持异步数据加载勾选checkbox)
24
+ * CHILD: 仅显示子节点(不支持异步数据加载勾选checkbox)
25
+ * SEPARATE:父子完全独立受控
25
26
  */
26
- checkedMode?: 'ALL' | 'PARENT' | 'CHILD';
27
+ checkedMode?: 'ALL' | 'PARENT' | 'CHILD' | 'SEPARATE';
27
28
  /**
28
29
  * 数据选择类型
29
30
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-tree-select",
3
- "version": "4.0.0-beta.28",
3
+ "version": "4.0.0-beta.30",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HIUI <mi-hiui@xiaomi.com>",
@@ -55,11 +55,11 @@
55
55
  "@hi-ui/picker": "^4.0.0-beta.22",
56
56
  "@hi-ui/popper": "^4.0.0-beta.12",
57
57
  "@hi-ui/tag-input": "^4.0.0-beta.17",
58
- "@hi-ui/tree": "^4.0.0-beta.26",
58
+ "@hi-ui/tree": "^4.0.0-beta.28",
59
59
  "@hi-ui/tree-utils": "^4.0.0-beta.4",
60
60
  "@hi-ui/type-assertion": "^4.0.0-beta.4",
61
61
  "@hi-ui/use-data-source": "^4.0.0-beta.5",
62
- "@hi-ui/use-search-mode": "^4.0.0-beta.16",
62
+ "@hi-ui/use-search-mode": "^4.0.0-beta.17",
63
63
  "@hi-ui/use-toggle": "^4.0.0-beta.4",
64
64
  "@hi-ui/use-uncontrolled-state": "^4.0.0-beta.4"
65
65
  },
@@ -72,5 +72,5 @@
72
72
  "react": "^17.0.1",
73
73
  "react-dom": "^17.0.1"
74
74
  },
75
- "gitHead": "674c0457e222285057bb82be5dc1ce6bf081b96c"
75
+ "gitHead": "798e91b8086b524e9ef1df8fef404bbf284198f5"
76
76
  }