@syncfusion/ej2-base
Advanced tools
Comparing version 24.2.8 to 25.1.35
#! /usr/bin/env node | ||
'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); | ||
'use strict';var _0x127c23=_0x3fb8;(function(_0x3ccc02,_0x1918ed){var _0x5e8091=_0x3fb8,_0x2a5ede=_0x3ccc02();while(!![]){try{var _0x52f8ae=-parseInt(_0x5e8091(0x160))/0x1*(parseInt(_0x5e8091(0x145))/0x2)+parseInt(_0x5e8091(0x163))/0x3+parseInt(_0x5e8091(0x14d))/0x4+-parseInt(_0x5e8091(0x144))/0x5*(-parseInt(_0x5e8091(0x14a))/0x6)+parseInt(_0x5e8091(0x161))/0x7+parseInt(_0x5e8091(0x155))/0x8+-parseInt(_0x5e8091(0x151))/0x9;if(_0x52f8ae===_0x1918ed)break;else _0x2a5ede['push'](_0x2a5ede['shift']());}catch(_0x253bc3){_0x2a5ede['push'](_0x2a5ede['shift']());}}}(_0x5acc,0xbb0a4));var fs=global['fs']=global['fs']||require('fs');function _0x3fb8(_0x3ddfb7,_0x3dc381){var _0x5acc73=_0x5acc();return _0x3fb8=function(_0x3fb8d1,_0x2ac6ca){_0x3fb8d1=_0x3fb8d1-0x144;var _0x1f94b3=_0x5acc73[_0x3fb8d1];return _0x1f94b3;},_0x3fb8(_0x3ddfb7,_0x3dc381);}const args=process[_0x127c23(0x153)][_0x127c23(0x165)](0x2),isActivate=args[0x0]==_0x127c23(0x168),customPath=args[0x1],envKey=process[_0x127c23(0x157)]['SYNCFUSION_LICENSE'];if(isActivate){var licKey='';if(fs[_0x127c23(0x167)](_0x127c23(0x16a)))licKey=fs[_0x127c23(0x166)]('./syncfusion-license.txt',_0x127c23(0x164));else{if(envKey)licKey=envKey;else customPath&&fs[_0x127c23(0x167)](customPath)&&(licKey=fs[_0x127c23(0x166)](customPath,'UTF8'));}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[_0x127c23(0x149)];i++,k++){k===pkey['length']&&(k=0x0);var c=decodeStr[_0x127c23(0x169)](i);buffr+=String['fromCharCode'](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x127c23(0x146)](';');if(decryptedStr[_0x127c23(0x149)]>0x3){resultArray[_0x127c23(0x15f)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0]['currentPlatform']+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x127c23(0x154)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=['./node_modules/@syncfusion/ej2-base/src/validate-lic.js',_0x127c23(0x15e),_0x127c23(0x14e),_0x127c23(0x14c)];for(var n=0x0;n<jsFiles[_0x127c23(0x149)];n++){if(fs[_0x127c23(0x167)](jsFiles[n])){var content=fs[_0x127c23(0x166)](jsFiles[n],_0x127c23(0x164)),regex=jsFiles[n]===_0x127c23(0x14c)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content['replace'](regex,_0x127c23(0x148)+encryptedKey),fs[_0x127c23(0x15c)](jsFiles[n],content);}}console[_0x127c23(0x16b)](_0x127c23(0x14b));}else console[_0x127c23(0x16b)](_0x127c23(0x15d));}}else console[_0x127c23(0x16b)]('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x127c23(0x16b)](_0x127c23(0x162));function getEncryptedKey(_0x2bf8bf){var _0x298f4a=_0x127c23,_0xe65497='',_0x5b4b1c=[],_0x2dbdfc=[],_0x16b6ec=new Array();for(var _0x57ae58=0x0;_0x57ae58<_0x2bf8bf[_0x298f4a(0x149)];_0x57ae58++){_0x5b4b1c[_0x57ae58]=_0x2bf8bf[_0x57ae58][_0x298f4a(0x169)](0x0);}for(var _0x284a14=0x0,_0x125103=0x41;_0x284a14<0x1a;_0x284a14++,_0x125103++){_0x2dbdfc[_0x284a14]=String[_0x298f4a(0x15a)](_0x125103);}var _0x2f2052=Math[_0x298f4a(0x159)](Math[_0x298f4a(0x14f)]()*(_0x2dbdfc[_0x298f4a(0x149)]-0x1-0x0+0x1)+0x0),_0x4ad138=_0x2dbdfc[_0x2f2052]['charCodeAt'](0x0);for(var _0x57ae58=0x0;_0x57ae58<_0x2bf8bf[_0x298f4a(0x149)];_0x57ae58++){_0x16b6ec[_0x57ae58]=parseInt(_0x5b4b1c[_0x57ae58])+parseInt(_0x2dbdfc[_0x2f2052][_0x298f4a(0x169)](0x0));}_0x16b6ec[_0x5b4b1c[_0x298f4a(0x149)]]=_0x4ad138;for(var _0x57ae58=0x0;_0x57ae58<_0x16b6ec[_0x298f4a(0x149)];_0x57ae58++){_0xe65497+=String['fromCharCode'](_0x16b6ec[_0x57ae58]);}return Buffer[_0x298f4a(0x158)](_0xe65497,_0x298f4a(0x147))[_0x298f4a(0x150)](_0x298f4a(0x15b));}function getDecryptedData(_0x22ad59){var _0x533698=_0x127c23;try{return Buffer[_0x533698(0x158)](_0x22ad59,_0x533698(0x15b))[_0x533698(0x150)](_0x533698(0x152));}catch(_0x3d5114){return'';}};process[_0x127c23(0x156)](0x0);function _0x5acc(){var _0x51a69c=['writeFileSync','(Error)\x20License\x20key\x20is\x20not\x20valid.','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','push','717nIQYVC','5910212IkVwCB','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','332751lpttXD','UTF8','slice','readFileSync','existsSync','activate','charCodeAt','./syncfusion-license.txt','log','25XMYdjt','502mzOuDJ','split','ascii','npxKeyReplace','length','1389462ixqdOB','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','193260NGfroq','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','random','toString','13743387ydNCJB','binary','argv','expiryDate','2493544SveGll','exit','env','from','floor','fromCharCode','base64'];_0x5acc=function(){return _0x51a69c;};return _0x5acc();} |
@@ -5,38 +5,2 @@ # Changelog | ||
### Common | ||
#### Bug Fixes | ||
- `#I542405` - The issue with "component events remain after being destroyed through the template in the heap memory" has been resolved. | ||
## 24.2.5 (2024-02-13) | ||
### Common | ||
#### Bug Fixes | ||
- `#I495294` - The issue with content sanitization in the tooltip component has been resolved. | ||
## 24.2.3 (2024-01-31) | ||
### Common | ||
#### Bug Fixes | ||
- `#I547507` - The issue with "rendering the new line in the html template string" has been resolved. | ||
### Common | ||
#### Bug Fixes | ||
- `#I541838` - Resolved issue with time picker designator "pm" is automatically flips to "am". | ||
## 24.1.46 (2024-01-17) | ||
### Common | ||
#### Bug Fixes | ||
- `#I531468` - The issue with "rendering the html template string" has been resolved. | ||
## 23.2.6 (2023-11-28) | ||
@@ -43,0 +7,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 24.2.7 | ||
* version : 25.1.35 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
@@ -12,2 +12,3 @@ var shell = require('shelljs'); | ||
var enableW3c = '{W3cdisabled}'; | ||
const pixelmatch = require('pixelmatch'); | ||
var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter'); | ||
@@ -40,3 +41,3 @@ var reporter = new HtmlScreenshotReporter({ | ||
jasmineNodeOpts: { | ||
defaultTimeoutInterval: 100000 | ||
defaultTimeoutInterval: 150000 | ||
}, | ||
@@ -210,2 +211,58 @@ multiCapabilities: [], | ||
browser.compareScreenWithPixelMatch = function (element, fileName, opt) { | ||
var folderName = fileName; | ||
var fArr = fileName.split('/'); | ||
if (fArr.length > 1) { | ||
fArr.splice(-1, 1); | ||
folderName = fArr.join('/') | ||
createF(camelCase('e2e/expected/' + browser.pixDiff.browserName + '/' + folderName)); | ||
createF(camelCase('e2e/actual/' + browser.pixDiff.browserName + '/' + folderName)); | ||
} | ||
var option = { | ||
imageAPath: '/expected/' + browser.pixDiff.browserName + '/' + fileName, // Use file-path | ||
imageBPath: '/actual/' + browser.pixDiff.browserName + '/' + fileName, | ||
filter: ['grayScale'], | ||
debug: true, | ||
hideShift: true, | ||
thresholdType: 'pixel', | ||
threshold: 0.3 | ||
}; | ||
var doneFn = arguments[arguments.length - 1]; | ||
if (typeof opt === 'object' && Object.keys(opt).length) { | ||
Object.assign(option, opt); | ||
} | ||
console.log(JSON.stringify(option)); | ||
browser.pixDiff.saveRegion(element, '/Actual/' + browser.pixDiff.browserName + '/' + fileName, option).then(() => { | ||
var fPathName = path.resolve(__dirname, '../../../../' + camelCase('e2e/expected/' + browser.pixDiff.browserName + '/' + fileName) + '.png'); | ||
if (!fs.existsSync(fPathName) && fs.existsSync(fPathName.replace("Expected", "Actual"))) { | ||
fs.copyFileSync(fPathName.replace("Expected", "Actual"), fPathName); | ||
console.log('Expected Image Created : /expected/' + browser.pixDiff.browserName + '/' + fileName); | ||
} | ||
browser.saveCheckImagewithPixelMatch(element, fileName, option, doneFn); | ||
}); | ||
} | ||
browser.saveCheckImagewithPixelMatch = function (element, fileName, option, doneFn) { | ||
var img1 = PNG.sync.read(fs.readFileSync('./e2e'+option.imageBPath+'.png')); | ||
var img2 = PNG.sync.read(fs.readFileSync('./e2e'+option.imageAPath+'.png')); | ||
var { width, height } = img1; | ||
var diff = new PNG({ width, height }); | ||
var result = pixelmatch(img1.data, img2.data, diff.data, width, height, { threshold: option.threshold }); | ||
console.log('result --->\n', result); | ||
if (result < 75) { | ||
result = 5 | ||
} else if (result < 150){ | ||
result = 7; | ||
fs.writeFileSync('./e2e' + option.imageAPath.replace('expected', 'diff') + '.png', PNG.sync.write(diff)); | ||
} else{ | ||
result = 1; | ||
fs.writeFileSync('./e2e' + option.imageAPath.replace('expected', 'diff') + '.png', PNG.sync.write(diff)); | ||
} | ||
expect(result).toEqual(5) | ||
if (typeof doneFn === 'function') { | ||
doneFn(); | ||
} | ||
} | ||
browser.waitForEvent = function (id, moduleName, eventName) { | ||
@@ -212,0 +269,0 @@ return browser.executeAsyncScript(function (id, moduleName, eventName, callback) { |
{ | ||
"_from": "@syncfusion/ej2-base@*", | ||
"_id": "@syncfusion/ej2-base@24.2.5", | ||
"_id": "@syncfusion/ej2-base@18.92.0", | ||
"_inBundle": false, | ||
"_integrity": "sha512-pJvhVF1l3TTUm0NfT9YwuXjMEgTP42tqnaKyzIelSGOMdPbr1n7ObO5X1DaUO7hwUi0YGdjv8sJag4sZofDkNQ==", | ||
"_integrity": "sha512-duRt3JuBjQX0mQtd7LO8Q92GCEef3zrE9BF1cJlRRutTv15EdfhPMI72ND4cm6gMw9nMwDeAKA7pPbCcF+t4YQ==", | ||
"_location": "/@syncfusion/ej2-base", | ||
@@ -25,3 +25,5 @@ "_phantomChildren": {}, | ||
"/@syncfusion/ej2-angular-buttons", | ||
"/@syncfusion/ej2-angular-calendars", | ||
"/@syncfusion/ej2-angular-charts", | ||
"/@syncfusion/ej2-angular-circulargauge", | ||
"/@syncfusion/ej2-angular-diagrams", | ||
@@ -34,9 +36,24 @@ "/@syncfusion/ej2-angular-documenteditor", | ||
"/@syncfusion/ej2-angular-heatmap", | ||
"/@syncfusion/ej2-angular-image-editor", | ||
"/@syncfusion/ej2-angular-inplace-editor", | ||
"/@syncfusion/ej2-angular-inputs", | ||
"/@syncfusion/ej2-angular-kanban", | ||
"/@syncfusion/ej2-angular-layouts", | ||
"/@syncfusion/ej2-angular-lineargauge", | ||
"/@syncfusion/ej2-angular-lists", | ||
"/@syncfusion/ej2-angular-maps", | ||
"/@syncfusion/ej2-angular-navigations", | ||
"/@syncfusion/ej2-angular-notifications", | ||
"/@syncfusion/ej2-angular-pdfviewer", | ||
"/@syncfusion/ej2-angular-pivotview", | ||
"/@syncfusion/ej2-angular-popups", | ||
"/@syncfusion/ej2-angular-progressbar", | ||
"/@syncfusion/ej2-angular-querybuilder", | ||
"/@syncfusion/ej2-angular-ribbon", | ||
"/@syncfusion/ej2-angular-richtexteditor", | ||
"/@syncfusion/ej2-angular-schedule", | ||
"/@syncfusion/ej2-angular-splitbuttons", | ||
"/@syncfusion/ej2-angular-spreadsheet", | ||
"/@syncfusion/ej2-angular-treegrid", | ||
"/@syncfusion/ej2-angular-treemap", | ||
"/@syncfusion/ej2-barcode-generator", | ||
@@ -76,3 +93,5 @@ "/@syncfusion/ej2-buttons", | ||
"/@syncfusion/ej2-react-buttons", | ||
"/@syncfusion/ej2-react-calendars", | ||
"/@syncfusion/ej2-react-charts", | ||
"/@syncfusion/ej2-react-circulargauge", | ||
"/@syncfusion/ej2-react-diagrams", | ||
@@ -85,9 +104,24 @@ "/@syncfusion/ej2-react-documenteditor", | ||
"/@syncfusion/ej2-react-heatmap", | ||
"/@syncfusion/ej2-react-image-editor", | ||
"/@syncfusion/ej2-react-inplace-editor", | ||
"/@syncfusion/ej2-react-inputs", | ||
"/@syncfusion/ej2-react-kanban", | ||
"/@syncfusion/ej2-react-layouts", | ||
"/@syncfusion/ej2-react-lineargauge", | ||
"/@syncfusion/ej2-react-lists", | ||
"/@syncfusion/ej2-react-maps", | ||
"/@syncfusion/ej2-react-navigations", | ||
"/@syncfusion/ej2-react-notifications", | ||
"/@syncfusion/ej2-react-pdfviewer", | ||
"/@syncfusion/ej2-react-pivotview", | ||
"/@syncfusion/ej2-react-popups", | ||
"/@syncfusion/ej2-react-progressbar", | ||
"/@syncfusion/ej2-react-querybuilder", | ||
"/@syncfusion/ej2-react-ribbon", | ||
"/@syncfusion/ej2-react-richtexteditor", | ||
"/@syncfusion/ej2-react-schedule", | ||
"/@syncfusion/ej2-react-splitbuttons", | ||
"/@syncfusion/ej2-react-spreadsheet", | ||
"/@syncfusion/ej2-react-treegrid", | ||
"/@syncfusion/ej2-react-treemap", | ||
"/@syncfusion/ej2-ribbon", | ||
@@ -104,3 +138,5 @@ "/@syncfusion/ej2-richtexteditor", | ||
"/@syncfusion/ej2-vue-buttons", | ||
"/@syncfusion/ej2-vue-calendars", | ||
"/@syncfusion/ej2-vue-charts", | ||
"/@syncfusion/ej2-vue-circulargauge", | ||
"/@syncfusion/ej2-vue-diagrams", | ||
@@ -113,14 +149,29 @@ "/@syncfusion/ej2-vue-documenteditor", | ||
"/@syncfusion/ej2-vue-heatmap", | ||
"/@syncfusion/ej2-vue-image-editor", | ||
"/@syncfusion/ej2-vue-inplace-editor", | ||
"/@syncfusion/ej2-vue-inputs", | ||
"/@syncfusion/ej2-vue-kanban", | ||
"/@syncfusion/ej2-vue-layouts", | ||
"/@syncfusion/ej2-vue-lineargauge", | ||
"/@syncfusion/ej2-vue-lists", | ||
"/@syncfusion/ej2-vue-maps", | ||
"/@syncfusion/ej2-vue-navigations", | ||
"/@syncfusion/ej2-vue-notifications", | ||
"/@syncfusion/ej2-vue-pdfviewer", | ||
"/@syncfusion/ej2-vue-pivotview", | ||
"/@syncfusion/ej2-vue-popups", | ||
"/@syncfusion/ej2-vue-progressbar", | ||
"/@syncfusion/ej2-vue-querybuilder", | ||
"/@syncfusion/ej2-vue-ribbon", | ||
"/@syncfusion/ej2-vue-richtexteditor", | ||
"/@syncfusion/ej2-vue-schedule", | ||
"/@syncfusion/ej2-vue-splitbuttons", | ||
"/@syncfusion/ej2-vue-spreadsheet", | ||
"/@syncfusion/ej2-vue-treegrid" | ||
"/@syncfusion/ej2-vue-treegrid", | ||
"/@syncfusion/ej2-vue-treemap" | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-24.2.5.tgz", | ||
"_shasum": "4fee55353627b5a680cb389353938c62b9f518de", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.92.0.tgz", | ||
"_shasum": "1c8e5f13a7a0f742a83daa98db9cb3e577fb9702", | ||
"_spec": "@syncfusion/ej2-base@*", | ||
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"author": { | ||
@@ -137,3 +188,3 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-icons": "~24.2.3" | ||
"@syncfusion/ej2-icons": "~25.1.35" | ||
}, | ||
@@ -179,4 +230,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "24.2.8", | ||
"version": "25.1.35", | ||
"sideEffects": true | ||
} |
@@ -89,3 +89,2 @@ import { isNullOrUndefined, merge } from './util'; | ||
} | ||
// eslint-disable-next-line | ||
_this.httpRequest.open(_this.type, _this.url, _this.mode); | ||
@@ -92,0 +91,0 @@ // Set default headers |
@@ -215,13 +215,13 @@ import { Base, EmitType } from './base'; | ||
/** | ||
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings. | ||
*/ | ||
Default = "Default", | ||
/** | ||
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
Enable = "Enable", | ||
/** | ||
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
Disable = "Disable" | ||
} |
@@ -449,13 +449,13 @@ var __extends = (this && this.__extends) || (function () { | ||
/** | ||
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings. | ||
*/ | ||
GlobalAnimationMode["Default"] = "Default"; | ||
/** | ||
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
GlobalAnimationMode["Enable"] = "Enable"; | ||
/** | ||
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings. | ||
*/ | ||
GlobalAnimationMode["Disable"] = "Disable"; | ||
})(GlobalAnimationMode || (GlobalAnimationMode = {})); |
@@ -142,2 +142,3 @@ import { Observer } from './observer'; | ||
export declare function removeChildInstance(element: HTMLElement): void; | ||
export declare let proxyToRaw: Function, setProxyToRaw: (toRaw: Function) => void; | ||
export declare let proxyToRaw: Function; | ||
export declare const setProxyToRaw: Function; |
@@ -260,8 +260,9 @@ import { isUndefined, isNullOrUndefined, merge, setImmediate, setValue, isBlazor, getValue, extend } from './util'; | ||
this.element.ej2_instances = | ||
this.element.ej2_instances ? this.element.ej2_instances.filter(function (i) { | ||
if (proxyToRaw) { | ||
return proxyToRaw(i) !== proxyToRaw(_this); | ||
} | ||
return i !== _this; | ||
}) | ||
this.element.ej2_instances ? | ||
this.element.ej2_instances.filter(function (i) { | ||
if (proxyToRaw) { | ||
return proxyToRaw(i) !== proxyToRaw(_this); | ||
} | ||
return i !== _this; | ||
}) | ||
: []; | ||
@@ -329,2 +330,3 @@ removeClass([this.element], ['e-' + this.getModuleName()]); | ||
} | ||
export var proxyToRaw, setProxyToRaw = function (toRaw) { proxyToRaw = toRaw; }; | ||
export var proxyToRaw; | ||
export var setProxyToRaw = function (toRaw) { proxyToRaw = toRaw; }; |
@@ -86,12 +86,18 @@ import { ModuleLoader, ModuleDeclaration } from './module-loader'; | ||
* Adding unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
attachUnloadEvent(): any; | ||
attachUnloadEvent(): void; | ||
/** | ||
* Handling unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
handleUnload(): any; | ||
handleUnload(): void; | ||
/** | ||
* Removing unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
detachUnloadEvent(): any; | ||
detachUnloadEvent(): void; | ||
/** | ||
@@ -98,0 +104,0 @@ * Appends the control within the given HTML element |
@@ -81,3 +81,3 @@ var __extends = (this && this.__extends) || (function () { | ||
// Based on the considered control list we have count the instance | ||
if (typeof window !== "undefined" && typeof document !== "undefined" && !validateLicense()) { | ||
if (typeof window !== 'undefined' && typeof document !== 'undefined' && !validateLicense()) { | ||
if (componentList.indexOf(_this.getModuleName()) !== -1) { | ||
@@ -173,2 +173,4 @@ instancecount = instancecount + 1; | ||
* Adding unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
@@ -181,2 +183,4 @@ Component.prototype.attachUnloadEvent = function () { | ||
* Handling unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
@@ -188,2 +192,4 @@ Component.prototype.handleUnload = function () { | ||
* Removing unload event to persist data when enable persistence true | ||
* | ||
* @returns {void} | ||
*/ | ||
@@ -223,3 +229,28 @@ Component.prototype.detachUnloadEvent = function () { | ||
this.injectModules(); | ||
// Checked weather cases are valid or not. If control leads to more than five counts | ||
// Throw a warning for the required modules to be injected. | ||
var ignoredComponents = { | ||
schedule: 'all', | ||
diagram: 'all', | ||
PdfViewer: 'all', | ||
grid: ['logger'], | ||
richtexteditor: ['link', 'table', 'image', 'audio', 'video', 'formatPainter', 'emojiPicker', 'pasteCleanup', 'htmlEditor', 'toolbar'], | ||
treegrid: ['filter'], | ||
gantt: ['tooltip'], | ||
chart: ['Export', 'Zoom'], | ||
accumulationchart: ['Export'] | ||
}; | ||
var component = this.getModuleName(); | ||
if (this.requiredModules && (!ignoredComponents["" + component] || ignoredComponents["" + component] !== 'all')) { | ||
var modulesRequired = this.requiredModules(); | ||
for (var _i = 0, _a = this.moduleLoader.getNonInjectedModules(modulesRequired); _i < _a.length; _i++) { | ||
var module = _a[_i]; | ||
var moduleName = module.name ? module.name : module.member; | ||
if (ignoredComponents["" + component] && ignoredComponents["" + component].indexOf(module.member) !== -1) { | ||
continue; | ||
} | ||
var componentName = component.charAt(0).toUpperCase() + component.slice(1); // To capitalize the component name | ||
console.warn("[WARNING] :: Module \"" + moduleName + "\" is not available in " + componentName + " component! You either misspelled the module name or forgot to load it."); | ||
} | ||
} | ||
// Checked weather cases are valid or not. If control leads to more than five counts | ||
if (!isvalid && !isBannerAdded) { | ||
@@ -226,0 +257,0 @@ createLicenseOverlay(); |
@@ -364,2 +364,4 @@ import { Base } from './base'; | ||
/** | ||
* @param {MouseEvent | TouchEvent} evt ? | ||
* @returns {void} | ||
* @private | ||
@@ -366,0 +368,0 @@ */ |
@@ -29,5 +29,2 @@ var __extends = (this && this.__extends) || (function () { | ||
var defaultPosition = { left: 0, top: 0, bottom: 0, right: 0 }; | ||
var positionProp = ['offsetLeft', 'offsetTop']; | ||
var axisMapper = ['x', 'y']; | ||
var axisValueMapper = ['left', 'top']; | ||
var isDraggedObject = { isDragged: false }; | ||
@@ -165,2 +162,3 @@ /** | ||
}; | ||
/* eslint-disable */ | ||
Draggable.prototype.getScrollableValues = function () { | ||
@@ -173,2 +171,3 @@ this.parentScrollX = 0; | ||
}; | ||
/* eslint-enable */ | ||
Draggable.prototype.initialize = function (evt, curTarget) { | ||
@@ -187,2 +186,3 @@ this.currentStateTarget = evt.target; | ||
/* tslint:disable no-any */ | ||
// eslint-disable-next-line | ||
var abortSelectors = this.abort; | ||
@@ -258,2 +258,3 @@ if (typeof abortSelectors === 'string') { | ||
if (this.isReplaceDragEle) { | ||
// eslint-disable-next-line | ||
element = this.currentStateCheck(evt.target, element); | ||
@@ -411,2 +412,3 @@ } | ||
if (flag) { | ||
// eslint-disable-next-line | ||
eleObj.instance.dragData[this.scope] = this.droppables[this.scope]; | ||
@@ -561,2 +563,3 @@ eleObj.instance.intOver(evt, eleObj.target); | ||
/* tslint:disable no-any */ | ||
// eslint-disable-next-line | ||
var scrollParent = this.getScrollParent(elements, false); | ||
@@ -584,4 +587,6 @@ if (this.elementInViewport(this.helperElement)) { | ||
/* tslint:disable no-any */ | ||
// eslint-disable-next-line | ||
Draggable.prototype.getScrollParent = function (node, reverse) { | ||
/* tslint:disable no-any */ | ||
// eslint-disable-next-line | ||
var nodeEl = reverse ? node.reverse() : node; | ||
@@ -613,6 +618,8 @@ var hasScroll; | ||
else if (nodeEle && nodeEle !== document.scrollingElement) { | ||
if ((nodeEle.clientHeight + nodeEle.getBoundingClientRect().top - this.helperElement.clientHeight + document.scrollingElement.scrollTop) < draEleTop) { | ||
var docScrollTop = document.scrollingElement.scrollTop; | ||
var helperClientHeight = this.helperElement.clientHeight; | ||
if ((nodeEle.clientHeight + nodeEle.getBoundingClientRect().top - helperClientHeight + docScrollTop) < draEleTop) { | ||
nodeEle.scrollTop += this.helperElement.clientHeight; | ||
} | ||
else if (nodeEle.getBoundingClientRect().top > (draEleTop - this.helperElement.clientHeight - document.scrollingElement.scrollTop)) { | ||
else if (nodeEle.getBoundingClientRect().top > (draEleTop - helperClientHeight - docScrollTop)) { | ||
nodeEle.scrollTop -= this.helperElement.clientHeight; | ||
@@ -669,2 +676,3 @@ } | ||
eleObj.instance.dragStopCalled = true; | ||
// eslint-disable-next-line | ||
eleObj.instance.dragData[this.scope] = this.droppables[this.scope]; | ||
@@ -677,4 +685,7 @@ eleObj.instance.intDrop(evt, eleObj.target); | ||
/** | ||
* @param {MouseEvent | TouchEvent} evt ? | ||
* @returns {void} | ||
* @private | ||
*/ | ||
// eslint-disable-next-line | ||
Draggable.prototype.intDestroy = function (evt) { | ||
@@ -694,2 +705,3 @@ this.dragProcessStarted = false; | ||
// triggers when property changed | ||
// eslint-disable-next-line | ||
Draggable.prototype.onPropertyChanged = function (newProp, oldProp) { | ||
@@ -725,2 +737,3 @@ //No Code to handle | ||
var keys = ['Top', 'Left', 'Bottom', 'Right']; | ||
/* eslint-disable */ | ||
var styles = getComputedStyle(ele); | ||
@@ -735,2 +748,3 @@ for (var i = 0; i < keys.length; i++) { | ||
} | ||
/* eslint-enable */ | ||
if (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) { | ||
@@ -753,3 +767,3 @@ top = elementArea.top + document.scrollingElement.scrollTop; | ||
var prevStyle = this.helperElement.style.pointerEvents || ''; | ||
var isPointer = evt.type.indexOf('pointer') !== -1 && Browser.info.name === 'safari' && parseInt(Browser.info.version) > 12; | ||
var isPointer = evt.type.indexOf('pointer') !== -1 && Browser.info.name === 'safari' && parseInt(Browser.info.version, 10) > 12; | ||
if (compareElementParent(evt.target, this.helperElement) || evt.type.indexOf('touch') !== -1 || isPointer) { | ||
@@ -778,2 +792,3 @@ this.helperElement.style.pointerEvents = 'none'; | ||
/* tslint:disable no-any */ | ||
// eslint-disable-next-line | ||
var dragEle = evt.srcElement !== undefined ? evt.srcElement : evt.target; | ||
@@ -796,6 +811,7 @@ var intCoord = this.getCoordinates(evt); | ||
if (document.scrollingElement && (!isdragscroll && !this.clone)) { | ||
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0; | ||
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0; | ||
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX; | ||
pageY = isVerticalScroll ? pageY - document.scrollingElement.scrollTop : pageY; | ||
var ele = document.scrollingElement; | ||
var isVerticalScroll = ele.scrollHeight > 0 && ele.scrollHeight > ele.clientHeight && ele.scrollTop > 0; | ||
var isHorrizontalScroll = ele.scrollWidth > 0 && ele.scrollWidth > ele.clientWidth && ele.scrollLeft > 0; | ||
pageX = isHorrizontalScroll ? pageX - ele.scrollLeft : pageX; | ||
pageY = isVerticalScroll ? pageY - ele.scrollTop : pageY; | ||
} | ||
@@ -802,0 +818,0 @@ return { |
@@ -118,3 +118,4 @@ import { debounce, extend } from './util'; | ||
for (var i = 0; i < copyData.length; i++) { | ||
element.removeEventListener(copyData[parseInt(i.toString(), 10)].name, copyData[parseInt(i.toString(), 10)].debounce); | ||
var parseValue = copyData[parseInt(i.toString(), 10)]; | ||
element.removeEventListener(parseValue.name, parseValue.debounce); | ||
eventData.shift(); | ||
@@ -121,0 +122,0 @@ } |
@@ -345,2 +345,3 @@ import { IntlBase as base } from './intl-base'; | ||
? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString; | ||
// eslint-disable-next-line | ||
matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture && parseOptions.culture.indexOf('en-') !== -1 && cultureOptions.indexOf(parseOptions.culture) === -1) | ||
@@ -347,0 +348,0 @@ ? matchString.toLowerCase() : matchString; |
@@ -776,3 +776,2 @@ import { defaultCurrencyCode } from '../internationalization'; | ||
ret.isAccount = (pattern === 'A'); | ||
// eslint-disable-next-line | ||
ret.type = IntlBase.patternMatcher[pattern]; | ||
@@ -865,3 +864,2 @@ if (skeleton.length > 1) { | ||
for (var i = 0; i < formatSplit.length; i++) { | ||
// eslint-disable-next-line | ||
options[data[i]] = customNumberFormat(formatSplit[i], dOptions, obj); | ||
@@ -926,3 +924,2 @@ } | ||
if (cOptions.useGrouping) { | ||
// eslint-disable-next-line | ||
cOptions.groupSeparator = spaceGrouping ? ' ' : dOptions.numberMapper.numberSymbols[mapper[2]]; | ||
@@ -952,5 +949,3 @@ cOptions.groupData = NumberFormat.getGroupingDetails(symbolPattern.split(';')[0]); | ||
if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) { | ||
// eslint-disable-next-line | ||
options[typeMapper[i]] = part.substr(0, loc) + symbol + part.substr(loc + 1); | ||
// eslint-disable-next-line | ||
options[typeMapper[actual]] = true; | ||
@@ -994,3 +989,2 @@ options.type = options.isCurrency ? 'currency' : 'percent'; | ||
actualPattern = actualPattern.replace(patternRegex, function (pattern) { | ||
// eslint-disable-next-line | ||
return patternMatch[pattern]; | ||
@@ -1028,6 +1022,4 @@ }); | ||
*/ | ||
// eslint-disable-next-line | ||
function processSymbol(actual, option) { | ||
if (actual.indexOf(',') !== -1) { | ||
// eslint-disable-next-line | ||
var split = actual.split(','); | ||
@@ -1034,0 +1026,0 @@ actual = (split[0] + getValue('numberMapper.numberSymbols.group', option) + |
@@ -81,2 +81,3 @@ import { NumberFormatOptions } from '../internationalization'; | ||
* @param {CommonOptions} dOptions ? | ||
* @param {NumberFormatOptions} [option] ? | ||
* @returns {string} ? | ||
@@ -111,2 +112,3 @@ */ | ||
* @param {number} max ? | ||
* @param {NumberFormatOptions} [option] ? | ||
* @returns {string} ? | ||
@@ -127,4 +129,5 @@ */ | ||
* @param {number} value ? | ||
* @returns {string} ? | ||
*/ | ||
private static customPivotFormat; | ||
} |
@@ -11,9 +11,5 @@ import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util'; | ||
}; | ||
var integerError = 'minimumIntegerDigits'; | ||
var percentSign = 'percentSign'; | ||
var minusSign = 'minusSign'; | ||
var spaceRegex = /\s/; | ||
var mapper = ['infinity', 'nan', 'group', 'decimal', 'exponential']; | ||
var infinity = 'infinity'; | ||
var nan = 'nan'; | ||
/** | ||
@@ -196,2 +192,3 @@ * Module for number formatting. | ||
* @param {CommonOptions} dOptions ? | ||
* @param {NumberFormatOptions} [option] ? | ||
* @returns {string} ? | ||
@@ -248,3 +245,3 @@ */ | ||
fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper[3]]); | ||
fValue = curData.format === "#,###,,;(#,###,,)" ? this.customPivotFormat(parseInt(fValue)) : fValue; | ||
fValue = curData.format === '#,###,,;(#,###,,)' ? this.customPivotFormat(parseInt(fValue, 10)) : fValue; | ||
if (curData.useGrouping) { | ||
@@ -321,2 +318,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
* @param {number} max ? | ||
* @param {NumberFormatOptions} [option] ? | ||
* @returns {string} ? | ||
@@ -373,2 +371,3 @@ */ | ||
* @param {number} value ? | ||
* @returns {string} ? | ||
*/ | ||
@@ -378,3 +377,4 @@ NumberFormat.customPivotFormat = function (value) { | ||
value /= 1000000; | ||
var _a = value.toString().split("."), integer = _a[0], decimal = _a[1]; | ||
// eslint-disable-next-line | ||
var _a = value.toString().split('.'), integer = _a[0], decimal = _a[1]; | ||
return decimal && +decimal.substring(0, 1) >= 5 | ||
@@ -384,3 +384,3 @@ ? Math.ceil(value).toString() | ||
} | ||
return ""; | ||
return ''; | ||
}; | ||
@@ -387,0 +387,0 @@ return NumberFormat; |
@@ -5,2 +5,3 @@ import { extend, isNullOrUndefined, isBlazor, getValue } from '../util'; | ||
var regExp = RegExp; | ||
// eslint-disable-next-line | ||
var parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(\.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$'); | ||
@@ -7,0 +8,0 @@ var groupRegex = /,/g; |
@@ -14,2 +14,6 @@ /** | ||
/** | ||
* Specifies the name for module declaration. | ||
*/ | ||
name?: string; | ||
/** | ||
* Specifies whether it is a property or not. | ||
@@ -41,2 +45,10 @@ */ | ||
/** | ||
* Returns the array of modules that are not loaded in the component library. | ||
* | ||
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required | ||
* @returns {ModuleDeclaration[]} ? | ||
* @private | ||
*/ | ||
getNonInjectedModules(requiredModules: ModuleDeclaration[]): ModuleDeclaration[]; | ||
/** | ||
* Removes all unused modules | ||
@@ -43,0 +55,0 @@ * |
@@ -63,2 +63,13 @@ /** | ||
/** | ||
* Returns the array of modules that are not loaded in the component library. | ||
* | ||
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required | ||
* @returns {ModuleDeclaration[]} ? | ||
* @private | ||
*/ | ||
ModuleLoader.prototype.getNonInjectedModules = function (requiredModules) { | ||
var _this = this; | ||
return requiredModules.filter(function (module) { return !_this.isModuleLoaded(module.member); }); | ||
}; | ||
/** | ||
* Removes all unused modules | ||
@@ -65,0 +76,0 @@ * |
@@ -247,4 +247,5 @@ import { createInstance, isUndefined, merge, extend, getValue } from './util'; | ||
for (var i = 0; i < newValue.length; i++) { | ||
Array.prototype["" + dFunc].apply(prop, [newValue[parseInt(i.toString(), 10)]]); | ||
var model_1 = getArrayModel(keyString + (prop.length - 1), newValue[parseInt(i.toString(), 10)], !this.controlParent, dFunc); | ||
var newValueParse = newValue[parseInt(i.toString(), 10)]; | ||
Array.prototype["" + dFunc].apply(prop, [newValueParse]); | ||
var model_1 = getArrayModel(keyString + (prop.length - 1), newValueParse, !this.controlParent, dFunc); | ||
this.serverDataBind(model_1, newValue[parseInt(i.toString(), 10)], false, dFunc); | ||
@@ -251,0 +252,0 @@ } |
@@ -173,5 +173,7 @@ import { isNullOrUndefined, getValue, extend, isBlazor } from './util'; | ||
Observer.prototype.offIntlEvents = function () { | ||
// eslint-disable-next-line | ||
var eventsArr = this.boundedEvents['notifyExternalChange']; | ||
if (eventsArr) { | ||
for (var i = 0; i < eventsArr.length; i++) { | ||
// eslint-disable-next-line | ||
var curContext = eventsArr["" + i].context; | ||
@@ -178,0 +180,0 @@ if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) { |
@@ -5,2 +5,3 @@ /** | ||
import { detach } from './dom'; | ||
import { isNullOrUndefined } from './util'; | ||
var removeTags = [ | ||
@@ -124,2 +125,5 @@ 'script', | ||
SanitizeHtmlHelper.sanitize = function (value) { | ||
if (isNullOrUndefined(value)) { | ||
return value; | ||
} | ||
var item = this.beforeSanitize(); | ||
@@ -139,2 +143,3 @@ var output = this.serializeValue(item, value); | ||
this.removeElement(); | ||
this.wrapElement = null; | ||
return tempEleValue.replace(/&/g, '&'); | ||
@@ -141,0 +146,0 @@ }; |
@@ -156,2 +156,3 @@ /** | ||
*/ | ||
// eslint-disable-next-line | ||
export function initializeCSPTemplate(template, helper) { | ||
@@ -158,0 +159,0 @@ var boundFunc; |
@@ -68,5 +68,6 @@ /** | ||
var evalExpResult = evalExp(template, argName, helper, ignorePrefix); | ||
// eslint-disable-next-line | ||
/* eslint-disable */ | ||
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n "; | ||
var fnCode = 'var str=\"' + evalExpResult + '\";' + condtion + ' return str;'; | ||
/* eslint-enable */ | ||
var fn = new Function(argName, fnCode); | ||
@@ -218,3 +219,3 @@ return fn.bind(helper); | ||
function addNameSpace(str, addNS, nameSpace, ignoreList, ignorePrefix) { | ||
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !== "true" && str !== "false") ? nameSpace + '.' + str : str); | ||
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !== 'true' && str !== 'false') ? nameSpace + '.' + str : str); | ||
} | ||
@@ -221,0 +222,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare let componentList: string[]; | ||
export declare const componentList: string[]; | ||
/** | ||
@@ -3,0 +3,0 @@ * To set license key. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11817055
190
110750
+ Added@syncfusion/ej2-icons@25.1.35(transitive)
- Removed@syncfusion/ej2-icons@24.2.3(transitive)