asp-lib 1.0.55 → 1.1.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.
- package/esm2022/lib/company-dropdown/company-dropdown.component.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.component.mjs +6 -4
- package/esm2022/lib/header/header.component.mjs +56 -50
- package/esm2022/lib/menu/menu-child-report/menu-child-report.component.mjs +3 -3
- package/esm2022/lib/menu/menu.component.mjs +5 -3
- package/esm2022/lib/notifications/notifications.component.mjs +3 -3
- package/esm2022/lib/recents-dropdown/recents-dropdown.component.mjs +3 -3
- package/fesm2022/asp-lib.mjs +72 -62
- package/fesm2022/asp-lib.mjs.map +1 -1
- package/lib/dropdown/dropdown.component.d.ts +2 -2
- package/lib/header/header.component.d.ts +5 -2
- package/lib/menu/menu.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ import { DropdownOptions } from '../interfaces/interfaces';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DropdownComponent {
|
|
5
5
|
data: DropdownOptions[];
|
|
6
|
+
selectedOption: DropdownOptions | null;
|
|
6
7
|
optionSelected: EventEmitter<any>;
|
|
7
8
|
fadeInOut: string;
|
|
8
|
-
selectedOption: DropdownOptions | null;
|
|
9
9
|
dropdownOpen: boolean;
|
|
10
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
11
11
|
onClickOutside(event: MouseEvent): void;
|
|
12
12
|
toggleDropdown(event: MouseEvent): void;
|
|
13
13
|
selectOptionDropdown(option: any): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "lib-dropdown", never, { "data": { "alias": "data"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "lib-dropdown", never, { "data": { "alias": "data"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Data, Router } from '@angular/router';
|
|
3
3
|
import { ServicesConfig } from '../utils/models/ServicesConfig';
|
|
4
4
|
import { SecurityServices } from '../utils/services/SecurityServicesDefault';
|
|
@@ -18,6 +18,7 @@ export declare class HeaderComponent {
|
|
|
18
18
|
private services;
|
|
19
19
|
private router;
|
|
20
20
|
private route;
|
|
21
|
+
private cdr;
|
|
21
22
|
appLogo: string;
|
|
22
23
|
theme: string;
|
|
23
24
|
showBackButton: boolean;
|
|
@@ -57,9 +58,10 @@ export declare class HeaderComponent {
|
|
|
57
58
|
name: string;
|
|
58
59
|
}[];
|
|
59
60
|
}[];
|
|
61
|
+
currentModuleOption: any;
|
|
60
62
|
selectedOption: any;
|
|
61
63
|
dropdownOptionsMenu: DropdownOptions[];
|
|
62
|
-
constructor(services: SecurityServices, router: Router, route: ActivatedRoute);
|
|
64
|
+
constructor(services: SecurityServices, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
|
|
63
65
|
ngOnInit(): void;
|
|
64
66
|
isAuth(): Observable<boolean>;
|
|
65
67
|
doLogin(): Observable<boolean>;
|
|
@@ -74,6 +76,7 @@ export declare class HeaderComponent {
|
|
|
74
76
|
getPath(): string;
|
|
75
77
|
getModules(): void;
|
|
76
78
|
currentModule(event: any): void;
|
|
79
|
+
navigateToOption(option: any): void;
|
|
77
80
|
isExternalUrl(url: string): boolean;
|
|
78
81
|
getAuthCode(url: string): void;
|
|
79
82
|
encodeBase64Url(text: string): string;
|
|
@@ -19,6 +19,7 @@ export interface Data {
|
|
|
19
19
|
}
|
|
20
20
|
export declare class MenuComponent {
|
|
21
21
|
dropdownOptions: any;
|
|
22
|
+
selectedOption: any;
|
|
22
23
|
data: any;
|
|
23
24
|
theme: string;
|
|
24
25
|
isMobile: boolean;
|
|
@@ -49,5 +50,5 @@ export declare class MenuComponent {
|
|
|
49
50
|
toggleMenuHandler(event: MouseEvent): void;
|
|
50
51
|
handleOptionSelected(event: any): void;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "lib-menu", never, { "dropdownOptions": { "alias": "dropdownOptions"; "required": false; }; "data": { "alias": "data"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "menuOriginal": { "alias": "menu"; "required": false; }; }, { "menuItemClick": "menuItemClick"; "selectOptionFromApp": "selectOptionFromApp"; "moduleSelected": "moduleSelected"; }, never, never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "lib-menu", never, { "dropdownOptions": { "alias": "dropdownOptions"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "data": { "alias": "data"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "menuOriginal": { "alias": "menu"; "required": false; }; }, { "menuItemClick": "menuItemClick"; "selectOptionFromApp": "selectOptionFromApp"; "moduleSelected": "moduleSelected"; }, never, never, false, never>;
|
|
53
54
|
}
|