vxe-table 4.12.4 → 4.12.5
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/locale/lang/ar-EG.js +3 -1
- package/es/locale/lang/de-DE.js +3 -1
- package/es/locale/lang/en-US.js +7 -5
- package/es/locale/lang/es-ES.js +3 -1
- package/es/locale/lang/fr-FR.js +3 -1
- package/es/locale/lang/hu-HU.js +3 -1
- package/es/locale/lang/hy-AM.js +3 -1
- package/es/locale/lang/id-ID.js +3 -1
- package/es/locale/lang/it-IT.js +3 -1
- package/es/locale/lang/ja-JP.js +3 -1
- package/es/locale/lang/ko-KR.js +3 -1
- package/es/locale/lang/nb-NO.js +3 -1
- package/es/locale/lang/pt-BR.js +3 -1
- package/es/locale/lang/ru-RU.js +3 -1
- package/es/locale/lang/th-TH.js +3 -1
- package/es/locale/lang/ug-CN.js +3 -1
- package/es/locale/lang/uk-UA.js +3 -1
- package/es/locale/lang/vi-VN.js +3 -1
- package/es/locale/lang/zh-CHT.js +3 -1
- package/es/locale/lang/zh-CN.js +3 -1
- package/es/style.css +1 -1
- package/es/table/module/export/export-panel.js +31 -19
- package/es/table/module/export/hook.js +3 -1
- package/es/table/src/table.js +57 -44
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +47 -30
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +3 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +3 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +7 -5
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +7 -5
- package/lib/locale/lang/es-ES.js +3 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +3 -1
- package/lib/locale/lang/fr-FR.js +3 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +3 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +3 -1
- package/lib/locale/lang/hy-AM.js +3 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/id-ID.js +3 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +3 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +3 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +3 -1
- package/lib/locale/lang/ko-KR.js +3 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +3 -1
- package/lib/locale/lang/nb-NO.js +3 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +3 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +3 -1
- package/lib/locale/lang/ru-RU.js +3 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +3 -1
- package/lib/locale/lang/th-TH.js +3 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/ug-CN.js +3 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +3 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +3 -1
- package/lib/locale/lang/vi-VN.js +3 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +3 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +3 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +3 -1
- package/lib/style.css +1 -1
- package/lib/table/module/export/export-panel.js +26 -19
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +3 -1
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/src/table.js +60 -45
- 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 +2 -2
- package/packages/locale/lang/ar-EG.ts +3 -1
- package/packages/locale/lang/de-DE.ts +3 -1
- package/packages/locale/lang/en-US.ts +7 -5
- package/packages/locale/lang/es-ES.ts +3 -1
- package/packages/locale/lang/fr-FR.ts +3 -1
- package/packages/locale/lang/hu-HU.ts +3 -1
- package/packages/locale/lang/hy-AM.ts +3 -1
- package/packages/locale/lang/id-ID.ts +3 -1
- package/packages/locale/lang/it-IT.ts +3 -1
- package/packages/locale/lang/ja-JP.ts +3 -1
- package/packages/locale/lang/ko-KR.ts +3 -1
- package/packages/locale/lang/nb-NO.ts +3 -1
- package/packages/locale/lang/pt-BR.ts +3 -1
- package/packages/locale/lang/ru-RU.ts +3 -1
- package/packages/locale/lang/th-TH.ts +3 -1
- package/packages/locale/lang/ug-CN.ts +3 -1
- package/packages/locale/lang/uk-UA.ts +3 -1
- package/packages/locale/lang/vi-VN.ts +3 -1
- package/packages/locale/lang/zh-CHT.ts +3 -1
- package/packages/locale/lang/zh-CN.ts +3 -1
- package/packages/table/module/export/export-panel.ts +31 -19
- package/packages/table/module/export/hook.ts +3 -1
- package/packages/table/src/table.ts +56 -43
- /package/es/{iconfont.1743394011765.ttf → iconfont.1743479147314.ttf} +0 -0
- /package/es/{iconfont.1743394011765.woff → iconfont.1743479147314.woff} +0 -0
- /package/es/{iconfont.1743394011765.woff2 → iconfont.1743479147314.woff2} +0 -0
- /package/lib/{iconfont.1743394011765.ttf → iconfont.1743479147314.ttf} +0 -0
- /package/lib/{iconfont.1743394011765.woff → iconfont.1743479147314.woff} +0 -0
- /package/lib/{iconfont.1743394011765.woff2 → iconfont.1743479147314.woff2} +0 -0
|
@@ -362,7 +362,7 @@ export default defineComponent({
|
|
|
362
362
|
}, [
|
|
363
363
|
VxeUICheckboxComponent
|
|
364
364
|
? h(VxeUICheckboxComponent, {
|
|
365
|
-
modelValue: hasEmptyData ||
|
|
365
|
+
modelValue: hasEmptyData || isHeader,
|
|
366
366
|
disabled: hasEmptyData,
|
|
367
367
|
title: getI18n('vxe.export.expHeaderTitle'),
|
|
368
368
|
content: getI18n('vxe.export.expOptHeader'),
|
|
@@ -373,23 +373,23 @@ export default defineComponent({
|
|
|
373
373
|
: createCommentVNode(),
|
|
374
374
|
VxeUICheckboxComponent
|
|
375
375
|
? h(VxeUICheckboxComponent, {
|
|
376
|
-
modelValue: defaultOptions.
|
|
377
|
-
disabled: !
|
|
378
|
-
title: getI18n('vxe.export.
|
|
379
|
-
content: getI18n('vxe.export.
|
|
376
|
+
modelValue: isHeader ? defaultOptions.isTitle : false,
|
|
377
|
+
disabled: !isHeader,
|
|
378
|
+
title: getI18n('vxe.export.expTitleTitle'),
|
|
379
|
+
content: getI18n('vxe.export.expOptTitle'),
|
|
380
380
|
'onUpdate:modelValue'(value) {
|
|
381
|
-
defaultOptions.
|
|
381
|
+
defaultOptions.isTitle = value;
|
|
382
382
|
}
|
|
383
383
|
})
|
|
384
384
|
: createCommentVNode(),
|
|
385
385
|
VxeUICheckboxComponent
|
|
386
386
|
? h(VxeUICheckboxComponent, {
|
|
387
|
-
modelValue:
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
content: getI18n('vxe.export.
|
|
387
|
+
modelValue: isHeader && hasColgroup && supportMerge ? defaultOptions.isColgroup : false,
|
|
388
|
+
title: getI18n('vxe.export.expColgroupTitle'),
|
|
389
|
+
disabled: !isHeader || !hasColgroup || !supportMerge,
|
|
390
|
+
content: getI18n('vxe.export.expOptColgroup'),
|
|
391
391
|
'onUpdate:modelValue'(value) {
|
|
392
|
-
defaultOptions.
|
|
392
|
+
defaultOptions.isColgroup = value;
|
|
393
393
|
}
|
|
394
394
|
})
|
|
395
395
|
: createCommentVNode()
|
|
@@ -399,15 +399,12 @@ export default defineComponent({
|
|
|
399
399
|
}, [
|
|
400
400
|
VxeUICheckboxComponent
|
|
401
401
|
? h(VxeUICheckboxComponent, {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
title: getI18n('vxe.export.expColgroupTitle'),
|
|
407
|
-
disabled: !isHeader || !hasColgroup || !supportMerge,
|
|
408
|
-
content: getI18n('vxe.export.expOptColgroup'),
|
|
402
|
+
modelValue: hasEmptyData ? false : defaultOptions.original,
|
|
403
|
+
disabled: hasEmptyData,
|
|
404
|
+
title: getI18n('vxe.export.expOriginalTitle'),
|
|
405
|
+
content: getI18n('vxe.export.expOptOriginal'),
|
|
409
406
|
'onUpdate:modelValue'(value) {
|
|
410
|
-
defaultOptions.
|
|
407
|
+
defaultOptions.original = value;
|
|
411
408
|
}
|
|
412
409
|
})
|
|
413
410
|
: createCommentVNode(),
|
|
@@ -444,6 +441,21 @@ export default defineComponent({
|
|
|
444
441
|
}
|
|
445
442
|
})
|
|
446
443
|
: createCommentVNode()
|
|
444
|
+
]),
|
|
445
|
+
h('div', {
|
|
446
|
+
class: 'vxe-table-export--panel-option-row'
|
|
447
|
+
}, [
|
|
448
|
+
VxeUICheckboxComponent
|
|
449
|
+
? h(VxeUICheckboxComponent, {
|
|
450
|
+
modelValue: defaultOptions.isFooter,
|
|
451
|
+
disabled: !storeData.hasFooter,
|
|
452
|
+
title: getI18n('vxe.export.expFooterTitle'),
|
|
453
|
+
content: getI18n('vxe.export.expOptFooter'),
|
|
454
|
+
'onUpdate:modelValue'(value) {
|
|
455
|
+
defaultOptions.isFooter = value;
|
|
456
|
+
}
|
|
457
|
+
})
|
|
458
|
+
: createCommentVNode()
|
|
447
459
|
])
|
|
448
460
|
])
|
|
449
461
|
])
|
|
@@ -279,7 +279,7 @@ hooks.add('tableExportModule', {
|
|
|
279
279
|
function getHeaderTitle(opts, column) {
|
|
280
280
|
const columnOpts = computeColumnOpts.value;
|
|
281
281
|
const headExportMethod = column.headerExportMethod || columnOpts.headerExportMethod;
|
|
282
|
-
return headExportMethod ? headExportMethod({ column, options: opts, $table: $xeTable }) : ((opts.
|
|
282
|
+
return headExportMethod ? headExportMethod({ column, options: opts, $table: $xeTable }) : ((opts.isTitle ? column.getTitle() : column.field) || '');
|
|
283
283
|
}
|
|
284
284
|
const toBooleanValue = (cellValue) => {
|
|
285
285
|
return XEUtils.isBoolean(cellValue) ? (cellValue ? 'TRUE' : 'FALSE') : cellValue;
|
|
@@ -964,6 +964,7 @@ hooks.add('tableExportModule', {
|
|
|
964
964
|
const defOpts = Object.assign({
|
|
965
965
|
message: true,
|
|
966
966
|
isHeader: showHeader,
|
|
967
|
+
isTitle: showHeader,
|
|
967
968
|
isFooter: showFooter,
|
|
968
969
|
isColgroup: isGroup,
|
|
969
970
|
isMerge: hasMerge,
|
|
@@ -1086,6 +1087,7 @@ hooks.add('tableExportModule', {
|
|
|
1086
1087
|
const opts = Object.assign({
|
|
1087
1088
|
message: true,
|
|
1088
1089
|
isHeader: showHeader,
|
|
1090
|
+
isTitle: showHeader,
|
|
1089
1091
|
isFooter: showFooter,
|
|
1090
1092
|
isColgroup: isGroup,
|
|
1091
1093
|
isMerge: hasMerge,
|
package/es/table/src/table.js
CHANGED
|
@@ -229,6 +229,7 @@ export default defineComponent({
|
|
|
229
229
|
original: false,
|
|
230
230
|
message: true,
|
|
231
231
|
isHeader: false,
|
|
232
|
+
isTitle: false,
|
|
232
233
|
isFooter: false
|
|
233
234
|
},
|
|
234
235
|
rowExpandedFlag: 1,
|
|
@@ -1209,6 +1210,7 @@ export default defineComponent({
|
|
|
1209
1210
|
const expandOpts = computeExpandOpts.value;
|
|
1210
1211
|
const columnOpts = computeColumnOpts.value;
|
|
1211
1212
|
const columnDragOpts = computeColumnDragOpts.value;
|
|
1213
|
+
const virtualYOpts = computeVirtualYOpts.value;
|
|
1212
1214
|
const { isCrossDrag, isSelfToChildDrag } = columnDragOpts;
|
|
1213
1215
|
const customOpts = computeCustomOpts.value;
|
|
1214
1216
|
const { storage } = customOpts;
|
|
@@ -1242,41 +1244,35 @@ export default defineComponent({
|
|
|
1242
1244
|
htmlColumn = column;
|
|
1243
1245
|
}
|
|
1244
1246
|
if (treeNode) {
|
|
1245
|
-
if (
|
|
1246
|
-
|
|
1247
|
-
warnLog('vxe.error.colRepet', ['tree-node', treeNode]);
|
|
1248
|
-
}
|
|
1247
|
+
if (treeNodeColumn) {
|
|
1248
|
+
warnLog('vxe.error.colRepet', ['tree-node', treeNode]);
|
|
1249
1249
|
}
|
|
1250
1250
|
if (!treeNodeColumn) {
|
|
1251
1251
|
treeNodeColumn = column;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
1254
|
else if (type === 'expand') {
|
|
1255
|
-
if (
|
|
1256
|
-
|
|
1257
|
-
warnLog('vxe.error.colRepet', ['type', type]);
|
|
1258
|
-
}
|
|
1255
|
+
if (expandColumn) {
|
|
1256
|
+
warnLog('vxe.error.colRepet', ['type', type]);
|
|
1259
1257
|
}
|
|
1260
1258
|
if (!expandColumn) {
|
|
1261
1259
|
expandColumn = column;
|
|
1262
1260
|
}
|
|
1263
1261
|
}
|
|
1264
|
-
if (
|
|
1265
|
-
if (
|
|
1266
|
-
|
|
1267
|
-
warnLog('vxe.error.colRepet', ['type', type]);
|
|
1268
|
-
}
|
|
1269
|
-
if (!checkboxColumn) {
|
|
1270
|
-
checkboxColumn = column;
|
|
1271
|
-
}
|
|
1262
|
+
if (type === 'checkbox') {
|
|
1263
|
+
if (checkboxColumn) {
|
|
1264
|
+
warnLog('vxe.error.colRepet', ['type', type]);
|
|
1272
1265
|
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1266
|
+
if (!checkboxColumn) {
|
|
1267
|
+
checkboxColumn = column;
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
else if (type === 'radio') {
|
|
1271
|
+
if (radioColumn) {
|
|
1272
|
+
warnLog('vxe.error.colRepet', ['type', type]);
|
|
1273
|
+
}
|
|
1274
|
+
if (!radioColumn) {
|
|
1275
|
+
radioColumn = column;
|
|
1280
1276
|
}
|
|
1281
1277
|
}
|
|
1282
1278
|
if (isAllOverflow && column.showOverflow === false) {
|
|
@@ -1296,6 +1292,9 @@ export default defineComponent({
|
|
|
1296
1292
|
else {
|
|
1297
1293
|
tableFullColumn.forEach(handleFunc);
|
|
1298
1294
|
}
|
|
1295
|
+
if (expandColumn && expandOpts.mode !== 'fixed' && virtualYOpts.enabled) {
|
|
1296
|
+
warnLog('vxe.error.notConflictProp', ['column.type="expand', 'virtual-y-config.enabled=false']);
|
|
1297
|
+
}
|
|
1299
1298
|
if ((expandColumn && expandOpts.mode !== 'fixed') && mouseOpts.area) {
|
|
1300
1299
|
errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
|
|
1301
1300
|
}
|
|
@@ -2611,6 +2610,7 @@ export default defineComponent({
|
|
|
2611
2610
|
const { scrollYLoad: oldScrollYLoad } = reactData;
|
|
2612
2611
|
const { scrollYStore, scrollXStore, lastScrollLeft, lastScrollTop } = internalData;
|
|
2613
2612
|
const treeOpts = computeTreeOpts.value;
|
|
2613
|
+
const expandOpts = computeExpandOpts.value;
|
|
2614
2614
|
const { transform } = treeOpts;
|
|
2615
2615
|
const childrenField = treeOpts.children || treeOpts.childrenField;
|
|
2616
2616
|
let treeData = [];
|
|
@@ -2697,6 +2697,9 @@ export default defineComponent({
|
|
|
2697
2697
|
scrollYStore.endIndex = scrollYStore.visibleSize;
|
|
2698
2698
|
}
|
|
2699
2699
|
if (sYLoad) {
|
|
2700
|
+
if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
|
|
2701
|
+
errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
|
|
2702
|
+
}
|
|
2700
2703
|
// if (showOverflow) {
|
|
2701
2704
|
// if (!rowOpts.height) {
|
|
2702
2705
|
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
@@ -4095,6 +4098,7 @@ export default defineComponent({
|
|
|
4095
4098
|
*/
|
|
4096
4099
|
getCheckboxRecords(isFull) {
|
|
4097
4100
|
const { treeConfig } = props;
|
|
4101
|
+
const { updateCheckboxFlag } = reactData;
|
|
4098
4102
|
const { tableFullData, afterFullData, afterTreeFullData, tableFullTreeData, fullDataRowIdData, afterFullRowMaps, selectCheckboxMaps } = internalData;
|
|
4099
4103
|
const treeOpts = computeTreeOpts.value;
|
|
4100
4104
|
const checkboxOpts = computeCheckboxOpts.value;
|
|
@@ -4102,29 +4106,31 @@ export default defineComponent({
|
|
|
4102
4106
|
const { checkField } = checkboxOpts;
|
|
4103
4107
|
const childrenField = treeOpts.children || treeOpts.childrenField;
|
|
4104
4108
|
let rowList = [];
|
|
4105
|
-
if (
|
|
4106
|
-
if (
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
+
if (updateCheckboxFlag) {
|
|
4110
|
+
if (checkField) {
|
|
4111
|
+
if (treeConfig) {
|
|
4112
|
+
const currTableData = isFull ? (transform ? tableFullTreeData : tableFullData) : (transform ? afterTreeFullData : afterFullData);
|
|
4113
|
+
rowList = XEUtils.filterTree(currTableData, row => XEUtils.get(row, checkField), { children: transform ? mapChildrenField : childrenField });
|
|
4114
|
+
}
|
|
4115
|
+
else {
|
|
4116
|
+
const currTableData = isFull ? tableFullData : afterFullData;
|
|
4117
|
+
rowList = currTableData.filter((row) => XEUtils.get(row, checkField));
|
|
4118
|
+
}
|
|
4109
4119
|
}
|
|
4110
4120
|
else {
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
XEUtils.each(selectCheckboxMaps, (row, rowid) => {
|
|
4117
|
-
if (isFull) {
|
|
4118
|
-
if (fullDataRowIdData[rowid]) {
|
|
4119
|
-
rowList.push(fullDataRowIdData[rowid].row);
|
|
4121
|
+
XEUtils.each(selectCheckboxMaps, (row, rowid) => {
|
|
4122
|
+
if (isFull) {
|
|
4123
|
+
if (fullDataRowIdData[rowid]) {
|
|
4124
|
+
rowList.push(fullDataRowIdData[rowid].row);
|
|
4125
|
+
}
|
|
4120
4126
|
}
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4127
|
+
else {
|
|
4128
|
+
if (afterFullRowMaps[rowid]) {
|
|
4129
|
+
rowList.push(afterFullRowMaps[rowid]);
|
|
4130
|
+
}
|
|
4125
4131
|
}
|
|
4126
|
-
}
|
|
4127
|
-
}
|
|
4132
|
+
});
|
|
4133
|
+
}
|
|
4128
4134
|
}
|
|
4129
4135
|
return rowList;
|
|
4130
4136
|
},
|
|
@@ -10289,6 +10295,7 @@ export default defineComponent({
|
|
|
10289
10295
|
const currentColumnOpts = computeCurrentColumnOpts.value;
|
|
10290
10296
|
const virtualXOpts = computeVirtualXOpts.value;
|
|
10291
10297
|
const virtualYOpts = computeVirtualYOpts.value;
|
|
10298
|
+
const keyboardOpts = computeKeyboardOpts.value;
|
|
10292
10299
|
if (props.rowId) {
|
|
10293
10300
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField']);
|
|
10294
10301
|
}
|
|
@@ -10328,6 +10335,12 @@ export default defineComponent({
|
|
|
10328
10335
|
if (props.highlightHoverColumn) {
|
|
10329
10336
|
warnLog('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover']);
|
|
10330
10337
|
}
|
|
10338
|
+
// if (props.scrollY) {
|
|
10339
|
+
// warnLog('vxe.error.delProp', ['scroll-y', 'virtual-y-config'])
|
|
10340
|
+
// }
|
|
10341
|
+
// if (props.scrollX) {
|
|
10342
|
+
// warnLog('vxe.error.delProp', ['scroll-x', 'virtual-x-config'])
|
|
10343
|
+
// }
|
|
10331
10344
|
// 检查导入导出类型,如果自定义导入导出方法,则不校验类型
|
|
10332
10345
|
if (importConfig && importOpts.types && !importOpts.importMethod && !XEUtils.includeArrays(XEUtils.keys(importOpts._typeMaps), importOpts.types)) {
|
|
10333
10346
|
warnLog('vxe.error.errProp', [`export-config.types=${importOpts.types.join(',')}`, importOpts.types.filter((type) => XEUtils.includes(XEUtils.keys(importOpts._typeMaps), type)).join(',') || XEUtils.keys(importOpts._typeMaps).join(',')]);
|
|
@@ -10388,10 +10401,10 @@ export default defineComponent({
|
|
|
10388
10401
|
if (checkboxOpts.halfField) {
|
|
10389
10402
|
warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField']);
|
|
10390
10403
|
}
|
|
10391
|
-
if ((rowOpts.isCurrent || highlightCurrentRow) && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
10404
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && props.keyboardConfig && keyboardOpts.isArrow && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
10392
10405
|
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected']);
|
|
10393
10406
|
}
|
|
10394
|
-
if ((columnOpts.isCurrent || highlightCurrentColumn) && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
10407
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && props.keyboardConfig && keyboardOpts.isArrow && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
10395
10408
|
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected']);
|
|
10396
10409
|
}
|
|
10397
10410
|
// 如果不支持虚拟滚动
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED