@hi-ui/menu 4.3.2 → 5.0.0-alpha.0
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/CHANGELOG.md +77 -0
- package/lib/cjs/EnterIcon.js +44 -0
- package/lib/cjs/GroupMenu.js +96 -0
- package/lib/cjs/Menu.js +22 -10
- package/lib/cjs/MenuItem.js +4 -3
- package/lib/cjs/MenuSearch.js +322 -0
- package/lib/cjs/SideMenu.js +139 -0
- package/lib/cjs/button/lib/esm/Button.js +109 -0
- package/lib/cjs/button/lib/esm/ButtonGroup.js +56 -0
- package/lib/cjs/button/lib/esm/styles/index.scss.js +35 -0
- package/lib/cjs/index.js +8 -0
- package/lib/cjs/styles/index.scss.js +1 -1
- package/lib/cjs/util.js +95 -1
- package/lib/esm/EnterIcon.js +32 -0
- package/lib/esm/GroupMenu.js +83 -0
- package/lib/esm/Menu.js +23 -11
- package/lib/esm/MenuItem.js +4 -3
- package/lib/esm/MenuSearch.js +305 -0
- package/lib/esm/SideMenu.js +124 -0
- package/lib/esm/button/lib/esm/Button.js +97 -0
- package/lib/esm/button/lib/esm/ButtonGroup.js +44 -0
- package/lib/esm/button/lib/esm/styles/index.scss.js +23 -0
- package/lib/esm/index.js +3 -0
- package/lib/esm/styles/index.scss.js +1 -1
- package/lib/esm/util.js +95 -2
- package/lib/types/EnterIcon.d.ts +1 -0
- package/lib/types/GroupMenu.d.ts +29 -0
- package/lib/types/Menu.d.ts +4 -0
- package/lib/types/MenuSearch.d.ts +37 -0
- package/lib/types/SideMenu.d.ts +58 -0
- package/lib/types/context.d.ts +2 -1
- package/lib/types/index.d.ts +3 -0
- package/lib/types/util.d.ts +16 -0
- package/package.json +27 -19
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/menu
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/menu#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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
import EllipsisTooltip from '@hi-ui/ellipsis-tooltip';
|
|
15
|
+
import { useLatestCallback } from '@hi-ui/use-latest';
|
|
16
|
+
import { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';
|
|
17
|
+
import Scrollbar from '@hi-ui/scrollbar';
|
|
18
|
+
import { getAncestorIds } from './util.js';
|
|
19
|
+
var SIDE_MENU_PREFIX = getPrefixCls('side-menu');
|
|
20
|
+
/**
|
|
21
|
+
* 侧边菜单组件
|
|
22
|
+
*/
|
|
23
|
+
var SideMenu = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
24
|
+
var _cx;
|
|
25
|
+
var _a$prefixCls = _a.prefixCls,
|
|
26
|
+
prefixCls = _a$prefixCls === void 0 ? SIDE_MENU_PREFIX : _a$prefixCls,
|
|
27
|
+
_a$role = _a.role,
|
|
28
|
+
role = _a$role === void 0 ? 'side-menu' : _a$role,
|
|
29
|
+
className = _a.className,
|
|
30
|
+
_a$defaultActiveId = _a.defaultActiveId,
|
|
31
|
+
defaultActiveId = _a$defaultActiveId === void 0 ? null : _a$defaultActiveId,
|
|
32
|
+
activeIdProp = _a.activeId,
|
|
33
|
+
selectedIdProp = _a.selectedId,
|
|
34
|
+
_a$data = _a.data,
|
|
35
|
+
data = _a$data === void 0 ? [] : _a$data,
|
|
36
|
+
mini = _a.mini,
|
|
37
|
+
onClick = _a.onClick,
|
|
38
|
+
onMouseEnter = _a.onMouseEnter,
|
|
39
|
+
onMouseLeave = _a.onMouseLeave,
|
|
40
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "defaultActiveId", "activeId", "selectedId", "data", "mini", "childrenContainerRef", "onClick", "onMouseEnter", "onMouseLeave"]);
|
|
41
|
+
var cls = cx(prefixCls, className, (_cx = {}, _cx[prefixCls + "--mini"] = mini, _cx));
|
|
42
|
+
var _useUncontrolledState = useUncontrolledState(defaultActiveId, activeIdProp),
|
|
43
|
+
activeId = _useUncontrolledState[0],
|
|
44
|
+
tryChangeActiveId = _useUncontrolledState[1];
|
|
45
|
+
var handleClick = useLatestCallback(function (event, id, item) {
|
|
46
|
+
tryChangeActiveId(id);
|
|
47
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(event, id, item);
|
|
48
|
+
});
|
|
49
|
+
var handleMouseEnter = useLatestCallback(function (event, id, item) {
|
|
50
|
+
event.stopPropagation();
|
|
51
|
+
onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter(event, id, item);
|
|
52
|
+
});
|
|
53
|
+
var handleMouseLeave = useLatestCallback(function (event, id, item) {
|
|
54
|
+
event.stopPropagation();
|
|
55
|
+
onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event, id, item);
|
|
56
|
+
});
|
|
57
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
58
|
+
ref: ref,
|
|
59
|
+
role: role,
|
|
60
|
+
className: cls
|
|
61
|
+
}, rest), /*#__PURE__*/React.createElement(Scrollbar, {
|
|
62
|
+
onlyScrollVisible: true,
|
|
63
|
+
axes: "y"
|
|
64
|
+
}, data.map(function (item) {
|
|
65
|
+
var _cx2;
|
|
66
|
+
var id = item.id,
|
|
67
|
+
title = item.title,
|
|
68
|
+
icon = item.icon;
|
|
69
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
70
|
+
key: id,
|
|
71
|
+
className: cx(prefixCls + "-item-wrapper"),
|
|
72
|
+
onClick: function onClick(event) {
|
|
73
|
+
return handleClick(event, id, item);
|
|
74
|
+
},
|
|
75
|
+
onMouseEnter: function onMouseEnter(event) {
|
|
76
|
+
return handleMouseEnter(event, id, item);
|
|
77
|
+
},
|
|
78
|
+
onMouseLeave: function onMouseLeave(event) {
|
|
79
|
+
return handleMouseLeave(event, id, item);
|
|
80
|
+
}
|
|
81
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
82
|
+
className: cx(prefixCls + "-item", (_cx2 = {}, _cx2[prefixCls + "-item--active"] = activeId === id, _cx2[prefixCls + "-item--mini"] = mini, _cx2[prefixCls + "-item--selected"] = selectedIdProp === id, _cx2))
|
|
83
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
84
|
+
className: cx(prefixCls + "-item__icon")
|
|
85
|
+
}, icon), /*#__PURE__*/React.createElement("div", {
|
|
86
|
+
className: cx(prefixCls + "-item__title")
|
|
87
|
+
}, /*#__PURE__*/React.createElement(EllipsisTooltip, null, title))));
|
|
88
|
+
})));
|
|
89
|
+
});
|
|
90
|
+
if (__DEV__) {
|
|
91
|
+
SideMenu.displayName = 'SideMenu';
|
|
92
|
+
}
|
|
93
|
+
var useSideMenuCascade = function useSideMenuCascade(_ref) {
|
|
94
|
+
var data = _ref.data,
|
|
95
|
+
selectId = _ref.selectId,
|
|
96
|
+
activeId = _ref.activeId;
|
|
97
|
+
var activeParents = React.useMemo(function () {
|
|
98
|
+
return getAncestorIds(activeId, data);
|
|
99
|
+
}, [activeId, data]);
|
|
100
|
+
var selectParents = React.useMemo(function () {
|
|
101
|
+
return getAncestorIds(selectId, data);
|
|
102
|
+
}, [selectId, data]);
|
|
103
|
+
var selectParentId = React.useMemo(function () {
|
|
104
|
+
var _a;
|
|
105
|
+
return (_a = selectParents[selectParents.length - 1]) !== null && _a !== void 0 ? _a : selectId;
|
|
106
|
+
}, [selectId, selectParents]);
|
|
107
|
+
var activeParentId = React.useMemo(function () {
|
|
108
|
+
var _a;
|
|
109
|
+
return (_a = activeParents[activeParents.length - 1]) !== null && _a !== void 0 ? _a : activeId;
|
|
110
|
+
}, [activeId, activeParents]);
|
|
111
|
+
var submenuData = React.useMemo(function () {
|
|
112
|
+
var _a;
|
|
113
|
+
var parentId = selectParentId || activeParentId;
|
|
114
|
+
return ((_a = data.find(function (item) {
|
|
115
|
+
return item.id === parentId;
|
|
116
|
+
})) === null || _a === void 0 ? void 0 : _a.children) || [];
|
|
117
|
+
}, [selectParentId, activeParentId, data]);
|
|
118
|
+
return {
|
|
119
|
+
submenuData: submenuData,
|
|
120
|
+
selectParentId: selectParentId,
|
|
121
|
+
activeParentId: activeParentId
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export { SideMenu, useSideMenuCascade };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/menu
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/menu#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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
|
|
15
|
+
/** @LICENSE
|
|
16
|
+
* @hi-ui/button
|
|
17
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/button#readme
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
var _role = 'button';
|
|
25
|
+
var _prefix = getPrefixCls(_role);
|
|
26
|
+
/**
|
|
27
|
+
* 按钮
|
|
28
|
+
*/
|
|
29
|
+
var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30
|
+
var _a$prefixCls = _a.prefixCls,
|
|
31
|
+
prefixCls = _a$prefixCls === void 0 ? _prefix : _a$prefixCls,
|
|
32
|
+
_a$role = _a.role,
|
|
33
|
+
role = _a$role === void 0 ? _role : _a$role,
|
|
34
|
+
className = _a.className,
|
|
35
|
+
children = _a.children,
|
|
36
|
+
_a$type = _a.type,
|
|
37
|
+
type = _a$type === void 0 ? 'default' : _a$type,
|
|
38
|
+
_a$size = _a.size,
|
|
39
|
+
size = _a$size === void 0 ? 'md' : _a$size,
|
|
40
|
+
_a$appearance = _a.appearance,
|
|
41
|
+
appearance = _a$appearance === void 0 ? 'filled' : _a$appearance,
|
|
42
|
+
_a$disabled = _a.disabled,
|
|
43
|
+
disabled = _a$disabled === void 0 ? false : _a$disabled,
|
|
44
|
+
_a$loading = _a.loading,
|
|
45
|
+
loading = _a$loading === void 0 ? false : _a$loading,
|
|
46
|
+
_a$icon = _a.icon,
|
|
47
|
+
icon = _a$icon === void 0 ? null : _a$icon,
|
|
48
|
+
_a$shape = _a.shape,
|
|
49
|
+
shape = _a$shape === void 0 ? 'square' : _a$shape,
|
|
50
|
+
href = _a.href,
|
|
51
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "children", "type", "size", "appearance", "disabled", "loading", "icon", "shape", "href"]);
|
|
52
|
+
var isEmptyChildren = !children || typeof children === 'string' && !children.trim();
|
|
53
|
+
var isNonInteractive = disabled || loading;
|
|
54
|
+
var prefix = loading ? ( /*#__PURE__*/React.createElement(IconLoading, {
|
|
55
|
+
className: prefixCls + "__icon " + prefixCls + "__icon--prefix"
|
|
56
|
+
})) : icon && (!Array.isArray(icon) || icon[0]) ? ( /*#__PURE__*/React.createElement("span", {
|
|
57
|
+
className: prefixCls + "__icon " + prefixCls + "__icon--prefix"
|
|
58
|
+
}, Array.isArray(icon) ? icon[0] : icon)) : null;
|
|
59
|
+
var suffix = Array.isArray(icon) && icon.length > 1 ? ( /*#__PURE__*/React.createElement("span", {
|
|
60
|
+
className: prefixCls + "__icon " + prefixCls + "__icon--suffix"
|
|
61
|
+
}, icon[1])) : null;
|
|
62
|
+
var cls = cx(prefixCls, className, prefixCls + "--appearance-" + appearance, prefixCls + "--size-" + size, prefixCls + "--type-" + type, prefixCls + "--shape-" + shape, isEmptyChildren && prefixCls + "--icon-only", disabled && prefixCls + "--disabled", loading && prefixCls + "--loading");
|
|
63
|
+
return !href ? ( /*#__PURE__*/React.createElement("button", Object.assign({
|
|
64
|
+
ref: ref,
|
|
65
|
+
role: role,
|
|
66
|
+
className: cls,
|
|
67
|
+
disabled: isNonInteractive,
|
|
68
|
+
type: "button"
|
|
69
|
+
}, rest), prefix, children, suffix)) : ( /*#__PURE__*/React.createElement("a", Object.assign({
|
|
70
|
+
ref: ref,
|
|
71
|
+
role: role,
|
|
72
|
+
href: href,
|
|
73
|
+
className: cls
|
|
74
|
+
}, rest), prefix, children, suffix));
|
|
75
|
+
});
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
Button.HiName = 'Button';
|
|
78
|
+
if (__DEV__) {
|
|
79
|
+
Button.displayName = 'Button';
|
|
80
|
+
}
|
|
81
|
+
function IconLoading(_ref) {
|
|
82
|
+
var _ref$className = _ref.className,
|
|
83
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
84
|
+
_ref$size = _ref.size,
|
|
85
|
+
size = _ref$size === void 0 ? '0.8em' : _ref$size;
|
|
86
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
87
|
+
className: cx(className)
|
|
88
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
89
|
+
viewBox: "0 0 18 18",
|
|
90
|
+
width: size,
|
|
91
|
+
height: size,
|
|
92
|
+
fill: "currentColor"
|
|
93
|
+
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
94
|
+
d: "m15.547 2.8242c0.37904 0.40168 0.36068 1.0346-0.040996 1.4136-0.40168 0.37904-1.0346 0.36068-1.4136-0.040996-1.315-1.3935-3.1381-2.1969-5.0922-2.1969-3.866 0-7 3.134-7 7 0 0.55228-0.44772 1-1 1s-1-0.44772-1-1c0-4.9706 4.0294-9 9-9 2.5103 0 4.8578 1.0343 6.5468 2.8242z"
|
|
95
|
+
}))));
|
|
96
|
+
}
|
|
97
|
+
export { Button };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/menu
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/menu#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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
|
|
15
|
+
/** @LICENSE
|
|
16
|
+
* @hi-ui/button
|
|
17
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/button#readme
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
var _role = 'button-group';
|
|
25
|
+
var _prefix = getPrefixCls(_role);
|
|
26
|
+
var ButtonGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
27
|
+
var _a$prefixCls = _a.prefixCls,
|
|
28
|
+
prefixCls = _a$prefixCls === void 0 ? _prefix : _a$prefixCls,
|
|
29
|
+
_a$role = _a.role,
|
|
30
|
+
role = _a$role === void 0 ? _role : _a$role,
|
|
31
|
+
className = _a.className,
|
|
32
|
+
children = _a.children,
|
|
33
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "children"]);
|
|
34
|
+
var cls = cx(prefixCls, className);
|
|
35
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
36
|
+
role: role,
|
|
37
|
+
className: cls,
|
|
38
|
+
ref: ref
|
|
39
|
+
}, rest), children);
|
|
40
|
+
});
|
|
41
|
+
if (__DEV__) {
|
|
42
|
+
ButtonGroup.displayName = 'ButtonGroup';
|
|
43
|
+
}
|
|
44
|
+
export { ButtonGroup };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/menu
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/menu#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
|
+
import __styleInject__ from '@hi-ui/style-inject';
|
|
11
|
+
|
|
12
|
+
/** @LICENSE
|
|
13
|
+
* @hi-ui/button
|
|
14
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/button#readme
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
var css_248z = ".hi-v5-button {background-color: transparent;position: relative;display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-sizing: border-box;box-sizing: border-box;-webkit-appearance: none;-moz-appearance: none;appearance: none;margin: 0;border: 1px solid transparent;font-weight: var(--hi-v5-text-weight-normal, 400);text-decoration: none;white-space: nowrap;-ms-touch-action: manipulation;touch-action: manipulation;-webkit-transition: background-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), border-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), -webkit-box-shadow var(--hi-v5-motion-duration-fast, 150ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));transition: background-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), border-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), -webkit-box-shadow var(--hi-v5-motion-duration-fast, 150ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));transition: background-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), border-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), box-shadow var(--hi-v5-motion-duration-fast, 150ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));transition: background-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), border-color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), box-shadow var(--hi-v5-motion-duration-fast, 150ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), color var(--hi-v5-motion-duration-normal, 200ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1)), -webkit-box-shadow var(--hi-v5-motion-duration-fast, 150ms) var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));}.hi-v5-button + .hi-v5-button {-webkit-margin-start: var(--hi-v5-spacing-6, 12px);margin-inline-start: var(--hi-v5-spacing-6, 12px);}.hi-v5-button:not(.hi-v5-button--loading) {cursor: pointer;}.hi-v5-button:focus {outline: 0;z-index: 1;}.hi-v5-button--shape-square {border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-button--shape-round {border-radius: var(--hi-v5-border-radius-full, 9999px);}.hi-v5-button--disabled, .hi-v5-button[disabled]:not(.hi-v5-button--loading) {cursor: not-allowed;}.hi-v5-button__icon {line-height: 1em;}.hi-v5-button--size-sm {font-size: var(--hi-v5-text-size-sm, 0.75rem);line-height: var(--hi-v5-text-lineheight-sm, 1.25rem);}.hi-v5-button--size-sm .hi-v5-button__icon {font-size: 14px;}.hi-v5-button--size-sm:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-2, 4px);margin-inline-end: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-sm:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-2, 4px);margin-inline-start: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-sm.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-2, 4px);margin-inline-end: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-sm.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-2, 4px);margin-inline-start: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-md {font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);}.hi-v5-button--size-md .hi-v5-button__icon {font-size: 16px;}.hi-v5-button--size-md:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-2, 4px);margin-inline-end: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-md:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-2, 4px);margin-inline-start: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-md.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-2, 4px);margin-inline-end: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-md.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-2, 4px);margin-inline-start: var(--hi-v5-spacing-2, 4px);}.hi-v5-button--size-lg {font-size: var(--hi-v5-text-size-lg, 1rem);line-height: var(--hi-v5-text-lineheight-lg, 1.5rem);}.hi-v5-button--size-lg .hi-v5-button__icon {font-size: 20px;}.hi-v5-button--size-lg:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-4, 8px);margin-inline-end: var(--hi-v5-spacing-4, 8px);}.hi-v5-button--size-lg:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-4, 8px);margin-inline-start: var(--hi-v5-spacing-4, 8px);}.hi-v5-button--size-lg.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-4, 8px);margin-inline-end: var(--hi-v5-spacing-4, 8px);}.hi-v5-button--size-lg.hi-v5-button--loading:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-4, 8px);margin-inline-start: var(--hi-v5-spacing-4, 8px);}.hi-v5-button--size-xl {font-size: var(--hi-v5-text-size-xl, 1.125rem);line-height: var(--hi-v5-text-lineheight-xl, 1.625rem);}.hi-v5-button--size-xl .hi-v5-button__icon {font-size: 24px;}.hi-v5-button--size-xl:not(.hi-v5-button--icon-only) .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-6, 12px);margin-inline-end: var(--hi-v5-spacing-6, 12px);}.hi-v5-button--size-xl:not(.hi-v5-button--icon-only) .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-6, 12px);margin-inline-start: var(--hi-v5-spacing-6, 12px);}.hi-v5-button--size-xl.hi-v5-button--loading .hi-v5-button__icon--prefix {-webkit-margin-end: var(--hi-v5-spacing-6, 12px);margin-inline-end: var(--hi-v5-spacing-6, 12px);}.hi-v5-button--size-xl.hi-v5-button--loading .hi-v5-button__icon--suffix {-webkit-margin-start: var(--hi-v5-spacing-6, 12px);margin-inline-start: var(--hi-v5-spacing-6, 12px);}.hi-v5-button--loading {position: relative;}.hi-v5-button--loading .hi-v5-button__icon {display: inline-block;width: 1em;height: 1em;stroke: none;cursor: default;fill: currentColor;}.hi-v5-button--loading .hi-v5-button__icon svg {-webkit-animation: rotate 1s linear infinite;animation: rotate 1s linear infinite;}@-webkit-keyframes rotate {to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}@keyframes rotate {to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}.hi-v5-button--appearance-filled.hi-v5-button--size-xs {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-filled.hi-v5-button--size-xs:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-filled.hi-v5-button--size-xs.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);}.hi-v5-button--appearance-filled.hi-v5-button--size-sm {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-filled.hi-v5-button--size-sm:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-filled.hi-v5-button--size-sm.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);}.hi-v5-button--appearance-filled.hi-v5-button--size-md {height: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);font-size: var(--hi-v5-text-size-md, 0.875rem);}.hi-v5-button--appearance-filled.hi-v5-button--size-md:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-18, 72px);padding: 0 var(--hi-v5-spacing-6, 12px);}.hi-v5-button--appearance-filled.hi-v5-button--size-md.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);}.hi-v5-button--appearance-filled.hi-v5-button--size-lg {height: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-button--appearance-filled.hi-v5-button--size-lg:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-22, 88px);padding: 0 var(--hi-v5-spacing-8, 16px);}.hi-v5-button--appearance-filled.hi-v5-button--size-lg.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);}.hi-v5-button--appearance-filled.hi-v5-button--type-primary {background-color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));border: 1px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));color: var(--hi-v5-color-static-white, #fff);}.hi-v5-button--appearance-filled.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));border: 1px solid var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));color: var(--hi-v5-color-static-white, #fff);}.hi-v5-button--appearance-filled.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-600, var(--hi-v5-color-brandblue-600, #1843d2));border: 1px solid var(--hi-v5-color-primary-600, var(--hi-v5-color-brandblue-600, #1843d2));color: var(--hi-v5-color-static-white, #fff);}.hi-v5-button--appearance-filled.hi-v5-button--type-primary.hi-v5-button--disabled {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-primary.hi-v5-button--loading {background-color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));border: 1px solid var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));color: var(--hi-v5-color-static-white, #fff);}.hi-v5-button--appearance-filled.hi-v5-button--type-secondary {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-filled.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));border: 1px solid var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-filled.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));border: 1px solid var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-filled.hi-v5-button--type-secondary.hi-v5-button--disabled {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-secondary.hi-v5-button--loading {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-filled.hi-v5-button--type-default {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-filled.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-gray-100, #edeff2);border: 1px solid var(--hi-v5-color-gray-100, #edeff2);color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-filled.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-gray-200, #e6e8eb);border: 1px solid var(--hi-v5-color-gray-200, #e6e8eb);color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-filled.hi-v5-button--type-default.hi-v5-button--disabled {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-default.hi-v5-button--loading {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-success {background-color: var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));border: 1px solid var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-filled.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-success-100, var(--hi-v5-color-green-100, #daf7de));border: 1px solid var(--hi-v5-color-success-100, var(--hi-v5-color-green-100, #daf7de));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-filled.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-success-200, var(--hi-v5-color-green-200, #8de08f));border: 1px solid var(--hi-v5-color-success-200, var(--hi-v5-color-green-200, #8de08f));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-filled.hi-v5-button--type-success.hi-v5-button--disabled {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-success.hi-v5-button--loading {background-color: var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));border: 1px solid var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));color: var(--hi-v5-color-success-400, var(--hi-v5-color-green-400, #42c14f));}.hi-v5-button--appearance-filled.hi-v5-button--type-danger {background-color: var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));border: 1px solid var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-filled.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-danger-100, var(--hi-v5-color-red-100, #ffe0db));border: 1px solid var(--hi-v5-color-danger-100, var(--hi-v5-color-red-100, #ffe0db));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-filled.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-danger-200, var(--hi-v5-color-red-200, #ffb3aa));border: 1px solid var(--hi-v5-color-danger-200, var(--hi-v5-color-red-200, #ffb3aa));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-filled.hi-v5-button--type-danger.hi-v5-button--disabled {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-filled.hi-v5-button--type-danger.hi-v5-button--loading {background-color: var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));border: 1px solid var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));color: var(--hi-v5-color-danger-300, var(--hi-v5-color-red-300, #ff938b));}.hi-v5-button--appearance-line.hi-v5-button--size-xs {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-line.hi-v5-button--size-xs:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-line.hi-v5-button--size-xs.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);}.hi-v5-button--appearance-line.hi-v5-button--size-sm {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-line.hi-v5-button--size-sm:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-line.hi-v5-button--size-sm.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);}.hi-v5-button--appearance-line.hi-v5-button--size-md {height: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);font-size: var(--hi-v5-text-size-md, 0.875rem);}.hi-v5-button--appearance-line.hi-v5-button--size-md:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-18, 72px);padding: 0 var(--hi-v5-spacing-6, 12px);}.hi-v5-button--appearance-line.hi-v5-button--size-md.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);}.hi-v5-button--appearance-line.hi-v5-button--size-lg {height: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-button--appearance-line.hi-v5-button--size-lg:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-22, 88px);padding: 0 var(--hi-v5-spacing-8, 16px);}.hi-v5-button--appearance-line.hi-v5-button--size-lg.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);}.hi-v5-button--appearance-line.hi-v5-button--type-primary {background-color: var(--hi-v5-color-static-white, #fff);border: 1px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-line.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-line.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));border: 1px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-line.hi-v5-button--type-primary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-primary.hi-v5-button--loading {color: var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));border: 1px solid var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button--appearance-line.hi-v5-button--type-secondary {background-color: var(--hi-v5-color-static-white, #fff);border: 1px solid var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-line.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button--appearance-line.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));border: 1px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-line.hi-v5-button--type-secondary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-secondary.hi-v5-button--loading {color: var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));border: 1px solid var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));}.hi-v5-button--appearance-line.hi-v5-button--type-default {background-color: var(--hi-v5-color-static-white, #fff);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);color: var(--hi-v5-color-gray-700, #1a1d26);}.hi-v5-button--appearance-line.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-gray-200, #e6e8eb);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-default.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-default.hi-v5-button--loading {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-success {background-color: var(--hi-v5-color-static-white, #fff);border: 1px solid var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-line.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));border: 1px solid var(--hi-v5-color-success-400, var(--hi-v5-color-green-400, #42c14f));}.hi-v5-button--appearance-line.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-success-100, var(--hi-v5-color-green-100, #daf7de));border: 1px solid var(--hi-v5-color-success-600, var(--hi-v5-color-green-600, #17992d));}.hi-v5-button--appearance-line.hi-v5-button--type-success.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-success.hi-v5-button--loading {color: var(--hi-v5-color-success-200, var(--hi-v5-color-green-200, #8de08f));border: 1px solid var(--hi-v5-color-success-200, var(--hi-v5-color-green-200, #8de08f));}.hi-v5-button--appearance-line.hi-v5-button--type-danger {background-color: var(--hi-v5-color-static-white, #fff);border: 1px solid var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-line.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));border: 1px solid var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-line.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-danger-100, var(--hi-v5-color-red-100, #ffe0db));border: 1px solid var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-line.hi-v5-button--type-danger.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button--appearance-line.hi-v5-button--type-danger.hi-v5-button--loading {color: var(--hi-v5-color-danger-300, var(--hi-v5-color-red-300, #ff938b));border: 1px solid var(--hi-v5-color-danger-200, var(--hi-v5-color-red-200, #ffb3aa));}.hi-v5-button--appearance-link {padding: 0;border: 0;}.hi-v5-button--appearance-link.hi-v5-button--type-primary {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-link.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-link.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {color: var(--hi-v5-color-primary-600, var(--hi-v5-color-brandblue-600, #1843d2));}.hi-v5-button--appearance-link.hi-v5-button--type-primary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-primary.hi-v5-button--loading {color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button--appearance-link.hi-v5-button--type-secondary {color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-link.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button--appearance-link.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-link.hi-v5-button--type-secondary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-secondary.hi-v5-button--loading {color: var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));}.hi-v5-button--appearance-link.hi-v5-button--type-default {color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-link.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-button--appearance-link.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {color: var(--hi-v5-color-gray-700, #1a1d26);}.hi-v5-button--appearance-link.hi-v5-button--type-default.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-default.hi-v5-button--loading {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-success {color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-link.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {color: var(--hi-v5-color-success-400, var(--hi-v5-color-green-400, #42c14f));}.hi-v5-button--appearance-link.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {color: var(--hi-v5-color-success-600, var(--hi-v5-color-green-600, #17992d));}.hi-v5-button--appearance-link.hi-v5-button--type-success.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-success.hi-v5-button--loading {color: var(--hi-v5-color-success-200, var(--hi-v5-color-green-200, #8de08f));}.hi-v5-button--appearance-link.hi-v5-button--type-danger {color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-link.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {color: var(--hi-v5-color-danger-400, var(--hi-v5-color-red-400, #ff716c));}.hi-v5-button--appearance-link.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-link.hi-v5-button--type-danger.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-link.hi-v5-button--type-danger.hi-v5-button--loading {color: var(--hi-v5-color-danger-300, var(--hi-v5-color-red-300, #ff938b));}.hi-v5-button--appearance-text.hi-v5-button--size-xs {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-text.hi-v5-button--size-xs:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-text.hi-v5-button--size-xs.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 4px);}.hi-v5-button--appearance-text.hi-v5-button--size-sm {height: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-button--appearance-text.hi-v5-button--size-sm:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-12, 48px);padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-button--appearance-text.hi-v5-button--size-sm.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-sm, 1.25rem) + 8px);}.hi-v5-button--appearance-text.hi-v5-button--size-md {height: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);font-size: var(--hi-v5-text-size-md, 0.875rem);}.hi-v5-button--appearance-text.hi-v5-button--size-md:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-18, 72px);padding: 0 var(--hi-v5-spacing-6, 12px);}.hi-v5-button--appearance-text.hi-v5-button--size-md.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-md, 1.375rem) + 10px);}.hi-v5-button--appearance-text.hi-v5-button--size-lg {height: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-button--appearance-text.hi-v5-button--size-lg:not(.hi-v5-button--icon-only) {min-width: var(--hi-v5-height-22, 88px);padding: 0 var(--hi-v5-spacing-8, 16px);}.hi-v5-button--appearance-text.hi-v5-button--size-lg.hi-v5-button--icon-only {width: calc(var(--hi-v5-text-lineheight-lg, 1.5rem) + 16px);}.hi-v5-button--appearance-text.hi-v5-button--type-primary {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-text.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-text.hi-v5-button--type-primary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));border: 1px solid var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-button--appearance-text.hi-v5-button--type-primary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-primary.hi-v5-button--loading {color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button--appearance-text.hi-v5-button--type-secondary {color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-text.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));border: 1px solid var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-text.hi-v5-button--type-secondary:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));border: 1px solid var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));color: var(--hi-v5-color-primary-400, var(--hi-v5-color-brandblue-400, #4d82ff));}.hi-v5-button--appearance-text.hi-v5-button--type-secondary.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-secondary.hi-v5-button--loading {color: var(--hi-v5-color-primary-200, var(--hi-v5-color-brandblue-200, #b1cafc));}.hi-v5-button--appearance-text.hi-v5-button--type-default {color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-text.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-gray-50, #f2f4f7);border: 1px solid var(--hi-v5-color-gray-50, #f2f4f7);color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-text.hi-v5-button--type-default:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-gray-200, #e6e8eb);border: 1px solid var(--hi-v5-color-gray-200, #e6e8eb);color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-button--appearance-text.hi-v5-button--type-default.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-default.hi-v5-button--loading {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-success {color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-text.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));border: 1px solid var(--hi-v5-color-success-50, var(--hi-v5-color-green-50, #e4fce3));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-text.hi-v5-button--type-success:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-success-100, var(--hi-v5-color-green-100, #daf7de));border: 1px solid var(--hi-v5-color-success-100, var(--hi-v5-color-green-100, #daf7de));color: var(--hi-v5-color-success-500, var(--hi-v5-color-green-500, #24b237));}.hi-v5-button--appearance-text.hi-v5-button--type-success.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-success.hi-v5-button--loading {color: var(--hi-v5-color-success-300, var(--hi-v5-color-green-300, #65d16d));}.hi-v5-button--appearance-text.hi-v5-button--type-danger {color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-text.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):hover {background-color: var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));border: 1px solid var(--hi-v5-color-danger-50, var(--hi-v5-color-red-50, #ffede8));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-text.hi-v5-button--type-danger:not(.hi-v5-button--disabled):not(.hi-v5-button--loading):active {background-color: var(--hi-v5-color-danger-100, var(--hi-v5-color-red-100, #ffe0db));border: 1px solid var(--hi-v5-color-danger-100, var(--hi-v5-color-red-100, #ffe0db));color: var(--hi-v5-color-danger-500, var(--hi-v5-color-red-500, #fa4646));}.hi-v5-button--appearance-text.hi-v5-button--type-danger.hi-v5-button--disabled {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-button--appearance-text.hi-v5-button--type-danger.hi-v5-button--loading {color: var(--hi-v5-color-danger-300, var(--hi-v5-color-red-300, #ff938b));}.hi-v5-button-group {display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;}.hi-v5-button-group .hi-v5-button:first-child {border-top-right-radius: 0;border-bottom-right-radius: 0;}.hi-v5-button-group .hi-v5-button:not(:first-child):not(:last-child) {border-radius: 0;}.hi-v5-button-group .hi-v5-button:not(:first-child) {margin-left: 0;}.hi-v5-button-group .hi-v5-button:not(:first-child)::before {content: \"\";position: absolute;left: -1px;width: 1px;height: 50%;}.hi-v5-button-group .hi-v5-button--type-primary::before {background-color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button-group .hi-v5-button--type-secondary::before {background-color: var(--hi-v5-color-primary-300, var(--hi-v5-color-brandblue-300, #74a2ff));}.hi-v5-button-group .hi-v5-button--type-default::before {background-color: var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-button-group .hi-v5-button--type-success::before {background-color: var(--hi-v5-color-success-300, var(--hi-v5-color-green-300, #65d16d));}.hi-v5-button-group .hi-v5-button--type-danger::before {background-color: var(--hi-v5-color-danger-300, var(--hi-v5-color-red-300, #ff938b));}.hi-v5-button-group .hi-v5-button:last-child {border-top-left-radius: 0;border-bottom-left-radius: 0;}";
|
|
22
|
+
__styleInject__(css_248z);
|
|
23
|
+
export { css_248z as default };
|
package/lib/esm/index.js
CHANGED
|
@@ -10,4 +10,7 @@
|
|
|
10
10
|
import './styles/index.scss.js';
|
|
11
11
|
export { Menu, Menu as default } from './Menu.js';
|
|
12
12
|
export { Sidebar } from './Sidebar.js';
|
|
13
|
+
export { MenuSearch, MenuSearchInput } from './MenuSearch.js';
|
|
14
|
+
export { GroupMenu } from './GroupMenu.js';
|
|
15
|
+
export { SideMenu, useSideMenuCascade } from './SideMenu.js';
|
|
13
16
|
export { filterTreeData, getAncestorIds, getParentId } from './util.js';
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
9
|
*/
|
|
10
10
|
import __styleInject__ from '@hi-ui/style-inject';
|
|
11
|
-
var css_248z = ".hi-v4-menu-fat-menu {background-color: var(--hi-v4-color-static-white, #fff);margin: 0;font-size: var(--hi-v4-text-size-md, 0.875rem);padding: var(--hi-v4-spacing-4, 8px);display: -webkit-box;display: -ms-flexbox;display: flex;color: var(--hi-v4-color-gray-700, #1f2733);border-radius: var(--hi-v4-border-radius-md, 4px);-ms-flex-wrap: wrap;flex-wrap: wrap;}.hi-v4-menu-fat-menu__group:not(:last-of-type) {margin-right: var(--hi-v4-spacing-18, 36px);}.hi-v4-menu-fat-menu .hi-v4-menu-group-item {height: 40px;margin: 0;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v4-spacing-6, 12px);color: var(--hi-v4-color-gray-500, #929aa6);}.hi-v4-menu-fat-menu .hi-v4-menu-item {height: 40px;margin: 0;border-radius: var(--hi-v4-border-radius-md, 4px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v4-spacing-4, 8px) 0 var(--hi-v4-spacing-6, 12px);}.hi-v4-menu-fat-menu .hi-v4-menu-item--active {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));background-color: var(--hi-v4-color-primary-50, var(--hi-v4-color-brandblue-50, #e2f3fe));}.hi-v4-menu-fat-menu .hi-v4-menu-item:not(.hi-v4-menu-item--active):hover {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu-fat-menu .hi-v4-menu-item--disabled {color: var(--hi-v4-color-gray-400, #b5bcc7);cursor: not-allowed;}.hi-v4-menu-fat-menu ul {padding: 0;margin: 0;}.hi-v4-menu-fat-menu ul li {list-style-type: none;}.hi-v4-menu-popmenu {background-color: var(--hi-v4-color-static-white, #fff);border-radius: var(--hi-v4-border-radius-md, 4px);margin: 0;font-size: var(--hi-v4-text-size-md, 0.875rem);padding: var(--hi-v4-spacing-4, 8px);color: var(--hi-v4-color-gray-700, #1f2733);width: 216px;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v4-menu-popmenu .hi-v4-menu-item {height: 40px;margin: 0;}.hi-v4-menu-popmenu .hi-v4-menu-item__inner {-webkit-box-sizing: border-box;box-sizing: border-box;height: 40px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v4-spacing-4, 8px) 0 var(--hi-v4-spacing-6, 12px);border-radius: var(--hi-v4-border-radius-md, 4px);}.hi-v4-menu-popmenu .hi-v4-menu-item__inner--active {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));background-color: var(--hi-v4-color-primary-50, var(--hi-v4-color-brandblue-50, #e2f3fe));}.hi-v4-menu-popmenu .hi-v4-menu-item__inner--active-p {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu-popmenu .hi-v4-menu-item__inner--expanded {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu-popmenu .hi-v4-menu-item__inner:not(.hi-v4-menu-item__inner--active):hover {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu-popmenu .hi-v4-menu-item__inner--disabled {color: var(--hi-v4-color-gray-400, #b5bcc7);cursor: not-allowed;}.hi-v4-menu-popmenu .hi-v4-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 100%;padding-right: var(--hi-v4-spacing-4, 8px);}.hi-v4-menu {background-color: var(--hi-v4-color-static-white, #fff);color: var(--hi-v4-color-gray-700, #1f2733);font-size: var(--hi-v4-text-size-md, 0.875rem);line-height: var(--hi-v4-text-lineheight-md, 1.375rem);-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v4-menu ul {margin: 0;padding: 0;}.hi-v4-menu-item {list-style: none;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: pointer;-webkit-transition: all 0.3s;transition: all 0.3s;}.hi-v4-menu-item__icon {color: var(--hi-v4-color-gray-500, #929aa6);-webkit-margin-end: var(--hi-v4-spacing-4, 8px);margin-inline-end: var(--hi-v4-spacing-4, 8px);}.hi-v4-menu-item__icon svg[class^=hi-v4-icon] {font-size: var(--hi-v4-text-size-lg, 1rem);}.hi-v4-menu-item__arrow {color: var(--hi-v4-color-gray-500, #929aa6);font-size: var(--hi-v4-text-size-lg, 1rem);}.hi-v4-menu-item__indent {display: inline-block;width: 24px;height: 100%;-ms-flex-negative: 0;flex-shrink: 0;}.hi-v4-menu-item--disabled {color: var(--hi-v4-color-gray-400, #b5bcc7);cursor: not-allowed;}.hi-v4-menu__wrapper {padding: 0;margin: 0;}.hi-v4-menu--horizontal {width: 100%;overflow: hidden;}.hi-v4-menu--horizontal .hi-v4-menu__wrapper {display: -webkit-box;display: -ms-flexbox;display: flex;overflow: visible;width: -webkit-max-content;width: -moz-max-content;width: max-content;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v4-menu--horizontal .hi-v4-menu-item {padding: 0 var(--hi-v4-spacing-10, 20px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;height: 56px;border: none;font-size: var(--hi-v4-text-size-lg, 1rem);}.hi-v4-menu--horizontal .hi-v4-menu-item__arrow {-webkit-margin-start: var(--hi-v4-spacing-2, 4px);margin-inline-start: var(--hi-v4-spacing-2, 4px);}.hi-v4-menu--horizontal .hi-v4-menu-item:hover {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item:hover .hi-v4-menu-item__inner {border-bottom: 2px solid var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item--active {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item--active .hi-v4-menu-item__inner {border-bottom: 2px solid var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item--active .hi-v4-menu-item__icon {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item--active-p {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item--active-p .hi-v4-menu-item__icon {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item__inner {height: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-sizing: border-box;box-sizing: border-box;border-bottom: 2px solid transparent;}.hi-v4-menu--horizontal .hi-v4-menu-item__inner--expanded {border-bottom: 2px solid var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--horizontal .hi-v4-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;white-space: nowrap;max-width: none;}.hi-v4-menu--horizontal .hi-v4-menu-item--disabled {color: var(--hi-v4-color-gray-400, #b5bcc7);cursor: not-allowed;}.hi-v4-menu--horizontal .hi-v4-menu-item--disabled:hover .hi-v4-menu-item__inner {border-color: var(--hi-v4-color-static-white, #fff);}.hi-v4-menu--horizontal .hi-v4-menu-item--disabled .hi-v4-menu-item__content {color: var(--hi-v4-color-gray-400, #b5bcc7);}.hi-v4-menu--vertical {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;padding: var(--hi-v4-spacing-4, 8px);width: 216px;-webkit-box-sizing: border-box;box-sizing: border-box;height: 100%;-webkit-transition: width 0.3s;transition: width 0.3s;}.hi-v4-menu--vertical .hi-v4-menu__wrapper {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: auto;}.hi-v4-menu--vertical.hi-v4-menu--mini {width: 56px;overflow-x: hidden;}.hi-v4-menu--vertical.hi-v4-menu--popup .hi-v4-menu-item__inner--expanded {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu--vertical.hi-v4-menu--popup:not(.hi-v4-menu--mini) .hi-v4-menu__wrapper > .hi-v4-menu-item:last-child .hi-v4-menu-item__inner {margin-bottom: 0;}.hi-v4-menu--vertical .hi-v4-menu__toggle {width: var(--hi-v4-height-10, 40px);height: var(--hi-v4-height-10, 40px);cursor: pointer;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;border-radius: var(--hi-v4-border-radius-md, 4px);color: var(--hi-v4-color-gray-500, #929aa6);-ms-flex-negative: 0;flex-shrink: 0;-webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);transition-duration: var(--hi-v4-motion-duration-normal, 200ms);-webkit-transition-timing-function: var(--hi-v4-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));transition-timing-function: var(--hi-v4-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));-webkit-transition-property: background-color;transition-property: background-color;}.hi-v4-menu--vertical .hi-v4-menu__toggle:hover {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu--vertical .hi-v4-menu-item__inner {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v4-spacing-4, 8px) 0 var(--hi-v4-spacing-6, 12px);border-radius: var(--hi-v4-border-radius-md, 4px);-webkit-transition: all 0.3s;transition: all 0.3s;}.hi-v4-menu--vertical .hi-v4-menu-item__inner--active {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));background-color: var(--hi-v4-color-primary-50, var(--hi-v4-color-brandblue-50, #e2f3fe));}.hi-v4-menu--vertical .hi-v4-menu-item__inner--active .hi-v4-menu-item__icon {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--vertical .hi-v4-menu-item__inner--active-p {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--vertical .hi-v4-menu-item__inner--active-p .hi-v4-menu-item__icon {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-menu--vertical .hi-v4-menu-item__inner:not(.hi-v4-menu-item__inner--active):hover {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-menu--vertical .hi-v4-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-indent: 0.5px;}.hi-v4-menu--vertical .hi-v4-menu-item--disabled {color: var(--hi-v4-color-gray-400, #b5bcc7);cursor: not-allowed;}.hi-v4-menu--vertical.hi-v4-menu--size-lg .hi-v4-menu-item__inner {height: var(--hi-v4-height-10, 40px);margin-bottom: var(--hi-v4-spacing-4, 8px);}.hi-v4-menu--vertical.hi-v4-menu--size-md .hi-v4-menu-item__inner {height: var(--hi-v4-height-9, 36px);margin-bottom: var(--hi-v4-spacing-2, 4px);}.hi-v4-menu--vertical.hi-v4-menu--size-sm .hi-v4-menu-item__inner {height: var(--hi-v4-height-8, 32px);margin-bottom: var(--hi-v4-spacing-1, 2px);}.hi-v4-sidebar-wrapper {position: relative;display: -webkit-box;display: -ms-flexbox;display: flex;width: -webkit-fit-content;width: -moz-fit-content;width: fit-content;height: 100%;}.hi-v4-sidebar-wrapper:not(.hi-v4-sidebar-wrapper-showMenuArrow) .hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__arrow {display: none;}.hi-v4-sidebar-wrapper--showMenu .hi-v4-sidebar-menu-wrapper {border-right: 1px solid var(--hi-v4-color-gray-300, #dfe2e8);}.hi-v4-sidebar-wrapper--showMenu .hi-v4-sidebar-toggle svg[class^=hi-v4-icon] {-webkit-transform: rotate(180deg);transform: rotate(180deg);}.hi-v4-sidebar-wrapper:not(.hi-v4-sidebar-wrapper--collapsible) .hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__inner--expanded:hover {background-color: transparent;cursor: default;}.hi-v4-sidebar {-webkit-box-sizing: border-box;box-sizing: border-box;width: 64px;height: 100%;padding: var(--hi-v4-spacing-4, 8px) 0;overflow: auto;border-right: 1px solid var(--hi-v4-color-gray-300, #dfe2e8);background-color: #fff;}.hi-v4-sidebar-list {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;}.hi-v4-sidebar-item {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;list-style: none;margin: var(--hi-v4-spacing-6, 12px) var(--hi-v4-spacing-2, 4px) 0;padding: var(--hi-v4-spacing-3, 6px) var(--hi-v4-spacing-1, 2px);width: 52px;overflow: hidden;text-align: center;border-radius: var(--hi-v4-border-radius-md, 4px);}.hi-v4-sidebar-item:first-child {margin-top: 0;}.hi-v4-sidebar-item:hover {cursor: pointer;}.hi-v4-sidebar-item:not(.hi-v4-sidebar-item--active):hover {background-color: var(--hi-v4-color-gray-100, #f2f4f7);}.hi-v4-sidebar-item--active {background-color: var(--hi-v4-color-primary-50, var(--hi-v4-color-brandblue-50, #e2f3fe));}.hi-v4-sidebar-item--active .hi-v4-sidebar-item__icon, .hi-v4-sidebar-item--active .hi-v4-sidebar-item__title {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));}.hi-v4-sidebar-item__icon {height: 20px;color: var(--hi-v4-color-gray-600, #5f6a7a);}.hi-v4-sidebar-item__icon svg[class^=hi-v4-icon] {width: 20px;height: 20px;}.hi-v4-sidebar-item__title {font-size: var(--hi-v4-text-size-sm, 0.75rem);line-height: 20px;color: var(--hi-v4-color-gray-500, #929aa6);}.hi-v4-sidebar-menu-wrapper {width: 0;border-right: none;overflow: hidden;-webkit-transition: width 0.3s;transition: width 0.3s;}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item .hi-v4-menu-item__inner {height: var(--hi-v4-height-8, 32px);margin-bottom: 0;padding: 0 var(--hi-v4-spacing-4, 8px);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item .hi-v4-menu-item__inner--hasIcon + div .hi-v4-menu-submenu .hi-v4-menu-item__indent {width: 20px;}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__icon {color: var(--hi-v4-color-gray-600, #5f6a7a);-webkit-margin-end: var(--hi-v4-spacing-2, 4px);margin-inline-end: var(--hi-v4-spacing-2, 4px);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__indent {width: 14px;}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__content {font-weight: 550;}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__inner--active-p {color: var(--hi-v4-color-gray-700, #1f2733);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-item__inner--active-p .hi-v4-menu-item__icon {color: var(--hi-v4-color-gray-600, #5f6a7a);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu-submenu .hi-v4-menu-item__inner .hi-v4-menu-item__content {font-size: var(--hi-v4-text-size-sm, 0.75rem);font-weight: var(--hi-v4-text-weight-normal, 400);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu__wrapper > .hi-v4-menu-item {margin-top: var(--hi-v4-spacing-4, 8px);}.hi-v4-sidebar-menu-wrapper .hi-v4-menu__wrapper > .hi-v4-menu-item:first-child {margin-top: 0;}.hi-v4-sidebar-toggle {-webkit-box-sizing: border-box;box-sizing: border-box;position: absolute;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;width: 12px;height: 60px;right: -11px;top: 50%;-webkit-transform: translateY(-50%);transform: translateY(-50%);border-start-end-radius: 16px 8px;border-end-end-radius: 16px 8px;border: 1px solid var(--hi-v4-color-gray-300, #dfe2e8);border-left: none;cursor: pointer;color: var(--hi-v4-color-gray-600, #5f6a7a);background-color: #fff;}.hi-v4-sidebar-toggle svg[class^=hi-v4-icon] {margin-left: -4px;}";
|
|
11
|
+
var css_248z = ".hi-v5-menu-fat-menu {background-color: var(--hi-v5-color-static-white, #fff);margin: 0;font-size: var(--hi-v5-text-size-md, 0.875rem);padding: var(--hi-v5-spacing-4, 8px);display: -webkit-box;display: -ms-flexbox;display: flex;color: var(--hi-v5-color-gray-700, #1a1d26);border-radius: var(--hi-v5-border-radius-lg, 6px);-ms-flex-wrap: wrap;flex-wrap: wrap;}.hi-v5-menu-fat-menu__group:not(:last-of-type) {margin-right: var(--hi-v5-spacing-18, 36px);}.hi-v5-menu-fat-menu .hi-v5-menu-group-item {height: 40px;margin: 0;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v5-spacing-6, 12px);color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-menu-fat-menu .hi-v5-menu-item {height: 40px;margin: 0;border-radius: var(--hi-v5-border-radius-lg, 6px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v5-spacing-4, 8px) 0 var(--hi-v5-spacing-6, 12px);}.hi-v5-menu-fat-menu .hi-v5-menu-item--active {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-menu-fat-menu .hi-v5-menu-item:not(.hi-v5-menu-item--active):hover {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu-fat-menu .hi-v5-menu-item--disabled {color: var(--hi-v5-color-gray-400, #babcc2);cursor: not-allowed;}.hi-v5-menu-fat-menu ul {padding: 0;margin: 0;}.hi-v5-menu-fat-menu ul li {list-style-type: none;}.hi-v5-menu-popmenu {background-color: var(--hi-v5-color-static-white, #fff);border-radius: var(--hi-v5-border-radius-xl, 8px);margin: 0;font-size: var(--hi-v5-text-size-md, 0.875rem);padding: var(--hi-v5-spacing-4, 8px);color: var(--hi-v5-color-gray-700, #1a1d26);width: 216px;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v5-menu-popmenu .hi-v5-menu-item {margin: 0;}.hi-v5-menu-popmenu .hi-v5-menu-item__inner {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v5-spacing-4, 8px) 0 var(--hi-v5-spacing-6, 12px);border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-menu-popmenu .hi-v5-menu-item__inner--active {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-menu-popmenu .hi-v5-menu-item__inner--active-p {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu-popmenu .hi-v5-menu-item__inner--expanded {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu-popmenu .hi-v5-menu-item__inner:not(.hi-v5-menu-item__inner--active):hover {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu-popmenu .hi-v5-menu-item__inner--disabled {color: var(--hi-v5-color-gray-400, #babcc2);cursor: not-allowed;}.hi-v5-menu-popmenu .hi-v5-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 100%;padding-right: var(--hi-v5-spacing-4, 8px);}.hi-v5-menu-popmenu.hi-v5-menu--size-sm .hi-v5-menu-item__inner {height: var(--hi-v5-height-8, 32px);}.hi-v5-menu-popmenu.hi-v5-menu--size-md .hi-v5-menu-item__inner {height: var(--hi-v5-height-9, 36px);}.hi-v5-menu-popmenu.hi-v5-menu--size-lg .hi-v5-menu-item__inner {height: var(--hi-v5-height-10, 40px);}.hi-v5-menu {background-color: var(--hi-v5-color-static-white, #fff);color: var(--hi-v5-color-gray-700, #1a1d26);font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v5-menu ul {margin: 0;padding: 0;}.hi-v5-menu-item {list-style: none;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: pointer;-webkit-transition: all 0.3s;transition: all 0.3s;}.hi-v5-menu-item__icon {color: var(--hi-v5-color-gray-500, #91959e);-webkit-margin-end: var(--hi-v5-spacing-4, 8px);margin-inline-end: var(--hi-v5-spacing-4, 8px);}.hi-v5-menu-item__icon svg[class^=hi-v5-icon] {font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-menu-item__arrow {color: var(--hi-v5-color-gray-500, #91959e);font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-menu-item__indent {display: inline-block;width: 24px;height: 100%;-ms-flex-negative: 0;flex-shrink: 0;}.hi-v5-menu-item--disabled {color: var(--hi-v5-color-gray-400, #babcc2);cursor: not-allowed;}.hi-v5-menu__wrapper {padding: 0;margin: 0;}.hi-v5-menu--horizontal {width: 100%;overflow: hidden;}.hi-v5-menu--horizontal .hi-v5-menu__wrapper {display: -webkit-box;display: -ms-flexbox;display: flex;overflow: visible;width: -webkit-max-content;width: -moz-max-content;width: max-content;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v5-menu--horizontal .hi-v5-menu-item {padding: 0 var(--hi-v5-spacing-10, 20px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;height: 56px;border: none;font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-menu--horizontal .hi-v5-menu-item__arrow {-webkit-margin-start: var(--hi-v5-spacing-2, 4px);margin-inline-start: var(--hi-v5-spacing-2, 4px);}.hi-v5-menu--horizontal .hi-v5-menu-item:hover {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item:hover .hi-v5-menu-item__inner {border-bottom: 2px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item--active {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item--active .hi-v5-menu-item__inner {border-bottom: 2px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item--active .hi-v5-menu-item__icon {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item--active-p {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item--active-p .hi-v5-menu-item__icon {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item__inner {height: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-sizing: border-box;box-sizing: border-box;border-bottom: 2px solid transparent;}.hi-v5-menu--horizontal .hi-v5-menu-item__inner--expanded {border-bottom: 2px solid var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--horizontal .hi-v5-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;white-space: nowrap;max-width: none;}.hi-v5-menu--horizontal .hi-v5-menu-item--disabled {color: var(--hi-v5-color-gray-400, #babcc2);cursor: not-allowed;}.hi-v5-menu--horizontal .hi-v5-menu-item--disabled:hover .hi-v5-menu-item__inner {border-color: var(--hi-v5-color-static-white, #fff);}.hi-v5-menu--horizontal .hi-v5-menu-item--disabled .hi-v5-menu-item__content {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-menu--vertical {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;padding: var(--hi-v5-spacing-4, 8px);width: 216px;-webkit-box-sizing: border-box;box-sizing: border-box;height: 100%;-webkit-transition: width 0.3s;transition: width 0.3s;}.hi-v5-menu--vertical .hi-v5-menu__wrapper {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: auto;}.hi-v5-menu--vertical.hi-v5-menu--mini {width: 56px;overflow-x: hidden;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini {padding-left: var(--hi-v5-spacing-2, 4px);padding-right: var(--hi-v5-spacing-2, 4px);}.hi-v5-menu--vertical.hi-v5-menu--popup .hi-v5-menu-item__inner--expanded {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu--vertical.hi-v5-menu--popup:not(.hi-v5-menu--mini) .hi-v5-menu__wrapper > .hi-v5-menu-item:last-child .hi-v5-menu-item__inner {margin-bottom: 0;}.hi-v5-menu--vertical .hi-v5-menu__toggle {width: var(--hi-v5-height-10, 40px);height: var(--hi-v5-height-10, 40px);cursor: pointer;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;border-radius: var(--hi-v5-border-radius-lg, 6px);color: var(--hi-v5-color-gray-500, #91959e);-ms-flex-negative: 0;flex-shrink: 0;-webkit-transition-duration: var(--hi-v5-motion-duration-normal, 200ms);transition-duration: var(--hi-v5-motion-duration-normal, 200ms);-webkit-transition-timing-function: var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));transition-timing-function: var(--hi-v5-motion-bezier-easing, cubic-bezier(0.37, 0.02, 0.34, 1));-webkit-transition-property: background-color;transition-property: background-color;}.hi-v5-menu--vertical .hi-v5-menu__toggle:hover {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu--vertical .hi-v5-menu-item__inner {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v5-spacing-4, 8px) 0 var(--hi-v5-spacing-6, 12px);border-radius: var(--hi-v5-border-radius-lg, 6px);-webkit-transition: all 0.3s;transition: all 0.3s;}.hi-v5-menu--vertical .hi-v5-menu-item__inner--active {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-menu--vertical .hi-v5-menu-item__inner--active .hi-v5-menu-item__icon {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--vertical .hi-v5-menu-item__inner--active-p {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--vertical .hi-v5-menu-item__inner--active-p .hi-v5-menu-item__icon {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu--vertical .hi-v5-menu-item__inner:not(.hi-v5-menu-item__inner--active):hover {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu--vertical .hi-v5-menu-item__content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-indent: 0.5px;}.hi-v5-menu--vertical .hi-v5-menu-item--disabled {color: var(--hi-v5-color-gray-400, #babcc2);cursor: not-allowed;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini {width: 60px;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini .hi-v5-menu-item__inner {-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-sizing: border-box;box-sizing: border-box;width: 52px;height: 48px;padding: 6px 6px 0;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini .hi-v5-menu-item__inner .hi-v5-menu-item__icon {-webkit-margin-end: 0;margin-inline-end: 0;-webkit-margin-after: 2px;margin-block-end: 2px;display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini .hi-v5-menu-item__inner .hi-v5-menu-item__icon svg[class^=hi-v5-icon] {font-size: 18px;}.hi-v5-menu--vertical.hi-v5-menu--mini.hi-v5-menu--show-title-on-mini .hi-v5-menu-item__inner .hi-v5-menu-item__content {-webkit-transform: scale(0.5);transform: scale(0.5);width: 200%;font-size: 20px;text-align: center;text-indent: 0;}.hi-v5-menu--vertical.hi-v5-menu--size-lg .hi-v5-menu-item__inner {height: var(--hi-v5-height-10, 40px);margin-bottom: var(--hi-v5-spacing-4, 8px);}.hi-v5-menu--vertical.hi-v5-menu--size-md .hi-v5-menu-item__inner {height: var(--hi-v5-height-9, 36px);margin-bottom: var(--hi-v5-spacing-2, 4px);}.hi-v5-menu--vertical.hi-v5-menu--size-sm .hi-v5-menu-item__inner {height: var(--hi-v5-height-8, 32px);margin-bottom: var(--hi-v5-spacing-1, 2px);}.hi-v5-sidebar-wrapper {position: relative;display: -webkit-box;display: -ms-flexbox;display: flex;width: -webkit-fit-content;width: -moz-fit-content;width: fit-content;height: 100%;}.hi-v5-sidebar-wrapper:not(.hi-v5-sidebar-wrapper-showMenuArrow) .hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__arrow {display: none;}.hi-v5-sidebar-wrapper--showMenu .hi-v5-sidebar-menu-wrapper {border-right: 1px solid var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-sidebar-wrapper--showMenu .hi-v5-sidebar-toggle svg[class^=hi-v5-icon] {-webkit-transform: rotate(180deg);transform: rotate(180deg);}.hi-v5-sidebar-wrapper:not(.hi-v5-sidebar-wrapper--collapsible) .hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__inner--expanded:hover {background-color: transparent;cursor: default;}.hi-v5-sidebar {-webkit-box-sizing: border-box;box-sizing: border-box;width: 64px;height: 100%;padding: var(--hi-v5-spacing-4, 8px) 0;overflow: auto;border-right: 1px solid var(--hi-v5-color-gray-300, #dbdde0);background-color: #fff;}.hi-v5-sidebar-list {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;}.hi-v5-sidebar-item {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;list-style: none;margin: var(--hi-v5-spacing-6, 12px) var(--hi-v5-spacing-2, 4px) 0;padding: var(--hi-v5-spacing-3, 6px) var(--hi-v5-spacing-1, 2px);width: 52px;overflow: hidden;text-align: center;border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-sidebar-item:first-child {margin-top: 0;}.hi-v5-sidebar-item:hover {cursor: pointer;}.hi-v5-sidebar-item:not(.hi-v5-sidebar-item--active):hover {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-sidebar-item--active {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-sidebar-item--active .hi-v5-sidebar-item__icon, .hi-v5-sidebar-item--active .hi-v5-sidebar-item__title {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-sidebar-item__icon {height: 20px;color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-sidebar-item__icon svg[class^=hi-v5-icon] {width: 20px;height: 20px;}.hi-v5-sidebar-item__title {font-size: var(--hi-v5-text-size-sm, 0.75rem);line-height: 20px;color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-sidebar-menu-wrapper {width: 0;border-right: none;overflow: hidden;-webkit-transition: width 0.3s;transition: width 0.3s;}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item .hi-v5-menu-item__inner {height: var(--hi-v5-height-8, 32px);margin-bottom: 0;padding: 0 var(--hi-v5-spacing-4, 8px);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item .hi-v5-menu-item__inner--hasIcon + div .hi-v5-menu-submenu .hi-v5-menu-item__indent {width: 20px;}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__icon {color: var(--hi-v5-color-gray-600, #60636b);-webkit-margin-end: var(--hi-v5-spacing-2, 4px);margin-inline-end: var(--hi-v5-spacing-2, 4px);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__indent {width: 14px;}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__content {font-weight: 550;}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__inner--active-p {color: var(--hi-v5-color-gray-700, #1a1d26);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-item__inner--active-p .hi-v5-menu-item__icon {color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu-submenu .hi-v5-menu-item__inner .hi-v5-menu-item__content {font-size: var(--hi-v5-text-size-sm, 0.75rem);font-weight: var(--hi-v5-text-weight-normal, 400);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu__wrapper > .hi-v5-menu-item {margin-top: var(--hi-v5-spacing-4, 8px);}.hi-v5-sidebar-menu-wrapper .hi-v5-menu__wrapper > .hi-v5-menu-item:first-child {margin-top: 0;}.hi-v5-sidebar-toggle {-webkit-box-sizing: border-box;box-sizing: border-box;position: absolute;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;width: 12px;height: 60px;right: -11px;top: 50%;-webkit-transform: translateY(-50%);transform: translateY(-50%);border-start-end-radius: 16px 8px;border-end-end-radius: 16px 8px;border: 1px solid var(--hi-v5-color-gray-300, #dbdde0);border-left: none;cursor: pointer;color: var(--hi-v5-color-gray-600, #60636b);background-color: #fff;}.hi-v5-sidebar-toggle svg[class^=hi-v5-icon] {margin-left: -4px;}.hi-v5-menu-search {min-width: 360px;border-radius: var(--hi-v5-border-radius-xl, 8px);overflow: hidden;background-color: var(--hi-v5-color-static-white, #fff);}.hi-v5-menu-search__input-wrapper {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: 0 var(--hi-v5-spacing-8, 16px) 0 calc(var(--hi-v5-spacing-2, 4px) + 1px);height: var(--hi-v5-height-12, 48px);}.hi-v5-menu-search--open .hi-v5-menu-search__input-wrapper {border-bottom-left-radius: 0;border-bottom-right-radius: 0;}.hi-v5-menu-search__input .hi-v5-input__inner:hover {background-color: transparent !important;}.hi-v5-menu-search__input-prefix {color: var(--hi-v5-color-gray-600, #60636b);}.hi-v5-menu-search__input-clear {font-size: var(--hi-v5-text-size-sm, 0.75rem);}.hi-v5-menu-search__close {display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;height: var(--hi-v5-height-4, 16px);padding-left: var(--hi-v5-spacing-5, 10px);border-left: var(--hi-v5-border-size-normal, 1px solid) var(--hi-v5-color-gray-300, #dbdde0);}.hi-v5-menu-search__content {-webkit-box-sizing: border-box;box-sizing: border-box;display: none;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;padding: var(--hi-v5-spacing-4, 8px);max-height: 550px;border-top: var(--hi-v5-border-size-normal, 1px solid) var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu-search__content--visible {display: -webkit-box;display: -ms-flexbox;display: flex;}.hi-v5-menu-search__header {padding: 0 var(--hi-v5-spacing-4, 8px) var(--hi-v5-spacing-4, 8px);font-size: var(--hi-v5-text-size-sm, 0.75rem);line-height: var(--hi-v5-text-lineheight-sm, 1.25rem);font-weight: var(--hi-v5-text-weight-medium, 500);color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-menu-search__header-count {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-menu-search__list {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;overflow-y: auto;position: relative;outline: none;}.hi-v5-menu-search__list:focus {outline: none;}.hi-v5-menu-search__list-item {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;height: var(--hi-v5-height-10, 40px);padding: calc(var(--hi-v5-spacing-4, 8px) + 1px) var(--hi-v5-spacing-4, 8px);line-height: var(--hi-v5-text-lineheight-sm, 1.25rem);border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-menu-search__list-item__title {font-size: var(--hi-v5-text-size-md, 0.875rem);color: var(--hi-v5-color-gray-700, #1a1d26);}.hi-v5-menu-search__list-item--selected, .hi-v5-menu-search__list-item:hover {cursor: pointer;background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-menu-search__empty {padding: calc(var(--hi-v5-spacing-2, 4px) + 1px) var(--hi-v5-spacing-4, 8px);font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-menu-search__footer {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding: var(--hi-v5-spacing-5, 10px) var(--hi-v5-spacing-8, 16px);background-color: #f5f7fa;}.hi-v5-menu-search__footer-item {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;margin-right: var(--hi-v5-spacing-8, 16px);font-size: var(--hi-v5-text-size-sm, 0.75rem);color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-menu-search__footer-item__icon {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;gap: var(--hi-v5-spacing-1, 2px);margin-right: var(--hi-v5-spacing-2, 4px);padding: 0 var(--hi-v5-spacing-2, 4px);height: var(--hi-v5-height-5, 20px);border: var(--hi-v5-border-size-normal, 1px solid) var(--hi-v5-color-gray-300, #dbdde0);border-radius: var(--hi-v5-border-radius-md, 4px);}.hi-v5-menu-search__picker-overlay .hi-v5-menu-search__picker-container {min-width: 360px;border-top-left-radius: 0;border-top-right-radius: 0;}.hi-v5-menu-search__picker-overlay .hi-v5-menu-search__picker-panel {border-top: none;border-top-left-radius: 0;border-top-right-radius: 0;}.hi-v5-menu-search__picker-overlay .hi-v5-menu-search__picker-body {max-height: 544px;}.hi-v5-menu-search__picker-overlay .hi-v5-menu-search__picker-footer {-webkit-box-shadow: none;box-shadow: none;background-color: #f5f7fa;}.hi-v5-group-menu {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;height: 100%;padding: var(--hi-v5-spacing-4, 8px) 0;}.hi-v5-group-menu-item:not(:first-child) {margin-top: var(--hi-v5-spacing-4, 8px);}.hi-v5-group-menu-item__content {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;height: var(--hi-v5-height-8, 32px);padding: 0 var(--hi-v5-spacing-4, 8px);margin: 0 var(--hi-v5-spacing-4, 8px);border-radius: var(--hi-v5-border-radius-lg, 6px);font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);color: var(--hi-v5-color-gray-700, #1a1d26);}.hi-v5-group-menu-item:not(.hi-v5-group-menu-item--parent):not(.hi-v5-group-menu-item--disabled) {cursor: pointer;}.hi-v5-group-menu-item:not(.hi-v5-group-menu-item--parent):not(.hi-v5-group-menu-item--disabled):hover .hi-v5-group-menu-item__content {background-color: var(--hi-v5-color-gray-100, #edeff2);}.hi-v5-group-menu-item:not(.hi-v5-group-menu-item--parent):not(.hi-v5-group-menu-item--disabled).hi-v5-group-menu-item--active > .hi-v5-group-menu-item__content {font-weight: var(--hi-v5-text-weight-medium, 500);color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));}.hi-v5-group-menu-item:not(.hi-v5-group-menu-item--parent):not(.hi-v5-group-menu-item--disabled).hi-v5-group-menu-item--active:hover > .hi-v5-group-menu-item__content {background-color: var(--hi-v5-color-primary-100, var(--hi-v5-color-brandblue-100, #e5ecff));}.hi-v5-group-menu-item--disabled > .hi-v5-group-menu-item__content {color: var(--hi-v5-color-gray-400, #babcc2);}.hi-v5-group-menu-item--empty > .hi-v5-group-menu-item__content {display: none;}.hi-v5-group-menu-item__icon {display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;margin-right: var(--hi-v5-spacing-4, 8px);font-size: var(--hi-v5-text-size-lg, 1rem);}.hi-v5-group-menu-parent-item {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}.hi-v5-group-menu-parent-item > .hi-v5-group-menu-item__content {height: var(--hi-v5-height-7, 28px);color: var(--hi-v5-color-gray-500, #91959e);}.hi-v5-group-menu-parent-item > .hi-v5-group-menu-item__content .hi-v5-group-menu-item__title {font-size: var(--hi-v5-text-size-sm, 0.75rem);line-height: var(--hi-v5-text-lineheight-sm, 1.25rem);}.hi-v5-group-menu-parent-item:not(:first-child) > .hi-v5-group-menu-item__content {margin-top: var(--hi-v5-spacing-12, 24px);}.hi-v5-group-menu-parent-item + .hi-v5-group-menu-item {margin-top: var(--hi-v5-spacing-12, 24px);}.hi-v5-side-menu {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;padding: var(--hi-v5-spacing-2, 4px) 0;-webkit-transition: width 0.3s;transition: width 0.3s;}.hi-v5-side-menu-item {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;height: var(--hi-v5-height-8, 32px);padding: 0 var(--hi-v5-spacing-4, 8px);font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);color: var(--hi-v5-color-gray-700, #1a1d26);border-radius: var(--hi-v5-border-radius-lg, 6px);cursor: pointer;position: relative;}.hi-v5-side-menu-item:hover, .hi-v5-side-menu-item--selected {background-color: rgba(124, 135, 166, 0.15);}.hi-v5-side-menu-item-wrapper {padding: var(--hi-v5-spacing-2, 4px) var(--hi-v5-spacing-4, 8px);}.hi-v5-side-menu-item--active {font-weight: var(--hi-v5-text-weight-medium, 500);color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));background-color: var(--hi-v5-color-static-white, #fff);}.hi-v5-side-menu-item--active:hover {background-color: var(--hi-v5-color-static-white, #fff);}.hi-v5-side-menu-item--active .hi-v5-side-menu-item__icon {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-side-menu-item__icon {display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;margin-right: var(--hi-v5-spacing-4, 8px);color: #7c87a6;}.hi-v5-side-menu-item__title {min-width: 1px;}.hi-v5-side-menu-item--mini {-webkit-box-sizing: border-box;box-sizing: border-box;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;padding: var(--hi-v5-spacing-3, 6px) var(--hi-v5-spacing-3, 6px) 0;width: 52px;height: 48px;}.hi-v5-side-menu-item--mini .hi-v5-side-menu-item__icon {margin-right: 0;font-size: 18px;}.hi-v5-side-menu-item--mini .hi-v5-side-menu-item__title {width: 200%;font-size: 20px;text-align: center;text-indent: 0;-webkit-transform: scale(0.5);transform: scale(0.5);}.hi-v5-side-menu--mini .hi-v5-side-menu-item-wrapper {padding: var(--hi-v5-spacing-2, 4px);}.hi-v5-side-menu .hi-v5-scrollbar__wrapper {width: 100%;}";
|
|
12
12
|
__styleInject__(css_248z);
|
|
13
13
|
export { css_248z as default };
|
package/lib/esm/util.js
CHANGED
|
@@ -8,7 +8,39 @@
|
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
9
|
*/
|
|
10
10
|
import { cloneTree, filterTree, getTreeNodesWithChildren } from '@hi-ui/tree-utils';
|
|
11
|
-
|
|
11
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
12
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
13
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
14
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
15
|
+
if (it) o = it;
|
|
16
|
+
var i = 0;
|
|
17
|
+
return function () {
|
|
18
|
+
if (i >= o.length) return {
|
|
19
|
+
done: true
|
|
20
|
+
};
|
|
21
|
+
return {
|
|
22
|
+
done: false,
|
|
23
|
+
value: o[i++]
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
28
|
+
}
|
|
29
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
30
|
+
if (!o) return;
|
|
31
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
32
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
33
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
34
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
35
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
36
|
+
}
|
|
37
|
+
function _arrayLikeToArray(arr, len) {
|
|
38
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
39
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
40
|
+
arr2[i] = arr[i];
|
|
41
|
+
}
|
|
42
|
+
return arr2;
|
|
43
|
+
}
|
|
12
44
|
// 寻找某一节点的父节点
|
|
13
45
|
var getParentId = function getParentId(id, data) {
|
|
14
46
|
var parentId = '';
|
|
@@ -85,4 +117,65 @@ var transformTreeData = function transformTreeData(data, fieldNames) {
|
|
|
85
117
|
};
|
|
86
118
|
return data.map(traverseTreeNode);
|
|
87
119
|
};
|
|
88
|
-
|
|
120
|
+
/**
|
|
121
|
+
* 增强版搜索函数,返回包含路径信息的结果
|
|
122
|
+
*/
|
|
123
|
+
function searchMenuWithPath(data, keyword) {
|
|
124
|
+
if (!keyword || !data || data.length === 0) {
|
|
125
|
+
return [];
|
|
126
|
+
}
|
|
127
|
+
var results = [];
|
|
128
|
+
var processedIds = new Set();
|
|
129
|
+
function searchInTree(nodes, currentPath) {
|
|
130
|
+
if (currentPath === void 0) {
|
|
131
|
+
currentPath = [];
|
|
132
|
+
}
|
|
133
|
+
var _a;
|
|
134
|
+
for (var _iterator3 = _createForOfIteratorHelperLoose(nodes), _step3; !(_step3 = _iterator3()).done;) {
|
|
135
|
+
var node = _step3.value;
|
|
136
|
+
var nodePath = [].concat(currentPath, [node]);
|
|
137
|
+
var isMatched = (_a = node.title) === null || _a === void 0 ? void 0 : _a.toString().toLowerCase().includes(keyword.toLowerCase());
|
|
138
|
+
if (isMatched) {
|
|
139
|
+
if (!node.children || node.children.length === 0) {
|
|
140
|
+
// 叶子节点
|
|
141
|
+
if (!processedIds.has(node.id)) {
|
|
142
|
+
results.push({
|
|
143
|
+
node: node,
|
|
144
|
+
path: nodePath,
|
|
145
|
+
level: nodePath.length - 1
|
|
146
|
+
});
|
|
147
|
+
processedIds.add(node.id);
|
|
148
|
+
}
|
|
149
|
+
} else {
|
|
150
|
+
// 父节点,添加所有子节点
|
|
151
|
+
addAllDescendantsWithPath(node.children, nodePath);
|
|
152
|
+
}
|
|
153
|
+
} else {
|
|
154
|
+
// 继续搜索子节点
|
|
155
|
+
if (node.children && node.children.length > 0) {
|
|
156
|
+
searchInTree(node.children, nodePath);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function addAllDescendantsWithPath(children, parentPath) {
|
|
162
|
+
for (var _iterator4 = _createForOfIteratorHelperLoose(children), _step4; !(_step4 = _iterator4()).done;) {
|
|
163
|
+
var child = _step4.value;
|
|
164
|
+
var childPath = [].concat(parentPath, [child]);
|
|
165
|
+
if (!processedIds.has(child.id)) {
|
|
166
|
+
results.push({
|
|
167
|
+
node: child,
|
|
168
|
+
path: childPath,
|
|
169
|
+
level: childPath.length - 1
|
|
170
|
+
});
|
|
171
|
+
processedIds.add(child.id);
|
|
172
|
+
}
|
|
173
|
+
if (child.children && child.children.length > 0) {
|
|
174
|
+
addAllDescendantsWithPath(child.children, childPath);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
searchInTree(data);
|
|
179
|
+
return results;
|
|
180
|
+
}
|
|
181
|
+
export { filterTreeData, getAncestorIds, getIdsWithChildren, getParentId, searchMenuWithPath, transformTreeData };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EnterIcon: () => JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HiBaseHTMLProps } from '@hi-ui/core';
|
|
3
|
+
import { MenuDataItem } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* 分组菜单
|
|
6
|
+
*/
|
|
7
|
+
export declare const GroupMenu: React.ForwardRefExoticComponent<GroupMenuProps & React.RefAttributes<HTMLDivElement | null>>;
|
|
8
|
+
export interface GroupMenuProps extends Omit<HiBaseHTMLProps<'div'>, 'onClick'> {
|
|
9
|
+
/**
|
|
10
|
+
* 菜单项数据列表
|
|
11
|
+
*/
|
|
12
|
+
data: MenuDataItem[];
|
|
13
|
+
/**
|
|
14
|
+
* 默认激活的菜单项 id
|
|
15
|
+
*/
|
|
16
|
+
defaultActiveId?: React.ReactText;
|
|
17
|
+
/**
|
|
18
|
+
* 激活的菜单项 id
|
|
19
|
+
*/
|
|
20
|
+
activeId?: React.ReactText;
|
|
21
|
+
/**
|
|
22
|
+
* 点击菜单选项时的回调
|
|
23
|
+
*/
|
|
24
|
+
onClick?: (evt: React.MouseEvent<HTMLDivElement>, menuId: React.ReactText, menuItem: MenuDataItem) => void;
|
|
25
|
+
/**
|
|
26
|
+
* 自定义渲染菜单项标题
|
|
27
|
+
*/
|
|
28
|
+
titleRender?: (menuItem: MenuDataItem) => React.ReactNode;
|
|
29
|
+
}
|