@ag-grid-enterprise/side-bar
Advanced tools
Comparing version 25.1.0 to 25.2.0
@@ -7,2 +7,3 @@ import { Component, IComponent, ISideBar, IToolPanel } from "@ag-grid-community/core"; | ||
private sideBarButtonsComp; | ||
private gridApi; | ||
private toolPanelWrappers; | ||
@@ -24,5 +25,4 @@ private static readonly TEMPLATE; | ||
openedItem(): string | null; | ||
reset(): void; | ||
private destroyToolPanelWrappers; | ||
protected destroy(): void; | ||
} |
@@ -33,4 +33,10 @@ "use strict"; | ||
SideBarComp.prototype.postConstruct = function () { | ||
var _this = this; | ||
this.sideBarButtonsComp.addEventListener(sideBarButtonsComp_1.SideBarButtonsComp.EVENT_SIDE_BAR_BUTTON_CLICKED, this.onToolPanelButtonClicked.bind(this)); | ||
this.setSideBarDef(); | ||
this.gridOptionsWrapper.addEventListener('sideBar', function () { | ||
_this.clearDownUi(); | ||
_this.setSideBarDef(); | ||
}); | ||
this.gridApi.registerSideBarComp(this); | ||
}; | ||
@@ -163,7 +169,2 @@ SideBarComp.prototype.onToolPanelButtonClicked = function (event) { | ||
}; | ||
// get called after user sets new sideBarDef via the API | ||
SideBarComp.prototype.reset = function () { | ||
this.clearDownUi(); | ||
this.setSideBarDef(); | ||
}; | ||
SideBarComp.prototype.destroyToolPanelWrappers = function () { | ||
@@ -186,2 +187,5 @@ var _this = this; | ||
__decorate([ | ||
core_1.Autowired('gridApi') | ||
], SideBarComp.prototype, "gridApi", void 0); | ||
__decorate([ | ||
core_1.PostConstruct | ||
@@ -188,0 +192,0 @@ ], SideBarComp.prototype, "postConstruct", null); |
@@ -7,2 +7,3 @@ import { Component, IComponent, ISideBar, IToolPanel } from "@ag-grid-community/core"; | ||
private sideBarButtonsComp; | ||
private gridApi; | ||
private toolPanelWrappers; | ||
@@ -24,5 +25,4 @@ private static readonly TEMPLATE; | ||
openedItem(): string | null; | ||
reset(): void; | ||
private destroyToolPanelWrappers; | ||
protected destroy(): void; | ||
} |
@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
import { _, Component, Events, ModuleNames, ModuleRegistry, PostConstruct, RefSelector } from "@ag-grid-community/core"; | ||
import { _, Component, Events, ModuleNames, ModuleRegistry, PostConstruct, RefSelector, Autowired } from "@ag-grid-community/core"; | ||
import { SideBarButtonsComp } from "./sideBarButtonsComp"; | ||
@@ -32,4 +32,10 @@ import { ToolPanelWrapper } from "./toolPanelWrapper"; | ||
SideBarComp.prototype.postConstruct = function () { | ||
var _this = this; | ||
this.sideBarButtonsComp.addEventListener(SideBarButtonsComp.EVENT_SIDE_BAR_BUTTON_CLICKED, this.onToolPanelButtonClicked.bind(this)); | ||
this.setSideBarDef(); | ||
this.gridOptionsWrapper.addEventListener('sideBar', function () { | ||
_this.clearDownUi(); | ||
_this.setSideBarDef(); | ||
}); | ||
this.gridApi.registerSideBarComp(this); | ||
}; | ||
@@ -162,7 +168,2 @@ SideBarComp.prototype.onToolPanelButtonClicked = function (event) { | ||
}; | ||
// get called after user sets new sideBarDef via the API | ||
SideBarComp.prototype.reset = function () { | ||
this.clearDownUi(); | ||
this.setSideBarDef(); | ||
}; | ||
SideBarComp.prototype.destroyToolPanelWrappers = function () { | ||
@@ -185,2 +186,5 @@ var _this = this; | ||
__decorate([ | ||
Autowired('gridApi') | ||
], SideBarComp.prototype, "gridApi", void 0); | ||
__decorate([ | ||
PostConstruct | ||
@@ -187,0 +191,0 @@ ], SideBarComp.prototype, "postConstruct", null); |
{ | ||
"name": "@ag-grid-enterprise/side-bar", | ||
"version": "25.1.0", | ||
"version": "25.2.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components", | ||
@@ -45,4 +45,4 @@ "main": "./dist/cjs/main.js", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~25.1.0", | ||
"@ag-grid-enterprise/core": "~25.1.0" | ||
"@ag-grid-community/core": "~25.2.0", | ||
"@ag-grid-enterprise/core": "~25.2.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
@@ -12,3 +12,3 @@ AG Grid Enterprise | ||
[Angular 1](https://www.ag-grid.com/documentation/angular/angularjs/) | [Angular 2](https://www.ag-grid.com/documentation/angular/getting-started/) | [Javascript](https://www.ag-grid.com/documentation/javascript/getting-started/) | [Polymer](https://www.ag-grid.com/documentation/javascript/polymer-getting-started/) | [React](https://www.ag-grid.com/documentation/react/getting-started/) | [TypeScript](https://www.ag-grid.com/documentation/javascript/building-typescript/) | [VueJS](https://www.ag-grid.com/documentation/vue/getting-started/) | ||
[Angular 1](https://www.ag-grid.com/angular-grid/angularjs/) | [Angular 2](https://www.ag-grid.com/angular-grid/getting-started/) | [Javascript](https://www.ag-grid.com/javascript-grid/getting-started/) | [Polymer](https://www.ag-grid.com/javascript-grid/polymer-getting-started/) | [React](https://www.ag-grid.com/react-grid/getting-started/) | [TypeScript](https://www.ag-grid.com/javascript-grid/building-typescript/) | [VueJS](https://www.ag-grid.com/vue-grid/getting-started/) | ||
@@ -15,0 +15,0 @@ This is not free software, this software is covered by copyright and to use you need a commercial license. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
6160738
97010
+ Added@ag-grid-community/core@25.2.0(transitive)
+ Added@ag-grid-enterprise/core@25.2.0(transitive)
- Removed@ag-grid-community/core@25.1.0(transitive)
- Removed@ag-grid-enterprise/core@25.1.0(transitive)