@bnsights/bbsf-admin-portal 1.2.10 → 1.2.12

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.
@@ -1,5 +1,6 @@
1
1
  import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
2
2
  import { AuthService, MasterLayoutService } from '@bnsights/bbsf-utilities';
3
+ import { Observable } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AuthGuard {
5
6
  private router;
@@ -8,7 +9,8 @@ export declare class AuthGuard {
8
9
  allowedPermission: number[];
9
10
  homeURL: string;
10
11
  constructor(router: Router, authService: AuthService, masterLayoutService: MasterLayoutService);
11
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
12
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | boolean;
13
+ private evaluateAuth;
12
14
  private navigateToUserArea;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
14
16
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
@@ -4,7 +4,7 @@ import { CheckBoxOptions, DropdownOptions, FilterItem, FormComponent, FormOption
4
4
  import { AuthService, BBSFTranslateService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
5
5
  import { Observable } from 'rxjs';
6
6
  import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
7
- import { localizationsService } from '../../shared/Services/localizationsService.service ';
7
+ import { localizationsService } from '../../shared/Services/localizations.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class LocalizationsReplaceTextComponent implements OnInit, OnDestroy {
10
10
  private localizationsService;
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, OnInit, OnDestroy } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { AutocompleteOptions, DropdownOptions, FileUploadOptions, FilterItem, PagingOptions, TextAreaOptions, TextBoxOptions, MultiLingualTextAreaOptions, FormOptions, ConfirmationModalOptions, PagingComponent, ConfirmationModalComponent } from '@bnsights/bbsf-controls';
4
- import { localizationsService } from '../shared/Services/localizationsService.service ';
4
+ import { localizationsService } from '../shared/Services/localizations.service';
5
5
  import { ClipboardService } from 'ngx-clipboard';
6
6
  import { DatePipe } from '@angular/common';
7
7
  import { PageInfoService } from '../../_metronic/core/services/page-info.service';
@@ -1,5 +1,3 @@
1
- export * from './base.service';
2
- export * from './config.service';
3
1
  export * from './constants';
4
2
  export * from './shared.module';
5
3
  export * from './stylesbundle.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-admin-portal",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.2.15",
6
6
  "@angular/cdk": "^19.2.15",
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@amcharts/amcharts5": "5.6.2",
16
- "@bnsights/bbsf-controls": "1.2.10",
17
- "@bnsights/bbsf-utilities": "1.2.4",
16
+ "@bnsights/bbsf-controls": "1.2.12",
17
+ "@bnsights/bbsf-utilities": "1.2.6",
18
18
  "@bnsights/bbsf-utilities-doc": "1.2.1",
19
19
  "@fortawesome/fontawesome-free": "5.15.2",
20
20
  "@kronscht/ng-wizard": "1.4.3",
package/public-api.d.ts CHANGED
@@ -4,7 +4,6 @@ export * from './lib/Pages/users/users.module';
4
4
  export * from './lib/Pages/anonymouslayout/anonymouslayout.module';
5
5
  export * from './lib/Pages/core/auth.module';
6
6
  export * from './lib/Pages/shared/shared.module';
7
- export * from './lib/Pages/start/start.module';
8
7
  export * from './lib/Pages/authentication/authentication.module';
9
8
  export * from './lib/Pages/localizations/localizations.module';
10
9
  export * from './lib/Pages/shared/modules/survey.module';
@@ -17,7 +16,6 @@ export * from './lib/Pages/users/users.component';
17
16
  export * from './lib/Pages/anonymouslayout/anonymouslayout.component';
18
17
  export * from './lib/Pages/anonymouslayout/login/login.component';
19
18
  export * from './lib/Pages/authentication/auth-callback/auth-callback.component';
20
- export * from './lib/Pages/start/index/index.component';
21
19
  export * from './lib/Pages/localizations/localizations.component';
22
20
  export * from './lib/Pages/_layout/components/subheader/subheader.component';
23
21
  export * from './lib/Pages/shared/components/survey-form/survey-form.component';
@@ -25,10 +23,8 @@ export * from './lib/Pages/shared/components/external-url/external-url.component
25
23
  export * from './lib/Pages/shared/Services/data.service';
26
24
  export * from './lib/Pages/shared/Services/GlobalErrorHandler.service';
27
25
  export * from './lib/Pages/core/authentication/auth.guard';
28
- export * from './lib/Pages/core/authentication/auth.service';
29
26
  export * from './lib/Pages/shared/stylesbundle.service';
30
- export * from './lib/Pages/shared/base.service';
31
- export * from './lib/Pages/shared/Services/localizationsService.service ';
27
+ export * from './lib/Pages/shared/Services/localizations.service';
32
28
  export * from './lib/Pages/shared/Services/injectionModuleService.service';
33
29
  export * from './lib/Pages/shared/Services/DocumentTemplateService.service';
34
30
  export * from './lib/Pages/shared/Services/AnonymousLayoutService.service';
@@ -1,35 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { UserManagerSettings, User } from 'oidc-client';
3
- import { BaseService } from "../../shared/base.service";
4
- import * as i0 from "@angular/core";
5
- export declare class AuthService extends BaseService {
6
- private http;
7
- private _authNavStatusSource;
8
- authNavStatus$: import("rxjs").Observable<boolean>;
9
- private _userSource;
10
- UserStatus$: import("rxjs").Observable<User>;
11
- private manager;
12
- redirectUrl: string;
13
- static user: User | null;
14
- private user;
15
- constructor(http: HttpClient);
16
- login(): Promise<void>;
17
- getUser(): void;
18
- storUser(User: any): void;
19
- revokeAccessToken(): void;
20
- signinSilent(): void;
21
- completeAuthentication(): Promise<void>;
22
- register(userRegistration: any): import("rxjs").Observable<Object>;
23
- refreshToken(token: any): Promise<import("rxjs").Subscription>;
24
- isAuthenticated(allowedPermission?: number[]): Promise<boolean>;
25
- isUserInRole(allowedPermission: number[]): boolean;
26
- authorizationHeaderValue(): string;
27
- name(): string;
28
- setUrl(url: any): void;
29
- getUrl(): string;
30
- signinSilentCallback(): void;
31
- signout(): Promise<void>;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
34
- }
35
- export declare function getClientSettings(): UserManagerSettings;
@@ -1,4 +0,0 @@
1
- export declare abstract class BaseService {
2
- constructor();
3
- protected handleError(error: any): import("rxjs").Observable<never>;
4
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ConfigService {
3
- constructor();
4
- authApiURI(): string;
5
- resourceApiURI(): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
8
- }
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { AuthService } from '../../core/authentication/auth.service';
4
- import * as i0 from "@angular/core";
5
- export declare class IndexComponent implements OnInit {
6
- private authService;
7
- name: string;
8
- isAuthenticated: boolean;
9
- subscription: Subscription;
10
- constructor(authService: AuthService);
11
- ngOnInit(): void;
12
- signout(): Promise<void>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<IndexComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<IndexComponent, "app-index", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class StartRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<StartRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<StartRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<StartRoutingModule>;
7
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./index/index.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "./start-routing.module";
5
- import * as i4 from "@angular/router";
6
- import * as i5 from "../shared/shared.module";
7
- export declare class StartModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<StartModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<StartModule, [typeof i1.IndexComponent], [typeof i2.CommonModule, typeof i3.StartRoutingModule, typeof i4.RouterModule, typeof i5.SharedModule], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<StartModule>;
11
- }