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

ag-grid-enterprise

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-grid-enterprise - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

CONTRIBUTING.md

2

bower.json
{
"name": "ag-grid-enterprise",
"version": "4.0.3",
"version": "4.0.4",
"homepage": "http://www.ag-grid.com/",

@@ -5,0 +5,0 @@ "authors": [

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IContextMenuFactory } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { RowNode } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
export declare function populateClientExports(exports: any): void;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var columnSelectPanel_1 = require("./columnSelect/columnSelectPanel");

@@ -3,0 +3,0 @@ var renderedColumn_1 = require("./columnSelect/renderedColumn");

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IClipboardService } from "ag-grid/main";

@@ -22,3 +22,3 @@ export declare class ClipboardService implements IClipboardService {

copyToClipboard(): void;
copySelectedRangesToClipboard(): void;
copySelectedRangeToClipboard(): void;
private processRangeCell(rowNode, column, value);

@@ -25,0 +25,0 @@ private getRowNode(gridRow);

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -97,3 +97,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

if (this.rangeController.isMoreThanOneCell()) {
this.copySelectedRangesToClipboard();
this.copySelectedRangeToClipboard();
}

@@ -104,6 +104,6 @@ else if (!this.selectionController.isEmpty()) {

else if (!this.rangeController.isEmpty()) {
this.copySelectedRangesToClipboard();
this.copySelectedRangeToClipboard();
}
};
ClipboardService.prototype.copySelectedRangesToClipboard = function () {
ClipboardService.prototype.copySelectedRangeToClipboard = function () {
var _this = this;

@@ -110,0 +110,0 @@ if (this.rangeController.isEmpty()) {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from "ag-grid/main";

@@ -3,0 +3,0 @@ export declare class ColumnSelectPanel extends Component {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { RenderedItem } from "./renderedItem";

@@ -3,0 +3,0 @@ import { Column } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { RenderedItem } from "./renderedItem";

@@ -3,0 +3,0 @@ import { OriginalColumnGroup } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from "ag-grid/main";

@@ -3,0 +3,0 @@ export declare class RenderedItem extends Component {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
export declare class EnterpriseBoot {

@@ -3,0 +3,0 @@ private filterManager;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -3,0 +3,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IMenuFactory } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { Column } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -370,2 +370,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

EnterpriseMenu.prototype.afterGuiAttached = function (params) {
this.tabbedLayout.setAfterAttachedParams({ hidePopup: params.hidePopup });
this.showTabBasedOnPreviousSelection();

@@ -372,0 +373,0 @@ this.hidePopupFunc = params.hidePopup;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var main_1 = require('ag-grid/main');

@@ -3,0 +3,0 @@ var toolPanel_1 = require("./toolPanel");

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IRangeController } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { RangeSelection } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -3,0 +3,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { ColumnController } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IRowNodeStage } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { RowNode } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -3,0 +3,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { IRowNodeStage } from "ag-grid/main";

@@ -3,0 +3,0 @@ import { RowNode } from "ag-grid/main";

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -3,0 +3,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Filter } from "ag-grid/main";

@@ -24,3 +24,3 @@ export declare class SetFilter implements Filter {

init(params: any): void;
afterGuiAttached(): void;
afterGuiAttached(params: any): void;
isFilterActive(): boolean;

@@ -27,0 +27,0 @@ doesFilterPass(node: any): boolean;

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var main_1 = require("ag-grid/main");

@@ -52,3 +52,3 @@ var setFilterModel_1 = require("./setFilterModel");

// virtual row logic needs info about the gui state
SetFilter.prototype.afterGuiAttached = function () {
SetFilter.prototype.afterGuiAttached = function (params) {
this.drawVirtualRows();

@@ -55,0 +55,0 @@ };

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { ColDef } from "ag-grid/main";

@@ -3,0 +3,0 @@ export declare class SetFilterModel {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var main_1 = require("ag-grid/main");

@@ -3,0 +3,0 @@ var SetFilterModel = (function () {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from 'ag-grid/main';

@@ -3,0 +3,0 @@ export declare class StatusBar extends Component {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -52,2 +52,3 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

var count = 0;
var numberCount = 0;
var min = 0;

@@ -74,2 +75,6 @@ var max = 0;

var value = _this.valueService.getValue(column, rowNode);
// if empty cell, skip it, doesn't impact count or anything
if (main_1.Utils.missing(value) || value === '') {
return;
}
if (typeof value === 'string') {

@@ -86,2 +91,3 @@ value = Number(value);

}
numberCount++;
}

@@ -98,10 +104,19 @@ count++;

var gotResult = count > 1;
var gotNumberResult = numberCount > 0;
// we should count even if no numbers
if (gotResult) {
this.statusItemCount.setValue(count);
}
this.statusItemCount.setVisible(gotResult);
// if numbers, then show the number items
if (gotNumberResult) {
this.statusItemSum.setValue(sum);
this.statusItemCount.setValue(count);
this.statusItemMin.setValue(min);
this.statusItemMax.setValue(max);
this.statusItemAvg.setValue(sum / count);
this.statusItemAvg.setValue(sum / numberCount);
}
this.forEachStatusItem(function (statusItem) { return statusItem.setVisible(gotResult); });
this.statusItemSum.setVisible(gotNumberResult);
this.statusItemMin.setVisible(gotNumberResult);
this.statusItemMax.setVisible(gotNumberResult);
this.statusItemAvg.setVisible(gotNumberResult);
};

@@ -108,0 +123,0 @@ StatusBar.prototype.getRowNode = function (gridRow) {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from 'ag-grid/main';

@@ -3,0 +3,0 @@ export declare class StatusItem extends Component {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
import { Component } from "ag-grid/main";

@@ -3,0 +3,0 @@ export declare class ToolPanel extends Component {

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

// ag-grid-enterprise v4.0.3
// ag-grid-enterprise v4.0.4
var __extends = (this && this.__extends) || function (d, b) {

@@ -3,0 +3,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

{
"name": "ag-grid-enterprise",
"version": "4.0.3",
"version": "4.0.4",
"description": "ag-Grid Enterprise Features",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -113,11 +113,11 @@

if (this.rangeController.isMoreThanOneCell()) {
this.copySelectedRangesToClipboard();
this.copySelectedRangeToClipboard();
} else if (!this.selectionController.isEmpty()) {
this.copySelectedRowsToClipboard();
} else if (!this.rangeController.isEmpty()) {
this.copySelectedRangesToClipboard();
this.copySelectedRangeToClipboard();
}
}
public copySelectedRangesToClipboard(): void {
public copySelectedRangeToClipboard(): void {
if (this.rangeController.isEmpty()) { return; }

@@ -124,0 +124,0 @@

@@ -424,2 +424,3 @@ import {Utils as _} from "ag-grid/main";

public afterGuiAttached(params: any): void {
this.tabbedLayout.setAfterAttachedParams({hidePopup: params.hidePopup});
this.showTabBasedOnPreviousSelection();

@@ -426,0 +427,0 @@ this.hidePopupFunc = params.hidePopup;

@@ -77,3 +77,3 @@ import {Utils as _} from "ag-grid/main";

// virtual row logic needs info about the gui state
public afterGuiAttached(): void {
public afterGuiAttached(params: any): void {
this.drawVirtualRows();

@@ -80,0 +80,0 @@ }

@@ -68,2 +68,3 @@ import {EventService, Component, Autowired, PostConstruct, Events, Utils as _, Column,

var count = 0;
var numberCount = 0;
var min = 0;

@@ -100,2 +101,7 @@ var max = 0;

// if empty cell, skip it, doesn't impact count or anything
if (_.missing(value) || value === '') {
return;
}
if (typeof value === 'string') {

@@ -116,2 +122,4 @@ value = Number(value);

}
numberCount++;
}

@@ -134,12 +142,21 @@ count++;

var gotResult = count > 1;
var gotNumberResult = numberCount>0;
// we should count even if no numbers
if (gotResult) {
this.statusItemCount.setValue(count);
}
this.statusItemCount.setVisible(gotResult);
// if numbers, then show the number items
if (gotNumberResult) {
this.statusItemSum.setValue(sum);
this.statusItemCount.setValue(count);
this.statusItemMin.setValue(min);
this.statusItemMax.setValue(max);
this.statusItemAvg.setValue(sum / count);
this.statusItemAvg.setValue(sum / numberCount);
}
this.forEachStatusItem( (statusItem)=> statusItem.setVisible(gotResult));
this.statusItemSum.setVisible(gotNumberResult);
this.statusItemMin.setVisible(gotNumberResult);
this.statusItemMax.setVisible(gotNumberResult);
this.statusItemAvg.setVisible(gotNumberResult);
}

@@ -146,0 +163,0 @@

@@ -38,3 +38,3 @@ THIS DOCUMENT IS A LEGAL AGREEMENT (“Agreement”) BETWEEN AG GRID LTD AND YOU OR THE ORGANIZATION ON WHOSE BEHALF YOU

It is teh customers responsibility that the support tickets are raised by aptly trained individuals, such that the cause of the
It is the customers responsibility that the support tickets are raised by aptly trained individuals, such that the cause of the
issue is not due to inexperience of the raiser. In other words, the ticket should not be due to the

@@ -41,0 +41,0 @@ the raiser is not proficient enough in Javascript or other related technologies.

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

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