bk-magic-vue 2.4.2 → 2.4.3

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.
@@ -3419,7 +3419,7 @@
3419
3419
  }, [_c('path', {
3420
3420
  attrs: {
3421
3421
  "fill": "#c4c6cc",
3422
- "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
3422
+ "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
3423
3423
  }
3424
3424
  }), _c('polygon', {
3425
3425
  attrs: {
@@ -3440,7 +3440,7 @@
3440
3440
  }, [_c('path', {
3441
3441
  attrs: {
3442
3442
  "fill": "#c4c6cc",
3443
- "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
3443
+ "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
3444
3444
  }
3445
3445
  }), _c('rect', {
3446
3446
  attrs: {
@@ -2960,7 +2960,7 @@
2960
2960
  var createDom = function createDom(el, css) {
2961
2961
  var dom = document.createElement('div');
2962
2962
  var width = _parseFloat$2(css['width']) ? Math.ceil(_parseFloat$2(css['width'])) + 'px' : css['width'];
2963
- dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
2963
+ dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
2964
2964
  dom.textContent = el.textContent;
2965
2965
  return dom;
2966
2966
  };
package/lib/message.js CHANGED
@@ -282,7 +282,7 @@
282
282
  var createDom = function createDom(el, css) {
283
283
  var dom = document.createElement('div');
284
284
  var width = _parseFloat$2(css['width']) ? Math.ceil(_parseFloat$2(css['width'])) + 'px' : css['width'];
285
- dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
285
+ dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
286
286
  dom.textContent = el.textContent;
287
287
  return dom;
288
288
  };
package/lib/pagination.js CHANGED
@@ -6752,6 +6752,12 @@
6752
6752
  },
6753
6753
  mixins: [locale.mixin],
6754
6754
  props: {
6755
+ popoverOptions: {
6756
+ type: Object,
6757
+ default: function _default() {
6758
+ return {};
6759
+ }
6760
+ },
6755
6761
  type: {
6756
6762
  type: String,
6757
6763
  default: 'default',
@@ -6978,6 +6984,7 @@
6978
6984
  },
6979
6985
  attrs: {
6980
6986
  "placeholder": "页数",
6987
+ "popover-options": _vm.popoverOptions,
6981
6988
  "clearable": false,
6982
6989
  "size": _vm.small ? 'small' : ''
6983
6990
  },
package/lib/tab.js CHANGED
@@ -2124,7 +2124,7 @@
2124
2124
  case 21:
2125
2125
  _context2.prev = 21;
2126
2126
  _context2.t0 = _context2["catch"](14);
2127
- console.log('Previous tab toggle canceled');
2127
+ console.warn('Previous tab toggle canceled');
2128
2128
  case 24:
2129
2129
  _context2.prev = 24;
2130
2130
  _this3.clearToggleStatus();
package/lib/table.js CHANGED
@@ -3918,11 +3918,9 @@
3918
3918
  if (lastColumn) {
3919
3919
  if (!this.scrollX && flattenColumns.length) {
3920
3920
  var deltaWidth = bodyWidth - bodyMinWidth;
3921
- console.log('from print table last column < ', lastColumn);
3922
3921
  lastColumn.realWidth = lastColumn.realWidth + deltaWidth;
3923
3922
  this.bodyWidth = bodyWidth;
3924
3923
  } else {
3925
- console.log('from print table last column > ', lastColumn);
3926
3924
  if (lastColumn) {
3927
3925
  var lastRealWidth = typeof lastColumn.width !== 'number' ? lastColumn.minWidth : lastColumn.width;
3928
3926
  var preLastColumnBodyMinWidth = bodyMinWidth - lastColumn.realWidth;
@@ -6592,7 +6590,7 @@
6592
6590
  var createDom = function createDom(el, css) {
6593
6591
  var dom = document.createElement('div');
6594
6592
  var width = _parseFloat$2(css['width']) ? Math.ceil(_parseFloat$2(css['width'])) + 'px' : css['width'];
6595
- dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
6593
+ dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
6596
6594
  dom.textContent = el.textContent;
6597
6595
  return dom;
6598
6596
  };
@@ -11946,6 +11944,12 @@
11946
11944
  },
11947
11945
  mixins: [locale.mixin],
11948
11946
  props: {
11947
+ popoverOptions: {
11948
+ type: Object,
11949
+ default: function _default() {
11950
+ return {};
11951
+ }
11952
+ },
11949
11953
  type: {
11950
11954
  type: String,
11951
11955
  default: 'default',
@@ -12172,6 +12176,7 @@
12172
12176
  },
12173
12177
  attrs: {
12174
12178
  "placeholder": "页数",
12179
+ "popover-options": _vm.popoverOptions,
12175
12180
  "clearable": false,
12176
12181
  "size": _vm.small ? 'small' : ''
12177
12182
  },
@@ -12507,6 +12512,12 @@
12507
12512
  isLoading: false
12508
12513
  };
12509
12514
  }
12515
+ },
12516
+ popoverOptions: {
12517
+ type: Object,
12518
+ default: function _default() {
12519
+ return {};
12520
+ }
12510
12521
  }
12511
12522
  },
12512
12523
  data: function data() {
@@ -13172,7 +13183,8 @@
13172
13183
  "align": "right",
13173
13184
  "show-total-count": _vm.showPaginationInfo,
13174
13185
  "show-selection-count": _vm.showSelectionCount,
13175
- "selection-count": _vm.store.states.selection.length
13186
+ "selection-count": _vm.store.states.selection.length,
13187
+ "popover-options": _vm.popoverOptions
13176
13188
  },
13177
13189
  on: {
13178
13190
  "change": _vm.handlePageChange,
@@ -3337,7 +3337,7 @@
3337
3337
  }, [_c('path', {
3338
3338
  attrs: {
3339
3339
  "fill": "#c4c6cc",
3340
- "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
3340
+ "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
3341
3341
  }
3342
3342
  }), _c('polygon', {
3343
3343
  attrs: {
@@ -3358,7 +3358,7 @@
3358
3358
  }, [_c('path', {
3359
3359
  attrs: {
3360
3360
  "fill": "#c4c6cc",
3361
- "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
3361
+ "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
3362
3362
  }
3363
3363
  }), _c('rect', {
3364
3364
  attrs: {
package/lib/transfer.js CHANGED
@@ -448,7 +448,7 @@
448
448
  var createDom = function createDom(el, css) {
449
449
  var dom = document.createElement('div');
450
450
  var width = _parseFloat$2(css['width']) ? Math.ceil(_parseFloat$2(css['width'])) + 'px' : css['width'];
451
- dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
451
+ dom.style.cssText = "\n width: ".concat(width, ";\n line-height: ").concat(css['line-height'], ";\n font-size: ").concat(css['font-size'], ";\n word-break: ").concat(css['word-break'], ";\n padding: ").concat(css['padding'], ";\n ");
452
452
  dom.textContent = el.textContent;
453
453
  return dom;
454
454
  };
package/lib/ui/affix.css CHANGED
@@ -1,3 +1,3 @@
1
1
  .bk-affix{
2
- position:fixed
2
+ position:fixed
3
3
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["affix.css"],"names":[],"mappings":"AAAA,UACI,cACJ","file":"affix.min.css","sourcesContent":[".bk-affix {\n position: fixed\n}\n"]}
1
+ {"version":3,"sources":["affix.css"],"names":[],"mappings":"AAAA,UACE,cACF","file":"affix.min.css","sourcesContent":[".bk-affix {\n position: fixed\n}\n"]}
@@ -15749,7 +15749,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15749
15749
  background-color:#dcdee5;
15750
15750
  }
15751
15751
  .bk-affix{
15752
- position:fixed
15752
+ position:fixed
15753
15753
  }
15754
15754
  .bk-back-to-top{
15755
15755
  position:fixed;