@skysoftware-co/bayan-hr-widgets-ui 1.0.21 → 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 +77 -0
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +295 -8
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/profile-degrees-widget/profile-degrees-widget-component.d.ts +39 -0
- package/lib/profile-experiences-widget/profile-experiences-widget-component.d.ts +38 -0
- package/lib/shared/types/common.d.ts +16 -16
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
4
|
+
import { Degree } from '../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileDegreesWidgetComponent implements OnInit {
|
|
7
|
+
private readonly service;
|
|
8
|
+
degrees: Degree[];
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
sectionTitle: string;
|
|
12
|
+
degreesIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
13
|
+
viewIcon: IconDefinition;
|
|
14
|
+
downloadIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
15
|
+
headerIconClass: string;
|
|
16
|
+
headerTextClass: string;
|
|
17
|
+
headerDividerClass: string;
|
|
18
|
+
rowClass: string;
|
|
19
|
+
itemRowClass: string;
|
|
20
|
+
itemColumnClass: string;
|
|
21
|
+
labelClass: string;
|
|
22
|
+
valueClass: string;
|
|
23
|
+
valueEllipsisClass: string;
|
|
24
|
+
actionsColumnClass: string;
|
|
25
|
+
viewIconClass: string;
|
|
26
|
+
downloadIconClass: string;
|
|
27
|
+
emptyStateContainerClass: string;
|
|
28
|
+
emptyStateTextClass: string;
|
|
29
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
30
|
+
attachmentViewed: EventEmitter<any>;
|
|
31
|
+
attachmentDownloaded: EventEmitter<any>;
|
|
32
|
+
errorOccurred: EventEmitter<string>;
|
|
33
|
+
constructor(service: HRSelfWidgetsService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
onAttachmentView(file: any): void;
|
|
36
|
+
onAttachmentDownload(file: any): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileDegreesWidgetComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileDegreesWidgetComponent, "hr-profile-degrees-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "degreesIcon": { "alias": "degreesIcon"; "required": false; }; "viewIcon": { "alias": "viewIcon"; "required": false; }; "downloadIcon": { "alias": "downloadIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "itemRowClass": { "alias": "itemRowClass"; "required": false; }; "itemColumnClass": { "alias": "itemColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "valueEllipsisClass": { "alias": "valueEllipsisClass"; "required": false; }; "actionsColumnClass": { "alias": "actionsColumnClass"; "required": false; }; "viewIconClass": { "alias": "viewIconClass"; "required": false; }; "downloadIconClass": { "alias": "downloadIconClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "attachmentViewed": "attachmentViewed"; "attachmentDownloaded": "attachmentDownloaded"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
4
|
+
import { Experience } from '../shared/types/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileExperiencesWidgetComponent implements OnInit {
|
|
7
|
+
private service;
|
|
8
|
+
experiences: Experience[];
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
sectionTitle: string;
|
|
12
|
+
viewIcon: IconDefinition;
|
|
13
|
+
downloadIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
14
|
+
experienceIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
15
|
+
headerIconClass: string;
|
|
16
|
+
headerTextClass: string;
|
|
17
|
+
headerDividerClass: string;
|
|
18
|
+
rowClass: string;
|
|
19
|
+
itemRowClass: string;
|
|
20
|
+
itemColumnClass: string;
|
|
21
|
+
labelClass: string;
|
|
22
|
+
valueClass: string;
|
|
23
|
+
actionsColumnClass: string;
|
|
24
|
+
viewIconClass: string;
|
|
25
|
+
downloadIconClass: string;
|
|
26
|
+
emptyStateContainerClass: string;
|
|
27
|
+
emptyStateTextClass: string;
|
|
28
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
29
|
+
attachmentViewed: EventEmitter<any>;
|
|
30
|
+
attachmentDownloaded: EventEmitter<any>;
|
|
31
|
+
errorOccurred: EventEmitter<string>;
|
|
32
|
+
constructor(service: HRSelfWidgetsService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
onAttachmentView(file: any): void;
|
|
35
|
+
onAttachmentDownload(file: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileExperiencesWidgetComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileExperiencesWidgetComponent, "hr-profile-experiences-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "viewIcon": { "alias": "viewIcon"; "required": false; }; "downloadIcon": { "alias": "downloadIcon"; "required": false; }; "experienceIcon": { "alias": "experienceIcon"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "headerTextClass": { "alias": "headerTextClass"; "required": false; }; "headerDividerClass": { "alias": "headerDividerClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "itemRowClass": { "alias": "itemRowClass"; "required": false; }; "itemColumnClass": { "alias": "itemColumnClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "actionsColumnClass": { "alias": "actionsColumnClass"; "required": false; }; "viewIconClass": { "alias": "viewIconClass"; "required": false; }; "downloadIconClass": { "alias": "downloadIconClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "attachmentViewed": "attachmentViewed"; "attachmentDownloaded": "attachmentDownloaded"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -186,14 +186,27 @@ export declare enum VacationPopupType {
|
|
|
186
186
|
Upcoming = 1,
|
|
187
187
|
ExpectedToReturn = 2
|
|
188
188
|
}
|
|
189
|
+
export type ScheduleRequestsResponse = {
|
|
190
|
+
PendingVacationRequests: {
|
|
191
|
+
VacationTypeName: string;
|
|
192
|
+
Color: string;
|
|
193
|
+
StartDate: Date;
|
|
194
|
+
EndDate: Date;
|
|
195
|
+
}[];
|
|
196
|
+
PendingEventRequests: {
|
|
197
|
+
Description: string;
|
|
198
|
+
StartDate: Date;
|
|
199
|
+
EndDate: Date;
|
|
200
|
+
}[];
|
|
201
|
+
};
|
|
189
202
|
export type EntitlementsVacation = {
|
|
190
|
-
VacationTypeName: string;
|
|
191
|
-
EntitlementDays:
|
|
203
|
+
VacationTypeName: string | null;
|
|
204
|
+
EntitlementDays: number | null;
|
|
192
205
|
};
|
|
193
206
|
export type EntitlementsIndemnity = {
|
|
194
207
|
IsEligibleForIndemnity: boolean | null;
|
|
195
208
|
IndemnityServiceYears: number | null;
|
|
196
|
-
IndemnityStartDate: Date | null;
|
|
209
|
+
IndemnityStartDate: string | Date | null;
|
|
197
210
|
IndemnitySalary: number | null;
|
|
198
211
|
};
|
|
199
212
|
export type EmployeeTicketDetails = {
|
|
@@ -230,19 +243,6 @@ export type EntitlementsMedicalInsurance = {
|
|
|
230
243
|
TotalEmployeeShare: number | null;
|
|
231
244
|
TotalEmployerShare: number | null;
|
|
232
245
|
};
|
|
233
|
-
export type ScheduleRequestsResponse = {
|
|
234
|
-
PendingVacationRequests: {
|
|
235
|
-
VacationTypeName: string;
|
|
236
|
-
Color: string;
|
|
237
|
-
StartDate: Date;
|
|
238
|
-
EndDate: Date;
|
|
239
|
-
}[];
|
|
240
|
-
PendingEventRequests: {
|
|
241
|
-
Description: string;
|
|
242
|
-
StartDate: Date;
|
|
243
|
-
EndDate: Date;
|
|
244
|
-
}[];
|
|
245
|
-
};
|
|
246
246
|
export type DocumentModel = {
|
|
247
247
|
Key: string;
|
|
248
248
|
ContentType: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -18,3 +18,5 @@ export * from './lib/profile-job-info-contract-widget/profile-job-info-contract-
|
|
|
18
18
|
export * from './lib/profile-job-info-salary-widget/profile-job-info-salary-widget.component';
|
|
19
19
|
export * from './lib/profile-job-info-service-charge-widget/profile-job-info-service-charge-widget.component';
|
|
20
20
|
export * from './lib/my-vacation-team-widget/my-vacation-team-widget.component';
|
|
21
|
+
export * from './lib/profile-experiences-widget/profile-experiences-widget-component';
|
|
22
|
+
export * from './lib/profile-degrees-widget/profile-degrees-widget-component';
|