@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 CHANGED
@@ -31,7 +31,7 @@ components:
31
31
  1. My Main Details Widget
32
32
  2. My Upcoming Events Widget
33
33
  3. My Calendar Widget
34
-
34
+
35
35
  ## Dependencies
36
36
  This library depends on `@skysoftware-co/bayan-components-ui` package which provides:
37
37
  - Employee Badge Component
@@ -243,6 +243,7 @@ This component displays an employee calendar showing vacations, public holidays,
243
243
  |-------|------|---------------|-------------|
244
244
  | `baseUrl` | string | `''` | Base URL for API calls |
245
245
  | `headerContainerClass` | string | `''` | Additional CSS class for the header container |
246
+ | `datasource` | `ScheduleRequestsResponse \| null` | `null` | External datasource for pending requests. When provided, pending vacation requests are merged with calendar vacations (consecutive same-type vacations are combined), and pending event requests are added as events. The calendar reactively updates whenever this input changes after the initial calendar data has loaded. |
246
247
  | `publicHolidayColor` | string | from `HRConstantsService`: `'#249EA0'` | Color for public holidays |
247
248
  | `dayOffColor` | string | from `HRConstantsService`: `'#FCCF5A'` | Color for days off |
248
249
  | `eventsColor` | string | from `HRConstantsService`: `'#e67e0f'` | Color for events |