vxe-table 4.11.0-beta.3 → 4.11.0-beta.4
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/README.md +18 -13
- 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/edit/hook.js +1 -7
- package/es/table/src/cell.js +3 -0
- package/es/table/src/table.js +16 -11
- package/es/table/style.css +1 -1
- 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 +1 -1
- 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 +17 -22
- 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/edit/hook.js +1 -9
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/src/cell.js +3 -0
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/table.js +11 -11
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- 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 +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/table/module/edit/hook.ts +1 -7
- package/packages/table/src/cell.ts +3 -0
- package/packages/table/src/table.ts +17 -12
- package/styles/components/table.scss +1 -1
- /package/es/{iconfont.1739513039826.ttf → iconfont.1739527666244.ttf} +0 -0
- /package/es/{iconfont.1739513039826.woff → iconfont.1739527666244.woff} +0 -0
- /package/es/{iconfont.1739513039826.woff2 → iconfont.1739527666244.woff2} +0 -0
- /package/lib/{iconfont.1739513039826.ttf → iconfont.1739527666244.ttf} +0 -0
- /package/lib/{iconfont.1739513039826.woff → iconfont.1739527666244.woff} +0 -0
- /package/lib/{iconfont.1739513039826.woff2 → iconfont.1739527666244.woff2} +0 -0
|
@@ -1246,7 +1246,7 @@ export default defineComponent({
|
|
|
1246
1246
|
const { tableFullColumn, collectColumn } = internalData
|
|
1247
1247
|
const fullColumnIdData: Record<string, VxeTableDefines.ColumnCacheItem> = internalData.fullColumnIdData = {}
|
|
1248
1248
|
const fullColumnFieldData: Record<string, VxeTableDefines.ColumnCacheItem> = internalData.fullColumnFieldData = {}
|
|
1249
|
-
const mouseOpts = computeMouseOpts.value
|
|
1249
|
+
// const mouseOpts = computeMouseOpts.value
|
|
1250
1250
|
const columnOpts = computeColumnOpts.value
|
|
1251
1251
|
const columnDragOpts = computeColumnDragOpts.value
|
|
1252
1252
|
const { isCrossDrag, isSelfToChildDrag } = columnDragOpts
|
|
@@ -1333,11 +1333,11 @@ export default defineComponent({
|
|
|
1333
1333
|
tableFullColumn.forEach(handleFunc)
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
|
-
if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1336
|
+
// if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
1337
|
+
// if (expandColumn && mouseOpts.area) {
|
|
1338
|
+
// errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand'])
|
|
1339
|
+
// }
|
|
1340
|
+
// }
|
|
1341
1341
|
|
|
1342
1342
|
if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
1343
1343
|
if (htmlColumn) {
|
|
@@ -2607,7 +2607,10 @@ export default defineComponent({
|
|
|
2607
2607
|
delete rExpandLazyLoadedMaps[rowid]
|
|
2608
2608
|
}
|
|
2609
2609
|
reactData.rowExpandLazyLoadedMaps = rExpandLazyLoadedMaps
|
|
2610
|
-
nextTick()
|
|
2610
|
+
nextTick()
|
|
2611
|
+
.then(() => $xeTable.recalculate())
|
|
2612
|
+
.then(() => $xeTable.updateCellAreas())
|
|
2613
|
+
.then(() => resolve())
|
|
2611
2614
|
})
|
|
2612
2615
|
} else {
|
|
2613
2616
|
resolve()
|
|
@@ -5251,11 +5254,13 @@ export default defineComponent({
|
|
|
5251
5254
|
})
|
|
5252
5255
|
}
|
|
5253
5256
|
if (reserve) {
|
|
5254
|
-
validRows.forEach((row
|
|
5257
|
+
validRows.forEach((row) => handleRowExpandReserve(row, expanded))
|
|
5255
5258
|
}
|
|
5256
5259
|
}
|
|
5257
5260
|
reactData.rowExpandedMaps = rExpandedMaps
|
|
5258
|
-
return Promise.all(lazyRests)
|
|
5261
|
+
return Promise.all(lazyRests)
|
|
5262
|
+
.then(() => $xeTable.recalculate())
|
|
5263
|
+
.then(() => $xeTable.updateCellAreas())
|
|
5259
5264
|
},
|
|
5260
5265
|
/**
|
|
5261
5266
|
* 判断行是否为展开状态
|
|
@@ -5289,7 +5294,7 @@ export default defineComponent({
|
|
|
5289
5294
|
if (expList.length) {
|
|
5290
5295
|
tableMethods.recalculate()
|
|
5291
5296
|
}
|
|
5292
|
-
})
|
|
5297
|
+
}).then(() => $xeTable.updateCellAreas())
|
|
5293
5298
|
},
|
|
5294
5299
|
clearRowExpandReserve () {
|
|
5295
5300
|
internalData.rowExpandedReserveRowMap = {}
|
|
@@ -5712,8 +5717,8 @@ export default defineComponent({
|
|
|
5712
5717
|
updateCellAreas () {
|
|
5713
5718
|
const { mouseConfig } = props
|
|
5714
5719
|
const mouseOpts = computeMouseOpts.value
|
|
5715
|
-
if (mouseConfig && mouseOpts.area && $xeTable.
|
|
5716
|
-
return $xeTable.
|
|
5720
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreaEvent) {
|
|
5721
|
+
return $xeTable.handleRecalculateCellAreaEvent()
|
|
5717
5722
|
}
|
|
5718
5723
|
return nextTick()
|
|
5719
5724
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|