@syncfusion/ej2-base 20.4.40 → 20.4.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Common
6
+
7
+ #### Bug Fixes
8
+
9
+ - `I427250` - Resolved window undefined in server side rendering with React next JS.
10
+
5
11
  ## 20.4.38 (2022-12-21)
6
12
 
7
13
  ### Common
package/README.md CHANGED
@@ -96,5 +96,5 @@ Product support is available for through following mediums.
96
96
 
97
97
  Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes/index/?utm_source=npm&utm_campaign=ej2-base).
98
98
 
99
- © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
99
+ © Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
100
100
  The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,2 +1,2 @@
1
1
  #! /usr/bin/env node
2
- 'use strict';var _0x18fb78=_0x56b8;(function(_0x267a58,_0x443587){var _0x22e3d2=_0x56b8,_0x94ac25=_0x267a58();while(!![]){try{var _0x3f52b4=-parseInt(_0x22e3d2(0xbb))/0x1*(-parseInt(_0x22e3d2(0xa7))/0x2)+parseInt(_0x22e3d2(0xb6))/0x3+-parseInt(_0x22e3d2(0xb1))/0x4+-parseInt(_0x22e3d2(0x9b))/0x5*(-parseInt(_0x22e3d2(0xaf))/0x6)+parseInt(_0x22e3d2(0xa4))/0x7*(parseInt(_0x22e3d2(0x9e))/0x8)+-parseInt(_0x22e3d2(0xae))/0x9+parseInt(_0x22e3d2(0x98))/0xa*(-parseInt(_0x22e3d2(0xb7))/0xb);if(_0x3f52b4===_0x443587)break;else _0x94ac25['push'](_0x94ac25['shift']());}catch(_0x51308a){_0x94ac25['push'](_0x94ac25['shift']());}}}(_0x535c,0x2445a));var fs=global['fs']=global['fs']||require('fs');function _0x56b8(_0xa965e1,_0x2ff7ab){var _0x535c3f=_0x535c();return _0x56b8=function(_0x56b803,_0x15ebdf){_0x56b803=_0x56b803-0x98;var _0x451499=_0x535c3f[_0x56b803];return _0x451499;},_0x56b8(_0xa965e1,_0x2ff7ab);}const args=process[_0x18fb78(0xb3)]['slice'](0x2),envKey=process[_0x18fb78(0xa3)][_0x18fb78(0xb2)];if(args==_0x18fb78(0xa1)){var licKey='';if(fs[_0x18fb78(0xa0)](_0x18fb78(0x9a)))licKey=fs['readFileSync'](_0x18fb78(0x9a),'UTF8');else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x18fb78(0xab)](';'),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[_0x18fb78(0xbf)];i++,k++){k===pkey[_0x18fb78(0xbf)]&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x18fb78(0xa6)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x18fb78(0xab)](';');if(decryptedStr[_0x18fb78(0xbf)]>0x3){resultArray[_0x18fb78(0xa2)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0]['currentPlatform']+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x18fb78(0xc2)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x18fb78(0xa8),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x18fb78(0xbc),_0x18fb78(0x99)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x18fb78(0xa0)](jsFiles[n])){var content=fs[_0x18fb78(0xb0)](jsFiles[n],_0x18fb78(0xad)),regex=jsFiles[n]===_0x18fb78(0x99)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x18fb78(0xba)](regex,_0x18fb78(0xb5)+encryptedKey),fs[_0x18fb78(0x9c)](jsFiles[n],content);}}console['log']('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console[_0x18fb78(0xc0)](_0x18fb78(0xb4));}}else console[_0x18fb78(0xc0)](_0x18fb78(0xb8));}else console[_0x18fb78(0xc0)](_0x18fb78(0xb9));function getEncryptedKey(_0x2e9859){var _0x55b3d0=_0x18fb78,_0x2c6464='',_0x479c8d=[],_0x49a054=[],_0x42ad77=new Array();for(var _0x346caf=0x0;_0x346caf<_0x2e9859[_0x55b3d0(0xbf)];_0x346caf++){_0x479c8d[_0x346caf]=_0x2e9859[_0x346caf][_0x55b3d0(0xa9)](0x0);}for(var _0x57b88e=0x0,_0x54b464=0x41;_0x57b88e<0x1a;_0x57b88e++,_0x54b464++){_0x49a054[_0x57b88e]=String['fromCharCode'](_0x54b464);}var _0x16767a=Math[_0x55b3d0(0x9d)](Math[_0x55b3d0(0x9f)]()*(_0x49a054[_0x55b3d0(0xbf)]-0x1-0x0+0x1)+0x0),_0x8681ef=_0x49a054[_0x16767a]['charCodeAt'](0x0);for(var _0x346caf=0x0;_0x346caf<_0x2e9859[_0x55b3d0(0xbf)];_0x346caf++){_0x42ad77[_0x346caf]=parseInt(_0x479c8d[_0x346caf])+parseInt(_0x49a054[_0x16767a][_0x55b3d0(0xa9)](0x0));}_0x42ad77[_0x479c8d[_0x55b3d0(0xbf)]]=_0x8681ef;for(var _0x346caf=0x0;_0x346caf<_0x42ad77[_0x55b3d0(0xbf)];_0x346caf++){_0x2c6464+=String[_0x55b3d0(0xa6)](_0x42ad77[_0x346caf]);}return Buffer['from'](_0x2c6464,_0x55b3d0(0xc1))['toString']('base64');}function getDecryptedData(_0xfe6925){var _0x47bb6a=_0x18fb78;try{return Buffer[_0x47bb6a(0xbe)](_0xfe6925,_0x47bb6a(0xac))[_0x47bb6a(0xbd)](_0x47bb6a(0xa5));}catch(_0x4a11e9){return'';}};function _0x535c(){var _0x1cafac=['from','length','log','ascii','expiryDate','6230ECXGZH','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','./syncfusion-license.txt','5kUMlJg','writeFileSync','floor','33432aPyRDy','random','existsSync','activate','push','env','413vrijZq','binary','fromCharCode','24842CvuQPt','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','charCodeAt','exit','split','base64','UTF8','2093733XJQKjc','13938kEcOAC','readFileSync','33632maitoZ','SYNCFUSION_LICENSE','argv','(Error)\x20License\x20key\x20is\x20not\x20valid.','npxKeyReplace','222912PTgWfF','143yJswyL','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','replace','6ahYmOH','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','toString'];_0x535c=function(){return _0x1cafac;};return _0x535c();}process[_0x18fb78(0xaa)](0x0);
2
+ 'use strict';var _0x58b776=_0x23d9;(function(_0x3e1d35,_0x3f5ad8){var _0x2c46a3=_0x23d9,_0xf78ee2=_0x3e1d35();while(!![]){try{var _0x1efd9c=-parseInt(_0x2c46a3(0x8f))/0x1+-parseInt(_0x2c46a3(0x87))/0x2+-parseInt(_0x2c46a3(0x88))/0x3+-parseInt(_0x2c46a3(0x85))/0x4+-parseInt(_0x2c46a3(0x90))/0x5+parseInt(_0x2c46a3(0x8d))/0x6+parseInt(_0x2c46a3(0x82))/0x7*(parseInt(_0x2c46a3(0x8a))/0x8);if(_0x1efd9c===_0x3f5ad8)break;else _0xf78ee2['push'](_0xf78ee2['shift']());}catch(_0x1b65ae){_0xf78ee2['push'](_0xf78ee2['shift']());}}}(_0x1167,0x855b1));var fs=global['fs']=global['fs']||require('fs');const args=process['argv'][_0x58b776(0x86)](0x2),envKey=process[_0x58b776(0x98)]['SYNCFUSION_LICENSE'];if(args==_0x58b776(0x99)){var licKey='';if(fs[_0x58b776(0x83)](_0x58b776(0x9a)))licKey=fs[_0x58b776(0x7d)]('./syncfusion-license.txt',_0x58b776(0x8e));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x58b776(0x7a)](';'),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[_0x58b776(0x79)];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['length']&&(k=0x0);var c=decodeStr[_0x58b776(0x7f)](i);buffr+=String[_0x58b776(0x7e)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x58b776(0x7a)](';');if(decryptedStr[_0x58b776(0x79)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x58b776(0x93)]+';'+resultArray[0x0][_0x58b776(0x84)]+';'+resultArray[0x0][_0x58b776(0x94)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x58b776(0x8c),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x58b776(0x92),_0x58b776(0x89)];for(var n=0x0;n<jsFiles[_0x58b776(0x79)];n++){if(fs[_0x58b776(0x83)](jsFiles[n])){var content=fs[_0x58b776(0x7d)](jsFiles[n],_0x58b776(0x8e)),regex=jsFiles[n]===_0x58b776(0x89)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content['replace'](regex,_0x58b776(0x8b)+encryptedKey),fs['writeFileSync'](jsFiles[n],content);}}console[_0x58b776(0x7c)]('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console[_0x58b776(0x7c)]('(Error)\x20License\x20key\x20is\x20not\x20valid.');}}else console[_0x58b776(0x7c)](_0x58b776(0x77));}else console[_0x58b776(0x7c)](_0x58b776(0x81));function getEncryptedKey(_0x5ec99b){var _0x2398a0=_0x58b776,_0x1b4c26='',_0x304324=[],_0x414e9c=[],_0x25a2cd=new Array();for(var _0x4e3af6=0x0;_0x4e3af6<_0x5ec99b[_0x2398a0(0x79)];_0x4e3af6++){_0x304324[_0x4e3af6]=_0x5ec99b[_0x4e3af6][_0x2398a0(0x7f)](0x0);}for(var _0xfe2582=0x0,_0x420cd4=0x41;_0xfe2582<0x1a;_0xfe2582++,_0x420cd4++){_0x414e9c[_0xfe2582]=String[_0x2398a0(0x7e)](_0x420cd4);}var _0xc3dce5=Math[_0x2398a0(0x80)](Math[_0x2398a0(0x7b)]()*(_0x414e9c[_0x2398a0(0x79)]-0x1-0x0+0x1)+0x0),_0x323e72=_0x414e9c[_0xc3dce5][_0x2398a0(0x7f)](0x0);for(var _0x4e3af6=0x0;_0x4e3af6<_0x5ec99b[_0x2398a0(0x79)];_0x4e3af6++){_0x25a2cd[_0x4e3af6]=parseInt(_0x304324[_0x4e3af6])+parseInt(_0x414e9c[_0xc3dce5][_0x2398a0(0x7f)](0x0));}_0x25a2cd[_0x304324[_0x2398a0(0x79)]]=_0x323e72;for(var _0x4e3af6=0x0;_0x4e3af6<_0x25a2cd[_0x2398a0(0x79)];_0x4e3af6++){_0x1b4c26+=String[_0x2398a0(0x7e)](_0x25a2cd[_0x4e3af6]);}return Buffer[_0x2398a0(0x97)](_0x1b4c26,_0x2398a0(0x91))[_0x2398a0(0x78)](_0x2398a0(0x95));}function getDecryptedData(_0x226889){var _0x556b82=_0x58b776;try{return Buffer[_0x556b82(0x97)](_0x226889,_0x556b82(0x95))[_0x556b82(0x78)](_0x556b82(0x96));}catch(_0x2a7717){return'';}};function _0x1167(){var _0x3d7fd1=['activate','./syncfusion-license.txt','exit','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','toString','length','split','random','log','readFileSync','fromCharCode','charCodeAt','floor','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','7tJddUA','existsSync','version','1110732MIvDyk','slice','1020696HyCrsj','1114599liDaPd','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','21923816gBRycb','npxKeyReplace','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','3644718oOMFfX','UTF8','1052450AoemeT','2948455JUfAOm','ascii','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','currentPlatform','expiryDate','base64','binary','from','env'];_0x1167=function(){return _0x3d7fd1;};return _0x1167();}function _0x23d9(_0x4792b5,_0x1dfe04){var _0x116741=_0x1167();return _0x23d9=function(_0x23d938,_0x5ef97e){_0x23d938=_0x23d938-0x77;var _0x5c6a32=_0x116741[_0x23d938];return _0x5c6a32;},_0x23d9(_0x4792b5,_0x1dfe04);}process[_0x58b776(0x9b)](0x0);