bkui-vue 0.0.1-beta.112 → 0.0.1-beta.113
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 +23 -23
- package/dist/index.esm.js +1450 -1420
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/popover2/index.d.ts +0 -6
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover2.d.ts +0 -2
- package/lib/select/common.d.ts +1 -8
- package/lib/select/index.d.ts +26 -15
- package/lib/select/index.js +1 -1
- package/lib/select/select.css +50 -102
- package/lib/select/select.d.ts +8 -5
- package/lib/select/select.less +106 -114
- package/lib/select/select.variable.css +50 -102
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/package.json +2 -1
package/lib/select/select.css
CHANGED
@@ -19,23 +19,13 @@
|
|
19
19
|
.bk-fade-transtion .bk-fade-leave-to {
|
20
20
|
opacity: 0;
|
21
21
|
}
|
22
|
-
.bk-
|
23
|
-
padding: 0;
|
24
|
-
}
|
25
|
-
.bk-select .bk-popover,
|
26
|
-
.bk-popover-content .bk-popover {
|
27
|
-
display: block;
|
28
|
-
}
|
29
|
-
.bk-select .mr5,
|
30
|
-
.bk-popover-content .mr5 {
|
22
|
+
.bk-select .mr5 {
|
31
23
|
margin-right: 5px;
|
32
24
|
}
|
33
|
-
.bk-select .ml5
|
34
|
-
.bk-popover-content .ml5 {
|
25
|
+
.bk-select .ml5 {
|
35
26
|
margin-left: 5px;
|
36
27
|
}
|
37
|
-
.bk-select .input
|
38
|
-
.bk-popover-content .input {
|
28
|
+
.bk-select .input {
|
39
29
|
width: 100%;
|
40
30
|
height: 32px;
|
41
31
|
padding: 0 28px 0 10px;
|
@@ -55,66 +45,50 @@
|
|
55
45
|
text-overflow: ellipsis;
|
56
46
|
white-space: nowrap;
|
57
47
|
}
|
58
|
-
.bk-select .input::placeholder
|
59
|
-
.bk-popover-content .input::placeholder {
|
48
|
+
.bk-select .input::placeholder {
|
60
49
|
color: #c4c6cc;
|
61
50
|
}
|
62
|
-
.bk-select ul
|
63
|
-
.bk-popover-content ul {
|
51
|
+
.bk-select ul {
|
64
52
|
padding: 0;
|
65
53
|
margin: 0;
|
66
54
|
font-weight: normal;
|
67
55
|
list-style: none;
|
68
56
|
}
|
69
|
-
.bk-select .bk-
|
70
|
-
.bk-popover-content .bk-popover-reference {
|
71
|
-
display: unset;
|
72
|
-
}
|
73
|
-
.bk-select.large .bk-select-content,
|
74
|
-
.bk-popover-content.large .bk-select-content {
|
57
|
+
.bk-select.large .bk-select-content {
|
75
58
|
font-size: 14px;
|
76
59
|
}
|
77
|
-
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag
|
78
|
-
.bk-popover-content.is-focus.normal .bk-select-trigger .bk-select-tag {
|
60
|
+
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag {
|
79
61
|
border-color: #3a84ff;
|
80
62
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
81
63
|
}
|
82
|
-
.bk-select.popover-show .bk-select-trigger .angle-up
|
83
|
-
.bk-popover-content.popover-show .bk-select-trigger .angle-up {
|
64
|
+
.bk-select.popover-show .bk-select-trigger .angle-up {
|
84
65
|
transform: rotate(0);
|
85
66
|
}
|
86
|
-
.bk-select.is-disabled .bk-select-trigger .bk-input input
|
87
|
-
.bk-popover-content.is-disabled .bk-select-trigger .bk-input input {
|
67
|
+
.bk-select.is-disabled .bk-select-trigger .bk-input input {
|
88
68
|
cursor: not-allowed;
|
89
69
|
background-color: #fafbfd;
|
90
70
|
}
|
91
|
-
.bk-select .bk-select-trigger
|
92
|
-
.bk-popover-content .bk-select-trigger {
|
71
|
+
.bk-select .bk-select-trigger {
|
93
72
|
position: relative;
|
94
73
|
}
|
95
|
-
.bk-select .bk-select-trigger .bk-tag-input .bk-tag-input-trigger .clear-icon
|
96
|
-
.bk-popover-content .bk-select-trigger .bk-tag-input .bk-tag-input-trigger .clear-icon {
|
74
|
+
.bk-select .bk-select-trigger .bk-tag-input .bk-tag-input-trigger .clear-icon {
|
97
75
|
margin-right: 0;
|
98
76
|
}
|
99
|
-
.bk-select .bk-select-trigger .bk-input input
|
100
|
-
.bk-popover-content .bk-select-trigger .bk-input input {
|
77
|
+
.bk-select .bk-select-trigger .bk-input input {
|
101
78
|
cursor: pointer;
|
102
79
|
background-color: #fff;
|
103
80
|
}
|
104
|
-
.bk-select .bk-select-trigger .bk-input.is-focused
|
105
|
-
.bk-popover-content .bk-select-trigger .bk-input.is-focused {
|
81
|
+
.bk-select .bk-select-trigger .bk-input.is-focused {
|
106
82
|
border-color: #3a84ff;
|
107
83
|
outline: 0;
|
108
84
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
109
85
|
}
|
110
|
-
.bk-select .bk-select-trigger .bk-input.is-focused.is-simplicity
|
111
|
-
.bk-popover-content .bk-select-trigger .bk-input.is-focused.is-simplicity {
|
86
|
+
.bk-select .bk-select-trigger .bk-input.is-focused.is-simplicity {
|
112
87
|
border-color: transparent;
|
113
88
|
border-bottom-color: #3a84ff;
|
114
89
|
box-shadow: none;
|
115
90
|
}
|
116
|
-
.bk-select .bk-select-trigger .bk-select-tag
|
117
|
-
.bk-popover-content .bk-select-trigger .bk-select-tag {
|
91
|
+
.bk-select .bk-select-trigger .bk-select-tag {
|
118
92
|
width: 100%;
|
119
93
|
height: 32px;
|
120
94
|
padding: 0 28px 0 10px;
|
@@ -140,12 +114,10 @@
|
|
140
114
|
align-items: center;
|
141
115
|
flex-wrap: wrap;
|
142
116
|
}
|
143
|
-
.bk-select .bk-select-trigger .bk-select-tag::placeholder
|
144
|
-
.bk-popover-content .bk-select-trigger .bk-select-tag::placeholder {
|
117
|
+
.bk-select .bk-select-trigger .bk-select-tag::placeholder {
|
145
118
|
color: #c4c6cc;
|
146
119
|
}
|
147
|
-
.bk-select .bk-select-trigger .bk-select-tag-input
|
148
|
-
.bk-popover-content .bk-select-trigger .bk-select-tag-input {
|
120
|
+
.bk-select .bk-select-trigger .bk-select-tag-input {
|
149
121
|
width: 100%;
|
150
122
|
height: 32px;
|
151
123
|
padding: 0 28px 0 10px;
|
@@ -172,17 +144,14 @@
|
|
172
144
|
outline: none;
|
173
145
|
flex-grow: 1;
|
174
146
|
}
|
175
|
-
.bk-select .bk-select-trigger .bk-select-tag-input::placeholder
|
176
|
-
.bk-popover-content .bk-select-trigger .bk-select-tag-input::placeholder {
|
147
|
+
.bk-select .bk-select-trigger .bk-select-tag-input::placeholder {
|
177
148
|
color: #c4c6cc;
|
178
149
|
}
|
179
|
-
.bk-select .bk-select-trigger .bk-select-tag .bk-tag
|
180
|
-
.bk-popover-content .bk-select-trigger .bk-select-tag .bk-tag {
|
150
|
+
.bk-select .bk-select-trigger .bk-select-tag .bk-tag {
|
181
151
|
max-width: 190px;
|
182
152
|
padding: 0 4px;
|
183
153
|
}
|
184
|
-
.bk-select .bk-select-trigger .angle-up
|
185
|
-
.bk-popover-content .bk-select-trigger .angle-up {
|
154
|
+
.bk-select .bk-select-trigger .angle-up {
|
186
155
|
right: 4px;
|
187
156
|
transform: rotate(180deg);
|
188
157
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
@@ -198,8 +167,7 @@
|
|
198
167
|
align-items: center;
|
199
168
|
justify-content: center;
|
200
169
|
}
|
201
|
-
.bk-select .bk-select-trigger .clear-icon
|
202
|
-
.bk-popover-content .bk-select-trigger .clear-icon {
|
170
|
+
.bk-select .bk-select-trigger .clear-icon {
|
203
171
|
right: 4px;
|
204
172
|
cursor: pointer;
|
205
173
|
transition: all 0.1s;
|
@@ -215,26 +183,25 @@
|
|
215
183
|
align-items: center;
|
216
184
|
justify-content: center;
|
217
185
|
}
|
218
|
-
.bk-select .bk-select-trigger .clear-icon:hover
|
219
|
-
.bk-popover-content .bk-select-trigger .clear-icon:hover {
|
186
|
+
.bk-select .bk-select-trigger .clear-icon:hover {
|
220
187
|
color: #979ba5;
|
221
188
|
}
|
222
|
-
.bk-select .bk-select-trigger .spinner
|
223
|
-
.bk-popover-content .bk-select-trigger .spinner {
|
189
|
+
.bk-select .bk-select-trigger .spinner {
|
224
190
|
position: absolute;
|
225
191
|
top: 8px;
|
226
192
|
right: 6px;
|
227
193
|
}
|
228
|
-
.bk-
|
229
|
-
|
194
|
+
.bk-popover2.bk-select-popover {
|
195
|
+
padding: 0;
|
196
|
+
}
|
197
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-empty {
|
230
198
|
display: flex;
|
231
199
|
align-items: center;
|
232
200
|
justify-content: center;
|
233
201
|
height: 56px;
|
234
202
|
color: #63656e;
|
235
203
|
}
|
236
|
-
.bk-select .bk-select-empty .spinner
|
237
|
-
.bk-popover-content .bk-select-empty .spinner {
|
204
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-empty .spinner {
|
238
205
|
display: flex;
|
239
206
|
width: 14px;
|
240
207
|
height: 14px;
|
@@ -244,23 +211,19 @@
|
|
244
211
|
align-items: center;
|
245
212
|
justify-content: center;
|
246
213
|
}
|
247
|
-
.bk-select .bk-select-dropdown
|
248
|
-
.bk-popover-content .bk-select-dropdown {
|
214
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-dropdown {
|
249
215
|
overflow: auto;
|
250
216
|
}
|
251
|
-
.bk-select .bk-select-extension
|
252
|
-
.bk-popover-content .bk-select-extension {
|
217
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-extension {
|
253
218
|
display: flex;
|
254
219
|
height: 40px;
|
255
220
|
background-color: #fafbfd;
|
256
221
|
align-items: center;
|
257
222
|
}
|
258
|
-
.bk-select .bk-select-options
|
259
|
-
.bk-popover-content .bk-select-options {
|
223
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-options {
|
260
224
|
padding: 8px 0;
|
261
225
|
}
|
262
|
-
.bk-select .bk-select-option
|
263
|
-
.bk-popover-content .bk-select-option {
|
226
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option {
|
264
227
|
position: relative;
|
265
228
|
height: 32px;
|
266
229
|
padding: 0 12px;
|
@@ -273,65 +236,52 @@
|
|
273
236
|
text-overflow: ellipsis;
|
274
237
|
white-space: nowrap;
|
275
238
|
}
|
276
|
-
.bk-select .bk-select-option
|
277
|
-
|
278
|
-
|
279
|
-
|
239
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option-item {
|
240
|
+
display: flex;
|
241
|
+
align-items: center;
|
242
|
+
justify-content: space-between;
|
243
|
+
}
|
244
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option:hover,
|
245
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-hover {
|
280
246
|
color: #3a84ff;
|
281
247
|
background-color: #f5f7fa;
|
282
248
|
}
|
283
|
-
.bk-select .bk-select-option.is-selected
|
284
|
-
.bk-popover-content .bk-select-option.is-selected {
|
249
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-selected {
|
285
250
|
color: #3a84ff;
|
286
251
|
}
|
287
|
-
.bk-select .bk-select-
|
288
|
-
.bk-popover-content .bk-select-option.is-selected.is-multiple::after {
|
289
|
-
position: absolute;
|
290
|
-
right: 12px;
|
291
|
-
font-weight: 700;
|
292
|
-
content: '\2713';
|
293
|
-
}
|
294
|
-
.bk-select .bk-select-option.is-disabled,
|
295
|
-
.bk-popover-content .bk-select-option.is-disabled {
|
252
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-option.is-disabled {
|
296
253
|
color: #c4c6cc;
|
297
254
|
cursor: not-allowed;
|
298
255
|
background-color: transparent;
|
299
256
|
}
|
300
|
-
.bk-select .bk-select-options-loading
|
301
|
-
.bk-popover-content .bk-select-options-loading {
|
257
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-select-options-loading {
|
302
258
|
display: flex;
|
303
259
|
align-items: center;
|
304
260
|
justify-content: center;
|
305
261
|
}
|
306
|
-
.bk-select .bk-option-group-label
|
307
|
-
.bk-popover-content .bk-option-group-label {
|
262
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group-label {
|
308
263
|
height: 32px;
|
309
264
|
padding: 0 8px;
|
310
265
|
line-height: 32px;
|
311
266
|
color: #979ba5;
|
312
267
|
text-align: left;
|
313
268
|
}
|
314
|
-
.bk-select .bk-option-group-label.collapsible
|
315
|
-
.bk-popover-content .bk-option-group-label.collapsible {
|
269
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group-label.collapsible {
|
316
270
|
cursor: pointer;
|
317
271
|
}
|
318
|
-
.bk-select .bk-option-group.collapsible .bk-select-option
|
319
|
-
.bk-popover-content .bk-option-group.collapsible .bk-select-option {
|
272
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group.collapsible .bk-select-option {
|
320
273
|
padding-left: 40px;
|
321
274
|
}
|
322
|
-
.bk-select .bk-option-group.disabled .default-group-label
|
323
|
-
.bk-popover-content .bk-option-group.disabled .default-group-label {
|
275
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group.disabled .default-group-label {
|
324
276
|
color: #c4c6cc;
|
325
277
|
cursor: not-allowed;
|
326
278
|
}
|
327
|
-
.bk-select .bk-option-group .default-group-label
|
328
|
-
.bk-popover-content .bk-option-group .default-group-label {
|
279
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label {
|
329
280
|
display: flex;
|
330
281
|
user-select: none;
|
331
282
|
align-items: center;
|
332
283
|
}
|
333
|
-
.bk-select .bk-option-group .default-group-label-icon
|
334
|
-
.bk-popover-content .bk-option-group .default-group-label-icon {
|
284
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon {
|
335
285
|
display: flex;
|
336
286
|
width: 12px;
|
337
287
|
height: 12px;
|
@@ -340,11 +290,9 @@
|
|
340
290
|
align-items: center;
|
341
291
|
justify-content: center;
|
342
292
|
}
|
343
|
-
.bk-select .bk-option-group .default-group-label-icon.collapse
|
344
|
-
.bk-popover-content .bk-option-group .default-group-label-icon.collapse {
|
293
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group .default-group-label-icon.collapse {
|
345
294
|
transform: rotate(-90deg);
|
346
295
|
}
|
347
|
-
.bk-select .bk-option-group .bk-select-option
|
348
|
-
.bk-popover-content .bk-option-group .bk-select-option {
|
296
|
+
.bk-popover2.bk-select-popover .bk-select-content .bk-option-group .bk-select-option {
|
349
297
|
padding-left: 24px;
|
350
298
|
}
|
package/lib/select/select.d.ts
CHANGED
@@ -205,8 +205,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
205
205
|
isPopoverShow: import("vue").Ref<boolean>;
|
206
206
|
isHover: import("vue").Ref<boolean>;
|
207
207
|
popperWidth: import("vue").Ref<string | number>;
|
208
|
-
popoverRef: import("vue").Ref<any>;
|
209
208
|
inputRef: import("vue").Ref<HTMLElement>;
|
209
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
210
210
|
selectTagInputRef: import("vue").Ref<{
|
211
211
|
$: import("vue").ComponentInternalInstance;
|
212
212
|
$data: {};
|
@@ -372,21 +372,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
372
372
|
searchKey: import("vue").Ref<string>;
|
373
373
|
setHover: () => void;
|
374
374
|
cancelHover: () => void;
|
375
|
-
handleFocus: () => void;
|
375
|
+
handleFocus: (e: FocusEvent) => void;
|
376
376
|
handleTogglePopover: () => void;
|
377
377
|
handleClear: (e: Event) => void;
|
378
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
379
378
|
hidePopover: () => void;
|
380
379
|
showPopover: () => void;
|
381
380
|
handleToggleAll: () => void;
|
382
381
|
handleOptionSelected: (option: OptionInstanceType) => void;
|
383
|
-
handleClickOutside: (
|
382
|
+
handleClickOutside: ({ event }: {
|
383
|
+
event: any;
|
384
|
+
}) => void;
|
384
385
|
handleScroll: (e: any) => void;
|
385
386
|
handleDeleteTag: (val: any) => void;
|
386
387
|
handleInputChange: (value: any) => void;
|
387
388
|
handleInputEnter: (value: any, e: Event) => void;
|
388
389
|
handleKeydown: (e: KeyboardEvent) => void;
|
389
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
390
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
390
391
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
391
392
|
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
392
393
|
default: boolean;
|
@@ -505,6 +506,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
505
506
|
default: boolean;
|
506
507
|
};
|
507
508
|
}>> & {
|
509
|
+
onFocus?: (...args: any[]) => any;
|
510
|
+
onBlur?: (...args: any[]) => any;
|
508
511
|
onChange?: (...args: any[]) => any;
|
509
512
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
510
513
|
onClear?: (...args: any[]) => any;
|
package/lib/select/select.less
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
@import '../styles/mixins/animate.less';
|
3
3
|
|
4
|
-
.
|
5
|
-
|
4
|
+
.ellipsis() {
|
5
|
+
overflow: hidden;
|
6
|
+
text-overflow: ellipsis;
|
7
|
+
white-space: nowrap;
|
6
8
|
}
|
7
9
|
|
8
|
-
.@{bk-prefix}-select
|
9
|
-
.bk-popover-content {
|
10
|
+
.@{bk-prefix}-select {
|
10
11
|
.bk-select-icon(@fontSize: 20px, @color: #979ba5) {
|
11
12
|
display: flex;
|
12
13
|
align-items: center;
|
@@ -26,12 +27,6 @@
|
|
26
27
|
justify-content: center;
|
27
28
|
}
|
28
29
|
|
29
|
-
.ellipsis() {
|
30
|
-
overflow: hidden;
|
31
|
-
text-overflow: ellipsis;
|
32
|
-
white-space: nowrap;
|
33
|
-
}
|
34
|
-
|
35
30
|
.mr(@marginRight) {
|
36
31
|
margin-right: @marginRight;
|
37
32
|
}
|
@@ -46,10 +41,6 @@
|
|
46
41
|
box-shadow: 0px 0px 3px 0px @input-shadow-color;
|
47
42
|
}
|
48
43
|
|
49
|
-
.bk-popover {
|
50
|
-
display: block;
|
51
|
-
}
|
52
|
-
|
53
44
|
.mr5 {
|
54
45
|
.mr(5px)
|
55
46
|
}
|
@@ -88,10 +79,6 @@
|
|
88
79
|
list-style: none;
|
89
80
|
}
|
90
81
|
|
91
|
-
.bk-popover-reference {
|
92
|
-
display: unset;
|
93
|
-
}
|
94
|
-
|
95
82
|
&.large {
|
96
83
|
.bk-select-content {
|
97
84
|
font-size: 14px;
|
@@ -196,132 +183,137 @@
|
|
196
183
|
right: 6px;
|
197
184
|
}
|
198
185
|
}
|
186
|
+
}
|
199
187
|
|
200
|
-
|
201
|
-
|
202
|
-
align-items: center;
|
203
|
-
justify-content: center;
|
204
|
-
height: 56px;
|
205
|
-
color: #63656e;
|
188
|
+
.bk-popover2.bk-select-popover {
|
189
|
+
padding: 0;
|
206
190
|
|
207
|
-
|
191
|
+
.bk-select-content {
|
192
|
+
.bk-select-empty {
|
208
193
|
display: flex;
|
209
|
-
width: 14px;
|
210
|
-
height: 14px;
|
211
|
-
margin-right: 4px;
|
212
|
-
font-size: 14px;
|
213
|
-
color: #c4c6cc;
|
214
194
|
align-items: center;
|
215
195
|
justify-content: center;
|
196
|
+
height: 56px;
|
197
|
+
color: #63656e;
|
198
|
+
|
199
|
+
.spinner {
|
200
|
+
display: flex;
|
201
|
+
width: 14px;
|
202
|
+
height: 14px;
|
203
|
+
margin-right: 4px;
|
204
|
+
font-size: 14px;
|
205
|
+
color: #c4c6cc;
|
206
|
+
align-items: center;
|
207
|
+
justify-content: center;
|
208
|
+
}
|
216
209
|
}
|
217
|
-
}
|
218
210
|
|
219
|
-
|
220
|
-
|
221
|
-
}
|
222
|
-
|
223
|
-
.bk-select-extension {
|
224
|
-
display: flex;
|
225
|
-
height: 40px;
|
226
|
-
background-color: #fafbfd;
|
227
|
-
align-items: center;
|
228
|
-
}
|
229
|
-
|
230
|
-
.bk-select-options {
|
231
|
-
padding: 8px 0;
|
232
|
-
}
|
233
|
-
|
234
|
-
.bk-select-option {
|
235
|
-
position: relative;
|
236
|
-
height: 32px;
|
237
|
-
padding: 0 12px;
|
238
|
-
line-height: 32px;
|
239
|
-
color: #63656e;
|
240
|
-
text-align: left;
|
241
|
-
cursor: pointer;
|
242
|
-
user-select: none;
|
243
|
-
|
244
|
-
.ellipsis();
|
245
|
-
|
246
|
-
&:hover,
|
247
|
-
&.is-hover {
|
248
|
-
color: #3a84ff;
|
249
|
-
background-color: #f5f7fa;
|
211
|
+
.bk-select-dropdown {
|
212
|
+
overflow: auto;
|
250
213
|
}
|
251
214
|
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
right: 12px;
|
258
|
-
font-weight: 700;
|
259
|
-
content: '\2713';
|
260
|
-
}
|
215
|
+
.bk-select-extension {
|
216
|
+
display: flex;
|
217
|
+
height: 40px;
|
218
|
+
background-color: #fafbfd;
|
219
|
+
align-items: center;
|
261
220
|
}
|
262
221
|
|
263
|
-
|
264
|
-
|
265
|
-
cursor: not-allowed;
|
266
|
-
background-color: transparent;
|
222
|
+
.bk-select-options {
|
223
|
+
padding: 8px 0;
|
267
224
|
}
|
268
225
|
|
269
|
-
|
270
|
-
|
271
|
-
.bk-select-options-loading {
|
272
|
-
display: flex;
|
273
|
-
align-items: center;
|
274
|
-
justify-content: center;
|
275
|
-
}
|
276
|
-
|
277
|
-
.bk-option-group {
|
278
|
-
&-label {
|
226
|
+
.bk-select-option {
|
227
|
+
position: relative;
|
279
228
|
height: 32px;
|
280
|
-
padding: 0
|
229
|
+
padding: 0 12px;
|
281
230
|
line-height: 32px;
|
282
|
-
color: #
|
231
|
+
color: #63656e;
|
283
232
|
text-align: left;
|
284
|
-
|
285
|
-
|
286
|
-
|
233
|
+
cursor: pointer;
|
234
|
+
user-select: none;
|
235
|
+
|
236
|
+
.ellipsis();
|
237
|
+
|
238
|
+
&-item {
|
239
|
+
display: flex;
|
240
|
+
align-items: center;
|
241
|
+
justify-content: space-between;
|
287
242
|
}
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
243
|
+
|
244
|
+
&:hover,
|
245
|
+
&.is-hover {
|
246
|
+
color: #3a84ff;
|
247
|
+
background-color: #f5f7fa;
|
293
248
|
}
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
249
|
+
|
250
|
+
&.is-selected {
|
251
|
+
color: #3a84ff;
|
252
|
+
}
|
253
|
+
|
254
|
+
&.is-disabled {
|
298
255
|
color: #c4c6cc;
|
299
256
|
cursor: not-allowed;
|
257
|
+
background-color: transparent;
|
300
258
|
}
|
259
|
+
|
301
260
|
}
|
302
261
|
|
303
|
-
.
|
262
|
+
.bk-select-options-loading {
|
304
263
|
display: flex;
|
305
|
-
user-select: none;
|
306
264
|
align-items: center;
|
265
|
+
justify-content: center;
|
266
|
+
}
|
307
267
|
|
308
|
-
|
268
|
+
.bk-option-group {
|
269
|
+
&-label {
|
270
|
+
height: 32px;
|
271
|
+
padding: 0 8px;
|
272
|
+
line-height: 32px;
|
273
|
+
color: #979ba5;
|
274
|
+
text-align: left;
|
275
|
+
|
276
|
+
&.collapsible {
|
277
|
+
cursor: pointer;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
|
281
|
+
&.collapsible {
|
282
|
+
.bk-select-option {
|
283
|
+
padding-left: 40px;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
&.disabled {
|
288
|
+
.default-group-label {
|
289
|
+
color: #c4c6cc;
|
290
|
+
cursor: not-allowed;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
|
294
|
+
.default-group-label {
|
309
295
|
display: flex;
|
310
|
-
|
311
|
-
height: 12px;
|
312
|
-
margin-right: 8px;
|
313
|
-
transition: all .1s;
|
296
|
+
user-select: none;
|
314
297
|
align-items: center;
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
298
|
+
|
299
|
+
&-icon {
|
300
|
+
display: flex;
|
301
|
+
width: 12px;
|
302
|
+
height: 12px;
|
303
|
+
margin-right: 8px;
|
304
|
+
transition: all .1s;
|
305
|
+
align-items: center;
|
306
|
+
justify-content: center;
|
307
|
+
|
308
|
+
&.collapse {
|
309
|
+
transform: rotate(-90deg);
|
310
|
+
}
|
319
311
|
}
|
320
312
|
}
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
313
|
+
|
314
|
+
.bk-select-option {
|
315
|
+
padding-left: 24px;
|
316
|
+
}
|
325
317
|
}
|
326
318
|
}
|
327
319
|
}
|