@seniorsistemas/angular-components 14.9.11 → 14.9.12

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.
@@ -1180,12 +1180,13 @@ var LocalizedBignumberPipe = /** @class */ (function () {
1180
1180
  };
1181
1181
  LocalizedBignumberPipe.prototype.applyMask = function (value, options) {
1182
1182
  return this.localeService.get().pipe(map(function (localeConfig) {
1183
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1183
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1184
1184
  var configs = {
1185
1185
  prefix: (_c = (_a = options === null || options === void 0 ? void 0 : options.prefix) !== null && _a !== void 0 ? _a : (_b = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _b === void 0 ? void 0 : _b.currencySymbol) !== null && _c !== void 0 ? _c : "R$",
1186
1186
  thousandsSeparator: (_f = (_d = options === null || options === void 0 ? void 0 : options.thousandsSeparator) !== null && _d !== void 0 ? _d : (_e = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _e === void 0 ? void 0 : _e.thousandsSeparator) !== null && _f !== void 0 ? _f : ".",
1187
1187
  decimalSeparator: (_j = (_g = options === null || options === void 0 ? void 0 : options.decimalSeparator) !== null && _g !== void 0 ? _g : (_h = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _h === void 0 ? void 0 : _h.decimalSeparator) !== null && _j !== void 0 ? _j : ",",
1188
- scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2
1188
+ scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2,
1189
+ allowNegative: (_l = options === null || options === void 0 ? void 0 : options.allowNegative) !== null && _l !== void 0 ? _l : true
1189
1190
  };
1190
1191
  var isNumber = !(new BigNumber(value).isNaN());
1191
1192
  return applyMask(value, configs, isNumber);