Huge News!Announcing our $40M Series B led by Abstract Ventures.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 30.2.1 to 31.0.0

26

dist/cjs/es5/statusBar/providedPanels/aggregationComp.js

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

// converts user supplied agg name to our reference - eg: sum => sumAggregationComp
var refComponentName = aggFuncName + "AggregationComp";
var refComponentName = "".concat(aggFuncName, "AggregationComp");
// if the user has specified the agAggregationPanelComp but no aggFuncs we show the all

@@ -172,36 +172,36 @@ // if the user has specified the agAggregationPanelComp and aggFuncs, then we only show the aggFuncs listed

__decorate([
core_1.Optional('rangeService')
(0, core_1.Optional)('rangeService')
], AggregationComp.prototype, "rangeService", void 0);
__decorate([
core_1.Autowired('valueService')
(0, core_1.Autowired)('valueService')
], AggregationComp.prototype, "valueService", void 0);
__decorate([
core_1.Autowired('cellNavigationService')
(0, core_1.Autowired)('cellNavigationService')
], AggregationComp.prototype, "cellNavigationService", void 0);
__decorate([
core_1.Autowired('rowRenderer')
(0, core_1.Autowired)('rowRenderer')
], AggregationComp.prototype, "rowRenderer", void 0);
__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], AggregationComp.prototype, "gridApi", void 0);
__decorate([
core_1.Autowired('cellPositionUtils')
(0, core_1.Autowired)('cellPositionUtils')
], AggregationComp.prototype, "cellPositionUtils", void 0);
__decorate([
core_1.Autowired('rowPositionUtils')
(0, core_1.Autowired)('rowPositionUtils')
], AggregationComp.prototype, "rowPositionUtils", void 0);
__decorate([
core_1.RefSelector('sumAggregationComp')
(0, core_1.RefSelector)('sumAggregationComp')
], AggregationComp.prototype, "sumAggregationComp", void 0);
__decorate([
core_1.RefSelector('countAggregationComp')
(0, core_1.RefSelector)('countAggregationComp')
], AggregationComp.prototype, "countAggregationComp", void 0);
__decorate([
core_1.RefSelector('minAggregationComp')
(0, core_1.RefSelector)('minAggregationComp')
], AggregationComp.prototype, "minAggregationComp", void 0);
__decorate([
core_1.RefSelector('maxAggregationComp')
(0, core_1.RefSelector)('maxAggregationComp')
], AggregationComp.prototype, "maxAggregationComp", void 0);
__decorate([
core_1.RefSelector('avgAggregationComp')
(0, core_1.RefSelector)('avgAggregationComp')
], AggregationComp.prototype, "avgAggregationComp", void 0);

@@ -208,0 +208,0 @@ __decorate([

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

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], FilteredRowsComp.prototype, "gridApi", void 0);

@@ -79,0 +79,0 @@ __decorate([

@@ -42,6 +42,6 @@ "use strict";

__decorate([
core_1.RefSelector('eLabel')
(0, core_1.RefSelector)('eLabel')
], NameValueComp.prototype, "eLabel", void 0);
__decorate([
core_1.RefSelector('eValue')
(0, core_1.RefSelector)('eValue')
], NameValueComp.prototype, "eValue", void 0);

@@ -48,0 +48,0 @@ return NameValueComp;

@@ -71,6 +71,6 @@ "use strict";

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], SelectedRowsComp.prototype, "gridApi", void 0);
__decorate([
core_1.Autowired('selectionService')
(0, core_1.Autowired)('selectionService')
], SelectedRowsComp.prototype, "selectionService", void 0);

@@ -77,0 +77,0 @@ __decorate([

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

var localeTextFunc_1 = this.localeService.getLocaleTextFunc();
this.setValue(rowCount + " " + localeTextFunc_1('of', 'of') + " " + totalRowCount);
this.setValue("".concat(rowCount, " ").concat(localeTextFunc_1('of', 'of'), " ").concat(totalRowCount));
}

@@ -85,3 +85,3 @@ };

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], TotalAndFilteredRowsComp.prototype, "gridApi", void 0);

@@ -88,0 +88,0 @@ __decorate([

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

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], TotalRowsComp.prototype, "gridApi", void 0);

@@ -67,0 +67,0 @@ __decorate([

@@ -9,5 +9,10 @@ import { Component } from '@ag-grid-community/core';

private eStatusBarRight;
private compDestroyFunctions;
constructor();
private postConstruct;
private processStatusPanels;
private handleStatusBarChanged;
resetStatusBar(): void;
private destroyComponents;
private createAndRenderComponents;
}

@@ -29,5 +29,11 @@ "use strict";

function StatusBar() {
return _super.call(this, StatusBar.TEMPLATE) || this;
var _this = _super.call(this, StatusBar.TEMPLATE) || this;
_this.compDestroyFunctions = [];
return _this;
}
StatusBar.prototype.postConstruct = function () {
this.processStatusPanels();
this.addManagedPropertyListeners(['statusBar'], this.handleStatusBarChanged.bind(this));
};
StatusBar.prototype.processStatusPanels = function () {
var _a;

@@ -50,2 +56,23 @@ var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;

};
StatusBar.prototype.handleStatusBarChanged = function () {
var _a;
var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;
var validStatusBarPanelsProvided = Array.isArray(statusPanels) && statusPanels.length > 0;
this.setDisplayed(validStatusBarPanelsProvided);
this.resetStatusBar();
if (validStatusBarPanelsProvided) {
this.processStatusPanels();
}
};
StatusBar.prototype.resetStatusBar = function () {
this.eStatusBarLeft.innerHTML = '';
this.eStatusBarCenter.innerHTML = '';
this.eStatusBarRight.innerHTML = '';
this.destroyComponents();
this.statusBarService.unregisterAllComponents();
};
StatusBar.prototype.destroyComponents = function () {
this.compDestroyFunctions.forEach(function (func) { return func(); });
this.compDestroyFunctions = [];
};
StatusBar.prototype.createAndRenderComponents = function (statusBarComponents, ePanelComponent) {

@@ -77,3 +104,3 @@ var _this = this;

ePanelComponent.appendChild(component.getGui());
_this.addDestroyFunc(destroyFunc);
_this.compDestroyFunctions.push(destroyFunc);
}

@@ -89,15 +116,15 @@ else {

__decorate([
core_1.Autowired('userComponentFactory')
(0, core_1.Autowired)('userComponentFactory')
], StatusBar.prototype, "userComponentFactory", void 0);
__decorate([
core_1.Autowired('statusBarService')
(0, core_1.Autowired)('statusBarService')
], StatusBar.prototype, "statusBarService", void 0);
__decorate([
core_1.RefSelector('eStatusBarLeft')
(0, core_1.RefSelector)('eStatusBarLeft')
], StatusBar.prototype, "eStatusBarLeft", void 0);
__decorate([
core_1.RefSelector('eStatusBarCenter')
(0, core_1.RefSelector)('eStatusBarCenter')
], StatusBar.prototype, "eStatusBarCenter", void 0);
__decorate([
core_1.RefSelector('eStatusBarRight')
(0, core_1.RefSelector)('eStatusBarRight')
], StatusBar.prototype, "eStatusBarRight", void 0);

@@ -107,4 +134,7 @@ __decorate([

], StatusBar.prototype, "postConstruct", null);
__decorate([
core_1.PreDestroy
], StatusBar.prototype, "destroyComponents", null);
return StatusBar;
}(core_1.Component));
exports.StatusBar = StatusBar;

