@skysoftware-co/bayan-hr-widgets-ui 1.0.18 → 1.0.20
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 +2 -1
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +167 -549
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-calendar-widget/my-calendar-widget.component.d.ts +16 -7
- package/lib/services/hr-self-widgets.service.d.ts +7 -3
- package/lib/shared/services/qualifications-cache.service.d.ts +16 -0
- package/lib/shared/types/common.d.ts +20 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -5
- package/lib/profile-bank-info-widget/profile-bank-info-widget.component.d.ts +0 -44
- package/lib/profile-job-info-contract-widget/profile-job-info-contract-widget.component.d.ts +0 -30
- package/lib/profile-job-info-main-widget/profile-job-info-main-widget.component.d.ts +0 -30
- package/lib/profile-job-info-service-charge-widget/profile-job-info-service-charge-widget.component.d.ts +0 -32
- package/lib/profile-job-information-salary-widget/profile-job-info-salary-widget.component.d.ts +0 -36
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
-
import { ScheduleCalenderVacation } from '../shared/types/common';
|
|
3
|
+
import { ScheduleCalenderVacation, ScheduleRequestsResponse } from '../shared/types/common';
|
|
4
4
|
import { HREmployeeCalendarComponent } from '../shared/components/hr-employee-calendar/hr-employee-calendar.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MyCalendarWidgetComponent implements OnInit {
|
|
6
|
+
export declare class MyCalendarWidgetComponent implements OnInit, OnChanges {
|
|
7
7
|
private selfWidgetsService;
|
|
8
8
|
baseUrl: string;
|
|
9
9
|
headerContainerClass: string;
|
|
10
|
+
datasource: ScheduleRequestsResponse | null;
|
|
10
11
|
isLoadingChanged: EventEmitter<boolean>;
|
|
11
|
-
calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
readonly calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
13
|
legendContainerClass: string;
|
|
13
14
|
legendRowClass: string;
|
|
14
15
|
legendItemClass: string;
|
|
@@ -22,8 +23,8 @@ export declare class MyCalendarWidgetComponent implements OnInit {
|
|
|
22
23
|
vacationsIconClass: string;
|
|
23
24
|
calendarContainerClass: string;
|
|
24
25
|
calendarClass: string;
|
|
25
|
-
private constants;
|
|
26
|
-
private translatePipe;
|
|
26
|
+
private readonly constants;
|
|
27
|
+
private readonly translatePipe;
|
|
27
28
|
publicHolidayColor: string;
|
|
28
29
|
dayOffColor: string;
|
|
29
30
|
eventsColor: string;
|
|
@@ -31,11 +32,19 @@ export declare class MyCalendarWidgetComponent implements OnInit {
|
|
|
31
32
|
scheduleCalenderVacation: ScheduleCalenderVacation[];
|
|
32
33
|
minDate: Date;
|
|
33
34
|
maxDate: Date;
|
|
35
|
+
private baseCalendarData;
|
|
36
|
+
private hrVacations;
|
|
37
|
+
private calendarLoaded;
|
|
34
38
|
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
35
39
|
ngOnInit(): void;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
private initDateRange;
|
|
36
42
|
private getCalendar;
|
|
37
43
|
private loadCalendar;
|
|
38
44
|
private mapCalendarData;
|
|
45
|
+
private buildCalendarData;
|
|
46
|
+
private refreshCalendar;
|
|
47
|
+
private mergeConsecutiveVacations;
|
|
39
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<MyCalendarWidgetComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MyCalendarWidgetComponent, "hr-my-calendar-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerContainerClass": { "alias": "headerContainerClass"; "required": false; }; "legendContainerClass": { "alias": "legendContainerClass"; "required": false; }; "legendRowClass": { "alias": "legendRowClass"; "required": false; }; "legendItemClass": { "alias": "legendItemClass"; "required": false; }; "legendDotClass": { "alias": "legendDotClass"; "required": false; }; "legendLabelClass": { "alias": "legendLabelClass"; "required": false; }; "publicHolidayDotClass": { "alias": "publicHolidayDotClass"; "required": false; }; "dayOffDotClass": { "alias": "dayOffDotClass"; "required": false; }; "eventsDotClass": { "alias": "eventsDotClass"; "required": false; }; "vacationsContainerClass": { "alias": "vacationsContainerClass"; "required": false; }; "vacationsItemClass": { "alias": "vacationsItemClass"; "required": false; }; "vacationsIconClass": { "alias": "vacationsIconClass"; "required": false; }; "calendarContainerClass": { "alias": "calendarContainerClass"; "required": false; }; "calendarClass": { "alias": "calendarClass"; "required": false; }; "publicHolidayColor": { "alias": "publicHolidayColor"; "required": false; }; "dayOffColor": { "alias": "dayOffColor"; "required": false; }; "eventsColor": { "alias": "eventsColor"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyCalendarWidgetComponent, "hr-my-calendar-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerContainerClass": { "alias": "headerContainerClass"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "legendContainerClass": { "alias": "legendContainerClass"; "required": false; }; "legendRowClass": { "alias": "legendRowClass"; "required": false; }; "legendItemClass": { "alias": "legendItemClass"; "required": false; }; "legendDotClass": { "alias": "legendDotClass"; "required": false; }; "legendLabelClass": { "alias": "legendLabelClass"; "required": false; }; "publicHolidayDotClass": { "alias": "publicHolidayDotClass"; "required": false; }; "dayOffDotClass": { "alias": "dayOffDotClass"; "required": false; }; "eventsDotClass": { "alias": "eventsDotClass"; "required": false; }; "vacationsContainerClass": { "alias": "vacationsContainerClass"; "required": false; }; "vacationsItemClass": { "alias": "vacationsItemClass"; "required": false; }; "vacationsIconClass": { "alias": "vacationsIconClass"; "required": false; }; "calendarContainerClass": { "alias": "calendarContainerClass"; "required": false; }; "calendarClass": { "alias": "calendarClass"; "required": false; }; "publicHolidayColor": { "alias": "publicHolidayColor"; "required": false; }; "dayOffColor": { "alias": "dayOffColor"; "required": false; }; "eventsColor": { "alias": "eventsColor"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
41
50
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { EntitlementsIndemnity, EntitlementsMedicalInsurance, EntitlementsTicket, EntitlementsVacation, EventOption, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
|
|
3
|
+
import { Degree, EntitlementsIndemnity, EntitlementsMedicalInsurance, EntitlementsTicket, EntitlementsVacation, EventOption, Experience, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, 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';
|
|
7
7
|
import { PersonalInformationCacheService } from '../shared/services/personal-information-cache.service';
|
|
8
|
+
import { QualificationsCacheService } from '../shared/services/qualifications-cache.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class HRSelfWidgetsService {
|
|
10
11
|
private http;
|
|
@@ -12,8 +13,9 @@ export declare class HRSelfWidgetsService {
|
|
|
12
13
|
private readonly entitlementsCacheService;
|
|
13
14
|
private readonly jobInformationCacheService;
|
|
14
15
|
private readonly personalInformationCacheService;
|
|
16
|
+
private readonly qualificationsCacheService;
|
|
15
17
|
private readonly headers;
|
|
16
|
-
constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, entitlementsCacheService: EntitlementsCacheService, jobInformationCacheService: JobInformationCacheService, personalInformationCacheService: PersonalInformationCacheService);
|
|
18
|
+
constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, entitlementsCacheService: EntitlementsCacheService, jobInformationCacheService: JobInformationCacheService, personalInformationCacheService: PersonalInformationCacheService, qualificationsCacheService: QualificationsCacheService);
|
|
17
19
|
getMainDetails(baseUrl: string): Observable<any>;
|
|
18
20
|
getUpcomingEvents(baseUrl: string, eventOption: EventOption): Observable<any>;
|
|
19
21
|
getCalendar(baseUrl: string, month: number, year: number, monthsCount: number): Observable<any>;
|
|
@@ -30,10 +32,12 @@ export declare class HRSelfWidgetsService {
|
|
|
30
32
|
clearPersonalInformationCache(): void;
|
|
31
33
|
clearJobInformationCache(): void;
|
|
32
34
|
getVacationSummary(baseUrl: string): Observable<any>;
|
|
33
|
-
|
|
35
|
+
getEntitlementsVacations(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsVacation[] | null>;
|
|
34
36
|
getEntitlementsIndemnity(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsIndemnity | null>;
|
|
35
37
|
getEntitlementsTicket(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsTicket | null>;
|
|
36
38
|
getEntitlementsMedicalInsurance(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsMedicalInsurance | null>;
|
|
39
|
+
getEmployeeDegrees(baseUrl: string, forceRefresh?: boolean): Observable<Degree[]>;
|
|
40
|
+
getEmployeeExperiences(baseUrl: string, forceRefresh?: boolean): Observable<Experience[]>;
|
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
|
|
38
42
|
static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
|
|
39
43
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Degree, Experience } from '../types/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QualificationsCacheService {
|
|
5
|
+
private baseUrl;
|
|
6
|
+
private degrees$;
|
|
7
|
+
private experiences$;
|
|
8
|
+
getDegrees(baseUrl: string): Observable<Degree[]> | null;
|
|
9
|
+
setDegrees(baseUrl: string, value: Observable<Degree[]>): void;
|
|
10
|
+
getExperiences(baseUrl: string): Observable<Experience[]> | null;
|
|
11
|
+
setExperiences(baseUrl: string, value: Observable<Experience[]>): void;
|
|
12
|
+
clear(): void;
|
|
13
|
+
private ensureBaseUrl;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QualificationsCacheService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QualificationsCacheService>;
|
|
16
|
+
}
|
|
@@ -243,3 +243,23 @@ export type ScheduleRequestsResponse = {
|
|
|
243
243
|
EndDate: Date;
|
|
244
244
|
}[];
|
|
245
245
|
};
|
|
246
|
+
export type DocumentModel = {
|
|
247
|
+
Key: string;
|
|
248
|
+
ContentType: string;
|
|
249
|
+
};
|
|
250
|
+
export type Degree = {
|
|
251
|
+
DegreeName: string;
|
|
252
|
+
DegreeYear: string;
|
|
253
|
+
CountryName: string;
|
|
254
|
+
Specialty: string | null;
|
|
255
|
+
Institute: string | null;
|
|
256
|
+
Document: DocumentModel | null;
|
|
257
|
+
};
|
|
258
|
+
export type Experience = {
|
|
259
|
+
StartDate: string | Date;
|
|
260
|
+
EndDate: string | Date;
|
|
261
|
+
Employer: string;
|
|
262
|
+
Position: string;
|
|
263
|
+
TerminationReason: string;
|
|
264
|
+
Document: DocumentModel | null;
|
|
265
|
+
};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -7,14 +7,9 @@ export * from './lib/shared/pipes/translate.pipe';
|
|
|
7
7
|
export * from './lib/shared/components/card-header/card-header.component';
|
|
8
8
|
export * from './lib/my-calendar-widget/my-calendar-widget.component';
|
|
9
9
|
export * from './lib/shared/components/hr-employee-calendar/hr-employee-calendar.component';
|
|
10
|
-
export * from './lib/profile-bank-info-widget/profile-bank-info-widget.component';
|
|
11
10
|
export * from './lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component';
|
|
12
11
|
export * from './lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component';
|
|
13
12
|
export * from './lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component';
|
|
14
13
|
export * from './lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component';
|
|
15
14
|
export * from './lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component';
|
|
16
|
-
export * from './lib/profile-job-info-main-widget/profile-job-info-main-widget.component';
|
|
17
|
-
export * from './lib/profile-job-info-contract-widget/profile-job-info-contract-widget.component';
|
|
18
|
-
export * from './lib/profile-job-information-salary-widget/profile-job-info-salary-widget.component';
|
|
19
|
-
export * from './lib/profile-job-info-service-charge-widget/profile-job-info-service-charge-widget.component';
|
|
20
15
|
export * from './lib/my-vacation-team-widget/my-vacation-team-widget.component';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } 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 ProfileBankInfoWidgetComponent implements OnInit, OnChanges {
|
|
7
|
-
private readonly commonMethodsService;
|
|
8
|
-
private readonly hrSelfWidgetsService;
|
|
9
|
-
isLoading: boolean;
|
|
10
|
-
constructor(commonMethodsService: HRCommonMethodsService, hrSelfWidgetsService: HRSelfWidgetsService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
employeeBankInformation: MyBankInfo[];
|
|
13
|
-
currencyCode: string;
|
|
14
|
-
currencyDecimals: number;
|
|
15
|
-
headerIconClass: string;
|
|
16
|
-
headerTextClass: string;
|
|
17
|
-
headerDividerClass: string;
|
|
18
|
-
cardClass: string;
|
|
19
|
-
mainBadgeClass: string;
|
|
20
|
-
mainBadgeTextClass: string;
|
|
21
|
-
triangleClass: string;
|
|
22
|
-
rowClass: string;
|
|
23
|
-
rowMainPtClass: string;
|
|
24
|
-
rowNormalPtClass: string;
|
|
25
|
-
columnClass: string;
|
|
26
|
-
responsiveTopSpacingColClass: string;
|
|
27
|
-
topSpacingColClass: string;
|
|
28
|
-
labelClass: string;
|
|
29
|
-
valueClass: string;
|
|
30
|
-
emptyStateContainerClass: string;
|
|
31
|
-
emptyStateTextClass: string;
|
|
32
|
-
bankInformationIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
33
|
-
sectionHeaderVisibility: boolean;
|
|
34
|
-
sectionTitle: string;
|
|
35
|
-
language: string;
|
|
36
|
-
baseUrl: string;
|
|
37
|
-
errorOccurred: EventEmitter<string>;
|
|
38
|
-
isRTL: boolean;
|
|
39
|
-
isLoadingChanged: EventEmitter<boolean>;
|
|
40
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
-
formatAmount(value: number | null | undefined): string;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileBankInfoWidgetComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileBankInfoWidgetComponent, "hr-profile-bank-info-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>;
|
|
44
|
-
}
|
package/lib/profile-job-info-contract-widget/profile-job-info-contract-widget.component.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
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 ProfileJobInfoContractWidgetComponent 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<ProfileJobInfoContractWidgetComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInfoContractWidgetComponent, "hr-profile-job-info-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
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 ProfileJobInfoMainWidgetComponent 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<ProfileJobInfoMainWidgetComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInfoMainWidgetComponent, "hr-profile-job-info-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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 ProfileJobInfoServiceChargeWidgetComponent 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<ProfileJobInfoServiceChargeWidgetComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInfoServiceChargeWidgetComponent, "hr-profile-job-info-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-job-information-salary-widget/profile-job-info-salary-widget.component.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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 ProfileJobInfoSalaryWidgetComponent 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<ProfileJobInfoSalaryWidgetComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileJobInfoSalaryWidgetComponent, "hr-profile-job-info-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
|
-
}
|