@seniorsistemas/angular-components 15.3.0 → 15.4.0
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 +11 -5
- 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-paging/table-paging.component.d.ts +1 -0
- package/esm2015/components/table/table-paging/table-paging.component.js +11 -5
- package/esm2015/components/timeline/timeline.component.js +2 -2
- package/esm5/components/table/table-paging/table-paging.component.js +11 -5
- package/esm5/components/timeline/timeline.component.js +2 -2
- package/fesm2015/seniorsistemas-angular-components.js +11 -5
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +11 -5
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -4709,6 +4709,7 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
4709
4709
|
function TablePagingComponent(translate, hostProjectConfigs) {
|
|
4710
4710
|
this.translate = translate;
|
|
4711
4711
|
this.hostProjectConfigs = hostProjectConfigs;
|
|
4712
|
+
this.enableExportSelectedRecords = true;
|
|
4712
4713
|
}
|
|
4713
4714
|
TablePagingComponent.prototype.ngOnChanges = function (changes) {
|
|
4714
4715
|
this.totalRecordsText = this.translate.instant(this.getTranslatePrefix() + "total_records", {
|
|
@@ -4728,13 +4729,15 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
4728
4729
|
id: "exportCurrentPage",
|
|
4729
4730
|
label: this.translate.instant(this.getTranslatePrefix() + "export_current_page"),
|
|
4730
4731
|
command: function () { return _this.exportCurrentPage(); }
|
|
4731
|
-
}
|
|
4732
|
-
|
|
4732
|
+
}
|
|
4733
|
+
];
|
|
4734
|
+
if (this.enableExportSelectedRecords) {
|
|
4735
|
+
actions.push({
|
|
4733
4736
|
id: "exportSelected",
|
|
4734
4737
|
label: this.translate.instant(this.getTranslatePrefix() + "export_selected_records"),
|
|
4735
4738
|
command: function () { return _this.exportSelectedRecords(); }
|
|
4736
|
-
}
|
|
4737
|
-
|
|
4739
|
+
});
|
|
4740
|
+
}
|
|
4738
4741
|
if (this.loadAllRecords) {
|
|
4739
4742
|
actions.push({
|
|
4740
4743
|
id: "exportAll",
|
|
@@ -4885,6 +4888,9 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
4885
4888
|
__decorate([
|
|
4886
4889
|
Input()
|
|
4887
4890
|
], TablePagingComponent.prototype, "loadAllRecords", void 0);
|
|
4891
|
+
__decorate([
|
|
4892
|
+
Input()
|
|
4893
|
+
], TablePagingComponent.prototype, "enableExportSelectedRecords", void 0);
|
|
4888
4894
|
__decorate([
|
|
4889
4895
|
Output()
|
|
4890
4896
|
], TablePagingComponent.prototype, "totalRecordsText", void 0);
|
|
@@ -7757,7 +7763,7 @@ var TimelineComponent = /** @class */ (function () {
|
|
|
7757
7763
|
TimelineComponent = __decorate([
|
|
7758
7764
|
Component({
|
|
7759
7765
|
selector: "s-timeline",
|
|
7760
|
-
template: "<
|
|
7766
|
+
template: "<div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n\n<ng-template #horizontal>\n <s-horizontal-timeline *ngIf=\"items?.length\"\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline *ngIf=\"items?.length\"\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
|
|
7761
7767
|
})
|
|
7762
7768
|
], TimelineComponent);
|
|
7763
7769
|
return TimelineComponent;
|