@syncfusion/ej2-base
Advanced tools
Comparing version 21.1.38 to 21.1.39
#! /usr/bin/env node | ||
'use strict';var _0x1578a7=_0x13b0;(function(_0x3deab6,_0xf732ee){var _0x367240=_0x13b0,_0xc80da4=_0x3deab6();while(!![]){try{var _0x565cd2=-parseInt(_0x367240(0xfd))/0x1+-parseInt(_0x367240(0xf1))/0x2*(-parseInt(_0x367240(0x109))/0x3)+parseInt(_0x367240(0xf0))/0x4+parseInt(_0x367240(0x10a))/0x5+parseInt(_0x367240(0x105))/0x6*(parseInt(_0x367240(0xfa))/0x7)+parseInt(_0x367240(0x106))/0x8+-parseInt(_0x367240(0x10d))/0x9*(parseInt(_0x367240(0x118))/0xa);if(_0x565cd2===_0xf732ee)break;else _0xc80da4['push'](_0xc80da4['shift']());}catch(_0x54bf33){_0xc80da4['push'](_0xc80da4['shift']());}}}(_0x3887,0x6718d));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x1578a7(0x117)][_0x1578a7(0xf2)](0x2),envKey=process[_0x1578a7(0x113)][_0x1578a7(0xf3)];if(args==_0x1578a7(0x116)){var licKey='';if(fs[_0x1578a7(0xfc)](_0x1578a7(0x115)))licKey=fs['readFileSync']('./syncfusion-license.txt',_0x1578a7(0x10c));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x1578a7(0x101)](';'),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[_0x1578a7(0xff)];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[_0x1578a7(0xff)]&&(k=0x0);var c=decodeStr[_0x1578a7(0x103)](i);buffr+=String[_0x1578a7(0x10e)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x1578a7(0x101)](';');if(decryptedStr[_0x1578a7(0xff)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x1578a7(0xf9)]+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x1578a7(0x102)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x1578a7(0x112),_0x1578a7(0xfb),_0x1578a7(0xfe),'./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'];for(var n=0x0;n<jsFiles[_0x1578a7(0xff)];n++){if(fs['existsSync'](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],'UTF8'),regex=jsFiles[n]===_0x1578a7(0x104)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x1578a7(0x114)](regex,_0x1578a7(0x107)+encryptedKey),fs[_0x1578a7(0xef)](jsFiles[n],content);}}console[_0x1578a7(0xf7)](_0x1578a7(0xf8));}else console[_0x1578a7(0xf7)](_0x1578a7(0x111));}}else console[_0x1578a7(0xf7)]('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console['log'](_0x1578a7(0xf6));function _0x3887(){var _0x591559=['2622540BvlGwg','binary','UTF8','15327gQZhWH','fromCharCode','floor','from','(Error)\x20License\x20key\x20is\x20not\x20valid.','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','env','replace','./syncfusion-license.txt','activate','argv','7310vGNWIG','writeFileSync','621148UqRWOR','2466NnyQdi','slice','SYNCFUSION_LICENSE','base64','toString','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','log','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','currentPlatform','7KgFrcw','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','existsSync','695406FKnXgk','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','length','ascii','split','expiryDate','charCodeAt','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','1891644kKEYCz','6156080ufZpav','npxKeyReplace','exit','1455UwXjaz'];_0x3887=function(){return _0x591559;};return _0x3887();}function getEncryptedKey(_0x363090){var _0x18c144=_0x1578a7,_0x5c889f='',_0x2ca9e6=[],_0x2b4740=[],_0x25202a=new Array();for(var _0x37add6=0x0;_0x37add6<_0x363090['length'];_0x37add6++){_0x2ca9e6[_0x37add6]=_0x363090[_0x37add6]['charCodeAt'](0x0);}for(var _0x4d4be4=0x0,_0x2546f8=0x41;_0x4d4be4<0x1a;_0x4d4be4++,_0x2546f8++){_0x2b4740[_0x4d4be4]=String[_0x18c144(0x10e)](_0x2546f8);}var _0x20d41b=Math[_0x18c144(0x10f)](Math['random']()*(_0x2b4740[_0x18c144(0xff)]-0x1-0x0+0x1)+0x0),_0x4b5237=_0x2b4740[_0x20d41b][_0x18c144(0x103)](0x0);for(var _0x37add6=0x0;_0x37add6<_0x363090[_0x18c144(0xff)];_0x37add6++){_0x25202a[_0x37add6]=parseInt(_0x2ca9e6[_0x37add6])+parseInt(_0x2b4740[_0x20d41b]['charCodeAt'](0x0));}_0x25202a[_0x2ca9e6[_0x18c144(0xff)]]=_0x4b5237;for(var _0x37add6=0x0;_0x37add6<_0x25202a[_0x18c144(0xff)];_0x37add6++){_0x5c889f+=String[_0x18c144(0x10e)](_0x25202a[_0x37add6]);}return Buffer[_0x18c144(0x110)](_0x5c889f,_0x18c144(0x100))[_0x18c144(0xf5)](_0x18c144(0xf4));}function getDecryptedData(_0x3da8d4){var _0x45a451=_0x1578a7;try{return Buffer[_0x45a451(0x110)](_0x3da8d4,_0x45a451(0xf4))['toString'](_0x45a451(0x10b));}catch(_0x519134){return'';}}function _0x13b0(_0x317ee2,_0x4ef910){var _0x38872b=_0x3887();return _0x13b0=function(_0x13b0ac,_0x5bd847){_0x13b0ac=_0x13b0ac-0xef;var _0x3280ec=_0x38872b[_0x13b0ac];return _0x3280ec;},_0x13b0(_0x317ee2,_0x4ef910);};process[_0x1578a7(0x108)](0x0); | ||
'use strict';var _0x1d6d4f=_0x48ba;(function(_0x850097,_0x335a58){var _0x4a7c92=_0x48ba,_0xa18cf4=_0x850097();while(!![]){try{var _0x5ef28b=-parseInt(_0x4a7c92(0x1ba))/0x1*(parseInt(_0x4a7c92(0x1b4))/0x2)+-parseInt(_0x4a7c92(0x1a1))/0x3*(parseInt(_0x4a7c92(0x1bb))/0x4)+parseInt(_0x4a7c92(0x1b9))/0x5+parseInt(_0x4a7c92(0x1be))/0x6+-parseInt(_0x4a7c92(0x1a6))/0x7+-parseInt(_0x4a7c92(0x1b3))/0x8*(-parseInt(_0x4a7c92(0x1b7))/0x9)+-parseInt(_0x4a7c92(0x1b5))/0xa*(-parseInt(_0x4a7c92(0x1ab))/0xb);if(_0x5ef28b===_0x335a58)break;else _0xa18cf4['push'](_0xa18cf4['shift']());}catch(_0x53da52){_0xa18cf4['push'](_0xa18cf4['shift']());}}}(_0x4dae,0x92964));var fs=global['fs']=global['fs']||require('fs');const args=process[_0x1d6d4f(0x1a7)][_0x1d6d4f(0x1c1)](0x2),envKey=process['env'][_0x1d6d4f(0x1ae)];function _0x4dae(){var _0x5d1fcd=['random','13599bnEpCq','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','2721840eDeMjI','41LKCEMC','673988aWRGIS','version','exit','584604cFlOAN','UTF8','charCodeAt','slice','binary','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','log','npxKeyReplace','./syncfusion-license.txt','base64','expiryDate','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','readFileSync','9CDGlcm','floor','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','fromCharCode','split','460411iJVVlx','argv','activate','existsSync','replace','13750jHBZcG','length','currentPlatform','SYNCFUSION_LICENSE','writeFileSync','toString','ascii','from','3544uuLJUY','20402NtINAB','2230jnIgAm'];_0x4dae=function(){return _0x5d1fcd;};return _0x4dae();}if(args==_0x1d6d4f(0x1a8)){var licKey='';if(fs[_0x1d6d4f(0x1a9)](_0x1d6d4f(0x1c6)))licKey=fs[_0x1d6d4f(0x1a0)](_0x1d6d4f(0x1c6),_0x1d6d4f(0x1bf));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x1d6d4f(0x1a5)](';'),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[_0x1d6d4f(0x1ac)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x1d6d4f(0x1ac)];i++,k++){k===pkey[_0x1d6d4f(0x1ac)]&&(k=0x0);var c=decodeStr[_0x1d6d4f(0x1c0)](i);buffr+=String[_0x1d6d4f(0x1a4)](c^pkey[k]>>0x10);}decryptedStr=buffr['split'](';');if(decryptedStr[_0x1d6d4f(0x1ac)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x1d6d4f(0x1ad)]+';'+resultArray[0x0][_0x1d6d4f(0x1bc)]+';'+resultArray[0x0][_0x1d6d4f(0x1c8)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=['./node_modules/@syncfusion/ej2-base/src/validate-lic.js',_0x1d6d4f(0x1c9),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js',_0x1d6d4f(0x1c3)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x1d6d4f(0x1a9)](jsFiles[n])){var content=fs[_0x1d6d4f(0x1a0)](jsFiles[n],_0x1d6d4f(0x1bf)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x1d6d4f(0x1aa)](regex,_0x1d6d4f(0x1c5)+encryptedKey),fs[_0x1d6d4f(0x1af)](jsFiles[n],content);}}console[_0x1d6d4f(0x1c4)](_0x1d6d4f(0x1b8));}else console[_0x1d6d4f(0x1c4)]('(Error)\x20License\x20key\x20is\x20not\x20valid.');}}else console[_0x1d6d4f(0x1c4)]('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x1d6d4f(0x1c4)](_0x1d6d4f(0x1a3));function _0x48ba(_0x109cc1,_0x51284f){var _0x4dae6d=_0x4dae();return _0x48ba=function(_0x48ba38,_0x302318){_0x48ba38=_0x48ba38-0x1a0;var _0x3b11bf=_0x4dae6d[_0x48ba38];return _0x3b11bf;},_0x48ba(_0x109cc1,_0x51284f);}function getEncryptedKey(_0x142f3e){var _0x14ed71=_0x1d6d4f,_0x5ecf9b='',_0x112670=[],_0x56ee29=[],_0x39bd08=new Array();for(var _0xf86967=0x0;_0xf86967<_0x142f3e['length'];_0xf86967++){_0x112670[_0xf86967]=_0x142f3e[_0xf86967]['charCodeAt'](0x0);}for(var _0x41fd1a=0x0,_0x4310b1=0x41;_0x41fd1a<0x1a;_0x41fd1a++,_0x4310b1++){_0x56ee29[_0x41fd1a]=String[_0x14ed71(0x1a4)](_0x4310b1);}var _0x2bda4c=Math[_0x14ed71(0x1a2)](Math[_0x14ed71(0x1b6)]()*(_0x56ee29[_0x14ed71(0x1ac)]-0x1-0x0+0x1)+0x0),_0x36e432=_0x56ee29[_0x2bda4c]['charCodeAt'](0x0);for(var _0xf86967=0x0;_0xf86967<_0x142f3e[_0x14ed71(0x1ac)];_0xf86967++){_0x39bd08[_0xf86967]=parseInt(_0x112670[_0xf86967])+parseInt(_0x56ee29[_0x2bda4c][_0x14ed71(0x1c0)](0x0));}_0x39bd08[_0x112670[_0x14ed71(0x1ac)]]=_0x36e432;for(var _0xf86967=0x0;_0xf86967<_0x39bd08[_0x14ed71(0x1ac)];_0xf86967++){_0x5ecf9b+=String[_0x14ed71(0x1a4)](_0x39bd08[_0xf86967]);}return Buffer['from'](_0x5ecf9b,_0x14ed71(0x1b1))[_0x14ed71(0x1b0)](_0x14ed71(0x1c7));}function getDecryptedData(_0x84f3e4){var _0x68ee1b=_0x1d6d4f;try{return Buffer[_0x68ee1b(0x1b2)](_0x84f3e4,_0x68ee1b(0x1c7))[_0x68ee1b(0x1b0)](_0x68ee1b(0x1c2));}catch(_0x4382b3){return'';}};process[_0x1d6d4f(0x1bd)](0x0); |
@@ -9,2 +9,11 @@ # Changelog | ||
- `#I445928` - The issue with the "`formatNumber` method on internationalization" has been resolved. | ||
- `#I439133` - The issue with the "Detection of Microsoft Surface Pro device" has been resolved. | ||
## 21.1.38 (2023-04-04) | ||
### Common | ||
#### Bug Fixes | ||
- `#I440657` - The issue with "Unwanted element is added in `Vue 3` template element" has been resolved. | ||
@@ -11,0 +20,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 21.1.38 | ||
* version : 21.1.39 | ||
* 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@21.1.37", | ||
"_id": "@syncfusion/ej2-base@21.1.38", | ||
"_inBundle": false, | ||
"_integrity": "sha512-rFVuRIMXme1Teep7oBQcfxkfBSfVmXLkm8LdMpIVNNc76sz08TnN2egtWnYvhwFRiw0aUIkkhKDy4rFfCGx7yg==", | ||
"_integrity": "sha512-LV5PhZtpHY8dpC5BFF3IXNU6n3Ynp2K5FVUO+ViV590o+J8i0U+vCG4yqnR3WPqEt2+XeMcYprZ06+prJfn3BA==", | ||
"_location": "/@syncfusion/ej2-base", | ||
@@ -23,16 +23,18 @@ "_phantomChildren": {}, | ||
"/@syncfusion/ej2-angular-base", | ||
"/@syncfusion/ej2-angular-calendars", | ||
"/@syncfusion/ej2-angular-charts", | ||
"/@syncfusion/ej2-angular-circulargauge", | ||
"/@syncfusion/ej2-angular-diagrams", | ||
"/@syncfusion/ej2-angular-documenteditor", | ||
"/@syncfusion/ej2-angular-dropdowns", | ||
"/@syncfusion/ej2-angular-gantt", | ||
"/@syncfusion/ej2-angular-filemanager", | ||
"/@syncfusion/ej2-angular-grids", | ||
"/@syncfusion/ej2-angular-image-editor", | ||
"/@syncfusion/ej2-angular-inputs", | ||
"/@syncfusion/ej2-angular-maps", | ||
"/@syncfusion/ej2-angular-kanban", | ||
"/@syncfusion/ej2-angular-lists", | ||
"/@syncfusion/ej2-angular-navigations", | ||
"/@syncfusion/ej2-angular-pdfviewer", | ||
"/@syncfusion/ej2-angular-pivotview", | ||
"/@syncfusion/ej2-angular-richtexteditor", | ||
"/@syncfusion/ej2-angular-schedule", | ||
"/@syncfusion/ej2-angular-spreadsheet", | ||
"/@syncfusion/ej2-angular-treegrid", | ||
"/@syncfusion/ej2-barcode-generator", | ||
@@ -69,16 +71,18 @@ "/@syncfusion/ej2-buttons", | ||
"/@syncfusion/ej2-react-base", | ||
"/@syncfusion/ej2-react-calendars", | ||
"/@syncfusion/ej2-react-charts", | ||
"/@syncfusion/ej2-react-circulargauge", | ||
"/@syncfusion/ej2-react-diagrams", | ||
"/@syncfusion/ej2-react-documenteditor", | ||
"/@syncfusion/ej2-react-dropdowns", | ||
"/@syncfusion/ej2-react-gantt", | ||
"/@syncfusion/ej2-react-filemanager", | ||
"/@syncfusion/ej2-react-grids", | ||
"/@syncfusion/ej2-react-image-editor", | ||
"/@syncfusion/ej2-react-inputs", | ||
"/@syncfusion/ej2-react-maps", | ||
"/@syncfusion/ej2-react-kanban", | ||
"/@syncfusion/ej2-react-lists", | ||
"/@syncfusion/ej2-react-navigations", | ||
"/@syncfusion/ej2-react-pdfviewer", | ||
"/@syncfusion/ej2-react-pivotview", | ||
"/@syncfusion/ej2-react-richtexteditor", | ||
"/@syncfusion/ej2-react-schedule", | ||
"/@syncfusion/ej2-react-spreadsheet", | ||
"/@syncfusion/ej2-react-treegrid", | ||
"/@syncfusion/ej2-ribbon", | ||
@@ -93,19 +97,21 @@ "/@syncfusion/ej2-richtexteditor", | ||
"/@syncfusion/ej2-vue-base", | ||
"/@syncfusion/ej2-vue-calendars", | ||
"/@syncfusion/ej2-vue-charts", | ||
"/@syncfusion/ej2-vue-circulargauge", | ||
"/@syncfusion/ej2-vue-diagrams", | ||
"/@syncfusion/ej2-vue-documenteditor", | ||
"/@syncfusion/ej2-vue-dropdowns", | ||
"/@syncfusion/ej2-vue-gantt", | ||
"/@syncfusion/ej2-vue-filemanager", | ||
"/@syncfusion/ej2-vue-grids", | ||
"/@syncfusion/ej2-vue-image-editor", | ||
"/@syncfusion/ej2-vue-inputs", | ||
"/@syncfusion/ej2-vue-maps", | ||
"/@syncfusion/ej2-vue-kanban", | ||
"/@syncfusion/ej2-vue-lists", | ||
"/@syncfusion/ej2-vue-navigations", | ||
"/@syncfusion/ej2-vue-pdfviewer", | ||
"/@syncfusion/ej2-vue-pivotview", | ||
"/@syncfusion/ej2-vue-richtexteditor", | ||
"/@syncfusion/ej2-vue-schedule", | ||
"/@syncfusion/ej2-vue-spreadsheet", | ||
"/@syncfusion/ej2-vue-treegrid" | ||
"/@syncfusion/ej2-vue-spreadsheet" | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-21.1.37.tgz", | ||
"_shasum": "483b6b03314ab7def46b0165b2361a19a716f834", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-21.1.38.tgz", | ||
"_shasum": "a7a318b4b0038af081086f7b2234b14d0f0912d8", | ||
"_spec": "@syncfusion/ej2-base@*", | ||
@@ -165,4 +171,4 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "21.1.38", | ||
"version": "21.1.39", | ||
"sideEffects": true | ||
} |
@@ -135,4 +135,5 @@ import { isUndefined } from './util'; | ||
var browserDetails = typeof window !== 'undefined' ? window.browserDetails : {}; | ||
if (typeof navigator !== 'undefined' && navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) { | ||
browserDetails['isIos'] = true; | ||
var isSurfaceDevice = typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Windows') > -1 && screen && screen.width < 1360; | ||
if (typeof navigator !== 'undefined' && (navigator.platform === 'MacIntel' || isSurfaceDevice) && navigator.maxTouchPoints > 1 && Browser.isTouch === true) { | ||
browserDetails['isIos'] = navigator.platform === 'MacIntel'; | ||
browserDetails['isDevice'] = true; | ||
@@ -139,0 +140,0 @@ browserDetails['isTouch'] = true; |
@@ -481,5 +481,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (this.dragArea) { | ||
var isDialogEle = this.helperElement.classList.contains('e-dialog'); | ||
this.dragLimit.top = this.clone ? this.dragLimit.top : 0; | ||
draEleTop = (top - iTop) < 0 ? this.dragLimit.top : (top - iTop); | ||
draEleLeft = (left - iLeft) < 0 ? this.dragElePosition.left : (left - iLeft); | ||
draEleLeft = (left - iLeft) < 0 ? isDialogEle ? (left - (iLeft - this.borderWidth.left)) : | ||
this.dragElePosition.left : (left - iLeft); | ||
} | ||
@@ -486,0 +488,0 @@ else { |
@@ -911,2 +911,3 @@ import { defaultCurrencyCode } from '../internationalization'; | ||
if (!isNullOrUndefined(dOptions)) { | ||
dOptions.isCustomFormat = true; | ||
extend(cOptions, isCurrencyPercent([cOptions.nlead, cOptions.nend], '$', dOptions.currencySymbol)); | ||
@@ -913,0 +914,0 @@ if (!cOptions.isCurrency) { |
@@ -25,2 +25,3 @@ import { NumberFormatOptions } from '../internationalization'; | ||
minusSymbol?: string; | ||
isCustomFormat?: boolean; | ||
} | ||
@@ -27,0 +28,0 @@ /** |
@@ -225,2 +225,17 @@ import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util'; | ||
} | ||
if (dOptions.isCustomFormat && curData.minimumFractionDigits < curData.maximumFractionDigits | ||
&& /\d+\.\d+/.test(fValue)) { | ||
var temp = fValue.split('.'); | ||
var decimalPart = temp[1]; | ||
var len = decimalPart.length; | ||
for (var i = len - 1; i >= 0; i--) { | ||
if (decimalPart["" + i] === '0' && i >= curData.minimumFractionDigits) { | ||
decimalPart = decimalPart.slice(0, i); | ||
} | ||
else { | ||
break; | ||
} | ||
} | ||
fValue = temp[0] + '.' + decimalPart; | ||
} | ||
} | ||
@@ -227,0 +242,0 @@ if (curData.type === 'scientific') { |
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
10533828
99062