@jetlinks-web/components 3.3.11 → 3.3.13
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/es/CardSelect/style/index.js +3 -3
- package/es/CheckButton/style/index.js +9 -9
- package/es/DragModal/style/index.js +6 -6
- package/es/EditTable/FormItem.js +18 -15
- package/es/EditTable/components/Search/sort.js +15 -1
- package/es/EditTable/style/body.js +8 -6
- package/es/EditTable/style/group.js +3 -3
- package/es/EditTable/style/header.js +3 -3
- package/es/EditTable/style/menu.js +3 -3
- package/es/EditTable/style/table.js +3 -3
- package/es/FullPage/FullPage.js +15 -5
- package/es/ProLayout/SiderMenu/style.js +105 -26
- package/es/ProLayout/TopHeader/style.js +55 -11
- package/es/ProTable/ProTable.js +2 -4
- package/es/ProTable/style/index.js +11 -8
- package/es/RadioButton/style/index.js +3 -2
- package/es/Scrollbar/style/index.js +9 -9
- package/es/Search/Item.js +25 -19
- package/es/Search/style/search.js +5 -5
- package/es/Skeleton/components/Page.js +18 -5
- package/es/Skeleton/style/index.js +12 -6
- package/es/Title/style/index.js +2 -2
- package/es/VirtualTable/style/index.js +7 -4
- package/es/style/scrollbar.js +24 -0
- package/es/style/styleRegister.js +45 -11
- package/es/style/variable.js +1 -4
- package/lib/CardSelect/style/index.js +3 -3
- package/lib/CheckButton/style/index.js +9 -9
- package/lib/DragModal/style/index.js +6 -6
- package/lib/EditTable/FormItem.js +18 -15
- package/lib/EditTable/components/Search/sort.js +15 -1
- package/lib/EditTable/style/body.js +8 -6
- package/lib/EditTable/style/group.js +3 -3
- package/lib/EditTable/style/header.js +3 -3
- package/lib/EditTable/style/menu.js +3 -3
- package/lib/EditTable/style/table.js +3 -3
- package/lib/FullPage/FullPage.js +15 -5
- package/lib/ProLayout/SiderMenu/style.js +104 -25
- package/lib/ProLayout/TopHeader/style.js +55 -11
- package/lib/ProTable/ProTable.js +2 -4
- package/lib/ProTable/style/index.js +10 -7
- package/lib/RadioButton/style/index.js +3 -2
- package/lib/Scrollbar/style/index.js +8 -8
- package/lib/Search/Item.js +25 -19
- package/lib/Search/style/search.js +5 -5
- package/lib/Skeleton/components/Page.js +18 -5
- package/lib/Skeleton/style/index.js +12 -6
- package/lib/Title/style/index.js +2 -2
- package/lib/VirtualTable/style/index.js +6 -3
- package/lib/style/scrollbar.js +30 -0
- package/lib/style/styleRegister.js +44 -10
- package/lib/style/variable.js +1 -4
- package/package.json +1 -1
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
/* Analyzed bindings: {
|
|
2
|
-
"
|
|
2
|
+
"computed": "setup-const",
|
|
3
3
|
"inject": "setup-const",
|
|
4
|
+
"ref": "setup-const",
|
|
5
|
+
"theme": "setup-maybe-ref",
|
|
4
6
|
"useElementBounding": "setup-maybe-ref",
|
|
5
7
|
"FullPageConfig": "setup-maybe-ref",
|
|
6
8
|
"config": "setup-maybe-ref",
|
|
7
9
|
"fullPage": "setup-ref",
|
|
8
|
-
"y": "setup-maybe-ref"
|
|
10
|
+
"y": "setup-maybe-ref",
|
|
11
|
+
"token": "setup-maybe-ref",
|
|
12
|
+
"wrapStyle": "setup-ref"
|
|
9
13
|
} */
|
|
10
14
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
|
-
import {
|
|
15
|
+
import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
12
16
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
13
|
-
import {
|
|
17
|
+
import { computed, inject, ref } from 'vue';
|
|
18
|
+
import { theme } from 'ant-design-vue';
|
|
14
19
|
import { useElementBounding } from '@vueuse/core';
|
|
15
20
|
import { FullPageConfig } from "../utils/constants";
|
|
16
21
|
const __sfc_main__ = _defineComponent({
|
|
@@ -21,12 +26,17 @@ const __sfc_main__ = _defineComponent({
|
|
|
21
26
|
const config = inject(FullPageConfig, { reduceHeight: 24 });
|
|
22
27
|
const fullPage = ref(null);
|
|
23
28
|
const { y } = useElementBounding(fullPage);
|
|
29
|
+
const { token } = theme.useToken();
|
|
30
|
+
const wrapStyle = computed(() => ({
|
|
31
|
+
minHeight: `calc(100vh - ${y.value + config.reduceHeight}px)`,
|
|
32
|
+
background: token.value.colorBgContainer,
|
|
33
|
+
}));
|
|
24
34
|
return (_ctx, _cache) => {
|
|
25
35
|
return (_openBlock(), _createElementBlock("div", {
|
|
26
36
|
class: "full-page-warp",
|
|
27
37
|
ref_key: "fullPage",
|
|
28
38
|
ref: fullPage,
|
|
29
|
-
style: _normalizeStyle(
|
|
39
|
+
style: _normalizeStyle(wrapStyle.value)
|
|
30
40
|
}, [
|
|
31
41
|
_createElementVNode("div", _hoisted_1, [
|
|
32
42
|
_renderSlot(_ctx.$slots, "default")
|
|
@@ -8,10 +8,19 @@ exports.genSiderMenuStyle = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _antDesignVue = require("ant-design-vue");
|
|
10
10
|
var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(config) {
|
|
11
|
-
var _$
|
|
11
|
+
var _$concat0;
|
|
12
12
|
var token = config.token;
|
|
13
13
|
var proLayoutSiderMenuCls = "".concat(token.antCls, "-pro-sider");
|
|
14
14
|
var proLayoutHeaderHeight = '48px';
|
|
15
|
+
var isAntdvDarkTheme = ['#000', '#000000'].includes(String(token.colorBgLayout).toLowerCase());
|
|
16
|
+
var darkMenuBg = isAntdvDarkTheme ? token.colorBgLayout : '#001529';
|
|
17
|
+
var darkMenuSubBg = isAntdvDarkTheme ? token.colorBgContainer : '#000c17';
|
|
18
|
+
var darkMenuPopupBg = isAntdvDarkTheme ? token.colorBgElevated : '#001529';
|
|
19
|
+
var darkMenuHoverBg = isAntdvDarkTheme ? token.colorFillTertiary : 'rgba(255, 255, 255, 0.08)';
|
|
20
|
+
var darkMenuActiveBg = isAntdvDarkTheme ? token.colorFillSecondary : 'rgba(255, 255, 255, 0.12)';
|
|
21
|
+
var darkMenuTextColor = isAntdvDarkTheme ? token.colorText : 'rgba(255, 255, 255, 0.85)';
|
|
22
|
+
var darkMenuTextSecondaryColor = isAntdvDarkTheme ? token.colorTextSecondary : 'rgba(255, 255, 255, 0.65)';
|
|
23
|
+
var darkMenuTextHoverColor = isAntdvDarkTheme ? token.colorTextHeading : '#fff';
|
|
15
24
|
var proLayoutTitleHideKeyframes = new _antDesignVue.Keyframes('pro-layout-title-hide', {
|
|
16
25
|
'0%': {
|
|
17
26
|
display: 'none',
|
|
@@ -26,14 +35,46 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
26
35
|
opacity: 1
|
|
27
36
|
}
|
|
28
37
|
});
|
|
29
|
-
return ["\n ".concat(proLayoutSiderMenuCls, " > ").concat(token.antCls, "-layout-sider-children {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n "), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(proLayoutSiderMenuCls), (_$
|
|
38
|
+
return ["\n ".concat(proLayoutSiderMenuCls, " > ").concat(token.antCls, "-layout-sider-children {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n "), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(proLayoutSiderMenuCls), (_$concat0 = {
|
|
30
39
|
position: 'relative',
|
|
31
|
-
|
|
40
|
+
background: darkMenuBg,
|
|
32
41
|
borderRight: 0,
|
|
33
42
|
// FIXME: 临时修正(可能不会做兼容)
|
|
34
43
|
zIndex: 20
|
|
35
|
-
}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_$
|
|
44
|
+
}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_$concat0, "".concat(token.antCls, "-menu"), {
|
|
36
45
|
background: 'transparent'
|
|
46
|
+
}), "&".concat(proLayoutSiderMenuCls, "-dark, &").concat(token.antCls, "-layout-sider-dark"), (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
47
|
+
background: darkMenuBg
|
|
48
|
+
}, "".concat(token.antCls, "-layout-sider-children"), {
|
|
49
|
+
background: darkMenuBg
|
|
50
|
+
}), "".concat(token.antCls, "-menu-dark"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
51
|
+
color: darkMenuTextColor,
|
|
52
|
+
background: 'transparent'
|
|
53
|
+
}, "".concat(token.antCls, "-menu-sub"), {
|
|
54
|
+
background: darkMenuSubBg
|
|
55
|
+
}), "".concat(token.antCls, "-menu-item, ").concat(token.antCls, "-menu-submenu-title"), {
|
|
56
|
+
color: darkMenuTextColor
|
|
57
|
+
}), "".concat(token.antCls, "-menu-item a, ").concat(token.antCls, "-menu-submenu-title a"), {
|
|
58
|
+
color: 'inherit'
|
|
59
|
+
}), "".concat(token.antCls, "-menu-item .anticon, ").concat(token.antCls, "-menu-submenu-title .anticon, ").concat(token.antCls, "-menu-submenu-arrow"), {
|
|
60
|
+
color: darkMenuTextSecondaryColor
|
|
61
|
+
}), "".concat(token.antCls, "-menu-item:hover, ").concat(token.antCls, "-menu-submenu-title:hover"), {
|
|
62
|
+
color: darkMenuTextHoverColor,
|
|
63
|
+
backgroundColor: darkMenuHoverBg
|
|
64
|
+
}), "".concat(token.antCls, "-menu-item:hover .anticon, ").concat(token.antCls, "-menu-submenu-title:hover .anticon, ").concat(token.antCls, "-menu-submenu-title:hover ").concat(token.antCls, "-menu-submenu-arrow"), {
|
|
65
|
+
color: darkMenuTextHoverColor
|
|
66
|
+
}), "".concat(token.antCls, "-menu-submenu-open > ").concat(token.antCls, "-menu-submenu-title"), {
|
|
67
|
+
color: darkMenuTextHoverColor,
|
|
68
|
+
backgroundColor: darkMenuActiveBg
|
|
69
|
+
}), "".concat(token.antCls, "-menu-item-selected"), {
|
|
70
|
+
color: token.colorTextLightSolid,
|
|
71
|
+
backgroundColor: token.colorPrimary
|
|
72
|
+
}), "".concat(token.antCls, "-menu-item-selected a, ").concat(token.antCls, "-menu-item-selected .anticon"), {
|
|
73
|
+
color: token.colorTextLightSolid
|
|
74
|
+
}))), "&".concat(proLayoutSiderMenuCls, "-dark").concat(token.antCls, "-layout-sider-dark"), {
|
|
75
|
+
background: darkMenuBg
|
|
76
|
+
}), "&".concat(proLayoutSiderMenuCls, "-dark ").concat(token.antCls, "-menu-dark").concat(token.antCls, "-menu-inline ").concat(token.antCls, "-menu-sub").concat(token.antCls, "-menu-inline"), {
|
|
77
|
+
background: darkMenuSubBg
|
|
37
78
|
}), "&".concat(token.antCls, "-layout-sider-light"), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(token.antCls, "-menu-item a"), {
|
|
38
79
|
color: token.colorTextHeading
|
|
39
80
|
}), "".concat(token.antCls, "-menu-item-selected a, ").concat(token.antCls, "-menu-item a:hover"), {
|
|
@@ -51,12 +92,12 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
51
92
|
justifyContent: 'center',
|
|
52
93
|
minHeight: 32
|
|
53
94
|
},
|
|
54
|
-
|
|
95
|
+
img: {
|
|
55
96
|
display: 'inline-block',
|
|
56
97
|
height: 32,
|
|
57
98
|
verticalAlign: 'middle'
|
|
58
99
|
},
|
|
59
|
-
|
|
100
|
+
h1: {
|
|
60
101
|
display: 'inline-block',
|
|
61
102
|
height: '32px',
|
|
62
103
|
margin: '0 0 0 12px',
|
|
@@ -89,7 +130,7 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
89
130
|
width: '6px',
|
|
90
131
|
height: '6px'
|
|
91
132
|
},
|
|
92
|
-
'
|
|
133
|
+
'::-webkit-scrollbar-track': {
|
|
93
134
|
background: 'rgba(255, 255, 255, 0.15)',
|
|
94
135
|
borderRadius: '3px',
|
|
95
136
|
boxShadow: 'inset 0 0 5px rgba(37, 37, 37, 0.05)'
|
|
@@ -102,9 +143,24 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
102
143
|
}
|
|
103
144
|
}, "".concat(proLayoutSiderMenuCls, "-logo"), {
|
|
104
145
|
h1: {
|
|
105
|
-
color:
|
|
146
|
+
color: darkMenuTextHoverColor
|
|
147
|
+
}
|
|
148
|
+
})), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_$concat0, "".concat(proLayoutSiderMenuCls, "-body"), {
|
|
149
|
+
scrollbarWidth: 'thin',
|
|
150
|
+
scrollbarColor: 'rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.15)',
|
|
151
|
+
'::-webkit-scrollbar': {
|
|
152
|
+
width: '6px',
|
|
153
|
+
height: '6px'
|
|
154
|
+
},
|
|
155
|
+
'::-webkit-scrollbar-track': {
|
|
156
|
+
background: 'rgba(255, 255, 255, 0.15)',
|
|
157
|
+
borderRadius: '3px'
|
|
158
|
+
},
|
|
159
|
+
'::-webkit-scrollbar-thumb': {
|
|
160
|
+
background: 'rgba(255, 255, 255, 0.2)',
|
|
161
|
+
borderRadius: '3px'
|
|
106
162
|
}
|
|
107
|
-
})
|
|
163
|
+
}), "&".concat(token.antCls, "-layout-sider-collapsed"), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(token.antCls, "-menu-inline-collapsed"), {
|
|
108
164
|
width: '48px'
|
|
109
165
|
}), "".concat(proLayoutSiderMenuCls), (0, _defineProperty2.default)({}, "".concat(proLayoutSiderMenuCls, "-logo"), {
|
|
110
166
|
padding: '16px 24px'
|
|
@@ -120,30 +176,37 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
120
176
|
}, "> ".concat(token.antCls, "-menu-root"), (0, _defineProperty2.default)({}, ":not".concat(proLayoutSiderMenuCls, "-link-menu"), {
|
|
121
177
|
height: "calc(100vh - ".concat(proLayoutHeaderHeight, ")"),
|
|
122
178
|
overflowY: 'auto'
|
|
123
|
-
}))), "&".concat(proLayoutSiderMenuCls, "-light"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
179
|
+
}))), "&".concat(proLayoutSiderMenuCls, "-light"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
124
180
|
backgroundColor: token.colorBgContainer,
|
|
125
181
|
boxShadow: '2px 0 8px 0 rgba(29, 35, 41, 0.05)'
|
|
126
182
|
}, "".concat(token.antCls, "-layout-sider-children"), {
|
|
127
|
-
'
|
|
183
|
+
'::-webkit-scrollbar-track': {
|
|
128
184
|
background: 'rgba(0, 0, 0, 0.06)',
|
|
129
185
|
borderRadius: '3px',
|
|
130
|
-
boxShadow: 'inset 0 0 5px rgba(0, 21, 41, 0.05)'
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
186
|
+
boxShadow: 'inset 0 0 5px rgba(0, 21, 41, 0.05)'
|
|
187
|
+
},
|
|
188
|
+
'::-webkit-scrollbar-thumb': {
|
|
189
|
+
background: 'rgba(0, 0, 0, 0.12)',
|
|
190
|
+
borderRadius: '3px',
|
|
191
|
+
boxShadow: 'inset 0 0 5px rgba(0, 21, 41, 0.05)'
|
|
192
|
+
}
|
|
193
|
+
}), "".concat(proLayoutSiderMenuCls, "-body"), {
|
|
194
|
+
scrollbarColor: 'rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.06)',
|
|
195
|
+
'::-webkit-scrollbar-track': {
|
|
196
|
+
background: 'rgba(0, 0, 0, 0.06)'
|
|
197
|
+
},
|
|
198
|
+
'::-webkit-scrollbar-thumb': {
|
|
199
|
+
background: 'rgba(0, 0, 0, 0.12)'
|
|
137
200
|
}
|
|
138
201
|
}), "".concat(proLayoutSiderMenuCls, "-logo"), {
|
|
139
|
-
|
|
202
|
+
h1: {
|
|
140
203
|
color: token.colorPrimary
|
|
141
204
|
}
|
|
142
205
|
}), "".concat(token.antCls, "-menu-light"), {
|
|
143
206
|
borderRightColor: 'transparent'
|
|
144
207
|
}), "".concat(proLayoutSiderMenuCls, "-collapsed-button"), {
|
|
145
208
|
borderTop: "".concat(token.lineWidth, " solid ").concat(token.colorSplit)
|
|
146
|
-
})),
|
|
209
|
+
})), "".concat(proLayoutSiderMenuCls, "-icon"), {
|
|
147
210
|
width: '14px',
|
|
148
211
|
verticalAlign: 'baseline'
|
|
149
212
|
}), "".concat(proLayoutSiderMenuCls, "-links"), (0, _defineProperty2.default)({
|
|
@@ -159,19 +222,35 @@ var genSiderMenuStyle = exports.genSiderMenuStyle = function genSiderMenuStyle(c
|
|
|
159
222
|
height: '100%',
|
|
160
223
|
lineHeight: 1
|
|
161
224
|
}), '.drawer .drawer-content', {
|
|
162
|
-
background:
|
|
163
|
-
}))), "".concat(token.antCls, "-pro-menu-
|
|
225
|
+
background: darkMenuBg
|
|
226
|
+
}))), "".concat(token.antCls, "-pro-menu-popup"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(token.antCls, "-menu, ").concat(token.antCls, "-menu-dark"), {
|
|
227
|
+
background: darkMenuPopupBg,
|
|
228
|
+
color: darkMenuTextColor
|
|
229
|
+
}), "".concat(token.antCls, "-menu-item, ").concat(token.antCls, "-menu-submenu-title"), {
|
|
230
|
+
color: darkMenuTextColor
|
|
231
|
+
}), "".concat(token.antCls, "-menu-item a"), {
|
|
232
|
+
color: 'inherit'
|
|
233
|
+
}), "".concat(token.antCls, "-menu-item:hover, ").concat(token.antCls, "-menu-submenu-title:hover"), {
|
|
234
|
+
color: darkMenuTextHoverColor,
|
|
235
|
+
backgroundColor: darkMenuHoverBg
|
|
236
|
+
}), "".concat(token.antCls, "-menu-item-selected"), {
|
|
237
|
+
color: token.colorTextLightSolid,
|
|
238
|
+
backgroundColor: token.colorPrimary
|
|
239
|
+
})), "".concat(token.antCls, "-menu-submenu-popup").concat(token.antCls, "-menu-dark").concat(token.antCls, "-pro-menu-popup ").concat(token.antCls, "-menu"), {
|
|
240
|
+
background: darkMenuPopupBg,
|
|
241
|
+
color: darkMenuTextColor
|
|
242
|
+
}), "".concat(token.antCls, "-pro-menu-item"), (0, _defineProperty2.default)({}, ".anticon".concat(token.antCls, "-pro-menu-item-title"), {
|
|
164
243
|
marginLeft: '10px'
|
|
165
244
|
})), '.sider-app-menus', {
|
|
166
245
|
width: '100px',
|
|
167
|
-
backgroundColor:
|
|
246
|
+
backgroundColor: token.colorBgContainer,
|
|
168
247
|
cursor: 'pointer',
|
|
169
248
|
padding: '6px',
|
|
170
249
|
transition: 'all .3s',
|
|
171
250
|
borderRadius: '4px',
|
|
172
|
-
color:
|
|
251
|
+
color: token.colorText,
|
|
173
252
|
'&:hover': {
|
|
174
|
-
backgroundColor:
|
|
253
|
+
backgroundColor: token.colorFillQuaternary
|
|
175
254
|
}
|
|
176
255
|
})];
|
|
177
256
|
};
|
|
@@ -10,6 +10,13 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
10
10
|
var token = config.token;
|
|
11
11
|
var topNavHeaderCls = "".concat(token.antCls, "-pro-top-nav-header");
|
|
12
12
|
var proLayoutGlobalHeaderCls = "".concat(token.antCls, "-pro-global-header");
|
|
13
|
+
var isAntdvDarkTheme = ['#000', '#000000'].includes(String(token.colorBgLayout).toLowerCase());
|
|
14
|
+
var darkHeaderBg = isAntdvDarkTheme ? token.colorBgLayout : '#001529';
|
|
15
|
+
var darkHeaderPopupBg = isAntdvDarkTheme ? token.colorBgElevated : '#001529';
|
|
16
|
+
var darkHeaderHoverBg = isAntdvDarkTheme ? token.colorFillTertiary : 'rgba(255, 255, 255, 0.08)';
|
|
17
|
+
var darkHeaderTextColor = isAntdvDarkTheme ? token.colorText : 'rgba(255, 255, 255, 0.85)';
|
|
18
|
+
var darkHeaderTextSecondaryColor = isAntdvDarkTheme ? token.colorTextSecondary : 'rgba(255, 255, 255, 0.65)';
|
|
19
|
+
var darkHeaderTextHoverColor = isAntdvDarkTheme ? token.colorTextHeading : '#fff';
|
|
13
20
|
var proLayoutHeaderBg = token.colorBgContainer;
|
|
14
21
|
var proLayoutHeaderHoverBg = token.colorBgContainer;
|
|
15
22
|
var proLayoutHeaderBoxShadow = '0 1px 4px rgba(0, 21, 41, 0.08)';
|
|
@@ -30,13 +37,13 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
30
37
|
marginLeft: '16px',
|
|
31
38
|
fontSize: '20px'
|
|
32
39
|
}), "".concat(proLayoutGlobalHeaderCls, "-layout"), (0, _defineProperty2.default)({}, "".concat(proLayoutGlobalHeaderCls, "-layout-mix"), (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
33
|
-
backgroundColor:
|
|
40
|
+
backgroundColor: darkHeaderBg
|
|
34
41
|
}, "".concat(proLayoutGlobalHeaderCls, "-logo"), {
|
|
35
|
-
|
|
36
|
-
color:
|
|
42
|
+
h1: {
|
|
43
|
+
color: darkHeaderTextHoverColor
|
|
37
44
|
}
|
|
38
45
|
}), '.anticon', {
|
|
39
|
-
color:
|
|
46
|
+
color: darkHeaderTextHoverColor
|
|
40
47
|
}))), "".concat(proLayoutGlobalHeaderCls, "-logo"), {
|
|
41
48
|
position: 'relative',
|
|
42
49
|
overflow: 'hidden',
|
|
@@ -65,17 +72,17 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
65
72
|
})), '.dark', {
|
|
66
73
|
height: '48px',
|
|
67
74
|
'.action': (0, _defineProperty2.default)({
|
|
68
|
-
color:
|
|
75
|
+
color: darkHeaderTextColor,
|
|
69
76
|
'> i': {
|
|
70
|
-
color:
|
|
77
|
+
color: darkHeaderTextColor
|
|
71
78
|
},
|
|
72
79
|
'&:hover,&.opend': {
|
|
73
80
|
background: token.colorPrimary
|
|
74
81
|
}
|
|
75
82
|
}, "".concat(token.antCls, "-badge"), {
|
|
76
|
-
color:
|
|
83
|
+
color: darkHeaderTextColor
|
|
77
84
|
})
|
|
78
|
-
})), topNavHeaderCls, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
85
|
+
})), topNavHeaderCls, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
79
86
|
position: 'relative',
|
|
80
87
|
width: '100%',
|
|
81
88
|
height: '100%',
|
|
@@ -83,7 +90,31 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
83
90
|
transition: 'background 0.3s, width 0.2s'
|
|
84
91
|
}, "".concat(token.antCls, "-menu"), {
|
|
85
92
|
backgroundColor: 'transparent'
|
|
86
|
-
}), '&.
|
|
93
|
+
}), '&.dark', (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
94
|
+
backgroundColor: darkHeaderBg,
|
|
95
|
+
color: darkHeaderTextColor
|
|
96
|
+
}, "".concat(topNavHeaderCls, "-logo"), {
|
|
97
|
+
h1: {
|
|
98
|
+
color: token.colorPrimary
|
|
99
|
+
}
|
|
100
|
+
}), "".concat(token.antCls, "-menu-dark"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
101
|
+
color: darkHeaderTextColor,
|
|
102
|
+
backgroundColor: 'transparent'
|
|
103
|
+
}, "".concat(token.antCls, "-menu-item, ").concat(token.antCls, "-menu-submenu-title"), {
|
|
104
|
+
color: darkHeaderTextColor
|
|
105
|
+
}), "".concat(token.antCls, "-menu-item a"), {
|
|
106
|
+
color: 'inherit'
|
|
107
|
+
}), "".concat(token.antCls, "-menu-item .anticon, ").concat(token.antCls, "-menu-submenu-title .anticon, ").concat(token.antCls, "-menu-submenu-arrow"), {
|
|
108
|
+
color: darkHeaderTextSecondaryColor
|
|
109
|
+
}), "".concat(token.antCls, "-menu-item:hover, ").concat(token.antCls, "-menu-submenu-title:hover"), {
|
|
110
|
+
color: darkHeaderTextHoverColor,
|
|
111
|
+
backgroundColor: darkHeaderHoverBg
|
|
112
|
+
}), "".concat(token.antCls, "-menu-item-selected"), {
|
|
113
|
+
color: token.colorTextLightSolid,
|
|
114
|
+
backgroundColor: token.colorPrimary
|
|
115
|
+
}), "".concat(token.antCls, "-menu-item-selected a, ").concat(token.antCls, "-menu-item-selected .anticon"), {
|
|
116
|
+
color: token.colorTextLightSolid
|
|
117
|
+
}))), '&.light', (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
87
118
|
backgroundColor: token.colorBgContainer
|
|
88
119
|
}, "".concat(topNavHeaderCls, "-logo"), {
|
|
89
120
|
h1: {
|
|
@@ -103,7 +134,7 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
103
134
|
alignItems: 'center',
|
|
104
135
|
marginInlineEnd: '16px'
|
|
105
136
|
})), '.anticon', {
|
|
106
|
-
color:
|
|
137
|
+
color: darkHeaderTextColor
|
|
107
138
|
}), "".concat(topNavHeaderCls, "-logo"), {
|
|
108
139
|
position: 'relative',
|
|
109
140
|
minWidth: '165px',
|
|
@@ -131,7 +162,20 @@ var genTopHeaderStyle = exports.genTopHeaderStyle = function genTopHeaderStyle(c
|
|
|
131
162
|
height: '100%'
|
|
132
163
|
}, "".concat(token.antCls, "-badge"), {
|
|
133
164
|
color: 'unset'
|
|
134
|
-
}))))), "".concat(token.antCls, "-pro-menu-popup"), (0, _defineProperty2.default)({}, "".concat(token.antCls, "-
|
|
165
|
+
}))))), "".concat(token.antCls, "-pro-menu-popup"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(token.antCls, "-menu, ").concat(token.antCls, "-menu-dark"), {
|
|
166
|
+
background: darkHeaderPopupBg,
|
|
167
|
+
color: darkHeaderTextColor
|
|
168
|
+
}), "".concat(token.antCls, "-menu-item, ").concat(token.antCls, "-menu-submenu-title"), {
|
|
169
|
+
color: darkHeaderTextColor
|
|
170
|
+
}), "".concat(token.antCls, "-menu-item a"), {
|
|
171
|
+
color: 'inherit'
|
|
172
|
+
}), "".concat(token.antCls, "-menu-item:hover, ").concat(token.antCls, "-menu-submenu-title:hover"), {
|
|
173
|
+
color: darkHeaderTextHoverColor,
|
|
174
|
+
backgroundColor: darkHeaderHoverBg
|
|
175
|
+
}), "".concat(token.antCls, "-menu-item-selected"), {
|
|
176
|
+
color: token.colorTextLightSolid,
|
|
177
|
+
backgroundColor: token.colorPrimary
|
|
178
|
+
}), "".concat(token.antCls, "-badge"), {
|
|
135
179
|
color: 'unset'
|
|
136
180
|
}));
|
|
137
181
|
};
|
package/lib/ProTable/ProTable.js
CHANGED
|
@@ -315,12 +315,10 @@ const __sfc_main__ = _defineComponent({
|
|
|
315
315
|
}, { deep: true, immediate: true });
|
|
316
316
|
onMounted(() => {
|
|
317
317
|
windowChange(); // 初始化
|
|
318
|
-
window.
|
|
319
|
-
windowChange();
|
|
320
|
-
};
|
|
318
|
+
window.addEventListener('resize', windowChange);
|
|
321
319
|
});
|
|
322
320
|
onUnmounted(() => {
|
|
323
|
-
window.
|
|
321
|
+
window.removeEventListener('resize', windowChange);
|
|
324
322
|
});
|
|
325
323
|
__expose({ reload, dataSource: _dataSource });
|
|
326
324
|
return (_ctx, _cache) => {
|
|
@@ -6,14 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
10
|
var _styleRegister = _interopRequireDefault(require("../../style/styleRegister"));
|
|
11
|
+
var _scrollbar = require("../../style/scrollbar");
|
|
10
12
|
var genProTableStyle = function genProTableStyle(config) {
|
|
11
13
|
var token = config.token;
|
|
12
14
|
return {
|
|
13
15
|
'.jtable-body-spin': {
|
|
14
16
|
height: '100%',
|
|
15
17
|
width: '100%',
|
|
16
|
-
backgroundColor:
|
|
18
|
+
backgroundColor: token.colorBgContainer,
|
|
17
19
|
'.ant-spin-nested-loading': {
|
|
18
20
|
height: '100%',
|
|
19
21
|
'.ant-spin-container': {
|
|
@@ -47,7 +49,7 @@ var genProTableStyle = function genProTableStyle(config) {
|
|
|
47
49
|
width: '62px',
|
|
48
50
|
'.right-button-icon': {
|
|
49
51
|
fontSize: '16px',
|
|
50
|
-
color:
|
|
52
|
+
color: token.colorTextDisabled
|
|
51
53
|
},
|
|
52
54
|
'.ant-radio-button-wrapper': {
|
|
53
55
|
padding: '0 8px'
|
|
@@ -61,9 +63,10 @@ var genProTableStyle = function genProTableStyle(config) {
|
|
|
61
63
|
'.jtable-box': {
|
|
62
64
|
flex: 1,
|
|
63
65
|
minHeight: 0,
|
|
64
|
-
'.jtable-card': (0,
|
|
66
|
+
'.jtable-card': (0, _objectSpread3.default)((0, _objectSpread3.default)({
|
|
65
67
|
height: '100%',
|
|
66
|
-
overflowY: 'auto'
|
|
68
|
+
overflowY: 'auto'
|
|
69
|
+
}, (0, _scrollbar.genTokenScrollbarStyle)(token)), {}, (0, _defineProperty2.default)({
|
|
67
70
|
'.jtable-card-items': {
|
|
68
71
|
display: 'grid',
|
|
69
72
|
gridGap: '18px',
|
|
@@ -74,7 +77,7 @@ var genProTableStyle = function genProTableStyle(config) {
|
|
|
74
77
|
}
|
|
75
78
|
}, "j-table-empty", {
|
|
76
79
|
marginTop: '100px'
|
|
77
|
-
}),
|
|
80
|
+
})),
|
|
78
81
|
'.ant-table-wrapper': {
|
|
79
82
|
height: '100%',
|
|
80
83
|
'.ant-table': {
|
|
@@ -92,11 +95,11 @@ var genProTableStyle = function genProTableStyle(config) {
|
|
|
92
95
|
display: 'flex',
|
|
93
96
|
flexDirection: 'column'
|
|
94
97
|
},
|
|
95
|
-
'.ant-table-body': {
|
|
98
|
+
'.ant-table-body': (0, _objectSpread3.default)({
|
|
96
99
|
flex: 1,
|
|
97
100
|
minHeight: 0,
|
|
98
101
|
overflowY: 'auto'
|
|
99
|
-
}
|
|
102
|
+
}, (0, _scrollbar.genTokenScrollbarStyle)(token))
|
|
100
103
|
}
|
|
101
104
|
},
|
|
102
105
|
'.jtable-alert': {
|
|
@@ -17,10 +17,11 @@ var genRadioButtonStyle = function genRadioButtonStyle(config) {
|
|
|
17
17
|
textAlign: 'center',
|
|
18
18
|
height: '100%',
|
|
19
19
|
borderRadius: '2px',
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: token.colorFillTertiary,
|
|
21
|
+
color: token.colorText,
|
|
21
22
|
cursor: 'pointer',
|
|
22
23
|
'&.active': {
|
|
23
|
-
color:
|
|
24
|
+
color: token.colorTextLightSolid,
|
|
24
25
|
backgroundColor: token.colorPrimary
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
10
|
var _styleRegister = _interopRequireDefault(require("../../style/styleRegister"));
|
|
10
|
-
var
|
|
11
|
-
var scrollbarHoverBgColor = '#909399';
|
|
11
|
+
var _scrollbar = require("../../style/scrollbar");
|
|
12
12
|
var scrollbarHoverOpacity = 0.5;
|
|
13
13
|
var scrollbarOpacity = 0.3;
|
|
14
14
|
var transitionDuration = '0.3s';
|
|
@@ -19,27 +19,27 @@ var genScrollbarStyle = function genScrollbarStyle(config) {
|
|
|
19
19
|
overflow: 'hidden',
|
|
20
20
|
position: 'relative',
|
|
21
21
|
height: '100%'
|
|
22
|
-
}, "".concat(componentCls, "__wrap"), (0,
|
|
22
|
+
}, "".concat(componentCls, "__wrap"), (0, _objectSpread3.default)((0, _objectSpread3.default)({
|
|
23
23
|
overflow: 'auto',
|
|
24
24
|
height: '100%'
|
|
25
|
-
}, "".concat(componentCls, "--hidden-default"), {
|
|
25
|
+
}, (0, _scrollbar.genTokenScrollbarStyle)(token)), {}, (0, _defineProperty2.default)({}, "".concat(componentCls, "--hidden-default"), {
|
|
26
26
|
scrollbarWidth: 'none',
|
|
27
27
|
'&::-webkit-scrollbar': {
|
|
28
28
|
display: 'none'
|
|
29
29
|
}
|
|
30
|
-
})), "".concat(componentCls, "__thumb"), {
|
|
30
|
+
}))), "".concat(componentCls, "__thumb"), {
|
|
31
31
|
position: 'relative',
|
|
32
32
|
display: 'block',
|
|
33
33
|
width: 0,
|
|
34
34
|
height: 0,
|
|
35
35
|
cursor: 'pointer',
|
|
36
36
|
borderRadius: 'inherit',
|
|
37
|
-
backgroundColor:
|
|
37
|
+
backgroundColor: token.colorFillSecondary,
|
|
38
38
|
transition: "".concat(transitionDuration, " background-color"),
|
|
39
39
|
opacity: scrollbarOpacity,
|
|
40
40
|
'&:hover': {
|
|
41
|
-
backgroundColor:
|
|
42
|
-
opacity:
|
|
41
|
+
backgroundColor: token.colorFill,
|
|
42
|
+
opacity: scrollbarHoverOpacity
|
|
43
43
|
}
|
|
44
44
|
}), "".concat(componentCls, "__bar"), (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
45
45
|
position: 'absolute',
|
package/lib/Search/Item.js
CHANGED
|
@@ -69,13 +69,15 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
69
69
|
"handleTermsModelValue": "setup-const"
|
|
70
70
|
} */
|
|
71
71
|
import { defineComponent as _defineComponent } from 'vue';
|
|
72
|
-
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps,
|
|
72
|
+
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, normalizeClass as _normalizeClass } from "vue";
|
|
73
73
|
const _hoisted_1 = {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "JSearch-item--type"
|
|
76
76
|
};
|
|
77
77
|
const _hoisted_2 = { key: 1 };
|
|
78
|
-
const _hoisted_3 = { class: "JSearch-item--
|
|
78
|
+
const _hoisted_3 = { class: "JSearch-item--column" };
|
|
79
|
+
const _hoisted_4 = { class: "JSearch-item--termType" };
|
|
80
|
+
const _hoisted_5 = { class: "JSearch-item--value" };
|
|
79
81
|
import { computed, ref, reactive, watch, isRef } from 'vue';
|
|
80
82
|
import { Select, DatePicker, RangePicker } from 'ant-design-vue';
|
|
81
83
|
import { componentProps, componentType, typeOptions } from "./setting";
|
|
@@ -306,24 +308,28 @@ const __sfc_main__ = _defineComponent({
|
|
|
306
308
|
: (_openBlock(), _createElementBlock("span", _hoisted_2, _toDisplayString(__props.index === 1 ? _unref(contextLocale).item.firstGroup : _unref(contextLocale).item.secondGroup), 1 /* TEXT */))
|
|
307
309
|
]))
|
|
308
310
|
: _createCommentVNode("v-if", true),
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
311
|
+
_createElementVNode("div", _hoisted_3, [
|
|
312
|
+
_createVNode(_unref(Select), {
|
|
313
|
+
value: termsModel.column,
|
|
314
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => ((termsModel.column) = $event)),
|
|
315
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
316
|
+
options: columnOptions.value,
|
|
317
|
+
style: { "width": "100%" },
|
|
318
|
+
onChange: onColumnChange
|
|
319
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
320
|
+
]),
|
|
321
|
+
_createElementVNode("div", _hoisted_4, [
|
|
322
|
+
_createVNode(_unref(Select), {
|
|
323
|
+
value: termsModel.termType,
|
|
324
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => ((termsModel.termType) = $event)),
|
|
325
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
326
|
+
options: termTypeOptions.value,
|
|
327
|
+
style: { "width": "100%" },
|
|
328
|
+
onChange: onTermTypeChange
|
|
329
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
330
|
+
])
|
|
325
331
|
], 64 /* STABLE_FRAGMENT */)),
|
|
326
|
-
_createElementVNode("div",
|
|
332
|
+
_createElementVNode("div", _hoisted_5, [
|
|
327
333
|
(_openBlock(), _createBlock(_resolveDynamicComponent(targetComponents.value.name), _mergeProps({
|
|
328
334
|
"allow-clear": "",
|
|
329
335
|
style: { "width": "100%", "min-width": "80px" }
|
|
@@ -11,7 +11,7 @@ var genSearchStyle = exports.genSearchStyle = function genSearchStyle(config) {
|
|
|
11
11
|
token = config.token;
|
|
12
12
|
return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(componentCls, "-warp"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
13
13
|
padding: '24px',
|
|
14
|
-
backgroundColor:
|
|
14
|
+
backgroundColor: token.colorBgContainer,
|
|
15
15
|
marginBottom: '24px',
|
|
16
16
|
'.pack-up': (0, _defineProperty2.default)({}, "".concat(componentCls, "-items"), {
|
|
17
17
|
flex: '1 1 auto',
|
|
@@ -88,7 +88,7 @@ var genSearchStyle = exports.genSearchStyle = function genSearchStyle(config) {
|
|
|
88
88
|
}))
|
|
89
89
|
}), '.no-radius', {
|
|
90
90
|
borderRadius: 0,
|
|
91
|
-
borderColor:
|
|
91
|
+
borderColor: token.colorBorderSecondary
|
|
92
92
|
}), '.search-history-warp', {
|
|
93
93
|
position: 'relative',
|
|
94
94
|
'.search-history-button': {
|
|
@@ -100,7 +100,7 @@ var genSearchStyle = exports.genSearchStyle = function genSearchStyle(config) {
|
|
|
100
100
|
height: '18px',
|
|
101
101
|
right: '6px',
|
|
102
102
|
top: '8px',
|
|
103
|
-
color:
|
|
103
|
+
color: token.colorTextLightSolid,
|
|
104
104
|
lineHeight: '18px',
|
|
105
105
|
textAlign: 'center',
|
|
106
106
|
fontWeight: 'bold',
|
|
@@ -110,7 +110,7 @@ var genSearchStyle = exports.genSearchStyle = function genSearchStyle(config) {
|
|
|
110
110
|
}
|
|
111
111
|
})), '.search-history-empty', {
|
|
112
112
|
padding: '12px 12px 6px 12px',
|
|
113
|
-
backgroundColor:
|
|
113
|
+
backgroundColor: token.colorBgElevated
|
|
114
114
|
}), '.search-history-items', {
|
|
115
115
|
width: '120px',
|
|
116
116
|
maxHeight: '300px',
|
|
@@ -121,7 +121,7 @@ var genSearchStyle = exports.genSearchStyle = function genSearchStyle(config) {
|
|
|
121
121
|
alignItems: 'center',
|
|
122
122
|
gap: '4px',
|
|
123
123
|
'&:hover': {
|
|
124
|
-
backgroundColor:
|
|
124
|
+
backgroundColor: token.colorFillTertiary
|
|
125
125
|
},
|
|
126
126
|
'.history-item--title': {
|
|
127
127
|
width: 'calc(100% - 30px)',
|