@seniorsistemas/angular-components 15.0.4 → 15.1.1
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 +17 -6
- 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/table/table-column/models/column-values.interface.d.ts +1 -0
- package/components/table/table-column/models/column.interface.d.ts +1 -0
- package/components/table/table-column/table-columns.component.d.ts +1 -0
- package/esm2015/components/table/table-column/models/column-values.interface.js +1 -1
- package/esm2015/components/table/table-column/models/column.interface.js +1 -1
- package/esm2015/components/table/table-column/table-columns.component.js +12 -2
- package/esm2015/components/table/table.module.js +4 -2
- package/esm2015/components/timeline/timeline.component.js +2 -2
- package/esm2015/seniorsistemas-angular-components.js +4 -4
- package/esm5/components/table/table-column/models/column-values.interface.js +1 -1
- package/esm5/components/table/table-column/models/column.interface.js +1 -1
- package/esm5/components/table/table-column/table-columns.component.js +12 -2
- package/esm5/components/table/table.module.js +4 -2
- package/esm5/components/timeline/timeline.component.js +2 -2
- package/esm5/seniorsistemas-angular-components.js +4 -4
- package/fesm2015/seniorsistemas-angular-components.js +15 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +15 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +3 -3
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -4447,6 +4447,7 @@
|
|
|
4447
4447
|
uninformed: uninformed,
|
|
4448
4448
|
type: column.type,
|
|
4449
4449
|
tooltip: this.getColumnTooltip(column.tooltip),
|
|
4450
|
+
infoSign: this.getColumnInfoSign(column.infoSign),
|
|
4450
4451
|
onLinkClick: column.onLinkClick,
|
|
4451
4452
|
onColumnClick: column.onColumnClick
|
|
4452
4453
|
};
|
|
@@ -4466,6 +4467,15 @@
|
|
|
4466
4467
|
}
|
|
4467
4468
|
return scale;
|
|
4468
4469
|
};
|
|
4470
|
+
TableColumnsComponent.prototype.getColumnInfoSign = function (infoSign) {
|
|
4471
|
+
if (infoSign !== undefined && infoSign !== null) {
|
|
4472
|
+
if (typeof infoSign === "function") {
|
|
4473
|
+
return infoSign(this.rowValue);
|
|
4474
|
+
}
|
|
4475
|
+
return infoSign;
|
|
4476
|
+
}
|
|
4477
|
+
return null;
|
|
4478
|
+
};
|
|
4469
4479
|
TableColumnsComponent.prototype.getColumnTooltip = function (tooltip) {
|
|
4470
4480
|
if (tooltip !== undefined && tooltip !== null) {
|
|
4471
4481
|
if (typeof tooltip === "function") {
|
|
@@ -4543,7 +4553,7 @@
|
|
|
4543
4553
|
], TableColumnsComponent.prototype, "locale", void 0);
|
|
4544
4554
|
TableColumnsComponent = __decorate([
|
|
4545
4555
|
core.Component({
|
|
4546
|
-
template: "
|
|
4556
|
+
template: "<ng-template #columnsTemplate>\n <td *ngFor=\"let column of formattedColumns\"\n [ngStyle]=\"column.style\"\n (click)=\"column.onColumnClick ? column.onColumnClick(rowValue) : null\">\n\n <div *ngIf=\"column.type !== 'TOKENS' || !isArray(column.columnValue); else tokensTemplate\">\n <span *ngIf=\"column.type !== 'LINK'\"\n [pTooltip]=\"column.tooltip\"\n [escape]=\"false\"\n [ngClass]=\"column.badgeClass\">\n <ng-container *ngTemplateOutlet=\"columnValueTemplate\"></ng-container> \n </span>\n\n <a *ngIf=\"column.type === 'LINK'\"\n [pTooltip]=\"column.tooltip\"\n [escape]=\"false\"\n (click)=\"column.onLinkClick ? column.onLinkClick(rowValue) : null\">\n <ng-container *ngTemplateOutlet=\"columnValueTemplate\"></ng-container> \n </a>\n\n <ng-template #columnValueTemplate>\n <span *ngFor=\"let value of getSplittedString(column)\">\n <span [ngClass]=\"{ 'sds-empty-value': value.isUninformed }\">{{value.value}}</span>\n <span>{{value.separator}}</span>\n </span>\n <ng-container *ngIf=\"!!column.infoSign\">\n <span *sInfoSign=\"column.infoSign\"></span>\n </ng-container>\n </ng-template>\n </div>\n\n <ng-template #tokensTemplate>\n <s-token-list\n [tokens]=\"column.columnValue\"\n [hidePointerEvents]=\"true\"\n >\n </s-token-list>\n <ng-container *ngIf=\"!!column.infoSign\">\n <span *sInfoSign=\"column.infoSign\"></span>\n </ng-container>\n </ng-template>\n </td>\n</ng-template>\n",
|
|
4547
4557
|
selector: "s-table-columns",
|
|
4548
4558
|
styles: [":host{display:none}"]
|
|
4549
4559
|
}),
|
|
@@ -4787,7 +4797,8 @@
|
|
|
4787
4797
|
tooltip.TooltipModule,
|
|
4788
4798
|
TokenListModule,
|
|
4789
4799
|
core$1.TranslateModule,
|
|
4790
|
-
ButtonModule
|
|
4800
|
+
ButtonModule,
|
|
4801
|
+
InfoSignModule
|
|
4791
4802
|
],
|
|
4792
4803
|
exports: [
|
|
4793
4804
|
RowTogllerDirective,
|
|
@@ -7634,7 +7645,7 @@
|
|
|
7634
7645
|
TimelineComponent = __decorate([
|
|
7635
7646
|
core.Component({
|
|
7636
7647
|
selector: "s-timeline",
|
|
7637
|
-
template: "<div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
|
|
7648
|
+
template: "<ng-template *ngIf=\"items?.length\">\n <div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n</ng-template>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
|
|
7638
7649
|
})
|
|
7639
7650
|
], TimelineComponent);
|
|
7640
7651
|
return TimelineComponent;
|
|
@@ -9960,9 +9971,9 @@
|
|
|
9960
9971
|
exports.ɵbw = CodeMirror6Core;
|
|
9961
9972
|
exports.ɵc = LocalizedBignumberImpurePipe;
|
|
9962
9973
|
exports.ɵd = EmptyStateGoBackComponent;
|
|
9963
|
-
exports.ɵe =
|
|
9964
|
-
exports.ɵf =
|
|
9965
|
-
exports.ɵg =
|
|
9974
|
+
exports.ɵe = InfoSignComponent;
|
|
9975
|
+
exports.ɵf = TableColumnsComponent;
|
|
9976
|
+
exports.ɵg = TablePagingComponent;
|
|
9966
9977
|
exports.ɵh = AutocompleteFieldComponent;
|
|
9967
9978
|
exports.ɵi = BooleanFieldComponent;
|
|
9968
9979
|
exports.ɵj = CalendarFieldComponent;
|