@syncfusion/ej2-base
Advanced tools
Comparing version 20.4.48 to 20.4.51
#! /usr/bin/env node | ||
'use strict';var _0x1ed259=_0x55ab;(function(_0x26ce67,_0x1e3e6b){var _0x182766=_0x55ab,_0xa42c4c=_0x26ce67();while(!![]){try{var _0x5228e1=parseInt(_0x182766(0x10b))/0x1*(parseInt(_0x182766(0xff))/0x2)+parseInt(_0x182766(0x103))/0x3+-parseInt(_0x182766(0xef))/0x4*(-parseInt(_0x182766(0xf6))/0x5)+parseInt(_0x182766(0x108))/0x6*(parseInt(_0x182766(0xf1))/0x7)+parseInt(_0x182766(0x116))/0x8+-parseInt(_0x182766(0x112))/0x9+-parseInt(_0x182766(0xfd))/0xa;if(_0x5228e1===_0x1e3e6b)break;else _0xa42c4c['push'](_0xa42c4c['shift']());}catch(_0x3e4810){_0xa42c4c['push'](_0xa42c4c['shift']());}}}(_0x2681,0x438d2));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x1ed259(0x107)]['slice'](0x2),envKey=process['env'][_0x1ed259(0x111)];if(args==_0x1ed259(0x106)){var licKey='';if(fs[_0x1ed259(0x101)](_0x1ed259(0xfb)))licKey=fs[_0x1ed259(0xf3)](_0x1ed259(0xfb),_0x1ed259(0xfe));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x1ed259(0x10f)](';'),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[_0x1ed259(0x10a)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x1ed259(0x10a)];i++,k++){k===pkey[_0x1ed259(0x10a)]&&(k=0x0);var c=decodeStr[_0x1ed259(0x100)](i);buffr+=String[_0x1ed259(0x109)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x1ed259(0x10f)](';');if(decryptedStr['length']>0x3){resultArray[_0x1ed259(0xf7)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x1ed259(0xed)]+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x1ed259(0xee)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x1ed259(0x102),_0x1ed259(0xf8),_0x1ed259(0x10d),_0x1ed259(0xf0)];for(var n=0x0;n<jsFiles[_0x1ed259(0x10a)];n++){if(fs[_0x1ed259(0x101)](jsFiles[n])){var content=fs[_0x1ed259(0xf3)](jsFiles[n],_0x1ed259(0xfe)),regex=jsFiles[n]===_0x1ed259(0xf0)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x1ed259(0x110)](regex,_0x1ed259(0xf4)+encryptedKey),fs[_0x1ed259(0x117)](jsFiles[n],content);}}console['log'](_0x1ed259(0xf2));}else console[_0x1ed259(0x10c)](_0x1ed259(0x10e));}}else console[_0x1ed259(0x10c)](_0x1ed259(0xf5));}else console[_0x1ed259(0x10c)](_0x1ed259(0x114));function _0x2681(){var _0xf5b2dc=['random','activate','argv','1176bRsqFp','fromCharCode','length','75321Dfwvxn','log','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','(Error)\x20License\x20key\x20is\x20not\x20valid.','split','replace','SYNCFUSION_LICENSE','941112ymqXoQ','from','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','base64','4384192LJyYmR','writeFileSync','currentPlatform','expiryDate','4ElGpQC','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','4228nMSDOG','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','readFileSync','npxKeyReplace','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','233005PgMVtd','push','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','exit','binary','./syncfusion-license.txt','floor','9087680cldcIq','UTF8','14DxhjEt','charCodeAt','existsSync','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','149310MhRqlH','toString'];_0x2681=function(){return _0xf5b2dc;};return _0x2681();}function _0x55ab(_0x2c9465,_0x22787b){var _0x26816d=_0x2681();return _0x55ab=function(_0x55ab83,_0x1332ea){_0x55ab83=_0x55ab83-0xed;var _0x2904f0=_0x26816d[_0x55ab83];return _0x2904f0;},_0x55ab(_0x2c9465,_0x22787b);}function getEncryptedKey(_0x4d1354){var _0xa40d2=_0x1ed259,_0x1e30ee='',_0x4a9e76=[],_0x46b9ae=[],_0x5e4494=new Array();for(var _0x4ec688=0x0;_0x4ec688<_0x4d1354['length'];_0x4ec688++){_0x4a9e76[_0x4ec688]=_0x4d1354[_0x4ec688]['charCodeAt'](0x0);}for(var _0x45e64a=0x0,_0x411703=0x41;_0x45e64a<0x1a;_0x45e64a++,_0x411703++){_0x46b9ae[_0x45e64a]=String['fromCharCode'](_0x411703);}var _0x1469a7=Math[_0xa40d2(0xfc)](Math[_0xa40d2(0x105)]()*(_0x46b9ae[_0xa40d2(0x10a)]-0x1-0x0+0x1)+0x0),_0x55c275=_0x46b9ae[_0x1469a7][_0xa40d2(0x100)](0x0);for(var _0x4ec688=0x0;_0x4ec688<_0x4d1354[_0xa40d2(0x10a)];_0x4ec688++){_0x5e4494[_0x4ec688]=parseInt(_0x4a9e76[_0x4ec688])+parseInt(_0x46b9ae[_0x1469a7][_0xa40d2(0x100)](0x0));}_0x5e4494[_0x4a9e76[_0xa40d2(0x10a)]]=_0x55c275;for(var _0x4ec688=0x0;_0x4ec688<_0x5e4494['length'];_0x4ec688++){_0x1e30ee+=String['fromCharCode'](_0x5e4494[_0x4ec688]);}return Buffer[_0xa40d2(0x113)](_0x1e30ee,'ascii')[_0xa40d2(0x104)](_0xa40d2(0x115));}function getDecryptedData(_0x444075){var _0x499147=_0x1ed259;try{return Buffer[_0x499147(0x113)](_0x444075,_0x499147(0x115))[_0x499147(0x104)](_0x499147(0xfa));}catch(_0x5ce207){return'';}};process[_0x1ed259(0xf9)](0x0); | ||
'use strict';var _0x1e5da1=_0x583b;(function(_0x2abcd7,_0x587261){var _0x4c27d2=_0x583b,_0x336624=_0x2abcd7();while(!![]){try{var _0x5730f1=-parseInt(_0x4c27d2(0xd7))/0x1+-parseInt(_0x4c27d2(0xd3))/0x2*(parseInt(_0x4c27d2(0xd6))/0x3)+parseInt(_0x4c27d2(0xe1))/0x4*(parseInt(_0x4c27d2(0xf1))/0x5)+-parseInt(_0x4c27d2(0xf2))/0x6+-parseInt(_0x4c27d2(0xee))/0x7+parseInt(_0x4c27d2(0xef))/0x8*(parseInt(_0x4c27d2(0xd0))/0x9)+-parseInt(_0x4c27d2(0xd8))/0xa;if(_0x5730f1===_0x587261)break;else _0x336624['push'](_0x336624['shift']());}catch(_0xb5d358){_0x336624['push'](_0x336624['shift']());}}}(_0x2983,0xd11eb));var fs=global['fs']=global['fs']||require('fs');function _0x2983(){var _0x2572d0=['703533weWWAd','1197615qMVRjK','1791350zoGgyf','push','floor','fromCharCode','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','version','currentPlatform','charCodeAt','npxKeyReplace','4BbdIvI','ascii','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','replace','log','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','toString','binary','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','expiryDate','split','env','length','3043782RSZWKe','4186024NDIKCg','(Error)\x20License\x20key\x20is\x20not\x20valid.','8532445uVNbYj','2241636kuretW','UTF8','random','readFileSync','from','base64','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','27zDHSwj','existsSync','writeFileSync','2OxgpwW','./syncfusion-license.txt','argv'];_0x2983=function(){return _0x2572d0;};return _0x2983();}const args=process[_0x1e5da1(0xd5)]['slice'](0x2),envKey=process[_0x1e5da1(0xec)]['SYNCFUSION_LICENSE'];if(args=='activate'){var licKey='';if(fs[_0x1e5da1(0xd1)](_0x1e5da1(0xd4)))licKey=fs[_0x1e5da1(0xf5)]('./syncfusion-license.txt',_0x1e5da1(0xf3));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[_0x1e5da1(0xed)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x1e5da1(0xed)];i++,k++){k===pkey[_0x1e5da1(0xed)]&&(k=0x0);var c=decodeStr[_0x1e5da1(0xdf)](i);buffr+=String[_0x1e5da1(0xdb)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x1e5da1(0xeb)](';');if(decryptedStr['length']>0x3){resultArray[_0x1e5da1(0xd9)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x1e5da1(0xde)]+';'+resultArray[0x0][_0x1e5da1(0xdd)]+';'+resultArray[0x0][_0x1e5da1(0xea)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x1e5da1(0xdc),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x1e5da1(0xe9),'./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'];for(var n=0x0;n<jsFiles[_0x1e5da1(0xed)];n++){if(fs[_0x1e5da1(0xd1)](jsFiles[n])){var content=fs[_0x1e5da1(0xf5)](jsFiles[n],_0x1e5da1(0xf3)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x1e5da1(0xe4)](regex,_0x1e5da1(0xe0)+encryptedKey),fs[_0x1e5da1(0xd2)](jsFiles[n],content);}}console['log'](_0x1e5da1(0xe3));}else console[_0x1e5da1(0xe5)](_0x1e5da1(0xf0));}}else console['log'](_0x1e5da1(0xe6));}else console[_0x1e5da1(0xe5)](_0x1e5da1(0xf8));function _0x583b(_0x2c297b,_0x4647eb){var _0x2983a2=_0x2983();return _0x583b=function(_0x583b0e,_0x51ea29){_0x583b0e=_0x583b0e-0xd0;var _0x303f12=_0x2983a2[_0x583b0e];return _0x303f12;},_0x583b(_0x2c297b,_0x4647eb);}function getEncryptedKey(_0x77856f){var _0xfe7328=_0x1e5da1,_0xe28f8e='',_0x58398b=[],_0x580758=[],_0x2da448=new Array();for(var _0x172ade=0x0;_0x172ade<_0x77856f[_0xfe7328(0xed)];_0x172ade++){_0x58398b[_0x172ade]=_0x77856f[_0x172ade][_0xfe7328(0xdf)](0x0);}for(var _0x57a1ea=0x0,_0x892c8a=0x41;_0x57a1ea<0x1a;_0x57a1ea++,_0x892c8a++){_0x580758[_0x57a1ea]=String[_0xfe7328(0xdb)](_0x892c8a);}var _0x2397f2=Math[_0xfe7328(0xda)](Math[_0xfe7328(0xf4)]()*(_0x580758[_0xfe7328(0xed)]-0x1-0x0+0x1)+0x0),_0x14f3ec=_0x580758[_0x2397f2]['charCodeAt'](0x0);for(var _0x172ade=0x0;_0x172ade<_0x77856f[_0xfe7328(0xed)];_0x172ade++){_0x2da448[_0x172ade]=parseInt(_0x58398b[_0x172ade])+parseInt(_0x580758[_0x2397f2][_0xfe7328(0xdf)](0x0));}_0x2da448[_0x58398b[_0xfe7328(0xed)]]=_0x14f3ec;for(var _0x172ade=0x0;_0x172ade<_0x2da448[_0xfe7328(0xed)];_0x172ade++){_0xe28f8e+=String['fromCharCode'](_0x2da448[_0x172ade]);}return Buffer['from'](_0xe28f8e,_0xfe7328(0xe2))[_0xfe7328(0xe7)](_0xfe7328(0xf7));}function getDecryptedData(_0xdbb0fd){var _0x71bbfb=_0x1e5da1;try{return Buffer[_0x71bbfb(0xf6)](_0xdbb0fd,_0x71bbfb(0xf7))[_0x71bbfb(0xe7)](_0x71bbfb(0xe8));}catch(_0x4846be){return'';}};process['exit'](0x0); |
@@ -5,2 +5,10 @@ # Changelog | ||
### Common | ||
#### New Features | ||
- `#I421132` - Provided custom format `#,###,, ; (#,###,,)` support for `Numbers` that used in Microsoft Excel's pivot table. | ||
## 20.4.48 (2023-02-01) | ||
### Dashboard Layout | ||
@@ -7,0 +15,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 20.4.48 | ||
* version : 20.4.51 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-base@*", | ||
"_id": "@syncfusion/ej2-base@20.4.44", | ||
"_id": "@syncfusion/ej2-base@20.4.48", | ||
"_inBundle": false, | ||
"_integrity": "sha512-p3KB7svK0rZEHDJNWXiXezuOTNkSffabcYtB3S/JeCGjQfC7kVfzFsspsdpSeM8msb5DqKHDTIhkzj51n8ve4Q==", | ||
"_integrity": "sha512-zTc5HvPKdhOCAyMeytQwsW8vUe2IbADrXb8aMEXDi6g2Xgqq5zwh5mZh0i4dGlU4ZI8yRQQlkfHLM+aBl/DyrA==", | ||
"_location": "/@syncfusion/ej2-base", | ||
@@ -22,9 +22,5 @@ "_phantomChildren": {}, | ||
"/@syncfusion/ej2", | ||
"/@syncfusion/ej2-angular-barcode-generator", | ||
"/@syncfusion/ej2-angular-base", | ||
"/@syncfusion/ej2-angular-buttons", | ||
"/@syncfusion/ej2-angular-calendars", | ||
"/@syncfusion/ej2-angular-charts", | ||
"/@syncfusion/ej2-angular-circulargauge", | ||
"/@syncfusion/ej2-angular-diagrams", | ||
"/@syncfusion/ej2-angular-documenteditor", | ||
@@ -35,24 +31,11 @@ "/@syncfusion/ej2-angular-dropdowns", | ||
"/@syncfusion/ej2-angular-grids", | ||
"/@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-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", | ||
@@ -88,9 +71,5 @@ "/@syncfusion/ej2-buttons", | ||
"/@syncfusion/ej2-querybuilder", | ||
"/@syncfusion/ej2-react-barcode-generator", | ||
"/@syncfusion/ej2-react-base", | ||
"/@syncfusion/ej2-react-buttons", | ||
"/@syncfusion/ej2-react-calendars", | ||
"/@syncfusion/ej2-react-charts", | ||
"/@syncfusion/ej2-react-circulargauge", | ||
"/@syncfusion/ej2-react-diagrams", | ||
"/@syncfusion/ej2-react-documenteditor", | ||
@@ -101,24 +80,11 @@ "/@syncfusion/ej2-react-dropdowns", | ||
"/@syncfusion/ej2-react-grids", | ||
"/@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-richtexteditor", | ||
"/@syncfusion/ej2-react-schedule", | ||
"/@syncfusion/ej2-react-splitbuttons", | ||
"/@syncfusion/ej2-react-spreadsheet", | ||
"/@syncfusion/ej2-react-treegrid", | ||
"/@syncfusion/ej2-react-treemap", | ||
"/@syncfusion/ej2-richtexteditor", | ||
@@ -131,9 +97,5 @@ "/@syncfusion/ej2-schedule", | ||
"/@syncfusion/ej2-treemap", | ||
"/@syncfusion/ej2-vue-barcode-generator", | ||
"/@syncfusion/ej2-vue-base", | ||
"/@syncfusion/ej2-vue-buttons", | ||
"/@syncfusion/ej2-vue-calendars", | ||
"/@syncfusion/ej2-vue-charts", | ||
"/@syncfusion/ej2-vue-circulargauge", | ||
"/@syncfusion/ej2-vue-diagrams", | ||
"/@syncfusion/ej2-vue-documenteditor", | ||
@@ -144,27 +106,14 @@ "/@syncfusion/ej2-vue-dropdowns", | ||
"/@syncfusion/ej2-vue-grids", | ||
"/@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-richtexteditor", | ||
"/@syncfusion/ej2-vue-schedule", | ||
"/@syncfusion/ej2-vue-splitbuttons", | ||
"/@syncfusion/ej2-vue-spreadsheet", | ||
"/@syncfusion/ej2-vue-treegrid", | ||
"/@syncfusion/ej2-vue-treemap" | ||
"/@syncfusion/ej2-vue-spreadsheet" | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.44.tgz", | ||
"_shasum": "02e6096b6bd0d5a126a38b2f223ac1bce1deb7e1", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.48.tgz", | ||
"_shasum": "eff489cb4bcbd7d820060e928e72e492fc164f19", | ||
"_spec": "@syncfusion/ej2-base@*", | ||
@@ -224,4 +173,4 @@ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "20.4.48", | ||
"version": "20.4.51", | ||
"sideEffects": true | ||
} |
@@ -120,2 +120,8 @@ import { NumberFormatOptions } from '../internationalization'; | ||
private static processMinimumIntegers; | ||
/** | ||
* Returns custom format for pivot table | ||
* | ||
* @param {number} value ? | ||
*/ | ||
private static customPivotFormat; | ||
} |
@@ -231,2 +231,3 @@ import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util'; | ||
fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper[3]]); | ||
fValue = curData.format === "#,###,,;(#,###,,)" ? this.customPivotFormat(parseInt(fValue)) : fValue; | ||
if (curData.useGrouping) { | ||
@@ -343,4 +344,19 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
}; | ||
/** | ||
* Returns custom format for pivot table | ||
* | ||
* @param {number} value ? | ||
*/ | ||
NumberFormat.customPivotFormat = function (value) { | ||
if (value >= 500000) { | ||
value /= 1000000; | ||
var _a = value.toString().split("."), integer = _a[0], decimal = _a[1]; | ||
return decimal && +decimal.substring(0, 1) >= 5 | ||
? Math.ceil(value).toString() | ||
: Math.floor(value).toString(); | ||
} | ||
return ""; | ||
}; | ||
return NumberFormat; | ||
}()); | ||
export { NumberFormat }; |
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
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
19817157
185
98660