@syncfusion/ej2-base 20.2.36 → 20.2.38

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
@@ -4,22 +4,81 @@
4
4
 
5
5
  ### Common
6
6
 
7
+ #### Bug Fixes
8
+
9
+ - `#I383984` - The issue with the "Unwanted swipe event trigger in Firefox browser" has been resolved.
10
+
11
+ ## 20.2.36 (2022-06-30)
12
+
13
+ ### Common
14
+
7
15
  #### New Features
8
16
 
9
17
  - Provided the TypeScript 4.7 compatible support for the EJ2 components.
18
+ - Provided the option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command:
19
+
20
+ | The `npx` command |
21
+ |---|
22
+ | Install the Syncfusion packages from `npm`. |
23
+ | Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
24
+ | Run the command `npx syncfusion-license activate` to automatically register the license. |
25
+
26
+ ## 20.1.61 (2022-06-21)
27
+
28
+ ### Common
29
+
30
+ #### Bug Fixes
31
+
32
+ - `#F173517` - "The Chart with ngFor data binding is not working" issue has been resolved.
33
+
34
+ ## 20.1.60 (2022-06-14)
35
+
36
+ ### Common
37
+
38
+ #### Bug Fixes
39
+
40
+ - `#I372767`, `#I370308` - The empty space issue in `Treeview` component while dragging the element has been resolved.
41
+
42
+ ## 20.1.56 (2022-05-17)
43
+
44
+ ### Common
45
+
46
+ #### Bug Fixes
47
+
48
+ - `#F173666` - The issue with sanitize html while creating a appointment in scheduler has been resolve.
49
+
50
+ ## 20.1.55 (2022-05-12)
51
+
52
+ ### Common
53
+
54
+ #### Bug Fixes
55
+
56
+ - `#I376600` - The issue with "`IsDevice` value return as false only for Safari browser in iPad" has been resolved.
57
+
58
+ ## 20.1.50 (2022-04-19)
59
+
60
+ ### Common
61
+
62
+ #### Bug Fixes
63
+
64
+ - `#I370803` - The issue with "Script error occurs while opening the popup in the DropDownList" has been resolved.
65
+
66
+ ## 20.1.48 (2022-04-12)
67
+
68
+ ### Common
69
+
70
+ #### Bug Fixes
10
71
 
11
- - Provided option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command:
12
- - - Install the Syncfusion packages from npm.
13
- - - Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file.
14
- - - Run the command `npx syncfusion-license activate` to register the license automatically.
72
+ - `#I374390` - Resolved window undefined in server side rendering with React next JS.
15
73
 
