Socket
Socket
Sign inDemoInstall

@ag-grid-enterprise/core

Package Overview
Dependencies
1
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.1.0 to 29.2.0

dist/cjs/es5/license/gridLicenseManager.d.ts

2

dist/cjs/es5/agGridEnterpriseModule.d.ts
import { Module } from "@ag-grid-community/core";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";
export declare const EnterpriseCoreModule: Module;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnterpriseCoreModule = exports.WatermarkComp = exports.MD5 = exports.LicenseManager = void 0;
exports.EnterpriseCoreModule = exports.WatermarkComp = void 0;
var core_1 = require("@ag-grid-community/core");
var licenseManager_1 = require("./licenseManager");
var md5_1 = require("./license/md5");
var gridLicenseManager_1 = require("./license/gridLicenseManager");
var watermark_1 = require("./license/watermark");
var licenseManager_2 = require("./licenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return licenseManager_2.LicenseManager; } });
var md5_2 = require("./license/md5");
Object.defineProperty(exports, "MD5", { enumerable: true, get: function () { return md5_2.MD5; } });
var watermark_2 = require("./license/watermark");

@@ -18,3 +13,3 @@ Object.defineProperty(exports, "WatermarkComp", { enumerable: true, get: function () { return watermark_2.WatermarkComp; } });

moduleName: core_1.ModuleNames.EnterpriseCoreModule,
beans: [licenseManager_1.LicenseManager, md5_1.MD5],
beans: [gridLicenseManager_1.GridLicenseManager],
agStackComponents: [

@@ -21,0 +16,0 @@ { componentName: 'AgWatermark', componentClass: watermark_1.WatermarkComp }

import { Component } from '@ag-grid-community/core';
import { LicenseManager } from '../licenseManager';
import { GridLicenseManager as LicenseManager } from './gridLicenseManager';
export declare class WatermarkComp extends Component {

@@ -4,0 +4,0 @@ licenseManager: LicenseManager;

export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";

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

Object.defineProperty(exports, "EnterpriseCoreModule", { enumerable: true, get: function () { return agGridEnterpriseModule_1.EnterpriseCoreModule; } });
var licenseManager_1 = require("./licenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return licenseManager_1.LicenseManager; } });
var gridLicenseManager_1 = require("./license/gridLicenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return gridLicenseManager_1.GridLicenseManager; } });

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

export declare const VERSION = "29.1.0";
export declare const VERSION = "29.2.0";

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

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '29.1.0';
exports.VERSION = '29.2.0';
import { Module } from "@ag-grid-community/core";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";
export declare const EnterpriseCoreModule: Module;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnterpriseCoreModule = exports.WatermarkComp = exports.MD5 = exports.LicenseManager = void 0;
exports.EnterpriseCoreModule = exports.WatermarkComp = void 0;
const core_1 = require("@ag-grid-community/core");
const licenseManager_1 = require("./licenseManager");
const md5_1 = require("./license/md5");
const gridLicenseManager_1 = require("./license/gridLicenseManager");
const watermark_1 = require("./license/watermark");
var licenseManager_2 = require("./licenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return licenseManager_2.LicenseManager; } });
var md5_2 = require("./license/md5");
Object.defineProperty(exports, "MD5", { enumerable: true, get: function () { return md5_2.MD5; } });
var watermark_2 = require("./license/watermark");

@@ -18,3 +13,3 @@ Object.defineProperty(exports, "WatermarkComp", { enumerable: true, get: function () { return watermark_2.WatermarkComp; } });

moduleName: core_1.ModuleNames.EnterpriseCoreModule,
beans: [licenseManager_1.LicenseManager, md5_1.MD5],
beans: [gridLicenseManager_1.GridLicenseManager],
agStackComponents: [

@@ -21,0 +16,0 @@ { componentName: 'AgWatermark', componentClass: watermark_1.WatermarkComp }

import { Component } from '@ag-grid-community/core';
import { LicenseManager } from '../licenseManager';
import { GridLicenseManager as LicenseManager } from './gridLicenseManager';
export declare class WatermarkComp extends Component {

@@ -4,0 +4,0 @@ licenseManager: LicenseManager;

export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";

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

Object.defineProperty(exports, "EnterpriseCoreModule", { enumerable: true, get: function () { return agGridEnterpriseModule_1.EnterpriseCoreModule; } });
var licenseManager_1 = require("./licenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return licenseManager_1.LicenseManager; } });
var gridLicenseManager_1 = require("./license/gridLicenseManager");
Object.defineProperty(exports, "LicenseManager", { enumerable: true, get: function () { return gridLicenseManager_1.GridLicenseManager; } });

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

export declare const VERSION = "29.1.0";
export declare const VERSION = "29.2.0";

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

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '29.1.0';
exports.VERSION = '29.2.0';
/**
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.1.0
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.2.0
* @link https://www.ag-grid.com/

@@ -12,21 +12,171 @@ * @license Commercial

var __extends$2 = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
var MD5 = /** @class */ (function () {
function MD5() {
this.ieCompatibility = false;
}
MD5.prototype.init = function () {
this.ieCompatibility = (this.md5('hello') != '5d41402abc4b2a76b9719d911017c592');
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
MD5.prototype.md5cycle = function (x, k) {
var a = x[0], b = x[1], c = x[2], d = x[3];
a = this.ff(a, b, c, d, k[0], 7, -680876936);
d = this.ff(d, a, b, c, k[1], 12, -389564586);
c = this.ff(c, d, a, b, k[2], 17, 606105819);
b = this.ff(b, c, d, a, k[3], 22, -1044525330);
a = this.ff(a, b, c, d, k[4], 7, -176418897);
d = this.ff(d, a, b, c, k[5], 12, 1200080426);
c = this.ff(c, d, a, b, k[6], 17, -1473231341);
b = this.ff(b, c, d, a, k[7], 22, -45705983);
a = this.ff(a, b, c, d, k[8], 7, 1770035416);
d = this.ff(d, a, b, c, k[9], 12, -1958414417);
c = this.ff(c, d, a, b, k[10], 17, -42063);
b = this.ff(b, c, d, a, k[11], 22, -1990404162);
a = this.ff(a, b, c, d, k[12], 7, 1804603682);
d = this.ff(d, a, b, c, k[13], 12, -40341101);
c = this.ff(c, d, a, b, k[14], 17, -1502002290);
b = this.ff(b, c, d, a, k[15], 22, 1236535329);
a = this.gg(a, b, c, d, k[1], 5, -165796510);
d = this.gg(d, a, b, c, k[6], 9, -1069501632);
c = this.gg(c, d, a, b, k[11], 14, 643717713);
b = this.gg(b, c, d, a, k[0], 20, -373897302);
a = this.gg(a, b, c, d, k[5], 5, -701558691);
d = this.gg(d, a, b, c, k[10], 9, 38016083);
c = this.gg(c, d, a, b, k[15], 14, -660478335);
b = this.gg(b, c, d, a, k[4], 20, -405537848);
a = this.gg(a, b, c, d, k[9], 5, 568446438);
d = this.gg(d, a, b, c, k[14], 9, -1019803690);
c = this.gg(c, d, a, b, k[3], 14, -187363961);
b = this.gg(b, c, d, a, k[8], 20, 1163531501);
a = this.gg(a, b, c, d, k[13], 5, -1444681467);
d = this.gg(d, a, b, c, k[2], 9, -51403784);
c = this.gg(c, d, a, b, k[7], 14, 1735328473);
b = this.gg(b, c, d, a, k[12], 20, -1926607734);
a = this.hh(a, b, c, d, k[5], 4, -378558);
d = this.hh(d, a, b, c, k[8], 11, -2022574463);
c = this.hh(c, d, a, b, k[11], 16, 1839030562);
b = this.hh(b, c, d, a, k[14], 23, -35309556);
a = this.hh(a, b, c, d, k[1], 4, -1530992060);
d = this.hh(d, a, b, c, k[4], 11, 1272893353);
c = this.hh(c, d, a, b, k[7], 16, -155497632);
b = this.hh(b, c, d, a, k[10], 23, -1094730640);
a = this.hh(a, b, c, d, k[13], 4, 681279174);
d = this.hh(d, a, b, c, k[0], 11, -358537222);
c = this.hh(c, d, a, b, k[3], 16, -722521979);
b = this.hh(b, c, d, a, k[6], 23, 76029189);
a = this.hh(a, b, c, d, k[9], 4, -640364487);
d = this.hh(d, a, b, c, k[12], 11, -421815835);
c = this.hh(c, d, a, b, k[15], 16, 530742520);
b = this.hh(b, c, d, a, k[2], 23, -995338651);
a = this.ii(a, b, c, d, k[0], 6, -198630844);
d = this.ii(d, a, b, c, k[7], 10, 1126891415);
c = this.ii(c, d, a, b, k[14], 15, -1416354905);
b = this.ii(b, c, d, a, k[5], 21, -57434055);
a = this.ii(a, b, c, d, k[12], 6, 1700485571);
d = this.ii(d, a, b, c, k[3], 10, -1894986606);
c = this.ii(c, d, a, b, k[10], 15, -1051523);
b = this.ii(b, c, d, a, k[1], 21, -2054922799);
a = this.ii(a, b, c, d, k[8], 6, 1873313359);
d = this.ii(d, a, b, c, k[15], 10, -30611744);
c = this.ii(c, d, a, b, k[6], 15, -1560198380);
b = this.ii(b, c, d, a, k[13], 21, 1309151649);
a = this.ii(a, b, c, d, k[4], 6, -145523070);
d = this.ii(d, a, b, c, k[11], 10, -1120210379);
c = this.ii(c, d, a, b, k[2], 15, 718787259);
b = this.ii(b, c, d, a, k[9], 21, -343485551);
x[0] = this.add32(a, x[0]);
x[1] = this.add32(b, x[1]);
x[2] = this.add32(c, x[2]);
x[3] = this.add32(d, x[3]);
};
})();
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
MD5.prototype.cmn = function (q, a, b, x, s, t) {
a = this.add32(this.add32(a, q), this.add32(x, t));
return this.add32((a << s) | (a >>> (32 - s)), b);
};
MD5.prototype.ff = function (a, b, c, d, x, s, t) {
return this.cmn((b & c) | ((~b) & d), a, b, x, s, t);
};
MD5.prototype.gg = function (a, b, c, d, x, s, t) {
return this.cmn((b & d) | (c & (~d)), a, b, x, s, t);
};
MD5.prototype.hh = function (a, b, c, d, x, s, t) {
return this.cmn(b ^ c ^ d, a, b, x, s, t);
};
MD5.prototype.ii = function (a, b, c, d, x, s, t) {
return this.cmn(c ^ (b | (~d)), a, b, x, s, t);
};
MD5.prototype.md51 = function (s) {
var n = s.length;
var state = [1732584193, -271733879, -1732584194, 271733878];
var i;
for (i = 64; i <= s.length; i += 64) {
this.md5cycle(state, this.md5blk(s.substring(i - 64, i)));
}
s = s.substring(i - 64);
var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
for (i = 0; i < s.length; i++) {
tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
}
tail[i >> 2] |= 0x80 << ((i % 4) << 3);
if (i > 55) {
this.md5cycle(state, tail);
for (i = 0; i < 16; i++) {
tail[i] = 0;
}
}
tail[14] = n * 8;
this.md5cycle(state, tail);
return state;
};
/* there needs to be support for Unicode here, * unless we pretend that we can redefine the MD-5
* algorithm for multi-byte characters (perhaps by adding every four 16-bit characters and
* shortening the sum to 32 bits). Otherwise I suthis.ggest performing MD-5 as if every character
* was two bytes--e.g., 0040 0025 = @%--but then how will an ordinary MD-5 sum be matched?
* There is no way to standardize text to something like UTF-8 before transformation; speed cost is
* utterly prohibitive. The JavaScript standard itself needs to look at this: it should start
* providing access to strings as preformed UTF-8 8-bit unsigned value arrays.
*/
MD5.prototype.md5blk = function (s) {
var md5blks = [];
/* Andy King said do it this way. */
for (var i = 0; i < 64; i += 4) {
md5blks[i >> 2] = s.charCodeAt(i)
+ (s.charCodeAt(i + 1) << 8)
+ (s.charCodeAt(i + 2) << 16)
+ (s.charCodeAt(i + 3) << 24);
}
return md5blks;
};
MD5.prototype.rhex = function (n) {
var hex_chr = '0123456789abcdef'.split('');
var s = '', j = 0;
for (; j < 4; j++) {
s += hex_chr[(n >> (j * 8 + 4)) & 0x0F]
+ hex_chr[(n >> (j * 8)) & 0x0F];
}
return s;
};
MD5.prototype.hex = function (x) {
for (var i = 0; i < x.length; i++) {
x[i] = this.rhex(x[i]);
}
return x.join('');
};
MD5.prototype.md5 = function (s) {
return this.hex(this.md51(s));
};
MD5.prototype.add32 = function (a, b) {
return this.ieCompatibility ? this.add32Compat(a, b) : this.add32Std(a, b);
};
/* this function is much faster, so if possible we use it. Some IEs are the only ones I know of that
need the idiotic second function, generated by an if clause. */
MD5.prototype.add32Std = function (a, b) {
return (a + b) & 0xFFFFFFFF;
};
MD5.prototype.add32Compat = function (x, y) {
var lsw = (x & 0xFFFF) + (y & 0xFFFF), msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return (msw << 16) | (lsw & 0xFFFF);
};
return MD5;
}());
var __read = (undefined && undefined.__read) || function (o, n) {

@@ -48,12 +198,19 @@ var m = typeof Symbol === "function" && o[Symbol.iterator];

};
var LicenseManager = /** @class */ (function (_super) {
__extends$2(LicenseManager, _super);
function LicenseManager() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.watermarkMessage = undefined;
return _this;
// move to general utils
function missingOrEmpty(value) {
return value == null || value.length === 0;
}
function exists(value, allowEmptyString) {
if (allowEmptyString === void 0) { allowEmptyString = false; }
return value != null && (value !== '' || allowEmptyString);
}
var LicenseManager = /** @class */ (function () {
function LicenseManager(document) {
this.watermarkMessage = undefined;
this.document = document;
this.md5 = new MD5();
this.md5.init();
}
LicenseManager_1 = LicenseManager;
LicenseManager.prototype.validateLicense = function () {
if (core._.missingOrEmpty(LicenseManager_1.licenseKey)) {
if (missingOrEmpty(LicenseManager.licenseKey)) {
if (!this.isWebsiteUrl()) {

@@ -63,15 +220,20 @@ this.outputMissingLicenseKey();

}
else if (LicenseManager_1.licenseKey.length > 32) {
var _a = LicenseManager_1.extractLicenseComponents(LicenseManager_1.licenseKey), md5 = _a.md5, license = _a.license, version = _a.version, isTrial = _a.isTrial;
if (md5 === this.md5.md5(license)) {
if (core._.exists(version) && version) {
this.validateLicenseKeyForVersion(version, !!isTrial, license);
else if (LicenseManager.licenseKey.length > 32) {
if (LicenseManager.licenseKey.indexOf("For_Trialing_ag-Grid_Only") !== -1) {
this.outputInvalidLicenseKey();
}
else {
var _a = LicenseManager.extractLicenseComponents(LicenseManager.licenseKey), md5 = _a.md5, license = _a.license, version = _a.version, isTrial = _a.isTrial;
if (md5 === this.md5.md5(license)) {
if (exists(version) && version) {
this.validateLicenseKeyForVersion(version, !!isTrial, license);
}
else {
this.validateLegacyKey(license);
}
}
else {
this.validateLegacyKey(license);
this.outputInvalidLicenseKey();
}
}
else {
this.outputInvalidLicenseKey();
}
}

@@ -84,3 +246,3 @@ else {

var restrictionHashed = license.substring(license.lastIndexOf('_') + 1, license.length);
return new Date(parseInt(LicenseManager_1.decode(restrictionHashed), 10));
return new Date(parseInt(LicenseManager.decode(restrictionHashed), 10));
};

@@ -96,11 +258,11 @@ LicenseManager.extractLicenseComponents = function (licenseKey) {

var license = cleanedLicenseKey.substring(0, hashStart);
var _a = __read(LicenseManager_1.extractBracketedInformation(cleanedLicenseKey), 2), version = _a[0], isTrial = _a[1];
var _a = __read(LicenseManager.extractBracketedInformation(cleanedLicenseKey), 2), version = _a[0], isTrial = _a[1];
return { md5: md5, license: license, version: version, isTrial: isTrial };
};
LicenseManager.prototype.getLicenseDetails = function (licenseKey) {
var _a = LicenseManager_1.extractLicenseComponents(licenseKey), md5 = _a.md5, license = _a.license, version = _a.version, isTrial = _a.isTrial;
var _a = LicenseManager.extractLicenseComponents(licenseKey), md5 = _a.md5, license = _a.license, version = _a.version, isTrial = _a.isTrial;
var valid = (md5 === this.md5.md5(license));
var expiry = null;
if (valid) {
expiry = LicenseManager_1.extractExpiry(license);
expiry = LicenseManager.extractExpiry(license);
valid = !isNaN(expiry.getTime());

@@ -111,3 +273,3 @@ }

valid: valid,
expiry: valid ? LicenseManager_1.formatDate(expiry) : null,
expiry: valid ? LicenseManager.formatDate(expiry) : null,
version: version ? version : 'legacy',

@@ -117,4 +279,5 @@ isTrial: isTrial

};
// this.gridOptionsService.getDocument()
LicenseManager.prototype.isDisplayWatermark = function () {
return !this.isLocalhost() && !this.isWebsiteUrl() && !core._.missingOrEmpty(this.watermarkMessage);
return !this.isLocalhost() && !this.isWebsiteUrl() && !missingOrEmpty(this.watermarkMessage);
};

@@ -125,4 +288,3 @@ LicenseManager.prototype.getWatermarkMessage = function () {

LicenseManager.prototype.getHostname = function () {
var eDocument = this.gridOptionsService.getDocument();
var win = (eDocument.defaultView || window);
var win = (this.document.defaultView || window);
var loc = win.location;

@@ -153,3 +315,3 @@ var _a = loc.hostname, hostname = _a === void 0 ? '' : _a;

LicenseManager.getGridReleaseDate = function () {
return new Date(parseInt(LicenseManager_1.decode(LicenseManager_1.RELEASE_INFORMATION), 10));
return new Date(parseInt(LicenseManager.decode(LicenseManager.RELEASE_INFORMATION), 10));
};

@@ -179,3 +341,3 @@ LicenseManager.decode = function (input) {

}
t = LicenseManager_1.utf8_decode(t);
t = LicenseManager.utf8_decode(t);
return t;

@@ -204,3 +366,3 @@ };

LicenseManager.setLicenseKey = function (licenseKey) {
LicenseManager_1.licenseKey = licenseKey;
this.licenseKey = licenseKey;
};

@@ -234,4 +396,4 @@ LicenseManager.extractBracketedInformation = function (licenseKey) {

LicenseManager.prototype.validateLegacyKey = function (license) {
var gridReleaseDate = LicenseManager_1.getGridReleaseDate();
var expiry = LicenseManager_1.extractExpiry(license);
var gridReleaseDate = LicenseManager.getGridReleaseDate();
var expiry = LicenseManager.extractExpiry(license);
var valid = false;

@@ -247,4 +409,4 @@ var current = false;

else if (!current) {
var formattedExpiryDate = LicenseManager_1.formatDate(expiry);
var formattedReleaseDate = LicenseManager_1.formatDate(gridReleaseDate);
var formattedExpiryDate = LicenseManager.formatDate(expiry);
var formattedReleaseDate = LicenseManager.formatDate(gridReleaseDate);
this.outputIncompatibleVersion(formattedExpiryDate, formattedReleaseDate);

@@ -254,3 +416,3 @@ }

LicenseManager.prototype.validateForTrial = function (license) {
var expiry = LicenseManager_1.extractExpiry(license);
var expiry = LicenseManager.extractExpiry(license);
var now = new Date();

@@ -267,3 +429,3 @@ var valid = false;

else if (!current) {
var formattedExpiryDate = LicenseManager_1.formatDate(expiry);
var formattedExpiryDate = LicenseManager.formatDate(expiry);
this.outputExpiredTrialKey(formattedExpiryDate);

@@ -320,15 +482,5 @@ }

};
var LicenseManager_1;
LicenseManager.RELEASE_INFORMATION = 'MTY3NjUzMjQzNzkwMg==';
__decorate$2([
core.Autowired('md5')
], LicenseManager.prototype, "md5", void 0);
__decorate$2([
core.PreConstruct
], LicenseManager.prototype, "validateLicense", null);
LicenseManager = LicenseManager_1 = __decorate$2([
core.Bean('licenseManager')
], LicenseManager);
LicenseManager.RELEASE_INFORMATION = 'MTY3OTA3NTEyNjExOQ==';
return LicenseManager;
}(core.BeanStub));
}());

@@ -354,178 +506,30 @@ var __extends$1 = (undefined && undefined.__extends) || (function () {

};
var MD5 = /** @class */ (function (_super) {
__extends$1(MD5, _super);
function MD5() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.ieCompatibility = false;
return _this;
var GridLicenseManager = /** @class */ (function (_super) {
__extends$1(GridLicenseManager, _super);
function GridLicenseManager() {
return _super !== null && _super.apply(this, arguments) || this;
}
MD5.prototype.init = function () {
this.ieCompatibility = (this.md5('hello') != '5d41402abc4b2a76b9719d911017c592');
GridLicenseManager.prototype.validateLicense = function () {
this.licenseManager = new LicenseManager(this.gridOptionsService.getDocument());
this.licenseManager.validateLicense();
};
MD5.prototype.md5cycle = function (x, k) {
var a = x[0], b = x[1], c = x[2], d = x[3];
a = this.ff(a, b, c, d, k[0], 7, -680876936);
d = this.ff(d, a, b, c, k[1], 12, -389564586);
c = this.ff(c, d, a, b, k[2], 17, 606105819);
b = this.ff(b, c, d, a, k[3], 22, -1044525330);
a = this.ff(a, b, c, d, k[4], 7, -176418897);
d = this.ff(d, a, b, c, k[5], 12, 1200080426);
c = this.ff(c, d, a, b, k[6], 17, -1473231341);
b = this.ff(b, c, d, a, k[7], 22, -45705983);
a = this.ff(a, b, c, d, k[8], 7, 1770035416);
d = this.ff(d, a, b, c, k[9], 12, -1958414417);
c = this.ff(c, d, a, b, k[10], 17, -42063);
b = this.ff(b, c, d, a, k[11], 22, -1990404162);
a = this.ff(a, b, c, d, k[12], 7, 1804603682);
d = this.ff(d, a, b, c, k[13], 12, -40341101);
c = this.ff(c, d, a, b, k[14], 17, -1502002290);
b = this.ff(b, c, d, a, k[15], 22, 1236535329);
a = this.gg(a, b, c, d, k[1], 5, -165796510);
d = this.gg(d, a, b, c, k[6], 9, -1069501632);
c = this.gg(c, d, a, b, k[11], 14, 643717713);
b = this.gg(b, c, d, a, k[0], 20, -373897302);
a = this.gg(a, b, c, d, k[5], 5, -701558691);
d = this.gg(d, a, b, c, k[10], 9, 38016083);
c = this.gg(c, d, a, b, k[15], 14, -660478335);
b = this.gg(b, c, d, a, k[4], 20, -405537848);
a = this.gg(a, b, c, d, k[9], 5, 568446438);
d = this.gg(d, a, b, c, k[14], 9, -1019803690);
c = this.gg(c, d, a, b, k[3], 14, -187363961);
b = this.gg(b, c, d, a, k[8], 20, 1163531501);
a = this.gg(a, b, c, d, k[13], 5, -1444681467);
d = this.gg(d, a, b, c, k[2], 9, -51403784);
c = this.gg(c, d, a, b, k[7], 14, 1735328473);
b = this.gg(b, c, d, a, k[12], 20, -1926607734);
a = this.hh(a, b, c, d, k[5], 4, -378558);
d = this.hh(d, a, b, c, k[8], 11, -2022574463);
c = this.hh(c, d, a, b, k[11], 16, 1839030562);
b = this.hh(b, c, d, a, k[14], 23, -35309556);
a = this.hh(a, b, c, d, k[1], 4, -1530992060);
d = this.hh(d, a, b, c, k[4], 11, 1272893353);
c = this.hh(c, d, a, b, k[7], 16, -155497632);
b = this.hh(b, c, d, a, k[10], 23, -1094730640);
a = this.hh(a, b, c, d, k[13], 4, 681279174);
d = this.hh(d, a, b, c, k[0], 11, -358537222);
c = this.hh(c, d, a, b, k[3], 16, -722521979);
b = this.hh(b, c, d, a, k[6], 23, 76029189);
a = this.hh(a, b, c, d, k[9], 4, -640364487);
d = this.hh(d, a, b, c, k[12], 11, -421815835);
c = this.hh(c, d, a, b, k[15], 16, 530742520);
b = this.hh(b, c, d, a, k[2], 23, -995338651);
a = this.ii(a, b, c, d, k[0], 6, -198630844);
d = this.ii(d, a, b, c, k[7], 10, 1126891415);
c = this.ii(c, d, a, b, k[14], 15, -1416354905);
b = this.ii(b, c, d, a, k[5], 21, -57434055);
a = this.ii(a, b, c, d, k[12], 6, 1700485571);
d = this.ii(d, a, b, c, k[3], 10, -1894986606);
c = this.ii(c, d, a, b, k[10], 15, -1051523);
b = this.ii(b, c, d, a, k[1], 21, -2054922799);
a = this.ii(a, b, c, d, k[8], 6, 1873313359);
d = this.ii(d, a, b, c, k[15], 10, -30611744);
c = this.ii(c, d, a, b, k[6], 15, -1560198380);
b = this.ii(b, c, d, a, k[13], 21, 1309151649);
a = this.ii(a, b, c, d, k[4], 6, -145523070);
d = this.ii(d, a, b, c, k[11], 10, -1120210379);
c = this.ii(c, d, a, b, k[2], 15, 718787259);
b = this.ii(b, c, d, a, k[9], 21, -343485551);
x[0] = this.add32(a, x[0]);
x[1] = this.add32(b, x[1]);
x[2] = this.add32(c, x[2]);
x[3] = this.add32(d, x[3]);
GridLicenseManager.prototype.getLicenseDetails = function (licenseKey) {
this.licenseManager.getLicenseDetails(licenseKey);
};
MD5.prototype.cmn = function (q, a, b, x, s, t) {
a = this.add32(this.add32(a, q), this.add32(x, t));
return this.add32((a << s) | (a >>> (32 - s)), b);
GridLicenseManager.prototype.isDisplayWatermark = function () {
return this.licenseManager.isDisplayWatermark();
};
MD5.prototype.ff = function (a, b, c, d, x, s, t) {
return this.cmn((b & c) | ((~b) & d), a, b, x, s, t);
GridLicenseManager.prototype.getWatermarkMessage = function () {
return this.licenseManager.getWatermarkMessage();
};
MD5.prototype.gg = function (a, b, c, d, x, s, t) {
return this.cmn((b & d) | (c & (~d)), a, b, x, s, t);
GridLicenseManager.setLicenseKey = function (licenseKey) {
LicenseManager.setLicenseKey(licenseKey);
};
MD5.prototype.hh = function (a, b, c, d, x, s, t) {
return this.cmn(b ^ c ^ d, a, b, x, s, t);
};
MD5.prototype.ii = function (a, b, c, d, x, s, t) {
return this.cmn(c ^ (b | (~d)), a, b, x, s, t);
};
MD5.prototype.md51 = function (s) {
var n = s.length;
var state = [1732584193, -271733879, -1732584194, 271733878];
var i;
for (i = 64; i <= s.length; i += 64) {
this.md5cycle(state, this.md5blk(s.substring(i - 64, i)));
}
s = s.substring(i - 64);
var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
for (i = 0; i < s.length; i++) {
tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
}
tail[i >> 2] |= 0x80 << ((i % 4) << 3);
if (i > 55) {
this.md5cycle(state, tail);
for (i = 0; i < 16; i++) {
tail[i] = 0;
}
}
tail[14] = n * 8;
this.md5cycle(state, tail);
return state;
};
/* there needs to be support for Unicode here, * unless we pretend that we can redefine the MD-5
* algorithm for multi-byte characters (perhaps by adding every four 16-bit characters and
* shortening the sum to 32 bits). Otherwise I suthis.ggest performing MD-5 as if every character
* was two bytes--e.g., 0040 0025 = @%--but then how will an ordinary MD-5 sum be matched?
* There is no way to standardize text to something like UTF-8 before transformation; speed cost is
* utterly prohibitive. The JavaScript standard itself needs to look at this: it should start
* providing access to strings as preformed UTF-8 8-bit unsigned value arrays.
*/
MD5.prototype.md5blk = function (s) {
var md5blks = [];
/* Andy King said do it this way. */
for (var i = 0; i < 64; i += 4) {
md5blks[i >> 2] = s.charCodeAt(i)
+ (s.charCodeAt(i + 1) << 8)
+ (s.charCodeAt(i + 2) << 16)
+ (s.charCodeAt(i + 3) << 24);
}
return md5blks;
};
MD5.prototype.rhex = function (n) {
var hex_chr = '0123456789abcdef'.split('');
var s = '', j = 0;
for (; j < 4; j++) {
s += hex_chr[(n >> (j * 8 + 4)) & 0x0F]
+ hex_chr[(n >> (j * 8)) & 0x0F];
}
return s;
};
MD5.prototype.hex = function (x) {
for (var i = 0; i < x.length; i++) {
x[i] = this.rhex(x[i]);
}
return x.join('');
};
MD5.prototype.md5 = function (s) {
return this.hex(this.md51(s));
};
MD5.prototype.add32 = function (a, b) {
return this.ieCompatibility ? this.add32Compat(a, b) : this.add32Std(a, b);
};
/* this function is much faster, so if possible we use it. Some IEs are the only ones I know of that
need the idiotic second function, generated by an if clause. */
MD5.prototype.add32Std = function (a, b) {
return (a + b) & 0xFFFFFFFF;
};
MD5.prototype.add32Compat = function (x, y) {
var lsw = (x & 0xFFFF) + (y & 0xFFFF), msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return (msw << 16) | (lsw & 0xFFFF);
};
__decorate$1([
core.PostConstruct
], MD5.prototype, "init", null);
MD5 = __decorate$1([
core.Bean('md5')
], MD5);
return MD5;
core.PreConstruct
], GridLicenseManager.prototype, "validateLicense", null);
GridLicenseManager = __decorate$1([
core.Bean('licenseManager')
], GridLicenseManager);
return GridLicenseManager;
}(core.BeanStub));

@@ -589,3 +593,3 @@

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

@@ -595,3 +599,3 @@ var EnterpriseCoreModule = {

moduleName: core.ModuleNames.EnterpriseCoreModule,
beans: [LicenseManager, MD5],
beans: [GridLicenseManager],
agStackComponents: [

@@ -603,2 +607,2 @@ { componentName: 'AgWatermark', componentClass: WatermarkComp }

exports.EnterpriseCoreModule = EnterpriseCoreModule;
exports.LicenseManager = LicenseManager;
exports.LicenseManager = GridLicenseManager;
/**
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.1.0
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.2.0
* @link https://www.ag-grid.com/

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

/**
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.1.0
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.2.0
* @link https://www.ag-grid.com/
* @license Commercial
*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("@ag-grid-community/core"),r=(e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)},function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),o=function(e,t,r,o){var i,n=arguments.length,s=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(n<3?i(s):n>3?i(t,r,s):i(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,n=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=n.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return s},n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.watermarkMessage=void 0,t}var s;return r(n,e),s=n,n.prototype.validateLicense=function(){if(t._.missingOrEmpty(s.licenseKey))this.isWebsiteUrl()||this.outputMissingLicenseKey();else if(s.licenseKey.length>32){var e=s.extractLicenseComponents(s.licenseKey),r=e.md5,o=e.license,i=e.version,n=e.isTrial;r===this.md5.md5(o)?t._.exists(i)&&i?this.validateLicenseKeyForVersion(i,!!n,o):this.validateLegacyKey(o):this.outputInvalidLicenseKey()}else this.outputInvalidLicenseKey()},n.extractExpiry=function(e){var t=e.substring(e.lastIndexOf("_")+1,e.length);return new Date(parseInt(s.decode(t),10))},n.extractLicenseComponents=function(e){var t=e.replace(/[\u200B-\u200D\uFEFF]/g,""),r=(t=t.replace(/\r?\n|\r/g,"")).length-32,o=t.substring(r),n=t.substring(0,r),a=i(s.extractBracketedInformation(t),2);return{md5:o,license:n,version:a[0],isTrial:a[1]}},n.prototype.getLicenseDetails=function(e){var t=s.extractLicenseComponents(e),r=t.md5,o=t.license,i=t.version,n=t.isTrial,a=r===this.md5.md5(o),c=null;return a&&(c=s.extractExpiry(o),a=!isNaN(c.getTime())),{licenseKey:e,valid:a,expiry:a?s.formatDate(c):null,version:i||"legacy",isTrial:n}},n.prototype.isDisplayWatermark=function(){return!this.isLocalhost()&&!this.isWebsiteUrl()&&!t._.missingOrEmpty(this.watermarkMessage)},n.prototype.getWatermarkMessage=function(){return this.watermarkMessage||""},n.prototype.getHostname=function(){var e=(this.gridOptionsService.getDocument().defaultView||window).location.hostname;return void 0===e?"":e},n.prototype.isWebsiteUrl=function(){return null!==this.getHostname().match(/^((?:\w+\.)?ag-grid\.com)$/)},n.prototype.isLocalhost=function(){return null!==this.getHostname().match(/^(?:127\.0\.0\.1|localhost)$/)},n.formatDate=function(e){var t=e.getDate(),r=e.getMonth(),o=e.getFullYear();return t+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][r]+" "+o},n.getGridReleaseDate=function(){return new Date(parseInt(s.decode(s.RELEASE_INFORMATION),10))},n.decode=function(e){for(var t,r,o,i,n,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",h=0,u=e.replace(/[^A-Za-z0-9+/=]/g,"");h<u.length;)t=c.indexOf(u.charAt(h++))<<2|(i=c.indexOf(u.charAt(h++)))>>4,r=(15&i)<<4|(n=c.indexOf(u.charAt(h++)))>>2,o=(3&n)<<6|(a=c.indexOf(u.charAt(h++))),l+=String.fromCharCode(t),64!=n&&(l+=String.fromCharCode(r)),64!=a&&(l+=String.fromCharCode(o));return l=s.utf8_decode(l)},n.utf8_decode=function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r<e.length;r++){var o=e.charCodeAt(r);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},n.setLicenseKey=function(e){s.licenseKey=e},n.extractBracketedInformation=function(e){var t=e.split("[").filter((function(e){return e.indexOf("]")>-1})).map((function(e){return e.split("]")[0]}));if(!t||0===t.length)return[null,null];var r=1===t.filter((function(e){return"TRIAL"===e})).length;return[t.filter((function(e){return 0===e.indexOf("v")})).map((function(e){return e.replace(/^v/,"")}))[0],r]},n.prototype.validateLicenseKeyForVersion=function(e,t,r){"2"===e&&(t?this.validateForTrial(r):this.validateLegacyKey(r))},n.prototype.validateLegacyKey=function(e){var t=s.getGridReleaseDate(),r=s.extractExpiry(e),o=!1,i=!1;if(isNaN(r.getTime())||(o=!0,i=t<r),o){if(!i){var n=s.formatDate(r),a=s.formatDate(t);this.outputIncompatibleVersion(n,a)}}else this.outputInvalidLicenseKey()},n.prototype.validateForTrial=function(e){var t=s.extractExpiry(e),r=new Date,o=!1,i=!1;if(isNaN(t.getTime())||(o=!0,i=t>r),o){if(!i){var n=s.formatDate(t);this.outputExpiredTrialKey(n)}}else this.outputInvalidLicenseKey()},n.prototype.outputInvalidLicenseKey=function(){console.error("*****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License ********************************************"),console.error("********************************************* Invalid License ***************************************************"),console.error("* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *"),console.error("*****************************************************************************************************************"),console.error("*****************************************************************************************************************"),this.watermarkMessage="Invalid License"},n.prototype.outputExpiredTrialKey=function(e){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("***************************************** Trial Period Expired. *******************************************"),console.error("* Your license for AG Grid Enterprise expired on "+e+". *"),console.error("* Please email info@ag-grid.com to purchase a license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="Trial Period Expired"},n.prototype.outputMissingLicenseKey=function(){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("****************************************** License Key Not Found ***********************************************"),console.error("* All AG Grid Enterprise features are unlocked. *"),console.error("* This is an evaluation only version, it is not licensed for development projects intended for production. *"),console.error("* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="For Trial Use Only"},n.prototype.outputIncompatibleVersion=function(e,t){console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),console.error("* AG Grid Enterprise License *"),console.error("* License not compatible with installed version of AG Grid Enterprise. *"),console.error("* *"),console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *"),console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *"),console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *"),console.error("* license end date. The license key that you have expires on "+e+", however the version of AG Grid you *"),console.error("* are trying to use was released on "+t+". *"),console.error("* *"),console.error("* Please contact info@ag-grid.com to renew your subscription to new versions and get a new license key to work with this *"),console.error("* version of AG Grid. *"),console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),this.watermarkMessage="License Expired"},n.RELEASE_INFORMATION="MTY3NjUzMjQzNzkwMg==",o([t.Autowired("md5")],n.prototype,"md5",void 0),o([t.PreConstruct],n.prototype,"validateLicense",null),n=s=o([t.Bean("licenseManager")],n)}(t.BeanStub),s=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),a=function(e,t,r,o){var i,n=arguments.length,s=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(n<3?i(s):n>3?i(t,r,s):i(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},c=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.ieCompatibility=!1,t}return s(r,e),r.prototype.init=function(){this.ieCompatibility="5d41402abc4b2a76b9719d911017c592"!=this.md5("hello")},r.prototype.md5cycle=function(e,t){var r=e[0],o=e[1],i=e[2],n=e[3];r=this.ff(r,o,i,n,t[0],7,-680876936),n=this.ff(n,r,o,i,t[1],12,-389564586),i=this.ff(i,n,r,o,t[2],17,606105819),o=this.ff(o,i,n,r,t[3],22,-1044525330),r=this.ff(r,o,i,n,t[4],7,-176418897),n=this.ff(n,r,o,i,t[5],12,1200080426),i=this.ff(i,n,r,o,t[6],17,-1473231341),o=this.ff(o,i,n,r,t[7],22,-45705983),r=this.ff(r,o,i,n,t[8],7,1770035416),n=this.ff(n,r,o,i,t[9],12,-1958414417),i=this.ff(i,n,r,o,t[10],17,-42063),o=this.ff(o,i,n,r,t[11],22,-1990404162),r=this.ff(r,o,i,n,t[12],7,1804603682),n=this.ff(n,r,o,i,t[13],12,-40341101),i=this.ff(i,n,r,o,t[14],17,-1502002290),o=this.ff(o,i,n,r,t[15],22,1236535329),r=this.gg(r,o,i,n,t[1],5,-165796510),n=this.gg(n,r,o,i,t[6],9,-1069501632),i=this.gg(i,n,r,o,t[11],14,643717713),o=this.gg(o,i,n,r,t[0],20,-373897302),r=this.gg(r,o,i,n,t[5],5,-701558691),n=this.gg(n,r,o,i,t[10],9,38016083),i=this.gg(i,n,r,o,t[15],14,-660478335),o=this.gg(o,i,n,r,t[4],20,-405537848),r=this.gg(r,o,i,n,t[9],5,568446438),n=this.gg(n,r,o,i,t[14],9,-1019803690),i=this.gg(i,n,r,o,t[3],14,-187363961),o=this.gg(o,i,n,r,t[8],20,1163531501),r=this.gg(r,o,i,n,t[13],5,-1444681467),n=this.gg(n,r,o,i,t[2],9,-51403784),i=this.gg(i,n,r,o,t[7],14,1735328473),o=this.gg(o,i,n,r,t[12],20,-1926607734),r=this.hh(r,o,i,n,t[5],4,-378558),n=this.hh(n,r,o,i,t[8],11,-2022574463),i=this.hh(i,n,r,o,t[11],16,1839030562),o=this.hh(o,i,n,r,t[14],23,-35309556),r=this.hh(r,o,i,n,t[1],4,-1530992060),n=this.hh(n,r,o,i,t[4],11,1272893353),i=this.hh(i,n,r,o,t[7],16,-155497632),o=this.hh(o,i,n,r,t[10],23,-1094730640),r=this.hh(r,o,i,n,t[13],4,681279174),n=this.hh(n,r,o,i,t[0],11,-358537222),i=this.hh(i,n,r,o,t[3],16,-722521979),o=this.hh(o,i,n,r,t[6],23,76029189),r=this.hh(r,o,i,n,t[9],4,-640364487),n=this.hh(n,r,o,i,t[12],11,-421815835),i=this.hh(i,n,r,o,t[15],16,530742520),o=this.hh(o,i,n,r,t[2],23,-995338651),r=this.ii(r,o,i,n,t[0],6,-198630844),n=this.ii(n,r,o,i,t[7],10,1126891415),i=this.ii(i,n,r,o,t[14],15,-1416354905),o=this.ii(o,i,n,r,t[5],21,-57434055),r=this.ii(r,o,i,n,t[12],6,1700485571),n=this.ii(n,r,o,i,t[3],10,-1894986606),i=this.ii(i,n,r,o,t[10],15,-1051523),o=this.ii(o,i,n,r,t[1],21,-2054922799),r=this.ii(r,o,i,n,t[8],6,1873313359),n=this.ii(n,r,o,i,t[15],10,-30611744),i=this.ii(i,n,r,o,t[6],15,-1560198380),o=this.ii(o,i,n,r,t[13],21,1309151649),r=this.ii(r,o,i,n,t[4],6,-145523070),n=this.ii(n,r,o,i,t[11],10,-1120210379),i=this.ii(i,n,r,o,t[2],15,718787259),o=this.ii(o,i,n,r,t[9],21,-343485551),e[0]=this.add32(r,e[0]),e[1]=this.add32(o,e[1]),e[2]=this.add32(i,e[2]),e[3]=this.add32(n,e[3])},r.prototype.cmn=function(e,t,r,o,i,n){return t=this.add32(this.add32(t,e),this.add32(o,n)),this.add32(t<<i|t>>>32-i,r)},r.prototype.ff=function(e,t,r,o,i,n,s){return this.cmn(t&r|~t&o,e,t,i,n,s)},r.prototype.gg=function(e,t,r,o,i,n,s){return this.cmn(t&o|r&~o,e,t,i,n,s)},r.prototype.hh=function(e,t,r,o,i,n,s){return this.cmn(t^r^o,e,t,i,n,s)},r.prototype.ii=function(e,t,r,o,i,n,s){return this.cmn(r^(t|~o),e,t,i,n,s)},r.prototype.md51=function(e){var t,r=e.length,o=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)this.md5cycle(o,this.md5blk(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(this.md5cycle(o,i),t=0;t<16;t++)i[t]=0;return i[14]=8*r,this.md5cycle(o,i),o},r.prototype.md5blk=function(e){for(var t=[],r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t},r.prototype.rhex=function(e){for(var t="0123456789abcdef".split(""),r="",o=0;o<4;o++)r+=t[e>>8*o+4&15]+t[e>>8*o&15];return r},r.prototype.hex=function(e){for(var t=0;t<e.length;t++)e[t]=this.rhex(e[t]);return e.join("")},r.prototype.md5=function(e){return this.hex(this.md51(e))},r.prototype.add32=function(e,t){return this.ieCompatibility?this.add32Compat(e,t):this.add32Std(e,t)},r.prototype.add32Std=function(e,t){return e+t&4294967295},r.prototype.add32Compat=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r},a([t.PostConstruct],r.prototype,"init",null),r=a([t.Bean("md5")],r)}(t.BeanStub),l=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),h=function(e,t,r,o){var i,n=arguments.length,s=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(n<3?i(s):n>3?i(t,r,s):i(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},u=function(e){function r(){return e.call(this,'<div class="ag-watermark">\n <div ref="eLicenseTextRef" class="ag-watermark-text"></div>\n </div>')||this}return l(r,e),r.prototype.postConstruct=function(){var e=this,t=this.shouldDisplayWatermark();this.setDisplayed(t),t&&(this.eLicenseTextRef.innerText=this.licenseManager.getWatermarkMessage(),window.setTimeout((function(){return e.addCssClass("ag-opacity-zero")}),0),window.setTimeout((function(){return e.setDisplayed(!1)}),5e3))},r.prototype.shouldDisplayWatermark=function(){var e=(this.gridOptionsService.getDocument().defaultView||window).location.pathname,t=this.licenseManager.isDisplayWatermark();return!!e&&-1!==e.indexOf("forceWatermark")||t},h([t.Autowired("licenseManager")],r.prototype,"licenseManager",void 0),h([t.RefSelector("eLicenseTextRef")],r.prototype,"eLicenseTextRef",void 0),h([t.PostConstruct],r.prototype,"postConstruct",null),r}(t.Component),f={version:"29.1.0",moduleName:t.ModuleNames.EnterpriseCoreModule,beans:[n,c],agStackComponents:[{componentName:"AgWatermark",componentClass:u}]};exports.EnterpriseCoreModule=f,exports.LicenseManager=n;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@ag-grid-community/core"),t=function(){function e(){this.ieCompatibility=!1}return e.prototype.init=function(){this.ieCompatibility="5d41402abc4b2a76b9719d911017c592"!=this.md5("hello")},e.prototype.md5cycle=function(e,t){var r=e[0],i=e[1],o=e[2],n=e[3];r=this.ff(r,i,o,n,t[0],7,-680876936),n=this.ff(n,r,i,o,t[1],12,-389564586),o=this.ff(o,n,r,i,t[2],17,606105819),i=this.ff(i,o,n,r,t[3],22,-1044525330),r=this.ff(r,i,o,n,t[4],7,-176418897),n=this.ff(n,r,i,o,t[5],12,1200080426),o=this.ff(o,n,r,i,t[6],17,-1473231341),i=this.ff(i,o,n,r,t[7],22,-45705983),r=this.ff(r,i,o,n,t[8],7,1770035416),n=this.ff(n,r,i,o,t[9],12,-1958414417),o=this.ff(o,n,r,i,t[10],17,-42063),i=this.ff(i,o,n,r,t[11],22,-1990404162),r=this.ff(r,i,o,n,t[12],7,1804603682),n=this.ff(n,r,i,o,t[13],12,-40341101),o=this.ff(o,n,r,i,t[14],17,-1502002290),i=this.ff(i,o,n,r,t[15],22,1236535329),r=this.gg(r,i,o,n,t[1],5,-165796510),n=this.gg(n,r,i,o,t[6],9,-1069501632),o=this.gg(o,n,r,i,t[11],14,643717713),i=this.gg(i,o,n,r,t[0],20,-373897302),r=this.gg(r,i,o,n,t[5],5,-701558691),n=this.gg(n,r,i,o,t[10],9,38016083),o=this.gg(o,n,r,i,t[15],14,-660478335),i=this.gg(i,o,n,r,t[4],20,-405537848),r=this.gg(r,i,o,n,t[9],5,568446438),n=this.gg(n,r,i,o,t[14],9,-1019803690),o=this.gg(o,n,r,i,t[3],14,-187363961),i=this.gg(i,o,n,r,t[8],20,1163531501),r=this.gg(r,i,o,n,t[13],5,-1444681467),n=this.gg(n,r,i,o,t[2],9,-51403784),o=this.gg(o,n,r,i,t[7],14,1735328473),i=this.gg(i,o,n,r,t[12],20,-1926607734),r=this.hh(r,i,o,n,t[5],4,-378558),n=this.hh(n,r,i,o,t[8],11,-2022574463),o=this.hh(o,n,r,i,t[11],16,1839030562),i=this.hh(i,o,n,r,t[14],23,-35309556),r=this.hh(r,i,o,n,t[1],4,-1530992060),n=this.hh(n,r,i,o,t[4],11,1272893353),o=this.hh(o,n,r,i,t[7],16,-155497632),i=this.hh(i,o,n,r,t[10],23,-1094730640),r=this.hh(r,i,o,n,t[13],4,681279174),n=this.hh(n,r,i,o,t[0],11,-358537222),o=this.hh(o,n,r,i,t[3],16,-722521979),i=this.hh(i,o,n,r,t[6],23,76029189),r=this.hh(r,i,o,n,t[9],4,-640364487),n=this.hh(n,r,i,o,t[12],11,-421815835),o=this.hh(o,n,r,i,t[15],16,530742520),i=this.hh(i,o,n,r,t[2],23,-995338651),r=this.ii(r,i,o,n,t[0],6,-198630844),n=this.ii(n,r,i,o,t[7],10,1126891415),o=this.ii(o,n,r,i,t[14],15,-1416354905),i=this.ii(i,o,n,r,t[5],21,-57434055),r=this.ii(r,i,o,n,t[12],6,1700485571),n=this.ii(n,r,i,o,t[3],10,-1894986606),o=this.ii(o,n,r,i,t[10],15,-1051523),i=this.ii(i,o,n,r,t[1],21,-2054922799),r=this.ii(r,i,o,n,t[8],6,1873313359),n=this.ii(n,r,i,o,t[15],10,-30611744),o=this.ii(o,n,r,i,t[6],15,-1560198380),i=this.ii(i,o,n,r,t[13],21,1309151649),r=this.ii(r,i,o,n,t[4],6,-145523070),n=this.ii(n,r,i,o,t[11],10,-1120210379),o=this.ii(o,n,r,i,t[2],15,718787259),i=this.ii(i,o,n,r,t[9],21,-343485551),e[0]=this.add32(r,e[0]),e[1]=this.add32(i,e[1]),e[2]=this.add32(o,e[2]),e[3]=this.add32(n,e[3])},e.prototype.cmn=function(e,t,r,i,o,n){return t=this.add32(this.add32(t,e),this.add32(i,n)),this.add32(t<<o|t>>>32-o,r)},e.prototype.ff=function(e,t,r,i,o,n,s){return this.cmn(t&r|~t&i,e,t,o,n,s)},e.prototype.gg=function(e,t,r,i,o,n,s){return this.cmn(t&i|r&~i,e,t,o,n,s)},e.prototype.hh=function(e,t,r,i,o,n,s){return this.cmn(t^r^i,e,t,o,n,s)},e.prototype.ii=function(e,t,r,i,o,n,s){return this.cmn(r^(t|~i),e,t,o,n,s)},e.prototype.md51=function(e){var t,r=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)this.md5cycle(i,this.md5blk(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(this.md5cycle(i,o),t=0;t<16;t++)o[t]=0;return o[14]=8*r,this.md5cycle(i,o),i},e.prototype.md5blk=function(e){for(var t=[],r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t},e.prototype.rhex=function(e){for(var t="0123456789abcdef".split(""),r="",i=0;i<4;i++)r+=t[e>>8*i+4&15]+t[e>>8*i&15];return r},e.prototype.hex=function(e){for(var t=0;t<e.length;t++)e[t]=this.rhex(e[t]);return e.join("")},e.prototype.md5=function(e){return this.hex(this.md51(e))},e.prototype.add32=function(e,t){return this.ieCompatibility?this.add32Compat(e,t):this.add32Std(e,t)},e.prototype.add32Std=function(e,t){return e+t&4294967295},e.prototype.add32Compat=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r},e}(),r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,n=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s};function i(e){return null==e||0===e.length}var o,n=function(){function e(e){this.watermarkMessage=void 0,this.document=e,this.md5=new t,this.md5.init()}return e.prototype.validateLicense=function(){if(i(e.licenseKey))this.isWebsiteUrl()||this.outputMissingLicenseKey();else if(e.licenseKey.length>32)if(-1!==e.licenseKey.indexOf("For_Trialing_ag-Grid_Only"))this.outputInvalidLicenseKey();else{var t=e.extractLicenseComponents(e.licenseKey),r=t.md5,o=t.license,n=t.version,s=t.isTrial;r===this.md5.md5(o)?(void 0===c&&(c=!1),null!=(a=n)&&(""!==a||c)&&n?this.validateLicenseKeyForVersion(n,!!s,o):this.validateLegacyKey(o)):this.outputInvalidLicenseKey()}else this.outputInvalidLicenseKey();var a,c},e.extractExpiry=function(t){var r=t.substring(t.lastIndexOf("_")+1,t.length);return new Date(parseInt(e.decode(r),10))},e.extractLicenseComponents=function(t){var i=t.replace(/[\u200B-\u200D\uFEFF]/g,""),o=(i=i.replace(/\r?\n|\r/g,"")).length-32,n=i.substring(o),s=i.substring(0,o),a=r(e.extractBracketedInformation(i),2);return{md5:n,license:s,version:a[0],isTrial:a[1]}},e.prototype.getLicenseDetails=function(t){var r=e.extractLicenseComponents(t),i=r.md5,o=r.license,n=r.version,s=r.isTrial,a=i===this.md5.md5(o),c=null;return a&&(c=e.extractExpiry(o),a=!isNaN(c.getTime())),{licenseKey:t,valid:a,expiry:a?e.formatDate(c):null,version:n||"legacy",isTrial:s}},e.prototype.isDisplayWatermark=function(){return!this.isLocalhost()&&!this.isWebsiteUrl()&&!i(this.watermarkMessage)},e.prototype.getWatermarkMessage=function(){return this.watermarkMessage||""},e.prototype.getHostname=function(){var e=(this.document.defaultView||window).location.hostname;return void 0===e?"":e},e.prototype.isWebsiteUrl=function(){return null!==this.getHostname().match(/^((?:\w+\.)?ag-grid\.com)$/)},e.prototype.isLocalhost=function(){return null!==this.getHostname().match(/^(?:127\.0\.0\.1|localhost)$/)},e.formatDate=function(e){var t=e.getDate(),r=e.getMonth(),i=e.getFullYear();return t+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][r]+" "+i},e.getGridReleaseDate=function(){return new Date(parseInt(e.decode(e.RELEASE_INFORMATION),10))},e.decode=function(t){for(var r,i,o,n,s,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",h=0,u=t.replace(/[^A-Za-z0-9+/=]/g,"");h<u.length;)r=c.indexOf(u.charAt(h++))<<2|(n=c.indexOf(u.charAt(h++)))>>4,i=(15&n)<<4|(s=c.indexOf(u.charAt(h++)))>>2,o=(3&s)<<6|(a=c.indexOf(u.charAt(h++))),l+=String.fromCharCode(r),64!=s&&(l+=String.fromCharCode(i)),64!=a&&(l+=String.fromCharCode(o));return l=e.utf8_decode(l)},e.utf8_decode=function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t},e.setLicenseKey=function(e){this.licenseKey=e},e.extractBracketedInformation=function(e){var t=e.split("[").filter((function(e){return e.indexOf("]")>-1})).map((function(e){return e.split("]")[0]}));if(!t||0===t.length)return[null,null];var r=1===t.filter((function(e){return"TRIAL"===e})).length;return[t.filter((function(e){return 0===e.indexOf("v")})).map((function(e){return e.replace(/^v/,"")}))[0],r]},e.prototype.validateLicenseKeyForVersion=function(e,t,r){"2"===e&&(t?this.validateForTrial(r):this.validateLegacyKey(r))},e.prototype.validateLegacyKey=function(t){var r=e.getGridReleaseDate(),i=e.extractExpiry(t),o=!1,n=!1;if(isNaN(i.getTime())||(o=!0,n=r<i),o){if(!n){var s=e.formatDate(i),a=e.formatDate(r);this.outputIncompatibleVersion(s,a)}}else this.outputInvalidLicenseKey()},e.prototype.validateForTrial=function(t){var r=e.extractExpiry(t),i=new Date,o=!1,n=!1;if(isNaN(r.getTime())||(o=!0,n=r>i),o){if(!n){var s=e.formatDate(r);this.outputExpiredTrialKey(s)}}else this.outputInvalidLicenseKey()},e.prototype.outputInvalidLicenseKey=function(){console.error("*****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License ********************************************"),console.error("********************************************* Invalid License ***************************************************"),console.error("* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *"),console.error("*****************************************************************************************************************"),console.error("*****************************************************************************************************************"),this.watermarkMessage="Invalid License"},e.prototype.outputExpiredTrialKey=function(e){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("***************************************** Trial Period Expired. *******************************************"),console.error("* Your license for AG Grid Enterprise expired on "+e+". *"),console.error("* Please email info@ag-grid.com to purchase a license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="Trial Period Expired"},e.prototype.outputMissingLicenseKey=function(){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("****************************************** License Key Not Found ***********************************************"),console.error("* All AG Grid Enterprise features are unlocked. *"),console.error("* This is an evaluation only version, it is not licensed for development projects intended for production. *"),console.error("* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="For Trial Use Only"},e.prototype.outputIncompatibleVersion=function(e,t){console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),console.error("* AG Grid Enterprise License *"),console.error("* License not compatible with installed version of AG Grid Enterprise. *"),console.error("* *"),console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *"),console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *"),console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *"),console.error("* license end date. The license key that you have expires on "+e+", however the version of AG Grid you *"),console.error("* are trying to use was released on "+t+". *"),console.error("* *"),console.error("* Please contact info@ag-grid.com to renew your subscription to new versions and get a new license key to work with this *"),console.error("* version of AG Grid. *"),console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),this.watermarkMessage="License Expired"},e.RELEASE_INFORMATION="MTY3OTA3NTEyNjExOQ==",e}(),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e,t,r,i){var o,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},c=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return s(r,t),r.prototype.validateLicense=function(){this.licenseManager=new n(this.gridOptionsService.getDocument()),this.licenseManager.validateLicense()},r.prototype.getLicenseDetails=function(e){this.licenseManager.getLicenseDetails(e)},r.prototype.isDisplayWatermark=function(){return this.licenseManager.isDisplayWatermark()},r.prototype.getWatermarkMessage=function(){return this.licenseManager.getWatermarkMessage()},r.setLicenseKey=function(e){n.setLicenseKey(e)},a([e.PreConstruct],r.prototype,"validateLicense",null),r=a([e.Bean("licenseManager")],r)}(e.BeanStub),l=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),h=function(e,t,r,i){var o,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},u=function(t){function r(){return t.call(this,'<div class="ag-watermark">\n <div ref="eLicenseTextRef" class="ag-watermark-text"></div>\n </div>')||this}return l(r,t),r.prototype.postConstruct=function(){var e=this,t=this.shouldDisplayWatermark();this.setDisplayed(t),t&&(this.eLicenseTextRef.innerText=this.licenseManager.getWatermarkMessage(),window.setTimeout((function(){return e.addCssClass("ag-opacity-zero")}),0),window.setTimeout((function(){return e.setDisplayed(!1)}),5e3))},r.prototype.shouldDisplayWatermark=function(){var e=(this.gridOptionsService.getDocument().defaultView||window).location.pathname,t=this.licenseManager.isDisplayWatermark();return!!e&&-1!==e.indexOf("forceWatermark")||t},h([e.Autowired("licenseManager")],r.prototype,"licenseManager",void 0),h([e.RefSelector("eLicenseTextRef")],r.prototype,"eLicenseTextRef",void 0),h([e.PostConstruct],r.prototype,"postConstruct",null),r}(e.Component),f={version:"29.2.0",moduleName:e.ModuleNames.EnterpriseCoreModule,beans:[c],agStackComponents:[{componentName:"AgWatermark",componentClass:u}]};exports.EnterpriseCoreModule=f,exports.LicenseManager=c;
import { Module } from "@ag-grid-community/core";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";
export declare const EnterpriseCoreModule: Module;
import { ModuleNames } from "@ag-grid-community/core";
import { LicenseManager } from "./licenseManager";
import { MD5 } from "./license/md5";
import { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";
import { WatermarkComp } from "./license/watermark";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";

@@ -12,3 +9,3 @@ import { VERSION } from "./version";

moduleName: ModuleNames.EnterpriseCoreModule,
beans: [LicenseManager, MD5],
beans: [LicenseManager],
agStackComponents: [

@@ -15,0 +12,0 @@ { componentName: 'AgWatermark', componentClass: WatermarkComp }

import { Component } from '@ag-grid-community/core';
import { LicenseManager } from '../licenseManager';
import { GridLicenseManager as LicenseManager } from './gridLicenseManager';
export declare class WatermarkComp extends Component {

@@ -4,0 +4,0 @@ licenseManager: LicenseManager;

export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";
export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";

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

export declare const VERSION = "29.1.0";
export declare const VERSION = "29.2.0";
// DO NOT UPDATE MANUALLY: Generated from script during build time
export var VERSION = '29.1.0';
export var VERSION = '29.2.0';
import { Module } from "@ag-grid-community/core";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";
export declare const EnterpriseCoreModule: Module;
import { ModuleNames } from "@ag-grid-community/core";
import { LicenseManager } from "./licenseManager";
import { MD5 } from "./license/md5";
import { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";
import { WatermarkComp } from "./license/watermark";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";

@@ -12,3 +9,3 @@ import { VERSION } from "./version";

moduleName: ModuleNames.EnterpriseCoreModule,
beans: [LicenseManager, MD5],
beans: [LicenseManager],
agStackComponents: [

@@ -15,0 +12,0 @@ { componentName: 'AgWatermark', componentClass: WatermarkComp }

import { Component } from '@ag-grid-community/core';
import { LicenseManager } from '../licenseManager';
import { GridLicenseManager as LicenseManager } from './gridLicenseManager';
export declare class WatermarkComp extends Component {

@@ -4,0 +4,0 @@ licenseManager: LicenseManager;

export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";
export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";

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

export declare const VERSION = "29.1.0";
export declare const VERSION = "29.2.0";
// DO NOT UPDATE MANUALLY: Generated from script during build time
export const VERSION = '29.1.0';
export const VERSION = '29.2.0';
{
"name": "@ag-grid-enterprise/core",
"version": "29.1.0",
"version": "29.2.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -51,3 +51,3 @@ "main": "./dist/cjs/es5/main.js",

"dependencies": {
"@ag-grid-community/core": "~29.1.0"
"@ag-grid-community/core": "~29.2.0"
},

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

import { Module } from "@ag-grid-community/core";
export { LicenseManager } from "./licenseManager";
export { MD5 } from "./license/md5";
export { WatermarkComp } from "./license/watermark";
export declare const EnterpriseCoreModule: Module;
import { Component } from '@ag-grid-community/core';
import { LicenseManager } from '../licenseManager';
import { GridLicenseManager as LicenseManager } from './gridLicenseManager';
export declare class WatermarkComp extends Component {

@@ -4,0 +4,0 @@ licenseManager: LicenseManager;

export { EnterpriseCoreModule } from "./agGridEnterpriseModule";
export { LicenseManager } from "./licenseManager";
export { GridLicenseManager as LicenseManager } from "./license/gridLicenseManager";

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

export declare const VERSION = "29.1.0";
export declare const VERSION = "29.2.0";

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc