vxe-table 4.11.8 → 4.11.10
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/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ja-JP.js +2 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/edit/hook.js +7 -5
- package/es/table/src/table.js +1 -1
- package/es/table/style.css +0 -17
- 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 +0 -17
- 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 +10 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +2 -2
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -2
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/edit/hook.js +7 -5
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +0 -17
- 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 +0 -17
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/locale/lang/ja-JP.ts +2 -2
- package/packages/table/module/edit/hook.ts +7 -5
- package/packages/table/src/table.ts +1 -1
- package/styles/components/table.scss +0 -19
- /package/es/{iconfont.1740188851839.ttf → iconfont.1740359300055.ttf} +0 -0
- /package/es/{iconfont.1740188851839.woff → iconfont.1740359300055.woff} +0 -0
- /package/es/{iconfont.1740188851839.woff2 → iconfont.1740359300055.woff2} +0 -0
- /package/lib/{iconfont.1740188851839.ttf → iconfont.1740359300055.ttf} +0 -0
- /package/lib/{iconfont.1740188851839.woff → iconfont.1740359300055.woff} +0 -0
- /package/lib/{iconfont.1740188851839.woff2 → iconfont.1740359300055.woff2} +0 -0
|
@@ -323,7 +323,7 @@ hooks.add('tableEditModule', {
|
|
|
323
323
|
return nextTick().then(() => $xeTable.updateCellAreas())
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
const handleEditActive = (params: any, evnt: Event | null, isFocus: boolean) => {
|
|
326
|
+
const handleEditActive = (params: any, evnt: Event | null, isFocus: boolean, isPos: boolean) => {
|
|
327
327
|
const { editConfig, mouseConfig } = props
|
|
328
328
|
const { editStore, tableColumn } = reactData
|
|
329
329
|
const editOpts = computeEditOpts.value
|
|
@@ -413,7 +413,7 @@ hooks.add('tableEditModule', {
|
|
|
413
413
|
column.renderHeight = cell.offsetHeight
|
|
414
414
|
actived.args = params
|
|
415
415
|
actived.column = column
|
|
416
|
-
if (
|
|
416
|
+
if (isPos) {
|
|
417
417
|
setTimeout(() => {
|
|
418
418
|
$xeTable.handleFocus(params, evnt)
|
|
419
419
|
})
|
|
@@ -441,7 +441,7 @@ hooks.add('tableEditModule', {
|
|
|
441
441
|
columnIndex: $xeTable.getColumnIndex(column),
|
|
442
442
|
cell,
|
|
443
443
|
$table: $xeTable
|
|
444
|
-
}, null,
|
|
444
|
+
}, null, isPos, isPos)
|
|
445
445
|
internalData._lastCallTime = Date.now()
|
|
446
446
|
}
|
|
447
447
|
return nextTick()
|
|
@@ -776,10 +776,12 @@ hooks.add('tableEditModule', {
|
|
|
776
776
|
setEditRow (row, fieldOrColumn) {
|
|
777
777
|
const { visibleColumn } = internalData
|
|
778
778
|
let column: any = XEUtils.find(visibleColumn, column => isEnableConf(column.editRender))
|
|
779
|
+
let isPos = false
|
|
779
780
|
if (fieldOrColumn) {
|
|
781
|
+
isPos = true
|
|
780
782
|
column = XEUtils.isString(fieldOrColumn) ? $xeTable.getColumnByField(fieldOrColumn) : fieldOrColumn
|
|
781
783
|
}
|
|
782
|
-
return handleEditCell(row, column,
|
|
784
|
+
return handleEditCell(row, column, isPos)
|
|
783
785
|
},
|
|
784
786
|
setActiveCell (row, fieldOrColumn) {
|
|
785
787
|
if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
@@ -824,7 +826,7 @@ hooks.add('tableEditModule', {
|
|
|
824
826
|
* 处理激活编辑
|
|
825
827
|
*/
|
|
826
828
|
handleEdit (params, evnt) {
|
|
827
|
-
return handleEditActive(params, evnt, true)
|
|
829
|
+
return handleEditActive(params, evnt, true, true)
|
|
828
830
|
},
|
|
829
831
|
/**
|
|
830
832
|
* @deprecated
|
|
@@ -9279,7 +9279,7 @@ export default defineComponent({
|
|
|
9279
9279
|
const el = refElem.value
|
|
9280
9280
|
tablePrivateMethods.clearHoverRow()
|
|
9281
9281
|
if (el) {
|
|
9282
|
-
XEUtils.arrayEach(el.querySelectorAll(
|
|
9282
|
+
XEUtils.arrayEach(el.querySelectorAll(`.vxe-body--row[rowid="${rowid}"]`), elem => addClass(elem, 'row--hover'))
|
|
9283
9283
|
}
|
|
9284
9284
|
internalData.hoverRow = row
|
|
9285
9285
|
},
|
|
@@ -648,15 +648,6 @@
|
|
|
648
648
|
.vxe-table {
|
|
649
649
|
.vxe-table--header-wrapper {
|
|
650
650
|
color: var(--vxe-ui-table-header-font-color);
|
|
651
|
-
&::after {
|
|
652
|
-
content: "";
|
|
653
|
-
position: absolute;
|
|
654
|
-
left: 0;
|
|
655
|
-
bottom: 0;
|
|
656
|
-
height: 0;
|
|
657
|
-
width: 100%;
|
|
658
|
-
border-bottom: var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color);
|
|
659
|
-
}
|
|
660
651
|
}
|
|
661
652
|
/*排序*/
|
|
662
653
|
.vxe-cell--sort {
|
|
@@ -993,11 +984,6 @@
|
|
|
993
984
|
}
|
|
994
985
|
}
|
|
995
986
|
}
|
|
996
|
-
&.header-cell--area {
|
|
997
|
-
.vxe-table--header-wrapper {
|
|
998
|
-
user-select: none;
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
987
|
&.body-cell--area {
|
|
1002
988
|
.vxe-table--body-wrapper {
|
|
1003
989
|
user-select: none;
|
|
@@ -1249,11 +1235,6 @@
|
|
|
1249
1235
|
.vxe-table--border-line {
|
|
1250
1236
|
display: none;
|
|
1251
1237
|
}
|
|
1252
|
-
.vxe-table--header-wrapper {
|
|
1253
|
-
&::after {
|
|
1254
|
-
display: none;
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
1238
|
}
|
|
1258
1239
|
|
|
1259
1240
|
&.size--medium {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|