vxe-table 3.6.8 → 3.6.9
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/header/src/header.js +1 -1
- package/lib/header/src/header.min.js +1 -1
- package/lib/icon/style/{iconfont.1669391208345.ttf → iconfont.1670947519373.ttf} +0 -0
- package/lib/icon/style/{iconfont.1669391208345.woff → iconfont.1670947519373.woff} +0 -0
- package/lib/icon/style/{iconfont.1669391208345.woff2 → iconfont.1670947519373.woff2} +0 -0
- package/lib/icon/style/style.css +595 -3
- package/lib/icon/style/style.min.css +595 -3
- package/lib/{iconfont.1669391208345.ttf → iconfont.1670947519373.ttf} +0 -0
- package/lib/{iconfont.1669391208345.woff → iconfont.1670947519373.woff} +0 -0
- package/lib/{iconfont.1669391208345.woff2 → iconfont.1670947519373.woff2} +0 -0
- package/lib/index.css +1 -1
- package/lib/index.umd.js +12 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/loading/src/loading.js +6 -2
- package/lib/loading/src/loading.min.js +1 -1
- package/lib/loading/style/style.css +1 -1
- package/lib/loading/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +2 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +2 -2
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +1 -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/v-x-e-table/style/style.css +595 -4
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/header/src/header.js +2 -2
- package/packages/loading/src/loading.js +7 -2
- package/packages/table/src/table.js +2 -1
- package/packages/table/src/util.js +1 -1
- package/styles/icon.scss +2 -0
- package/styles/loading.scss +2 -1
package/lib/index.umd.js
CHANGED
|
@@ -10572,7 +10572,7 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
10572
10572
|
|
|
10573
10573
|
|
|
10574
10574
|
function getLog(message, params) {
|
|
10575
|
-
return "[vxe-table v".concat("3.6.
|
|
10575
|
+
return "[vxe-table v".concat("3.6.9", "] ").concat(conf.i18n(message, params));
|
|
10576
10576
|
}
|
|
10577
10577
|
function outLog(type) {
|
|
10578
10578
|
return function (message, params) {
|
|
@@ -11742,7 +11742,7 @@ function _t(key, args) {
|
|
|
11742
11742
|
var v = 'v3';
|
|
11743
11743
|
var VXETable = {
|
|
11744
11744
|
v: v,
|
|
11745
|
-
version: "3.6.
|
|
11745
|
+
version: "3.6.9",
|
|
11746
11746
|
reg: reg,
|
|
11747
11747
|
use: use,
|
|
11748
11748
|
setup: setup,
|
|
@@ -12277,7 +12277,7 @@ function toFilters(filters) {
|
|
|
12277
12277
|
}
|
|
12278
12278
|
return filters;
|
|
12279
12279
|
}
|
|
12280
|
-
function
|
|
12280
|
+
function getColReMinWidth(params) {
|
|
12281
12281
|
var $table = params.$table,
|
|
12282
12282
|
column = params.column,
|
|
12283
12283
|
cell = params.cell;
|
|
@@ -13694,7 +13694,7 @@ var cellType = 'header';
|
|
|
13694
13694
|
var pos = dom.getOffsetPos(dragBtnElem, $el);
|
|
13695
13695
|
var dragBtnWidth = dragBtnElem.clientWidth;
|
|
13696
13696
|
var dragBtnOffsetWidth = Math.floor(dragBtnWidth / 2);
|
|
13697
|
-
var minInterval =
|
|
13697
|
+
var minInterval = getColReMinWidth(params) - dragBtnOffsetWidth; // 列之间的最小间距
|
|
13698
13698
|
var dragMinLeft = pos.left - cell.clientWidth + dragBtnWidth + minInterval;
|
|
13699
13699
|
var dragPosLeft = pos.left + dragBtnOffsetWidth;
|
|
13700
13700
|
var domMousemove = document.onmousemove;
|
|
@@ -20407,13 +20407,17 @@ funcs.forEach(function (name) {
|
|
|
20407
20407
|
}
|
|
20408
20408
|
},
|
|
20409
20409
|
render: function render(h) {
|
|
20410
|
-
var
|
|
20410
|
+
var $scopedSlots = this.$scopedSlots,
|
|
20411
|
+
loadingIcon = this.loadingIcon,
|
|
20411
20412
|
loadingText = this.loadingText;
|
|
20413
|
+
var defaultSlot = $scopedSlots.default;
|
|
20412
20414
|
return h('div', {
|
|
20413
20415
|
class: ['vxe-loading', {
|
|
20414
20416
|
'is--visible': this.value
|
|
20415
20417
|
}]
|
|
20416
|
-
}, [h('div', {
|
|
20418
|
+
}, defaultSlot ? [h('div', {
|
|
20419
|
+
class: 'vxe-loading--warpper'
|
|
20420
|
+
}, defaultSlot.call(this, {}))] : [h('div', {
|
|
20417
20421
|
class: 'vxe-loading--chunk'
|
|
20418
20422
|
}, [loadingIcon ? h('i', {
|
|
20419
20423
|
class: loadingIcon
|
|
@@ -21421,6 +21425,7 @@ function handleUupdateResize(_vm) {
|
|
|
21421
21425
|
},
|
|
21422
21426
|
render: function render(h) {
|
|
21423
21427
|
var _e = this._e,
|
|
21428
|
+
$scopedSlots = this.$scopedSlots,
|
|
21424
21429
|
tId = this.tId,
|
|
21425
21430
|
tableData = this.tableData,
|
|
21426
21431
|
tableColumn = this.tableColumn,
|
|
@@ -21578,7 +21583,7 @@ function handleUupdateResize(_vm) {
|
|
|
21578
21583
|
icon: loadingOpts.icon,
|
|
21579
21584
|
text: loadingOpts.text
|
|
21580
21585
|
}
|
|
21581
|
-
}),
|
|
21586
|
+
}, this.callSlot($scopedSlots.loading, {})),
|
|
21582
21587
|
/**
|
|
21583
21588
|
* 筛选
|
|
21584
21589
|
*/
|