@skysoftware-co/bayan-hr-widgets-ui 1.0.35 → 1.0.37
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 +238 -14
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +786 -17
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/entitlements/profile-entitlements-indemnity-widget/profile-entitlements-indemnity-widget.component.d.ts +32 -0
- package/lib/entitlements/profile-entitlements-medical-insurance-widget/components/medical-insurance-card/medical-insurance-card.component.d.ts +19 -0
- package/lib/entitlements/profile-entitlements-medical-insurance-widget/profile-entitlements-medical-insurance-widget.component.d.ts +36 -0
- package/lib/entitlements/profile-entitlements-others-widget/profile-entitlements-others-widget.component.d.ts +26 -0
- package/lib/entitlements/profile-entitlements-ticket-widget/components/ticket-card/ticket-card.component.d.ts +17 -0
- package/lib/entitlements/profile-entitlements-ticket-widget/profile-entitlements-ticket-widget.component.d.ts +34 -0
- package/lib/entitlements/profile-entitlements-vacations-widget/profile-entitlements-vacations-widget.component.d.ts +29 -0
- package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts +3 -1
- package/lib/services/hr-self-widgets.service.d.ts +2 -0
- package/lib/shared/services/entitlements-cache.service.d.ts +6 -0
- package/lib/shared/types/common.d.ts +12 -12
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
- package/lib/my-vacation-team-widget/components/vacation-subordinates-popup/vacation-subordinates-popup.component.d.ts +0 -38
- package/lib/my-vacation-team-widget/my-vacation-team-widget.component.d.ts +0 -33
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../../services/hr-self-widgets.service';
|
|
3
|
+
import { EntitlementsIndemnity } from '../../shared/types/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProfileEntitlementsIndemnityWidgetComponent implements OnInit {
|
|
6
|
+
private selfWidgetsService;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
currencyCode: string;
|
|
9
|
+
currencyDecimals: number;
|
|
10
|
+
sectionTitle: string;
|
|
11
|
+
indemnityIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
12
|
+
headerIconClass: string;
|
|
13
|
+
headerTextClass: string;
|
|
14
|
+
headerDividerClass: string;
|
|
15
|
+
rowClass: string;
|
|
16
|
+
columnClass: string;
|
|
17
|
+
topSpacingColumnClass: string;
|
|
18
|
+
labelClass: string;
|
|
19
|
+
valueClass: string;
|
|
20
|
+
dateFormat: string;
|
|
21
|
+
emptyStateContainerClass: string;
|
|
22
|
+
emptyStateTextClass: string;
|
|
23
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
24
|
+
errorOccurred: EventEmitter<string>;
|
|
25
|
+
indemnityDetails: EntitlementsIndemnity | null;
|
|
26
|
+
isLoading: boolean;
|
|
27
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
private loadData;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEntitlementsIndemnityWidgetComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEntitlementsIndemnityWidgetComponent, "hr-profile-entitlements-indemnity-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "currencyCode": { "alias": "currencyCode"; "required": false; }; "currencyDecimals": { "alias": "currencyDecimals"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "indemnityIcon": { "alias": "indemnityIcon"; "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; }; "topSpacingColumnClass": { "alias": "topSpacingColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface MedicalInsuranceField {
|
|
3
|
+
labelKey: string;
|
|
4
|
+
value: any;
|
|
5
|
+
fallbackValue?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class HRMedicalInsuranceCardComponent {
|
|
8
|
+
name: string | null;
|
|
9
|
+
typeName: string | null;
|
|
10
|
+
isDependent: boolean;
|
|
11
|
+
fields: MedicalInsuranceField[];
|
|
12
|
+
cardClass: string;
|
|
13
|
+
cardHeight: number;
|
|
14
|
+
nameClass: string;
|
|
15
|
+
labelClass: string;
|
|
16
|
+
valueClass: string;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRMedicalInsuranceCardComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HRMedicalInsuranceCardComponent, "hr-medical-insurance-card", never, { "name": { "alias": "name"; "required": true; }; "typeName": { "alias": "typeName"; "required": false; }; "isDependent": { "alias": "isDependent"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "nameClass": { "alias": "nameClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../../services/hr-self-widgets.service';
|
|
3
|
+
import { MedicalInsuranceField } from './components/medical-insurance-card/medical-insurance-card.component';
|
|
4
|
+
import { EntitlementsMedicalInsurance, DependentsMedicalInsurance } from '../../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileEntitlementsMedicalInsuranceWidgetComponent implements OnInit {
|
|
7
|
+
private selfWidgetsService;
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
sectionTitle: string;
|
|
10
|
+
medicalInsuranceIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
11
|
+
headerIconClass: string;
|
|
12
|
+
headerTextClass: string;
|
|
13
|
+
headerDividerClass: string;
|
|
14
|
+
labelClass: string;
|
|
15
|
+
valueClass: string;
|
|
16
|
+
columnClass: string;
|
|
17
|
+
cardHeight: number;
|
|
18
|
+
cardClass: string;
|
|
19
|
+
nameClass: string;
|
|
20
|
+
dateFormat: string;
|
|
21
|
+
emptyStateContainerClass: string;
|
|
22
|
+
emptyStateTextClass: string;
|
|
23
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
24
|
+
errorOccurred: EventEmitter<string>;
|
|
25
|
+
medicalInsuranceDetails: EntitlementsMedicalInsurance | null;
|
|
26
|
+
isLoading: boolean;
|
|
27
|
+
employeeFields: MedicalInsuranceField[];
|
|
28
|
+
private datePipe;
|
|
29
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
private loadData;
|
|
32
|
+
private buildEmployeeFields;
|
|
33
|
+
getDependentFields(dependent: DependentsMedicalInsurance): MedicalInsuranceField[];
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEntitlementsMedicalInsuranceWidgetComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEntitlementsMedicalInsuranceWidgetComponent, "hr-profile-entitlements-medical-insurance-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "medicalInsuranceIcon": { "alias": "medicalInsuranceIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "nameClass": { "alias": "nameClass"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 ProfileEntitlementsOthersWidgetComponent implements OnInit {
|
|
5
|
+
private selfWidgetsService;
|
|
6
|
+
baseUrl: string;
|
|
7
|
+
sectionTitle: string;
|
|
8
|
+
othersIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
9
|
+
headerIconClass: string;
|
|
10
|
+
headerTextClass: string;
|
|
11
|
+
headerDividerClass: string;
|
|
12
|
+
rowClass: string;
|
|
13
|
+
columnClass: string;
|
|
14
|
+
labelClass: string;
|
|
15
|
+
valueClass: string;
|
|
16
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
17
|
+
errorOccurred: EventEmitter<string>;
|
|
18
|
+
isEligibleForOvertime: boolean;
|
|
19
|
+
isSocialSecurityMember: boolean;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
private loadData;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEntitlementsOthersWidgetComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEntitlementsOthersWidgetComponent, "hr-profile-entitlements-others-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "othersIcon": { "alias": "othersIcon"; "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; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HRTicketCardComponent {
|
|
3
|
+
name: string | null;
|
|
4
|
+
typeName: string | null;
|
|
5
|
+
entitlementText: string;
|
|
6
|
+
ticketClassName: string | null;
|
|
7
|
+
ticketSectorName: string | null;
|
|
8
|
+
isDependent: boolean;
|
|
9
|
+
cardClass: string;
|
|
10
|
+
cardHeight: number;
|
|
11
|
+
nameClass: string;
|
|
12
|
+
subtitleClass: string;
|
|
13
|
+
labelClass: string;
|
|
14
|
+
valueClass: string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRTicketCardComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HRTicketCardComponent, "hr-ticket-card", never, { "name": { "alias": "name"; "required": true; }; "typeName": { "alias": "typeName"; "required": false; }; "entitlementText": { "alias": "entitlementText"; "required": false; }; "ticketClassName": { "alias": "ticketClassName"; "required": false; }; "ticketSectorName": { "alias": "ticketSectorName"; "required": false; }; "isDependent": { "alias": "isDependent"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "nameClass": { "alias": "nameClass"; "required": false; }; "subtitleClass": { "alias": "subtitleClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRTranslatePipe } from '../../shared/pipes/translate.pipe';
|
|
3
|
+
import { HRSelfWidgetsService } from '../../services/hr-self-widgets.service';
|
|
4
|
+
import { EntitlementsTicket } from '../../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileEntitlementsTicketWidgetComponent implements OnInit {
|
|
7
|
+
private selfWidgetsService;
|
|
8
|
+
private translatePipe;
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
sectionTitle: string;
|
|
11
|
+
ticketsIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
12
|
+
headerIconClass: string;
|
|
13
|
+
headerTextClass: string;
|
|
14
|
+
headerDividerClass: string;
|
|
15
|
+
emptyStateContainerClass: string;
|
|
16
|
+
emptyStateTextClass: string;
|
|
17
|
+
columnClass: string;
|
|
18
|
+
cardHeight: number;
|
|
19
|
+
cardClass: string;
|
|
20
|
+
nameClass: string;
|
|
21
|
+
subtitleClass: string;
|
|
22
|
+
labelClass: string;
|
|
23
|
+
valueClass: string;
|
|
24
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
25
|
+
errorOccurred: EventEmitter<string>;
|
|
26
|
+
ticketDetails: EntitlementsTicket | null;
|
|
27
|
+
isLoading: boolean;
|
|
28
|
+
constructor(selfWidgetsService: HRSelfWidgetsService, translatePipe: HRTranslatePipe);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
private loadData;
|
|
31
|
+
getMonthsPerTicketEntitlement(monthsPerTicketEntitlement: number | null): string;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEntitlementsTicketWidgetComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEntitlementsTicketWidgetComponent, "hr-profile-entitlements-ticket-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "ticketsIcon": { "alias": "ticketsIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "nameClass": { "alias": "nameClass"; "required": false; }; "subtitleClass": { "alias": "subtitleClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../../services/hr-self-widgets.service';
|
|
3
|
+
import { EntitlementsVacation } from '../../shared/types/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProfileEntitlementsVacationsWidgetComponent implements OnInit {
|
|
6
|
+
private selfWidgetsService;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
sectionTitle: string;
|
|
9
|
+
vacationsIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
10
|
+
headerIconClass: string;
|
|
11
|
+
headerTextClass: string;
|
|
12
|
+
headerDividerClass: string;
|
|
13
|
+
rowClass: string;
|
|
14
|
+
labelClass: string;
|
|
15
|
+
valueClass: string;
|
|
16
|
+
labelColumnClass: string;
|
|
17
|
+
valueColumnClass: string;
|
|
18
|
+
emptyStateContainerClass: string;
|
|
19
|
+
emptyStateTextClass: string;
|
|
20
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
21
|
+
errorOccurred: EventEmitter<string>;
|
|
22
|
+
vacationEntitlements: EntitlementsVacation[];
|
|
23
|
+
isLoading: boolean;
|
|
24
|
+
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private loadData;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEntitlementsVacationsWidgetComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEntitlementsVacationsWidgetComponent, "hr-profile-entitlements-vacations-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": true; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "vacationsIcon": { "alias": "vacationsIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "labelColumnClass": { "alias": "labelColumnClass"; "required": false; }; "valueColumnClass": { "alias": "valueColumnClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
29
|
+
}
|
package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare class ProfilePersonalInfoContactWidgetComponent implements OnInit
|
|
|
18
18
|
labelClass: string;
|
|
19
19
|
valueClass: string;
|
|
20
20
|
emergencyContactLabelClass: string;
|
|
21
|
+
emergencyContactColumnClass: string;
|
|
22
|
+
emergencyContactResponsiveColumnClass: string;
|
|
21
23
|
emptyStateContainerClass: string;
|
|
22
24
|
emptyStateTextClass: string;
|
|
23
25
|
contactIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
@@ -30,5 +32,5 @@ export declare class ProfilePersonalInfoContactWidgetComponent implements OnInit
|
|
|
30
32
|
constructor(hrSelfWidgetsService: HRSelfWidgetsService);
|
|
31
33
|
ngOnInit(): void;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalInfoContactWidgetComponent, 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>;
|
|
35
|
+
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; }; "emergencyContactColumnClass": { "alias": "emergencyContactColumnClass"; "required": false; }; "emergencyContactResponsiveColumnClass": { "alias": "emergencyContactResponsiveColumnClass"; "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>;
|
|
34
36
|
}
|
|
@@ -38,6 +38,8 @@ export declare class HRSelfWidgetsService {
|
|
|
38
38
|
getEntitlementsIndemnity(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsIndemnity | null>;
|
|
39
39
|
getEntitlementsTicket(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsTicket | null>;
|
|
40
40
|
getEntitlementsMedicalInsurance(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsMedicalInsurance | null>;
|
|
41
|
+
getEntitlementsOvertime(baseUrl: string, forceRefresh?: boolean): Observable<any>;
|
|
42
|
+
getEntitlementsSocialSecurity(baseUrl: string, forceRefresh?: boolean): Observable<any>;
|
|
41
43
|
getEmployeeDegrees(baseUrl: string, forceRefresh?: boolean): Observable<Degree[]>;
|
|
42
44
|
getEmployeeDependents(baseUrl: string, forceRefresh?: boolean): Observable<Dependent[]>;
|
|
43
45
|
getEmployeeExperiences(baseUrl: string, forceRefresh?: boolean): Observable<Experience[]>;
|
|
@@ -7,6 +7,8 @@ export declare class EntitlementsCacheService {
|
|
|
7
7
|
private indemnityDetails$;
|
|
8
8
|
private ticketDetails$;
|
|
9
9
|
private medicalInsuranceDetails$;
|
|
10
|
+
private overtimeDetails$;
|
|
11
|
+
private socialSecurityDetails$;
|
|
10
12
|
getVacationDetails(baseUrl: string): Observable<EntitlementsVacation[] | null> | null;
|
|
11
13
|
setVacationDetails(baseUrl: string, value: Observable<EntitlementsVacation[] | null>): void;
|
|
12
14
|
getIndemnityDetails(baseUrl: string): Observable<EntitlementsIndemnity | null> | null;
|
|
@@ -15,6 +17,10 @@ export declare class EntitlementsCacheService {
|
|
|
15
17
|
setTicketDetails(baseUrl: string, value: Observable<EntitlementsTicket | null>): void;
|
|
16
18
|
getMedicalInsuranceDetails(baseUrl: string): Observable<EntitlementsMedicalInsurance | null> | null;
|
|
17
19
|
setMedicalInsuranceDetails(baseUrl: string, value: Observable<EntitlementsMedicalInsurance | null>): void;
|
|
20
|
+
getOvertimeDetails(baseUrl: string): Observable<any> | null;
|
|
21
|
+
setOvertimeDetails(baseUrl: string, value: Observable<any>): void;
|
|
22
|
+
getSocialSecurityDetails(baseUrl: string): Observable<any> | null;
|
|
23
|
+
setSocialSecurityDetails(baseUrl: string, value: Observable<any>): void;
|
|
18
24
|
clear(): void;
|
|
19
25
|
private ensureBaseUrl;
|
|
20
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntitlementsCacheService, never>;
|
|
@@ -215,14 +215,14 @@ export type EmployeeTicketDetails = {
|
|
|
215
215
|
TicketClassName: string | null;
|
|
216
216
|
MonthsPerTicketEntitlement: number | null;
|
|
217
217
|
};
|
|
218
|
-
export type
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
export type DependentTicketDetails = {
|
|
219
|
+
DependentName: string | null;
|
|
220
|
+
DependentTypeName: string | null;
|
|
221
221
|
MonthsPerTicketEntitlement: number | null;
|
|
222
222
|
};
|
|
223
223
|
export type EntitlementsTicket = {
|
|
224
224
|
EmployeeTicketDetails: EmployeeTicketDetails | null;
|
|
225
|
-
|
|
225
|
+
DependentTicketDetails: DependentTicketDetails[] | null;
|
|
226
226
|
};
|
|
227
227
|
export type EmployeeMedicalInsurance = {
|
|
228
228
|
EmployeeFirstName: string | null;
|
|
@@ -230,23 +230,19 @@ export type EmployeeMedicalInsurance = {
|
|
|
230
230
|
MedicalInsuranceNumber: string | null;
|
|
231
231
|
CoverageDate: Date | null;
|
|
232
232
|
};
|
|
233
|
-
export type
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
export type DependentsMedicalInsurance = {
|
|
234
|
+
DependentName: string | null;
|
|
235
|
+
DependentTypeName: string | null;
|
|
236
236
|
MedicalInsuranceClassName: string | null;
|
|
237
237
|
MedicalInsuranceNumber: string | null;
|
|
238
238
|
CoverageDate: Date | null;
|
|
239
239
|
};
|
|
240
240
|
export type EntitlementsMedicalInsurance = {
|
|
241
241
|
EmployeeMedicalInsurance: EmployeeMedicalInsurance | null;
|
|
242
|
-
|
|
242
|
+
DependentsMedicalInsurance: DependentsMedicalInsurance[] | null;
|
|
243
243
|
TotalEmployeeShare: number | null;
|
|
244
244
|
TotalEmployerShare: number | null;
|
|
245
245
|
};
|
|
246
|
-
export type DocumentModel = {
|
|
247
|
-
Key: string;
|
|
248
|
-
ContentType: string;
|
|
249
|
-
};
|
|
250
246
|
export type Degree = {
|
|
251
247
|
DegreeName: string;
|
|
252
248
|
DegreeYear: string;
|
|
@@ -263,6 +259,10 @@ export type Experience = {
|
|
|
263
259
|
TerminationReason: string;
|
|
264
260
|
Document: DocumentModel | null;
|
|
265
261
|
};
|
|
262
|
+
export type DocumentModel = {
|
|
263
|
+
Key: string;
|
|
264
|
+
ContentType: string;
|
|
265
|
+
};
|
|
266
266
|
export type Dependent = {
|
|
267
267
|
DependentName: string;
|
|
268
268
|
DependentTypeName: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -22,3 +22,9 @@ export * from './lib/my-next-week-vacation-insights-widget/my-next-week-vacation
|
|
|
22
22
|
export * from './lib/profile-experiences-widget/profile-experiences-widget-component';
|
|
23
23
|
export * from './lib/profile-degrees-widget/profile-degrees-widget-component';
|
|
24
24
|
export * from './lib/profile-employee-dependents-widget/profile-employee-dependents-component';
|
|
25
|
+
export * from './lib/entitlements/profile-entitlements-vacations-widget/profile-entitlements-vacations-widget.component';
|
|
26
|
+
export * from './lib/entitlements/profile-entitlements-indemnity-widget/profile-entitlements-indemnity-widget.component';
|
|
27
|
+
export * from './lib/entitlements/profile-entitlements-ticket-widget/profile-entitlements-ticket-widget.component';
|
|
28
|
+
export * from './lib/entitlements/profile-entitlements-medical-insurance-widget/profile-entitlements-medical-insurance-widget.component';
|
|
29
|
+
export * from './lib/entitlements/profile-entitlements-medical-insurance-widget/components/medical-insurance-card/medical-insurance-card.component';
|
|
30
|
+
export * from './lib/entitlements/profile-entitlements-others-widget/profile-entitlements-others-widget.component';
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HRTranslatePipe } from '../shared/pipes/translate.pipe';
|
|
3
|
-
import { SkyWidgetSectionItem } from '@skysoftware-co/sky-components-ui';
|
|
4
|
-
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
5
|
-
import { VacationPopupType } from '../shared/types/common';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MyVacationTeamWidgetComponent implements OnInit {
|
|
8
|
-
private selfWidgetsService;
|
|
9
|
-
private translatePipe;
|
|
10
|
-
baseUrl: string;
|
|
11
|
-
showProperty: boolean;
|
|
12
|
-
cardClass: string;
|
|
13
|
-
titleClass: string;
|
|
14
|
-
valueClass: string;
|
|
15
|
-
disabledValueClass: string;
|
|
16
|
-
upcomingContainerClass: string;
|
|
17
|
-
expectedContainerClass: string;
|
|
18
|
-
isLoadingChanged: EventEmitter<boolean>;
|
|
19
|
-
popupVisible: boolean;
|
|
20
|
-
popupType: VacationPopupType;
|
|
21
|
-
popupBaseUrl: string;
|
|
22
|
-
VacationPopupType: typeof VacationPopupType;
|
|
23
|
-
upcomingVacationsBadge: SkyWidgetSectionItem;
|
|
24
|
-
expectedToReturnBadge: SkyWidgetSectionItem;
|
|
25
|
-
constructor(selfWidgetsService: HRSelfWidgetsService, translatePipe: HRTranslatePipe);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
private loadVacationSummary;
|
|
28
|
-
openPopup(type: VacationPopupType): void;
|
|
29
|
-
closePopup(): void;
|
|
30
|
-
private initBadges;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MyVacationTeamWidgetComponent, never>;
|
|
32
|
-
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>;
|
|
33
|
-
}
|