Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ag-grid-enterprise/filter-tool-panel

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-enterprise/filter-tool-panel - npm Package Compare versions

Comparing version 25.3.0 to 26.0.0

2

dist/cjs/filterToolPanel/filtersToolPanelHeaderPanel.d.ts

@@ -9,3 +9,3 @@ import { Component } from "@ag-grid-community/core";

export declare class FiltersToolPanelHeaderPanel extends Component {
private columnController;
private columnModel;
private eExpand;

@@ -12,0 +12,0 @@ private eFilterTextField;

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

this.params = params;
if (this.columnController.isReady()) {
if (this.columnModel.isReady()) {
this.showOrHideOptions();

@@ -65,3 +65,3 @@ }

var isFilterGroupPresent = function (col) { return col.getOriginalParent() && col.isFilterAllowed(); };
var filterGroupsPresent = this.columnController.getAllGridColumns().some(isFilterGroupPresent);
var filterGroupsPresent = this.columnModel.getAllGridColumns().some(isFilterGroupPresent);
core_1._.setDisplayed(this.eFilterTextField.getGui(), showFilterSearch);

@@ -90,4 +90,4 @@ core_1._.setDisplayed(this.eExpand, showExpand && filterGroupsPresent);

__decorate([
core_1.Autowired('columnController')
], FiltersToolPanelHeaderPanel.prototype, "columnController", void 0);
core_1.Autowired('columnModel')
], FiltersToolPanelHeaderPanel.prototype, "columnModel", void 0);
__decorate([

@@ -94,0 +94,0 @@ core_1.RefSelector('eExpand')

@@ -8,3 +8,3 @@ import { AbstractColDef, Component } from "@ag-grid-community/core";

private toolPanelColDefService;
private columnController;
private columnModel;
private initialised;

@@ -11,0 +11,0 @@ private params;

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

});
if (this.columnController.isReady()) {
if (this.columnModel.isReady()) {
this.onColumnsChanged();

@@ -63,3 +63,3 @@ }

FiltersToolPanelListPanel.prototype.onColumnsChanged = function () {
var pivotModeActive = this.columnController.isPivotMode();
var pivotModeActive = this.columnModel.isPivotMode();
var shouldSyncColumnLayoutWithGrid = !this.params.suppressSyncLayoutWithGrid && !pivotModeActive;

@@ -74,3 +74,3 @@ shouldSyncColumnLayoutWithGrid ? this.syncFilterLayout() : this.buildTreeFromProvidedColumnDefs();

this.destroyFilters();
var columnTree = this.columnController.getPrimaryColumnTree();
var columnTree = this.columnModel.getPrimaryColumnTree();
this.filterGroupComps = this.recursivelyAddComps(columnTree, 0);

@@ -358,4 +358,4 @@ var len = this.filterGroupComps.length;

__decorate([
core_1.Autowired('columnController')
], FiltersToolPanelListPanel.prototype, "columnController", void 0);
core_1.Autowired('columnModel')
], FiltersToolPanelListPanel.prototype, "columnModel", void 0);
return FiltersToolPanelListPanel;

@@ -362,0 +362,0 @@ }(core_1.Component));

@@ -10,3 +10,3 @@ import { Column, Component } from "@ag-grid-community/core";

private filterManager;
private columnController;
private columnModel;
private eExpandChecked;

@@ -13,0 +13,0 @@ private eExpandUnchecked;

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

this.column = column;
this.eFilterName.innerText = this.columnController.getDisplayNameForColumn(this.column, 'filterToolPanel', false) || '';
this.eFilterName.innerText = this.columnModel.getDisplayNameForColumn(this.column, 'filterToolPanel', false) || '';
this.addManagedListener(this.eFilterToolPanelHeader, 'click', this.toggleExpanded.bind(this));

