vxe-table 3.18.8 → 3.18.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/es/style.css +1 -1
- package/es/table/src/methods.js +10 -1
- package/es/ui/index.js +1 -4
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +15 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +13 -1
- package/lib/table/src/methods.min.js +1 -1
- package/lib/ui/index.js +1 -4
- 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 +10 -1
- package/packages/ui/index.ts +0 -3
- /package/es/{iconfont.1757293907433.ttf → iconfont.1757392711661.ttf} +0 -0
- /package/es/{iconfont.1757293907433.woff → iconfont.1757392711661.woff} +0 -0
- /package/es/{iconfont.1757293907433.woff2 → iconfont.1757392711661.woff2} +0 -0
- /package/lib/{iconfont.1757293907433.ttf → iconfont.1757392711661.ttf} +0 -0
- /package/lib/{iconfont.1757293907433.woff → iconfont.1757392711661.woff} +0 -0
- /package/lib/{iconfont.1757293907433.woff2 → iconfont.1757392711661.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -252,6 +252,7 @@ function cacheColumnMap($xeTable) {
|
|
|
252
252
|
const props = $xeTable;
|
|
253
253
|
const reactData = $xeTable;
|
|
254
254
|
const internalData = $xeTable;
|
|
255
|
+
const { treeConfig, showOverflow } = props;
|
|
255
256
|
const { tableFullColumn, collectColumn } = internalData;
|
|
256
257
|
const fullColIdData = internalData.fullColumnIdData = {};
|
|
257
258
|
const fullColFieldData = internalData.fullColumnFieldData = {};
|
|
@@ -259,12 +260,14 @@ function cacheColumnMap($xeTable) {
|
|
|
259
260
|
const expandOpts = $xeTable.computeExpandOpts;
|
|
260
261
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
261
262
|
const columnDragOpts = $xeTable.computeColumnDragOpts;
|
|
263
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
262
264
|
const { isCrossDrag, isSelfToChildDrag } = columnDragOpts;
|
|
263
265
|
const customOpts = $xeTable.computeCustomOpts;
|
|
266
|
+
const treeOpts = $xeTable.computeTreeOpts;
|
|
264
267
|
const { storage } = customOpts;
|
|
265
268
|
const rowOpts = $xeTable.computeRowOpts;
|
|
266
269
|
const isGroup = collectColumn.some(hasChildrenList);
|
|
267
|
-
let isAllOverflow = !!
|
|
270
|
+
let isAllOverflow = !!showOverflow;
|
|
268
271
|
let rowGroupColumn;
|
|
269
272
|
let expandColumn;
|
|
270
273
|
let treeNodeColumn;
|
|
@@ -352,9 +355,15 @@ function cacheColumnMap($xeTable) {
|
|
|
352
355
|
else {
|
|
353
356
|
tableFullColumn.forEach(handleFunc);
|
|
354
357
|
}
|
|
358
|
+
if (expandColumn && expandOpts.mode !== 'fixed' && virtualYOpts.enabled) {
|
|
359
|
+
warnLog('vxe.error.notConflictProp', ['column.type="expand', 'virtual-y-config.enabled=false']);
|
|
360
|
+
}
|
|
355
361
|
if ((expandColumn && expandOpts.mode !== 'fixed') && mouseOpts.area) {
|
|
356
362
|
errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
|
|
357
363
|
}
|
|
364
|
+
if (expandColumn && expandOpts.mode !== 'inside' && (treeConfig && !treeOpts.transform)) {
|
|
365
|
+
errLog('vxe.error.notConflictProp', ['tree-config.transform=false', 'expand-config.mode=fixed']);
|
|
366
|
+
}
|
|
358
367
|
if (htmlColumn) {
|
|
359
368
|
if (!columnOpts.useKey) {
|
|
360
369
|
errLog('vxe.error.notSupportProp', ['column.type=html', 'column-config.useKey=false', 'column-config.useKey=true']);
|
package/es/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
import { getFuncText } from './src/utils';
|
|
3
|
-
export const version = "3.18.
|
|
3
|
+
export const version = "3.18.9";
|
|
4
4
|
VxeUI.version = version;
|
|
5
5
|
VxeUI.tableVersion = version;
|
|
6
6
|
VxeUI.setConfig({
|
|
@@ -239,9 +239,6 @@ VxeUI.setConfig({
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
|
-
// export: {
|
|
243
|
-
// types: {}
|
|
244
|
-
// },
|
|
245
242
|
grid: {
|
|
246
243
|
// size: null,
|
|
247
244
|
// zoomConfig: {
|
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
|
|
|
2002
2002
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
|
-
const version = "3.18.
|
|
2005
|
+
const version = "3.18.9";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2241,9 +2241,6 @@ core_.VxeUI.setConfig({
|
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
2243
|
},
|
|
2244
|
-
// export: {
|
|
2245
|
-
// types: {}
|
|
2246
|
-
// },
|
|
2247
2244
|
grid: {
|
|
2248
2245
|
// size: null,
|
|
2249
2246
|
// zoomConfig: {
|
|
@@ -2678,7 +2675,7 @@ function isNodeElement(elem) {
|
|
|
2678
2675
|
const {
|
|
2679
2676
|
log: log_log
|
|
2680
2677
|
} = core_.VxeUI;
|
|
2681
|
-
const log_version = `table v${"3.18.
|
|
2678
|
+
const log_version = `table v${"3.18.9"}`;
|
|
2682
2679
|
const warnLog = log_log.create('warn', log_version);
|
|
2683
2680
|
const errLog = log_log.create('error', log_version);
|
|
2684
2681
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -6155,6 +6152,10 @@ function cacheColumnMap($xeTable) {
|
|
|
6155
6152
|
const props = $xeTable;
|
|
6156
6153
|
const reactData = $xeTable;
|
|
6157
6154
|
const internalData = $xeTable;
|
|
6155
|
+
const {
|
|
6156
|
+
treeConfig,
|
|
6157
|
+
showOverflow
|
|
6158
|
+
} = props;
|
|
6158
6159
|
const {
|
|
6159
6160
|
tableFullColumn,
|
|
6160
6161
|
collectColumn
|
|
@@ -6165,17 +6166,19 @@ function cacheColumnMap($xeTable) {
|
|
|
6165
6166
|
const expandOpts = $xeTable.computeExpandOpts;
|
|
6166
6167
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
6167
6168
|
const columnDragOpts = $xeTable.computeColumnDragOpts;
|
|
6169
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
6168
6170
|
const {
|
|
6169
6171
|
isCrossDrag,
|
|
6170
6172
|
isSelfToChildDrag
|
|
6171
6173
|
} = columnDragOpts;
|
|
6172
6174
|
const customOpts = $xeTable.computeCustomOpts;
|
|
6175
|
+
const treeOpts = $xeTable.computeTreeOpts;
|
|
6173
6176
|
const {
|
|
6174
6177
|
storage
|
|
6175
6178
|
} = customOpts;
|
|
6176
6179
|
const rowOpts = $xeTable.computeRowOpts;
|
|
6177
6180
|
const isGroup = collectColumn.some(hasChildrenList);
|
|
6178
|
-
let isAllOverflow = !!
|
|
6181
|
+
let isAllOverflow = !!showOverflow;
|
|
6179
6182
|
let rowGroupColumn;
|
|
6180
6183
|
let expandColumn;
|
|
6181
6184
|
let treeNodeColumn;
|
|
@@ -6277,9 +6280,15 @@ function cacheColumnMap($xeTable) {
|
|
|
6277
6280
|
} else {
|
|
6278
6281
|
tableFullColumn.forEach(handleFunc);
|
|
6279
6282
|
}
|
|
6283
|
+
if (expandColumn && expandOpts.mode !== 'fixed' && virtualYOpts.enabled) {
|
|
6284
|
+
warnLog('vxe.error.notConflictProp', ['column.type="expand', 'virtual-y-config.enabled=false']);
|
|
6285
|
+
}
|
|
6280
6286
|
if (expandColumn && expandOpts.mode !== 'fixed' && mouseOpts.area) {
|
|
6281
6287
|
errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
|
|
6282
6288
|
}
|
|
6289
|
+
if (expandColumn && expandOpts.mode !== 'inside' && treeConfig && !treeOpts.transform) {
|
|
6290
|
+
errLog('vxe.error.notConflictProp', ['tree-config.transform=false', 'expand-config.mode=fixed']);
|
|
6291
|
+
}
|
|
6283
6292
|
if (htmlColumn) {
|
|
6284
6293
|
if (!columnOpts.useKey) {
|
|
6285
6294
|
errLog('vxe.error.notSupportProp', ['column.type=html', 'column-config.useKey=false', 'column-config.useKey=true']);
|