@@ -6,3 +6,5 @@ import { BeanStub, IStatusPanelComp, IStatusBarService } from '@ag-grid-community/core';

registerStatusPanel(key: string, component: IStatusPanelComp): void;
unregisterStatusPanel(key: string): void;
unregisterAllComponents(): void;
getStatusPanel(key: string): IStatusPanelComp;
}

@@ -37,2 +37,8 @@ "use strict";

};
StatusBarService.prototype.unregisterStatusPanel = function (key) {
delete this.allComponents[key];
};
StatusBarService.prototype.unregisterAllComponents = function () {
this.allComponents = {};
};
StatusBarService.prototype.getStatusPanel = function (key) {

@@ -42,3 +48,3 @@ return this.allComponents[key];

StatusBarService = __decorate([
core_1.Bean('statusBarService')
(0, core_1.Bean)('statusBarService')
], StatusBarService);

@@ -45,0 +51,0 @@ return StatusBarService;

@@ -1,1 +0,1 @@

export declare const VERSION = "30.2.1";
export declare const VERSION = "31.0.0";

@@ -5,2 +5,2 @@ "use strict";

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '30.2.1';
exports.VERSION = '31.0.0';

@@ -161,36 +161,36 @@ "use strict";

__decorate([
core_1.Optional('rangeService')
(0, core_1.Optional)('rangeService')
], AggregationComp.prototype, "rangeService", void 0);
__decorate([
core_1.Autowired('valueService')
(0, core_1.Autowired)('valueService')
], AggregationComp.prototype, "valueService", void 0);
__decorate([
core_1.Autowired('cellNavigationService')
(0, core_1.Autowired)('cellNavigationService')
], AggregationComp.prototype, "cellNavigationService", void 0);
__decorate([
core_1.Autowired('rowRenderer')
(0, core_1.Autowired)('rowRenderer')
], AggregationComp.prototype, "rowRenderer", void 0);
__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], AggregationComp.prototype, "gridApi", void 0);
__decorate([
core_1.Autowired('cellPositionUtils')
(0, core_1.Autowired)('cellPositionUtils')
], AggregationComp.prototype, "cellPositionUtils", void 0);
__decorate([
core_1.Autowired('rowPositionUtils')
(0, core_1.Autowired)('rowPositionUtils')
], AggregationComp.prototype, "rowPositionUtils", void 0);
__decorate([
core_1.RefSelector('sumAggregationComp')
(0, core_1.RefSelector)('sumAggregationComp')
], AggregationComp.prototype, "sumAggregationComp", void 0);
__decorate([
core_1.RefSelector('countAggregationComp')
(0, core_1.RefSelector)('countAggregationComp')
], AggregationComp.prototype, "countAggregationComp", void 0);
__decorate([
core_1.RefSelector('minAggregationComp')
(0, core_1.RefSelector)('minAggregationComp')
], AggregationComp.prototype, "minAggregationComp", void 0);
__decorate([
core_1.RefSelector('maxAggregationComp')
(0, core_1.RefSelector)('maxAggregationComp')
], AggregationComp.prototype, "maxAggregationComp", void 0);
__decorate([
core_1.RefSelector('avgAggregationComp')
(0, core_1.RefSelector)('avgAggregationComp')
], AggregationComp.prototype, "avgAggregationComp", void 0);

@@ -197,0 +197,0 @@ __decorate([

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

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], FilteredRowsComp.prototype, "gridApi", void 0);

@@ -61,0 +61,0 @@ __decorate([

@@ -30,7 +30,7 @@ "use strict";

__decorate([
core_1.RefSelector('eLabel')
(0, core_1.RefSelector)('eLabel')
], NameValueComp.prototype, "eLabel", void 0);
__decorate([
core_1.RefSelector('eValue')
(0, core_1.RefSelector)('eValue')
], NameValueComp.prototype, "eValue", void 0);
exports.NameValueComp = NameValueComp;

@@ -53,6 +53,6 @@ "use strict";

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], SelectedRowsComp.prototype, "gridApi", void 0);
__decorate([
core_1.Autowired('selectionService')
(0, core_1.Autowired)('selectionService')
], SelectedRowsComp.prototype, "selectionService", void 0);

@@ -59,0 +59,0 @@ __decorate([

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

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], TotalAndFilteredRowsComp.prototype, "gridApi", void 0);

