bkui-vue 0.0.1-beta.45 → 0.0.1-beta.46
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/dist/index.cjs.js +26 -26
- package/dist/index.esm.js +388 -95
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/lib/button/index.js +1 -1
- package/lib/dialog/dialog.css +3 -0
- package/lib/dialog/dialog.d.ts +89 -17
- package/lib/dialog/dialog.less +4 -0
- package/lib/dialog/dialog.variable.css +3 -0
- package/lib/dialog/index.d.ts +191 -36
- package/lib/dialog/index.js +1 -1
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/modal/index.d.ts +149 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +58 -0
- package/lib/modal/modal.less +25 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +26 -0
- package/lib/popover/index.d.ts +33 -2
- package/lib/popover/popover.d.ts +16 -1
- package/lib/popover/props.d.ts +12 -0
- package/lib/sideslider/index.d.ts +123 -1
- package/lib/sideslider/sideslider.d.ts +58 -0
- package/lib/switcher/switcher.less +2 -0
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +162 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +116 -0
- package/lib/table/props.d.ts +8 -1
- package/lib/table/render.d.ts +10 -15
- package/lib/table/table.css +4 -26
- package/lib/table/table.d.ts +1 -0
- package/lib/table/table.less +7 -27
- package/lib/table/table.variable.css +4 -26
- package/lib/table/utils.d.ts +10 -1
- package/package.json +29 -16
- package/lib/icon/index.js +0 -1
- package/lib/icon/info-line.js +0 -1
- package/lib/icon/info.js +0 -1
- package/lib/icon/left-shape.js +0 -1
- package/lib/icon/play-shape.js +0 -1
- package/lib/icon/plus.js +0 -1
- package/lib/icon/qq.js +0 -1
- package/lib/icon/right-shape.js +0 -1
- package/lib/icon/search.js +0 -1
- package/lib/icon/share.js +0 -1
- package/lib/icon/spinner.js +0 -1
- package/lib/icon/success.js +0 -1
- package/lib/icon/switcher-loading.js +0 -1
- package/lib/icon/text-file.js +0 -1
- package/lib/icon/tree-application-shape.js +0 -1
- package/lib/icon/unvisible.js +0 -1
- package/lib/icon/up-shape.js +0 -1
- package/lib/icon/warn.js +0 -1
- package/lib/icon/weixin.js +0 -1
- package/lib/input/index.js +0 -1
- package/lib/link/index.js +0 -1
- package/lib/loading/index.js +0 -1
- package/lib/menu/index.js +0 -1
- package/lib/message/index.js +0 -1
- package/lib/modal/index.js +0 -1
- package/lib/navigation/index.js +0 -1
- package/lib/notify/index.js +0 -1
- package/lib/pagination/index.js +0 -1
- package/lib/popover/index.js +0 -1
- package/lib/process/index.js +0 -1
- package/lib/progress/index.js +0 -1
- package/lib/radio/index.js +0 -1
- package/lib/rate/index.js +0 -1
- package/lib/resize-layout/index.js +0 -1
- package/lib/select/index.js +0 -1
- package/lib/shared/index.js +0 -1
- package/lib/sideslider/index.js +0 -1
- package/lib/slider/index.js +0 -1
- package/lib/steps/index.js +0 -1
- package/lib/swiper/index.js +0 -1
- package/lib/switcher/index.js +0 -1
- package/lib/tab/index.js +0 -1
- package/lib/table/index.js +0 -1
- package/lib/tag/index.js +0 -1
- package/lib/tag-input/index.js +0 -1
- package/lib/timeline/index.js +0 -1
- package/lib/transfer/index.js +0 -1
- package/lib/tree/index.js +0 -1
- package/lib/virtual-render/index.js +0 -1
@@ -6,10 +6,16 @@ declare const BkSideslider: {
|
|
6
6
|
width: string | number;
|
7
7
|
height: string | number;
|
8
8
|
showMask: boolean;
|
9
|
+
size: string;
|
9
10
|
direction: string;
|
10
11
|
isShow: boolean;
|
11
12
|
customClass: string | unknown[];
|
12
13
|
scrollable: boolean;
|
14
|
+
closeIcon: boolean;
|
15
|
+
escClose: boolean;
|
16
|
+
maskClose: boolean;
|
17
|
+
fullscreen: boolean;
|
18
|
+
renderDirective: string;
|
13
19
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
14
20
|
direction: {
|
15
21
|
type: StringConstructor;
|
@@ -40,10 +46,36 @@ declare const BkSideslider: {
|
|
40
46
|
type: BooleanConstructor;
|
41
47
|
default: boolean;
|
42
48
|
};
|
49
|
+
closeIcon: {
|
50
|
+
type: BooleanConstructor;
|
51
|
+
default: boolean;
|
52
|
+
};
|
53
|
+
escClose: {
|
54
|
+
type: BooleanConstructor;
|
55
|
+
default: boolean;
|
56
|
+
};
|
57
|
+
maskClose: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: boolean;
|
60
|
+
};
|
61
|
+
fullscreen: {
|
62
|
+
type: BooleanConstructor;
|
63
|
+
default: boolean;
|
64
|
+
};
|
65
|
+
size: {
|
66
|
+
type: StringConstructor;
|
67
|
+
default: string;
|
68
|
+
validator: (value: string) => boolean;
|
69
|
+
};
|
70
|
+
renderDirective: {
|
71
|
+
type: StringConstructor;
|
72
|
+
default: string;
|
73
|
+
validator: (value: string) => boolean;
|
74
|
+
};
|
43
75
|
}>> & {
|
44
76
|
onClosed?: (...args: any[]) => any;
|
45
77
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
46
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "showMask" | "direction" | "isShow" | "customClass" | "scrollable">;
|
78
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "showMask" | "size" | "direction" | "isShow" | "customClass" | "scrollable" | "closeIcon" | "escClose" | "maskClose" | "fullscreen" | "renderDirective">;
|
47
79
|
$attrs: {
|
48
80
|
[x: string]: unknown;
|
49
81
|
};
|
@@ -87,6 +119,32 @@ declare const BkSideslider: {
|
|
87
119
|
type: BooleanConstructor;
|
88
120
|
default: boolean;
|
89
121
|
};
|
122
|
+
closeIcon: {
|
123
|
+
type: BooleanConstructor;
|
124
|
+
default: boolean;
|
125
|
+
};
|
126
|
+
escClose: {
|
127
|
+
type: BooleanConstructor;
|
128
|
+
default: boolean;
|
129
|
+
};
|
130
|
+
maskClose: {
|
131
|
+
type: BooleanConstructor;
|
132
|
+
default: boolean;
|
133
|
+
};
|
134
|
+
fullscreen: {
|
135
|
+
type: BooleanConstructor;
|
136
|
+
default: boolean;
|
137
|
+
};
|
138
|
+
size: {
|
139
|
+
type: StringConstructor;
|
140
|
+
default: string;
|
141
|
+
validator: (value: string) => boolean;
|
142
|
+
};
|
143
|
+
renderDirective: {
|
144
|
+
type: StringConstructor;
|
145
|
+
default: string;
|
146
|
+
validator: (value: string) => boolean;
|
147
|
+
};
|
90
148
|
}>> & {
|
91
149
|
onClosed?: (...args: any[]) => any;
|
92
150
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
@@ -96,10 +154,16 @@ declare const BkSideslider: {
|
|
96
154
|
width: string | number;
|
97
155
|
height: string | number;
|
98
156
|
showMask: boolean;
|
157
|
+
size: string;
|
99
158
|
direction: string;
|
100
159
|
isShow: boolean;
|
101
160
|
customClass: string | unknown[];
|
102
161
|
scrollable: boolean;
|
162
|
+
closeIcon: boolean;
|
163
|
+
escClose: boolean;
|
164
|
+
maskClose: boolean;
|
165
|
+
fullscreen: boolean;
|
166
|
+
renderDirective: string;
|
103
167
|
}> & {
|
104
168
|
beforeCreate?: (() => void) | (() => void)[];
|
105
169
|
created?: (() => void) | (() => void)[];
|
@@ -150,6 +214,32 @@ declare const BkSideslider: {
|
|
150
214
|
type: BooleanConstructor;
|
151
215
|
default: boolean;
|
152
216
|
};
|
217
|
+
closeIcon: {
|
218
|
+
type: BooleanConstructor;
|
219
|
+
default: boolean;
|
220
|
+
};
|
221
|
+
escClose: {
|
222
|
+
type: BooleanConstructor;
|
223
|
+
default: boolean;
|
224
|
+
};
|
225
|
+
maskClose: {
|
226
|
+
type: BooleanConstructor;
|
227
|
+
default: boolean;
|
228
|
+
};
|
229
|
+
fullscreen: {
|
230
|
+
type: BooleanConstructor;
|
231
|
+
default: boolean;
|
232
|
+
};
|
233
|
+
size: {
|
234
|
+
type: StringConstructor;
|
235
|
+
default: string;
|
236
|
+
validator: (value: string) => boolean;
|
237
|
+
};
|
238
|
+
renderDirective: {
|
239
|
+
type: StringConstructor;
|
240
|
+
default: string;
|
241
|
+
validator: (value: string) => boolean;
|
242
|
+
};
|
153
243
|
}>> & {
|
154
244
|
onClosed?: (...args: any[]) => any;
|
155
245
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
@@ -189,6 +279,32 @@ declare const BkSideslider: {
|
|
189
279
|
type: BooleanConstructor;
|
190
280
|
default: boolean;
|
191
281
|
};
|
282
|
+
closeIcon: {
|
283
|
+
type: BooleanConstructor;
|
284
|
+
default: boolean;
|
285
|
+
};
|
286
|
+
escClose: {
|
287
|
+
type: BooleanConstructor;
|
288
|
+
default: boolean;
|
289
|
+
};
|
290
|
+
maskClose: {
|
291
|
+
type: BooleanConstructor;
|
292
|
+
default: boolean;
|
293
|
+
};
|
294
|
+
fullscreen: {
|
295
|
+
type: BooleanConstructor;
|
296
|
+
default: boolean;
|
297
|
+
};
|
298
|
+
size: {
|
299
|
+
type: StringConstructor;
|
300
|
+
default: string;
|
301
|
+
validator: (value: string) => boolean;
|
302
|
+
};
|
303
|
+
renderDirective: {
|
304
|
+
type: StringConstructor;
|
305
|
+
default: string;
|
306
|
+
validator: (value: string) => boolean;
|
307
|
+
};
|
192
308
|
}>> & {
|
193
309
|
onClosed?: (...args: any[]) => any;
|
194
310
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
@@ -198,9 +314,15 @@ declare const BkSideslider: {
|
|
198
314
|
width: string | number;
|
199
315
|
height: string | number;
|
200
316
|
showMask: boolean;
|
317
|
+
size: string;
|
201
318
|
direction: string;
|
202
319
|
isShow: boolean;
|
203
320
|
customClass: string | unknown[];
|
204
321
|
scrollable: boolean;
|
322
|
+
closeIcon: boolean;
|
323
|
+
escClose: boolean;
|
324
|
+
maskClose: boolean;
|
325
|
+
fullscreen: boolean;
|
326
|
+
renderDirective: string;
|
205
327
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
206
328
|
export default BkSideslider;
|
@@ -28,6 +28,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
type: BooleanConstructor;
|
29
29
|
default: boolean;
|
30
30
|
};
|
31
|
+
closeIcon: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
escClose: {
|
36
|
+
type: BooleanConstructor;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
maskClose: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
fullscreen: {
|
44
|
+
type: BooleanConstructor;
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
size: {
|
48
|
+
type: StringConstructor;
|
49
|
+
default: string;
|
50
|
+
validator: (value: string) => boolean;
|
51
|
+
};
|
52
|
+
renderDirective: {
|
53
|
+
type: StringConstructor;
|
54
|
+
default: string;
|
55
|
+
validator: (value: string) => boolean;
|
56
|
+
};
|
31
57
|
}, unknown, unknown, {}, {
|
32
58
|
handleClose(): void;
|
33
59
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -60,6 +86,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
60
86
|
type: BooleanConstructor;
|
61
87
|
default: boolean;
|
62
88
|
};
|
89
|
+
closeIcon: {
|
90
|
+
type: BooleanConstructor;
|
91
|
+
default: boolean;
|
92
|
+
};
|
93
|
+
escClose: {
|
94
|
+
type: BooleanConstructor;
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
maskClose: {
|
98
|
+
type: BooleanConstructor;
|
99
|
+
default: boolean;
|
100
|
+
};
|
101
|
+
fullscreen: {
|
102
|
+
type: BooleanConstructor;
|
103
|
+
default: boolean;
|
104
|
+
};
|
105
|
+
size: {
|
106
|
+
type: StringConstructor;
|
107
|
+
default: string;
|
108
|
+
validator: (value: string) => boolean;
|
109
|
+
};
|
110
|
+
renderDirective: {
|
111
|
+
type: StringConstructor;
|
112
|
+
default: string;
|
113
|
+
validator: (value: string) => boolean;
|
114
|
+
};
|
63
115
|
}>> & {
|
64
116
|
onClosed?: (...args: any[]) => any;
|
65
117
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
@@ -67,9 +119,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
119
|
width: string | number;
|
68
120
|
height: string | number;
|
69
121
|
showMask: boolean;
|
122
|
+
size: string;
|
70
123
|
direction: string;
|
71
124
|
isShow: boolean;
|
72
125
|
customClass: string | unknown[];
|
73
126
|
scrollable: boolean;
|
127
|
+
closeIcon: boolean;
|
128
|
+
escClose: boolean;
|
129
|
+
maskClose: boolean;
|
130
|
+
fullscreen: boolean;
|
131
|
+
renderDirective: string;
|
74
132
|
}>;
|
75
133
|
export default _default;
|
package/lib/tab/index.d.ts
CHANGED
@@ -435,8 +435,8 @@ declare const BkTab: {
|
|
435
435
|
visible: boolean;
|
436
436
|
disabled: boolean;
|
437
437
|
panel: string | ((...args: any[]) => any);
|
438
|
-
sortable: boolean;
|
439
438
|
renderDirective: string;
|
439
|
+
sortable: boolean;
|
440
440
|
}>;
|
441
441
|
}>;
|
442
442
|
export { BkTab, TabPanel as BkTabPanel, };
|
package/lib/tab/tab-panel.d.ts
CHANGED
@@ -0,0 +1,68 @@
|
|
1
|
+
.bk-table-head-action {
|
2
|
+
display: flex;
|
3
|
+
width: 32px;
|
4
|
+
height: var(--row-height);
|
5
|
+
margin-left: 4px;
|
6
|
+
font-size: 12px;
|
7
|
+
color: #c4c6cc;
|
8
|
+
cursor: pointer;
|
9
|
+
align-items: center;
|
10
|
+
}
|
11
|
+
.bk-table-head-action.active {
|
12
|
+
color: #3a84ff;
|
13
|
+
}
|
14
|
+
.bk-table-head-action.opened {
|
15
|
+
color: inherit;
|
16
|
+
}
|
17
|
+
.bk-table-head-filter {
|
18
|
+
padding: 5px 0 0 0;
|
19
|
+
background-color: #fff;
|
20
|
+
border-radius: 2px;
|
21
|
+
box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
|
22
|
+
}
|
23
|
+
.bk-table-head-filter .content-list {
|
24
|
+
max-width: 200px;
|
25
|
+
min-width: 140px;
|
26
|
+
overflow: auto;
|
27
|
+
}
|
28
|
+
.bk-table-head-filter .content-list .list-item {
|
29
|
+
width: 100%;
|
30
|
+
height: 32px;
|
31
|
+
padding: 0 10px;
|
32
|
+
font-size: 12px;
|
33
|
+
line-height: 32px;
|
34
|
+
color: #63656e;
|
35
|
+
text-align: left;
|
36
|
+
}
|
37
|
+
.bk-table-head-filter .content-list .list-item:hover {
|
38
|
+
background: #f0f1f5;
|
39
|
+
}
|
40
|
+
.bk-table-head-filter .content-footer {
|
41
|
+
display: flex;
|
42
|
+
height: 42px;
|
43
|
+
padding: 0 10px;
|
44
|
+
border-top: solid 1px #dcdee5;
|
45
|
+
justify-content: center;
|
46
|
+
align-items: center;
|
47
|
+
}
|
48
|
+
.bk-table-head-filter .content-footer span {
|
49
|
+
display: inline-flex;
|
50
|
+
height: 100%;
|
51
|
+
padding: 6px 12px;
|
52
|
+
font-size: 14px;
|
53
|
+
line-height: 22px;
|
54
|
+
color: #3a84ff;
|
55
|
+
cursor: pointer;
|
56
|
+
align-items: center;
|
57
|
+
}
|
58
|
+
.bk-table-head-filter .content-footer span.btn-filter-split {
|
59
|
+
width: 1px;
|
60
|
+
height: calc(100% - 12px);
|
61
|
+
padding: 6px 0;
|
62
|
+
cursor: default;
|
63
|
+
background: #f0f1f5;
|
64
|
+
}
|
65
|
+
.bk-table-head-filter .content-footer span.btn-filter-reset.disable {
|
66
|
+
color: #979ba5;
|
67
|
+
cursor: not-allowed;
|
68
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
.@{bk-prefix}-table-head-action {
|
3
|
+
display: flex;
|
4
|
+
width: 32px;
|
5
|
+
height: var(--row-height);
|
6
|
+
margin-left: 4px;
|
7
|
+
font-size: 12px;
|
8
|
+
color: #c4c6cc;
|
9
|
+
cursor: pointer;
|
10
|
+
align-items: center;
|
11
|
+
|
12
|
+
&.active {
|
13
|
+
color: #3a84ff;
|
14
|
+
}
|
15
|
+
|
16
|
+
&.opened {
|
17
|
+
color: inherit;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.@{bk-prefix}-table-head-filter {
|
22
|
+
|
23
|
+
padding: 5px 0 0 0;
|
24
|
+
background-color: #fff;
|
25
|
+
// border: 1px solid #dcdee5;
|
26
|
+
border-radius: 2px;
|
27
|
+
box-shadow: 0px 3px 6px 0px rgba(0,0,0,.10);
|
28
|
+
|
29
|
+
.content-list {
|
30
|
+
max-width: 200px;
|
31
|
+
min-width: 140px;
|
32
|
+
overflow: auto;
|
33
|
+
|
34
|
+
.list-item {
|
35
|
+
width: 100%;
|
36
|
+
height: 32px;
|
37
|
+
padding: 0 10px;
|
38
|
+
font-size: 12px;
|
39
|
+
line-height: 32px;
|
40
|
+
color: #63656e;
|
41
|
+
text-align: left;
|
42
|
+
|
43
|
+
&:hover {
|
44
|
+
background: #f0f1f5;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.content-footer {
|
50
|
+
display: flex;
|
51
|
+
height: 42px;
|
52
|
+
padding: 0 10px;
|
53
|
+
border-top: solid 1px #dcdee5;
|
54
|
+
justify-content: center;
|
55
|
+
align-items: center;
|
56
|
+
|
57
|
+
span {
|
58
|
+
display: inline-flex;
|
59
|
+
height: 100%;
|
60
|
+
padding: 6px 12px;
|
61
|
+
font-size: 14px;
|
62
|
+
line-height: 22px;
|
63
|
+
color: @primary-color;
|
64
|
+
cursor: pointer;
|
65
|
+
align-items: center;
|
66
|
+
|
67
|
+
&.btn-filter-split {
|
68
|
+
width: 1px;
|
69
|
+
height: calc(100% - 12px);
|
70
|
+
padding: 6px 0;
|
71
|
+
cursor: default;
|
72
|
+
background: #f0f1f5;
|
73
|
+
}
|
74
|
+
|
75
|
+
&.btn-filter-reset {
|
76
|
+
&.disable {
|
77
|
+
color: @gray-color;
|
78
|
+
cursor: not-allowed;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--disable-color: #dcdee5;
|
13
|
+
--font-size-base: 12px;
|
14
|
+
--font-size-medium: 14px;
|
15
|
+
--font-size-large: 16px;
|
16
|
+
--line-height-base: 16px;
|
17
|
+
--line-height-medium: 16px;
|
18
|
+
--line-height-large: 18px;
|
19
|
+
--component-size-small: 26px;
|
20
|
+
--component-size-base: 32px;
|
21
|
+
--component-size-large: 38px;
|
22
|
+
--border-width-base: 1px;
|
23
|
+
--border-style-base: solid;
|
24
|
+
--border-radius-base: 2px;
|
25
|
+
--input-disabled-bg: #fafbfd;
|
26
|
+
--input-disabled-border: var(--disable-color);
|
27
|
+
--input-height-base: var(--component-size-base);
|
28
|
+
--input-color: var(--default-color);
|
29
|
+
--input-bg: white;
|
30
|
+
--input-border-color: var(--light-gray);
|
31
|
+
--input-broder-radius: 3px;
|
32
|
+
--input-shadow-color: #a3c5fd;
|
33
|
+
--input-horizontal-padding: 10px;
|
34
|
+
--input-block-color: #f4f6fa;
|
35
|
+
--input-icon-size: var(--font-size-large);
|
36
|
+
--input-maxlength-color: #979ba5;
|
37
|
+
--button-primary-hover-color: #5594fa;
|
38
|
+
--button-danger-hover-color: #ff5656;
|
39
|
+
--button-success-hover-color: #45e35f;
|
40
|
+
--button-warning-hover-color: #ffb848;
|
41
|
+
--button-default-hover-border-color: #979ba5;
|
42
|
+
--button-primary-active-color: #2c77f4;
|
43
|
+
--button-danger-active-color: #db2626;
|
44
|
+
--button-success-active-color: #1ab943;
|
45
|
+
--button-warning-active-color: #eb9000;
|
46
|
+
--fixed-navbar-background: #fff;
|
47
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
48
|
+
--switch-default-color: #fff;
|
49
|
+
--switch-grey-color: #c4c6cc;
|
50
|
+
--breadcrumb-black-color: #979ba5;
|
51
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
52
|
+
--breadcrumb-fn-main-color: #63656e;
|
53
|
+
--link-default-hover-color: #979ba5;
|
54
|
+
--link-primary-hover-color: #699df4;
|
55
|
+
--link-success-hover-color: #45e35f;
|
56
|
+
--link-warning-hover-color: #ffb848;
|
57
|
+
--link-danger-hover-color: #ff5656;
|
58
|
+
--link-default-disabled-color: #dcdee5;
|
59
|
+
--link-primary-disabled-color: #a3c5fd;
|
60
|
+
--link-success-disabled-color: #94f5a4;
|
61
|
+
--link-warning-disabled-color: #ffd695;
|
62
|
+
--link-danger-disabled-color: #fd9c9c;
|
63
|
+
--message-color: var(--default-color);
|
64
|
+
--message-primary-bg-color: #f0f8ff;
|
65
|
+
--message-primary-border-color: #e1ecff;
|
66
|
+
--message-warning-bg-color: #fff4e2;
|
67
|
+
--message-warning-border-color: #ffe8c3;
|
68
|
+
--message-success-bg-color: #f2fff4;
|
69
|
+
--message-success-border-color: #dcffe2;
|
70
|
+
--message-danger-bg-color: #ffeded;
|
71
|
+
--message-danger-border-color: #ffdddd;
|
72
|
+
--slider-default-bg: #dcdee5;
|
73
|
+
--slider-disable-bar-bg: #979ba5;
|
74
|
+
--menu-bg-color: #182132;
|
75
|
+
--submenu-bg-color: #151d2c;
|
76
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
77
|
+
--menu-color: #96a2b9;
|
78
|
+
--menu-group-color: var(--default-color);
|
79
|
+
--menu-width: 260px;
|
80
|
+
--menu-collapse-width: 60px;
|
81
|
+
--menu-active-color: white;
|
82
|
+
--nav-header-bg-color: #182132;
|
83
|
+
--nav-bg-color: #182132;
|
84
|
+
--date-picker-disabled-bg: #fafbfd;
|
85
|
+
--date-picker-dropdown-mb: 4px;
|
86
|
+
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
93
|
+
--table-row-active-bg-color: #f0f1f5;
|
94
|
+
}
|
95
|
+
.bk-table-head-action {
|
96
|
+
display: flex;
|
97
|
+
width: 32px;
|
98
|
+
height: var(--row-height);
|
99
|
+
margin-left: 4px;
|
100
|
+
font-size: 12px;
|
101
|
+
color: #c4c6cc;
|
102
|
+
cursor: pointer;
|
103
|
+
align-items: center;
|
104
|
+
}
|
105
|
+
.bk-table-head-action.active {
|
106
|
+
color: #3a84ff;
|
107
|
+
}
|
108
|
+
.bk-table-head-action.opened {
|
109
|
+
color: inherit;
|
110
|
+
}
|
111
|
+
.bk-table-head-filter {
|
112
|
+
padding: 5px 0 0 0;
|
113
|
+
background-color: #fff;
|
114
|
+
border-radius: 2px;
|
115
|
+
box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
|
116
|
+
}
|
117
|
+
.bk-table-head-filter .content-list {
|
118
|
+
max-width: 200px;
|
119
|
+
min-width: 140px;
|
120
|
+
overflow: auto;
|
121
|
+
}
|
122
|
+
.bk-table-head-filter .content-list .list-item {
|
123
|
+
width: 100%;
|
124
|
+
height: 32px;
|
125
|
+
padding: 0 10px;
|
126
|
+
font-size: 12px;
|
127
|
+
line-height: 32px;
|
128
|
+
color: #63656e;
|
129
|
+
text-align: left;
|
130
|
+
}
|
131
|
+
.bk-table-head-filter .content-list .list-item:hover {
|
132
|
+
background: #f0f1f5;
|
133
|
+
}
|
134
|
+
.bk-table-head-filter .content-footer {
|
135
|
+
display: flex;
|
136
|
+
height: 42px;
|
137
|
+
padding: 0 10px;
|
138
|
+
border-top: solid 1px #dcdee5;
|
139
|
+
justify-content: center;
|
140
|
+
align-items: center;
|
141
|
+
}
|
142
|
+
.bk-table-head-filter .content-footer span {
|
143
|
+
display: inline-flex;
|
144
|
+
height: 100%;
|
145
|
+
padding: 6px 12px;
|
146
|
+
font-size: 14px;
|
147
|
+
line-height: 22px;
|
148
|
+
color: var(--primary-color);
|
149
|
+
cursor: pointer;
|
150
|
+
align-items: center;
|
151
|
+
}
|
152
|
+
.bk-table-head-filter .content-footer span.btn-filter-split {
|
153
|
+
width: 1px;
|
154
|
+
height: calc(100% - 12px);
|
155
|
+
padding: 6px 0;
|
156
|
+
cursor: default;
|
157
|
+
background: #f0f1f5;
|
158
|
+
}
|
159
|
+
.bk-table-head-filter .content-footer span.btn-filter-reset.disable {
|
160
|
+
color: var(--gray-color);
|
161
|
+
cursor: not-allowed;
|
162
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.bk-head-cell-sort {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: column;
|
4
|
+
margin-left: 4px;
|
5
|
+
font-size: 10px;
|
6
|
+
}
|
7
|
+
.bk-head-cell-sort .sort-action {
|
8
|
+
display: flex;
|
9
|
+
width: 18px;
|
10
|
+
height: calc(var(--row-height)/2);
|
11
|
+
color: #c0c4cc;
|
12
|
+
cursor: pointer;
|
13
|
+
}
|
14
|
+
.bk-head-cell-sort .sort-action.active {
|
15
|
+
color: #3a84ff;
|
16
|
+
}
|
17
|
+
.bk-head-cell-sort .sort-action.sort-asc {
|
18
|
+
align-items: flex-end;
|
19
|
+
}
|
20
|
+
.bk-head-cell-sort .sort-action.sort-desc {
|
21
|
+
align-items: flex-start;
|
22
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
|
3
|
+
.@{bk-prefix}-head-cell-sort {
|
4
|
+
display: flex;
|
5
|
+
flex-direction: column;
|
6
|
+
margin-left: 4px;
|
7
|
+
font-size: 10px;
|
8
|
+
|
9
|
+
.sort-action {
|
10
|
+
display: flex;
|
11
|
+
width: 18px;
|
12
|
+
height: calc(var(--row-height)/2);
|
13
|
+
color: #c0c4cc;
|
14
|
+
cursor: pointer;
|
15
|
+
|
16
|
+
&.active {
|
17
|
+
color: #3a84ff;
|
18
|
+
}
|
19
|
+
|
20
|
+
&.sort-asc {
|
21
|
+
align-items: flex-end;
|
22
|
+
}
|
23
|
+
|
24
|
+
&.sort-desc {
|
25
|
+
align-items: flex-start;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|