@bnsights/bbsf-admin-portal 1.1.37 → 1.1.39

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.
Files changed (23) hide show
  1. package/README.md +7 -3
  2. package/bnsights-bbsf-admin-portal-1.1.39.tgz +0 -0
  3. package/esm2022/lib/Pages/anonymouslayout/anonymouslayout-routing.module.mjs +3 -1
  4. package/esm2022/lib/Pages/anonymouslayout/anonymouslayout.module.mjs +4 -3
  5. package/esm2022/lib/Pages/anonymouslayout/change-password/change-password.component.mjs +82 -0
  6. package/esm2022/lib/Pages/anonymouslayout/login/login.component.mjs +4 -1
  7. package/esm2022/lib/Pages/authentication/auth-callback/auth-callback.component.mjs +5 -15
  8. package/esm2022/lib/Pages/shared/Services/AccountService.service.mjs +4 -1
  9. package/esm2022/lib/Pages/shared/Services/HttpErrorInterceptor.service.mjs +5 -1
  10. package/esm2022/lib/Pages/shared/Services/userService.service.mjs +12 -13
  11. package/esm2022/lib/Pages/shared/models/AccountModels/changePasswordModel.mjs +8 -0
  12. package/esm2022/lib/Pages/shared/models/UserModels/AddUserModel.mjs +2 -1
  13. package/esm2022/lib/Pages/users/users.component.mjs +22 -30
  14. package/fesm2022/bnsights-bbsf-admin-portal.mjs +465 -392
  15. package/fesm2022/bnsights-bbsf-admin-portal.mjs.map +1 -1
  16. package/lib/Pages/anonymouslayout/anonymouslayout.module.d.ts +10 -9
  17. package/lib/Pages/anonymouslayout/change-password/change-password.component.d.ts +28 -0
  18. package/lib/Pages/shared/Services/AccountService.service.d.ts +1 -0
  19. package/lib/Pages/shared/Services/userService.service.d.ts +4 -5
  20. package/lib/Pages/shared/models/AccountModels/changePasswordModel.d.ts +6 -0
  21. package/lib/Pages/shared/models/UserModels/AddUserModel.d.ts +1 -0
  22. package/lib/Pages/users/users.component.d.ts +3 -2
  23. package/package.json +1 -1
@@ -6,16 +6,17 @@ import * as i4 from "./rest-password/rest-password.component";
6
6
  import * as i5 from "./activation/activation.component";
7
7
  import * as i6 from "./upload-license/upload-license.component";
8
8
  import * as i7 from "./error/error.component";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/router";
11
- import * as i10 from "./anonymouslayout-routing.module";
12
- import * as i11 from "../shared/shared.module";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "@bnsights/bbsf-controls";
15
- import * as i14 from "@bnsights/bbsf-utilities";
16
- import * as i15 from "ng-block-ui";
9
+ import * as i8 from "./change-password/change-password.component";
10
+ import * as i9 from "@angular/common";
11
+ import * as i10 from "@angular/router";
12
+ import * as i11 from "./anonymouslayout-routing.module";
13
+ import * as i12 from "../shared/shared.module";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "@bnsights/bbsf-controls";
16
+ import * as i15 from "@bnsights/bbsf-utilities";
17
+ import * as i16 from "ng-block-ui";
17
18
  export declare class AnonymouslayoutModule {
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AnonymouslayoutModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnonymouslayoutModule, [typeof i1.LoginComponent, typeof i2.anonymouslayoutComponent, typeof i3.ForgotPasswordComponent, typeof i4.RestPasswordComponent, typeof i5.ActivationComponent, typeof i6.UploadLicenseComponent, typeof i7.ErrorComponent], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.AnonymouslayoutRoutingModule, typeof i11.SharedModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.BBSFControlsModule, typeof i14.BBSFUtilitiesModule, typeof i15.BlockUIModule], never>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnonymouslayoutModule, [typeof i1.LoginComponent, typeof i2.anonymouslayoutComponent, typeof i3.ForgotPasswordComponent, typeof i4.RestPasswordComponent, typeof i5.ActivationComponent, typeof i6.UploadLicenseComponent, typeof i7.ErrorComponent, typeof i8.ChangePasswordComponent], [typeof i9.CommonModule, typeof i10.RouterModule, typeof i11.AnonymouslayoutRoutingModule, typeof i12.SharedModule, typeof i13.FormsModule, typeof i13.ReactiveFormsModule, typeof i14.BBSFControlsModule, typeof i15.BBSFUtilitiesModule, typeof i16.BlockUIModule], never>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<AnonymouslayoutModule>;
21
22
  }
