vxe-table 3.14.3 → 3.14.4
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 +1 -0
- package/es/locale/lang/de-DE.js +1 -0
- package/es/locale/lang/en-US.js +1 -0
- package/es/locale/lang/es-ES.js +1 -0
- package/es/locale/lang/fr-FR.js +1 -0
- package/es/locale/lang/hu-HU.js +1 -0
- package/es/locale/lang/hy-AM.js +1 -0
- package/es/locale/lang/id-ID.js +1 -0
- package/es/locale/lang/it-IT.js +1 -0
- package/es/locale/lang/ja-JP.js +1 -0
- package/es/locale/lang/ko-KR.js +1 -0
- package/es/locale/lang/nb-NO.js +1 -0
- package/es/locale/lang/pt-BR.js +1 -0
- package/es/locale/lang/ru-RU.js +1 -0
- package/es/locale/lang/th-TH.js +1 -0
- package/es/locale/lang/ug-CN.js +1 -0
- package/es/locale/lang/uk-UA.js +1 -0
- package/es/locale/lang/vi-VN.js +1 -0
- package/es/locale/lang/zh-CHT.js +1 -0
- package/es/locale/lang/zh-CN.js +1 -0
- package/es/style.css +1 -1
- package/es/table/module/keyboard/mixin.js +27 -9
- package/es/table/src/table.js +42 -17
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +75 -28
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +1 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +1 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +1 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -0
- package/lib/locale/lang/es-ES.js +1 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -0
- package/lib/locale/lang/fr-FR.js +1 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +1 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -0
- package/lib/locale/lang/hy-AM.js +1 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/id-ID.js +1 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +1 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -0
- package/lib/locale/lang/ko-KR.js +1 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -0
- package/lib/locale/lang/nb-NO.js +1 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +1 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -0
- package/lib/locale/lang/ru-RU.js +1 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -0
- package/lib/locale/lang/th-TH.js +1 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/ug-CN.js +1 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +1 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -0
- package/lib/locale/lang/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -0
- package/lib/locale/lang/zh-CN.js +1 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -0
- package/lib/style.css +1 -1
- package/lib/table/module/keyboard/mixin.js +28 -9
- package/lib/table/module/keyboard/mixin.min.js +1 -1
- package/lib/table/src/table.js +44 -17
- 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 +1 -0
- package/packages/locale/lang/de-DE.ts +1 -0
- package/packages/locale/lang/en-US.ts +1 -0
- package/packages/locale/lang/es-ES.ts +1 -0
- package/packages/locale/lang/fr-FR.ts +1 -0
- package/packages/locale/lang/hu-HU.ts +1 -0
- package/packages/locale/lang/hy-AM.ts +1 -0
- package/packages/locale/lang/id-ID.ts +1 -0
- package/packages/locale/lang/it-IT.ts +1 -0
- package/packages/locale/lang/ja-JP.ts +1 -0
- package/packages/locale/lang/ko-KR.ts +1 -0
- package/packages/locale/lang/nb-NO.ts +1 -0
- package/packages/locale/lang/pt-BR.ts +1 -0
- package/packages/locale/lang/ru-RU.ts +1 -0
- package/packages/locale/lang/th-TH.ts +1 -0
- package/packages/locale/lang/ug-CN.ts +1 -0
- package/packages/locale/lang/uk-UA.ts +1 -0
- package/packages/locale/lang/vi-VN.ts +1 -0
- package/packages/locale/lang/zh-CHT.ts +1 -0
- package/packages/locale/lang/zh-CN.ts +1 -0
- package/packages/table/module/keyboard/mixin.ts +25 -9
- package/packages/table/src/table.ts +44 -17
- /package/es/{iconfont.1743389110592.ttf → iconfont.1743393991959.ttf} +0 -0
- /package/es/{iconfont.1743389110592.woff → iconfont.1743393991959.woff} +0 -0
- /package/es/{iconfont.1743389110592.woff2 → iconfont.1743393991959.woff2} +0 -0
- /package/lib/{iconfont.1743389110592.ttf → iconfont.1743393991959.ttf} +0 -0
- /package/lib/{iconfont.1743389110592.woff → iconfont.1743393991959.woff} +0 -0
- /package/lib/{iconfont.1743389110592.woff2 → iconfont.1743393991959.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -1328,8 +1328,9 @@ export default {
|
|
|
1328
1328
|
swYInterval: 0,
|
|
1329
1329
|
swYTotal: 0
|
|
1330
1330
|
});
|
|
1331
|
-
const { data, exportConfig, importConfig, treeConfig, showOverflow } = props;
|
|
1331
|
+
const { data, exportConfig, importConfig, treeConfig, showOverflow, highlightCurrentRow, highlightCurrentColumn } = props;
|
|
1332
1332
|
const { scrollXStore, scrollYStore } = internalData;
|
|
1333
|
+
const columnOpts = $xeTable.computeColumnOpts;
|
|
1333
1334
|
const editOpts = $xeTable.computeEditOpts;
|
|
1334
1335
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
1335
1336
|
const radioOpts = $xeTable.computeRadioOpts;
|
|
@@ -1340,6 +1341,10 @@ export default {
|
|
|
1340
1341
|
const mouseOpts = $xeTable.computeMouseOpts;
|
|
1341
1342
|
const exportOpts = $xeTable.computeExportOpts;
|
|
1342
1343
|
const importOpts = $xeTable.computeImportOpts;
|
|
1344
|
+
const currentRowOpts = $xeTable.computeCurrentRowOpts;
|
|
1345
|
+
const currentColumnOpts = $xeTable.computeCurrentColumnOpts;
|
|
1346
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts;
|
|
1347
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
1343
1348
|
if (props.rowId) {
|
|
1344
1349
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField']);
|
|
1345
1350
|
}
|
|
@@ -1449,29 +1454,49 @@ export default {
|
|
|
1449
1454
|
warnLog('vxe.error.errProp', [`table.context-menu=${this.contextMenu}`, 'table.context-menu={}']);
|
|
1450
1455
|
}
|
|
1451
1456
|
}
|
|
1452
|
-
if (
|
|
1453
|
-
warnLog('vxe.error.errProp', [`table.menu-config=${
|
|
1457
|
+
if (props.menuConfig && !XEUtils.isObject(props.menuConfig)) {
|
|
1458
|
+
warnLog('vxe.error.errProp', [`table.menu-config=${props.menuConfig}`, 'table.menu-config={}']);
|
|
1459
|
+
}
|
|
1460
|
+
if (props.exportConfig && !XEUtils.isObject(props.exportConfig)) {
|
|
1461
|
+
warnLog('vxe.error.errProp', [`table.export-config=${props.exportConfig}`, 'table.export-config={}']);
|
|
1462
|
+
}
|
|
1463
|
+
if (props.importConfig && !XEUtils.isObject(props.importConfig)) {
|
|
1464
|
+
warnLog('vxe.error.errProp', [`table.import-config=${props.importConfig}`, 'table.import-config={}']);
|
|
1465
|
+
}
|
|
1466
|
+
if (props.printConfig && !XEUtils.isObject(props.printConfig)) {
|
|
1467
|
+
warnLog('vxe.error.errProp', [`table.print-config=${props.printConfig}`, 'table.print-config={}']);
|
|
1454
1468
|
}
|
|
1455
|
-
if (
|
|
1456
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1469
|
+
if (props.treeConfig && !XEUtils.isObject(props.treeConfig)) {
|
|
1470
|
+
warnLog('vxe.error.errProp', [`table.tree-config=${props.treeConfig}`, 'table.tree-config={}']);
|
|
1457
1471
|
}
|
|
1458
|
-
if (
|
|
1459
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1472
|
+
if (props.customConfig && !XEUtils.isObject(props.customConfig)) {
|
|
1473
|
+
warnLog('vxe.error.errProp', [`table.custom-config=${props.customConfig}`, 'table.custom-config={}']);
|
|
1460
1474
|
}
|
|
1461
|
-
if (
|
|
1462
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1475
|
+
if (props.editConfig && !XEUtils.isObject(props.editConfig)) {
|
|
1476
|
+
warnLog('vxe.error.errProp', [`table.edit-config=${props.editConfig}`, 'table.edit-config={}']);
|
|
1463
1477
|
}
|
|
1464
|
-
if (
|
|
1465
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1478
|
+
if (props.emptyRender && !XEUtils.isObject(props.emptyRender)) {
|
|
1479
|
+
warnLog('vxe.error.errProp', [`table.empty-render=${props.emptyRender}`, 'table.empty-render={}']);
|
|
1466
1480
|
}
|
|
1467
|
-
if (
|
|
1468
|
-
warnLog('vxe.error.
|
|
1481
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
1482
|
+
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected']);
|
|
1469
1483
|
}
|
|
1470
|
-
if (
|
|
1471
|
-
warnLog('vxe.error.
|
|
1484
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
1485
|
+
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected']);
|
|
1472
1486
|
}
|
|
1473
|
-
|
|
1474
|
-
|
|
1487
|
+
// 如果不支持虚拟滚动
|
|
1488
|
+
if (props.spanMethod) {
|
|
1489
|
+
if (virtualXOpts.enabled) {
|
|
1490
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false']);
|
|
1491
|
+
}
|
|
1492
|
+
if (virtualYOpts.enabled) {
|
|
1493
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false']);
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
if (props.footerSpanMethod) {
|
|
1497
|
+
if (virtualXOpts.enabled) {
|
|
1498
|
+
warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false']);
|
|
1499
|
+
}
|
|
1475
1500
|
}
|
|
1476
1501
|
// 检查是否有安装需要的模块
|
|
1477
1502
|
if (props.editConfig && !$xeTable.insert) {
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.14.
|
|
2223
|
+
const version = "3.14.4";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2843,7 +2843,7 @@ function isNodeElement(elem) {
|
|
|
2843
2843
|
const {
|
|
2844
2844
|
log: log_log
|
|
2845
2845
|
} = core_.VxeUI;
|
|
2846
|
-
const log_version = `table v${"3.14.
|
|
2846
|
+
const log_version = `table v${"3.14.4"}`;
|
|
2847
2847
|
const warnLog = log_log.create('warn', log_version);
|
|
2848
2848
|
const errLog = log_log.create('error', log_version);
|
|
2849
2849
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -24652,28 +24652,47 @@ function handleMoveSelected($xeTable, evnt, args, isLeftArrow, isUpArrow, isRigh
|
|
|
24652
24652
|
highlightCurrentColumn
|
|
24653
24653
|
} = props;
|
|
24654
24654
|
const rowOpts = $xeTable.computeRowOpts;
|
|
24655
|
+
const currentRowOpts = $xeTable.computeCurrentRowOpts;
|
|
24655
24656
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
if (
|
|
24659
|
-
|
|
24657
|
+
const currentColumnOpts = $xeTable.computeCurrentColumnOpts;
|
|
24658
|
+
const params = handleMoveSelected($xeTable, evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow);
|
|
24659
|
+
if (rowOpts.isCurrent || highlightCurrentRow) {
|
|
24660
|
+
if (currentRowOpts.isFollowSelected) {
|
|
24661
|
+
$xeTable.triggerCurrentRowEvent(evnt, params);
|
|
24662
|
+
} else {
|
|
24663
|
+
// 当前行按键上下移动
|
|
24664
|
+
if ((isUpArrow || isDwArrow) && (rowOpts.isCurrent || highlightCurrentRow)) {
|
|
24665
|
+
$xeTable.moveCurrentRow(isUpArrow, isDwArrow, evnt);
|
|
24666
|
+
}
|
|
24667
|
+
}
|
|
24660
24668
|
}
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24669
|
+
if (columnOpts.isCurrent || highlightCurrentColumn) {
|
|
24670
|
+
if (currentColumnOpts.isFollowSelected) {
|
|
24671
|
+
$xeTable.triggerCurrentColumnEvent(evnt, params);
|
|
24672
|
+
} else {
|
|
24673
|
+
// 当前行按键左右移动
|
|
24674
|
+
if ((isLeftArrow || isRightArrow) && (columnOpts.isCurrent || highlightCurrentColumn)) {
|
|
24675
|
+
$xeTable.moveCurrentColumn(isLeftArrow, isRightArrow, evnt);
|
|
24676
|
+
}
|
|
24677
|
+
}
|
|
24664
24678
|
}
|
|
24665
24679
|
},
|
|
24666
24680
|
moveEnterSelected(args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
|
|
24667
24681
|
const $xeTable = this;
|
|
24682
|
+
const props = $xeTable;
|
|
24683
|
+
const {
|
|
24684
|
+
highlightCurrentRow,
|
|
24685
|
+
highlightCurrentColumn
|
|
24686
|
+
} = props;
|
|
24668
24687
|
const rowOpts = $xeTable.computeRowOpts;
|
|
24669
24688
|
const currentRowOpts = $xeTable.computeCurrentRowOpts;
|
|
24670
24689
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
24671
24690
|
const currentColumnOpts = $xeTable.computeCurrentColumnOpts;
|
|
24672
24691
|
const params = handleMoveSelected($xeTable, evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow);
|
|
24673
|
-
if (rowOpts.isCurrent && currentRowOpts.isFollowSelected) {
|
|
24692
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && currentRowOpts.isFollowSelected) {
|
|
24674
24693
|
$xeTable.triggerCurrentRowEvent(evnt, params);
|
|
24675
24694
|
}
|
|
24676
|
-
if (columnOpts.isCurrent && currentColumnOpts.isFollowSelected) {
|
|
24695
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && currentColumnOpts.isFollowSelected) {
|
|
24677
24696
|
$xeTable.triggerCurrentColumnEvent(evnt, params);
|
|
24678
24697
|
}
|
|
24679
24698
|
},
|
|
@@ -27245,12 +27264,15 @@ function renderBody(h, $xeTable) {
|
|
|
27245
27264
|
exportConfig,
|
|
27246
27265
|
importConfig,
|
|
27247
27266
|
treeConfig,
|
|
27248
|
-
showOverflow
|
|
27267
|
+
showOverflow,
|
|
27268
|
+
highlightCurrentRow,
|
|
27269
|
+
highlightCurrentColumn
|
|
27249
27270
|
} = props;
|
|
27250
27271
|
const {
|
|
27251
27272
|
scrollXStore,
|
|
27252
27273
|
scrollYStore
|
|
27253
27274
|
} = internalData;
|
|
27275
|
+
const columnOpts = $xeTable.computeColumnOpts;
|
|
27254
27276
|
const editOpts = $xeTable.computeEditOpts;
|
|
27255
27277
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
27256
27278
|
const radioOpts = $xeTable.computeRadioOpts;
|
|
@@ -27261,6 +27283,10 @@ function renderBody(h, $xeTable) {
|
|
|
27261
27283
|
const mouseOpts = $xeTable.computeMouseOpts;
|
|
27262
27284
|
const exportOpts = $xeTable.computeExportOpts;
|
|
27263
27285
|
const importOpts = $xeTable.computeImportOpts;
|
|
27286
|
+
const currentRowOpts = $xeTable.computeCurrentRowOpts;
|
|
27287
|
+
const currentColumnOpts = $xeTable.computeCurrentColumnOpts;
|
|
27288
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts;
|
|
27289
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
27264
27290
|
if (props.rowId) {
|
|
27265
27291
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField']);
|
|
27266
27292
|
}
|
|
@@ -27370,29 +27396,49 @@ function renderBody(h, $xeTable) {
|
|
|
27370
27396
|
warnLog('vxe.error.errProp', [`table.context-menu=${this.contextMenu}`, 'table.context-menu={}']);
|
|
27371
27397
|
}
|
|
27372
27398
|
}
|
|
27373
|
-
if (
|
|
27374
|
-
warnLog('vxe.error.errProp', [`table.menu-config=${
|
|
27399
|
+
if (props.menuConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.menuConfig)) {
|
|
27400
|
+
warnLog('vxe.error.errProp', [`table.menu-config=${props.menuConfig}`, 'table.menu-config={}']);
|
|
27401
|
+
}
|
|
27402
|
+
if (props.exportConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.exportConfig)) {
|
|
27403
|
+
warnLog('vxe.error.errProp', [`table.export-config=${props.exportConfig}`, 'table.export-config={}']);
|
|
27404
|
+
}
|
|
27405
|
+
if (props.importConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.importConfig)) {
|
|
27406
|
+
warnLog('vxe.error.errProp', [`table.import-config=${props.importConfig}`, 'table.import-config={}']);
|
|
27375
27407
|
}
|
|
27376
|
-
if (
|
|
27377
|
-
warnLog('vxe.error.errProp', [`table.
|
|
27408
|
+
if (props.printConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.printConfig)) {
|
|
27409
|
+
warnLog('vxe.error.errProp', [`table.print-config=${props.printConfig}`, 'table.print-config={}']);
|
|
27378
27410
|
}
|
|
27379
|
-
if (
|
|
27380
|
-
warnLog('vxe.error.errProp', [`table.
|
|
27411
|
+
if (props.treeConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.treeConfig)) {
|
|
27412
|
+
warnLog('vxe.error.errProp', [`table.tree-config=${props.treeConfig}`, 'table.tree-config={}']);
|
|
27381
27413
|
}
|
|
27382
|
-
if (
|
|
27383
|
-
warnLog('vxe.error.errProp', [`table.
|
|
27414
|
+
if (props.customConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.customConfig)) {
|
|
27415
|
+
warnLog('vxe.error.errProp', [`table.custom-config=${props.customConfig}`, 'table.custom-config={}']);
|
|
27384
27416
|
}
|
|
27385
|
-
if (
|
|
27386
|
-
warnLog('vxe.error.errProp', [`table.
|
|
27417
|
+
if (props.editConfig && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.editConfig)) {
|
|
27418
|
+
warnLog('vxe.error.errProp', [`table.edit-config=${props.editConfig}`, 'table.edit-config={}']);
|
|
27387
27419
|
}
|
|
27388
|
-
if (
|
|
27389
|
-
warnLog('vxe.error.errProp', [`table.
|
|
27420
|
+
if (props.emptyRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(props.emptyRender)) {
|
|
27421
|
+
warnLog('vxe.error.errProp', [`table.empty-render=${props.emptyRender}`, 'table.empty-render={}']);
|
|
27390
27422
|
}
|
|
27391
|
-
if (
|
|
27392
|
-
warnLog('vxe.error.
|
|
27423
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(currentRowOpts.isFollowSelected)) {
|
|
27424
|
+
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected']);
|
|
27393
27425
|
}
|
|
27394
|
-
if (
|
|
27395
|
-
warnLog('vxe.error.
|
|
27426
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
27427
|
+
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected']);
|
|
27428
|
+
}
|
|
27429
|
+
// 如果不支持虚拟滚动
|
|
27430
|
+
if (props.spanMethod) {
|
|
27431
|
+
if (virtualXOpts.enabled) {
|
|
27432
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false']);
|
|
27433
|
+
}
|
|
27434
|
+
if (virtualYOpts.enabled) {
|
|
27435
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false']);
|
|
27436
|
+
}
|
|
27437
|
+
}
|
|
27438
|
+
if (props.footerSpanMethod) {
|
|
27439
|
+
if (virtualXOpts.enabled) {
|
|
27440
|
+
warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false']);
|
|
27441
|
+
}
|
|
27396
27442
|
}
|
|
27397
27443
|
// 检查是否有安装需要的模块
|
|
27398
27444
|
if (props.editConfig && !$xeTable.insert) {
|
|
@@ -31523,6 +31569,7 @@ const Toolbar = VxeToolbar;
|
|
|
31523
31569
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
31524
31570
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
31525
31571
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
31572
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
31526
31573
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
31527
31574
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
31528
31575
|
barUnableLink: '工具栏无法关联表格',
|