Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

@ag-grid-enterprise/range-selection

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-enterprise/range-selection - npm Package Compare versions

Comparing version
22.1.1
to
23.0.0
+2
-0
dist/cjs/rangeSelection/abstractSelectionHandle.js

@@ -50,2 +50,4 @@ "use strict";

_this.rangeController.autoScrollService.ensureCleared();
// TODO: this causes a bug where if there are multiple grids in the same page, all of them will
// be affected by a drag on any. Move it to the root element.
core_1._.removeCssClass(document.body, "ag-dragging-" + _this.type + "-handle");

@@ -52,0 +54,0 @@ if (_this.shouldDestroyOnEndDragging) {

+1
-1

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

{"version":3,"file":"abstractSelectionHandle.js","sourceRoot":"","sources":["../../../src/rangeSelection/abstractSelectionHandle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,gDAgBiC;AAGjC;IAAsD,2CAAS;IAA/D;QAAA,qEAgMC;QA9KW,iBAAW,GAAY,KAAK,CAAC;QAC7B,cAAQ,GAAY,KAAK,CAAC;QAGxB,gCAA0B,GAAY,KAAK,CAAC;;IA0K1D,CAAC;IAvKW,sCAAI,GAAZ;QADA,iBA+BC;QA7BG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC;YAC3B,eAAe,EAAE,CAAC;YAClB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;YACxC,UAAU,EAAE,UAAC,CAAqB;gBAC9B,KAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACrB,KAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAe,CAAC,CAAC;gBAE9D,IAAI,KAAI,CAAC,WAAW,EAAE;oBAClB,KAAI,CAAC,MAAM,CAAC,CAAC,CA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,0DAAuB"}

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

if (!this.initialXY) {
var _a = this.getGui().getBoundingClientRect(), left = _a.left, top_1 = _a.top;
this.initialXY = { x: left, y: top_1 };
this.initialXY = this.mouseEventService.getNormalisedPosition(e);
}
var _b = this.initialXY, x = _b.x, y = _b.y;
var diffX = Math.abs(x - e.clientX);
var diffY = Math.abs(y - e.clientY);
var _a = this.initialXY, x = _a.x, y = _a.y;
var _b = this.mouseEventService.getNormalisedPosition(e), newX = _b.x, newY = _b.y;
var diffX = Math.abs(x - newX);
var diffY = Math.abs(y - newY);
var direction = diffX > diffY ? 'x' : 'y';

@@ -275,3 +275,6 @@ if (direction !== this.dragAxis) {

}
var allNumbers = !values.some(function (val) { return isNaN(parseFloat(val)); });
var allNumbers = !values.some(function (val) {
var asFloat = parseFloat(val);
return isNaN(asFloat) || asFloat.toString() !== val.toString();
});
// values should be copied in order if the alt key is pressed

@@ -285,3 +288,3 @@ // or if the values contain strings and numbers

var multiplier = (this.isUp || this.isLeft) ? -1 : 1;
return core_1._.last(values) + 1 * multiplier;
return parseFloat(core_1._.last(values)) + 1 * multiplier;
}

@@ -288,0 +291,0 @@ return values[idx % values.length];

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

{"version":3,"file":"fillHandle.js","sourceRoot":"","sources":["../../../src/rangeSelection/fillHandle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAeiC;AACjC,qEAAoE;AASpE;IAAgC,8BAAuB;IAqBnD;QAAA,YACI,kBAAM,UAAU,CAAC,QAAQ,CAAC,SAC7B;QAZO,qBAAe,GAAe,EAAE,CAAC;QACjC,gBAAU,GAAmB,EAAE,CAAC;QAGhC,UAAI,GAAY,KAAK,CAAC;QACtB,YAAM,GAAY,KAAK,CAAC;QACxB,cAAQ,GAAY,KAAK,CAAC;QAExB,UAAI,GAAG,MAAM,CAAC;;IAIxB,CAAC;IAES,2BAAM,GAAhB,UAAiB,CAAa;QAC1B,IAA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eAAe,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC;QAC1D,IAAM,aAAa,GAAG,CAAC,SAAS,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;QAE/D,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,OAAO;SACV;QAED,iBAAM,OAAO,YAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IA3gBM,mBAAQ,GAAG,oCAAoC,CAAC;IAJ5B;QAA1B,gBAAS,CAAC,cAAc,CAAC;oDAAoC;IACnC;QAA1B,gBAAS,CAAC,cAAc,CAAC;oDAAoC;IAC7B;QAAhC,gBAAS,CAAC,oBAAoB,CAAC;0DAAgD;IA8gBpF,iBAAC;CAAA,AAlhBD,CAAgC,iDAAuB,GAkhBtD;AAlhBY,gCAAU"}

@@ -52,3 +52,4 @@ import { CellPosition, CellPositionUtils, Column, GridOptionsWrapper, GridPanel, IRangeController, CellRangeParams, CellRange, RowPosition, RowPositionUtils } from "@ag-grid-community/core";

isCellInSpecificRange(cell: CellPosition, range: CellRange): boolean;
isLastCellOfRange(cellRange: CellRange, cell: CellPosition): boolean;
private isLastCellOfRange;
isBottomRightCell(cellRange: CellRange, cell: CellPosition): boolean;
getCellRangeCount(cell: CellPosition): number;

@@ -55,0 +56,0 @@ private isRowInRange;

@@ -133,4 +133,3 @@ "use strict";

// range as the start point for the drag
var atEndOfList = core_1._.last(this.cellRanges) === cellRange;
if (!atEndOfList) {
if (core_1._.last(this.cellRanges) !== cellRange) {
core_1._.removeFromArray(this.cellRanges, cellRange);

@@ -151,3 +150,3 @@ this.cellRanges.push(cellRange);

this.onDragStop();
this.dispatchChangedEvent(false, true, cellRange.id);
this.dispatchChangedEvent(true, true, cellRange.id);
};

@@ -162,5 +161,6 @@ RangeController.prototype.extendLatestRangeToCell = function (cellPosition) {

RangeController.prototype.updateRangeEnd = function (cellRange, cellPosition, silent) {
if (silent === void 0) { silent = false; }
var endColumn = cellPosition.column;
var colsToAdd = this.calculateColumnsBetween(cellRange.startColumn, endColumn);
if (!colsToAdd) {
if (!colsToAdd || this.isLastCellOfRange(cellRange, cellPosition)) {
return;

@@ -171,3 +171,3 @@ }

if (!silent) {
this.dispatchChangedEvent(false, true, cellRange.id);
this.dispatchChangedEvent(true, true, cellRange.id);
}

@@ -351,2 +351,12 @@ };

RangeController.prototype.isLastCellOfRange = function (cellRange, cell) {
var startRow = cellRange.startRow, endRow = cellRange.endRow;
var lastRow = this.rowPositionUtils.before(startRow, endRow) ? endRow : startRow;
var isLastRow = cell.rowIndex === lastRow.rowIndex && cell.rowPinned === lastRow.rowPinned;
var rangeFirstIndexColumn = cellRange.columns[0];
var rangeLastIndexColumn = core_1._.last(cellRange.columns);
var lastRangeColumn = cellRange.startColumn === rangeFirstIndexColumn ? rangeLastIndexColumn : rangeFirstIndexColumn;
var isLastColumn = cell.column === lastRangeColumn;
return isLastColumn && isLastRow;
};
RangeController.prototype.isBottomRightCell = function (cellRange, cell) {
var allColumns = this.columnController.getAllDisplayedColumns();

@@ -356,5 +366,5 @@ var allPositions = cellRange.columns.map(function (c) { return allColumns.indexOf(c); }).sort(function (a, b) { return a - b; });

var lastRow = this.rowPositionUtils.before(startRow, endRow) ? endRow : startRow;
var isLastColumn = allColumns.indexOf(cell.column) === core_1._.last(allPositions);
var isRightColumn = allColumns.indexOf(cell.column) === core_1._.last(allPositions);
var isLastRow = cell.rowIndex === lastRow.rowIndex && cell.rowPinned === lastRow.rowPinned;
return isLastColumn && isLastRow;
return isRightColumn && isLastRow;
};

@@ -361,0 +371,0 @@ // returns the number of ranges this cell is in

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

{"version":3,"file":"rangeController.js","sourceRoot":"","sources":["../../../src/rangeSelection/rangeController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDA4BiC;AAGjC;IAAA;QAiBY,eAAU,GAAgB,EAAE,CAAC;QAE7B,uBAAkB,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CA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IAAI,CAAC;SAC/B;IACL,CAAC;IACL,wBAAC;AAAD,CAAC,AAhFD,IAgFC"}

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

_this.rangeController.autoScrollService.ensureCleared();
// TODO: this causes a bug where if there are multiple grids in the same page, all of them will
// be affected by a drag on any. Move it to the root element.
_.removeCssClass(document.body, "ag-dragging-" + _this.type + "-handle");

@@ -50,0 +52,0 @@ if (_this.shouldDestroyOnEndDragging) {

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

if (!this.initialXY) {
var _a = this.getGui().getBoundingClientRect(), left = _a.left, top_1 = _a.top;
this.initialXY = { x: left, y: top_1 };
this.initialXY = this.mouseEventService.getNormalisedPosition(e);
}
var _b = this.initialXY, x = _b.x, y = _b.y;
var diffX = Math.abs(x - e.clientX);
var diffY = Math.abs(y - e.clientY);
var _a = this.initialXY, x = _a.x, y = _a.y;
var _b = this.mouseEventService.getNormalisedPosition(e), newX = _b.x, newY = _b.y;
var diffX = Math.abs(x - newX);
var diffY = Math.abs(y - newY);
var direction = diffX > diffY ? 'x' : 'y';

@@ -273,3 +273,6 @@ if (direction !== this.dragAxis) {

}
var allNumbers = !values.some(function (val) { return isNaN(parseFloat(val)); });
var allNumbers = !values.some(function (val) {
var asFloat = parseFloat(val);
return isNaN(asFloat) || asFloat.toString() !== val.toString();
});
// values should be copied in order if the alt key is pressed

@@ -283,3 +286,3 @@ // or if the values contain strings and numbers

var multiplier = (this.isUp || this.isLeft) ? -1 : 1;
return _.last(values) + 1 * multiplier;
return parseFloat(_.last(values)) + 1 * multiplier;
}

@@ -286,0 +289,0 @@ return values[idx % values.length];

@@ -52,3 +52,4 @@ import { CellPosition, CellPositionUtils, Column, GridOptionsWrapper, GridPanel, IRangeController, CellRangeParams, CellRange, RowPosition, RowPositionUtils } from "@ag-grid-community/core";

isCellInSpecificRange(cell: CellPosition, range: CellRange): boolean;
isLastCellOfRange(cellRange: CellRange, cell: CellPosition): boolean;
private isLastCellOfRange;
isBottomRightCell(cellRange: CellRange, cell: CellPosition): boolean;
getCellRangeCount(cell: CellPosition): number;

@@ -55,0 +56,0 @@ private isRowInRange;

@@ -131,4 +131,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

// range as the start point for the drag
var atEndOfList = _.last(this.cellRanges) === cellRange;
if (!atEndOfList) {
if (_.last(this.cellRanges) !== cellRange) {
_.removeFromArray(this.cellRanges, cellRange);

@@ -149,3 +148,3 @@ this.cellRanges.push(cellRange);

this.onDragStop();
this.dispatchChangedEvent(false, true, cellRange.id);
this.dispatchChangedEvent(true, true, cellRange.id);
};

@@ -160,5 +159,6 @@ RangeController.prototype.extendLatestRangeToCell = function (cellPosition) {

RangeController.prototype.updateRangeEnd = function (cellRange, cellPosition, silent) {
if (silent === void 0) { silent = false; }
var endColumn = cellPosition.column;
var colsToAdd = this.calculateColumnsBetween(cellRange.startColumn, endColumn);
if (!colsToAdd) {
if (!colsToAdd || this.isLastCellOfRange(cellRange, cellPosition)) {
return;

@@ -169,3 +169,3 @@ }

if (!silent) {
this.dispatchChangedEvent(false, true, cellRange.id);
this.dispatchChangedEvent(true, true, cellRange.id);
}

@@ -349,2 +349,12 @@ };

RangeController.prototype.isLastCellOfRange = function (cellRange, cell) {
var startRow = cellRange.startRow, endRow = cellRange.endRow;
var lastRow = this.rowPositionUtils.before(startRow, endRow) ? endRow : startRow;
var isLastRow = cell.rowIndex === lastRow.rowIndex && cell.rowPinned === lastRow.rowPinned;
var rangeFirstIndexColumn = cellRange.columns[0];
var rangeLastIndexColumn = _.last(cellRange.columns);
var lastRangeColumn = cellRange.startColumn === rangeFirstIndexColumn ? rangeLastIndexColumn : rangeFirstIndexColumn;
var isLastColumn = cell.column === lastRangeColumn;
return isLastColumn && isLastRow;
};
RangeController.prototype.isBottomRightCell = function (cellRange, cell) {
var allColumns = this.columnController.getAllDisplayedColumns();

@@ -354,5 +364,5 @@ var allPositions = cellRange.columns.map(function (c) { return allColumns.indexOf(c); }).sort(function (a, b) { return a - b; });

var lastRow = this.rowPositionUtils.before(startRow, endRow) ? endRow : startRow;
var isLastColumn = allColumns.indexOf(cell.column) === _.last(allPositions);
var isRightColumn = allColumns.indexOf(cell.column) === _.last(allPositions);
var isLastRow = cell.rowIndex === lastRow.rowIndex && cell.rowPinned === lastRow.rowPinned;
return isLastColumn && isLastRow;
return isRightColumn && isLastRow;
};

@@ -359,0 +369,0 @@ // returns the number of ranges this cell is in

+715
-714

@@ -1,23 +0,25 @@

<p><strong>PLEASE READ THESE LICENCE TERMS CAREFULLY BEFORE DOWNLOADING ANY
SOFTWARE:</strong></p>
<!-- saved from url=(0067)https://www.ag-grid.com/eula/AG-Grid-Enterprise-License-Latest.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></head><body><p><strong>PLEASE READ THESE LICENCE TERMS CAREFULLY BEFORE DOWNLOADING ANY
SOFTWARE:</strong></p>
<p>These terms, incorporating the order details submitted by you in
relation to the Licenced Materials (defined below) on
https://www.ag-grid.com/ecommerce/\#/ecommerce/ ("<strong>Site</strong>") on the
Effective Date (defined below) ("<strong>Order</strong>"), terms and conditions and
schedules: ("<strong>Terms</strong>"), is entered into between AG GRID LTD (registered
number 07318192) ("<strong>Licensor</strong>" or "<strong>us</strong>") and the entity whose
details are set out on the Order ("<strong>Licensee</strong>" or "<strong>you</strong>") effective
as of the date of acceptance of these Terms ("<strong>Effective Date</strong>").</p>
relation to the Licenced Materials (defined below) on
https://www.ag-grid.com/ecommerce/#/ecommerce/ ("<strong>Site</strong>") on the
Effective Date (defined below) ("<strong>Order</strong>"), terms and conditions and
schedules: ("<strong>Terms</strong>"), is entered into between <strong>AG GRID LTD</strong> (registered
number <strong>07318192</strong>) ("<strong>Licensor</strong>" or "<strong>us</strong>") and the entity whose
details are set out on the Order ("<strong>Licensee</strong>" or "<strong>you</strong>") effective
as of the date of acceptance of these Terms ("<strong>Effective Date</strong>").</p>
<p><strong>BY CHECKING / TICKING THE ACCEPTANCE CHECKBOX BELOW THESE TERMS ON THE SITE, YOU CONFIRM THAT YOU ACCEPT AND
AGREE TO BE BOUND BY THESE TERMS AND ACKNOWLEDGE THAT THEY CONSTITUTE A
LEGALLY BINDING CONTRACT BETWEEN US AND YOU.</strong></p>
AGREE TO BE BOUND BY THESE TERMS AND ACKNOWLEDGE THAT THEY CONSTITUTE A
LEGALLY BINDING CONTRACT BETWEEN US AND YOU.</strong></p>
<p><strong>IF YOU ARE ACTING ON BEHALF OF ANY ORGANISATION, YOU CONFIRM THAT YOU
HAVE THE REQUISITE AUTHORITY, POWER AND RIGHT TO FULLY BIND THAT
ORGANISATION.</strong></p>
HAVE THE REQUISITE AUTHORITY, POWER AND RIGHT TO FULLY BIND THAT
ORGANISATION.</strong></p>
<p><strong>IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE PLEASE CLOSE YOUR
BROWSER WINDOW.</strong></p>
BROWSER WINDOW.</strong></p>

@@ -27,842 +29,840 @@ <h1>TERMS AND CONDITIONS</h1>

<ol><li><p><strong>Definitions and interpretation</strong></p></li>
<ul><p>1.1 Definitions</p>
<p>In these Terms, where the context so admits, the following words and
expressions shall have the following meanings:</p></ul></ol>
<ul><p>1.1 Definitions</p>
<p>In these Terms, where the context so admits, the following words and
expressions shall have the following meanings:</p></ul></ol>
<table>
<tbody>
<tr>
<td>"<strong>Affiliate</strong>"</td>
<td>means in relation to a party any corporate entity Controlled directly or indirectly by that party, any corporate entity that Controls, directly or indirectly that party or any corporate entity under common Control with that party;</td>
</tr>
<tr>
<td>"<strong>Application</strong>"</td>
<td>means any software, application or elements developed by or on behalf of the Licensee using the Software;</td>
</tr>
<tr>
<td>"<strong>Business Day</strong>"</td>
<td>means each day which is not a Saturday, Sunday or public holiday in the country in which the Licensor is located (UK);</td>
</tr>
<tr>
<td>"<strong>Confidential Information</strong>"</td>
<td><p>means all information (whether written, oral or in some other form) disclosed to or obtained by one party (whether directly or indirectly) from the other (whether before or after the signing of these Terms), including all information relating to that other's business, operations, systems, processes, products, trade secrets, know-how, contracts, finances, plans, strategies or current, former or prospective clients, customers, partners or suppliers (together with copies made of any of the foregoing) and which information is marked as being confidential or might reasonably be assumed to be confidential, but excluding information which:</p>
<ul>
<p>(a) is available to the public other than because of any breach of these Terms;</p>
<p>(b) is, when it is supplied, already known to whoever it is disclosed to in circumstances in which they are not prevented from disclosing it to others;</p>
<p>(c) is independently obtained by whoever it is disclosed to in circumstances in which they are not prevented from disclosing it to others; or</p>
<p>(d) is trivial or obvious;</p>
</ul>
</td>
</tr>
<tr>
<td>"<strong>Control</strong>"</td>
<td>means the power to direct the management and policies of an entity whether through the ownership of voting capital, by contract or otherwise; and a holding or subsidiary company of any entity shall be deemed to be an Affiliate of that entity;</td>
</tr>
<tr>
<td>"<strong>Data Protection Legislation</strong>"</td>
<td>means all applicable legislation for the time being in force pertaining to data protection, data privacy, data retention and/or data security (including the General Data Protection Regulation (Regulation 2016/679) ("<strong>GDPR</strong>") the Privacy and Electronic Communication Directive (Directive 2002/58/EC) and national legislation implementing or supplementing such legislation in the United Kingdom and any applicable member state of the European Union, including the Data Protection Act 2018) and all associated codes of practice and other guidance issued by any applicable data protection authority;</td>
</tr>
<tr>
<td>"<strong>Deployment Licence</strong>"</td>
<td>means a licence of the Licensed Materials granted to the Licensee in addition to either the single application developer licence or multiple applications developer licence, which permits the Licensee to sub-licence the Licensed Materials in accordance with the terms of these Terms;</td>
</tr>
<tr>
<td>"<strong>Documentation</strong>"</td>
<td>means the operating manuals, user instructions, technical literature and all other related materials in eye-readable form supplied to the Licensee by the Licensor (whether in online, electronic or printed form) for aiding the use and application of the Software;</td>
</tr>
<tr>
<td>"<strong>Effective Date</strong>"</td>
<td>means the date of your purchase of the Licenced Materials;</td>
</tr>
<tr>
<td><strong>"Error"</strong></td>
<td>means any error, defect or malfunction in the Software that: (a) causes the integrity of its data to be compromised or corrupted; (b) causes an unexpected error message or fatal error to occur while using the Software; (c) causes the Software to fail to conform to any applicable warranties, including those set out in clause 5.1;</td>
</tr>
<tr>
<td><strong>"Extended Term"</strong></td>
<td>has the meaning set out in clause 10;</td>
</tr>
<tr>
<td><strong>"Initial Term"</strong></td>
<td>has the meaning set out in clause 10;</td>
</tr>
<tr>
<td>"<strong>Insolvency Event</strong>"</td>
<td><p>means, in relation to a person (which includes an individual and a legal person, such as a limited company), any of the following events:</p>
<ul>
<p>(a) a meeting of creditors of that person being held or an arrangement or composition with or for the benefit of its creditors (including a voluntary arrangement as defined in the Insolvency Act 1986) being proposed by or in relation to that person;</p>
<p>(b) a chargeholder, receiver, administrative receiver or other similar person taking possession of or being appointed over or any distress, execution or other process being levied or enforced (and not being discharged within seven days) on the whole or a material part of the assets of that person;</p>
<p>(c) that person ceasing to carry on business or being deemed to be unable to pay its debts within the meaning of section 123 Insolvency Act 1986 (except that, for the purposes of these Terms, the reference to £750 in section 123(1) of that Act shall be construed as a reference to £10,000);</p>
<p>(d) that person or its directors or the holder of a qualifying floating charge or any of its creditors giving notice of their intention to appoint, appointing or making an application to the court for the appointment of, an administrator;</p>
<p>(e) a petition being advertised or a resolution being passed or an order being made for the administration or the winding-up, bankruptcy or dissolution of that person; or</p>
<p>(f) the happening in relation to that person of an event analogous to any of the above in any jurisdiction in which it is incorporated or resident or in which it carries on business or has assets.</p>
</ul></td>
</tr>
<tr>
<td>"<strong>Intellectual Property Rights</strong>"</td>
<td>means patents, patentable rights, copyright, design rights, utility models, trade marks (whether or not any of the above are registered), trade names, rights in domain names, rights in inventions, rights in data, database rights, rights in know-how and confidential information, and all other intellectual and industrial property and similar or analogous rights existing under the laws of any country and all pending applications for and right to apply for or register the same (present, future and contingent, and including all renewals, extensions, revivals and all accrued rights of action);</td>
</tr>
<tr>
<td>"<strong>Know-how</strong>"</td>
<td>has the meaning set out in clause 5.3;</td>
</tr>
<tr>
<td>"<strong>Licence Fees</strong>"</td>
<td>means the fees for the Licensed Materials, as set out on the Order;</td>
</tr>
<tr>
<td><strong>"Licensed Materials"</strong></td>
<td>means, collectively, the Software and any applicable Documentation;</td>
</tr>
<tr>
<td><strong>"Licensee Developers"</strong></td>
<td>means the Licensee's employees, workers and contractors who are authorised by the Licensor to, and qualified to, develop software products that include the Software;</td>
</tr>
<tr>
<td>"<strong>Licensee Materials</strong>"</td>
<td>means all intellectual property, works, products, documentation, information, data and other material of any kind (including computer software and firmware, designs and specifications) provided or made available by or on behalf of the Licensee in connection with the Support Services and/or these Terms<strong>;</strong></td>
</tr>
<tr>
<td>"<strong>Licensor Materials</strong>"</td>
<td>means all intellectual property, works, products, documentation, information, data and other material of any kind provided or made available by or on behalf of the Licensor in connection with the Support Services and/or these Terms and which existed prior to the Effective Date<strong>;</strong></td>
</tr>
<tr>
<td>"<strong>Losses</strong>"</td>
<td>means all losses, liabilities, demands, claims, judgments, awards, damages, amounts payable in settlement, costs and expenses (including all legal and other professional fees, expenses and disbursements);</td>
</tr>
<tr>
<td><strong>"Modification"</strong></td>
<td>means (a) any addition to or deletion from the contents of a file included in the Software or previous Modifications created by the Licensee; and/or (b) any new file that leverages any part of the Software or previous Modifications;</td>
</tr>
<tr>
<td><strong>"New Version"</strong></td>
<td>means any new version of the Software which from time to time is publicly marketed and offered for licensing by the Licensor in the course of its normal business, being a version which contains such significant differences from the previous versions as to be generally accepted in the marketplace as constituting a new product;</td>
</tr>
<tr>
<td><strong>"Production Environment"</strong></td>
<td>means a computer, server, collection of servers, a data centre, a cloud instance, container or similar where the Licensee’s services and/or store are made available to the Licensee’s customers;</td>
</tr>
<tr>
<td><strong>"Software"</strong></td>
<td>means the ag-Grid-Enterprise software made available by the Licensor;</td>
</tr>
<tr>
<td><strong>"Source Code"</strong></td>
<td>means the human-readable form of computer software, together with all documentation and comments relating thereto sufficient for a reasonably skilled computer programmer to understand, use, support and modify such computer software;</td>
</tr>
<tr>
<td>"<strong>Support Forum</strong>"</td>
<td>has the meaning given to it in paragraph 1 of schedule 1;</td>
</tr>
<tr>
<td><strong>"Support Release"</strong></td>
<td>means a release of the Software which corrects faults, adds functionality or otherwise amends or upgrades the Software, but which does not constitute a New Version;</td>
</tr>
<tr>
<td><strong>"Support Request"</strong></td>
<td>means a request communicated by the Licensee to the Licensor via the Support Forum, to report an Error and to request correction of the Error, or to request some other support service or assistance;</td>
</tr>
<tr>
<td>"<strong>Support Services</strong>"</td>
<td>means the Support Services, to be provided by the Licensor in respect of the Software, as set out in schedule 1; and</td>
</tr>
<tr>
<td><strong>"Update"</strong></td>
<td>means any Support Release or New Version.</td>
</tr>
</tbody>
<tbody>
<tr>
<td>"<strong>Affiliate</strong>"</td>
<td>means in relation to a party any corporate entity Controlled directly or indirectly by that party, any corporate entity that Controls, directly or indirectly that party or any corporate entity under common Control with that party;</td>
</tr>
<tr>
<td>"<strong>Application</strong>"</td>
<td>means any software, application or elements developed by or on behalf of the Licensee using the Software;</td>
</tr>
<tr>
<td>"<strong>Business Day</strong>"</td>
<td>means each day which is not a Saturday, Sunday or public holiday in the country in which the Licensor is located (UK);</td>
</tr>
<tr>
<td>"<strong>Confidential Information</strong>"</td>
<td><p>means all information (whether written, oral or in some other form) disclosed to or obtained by one party (whether directly or indirectly) from the other (whether before or after the signing of these Terms), including all information relating to that other's business, operations, systems, processes, products, trade secrets, know-how, contracts, finances, plans, strategies or current, former or prospective clients, customers, partners or suppliers (together with copies made of any of the foregoing) and which information is marked as being confidential or might reasonably be assumed to be confidential, but excluding information which:</p>
<ul>
<p>(a) is available to the public other than because of any breach of these Terms;</p>
<p>(b) is, when it is supplied, already known to whoever it is disclosed to in circumstances in which they are not prevented from disclosing it to others;</p>
<p>(c) is independently obtained by whoever it is disclosed to in circumstances in which they are not prevented from disclosing it to others; or</p>
<p>(d) is trivial or obvious;</p>
</ul>
</td>
</tr>
<tr>
<td>"<strong>Control</strong>"</td>
<td>means the power to direct the management and policies of an entity whether through the ownership of voting capital, by contract or otherwise; and a holding or subsidiary company of any entity shall be deemed to be an Affiliate of that entity;</td>
</tr>
<tr>
<td>"<strong>Data Protection Legislation</strong>"</td>
<td>means all applicable legislation for the time being in force pertaining to data protection, data privacy, data retention and/or data security (including the General Data Protection Regulation (Regulation 2016/679) ("<strong>GDPR</strong>") the Privacy and Electronic Communication Directive (Directive 2002/58/EC) and national legislation implementing or supplementing such legislation in the United Kingdom and any applicable member state of the European Union, including the Data Protection Act 2018) and all associated codes of practice and other guidance issued by any applicable data protection authority;</td>
</tr>
<tr>
<td>"<strong>Deployment Licence</strong>"</td>
<td>means a licence of the Licensed Materials granted to the Licensee in addition to either the single application developer licence or multiple applications developer licence, which permits the Licensee to sub-licence the Licensed Materials in accordance with the terms of these Terms;</td>
</tr>
<tr>
<td>"<strong>Documentation</strong>"</td>
<td>means the operating manuals, user instructions, technical literature and all other related materials in eye-readable form supplied to the Licensee by the Licensor (whether in online, electronic or printed form) for aiding the use and application of the Software;</td>
</tr>
<tr>
<td>"<strong>Effective Date</strong>"</td>
<td>means the date of your purchase of the Licenced Materials;</td>
</tr>
<tr>
<td><strong>"Error"</strong></td>
<td>means any error, defect or malfunction in the Software that: (a) causes the integrity of its data to be compromised or corrupted; (b) causes an unexpected error message or fatal error to occur while using the Software; (c) causes the Software to fail to conform to any applicable warranties, including those set out in clause 4.1;</td>
</tr>
<tr>
<td><strong>"Extended Term"</strong></td>
<td>has the meaning set out in clause 10;</td>
</tr>
<tr>
<td><strong>"Initial Term"</strong></td>
<td>has the meaning set out in clause 10;</td>
</tr>
<tr>
<td>"<strong>Insolvency Event</strong>"</td>
<td><p>means, in relation to a person (which includes an individual and a legal person, such as a limited company), any of the following events:</p>
<ul>
<p>(a) a meeting of creditors of that person being held or an arrangement or composition with or for the benefit of its creditors (including a voluntary arrangement as defined in the Insolvency Act 1986) being proposed by or in relation to that person;</p>
<p>(b) a chargeholder, receiver, administrative receiver or other similar person taking possession of or being appointed over or any distress, execution or other process being levied or enforced (and not being discharged within seven days) on the whole or a material part of the assets of that person;</p>
<p>(c) that person ceasing to carry on business or being deemed to be unable to pay its debts within the meaning of section 123 Insolvency Act 1986 (except that, for the purposes of these Terms, the reference to &pound;750 in section 123(1) of that Act shall be construed as a reference to &pound;10,000);</p>
<p>(d) that person or its directors or the holder of a qualifying floating charge or any of its creditors giving notice of their intention to appoint, appointing or making an application to the court for the appointment of, an administrator;</p>
<p>(e) a petition being advertised or a resolution being passed or an order being made for the administration or the winding-up, bankruptcy or dissolution of that person; or</p>
<p>(f) the happening in relation to that person of an event analogous to any of the above in any jurisdiction in which it is incorporated or resident or in which it carries on business or has assets.</p>
</ul></td>
</tr>
<tr>
<td>"<strong>Intellectual Property Rights</strong>"</td>
<td>means patents, patentable rights, copyright, design rights, utility models, trade marks (whether or not any of the above are registered), trade names, rights in domain names, rights in inventions, rights in data, database rights, rights in know-how and confidential information, and all other intellectual and industrial property and similar or analogous rights existing under the laws of any country and all pending applications for and right to apply for or register the same (present, future and contingent, and including all renewals, extensions, revivals and all accrued rights of action);</td>
</tr>
<tr>
<td>"<strong>Know-how</strong>"</td>
<td>has the meaning set out in clause 5.3;</td>
</tr>
<tr>
<td>"<strong>Licence Fees</strong>"</td>
<td>means the fees for the Licensed Materials, as set out on the Order;</td>
</tr>
<tr>
<td><strong>"Licensed Materials"</strong></td>
<td>means, collectively, the Software and any applicable Documentation;</td>
</tr>
<tr>
<td><strong>"Licensee Developers"</strong></td>
<td>means the Licensee's employees, workers and contractors who are authorised by the Licensor to, and qualified to, develop software products that include the Software;</td>
</tr>
<tr>
<td>"<strong>Licensee Materials</strong>"</td>
<td>means all intellectual property, works, products, documentation, information, data and other material of any kind (including computer software and firmware, designs and specifications) provided or made available by or on behalf of the Licensee in connection with the Support Services and/or these Terms<strong>;</strong></td>
</tr>
<tr>
<td>"<strong>Licensor Materials</strong>"</td>
<td>means all intellectual property, works, products, documentation, information, data and other material of any kind provided or made available by or on behalf of the Licensor in connection with the Support Services and/or these Terms and which existed prior to the Effective Date<strong>;</strong></td>
</tr>
<tr>
<td>"<strong>Losses</strong>"</td>
<td>means all losses, liabilities, demands, claims, judgments, awards, damages, amounts payable in settlement, costs and expenses (including all legal and other professional fees, expenses and disbursements);</td>
</tr>
<tr>
<td><strong>"Modification"</strong></td>
<td>means (a) any addition to or deletion from the contents of a file included in the Software or previous Modifications created by the Licensee; and/or (b) any new file that leverages any part of the Software or previous Modifications;</td>
</tr>
<tr>
<td><strong>"New Version"</strong></td>
<td>means any new version of the Software which from time to time is publicly marketed and offered for licensing by the Licensor in the course of its normal business, being a version which contains such significant differences from the previous versions as to be generally accepted in the marketplace as constituting a new product;</td>
</tr>
<tr>
<td><strong>"Production Environment"</strong></td>
<td>means a computer, server, collection of servers, a data centre, a cloud instance, container or similar where the Licensee's services and/or store are made available to the Licensee's customers;</td>
</tr>
<tr>
<td><strong>"Software"</strong></td>
<td>means the ag-Grid-Enterprise software made available by the Licensor;</td>
</tr>
<tr>
<td><strong>"Source Code"</strong></td>
<td>means the human-readable form of computer software, together with all documentation and comments relating thereto sufficient for a reasonably skilled computer programmer to understand, use, support and modify such computer software;</td>
</tr>
<tr>
<td>"<strong>Support Forum</strong>"</td>
<td>has the meaning given to it in paragraph 1 of schedule 1;</td>
</tr>
<tr>
<td><strong>"Support Release"</strong></td>
<td>means a release of the Software which corrects faults, adds functionality or otherwise amends or upgrades the Software, but which does not constitute a New Version;</td>
</tr>
<tr>
<td><strong>"Support Request"</strong></td>
<td>means a request communicated by the Licensee to the Licensor via the Support Forum, to report an Error and to request correction of the Error, or to request some other support service or assistance;</td>
</tr>
<tr>
<td>"<strong>Support Services</strong>"</td>
<td>means the Support Services, to be provided by the Licensor in respect of the Software, as set out in schedule 1; and</td>
</tr>
<tr>
<td><strong>"Update"</strong></td>
<td>means any Support Release or New Version.</td>
</tr>
</tbody>
</table>
<ol>
<ul><p>1.2 Interpretation</p>
<ul><p>1.2 Interpretation</p>
<p>In these Terms (including the introduction and schedules) unless the
context otherwise requires:</p>
<p>In these Terms (including the introduction and schedules) unless the
context otherwise requires:</p>
<ul><p>(a) reference to a person includes a legal person (such as a limited
company) as well as a natural person;</p></ul>
<ul><p>(a) reference to a person includes a legal person (such as a limited
company) as well as a natural person;</p></ul>
<ul><p>(b) reference to these Terms includes the schedules and appendices and other
documents attached to it or incorporated by reference into it (all as
amended, added to or replaced from time to time);</p></ul>
<ul><p>(b) reference to these Terms includes the schedules and appendices and other
documents attached to it or incorporated by reference into it (all as
amended, added to or replaced from time to time);</p></ul>
<ul><p>(c) references to clauses or schedules shall be to those in or to these
Terms and references to paragraphs shall be to paragraphs of the
schedules or annexes to the schedules (as the case may be);</p></ul>
<ul><p>(c) references to clauses or schedules shall be to those in or to these
Terms and references to paragraphs shall be to paragraphs of the
schedules or annexes to the schedules (as the case may be);</p></ul>
<ul><p>(d) clause headings are for convenience only and shall not affect the
construction of these Terms;</p></ul>
<ul><p>(d) clause headings are for convenience only and shall not affect the
construction of these Terms;</p></ul>
<ul><p>(e) reference to "<strong>including</strong>" or any similar terms in these Terms shall
be treated as being by way of example and shall not limit the general
applicability of any preceding words; and</p></ul>
<ul><p>(e) reference to "<strong>including</strong>" or any similar terms in these Terms shall
be treated as being by way of example and shall not limit the general
applicability of any preceding words; and</p></ul>
<ul><p>(f) reference to any legislation shall be to that legislation as amended,
extended or re-enacted from time to time and to any subordinate
provision made under that legislation.</p></ul>
</ul>
<ul><p>(f) reference to any legislation shall be to that legislation as amended,
extended or re-enacted from time to time and to any subordinate
provision made under that legislation.</p></ul>
</ul>
<li value=2><p><strong>Provision of Licensed Materials and Support Services</strong></p></li>
<li value="2"><p><strong>Provision of Licensed Materials and Support Services</strong></p></li>
<ul><p>2.1 The Licensor shall make the Licensed Materials available in Source Code
form (along with any login details and an activation key required to
access the Licensed Materials), following payment of the Licence Fees.</p></ul>
<ul><p>2.1 The Licensor shall make the Licensed Materials available in Source Code
form (along with any login details and an activation key required to
use the Licensed Materials), following payment of the Licence Fees.</p></ul>
<ul><p>2.2 Subject to clause 2.3 the Licensor grants to the Licensee and its
Affiliate(s) a worldwide, perpetual, non-exclusive, non-transferable,
non-sublicensable, royalty-free licence, commencing on the Effective
Date, to permit Licensee Developers to use the Licensed Materials in
accordance with the terms of these Terms, subject to the limit on the
number of permitted Licensee Developers set out in the Order. Members
within the group of Licensee Developers can be replaced with alternative
members as long as the number of Licensee Developers at any time does
not exceed the limit set out in the Order as the "Number of Licensee
Developers". For the purposes of this limit, each developer modifying
JavaScript Code as part of the creation of an Application or
Modification shall constitute a separate Licensee Developer. For
example, if the Licensee has five developers working with JavaScript on
an Application, but only two developers directly working with the
Software, all five developers will be counted as Licensee Developers.</p></ul>
<ul><p>2.2 Subject to clause 2.3 the Licensor grants to the Licensee and its
Affiliate(s) a worldwide, perpetual, non-exclusive, non-transferable,
non-sublicensable, royalty-free licence, commencing on the Effective
Date, to permit Licensee Developers to use the Licensed Materials in
accordance with the terms of these Terms, subject to the limit on the
number of permitted Licensee Developers set out in the Order. Members
within the group of Licensee Developers can be replaced with alternative
members as long as the number of Licensee Developers at any time does
not exceed the limit set out in the Order as the "Number of Licensee
Developers". For the purposes of this limit, each developer modifying
JavaScript Code as part of the creation of an Application or
Modification shall constitute a separate Licensee Developer. For
example, if the Licensee has five developers working with JavaScript on
an Application, but only two developers directly working with the
Software, all five developers will be counted as Licensee Developers.</p></ul>
<ul><p>2.3 Notwithstanding anything else in these Terms, if the Order specifies
that this is a Deployment Licence then:</p>
<ul><p>2.3 Notwithstanding anything else in these Terms, if the Order specifies
that this is a Deployment Licence then:</p>
<ul><p>(a) the licence granted in clause 2.2 shall be sub-licensable and subject to
the limit on the number of permitted Production Environment(s) set out
in the Order;<p></ul>
<ul><p>(a) the licence granted in clause 2.2 shall be sub-licensable and subject to
the limit on the number of permitted Production Environment(s) set out
in the Order;</p><p></p></ul>
<ul><p>(b) subject to this clause 2.3 and clause 2.4(b), the Deployment Licence
shall be subject to the same applicable licence restrictions as set out
in these Terms; and<p></ul>
<ul><p>(b) subject to this clause 2.3 and clause 2.4(b), the Deployment Licence
shall be subject to the same applicable licence restrictions as set out
in these Terms; and</p><p></p></ul>
<ul><p>(c) the Licensee and its Affiliate(s) shall ensure that the terms of any
sub-licence are in writing and are substantially the same as the terms
of these Terms (except that the sub-licensee shall not have the right to
sub-licence its rights).</p></ul></ul>
<ul><p>(c) the Licensee and its Affiliate(s) shall ensure that the terms of any
sub-licence are in writing and are substantially the same as the terms
of these Terms (except that the sub-licensee shall not have the right to
sub-licence its rights).</p></ul></ul>
<ul><p>2.4 The Licensee and its Affiliate(s) may use the Licensed Materials to
install, load, launch, access, run, execute, operate, and archive the
Licensed Materials for production, test, archival, emergency re-start
and disaster recovery purposes and to develop and create derivative
works from the Licensed Materials in the form of Applications, provided
that:</p>
<ul><p>2.4 The Licensee and its Affiliate(s) may use the Licensed Materials to
install, load, launch, access, run, execute, operate, and archive the
Licensed Materials for production, test, archival, emergency re-start
and disaster recovery purposes and to develop and create derivative
works from the Licensed Materials in the form of Applications, provided
that:</p>
<ul><p>(a) the Licensee and its Affiliate(s) may not create more than one
Application if a single application developer license is specified on
the Order (provided that new versions and different editions of an
Application shall be considered, for the purposes of the number of
permitted Applications, to be the same as the original Application as
long as they are in the same evolutionary line). For the avoidance of
doubt, Licensee and its Affiliate(s) may create an unlimited number of
Applications if a multiple applications developer license is specified
on the Order;</p></ul>
<ul><p>(a) the Licensee and its Affiliate(s) may not create more than one
Application if a single application developer license is specified on
the Order (provided that new versions and different editions of an
Application shall be considered, for the purposes of the number of
permitted Applications, to be the same as the original Application as
long as they are in the same evolutionary line). For the avoidance of
doubt, Licensee and its Affiliate(s) may create an unlimited number of
Applications if a multiple applications developer license is specified
on the Order;</p></ul>
<ul><p>(b) unless the Order specifies that this is a Deployment Licence, any
Application created must be used for the Licensee's internal business
purposes only and must not be licensed to third parties; and</p></ul>
<ul><p>(b) unless the Order specifies that this is a Deployment Licence, any
Application created must be used for the Licensee's internal business
purposes only and must not be licensed to third parties; and</p></ul>
<ul><p>(c) the Licensee and its Affiliate(s) shall not permit any end user of any
Application to use the Software independently of, or by or with any
applications other than, the Application being used by that end user.</p></ul>
<ul><p>(c) the Licensee and its Affiliate(s) shall not permit any end user of any
Application to use the Software independently of, or by or with any
applications other than, the Application being used by that end user.</p></ul>
<p>Any reference in this clause 2 to "use" of the Licensed Materials shall
be deemed to include any and all of the foregoing.</p></ul>
<p>Any reference in this clause 2 to "use" of the Licensed Materials shall
be deemed to include any and all of the foregoing.</p></ul>
<ul><p>2.5 For the avoidance of doubt, the Licensee shall be permitted to create
Modifications to the Source Code to the Software for the Licensee's use
of the Software in accordance with these Terms. In the event that the
Licensee creates any Modifications to the Source Code to the Software,
the Licensor shall not be obliged to provide the Support Services in
relation to any such Modification(s) from the date on which any such
Modification(s) take place.</p></ul>
<ul><p>2.5 For the avoidance of doubt, the Licensee shall be permitted to create
Modifications to the Source Code to the Software for the Licensee's use
of the Software in accordance with these Terms. In the event that the
Licensee creates any Modifications to the Source Code to the Software,
the Licensor shall not be obliged to provide the Support Services in
relation to any such Modification(s) from the date on which any such
Modification(s) take place.</p></ul>
<ul><p>2.6 The Licensee and its Affiliate(s) shall not change or remove the
copyright notice from any of the files included in the Licensed
Materials.</p></ul>
<ul><p>2.6 The Licensee and its Affiliate(s) shall not change or remove the
copyright notice from any of the files included in the Licensed
Materials.</p></ul>
<ul><p>2.7 The Licensee and its Affiliate(s) shall not redistribute the Licensed
Materials or any Modifications other than as expressly permitted by
these Terms. For the avoidance of doubt, the Licensee shall not
redistribute the Licensed Materials or any Modifications:</p>
<ul><p>2.7 The Licensee and its Affiliate(s) shall not redistribute the Licensed
Materials or any Modifications other than as expressly permitted by
these Terms. For the avoidance of doubt, the Licensee shall not
redistribute the Licensed Materials or any Modifications:</p>
<ul><p>(a) other than by including the Software or a portion of the Software within
Application(s); and</ul></p>
<ul><p>(a) other than by including the Software or a portion of the Software within
Application(s); and</p></ul><p></p>
<ul><p>(b) as part of any Application that can be described as a development
toolkit or library, an application builder, a website builder, a user
interface designer, or any application that is intended for use by
software, application, or website developers or designers, or has a
similar purpose or functionality (as determined by the Licensor).</p></ul></ul>
<ul><p>(b) as part of any Application that can be described as a development
toolkit or library, an application builder, a website builder, a user
interface designer, or any application that is intended for use by
software, application, or website developers or designers, or has a
similar purpose or functionality (as determined by the Licensor).</p></ul></ul>
<ul><p>2.8 Subject to clause 2.5, the Licensor will provide the Support Services in
accordance with schedule 1 from the Effective Date.</p></ul>
<ul><p>2.8 Subject to clause 2.5, the Licensor will provide the Support Services in
accordance with schedule 1 from the Effective Date.</p></ul>
<li><p><strong>Price of Licensed Materials and payment</strong></p></li>
<li><p><strong>Price of Licensed Materials and payment</strong></p></li>
<ul><p>3.1 The Licence Fees payable will be as set out on the Site at the time the
Licensee submits its Order. Payment of the Licence Fees is in advance
and must be made by credit or debit card on the checkout page on the
Site. The Licensor accepts payment by most major credit and debit cards.
Payment for the Licence Fees will be automatically taken from the
Licensee's selected payment method.</p></ul>
<ul><p>3.1 The Licence Fees payable will be as set out on the Site at the time the
Licensee submits its Order. Payment of the Licence Fees is in advance
and must be made by credit or debit card on the checkout page on the
Site. The Licensor accepts payment by most major credit and debit cards.
Payment for the Licence Fees will be automatically taken from the
Licensee's selected payment method.</p></ul>
<ul><p>3.2 Prices for the Licensed Materials may change from time to time, but
changes will not affect any Order the Licensee has placed and paid for.</p></ul>
<ul><p>3.2 Prices for the Licensed Materials may change from time to time, but
changes will not affect any Order the Licensee has placed and paid for.</p></ul>
<ul><p>3.3 Unless otherwise expressly provided in these Terms, all amounts referred
to in these Terms are exclusive of value added tax ("<strong>VAT</strong>") which,
where chargeable by the Licensor, shall be payable by the Licensee at
the rate and in the manner prescribed by law. All other taxes, duties,
customs or similar charges shall be the responsibility of the Licensor.</p></ul>
<ul><p>3.3 Unless otherwise expressly provided in these Terms, all amounts referred
to in these Terms are exclusive of value added tax ("<strong>VAT</strong>") which,
where chargeable by the Licensor, shall be payable by the Licensee at
the rate and in the manner prescribed by law. All other taxes, duties,
customs or similar charges shall be the responsibility of the Licensor.</p></ul>
<li><p><strong>Warranties</strong></p></li>
<li><p><strong>Warranties</strong></p></li>
<ul><p>4.1 The Licensor represents and warrants that:</p>
<ul><p>4.1 The Licensor represents and warrants that:</p>
<ul><p>(a) it has the right to enter into these Terms and to license the Licensed
Materials and provide the Support Services (if any) as contemplated by
these Terms;</p></ul>
<ul><p>(a) it has the right to enter into these Terms and to license the Licensed
Materials and provide the Support Services (if any) as contemplated by
these Terms;</p></ul>
<ul><p>(b) the Support Services (if any) shall be performed with reasonable care,
skill and diligence;</p></ul>
<ul><p>(b) the Support Services (if any) shall be performed with reasonable care,
skill and diligence;</p></ul>
<ul><p>(c) the Licensed Materials and Support Services (if any) shall comply with
all applicable laws, regulatory requirements, mandatory standards and
codes of practice of any competent authority for the time being in
force; and</p></ul>
<ul><p>(c) the Licensed Materials and Support Services (if any) shall comply with
all applicable laws, regulatory requirements, mandatory standards and
codes of practice of any competent authority for the time being in
force; and</p></ul>
<ul><p>(d) the Software shall perform substantially in accordance with the
Documentation for a period of 90 days after the Effective Date, provided
that this warranty shall not apply to error or failure resulting from
(i) machine error; (ii) the Licensee's failure to follow operating
instructions; (iii) negligence or accident; or (iv) modifications to the
Software by any person or entity other than the Licensor.</p></ul></ul>
<ul><p>(d) the Software shall perform substantially in accordance with the
Documentation for a period of 90 days after the Effective Date, provided
that this warranty shall not apply to error or failure resulting from
(i) machine error; (ii) the Licensee's failure to follow operating
instructions; (iii) negligence or accident; or (iv) modifications to the
Software by any person or entity other than the Licensor.</p></ul></ul>
<ul><p>4.2 The Licensee represents and warrants that:</p>
<ul><p>4.2 The Licensee represents and warrants that:</p>
<ul><p>(a) it has the right to enter into these Terms and to perform its
obligations as contemplated by these Terms; and</p></ul>
<ul><p>(a) it has the right to enter into these Terms and to perform its
obligations as contemplated by these Terms; and</p></ul>
<ul><p>(b) in the performance of its obligations under these Terms, it shall comply
with (and shall procure that its Affiliate(s) shall comply with) all
applicable laws, regulatory requirements, mandatory standards and codes
of practice of any competent authority for the time being in force.</p></ul></ul>
<ul><p>(b) in the performance of its obligations under these Terms, it shall comply
with (and shall procure that its Affiliate(s) shall comply with) all
applicable laws, regulatory requirements, mandatory standards and codes
of practice of any competent authority for the time being in force.</p></ul></ul>
<ul><p>4.3 The Licensor does not warrant that the operation of the Licensed
Materials or the code produced by the Software will be uninterrupted or
error-free. The Licensor provides the Licensed Materials on an "as is"
basis and all warranties not expressly set out in these Terms, including
any warranties of title, non-infringement, merchantability and fitness
for a particular purpose, are disclaimed to the fullest extent permitted
by law.</p></ul>
<ul><p>4.3 The Licensor does not warrant that the operation of the Licensed
Materials or the code produced by the Software will be uninterrupted or
error-free. The Licensor provides the Licensed Materials on an "as is"
basis and all warranties not expressly set out in these Terms, including
any warranties of title, non-infringement, merchantability and fitness
for a particular purpose, are disclaimed to the fullest extent permitted
by law.</p></ul>
<ul><p>4.4 The Licensee's sole and exclusive remedy for a breach of the warranty in
clause 5.1(d) shall be to require the Licensor to repair the affected
portion of the Software to ensure that it complies with the
Documentation.</p></ul>
<ul><p>4.4 The Licensee's sole and exclusive remedy for a breach of the warranty in
clause 4.1(d) shall be to require the Licensor to repair the affected
portion of the Software to ensure that it complies with the
Documentation.</p></ul>
<li><p><strong>Intellectual Property Rights</strong></p></li>
<li><p><strong>Intellectual Property Rights</strong></p></li>
<ul><p>5.1 All Intellectual Property Rights in the Licensor Materials and Licensed
Materials shall, at all times, be and remain the exclusive property of
the Licensor or its third party licensors.</p></ul>
<ul><p>5.1 All Intellectual Property Rights in the Licensor Materials and Licensed
Materials shall, at all times, be and remain the exclusive property of
the Licensor or its third party licensors.</p></ul>
<ul><p>5.2 All Intellectual Property Rights in the Licensee Materials shall, at all
times, be and remain the exclusive property of the Licensee or its third
party licensors. The Licensee grants the Licensor, for the term of these
Terms, a limited, non-transferable, royalty-free, non-exclusive licence
to use the Licensee Materials only for the purpose of carrying out its
obligations in accordance with these Terms. Subject to clause 5.1, no
Intellectual Property Rights in any Application or Modification created
by the Licensee (or any of its Affiliate(s)) will be deemed to transfer
to the Licensor under these Terms.</p></ul>
<ul><p>5.2 All Intellectual Property Rights in the Licensee Materials shall, at all
times, be and remain the exclusive property of the Licensee or its third
party licensors. The Licensee grants the Licensor, for the term of these
Terms, a limited, non-transferable, royalty-free, non-exclusive licence
to use the Licensee Materials only for the purpose of carrying out its
obligations in accordance with these Terms. Subject to clause 5.1, no
Intellectual Property Rights in any Application or Modification created
by the Licensee (or any of its Affiliate(s)) will be deemed to transfer
to the Licensor under these Terms.</p></ul>
<ul><p>5.3 Each party may use or re-use any skills, knowledge, experience,
technical information, inventions, ideas or techniques of whatever
nature utilised or gained by such party in the course of performing its
obligations under these Terms ("<strong>Know-how</strong>"), for its own benefit or
the benefit of third parties, provided that such Know-how does not
involve:<p>
<ul><p>5.3 Each party may use or re-use any skills, knowledge, experience,
technical information, inventions, ideas or techniques of whatever
nature utilised or gained by such party in the course of performing its
obligations under these Terms ("<strong>Know-how</strong>"), for its own benefit or
the benefit of third parties, provided that such Know-how does not
involve:</p><p>
<ul><p>(a) the infringement of any part of the Intellectual Property Rights
belonging to the other party (or the other party's third party
licensors); or</p></ul>
</p><ul><p>(a) the infringement of any part of the Intellectual Property Rights
belonging to the other party (or the other party's third party
licensors); or</p></ul>
<ul><p>(b) the use or disclosure of Confidential Information of the other party
where such use or disclosure would be in breach of clause 8.</p></ul></ul>
<ul><p>(b) the use or disclosure of Confidential Information of the other party
where such use or disclosure would be in breach of clause 8.</p></ul></ul>
<li><p><strong>Indemnities</strong></p></li>
<li><p><strong>Indemnities</strong></p></li>
<ul><p>6.1 The Licensee shall indemnify, defend and hold harmless the Licensor
against all Losses that the Licensor incurs or suffers as a result of
(a) the Licensee's use (and its Affiliate(s') use) of the Licensed
Materials in violation of the Terms; (b) the use or distribution of any
Application by the Licensee (or any of its Affiliate(s)); or (c) any
modifications of the Software by or on behalf of the Licensee (or any of
its Affiliate(s)).</p></ul>
<ul><p>6.1 The Licensee shall indemnify, defend and hold harmless the Licensor
against all Losses that the Licensor incurs or suffers as a result of
(a) the Licensee's use (and its Affiliate(s') use) of the Licensed
Materials in violation of the Terms; (b) the use or distribution of any
Application by the Licensee (or any of its Affiliate(s)); or (c) any
modifications of the Software by or on behalf of the Licensee (or any of
its Affiliate(s)).</p></ul>
<ul><p>6.2 The Licensor shall indemnify, defend and hold harmless the Licensee
against all Losses that the Licensee incurs or suffers however arising
as a result of or in connection with any claim that the receipt,
possession or use of any of the Licensed Materials, Licensor Materials
and/or Support Services by the Licensee infringes the Intellectual
Property Rights or other proprietary rights of any third party, provided
that:</p>
<ul><p>6.2 The Licensor shall indemnify, defend and hold harmless the Licensee
against all Losses that the Licensee incurs or suffers however arising
as a result of or in connection with any claim that the receipt,
possession or use of any of the Licensed Materials, Licensor Materials
and/or Support Services by the Licensee infringes the Intellectual
Property Rights or other proprietary rights of any third party, provided
that:</p>
<ul><p>(a) the Licensee notifies the Licensor in writing as soon as reasonably
practicable of any claim under clause 6.2 of which the Licensee has
notice (an "<strong>Indemnified Claim</strong>");</p></ul>
<ul><p>(a) the Licensee notifies the Licensor in writing as soon as reasonably
practicable of any claim under clause 6.2 of which the Licensee has
notice (an "<strong>Indemnified Claim</strong>");</p></ul>
<ul><p>(b) the Licensee does not admit any liability or agree to any settlement or
compromise of an Indemnified Claim without the prior written consent of
the Licensor, which shall not be unreasonably withheld or delayed;</p></ul>
<ul><p>(b) the Licensee does not admit any liability or agree to any settlement or
compromise of an Indemnified Claim without the prior written consent of
the Licensor, which shall not be unreasonably withheld or delayed;</p></ul>
<ul><p>(c) the Licensor shall, at any time from notification in accordance with
clause 6.2(a), at the Licensor's request, cost and expense, be entitled
to assume exclusive conduct of the Indemnified Claim (which shall
include the right to conduct any proceedings or action in relation to,
negotiate the settlement of, and to conduct all discussions and dispute
resolution efforts in connection with the Indemnified Claim, provided
that no settlement of a claim which would or might affect any rights of
the Licensee, or involve any admission of fault or liability on the part
of the Licensee, shall be entered into without the Licensee's prior
written consent); and</p></ul>
<ul><p>(c) the Licensor shall, at any time from notification in accordance with
clause 6.2(a), at the Licensor's request, cost and expense, be entitled
to assume exclusive conduct of the Indemnified Claim (which shall
include the right to conduct any proceedings or action in relation to,
negotiate the settlement of, and to conduct all discussions and dispute
resolution efforts in connection with the Indemnified Claim, provided
that no settlement of a claim which would or might affect any rights of
the Licensee, or involve any admission of fault or liability on the part
of the Licensee, shall be entered into without the Licensee's prior
written consent); and</p></ul>
<ul><p>(d) the Licensee shall give the Licensor all assistance that the Licensor
may reasonably require in connection with the conduct of the Indemnified
Claim.</p></ul></ul>
<ul><p>(d) the Licensee shall give the Licensor all assistance that the Licensor
may reasonably require in connection with the conduct of the Indemnified
Claim.</p></ul></ul>
<ul><p>6.3 Without prejudice to clause 6.2, in the event that the receipt,
possession or use of any of the Licensed Materials, Licensor Materials
and/or Support Services is restricted as a result of any claim for which
the Licensor is obliged to indemnify under clause 6.2, the Licensor may,
at its discretion, either procure the rights necessary for continued
receipt, possession and use or promptly carry out such modification or
replacement as may be necessary to make receipt, possession and use
non-infringing.</p></ul>
<ul><p>6.3 Without prejudice to clause 6.2, in the event that the receipt,
possession or use of any of the Licensed Materials, Licensor Materials
and/or Support Services is restricted as a result of any claim for which
the Licensor is obliged to indemnify under clause 6.2, the Licensor may,
at its discretion, either procure the rights necessary for continued
receipt, possession and use or promptly carry out such modification or
replacement as may be necessary to make receipt, possession and use
non-infringing.</p></ul>
<li><p><strong>Exclusions and limitations</strong></p></li>
<li><p><strong>Exclusions and limitations</strong></p></li>
<ul><p>7.1 Neither party's liability:</p>
<ul><p>7.1 Neither party's liability:</p>
<ul><p>(a) for death or personal injury caused by its negligence;</p></ul>
<ul><p>(a) for death or personal injury caused by its negligence;</p></ul>
<ul><p>(b) for fraudulent misrepresentation or for any other fraudulent act or
omission;</p></ul>
<ul><p>(b) for fraudulent misrepresentation or for any other fraudulent act or
omission;</p></ul>
<ul><p>(c) for breach of clause 8 (Confidentiality); or</p></ul>
<ul><p>(c) for breach of clause 8 (Confidentiality); or</p></ul>
<ul><p>(d) for any other liability which may not lawfully be excluded or limited;</p></ul>
<ul><p>(d) for any other liability which may not lawfully be excluded or limited;</p></ul>
<p>is excluded or limited by these Terms, even if any other term of these
Terms would otherwise suggest that this might be the case.</p></ul>
<p>is excluded or limited by these Terms, even if any other term of these
Terms would otherwise suggest that this might be the case.</p></ul>
<ul><p>7.2 Subject to clause 7.1, neither party shall be liable for:</p>
<ul><p>7.2 Subject to clause 7.1, neither party shall be liable for:</p>
<ul><p>(a) any indirect, consequential or special loss; or</p></ul>
<ul><p>(a) any indirect, consequential or special loss; or</p></ul>
<ul><p>(b) any loss of profit,</p></ul>
<ul><p>(b) any loss of profit,</p></ul>
<ul><p>(c) loss of business or contracts,</p></ul>
<ul><p>(c) loss of business or contracts,</p></ul>
<ul><p>(d) lost production or operation time,</p></ul>
<ul><p>(d) lost production or operation time,</p></ul>
<ul><p>(e) loss of or corruption to data, or</p></ul>
<ul><p>(e) loss of or corruption to data, or</p></ul>
<ul><p>(f) loss of goodwill or anticipated savings;</p></ul>
<ul><p>(f) loss of goodwill or anticipated savings;</p></ul>
<p>however arising (whether from breach of contract, tort (including
negligence), breach of statutory duty or otherwise), whether or not such
loss was foreseeable or if the party which would otherwise be liable for
such loss was advised of its possibility (and, for the purposes of this
clause 7.2, the term "loss" includes a partial loss or reduction in
value as well as a complete or total loss).</p></ul>
<p>however arising (whether from breach of contract, tort (including
negligence), breach of statutory duty or otherwise), whether or not such
loss was foreseeable or if the party which would otherwise be liable for
such loss was advised of its possibility (and, for the purposes of this
clause 7.2, the term "loss" includes a partial loss or reduction in
value as well as a complete or total loss).</p></ul>
<ul><p>7.3 Subject to clauses 7.1 and 7.2, the Licensor's total liability arising
out of or relating to these Terms or its subject matter and to anything
which it has done or not done in connection with the same (whether from
breach of contract, tort (including negligence), breach of statutory
duty or otherwise) shall be limited, in aggregate for all claims
arising, to the greater of: (a) the total of all amounts payable
(whether or not yet paid) by the Licensee under these Terms in the first
12-month period from and including the Effective Date; and (b) £1,000.
The total liability of the Licensor for any specific event will not
exceed the total aggregate liability for the Licensor, as calculated
above, less any sums payable for previous events giving rise to
liability on the part of such party that have occurred prior to the date
of the specific event.</p></ul>
<ul><p>7.3 Subject to clauses 7.1 and 7.2, the Licensor's total liability arising
out of or relating to these Terms or its subject matter and to anything
which it has done or not done in connection with the same (whether from
breach of contract, tort (including negligence), breach of statutory
duty or otherwise) shall be limited, in aggregate for all claims
arising, to the greater of: (a) the total of all amounts payable
(whether or not yet paid) by the Licensee under these Terms in the first
12-month period from and including the Effective Date; and (b) &pound;1,000.
The total liability of the Licensor for any specific event will not
exceed the total aggregate liability for the Licensor, as calculated
above, less any sums payable for previous events giving rise to
liability on the part of such party that have occurred prior to the date
of the specific event.</p></ul>
<li><p><strong>Confidentiality</strong></p></li>
<li><p><strong>Confidentiality</strong></p></li>
<ul><p>8.1 Each party shall:</p>
<ul><p>8.1 Each party shall:</p>
<ul><p>(a) keep confidential all Confidential Information of the other party which
it receives in connection with these Terms;</p></ul>
<ul><p>(a) keep confidential all Confidential Information of the other party which
it receives in connection with these Terms;</p></ul>
<ul><p>(b) only use such Confidential Information as strictly necessary for the
performance of, or exercise of its rights under, these Terms;</p></ul>
<ul><p>(b) only use such Confidential Information as strictly necessary for the
performance of, or exercise of its rights under, these Terms;</p></ul>
<ul><p>(c) subject to clause 8.2, not disclose such Confidential Information to any
third party (other than its professional advisers, officers, employees,
agents, contractors and sub-contractors on a 'need to know' basis as
strictly required for the purposes of these Terms and subject to each
such person being bound by an obligation of confidentiality equivalent
to this clause 8); and</p></ul>
<ul><p>(c) subject to clause 8.2, not disclose such Confidential Information to any
third party (other than its professional advisers, officers, employees,
agents, contractors and sub-contractors on a 'need to know' basis as
strictly required for the purposes of these Terms and subject to each
such person being bound by an obligation of confidentiality equivalent
to this clause 8); and</p></ul>
<ul><p>(d) promptly, upon request and, in any event, upon termination of these
Terms (for whatever reason), return to the other party all materials (in
whatever form) incorporating, embodying or recording any such
Confidential Information in its possession or control and, if requested
by the other party, certify in writing that it has done so.</p></ul></ul>
<ul><p>(d) promptly, upon request and, in any event, upon termination of these
Terms (for whatever reason), return to the other party all materials (in
whatever form) incorporating, embodying or recording any such
Confidential Information in its possession or control and, if requested
by the other party, certify in writing that it has done so.</p></ul></ul>
<ul><p>8.2 Either party may disclose the other's Confidential Information to the
extent required by law or by any court, tribunal, regulator or other
authority with competent jurisdiction to order its disclosure (but only
to the extent of such requirement), provided that, to the extent
permitted by law, the party compelled to make such disclosure shall
notify the other party of the disclosure in advance.</p></ul>
<ul><p>8.2 Either party may disclose the other's Confidential Information to the
extent required by law or by any court, tribunal, regulator or other
authority with competent jurisdiction to order its disclosure (but only
to the extent of such requirement), provided that, to the extent
permitted by law, the party compelled to make such disclosure shall
notify the other party of the disclosure in advance.</p></ul>
<li><p><strong>Data protection</strong></p></li>
<li><p><strong>Data protection</strong></p></li>
<ul><p>9.1 Each party shall:</p>
<ul><p>9.1 Each party shall:</p>
<ul><p>(a) at all times during the term of these Terms, comply with the Data
Protection Legislation, in case such legislation is applicable to the
Licensee; and</p></ul>
<ul><p>(a) at all times during the term of these Terms, comply with the Data
Protection Legislation, in case such legislation is applicable to the
Licensee; and</p></ul>
<ul><p>(b) to the extent applicable under the Data Protection Legislation, obtain
and maintain all appropriate registrations required in order to allow
that party to perform its obligations under these Terms.</p></ul></ul>
<ul><p>(b) to the extent applicable under the Data Protection Legislation, obtain
and maintain all appropriate registrations required in order to allow
that party to perform its obligations under these Terms.</p></ul></ul>
<ul><p>9.2 In this clause 9, the terms "<strong>personal data</strong>", "<strong>process</strong>" and
"<strong>processor</strong>" shall have the meanings given in the applicable Data
Protection Legislation. The parties acknowledge that the types of
personal data processed pursuant to these Terms (including the subject
matter, duration, nature and purpose of the processing and the
categories of data subject) are as described in schedule 2. In relation
to all personal data provided or made available to the Licensor by or on
behalf of the Licensee, the Licensor:<p>
<ul><p>9.2 In this clause 9, the terms "<strong>personal data</strong>", "<strong>process</strong>" and
"<strong>processor</strong>" shall have the meanings given in the applicable Data
Protection Legislation. The parties acknowledge that the types of
personal data processed pursuant to these Terms (including the subject
matter, duration, nature and purpose of the processing and the
categories of data subject) are as described in schedule 2. In relation
to all personal data provided or made available to the Licensor by or on
behalf of the Licensee, the Licensor:</p><p>
<ul><p>(a) acknowledges that, as between the parties, it acts only as a processor;</p></ul>
</p><ul><p>(a) acknowledges that, as between the parties, it acts only as a processor;</p></ul>
<ul><p>(b) shall only process such personal data in accordance with these Terms and
the Licensee's instructions issued from time to time;</p></ul>
<ul><p>(b) shall only process such personal data in accordance with these Terms and
the Licensee's instructions issued from time to time;</p></ul>
<ul><p>(c) shall immediately inform the Licensee if, in the Licensor's opinion, any
instructions given to it by the Licensee in relation to the processing
of such personal data under these Terms infringe any Data Protection
Legislation;</p></ul>
<ul><p>(c) shall immediately inform the Licensee if, in the Licensor's opinion, any
instructions given to it by the Licensee in relation to the processing
of such personal data under these Terms infringe any Data Protection
Legislation;</p></ul>
<ul><p>(d) shall implement and operate, and shall procure that any permitted
sub-processor implements and operates, appropriate technical and
organisational measures to ensure:</p>
<ul><p>(d) shall implement and operate, and shall procure that any permitted
sub-processor implements and operates, appropriate technical and
organisational measures to ensure:</p>
<ul><p>(i) the protection of the rights of the relevant data subjects; and</p></ul>
<ul><p>(i) the protection of the rights of the relevant data subjects; and</p></ul>
<ul><p>(ii) a level of security appropriate to the risks that are presented by any
processing of such personal data, in particular protection from
accidental loss or unlawful destruction, loss, alteration, unauthorised
disclosure of, or access to, personal data transmitted, stored or
otherwise processed by the Licensor pursuant to these Terms;</p></ul></ul>
<ul><p>(ii) a level of security appropriate to the risks that are presented by any
processing of such personal data, in particular protection from
accidental loss or unlawful destruction, loss, alteration, unauthorised
disclosure of, or access to, personal data transmitted, stored or
otherwise processed by the Licensor pursuant to these Terms;</p></ul></ul>
<ul><p>(e) shall not, without the prior written consent of the Licensee, transfer
any such personal data to a country or territory outside the European
Economic Area unless adequate contractual or other assurances have first
been put in place such as will enable each party to comply with the
requirements of the Data Protection Legislation;</p></ul>
<ul><p>(e) shall not, without the prior written consent of the Licensee, transfer
any such personal data to a country or territory outside the European
Economic Area unless adequate contractual or other assurances have first
been put in place such as will enable each party to comply with the
requirements of the Data Protection Legislation;</p></ul>
<ul><p>(f) shall not engage any sub-processor without the prior written consent of
the Licensee and then only on the basis of a written contract between
the Licensor and the sub-processor which imposes on the sub-processor
terms equivalent to the provisions of this clause 9. The Licensor shall
be responsible for the management of any permitted sub-processor and its
compliance with such terms and shall be directly liable to the Licensee
for any breach of the same;</p></ul>
<ul><p>(f) shall not engage any sub-processor without the prior written consent of
the Licensee and then only on the basis of a written contract between
the Licensor and the sub-processor which imposes on the sub-processor
terms equivalent to the provisions of this clause 9. The Licensor shall
be responsible for the management of any permitted sub-processor and its
compliance with such terms and shall be directly liable to the Licensee
for any breach of the same;</p></ul>
<ul><p>(g) shall notify the Licensee without undue delay of any breach of the
provisions of this clause 9 and provide assistance to the Licensee in
respect of any such breach;</p></ul>
<ul><p>(g) shall notify the Licensee without undue delay of any breach of the
provisions of this clause 9 and provide assistance to the Licensee in
respect of any such breach;</p></ul>
<ul><p>(h) shall provide timely cooperation and assistance to the Licensee in
ensuring compliance with:</p>
<ul><p>(h) shall provide timely cooperation and assistance to the Licensee in
ensuring compliance with:</p>
<ul><p>(i) the Licensee's obligations to respond to any complaint or request form
any applicable data protection authority or data subjects seeking to
exercise their rights under any Data Protection Legislation, including
by promptly notifying the Licensee of each subject access request the
Licensor receives;</p></ul>
<ul><p>(i) the Licensee's obligations to respond to any complaint or request form
any applicable data protection authority or data subjects seeking to
exercise their rights under any Data Protection Legislation, including
by promptly notifying the Licensee of each subject access request the
Licensor receives;</p></ul>
<ul><p>(ii) the Licensee's obligations set out under Articles 32 – 36 of the GDPR
to:</p>
<ul><p>(ii) the Licensee's obligations set out under Articles 32 - 36 of the GDPR
to:</p>
<ul><p>(A) ensure the security of the processing;</p></ul>
<ul><p>(A) ensure the security of the processing;</p></ul>
<ul><p>(B) notify the relevant supervisory authority and any data subjects, where
relevant, of any personal data breach;</p></ul>
<ul><p>(B) notify the relevant supervisory authority and any data subjects, where
relevant, of any personal data breach;</p></ul>
<ul><p>(C) carry out any data protection impact assessments ("<strong>DPIA</strong>") on the
impact of the processing on the protection of personal data; and</p></ul>
<ul><p>(C) carry out any data protection impact assessments ("<strong>DPIA</strong>") on the
impact of the processing on the protection of personal data; and</p></ul>
<ul><p>(D) consult the relevant supervisory authority prior to any processing where
a DPIA indicates that the processing would result in a high risk in the
absence of measures taken by the Licensee to mitigate the risk; and</p></ul></ul></ul>
<ul><p>(D) consult the relevant supervisory authority prior to any processing where
a DPIA indicates that the processing would result in a high risk in the
absence of measures taken by the Licensee to mitigate the risk; and</p></ul></ul></ul>
<ul><p>(i) shall make available to the Licensee all information reasonably required
by the Licensee to demonstrate the Licensor's compliance with its
obligations set out in this clause 9 and allow and participate in any
data protection audits and inspections conducted by the Licensee or
another auditor mandated by the Licensee.</p></ul></ul>
<ul><p>(i) shall make available to the Licensee all information reasonably required
by the Licensee to demonstrate the Licensor's compliance with its
obligations set out in this clause 9 and allow and participate in any
data protection audits and inspections conducted by the Licensee or
another auditor mandated by the Licensee.</p></ul></ul>
<li><p><strong>Term</strong></p></li>
<li><p><strong>Term</strong></p></li>
These Terms shall commence on the Effective Date and shall, unless
sooner terminated in accordance with its terms, continue for an initial
term of 12 months ("**Initial Term**"), when it shall terminate
automatically without notice unless, no later than 1 month before the
end of the Initial Term (or any Extended Term agreed under this clause),
the parties agree in writing that the term of these Terms shall be
extended for a period of 12 months (each an "**Extended Term**"). Unless
it is further extended under this clause 10 or terminated earlier in
accordance with these Terms, these Terms shall terminate automatically
without notice at the end of an Extended Term.
These Terms shall commence on the Effective Date and shall, unless
sooner terminated in accordance with its terms, continue for an initial
term of 12 months ("<strong>Initial Term</strong>"), when it shall terminate
automatically without notice unless, no later than 1 month before the
end of the Initial Term (or any Extended Term agreed under this clause),
the parties agree in writing that the term of these Terms shall be
extended for a period of 12 months (each an "<strong>Extended Term</strong>"). Unless
it is further extended under this clause 10 or terminated earlier in
accordance with these Terms, these Terms shall terminate automatically
without notice at the end of an Extended Term.
<li><p><strong>Termination</strong></p></li>
<li><p><strong>Termination</strong></p></li>
<ul><p>11.1 Either party may terminate these Terms by giving the other written
notice if:</p>
<ul><p>11.1 Either party may terminate these Terms by giving the other written
notice if:</p>
<ul><p>(a) the other materially breaches any term of these Terms and it is not
possible to remedy that breach;</p></ul>
<ul><p>(a) the other materially breaches any term of these Terms and it is not
possible to remedy that breach;</p></ul>
<ul><p>(b) the other materially breaches any term of these Terms and it is possible
to remedy that breach, but the other fails to do so within 30 days of
being requested in writing to do so;</p></ul>
<ul><p>(b) the other materially breaches any term of these Terms and it is possible
to remedy that breach, but the other fails to do so within 30 days of
being requested in writing to do so;</p></ul>
<ul><p>(c) the other suffers or undergoes an Insolvency Event; or</p></ul>
<ul><p>(c) the other suffers or undergoes an Insolvency Event; or</p></ul>
<ul><p>(d) the other is delayed in performing its obligations under these Terms
under clause 13 for a period of 30 days or more.</p></ul>
<ul><p>(d) the other is delayed in performing its obligations under these Terms
under clause 13 for a period of 30 days or more.</p></ul>
<p>For the purposes of this clause 11.1, in order for it to be possible to
remedy a breach it must be possible to take steps so as to put the other
party into the same position which (save as to the date) it would have
been in if the breach had never occurred.</p></ul>
<p>For the purposes of this clause 11.1, in order for it to be possible to
remedy a breach it must be possible to take steps so as to put the other
party into the same position which (save as to the date) it would have
been in if the breach had never occurred.</p></ul>
<li><p><strong>Consequences of termination</strong></p></li>
<li><p><strong>Consequences of termination</strong></p></li>
<ul><p>12.1 Termination of these Terms for any reason will not affect:</p>
<ul><p>12.1 Termination of these Terms for any reason will not affect:</p>
<ul><p>(a) any accrued rights or liabilities which either party may have by the
time termination takes effect; or</p></ul>
<ul><p>(a) any accrued rights or liabilities which either party may have by the
time termination takes effect; or</p></ul>
<ul><p>(b) the coming into force or the continuation in force of any of its
provisions that expressly or by implication are intended to come into
force or continue in force on or after termination. Without prejudice to
the foregoing, clauses 2, 3, 4, 5, 6, 7, 8, 12 and 14 shall survive
termination of these Terms.</p></ul></ul>
<ul><p>(b) the coming into force or the continuation in force of any of its
provisions that expressly or by implication are intended to come into
force or continue in force on or after termination. Without prejudice to
the foregoing, clauses 2, 3, 4, 5, 6, 7, 8, 12 and 14 shall survive
termination of these Terms.</p></ul></ul>
<li><p><strong>Force majeure</strong></p></li>
<li><p><strong>Force majeure</strong></p></li>
Neither party will be liable to the other for any failure or delay in
performing its obligations under these Terms which arises because of any
circumstances which it cannot reasonably be expected to control
(including any fire, flood, earthquake, elements of nature or acts of
God, acts of war (whether or not war is declared), terrorism, riots,
civil disorders, rebellions or revolutions, strikes, lock outs or other
form of industrial action, provided that nothing shall affect either
party's obligation to make any payments due under these Terms.
Neither party will be liable to the other for any failure or delay in
performing its obligations under these Terms which arises because of any
circumstances which it cannot reasonably be expected to control
(including any fire, flood, earthquake, elements of nature or acts of
God, acts of war (whether or not war is declared), terrorism, riots,
civil disorders, rebellions or revolutions, strikes, lock outs or other
form of industrial action.
<li><p><strong>General</strong></p></li>
<li><p><strong>General</strong></p></li>
<ul><p>14.1 The Licensee may not sub-license or assign, sub-contract or delegate any
or all of its rights or obligations under these Terms without the prior
written consent of the Licensor.</p></ul>
<ul><p>14.1 The Licensee may not sub-license or assign, sub-contract or delegate any
or all of its rights or obligations under these Terms without the prior
written consent of the Licensor.</p></ul>
<ul><p>14.2 In the event that the Licensor consents to the Licensee sub-contracting
performance of its obligations, the Licensee will remain liable for
performance of the relevant obligations and shall procure that the
sub-contractor complies with all relevant provisions of these Terms
applying to performance of the obligations concerned.</p></ul>
<ul><p>14.2 In the event that the Licensor consents to the Licensee sub-contracting
performance of its obligations, the Licensee will remain liable for
performance of the relevant obligations and shall procure that the
sub-contractor complies with all relevant provisions of these Terms
applying to performance of the obligations concerned.</p></ul>
<ul><p>14.3 All notices and consents relating to these Terms must be in writing.
Notices must be sent to the address of the recipient set out in these
Terms or otherwise notified by the relevant party in accordance with
these Terms. Notices shall be sent by hand or by first class recorded
delivery or registered post or other form of certified or registered
mail (and sent by air mail if posted to or from a place outside the
United Kingdom) and shall be treated as having been delivered:</p>
<ul><p>14.3 All notices and consents relating to these Terms must be in writing.
Notices must be sent to the address of the recipient set out in these
Terms or otherwise notified by the relevant party in accordance with
these Terms. Notices shall be sent by hand or by first class recorded
delivery or registered post or other form of certified or registered
mail (and sent by air mail if posted to or from a place outside the
United Kingdom) and shall be treated as having been delivered:</p>
<ul><p>(a) if sent by hand, when delivered;</p></ul>
<ul><p>(a) if sent by hand, when delivered;</p></ul>
<ul><p>(b) if sent by registered mail, two days after the date of posting (or, if
sent by air mail, seven days after the date of posting); and</p></ul>
<ul><p>(b) if sent by registered mail, two days after the date of posting (or, if
sent by air mail, seven days after the date of posting); and</p></ul>
<ul><p>(c) if sent by email, at 9.00am on the next Business Day following
transmission.</p></ul></ul>
<ul><p>(c) if sent by email, at 9.00am on the next Business Day following
transmission.</p></ul></ul>
<ul><p>14.4 Unless the parties expressly agree otherwise in writing:</p>
<ul><p>14.4 Unless the parties expressly agree otherwise in writing:</p>
<ul><p>(a) if a party:</p>
<ul><p>(a) if a party:</p>
<ul><p>(i) fails to exercise or delays exercising or only exercises partially any
right or remedy provided under these Terms or by law; or</p></ul>
<ul><p>(i) fails to exercise or delays exercising or only exercises partially any
right or remedy provided under these Terms or by law; or</p></ul>
<ul><p>(ii) agrees not to exercise or to delay exercising any right or remedy
provided under these Terms or by law;</p></ul></ul>
<ul><p>(ii) agrees not to exercise or to delay exercising any right or remedy
provided under these Terms or by law;</p></ul></ul>
<ul><p>then that party shall not be deemed to have waived and shall not be
precluded or restricted from further exercising that or any other right
or remedy; and</p></ul>
<ul><p>then that party shall not be deemed to have waived and shall not be
precluded or restricted from further exercising that or any other right
or remedy; and</p></ul>
<ul><p>(b) no right, power or remedy under these Terms or otherwise available to a
party is exclusive of any other right, power or remedy under these Terms
or otherwise available to that party.</p></ul></ul>
<ul><p>(b) no right, power or remedy under these Terms or otherwise available to a
party is exclusive of any other right, power or remedy under these Terms
or otherwise available to that party.</p></ul></ul>
<ul><p>14.5 If any provision of these Terms is held for any reason to be ineffective
or unenforceable, this shall not affect the validity or enforceability
of any other provision of these Terms or these Terms as a whole. If any
provision of these Terms is so found to be ineffective or unenforceable
but would be effective or enforceable if some part of the provision were
deleted, the provision in question shall apply with such modification(s)
as may be necessary to make it effective and enforceable.</p></ul>
<ul><p>14.5 If any provision of these Terms is held for any reason to be ineffective
or unenforceable, this shall not affect the validity or enforceability
of any other provision of these Terms or these Terms as a whole. If any
provision of these Terms is so found to be ineffective or unenforceable
but would be effective or enforceable if some part of the provision were
deleted, the provision in question shall apply with such modification(s)
as may be necessary to make it effective and enforceable.</p></ul>
<ul><p>14.6 All variations to these Terms must be agreed, set out in writing and
signed on behalf of both parties before they take effect.</p></ul>
<ul><p>14.6 All variations to these Terms must be agreed, set out in writing and
signed on behalf of both parties before they take effect.</p></ul>
<ul><p>14.7 Except to the extent that these Terms expressly provides otherwise,
nothing in these Terms shall or is intended to create a partnership or
joint venture between the parties, constitute one party as agent of the
other or give either party authority to make or enter into commitments,
assume liabilities or pledge credit on behalf of the other party.
Neither party may act as if it were, or represent (expressly or by
implying it) that it is, an agent of the other or has such authority.</p></ul>
<ul><p>14.7 Except to the extent that these Terms expressly provides otherwise,
nothing in these Terms shall or is intended to create a partnership or
joint venture between the parties, constitute one party as agent of the
other or give either party authority to make or enter into commitments,
assume liabilities or pledge credit on behalf of the other party.
Neither party may act as if it were, or represent (expressly or by
implying it) that it is, an agent of the other or has such authority.</p></ul>
<ul><p>14.8 Each party confirms that, in entering into and performing these Terms,
it is acting as principal and not as the agent of any undisclosed third
party principal.</p></ul>
<ul><p>14.8 Each party confirms that, in entering into and performing these Terms,
it is acting as principal and not as the agent of any undisclosed third
party principal.</p></ul>
<ul><p>14.9 A person who is not a party to these Terms shall not have any rights
under or in connection with it, whether under the Contracts (Rights of
Third Parties) Act 1999 or otherwise.</p></ul>
<ul><p>14.9 A person who is not a party to these Terms shall not have any rights
under or in connection with it, whether under the Contracts (Rights of
Third Parties) Act 1999 or otherwise.</p></ul>
<ul><p>14.10 The Licensor shall:</p>
<ul><p>14.10 The Licensor shall:</p>
<ul><p>(a) comply with all applicable laws, statutes, regulations and codes
relating to anti-bribery and anti-corruption, including the Bribery Act
2010 ("<strong>Act</strong>");</p></ul>
<ul><p>(a) comply with all applicable laws, statutes, regulations and codes
relating to anti-bribery and anti-corruption, including the Bribery Act
2010 ("<strong>Act</strong>");</p></ul>
<ul><p>(b) not do anything which would constitute an offence or which would cause
the Licensee to commit an offence under the Act;</p></ul>
<ul><p>(b) not do anything which would constitute an offence or which would cause
the Licensee to commit an offence under the Act;</p></ul>
<ul><p>(c) have and shall maintain in place throughout the term of these Terms its
own policies and procedures (copies of which will be made available to
the Licensee upon request), including adequate procedures to ensure
compliance with the Act as informed by the principles outlined in the
guidance to the Act, and will enforce them where appropriate;</p></ul>
<ul><p>(c) have and shall maintain in place throughout the term of these Terms its
own policies and procedures (copies of which will be made available to
the Licensee upon request), including adequate procedures to ensure
compliance with the Act as informed by the principles outlined in the
guidance to the Act, and will enforce them where appropriate;</p></ul>
<ul><p>(d) have and shall maintain in place throughout the term of these Terms the
following insurance:</p>
<ul><p>(d) have and shall maintain in place throughout the term of these Terms the
following insurance:</p>
<ul><p>(i) Employers Liability insurance</p></ul>
<ul><p>(i) Employers Liability insurance</p></ul>
<ul><p>(ii) Public Liability insurance</p></ul>
<ul><p>(ii) Public Liability insurance</p></ul>
<ul><p>(iii) Professional Indemnity insurance</p></ul></ul>
<ul><p>(iii) Professional Indemnity insurance</p></ul></ul>
<ul><p>(e) promptly report to the Licensee any request or demand for any undue
financial or other advantage of any kind received by the Licensor in
connection with the performance of these Terms; and</p></ul>
<ul><p>(e) promptly report to the Licensee any request or demand for any undue
financial or other advantage of any kind received by the Licensor in
connection with the performance of these Terms; and</p></ul>
<ul><p>(f) procure that all associated persons (as defined in the Act) of the
Licensor will comply with clauses 14.10(a) to (c).</p></ul>
<ul><p>(f) procure that all associated persons (as defined in the Act) of the
Licensor will comply with clauses 14.10(a) to (c).</p></ul>
<ul><p>A breach of this clause 14.10 by the Licensor shall constitute a
material breach entitling the Licensee to terminate these Terms
immediately on written notice.</p></ul></ul>
<ul><p>A breach of this clause 14.10 by the Licensor shall constitute a
material breach entitling the Licensee to terminate these Terms
immediately on written notice.</p></ul></ul>
<ul><p>14.11 No terms other than those set out in these Terms shall be applicable
between the parties in relation to the subjects covered by these Terms,
including without limitation, any terms set out on any purchase orders
that have been issued by the Licensee*. Provided always that nothing in
this clause 14.11 will operate to limit or exclude any liability for
fraud or fraudulent misrepresentation, no other representations or terms
shall apply or form part of these Terms. Each party acknowledges that it
has not been influenced to enter these Terms by, and shall have no right
or remedy (other than for breach of contract) in respect of, anything
the other party has said or done or committed to do, except as expressly
recorded in these Terms.</p></ul>
<ul><p>14.11 No terms other than those set out in these Terms shall be applicable
between the parties in relation to the subjects covered by these Terms,
including without limitation, any terms set out on any purchase orders
that have been issued by the Licensee*. Provided always that nothing in
this clause 14.11 will operate to limit or exclude any liability for
fraud or fraudulent misrepresentation, no other representations or terms
shall apply or form part of these Terms. Each party acknowledges that it
has not been influenced to enter these Terms by, and shall have no right
or remedy (other than for breach of contract) in respect of, anything
the other party has said or done or committed to do, except as expressly
recorded in these Terms.</p></ul>
<ul><p>14.12 In the event of any conflict between these Terms and any other agreement
executed and entered into between the parties in relation to the
Licenced Materials, these Terms shall take precedence.</p></ul>
<ul><p>14.12 In the event of any conflict between these Terms and any other agreement
executed and entered into between the parties in relation to the
Licenced Materials, these Terms shall take precedence.</p></ul>
<ul><p>14.13 These Terms are governed by English law. The parties submit to the
exclusive jurisdiction of the English courts in relation to any dispute
or difference between the parties arising out of or in connection with
these Terms, its interpretation or subject-matter, but the Licensor is
also entitled to apply to any court worldwide for injunctive or other
remedies in order to protect or enforce its Intellectual Property Rights
and/or Confidential Information.</p></ul></ul></ul>
<h1>SCHEDULE 1</h1>
<h2>Support Services</h2>
<ul><p>14.13 These Terms are governed by English law. The parties submit to the
exclusive jurisdiction of the English courts in relation to any dispute
or difference between the parties arising out of or in connection with
these Terms, its interpretation or subject-matter, but the Licensor is
also entitled to apply to any court worldwide for injunctive or other
remedies in order to protect or enforce its Intellectual Property Rights
and/or Confidential Information.</p></ul>
<h1>SCHEDULE 1</h1>
<h2>Support Services</h2>
<li value=1><p><strong>Scope of Support Services</strong></p>
<ul><p>1.1 The Licensor shall provide the following Support Services for
the Software during the Initial Term and any Extended Term in
accordance with the terms of these Terms:</p>
<ul><p>(a) an online support forum, access to which is restricted to
members who have been granted access by the Licensor
("<strong>Support</strong> <strong>Forum</strong>"), monitored by personnel who are
qualified to maintain and support the Software during the
hours of 9am and 5pm on Business Days ("<strong>Support Hours</strong>").</p></ul>
<ul><p>(b) corrective maintenance as described in paragraph 2; and</p></ul>
<ul><p>(c) a software updating service as described in paragraph 3.</p></ul></ul>
<ul><p>1.2 The Support Services will be provided in English.</p></ul>
<ul><p>1.3 Notwithstanding anything else in these Terms, the Licensor shall
not be obliged to provide Support Services:</p>
<ul><p>(a) in relation to any Error to the extent that it is caused by
the Licensee's (or any of its Affiliate(s')) misuse,
misconfiguration, alteration or damage to the Software; the
Licensee's (or any of its Affiliate(s')) failure to install
an Update; or use of the Software in breach of these Terms;</p></ul>
<ul><p>(b) in relation to more than 10 Support Requests during the
Initial Term or a single Extended Term; and</p></ul>
<ul><p>(c) for any holiday period during which the Licensor shall not
be open for business.</p></ul></ul>
<li value="1"><p><strong>Scope of Support Services</strong></p>
<li><p><strong>Corrective maintenance</strong></p></li>
<ul><p>2.1 Upon receipt of a Support Request, the Licensor shall use its
<ul><p>1.1 The Licensor shall provide the following Support Services for
the Software during the Initial Term and any Extended Term in
accordance with the terms of these Terms:</p>
<ul><p>(a) an online support forum, access to which is restricted to
members who have been granted access by the Licensor
("<strong>Support</strong> <strong>Forum</strong>"), monitored by personnel who are
qualified to maintain and support the Software during the
hours of 9am and 5pm on Business Days ("<strong>Support Hours</strong>").</p></ul>
<ul><p>(b) corrective maintenance as described in paragraph 2; and</p></ul>
<ul><p>(c) a software updating service as described in paragraph 3.</p></ul></ul>
<ul><p>1.2 The Support Services will be provided in English.</p></ul>
<ul><p>1.3 Notwithstanding anything else in these Terms, the Licensor shall
not be obliged to provide Support Services:</p>
<ul><p>(a) in relation to any Error to the extent that it is caused by
the Licensee's (or any of its Affiliate(s')) misuse,
misconfiguration, alteration or damage to the Software; the
Licensee's (or any of its Affiliate(s')) failure to install
an Update; or use of the Software in breach of these Terms;</p></ul>
<ul><p>(b) in relation to more than 10 Support Requests during the
Initial Term or a single Extended Term; and</p></ul>
<ul><p>(c) for any holiday period during which the Licensor shall not
be open for business.</p></ul></ul>
</li><li><p><strong>Corrective maintenance</strong></p></li>
<ul><p>2.1 Upon receipt of a Support Request, the Licensor shall use its
reasonable endeavours to commence corrective maintenance or
otherwise resolve the Support Request by the end of the
following Business Day.</p></ul>
<ul><p>2.2 Notwithstanding anything else in this schedule 1, the Licensor
<ul><p>2.2 Notwithstanding anything else in this schedule 1, the Licensor
shall only be required to resolve Support Requests:</p>
<ul><p>(a) which relate to the current release of the Software and
<ul><p>(a) which relate to the current release of the Software and
previous releases that were released less than 12 months
before the date of a Support Request; and </p></ul>
<ul><p>(b) if a New Version is not available which would otherwise
resolve the Support Request, in which case the Licensee may
acquire such New Version.</p></ul></ul>
<li><p><strong>Software updating service</strong><p></li>
<ul><p>3.1 The Licensor shall promptly make available to the Licensee (and
<ul><p>(b) if a New Version is not available which would otherwise
resolve the Support Request.</p></ul></ul>
<li><p><strong>Software updating service</strong></p><p></p></li>
<ul><p>3.1 The Licensor shall promptly make available to the Licensee (and
its Affiliate(s)), as part of the Support Services, all Updates
issued generally by the Licensor to its customers or to users of
the Software.</p></ul>
<ul><p>3.2 The Licensee (and its Affiliate(s)) shall have the right, in its
<ul><p>3.2 The Licensee (and its Affiliate(s)) shall have the right, in its
sole discretion, to acquire any Update (in the case of a New

@@ -877,4 +877,4 @@ Version, subject to the payment of any applicable fees) and, at

with the terms of these Terms.</p></ul>
<ul><p>3.3 The Licensor shall promptly notify the Licensee (and its
<ul><p>3.3 The Licensor shall promptly notify the Licensee (and its
Affiliate(s)) of all revisions, additions or updates to all

@@ -885,33 +885,34 @@ Documentation which may be necessary as a result of the

<h1>SCHEDULE 2</h1>
<h2>Personal Data</h2>
<h1>SCHEDULE 2</h1>
<h2>Personal Data</h2>
For the purposes of clause 10.2, the parties set out below a description
of the personal data being processed under these Terms and further
detail required pursuant to the GDPR.
For the purposes of clause 10.2, the parties set out below a description
of the personal data being processed under these Terms and further
detail required pursuant to the GDPR.
<li value=1><p><strong>Types of personal data</strong>
<li value="1"><p><strong>Types of personal data</strong>
Personal details (title, first name, last name), position, contact
information, location data, employer, delivery information, services
provided, financial information (bank or credit/debit card details).</p></li>
Personal details (title, first name, last name), position, contact
information, location data, employer, delivery information, services
provided, financial information (bank or credit/debit card details).</p></li>
<li><p><strong>Duration of processing</strong>
<li><p><strong>Duration of processing</strong>
Until the earliest of termination of these Terms in accordance with its
terms or the date upon which processing is no longer necessary for the
purposes of either party performing its respective obligations under
these Terms (to the extent applicable).</p></li>
Until the earliest of termination of these Terms in accordance with its
terms or the date upon which processing is no longer necessary for the
purposes of either party performing its respective obligations under
these Terms (to the extent applicable).</p></li>
<li><p><strong>Nature of processing</strong>
<li><p><strong>Nature of processing</strong>
Collection, storage, duplication, electronic viewing, deletion and
destruction.</p></li>
Collection, storage, duplication, electronic viewing, deletion and
destruction.</p></li>
<li><p><strong>Purpose of processing</strong>
<li><p><strong>Purpose of processing</strong>
Provision of support to enable use of the Software.</p></li>
Provision of support to enable use of the Software.</p></li>
<li><p><strong>Categories of data subject</strong>
<li><p><strong>Categories of data subject</strong>
Officers, employees and temporary staff of Licensee.</p></li>
Officers, employees and temporary staff of Licensee.</p></li>
</ol><div id="spoon-plugin-kncgbdglledmjmpnikebkagnchfdehbm-2" style="display:none"></div></body></html>
{
"name": "@ag-grid-enterprise/range-selection",
"version": "22.1.1",
"version": "23.0.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components",
"main": "./dist/cjs/main.js",
"module": "./dist/es6/main.js",
"types": "./dist/es6/main.d.ts",
"types": "./dist/cjs/main.d.ts",
"scripts": {

@@ -44,4 +44,4 @@ "build-cjs": "tsc -p tsconfig.json",

"dependencies": {
"@ag-grid-community/core": "~22.1.1",
"@ag-grid-enterprise/core": "~22.1.1"
"@ag-grid-community/core": "~23.0.0",
"@ag-grid-enterprise/core": "~23.0.0"
},

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

@@ -13,3 +13,3 @@

[Angular 1](https://www.ag-grid.com/angular-grid/) | [Angular 2](https://www.ag-grid.com/angular-grid/) | [Javascript](https://www.ag-grid.com/javascript-grid/) | [Polymer](https://www.ag-grid.com/best-polymer-data-grid/) | [React](https://www.ag-grid.com/react-grid/) | [TypeScript](https://www.ag-grid.com/ag-grid-typescript-webpack-2/) | [VueJS](https://www.ag-grid.com/vuejs-grid/) | [Web Components](https://www.ag-grid.com/best-web-component-data-grid/) | [Aurelia](https://www.ag-grid.com/best-aurelia-data-grid/)
[Angular 1](https://www.ag-grid.com/angular-grid/) | [Angular 2](https://www.ag-grid.com/angular-grid/) | [Javascript](https://www.ag-grid.com/javascript-grid/) | [Polymer](https://www.ag-grid.com/best-polymer-data-grid/) | [React](https://www.ag-grid.com/react-grid/) | [TypeScript](https://www.ag-grid.com/ag-grid-building-typescript/) | [VueJS](https://www.ag-grid.com/vuejs-grid/) | [Web Components](https://www.ag-grid.com/best-web-component-data-grid/) | [Aurelia](https://www.ag-grid.com/best-aurelia-data-grid/)

@@ -16,0 +16,0 @@ This is not free software, this software is covered by copyright and to use you need a commercial license.

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