16
- - `#I376821` - Provided support to compile the Sass files using [Dart Sass](https://sass-lang.com/dart-sass) instead of [node-sass](https://github.com/sass/node-sass). This change has been made since `node-sass` has been deprecated.
74
+ ## 20.1.47 (2022-04-04)
17
75
 
18
76
  ### Common
19
77
 
20
78
  #### Bug Fixes
21
79
 
22
- - `I324684` - Resolved the `Treeview` check box issues in safari browser.
80
+ - `#I324684` - Resolved the `Treeview` check box issues in safari browser.
81
+ - `#I342741`, `#F172105`, `#I365783`, `#F172867`, `#I367588`, `#I358914` - Provided the `draggable` support for the mobile and touch devices.
23
82
 
24
83
  ## 17.4.51 (2020-02-25)
25
84
 
@@ -1,97 +1,2 @@
1
1
  #! /usr/bin/env node
2
- "use strict";
3
- var fs = global.fs = global.fs || require('fs');
4
- const args = process.argv.slice(2);
5
- const envKey = process.env.SYNCFUSION_LICENSE;
6
- if (args == 'activate') {
7
- var licKey = '';
8
- if (fs.existsSync('./syncfusion-license.txt')) {
9
- licKey = fs.readFileSync('./syncfusion-license.txt', 'UTF8');
10
- } else if (envKey) {
11
- licKey = envKey;
12
- }
13
- if (licKey != '') {
14
- var licKeySplit = licKey.split(';');
15
- var pkey = [5439488, 7929856, 5111808, 6488064, 4587520, 7667712, 5439488,
16
- 6881280, 5177344, 7208960, 4194304, 4456448, 6619136, 7733248, 5242880, 7077888,
17
- 6356992, 7602176, 4587520, 7274496, 7471104, 7143424];
18
- var decryptedStr = [];
19
- var resultArray = [];
20
- for (var i = 0; i < licKeySplit.length; i++) {
21
- var lKey = licKeySplit[i];
22
- var decodeStr = getDecryptedData(lKey);
23
- if (!decodeStr) {
24
- continue;
25
- }
26
- var k = 0;
27
- var buffr = '';
28
- for (var i = 0; i < decodeStr.length; i++, k++) {
29
- if (k === pkey.length) {
30
- k = 0;
31
- }
32
- var c = decodeStr.charCodeAt(i);
33
- buffr += String.fromCharCode(c ^ (pkey[k] >> 16));
34
- }
35
- decryptedStr = buffr.split(';');
36
- // checked the length to verify the key in proper structure
37
- if (decryptedStr.length > 3) {
38
- resultArray.push({
39
- currentPlatform: decryptedStr[0],
40
- version: decryptedStr[1],
41
- expiryDate: decryptedStr[2]
42
- });
43
- var licData = resultArray[0].currentPlatform + ';' + resultArray[0].version + ';' + resultArray[0].expiryDate + ';';
44
- var encryptedKey = getEncryptedKey(licData);
45
- var jsFiles = ['./node_modules/@syncfusion/ej2-base/src/validate-lic.js', './node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js', './node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js', './node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'];
46
- for (var n = 0; n < jsFiles.length; n++) {
47
- if (fs.existsSync(jsFiles[n])) {
48
- var content = fs.readFileSync(jsFiles[n], "UTF8");
49
- content = content.replace(/npxKeyReplace[^"]*/, 'npxKeyReplace' + encryptedKey);
50
- fs.writeFileSync(jsFiles[n], content);
51
- }
52
- }
53
- console.log('(INFO) Syncfusion License imported successfully.');
54
- } else {
55
- console.log('(Error) License key is not valid.');
56
- }
57
- }
58
- } else {
59
- console.log('Please add the syncfusion-license.txt file or set environment variable SYNCFUSION_LICENSE');
60
- }
61
- } else {
62
- console.log('Supported command: npx syncfusion-license activate');
63
- }
64
-
65
- function getEncryptedKey(uniKey) {
66
- var resKey = '';
67
- var uniVal = [];
68
- var alpVal = [];
69
- var encString = new Array();
70
- for (var i = 0; i < uniKey.length; i++) {
71
- uniVal[i] = uniKey[i].charCodeAt(0);
72
- }
73
- for (var j = 0, m = 65; j < 26; j++, m++) {
74
- alpVal[j] = String.fromCharCode(m);
75
- }
76
- var pos = Math.floor(Math.random() * ((alpVal.length - 1) - 0 + 1) + 0);
77
- var uniAlpVal = alpVal[pos].charCodeAt(0);
78
- for (var i = 0; i < uniKey.length; i++) {
79
- encString[i] = parseInt(uniVal[i]) + parseInt(alpVal[pos].charCodeAt(0));
80
- }
81
- encString[uniVal.length] = uniAlpVal;
82
- for (var i = 0; i < encString.length; i++) {
83
- resKey += String.fromCharCode(encString[i]);
84
- }
85
- return Buffer.from(resKey, 'ascii').toString('base64');
86
- }
87
-
88
- function getDecryptedData(key) {
89
- try {
90
- return Buffer.from(key, 'base64').toString('binary');
91
- }
92
- catch (error) {
93
- return '';
94
- }
95
- };
96
-
97
- process.exit(0);
2
+ 'use strict';function _0x48b9(_0xff7c27,_0x358bb1){var _0x348db2=_0x348d();return _0x48b9=function(_0x48b90d,_0x43142a){_0x48b90d=_0x48b90d-0x18b;var _0x235d20=_0x348db2[_0x48b90d];return _0x235d20;},_0x48b9(_0xff7c27,_0x358bb1);}var _0x2e31f6=_0x48b9;(function(_0x4da1c1,_0x12469d){var _0x512c06=_0x48b9,_0x9e56d8=_0x4da1c1();while(!![]){try{var _0x51a611=parseInt(_0x512c06(0x1ac))/0x1*(parseInt(_0x512c06(0x1a5))/0x2)+parseInt(_0x512c06(0x191))/0x3+-parseInt(_0x512c06(0x1a1))/0x4+parseInt(_0x512c06(0x1b0))/0x5*(parseInt(_0x512c06(0x194))/0x6)+parseInt(_0x512c06(0x19e))/0x7*(-parseInt(_0x512c06(0x18f))/0x8)+-parseInt(_0x512c06(0x196))/0x9+-parseInt(_0x512c06(0x192))/0xa*(-parseInt(_0x512c06(0x1ad))/0xb);if(_0x51a611===_0x12469d)break;else _0x9e56d8['push'](_0x9e56d8['shift']());}catch(_0x560fca){_0x9e56d8['push'](_0x9e56d8['shift']());}}}(_0x348d,0xc9bc3));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x2e31f6(0x19c)][_0x2e31f6(0x19d)](0x2),envKey=process[_0x2e31f6(0x197)][_0x2e31f6(0x18b)];function _0x348d(){var _0x1ae4a6=['slice','3817989RsAQyM','readFileSync','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','3150056zaLEyl','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','currentPlatform','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','298EahxxH','fromCharCode','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','log','split','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','base64','967mQTiHR','4983869pJsiyY','./syncfusion-license.txt','toString','40345rfIOpG','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','charCodeAt','SYNCFUSION_LICENSE','binary','activate','replace','24PKpFGP','expiryDate','2659683BAigGA','60EbIdbz','(Error)\x20License\x20key\x20is\x20not\x20valid.','12CAiRSr','from','4636386eXyNUv','env','length','existsSync','writeFileSync','UTF8','argv'];_0x348d=function(){return _0x1ae4a6;};return _0x348d();}if(args==_0x2e31f6(0x18d)){var licKey='';if(fs[_0x2e31f6(0x199)](_0x2e31f6(0x1ae)))licKey=fs[_0x2e31f6(0x19f)](_0x2e31f6(0x1ae),_0x2e31f6(0x19b));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x2e31f6(0x1a9)](';'),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[_0x2e31f6(0x198)];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[_0x2e31f6(0x1b2)](i);buffr+=String[_0x2e31f6(0x1a6)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x2e31f6(0x1a9)](';');if(decryptedStr[_0x2e31f6(0x198)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x2e31f6(0x1a3)]+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x2e31f6(0x190)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=['./node_modules/@syncfusion/ej2-base/src/validate-lic.js',_0x2e31f6(0x1b1),_0x2e31f6(0x1a0),_0x2e31f6(0x1a4)];for(var n=0x0;n<jsFiles[_0x2e31f6(0x198)];n++){if(fs[_0x2e31f6(0x199)](jsFiles[n])){var content=fs[_0x2e31f6(0x19f)](jsFiles[n],'UTF8');content=content[_0x2e31f6(0x18e)](/npxKeyReplace[^"]*/,'npxKeyReplace'+encryptedKey),fs[_0x2e31f6(0x19a)](jsFiles[n],content);}}console[_0x2e31f6(0x1a8)](_0x2e31f6(0x1a2));}else console['log'](_0x2e31f6(0x193));}}else console['log'](_0x2e31f6(0x1a7));}else console[_0x2e31f6(0x1a8)](_0x2e31f6(0x1aa));function getEncryptedKey(_0x296b88){var _0x196a7a=_0x2e31f6,_0x51b2b1='',_0x6ae4c9=[],_0x4de171=[],_0x45e942=new Array();for(var _0x5480d9=0x0;_0x5480d9<_0x296b88['length'];_0x5480d9++){_0x6ae4c9[_0x5480d9]=_0x296b88[_0x5480d9][_0x196a7a(0x1b2)](0x0);}for(var _0x3b02c4=0x0,_0x35ddf8=0x41;_0x3b02c4<0x1a;_0x3b02c4++,_0x35ddf8++){_0x4de171[_0x3b02c4]=String[_0x196a7a(0x1a6)](_0x35ddf8);}var _0x701d80=Math['floor'](Math['random']()*(_0x4de171[_0x196a7a(0x198)]-0x1-0x0+0x1)+0x0),_0x2d70eb=_0x4de171[_0x701d80][_0x196a7a(0x1b2)](0x0);for(var _0x5480d9=0x0;_0x5480d9<_0x296b88[_0x196a7a(0x198)];_0x5480d9++){_0x45e942[_0x5480d9]=parseInt(_0x6ae4c9[_0x5480d9])+parseInt(_0x4de171[_0x701d80][_0x196a7a(0x1b2)](0x0));}_0x45e942[_0x6ae4c9['length']]=_0x2d70eb;for(var _0x5480d9=0x0;_0x5480d9<_0x45e942['length'];_0x5480d9++){_0x51b2b1+=String['fromCharCode'](_0x45e942[_0x5480d9]);}return Buffer['from'](_0x51b2b1,'ascii')[_0x196a7a(0x1af)](_0x196a7a(0x1ab));}function getDecryptedData(_0x1f21cc){var _0x21e5c5=_0x2e31f6;try{return Buffer[_0x21e5c5(0x195)](_0x1f21cc,_0x21e5c5(0x1ab))[_0x21e5c5(0x1af)](_0x21e5c5(0x18c));}catch(_0x377a20){return'';}};process['exit'](0x0);