vxe-table 4.11.0 → 4.11.1
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/style.css +1 -1
- package/es/table/module/export/hook.js +9 -6
- package/es/table/src/table.js +1 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +11 -9
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/export/hook.js +10 -7
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/src/table.js +1 -2
- 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/table/module/export/hook.ts +9 -6
- package/packages/table/src/table.ts +1 -2
- package/es/colgroup/style.css +0 -0
- package/es/colgroup/style.min.css +0 -0
- package/es/column/style.css +0 -0
- package/es/column/style.min.css +0 -0
- package/es/grid/style.css +0 -83
- package/es/grid/style.min.css +0 -1
- package/es/iconfont.1739842441645.ttf +0 -0
- package/es/iconfont.1739842441645.woff +0 -0
- package/es/iconfont.1739842441645.woff2 +0 -0
- package/es/table/style.css +0 -3474
- package/es/table/style.min.css +0 -1
- package/es/toolbar/style.css +0 -90
- package/es/toolbar/style.min.css +0 -1
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/v-x-e-table/style.css +0 -0
- package/es/v-x-e-table/style.min.css +0 -0
- package/es/vxe-colgroup/style.css +0 -0
- package/es/vxe-colgroup/style.min.css +0 -0
- package/es/vxe-column/style.css +0 -0
- package/es/vxe-column/style.min.css +0 -0
- package/es/vxe-grid/style.css +0 -83
- package/es/vxe-grid/style.min.css +0 -1
- package/es/vxe-table/style.css +0 -3474
- package/es/vxe-table/style.min.css +0 -1
- package/es/vxe-toolbar/style.css +0 -90
- package/es/vxe-toolbar/style.min.css +0 -1
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/es/vxe-v-x-e-table/style.css +0 -0
- package/es/vxe-v-x-e-table/style.min.css +0 -0
- package/lib/colgroup/style/index.js +0 -1
- package/lib/colgroup/style/style.css +0 -0
- package/lib/colgroup/style/style.min.css +0 -0
- package/lib/column/style/index.js +0 -1
- package/lib/column/style/style.css +0 -0
- package/lib/column/style/style.min.css +0 -0
- package/lib/grid/style/index.js +0 -1
- package/lib/grid/style/style.css +0 -83
- package/lib/grid/style/style.min.css +0 -1
- package/lib/iconfont.1739842441645.ttf +0 -0
- package/lib/iconfont.1739842441645.woff +0 -0
- package/lib/iconfont.1739842441645.woff2 +0 -0
- package/lib/locale/lang/en-US.umd.js +0 -715
- package/lib/locale/lang/es-ES.umd.js +0 -722
- package/lib/locale/lang/hu-HU.umd.js +0 -715
- package/lib/locale/lang/ja-JP.umd.js +0 -715
- package/lib/locale/lang/ko-KR.umd.js +0 -715
- package/lib/locale/lang/pt-BR.umd.js +0 -715
- package/lib/locale/lang/ru-RU.umd.js +0 -715
- package/lib/locale/lang/uk-UA.umd.js +0 -715
- package/lib/locale/lang/zh-CN.umd.js +0 -715
- package/lib/locale/lang/zh-HK.umd.js +0 -23
- package/lib/locale/lang/zh-MO.umd.js +0 -23
- package/lib/locale/lang/zh-TC.umd.js +0 -23
- package/lib/locale/lang/zh-TW.umd.js +0 -23
- package/lib/table/style/index.js +0 -1
- package/lib/table/style/style.css +0 -3474
- package/lib/table/style/style.min.css +0 -1
- package/lib/toolbar/style/index.js +0 -1
- package/lib/toolbar/style/style.css +0 -90
- package/lib/toolbar/style/style.min.css +0 -1
- package/lib/ui/style/index.js +0 -1
- package/lib/ui/style/style.css +0 -0
- package/lib/ui/style/style.min.css +0 -0
- package/lib/v-x-e-table/style/index.js +0 -1
- package/lib/v-x-e-table/style/style.css +0 -0
- package/lib/v-x-e-table/style/style.min.css +0 -0
- package/lib/vxe-colgroup/style/index.js +0 -1
- package/lib/vxe-colgroup/style/style.css +0 -0
- package/lib/vxe-colgroup/style/style.min.css +0 -0
- package/lib/vxe-column/style/index.js +0 -1
- package/lib/vxe-column/style/style.css +0 -0
- package/lib/vxe-column/style/style.min.css +0 -0
- package/lib/vxe-grid/style/index.js +0 -1
- package/lib/vxe-grid/style/style.css +0 -83
- package/lib/vxe-grid/style/style.min.css +0 -1
- package/lib/vxe-table/style/index.js +0 -1
- package/lib/vxe-table/style/style.css +0 -3474
- package/lib/vxe-table/style/style.min.css +0 -1
- package/lib/vxe-toolbar/style/index.js +0 -1
- package/lib/vxe-toolbar/style/style.css +0 -90
- package/lib/vxe-toolbar/style/style.min.css +0 -1
- package/lib/vxe-ui/style/index.js +0 -1
- package/lib/vxe-ui/style/style.css +0 -0
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/lib/vxe-v-x-e-table/style/index.js +0 -1
- package/lib/vxe-v-x-e-table/style/style.css +0 -0
- package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -20575,7 +20575,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
20575
20575
|
const isRollY = scrollTop !== lastScrollTop;
|
|
20576
20576
|
// 用于鼠标纵向滚轮处理
|
|
20577
20577
|
if (isRollY) {
|
|
20578
|
-
evnt.preventDefault();
|
|
20579
20578
|
if (rowOpts.isHover || highlightHoverRow) {
|
|
20580
20579
|
$xeTable.clearHoverRow();
|
|
20581
20580
|
}
|
|
@@ -21254,7 +21253,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21254
21253
|
const rightFixedWidth = computeRightFixedWidth.value;
|
|
21255
21254
|
const ons = {};
|
|
21256
21255
|
if (scrollYLoad || leftFixedWidth || rightFixedWidth) {
|
|
21257
|
-
ons.
|
|
21256
|
+
ons.onWheelPassive = $xeTable.triggerBodyWheelEvent;
|
|
21258
21257
|
}
|
|
21259
21258
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
21260
21259
|
ref: refTableViewportElem,
|
|
@@ -25402,12 +25401,12 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25402
25401
|
const {
|
|
25403
25402
|
mergeList,
|
|
25404
25403
|
mergeFooterList,
|
|
25405
|
-
isGroup
|
|
25406
|
-
tableGroupColumn
|
|
25404
|
+
isGroup
|
|
25407
25405
|
} = reactData;
|
|
25408
25406
|
const {
|
|
25409
25407
|
tableFullColumn,
|
|
25410
|
-
afterFullData
|
|
25408
|
+
afterFullData,
|
|
25409
|
+
collectColumn
|
|
25411
25410
|
} = internalData;
|
|
25412
25411
|
const exportOpts = computeExportOpts.value;
|
|
25413
25412
|
const treeOpts = computeTreeOpts.value;
|
|
@@ -25437,7 +25436,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25437
25436
|
// beforeExportMethod: null,
|
|
25438
25437
|
// afterExportMethod: null
|
|
25439
25438
|
}, exportOpts, options);
|
|
25440
|
-
|
|
25439
|
+
let {
|
|
25441
25440
|
filename,
|
|
25442
25441
|
sheetName,
|
|
25443
25442
|
type,
|
|
@@ -25450,7 +25449,11 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25450
25449
|
excludeFields
|
|
25451
25450
|
} = opts;
|
|
25452
25451
|
let groups = [];
|
|
25453
|
-
const
|
|
25452
|
+
const selectRecords = $xeTable.getCheckboxRecords();
|
|
25453
|
+
if (!mode) {
|
|
25454
|
+
mode = selectRecords.length ? 'selected' : 'current';
|
|
25455
|
+
}
|
|
25456
|
+
const customCols = columns && columns.length ? columns : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().searchTree(collectColumn, column => {
|
|
25454
25457
|
const isColGroup = column.children && column.children.length;
|
|
25455
25458
|
let isChecked = false;
|
|
25456
25459
|
if (columns && columns.length) {
|
|
@@ -25526,7 +25529,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25526
25529
|
original: true
|
|
25527
25530
|
});
|
|
25528
25531
|
} else {
|
|
25529
|
-
groups = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().searchTree(isGroup ?
|
|
25532
|
+
groups = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().searchTree(isGroup ? collectColumn : tableFullColumn, (column, index) => column.visible && (!columnFilterMethod || columnFilterMethod({
|
|
25530
25533
|
column,
|
|
25531
25534
|
$columnIndex: index
|
|
25532
25535
|
})), {
|
|
@@ -25601,7 +25604,6 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25601
25604
|
if (!handleOptions.data) {
|
|
25602
25605
|
handleOptions.data = [];
|
|
25603
25606
|
if (mode === 'selected') {
|
|
25604
|
-
const selectRecords = $xeTable.getCheckboxRecords();
|
|
25605
25607
|
if (['html', 'pdf'].indexOf(type) > -1 && treeConfig) {
|
|
25606
25608
|
handleOptions.data = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().searchTree($xeTable.getTableData().fullData, item => $xeTable.findRowIndexOf(selectRecords, item) > -1, Object.assign({}, treeOpts, {
|
|
25607
25609
|
data: '_row'
|