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

@ag-grid-enterprise/row-grouping

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/row-grouping - npm Package Compare versions

Comparing version 32.1.0 to 32.2.0

dist/types/src/rowGrouping/groupStage/groupStrategy/batchRemover.d.ts

6

dist/package/package.json
{
"name": "@ag-grid-enterprise/row-grouping",
"version": "32.1.0",
"version": "32.2.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

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

"dependencies": {
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0"
"@ag-grid-community/core": "32.2.0",
"@ag-grid-enterprise/core": "32.2.0"
},

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

{
"name": "@ag-grid-enterprise/row-grouping",
"version": "32.1.0",
"version": "32.2.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -16,4 +16,4 @@ "main": "./src/main.js",

"dependencies": {
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0"
"@ag-grid-community/core": "32.2.0",
"@ag-grid-enterprise/core": "32.2.0"
},

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

@@ -9,2 +9,3 @@ import type { BeanCollection, IRowNodeStage, NamedBean, StageExecuteParams } from '@ag-grid-community/core';

execute(params: StageExecuteParams): void;
/** for tree data, we include all children, groups and leafs */
private setAllChildrenCountTreeData;

@@ -11,0 +12,0 @@ private setAllChildrenCountGridGrouping;

@@ -1,42 +0,71 @@

import type { BeanCollection, IRowNodeStage, StageExecuteParams } from '@ag-grid-community/core';
import type { BeanCollection, ChangedPath, GetDataPath, IRowNodeStage, InitialGroupOrderComparatorParams, IsGroupOpenByDefaultParams, StageExecuteParams, WithoutGridCommon } from '@ag-grid-community/core';
import { BeanStub } from '@ag-grid-community/core';
export type IsGroupOpenByDefaultCallback = ((params: WithoutGridCommon<IsGroupOpenByDefaultParams>) => boolean) | undefined;
export type InitialGroupOrderComparatorCallback = ((params: WithoutGridCommon<InitialGroupOrderComparatorParams>) => number) | undefined;
export interface TreeExecutionDetails {
changedPath: ChangedPath | undefined;
expandByDefault: number;
suppressGroupMaintainValueType: boolean;
getDataPath: GetDataPath | undefined;
isGroupOpenByDefault: IsGroupOpenByDefaultCallback;
initialGroupOrderComparator: InitialGroupOrderComparatorCallback;
}
export declare class TreeStrategy extends BeanStub implements IRowNodeStage {
private beans;
private selectionService;
private showRowGroupColsService;
private oldGroupDisplayColIds;
/** Rows that are pending deletion, this.commitDeletedRows() will finalize removal. */
private rowsPendingDestruction;
/** The root node of the tree. */
private readonly root;
wireBeans(beans: BeanCollection): void;
private oldGroupDisplayColIds;
/** Hierarchical node cache to speed up tree data node insertion */
private root;
destroy(): void;
execute(params: StageExecuteParams): void;
private setTreeNodeRow;
private handleRowData;
private handleTransaction;
private isNodeInTheRightPath;
private moveNodesInWrongPath;
private moveNode;
private removeNodes;
private removeNodesInStages;
private removeEmptyGroups;
private removeFromParent;
private handleRowNodesOrderChanged;
private checkAllGroupDataAfterColsChanged;
/** Transactional add/update */
private addOrUpdateRows;
/** Transactional removal */
private removeRows;
private getDataPath;
/**
* This is idempotent, but relies on the `key` field being the same throughout a RowNode's lifetime
* Gets the last node of a path. Inserts filler nodes where needed.
* Note that invalidate() is not called, is up to the caller to call it if needed.
*/
private addToParent;
private shotgunResetEverything;
private checkAllGroupDataAfterColsChanged;
private insertNodes;
private insertOneNode;
private fixLevels;
private upsertPath;
/** Add or updates the row to a non-root node, preparing the tree correctly for the commit. */
private addOrUpdateRow;
/**
* Directly re-initialises the tree cache
* Overwrites the row property of a non-root node to null.
* @returns The previous row, if any, that was overwritten.
*/
private buildNodeCacheFromRows;
private ensureRowNodeFields;
/** Walks the Tree recursively and backfills `null` entries with filler group nodes */
private backfillGroups;
private createGroup;
private createGroupIdEnd;
private removeRow;
/** Commit the changes performed to the tree */
private commitTree;
/** Calls commitChild for each invalidated child, recursively. We commit only the invalidated paths. */
private commitInvalidatedChildren;
/** Commit the changes performed to a node and its children */
private commitChild;
private commitNodePreOrder;
private commitNodePostOrder;
private createFillerRow;
private setGroupData;
private setExpandedInitialValue;
private getDataPath;
private getExpandedInitialValue;
/** Called to clear a subtree. */
private clearTree;
/** Called by the destructor, to the destroy the whole tree. */
private destroyTree;
/**
* Finalizes the deletion of a row.
* @param immediate If true, the row is deleted immediately.
* If false, the row is marked for deletion, and will be deleted later with this.deleteDeletedRows()
*/
private destroyRow;
/**
* destroyRow can defer the deletion to the end of the commit stage.
* This method finalizes the deletion of rows that were marked for deletion.
*/
private commitDestroyedRows;
}

@@ -24,4 +24,2 @@ import type { BeanCollection, ColDef, ColGroupDef, IPivotColDefService, NamedBean } from '@ag-grid-community/core';

private addRowGroupTotals;
private extractColIdsForValueColumn;
private createRowGroupTotal;
private createColDef;

@@ -28,0 +26,0 @@ private sameAggFuncs;

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

export declare const VERSION = "32.1.0";
export declare const VERSION = "32.2.0";
{
"name": "@ag-grid-enterprise/row-grouping",
"version": "32.1.0",
"version": "32.2.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

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

"dependencies": {
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0"
"@ag-grid-community/core": "32.2.0",
"@ag-grid-enterprise/core": "32.2.0"
},

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

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

Sorry, the diff of this file is not supported yet

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