Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-base

Package Overview
Dependencies
Maintainers
3
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-base - npm Package Compare versions

Comparing version 20.3.56 to 20.4.38

e2e/modified-protractor/protractor.config.js

17

.eslintrc.json

@@ -9,3 +9,4 @@ {

"plugin:@typescript-eslint/recommended",
"plugin:jsdoc/recommended"
"plugin:jsdoc/recommended",
"plugin:security/recommended"
],

@@ -22,2 +23,3 @@ "parser": "@typescript-eslint/parser",

"@typescript-eslint/tslint",
"eslint-plugin-security",
"jsdoc"

@@ -27,2 +29,15 @@ ],

"use-isnan": "error",
"security/detect-unsafe-regex":"error",
"security/detect-buffer-noassert":"error",
"security/detect-child-process":"error",
"security/detect-disable-mustache-escape":"error",
"security/detect-eval-with-expression":"error",
"security/detect-no-csrf-before-method-override":"error",
"security/detect-non-literal-fs-filename":"error",
"security/detect-non-literal-regexp":"error",
"security/detect-non-literal-require":"error",
"security/detect-object-injection":"error",
"security/detect-possible-timing-attacks":"error",
"security/detect-pseudoRandomBytes":"error",
"security/detect-new-buffer":"error",
"@typescript-eslint/no-inferrable-types": "off",

