@bnsights/bbsf-admin-portal 1.0.12 → 1.0.13

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 (59) hide show
  1. package/bnsights-bbsf-admin-portal-1.0.13.tgz +0 -0
  2. package/bundles/bnsights-bbsf-admin-portal.umd.js +479 -307
  3. package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
  4. package/esm2015/lib/Pages/_layout/components/aside/aside-menu/aside-menu.component.js +2 -2
  5. package/esm2015/lib/Pages/anonymouslayout/activation/activation.component.js +4 -2
  6. package/esm2015/lib/Pages/anonymouslayout/anonymouslayout-routing.module.js +3 -1
  7. package/esm2015/lib/Pages/anonymouslayout/anonymouslayout.module.js +9 -5
  8. package/esm2015/lib/Pages/anonymouslayout/error/error.component.js +52 -0
  9. package/esm2015/lib/Pages/anonymouslayout/forgot-password/forgot-password.component.js +3 -2
  10. package/esm2015/lib/Pages/anonymouslayout/rest-password/rest-password.component.js +4 -2
  11. package/esm2015/lib/Pages/anonymouslayout/upload-license/upload-license.component.js +4 -2
  12. package/esm2015/lib/Pages/configurations/configuration/configuration.component.js +109 -85
  13. package/esm2015/lib/Pages/core/authentication/admin.guard.js +5 -5
  14. package/esm2015/lib/Pages/core/authentication/auth.guard.js +17 -7
  15. package/esm2015/lib/Pages/departments/department/department.component.js +4 -2
  16. package/esm2015/lib/Pages/departments/department-info/department-info.component.js +2 -2
  17. package/esm2015/lib/Pages/helpCenter/help-center/help-center.component.js +2 -2
  18. package/esm2015/lib/Pages/helpCenter/help-center-thirdlevel/help-center-thirdlevel.component.js +2 -2
  19. package/esm2015/lib/Pages/impersonation-rules/impersonation-rules/impersonation-rules.component.js +2 -2
  20. package/esm2015/lib/Pages/license/license/license.component.js +8 -2
  21. package/esm2015/lib/Pages/localizations/localizations.component.js +20 -3
  22. package/esm2015/lib/Pages/lookups/lookup/lookup.component.js +2 -2
  23. package/esm2015/lib/Pages/lookups/lookup-group/lookup-group.component.js +2 -2
  24. package/esm2015/lib/Pages/lookups/lookup-item/lookup-item.component.js +2 -2
  25. package/esm2015/lib/Pages/notifications/master-layouts/master-layouts.component.js +2 -2
  26. package/esm2015/lib/Pages/notifications/templates/templates.component.js +2 -2
  27. package/esm2015/lib/Pages/providers/provider/provider.component.js +2 -2
  28. package/esm2015/lib/Pages/publicHolidays/public-holiday/public-holiday.component.js +4 -2
  29. package/esm2015/lib/Pages/roles/permission-set-info/permission-set-info.component.js +2 -2
  30. package/esm2015/lib/Pages/roles/permissions/permissions.component.js +2 -2
  31. package/esm2015/lib/Pages/roles/permissionsets/permissionsets.component.js +2 -2
  32. package/esm2015/lib/Pages/sectors/department-info/department-info.component.js +2 -2
  33. package/esm2015/lib/Pages/sectors/sector/sector.component.js +4 -2
  34. package/esm2015/lib/Pages/sectors/sector-info/sector-info.component.js +2 -2
  35. package/esm2015/lib/Pages/shared/Services/HttpErrorInterceptor.service.js +1 -2
  36. package/esm2015/lib/Pages/shared/Services/localizationsService.service .js +5 -2
  37. package/esm2015/lib/Pages/shared/Services/userService.service.js +2 -2
  38. package/esm2015/lib/Pages/users/users.component.js +13 -19
  39. package/esm2015/lib/Pages/workflows/tabs/tabs.component.js +3 -3
  40. package/esm2015/lib/Pages/workflows/workflow/workflow.component.js +2 -3
  41. package/fesm2015/bnsights-bbsf-admin-portal.js +452 -281
  42. package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
  43. package/lib/Pages/anonymouslayout/anonymouslayout.module.d.ts +10 -8
  44. package/lib/Pages/anonymouslayout/error/error.component.d.ts +23 -0
  45. package/lib/Pages/configurations/configuration/configuration.component.d.ts +1 -2
  46. package/lib/Pages/core/authentication/admin.guard.d.ts +2 -2
  47. package/lib/Pages/core/authentication/auth.guard.d.ts +3 -2
  48. package/lib/Pages/license/license/license.component.d.ts +1 -0
  49. package/lib/Pages/localizations/localizations.component.d.ts +1 -0
  50. package/lib/Pages/shared/Services/localizationsService.service .d.ts +1 -0
  51. package/lib/Pages/users/users.component.d.ts +1 -1
  52. package/lib/Pages/workflows/tabs/tabs.component.d.ts +0 -1
  53. package/lib/Pages/workflows/workflow/workflow.component.d.ts +0 -1
  54. package/package.json +3 -3
  55. package/src/lib/assets/css/anonymousBundle-Dark-RTL.css +3 -0
  56. package/src/lib/assets/css/anonymousBundle-Dark.css +4 -0
  57. package/src/lib/assets/css/anonymousBundle-light-RTL.css +4 -0
  58. package/src/lib/assets/css/anonymousBundle-light.css +3 -0
  59. package/bnsights-bbsf-admin-portal-1.0.12.tgz +0 -0
