@syncfusion/ej2-base 24.2.7 → 25.1.35-579988

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.
Files changed (163) hide show
  1. package/.eslintrc.json +2 -1
  2. package/CHANGELOG.md +641 -677
  3. package/{README.md → ReadMe.md} +100 -100
  4. package/dist/ej2-base.umd.min.js +1 -10
  5. package/dist/ej2-base.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-base.es2015.js +178 -1025
  7. package/dist/es6/ej2-base.es2015.js.map +1 -1
  8. package/dist/es6/ej2-base.es5.js +226 -934
  9. package/dist/es6/ej2-base.es5.js.map +1 -1
  10. package/dist/global/ej2-base.min.js +1 -10
  11. package/dist/global/ej2-base.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/ajax.ts +236 -0
  14. package/dist/ts/animation.ts +544 -0
  15. package/dist/ts/base.ts +357 -0
  16. package/dist/ts/browser.ts +387 -0
  17. package/dist/ts/child-property.ts +192 -0
  18. package/dist/ts/component.ts +519 -0
  19. package/dist/ts/dom.ts +488 -0
  20. package/dist/ts/draggable.ts +1155 -0
  21. package/dist/ts/droppable.ts +172 -0
  22. package/dist/ts/event-handler.ts +169 -0
  23. package/dist/ts/internationalization.ts +369 -0
  24. package/dist/ts/intl/date-formatter.ts +317 -0
  25. package/dist/ts/intl/date-parser.ts +426 -0
  26. package/dist/ts/intl/intl-base.ts +1104 -0
  27. package/dist/ts/intl/number-formatter.ts +411 -0
  28. package/dist/ts/intl/number-parser.ts +158 -0
  29. package/dist/ts/intl/parser-base.ts +394 -0
  30. package/dist/ts/keyboard.ts +238 -0
  31. package/dist/ts/l10n.ts +94 -0
  32. package/dist/ts/module-loader.ts +149 -0
  33. package/dist/ts/notify-property-change.ts +726 -0
  34. package/dist/ts/observer.ts +236 -0
  35. package/dist/ts/sanitize-helper.ts +224 -0
  36. package/dist/ts/template-engine.ts +191 -0
  37. package/dist/ts/template.ts +329 -0
  38. package/dist/ts/touch.ts +544 -0
  39. package/dist/ts/util.ts +523 -0
  40. package/dist/ts/validate-lic.ts +0 -0
  41. package/e2e/crypto.js +16 -16
  42. package/e2e/m.protractor.config.js +286 -286
  43. package/e2e/modified-protractor/protractor.config.js +316 -316
  44. package/e2e/protractor.config.js +389 -332
  45. package/helpers/e2e/index.js +3 -3
  46. package/license +10 -10
  47. package/package.json +225 -174
  48. package/src/ajax.d.ts +1 -1
  49. package/src/ajax.js +3 -8
  50. package/src/animation-model.d.ts +41 -41
  51. package/src/animation.d.ts +6 -6
  52. package/src/animation.js +25 -25
  53. package/src/base.d.ts +2 -1
  54. package/src/base.js +9 -7
  55. package/src/component-model.d.ts +16 -16
  56. package/src/component.d.ts +9 -3
  57. package/src/component.js +50 -38
  58. package/src/draggable-model.d.ts +113 -113
  59. package/src/draggable.d.ts +2 -0
  60. package/src/draggable.js +45 -29
  61. package/src/droppable-model.d.ts +23 -23
  62. package/src/droppable.js +19 -19
  63. package/src/event-handler.js +2 -1
  64. package/src/index.d.ts +0 -3
  65. package/src/index.js +0 -3
  66. package/src/intl/date-formatter.js +2 -6
  67. package/src/intl/date-parser.js +1 -20
  68. package/src/intl/intl-base.js +1 -164
  69. package/src/intl/number-formatter.d.ts +3 -0
  70. package/src/intl/number-formatter.js +7 -7
  71. package/src/intl/number-parser.js +1 -0
  72. package/src/keyboard-model.d.ts +16 -16
  73. package/src/keyboard.js +19 -19
  74. package/src/module-loader.d.ts +12 -0
  75. package/src/module-loader.js +11 -0
  76. package/src/notify-property-change.js +3 -2
  77. package/src/observer.js +2 -0
  78. package/src/sanitize-helper.js +5 -0
  79. package/src/template-engine.js +1 -0
  80. package/src/template.js +3 -2
  81. package/src/touch-model.d.ts +39 -39
  82. package/src/touch.js +19 -19
  83. package/src/validate-lic.d.ts +0 -11
  84. package/src/validate-lic.js +1 -259
  85. package/styles/_all.scss +2 -2
  86. package/styles/_bds-dark-definition.scss +15 -0
  87. package/styles/_bds-definition.scss +15 -0
  88. package/styles/_bootstrap-dark-definition.scss +42 -42
  89. package/styles/_bootstrap-definition.scss +42 -42
  90. package/styles/_bootstrap4-definition.scss +11 -11
  91. package/styles/_bootstrap5-dark-definition.scss +9 -9
  92. package/styles/_bootstrap5-definition.scss +8 -8
  93. package/styles/_fabric-dark-definition.scss +42 -42
  94. package/styles/_fabric-definition.scss +42 -42
  95. package/styles/_fluent-dark-definition.scss +9 -9
  96. package/styles/_fluent-definition.scss +9 -9
  97. package/styles/_fluent2-definition.scss +9 -0
  98. package/styles/_fusionnew-dark-definition.scss +8 -8
  99. package/styles/_fusionnew-definition.scss +8 -8
  100. package/styles/_highcontrast-definition.scss +42 -42
  101. package/styles/_highcontrast-light-definition.scss +42 -42
  102. package/styles/_material-dark-definition.scss +48 -48
  103. package/styles/_material-definition.scss +49 -49
  104. package/styles/_material3-dark-definition.scss +14 -14
  105. package/styles/_material3-definition.scss +15 -15
  106. package/styles/_tailwind-dark-definition.scss +15 -15
  107. package/styles/_tailwind-definition.scss +15 -15
  108. package/styles/animation/_all.scss +560 -560
  109. package/styles/bootstrap-dark.css +10 -1
  110. package/styles/bootstrap.css +10 -1
  111. package/styles/bootstrap4.css +10 -1
  112. package/styles/bootstrap5-dark.css +10 -1
  113. package/styles/bootstrap5.css +10 -1
  114. package/styles/common/_all.scss +2 -2
  115. package/styles/common/_core.scss +117 -117
  116. package/styles/common/_mixin.scss +9 -9
  117. package/styles/definition/_bds-dark.scss +1179 -0
  118. package/styles/definition/_bds.scss +1474 -0
  119. package/styles/definition/_bootstrap-dark.scss +219 -219
  120. package/styles/definition/_bootstrap.scss +215 -215
  121. package/styles/definition/_bootstrap4.scss +167 -167
  122. package/styles/definition/_bootstrap5-dark.scss +493 -493
  123. package/styles/definition/_bootstrap5.scss +494 -494
  124. package/styles/definition/_fabric-dark.scss +200 -200
  125. package/styles/definition/_fabric.scss +198 -198
  126. package/styles/definition/_fluent-dark.scss +557 -557
  127. package/styles/definition/_fluent.scss +558 -558
  128. package/styles/definition/_fluent2.scss +2198 -0
  129. package/styles/definition/_fusionnew-dark.scss +362 -362
  130. package/styles/definition/_fusionnew.scss +363 -363
  131. package/styles/definition/_highcontrast-light.scss +193 -193
  132. package/styles/definition/_highcontrast.scss +195 -195
  133. package/styles/definition/_material-dark.scss +198 -198
  134. package/styles/definition/_material.scss +192 -192
  135. package/styles/definition/_material3-dark.scss +710 -710
  136. package/styles/definition/_material3.scss +792 -792
  137. package/styles/definition/_tailwind-dark.scss +488 -488
  138. package/styles/definition/_tailwind.scss +485 -485
  139. package/styles/fabric-dark.css +10 -1
  140. package/styles/fabric.css +10 -1
  141. package/styles/fluent-dark.css +10 -1
  142. package/styles/fluent.css +10 -1
  143. package/styles/highcontrast-light.css +10 -1
  144. package/styles/highcontrast.css +10 -1
  145. package/styles/material-dark.css +10 -1
  146. package/styles/material.css +10 -1
  147. package/styles/material3-dark.css +10 -1
  148. package/styles/material3.css +10 -1
  149. package/styles/offline-theme/material-dark.css +10 -1
  150. package/styles/offline-theme/material.css +10 -1
  151. package/styles/offline-theme/tailwind-dark.css +10 -1
  152. package/styles/offline-theme/tailwind.css +10 -1
  153. package/styles/tailwind-dark.css +10 -1
  154. package/styles/tailwind.css +10 -1
  155. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -60
  156. package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -42
  157. package/bin/syncfusion-license.js +0 -2
  158. package/dist/ej2-base.min.js +0 -10
  159. package/e2e/index.d.ts +0 -27
  160. package/src/fetch.d.ts +0 -114
  161. package/src/fetch.js +0 -116
  162. package/src/hijri-parser.d.ts +0 -19
  163. package/src/hijri-parser.js +0 -204
