@syncfusion/ej2-base 26.2.4 → 26.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +2 -2
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +4 -3
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +4 -3
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/internationalization.d.ts +4 -0
- package/src/intl/intl-base.d.ts +2 -1
- package/src/intl/intl-base.js +3 -2
- package/src/intl/number-formatter.js +1 -1
- package/hotfix/26.1.35_Vol2.txt +0 -1
|
@@ -1350,7 +1350,7 @@ class NumberFormat {
|
|
|
1350
1350
|
const numObject = dependable.numericObject;
|
|
1351
1351
|
dOptions.numberMapper = isBlazor() ? extend({}, numObject) :
|
|
1352
1352
|
ParserBase.getNumberMapper(dependable.parserObject, ParserBase.getNumberingSystem(cldr), true);
|
|
1353
|
-
dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : IntlBase.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol);
|
|
1353
|
+
dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : IntlBase.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol, option.ignoreCurrency);
|
|
1354
1354
|
dOptions.percentSymbol = isBlazor() ? getValue('numberSymbols.percentSign', numObject) :
|
|
1355
1355
|
dOptions.numberMapper.numberSymbols[`${percentSign}`];
|
|
1356
1356
|
dOptions.minusSymbol = isBlazor() ? getValue('numberSymbols.minusSign', numObject) :
|
|
@@ -3516,11 +3516,12 @@ var IntlBase;
|
|
|
3516
3516
|
* @param {Object} numericObject ?
|
|
3517
3517
|
* @param {string} currencyCode ?
|
|
3518
3518
|
* @param {string} altSymbol ?
|
|
3519
|
+
* @param {string} ignoreCurrency ?
|
|
3519
3520
|
* @returns {string} ?
|
|
3520
3521
|
*/
|
|
3521
|
-
function getCurrencySymbol(numericObject, currencyCode, altSymbol) {
|
|
3522
|
+
function getCurrencySymbol(numericObject, currencyCode, altSymbol, ignoreCurrency) {
|
|
3522
3523
|
const symbol = altSymbol ? ('.' + altSymbol) : '.symbol';
|
|
3523
|
-
const getCurrency = getValue('currencies.' + currencyCode + symbol, numericObject) ||
|
|
3524
|
+
const getCurrency = ignoreCurrency ? '$' : getValue('currencies.' + currencyCode + symbol, numericObject) ||
|
|
3524
3525
|
getValue('currencies.' + currencyCode + '.symbol-alt-narrow', numericObject) || '$';
|
|
3525
3526
|
return getCurrency;
|
|
3526
3527
|
}
|