@skysoftware-co/bayan-hr-widgets-ui 1.0.27 → 1.0.29
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 +88 -10
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +108 -21
- package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
- package/lib/my-vacation-team-widget/components/vacation-subordinates-popup/vacation-subordinates-popup.component.d.ts +38 -0
- package/lib/my-vacation-team-widget/my-vacation-team-widget.component.d.ts +33 -0
- package/lib/profile-experiences-widget/profile-experiences-widget-component.d.ts +8 -4
- package/lib/shared/types/common.d.ts +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
|
|
4
|
+
import { HttpClient } from '@angular/common/http';
|
|
5
|
+
import CustomStore from 'devextreme/data/custom_store';
|
|
6
|
+
import { VacationPopupType } from '../../../shared/types/common';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class HRVacationSubordinatesPopupComponent {
|
|
9
|
+
private http;
|
|
10
|
+
dataGrid: DxDataGridComponent;
|
|
11
|
+
popupVisible: boolean;
|
|
12
|
+
popupType: VacationPopupType;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
gridHeight: string;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
showProperty: boolean;
|
|
19
|
+
closePopupClickHandler: EventEmitter<any>;
|
|
20
|
+
popupTitle: string;
|
|
21
|
+
popupSubTitle: string;
|
|
22
|
+
keyExpr: string;
|
|
23
|
+
VacationPopupType: typeof VacationPopupType;
|
|
24
|
+
dataSource: CustomStore | null;
|
|
25
|
+
xMarkIcon: import("@fortawesome/pro-light-svg-icons").IconDefinition;
|
|
26
|
+
searchValue: string;
|
|
27
|
+
constructor(http: HttpClient);
|
|
28
|
+
onShown(): void;
|
|
29
|
+
private initDataSource;
|
|
30
|
+
onSearchValueChanged(e: any): void;
|
|
31
|
+
getPopupTitle(): string;
|
|
32
|
+
onPopupClose(): void;
|
|
33
|
+
onHidden(): void;
|
|
34
|
+
getEmployeeBadge(item: any): BayanEmployeeBadgeDTO;
|
|
35
|
+
handleEmployeePhotoError(employee: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HRVacationSubordinatesPopupComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HRVacationSubordinatesPopupComponent, "hr-vacation-subordinates-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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HRTranslatePipe } from '../shared/pipes/translate.pipe';
|
|
3
|
+
import { SkyWidgetSectionItem } from '@skysoftware-co/sky-components-ui';
|
|
4
|
+
import { HRSelfWidgetsService } from '../services/hr-self-widgets.service';
|
|
5
|
+
import { VacationPopupType } from '../shared/types/common';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MyVacationTeamWidgetComponent implements OnInit {
|
|
8
|
+
private selfWidgetsService;
|
|
9
|
+
private translatePipe;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
showProperty: boolean;
|
|
12
|
+
cardClass: string;
|
|
13
|
+
titleClass: string;
|
|
14
|
+
valueClass: string;
|
|
15
|
+
disabledValueClass: string;
|
|
16
|
+
upcomingContainerClass: string;
|
|
17
|
+
expectedContainerClass: string;
|
|
18
|
+
isLoadingChanged: EventEmitter<boolean>;
|
|
19
|
+
popupVisible: boolean;
|
|
20
|
+
popupType: VacationPopupType;
|
|
21
|
+
popupBaseUrl: string;
|
|
22
|
+
VacationPopupType: typeof VacationPopupType;
|
|
23
|
+
upcomingVacationsBadge: SkyWidgetSectionItem;
|
|
24
|
+
expectedToReturnBadge: SkyWidgetSectionItem;
|
|
25
|
+
constructor(selfWidgetsService: HRSelfWidgetsService, translatePipe: HRTranslatePipe);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
private loadVacationSummary;
|
|
28
|
+
openPopup(type: VacationPopupType): void;
|
|
29
|
+
closePopup(): void;
|
|
30
|
+
private initBadges;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyVacationTeamWidgetComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyVacationTeamWidgetComponent, "hr-my-vacation-team-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
|
+
}
|
|
@@ -16,15 +16,18 @@ export declare class ProfileExperiencesWidgetComponent implements OnInit {
|
|
|
16
16
|
headerTextClass: string;
|
|
17
17
|
headerDividerClass: string;
|
|
18
18
|
rowClass: string;
|
|
19
|
-
itemRowClass: string;
|
|
20
|
-
itemColumnClass: string;
|
|
21
19
|
labelClass: string;
|
|
22
20
|
valueClass: string;
|
|
23
|
-
actionsColumnClass: string;
|
|
24
21
|
viewIconClass: string;
|
|
25
22
|
downloadIconClass: string;
|
|
26
23
|
emptyStateContainerClass: string;
|
|
27
24
|
emptyStateTextClass: string;
|
|
25
|
+
itemRowClass: string;
|
|
26
|
+
itemColumnsWrapperClass: string;
|
|
27
|
+
itemColumnClass: string;
|
|
28
|
+
actionsColumnClass: string;
|
|
29
|
+
rowMarginBottomClass: string;
|
|
30
|
+
rowMarginBottomEmptyClass: string;
|
|
28
31
|
isLoadingChanged: EventEmitter<boolean>;
|
|
29
32
|
attachmentViewed: EventEmitter<any>;
|
|
30
33
|
attachmentDownloaded: EventEmitter<any>;
|
|
@@ -33,6 +36,7 @@ export declare class ProfileExperiencesWidgetComponent implements OnInit {
|
|
|
33
36
|
ngOnInit(): void;
|
|
34
37
|
onAttachmentView(file: any): void;
|
|
35
38
|
onAttachmentDownload(file: any): void;
|
|
39
|
+
get wrapperClass(): string;
|
|
36
40
|
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; }; "
|
|
41
|
+
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; }; "labelClass": { "alias": "labelClass"; "required": false; }; "valueClass": { "alias": "valueClass"; "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; }; "rowMarginBottomClass": { "alias": "rowMarginBottomClass"; "required": false; }; "rowMarginBottomEmptyClass": { "alias": "rowMarginBottomEmptyClass"; "required": false; }; }, { "isLoadingChanged": "isLoadingChanged"; "attachmentViewed": "attachmentViewed"; "attachmentDownloaded": "attachmentDownloaded"; "errorOccurred": "errorOccurred"; }, never, never, true, never>;
|
|
38
42
|
}
|
|
@@ -243,6 +243,10 @@ 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
|
+
};
|
|
246
250
|
export type Degree = {
|
|
247
251
|
DegreeName: string;
|
|
248
252
|
DegreeYear: string;
|
|
@@ -259,7 +263,3 @@ export type Experience = {
|
|
|
259
263
|
TerminationReason: string;
|
|
260
264
|
Document: DocumentModel | null;
|
|
261
265
|
};
|
|
262
|
-
export type DocumentModel = {
|
|
263
|
-
Key: string;
|
|
264
|
-
ContentType: string;
|
|
265
|
-
};
|