@syncfusion/ej2-base 20.3.50 → 20.4.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/.eslintrc.json +16 -1
- package/CHANGELOG.md +1 -17
- package/README.md +4 -5
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +2 -2
- 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 +497 -281
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +285 -210
- 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/e2e/modified-protractor/protractor.config.js +316 -0
- package/e2e/protractor.config.js +56 -24
- package/package.json +44 -8
- package/src/animation.d.ts +4 -0
- package/src/animation.js +7 -1
- package/src/base.js +12 -12
- package/src/browser.js +7 -7
- package/src/child-property.js +10 -10
- package/src/component-model.d.ts +1 -1
- package/src/component.js +29 -8
- package/src/dom.js +10 -10
- package/src/draggable-model.d.ts +21 -8
- package/src/draggable.d.ts +24 -6
- package/src/draggable.js +25 -12
- package/src/event-handler.js +6 -6
- package/src/hijri-parser.js +1 -1
- package/src/intl/date-parser.js +4 -4
- package/src/intl/intl-base.js +4 -4
- package/src/intl/number-formatter.js +3 -3
- package/src/intl/parser-base.js +2 -2
- package/src/keyboard.js +4 -4
- package/src/l10n.js +5 -5
- package/src/module-loader.js +2 -2
- package/src/notify-property-change.js +28 -28
- package/src/observer.js +9 -9
- package/src/sanitize-helper.js +2 -2
- package/src/template-engine.js +14 -14
- package/src/template.js +2 -1
- package/src/util.js +30 -28
- package/src/validate-lic.d.ts +3 -0
- package/src/validate-lic.js +69 -37
- package/styles/bootstrap-dark.css +34 -4
- package/styles/bootstrap.css +34 -4
- package/styles/bootstrap4.css +34 -4
- package/styles/bootstrap5-dark.css +34 -4
- package/styles/bootstrap5.css +34 -4
- package/styles/definition/_bootstrap5-dark.scss +9 -0
- package/styles/definition/_bootstrap5.scss +9 -0
- package/styles/definition/_fluent-dark.scss +9 -0
- package/styles/definition/_fluent.scss +9 -0
- package/styles/definition/_material.scss +3 -0
- package/styles/definition/_tailwind-dark.scss +9 -0
- package/styles/definition/_tailwind.scss +9 -0
- package/styles/fabric-dark.css +38 -5
- package/styles/fabric.css +38 -5
- package/styles/fluent-dark.css +35 -5
- package/styles/fluent.css +35 -5
- package/styles/highcontrast-light.css +41 -5
- package/styles/highcontrast.css +41 -5
- package/styles/material-dark.css +34 -4
- package/styles/material.css +34 -4
- package/styles/offline-theme/material-dark.css +34 -4
- package/styles/offline-theme/material.css +34 -4
- package/styles/offline-theme/tailwind-dark.css +34 -4
- package/styles/offline-theme/tailwind.css +34 -4
- package/styles/tailwind-dark.css +34 -4
- package/styles/tailwind.css +34 -4
package/.eslintrc.json
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
"extends": [
|
|
7
7
|
"eslint:recommended",
|
|
8
8
|
"plugin:@typescript-eslint/recommended",
|
|
9
|
-
"plugin:jsdoc/recommended"
|
|
9
|
+
"plugin:jsdoc/recommended",
|
|
10
|
+
"plugin:security/recommended"
|
|
10
11
|
],
|
|
11
12
|
"parser": "@typescript-eslint/parser",
|
|
12
13
|
"parserOptions": {
|
|
@@ -18,10 +19,24 @@
|
|
|
18
19
|
"plugins": [
|
|
19
20
|
"@typescript-eslint",
|
|
20
21
|
"@typescript-eslint/tslint",
|
|
22
|
+
"eslint-plugin-security",
|
|
21
23
|
"jsdoc"
|
|
22
24
|
],
|
|
23
25
|
"rules": {
|
|
24
26
|
"use-isnan": "error",
|
|
27
|
+
"security/detect-unsafe-regex":"error",
|
|
28
|
+
"security/detect-buffer-noassert":"error",
|
|
29
|
+
"security/detect-child-process":"error",
|
|
30
|
+
"security/detect-disable-mustache-escape":"error",
|
|
31
|
+
"security/detect-eval-with-expression":"error",
|
|
32
|
+
"security/detect-no-csrf-before-method-override":"error",
|
|
33
|
+
"security/detect-non-literal-fs-filename":"error",
|
|
34
|
+
"security/detect-non-literal-regexp":"error",
|
|
35
|
+
"security/detect-non-literal-require":"error",
|
|
36
|
+
"security/detect-object-injection":"error",
|
|
37
|
+
"security/detect-possible-timing-attacks":"error",
|
|
38
|
+
"security/detect-pseudoRandomBytes":"error",
|
|
39
|
+
"security/detect-new-buffer":"error",
|
|
25
40
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
26
41
|
"@typescript-eslint/ban-types": ["warn", {
|
|
27
42
|
"types": {
|
package/CHANGELOG.md
CHANGED
|
@@ -6,23 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
-
- `#
|
|
10
|
-
|
|
11
|
-
## 20.3.49 (2022-10-11)
|
|
12
|
-
|
|
13
|
-
### Common
|
|
14
|
-
|
|
15
|
-
#### Bug Fixes
|
|
16
|
-
|
|
17
|
-
- `#SF395268`, `#SF395314` - The issue "Drag area is not getting properly when setting a value for `margin-top`" has been resolved.
|
|
18
|
-
|
|
19
|
-
## 20.3.47 (2022-09-29)
|
|
20
|
-
|
|
21
|
-
### Common
|
|
22
|
-
|
|
23
|
-
#### Bug Fixes
|
|
24
|
-
|
|
25
|
-
- The issue with the "React template element is not getting in the Grid `queryCellInfo` event" has been resolved.
|
|
9
|
+
- `#I421652` - The issue with the "gulp is added to the dependency package in the ej2 package" has been resolved.
|
|
26
10
|
|
|
27
11
|
## 20.3.47 (2022-09-29)
|
|
28
12
|
|
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
A common package of Essential JS 2 which contains base libraries, methods and class definitions.
|
|
4
4
|
|
|
5
|
-
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA
|
|
5
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of [Syncfusion's EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase [here](https://www.syncfusion.com/sales/products) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials).
|
|
6
6
|
>
|
|
7
|
-
> A free community license
|
|
7
|
+
> A free [community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
8
8
|
|
|
9
9
|
## Setup
|
|
10
10
|
|
|
@@ -90,12 +90,11 @@ Product support is available for through following mediums.
|
|
|
90
90
|
* Ask your query in [Stack Overflow](https://stackoverflow.com/) with tag `syncfusion` and `ej2`.
|
|
91
91
|
|
|
92
92
|
## License
|
|
93
|
-
|
|
94
|
-
Check the license detail [here](https://github.com/syncfusion/ej2-base/blob/master/license).
|
|
93
|
+
Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license).
|
|
95
94
|
|
|
96
95
|
## Changelog
|
|
97
96
|
|
|
98
|
-
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes
|
|
97
|
+
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes/index/?utm_source=npm&utm_campaign=ej2-base).
|
|
99
98
|
|
|
100
99
|
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
101
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
|
|
2
|
+
'use strict';var _0x4fa54b=_0x4806;(function(_0x481fb9,_0x4e32d3){var _0x125b5e=_0x4806,_0x320c0a=_0x481fb9();while(!![]){try{var _0x16b268=-parseInt(_0x125b5e(0x160))/0x1+parseInt(_0x125b5e(0x15d))/0x2+parseInt(_0x125b5e(0x155))/0x3+parseInt(_0x125b5e(0x163))/0x4+-parseInt(_0x125b5e(0x15e))/0x5+parseInt(_0x125b5e(0x16c))/0x6*(parseInt(_0x125b5e(0x154))/0x7)+-parseInt(_0x125b5e(0x152))/0x8;if(_0x16b268===_0x4e32d3)break;else _0x320c0a['push'](_0x320c0a['shift']());}catch(_0x416db9){_0x320c0a['push'](_0x320c0a['shift']());}}}(_0x33e4,0x26ca6));var fs=global['fs']=global['fs']||require('fs');const args=process['argv']['slice'](0x2),envKey=process[_0x4fa54b(0x16d)]['SYNCFUSION_LICENSE'];if(args=='activate'){var licKey='';if(fs[_0x4fa54b(0x16a)]('./syncfusion-license.txt'))licKey=fs['readFileSync'](_0x4fa54b(0x170),_0x4fa54b(0x15f));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey['split'](';'),pkey=[0x530000,0x790000,0x4e0000,0x630000,0x460000,0x750000,0x530000,0x690000,0x4f0000,0x6e0000,0x400000,0x440000,0x650000,0x760000,0x500000,0x6c0000,0x610000,0x740000,0x460000,0x6f0000,0x720000,0x6d0000],decryptedStr=[],resultArray=[];for(var i=0x0;i<licKeySplit['length'];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr['length'];i++,k++){k===pkey[_0x4fa54b(0x159)]&&(k=0x0);var c=decodeStr[_0x4fa54b(0x16b)](i);buffr+=String[_0x4fa54b(0x167)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x4fa54b(0x174)](';');if(decryptedStr[_0x4fa54b(0x159)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x4fa54b(0x169)]+';'+resultArray[0x0][_0x4fa54b(0x161)]+';'+resultArray[0x0][_0x4fa54b(0x165)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x4fa54b(0x166),_0x4fa54b(0x164),_0x4fa54b(0x151),_0x4fa54b(0x153)];for(var n=0x0;n<jsFiles[_0x4fa54b(0x159)];n++){if(fs[_0x4fa54b(0x16a)](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],_0x4fa54b(0x15f)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x4fa54b(0x16e)](regex,'npxKeyReplace'+encryptedKey),fs[_0x4fa54b(0x158)](jsFiles[n],content);}}console[_0x4fa54b(0x156)](_0x4fa54b(0x168));}else console[_0x4fa54b(0x156)](_0x4fa54b(0x171));}}else console['log']('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x4fa54b(0x156)](_0x4fa54b(0x157));function getEncryptedKey(_0x31da38){var _0x20b4f4=_0x4fa54b,_0x523b06='',_0x28a839=[],_0x25ff58=[],_0x40e85a=new Array();for(var _0x2e0225=0x0;_0x2e0225<_0x31da38['length'];_0x2e0225++){_0x28a839[_0x2e0225]=_0x31da38[_0x2e0225]['charCodeAt'](0x0);}for(var _0x53f1ab=0x0,_0x10a30c=0x41;_0x53f1ab<0x1a;_0x53f1ab++,_0x10a30c++){_0x25ff58[_0x53f1ab]=String[_0x20b4f4(0x167)](_0x10a30c);}var _0x2b44ab=Math[_0x20b4f4(0x15a)](Math[_0x20b4f4(0x172)]()*(_0x25ff58['length']-0x1-0x0+0x1)+0x0),_0x2bec68=_0x25ff58[_0x2b44ab][_0x20b4f4(0x16b)](0x0);for(var _0x2e0225=0x0;_0x2e0225<_0x31da38[_0x20b4f4(0x159)];_0x2e0225++){_0x40e85a[_0x2e0225]=parseInt(_0x28a839[_0x2e0225])+parseInt(_0x25ff58[_0x2b44ab]['charCodeAt'](0x0));}_0x40e85a[_0x28a839[_0x20b4f4(0x159)]]=_0x2bec68;for(var _0x2e0225=0x0;_0x2e0225<_0x40e85a['length'];_0x2e0225++){_0x523b06+=String[_0x20b4f4(0x167)](_0x40e85a[_0x2e0225]);}return Buffer['from'](_0x523b06,'ascii')[_0x20b4f4(0x173)](_0x20b4f4(0x15c));}function _0x4806(_0x4924fa,_0x274728){var _0x33e4b6=_0x33e4();return _0x4806=function(_0x48066f,_0x3060dd){_0x48066f=_0x48066f-0x151;var _0x144515=_0x33e4b6[_0x48066f];return _0x144515;},_0x4806(_0x4924fa,_0x274728);}function getDecryptedData(_0xce2f45){var _0x3957cd=_0x4fa54b;try{return Buffer[_0x3957cd(0x162)](_0xce2f45,'base64')[_0x3957cd(0x173)](_0x3957cd(0x15b));}catch(_0x489f83){return'';}}function _0x33e4(){var _0x85753b=['toString','split','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','1246600trrBlN','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','11403ScUYpZ','749202eeIlot','log','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','writeFileSync','length','floor','binary','base64','198864kuNZZK','286210dePWll','UTF8','113444DcFUhk','version','from','440668sNYgQl','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','expiryDate','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','fromCharCode','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','currentPlatform','existsSync','charCodeAt','96dqVUkZ','env','replace','exit','./syncfusion-license.txt','(Error)\x20License\x20key\x20is\x20not\x20valid.','random'];_0x33e4=function(){return _0x85753b;};return _0x33e4();};process[_0x4fa54b(0x16f)](0x0);
|