vxe-table 4.14.2 → 4.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/grid/src/grid.js +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +19 -1
- package/es/locale/lang/de-DE.js +19 -1
- package/es/locale/lang/en-US.js +20 -2
- package/es/locale/lang/es-ES.js +19 -1
- package/es/locale/lang/fr-FR.js +19 -1
- package/es/locale/lang/hu-HU.js +19 -1
- package/es/locale/lang/hy-AM.js +18 -0
- package/es/locale/lang/id-ID.js +19 -1
- package/es/locale/lang/it-IT.js +19 -1
- package/es/locale/lang/ja-JP.js +19 -1
- package/es/locale/lang/ko-KR.js +19 -1
- package/es/locale/lang/ms-MY.js +19 -1
- package/es/locale/lang/nb-NO.js +19 -1
- package/es/locale/lang/pt-BR.js +19 -1
- package/es/locale/lang/ru-RU.js +19 -1
- package/es/locale/lang/th-TH.js +19 -1
- package/es/locale/lang/ug-CN.js +19 -1
- package/es/locale/lang/uk-UA.js +19 -1
- package/es/locale/lang/uz-UZ.js +19 -1
- package/es/locale/lang/vi-VN.js +19 -1
- package/es/locale/lang/zh-CHT.js +19 -1
- package/es/locale/lang/zh-CN.js +18 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/filter/panel.js +5 -1
- package/es/table/src/table.js +14 -4
- package/es/table/style.css +1 -0
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -0
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +32 -10
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +19 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +19 -1
- package/lib/locale/lang/de-DE.js +19 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +19 -1
- package/lib/locale/lang/en-US.js +20 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +20 -2
- package/lib/locale/lang/es-ES.js +19 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +19 -1
- package/lib/locale/lang/fr-FR.js +19 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +19 -1
- package/lib/locale/lang/hu-HU.js +19 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +19 -1
- package/lib/locale/lang/hy-AM.js +18 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +18 -0
- package/lib/locale/lang/id-ID.js +19 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +19 -1
- package/lib/locale/lang/it-IT.js +19 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +19 -1
- package/lib/locale/lang/ja-JP.js +19 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +19 -1
- package/lib/locale/lang/ko-KR.js +19 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +19 -1
- package/lib/locale/lang/ms-MY.js +19 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +19 -1
- package/lib/locale/lang/nb-NO.js +19 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +19 -1
- package/lib/locale/lang/pt-BR.js +19 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +19 -1
- package/lib/locale/lang/ru-RU.js +19 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +19 -1
- package/lib/locale/lang/th-TH.js +19 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +19 -1
- package/lib/locale/lang/ug-CN.js +19 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +19 -1
- package/lib/locale/lang/uk-UA.js +19 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +19 -1
- package/lib/locale/lang/uz-UZ.js +19 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +19 -1
- package/lib/locale/lang/vi-VN.js +19 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +19 -1
- package/lib/locale/lang/zh-CHT.js +19 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +19 -1
- package/lib/locale/lang/zh-CN.js +18 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +18 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/filter/panel.js +5 -1
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/src/table.js +5 -5
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -0
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +2 -2
- 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/lib/vxe-table/style/style.css +1 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +4 -4
- package/packages/locale/lang/ar-EG.ts +19 -1
- package/packages/locale/lang/de-DE.ts +19 -1
- package/packages/locale/lang/en-US.ts +20 -2
- package/packages/locale/lang/es-ES.ts +19 -1
- package/packages/locale/lang/fr-FR.ts +19 -1
- package/packages/locale/lang/hu-HU.ts +19 -1
- package/packages/locale/lang/hy-AM.ts +18 -0
- package/packages/locale/lang/id-ID.ts +19 -1
- package/packages/locale/lang/it-IT.ts +19 -1
- package/packages/locale/lang/ja-JP.ts +19 -1
- package/packages/locale/lang/ko-KR.ts +19 -1
- package/packages/locale/lang/ms-MY.ts +19 -1
- package/packages/locale/lang/nb-NO.ts +19 -1
- package/packages/locale/lang/pt-BR.ts +19 -1
- package/packages/locale/lang/ru-RU.ts +19 -1
- package/packages/locale/lang/th-TH.ts +19 -1
- package/packages/locale/lang/ug-CN.ts +19 -1
- package/packages/locale/lang/uk-UA.ts +19 -1
- package/packages/locale/lang/uz-UZ.ts +19 -1
- package/packages/locale/lang/vi-VN.ts +19 -1
- package/packages/locale/lang/zh-CHT.ts +19 -1
- package/packages/locale/lang/zh-CN.ts +18 -0
- package/packages/table/module/custom/panel.ts +6 -6
- package/packages/table/module/export/export-panel.ts +5 -6
- package/packages/table/module/export/import-panel.ts +3 -4
- package/packages/table/module/filter/panel.ts +5 -1
- package/packages/table/src/table.ts +16 -7
- package/packages/toolbar/src/toolbar.ts +4 -4
- package/packages/ui/index.ts +1 -1
- package/styles/components/table.scss +1 -0
- /package/es/{iconfont.1752196480453.ttf → iconfont.1752646222537.ttf} +0 -0
- /package/es/{iconfont.1752196480453.woff → iconfont.1752646222537.woff} +0 -0
- /package/es/{iconfont.1752196480453.woff2 → iconfont.1752646222537.woff2} +0 -0
- /package/lib/{iconfont.1752196480453.ttf → iconfont.1752646222537.ttf} +0 -0
- /package/lib/{iconfont.1752196480453.woff → iconfont.1752646222537.woff} +0 -0
- /package/lib/{iconfont.1752196480453.woff2 → iconfont.1752646222537.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -6096,15 +6096,17 @@ export default defineVxeComponent({
|
|
|
6096
6096
|
* 手动清空展开行状态,数据会恢复成未展开的状态
|
|
6097
6097
|
*/
|
|
6098
6098
|
clearRowExpand() {
|
|
6099
|
-
const { tableFullData } = internalData;
|
|
6099
|
+
const { tableFullData, scrollYStore } = internalData;
|
|
6100
6100
|
const expandOpts = computeExpandOpts.value;
|
|
6101
6101
|
const { reserve } = expandOpts;
|
|
6102
6102
|
const expList = $xeTable.getRowExpandRecords();
|
|
6103
6103
|
internalData.rowExpandedMaps = {};
|
|
6104
|
-
reactData.rowExpandedFlag++;
|
|
6105
6104
|
if (reserve) {
|
|
6106
6105
|
tableFullData.forEach((row) => handleRowExpandReserve(row, false));
|
|
6107
6106
|
}
|
|
6107
|
+
reactData.rowExpandedFlag++;
|
|
6108
|
+
scrollYStore.startIndex = 0;
|
|
6109
|
+
scrollYStore.endIndex = 1;
|
|
6108
6110
|
return nextTick().then(() => {
|
|
6109
6111
|
if (expList.length) {
|
|
6110
6112
|
return handleLazyRecalculate(true, true, true);
|
|
@@ -8284,7 +8286,7 @@ export default defineVxeComponent({
|
|
|
8284
8286
|
const treeOpts = computeTreeOpts.value;
|
|
8285
8287
|
const childrenField = treeOpts.children || treeOpts.childrenField;
|
|
8286
8288
|
const checkboxOpts = computeCheckboxOpts.value;
|
|
8287
|
-
const { checkField, checkStrictly, checkMethod } = checkboxOpts;
|
|
8289
|
+
const { checkField, indeterminateField, checkStrictly, checkMethod } = checkboxOpts;
|
|
8288
8290
|
if (checkStrictly) {
|
|
8289
8291
|
return;
|
|
8290
8292
|
}
|
|
@@ -8316,6 +8318,11 @@ export default defineVxeComponent({
|
|
|
8316
8318
|
childRowMaps[rowid] = 1;
|
|
8317
8319
|
childRowList.unshift([row, rowid, childList]);
|
|
8318
8320
|
}
|
|
8321
|
+
else {
|
|
8322
|
+
if (indeterminateField) {
|
|
8323
|
+
XEUtils.set(row, indeterminateField, false);
|
|
8324
|
+
}
|
|
8325
|
+
}
|
|
8319
8326
|
}, { children: transform ? mapChildrenField : childrenField });
|
|
8320
8327
|
}
|
|
8321
8328
|
childRowList.forEach(vals => {
|
|
@@ -8325,7 +8332,7 @@ export default defineVxeComponent({
|
|
|
8325
8332
|
let sLen = 0; // 已选
|
|
8326
8333
|
let hLen = 0; // 半选
|
|
8327
8334
|
let vLen = 0; // 有效子行
|
|
8328
|
-
const cLen = childList.length; //
|
|
8335
|
+
const cLen = childList.length; // 子行
|
|
8329
8336
|
childList.forEach(checkMethod
|
|
8330
8337
|
? (item) => {
|
|
8331
8338
|
const childRowid = handleGetRowId(item);
|
|
@@ -8385,6 +8392,9 @@ export default defineVxeComponent({
|
|
|
8385
8392
|
if (checkField) {
|
|
8386
8393
|
XEUtils.set(row, checkField, isSelected);
|
|
8387
8394
|
}
|
|
8395
|
+
if (indeterminateField) {
|
|
8396
|
+
XEUtils.set(row, indeterminateField, halfSelect);
|
|
8397
|
+
}
|
|
8388
8398
|
if (isSelected) {
|
|
8389
8399
|
if (!checkField) {
|
|
8390
8400
|
selectCheckboxMaps[rowid] = row;
|
package/es/table/style.css
CHANGED