@ieeesa-npm/presentation 0.5.1 → 0.5.3
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 +1 -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/chips/chips.component.mjs +3 -3
- package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +5 -17
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +4 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
- package/esm2022/lib/components/filter/filter.component.mjs +3 -3
- package/esm2022/lib/components/footer/footer.component.mjs +10 -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 +15 -11
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/menu/menu.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 +3 -3
- 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/components/welcome/welcome.component.mjs +26 -3
- package/esm2022/lib/date-formats.mjs +2 -2
- package/esm2022/lib/models/app-config-info.model.mjs +1 -1
- package/esm2022/lib/models/date-picker.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/fesm2022/ieeesa-npm-presentation.mjs +117 -93
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/date-picker/date-picker.component.d.ts +1 -9
- package/lib/components/footer/footer.component.d.ts +8 -1
- package/lib/components/header/header.component.d.ts +4 -4
- package/lib/components/welcome/welcome.component.d.ts +9 -1
- package/lib/models/app-config-info.model.d.ts +5 -0
- package/lib/models/date-picker.model.d.ts +0 -3
- package/lib/models/header-config.model.d.ts +4 -0
- package/package.json +3 -3
- package/src/lib/assets/constants.json +1 -1
|
@@ -71,8 +71,6 @@ export declare class DatePickerComponent implements FormField, OnInit {
|
|
|
71
71
|
minDate: string;
|
|
72
72
|
maxDate: string;
|
|
73
73
|
};
|
|
74
|
-
minDate: Date | moment.Moment;
|
|
75
|
-
maxDate: Date | moment.Moment;
|
|
76
74
|
selectedDate: EventEmitter<string>;
|
|
77
75
|
selectedDateRange: EventEmitter<{
|
|
78
76
|
startDate: string;
|
|
@@ -127,12 +125,6 @@ export declare class DatePickerComponent implements FormField, OnInit {
|
|
|
127
125
|
* @memberof DatePickerComponent
|
|
128
126
|
*/
|
|
129
127
|
isRequired(): boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Sets the updated selected date using datepicker service which will be shown in datepicker header
|
|
132
|
-
* @param {string} controlName
|
|
133
|
-
* @memberof DatePickerComponent
|
|
134
|
-
*/
|
|
135
|
-
onDatePickerOpen(controlName: string): void;
|
|
136
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
137
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ieeesa-date-picker", never, { "selectedDates": { "alias": "selectedDates"; "required": false; }; "selectedRange": { "alias": "selectedRange"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isLabelAlignedLeft": { "alias": "isLabelAlignedLeft"; "required": false; }; "datepickerLabel": { "alias": "datepickerLabel"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; };
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ieeesa-date-picker", never, { "selectedDates": { "alias": "selectedDates"; "required": false; }; "selectedRange": { "alias": "selectedRange"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isLabelAlignedLeft": { "alias": "isLabelAlignedLeft"; "required": false; }; "datepickerLabel": { "alias": "datepickerLabel"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; }, { "selectedDate": "selectedDate"; "selectedDateRange": "selectedDateRange"; }, never, never, true, never>;
|
|
138
130
|
}
|
|
@@ -13,10 +13,17 @@ 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;
|
|
16
22
|
screenTexts: any;
|
|
17
23
|
currentYear: number;
|
|
18
24
|
/**
|
|
19
25
|
* Initializes the component with default values if not provided.
|
|
26
|
+
* It should hide the the dashboard link if the user is not signed in.
|
|
20
27
|
* @return -returns nothing
|
|
21
28
|
* @memberof FooterComponent
|
|
22
29
|
*/
|
|
@@ -30,5 +37,5 @@ export declare class FooterComponent implements OnInit {
|
|
|
30
37
|
*/
|
|
31
38
|
trackByFunc(index: number, link: FooterLink): string;
|
|
32
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ieeesa-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ieeesa-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; }; "isSignedIn": { "alias": "isSignedIn"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
41
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { HeaderConfig } from '../../models/header-config.model';
|
|
3
|
-
import {
|
|
4
|
-
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
3
|
+
import { BreakpointObserverService, AuthService } from '@ieeesa-npm/utility';
|
|
5
4
|
import { Subject } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
@@ -9,8 +8,8 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
* @class HeaderComponent
|
|
10
9
|
*/
|
|
11
10
|
export declare class HeaderComponent implements OnDestroy {
|
|
12
|
-
private router;
|
|
13
11
|
private breakPointObserverService;
|
|
12
|
+
private authService;
|
|
14
13
|
private headerConfigInfo;
|
|
15
14
|
/**
|
|
16
15
|
* HeaderConfig represents the configurable properties required for header component.
|
|
@@ -24,10 +23,11 @@ export declare class HeaderComponent implements OnDestroy {
|
|
|
24
23
|
screenTexts: any;
|
|
25
24
|
isMobileView: boolean;
|
|
26
25
|
toggleNavMenuClick: EventEmitter<Event>;
|
|
27
|
-
constructor(
|
|
26
|
+
constructor(breakPointObserverService: BreakpointObserverService, authService: AuthService);
|
|
28
27
|
/**
|
|
29
28
|
* Desktop event to navigate to logout page.
|
|
30
29
|
* @memberof HeaderComponent
|
|
30
|
+
* It will deletes the application specific and SSO related cookies
|
|
31
31
|
*/
|
|
32
32
|
logout(): void;
|
|
33
33
|
/**
|
|
@@ -19,8 +19,16 @@ export declare class WelcomeComponent {
|
|
|
19
19
|
*/
|
|
20
20
|
appConfigInfo: AppConfigInfo;
|
|
21
21
|
signInClick: EventEmitter<Event>;
|
|
22
|
+
signUpClick: EventEmitter<Event>;
|
|
22
23
|
constants: any;
|
|
24
|
+
url: string;
|
|
23
25
|
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;
|
|
24
32
|
/**
|
|
25
33
|
* Navigates to passed sign in route url or emits the click event in case route url is not there.
|
|
26
34
|
* @param {Event} event
|
|
@@ -28,5 +36,5 @@ export declare class WelcomeComponent {
|
|
|
28
36
|
*/
|
|
29
37
|
onSignInClick(event: Event): void;
|
|
30
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<WelcomeComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick"; }, never, never, true, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick"; "signUpClick": "signUpClick"; }, never, never, true, never>;
|
|
32
40
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CalendarType } from '../models/calendar.model';
|
|
2
|
-
import * as moment from 'moment';
|
|
3
2
|
export interface DatePicker {
|
|
4
3
|
placeholderLabel?: string;
|
|
5
4
|
selectedDates?: string[];
|
|
@@ -11,6 +10,4 @@ export interface DatePicker {
|
|
|
11
10
|
maxDate: string;
|
|
12
11
|
};
|
|
13
12
|
calendarType: CalendarType;
|
|
14
|
-
minDate?: Date | moment.Moment;
|
|
15
|
-
maxDate?: Date | moment.Moment;
|
|
16
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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.3",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.3.5"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|