bk-magic-vue 2.4.4 → 2.4.5

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/lib/cascade.js CHANGED
@@ -6291,6 +6291,9 @@
6291
6291
  }
6292
6292
  },
6293
6293
  removeTag: function removeTag(item, index) {
6294
+ if (this.disabled) {
6295
+ return;
6296
+ }
6294
6297
  var oldId = JSON.parse(stringify$1(this.multipleCurrentList));
6295
6298
  this.multipleCurrentList = this.multipleCurrentList.filter(function (itemInfo) {
6296
6299
  return itemInfo.join(',') !== item.id.join(',');
@@ -572,7 +572,7 @@
572
572
  case 'zoomIn':
573
573
  transform.scale = _parseFloat$2((transform.scale + zoomRate).toFixed(3));
574
574
  break;
575
- case 'clocelise':
575
+ case 'clockwise':
576
576
  transform.deg += rotateDeg;
577
577
  break;
578
578
  case 'anticlocelise':
@@ -677,7 +677,7 @@
677
677
  }), _vm.isShowTitle && _vm.urlList.length ? _c('div', {
678
678
  staticClass: "bk-image-viewer-header"
679
679
  }, [_c('div', [_vm._v(_vm._s(_vm.currentName))]), _c('div', {
680
- staticClass: "tc"
680
+ staticClass: "tc "
681
681
  }, [_vm._v(_vm._s(_vm.index + 1) + "/" + _vm._s(_vm.urlList.length))]), _c('div', {
682
682
  staticClass: "quit-box tr"
683
683
  }, [_c('div', {
package/lib/image.js CHANGED
@@ -720,7 +720,7 @@
720
720
  case 'zoomIn':
721
721
  transform.scale = _parseFloat$2((transform.scale + zoomRate).toFixed(3));
722
722
  break;
723
- case 'clocelise':
723
+ case 'clockwise':
724
724
  transform.deg += rotateDeg;
725
725
  break;
726
726
  case 'anticlocelise':
@@ -825,7 +825,7 @@
825
825
  }), _vm.isShowTitle && _vm.urlList.length ? _c('div', {
826
826
  staticClass: "bk-image-viewer-header"
827
827
  }, [_c('div', [_vm._v(_vm._s(_vm.currentName))]), _c('div', {
828
- staticClass: "tc"
828
+ staticClass: "tc "
829
829
  }, [_vm._v(_vm._s(_vm.index + 1) + "/" + _vm._s(_vm.urlList.length))]), _c('div', {
830
830
  staticClass: "quit-box tr"
831
831
  }, [_c('div', {
package/lib/pagination.js CHANGED
@@ -5737,6 +5737,10 @@
5737
5737
  default: ''
5738
5738
  },
5739
5739
  displayTag: Boolean,
5740
+ autoHeight: {
5741
+ type: Boolean,
5742
+ default: true
5743
+ },
5740
5744
  collapseTag: {
5741
5745
  type: Boolean,
5742
5746
  default: true
@@ -6045,7 +6049,7 @@
6045
6049
  },
6046
6050
  handleDropdownShow: function handleDropdownShow() {
6047
6051
  this.defaultWidth = this.$el.offsetWidth;
6048
- this.focus = true;
6052
+ if (this.autoHeight) this.focus = true;
6049
6053
  },
6050
6054
  handleDropdownHide: function handleDropdownHide() {
6051
6055
  this.focus = false;
package/lib/select.js CHANGED
@@ -5737,6 +5737,10 @@
5737
5737
  default: ''
5738
5738
  },
5739
5739
  displayTag: Boolean,
5740
+ autoHeight: {
5741
+ type: Boolean,
5742
+ default: true
5743
+ },
5740
5744
  collapseTag: {
5741
5745
  type: Boolean,
5742
5746
  default: true
@@ -6045,7 +6049,7 @@
6045
6049
  },
6046
6050
  handleDropdownShow: function handleDropdownShow() {
6047
6051
  this.defaultWidth = this.$el.offsetWidth;
6048
- this.focus = true;
6052
+ if (this.autoHeight) this.focus = true;
6049
6053
  },
6050
6054
  handleDropdownHide: function handleDropdownHide() {
6051
6055
  this.focus = false;
package/lib/table.js CHANGED
@@ -3827,6 +3827,7 @@
3827
3827
  this.fixedBodyHeight = this.scrollX ? this.bodyHeight - this.gutterWidth : this.bodyHeight;
3828
3828
  var noData = !this.table.data || this.table.data.length === 0;
3829
3829
  this.viewportHeight = this.scrollX ? tableHeight - (noData ? 0 : this.gutterWidth) : tableHeight;
3830
+ this.syncRowHeight();
3830
3831
  this.updateScrollY();
3831
3832
  this.notifyObservers('scrollable');
3832
3833
  }
@@ -10929,6 +10930,10 @@
10929
10930
  default: ''
10930
10931
  },
10931
10932
  displayTag: Boolean,
10933
+ autoHeight: {
10934
+ type: Boolean,
10935
+ default: true
10936
+ },
10932
10937
  collapseTag: {
10933
10938
  type: Boolean,
10934
10939
  default: true
@@ -11237,7 +11242,7 @@
11237
11242
  },
11238
11243
  handleDropdownShow: function handleDropdownShow() {
11239
11244
  this.defaultWidth = this.$el.offsetWidth;
11240
- this.focus = true;
11245
+ if (this.autoHeight) this.focus = true;
11241
11246
  },
11242
11247
  handleDropdownHide: function handleDropdownHide() {
11243
11248
  this.focus = false;
@@ -12429,6 +12434,10 @@
12429
12434
  type: Boolean,
12430
12435
  default: true
12431
12436
  },
12437
+ rowAutoHeight: {
12438
+ type: Boolean,
12439
+ default: false
12440
+ },
12432
12441
  stripe: Boolean,
12433
12442
  border: Boolean,
12434
12443
  outerBorder: {
@@ -12925,7 +12934,8 @@
12925
12934
  'bk-table-fluid-height': _vm.maxHeight,
12926
12935
  'bk-table-scrollable-x': _vm.layout.scrollX,
12927
12936
  'bk-table-scrollable-y': _vm.layout.scrollY,
12928
- 'bk-table-enable-row-transition': (_vm.store.states.data || []).length !== 0 && (_vm.store.states.data || []).length < 100
12937
+ 'bk-table-enable-row-transition': (_vm.store.states.data || []).length !== 0 && (_vm.store.states.data || []).length < 100,
12938
+ 'bk-table-row-auto-height': _vm.rowAutoHeight
12929
12939
  }, _vm.tableSize ? "bk-table-" + _vm.tableSize : '', _vm.extCls],
12930
12940
  on: {
12931
12941
  "mouseleave": function mouseleave($event) {
@@ -10328,6 +10328,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
10328
10328
  .bk-table th.is-leaf,
10329
10329
  .bk-table td{
10330
10330
  border-bottom:1px solid #dfe0e5;
10331
+ height:43px;
10331
10332
  }
10332
10333
  .bk-table th.is-sortable{
10333
10334
  cursor:pointer;
@@ -10472,6 +10473,9 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
10472
10473
  position:absolute;
10473
10474
  z-index:-1;
10474
10475
  }
10476
+ .bk-table-row-auto-height .cell{
10477
+ display:block;
10478
+ }
10475
10479
  .bk-table-group,
10476
10480
  .bk-table-border,
10477
10481
  .bk-table-outer-border{
@@ -14626,6 +14630,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
14626
14630
  width:100%;
14627
14631
  height:100%;
14628
14632
  cursor:pointer;
14633
+ vertical-align:bottom;
14629
14634
  }
14630
14635
  .bk-zoom-image .bk-full-screen{
14631
14636
  position:fixed;
@@ -15059,6 +15064,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15059
15064
  -ms-flex-align:center;
15060
15065
  align-items:center;
15061
15066
  color:#c4c6cc;
15067
+ background:rgba(0,0,0,0.70);
15062
15068
  }
15063
15069
  .bk-image-viewer-header > div{
15064
15070
  -webkit-box-flex:1;
@@ -15080,7 +15086,9 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15080
15086
  -webkit-box-pack:end;
15081
15087
  -ms-flex-pack:end;
15082
15088
  justify-content:flex-end;
15083
- height:100%;
15089
+ }
15090
+ .bk-image-viewer-header .quit-tips{
15091
+ font-size:14px;
15084
15092
  color:#979ba5;
15085
15093
  }
15086
15094
  .bk-image-viewer-btn{
@@ -15111,14 +15119,16 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15111
15119
  color:#63656e;
15112
15120
  }
15113
15121
  .bk-image-viewer-close{
15114
- width:80px;
15115
- height:80px;
15116
- line-height:80px;
15122
+ height:52px;
15123
+ line-height:48px;
15117
15124
  text-align:center;
15118
- font-size:50px;
15119
- color:#fff;
15120
- cursor:pointer;
15125
+ font-size:32px;
15126
+ color:#C4C6CC;
15127
+ cursor:pointer
15121
15128
  }
15129
+ .bk-image-viewer-close:hover{
15130
+ color:#fff;
15131
+ }
15122
15132
  .bk-image-viewer-canvas{
15123
15133
  width:100%;
15124
15134
  height:100%;
@@ -15188,7 +15198,6 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15188
15198
  height:80px;
15189
15199
  font-size:40px;
15190
15200
  cursor:pointer;
15191
- //background:rgb(76,76,76);
15192
15201
  }
15193
15202
  .bk-image-viewer-prev{
15194
15203
  -webkit-transform:translateY(-50%);
@@ -15250,21 +15259,6 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15250
15259
  .bk-divider{
15251
15260
  position:relative
15252
15261
  }
15253
- .bk-divider-horizontal{
15254
- display:block;
15255
- width:100%;
15256
- height:0;
15257
- margin:1em 0;
15258
- border-bottom:1px solid #dcdee5;
15259
- }
15260
- .bk-divider-vertical{
15261
- display:inline-block;
15262
- width:0;
15263
- height:1em;
15264
- margin:0 8px;
15265
- vertical-align:middle;
15266
- border-right:1px solid #dcdee5;
15267
- }
15268
15262
  .bk-divider-info{
15269
15263
  position:absolute;
15270
15264
  padding:0 1.4em;