@@ -69,0 +69,0 @@ __decorate([

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

__decorate([
core_1.Autowired('gridApi')
(0, core_1.Autowired)('gridApi')
], TotalRowsComp.prototype, "gridApi", void 0);

@@ -49,0 +49,0 @@ __decorate([

@@ -9,5 +9,10 @@ import { Component } from '@ag-grid-community/core';

private eStatusBarRight;
private compDestroyFunctions;
constructor();
private postConstruct;
private processStatusPanels;
private handleStatusBarChanged;
resetStatusBar(): void;
private destroyComponents;
private createAndRenderComponents;
}

@@ -14,4 +14,9 @@ "use strict";

super(StatusBar.TEMPLATE);
this.compDestroyFunctions = [];
}
postConstruct() {
this.processStatusPanels();
this.addManagedPropertyListeners(['statusBar'], this.handleStatusBarChanged.bind(this));
}
processStatusPanels() {
var _a;

@@ -34,2 +39,23 @@ const statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;

}
handleStatusBarChanged() {
var _a;
const statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;
const validStatusBarPanelsProvided = Array.isArray(statusPanels) && statusPanels.length > 0;
this.setDisplayed(validStatusBarPanelsProvided);
this.resetStatusBar();
if (validStatusBarPanelsProvided) {
this.processStatusPanels();
}
}
resetStatusBar() {
this.eStatusBarLeft.innerHTML = '';
this.eStatusBarCenter.innerHTML = '';
this.eStatusBarRight.innerHTML = '';
this.destroyComponents();
this.statusBarService.unregisterAllComponents();
}
destroyComponents() {
this.compDestroyFunctions.forEach((func) => func());
this.compDestroyFunctions = [];
}
createAndRenderComponents(statusBarComponents, ePanelComponent) {

@@ -60,3 +86,3 @@ const componentDetails = [];

ePanelComponent.appendChild(component.getGui());
this.addDestroyFunc(destroyFunc);
this.compDestroyFunctions.push(destroyFunc);
}

@@ -77,15 +103,15 @@ else {

__decorate([
core_1.Autowired('userComponentFactory')
(0, core_1.Autowired)('userComponentFactory')
], StatusBar.prototype, "userComponentFactory", void 0);
__decorate([
core_1.Autowired('statusBarService')
(0, core_1.Autowired)('statusBarService')
], StatusBar.prototype, "statusBarService", void 0);
__decorate([
core_1.RefSelector('eStatusBarLeft')
(0, core_1.RefSelector)('eStatusBarLeft')
], StatusBar.prototype, "eStatusBarLeft", void 0);
__decorate([
core_1.RefSelector('eStatusBarCenter')
(0, core_1.RefSelector)('eStatusBarCenter')
], StatusBar.prototype, "eStatusBarCenter", void 0);
__decorate([
core_1.RefSelector('eStatusBarRight')
(0, core_1.RefSelector)('eStatusBarRight')
], StatusBar.prototype, "eStatusBarRight", void 0);

@@ -95,2 +121,5 @@ __decorate([

], StatusBar.prototype, "postConstruct", null);
__decorate([
core_1.PreDestroy
], StatusBar.prototype, "destroyComponents", null);
exports.StatusBar = StatusBar;

@@ -6,3 +6,5 @@ import { BeanStub, IStatusPanelComp, IStatusBarService } from '@ag-grid-community/core';

registerStatusPanel(key: string, component: IStatusPanelComp): void;
unregisterStatusPanel(key: string): void;
unregisterAllComponents(): void;
getStatusPanel(key: string): IStatusPanelComp;
}

@@ -20,2 +20,8 @@ "use strict";

}
unregisterStatusPanel(key) {
delete this.allComponents[key];
}
unregisterAllComponents() {
this.allComponents = {};
}
getStatusPanel(key) {

@@ -26,4 +32,4 @@ return this.allComponents[key];

StatusBarService = __decorate([
core_1.Bean('statusBarService')
(0, core_1.Bean)('statusBarService')
], StatusBarService);
exports.StatusBarService = StatusBarService;

@@ -1,1 +0,1 @@

export declare const VERSION = "30.2.1";
export declare const VERSION = "31.0.0";

@@ -5,2 +5,2 @@ "use strict";

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '30.2.1';
exports.VERSION = '31.0.0';

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

// converts user supplied agg name to our reference - eg: sum => sumAggregationComp
var refComponentName = aggFuncName + "AggregationComp";
var refComponentName = "".concat(aggFuncName, "AggregationComp");
// if the user has specified the agAggregationPanelComp but no aggFuncs we show the all

@@ -68,0 +68,0 @@ // if the user has specified the agAggregationPanelComp and aggFuncs, then we only show the aggFuncs listed

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

var localeTextFunc_1 = this.localeService.getLocaleTextFunc();
this.setValue(rowCount + " " + localeTextFunc_1('of', 'of') + " " + totalRowCount);
this.setValue("".concat(rowCount, " ").concat(localeTextFunc_1('of', 'of'), " ").concat(totalRowCount));
}

@@ -56,0 +56,0 @@ };

@@ -9,5 +9,10 @@ import { Component } from '@ag-grid-community/core';

private eStatusBarRight;
private compDestroyFunctions;
constructor();
private postConstruct;
private processStatusPanels;
private handleStatusBarChanged;
resetStatusBar(): void;
private destroyComponents;
private createAndRenderComponents;
}

@@ -22,9 +22,15 @@ var __extends = (this && this.__extends) || (function () {

};
import { Autowired, Component, PostConstruct, AgPromise, RefSelector } from '@ag-grid-community/core';
import { Autowired, Component, PostConstruct, PreDestroy, AgPromise, RefSelector } from '@ag-grid-community/core';
var StatusBar = /** @class */ (function (_super) {
__extends(StatusBar, _super);
function StatusBar() {
return _super.call(this, StatusBar.TEMPLATE) || this;
var _this = _super.call(this, StatusBar.TEMPLATE) || this;
_this.compDestroyFunctions = [];
return _this;
}
StatusBar.prototype.postConstruct = function () {
this.processStatusPanels();
this.addManagedPropertyListeners(['statusBar'], this.handleStatusBarChanged.bind(this));
};
StatusBar.prototype.processStatusPanels = function () {
var _a;

@@ -47,2 +53,23 @@ var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;

};
StatusBar.prototype.handleStatusBarChanged = function () {
var _a;
var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;
var validStatusBarPanelsProvided = Array.isArray(statusPanels) && statusPanels.length > 0;
this.setDisplayed(validStatusBarPanelsProvided);
this.resetStatusBar();
if (validStatusBarPanelsProvided) {
this.processStatusPanels();
}
};
StatusBar.prototype.resetStatusBar = function () {
this.eStatusBarLeft.innerHTML = '';
this.eStatusBarCenter.innerHTML = '';
this.eStatusBarRight.innerHTML = '';
this.destroyComponents();
this.statusBarService.unregisterAllComponents();
};
StatusBar.prototype.destroyComponents = function () {
this.compDestroyFunctions.forEach(function (func) { return func(); });
this.compDestroyFunctions = [];
};
StatusBar.prototype.createAndRenderComponents = function (statusBarComponents, ePanelComponent) {

@@ -74,3 +101,3 @@ var _this = this;

ePanelComponent.appendChild(component.getGui());
_this.addDestroyFunc(destroyFunc);
_this.compDestroyFunctions.push(destroyFunc);
}

@@ -103,4 +130,7 @@ else {

], StatusBar.prototype, "postConstruct", null);
__decorate([
PreDestroy
], StatusBar.prototype, "destroyComponents", null);
return StatusBar;
}(Component));
export { StatusBar };

@@ -6,3 +6,5 @@ import { BeanStub, IStatusPanelComp, IStatusBarService } from '@ag-grid-community/core';

