tango-app-ui-manage-tickets 3.7.0-beta.70 → 3.7.0-beta.71

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 (177) hide show
  1. package/esm2022/lib/components/add-csm-modal/add-csm-modal.component.mjs +98 -0
  2. package/esm2022/lib/components/audit-log/audit-log.component.mjs +11 -0
  3. package/esm2022/lib/components/audit-mapping-list/audit-mapping-list.component.mjs +498 -0
  4. package/esm2022/lib/components/audit-metrics/audit-metrics.component.mjs +298 -0
  5. package/esm2022/lib/components/audit-report-popup/audit-report-popup.component.mjs +389 -0
  6. package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +480 -0
  7. package/esm2022/lib/components/comment-model/comment-model.component.mjs +58 -0
  8. package/esm2022/lib/components/count/count.component.mjs +89 -0
  9. package/esm2022/lib/components/custom-select/custom-select.component.mjs +187 -0
  10. package/esm2022/lib/components/filter-options/filter-options.component.mjs +41 -0
  11. package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +1061 -0
  12. package/esm2022/lib/components/footfall-dicview/footfall-dicview.component.mjs +1014 -0
  13. package/esm2022/lib/components/footfall-popup/footfall-popup.component.mjs +15 -0
  14. package/esm2022/lib/components/group-select/group-select.component.mjs +155 -0
  15. package/esm2022/lib/components/re-trigger/re-trigger.component.mjs +96 -0
  16. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +108 -0
  17. package/esm2022/lib/components/remove-audit/remove-audit.component.mjs +81 -0
  18. package/esm2022/lib/components/start-audit/start-audit.component.mjs +758 -0
  19. package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +131 -0
  20. package/esm2022/lib/components/ticket-filter-panel/ticket-filter-panel.component.mjs +435 -0
  21. package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +2488 -0
  22. package/esm2022/lib/components/ticketclosepopup/ticketclosepopup.component.mjs +43 -0
  23. package/esm2022/lib/components/tickets/tickets.component.mjs +847 -0
  24. package/esm2022/lib/components/viewcategory/viewcategory.component.mjs +89 -0
  25. package/esm2022/lib/services/audit.service.mjs +88 -0
  26. package/esm2022/lib/services/excel.service.mjs +45 -0
  27. package/esm2022/lib/services/ticket.service.mjs +319 -0
  28. package/esm2022/lib/services/timer.service.mjs +84 -0
  29. package/esm2022/lib/tango-manage-tickets-routing.module.mjs +44 -0
  30. package/esm2022/lib/tango-manage-tickets.module.mjs +109 -0
  31. package/esm2022/public-api.mjs +6 -0
  32. package/esm2022/tango-app-ui-manage-tickets.mjs +5 -0
  33. package/fesm2022/tango-app-ui-manage-tickets.mjs +9922 -0
  34. package/fesm2022/tango-app-ui-manage-tickets.mjs.map +1 -0
  35. package/index.d.ts +5 -0
  36. package/lib/components/add-csm-modal/add-csm-modal.component.d.ts +30 -0
  37. package/lib/components/audit-log/audit-log.component.d.ts +5 -0
  38. package/lib/components/audit-mapping-list/audit-mapping-list.component.d.ts +73 -0
  39. package/lib/components/audit-metrics/audit-metrics.component.d.ts +59 -0
  40. package/lib/components/audit-report-popup/audit-report-popup.component.d.ts +52 -0
  41. package/lib/components/audit-retag/audit-retag.component.d.ts +59 -0
  42. package/lib/components/comment-model/comment-model.component.d.ts +17 -0
  43. package/lib/components/count/count.component.d.ts +23 -0
  44. package/lib/components/custom-select/custom-select.component.d.ts +35 -0
  45. package/lib/components/filter-options/filter-options.component.d.ts +15 -0
  46. package/lib/components/footfall-dic/footfall-dic.component.d.ts +143 -0
  47. package/lib/components/footfall-dicview/footfall-dicview.component.d.ts +132 -0
  48. package/lib/components/footfall-popup/footfall-popup.component.d.ts +8 -0
  49. package/lib/components/group-select/group-select.component.d.ts +33 -0
  50. package/lib/components/re-trigger/re-trigger.component.d.ts +32 -0
  51. package/lib/components/reactive-select/reactive-select.component.d.ts +32 -0
  52. package/lib/components/remove-audit/remove-audit.component.d.ts +16 -0
  53. package/lib/components/start-audit/start-audit.component.d.ts +86 -0
  54. package/lib/components/tango-manage-tickets/tango-manage-tickets.component.d.ts +28 -0
  55. package/lib/components/ticket-filter-panel/ticket-filter-panel.component.d.ts +79 -0
  56. package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +293 -0
  57. package/lib/components/ticketclosepopup/ticketclosepopup.component.d.ts +15 -0
  58. package/lib/components/tickets/tickets.component.d.ts +88 -0
  59. package/lib/components/viewcategory/viewcategory.component.d.ts +16 -0
  60. package/lib/services/audit.service.d.ts +36 -0
  61. package/lib/services/excel.service.d.ts +10 -0
  62. package/lib/services/ticket.service.d.ts +87 -0
  63. package/lib/services/timer.service.d.ts +22 -0
  64. package/lib/tango-manage-tickets-routing.module.d.ts +7 -0
  65. package/lib/tango-manage-tickets.module.d.ts +38 -0
  66. package/package.json +25 -12
  67. package/{src/public-api.ts → public-api.d.ts} +2 -8
  68. package/.eslintrc.json +0 -37
  69. package/ng-package.json +0 -7
  70. package/src/lib/components/add-csm-modal/add-csm-modal.component.html +0 -32
  71. package/src/lib/components/add-csm-modal/add-csm-modal.component.scss +0 -14
  72. package/src/lib/components/add-csm-modal/add-csm-modal.component.spec.ts +0 -23
  73. package/src/lib/components/add-csm-modal/add-csm-modal.component.ts +0 -94
  74. package/src/lib/components/audit-log/audit-log.component.html +0 -1
  75. package/src/lib/components/audit-log/audit-log.component.scss +0 -0
  76. package/src/lib/components/audit-log/audit-log.component.spec.ts +0 -23
  77. package/src/lib/components/audit-log/audit-log.component.ts +0 -10
  78. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.html +0 -234
  79. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.scss +0 -186
  80. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.spec.ts +0 -23
  81. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.ts +0 -536
  82. package/src/lib/components/audit-metrics/audit-metrics.component.html +0 -345
  83. package/src/lib/components/audit-metrics/audit-metrics.component.scss +0 -34
  84. package/src/lib/components/audit-metrics/audit-metrics.component.spec.ts +0 -23
  85. package/src/lib/components/audit-metrics/audit-metrics.component.ts +0 -292
  86. package/src/lib/components/audit-report-popup/audit-report-popup.component.html +0 -111
  87. package/src/lib/components/audit-report-popup/audit-report-popup.component.scss +0 -101
  88. package/src/lib/components/audit-report-popup/audit-report-popup.component.spec.ts +0 -23
  89. package/src/lib/components/audit-report-popup/audit-report-popup.component.ts +0 -397
  90. package/src/lib/components/audit-retag/audit-retag.component.html +0 -129
  91. package/src/lib/components/audit-retag/audit-retag.component.scss +0 -146
  92. package/src/lib/components/audit-retag/audit-retag.component.spec.ts +0 -23
  93. package/src/lib/components/audit-retag/audit-retag.component.ts +0 -497
  94. package/src/lib/components/comment-model/comment-model.component.html +0 -24
  95. package/src/lib/components/comment-model/comment-model.component.scss +0 -20
  96. package/src/lib/components/comment-model/comment-model.component.spec.ts +0 -23
  97. package/src/lib/components/comment-model/comment-model.component.ts +0 -53
  98. package/src/lib/components/count/count.component.html +0 -54
  99. package/src/lib/components/count/count.component.scss +0 -14
  100. package/src/lib/components/count/count.component.spec.ts +0 -23
  101. package/src/lib/components/count/count.component.ts +0 -82
  102. package/src/lib/components/custom-select/custom-select.component.html +0 -134
  103. package/src/lib/components/custom-select/custom-select.component.scss +0 -204
  104. package/src/lib/components/custom-select/custom-select.component.spec.ts +0 -23
  105. package/src/lib/components/custom-select/custom-select.component.ts +0 -189
  106. package/src/lib/components/filter-options/filter-options.component.html +0 -51
  107. package/src/lib/components/filter-options/filter-options.component.scss +0 -102
  108. package/src/lib/components/filter-options/filter-options.component.spec.ts +0 -23
  109. package/src/lib/components/filter-options/filter-options.component.ts +0 -38
  110. package/src/lib/components/footfall-dic/footfall-dic.component.html +0 -1275
  111. package/src/lib/components/footfall-dic/footfall-dic.component.scss +0 -273
  112. package/src/lib/components/footfall-dic/footfall-dic.component.spec.ts +0 -23
  113. package/src/lib/components/footfall-dic/footfall-dic.component.ts +0 -1206
  114. package/src/lib/components/footfall-dicview/footfall-dicview.component.html +0 -1136
  115. package/src/lib/components/footfall-dicview/footfall-dicview.component.scss +0 -416
  116. package/src/lib/components/footfall-dicview/footfall-dicview.component.spec.ts +0 -23
  117. package/src/lib/components/footfall-dicview/footfall-dicview.component.ts +0 -1168
  118. package/src/lib/components/footfall-popup/footfall-popup.component.html +0 -61
  119. package/src/lib/components/footfall-popup/footfall-popup.component.scss +0 -20
  120. package/src/lib/components/footfall-popup/footfall-popup.component.spec.ts +0 -23
  121. package/src/lib/components/footfall-popup/footfall-popup.component.ts +0 -12
  122. package/src/lib/components/group-select/group-select.component.html +0 -44
  123. package/src/lib/components/group-select/group-select.component.scss +0 -144
  124. package/src/lib/components/group-select/group-select.component.spec.ts +0 -23
  125. package/src/lib/components/group-select/group-select.component.ts +0 -145
  126. package/src/lib/components/re-trigger/re-trigger.component.html +0 -53
  127. package/src/lib/components/re-trigger/re-trigger.component.scss +0 -16
  128. package/src/lib/components/re-trigger/re-trigger.component.spec.ts +0 -23
  129. package/src/lib/components/re-trigger/re-trigger.component.ts +0 -96
  130. package/src/lib/components/reactive-select/reactive-select.component.html +0 -18
  131. package/src/lib/components/reactive-select/reactive-select.component.scss +0 -52
  132. package/src/lib/components/reactive-select/reactive-select.component.spec.ts +0 -23
  133. package/src/lib/components/reactive-select/reactive-select.component.ts +0 -104
  134. package/src/lib/components/remove-audit/remove-audit.component.html +0 -38
  135. package/src/lib/components/remove-audit/remove-audit.component.scss +0 -27
  136. package/src/lib/components/remove-audit/remove-audit.component.spec.ts +0 -23
  137. package/src/lib/components/remove-audit/remove-audit.component.ts +0 -81
  138. package/src/lib/components/start-audit/start-audit.component.html +0 -174
  139. package/src/lib/components/start-audit/start-audit.component.scss +0 -185
  140. package/src/lib/components/start-audit/start-audit.component.spec.ts +0 -23
  141. package/src/lib/components/start-audit/start-audit.component.ts +0 -772
  142. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.html +0 -43
  143. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.scss +0 -35
  144. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.spec.ts +0 -23
  145. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.ts +0 -118
  146. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.html +0 -386
  147. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.scss +0 -87
  148. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.spec.ts +0 -23
  149. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.ts +0 -493
  150. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.html +0 -3751
  151. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.scss +0 -1240
  152. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.spec.ts +0 -23
  153. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.ts +0 -2863
  154. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.html +0 -100
  155. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.scss +0 -34
  156. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.spec.ts +0 -23
  157. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.ts +0 -48
  158. package/src/lib/components/tickets/tickets.component.html +0 -451
  159. package/src/lib/components/tickets/tickets.component.scss +0 -131
  160. package/src/lib/components/tickets/tickets.component.spec.ts +0 -23
  161. package/src/lib/components/tickets/tickets.component.ts +0 -809
  162. package/src/lib/components/viewcategory/viewcategory.component.html +0 -38
  163. package/src/lib/components/viewcategory/viewcategory.component.scss +0 -29
  164. package/src/lib/components/viewcategory/viewcategory.component.spec.ts +0 -23
  165. package/src/lib/components/viewcategory/viewcategory.component.ts +0 -79
  166. package/src/lib/services/audit.service.spec.ts +0 -16
  167. package/src/lib/services/audit.service.ts +0 -98
  168. package/src/lib/services/excel.service.ts +0 -48
  169. package/src/lib/services/ticket.service.spec.ts +0 -16
  170. package/src/lib/services/ticket.service.ts +0 -501
  171. package/src/lib/services/timer.service.spec.ts +0 -16
  172. package/src/lib/services/timer.service.ts +0 -92
  173. package/src/lib/tango-manage-tickets-routing.module.ts +0 -37
  174. package/src/lib/tango-manage-tickets.module.ts +0 -68
  175. package/tsconfig.lib.json +0 -14
  176. package/tsconfig.lib.prod.json +0 -10
  177. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,33 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { TicketService } from '../../services/ticket.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GroupSelectComponent implements OnInit, OnChanges {
