@hi-ui/check-tree-select 4.0.0 → 4.0.3
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/lib/cjs/CheckTreeSelect.js +2 -2
- package/lib/esm/CheckTreeSelect.js +2 -2
- package/package.json +22 -22
@@ -200,7 +200,8 @@ var CheckTreeSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
200
200
|
var filterSearchStrategy = useSearchMode.useFilterSearch({
|
201
201
|
enabled: searchModeProp === 'filter',
|
202
202
|
data: data,
|
203
|
-
flattedData: flattedData
|
203
|
+
flattedData: flattedData,
|
204
|
+
fieldNames: fieldNames
|
204
205
|
});
|
205
206
|
var highlightSearchStrategy = useSearchMode.useHighlightSearch({
|
206
207
|
data: data,
|
@@ -308,7 +309,6 @@ var CheckTreeSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
308
309
|
checkedMode: checkedMode === 'SEPARATE' ? 'SEPARATE' : 'ALL',
|
309
310
|
checkedIds: parsedCheckedIds,
|
310
311
|
onCheck: onCheck,
|
311
|
-
// TODO: 支持 fieldNames
|
312
312
|
// @ts-ignore
|
313
313
|
onLoadChildren: onLoadChildren,
|
314
314
|
fieldNames: fieldNames,
|
@@ -166,7 +166,8 @@ var CheckTreeSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
166
166
|
var filterSearchStrategy = useFilterSearch({
|
167
167
|
enabled: searchModeProp === 'filter',
|
168
168
|
data: data,
|
169
|
-
flattedData: flattedData
|
169
|
+
flattedData: flattedData,
|
170
|
+
fieldNames: fieldNames
|
170
171
|
});
|
171
172
|
var highlightSearchStrategy = useHighlightSearch({
|
172
173
|
data: data,
|
@@ -274,7 +275,6 @@ var CheckTreeSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
274
275
|
checkedMode: checkedMode === 'SEPARATE' ? 'SEPARATE' : 'ALL',
|
275
276
|
checkedIds: parsedCheckedIds,
|
276
277
|
onCheck: onCheck,
|
277
|
-
// TODO: 支持 fieldNames
|
278
278
|
// @ts-ignore
|
279
279
|
onLoadChildren: onLoadChildren,
|
280
280
|
fieldNames: fieldNames,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/check-tree-select",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.3",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
@@ -43,23 +43,23 @@
|
|
43
43
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@hi-ui/array-utils": "^4.0.
|
47
|
-
"@hi-ui/classname": "^4.0.
|
48
|
-
"@hi-ui/env": "^4.0.
|
49
|
-
"@hi-ui/func-utils": "^4.0.
|
50
|
-
"@hi-ui/highlighter": "^4.0.
|
51
|
-
"@hi-ui/icons": "^4.0.
|
52
|
-
"@hi-ui/picker": "^4.0.
|
53
|
-
"@hi-ui/popper": "^4.0.
|
54
|
-
"@hi-ui/tag-input": "^4.0.
|
55
|
-
"@hi-ui/tree": "^4.0.
|
56
|
-
"@hi-ui/tree-utils": "^4.0.
|
57
|
-
"@hi-ui/type-assertion": "^4.0.
|
58
|
-
"@hi-ui/use-check": "^4.0.
|
59
|
-
"@hi-ui/use-data-source": "^4.0.
|
60
|
-
"@hi-ui/use-search-mode": "^4.0.
|
61
|
-
"@hi-ui/use-toggle": "^4.0.
|
62
|
-
"@hi-ui/use-uncontrolled-state": "^4.0.
|
46
|
+
"@hi-ui/array-utils": "^4.0.1",
|
47
|
+
"@hi-ui/classname": "^4.0.1",
|
48
|
+
"@hi-ui/env": "^4.0.1",
|
49
|
+
"@hi-ui/func-utils": "^4.0.1",
|
50
|
+
"@hi-ui/highlighter": "^4.0.3",
|
51
|
+
"@hi-ui/icons": "^4.0.2",
|
52
|
+
"@hi-ui/picker": "^4.0.2",
|
53
|
+
"@hi-ui/popper": "^4.0.2",
|
54
|
+
"@hi-ui/tag-input": "^4.0.2",
|
55
|
+
"@hi-ui/tree": "^4.0.3",
|
56
|
+
"@hi-ui/tree-utils": "^4.0.1",
|
57
|
+
"@hi-ui/type-assertion": "^4.0.1",
|
58
|
+
"@hi-ui/use-check": "^4.0.1",
|
59
|
+
"@hi-ui/use-data-source": "^4.0.1",
|
60
|
+
"@hi-ui/use-search-mode": "^4.0.3",
|
61
|
+
"@hi-ui/use-toggle": "^4.0.1",
|
62
|
+
"@hi-ui/use-uncontrolled-state": "^4.0.1"
|
63
63
|
},
|
64
64
|
"peerDependencies": {
|
65
65
|
"@hi-ui/core": ">=4.0.0",
|
@@ -67,11 +67,11 @@
|
|
67
67
|
"react-dom": ">=16.8.6"
|
68
68
|
},
|
69
69
|
"devDependencies": {
|
70
|
-
"@hi-ui/core": "^4.0.
|
71
|
-
"@hi-ui/core-css": "^4.0.
|
72
|
-
"@hi-ui/hi-build": "^4.0.
|
70
|
+
"@hi-ui/core": "^4.0.2",
|
71
|
+
"@hi-ui/core-css": "^4.0.1",
|
72
|
+
"@hi-ui/hi-build": "^4.0.1",
|
73
73
|
"react": "^17.0.1",
|
74
74
|
"react-dom": "^17.0.1"
|
75
75
|
},
|
76
|
-
"gitHead": "
|
76
|
+
"gitHead": "7d841458bef1853b31426203cb0a9dc2b9820908"
|
77
77
|
}
|