@vxe-ui/plugin-menu 3.3.0 → 3.3.2
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/LICENSE +20 -20
- package/README.md +35 -35
- package/dist/index.umd.js +12 -4
- package/dist/index.umd.min.js +1 -1
- package/es/index.esm.js +1472 -0
- package/es/index.js +1472 -0
- package/es/style.css +0 -0
- package/es/style.min.css +0 -0
- package/lib/index.common.js +12 -4
- package/lib/index.js +1704 -0
- package/lib/index.umd.js +1731 -0
- package/lib/index.umd.min.js +1 -0
- package/lib/style.css +0 -0
- package/lib/style.min.css +0 -0
- package/package.json +77 -75
- package/src/index.ts +1482 -0
- package/types/index.d.ts +15 -15
package/es/style.css
ADDED
|
File without changes
|
package/es/style.min.css
ADDED
|
File without changes
|
package/lib/index.common.js
CHANGED
|
@@ -469,11 +469,11 @@ var VxeUIPluginMenu = exports.VxeUIPluginMenu = {
|
|
|
469
469
|
var pVersion = 3;
|
|
470
470
|
var sVersion = 13;
|
|
471
471
|
if (!VxeUI.checkVersion(VxeUI.tableVersion, pVersion, sVersion)) {
|
|
472
|
-
console.error("[@vxe-ui/plugin-menu 3.3.
|
|
472
|
+
console.error("[@vxe-ui/plugin-menu 3.3.2] ".concat(VxeUI.getI18n('vxe.error.errorVersion', ["vxe-table@".concat(VxeUI.tableVersion || '?'), "vxe-table v".concat(pVersion, ".").concat(sVersion, "+")])));
|
|
473
473
|
}
|
|
474
474
|
} else {
|
|
475
475
|
if (!/^(3)\./.test(VxeUI.uiVersion || VxeUI.tableVersion)) {
|
|
476
|
-
console.error('[@vxe-ui/plugin-menu 3.3.
|
|
476
|
+
console.error('[@vxe-ui/plugin-menu 3.3.2] Requires vxe-table 3.9.0+ version. https://vxeui.com/other3/#/plugin-menu/install');
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
pluginConfig(options);
|
|
@@ -1586,7 +1586,11 @@ var VxeUIPluginMenu = exports.VxeUIPluginMenu = {
|
|
|
1586
1586
|
tableMenuMethod: function tableMenuMethod(params) {
|
|
1587
1587
|
var $event = params.$event,
|
|
1588
1588
|
$table = params.$table;
|
|
1589
|
-
$table.
|
|
1589
|
+
if ($table.triggerFnrOpenEvent) {
|
|
1590
|
+
$table.triggerFnrOpenEvent($event, 'find');
|
|
1591
|
+
} else {
|
|
1592
|
+
$table.triggerFNROpenEvent($event, 'find');
|
|
1593
|
+
}
|
|
1590
1594
|
}
|
|
1591
1595
|
},
|
|
1592
1596
|
/**
|
|
@@ -1596,7 +1600,11 @@ var VxeUIPluginMenu = exports.VxeUIPluginMenu = {
|
|
|
1596
1600
|
tableMenuMethod: function tableMenuMethod(params) {
|
|
1597
1601
|
var $event = params.$event,
|
|
1598
1602
|
$table = params.$table;
|
|
1599
|
-
$table.
|
|
1603
|
+
if ($table.triggerFnrOpenEvent) {
|
|
1604
|
+
$table.triggerFnrOpenEvent($event, 'replace');
|
|
1605
|
+
} else {
|
|
1606
|
+
$table.triggerFNROpenEvent($event, 'replace');
|
|
1607
|
+
}
|
|
1600
1608
|
}
|
|
1601
1609
|
},
|
|
1602
1610
|
/**
|