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 25.2.7 to 26.1.35

styles/_bootstrap5.3-dark-definition.scss

5

.eslintrc.json

@@ -18,3 +18,4 @@ {

"sourceType": "module"
},
},
"ignorePatterns": ["*.d.ts", "*.js"],
"plugins": [

@@ -188,3 +189,3 @@ "@typescript-eslint",

],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "warn",
"no-cond-assign": [

@@ -191,0 +192,0 @@ "error",

2

bin/syncfusion-license.js
#! /usr/bin/env node
'use strict';var _0x4cc2e4=_0x9b0b;(function(_0x1e5bac,_0x29c235){var _0x2ed4d0=_0x9b0b,_0x2fa7be=_0x1e5bac();while(!![]){try{var _0x3b8bc0=-parseInt(_0x2ed4d0(0x187))/0x1+parseInt(_0x2ed4d0(0x17f))/0x2*(parseInt(_0x2ed4d0(0x183))/0x3)+parseInt(_0x2ed4d0(0x182))/0x4+parseInt(_0x2ed4d0(0x195))/0x5+-parseInt(_0x2ed4d0(0x171))/0x6*(-parseInt(_0x2ed4d0(0x177))/0x7)+parseInt(_0x2ed4d0(0x189))/0x8+-parseInt(_0x2ed4d0(0x192))/0x9;if(_0x3b8bc0===_0x29c235)break;else _0x2fa7be['push'](_0x2fa7be['shift']());}catch(_0xf60d89){_0x2fa7be['push'](_0x2fa7be['shift']());}}}(_0x443f,0x20389));function _0x443f(){var _0x27300b=['./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','exit','activate','1315909OPrFRc','floor','fromCharCode','existsSync','npxKeyReplace','UTF8','from','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','1570gVbuoY','log','env','225868kjbmeR','210jIMNmI','toString','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','replace','70946JPlbAq','readFileSync','1889048JcieOn','./syncfusion-license.txt','expiryDate','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','argv','SYNCFUSION_LICENSE','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','charCodeAt','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','3780477qiQzbW','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','base64','437205flMbmd','slice','currentPlatform','length','6WKRWri','split','writeFileSync'];_0x443f=function(){return _0x27300b;};return _0x443f();}function _0x9b0b(_0x15ec27,_0x9f3364){var _0x443fb3=_0x443f();return _0x9b0b=function(_0x9b0bef,_0x3e01b2){_0x9b0bef=_0x9b0bef-0x170;var _0x472ffd=_0x443fb3[_0x9b0bef];return _0x472ffd;},_0x9b0b(_0x15ec27,_0x9f3364);}var fs=global['fs']=global['fs']||require('fs');const args=process[_0x4cc2e4(0x18d)][_0x4cc2e4(0x196)](0x2),isActivate=args[0x0]==_0x4cc2e4(0x176),customPath=args[0x1],envKey=process[_0x4cc2e4(0x181)][_0x4cc2e4(0x18e)];if(isActivate){var licKey='';if(fs[_0x4cc2e4(0x17a)]('./syncfusion-license.txt'))licKey=fs[_0x4cc2e4(0x188)](_0x4cc2e4(0x18a),_0x4cc2e4(0x17c));else{if(envKey)licKey=envKey;else customPath&&fs['existsSync'](customPath)&&(licKey=fs[_0x4cc2e4(0x188)](customPath,_0x4cc2e4(0x17c)));}if(licKey!=''){var licKeySplit=licKey[_0x4cc2e4(0x172)](';'),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[_0x4cc2e4(0x170)];i++,k++){k===pkey[_0x4cc2e4(0x170)]&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x4cc2e4(0x179)](c^pkey[k]>>0x10);}decryptedStr=buffr['split'](';');if(decryptedStr[_0x4cc2e4(0x170)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x4cc2e4(0x197)]+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x4cc2e4(0x18b)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x4cc2e4(0x193),_0x4cc2e4(0x18f),_0x4cc2e4(0x185),_0x4cc2e4(0x174)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x4cc2e4(0x17a)](jsFiles[n])){var content=fs[_0x4cc2e4(0x188)](jsFiles[n],'UTF8'),regex=jsFiles[n]===_0x4cc2e4(0x174)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x4cc2e4(0x186)](regex,_0x4cc2e4(0x17b)+encryptedKey),fs[_0x4cc2e4(0x173)](jsFiles[n],content);}}console['log'](_0x4cc2e4(0x17e));}else console['log']('(Error)\x20License\x20key\x20is\x20not\x20valid.');}}else console[_0x4cc2e4(0x180)](_0x4cc2e4(0x18c));}else console[_0x4cc2e4(0x180)](_0x4cc2e4(0x191));function getEncryptedKey(_0x4b7909){var _0x5016c3=_0x4cc2e4,_0x2199f2='',_0x20ce36=[],_0x165114=[],_0x1165f9=new Array();for(var _0x5ec4c6=0x0;_0x5ec4c6<_0x4b7909[_0x5016c3(0x170)];_0x5ec4c6++){_0x20ce36[_0x5ec4c6]=_0x4b7909[_0x5ec4c6][_0x5016c3(0x190)](0x0);}for(var _0x2a6694=0x0,_0x47cd84=0x41;_0x2a6694<0x1a;_0x2a6694++,_0x47cd84++){_0x165114[_0x2a6694]=String['fromCharCode'](_0x47cd84);}var _0x18c9c8=Math[_0x5016c3(0x178)](Math['random']()*(_0x165114[_0x5016c3(0x170)]-0x1-0x0+0x1)+0x0),_0x2f83d8=_0x165114[_0x18c9c8][_0x5016c3(0x190)](0x0);for(var _0x5ec4c6=0x0;_0x5ec4c6<_0x4b7909[_0x5016c3(0x170)];_0x5ec4c6++){_0x1165f9[_0x5ec4c6]=parseInt(_0x20ce36[_0x5ec4c6])+parseInt(_0x165114[_0x18c9c8][_0x5016c3(0x190)](0x0));}_0x1165f9[_0x20ce36[_0x5016c3(0x170)]]=_0x2f83d8;for(var _0x5ec4c6=0x0;_0x5ec4c6<_0x1165f9['length'];_0x5ec4c6++){_0x2199f2+=String['fromCharCode'](_0x1165f9[_0x5ec4c6]);}return Buffer['from'](_0x2199f2,'ascii')[_0x5016c3(0x184)](_0x5016c3(0x194));}function getDecryptedData(_0x469bae){var _0xc52612=_0x4cc2e4;try{return Buffer[_0xc52612(0x17d)](_0x469bae,'base64')[_0xc52612(0x184)]('binary');}catch(_0x1f43ad){return'';}};process[_0x4cc2e4(0x175)](0x0);
'use strict';var _0x5781ab=_0x11f8;(function(_0x49965c,_0x18862b){var _0x2647ca=_0x11f8,_0x208879=_0x49965c();while(!![]){try{var _0x396b09=parseInt(_0x2647ca(0xa8))/0x1*(-parseInt(_0x2647ca(0x9e))/0x2)+-parseInt(_0x2647ca(0xab))/0x3*(-parseInt(_0x2647ca(0xa2))/0x4)+-parseInt(_0x2647ca(0x9a))/0x5+-parseInt(_0x2647ca(0xa7))/0x6*(-parseInt(_0x2647ca(0x98))/0x7)+-parseInt(_0x2647ca(0xad))/0x8*(-parseInt(_0x2647ca(0xb4))/0x9)+-parseInt(_0x2647ca(0xa4))/0xa*(parseInt(_0x2647ca(0xbd))/0xb)+parseInt(_0x2647ca(0xa5))/0xc*(parseInt(_0x2647ca(0x94))/0xd);if(_0x396b09===_0x18862b)break;else _0x208879['push'](_0x208879['shift']());}catch(_0x13846a){_0x208879['push'](_0x208879['shift']());}}}(_0x51cd,0x621e8));function _0x11f8(_0x22930,_0x5c4e87){var _0x51cdc0=_0x51cd();return _0x11f8=function(_0x11f87d,_0x8d18d){_0x11f87d=_0x11f87d-0x94;var _0x1c373c=_0x51cdc0[_0x11f87d];return _0x1c373c;},_0x11f8(_0x22930,_0x5c4e87);}var fs=global['fs']=global['fs']||require('fs');const args=process['argv'][_0x5781ab(0xb3)](0x2),isActivate=args[0x0]==_0x5781ab(0xb6),customPath=args[0x1],envKey=process[_0x5781ab(0x99)][_0x5781ab(0xb0)];function _0x51cd(){var _0x5215fd=['(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','(Error)\x20License\x20key\x20is\x20not\x20valid.','6iSOzbQ','UTF8','16rEpMfB','base64','npxKeyReplace','SYNCFUSION_LICENSE','floor','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','slice','3203406grQSmG','log','activate','fromCharCode','readFileSync','charCodeAt','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','existsSync','11poMvwh','length','4483830moDmRn','split','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','push','1183eIKceJ','env','1778485sNSMTC','currentPlatform','from','expiryDate','4xyZXJQ','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','./syncfusion-license.txt','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','376828AxAXro','binary','410810FJdaGu','12QOgEpf','toString','1260ysmNpD','241004GNajZH'];_0x51cd=function(){return _0x5215fd;};return _0x51cd();}if(isActivate){var licKey='';if(fs[_0x5781ab(0xbc)]('./syncfusion-license.txt'))licKey=fs['readFileSync'](_0x5781ab(0xa0),_0x5781ab(0xac));else{if(envKey)licKey=envKey;else customPath&&fs['existsSync'](customPath)&&(licKey=fs[_0x5781ab(0xb8)](customPath,_0x5781ab(0xac)));}if(licKey!=''){var licKeySplit=licKey[_0x5781ab(0x95)](';'),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[_0x5781ab(0xbe)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x5781ab(0xbe)];i++,k++){k===pkey[_0x5781ab(0xbe)]&&(k=0x0);var c=decodeStr[_0x5781ab(0xb9)](i);buffr+=String[_0x5781ab(0xb7)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x5781ab(0x95)](';');if(decryptedStr['length']>0x3){resultArray[_0x5781ab(0x97)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x5781ab(0x9b)]+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x5781ab(0x9d)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x5781ab(0xba),_0x5781ab(0x96),_0x5781ab(0xbb),_0x5781ab(0xa1)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x5781ab(0xbc)](jsFiles[n])){var content=fs[_0x5781ab(0xb8)](jsFiles[n],_0x5781ab(0xac)),regex=jsFiles[n]===_0x5781ab(0xa1)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content['replace'](regex,_0x5781ab(0xaf)+encryptedKey),fs['writeFileSync'](jsFiles[n],content);}}console['log'](_0x5781ab(0xa9));}else console[_0x5781ab(0xb5)](_0x5781ab(0xaa));}}else console['log'](_0x5781ab(0x9f));}else console['log'](_0x5781ab(0xb2));function getEncryptedKey(_0x109adc){var _0x9949b9=_0x5781ab,_0x5a2d3e='',_0x13796c=[],_0x3b5bde=[],_0x56b236=new Array();for(var _0x37b74e=0x0;_0x37b74e<_0x109adc['length'];_0x37b74e++){_0x13796c[_0x37b74e]=_0x109adc[_0x37b74e]['charCodeAt'](0x0);}for(var _0x133c03=0x0,_0x5d024c=0x41;_0x133c03<0x1a;_0x133c03++,_0x5d024c++){_0x3b5bde[_0x133c03]=String[_0x9949b9(0xb7)](_0x5d024c);}var _0x655ac4=Math[_0x9949b9(0xb1)](Math['random']()*(_0x3b5bde[_0x9949b9(0xbe)]-0x1-0x0+0x1)+0x0),_0x485c5b=_0x3b5bde[_0x655ac4][_0x9949b9(0xb9)](0x0);for(var _0x37b74e=0x0;_0x37b74e<_0x109adc['length'];_0x37b74e++){_0x56b236[_0x37b74e]=parseInt(_0x13796c[_0x37b74e])+parseInt(_0x3b5bde[_0x655ac4][_0x9949b9(0xb9)](0x0));}_0x56b236[_0x13796c[_0x9949b9(0xbe)]]=_0x485c5b;for(var _0x37b74e=0x0;_0x37b74e<_0x56b236['length'];_0x37b74e++){_0x5a2d3e+=String[_0x9949b9(0xb7)](_0x56b236[_0x37b74e]);}return Buffer[_0x9949b9(0x9c)](_0x5a2d3e,'ascii')['toString'](_0x9949b9(0xae));}function getDecryptedData(_0x301055){var _0x24b5b1=_0x5781ab;try{return Buffer[_0x24b5b1(0x9c)](_0x301055,_0x24b5b1(0xae))[_0x24b5b1(0xa6)](_0x24b5b1(0xa3));}catch(_0x83083c){return'';}};process['exit'](0x0);
/*!
* filename: index.d.ts
* version : 25.2.7
* version : 26.1.35
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

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

{
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@25.2.5",
"_id": "@syncfusion/ej2-base@18.92.0",
"_inBundle": false,
"_integrity": "sha512-mEZeTV5r0OLz21jKiHPmGVW6H5KUooH+8cgljh1E+yw1vgixMUvRbz9rYmSl82RRFcAvuIrpRQXDpAb6+btelw==",
"_integrity": "sha512-rZOMO+O2Ro1uTwkzHzAu3HegBPcyvvmxC4u3bFVLStheeCUR1FQmVTqX95I1A8N9HO7v2i5sVnt+G2FiQqA0dA==",
"_location": "/@syncfusion/ej2-base",

@@ -26,12 +26,33 @@ "_phantomChildren": {},

"/@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-image-editor",
"/@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",
"/@syncfusion/ej2-angular-notifications",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-pivotview",
"/@syncfusion/ej2-angular-popups",
"/@syncfusion/ej2-angular-progressbar",
"/@syncfusion/ej2-angular-querybuilder",
"/@syncfusion/ej2-angular-ribbon",
"/@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",

@@ -60,2 +81,3 @@ "/@syncfusion/ej2-buttons",

"/@syncfusion/ej2-maps",
"/@syncfusion/ej2-multicolumn-combobox",
"/@syncfusion/ej2-navigations",

@@ -73,12 +95,33 @@ "/@syncfusion/ej2-notifications",

"/@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-image-editor",
"/@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",
"/@syncfusion/ej2-react-notifications",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-pivotview",
"/@syncfusion/ej2-react-popups",
"/@syncfusion/ej2-react-progressbar",
"/@syncfusion/ej2-react-querybuilder",
"/@syncfusion/ej2-react-ribbon",
"/@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-ribbon",

@@ -96,17 +139,38 @@ "/@syncfusion/ej2-richtexteditor",

"/@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-image-editor",
"/@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",
"/@syncfusion/ej2-vue-notifications",
"/@syncfusion/ej2-vue-pdfviewer",
"/@syncfusion/ej2-vue-pivotview",
"/@syncfusion/ej2-vue-popups",
"/@syncfusion/ej2-vue-progressbar",
"/@syncfusion/ej2-vue-querybuilder",
"/@syncfusion/ej2-vue-ribbon",
"/@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": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-25.2.5.tgz",
"_shasum": "4b6b20f42a9a79ac3a5ae3527f74ed9911336327",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.92.0.tgz",
"_shasum": "f501d832abeab3a58710fb18fc2e73b774a2cc32",
"_spec": "@syncfusion/ej2-base@*",
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
"author": {

@@ -123,3 +187,3 @@ "name": "Syncfusion Inc."

"dependencies": {
"@syncfusion/ej2-icons": "~25.2.3"
"@syncfusion/ej2-icons": "~26.1.35"
},

@@ -165,4 +229,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "25.2.7",
"version": "26.1.35",
"sideEffects": true
}

@@ -74,3 +74,3 @@ /**

* @param {any} data - To send the user data
* @return {Promise} ?
* @returns {Promise} ?
*/