@@ -5,15 +5,17 @@ import * as i3 from "./forgot-password/forgot-password.component";
5
5
  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
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/router";
10
- import * as i9 from "./anonymouslayout-routing.module";
11
- import * as i10 from "../shared/shared.module";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "@bnsights/bbsf-controls";
14
- import * as i13 from "ng-block-ui";
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";
15
17
  export declare class AnonymouslayoutModule {
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AnonymouslayoutModule, never>;
17
- 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.CommonModule, typeof i8.RouterModule, typeof i9.AnonymouslayoutRoutingModule, typeof i10.SharedModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.BBSFControlsModule, typeof i13.BlockUIModule], 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>;
18
20
  static ɵinj: i0.ɵɵInjectorDeclaration<AnonymouslayoutModule>;
19
21
  }
@@ -0,0 +1,23 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { TextBoxOptions } from '@bnsights/bbsf-controls';
5
+ import { AuthService, UtilityService } from '@bnsights/bbsf-utilities';
6
+ import { ClipboardService } from 'ngx-clipboard';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ErrorComponent implements OnInit {
9
+ utilityService: UtilityService;
10
+ private activatedRoute;
11
+ private _clipboardService;
12
+ private authService;
13
+ errorForm: FormGroup;
14
+ errorKey: TextBoxOptions;
15
+ errorMessage: string;
16
+ key: string;
17
+ constructor(utilityService: UtilityService, activatedRoute: ActivatedRoute, _clipboardService: ClipboardService, authService: AuthService);
18
+ ngOnInit(): void;
19
+ copyInputMessage(): void;
20
+ logout(): Promise<void>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, {}, {}, never, never>;
23
+ }
@@ -104,13 +104,12 @@ export declare class ConfigurationComponent implements OnInit {
104
104
  ChangeTypeValue(key: any): void;
105
105
  ChangeSource(key: any): void;
106
106
  removeFormControls(): void;
107
- ChangeLookup(key: any): void;
107
+ ChangeLookup(key: any, isAdd: boolean): void;
108
108
  getAddConfigurationModel: () => any[];
109
109
  getAddConfigurationFunction: (AddModel: any) => Observable<any>;
110
110
  showEditConfigurationModal(configurationId: number, configurationIDEnc: string, EditConfigurationModal: any): void;
111
111
  getEditConfigurationModel: () => any[];
112
112
  getEditConfigurationFunction: (EditModel: any) => Observable<any>;
113
- ChangeEditLookup(key: any): void;
114
113
  ChangeScopeValue(key: any): void;
115
114
  resetConfigurationFlags(): void;
116
115
  SearchForFunction(isAdd?: boolean): void;
@@ -1,9 +1,9 @@
1
1
  import { Router } from '@angular/router';
2
- import { AuthService } from '@bnsights/bbsf-utilities';
2
+ import { AuthService, MasterLayoutService } from '@bnsights/bbsf-utilities';
3
3
  import { AuthGuard } from './auth.guard';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AdminGuard extends AuthGuard {
6
- constructor(router: Router, authService: AuthService);
6
+ constructor(router: Router, authService: AuthService, masterLayoutService: MasterLayoutService);
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminGuard, never>;
8
8
  static ɵprov: i0.ɵɵInjectableDeclaration<AdminGuard>;
9
9
  }
@@ -1,12 +1,13 @@
1
1
  import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
2
- import { AuthService } from '@bnsights/bbsf-utilities';
2
+ import { AuthService, MasterLayoutService } from '@bnsights/bbsf-utilities';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AuthGuard implements CanActivate {
5
5
  private router;
6
6
  private authService;
7
+ private masterLayoutService;
7
8
  allowedPermission: number[];
8
9
  homeURL: string;
9
- constructor(router: Router, authService: AuthService);
10
+ constructor(router: Router, authService: AuthService, masterLayoutService: MasterLayoutService);
10
11
  canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean>;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
@@ -49,6 +49,7 @@ export declare class LicenseComponent implements OnInit {
49
49
  getAddLicenseModel: () => any[];
50
50
  getAddLicenseFunction: (Model: any) => Observable<any>;
51
51
  isAppendExisting(appendExisting: any): void;
52
+ OnSuccessHandler: (res: any) => void;
52
53
  ngOnDestroy(): void;
53
54
  static ɵfac: i0.ɵɵFactoryDeclaration<LicenseComponent, never>;
54
55
  static ɵcmp: i0.ɵɵComponentDeclaration<LicenseComponent, "lib-license", never, {}, {}, never, never>;
@@ -95,6 +95,7 @@ export declare class LocalizationsComponent implements OnInit, OnDestroy {
95
95
  restToFactoryDefaultFunction: () => Observable<any>;
96
96
  generateStronglyTypedClass(generateStronglyTypedModal: any): void;
97
97
  generateBBSFResourceClass(generateModal: any): void;
98
+ generateAppResourceClass(generateModal: any): void;
98
99
  copyInputMessage(): void;
99
100
  showUploadModal(uploadResourceModal: any): void;
100
101
  getUploadModal: () => any[];
@@ -10,6 +10,7 @@ export declare class localizationsService {
10
10
  loadDropdown(): import("rxjs").Observable<unknown>;
11
11
  getResource(resourceSet: string, resourceId: string): import("rxjs").Observable<unknown>;
12
12
  generateBBSFResourceClass(): import("rxjs").Observable<unknown>;
13
+ generateAppResourceClass(): import("rxjs").Observable<unknown>;
13
14
  addResource(AddResourceModel: EditResourceModel): import("rxjs").Observable<unknown>;
14
15
  editResource(EditResourceModel: EditResourceModel): import("rxjs").Observable<unknown>;
15
16
  restResourceToFactoryDefault(EditResourceModel: EditResourceModel): import("rxjs").Observable<unknown>;
@@ -89,7 +89,7 @@ export declare class UsersComponent implements OnInit {
89
89
  showGeneralBtns: boolean;
90
90
  allSelected: boolean;
91
91
  constructor(authService: AuthService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, pageInfoService: PageInfoService, userService: userService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
92
- ngOnInit(): Promise<void>;
92
+ ngOnInit(): void;
93
93
  setUsersListResult(result: any): void;
94
94
  resetFilters(): void;
95
95
  searchClientSide(searchValue: any): void;
@@ -24,7 +24,6 @@ export declare class TabsComponent implements OnInit {
24
24
  private bbsfTranslateService;
25
25
  utilityService: UtilityService;
26
26
  private requestHandlerService;
27
- ProductionMode: boolean;
28
27
  Pagetitle: string;
29
28
  DetailsForm: FormGroup;
30
29
  WorkflowDetails: any;
@@ -19,7 +19,6 @@ export declare class WorkflowComponent implements OnInit {
19
19
  private requestHandlerService;
20
20
  ShowPageContent: boolean;
21
21
  ApiUrl: string;
22
- ProductionMode: boolean;
23
22
  searchTextBox: TextBoxOptions;
24
23
  WorkflowForm: FormGroup;
25
24
  WorkflowPagingResult: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-admin-portal",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "peerDependencies": {
5
5
  "@agm/core": "^3.0.0-beta.0",
6
6
  "@angular-devkit/build-angular": "~12.2.12",
@@ -36,8 +36,8 @@
36
36
  "@angular/platform-browser": "~12.2.12",
37
37
  "@angular/platform-browser-dynamic": "~12.2.12",
38
38
  "@angular/router": "~12.2.12",
39
- "@bnsights/bbsf-controls": "1.0.17",
40
- "@bnsights/bbsf-utilities": "1.0.9",
39
+ "@bnsights/bbsf-controls": "1.0.18",
40
+ "@bnsights/bbsf-utilities": "1.0.10",
41
41
  "@fortawesome/fontawesome-free": "^5.15.1",
42
42
  "@ng-bootstrap/ng-bootstrap": "^9.0.2",
43
43
  "@ngx-translate/core": "^13.0.0",
@@ -2,3 +2,6 @@
2
2
  body {
3
3
  direction: rtl;
4
4
  }
5
+ .text-right{
6
+ text-align: left;
7
+ }
@@ -2,3 +2,7 @@
2
2
  .bg-custom {
3
3
  background-color: #1E1E2D;
4
4
  }
5
+
6
+ .text-right{
7
+ text-align: right;
8
+ }
@@ -2,3 +2,7 @@
2
2
  body {
3
3
  direction: rtl;
4
4
  }
5
+
6
+ .text-right{
7
+ text-align: left;
8
+ }
@@ -16,3 +16,6 @@
16
16
  body {
17
17
  background-color: white;
18
18
  }
19
+ .text-right{
20
+ text-align: right;
21
+ }