@skysoftware-co/bayan-hr-widgets-ui 1.1.0 → 1.2.0

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.
Files changed (58) hide show
  1. package/README.md +102 -97
  2. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +211 -1251
  3. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
  4. package/package.json +10 -8
  5. package/types/skysoftware-co-bayan-hr-widgets-ui.d.ts +1377 -0
  6. package/index.d.ts +0 -5
  7. package/lib/entitlements/profile-entitlements-indemnity-widget/profile-entitlements-indemnity-widget.component.d.ts +0 -33
  8. package/lib/entitlements/profile-entitlements-medical-insurance-widget/components/medical-insurance-card/medical-insurance-card.component.d.ts +0 -19
  9. package/lib/entitlements/profile-entitlements-medical-insurance-widget/profile-entitlements-medical-insurance-widget.component.d.ts +0 -36
  10. package/lib/entitlements/profile-entitlements-others-widget/profile-entitlements-others-widget.component.d.ts +0 -26
  11. package/lib/entitlements/profile-entitlements-ticket-widget/components/ticket-card/ticket-card.component.d.ts +0 -17
  12. package/lib/entitlements/profile-entitlements-ticket-widget/profile-entitlements-ticket-widget.component.d.ts +0 -35
  13. package/lib/entitlements/profile-entitlements-vacations-widget/profile-entitlements-vacations-widget.component.d.ts +0 -29
  14. package/lib/my-calendar-widget/my-calendar-widget.component.d.ts +0 -50
  15. package/lib/my-main-details-widget/my-main-details-widget.component.d.ts +0 -66
  16. package/lib/my-next-week-vacation-insights-widget/components/next-week-vacation-insights-popup/next-week-vacation-insights-popup.component.d.ts +0 -38
  17. package/lib/my-next-week-vacation-insights-widget/my-next-week-vacation-insights-widget.component.d.ts +0 -35
  18. package/lib/my-upcoming-events-widget/components/event-item/event-item.component.d.ts +0 -25
  19. package/lib/my-upcoming-events-widget/components/event-tab-bar/event-tab-bar.component.d.ts +0 -31
  20. package/lib/my-upcoming-events-widget/components/events-popup/events-popup.component.d.ts +0 -37
  21. package/lib/my-upcoming-events-widget/my-upcoming-events-widget.component.d.ts +0 -55
  22. package/lib/profile-bank-info-widget/profile-bank-info-widget.component.d.ts +0 -44
  23. package/lib/profile-degrees-widget/profile-degrees-widget-component.d.ts +0 -44
  24. package/lib/profile-documents-widgets/components/document-card/document-card.component.d.ts +0 -33
  25. package/lib/profile-documents-widgets/components/document-row/document-row.component.d.ts +0 -29
  26. package/lib/profile-documents-widgets/components/document-tablet-card/document-tablet-card.component.d.ts +0 -27
  27. package/lib/profile-documents-widgets/profile-dependents-documents-widget/profile-dependents-documents-widget.d.ts +0 -62
  28. package/lib/profile-documents-widgets/profile-official-documents-widget/profile-official-documents-widget.d.ts +0 -60
  29. package/lib/profile-employee-dependents-widget/profile-employee-dependents-component.d.ts +0 -22
  30. package/lib/profile-experiences-widget/profile-experiences-widget-component.d.ts +0 -44
  31. package/lib/profile-job-info-contract-widget/profile-job-info-contract-widget.component.d.ts +0 -30
  32. package/lib/profile-job-info-main-widget/profile-job-info-main-widget.component.d.ts +0 -30
  33. package/lib/profile-job-info-salary-widget/profile-job-info-salary-widget.component.d.ts +0 -36
  34. package/lib/profile-job-info-service-charge-widget/profile-job-info-service-charge-widget.component.d.ts +0 -32
  35. package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts +0 -36
  36. package/lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component.d.ts +0 -26
  37. package/lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component.d.ts +0 -32
  38. package/lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component.d.ts +0 -27
  39. package/lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component.d.ts +0 -29
  40. package/lib/services/hr-self-widgets.service.d.ts +0 -52
  41. package/lib/shared/components/card-header/card-header.component.d.ts +0 -11
  42. package/lib/shared/components/hr-employee-calendar/hr-employee-calendar.component.d.ts +0 -35
  43. package/lib/shared/components/info-field/info-field.component.d.ts +0 -10
  44. package/lib/shared/components/widget-card/widget-card-component.d.ts +0 -10
  45. package/lib/shared/pipes/highlight.pipe.d.ts +0 -7
  46. package/lib/shared/pipes/translate.pipe.d.ts +0 -10
  47. package/lib/shared/services/bank-information-cache.service.d.ts +0 -12
  48. package/lib/shared/services/common-methods.service.d.ts +0 -10
  49. package/lib/shared/services/constants.service.d.ts +0 -10
  50. package/lib/shared/services/entitlements-cache.service.d.ts +0 -28
  51. package/lib/shared/services/job-information-cache.service.d.ts +0 -22
  52. package/lib/shared/services/personal-information-cache.service.d.ts +0 -25
  53. package/lib/shared/services/profile-documents-cache-service.d.ts +0 -16
  54. package/lib/shared/services/profile-employee-dependents-cach.d.ts +0 -13
  55. package/lib/shared/services/qualifications-cache.service.d.ts +0 -16
  56. package/lib/shared/services/translate.service.d.ts +0 -12
  57. package/lib/shared/types/common.d.ts +0 -298
  58. package/public-api.d.ts +0 -32
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # shared-ui
1
+ # shared-ui
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.2.15.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 21.0.6.
4
+
5
+ **Requires:** Angular `^21.0.0` · TypeScript `~5.9.x` · Node.js `22.x (LTS)`
4
6
 
