ngx-techlify-core 14.14.0 → 14.16.0
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/audit-log/audit-log-list/audit-log-list.component.mjs +108 -46
- package/esm2020/lib/audit-log/audit-log-list/audit-log-list.module.mjs +8 -4
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +31 -40
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.mjs +7 -3
- package/esm2020/lib/audit-log/audit-log.service.mjs +18 -0
- package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.mjs +3 -3
- package/esm2020/lib/change-password/change-password.component.mjs +3 -3
- package/esm2020/lib/export-excel/export-excel-button/export-excel-button.component.mjs +4 -4
- package/esm2020/lib/login/login.component.mjs +3 -3
- package/esm2020/lib/user/user-view.component.mjs +1 -1
- package/esm2020/lib/user/users-view-all.component.mjs +48 -58
- package/fesm2015/ngx-techlify-core.mjs +264 -213
- package/fesm2015/ngx-techlify-core.mjs.map +1 -1
- package/fesm2020/ngx-techlify-core.mjs +262 -204
- package/fesm2020/ngx-techlify-core.mjs.map +1 -1
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +15 -12
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +2 -1
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +9 -9
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +2 -1
- package/lib/audit-log/audit-log.service.d.ts +8 -0
- package/lib/user/users-view-all.component.d.ts +6 -10
- package/package.json +1 -1
|
@@ -1,35 +1,38 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
|
-
import { PageEvent } from '../../data-table/data-table.model';
|
|
5
|
-
import { DataManager } from '../../core/dataManager.service';
|
|
6
4
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
import { TechlifyListingControllerInterface } from '../../base-model';
|
|
6
|
+
import { FormBuilder } from '@angular/forms';
|
|
7
|
+
import { AuditLogService } from '../audit-log.service';
|
|
8
|
+
import { RequestHelperService } from '../../request-helper/request-helper.service';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AuditLogListComponent implements OnInit, OnDestroy {
|
|
9
|
-
private dataManager;
|
|
10
|
+
export declare class AuditLogListComponent extends TechlifyListingControllerInterface implements OnInit, OnDestroy {
|
|
10
11
|
private router;
|
|
11
12
|
sanitizer: DomSanitizer;
|
|
12
|
-
|
|
13
|
+
private formBuilder;
|
|
14
|
+
private auditLogService;
|
|
15
|
+
private requestHelperService;
|
|
16
|
+
private activatedRoute;
|
|
13
17
|
objectId: any;
|
|
14
18
|
objectType: any;
|
|
15
19
|
showFilter: boolean;
|
|
16
20
|
showExportButtons: boolean;
|
|
17
21
|
userId: any;
|
|
18
|
-
|
|
22
|
+
disableFilterPatchingFromUrl: boolean;
|
|
19
23
|
filters: any;
|
|
20
24
|
displayedColumns: any[];
|
|
21
25
|
sort: MatSort;
|
|
22
|
-
constructor(
|
|
26
|
+
constructor(router: Router, sanitizer: DomSanitizer, formBuilder: FormBuilder, auditLogService: AuditLogService, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute);
|
|
23
27
|
ngOnInit(): void;
|
|
24
28
|
get excelData(): any[];
|
|
25
29
|
changeSort(event: any): void;
|
|
26
30
|
logClicked(log: any): void;
|
|
27
|
-
initializeData():
|
|
31
|
+
initializeData(): void;
|
|
28
32
|
filterChange(event: any): void;
|
|
29
|
-
onScroll(): void;
|
|
30
|
-
reload(): void;
|
|
31
33
|
getTransformedChanges(log: any): string;
|
|
32
34
|
ngOnDestroy(): void;
|
|
35
|
+
loadData(): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogListComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogListComponent, "app-audit-log-list", never, { "objectId": "objectId"; "objectType": "objectType"; "showFilter": "showFilter"; "showExportButtons": "showExportButtons"; "userId": "userId"; }, {}, never, never, false>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogListComponent, "app-audit-log-list", never, { "objectId": "objectId"; "objectType": "objectType"; "showFilter": "showFilter"; "showExportButtons": "showExportButtons"; "userId": "userId"; "disableFilterPatchingFromUrl": "disableFilterPatchingFromUrl"; }, {}, never, never, false>;
|
|
35
38
|
}
|
|
@@ -8,8 +8,9 @@ import * as i6 from "@angular/forms";
|
|
|
8
8
|
import * as i7 from "../../material.module";
|
|
9
9
|
import * as i8 from "ngx-infinite-scroll";
|
|
10
10
|
import * as i9 from "../audit-log-list-filter/audit-log-list-filter.module";
|
|
11
|
+
import * as i10 from "@angular/material/progress-bar";
|
|
11
12
|
export declare class AuditLogListModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogListModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogListModule, [typeof i1.AuditLogListComponent], [typeof i2.CommonModule, typeof i3.AuditLogListRoutingModule, typeof i4.ExportExcelModule, typeof i5.FlexLayoutModule, typeof i6.ReactiveFormsModule, typeof i7.MaterialModule, typeof i8.InfiniteScrollModule, typeof i9.AuditLogListFilterModule], [typeof i1.AuditLogListComponent]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogListModule, [typeof i1.AuditLogListComponent], [typeof i2.CommonModule, typeof i3.AuditLogListRoutingModule, typeof i4.ExportExcelModule, typeof i5.FlexLayoutModule, typeof i6.ReactiveFormsModule, typeof i7.MaterialModule, typeof i8.InfiniteScrollModule, typeof i9.AuditLogListFilterModule, typeof i10.MatProgressBarModule], [typeof i1.AuditLogListComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuditLogListModule>;
|
|
15
16
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup
|
|
3
|
-
import { FormValidatorService } from '../../core
|
|
1
|
+
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { FormValidatorService } from '../../core';
|
|
4
|
+
import { TimelineValue } from '../../timeline-filter';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AuditLogListFilterComponent implements OnInit {
|
|
6
|
-
private fb;
|
|
6
|
+
export declare class AuditLogListFilterComponent implements OnInit, OnDestroy {
|
|
7
7
|
private formValidatorService;
|
|
8
|
-
|
|
8
|
+
filterForm: UntypedFormGroup;
|
|
9
9
|
objectId: any;
|
|
10
10
|
objectType: any;
|
|
11
11
|
valueChange: EventEmitter<any>;
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(formValidatorService: FormValidatorService);
|
|
13
13
|
get showObjectFilter(): boolean;
|
|
14
|
-
private createForm;
|
|
15
14
|
ngOnInit(): void;
|
|
15
|
+
onDurationChange(timelineValue: TimelineValue): void;
|
|
16
16
|
resetFieldValue(field: string): void;
|
|
17
17
|
getFieldValue(field: string): any;
|
|
18
18
|
isFieldValid(field: string): any;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogListFilterComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogListFilterComponent, "app-audit-log-list-filter", never, { "objectId": "objectId"; "objectType": "objectType"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogListFilterComponent, "app-audit-log-list-filter", never, { "filterForm": "filterForm"; "objectId": "objectId"; "objectType": "objectType"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
22
22
|
}
|
|
@@ -6,8 +6,9 @@ import * as i4 from "@angular/flex-layout";
|
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
7
|
import * as i6 from "../../material.module";
|
|
8
8
|
import * as i7 from "../../searchable-selector/searchable-selector.module";
|
|
9
|
+
import * as i8 from "../../timeline-filter/timeline-filter.module";
|
|
9
10
|
export declare class AuditLogListFilterModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogListFilterModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogListFilterModule, [typeof i1.AuditLogListFilterComponent], [typeof i2.CommonModule, typeof i3.AuditLogListFilterRoutingModule, typeof i4.FlexLayoutModule, typeof i5.ReactiveFormsModule, typeof i6.MaterialModule, typeof i7.SearchableSelectorModule], [typeof i1.AuditLogListFilterComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogListFilterModule, [typeof i1.AuditLogListFilterComponent], [typeof i2.CommonModule, typeof i3.AuditLogListFilterRoutingModule, typeof i4.FlexLayoutModule, typeof i5.ReactiveFormsModule, typeof i6.MaterialModule, typeof i7.SearchableSelectorModule, typeof i8.TimelineFilterModule], [typeof i1.AuditLogListFilterComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuditLogListFilterModule>;
|
|
13
14
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TechlifyServiceBaseClass } from '../base-model';
|
|
2
|
+
import { HttpService } from '../core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AuditLogService extends TechlifyServiceBaseClass {
|
|
5
|
+
constructor(httpService: HttpService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuditLogService>;
|
|
8
|
+
}
|
|
@@ -4,14 +4,15 @@ import { CurrentUserService } from './current-user.service';
|
|
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
5
|
import { UserService } from './user.service';
|
|
6
6
|
import { MultiUserConfig, UserConfigService } from '../user-config';
|
|
7
|
-
import { UntypedFormBuilder
|
|
8
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
7
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
9
8
|
import { Sort } from '@angular/material/sort';
|
|
10
9
|
import { PageEvent } from '../data-table';
|
|
11
10
|
import { AlertService, HttpService } from '../core';
|
|
12
11
|
import { RequestHelperService } from '../request-helper/request-helper.service';
|
|
12
|
+
import { TechlifyListingControllerInterface } from '../base-model';
|
|
13
|
+
import { ActivatedRoute } from '@angular/router';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class UsersViewAllComponent implements OnInit {
|
|
15
|
+
export declare class UsersViewAllComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
15
16
|
private http;
|
|
16
17
|
private alertService;
|
|
17
18
|
currentUserService: CurrentUserService;
|
|
@@ -20,24 +21,21 @@ export declare class UsersViewAllComponent implements OnInit {
|
|
|
20
21
|
private userService;
|
|
21
22
|
private fb;
|
|
22
23
|
private requestHelperService;
|
|
24
|
+
private activatedRoute;
|
|
23
25
|
clientId: number;
|
|
24
26
|
userTypeIds: number[];
|
|
25
27
|
currentUser: User;
|
|
26
28
|
isWorking: boolean;
|
|
27
|
-
displayItemAddDialog: boolean;
|
|
28
29
|
config: MultiUserConfig;
|
|
29
30
|
user: User;
|
|
30
31
|
title: string;
|
|
31
|
-
userFilterForm: UntypedFormGroup;
|
|
32
32
|
pageEvent: PageEvent;
|
|
33
|
-
usersDataSource: MatTableDataSource<User>;
|
|
34
33
|
displayedColumns: string[];
|
|
35
34
|
scrollContainer: string;
|
|
36
|
-
constructor(http: HttpService, alertService: AlertService, currentUserService: CurrentUserService, userConfigService: UserConfigService, dialog: MatDialog, userService: UserService, fb: UntypedFormBuilder, requestHelperService: RequestHelperService);
|
|
35
|
+
constructor(http: HttpService, alertService: AlertService, currentUserService: CurrentUserService, userConfigService: UserConfigService, dialog: MatDialog, userService: UserService, fb: UntypedFormBuilder, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute);
|
|
37
36
|
ngOnInit(): void;
|
|
38
37
|
private createForm;
|
|
39
38
|
loadData(): void;
|
|
40
|
-
resetPassword(event: any): Promise<void>;
|
|
41
39
|
createOrEditUser(user?: any): void;
|
|
42
40
|
deleteUser(user: any): void;
|
|
43
41
|
/**
|
|
@@ -45,8 +43,6 @@ export declare class UsersViewAllComponent implements OnInit {
|
|
|
45
43
|
* @param sort Sort
|
|
46
44
|
*/
|
|
47
45
|
onSortChange(sort: Sort): void;
|
|
48
|
-
reload(): void;
|
|
49
|
-
onScroll(): void;
|
|
50
46
|
/**
|
|
51
47
|
* Get the user type for the current client.
|
|
52
48
|
*
|