@ieeesa-npm/presentation 0.5.3 → 0.5.4
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/components/footer/footer.component.mjs +2 -9
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +10 -14
- package/esm2022/lib/components/legend/legend.component.mjs +3 -3
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/welcome/welcome.component.mjs +3 -26
- package/esm2022/lib/directives/text-truncated/text-truncated.directive.mjs +35 -0
- package/esm2022/lib/models/app-config-info.model.mjs +1 -1
- package/esm2022/lib/models/header-config.model.mjs +1 -1
- package/esm2022/lib/models/navigation-menu.model.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +79 -82
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/footer/footer.component.d.ts +1 -8
- package/lib/components/header/header.component.d.ts +4 -4
- package/lib/components/welcome/welcome.component.d.ts +1 -9
- package/lib/directives/text-truncated/text-truncated.directive.d.ts +17 -0
- package/lib/models/app-config-info.model.d.ts +0 -5
- package/lib/models/header-config.model.d.ts +0 -4
- package/lib/models/navigation-menu.model.d.ts +1 -1
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
|
@@ -13,17 +13,10 @@ export declare class FooterComponent implements OnInit {
|
|
|
13
13
|
* @memberof FooterComponent
|
|
14
14
|
*/
|
|
15
15
|
footerConfig: FooterConfig;
|
|
16
|
-
/**
|
|
17
|
-
* Input property to get the user signed in status.
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
* @memberof FooterComponent
|
|
20
|
-
*/
|
|
21
|
-
isSignedIn: boolean;
|
|
22
16
|
screenTexts: any;
|
|
23
17
|
currentYear: number;
|
|
24
18
|
/**
|
|
25
19
|
* Initializes the component with default values if not provided.
|
|
26
|
-
* It should hide the the dashboard link if the user is not signed in.
|
|
27
20
|
* @return -returns nothing
|
|
28
21
|
* @memberof FooterComponent
|
|
29
22
|
*/
|
|
@@ -37,5 +30,5 @@ export declare class FooterComponent implements OnInit {
|
|
|
37
30
|
*/
|
|
38
31
|
trackByFunc(index: number, link: FooterLink): string;
|
|
39
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ieeesa-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; };
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ieeesa-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
34
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { HeaderConfig } from '../../models/header-config.model';
|
|
3
|
-
import {
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
4
5
|
import { Subject } from 'rxjs';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
@@ -8,8 +9,8 @@ import * as i0 from "@angular/core";
|
|
|
8
9
|
* @class HeaderComponent
|
|
9
10
|
*/
|
|
10
11
|
export declare class HeaderComponent implements OnDestroy {
|
|
12
|
+
private router;
|
|
11
13
|
private breakPointObserverService;
|
|
12
|
-
private authService;
|
|
13
14
|
private headerConfigInfo;
|
|
14
15
|
/**
|
|
15
16
|
* HeaderConfig represents the configurable properties required for header component.
|
|
@@ -23,11 +24,10 @@ export declare class HeaderComponent implements OnDestroy {
|
|
|
23
24
|
screenTexts: any;
|
|
24
25
|
isMobileView: boolean;
|
|
25
26
|
toggleNavMenuClick: EventEmitter<Event>;
|
|
26
|
-
constructor(
|
|
27
|
+
constructor(router: Router, breakPointObserverService: BreakpointObserverService);
|
|
27
28
|
/**
|
|
28
29
|
* Desktop event to navigate to logout page.
|
|
29
30
|
* @memberof HeaderComponent
|
|
30
|
-
* It will deletes the application specific and SSO related cookies
|
|
31
31
|
*/
|
|
32
32
|
logout(): void;
|
|
33
33
|
/**
|
|
@@ -19,16 +19,8 @@ export declare class WelcomeComponent {
|
|
|
19
19
|
*/
|
|
20
20
|
appConfigInfo: AppConfigInfo;
|
|
21
21
|
signInClick: EventEmitter<Event>;
|
|
22
|
-
signUpClick: EventEmitter<Event>;
|
|
23
22
|
constants: any;
|
|
24
|
-
url: string;
|
|
25
23
|
constructor(router: Router);
|
|
26
|
-
/**
|
|
27
|
-
* Navigates to passed sign up route url or emits the click event in case route url is not there.
|
|
28
|
-
* @param {Event} event
|
|
29
|
-
* @memberof WelcomeComponent
|
|
30
|
-
*/
|
|
31
|
-
onCreateAccountClick(event: Event): void;
|
|
32
24
|
/**
|
|
33
25
|
* Navigates to passed sign in route url or emits the click event in case route url is not there.
|
|
34
26
|
* @param {Event} event
|
|
@@ -36,5 +28,5 @@ export declare class WelcomeComponent {
|
|
|
36
28
|
*/
|
|
37
29
|
onSignInClick(event: Event): void;
|
|
38
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<WelcomeComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick";
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick"; }, never, never, true, never>;
|
|
40
32
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Checks the text is truncated
|
|
6
|
+
* @export
|
|
7
|
+
* @class TextTruncatedDirective
|
|
8
|
+
* @implements {AfterViewInit}
|
|
9
|
+
*/
|
|
10
|
+
export declare class TextTruncatedDirective implements AfterViewInit {
|
|
11
|
+
tooltip: MatTooltip;
|
|
12
|
+
elementRef: ElementRef<HTMLElement>;
|
|
13
|
+
constructor(tooltip: MatTooltip, elementRef: ElementRef<HTMLElement>);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextTruncatedDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextTruncatedDirective, "[matTooltip][ieeesaTextTruncated]", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"moment": "^2.29.4",
|
|
19
19
|
"rxjs": "~7.8.0",
|
|
20
20
|
"zone.js": "~0.13.0",
|
|
21
|
-
"@ieeesa-npm/shared-styles": "^0.1.
|
|
22
|
-
"@ieeesa-npm/feature": "^0.3.
|
|
21
|
+
"@ieeesa-npm/shared-styles": "^0.1.4",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.3.6"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './lib/components/data-table/data-table.component';
|
|
|
27
27
|
export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
|
|
28
28
|
export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
|
|
29
29
|
export * from './lib/directives/set-background/set-background.directive';
|
|
30
|
+
export * from './lib/directives/text-truncated/text-truncated.directive';
|
|
30
31
|
export * from './lib/models/align-type.model';
|
|
31
32
|
export * from './lib/models/app-config-info.model';
|
|
32
33
|
export * from './lib/models/autocomplete-option.model';
|