@@ -1,60 +0,0 @@
1
- ### Bug description
2
-
3
- Clearly and concisely describe the problem or feature (this cannot be empty).
4
-
5
- ### Root cause
6
-
7
- Briefly describe the root cause and analysis of the problem.
8
- If there is an internal discussion on the forum, provide the link.
9
- ### Reason for not identifying earlier
10
-
11
- Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
12
-
13
- - [ ] Guidelines/documents are not followed
14
-
15
- - Common guidelines / Core team guideline
16
- - Specification document
17
- - Requirement document
18
-
19
- - [ ] Guidelines/documents are not given
20
-
21
-
22
- - Common guidelines / Core team guideline
23
- - Specification document
24
- - Requirement document
25
-
26
-
27
- ### Reason:
28
- Mention any one or more reasons from the above points.
29
-
30
- ### Action taken:
31
- What action did you take to avoid this in future?
32
-
33
- ### Related areas:
34
- Is there any other related areas also to be addressed?
35
-
36
-
37
- ### Is it a breaking issue?
38
-
39
- If it is a breaking issue, provide the commit detail which caused this break.
40
-
41
- ### Solution description
42
-
43
- Describe your code changes in detail for reviewers.
44
-
45
- ### Output screenshots
46
-
47
- Post the output screenshots if an UI is affected or added due to this bug.
48
- ### Areas affected and ensured
49
-
50
- List the areas affected by your code changes.
51
-
52
- ### Additional checklist
53
- This may vary for different teams or products. Check with your scrum masters.
54
-
55
- - Did you run the automation against your fix?
56
- - Is there any API name change?
57
- - Is there any existing behavior change of other features due to this code change?
58
- - Does your new code introduce new warnings or binding errors?
59
- - Does your code pass all FxCop and StyleCop rules?
60
- - Did you record this case in the unit test or UI test?
@@ -1,42 +0,0 @@
1
- ### Feature description
2
-
3
- Clearly and concisely describe the problem or feature (this cannot be empty).
4
-
5
- ### Analysis and design
6
-
7
- If there is an external design, link to its project documentation area.
8
- If there is an internal discussion on the forum, provide the link.
9
- ### Solution description
10
-
11
- Describe your code changes in detail for reviewers.
12
-
13
- ### Output screenshots
14
-
15
- Post the output screenshots if an UI is affected or added due to this feature.
16
- ### Areas affected and ensured
17
-
18
- List the areas are affected by your code changes.
19
-
20
- ### Test cases
21
-
22
- Provide the unit testing written file details to understand the use cases considered in this implementation.
23
- If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
24
- Provide the test cases Excel file alone if the feature cannot be automated in any case.
25
- Test bed sample location
26
-
27
- Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
28
-
29
- ### Test bed sample location
30
-
31
- Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
32
-
33
-
34
- ### Additional checklist
35
- This may vary for different teams or products. Check with your scrum masters.
36
-
37
- - Did you run the automation against your fix?
38
- - Is there any API name change?
39
- - Is there any existing behavior change of other features due to this code change?
40
- - Does your new code introduce new warnings or binding errors?
41
- - Does your code pass all FxCop and StyleCop rules?
42
- - Did you record this case in the unit test or UI test?
@@ -1,2 +0,0 @@
1
- #! /usr/bin/env node
2
- 'use strict';var _0x2d1927=_0x3f2d;(function(_0xd3541e,_0x5174c1){var _0x4badaf=_0x3f2d,_0xe613ef=_0xd3541e();while(!![]){try{var _0x2f778c=parseInt(_0x4badaf(0x88))/0x1*(parseInt(_0x4badaf(0x96))/0x2)+parseInt(_0x4badaf(0x8c))/0x3+parseInt(_0x4badaf(0x8f))/0x4+parseInt(_0x4badaf(0x81))/0x5+-parseInt(_0x4badaf(0x86))/0x6*(parseInt(_0x4badaf(0x79))/0x7)+-parseInt(_0x4badaf(0x7a))/0x8*(-parseInt(_0x4badaf(0x76))/0x9)+-parseInt(_0x4badaf(0x97))/0xa;if(_0x2f778c===_0x5174c1)break;else _0xe613ef['push'](_0xe613ef['shift']());}catch(_0x3b3d4d){_0xe613ef['push'](_0xe613ef['shift']());}}}(_0x4a72,0x35988));function _0x3f2d(_0x408795,_0x223e63){var _0x4a72cc=_0x4a72();return _0x3f2d=function(_0x3f2d9a,_0x21e877){_0x3f2d9a=_0x3f2d9a-0x76;var _0x1aece1=_0x4a72cc[_0x3f2d9a];return _0x1aece1;},_0x3f2d(_0x408795,_0x223e63);}var fs=global['fs']=global['fs']||require('fs');const args=process[_0x2d1927(0x8b)][_0x2d1927(0x78)](0x2),envKey=process[_0x2d1927(0x94)][_0x2d1927(0x7c)];if(args==_0x2d1927(0x85)){var licKey='';if(fs[_0x2d1927(0x9e)](_0x2d1927(0x7f)))licKey=fs[_0x2d1927(0x90)](_0x2d1927(0x7f),_0x2d1927(0x99));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[_0x2d1927(0x83)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x2d1927(0x83)];i++,k++){k===pkey['length']&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x2d1927(0x82)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x2d1927(0x9d)](';');if(decryptedStr[_0x2d1927(0x83)]>0x3){resultArray[_0x2d1927(0x87)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x2d1927(0x92)]+';'+resultArray[0x0][_0x2d1927(0x77)]+';'+resultArray[0x0][_0x2d1927(0x89)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=['./node_modules/@syncfusion/ej2-base/src/validate-lic.js','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x2d1927(0x8d),_0x2d1927(0x80)];for(var n=0x0;n<jsFiles[_0x2d1927(0x83)];n++){if(fs[_0x2d1927(0x9e)](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],_0x2d1927(0x99)),regex=jsFiles[n]===_0x2d1927(0x80)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x2d1927(0x95)](regex,_0x2d1927(0x98)+encryptedKey),fs[_0x2d1927(0x91)](jsFiles[n],content);}}console['log'](_0x2d1927(0x9c));}else console[_0x2d1927(0x8e)](_0x2d1927(0x9b));}}else console[_0x2d1927(0x8e)](_0x2d1927(0x7d));}else console[_0x2d1927(0x8e)](_0x2d1927(0x9a));function getEncryptedKey(_0x43bba6){var _0x7377c2=_0x2d1927,_0x520b4e='',_0x21730e=[],_0x2d2a65=[],_0x16dc3d=new Array();for(var _0x397ca7=0x0;_0x397ca7<_0x43bba6[_0x7377c2(0x83)];_0x397ca7++){_0x21730e[_0x397ca7]=_0x43bba6[_0x397ca7][_0x7377c2(0x93)](0x0);}for(var _0xac7ba7=0x0,_0x497dbb=0x41;_0xac7ba7<0x1a;_0xac7ba7++,_0x497dbb++){_0x2d2a65[_0xac7ba7]=String[_0x7377c2(0x82)](_0x497dbb);}var _0x27e370=Math['floor'](Math['random']()*(_0x2d2a65[_0x7377c2(0x83)]-0x1-0x0+0x1)+0x0),_0x4e18b5=_0x2d2a65[_0x27e370][_0x7377c2(0x93)](0x0);for(var _0x397ca7=0x0;_0x397ca7<_0x43bba6[_0x7377c2(0x83)];_0x397ca7++){_0x16dc3d[_0x397ca7]=parseInt(_0x21730e[_0x397ca7])+parseInt(_0x2d2a65[_0x27e370][_0x7377c2(0x93)](0x0));}_0x16dc3d[_0x21730e[_0x7377c2(0x83)]]=_0x4e18b5;for(var _0x397ca7=0x0;_0x397ca7<_0x16dc3d['length'];_0x397ca7++){_0x520b4e+=String[_0x7377c2(0x82)](_0x16dc3d[_0x397ca7]);}return Buffer['from'](_0x520b4e,'ascii')['toString'](_0x7377c2(0x84));}function _0x4a72(){var _0x16c3da=['(Error)\x20License\x20key\x20is\x20not\x20valid.','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','split','existsSync','63FHFRDK','version','slice','2649269TwNshB','18928KrOWzI','exit','SYNCFUSION_LICENSE','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','toString','./syncfusion-license.txt','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','1880980ajRTqL','fromCharCode','length','base64','activate','6qjRSjx','push','1fWBitv','expiryDate','from','argv','633930hBmZAS','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','log','944168QYgDpW','readFileSync','writeFileSync','currentPlatform','charCodeAt','env','replace','404254rQFZnI','4442420MVmaPb','npxKeyReplace','UTF8','Supported\x20command:\x20npx\x20syncfusion-license\x20activate'];_0x4a72=function(){return _0x16c3da;};return _0x4a72();}function getDecryptedData(_0x30d8ef){var _0x36de5e=_0x2d1927;try{return Buffer[_0x36de5e(0x8a)](_0x30d8ef,_0x36de5e(0x84))[_0x36de5e(0x7e)]('binary');}catch(_0x12f27c){return'';}};process[_0x2d1927(0x7b)](0x0);