@seniorsistemas/angular-components 16.10.14 → 16.10.16
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 +3 -2
- 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/components/timeline/models/timeline-item.d.ts +2 -0
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +2 -2
- package/esm2015/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +2 -2
- package/esm2015/components/timeline/models/timeline-item.js +2 -1
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +2 -2
- package/esm5/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +2 -2
- package/esm5/components/timeline/models/timeline-item.js +2 -1
- package/fesm2015/seniorsistemas-angular-components.js +3 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +3 -2
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -2778,7 +2778,7 @@ var LookupComponent = /** @class */ (function () {
|
|
|
2778
2778
|
var label = this.searchTotalRecords === 1
|
|
2779
2779
|
? this.recordsLabel.trim()
|
|
2780
2780
|
: this.recordsLabel.trim();
|
|
2781
|
-
return (this.searchTotalRecordsLabel || this.searchTotalRecords) + " " + label
|
|
2781
|
+
return (this.searchTotalRecordsLabel || this.searchTotalRecords) + " " + label;
|
|
2782
2782
|
};
|
|
2783
2783
|
LookupComponent.prototype._convertToMomentHourFormat = function (hourFormat, format) {
|
|
2784
2784
|
if (format === "dd/mm/yy") { // valor padrão para o format.
|
|
@@ -9675,7 +9675,7 @@ var TimelineIconItemComponent = /** @class */ (function () {
|
|
|
9675
9675
|
TimelineIconItemComponent = __decorate([
|
|
9676
9676
|
Component({
|
|
9677
9677
|
selector: "s-timeline-icon-item",
|
|
9678
|
-
template: "<ng-container *ngIf=\"item\">\n <div\n class=\"timeline__icon-item\"\n [ngClass]=\"{\n 'timeline__icon-item--small': item.testSize('small'),\n 'timeline__icon-item--normal': item.testSize('normal'),\n 'timeline__icon-item--warning': item.testSeverity('warning'),\n 'timeline__icon-item--error': item.testSeverity('error'),\n 'timeline__icon-item--completed': isComplete,\n 'timeline__icon-item--active': isActive\n }\">\n <div\n class=\"timeline__icon-item__icon\"\n [pTooltip]=\"item.tooltip\"\n tooltipPosition=\"top\">\n <ng-content *ngIf=\"item.icon; then icon_content; else label_text_content\"></ng-content>\n <ng-template #icon_content>\n <span [ngClass]=\"item.icon\"></span>\n </ng-template>\n <ng-template #label_text_content>\n <span class=\"timeline__icon-item__icon__label\">\n {{ item.label }}\n </span>\n </ng-template>\n </div>\n </div>\n</ng-container>\n",
|
|
9678
|
+
template: "<ng-container *ngIf=\"item\">\n <div\n class=\"timeline__icon-item\"\n [ngClass]=\"{\n 'timeline__icon-item--small': item.testSize('small'),\n 'timeline__icon-item--normal': item.testSize('normal'),\n 'timeline__icon-item--warning': item.testSeverity('warning'),\n 'timeline__icon-item--error': item.testSeverity('error'),\n 'timeline__icon-item--completed': isComplete,\n 'timeline__icon-item--active': isActive\n }\">\n <div\n class=\"timeline__icon-item__icon\"\n [pTooltip]=\"item.tooltip\"\n tooltipPosition=\"top\"\n [ngStyle]=\"{ backgroundColor: item.color }\">\n <ng-content *ngIf=\"item.icon; then icon_content; else label_text_content\"></ng-content>\n <ng-template #icon_content>\n <span [ngClass]=\"item.icon\"></span>\n </ng-template>\n <ng-template #label_text_content>\n <span class=\"timeline__icon-item__icon__label\">\n {{ item.label }}\n </span>\n </ng-template>\n </div>\n </div>\n</ng-container>\n",
|
|
9679
9679
|
styles: [".timeline__icon-item .timeline__icon-item__icon{-ms-flex-align:center;align-items:center;background-color:#697882;border-radius:50%;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:4px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.timeline__icon-item .timeline__icon-item__icon .timeline__icon-item__icon__label{font-family:\"Open Sans\",sans-serif}.timeline__icon-item.timeline__icon-item--small .timeline__icon-item__icon{font-size:0;height:16px;width:16px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon{font-size:10px;height:24px;padding:8px;width:24px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:14px}.timeline__icon-item.timeline__icon-item--active .timeline__icon-item__icon{font-size:20px;height:40px;padding:10px;width:40px}.timeline__icon-item.timeline__icon-item--active .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:22px}.timeline__icon-item.timeline__icon-item--active .timeline__icon-item__icon,.timeline__icon-item.timeline__icon-item--completed .timeline__icon-item__icon{background-color:#0c9348}.timeline__icon-item.timeline__icon-item--warning.timeline__icon-item--active .timeline__icon-item__icon{background-color:#fcbf10;color:#333}.timeline__icon-item.timeline__icon-item--danger.timeline__icon-item--active .timeline__icon-item__icon{background-color:#f8931f;color:#333}.timeline__icon-item.timeline__icon-item--error.timeline__icon-item--active .timeline__icon-item__icon{background-color:#c13018}"]
|
|
9680
9680
|
})
|
|
9681
9681
|
], TimelineIconItemComponent);
|
|
@@ -9950,6 +9950,7 @@ var TimelineItem = /** @class */ (function () {
|
|
|
9950
9950
|
this.tooltip = params.tooltip;
|
|
9951
9951
|
this.size = params.size || TimelineItemSize.Normal;
|
|
9952
9952
|
this.severity = params.severity || TimelineItemSeverity.Normal;
|
|
9953
|
+
this.color = params.color;
|
|
9953
9954
|
this.checkItemIconContent();
|
|
9954
9955
|
}
|
|
9955
9956
|
TimelineItem.prototype.checkItemIconContent = function () {
|