@hi-ui/check-cascader 4.0.0-alpha.2 → 4.0.0-alpha.23
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/CheckCascader.js +28 -11
- package/lib/cjs/CheckCascader.js.map +1 -1
- package/lib/cjs/CheckCascaderMenu.js +10 -3
- package/lib/cjs/CheckCascaderMenu.js.map +1 -1
- package/lib/cjs/CheckCascaderMenus.js +24 -10
- package/lib/cjs/CheckCascaderMenus.js.map +1 -1
- package/lib/cjs/CheckCascaderPanel.js +40 -13
- package/lib/cjs/CheckCascaderPanel.js.map +1 -1
- package/lib/cjs/TagInput.js +82 -21
- package/lib/cjs/TagInput.js.map +1 -1
- package/lib/cjs/context.js +1 -1
- package/lib/cjs/hooks/use-async-switch.js +4 -6
- package/lib/cjs/hooks/use-async-switch.js.map +1 -1
- package/lib/cjs/hooks/use-cache.js +1 -1
- package/lib/cjs/hooks/use-check.js +41 -22
- package/lib/cjs/hooks/use-check.js.map +1 -1
- package/lib/cjs/hooks/use-search.js +28 -16
- package/lib/cjs/hooks/use-search.js.map +1 -1
- package/lib/cjs/hooks/use-select.js +1 -1
- package/lib/cjs/hooks/use-tag-input.js +1 -1
- package/lib/cjs/icons/index.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/styles/index.scss.js +2 -2
- package/lib/cjs/utils/index.js +1 -26
- package/lib/cjs/utils/index.js.map +1 -1
- package/lib/esm/CheckCascader.js +24 -11
- package/lib/esm/CheckCascader.js.map +1 -1
- package/lib/esm/CheckCascaderMenu.js +10 -3
- package/lib/esm/CheckCascaderMenu.js.map +1 -1
- package/lib/esm/CheckCascaderMenus.js +23 -9
- package/lib/esm/CheckCascaderMenus.js.map +1 -1
- package/lib/esm/CheckCascaderPanel.js +40 -14
- package/lib/esm/CheckCascaderPanel.js.map +1 -1
- package/lib/esm/TagInput.js +80 -21
- package/lib/esm/TagInput.js.map +1 -1
- package/lib/esm/context.js +1 -1
- package/lib/esm/hooks/use-async-switch.js +3 -4
- package/lib/esm/hooks/use-async-switch.js.map +1 -1
- package/lib/esm/hooks/use-cache.js +1 -1
- package/lib/esm/hooks/use-check.js +38 -22
- package/lib/esm/hooks/use-check.js.map +1 -1
- package/lib/esm/hooks/use-search.js +27 -17
- package/lib/esm/hooks/use-search.js.map +1 -1
- package/lib/esm/hooks/use-select.js +1 -1
- package/lib/esm/hooks/use-tag-input.js +1 -1
- package/lib/esm/icons/index.js +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/styles/index.scss.js +2 -2
- package/lib/esm/utils/index.js +2 -26
- package/lib/esm/utils/index.js.map +1 -1
- package/lib/types/CheckCascader.d.ts +7 -1
- package/lib/types/CheckCascaderMenus.d.ts +1 -1
- package/lib/types/CheckCascaderPanel.d.ts +1 -1
- package/lib/types/TagInput.d.ts +6 -8
- package/lib/types/hooks/use-check.d.ts +5 -2
- package/lib/types/hooks/use-search.d.ts +4 -0
- package/lib/types/utils/index.d.ts +0 -8
- package/package.json +18 -17
- package/lib/cjs/_virtual/_commonjsHelpers.js +0 -17
- package/lib/cjs/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/cjs/_virtual/index.js_commonjs-module +0 -19
- package/lib/cjs/_virtual/index.js_commonjs-module.map +0 -1
- package/lib/cjs/node_modules/lodash.clonedeep/index.js +0 -1872
- package/lib/cjs/node_modules/lodash.clonedeep/index.js.map +0 -1
- package/lib/esm/_virtual/_commonjsHelpers.js +0 -12
- package/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/esm/_virtual/index.js_commonjs-module +0 -14
- package/lib/esm/_virtual/index.js_commonjs-module.map +0 -1
- package/lib/esm/node_modules/lodash.clonedeep/index.js +0 -1863
- package/lib/esm/node_modules/lodash.clonedeep/index.js.map +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader
|
2
|
+
* @hi-ui/check-cascader
|
3
3
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
4
|
*
|
5
5
|
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
@@ -8,30 +8,46 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
import { useCallback } from 'react';
|
11
|
+
import { useCascadeCheck } from '@hi-ui/use-check';
|
11
12
|
import { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';
|
13
|
+
import { useLatestRef } from '@hi-ui/use-latest';
|
14
|
+
var NOOP_ARRAY = [];
|
12
15
|
|
13
|
-
var useCheck = function useCheck(
|
14
|
-
|
16
|
+
var useCheck = function useCheck(cascaded, disabled, flattedData, defaultCheckedIds, checkedIdsProp, onCheck) {
|
17
|
+
if (defaultCheckedIds === void 0) {
|
18
|
+
defaultCheckedIds = NOOP_ARRAY;
|
19
|
+
}
|
20
|
+
|
21
|
+
var onCheckRef = useLatestRef(onCheck);
|
22
|
+
var proxyOnCheck = useCallback(function (checkedIds, checkedNode, shouldChecked, semiCheckedIds) {
|
23
|
+
var _a;
|
24
|
+
|
25
|
+
(_a = onCheckRef.current) === null || _a === void 0 ? void 0 : _a.call(onCheckRef, {
|
26
|
+
checkedIds: checkedIds,
|
27
|
+
semiCheckedIds: semiCheckedIds
|
28
|
+
}, checkedNode, shouldChecked);
|
29
|
+
}, []);
|
30
|
+
|
31
|
+
var _useUncontrolledState = useUncontrolledState(defaultCheckedIds, checkedIdsProp, proxyOnCheck),
|
15
32
|
checkedIds = _useUncontrolledState[0],
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
return [checkedIds, onOptionCheck];
|
33
|
+
trySetCheckedIds = _useUncontrolledState[1];
|
34
|
+
|
35
|
+
return useCascadeCheck({
|
36
|
+
cascaded: cascaded,
|
37
|
+
disabled: disabled,
|
38
|
+
flattedData: flattedData,
|
39
|
+
checkedIds: checkedIds,
|
40
|
+
onCheck: trySetCheckedIds,
|
41
|
+
allowCheck: allowCheck
|
42
|
+
});
|
43
|
+
};
|
44
|
+
|
45
|
+
var allowCheck = function allowCheck(targetItem) {
|
46
|
+
if (targetItem.disabled || targetItem.disabledCheckbox || targetItem.checkable === false) {
|
47
|
+
return false;
|
48
|
+
}
|
49
|
+
|
50
|
+
return true;
|
35
51
|
};
|
36
52
|
|
37
53
|
export { useCheck };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-check.js","sources":["../../../src/hooks/use-check.ts"],"sourcesContent":[null],"names":["useCheck","
|
1
|
+
{"version":3,"file":"use-check.js","sources":["../../../src/hooks/use-check.ts"],"sourcesContent":[null],"names":["NOOP_ARRAY","useCheck","cascaded","disabled","flattedData","defaultCheckedIds","checkedIdsProp","onCheck","onCheckRef","useLatestRef","proxyOnCheck","useCallback","checkedIds","checkedNode","shouldChecked","semiCheckedIds","current","useUncontrolledState","trySetCheckedIds","useCascadeCheck","allowCheck","targetItem","disabledCheckbox","checkable"],"mappings":";;;;;;;;;;;;;AAMA,IAAMA,UAAU,GAAG,EAAnB;;IAEaC,QAAQ,GAAG,SAAXA,QAAW,CACtBC,QADsB,EAEtBC,QAFsB,EAGtBC,WAHsB,EAItBC,iBAJsB,EAKtBC,cALsB,EAMtBC,OANsB;MAItBF;AAAAA,IAAAA,oBAAuCL,UAAvCK;;;MAWMG,UAAU,GAAGC,YAAY,CAACF,OAAD;MAEzBG,YAAY,GAAGC,WAAW,CAAC,UAACC,UAAD,EAAaC,WAAb,EAA0BC,aAA1B,EAAyCC,cAAzC;;;UAC/BP,UAAU,CAACQ,sDAAXR,YAAqB;AAAEI,MAAAA,UAAU,EAAVA,UAAF;AAAcG,MAAAA,cAAc,EAAdA;AAAd,OAAgCF,aAAaC;AADpC,GAAA,EAE7B,EAF6B;;8BAIOG,oBAAoB,CACzDZ,iBADyD,EAEzDC,cAFyD,EAGzDI,YAHyD;MAApDE,UAAP;MAAmBM,gBAAnB;;SAMOC,eAAe,CAAC;AACrBjB,IAAAA,QAAQ,EAARA,QADqB;AAErBC,IAAAA,QAAQ,EAARA,QAFqB;AAGrBC,IAAAA,WAAW,EAAXA,WAHqB;AAIrBQ,IAAAA,UAAU,EAAVA,UAJqB;AAKrBL,IAAAA,OAAO,EAAEW,gBALY;AAMrBE,IAAAA,UAAU,EAAVA;AANqB,GAAD;;;AAUxB,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,UAAD;MACbA,UAAU,CAAClB,QAAXkB,IAAuBA,UAAU,CAACC,gBAAlCD,IAAsDA,UAAU,CAACE,SAAXF,KAAyB,OAAO;WACjF;;;SAEF;AAJT,CAAA;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader
|
2
|
+
* @hi-ui/check-cascader
|
3
3
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
4
|
*
|
5
5
|
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
@@ -9,6 +9,7 @@
|
|
9
9
|
*/
|
10
10
|
import { useState, useCallback } from 'react';
|
11
11
|
import { useLatestRef } from '@hi-ui/use-latest';
|
12
|
+
import { __DEV__ } from '@hi-ui/env';
|
12
13
|
/**
|
13
14
|
* 支持搜索功能的 hook
|
14
15
|
*/
|
@@ -28,7 +29,6 @@ var useSearch = function useSearch(flattedData, upMatch) {
|
|
28
29
|
setSearchValue(nextSearchValue); // 匹配到搜索的节点,将这些节点进行展开显示,其它均隐藏
|
29
30
|
|
30
31
|
var matchedNodes = upMatch ? getMatchedUpMatchNodes(flattedDataRef.current, nextSearchValue) : getMatchedNodes(flattedDataRef.current, nextSearchValue);
|
31
|
-
console.log(matchedNodes);
|
32
32
|
setMatchedNodes(matchedNodes);
|
33
33
|
}, [upMatch]);
|
34
34
|
var inputProps = {
|
@@ -47,12 +47,8 @@ var useSearch = function useSearch(flattedData, upMatch) {
|
|
47
47
|
var getMatchedNodes = function getMatchedNodes(flattedData, searchValue) {
|
48
48
|
if (!searchValue) return [];
|
49
49
|
return flattedData.filter(function (node) {
|
50
|
-
|
51
|
-
|
52
|
-
if (typeof node.title !== 'string') return false;
|
53
|
-
if (!node.checkable) return false; // 匹配策略:`String.include`
|
54
|
-
|
55
|
-
return (_b = (_a = node.title).includes) === null || _b === void 0 ? void 0 : _b.call(_a, searchValue);
|
50
|
+
if (!node.checkable) return false;
|
51
|
+
return matchStrategy(node.title, searchValue) !== -1;
|
56
52
|
});
|
57
53
|
};
|
58
54
|
/**
|
@@ -64,20 +60,17 @@ var getMatchedUpMatchNodes = function getMatchedUpMatchNodes(flattedData, search
|
|
64
60
|
if (!searchValue) return [];
|
65
61
|
var visitedResultSet = new Set();
|
66
62
|
return flattedData.filter(function (node) {
|
67
|
-
var _a, _b;
|
68
|
-
|
69
63
|
if (!node.checkable) return false;
|
70
64
|
|
71
65
|
while (node.parent) {
|
72
66
|
if (visitedResultSet.has(node.id)) {
|
73
67
|
return true;
|
74
|
-
}
|
68
|
+
} // TODO: 自定义用户搜索,比如查询 id,或者异步搜索
|
69
|
+
|
75
70
|
|
76
|
-
if (
|
77
|
-
|
78
|
-
|
79
|
-
return true;
|
80
|
-
}
|
71
|
+
if (matchStrategy(node.title, searchValue) !== -1) {
|
72
|
+
visitedResultSet.add(node.id);
|
73
|
+
return true;
|
81
74
|
}
|
82
75
|
|
83
76
|
node = node.parent;
|
@@ -86,6 +79,23 @@ var getMatchedUpMatchNodes = function getMatchedUpMatchNodes(flattedData, search
|
|
86
79
|
return false;
|
87
80
|
});
|
88
81
|
};
|
82
|
+
/**
|
83
|
+
* 返回 -1 表示匹配失败
|
84
|
+
*/
|
85
|
+
|
86
|
+
|
87
|
+
var matchStrategy = function matchStrategy(content, keyword) {
|
88
|
+
if (typeof content !== 'string') {
|
89
|
+
if (__DEV__) {
|
90
|
+
console.warn('Warning: must be string type when enable searchable.');
|
91
|
+
}
|
92
|
+
|
93
|
+
return -1;
|
94
|
+
} // 忽略大小写匹配
|
95
|
+
|
96
|
+
|
97
|
+
return content.toLowerCase().indexOf(keyword.toLowerCase());
|
98
|
+
};
|
89
99
|
|
90
|
-
export { useSearch };
|
100
|
+
export { matchStrategy, useSearch };
|
91
101
|
//# sourceMappingURL=use-search.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-search.js","sources":["../../../src/hooks/use-search.ts"],"sourcesContent":[null],"names":["useSearch","flattedData","upMatch","useState","searchValue","setSearchValue","matchedNodes","setMatchedNodes","flattedDataRef","useLatestRef","handleChange","useCallback","evt","nextSearchValue","target","value","getMatchedUpMatchNodes","current","getMatchedNodes","
|
1
|
+
{"version":3,"file":"use-search.js","sources":["../../../src/hooks/use-search.ts"],"sourcesContent":[null],"names":["useSearch","flattedData","upMatch","useState","searchValue","setSearchValue","matchedNodes","setMatchedNodes","flattedDataRef","useLatestRef","handleChange","useCallback","evt","nextSearchValue","target","value","getMatchedUpMatchNodes","current","getMatchedNodes","inputProps","onChange","isSearch","isEmpty","length","filter","node","checkable","matchStrategy","title","visitedResultSet","Set","parent","has","id","add","content","keyword","__DEV__","console","warn","toLowerCase","indexOf"],"mappings":";;;;;;;;;;;;AAKA;;;;IAGaA,SAAS,GAAG,SAAZA,SAAY,CAACC,WAAD,EAA0CC,OAA1C;kBACeC,QAAQ,CAAC,EAAD;MAAvCC,WAAP;MAAoBC,cAApB;;mBACwCF,QAAQ,CAA6B,EAA7B;MAAzCG,YAAP;MAAqBC,eAArB;;MAEMC,cAAc,GAAGC,YAAY,CAACR,WAAD;MAE7BS,YAAY,GAAGC,WAAW,CAC9B,UAACC,GAAD;QACQC,eAAe,GAAGD,GAAG,CAACE,MAAJF,CAAWG;AAEnCV,IAAAA,cAAc,CAACQ,eAAD,CAAdR;;QAGMC,YAAY,GAAGJ,OAAO,GACxBc,sBAAsB,CAACR,cAAc,CAACS,OAAhB,EAAyBJ,eAAzB,CADE,GAExBK,eAAe,CAACV,cAAc,CAACS,OAAhB,EAAyBJ,eAAzB;AAEnBN,IAAAA,eAAe,CAACD,YAAD,CAAfC;AAX4B,GAAA,EAa9B,CAACL,OAAD,CAb8B;MAgB1BiB,UAAU,GAAG;AACjBJ,IAAAA,KAAK,EAAEX,WADU;AAEjBgB,IAAAA,QAAQ,EAAEV;AAFO;MAKbW,QAAQ,GAAG,CAAC,CAACjB;MACbkB,OAAO,GAAGD,QAAQ,IAAIf,YAAY,CAACiB,MAAbjB,KAAwB;SAE7C,CAACe,QAAD,EAAWf,YAAX,EAAyBa,UAAzB,EAAqCG,OAArC;;AAGT;;;;;AAGA,IAAMJ,eAAe,GAAG,SAAlBA,eAAkB,CACtBjB,WADsB,EAEtBG,WAFsB;MAIlB,CAACA,aAAa,OAAO,EAAP;SAEXH,WAAW,CAACuB,MAAZvB,CAAmB,UAACwB,IAAD;QACpB,CAACA,IAAI,CAACC,WAAW,OAAO,KAAP;WAEdC,aAAa,CAACF,IAAI,CAACG,KAAN,EAAaxB,WAAb,CAAbuB,KAA2C,CAAC;AAH9C,GAAA1B;AANT,CAAA;AAaA;;;;;AAGA,IAAMe,sBAAsB,GAAG,SAAzBA,sBAAyB,CAC7Bf,WAD6B,EAE7BG,WAF6B;MAIzB,CAACA,aAAa,OAAO,EAAP;MAEZyB,gBAAgB,GAAG,IAAIC,GAAJ;SAElB7B,WAAW,CAACuB,MAAZvB,CAAmB,UAACwB,IAAD;QACpB,CAACA,IAAI,CAACC,WAAW,OAAO,KAAP;;WAEdD,IAAI,CAACM,QAAQ;UACdF,gBAAgB,CAACG,GAAjBH,CAAqBJ,IAAI,CAACQ,EAA1BJ,GAA+B;eAC1B;AAFS,OAAA;;;UAMdF,aAAa,CAACF,IAAI,CAACG,KAAN,EAAaxB,WAAb,CAAbuB,KAA2C,CAAC,GAAG;AACjDE,QAAAA,gBAAgB,CAACK,GAAjBL,CAAqBJ,IAAI,CAACQ,EAA1BJ;eACO;;;AAGTJ,MAAAA,IAAI,GAAGA,IAAI,CAACM,MAAZN;;;WAEK;AAhBF,GAAAxB;AART,CAAA;AA4BA;;;;;IAGa0B,aAAa,GAAG,SAAhBA,aAAgB,CAACQ,OAAD,EAAmBC,OAAnB;MACvB,OAAOD,OAAP,KAAmB,UAAU;QAC3BE,SAAS;AACXC,MAAAA,OAAO,CAACC,IAARD,CAAa,sDAAbA;;;WAEK,CAAC;;;;SAGHH,OAAO,CAACK,WAARL,GAAsBM,OAAtBN,CAA8BC,OAAO,CAACI,WAARJ,EAA9BD;;;"}
|
package/lib/esm/icons/index.js
CHANGED
package/lib/esm/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader
|
2
|
+
* @hi-ui/check-cascader
|
3
3
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
4
|
*
|
5
5
|
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
|
-
var css_248z = ".hi-v4-tag-input {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n min-width: 160px;\n font-size: 14px;\n vertical-align: middle;\n color: var(--color-black);\n border: 1px solid transparent;\n background-color: var(--color-white);\n -webkit-transition: all 0.3s;\n transition: all 0.3s;\n padding: 4px 10px;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 32px;\n overflow: hidden;\n border-color: var(--color-gray-30);\n border-radius: 4px; }\n .hi-v4-tag-input:not(.disabled):hover {\n border-color: var(--color-primary); }\n .hi-v4-tag-input:not(.disabled).focused {\n -webkit-box-shadow: 0 0 0 1px var(--color-primary);\n box-shadow: 0 0 0 1px var(--color-primary);\n border-color: var(--color-primary); }\n .hi-v4-tag-input.disabled {\n cursor: not-allowed;\n color: var(--color-gray-50);\n background-color: var(--color-gray-10); }\n .hi-v4-tag-input__placeholder {\n color: var(--color-gray-50); }\n .hi-v4-tag-input__suffix {\n font-size: 16px; }\n .hi-v4-tag-input__clear {\n font-size: 14px;\n color: var(--color-gray-50);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n transition: all 0.3s; }\n .hi-v4-tag-input__clear:hover {\n color: var(--color-black); }\n .hi-v4-tag-input__value {\n display: inline-block;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n height: 20px;\n line-height: 20px; }\n .hi-v4-tag-input__tags {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: inline-block;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n white-space: nowrap;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin-top: -2px; }\n .hi-v4-tag-input__tag, .hi-v4-tag-input__tag--left {\n display: inline-block;\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 8px;\n vertical-align: middle;\n font-size: 12px;\n color: #333;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background: #F2F2F2;\n border-radius: 4px; }\n .hi-v4-tag-input__tag {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .hi-v4-tag-input__tag-content {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n .hi-v4-tag-input__tag-closed {\n margin-left: 8px;\n font-size: 12px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #8e8e8e;\n cursor: pointer; }\n .disabled .hi-v4-tag-input__tag-closed {\n cursor: not-allowed; }\n .hi-v4-tag-input__tag--left {\n margin: 0;\n max-width: 54px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: middle; }\n .hi-v4-tag-input--wrap .hi-v4-tag-input__value {\n height: auto; }\n .hi-v4-tag-input--wrap .hi-v4-tag-input__tags {\n white-space: normal;\n margin-top: -4px; }\n .hi-v4-tag-input--wrap .hi-v4-tag-input__tag {\n margin-top: 4px; }\n .hi-v4-check-cascader {\n color: #333; }\n .hi-v4-check-cascader__suffix {\n font-size: 16px;\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n .hi-v4-check-cascader--open .hi-v4-check-cascader__suffix {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg); }\n .hi-v4-check-cascader--open .hi-v4-tag-input {\n border-color: var(--color-primary); }\n .hi-v4-check-cascader-panel {\n white-space: nowrap;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding-top: 10px; }\n .hi-v4-check-cascader-panel-search {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 10px 10px;\n position: relative; }\n .hi-v4-check-cascader-panel-search .hi-v4-input__prefix {\n font-size: 16px;\n padding-left: 0; }\n .hi-v4-check-cascader-panel-search__empty {\n display: inline-block;\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n color: #999;\n line-height: 20px; }\n .hi-v4-check-cascader-menus {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow-x: auto; }\n .hi-v4-check-cascader-menus--flatted .hi-v4-check-cascader-menu {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%; }\n .hi-v4-check-cascader-menu {\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n font-size: 14px;\n vertical-align: middle;\n list-style: none;\n width: auto;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n display: inline-block;\n min-width: 160px;\n min-height: 160px;\n max-height: 260px;\n overflow: auto;\n padding-bottom: 10px; }\n .hi-v4-check-cascader-menu--checkable .title__text {\n padding-left: 24px; }\n .hi-v4-check-cascader-menu--checkable .hi-v4-check-cascader-menu-checkbox + .title__text {\n padding-left: 0px; }\n .hi-v4-check-cascader-menu-item {\n width: 100%;\n padding: 4px 0;\n position: relative;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .hi-v4-check-cascader-menu-checkbox {\n position: relative; }\n .hi-v4-check-cascader-menu-checkbox::after {\n right: 0;\n top: -8px;\n bottom: -8px;\n left: -8px;\n content: \"\";\n position: absolute;\n display: block; }\n .hi-v4-check-cascader-menu-option {\n padding: 0 10px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n min-height: 32px;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between; }\n .hi-v4-check-cascader-menu-option:hover {\n background-color: var(--color-primary-20); }\n .hi-v4-check-cascader-menus--selectchange .hi-v4-check-cascader-menu-option:hover .hi-v4-checkbox__icon {\n border-color: var(--color-primary); }\n .hi-v4-check-cascader-menu-option--selected {\n background-color: var(--color-primary-20);\n font-weight: 700; }\n .hi-v4-check-cascader-menu-option--focused {\n background-color: var(--color-primary-10); }\n .hi-v4-check-cascader-menu-option--checked {\n font-weight: 700; }\n .hi-v4-check-cascader-menu-option--disabled {\n cursor: not-allowed;\n color: var(--color-gray-50);\n font-weight: 400; }\n .hi-v4-check-cascader-menu-option--disabled .hi-v4-check-cascader-menu-switcher {\n color: var(--color-gray-50); }\n .hi-v4-check-cascader-menu .title__text {\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1; }\n .hi-v4-check-cascader-menu .title__text--cols {\n display: block;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n font-size: 14px;\n vertical-align: middle;\n list-style: none; }\n .hi-v4-check-cascader-menu .title__text--col {\n display: inline-block; }\n .hi-v4-check-cascader-menu .title__text--col::after {\n content: \"\\00a0/\\00a0\"; }\n .hi-v4-check-cascader-menu .title__text--col:last-child:after {\n content: none; }\n .hi-v4-check-cascader-menu .title__text--matched {\n color: var(--color-primary); }\n .hi-v4-check-cascader-menu-switcher {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n font-size: 16px;\n color: #666; }\n .hi-v4-check-cascader-menu-switcher svg {\n width: 1em;\n height: 1em;\n fill: currentColor;\n stroke: currentColor;\n display: inline-block;\n vertical-align: -0.15em; }\n .hi-v4-check-cascader-menu-switcher--loading {\n color: var(--color-primary); }\n .hi-v4-tree--icon-loading {\n -webkit-animation-name: hi-rotate;\n animation-name: hi-rotate;\n -webkit-animation-duration: 2s;\n animation-duration: 2s;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite; }\n @-webkit-keyframes hi-rotate {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n @keyframes hi-rotate {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n";
|
10
|
+
var css_248z = "@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n.hi-v4-tag-input {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1; }\n.hi-v4-tag-input__container {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n min-width: 160px;\n font-size: 14px;\n vertical-align: middle;\n color: #000;\n color: var(--hi-v4-color-static-black, #000);\n border: 1px solid transparent;\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff);\n -webkit-transition: all 0.3s;\n transition: all 0.3s;\n padding: 4px 10px;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 32px;\n overflow: hidden;\n border-color: #dfe2e8;\n border-color: var(--hi-v4-color-gray-300, #dfe2e8);\n border-radius: 4px; }\n.hi-v4-tag-input__container:not(.disabled):hover {\n border-color: #237ffa;\n border-color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-tag-input__container:not(.disabled).focused {\n border-color: #237ffa;\n border-color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-tag-input__container.disabled {\n cursor: not-allowed;\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6);\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n.hi-v4-tag-input__placeholder {\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6); }\n.hi-v4-tag-input__suffix {\n font-size: 16px;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n.hi-v4-tag-input__clear {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 16px;\n height: 16px;\n font-size: 14px;\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n transition: all 0.3s; }\n.hi-v4-tag-input__clear:hover {\n color: #000;\n color: var(--hi-v4-color-static-black, #000); }\n.hi-v4-tag-input__value {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n height: 22px;\n line-height: 22px; }\n.hi-v4-tag-input__tags {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: inline-block;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n white-space: nowrap;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin-top: -4px; }\n.hi-v4-tag-input__tag, .hi-v4-tag-input__tag--left {\n display: inline-block;\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 8px;\n vertical-align: middle;\n font-size: 12px;\n color: #333;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background: #f2f2f2;\n border-radius: 4px; }\n.hi-v4-tag-input__tag--total {\n display: inline-block;\n margin-right: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 8px;\n vertical-align: middle;\n font-size: 12px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: #bde2ff;\n background-color: var(--hi-v4-color-brandblue-100, #bde2ff);\n color: #237ffa;\n color: var(--hi-v4-color-brandblue-500, #237ffa);\n border-radius: 4px;\n line-height: 22px;\n cursor: pointer; }\n.hi-v4-tag-input__tag {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n.hi-v4-tag-input__tag-content {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n.hi-v4-tag-input__tag-closed {\n margin-left: 8px;\n margin-left: var(--hi-v4-spacing-4, 8px);\n font-size: 12px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #8e8e8e;\n cursor: pointer; }\n.disabled .hi-v4-tag-input__tag-closed {\n cursor: not-allowed; }\n.hi-v4-tag-input__tag--left {\n margin: 0;\n max-width: 54px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: middle; }\n.hi-v4-tag-input--nowrap .hi-v4-tag-input__value {\n width: calc(100% - 64px);\n overflow-x: hidden; }\n.hi-v4-tag-input--wrap .hi-v4-tag-input__value {\n height: auto; }\n.hi-v4-tag-input--wrap .hi-v4-tag-input__tags {\n white-space: normal;\n margin-top: -4px; }\n.hi-v4-tag-input--wrap .hi-v4-tag-input__tag {\n margin-top: 4px; }\n.hi-v4-tag-input--expanded {\n position: relative; }\n.hi-v4-tag-input--expanded .hi-v4-tag-input__container__expand {\n position: absolute;\n top: 0;\n left: 0;\n height: auto;\n z-index: 1;\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n min-width: 160px;\n font-size: 14px;\n vertical-align: middle;\n color: #000;\n color: var(--hi-v4-color-static-black, #000);\n border: 1px solid transparent;\n background-color: use-color-statc(\"white\");\n -webkit-transition: all 0.3s;\n transition: all 0.3s;\n padding: 4px 0;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 32px;\n overflow: hidden;\n border-radius: 4px;\n border-color: #237ffa;\n border-color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-tag-input--expanded .hi-v4-tag-input__container__expand .hi-v4-tag-input__value {\n height: 74px;\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n overflow: scroll;\n padding-left: 10px; }\n.hi-v4-tag-input--expanded .hi-v4-tag-input__container__expand .hi-v4-tag-input__tags {\n white-space: normal;\n margin-top: -4px; }\n.hi-v4-tag-input--expanded .hi-v4-tag-input__container__expand .hi-v4-tag-input__tag {\n margin-top: 4px; }\n.hi-v4-tag-input--expanded .hi-v4-tag-input__container__expand .hi-v4-tag-input__suffix {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n padding: 2px 10px 2px 0;\n position: sticky;\n top: 0; }\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n.hi-v4-check-cascader {\n color: #333; }\n.hi-v4-check-cascader__suffix {\n font-size: 16px;\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n.hi-v4-check-cascader--open .hi-v4-check-cascader__suffix {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg); }\n.hi-v4-check-cascader--open .hi-v4-tag-input {\n border-color: #237ffa;\n border-color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-check-cascader-panel {\n white-space: nowrap;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n.hi-v4-check-cascader-panel-search {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 10px 10px;\n position: relative; }\n.hi-v4-check-cascader-panel-search .hi-v4-input__prefix {\n font-size: 16px;\n padding-left: 0; }\n.hi-v4-check-cascader-panel-search__empty {\n display: inline-block;\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n color: #999;\n line-height: 20px; }\n.hi-v4-check-cascader-menus {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow-x: auto; }\n.hi-v4-check-cascader-menus--flatted .hi-v4-check-cascader-menu {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%; }\n.hi-v4-check-cascader-menu {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n vertical-align: middle;\n list-style: none;\n width: auto;\n box-sizing: border-box;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n display: inline-block;\n min-width: 140px;\n min-height: 160px;\n max-height: 256px;\n overflow: auto;\n padding: 4px 8px;\n border-right: 1px solid #ebedf0;\n border-right: var(--hi-v4-border-size-normal, 1px solid) var(--hi-v4-color-gray-200, #ebedf0); }\n.hi-v4-check-cascader-menu:last-of-type {\n border: none; }\n.hi-v4-check-cascader-menu--checkable .hi-v4-check-cascader-menu-checkbox + .title__text {\n padding-left: 8px; }\n.hi-v4-check-cascader-menu-item {\n width: 100%;\n padding: 4px 0;\n padding: var(--hi-v4-spacing-2, 4px) 0;\n position: relative;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n.hi-v4-check-cascader-menu-checkbox {\n position: relative; }\n.hi-v4-check-cascader-menu-checkbox::after {\n right: 0;\n top: -8px;\n bottom: -8px;\n left: -8px;\n content: '';\n position: absolute;\n display: block; }\n.hi-v4-check-cascader-menu-option {\n padding: 0 8px;\n padding: 0 var(--hi-v4-spacing-4, 8px);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: 32px;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px); }\n.hi-v4-check-cascader-menu-option:hover {\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n.hi-v4-check-cascader-menus--selectchange .hi-v4-check-cascader-menu-option:hover .hi-v4-checkbox__icon {\n border-color: #237ffa;\n border-color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-check-cascader-menu-option.hi-v4-check-cascader-menu-option--selected {\n background: #e2f3fe;\n background: var(--hi-v4-color-brandblue-50, #e2f3fe);\n color: #237ffa;\n color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-check-cascader-menu-option.hi-v4-check-cascader-menu-option--selected .hi-v4-check-cascader-menu-switcher {\n color: #237ffa;\n color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-check-cascader-menu-option--focused {\n background-color: #e2f3fe;\n background-color: var(--hi-v4-color-brandblue-50, #e2f3fe); }\n.hi-v4-check-cascader-menu-option--disabled {\n cursor: not-allowed;\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6);\n background: transparent; }\n.hi-v4-check-cascader-menu-option--disabled .hi-v4-check-cascader-menu-switcher {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-check-cascader-menu .title__text {\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1; }\n.hi-v4-check-cascader-menu .title__text--cols {\n display: block;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n vertical-align: middle;\n list-style: none; }\n.hi-v4-check-cascader-menu .title__text--col {\n display: inline-block; }\n.hi-v4-check-cascader-menu .title__text--col::after {\n content: '\\00a0/\\00a0'; }\n.hi-v4-check-cascader-menu .title__text--col:last-child::after {\n content: none; }\n.hi-v4-check-cascader-menu .title__text--matched {\n color: #237ffa;\n color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-check-cascader-menu-switcher {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n font-size: 16px;\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6); }\n.hi-v4-check-cascader-menu-switcher--loading {\n color: #237ffa;\n color: var(--hi-v4-color-brandblue-500, #237ffa); }\n.hi-v4-tree--icon-loading {\n -webkit-animation-name: hi-rotate;\n animation-name: hi-rotate;\n -webkit-animation-duration: 2s;\n animation-duration: 2s;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite; }\n@-webkit-keyframes hi-rotate {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n@keyframes hi-rotate {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n";
|
11
11
|
|
12
12
|
var __styleInject__ = require('style-inject/dist/style-inject.es.js')["default"];
|
13
13
|
|
package/lib/esm/utils/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader
|
2
|
+
* @hi-ui/check-cascader
|
3
3
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
4
|
*
|
5
5
|
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
@@ -167,30 +167,6 @@ var debounce = function debounce(func, delay) {
|
|
167
167
|
function getCascaderItemEventData(node, requiredProps) {
|
168
168
|
return Object.assign(Object.assign({}, node), requiredProps);
|
169
169
|
}
|
170
|
-
/**
|
171
|
-
* 为指定 id 的第一个被找到的节点添加 children 节点
|
172
|
-
*
|
173
|
-
* @param treeData
|
174
|
-
* @param targetId
|
175
|
-
* @param children
|
176
|
-
*/
|
177
|
-
|
178
|
-
|
179
|
-
var addChildrenById = function addChildrenById(treeData, targetId, children) {
|
180
|
-
var length = treeData.length;
|
181
|
-
|
182
|
-
for (var i = 0; i < length; ++i) {
|
183
|
-
var node = treeData[i];
|
184
|
-
|
185
|
-
if (targetId === node.id) {
|
186
|
-
node.children = children;
|
187
|
-
}
|
188
|
-
|
189
|
-
if (node.children) {
|
190
|
-
addChildrenById(node.children, targetId, children);
|
191
|
-
}
|
192
|
-
}
|
193
|
-
};
|
194
170
|
|
195
|
-
export {
|
171
|
+
export { debounce, flattenTreeData, getActiveMenuIds, getActiveMenus, getCascaderItemEventData, getFlattedMenus, getNodeAncestors };
|
196
172
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/utils/index.ts"],"sourcesContent":[null],"names":["flattenTreeData","treeData","flattedTreeData","dig","node","depth","parent","id","title","children","checkable","isLeaf","disabled","disabledCheckbox","flattedNode","raw","push","childDepth","map","child","treeRoot","getTreeRoot","getNodeAncestors","ancestors","getActiveMenus","data","selectedIds","length","root","menu","selectedOption","find","reverse","getFlattedMenus","filter","getActiveMenuIds","debounce","func","delay","timer","cancel","window","clearTimeout","debounceFn","args","setTimeout","apply","getCascaderItemEventData","requiredProps"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/utils/index.ts"],"sourcesContent":[null],"names":["flattenTreeData","treeData","flattedTreeData","dig","node","depth","parent","id","title","children","checkable","isLeaf","disabled","disabledCheckbox","flattedNode","raw","push","childDepth","map","child","treeRoot","getTreeRoot","getNodeAncestors","ancestors","getActiveMenus","data","selectedIds","length","root","menu","selectedOption","find","reverse","getFlattedMenus","filter","getActiveMenuIds","debounce","func","delay","timer","cancel","window","clearTimeout","debounceFn","args","setTimeout","apply","getCascaderItemEventData","requiredProps"],"mappings":"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"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import { PopperJS } from '@hi-ui/popper';
|
2
3
|
import { CheckCascaderItem, ExpandTrigger, CheckCascaderItemEventData, FlattedCheckCascaderItem } from './types';
|
3
4
|
/**
|
4
5
|
* TODO: What is CheckCascader
|
@@ -35,8 +36,9 @@ export interface CheckCascaderProps {
|
|
35
36
|
defaultValue?: React.ReactText[];
|
36
37
|
/**
|
37
38
|
* 多选值改变时的回调
|
39
|
+
* TODO: 是否有这样的需求:暴露操作的原始数据对象?包括 点击 checkbox、点击 tag 删除按钮、点击清空按钮
|
38
40
|
*/
|
39
|
-
onChange?: (values: React.ReactText[]
|
41
|
+
onChange?: (values: React.ReactText[]) => void;
|
40
42
|
/**
|
41
43
|
* 选项被点击时的回调
|
42
44
|
*/
|
@@ -101,4 +103,8 @@ export interface CheckCascaderProps {
|
|
101
103
|
* 是否单行展示,超出 +1
|
102
104
|
*/
|
103
105
|
wrap?: boolean;
|
106
|
+
/**
|
107
|
+
* 相对 reference 的位置
|
108
|
+
*/
|
109
|
+
placement?: PopperJS.Placement;
|
104
110
|
}
|
@@ -36,7 +36,7 @@ export interface CheckCascaderPanelProps {
|
|
36
36
|
/**
|
37
37
|
* 多选值改变时的回调
|
38
38
|
*/
|
39
|
-
onChange?: (values: React.ReactText[]
|
39
|
+
onChange?: (values: React.ReactText[]) => void;
|
40
40
|
/**
|
41
41
|
* 选项被点击时的回调
|
42
42
|
*/
|
package/lib/types/TagInput.d.ts
CHANGED
@@ -41,14 +41,6 @@ export interface TagInputProps {
|
|
41
41
|
* 是否禁止使用 boolean true | false false
|
42
42
|
*/
|
43
43
|
disabled?: boolean;
|
44
|
-
/**
|
45
|
-
* 设置选项为空时展示的内容
|
46
|
-
*/
|
47
|
-
emptyContent?: React.ReactNode;
|
48
|
-
/**
|
49
|
-
* 是否启用选择即改变功能
|
50
|
-
*/
|
51
|
-
changeOnSelect?: boolean;
|
52
44
|
/**
|
53
45
|
* 自定义选择后触发器所展示的内容
|
54
46
|
*/
|
@@ -65,6 +57,12 @@ export interface TagInputProps {
|
|
65
57
|
* 输入框后置内容
|
66
58
|
*/
|
67
59
|
suffix?: React.ReactNode;
|
60
|
+
/**
|
61
|
+
* 点击 Tag Input 时触发回调
|
62
|
+
*/
|
68
63
|
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
64
|
+
/**
|
65
|
+
* tag 列表数据源
|
66
|
+
*/
|
69
67
|
data: CheckCascaderItem[];
|
70
68
|
}
|
@@ -1,3 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { CheckCascaderItemEventData } from '../types';
|
3
|
-
export declare const useCheck: (
|
2
|
+
import { CheckCascaderItemEventData, FlattedCheckCascaderItem } from '../types';
|
3
|
+
export declare const useCheck: (cascaded: boolean, disabled: boolean, flattedData: FlattedCheckCascaderItem[], defaultCheckedIds?: React.ReactText[], checkedIdsProp?: React.ReactText[] | undefined, onCheck?: ((checkedInfo: {
|
4
|
+
checkedIds: React.ReactText[];
|
5
|
+
semiCheckedIds: React.ReactText[];
|
6
|
+
}, node: CheckCascaderItemEventData, checked: boolean) => void) | undefined) => readonly [(targetItem: import("@hi-ui/use-check").UseCascadeCheckItem, shouldChecked: boolean) => void, (id: React.ReactText) => boolean, (id: React.ReactText) => boolean];
|
@@ -7,3 +7,7 @@ export declare const useSearch: (flattedData: FlattedCheckCascaderItem[], upMatc
|
|
7
7
|
value: string;
|
8
8
|
onChange: (evt: React.ChangeEvent<HTMLInputElement>) => void;
|
9
9
|
}, boolean];
|
10
|
+
/**
|
11
|
+
* 返回 -1 表示匹配失败
|
12
|
+
*/
|
13
|
+
export declare const matchStrategy: (content: unknown, keyword: string) => number;
|
@@ -20,11 +20,3 @@ export declare const debounce: <T extends (...args: any[]) => void>(func?: T | u
|
|
20
20
|
cancel: () => void;
|
21
21
|
};
|
22
22
|
export declare function getCascaderItemEventData(node: FlattedCheckCascaderItem, requiredProps: CheckCascaderItemRequiredProps): CheckCascaderItemEventData;
|
23
|
-
/**
|
24
|
-
* 为指定 id 的第一个被找到的节点添加 children 节点
|
25
|
-
*
|
26
|
-
* @param treeData
|
27
|
-
* @param targetId
|
28
|
-
* @param children
|
29
|
-
*/
|
30
|
-
export declare const addChildrenById: (treeData: CheckCascaderItem[], targetId: React.ReactText, children: CheckCascaderItem[]) => void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/check-cascader",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.23",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
@@ -43,20 +43,21 @@
|
|
43
43
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@hi-ui/checkbox": "^4.0.0-alpha.
|
47
|
-
"@hi-ui/classname": "^4.0.0-alpha.
|
48
|
-
"@hi-ui/core-css": "^4.0.0-alpha.
|
49
|
-
"@hi-ui/env": "^4.0.0-alpha.
|
50
|
-
"@hi-ui/icons": "^4.0.0-alpha.
|
51
|
-
"@hi-ui/input": "^4.0.0-alpha.
|
52
|
-
"@hi-ui/popper": "^4.0.0-alpha.
|
53
|
-
"@hi-ui/times": "^4.0.0-alpha.
|
54
|
-
"@hi-ui/
|
55
|
-
"@hi-ui/use-
|
56
|
-
"@hi-ui/use-
|
57
|
-
"@hi-ui/use-
|
58
|
-
"@hi-ui/use-
|
59
|
-
"@hi-ui/use-
|
46
|
+
"@hi-ui/checkbox": "^4.0.0-alpha.20",
|
47
|
+
"@hi-ui/classname": "^4.0.0-alpha.3",
|
48
|
+
"@hi-ui/core-css": "^4.0.0-alpha.10",
|
49
|
+
"@hi-ui/env": "^4.0.0-alpha.5",
|
50
|
+
"@hi-ui/icons": "^4.0.0-alpha.18",
|
51
|
+
"@hi-ui/input": "^4.0.0-alpha.22",
|
52
|
+
"@hi-ui/popper": "^4.0.0-alpha.15",
|
53
|
+
"@hi-ui/times": "^4.0.0-alpha.4",
|
54
|
+
"@hi-ui/tree-utils": "^4.0.0-alpha.8",
|
55
|
+
"@hi-ui/use-check": "^4.0.0-alpha.14",
|
56
|
+
"@hi-ui/use-latest": "^4.0.0-alpha.4",
|
57
|
+
"@hi-ui/use-merge-refs": "^4.0.0-alpha.4",
|
58
|
+
"@hi-ui/use-outside-click": "^4.0.0-alpha.7",
|
59
|
+
"@hi-ui/use-toggle": "^4.0.0-alpha.10",
|
60
|
+
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.12",
|
60
61
|
"@popperjs/core": "^2.9.3",
|
61
62
|
"react-popper": "^2.2.5"
|
62
63
|
},
|
@@ -65,9 +66,9 @@
|
|
65
66
|
"react-dom": "^17.0.1"
|
66
67
|
},
|
67
68
|
"devDependencies": {
|
68
|
-
"@hi-ui/hi-build": "^4.0.0-alpha.
|
69
|
+
"@hi-ui/hi-build": "^4.0.0-alpha.4",
|
69
70
|
"react": "^17.0.1",
|
70
71
|
"react-dom": "^17.0.1"
|
71
72
|
},
|
72
|
-
"gitHead": "
|
73
|
+
"gitHead": "4fe4855aa7b3180a4e30ffa0972ac39a04947b4b"
|
73
74
|
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader v4.0.0-alpha.1
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
|
-
*
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
6
|
-
*
|
7
|
-
* This source code is licensed under the MIT license found in the
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
Object.defineProperty(exports, '__esModule', {
|
13
|
-
value: true
|
14
|
-
});
|
15
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
16
|
-
exports.commonjsGlobal = commonjsGlobal;
|
17
|
-
//# sourceMappingURL=_commonjsHelpers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/** @LICENSE
|
2
|
-
* @hi-ui/check-cascader v4.0.0-alpha.1
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/check-cascader#readme
|
4
|
-
*
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
6
|
-
*
|
7
|
-
* This source code is licensed under the MIT license found in the
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
Object.defineProperty(exports, '__esModule', {
|
13
|
-
value: true
|
14
|
-
});
|
15
|
-
var lodash_clonedeep = {
|
16
|
-
exports: {}
|
17
|
-
};
|
18
|
-
exports.lodash_clonedeep = lodash_clonedeep;
|
19
|
-
//# sourceMappingURL=index.js_commonjs-module.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js_commonjs-module","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|