@skysoftware-co/bayan-hr-widgets-ui 1.0.6 → 1.0.8
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/README.md +1 -1
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +1020 -75
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-bank-information-widget/my-bank-information-widget.component.d.ts +41 -0
- package/lib/my-calendar-widget/my-calendar-widget.component.d.ts +6 -6
- package/lib/my-main-details-widget/my-main-details-widget.component.d.ts +6 -6
- package/lib/my-upcoming-events-widget/{event-item → components/event-item}/event-item.component.d.ts +3 -3
- package/lib/my-upcoming-events-widget/{event-tab-bar → components/event-tab-bar}/event-tab-bar.component.d.ts +3 -3
- package/lib/my-upcoming-events-widget/{events-popup → components/events-popup}/events-popup.component.d.ts +1 -1
- package/lib/my-upcoming-events-widget/my-upcoming-events-widget.component.d.ts +4 -4
- package/lib/personal-info-address-widget/personal-info-address-widget.component.d.ts +25 -0
- package/lib/personal-info-contact-widget/personal-info-contact-widget.component.d.ts +28 -0
- package/lib/personal-info-languages-widget/personal-info-languages-widget.component.d.ts +22 -0
- package/lib/personal-info-main-widget/personal-info-main-widget.component.d.ts +28 -0
- package/lib/personal-info-other-nationalities-widget/personal-info-other-nationalities-widget.component.d.ts +22 -0
- package/lib/services/hr-self-widgets.service.d.ts +25 -0
- package/lib/shared/components/info-field/info-field.component.d.ts +10 -0
- package/lib/shared/services/bank-information-cache.service.d.ts +12 -0
- package/lib/shared/services/common-methods.service.d.ts +4 -0
- package/lib/shared/services/personal-information-cache.service.d.ts +25 -0
- package/lib/shared/types/common.d.ts +42 -0
- package/package.json +1 -1
- 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": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
3
|
import { ScheduleCalenderVacation } from '../shared/types/common';
|
|
4
4
|
import { HREmployeeCalendarComponent } from '../shared/components/hr-employee-calendar/hr-employee-calendar.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
7
|
-
private
|
|
6
|
+
export declare class MyCalendarWidgetComponent implements OnInit {
|
|
7
|
+
private selfWidgetsService;
|
|
8
8
|
baseUrl: string;
|
|
9
9
|
headerContainerClass: string;
|
|
10
10
|
isLoadingChanged: EventEmitter<boolean>;
|
|
@@ -31,11 +31,11 @@ export declare class HRMyCalendarWidgetComponent implements OnInit {
|
|
|
31
31
|
scheduleCalenderVacation: ScheduleCalenderVacation[];
|
|
32
32
|
minDate: Date;
|
|
33
33
|
maxDate: Date;
|
|
34
|
-
constructor(
|
|
34
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
private getCalendar;
|
|
37
37
|
private loadCalendar;
|
|
38
38
|
private mapCalendarData;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyCalendarWidgetComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyCalendarWidgetComponent, "hr-my-calendar-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerContainerClass": { "alias": "headerContainerClass"; "required": false; }; "legendContainerClass": { "alias": "legendContainerClass"; "required": false; }; "legendRowClass": { "alias": "legendRowClass"; "required": false; }; "legendItemClass": { "alias": "legendItemClass"; "required": false; }; "legendDotClass": { "alias": "legendDotClass"; "required": false; }; "legendLabelClass": { "alias": "legendLabelClass"; "required": false; }; "publicHolidayDotClass": { "alias": "publicHolidayDotClass"; "required": false; }; "dayOffDotClass": { "alias": "dayOffDotClass"; "required": false; }; "eventsDotClass": { "alias": "eventsDotClass"; "required": false; }; "vacationsContainerClass": { "alias": "vacationsContainerClass"; "required": false; }; "vacationsItemClass": { "alias": "vacationsItemClass"; "required": false; }; "vacationsIconClass": { "alias": "vacationsIconClass"; "required": false; }; "calendarContainerClass": { "alias": "calendarContainerClass"; "required": false; }; "calendarClass": { "alias": "calendarClass"; "required": false; }; "publicHolidayColor": { "alias": "publicHolidayColor"; "required": false; }; "dayOffColor": { "alias": "dayOffColor"; "required": false; }; "eventsColor": { "alias": "eventsColor"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
41
41
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
3
|
import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
|
|
4
4
|
import { ShortcutIconDTO } from '@skysoftware-co/sky-components-ui';
|
|
5
5
|
import { MyMainDetailsWidgetDetails } from '../shared/types/common';
|
|
6
6
|
import { HRConstantsService } from '../shared/services/constants.service';
|
|
7
7
|
import { HRTranslatePipe } from '../shared/pipes/translate.pipe';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
10
|
-
private
|
|
9
|
+
export declare class MyMainDetailsWidgetComponent implements OnInit, OnChanges {
|
|
10
|
+
private selfWidgetsService;
|
|
11
11
|
private constants;
|
|
12
12
|
private translatePipe;
|
|
13
13
|
employeeMainInfo: MyMainDetailsWidgetDetails | null;
|
|
@@ -54,13 +54,13 @@ export declare class HRMyMainDetailsWidgetComponent implements OnInit, OnChanges
|
|
|
54
54
|
isMobile: boolean;
|
|
55
55
|
isTablet: boolean;
|
|
56
56
|
shortcuts: ShortcutIconDTO[];
|
|
57
|
-
constructor(
|
|
57
|
+
constructor(selfWidgetsService: HRSelfWidgetsService, constants: HRConstantsService, translatePipe: HRTranslatePipe);
|
|
58
58
|
ngOnInit(): void;
|
|
59
59
|
ngOnChanges(changes: SimpleChanges): void;
|
|
60
60
|
loadEmployeeMainInfo(): void;
|
|
61
61
|
shortcutClicked(icon: ShortcutIconDTO): void;
|
|
62
62
|
handleEmployeePhotoError(): void;
|
|
63
63
|
getEmployeeMainDetails(): import("rxjs").Observable<any>;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyMainDetailsWidgetComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyMainDetailsWidgetComponent, "hr-my-main-details-widget", never, { "badgeClass": { "alias": "badgeClass"; "required": false; }; "badgeImageClass": { "alias": "badgeImageClass"; "required": false; }; "badgeWidth": { "alias": "badgeWidth"; "required": false; }; "badgeHeight": { "alias": "badgeHeight"; "required": false; }; "employeeInfoContainerClass": { "alias": "employeeInfoContainerClass"; "required": false; }; "employeeDetailsClass": { "alias": "employeeDetailsClass"; "required": false; }; "employeeNameContainerClass": { "alias": "employeeNameContainerClass"; "required": false; }; "employeeNameClass": { "alias": "employeeNameClass"; "required": false; }; "employeePositionClass": { "alias": "employeePositionClass"; "required": false; }; "employeeGradeClass": { "alias": "employeeGradeClass"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "cardBodyClass": { "alias": "cardBodyClass"; "required": false; }; "headerRowClass": { "alias": "headerRowClass"; "required": false; }; "shortcutsContainerClass": { "alias": "shortcutsContainerClass"; "required": false; }; "shortcutItemClass": { "alias": "shortcutItemClass"; "required": false; }; "shortcutIconContainerClass": { "alias": "shortcutIconContainerClass"; "required": false; }; "shortcutIconClass": { "alias": "shortcutIconClass"; "required": false; }; "shortcutTextClass": { "alias": "shortcutTextClass"; "required": false; }; "detailsRowClass": { "alias": "detailsRowClass"; "required": false; }; "reportingBlockClass": { "alias": "reportingBlockClass"; "required": false; }; "captionLabelClasses": { "alias": "captionLabelClasses"; "required": false; }; "captionLabelValueClass": { "alias": "captionLabelValueClass"; "required": false; }; "vacationBalancesContainerClass": { "alias": "vacationBalancesContainerClass"; "required": false; }; "vacationBalanceItemClass": { "alias": "vacationBalanceItemClass"; "required": false; }; "vacationBalanceHeaderClass": { "alias": "vacationBalanceHeaderClass"; "required": false; }; "vacationColorDotClass": { "alias": "vacationColorDotClass"; "required": false; }; "vacationTypeNameClass": { "alias": "vacationTypeNameClass"; "required": false; }; "vacationBalanceValueRowClass": { "alias": "vacationBalanceValueRowClass"; "required": false; }; "vacationBalanceValueClass": { "alias": "vacationBalanceValueClass"; "required": false; }; "tooltipTriggerLinkClass": { "alias": "tooltipTriggerLinkClass"; "required": false; }; "tooltipTriggerTextClass": { "alias": "tooltipTriggerTextClass"; "required": false; }; "tooltipVacationRowClass": { "alias": "tooltipVacationRowClass"; "required": false; }; "tooltipVacationNameContainerClass": { "alias": "tooltipVacationNameContainerClass"; "required": false; }; "tooltipVacationNameClass": { "alias": "tooltipVacationNameClass"; "required": false; }; "defaultVacationBalanceColor": { "alias": "defaultVacationBalanceColor"; "required": false; }; "defaultVacationColor": { "alias": "defaultVacationColor"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "shortcuts": { "alias": "shortcuts"; "required": false; }; }, { "onShortcutClicked": "onShortcutClicked"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
66
66
|
}
|
package/lib/my-upcoming-events-widget/{event-item → components/event-item}/event-item.component.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventTypeEnum, FilteredUpcomingEvent } from '
|
|
1
|
+
import { EventTypeEnum, FilteredUpcomingEvent } from '../../../shared/types/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class HREventItemComponent {
|
|
4
4
|
events: FilteredUpcomingEvent[];
|
|
@@ -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/
|
|
19
|
-
treePalm: import("@fortawesome/
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { EventTypeEnum } from '
|
|
3
|
-
import { HRTranslatePipe } from '
|
|
2
|
+
import { EventTypeEnum } from '../../../shared/types/common';
|
|
3
|
+
import { HRTranslatePipe } from '../../../shared/pipes/translate.pipe';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class HREventTabBarComponent {
|
|
6
6
|
private translatePipe;
|
|
@@ -21,7 +21,7 @@ export declare class HREventTabBarComponent {
|
|
|
21
21
|
icon: null;
|
|
22
22
|
} | {
|
|
23
23
|
id: EventTypeEnum;
|
|
24
|
-
icon: import("@fortawesome/
|
|
24
|
+
icon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
25
25
|
})[];
|
|
26
26
|
getTabText(tab: {
|
|
27
27
|
id: EventTypeEnum | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { EventTypeEnum, FilteredUpcomingEvent } from '
|
|
2
|
+
import { EventTypeEnum, FilteredUpcomingEvent } from '../../../shared/types/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class HREventsPopupComponent {
|
|
5
5
|
visible: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
3
|
import { Birthday, PublicHoliday, EventTypeEnum, FilteredUpcomingEvent } from '../shared/types/common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MyUpcomingEventsWidgetComponent implements OnInit {
|
|
6
|
-
private
|
|
6
|
+
private selfWidgetsService;
|
|
7
7
|
baseUrl: string;
|
|
8
8
|
weekendWarningDescription: string;
|
|
9
9
|
selectedLanguage: string;
|
|
@@ -31,14 +31,14 @@ export declare class MyUpcomingEventsWidgetComponent implements OnInit {
|
|
|
31
31
|
externalViewAll: boolean;
|
|
32
32
|
selectedEventType: EventTypeEnum | null;
|
|
33
33
|
selectedPopupEventType: EventTypeEnum | null;
|
|
34
|
-
calendarStar: import("@fortawesome/
|
|
34
|
+
calendarStar: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
35
35
|
filteredEvents: FilteredUpcomingEvent[];
|
|
36
36
|
birthdays: Birthday[];
|
|
37
37
|
holidays: PublicHoliday[];
|
|
38
38
|
popupEvents: FilteredUpcomingEvent[];
|
|
39
39
|
popupVisible: boolean;
|
|
40
40
|
weekendWarning: string | null;
|
|
41
|
-
constructor(
|
|
41
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
42
42
|
ngOnInit(): void;
|
|
43
43
|
onTabClick(eventType: EventTypeEnum | null): void;
|
|
44
44
|
onPopupTabClick(eventType: EventTypeEnum | null): void;
|
|
@@ -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": 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; }; "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": 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; }; "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": false; }; "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": false; }; "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 { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
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';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class HRSelfWidgetsService {
|
|
8
|
+
private http;
|
|
9
|
+
private readonly bankInformationCacheService;
|
|
10
|
+
private readonly personalInformationCacheService;
|
|
11
|
+
private readonly headers;
|
|
12
|
+
constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, personalInformationCacheService: PersonalInformationCacheService);
|
|
13
|
+
getMainDetails(baseUrl: string): Observable<any>;
|
|
14
|
+
getUpcomingEvents(baseUrl: string, eventOption: EventOption): Observable<any>;
|
|
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;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
|
|
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
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/my-bank-information-widget/my-bank-information-widget.component';
|
|
11
|
+
export * from './lib/personal-info-main-widget/personal-info-main-widget.component';
|
|
12
|
+
export * from './lib/personal-info-contact-widget/personal-info-contact-widget.component';
|
|
13
|
+
export * from './lib/personal-info-address-widget/personal-info-address-widget.component';
|
|
14
|
+
export * from './lib/personal-info-languages-widget/personal-info-languages-widget.component';
|
|
15
|
+
export * from './lib/personal-info-other-nationalities-widget/personal-info-other-nationalities-widget.component';
|