@ieeesa-npm/presentation 0.2.3 → 0.2.5
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/assets/constants.json +3 -1
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
- package/esm2022/lib/components/footer/footer.component.mjs +3 -3
- package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +10 -10
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.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/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/search/search.component.mjs +3 -3
- package/esm2022/lib/components/select/select.component.mjs +4 -4
- package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
- package/esm2022/lib/directives/set-background/set-background.directive.mjs +52 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +104 -52
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/header/header.component.d.ts +3 -3
- package/lib/directives/set-background/set-background.directive.d.ts +28 -0
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
- package/src/lib/assets/constants.json +3 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { HeaderConfig } from '../../models/header-config.model';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
-
import {
|
|
4
|
+
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class HeaderComponent implements OnDestroy {
|
|
12
12
|
private router;
|
|
13
|
-
private
|
|
13
|
+
private breakPointObserverService;
|
|
14
14
|
/**
|
|
15
15
|
* HeaderConfig represents the configurable properties required for header component.
|
|
16
16
|
* Input property of the component to get the configurable values such as logo, app title, signed in user name and logout redirect URL.
|
|
@@ -21,7 +21,7 @@ export declare class HeaderComponent implements OnDestroy {
|
|
|
21
21
|
destroy$: Subject<boolean>;
|
|
22
22
|
screenTexts: any;
|
|
23
23
|
isMobileView: boolean;
|
|
24
|
-
constructor(router: Router,
|
|
24
|
+
constructor(router: Router, breakPointObserverService: BreakpointObserverService);
|
|
25
25
|
/**
|
|
26
26
|
* Desktop event to navigate to logout page.
|
|
27
27
|
* @memberof HeaderComponent
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import { SafePipe } from '@ieeesa-npm/utility';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Sets background color and image for the attached element.
|
|
7
|
+
* @export
|
|
8
|
+
* @class SetBackgroundDirective
|
|
9
|
+
* @implements {OnInit}
|
|
10
|
+
*/
|
|
11
|
+
export declare class SetBackgroundDirective implements OnInit {
|
|
12
|
+
private safePipe;
|
|
13
|
+
background: {
|
|
14
|
+
color?: string;
|
|
15
|
+
imgURL?: string;
|
|
16
|
+
};
|
|
17
|
+
bg: SafeStyle;
|
|
18
|
+
bgSize: string;
|
|
19
|
+
constants: any;
|
|
20
|
+
constructor(safePipe: SafePipe);
|
|
21
|
+
/**
|
|
22
|
+
* Sets the elements background color and image.
|
|
23
|
+
* @memberof SetBackgroundDirective
|
|
24
|
+
*/
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SetBackgroundDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SetBackgroundDirective, "[ieeesaSetBackground]", never, { "background": { "alias": "background"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
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.0.
|
|
22
|
-
"@ieeesa-npm/feature": "^0.1.
|
|
21
|
+
"@ieeesa-npm/shared-styles": "^0.0.4",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.1.3"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './lib/components/toggle-button/toggle-button.component';
|
|
|
19
19
|
export * from './lib/components/form-support-text/form-support-text.component';
|
|
20
20
|
export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
|
|
21
21
|
export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
|
|
22
|
+
export * from './lib/directives/set-background/set-background.directive';
|
|
22
23
|
export * from './lib/models/align-type.model';
|
|
23
24
|
export * from './lib/models/autocomplete-option.model';
|
|
24
25
|
export * from './lib/models/calendar.model';
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"warning": "Warning",
|
|
5
5
|
"previousMonth": "Previous month",
|
|
6
6
|
"nextMonth": "Next month",
|
|
7
|
+
"menuIcon": "Menu",
|
|
7
8
|
"close": "Close"
|
|
8
9
|
},
|
|
9
10
|
"button": {
|
|
@@ -88,5 +89,6 @@
|
|
|
88
89
|
"hyperLinkPart3": " IEEE Terms and Conditions.",
|
|
89
90
|
"textPart4": "A not-for-profit organization, IEEE is the world's largest technical professional organization dedicated to advancing technology for the benefit of humanity."
|
|
90
91
|
}
|
|
91
|
-
}
|
|
92
|
+
},
|
|
93
|
+
"defaultWelcomeBgColor": "#C0DCED"
|
|
92
94
|
}
|