bk-magic-vue 2.4.13 → 2.4.15-beta.1
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/bk-magic-vue.css +68 -20
- package/dist/bk-magic-vue.js +76 -18
- package/dist/bk-magic-vue.min.css +1 -1
- package/dist/bk-magic-vue.min.css.gz +0 -0
- package/dist/bk-magic-vue.min.css.map +1 -1
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/card.js +215 -16
- package/lib/date-picker.js +37 -7
- package/lib/directives/tooltips.js +1 -0
- package/lib/form-item.js +1 -0
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/popconfirm.js +0 -4
- package/lib/slider.js +1 -0
- package/lib/table.js +26 -2
- package/lib/tag-input.js +1 -0
- package/lib/time-picker.js +37 -7
- package/lib/ui/bk-magic-vue.css +68 -20
- package/lib/ui/bk-magic-vue.min.css +1 -1
- package/lib/ui/bk-magic-vue.min.css.gz +0 -0
- package/lib/ui/bk-magic-vue.min.css.map +1 -1
- package/lib/ui/dialog.css +2 -2
- package/lib/ui/dialog.min.css +1 -1
- package/lib/ui/dialog.min.css.map +1 -1
- package/lib/ui/dropdown-menu.css +15 -12
- package/lib/ui/dropdown-menu.min.css +1 -1
- package/lib/ui/dropdown-menu.min.css.map +1 -1
- package/lib/ui/info-box.css +2 -2
- package/lib/ui/info-box.min.css +1 -1
- package/lib/ui/info-box.min.css.map +1 -1
- package/lib/ui/popconfirm.css +4 -4
- package/lib/ui/popconfirm.min.css +1 -1
- package/lib/ui/popconfirm.min.css.map +1 -1
- package/lib/ui/sideslider.css +1 -2
- package/lib/ui/sideslider.min.css +1 -1
- package/lib/ui/sideslider.min.css.map +1 -1
- package/lib/ui/table.css +29 -1
- package/lib/ui/table.min.css +1 -1
- package/lib/ui/table.min.css.map +1 -1
- package/lib/ui/time-picker.css +29 -2
- package/lib/ui/time-picker.min.css +1 -1
- package/lib/ui/time-picker.min.css.map +1 -1
- package/package.json +4 -4
package/dist/bk-magic-vue.css
CHANGED
|
@@ -4377,7 +4377,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
4377
4377
|
.bk-dialog-wrapper .bk-dialog-tool{
|
|
4378
4378
|
min-height:30px;
|
|
4379
4379
|
position:relative;
|
|
4380
|
-
|
|
4380
|
+
|
|
4381
4381
|
}
|
|
4382
4382
|
.bk-dialog-wrapper .bk-dialog-header{
|
|
4383
4383
|
padding:3px 24px 24px 24px;
|
|
@@ -4389,7 +4389,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
4389
4389
|
display:inline-block;
|
|
4390
4390
|
width:100%;
|
|
4391
4391
|
font-size:20px;
|
|
4392
|
-
color:#
|
|
4392
|
+
color:#313238;
|
|
4393
4393
|
overflow:hidden;
|
|
4394
4394
|
text-overflow:ellipsis;
|
|
4395
4395
|
white-space:nowrap;
|
|
@@ -5220,16 +5220,21 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
5220
5220
|
.bk-diff.format-side-by-side tbody.d2h-diff-tbody tr:last-child{
|
|
5221
5221
|
display:none;
|
|
5222
5222
|
}
|
|
5223
|
-
|
|
5224
|
-
--font-size:12px
|
|
5223
|
+
.bk-dropdown-menu{
|
|
5224
|
+
--font-size:12px
|
|
5225
5225
|
}
|
|
5226
|
-
|
|
5226
|
+
.bk-dropdown-menu.medium-font{
|
|
5227
5227
|
--font-size:14px;
|
|
5228
5228
|
}
|
|
5229
|
-
|
|
5229
|
+
.bk-dropdown-menu.large-font{
|
|
5230
5230
|
--font-size:16px;
|
|
5231
5231
|
}
|
|
5232
|
+
.bk-dropdown-menu.medium-font .bk-dropdown-list > li > a, .bk-dropdown-menu.large-font .bk-dropdown-list > li > a{
|
|
5233
|
+
height:36px;
|
|
5234
|
+
line-height:37px;
|
|
5235
|
+
}
|
|
5232
5236
|
.bk-dropdown-menu{
|
|
5237
|
+
|
|
5233
5238
|
display:inline-block;
|
|
5234
5239
|
position:relative
|
|
5235
5240
|
}
|
|
@@ -5259,7 +5264,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
5259
5264
|
}
|
|
5260
5265
|
.bk-dropdown-menu .bk-dropdown-content{
|
|
5261
5266
|
background:#fff;
|
|
5262
|
-
padding:
|
|
5267
|
+
padding:4px 0;
|
|
5263
5268
|
margin:0;
|
|
5264
5269
|
z-index:2500;
|
|
5265
5270
|
border-radius:2px;
|
|
@@ -5269,20 +5274,20 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
5269
5274
|
-webkit-transition:visibility 0s, max-height 200ms linear;
|
|
5270
5275
|
transition:visibility 0s, max-height 200ms linear;
|
|
5271
5276
|
visibility:hidden;
|
|
5272
|
-
-webkit-box-shadow:0 2px 6px rgba(51,60,72,0.1);
|
|
5273
|
-
box-shadow:0 2px 6px rgba(51,60,72,0.1);
|
|
5277
|
+
-webkit-box-shadow:0 2px 6px rgba(51, 60, 72, 0.1);
|
|
5278
|
+
box-shadow:0 2px 6px rgba(51, 60, 72, 0.1);
|
|
5274
5279
|
text-align:left;
|
|
5275
5280
|
display:inline-block;
|
|
5276
5281
|
overflow-x:hidden
|
|
5277
5282
|
}
|
|
5278
5283
|
.bk-dropdown-menu .bk-dropdown-content::-webkit-scrollbar{
|
|
5279
5284
|
width:4px;
|
|
5280
|
-
background-color
|
|
5285
|
+
background-color:#e6e9ea;
|
|
5281
5286
|
}
|
|
5282
5287
|
.bk-dropdown-menu .bk-dropdown-content::-webkit-scrollbar-thumb{
|
|
5283
5288
|
height:5px;
|
|
5284
5289
|
border-radius:2px;
|
|
5285
|
-
background-color
|
|
5290
|
+
background-color:rgb(199, 206, 209);
|
|
5286
5291
|
}
|
|
5287
5292
|
.bk-dropdown-menu .bk-dropdown-content.is-show{
|
|
5288
5293
|
visibility:visible;
|
|
@@ -9065,8 +9070,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
9065
9070
|
line-height:60px;
|
|
9066
9071
|
border-bottom:1px solid #DCDEE5;
|
|
9067
9072
|
font-size:16px;
|
|
9068
|
-
|
|
9069
|
-
color:#666;
|
|
9073
|
+
color:#313238;
|
|
9070
9074
|
}
|
|
9071
9075
|
.bk-sideslider-content{
|
|
9072
9076
|
overflow:auto;
|
|
@@ -10335,9 +10339,27 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10335
10339
|
width:100%;
|
|
10336
10340
|
height:1px;
|
|
10337
10341
|
content:'';
|
|
10338
|
-
background-color
|
|
10342
|
+
background-color:transparent;
|
|
10339
10343
|
z-index:1;
|
|
10340
10344
|
}
|
|
10345
|
+
.bk-table.bk-table-dark-header th{
|
|
10346
|
+
background-color:#f0f1f5;
|
|
10347
|
+
}
|
|
10348
|
+
.bk-table.bk-table-dark-header th :hover{
|
|
10349
|
+
background-color:#eaebf0
|
|
10350
|
+
}
|
|
10351
|
+
.bk-table.bk-table-custom-header{
|
|
10352
|
+
--customHeaderColor:#000;
|
|
10353
|
+
}
|
|
10354
|
+
.bk-table.bk-table-custom-header th{
|
|
10355
|
+
background-color:var(--customHeaderColor);
|
|
10356
|
+
}
|
|
10357
|
+
.bk-table.bk-table-custom-header-hover{
|
|
10358
|
+
--customHeaderColorHover:#fff;
|
|
10359
|
+
}
|
|
10360
|
+
.bk-table.bk-table-custom-header-hover th .cell:hover{
|
|
10361
|
+
background-color:var(--customHeaderColorHover)
|
|
10362
|
+
}
|
|
10341
10363
|
.bk-table thead{
|
|
10342
10364
|
color:#63656e;
|
|
10343
10365
|
font-weight:bold
|
|
@@ -10558,6 +10580,9 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
|
|
|
10558
10580
|
border:1px solid #dfe0e5;
|
|
10559
10581
|
border-radius:2px
|
|
10560
10582
|
}
|
|
10583
|
+
.bk-table-group:before, .bk-table-border:before, .bk-table-outer-border:before{
|
|
10584
|
+
background-color:#dfe0e5;
|
|
10585
|
+
}
|
|
10561
10586
|
.bk-table-group:after, .bk-table-border:after, .bk-table-outer-border:after{
|
|
10562
10587
|
position:absolute;
|
|
10563
10588
|
top:0;
|
|
@@ -11382,6 +11407,21 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11382
11407
|
.bk-selector-list .bk-selector-list-item .bk-selector-tools .bk-selector-list-icon{
|
|
11383
11408
|
margin-right:14px;
|
|
11384
11409
|
}
|
|
11410
|
+
.bk-time-picker-now{
|
|
11411
|
+
border-top:1px solid #dcdee5;
|
|
11412
|
+
text-align:right;
|
|
11413
|
+
clear:both;
|
|
11414
|
+
background-color:#fafbfd;
|
|
11415
|
+
height:42px;
|
|
11416
|
+
line-height:41px;
|
|
11417
|
+
font-size:13px;
|
|
11418
|
+
padding:0 20px;
|
|
11419
|
+
text-align:center;
|
|
11420
|
+
}
|
|
11421
|
+
.bk-time-picker-now a{
|
|
11422
|
+
color:#3a84ff;
|
|
11423
|
+
text-decoration:none;
|
|
11424
|
+
}
|
|
11385
11425
|
.bk-time-picker-cells{
|
|
11386
11426
|
}
|
|
11387
11427
|
.bk-time-picker-cells:after{
|
|
@@ -11396,7 +11436,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11396
11436
|
box-sizing:border-box;
|
|
11397
11437
|
padding-top:6px;
|
|
11398
11438
|
text-align:left;
|
|
11399
|
-
background-color
|
|
11439
|
+
background-color:#e1ecff;
|
|
11400
11440
|
mix-blend-mode:multiply;
|
|
11401
11441
|
color:#3a84ff;
|
|
11402
11442
|
pointer-events:none;
|
|
@@ -11517,7 +11557,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11517
11557
|
position:relative
|
|
11518
11558
|
}
|
|
11519
11559
|
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell:hover{
|
|
11520
|
-
color:#
|
|
11560
|
+
background-color:#f0f1f5;
|
|
11521
11561
|
}
|
|
11522
11562
|
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-disabled{
|
|
11523
11563
|
color:#c4c6cc;
|
|
@@ -11532,6 +11572,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11532
11572
|
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected:hover{
|
|
11533
11573
|
color:#3a84ff;
|
|
11534
11574
|
}
|
|
11575
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected{
|
|
11576
|
+
font-weight:700;
|
|
11577
|
+
}
|
|
11535
11578
|
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-focused{
|
|
11536
11579
|
}
|
|
11537
11580
|
.bk-time-picker-header{
|
|
@@ -11543,6 +11586,11 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
11543
11586
|
font-weight:700;
|
|
11544
11587
|
color:#63656e;
|
|
11545
11588
|
}
|
|
11589
|
+
.bk-time-picker-header .now-time{
|
|
11590
|
+
font-weight:400;
|
|
11591
|
+
cursor:pointer;
|
|
11592
|
+
margin-left:3px;
|
|
11593
|
+
}
|
|
11546
11594
|
.bk-time-picker-with-range .bk-picker-panel-body{
|
|
11547
11595
|
}
|
|
11548
11596
|
.bk-time-picker-with-range .bk-picker-panel-content{
|
|
@@ -14303,7 +14351,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
14303
14351
|
.bk-popconfirm-content .popconfirm-split{
|
|
14304
14352
|
display:inline-block;
|
|
14305
14353
|
position:absolute;
|
|
14306
|
-
top:
|
|
14354
|
+
top:9px;
|
|
14307
14355
|
background-color:#dcdee5;
|
|
14308
14356
|
width:1px;
|
|
14309
14357
|
height:12px;
|
|
@@ -14313,7 +14361,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
14313
14361
|
padding:10px;
|
|
14314
14362
|
}
|
|
14315
14363
|
.bk-popconfirm-content.popconfirm-more .popconfirm-content .title{
|
|
14316
|
-
font-size:
|
|
14364
|
+
font-size:14px;
|
|
14317
14365
|
color:#313238;
|
|
14318
14366
|
padding-bottom:10px;
|
|
14319
14367
|
}
|
|
@@ -14325,7 +14373,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
14325
14373
|
}
|
|
14326
14374
|
.bk-popconfirm-content.popconfirm-more .popconfirm-content .is-simple.content{
|
|
14327
14375
|
font-size:14px;
|
|
14328
|
-
line-height:
|
|
14376
|
+
line-height:22px;
|
|
14329
14377
|
}
|
|
14330
14378
|
.bk-popconfirm-content.popconfirm-more .popconfirm-operate{
|
|
14331
14379
|
text-align:right;
|
|
@@ -14357,7 +14405,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
|
|
|
14357
14405
|
background-color:#699df4;
|
|
14358
14406
|
border-color:#699df4;
|
|
14359
14407
|
}
|
|
14360
|
-
.bk-popconfirm-content .popconfirm-operate .default-operate-button{
|
|
14408
|
+
.bk-popconfirm-content .popconfirm-operate .default-operate-button[type="button"]{
|
|
14361
14409
|
height:26px;
|
|
14362
14410
|
padding:0 16px;
|
|
14363
14411
|
}
|
package/dist/bk-magic-vue.js
CHANGED
|
@@ -8961,7 +8961,8 @@
|
|
|
8961
8961
|
hour: 'Hour',
|
|
8962
8962
|
min: 'Minute',
|
|
8963
8963
|
sec: 'Second',
|
|
8964
|
-
toNow: 'Now'
|
|
8964
|
+
toNow: 'Now',
|
|
8965
|
+
now: 'Now'
|
|
8965
8966
|
},
|
|
8966
8967
|
dialog: {
|
|
8967
8968
|
ok: 'OK',
|
|
@@ -9116,7 +9117,8 @@
|
|
|
9116
9117
|
hour: '时',
|
|
9117
9118
|
min: '分',
|
|
9118
9119
|
sec: '秒',
|
|
9119
|
-
toNow: '至今'
|
|
9120
|
+
toNow: '至今',
|
|
9121
|
+
now: '此刻'
|
|
9120
9122
|
},
|
|
9121
9123
|
dialog: {
|
|
9122
9124
|
ok: '确定',
|
|
@@ -10685,13 +10687,16 @@
|
|
|
10685
10687
|
bindWheelEvent: function bindWheelEvent() {
|
|
10686
10688
|
var _this5 = this;
|
|
10687
10689
|
var bindFunction = function bindFunction(type) {
|
|
10688
|
-
_this5.$refs[type]
|
|
10690
|
+
var el = _this5.$refs[type];
|
|
10691
|
+
el && el.addEventListener('wheel', debounce$2(_this5.handleWheel, 32, type), {
|
|
10689
10692
|
passive: true
|
|
10690
10693
|
});
|
|
10691
10694
|
};
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
+
this.$nextTick(function () {
|
|
10696
|
+
bindFunction('hours');
|
|
10697
|
+
bindFunction('minutes');
|
|
10698
|
+
bindFunction('seconds');
|
|
10699
|
+
});
|
|
10695
10700
|
},
|
|
10696
10701
|
typeItemHeight: function typeItemHeight(type) {
|
|
10697
10702
|
return this.$refs[type].querySelector('li').offsetHeight;
|
|
@@ -10967,7 +10972,7 @@
|
|
|
10967
10972
|
components: {
|
|
10968
10973
|
TimeSpinner: __vue_component__$p
|
|
10969
10974
|
},
|
|
10970
|
-
mixins: [timeMixins, panelMixins],
|
|
10975
|
+
mixins: [timeMixins, panelMixins, locale.mixin],
|
|
10971
10976
|
props: {
|
|
10972
10977
|
disabledDate: {
|
|
10973
10978
|
type: Function,
|
|
@@ -11077,6 +11082,16 @@
|
|
|
11077
11082
|
if (emit) {
|
|
11078
11083
|
this.$emit('pick', newDate, true, 'time');
|
|
11079
11084
|
}
|
|
11085
|
+
},
|
|
11086
|
+
setTimeToNow: function setTimeToNow() {
|
|
11087
|
+
var hours = new Date().getHours();
|
|
11088
|
+
var minutes = new Date().getMinutes();
|
|
11089
|
+
var seconds = new Date().getSeconds();
|
|
11090
|
+
var newDate = new Date(this.date);
|
|
11091
|
+
newDate.setHours(hours);
|
|
11092
|
+
newDate.setMinutes(minutes);
|
|
11093
|
+
newDate.setSeconds(seconds);
|
|
11094
|
+
this.$emit('pick', newDate, true, 'time');
|
|
11080
11095
|
}
|
|
11081
11096
|
}
|
|
11082
11097
|
};
|
|
@@ -11106,7 +11121,15 @@
|
|
|
11106
11121
|
}
|
|
11107
11122
|
}, [_vm.showDate ? _c('div', {
|
|
11108
11123
|
staticClass: "bk-time-picker-header"
|
|
11109
|
-
}, [_vm._v(_vm._s(_vm.visibleDate)
|
|
11124
|
+
}, [_vm._v("\n " + _vm._s(_vm.visibleDate) + "\n "), _c('a', {
|
|
11125
|
+
staticClass: "now-time",
|
|
11126
|
+
attrs: {
|
|
11127
|
+
"href": "javascript: void(0);"
|
|
11128
|
+
},
|
|
11129
|
+
on: {
|
|
11130
|
+
"click": _vm.setTimeToNow
|
|
11131
|
+
}
|
|
11132
|
+
}, [_vm._v(_vm._s(_vm.t('bk.datePicker.now')))])]) : _vm._e(), _c('div', {
|
|
11110
11133
|
staticClass: "bk-picker-panel-content"
|
|
11111
11134
|
}, [_c('time-spinner', {
|
|
11112
11135
|
ref: "timeSpinner",
|
|
@@ -11125,7 +11148,16 @@
|
|
|
11125
11148
|
"change": _vm.handleChange,
|
|
11126
11149
|
"pick-click": _vm.handlePickClick
|
|
11127
11150
|
}
|
|
11128
|
-
})], 1)
|
|
11151
|
+
})], 1), !_vm.showDate ? _c('div', {
|
|
11152
|
+
staticClass: "bk-time-picker-now"
|
|
11153
|
+
}, [_c('a', {
|
|
11154
|
+
attrs: {
|
|
11155
|
+
"href": "javascript: void(0);"
|
|
11156
|
+
},
|
|
11157
|
+
on: {
|
|
11158
|
+
"click": _vm.setTimeToNow
|
|
11159
|
+
}
|
|
11160
|
+
}, [_vm._v(_vm._s(_vm.t('bk.datePicker.now')))])]) : _vm._e()])]);
|
|
11129
11161
|
};
|
|
11130
11162
|
|
|
11131
11163
|
var __vue_staticRenderFns__$q = [];
|
|
@@ -28843,6 +28875,7 @@
|
|
|
28843
28875
|
trigger: 'mouseenter focus',
|
|
28844
28876
|
theme: 'dark',
|
|
28845
28877
|
interactive: true,
|
|
28878
|
+
boundary: 'window',
|
|
28846
28879
|
content: '',
|
|
28847
28880
|
allowHtml: false,
|
|
28848
28881
|
extCls: ''
|
|
@@ -34549,10 +34582,6 @@
|
|
|
34549
34582
|
},
|
|
34550
34583
|
mixins: [locale.mixin],
|
|
34551
34584
|
props: {
|
|
34552
|
-
tirgger: {
|
|
34553
|
-
type: String,
|
|
34554
|
-
default: 'mouseenter focus'
|
|
34555
|
-
},
|
|
34556
34585
|
title: {
|
|
34557
34586
|
type: String
|
|
34558
34587
|
},
|
|
@@ -41802,6 +41831,18 @@
|
|
|
41802
41831
|
type: Boolean,
|
|
41803
41832
|
default: true
|
|
41804
41833
|
},
|
|
41834
|
+
customHeaderColor: {
|
|
41835
|
+
type: String,
|
|
41836
|
+
default: ''
|
|
41837
|
+
},
|
|
41838
|
+
customHeaderColorHover: {
|
|
41839
|
+
type: String,
|
|
41840
|
+
default: ''
|
|
41841
|
+
},
|
|
41842
|
+
darkHeader: {
|
|
41843
|
+
type: Boolean,
|
|
41844
|
+
default: false
|
|
41845
|
+
},
|
|
41805
41846
|
rowAutoHeight: {
|
|
41806
41847
|
type: Boolean,
|
|
41807
41848
|
default: false
|
|
@@ -42114,6 +42155,7 @@
|
|
|
42114
42155
|
},
|
|
42115
42156
|
mounted: function mounted() {
|
|
42116
42157
|
var _this3 = this;
|
|
42158
|
+
this.setHeaderStyle();
|
|
42117
42159
|
this.bindEvents();
|
|
42118
42160
|
this.store.updateColumns();
|
|
42119
42161
|
this.doLayout();
|
|
@@ -42137,6 +42179,13 @@
|
|
|
42137
42179
|
if (this.resizeListener) removeResizeListener(this.$el, this.resizeListener);
|
|
42138
42180
|
},
|
|
42139
42181
|
methods: {
|
|
42182
|
+
setHeaderStyle: function setHeaderStyle() {
|
|
42183
|
+
var _this4 = this;
|
|
42184
|
+
this.$nextTick(function () {
|
|
42185
|
+
_this4.$refs.bkTable.style.setProperty('--customHeaderColor', _this4.customHeaderColor);
|
|
42186
|
+
_this4.$refs.bkTable.style.setProperty('--customHeaderColorHover', _this4.customHeaderColorHover);
|
|
42187
|
+
});
|
|
42188
|
+
},
|
|
42140
42189
|
setCurrentRow: function setCurrentRow(row) {
|
|
42141
42190
|
this.store.commit('setCurrentRow', row);
|
|
42142
42191
|
},
|
|
@@ -42209,7 +42258,7 @@
|
|
|
42209
42258
|
var refs = this.$refs;
|
|
42210
42259
|
var self = this;
|
|
42211
42260
|
this.bodyWrapper.addEventListener('scroll', function () {
|
|
42212
|
-
var
|
|
42261
|
+
var _this5 = this;
|
|
42213
42262
|
if (headerWrapper) {
|
|
42214
42263
|
headerWrapper.scrollLeft = this.scrollLeft;
|
|
42215
42264
|
values$1(tableHeader.filterPanels).forEach(function (filterPanel) {
|
|
@@ -42232,7 +42281,7 @@
|
|
|
42232
42281
|
if (this.scrollThrottle) return;
|
|
42233
42282
|
this.scrollThrottle = true;
|
|
42234
42283
|
setTimeout(function () {
|
|
42235
|
-
|
|
42284
|
+
_this5.scrollThrottle = false;
|
|
42236
42285
|
if (bodyWrapper.scrollHeight - bodyWrapper.offsetHeight - bodyWrapper.scrollTop < 40) {
|
|
42237
42286
|
self.$emit('scroll-end');
|
|
42238
42287
|
}
|
|
@@ -42294,12 +42343,16 @@
|
|
|
42294
42343
|
var _c = _vm._self._c || _h;
|
|
42295
42344
|
|
|
42296
42345
|
return _c('div', {
|
|
42346
|
+
ref: "bkTable",
|
|
42297
42347
|
staticClass: "bk-table",
|
|
42298
42348
|
class: [{
|
|
42299
42349
|
'bk-table-fit': _vm.fit,
|
|
42300
42350
|
'bk-table-striped': _vm.stripe,
|
|
42301
42351
|
'bk-table-border': _vm.tableBorder || _vm.isGroup,
|
|
42302
42352
|
'bk-table-outer-border': _vm.outerBorder,
|
|
42353
|
+
'bk-table-dark-header': _vm.darkHeader,
|
|
42354
|
+
'bk-table-custom-header': _vm.customHeaderColor,
|
|
42355
|
+
'bk-table-custom-header-hover': _vm.customHeaderColorHover,
|
|
42303
42356
|
'bk-table-linear': !(_vm.tableBorder || _vm.outerBorder || _vm.isGroup),
|
|
42304
42357
|
'bk-table-row-border': _vm.tableRowBorder,
|
|
42305
42358
|
'bk-table-col-border': _vm.tableColBorder,
|
|
@@ -54984,7 +55037,8 @@
|
|
|
54984
55037
|
var script$1s = {
|
|
54985
55038
|
name: 'bk-card',
|
|
54986
55039
|
components: {
|
|
54987
|
-
bkInput: __vue_component__$B
|
|
55040
|
+
bkInput: __vue_component__$B,
|
|
55041
|
+
bkTransition: __vue_component__$3
|
|
54988
55042
|
},
|
|
54989
55043
|
props: {
|
|
54990
55044
|
title: {
|
|
@@ -55135,9 +55189,13 @@
|
|
|
55135
55189
|
},
|
|
55136
55190
|
expression: "renderTitle"
|
|
55137
55191
|
}
|
|
55138
|
-
})])], 2) : _vm._e(), _vm.collapseActive ? [_c('
|
|
55192
|
+
})])], 2) : _vm._e(), _vm.collapseActive ? [_c('bk-transition', {
|
|
55193
|
+
attrs: {
|
|
55194
|
+
"name": "collapse"
|
|
55195
|
+
}
|
|
55196
|
+
}, [_c('div', {
|
|
55139
55197
|
staticClass: "bk-card-body"
|
|
55140
|
-
}, [_vm._t("default")], 2), _vm.showFoot ? _c('div', {
|
|
55198
|
+
}, [_vm._t("default")], 2)]), _vm.showFoot ? _c('div', {
|
|
55141
55199
|
staticClass: "bk-card-foot"
|
|
55142
55200
|
}, [_vm._t("footer")], 2) : _vm._e()] : _vm._e()], 2);
|
|
55143
55201
|
};
|