monkey-front-core 0.0.517 → 0.0.519

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.
@@ -701,6 +701,11 @@ class MonkeyEcxService {
701
701
  ...params,
702
702
  }));
703
703
  }
704
+ patch(url, params) {
705
+ return this.http.patch(url, this.handlelize({
706
+ ...params,
707
+ }));
708
+ }
704
709
  delete(url, params) {
705
710
  return this.http.delete(url, params);
706
711
  }
@@ -921,6 +926,11 @@ class MonkeyEcxFormatCurrencyPipe {
921
926
  fmt = `${fmt}`.replace(/[^0-9,.]/g, '');
922
927
  return `${fmt}${symbol !== '' ? ` ${currency}` : ''}`;
923
928
  }
929
+ if (currency === 'MXN') {
930
+ let fmt = this.currencyPipe.transform(value, '$', symbol, '1.0-0', locale);
931
+ fmt = `${fmt}`.replace(/[^0-9,.]/g, '');
932
+ return `${fmt}${symbol !== '' ? ` ${currency}` : ''}`;
933
+ }
924
934
  return this.currencyPipe.transform(value, currency, symbol, '', locale);
925
935
  }
926
936
  catch (e) {