@osovitny/anatoly 2.14.66 → 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 +14 -4
- package/esm2020/lib/ui/components/base/base.paged.page.mjs +9 -1
- package/fesm2015/osovitny-anatoly.mjs +20 -2
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +20 -2
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/base/base.list.d.ts +4 -1
- package/lib/ui/components/base/base.paged.page.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3454,6 +3454,14 @@ class BaseList extends BaseComponent {
|
|
|
3454
3454
|
this.currentFilter = filter;
|
|
3455
3455
|
this.loadPageOne();
|
|
3456
3456
|
}
|
|
3457
|
+
dataLoadedAndNothingFound() {
|
|
3458
|
+
this.dataLoadedAndFound(false);
|
|
3459
|
+
}
|
|
3460
|
+
dataLoadedAndFound(found) {
|
|
3461
|
+
this.dataLoading = false;
|
|
3462
|
+
this.dataLoaded = true;
|
|
3463
|
+
this.dataFound = found;
|
|
3464
|
+
}
|
|
3457
3465
|
//Events
|
|
3458
3466
|
onPageChange(e) {
|
|
3459
3467
|
this.pageSize = e.take;
|
|
@@ -3463,13 +3471,15 @@ class BaseList extends BaseComponent {
|
|
|
3463
3471
|
}
|
|
3464
3472
|
}
|
|
3465
3473
|
BaseList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseList, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3466
|
-
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 });
|
|
3467
3475
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseList, decorators: [{
|
|
3468
3476
|
type: Component,
|
|
3469
3477
|
args: [{
|
|
3470
3478
|
template: ''
|
|
3471
3479
|
}]
|
|
3472
|
-
}]
|
|
3480
|
+
}], propDecorators: { hideNoDataIfNoDataFound: [{
|
|
3481
|
+
type: Input
|
|
3482
|
+
}] } });
|
|
3473
3483
|
|
|
3474
3484
|
/*
|
|
3475
3485
|
<file>
|
|
@@ -3538,6 +3548,14 @@ class BasePagedPage extends BasePage {
|
|
|
3538
3548
|
this.currentFilter = filter;
|
|
3539
3549
|
this.loadPageOne();
|
|
3540
3550
|
}
|
|
3551
|
+
dataLoadedAndNothingFound() {
|
|
3552
|
+
this.dataLoadedAndFound(false);
|
|
3553
|
+
}
|
|
3554
|
+
dataLoadedAndFound(found) {
|
|
3555
|
+
this.dataLoading = false;
|
|
3556
|
+
this.dataLoaded = true;
|
|
3557
|
+
this.dataFound = found;
|
|
3558
|
+
}
|
|
3541
3559
|
//Events
|
|
3542
3560
|
onPageChange(e) {
|
|
3543
3561
|
this.pageSize = e.take;
|