@seniorsistemas/angular-components 15.3.1 → 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 +10 -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/components/table/table-paging/table-paging.component.d.ts +1 -0
- package/esm2015/components/table/table-paging/table-paging.component.js +11 -5
- package/esm5/components/table/table-paging/table-paging.component.js +11 -5
- package/fesm2015/seniorsistemas-angular-components.js +10 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +10 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -4882,6 +4882,7 @@
|
|
|
4882
4882
|
function TablePagingComponent(translate, hostProjectConfigs) {
|
|
4883
4883
|
this.translate = translate;
|
|
4884
4884
|
this.hostProjectConfigs = hostProjectConfigs;
|
|
4885
|
+
this.enableExportSelectedRecords = true;
|
|
4885
4886
|
}
|
|
4886
4887
|
TablePagingComponent.prototype.ngOnChanges = function (changes) {
|
|
4887
4888
|
this.totalRecordsText = this.translate.instant(this.getTranslatePrefix() + "total_records", {
|
|
@@ -4901,13 +4902,15 @@
|
|
|
4901
4902
|
id: "exportCurrentPage",
|
|
4902
4903
|
label: this.translate.instant(this.getTranslatePrefix() + "export_current_page"),
|
|
4903
4904
|
command: function () { return _this.exportCurrentPage(); }
|
|
4904
|
-
}
|
|
4905
|
-
|
|
4905
|
+
}
|
|
4906
|
+
];
|
|
4907
|
+
if (this.enableExportSelectedRecords) {
|
|
4908
|
+
actions.push({
|
|
4906
4909
|
id: "exportSelected",
|
|
4907
4910
|
label: this.translate.instant(this.getTranslatePrefix() + "export_selected_records"),
|
|
4908
4911
|
command: function () { return _this.exportSelectedRecords(); }
|
|
4909
|
-
}
|
|
4910
|
-
|
|
4912
|
+
});
|
|
4913
|
+
}
|
|
4911
4914
|
if (this.loadAllRecords) {
|
|
4912
4915
|
actions.push({
|
|
4913
4916
|
id: "exportAll",
|
|
@@ -5058,6 +5061,9 @@
|
|
|
5058
5061
|
__decorate([
|
|
5059
5062
|
core.Input()
|
|
5060
5063
|
], TablePagingComponent.prototype, "loadAllRecords", void 0);
|
|
5064
|
+
__decorate([
|
|
5065
|
+
core.Input()
|
|
5066
|
+
], TablePagingComponent.prototype, "enableExportSelectedRecords", void 0);
|
|
5061
5067
|
__decorate([
|
|
5062
5068
|
core.Output()
|
|
5063
5069
|
], TablePagingComponent.prototype, "totalRecordsText", void 0);
|