@skysoftware-co/bayan-hr-widgets-ui 1.0.32 → 1.0.34

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.
@@ -15,6 +15,8 @@ export declare class MyNextWeekVacationInsightsWidgetComponent implements OnInit
15
15
  disabledValueClass: string;
16
16
  upcomingContainerClass: string;
17
17
  expectedContainerClass: string;
18
+ firstRowClass: string;
19
+ secondRowClass: string;
18
20
  isLoadingChanged: EventEmitter<boolean>;
19
21
  popupVisible: boolean;
20
22
  popupType: VacationPopupType;
@@ -29,5 +31,5 @@ export declare class MyNextWeekVacationInsightsWidgetComponent implements OnInit
29
31
  closePopup(): void;
30
32
  private initBadges;
31
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MyNextWeekVacationInsightsWidgetComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<MyNextWeekVacationInsightsWidgetComponent, "hr-my-next-week-vacation-insights-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>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<MyNextWeekVacationInsightsWidgetComponent, "hr-my-next-week-vacation-insights-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; }; "firstRowClass": { "alias": "firstRowClass"; "required": false; }; "secondRowClass": { "alias": "secondRowClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
33
35
  }
@@ -1,11 +1,12 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { Degree, EntitlementsIndemnity, EntitlementsMedicalInsurance, EntitlementsTicket, EntitlementsVacation, EventOption, Experience, JobInformationContract, JobInformationMain, JobInformationSalary, JobInformationServiceCharge, MyBankInfo, PersonalInfoAddressDetails, PersonalInfoContactDetails, PersonalInfoMainDetails } from '../shared/types/common';
3
+ import { Degree, Dependent, 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
8
  import { QualificationsCacheService } from '../shared/services/qualifications-cache.service';
9
+ import { ProfileEmployeeDependentsCach } from '../shared/services/profile-employee-dependents-cach';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class HRSelfWidgetsService {
11
12
  private http;
@@ -14,8 +15,9 @@ export declare class HRSelfWidgetsService {
14
15
  private readonly jobInformationCacheService;
15
16
  private readonly personalInformationCacheService;
16
17
  private readonly qualificationsCacheService;
18
+ private readonly profileEmployeeDependentsCachService;
17
19
  private readonly headers;
18
- constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, entitlementsCacheService: EntitlementsCacheService, jobInformationCacheService: JobInformationCacheService, personalInformationCacheService: PersonalInformationCacheService, qualificationsCacheService: QualificationsCacheService);
20
+ constructor(http: HttpClient, bankInformationCacheService: BankInformationCacheService, entitlementsCacheService: EntitlementsCacheService, jobInformationCacheService: JobInformationCacheService, personalInformationCacheService: PersonalInformationCacheService, qualificationsCacheService: QualificationsCacheService, profileEmployeeDependentsCachService: ProfileEmployeeDependentsCach);
19
21
  getMainDetails(baseUrl: string): Observable<any>;
20
22
  getUpcomingEvents(baseUrl: string, eventOption: EventOption): Observable<any>;
21
23
  getCalendar(baseUrl: string, month: number, year: number, monthsCount: number): Observable<any>;
@@ -37,6 +39,7 @@ export declare class HRSelfWidgetsService {
37
39
  getEntitlementsTicket(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsTicket | null>;
38
40
  getEntitlementsMedicalInsurance(baseUrl: string, forceRefresh?: boolean): Observable<EntitlementsMedicalInsurance | null>;
39
41
  getEmployeeDegrees(baseUrl: string, forceRefresh?: boolean): Observable<Degree[]>;
42
+ getEmployeeDependents(baseUrl: string, forceRefresh?: boolean): Observable<Dependent[]>;
40
43
  getEmployeeExperiences(baseUrl: string, forceRefresh?: boolean): Observable<Experience[]>;
41
44
  static ɵfac: i0.ɵɵFactoryDeclaration<HRSelfWidgetsService, never>;
42
45
  static ɵprov: i0.ɵɵInjectableDeclaration<HRSelfWidgetsService>;
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HRHighlightPipe implements PipeTransform {
4
+ transform(value: string, args: string): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HRHighlightPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<HRHighlightPipe, "HRHighlight", true>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Dependent } from '../types/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProfileEmployeeDependentsCach {
5
+ private baseUrl;
6
+ private dependents$;
7
+ clear(): void;
8
+ private ensureBaseUrl;
9
+ setDependents(baseUrl: string, value: Observable<Dependent[]>): void;
10
+ getDependents(baseUrl: string): Observable<Dependent[]> | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEmployeeDependentsCach, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProfileEmployeeDependentsCach>;
13
+ }
@@ -243,10 +243,6 @@ export type EntitlementsMedicalInsurance = {
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,3 +259,13 @@ 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
+ export type Dependent = {
267
+ DependentName: string;
268
+ DependentTypeName: string;
269
+ BirthDate: string | Date;
270
+ NationalNumber: string | null;
271
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skysoftware-co/bayan-hr-widgets-ui",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.14",
6
6
  "@angular/core": "19.2.14",
package/public-api.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './lib/shared/types/common';
4
4
  export * from './lib/shared/services/constants.service';
5
5
  export * from './lib/shared/services/translate.service';
6
6
  export * from './lib/shared/pipes/translate.pipe';
7
+ export * from './lib/shared/pipes/highlight.pipe';
7
8
  export * from './lib/shared/components/card-header/card-header.component';
8
9
  export * from './lib/my-calendar-widget/my-calendar-widget.component';
9
10
  export * from './lib/shared/components/hr-employee-calendar/hr-employee-calendar.component';