vxe-table 3.11.33 → 3.11.35
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +3 -0
- package/es/locale/lang/de-DE.js +3 -0
- package/es/locale/lang/en-US.js +3 -0
- package/es/locale/lang/es-ES.js +3 -0
- package/es/locale/lang/fr-FR.js +3 -0
- package/es/locale/lang/hu-HU.js +3 -0
- package/es/locale/lang/hy-AM.js +3 -0
- package/es/locale/lang/ja-JP.js +3 -0
- package/es/locale/lang/ko-KR.js +3 -0
- package/es/locale/lang/nb-NO.js +3 -0
- package/es/locale/lang/pt-BR.js +3 -0
- package/es/locale/lang/ru-RU.js +3 -0
- package/es/locale/lang/ug-CN.js +3 -0
- package/es/locale/lang/uk-UA.js +3 -0
- package/es/locale/lang/vi-VN.js +3 -0
- package/es/locale/lang/zh-CHT.js +3 -0
- package/es/locale/lang/zh-CN.js +3 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/export/mixin.js +23 -10
- package/es/table/module/filter/panel.js +10 -7
- package/es/table/render/index.js +18 -7
- package/es/table/src/body.js +2 -0
- package/es/table/src/footer.js +2 -0
- package/es/table/src/header.js +2 -0
- package/es/table/src/methods.js +16 -9
- package/es/table/style.css +73 -27
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +73 -27
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +87 -37
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +3 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +3 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +3 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +3 -0
- package/lib/locale/lang/es-ES.js +3 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +3 -0
- package/lib/locale/lang/fr-FR.js +3 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +3 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +3 -0
- package/lib/locale/lang/hy-AM.js +3 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +3 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +3 -0
- package/lib/locale/lang/ko-KR.js +3 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +3 -0
- package/lib/locale/lang/nb-NO.js +3 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +3 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +3 -0
- package/lib/locale/lang/ru-RU.js +3 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +3 -0
- package/lib/locale/lang/ug-CN.js +3 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +3 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +3 -0
- package/lib/locale/lang/vi-VN.js +3 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +3 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +3 -0
- package/lib/locale/lang/zh-CN.js +3 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +3 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/mixin.js +26 -13
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/module/filter/panel.js +12 -6
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/render/index.js +21 -7
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/body.js +2 -0
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +2 -0
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +2 -0
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +16 -10
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +73 -27
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +2 -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/lib/vxe-table/style/style.css +73 -27
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/ar-EG.ts +3 -0
- package/packages/locale/lang/de-DE.ts +3 -0
- package/packages/locale/lang/en-US.ts +3 -0
- package/packages/locale/lang/es-ES.ts +3 -0
- package/packages/locale/lang/fr-FR.ts +3 -0
- package/packages/locale/lang/hu-HU.ts +3 -0
- package/packages/locale/lang/hy-AM.ts +3 -0
- package/packages/locale/lang/ja-JP.ts +3 -0
- package/packages/locale/lang/ko-KR.ts +3 -0
- package/packages/locale/lang/nb-NO.ts +3 -0
- package/packages/locale/lang/pt-BR.ts +3 -0
- package/packages/locale/lang/ru-RU.ts +3 -0
- package/packages/locale/lang/ug-CN.ts +3 -0
- package/packages/locale/lang/uk-UA.ts +3 -0
- package/packages/locale/lang/vi-VN.ts +3 -0
- package/packages/locale/lang/zh-CHT.ts +3 -0
- package/packages/locale/lang/zh-CN.ts +3 -0
- package/packages/table/module/export/mixin.ts +23 -10
- package/packages/table/module/filter/panel.ts +11 -7
- package/packages/table/render/index.ts +18 -6
- package/packages/table/src/body.ts +2 -0
- package/packages/table/src/footer.ts +3 -0
- package/packages/table/src/header.ts +3 -0
- package/packages/table/src/methods.ts +16 -9
- package/packages/ui/index.ts +1 -0
- package/styles/components/table.scss +90 -19
- /package/es/{iconfont.1734402738434.ttf → iconfont.1734517179309.ttf} +0 -0
- /package/es/{iconfont.1734402738434.woff → iconfont.1734517179309.woff} +0 -0
- /package/es/{iconfont.1734402738434.woff2 → iconfont.1734517179309.woff2} +0 -0
- /package/lib/{iconfont.1734402738434.ttf → iconfont.1734517179309.ttf} +0 -0
- /package/lib/{iconfont.1734402738434.woff → iconfont.1734517179309.woff} +0 -0
- /package/lib/{iconfont.1734402738434.woff2 → iconfont.1734517179309.woff2} +0 -0
package/lib/table/src/methods.js
CHANGED
|
@@ -3161,7 +3161,7 @@ const Methods = {
|
|
|
3161
3161
|
rceTimeout
|
|
3162
3162
|
} = internalData;
|
|
3163
3163
|
const el = $xeTable.$refs.refElem;
|
|
3164
|
-
if (
|
|
3164
|
+
if (el && el.clientWidth) {
|
|
3165
3165
|
$xeTable.autoCellWidth();
|
|
3166
3166
|
}
|
|
3167
3167
|
if (rceTimeout) {
|
|
@@ -7392,7 +7392,7 @@ const Methods = {
|
|
|
7392
7392
|
const rowRest = fullAllDataRowIdData[(0, _util.getRowid)($xeTable, row)];
|
|
7393
7393
|
return rowRest && !!rowRest.treeLoaded;
|
|
7394
7394
|
},
|
|
7395
|
-
clearTreeExpandLoaded(
|
|
7395
|
+
clearTreeExpandLoaded(rows) {
|
|
7396
7396
|
const $xeTable = this;
|
|
7397
7397
|
const {
|
|
7398
7398
|
treeOpts,
|
|
@@ -7400,16 +7400,22 @@ const Methods = {
|
|
|
7400
7400
|
fullAllDataRowIdData
|
|
7401
7401
|
} = this;
|
|
7402
7402
|
const {
|
|
7403
|
-
transform
|
|
7404
|
-
lazy
|
|
7403
|
+
transform
|
|
7405
7404
|
} = treeOpts;
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
rowRest.treeLoaded = false;
|
|
7410
|
-
if (treeExpandedMaps[rowid]) {
|
|
7411
|
-
delete treeExpandedMaps[rowid];
|
|
7405
|
+
if (rows) {
|
|
7406
|
+
if (!_xeUtils.default.isArray(rows)) {
|
|
7407
|
+
rows = [rows];
|
|
7412
7408
|
}
|
|
7409
|
+
rows.forEach(row => {
|
|
7410
|
+
const rowid = (0, _util.getRowid)($xeTable, row);
|
|
7411
|
+
const rowRest = fullAllDataRowIdData[rowid];
|
|
7412
|
+
if (rowRest) {
|
|
7413
|
+
rowRest.treeLoaded = false;
|
|
7414
|
+
if (treeExpandedMaps[rowid]) {
|
|
7415
|
+
delete treeExpandedMaps[rowid];
|
|
7416
|
+
}
|
|
7417
|
+
}
|
|
7418
|
+
});
|
|
7413
7419
|
}
|
|
7414
7420
|
if (transform) {
|
|
7415
7421
|
this.handleVirtualTreeToList();
|