@syncfusion/ej2-base 20.2.36 → 20.2.43
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 +75 -6
- package/bin/syncfusion-license.js +1 -96
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +66 -13
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +66 -13
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/draggable.d.ts +3 -0
- package/src/draggable.js +62 -13
- package/src/touch.js +4 -0
- package/styles/bootstrap-dark.css +31 -1
- package/styles/bootstrap.css +31 -1
- package/styles/bootstrap4.css +31 -1
- package/styles/bootstrap5-dark.css +31 -1
- package/styles/bootstrap5.css +31 -1
- package/styles/definition/_fluent-dark.scss +5 -5
- package/styles/fabric-dark.css +31 -1
- package/styles/fabric.css +31 -1
- package/styles/fluent-dark.css +31 -1
- package/styles/fluent.css +31 -1
- package/styles/highcontrast-light.css +31 -1
- package/styles/highcontrast.css +31 -1
- package/styles/material-dark.css +31 -1
- package/styles/material.css +31 -1
- package/styles/tailwind-dark.css +31 -1
- package/styles/tailwind.css +31 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,24 +2,93 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 20.2.39 (2022-07-19)
|
|
6
|
+
|
|
7
|
+
### Common
|
|
8
|
+
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- `#I372767`, `#I370308` - The empty space issue in `Treeview` component while dragging the element has been resolved.
|
|
12
|
+
|
|
13
|
+
## 20.2.38 (2022-07-12)
|
|
14
|
+
|
|
15
|
+
### Common
|
|
16
|
+
|
|
17
|
+
#### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- `#I383984` - The issue with the "Unwanted swipe event trigger in Firefox browser" has been resolved.
|
|
20
|
+
|
|
21
|
+
## 20.2.36 (2022-06-30)
|
|
22
|
+
|
|
5
23
|
### Common
|
|
6
24
|
|
|
7
25
|
#### New Features
|
|
8
26
|
|
|
9
27
|
- Provided the TypeScript 4.7 compatible support for the EJ2 components.
|
|
28
|
+
- Provided the option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command:
|
|
29
|
+
|
|
30
|
+
| The `npx` command |
|
|
31
|
+
|---|
|
|
32
|
+
| Install the Syncfusion packages from `npm`. |
|
|
33
|
+
| Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
|
|
34
|
+
| Run the command `npx syncfusion-license activate` to automatically register the license. |
|
|
35
|
+
|
|
36
|
+
## 20.1.61 (2022-06-21)
|
|
37
|
+
|
|
38
|
+
### Common
|
|
39
|
+
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- `#F173517` - "The Chart with ngFor data binding is not working" issue has been resolved.
|
|
43
|
+
|
|
44
|
+
## 20.1.60 (2022-06-14)
|
|
45
|
+
|
|
46
|
+
### Common
|
|
47
|
+
|
|
48
|
+
#### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- `#I372767`, `#I370308` - The empty space issue in `Treeview` component while dragging the element has been resolved.
|
|
51
|
+
|
|
52
|
+
## 20.1.56 (2022-05-17)
|
|
53
|
+
|
|
54
|
+
### Common
|
|
55
|
+
|
|
56
|
+
#### Bug Fixes
|
|
57
|
+
|
|
58
|
+
- `#F173666` - The issue with sanitize html while creating a appointment in scheduler has been resolve.
|
|
59
|
+
|
|
60
|
+
## 20.1.55 (2022-05-12)
|
|
61
|
+
|
|
62
|
+
### Common
|
|
63
|
+
|
|
64
|
+
#### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- `#I376600` - The issue with "`IsDevice` value return as false only for Safari browser in iPad" has been resolved.
|
|
67
|
+
|
|
68
|
+
## 20.1.50 (2022-04-19)
|
|
69
|
+
|
|
70
|
+
### Common
|
|
71
|
+
|
|
72
|
+
#### Bug Fixes
|
|
73
|
+
|
|
74
|
+
- `#I370803` - The issue with "Script error occurs while opening the popup in the DropDownList" has been resolved.
|
|
75
|
+
|
|
76
|
+
## 20.1.48 (2022-04-12)
|
|
77
|
+
|
|
78
|
+
### Common
|
|
79
|
+
|
|
80
|
+
#### Bug Fixes
|
|
10
81
|
|
|
11
|
-
-
|
|
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.
|
|
82
|
+
- `#I374390` - Resolved window undefined in server side rendering with React next JS.
|
|
15
83
|
|
|
16
|
-
|
|
84
|
+
## 20.1.47 (2022-04-04)
|
|
17
85
|
|
|
18
86
|
### Common
|
|
19
87
|
|
|
20
88
|
#### Bug Fixes
|
|
21
89
|
|
|
22
|
-
-
|
|
90
|
+
- `#I324684` - Resolved the `Treeview` check box issues in safari browser.
|
|
91
|
+
- `#I342741`, `#F172105`, `#I365783`, `#F172867`, `#I367588`, `#I358914` - Provided the `draggable` support for the mobile and touch devices.
|
|
23
92
|
|
|
24
93
|
## 17.4.51 (2020-02-25)
|
|
25
94
|
|
|
@@ -1,97 +1,2 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
|
-
|
|
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';var _0x13c1ba=_0x5924;(function(_0x130a23,_0x2184b5){var _0x3e880f=_0x5924,_0x1b7ac2=_0x130a23();while(!![]){try{var _0xd3c076=parseInt(_0x3e880f(0x1b1))/0x1*(parseInt(_0x3e880f(0x1ad))/0x2)+parseInt(_0x3e880f(0x1a8))/0x3*(parseInt(_0x3e880f(0x19b))/0x4)+-parseInt(_0x3e880f(0x186))/0x5+-parseInt(_0x3e880f(0x18e))/0x6*(-parseInt(_0x3e880f(0x1ab))/0x7)+-parseInt(_0x3e880f(0x18b))/0x8+-parseInt(_0x3e880f(0x194))/0x9*(parseInt(_0x3e880f(0x18c))/0xa)+-parseInt(_0x3e880f(0x19d))/0xb*(parseInt(_0x3e880f(0x1a0))/0xc);if(_0xd3c076===_0x2184b5)break;else _0x1b7ac2['push'](_0x1b7ac2['shift']());}catch(_0xa52d0f){_0x1b7ac2['push'](_0x1b7ac2['shift']());}}}(_0x39de,0x9f82b));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x13c1ba(0x18d)][_0x13c1ba(0x1ae)](0x2),envKey=process[_0x13c1ba(0x1a5)][_0x13c1ba(0x1a9)];if(args==_0x13c1ba(0x196)){var licKey='';if(fs['existsSync'](_0x13c1ba(0x1a2)))licKey=fs[_0x13c1ba(0x18a)](_0x13c1ba(0x1a2),_0x13c1ba(0x199));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x13c1ba(0x1a3)](';'),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[_0x13c1ba(0x1a1)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x13c1ba(0x1a1)];i++,k++){k===pkey[_0x13c1ba(0x1a1)]&&(k=0x0);var c=decodeStr[_0x13c1ba(0x1b0)](i);buffr+=String['fromCharCode'](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x13c1ba(0x1a3)](';');if(decryptedStr[_0x13c1ba(0x1a1)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0]['currentPlatform']+';'+resultArray[0x0][_0x13c1ba(0x192)]+';'+resultArray[0x0][_0x13c1ba(0x18f)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=['./node_modules/@syncfusion/ej2-base/src/validate-lic.js',_0x13c1ba(0x193),_0x13c1ba(0x1ac),_0x13c1ba(0x1af)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x13c1ba(0x197)](jsFiles[n])){var content=fs[_0x13c1ba(0x18a)](jsFiles[n],'UTF8');content=content[_0x13c1ba(0x19f)](/npxKeyReplace[^"]*/,_0x13c1ba(0x187)+encryptedKey),fs[_0x13c1ba(0x191)](jsFiles[n],content);}}console[_0x13c1ba(0x1a4)](_0x13c1ba(0x1a6));}else console[_0x13c1ba(0x1a4)](_0x13c1ba(0x188));}}else console[_0x13c1ba(0x1a4)](_0x13c1ba(0x190));}else console[_0x13c1ba(0x1a4)](_0x13c1ba(0x198));function getEncryptedKey(_0xe25ebb){var _0x153e8c=_0x13c1ba,_0x4a7953='',_0x2f8330=[],_0x1a1101=[],_0x3fa651=new Array();for(var _0x236401=0x0;_0x236401<_0xe25ebb['length'];_0x236401++){_0x2f8330[_0x236401]=_0xe25ebb[_0x236401][_0x153e8c(0x1b0)](0x0);}for(var _0x4d789f=0x0,_0x4d9912=0x41;_0x4d789f<0x1a;_0x4d789f++,_0x4d9912++){_0x1a1101[_0x4d789f]=String[_0x153e8c(0x189)](_0x4d9912);}var _0x149e98=Math[_0x153e8c(0x19a)](Math[_0x153e8c(0x19c)]()*(_0x1a1101[_0x153e8c(0x1a1)]-0x1-0x0+0x1)+0x0),_0x2f1b35=_0x1a1101[_0x149e98][_0x153e8c(0x1b0)](0x0);for(var _0x236401=0x0;_0x236401<_0xe25ebb[_0x153e8c(0x1a1)];_0x236401++){_0x3fa651[_0x236401]=parseInt(_0x2f8330[_0x236401])+parseInt(_0x1a1101[_0x149e98][_0x153e8c(0x1b0)](0x0));}_0x3fa651[_0x2f8330[_0x153e8c(0x1a1)]]=_0x2f1b35;for(var _0x236401=0x0;_0x236401<_0x3fa651[_0x153e8c(0x1a1)];_0x236401++){_0x4a7953+=String[_0x153e8c(0x189)](_0x3fa651[_0x236401]);}return Buffer[_0x153e8c(0x1a7)](_0x4a7953,_0x153e8c(0x1aa))[_0x153e8c(0x19e)]('base64');}function getDecryptedData(_0x55e2d7){var _0x16aab6=_0x13c1ba;try{return Buffer[_0x16aab6(0x1a7)](_0x55e2d7,'base64')[_0x16aab6(0x19e)](_0x16aab6(0x195));}catch(_0x31439c){return'';}}function _0x5924(_0x3842ad,_0x96c6aa){var _0x39de5c=_0x39de();return _0x5924=function(_0x592408,_0x418c0a){_0x592408=_0x592408-0x186;var _0x23b66d=_0x39de5c[_0x592408];return _0x23b66d;},_0x5924(_0x3842ad,_0x96c6aa);}function _0x39de(){var _0x5be3b9=['./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','31610VGQIoo','slice','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','charCodeAt','81CEFAiR','1400195cGTHLM','npxKeyReplace','(Error)\x20License\x20key\x20is\x20not\x20valid.','fromCharCode','readFileSync','300856vGyIzF','5620KSNeqN','argv','205188JfyEMw','expiryDate','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','writeFileSync','version','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','11574cYjfbt','binary','activate','existsSync','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','UTF8','floor','450132Byiaqs','random','10826299tjLtph','toString','replace','12fEKqJY','length','./syncfusion-license.txt','split','log','env','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','from','9ylVytz','SYNCFUSION_LICENSE','ascii','217BFhaBU'];_0x39de=function(){return _0x5be3b9;};return _0x39de();};process['exit'](0x0);
|