@seniorsistemas/angular-components 17.2.16 → 17.2.18
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/bundles/seniorsistemas-angular-components.umd.js +14 -4
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/dynamic-form/components/fields/calendar/calendar-field.component.js +1 -1
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +13 -3
- package/esm2015/locale/fallback.js +2 -2
- package/esm5/components/dynamic-form/components/fields/calendar/calendar-field.component.js +1 -1
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +13 -3
- package/esm5/locale/fallback.js +2 -2
- package/fesm2015/seniorsistemas-angular-components.js +14 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +14 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -3532,8 +3532,18 @@ var LookupComponent = /** @class */ (function () {
|
|
|
3532
3532
|
});
|
|
3533
3533
|
};
|
|
3534
3534
|
LookupComponent.prototype.printRecordTotalizer = function () {
|
|
3535
|
-
|
|
3536
|
-
|
|
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.
|
|
@@ -7255,7 +7265,7 @@ var CalendarFieldComponent = /** @class */ (function () {
|
|
|
7255
7265
|
], CalendarFieldComponent.prototype, "timeOnly", void 0);
|
|
7256
7266
|
CalendarFieldComponent = __decorate([
|
|
7257
7267
|
Component({
|
|
7258
|
-
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-calendar, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n <p-calendar\n #calendar\n sCalendarMask\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate\"\n [locale]=\"field.calendarLocaleOptions || locale\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.
|
|
7268
|
+
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-calendar, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n <p-calendar\n #calendar\n sCalendarMask\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate\"\n [locale]=\"field.calendarLocaleOptions || locale\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\"\n [hourFormat]=\"field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\"\n [view]=\"field.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\">\n </p-calendar>\n</div>\n"
|
|
7259
7269
|
})
|
|
7260
7270
|
], CalendarFieldComponent);
|
|
7261
7271
|
return CalendarFieldComponent;
|
|
@@ -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 }}
|
|
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",
|