registerStatusPanel(key: string, component: IStatusPanelComp): void;
unregisterStatusPanel(key: string): void;
unregisterAllComponents(): void;
getStatusPanel(key: string): IStatusPanelComp;
}

@@ -34,2 +34,8 @@ var __extends = (this && this.__extends) || (function () {

};
StatusBarService.prototype.unregisterStatusPanel = function (key) {
delete this.allComponents[key];
};
StatusBarService.prototype.unregisterAllComponents = function () {
this.allComponents = {};
};
StatusBarService.prototype.getStatusPanel = function (key) {

@@ -36,0 +42,0 @@ return this.allComponents[key];

@@ -1,1 +0,1 @@

export declare const VERSION = "30.2.1";
export declare const VERSION = "31.0.0";
// DO NOT UPDATE MANUALLY: Generated from script during build time
export var VERSION = '30.2.1';
export var VERSION = '31.0.0';

@@ -9,5 +9,10 @@ import { Component } from '@ag-grid-community/core';

private eStatusBarRight;
private compDestroyFunctions;
constructor();
private postConstruct;
private processStatusPanels;
private handleStatusBarChanged;
resetStatusBar(): void;
private destroyComponents;
private createAndRenderComponents;
}

@@ -6,3 +6,5 @@ import { BeanStub, IStatusPanelComp, IStatusBarService } from '@ag-grid-community/core';

registerStatusPanel(key: string, component: IStatusPanelComp): void;
unregisterStatusPanel(key: string): void;
unregisterAllComponents(): void;
getStatusPanel(key: string): IStatusPanelComp;
}

@@ -1,1 +0,1 @@

