bpm-core 0.0.52 → 0.0.53

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 (51) hide show
  1. package/esm2022/lib/app/app.component.mjs +20 -9
  2. package/esm2022/lib/components/app-component-sections/previous-requests/previous-requests.component.mjs +3 -5
  3. package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +7 -5
  4. package/esm2022/lib/components/shared-components/action-buttons/action-buttons.component.mjs +4 -6
  5. package/esm2022/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.mjs +5 -4
  6. package/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +76 -51
  7. package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +151 -110
  8. package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +6 -7
  9. package/esm2022/lib/components/shared-components/form-field/control-value-accessor.directive.mjs +12 -5
  10. package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +2 -1
  11. package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +3 -4
  12. package/esm2022/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.mjs +139 -206
  13. package/esm2022/lib/components/shared-components/form-field/index.mjs +2 -1
  14. package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +3 -3
  15. package/esm2022/lib/components/shared-components/form-field/input-mask/input-mask.component.mjs +14 -7
  16. package/esm2022/lib/components/shared-components/form-field/radio/radio.component.mjs +6 -4
  17. package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +43 -101
  18. package/esm2022/lib/components/shared-components/index.mjs +1 -3
  19. package/esm2022/lib/i18n/ar.mjs +4 -2
  20. package/esm2022/lib/i18n/en.mjs +4 -2
  21. package/esm2022/lib/services/core.service.ts.mjs +11 -1
  22. package/esm2022/lib/services/i18n.service.mjs +3 -3
  23. package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +24 -23
  24. package/esm2022/lib/testComponent/services/i18n.service.mjs +3 -3
  25. package/fesm2022/bpm-core.mjs +582 -663
  26. package/fesm2022/bpm-core.mjs.map +1 -1
  27. package/lib/app/app.component.d.ts +5 -2
  28. package/lib/components/app-component-sections/service-header/service-header.component.d.ts +2 -2
  29. package/lib/components/shared-components/action-buttons/action-buttons.component.d.ts +3 -4
  30. package/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.d.ts +12 -3
  31. package/lib/components/shared-components/form-field/attachment-section/attachment-section.component.d.ts +23 -12
  32. package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +5 -2
  33. package/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.d.ts +14 -12
  34. package/lib/components/shared-components/form-field/index.d.ts +1 -0
  35. package/lib/components/shared-components/form-field/info-item/info-item.component.d.ts +1 -1
  36. package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +1 -7
  37. package/lib/components/shared-components/index.d.ts +0 -2
  38. package/lib/i18n/ar.d.ts +2 -0
  39. package/lib/i18n/en.d.ts +2 -0
  40. package/lib/services/core.service.ts.d.ts +1 -0
  41. package/lib/testComponent/request-details-section/request-details-section.component.d.ts +0 -2
  42. package/package.json +2 -2
  43. package/src/lib/assets/images/user.svg +6 -0
  44. package/src/lib/assets/scss/_general.scss +4 -1
  45. package/src/lib/assets/scss/_upgrade.scss +2 -2
  46. package/esm2022/lib/components/shared-components/confirmation-popup/confirmation-popup.component.mjs +0 -39
  47. package/esm2022/lib/components/shared-components/delete-popup/delete-popup.component.mjs +0 -19
  48. package/esm2022/lib/components/shared-components/doc-uploader/docs-uploader.component.mjs +0 -686
  49. package/lib/components/shared-components/confirmation-popup/confirmation-popup.component.d.ts +0 -25
  50. package/lib/components/shared-components/delete-popup/delete-popup.component.d.ts +0 -6
  51. package/lib/components/shared-components/doc-uploader/docs-uploader.component.d.ts +0 -144
@@ -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
  }
@@ -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,13 +29,13 @@ 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;
37
36
  submitForm(action: string, section: Section): void;
38
37
  success(response: any): void;
39
- buttonShape(item: any): "" | "outline";
38
+ buttonShape(item: any): "outline" | "";
40
39
  buttonColor(item: any): "" | "red";
