@skysoftware-co/bayan-hr-widgets-ui 1.1.1 → 1.2.0

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.
Files changed (58) hide show
  1. package/README.md +15 -11
  2. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs +191 -1231
  3. package/fesm2022/skysoftware-co-bayan-hr-widgets-ui.mjs.map +1 -1
  4. package/package.json +10 -8
  5. package/types/skysoftware-co-bayan-hr-widgets-ui.d.ts +1377 -0
  6. package/index.d.ts +0 -5
  7. package/lib/my-calendar-widget/my-calendar-widget.component.d.ts +0 -50
  8. package/lib/my-entitlements/my-profile-entitlements-others-widget/my-profile-entitlements-others-widget.component.d.ts +0 -26
  9. package/lib/my-entitlements/my-profile-indemnity-widget/my-profile-indemnity-widget.component.d.ts +0 -33
  10. package/lib/my-entitlements/my-profile-medical-insurance-widget/components/medical-insurance-card/medical-insurance-card.component.d.ts +0 -19
  11. package/lib/my-entitlements/my-profile-medical-insurance-widget/my-profile-medical-insurance-widget.component.d.ts +0 -36
  12. package/lib/my-entitlements/my-profile-ticket-widget/components/ticket-card/ticket-card.component.d.ts +0 -17
  13. package/lib/my-entitlements/my-profile-ticket-widget/my-profile-ticket-widget.component.d.ts +0 -35
  14. package/lib/my-entitlements/my-profile-vacations-widget/my-profile-vacations-widget.component.d.ts +0 -29
  15. package/lib/my-main-details-widget/my-main-details-widget.component.d.ts +0 -66
  16. package/lib/my-next-week-vacation-insights-widget/components/next-week-vacation-insights-popup/next-week-vacation-insights-popup.component.d.ts +0 -38
  17. package/lib/my-next-week-vacation-insights-widget/my-next-week-vacation-insights-widget.component.d.ts +0 -35
  18. package/lib/my-profile-address-widget/my-profile-address-widget.component.d.ts +0 -29
  19. package/lib/my-profile-bank-info-widget/my-profile-bank-info-widget.component.d.ts +0 -44
  20. package/lib/my-profile-contact-widget/my-profile-contact-widget.component.d.ts +0 -36
  21. package/lib/my-profile-contract-widget/my-profile-contract-widget.component.d.ts +0 -30
  22. package/lib/my-profile-degrees-widget/my-profile-degrees-widget-component.d.ts +0 -44
  23. package/lib/my-profile-documents-widgets/components/document-card/document-card.component.d.ts +0 -33
  24. package/lib/my-profile-documents-widgets/components/document-row/document-row.component.d.ts +0 -29
  25. package/lib/my-profile-documents-widgets/components/document-tablet-card/document-tablet-card.component.d.ts +0 -27
  26. package/lib/my-profile-documents-widgets/my-profile-dependents-documents-widget/my-profile-dependents-documents-widget.d.ts +0 -62
  27. package/lib/my-profile-documents-widgets/my-profile-official-documents-widget/my-profile-official-documents-widget.d.ts +0 -60
  28. package/lib/my-profile-employee-dependents-widget/my-profile-employee-dependents-component.d.ts +0 -22
  29. package/lib/my-profile-experiences-widget/my-profile-experiences-widget-component.d.ts +0 -44
  30. package/lib/my-profile-job-info-widget/my-profile-job-info-widget.component.d.ts +0 -30
  31. package/lib/my-profile-languages-widget/my-profile-languages-widget.component.d.ts +0 -26
  32. package/lib/my-profile-other-nationalities-widget/my-profile-other-nationalities-widget.component.d.ts +0 -27
  33. package/lib/my-profile-personal-info-main-widget/my-profile-personal-info-main-widget.component.d.ts +0 -32
  34. package/lib/my-profile-salary-widget/my-profile-salary-widget.component.d.ts +0 -36
  35. package/lib/my-profile-service-charge-widget/my-profile-service-charge-widget.component.d.ts +0 -32
  36. package/lib/my-upcoming-events-widget/components/event-item/event-item.component.d.ts +0 -25
  37. package/lib/my-upcoming-events-widget/components/event-tab-bar/event-tab-bar.component.d.ts +0 -31
  38. package/lib/my-upcoming-events-widget/components/events-popup/events-popup.component.d.ts +0 -37
  39. package/lib/my-upcoming-events-widget/my-upcoming-events-widget.component.d.ts +0 -55
  40. package/lib/services/hr-self-widgets.service.d.ts +0 -52
  41. package/lib/shared/components/card-header/card-header.component.d.ts +0 -11
  42. package/lib/shared/components/hr-employee-calendar/hr-employee-calendar.component.d.ts +0 -35
  43. package/lib/shared/components/info-field/info-field.component.d.ts +0 -10
  44. package/lib/shared/components/widget-card/widget-card-component.d.ts +0 -10
  45. package/lib/shared/pipes/highlight.pipe.d.ts +0 -7
  46. package/lib/shared/pipes/translate.pipe.d.ts +0 -10
  47. package/lib/shared/services/bank-information-cache.service.d.ts +0 -12
  48. package/lib/shared/services/common-methods.service.d.ts +0 -10
  49. package/lib/shared/services/constants.service.d.ts +0 -10
  50. package/lib/shared/services/entitlements-cache.service.d.ts +0 -28
  51. package/lib/shared/services/job-information-cache.service.d.ts +0 -22
  52. package/lib/shared/services/personal-information-cache.service.d.ts +0 -25
  53. package/lib/shared/services/profile-documents-cache-service.d.ts +0 -16
  54. package/lib/shared/services/profile-employee-dependents-cach.d.ts +0 -13
  55. package/lib/shared/services/qualifications-cache.service.d.ts +0 -16
  56. package/lib/shared/services/translate.service.d.ts +0 -12
  57. package/lib/shared/types/common.d.ts +0 -298
  58. package/public-api.d.ts +0 -31
