@stiunb/unb-lib-components 18.0.30 → 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.
- package/esm2022/lib/unb-nav-bar/unb-nav-bar.component.mjs +38 -31
- package/esm2022/lib/unb-pessoa/unb-pessoa-crud-modal/unb-pessoa-crud-modal.component.mjs +2 -1
- package/esm2022/lib/unb-usuario/unb-usuario.component.mjs +18 -21
- package/fesm2022/stiunb-unb-lib-components.mjs +91 -85
- package/fesm2022/stiunb-unb-lib-components.mjs.map +1 -1
- package/lib/unb-nav-bar/unb-nav-bar.component.d.ts +9 -7
- package/lib/unb-usuario/unb-usuario.component.d.ts +2 -4
- package/package.json +1 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
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
|
|
6
|
+
export declare class UnbNavBarComponent implements OnInit {
|
|
7
|
+
private breakpointObserver;
|
|
7
8
|
nomeSistema: string;
|
|
8
|
-
|
|
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
|
|
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
|
-
|
|
9
|
-
usuario$: Observable<UnbUsuarioModel>;
|
|
7
|
+
private authService;
|
|
10
8
|
oidcSecurityService: OidcSecurityService;
|
|
11
|
-
|
|
9
|
+
usuario$: Observable<UnbUsuarioModel>;
|
|
12
10
|
ngOnInit(): void;
|
|
13
11
|
login(): void;
|
|
14
12
|
logout(): void;
|