@skysoftware-co/bayan-hr-widgets-ui 1.0.7 → 1.0.10

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.
Files changed (25) hide show
  1. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +985 -48
  2. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
  3. package/lib/my-bank-information-widget/my-bank-information-widget.component.d.ts +41 -0
  4. package/lib/my-upcoming-events-widget/components/event-item/event-item.component.d.ts +2 -2
  5. package/lib/my-upcoming-events-widget/components/event-tab-bar/event-tab-bar.component.d.ts +1 -1
  6. package/lib/my-upcoming-events-widget/my-upcoming-events-widget.component.d.ts +1 -1
  7. package/lib/personal-info-address-widget/personal-info-address-widget.component.d.ts +25 -0
  8. package/lib/personal-info-contact-widget/personal-info-contact-widget.component.d.ts +28 -0
  9. package/lib/personal-info-languages-widget/personal-info-languages-widget.component.d.ts +22 -0
  10. package/lib/personal-info-main-widget/personal-info-main-widget.component.d.ts +28 -0
  11. package/lib/personal-info-other-nationalities-widget/personal-info-other-nationalities-widget.component.d.ts +22 -0
  12. package/lib/profile-bank-information-widget/profile-bank-information-widget.component.d.ts +41 -0
  13. package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts +31 -0
  14. package/lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component.d.ts +22 -0
  15. package/lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component.d.ts +28 -0
  16. package/lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component.d.ts +22 -0
  17. package/lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component.d.ts +25 -0
  18. package/lib/services/hr-self-widgets.service.d.ts +13 -2
  19. package/lib/shared/components/info-field/info-field.component.d.ts +10 -0
  20. package/lib/shared/services/bank-information-cache.service.d.ts +12 -0
  21. package/lib/shared/services/common-methods.service.d.ts +4 -0
  22. package/lib/shared/services/personal-information-cache.service.d.ts +25 -0
  23. package/lib/shared/types/common.d.ts +42 -0
  24. package/package.json +1 -1
  25. package/public-api.d.ts +6 -0
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MyBankInfo } from '../shared/types/common';
3
+ import { HRCommonMethodsService } from '../shared/services/common-methods.service';
4
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MyBankInformationWidgetComponent implements OnInit {
7
+ private readonly commonMethodsService;
8
+ private readonly hrSelfWidgetsService;
9
+ constructor(commonMethodsService: HRCommonMethodsService, hrSelfWidgetsService: HRSelfWidgetsService);
10
+ ngOnInit(): void;
11
+ employeeBankInformation: MyBankInfo[];
12
+ currencyCode: string;
13
+ currencyDecimals: number;
14
+ headerIconClass: string;
15
+ headerTextClass: string;
16
+ headerDividerClass: string;
17
+ cardClass: string;
18
+ mainBadgeClass: string;
19
+ mainBadgeTextClass: string;
20
+ triangleClass: string;
21
+ rowClass: string;
22
+ rowMainPtClass: string;
23
+ rowNormalPtClass: string;
24
+ columnClass: string;
25
+ responsiveTopSpacingColClass: string;
26
+ topSpacingColClass: string;
27
+ labelClass: string;
28
+ valueClass: string;
29
+ emptyStateContainerClass: string;
30
+ emptyStateTextClass: string;
31
+ bankInformationIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
32
+ sectionHeaderVisibility: boolean;
33
+ sectionTitle: string;
34
+ language: string;
35
+ baseUrl: string;
36
+ isRTL: boolean;
37
+ isLoadingChanged: EventEmitter<boolean>;
38
+ formatAmount(value: number | null | undefined): string;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyBankInformationWidgetComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<MyBankInformationWidgetComponent, "hr-my-bank-information-widget", never, { "currencyCode": { "alias": "currencyCode"; "required": false; }; "currencyDecimals": { "alias": "currencyDecimals"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "mainBadgeClass": { "alias": "mainBadgeClass"; "required": false; }; "mainBadgeTextClass": { "alias": "mainBadgeTextClass"; "required": false; }; "triangleClass": { "alias": "triangleClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowMainPtClass": { "alias": "rowMainPtClass"; "required": false; }; "rowNormalPtClass": { "alias": "rowNormalPtClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColClass": { "alias": "responsiveTopSpacingColClass"; "required": false; }; "topSpacingColClass": { "alias": "topSpacingColClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "bankInformationIcon": { "alias": "bankInformationIcon"; "required": false; }; "sectionHeaderVisibility": { "alias": "sectionHeaderVisibility"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "language": { "alias": "language"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": true; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
41
+ }
@@ -15,8 +15,8 @@ export declare class HREventItemComponent {
15
15
  warningTextClass: string;
16
16
  dateFormat: string;
17
17
  eventTypeEnum: typeof EventTypeEnum;
18
- cakeCandles: import("@fortawesome/fontawesome-common-types").IconDefinition;
19
- treePalm: import("@fortawesome/fontawesome-common-types").IconDefinition;
18
+ cakeCandles: import("@fortawesome/pro-light-svg-icons").IconDefinition;
19
+ treePalm: import("@fortawesome/pro-light-svg-icons").IconDefinition;
20
20
  get isArabic(): boolean;
21
21
  isBirthday(event: FilteredUpcomingEvent): boolean;
22
22
  hasPropertyBadge(event: FilteredUpcomingEvent): boolean;
@@ -21,7 +21,7 @@ export declare class HREventTabBarComponent {
21
21
  icon: null;
22
22
  } | {
23
23
  id: EventTypeEnum;
24
- icon: import("@fortawesome/fontawesome-common-types").IconDefinition;
24
+ icon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
25
25
  })[];
26
26
  getTabText(tab: {
27
27
  id: EventTypeEnum | null;
@@ -31,7 +31,7 @@ export declare class MyUpcomingEventsWidgetComponent implements OnInit {
31
31
  externalViewAll: boolean;
32
32
  selectedEventType: EventTypeEnum | null;
33
33
  selectedPopupEventType: EventTypeEnum | null;
34
- calendarStar: import("@fortawesome/fontawesome-common-types").IconDefinition;
34
+ calendarStar: import("@fortawesome/pro-light-svg-icons").IconDefinition;
35
35
  filteredEvents: FilteredUpcomingEvent[];
36
36
  birthdays: Birthday[];
37
37
  holidays: PublicHoliday[];
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoAddressDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PersonalInfoAddressWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ personalInfoAddressDetails: PersonalInfoAddressDetails | null;
8
+ baseUrl: string;
9
+ headerIconClass: string;
10
+ headerTextClass: string;
11
+ headerDividerClass: string;
12
+ rowClass: string;
13
+ columnClass: string;
14
+ responsiveTopSpacingColumnClass: string;
15
+ topSpacingBottomSpacingColumnClass: string;
16
+ labelClass: string;
17
+ valueClass: string;
18
+ addressIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
19
+ sectionTitle: string;
20
+ isLoadingChanged: EventEmitter<boolean>;
21
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
22
+ ngOnInit(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInfoAddressWidgetComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonalInfoAddressWidgetComponent, "hr-personal-info-address-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColumnClass": { "alias": "responsiveTopSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "addressIcon": { "alias": "addressIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
25
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoContactDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PersonalInfoContactWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ employeePersonalInfoContactDetails: PersonalInfoContactDetails | null;
8
+ baseUrl: string;
9
+ headerIconClass: string;
10
+ headerTextClass: string;
11
+ headerDividerClass: string;
12
+ rowClass: string;
13
+ columnClass: string;
14
+ responsiveTopSpacingColumnClass: string;
15
+ topSpacingBottomMdSpacingColumnClass: string;
16
+ topSpacingBottomSpacingColumnClass: string;
17
+ labelClass: string;
18
+ valueClass: string;
19
+ emergencyContactLabelClass: string;
20
+ contactIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
21
+ sectionTitle: string;
22
+ showEmergencyContact: boolean;
23
+ isLoadingChanged: EventEmitter<boolean>;
24
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
25
+ ngOnInit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInfoContactWidgetComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonalInfoContactWidgetComponent, "hr-personal-info-contact-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColumnClass": { "alias": "responsiveTopSpacingColumnClass"; "required": false; }; "topSpacingBottomMdSpacingColumnClass": { "alias": "topSpacingBottomMdSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "emergencyContactLabelClass": { "alias": "emergencyContactLabelClass"; "required": false; }; "contactIcon": { "alias": "contactIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "showEmergencyContact": { "alias": "showEmergencyContact"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PersonalInfoLanguagesWidgetComponent implements OnInit {
5
+ private readonly hrSelfWidgetsService;
6
+ languages: string[] | null;
7
+ baseUrl: string;
8
+ headerIconClass: string;
9
+ headerTextClass: string;
10
+ headerDividerClass: string;
11
+ contentTextClass: string;
12
+ hasDataChange: EventEmitter<boolean>;
13
+ languagesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
14
+ sectionTitle: string;
15
+ isLoadingChanged: EventEmitter<boolean>;
16
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
17
+ ngOnInit(): void;
18
+ private emitHasData;
19
+ getLanguages(): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInfoLanguagesWidgetComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonalInfoLanguagesWidgetComponent, "hr-personal-info-languages-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "contentTextClass": { "alias": "contentTextClass"; "required": false; }; "languagesIcon": { "alias": "languagesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
22
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoMainDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PersonalInfoMainWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ employeePersonalInformation: PersonalInfoMainDetails | null;
8
+ baseUrl: string;
9
+ alternateLanguage: string;
10
+ headerIconClass: string;
11
+ headerTextClass: string;
12
+ headerDividerClass: string;
13
+ rowClass: string;
14
+ columnClass: string;
15
+ hiddenSpacerColClass: string;
16
+ topSpacingColumnClass: string;
17
+ topSpacingBottomMdSpacingColumnClass: string;
18
+ topSpacingBottomSpacingColumnClass: string;
19
+ labelClass: string;
20
+ valueClass: string;
21
+ mainIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
22
+ sectionTitle: string;
23
+ isLoadingChanged: EventEmitter<boolean>;
24
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
25
+ ngOnInit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInfoMainWidgetComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonalInfoMainWidgetComponent, "hr-personal-info-main-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "alternateLanguage": { "alias": "alternateLanguage"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "hiddenSpacerColClass": { "alias": "hiddenSpacerColClass"; "required": false; }; "topSpacingColumnClass": { "alias": "topSpacingColumnClass"; "required": false; }; "topSpacingBottomMdSpacingColumnClass": { "alias": "topSpacingBottomMdSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "mainIcon": { "alias": "mainIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PersonalInfoOtherNationalitiesWidgetComponent implements OnInit {
5
+ private readonly hrSelfWidgetsService;
6
+ personalInfo: string[] | null;
7
+ baseUrl: string;
8
+ headerIconClass: string;
9
+ headerTextClass: string;
10
+ headerDividerClass: string;
11
+ contentTextClass: string;
12
+ hasDataChange: EventEmitter<boolean>;
13
+ isLoadingChanged: EventEmitter<boolean>;
14
+ otherNationalitiesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
15
+ sectionTitle: string;
16
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
17
+ ngOnInit(): void;
18
+ private emitHasData;
19
+ getOtherNationalities(): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInfoOtherNationalitiesWidgetComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonalInfoOtherNationalitiesWidgetComponent, "hr-personal-info-other-nationalities-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "contentTextClass": { "alias": "contentTextClass"; "required": false; }; "otherNationalitiesIcon": { "alias": "otherNationalitiesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
22
+ }
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MyBankInfo } from '../shared/types/common';
3
+ import { HRCommonMethodsService } from '../shared/services/common-methods.service';
4
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProfileBankInformationWidgetComponent implements OnInit {
7
+ private readonly commonMethodsService;
8
+ private readonly hrSelfWidgetsService;
9
+ constructor(commonMethodsService: HRCommonMethodsService, hrSelfWidgetsService: HRSelfWidgetsService);
10
+ ngOnInit(): void;
11
+ employeeBankInformation: MyBankInfo[];
12
+ currencyCode: string;
13
+ currencyDecimals: number;
14
+ headerIconClass: string;
15
+ headerTextClass: string;
16
+ headerDividerClass: string;
17
+ cardClass: string;
18
+ mainBadgeClass: string;
19
+ mainBadgeTextClass: string;
20
+ triangleClass: string;
21
+ rowClass: string;
22
+ rowMainPtClass: string;
23
+ rowNormalPtClass: string;
24
+ columnClass: string;
25
+ responsiveTopSpacingColClass: string;
26
+ topSpacingColClass: string;
27
+ labelClass: string;
28
+ valueClass: string;
29
+ emptyStateContainerClass: string;
30
+ emptyStateTextClass: string;
31
+ bankInformationIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
32
+ sectionHeaderVisibility: boolean;
33
+ sectionTitle: string;
34
+ language: string;
35
+ baseUrl: string;
36
+ isRTL: boolean;
37
+ isLoadingChanged: EventEmitter<boolean>;
38
+ formatAmount(value: number | null | undefined): string;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileBankInformationWidgetComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileBankInformationWidgetComponent, "hr-profile-bank-information-widget", never, { "currencyCode": { "alias": "currencyCode"; "required": false; }; "currencyDecimals": { "alias": "currencyDecimals"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "mainBadgeClass": { "alias": "mainBadgeClass"; "required": false; }; "mainBadgeTextClass": { "alias": "mainBadgeTextClass"; "required": false; }; "triangleClass": { "alias": "triangleClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowMainPtClass": { "alias": "rowMainPtClass"; "required": false; }; "rowNormalPtClass": { "alias": "rowNormalPtClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColClass": { "alias": "responsiveTopSpacingColClass"; "required": false; }; "topSpacingColClass": { "alias": "topSpacingColClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "bankInformationIcon": { "alias": "bankInformationIcon"; "required": false; }; "sectionHeaderVisibility": { "alias": "sectionHeaderVisibility"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "language": { "alias": "language"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": true; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
41
+ }
@@ -0,0 +1,31 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoContactDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ProfilePersonalInfoContactWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ employeePersonalInfoContactDetails: PersonalInfoContactDetails | null;
8
+ baseUrl: string;
9
+ headerIconClass: string;
10
+ headerTextClass: string;
11
+ headerDividerClass: string;
12
+ rowClass: string;
13
+ columnClass: string;
14
+ responsiveTopSpacingColumnClass: string;
15
+ topSpacingBottomMdSpacingColumnClass: string;
16
+ topSpacingBottomSpacingColumnClass: string;
17
+ labelClass: string;
18
+ valueClass: string;
19
+ emergencyContactLabelClass: string;
20
+ emergencyContactIconClass: string;
21
+ contactIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
22
+ emergencyContactIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
23
+ sectionTitle: string;
24
+ showEmergencyContact: boolean;
25
+ emergencyContactRowClass: string;
26
+ isLoadingChanged: EventEmitter<boolean>;
27
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
28
+ ngOnInit(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoContactWidgetComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalInfoContactWidgetComponent, "hr-profile-personal-info-contact-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColumnClass": { "alias": "responsiveTopSpacingColumnClass"; "required": false; }; "topSpacingBottomMdSpacingColumnClass": { "alias": "topSpacingBottomMdSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "emergencyContactLabelClass": { "alias": "emergencyContactLabelClass"; "required": false; }; "emergencyContactIconClass": { "alias": "emergencyContactIconClass"; "required": false; }; "contactIcon": { "alias": "contactIcon"; "required": false; }; "emergencyContactIcon": { "alias": "emergencyContactIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "showEmergencyContact": { "alias": "showEmergencyContact"; "required": false; }; "emergencyContactRowClass": { "alias": "emergencyContactRowClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
31
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProfilePersonalInfoLanguagesWidgetComponent implements OnInit {
5
+ private readonly hrSelfWidgetsService;
6
+ languages: string[] | null;
7
+ baseUrl: string;
8
+ headerIconClass: string;
9
+ headerTextClass: string;
10
+ headerDividerClass: string;
11
+ contentTextClass: string;
12
+ hasDataChange: EventEmitter<boolean>;
13
+ languagesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
14
+ sectionTitle: string;
15
+ isLoadingChanged: EventEmitter<boolean>;
16
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
17
+ ngOnInit(): void;
18
+ private emitHasData;
19
+ getLanguages(): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoLanguagesWidgetComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalInfoLanguagesWidgetComponent, "hr-profile-personal-info-languages-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "contentTextClass": { "alias": "contentTextClass"; "required": false; }; "languagesIcon": { "alias": "languagesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
22
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoMainDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ProfilePersonalInfoMainWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ employeePersonalInformation: PersonalInfoMainDetails | null;
8
+ baseUrl: string;
9
+ alternateLanguage: string;
10
+ headerIconClass: string;
11
+ headerTextClass: string;
12
+ headerDividerClass: string;
13
+ rowClass: string;
14
+ columnClass: string;
15
+ hiddenSpacerColClass: string;
16
+ topSpacingColumnClass: string;
17
+ topSpacingBottomMdSpacingColumnClass: string;
18
+ topSpacingBottomSpacingColumnClass: string;
19
+ labelClass: string;
20
+ valueClass: string;
21
+ mainIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
22
+ sectionTitle: string;
23
+ isLoadingChanged: EventEmitter<boolean>;
24
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
25
+ ngOnInit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoMainWidgetComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalInfoMainWidgetComponent, "hr-profile-personal-info-main-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "alternateLanguage": { "alias": "alternateLanguage"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "hiddenSpacerColClass": { "alias": "hiddenSpacerColClass"; "required": false; }; "topSpacingColumnClass": { "alias": "topSpacingColumnClass"; "required": false; }; "topSpacingBottomMdSpacingColumnClass": { "alias": "topSpacingBottomMdSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "mainIcon": { "alias": "mainIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProfilePersonalInfoOtherNationalitiesWidgetComponent implements OnInit {
5
+ private readonly hrSelfWidgetsService;
6
+ personalInfo: string[] | null;
7
+ baseUrl: string;
8
+ headerIconClass: string;
9
+ headerTextClass: string;
10
+ headerDividerClass: string;
11
+ contentTextClass: string;
12
+ hasDataChange: EventEmitter<boolean>;
13
+ isLoadingChanged: EventEmitter<boolean>;
14
+ otherNationalitiesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
15
+ sectionTitle: string;
16
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
17
+ ngOnInit(): void;
18
+ private emitHasData;
19
+ getOtherNationalities(): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoOtherNationalitiesWidgetComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalInfoOtherNationalitiesWidgetComponent, "hr-profile-personal-info-other-nationalities-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "contentTextClass": { "alias": "contentTextClass"; "required": false; }; "otherNationalitiesIcon": { "alias": "otherNationalitiesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
22
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PersonalInfoAddressDetails } from '../shared/types/common';
3
+ import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ProfilePersonalInfoAddressWidgetComponent implements OnInit {
6
+ private readonly hrSelfWidgetsService;
7
+ personalInfoAddressDetails: PersonalInfoAddressDetails | null;
8
+ baseUrl: string;
9
+ headerIconClass: string;
10
+ headerTextClass: string;
11
+ headerDividerClass: string;
12
+ rowClass: string;
13
+ columnClass: string;
14
+ responsiveTopSpacingColumnClass: string;
15
+ topSpacingBottomSpacingColumnClass: string;
16
+ labelClass: string;
17
+ valueClass: string;
18
+ addressIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
19
+ sectionTitle: string;
20
+ isLoadingChanged: EventEmitter<boolean>;
21
+ constructor(hrSelfWidgetsService: HRSelfWidgetsService);
22
+ ngOnInit(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoAddressWidgetComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalInfoAddressWidgetComponent, "hr-profile-personal-info-address-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColumnClass": { "alias": "responsiveTopSpacingColumnClass"; "required": false; }; "topSpacingBottomSpacingColumnClass": { "alias": "topSpacingBottomSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "addressIcon": { "alias": "addressIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
25
+ }
@@ -1,14 +1,25 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { EventOption } from '../shared/types/common';
3
+ import { EventOption, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
4
+ import { BankInformationCacheService } from '../shared/services/bank-information-cache.service';
5
+ import { PersonalInformationCacheService } from '../shared/services/personal-information-cache.service';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class HRSelfWidgetsService {
6
8
  private http;
9
+ private readonly bankInformationCacheService;
10
+ private readonly personalInformationCacheService;
7
11
  private readonly headers;
8
- constructor(http: HttpClient);
12
+ constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, personalInformationCacheService: PersonalInformationCacheService);
9
13
  getMainDetails(baseUrl: string): Observable<any>;
10
14
  getUpcomingEvents(baseUrl: string, eventOption: EventOption): Observable<any>;
11
15
  getCalendar(baseUrl: string, month: number, year: number, monthsCount: number): Observable<any>;
16
+ getBankInformation(baseUrl: string, forceRefresh?: boolean): Observable<MyBankInfo[]>;
17
+ getPersonalInfoMainDetails(baseUrl: string, forceRefresh?: boolean): Observable<PersonalInfoMainDetails>;
18
+ getPersonalInfoContactDetails(baseUrl: string, forceRefresh?: boolean): Observable<PersonalInfoContactDetails>;
19
+ getPersonalInfoAddressDetails(baseUrl: string, forceRefresh?: boolean): Observable<PersonalInfoAddressDetails>;
20
+ getPersonalInfoLanguages(baseUrl: string, forceRefresh?: boolean): Observable<string[]>;
21
+ getPersonalInfoOtherNationalities(baseUrl: string, forceRefresh?: boolean): Observable<string[]>;
22
+ clearPersonalInformationCache(): void;
12
23
  static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
13
24
  static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
14
25
  }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class HRInfoFieldComponent {
3
+ labelKey: string;
4
+ value: string | null | undefined;
5
+ labelClass: string;
6
+ valueClass: string;
7
+ fallbackValue: string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<HRInfoFieldComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<HRInfoFieldComponent, "hr-info-field", never, { "labelKey": { "alias": "labelKey"; "required": true; }; "value": { "alias": "value"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "fallbackValue": { "alias": "fallbackValue"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Observable } from 'rxjs';
2
+ import { MyBankInfo } from '../types/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BankInformationCacheService {
5
+ private bankInformationCache$;
6
+ private bankInformationCacheBaseUrl;
7
+ get(baseUrl: string): Observable<MyBankInfo[]> | null;
8
+ set(baseUrl: string, value: Observable<MyBankInfo[]>): void;
9
+ clear(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BankInformationCacheService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<BankInformationCacheService>;
12
+ }
@@ -1,6 +1,10 @@
1
+ import { HRTranslateService } from './translate.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class HRCommonMethodsService {
4
+ private readonly translateService;
5
+ constructor(translateService: HRTranslateService);
3
6
  calculateDaysDifference(dateOne: string | Date, dateTwo: string | Date): number;
7
+ currencyDecimalFormat(value: number, currencyDecimalsNumber: number): string | null;
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<HRCommonMethodsService, never>;
5
9
  static ɵprov: i0.ɵɵInjectableDeclaration<HRCommonMethodsService>;
6
10
  }
@@ -0,0 +1,25 @@
1
+ import { Observable } from 'rxjs';
2
+ import { PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../types/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PersonalInformationCacheService {
5
+ private baseUrl;
6
+ private mainDetails$;
7
+ private contactDetails$;
8
+ private addressDetails$;
9
+ private languages$;
10
+ private otherNationalities$;
11
+ getMainDetails(baseUrl: string): Observable<PersonalInfoMainDetails> | null;
12
+ setMainDetails(baseUrl: string, value: Observable<PersonalInfoMainDetails>): void;
13
+ getContactDetails(baseUrl: string): Observable<PersonalInfoContactDetails> | null;
14
+ setContactDetails(baseUrl: string, value: Observable<PersonalInfoContactDetails>): void;
15
+ getAddressDetails(baseUrl: string): Observable<PersonalInfoAddressDetails> | null;
16
+ setAddressDetails(baseUrl: string, value: Observable<PersonalInfoAddressDetails>): void;
17
+ getLanguages(baseUrl: string): Observable<string[]> | null;
18
+ setLanguages(baseUrl: string, value: Observable<string[]>): void;
19
+ getOtherNationalities(baseUrl: string): Observable<string[]> | null;
20
+ setOtherNationalities(baseUrl: string, value: Observable<string[]>): void;
21
+ clear(): void;
22
+ private ensureBaseUrl;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonalInformationCacheService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<PersonalInformationCacheService>;
25
+ }
@@ -99,6 +99,48 @@ export type ScheduleCalenderVacation = {
99
99
  Description: string;
100
100
  VacationDays: DatePeriod;
101
101
  };
102
+ export type MyBankInfo = {
103
+ BankName: string;
104
+ BranchName: string;
105
+ IBAN: string | null;
106
+ AccountNumber: string | null;
107
+ Beneficiary: string | null;
108
+ TransferAmount: number | null;
109
+ IsMainBank: boolean;
110
+ };
111
+ export type PersonalInfoMainDetails = {
112
+ EmployeeName: string;
113
+ EmployeeNameAltarnate: string | null;
114
+ NationalityName: string;
115
+ NationalNumber: string | null;
116
+ SocialSecurityNumber: string | null;
117
+ MaritalStateName: string;
118
+ BirthDate: Date | string | null;
119
+ BirthPlace: string | null;
120
+ BloodTypeCode: string | null;
121
+ HealthStateName: string | null;
122
+ ReligionName: string | null;
123
+ MinistryOfLaborNumber: string | null;
124
+ };
125
+ export type PersonalInfoContactDetails = {
126
+ MobileNumber: string | null;
127
+ HomePhone: string | null;
128
+ EmergencyContactLegacy: string | null;
129
+ BusinessEmail: string | null;
130
+ Email: string | null;
131
+ EmergencyContact: EmergencyContact | null;
132
+ };
133
+ export type PersonalInfoAddressDetails = {
134
+ Address: string | null;
135
+ City: string | null;
136
+ POBox: string | null;
137
+ PostalCode: string | null;
138
+ };
139
+ export type EmergencyContact = {
140
+ Name: string;
141
+ Relation: string;
142
+ PhoneNumber: string | null;
143
+ };
102
144
  export declare enum ScheduleVacationTypes {
103
145
  DaysOff = 1,
104
146
  PublicHoliday = 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skysoftware-co/bayan-hr-widgets-ui",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.14",
6
6
  "@angular/core": "19.2.14",
package/public-api.d.ts CHANGED
@@ -7,3 +7,9 @@ export * from './lib/shared/pipes/translate.pipe';
7
7
  export * from './lib/shared/components/card-header/card-header.component';
8
8
  export * from './lib/my-calendar-widget/my-calendar-widget.component';
9
9
  export * from './lib/shared/components/hr-employee-calendar/hr-employee-calendar.component';
10
+ export * from './lib/profile-bank-information-widget/profile-bank-information-widget.component';
11
+ export * from './lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component';
12
+ export * from './lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component';
13
+ export * from './lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component';
14
+ export * from './lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component';
15
+ export * from './lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component';