ngx-techlify-core 18.78.0 → 18.79.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/esm2022/lib/user/app-admin-user-list/app-admin-user-list.component.mjs +182 -0
- package/esm2022/lib/user/users-view-all.component.mjs +7 -23
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ngx-techlify-core.mjs +150 -22
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/user/app-admin-user-list/app-admin-user-list.component.d.ts +41 -0
- package/lib/user/users-view-all.component.d.ts +1 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { User } from '../user.model';
|
|
5
|
+
import { CurrentUserService } from '../current-user.service';
|
|
6
|
+
import { UserService } from '../user.service';
|
|
7
|
+
import { MultiUserConfig, UserConfigService } from '../../user-config';
|
|
8
|
+
import { AlertService } from '../../core';
|
|
9
|
+
import { TechlifyListComponent } from '../../base-model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class AppAdminUserList extends TechlifyListComponent implements OnInit {
|
|
12
|
+
private alertService;
|
|
13
|
+
currentUserService: CurrentUserService;
|
|
14
|
+
userConfigService: UserConfigService;
|
|
15
|
+
private dialog;
|
|
16
|
+
protected service: UserService;
|
|
17
|
+
private fb;
|
|
18
|
+
clientId: number;
|
|
19
|
+
userTypeIds: number[];
|
|
20
|
+
currentUser: User;
|
|
21
|
+
config: MultiUserConfig;
|
|
22
|
+
user: User;
|
|
23
|
+
title: string;
|
|
24
|
+
displayedColumns: string[];
|
|
25
|
+
scrollContainer: string;
|
|
26
|
+
models: any[];
|
|
27
|
+
constructor(alertService: AlertService, currentUserService: CurrentUserService, userConfigService: UserConfigService, dialog: MatDialog, service: UserService, fb: UntypedFormBuilder);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
getUserViewRoute(user: any): string;
|
|
30
|
+
loadData(): void;
|
|
31
|
+
createOrEditUser(user?: any): void;
|
|
32
|
+
/**
|
|
33
|
+
* Get the user type for the current client.
|
|
34
|
+
*
|
|
35
|
+
* @param user User
|
|
36
|
+
*/
|
|
37
|
+
getUserType(user: any): string;
|
|
38
|
+
resetPassword(user: any): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAdminUserList, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppAdminUserList, "app-admin-user-list", never, { "clientId": { "alias": "clientId"; "required": false; }; "userTypeIds": { "alias": "userTypeIds"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -15,7 +15,6 @@ export declare class UsersViewAllComponent extends TechlifyListComponent impleme
|
|
|
15
15
|
private dialog;
|
|
16
16
|
protected service: UserService;
|
|
17
17
|
private fb;
|
|
18
|
-
clientId: number;
|
|
19
18
|
userTypeIds: number[];
|
|
20
19
|
currentUser: User;
|
|
21
20
|
config: MultiUserConfig;
|
|
@@ -24,10 +23,8 @@ export declare class UsersViewAllComponent extends TechlifyListComponent impleme
|
|
|
24
23
|
displayedColumns: string[];
|
|
25
24
|
scrollContainer: string;
|
|
26
25
|
models: any[];
|
|
27
|
-
isAppAdminUser: boolean;
|
|
28
26
|
constructor(alertService: AlertService, currentUserService: CurrentUserService, userConfigService: UserConfigService, dialog: MatDialog, service: UserService, fb: UntypedFormBuilder);
|
|
29
27
|
ngOnInit(): void;
|
|
30
|
-
getUserViewRoute(user: any): any;
|
|
31
28
|
loadData(): void;
|
|
32
29
|
createOrEditUser(user?: any): void;
|
|
33
30
|
/**
|
|
@@ -38,5 +35,5 @@ export declare class UsersViewAllComponent extends TechlifyListComponent impleme
|
|
|
38
35
|
getUserType(user: any): string;
|
|
39
36
|
resetPassword(user: any): void;
|
|
40
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsersViewAllComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UsersViewAllComponent, "app-users-view-all", never, { "
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UsersViewAllComponent, "app-users-view-all", never, { "userTypeIds": { "alias": "userTypeIds"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
39
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -154,6 +154,7 @@ export * from './lib/user-menu/user-menu.module';
|
|
|
154
154
|
export * from './lib/user-menu/user-menu.component';
|
|
155
155
|
export * from './lib/user/app-admin-user-view/app-admin-user-view.module';
|
|
156
156
|
export * from './lib/user/app-admin-user-view/app-admin-user-view.component';
|
|
157
|
+
export * from './lib/user/app-admin-user-list/app-admin-user-list.component';
|
|
157
158
|
export * from './lib/user/user-enable-button-component/user-enable-button.module';
|
|
158
159
|
export * from './lib/user/user-enable-button-component/user-enable-button.component';
|
|
159
160
|
export * from './lib/techlify-icon/techlify-icon.module';
|