vxe-table 3.20.13 → 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/style.css +1 -1
- package/es/table/module/menu/mixin.js +3 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +5 -4
- 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/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/package.json +1 -1
- package/packages/table/module/menu/mixin.ts +3 -2
- /package/es/{iconfont.1776926445391.ttf → iconfont.1779778138885.ttf} +0 -0
- /package/es/{iconfont.1776926445391.woff → iconfont.1779778138885.woff} +0 -0
- /package/es/{iconfont.1776926445391.woff2 → iconfont.1779778138885.woff2} +0 -0
- /package/lib/{iconfont.1776926445391.ttf → iconfont.1779778138885.ttf} +0 -0
- /package/lib/{iconfont.1776926445391.woff → iconfont.1779778138885.woff} +0 -0
- /package/lib/{iconfont.1776926445391.woff2 → iconfont.1779778138885.woff2} +0 -0
|
@@ -309,8 +309,9 @@ export default {
|
|
|
309
309
|
if (!menu.loading && !menu.disabled && (menu.code || !menu.children || !menu.children.length)) {
|
|
310
310
|
const gMenuOpts = menus.get(menu.code);
|
|
311
311
|
const params = Object.assign({}, internalData._currMenuParams, { menu, $table: $xeTable, $grid: $xeGrid, $gantt: $xeGantt, $event: evnt });
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
const tmMethod = gMenuOpts ? (gMenuOpts.tableMenuMethod || gMenuOpts.menuMethod) : null;
|
|
313
|
+
if (tmMethod) {
|
|
314
|
+
tmMethod(params, evnt);
|
|
314
315
|
}
|
|
315
316
|
// 在 v4 中废弃事件 context-menu-click
|
|
316
317
|
if ($xeTable.$listeners['context-menu-click']) {
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3311,7 +3311,7 @@ function getClass(property, params) {
|
|
|
3311
3311
|
/* unused harmony import specifier */ var VxeUI;
|
|
3312
3312
|
|
|
3313
3313
|
|
|
3314
|
-
const version = "3.20.
|
|
3314
|
+
const version = "3.20.14";
|
|
3315
3315
|
core_.VxeUI.version = version;
|
|
3316
3316
|
core_.VxeUI.tableVersion = version;
|
|
3317
3317
|
core_.VxeUI.setConfig({
|
|
@@ -4067,7 +4067,7 @@ var es_iterator_reduce = __webpack_require__(8237);
|
|
|
4067
4067
|
const {
|
|
4068
4068
|
log: log_log
|
|
4069
4069
|
} = core_.VxeUI;
|
|
4070
|
-
const log_version = `table v${"3.20.
|
|
4070
|
+
const log_version = `table v${"3.20.14"}`;
|
|
4071
4071
|
const warnLog = log_log.create('warn', log_version);
|
|
4072
4072
|
const errLog = log_log.create('error', log_version);
|
|
4073
4073
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -14222,8 +14222,9 @@ const {
|
|
|
14222
14222
|
$gantt: $xeGantt,
|
|
14223
14223
|
$event: evnt
|
|
14224
14224
|
});
|
|
14225
|
-
|
|
14226
|
-
|
|
14225
|
+
const tmMethod = gMenuOpts ? gMenuOpts.tableMenuMethod || gMenuOpts.menuMethod : null;
|
|
14226
|
+
if (tmMethod) {
|
|
14227
|
+
tmMethod(params, evnt);
|
|
14227
14228
|
}
|
|
14228
14229
|
// 在 v4 中废弃事件 context-menu-click
|
|
14229
14230
|
if ($xeTable.$listeners['context-menu-click']) {
|