vxe-table 3.5.8 → 3.5.9-beta.2

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
@@ -8804,7 +8804,7 @@ var es_array_concat = __webpack_require__("99af");
8804
8804
 
8805
8805
 
8806
8806
  function getLog(message, params) {
8807
- return "[vxe-table v".concat("3.5.8-beta.0", "] ").concat(conf.i18n(message, params));
8807
+ return "[vxe-table v".concat("3.5.9-beta.1", "] ").concat(conf.i18n(message, params));
8808
8808
  }
8809
8809
 
8810
8810
  function outLog(type) {
@@ -10073,7 +10073,7 @@ function _t(key, args) {
10073
10073
  var v = 'v3';
10074
10074
  var VXETable = {
10075
10075
  v: v,
10076
- version: "3.5.8-beta.0",
10076
+ version: "3.5.9-beta.1",
10077
10077
  reg: reg,
10078
10078
  use: use,
10079
10079
  setup: setup,
@@ -23357,7 +23357,7 @@ var msgQueue = [];
23357
23357
  modalTop: 0,
23358
23358
  modalZindex: 0,
23359
23359
  zoomLocat: null,
23360
- firstOpen: false
23360
+ firstOpen: true
23361
23361
  };
23362
23362
  },
23363
23363
  computed: {
@@ -23486,7 +23486,7 @@ var msgQueue = [];
23486
23486
  ref: 'modalBox'
23487
23487
  }, [this.showHeader ? h('div', {
23488
23488
  class: ['vxe-modal--header', {
23489
- 'is--drag': draggable,
23489
+ 'is--draggable': draggable,
23490
23490
  'is--ellipsis': !isMsg && showTitleOverflow
23491
23491
  }],
23492
23492
  on: headerOns
@@ -23709,7 +23709,7 @@ var msgQueue = [];
23709
23709
  var firstOpen = _this2.firstOpen,
23710
23710
  fullscreen = _this2.fullscreen;
23711
23711
 
23712
- if (!remember || !firstOpen) {
23712
+ if (!remember || firstOpen) {
23713
23713
  _this2.updatePosition().then(function () {
23714
23714
  setTimeout(function () {
23715
23715
  return _this2.updatePosition();
@@ -23717,8 +23717,8 @@ var msgQueue = [];
23717
23717
  });
23718
23718
  }
23719
23719
 
23720
- if (!firstOpen) {
23721
- _this2.firstOpen = true;
23720
+ if (firstOpen) {
23721
+ _this2.firstOpen = false;
23722
23722
 
23723
23723
  if (_this2.hasPosStorage()) {
23724
23724
  _this2.restorePosStorage();
@@ -23727,6 +23727,12 @@ var msgQueue = [];
23727
23727
  return _this2.maximize();
23728
23728
  });
23729
23729
  }
23730
+ } else {
23731
+ if (fullscreen) {
23732
+ _this2.$nextTick(function () {
23733
+ return _this2.maximize();
23734
+ });
23735
+ }
23730
23736
  }
23731
23737
  });
23732
23738
  }
@@ -24041,6 +24047,7 @@ var msgQueue = [];
24041
24047
 
24042
24048
  modalBoxElem.style.left = "".concat(left, "px");
24043
24049
  modalBoxElem.style.top = "".concat(top, "px");
24050
+ modalBoxElem.className = modalBoxElem.className.replace(/\s?is--drag/, '') + ' is--drag';
24044
24051
  };
24045
24052
 
24046
24053
  document.onmouseup = function () {
@@ -24052,6 +24059,10 @@ var msgQueue = [];
24052
24059
  _this11.savePosStorage();
24053
24060
  });
24054
24061
  }
24062
+
24063
+ setTimeout(function () {
24064
+ modalBoxElem.className = modalBoxElem.className.replace(/\s?is--drag/, '');
24065
+ }, 50);
24055
24066
  };
24056
24067
  }
24057
24068
  },
@@ -32627,7 +32638,7 @@ Object.keys(packages_table.methods).forEach(function (name) {
32627
32638
  tZindex: 0,
32628
32639
  tablePage: {
32629
32640
  total: 0,
32630
- pageSize: 10,
32641
+ pageSize: conf.pager.pageSize || 10,
32631
32642
  currentPage: 1
32632
32643
  }
32633
32644
  };