41
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsComponent, never>;
42
41
  static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonsComponent, "lib-action-buttons", never, { "lovOptions": { "alias": "lovOptions"; "required": false; }; "lovType": { "alias": "lovType"; "required": false; }; "fieldsForm": { "alias": "fieldsForm"; "required": false; }; "form": { "alias": "form"; "required": false; }; "section": { "alias": "section"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "showApprovalCycle": { "alias": "showApprovalCycle"; "required": false; }; "customCall": { "alias": "customCall"; "required": false; }; }, { "resetFormEmit": "resetFormEmit"; "customCallEmit": "customCallEmit"; }, never, never, true, never>;
@@ -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,7 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
10
10
  toasterService: ToastrService;
11
11
  coreService: CoreService;
12
12
  sanitizer: DomSanitizer;
13
+ fb: FormBuilder;
13
14
  isReadOnly: boolean;
14
15
  hint: string;
15
16
  loading: boolean;
@@ -27,6 +28,8 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
27
28
  randomID: string;
28
29
  multiple: boolean;
29
30
  searchControl: FormControl<any>;
31
+ employeeSearchControl: FormControl<any>;
32
+ attachments: any[];
30
33
  startDateControl: FormControl<any>;
31
34
  endDateControl: FormControl<any>;
32
35
  minDateValue: any;
@@ -41,7 +44,7 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
41
44
  required: boolean;
42
45
  maxLength: any;
43
46
  isDisabled: boolean;
44
- constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer);
47
+ constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer, fb: FormBuilder);
45
48
  ngOnInit(): void;
46
49
  setFormControl(): void;
47
50
  setFormValidators(): void;
@@ -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;
@@ -21,7 +20,6 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
21
20
  allowedExtensions: string;
22
21
  callApi: boolean;
23
22
  tooltip: string;
24
- attachments: any[];
25
23
  optional: boolean;
26
24
  display: string;
27
25
  validExtension: boolean;
@@ -39,6 +37,7 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
39
37
  mimeType: string;
40
38
  fileContents: string;
41
39
  fileName: string;
40
+ name: string;
42
41
  };
43
42
  allAttachments: any[];
44
43
  uploadForm: FormGroup;
@@ -51,6 +50,7 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
51
50
  preventFileContents: boolean;
52
51
  addSignatureClicked: EventEmitter<any>;
53
52
  printActionClicked: EventEmitter<any>;
53
+ emitedValue: EventEmitter<any>;
54
54
  downloadActionClicked: EventEmitter<any>;
55
55
  maxSize: string;
56
56
  inputFile: ElementRef;
@@ -94,33 +94,35 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
94
94
  private readonly validPdfTypes;
95
95
  uploading: boolean;
96
96
  lengthError: boolean;
97
- downloadUrl: SafeUrl;
98
97
  ngOnChanges(changes: SimpleChanges): void;
99
- resetAttachmentData(): void;
100
98
  getFileType(attachment: any): string;
101
99
  private checkFileType;
102
- attch(type: any, index: number, field: any): void;
100
+ attachmentAction(type: any, index: number, field: any): void;
103
101
  confirmDelete(index: number): void;
104
102
  removeMulti(index: number): void;
105
103
  downloadFileNew(fileData: any): void;
106
104
  onValueChange(event: any): void;
105
+ private handleFileInput;
106
+ private processUploadedFile;
107
+ private updateFileProperties;
108
+ private uploadValidAndNonDuplicateFile;
109
+ private readFileAndUpload;
110
+ private uploadSingleFile;
111
+ private emitEmptyFile;
112
+ processAttachments(field: any, allowMultiAttachments: boolean): void;
107
113
  addAttachments(): void;
108
114
  addMultiAttachments(field: any): void;
109
- checkFileExistance(file: AttatchmentFile): boolean;
115
+ isFileNotDuplicate(file: FileInfo): boolean;
110
116
  isValidMimeType(value: any): boolean;
111
117
  isValidExtension(value: string, type: string): boolean;
112
118
  removeAttachedFile(): void;
113
119
  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
120
  private emit;
119
121
  private deleteFileContents;
120
122
  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>;
123
+ 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; }; "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"; "emitedValue": "emitedValue"; "downloadActionClicked": "downloadActionClicked"; }, never, never, true, never>;
122
124
  }
