vxe-table 3.19.27 → 3.19.29
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 +16 -11
- package/es/locale/lang/de-DE.js +16 -11
- package/es/locale/lang/en-US.js +19 -14
- package/es/locale/lang/es-ES.js +16 -11
- package/es/locale/lang/fr-FR.js +16 -11
- package/es/locale/lang/hu-HU.js +16 -11
- package/es/locale/lang/hy-AM.js +16 -11
- package/es/locale/lang/id-ID.js +16 -11
- package/es/locale/lang/it-IT.js +16 -11
- package/es/locale/lang/ja-JP.js +16 -11
- package/es/locale/lang/ko-KR.js +16 -11
- package/es/locale/lang/ms-MY.js +16 -11
- package/es/locale/lang/nb-NO.js +16 -11
- package/es/locale/lang/pt-BR.js +16 -11
- package/es/locale/lang/ru-RU.js +16 -11
- package/es/locale/lang/th-TH.js +16 -11
- package/es/locale/lang/ug-CN.js +16 -11
- package/es/locale/lang/uk-UA.js +16 -11
- package/es/locale/lang/uz-UZ.js +16 -11
- package/es/locale/lang/vi-VN.js +16 -11
- package/es/locale/lang/zh-CHT.js +16 -11
- package/es/locale/lang/zh-CN.js +15 -12
- package/es/style.css +1 -1
- package/es/table/src/methods.js +230 -188
- package/es/table/src/table.js +14 -4
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +71 -55
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +16 -11
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +16 -11
- package/lib/locale/lang/de-DE.js +16 -11
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +16 -11
- package/lib/locale/lang/en-US.js +19 -14
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +19 -14
- package/lib/locale/lang/es-ES.js +16 -11
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +16 -11
- package/lib/locale/lang/fr-FR.js +16 -11
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +16 -11
- package/lib/locale/lang/hu-HU.js +16 -11
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +16 -11
- package/lib/locale/lang/hy-AM.js +16 -11
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +16 -11
- package/lib/locale/lang/id-ID.js +16 -11
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +16 -11
- package/lib/locale/lang/it-IT.js +16 -11
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +16 -11
- package/lib/locale/lang/ja-JP.js +16 -11
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +16 -11
- package/lib/locale/lang/ko-KR.js +16 -11
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +16 -11
- package/lib/locale/lang/ms-MY.js +16 -11
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +16 -11
- package/lib/locale/lang/nb-NO.js +16 -11
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +16 -11
- package/lib/locale/lang/pt-BR.js +16 -11
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +16 -11
- package/lib/locale/lang/ru-RU.js +16 -11
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +16 -11
- package/lib/locale/lang/th-TH.js +16 -11
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +16 -11
- package/lib/locale/lang/ug-CN.js +16 -11
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +16 -11
- package/lib/locale/lang/uk-UA.js +16 -11
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +16 -11
- package/lib/locale/lang/uz-UZ.js +16 -11
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +16 -11
- package/lib/locale/lang/vi-VN.js +16 -11
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +16 -11
- package/lib/locale/lang/zh-CHT.js +16 -11
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +16 -11
- package/lib/locale/lang/zh-CN.js +15 -12
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +15 -12
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +234 -190
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +19 -7
- 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/locale/lang/ar-EG.ts +16 -11
- package/packages/locale/lang/de-DE.ts +16 -11
- package/packages/locale/lang/en-US.ts +19 -14
- package/packages/locale/lang/es-ES.ts +16 -11
- package/packages/locale/lang/fr-FR.ts +16 -11
- package/packages/locale/lang/hu-HU.ts +16 -11
- package/packages/locale/lang/hy-AM.ts +16 -11
- package/packages/locale/lang/id-ID.ts +16 -11
- package/packages/locale/lang/it-IT.ts +16 -11
- package/packages/locale/lang/ja-JP.ts +16 -11
- package/packages/locale/lang/ko-KR.ts +16 -11
- package/packages/locale/lang/ms-MY.ts +16 -11
- package/packages/locale/lang/nb-NO.ts +16 -11
- package/packages/locale/lang/pt-BR.ts +16 -11
- package/packages/locale/lang/ru-RU.ts +16 -11
- package/packages/locale/lang/th-TH.ts +16 -11
- package/packages/locale/lang/ug-CN.ts +16 -11
- package/packages/locale/lang/uk-UA.ts +16 -11
- package/packages/locale/lang/uz-UZ.ts +16 -11
- package/packages/locale/lang/vi-VN.ts +16 -11
- package/packages/locale/lang/zh-CHT.ts +16 -11
- package/packages/locale/lang/zh-CN.ts +15 -12
- package/packages/table/src/cell.ts +3 -3
- package/packages/table/src/methods.ts +235 -191
- package/packages/table/src/table.ts +15 -4
- /package/es/{iconfont.1765156950513.ttf → iconfont.1765538900604.ttf} +0 -0
- /package/es/{iconfont.1765156950513.woff → iconfont.1765538900604.woff} +0 -0
- /package/es/{iconfont.1765156950513.woff2 → iconfont.1765538900604.woff2} +0 -0
- /package/es/{table → ui}/src/anime.js +0 -0
- /package/lib/{iconfont.1765156950513.ttf → iconfont.1765538900604.ttf} +0 -0
- /package/lib/{iconfont.1765156950513.woff → iconfont.1765538900604.woff} +0 -0
- /package/lib/{iconfont.1765156950513.woff2 → iconfont.1765538900604.woff2} +0 -0
- /package/lib/{table → ui}/src/anime.js +0 -0
- /package/lib/{table → ui}/src/anime.min.js +0 -0
- /package/packages/{table → ui}/src/anime.ts +0 -0
|
@@ -1504,8 +1504,16 @@ export default {
|
|
|
1504
1504
|
/**
|
|
1505
1505
|
* 判断列全选的复选框是否禁用
|
|
1506
1506
|
*/
|
|
1507
|
-
|
|
1508
|
-
const
|
|
1507
|
+
computeIsAllCheckboxDisabled () {
|
|
1508
|
+
const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
|
|
1509
|
+
const props = $xeTable
|
|
1510
|
+
const reactData = $xeTable as unknown as TableReactData
|
|
1511
|
+
const internalData = $xeTable as unknown as TableInternalData
|
|
1512
|
+
|
|
1513
|
+
const { treeConfig } = props
|
|
1514
|
+
const { tableData } = reactData
|
|
1515
|
+
const { tableFullData } = internalData
|
|
1516
|
+
const checkboxOpts = $xeTable.computeCheckboxOpts
|
|
1509
1517
|
const { strict, checkMethod } = checkboxOpts
|
|
1510
1518
|
if (strict) {
|
|
1511
1519
|
if (tableData.length || tableFullData.length) {
|
|
@@ -1514,7 +1522,7 @@ export default {
|
|
|
1514
1522
|
// 暂时不支持树形结构
|
|
1515
1523
|
}
|
|
1516
1524
|
// 如果所有行都被禁用
|
|
1517
|
-
return tableFullData.every((row
|
|
1525
|
+
return tableFullData.every((row) => !checkMethod({ $table: $xeTable, row }))
|
|
1518
1526
|
}
|
|
1519
1527
|
return false
|
|
1520
1528
|
}
|
|
@@ -1522,6 +1530,9 @@ export default {
|
|
|
1522
1530
|
}
|
|
1523
1531
|
return false
|
|
1524
1532
|
},
|
|
1533
|
+
isAllCheckboxDisabled () {
|
|
1534
|
+
return this.computeIsAllCheckboxDisabled
|
|
1535
|
+
},
|
|
1525
1536
|
computeVirtualScrollBars () {
|
|
1526
1537
|
const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
|
|
1527
1538
|
const reactData = $xeTable as unknown as TableReactData
|
|
@@ -1590,7 +1601,7 @@ export default {
|
|
|
1590
1601
|
if (value && value.length >= 20000) {
|
|
1591
1602
|
warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)'])
|
|
1592
1603
|
}
|
|
1593
|
-
this.loadTableData(value || [], true).then(() => {
|
|
1604
|
+
this.loadTableData(value || [], true, true).then(() => {
|
|
1594
1605
|
const { scrollXLoad, scrollYLoad, expandColumn } = reactData
|
|
1595
1606
|
const expandOpts = $xeTable.computeExpandOpts
|
|
1596
1607
|
this.inited = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|