zek 14.2.75 → 14.2.76
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/components/base.component.mjs +6 -3
- package/esm2020/lib/components/edit-base.component.mjs +27 -36
- package/esm2020/lib/components/list-base.component.mjs +27 -22
- package/esm2020/lib/modules/alert/alert/alert.component.mjs +11 -3
- package/esm2020/lib/modules/list-toolbar/list-toolbar.component.mjs +3 -2
- package/esm2020/lib/services/http-error-handler.service.mjs +4 -1
- package/fesm2015/zek.mjs +71 -61
- package/fesm2015/zek.mjs.map +1 -1
- package/fesm2020/zek.mjs +71 -61
- package/fesm2020/zek.mjs.map +1 -1
- package/lib/components/base.component.d.ts +1 -0
- package/lib/components/edit-base.component.d.ts +4 -4
- package/lib/components/list-base.component.d.ts +3 -3
- package/lib/modules/alert/alert/alert.component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class BaseComponent<TModel = any> extends CoreComponent {
|
|
|
14
14
|
protected get url(): string;
|
|
15
15
|
model?: TModel | null;
|
|
16
16
|
protected getParam(name: string): string | null;
|
|
17
|
+
protected getQueryParam(name: string): string | null;
|
|
17
18
|
protected navigateReturnUrl(): void;
|
|
18
19
|
cancel(): void;
|
|
19
20
|
downloadFile(blob: Blob | null, fileName: string, type: string): void;
|
|
@@ -35,9 +35,9 @@ export declare class EditFormComponent<TModel = any> extends BaseComponent<TMode
|
|
|
35
35
|
}
|
|
36
36
|
export declare class EditBaseComponent<TModel = any> extends EditFormComponent<TModel> {
|
|
37
37
|
readonly service: IService;
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
constructor(service: IService,
|
|
38
|
+
readonly translate: TranslateService;
|
|
39
|
+
readonly alert: AlertService;
|
|
40
|
+
constructor(service: IService, translate: TranslateService, alert: AlertService, route: ActivatedRoute, router: Router);
|
|
41
41
|
protected internalSave(navigateToReturnUrl?: boolean | null): Promise<boolean>;
|
|
42
42
|
protected internalApprove(model?: any): Promise<boolean>;
|
|
43
43
|
protected internalDisapprove(model?: any): Promise<boolean>;
|
|
@@ -52,7 +52,7 @@ export declare class EditBaseComponent<TModel = any> extends EditFormComponent<T
|
|
|
52
52
|
}
|
|
53
53
|
export declare class EditComponent<TModel> extends EditBaseComponent<TModel> {
|
|
54
54
|
private readonly ctorModel;
|
|
55
|
-
constructor(ctorModel: IObjectConstructor<TModel>, service: IService,
|
|
55
|
+
constructor(ctorModel: IObjectConstructor<TModel>, service: IService, translate: TranslateService, alert: AlertService, route: ActivatedRoute, router: Router);
|
|
56
56
|
protected initCreate(): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditComponent<any>, never>;
|
|
58
58
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EditComponent<any>, never, never, {}, {}, never, never, false>;
|
|
@@ -8,8 +8,8 @@ import { AlertService } from '../services/alert.service';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ListBaseComponent<TService extends IService = IService> extends BaseComponent<PagedList> {
|
|
10
10
|
protected readonly service: TService;
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
11
|
+
readonly translate: TranslateService;
|
|
12
|
+
readonly alert: AlertService;
|
|
13
13
|
filter: any;
|
|
14
14
|
saveFilter: boolean;
|
|
15
15
|
sortFields: any;
|
|
@@ -25,7 +25,7 @@ export declare class ListBaseComponent<TService extends IService = IService> ext
|
|
|
25
25
|
};
|
|
26
26
|
protected readonly approveModal?: ModalComponent | null;
|
|
27
27
|
protected readonly disapproveModal?: ModalComponent | null;
|
|
28
|
-
constructor(service: TService,
|
|
28
|
+
constructor(service: TService, translate: TranslateService, alert: AlertService, route: ActivatedRoute, router: Router);
|
|
29
29
|
init(): void;
|
|
30
30
|
bindModel(): Promise<void>;
|
|
31
31
|
protected initDefaultFilter(): void;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { BooleanInput } from '../../../components';
|
|
1
2
|
import { AlertType } from '../../../models';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AlertComponent {
|
|
4
5
|
private _type;
|
|
5
6
|
get type(): AlertType | string | null | undefined;
|
|
6
7
|
set type(v: AlertType | string | null | undefined);
|
|
8
|
+
_showClose: boolean;
|
|
9
|
+
get showClose(): boolean;
|
|
10
|
+
set showClose(v: BooleanInput);
|
|
7
11
|
title?: string | null;
|
|
8
12
|
cssAlert: string;
|
|
9
13
|
cssIcon: string;
|