vxe-table 4.19.19 → 4.19.20
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 +5 -5
- package/dist/style.css +1 -1
- package/es/style.css +1 -1
- package/es/table/src/table.js +3 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +2 -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/src/table.ts +3 -3
- /package/es/{iconfont.1782286881041.ttf → iconfont.1782439515438.ttf} +0 -0
- /package/es/{iconfont.1782286881041.woff → iconfont.1782439515438.woff} +0 -0
- /package/es/{iconfont.1782286881041.woff2 → iconfont.1782439515438.woff2} +0 -0
- /package/lib/{iconfont.1782286881041.ttf → iconfont.1782439515438.ttf} +0 -0
- /package/lib/{iconfont.1782286881041.woff → iconfont.1782439515438.woff} +0 -0
- /package/lib/{iconfont.1782286881041.woff2 → iconfont.1782439515438.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from '@vxe-ui/core';
|
|
2
2
|
export { VxeUI } from '@vxe-ui/core';
|
|
3
|
-
import XEUtils
|
|
3
|
+
import XEUtils from 'xe-utils';
|
|
4
4
|
import DomZIndex from 'dom-zindex';
|
|
5
5
|
import { defineComponent, watch, reactive, h, ref, inject, createCommentVNode, onMounted, onUnmounted, provide, nextTick, TransitionGroup, computed, Teleport, resolveComponent, onActivated, onDeactivated, onBeforeUnmount } from 'vue';
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ function eqEmptyValue(cellValue) {
|
|
|
44
44
|
return cellValue === '' || XEUtils.eqNull(cellValue);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const version = "4.19.
|
|
47
|
+
const version = "4.19.20";
|
|
48
48
|
VxeUI.version = version;
|
|
49
49
|
VxeUI.tableVersion = version;
|
|
50
50
|
VxeUI.setConfig({
|
|
@@ -743,7 +743,7 @@ function wheelScrollTopTo(diffNum, cb) {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
const { log } = VxeUI;
|
|
746
|
-
const tableVersion = `table v${"4.19.
|
|
746
|
+
const tableVersion = `table v${"4.19.20"}`;
|
|
747
747
|
function createComponentLog(name) {
|
|
748
748
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
749
749
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -16975,7 +16975,7 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
16975
16975
|
cellValue = $xeTable.getCellLabel(row, column);
|
|
16976
16976
|
}
|
|
16977
16977
|
if (!sortType || sortType === 'auto') {
|
|
16978
|
-
return isNaN
|
|
16978
|
+
return eqEmptyValue(cellValue) || isNaN(cellValue) ? cellValue : XEUtils.toNumber(cellValue);
|
|
16979
16979
|
}
|
|
16980
16980
|
else if (sortType === 'number') {
|
|
16981
16981
|
return XEUtils.toNumber(cellValue);
|
|
@@ -16994,7 +16994,7 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
16994
16994
|
cellValue = $xeTable.getCellLabel(row, column);
|
|
16995
16995
|
}
|
|
16996
16996
|
if (!sortType || sortType === 'auto') {
|
|
16997
|
-
return isNaN
|
|
16997
|
+
return eqEmptyValue(cellValue) || isNaN(cellValue) ? cellValue : XEUtils.toNumber(cellValue);
|
|
16998
16998
|
}
|
|
16999
16999
|
else if (sortType === 'number') {
|
|
17000
17000
|
return XEUtils.toNumber(cellValue);
|