@skysoftware-co/bayan-hr-widgets-ui 1.0.11 → 1.0.14
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 +35 -0
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +1066 -103
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-vacation-team-widget/components/vacation-subordinates-popup/vacation-subordinates-popup.component.d.ts +38 -0
- package/lib/my-vacation-team-widget/my-vacation-team-widget.component.d.ts +31 -0
- package/lib/profile-bank-information-widget/profile-bank-information-widget.component.d.ts +5 -3
- package/lib/profile-job-information-contract-widget/profile-job-information-contract-widget.component.d.ts +30 -0
- package/lib/profile-job-information-main-widget/profile-job-information-main-widget.component.d.ts +30 -0
- package/lib/profile-job-information-salary-widget/profile-job-information-salary-widget.component.d.ts +36 -0
- package/lib/profile-job-information-service-charge-widget/profile-job-information-service-charge-widget.component.d.ts +32 -0
- package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts +2 -1
- package/lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component.d.ts +2 -1
- package/lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component.d.ts +2 -1
- package/lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component.d.ts +2 -1
- package/lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component.d.ts +2 -1
- package/lib/services/hr-self-widgets.service.d.ts +10 -2
- package/lib/shared/services/job-information-cache.service.d.ts +22 -0
- package/lib/shared/types/common.d.ts +65 -27
- package/package.json +1 -1
- package/public-api.d.ts +6 -1
- package/lib/my-bank-information-widget/my-bank-information-widget.component.d.ts +0 -41
- package/lib/personal-info-address-widget/personal-info-address-widget.component.d.ts +0 -25
- package/lib/personal-info-contact-widget/personal-info-contact-widget.component.d.ts +0 -28
- package/lib/personal-info-languages-widget/personal-info-languages-widget.component.d.ts +0 -22
- package/lib/personal-info-main-widget/personal-info-main-widget.component.d.ts +0 -28
- package/lib/personal-info-other-nationalities-widget/personal-info-other-nationalities-widget.component.d.ts +0 -22
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
|
|
4
|
+
import { HttpClient } from '@angular/common/http';
|
|
5
|
+
import CustomStore from 'devextreme/data/custom_store';
|
|
6
|
+
import { VacationPopupType } from '../../../shared/types/common';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class HRVacationSubordinatesPopupComponent {
|
|
9
|
+
private http;
|
|
10
|
+
dataGrid: DxDataGridComponent;
|
|
11
|
+
popupVisible: boolean;
|
|
12
|
+
popupType: VacationPopupType;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
gridHeight: string;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
showProperty: boolean;
|
|
19
|
+
closePopupClickHandler: EventEmitter<any>;
|
|
20
|
+
popupTitle: string;
|
|
21
|
+
popupSubTitle: string;
|
|
22
|
+
keyExpr: string;
|
|
23
|
+
VacationPopupType: typeof VacationPopupType;
|
|
24
|
+
dataSource: CustomStore | null;
|
|
25
|
+
xMarkIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
26
|
+
searchValue: string;
|
|
27
|
+
constructor(http: HttpClient);
|
|
28
|
+
onShown(): void;
|
|
29
|
+
private initDataSource;
|
|
30
|
+
onSearchValueChanged(e: any): void;
|
|
31
|
+
getPopupTitle(): string;
|
|
32
|
+
onPopupClose(): void;
|
|
33
|
+
onHidden(): void;
|
|
34
|
+
getEmployeeBadge(item: any): BayanEmployeeBadgeDTO;
|
|
35
|
+
handleEmployeePhotoError(employee: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRVacationSubordinatesPopupComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HRVacationSubordinatesPopupComponent, "hr-vacation-subordinates-popup", never, { "popupVisible": { "alias": "popupVisible"; "required": false; }; "popupType": { "alias": "popupType"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "gridHeight": { "alias": "gridHeight"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showProperty": { "alias": "showProperty"; "required": false; }; }, { "closePopupClickHandler": "closePopupClickHandler"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { SkyWidgetSectionItem } from '@skysoftware-co/sky-components-ui';
|
|
3
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
4
|
+
import { VacationPopupType } from '../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MyVacationTeamWidgetComponent implements OnInit {
|
|
7
|
+
private selfWidgetsService;
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
showProperty: boolean;
|
|
10
|
+
cardClass: string;
|
|
11
|
+
titleClass: string;
|
|
12
|
+
valueClass: string;
|
|
13
|
+
disabledValueClass: string;
|
|
14
|
+
upcomingContainerClass: string;
|
|
15
|
+
expectedContainerClass: string;
|
|
16
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
17
|
+
popupVisible: boolean;
|
|
18
|
+
popupType: VacationPopupType;
|
|
19
|
+
popupBaseUrl: string;
|
|
20
|
+
VacationPopupType: typeof VacationPopupType;
|
|
21
|
+
upcomingVacationsBadge: SkyWidgetSectionItem;
|
|
22
|
+
expectedToReturnBadge: SkyWidgetSectionItem;
|
|
23
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
private loadVacationSummary;
|
|
26
|
+
openPopup(type: VacationPopupType): void;
|
|
27
|
+
closePopup(): void;
|
|
28
|
+
private initBadges;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyVacationTeamWidgetComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyVacationTeamWidgetComponent, "hr-my-vacation-team-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "showProperty": { "alias": "showProperty"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "titleClass": { "alias": "titleClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "disabledValueClass": { "alias": "disabledValueClass"; "required": false; }; "upcomingContainerClass": { "alias": "upcomingContainerClass"; "required": false; }; "expectedContainerClass": { "alias": "expectedContainerClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { MyBankInfo } from '../shared/types/common';
|
|
3
3
|
import { HRCommonMethodsService } from '../shared/services/common-methods.service';
|
|
4
4
|
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ProfileBankInformationWidgetComponent implements OnInit {
|
|
6
|
+
export declare class ProfileBankInformationWidgetComponent implements OnInit, OnChanges {
|
|
7
7
|
private readonly commonMethodsService;
|
|
8
8
|
private readonly hrSelfWidgetsService;
|
|
9
9
|
isLoading: boolean;
|
|
@@ -34,9 +34,11 @@ export declare class ProfileBankInformationWidgetComponent implements OnInit {
|
|
|
34
34
|
sectionTitle: string;
|
|
35
35
|
language: string;
|
|
36
36
|
baseUrl: string;
|
|
37
|
+
errorOccurred: EventEmitter<string>;
|
|
37
38
|
isRTL: boolean;
|
|
38
39
|
isLoadingChanged: EventEmitter<boolean>;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
41
|
formatAmount(value: number | null | undefined): string;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileBankInformationWidgetComponent, never>;
|
|
41
|
-
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>;
|
|
43
|
+
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; }; }, { "errorOccurred": "errorOccurred"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
42
44
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { JobInformationContract } from '../shared/types/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProfileJobInformationContractWidgetComponent implements OnInit {
|
|
6
|
+
private readonly hrSelfWidgetsService;
|
|
7
|
+
jobInformationContract: JobInformationContract | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
headerIconClass: string;
|
|
11
|
+
headerTextClass: string;
|
|
12
|
+
headerDividerClass: string;
|
|
13
|
+
rowClass: string;
|
|
14
|
+
columnClass: string;
|
|
15
|
+
responsiveTopSpacingColumnClass: string;
|
|
16
|
+
topSpacingBottomMdSpacingColumnClass: string;
|
|
17
|
+
topSpacingBottomSpacingColumnClass: string;
|
|
18
|
+
labelClass: string;
|
|
19
|
+
valueClass: string;
|
|
20
|
+
emptyStateContainerClass: string;
|
|
21
|
+
emptyStateTextClass: string;
|
|
22
|
+
contractIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
23
|
+
sectionTitle: string;
|
|
24
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
25
|
+
errorOccurred: EventEmitter<string>;
|
|
26
|
+
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileJobInformationContractWidgetComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInformationContractWidgetComponent, "hr-profile-job-information-contract-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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "contractIcon": { "alias": "contractIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
30
|
+
}
|
package/lib/profile-job-information-main-widget/profile-job-information-main-widget.component.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { JobInformationMain } from '../shared/types/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProfileJobInformationMainWidgetComponent implements OnInit {
|
|
6
|
+
private readonly hrSelfWidgetsService;
|
|
7
|
+
jobInformationMain: JobInformationMain | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
headerIconClass: string;
|
|
11
|
+
headerTextClass: string;
|
|
12
|
+
headerDividerClass: string;
|
|
13
|
+
rowClass: string;
|
|
14
|
+
columnClass: string;
|
|
15
|
+
responsiveTopSpacingColumnClass: string;
|
|
16
|
+
topSpacingBottomMdSpacingColumnClass: string;
|
|
17
|
+
topSpacingBottomSpacingColumnClass: string;
|
|
18
|
+
labelClass: string;
|
|
19
|
+
valueClass: string;
|
|
20
|
+
emptyStateContainerClass: string;
|
|
21
|
+
emptyStateTextClass: string;
|
|
22
|
+
mainIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
23
|
+
sectionTitle: string;
|
|
24
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
25
|
+
errorOccurred: EventEmitter<string>;
|
|
26
|
+
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileJobInformationMainWidgetComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInformationMainWidgetComponent, "hr-profile-job-information-main-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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "mainIcon": { "alias": "mainIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { HRCommonMethodsService } from '../shared/services/common-methods.service';
|
|
4
|
+
import { Allowances, JobInformationSalary } from '../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileJobInformationSalaryWidgetComponent implements OnInit {
|
|
7
|
+
private readonly hrSelfWidgetsService;
|
|
8
|
+
private readonly commonMethodsService;
|
|
9
|
+
jobInformationSalary: JobInformationSalary | null;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
baseUrl: string;
|
|
12
|
+
currencyCode: string;
|
|
13
|
+
currencyDecimals: number;
|
|
14
|
+
headerIconClass: string;
|
|
15
|
+
headerTextClass: string;
|
|
16
|
+
headerDividerClass: string;
|
|
17
|
+
rowClass: string;
|
|
18
|
+
columnClass: string;
|
|
19
|
+
grossSalaryColumnClass: string;
|
|
20
|
+
labelClass: string;
|
|
21
|
+
valueClass: string;
|
|
22
|
+
currencyClass: string;
|
|
23
|
+
emptyStateContainerClass: string;
|
|
24
|
+
emptyStateTextClass: string;
|
|
25
|
+
salaryIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
26
|
+
sectionTitle: string;
|
|
27
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
28
|
+
errorOccurred: EventEmitter<string>;
|
|
29
|
+
constructor(hrSelfWidgetsService: HRSelfWidgetsService, commonMethodsService: HRCommonMethodsService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
get basicSalary(): number | null;
|
|
32
|
+
get allowances(): Allowances[];
|
|
33
|
+
formatAmount(value: number | null | undefined): string;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileJobInformationSalaryWidgetComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInformationSalaryWidgetComponent, "hr-profile-job-information-salary-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "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; }; "rowClass": { "alias": "rowClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "grossSalaryColumnClass": { "alias": "grossSalaryColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "currencyClass": { "alias": "currencyClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "salaryIcon": { "alias": "salaryIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { HRCommonMethodsService } from '../shared/services/common-methods.service';
|
|
4
|
+
import { JobInformationServiceCharge } from '../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileJobInformationServiceChargeWidgetComponent implements OnInit {
|
|
7
|
+
private readonly hrSelfWidgetsService;
|
|
8
|
+
private readonly commonMethodsService;
|
|
9
|
+
jobInformationServiceCharge: JobInformationServiceCharge | null;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
baseUrl: string;
|
|
12
|
+
currencyCode: string;
|
|
13
|
+
headerIconClass: string;
|
|
14
|
+
headerTextClass: string;
|
|
15
|
+
headerDividerClass: string;
|
|
16
|
+
rowClass: string;
|
|
17
|
+
columnClass: string;
|
|
18
|
+
labelClass: string;
|
|
19
|
+
valueClass: string;
|
|
20
|
+
emptyStateContainerClass: string;
|
|
21
|
+
emptyStateTextClass: string;
|
|
22
|
+
serviceChargeIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
23
|
+
sectionTitle: string;
|
|
24
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
25
|
+
errorOccurred: EventEmitter<string>;
|
|
26
|
+
constructor(hrSelfWidgetsService: HRSelfWidgetsService, commonMethodsService: HRCommonMethodsService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
get modeLabelKey(): string;
|
|
29
|
+
get value(): string;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileJobInformationServiceChargeWidgetComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInformationServiceChargeWidgetComponent, "hr-profile-job-information-service-charge-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "currencyCode": { "alias": "currencyCode"; "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; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "serviceChargeIcon": { "alias": "serviceChargeIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
32
|
+
}
|
package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts
CHANGED
|
@@ -26,8 +26,9 @@ export declare class ProfilePersonalInfoContactWidgetComponent implements OnInit
|
|
|
26
26
|
showEmergencyContact: boolean;
|
|
27
27
|
emergencyContactRowClass: string;
|
|
28
28
|
isLoadingChanged: EventEmitter<boolean>;
|
|
29
|
+
errorOccurred: EventEmitter<string>;
|
|
29
30
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoContactWidgetComponent, never>;
|
|
32
|
-
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "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>;
|
|
33
|
+
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "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"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
33
34
|
}
|
|
@@ -16,10 +16,11 @@ export declare class ProfilePersonalInfoLanguagesWidgetComponent implements OnIn
|
|
|
16
16
|
languagesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
17
17
|
sectionTitle: string;
|
|
18
18
|
isLoadingChanged: EventEmitter<boolean>;
|
|
19
|
+
errorOccurred: EventEmitter<string>;
|
|
19
20
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
private emitHasData;
|
|
22
23
|
getLanguages(): string;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoLanguagesWidgetComponent, never>;
|
|
24
|
-
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "languagesIcon": { "alias": "languagesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
25
|
+
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "languagesIcon": { "alias": "languagesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
25
26
|
}
|
package/lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component.d.ts
CHANGED
|
@@ -24,8 +24,9 @@ export declare class ProfilePersonalInfoMainWidgetComponent implements OnInit {
|
|
|
24
24
|
mainIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
25
25
|
sectionTitle: string;
|
|
26
26
|
isLoadingChanged: EventEmitter<boolean>;
|
|
27
|
+
errorOccurred: EventEmitter<string>;
|
|
27
28
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoMainWidgetComponent, never>;
|
|
30
|
-
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "mainIcon": { "alias": "mainIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
31
|
+
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "mainIcon": { "alias": "mainIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
31
32
|
}
|
|
@@ -15,6 +15,7 @@ export declare class ProfilePersonalInfoOtherNationalitiesWidgetComponent implem
|
|
|
15
15
|
emptyStateTextKey: string;
|
|
16
16
|
hasDataChange: EventEmitter<boolean>;
|
|
17
17
|
isLoadingChanged: EventEmitter<boolean>;
|
|
18
|
+
errorOccurred: EventEmitter<string>;
|
|
18
19
|
otherNationalitiesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
19
20
|
sectionTitle: string;
|
|
20
21
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
@@ -22,5 +23,5 @@ export declare class ProfilePersonalInfoOtherNationalitiesWidgetComponent implem
|
|
|
22
23
|
private emitHasData;
|
|
23
24
|
getOtherNationalities(): string;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoOtherNationalitiesWidgetComponent, never>;
|
|
25
|
-
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "emptyStateTextKey": { "alias": "emptyStateTextKey"; "required": false; }; "otherNationalitiesIcon": { "alias": "otherNationalitiesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
26
|
+
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "emptyStateTextKey": { "alias": "emptyStateTextKey"; "required": false; }; "otherNationalitiesIcon": { "alias": "otherNationalitiesIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "hasDataChange": "hasDataChange"; "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
26
27
|
}
|
|
@@ -21,8 +21,9 @@ export declare class ProfilePersonalInfoAddressWidgetComponent implements OnInit
|
|
|
21
21
|
addressIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
22
22
|
sectionTitle: string;
|
|
23
23
|
isLoadingChanged: EventEmitter<boolean>;
|
|
24
|
+
errorOccurred: EventEmitter<string>;
|
|
24
25
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoAddressWidgetComponent, never>;
|
|
27
|
-
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "addressIcon": { "alias": "addressIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
28
|
+
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; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "addressIcon": { "alias": "addressIcon"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
28
29
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { EventOption, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
|
|
3
|
+
import { EventOption, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
|
|
4
4
|
import { BankInformationCacheService } from '../shared/services/bank-information-cache.service';
|
|
5
|
+
import { JobInformationCacheService } from '../shared/services/job-information-cache.service';
|
|
5
6
|
import { PersonalInformationCacheService } from '../shared/services/personal-information-cache.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class HRSelfWidgetsService {
|
|
8
9
|
private http;
|
|
9
10
|
private readonly bankInformationCacheService;
|
|
11
|
+
private readonly jobInformationCacheService;
|
|
10
12
|
private readonly personalInformationCacheService;
|
|
11
13
|
private readonly headers;
|
|
12
|
-
constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, personalInformationCacheService: PersonalInformationCacheService);
|
|
14
|
+
constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, jobInformationCacheService: JobInformationCacheService, personalInformationCacheService: PersonalInformationCacheService);
|
|
13
15
|
getMainDetails(baseUrl: string): Observable<any>;
|
|
14
16
|
getUpcomingEvents(baseUrl: string, eventOption: EventOption): Observable<any>;
|
|
15
17
|
getCalendar(baseUrl: string, month: number, year: number, monthsCount: number): Observable<any>;
|
|
@@ -19,7 +21,13 @@ export declare class HRSelfWidgetsService {
|
|
|
19
21
|
getPersonalInfoAddressDetails(baseUrl: string, forceRefresh?: boolean): Observable<PersonalInfoAddressDetails>;
|
|
20
22
|
getPersonalInfoLanguages(baseUrl: string, forceRefresh?: boolean): Observable<string[]>;
|
|
21
23
|
getPersonalInfoOtherNationalities(baseUrl: string, forceRefresh?: boolean): Observable<string[]>;
|
|
24
|
+
getJobInformationMain(baseUrl: string, forceRefresh?: boolean): Observable<JobInformationMain | null>;
|
|
25
|
+
getJobInformationContract(baseUrl: string, forceRefresh?: boolean): Observable<JobInformationContract | null>;
|
|
26
|
+
getJobInformationSalary(baseUrl: string, forceRefresh?: boolean): Observable<JobInformationSalary | null>;
|
|
27
|
+
getJobInformationServiceCharge(baseUrl: string, forceRefresh?: boolean): Observable<JobInformationServiceCharge | null>;
|
|
22
28
|
clearPersonalInformationCache(): void;
|
|
29
|
+
clearJobInformationCache(): void;
|
|
30
|
+
getVacationSummary(baseUrl: string): Observable<any>;
|
|
23
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
|
|
24
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
|
|
25
33
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge } from '../types/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class JobInformationCacheService {
|
|
5
|
+
private baseUrl;
|
|
6
|
+
private mainDetails$;
|
|
7
|
+
private contractDetails$;
|
|
8
|
+
private salaryDetails$;
|
|
9
|
+
private serviceChargeDetails$;
|
|
10
|
+
getMainDetails(baseUrl: string): Observable<JobInformationMain | null> | null;
|
|
11
|
+
setMainDetails(baseUrl: string, value: Observable<JobInformationMain | null>): void;
|
|
12
|
+
getContractDetails(baseUrl: string): Observable<JobInformationContract | null> | null;
|
|
13
|
+
setContractDetails(baseUrl: string, value: Observable<JobInformationContract | null>): void;
|
|
14
|
+
getSalaryDetails(baseUrl: string): Observable<JobInformationSalary | null> | null;
|
|
15
|
+
setSalaryDetails(baseUrl: string, value: Observable<JobInformationSalary | null>): void;
|
|
16
|
+
getServiceChargeDetails(baseUrl: string): Observable<JobInformationServiceCharge | null> | null;
|
|
17
|
+
setServiceChargeDetails(baseUrl: string, value: Observable<JobInformationServiceCharge | null>): void;
|
|
18
|
+
clear(): void;
|
|
19
|
+
private ensureBaseUrl;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobInformationCacheService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JobInformationCacheService>;
|
|
22
|
+
}
|
|
@@ -99,36 +99,38 @@ export type ScheduleCalenderVacation = {
|
|
|
99
99
|
Description: string;
|
|
100
100
|
VacationDays: DatePeriod;
|
|
101
101
|
};
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
IsMainBank: boolean;
|
|
110
|
-
};
|
|
102
|
+
export declare enum ScheduleVacationTypes {
|
|
103
|
+
DaysOff = 1,
|
|
104
|
+
PublicHoliday = 2,
|
|
105
|
+
Vacations = 3,
|
|
106
|
+
AddedVacations = 4,
|
|
107
|
+
Events = 5
|
|
108
|
+
}
|
|
111
109
|
export type PersonalInfoMainDetails = {
|
|
112
|
-
EmployeeName: string;
|
|
113
|
-
|
|
114
|
-
NationalityName: string;
|
|
110
|
+
EmployeeName: string | null;
|
|
111
|
+
EmployeeNameAlternate: string | null;
|
|
112
|
+
NationalityName: string | null;
|
|
115
113
|
NationalNumber: string | null;
|
|
116
114
|
SocialSecurityNumber: string | null;
|
|
117
|
-
MaritalStateName: string;
|
|
118
|
-
BirthDate:
|
|
115
|
+
MaritalStateName: string | null;
|
|
116
|
+
BirthDate: string | Date | null;
|
|
119
117
|
BirthPlace: string | null;
|
|
120
118
|
BloodTypeCode: string | null;
|
|
121
|
-
HealthStateName: string | null;
|
|
122
119
|
ReligionName: string | null;
|
|
123
120
|
MinistryOfLaborNumber: string | null;
|
|
124
121
|
};
|
|
122
|
+
export type PersonalInfoContactEmergencyContact = {
|
|
123
|
+
Name: string | null;
|
|
124
|
+
Relation: string | null;
|
|
125
|
+
PhoneNumber: string | null;
|
|
126
|
+
};
|
|
125
127
|
export type PersonalInfoContactDetails = {
|
|
126
128
|
MobileNumber: string | null;
|
|
127
129
|
HomePhone: string | null;
|
|
128
|
-
EmergencyContactLegacy: string | null;
|
|
129
130
|
BusinessEmail: string | null;
|
|
130
131
|
Email: string | null;
|
|
131
|
-
|
|
132
|
+
EmergencyContactLegacy: string | null;
|
|
133
|
+
EmergencyContact: PersonalInfoContactEmergencyContact | null;
|
|
132
134
|
};
|
|
133
135
|
export type PersonalInfoAddressDetails = {
|
|
134
136
|
Address: string | null;
|
|
@@ -136,15 +138,51 @@ export type PersonalInfoAddressDetails = {
|
|
|
136
138
|
POBox: string | null;
|
|
137
139
|
PostalCode: string | null;
|
|
138
140
|
};
|
|
139
|
-
export type
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
export type MyBankInfo = {
|
|
142
|
+
IsMainBank: boolean;
|
|
143
|
+
BankName: string | null;
|
|
144
|
+
BranchName: string | null;
|
|
145
|
+
IBAN: string | null;
|
|
146
|
+
AccountNumber: string | null;
|
|
147
|
+
Beneficiary: string | null;
|
|
148
|
+
TransferAmount: number | null;
|
|
143
149
|
};
|
|
144
|
-
export
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
+
export type JobInformationMain = {
|
|
151
|
+
AdminUnitName: string | null;
|
|
152
|
+
PositionName: string | null;
|
|
153
|
+
GradeName: string | null;
|
|
154
|
+
JoiningDate: Date | null;
|
|
155
|
+
CorporateJoiningDate: Date | null;
|
|
156
|
+
SponsorName: string | null;
|
|
157
|
+
};
|
|
158
|
+
export type JobInformationContract = {
|
|
159
|
+
ContractTypeName: string | null;
|
|
160
|
+
ContractStartDate: Date | null;
|
|
161
|
+
ContractEndDate: Date | null;
|
|
162
|
+
ContractMaritalStateName: string | null;
|
|
163
|
+
ContractDependentsCount: number | null;
|
|
164
|
+
};
|
|
165
|
+
export type JobInformationSalary = {
|
|
166
|
+
GrossSalary: number | null;
|
|
167
|
+
BasicSalary: number | null;
|
|
168
|
+
CurrentBasicSalary?: number | null;
|
|
169
|
+
Allowances: Allowances[] | null;
|
|
170
|
+
};
|
|
171
|
+
export type Allowances = {
|
|
172
|
+
AllowanceName: string | null;
|
|
173
|
+
AllowanceAmount: number | null;
|
|
174
|
+
};
|
|
175
|
+
export declare enum ServiceChargeEntitlementMode {
|
|
176
|
+
Points = 1,
|
|
177
|
+
SalaryRatio = 2,
|
|
178
|
+
FixedAmount = 3,
|
|
179
|
+
FixedRate = 4
|
|
180
|
+
}
|
|
181
|
+
export type JobInformationServiceCharge = {
|
|
182
|
+
ServiceChargeEntitlementMode: ServiceChargeEntitlementMode;
|
|
183
|
+
ServiceChargeValue: number | null;
|
|
184
|
+
};
|
|
185
|
+
export declare enum VacationPopupType {
|
|
186
|
+
Upcoming = 1,
|
|
187
|
+
ExpectedToReturn = 2
|
|
150
188
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export * from './lib/shared/components/hr-employee-calendar/hr-employee-calendar
|
|
|
10
10
|
export * from './lib/profile-bank-information-widget/profile-bank-information-widget.component';
|
|
11
11
|
export * from './lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component';
|
|
12
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
13
|
export * from './lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component';
|
|
15
14
|
export * from './lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component';
|
|
15
|
+
export * from './lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component';
|
|
16
|
+
export * from './lib/profile-job-information-main-widget/profile-job-information-main-widget.component';
|
|
17
|
+
export * from './lib/profile-job-information-contract-widget/profile-job-information-contract-widget.component';
|
|
18
|
+
export * from './lib/profile-job-information-salary-widget/profile-job-information-salary-widget.component';
|
|
19
|
+
export * from './lib/profile-job-information-service-charge-widget/profile-job-information-service-charge-widget.component';
|
|
20
|
+
export * from './lib/my-vacation-team-widget/my-vacation-team-widget.component';
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
}
|