5
+ private cd;
6
+ private authService;
7
+ onClick(event: MouseEvent): void;
8
+ items: any;
9
+ searchField: string;
10
+ multi: boolean;
11
+ idField: string;
12
+ selectedValues: any;
13
+ disabled: boolean | undefined;
14
+ label: string;
15
+ selected: EventEmitter<any>;
16
+ filteredValues: any;
17
+ showDropdown: boolean;
18
+ searchValue: string;
19
+ instanceId: any;
20
+ constructor(cd: ChangeDetectorRef, authService: TicketService);
21
+ ngOnInit(): void;
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ initializeItems(): void;
24
+ updateSelectedValues(): void;
25
+ openDropdown(event: any): void;
26
+ onInput(event: any): void;
27
+ onSelect(event: any, item: any): void;
28
+ onSelectAll(event: any): void;
29
+ emitSelectedValues(values: any[]): void;
30
+ checkIfAllSelected(): any;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupSelectComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupSelectComponent, "lib-group-select", never, { "items": { "alias": "items"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "selectedValues": { "alias": "selectedValues"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
33
+ }
@@ -0,0 +1,32 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
3
+ import { TicketService } from '../../services/ticket.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ReTriggerComponent implements OnInit, OnDestroy {
6
+ activeModal: NgbActiveModal;
7
+ private service;
8
+ dropDown: boolean;
9
+ loading: boolean;
10
+ noData: boolean;
11
+ dropdownItems: any[];
12
+ selectedItem: any;
13
+ selectedData: any;
14
+ standardData: any;
15
+ Comment: any;
16
+ userId: any;
17
+ private readonly destroy$;
18
+ reTrigerData: any;
19
+ userList: any;
20
+ constructor(activeModal: NgbActiveModal, service: TicketService);
21
+ onClick(event: MouseEvent): void;
22
+ ngOnInit(): void;
23
+ getuserList(): void;
24
+ ngOnDestroy(): void;
25
+ selectRadio(value: any): void;
26
+ openDropdown(event: MouseEvent): void;
27
+ selectItem(value: any): void;
28
+ onReportSelect(event: any): void;
29
+ closeModal(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReTriggerComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReTriggerComponent, "lib-retrigger", never, { "reTrigerData": { "alias": "reTrigerData"; "required": false; }; }, {}, never, never, false, never>;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { TicketService } from '../../services/ticket.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ReactiveSelectComponent implements ControlValueAccessor, OnInit {
6
+ private apiService;
7
+ private cd;
8
+ private onTouched;
9
+ private onChanged;
10
+ isDisabled: boolean;
11
+ idField: string;
12
+ nameField: string;
13
+ label: string;
14
+ data: any;
15
+ itemChange: EventEmitter<any>;
16
+ protected isOpened: boolean;
17
+ protected selected: Record<string, any> | null;
18
+ protected selectedId: string | number;
19
+ instanceId: string;
20
+ constructor(apiService: TicketService, cd: ChangeDetectorRef);
21
+ ngOnInit(): void;
22
+ writeValue(val: string | number): void;
23
+ registerOnChange(fn: any): void;
24
+ registerOnTouched(fn: any): void;
25
+ setDisabledState?(isDisabled: boolean): void;
26
+ onSelect(item: Record<string, any>): void;
27
+ onClick(event: MouseEvent): void;
28
+ isComponentClicked(targetElement: HTMLElement): boolean;
29
+ openDropdown(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveSelectComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReactiveSelectComponent, "lib-reactive-select", never, { "isDisabled": { "alias": "isDisabled"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "itemChange": "itemChange"; }, never, never, false, never>;
32
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RemoveAuditComponent implements OnInit {
5
+ private modalService;
6
+ activeModal: NgbActiveModal;
7
+ imagelist: any;
8
+ maindata: any;
9
+ data: any;
10
+ constructor(modalService: NgbModal, activeModal: NgbActiveModal);
11
+ ngOnInit(): void;
12
+ removeimage(data: any): void;
13
+ closepopup(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoveAuditComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<RemoveAuditComponent, "lib-remove-audit", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,86 @@
1
+ import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
4
+ import { Subject, Subscription } from 'rxjs';
5
+ import { AuditService } from '../../services/audit.service';
6
+ import { ToastService } from 'tango-app-ui-shared';
7
+ import { NgxSpinnerService } from 'ngx-spinner';
8
+ import { ExcelService } from '../../services/excel.service';
9
+ import { TimerService } from '../../services/timer.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare class StartAuditComponent implements OnInit, OnDestroy {
12
+ private excel;
13
+ private auditservice;
14
+ private toastr;
15
+ private router;
16
+ private cd;
17
+ private modalService;
18
+ private timerService;
19
+ private spinnerService;
20
+ private route;
21
+ junkimage: any;
22
+ employeimage: any;
23
+ filedetails: any;
24
+ datareason: any;
25
+ limit: any;
26
+ nextId: any;
27
+ spinnerstart: boolean;
28
+ submitted: boolean;
29
+ auditId: any;
30
+ customercount: number;
31
+ junkcount: number;
32
+ employeecount: number;
33
+ demographic: any;
34
+ id: any;
35
+ queueName: any;
36
+ auditmappingdata: any;
37
+ totalfile: any;
38
+ auditLoading: boolean;
39
+ badge: boolean;
40
+ imagelist: any;
41
+ selected: any;
42
+ selectedType: any;
43
+ auditLoading1: boolean;
44
+ Nodata: boolean;
45
+ counter: any;
46
+ clickedImages: boolean[];
47
+ confirmDraft: any;
48
+ confirmerror: any;
49
+ Errormsg: any;
50
+ storedetails: any;
51
+ openmodel: boolean;
52
+ private readonly destroy$;
53
+ getBack: boolean;
54
+ category: any;
55
+ onScroll(): void;
56
+ handleKeyPress(event: KeyboardEvent): void;
57
+ constructor(excel: ExcelService, auditservice: AuditService, toastr: ToastService, router: Router, cd: ChangeDetectorRef, modalService: NgbModal, timerService: TimerService, spinnerService: NgxSpinnerService, route: ActivatedRoute);
58
+ destroy: Subject<unknown>;
59
+ showDialog: boolean;
60
+ timePassed: number;
61
+ subscription: Subscription | null;
62
+ formattedTime: string;
63
+ notice: string;
64
+ showNotice: boolean;
65
+ rxjsTimer: Subscription[];
66
+ ngOnInit(): void;
67
+ setTimer(): void;
68
+ handleGlobalMouseEvent: () => void;
69
+ ngOnDestroy(): void;
70
+ initial_data_loading(): void;
71
+ toggleImage(img_name: any): void;
72
+ getAuditConfig(): void;
73
+ getMapping(nextId?: any): void;
74
+ removeaudit(data: any): void;
75
+ allowDrop(event: any): void;
76
+ dragImage(event: any): void;
77
+ dropImage(event: any): void;
78
+ dragStart(event: DragEvent): void;
79
+ Reviewdata(): void;
80
+ viewcategory(data: any): void;
81
+ savedraft(): Promise<void>;
82
+ backtotickets(): void;
83
+ cameraPreview(): void;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<StartAuditComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<StartAuditComponent, "lib-start-audit", never, {}, {}, never, never, false, never>;
86
+ }
@@ -0,0 +1,28 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
4
+ import { TicketService } from '../../services/ticket.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TangoManageTicketsComponent implements OnInit, OnDestroy {
7
+ private pageInfo;
8
+ private route;
9
+ private router;
10
+ gs: GlobalStateService;
11
+ private service;
12
+ SelectedTab: any;
13
+ private readonly destroy$;
14
+ headerFilters: any;
15
+ ticketAllCount: any;
16
+ users: any;
17
+ constructor(pageInfo: PageInfoService, route: ActivatedRoute, router: Router, gs: GlobalStateService, service: TicketService);
18
+ clientData: any;
19
+ ngOnInit(): void;
20
+ updateStoreIdQueryParam(): void;
21
+ setPageData(): void;
22
+ Selectedtabs(value: any): void;
23
+ ngOnDestroy(): void;
24
+ onLoad(): void;
25
+ getAllCount(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TangoManageTicketsComponent, "lib-tango-manage-tickets", never, {}, {}, never, never, false, never>;
28
+ }
@@ -0,0 +1,79 @@
1
+ import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { TicketService } from '../../services/ticket.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TicketFilterPanelComponent implements OnChanges {
6
+ private fb;
7
+ private eRef;
8
+ private service;
9
+ apply: EventEmitter<any>;
10
+ panelClosed: EventEmitter<void>;
11
+ permissionType: string | null;
12
+ userType: string | null;
13
+ client: any;
14
+ onDocumentClick(event: MouseEvent): void;
15
+ isOpen: boolean;
16
+ open(): void;
17
+ close(): void;
18
+ showPanel: boolean;
19
+ statusOptions: any[];
20
+ conditionOptions: {
21
+ value: string;
22
+ label: string;
23
+ }[];
24
+ filterForm: FormGroup;
25
+ constructor(fb: FormBuilder, eRef: ElementRef, service: TicketService);
26
+ limitValue(event: any, controlName: string): void;
27
+ get isTango(): boolean;
28
+ get showReviewerAccuracy(): boolean;
29
+ get showReviewedBy(): boolean;
30
+ get showApproverAccuracy(): boolean;
31
+ get showApprovedBy(): boolean;
32
+ get showTangoAccuracy(): boolean;
33
+ statusDropdownOpen: boolean;
34
+ isStatusSelected(status: string): boolean;
35
+ onStatusChange(event: Event, status: string): void;
36
+ toggleStatusDropdown(event?: MouseEvent): void;
37
+ areAllStatusesSelected(): boolean;
38
+ onStatusSelectAllChange(event: Event): void;
39
+ get selectedStatuses(): string[];
40
+ isBetween(controlName: string): boolean;
41
+ ngOnChanges(changes: SimpleChanges): void;
42
+ userList: any[];
43
+ reviewerSearchTerm: string;
44
+ get filteredReviewerList(): {
45
+ email: string;
46
+ name?: string;
47
+ }[];
48
+ approverSearchTerm: any;
49
+ get filteredApproverList(): any[];
50
+ onApproverSearch(value: string): void;
51
+ private loadReviewerList;
52
+ reviewerDropdownOpen: boolean;
53
+ approverDropdownOpen: boolean;
54
+ get selectedReviewedBy(): string[];
55
+ get selectedApprovedBy(): string[];
56
+ toggleReviewerDropdown(event?: MouseEvent): void;
57
+ isReviewerSelected(email: string): boolean;
58
+ onReviewerChange(event: Event, email: string): void;
59
+ areAllReviewersSelected(): boolean;
60
+ onReviewerSelectAll(event: Event): void;
61
+ toggleApproverDropdown(event?: MouseEvent): void;
62
+ isApproverSelected(email: string): boolean;
63
+ onApproverChange(event: Event, email: string): void;
64
+ areAllApproversSelected(): boolean;
65
+ onApproverSelectAll(event: Event): void;
66
+ onReset(): void;
67
+ private mapAccuracy;
68
+ onApply(): void;
69
+ dropdownState: {
70
+ status: boolean;
71
+ reviewer: boolean;
72
+ approver: boolean;
73
+ };
74
+ closeAll(): void;
75
+ toggleDropdown(type: 'status' | 'reviewer' | 'approver', event: MouseEvent): void;
76
+ isDropdownOpen(type: 'status' | 'reviewer' | 'approver'): boolean;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketFilterPanelComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketFilterPanelComponent, "lib-ticket-filter-panel", never, { "permissionType": { "alias": "permissionType"; "required": false; }; "userType": { "alias": "userType"; "required": false; }; "client": { "alias": "client"; "required": false; }; }, { "apply": "apply"; "panelClosed": "panelClosed"; }, never, never, false, never>;
79
+ }
@@ -0,0 +1,293 @@
1
+ import { OnDestroy, OnInit, ChangeDetectorRef, EventEmitter, ElementRef } from "@angular/core";
2
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
3
+ import { GlobalStateService } from "tango-app-ui-global";
4
+ import { TicketService } from "../../services/ticket.service";
5
+ import { ExcelService } from "../../services/excel.service";
6
+ import { ToastService } from "tango-app-ui-shared";
7
+ import { FormBuilder, FormGroup } from "@angular/forms";
8
+ import { Router } from "@angular/router";
9
+ import "dayjs/locale/en";
10
+ import { MatTooltip } from "@angular/material/tooltip";
11
+ import dayjs from "dayjs";
12
+ import { AuditService } from "../../services/audit.service";
13
+ import * as i0 from "@angular/core";
14
+ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
15
+ private modalService;
16
+ gs: GlobalStateService;
17
+ private service;
18
+ private cd;
19
+ private excelService;
20
+ private ts;
21
+ private fb;
22
+ private router;
23
+ private auditservice;
24
+ searchValue: any;
25
+ sortedColumn: string;
26
+ sortDirection: number;
27
+ private readonly destroy$;
28
+ constructor(modalService: NgbModal, gs: GlobalStateService, service: TicketService, cd: ChangeDetectorRef, excelService: ExcelService, ts: ToastService, fb: FormBuilder, router: Router, auditservice: AuditService);
29
+ headerFilters: any;
30
+ footfallList_req: any;
31
+ usersDetails: any;
32
+ selectedStore: any;
33
+ selectedReviewer: any;
34
+ storeList: any;
35
+ dayjs: typeof dayjs;
36
+ selectedDateRange: any;
37
+ arrowshow: boolean;
38
+ accuracyList: any;
39
+ selectedIssue: any;
40
+ selectedsubIssue: any;
41
+ isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
42
+ tooltip: MatTooltip;
43
+ footfallcount: any;
44
+ internalticket: any;
45
+ closeacuuracyissue: any;
46
+ clientData: any;
47
+ ngOnInit(): void;
48
+ viewTicket(type: any): void;
49
+ private areAllItemsReviewed;
50
+ private hasReviewDecision;
51
+ selectedRole: "approver" | "reviewer" | "";
52
+ statusVal: any;
53
+ dueDate: any;
54
+ reviewStatus: boolean;
55
+ getHeaderStatus(): any;
56
+ approverClosed: any;
57
+ getCurrentRoleMapping(): any;
58
+ disableToday: (date: any) => boolean;
59
+ datechange(event: any): void;
60
+ getStatusBadgeClass(status: string): string;
61
+ getFootfallSummaryData: any;
62
+ getTicketSummary(type: any): void;
63
+ offset: number;
64
+ limit: number;
65
+ isExport: any;
66
+ footfallListData: any;
67
+ totalItems: any;
68
+ paginationSizes: number[];
69
+ loading: boolean;
70
+ noData: boolean;
71
+ tangoType: any;
72
+ filterPayload: any;
73
+ permissionType: string | null;
74
+ setPermissionType(): void;
75
+ private buildFiltersForApi;
76
+ getTicketList(type: any): void;
77
+ tableColumns: any[];
78
+ labelOverrides: Record<string, string>;
79
+ hiddenColumns: string[];
80
+ sortableColumns: string[];
81
+ generateColumns(firstRow: any): void;
82
+ formatColumnName(key: string): string;
83
+ detectColumnType(key: string): "store" | "date" | "status" | "text";
84
+ currentPage: any;
85
+ pageSize: any;
86
+ onPageChange(pageOffset: number): void;
87
+ onPageSizeChange(pageSize: number): void;
88
+ setpageSize(): any;
89
+ searchData(): void;
90
+ storeChange(event: any): void;
91
+ onStartDateChange(event: any): void;
92
+ createInternalticket(): void;
93
+ exportXLSX(): void;
94
+ onSort(column: string): void;
95
+ select: string;
96
+ ticketData: any;
97
+ startAudit(): void;
98
+ backToNavigation(): void;
99
+ isCollapsed: boolean;
100
+ toggleSidebar(): void;
101
+ toggleFilter(): void;
102
+ isFilterOpen: boolean;
103
+ filterForm: FormGroup;
104
+ filterChange: EventEmitter<any>;
105
+ newForm(): void;
106
+ applyFilter(): void;
107
+ resetFilter(): void;
108
+ close(): void;
109
+ StoresSearchValue: any;
110
+ sortedColumn1: string;
111
+ sortDirection1: number;
112
+ openTicketsList: any[];
113
+ selectedStores: any[];
114
+ allSelected: boolean;
115
+ get storeCount(): number;
116
+ isSelected(store: any): boolean;
117
+ toggleStoreSelection(store: any): void;
118
+ newallSelected: boolean;
119
+ toggleSelectAll(): void;
120
+ startTicketData: any;
121
+ ticketViewChanges(store: any): void;
122
+ originalImage: any;
123
+ ticket: any;
124
+ imageUrl: any;
125
+ getFormattedEntryTime(entryTime: any): string;
126
+ duplicates: any;
127
+ selectedDuplicatesByParent: {
128
+ [parentId: number]: number[];
129
+ };
130
+ isDuplicateSelected(parentId: number, duplicateId: number): boolean;
131
+ onDuplicateCheckboxChange(parentId: number, duplicateId: number, event: Event): void;
132
+ areAllDuplicatesSelected(original: any): boolean;
133
+ onToggleSelectAllDuplicates(original: any, event: Event): void;
134
+ commentModal(obj: any): void;
135
+ commentsAccordionOpen: boolean;
136
+ selectedCommentCategory: string | null;
137
+ getCategoryCommentCountForSource(source: any, category: string): number;
138
+ toggleCommentsAccordion(type: string): void;
139
+ ngOnDestroy(): void;
140
+ comments: any;
141
+ showRevisedDetails: boolean;
142
+ footfallNoData: boolean;
143
+ footfallLoading: boolean;
144
+ footfalloffset: number;
145
+ footfalllimit: number;
146
+ totalItemsFootfall: any;
147
+ dataIndexId: string;
148
+ dateString: string;
149
+ storeIdValue: any;
150
+ lastSelectedTicket: any;
151
+ selecteValues: any;
152
+ hasInitialStoreSynced: boolean;
153
+ pageSizeFootfall: number;
154
+ paginationSizesFootfall: number[];
155
+ addStoreIfNotExists(store: any): void;
156
+ revopsTypes: string[];
157
+ countData: any;
158
+ filterList: any;
159
+ buildRevopsTypes(tickets: any[]): void;
160
+ ticketStatus: any;
161
+ private updateCloseStateFromMapping;
162
+ private getActionCompletion;
163
+ hasRevopsType(type: any): boolean;
164
+ private isFinalStatus;
165
+ overallSelectedIds: any;
166
+ overallSelect(event: any): void;
167
+ getAllParentItems(): any[];
168
+ isCheckboxEnable: boolean;
169
+ closeBtn: boolean;
170
+ closeDisabled: boolean;
171
+ startReview(): void;
172
+ closePopup: ElementRef;
173
+ stopReview(): void;
174
+ ticketView(data?: any): void;
175
+ accuracyReasons(): void;
176
+ oncloseSubmit(): void;
177
+ ticketId: any;
178
+ dataStoreView(data?: any): void;
179
+ footfallTicketsData: any[];
180
+ selectedByType: any;
181
+ selectAllByType: any;
182
+ getListByType(type: any): any[];
183
+ private updateOverallSelectedIds;
184
+ selectedCategories: any;
185
+ labelMap: Record<string, string>;
186
+ toTitleCase(str: string): string;
187
+ buildLabelMap(tickets: any[]): void;
188
+ get selectedCategoriesLabel(): string;
189
+ type: any;
190
+ popupvalue: any;
191
+ onSelectAll(type: any, event: any): void;
192
+ onImageCheckboxChange(type: string, id: any, event: any): void;
193
+ remarks: any;
194
+ zoomPopup: ElementRef;
195
+ popupType: any;
196
+ popupIds: any[];
197
+ popupOpen(type: any, value?: any): void;
198
+ houseKeepingACCount: any;
199
+ employeeACCount: any;
200
+ duplicateACCount: any;
201
+ junkACCount: any;
202
+ selectedDuplicateImagesList: any[];
203
+ selectedHousekeepingImagesList: any[];
204
+ selectedEmployeeImagesList: any[];
205
+ selectedJunkImagesList: any[];
206
+ submitValue(status?: string, category?: string): void;
207
+ resetSelections(): void;
208
+ cancel(): void;
209
+ openArrow(): void;
210
+ sortOpen: 1 | -1;
211
+ onSortClick(): void;
212
+ searchStoresData(): void;
213
+ getOpenTicketList(data?: any): void;
214
+ isLockedByReviewer(original: any): boolean;
215
+ isApproved1(original: any): boolean;
216
+ isRejected1(original: any): boolean;
217
+ isApproved(original: any): boolean;
218
+ isRejected(original: any): boolean;
219
+ resetCheckbox(type: any, original: any): void;
220
+ viewMode: "tangoreview" | "approve" | "review" | "tagging";
221
+ getAction(original: any, type: "tagging" | "review" | "tangoreview" | "approve"): any;
222
+ getCurrentReviewMapping(): any;
223
+ isTicketFullyReviewed(mapping: any): boolean;
224
+ getInitialsFromEmail(email?: string): string;
225
+ confirmCloseTicket(): void;
226
+ confirmCloseCancel(): void;
227
+ imagePreviewPopup: ElementRef;
228
+ previewList: any[];
229
+ currentPreviewIndex: number;
230
+ previewTitle: string;
231
+ get currentPreviewItem(): any;
232
+ getPreviewImageUrl(): any;
233
+ overallMapping: any;
234
+ openImagePreview(list: any, target: any, startIndex: number, title: string): void;
235
+ private setPreviewIndex;
236
+ overallApproveClosed(): boolean;
237
+ getApproveActionForItem(item: any): any | null;
238
+ canShowPreviewActions(item: any): boolean;
239
+ prevPreview(): void;
240
+ nextPreview(): void;
241
+ popupValue: any;
242
+ rejectedPopup(type: any, value: any): void;
243
+ approvedPopup(type: any, value: any): void;
244
+ get hasApproverAccess(): boolean;
245
+ get hasReviewerAccess(): boolean;
246
+ setDefaultRole(): void;
247
+ SelectedRole(role: "approver" | "reviewer"): void;
248
+ showApproveDetails: boolean;
249
+ showTangoDetails: boolean;
250
+ toggleRevisedDetails(mapping: any): void;
251
+ reviwerList: any;
252
+ reviewrReassignApi(): void;
253
+ reviewrApi(): void;
254
+ reviewerChange(event: any): void;
255
+ assignTicketView(): void;
256
+ cancelassign(): void;
257
+ isTicketMenuOpen: boolean;
258
+ toggleTicketMenu(event: MouseEvent): void;
259
+ onDocumentClick(): void;
260
+ onReassignClick(): void;
261
+ ReassignTicketPopup: ElementRef;
262
+ openReassignPopup(): void;
263
+ onExportClick(): void;
264
+ getMultipleTicketClose(): void;
265
+ isRowSelectable(row: any): boolean;
266
+ selectedTicketRows: any;
267
+ isRowSelected(row: any): boolean;
268
+ getSelectableRows(): any[];
269
+ areAllSelectableRowsSelected(): boolean;
270
+ closeMultiple: boolean;
271
+ private updateCloseDisabled;
272
+ toggleRowSelection(row: any, event: Event): void;
273
+ toggleSelectAllRows(event: Event): void;
274
+ showImagesModal: boolean;
275
+ selectedImagesForPopup: any[];
276
+ selectedComment: any | null;
277
+ openImagesPopup(comment: any): void;
278
+ closeImagesPopup(): void;
279
+ getIconTypeList: any;
280
+ tagIconMap: Record<string, string>;
281
+ getIconType(): void;
282
+ onFilterPanelClosed(): void;
283
+ onFilterApply(filters: any): void;
284
+ revFilter: "all" | "accept" | "reject" | "pending";
285
+ onFilterChange(): any;
286
+ private getItemStatus;
287
+ matchesStatusFilter(item: any): boolean;
288
+ selectPlanTrends(type: string): void;
289
+ filteredList: any[];
290
+ applyFilter1(mapping: any): void;
291
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
292
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
293
+ }
@@ -0,0 +1,15 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TicketclosepopupComponent {
4
+ activeModal: NgbActiveModal;
5
+ tangoTicket: any;
6
+ storeTicket: any;
7
+ centralOpsData: any;
8
+ tangoData: any;
9
+ constructor(activeModal: NgbActiveModal);
10
+ ngOnInit(): void;
11
+ submit(type: any): void;
12
+ closepopup(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketclosepopupComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketclosepopupComponent, "lib-ticketclosepopup", never, { "tangoTicket": { "alias": "tangoTicket"; "required": false; }; "storeTicket": { "alias": "storeTicket"; "required": false; }; }, {}, never, never, false, never>;
15
+ }