@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
|
@@ -3679,8 +3679,18 @@
|
|
|
3679
3679
|
});
|
|
3680
3680
|
};
|
|
3681
3681
|
LookupComponent.prototype.printRecordTotalizer = function () {
|
|
3682
|
-
|
|
3683
|
-
|
|
3682
|
+
if (this.searchTotalRecordsLabel) {
|
|
3683
|
+
return this.searchTotalRecordsLabel;
|
|
3684
|
+
}
|
|
3685
|
+
var recordLabel = this.recordLabel
|
|
3686
|
+
? this.searchTotalRecords + " " + this.recordLabel
|
|
3687
|
+
: this.translateService.instant("platform.angular_components.total_record", { count: this.searchTotalRecords });
|
|
3688
|
+
var recordsLabel = this.recordsLabel
|
|
3689
|
+
? this.searchTotalRecords + " " + this.recordsLabel
|
|
3690
|
+
: this.translateService.instant("platform.angular_components.total_records", { count: this.searchTotalRecords });
|
|
3691
|
+
return this.searchTotalRecords === 1
|
|
3692
|
+
? recordLabel
|
|
3693
|
+
: recordsLabel;
|
|
3684
3694
|
};
|
|
3685
3695
|
LookupComponent.prototype._convertToMomentHourFormat = function (hourFormat, format) {
|
|
3686
3696
|
if (format === "dd/mm/yy") { // valor padrão para o format.
|
|
@@ -7402,7 +7412,7 @@
|
|
|
7402
7412
|
], CalendarFieldComponent.prototype, "timeOnly", void 0);
|
|
7403
7413
|
CalendarFieldComponent = __decorate([
|
|
7404
7414
|
core.Component({
|
|
7405
|
-
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.
|
|
7415
|
+
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"
|
|
7406
7416
|
})
|
|
7407
7417
|
], CalendarFieldComponent);
|
|
7408
7418
|
return CalendarFieldComponent;
|
|
@@ -15875,7 +15885,7 @@
|
|
|
15875
15885
|
"platform.angular_components.not_informed": "Não informado",
|
|
15876
15886
|
"platform.angular_components.advanced_search": "Pesquisa avançada",
|
|
15877
15887
|
"platform.angular_components.no_records_found": "Nenhum registro encontrado",
|
|
15878
|
-
"platform.angular_components.total_record": "{{ count }}
|
|
15888
|
+
"platform.angular_components.total_record": "{{ count }} registro encontrado",
|
|
15879
15889
|
"platform.angular_components.total_records": "{{ count }} registros encontrados",
|
|
15880
15890
|
"platform.angular_components.total_records_selected": "{0} registros selecionados",
|
|
15881
15891
|
"platform.angular_components.country_name_br": "Brasil",
|