vxe-table 4.20.8 → 4.20.9
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/dist/all.esm.js +12 -5
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/export/hook.js +3 -3
- package/es/table/src/table.js +7 -0
- package/es/table/style.css +22 -12
- 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 +22 -12
- 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 +8 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/hook.js +3 -3
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/src/table.js +3 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +22 -12
- 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 +22 -12
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/table/module/export/hook.ts +3 -3
- package/packages/table/src/table.ts +7 -0
- package/styles/components/table.scss +24 -6
- package/styles/theme/base.scss +0 -1
- /package/es/{iconfont.1785140083044.ttf → iconfont.1785242738274.ttf} +0 -0
- /package/es/{iconfont.1785140083044.woff → iconfont.1785242738274.woff} +0 -0
- /package/es/{iconfont.1785140083044.woff2 → iconfont.1785242738274.woff2} +0 -0
- /package/lib/{iconfont.1785140083044.ttf → iconfont.1785242738274.ttf} +0 -0
- /package/lib/{iconfont.1785140083044.woff → iconfont.1785242738274.woff} +0 -0
- /package/lib/{iconfont.1785140083044.woff2 → iconfont.1785242738274.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -44,7 +44,7 @@ function eqEmptyValue(cellValue) {
|
|
|
44
44
|
return cellValue === '' || XEUtils.eqNull(cellValue);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const version = "4.20.
|
|
47
|
+
const version = "4.20.9";
|
|
48
48
|
VxeUI.version = version;
|
|
49
49
|
VxeUI.tableVersion = version;
|
|
50
50
|
VxeUI.setConfig({
|
|
@@ -758,7 +758,7 @@ function wheelScrollTopTo(diffNum, cb) {
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
const { log } = VxeUI;
|
|
761
|
-
const tableVersion = `table v${"4.20.
|
|
761
|
+
const tableVersion = `table v${"4.20.9"}`;
|
|
762
762
|
function createComponentLog(name) {
|
|
763
763
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
764
764
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -11752,7 +11752,7 @@ hooks$4.add('tableExportModule', {
|
|
|
11752
11752
|
const isColGroup = column.children && column.children.length > 0;
|
|
11753
11753
|
let isChecked = false;
|
|
11754
11754
|
const isExtraChecked = extraFdMaps[column.field];
|
|
11755
|
-
if (columns
|
|
11755
|
+
if (columns) {
|
|
11756
11756
|
isChecked = handleFilterColumns(defOpts, column, columns);
|
|
11757
11757
|
}
|
|
11758
11758
|
else if (excludeFields || includeFields) {
|
|
@@ -11905,7 +11905,7 @@ hooks$4.add('tableExportModule', {
|
|
|
11905
11905
|
}
|
|
11906
11906
|
let isCustomCol = false;
|
|
11907
11907
|
let customCols = [];
|
|
11908
|
-
if (columns
|
|
11908
|
+
if (columns) {
|
|
11909
11909
|
isCustomCol = true;
|
|
11910
11910
|
customCols = XEUtils.searchTree(columns, () => true, { children: 'children', mapChildren: 'childNodes', original: true });
|
|
11911
11911
|
}
|
|
@@ -11914,7 +11914,7 @@ hooks$4.add('tableExportModule', {
|
|
|
11914
11914
|
const isColGroup = column.children && column.children.length > 0;
|
|
11915
11915
|
let isChecked = false;
|
|
11916
11916
|
const isExtraChecked = extraFdMaps[column.field];
|
|
11917
|
-
if (columns
|
|
11917
|
+
if (columns) {
|
|
11918
11918
|
isChecked = handleFilterColumns(opts, column, columns);
|
|
11919
11919
|
}
|
|
11920
11920
|
else if (excludeFields || includeFields) {
|
|
@@ -26742,6 +26742,7 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
26742
26742
|
status: false
|
|
26743
26743
|
};
|
|
26744
26744
|
if (!(el && prevDragRow && dragRow)) {
|
|
26745
|
+
handleRowDragEndClearStatus();
|
|
26745
26746
|
return Promise.resolve(errRest);
|
|
26746
26747
|
}
|
|
26747
26748
|
// 判断是否有拖动
|
|
@@ -26843,6 +26844,9 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
26843
26844
|
}
|
|
26844
26845
|
}
|
|
26845
26846
|
const isDragToChildFlag = isSelfToChildDrag && dragToChildMethod ? dragToChildMethod(dragParams) : prevDragToChild;
|
|
26847
|
+
if (dEndMethod) {
|
|
26848
|
+
handleRowDragEndClearStatus();
|
|
26849
|
+
}
|
|
26846
26850
|
return Promise.resolve(dEndMethod ? dEndMethod(dragParams) : true).then((status) => {
|
|
26847
26851
|
if (!status) {
|
|
26848
26852
|
return errRest;
|
|
@@ -27137,6 +27141,9 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
27137
27141
|
const errRest = {
|
|
27138
27142
|
status: false
|
|
27139
27143
|
};
|
|
27144
|
+
if (dragEndMethod) {
|
|
27145
|
+
handleRowDragEndClearStatus();
|
|
27146
|
+
}
|
|
27140
27147
|
Promise.resolve(dragEndMethod ? dragEndMethod(dragParams) : true).then((status) => {
|
|
27141
27148
|
if (!status) {
|
|
27142
27149
|
if ($oldTable) {
|