123
- declare class AttatchmentFile {
125
+ declare class FileInfo {
124
126
  fileName: string;
125
127
  name: string;
126
128
  mimeType: string;
@@ -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);
@@ -1,4 +1,4 @@
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> {
@@ -8,29 +8,23 @@ export declare class SearchEmployeeComponent<Type> extends ControlValueAccessorD
8
8
  showLabel: boolean;
9
9
  optional: boolean;
10
10
  data: any[];
11
- filteredOptions: any;
12
11
  floatLabel: any;
13
12
  error: string;
14
- selectedItems: any[];
15
13
  selected: boolean;
16
14
  selectedEmp: EventEmitter<any>;
17
15
  onInputChange: EventEmitter<any>;
18
16
  showEdit: boolean;
19
17
  editDirectManger: EventEmitter<any>;
20
18
  deleteDirectManger: EventEmitter<any>;
21
- searchingForEmp: boolean;
22
19
  arrayList: any[];
23
20
  isUniqueUsers: boolean;
24
21
  userAlreadyExist: boolean;
25
22
  emitedDeletedValue: EventEmitter<any>;
26
23
  deleteRow(ind: number, rowData: any): void;
27
- ngOnChanges(changes: SimpleChanges): void;
28
- resetSearchEmpData(): void;
29
24
  onLoadOptions(event: any): void;
30
25
  includeData(option: any, filterValue: string): any;
31
26
  getImage(id: string): string;
32
27
  selectOption(object: any, ev: any): void;
33
- openHints(): void;
34
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchEmployeeComponent<any>, never>;
35
29
  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>;
36
30
  }
@@ -1,5 +1,3 @@
1
- export * from './confirmation-popup/confirmation-popup.component';
2
- export * from './delete-popup/delete-popup.component';
3
1
  export * from './dialogs/delete-dialog/delete-dialog.component';
4
2
  export * from './dialogs/submit-dialog/submit-dialog.component';
5
3
  export * from './dialogs/confirm-dialog/confirm-dialog.component';
package/lib/i18n/ar.d.ts CHANGED
@@ -174,5 +174,7 @@ declare const _default: {
174
174
  month: string;
175
175
  year: string;
176
176
  status: string;
177
+ downloadAll: string;
178
+ itemsPerPage: string;
177
179
  };
178
180
  export default _default;
package/lib/i18n/en.d.ts CHANGED
@@ -178,5 +178,7 @@ declare const _default: {
178
178
  month: string;
179
179
  year: string;
180
180
  status: string;
181
+ downloadAll: string;
182
+ itemsPerPage: string;
181
183
  };
182
184
  export default _default;
@@ -51,6 +51,7 @@ export declare class CoreService {
51
51
  private successWm;
52
52
  loadFile(...args: any): Observable<any>;
53
53
  dataURItoBlob(dataURI: any): Blob;
54
+ saveFile(fileInformation: any): void;
54
55
  setFlagPriority(id: string): Observable<any>;
55
56
  loadHistory(...args: any[]): Observable<any>;
56
57
  getInboxItem(...args: any[]): Observable<any>;
@@ -12,8 +12,6 @@ export declare class RequestDetailsSectionComponent implements OnInit {
12
12
  form: Form;
13
13
  lov: any;
14
14
  className: string;
15
- currentSectionId: string;
16
- lastSectionId: string;
17
15
  formGroup: FormGroup;
18
16
  options: string[];
19
17
  constructor(i18n: CoreI18nService, fb: FormBuilder, actionStateService: ActionStateService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -24,4 +24,4 @@
24
24
  "default": "./fesm2022/bpm-core.mjs"
25
25
  }
26
26
  }
27
- }
27
+ }
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
2
+ <g id="Group_13292" data-name="Group 13292" transform="translate(-696 -2431)">
3
+ <circle id="shutterstock_324917183_1_" data-name="shutterstock_324917183 (1)" cx="14" cy="14" r="14" transform="translate(696 2431)" fill="#dde0e1"/>
4
+ <path id="Combined_Shape" data-name="Combined Shape" d="M7.951,2.7A2.7,2.7,0,1,1,5.246,0,2.7,2.7,0,0,1,7.951,2.7Zm-4.425,0A1.721,1.721,0,1,0,5.246.983,1.721,1.721,0,0,0,3.525,2.7ZM.083,11.8H8.235a2.078,2.078,0,0,0,2.174-1.967V7.867A2.078,2.078,0,0,0,8.235,5.9H2.257A2.078,2.078,0,0,0,.083,7.867Zm8.228-.983H1.067V7.867a1.055,1.055,0,0,1,1.115-.983h6.13a1.055,1.055,0,0,1,1.115.983V9.834A1.055,1.055,0,0,1,8.311,10.817Z" transform="translate(704.917 2439)" fill="#8e9aa0" fill-rule="evenodd"/>
5
+ </g>
6
+ </svg>
@@ -88,7 +88,6 @@ figure {
88
88
  .mat-drawer-backdrop {
89
89
  z-index: 20 !important;
90
90
  position: fixed;
91
- min-width:800px
92
91
  }
93
92
 
94
93
  .mat-drawer-inner-container {
@@ -1061,6 +1060,10 @@ body {
1061
1060
  }
1062
1061
  }
1063
1062
 
1063
+ .table-responsive table, .table-responsive .primary-table{
1064
+ --cell-pading : .35rem !important;
1065
+ }
1066
+
1064
1067
  .form-label {
1065
1068
  font-size: 0.78rem;
1066
1069
  }
@@ -96,9 +96,9 @@ mat-slide-toggle {
96
96
  border: 3px solid currentColor;
97
97
  border-radius: 4px;
98
98
  }
99
- &.mdc-checkbox--disabled {
99
+ /* &.mdc-checkbox--disabled {
100
100
  opacity: 0.3 !important;
101
- }
101
+ }*/
102
102
  }
103
103
  .mat-mdc-dialog-title {
104
104
  &::before {
@@ -1,39 +0,0 @@
1
- /* eslint-disable @angular-eslint/component-selector */
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
3
- import { Component, CUSTOM_ELEMENTS_SCHEMA, Inject } from '@angular/core';
4
- import { MAT_DIALOG_DATA, MatDialogActions, MatDialogClose, MatDialogContent } from '@angular/material/dialog';
5
- import { MatButton } from "@angular/material/button";
6
- import { NgIf } from "@angular/common";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/material/dialog";
9
- export class ConfirmationPopupComponent {
10
- data;
11
- dialogRef;
12
- constructor(data, dialogRef) {
13
- this.data = data;
14
- this.dialogRef = dialogRef;
15
- }
16
- openForm() {
17
- window.open("/group/i-gate/wm-bpm/forms?formId=" + this.data.id);
18
- location.reload();
19
- }
20
- delete() {
21
- this.dialogRef.close('yes');
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ConfirmationPopupComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: ConfirmationPopupComponent, isStandalone: true, selector: "app-delete-popup", ngImport: i0, template: "<div class=\"popup-container\">\r\n <div class=\"d-flex align-items-center justify-content-end\" mat-dialog-title>\r\n <ds-button matDialogClose icon>\r\n <!-- <ds-icon icon=\"close\" class=\"fs-20 fc-black\"></ds-icon> -->\r\n </ds-button>\r\n </div>\r\n <mat-dialog-content>\r\n <div class=\"d-flex flex-column align-items-center text-center justify-content-center mb-2 mx-5\">\r\n <h2 class=\"fs-22 font-md-18 fw-medium fc-onyx my-3\">\r\n <!-- {{ 'submittedSuccessfully' | transloco}} -->\r\n </h2>\r\n <h4 class=\"fs-14 fw-normal fst-italic fc-onyx bg-color-light-gray p-3 mb-1\">\r\n <!-- <span>{{ 'formId' | transloco}}</span> -->\r\n <span class=\"mx-1\"></span>\r\n <span class=\"fs-weight-medium\">{{data.id}}</span>\r\n </h4>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'view'\">\r\n <button mat-stroked-button class=\"btn button-primary shadow-hover px-4\" matDialogClose>\r\n <!-- {{ 'Close' | transloco}} -->\r\n </button>\r\n <button mat-flat-button class=\"btn button-primary font-17 fw-medium px-4\" (click)=\"openForm()\">\r\n <!-- {{ 'ViewRequest' | transloco}} -->\r\n </button>\r\n </div>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'delete'\">\r\n <button mat-flat-button class=\"btn button-red\" [mat-dialog-close]='true' >\r\n Delete\r\n </button>\r\n <span class=\"mx-2\"></span>\r\n <button mat-flat-button class=\"btn button-primary\" matDialogClose>\r\n Cancel\r\n </button>\r\n </div>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'done'\">\r\n <button mat-flat-button class=\"btn button-primary shadow-hover px-4\" matDialogClose>\r\n Close\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n\r\n</div>\r\n", styles: [".icon{font-size:40px;min-width:75px;width:75px;height:75px;background-color:#00c48c;padding:5px;display:flex;align-items:center;justify-content:center;margin:auto;color:#fff;border-radius:50%}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ConfirmationPopupComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'app-delete-popup', schemas: [CUSTOM_ELEMENTS_SCHEMA], standalone: true, imports: [
29
- MatDialogContent,
30
- MatDialogActions,
31
- MatButton,
32
- MatDialogClose,
33
- NgIf
34
- ], template: "<div class=\"popup-container\">\r\n <div class=\"d-flex align-items-center justify-content-end\" mat-dialog-title>\r\n <ds-button matDialogClose icon>\r\n <!-- <ds-icon icon=\"close\" class=\"fs-20 fc-black\"></ds-icon> -->\r\n </ds-button>\r\n </div>\r\n <mat-dialog-content>\r\n <div class=\"d-flex flex-column align-items-center text-center justify-content-center mb-2 mx-5\">\r\n <h2 class=\"fs-22 font-md-18 fw-medium fc-onyx my-3\">\r\n <!-- {{ 'submittedSuccessfully' | transloco}} -->\r\n </h2>\r\n <h4 class=\"fs-14 fw-normal fst-italic fc-onyx bg-color-light-gray p-3 mb-1\">\r\n <!-- <span>{{ 'formId' | transloco}}</span> -->\r\n <span class=\"mx-1\"></span>\r\n <span class=\"fs-weight-medium\">{{data.id}}</span>\r\n </h4>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'view'\">\r\n <button mat-stroked-button class=\"btn button-primary shadow-hover px-4\" matDialogClose>\r\n <!-- {{ 'Close' | transloco}} -->\r\n </button>\r\n <button mat-flat-button class=\"btn button-primary font-17 fw-medium px-4\" (click)=\"openForm()\">\r\n <!-- {{ 'ViewRequest' | transloco}} -->\r\n </button>\r\n </div>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'delete'\">\r\n <button mat-flat-button class=\"btn button-red\" [mat-dialog-close]='true' >\r\n Delete\r\n </button>\r\n <span class=\"mx-2\"></span>\r\n <button mat-flat-button class=\"btn button-primary\" matDialogClose>\r\n Cancel\r\n </button>\r\n </div>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\" *ngIf=\"data.type === 'done'\">\r\n <button mat-flat-button class=\"btn button-primary shadow-hover px-4\" matDialogClose>\r\n Close\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n\r\n</div>\r\n", styles: [".icon{font-size:40px;min-width:75px;width:75px;height:75px;background-color:#00c48c;padding:5px;display:flex;align-items:center;justify-content:center;margin:auto;color:#fff;border-radius:50%}\n"] }]
35
- }], ctorParameters: () => [{ type: undefined, decorators: [{
36
- type: Inject,
37
- args: [MAT_DIALOG_DATA]
38
- }] }, { type: i1.MatDialogRef }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JwbS1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtY29tcG9uZW50cy9jb25maXJtYXRpb24tcG9wdXAvY29uZmlybWF0aW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XCIgbWF0RGlhbG9nQ2xvc2U+XHJcbiAgICAgICAgQ2FuY2VsXHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiZC1mbGV4IGp1c3RpZnktY29udGVudC1jZW50ZXIgdy0xMDAgbWItNCBweC1tZC01XCIgKm5nSWY9XCJkYXRhLnR5cGUgPT09ICdkb25lJ1wiPlxyXG4gICAgICA8YnV0dG9uIG1hdC1mbGF0LWJ1dHRvbiBjbGFzcz1cImJ0biBidXR0b24tcHJpbWFyeSBzaGFkb3ctaG92ZXIgcHgtNFwiIG1hdERpYWxvZ0Nsb3NlPlxyXG4gICAgICAgIENsb3NlXHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbiAgPC9tYXQtZGlhbG9nLWFjdGlvbnM+XHJcblxyXG48L2Rpdj5cclxuIl19
@@ -1,19 +0,0 @@
1
- /* eslint-disable @angular-eslint/component-selector */
2
- /* eslint-disable @typescript-eslint/no-empty-function */
3
- import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
4
- import { MatDialogActions, MatDialogClose, MatDialogContent } from "@angular/material/dialog";
5
- import * as i0 from "@angular/core";
6
- export class DeletePopupComponent {
7
- constructor() { }
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DeletePopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: DeletePopupComponent, isStandalone: true, selector: "app-delete-popup", ngImport: i0, template: "<div class=\"popup-container\">\r\n <div class=\"d-flex align-items-center justify-content-end\" mat-dialog-title>\r\n <button class=\"mat-close-modal\" matDialogClose>\r\n <span class=\"sfi sfi-close fc-black\"></span>\r\n </button>\r\n </div>\r\n <mat-dialog-content class=\"border-0 pt-0\">\r\n <div class=\"d-flex flex-column align-items-center justify-content-center\">\r\n <span class=\"sfi sfi-trash font-50 fc-coral mb-2\"></span>\r\n <h2 class=\"fs-31 font-md-25 fw-bold fc-onyx mb-0\">\r\n Are you sure !\r\n </h2>\r\n <h4 class=\"fs-15 fw-normal fc-dark-gray mb-0\">you want Delete This Car</h4>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\">\r\n <button class=\"btn button-secondary font-13 fw-medium h-51 w-100\" matDialogClose>\r\n <span>Cancel</span>\r\n </button>\r\n <span class=\"mx-2\"></span>\r\n <button class=\"btn button-primary font-13 fw-medium h-51 w-100\">\r\n <span>Delete</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DeletePopupComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'app-delete-popup', schemas: [CUSTOM_ELEMENTS_SCHEMA], standalone: true, imports: [
14
- MatDialogContent,
15
- MatDialogClose,
16
- MatDialogActions
17
- ], template: "<div class=\"popup-container\">\r\n <div class=\"d-flex align-items-center justify-content-end\" mat-dialog-title>\r\n <button class=\"mat-close-modal\" matDialogClose>\r\n <span class=\"sfi sfi-close fc-black\"></span>\r\n </button>\r\n </div>\r\n <mat-dialog-content class=\"border-0 pt-0\">\r\n <div class=\"d-flex flex-column align-items-center justify-content-center\">\r\n <span class=\"sfi sfi-trash font-50 fc-coral mb-2\"></span>\r\n <h2 class=\"fs-31 font-md-25 fw-bold fc-onyx mb-0\">\r\n Are you sure !\r\n </h2>\r\n <h4 class=\"fs-15 fw-normal fc-dark-gray mb-0\">you want Delete This Car</h4>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <div class=\"d-flex justify-content-center w-100 mb-4 px-md-5\">\r\n <button class=\"btn button-secondary font-13 fw-medium h-51 w-100\" matDialogClose>\r\n <span>Cancel</span>\r\n </button>\r\n <span class=\"mx-2\"></span>\r\n <button class=\"btn button-primary font-13 fw-medium h-51 w-100\">\r\n <span>Delete</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n\r\n</div>\r\n" }]
18
- }], ctorParameters: () => [] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsZXRlLXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JwbS1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtY29tcG9uZW50cy9kZWxldGUtcG9wdXAvZGVsZXRlLXBvcHVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JwbS1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtY29tcG9uZW50cy9kZWxldGUtcG9wdXAvZGVsZXRlLXBvcHVwLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVEQUF1RDtBQUN2RCx5REFBeUQ7QUFDekQsT0FBTyxFQUFDLFNBQVMsRUFBRSxzQkFBc0IsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRSxPQUFPLEVBQUMsZ0JBQWdCLEVBQUUsY0FBYyxFQUFFLGdCQUFnQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7O0FBYzVGLE1BQU0sT0FBTyxvQk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