vxe-table 4.24.0 → 4.24.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/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.1794881262017.ttf → iconfont.1794984013707.ttf} +0 -0
- /package/dist/{iconfont.1794881262017.woff → iconfont.1794984013707.woff} +0 -0
- /package/dist/{iconfont.1794881262017.woff2 → iconfont.1794984013707.woff2} +0 -0
- /package/es/{iconfont.1794881262017.ttf → iconfont.1794984013707.ttf} +0 -0
- /package/es/{iconfont.1794881262017.woff → iconfont.1794984013707.woff} +0 -0
- /package/es/{iconfont.1794881262017.woff2 → iconfont.1794984013707.woff2} +0 -0
- /package/lib/{iconfont.1794881262017.ttf → iconfont.1794984013707.ttf} +0 -0
- /package/lib/{iconfont.1794881262017.woff → iconfont.1794984013707.woff} +0 -0
- /package/lib/{iconfont.1794881262017.woff2 → iconfont.1794984013707.woff2} +0 -0
package/lib/table/src/table.js
CHANGED
|
@@ -8194,8 +8194,12 @@ var table_default = (
|
|
|
8194
8194
|
let isClear;
|
|
8195
8195
|
if (editOpts.mode === "row") {
|
|
8196
8196
|
const rowTargetNode = (0, import_dom.getEventTargetNode)(evnt, el, "vxe-body--row");
|
|
8197
|
-
|
|
8198
|
-
|
|
8197
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
8198
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null;
|
|
8199
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false;
|
|
8200
|
+
} else {
|
|
8201
|
+
isClear = true;
|
|
8202
|
+
}
|
|
8199
8203
|
} else {
|
|
8200
8204
|
isClear = !(0, import_dom.getEventTargetNode)(evnt, el, "col--edit").flag;
|
|
8201
8205
|
}
|
package/lib/ui/index.js
CHANGED
|
@@ -26,7 +26,7 @@ __export(ui_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(ui_exports);
|
|
27
27
|
var import_core = require("@vxe-ui/core");
|
|
28
28
|
__reExport(ui_exports, require("./abandon"), module.exports);
|
|
29
|
-
const version = "4.24.
|
|
29
|
+
const version = "4.24.1";
|
|
30
30
|
import_core.VxeUI.tableVersion = version;
|
|
31
31
|
import_core.VxeUI.version = version;
|
|
32
32
|
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.24.
|
|
28
|
+
const tableVersion = `table v${"4.24.1"}`;
|
|
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.24.
|
|
3
|
+
"version": "4.24.1",
|
|
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",
|
|
@@ -9030,9 +9030,14 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
9030
9030
|
let isClear
|
|
9031
9031
|
if (editOpts.mode === 'row') {
|
|
9032
9032
|
const rowTargetNode = getEventTargetNode(evnt, el, 'vxe-body--row')
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9033
|
+
if (rowTargetNode && rowTargetNode.flag) {
|
|
9034
|
+
const rowNodeRest = rowTargetNode.flag ? $xeTable.getRowNode(rowTargetNode.targetElem) : null
|
|
9035
|
+
// row 方式,如果点击了不同行
|
|
9036
|
+
isClear = rowNodeRest ? !$xeTable.eqRow(rowNodeRest.item, actived.args.row) : false
|
|
9037
|
+
} else {
|
|
9038
|
+
// 如果是非单元格则清除
|
|
9039
|
+
isClear = true
|
|
9040
|
+
}
|
|
9036
9041
|
} else {
|
|
9037
9042
|
// cell 方式,如果是非编辑列
|
|
9038
9043
|
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
|