@@ -1,298 +0,0 @@
1
- export type MyMainDetailsWidgetDetails = {
2
- EmployeeNumber: string;
3
- EmployeeName: string;
4
- EmployeeNameInitials: string;
5
- PositionName: string;
6
- GradeName: string | null;
7
- PhotoPath: string | null;
8
- ReportingTo: string | null;
9
- ServiceYears: string;
10
- VacationBalances: VacationBalance[];
11
- AttendanceUrl: string | null;
12
- VacationStatementUrl: string | null;
13
- };
14
- export type VacationBalance = {
15
- VacationTypeName: string;
16
- VacationTypeColor: string;
17
- CurrentBalance: number | null;
18
- };
19
- export declare enum MainWidgetShortcut {
20
- Profile = 0,
21
- PaySlip = 1,
22
- Attendance = 2,
23
- VacationStatement = 3,
24
- Loans = 4
25
- }
26
- export declare enum EventOption {
27
- Birthday = 1,
28
- PublicHoliday = 2,
29
- All = 3
30
- }
31
- export declare enum RelativeDay {
32
- Today = 0,
33
- Tomorrow = 1,
34
- TwoDays = 2
35
- }
36
- export declare enum PublicHolidayWeekContext {
37
- ThisWeek = 0,
38
- NextWeek = 1
39
- }
40
- export type Birthday = {
41
- EmployeePropertySymbol: string;
42
- EmployeePropertyName: string;
43
- EmployeeShortName: string;
44
- Birthdate: Date;
45
- RelativeDay: RelativeDay;
46
- };
47
- export type PublicHoliday = {
48
- StartDate: Date;
49
- EndDate: Date;
50
- Description: string;
51
- WeekContext: PublicHolidayWeekContext;
52
- };
53
- export type UpcomingEventsV2 = {
54
- Birthdays: Birthday[];
55
- PublicHolidays: PublicHoliday[];
56
- IsWeekendConfigured: boolean;
57
- };
58
- export declare enum EventTypeEnum {
59
- Birthdays = 1,
60
- PublicHolidays = 2
61
- }
62
- export type FilteredUpcomingEvent = {
63
- EventDate: Date;
64
- Name: string;
65
- EventType: EventTypeEnum;
66
- Description: string;
67
- StartDate?: Date;
68
- EndDate?: Date;
69
- IsIn2Days?: boolean;
70
- PropertyName?: string;
71
- PropertySymbol?: string;
72
- };
73
- export type DatePeriod = {
74
- StartDate: Date;
75
- EndDate: Date;
76
- };
77
- export type CalendarResponse = {
78
- OffDays: Date[];
79
- PublicHolidays: {
80
- Description: string;
81
- StartDate: Date;
82
- EndDate: Date;
83
- }[];
84
- Vacations: {
85
- VacationTypeName: string;
86
- Color: string;
87
- StartDate: Date;
88
- EndDate: Date;
89
- }[];
90
- Events: {
91
- Description: string;
92
- StartDate: Date;
93
- EndDate: Date;
94
- }[];
95
- };
96
- export type ScheduleCalenderVacation = {
97
- Color: string | null;
98
- VacationType: ScheduleVacationTypes;
99
- Description: string;
100
- VacationDays: DatePeriod;
101
- };
102
- export declare enum ScheduleVacationTypes {
103
- DaysOff = 1,
104
- PublicHoliday = 2,
105
- Vacations = 3,
106
- AddedVacations = 4,
107
- Events = 5
108
- }
109
- export type PersonalInfoMainDetails = {
110
- EmployeeName: string | null;
111
- EmployeeNameAlternate: string | null;
112
- NationalityName: string | null;
113
- NationalNumber: string | null;
114
- SocialSecurityNumber: string | null;
115
- MaritalStateName: string | null;
116
- BirthDate: string | Date | null;
117
- BirthPlace: string | null;
118
- BloodTypeCode: string | null;
119
- ReligionName: string | null;
120
- MinistryOfLaborNumber: string | null;
121
- };
122
- export type PersonalInfoContactEmergencyContact = {
123
- Name: string | null;
124
- Relation: string | null;
125
- PhoneNumber: string | null;
126
- };
127
- export type PersonalInfoContactDetails = {
128
- MobileNumber: string | null;
129
- HomePhone: string | null;
130
- BusinessEmail: string | null;
131
- Email: string | null;
132
- EmergencyContactLegacy: string | null;
133
- EmergencyContact: PersonalInfoContactEmergencyContact | null;
134
- };
135
- export type PersonalInfoAddressDetails = {
136
- Address: string | null;
137
- City: string | null;
138
- POBox: string | null;
139
- PostalCode: string | null;
140
- };
141
- export type MyBankInfo = {
142
- IsMainBank: boolean;
143
- BankName: string | null;
144
- BranchName: string | null;
145
- IBAN: string | null;
146
- AccountNumber: string | null;
147
- Beneficiary: string | null;
148
- TransferAmount: number | null;
149
- };
150
- export type JobInformationMain = {
151
- AdminUnitName: string | null;
152
- PositionName: string | null;
153
- GradeName: string | null;
154
- JoiningDate: Date | null;
155
- CorporateJoiningDate: Date | null;
156
- SponsorName: string | null;
157
- };
158
- export type JobInformationContract = {
159
- ContractTypeName: string | null;
160
- ContractStartDate: Date | null;
161
- ContractEndDate: Date | null;
162
- ContractMaritalStateName: string | null;
163
- ContractDependentsCount: number | null;
164
- };
165
- export type JobInformationSalary = {
166
- GrossSalary: number | null;
167
- BasicSalary: number | null;
168
- CurrentBasicSalary?: number | null;
169
- Allowances: Allowances[] | null;
170
- };
171
- export type Allowances = {
172
- AllowanceName: string | null;
173
- AllowanceAmount: number | null;
174
- };
175
- export declare enum ServiceChargeEntitlementMode {
176
- Points = 1,
177
- SalaryRatio = 2,
178
- FixedAmount = 3,
179
- FixedRate = 4
180
- }
181
- export type JobInformationServiceCharge = {
182
- ServiceChargeEntitlementMode: ServiceChargeEntitlementMode;
183
- ServiceChargeValue: number | null;
184
- };
185
- export declare enum VacationPopupType {
186
- Upcoming = 1,
187
- ExpectedToReturn = 2
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
- };
202
- export type EntitlementsVacation = {
203
- VacationTypeName: string | null;
204
- EntitlementDays: number | null;
205
- };
206
- export type EntitlementsIndemnity = {
207
- IsEligibleForIndemnity: boolean | null;
208
- IndemnityServiceYears: number | null;
209
- IndemnityStartDate: string | Date | null;
210
- IndemnitySalary: number | null;
211
- };
212
- export type EmployeeTicketDetails = {
213
- EmployeeFirstName: string | null;
214
- TicketSectorName: string | null;
215
- TicketClassName: string | null;
216
- MonthsPerTicketEntitlement: number | null;
217
- };
218
- export type DependentTicketDetails = {
219
- DependentName: string | null;
220
- DependentTypeName: string | null;
221
- MonthsPerTicketEntitlement: number | null;
222
- };
223
- export type EntitlementsTicket = {
224
- EmployeeTicketDetails: EmployeeTicketDetails | null;
225
- DependentTicketDetails: DependentTicketDetails[] | null;
226
- };
227
- export type EmployeeMedicalInsurance = {
228
- EmployeeFirstName: string | null;
229
- MedicalInsuranceClassName: string | null;
230
- MedicalInsuranceNumber: string | null;
231
- CoverageDate: Date | null;
232
- };
233
- export type DependentsMedicalInsurance = {
234
- DependentName: string | null;
235
- DependentTypeName: string | null;
236
- MedicalInsuranceClassName: string | null;
237
- MedicalInsuranceNumber: string | null;
238
- CoverageDate: Date | null;
239
- };
240
- export type EntitlementsMedicalInsurance = {
241
- EmployeeMedicalInsurance: EmployeeMedicalInsurance | null;
242
- DependentsMedicalInsurance: DependentsMedicalInsurance[] | null;
243
- TotalEmployeeShare: number | null;
244
- TotalEmployerShare: number | null;
245
- };
246
- export type Degree = {
247
- DegreeName: string;
248
- DegreeYear: string;
249
- CountryName: string;
250
- Specialty: string | null;
251
- Institute: string | null;
252
- Document: DocumentModel | null;
253
- };
254
- export type Experience = {
255
- StartDate: string | Date;
256
- EndDate: string | Date;
257
- Employer: string;
258
- Position: string;
259
- TerminationReason: string;
260
- Document: DocumentModel | null;
261
- };
262
- export type DocumentModel = {
263
- Key: string;
264
- ContentType: string;
265
- };
266
- export type Dependent = {
267
- DependentName: string;
268
- DependentTypeName: string;
269
- BirthDate: string | Date;
270
- NationalNumber: string | null;
271
- };
272
- export interface DependentDocumentsResponse {
273
- ResponseData: DependentDocumentGroup[];
274
- ApiVersion: string;
275
- }
276
- export interface DependentDocumentGroup {
277
- DependentName: string;
278
- DependentTypeName: string;
279
- Documents: DocumentRow[];
280
- }
281
- export interface DocumentRow {
282
- DocumentTypeName: string;
283
- DocumentNumber: string;
284
- IssueDate: string;
285
- ExpiryDate: string;
286
- Attachments: Attachment[];
287
- }
288
- export interface Attachment {
289
- Key: string;
290
- ContentType: string;
291
- }
292
- export interface PersonalDocument {
293
- DocumentTypeName: string;
294
- DocumentNumber: string;
295
- IssueDate: string;
296
- ExpiryDate: string;
297
- Attachments: Attachment[];
298
- }
package/public-api.d.ts DELETED
@@ -1,31 +0,0 @@
1
- export * from './lib/my-main-details-widget/my-main-details-widget.component';
2
- export * from './lib/my-upcoming-events-widget/my-upcoming-events-widget.component';
3
- export * from './lib/shared/types/common';
4
- export * from './lib/shared/services/constants.service';
5
- export * from './lib/shared/services/translate.service';
6
- export * from './lib/shared/pipes/translate.pipe';
7
- export * from './lib/shared/pipes/highlight.pipe';
8
- export * from './lib/shared/components/card-header/card-header.component';
9
- export * from './lib/my-calendar-widget/my-calendar-widget.component';
10
- export * from './lib/shared/components/hr-employee-calendar/hr-employee-calendar.component';
11
- export * from './lib/my-profile-bank-info-widget/my-profile-bank-info-widget.component';
12
- export * from './lib/my-profile-personal-info-main-widget/my-profile-personal-info-main-widget.component';
13
- export * from './lib/my-profile-contact-widget/my-profile-contact-widget.component';
14
- export * from './lib/my-profile-languages-widget/my-profile-languages-widget.component';
15
- export * from './lib/my-profile-other-nationalities-widget/my-profile-other-nationalities-widget.component';
16
- export * from './lib/my-profile-address-widget/my-profile-address-widget.component';
17
- export * from './lib/my-profile-job-info-widget/my-profile-job-info-widget.component';
18
- export * from './lib/my-profile-contract-widget/my-profile-contract-widget.component';
19
- export * from './lib/my-profile-salary-widget/my-profile-salary-widget.component';
20
- export * from './lib/my-profile-service-charge-widget/my-profile-service-charge-widget.component';
21
- export * from './lib/my-next-week-vacation-insights-widget/my-next-week-vacation-insights-widget.component';
22
- export * from './lib/my-profile-experiences-widget/my-profile-experiences-widget-component';
23
- export * from './lib/my-profile-degrees-widget/my-profile-degrees-widget-component';
24
- export * from './lib/my-profile-employee-dependents-widget/my-profile-employee-dependents-component';
25
- export * from './lib/my-entitlements/my-profile-vacations-widget/my-profile-vacations-widget.component';
26
- export * from './lib/my-entitlements/my-profile-indemnity-widget/my-profile-indemnity-widget.component';
27
- export * from './lib/my-entitlements/my-profile-ticket-widget/my-profile-ticket-widget.component';
28
- export * from './lib/my-entitlements/my-profile-medical-insurance-widget/my-profile-medical-insurance-widget.component';
29
- export * from './lib/my-entitlements/my-profile-entitlements-others-widget/my-profile-entitlements-others-widget.component';
30
- export * from './lib/my-profile-documents-widgets/my-profile-dependents-documents-widget/my-profile-dependents-documents-widget';
31
- export * from './lib/my-profile-documents-widgets/my-profile-official-documents-widget/my-profile-official-documents-widget';