@syncfusion/ej2-base 20.3.56 → 20.4.40
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 +2 -18
- 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 +488 -280
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +276 -209
- 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 +28 -15
- package/package.json +6 -22
- 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 +26 -7
- 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 +19 -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/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/.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
|
@@ -2,29 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
## 20.
|
|
5
|
+
## 20.4.38 (2022-12-21)
|
|
6
6
|
|
|
7
7
|
### Common
|
|
8
8
|
|
|
9
9
|
#### Bug Fixes
|
|
10
10
|
|
|
11
|
-
- `#
|
|
12
|
-
|
|
13
|
-
## 20.3.49 (2022-10-11)
|
|
14
|
-
|
|
15
|
-
### Common
|
|
16
|
-
|
|
17
|
-
#### Bug Fixes
|
|
18
|
-
|
|
19
|
-
- `#SF395268`, `#SF395314` - The issue "Drag area is not getting properly when setting a value for `margin-top`" has been resolved.
|
|
20
|
-
|
|
21
|
-
## 20.3.47 (2022-09-29)
|
|
22
|
-
|
|
23
|
-
### Common
|
|
24
|
-
|
|
25
|
-
#### Bug Fixes
|
|
26
|
-
|
|
27
|
-
- The issue with the "React template element is not getting in the Grid `queryCellInfo` event" has been resolved.
|
|
11
|
+
- `#I421652` - The issue with the "gulp is added to the dependency package in the ej2 package" has been resolved.
|
|
28
12
|
|
|
29
13
|
## 20.3.47 (2022-09-29)
|
|
30
14
|
|
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 _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);
|