ngx-sp-auth 3.3.4 → 4.0.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.
@@ -1,4 +1,3 @@
1
- import { Observable } from 'rxjs';
2
1
  import { IMenuItemStructure } from '../components/menu-lateral/model/imenu-item-structure.model';
3
2
  import { AuthStorageService } from '../storage/auth-storage.service';
4
3
  import { LibMenuConfigService } from './lib-menu-config.service';
@@ -17,22 +16,13 @@ export declare class LibCustomMenuService {
17
16
  /** Obtém as opções do menu. */
18
17
  get menuItems(): IMenuItemStructure[];
19
18
  set menuItems(value: IMenuItemStructure[]);
20
- private empresaId;
21
- applyEmpresa$: Observable<{
22
- estabelecimentoID: string;
23
- empresaID: string;
24
- }>;
25
- setEmpresa(value: {
26
- estabelecimentoID: string;
27
- empresaID: string;
28
- }): void;
29
19
  constructor(_customMenuService: ICustomMenuService, _menuConfig: LibMenuConfigService, _authStorageService: AuthStorageService);
30
20
  menuDynamicGetProjetoId(): number;
31
21
  menuDynamicOnInit(): void;
32
22
  menuStaticOnInit(): void;
33
- menuopenExpansibleMenu(ref: HTMLDivElement): void;
23
+ menuOpenExpansibleMenu(ref: HTMLDivElement): void;
34
24
  /** Método que deve ser chamado na seleção de um novo estabelecimento, ele atualizará os valores do nosso BehaviorSubject para que possamos utilizá-lo em outras partes do sistema. */
35
- emitEstabelecimentoEvent(): void;
25
+ menuEmitEstabelecimentoEvent(): void;
36
26
  static ɵfac: i0.ɵɵFactoryDeclaration<LibCustomMenuService, never>;
37
27
  static ɵprov: i0.ɵɵInjectableDeclaration<LibCustomMenuService>;
38
28
  }
@@ -10,5 +10,6 @@ export interface ICustomMenuService {
10
10
  menuDynamicGetProjetoId(): number;
11
11
  menuDynamicOnInit(): void;
12
12
  menuStaticOnInit(): void;
13
- menuopenExpansibleMenu(ref: HTMLDivElement): void;
13
+ menuOpenExpansibleMenu(ref: HTMLDivElement): void;
14
+ menuEmitEstabelecimentoEvent(): void;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sp-auth",
3
- "version": "3.3.4",
3
+ "version": "4.0.0",
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.19.2",
25
+ "ngx-sp-infra": "^6.0.0",
26
26
  "ngx-toastr": "^19.0.0"
27
27
  },
28
28
  "sideEffects": false,