vxe-table 4.23.20 → 4.23.21
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 +8 -4
- package/dist/all.esm.min.js +2 -2
- package/es/table/src/table.js +6 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +8 -4
- package/lib/index.umd.min.js +2 -2
- package/lib/table/src/table.js +6 -2
- package/lib/ui/index.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/table.ts +8 -3
- /package/dist/{iconfont.1794633824975.ttf → iconfont.1794983806256.ttf} +0 -0
- /package/dist/{iconfont.1794633824975.woff → iconfont.1794983806256.woff} +0 -0
- /package/dist/{iconfont.1794633824975.woff2 → iconfont.1794983806256.woff2} +0 -0
- /package/es/{iconfont.1794633824975.ttf → iconfont.1794983806256.ttf} +0 -0
- /package/es/{iconfont.1794633824975.woff → iconfont.1794983806256.woff} +0 -0
- /package/es/{iconfont.1794633824975.woff2 → iconfont.1794983806256.woff2} +0 -0
- /package/lib/{iconfont.1794633824975.ttf → iconfont.1794983806256.ttf} +0 -0
- /package/lib/{iconfont.1794633824975.woff → iconfont.1794983806256.woff} +0 -0
- /package/lib/{iconfont.1794633824975.woff2 → iconfont.1794983806256.woff2} +0 -0
package/lib/table/src/table.js
CHANGED
|
@@ -8078,8 +8078,12 @@ var table_default = (
|
|
|
8078
8078
|
let isClear;
|
|
8079
8079
|
if (editOpts.mode === "row") {
|
|
8080
8080
|
const rowTargetNode = (0, import_dom.getEventTargetNode)(evnt, el, "vxe-body--row");
|
|
8081
|
-
|
|
8082
|
-
|
|
8081
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
8082
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null;
|
|
8083
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false;
|
|
8084
|
+
} else {
|
|
8085
|
+
isClear = true;
|
|
8086
|
+
}
|
|
8083
8087
|
} else {
|
|
8084
8088
|
isClear = !(0, import_dom.getEventTargetNode)(evnt, el, "col--edit").flag;
|
|
8085
8089
|
}
|
package/lib/ui/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(ui_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(ui_exports);
|
|
26
26
|
var import_core = require("@vxe-ui/core");
|
|
27
27
|
__reExport(ui_exports, require("./abandon"), module.exports);
|
|
28
|
-
const version = "4.23.
|
|
28
|
+
const version = "4.23.21";
|
|
29
29
|
import_core.VxeUI.version = version;
|
|
30
30
|
import_core.VxeUI.tableVersion = version;
|
|
31
31
|
import_core.VxeUI.setConfig({
|
package/lib/ui/src/log.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(log_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(log_exports);
|
|
26
26
|
var import_core = require("@vxe-ui/core");
|
|
27
27
|
const { log } = import_core.VxeUI;
|
|
28
|
-
const tableVersion = `table v${"4.23.
|
|
28
|
+
const tableVersion = `table v${"4.23.21"}`;
|
|
29
29
|
function createComponentLog(name) {
|
|
30
30
|
const uiVersion = import_core.VxeUI.uiVersion ? `ui v${import_core.VxeUI.uiVersion}` : "";
|
|
31
31
|
const ganttVersion = import_core.VxeUI.ganttVersion ? `gantt v${import_core.VxeUI.ganttVersion}` : "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.21",
|
|
4
4
|
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -8896,9 +8896,14 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
8896
8896
|
let isClear
|
|
8897
8897
|
if (editOpts.mode === 'row') {
|
|
8898
8898
|
const rowTargetNode = getEventTargetNode(evnt, el, 'vxe-body--row')
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8899
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
8900
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null
|
|
8901
|
+
// row 方式,如果点击了不同行
|
|
8902
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false
|
|
8903
|
+
} else {
|
|
8904
|
+
// 如果是非单元格则清除
|
|
8905
|
+
isClear = true
|
|
8906
|
+
}
|
|
8902
8907
|
} else {
|
|
8903
8908
|
// cell 方式,如果是非编辑列
|
|
8904
8909
|
isClear = !getEventTargetNode(evnt, el, 'col--edit').flag
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|