export declare const VERSION = "30.2.1";
export declare const VERSION = "31.0.0";
/**
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v30.2.1
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.0
* @link https://www.ag-grid.com/

@@ -45,2 +45,8 @@ * @license Commercial

};
StatusBarService.prototype.unregisterStatusPanel = function (key) {
delete this.allComponents[key];
};
StatusBarService.prototype.unregisterAllComponents = function () {
this.allComponents = {};
};
StatusBarService.prototype.getStatusPanel = function (key) {

@@ -79,5 +85,11 @@ return this.allComponents[key];

function StatusBar() {
return _super.call(this, StatusBar.TEMPLATE) || this;
var _this = _super.call(this, StatusBar.TEMPLATE) || this;
_this.compDestroyFunctions = [];
return _this;
}
StatusBar.prototype.postConstruct = function () {
this.processStatusPanels();
this.addManagedPropertyListeners(['statusBar'], this.handleStatusBarChanged.bind(this));
};
StatusBar.prototype.processStatusPanels = function () {
var _a;

@@ -100,2 +112,23 @@ var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;

};
StatusBar.prototype.handleStatusBarChanged = function () {
var _a;
var statusPanels = (_a = this.gridOptionsService.get('statusBar')) === null || _a === void 0 ? void 0 : _a.statusPanels;
var validStatusBarPanelsProvided = Array.isArray(statusPanels) && statusPanels.length > 0;
this.setDisplayed(validStatusBarPanelsProvided);
this.resetStatusBar();
if (validStatusBarPanelsProvided) {
this.processStatusPanels();
}
};
StatusBar.prototype.resetStatusBar = function () {
this.eStatusBarLeft.innerHTML = '';
this.eStatusBarCenter.innerHTML = '';
this.eStatusBarRight.innerHTML = '';
this.destroyComponents();
this.statusBarService.unregisterAllComponents();
};
StatusBar.prototype.destroyComponents = function () {
this.compDestroyFunctions.forEach(function (func) { return func(); });
this.compDestroyFunctions = [];
};
StatusBar.prototype.createAndRenderComponents = function (statusBarComponents, ePanelComponent) {

@@ -127,3 +160,3 @@ var _this = this;

ePanelComponent.appendChild(component.getGui());
_this.addDestroyFunc(destroyFunc);
_this.compDestroyFunctions.push(destroyFunc);
}

@@ -156,2 +189,5 @@ else {

], StatusBar.prototype, "postConstruct", null);
__decorate$6([
core.PreDestroy
], StatusBar.prototype, "destroyComponents", null);
return StatusBar;

@@ -255,3 +291,3 @@ }(core.Component));

var localeTextFunc_1 = this.localeService.getLocaleTextFunc();
this.setValue(rowCount + " " + localeTextFunc_1('of', 'of') + " " + totalRowCount);
this.setValue("".concat(rowCount, " ").concat(localeTextFunc_1('of', 'of'), " ").concat(totalRowCount));
}

@@ -575,3 +611,3 @@ };

// converts user supplied agg name to our reference - eg: sum => sumAggregationComp
var refComponentName = aggFuncName + "AggregationComp";
var refComponentName = "".concat(aggFuncName, "AggregationComp");
// if the user has specified the agAggregationPanelComp but no aggFuncs we show the all

@@ -721,3 +757,3 @@ // if the user has specified the agAggregationPanelComp and aggFuncs, then we only show the aggFuncs listed

// DO NOT UPDATE MANUALLY: Generated from script during build time
var VERSION = '30.2.1';
var VERSION = '31.0.0';

@@ -724,0 +760,0 @@ var StatusBarModule = {

/**
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v30.2.1
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.0
* @link https://www.ag-grid.com/

@@ -7,6 +7,6 @@ * @license Commercial

/**
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v30.2.1
* @ag-grid-enterprise/status-bar - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.0
* @link https://www.ag-grid.com/
* @license Commercial
*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,e=require("@ag-grid-community/core"),o=require("@ag-grid-enterprise/core"),n=(t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)},function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}),r=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},i=function(t){function o(){var e=t.call(this)||this;return e.allComponents={},e}return n(o,t),o.prototype.registerStatusPanel=function(t,e){this.allComponents[t]=e},o.prototype.getStatusPanel=function(t){return this.allComponents[t]},o=r([e.Bean("statusBarService")],o)}(e.BeanStub),a=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},l=function(t){function o(){return t.call(this,o.TEMPLATE)||this}return a(o,t),o.prototype.postConstruct=function(){var t,e=null===(t=this.gridOptionsService.get("statusBar"))||void 0===t?void 0:t.statusPanels;if(e){var o=e.filter((function(t){return"left"===t.align}));this.createAndRenderComponents(o,this.eStatusBarLeft);var n=e.filter((function(t){return"center"===t.align}));this.createAndRenderComponents(n,this.eStatusBarCenter);var r=e.filter((function(t){return!t.align||"right"===t.align}));this.createAndRenderComponents(r,this.eStatusBarRight)}else this.setDisplayed(!1)},o.prototype.createAndRenderComponents=function(t,o){var n=this,r=[];t.forEach((function(t){var e=n.userComponentFactory.getStatusPanelCompDetails(t,{}).newAgStackInstance();e&&r.push({key:t.key||t.statusPanel,promise:e})})),e.AgPromise.all(r.map((function(t){return t.promise}))).then((function(){r.forEach((function(t){t.promise.then((function(e){var r=function(){n.getContext().destroyBean(e)};n.isAlive()?(n.statusBarService.registerStatusPanel(t.key,e),o.appendChild(e.getGui()),n.addDestroyFunc(r)):r()}))}))}))},o.TEMPLATE='<div class="ag-status-bar">\n <div ref="eStatusBarLeft" class="ag-status-bar-left" role="status"></div>\n <div ref="eStatusBarCenter" class="ag-status-bar-center" role="status"></div>\n <div ref="eStatusBarRight" class="ag-status-bar-right" role="status"></div>\n </div>',s([e.Autowired("userComponentFactory")],o.prototype,"userComponentFactory",void 0),s([e.Autowired("statusBarService")],o.prototype,"statusBarService",void 0),s([e.RefSelector("eStatusBarLeft")],o.prototype,"eStatusBarLeft",void 0),s([e.RefSelector("eStatusBarCenter")],o.prototype,"eStatusBarCenter",void 0),s([e.RefSelector("eStatusBarRight")],o.prototype,"eStatusBarRight",void 0),s([e.PostConstruct],o.prototype,"postConstruct",null),o}(e.Component),u=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),c=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},p=function(t){function o(){return t.call(this,o.TEMPLATE)||this}return u(o,t),o.prototype.setLabel=function(t,e){this.setDisplayed(!1);var o=this.localeService.getLocaleTextFunc();this.eLabel.innerHTML=o(t,e)},o.prototype.setValue=function(t){this.eValue.innerHTML=t},o.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>',c([e.RefSelector("eLabel")],o.prototype,"eLabel",void 0),c([e.RefSelector("eValue")],o.prototype,"eValue",void 0),o}(e.Component),f=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),g=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},d=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return f(o,t),o.prototype.postConstruct=function(){"clientSide"===this.gridApi.getModel().getType()?(this.setLabel("totalAndFilteredRows","Rows"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-and-filtered-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalAndFilteredRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.localeService.getLocaleTextFunc(),o=t("thousandSeparator",","),n=t("decimalSeparator","."),r=e._.formatNumberCommas(this.getFilteredRowCountValue(),o,n),i=e._.formatNumberCommas(this.getTotalRowCount(),o,n);if(r===i)this.setValue(r);else{var a=this.localeService.getLocaleTextFunc();this.setValue(r+" "+a("of","of")+" "+i)}},o.prototype.getFilteredRowCountValue=function(){var t=0;return this.gridApi.forEachNodeAfterFilter((function(e){e.group||t++})),t},o.prototype.getTotalRowCount=function(){var t=0;return this.gridApi.forEachNode((function(e){e.group||t++})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},g([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),g([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),h=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),y=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},v=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return h(o,t),o.prototype.postConstruct=function(){if(this.setLabel("filteredRows","Filtered"),"clientSide"===this.gridApi.getModel().getType()){this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-filtered-row-count"),this.setDisplayed(!0);var t=this.onDataChanged.bind(this);this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,t),t()}else console.warn("AG Grid: agFilteredRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.getTotalRowCountValue(),o=this.getFilteredRowCountValue(),n=this.localeService.getLocaleTextFunc(),r=n("thousandSeparator",","),i=n("decimalSeparator",".");this.setValue(e._.formatNumberCommas(o,r,i)),this.setDisplayed(t!==o)},o.prototype.getTotalRowCountValue=function(){var t=0;return this.gridApi.forEachNode((function(e){return t+=1})),t},o.prototype.getFilteredRowCountValue=function(){var t=0;return this.gridApi.forEachNodeAfterFilter((function(e){e.group||(t+=1)})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},y([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),y([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),m=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),C=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},w=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return m(o,t),o.prototype.postConstruct=function(){this.setLabel("totalRows","Total Rows"),"clientSide"===this.gridApi.getModel().getType()?(this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.localeService.getLocaleTextFunc(),o=t("thousandSeparator",","),n=t("decimalSeparator",".");this.setValue(e._.formatNumberCommas(this.getRowCountValue(),o,n))},o.prototype.getRowCountValue=function(){var t=0;return this.gridApi.forEachLeafNode((function(e){return t+=1})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},C([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),C([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),A=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),S=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},_=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return A(o,t),o.prototype.postConstruct=function(){if(this.isValidRowModel()){this.setLabel("selectedRows","Selected"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-selected-row-count"),this.onRowSelectionChanged();var t=this.onRowSelectionChanged.bind(this);this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,t),this.addManagedListener(this.eventService,e.Events.EVENT_SELECTION_CHANGED,t)}else console.warn("AG Grid: agSelectedRowCountComponent should only be used with the client and server side row model.")},o.prototype.isValidRowModel=function(){var t=this.gridApi.getModel().getType();return"clientSide"===t||"serverSide"===t},o.prototype.onRowSelectionChanged=function(){var t=this.selectionService.getSelectionCount();if(t<0)return this.setValue("?"),void this.setDisplayed(!0);var o=this.localeService.getLocaleTextFunc(),n=o("thousandSeparator",","),r=o("decimalSeparator",".");this.setValue(e._.formatNumberCommas(t,n,r)),this.setDisplayed(t>0)},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},S([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),S([e.Autowired("selectionService")],o.prototype,"selectionService",void 0),S([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),b=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),R=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},O=function(t){function o(){return t.call(this,o.TEMPLATE)||this}return b(o,t),o.prototype.destroy=function(){t.prototype.destroy.call(this)},o.prototype.postConstruct=function(){this.isValidRowModel()?(this.avgAggregationComp.setLabel("avg","Average"),this.countAggregationComp.setLabel("count","Count"),this.minAggregationComp.setLabel("min","Min"),this.maxAggregationComp.setLabel("max","Max"),this.sumAggregationComp.setLabel("sum","Sum"),this.addManagedListener(this.eventService,e.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this)),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onRangeSelectionChanged.bind(this))):console.warn("AG Grid: agAggregationComponent should only be used with the client and server side row model.")},o.prototype.isValidRowModel=function(){var t=this.gridApi.getModel().getType();return"clientSide"===t||"serverSide"===t},o.prototype.init=function(){},o.prototype.setAggregationComponentValue=function(t,o,n){var r=this.getAggregationValueComponent(t);if(e._.exists(r)&&r){var i=this.localeService.getLocaleTextFunc(),a=i("thousandSeparator",","),s=i("decimalSeparator",".");r.setValue(e._.formatNumberTwoDecimalPlacesAndCommas(o,a,s)),r.setDisplayed(n)}},o.prototype.getAggregationValueComponent=function(t){var o=t+"AggregationComp",n=null,r=this.gridOptionsService.get("statusBar"),i=e._.exists(r)&&r?r.statusPanels.find((function(t){return"agAggregationComponent"===t.statusPanel})):null;return e._.exists(i)&&i?(!e._.exists(i.statusPanelParams)||e._.exists(i.statusPanelParams)&&e._.exists(i.statusPanelParams.aggFuncs)&&e._.exists(i.statusPanelParams.aggFuncs.find((function(e){return e===t}))))&&(n=this[o]):n=this[o],n},o.prototype.onRangeSelectionChanged=function(){var t=this,o=this.rangeService?this.rangeService.getCellRanges():void 0,n=0,r=0,i=0,a=null,s=null,l={};o&&!e._.missingOrEmpty(o)&&o.forEach((function(o){for(var u=t.rangeService.getRangeStartRow(o),c=t.rangeService.getRangeEndRow(o);;){if(e._.missing(u)||!u||t.rowPositionUtils.before(c,u)||!u||!o.columns)break;o.columns.forEach((function(o){if(null!==u){var c=t.cellPositionUtils.createId({rowPinned:u.rowPinned,column:o,rowIndex:u.rowIndex});if(!l[c]){l[c]=!0;var p=t.rowRenderer.getRowNode(u);if(!e._.missing(p)){var f=t.valueService.getValue(o,p);e._.missing(f)||""===f||(r++,"object"==typeof f&&"value"in f&&""===(f=f.value)||("string"==typeof f&&(f=Number(f)),"number"!=typeof f||isNaN(f)||(n+=f,(null===s||f>s)&&(s=f),(null===a||f<a)&&(a=f),i++)))}}}})),u=t.cellNavigationService.getRowBelow(u)}}));var u=r>1,c=i>1;this.setAggregationComponentValue("count",r,u),this.setAggregationComponentValue("sum",n,c),this.setAggregationComponentValue("min",a,c),this.setAggregationComponentValue("max",s,c),this.setAggregationComponentValue("avg",n/i,c)},o.TEMPLATE='<div class="ag-status-panel ag-status-panel-aggregations">\n <ag-name-value ref="avgAggregationComp"></ag-name-value>\n <ag-name-value ref="countAggregationComp"></ag-name-value>\n <ag-name-value ref="minAggregationComp"></ag-name-value>\n <ag-name-value ref="maxAggregationComp"></ag-name-value>\n <ag-name-value ref="sumAggregationComp"></ag-name-value>\n </div>',R([e.Optional("rangeService")],o.prototype,"rangeService",void 0),R([e.Autowired("valueService")],o.prototype,"valueService",void 0),R([e.Autowired("cellNavigationService")],o.prototype,"cellNavigationService",void 0),R([e.Autowired("rowRenderer")],o.prototype,"rowRenderer",void 0),R([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),R([e.Autowired("cellPositionUtils")],o.prototype,"cellPositionUtils",void 0),R([e.Autowired("rowPositionUtils")],o.prototype,"rowPositionUtils",void 0),R([e.RefSelector("sumAggregationComp")],o.prototype,"sumAggregationComp",void 0),R([e.RefSelector("countAggregationComp")],o.prototype,"countAggregationComp",void 0),R([e.RefSelector("minAggregationComp")],o.prototype,"minAggregationComp",void 0),R([e.RefSelector("maxAggregationComp")],o.prototype,"maxAggregationComp",void 0),R([e.RefSelector("avgAggregationComp")],o.prototype,"avgAggregationComp",void 0),R([e.PostConstruct],o.prototype,"postConstruct",null),o}(e.Component),P={version:"30.2.1",moduleName:e.ModuleNames.StatusBarModule,beans:[i],agStackComponents:[{componentName:"AgStatusBar",componentClass:l},{componentName:"AgNameValue",componentClass:p}],userComponents:[{componentName:"agAggregationComponent",componentClass:O},{componentName:"agSelectedRowCountComponent",componentClass:_},{componentName:"agTotalRowCountComponent",componentClass:w},{componentName:"agFilteredRowCountComponent",componentClass:v},{componentName:"agTotalAndFilteredRowCountComponent",componentClass:d}],dependantModules:[o.EnterpriseCoreModule]};exports.StatusBarModule=P;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,e=require("@ag-grid-community/core"),o=require("@ag-grid-enterprise/core"),n=(t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)},function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}),r=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},i=function(t){function o(){var e=t.call(this)||this;return e.allComponents={},e}return n(o,t),o.prototype.registerStatusPanel=function(t,e){this.allComponents[t]=e},o.prototype.unregisterStatusPanel=function(t){delete this.allComponents[t]},o.prototype.unregisterAllComponents=function(){this.allComponents={}},o.prototype.getStatusPanel=function(t){return this.allComponents[t]},o=r([e.Bean("statusBarService")],o)}(e.BeanStub),a=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},u=function(t){function o(){var e=t.call(this,o.TEMPLATE)||this;return e.compDestroyFunctions=[],e}return a(o,t),o.prototype.postConstruct=function(){this.processStatusPanels(),this.addManagedPropertyListeners(["statusBar"],this.handleStatusBarChanged.bind(this))},o.prototype.processStatusPanels=function(){var t,e=null===(t=this.gridOptionsService.get("statusBar"))||void 0===t?void 0:t.statusPanels;if(e){var o=e.filter((function(t){return"left"===t.align}));this.createAndRenderComponents(o,this.eStatusBarLeft);var n=e.filter((function(t){return"center"===t.align}));this.createAndRenderComponents(n,this.eStatusBarCenter);var r=e.filter((function(t){return!t.align||"right"===t.align}));this.createAndRenderComponents(r,this.eStatusBarRight)}else this.setDisplayed(!1)},o.prototype.handleStatusBarChanged=function(){var t,e=null===(t=this.gridOptionsService.get("statusBar"))||void 0===t?void 0:t.statusPanels,o=Array.isArray(e)&&e.length>0;this.setDisplayed(o),this.resetStatusBar(),o&&this.processStatusPanels()},o.prototype.resetStatusBar=function(){this.eStatusBarLeft.innerHTML="",this.eStatusBarCenter.innerHTML="",this.eStatusBarRight.innerHTML="",this.destroyComponents(),this.statusBarService.unregisterAllComponents()},o.prototype.destroyComponents=function(){this.compDestroyFunctions.forEach((function(t){return t()})),this.compDestroyFunctions=[]},o.prototype.createAndRenderComponents=function(t,o){var n=this,r=[];t.forEach((function(t){var e=n.userComponentFactory.getStatusPanelCompDetails(t,{}).newAgStackInstance();e&&r.push({key:t.key||t.statusPanel,promise:e})})),e.AgPromise.all(r.map((function(t){return t.promise}))).then((function(){r.forEach((function(t){t.promise.then((function(e){var r=function(){n.getContext().destroyBean(e)};n.isAlive()?(n.statusBarService.registerStatusPanel(t.key,e),o.appendChild(e.getGui()),n.compDestroyFunctions.push(r)):r()}))}))}))},o.TEMPLATE='<div class="ag-status-bar">\n <div ref="eStatusBarLeft" class="ag-status-bar-left" role="status"></div>\n <div ref="eStatusBarCenter" class="ag-status-bar-center" role="status"></div>\n <div ref="eStatusBarRight" class="ag-status-bar-right" role="status"></div>\n </div>',s([e.Autowired("userComponentFactory")],o.prototype,"userComponentFactory",void 0),s([e.Autowired("statusBarService")],o.prototype,"statusBarService",void 0),s([e.RefSelector("eStatusBarLeft")],o.prototype,"eStatusBarLeft",void 0),s([e.RefSelector("eStatusBarCenter")],o.prototype,"eStatusBarCenter",void 0),s([e.RefSelector("eStatusBarRight")],o.prototype,"eStatusBarRight",void 0),s([e.PostConstruct],o.prototype,"postConstruct",null),s([e.PreDestroy],o.prototype,"destroyComponents",null),o}(e.Component),l=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),c=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},p=function(t){function o(){return t.call(this,o.TEMPLATE)||this}return l(o,t),o.prototype.setLabel=function(t,e){this.setDisplayed(!1);var o=this.localeService.getLocaleTextFunc();this.eLabel.innerHTML=o(t,e)},o.prototype.setValue=function(t){this.eValue.innerHTML=t},o.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>',c([e.RefSelector("eLabel")],o.prototype,"eLabel",void 0),c([e.RefSelector("eValue")],o.prototype,"eValue",void 0),o}(e.Component),f=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),d=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},g=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return f(o,t),o.prototype.postConstruct=function(){"clientSide"===this.gridApi.getModel().getType()?(this.setLabel("totalAndFilteredRows","Rows"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-and-filtered-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalAndFilteredRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.localeService.getLocaleTextFunc(),o=t("thousandSeparator",","),n=t("decimalSeparator","."),r=e._.formatNumberCommas(this.getFilteredRowCountValue(),o,n),i=e._.formatNumberCommas(this.getTotalRowCount(),o,n);if(r===i)this.setValue(r);else{var a=this.localeService.getLocaleTextFunc();this.setValue("".concat(r," ").concat(a("of","of")," ").concat(i))}},o.prototype.getFilteredRowCountValue=function(){var t=0;return this.gridApi.forEachNodeAfterFilter((function(e){e.group||t++})),t},o.prototype.getTotalRowCount=function(){var t=0;return this.gridApi.forEachNode((function(e){e.group||t++})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},d([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),d([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),h=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),y=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},v=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return h(o,t),o.prototype.postConstruct=function(){if(this.setLabel("filteredRows","Filtered"),"clientSide"===this.gridApi.getModel().getType()){this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-filtered-row-count"),this.setDisplayed(!0);var t=this.onDataChanged.bind(this);this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,t),t()}else console.warn("AG Grid: agFilteredRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.getTotalRowCountValue(),o=this.getFilteredRowCountValue(),n=this.localeService.getLocaleTextFunc(),r=n("thousandSeparator",","),i=n("decimalSeparator",".");this.setValue(e._.formatNumberCommas(o,r,i)),this.setDisplayed(t!==o)},o.prototype.getTotalRowCountValue=function(){var t=0;return this.gridApi.forEachNode((function(e){return t+=1})),t},o.prototype.getFilteredRowCountValue=function(){var t=0;return this.gridApi.forEachNodeAfterFilter((function(e){e.group||(t+=1)})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},y([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),y([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),m=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),C=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},w=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return m(o,t),o.prototype.postConstruct=function(){this.setLabel("totalRows","Total Rows"),"clientSide"===this.gridApi.getModel().getType()?(this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalRowCountComponent should only be used with the client side row model.")},o.prototype.onDataChanged=function(){var t=this.localeService.getLocaleTextFunc(),o=t("thousandSeparator",","),n=t("decimalSeparator",".");this.setValue(e._.formatNumberCommas(this.getRowCountValue(),o,n))},o.prototype.getRowCountValue=function(){var t=0;return this.gridApi.forEachLeafNode((function(e){return t+=1})),t},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},C([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),C([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),S=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),A=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},_=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return S(o,t),o.prototype.postConstruct=function(){if(this.isValidRowModel()){this.setLabel("selectedRows","Selected"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-selected-row-count"),this.onRowSelectionChanged();var t=this.onRowSelectionChanged.bind(this);this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,t),this.addManagedListener(this.eventService,e.Events.EVENT_SELECTION_CHANGED,t)}else console.warn("AG Grid: agSelectedRowCountComponent should only be used with the client and server side row model.")},o.prototype.isValidRowModel=function(){var t=this.gridApi.getModel().getType();return"clientSide"===t||"serverSide"===t},o.prototype.onRowSelectionChanged=function(){var t=this.selectionService.getSelectionCount();if(t<0)return this.setValue("?"),void this.setDisplayed(!0);var o=this.localeService.getLocaleTextFunc(),n=o("thousandSeparator",","),r=o("decimalSeparator",".");this.setValue(e._.formatNumberCommas(t,n,r)),this.setDisplayed(t>0)},o.prototype.init=function(){},o.prototype.destroy=function(){t.prototype.destroy.call(this)},A([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),A([e.Autowired("selectionService")],o.prototype,"selectionService",void 0),A([e.PostConstruct],o.prototype,"postConstruct",null),o}(p),b=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),R=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},P=function(t){function o(){return t.call(this,o.TEMPLATE)||this}return b(o,t),o.prototype.destroy=function(){t.prototype.destroy.call(this)},o.prototype.postConstruct=function(){this.isValidRowModel()?(this.avgAggregationComp.setLabel("avg","Average"),this.countAggregationComp.setLabel("count","Count"),this.minAggregationComp.setLabel("min","Min"),this.maxAggregationComp.setLabel("max","Max"),this.sumAggregationComp.setLabel("sum","Sum"),this.addManagedListener(this.eventService,e.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this)),this.addManagedListener(this.eventService,e.Events.EVENT_MODEL_UPDATED,this.onRangeSelectionChanged.bind(this))):console.warn("AG Grid: agAggregationComponent should only be used with the client and server side row model.")},o.prototype.isValidRowModel=function(){var t=this.gridApi.getModel().getType();return"clientSide"===t||"serverSide"===t},o.prototype.init=function(){},o.prototype.setAggregationComponentValue=function(t,o,n){var r=this.getAggregationValueComponent(t);if(e._.exists(r)&&r){var i=this.localeService.getLocaleTextFunc(),a=i("thousandSeparator",","),s=i("decimalSeparator",".");r.setValue(e._.formatNumberTwoDecimalPlacesAndCommas(o,a,s)),r.setDisplayed(n)}},o.prototype.getAggregationValueComponent=function(t){var o="".concat(t,"AggregationComp"),n=null,r=this.gridOptionsService.get("statusBar"),i=e._.exists(r)&&r?r.statusPanels.find((function(t){return"agAggregationComponent"===t.statusPanel})):null;return e._.exists(i)&&i?(!e._.exists(i.statusPanelParams)||e._.exists(i.statusPanelParams)&&e._.exists(i.statusPanelParams.aggFuncs)&&e._.exists(i.statusPanelParams.aggFuncs.find((function(e){return e===t}))))&&(n=this[o]):n=this[o],n},o.prototype.onRangeSelectionChanged=function(){var t=this,o=this.rangeService?this.rangeService.getCellRanges():void 0,n=0,r=0,i=0,a=null,s=null,u={};o&&!e._.missingOrEmpty(o)&&o.forEach((function(o){for(var l=t.rangeService.getRangeStartRow(o),c=t.rangeService.getRangeEndRow(o);;){if(e._.missing(l)||!l||t.rowPositionUtils.before(c,l)||!l||!o.columns)break;o.columns.forEach((function(o){if(null!==l){var c=t.cellPositionUtils.createId({rowPinned:l.rowPinned,column:o,rowIndex:l.rowIndex});if(!u[c]){u[c]=!0;var p=t.rowRenderer.getRowNode(l);if(!e._.missing(p)){var f=t.valueService.getValue(o,p);e._.missing(f)||""===f||(r++,"object"==typeof f&&"value"in f&&""===(f=f.value)||("string"==typeof f&&(f=Number(f)),"number"!=typeof f||isNaN(f)||(n+=f,(null===s||f>s)&&(s=f),(null===a||f<a)&&(a=f),i++)))}}}})),l=t.cellNavigationService.getRowBelow(l)}}));var l=r>1,c=i>1;this.setAggregationComponentValue("count",r,l),this.setAggregationComponentValue("sum",n,c),this.setAggregationComponentValue("min",a,c),this.setAggregationComponentValue("max",s,c),this.setAggregationComponentValue("avg",n/i,c)},o.TEMPLATE='<div class="ag-status-panel ag-status-panel-aggregations">\n <ag-name-value ref="avgAggregationComp"></ag-name-value>\n <ag-name-value ref="countAggregationComp"></ag-name-value>\n <ag-name-value ref="minAggregationComp"></ag-name-value>\n <ag-name-value ref="maxAggregationComp"></ag-name-value>\n <ag-name-value ref="sumAggregationComp"></ag-name-value>\n </div>',R([e.Optional("rangeService")],o.prototype,"rangeService",void 0),R([e.Autowired("valueService")],o.prototype,"valueService",void 0),R([e.Autowired("cellNavigationService")],o.prototype,"cellNavigationService",void 0),R([e.Autowired("rowRenderer")],o.prototype,"rowRenderer",void 0),R([e.Autowired("gridApi")],o.prototype,"gridApi",void 0),R([e.Autowired("cellPositionUtils")],o.prototype,"cellPositionUtils",void 0),R([e.Autowired("rowPositionUtils")],o.prototype,"rowPositionUtils",void 0),R([e.RefSelector("sumAggregationComp")],o.prototype,"sumAggregationComp",void 0),R([e.RefSelector("countAggregationComp")],o.prototype,"countAggregationComp",void 0),R([e.RefSelector("minAggregationComp")],o.prototype,"minAggregationComp",void 0),R([e.RefSelector("maxAggregationComp")],o.prototype,"maxAggregationComp",void 0),R([e.RefSelector("avgAggregationComp")],o.prototype,"avgAggregationComp",void 0),R([e.PostConstruct],o.prototype,"postConstruct",null),o}(e.Component),O={version:"31.0.0",moduleName:e.ModuleNames.StatusBarModule,beans:[i],agStackComponents:[{componentName:"AgStatusBar",componentClass:u},{componentName:"AgNameValue",componentClass:p}],userComponents:[{componentName:"agAggregationComponent",componentClass:P},{componentName:"agSelectedRowCountComponent",componentClass:_},{componentName:"agTotalRowCountComponent",componentClass:w},{componentName:"agFilteredRowCountComponent",componentClass:v},{componentName:"agTotalAndFilteredRowCountComponent",componentClass:g}],dependantModules:[o.EnterpriseCoreModule]};exports.StatusBarModule=O;
{
"name": "@ag-grid-enterprise/status-bar",
"version": "30.2.1",
"version": "31.0.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -9,3 +9,3 @@ "main": "./dist/esm/es6/main.mjs",

"scripts": {
"clean": "rimraf dist .hash",
"clean": "rimraf dist",
"build-cjs": "rimraf dist/tsconfig.cjs.es5.docs.tsbuildinfo && npx tsc -p tsconfig.cjs.es5.json && npx tsc -p tsconfig.cjs.es6.json",

@@ -50,7 +50,7 @@ "build-esm": "npx tsc -p tsconfig.esm.es5.json && npx tsc -p tsconfig.esm.es6.json",

"dependencies": {
"@ag-grid-community/core": "~30.2.1",
"@ag-grid-enterprise/core": "~30.2.1"
"@ag-grid-community/core": "~31.0.0",
"@ag-grid-enterprise/core": "~31.0.0"
},
"devDependencies": {
"typescript": "~4.3.5",
"typescript": "~4.7.4",
"rimraf": "3.0.2",

@@ -57,0 +57,0 @@ "gulp": "^4.0.2",

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

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