vxe-table 3.8.12 → 3.8.14
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/custom/src/panel.js +1 -2
- package/lib/custom/src/panel.min.js +1 -1
- package/lib/filter/src/mixin.js +19 -14
- package/lib/filter/src/mixin.min.js +1 -1
- package/lib/filter/src/panel.js +1 -1
- package/lib/filter/src/panel.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +71 -62
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +33 -33
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/radio/style/style.css +1 -1
- package/lib/radio/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +13 -9
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +2 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +2 -1
- package/lib/table/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-radio/style/style.css +1 -1
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +2 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/custom/src/panel.js +1 -2
- package/packages/filter/src/mixin.js +17 -14
- package/packages/filter/src/panel.js +1 -1
- package/packages/modal/src/modal.js +36 -36
- package/packages/table/src/methods.js +13 -9
- package/packages/table/src/table.js +2 -1
- package/styles/checkbox.scss +1 -1
- package/styles/radio.scss +1 -1
- package/styles/table.scss +2 -1
- /package/lib/icon/style/{iconfont.1721008774130.ttf → iconfont.1721180270009.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1721008774130.woff → iconfont.1721180270009.woff} +0 -0
- /package/lib/icon/style/{iconfont.1721008774130.woff2 → iconfont.1721180270009.woff2} +0 -0
- /package/lib/{iconfont.1721008774130.ttf → iconfont.1721180270009.ttf} +0 -0
- /package/lib/{iconfont.1721008774130.woff → iconfont.1721180270009.woff} +0 -0
- /package/lib/{iconfont.1721008774130.woff2 → iconfont.1721180270009.woff2} +0 -0
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.
|
|
11515
|
+
return "[vxe-table v".concat("3.8.14", "] ").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.
|
|
13210
|
+
var version = "3.8.14";
|
|
13211
13211
|
var tableVersion = version;
|
|
13212
13212
|
var VxeUI = {
|
|
13213
13213
|
v: v,
|
|
@@ -19049,7 +19049,7 @@ var Methods = {
|
|
|
19049
19049
|
var el = _this26.$el;
|
|
19050
19050
|
if (el) {
|
|
19051
19051
|
autoWidthColumnList.forEach(function (column) {
|
|
19052
|
-
var cellElList = el.querySelectorAll(".vxe-body--column.".concat(column.id, ">.vxe-cell"));
|
|
19052
|
+
var cellElList = el.querySelectorAll(".vxe-header--column.".concat(column.id, ">.vxe-cell,.vxe-body--column.").concat(column.id, ">.vxe-cell,.vxe-footer--column.").concat(column.id, ">.vxe-cell"));
|
|
19053
19053
|
var firstCellEl = cellElList[0];
|
|
19054
19054
|
var paddingSize = 0;
|
|
19055
19055
|
if (firstCellEl) {
|
|
@@ -19184,19 +19184,23 @@ var Methods = {
|
|
|
19184
19184
|
} else {
|
|
19185
19185
|
this.headerHeight = 0;
|
|
19186
19186
|
}
|
|
19187
|
+
var overflowX = false;
|
|
19188
|
+
var footerHeight = 0;
|
|
19189
|
+
var scrollbarHeight = 0;
|
|
19187
19190
|
if (footerElem) {
|
|
19188
|
-
|
|
19189
|
-
|
|
19190
|
-
|
|
19191
|
-
this.footerHeight = footerHeight;
|
|
19191
|
+
footerHeight = footerElem.offsetHeight;
|
|
19192
|
+
overflowX = tableWidth > footerElem.clientWidth;
|
|
19193
|
+
scrollbarHeight = Math.max(footerHeight - footerElem.clientHeight, 0);
|
|
19192
19194
|
} else {
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
this.overflowX = tableWidth > bodyWidth;
|
|
19195
|
+
overflowX = tableWidth > bodyWidth;
|
|
19196
|
+
scrollbarHeight = Math.max(tableHeight - bodyElem.clientHeight, 0);
|
|
19196
19197
|
}
|
|
19198
|
+
this.footerHeight = footerHeight;
|
|
19199
|
+
this.overflowX = tableWidth > bodyWidth;
|
|
19200
|
+
this.scrollbarHeight = scrollbarHeight;
|
|
19197
19201
|
this.updateHeight();
|
|
19198
19202
|
this.parentHeight = Math.max(this.headerHeight + this.footerHeight + 20, this.getParentHeight());
|
|
19199
|
-
if (
|
|
19203
|
+
if (overflowX) {
|
|
19200
19204
|
this.checkScrolling();
|
|
19201
19205
|
}
|
|
19202
19206
|
},
|
|
@@ -23600,7 +23604,8 @@ function handleUupdateResize(_vm) {
|
|
|
23600
23604
|
pxMinList: [],
|
|
23601
23605
|
scaleList: [],
|
|
23602
23606
|
scaleMinList: [],
|
|
23603
|
-
autoList: []
|
|
23607
|
+
autoList: [],
|
|
23608
|
+
remainList: []
|
|
23604
23609
|
},
|
|
23605
23610
|
// 存放快捷菜单的信息
|
|
23606
23611
|
ctxMenuStore: {
|
|
@@ -24544,7 +24549,7 @@ var Table = VxeTable;
|
|
|
24544
24549
|
var filterRender = column.filterRender;
|
|
24545
24550
|
var compConf = isEnableConf(filterRender) ? v_x_e_table.renderer.get(filterRender.name) : null;
|
|
24546
24551
|
var isDisabled = !hasCheckOption && !filterStore.isAllSelected && !filterStore.isIndeterminate;
|
|
24547
|
-
return multiple && (compConf ? !(compConf.showTableFilterFooter === false || compConf.showFilterFooter === false) : true) ? [h('div', {
|
|
24552
|
+
return multiple && (compConf ? !(compConf.showTableFilterFooter === false || compConf.showFilterFooter === false || compConf.isFooter === false) : true) ? [h('div', {
|
|
24548
24553
|
class: 'vxe-table--filter-footer'
|
|
24549
24554
|
}, [h('button', {
|
|
24550
24555
|
class: {
|
|
@@ -24732,29 +24737,34 @@ var Table = VxeTable;
|
|
|
24732
24737
|
this.initStore.filter = true;
|
|
24733
24738
|
this.$nextTick(function () {
|
|
24734
24739
|
var $refs = _this.$refs;
|
|
24735
|
-
var
|
|
24736
|
-
|
|
24737
|
-
|
|
24738
|
-
var
|
|
24739
|
-
var
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
|
|
24744
|
-
|
|
24745
|
-
|
|
24740
|
+
var tableHeader = $refs.tableHeader,
|
|
24741
|
+
tableBody = $refs.tableBody,
|
|
24742
|
+
filterWrapper = $refs.filterWrapper;
|
|
24743
|
+
var bodyElem = tableBody.$el;
|
|
24744
|
+
var headerElem = tableHeader ? tableHeader.$el : null;
|
|
24745
|
+
if (!bodyElem) {
|
|
24746
|
+
return;
|
|
24747
|
+
}
|
|
24748
|
+
var filterWrapperElem = filterWrapper.$el;
|
|
24749
|
+
if (!filterWrapperElem) {
|
|
24750
|
+
return;
|
|
24746
24751
|
}
|
|
24752
|
+
var filterWidth = filterWrapperElem.offsetWidth;
|
|
24753
|
+
var filterHeight = filterWrapperElem.offsetHeight;
|
|
24754
|
+
var filterHeadElem = filterWrapperElem.querySelector('.vxe-table--filter-header');
|
|
24755
|
+
var filterFootElem = filterWrapperElem.querySelector('.vxe-table--filter-footer');
|
|
24747
24756
|
var centerWidth = filterWidth / 2;
|
|
24748
24757
|
var minMargin = 10;
|
|
24749
24758
|
var maxLeft = bodyElem.clientWidth - filterWidth - minMargin;
|
|
24750
24759
|
var left, right;
|
|
24751
24760
|
var style = {
|
|
24752
|
-
top: "".concat(targetElem.offsetTop + targetElem.offsetParent.offsetTop + targetElem.offsetHeight
|
|
24761
|
+
top: "".concat(targetElem.offsetTop + targetElem.offsetParent.offsetTop + targetElem.offsetHeight, "px")
|
|
24753
24762
|
};
|
|
24754
24763
|
// 判断面板不能大于表格高度
|
|
24755
24764
|
var maxHeight = null;
|
|
24756
|
-
|
|
24757
|
-
|
|
24765
|
+
var bodyHeight = bodyElem.clientHeight - (headerElem ? headerElem.clientHeight / 2 : 0);
|
|
24766
|
+
if (filterHeight >= bodyHeight) {
|
|
24767
|
+
maxHeight = Math.max(40, bodyHeight - (filterFootElem ? filterFootElem.offsetHeight : 0) - (filterHeadElem ? filterHeadElem.offsetHeight : 0));
|
|
24758
24768
|
}
|
|
24759
24769
|
if (column.fixed === 'left') {
|
|
24760
24770
|
left = targetElem.offsetLeft + targetElem.offsetParent.offsetLeft - centerWidth;
|
|
@@ -26627,12 +26637,12 @@ var msgQueue = [];
|
|
|
26627
26637
|
},
|
|
26628
26638
|
data: function data() {
|
|
26629
26639
|
return {
|
|
26630
|
-
|
|
26640
|
+
initialized: false,
|
|
26631
26641
|
visible: false,
|
|
26632
26642
|
contentVisible: false,
|
|
26633
26643
|
modalTop: 0,
|
|
26634
26644
|
modalZindex: 0,
|
|
26635
|
-
|
|
26645
|
+
revertLocat: null,
|
|
26636
26646
|
firstOpen: true
|
|
26637
26647
|
};
|
|
26638
26648
|
},
|
|
@@ -26698,7 +26708,7 @@ var msgQueue = [];
|
|
|
26698
26708
|
$scopedSlots = this.$scopedSlots,
|
|
26699
26709
|
_this$slots = this.slots,
|
|
26700
26710
|
slots = _this$slots === void 0 ? {} : _this$slots,
|
|
26701
|
-
|
|
26711
|
+
initialized = this.initialized,
|
|
26702
26712
|
vSize = this.vSize,
|
|
26703
26713
|
className = this.className,
|
|
26704
26714
|
type = this.type,
|
|
@@ -26711,7 +26721,7 @@ var msgQueue = [];
|
|
|
26711
26721
|
status = this.status,
|
|
26712
26722
|
iconStatus = this.iconStatus,
|
|
26713
26723
|
showFooter = this.showFooter,
|
|
26714
|
-
|
|
26724
|
+
revertLocat = this.revertLocat,
|
|
26715
26725
|
modalTop = this.modalTop,
|
|
26716
26726
|
dblclickZoom = this.dblclickZoom,
|
|
26717
26727
|
contentVisible = this.contentVisible,
|
|
@@ -26739,7 +26749,7 @@ var msgQueue = [];
|
|
|
26739
26749
|
headerOns.dblclick = this.toggleZoomEvent;
|
|
26740
26750
|
}
|
|
26741
26751
|
return h('div', {
|
|
26742
|
-
class: ['vxe-modal--wrapper', "type--".concat(type), className || '', (_ref = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "size--".concat(vSize), vSize), "status--".concat(status), status), 'is--animat', animat), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--resize', resize), 'is--mask', mask), 'is--maximize',
|
|
26752
|
+
class: ['vxe-modal--wrapper', "type--".concat(type), className || '', (_ref = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "size--".concat(vSize), vSize), "status--".concat(status), status), 'is--animat', animat), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--resize', resize), 'is--mask', mask), 'is--maximize', revertLocat), 'is--visible', contentVisible), 'is--active', visible), _defineProperty(_ref, 'is--loading', loading))],
|
|
26743
26753
|
style: {
|
|
26744
26754
|
zIndex: this.modalZindex,
|
|
26745
26755
|
top: modalTop ? "".concat(modalTop, "px") : null
|
|
@@ -26759,7 +26769,7 @@ var msgQueue = [];
|
|
|
26759
26769
|
'is--ellipsis': !isMsg && showTitleOverflow
|
|
26760
26770
|
}],
|
|
26761
26771
|
on: headerOns
|
|
26762
|
-
}, headerSlot ? !
|
|
26772
|
+
}, headerSlot ? !initialized || destroyOnClose && !visible ? [] : getSlotVNs(headerSlot.call(this, {
|
|
26763
26773
|
$modal: this
|
|
26764
26774
|
}, h)) : [h('div', {
|
|
26765
26775
|
class: 'vxe-modal--header-title'
|
|
@@ -26772,9 +26782,9 @@ var msgQueue = [];
|
|
|
26772
26782
|
}, getSlotVNs(cornerSlot({
|
|
26773
26783
|
$modal: this
|
|
26774
26784
|
}))) : _e(), showZoom ? h('i', {
|
|
26775
|
-
class: ['vxe-modal--zoom-btn', 'trigger--btn',
|
|
26785
|
+
class: ['vxe-modal--zoom-btn', 'trigger--btn', revertLocat ? conf.icon.MODAL_ZOOM_OUT : conf.icon.MODAL_ZOOM_IN],
|
|
26776
26786
|
attrs: {
|
|
26777
|
-
title: conf.i18n("vxe.modal.zoom".concat(
|
|
26787
|
+
title: conf.i18n("vxe.modal.zoom".concat(revertLocat ? 'Out' : 'In'))
|
|
26778
26788
|
},
|
|
26779
26789
|
on: {
|
|
26780
26790
|
click: this.toggleZoomEvent
|
|
@@ -26795,7 +26805,7 @@ var msgQueue = [];
|
|
|
26795
26805
|
class: ['vxe-modal--status-icon', iconStatus || conf.icon["MODAL_".concat(status).toLocaleUpperCase()]]
|
|
26796
26806
|
})]) : null, h('div', {
|
|
26797
26807
|
class: 'vxe-modal--content'
|
|
26798
|
-
}, defaultSlot ? !
|
|
26808
|
+
}, defaultSlot ? !initialized || destroyOnClose && !visible ? [] : getSlotVNs(defaultSlot.call(this, {
|
|
26799
26809
|
$modal: this
|
|
26800
26810
|
}, h)) : getFuncText(content)),
|
|
26801
26811
|
/**
|
|
@@ -26808,7 +26818,7 @@ var msgQueue = [];
|
|
|
26808
26818
|
}
|
|
26809
26819
|
}) : null]), showFooter ? h('div', {
|
|
26810
26820
|
class: 'vxe-modal--footer'
|
|
26811
|
-
}, footerSlot ? !
|
|
26821
|
+
}, footerSlot ? !initialized || destroyOnClose && !visible ? [] : getSlotVNs(footerSlot.call(this, {
|
|
26812
26822
|
$modal: this
|
|
26813
26823
|
}, h)) : [external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(showCancelButton) ? showCancelButton : type === 'confirm' ? h('vxe-button', {
|
|
26814
26824
|
key: 1,
|
|
@@ -26916,14 +26926,14 @@ var msgQueue = [];
|
|
|
26916
26926
|
var $refs = this.$refs,
|
|
26917
26927
|
_this$events5 = this.events,
|
|
26918
26928
|
events = _this$events5 === void 0 ? {} : _this$events5,
|
|
26919
|
-
|
|
26929
|
+
initialized = this.initialized,
|
|
26920
26930
|
duration = this.duration,
|
|
26921
26931
|
visible = this.visible,
|
|
26922
26932
|
isMsg = this.isMsg,
|
|
26923
26933
|
remember = this.remember,
|
|
26924
26934
|
showFooter = this.showFooter;
|
|
26925
|
-
if (!
|
|
26926
|
-
this.
|
|
26935
|
+
if (!initialized) {
|
|
26936
|
+
this.initialized = true;
|
|
26927
26937
|
if (this.transfer) {
|
|
26928
26938
|
document.body.appendChild(this.$el);
|
|
26929
26939
|
}
|
|
@@ -27074,7 +27084,7 @@ var msgQueue = [];
|
|
|
27074
27084
|
}
|
|
27075
27085
|
_this5.contentVisible = false;
|
|
27076
27086
|
if (!remember) {
|
|
27077
|
-
_this5.
|
|
27087
|
+
_this5.revertLocat = null;
|
|
27078
27088
|
}
|
|
27079
27089
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(allActivedModals, function (item) {
|
|
27080
27090
|
return item === _this5;
|
|
@@ -27116,18 +27126,18 @@ var msgQueue = [];
|
|
|
27116
27126
|
return this.$refs.modalBox;
|
|
27117
27127
|
},
|
|
27118
27128
|
isMaximized: function isMaximized() {
|
|
27119
|
-
return !!this.
|
|
27129
|
+
return !!this.revertLocat;
|
|
27120
27130
|
},
|
|
27121
27131
|
maximize: function maximize() {
|
|
27122
27132
|
var _this7 = this;
|
|
27123
27133
|
return this.$nextTick().then(function () {
|
|
27124
|
-
if (!_this7.
|
|
27134
|
+
if (!_this7.revertLocat) {
|
|
27125
27135
|
var marginSize = Math.max(0, _this7.marginSize);
|
|
27126
27136
|
var modalBoxElem = _this7.getBox();
|
|
27127
27137
|
var _DomTools$getDomNode = dom.getDomNode(),
|
|
27128
27138
|
visibleHeight = _DomTools$getDomNode.visibleHeight,
|
|
27129
27139
|
visibleWidth = _DomTools$getDomNode.visibleWidth;
|
|
27130
|
-
_this7.
|
|
27140
|
+
_this7.revertLocat = {
|
|
27131
27141
|
top: modalBoxElem.offsetTop,
|
|
27132
27142
|
left: modalBoxElem.offsetLeft,
|
|
27133
27143
|
width: modalBoxElem.offsetWidth + (modalBoxElem.style.width ? 0 : 1),
|
|
@@ -27146,15 +27156,15 @@ var msgQueue = [];
|
|
|
27146
27156
|
revert: function revert() {
|
|
27147
27157
|
var _this8 = this;
|
|
27148
27158
|
return this.$nextTick().then(function () {
|
|
27149
|
-
var
|
|
27150
|
-
if (
|
|
27159
|
+
var revertLocat = _this8.revertLocat;
|
|
27160
|
+
if (revertLocat) {
|
|
27151
27161
|
var modalBoxElem = _this8.getBox();
|
|
27152
|
-
_this8.
|
|
27162
|
+
_this8.revertLocat = null;
|
|
27153
27163
|
Object.assign(modalBoxElem.style, {
|
|
27154
|
-
top: "".concat(
|
|
27155
|
-
left: "".concat(
|
|
27156
|
-
width: "".concat(
|
|
27157
|
-
height: "".concat(
|
|
27164
|
+
top: "".concat(revertLocat.top, "px"),
|
|
27165
|
+
left: "".concat(revertLocat.left, "px"),
|
|
27166
|
+
width: "".concat(revertLocat.width, "px"),
|
|
27167
|
+
height: "".concat(revertLocat.height, "px")
|
|
27158
27168
|
});
|
|
27159
27169
|
_this8.savePosStorage();
|
|
27160
27170
|
}
|
|
@@ -27162,18 +27172,18 @@ var msgQueue = [];
|
|
|
27162
27172
|
},
|
|
27163
27173
|
zoom: function zoom() {
|
|
27164
27174
|
var _this9 = this;
|
|
27165
|
-
return this[this.
|
|
27175
|
+
return this[this.revertLocat ? 'revert' : 'maximize']().then(function () {
|
|
27166
27176
|
return _this9.isMaximized();
|
|
27167
27177
|
});
|
|
27168
27178
|
},
|
|
27169
27179
|
toggleZoomEvent: function toggleZoomEvent(evnt) {
|
|
27170
27180
|
var _this10 = this;
|
|
27171
27181
|
var $listeners = this.$listeners,
|
|
27172
|
-
|
|
27182
|
+
revertLocat = this.revertLocat,
|
|
27173
27183
|
_this$events7 = this.events,
|
|
27174
27184
|
events = _this$events7 === void 0 ? {} : _this$events7;
|
|
27175
27185
|
var params = {
|
|
27176
|
-
type:
|
|
27186
|
+
type: revertLocat ? 'revert' : 'max',
|
|
27177
27187
|
$modal: this,
|
|
27178
27188
|
$event: evnt
|
|
27179
27189
|
};
|
|
@@ -27222,9 +27232,9 @@ var msgQueue = [];
|
|
|
27222
27232
|
var remember = this.remember,
|
|
27223
27233
|
storage = this.storage,
|
|
27224
27234
|
marginSize = this.marginSize,
|
|
27225
|
-
|
|
27235
|
+
revertLocat = this.revertLocat;
|
|
27226
27236
|
var modalBoxElem = this.getBox();
|
|
27227
|
-
if (!
|
|
27237
|
+
if (!revertLocat && evnt.button === 0 && !dom.getEventTargetNode(evnt, modalBoxElem, 'trigger--btn').flag) {
|
|
27228
27238
|
evnt.preventDefault();
|
|
27229
27239
|
var domMousemove = document.onmousemove;
|
|
27230
27240
|
var domMouseup = document.onmouseup;
|
|
@@ -27432,7 +27442,7 @@ var msgQueue = [];
|
|
|
27432
27442
|
}
|
|
27433
27443
|
};
|
|
27434
27444
|
document.onmouseup = function () {
|
|
27435
|
-
_this12.
|
|
27445
|
+
_this12.revertLocat = null;
|
|
27436
27446
|
document.onmousemove = domMousemove;
|
|
27437
27447
|
document.onmouseup = domMouseup;
|
|
27438
27448
|
setTimeout(function () {
|
|
@@ -27486,7 +27496,7 @@ var msgQueue = [];
|
|
|
27486
27496
|
modalBoxElem.style.height = "".concat(height, "px");
|
|
27487
27497
|
}
|
|
27488
27498
|
if (zoomLeft && zoomTop) {
|
|
27489
|
-
this.
|
|
27499
|
+
this.revertLocat = {
|
|
27490
27500
|
left: zoomLeft,
|
|
27491
27501
|
top: zoomTop,
|
|
27492
27502
|
width: zoomWidth,
|
|
@@ -27501,11 +27511,11 @@ var msgQueue = [];
|
|
|
27501
27511
|
remember = this.remember,
|
|
27502
27512
|
storage = this.storage,
|
|
27503
27513
|
storageKey = this.storageKey,
|
|
27504
|
-
|
|
27514
|
+
revertLocat = this.revertLocat;
|
|
27505
27515
|
if (remember && storage) {
|
|
27506
27516
|
var modalBoxElem = this.getBox();
|
|
27507
27517
|
var posStorageMap = this.getStorageMap(storageKey);
|
|
27508
|
-
posStorageMap[id] = [modalBoxElem.style.left, modalBoxElem.style.top, modalBoxElem.style.width, modalBoxElem.style.height].concat(
|
|
27518
|
+
posStorageMap[id] = [modalBoxElem.style.left, modalBoxElem.style.top, modalBoxElem.style.width, modalBoxElem.style.height].concat(revertLocat ? [revertLocat.left, revertLocat.top, revertLocat.width, revertLocat.height] : []).map(function (val) {
|
|
27509
27519
|
return val ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(val) : '';
|
|
27510
27520
|
}).join(',');
|
|
27511
27521
|
localStorage.setItem(storageKey, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toJSONString(posStorageMap));
|
|
@@ -35219,12 +35229,11 @@ var renderPopupPanel = function renderPopupPanel(h, _vm) {
|
|
|
35219
35229
|
}, [!isChecked || column.children && column.children.length ? h('span', '-') : h('vxe-input', {
|
|
35220
35230
|
props: {
|
|
35221
35231
|
type: 'integer',
|
|
35222
|
-
min: 40,
|
|
35223
35232
|
value: column.renderResizeWidth
|
|
35224
35233
|
},
|
|
35225
35234
|
on: {
|
|
35226
35235
|
modelValue: function modelValue(value) {
|
|
35227
|
-
column.renderResizeWidth = Math.max(
|
|
35236
|
+
column.renderResizeWidth = Math.max(0, Number(value));
|
|
35228
35237
|
}
|
|
35229
35238
|
}
|
|
35230
35239
|
})]) : _e(), allowFixed ? h('td', {
|