@@ -0,0 +1,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { CustomValidation, FormOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
5
+ import { AccountService } from '../../shared/Services/AccountService.service';
6
+ import { UtilityService } from '@bnsights/bbsf-utilities';
7
+ import { Observable } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ChangePasswordComponent implements OnInit {
10
+ private activatedRoute;
11
+ private accountService;
12
+ utilityService: UtilityService;
13
+ private router;
14
+ Token: string;
15
+ changePasswordForm: FormGroup<{}>;
16
+ changePasswordFormOptions: FormOptions;
17
+ newPassword: TextBoxOptions;
18
+ newPasswordConfirmation: TextBoxOptions;
19
+ oldPassword: TextBoxOptions;
20
+ customValidation: CustomValidation;
21
+ constructor(activatedRoute: ActivatedRoute, accountService: AccountService, utilityService: UtilityService, router: Router);
22
+ ngOnInit(): void;
23
+ getChangePasswordModel: () => any[];
24
+ getChangePasswordFunction: (model: any) => Observable<any>;
25
+ onSuccessHandler: (result: any) => void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordComponent, "lib-change-password", never, {}, {}, never, never, false, never>;
28
+ }
@@ -9,6 +9,7 @@ export declare class AccountService {
9
9
  forgotPassword(email: string): import("rxjs").Observable<unknown>;
10
10
  getResetPassword(id: string): import("rxjs").Observable<unknown>;
11
11
  resetPassword(model: ActivationModel): import("rxjs").Observable<unknown>;
12
+ changePassword(model: ActivationModel): import("rxjs").Observable<unknown>;
12
13
  getActivation(id: string): import("rxjs").Observable<unknown>;
13
14
  activate(model: ActivationModel): import("rxjs").Observable<unknown>;
14
15
  uploadLicense(File: LicenseModel): import("rxjs").Observable<unknown>;
@@ -1,12 +1,12 @@
1
1
  import { AddUserModel } from './../models/UserModels/AddUserModel';
2
2
  import { EditUserModel } from './../models/UserModels/EditUserModel';
3
- import { RequestHandlerService, AuthService } from "@bnsights/bbsf-utilities";
3
+ import { RequestHandlerService } from "@bnsights/bbsf-utilities";
4
+ import { ActivationModel } from "../models/UserModels/ActivationModel";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class UserService {
6
7
  private http;
7
- private authService;
8
8
  ApiUrl: string;
9
- constructor(http: RequestHandlerService, authService: AuthService);
9
+ constructor(http: RequestHandlerService);
10
10
  GetUsersByFilter(FilteredUsersRequestModel: any): import("rxjs").Observable<unknown>;
11
11
  Loaddropdowns(): import("rxjs").Observable<unknown>;
12
12
  LoadAddDropdowns(): import("rxjs").Observable<unknown>;
@@ -18,9 +18,8 @@ export declare class UserService {
18
18
  ActivateUsers(UserModelsDTO: any[]): import("rxjs").Observable<unknown>;
19
19
  DeactivateUsers(UserModelsDTO: any[]): import("rxjs").Observable<unknown>;
20
20
  ResetUsersPassword(UserModelsDTO: any[]): import("rxjs").Observable<unknown>;
21
- SetUsersPassword(UserModelsDTO: any[]): import("rxjs").Observable<unknown>;
21
+ SetUsersPassword(UserModelDTO: ActivationModel): import("rxjs").Observable<unknown>;
22
22
  Export(model: any): import("rxjs").Observable<unknown>;
23
- ChangeLanguage(key: string): import("rxjs").Observable<unknown>;
24
23
  UpdateUserInfo(): import("rxjs").Observable<unknown>;
25
24
  getCurrentUser(): import("rxjs").Observable<unknown>;
26
25
  getPermissionSetsList(): import("rxjs").Observable<any>;
@@ -0,0 +1,6 @@
1
+ export declare class ChangePasswordModel {
2
+ token: string;
3
+ oldPassword: boolean;
4
+ newPassword: string;
5
+ newPasswordConfirmation: string;
6
+ }
@@ -30,4 +30,5 @@ export declare class AddUserModel {
30
30
  PhoneInputMobile: string;
31
31
  Filters: UserSearchParamDTO;
32
32
  ProfileImage: ProfilePictureDTO;
33
+ ForceUserChangePassword: boolean;
33
34
  }
@@ -61,6 +61,7 @@ export declare class UsersComponent implements OnInit {
61
61
  AddProfileImage: ProfileImageUploadOptions;
62
62
  AddUserEID: TextBoxOptions;
63
63
  AddUserNationality: DropdownOptions;
64
+ AddForceUserChangePassword: ToggleSlideOptions;
64
65
  EditUserForm: FormGroup<{}>;
65
66
  EditUserFormOptions: FormOptions;
66
67
  EditName: MultiLingualTextBoxOptions;
@@ -85,7 +86,7 @@ export declare class UsersComponent implements OnInit {
85
86
  Password: TextBoxOptions;
86
87
  PasswordConfirmation: TextBoxOptions;
87
88
  customValidation: CustomValidation;
88
- setPasswordUserList: any[];
89
+ setPasswordUserToken: string;
89
90
  ConfirmationModalType: number;
90
91
  ConfirmationMessage: string;
91
92
  activatedUsersSelected: number;
@@ -126,7 +127,7 @@ export declare class UsersComponent implements OnInit {
126
127
  sendActivationEmailForUser(): void;
127
128
  showsetPasswordUserModal(User: any, setPasswordUserModal: any): void;
128
129
  getSetPAsswordModel: () => any[];
129
- getSetPasswordFunction: (passwordListModel: any) => Observable<any>;
130
+ getSetPasswordFunction: (userPasswordModel: any) => Observable<any>;
130
131
  onSubmitSuccess: (result: any) => void;
131
132
  showConfirmationModal(type: number, ConfirmationModal: any): void;
132
133
  activateUserList(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-admin-portal",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.0.5",
6
6
  "@angular/cdk": "^17.0.2",