vxe-table 3.13.31 → 3.13.33
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/methods.js +25 -25
- package/es/table/src/table.js +6 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +31 -27
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +25 -27
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +6 -0
- package/lib/table/src/table.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/methods.ts +25 -25
- package/packages/table/src/table.ts +6 -0
- /package/es/{iconfont.1742437145943.ttf → iconfont.1743128840235.ttf} +0 -0
- /package/es/{iconfont.1742437145943.woff → iconfont.1743128840235.woff} +0 -0
- /package/es/{iconfont.1742437145943.woff2 → iconfont.1743128840235.woff2} +0 -0
- /package/lib/{iconfont.1742437145943.ttf → iconfont.1743128840235.ttf} +0 -0
- /package/lib/{iconfont.1742437145943.woff → iconfont.1743128840235.woff} +0 -0
- /package/lib/{iconfont.1742437145943.woff2 → iconfont.1743128840235.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -1729,8 +1729,8 @@ function parseColumns($xeTable, isReset) {
|
|
|
1729
1729
|
const props = $xeTable;
|
|
1730
1730
|
const reactData = $xeTable;
|
|
1731
1731
|
const internalData = $xeTable;
|
|
1732
|
-
const { showOverflow } = props
|
|
1733
|
-
const rowOpts = $xeTable.computeRowOpts
|
|
1732
|
+
// const { showOverflow } = props
|
|
1733
|
+
// const rowOpts = $xeTable.computeRowOpts
|
|
1734
1734
|
const leftList = [];
|
|
1735
1735
|
const centerList = [];
|
|
1736
1736
|
const rightList = [];
|
|
@@ -1803,28 +1803,28 @@ function parseColumns($xeTable, isReset) {
|
|
|
1803
1803
|
reactData.hasFixedColumn = leftList.length > 0 || rightList.length > 0;
|
|
1804
1804
|
Object.assign(columnStore, { leftList, centerList, rightList });
|
|
1805
1805
|
if (scrollXLoad) {
|
|
1806
|
-
if (showOverflow) {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
}
|
|
1814
|
-
if (process.env.NODE_ENV === 'development') {
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
}
|
|
1806
|
+
// if (showOverflow) {
|
|
1807
|
+
// if (!rowOpts.height) {
|
|
1808
|
+
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
1809
|
+
// if (errColumn) {
|
|
1810
|
+
// errLog('vxe.error.errProp', [`column[field="${errColumn.field}"].show-overflow=false`, 'show-overflow=true'])
|
|
1811
|
+
// }
|
|
1812
|
+
// }
|
|
1813
|
+
// }
|
|
1814
|
+
// if (process.env.NODE_ENV === 'development') {
|
|
1815
|
+
// if (props.showHeader && !props.showHeaderOverflow) {
|
|
1816
|
+
// warnLog('vxe.error.reqProp', ['show-header-overflow'])
|
|
1817
|
+
// }
|
|
1818
|
+
// if (props.showFooter && !props.showFooterOverflow) {
|
|
1819
|
+
// warnLog('vxe.error.reqProp', ['show-footer-overflow'])
|
|
1820
|
+
// }
|
|
1821
|
+
if (props.spanMethod) {
|
|
1822
|
+
warnLog('vxe.error.scrollErrProp', ['span-method']);
|
|
1823
|
+
}
|
|
1824
|
+
if (props.footerSpanMethod) {
|
|
1825
|
+
warnLog('vxe.error.scrollErrProp', ['footer-span-method']);
|
|
1826
|
+
}
|
|
1827
|
+
// }
|
|
1828
1828
|
if (isReset) {
|
|
1829
1829
|
const { visibleSize } = handleVirtualXVisible($xeTable);
|
|
1830
1830
|
scrollXStore.startIndex = 0;
|
|
@@ -8397,7 +8397,7 @@ const Methods = {
|
|
|
8397
8397
|
const { scrollXLoad, scrollYLoad, expandColumn } = reactData;
|
|
8398
8398
|
const leftFixedWidth = $xeTable.computeLeftFixedWidth;
|
|
8399
8399
|
const rightFixedWidth = $xeTable.computeRightFixedWidth;
|
|
8400
|
-
if (!(
|
|
8400
|
+
if (!(leftFixedWidth || rightFixedWidth || expandColumn)) {
|
|
8401
8401
|
return;
|
|
8402
8402
|
}
|
|
8403
8403
|
const { elemStore, lastScrollTop, lastScrollLeft } = internalData;
|
package/es/table/src/table.js
CHANGED
|
@@ -1110,6 +1110,9 @@ export default {
|
|
|
1110
1110
|
const $xeTable = this;
|
|
1111
1111
|
const $xeTabs = $xeTable.$xeTabs;
|
|
1112
1112
|
return $xeTabs ? $xeTabs.reactData.resizeFlag : null;
|
|
1113
|
+
},
|
|
1114
|
+
computeVxeLanguage() {
|
|
1115
|
+
return VxeUI.getLanguage();
|
|
1113
1116
|
} }),
|
|
1114
1117
|
watch: {
|
|
1115
1118
|
data(value) {
|
|
@@ -1182,6 +1185,9 @@ export default {
|
|
|
1182
1185
|
computeScrollbarYToLeft() {
|
|
1183
1186
|
this.reLayoutFlag++;
|
|
1184
1187
|
},
|
|
1188
|
+
computeVxeLanguage() {
|
|
1189
|
+
this.reLayoutFlag++;
|
|
1190
|
+
},
|
|
1185
1191
|
reLayoutFlag() {
|
|
1186
1192
|
const $xeTable = this;
|
|
1187
1193
|
$xeTable.$nextTick(() => $xeTable.recalculate(true));
|
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.33";
|
|
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.33"}`;
|
|
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
|
|
@@ -8115,10 +8115,8 @@ function parseColumns($xeTable, isReset) {
|
|
|
8115
8115
|
const props = $xeTable;
|
|
8116
8116
|
const reactData = $xeTable;
|
|
8117
8117
|
const internalData = $xeTable;
|
|
8118
|
-
const {
|
|
8119
|
-
|
|
8120
|
-
} = props;
|
|
8121
|
-
const rowOpts = $xeTable.computeRowOpts;
|
|
8118
|
+
// const { showOverflow } = props
|
|
8119
|
+
// const rowOpts = $xeTable.computeRowOpts
|
|
8122
8120
|
const leftList = [];
|
|
8123
8121
|
const centerList = [];
|
|
8124
8122
|
const rightList = [];
|
|
@@ -8195,28 +8193,28 @@ function parseColumns($xeTable, isReset) {
|
|
|
8195
8193
|
rightList
|
|
8196
8194
|
});
|
|
8197
8195
|
if (scrollXLoad) {
|
|
8198
|
-
if (showOverflow) {
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8196
|
+
// if (showOverflow) {
|
|
8197
|
+
// if (!rowOpts.height) {
|
|
8198
|
+
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
8199
|
+
// if (errColumn) {
|
|
8200
|
+
// errLog('vxe.error.errProp', [`column[field="${errColumn.field}"].show-overflow=false`, 'show-overflow=true'])
|
|
8201
|
+
// }
|
|
8202
|
+
// }
|
|
8203
|
+
// }
|
|
8204
|
+
// if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
8205
|
+
// if (props.showHeader && !props.showHeaderOverflow) {
|
|
8206
|
+
// warnLog('vxe.error.reqProp', ['show-header-overflow'])
|
|
8207
|
+
// }
|
|
8208
|
+
// if (props.showFooter && !props.showFooterOverflow) {
|
|
8209
|
+
// warnLog('vxe.error.reqProp', ['show-footer-overflow'])
|
|
8210
|
+
// }
|
|
8211
|
+
if (props.spanMethod) {
|
|
8212
|
+
warnLog('vxe.error.scrollErrProp', ['span-method']);
|
|
8205
8213
|
}
|
|
8206
|
-
if (
|
|
8207
|
-
|
|
8208
|
-
// warnLog('vxe.error.reqProp', ['show-header-overflow'])
|
|
8209
|
-
// }
|
|
8210
|
-
// if (props.showFooter && !props.showFooterOverflow) {
|
|
8211
|
-
// warnLog('vxe.error.reqProp', ['show-footer-overflow'])
|
|
8212
|
-
// }
|
|
8213
|
-
if (props.spanMethod) {
|
|
8214
|
-
warnLog('vxe.error.scrollErrProp', ['span-method']);
|
|
8215
|
-
}
|
|
8216
|
-
if (props.footerSpanMethod) {
|
|
8217
|
-
warnLog('vxe.error.scrollErrProp', ['footer-span-method']);
|
|
8218
|
-
}
|
|
8214
|
+
if (props.footerSpanMethod) {
|
|
8215
|
+
warnLog('vxe.error.scrollErrProp', ['footer-span-method']);
|
|
8219
8216
|
}
|
|
8217
|
+
// }
|
|
8220
8218
|
if (isReset) {
|
|
8221
8219
|
const {
|
|
8222
8220
|
visibleSize
|
|
@@ -15956,7 +15954,7 @@ const Methods = {
|
|
|
15956
15954
|
} = reactData;
|
|
15957
15955
|
const leftFixedWidth = $xeTable.computeLeftFixedWidth;
|
|
15958
15956
|
const rightFixedWidth = $xeTable.computeRightFixedWidth;
|
|
15959
|
-
if (!(
|
|
15957
|
+
if (!(leftFixedWidth || rightFixedWidth || expandColumn)) {
|
|
15960
15958
|
return;
|
|
15961
15959
|
}
|
|
15962
15960
|
const {
|
|
@@ -27708,6 +27706,9 @@ function renderBody(h, $xeTable) {
|
|
|
27708
27706
|
const $xeTable = this;
|
|
27709
27707
|
const $xeTabs = $xeTable.$xeTabs;
|
|
27710
27708
|
return $xeTabs ? $xeTabs.reactData.resizeFlag : null;
|
|
27709
|
+
},
|
|
27710
|
+
computeVxeLanguage() {
|
|
27711
|
+
return core_.VxeUI.getLanguage();
|
|
27711
27712
|
}
|
|
27712
27713
|
},
|
|
27713
27714
|
watch: {
|
|
@@ -27787,6 +27788,9 @@ function renderBody(h, $xeTable) {
|
|
|
27787
27788
|
computeScrollbarYToLeft() {
|
|
27788
27789
|
this.reLayoutFlag++;
|
|
27789
27790
|
},
|
|
27791
|
+
computeVxeLanguage() {
|
|
27792
|
+
this.reLayoutFlag++;
|
|
27793
|
+
},
|
|
27790
27794
|
reLayoutFlag() {
|
|
27791
27795
|
const $xeTable = this;
|
|
27792
27796
|
$xeTable.$nextTick(() => $xeTable.recalculate(true));
|