@osovitny/anatoly 3.17.52 → 3.17.54
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/esm2022/lib/core/notifications/alerts.mjs +42 -35
- package/esm2022/lib/core/notifications/services/notification-service.mjs +13 -13
- package/esm2022/lib/ui/components/base/list.mjs +12 -2
- package/fesm2022/osovitny-anatoly.mjs +64 -47
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/notifications/alerts.d.ts +3 -2
- package/lib/core/notifications/services/notification-service.d.ts +2 -2
- package/lib/ui/components/base/list.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export declare class Alerts {
|
|
2
|
-
static
|
|
2
|
+
static areYouSure(text: any, title?: any, confirmButtonText?: any, cancelButtonText?: any, successAction?: any, cancelAction?: any): void;
|
|
3
3
|
static info(text: any, params?: any[], title?: any): void;
|
|
4
4
|
static warning(text: any, params?: any[], title?: any): void;
|
|
5
5
|
static error(text?: any, params?: any[], title?: any): void;
|
|
6
|
+
static success(text?: any, params?: any[], title?: any, successAction?: any): void;
|
|
6
7
|
static cancel(text?: any, params?: any[], title?: any): void;
|
|
7
8
|
static notImplemented(): void;
|
|
8
|
-
static
|
|
9
|
+
static authenticationRequired(): void;
|
|
9
10
|
}
|
|
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class NotificationService {
|
|
4
4
|
private toastrService;
|
|
5
5
|
constructor(toastrService: ToastrService);
|
|
6
|
-
success(text?: any, params?: any[], title?: any): void;
|
|
7
6
|
info(text: any, params?: any[], title?: any): void;
|
|
8
7
|
warning(text: any, params?: any[], title?: any): void;
|
|
9
8
|
error(text?: any, params?: any[], title?: any): void;
|
|
9
|
+
success(text?: any, params?: any[], title?: any): void;
|
|
10
10
|
cancel(text?: any, params?: any[], title?: any): void;
|
|
11
11
|
notImplemented(): void;
|
|
12
|
-
|
|
12
|
+
authenticationRequired(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
14
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
15
15
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
1
2
|
import { ComponentBase } from "./components/component";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class ListBase extends ComponentBase {
|
|
4
|
+
export declare abstract class ListBase extends ComponentBase implements AfterViewInit {
|
|
4
5
|
currentFilter: any;
|
|
6
|
+
dataLoaded: boolean;
|
|
5
7
|
items: any[];
|
|
6
8
|
totalItems: number;
|
|
7
9
|
skipItems: number;
|
|
8
10
|
currentPage: number;
|
|
9
11
|
pageSize: number;
|
|
12
|
+
autoDataLoading: boolean;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
10
14
|
loadPage?(page?: number): void;
|
|
11
15
|
loadPageOne(): void;
|
|
12
16
|
reloadPage(drop2pageOne?: boolean): void;
|
|
@@ -14,5 +18,5 @@ export declare abstract class ListBase extends ComponentBase {
|
|
|
14
18
|
toIndex(index: any): any;
|
|
15
19
|
onPageChange(e: any): void;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListBase, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListBase, "ng-component", never, { "pageSize": { "alias": "pageSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListBase, "ng-component", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "autoDataLoading": { "alias": "autoDataLoading"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
22
|
}
|