5
7
  ## Code scaffolding
6
8
 
@@ -32,26 +34,26 @@ components:
32
34
  2. My Upcoming Events Widget
33
35
  3. My Calendar Widget
34
36
  4. My Next Week Vacation Insights Widget
35
- 5. Profile Personal Info Main Widget
36
- 6. Profile Personal Info Contact Widget
37
- 7. Profile Personal Info Address Widget
38
- 8. Profile Personal Info Languages Widget
39
- 9. Profile Personal Info Other Nationalities Widget
40
- 10. Profile Experiences Widget
41
- 11. Profile Degrees Widget
42
- 12. Profile Bank Information Widget
43
- 13. Profile Job Info Main Widget
44
- 14. Profile Job Info Contract Widget
45
- 15. Profile Job Info Salary Widget
46
- 16. Profile Job Info Service Charge Widget
47
- 17. Profile Employee Dependents Widget
48
- 18. Profile Entitlements Vacations Widget
49
- 19. Profile Entitlements Indemnity Widget
50
- 20. Profile Entitlements Ticket Widget
51
- 21. Profile Entitlements Medical Insurance Widget
52
- 22. Profile Entitlements Others Widget
53
- 23. Profile Employee Documents Widget
54
- 24. Profile Dependents Documents Widget
37
+ 5. My Profile Personal Info Main Widget
38
+ 6. My Profile Personal Info Contact Widget
39
+ 7. My Profile Personal Info Address Widget
40
+ 8. My Profile Personal Info Languages Widget
41
+ 9. My Profile Personal Info Other Nationalities Widget
42
+ 10. My Profile Experiences Widget
43
+ 11. My Profile Degrees Widget
44
+ 12. My Profile Bank Information Widget
45
+ 13. My Profile Job Info Main Widget
46
+ 14. My Profile Job Info Contract Widget
47
+ 15. My Profile Job Info Salary Widget
48
+ 16. My Profile Job Info Service Charge Widget
49
+ 17. My Profile Employee Dependents Widget
50
+ 18. My Profile Entitlements Vacations Widget
51
+ 19. My Profile Entitlements Indemnity Widget
52
+ 20. My Profile Entitlements Ticket Widget
53
+ 21. My Profile Entitlements Medical Insurance Widget
54
+ 22. My Profile Entitlements Others Widget
55
+ 23. My Profile Employee Documents Widget
56
+ 24. My Profile Dependents Documents Widget
55
57
 
56
58
  ## Dependencies
57
59
  This library depends on `@skysoftware-co/bayan-components-ui` package which provides:
@@ -62,27 +64,29 @@ use npm to install this package by command: @skysoftware-co/bayan-hr-widgets-ui
62
64
 
63
65
  ## Setup
64
66
 
65
- Before using any component, you need to configure the `HRTranslateService` and provide the `HRTranslatePipe` in your application.
67
+ Before using any component, you need to configure translation using `TranslationService` from `@skysoftware-co/sky-components-ui` and `TranslateService` from `@ngx-translate/core`, then provide `TranslatePipe` in your application.
66
68
 
67
69
  ### 1. Set language and lexicon in your App Component
68
70
 
69
71
  ```typescript
70
72
  import { Component, inject, OnInit } from '@angular/core';
71
- import { HRTranslateService } from '@skysoftware-co/bayan-hr-widgets-ui';
73
+ import { TranslateService } from '@ngx-translate/core';
74
+ import { TranslationService } from '@skysoftware-co/sky-components-ui';
72
75
 
73
76
  @Component({
74
77
  selector: 'app-root',
75
78
  ...
76
79
  })
77
80
  export class AppComponent implements OnInit {
78
- private hrTranslateService = inject(HRTranslateService);
81
+ private translateService = inject(TranslateService);
82
+ private translationService = inject(TranslationService);
79
83
 
80
84
  ngOnInit(): void {
81
- // Set the active language (built-in: 'en', 'ar', 'fr')
82
- this.hrTranslateService.setLanguage('en');
85
+ // Set the active language ('en', 'ar', 'fr')
86
+ this.translateService.use('en');
83
87
 
84
88
  // Optionally set a lexicon for additional or override translations
85
- this.hrTranslateService.setLexicon({
89
+ this.translationService.setLexicon({
86
90
  'CustomKey': 'Custom Value',
87
91
  ...
88
92
  });
@@ -90,18 +94,18 @@ export class AppComponent implements OnInit {
90
94
  }
91
95
  ```
92
96
 
93
- ### 2. Provide the HRTranslatePipe
97
+ ### 2. Provide the TranslatePipe
94
98
 
95
- Add `HRTranslatePipe` to the `providers` array in your App Component:
99
+ Add `TranslatePipe` to the `providers` array in your App Component:
96
100
 
97
101
  ```typescript
98
- import { HRTranslatePipe } from '@skysoftware-co/bayan-hr-widgets-ui';
102
+ import { TranslatePipe } from '@skysoftware-co/sky-components-ui';
99
103
 
100
104
  @Component({
101
105
  selector: 'app-root',
102
106
  standalone: true,
103
107
  imports: [...],
104
- providers: [HRTranslatePipe],
108
+ providers: [TranslatePipe],
105
109
  ...
106
110
  })
107
111
  export class AppComponent { }
@@ -328,18 +332,18 @@ This component displays a "Next Week Vacation Insights" card showing two badges:
328
332
  - **Upcoming list**: `GET {baseUrl}/hr/widgets/me/team/next-week-vacation-insights/upcoming-vacations`
329
333
  - **Expected to return list**: `GET {baseUrl}/hr/widgets/me/team/next-week-vacation-insights/expected-to-return`
330
334
 
331
- ## Profile Widgets
335
+ ## My Profile Widgets
332
336
 
333
337
  The package also exports profile-focused widgets used in the employee profile page.
334
338
 
335
- ## Profile Personal Info Main Widget
339
+ ## My Profile Personal Info Main Widget
336
340
 
337
341
  ### Usage
338
342
  ```html
339
- <hr-profile-personal-info-main-widget
343
+ <hr-my-profile-personal-info-main-widget
340
344
  [baseUrl]="baseUrl"
341
345
  (isLoadingChanged)="onMainLoadingChanged($event)">
342
- </hr-profile-personal-info-main-widget>
346
+ </hr-my-profile-personal-info-main-widget>
343
347
  ```
344
348
 
345
349
  ### Input Properties
@@ -367,14 +371,14 @@ The package also exports profile-focused widgets used in the employee profile pa
367
371
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
368
372
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
369
373
 
370
- ## Profile Experiences Widget
374
+ ## My Profile Experiences Widget
371
375
 
372
376
  ### Usage
373
377
  ```html
374
- <hr-profile-experiences-widget
378
+ <hr-my-profile-experiences-widget
375
379
  [baseUrl]="baseUrl"