@@ -29,0 +44,0 @@ "@typescript-eslint/ban-types": ["warn", {

2

bin/syncfusion-license.js
#! /usr/bin/env node
'use strict';var _0x366e86=_0x4299;(function(_0x4eed0a,_0x1a1d8f){var _0x282309=_0x4299,_0x1c6f7a=_0x4eed0a();while(!![]){try{var _0x30dab2=-parseInt(_0x282309(0x1ba))/0x1+-parseInt(_0x282309(0x1cb))/0x2*(parseInt(_0x282309(0x1c5))/0x3)+parseInt(_0x282309(0x1cf))/0x4+parseInt(_0x282309(0x1c1))/0x5+-parseInt(_0x282309(0x1c2))/0x6*(parseInt(_0x282309(0x1bb))/0x7)+parseInt(_0x282309(0x1b8))/0x8+parseInt(_0x282309(0x1cc))/0x9;if(_0x30dab2===_0x1a1d8f)break;else _0x1c6f7a['push'](_0x1c6f7a['shift']());}catch(_0x56b898){_0x1c6f7a['push'](_0x1c6f7a['shift']());}}}(_0xb51d,0x58467));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x366e86(0x1b3)]['slice'](0x2),envKey=process[_0x366e86(0x1c8)][_0x366e86(0x1b5)];if(args==_0x366e86(0x1b1)){var licKey='';if(fs[_0x366e86(0x1b0)](_0x366e86(0x1ac)))licKey=fs[_0x366e86(0x1b4)](_0x366e86(0x1ac),_0x366e86(0x1b9));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x366e86(0x1d0)](';'),pkey=[0x530000,0x790000,0x4e0000,0x630000,0x460000,0x750000,0x530000,0x690000,0x4f0000,0x6e0000,0x400000,0x440000,0x650000,0x760000,0x500000,0x6c0000,0x610000,0x740000,0x460000,0x6f0000,0x720000,0x6d0000],decryptedStr=[],resultArray=[];for(var i=0x0;i<licKeySplit[_0x366e86(0x1bd)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr['length'];i++,k++){k===pkey[_0x366e86(0x1bd)]&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x366e86(0x1c3)](c^pkey[k]>>0x10);}decryptedStr=buffr['split'](';');if(decryptedStr[_0x366e86(0x1bd)]>0x3){resultArray[_0x366e86(0x1bf)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x366e86(0x1ca)]+';'+resultArray[0x0][_0x366e86(0x1cd)]+';'+resultArray[0x0][_0x366e86(0x1d5)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x366e86(0x1b2),_0x366e86(0x1b6),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js',_0x366e86(0x1c4)];for(var n=0x0;n<jsFiles[_0x366e86(0x1bd)];n++){if(fs['existsSync'](jsFiles[n])){var content=fs[_0x366e86(0x1b4)](jsFiles[n],_0x366e86(0x1b9)),regex=jsFiles[n]===_0x366e86(0x1c4)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x366e86(0x1ad)](regex,'npxKeyReplace'+encryptedKey),fs[_0x366e86(0x1be)](jsFiles[n],content);}}console['log'](_0x366e86(0x1ae));}else console[_0x366e86(0x1af)](_0x366e86(0x1b7));}}else console[_0x366e86(0x1af)]('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x366e86(0x1af)](_0x366e86(0x1ce));function _0xb51d(){var _0x5899de=['base64','from','env','exit','currentPlatform','88JSJXeY','7965009GKtdNL','version','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','1431180viyupD','split','random','ascii','floor','toString','expiryDate','./syncfusion-license.txt','replace','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','log','existsSync','activate','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','argv','readFileSync','SYNCFUSION_LICENSE','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','(Error)\x20License\x20key\x20is\x20not\x20valid.','2507288mAFJhr','UTF8','351178JSHEsn','6902KBAvQw','binary','length','writeFileSync','push','charCodeAt','90620mrXgDo','1662etAsRS','fromCharCode','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','40122skgkvY'];_0xb51d=function(){return _0x5899de;};return _0xb51d();}function _0x4299(_0x16fb88,_0x28a696){var _0xb51d03=_0xb51d();return _0x4299=function(_0x4299f5,_0x278b9d){_0x4299f5=_0x4299f5-0x1ac;var _0x39a61b=_0xb51d03[_0x4299f5];return _0x39a61b;},_0x4299(_0x16fb88,_0x28a696);}function getEncryptedKey(_0x58e0c8){var _0x44c54a=_0x366e86,_0x3c0774='',_0x3ba0c6=[],_0x264569=[],_0x3963dc=new Array();for(var _0xd34b7d=0x0;_0xd34b7d<_0x58e0c8[_0x44c54a(0x1bd)];_0xd34b7d++){_0x3ba0c6[_0xd34b7d]=_0x58e0c8[_0xd34b7d]['charCodeAt'](0x0);}for(var _0x2cdc35=0x0,_0x423a32=0x41;_0x2cdc35<0x1a;_0x2cdc35++,_0x423a32++){_0x264569[_0x2cdc35]=String['fromCharCode'](_0x423a32);}var _0x533e10=Math[_0x44c54a(0x1d3)](Math[_0x44c54a(0x1d1)]()*(_0x264569[_0x44c54a(0x1bd)]-0x1-0x0+0x1)+0x0),_0x1e5127=_0x264569[_0x533e10][_0x44c54a(0x1c0)](0x0);for(var _0xd34b7d=0x0;_0xd34b7d<_0x58e0c8[_0x44c54a(0x1bd)];_0xd34b7d++){_0x3963dc[_0xd34b7d]=parseInt(_0x3ba0c6[_0xd34b7d])+parseInt(_0x264569[_0x533e10]['charCodeAt'](0x0));}_0x3963dc[_0x3ba0c6[_0x44c54a(0x1bd)]]=_0x1e5127;for(var _0xd34b7d=0x0;_0xd34b7d<_0x3963dc[_0x44c54a(0x1bd)];_0xd34b7d++){_0x3c0774+=String[_0x44c54a(0x1c3)](_0x3963dc[_0xd34b7d]);}return Buffer[_0x44c54a(0x1c7)](_0x3c0774,_0x44c54a(0x1d2))[_0x44c54a(0x1d4)](_0x44c54a(0x1c6));}function getDecryptedData(_0x548c40){var _0x351c28=_0x366e86;try{return Buffer['from'](_0x548c40,_0x351c28(0x1c6))['toString'](_0x351c28(0x1bc));}catch(_0x3bfd49){return'';}};process[_0x366e86(0x1c9)](0x0);
'use strict';var _0x4fa54b=_0x4806;(function(_0x481fb9,_0x4e32d3){var _0x125b5e=_0x4806,_0x320c0a=_0x481fb9();while(!![]){try{var _0x16b268=-parseInt(_0x125b5e(0x160))/0x1+parseInt(_0x125b5e(0x15d))/0x2+parseInt(_0x125b5e(0x155))/0x3+parseInt(_0x125b5e(0x163))/0x4+-parseInt(_0x125b5e(0x15e))/0x5+parseInt(_0x125b5e(0x16c))/0x6*(parseInt(_0x125b5e(0x154))/0x7)+-parseInt(_0x125b5e(0x152))/0x8;if(_0x16b268===_0x4e32d3)break;else _0x320c0a['push'](_0x320c0a['shift']());}catch(_0x416db9){_0x320c0a['push'](_0x320c0a['shift']());}}}(_0x33e4,0x26ca6));var fs=global['fs']=global['fs']||require('fs');const args=process['argv']['slice'](0x2),envKey=process[_0x4fa54b(0x16d)]['SYNCFUSION_LICENSE'];if(args=='activate'){var licKey='';if(fs[_0x4fa54b(0x16a)]('./syncfusion-license.txt'))licKey=fs['readFileSync'](_0x4fa54b(0x170),_0x4fa54b(0x15f));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey['split'](';'),pkey=[0x530000,0x790000,0x4e0000,0x630000,0x460000,0x750000,0x530000,0x690000,0x4f0000,0x6e0000,0x400000,0x440000,0x650000,0x760000,0x500000,0x6c0000,0x610000,0x740000,0x460000,0x6f0000,0x720000,0x6d0000],decryptedStr=[],resultArray=[];for(var i=0x0;i<licKeySplit['length'];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr['length'];i++,k++){k===pkey[_0x4fa54b(0x159)]&&(k=0x0);var c=decodeStr[_0x4fa54b(0x16b)](i);buffr+=String[_0x4fa54b(0x167)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x4fa54b(0x174)](';');if(decryptedStr[_0x4fa54b(0x159)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x4fa54b(0x169)]+';'+resultArray[0x0][_0x4fa54b(0x161)]+';'+resultArray[0x0][_0x4fa54b(0x165)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x4fa54b(0x166),_0x4fa54b(0x164),_0x4fa54b(0x151),_0x4fa54b(0x153)];for(var n=0x0;n<jsFiles[_0x4fa54b(0x159)];n++){if(fs[_0x4fa54b(0x16a)](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],_0x4fa54b(0x15f)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x4fa54b(0x16e)](regex,'npxKeyReplace'+encryptedKey),fs[_0x4fa54b(0x158)](jsFiles[n],content);}}console[_0x4fa54b(0x156)](_0x4fa54b(0x168));}else console[_0x4fa54b(0x156)](_0x4fa54b(0x171));}}else console['log']('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x4fa54b(0x156)](_0x4fa54b(0x157));function getEncryptedKey(_0x31da38){var _0x20b4f4=_0x4fa54b,_0x523b06='',_0x28a839=[],_0x25ff58=[],_0x40e85a=new Array();for(var _0x2e0225=0x0;_0x2e0225<_0x31da38['length'];_0x2e0225++){_0x28a839[_0x2e0225]=_0x31da38[_0x2e0225]['charCodeAt'](0x0);}for(var _0x53f1ab=0x0,_0x10a30c=0x41;_0x53f1ab<0x1a;_0x53f1ab++,_0x10a30c++){_0x25ff58[_0x53f1ab]=String[_0x20b4f4(0x167)](_0x10a30c);}var _0x2b44ab=Math[_0x20b4f4(0x15a)](Math[_0x20b4f4(0x172)]()*(_0x25ff58['length']-0x1-0x0+0x1)+0x0),_0x2bec68=_0x25ff58[_0x2b44ab][_0x20b4f4(0x16b)](0x0);for(var _0x2e0225=0x0;_0x2e0225<_0x31da38[_0x20b4f4(0x159)];_0x2e0225++){_0x40e85a[_0x2e0225]=parseInt(_0x28a839[_0x2e0225])+parseInt(_0x25ff58[_0x2b44ab]['charCodeAt'](0x0));}_0x40e85a[_0x28a839[_0x20b4f4(0x159)]]=_0x2bec68;for(var _0x2e0225=0x0;_0x2e0225<_0x40e85a['length'];_0x2e0225++){_0x523b06+=String[_0x20b4f4(0x167)](_0x40e85a[_0x2e0225]);}return Buffer['from'](_0x523b06,'ascii')[_0x20b4f4(0x173)](_0x20b4f4(0x15c));}function _0x4806(_0x4924fa,_0x274728){var _0x33e4b6=_0x33e4();return _0x4806=function(_0x48066f,_0x3060dd){_0x48066f=_0x48066f-0x151;var _0x144515=_0x33e4b6[_0x48066f];return _0x144515;},_0x4806(_0x4924fa,_0x274728);}function getDecryptedData(_0xce2f45){var _0x3957cd=_0x4fa54b;try{return Buffer[_0x3957cd(0x162)](_0xce2f45,'base64')[_0x3957cd(0x173)](_0x3957cd(0x15b));}catch(_0x489f83){return'';}}function _0x33e4(){var _0x85753b=['toString','split','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','1246600trrBlN','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','11403ScUYpZ','749202eeIlot','log','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','writeFileSync','length','floor','binary','base64','198864kuNZZK','286210dePWll','UTF8','113444DcFUhk','version','from','440668sNYgQl','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','expiryDate','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','fromCharCode','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','currentPlatform','existsSync','charCodeAt','96dqVUkZ','env','replace','exit','./syncfusion-license.txt','(Error)\x20License\x20key\x20is\x20not\x20valid.','random'];_0x33e4=function(){return _0x85753b;};return _0x33e4();};process[_0x4fa54b(0x16f)](0x0);

@@ -5,4 +5,2 @@ # Changelog

## 20.3.50 (2022-10-18)
### Common

@@ -12,12 +10,4 @@

- `#SF395314` - The issue " incorrect position of the helper element while dragging the `treeview` element" has been resolved.
- `#I421652` - The issue with the "gulp is added to the dependency package in the ej2 package" has been resolved.
## 20.3.49 (2022-10-11)
### Common
#### Bug Fixes
- `#SF395268`, `#SF395314` - The issue "Drag area is not getting properly when setting a value for `margin-top`" has been resolved.
## 20.3.47 (2022-09-29)

@@ -29,10 +19,2 @@

- The issue with the "React template element is not getting in the Grid `queryCellInfo` event" has been resolved.
## 20.3.47 (2022-09-29)
### Common
#### Bug Fixes
- `#I383984` - The issue with the "Unwanted swipe event trigger in Firefox browser" has been resolved.

@@ -39,0 +21,0 @@

/*!
* filename: index.d.ts
* version : 20.3.56
* version : 20.4.38
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

@@ -12,2 +12,7 @@ var shell = require('shelljs');

var enableW3c = '{W3cdisabled}';
var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter');
var reporter = new HtmlScreenshotReporter({
dest: 'e2e_report/' + config.browsers[0],
filename: config.browsers[0] + '.html'
});
isDashBoardReport = isDashBoardReport === undefined ? true : isDashBoardReport;

@@ -27,4 +32,2 @@ if (isDashBoardReport) {

exports.config = {

@@ -73,3 +76,2 @@ allScriptsTimeout: 600000,

ccMailAddress: ccMail
};

@@ -79,10 +81,10 @@ var status = failurecount.length ? 'Failure' : 'Success';

var notRun = totalcount - (successCount + failurecount);
if (fs.existsSync('./testreport')) {
shell.cd('./testreport');
shell.exec('Syncfusion.UpdateTestResults.exe /Platform:"JavaScript - EJ2" /Control:"' + components +
'" /TestingTool:"Selenium" /StartTime:"' + new Date().toLocaleTimeString() + '" /EndTime:"' + new Date().toLocaleTimeString() +
'" /Status:"' + status + '" /TotalTestCase:' + totalcount +
' /SuccessCount:' + successCount + ' /FailureCount:' + failurecount + ' /NotRunCount:' + notRun + ' /UpdatedBy:"' + toMail[0] + '"');
shell.cd('../');
}
if (fs.existsSync('./testreport')) {
shell.cd('./testreport');
shell.exec('Syncfusion.UpdateTestResults.exe /Platform:"JavaScript - EJ2" /Control:"' + components +
'" /TestingTool:"Selenium" /StartTime:"' + new Date().toLocaleTimeString() + '" /EndTime:"' + new Date().toLocaleTimeString() +
'" /Status:"' + status + '" /TotalTestCase:' + totalcount +
' /SuccessCount:' + successCount + ' /FailureCount:' + failurecount + ' /NotRunCount:' + notRun + ' /UpdatedBy:"' + toMail[0] + '"');
shell.cd('../');
}
request({

@@ -103,2 +105,7 @@ url: 'https://ej2services.syncfusion.com/cicentral/api/getE2EReport',

},
beforeLaunch: function () {
return new Promise(function (resolve) {
reporter.beforeLaunch(resolve);
});
},

@@ -128,5 +135,5 @@ onPrepare: function () {

browser.get(browser.basePath + path);
browser.wait(function () {
return element(By.css('.e-control')).isDisplayed();
}, 3000);
browser.wait(function () {
return element(By.css('.e-control')).isDisplayed();
}, 3000);

@@ -254,4 +261,10 @@ if (browser.css) {

});
jasmine.getEnv().addReporter(reporter);
},
afterLaunch: function (exitCode) {
return new Promise(function (resolve) {
reporter.afterLaunch(resolve.bind(this, exitCode));
});
},
};

@@ -310,2 +323,2 @@

shell.mkdir('-p', path);
}
}
{
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@20.3.50",
"_id": "@syncfusion/ej2-base@18.73.0",
"_inBundle": false,
"_integrity": "sha512-bIuQE+PoeRiT8S5bdA/3+m9jbaXK/IB8ycAwIz+Zw1wRuZRXJZgCATSgLpZgCV2Cb+5Z8m7dGuQhKVV13HElIg==",
"_integrity": "sha512-aTk3o950xviCAw2lrndoB4wwjKVY6OmqqcFuXNfSpysIe4oyyqOIEEfmQpKO20RKgUKXtuNxbFM3J4XQBXr3wg==",
"_location": "/@syncfusion/ej2-base",

@@ -162,4 +162,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.3.50.tgz",
"_shasum": "8f1e29ca93f6a7cc082cf5fd0a9bd3336cb97d36",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.73.0.tgz",
"_shasum": "3dc248bc8d8c7fdfdeeeff4d9e933618f40b2d23",
"_spec": "@syncfusion/ej2-base@*",

@@ -178,3 +178,3 @@ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",

"dependencies": {
"@syncfusion/ej2-icons": "~20.3.56"
"@syncfusion/ej2-icons": "~20.4.38"
},

@@ -220,4 +220,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "20.3.56",
"version": "20.4.38",
"sideEffects": true
}

@@ -5,5 +5,5 @@ # ej2-base

> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of [Syncfusion's EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase [here](https://www.syncfusion.com/sales/products) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials).
>
> A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
> A free [community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

@@ -94,10 +94,9 @@ ## Setup

## License
Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license).
Check the license detail [here](https://github.com/syncfusion/ej2-base/blob/master/license).
## Changelog
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes?utm_source=npm&utm_campaign=ej2-base)
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes/index/?utm_source=npm&utm_campaign=ej2-base).
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
The Syncfusion Essential Studio license and copyright applies to this distribution.

@@ -199,2 +199,3 @@ import { Base, EmitType } from './base';

* Defines the Modes of Global animation.
*
* @private

@@ -205,3 +206,6 @@ */

* Method for set the Global animation modes for Syncfusion Blazor components.
*
* @param {string} value - Specifies the animation mode.
* @returns {void}
*/
export declare function setGlobalAnimation(value: string): void;

@@ -284,3 +284,5 @@ var __extends = (this && this.__extends) || (function () {

if (rippleModel.rippleFlag === false || (rippleModel.rippleFlag === undefined && !isRippleEnabled)) {
return (function () { });
return (function () {
// do nothing.
});
}

@@ -429,2 +431,3 @@ element.setAttribute('data-ripple', 'true');

* Defines the Modes of Global animation.
*
* @private

@@ -435,2 +438,5 @@ */

* Method for set the Global animation modes for Syncfusion Blazor components.
*
* @param {string} value - Specifies the animation mode.
* @returns {void}
*/

@@ -437,0 +443,0 @@ export function setGlobalAnimation(value) {

@@ -88,4 +88,4 @@ import { isUndefined, isNullOrUndefined, merge, setImmediate, setValue, isBlazor, getValue, extend } from './util';

var key = keys_1[_i];
if (parent[key] instanceof Array) {
for (var _a = 0, _b = parent[key]; _a < _b.length; _a++) {
if (parent["" + key] instanceof Array) {
for (var _a = 0, _b = parent["" + key]; _a < _b.length; _a++) {
var obj_1 = _b[_a];

@@ -98,3 +98,3 @@ if (obj_1.dataBind !== undefined) {

else {
parent[key].dataBind();
parent["" + key].dataBind();
}

@@ -134,4 +134,4 @@ }

var sfBlazor = 'sfBlazor';
if (this.allowServerDataBinding && window[sfBlazor].updateModel) {
window[sfBlazor].updateModel(this);
if (this.allowServerDataBinding && window["" + sfBlazor].updateModel) {
window["" + sfBlazor].updateModel(this);
this.bulkChanges = {};

@@ -145,3 +145,3 @@ }

var newChanges = {};
newChanges[key] = newValue;
newChanges["" + key] = newValue;
this.serverDataBind(newChanges);

@@ -152,4 +152,4 @@ }

}
this.oldProperties[key] = oldValue;
this.changedProperties[key] = newValue;
this.oldProperties["" + key] = oldValue;
this.changedProperties["" + key] = newValue;
this.finalUpdate();

@@ -200,3 +200,3 @@ this.finalUpdate = setImmediate(this.dataBind.bind(this));

var blazor = 'Blazor';
if (window[blazor]) {
if (window["" + blazor]) {
var promise = handler.call(this, eventProp);

@@ -292,3 +292,3 @@ if (promise && typeof promise.then === 'function') {

for (i = 0; i < ele.ej2_instances.length; i++) {
instance = ele.ej2_instances[i];
instance = ele.ej2_instances[parseInt(i.toString(), 10)];
if (typeof comp === 'string') {

@@ -321,5 +321,5 @@ var compName = instance.getModuleName();

for (var i = 0; i < childEle.length; i++) {
var compName = childEle[i].classList[1].split('e-')[1];
var compName = childEle[parseInt(i.toString(), 10)].classList[1].split('e-')[1];
// tslint:disable-next-line:no-any
var compInstance = getComponent(childEle[i], compName);
var compInstance = getComponent(childEle[parseInt(i.toString(), 10)], compName);
if (!isUndefined(compInstance)) {

@@ -326,0 +326,0 @@ compInstance.destroy();

@@ -38,3 +38,3 @@ import { isUndefined } from './util';

var key = keys_1[_i];
clientInfo = Browser.userAgent.match(REGX_BROWSER[key]);
clientInfo = Browser.userAgent.match(REGX_BROWSER["" + key]);
if (clientInfo) {

@@ -81,5 +81,5 @@ browserInfo.name = (clientInfo[1].toLowerCase() === 'opr' ? 'opera' : clientInfo[1].toLowerCase());

};
return (Browser.isPointer ? events[event].isPointer :
(Browser.isTouch ? events[event].isTouch + (!Browser.isDevice ? ' ' + events[event].isDevice : '')
: events[event].isDevice));
return (Browser.isPointer ? events["" + event].isPointer :
(Browser.isTouch ? events["" + event].isTouch + (!Browser.isDevice ? ' ' + events["" + event].isDevice : '')
: events["" + event].isDevice));
};

@@ -133,6 +133,6 @@ /**

}
if ('undefined' === typeof browserDetails[key]) {
return browserDetails[key] = regX.test(Browser.userAgent);
if ('undefined' === typeof browserDetails["" + key]) {
return browserDetails["" + key] = regX.test(Browser.userAgent);
}
return browserDetails[key];
return browserDetails["" + key];
};

@@ -139,0 +139,0 @@ Object.defineProperty(Browser, "userAgent", {

@@ -33,6 +33,6 @@ import { getValue, setValue, merge, isBlazor } from './util';

if (val === true) {
this.parentObj.childChangedProperties[propName] = val;
this.parentObj.childChangedProperties["" + propName] = val;
}
else {
delete this.parentObj.childChangedProperties[propName];
delete this.parentObj.childChangedProperties["" + propName];
}

@@ -125,4 +125,4 @@ if (this.parentObj.updateChange) {

}
this.oldProperties[key] = oldValue;
this.changedProperties[key] = newValue;
this.oldProperties["" + key] = oldValue;
this.changedProperties["" + key] = newValue;
this.updateChange(true, this.propName);

@@ -143,10 +143,10 @@ this.finalUpdate();

var isFinal = i === complexKeys.length - 1;
parent_1[complexKeys[i]] = isFinal ? value : {};
parent_1 = isFinal ? parent_1 : parent_1[complexKeys[i]];
parent_1[complexKeys[parseInt(i.toString(), 10)]] = isFinal ? value : {};
parent_1 = isFinal ? parent_1 : parent_1[complexKeys[parseInt(i.toString(), 10)]];
}
}
else {
newChanges[parentKey] = {};
parent_1 = newChanges[parentKey];
newChanges[parentKey][key] = value;
newChanges["" + parentKey] = {};
parent_1 = newChanges["" + parentKey];
newChanges["" + parentKey]["" + key] = value;
}

@@ -156,3 +156,3 @@ /* istanbul ignore next */

var actionProperty = 'ejsAction';
parent_1[actionProperty] = action ? action : 'none';
parent_1["" + actionProperty] = action ? action : 'none';
}

@@ -159,0 +159,0 @@ this.controlParent.serverDataBind(newChanges);

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

import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';import { ModuleLoader, ModuleDeclaration } from './module-loader';import { Base } from './base';import { Observer, BoundOptions } from './observer';import { ChildProperty } from './child-property';import { Property, NotifyPropertyChanges } from './notify-property-change';import { onIntlChange, rightToLeft, defaultCulture } from './internationalization';import { createElement, addClass, removeClass, ElementProperties, select } from './dom';import {validateLicense} from './validate-lic';
import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';import { ModuleLoader, ModuleDeclaration } from './module-loader';import { Base } from './base';import { Observer, BoundOptions } from './observer';import { ChildProperty } from './child-property';import { Property, NotifyPropertyChanges } from './notify-property-change';import { onIntlChange, rightToLeft, defaultCulture } from './internationalization';import { createElement, addClass, removeClass, ElementProperties, select } from './dom';import { validateLicense, createLicenseOverlay, componentList } from './validate-lic';

@@ -3,0 +3,0 @@ /**

@@ -28,6 +28,12 @@ var __extends = (this && this.__extends) || (function () {

import { createElement, addClass, removeClass, select } from './dom';
import { validateLicense } from './validate-lic';
import { validateLicense, createLicenseOverlay, componentList } from './validate-lic';
var componentCount = 0;
var lastPageID;
var lastHistoryLen = 0;
// Decalre the static variable to count the instance
var instancecount = 0;
// Decalre the static variable to find if control limit exceed or not
var isvalid = true;
// We have added styles to inline type so here declare the static variable to detect if banner is added or not
var isBannerAdded = false;
export var versionBasedStatePersistence = false;

@@ -75,3 +81,11 @@ /**

onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId);
validateLicense();
// Based on the considered control list we have count the instance
if (!validateLicense()) {
if (componentList.indexOf(_this.getModuleName()) !== -1) {
instancecount = instancecount + 1;
if (instancecount > 5) {
isvalid = false;
}
}
}
if (!isUndefined(selector)) {

@@ -187,2 +201,7 @@ _this.appendTo();

this.injectModules();
// Checked weather cases are valid or not. If control leads to more than five counts
if (!isvalid && !isBannerAdded) {
createLicenseOverlay();
isBannerAdded = true;
}
this.render();

@@ -297,4 +316,4 @@ if (!this.mount) {

for (var i = 0; i < moduleList.length; i++) {
if (this.prototype.injectedModules.indexOf(moduleList[i]) === -1) {
this.prototype.injectedModules.push(moduleList[i]);
if (this.prototype.injectedModules.indexOf(moduleList[parseInt(i.toString(), 10)]) === -1) {
this.prototype.injectedModules.push(moduleList[parseInt(i.toString(), 10)]);
}

@@ -366,3 +385,3 @@ }

};
//tslint:disable-next-line
// eslint-disable-next-line
Component.prototype.renderReactTemplates = function (callback) {

@@ -439,6 +458,6 @@ if (!isNullOrUndefined(callback)) {

});
newObj[key] = this_1.iterateJsonProperties(this_1.getActualProperties(value), newList);
newObj["" + key] = this_1.iterateJsonProperties(this_1.getActualProperties(value), newList);
}
else {
newObj[key] = value;
newObj["" + key] = value;
}

@@ -445,0 +464,0 @@ }

@@ -236,6 +236,6 @@ /**

}
ele.attributes[iKey] = attributes[key];
ele.attributes["" + iKey] = attributes["" + key];
}
else {
ele.setAttribute(key, attributes[key]);
ele.setAttribute(key, attributes["" + key]);
}

@@ -288,11 +288,11 @@ }

for (var i = 0; i < idList.length; i++) {
var list = idList[i].split(' ');
var list = idList[parseInt(i.toString(), 10)].split(' ');
for (var j = 0; j < list.length; j++) {
if (list[j].indexOf('#') > -1) {
if (!list[j].match(/\[.*\]/)) {
var splitId = list[j].split('#');
if (list[parseInt(j.toString(), 10)].indexOf('#') > -1) {
if (!list[parseInt(j.toString(), 10)].match(/\[.*\]/)) {
var splitId = list[parseInt(j.toString(), 10)].split('#');
if (splitId[1].match(/^\d/) || splitId[1].match(charRegex)) {
var setId = list[j].split('.');
var setId = list[parseInt(j.toString(), 10)].split('.');
setId[0] = setId[0].replace(/#/, '[id=\'') + '\']';
list[j] = setId.join('.');
list[parseInt(j.toString(), 10)] = setId.join('.');
}

@@ -302,3 +302,3 @@ }

}
idList[i] = list.join(' ');
idList[parseInt(i.toString(), 10)] = list.join(' ');
}

@@ -371,3 +371,3 @@ return idList.join(',');

else {
element.attributes[property] = value;
element.attributes["" + property] = value;
}

@@ -374,0 +374,0 @@ attrVal = value;

@@ -32,3 +32,4 @@ import { Base } from './base';import { Browser } from './browser';import { isVisible } from './dom';import { Property, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';import { EventHandler } from './event-handler';import { ChildProperty } from './child-property';import { select, closest, setStyleAttribute, addClass, createElement } from './dom';import { extend, isUndefined, isNullOrUndefined, compareElementParent, isBlazor } from './util';

/**
* If `clone` set to true, drag operations are performed in duplicate element of the draggable element.
* If `clone` set to true, drag operations are performed in duplicate element of the draggable element.
*
* @default true

@@ -50,2 +51,3 @@ */

* Defines wheather need to replace drag element by currentstateTarget.
*
* @private

@@ -57,2 +59,3 @@ */

* Defines wheather need to add prevent select class to body or not.
*
* @private

@@ -64,4 +67,4 @@ */

* Specifies the callback function for drag event.
* @event
*
* @event drag
*/

@@ -72,3 +75,4 @@ drag?: Function;

* Specifies the callback function for dragStart event.
* @event
*
* @event dragStart
*/

@@ -79,3 +83,4 @@ dragStart?: Function;

* Specifies the callback function for dragStop event.
* @event
*
* @event dragStop
*/

@@ -86,2 +91,3 @@ dragStop?: Function;

* Defines the minimum distance draggable element to be moved to trigger the drag operation.
*
* @default 1

@@ -107,3 +113,3 @@ */

/**
* Defines the scope value to group sets of draggable and droppable items.
* Defines the scope value to group sets of draggable and droppable items.
* A draggable with the same scope value will be accepted by the droppable.

@@ -115,2 +121,3 @@ */

* Specifies the dragTarget by which the clone element is positioned if not given current context element will be considered.
*
* @private

@@ -121,4 +128,4 @@ */

/**
* Defines the axis to limit the draggable element drag path.The possible axis path values are
* * `x` - Allows drag movement in horizontal direction only.
* Defines the axis to limit the draggable element drag path.The possible axis path values are
* * `x` - Allows drag movement in horizontal direction only.
* * `y` - Allows drag movement in vertical direction only.

@@ -130,2 +137,3 @@ */

* Defines the function to change the position value.
*
* @private

@@ -137,2 +145,3 @@ */

* Defines whether the drag clone element will be split form the cursor pointer.
*
* @private

@@ -144,2 +153,3 @@ */

* Defines whether to skip the previous drag movement comparison.
*
* @private

@@ -157,2 +167,3 @@ */

* enableAutoScroll
*
* @private

@@ -165,2 +176,3 @@ */

* enableAutoScroll
*
* @private

@@ -172,2 +184,3 @@ */

* Specifies the time delay for tap hold.
*
* @default 750

@@ -174,0 +187,0 @@ * @private

@@ -28,2 +28,3 @@ import { Base } from './base';

* Coordinates for element position
*
* @private

@@ -72,2 +73,3 @@ */

* Used to access values
*
* @private

@@ -81,2 +83,3 @@ */

* Used for accessing the interface.
*
* @private

@@ -94,2 +97,3 @@ */

* Droppable function to be invoked from draggable
*
* @private

@@ -138,2 +142,3 @@ */

* Used for accessing the BlazorEventArgs.
*
* @private

@@ -174,2 +179,3 @@ */

* If `clone` set to true, drag operations are performed in duplicate element of the draggable element.
*
* @default true

@@ -188,2 +194,3 @@ */

* Defines wheather need to replace drag element by currentstateTarget.
*
* @private

@@ -194,2 +201,3 @@ */

* Defines wheather need to add prevent select class to body or not.
*
* @private

@@ -200,4 +208,4 @@ */

* Specifies the callback function for drag event.
* @event
*
* @event drag
*/

@@ -207,3 +215,4 @@ drag: Function;

* Specifies the callback function for dragStart event.
* @event
*
* @event dragStart
*/

@@ -213,3 +222,4 @@ dragStart: Function;

* Specifies the callback function for dragStop event.
* @event
*
* @event dragStop
*/

@@ -219,2 +229,3 @@ dragStop: Function;

* Defines the minimum distance draggable element to be moved to trigger the drag operation.
*
* @default 1

@@ -242,2 +253,3 @@ */

* Specifies the dragTarget by which the clone element is positioned if not given current context element will be considered.
*
* @private

@@ -254,2 +266,3 @@ */

* Defines the function to change the position value.
*
* @private

@@ -260,2 +273,3 @@ */

* Defines whether the drag clone element will be split form the cursor pointer.
*
* @private

@@ -266,2 +280,3 @@ */

* Defines whether to skip the previous drag movement comparison.
*
* @private

@@ -277,2 +292,3 @@ */

* enableAutoScroll
*
* @private

@@ -284,2 +300,3 @@ */

* enableAutoScroll
*
* @private

@@ -290,2 +307,3 @@ */

* Specifies the time delay for tap hold.
*
* @default 750

@@ -296,4 +314,4 @@ * @private

/**
* @private
*/
* @private
*/
enableScrollHandler: boolean;

@@ -300,0 +318,0 @@ private target;

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

_this.dragProcessStarted = false;
/* tslint:disable no-any */
_this.eleTop = 0;
/* eslint-disable @typescript-eslint/no-explicit-any */
_this.tapHoldTimer = 0;

@@ -138,3 +138,3 @@ _this.externalInitialize = false;

}
if (element[scroll[axis]] > element[client[axis]]) {
if (element[scroll["" + axis]] > element[client["" + axis]]) {
if (axis === 'vertical' ? element.scrollTop > 0 : element.scrollLeft > 0) {

@@ -191,3 +191,3 @@ if (axis === 'vertical') {

for (var i = 0; i < abortSelectors.length; i++) {
if (!isNullOrUndefined(closest(evt.target, abortSelectors[i]))) {
if (!isNullOrUndefined(closest(evt.target, abortSelectors[parseInt(i.toString(), 10)]))) {
/* istanbul ignore next */

@@ -246,3 +246,3 @@ if (this.isDragStarted()) {

right: parseInt(styleProp.marginRight, 10),
bottom: parseInt(styleProp.marginBottom, 10),
bottom: parseInt(styleProp.marginBottom, 10)
};

@@ -319,2 +319,5 @@ var element = this.element;

});
if (this.dragArea && typeof this.dragArea !== 'string' && this.dragArea.classList.contains('e-kanban-content') && this.dragArea.style.position === 'relative') {
pos.top += this.dragArea.scrollTop;
}
this.dragElePosition = { top: pos.top, left: pos.left };

@@ -536,2 +539,5 @@ setStyleAttribute(dragTargetElement, this.getDragPosition({ position: 'absolute', left: posValue.left, top: posValue.top }));

}
if (this.dragArea && typeof this.dragArea !== 'string' && this.dragArea.classList.contains('e-kanban-content') && this.dragArea.style.position === 'relative') {
draEleTop += this.dragArea.scrollTop;
}
var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });

@@ -575,6 +581,6 @@ setStyleAttribute(helperElement, this.getDragPosition(dragValue));

for (var i = nodeEl.length - 1; i >= 0; i--) {
hasScroll = window.getComputedStyle(nodeEl[i])['overflow-y'];
hasScroll = window.getComputedStyle(nodeEl[parseInt(i.toString(), 10)])['overflow-y'];
if ((hasScroll === 'auto' || hasScroll === 'scroll')
&& nodeEl[i].scrollHeight > nodeEl[i].clientHeight) {
return nodeEl[i];
&& nodeEl[parseInt(i.toString(), 10)].scrollHeight > nodeEl[parseInt(i.toString(), 10)].clientHeight) {
return nodeEl[parseInt(i.toString(), 10)];
}

@@ -709,8 +715,8 @@ }

for (var i = 0; i < keys.length; i++) {
var key = keys[i];
var key = keys[parseInt(i.toString(), 10)];
var tborder = styles['border' + key + 'Width'];
var tpadding = styles['padding' + key];
var lowerKey = key.toLowerCase();
this.borderWidth[lowerKey] = isNaN(parseFloat(tborder)) ? 0 : parseFloat(tborder);
this.padding[lowerKey] = isNaN(parseFloat(tpadding)) ? 0 : parseFloat(tpadding);
this.borderWidth["" + lowerKey] = isNaN(parseFloat(tborder)) ? 0 : parseFloat(tborder);
this.padding["" + lowerKey] = isNaN(parseFloat(tpadding)) ? 0 : parseFloat(tpadding);
}

@@ -734,3 +740,4 @@ if (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) {

var prevStyle = this.helperElement.style.pointerEvents || '';
if (compareElementParent(evt.target, this.helperElement) || evt.type.indexOf('touch') !== -1) {
var isPointer = evt.type.indexOf('pointer') !== -1 && Browser.info.name === 'safari' && parseInt(Browser.info.version) > 12;
if (compareElementParent(evt.target, this.helperElement) || evt.type.indexOf('touch') !== -1 || isPointer) {
this.helperElement.style.pointerEvents = 'none';

@@ -774,2 +781,8 @@ ele = document.elementFromPoint(intCoord.clientX, intCoord.clientY);

}
if (document.scrollingElement) {
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;
pageY = isVerticalScroll ? pageY - document.scrollingElement.scrollTop : pageY;
}
return {

@@ -827,3 +840,3 @@ left: pageX - (this.margin.left + this.cursorAt.left),

var inst = eleInst_1[_i];
if (inst[name]() === 'droppable') {
if (inst["" + name]() === 'droppable') {
drop = inst;

@@ -830,0 +843,0 @@ break;

@@ -60,3 +60,3 @@ import { debounce, extend } from './util';

eventData.push({
name: event[i],
name: event[parseInt(i.toString(), 10)],
listener: listener,

@@ -66,6 +66,6 @@ debounce: debounceListener

if (Browser.isIE) {
element.addEventListener(event[i], debounceListener);
element.addEventListener(event[parseInt(i.toString(), 10)], debounceListener);
}
else {
element.addEventListener(event[i], debounceListener, { passive: false });
element.addEventListener(event[parseInt(i.toString(), 10)], debounceListener, { passive: false });
}

@@ -91,3 +91,3 @@ }

eventData.some(function (x, i) {
return x.name === event[j] && x.listener === listener ?
return x.name === event[parseInt(j.toString(), 10)] && x.listener === listener ?
(index = i, debounceListener = x.debounce, true) : false;

@@ -100,3 +100,3 @@ });

if (debounceListener) {
element.removeEventListener(event[j], debounceListener);
element.removeEventListener(event[parseInt(j.toString(), 10)], debounceListener);
}

@@ -122,3 +122,3 @@ };

for (var i = 0; i < copyData.length; i++) {
element.removeEventListener(copyData[i].name, copyData[i].debounce);
element.removeEventListener(copyData[parseInt(i.toString(), 10)].name, copyData[parseInt(i.toString(), 10)].debounce);
eventData.shift();

@@ -125,0 +125,0 @@ }

@@ -154,3 +154,3 @@ /***

for (; i < dateCorrection.length; i++) {
if (dateCorrection[i] > modifiedJulianDate) {
if (dateCorrection[parseInt(i.toString(), 10)] > modifiedJulianDate) {
break;

@@ -157,0 +157,0 @@ }

@@ -62,3 +62,3 @@ import { IntlBase as base } from './intl-base';

for (var i = 0; i < length_1; i++) {
var str = patternMatch[i];
var str = patternMatch[parseInt(i.toString(), 10)];
var len = str.length;

@@ -193,3 +193,3 @@ var char = (str[0] === 'K') ? 'h' : str[0];

if (canUpdate) {
parseOptions.evalposition[charKey] = { isNumber: isNumber, pos: i + 1 + gmtCorrection, hourOnly: hourOnly };
parseOptions.evalposition["" + charKey] = { isNumber: isNumber, pos: i + 1 + gmtCorrection, hourOnly: hourOnly };
}

@@ -318,3 +318,3 @@ if (i === length_1 - 1 && !isNullOrUndefined(regexString)) {

var prop = props_1[_i];
var curObject = parseOptions.evalposition[prop];
var curObject = parseOptions.evalposition["" + prop];
var matchString = matches[curObject.pos];

@@ -339,3 +339,3 @@ if (curObject.isNumber) {

if (!isNullOrUndefined(val)) {
retOptions[prop] = val;
retOptions["" + prop] = val;
}

@@ -342,0 +342,0 @@ }

@@ -942,3 +942,3 @@ import { defaultCurrencyCode } from '../internationalization';

for (var i = 0; i < 2; i++) {
var part = parts[i];
var part = parts[parseInt(i.toString(), 10)];
var loc = part.indexOf(actual);

@@ -1162,3 +1162,3 @@ if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) {

for (var x = integer.length - 1; x > 0; x = x - 3) {
pattern = ',' + integer[x - 2] + integer[x - 1] + integer[x] + pattern;
pattern = ',' + integer[x - 2] + integer[x - 1] + integer[parseInt(x.toString(), 10)] + pattern;
}

@@ -1184,5 +1184,5 @@ pattern = pattern.slice(1);

if (mapper) {
firstDay = mapper[iCulture] || mapper[iCulture.slice(0, 2)] || defaultFirstDay;
firstDay = mapper["" + iCulture] || mapper[iCulture.slice(0, 2)] || defaultFirstDay;
}
return firstDayMapper[firstDay];
return firstDayMapper["" + firstDay];
}

@@ -1189,0 +1189,0 @@ IntlBase.getWeekData = getWeekData;

@@ -9,3 +9,3 @@ import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util';

'mf': 'minimumFractionDigits',
'lf': 'maximumFractionDigits',
'lf': 'maximumFractionDigits'
};

@@ -48,5 +48,5 @@ var integerError = 'minimumIntegerDigits';

dOptions.percentSymbol = isBlazor() ? getValue('numberSymbols.percentSign', numObject) :
dOptions.numberMapper.numberSymbols[percentSign];
dOptions.numberMapper.numberSymbols["" + percentSign];
dOptions.minusSymbol = isBlazor() ? getValue('numberSymbols.minusSign', numObject) :
dOptions.numberMapper.numberSymbols[minusSign];
dOptions.numberMapper.numberSymbols["" + minusSign];
var symbols = dOptions.numberMapper.numberSymbols;

@@ -53,0 +53,0 @@ if ((option.format) && !(base.formatRegex.test(option.format))) {

@@ -108,6 +108,6 @@ /**

if (i !== len - 1) {
ret += val[i] + '|';
ret += val[parseInt(i.toString(), 10)] + '|';
}
else {
ret += val[i];
ret += val[parseInt(i.toString(), 10)];
}

@@ -114,0 +114,0 @@ }

@@ -107,3 +107,3 @@ var __extends = (this && this.__extends) || (function () {

var key = keys_1[_i];
var configCollection = _this.keyConfigs[key].split(',');
var configCollection = _this.keyConfigs["" + key].split(',');
for (var _a = 0, configCollection_1 = configCollection; _a < configCollection_1.length; _a++) {

@@ -185,3 +185,3 @@ var rconfig = configCollection_1[_a];

if (config in this.configCache) {
return this.configCache[config];
return this.configCache["" + config];
}

@@ -201,3 +201,3 @@ var keys = config.toLowerCase().split('+');

}
KeyboardEvents_1.configCache[config] = keyData;
KeyboardEvents_1.configCache["" + config] = keyData;
return keyData;

@@ -207,3 +207,3 @@ };

KeyboardEvents.getKeyCode = function (keyVal) {
return keyCode[keyVal] || keyVal.toUpperCase().charCodeAt(0);
return keyCode["" + keyVal] || keyVal.toUpperCase().charCodeAt(0);
};

@@ -210,0 +210,0 @@ var KeyboardEvents_1;

@@ -66,7 +66,7 @@ import { extend, isNullOrUndefined } from './util';

// Removed conditional operator because this method does not return correct value when passing 0 as value in localization
if (!isNullOrUndefined(this.currentLocale[prop])) {
return this.currentLocale[prop];
if (!isNullOrUndefined(this.currentLocale["" + prop])) {
return this.currentLocale["" + prop];
}
else {
return this.localeStrings[prop] || '';
return this.localeStrings["" + prop] || '';
}

@@ -82,4 +82,4 @@ };

L10n.prototype.intGetControlConstant = function (curObject, locale) {
if ((curObject)[locale]) {
return (curObject)[locale][this.controlName];
if ((curObject)["" + locale]) {
return (curObject)["" + locale][this.controlName];
}

@@ -86,0 +86,0 @@ return null;

@@ -28,7 +28,7 @@ /**

for (var i = 0; i < reqLength; i++) {
var modl = requiredModules[i];
var modl = requiredModules[parseInt(i.toString(), 10)];
for (var _i = 0, moduleList_1 = moduleList; _i < moduleList_1.length; _i++) {
var module = moduleList_1[_i];
var modName = modl.member;
if (module.prototype.getModuleName() === modl.member && !this.isModuleLoaded(modName)) {
if (module && module.prototype.getModuleName() === modl.member && !this.isModuleLoaded(modName)) {
var moduleObject = createInstance(module, modl.args);

@@ -35,0 +35,0 @@ var memberName = this.getMemberName(modName);

@@ -15,5 +15,5 @@ import { createInstance, isUndefined, merge, extend, getValue } from './util';

if (!instance.properties.hasOwnProperty(curKey) || !(instance.properties[curKey] instanceof type)) {
instance.properties[curKey] = createInstance(type, [instance, curKey, defaultValue]);
instance.properties["" + curKey] = createInstance(type, [instance, curKey, defaultValue]);
}
return instance.properties[curKey];
return instance.properties["" + curKey];
}

@@ -38,11 +38,11 @@ /**

if (isFactory) {
curType = type(defaultValue[i], instance);
curType = type(defaultValue[parseInt(i.toString(), 10)], instance);
}
if (isSetter) {
var inst = createInstance(curType, [instance, curKey, {}, true]);
inst.setProperties(defaultValue[i], true);
inst.setProperties(defaultValue[parseInt(i.toString(), 10)], true);
result.push(inst);
}
else {
result.push(createInstance(curType, [instance, curKey, defaultValue[i], false]));
result.push(createInstance(curType, [instance, curKey, defaultValue[parseInt(i.toString(), 10)], false]));
}

@@ -63,5 +63,5 @@ }

if (!this.properties.hasOwnProperty(curKey)) {
this.properties[curKey] = defaultValue;
this.properties["" + curKey] = defaultValue;
}
return this.properties[curKey];
return this.properties["" + curKey];
};

@@ -78,7 +78,7 @@ }

return function (newValue) {
if (this.properties[curKey] !== newValue) {
if (this.properties["" + curKey] !== newValue) {
// eslint-disable-next-line
var oldVal = this.properties.hasOwnProperty(curKey) ? this.properties[curKey] : defaultValue;
this.saveChanges(curKey, newValue, oldVal);
this.properties[curKey] = newValue;
this.properties["" + curKey] = newValue;
}

@@ -127,3 +127,3 @@ };

if (this.properties.hasOwnProperty(curKey)) {
return this.properties[curKey];
return this.properties["" + curKey];
}

@@ -161,3 +161,3 @@ else {

var defCollection = getObjectArray(this, curKey, defaultValue, type, false);
this.properties[curKey] = defCollection;
this.properties["" + curKey] = defCollection;
}

@@ -170,6 +170,6 @@ var ignore = ((this.controlParent !== undefined && this.controlParent.ignoreCollectionWatch)

var descriptor = {
value: complexArrayDefinedCallback(extendFunc, curKey, type, _this.properties[curKey]).bind(_this),
value: complexArrayDefinedCallback(extendFunc, curKey, type, _this.properties["" + curKey]).bind(_this),
configurable: true
};
Object.defineProperty(_this.properties[curKey], extendFunc, descriptor);
Object.defineProperty(_this.properties["" + curKey], extendFunc, descriptor);
});

@@ -179,5 +179,5 @@ }

if (!this.properties[curKey].hasOwnProperty('isComplexArray')) {
Object.defineProperty(this.properties[curKey], 'isComplexArray', { value: true });
Object.defineProperty(this.properties["" + curKey], 'isComplexArray', { value: true });
}
return this.properties[curKey];
return this.properties["" + curKey];
};

@@ -199,3 +199,3 @@ }

this.saveChanges(curKey, newValCollection, oldValueCollection);
this.properties[curKey] = newValCollection;
this.properties["" + curKey] = newValCollection;
};

@@ -216,3 +216,3 @@ }

this.saveChanges(curKey, newValCollection, oldValueCollection);
this.properties[curKey] = newValCollection;
this.properties["" + curKey] = newValCollection;
};

@@ -233,5 +233,5 @@ }

var defCollection = getObjectArray(this, curKey, defaultValue, curType, false);
this.properties[curKey] = defCollection;
this.properties["" + curKey] = defCollection;
}
return this.properties[curKey];
return this.properties["" + curKey];
};

@@ -258,9 +258,9 @@ }

for (var i = 0; i < newValue.length; i++) {
Array.prototype[dFunc].apply(prop, [newValue[i]]);
var model_1 = getArrayModel(keyString + (prop.length - 1), newValue[i], !this.controlParent, dFunc);
this.serverDataBind(model_1, newValue[i], false, dFunc);
Array.prototype["" + dFunc].apply(prop, [newValue[parseInt(i.toString(), 10)]]);
var model_1 = getArrayModel(keyString + (prop.length - 1), newValue[parseInt(i.toString(), 10)], !this.controlParent, dFunc);
this.serverDataBind(model_1, newValue[parseInt(i.toString(), 10)], false, dFunc);
}
break;
case 'pop':
Array.prototype[dFunc].apply(prop);
Array.prototype["" + dFunc].apply(prop);
// eslint-disable-next-line

@@ -286,6 +286,6 @@ var model = getArrayModel(keyString + prop.length, null, !this.controlParent, dFunc);

modelObject = {};
modelObject[keyString] = value;
modelObject["" + keyString] = value;
if (value && typeof value === 'object') {
var action = 'ejsAction';
modelObject[keyString][action] = arrayFunction;
modelObject["" + keyString]["" + action] = arrayFunction;
}

@@ -431,3 +431,3 @@ }

set: function (newValue) {
var oldValue = this.properties[key];
var oldValue = this.properties["" + key];
if (oldValue !== newValue) {

@@ -439,3 +439,3 @@ var finalContext = getParentContext(this, key);

finalContext.context.addEventListener(finalContext.prefix, newValue);
this.properties[key] = newValue;
this.properties["" + key] = newValue;
}

@@ -556,3 +556,3 @@ },

};
for (var _b = 0, _c = component.prototype.propList[key]; _b < _c.length; _b++) {
for (var _b = 0, _c = component.prototype.propList["" + key]; _b < _c.length; _b++) {
var prop = _c[_b];

@@ -559,0 +559,0 @@ _loop_1(prop);

@@ -26,3 +26,3 @@ import { isNullOrUndefined, getValue, extend, isBlazor } from './util';

if (this.notExist(property)) {
this.boundedEvents[property] = [{ handler: handler, context: cntxt }];
this.boundedEvents["" + property] = [{ handler: handler, context: cntxt }];
return;

@@ -33,7 +33,7 @@ }

this.ranArray.push(id);
this.boundedEvents[property].push({ handler: handler, context: cntxt, id: id });
this.boundedEvents["" + property].push({ handler: handler, context: cntxt, id: id });
}
}
else if (!this.isHandlerPresent(this.boundedEvents[property], handler)) {
this.boundedEvents[property].push({ handler: handler, context: cntxt });
else if (!this.isHandlerPresent(this.boundedEvents["" + property], handler)) {
this.boundedEvents["" + property].push({ handler: handler, context: cntxt });
}

@@ -57,3 +57,3 @@ };

if (id) {
if (curObject[i].id === id) {
if (curObject[parseInt(i.toString(), 10)].id === id) {
curObject.splice(i, 1);

@@ -67,3 +67,3 @@ var indexLocation = this.ranArray.indexOf(id);

}
else if (handler === curObject[i].handler) {
else if (handler === curObject[parseInt(i.toString(), 10)].handler) {
curObject.splice(i, 1);

@@ -75,3 +75,3 @@ break;

else {
delete this.boundedEvents[property];
delete this.boundedEvents["" + property];
}

@@ -100,3 +100,3 @@ };

var curObject = getValue(property, this.boundedEvents).slice(0);
if (window[blazor]) {
if (window["" + blazor]) {
return this.blazorCallback(curObject, argument, successHandler, errorHandler, 0);

@@ -118,3 +118,3 @@ }

if (index < objs.length) {
var obj_1 = objs[index];
var obj_1 = objs[parseInt(index.toString(), 10)];
var promise = obj_1.handler.call(obj_1.context, argument);

@@ -121,0 +121,0 @@ if (promise && typeof promise.then === 'function') {

@@ -145,5 +145,5 @@ /**

for (var j = 0; j < nodes.length; j++) {
var attribute = nodes[j].attributes;
var attribute = nodes[parseInt(j.toString(), 10)].attributes;
for (var i = 0; i < attribute.length; i++) {
this.wrapElement.children[j].removeAttribute(attribute[i].localName);
this.wrapElement.children[parseInt(j.toString(), 10)].removeAttribute(attribute[parseInt(i.toString(), 10)].localName);
}

@@ -150,0 +150,0 @@ }

@@ -36,14 +36,14 @@ /**

var blazorId = templateId + randomId;
if (!blazorTemplates[templateId]) {
blazorTemplates[templateId] = [];
if (!blazorTemplates["" + templateId]) {
blazorTemplates["" + templateId] = [];
}
if (!isNullOrUndefined(index)) {
var keys = Object.keys(blazorTemplates[templateId][index]);
var keys = Object.keys(blazorTemplates["" + templateId][parseInt(index.toString(), 10)]);
for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {
var key = keys_1[_i];
if (key !== blazorTemplateId && data[key]) {
blazorTemplates[templateId][index][key] = data[key];
if (key !== blazorTemplateId && data["" + key]) {
blazorTemplates["" + templateId][parseInt(index.toString(), 10)]["" + key] = data["" + key];
}
if (key === blazorTemplateId) {
blazorId = blazorTemplates[templateId][index][key];
blazorId = blazorTemplates["" + templateId][parseInt(index.toString(), 10)]["" + key];
}

@@ -53,4 +53,4 @@ }

else {
data[blazorTemplateId] = blazorId;
blazorTemplates[templateId].push(data);
data["" + blazorTemplateId] = blazorId;
blazorTemplates["" + templateId].push(data);
}

@@ -89,5 +89,5 @@ // eslint-disable-next-line

var ejsIntrop = 'sfBlazor';
window[ejsIntrop].updateTemplate(templateName, blazorTemplates[templateId], templateId, comp, callBack);
window["" + ejsIntrop].updateTemplate(templateName, blazorTemplates["" + templateId], templateId, comp, callBack);
if (isEmpty !== false) {
blazorTemplates[templateId] = [];
blazorTemplates["" + templateId] = [];
}

@@ -111,6 +111,6 @@ }

if (!isNullOrUndefined(index)) {
tempId = innerTemplates[index].getAttribute('data-templateId');
tempId = innerTemplates[parseInt(index.toString(), 10)].getAttribute('data-templateId');
}
else {
tempId = innerTemplates[i].getAttribute('data-templateId');
tempId = innerTemplates[parseInt(i.toString(), 10)].getAttribute('data-templateId');
}

@@ -122,7 +122,7 @@ var tempElement = document.getElementById(tempId);

if (!isNullOrUndefined(index)) {
innerTemplates[index].appendChild(tempElement.childNodes[0]);
innerTemplates[parseInt(index.toString(), 10)].appendChild(tempElement.childNodes[0]);
i = innerTemplates.length;
}
else {
innerTemplates[i].appendChild(tempElement.childNodes[0]);
innerTemplates[parseInt(i.toString(), 10)].appendChild(tempElement.childNodes[0]);
}

@@ -129,0 +129,0 @@ }

@@ -64,4 +64,5 @@ /**

var evalExpResult = evalExp(template, argName, helper, ignorePrefix);
// eslint-disable-next-line
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n ";
var fnCode = "var str=\"" + evalExpResult + "\";" + condtion + " return str;";
var fnCode = 'var str=\"' + evalExpResult + '\";' + condtion + ' return str;';
var fn = new Function(argName, fnCode);

@@ -68,0 +69,0 @@ return fn.bind(helper);

@@ -69,3 +69,3 @@ var instances = 'ej2_instances';

for (var i = 0; i < splits.length && !isUndefined(value); i++) {
value = value[splits[i]];
value = value[splits[parseInt(i.toString(), 10)]];
}

@@ -94,10 +94,10 @@ return value;

for (i = 0; i < length; i++) {
key = keys[i];
key = keys[parseInt(i.toString(), 10)];
if (i + 1 === length) {
fromObj[key] = value === undefined ? {} : value;
fromObj["" + key] = value === undefined ? {} : value;
}
else if (isNullOrUndefined(fromObj[key])) {
fromObj[key] = {};
else if (isNullOrUndefined(fromObj["" + key])) {
fromObj["" + key] = {};
}
fromObj = fromObj[key];
fromObj = fromObj["" + key];
}

@@ -116,3 +116,3 @@ return start;

export function deleteObject(obj, key) {
delete obj[key];
delete obj["" + key];
}

@@ -122,3 +122,4 @@ /**

*/
export var containerObject = typeof window !== "undefined" ? window : {};
// eslint-disable-next-line
export var containerObject = typeof window !== 'undefined' ? window : {};
/**

@@ -165,8 +166,8 @@ * Check weather the given argument is only object.

var key = keys_1[_i];
if (!isNullOrUndefined(temrObj[deepmerge]) && (temrObj[deepmerge].indexOf(key) !== -1) &&
(isObject(tempProp[key]) || Array.isArray(tempProp[key]))) {
extend(temrObj[key], temrObj[key], tempProp[key], true);
if (!isNullOrUndefined(temrObj["" + deepmerge]) && (temrObj["" + deepmerge].indexOf(key) !== -1) &&
(isObject(tempProp["" + key]) || Array.isArray(tempProp["" + key]))) {
extend(temrObj["" + key], temrObj["" + key], tempProp["" + key], true);
}
else {
temrObj[key] = tempProp[key];
temrObj["" + key] = tempProp["" + key];
}

@@ -200,4 +201,4 @@ }

Object.keys(obj1).forEach(function (key) {
var src = result[key];
var copy = obj1[key];
var src = result["" + key];
var copy = obj1["" + key];
var clone;

@@ -215,3 +216,3 @@ var isArrayChanged = Array.isArray(copy) && Array.isArray(src) && (copy.length !== src.length);

else {
result[key] = extend(clone, {}, copy, deep);
result["" + key] = extend(clone, {}, copy, deep);
}

@@ -222,7 +223,8 @@ }

clone = isBlazor() ? src && Object.keys(copy).length : src ? src : [];
result[key] = extend([], clone, copy, (clone && clone.length) || (copy && copy.length));
// eslint-disable-next-line
result["" + key] = extend([], clone, copy, (clone && clone.length) || (copy && copy.length));
}
}
else {
result[key] = copy;
result["" + key] = copy;
}

@@ -303,3 +305,3 @@ });

var key = keys_2[_i];
array.push(encodeURIComponent(key) + '=' + encodeURIComponent('' + data[key]));
array.push(encodeURIComponent(key) + '=' + encodeURIComponent('' + data["" + key]));
}

@@ -374,3 +376,3 @@ return array.join('&');

for (var l = 0, len = blinks.length; l < len; l++) {
links.push(blinks[l]);
links.push(blinks[parseInt(l.toString(), 10)]);
}

@@ -384,3 +386,3 @@ }

for (var i = 0, len = links.length; i < len; i++) {
reference += links[i].outerHTML;
reference += links[parseInt(i.toString(), 10)].outerHTML;
}

@@ -442,4 +444,4 @@ printWindow.document.write('<!DOCTYPE html> <html><head>' + reference + '</head><body>' + div.innerHTML +

var xPath = 'xPath';
if (!(element instanceof Node) && isBlazor() && !isNullOrUndefined(element[xPath])) {
return document.evaluate(element[xPath], document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (!(element instanceof Node) && isBlazor() && !isNullOrUndefined(element["" + xPath])) {
return document.evaluate(element["" + xPath], document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}

@@ -460,4 +462,4 @@ return element;

var elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
if (elem[instances]) {
for (var _i = 0, _a = elem[instances]; _i < _a.length; _i++) {
if (elem["" + instances]) {
for (var _i = 0, _a = elem["" + instances]; _i < _a.length; _i++) {
var inst = _a[_i];

@@ -482,7 +484,7 @@ if (inst instanceof component) {

var elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
if (elem[instances]) {
elem[instances].push(instance);
if (elem["" + instances]) {
elem["" + instances].push(instance);
}
else {
elem[instances] = [instance];
elem["" + instances] = [instance];
}

@@ -514,5 +516,5 @@ }

for (var i = 0; i < 5; i++) {
ret += (i ? ',' : '') + num[i];
ret += (i ? ',' : '') + num[parseInt(i.toString(), 10)];
}
return ret;
}

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

export declare let componentList: string[];
/**

@@ -5,2 +6,3 @@ * To set license key.

* @param {string} key - license key
* @returns {void}
*/

@@ -10,1 +12,2 @@ export declare function registerLicense(key: string): void;

export declare const getVersion: Function;
export declare const createLicenseOverlay: Function;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is 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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc