@skysoftware-co/bayan-hr-widgets-ui 1.0.24 → 1.0.26
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 +10 -88
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +67 -190
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-calendar-widget/my-calendar-widget.component.d.ts +7 -16
- package/lib/{my-vacation-team-widget/components/vacation-subordinates-popup/vacation-subordinates-popup.component.d.ts → my-next-week-vacation-insights-widget/components/next-week-vacation-insights-popup/next-week-vacation-insights-popup.component.d.ts} +3 -3
- package/lib/{my-vacation-team-widget/my-vacation-team-widget.component.d.ts → my-next-week-vacation-insights-widget/my-next-week-vacation-insights-widget.component.d.ts} +3 -3
- package/lib/profile-degrees-widget/profile-degrees-widget-component.d.ts +5 -4
- package/lib/shared/types/common.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
3
|
-
import { ScheduleCalenderVacation
|
|
3
|
+
import { ScheduleCalenderVacation } from '../shared/types/common';
|
|
4
4
|
import { HREmployeeCalendarComponent } from '../shared/components/hr-employee-calendar/hr-employee-calendar.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MyCalendarWidgetComponent implements OnInit
|
|
6
|
+
export declare class MyCalendarWidgetComponent implements OnInit {
|
|
7
7
|
private selfWidgetsService;
|
|
8
8
|
baseUrl: string;
|
|
9
9
|
headerContainerClass: string;
|
|
10
|
-
datasource: ScheduleRequestsResponse | null;
|
|
11
10
|
isLoadingChanged: EventEmitter<boolean>;
|
|
12
|
-
|
|
11
|
+
calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
12
|
legendContainerClass: string;
|
|
14
13
|
legendRowClass: string;
|
|
15
14
|
legendItemClass: string;
|
|
@@ -23,8 +22,8 @@ export declare class MyCalendarWidgetComponent implements OnInit, OnChanges {
|
|
|
23
22
|
vacationsIconClass: string;
|
|
24
23
|
calendarContainerClass: string;
|
|
25
24
|
calendarClass: string;
|
|
26
|
-
private
|
|
27
|
-
private
|
|
25
|
+
private constants;
|
|
26
|
+
private translatePipe;
|
|
28
27
|
publicHolidayColor: string;
|
|
29
28
|
dayOffColor: string;
|
|
30
29
|
eventsColor: string;
|
|
@@ -32,19 +31,11 @@ export declare class MyCalendarWidgetComponent implements OnInit, OnChanges {
|
|
|
32
31
|
scheduleCalenderVacation: ScheduleCalenderVacation[];
|
|
33
32
|
minDate: Date;
|
|
34
33
|
maxDate: Date;
|
|
35
|
-
private baseCalendarData;
|
|
36
|
-
private hrVacations;
|
|
37
|
-
private calendarLoaded;
|
|
38
34
|
constructor(selfWidgetsService: HRSelfWidgetsService);
|
|
39
35
|
ngOnInit(): void;
|
|
40
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
-
private initDateRange;
|
|
42
36
|
private getCalendar;
|
|
43
37
|
private loadCalendar;
|
|
44
38
|
private mapCalendarData;
|
|
45
|
-
private buildCalendarData;
|
|
46
|
-
private refreshCalendar;
|
|
47
|
-
private mergeConsecutiveVacations;
|
|
48
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<MyCalendarWidgetComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MyCalendarWidgetComponent, "hr-my-calendar-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerContainerClass": { "alias": "headerContainerClass"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyCalendarWidgetComponent, "hr-my-calendar-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "headerContainerClass": { "alias": "headerContainerClass"; "required": false; }; "legendContainerClass": { "alias": "legendContainerClass"; "required": false; }; "legendRowClass": { "alias": "legendRowClass"; "required": false; }; "legendItemClass": { "alias": "legendItemClass"; "required": false; }; "legendDotClass": { "alias": "legendDotClass"; "required": false; }; "legendLabelClass": { "alias": "legendLabelClass"; "required": false; }; "publicHolidayDotClass": { "alias": "publicHolidayDotClass"; "required": false; }; "dayOffDotClass": { "alias": "dayOffDotClass"; "required": false; }; "eventsDotClass": { "alias": "eventsDotClass"; "required": false; }; "vacationsContainerClass": { "alias": "vacationsContainerClass"; "required": false; }; "vacationsItemClass": { "alias": "vacationsItemClass"; "required": false; }; "vacationsIconClass": { "alias": "vacationsIconClass"; "required": false; }; "calendarContainerClass": { "alias": "calendarContainerClass"; "required": false; }; "calendarClass": { "alias": "calendarClass"; "required": false; }; "publicHolidayColor": { "alias": "publicHolidayColor"; "required": false; }; "dayOffColor": { "alias": "dayOffColor"; "required": false; }; "eventsColor": { "alias": "eventsColor"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
50
41
|
}
|
|
@@ -5,7 +5,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
5
5
|
import CustomStore from 'devextreme/data/custom_store';
|
|
6
6
|
import { VacationPopupType } from '../../../shared/types/common';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class HRNextWeekVacationInsightsPopupComponent {
|
|
9
9
|
private http;
|
|
10
10
|
dataGrid: DxDataGridComponent;
|
|
11
11
|
popupVisible: boolean;
|
|
@@ -33,6 +33,6 @@ export declare class HRVacationSubordinatesPopupComponent {
|
|
|
33
33
|
onHidden(): void;
|
|
34
34
|
getEmployeeBadge(item: any): BayanEmployeeBadgeDTO;
|
|
35
35
|
handleEmployeePhotoError(employee: any): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRNextWeekVacationInsightsPopupComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HRNextWeekVacationInsightsPopupComponent, "hr-next-week-vacation-insights-popup", never, { "popupVisible": { "alias": "popupVisible"; "required": false; }; "popupType": { "alias": "popupType"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "gridHeight": { "alias": "gridHeight"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showProperty": { "alias": "showProperty"; "required": false; }; }, { "closePopupClickHandler": "closePopupClickHandler"; }, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -4,7 +4,7 @@ import { SkyWidgetSectionItem } from '@skysoftware-co/sky-components-ui';
|
|
|
4
4
|
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
5
5
|
import { VacationPopupType } from '../shared/types/common';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class MyNextWeekVacationInsightsWidgetComponent implements OnInit {
|
|
8
8
|
private selfWidgetsService;
|
|
9
9
|
private translatePipe;
|
|
10
10
|
baseUrl: string;
|
|
@@ -28,6 +28,6 @@ export declare class MyVacationTeamWidgetComponent implements OnInit {
|
|
|
28
28
|
openPopup(type: VacationPopupType): void;
|
|
29
29
|
closePopup(): void;
|
|
30
30
|
private initBadges;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyNextWeekVacationInsightsWidgetComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyNextWeekVacationInsightsWidgetComponent, "hr-my-next-week-vacation-insights-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "showProperty": { "alias": "showProperty"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "titleClass": { "alias": "titleClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "disabledValueClass": { "alias": "disabledValueClass"; "required": false; }; "upcomingContainerClass": { "alias": "upcomingContainerClass"; "required": false; }; "expectedContainerClass": { "alias": "expectedContainerClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; }, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -20,16 +20,17 @@ export declare class ProfileDegreesWidgetComponent implements OnInit {
|
|
|
20
20
|
rowMarginBottomEmptyClass: string;
|
|
21
21
|
headerRowClass: string;
|
|
22
22
|
actionsSpacerClass: string;
|
|
23
|
-
itemRowClass: string;
|
|
24
|
-
itemColumnClass: string;
|
|
25
23
|
labelClass: string;
|
|
26
24
|
valueClass: string;
|
|
27
25
|
valueEllipsisClass: string;
|
|
28
|
-
actionsColumnClass: string;
|
|
29
26
|
viewIconClass: string;
|
|
30
27
|
downloadIconClass: string;
|
|
31
28
|
emptyStateContainerClass: string;
|
|
32
29
|
emptyStateTextClass: string;
|
|
30
|
+
itemRowClass: string;
|
|
31
|
+
itemColumnsWrapperClass: string;
|
|
32
|
+
itemColumnClass: string;
|
|
33
|
+
actionsColumnClass: string;
|
|
33
34
|
isLoadingChanged: EventEmitter<boolean>;
|
|
34
35
|
attachmentViewed: EventEmitter<any>;
|
|
35
36
|
attachmentDownloaded: EventEmitter<any>;
|
|
@@ -40,5 +41,5 @@ export declare class ProfileDegreesWidgetComponent implements OnInit {
|
|
|
40
41
|
onAttachmentView(file: any): void;
|
|
41
42
|
onAttachmentDownload(file: any): void;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileDegreesWidgetComponent, never>;
|
|
43
|
-
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; }; "rowMarginBottomClass": { "alias": "rowMarginBottomClass"; "required": false; }; "rowMarginBottomEmptyClass": { "alias": "rowMarginBottomEmptyClass"; "required": false; }; "headerRowClass": { "alias": "headerRowClass"; "required": false; }; "actionsSpacerClass": { "alias": "actionsSpacerClass"; "required": false; }; "
|
|
44
|
+
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; }; "rowMarginBottomClass": { "alias": "rowMarginBottomClass"; "required": false; }; "rowMarginBottomEmptyClass": { "alias": "rowMarginBottomEmptyClass"; "required": false; }; "headerRowClass": { "alias": "headerRowClass"; "required": false; }; "actionsSpacerClass": { "alias": "actionsSpacerClass"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "required": false; }; "valueEllipsisClass": { "alias": "valueEllipsisClass"; "required": false; }; "viewIconClass": { "alias": "viewIconClass"; "required": false; }; "downloadIconClass": { "alias": "downloadIconClass"; "required": false; }; "emptyStateContainerClass": { "alias": "emptyStateContainerClass"; "required": false; }; "emptyStateTextClass": { "alias": "emptyStateTextClass"; "required": false; }; "itemRowClass": { "alias": "itemRowClass"; "required": false; }; "itemColumnsWrapperClass": { "alias": "itemColumnsWrapperClass"; "required": false; }; "itemColumnClass": { "alias": "itemColumnClass"; "required": false; }; "actionsColumnClass": { "alias": "actionsColumnClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "attachmentViewed": "attachmentViewed"; "attachmentDownloaded": "attachmentDownloaded"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
44
45
|
}
|
|
@@ -243,10 +243,6 @@ export type EntitlementsMedicalInsurance = {
|
|
|
243
243
|
TotalEmployeeShare: number | null;
|
|
244
244
|
TotalEmployerShare: number | null;
|
|
245
245
|
};
|
|
246
|
-
export type DocumentModel = {
|
|
247
|
-
Key: string;
|
|
248
|
-
ContentType: string;
|
|
249
|
-
};
|
|
250
246
|
export type Degree = {
|
|
251
247
|
DegreeName: string;
|
|
252
248
|
DegreeYear: string;
|
|
@@ -263,3 +259,7 @@ export type Experience = {
|
|
|
263
259
|
TerminationReason: string;
|
|
264
260
|
Document: DocumentModel | null;
|
|
265
261
|
};
|
|
262
|
+
export type DocumentModel = {
|
|
263
|
+
Key: string;
|
|
264
|
+
ContentType: string;
|
|
265
|
+
};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export * from './lib/profile-job-info-main-widget/profile-job-info-main-widget.c
|
|
|
17
17
|
export * from './lib/profile-job-info-contract-widget/profile-job-info-contract-widget.component';
|
|
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
|
-
export * from './lib/my-vacation-
|
|
20
|
+
export * from './lib/my-next-week-vacation-insights-widget/my-next-week-vacation-insights-widget.component';
|
|
21
21
|
export * from './lib/profile-experiences-widget/profile-experiences-widget-component';
|
|
22
22
|
export * from './lib/profile-degrees-widget/profile-degrees-widget-component';
|