376
380
  (isLoadingChanged)="onExperiencesLoadingChanged($event)">
377
- </hr-profile-experiences-widget>
381
+ </hr-my-profile-experiences-widget>
378
382
  ```
379
383
 
380
384
  ### Input Properties
@@ -410,14 +414,14 @@ The package also exports profile-focused widgets used in the employee profile pa
410
414
  - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
411
415
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
412
416
 
413
- ## Profile Degrees Widget
417
+ ## My Profile Degrees Widget
414
418
 
415
419
  ### Usage
416
420
  ```html
417
- <hr-profile-degrees-widget
421
+ <hr-my-profile-degrees-widget
418
422
  [baseUrl]="baseUrl"
419
423
  (isLoadingChanged)="onDegreesLoadingChanged($event)">
420
- </hr-profile-degrees-widget>
424
+ </hr-my-profile-degrees-widget>
421
425
  ```
422
426
 
423
427
  ### Input Properties
@@ -453,15 +457,15 @@ The package also exports profile-focused widgets used in the employee profile pa
453
457
  - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
454
458
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
455
459
 
456
- ## Profile Personal Info Contact Widget
460
+ ## My Profile Personal Info Contact Widget
457
461
 
458
462
  ### Usage
459
463
  ```html
460
- <hr-profile-personal-info-contact-widget
464
+ <hr-my-profile-contact-widget
461
465
  [baseUrl]="baseUrl"
462
466
  [showEmergencyContact]="true"
463
467
  (isLoadingChanged)="onContactLoadingChanged($event)">
464
- </hr-profile-personal-info-contact-widget>
468
+ </hr-my-profile-contact-widget>
465
469
  ```
466
470
 
467
471
  ### Input Properties
@@ -493,14 +497,14 @@ The package also exports profile-focused widgets used in the employee profile pa
493
497
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
494
498
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
495
499
 
496
- ## Profile Personal Info Address Widget
500
+ ## My Profile Personal Info Address Widget
497
501
 
498
502
  ### Usage
499
503
  ```html
500
- <hr-profile-personal-info-address-widget
504
+ <hr-my-profile-address-widget
501
505
  [baseUrl]="baseUrl"
502
506
  (isLoadingChanged)="onAddressLoadingChanged($event)">
503
- </hr-profile-personal-info-address-widget>
507
+ </hr-my-profile-address-widget>
504
508
  ```
505
509
 
506
510
  ### Input Properties
@@ -525,15 +529,15 @@ The package also exports profile-focused widgets used in the employee profile pa
525
529
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
526
530
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
527
531
 
528
- ## Profile Personal Info Languages Widget
532
+ ## My Profile Personal Info Languages Widget
529
533
 
530
534
  ### Usage
531
535
  ```html
532
- <hr-profile-personal-info-languages-widget
536
+ <hr-my-profile-languages-widget
533
537
  [baseUrl]="baseUrl"
534
538
  (hasDataChange)="onLanguagesDataChange($event)"
535
539
  (isLoadingChanged)="onLanguagesLoadingChanged($event)">
536
- </hr-profile-personal-info-languages-widget>
540
+ </hr-my-profile-languages-widget>
537
541
  ```
538
542
 
539
543
  ### Input Properties
@@ -554,15 +558,15 @@ The package also exports profile-focused widgets used in the employee profile pa
554
558
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
555
559
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
556
560
 
557
- ## Profile Personal Info Other Nationalities Widget
561
+ ## My Profile Personal Info Other Nationalities Widget
558
562
 
559
563
  ### Usage
560
564
  ```html
561
- <hr-profile-personal-info-other-nationalities-widget
565
+ <hr-my-profile-other-nationalities-widget
562
566
  [baseUrl]="baseUrl"
563
567
  (hasDataChange)="onOtherNationalitiesDataChange($event)"
564
568
  (isLoadingChanged)="onOtherNationalitiesLoadingChanged($event)">
565
- </hr-profile-personal-info-other-nationalities-widget>
569
+ </hr-my-profile-other-nationalities-widget>
566
570
  ```
567
571
 
568
572
  ### Input Properties
@@ -584,16 +588,16 @@ The package also exports profile-focused widgets used in the employee profile pa
584
588
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
585
589
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
586
590
 
587
- ## Profile Bank Information Widget
591
+ ## My Profile Bank Information Widget
588
592
 
589
593
  ### Usage
590
594
  ```html
