@osovitny/anatoly 2.14.69 → 2.14.70

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.
@@ -2633,6 +2633,9 @@ class BaseComponent {
2633
2633
  this.dataLoaded = false;
2634
2634
  this.dataFound = false;
2635
2635
  }
2636
+ ngOnDestroy() {
2637
+ this.subs.unsubscribe();
2638
+ }
2636
2639
  getEntityId() {
2637
2640
  return this.getValueByNameInQS("id");
2638
2641
  }
@@ -2642,8 +2645,13 @@ class BaseComponent {
2642
2645
  return null;
2643
2646
  return value;
2644
2647
  }
2645
- ngOnDestroy() {
2646
- this.subs.unsubscribe();
2648
+ dataLoadedAndNothingFound() {
2649
+ this.dataLoadedAndFound(false);
2650
+ }
2651
+ dataLoadedAndFound(found) {
2652
+ this.dataLoading = false;
2653
+ this.dataLoaded = true;
2654
+ this.dataFound = found;
2647
2655
  }
2648
2656
  }
2649
2657
  BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -3455,14 +3463,6 @@ class BaseList extends BaseComponent {
3455
3463
  this.currentFilter = filter;
3456
3464
  this.loadPageOne();
3457
3465
  }
3458
- dataLoadedAndNothingFound() {
3459
- this.dataLoadedAndFound(false);
3460
- }
3461
- dataLoadedAndFound(found) {
3462
- this.dataLoading = false;
3463
- this.dataLoaded = true;
3464
- this.dataFound = found;
3465
- }
3466
3466
  //Events
3467
3467
  onPageChange(e) {
3468
3468
  this.pageSize = e.take;
@@ -3549,14 +3549,6 @@ class BasePagedPage extends BasePage {
3549
3549
  this.currentFilter = filter;
3550
3550
  this.loadPageOne();
3551
3551
  }
3552
- dataLoadedAndNothingFound() {
3553
- this.dataLoadedAndFound(false);
3554
- }
3555
- dataLoadedAndFound(found) {
3556
- this.dataLoading = false;
3557
- this.dataLoaded = true;
3558
- this.dataFound = found;
3559
- }
3560
3552
  //Events
3561
3553
  onPageChange(e) {
3562
3554
  this.pageSize = e.take;