bpm-core 0.0.49 → 0.0.51

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 (99) hide show
  1. package/esm2022/lib/app/app.component.mjs +6 -6
  2. package/esm2022/lib/components/app-component-sections/activities/activities.component.mjs +6 -5
  3. package/esm2022/lib/components/app-component-sections/approvals/approvals.component.mjs +4 -4
  4. package/esm2022/lib/components/app-component-sections/approvals-workflow/approvals-workflow.component.mjs +5 -5
  5. package/esm2022/lib/components/app-component-sections/faq-sidenav/faq-sidenav.component.mjs +4 -4
  6. package/esm2022/lib/components/app-component-sections/faqs/faqs.component.mjs +4 -4
  7. package/esm2022/lib/components/app-component-sections/feedback-section/feedback-section.component.mjs +4 -4
  8. package/esm2022/lib/components/app-component-sections/form-section/form-section.component.mjs +4 -4
  9. package/esm2022/lib/components/app-component-sections/layout/header/header.component.mjs +4 -4
  10. package/esm2022/lib/components/app-component-sections/layout/layout.component.mjs +4 -4
  11. package/esm2022/lib/components/app-component-sections/layout/side-nav/side-nav.component.mjs +4 -4
  12. package/esm2022/lib/components/app-component-sections/main-request-details/main-request-details.component.mjs +4 -4
  13. package/esm2022/lib/components/app-component-sections/previous-requests/previous-requests.component.mjs +128 -24
  14. package/esm2022/lib/components/app-component-sections/profile-section/profile-section.component.mjs +4 -4
  15. package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +4 -4
  16. package/esm2022/lib/components/app-component-sections/status/status.component.mjs +4 -4
  17. package/esm2022/lib/components/app-component-sections/workflow-section/workflow-section.component.mjs +4 -4
  18. package/esm2022/lib/components/shared-components/action-buttons/action-buttons.component.mjs +4 -4
  19. package/esm2022/lib/components/shared-components/confirmation-popup/confirmation-popup.component.mjs +4 -4
  20. package/esm2022/lib/components/shared-components/delete-popup/delete-popup.component.mjs +4 -4
  21. package/esm2022/lib/components/shared-components/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
  22. package/esm2022/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.mjs +4 -4
  23. package/esm2022/lib/components/shared-components/dialogs/submit-dialog/submit-dialog.component.mjs +4 -4
  24. package/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +42 -20
  25. package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +5 -5
  26. package/esm2022/lib/components/shared-components/form-field/base-component/base-component.component.mjs +4 -4
  27. package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +9 -15
  28. package/esm2022/lib/components/shared-components/form-field/control-value-accessor.directive.mjs +36 -39
  29. package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +13 -25
  30. package/esm2022/lib/components/shared-components/form-field/date-picker/date-picker.component.mjs +60 -67
  31. package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +75 -80
  32. package/esm2022/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.mjs +579 -0
  33. package/esm2022/lib/components/shared-components/form-field/form-label/form-label.component.mjs +4 -4
  34. package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +6 -8
  35. package/esm2022/lib/components/shared-components/form-field/input/input.component.mjs +11 -10
  36. package/esm2022/lib/components/shared-components/form-field/input-currency/input-currency.component.mjs +6 -8
  37. package/esm2022/lib/components/shared-components/form-field/input-email/input-email.component.mjs +5 -7
  38. package/esm2022/lib/components/shared-components/form-field/input-mask/input-mask.component.mjs +4 -4
  39. package/esm2022/lib/components/shared-components/form-field/input-number/input-number.component.mjs +5 -8
  40. package/esm2022/lib/components/shared-components/form-field/input-telephone/input-telephone.component.mjs +23 -131
  41. package/esm2022/lib/components/shared-components/form-field/radio/radio.component.mjs +29 -27
  42. package/esm2022/lib/components/shared-components/form-field/repeated-list/repeated-list.component.mjs +4 -4
  43. package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +87 -78
  44. package/esm2022/lib/components/shared-components/form-field/select/select.component.mjs +4 -4
  45. package/esm2022/lib/components/shared-components/form-field/shared-imports.mjs +14 -0
  46. package/esm2022/lib/components/shared-components/form-field/table-list/table-list.component.mjs +4 -4
  47. package/esm2022/lib/components/shared-components/form-field/textarea/special-chars.directive.mjs +4 -4
  48. package/esm2022/lib/components/shared-components/form-field/textarea/textarea.component.mjs +10 -9
  49. package/esm2022/lib/components/shared-components/form-field/toggle-button/toggle-button.component.mjs +33 -32
  50. package/esm2022/lib/components/shared-components/form-field/validation-errors/validation-errors.component.mjs +7 -6
  51. package/esm2022/lib/components/shared-components/index.mjs +1 -2
  52. package/esm2022/lib/components/shared-components/terms-conditions/terms-conditions.component.mjs +4 -4
  53. package/esm2022/lib/components/shared-components/title-section/title-section.component.mjs +4 -4
  54. package/esm2022/lib/directives/ar.directive.mjs +4 -4
  55. package/esm2022/lib/directives/currency.directive.mjs +4 -4
  56. package/esm2022/lib/directives/en.directive.mjs +4 -4
  57. package/esm2022/lib/directives/number.directive.mjs +4 -4
  58. package/esm2022/lib/i18n/ar.mjs +7 -1
  59. package/esm2022/lib/i18n/en.mjs +7 -1
  60. package/esm2022/lib/pipes/currency.pipe.mjs +4 -4
  61. package/esm2022/lib/pipes/format-as-password.pipe.mjs +4 -4
  62. package/esm2022/lib/pipes/status-style.pipe.mjs +4 -4
  63. package/esm2022/lib/services/action.service.ts.mjs +4 -4
  64. package/esm2022/lib/services/core.service.ts.mjs +63 -100
  65. package/esm2022/lib/services/feedBack.service.mjs +4 -4
  66. package/esm2022/lib/services/i18n.service.mjs +4 -4
  67. package/esm2022/lib/services/sidenav.service.mjs +4 -4
  68. package/esm2022/lib/testComponent/general-approver-section/general-approver-section.component.mjs +4 -4
  69. package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +28 -21
  70. package/esm2022/lib/testComponent/services/i18n.service.mjs +4 -4
  71. package/esm2022/lib/testComponent/services/segment-dynamic-loader.service.mjs +4 -4
  72. package/esm2022/lib/validators/string-to-boolean.pipe.mjs +4 -4
  73. package/esm2022/lib/validators/text.directive.mjs +4 -4
  74. package/esm2022/lib/validators/timer.pipe.mjs +4 -4
  75. package/fesm2022/bpm-core.mjs +2568 -2697
  76. package/fesm2022/bpm-core.mjs.map +1 -1
  77. package/lib/app/app.component.d.ts +1 -1
  78. package/lib/components/app-component-sections/previous-requests/previous-requests.component.d.ts +27 -6
  79. package/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.d.ts +9 -5
  80. package/lib/components/shared-components/form-field/checkbox/checkbox.component.d.ts +1 -3
  81. package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +15 -7
  82. package/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.d.ts +2 -5
  83. package/lib/components/shared-components/form-field/date-picker/date-picker.component.d.ts +3 -4
  84. package/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.d.ts +6 -6
  85. package/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.d.ts +131 -0
  86. package/lib/components/shared-components/form-field/input-telephone/input-telephone.component.d.ts +5 -27
  87. package/lib/components/shared-components/form-field/radio/radio.component.d.ts +5 -8
  88. package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +4 -6
  89. package/lib/components/shared-components/form-field/shared-imports.d.ts +5 -0
  90. package/lib/components/shared-components/form-field/toggle-button/toggle-button.component.d.ts +7 -8
  91. package/lib/components/shared-components/form-field/validation-errors/validation-errors.component.d.ts +1 -0
  92. package/lib/components/shared-components/index.d.ts +0 -1
  93. package/lib/i18n/ar.d.ts +6 -0
  94. package/lib/i18n/en.d.ts +6 -0
  95. package/lib/services/core.service.ts.d.ts +9 -4
  96. package/lib/testComponent/request-details-section/request-details-section.component.d.ts +1 -0
  97. package/package.json +2 -3
  98. package/src/lib/assets/scss/_general.scss +1 -0
  99. package/src/lib/assets/scss/input-telephone.scss +133 -159
