@ag-grid-enterprise/side-bar
Advanced tools
Comparing version 22.1.1 to 23.0.0
@@ -83,5 +83,3 @@ "use strict"; | ||
this.setTemplate(template); | ||
var toggleButton = this.eToggleButton; | ||
var iconDiv = toggleButton.querySelector('div'); | ||
iconDiv.insertAdjacentElement('afterbegin', core_1._.createIconNoSpan(this.toolPanelDef.iconKey, this.gridOptionsWrapper)); | ||
this.eIconWrapper.insertAdjacentElement('afterbegin', core_1._.createIconNoSpan(this.toolPanelDef.iconKey, this.gridOptionsWrapper)); | ||
this.addDestroyableEventListener(this.eToggleButton, 'click', this.onButtonPressed.bind(this)); | ||
@@ -93,3 +91,3 @@ }; | ||
var label = translate(def.labelKey, def.labelDefault); | ||
var res = "<div class=\"ag-side-button\">\n <button type=\"button\" ref=\"eToggleButton\">\n <div></div>\n <span>" + label + "</span>\n </button>\n </div>"; | ||
var res = "<div class=\"ag-side-button\">\n <button type=\"button\" ref=\"eToggleButton\" class=\"ag-side-button-button\">\n <div ref=\"eIconWrapper\" class=\"ag-side-button-icon-wrapper\"></div>\n <span class=\"ag-side-button-label\">" + label + "</span>\n </button>\n </div>"; | ||
return res; | ||
@@ -111,2 +109,5 @@ }; | ||
__decorate([ | ||
core_1.RefSelector('eIconWrapper') | ||
], SideBarButtonComp.prototype, "eIconWrapper", void 0); | ||
__decorate([ | ||
core_1.PostConstruct | ||
@@ -113,0 +114,0 @@ ], SideBarButtonComp.prototype, "postConstruct", null); |
@@ -81,5 +81,3 @@ var __extends = (this && this.__extends) || (function () { | ||
this.setTemplate(template); | ||
var toggleButton = this.eToggleButton; | ||
var iconDiv = toggleButton.querySelector('div'); | ||
iconDiv.insertAdjacentElement('afterbegin', _.createIconNoSpan(this.toolPanelDef.iconKey, this.gridOptionsWrapper)); | ||
this.eIconWrapper.insertAdjacentElement('afterbegin', _.createIconNoSpan(this.toolPanelDef.iconKey, this.gridOptionsWrapper)); | ||
this.addDestroyableEventListener(this.eToggleButton, 'click', this.onButtonPressed.bind(this)); | ||
@@ -91,3 +89,3 @@ }; | ||
var label = translate(def.labelKey, def.labelDefault); | ||
var res = "<div class=\"ag-side-button\">\n <button type=\"button\" ref=\"eToggleButton\">\n <div></div>\n <span>" + label + "</span>\n </button>\n </div>"; | ||
var res = "<div class=\"ag-side-button\">\n <button type=\"button\" ref=\"eToggleButton\" class=\"ag-side-button-button\">\n <div ref=\"eIconWrapper\" class=\"ag-side-button-icon-wrapper\"></div>\n <span class=\"ag-side-button-label\">" + label + "</span>\n </button>\n </div>"; | ||
return res; | ||
@@ -109,2 +107,5 @@ }; | ||
__decorate([ | ||
RefSelector('eIconWrapper') | ||
], SideBarButtonComp.prototype, "eIconWrapper", void 0); | ||
__decorate([ | ||
PostConstruct | ||
@@ -111,0 +112,0 @@ ], SideBarButtonComp.prototype, "postConstruct", null); |
{ | ||
"name": "@ag-grid-enterprise/side-bar", | ||
"version": "22.1.1", | ||
"version": "23.0.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", | ||
"types": "./dist/cjs/main.d.ts", | ||
"scripts": { | ||
@@ -44,4 +44,4 @@ "build-cjs": "tsc -p tsconfig.json", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~22.1.1", | ||
"@ag-grid-enterprise/core": "~22.1.1" | ||
"@ag-grid-community/core": "~23.0.0", | ||
"@ag-grid-enterprise/core": "~23.0.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
@@ -13,3 +13,3 @@ | ||
[Angular 1](https://www.ag-grid.com/angular-grid/) | [Angular 2](https://www.ag-grid.com/angular-grid/) | [Javascript](https://www.ag-grid.com/javascript-grid/) | [Polymer](https://www.ag-grid.com/best-polymer-data-grid/) | [React](https://www.ag-grid.com/react-grid/) | [TypeScript](https://www.ag-grid.com/ag-grid-typescript-webpack-2/) | [VueJS](https://www.ag-grid.com/vuejs-grid/) | [Web Components](https://www.ag-grid.com/best-web-component-data-grid/) | [Aurelia](https://www.ag-grid.com/best-aurelia-data-grid/) | ||
[Angular 1](https://www.ag-grid.com/angular-grid/) | [Angular 2](https://www.ag-grid.com/angular-grid/) | [Javascript](https://www.ag-grid.com/javascript-grid/) | [Polymer](https://www.ag-grid.com/best-polymer-data-grid/) | [React](https://www.ag-grid.com/react-grid/) | [TypeScript](https://www.ag-grid.com/ag-grid-building-typescript/) | [VueJS](https://www.ag-grid.com/vuejs-grid/) | [Web Components](https://www.ag-grid.com/best-web-component-data-grid/) | [Aurelia](https://www.ag-grid.com/best-aurelia-data-grid/) | ||
@@ -16,0 +16,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 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
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
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
5245945
82982
+ Added@ag-grid-community/core@23.0.2(transitive)
+ Added@ag-grid-enterprise/core@23.0.2(transitive)
- Removed@ag-grid-community/core@22.1.1(transitive)
- Removed@ag-grid-enterprise/core@22.1.1(transitive)