vxe-table 3.13.26 → 3.13.28
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/es/style.css +1 -1
- package/es/table/src/body.js +1 -1
- package/es/table/src/footer.js +2 -2
- package/es/table/src/header.js +2 -2
- package/es/table/src/methods.js +2 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +10 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/body.js +1 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +2 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +2 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +3 -2
- package/lib/table/src/methods.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/footer.ts +2 -2
- package/packages/table/src/header.ts +2 -2
- package/packages/table/src/methods.ts +2 -2
- /package/es/{iconfont.1741945155585.ttf → iconfont.1742269947240.ttf} +0 -0
- /package/es/{iconfont.1741945155585.woff → iconfont.1742269947240.woff} +0 -0
- /package/es/{iconfont.1741945155585.woff2 → iconfont.1742269947240.woff2} +0 -0
- /package/lib/{iconfont.1741945155585.ttf → iconfont.1742269947240.ttf} +0 -0
- /package/lib/{iconfont.1741945155585.woff → iconfont.1742269947240.woff} +0 -0
- /package/lib/{iconfont.1741945155585.woff2 → iconfont.1742269947240.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -8551,7 +8551,7 @@ const Methods = {
|
|
|
8551
8551
|
const $xeTable = this;
|
|
8552
8552
|
const reactData = $xeTable;
|
|
8553
8553
|
const internalData = $xeTable;
|
|
8554
|
-
const { isGroup, scrollXLoad } = reactData;
|
|
8554
|
+
const { isGroup, scrollXLoad, overflowX } = reactData;
|
|
8555
8555
|
const { visibleColumn, scrollXStore, elemStore, tableWidth } = internalData;
|
|
8556
8556
|
const tableHeader = $xeTable.$refs.refTableHeader;
|
|
8557
8557
|
const tableBody = $xeTable.$refs.refTableBody;
|
|
@@ -8565,7 +8565,7 @@ const Methods = {
|
|
|
8565
8565
|
const footerElem = tableFooterElem ? tableFooterElem.querySelector('.vxe-table--footer') : null;
|
|
8566
8566
|
const leftSpaceWidth = visibleColumn.slice(0, scrollXStore.startIndex).reduce((previous, column) => previous + column.renderWidth, 0);
|
|
8567
8567
|
let marginLeft = '';
|
|
8568
|
-
if (scrollXLoad) {
|
|
8568
|
+
if (scrollXLoad && overflowX) {
|
|
8569
8569
|
marginLeft = `${leftSpaceWidth}px`;
|
|
8570
8570
|
}
|
|
8571
8571
|
if (headerElem) {
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3201,7 +3201,7 @@ function getClass(property, params) {
|
|
|
3201
3201
|
;// ./packages/ui/index.ts
|
|
3202
3202
|
|
|
3203
3203
|
|
|
3204
|
-
const version = "3.13.
|
|
3204
|
+
const version = "3.13.28";
|
|
3205
3205
|
core_.VxeUI.version = version;
|
|
3206
3206
|
core_.VxeUI.tableVersion = version;
|
|
3207
3207
|
core_.VxeUI.setConfig({
|
|
@@ -3828,7 +3828,7 @@ var es_iterator_map = __webpack_require__(1701);
|
|
|
3828
3828
|
const {
|
|
3829
3829
|
log: log_log
|
|
3830
3830
|
} = core_.VxeUI;
|
|
3831
|
-
const log_version = `table v${"3.13.
|
|
3831
|
+
const log_version = `table v${"3.13.28"}`;
|
|
3832
3832
|
const warnLog = log_log.create('warn', log_version);
|
|
3833
3833
|
const errLog = log_log.create('error', log_version);
|
|
3834
3834
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -16140,7 +16140,8 @@ const Methods = {
|
|
|
16140
16140
|
const internalData = $xeTable;
|
|
16141
16141
|
const {
|
|
16142
16142
|
isGroup,
|
|
16143
|
-
scrollXLoad
|
|
16143
|
+
scrollXLoad,
|
|
16144
|
+
overflowX
|
|
16144
16145
|
} = reactData;
|
|
16145
16146
|
const {
|
|
16146
16147
|
visibleColumn,
|
|
@@ -16160,7 +16161,7 @@ const Methods = {
|
|
|
16160
16161
|
const footerElem = tableFooterElem ? tableFooterElem.querySelector('.vxe-table--footer') : null;
|
|
16161
16162
|
const leftSpaceWidth = visibleColumn.slice(0, scrollXStore.startIndex).reduce((previous, column) => previous + column.renderWidth, 0);
|
|
16162
16163
|
let marginLeft = '';
|
|
16163
|
-
if (scrollXLoad) {
|
|
16164
|
+
if (scrollXLoad && overflowX) {
|
|
16164
16165
|
marginLeft = `${leftSpaceWidth}px`;
|
|
16165
16166
|
}
|
|
16166
16167
|
if (headerElem) {
|
|
@@ -17472,7 +17473,7 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
17472
17473
|
isOptimizeMode = true;
|
|
17473
17474
|
}
|
|
17474
17475
|
}
|
|
17475
|
-
if (fixedType || !overflowX) {
|
|
17476
|
+
if (!isColLoading && (fixedType || !overflowX)) {
|
|
17476
17477
|
renderColumnList = visibleColumn;
|
|
17477
17478
|
}
|
|
17478
17479
|
if (fixedType) {
|
|
@@ -17962,6 +17963,7 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
17962
17963
|
} = tableProps;
|
|
17963
17964
|
const {
|
|
17964
17965
|
isGroup,
|
|
17966
|
+
isColLoading,
|
|
17965
17967
|
overflowX,
|
|
17966
17968
|
scrollXLoad,
|
|
17967
17969
|
scrollYLoad,
|
|
@@ -17986,7 +17988,7 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
17986
17988
|
isOptimizeMode = true;
|
|
17987
17989
|
}
|
|
17988
17990
|
}
|
|
17989
|
-
if (fixedType || !overflowX) {
|
|
17991
|
+
if (!isColLoading && (fixedType || !overflowX)) {
|
|
17990
17992
|
renderColumnList = visibleColumn;
|
|
17991
17993
|
}
|
|
17992
17994
|
if (fixedType) {
|
|
@@ -18469,6 +18471,7 @@ function footer_renderHeads(h, _vm, renderColumnList) {
|
|
|
18469
18471
|
} = tableInternalData;
|
|
18470
18472
|
const {
|
|
18471
18473
|
isGroup,
|
|
18474
|
+
isColLoading,
|
|
18472
18475
|
overflowX,
|
|
18473
18476
|
scrollXLoad,
|
|
18474
18477
|
scrollYLoad,
|
|
@@ -18484,7 +18487,7 @@ function footer_renderHeads(h, _vm, renderColumnList) {
|
|
|
18484
18487
|
isOptimizeMode = true;
|
|
18485
18488
|
}
|
|
18486
18489
|
}
|
|
18487
|
-
if (fixedType || !overflowX) {
|
|
18490
|
+
if (!isColLoading && (fixedType || !overflowX)) {
|
|
18488
18491
|
renderColumnList = visibleColumn;
|
|
18489
18492
|
}
|
|
18490
18493
|
if (fixedType) {
|