@@ -9,7 +9,7 @@ export declare class CoreAppComponent {
9
9
  private readonly router;
10
10
  private readonly sidenavService;
11
11
  i18n: CoreI18nService;
12
- private coreService;
12
+ private readonly coreService;
13
13
  loading: {
14
14
  form: boolean;
15
15
  };
@@ -1,21 +1,42 @@
1
- import { OnInit } from "@angular/core";
1
+ import { AfterViewInit, OnInit } from "@angular/core";
2
2
  import { MatDialog } from "@angular/material/dialog";
3
- import { Router } from "@angular/router";
3
+ import { FormBuilder, FormGroup } from "@angular/forms";
4
4
  import { CoreI18nService, CoreService, SidenavService } from "../../../services";
5
+ import { ToastrService } from "ngx-toastr";
5
6
  import * as i0 from "@angular/core";
6
- export declare class PreviousRequestsComponent implements OnInit {
7
+ export declare class PreviousRequestsComponent implements OnInit, AfterViewInit {
7
8
  dialog: MatDialog;
8
9
  readonly sidenavService: SidenavService;
9
10
  coreService: CoreService;
11
+ private readonly toasterService;
10
12
  i18n: CoreI18nService;
13
+ private readonly fb;
11
14
  previousRequests: any[];
12
15
  loading: boolean;
13
- router: Router;
14
- totalLength: number;
15
- constructor(dialog: MatDialog, sidenavService: SidenavService, coreService: CoreService, i18n: CoreI18nService);
16
+ filterFormGroup: FormGroup;
17
+ errorMessage: string;
18
+ isOpen: boolean;
19
+ monthsOptions: {
20
+ key: string;
21
+ value: string;
22
+ }[];
23
+ yearsOptions: {
24
+ key: number;
25
+ value: number;
26
+ }[];
27
+ statuses: any[];
28
+ searchData: {
29
+ year: any;
30
+ month: any;
31
+ };
32
+ constructor(dialog: MatDialog, sidenavService: SidenavService, coreService: CoreService, toasterService: ToastrService, i18n: CoreI18nService, fb: FormBuilder);
16
33
  ngOnInit(): void;
34
+ createForm(): void;
17
35
  ngAfterViewInit(): void;
36
+ clearFilters(): void;
37
+ applyFilters(): void;
18
38
  getRequests(): void;
39
+ filterStatus(): void;
19
40
  viewForm(formId: string): void;
20
41
  static ɵfac: i0.ɵɵFactoryDeclaration<PreviousRequestsComponent, never>;
21
42
  static ɵcmp: i0.ɵɵComponentDeclaration<PreviousRequestsComponent, "app-history", never, {}, {}, never, never, true, never>;
@@ -1,16 +1,20 @@
1
- import { BaseComponent } from '../base-component/base-component.component';
1
+ import { MatDialogRef } from "@angular/material/dialog";
2
+ import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
+ import { Section } from '../../../../interfaces';
2
4
  import * as i0 from "@angular/core";
3
- export declare class AttachmentSectionDataComponent extends BaseComponent {
5
+ export declare class AttachmentSectionDataComponent<Type> extends ControlValueAccessorDirective<Type> {
4
6
  popupData: any;
5
7
  popupDataOrg: any;
6
8
  uploading: boolean;
7
9
  editMode: boolean;
8
10
  hasColumnBreak: boolean;
9
- ngOnInit(): void;
11
+ section: Section;
12
+ dialogData: any;
13
+ dialogRef: MatDialogRef<any>;
10
14
  close(): void;
11
15
  handleEmitValue(data: any, fieldName: string): void;
12
16
  handleAttachmentEmitValue(data: any): void;
13
17
  addAttachments(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentSectionDataComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentSectionDataComponent, "app-add-attachment-section", never, { "hasColumnBreak": { "alias": "hasColumnBreak"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentSectionDataComponent<any>, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentSectionDataComponent<any>, "app-add-attachment-section", never, { "hasColumnBreak": { "alias": "hasColumnBreak"; "required": false; }; "section": { "alias": "section"; "required": false; }; }, {}, never, never, true, never>;
16
20
  }
@@ -8,8 +8,6 @@ export declare class CheckBoxComponent<Type> extends ControlValueAccessorDirecti
8
8
  linkText: string;
9
9
  hrefLink: string;
10
10
  link: string;
11
- name: string;
12
- randomID: string;
13
11
  termsBody: any;
14
12
  downloadCheckBox: EventEmitter<any>;
15
13
  dialog: MatDialog;
@@ -17,5 +15,5 @@ export declare class CheckBoxComponent<Type> extends ControlValueAccessorDirecti
17
15
  valueChange(event: any): void;
18
16
  openTermsPopup(): void;
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent<any>, "app-checkbox", never, { "containTerms": { "alias": "containTerms"; "required": false; }; "termsLabel": { "alias": "termsLabel"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "hrefLink": { "alias": "hrefLink"; "required": false; }; "link": { "alias": "link"; "required": false; }; "name": { "alias": "name"; "required": false; }; "randomID": { "alias": "randomID"; "required": false; }; "termsBody": { "alias": "termsBody"; "required": false; }; }, { "downloadCheckBox": "downloadCheckBox"; }, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent<any>, "app-checkbox", never, { "containTerms": { "alias": "containTerms"; "required": false; }; "termsLabel": { "alias": "termsLabel"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "hrefLink": { "alias": "hrefLink"; "required": false; }; "link": { "alias": "link"; "required": false; }; "termsBody": { "alias": "termsBody"; "required": false; }; }, { "downloadCheckBox": "downloadCheckBox"; }, never, never, true, never>;
21
19
  }
@@ -1,13 +1,16 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl } from '@angular/forms';
3
- import { CoreI18nService } from '../../../services';
3
+ import { CoreI18nService, CoreService } from '../../../services';
4
+ import { DomSanitizer } from "@angular/platform-browser";
5
+ import { ToastrService } from "ngx-toastr";
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class ControlValueAccessorDirective<Type> implements ControlValueAccessor, OnInit {
6
- private injector;
8
+ private readonly injector;
7
9
  i18n: CoreI18nService;
10
+ toasterService: ToastrService;
11
+ coreService: CoreService;
12
+ sanitizer: DomSanitizer;
8
13
  isReadOnly: boolean;
9
- labelTextWriteMode: string;
10
- labelTextReadMode: string;
11
14
  hint: string;
12
15
  loading: boolean;
13
16
  placeholder: string;
@@ -20,6 +23,12 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
20
23
  label: string;
21
24
  matSuffix: boolean;
22
25
  hasTooltip: boolean;
26
+ name: string;
27
+ randomID: string;
28
+ multiple: boolean;
29
+ searchControl: FormControl<any>;
30
+ startDateControl: FormControl<any>;
31
+ endDateControl: FormControl<any>;
23
32
  minDateValue: any;
24
33
  maxDateValue: any;
25
34
  maxDate: string;
@@ -32,15 +41,14 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
32
41
  required: boolean;
33
42
  maxLength: any;
34
43
  isDisabled: boolean;
35
- constructor(injector: Injector, i18n: CoreI18nService);
44
+ constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer);
36
45
  ngOnInit(): void;
37
46
  setFormControl(): void;
38
47
  setFormValidators(): void;
39
- setDateFormControl(): void;
40
48
  writeValue(value: Type): void;
41
49
  registerOnChange(fn: (val: Type | null) => Type): void;
42
50
  registerOnTouched(fn: () => Type): void;
43
51
  setDisabledState?(isDisabled: boolean): void;
44
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueAccessorDirective<any>, never>;
45
- static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "labelTextWriteMode": { "alias": "labelTextWriteMode"; "required": false; }; "labelTextReadMode": { "alias": "labelTextReadMode"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; }, {}, never, never, false, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "name": { "alias": "name"; "required": false; }; "randomID": { "alias": "randomID"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; }, {}, never, never, false, never>;
46
54
  }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter, SimpleChanges, OnInit } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class CustomSearchableComponent<Type> extends ControlValueAccessorDirective<Type> implements OnInit {
@@ -7,14 +6,12 @@ export declare class CustomSearchableComponent<Type> extends ControlValueAccesso
7
6
  selectedValue: EventEmitter<any>;
8
7
  isLengthGreaterThan4: EventEmitter<any>;
9
8
  disabled: boolean;
10
- name: string;
11
- displayedLable: string;
9
+ displayedLabel: string;
12
10
  key: string;
13
11
  floatLabel: any;
14
12
  className: string;
15
13
  noData: boolean;
16
14
  filteredOptions: any;
17
- searchControl: FormControl<any>;
18
15
  clearInput(): void;
19
16
  onFocusOut(): void;
20
17
  onKeyDown(e: KeyboardEvent, input: HTMLInputElement): void;
@@ -25,5 +22,5 @@ export declare class CustomSearchableComponent<Type> extends ControlValueAccesso
25
22
  displayFn(option: any): string;
26
23
  getAutoComplete(value: any): void;
27
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomSearchableComponent<any>, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<CustomSearchableComponent<any>, "app-custom-searchable", never, { "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "displayedLable": { "alias": "displayedLable"; "required": false; }; "key": { "alias": "key"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "selectedValue": "selectedValue"; "isLengthGreaterThan4": "isLengthGreaterThan4"; }, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomSearchableComponent<any>, "app-custom-searchable", never, { "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "displayedLabel": { "alias": "displayedLabel"; "required": false; }; "key": { "alias": "key"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "selectedValue": "selectedValue"; "isLengthGreaterThan4": "isLengthGreaterThan4"; }, never, never, true, never>;
29
26
  }
@@ -1,17 +1,15 @@
1
1
  import { FormControl } from '@angular/forms';
2
2
  import { AfterViewInit, EventEmitter, SimpleChanges } from '@angular/core';
3
- import { MatDatepicker } from '@angular/material/datepicker';
4
3
  import { CustomDateFormat } from './date-format';
5
4
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
5
+ import { MatDatepicker } from '@angular/material/datepicker';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DatePickerComponent<Type> extends ControlValueAccessorDirective<Type> implements AfterViewInit {
8
8
  date: FormControl<any>;
9
- tooltip: string;
10
9
  className: string;
11
10
  calendarType: string;
12
11
  showLabel: boolean;
13
12
  yearOnly: boolean;
14
- resetDate: boolean;
15
13
  dateValue: EventEmitter<any>;
16
14
  showIslamic: boolean;
17
15
  error: string;
@@ -21,10 +19,11 @@ export declare class DatePickerComponent<Type> extends ControlValueAccessorDirec
21
19
  floatLabel: any;
22
20
  ngAfterViewInit(): void;
23
21
  ngOnChanges(changes: SimpleChanges): void;
22
+ setDateFormControl(): void;
24
23
  focusPicker(picker: any): void;
25
24
  dateChange(event: any): void;
26
25
  clearDateValue(event: any): void;
27
26
  private activateYearOnlyMode;
28
27
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent<any>, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent<any>, "app-datepicker", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; "resetDate": { "alias": "resetDate"; "required": false; }; "error": { "alias": "error"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "dateValue": "dateValue"; }, never, never, true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent<any>, "app-datepicker", never, { "className": { "alias": "className"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "dateValue": "dateValue"; }, never, never, true, never>;
30
29
  }
@@ -1,26 +1,26 @@
1
1
  import { SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
- import { FormControl } from '@angular/forms';
4
3
  import { MatDatepicker } from '@angular/material/datepicker';
5
4
  import { CustomDateFormat } from '../date-picker/date-format';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class DateRangePickerComponent<Type> extends ControlValueAccessorDirective<Type> {
8
- tooltip: string;
9
7
  className: string;
10
8
  yearOnly: boolean;
11
9
  dateFormat: CustomDateFormat;
12
10
  datepicker: MatDatepicker<any>;
13
- startControl: FormControl<any>;
14
- endControl: FormControl<any>;
11
+ calendarType: string;
15
12
  startInputValue: string;
16
13
  endInputValue: string;
17
14
  dateRange: any;
18
15
  ngAfterViewInit(): void;
19
16
  ngOnChanges(changes: SimpleChanges): void;
17
+ setDateFormControl(): void;
20
18
  focusPicker(picker: any): void;
21
- dateChange(event: any): void;
19
+ startDateChange(event: any): void;
20
+ endDateChange(event: any): void;
21
+ setDateRangeControlValue(): void;
22
22
  clearDateValue(event: any): void;
23
23
  private activateYearOnlyMode;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent<any>, "app-date-range-picker", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent<any>, "app-date-range-picker", never, { "className": { "alias": "className"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; }, {}, never, never, true, never>;
26
26
  }
@@ -0,0 +1,131 @@
1
+ import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { DocumentFile } from '../../../../interfaces';
3
+ import { FormGroup } from '@angular/forms';
4
+ import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
5
+ import { MatDialog } from '@angular/material/dialog';
6
+ import { SafeUrl } from "@angular/platform-browser";
7
+ import * as i0 from "@angular/core";
8
+ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDirective<Type> implements OnInit, OnChanges {
9
+ maxSizeFlag: boolean;
10
+ maxSizeValue: any;
11
+ wrongExtensionFlag: boolean;
12
+ useCrop: boolean;
13
+ formKey: string;
14
+ showLabel: boolean;
15
+ downloadLink: boolean;
16
+ showActions: boolean;
17
+ styleHeight: string;
18
+ fileInputHeight: string;
19
+ styleWidth: string;
20
+ hints: any;
21
+ allowedExtensions: string;
22
+ callApi: boolean;
23
+ tooltip: string;
24
+ attachments: any[];
25
+ optional: boolean;
26
+ display: string;
27
+ validExtension: boolean;
28
+ attachType: string;
29
+ error: string;
30
+ displayedFiles: DocumentFile[];
31
+ selectedTemplateAttachment: EventEmitter<any>;
32
+ fileNotDuplicated: boolean;
33
+ allowedFileSize: boolean;
34
+ getDataFromTemplate: boolean;
35
+ allowFileContentsWithMultiAttachments: boolean;
36
+ accept: string[];
37
+ filesize: string;
38
+ wrongFile: {
39
+ mimeType: string;
40
+ fileContents: string;
41
+ fileName: string;
42
+ };
43
+ allAttachments: any[];
44
+ uploadForm: FormGroup;
45
+ signType: string;
46
+ showSignButton: boolean;
47
+ printType: string;
48
+ showPrintButton: boolean;
49
+ downloadType: string;
50
+ showDownloadButton: boolean;
51
+ preventFileContents: boolean;
52
+ addSignatureClicked: EventEmitter<any>;
53
+ printActionClicked: EventEmitter<any>;
54
+ downloadActionClicked: EventEmitter<any>;
55
+ maxSize: string;
56
+ inputFile: ElementRef;
57
+ dialog: MatDialog;
58
+ private readonly validImageTypes;
59
+ validImgPdfTypes: {
60
+ pdf: string[];
61
+ jpg: string[];
62
+ JPG: string[];
63
+ jpeg: string[];
64
+ bmp: string[];
65
+ png: string[];
66
+ };
67
+ validFileTypes: {
68
+ pdf: string[];
69
+ doc: string[];
70
+ docx: string[];
71
+ ppt: string[];
72
+ pptx: string[];
73
+ pps: string[];
74
+ ppsx: string[];
75
+ odt: string[];
76
+ xls: string[];
77
+ xlsx: string[];
78
+ zip: string[];
79
+ msg: string[];
80
+ csv: string[];
81
+ txt: string[];
82
+ rtf: string[];
83
+ html: string[];
84
+ mov: string[];
85
+ wmv: string[];
86
+ mpg: string[];
87
+ rmvb: string[];
88
+ jpg: string[];
89
+ jpeg: string[];
90
+ png: string[];
91
+ gif: string[];
92
+ bmp: string[];
93
+ };
94
+ private readonly validPdfTypes;
95
+ uploading: boolean;
96
+ lengthError: boolean;
97
+ downloadUrl: SafeUrl;
98
+ ngOnChanges(changes: SimpleChanges): void;
99
+ resetAttachmentData(): void;
100
+ getFileType(attachment: any): string;
101
+ private checkFileType;
102
+ attch(type: any, index: number, field: any): void;
103
+ confirmDelete(index: number): void;
104
+ removeMulti(index: number): void;
105
+ downloadFileNew(fileData: any): void;
106
+ onValueChange(event: any): void;
107
+ addAttachments(): void;
108
+ addMultiAttachments(field: any): void;
109
+ checkFileExistance(file: AttatchmentFile): boolean;
110
+ isValidMimeType(value: any): boolean;
111
+ isValidExtension(value: string, type: string): boolean;
112
+ removeAttachedFile(): void;
113
+ downloadFile(event: any, field: any): void;
114
+ addSignature(event: Event): void;
115
+ printFileData(event: any): void;
116
+ downloadFileData(event: any): void;
117
+ getExtension(attachment: any): any;
118
+ private emit;
119
+ private deleteFileContents;
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocsUploaderComponent<any>, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocsUploaderComponent<any>, "app-file-uploader", never, { "useCrop": { "alias": "useCrop"; "required": false; }; "formKey": { "alias": "formKey"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "downloadLink": { "alias": "downloadLink"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "styleHeight": { "alias": "styleHeight"; "required": false; }; "fileInputHeight": { "alias": "fileInputHeight"; "required": false; }; "styleWidth": { "alias": "styleWidth"; "required": false; }; "hints": { "alias": "hints"; "required": false; }; "allowedExtensions": { "alias": "allowedExtensions"; "required": false; }; "callApi": { "alias": "callApi"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "display": { "alias": "display"; "required": false; }; "attachType": { "alias": "attachType"; "required": false; }; "error": { "alias": "error"; "required": false; }; "displayedFiles": { "alias": "displayedFiles"; "required": false; }; "getDataFromTemplate": { "alias": "getDataFromTemplate"; "required": false; }; "allowFileContentsWithMultiAttachments": { "alias": "allowFileContentsWithMultiAttachments"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "signType": { "alias": "signType"; "required": false; }; "showSignButton": { "alias": "showSignButton"; "required": false; }; "printType": { "alias": "printType"; "required": false; }; "showPrintButton": { "alias": "showPrintButton"; "required": false; }; "downloadType": { "alias": "downloadType"; "required": false; }; "showDownloadButton": { "alias": "showDownloadButton"; "required": false; }; "preventFileContents": { "alias": "preventFileContents"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; }, { "selectedTemplateAttachment": "selectedTemplateAttachment"; "addSignatureClicked": "addSignatureClicked"; "printActionClicked": "printActionClicked"; "downloadActionClicked": "downloadActionClicked"; }, never, never, true, never>;
122
+ }
123
+ declare class AttatchmentFile {
124
+ fileName: string;
125
+ name: string;
126
+ mimeType: string;
127
+ fileContents: string;
128
+ filesize: string;
129
+ constructor(fileName: string, name: string, mimeType: string, fileContents: string, filesize: string);
130
+ }
131
+ export {};
@@ -1,34 +1,12 @@
1
- import { FormControl } from '@angular/forms';
2
- import { EventEmitter } from '@angular/core';
1
+ import { CountryISO, SearchCountryField } from 'ngx-intl-tel-input-gg';
3
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class InputTelephoneComponent<Type> extends ControlValueAccessorDirective<Type> {
6
- tooltip: string;
7
5
  floatLabel: any;
8
6
  className: string;
9
- showLabel: boolean;
10
- matPrefix: boolean;
11
- iconPrefixName: string;
12
- iconSuffixName: string;
13
- field: any;
14
- name: string;
15
- controller: FormControl;
16
- error: string;
17
- checkPhoneError: EventEmitter<boolean>;
18
- phoneValue: EventEmitter<string>;
19
- totalNumber: EventEmitter<string>;
20
- countryCode: string;
21
- showEdit: boolean;
22
- inputValue: EventEmitter<any>;
23
- emitedValue: EventEmitter<any>;
24
- telhasError: boolean;
25
- emitedError: EventEmitter<any>;
26
- onCountryChange(event: any): void;
27
- hasError(event: boolean): void;
28
- getNumber(event: any): void;
29
- telInputObject($event: any): void;
30
- editClicked(): void;
31
- onValueChange(data: any): void;
7
+ CountryISO: typeof CountryISO;
8
+ SearchCountryField: typeof SearchCountryField;
9
+ show: boolean;
32
10
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTelephoneComponent<any>, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTelephoneComponent<any>, "app-input-telephone", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "field": { "alias": "field"; "required": false; }; "name": { "alias": "name"; "required": false; }; "controller": { "alias": "controller"; "required": false; }; "error": { "alias": "error"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; }, { "checkPhoneError": "checkPhoneError"; "phoneValue": "phoneValue"; "totalNumber": "totalNumber"; "inputValue": "inputValue"; "emitedValue": "emitedValue"; "emitedError": "emitedError"; }, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTelephoneComponent<any>, "app-input-telephone", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
34
12
  }
@@ -1,10 +1,7 @@
1
- import { BaseComponent } from '../base-component/base-component.component';
2
- import { MatRadioChange } from '@angular/material/radio';
1
+ import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
2
  import * as i0 from "@angular/core";
4
- export declare class RadioComponent extends BaseComponent {
5
- ngOnInit(): void;
6
- resetCheckBoxData(): void;
7
- valueChange(event: MatRadioChange): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "app-radio", never, {}, {}, never, never, true, never>;
3
+ export declare class RadioComponent<Type> extends ControlValueAccessorDirective<Type> {
4
+ options: any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent<any>, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent<any>, "app-radio", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
10
7
  }
@@ -1,9 +1,8 @@
1
- import { BaseComponent } from './../base-component/base-component.component';
2
1
  import { EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
- export declare class SearchEmployeeComponent extends BaseComponent {
4
+ export declare class SearchEmployeeComponent<Type> extends ControlValueAccessorDirective<Type> {
5
5
  valueName: string;
6
- label: string;
7
6
  tooltip: string;
8
7
  className: string;
9
8
  showLabel: boolean;
@@ -24,7 +23,6 @@ export declare class SearchEmployeeComponent extends BaseComponent {
24
23
  isUniqueUsers: boolean;
25
24
  userAlreadyExist: boolean;
26
25
  emitedDeletedValue: EventEmitter<any>;
27
- ngOnInit(): void;
28
26
  deleteRow(ind: number, rowData: any): void;
29
27
  ngOnChanges(changes: SimpleChanges): void;
30
28
  resetSearchEmpData(): void;
@@ -33,8 +31,8 @@ export declare class SearchEmployeeComponent extends BaseComponent {
33
31
  getImage(id: string): string;
34
32
  selectOption(object: any, ev: any): void;
35
33
  openHints(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchEmployeeComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchEmployeeComponent, "app-search-employee", never, { "valueName": { "alias": "valueName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "data": { "alias": "data"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "arrayList": { "alias": "arrayList"; "required": false; }; "isUniqueUsers": { "alias": "isUniqueUsers"; "required": false; }; }, { "selectedEmp": "selectedEmp"; "onInputChange": "onInputChange"; "editDirectManger": "editDirectManger"; "deleteDirectManger": "deleteDirectManger"; "emitedDeletedValue": "emitedDeletedValue"; }, never, never, true, never>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchEmployeeComponent<any>, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchEmployeeComponent<any>, "app-search-employee", never, { "valueName": { "alias": "valueName"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "data": { "alias": "data"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "arrayList": { "alias": "arrayList"; "required": false; }; "isUniqueUsers": { "alias": "isUniqueUsers"; "required": false; }; }, { "selectedEmp": "selectedEmp"; "onInputChange": "onInputChange"; "editDirectManger": "editDirectManger"; "deleteDirectManger": "deleteDirectManger"; "emitedDeletedValue": "emitedDeletedValue"; }, never, never, true, never>;
38
36
  }
39
37
  export interface searchEmp {
40
38
  personName?: string;
@@ -0,0 +1,5 @@
1
+ import { MatDatepickerInput, MatDatepickerModule, MatDatepickerToggle } from "@angular/material/datepicker";
2
+ import { MatFormField, MatFormFieldModule } from "@angular/material/form-field";
3
+ import { MatInput } from "@angular/material/input";
4
+ export declare const MatDatePickerImports: (typeof MatDatepickerToggle | typeof MatDatepickerInput | typeof MatDatepickerModule)[];
5
+ export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatInput | typeof MatFormField)[];
@@ -1,8 +1,7 @@
1
- import { BaseComponent } from './../base-component/base-component.component';
2
1
  import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
- export declare class ToggleButtonComponent extends BaseComponent {
5
- label: string;
4
+ export declare class ToggleButtonComponent<Type> extends ControlValueAccessorDirective<Type> {
6
5
  tooltip: string;
7
6
  className: string;
8
7
  showLabel: boolean;
@@ -12,9 +11,9 @@ export declare class ToggleButtonComponent extends BaseComponent {
12
11
  optionAr: string;
13
12
  optionEn: string;
14
13
  hasHint: boolean;
15
- ngOnInit(): void;
16
- resetKeyValue(): void;
17
- emitSelectedValue(event: any): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "app-toggle-button", never, { "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "data": { "alias": "data"; "required": false; }; "error": { "alias": "error"; "required": false; }; "optionAr": { "alias": "optionAr"; "required": false; }; "optionEn": { "alias": "optionEn"; "required": false; }; "hasHint": { "alias": "hasHint"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
14
+ options: any[];
15
+ displayedLable: string;
16
+ key: string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent<any>, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "app-toggle-button", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "data": { "alias": "data"; "required": false; }; "error": { "alias": "error"; "required": false; }; "optionAr": { "alias": "optionAr"; "required": false; }; "optionEn": { "alias": "optionEn"; "required": false; }; "hasHint": { "alias": "hasHint"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayedLable": { "alias": "displayedLable"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
20
19
  }
@@ -8,6 +8,7 @@ export declare class ValidationErrorsComponent<Type> extends ControlValueAccesso
8
8
  required: string;
9
9
  maxlength: string;
10
10
  minlength: string;
11
+ validatePhoneNumber: string;
11
12
  };
12
13
  ngOnChanges(changes: SimpleChanges): void;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorsComponent<any>, never>;
@@ -3,7 +3,6 @@ export * from './delete-popup/delete-popup.component';
3
3
  export * from './dialogs/delete-dialog/delete-dialog.component';
4
4
  export * from './dialogs/submit-dialog/submit-dialog.component';
5
5
  export * from './dialogs/confirm-dialog/confirm-dialog.component';
6
- export * from './doc-uploader/docs-uploader.component';
7
6
  export * from './form-field';
8
7
  export * from './action-buttons/action-buttons.component';
9
8
  export * from './terms-conditions/terms-conditions.component';
package/lib/i18n/ar.d.ts CHANGED
@@ -168,5 +168,11 @@ declare const _default: {
168
168
  otherLang: string;
169
169
  flagStatusUpdated: string;
170
170
  AllRequests: string;
171
+ clear: string;
172
+ applyFilters: string;
173
+ filters: string;
174
+ month: string;
175
+ year: string;
176
+ status: string;
171
177
  };
172
178
  export default _default;
package/lib/i18n/en.d.ts CHANGED
@@ -172,5 +172,11 @@ declare const _default: {
172
172
  addMultiAttachments: string;
173
173
  flagStatusUpdated: string;
174
174
  AllRequests: string;
175
+ applyFilters: string;
176
+ clear: string;
177
+ filters: string;
178
+ month: string;
179
+ year: string;
180
+ status: string;
175
181
  };
176
182
  export default _default;
@@ -3,8 +3,8 @@ import type { MyLibConfig } from "../interfaces/shared.interface";
3
3
  import { Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CoreService {
6
- private http;
7
- private config;
6
+ private readonly http;
7
+ private readonly config;
8
8
  apiUrl: string;
9
9
  private authToken;
10
10
  private refreshToken;
@@ -19,6 +19,9 @@ export declare class CoreService {
19
19
  language: string;
20
20
  activities: any[];
21
21
  approvals: any;
22
+ historyDataLoaded: boolean;
23
+ historyData: any[];
24
+ private readonly isMobile;
22
25
  constructor(http: HttpClient, config: MyLibConfig);
23
26
  getLoggedInUserData(): void;
24
27
  loadForm(): Observable<any>;
@@ -46,12 +49,14 @@ export declare class CoreService {
46
49
  private callPost;
47
50
  private submit;
48
51
  private successWm;
49
- loadFile(...args: any): Promise<import("@angular/common/http").HttpResponse<Object>>;
52
+ loadFile(...args: any): Observable<any>;
50
53
  dataURItoBlob(dataURI: any): Blob;
51
54
  setFlagPriority(id: string): Observable<any>;
52
55
  loadHistory(...args: any[]): Observable<any>;
53
56
  getInboxItem(...args: any[]): Observable<any>;
54
- prespectiveApprovers(details: any): Observable<any>;
57
+ perspectiveApproves(details: any): Observable<any>;
58
+ getAttachments(data: any, ...args: any): Observable<any>;
59
+ searchEmployee(...args: any[]): Observable<any>;
55
60
  myRequests(details: any): Observable<any>;
56
61
  generalCallApi(body: any, type: string, options: any): Observable<any>;
57
62
  loggedInUserId(): any;
@@ -15,6 +15,7 @@ export declare class RequestDetailsSectionComponent implements OnInit {
15
15
  currentSectionId: string;
16
16
  lastSectionId: string;
17
17
  formGroup: FormGroup;
18
+ options: string[];
18
19
  constructor(i18n: CoreI18nService, fb: FormBuilder, actionStateService: ActionStateService);
19
20
  ngOnInit(): void;
20
21
  createForm(): void;