@ag-grid-enterprise/menu
Advanced tools
Comparing version 22.0.0 to 22.1.0
@@ -5,1 +5,2 @@ "use strict"; | ||
exports.MenuModule = menuModule_1.MenuModule; | ||
//# sourceMappingURL=main.js.map |
@@ -174,1 +174,2 @@ "use strict"; | ||
}(core_1.Component)); | ||
//# sourceMappingURL=contextMenu.js.map |
@@ -448,1 +448,2 @@ "use strict"; | ||
exports.EnterpriseMenu = EnterpriseMenu; | ||
//# sourceMappingURL=enterpriseMenu.js.map |
@@ -144,1 +144,2 @@ "use strict"; | ||
exports.MenuItemComponent = MenuItemComponent; | ||
//# sourceMappingURL=menuItemComponent.js.map |
@@ -44,2 +44,3 @@ "use strict"; | ||
var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc(); | ||
var skipHeaderOnAutoSize = this.gridOptionsWrapper.isSkipHeaderOnAutoSize(); | ||
switch (key) { | ||
@@ -84,3 +85,3 @@ case 'pinSubMenu': | ||
name: localeTextFunc('autosizeThiscolumn', 'Autosize This Column'), | ||
action: function () { return _this.columnController.autoSizeColumn(column, "contextMenu"); } | ||
action: function () { return _this.columnController.autoSizeColumn(column, skipHeaderOnAutoSize, "contextMenu"); } | ||
}; | ||
@@ -90,3 +91,3 @@ case 'autoSizeAll': | ||
name: localeTextFunc('autosizeAllColumns', 'Autosize All Columns'), | ||
action: function () { return _this.columnController.autoSizeAllColumns("contextMenu"); } | ||
action: function () { return _this.columnController.autoSizeAllColumns(skipHeaderOnAutoSize, "contextMenu"); } | ||
}; | ||
@@ -416,1 +417,2 @@ case 'rowGroup': | ||
exports.MenuItemMapper = MenuItemMapper; | ||
//# sourceMappingURL=menuItemMapper.js.map |
@@ -16,2 +16,3 @@ import { Component, MenuItemDef } from "@ag-grid-community/core"; | ||
private mouseEnterItem; | ||
private mouseLeaveItem; | ||
private removeActiveItem; | ||
@@ -18,0 +19,0 @@ private addHoverForChildPopup; |
@@ -69,3 +69,3 @@ "use strict"; | ||
cMenuItem.addGuiEventListener('mouseenter', this.mouseEnterItem.bind(this, menuItemDef, cMenuItem)); | ||
cMenuItem.addGuiEventListener('mouseleave', function () { return _this.timerCount++; }); | ||
cMenuItem.addGuiEventListener('mouseleave', this.mouseLeaveItem.bind(this)); | ||
}; | ||
@@ -87,2 +87,6 @@ MenuList.prototype.mouseEnterItem = function (menuItemParams, menuItem) { | ||
}; | ||
MenuList.prototype.mouseLeaveItem = function () { | ||
this.timerCount++; | ||
this.removeActiveItem(); | ||
}; | ||
MenuList.prototype.removeActiveItem = function () { | ||
@@ -151,1 +155,2 @@ if (this.activeMenuItem) { | ||
exports.MenuList = MenuList; | ||
//# sourceMappingURL=menuList.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=menuModule.js.map |
@@ -42,2 +42,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc(); | ||
var skipHeaderOnAutoSize = this.gridOptionsWrapper.isSkipHeaderOnAutoSize(); | ||
switch (key) { | ||
@@ -82,3 +83,3 @@ case 'pinSubMenu': | ||
name: localeTextFunc('autosizeThiscolumn', 'Autosize This Column'), | ||
action: function () { return _this.columnController.autoSizeColumn(column, "contextMenu"); } | ||
action: function () { return _this.columnController.autoSizeColumn(column, skipHeaderOnAutoSize, "contextMenu"); } | ||
}; | ||
@@ -88,3 +89,3 @@ case 'autoSizeAll': | ||
name: localeTextFunc('autosizeAllColumns', 'Autosize All Columns'), | ||
action: function () { return _this.columnController.autoSizeAllColumns("contextMenu"); } | ||
action: function () { return _this.columnController.autoSizeAllColumns(skipHeaderOnAutoSize, "contextMenu"); } | ||
}; | ||
@@ -91,0 +92,0 @@ case 'rowGroup': |
@@ -16,2 +16,3 @@ import { Component, MenuItemDef } from "@ag-grid-community/core"; | ||
private mouseEnterItem; | ||
private mouseLeaveItem; | ||
private removeActiveItem; | ||
@@ -18,0 +19,0 @@ private addHoverForChildPopup; |
@@ -67,3 +67,3 @@ var __extends = (this && this.__extends) || (function () { | ||
cMenuItem.addGuiEventListener('mouseenter', this.mouseEnterItem.bind(this, menuItemDef, cMenuItem)); | ||
cMenuItem.addGuiEventListener('mouseleave', function () { return _this.timerCount++; }); | ||
cMenuItem.addGuiEventListener('mouseleave', this.mouseLeaveItem.bind(this)); | ||
}; | ||
@@ -85,2 +85,6 @@ MenuList.prototype.mouseEnterItem = function (menuItemParams, menuItem) { | ||
}; | ||
MenuList.prototype.mouseLeaveItem = function () { | ||
this.timerCount++; | ||
this.removeActiveItem(); | ||
}; | ||
MenuList.prototype.removeActiveItem = function () { | ||
@@ -87,0 +91,0 @@ if (this.activeMenuItem) { |
{ | ||
"name": "@ag-grid-enterprise/menu", | ||
"version": "22.0.0", | ||
"version": "22.1.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components", | ||
"main": "./dist/cjs/main.js", | ||
"module": "./dist/es6/main.js", | ||
"types": "./dist/es6/main.d.ts", | ||
"scripts": { | ||
"build-cjs": "tsc -p tsconfig.es5.json", | ||
"build-cjs": "tsc -p tsconfig.json", | ||
"build-es6": "tsc -p tsconfig.es6.json", | ||
"build-docs": "tsc -p tsconfig.docs.json", | ||
"package": "node ../../common-build/rollup/build.js", | ||
"package": "node ../../module-build/rollup/build.js", | ||
"build": "npm run build-cjs && npm run build-es6" | ||
@@ -44,4 +44,4 @@ }, | ||
"dependencies": { | ||
"@ag-grid-community/core": "~22.0.0", | ||
"@ag-grid-enterprise/core": "~22.0.0" | ||
"@ag-grid-community/core": "~22.1.0", | ||
"@ag-grid-enterprise/core": "~22.1.0" | ||
}, | ||
@@ -54,2 +54,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5307048
44
84212
1
+ Added@ag-grid-community/core@22.1.1(transitive)
+ Added@ag-grid-enterprise/core@22.1.1(transitive)
- Removed@ag-grid-community/core@22.0.0(transitive)
- Removed@ag-grid-enterprise/core@22.0.0(transitive)