@@ -66,3 +66,3 @@ this.addManagedListener(this.eFilterToolPanelHeader, 'keydown', function (e) {

ToolPanelFilterComp.prototype.getColumnFilterName = function () {
return this.columnController.getDisplayNameForColumn(this.column, 'filterToolPanel', false);
return this.columnModel.getDisplayNameForColumn(this.column, 'filterToolPanel', false);
};

@@ -169,4 +169,4 @@ ToolPanelFilterComp.prototype.addCssClassToTitleBar = function (cssClass) {

__decorate([
core_1.Autowired('columnController')
], ToolPanelFilterComp.prototype, "columnController", void 0);
core_1.Autowired('columnModel')
], ToolPanelFilterComp.prototype, "columnModel", void 0);
__decorate([

@@ -173,0 +173,0 @@ core_1.PostConstruct

@@ -7,3 +7,3 @@ import { Component, OriginalColumnGroupChild, ITooltipParams } from "@ag-grid-community/core";

private filterGroupComp;
private columnController;
private columnModel;
private readonly depth;

@@ -10,0 +10,0 @@ private readonly columnGroup;

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

// tooltip shows but cos we didn't leave the group the group tooltip remains. this should be fixed in the future,
// maye the group shouldn't contain the children form a DOM perspective.
// maybe the group shouldn't contain the children form a DOM perspective.
if (!this.showingColumn) {

@@ -68,3 +68,3 @@ return;

var newTooltipText = _this.columnGroup.getColDef().headerTooltip;
_this.setTooltip(core_1._.escapeString(newTooltipText));
_this.setTooltip(newTooltipText);
};

@@ -176,6 +176,6 @@ refresh();

ToolPanelFilterGroupComp.prototype.getColumnGroupName = function (columnGroup) {
return this.columnController.getDisplayNameForOriginalColumnGroup(null, columnGroup, 'filterToolPanel');
return this.columnModel.getDisplayNameForOriginalColumnGroup(null, columnGroup, 'filterToolPanel');
};
ToolPanelFilterGroupComp.prototype.getColumnName = function (column) {
return this.columnController.getDisplayNameForColumn(column, 'filterToolPanel', false);
return this.columnModel.getDisplayNameForColumn(column, 'filterToolPanel', false);
};

@@ -195,4 +195,4 @@ ToolPanelFilterGroupComp.prototype.destroyFilters = function () {

__decorate([
core_1.Autowired('columnController')
], ToolPanelFilterGroupComp.prototype, "columnController", void 0);
core_1.Autowired('columnModel')
], ToolPanelFilterGroupComp.prototype, "columnModel", void 0);
__decorate([

@@ -199,0 +199,0 @@ core_1.PreConstruct

@@ -9,3 +9,3 @@ import { Component } from "@ag-grid-community/core";

export declare class FiltersToolPanelHeaderPanel extends Component {
private columnController;
private columnModel;
private eExpand;

@@ -12,0 +12,0 @@ private eFilterTextField;

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

this.params = params;
if (this.columnController.isReady()) {
if (this.columnModel.isReady()) {
this.showOrHideOptions();

@@ -63,3 +63,3 @@ }

var isFilterGroupPresent = function (col) { return col.getOriginalParent() && col.isFilterAllowed(); };
var filterGroupsPresent = this.columnController.getAllGridColumns().some(isFilterGroupPresent);
var filterGroupsPresent = this.columnModel.getAllGridColumns().some(isFilterGroupPresent);
_.setDisplayed(this.eFilterTextField.getGui(), showFilterSearch);

@@ -88,4 +88,4 @@ _.setDisplayed(this.eExpand, showExpand && filterGroupsPresent);

__decorate([
Autowired('columnController')
], FiltersToolPanelHeaderPanel.prototype, "columnController", void 0);
Autowired('columnModel')
], FiltersToolPanelHeaderPanel.prototype, "columnModel", void 0);
__decorate([

@@ -92,0 +92,0 @@ RefSelector('eExpand')

@@ -8,3 +8,3 @@ import { AbstractColDef, Component } from "@ag-grid-community/core";

private toolPanelColDefService;
private columnController;
private columnModel;
private initialised;

@@ -11,0 +11,0 @@ private params;

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

});
if (this.columnController.isReady()) {
if (this.columnModel.isReady()) {
this.onColumnsChanged();

@@ -61,3 +61,3 @@ }

FiltersToolPanelListPanel.prototype.onColumnsChanged = function () {
var pivotModeActive = this.columnController.isPivotMode();
var pivotModeActive = this.columnModel.isPivotMode();
var shouldSyncColumnLayoutWithGrid = !this.params.suppressSyncLayoutWithGrid && !pivotModeActive;

@@ -72,3 +72,3 @@ shouldSyncColumnLayoutWithGrid ? this.syncFilterLayout() : this.buildTreeFromProvidedColumnDefs();

this.destroyFilters();
var columnTree = this.columnController.getPrimaryColumnTree();
var columnTree = this.columnModel.getPrimaryColumnTree();
this.filterGroupComps = this.recursivelyAddComps(columnTree, 0);

@@ -356,6 +356,6 @@ var len = this.filterGroupComps.length;

__decorate([
Autowired('columnController')
], FiltersToolPanelListPanel.prototype, "columnController", void 0);
Autowired('columnModel')
], FiltersToolPanelListPanel.prototype, "columnModel", void 0);
return FiltersToolPanelListPanel;
}(Component));
export { FiltersToolPanelListPanel };

@@ -10,3 +10,3 @@ import { Column, Component } from "@ag-grid-community/core";

private filterManager;
private columnController;
private columnModel;
private eExpandChecked;

@@ -13,0 +13,0 @@ private eExpandUnchecked;

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

this.column = column;
this.eFilterName.innerText = this.columnController.getDisplayNameForColumn(this.column, 'filterToolPanel', false) || '';
this.eFilterName.innerText = this.columnModel.getDisplayNameForColumn(this.column, 'filterToolPanel', false) || '';
this.addManagedListener(this.eFilterToolPanelHeader, 'click', this.toggleExpanded.bind(this));

@@ -64,3 +64,3 @@ this.addManagedListener(this.eFilterToolPanelHeader, 'keydown', function (e) {

ToolPanelFilterComp.prototype.getColumnFilterName = function () {
return this.columnController.getDisplayNameForColumn(this.column, 'filterToolPanel', false);
return this.columnModel.getDisplayNameForColumn(this.column, 'filterToolPanel', false);
};

@@ -167,4 +167,4 @@ ToolPanelFilterComp.prototype.addCssClassToTitleBar = function (cssClass) {

__decorate([
Autowired('columnController')
], ToolPanelFilterComp.prototype, "columnController", void 0);
Autowired('columnModel')
], ToolPanelFilterComp.prototype, "columnModel", void 0);
__decorate([

@@ -171,0 +171,0 @@ PostConstruct

@@ -7,3 +7,3 @@ import { Component, OriginalColumnGroupChild, ITooltipParams } from "@ag-grid-community/core";

private filterGroupComp;
private columnController;
private columnModel;
private readonly depth;

@@ -10,0 +10,0 @@ private readonly columnGroup;

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

// tooltip shows but cos we didn't leave the group the group tooltip remains. this should be fixed in the future,
// maye the group shouldn't contain the children form a DOM perspective.
// maybe the group shouldn't contain the children form a DOM perspective.
if (!this.showingColumn) {

@@ -66,3 +66,3 @@ return;

var newTooltipText = _this.columnGroup.getColDef().headerTooltip;
_this.setTooltip(_.escapeString(newTooltipText));
_this.setTooltip(newTooltipText);
};

@@ -174,6 +174,6 @@ refresh();

ToolPanelFilterGroupComp.prototype.getColumnGroupName = function (columnGroup) {
return this.columnController.getDisplayNameForOriginalColumnGroup(null, columnGroup, 'filterToolPanel');
return this.columnModel.getDisplayNameForOriginalColumnGroup(null, columnGroup, 'filterToolPanel');
};
ToolPanelFilterGroupComp.prototype.getColumnName = function (column) {
return this.columnController.getDisplayNameForColumn(column, 'filterToolPanel', false);
return this.columnModel.getDisplayNameForColumn(column, 'filterToolPanel', false);
};

@@ -193,4 +193,4 @@ ToolPanelFilterGroupComp.prototype.destroyFilters = function () {

__decorate([
Autowired('columnController')
], ToolPanelFilterGroupComp.prototype, "columnController", void 0);
Autowired('columnModel')
], ToolPanelFilterGroupComp.prototype, "columnModel", void 0);
__decorate([

@@ -197,0 +197,0 @@ PreConstruct

{
"name": "@ag-grid-enterprise/filter-tool-panel",
"version": "25.3.0",
"version": "26.0.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components",

@@ -9,4 +9,4 @@ "main": "./dist/cjs/main.js",

"scripts": {
"build-cjs": "tsc -p tsconfig.json",
"build-es6": "tsc -p tsconfig.es6.json",
"build-cjs": "npx tsc -p tsconfig.json",
"build-es6": "npx tsc -p tsconfig.es6.json",
"package": "node ../../module-build/rollup/build.js",

@@ -46,5 +46,5 @@ "build": "npm run build-cjs && npm run build-es6 && npm run hash",

"dependencies": {
"@ag-grid-community/core": "~25.3.0",
"@ag-grid-enterprise/core": "~25.3.0",
"@ag-grid-enterprise/side-bar": "~25.3.0"
"@ag-grid-community/core": "~26.0.0",
"@ag-grid-enterprise/core": "~26.0.0",
"@ag-grid-enterprise/side-bar": "~26.0.0"
},

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

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