ngx-sp-auth 3.2.4 → 3.2.7

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,21 +1,23 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
- import { ProjectUtilservice } from '../../project/project-utils.service';
3
+ import { MessageService } from 'ngx-sp-infra';
4
4
  import { AuthService } from '../../auth.service';
5
+ import { ProjectUtilservice } from '../../project/project-utils.service';
5
6
  import { AuthStorageService } from '../../storage/auth-storage.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class LoginOSComponent implements OnInit, OnDestroy {
8
9
  private _authService;
9
- private _projectUtilservice;
10
+ private _projectUtilService;
10
11
  private _route;
11
12
  private _router;
12
13
  private _storageService;
14
+ private _messageService;
13
15
  private _parmsLogin;
14
16
  private _loginOSModel?;
15
17
  private _timerSubscription;
16
18
  loginStatus: "loading" | "success" | "error" | "updated";
17
19
  timer: number;
18
- constructor(_authService: AuthService, _projectUtilservice: ProjectUtilservice, _route: ActivatedRoute, _router: Router, _storageService: AuthStorageService);
20
+ constructor(_authService: AuthService, _projectUtilService: ProjectUtilservice, _route: ActivatedRoute, _router: Router, _storageService: AuthStorageService, _messageService: MessageService);
19
21
  ngOnInit(): void;
20
22
  logOn(): void;
21
23
  redirect(): void;
@@ -1,4 +1,5 @@
1
- import { IError, NavSubmenuCards, NavSubMenus } from "ngx-sp-infra";
1
+ import { IError } from "ngx-sp-infra";
2
+ import { NavSubmenuCards, NavSubMenus } from "../../../../public-api";
2
3
  export declare class RetNavSubMenu implements IError {
3
4
  Error: boolean;
4
5
  ErrorMessage: string;
@@ -0,0 +1,13 @@
1
+ import { TelaItem } from '../sub-menu.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListComponent {
4
+ /**
5
+ *
6
+ */
7
+ constructor();
8
+ GetExternalUrl(url: string): string;
9
+ telasItem: TelaItem[];
10
+ hostName: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "app-list", never, { "telasItem": { "alias": "telasItem"; "required": false; }; "hostName": { "alias": "hostName"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SubMenuItem, TelaItem } from '../sub-menu.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NavTabsComponent implements OnInit {
5
+ subMenus: SubMenuItem[];
6
+ hostName: string;
7
+ telasItem: TelaItem[];
8
+ listaAtiva: string;
9
+ ngOnInit(): void;
10
+ abaActive(b: string): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavTabsComponent, "app-nav-tabs", never, { "subMenus": { "alias": "subMenus"; "required": false; }; "hostName": { "alias": "hostName"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,37 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MenuServicesService } from '../../../public-api';
3
+ import { ProjectUtilservice } from '../../project/project-utils.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NavSubMenus {
6
+ icon: string;
7
+ titulo: string;
8
+ subMenuItem: SubMenuItem[];
9
+ }
10
+ export declare class SubMenuItem {
11
+ titulo: string;
12
+ telasItem: TelaItem[];
13
+ }
14
+ export declare class TelaItem {
15
+ titulo: string;
16
+ urlPath: string;
17
+ IsExternal: boolean;
18
+ }
19
+ export declare class SubMenuComponent implements OnInit {
20
+ private _menuService;
21
+ private _projectUtil;
22
+ /**
23
+ *
24
+ */
25
+ constructor(_menuService: MenuServicesService, _projectUtil: ProjectUtilservice);
26
+ navSubmenus: NavSubMenus[];
27
+ isProduction: boolean;
28
+ hostname: string;
29
+ hostNameOutSystems: string;
30
+ activeItem: string;
31
+ listaSubMenus: SubMenuItem[];
32
+ ngOnInit(): void;
33
+ listaFunction(): void;
34
+ GetHostName(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubMenuComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubMenuComponent, "app-nav-sub-menu", never, { "navSubmenus": { "alias": "navSubmenus"; "required": false; }; "isProduction": { "alias": "isProduction"; "required": false; }; "hostname": { "alias": "hostname"; "required": false; }; }, {}, never, never, true, never>;
37
+ }
@@ -0,0 +1,26 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MenuServicesService } from '../../../public-api';
3
+ import { ProjectUtilservice } from '../../project/project-utils.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NavSubmenuCards {
6
+ titulo: string;
7
+ icon: string;
8
+ descricao: string;
9
+ urlPath: string;
10
+ isExternal: boolean;
11
+ }
12
+ export declare class SubMenuCardComponent implements OnInit {
13
+ private _menuService;
14
+ private _projectUtil;
15
+ GetExternalUrl(url: string): string;
16
+ ngOnInit(): void;
17
+ /**
18
+ *
19
+ */
20
+ constructor(_menuService: MenuServicesService, _projectUtil: ProjectUtilservice);
21
+ hostName: string;
22
+ subMenuCards: NavSubmenuCards[];
23
+ GetHostName(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubMenuCardComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubMenuCardComponent, "sub-menu-card", never, { "subMenuCards": { "alias": "subMenuCards"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sp-auth",
3
- "version": "3.2.4",
3
+ "version": "3.2.7",
4
4
  "description": "Biblioteca de utilitários da Infra.",
5
5
  "author": "P&D",
6
6
  "keywords": [
@@ -22,7 +22,7 @@
22
22
  "peerDependencies": {
23
23
  "@azure/msal-angular": "^4.0.16",
24
24
  "@azure/msal-browser": "^4.18.0",
25
- "ngx-sp-infra": "^5.13.0",
25
+ "ngx-sp-infra": "^5.18.1",
26
26
  "ngx-toastr": "^19.0.0"
27
27
  },
28
28
  "sideEffects": false,
package/public-api.d.ts CHANGED
@@ -45,5 +45,10 @@ export * from './lib/interceptors/auth-aplic.interceptor';
45
45
  export * from './lib/interceptors/auth-infra.interceptor';
46
46
  /** Routes */
47
47
  export * from './lib/auth.routes';
48
+ /** Widgets */
49
+ export * from './lib/widgets/sub-menu-card/sub-menu-card.component';
50
+ export * from './lib/widgets/sub-menu/list/list.component';
51
+ export * from './lib/widgets/sub-menu/nav-tabs/nav-tabs.component';
52
+ export * from './lib/widgets/sub-menu/sub-menu.component';
48
53
  /** Providers */
49
54
  export * from './lib/custom/token';