@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.
@@ -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);