@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.
@@ -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
  }