@stiunb/unb-lib-components 18.0.29 → 18.0.31

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,19 +1,21 @@
1
- import { BreakpointObserver } from '@angular/cdk/layout';
1
+ import { OnInit } from '@angular/core';
2
2
  import { MatSidenav } from '@angular/material/sidenav';
3
3
  import { OidcSecurityService } from 'angular-auth-oidc-client';
4
+ import { Observable } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
- export declare class UnbNavBarComponent {
6
- private observer;
6
+ export declare class UnbNavBarComponent implements OnInit {
7
+ private breakpointObserver;
7
8
  nomeSistema: string;
8
- menuSize: number; /** O tamanho do menu em px */
9
+ nomeSistemaMobile: string;
10
+ menuSize: number;
9
11
  widthToHideMenu: number;
10
12
  contentBackgroundColor: string;
11
13
  containerPadding: number;
12
14
  oidcSecurityService: OidcSecurityService;
13
15
  sidenav: MatSidenav;
14
- isMobile: boolean;
15
- constructor(observer: BreakpointObserver);
16
+ isMobile$: Observable<boolean> | undefined;
16
17
  ngOnInit(): void;
18
+ handleMenuClick(): void;
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<UnbNavBarComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<UnbNavBarComponent, "unb-nav-bar", never, { "nomeSistema": { "alias": "nomeSistema"; "required": false; }; "menuSize": { "alias": "menuSize"; "required": false; }; "widthToHideMenu": { "alias": "widthToHideMenu"; "required": false; }; "contentBackgroundColor": { "alias": "contentBackgroundColor"; "required": false; }; "containerPadding": { "alias": "containerPadding"; "required": false; }; "oidcSecurityService": { "alias": "oidcSecurityService"; "required": false; }; }, {}, never, ["[menu]", "[body]"], false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnbNavBarComponent, "unb-nav-bar", never, { "nomeSistema": { "alias": "nomeSistema"; "required": false; }; "nomeSistemaMobile": { "alias": "nomeSistemaMobile"; "required": false; }; "menuSize": { "alias": "menuSize"; "required": false; }; "widthToHideMenu": { "alias": "widthToHideMenu"; "required": false; }; "contentBackgroundColor": { "alias": "contentBackgroundColor"; "required": false; }; "containerPadding": { "alias": "containerPadding"; "required": false; }; "oidcSecurityService": { "alias": "oidcSecurityService"; "required": false; }; }, {}, never, ["[menu]", "[body]"], false, never>;
19
21
  }
@@ -1,14 +1,12 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { OidcSecurityService } from 'angular-auth-oidc-client';
3
3
  import { Observable } from 'rxjs';
4
- import { UnbAuthService } from '../services/unb-auth.service';
5
4
  import { UnbUsuarioModel } from './unb-usuario.model';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class UnbUsuarioComponent implements OnInit {
8
- protected authService: UnbAuthService;
9
- usuario$: Observable<UnbUsuarioModel>;
7
+ private authService;
10
8
  oidcSecurityService: OidcSecurityService;
11
- constructor(authService: UnbAuthService);
9
+ usuario$: Observable<UnbUsuarioModel>;
12
10
  ngOnInit(): void;
13
11
  login(): void;
14
12
  logout(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stiunb/unb-lib-components",
3
- "version": "18.0.29",
3
+ "version": "18.0.31",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.1.2",
6
6
  "@angular/core": "^18.1.2",