@seniorsistemas/angular-components 17.2.16 → 17.2.17

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.
@@ -3532,8 +3532,18 @@ var LookupComponent = /** @class */ (function () {
3532
3532
  });
3533
3533
  };
3534
3534
  LookupComponent.prototype.printRecordTotalizer = function () {
3535
- var _a, _b, _c;
3536
- return ((_a = this.searchTotalRecordsLabel) !== null && _a !== void 0 ? _a : this.searchTotalRecords === 1) ? (_b = this.recordLabel) !== null && _b !== void 0 ? _b : this.translateService.instant("platform.angular_components.total_record", { count: this.searchTotalRecords }) : (_c = this.recordsLabel) !== null && _c !== void 0 ? _c : this.translateService.instant("platform.angular_components.total_records", { count: this.searchTotalRecords });
3535
+ if (this.searchTotalRecordsLabel) {
3536
+ return this.searchTotalRecordsLabel;
3537
+ }
3538
+ var recordLabel = this.recordLabel
3539
+ ? this.searchTotalRecords + " " + this.recordLabel
3540
+ : this.translateService.instant("platform.angular_components.total_record", { count: this.searchTotalRecords });
3541
+ var recordsLabel = this.recordsLabel
3542
+ ? this.searchTotalRecords + " " + this.recordsLabel
3543
+ : this.translateService.instant("platform.angular_components.total_records", { count: this.searchTotalRecords });
3544
+ return this.searchTotalRecords === 1
3545
+ ? recordLabel
3546
+ : recordsLabel;
3537
3547
  };
3538
3548
  LookupComponent.prototype._convertToMomentHourFormat = function (hourFormat, format) {
3539
3549
  if (format === "dd/mm/yy") { // valor padrão para o format.
@@ -15728,7 +15738,7 @@ var fallback = {
15728
15738
  "platform.angular_components.not_informed": "Não informado",
15729
15739
  "platform.angular_components.advanced_search": "Pesquisa avançada",
15730
15740
  "platform.angular_components.no_records_found": "Nenhum registro encontrado",
15731
- "platform.angular_components.total_record": "{{ count }} registros encontrados",
15741
+ "platform.angular_components.total_record": "{{ count }} registro encontrado",
15732
15742
  "platform.angular_components.total_records": "{{ count }} registros encontrados",
15733
15743
  "platform.angular_components.total_records_selected": "{0} registros selecionados",
15734
15744
  "platform.angular_components.country_name_br": "Brasil",