bpm-core 0.0.52 → 0.0.54

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 (84) hide show
  1. package/esm2022/lib/app/app.component.mjs +20 -9
  2. package/esm2022/lib/components/app-component-sections/activities/activities.component.mjs +6 -3
  3. package/esm2022/lib/components/app-component-sections/approvals/approvals.component.mjs +3 -6
  4. package/esm2022/lib/components/app-component-sections/approvals-workflow/approvals-workflow.component.mjs +69 -56
  5. package/esm2022/lib/components/app-component-sections/faqs/faqs.component.mjs +1 -1
  6. package/esm2022/lib/components/app-component-sections/feedback-section/feedback-section.component.mjs +5 -6
  7. package/esm2022/lib/components/app-component-sections/previous-requests/previous-requests.component.mjs +3 -5
  8. package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +7 -5
  9. package/esm2022/lib/components/shared-components/action-buttons/action-buttons.component.mjs +4 -6
  10. package/esm2022/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.mjs +5 -4
  11. package/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +76 -51
  12. package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +153 -110
  13. package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +9 -9
  14. package/esm2022/lib/components/shared-components/form-field/control-value-accessor.directive.mjs +31 -8
  15. package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +15 -18
  16. package/esm2022/lib/components/shared-components/form-field/date-picker/date-picker.component.mjs +15 -18
  17. package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +12 -14
  18. package/esm2022/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.mjs +141 -212
  19. package/esm2022/lib/components/shared-components/form-field/form-label/form-label.component.mjs +9 -9
  20. package/esm2022/lib/components/shared-components/form-field/index.mjs +2 -1
  21. package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +3 -3
  22. package/esm2022/lib/components/shared-components/form-field/input/input.component.mjs +19 -33
  23. package/esm2022/lib/components/shared-components/form-field/input-currency/input-currency.component.mjs +16 -26
  24. package/esm2022/lib/components/shared-components/form-field/input-email/input-email.component.mjs +16 -27
  25. package/esm2022/lib/components/shared-components/form-field/input-mask/input-mask.component.mjs +16 -12
  26. package/esm2022/lib/components/shared-components/form-field/input-number/input-number.component.mjs +16 -24
  27. package/esm2022/lib/components/shared-components/form-field/input-telephone/input-telephone.component.mjs +11 -12
  28. package/esm2022/lib/components/shared-components/form-field/radio/radio.component.mjs +10 -10
  29. package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +43 -108
  30. package/esm2022/lib/components/shared-components/form-field/select/select.component.mjs +2 -2
  31. package/esm2022/lib/components/shared-components/form-field/shared-imports.mjs +19 -1
  32. package/esm2022/lib/components/shared-components/form-field/textarea/textarea.component.mjs +17 -29
  33. package/esm2022/lib/components/shared-components/form-field/toggle-button/toggle-button.component.mjs +11 -20
  34. package/esm2022/lib/components/shared-components/index.mjs +1 -3
  35. package/esm2022/lib/i18n/ar.mjs +5 -3
  36. package/esm2022/lib/i18n/en.mjs +5 -3
  37. package/esm2022/lib/services/core.service.ts.mjs +11 -1
  38. package/esm2022/lib/services/i18n.service.mjs +4 -4
  39. package/esm2022/lib/testComponent/general-approver-section/general-approver-section.component.mjs +2 -2
  40. package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +303 -35
  41. package/esm2022/lib/testComponent/services/i18n.service.mjs +3 -3
  42. package/fesm2022/bpm-core.mjs +1230 -1103
  43. package/fesm2022/bpm-core.mjs.map +1 -1
  44. package/lib/app/app.component.d.ts +5 -2
  45. package/lib/components/app-component-sections/activities/activities.component.d.ts +2 -0
  46. package/lib/components/app-component-sections/approvals/approvals.component.d.ts +1 -1
  47. package/lib/components/app-component-sections/approvals-workflow/approvals-workflow.component.d.ts +19 -5
  48. package/lib/components/app-component-sections/feedback-section/feedback-section.component.d.ts +1 -1
  49. package/lib/components/app-component-sections/service-header/service-header.component.d.ts +2 -2
  50. package/lib/components/shared-components/action-buttons/action-buttons.component.d.ts +2 -3
  51. package/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.d.ts +12 -3
  52. package/lib/components/shared-components/form-field/attachment-section/attachment-section.component.d.ts +23 -12
  53. package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +7 -3
  54. package/lib/components/shared-components/form-field/date-picker/date-picker.component.d.ts +1 -2
  55. package/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.d.ts +14 -14
  56. package/lib/components/shared-components/form-field/form-label/form-label.component.d.ts +2 -3
  57. package/lib/components/shared-components/form-field/index.d.ts +1 -0
  58. package/lib/components/shared-components/form-field/info-item/info-item.component.d.ts +1 -1
  59. package/lib/components/shared-components/form-field/input/input.component.d.ts +1 -2
  60. package/lib/components/shared-components/form-field/input-currency/input-currency.component.d.ts +1 -2
  61. package/lib/components/shared-components/form-field/input-email/input-email.component.d.ts +1 -2
  62. package/lib/components/shared-components/form-field/input-mask/input-mask.component.d.ts +1 -2
  63. package/lib/components/shared-components/form-field/input-number/input-number.component.d.ts +1 -2
  64. package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +2 -10
  65. package/lib/components/shared-components/form-field/shared-imports.d.ts +11 -2
  66. package/lib/components/shared-components/form-field/textarea/textarea.component.d.ts +0 -3
  67. package/lib/components/shared-components/form-field/toggle-button/toggle-button.component.d.ts +1 -3
  68. package/lib/components/shared-components/index.d.ts +0 -2
  69. package/lib/i18n/ar.d.ts +3 -1
  70. package/lib/i18n/en.d.ts +3 -1
  71. package/lib/services/core.service.ts.d.ts +1 -0
  72. package/lib/testComponent/request-details-section/request-details-section.component.d.ts +40 -2
  73. package/package.json +1 -1
  74. package/src/lib/assets/images/user.svg +6 -0
  75. package/src/lib/assets/scss/_general.scss +4 -1
  76. package/src/lib/assets/scss/_upgrade.scss +4 -2
  77. package/esm2022/lib/components/shared-components/confirmation-popup/confirmation-popup.component.mjs +0 -39
  78. package/esm2022/lib/components/shared-components/delete-popup/delete-popup.component.mjs +0 -19
  79. package/esm2022/lib/components/shared-components/doc-uploader/docs-uploader.component.mjs +0 -686
  80. package/esm2022/lib/environments/environment.local.mjs +0 -27
  81. package/lib/components/shared-components/confirmation-popup/confirmation-popup.component.d.ts +0 -25
  82. package/lib/components/shared-components/delete-popup/delete-popup.component.d.ts +0 -6
  83. package/lib/components/shared-components/doc-uploader/docs-uploader.component.d.ts +0 -144
  84. package/lib/environments/environment.local.d.ts +0 -26
