ngx-techlify-core 18.11.0 → 18.12.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/login/login-form-fields/login-form-fields.component.mjs +25 -10
- package/esm2022/lib/role/permission/permissions-management.component.mjs +10 -11
- package/esm2022/lib/searchable-selector/searchable-selector.component.mjs +3 -3
- package/esm2022/lib/user/user-form.component.mjs +7 -8
- package/fesm2022/ngx-techlify-core.mjs +86 -72
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/login/login-form-fields/login-form-fields.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { CurrentUserService } from '../../user';
|
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { MultiUserConfig, UserConfigService } from '../../user-config';
|
|
8
8
|
import { UserTypeEnum } from '../../user/user-type.enum';
|
|
9
|
+
import { NgxPermissionsService } from 'ngx-permissions';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class LoginFormFieldsComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
11
12
|
private fb;
|
|
@@ -17,6 +18,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
|
|
|
17
18
|
private route;
|
|
18
19
|
userConfigService: UserConfigService;
|
|
19
20
|
private errorHandler;
|
|
21
|
+
private ngxPermissionsService;
|
|
20
22
|
userConfig?: MultiUserConfig;
|
|
21
23
|
isWorking: boolean;
|
|
22
24
|
form: UntypedFormGroup;
|
|
@@ -26,7 +28,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
|
|
|
26
28
|
};
|
|
27
29
|
userClients: any[];
|
|
28
30
|
userType: typeof UserTypeEnum;
|
|
29
|
-
constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService);
|
|
31
|
+
constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService, ngxPermissionsService: NgxPermissionsService);
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
handleUserRedirect(): void;
|
|
32
34
|
login(): void;
|