@osovitny/anatoly 2.14.67 → 2.14.69

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.
@@ -3436,6 +3436,7 @@ class BaseList extends BaseComponent {
3436
3436
  this.pageSize = 10;
3437
3437
  this.skipItems = 0;
3438
3438
  this.currentPage = 1;
3439
+ this.showNoDataIfNoDataFound = true;
3439
3440
  }
3440
3441
  loadPageOne() {
3441
3442
  this.skipItems = 0;
@@ -3471,13 +3472,15 @@ class BaseList extends BaseComponent {
3471
3472
  }
3472
3473
  }
3473
3474
  BaseList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseList, deps: null, target: i0.ɵɵFactoryTarget.Component });
3474
- BaseList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseList, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
3475
+ BaseList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseList, selector: "ng-component", inputs: { showNoDataIfNoDataFound: "showNoDataIfNoDataFound" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
3475
3476
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseList, decorators: [{
3476
3477
  type: Component,
3477
3478
  args: [{
3478
3479
  template: ''
3479
3480
  }]
3480
- }] });
3481
+ }], propDecorators: { showNoDataIfNoDataFound: [{
3482
+ type: Input
3483
+ }] } });
3481
3484
 
3482
3485
  /*
3483
3486
  <file>
@@ -3546,6 +3549,14 @@ class BasePagedPage extends BasePage {
3546
3549
  this.currentFilter = filter;
3547
3550
  this.loadPageOne();
3548
3551
  }
3552
+ dataLoadedAndNothingFound() {
3553
+ this.dataLoadedAndFound(false);
3554
+ }
3555
+ dataLoadedAndFound(found) {
3556
+ this.dataLoading = false;
3557
+ this.dataLoaded = true;
3558
+ this.dataFound = found;
3559
+ }
3549
3560
  //Events
3550
3561
  onPageChange(e) {
3551
3562
  this.pageSize = e.take;