591
- <hr-profile-bank-info-widget
595
+ <hr-my-profile-bank-info-widget
592
596
  [baseUrl]="baseUrl"
593
597
  [currencyCode]="currencyCode"
594
598
  [currencyDecimals]="currencyDecimals"
595
599
  (isLoadingChanged)="onBankLoadingChanged($event)">
596
- </hr-profile-bank-info-widget>
600
+ </hr-my-profile-bank-info-widget>
597
601
  ```
598
602
 
599
603
  ### Input Properties
@@ -628,16 +632,16 @@ The package also exports profile-focused widgets used in the employee profile pa
628
632
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
629
633
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
630
634
 
631
- ## Profile Job Information Widgets
635
+ ## My Profile Job Information Widgets
632
636
 
633
- ## Profile Job Info Main Widget
637
+ ## My Profile Job Info Main Widget
634
638
 
635
639
  ### Usage
636
640
  ```html
637
- <hr-profile-job-info-main-widget
641
+ <hr-my-profile-job-info-widget
638
642
  [baseUrl]="baseUrl"
639
643
  (isLoadingChanged)="onJobMainLoadingChanged($event)">
640
- </hr-profile-job-info-main-widget>
644
+ </hr-my-profile-job-info-widget>
641
645
  ```
642
646
 
643
647
  ### Input Properties
@@ -662,14 +666,14 @@ The package also exports profile-focused widgets used in the employee profile pa
662
666
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
663
667
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
664
668
 
665
- ## Profile Job Info Contract Widget
669
+ ## My Profile Job Info Contract Widget
666
670
 
667
671
  ### Usage
668
672
  ```html
669
- <hr-profile-job-info-contract-widget
673
+ <hr-my-profile-contract-widget
670
674
  [baseUrl]="baseUrl"
671
675
  (isLoadingChanged)="onJobContractLoadingChanged($event)">
672
- </hr-profile-job-info-contract-widget>
676
+ </hr-my-profile-contract-widget>
673
677
  ```
674
678
 
675
679
  ### Input Properties
@@ -694,16 +698,16 @@ The package also exports profile-focused widgets used in the employee profile pa
694
698
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
695
699
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
696
700
 
697
- ## Profile Job Info Salary Widget
701
+ ## My Profile Job Info Salary Widget
698
702
 
699
703
  ### Usage
700
704
  ```html
701
- <hr-profile-job-info-salary-widget
705
+ <hr-my-profile-salary-widget
702
706
  [baseUrl]="baseUrl"
703
707
  [currencyCode]="currencyCode"
704
708
  [currencyDecimals]="currencyDecimals"
705
709
  (isLoadingChanged)="onJobSalaryLoadingChanged($event)">
706
- </hr-profile-job-info-salary-widget>
710
+ </hr-my-profile-salary-widget>
707
711
  ```
708
712
 
709
713
  ### Input Properties
@@ -729,15 +733,15 @@ The package also exports profile-focused widgets used in the employee profile pa
729
733
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
730
734
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
731
735
 
732
- ## Profile Job Info Service Charge Widget
736
+ ## My Profile Job Info Service Charge Widget
733
737
 
734
738
  ### Usage
735
739
  ```html
736
- <hr-profile-job-info-service-charge-widget
740
+ <hr-my-profile-charge-widget
737
741
  [baseUrl]="baseUrl"
738
742
  [currencyCode]="currencyCode"
739
743
  (isLoadingChanged)="onJobServiceChargeLoadingChanged($event)">
740
- </hr-profile-job-info-service-charge-widget>
744
+ </hr-my-profile-charge-widget>
741
745
  ```
742
746
 
743
747
  ### Input Properties
@@ -760,14 +764,14 @@ The package also exports profile-focused widgets used in the employee profile pa
760
764
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
761
765
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
762
766
 
763
- ## Profile Employee Dependents Widget
767
+ ## My Profile Employee Dependents Widget
764
768
 
765
769
  ### Usage
766
770
  ```html
767
- <hr-profile-dependents-widget
771
+ <hr-my-profile-dependents-widget
768
772
  [baseUrl]="baseUrl"
