vxe-table 3.14.3 → 3.14.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 +4 -1
- package/es/locale/lang/de-DE.js +4 -1
- package/es/locale/lang/en-US.js +8 -5
- package/es/locale/lang/es-ES.js +4 -1
- package/es/locale/lang/fr-FR.js +4 -1
- package/es/locale/lang/hu-HU.js +4 -1
- package/es/locale/lang/hy-AM.js +4 -1
- package/es/locale/lang/id-ID.js +4 -1
- package/es/locale/lang/it-IT.js +4 -1
- package/es/locale/lang/ja-JP.js +4 -1
- package/es/locale/lang/ko-KR.js +4 -1
- package/es/locale/lang/nb-NO.js +4 -1
- package/es/locale/lang/pt-BR.js +4 -1
- package/es/locale/lang/ru-RU.js +4 -1
- package/es/locale/lang/th-TH.js +4 -1
- package/es/locale/lang/ug-CN.js +4 -1
- package/es/locale/lang/uk-UA.js +4 -1
- package/es/locale/lang/vi-VN.js +4 -1
- package/es/locale/lang/zh-CHT.js +4 -1
- package/es/locale/lang/zh-CN.js +4 -1
- package/es/style.css +1 -1
- package/es/table/module/export/export-panel.js +32 -17
- package/es/table/module/export/mixin.js +3 -1
- package/es/table/module/keyboard/mixin.js +27 -9
- package/es/table/src/methods.js +44 -42
- package/es/table/src/table.js +50 -17
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +165 -90
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +4 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +4 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +8 -5
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +8 -5
- package/lib/locale/lang/es-ES.js +4 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +4 -1
- package/lib/locale/lang/fr-FR.js +4 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +4 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +4 -1
- package/lib/locale/lang/hy-AM.js +4 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/id-ID.js +4 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +4 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +4 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +4 -1
- package/lib/locale/lang/ko-KR.js +4 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +4 -1
- package/lib/locale/lang/nb-NO.js +4 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +4 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +4 -1
- package/lib/locale/lang/ru-RU.js +4 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +4 -1
- package/lib/locale/lang/th-TH.js +4 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/ug-CN.js +4 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +4 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +4 -1
- package/lib/locale/lang/vi-VN.js +4 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +4 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +4 -1
- package/lib/locale/lang/zh-CN.js +4 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +4 -1
- package/lib/style.css +1 -1
- package/lib/table/module/export/export-panel.js +29 -17
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/mixin.js +3 -1
- package/lib/table/module/export/mixin.min.js +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/methods.js +47 -43
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +52 -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 +4 -1
- package/packages/locale/lang/de-DE.ts +4 -1
- package/packages/locale/lang/en-US.ts +8 -5
- package/packages/locale/lang/es-ES.ts +4 -1
- package/packages/locale/lang/fr-FR.ts +4 -1
- package/packages/locale/lang/hu-HU.ts +4 -1
- package/packages/locale/lang/hy-AM.ts +4 -1
- package/packages/locale/lang/id-ID.ts +4 -1
- package/packages/locale/lang/it-IT.ts +4 -1
- package/packages/locale/lang/ja-JP.ts +4 -1
- package/packages/locale/lang/ko-KR.ts +4 -1
- package/packages/locale/lang/nb-NO.ts +4 -1
- package/packages/locale/lang/pt-BR.ts +4 -1
- package/packages/locale/lang/ru-RU.ts +4 -1
- package/packages/locale/lang/th-TH.ts +4 -1
- package/packages/locale/lang/ug-CN.ts +4 -1
- package/packages/locale/lang/uk-UA.ts +4 -1
- package/packages/locale/lang/vi-VN.ts +4 -1
- package/packages/locale/lang/zh-CHT.ts +4 -1
- package/packages/locale/lang/zh-CN.ts +4 -1
- package/packages/table/module/export/export-panel.ts +33 -17
- package/packages/table/module/export/mixin.ts +3 -1
- package/packages/table/module/keyboard/mixin.ts +25 -9
- package/packages/table/src/methods.ts +43 -41
- package/packages/table/src/table.ts +52 -17
- /package/es/{iconfont.1743389110592.ttf → iconfont.1743479120369.ttf} +0 -0
- /package/es/{iconfont.1743389110592.woff → iconfont.1743479120369.woff} +0 -0
- /package/es/{iconfont.1743389110592.woff2 → iconfont.1743479120369.woff2} +0 -0
- /package/lib/{iconfont.1743389110592.ttf → iconfont.1743479120369.ttf} +0 -0
- /package/lib/{iconfont.1743389110592.woff → iconfont.1743479120369.woff} +0 -0
- /package/lib/{iconfont.1743389110592.woff2 → iconfont.1743479120369.woff2} +0 -0
|
@@ -625,6 +625,7 @@ export default {
|
|
|
625
625
|
original: false,
|
|
626
626
|
message: true,
|
|
627
627
|
isHeader: false,
|
|
628
|
+
isTitle: false,
|
|
628
629
|
isFooter: false
|
|
629
630
|
},
|
|
630
631
|
|
|
@@ -1415,8 +1416,9 @@ export default {
|
|
|
1415
1416
|
swYTotal: 0
|
|
1416
1417
|
})
|
|
1417
1418
|
|
|
1418
|
-
const { data, exportConfig, importConfig, treeConfig, showOverflow } = props
|
|
1419
|
+
const { data, exportConfig, importConfig, treeConfig, showOverflow, highlightCurrentRow, highlightCurrentColumn } = props
|
|
1419
1420
|
const { scrollXStore, scrollYStore } = internalData
|
|
1421
|
+
const columnOpts = $xeTable.computeColumnOpts
|
|
1420
1422
|
const editOpts = $xeTable.computeEditOpts
|
|
1421
1423
|
const treeOpts = $xeTable.computeTreeOpts
|
|
1422
1424
|
const radioOpts = $xeTable.computeRadioOpts
|
|
@@ -1427,6 +1429,11 @@ export default {
|
|
|
1427
1429
|
const mouseOpts = $xeTable.computeMouseOpts
|
|
1428
1430
|
const exportOpts = $xeTable.computeExportOpts
|
|
1429
1431
|
const importOpts = $xeTable.computeImportOpts
|
|
1432
|
+
const currentRowOpts = $xeTable.computeCurrentRowOpts
|
|
1433
|
+
const currentColumnOpts = $xeTable.computeCurrentColumnOpts
|
|
1434
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts
|
|
1435
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts
|
|
1436
|
+
const keyboardOpts = $xeTable.computeKeyboardOpts
|
|
1430
1437
|
|
|
1431
1438
|
if (props.rowId) {
|
|
1432
1439
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField'])
|
|
@@ -1470,6 +1477,12 @@ export default {
|
|
|
1470
1477
|
if (this.highlightHoverColumn) {
|
|
1471
1478
|
warnLog('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover'])
|
|
1472
1479
|
}
|
|
1480
|
+
// if (props.scrollY) {
|
|
1481
|
+
// warnLog('vxe.error.delProp', ['scroll-y', 'virtual-y-config'])
|
|
1482
|
+
// }
|
|
1483
|
+
// if (props.scrollX) {
|
|
1484
|
+
// warnLog('vxe.error.delProp', ['scroll-x', 'virtual-x-config'])
|
|
1485
|
+
// }
|
|
1473
1486
|
// 检查导入导出类型,如果自定义导入导出方法,则不校验类型
|
|
1474
1487
|
if (importConfig && importOpts.types && !importOpts.importMethod && !XEUtils.includeArrays(XEUtils.keys(importOpts._typeMaps), importOpts.types)) {
|
|
1475
1488
|
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(',')])
|
|
@@ -1539,29 +1552,51 @@ export default {
|
|
|
1539
1552
|
warnLog('vxe.error.errProp', [`table.context-menu=${this.contextMenu}`, 'table.context-menu={}'])
|
|
1540
1553
|
}
|
|
1541
1554
|
}
|
|
1542
|
-
if (
|
|
1543
|
-
warnLog('vxe.error.errProp', [`table.menu-config=${
|
|
1555
|
+
if (props.menuConfig && !XEUtils.isObject(props.menuConfig)) {
|
|
1556
|
+
warnLog('vxe.error.errProp', [`table.menu-config=${props.menuConfig}`, 'table.menu-config={}'])
|
|
1557
|
+
}
|
|
1558
|
+
if (props.exportConfig && !XEUtils.isObject(props.exportConfig)) {
|
|
1559
|
+
warnLog('vxe.error.errProp', [`table.export-config=${props.exportConfig}`, 'table.export-config={}'])
|
|
1560
|
+
}
|
|
1561
|
+
if (props.importConfig && !XEUtils.isObject(props.importConfig)) {
|
|
1562
|
+
warnLog('vxe.error.errProp', [`table.import-config=${props.importConfig}`, 'table.import-config={}'])
|
|
1563
|
+
}
|
|
1564
|
+
if (props.printConfig && !XEUtils.isObject(props.printConfig)) {
|
|
1565
|
+
warnLog('vxe.error.errProp', [`table.print-config=${props.printConfig}`, 'table.print-config={}'])
|
|
1566
|
+
}
|
|
1567
|
+
if (props.treeConfig && !XEUtils.isObject(props.treeConfig)) {
|
|
1568
|
+
warnLog('vxe.error.errProp', [`table.tree-config=${props.treeConfig}`, 'table.tree-config={}'])
|
|
1544
1569
|
}
|
|
1545
|
-
if (
|
|
1546
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1570
|
+
if (props.customConfig && !XEUtils.isObject(props.customConfig)) {
|
|
1571
|
+
warnLog('vxe.error.errProp', [`table.custom-config=${props.customConfig}`, 'table.custom-config={}'])
|
|
1547
1572
|
}
|
|
1548
|
-
if (
|
|
1549
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1573
|
+
if (props.editConfig && !XEUtils.isObject(props.editConfig)) {
|
|
1574
|
+
warnLog('vxe.error.errProp', [`table.edit-config=${props.editConfig}`, 'table.edit-config={}'])
|
|
1550
1575
|
}
|
|
1551
|
-
if (
|
|
1552
|
-
warnLog('vxe.error.errProp', [`table.
|
|
1576
|
+
if (props.emptyRender && !XEUtils.isObject(props.emptyRender)) {
|
|
1577
|
+
warnLog('vxe.error.errProp', [`table.empty-render=${props.emptyRender}`, 'table.empty-render={}'])
|
|
1553
1578
|
}
|
|
1554
|
-
|
|
1555
|
-
|
|
1579
|
+
|
|
1580
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && props.keyboardConfig && keyboardOpts.isArrow && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
1581
|
+
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected'])
|
|
1556
1582
|
}
|
|
1557
|
-
if (
|
|
1558
|
-
warnLog('vxe.error.
|
|
1583
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && props.keyboardConfig && keyboardOpts.isArrow && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
1584
|
+
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected'])
|
|
1559
1585
|
}
|
|
1560
|
-
|
|
1561
|
-
|
|
1586
|
+
|
|
1587
|
+
// 如果不支持虚拟滚动
|
|
1588
|
+
if (props.spanMethod) {
|
|
1589
|
+
if (virtualXOpts.enabled) {
|
|
1590
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false'])
|
|
1591
|
+
}
|
|
1592
|
+
if (virtualYOpts.enabled) {
|
|
1593
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false'])
|
|
1594
|
+
}
|
|
1562
1595
|
}
|
|
1563
|
-
if (
|
|
1564
|
-
|
|
1596
|
+
if (props.footerSpanMethod) {
|
|
1597
|
+
if (virtualXOpts.enabled) {
|
|
1598
|
+
warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false'])
|
|
1599
|
+
}
|
|
1565
1600
|
}
|
|
1566
1601
|
|
|
1567
1602
|
// 检查是否有安装需要的模块
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|