vxe-table 3.8.14 → 3.8.15

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/index.umd.js CHANGED
@@ -11512,7 +11512,7 @@ var es_array_concat = __webpack_require__(8706);
11512
11512
 
11513
11513
 
11514
11514
  function getLog(message, params) {
11515
- return "[vxe-table v".concat("3.8.14", "] ").concat(conf.i18n(message, params));
11515
+ return "[vxe-table v".concat("3.8.15", "] ").concat(conf.i18n(message, params));
11516
11516
  }
11517
11517
  function outLog(type) {
11518
11518
  return function (message, params) {
@@ -13207,7 +13207,7 @@ function component(comp) {
13207
13207
  components[comp.name] = comp;
13208
13208
  }
13209
13209
  }
13210
- var version = "3.8.14";
13210
+ var version = "3.8.15";
13211
13211
  var tableVersion = version;
13212
13212
  var VxeUI = {
13213
13213
  v: v,
@@ -18549,7 +18549,8 @@ var Methods = {
18549
18549
  var bodyWidth = tableBodyElem ? tableBodyElem.clientWidth - 1 : 0;
18550
18550
  rdWidth = Math.floor(colWidth * bodyWidth);
18551
18551
  }
18552
- column.renderWidth = rdWidth;
18552
+ column.resizeWidth = rdWidth;
18553
+ return this.refreshColumn();
18553
18554
  }
18554
18555
  return this.$nextTick();
18555
18556
  },
@@ -27132,11 +27133,7 @@ var msgQueue = [];
27132
27133
  var _this7 = this;
27133
27134
  return this.$nextTick().then(function () {
27134
27135
  if (!_this7.revertLocat) {
27135
- var marginSize = Math.max(0, _this7.marginSize);
27136
27136
  var modalBoxElem = _this7.getBox();
27137
- var _DomTools$getDomNode = dom.getDomNode(),
27138
- visibleHeight = _DomTools$getDomNode.visibleHeight,
27139
- visibleWidth = _DomTools$getDomNode.visibleWidth;
27140
27137
  _this7.revertLocat = {
27141
27138
  top: modalBoxElem.offsetTop,
27142
27139
  left: modalBoxElem.offsetLeft,
@@ -27144,10 +27141,10 @@ var msgQueue = [];
27144
27141
  height: modalBoxElem.offsetHeight + (modalBoxElem.style.height ? 0 : 1)
27145
27142
  };
27146
27143
  Object.assign(modalBoxElem.style, {
27147
- top: "".concat(marginSize, "px"),
27148
- left: "".concat(marginSize, "px"),
27149
- width: "".concat(visibleWidth - marginSize * 2, "px"),
27150
- height: "".concat(visibleHeight - marginSize * 2, "px")
27144
+ top: '0',
27145
+ left: '0',
27146
+ width: '100%',
27147
+ height: '100%'
27151
27148
  });
27152
27149
  _this7.savePosStorage();
27153
27150
  }
@@ -27240,9 +27237,9 @@ var msgQueue = [];
27240
27237
  var domMouseup = document.onmouseup;
27241
27238
  var disX = evnt.clientX - modalBoxElem.offsetLeft;
27242
27239
  var disY = evnt.clientY - modalBoxElem.offsetTop;
27243
- var _DomTools$getDomNode2 = dom.getDomNode(),
27244
- visibleHeight = _DomTools$getDomNode2.visibleHeight,
27245
- visibleWidth = _DomTools$getDomNode2.visibleWidth;
27240
+ var _DomTools$getDomNode = dom.getDomNode(),
27241
+ visibleHeight = _DomTools$getDomNode.visibleHeight,
27242
+ visibleWidth = _DomTools$getDomNode.visibleWidth;
27246
27243
  document.onmousemove = function (evnt) {
27247
27244
  evnt.preventDefault();
27248
27245
  var offsetWidth = modalBoxElem.offsetWidth;
@@ -27296,9 +27293,9 @@ var msgQueue = [];
27296
27293
  events = _this$events8 === void 0 ? {} : _this$events8,
27297
27294
  remember = this.remember,
27298
27295
  storage = this.storage;
27299
- var _DomTools$getDomNode3 = dom.getDomNode(),
27300
- visibleHeight = _DomTools$getDomNode3.visibleHeight,
27301
- visibleWidth = _DomTools$getDomNode3.visibleWidth;
27296
+ var _DomTools$getDomNode2 = dom.getDomNode(),
27297
+ visibleHeight = _DomTools$getDomNode2.visibleHeight,
27298
+ visibleWidth = _DomTools$getDomNode2.visibleWidth;
27302
27299
  var type = evnt.target.getAttribute('type');
27303
27300
  var minWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(this.minWidth);
27304
27301
  var minHeight = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(this.minHeight);