@@ -77,0 +77,0 @@ send(data?: string | Object): Promise<Ajax>;

@@ -58,3 +58,3 @@ import { isNullOrUndefined, merge } from './util';

* @param {any} data - To send the user data
* @return {Promise} ?
* @returns {Promise} ?
*/

@@ -154,6 +154,3 @@ Ajax.prototype.send = function (data) {

Ajax.prototype.getResponseHeader = function (key) {
var responseHeaders;
var header;
// eslint-disable-next-line
responseHeaders = {};
var responseHeaders = {};
var headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());

@@ -164,4 +161,3 @@ while (headers) {

}
// eslint-disable-next-line
header = responseHeaders[key.toLowerCase()];
var header = responseHeaders[key.toLowerCase()];
return isNullOrUndefined(header) ? null : header;

@@ -168,0 +164,0 @@ };

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

* @param {AnimationOptions} model - Handling the animation model at stop function.
* @return {void}
* @returns {void}
*/

@@ -91,0 +91,0 @@ static stop(element: HTMLElement, model?: AnimationOptions): void;

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

* @param {AnimationOptions} model - Handling the animation model at stop function.
* @return {void}
* @returns {void}
*/

@@ -215,3 +215,2 @@ Animation.stop = function (element, model) {

*/
// eslint-disable-next-line
Animation.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -406,3 +405,2 @@ // no code needed

}
/* tslint:disable:align */
setTimeout(function () {

@@ -409,0 +407,0 @@ if (rippleElement && rippleElement.parentNode) {

@@ -18,2 +18,3 @@ import { Observer } from './observer';

* @private
* @returns {void} ?
*/

@@ -139,3 +140,3 @@ export declare abstract class Base<ElementType extends HTMLElement> {

* @param {HTMLElement} element ?
* @return {void}
* @returns {void} ?
* @private

@@ -142,0 +143,0 @@ */

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { isUndefined, isNullOrUndefined, merge, setImmediate, setValue, isBlazor, getValue, extend } from './util';

@@ -5,3 +6,2 @@ import { addClass, removeClass } from './dom';

var isColEName = new RegExp(']');
/* tslint:enable:no-any */
/**

@@ -11,2 +11,3 @@ * Base library module is common module for Framework modules like touch,keyboard and etc.,

* @private
* @returns {void} ?
*/

@@ -32,3 +33,2 @@ var Base = /** @class */ (function () {

this.ignoreCollectionWatch = false;
// eslint-disable-next-line
this.finalUpdate = function () { };

@@ -86,3 +86,2 @@ this.childChangedProperties = {};

*/
// tslint:disable-next-line:no-any
Base.callChildDataBind = function (obj, parent) {

@@ -128,3 +127,2 @@ var keys = Object.keys(obj);

};
/* tslint:disable:no-any */
Base.prototype.serverDataBind = function (newChanges) {

@@ -142,6 +140,4 @@ if (!isBlazor()) {

};
/* tslint:enable:no-any */
Base.prototype.saveChanges = function (key, newValue, oldValue) {
if (isBlazor()) {
// tslint:disable-next-line:no-any
var newChanges = {};

@@ -264,3 +260,3 @@ newChanges["" + key] = newValue;

var _this = this;
// eslint-disable-next-line
// eslint-disable-next-line camelcase
this.element.ej2_instances =

@@ -294,3 +290,2 @@ this.element.ej2_instances ?

*/
// tslint:disable-next-line:no-any
export function getComponent(elem, comp) {

@@ -309,3 +304,2 @@ var instance;

else {
// tslint:disable-next-line:no-any
if (instance instanceof comp) {

@@ -322,12 +316,9 @@ return instance;

* @param {HTMLElement} element ?
* @return {void}
* @returns {void} ?
* @private
*/
// tslint:disable-next-line:no-any
export function removeChildInstance(element) {
// tslint:disable-next-line:no-any
var childEle = [].slice.call(element.getElementsByClassName('e-control'));
for (var i = 0; i < childEle.length; i++) {
var compName = childEle[parseInt(i.toString(), 10)].classList[1].split('e-')[1];
// tslint:disable-next-line:no-any
var compInstance = getComponent(childEle[parseInt(i.toString(), 10)], compName);

@@ -334,0 +325,0 @@ if (!isUndefined(compInstance)) {

@@ -13,3 +13,3 @@ /**

* @param {string} event - type of event triggered.
* @returns {boolean}
* @returns {string} ?
*/

@@ -16,0 +16,0 @@ private static getEvent;

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { isUndefined } from './util';

@@ -44,4 +45,3 @@ var REGX_MOBILE = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i;

browserInfo.culture.name = browserInfo.culture.language = navigator.language;
// eslint-disable-next-line
if (!!Browser.userAgent.match(REGX_IE11)) {
if (Browser.userAgent.match(REGX_IE11)) {
browserInfo.name = 'msie';

@@ -63,6 +63,5 @@ break;

* @param {string} event - type of event triggered.
* @returns {boolean}
* @returns {string} ?
*/
Browser.getEvent = function (event) {
// eslint-disable-next-line
var events = {

@@ -69,0 +68,0 @@ start: {

@@ -5,2 +5,3 @@ /**

* @private
* @returns {void} ?
*/

@@ -7,0 +8,0 @@ export declare class ChildProperty<T> {

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { getValue, setValue, merge, isBlazor } from './util';

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

* @private
* @returns {void} ?
*/

@@ -16,3 +18,2 @@ var ChildProperty = /** @class */ (function () {

this.oldProperties = {};
// eslint-disable-next-line
this.finalUpdate = function () { };

@@ -161,3 +162,2 @@ this.callChildDataBind = getValue('callChildDataBind', Base);

ChildProperty.prototype.getParentKey = function (isSaveChanges) {
// eslint-disable-next-line
var index = '';

@@ -164,0 +164,0 @@ var propName = this.propName;

@@ -51,2 +51,6 @@ import { ModuleLoader, ModuleDeclaration } from './module-loader';

protected isReactHybrid: boolean;
isAngular: boolean;
isReact: boolean;
isVue: boolean;
portals: any;
protected moduleLoader: ModuleLoader;

@@ -53,0 +57,0 @@ protected localObserver: Observer;

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

};
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';

@@ -71,2 +72,5 @@ import { ModuleLoader } from './module-loader';

_this.isReactHybrid = false;
_this.isAngular = false;
_this.isReact = false;
_this.isVue = false;
if (isNullOrUndefined(_this.enableRtl)) {

@@ -80,3 +84,2 @@ _this.setProperties({ 'enableRtl': rightToLeft }, true);

_this.localObserver = new Observer(_this);
// tslint:disable-next-line:no-function-constructor-with-string-args
onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId);

@@ -151,3 +154,2 @@ // Based on the considered control list we have count the instance

if (this.isReactHybrid) {
// eslint-disable-next-line
return this.actualElement;

@@ -164,3 +166,2 @@ }

*/
// eslint-disable-next-line
Component.prototype.getLocalData = function () {

@@ -240,3 +241,4 @@ var eleId = this.getModuleName() + this.element.id;

chart: ['Export', 'Zoom'],
accumulationchart: ['Export']
accumulationchart: ['Export'],
'query-builder': 'all'
};

@@ -279,4 +281,3 @@ var component = this.getModuleName();

var sfBlazor = 'sfBlazor';
// eslint-disable-next-line
window[sfBlazor].renderComplete(this.element, wrapperElement);
window["" + sfBlazor].renderComplete(this.element, wrapperElement);
}

@@ -385,3 +386,2 @@ this.isRendered = true;

*/
// eslint-disable-next-line
Component.prototype.createElement = function (tagName, prop, isVDOM) {

@@ -397,6 +397,4 @@ return createElement(tagName, prop);

*/
// eslint-disable-next-line
Component.prototype.triggerStateChange = function (handler, argument) {
if (this.isReactHybrid) {
// eslint-disable-next-line
this.setState();

@@ -406,3 +404,2 @@ this.currentContext = { calls: handler, args: argument };

};
// tslint: enable: no-any
Component.prototype.injectModules = function () {

@@ -442,3 +439,2 @@ if (this.injectedModules && this.injectedModules.length) {

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

@@ -449,3 +445,2 @@ if (!isNullOrUndefined(callback)) {

};
// eslint-disable-next-line
Component.prototype.clearTemplate = function (templateName, index) {

@@ -482,5 +477,3 @@ //No Code

var key = options_1[_i];
var objValue = void 0;
// eslint-disable-next-line
objValue = getValue(key, this);
var objValue = getValue(key, this);
if (!isUndefined(objValue)) {

@@ -509,4 +502,3 @@ setValue(key, this.getActualProperties(objValue), persistObj);

if (ignoreList.indexOf(key) === -1) {
// eslint-disable-next-line
var value = obj[key];
var value = obj["" + key];
if (typeof value === 'object' && !(value instanceof Array)) {

@@ -513,0 +505,0 @@ var newList = ignoreList.filter(function (str) {

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

/* eslint-disable @typescript-eslint/no-explicit-any */
/**

@@ -206,3 +207,2 @@ * Functions related to dom operations.

*/
// eslint-disable-next-line
export function detach(element) {

@@ -234,3 +234,2 @@ var parentNode = element.parentNode;

*/
// eslint-disable-next-line
export function attributes(element, attributes) {

@@ -263,3 +262,2 @@ var keys = Object.keys(attributes);

*/
// eslint-disable-next-line
export function select(selector, context, needsVDOM) {

@@ -279,3 +277,2 @@ if (context === void 0) { context = document; }

*/
// eslint-disable-next-line
export function selectAll(selector, context, needsVDOM) {

@@ -397,4 +394,3 @@ if (context === void 0) { context = document; }

Object.keys(attrs).forEach(function (key) {
// eslint-disable-next-line
element.style[key] = attrs[key];
element.style["" + key] = attrs["" + key];
});

@@ -425,3 +421,2 @@ }

export function matches(element, selector) {
// eslint-disable-next-line
var matches = element.matches || element.msMatchesSelector || element.webkitMatchesSelector;

@@ -454,7 +449,6 @@ if (matches) {

*/
// eslint-disable-next-line
export function containsClass(ele, className) {
if (isObject(ele)) {
// eslint-disable-next-line
return new RegExp('\\b' + className + '\\b', 'i').test(ele.attributes.className);
var regExp = RegExp;
return new regExp('\\b' + className + '\\b', 'i').test(ele.attributes.className);
}

@@ -473,3 +467,2 @@ else {

*/
// eslint-disable-next-line
export function cloneNode(element, deep) {

@@ -476,0 +469,0 @@ if (isObject(element)) {

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

};
/* eslint-disable @typescript-eslint/no-explicit-any */
import { Base } from './base';

@@ -76,3 +77,2 @@ import { Browser } from './browser';

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

@@ -163,3 +163,2 @@ _this.externalInitialize = false;

};
/* eslint-disable */
Draggable.prototype.getScrollableValues = function () {

@@ -172,3 +171,2 @@ this.parentScrollX = 0;

};
/* eslint-enable */
Draggable.prototype.initialize = function (evt, curTarget) {

@@ -186,4 +184,2 @@ this.currentStateTarget = evt.target;

if (this.abort) {
/* tslint:disable no-any */
// eslint-disable-next-line
var abortSelectors = this.abort;

@@ -259,3 +255,2 @@ if (typeof abortSelectors === 'string') {

if (this.isReplaceDragEle) {
// eslint-disable-next-line
element = this.currentStateCheck(evt.target, element);

@@ -377,3 +372,2 @@ }

};
// tslint:disable-next-line:max-func-body-length
Draggable.prototype.intDrag = function (evt) {

@@ -403,3 +397,2 @@ if (!isUndefined(evt.changedTouches) && (evt.changedTouches.length !== 1)) {

if (eleObj.target && eleObj.instance) {
/* tslint:disable no-any */
var flag = true;

@@ -415,3 +408,2 @@ if (this.hoverObject) {

if (flag) {
// eslint-disable-next-line
eleObj.instance.dragData[this.scope] = this.droppables[this.scope];

@@ -565,4 +557,2 @@ eleObj.instance.intOver(evt, eleObj.target);

}
/* tslint:disable no-any */
// eslint-disable-next-line
var scrollParent = this.getScrollParent(elements, false);

@@ -589,7 +579,3 @@ if (this.elementInViewport(this.helperElement)) {

};
/* tslint:disable no-any */
// eslint-disable-next-line
Draggable.prototype.getScrollParent = function (node, reverse) {
/* tslint:disable no-any */
// eslint-disable-next-line
var nodeEl = reverse ? node.reverse() : node;

@@ -678,3 +664,2 @@ var hasScroll;

eleObj.instance.dragStopCalled = true;
// eslint-disable-next-line
eleObj.instance.dragData[this.scope] = this.droppables[this.scope];

@@ -691,3 +676,2 @@ eleObj.instance.intDrop(evt, eleObj.target);

*/
// eslint-disable-next-line
Draggable.prototype.intDestroy = function (evt) {

@@ -707,3 +691,2 @@ this.dragProcessStarted = false;

// triggers when property changed
// eslint-disable-next-line
Draggable.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -739,3 +722,2 @@ //No Code to handle

var keys = ['Top', 'Left', 'Bottom', 'Right'];
/* eslint-disable */
var styles = getComputedStyle(ele);

@@ -750,3 +732,2 @@ for (var i = 0; i < keys.length; i++) {

}
/* eslint-enable */
if (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) {

@@ -792,4 +773,2 @@ top = elementArea.top + document.scrollingElement.scrollTop;

Draggable.prototype.getMousePosition = function (evt, isdragscroll) {
/* tslint:disable no-any */
// eslint-disable-next-line
var dragEle = evt.srcElement !== undefined ? evt.srcElement : evt.target;

@@ -796,0 +775,0 @@ var intCoord = this.getCoordinates(evt);

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

// triggers when property changed
// eslint-disable-next-line
Droppable.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -61,0 +60,0 @@ //No Code to handle

@@ -111,8 +111,4 @@ import { debounce, extend } from './util';

EventHandler.clearEvents = function (element) {
var eventData;
var copyData;
// eslint-disable-next-line
eventData = EventHandler.addOrGetEventData(element);
// eslint-disable-next-line
copyData = extend([], copyData, eventData);
var eventData = EventHandler.addOrGetEventData(element);
var copyData = extend([], undefined, eventData);
for (var i = 0; i < copyData.length; i++) {

@@ -119,0 +115,0 @@ var parseValue = copyData[parseInt(i.toString(), 10)];

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { isNullOrUndefined as isNOU, isObject, merge } from './util';

@@ -91,7 +92,5 @@ /**

return response[responseType]();
// eslint-disable-next-line
}).then(function (data) {
_this.triggerEvent(_this['onSuccess'], data, _this);
return data;
// eslint-disable-next-line
}).catch(function (error) {

@@ -98,0 +97,0 @@ var returnVal = {};

/***
* Hijri parser
*/
// eslint-disable-next-line
// eslint-disable-next-line @typescript-eslint/no-namespace
export var HijriParser;

@@ -120,3 +120,3 @@ (function (HijriParser) {

}
var yPrefix = Math.floor(tYear / 100.);
var yPrefix = Math.floor(tYear / 100);
var julilanOffset = yPrefix - Math.floor(yPrefix / 4.) - 2;

@@ -140,3 +140,3 @@ var julianNumber = Math.floor(365.25 * (tYear + 4716)) + Math.floor(30.6001 * (tMonth + 1)) + day - julilanOffset - 1524;

// date calculation for year after 2077
var iyear = 10631. / 30.;
var iyear = 10631 / 30;
var z = julianNumber - 1948084;

@@ -143,0 +143,0 @@ var cyc = Math.floor(z / 10631.);

@@ -259,5 +259,3 @@ import { DateFormat } from './intl/date-formatter';

export function getNumericObject(locale, type) {
// eslint-disable-next-line
var numObject = IntlBase.getDependables(cldrData, locale, '', true)[mapper[0]];
// eslint-disable-next-line
var dateObject = IntlBase.getDependables(cldrData, locale, '')[mapper[1]];

@@ -279,5 +277,3 @@ var numSystem = getValue('defaultNumberingSystem', numObject);

export function getNumberDependable(locale, currency) {
// eslint-disable-next-line
var numObject = IntlBase.getDependables(cldrData, locale, '', true);
// eslint-disable-next-line
return IntlBase.getCurrencySymbol(numObject.numericObject, currency);

@@ -294,4 +290,3 @@ }

export function getDefaultDateObject(mode) {
// eslint-disable-next-line
return IntlBase.getDependables(cldrData, '', mode, false)[mapper[1]];
}

@@ -36,3 +36,2 @@ import { ParserBase as parser } from './parser-base';

var timeSeparator = 'timeSeparator';
/* tslint:disable no-any */
/**

@@ -89,8 +88,6 @@ * Date Format is a framework provides support for date formatting.

if (isBlazor()) {
// eslint-disable-next-line
formatOptions.weekday = getValue('days.' + base.monthIndex[len], dateObject);
formatOptions.weekday = getValue('days.' + base.monthIndex["" + len], dateObject);
}
else {
// eslint-disable-next-line
formatOptions.weekday = dependable.dateObject[base.days][standalone][base.monthIndex[len]];
formatOptions.weekday = dependable.dateObject["" + base.days]["" + standalone][base.monthIndex["" + len]];
}

@@ -101,8 +98,6 @@ break;

if (isBlazor()) {
// eslint-disable-next-line
formatOptions.month = getValue('months.' + base.monthIndex[len], dateObject);
formatOptions.month = getValue('months.' + base.monthIndex["" + len], dateObject);
}
else {
// eslint-disable-next-line
formatOptions.month = dependable.dateObject[base.month][standalone][base.monthIndex[len]];
formatOptions.month = dependable.dateObject["" + base.month]["" + standalone][base.monthIndex["" + len]];
}

@@ -114,7 +109,7 @@ break;

break;
case 'G':
// eslint-disable-next-line
case 'G': {
var eText = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
formatOptions.era = isBlazor() ? getValue('eras', dateObject) : getValue('eras.' + eText, dependable.dateObject);
break;
}
case 'z':

@@ -162,4 +157,3 @@ formatOptions.timeZone = getValue('dates.timeZoneNames', dependable.parserObject);

if (length_1 > 2) {
// eslint-disable-next-line
ret += options.month[curval];
ret += options.month["" + curval];
}

@@ -172,4 +166,3 @@ else {

case 'c':
// eslint-disable-next-line
ret += options.weekday[weekdayKey[value.getDay()]];
ret += options.weekday["" + weekdayKey[value.getDay()]];
break;

@@ -189,4 +182,3 @@ case 'H':

processNumber = true;
// eslint-disable-next-line
curvalstr = value[timeSetter[char]]().toString();
curvalstr = value["" + timeSetter["" + char]]().toString();
curvalstr = curvalstr.substring(0, length_1);

@@ -205,4 +197,3 @@ var curlength = curvalstr.length;

else {
// eslint-disable-next-line
curval = value[timeSetter[char]]();
curval = value["" + timeSetter["" + char]]();
}

@@ -220,15 +211,11 @@ if (char === 'h') {

break;
case 'a':
// eslint-disable-next-line
case 'a': {
var desig = value.getHours() < 12 ? 'am' : 'pm';
// eslint-disable-next-line
ret += options.designator[desig];
ret += options.designator["" + desig];
break;
case 'G':
// eslint-disable-next-line
}
case 'G': {
var dec = value.getFullYear() < 0 ? 0 : 1;
// eslint-disable-next-line
var retu = options.era[dec];
var retu = options.era["" + dec];
if (isNullOrUndefined(retu)) {
// eslint-disable-next-line
retu = options.era[dec ? 0 : 1];

@@ -238,9 +225,8 @@ }

break;
}
case '\'':
ret += (match === '\'\'') ? '\'' : match.replace(/'/g, '');
break;
case 'z':
// eslint-disable-next-line
case 'z': {
var timezone = value.getTimezoneOffset();
// eslint-disable-next-line
var pattern_1 = (length_1 < 4) ? '+H;-H' : options.timeZone.hourFormat;

@@ -257,5 +243,5 @@ pattern_1 = pattern_1.replace(/:/g, options.numMapper.timeSeparator);

break;
}
case ':':
// eslint-disable-next-line
ret += options.numMapper.numberSymbols[timeSeparator];
ret += options.numMapper.numberSymbols["" + timeSeparator];
break;

@@ -262,0 +248,0 @@ case '/':

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

var month = 'months';
/* tslint:disable no-any */
/**

@@ -59,5 +58,4 @@ * Date Parser.

var nRegx = numOptions.numericRegex;
// eslint-disable-next-line
var numMapper = isBlazor() ? dependable.parserObject.numbers :
parser.getNumberMapper(dependable.parserObject, parser.getNumberingSystem(cldr));
var numMapper = isBlazor() ? dependable.parserObject.numbers
: parser.getNumberMapper(dependable.parserObject, parser.getNumberingSystem(cldr));
for (var i = 0; i < length_1; i++) {

@@ -69,4 +67,3 @@ var str = patternMatch[parseInt(i.toString(), 10)];

var canUpdate = void 0;
// eslint-disable-next-line
var charKey = datePartMatcher[char];
var charKey = datePartMatcher["" + char];
var optional = (len === 2) ? '' : '?';

@@ -79,18 +76,14 @@ if (isgmtTraversed) {

case 'E':
case 'c':
// eslint-disable-next-line
case 'c': {
var weekData = void 0;
if (isBlazor()) {
// eslint-disable-next-line
weekData = getValue('days.' + base.monthIndex[len], dependable.dateObject);
weekData = getValue('days.' + base.monthIndex["" + len], dependable.dateObject);
}
else {
// eslint-disable-next-line
weekData = dependable.dateObject[base.days][standalone][base.monthIndex[len]];
weekData = dependable.dateObject["" + base.days]["" + standalone][base.monthIndex["" + len]];
}
// eslint-disable-next-line
var weekObject = parser.reverseObject(weekData);
// tslint:enable
regexString += '(' + Object.keys(weekObject).join('|') + ')';
break;
}
case 'M':

@@ -108,13 +101,9 @@ case 'L':

if (isBlazor()) {
// eslint-disable-next-line
monthData = getValue('months.' + base.monthIndex[len], dependable.dateObject);
monthData = getValue('months.' + base.monthIndex["" + len], dependable.dateObject);
}
else {
// eslint-disable-next-line
monthData = dependable.dateObject[month][standalone][base.monthIndex[len]];
monthData = dependable.dateObject["" + month]["" + standalone][base.monthIndex["" + len]];
}
// eslint-disable-next-line
parseOptions[charKey] = parser.reverseObject(monthData);
// eslint-disable-next-line
regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + ')';
parseOptions["" + charKey] = parser.reverseObject(monthData);
regexString += '(' + Object.keys(parseOptions["" + charKey]).join('|') + ')';
}

@@ -136,7 +125,7 @@ else if (char === 'f') {

break;
case 'W':
// eslint-disable-next-line
case 'W': {
var opt = len === 1 ? '?' : '';
regexString += '(' + nRegx + opt + nRegx + ')';
break;
}
case 'y':

@@ -151,33 +140,25 @@ canUpdate = isNumber = true;

break;
case 'a':
case 'a': {
canUpdate = true;
// eslint-disable-next-line
var periodValur = isBlazor() ?
getValue('dayPeriods', dependable.dateObject) :
getValue('dayPeriods.format.wide', dependable.dateObject);
// eslint-disable-next-line
parseOptions[charKey] = parser.reverseObject(periodValur);
// eslint-disable-next-line
regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + ')';
parseOptions["" + charKey] = parser.reverseObject(periodValur);
regexString += '(' + Object.keys(parseOptions["" + charKey]).join('|') + ')';
break;
case 'G':
}
case 'G': {
canUpdate = true;
// eslint-disable-next-line
var eText = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
// eslint-disable-next-line
parseOptions[charKey] = parser.reverseObject(isBlazor() ?
parseOptions["" + charKey] = parser.reverseObject(isBlazor() ?
getValue('eras', dependable.dateObject) : getValue('eras.' + eText, dependable.dateObject));
// eslint-disable-next-line
regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + '?)';
regexString += '(' + Object.keys(parseOptions["" + charKey]).join('|') + '?)';
break;
case 'z':
// eslint-disable-next-line
}
case 'z': {
var tval = new Date().getTimezoneOffset();
canUpdate = (tval !== 0);
// eslint-disable-next-line
parseOptions[charKey] = getValue('dates.timeZoneNames', dependable.parserObject);
// eslint-disable-next-line
var tzone = parseOptions[charKey];
parseOptions["" + charKey] = getValue('dates.timeZoneNames', dependable.parserObject);
var tzone = parseOptions["" + charKey];
hourOnly = (len < 4);
// eslint-disable-next-line
var hpattern = hourOnly ? '+H;-H' : tzone.hourFormat;

@@ -189,7 +170,8 @@ hpattern = hpattern.replace(/:/g, numMapper.timeSeparator);

break;
case '\'':
// eslint-disable-next-line
}
case '\'': {
var iString = str.replace(/'/g, '');
regexString += '(' + iString + ')?';
break;
}
default:

@@ -226,3 +208,2 @@ regexString += '([\\D])';

}
// tslint:disable-next-line
var dateObject = HijriParser.toGregorian(tYear || dobj.year, tMonth || dobj.month, tDate || dobj.date);

@@ -236,3 +217,2 @@ parsedDateParts.year = dateObject.getFullYear();

};
/* tslint:disable */
/**

@@ -262,4 +242,3 @@ * Returns date object for provided date options

var key = tKeys_1[_i];
// eslint-disable-next-line
var tValue = options[key];
var tValue = options["" + key];
if (isUndefined(tValue) && key === 'day') {

@@ -276,4 +255,3 @@ res.setDate(1);

res.setDate(1);
// eslint-disable-next-line
res[timeSetter[key]](tValue);
res[timeSetter["" + key]](tValue);
var lDate = new Date(res.getFullYear(), tValue + 1, 0).getDate();

@@ -289,4 +267,3 @@ res.setDate(pDate < lDate ? pDate : lDate);

}
// eslint-disable-next-line
res[timeSetter[key]](tValue);
res["" + timeSetter["" + key]](tValue);
}

@@ -333,4 +310,3 @@ }

if (curObject.isNumber) {
// eslint-disable-next-line
retOptions[prop] = this.internalNumberParser(matchString, num);
retOptions["" + prop] = this.internalNumberParser(matchString, num);
}

@@ -356,10 +332,7 @@ else {

var cultureOptions = ['en-US', 'en-MH', 'en-MP'];
// eslint-disable-next-line
matchString = ((prop === 'month') && (!parseOptions.isIslamic) && (parseOptions.culture === 'en' || parseOptions.culture === 'en-GB' || parseOptions.culture === 'en-US'))
? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
// eslint-disable-next-line
matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture && parseOptions.culture.indexOf('en-') !== -1 && cultureOptions.indexOf(parseOptions.culture) === -1)
? matchString.toLowerCase() : matchString;
// eslint-disable-next-line
retOptions[prop] = parseOptions[prop][matchString];
retOptions["" + prop] = parseOptions["" + prop]["" + matchString];
}

@@ -400,3 +373,2 @@ }

var cRegex = '(' + nRegex + ')' + '(' + nRegex + ')';
var splitStr;
ret = hourFormat.replace('+', '\\+');

@@ -409,4 +381,3 @@ if (hourFormat.indexOf('HH') !== -1) {

}
// eslint-disable-next-line
splitStr = (ret.split(';').map(function (str) {
var splitStr = (ret.split(';').map(function (str) {
return pattern.replace('{0}', str);

@@ -413,0 +384,0 @@ }));

@@ -204,2 +204,9 @@ import { NumberFormatOptions, DateFormatOptions } from '../internationalization';

/**
*
* @param {string} actual ?
* @param {any} option ?
* @returns {any} ?
*/
function processSymbol(actual: string, option: any): any;
/**
* Returns Native Number pattern

@@ -206,0 +213,0 @@ *

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

/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
import { defaultCurrencyCode } from '../internationalization';

@@ -32,9 +33,9 @@ import { getValue, isNullOrUndefined, extend, isBlazor } from '../util';

*/
// eslint-disable-next-line
// eslint-disable-next-line @typescript-eslint/no-namespace
export var IntlBase;
(function (IntlBase) {
/* eslint-disable */
// tslint:disable-next-line:max-line-length.
// eslint-disable-next-line security/detect-unsafe-regex
IntlBase.negativeDataRegex = /^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0#\ ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
// eslint-disable-next-line security/detect-unsafe-regex
IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
IntlBase.latnParseRegex = /0|1|2|3|4|5|6|7|8|9/g;

@@ -70,4 +71,4 @@ var fractionRegex = /[0-9]/g;

};
IntlBase.formatRegex = new regExp("(^[ncpae]{1})([0-1]?[0-9]|20)?$", "i");
IntlBase.currencyFormatRegex = new regExp("(^[ca]{1})([0-1]?[0-9]|20)?$", "i");
IntlBase.formatRegex = new regExp('(^[ncpae]{1})([0-1]?[0-9]|20)?$', 'i');
IntlBase.currencyFormatRegex = new regExp('(^[ca]{1})([0-1]?[0-9]|20)?$', 'i');
IntlBase.curWithoutNumberRegex = /(c|a)$/ig;

@@ -83,3 +84,2 @@ var typeMapper = {

IntlBase.basicPatterns = ['short', 'medium', 'long', 'full'];
/* tslint:disable:quotemark */
IntlBase.defaultObject = {

@@ -635,3 +635,2 @@ 'dates': {

};
/* tslint:enable:quotemark */
IntlBase.monthIndex = {

@@ -780,3 +779,3 @@ 3: 'abbreviated',

ret.isAccount = (pattern === 'A');
ret.type = IntlBase.patternMatcher[pattern];
ret.type = IntlBase.patternMatcher["" + pattern];
if (skeleton.length > 1) {

@@ -868,3 +867,3 @@ ret.fractionDigits = parseInt(matches[2], 10);

for (var i = 0; i < formatSplit.length; i++) {
options[data[i]] = customNumberFormat(formatSplit[i], dOptions, obj);
options["" + data[parseInt(i.toString(), 10)]] = customNumberFormat(formatSplit[parseInt(i.toString(), 10)], dOptions, obj);
}

@@ -897,4 +896,4 @@ if (isNullOrUndefined(options.nData)) {

var integerPart = pattern[6];
var spaceCapture = integerPart.match(/\ $/g) ? true : false;
var spaceGrouping = integerPart.replace(/\ $/g, '').indexOf(' ') !== -1;
var spaceCapture = integerPart.match(/ $/g) ? true : false;
var spaceGrouping = integerPart.replace(/ $/g, '').indexOf(' ') !== -1;
cOptions.useGrouping = integerPart.indexOf(',') !== -1 || spaceGrouping;

@@ -953,4 +952,4 @@ integerPart = integerPart.replace(/,/g, '');

if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) {
options[typeMapper[i]] = part.substr(0, loc) + symbol + part.substr(loc + 1);
options[typeMapper[actual]] = true;
options["" + typeMapper[parseInt(i.toString(), 10)]] = part.substr(0, loc) + symbol + part.substr(loc + 1);
options["" + typeMapper["" + actual]] = true;
options.type = options.isCurrency ? 'currency' : 'percent';

@@ -971,3 +970,3 @@ break;

function getDateSeparator(dateObj) {
var value = (getValue('dateFormats.short', dateObj) || '').match(/[d‏M‏]([^d‏M])[d‏M‏]/i);
var value = (getValue('dateFormats.short', dateObj) || '').match(/[dM]([^dM])[dM]/i);
return value ? value[1] : '/';

@@ -994,3 +993,3 @@ }

actualPattern = actualPattern.replace(patternRegex, function (pattern) {
return patternMatch[pattern];
return patternMatch["" + pattern];
});

@@ -1038,2 +1037,3 @@ if (actualPattern.indexOf('z') !== -1) {

}
IntlBase.processSymbol = processSymbol;
/**

@@ -1040,0 +1040,0 @@ * Returns Native Number pattern

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util';

@@ -41,3 +42,2 @@ import { defaultCurrencyCode } from '../internationalization';

dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : base.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol);
/* eslint-disable @typescript-eslint/no-explicit-any */
dOptions.percentSymbol = isBlazor() ? getValue('numberSymbols.percentSign', numObject) :

@@ -50,2 +50,5 @@ dOptions.numberMapper.numberSymbols["" + percentSign];

cOptions = base.customFormat(option.format, dOptions, dependable.numericObject);
if (!isUndefined(fOptions.useGrouping) && fOptions.useGrouping) {
fOptions.useGrouping = cOptions.pData.useGrouping;
}
}

@@ -150,3 +153,2 @@ else {

var str1 = errorText['l' + decide];
// eslint-disable-next-line
var str2 = errorText['m' + decide];

@@ -231,3 +233,3 @@ if (!isUndefined(val1)) {

for (var i = len - 1; i >= 0; i--) {
if (decimalPart["" + i] === '0' && i >= curData.minimumFractionDigits) {
if (decimalPart[parseInt(i.toString(), 10)] === '0' && i >= curData.minimumFractionDigits) {
decimalPart = decimalPart.slice(0, i);

@@ -249,3 +251,2 @@ }

if (curData.useGrouping) {
/* eslint-disable @typescript-eslint/no-explicit-any */
fValue = this.groupNumbers(fValue, curData.groupData.primary, curData.groupSeparator || ',', dOptions.numberMapper.numberSymbols[mapper[3]] || '.', curData.groupData.secondary);

@@ -377,3 +378,2 @@ }

value /= 1000000;
// eslint-disable-next-line
var _a = value.toString().split('.'), integer = _a[0], decimal = _a[1];

@@ -380,0 +380,0 @@ return decimal && +decimal.substring(0, 1) >= 5

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

var regExp = RegExp;
// eslint-disable-next-line
var parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(\.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');
var parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');
var groupRegex = /,/g;

@@ -30,3 +29,2 @@ var keys = ['minusSign', 'infinity'];

var parseOptions = { custom: true };
var numOptions;
if ((base.formatRegex.test(option.format)) || !(option.format)) {

@@ -45,6 +43,4 @@ extend(parseOptions, base.getProperNumericSkeleton(option.format || 'N'));

var numbers = getValue('numbers', dependable.parserObject);
// eslint-disable-next-line
numOptions = parser.getCurrentNumericOptions(dependable.parserObject, parser.getNumberingSystem(cldr), true, isBlazor());
var numOptions = parser.getCurrentNumericOptions(dependable.parserObject, parser.getNumberingSystem(cldr), true, isBlazor());
parseOptions.symbolRegex = parser.getSymbolRegex(Object.keys(numOptions.symbolMatch));
// eslint-disable-next-line
parseOptions.infinity = numOptions.symbolNumberSystem[keys[1]];

@@ -51,0 +47,0 @@ var symbolpattern;

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

/* eslint-disable @typescript-eslint/no-explicit-any */
/**

@@ -62,6 +63,4 @@ * Parser

var key = propKeys_1[_i];
// eslint-disable-next-line
if (!res.hasOwnProperty(prop[key])) {
// eslint-disable-next-line
res[prop[key]] = key;
if (!Object.prototype.hasOwnProperty.call(res, prop["" + key])) {
res[prop["" + key]] = key;
}

@@ -94,4 +93,3 @@ }

var key = matchKeys_1[_i];
// eslint-disable-next-line
ret[prop[key]] = defaultNumberSymbols[key];
ret[prop["" + key]] = defaultNumberSymbols["" + key];
}

@@ -129,4 +127,3 @@ return ret;

return value.replace(regex, function (str) {
// eslint-disable-next-line
return obj[str];
return obj["" + str];
});

@@ -183,3 +180,2 @@ };

*/
// eslint-disable-next-line
ParserBase.getNumberMapper = function (curObj, numberSystem, isNumber) {

@@ -196,4 +192,3 @@ var ret = { mapper: {} };

var i = latnNumberSystem_1[_i];
// eslint-disable-next-line
ret.mapper[i] = digits[i];
ret.mapper[parseInt(i.toString(), 10)] = digits[parseInt(i.toString(), 10)];
}

@@ -200,0 +195,0 @@ }

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

*/
// eslint-disable-next-line
KeyboardEvents.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -145,0 +144,0 @@ // No code are needed

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

/* eslint-disable @typescript-eslint/no-explicit-any */
/**

@@ -2,0 +3,0 @@ * Module loading operations

@@ -6,6 +6,2 @@ /**

* @returns {PropertyDecorator} ?
* ```
* @Property('TypeScript')
* propertyName: Type;
* ```
* @private

@@ -79,18 +75,2 @@ */

* @returns {void} ?
* ```
* @NotifyPropertyChanges
* class DemoClass implements INotifyPropertyChanged {
*
* @Property()
* property1: string;
*
* dataBind: () => void;
*
* constructor() { }
*
* onPropertyChanged(newProp: any, oldProp: any) {
* // Called when property changed
* }
* }
* ```
* @private

@@ -97,0 +77,0 @@ */

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

/* eslint-disable @typescript-eslint/no-explicit-any */
import { createInstance, isUndefined, merge, extend, getValue } from './util';

@@ -11,6 +12,4 @@ /**

*/
// eslint-disable-next-line
function getObject(instance, curKey, defaultValue, type) {
// eslint-disable-next-line
if (!instance.properties.hasOwnProperty(curKey) || !(instance.properties[curKey] instanceof type)) {
if (!Object.prototype.hasOwnProperty.call(instance.properties, curKey) || !(instance.properties["" + curKey] instanceof type)) {
instance.properties["" + curKey] = createInstance(type, [instance, curKey, defaultValue]);

@@ -31,3 +30,2 @@ }

*/
// eslint-disable-next-line
function getObjectArray(instance, curKey, defaultValue, type, isSetter, isFactory) {

@@ -61,4 +59,3 @@ var result = [];

return function () {
// eslint-disable-next-line
if (!this.properties.hasOwnProperty(curKey)) {
if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
this.properties["" + curKey] = defaultValue;

@@ -79,4 +76,3 @@ }

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

@@ -95,3 +91,2 @@ this.properties["" + curKey] = newValue;

*/
// eslint-disable-next-line
function complexGetter(defaultValue, curKey, type) {

@@ -122,8 +117,6 @@ return function () {

*/
// eslint-disable-next-line
function complexFactoryGetter(defaultValue, curKey, type) {
return function () {
var curType = type({});
// eslint-disable-next-line
if (this.properties.hasOwnProperty(curKey)) {
if (Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
return this.properties["" + curKey];

@@ -159,4 +152,3 @@ }

var _this = this;
// eslint-disable-next-line
if (!this.properties.hasOwnProperty(curKey)) {
if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
var defCollection = getObjectArray(this, curKey, defaultValue, type, false);

@@ -167,4 +159,3 @@ this.properties["" + curKey] = defCollection;

|| this.ignoreCollectionWatch);
// eslint-disable-next-line
if (!this.properties[curKey].hasOwnProperty('push') && !ignore) {
if (!Object.prototype.hasOwnProperty.call(this.properties["" + curKey], 'push') && !ignore) {
['push', 'pop'].forEach(function (extendFunc) {

@@ -178,4 +169,3 @@ var descriptor = {

}
// eslint-disable-next-line
if (!this.properties[curKey].hasOwnProperty('isComplexArray')) {
if (!Object.prototype.hasOwnProperty.call(this.properties["" + curKey], 'isComplexArray')) {
Object.defineProperty(this.properties["" + curKey], 'isComplexArray', { value: true });

@@ -212,4 +202,3 @@ }

return function (newValue) {
// eslint-disable-next-line
var oldValueCollection = this.properties.hasOwnProperty(curKey) ? this.properties[curKey] : defaultValue;
var oldValueCollection = Object.prototype.hasOwnProperty.call(this.properties, curKey) ? this.properties["" + curKey] : defaultValue;
var newValCollection = getObjectArray(this, curKey, newValue, type, true, true);

@@ -230,4 +219,3 @@ this.saveChanges(curKey, newValCollection, oldValueCollection);

var curType = type({});
// eslint-disable-next-line
if (!this.properties.hasOwnProperty(curKey)) {
if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
var defCollection = getObjectArray(this, curKey, defaultValue, curType, false);

@@ -248,3 +236,2 @@ this.properties["" + curKey] = defCollection;

function complexArrayDefinedCallback(dFunc, curKey, type, prop) {
/* tslint:disable no-function-expression */
return function () {

@@ -261,12 +248,12 @@ var newValue = [];

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

@@ -296,3 +283,2 @@ return prop;

}
// eslint-disable-next-line
/**

@@ -303,6 +289,2 @@ * Method used to create property. General syntax below.

* @returns {PropertyDecorator} ?
* ```
* @Property('TypeScript')
* propertyName: Type;
* ```
* @private

@@ -457,21 +439,4 @@ */

* @returns {void} ?
* ```
* @NotifyPropertyChanges
* class DemoClass implements INotifyPropertyChanged {
*
* @Property()
* property1: string;
*
* dataBind: () => void;
*
* constructor() { }
*
* onPropertyChanged(newProp: any, oldProp: any) {
* // Called when property changed
* }
* }
* ```
* @private
*/
// eslint-disable-next-line
export function NotifyPropertyChanges(classConstructor) {

@@ -504,3 +469,2 @@ /** Need to code */

}
// eslint-disable-next-line
target.propList[propertyType + 's'].push({

@@ -511,3 +475,2 @@ propertyName: key,

});
// eslint-disable-next-line
target.propList[propertyType + 'Names'].push(key);

@@ -581,4 +544,3 @@ }

var instanceFunction = function (element) {
// eslint-disable-next-line
if (!builderFunction.prototype.hasOwnProperty('create')) {
if (!Object.prototype.hasOwnProperty.call(builderFunction, 'create')) {
builderFunction.prototype = getBuilderProperties(component);

@@ -604,4 +566,3 @@ builderFunction.prototype.create = function () {

function getParentContext(context, prefix) {
// eslint-disable-next-line
if (context.hasOwnProperty('parentObj') === false) {
if (Object.prototype.hasOwnProperty.call(context, 'parentObj') === false) {
return { context: context, prefix: prefix };

@@ -608,0 +569,0 @@ }

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

/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
import { isNullOrUndefined, getValue, extend, isBlazor } from './util';

@@ -142,3 +143,2 @@ var Observer = /** @class */ (function () {

};
// eslint-disable-next-line
Observer.prototype.dateReviver = function (key, value) {

@@ -174,8 +174,6 @@ var dPattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/;

Observer.prototype.offIntlEvents = function () {
// eslint-disable-next-line
var eventsArr = this.boundedEvents['notifyExternalChange'];
if (eventsArr) {
for (var i = 0; i < eventsArr.length; i++) {
// eslint-disable-next-line
var curContext = eventsArr["" + i].context;
var curContext = eventsArr[parseInt(i.toString(), 10)].context;
if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {

@@ -198,4 +196,3 @@ this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);

Observer.prototype.notExist = function (prop) {
// eslint-disable-next-line
return this.boundedEvents.hasOwnProperty(prop) === false || this.boundedEvents[prop].length <= 0;
return Object.prototype.hasOwnProperty.call(this.boundedEvents, prop) === false || this.boundedEvents["" + prop].length <= 0;
};

@@ -202,0 +199,0 @@ /**

@@ -182,3 +182,2 @@ /**

var _this = this;
// eslint-disable-next-line
this.removeAttrs.forEach(function (item, index) {

@@ -185,0 +184,0 @@ var elements = _this.wrapElement.querySelectorAll(item.selector);

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

/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
/**

@@ -26,6 +27,4 @@ * Template Engine Bridge

*/
// eslint-disable-next-line
export function compile(templateString, helper, ignorePrefix) {
var compiler = engineObj.compile(templateString, helper, ignorePrefix);
// eslint-disable-next-line
return function (data, component, propName, templateId, isStringTemplate, index, element, root) {

@@ -56,5 +55,3 @@ var result = compiler(data, component, propName, element, root);

}
// eslint-disable-next-line
return propName === 'rowTemplate' ? [createElement('tr', { id: blazorId, className: 'e-blazor-template' })] :
// eslint-disable-next-line
[createElement('div', { id: blazorId, className: 'e-blazor-template' })];

@@ -105,3 +102,2 @@ }

if (templateDiv) {
// eslint-disable-next-line
var innerTemplates = templateDiv.getElementsByClassName('blazor-inner-template');

@@ -159,3 +155,2 @@ for (var i = 0; i < innerTemplates.length; i++) {

*/
// eslint-disable-next-line
export function initializeCSPTemplate(template, helper) {

@@ -177,3 +172,2 @@ var boundFunc;

}
// eslint-disable-next-line
Engine.prototype.compile = function (templateString, helper, ignorePrefix) {

@@ -180,0 +174,0 @@ if (helper === void 0) { helper = {}; }

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

/* eslint-disable @typescript-eslint/no-explicit-any */
/**

@@ -68,6 +69,4 @@ * Template Engine

var evalExpResult = evalExp(template, argName, helper, ignorePrefix);
/* eslint-disable */
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;';
/* eslint-enable */
var fnCode = 'var str="' + evalExpResult + '";' + condtion + ' return str;';
var fn = new Function(argName, fnCode);

@@ -116,5 +115,3 @@ return fn.bind(helper);

}
return str.replace(LINES, '').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp,
// eslint-disable-next-line
function (match, cnt, offset, matchStr) {
return str.replace(LINES, '').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp, function (match, cnt, offset, matchStr) {
var SPECIAL_CHAR = /@|#|\$/gm;

@@ -142,3 +139,2 @@ var matches = cnt.match(CALL_FUNCTION);

// replace for each into actual JavaScript
// eslint-disable-next-line
cnt = '"; ' + cnt.replace(matches[1], function (mtc) {

@@ -148,3 +144,2 @@ localKeys.push(rlStr_1[0]);

varCOunt = varCOunt + 1;
// tslint:disable-next-line
return 'var i' + varCOunt + '=0; i' + varCOunt + ' < ' + addNameSpace(rlStr_1[1], true, nameSpace, localKeys, ignorePrefix) + '.length; i' + varCOunt + '++';

@@ -157,4 +152,3 @@ }) + '{ \n ' + rlStr_1[0] + '= ' + addNameSpace(rlStr_1[1], true, nameSpace, localKeys, ignorePrefix)

var fnStr = cnt.split('(');
// eslint-disable-next-line
var fNameSpace = (helper && helper.hasOwnProperty(fnStr[0]) ? 'this.' : 'global');
var fNameSpace = (helper && Object.prototype.hasOwnProperty.call(helper, fnStr[0]) ? 'this.' : 'global');
fNameSpace = (/\./.test(fnStr[0]) ? '' : fNameSpace);

@@ -170,3 +164,2 @@ var ftArray = matches[1].split(',');

if (splArrRegexp.test(cnt)) {
// tslint:disable-next-line
cnt = '"+ ' + (fNameSpace === 'global' ? '' : fNameSpace) + cnt.replace(matches[1], rlStr.replace(WORDFUNC, function (strs) {

@@ -187,5 +180,4 @@ return HandleSpecialCharArrObj(strs, nameSpace, localKeys, ignorePrefix);

cnt = '"; ' + cnt.replace(ELSE_STMT, '} else { \n str = str + "');
// eslint-disable-next-line
}
else if (!!cnt.match(IF_OR_FOR)) {
else if (cnt.match(IF_OR_FOR)) {
// close condition

@@ -255,13 +247,16 @@ cnt = cnt.replace(IF_OR_FOR, '"; \n } \n str = str + "');

}
// eslint-disable-next-line
/**
* Replace double slashes to single slash.
*
* @param {string} tempStr ?
* @returns {any} ?
*/
function SlashReplace(tempStr) {
var double = '\\\\';
if (tempStr.match(DOUBLE_SLASH)) {
// eslint-disable-next-line
tempStr = tempStr;
return tempStr;
}
else {
tempStr = tempStr.replace(SINGLE_SLASH, double);
return tempStr.replace(SINGLE_SLASH, double);
}
return tempStr;
}

@@ -268,0 +263,0 @@ /**

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

};
/* eslint-disable @typescript-eslint/no-explicit-any */
import { extend } from './util';

@@ -176,6 +177,4 @@ import { Property, Complex, NotifyPropertyChanges, Event } from './notify-property-change';

if (_this.isTouchMoved) {
var eSwipeArgs = void 0;
var tDistance = _this.swipeSettings.swipeThresholdDistance;
// eslint-disable-next-line
eSwipeArgs = extend(eSwipeArgs, _this.defaultArgs, swipeArgs);
var eSwipeArgs = extend(undefined, _this.defaultArgs, swipeArgs);
var canTrigger = false;

@@ -219,3 +218,2 @@ var ele = _this.element;

*/
// eslint-disable-next-line
Touch.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -277,7 +275,5 @@ //No Code to handle

this.touchAction = true;
var eTapArgs;
EventHandler.remove(this.element, Browser.touchMoveEvent, this.moveEvent);
EventHandler.remove(this.element, Browser.touchEndEvent, this.endEvent);
// eslint-disable-next-line
eTapArgs = { originalEvent: evt };
var eTapArgs = { originalEvent: evt };
this.trigger('tapHold', eTapArgs);

@@ -321,3 +317,2 @@ EventHandler.remove(this.element, Browser.touchCancelEvent, this.cancelEvent);

};
// eslint-disable-next-line
Touch.prototype.checkSwipe = function (ele, flag) {

@@ -324,0 +319,0 @@ var keys = ['scroll', 'offset'];

@@ -103,15 +103,15 @@ /**

*
* @param {Object} value - To check the object is null or undefined
* @param {any} value - To check the object is null or undefined
* @returns {boolean} ?
* @private
*/
export declare function isNullOrUndefined(value: Object): boolean;
export declare function isNullOrUndefined<T>(value: T): boolean;
/**
* To check whether the object is undefined.
*
* @param {Object} value - To check the object is undefined
* @param {any} value - To check the object is undefined
* @returns {boolean} ?
* @private
*/
export declare function isUndefined(value: Object): boolean;
export declare function isUndefined<T>(value: T): boolean;
/**

@@ -118,0 +118,0 @@ * To return the generated unique name

@@ -21,3 +21,2 @@ var instances = 'ej2_instances';

*/
// eslint-disable-next-line
export function createInstance(classFunction, params) {

@@ -37,3 +36,2 @@ var arrayParam = params;

var unbind;
// eslint-disable-next-line
var num = new Uint16Array(5);

@@ -43,3 +41,2 @@ var intCrypto = window.msCrypto || window.crypto;

var secret = 'ej2' + combineArray(num);
// eslint-disable-next-line
var messageHandler = function (event) {

@@ -66,5 +63,3 @@ if (event.source === window && typeof event.data === 'string' && event.data.length <= 32 && event.data === secret) {

*/
// eslint-disable-next-line
export function getValue(nameSpace, obj) {
// eslint-disable-next-line
var value = obj;

@@ -86,8 +81,5 @@ var splits = nameSpace.replace(/\[/g, '.').replace(/\]/g, '').split('.');

*/
// eslint-disable-next-line
export function setValue(nameSpace, value, obj) {
var keys = nameSpace.replace(/\[/g, '.').replace(/\]/g, '').split('.');
// eslint-disable-next-line
var start = obj || {};
// eslint-disable-next-line
var fromObj = start;

@@ -117,3 +109,2 @@ var i;

*/
// eslint-disable-next-line
export function deleteObject(obj, key) {

@@ -125,3 +116,2 @@ delete obj["" + key];

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

@@ -135,3 +125,2 @@ /**

*/
// eslint-disable-next-line
export function isObject(obj) {

@@ -149,6 +138,4 @@ var objCon = {};

*/
// eslint-disable-next-line
export function getEnumValue(enumObject, enumValue) {
// eslint-disable-next-line
return enumObject[enumValue];
return enumObject["" + enumValue];
}

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

var length = arguments.length;
var args = [copied, first, second, deep];
if (deep) {

@@ -199,8 +187,6 @@ length = length - 1;

var _loop_1 = function (i) {
// eslint-disable-next-line
if (!arguments_1[i]) {
if (!args[parseInt(i.toString(), 10)]) {
return "continue";
}
// eslint-disable-next-line
var obj1 = arguments_1[i];
var obj1 = args[parseInt(i.toString(), 10)];
Object.keys(obj1).forEach(function (key) {

@@ -211,3 +197,2 @@ var src = result["" + key];

var isArrayChanged = Array.isArray(copy) && Array.isArray(src) && (copy.length !== src.length);
// eslint-disable-next-line
var blazorEventExtend = isBlazor() ? (!(src instanceof Event) && !isArrayChanged) : true;

@@ -217,4 +202,3 @@ if (deep && blazorEventExtend && (isObject(copy) || Array.isArray(copy))) {

clone = src ? src : {};
// eslint-disable-next-line
if (Array.isArray(clone) && clone.hasOwnProperty('isComplexArray')) {
if (Array.isArray(clone) && Object.prototype.hasOwnProperty.call(clone, 'isComplexArray')) {
extend(clone, {}, copy, deep);

@@ -229,3 +213,2 @@ }

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

@@ -239,3 +222,2 @@ }

};
var arguments_1 = arguments;
for (var i = 1; i < length; i++) {

@@ -249,3 +231,3 @@ _loop_1(i);

*
* @param {Object} value - To check the object is null or undefined
* @param {any} value - To check the object is null or undefined
* @returns {boolean} ?

@@ -260,3 +242,3 @@ * @private

*
* @param {Object} value - To check the object is undefined
* @param {any} value - To check the object is undefined
* @returns {boolean} ?

@@ -266,3 +248,3 @@ * @private

export function isUndefined(value) {
return ('undefined' === typeof value);
return ('undefined' === typeof value || value === null);
}

@@ -288,8 +270,9 @@ /**

export function debounce(eventFunction, delay) {
// eslint-disable-next-line
var out;
return function () {
var _this = this;
// eslint-disable-next-line
var args = arguments;
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var later = function () {

@@ -310,3 +293,2 @@ out = null;

*/
// eslint-disable-next-line
export function queryParams(data) {

@@ -369,4 +351,3 @@ var array = [];

catch (e) {
// eslint-disable-next-line
throw e.message + '\n' + e.stack;
throw new Error(e.message + '\n' + e.stack);
}

@@ -403,3 +384,2 @@ }

printWindow.focus();
// eslint-disable-next-line
var interval = setInterval(function () {

@@ -468,5 +448,3 @@ if (printWindow.ready) {

*/
// eslint-disable-next-line
export function getInstance(element, component) {
// eslint-disable-next-line
var elem = (typeof (element) === 'string') ? document.querySelector(element) : element;

@@ -492,3 +470,2 @@ if (elem["" + instances]) {

export function addInstance(element, instance) {
// eslint-disable-next-line
var elem = (typeof (element) === 'string') ? document.querySelector(element) : element;

@@ -508,3 +485,2 @@ if (elem["" + instances]) {

*/
// eslint-disable-next-line
export function uniqueID() {

@@ -514,3 +490,2 @@ if ((typeof window) === 'undefined') {

}
// eslint-disable-next-line
var num = new Uint16Array(5);

@@ -517,0 +492,0 @@ var intCrypto = window.msCrypto || window.crypto;

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc