vxe-table 3.21.1 → 3.21.3
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 +6 -2
- package/es/locale/lang/de-DE.js +6 -2
- package/es/locale/lang/en-US.js +6 -2
- package/es/locale/lang/es-ES.js +6 -2
- package/es/locale/lang/fr-FR.js +6 -2
- package/es/locale/lang/hu-HU.js +6 -2
- package/es/locale/lang/hy-AM.js +6 -2
- package/es/locale/lang/id-ID.js +6 -2
- package/es/locale/lang/it-IT.js +6 -2
- package/es/locale/lang/ja-JP.js +6 -2
- package/es/locale/lang/ko-KR.js +6 -2
- package/es/locale/lang/ms-MY.js +6 -2
- package/es/locale/lang/nb-NO.js +6 -2
- package/es/locale/lang/pt-BR.js +6 -2
- package/es/locale/lang/ru-RU.js +6 -2
- package/es/locale/lang/th-TH.js +6 -2
- package/es/locale/lang/ug-CN.js +6 -2
- package/es/locale/lang/uk-UA.js +6 -2
- package/es/locale/lang/uz-UZ.js +6 -2
- package/es/locale/lang/vi-VN.js +6 -2
- package/es/locale/lang/zh-CHT.js +6 -2
- package/es/locale/lang/zh-CN.js +6 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/panel.js +29 -22
- package/es/table/module/export/export-panel.js +29 -16
- package/es/table/module/export/mixin.js +121 -26
- package/es/table/module/menu/mixin.js +3 -2
- package/es/table/module/validator/mixin.js +4 -4
- package/es/table/src/cell.js +1 -1
- package/es/table/src/column.js +2 -0
- package/es/table/src/columnInfo.js +1 -0
- package/es/table/src/methods.js +82 -31
- package/es/table/src/table.js +16 -0
- package/es/table/src/util.js +3 -1
- package/es/table/style.css +1 -1
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -1
- 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 +235 -75
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +6 -2
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +6 -2
- package/lib/locale/lang/de-DE.js +6 -2
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +6 -2
- package/lib/locale/lang/en-US.js +6 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +6 -2
- package/lib/locale/lang/es-ES.js +6 -2
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +6 -2
- package/lib/locale/lang/fr-FR.js +6 -2
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +6 -2
- package/lib/locale/lang/hu-HU.js +6 -2
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +6 -2
- package/lib/locale/lang/hy-AM.js +6 -2
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +6 -2
- package/lib/locale/lang/id-ID.js +6 -2
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +6 -2
- package/lib/locale/lang/it-IT.js +6 -2
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +6 -2
- package/lib/locale/lang/ja-JP.js +6 -2
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +6 -2
- package/lib/locale/lang/ko-KR.js +6 -2
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +6 -2
- package/lib/locale/lang/ms-MY.js +6 -2
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +6 -2
- package/lib/locale/lang/nb-NO.js +6 -2
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +6 -2
- package/lib/locale/lang/pt-BR.js +6 -2
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +6 -2
- package/lib/locale/lang/ru-RU.js +6 -2
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +6 -2
- package/lib/locale/lang/th-TH.js +6 -2
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +6 -2
- package/lib/locale/lang/ug-CN.js +6 -2
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +6 -2
- package/lib/locale/lang/uk-UA.js +6 -2
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +6 -2
- package/lib/locale/lang/uz-UZ.js +6 -2
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +6 -2
- package/lib/locale/lang/vi-VN.js +6 -2
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +6 -2
- package/lib/locale/lang/zh-CHT.js +6 -2
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +6 -2
- package/lib/locale/lang/zh-CN.js +6 -2
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +6 -2
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/panel.js +30 -21
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/export/export-panel.js +26 -13
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/mixin.js +139 -27
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/module/menu/mixin.js +3 -2
- package/lib/table/module/menu/mixin.min.js +1 -1
- package/lib/table/module/validator/mixin.js +4 -4
- package/lib/table/module/validator/mixin.min.js +1 -1
- package/lib/table/src/cell.js +1 -1
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +2 -0
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +1 -0
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/methods.js +2 -2
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +16 -0
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +3 -1
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/style.min.css +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/lib/vxe-table/style/style.css +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/ar-EG.ts +6 -2
- package/packages/locale/lang/de-DE.ts +6 -2
- package/packages/locale/lang/en-US.ts +6 -2
- package/packages/locale/lang/es-ES.ts +6 -2
- package/packages/locale/lang/fr-FR.ts +6 -2
- package/packages/locale/lang/hu-HU.ts +6 -2
- package/packages/locale/lang/hy-AM.ts +6 -2
- package/packages/locale/lang/id-ID.ts +6 -2
- package/packages/locale/lang/it-IT.ts +6 -2
- package/packages/locale/lang/ja-JP.ts +6 -2
- package/packages/locale/lang/ko-KR.ts +6 -2
- package/packages/locale/lang/ms-MY.ts +6 -2
- package/packages/locale/lang/nb-NO.ts +6 -2
- package/packages/locale/lang/pt-BR.ts +6 -2
- package/packages/locale/lang/ru-RU.ts +6 -2
- package/packages/locale/lang/th-TH.ts +6 -2
- package/packages/locale/lang/ug-CN.ts +6 -2
- package/packages/locale/lang/uk-UA.ts +6 -2
- package/packages/locale/lang/uz-UZ.ts +6 -2
- package/packages/locale/lang/vi-VN.ts +6 -2
- package/packages/locale/lang/zh-CHT.ts +6 -2
- package/packages/locale/lang/zh-CN.ts +6 -2
- package/packages/table/module/custom/panel.ts +30 -23
- package/packages/table/module/export/export-panel.ts +29 -17
- package/packages/table/module/export/mixin.ts +122 -27
- package/packages/table/module/menu/mixin.ts +3 -2
- package/packages/table/module/validator/mixin.ts +4 -4
- package/packages/table/src/cell.ts +1 -1
- package/packages/table/src/column.ts +2 -0
- package/packages/table/src/columnInfo.ts +1 -0
- package/packages/table/src/methods.ts +82 -31
- package/packages/table/src/table.ts +18 -0
- package/packages/table/src/util.ts +3 -1
- package/styles/components/table-module/export.scss +1 -1
- /package/es/{iconfont.1779447236462.ttf → iconfont.1779843521280.ttf} +0 -0
- /package/es/{iconfont.1779447236462.woff → iconfont.1779843521280.woff} +0 -0
- /package/es/{iconfont.1779447236462.woff2 → iconfont.1779843521280.woff2} +0 -0
- /package/lib/{iconfont.1779447236462.ttf → iconfont.1779843521280.ttf} +0 -0
- /package/lib/{iconfont.1779447236462.woff → iconfont.1779843521280.woff} +0 -0
- /package/lib/{iconfont.1779447236462.woff2 → iconfont.1779843521280.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -758,6 +758,11 @@ export default {
|
|
|
758
758
|
const props = $xeTable;
|
|
759
759
|
return Object.assign({}, getConfig().table.aggregateConfig || getConfig().table.rowGroupConfig, props.aggregateConfig || props.rowGroupConfig);
|
|
760
760
|
},
|
|
761
|
+
computeAggregateMode() {
|
|
762
|
+
const $xeTable = this;
|
|
763
|
+
const aggregateOpts = $xeTable.computeAggregateOpts;
|
|
764
|
+
return aggregateOpts.mode;
|
|
765
|
+
},
|
|
761
766
|
computeAggregateAccuracyOpts() {
|
|
762
767
|
const $xeTable = this;
|
|
763
768
|
const props = $xeTable;
|
|
@@ -1523,6 +1528,14 @@ export default {
|
|
|
1523
1528
|
$xeTable.reloadData(tableFullData);
|
|
1524
1529
|
});
|
|
1525
1530
|
}
|
|
1531
|
+
},
|
|
1532
|
+
computeAggregateMode() {
|
|
1533
|
+
const $xeTable = this;
|
|
1534
|
+
const reactData = $xeTable;
|
|
1535
|
+
const internalData = $xeTable;
|
|
1536
|
+
if (reactData.isRowGroupStatus) {
|
|
1537
|
+
this.loadTableData(internalData.tableSynchData, false, true);
|
|
1538
|
+
}
|
|
1526
1539
|
}
|
|
1527
1540
|
},
|
|
1528
1541
|
created() {
|
|
@@ -1636,6 +1649,9 @@ export default {
|
|
|
1636
1649
|
if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !XEUtils.includeArrays(XEUtils.keys(exportOpts._typeMaps), exportOpts.types)) {
|
|
1637
1650
|
warnLog('vxe.error.errProp', [`export-config.types=${exportOpts.types.join(',')}`, exportOpts.types.filter((type) => XEUtils.includes(XEUtils.keys(exportOpts._typeMaps), type)).join(',') || XEUtils.keys(exportOpts._typeMaps).join(',')]);
|
|
1638
1651
|
}
|
|
1652
|
+
if (exportConfig && XEUtils.isBoolean(exportOpts.isAllExpand)) {
|
|
1653
|
+
warnLog('vxe.error.delProp', ['isAllExpand', 'isTreeAllExpanded']);
|
|
1654
|
+
}
|
|
1639
1655
|
if (!props.id) {
|
|
1640
1656
|
if ((props.customConfig ? isEnableConf(customOpts) : customOpts.enabled) && customOpts.storage) {
|
|
1641
1657
|
errLog('vxe.error.reqProp', ['id']);
|
package/es/table/src/util.js
CHANGED
|
@@ -322,6 +322,7 @@ export function createReactData() {
|
|
|
322
322
|
hasFooter: false,
|
|
323
323
|
hasMerge: false,
|
|
324
324
|
hasTree: false,
|
|
325
|
+
hasRowGroup: false,
|
|
325
326
|
hasColgroup: false,
|
|
326
327
|
visible: false
|
|
327
328
|
},
|
|
@@ -332,7 +333,8 @@ export function createReactData() {
|
|
|
332
333
|
type: '',
|
|
333
334
|
isColgroup: false,
|
|
334
335
|
isMerge: false,
|
|
335
|
-
|
|
336
|
+
isTreeAllExpanded: false,
|
|
337
|
+
isRowGroupAllExpanded: false,
|
|
336
338
|
useStyle: false,
|
|
337
339
|
original: false,
|
|
338
340
|
message: true,
|
package/es/table/style.css
CHANGED
|
@@ -1364,7 +1364,7 @@
|
|
|
1364
1364
|
width: 80%;
|
|
1365
1365
|
}
|
|
1366
1366
|
.vxe-table-export--panel .vxe-table-export--panel-table tr td > .vxe-table-export--panel-option-row {
|
|
1367
|
-
padding: 0.
|
|
1367
|
+
padding: 0.5em 0;
|
|
1368
1368
|
}
|
|
1369
1369
|
.vxe-table-export--panel .vxe-table-export--panel-column {
|
|
1370
1370
|
width: 80%;
|