@osovitny/anatoly 2.14.67 → 2.14.68
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/esm2020/lib/ui/components/base/base.list.mjs +6 -4
- package/esm2020/lib/ui/components/base/base.paged.page.mjs +9 -1
- package/fesm2015/osovitny-anatoly.mjs +12 -2
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +12 -2
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/base/base.list.d.ts +2 -1
- package/lib/ui/components/base/base.paged.page.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3471,13 +3471,15 @@ class BaseList extends BaseComponent {
|
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
3473
|
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 });
|
|
3474
|
+
BaseList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseList, selector: "ng-component", inputs: { hideNoDataIfNoDataFound: "hideNoDataIfNoDataFound" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
3475
3475
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseList, decorators: [{
|
|
3476
3476
|
type: Component,
|
|
3477
3477
|
args: [{
|
|
3478
3478
|
template: ''
|
|
3479
3479
|
}]
|
|
3480
|
-
}]
|
|
3480
|
+
}], propDecorators: { hideNoDataIfNoDataFound: [{
|
|
3481
|
+
type: Input
|
|
3482
|
+
}] } });
|
|
3481
3483
|
|
|
3482
3484
|
/*
|
|
3483
3485
|
<file>
|
|
@@ -3546,6 +3548,14 @@ class BasePagedPage extends BasePage {
|
|
|
3546
3548
|
this.currentFilter = filter;
|
|
3547
3549
|
this.loadPageOne();
|
|
3548
3550
|
}
|
|
3551
|
+
dataLoadedAndNothingFound() {
|
|
3552
|
+
this.dataLoadedAndFound(false);
|
|
3553
|
+
}
|
|
3554
|
+
dataLoadedAndFound(found) {
|
|
3555
|
+
this.dataLoading = false;
|
|
3556
|
+
this.dataLoaded = true;
|
|
3557
|
+
this.dataFound = found;
|
|
3558
|
+
}
|
|
3549
3559
|
//Events
|
|
3550
3560
|
onPageChange(e) {
|
|
3551
3561
|
this.pageSize = e.take;
|