769
773
  (isLoadingChanged)="onDependentsLoadingChanged($event)">
770
- </hr-profile-dependents-widget>
774
+ </hr-my-profile-dependents-widget>
771
775
  ```
772
776
 
773
777
  This component displays employee dependents as cards (3 per row on large screens). Each card shows the dependent's name, type, birth date, and national number. It uses the shared `hr-widget-card` component for card rendering.
@@ -787,18 +791,18 @@ This component displays employee dependents as cards (3 per row on large screens
787
791
  ### Output Events
788
792
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
789
793
 
790
- ## Profile Entitlement Widgets
794
+ ## My Profile Entitlement Widgets
791
795
 
792
796
  The package includes entitlement widgets for displaying employee benefits and entitlements in the profile page.
793
797
 
794
- ## Profile Entitlements Vacations Widget
798
+ ## My Profile Entitlements Vacations Widget
795
799
 
796
800
  ### Usage
797
801
  ```html
798
- <hr-profile-entitlements-vacations-widget
802
+ <hr-my-profile-vacations-widget
799
803
  [baseUrl]="baseUrl"
800
804
  (isLoadingChanged)="onVacationsLoadingChanged($event)">
801
- </hr-profile-entitlements-vacations-widget>
805
+ </hr-my-profile-vacations-widget>
802
806
  ```
803
807
 
804
808
  This component displays a list of vacation entitlements (vacation type name and entitlement days) in a two-column grid layout.
@@ -824,15 +828,15 @@ This component displays a list of vacation entitlements (vacation type name and
824
828
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
825
829
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
826
830
 
827
- ## Profile Entitlements Indemnity Widget
831
+ ## My Profile Entitlements Indemnity Widget
828
832
 
829
833
  ### Usage
830
834
  ```html
831
- <hr-profile-entitlements-indemnity-widget
835
+ <hr-my-profile-indemnity-widget
832
836
  [baseUrl]="baseUrl"
833
837
  [currencyCode]="currencyCode"
834
838
  (isLoadingChanged)="onIndemnityLoadingChanged($event)">
835
- </hr-profile-entitlements-indemnity-widget>
839
+ </hr-my-profile-indemnity-widget>
836
840
  ```
837
841
 
838
842
  This component shows indemnity entitlement details including eligibility status, service years, and start date. Uses `hr-info-field` sub-components for layout.
@@ -862,17 +866,17 @@ This component shows indemnity entitlement details including eligibility status,
862
866
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
863
867
  - `hasDataChanged: EventEmitter<boolean>` - Emitted when data availability changes after loading.
864
868
 
865
- ## Profile Entitlements Ticket Widget
869
+ ## My Profile Entitlements Ticket Widget
866
870
 
867
871
  ### Usage
868
872
  ```html
869
- <hr-profile-entitlements-ticket-widget
873
+ <hr-my-profile-ticket-widget
870
874
  [baseUrl]="baseUrl"
871
875
  (isLoadingChanged)="onTicketLoadingChanged($event)">
872
- </hr-profile-entitlements-ticket-widget>
876
+ </hr-my-profile-ticket-widget>
873
877
  ```
874
878
 
875
- This component displays ticket entitlements as cards one for the employee and one per dependent. Each card shows name, ticket class, sector, and entitlement frequency. Uses `hr-ticket-card` sub-component with `hr-widget-card` for card rendering.
879
+ This component displays ticket entitlements as cards — one for the employee and one per dependent. Each card shows name, ticket class, sector, and entitlement frequency. Uses `hr-ticket-card` sub-component with `hr-widget-card` for card rendering.
876
880
 
877
881
  ### Input Properties
878
882
  | Input | Type | Default Value | Description |
@@ -897,17 +901,17 @@ This component displays ticket entitlements as cards — one for the employee an
897
901
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
898
902
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
899
903
 
900
- ## Profile Entitlements Medical Insurance Widget
904
+ ## My Profile Entitlements Medical Insurance Widget
901
905
 
902
906
  ### Usage
903
907
  ```html
904
- <hr-profile-entitlements-medical-insurance-widget
908
+ <hr-my-profile-medical-insurance-widget
905
909
  [baseUrl]="baseUrl"
