vxe-table 3.20.12 → 3.20.14
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.esm.js +1 -2
- package/es/style.css +1 -1
- package/es/table/module/menu/mixin.js +3 -2
- package/es/table/src/methods.js +2 -2
- package/es/table/style.css +48 -18
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +48 -18
- package/lib/index.common.js +1 -2
- package/lib/index.umd.js +1622 -207
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/menu/mixin.js +3 -2
- package/lib/table/module/menu/mixin.min.js +1 -1
- package/lib/table/src/methods.js +1 -1
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +48 -18
- 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/v-x-e-table/index.js +1 -2
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +1 -2
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +1 -2
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +1 -2
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-table/index.js +1 -2
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +48 -18
- package/lib/vxe-toolbar/index.js +1 -2
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +1 -2
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +1 -2
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +3 -2
- package/packages/table/module/menu/mixin.ts +3 -2
- package/packages/table/src/methods.ts +2 -2
- /package/es/{iconfont.1776048358910.ttf → iconfont.1779778138885.ttf} +0 -0
- /package/es/{iconfont.1776048358910.woff → iconfont.1779778138885.woff} +0 -0
- /package/es/{iconfont.1776048358910.woff2 → iconfont.1779778138885.woff2} +0 -0
- /package/lib/{iconfont.1776048358910.ttf → iconfont.1779778138885.ttf} +0 -0
- /package/lib/{iconfont.1776048358910.woff → iconfont.1779778138885.woff} +0 -0
- /package/lib/{iconfont.1776048358910.woff2 → iconfont.1779778138885.woff2} +0 -0
|
@@ -312,8 +312,9 @@ export default {
|
|
|
312
312
|
if (!menu.loading && !menu.disabled && (menu.code || !menu.children || !menu.children.length)) {
|
|
313
313
|
const gMenuOpts = menus.get(menu.code)
|
|
314
314
|
const params = Object.assign({}, internalData._currMenuParams, { menu, $table: $xeTable, $grid: $xeGrid, $gantt: $xeGantt, $event: evnt })
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
const tmMethod = gMenuOpts ? (gMenuOpts.tableMenuMethod || gMenuOpts.menuMethod) : null
|
|
316
|
+
if (tmMethod) {
|
|
317
|
+
tmMethod(params, evnt)
|
|
317
318
|
}
|
|
318
319
|
// 在 v4 中废弃事件 context-menu-click
|
|
319
320
|
if ($xeTable.$listeners['context-menu-click']) {
|
|
@@ -11460,12 +11460,12 @@ const tableMethods: any = {
|
|
|
11460
11460
|
const reactData = $xeTable as unknown as TableReactData
|
|
11461
11461
|
const internalData = $xeTable as unknown as TableInternalData
|
|
11462
11462
|
|
|
11463
|
-
const {
|
|
11463
|
+
const { tableFullTreeData } = internalData
|
|
11464
11464
|
const treeOpts = $xeTable.computeTreeOpts
|
|
11465
11465
|
const { transform, lazy } = treeOpts
|
|
11466
11466
|
const childrenField = treeOpts.children || treeOpts.childrenField
|
|
11467
11467
|
const expandeds: any[] = []
|
|
11468
|
-
XEUtils.eachTree(
|
|
11468
|
+
XEUtils.eachTree(tableFullTreeData, (row) => {
|
|
11469
11469
|
const rowChildren = row[childrenField]
|
|
11470
11470
|
if (lazy || (rowChildren && rowChildren.length)) {
|
|
11471
11471
|
expandeds.push(row)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|