@@ -1,15 +1,17 @@
1
+ import { AfterViewInit } from '@angular/core';
1
2
  import { Router } from "@angular/router";
2
3
  import { CoreI18nService, CoreService, SidenavService } from "../services";
3
4
  import { Form } from "../interfaces";
4
5
  import { SegmentDynamicLoaderService } from "../testComponent/services/segment-dynamic-loader.service";
5
6
  import * as i0 from "@angular/core";
6
- export declare class CoreAppComponent {
7
+ export declare class CoreAppComponent implements AfterViewInit {
7
8
  segmentDynamicLoader: SegmentDynamicLoaderService;
8
9
  private readonly document;
9
10
  private readonly router;
10
11
  private readonly sidenavService;
11
12
  i18n: CoreI18nService;
12
13
  private readonly coreService;
14
+ private platformId;
13
15
  loading: {
14
16
  form: boolean;
15
17
  };
@@ -17,7 +19,8 @@ export declare class CoreAppComponent {
17
19
  formTitle: string;
18
20
  noError: boolean;
19
21
  errorMessage: [];
20
- constructor(segmentDynamicLoader: SegmentDynamicLoaderService, document: Document, router: Router, sidenavService: SidenavService, i18n: CoreI18nService, coreService: CoreService);
22
+ constructor(segmentDynamicLoader: SegmentDynamicLoaderService, document: Document, router: Router, sidenavService: SidenavService, i18n: CoreI18nService, coreService: CoreService, platformId: any);
23
+ ngAfterViewInit(): void;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CoreAppComponent, never>;
22
25
  static ɵcmp: i0.ɵɵComponentDeclaration<CoreAppComponent, "lib-app", never, {}, {}, never, never, true, never>;
23
26
  }
@@ -1,3 +1,4 @@
1
+ import { DestroyRef } from '@angular/core';
1
2
  import { CoreI18nService, CoreService, SidenavService } from '../../../services';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class ActivitiesComponent {
@@ -5,6 +6,7 @@ export declare class ActivitiesComponent {
5
6
  i18n: CoreI18nService;
6
7
  coreService: CoreService;
7
8
  parsedData: string;
9
+ destroyRef: DestroyRef;
8
10
  constructor(sidenavService: SidenavService, i18n: CoreI18nService, coreService: CoreService);
9
11
  downloadFile(event: any): void;
10
12
  closeSidenav(): void;
@@ -1,7 +1,7 @@
1
1
  import { CoreI18nService, CoreService, SidenavService } from '../../../services';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ApprovalsComponent {
4
- private sidenavService;
4
+ private readonly sidenavService;
5
5
  i18n: CoreI18nService;
6
6
  coreService: CoreService;
7
7
  constructor(sidenavService: SidenavService, i18n: CoreI18nService, coreService: CoreService);
@@ -4,16 +4,30 @@ import { ToastrService } from "ngx-toastr";
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ApprovalsWorkflowComponent {
6
6
  i18n: CoreI18nService;
7
- private sidenavService;
8
- private coreService;
9
- private toasterService;
7
+ private readonly sidenavService;
8
+ private readonly coreService;
9
+ private readonly toasterService;
10
10
  section: Section;
11
11
  form: Form;
12
12
  approvals: unknown[];
13
13
  loading: boolean;
14
14
  constructor(i18n: CoreI18nService, sidenavService: SidenavService, coreService: CoreService, toasterService: ToastrService);
15
- getApproves(): void;
16
- statusClass(status: string): "success" | "danger" | "warning";
15
+ getApprovals(): void;
16
+ isLoading(): boolean;
17
+ initializeApprovals(): void;
18
+ handleResponse(response: any): void;
19
+ createApprovalObject(approval: any): {
20
+ id: number;
21
+ name: any;
22
+ title: any;
23
+ image: string;
24
+ status: string;
25
+ statusLabel: string;
26
+ };
27
+ getStageDetails(approval: any): Section<any>;
28
+ handleError(err: any): void;
29
+ transformStatus(status: string): string;
30
+ getClassBasedOnStatus(status: string): "success" | "danger" | "warning";
17
31
  showProspectiveApprovals(): void;
18
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalsWorkflowComponent, never>;
19
33
  static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalsWorkflowComponent, "lib-approvals-workflow", never, { "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { CoreI18nService } from '../../../services';
3
3
  import { Form, InboxItem, ProfileInfoDrop } from '../../../interfaces';
4
- import { FeedBackService } from "../../../services/feedBack.service";
4
+ import { FeedBackService } from "../../../services";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FeedbackSectionComponent implements OnInit {
7
7
  feedBackService: FeedBackService;
@@ -22,6 +22,7 @@ export declare class ServiceHeaderComponent implements AfterViewInit {
22
22
  form: Form;
23
23
  showHistory: boolean;
24
24
  isLoading: boolean;
25
+ isReadOnly: boolean;
25
26
  showApprovalHistory: boolean;
26
27
  approvalHistory: any;
27
28
  creationDate: string;
@@ -29,7 +30,6 @@ export declare class ServiceHeaderComponent implements AfterViewInit {
29
30
  section: Section;
30
31
  serviceFaq: any[];
31
32
  approvals: any[];
32
- feedBackIcon: string;
33
33
  flagPriority: string;
34
34
  constructor(cdRef: ChangeDetectorRef, coreService: CoreService, i18n: CoreI18nService, feedBackService: FeedBackService, dialog: MatDialog, sidenavService: SidenavService, toasterService: ToastrService);
35
35
  /**
@@ -122,6 +122,6 @@ export declare class ServiceHeaderComponent implements AfterViewInit {
122
122
  private getImageUrl;
123
123
  showPreviousRequests(): void;
124
124
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceHeaderComponent, never>;
125
- static ɵcmp: i0.ɵɵComponentDeclaration<ServiceHeaderComponent, "core-service-header", never, { "form": { "alias": "form"; "required": false; }; "showHistory": { "alias": "showHistory"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "showApprovalHistory": { "alias": "showApprovalHistory"; "required": false; }; "approvalHistory": { "alias": "approvalHistory"; "required": false; }; "creationDate": { "alias": "creationDate"; "required": false; }; "formTitle": { "alias": "formTitle"; "required": false; }; "section": { "alias": "section"; "required": false; }; "serviceFaq": { "alias": "serviceFaq"; "required": false; }; }, {}, never, ["*"], true, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<ServiceHeaderComponent, "core-service-header", never, { "form": { "alias": "form"; "required": false; }; "showHistory": { "alias": "showHistory"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "showApprovalHistory": { "alias": "showApprovalHistory"; "required": false; }; "approvalHistory": { "alias": "approvalHistory"; "required": false; }; "creationDate": { "alias": "creationDate"; "required": false; }; "formTitle": { "alias": "formTitle"; "required": false; }; "section": { "alias": "section"; "required": false; }; "serviceFaq": { "alias": "serviceFaq"; "required": false; }; }, {}, never, ["*"], true, never>;
126
126
  }
127
127
  export {};
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { ActionStateService, CoreI18nService, CoreService, SidenavService } from "../../../services";
2
+ import { ActionStateService, CoreI18nService, CoreService } from "../../../services";
3
3
  import { Form, Section } from "../../../interfaces";
4
4
  import { MatDialog } from "@angular/material/dialog";
5
5
  import { FormGroup } from "@angular/forms";
@@ -12,7 +12,6 @@ export declare class ActionButtonsComponent implements AfterViewInit {
12
12
  dialog: MatDialog;
13
13
  private toasterService;
14
14
  private cdRef;
15
- private sidenavService;
16
15
  lovOptions: any[];
17
16
  lovType: string;
18
17
  fieldsForm: FormGroup;
@@ -30,7 +29,7 @@ export declare class ActionButtonsComponent implements AfterViewInit {
30
29
  SUBMIT: boolean;
31
30
  };
32
31
  submittingForm: boolean;
33
- constructor(i18n: CoreI18nService, actionStateService: ActionStateService, coreService: CoreService, dialog: MatDialog, toasterService: ToastrService, cdRef: ChangeDetectorRef, sidenavService: SidenavService);
32
+ constructor(i18n: CoreI18nService, actionStateService: ActionStateService, coreService: CoreService, dialog: MatDialog, toasterService: ToastrService, cdRef: ChangeDetectorRef);
34
33
  ngAfterViewInit(): void;
35
34
  resetForm(): void;
36
35
  onSubmit(action: string): void;
@@ -1,16 +1,25 @@
1
- import { MatDialogRef } from "@angular/material/dialog";
1
+ import { Injector } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
2
3
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
4
  import { Section } from '../../../../interfaces';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import { ToastrService } from 'ngx-toastr';
7
+ import { DomSanitizer } from '@angular/platform-browser';
8
+ import { CoreI18nService, CoreService } from "../../../../services";
4
9
  import * as i0 from "@angular/core";
5
10
  export declare class AttachmentSectionDataComponent<Type> extends ControlValueAccessorDirective<Type> {
11
+ dialogRef: MatDialogRef<any>;
12
+ dialogData: any;
6
13
  popupData: any;
7
14
  popupDataOrg: any;
8
15
  uploading: boolean;
9
16
  editMode: boolean;
10
17
  hasColumnBreak: boolean;
11
18
  section: Section;
12
- dialogData: any;
13
- dialogRef: MatDialogRef<any>;
19
+ formGroup: FormGroup;
20
+ constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer, fb: FormBuilder, dialogRef: MatDialogRef<any>, dialogData: any);
21
+ ngOnInit(): void;
22
+ createForm(): void;
14
23
  close(): void;
15
24
  handleEmitValue(data: any, fieldName: string): void;
16
25
  handleAttachmentEmitValue(data: any): void;
@@ -1,30 +1,41 @@
1
- import { ElementRef } from '@angular/core';
2
- import { BaseComponent } from '../base-component/base-component.component';
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
3
2
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
3
+ import { ControlValueAccessorDirective } from "../control-value-accessor.directive";
4
+ import { MatDialog } from "@angular/material/dialog";
5
+ import { MatPaginator } from "@angular/material/paginator";
6
+ import { MatTableDataSource } from "@angular/material/table";
4
7
  import * as i0 from "@angular/core";
5
- export declare class AttachmentSectionComponent extends BaseComponent {
8
+ export declare class AttachmentSectionComponent extends ControlValueAccessorDirective<any> implements AfterViewInit {
6
9
  className: string;
7
- attachments: any[];
8
- label: string;
9
10
  attachmentsMax: number;
10
11
  isSortable: boolean;
11
12
  downloadAll: boolean;
12
13
  popupData: any;
13
14
  isRequired: boolean;
14
- placeholderElement: ElementRef;
15
+ descriptionRequired: boolean;
16
+ commentsRequired: boolean;
17
+ allowedExtensions: string;
18
+ emitedValue: EventEmitter<any>;
19
+ dialog: MatDialog;
20
+ displayedColumns: string[];
21
+ dataSource: MatTableDataSource<any>;
22
+ paginator: MatPaginator;
23
+ totalRecords: number;
24
+ pageSize: number;
25
+ pageNumber: number;
15
26
  ngOnInit(): void;
27
+ ngAfterViewInit(): void;
28
+ onPaginateChange(event: any): void;
16
29
  drop(event: CdkDragDrop<string[]>): void;
17
30
  resetAttachmentData(): void;
31
+ addDataToTable(): void;
18
32
  handleEmitValue(data: any, fieldName: string): void;
19
- addAttahment(): void;
33
+ addAttachment(): void;
20
34
  deleteAttachments(index: number, item: any): void;
21
35
  deleteAttachment(index: number, item: any): void;
22
36
  editRow(rowData: any, index: any): void;
23
37
  downloadAllAttachments(event: any): void;
24
- downloadFile(event: any, field: any): void;
25
- dataURItoBlob(dataURI: any): Blob;
26
- protected readonly onmouseleave: (this: Window, ev: MouseEvent) => any;
27
- protected readonly isNaN: typeof isNaN;
38
+ downloadFile(event: any, field: any): Promise<void>;
28
39
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentSectionComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentSectionComponent, "app-attachment-section", never, { "className": { "alias": "className"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "label": { "alias": "label"; "required": false; }; "attachmentsMax": { "alias": "attachmentsMax"; "required": false; }; "isSortable": { "alias": "isSortable"; "required": false; }; "downloadAll": { "alias": "downloadAll"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; }, {}, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentSectionComponent, "app-attachment-section", never, { "className": { "alias": "className"; "required": false; }; "attachmentsMax": { "alias": "attachmentsMax"; "required": false; }; "isSortable": { "alias": "isSortable"; "required": false; }; "downloadAll": { "alias": "downloadAll"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "descriptionRequired": { "alias": "descriptionRequired"; "required": false; }; "commentsRequired": { "alias": "commentsRequired"; "required": false; }; "allowedExtensions": { "alias": "allowedExtensions"; "required": false; }; }, { "emitedValue": "emitedValue"; }, never, never, true, never>;
30
41
  }
@@ -1,5 +1,5 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, FormControl } from '@angular/forms';
2
+ import { ControlValueAccessor, FormBuilder, FormControl } from '@angular/forms';
3
3
  import { CoreI18nService, CoreService } from '../../../services';
4
4
  import { DomSanitizer } from "@angular/platform-browser";
5
5
  import { ToastrService } from "ngx-toastr";
@@ -10,6 +10,8 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
10
10
  toasterService: ToastrService;
11
11
  coreService: CoreService;
12
12
  sanitizer: DomSanitizer;
13
+ fb: FormBuilder;
14
+ tooltip: any;
13
15
  isReadOnly: boolean;
14
16
  hint: string;
15
17
  loading: boolean;
@@ -27,6 +29,8 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
27
29
  randomID: string;
28
30
  multiple: boolean;
29
31
  searchControl: FormControl<any>;
32
+ employeeSearchControl: FormControl<any>;
33
+ attachments: any[];
30
34
  startDateControl: FormControl<any>;
31
35
  endDateControl: FormControl<any>;
32
36
  minDateValue: any;
@@ -41,7 +45,7 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
41
45
  required: boolean;
42
46
  maxLength: any;
43
47
  isDisabled: boolean;
44
- constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer);
48
+ constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer, fb: FormBuilder);
45
49
  ngOnInit(): void;
46
50
  setFormControl(): void;
47
51
  setFormValidators(): void;
@@ -50,5 +54,5 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
50
54
  registerOnTouched(fn: () => Type): void;
51
55
  setDisabledState?(isDisabled: boolean): void;
52
56
  static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueAccessorDirective<any>, 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>;
57
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "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>;
54
58
  }
@@ -8,7 +8,6 @@ export declare class DatePickerComponent<Type> extends ControlValueAccessorDirec
8
8
  date: FormControl<any>;
9
9
  className: string;
10
10
  calendarType: string;
11
- showLabel: boolean;
12
11
  yearOnly: boolean;
13
12
  dateValue: EventEmitter<any>;
14
13
  showIslamic: boolean;
@@ -25,5 +24,5 @@ export declare class DatePickerComponent<Type> extends ControlValueAccessorDirec
25
24
  clearDateValue(event: any): void;
26
25
  private activateYearOnlyMode;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent<any>, 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>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent<any>, "app-datepicker", never, { "className": { "alias": "className"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "dateValue": "dateValue"; }, never, never, true, never>;
29
28
  }
@@ -3,7 +3,6 @@ import { DocumentFile } from '../../../../interfaces';
3
3
  import { FormGroup } from '@angular/forms';
4
4
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
5
5
  import { MatDialog } from '@angular/material/dialog';
6
- import { SafeUrl } from "@angular/platform-browser";
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDirective<Type> implements OnInit, OnChanges {
9
8
  maxSizeFlag: boolean;
@@ -20,9 +19,6 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
20
19
  hints: any;
21
20
  allowedExtensions: string;
22
21
  callApi: boolean;
23
- tooltip: string;
24
- attachments: any[];
25
- optional: boolean;
26
22
  display: string;
27
23
  validExtension: boolean;
28
24
  attachType: string;
@@ -39,6 +35,7 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
39
35
  mimeType: string;
40
36
  fileContents: string;
41
37
  fileName: string;
38
+ name: string;
42
39
  };
43
40
  allAttachments: any[];
44
41
  uploadForm: FormGroup;
@@ -51,6 +48,7 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
51
48
  preventFileContents: boolean;
52
49
  addSignatureClicked: EventEmitter<any>;
53
50
  printActionClicked: EventEmitter<any>;
51
+ emitedValue: EventEmitter<any>;
54
52
  downloadActionClicked: EventEmitter<any>;
55
53
  maxSize: string;
56
54
  inputFile: ElementRef;
@@ -94,33 +92,35 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
94
92
  private readonly validPdfTypes;
95
93
  uploading: boolean;
96
94
  lengthError: boolean;
97
- downloadUrl: SafeUrl;
98
95
  ngOnChanges(changes: SimpleChanges): void;
99
- resetAttachmentData(): void;
100
96
  getFileType(attachment: any): string;
101
97
  private checkFileType;
102
- attch(type: any, index: number, field: any): void;
98
+ attachmentAction(type: any, index: number, field: any): void;
103
99
  confirmDelete(index: number): void;
104
100
  removeMulti(index: number): void;
105
101
  downloadFileNew(fileData: any): void;
106
102
  onValueChange(event: any): void;
103
+ private handleFileInput;
104
+ private processUploadedFile;
105
+ private updateFileProperties;
106
+ private uploadValidAndNonDuplicateFile;
107
+ private readFileAndUpload;
108
+ private uploadSingleFile;
109
+ private emitEmptyFile;
110
+ processAttachments(field: any, allowMultiAttachments: boolean): void;
107
111
  addAttachments(): void;
108
112
  addMultiAttachments(field: any): void;
109
- checkFileExistance(file: AttatchmentFile): boolean;
113
+ isFileNotDuplicate(file: FileInfo): boolean;
110
114
  isValidMimeType(value: any): boolean;
111
115
  isValidExtension(value: string, type: string): boolean;
112
116
  removeAttachedFile(): void;
113
117
  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
118
  private emit;
119
119
  private deleteFileContents;
120
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>;
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; }; "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"; "emitedValue": "emitedValue"; "downloadActionClicked": "downloadActionClicked"; }, never, never, true, never>;
122
122
  }
123
- declare class AttatchmentFile {
123
+ declare class FileInfo {
124
124
  fileName: string;
125
125
  name: string;
126
126
  mimeType: string;
@@ -2,11 +2,10 @@ import { CoreI18nService } from '../../../../services';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FormLabelComponent {
4
4
  i18n: CoreI18nService;
5
- hideOption: boolean;
6
- showLabel: boolean;
5
+ tooltip: any;
7
6
  label: string;
8
7
  optional: boolean;
9
8
  constructor(i18n: CoreI18nService);
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FormLabelComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FormLabelComponent, "app-form-label", never, { "hideOption": { "alias": "hideOption"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; }, {}, never, never, true, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormLabelComponent, "app-form-label", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "label": { "alias": "label"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; }, {}, never, never, true, never>;
12
11
  }
@@ -22,3 +22,4 @@ export * from './repeated-list/repeated-list.component';
22
22
  export * from './attachment-section/attachment-section.component';
23
23
  export * from './add-attachment-section/add-attachment-section.component';
24
24
  export * from './radio/radio.component';
25
+ export * from './doc-uploader/docs-uploader.component';
@@ -11,7 +11,7 @@ export declare class InfoItemComponent implements OnInit {
11
11
  multiple: boolean;
12
12
  insideTable: boolean;
13
13
  hasLabel: boolean;
14
- arrayList: [];
14
+ arrayList: any[];
15
15
  actionType: string;
16
16
  download: boolean;
17
17
  constructor(i18n: CoreI18nService);
@@ -2,12 +2,11 @@ import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class InputComponent<Type> extends ControlValueAccessorDirective<Type> {
5
- tooltip: string;
6
5
  floatLabel: any;
7
6
  className: string;
8
7
  iconPrefixName: string;
9
8
  iconSuffixName: string;
10
9
  emitedChangedValue1: EventEmitter<any>;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent<any>, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "app-input", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "emitedChangedValue1": { "alias": "emitedChangedValue1"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "app-input", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "emitedChangedValue1": { "alias": "emitedChangedValue1"; "required": false; }; }, {}, never, never, true, never>;
13
12
  }
@@ -2,7 +2,6 @@ import { ControlValueAccessorDirective } from '../control-value-accessor.directi
2
2
  import { MycurrencyPipe } from "../../../../pipes";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class InputCurrencyComponent<Type> extends ControlValueAccessorDirective<Type> {
5
- tooltip: string;
6
5
  floatLabel: any;
7
6
  className: string;
8
7
  iconPrefixName: string;
@@ -10,5 +9,5 @@ export declare class InputCurrencyComponent<Type> extends ControlValueAccessorDi
10
9
  numberSuffixName: string;
11
10
  mycurrencyPipe: MycurrencyPipe;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent<any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent<any>, "app-input-currency", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent<any>, "app-input-currency", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
14
13
  }
@@ -1,7 +1,6 @@
1
1
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class InputEmailComponent<Type> extends ControlValueAccessorDirective<Type> {
4
- tooltip: string;
5
4
  floatLabel: any;
6
5
  className: string;
7
6
  matPrefix: boolean;
@@ -10,5 +9,5 @@ export declare class InputEmailComponent<Type> extends ControlValueAccessorDirec
10
9
  numberSuffixName: string;
11
10
  displayErrors(data: any): void;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<InputEmailComponent<any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<InputEmailComponent<any>, "app-input-email", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputEmailComponent<any>, "app-input-email", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
14
13
  }
@@ -1,7 +1,6 @@
1
1
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class InputMaskComponent<Type> extends ControlValueAccessorDirective<Type> {
4
- tooltip: string;
5
4
  floatLabel: any;
6
5
  className: string;
7
6
  matPrefix: boolean;
@@ -9,5 +8,5 @@ export declare class InputMaskComponent<Type> extends ControlValueAccessorDirect
9
8
  iconSuffixName: string;
10
9
  numberSuffixName: string;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskComponent<any>, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent<any>, "app-input-mask", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent<any>, "app-input-mask", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; }, {}, never, never, true, never>;
13
12
  }
@@ -2,7 +2,6 @@ import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class InputNumberComponent<Type> extends ControlValueAccessorDirective<Type> {
5
- tooltip: string;
6
5
  floatLabel: any;
7
6
  className: string;
8
7
  iconPrefixName: string;
@@ -11,5 +10,5 @@ export declare class InputNumberComponent<Type> extends ControlValueAccessorDire
11
10
  allowedPattern: string;
12
11
  emitedChangedValue: EventEmitter<any>;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent<any>, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent<any>, "app-input-number", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "allowedPattern": { "alias": "allowedPattern"; "required": false; }; }, { "emitedChangedValue": "emitedChangedValue"; }, never, never, true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent<any>, "app-input-number", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "allowedPattern": { "alias": "allowedPattern"; "required": false; }; }, { "emitedChangedValue": "emitedChangedValue"; }, never, never, true, never>;
15
14
  }
@@ -1,38 +1,30 @@
1
- import { EventEmitter, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SearchEmployeeComponent<Type> extends ControlValueAccessorDirective<Type> {
5
5
  valueName: string;
6
- tooltip: string;
7
6
  className: string;
8
- showLabel: boolean;
9
7
  optional: boolean;
10
8
  data: any[];
11
- filteredOptions: any;
12
9
  floatLabel: any;
13
10
  error: string;
14
- selectedItems: any[];
15
11
  selected: boolean;
16
12
  selectedEmp: EventEmitter<any>;
17
13
  onInputChange: EventEmitter<any>;
18
14
  showEdit: boolean;
19
15
  editDirectManger: EventEmitter<any>;
20
16
  deleteDirectManger: EventEmitter<any>;
21
- searchingForEmp: boolean;
22
17
  arrayList: any[];
23
18
  isUniqueUsers: boolean;
24
19
  userAlreadyExist: boolean;
25
20
  emitedDeletedValue: EventEmitter<any>;
26
21
  deleteRow(ind: number, rowData: any): void;
27
- ngOnChanges(changes: SimpleChanges): void;
28
- resetSearchEmpData(): void;
29
22
  onLoadOptions(event: any): void;
30
23
  includeData(option: any, filterValue: string): any;
31
24
  getImage(id: string): string;
32
25
  selectOption(object: any, ev: any): void;
33
- openHints(): void;
34
26
  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>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchEmployeeComponent<any>, "app-search-employee", never, { "valueName": { "alias": "valueName"; "required": false; }; "className": { "alias": "className"; "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>;
36
28
  }
37
29
  export interface searchEmp {
38
30
  personName?: string;
@@ -1,5 +1,14 @@
1
1
  import { MatDatepickerInput, MatDatepickerModule, MatDatepickerToggle } from "@angular/material/datepicker";
2
2
  import { MatFormField, MatFormFieldModule } from "@angular/material/form-field";
3
3
  import { MatInput } from "@angular/material/input";
4
- export declare const MatDatePickerImports: (typeof MatDatepickerInput | typeof MatDatepickerToggle | typeof MatDatepickerModule)[];
5
- export declare const MatFormImports: (typeof MatInput | typeof MatFormFieldModule | typeof MatFormField)[];
4
+ import { FormLabelComponent } from "./form-label/form-label.component";
5
+ import { ValidationErrorsComponent } from "./validation-errors/validation-errors.component";
6
+ import { ReactiveFormsModule } from "@angular/forms";
7
+ import { InfoItemComponent } from "./info-item/info-item.component";
8
+ import { EnOnlyDirective } from "../../../directives/en.directive";
9
+ import { ArOnlyDirective } from "../../../directives/ar.directive";
10
+ import { NgClass } from "@angular/common";
11
+ export declare const MatDatePickerImports: (typeof MatDatepickerToggle | typeof MatDatepickerInput | typeof MatDatepickerModule)[];
12
+ export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatFormField | typeof MatInput)[];
13
+ export declare const Shareds: (typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent | typeof ReactiveFormsModule | typeof NgClass)[];
14
+ export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
@@ -3,9 +3,6 @@ import * as i0 from "@angular/core";
3
3
  export declare class TextareaComponent<Type> extends ControlValueAccessorDirective<Type> {
4
4
  className: string;
5
5
  preventSpecailChar: boolean;
6
- focusInFunction(): void;
7
- focusOutFunction(): void;
8
- validateTextAreaBorder(): void;
9
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent<any>, never>;
10
7
  static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent<any>, "app-textarea", never, { "className": { "alias": "className"; "required": false; }; "preventSpecailChar": { "alias": "preventSpecailChar"; "required": false; }; }, {}, never, never, true, never>;
11
8
  }
@@ -2,9 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessorDirective } from '../control-value-accessor.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ToggleButtonComponent<Type> extends ControlValueAccessorDirective<Type> {
5
- tooltip: string;
6
5
  className: string;
7
- showLabel: boolean;
8
6
  data: any[];
9
7
  onChange: EventEmitter<any>;
10
8
  error: string;
@@ -15,5 +13,5 @@ export declare class ToggleButtonComponent<Type> extends ControlValueAccessorDir
15
13
  displayedLable: string;
16
14
  key: string;
17
15
  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>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "app-toggle-button", never, { "className": { "alias": "className"; "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>;
19
17
  }