New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ag-grid-enterprise/status-bar

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-enterprise/status-bar - npm Package Compare versions

Comparing version 23.0.2 to 23.1.0

2

dist/cjs/statusBar/providedPanels/filteredRowsComp.js

@@ -40,3 +40,3 @@ "use strict";

var listener = this.onDataChanged.bind(this);
this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, listener);
this.events = [this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, listener)];
};

@@ -43,0 +43,0 @@ FilteredRowsComp.prototype.onDataChanged = function () {

import { Component, GridOptionsWrapper } from '@ag-grid-community/core';
export declare class NameValueComp extends Component {
protected gridOptionsWrapper: GridOptionsWrapper;
protected events: (() => void)[];
private static TEMPLATE;

@@ -10,2 +11,3 @@ private eLabel;

setValue(value: any): void;
destroy(): void;
}

@@ -26,3 +26,5 @@ "use strict";

function NameValueComp() {
return _super.call(this, NameValueComp.TEMPLATE) || this;
var _this = _super.call(this, NameValueComp.TEMPLATE) || this;
_this.events = [];
return _this;
}

@@ -38,2 +40,7 @@ NameValueComp.prototype.setLabel = function (key, defaultValue) {

};
NameValueComp.prototype.destroy = function () {
this.events.forEach(function (func) { return func(); });
this.events = [];
_super.prototype.destroy.call(this);
};
NameValueComp.TEMPLATE = "<div class=\"ag-status-name-value\"> \n <span ref=\"eLabel\"></span>:&nbsp;\n <span ref=\"eValue\" class=\"ag-status-name-value-value\"></span>\n </div>";

@@ -40,0 +47,0 @@ __decorate([

@@ -41,4 +41,6 @@ "use strict";

var eventListener = this.onRowSelectionChanged.bind(this);
this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, eventListener);
this.eventService.addEventListener(core_1.Events.EVENT_SELECTION_CHANGED, eventListener);
this.events = [
this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, eventListener),
this.eventService.addEventListener(core_1.Events.EVENT_SELECTION_CHANGED, eventListener)
];
};

@@ -45,0 +47,0 @@ SelectedRowsComp.prototype.isValidRowModel = function () {

@@ -40,3 +40,3 @@ "use strict";

var listener = this.onDataChanged.bind(this);
this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, listener);
this.events = [this.eventService.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, listener)];
};

@@ -43,0 +43,0 @@ TotalRowsComp.prototype.onDataChanged = function () {

@@ -38,3 +38,3 @@ var __extends = (this && this.__extends) || (function () {

var listener = this.onDataChanged.bind(this);
this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, listener);
this.events = [this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, listener)];
};

@@ -41,0 +41,0 @@ FilteredRowsComp.prototype.onDataChanged = function () {

import { Component, GridOptionsWrapper } from '@ag-grid-community/core';
export declare class NameValueComp extends Component {
protected gridOptionsWrapper: GridOptionsWrapper;
protected events: (() => void)[];
private static TEMPLATE;

@@ -10,2 +11,3 @@ private eLabel;

setValue(value: any): void;
destroy(): void;
}

@@ -24,3 +24,5 @@ var __extends = (this && this.__extends) || (function () {

function NameValueComp() {
return _super.call(this, NameValueComp.TEMPLATE) || this;
var _this = _super.call(this, NameValueComp.TEMPLATE) || this;
_this.events = [];
return _this;
}

@@ -36,2 +38,7 @@ NameValueComp.prototype.setLabel = function (key, defaultValue) {

};
NameValueComp.prototype.destroy = function () {
this.events.forEach(function (func) { return func(); });
this.events = [];
_super.prototype.destroy.call(this);
};
NameValueComp.TEMPLATE = "<div class=\"ag-status-name-value\"> \n <span ref=\"eLabel\"></span>:&nbsp;\n <span ref=\"eValue\" class=\"ag-status-name-value-value\"></span>\n </div>";

@@ -38,0 +45,0 @@ __decorate([

@@ -39,4 +39,6 @@ var __extends = (this && this.__extends) || (function () {

var eventListener = this.onRowSelectionChanged.bind(this);
this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, eventListener);
this.eventService.addEventListener(Events.EVENT_SELECTION_CHANGED, eventListener);
this.events = [
this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, eventListener),
this.eventService.addEventListener(Events.EVENT_SELECTION_CHANGED, eventListener)
];
};

@@ -43,0 +45,0 @@ SelectedRowsComp.prototype.isValidRowModel = function () {

@@ -38,3 +38,3 @@ var __extends = (this && this.__extends) || (function () {

var listener = this.onDataChanged.bind(this);
this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, listener);
this.events = [this.eventService.addEventListener(Events.EVENT_MODEL_UPDATED, listener)];
};

@@ -41,0 +41,0 @@ TotalRowsComp.prototype.onDataChanged = function () {

{
"name": "@ag-grid-enterprise/status-bar",
"version": "23.0.2",
"version": "23.1.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components",

@@ -44,7 +44,7 @@ "main": "./dist/cjs/main.js",

"dependencies": {
"@ag-grid-community/core": "~23.0.0",
"@ag-grid-enterprise/core": "~23.0.0"
"@ag-grid-community/core": "~23.1.0",
"@ag-grid-enterprise/core": "~23.1.0"
},
"devDependencies": {
"typescript": "^3.6.3"
"typescript": "~3.6.5"
},

@@ -51,0 +51,0 @@ "publishConfig": {

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 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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc