ngx-sp-auth 4.19.2 → 4.20.1
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/fesm2022/ngx-sp-auth.mjs +26 -19
- package/fesm2022/ngx-sp-auth.mjs.map +1 -1
- package/lib/components/menu-lateral/menu/menu-lateral.component.d.ts +1 -1
- package/lib/components/menu-lateral/model/dynamic-menu.d.ts +1 -0
- package/lib/components/menu-lateral/model/imenu-item-structure.model.d.ts +1 -0
- package/lib/components/menu-lateral/model/isubmenu-item-structure.model.d.ts +1 -0
- package/lib/components/menu-lateral/submenus/dynamic-menu/dynamic-menu.component.d.ts +1 -1
- package/lib/storage/auth-storage.service.d.ts +2 -4
- package/package.json +2 -2
|
@@ -83,7 +83,7 @@ export declare class MenuLateralComponent implements OnInit, OnDestroy {
|
|
|
83
83
|
private validateCachedImg;
|
|
84
84
|
private checkForCachedImage;
|
|
85
85
|
logout(): void;
|
|
86
|
-
getExternalUrl(url: string): string;
|
|
86
|
+
getExternalUrl(url: string, isOutroModulo: boolean): string;
|
|
87
87
|
constroiRegrasDynamicMenu(menus: DynamicMenu[]): DynamicMenu[];
|
|
88
88
|
deleteIDB(): Promise<void>;
|
|
89
89
|
private configMsal;
|
|
@@ -22,7 +22,7 @@ export declare class DynamicMenuComponent implements OnInit {
|
|
|
22
22
|
onClickedOutside(e: Event, ref: HTMLDivElement): void;
|
|
23
23
|
indicateSelectedMenuItem(): void;
|
|
24
24
|
changeStar(ref: HTMLButtonElement, id: IMenuItemStructure | undefined): void;
|
|
25
|
-
getExternalUrl(url: string): string;
|
|
25
|
+
getExternalUrl(url: string, isOutroModulo: boolean): string;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicMenuComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicMenuComponent, "app-dynamic-menu", never, { "submenuRef": { "alias": "submenuRef"; "required": false; }; "recebeParam": { "alias": "recebeParam"; "required": false; }; "titleSubmenu": { "alias": "titleSubmenu"; "required": false; }; "submenuList": { "alias": "submenuList"; "required": false; }; "hostServerOutSystems": { "alias": "hostServerOutSystems"; "required": false; }; }, { "selectTemplate": "selectTemplate"; }, ["desiredContent"], never, true, never>;
|
|
28
28
|
}
|
|
@@ -88,10 +88,8 @@ export declare class AuthStorageService {
|
|
|
88
88
|
toJson(): string;
|
|
89
89
|
/** Inicia a verificação do login. */
|
|
90
90
|
startLoginCheck(): void;
|
|
91
|
-
/**
|
|
92
|
-
|
|
93
|
-
*/
|
|
94
|
-
reCheckLogin(): Promise<void>;
|
|
91
|
+
/** Verifica a cada diferença de tempo entre a data atual e a data do token. */
|
|
92
|
+
reCheckLogin(renew: boolean): Promise<void>;
|
|
95
93
|
logout(): void;
|
|
96
94
|
private getNewTokenBack;
|
|
97
95
|
private getNewToken;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-sp-auth",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.1",
|
|
4
4
|
"description": "Biblioteca de utilitários de autenticação.",
|
|
5
5
|
"author": "P&D",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@azure/msal-angular": "^4.0.16",
|
|
24
24
|
"@azure/msal-browser": "^4.18.0",
|
|
25
25
|
"idb": "^8.0.3",
|
|
26
|
-
"ngx-sp-infra": "^6.20.
|
|
26
|
+
"ngx-sp-infra": "^6.20.8",
|
|
27
27
|
"ngx-toastr": "^19.0.0"
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|