@skysoftware-co/bayan-hr-widgets-ui 1.0.52 → 1.1.1
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 +87 -86
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +190 -190
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-entitlements/my-profile-entitlements-others-widget/my-profile-entitlements-others-widget.component.d.ts +26 -0
- package/lib/my-entitlements/my-profile-indemnity-widget/my-profile-indemnity-widget.component.d.ts +33 -0
- package/lib/my-entitlements/my-profile-medical-insurance-widget/my-profile-medical-insurance-widget.component.d.ts +36 -0
- package/lib/my-entitlements/my-profile-ticket-widget/my-profile-ticket-widget.component.d.ts +35 -0
- package/lib/my-entitlements/my-profile-vacations-widget/my-profile-vacations-widget.component.d.ts +29 -0
- package/lib/my-next-week-vacation-insights-widget/components/next-week-vacation-insights-popup/next-week-vacation-insights-popup.component.d.ts +1 -1
- package/lib/my-profile-address-widget/my-profile-address-widget.component.d.ts +29 -0
- package/lib/my-profile-bank-info-widget/my-profile-bank-info-widget.component.d.ts +44 -0
- package/lib/my-profile-contact-widget/my-profile-contact-widget.component.d.ts +36 -0
- package/lib/my-profile-contract-widget/my-profile-contract-widget.component.d.ts +30 -0
- package/lib/my-profile-degrees-widget/my-profile-degrees-widget-component.d.ts +44 -0
- package/lib/my-profile-documents-widgets/my-profile-dependents-documents-widget/my-profile-dependents-documents-widget.d.ts +62 -0
- package/lib/my-profile-documents-widgets/my-profile-official-documents-widget/my-profile-official-documents-widget.d.ts +60 -0
- package/lib/my-profile-employee-dependents-widget/my-profile-employee-dependents-component.d.ts +22 -0
- package/lib/my-profile-experiences-widget/my-profile-experiences-widget-component.d.ts +44 -0
- package/lib/my-profile-job-info-widget/my-profile-job-info-widget.component.d.ts +30 -0
- package/lib/my-profile-languages-widget/my-profile-languages-widget.component.d.ts +26 -0
- package/lib/my-profile-other-nationalities-widget/my-profile-other-nationalities-widget.component.d.ts +27 -0
- package/lib/my-profile-personal-info-main-widget/my-profile-personal-info-main-widget.component.d.ts +32 -0
- package/lib/my-profile-salary-widget/my-profile-salary-widget.component.d.ts +36 -0
- package/lib/my-profile-service-charge-widget/my-profile-service-charge-widget.component.d.ts +32 -0
- package/lib/my-upcoming-events-widget/components/event-item/event-item.component.d.ts +2 -2
- package/lib/my-upcoming-events-widget/components/event-tab-bar/event-tab-bar.component.d.ts +1 -1
- package/lib/my-upcoming-events-widget/my-upcoming-events-widget.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +20 -21
- package/lib/entitlements/profile-entitlements-indemnity-widget/profile-entitlements-indemnity-widget.component.d.ts +0 -33
- package/lib/entitlements/profile-entitlements-medical-insurance-widget/profile-entitlements-medical-insurance-widget.component.d.ts +0 -36
- package/lib/entitlements/profile-entitlements-others-widget/profile-entitlements-others-widget.component.d.ts +0 -26
- package/lib/entitlements/profile-entitlements-ticket-widget/profile-entitlements-ticket-widget.component.d.ts +0 -35
- package/lib/entitlements/profile-entitlements-vacations-widget/profile-entitlements-vacations-widget.component.d.ts +0 -29
- package/lib/profile-bank-info-widget/profile-bank-info-widget.component.d.ts +0 -44
- package/lib/profile-degrees-widget/profile-degrees-widget-component.d.ts +0 -44
- package/lib/profile-documents-widgets/profile-dependents-documents-widget/profile-dependents-documents-widget.d.ts +0 -62
- package/lib/profile-documents-widgets/profile-official-documents-widget/profile-official-documents-widget.d.ts +0 -60
- package/lib/profile-employee-dependents-widget/profile-employee-dependents-component.d.ts +0 -22
- package/lib/profile-experiences-widget/profile-experiences-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-salary-widget/profile-job-info-salary-widget.component.d.ts +0 -36
- package/lib/profile-job-info-service-charge-widget/profile-job-info-service-charge-widget.component.d.ts +0 -32
- package/lib/profile-personal-info-contact-widget/profile-personal-info-contact-widget.component.d.ts +0 -36
- package/lib/profile-personal-info-languages-widget/profile-personal-info-languages-widget.component.d.ts +0 -26
- package/lib/profile-personal-info-main-widget/profile-personal-info-main-widget.component.d.ts +0 -32
- package/lib/profile-personal-info-other-nationalities-widget/profile-personal-info-other-nationalities-widget.component.d.ts +0 -27
- package/lib/profile-profile-personal-info-address-widget/profile-personal-info-address-widget.component.d.ts +0 -29
- /package/lib/{entitlements/profile-entitlements-medical-insurance-widget → my-entitlements/my-profile-medical-insurance-widget}/components/medical-insurance-card/medical-insurance-card.component.d.ts +0 -0
- /package/lib/{entitlements/profile-entitlements-ticket-widget → my-entitlements/my-profile-ticket-widget}/components/ticket-card/ticket-card.component.d.ts +0 -0
- /package/lib/{profile-documents-widgets → my-profile-documents-widgets}/components/document-card/document-card.component.d.ts +0 -0
- /package/lib/{profile-documents-widgets → my-profile-documents-widgets}/components/document-row/document-row.component.d.ts +0 -0
- /package/lib/{profile-documents-widgets → my-profile-documents-widgets}/components/document-tablet-card/document-tablet-card.component.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# shared-ui
|
|
1
|
+
# shared-ui
|
|
2
2
|
|
|
3
3
|
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.2.15.
|
|
4
4
|
|
|
@@ -32,26 +32,26 @@ components:
|
|
|
32
32
|
2. My Upcoming Events Widget
|
|
33
33
|
3. My Calendar Widget
|
|
34
34
|
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
|
|
35
|
+
5. My Profile Personal Info Main Widget
|
|
36
|
+
6. My Profile Personal Info Contact Widget
|
|
37
|
+
7. My Profile Personal Info Address Widget
|
|
38
|
+
8. My Profile Personal Info Languages Widget
|
|
39
|
+
9. My Profile Personal Info Other Nationalities Widget
|
|
40
|
+
10. My Profile Experiences Widget
|
|
41
|
+
11. My Profile Degrees Widget
|
|
42
|
+
12. My Profile Bank Information Widget
|
|
43
|
+
13. My Profile Job Info Main Widget
|
|
44
|
+
14. My Profile Job Info Contract Widget
|
|
45
|
+
15. My Profile Job Info Salary Widget
|
|
46
|
+
16. My Profile Job Info Service Charge Widget
|
|
47
|
+
17. My Profile Employee Dependents Widget
|
|
48
|
+
18. My Profile Entitlements Vacations Widget
|
|
49
|
+
19. My Profile Entitlements Indemnity Widget
|
|
50
|
+
20. My Profile Entitlements Ticket Widget
|
|
51
|
+
21. My Profile Entitlements Medical Insurance Widget
|
|
52
|
+
22. My Profile Entitlements Others Widget
|
|
53
|
+
23. My Profile Employee Documents Widget
|
|
54
|
+
24. My Profile Dependents Documents Widget
|
|
55
55
|
|
|
56
56
|
## Dependencies
|
|
57
57
|
This library depends on `@skysoftware-co/bayan-components-ui` package which provides:
|
|
@@ -328,18 +328,18 @@ This component displays a "Next Week Vacation Insights" card showing two badges:
|
|
|
328
328
|
- **Upcoming list**: `GET {baseUrl}/hr/widgets/me/team/next-week-vacation-insights/upcoming-vacations`
|
|
329
329
|
- **Expected to return list**: `GET {baseUrl}/hr/widgets/me/team/next-week-vacation-insights/expected-to-return`
|
|
330
330
|
|
|
331
|
-
## Profile Widgets
|
|
331
|
+
## My Profile Widgets
|
|
332
332
|
|
|
333
333
|
The package also exports profile-focused widgets used in the employee profile page.
|
|
334
334
|
|
|
335
|
-
## Profile Personal Info Main Widget
|
|
335
|
+
## My Profile Personal Info Main Widget
|
|
336
336
|
|
|
337
337
|
### Usage
|
|
338
338
|
```html
|
|
339
|
-
<hr-profile-personal-info-main-widget
|
|
339
|
+
<hr-my-profile-personal-info-main-widget
|
|
340
340
|
[baseUrl]="baseUrl"
|
|
341
341
|
(isLoadingChanged)="onMainLoadingChanged($event)">
|
|
342
|
-
</hr-profile-personal-info-main-widget>
|
|
342
|
+
</hr-my-profile-personal-info-main-widget>
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
### Input Properties
|
|
@@ -367,14 +367,14 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
367
367
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
368
368
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
369
369
|
|
|
370
|
-
## Profile Experiences Widget
|
|
370
|
+
## My Profile Experiences Widget
|
|
371
371
|
|
|
372
372
|
### Usage
|
|
373
373
|
```html
|
|
374
|
-
<hr-profile-experiences-widget
|
|
374
|
+
<hr-my-profile-experiences-widget
|
|
375
375
|
[baseUrl]="baseUrl"
|
|
376
376
|
(isLoadingChanged)="onExperiencesLoadingChanged($event)">
|
|
377
|
-
</hr-profile-experiences-widget>
|
|
377
|
+
</hr-my-profile-experiences-widget>
|
|
378
378
|
```
|
|
379
379
|
|
|
380
380
|
### Input Properties
|
|
@@ -410,14 +410,14 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
410
410
|
- `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
|
|
411
411
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
412
412
|
|
|
413
|
-
## Profile Degrees Widget
|
|
413
|
+
## My Profile Degrees Widget
|
|
414
414
|
|
|
415
415
|
### Usage
|
|
416
416
|
```html
|
|
417
|
-
<hr-profile-degrees-widget
|
|
417
|
+
<hr-my-profile-degrees-widget
|
|
418
418
|
[baseUrl]="baseUrl"
|
|
419
419
|
(isLoadingChanged)="onDegreesLoadingChanged($event)">
|
|
420
|
-
</hr-profile-degrees-widget>
|
|
420
|
+
</hr-my-profile-degrees-widget>
|
|
421
421
|
```
|
|
422
422
|
|
|
423
423
|
### Input Properties
|
|
@@ -453,15 +453,15 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
453
453
|
- `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
|
|
454
454
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
455
455
|
|
|
456
|
-
## Profile Personal Info Contact Widget
|
|
456
|
+
## My Profile Personal Info Contact Widget
|
|
457
457
|
|
|
458
458
|
### Usage
|
|
459
459
|
```html
|
|
460
|
-
<hr-profile-
|
|
460
|
+
<hr-my-profile-contact-widget
|
|
461
461
|
[baseUrl]="baseUrl"
|
|
462
462
|
[showEmergencyContact]="true"
|
|
463
463
|
(isLoadingChanged)="onContactLoadingChanged($event)">
|
|
464
|
-
</hr-profile-
|
|
464
|
+
</hr-my-profile-contact-widget>
|
|
465
465
|
```
|
|
466
466
|
|
|
467
467
|
### Input Properties
|
|
@@ -493,14 +493,14 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
493
493
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
494
494
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
495
495
|
|
|
496
|
-
## Profile Personal Info Address Widget
|
|
496
|
+
## My Profile Personal Info Address Widget
|
|
497
497
|
|
|
498
498
|
### Usage
|
|
499
499
|
```html
|
|
500
|
-
<hr-profile-
|
|
500
|
+
<hr-my-profile-address-widget
|
|
501
501
|
[baseUrl]="baseUrl"
|
|
502
502
|
(isLoadingChanged)="onAddressLoadingChanged($event)">
|
|
503
|
-
</hr-profile-
|
|
503
|
+
</hr-my-profile-address-widget>
|
|
504
504
|
```
|
|
505
505
|
|
|
506
506
|
### Input Properties
|
|
@@ -525,15 +525,15 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
525
525
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
526
526
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
527
527
|
|
|
528
|
-
## Profile Personal Info Languages Widget
|
|
528
|
+
## My Profile Personal Info Languages Widget
|
|
529
529
|
|
|
530
530
|
### Usage
|
|
531
531
|
```html
|
|
532
|
-
<hr-profile-
|
|
532
|
+
<hr-my-profile-languages-widget
|
|
533
533
|
[baseUrl]="baseUrl"
|
|
534
534
|
(hasDataChange)="onLanguagesDataChange($event)"
|
|
535
535
|
(isLoadingChanged)="onLanguagesLoadingChanged($event)">
|
|
536
|
-
</hr-profile-
|
|
536
|
+
</hr-my-profile-languages-widget>
|
|
537
537
|
```
|
|
538
538
|
|
|
539
539
|
### Input Properties
|
|
@@ -554,15 +554,15 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
554
554
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
555
555
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
556
556
|
|
|
557
|
-
## Profile Personal Info Other Nationalities Widget
|
|
557
|
+
## My Profile Personal Info Other Nationalities Widget
|
|
558
558
|
|
|
559
559
|
### Usage
|
|
560
560
|
```html
|
|
561
|
-
<hr-profile-
|
|
561
|
+
<hr-my-profile-other-nationalities-widget
|
|
562
562
|
[baseUrl]="baseUrl"
|
|
563
563
|
(hasDataChange)="onOtherNationalitiesDataChange($event)"
|
|
564
564
|
(isLoadingChanged)="onOtherNationalitiesLoadingChanged($event)">
|
|
565
|
-
</hr-profile-
|
|
565
|
+
</hr-my-profile-other-nationalities-widget>
|
|
566
566
|
```
|
|
567
567
|
|
|
568
568
|
### Input Properties
|
|
@@ -584,16 +584,16 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
584
584
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
585
585
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
586
586
|
|
|
587
|
-
## Profile Bank Information Widget
|
|
587
|
+
## My Profile Bank Information Widget
|
|
588
588
|
|
|
589
589
|
### Usage
|
|
590
590
|
```html
|
|
591
|
-
<hr-profile-bank-info-widget
|
|
591
|
+
<hr-my-profile-bank-info-widget
|
|
592
592
|
[baseUrl]="baseUrl"
|
|
593
593
|
[currencyCode]="currencyCode"
|
|
594
594
|
[currencyDecimals]="currencyDecimals"
|
|
595
595
|
(isLoadingChanged)="onBankLoadingChanged($event)">
|
|
596
|
-
</hr-profile-bank-info-widget>
|
|
596
|
+
</hr-my-profile-bank-info-widget>
|
|
597
597
|
```
|
|
598
598
|
|
|
599
599
|
### Input Properties
|
|
@@ -628,16 +628,16 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
628
628
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
629
629
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
630
630
|
|
|
631
|
-
## Profile Job Information Widgets
|
|
631
|
+
## My Profile Job Information Widgets
|
|
632
632
|
|
|
633
|
-
## Profile Job Info Main Widget
|
|
633
|
+
## My Profile Job Info Main Widget
|
|
634
634
|
|
|
635
635
|
### Usage
|
|
636
636
|
```html
|
|
637
|
-
<hr-profile-job-info-
|
|
637
|
+
<hr-my-profile-job-info-widget
|
|
638
638
|
[baseUrl]="baseUrl"
|
|
639
639
|
(isLoadingChanged)="onJobMainLoadingChanged($event)">
|
|
640
|
-
</hr-profile-job-info-
|
|
640
|
+
</hr-my-profile-job-info-widget>
|
|
641
641
|
```
|
|
642
642
|
|
|
643
643
|
### Input Properties
|
|
@@ -662,14 +662,14 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
662
662
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
663
663
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
664
664
|
|
|
665
|
-
## Profile Job Info Contract Widget
|
|
665
|
+
## My Profile Job Info Contract Widget
|
|
666
666
|
|
|
667
667
|
### Usage
|
|
668
668
|
```html
|
|
669
|
-
<hr-profile-
|
|
669
|
+
<hr-my-profile-contract-widget
|
|
670
670
|
[baseUrl]="baseUrl"
|
|
671
671
|
(isLoadingChanged)="onJobContractLoadingChanged($event)">
|
|
672
|
-
</hr-profile-
|
|
672
|
+
</hr-my-profile-contract-widget>
|
|
673
673
|
```
|
|
674
674
|
|
|
675
675
|
### Input Properties
|
|
@@ -694,16 +694,16 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
694
694
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
695
695
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
696
696
|
|
|
697
|
-
## Profile Job Info Salary Widget
|
|
697
|
+
## My Profile Job Info Salary Widget
|
|
698
698
|
|
|
699
699
|
### Usage
|
|
700
700
|
```html
|
|
701
|
-
<hr-profile-
|
|
701
|
+
<hr-my-profile-salary-widget
|
|
702
702
|
[baseUrl]="baseUrl"
|
|
703
703
|
[currencyCode]="currencyCode"
|
|
704
704
|
[currencyDecimals]="currencyDecimals"
|
|
705
705
|
(isLoadingChanged)="onJobSalaryLoadingChanged($event)">
|
|
706
|
-
</hr-profile-
|
|
706
|
+
</hr-my-profile-salary-widget>
|
|
707
707
|
```
|
|
708
708
|
|
|
709
709
|
### Input Properties
|
|
@@ -729,15 +729,15 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
729
729
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
730
730
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
731
731
|
|
|
732
|
-
## Profile Job Info Service Charge Widget
|
|
732
|
+
## My Profile Job Info Service Charge Widget
|
|
733
733
|
|
|
734
734
|
### Usage
|
|
735
735
|
```html
|
|
736
|
-
<hr-profile-
|
|
736
|
+
<hr-my-profile-charge-widget
|
|
737
737
|
[baseUrl]="baseUrl"
|
|
738
738
|
[currencyCode]="currencyCode"
|
|
739
739
|
(isLoadingChanged)="onJobServiceChargeLoadingChanged($event)">
|
|
740
|
-
</hr-profile-
|
|
740
|
+
</hr-my-profile-charge-widget>
|
|
741
741
|
```
|
|
742
742
|
|
|
743
743
|
### Input Properties
|
|
@@ -760,14 +760,14 @@ The package also exports profile-focused widgets used in the employee profile pa
|
|
|
760
760
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
761
761
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
762
762
|
|
|
763
|
-
## Profile Employee Dependents Widget
|
|
763
|
+
## My Profile Employee Dependents Widget
|
|
764
764
|
|
|
765
765
|
### Usage
|
|
766
766
|
```html
|
|
767
|
-
<hr-profile-dependents-widget
|
|
767
|
+
<hr-my-profile-dependents-widget
|
|
768
768
|
[baseUrl]="baseUrl"
|
|
769
769
|
(isLoadingChanged)="onDependentsLoadingChanged($event)">
|
|
770
|
-
</hr-profile-dependents-widget>
|
|
770
|
+
</hr-my-profile-dependents-widget>
|
|
771
771
|
```
|
|
772
772
|
|
|
773
773
|
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 +787,18 @@ This component displays employee dependents as cards (3 per row on large screens
|
|
|
787
787
|
### Output Events
|
|
788
788
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
789
789
|
|
|
790
|
-
## Profile Entitlement Widgets
|
|
790
|
+
## My Profile Entitlement Widgets
|
|
791
791
|
|
|
792
792
|
The package includes entitlement widgets for displaying employee benefits and entitlements in the profile page.
|
|
793
793
|
|
|
794
|
-
## Profile Entitlements Vacations Widget
|
|
794
|
+
## My Profile Entitlements Vacations Widget
|
|
795
795
|
|
|
796
796
|
### Usage
|
|
797
797
|
```html
|
|
798
|
-
<hr-profile-
|
|
798
|
+
<hr-my-profile-vacations-widget
|
|
799
799
|
[baseUrl]="baseUrl"
|
|
800
800
|
(isLoadingChanged)="onVacationsLoadingChanged($event)">
|
|
801
|
-
</hr-profile-
|
|
801
|
+
</hr-my-profile-vacations-widget>
|
|
802
802
|
```
|
|
803
803
|
|
|
804
804
|
This component displays a list of vacation entitlements (vacation type name and entitlement days) in a two-column grid layout.
|
|
@@ -824,15 +824,15 @@ This component displays a list of vacation entitlements (vacation type name and
|
|
|
824
824
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
825
825
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
826
826
|
|
|
827
|
-
## Profile Entitlements Indemnity Widget
|
|
827
|
+
## My Profile Entitlements Indemnity Widget
|
|
828
828
|
|
|
829
829
|
### Usage
|
|
830
830
|
```html
|
|
831
|
-
<hr-profile-
|
|
831
|
+
<hr-my-profile-indemnity-widget
|
|
832
832
|
[baseUrl]="baseUrl"
|
|
833
833
|
[currencyCode]="currencyCode"
|
|
834
834
|
(isLoadingChanged)="onIndemnityLoadingChanged($event)">
|
|
835
|
-
</hr-profile-
|
|
835
|
+
</hr-my-profile-indemnity-widget>
|
|
836
836
|
```
|
|
837
837
|
|
|
838
838
|
This component shows indemnity entitlement details including eligibility status, service years, and start date. Uses `hr-info-field` sub-components for layout.
|
|
@@ -862,17 +862,17 @@ This component shows indemnity entitlement details including eligibility status,
|
|
|
862
862
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
863
863
|
- `hasDataChanged: EventEmitter<boolean>` - Emitted when data availability changes after loading.
|
|
864
864
|
|
|
865
|
-
## Profile Entitlements Ticket Widget
|
|
865
|
+
## My Profile Entitlements Ticket Widget
|
|
866
866
|
|
|
867
867
|
### Usage
|
|
868
868
|
```html
|
|
869
|
-
<hr-profile-
|
|
869
|
+
<hr-my-profile-ticket-widget
|
|
870
870
|
[baseUrl]="baseUrl"
|
|
871
871
|
(isLoadingChanged)="onTicketLoadingChanged($event)">
|
|
872
|
-
</hr-profile-
|
|
872
|
+
</hr-my-profile-ticket-widget>
|
|
873
873
|
```
|
|
874
874
|
|
|
875
|
-
This component displays ticket entitlements as cards
|
|
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.
|
|
876
876
|
|
|
877
877
|
### Input Properties
|
|
878
878
|
| Input | Type | Default Value | Description |
|
|
@@ -897,17 +897,17 @@ This component displays ticket entitlements as cards — one for the employee an
|
|
|
897
897
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
898
898
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
899
899
|
|
|
900
|
-
## Profile Entitlements Medical Insurance Widget
|
|
900
|
+
## My Profile Entitlements Medical Insurance Widget
|
|
901
901
|
|
|
902
902
|
### Usage
|
|
903
903
|
```html
|
|
904
|
-
<hr-profile-
|
|
904
|
+
<hr-my-profile-medical-insurance-widget
|
|
905
905
|
[baseUrl]="baseUrl"
|
|
906
906
|
(isLoadingChanged)="onMedicalInsuranceLoadingChanged($event)">
|
|
907
|
-
</hr-profile-
|
|
907
|
+
</hr-my-profile-medical-insurance-widget>
|
|
908
908
|
```
|
|
909
909
|
|
|
910
|
-
This component displays medical insurance information as cards
|
|
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.
|
|
911
911
|
|
|
912
912
|
### Input Properties
|
|
913
913
|
| Input | Type | Default Value | Description |
|
|
@@ -932,14 +932,14 @@ This component displays medical insurance information as cards — the employee
|
|
|
932
932
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
933
933
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
934
934
|
|
|
935
|
-
## Profile Entitlements Others Widget
|
|
935
|
+
## My Profile Entitlements Others Widget
|
|
936
936
|
|
|
937
937
|
### Usage
|
|
938
938
|
```html
|
|
939
|
-
<hr-profile-entitlements-others-widget
|
|
939
|
+
<hr-my-profile-entitlements-others-widget
|
|
940
940
|
[baseUrl]="baseUrl"
|
|
941
941
|
(isLoadingChanged)="onOthersLoadingChanged($event)">
|
|
942
|
-
</hr-profile-entitlements-others-widget>
|
|
942
|
+
</hr-my-profile-entitlements-others-widget>
|
|
943
943
|
```
|
|
944
944
|
|
|
945
945
|
This component displays two fields: overtime eligibility (Eligible/NotEligible) and social security membership (Member/NotMember). Fetches both values via `forkJoin`.
|
|
@@ -962,17 +962,17 @@ This component displays two fields: overtime eligibility (Eligible/NotEligible)
|
|
|
962
962
|
- `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
|
|
963
963
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
964
964
|
|
|
965
|
-
## Profile Employee Documents Widget
|
|
965
|
+
## My Profile Employee Documents Widget
|
|
966
966
|
|
|
967
967
|
### Usage
|
|
968
968
|
```html
|
|
969
|
-
<hr-profile-personal-documents-widget
|
|
969
|
+
<hr-my-profile-personal-documents-widget
|
|
970
970
|
[baseUrl]="baseUrl"
|
|
971
971
|
[employeeName]="employeeName"
|
|
972
972
|
(isLoadingChanged)="onLoadingChanged($event)"
|
|
973
973
|
(attachmentViewed)="onAttachmentViewed($event)"
|
|
974
974
|
(attachmentDownloaded)="onAttachmentDownloaded($event)">
|
|
975
|
-
</hr-profile-personal-documents-widget>
|
|
975
|
+
</hr-my-profile-personal-documents-widget>
|
|
976
976
|
```
|
|
977
977
|
|
|
978
978
|
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 +1028,16 @@ This component displays employee personal/official documents in a table layout (
|
|
|
1028
1028
|
- `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
|
|
1029
1029
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
1030
1030
|
|
|
1031
|
-
## Profile Dependents Documents Widget
|
|
1031
|
+
## My Profile Dependents Documents Widget
|
|
1032
1032
|
|
|
1033
1033
|
### Usage
|
|
1034
1034
|
```html
|
|
1035
|
-
<hr-profile-dependents-documents-widget
|
|
1035
|
+
<hr-my-profile-dependents-documents-widget
|
|
1036
1036
|
[baseUrl]="baseUrl"
|
|
1037
1037
|
(isLoadingChanged)="onLoadingChanged($event)"
|
|
1038
1038
|
(attachmentViewed)="onAttachmentViewed($event)"
|
|
1039
1039
|
(attachmentDownloaded)="onAttachmentDownloaded($event)">
|
|
1040
|
-
</hr-profile-dependents-documents-widget>
|
|
1040
|
+
</hr-my-profile-dependents-documents-widget>
|
|
1041
1041
|
```
|
|
1042
1042
|
|
|
1043
1043
|
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 +1091,4 @@ This component displays dependent documents grouped by dependent. Each group sho
|
|
|
1091
1091
|
- `attachmentViewed: EventEmitter<any>` - Emitted when attachment view icon is clicked.
|
|
1092
1092
|
- `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
|
|
1093
1093
|
- `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
|
|
1094
|
+
|