906
910
  (isLoadingChanged)="onMedicalInsuranceLoadingChanged($event)">
907
- </hr-profile-entitlements-medical-insurance-widget>
911
+ </hr-my-profile-medical-insurance-widget>
908
912
  ```
909
913
 
910
- This component displays medical insurance information as cards the employee card shows class, number, coverage date, total employee/employer share; dependent cards show class, number, and coverage date. Uses `hr-medical-insurance-card` sub-component with `hr-widget-card` for card rendering.
914
+ This component displays medical insurance information as cards — the employee card shows class, number, coverage date, total employee/employer share; dependent cards show class, number, and coverage date. Uses `hr-medical-insurance-card` sub-component with `hr-widget-card` for card rendering.
911
915
 
912
916
  ### Input Properties
913
917
  | Input | Type | Default Value | Description |
@@ -932,14 +936,14 @@ This component displays medical insurance information as cards — the employee
932
936
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
933
937
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
934
938
 
935
- ## Profile Entitlements Others Widget
939
+ ## My Profile Entitlements Others Widget
936
940
 
937
941
  ### Usage
938
942
  ```html
939
- <hr-profile-entitlements-others-widget
943
+ <hr-my-profile-entitlements-others-widget
940
944
  [baseUrl]="baseUrl"
941
945
  (isLoadingChanged)="onOthersLoadingChanged($event)">
942
- </hr-profile-entitlements-others-widget>
946
+ </hr-my-profile-entitlements-others-widget>
943
947
  ```
944
948
 
945
949
  This component displays two fields: overtime eligibility (Eligible/NotEligible) and social security membership (Member/NotMember). Fetches both values via `forkJoin`.
@@ -962,17 +966,17 @@ This component displays two fields: overtime eligibility (Eligible/NotEligible)
962
966
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
963
967
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
964
968
 
965
- ## Profile Employee Documents Widget
969
+ ## My Profile Employee Documents Widget
966
970
 
967
971
  ### Usage
968
972
  ```html
969
- <hr-profile-personal-documents-widget
973
+ <hr-my-profile-personal-documents-widget
970
974
  [baseUrl]="baseUrl"
971
975
  [employeeName]="employeeName"
972
976
  (isLoadingChanged)="onLoadingChanged($event)"
973
977
  (attachmentViewed)="onAttachmentViewed($event)"
974
978
  (attachmentDownloaded)="onAttachmentDownloaded($event)">
975
- </hr-profile-personal-documents-widget>
979
+ </hr-my-profile-personal-documents-widget>
976
980
  ```
977
981
 
978
982
  This component displays employee personal/official documents in a table layout (desktop) or card grid layout (tablet/mobile). Each document shows type, number, issue date, expiry date, and attachment actions. Uses shared `hr-document-card` and `hr-document-tablet-card` sub-components.
@@ -1028,16 +1032,16 @@ This component displays employee personal/official documents in a table layout (
1028
1032
  - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
1029
1033
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
1030
1034
 
1031
- ## Profile Dependents Documents Widget
1035
+ ## My Profile Dependents Documents Widget
1032
1036
 
1033
1037
  ### Usage
1034
1038
  ```html
1035
- <hr-profile-dependents-documents-widget
1039
+ <hr-my-profile-dependents-documents-widget
1036
1040
  [baseUrl]="baseUrl"
1037
1041
  (isLoadingChanged)="onLoadingChanged($event)"
1038
1042
  (attachmentViewed)="onAttachmentViewed($event)"
1039
1043
  (attachmentDownloaded)="onAttachmentDownloaded($event)">
1040
- </hr-profile-dependents-documents-widget>
1044
+ </hr-my-profile-dependents-documents-widget>
1041
1045
  ```
1042
1046
 
1043
1047
  This component displays dependent documents grouped by dependent. Each group shows the dependent name and type as a title, followed by document rows (desktop) or card grid (tablet/mobile). Uses shared `hr-document-card` and `hr-document-tablet-card` sub-components.
@@ -1091,3 +1095,4 @@ This component displays dependent documents grouped by dependent. Each group sho
1091
1095
  - `attachmentViewed: EventEmitter<any>` - Emitted when attachment view icon is clicked.
1092
1096
  - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
1093
1097
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
1098
+