@syncfusion/ej2-base
Advanced tools
Comparing version 20.1.61 to 20.2.36
@@ -7,16 +7,13 @@ # Changelog | ||
#### Bug Fixes | ||
#### New Features | ||
- `#F173517` - "The Chart with ngFor data binding is not working" issue has been resolved. | ||
- Provided the TypeScript 4.7 compatible support for the EJ2 components. | ||
## 20.1.60 (2022-06-14) | ||
- Provided option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command: | ||
- - Install the Syncfusion packages from npm. | ||
- - Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. | ||
- - Run the command `npx syncfusion-license activate` to register the license automatically. | ||
### Common | ||
- `#I376821` - Provided support to compile the Sass files using [Dart Sass](https://sass-lang.com/dart-sass) instead of [node-sass](https://github.com/sass/node-sass). This change has been made since `node-sass` has been deprecated. | ||
#### Bug Fixes | ||
- `SF-372767`, `SF-370308` - The empty space issue in `Treeview` component while dragging the element has been resolved. | ||
## 20.1.56 (2022-05-17) | ||
### Common | ||
@@ -26,36 +23,3 @@ | ||
- `F173666` - The issue with sanitize html while creating a appointment in scheduler has been resolve. | ||
## 20.1.55 (2022-05-12) | ||
### Common | ||
#### Bug Fixes | ||
- `SF-376600` - The issue with "`IsDevice` value return as false only for Safari browser in iPad" has been resolved. | ||
## 20.1.50 (2022-04-19) | ||
### Common | ||
#### Bug Fixes | ||
- `I370803` - The issue with "Script error occurs while opening the popup in the DropDownList" has been resolved. | ||
## 20.1.48 (2022-04-12) | ||
### Common | ||
#### Bug Fixes | ||
- `I374390` - Resolved window undefined in server side rendering with React next JS. | ||
## 20.1.47 (2022-04-04) | ||
### Common | ||
#### Bug Fixes | ||
- `I324684` - Resolved the `Treeview` check box issues in safari browser. | ||
- `I342741`, `F172105`, `SF-365783`, `F172867`, `SF-367588`, `SF-358914` - Provided the `draggable` support for the mobile and touch devices. | ||
@@ -62,0 +26,0 @@ ## 17.4.51 (2020-02-25) |
/*! | ||
* filename: index.d.ts | ||
* version : 20.1.61 | ||
* version : 20.2.36 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
@@ -1,56 +0,66 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Base E2E Helper Function | ||
*/ | ||
class TestHelper { | ||
selector(arg) { | ||
return (this.wrapperFn ? this.wrapperFn(arg) : arg); | ||
} | ||
setModel(property, value) { | ||
return Mapper.setModel(this.id, this.selector.bind(this), property, value); | ||
} | ||
getModel(property) { | ||
return Mapper.getModel(this.id, this.selector.bind(this), property); | ||
} | ||
invoke(fName, args = []) { | ||
return Mapper.invoke(this.id, this.selector.bind(this), fName, args); | ||
} | ||
eventHandler(eventName, callback) { | ||
return this.selector('#' + this.id).then((ele) => { | ||
var inst = ele[0].ej2_instances[0]; | ||
return inst[eventName] = callback; | ||
}); | ||
} | ||
} | ||
exports.TestHelper = TestHelper; | ||
class Mapper { | ||
static setModel(id, selector, property, value) { | ||
let result; | ||
if (cy) { | ||
result = selector('#' + id).then((ele) => { | ||
return ele[0].ej2_instances[0][property] = value; | ||
}); | ||
define(["require", "exports"], function (require, exports) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Base E2E Helper Function | ||
*/ | ||
var TestHelper = /** @class */ (function () { | ||
function TestHelper() { | ||
} | ||
return result; | ||
} | ||
static getModel(id, selector, property) { | ||
let result; | ||
if (cy) { | ||
result = selector('#' + id).then((ele) => { | ||
return ele[0].ej2_instances[0][property]; | ||
}); | ||
} | ||
return result; | ||
} | ||
static invoke(id, selector, fName, args = []) { | ||
let result; | ||
if (cy) { | ||
result = selector('#' + id).then((ele) => { | ||
TestHelper.prototype.selector = function (arg) { | ||
return (this.wrapperFn ? this.wrapperFn(arg) : arg); | ||
}; | ||
TestHelper.prototype.setModel = function (property, value) { | ||
return Mapper.setModel(this.id, this.selector.bind(this), property, value); | ||
}; | ||
TestHelper.prototype.getModel = function (property) { | ||
return Mapper.getModel(this.id, this.selector.bind(this), property); | ||
}; | ||
TestHelper.prototype.invoke = function (fName, args) { | ||
if (args === void 0) { args = []; } | ||
return Mapper.invoke(this.id, this.selector.bind(this), fName, args); | ||
}; | ||
TestHelper.prototype.eventHandler = function (eventName, callback) { | ||
return this.selector('#' + this.id).then(function (ele) { | ||
var inst = ele[0].ej2_instances[0]; | ||
return inst[fName].call(inst, args); | ||
return inst[eventName] = callback; | ||
}); | ||
}; | ||
return TestHelper; | ||
}()); | ||
exports.TestHelper = TestHelper; | ||
var Mapper = /** @class */ (function () { | ||
function Mapper() { | ||
} | ||
return result; | ||
} | ||
} | ||
Mapper.setModel = function (id, selector, property, value) { | ||
var result; | ||
if (cy) { | ||
result = selector('#' + id).then(function (ele) { | ||
return ele[0].ej2_instances[0][property] = value; | ||
}); | ||
} | ||
return result; | ||
}; | ||
Mapper.getModel = function (id, selector, property) { | ||
var result; | ||
if (cy) { | ||
result = selector('#' + id).then(function (ele) { | ||
return ele[0].ej2_instances[0][property]; | ||
}); | ||
} | ||
return result; | ||
}; | ||
Mapper.invoke = function (id, selector, fName, args) { | ||
if (args === void 0) { args = []; } | ||
var result; | ||
if (cy) { | ||
result = selector('#' + id).then(function (ele) { | ||
var inst = ele[0].ej2_instances[0]; | ||
return inst[fName].call(inst, args); | ||
}); | ||
} | ||
return result; | ||
}; | ||
return Mapper; | ||
}()); | ||
}); |
@@ -1,6 +0,8 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./base")); | ||
define(["require", "exports", "./base"], function (require, exports, base_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(base_1); | ||
}); |
{ | ||
"_from": "@syncfusion/ej2-base@*", | ||
"_id": "@syncfusion/ej2-base@20.1.60", | ||
"_id": "@syncfusion/ej2-base@18.58.0", | ||
"_inBundle": false, | ||
"_integrity": "sha512-zC2wM5B6njaoNto8nbgEuBFsye4ltVtE42S/8lZ2E7igzcbhbBofBXShDx/EEFHbV2d9aQFM398Ua5rajKjeVw==", | ||
"_integrity": "sha512-rIaDhHUxi9+mx5Ju81+gwKF/QaAXqR86ATrDmUgKB2ePY2PuNHnJideD7QFdrYAqZAR5Hr5WGQyH66x76y9lCA==", | ||
"_location": "/@syncfusion/ej2-base", | ||
@@ -22,11 +22,22 @@ "_phantomChildren": {}, | ||
"/@syncfusion/ej2", | ||
"/@syncfusion/ej2-angular-barcode-generator", | ||
"/@syncfusion/ej2-angular-base", | ||
"/@syncfusion/ej2-angular-buttons", | ||
"/@syncfusion/ej2-angular-calendars", | ||
"/@syncfusion/ej2-angular-charts", | ||
"/@syncfusion/ej2-angular-circulargauge", | ||
"/@syncfusion/ej2-angular-diagrams", | ||
"/@syncfusion/ej2-angular-documenteditor", | ||
"/@syncfusion/ej2-angular-dropdowns", | ||
"/@syncfusion/ej2-angular-filemanager", | ||
"/@syncfusion/ej2-angular-gantt", | ||
"/@syncfusion/ej2-angular-grids", | ||
"/@syncfusion/ej2-angular-heatmap", | ||
"/@syncfusion/ej2-angular-inplace-editor", | ||
"/@syncfusion/ej2-angular-inputs", | ||
"/@syncfusion/ej2-angular-kanban", | ||
"/@syncfusion/ej2-angular-layouts", | ||
"/@syncfusion/ej2-angular-lineargauge", | ||
"/@syncfusion/ej2-angular-lists", | ||
"/@syncfusion/ej2-angular-maps", | ||
"/@syncfusion/ej2-angular-navigations", | ||
@@ -36,5 +47,11 @@ "/@syncfusion/ej2-angular-notifications", | ||
"/@syncfusion/ej2-angular-pivotview", | ||
"/@syncfusion/ej2-angular-popups", | ||
"/@syncfusion/ej2-angular-progressbar", | ||
"/@syncfusion/ej2-angular-querybuilder", | ||
"/@syncfusion/ej2-angular-richtexteditor", | ||
"/@syncfusion/ej2-angular-schedule", | ||
"/@syncfusion/ej2-angular-splitbuttons", | ||
"/@syncfusion/ej2-angular-spreadsheet", | ||
"/@syncfusion/ej2-angular-treegrid", | ||
"/@syncfusion/ej2-angular-treemap", | ||
"/@syncfusion/ej2-barcode-generator", | ||
@@ -69,11 +86,22 @@ "/@syncfusion/ej2-buttons", | ||
"/@syncfusion/ej2-querybuilder", | ||
"/@syncfusion/ej2-react-barcode-generator", | ||
"/@syncfusion/ej2-react-base", | ||
"/@syncfusion/ej2-react-buttons", | ||
"/@syncfusion/ej2-react-calendars", | ||
"/@syncfusion/ej2-react-charts", | ||
"/@syncfusion/ej2-react-circulargauge", | ||
"/@syncfusion/ej2-react-diagrams", | ||
"/@syncfusion/ej2-react-documenteditor", | ||
"/@syncfusion/ej2-react-dropdowns", | ||
"/@syncfusion/ej2-react-filemanager", | ||
"/@syncfusion/ej2-react-gantt", | ||
"/@syncfusion/ej2-react-grids", | ||
"/@syncfusion/ej2-react-heatmap", | ||
"/@syncfusion/ej2-react-inplace-editor", | ||
"/@syncfusion/ej2-react-inputs", | ||
"/@syncfusion/ej2-react-kanban", | ||
"/@syncfusion/ej2-react-layouts", | ||
"/@syncfusion/ej2-react-lineargauge", | ||
"/@syncfusion/ej2-react-lists", | ||
"/@syncfusion/ej2-react-maps", | ||
"/@syncfusion/ej2-react-navigations", | ||
@@ -83,5 +111,11 @@ "/@syncfusion/ej2-react-notifications", | ||
"/@syncfusion/ej2-react-pivotview", | ||
"/@syncfusion/ej2-react-popups", | ||
"/@syncfusion/ej2-react-progressbar", | ||
"/@syncfusion/ej2-react-querybuilder", | ||
"/@syncfusion/ej2-react-richtexteditor", | ||
"/@syncfusion/ej2-react-schedule", | ||
"/@syncfusion/ej2-react-splitbuttons", | ||
"/@syncfusion/ej2-react-spreadsheet", | ||
"/@syncfusion/ej2-react-treegrid", | ||
"/@syncfusion/ej2-react-treemap", | ||
"/@syncfusion/ej2-richtexteditor", | ||
@@ -94,11 +128,22 @@ "/@syncfusion/ej2-schedule", | ||
"/@syncfusion/ej2-treemap", | ||
"/@syncfusion/ej2-vue-barcode-generator", | ||
"/@syncfusion/ej2-vue-base", | ||
"/@syncfusion/ej2-vue-buttons", | ||
"/@syncfusion/ej2-vue-calendars", | ||
"/@syncfusion/ej2-vue-charts", | ||
"/@syncfusion/ej2-vue-circulargauge", | ||
"/@syncfusion/ej2-vue-diagrams", | ||
"/@syncfusion/ej2-vue-documenteditor", | ||
"/@syncfusion/ej2-vue-dropdowns", | ||
"/@syncfusion/ej2-vue-filemanager", | ||
"/@syncfusion/ej2-vue-gantt", | ||
"/@syncfusion/ej2-vue-grids", | ||
"/@syncfusion/ej2-vue-heatmap", | ||
"/@syncfusion/ej2-vue-inplace-editor", | ||
"/@syncfusion/ej2-vue-inputs", | ||
"/@syncfusion/ej2-vue-kanban", | ||
"/@syncfusion/ej2-vue-layouts", | ||
"/@syncfusion/ej2-vue-lineargauge", | ||
"/@syncfusion/ej2-vue-lists", | ||
"/@syncfusion/ej2-vue-maps", | ||
"/@syncfusion/ej2-vue-navigations", | ||
@@ -108,8 +153,14 @@ "/@syncfusion/ej2-vue-notifications", | ||
"/@syncfusion/ej2-vue-pivotview", | ||
"/@syncfusion/ej2-vue-popups", | ||
"/@syncfusion/ej2-vue-progressbar", | ||
"/@syncfusion/ej2-vue-querybuilder", | ||
"/@syncfusion/ej2-vue-richtexteditor", | ||
"/@syncfusion/ej2-vue-schedule", | ||
"/@syncfusion/ej2-vue-spreadsheet" | ||
"/@syncfusion/ej2-vue-splitbuttons", | ||
"/@syncfusion/ej2-vue-spreadsheet", | ||
"/@syncfusion/ej2-vue-treegrid", | ||
"/@syncfusion/ej2-vue-treemap" | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.1.60.tgz", | ||
"_shasum": "888eacdd993cbaae6cc551288a0af355374e38c1", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.58.0.tgz", | ||
"_shasum": "1a8c8e230d4aae3ab630f56f19c1e1955c121ce7", | ||
"_spec": "@syncfusion/ej2-base@*", | ||
@@ -120,2 +171,5 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
}, | ||
"bin": { | ||
"syncfusion-license": "bin/syncfusion-license.js" | ||
}, | ||
"bugs": { | ||
@@ -126,3 +180,3 @@ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues" | ||
"dependencies": { | ||
"@syncfusion/ej2-icons": "~20.1.55" | ||
"@syncfusion/ej2-icons": "~20.2.36" | ||
}, | ||
@@ -168,4 +222,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "20.1.61", | ||
"version": "20.2.36", | ||
"sideEffects": true | ||
} |
@@ -197,1 +197,10 @@ import { Base, EmitType } from './base'; | ||
export declare function enableRipple(isRipple: boolean): boolean; | ||
/** | ||
* Defines the Modes of Global animation. | ||
* @private | ||
*/ | ||
export declare let animationMode: string; | ||
/** | ||
* Method for set the Global animation modes for Syncfusion Blazor components. | ||
*/ | ||
export declare function setGlobalAnimation(value: string): void; |
@@ -106,7 +106,17 @@ var __extends = (this && this.__extends) || (function () { | ||
Animation.delayAnimation = function (model) { | ||
if (model.delay) { | ||
setTimeout(function () { Animation_1.applyAnimation(model); }, model.delay); | ||
if (animationMode === 'Disable') { | ||
if (model.begin) { | ||
model.begin.call(this, model); | ||
} | ||
if (model.end) { | ||
model.end.call(this, model); | ||
} | ||
} | ||
else { | ||
Animation_1.applyAnimation(model); | ||
if (model.delay) { | ||
setTimeout(function () { Animation_1.applyAnimation(model); }, model.delay); | ||
} | ||
else { | ||
Animation_1.applyAnimation(model); | ||
} | ||
} | ||
@@ -417,1 +427,12 @@ }; | ||
} | ||
/** | ||
* Defines the Modes of Global animation. | ||
* @private | ||
*/ | ||
export var animationMode = ''; | ||
/** | ||
* Method for set the Global animation modes for Syncfusion Blazor components. | ||
*/ | ||
export function setGlobalAnimation(value) { | ||
animationMode = value; | ||
} |
@@ -74,5 +74,3 @@ var __extends = (this && this.__extends) || (function () { | ||
onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId); | ||
if (typeof window !== "undefined" && typeof document !== "undefined") { | ||
validateLicense(); | ||
} | ||
validateLicense(); | ||
if (!isUndefined(selector)) { | ||
@@ -79,0 +77,0 @@ _this.appendTo(); |
@@ -13,3 +13,3 @@ import { createElement } from './dom'; | ||
this.isValidated = false; | ||
this.version = '20.1'; | ||
this.version = '20.2'; | ||
this.platform = /JavaScript|ASPNET|ASPNETCORE|ASPNETMVC|FileFormats/i; | ||
@@ -47,2 +47,12 @@ this.errors = { | ||
})(); | ||
/** | ||
* To manage npx licensing operation. | ||
*/ | ||
this.npxManager = (function () { | ||
var npxLicKey = "npxKeyReplace"; | ||
function get() { return npxLicKey; } | ||
return { | ||
getKey: get | ||
}; | ||
})(); | ||
this.manager.setKey(key); | ||
@@ -56,3 +66,3 @@ } | ||
var validateMsg = void 0; | ||
if (this.manager && this.manager.getKey()) { | ||
if ((this.manager && this.manager.getKey()) || (this.npxManager && this.npxManager.getKey() != 'npxKeyReplace')) { | ||
var result = this.getInfoFromKey(); | ||
@@ -123,4 +133,3 @@ if (result && result.length) { | ||
try { | ||
var licKey = this.manager.getKey(); | ||
var licKeySplit = licKey.split(';'); | ||
var licKey = ''; | ||
var pkey = [5439488, 7929856, 5111808, 6488064, 4587520, 7667712, 5439488, | ||
@@ -132,2 +141,11 @@ 6881280, 5177344, 7208960, 4194304, 4456448, 6619136, 7733248, 5242880, 7077888, | ||
var invalidPlatform = false; | ||
var isNpxKey = false; | ||
if (this.manager.getKey()) { | ||
licKey = this.manager.getKey(); | ||
} | ||
else { | ||
isNpxKey = true; | ||
licKey = this.npxManager.getKey().split('npxKeyReplace')[1]; | ||
} | ||
var licKeySplit = licKey.split(';'); | ||
for (var _i = 0, licKeySplit_1 = licKeySplit; _i < licKeySplit_1.length; _i++) { | ||
@@ -141,9 +159,21 @@ var lKey = licKeySplit_1[_i]; | ||
var buffr = ''; | ||
for (var i = 0; i < decodeStr.length; i++, k++) { | ||
if (k === pkey.length) { | ||
k = 0; | ||
if (!isNpxKey) { | ||
for (var i = 0; i < decodeStr.length; i++, k++) { | ||
if (k === pkey.length) { | ||
k = 0; | ||
} | ||
var c = decodeStr.charCodeAt(i); | ||
buffr += String.fromCharCode(c ^ (pkey[k] >> 16)); | ||
} | ||
var c = decodeStr.charCodeAt(i); | ||
buffr += String.fromCharCode(c ^ (pkey[k] >> 16)); | ||
} | ||
else { | ||
var charKey = decodeStr[decodeStr.length - 1]; | ||
var decryptedKey = []; | ||
for (var i = 0; i < decodeStr.length; i++) { | ||
decryptedKey[i] = decodeStr[i].charCodeAt(0) - charKey.charCodeAt(0); | ||
} | ||
for (var i = 0; i < decryptedKey.length; i++) { | ||
buffr += String.fromCharCode(decryptedKey[i]); | ||
} | ||
} | ||
if (this.platform.test(buffr)) { | ||
@@ -150,0 +180,0 @@ decryptedStr = buffr.split(';'); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7907236
176
79640
6
+ Added@syncfusion/ej2-icons@20.2.45(transitive)
- Removed@syncfusion/ej2-icons@20.1.55(transitive)