vxe-table 4.19.12 → 4.19.13
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 +14 -10
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- 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/menu/panel.js +5 -5
- package/es/table/src/table.js +7 -3
- package/es/table/style.css +11 -7
- 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 +11 -7
- 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 -10
- 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/menu/panel.js +5 -5
- package/lib/table/module/menu/panel.min.js +1 -1
- package/lib/table/src/table.js +3 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +11 -7
- 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 +11 -7
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/table/module/menu/panel.ts +5 -5
- package/packages/table/src/table.ts +7 -3
- package/styles/components/table-module/menu.scss +5 -2
- /package/es/{iconfont.1781140839085.ttf → iconfont.1781229243647.ttf} +0 -0
- /package/es/{iconfont.1781140839085.woff → iconfont.1781229243647.woff} +0 -0
- /package/es/{iconfont.1781140839085.woff2 → iconfont.1781229243647.woff2} +0 -0
- /package/lib/{iconfont.1781140839085.ttf → iconfont.1781229243647.ttf} +0 -0
- /package/lib/{iconfont.1781140839085.woff → iconfont.1781229243647.woff} +0 -0
- /package/lib/{iconfont.1781140839085.woff2 → iconfont.1781229243647.woff2} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.13",
|
|
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",
|
|
@@ -53,7 +53,7 @@ export default defineVxeComponent({
|
|
|
53
53
|
return options.every(item => item.visible === false)
|
|
54
54
|
? renderEmptyElement($xeTable)
|
|
55
55
|
: h('ul', {
|
|
56
|
-
class: 'vxe-context-menu
|
|
56
|
+
class: 'vxe-table--context-menu-group-wrapper',
|
|
57
57
|
key: gIndex
|
|
58
58
|
}, options.map((item, index) => {
|
|
59
59
|
const { children, loading } = item
|
|
@@ -66,7 +66,7 @@ export default defineVxeComponent({
|
|
|
66
66
|
return item.visible === false
|
|
67
67
|
? renderEmptyElement($xeTable)
|
|
68
68
|
: h('li', {
|
|
69
|
-
class: [item.className, {
|
|
69
|
+
class: ['vxe-table--context-menu--option', item.className, {
|
|
70
70
|
'link--loading': loading,
|
|
71
71
|
'link--disabled': item.disabled,
|
|
72
72
|
'link--active': item === ctxMenuStore.selected
|
|
@@ -116,12 +116,12 @@ export default defineVxeComponent({
|
|
|
116
116
|
suffixOpts.content ? h('span', `${suffixOpts.content}`) : renderEmptyElement($xeTable)
|
|
117
117
|
])
|
|
118
118
|
]),
|
|
119
|
-
hasChildMenus &&
|
|
119
|
+
hasChildMenus && children
|
|
120
120
|
? h('ul', {
|
|
121
121
|
class: ['vxe-table--context-menu-clild-wrapper', {
|
|
122
122
|
'is--show': item === ctxMenuStore.selected && ctxMenuStore.showChild
|
|
123
123
|
}]
|
|
124
|
-
},
|
|
124
|
+
}, children.map((child, cIndex) => {
|
|
125
125
|
const { loading: childLoading } = child
|
|
126
126
|
const childPrefixOpts = Object.assign({}, child.prefixConfig)
|
|
127
127
|
const childPrefixIcon = childPrefixOpts.icon || child.prefixIcon
|
|
@@ -131,7 +131,7 @@ export default defineVxeComponent({
|
|
|
131
131
|
return child.visible === false
|
|
132
132
|
? null
|
|
133
133
|
: h('li', {
|
|
134
|
-
class: [child.className, {
|
|
134
|
+
class: ['vxe-table--context-menu--option', child.className, {
|
|
135
135
|
'link--loading': childLoading,
|
|
136
136
|
'link--disabled': child.disabled,
|
|
137
137
|
'link--active': child === ctxMenuStore.selectChild
|
|
@@ -4349,7 +4349,11 @@ export default defineVxeComponent({
|
|
|
4349
4349
|
const { transform } = treeOpts
|
|
4350
4350
|
const allList = fullData || internalData.tableFullData
|
|
4351
4351
|
// 如果gt为0,则总是启用
|
|
4352
|
-
|
|
4352
|
+
let scrollYLoad = !!virtualYOpts.enabled && virtualYOpts.gt > -1 && (virtualYOpts.gt === 0 || virtualYOpts.gt < allList.length)
|
|
4353
|
+
if (scrollYLoad && (treeConfig && !transform)) {
|
|
4354
|
+
errLog('vxe.error.notSupportProp', ['[table] virtual-y-config.enabled=true', 'tree-config.transform=false', 'tree-config.transform=true'])
|
|
4355
|
+
scrollYLoad = false
|
|
4356
|
+
}
|
|
4353
4357
|
reactData.scrollYLoad = scrollYLoad
|
|
4354
4358
|
syncGanttScrollYStatus()
|
|
4355
4359
|
return scrollYLoad
|
|
@@ -9602,7 +9606,7 @@ export default defineVxeComponent({
|
|
|
9602
9606
|
const hasChildField = treeOpts.hasChild || treeOpts.hasChildField
|
|
9603
9607
|
XEUtils.eachTree(tableFullTreeData, (row, index, items, path, parentRow, nodes) => {
|
|
9604
9608
|
const rowid = handleUpdateRowId(row)
|
|
9605
|
-
if (
|
|
9609
|
+
if (lazy) {
|
|
9606
9610
|
if (row[hasChildField] && row[childrenField] === undefined) {
|
|
9607
9611
|
row[childrenField] = null
|
|
9608
9612
|
}
|
|
@@ -14471,7 +14475,7 @@ export default defineVxeComponent({
|
|
|
14471
14475
|
warnLog('vxe.error.delProp', ['edit-config.activeMethod', 'edit-config.beforeEditMethod'])
|
|
14472
14476
|
}
|
|
14473
14477
|
if (props.treeConfig && checkboxOpts.isShiftKey) {
|
|
14474
|
-
errLog('vxe.error.
|
|
14478
|
+
errLog('vxe.error.reqSupportProp', ['tree-config', 'checkbox-config.isShiftKey=false'])
|
|
14475
14479
|
}
|
|
14476
14480
|
if (checkboxOpts.halfField) {
|
|
14477
14481
|
warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField'])
|
|
@@ -18,13 +18,16 @@
|
|
|
18
18
|
font-family: var(--vxe-ui-font-family);
|
|
19
19
|
background-color: var(--vxe-ui-layout-background-color);
|
|
20
20
|
}
|
|
21
|
+
.vxe-context-menu--option {
|
|
22
|
+
color: var(--vxe-ui-font-color);
|
|
23
|
+
}
|
|
21
24
|
.vxe-context-menu--link {
|
|
22
25
|
display: flex;
|
|
23
26
|
flex-direction: row;
|
|
24
27
|
width: var(--vxe-ui-table-menu-item-width);
|
|
25
28
|
line-height: 26px;
|
|
26
29
|
padding: 0 0.8em;
|
|
27
|
-
color:
|
|
30
|
+
color: inherit;
|
|
28
31
|
cursor: pointer;
|
|
29
32
|
.vxe-context-menu--link-prefix,
|
|
30
33
|
.vxe-context-menu--link-suffix {
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
white-space: nowrap;
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
|
-
.vxe-context-menu
|
|
47
|
+
.vxe-table--context-menu-group-wrapper,
|
|
45
48
|
.vxe-table--context-menu-clild-wrapper {
|
|
46
49
|
margin: 0;
|
|
47
50
|
padding: 0;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|