@skysoftware-co/bayan-hr-widgets-ui 1.0.20 → 1.0.22

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
@@ -344,6 +344,83 @@ The package also exports profile-focused widgets used in the employee profile pa
344
344
  - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
345
345
  - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
346
346
 
347
+ ## Profile Experiences Widget
348
+
349
+ ### Usage
350
+ ```html
351
+ <hr-profile-experiences-widget
352
+ [baseUrl]="baseUrl"
353
+ (isLoadingChanged)="onExperiencesLoadingChanged($event)">
354
+ </hr-profile-experiences-widget>
355
+ ```
356
+
357
+ ### Input Properties
358
+ | Input | Type | Default Value | Description |
359
+ |-------|------|---------------|-------------|
360
+ | `baseUrl` | string | `''` | Base URL for API calls. |
361
+ | `sectionTitle` | string | `'experiences'` | Section title translation key. |
362
+ | `experienceIcon` | IconDefinition | `faUsersRays` | Header icon. |
363
+ | `viewIcon` | IconDefinition | `faEye` | Attachment view icon. |
364
+ | `downloadIcon` | IconDefinition | `faFolderArrowDown` | Attachment download icon. |
365
+ | `headerIconClass` | string | `'primary-icon-xl'` | Header icon CSS class. |
366
+ | `headerTextClass` | string | `'fs-16 mt-2 text-secondary'` | Header text CSS class. |
367
+ | `headerDividerClass` | string | `'flex-grow-1 ms-2'` | Header divider CSS class. |
368
+ | `rowClass` | string | `'row mt-4'` | Main row CSS class. |
369
+ | `itemRowClass` | string | `'row col-10 mt-3'` | Experience row CSS class. |
370
+ | `itemColumnClass` | string | `'col-3'` | Column CSS class. |
371
+ | `labelClass` | string | `'field-secondary-label-sm'` | `hr-info-field` label CSS class. |
372
+ | `valueClass` | string | `'text-dark-gray fs-14 text-ellipsis-one-line cursor-pointer'` | `hr-info-field` value CSS class. |
373
+ | `actionsColumnClass` | string | `'col-2 mt-3'` | Attachment action column CSS class. |
374
+ | `viewIconClass` | string | `'fs-15 text-dark cursor-pointer'` | View icon CSS class. |
375
+ | `downloadIconClass` | string | `'fs-15 text-dark cursor-pointer mx-2'` | Download icon CSS class. |
376
+ | `emptyStateContainerClass` | string | `'d-flex flex-column justify-content-center align-items-center my-5'` | Empty/loading container CSS class. |
377
+ | `emptyStateTextClass` | string | `'field-secondary-label-md'` | Empty/loading text CSS class. |
378
+
379
+ ### Output Events
380
+ - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
381
+ - `attachmentViewed: EventEmitter<any>` - Emitted when attachment view icon is clicked.
382
+ - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
383
+ - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
384
+
385
+ ## Profile Degrees Widget
386
+
387
+ ### Usage
388
+ ```html
389
+ <hr-profile-degrees-widget
390
+ [baseUrl]="baseUrl"
391
+ (isLoadingChanged)="onDegreesLoadingChanged($event)">
392
+ </hr-profile-degrees-widget>
393
+ ```
394
+
395
+ ### Input Properties
396
+ | Input | Type | Default Value | Description |
397
+ |-------|------|---------------|-------------|
398
+ | `baseUrl` | string | `''` | Base URL for API calls. |
399
+ | `sectionTitle` | string | `'degrees'` | Section title translation key. |
400
+ | `degreesIcon` | IconDefinition | `faFileCertificate` | Header icon. |
401
+ | `viewIcon` | IconDefinition | `faEye` | Attachment view icon. |
402
+ | `downloadIcon` | IconDefinition | `faFolderArrowDown` | Attachment download icon. |
403
+ | `headerIconClass` | string | `'primary-icon-xl'` | Header icon CSS class. |
404
+ | `headerTextClass` | string | `'fs-16 mt-2 text-secondary'` | Header text CSS class. |
405
+ | `headerDividerClass` | string | `'flex-grow-1 ms-2'` | Header divider CSS class. |
406
+ | `rowClass` | string | `'row mt-4'` | Main row CSS class. |
407
+ | `itemRowClass` | string | `'row col-10 mt-3'` | Degree row CSS class. |
408
+ | `itemColumnClass` | string | `'col-3'` | Column CSS class. |
409
+ | `labelClass` | string | `'field-secondary-label-sm'` | `hr-info-field` label CSS class. |
410
+ | `valueClass` | string | `'text-dark-gray fs-14'` | `hr-info-field` main value CSS class. |
411
+ | `valueEllipsisClass` | string | `'text-dark-gray fs-14 text-ellipsis-one-line cursor-pointer'` | `hr-info-field` ellipsis value CSS class. |
412
+ | `actionsColumnClass` | string | `'col-2 align-items-end mt-3'` | Attachment action column CSS class. |
413
+ | `viewIconClass` | string | `'fs-15 text-dark cursor-pointer'` | View icon CSS class. |
414
+ | `downloadIconClass` | string | `'fs-15 mx-3 text-dark cursor-pointer'` | Download icon CSS class. |
415
+ | `emptyStateContainerClass` | string | `'d-flex flex-column justify-content-center align-items-center my-5'` | Empty/loading container CSS class. |
416
+ | `emptyStateTextClass` | string | `'field-secondary-label-md'` | Empty/loading text CSS class. |
417
+
418
+ ### Output Events
419
+ - `isLoadingChanged: EventEmitter<boolean>` - Emitted when loading state changes.
420
+ - `attachmentViewed: EventEmitter<any>` - Emitted when attachment view icon is clicked.
421
+ - `attachmentDownloaded: EventEmitter<any>` - Emitted when attachment download icon is clicked.
422
+ - `errorOccurred: EventEmitter<string>` - Emitted when API request fails.
423
+
347
424
  ## Profile Personal Info Contact Widget
348
425
 
349
426
  ### Usage