bkui-vue 2.0.1-beta.103 → 2.0.1-beta.105
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 +31 -31
- package/dist/index.esm.js +7460 -7452
- package/dist/index.umd.js +31 -31
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/date-picker/index.js +10 -2
- package/lib/index.js +1 -1
- package/lib/search-select/search-select.css +45 -45
- package/lib/search-select/search-select.less +39 -39
- package/lib/search-select/search-select.variable.css +45 -45
- package/lib/select/index.js +3 -0
- package/package.json +1 -1
package/lib/date-picker/index.js
CHANGED
@@ -4367,7 +4367,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4367
4367
|
slots: Object,
|
4368
4368
|
setup: function setup(props, _ref) {
|
4369
4369
|
var slots = _ref.slots,
|
4370
|
-
emit = _ref.emit
|
4370
|
+
emit = _ref.emit,
|
4371
|
+
expose = _ref.expose;
|
4371
4372
|
var formItem = (0,shared_namespaceObject.useFormItem)();
|
4372
4373
|
var isRange = props.type.includes('range');
|
4373
4374
|
var teleportTo = (0,external_vue_namespaceObject.ref)((0,shared_namespaceObject.getFullscreenRoot)());
|
@@ -4877,6 +4878,9 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4877
4878
|
var onPickFirst = function onPickFirst(val, type) {
|
4878
4879
|
emit('pick-first', val, type);
|
4879
4880
|
};
|
4881
|
+
expose({
|
4882
|
+
focus: handleIconClick
|
4883
|
+
});
|
4880
4884
|
return date_picker_objectSpread(date_picker_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
|
4881
4885
|
panel: panel,
|
4882
4886
|
publicStringValue: publicStringValue,
|
@@ -5092,7 +5096,8 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5092
5096
|
slots: Object,
|
5093
5097
|
setup: function setup(props, _ref) {
|
5094
5098
|
var slots = _ref.slots,
|
5095
|
-
emit = _ref.emit
|
5099
|
+
emit = _ref.emit,
|
5100
|
+
expose = _ref.expose;
|
5096
5101
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
5097
5102
|
resolveClassName = _usePrefix.resolveClassName;
|
5098
5103
|
var teleportTo = (0,external_vue_namespaceObject.ref)((0,shared_namespaceObject.getFullscreenRoot)());
|
@@ -5593,6 +5598,9 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5593
5598
|
emit('shortcut-change', state.shortcut, shortcutIndex);
|
5594
5599
|
};
|
5595
5600
|
var triggerRef = (0,external_vue_namespaceObject.ref)(null);
|
5601
|
+
expose({
|
5602
|
+
focus: handleIconClick
|
5603
|
+
});
|
5596
5604
|
return time_picker_objectSpread(time_picker_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
|
5597
5605
|
panel: panel,
|
5598
5606
|
publicStringValue: publicStringValue,
|
package/lib/index.js
CHANGED
@@ -213,30 +213,30 @@
|
|
213
213
|
border-color: var(--search-select-focus-border-color) !important;
|
214
214
|
}
|
215
215
|
.bk-search-select .div-input {
|
216
|
+
flex: 1 1 auto;
|
216
217
|
height: 100%;
|
217
218
|
padding: 5px 0;
|
218
219
|
line-height: 20px;
|
219
220
|
word-break: break-all;
|
220
|
-
flex: 1 1 auto;
|
221
221
|
}
|
222
222
|
.bk-search-select .div-input:focus {
|
223
223
|
outline: none;
|
224
224
|
}
|
225
225
|
.bk-search-select-container {
|
226
|
+
box-sizing: border-box;
|
226
227
|
display: flex;
|
228
|
+
flex-direction: row;
|
229
|
+
flex-wrap: wrap;
|
230
|
+
align-items: center;
|
227
231
|
min-height: 30px;
|
228
232
|
overflow: hidden;
|
229
233
|
font-size: 12px;
|
230
234
|
color: var(--search-select-font-color);
|
235
|
+
resize: none;
|
231
236
|
border: var(--border-width-base) var(--border-style-base) var(--border-style-color);
|
232
237
|
border-radius: var(--border-radius-base);
|
233
238
|
outline: none;
|
234
|
-
box-sizing: border-box;
|
235
239
|
transition: border 0.2s linear;
|
236
|
-
resize: none;
|
237
|
-
flex-direction: row;
|
238
|
-
align-items: center;
|
239
|
-
flex-wrap: wrap;
|
240
240
|
}
|
241
241
|
.bk-search-select-container.is-focus {
|
242
242
|
overflow: auto;
|
@@ -245,14 +245,17 @@
|
|
245
245
|
border-color: var(--search-select-focus-border-color) !important;
|
246
246
|
}
|
247
247
|
.bk-search-select-container .search-prefix {
|
248
|
-
flex: 0 0 auto;
|
249
248
|
display: flex;
|
249
|
+
flex: 0 0 auto;
|
250
250
|
align-items: center;
|
251
251
|
height: 100%;
|
252
252
|
}
|
253
253
|
.bk-search-select-container .search-container {
|
254
254
|
position: relative;
|
255
255
|
display: flex;
|
256
|
+
flex: 1;
|
257
|
+
flex-wrap: wrap;
|
258
|
+
align-items: center;
|
256
259
|
max-width: calc(100% - 42px);
|
257
260
|
min-height: 26px;
|
258
261
|
padding: 0 2px;
|
@@ -260,13 +263,12 @@
|
|
260
263
|
overflow: visible;
|
261
264
|
text-align: left;
|
262
265
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
263
|
-
flex: 1;
|
264
|
-
flex-wrap: wrap;
|
265
|
-
align-items: center;
|
266
266
|
}
|
267
267
|
.bk-search-select-container .search-container-selected {
|
268
268
|
position: relative;
|
269
269
|
display: inline-block;
|
270
|
+
flex: 0 0 auto;
|
271
|
+
align-self: center;
|
270
272
|
max-width: 99%;
|
271
273
|
padding-left: 8px;
|
272
274
|
margin: 0 0 4px 6px;
|
@@ -274,8 +276,6 @@
|
|
274
276
|
color: var(--search-select-font-color);
|
275
277
|
background: #f0f1f5;
|
276
278
|
border-radius: 2px;
|
277
|
-
flex: 0 0 auto;
|
278
|
-
align-self: center;
|
279
279
|
}
|
280
280
|
.bk-search-select-container .search-container-selected.hidden-selected {
|
281
281
|
visibility: hidden;
|
@@ -299,6 +299,8 @@
|
|
299
299
|
top: 4px;
|
300
300
|
right: 3px;
|
301
301
|
display: inline-flex;
|
302
|
+
align-items: center;
|
303
|
+
justify-content: center;
|
302
304
|
width: 14px;
|
303
305
|
height: 14px;
|
304
306
|
overflow: hidden;
|
@@ -307,21 +309,19 @@
|
|
307
309
|
color: #979ba5;
|
308
310
|
text-align: center;
|
309
311
|
cursor: pointer;
|
310
|
-
align-items: center;
|
311
|
-
justify-content: center;
|
312
312
|
}
|
313
313
|
.bk-search-select-container .search-container-input {
|
314
314
|
position: relative;
|
315
315
|
display: block;
|
316
|
-
|
316
|
+
flex: 1;
|
317
317
|
min-width: 40px;
|
318
|
+
height: 100%;
|
318
319
|
padding: 0 10px;
|
319
320
|
margin-top: -4px;
|
320
321
|
color: var(--search-select-font-color);
|
321
322
|
border: none;
|
322
|
-
flex: 1;
|
323
323
|
}
|
324
|
-
.bk-search-select-container .search-container-input .input-before
|
324
|
+
.bk-search-select-container .search-container-input .input-before::after {
|
325
325
|
color: var(--search-select-placeholder-color);
|
326
326
|
content: attr(data-placeholder);
|
327
327
|
}
|
@@ -333,33 +333,33 @@
|
|
333
333
|
.bk-search-select-container .search-container .selected-input {
|
334
334
|
position: relative;
|
335
335
|
display: flex;
|
336
|
-
|
336
|
+
align-items: center;
|
337
337
|
min-width: 40px;
|
338
|
+
height: 100%;
|
338
339
|
padding: 0 10px;
|
339
340
|
margin-top: -4px;
|
340
341
|
color: var(--search-select-font-color);
|
341
342
|
border: none;
|
342
|
-
align-items: center;
|
343
343
|
}
|
344
344
|
.bk-search-select-container .search-nextfix {
|
345
345
|
position: absolute;
|
346
346
|
top: 0;
|
347
347
|
right: 0;
|
348
348
|
color: var(--light-gray);
|
349
|
-
flex: 0 0 auto;
|
350
349
|
display: flex;
|
350
|
+
flex: 0 0 auto;
|
351
351
|
align-items: center;
|
352
352
|
height: 100%;
|
353
353
|
}
|
354
354
|
.bk-search-select-container .search-nextfix .search-clear {
|
355
355
|
display: flex;
|
356
|
+
align-items: center;
|
357
|
+
justify-content: center;
|
356
358
|
width: 12px;
|
357
359
|
height: 12px;
|
358
360
|
margin-right: 6px;
|
359
361
|
font-size: 12px;
|
360
362
|
color: var(--light-gray);
|
361
|
-
align-items: center;
|
362
|
-
justify-content: center;
|
363
363
|
}
|
364
364
|
.bk-search-select-container .search-nextfix .search-clear:hover {
|
365
365
|
color: #979ba5;
|
@@ -367,11 +367,11 @@
|
|
367
367
|
}
|
368
368
|
.bk-search-select-container .search-nextfix .search-nextfix-icon {
|
369
369
|
display: flex;
|
370
|
+
align-items: center;
|
371
|
+
justify-content: center;
|
370
372
|
margin-right: 8px;
|
371
373
|
font-size: 16px;
|
372
374
|
transition: color 0.2s linear;
|
373
|
-
align-items: center;
|
374
|
-
justify-content: center;
|
375
375
|
}
|
376
376
|
.bk-search-select-container .search-nextfix .search-nextfix-icon.is-focus {
|
377
377
|
color: var(--search-select-focus-color);
|
@@ -389,28 +389,28 @@
|
|
389
389
|
}
|
390
390
|
.bk-search-select-tips {
|
391
391
|
display: flex;
|
392
|
+
align-items: center;
|
392
393
|
margin-top: 5px;
|
393
394
|
font-size: 12px;
|
394
395
|
line-height: 16px;
|
395
396
|
color: var(--search-select-message-color);
|
396
|
-
align-items: center;
|
397
397
|
}
|
398
398
|
.bk-search-select-tips .select-tips {
|
399
399
|
display: flex;
|
400
|
+
align-items: center;
|
401
|
+
justify-content: center;
|
400
402
|
width: 16px;
|
401
403
|
height: 16px;
|
402
404
|
margin-right: 5px;
|
403
405
|
overflow: hidden;
|
404
406
|
font-size: 16px;
|
405
|
-
align-items: center;
|
406
|
-
justify-content: center;
|
407
407
|
}
|
408
408
|
.bk-search-select-menu {
|
409
409
|
display: flex;
|
410
|
+
flex-direction: column;
|
410
411
|
min-width: 200px;
|
411
412
|
font-size: 12px;
|
412
413
|
color: var(--search-select-font-color);
|
413
|
-
flex-direction: column;
|
414
414
|
}
|
415
415
|
.bk-search-select-menu .menu-list-mixin {
|
416
416
|
display: flex;
|
@@ -418,16 +418,16 @@
|
|
418
418
|
}
|
419
419
|
.bk-search-select-menu .menu-item-mixin {
|
420
420
|
display: flex;
|
421
|
+
flex: 0 0 32px;
|
422
|
+
align-items: center;
|
421
423
|
width: 100%;
|
422
|
-
height: 32px;
|
423
424
|
max-width: 500px;
|
425
|
+
height: 32px;
|
424
426
|
padding: 0 8px;
|
425
427
|
overflow: hidden;
|
426
428
|
text-overflow: ellipsis;
|
427
429
|
white-space: nowrap;
|
428
430
|
outline: none;
|
429
|
-
align-items: center;
|
430
|
-
flex: 0 0 32px;
|
431
431
|
}
|
432
432
|
.bk-search-select-menu .menu-item-mixin:hover {
|
433
433
|
cursor: pointer;
|
@@ -447,16 +447,16 @@
|
|
447
447
|
}
|
448
448
|
.bk-search-select-menu .menu-header-item {
|
449
449
|
display: flex;
|
450
|
+
flex: 0 0 32px;
|
451
|
+
align-items: center;
|
450
452
|
width: 100%;
|
451
|
-
height: 32px;
|
452
453
|
max-width: 500px;
|
454
|
+
height: 32px;
|
453
455
|
padding: 0 8px;
|
454
456
|
overflow: hidden;
|
455
457
|
text-overflow: ellipsis;
|
456
458
|
white-space: nowrap;
|
457
459
|
outline: none;
|
458
|
-
align-items: center;
|
459
|
-
flex: 0 0 32px;
|
460
460
|
}
|
461
461
|
.bk-search-select-menu .menu-header-item:hover {
|
462
462
|
cursor: pointer;
|
@@ -476,17 +476,17 @@
|
|
476
476
|
}
|
477
477
|
.bk-search-select-menu .menu-content-wrapper .menu-condition {
|
478
478
|
display: flex;
|
479
|
+
flex: 0 0 64px;
|
480
|
+
flex-direction: column;
|
479
481
|
width: 64px;
|
480
482
|
padding: 8px 8px 2px 10px;
|
481
483
|
background-color: #f5f7fa;
|
482
|
-
flex-direction: column;
|
483
|
-
flex: 0 0 64px;
|
484
484
|
}
|
485
485
|
.bk-search-select-menu .menu-content-wrapper .menu-condition-title {
|
486
486
|
display: flex;
|
487
|
+
align-items: center;
|
487
488
|
margin-bottom: 12px;
|
488
489
|
line-height: 24px;
|
489
|
-
align-items: center;
|
490
490
|
}
|
491
491
|
.bk-search-select-menu .menu-content-wrapper .menu-condition .bk-radio {
|
492
492
|
width: 50px;
|
@@ -497,24 +497,24 @@
|
|
497
497
|
}
|
498
498
|
.bk-search-select-menu .menu-content {
|
499
499
|
display: flex;
|
500
|
+
flex: 1;
|
501
|
+
flex-direction: column;
|
500
502
|
padding: 4px 0;
|
501
503
|
margin: 0;
|
502
504
|
overflow: auto;
|
503
|
-
flex-direction: column;
|
504
|
-
flex: 1;
|
505
505
|
}
|
506
506
|
.bk-search-select-menu .menu-content .menu-item {
|
507
507
|
display: flex;
|
508
|
+
flex: 0 0 32px;
|
509
|
+
align-items: center;
|
508
510
|
width: 100%;
|
509
|
-
height: 32px;
|
510
511
|
max-width: 500px;
|
512
|
+
height: 32px;
|
511
513
|
padding: 0 8px;
|
512
514
|
overflow: hidden;
|
513
515
|
text-overflow: ellipsis;
|
514
516
|
white-space: nowrap;
|
515
517
|
outline: none;
|
516
|
-
align-items: center;
|
517
|
-
flex: 0 0 32px;
|
518
518
|
white-space: pre;
|
519
519
|
}
|
520
520
|
.bk-search-select-menu .menu-content .menu-item:hover {
|
@@ -549,21 +549,21 @@
|
|
549
549
|
}
|
550
550
|
.bk-search-select-menu .menu-content .menu-item .menu-name {
|
551
551
|
display: flex;
|
552
|
+
align-items: center;
|
552
553
|
margin-right: 5px;
|
553
554
|
font-weight: bold;
|
554
555
|
color: var(--search-select-font-color);
|
555
|
-
align-items: center;
|
556
556
|
}
|
557
557
|
.bk-search-select-menu .menu-footer {
|
558
558
|
display: flex;
|
559
|
+
align-items: center;
|
559
560
|
width: 100%;
|
560
561
|
height: 32px;
|
561
562
|
border-top: var(--border-width-base) var(--border-style-base) var(--search-select-menu-border-color);
|
562
|
-
align-items: center;
|
563
563
|
}
|
564
564
|
.bk-search-select-menu .menu-footer-btn {
|
565
|
-
flex: 1;
|
566
565
|
display: flex;
|
566
|
+
flex: 1;
|
567
567
|
align-items: center;
|
568
568
|
justify-content: center;
|
569
569
|
height: 100%;
|
@@ -17,11 +17,11 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
.div-input {
|
20
|
+
flex: 1 1 auto;
|
20
21
|
height: 100%;
|
21
22
|
padding: 5px 0;
|
22
23
|
line-height: 20px;
|
23
24
|
word-break: break-all;
|
24
|
-
flex: 1 1 auto;
|
25
25
|
|
26
26
|
&:focus {
|
27
27
|
outline: none;
|
@@ -29,21 +29,21 @@
|
|
29
29
|
}
|
30
30
|
|
31
31
|
&-container {
|
32
|
+
box-sizing: border-box;
|
32
33
|
// position: relative;
|
33
34
|
display: flex;
|
35
|
+
flex-direction: row;
|
36
|
+
flex-wrap: wrap;
|
37
|
+
align-items: center;
|
34
38
|
min-height: 30px;
|
35
39
|
overflow: hidden;
|
36
40
|
font-size: 12px;
|
37
41
|
color: @search-select-font-color;
|
42
|
+
resize: none;
|
38
43
|
border: @border-width-base @border-style-base @border-style-color;
|
39
44
|
border-radius: @border-radius-base;
|
40
45
|
outline: none;
|
41
|
-
box-sizing: border-box;
|
42
46
|
transition: border 0.2s linear;
|
43
|
-
resize: none;
|
44
|
-
flex-direction: row;
|
45
|
-
align-items: center;
|
46
|
-
flex-wrap: wrap;
|
47
47
|
|
48
48
|
&.is-focus {
|
49
49
|
overflow: auto;
|
@@ -55,8 +55,8 @@
|
|
55
55
|
}
|
56
56
|
|
57
57
|
.search-prefix {
|
58
|
-
flex: 0 0 auto;
|
59
58
|
display: flex;
|
59
|
+
flex: 0 0 auto;
|
60
60
|
align-items: center;
|
61
61
|
height: 100%;
|
62
62
|
}
|
@@ -64,6 +64,9 @@
|
|
64
64
|
.search-container {
|
65
65
|
position: relative;
|
66
66
|
display: flex;
|
67
|
+
flex: 1;
|
68
|
+
flex-wrap: wrap;
|
69
|
+
align-items: center;
|
67
70
|
max-width: calc(100% - 42px);
|
68
71
|
min-height: 26px;
|
69
72
|
padding: 0 2px;
|
@@ -71,13 +74,12 @@
|
|
71
74
|
overflow: visible;
|
72
75
|
text-align: left;
|
73
76
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
74
|
-
flex: 1;
|
75
|
-
flex-wrap: wrap;
|
76
|
-
align-items: center;
|
77
77
|
|
78
78
|
&-selected {
|
79
79
|
position: relative;
|
80
80
|
display: inline-block;
|
81
|
+
flex: 0 0 auto;
|
82
|
+
align-self: center;
|
81
83
|
max-width: 99%;
|
82
84
|
padding-left: 8px;
|
83
85
|
margin: 0 0 4px 6px;
|
@@ -85,8 +87,6 @@
|
|
85
87
|
color: @search-select-font-color;
|
86
88
|
background: #f0f1f5;
|
87
89
|
border-radius: 2px;
|
88
|
-
flex: 0 0 auto;
|
89
|
-
align-self: center;
|
90
90
|
|
91
91
|
&.hidden-selected {
|
92
92
|
visibility: hidden;
|
@@ -115,6 +115,8 @@
|
|
115
115
|
top: 4px;
|
116
116
|
right: 3px;
|
117
117
|
display: inline-flex;
|
118
|
+
align-items: center;
|
119
|
+
justify-content: center;
|
118
120
|
width: 14px;
|
119
121
|
height: 14px;
|
120
122
|
overflow: hidden;
|
@@ -123,24 +125,22 @@
|
|
123
125
|
color: #979ba5;
|
124
126
|
text-align: center;
|
125
127
|
cursor: pointer;
|
126
|
-
align-items: center;
|
127
|
-
justify-content: center;
|
128
128
|
}
|
129
129
|
}
|
130
130
|
|
131
131
|
&-input {
|
132
132
|
position: relative;
|
133
133
|
display: block;
|
134
|
-
|
134
|
+
flex: 1;
|
135
135
|
min-width: 40px;
|
136
|
+
height: 100%;
|
136
137
|
padding: 0 10px;
|
137
138
|
margin-top: -4px;
|
138
139
|
color: @search-select-font-color;
|
139
140
|
border: none;
|
140
|
-
flex: 1;
|
141
141
|
|
142
142
|
.input-before {
|
143
|
-
|
143
|
+
&::after {
|
144
144
|
color: @search-select-placeholder-color;
|
145
145
|
content: attr(data-placeholder);
|
146
146
|
}
|
@@ -158,13 +158,13 @@
|
|
158
158
|
.selected-input {
|
159
159
|
position: relative;
|
160
160
|
display: flex;
|
161
|
-
|
161
|
+
align-items: center;
|
162
162
|
min-width: 40px;
|
163
|
+
height: 100%;
|
163
164
|
padding: 0 10px;
|
164
165
|
margin-top: -4px;
|
165
166
|
color: @search-select-font-color;
|
166
167
|
border: none;
|
167
|
-
align-items: center;
|
168
168
|
}
|
169
169
|
}
|
170
170
|
|
@@ -173,19 +173,19 @@
|
|
173
173
|
top: 0;
|
174
174
|
right: 0;
|
175
175
|
display: flex;
|
176
|
-
color: @light-gray;
|
177
176
|
align-items: center;
|
177
|
+
color: @light-gray;
|
178
178
|
.search-prefix();
|
179
179
|
|
180
180
|
.search-clear {
|
181
181
|
display: flex;
|
182
|
+
align-items: center;
|
183
|
+
justify-content: center;
|
182
184
|
width: 12px;
|
183
185
|
height: 12px;
|
184
186
|
margin-right: 6px;
|
185
187
|
font-size: 12px;
|
186
188
|
color: @light-gray;
|
187
|
-
align-items: center;
|
188
|
-
justify-content: center;
|
189
189
|
|
190
190
|
&:hover {
|
191
191
|
color: #979ba5;
|
@@ -195,11 +195,11 @@
|
|
195
195
|
|
196
196
|
.search-nextfix-icon {
|
197
197
|
display: flex;
|
198
|
+
align-items: center;
|
199
|
+
justify-content: center;
|
198
200
|
margin-right: 8px;
|
199
201
|
font-size: 16px;
|
200
202
|
transition: color 0.2s linear;
|
201
|
-
align-items: center;
|
202
|
-
justify-content: center;
|
203
203
|
|
204
204
|
&.is-focus {
|
205
205
|
.focus();
|
@@ -221,31 +221,31 @@
|
|
221
221
|
|
222
222
|
&-tips {
|
223
223
|
display: flex;
|
224
|
+
align-items: center;
|
224
225
|
margin-top: 5px;
|
225
226
|
font-size: 12px;
|
226
227
|
line-height: 16px;
|
227
228
|
color: @search-select-message-color;
|
228
|
-
align-items: center;
|
229
229
|
|
230
230
|
.select-tips {
|
231
231
|
display: flex;
|
232
|
+
align-items: center;
|
233
|
+
justify-content: center;
|
232
234
|
width: 16px;
|
233
235
|
height: 16px;
|
234
236
|
margin-right: 5px;
|
235
237
|
overflow: hidden;
|
236
238
|
font-size: 16px;
|
237
|
-
align-items: center;
|
238
|
-
justify-content: center;
|
239
239
|
}
|
240
240
|
}
|
241
241
|
}
|
242
242
|
|
243
243
|
.@{search-select-name}-menu {
|
244
244
|
display: flex;
|
245
|
+
flex-direction: column;
|
245
246
|
min-width: 200px;
|
246
247
|
font-size: 12px;
|
247
248
|
color: @search-select-font-color;
|
248
|
-
flex-direction: column;
|
249
249
|
|
250
250
|
.menu-list-mixin {
|
251
251
|
display: flex;
|
@@ -254,16 +254,16 @@
|
|
254
254
|
|
255
255
|
.menu-item-mixin {
|
256
256
|
display: flex;
|
257
|
+
flex: 0 0 32px;
|
258
|
+
align-items: center;
|
257
259
|
width: 100%;
|
258
|
-
height: 32px;
|
259
260
|
max-width: 500px;
|
261
|
+
height: 32px;
|
260
262
|
padding: 0 8px;
|
261
263
|
overflow: hidden;
|
262
264
|
text-overflow: ellipsis;
|
263
265
|
white-space: nowrap;
|
264
266
|
outline: none;
|
265
|
-
align-items: center;
|
266
|
-
flex: 0 0 32px;
|
267
267
|
|
268
268
|
&:hover {
|
269
269
|
cursor: pointer;
|
@@ -300,17 +300,17 @@
|
|
300
300
|
|
301
301
|
.menu-condition {
|
302
302
|
display: flex;
|
303
|
+
flex: 0 0 64px;
|
304
|
+
flex-direction: column;
|
303
305
|
width: 64px;
|
304
306
|
padding: 8px 8px 2px 10px;
|
305
307
|
background-color: #f5f7fa;
|
306
|
-
flex-direction: column;
|
307
|
-
flex: 0 0 64px;
|
308
308
|
|
309
309
|
&-title {
|
310
310
|
display: flex;
|
311
|
+
align-items: center;
|
311
312
|
margin-bottom: 12px;
|
312
313
|
line-height: 24px;
|
313
|
-
align-items: center;
|
314
314
|
}
|
315
315
|
.@{bk-prefix}-radio {
|
316
316
|
width: 50px;
|
@@ -324,12 +324,12 @@
|
|
324
324
|
|
325
325
|
.menu-content {
|
326
326
|
display: flex;
|
327
|
+
flex: 1;
|
328
|
+
flex-direction: column;
|
327
329
|
// max-height: 240px;
|
328
330
|
padding: 4px 0;
|
329
331
|
margin: 0;
|
330
332
|
overflow: auto;
|
331
|
-
flex-direction: column;
|
332
|
-
flex: 1;
|
333
333
|
|
334
334
|
.menu-item {
|
335
335
|
.menu-item-mixin();
|
@@ -365,25 +365,25 @@
|
|
365
365
|
|
366
366
|
.menu-name {
|
367
367
|
display: flex;
|
368
|
+
align-items: center;
|
368
369
|
// max-width: 100px;
|
369
370
|
margin-right: 5px;
|
370
371
|
font-weight: bold;
|
371
372
|
color: @search-select-font-color;
|
372
|
-
align-items: center;
|
373
373
|
}
|
374
374
|
}
|
375
375
|
}
|
376
376
|
|
377
377
|
.menu-footer {
|
378
378
|
display: flex;
|
379
|
+
align-items: center;
|
379
380
|
width: 100%;
|
380
381
|
height: 32px;
|
381
382
|
border-top: @border-width-base @border-style-base @search-select-menu-border-color;
|
382
|
-
align-items: center;
|
383
383
|
|
384
384
|
&-btn {
|
385
|
-
flex: 1;
|
386
385
|
display: flex;
|
386
|
+
flex: 1;
|
387
387
|
align-items: center;
|
388
388
|
justify-content: center;
|
389
389
|
height: 100%;
|