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/es/table/src/table.js
CHANGED
|
@@ -8076,8 +8076,12 @@ var table_default = (
|
|
|
8076
8076
|
let isClear;
|
|
8077
8077
|
if (editOpts.mode === "row") {
|
|
8078
8078
|
const rowTargetNode = getEventTargetNode(evnt, el, "vxe-body--row");
|
|
8079
|
-
|
|
8080
|
-
|
|
8079
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
8080
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null;
|
|
8081
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false;
|
|
8082
|
+
} else {
|
|
8083
|
+
isClear = true;
|
|
8084
|
+
}
|
|
8081
8085
|
} else {
|
|
8082
8086
|
isClear = !getEventTargetNode(evnt, el, "col--edit").flag;
|
|
8083
8087
|
}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from "@vxe-ui/core";
|
|
2
2
|
const { log } = VxeUI;
|
|
3
|
-
const tableVersion = `table v${"4.23.
|
|
3
|
+
const tableVersion = `table v${"4.23.21"}`;
|
|
4
4
|
function createComponentLog(name) {
|
|
5
5
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
|
|
6
6
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : "";
|
package/lib/index.umd.js
CHANGED
|
@@ -396,7 +396,7 @@ var modal = {
|
|
|
396
396
|
};
|
|
397
397
|
|
|
398
398
|
// packages_temp/ui/index.ts
|
|
399
|
-
var version = "4.23.
|
|
399
|
+
var version = "4.23.21";
|
|
400
400
|
import_core3.VxeUI.version = version;
|
|
401
401
|
import_core3.VxeUI.tableVersion = version;
|
|
402
402
|
import_core3.VxeUI.setConfig({
|
|
@@ -1148,7 +1148,7 @@ function getPopupAppendElement(appendTo) {
|
|
|
1148
1148
|
// packages_temp/ui/src/log.ts
|
|
1149
1149
|
var import_core4 = require("@vxe-ui/core");
|
|
1150
1150
|
var { log } = import_core4.VxeUI;
|
|
1151
|
-
var tableVersion = `table v${"4.23.
|
|
1151
|
+
var tableVersion = `table v${"4.23.21"}`;
|
|
1152
1152
|
function createComponentLog(name) {
|
|
1153
1153
|
const uiVersion = import_core4.VxeUI.uiVersion ? `ui v${import_core4.VxeUI.uiVersion}` : "";
|
|
1154
1154
|
const ganttVersion = import_core4.VxeUI.ganttVersion ? `gantt v${import_core4.VxeUI.ganttVersion}` : "";
|
|
@@ -24946,8 +24946,12 @@ var table_default = (
|
|
|
24946
24946
|
let isClear;
|
|
24947
24947
|
if (editOpts.mode === "row") {
|
|
24948
24948
|
const rowTargetNode = getEventTargetNode(evnt, el, "vxe-body--row");
|
|
24949
|
-
|
|
24950
|
-
|
|
24949
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
24950
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null;
|
|
24951
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false;
|
|
24952
|
+
} else {
|
|
24953
|
+
isClear = true;
|
|
24954
|
+
}
|
|
24951
24955
|
} else {
|
|
24952
24956
|
isClear = !getEventTargetNode(evnt, el, "col--edit").flag;
|
|
24953
24957
|
}
|