@skysoftware-co/bayan-hr-widgets-ui 1.0.39 → 1.0.41
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 -0
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +263 -23
- 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 +2 -1
- package/lib/entitlements/profile-entitlements-ticket-widget/profile-entitlements-ticket-widget.component.d.ts +1 -0
- package/lib/profile-documents-widgets/profile-official-documents-widget/profile-official-documents-widget.d.ts +41 -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 -1
- package/lib/shared/services/profile-documents-cache-service.d.ts +4 -1
- package/lib/shared/types/common.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -22,11 +22,12 @@ export declare class ProfileEntitlementsIndemnityWidgetComponent implements OnIn
|
|
|
22
22
|
emptyStateTextClass: string;
|
|
23
23
|
isLoadingChanged: EventEmitter<boolean>;
|
|
24
24
|
errorOccurred: EventEmitter<string>;
|
|
25
|
+
hasDataChanged: EventEmitter<boolean>;
|
|
25
26
|
indemnityDetails: EntitlementsIndemnity | null;
|
|
26
27
|
isLoading: boolean;
|
|
27
28
|
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
private loadData;
|
|
30
31
|
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
|
+
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"; "hasDataChanged": "hasDataChanged"; }, never, never, true, never>;
|
|
32
33
|
}
|
|
@@ -25,6 +25,7 @@ export declare class ProfileEntitlementsTicketWidgetComponent implements OnInit
|
|
|
25
25
|
errorOccurred: EventEmitter<string>;
|
|
26
26
|
ticketDetails: EntitlementsTicket | null;
|
|
27
27
|
isLoading: boolean;
|
|
28
|
+
hasData: boolean;
|
|
28
29
|
constructor(selfWidgetsService: HRSelfWidgetsService, translatePipe: HRTranslatePipe);
|
|
29
30
|
ngOnInit(): void;
|
|
30
31
|
private loadData;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../../services/hr-self-widgets.service';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProfilePersonalDocumentsWidgetComponent implements OnInit {
|
|
6
|
+
private readonly service;
|
|
7
|
+
documents: any[];
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
employeeName: string;
|
|
11
|
+
sectionTitle: string;
|
|
12
|
+
icon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
13
|
+
viewIcon: IconDefinition;
|
|
14
|
+
downloadIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
15
|
+
headerIconClass: string;
|
|
16
|
+
headerTextClass: string;
|
|
17
|
+
headerDividerClass: string;
|
|
18
|
+
valueClass: string;
|
|
19
|
+
viewIconClass: string;
|
|
20
|
+
downloadIconClass: string;
|
|
21
|
+
emptyStateContainerClass: string;
|
|
22
|
+
emptyStateTextClass: string;
|
|
23
|
+
cardClass: string;
|
|
24
|
+
rowClass: string;
|
|
25
|
+
rowPtClass: string;
|
|
26
|
+
columnClass: string;
|
|
27
|
+
responsiveTopSpacingColClass: string;
|
|
28
|
+
topSpacingColClass: string;
|
|
29
|
+
labelClass: string;
|
|
30
|
+
actionsColumnClass: string;
|
|
31
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
32
|
+
attachmentViewed: EventEmitter<any>;
|
|
33
|
+
attachmentDownloaded: EventEmitter<any>;
|
|
34
|
+
errorOccurred: EventEmitter<string>;
|
|
35
|
+
constructor(service: HRSelfWidgetsService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
onAttachmentView(doc: any): void;
|
|
38
|
+
onDownload(doc: any): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePersonalDocumentsWidgetComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePersonalDocumentsWidgetComponent, "hr-profile-personal-documents-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "employeeName": { "alias": "employeeName"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "viewIcon": { "alias": "viewIcon"; "required": false; }; "downloadIcon": { "alias": "downloadIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "viewIconClass": { "alias": "viewIconClass"; "required": false; }; "downloadIconClass": { "alias": "downloadIconClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowPtClass": { "alias": "rowPtClass"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "responsiveTopSpacingColClass": { "alias": "responsiveTopSpacingColClass"; "required": false; }; "topSpacingColClass": { "alias": "topSpacingColClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "actionsColumnClass": { "alias": "actionsColumnClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "attachmentViewed": "attachmentViewed"; "attachmentDownloaded": "attachmentDownloaded"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
41
|
+
}
|
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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Degree, Dependent, DependentDocumentGroup, EntitlementsIndemnity, EntitlementsMedicalInsurance, EntitlementsTicket, EntitlementsVacation, EventOption, Experience, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
|
|
3
|
+
import { Degree, Dependent, DependentDocumentGroup, EntitlementsIndemnity, EntitlementsMedicalInsurance, EntitlementsTicket, EntitlementsVacation, EventOption, Experience, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, PersonalDocument, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
|
|
4
4
|
import { BankInformationCacheService } from '../shared/services/bank-information-cache.service';
|
|
5
5
|
import { EntitlementsCacheService } from '../shared/services/entitlements-cache.service';
|
|
6
6
|
import { JobInformationCacheService } from '../shared/services/job-information-cache.service';
|
|
@@ -46,6 +46,7 @@ export declare class HRSelfWidgetsService {
|
|
|
46
46
|
getEmployeeDependents(baseUrl: string, forceRefresh?: boolean): Observable<Dependent[]>;
|
|
47
47
|
getEmployeeExperiences(baseUrl: string, forceRefresh?: boolean): Observable<Experience[]>;
|
|
48
48
|
getDependentDocuments(baseUrl: string, forceRefresh?: boolean): Observable<DependentDocumentGroup[]>;
|
|
49
|
+
getPersonalDocuments(baseUrl: string, forceRefresh?: boolean): Observable<PersonalDocument[]>;
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
|
|
50
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
|
|
51
52
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { DependentDocumentGroup } from '../types/common';
|
|
2
|
+
import { DependentDocumentGroup, PersonalDocument } from '../types/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ProfileDocumentsCacheService {
|
|
5
5
|
private baseUrl;
|
|
6
6
|
private dependentDocuments$;
|
|
7
|
+
private personalDocuments$;
|
|
7
8
|
getDependentDocuments(baseUrl: string): Observable<DependentDocumentGroup[]> | null;
|
|
8
9
|
setDependentDocuments(baseUrl: string, value: Observable<DependentDocumentGroup[]>): void;
|
|
10
|
+
getPersonalDocuments(baseUrl: string): Observable<PersonalDocument[]> | null;
|
|
11
|
+
setPersonalDocuments(baseUrl: string, value: Observable<PersonalDocument[]>): void;
|
|
9
12
|
clear(): void;
|
|
10
13
|
private ensureBaseUrl;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileDocumentsCacheService, never>;
|
|
@@ -289,3 +289,10 @@ export interface Attachment {
|
|
|
289
289
|
Key: string;
|
|
290
290
|
ContentType: string;
|
|
291
291
|
}
|
|
292
|
+
export interface PersonalDocument {
|
|
293
|
+
DocumentTypeName: string;
|
|
294
|
+
DocumentNumber: string;
|
|
295
|
+
IssueDate: string;
|
|
296
|
+
ExpiryDate: string;
|
|
297
|
+
Attachments: Attachment[];
|
|
298
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -29,3 +29,4 @@ export * from './lib/entitlements/profile-entitlements-medical-insurance-widget/
|
|
|
29
29
|
export * from './lib/entitlements/profile-entitlements-medical-insurance-widget/components/medical-insurance-card/medical-insurance-card.component';
|
|
30
30
|
export * from './lib/entitlements/profile-entitlements-others-widget/profile-entitlements-others-widget.component';
|
|
31
31
|
export * from './lib/profile-documents-widgets/profile-dependents-documents-widget/profile-dependents-documents-widget';
|
|
32
|
+
export * from './lib/profile-documents-widgets/profile-official-documents-widget/profile-official-documents-widget';
|