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

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/.eslintrc.json +37 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +12 -25
  4. package/src/lib/components/add-csm-modal/add-csm-modal.component.html +32 -0
  5. package/src/lib/components/add-csm-modal/add-csm-modal.component.scss +14 -0
  6. package/src/lib/components/add-csm-modal/add-csm-modal.component.spec.ts +23 -0
  7. package/src/lib/components/add-csm-modal/add-csm-modal.component.ts +94 -0
  8. package/src/lib/components/audit-log/audit-log.component.html +1 -0
  9. package/src/lib/components/audit-log/audit-log.component.scss +0 -0
  10. package/src/lib/components/audit-log/audit-log.component.spec.ts +23 -0
  11. package/src/lib/components/audit-log/audit-log.component.ts +10 -0
  12. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.html +234 -0
  13. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.scss +186 -0
  14. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.spec.ts +23 -0
  15. package/src/lib/components/audit-mapping-list/audit-mapping-list.component.ts +536 -0
  16. package/src/lib/components/audit-metrics/audit-metrics.component.html +345 -0
  17. package/src/lib/components/audit-metrics/audit-metrics.component.scss +34 -0
  18. package/src/lib/components/audit-metrics/audit-metrics.component.spec.ts +23 -0
  19. package/src/lib/components/audit-metrics/audit-metrics.component.ts +292 -0
  20. package/src/lib/components/audit-report-popup/audit-report-popup.component.html +111 -0
  21. package/src/lib/components/audit-report-popup/audit-report-popup.component.scss +101 -0
  22. package/src/lib/components/audit-report-popup/audit-report-popup.component.spec.ts +23 -0
  23. package/src/lib/components/audit-report-popup/audit-report-popup.component.ts +397 -0
  24. package/src/lib/components/audit-retag/audit-retag.component.html +129 -0
  25. package/src/lib/components/audit-retag/audit-retag.component.scss +146 -0
  26. package/src/lib/components/audit-retag/audit-retag.component.spec.ts +23 -0
  27. package/src/lib/components/audit-retag/audit-retag.component.ts +497 -0
  28. package/src/lib/components/comment-model/comment-model.component.html +24 -0
  29. package/src/lib/components/comment-model/comment-model.component.scss +20 -0
  30. package/src/lib/components/comment-model/comment-model.component.spec.ts +23 -0
  31. package/src/lib/components/comment-model/comment-model.component.ts +53 -0
  32. package/src/lib/components/count/count.component.html +54 -0
  33. package/src/lib/components/count/count.component.scss +14 -0
  34. package/src/lib/components/count/count.component.spec.ts +23 -0
  35. package/src/lib/components/count/count.component.ts +82 -0
  36. package/src/lib/components/custom-select/custom-select.component.html +134 -0
  37. package/src/lib/components/custom-select/custom-select.component.scss +204 -0
  38. package/src/lib/components/custom-select/custom-select.component.spec.ts +23 -0
  39. package/src/lib/components/custom-select/custom-select.component.ts +189 -0
  40. package/src/lib/components/filter-options/filter-options.component.html +51 -0
  41. package/src/lib/components/filter-options/filter-options.component.scss +102 -0
  42. package/src/lib/components/filter-options/filter-options.component.spec.ts +23 -0
  43. package/src/lib/components/filter-options/filter-options.component.ts +38 -0
  44. package/src/lib/components/footfall-dic/footfall-dic.component.html +1275 -0
  45. package/src/lib/components/footfall-dic/footfall-dic.component.scss +273 -0
  46. package/src/lib/components/footfall-dic/footfall-dic.component.spec.ts +23 -0
  47. package/src/lib/components/footfall-dic/footfall-dic.component.ts +1206 -0
  48. package/src/lib/components/footfall-dicview/footfall-dicview.component.html +1136 -0
  49. package/src/lib/components/footfall-dicview/footfall-dicview.component.scss +416 -0
  50. package/src/lib/components/footfall-dicview/footfall-dicview.component.spec.ts +23 -0
  51. package/src/lib/components/footfall-dicview/footfall-dicview.component.ts +1168 -0
  52. package/src/lib/components/footfall-popup/footfall-popup.component.html +61 -0
  53. package/src/lib/components/footfall-popup/footfall-popup.component.scss +20 -0
  54. package/src/lib/components/footfall-popup/footfall-popup.component.spec.ts +23 -0
  55. package/src/lib/components/footfall-popup/footfall-popup.component.ts +12 -0
  56. package/src/lib/components/group-select/group-select.component.html +44 -0
  57. package/src/lib/components/group-select/group-select.component.scss +144 -0
  58. package/src/lib/components/group-select/group-select.component.spec.ts +23 -0
  59. package/src/lib/components/group-select/group-select.component.ts +145 -0
  60. package/src/lib/components/re-trigger/re-trigger.component.html +53 -0
  61. package/src/lib/components/re-trigger/re-trigger.component.scss +16 -0
  62. package/src/lib/components/re-trigger/re-trigger.component.spec.ts +23 -0
  63. package/src/lib/components/re-trigger/re-trigger.component.ts +96 -0
  64. package/src/lib/components/reactive-select/reactive-select.component.html +18 -0
  65. package/src/lib/components/reactive-select/reactive-select.component.scss +52 -0
  66. package/src/lib/components/reactive-select/reactive-select.component.spec.ts +23 -0
  67. package/src/lib/components/reactive-select/reactive-select.component.ts +104 -0
  68. package/src/lib/components/remove-audit/remove-audit.component.html +38 -0
  69. package/src/lib/components/remove-audit/remove-audit.component.scss +27 -0
  70. package/src/lib/components/remove-audit/remove-audit.component.spec.ts +23 -0
  71. package/src/lib/components/remove-audit/remove-audit.component.ts +81 -0
  72. package/src/lib/components/start-audit/start-audit.component.html +174 -0
  73. package/src/lib/components/start-audit/start-audit.component.scss +185 -0
  74. package/src/lib/components/start-audit/start-audit.component.spec.ts +23 -0
  75. package/src/lib/components/start-audit/start-audit.component.ts +772 -0
  76. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.html +43 -0
  77. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.scss +35 -0
  78. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.spec.ts +23 -0
  79. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.ts +118 -0
  80. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.html +386 -0
  81. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.scss +87 -0
  82. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.spec.ts +23 -0
  83. package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.ts +493 -0
  84. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.html +3751 -0
  85. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.scss +1240 -0
  86. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.spec.ts +23 -0
  87. package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.ts +2863 -0
  88. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.html +100 -0
  89. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.scss +34 -0
  90. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.spec.ts +23 -0
  91. package/src/lib/components/ticketclosepopup/ticketclosepopup.component.ts +48 -0
  92. package/src/lib/components/tickets/tickets.component.html +451 -0
  93. package/src/lib/components/tickets/tickets.component.scss +131 -0
  94. package/src/lib/components/tickets/tickets.component.spec.ts +23 -0
  95. package/src/lib/components/tickets/tickets.component.ts +809 -0
  96. package/src/lib/components/viewcategory/viewcategory.component.html +38 -0
  97. package/src/lib/components/viewcategory/viewcategory.component.scss +29 -0
  98. package/src/lib/components/viewcategory/viewcategory.component.spec.ts +23 -0
  99. package/src/lib/components/viewcategory/viewcategory.component.ts +79 -0
  100. package/src/lib/services/audit.service.spec.ts +16 -0
  101. package/src/lib/services/audit.service.ts +98 -0
  102. package/src/lib/services/excel.service.ts +48 -0
  103. package/src/lib/services/ticket.service.spec.ts +16 -0
  104. package/src/lib/services/ticket.service.ts +501 -0
  105. package/src/lib/services/timer.service.spec.ts +16 -0
  106. package/src/lib/services/timer.service.ts +92 -0
  107. package/src/lib/tango-manage-tickets-routing.module.ts +37 -0
  108. package/src/lib/tango-manage-tickets.module.ts +68 -0
  109. package/{public-api.d.ts → src/public-api.ts} +8 -2
  110. package/tsconfig.lib.json +14 -0
  111. package/tsconfig.lib.prod.json +10 -0
  112. package/tsconfig.spec.json +14 -0
  113. package/esm2022/lib/components/add-csm-modal/add-csm-modal.component.mjs +0 -98
  114. package/esm2022/lib/components/audit-log/audit-log.component.mjs +0 -11
  115. package/esm2022/lib/components/audit-mapping-list/audit-mapping-list.component.mjs +0 -498
  116. package/esm2022/lib/components/audit-metrics/audit-metrics.component.mjs +0 -298
  117. package/esm2022/lib/components/audit-report-popup/audit-report-popup.component.mjs +0 -389
  118. package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +0 -480
  119. package/esm2022/lib/components/comment-model/comment-model.component.mjs +0 -58
  120. package/esm2022/lib/components/count/count.component.mjs +0 -89
  121. package/esm2022/lib/components/custom-select/custom-select.component.mjs +0 -187
  122. package/esm2022/lib/components/filter-options/filter-options.component.mjs +0 -41
  123. package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +0 -1061
  124. package/esm2022/lib/components/footfall-dicview/footfall-dicview.component.mjs +0 -1014
  125. package/esm2022/lib/components/footfall-popup/footfall-popup.component.mjs +0 -15
  126. package/esm2022/lib/components/group-select/group-select.component.mjs +0 -155
  127. package/esm2022/lib/components/re-trigger/re-trigger.component.mjs +0 -96
  128. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +0 -108
  129. package/esm2022/lib/components/remove-audit/remove-audit.component.mjs +0 -81
  130. package/esm2022/lib/components/start-audit/start-audit.component.mjs +0 -758
  131. package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +0 -131
  132. package/esm2022/lib/components/ticket-filter-panel/ticket-filter-panel.component.mjs +0 -435
  133. package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +0 -2414
  134. package/esm2022/lib/components/ticketclosepopup/ticketclosepopup.component.mjs +0 -43
  135. package/esm2022/lib/components/tickets/tickets.component.mjs +0 -847
  136. package/esm2022/lib/components/viewcategory/viewcategory.component.mjs +0 -89
  137. package/esm2022/lib/services/audit.service.mjs +0 -88
  138. package/esm2022/lib/services/excel.service.mjs +0 -45
  139. package/esm2022/lib/services/ticket.service.mjs +0 -319
  140. package/esm2022/lib/services/timer.service.mjs +0 -84
  141. package/esm2022/lib/tango-manage-tickets-routing.module.mjs +0 -44
  142. package/esm2022/lib/tango-manage-tickets.module.mjs +0 -109
  143. package/esm2022/public-api.mjs +0 -6
  144. package/esm2022/tango-app-ui-manage-tickets.mjs +0 -5
  145. package/fesm2022/tango-app-ui-manage-tickets.mjs +0 -9848
  146. package/fesm2022/tango-app-ui-manage-tickets.mjs.map +0 -1
  147. package/index.d.ts +0 -5
  148. package/lib/components/add-csm-modal/add-csm-modal.component.d.ts +0 -30
  149. package/lib/components/audit-log/audit-log.component.d.ts +0 -5
  150. package/lib/components/audit-mapping-list/audit-mapping-list.component.d.ts +0 -73
  151. package/lib/components/audit-metrics/audit-metrics.component.d.ts +0 -59
  152. package/lib/components/audit-report-popup/audit-report-popup.component.d.ts +0 -52
  153. package/lib/components/audit-retag/audit-retag.component.d.ts +0 -59
  154. package/lib/components/comment-model/comment-model.component.d.ts +0 -17
  155. package/lib/components/count/count.component.d.ts +0 -23
  156. package/lib/components/custom-select/custom-select.component.d.ts +0 -35
  157. package/lib/components/filter-options/filter-options.component.d.ts +0 -15
  158. package/lib/components/footfall-dic/footfall-dic.component.d.ts +0 -143
  159. package/lib/components/footfall-dicview/footfall-dicview.component.d.ts +0 -132
  160. package/lib/components/footfall-popup/footfall-popup.component.d.ts +0 -8
  161. package/lib/components/group-select/group-select.component.d.ts +0 -33
  162. package/lib/components/re-trigger/re-trigger.component.d.ts +0 -32
  163. package/lib/components/reactive-select/reactive-select.component.d.ts +0 -32
  164. package/lib/components/remove-audit/remove-audit.component.d.ts +0 -16
  165. package/lib/components/start-audit/start-audit.component.d.ts +0 -86
  166. package/lib/components/tango-manage-tickets/tango-manage-tickets.component.d.ts +0 -28
  167. package/lib/components/ticket-filter-panel/ticket-filter-panel.component.d.ts +0 -79
  168. package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +0 -291
  169. package/lib/components/ticketclosepopup/ticketclosepopup.component.d.ts +0 -15
  170. package/lib/components/tickets/tickets.component.d.ts +0 -88
  171. package/lib/components/viewcategory/viewcategory.component.d.ts +0 -16
  172. package/lib/services/audit.service.d.ts +0 -36
  173. package/lib/services/excel.service.d.ts +0 -10
  174. package/lib/services/ticket.service.d.ts +0 -87
  175. package/lib/services/timer.service.d.ts +0 -22
  176. package/lib/tango-manage-tickets-routing.module.d.ts +0 -7
  177. package/lib/tango-manage-tickets.module.d.ts +0 -38
@@ -1,33 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,86 +0,0 @@
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
- }
@@ -1,28 +0,0 @@
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
- }
@@ -1,79 +0,0 @@
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
- }
@@ -1,291 +0,0 @@
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
- ticketViewChanges(store: any): void;
121
- originalImage: any;
122
- ticket: any;
123
- imageUrl: any;
124
- getFormattedEntryTime(entryTime: any): string;
125
- duplicates: any;
126
- selectedDuplicatesByParent: {
127
- [parentId: number]: number[];
128
- };
129
- isDuplicateSelected(parentId: number, duplicateId: number): boolean;
130
- onDuplicateCheckboxChange(parentId: number, duplicateId: number, event: Event): void;
131
- areAllDuplicatesSelected(original: any): boolean;
132
- onToggleSelectAllDuplicates(original: any, event: Event): void;
133
- commentModal(obj: any): void;
134
- commentsAccordionOpen: boolean;
135
- selectedCommentCategory: string | null;
136
- getCategoryCommentCountForSource(source: any, category: string): number;
137
- toggleCommentsAccordion(type: string): void;
138
- ngOnDestroy(): void;
139
- comments: any;
140
- showRevisedDetails: boolean;
141
- footfallNoData: boolean;
142
- footfallLoading: boolean;
143
- footfalloffset: number;
144
- footfalllimit: number;
145
- totalItemsFootfall: any;
146
- dataIndexId: string;
147
- dateString: string;
148
- storeIdValue: any;
149
- lastSelectedTicket: any;
150
- selecteValues: any;
151
- hasInitialStoreSynced: boolean;
152
- pageSizeFootfall: number;
153
- paginationSizesFootfall: number[];
154
- addStoreIfNotExists(store: any): void;
155
- revopsTypes: string[];
156
- countData: any;
157
- filterList: any;
158
- buildRevopsTypes(tickets: any[]): void;
159
- ticketStatus: any;
160
- private updateCloseStateFromMapping;
161
- private getActionCompletion;
162
- hasRevopsType(type: any): boolean;
163
- private isFinalStatus;
164
- overallSelectedIds: any;
165
- overallSelect(event: any): void;
166
- getAllParentItems(): any[];
167
- isCheckboxEnable: boolean;
168
- closeBtn: boolean;
169
- closeDisabled: boolean;
170
- startReview(): void;
171
- closePopup: ElementRef;
172
- stopReview(): void;
173
- ticketView(data?: any): void;
174
- accuracyReasons(): void;
175
- oncloseSubmit(): void;
176
- dataStoreView(data?: any): void;
177
- footfallTicketsData: any[];
178
- selectedByType: any;
179
- selectAllByType: any;
180
- getListByType(type: any): any[];
181
- private updateOverallSelectedIds;
182
- selectedCategories: any;
183
- labelMap: Record<string, string>;
184
- toTitleCase(str: string): string;
185
- buildLabelMap(tickets: any[]): void;
186
- get selectedCategoriesLabel(): string;
187
- type: any;
188
- popupvalue: any;
189
- onSelectAll(type: any, event: any): void;
190
- onImageCheckboxChange(type: string, id: any, event: any): void;
191
- remarks: any;
192
- zoomPopup: ElementRef;
193
- popupType: any;
194
- popupIds: any[];
195
- popupOpen(type: any, value?: any): void;
196
- houseKeepingACCount: any;
197
- employeeACCount: any;
198
- duplicateACCount: any;
199
- junkACCount: any;
200
- selectedDuplicateImagesList: any[];
201
- selectedHousekeepingImagesList: any[];
202
- selectedEmployeeImagesList: any[];
203
- selectedJunkImagesList: any[];
204
- submitValue(status?: string, category?: string): void;
205
- resetSelections(): void;
206
- cancel(): void;
207
- openArrow(): void;
208
- sortOpen: 1 | -1;
209
- onSortClick(): void;
210
- searchStoresData(): void;
211
- getOpenTicketList(data?: any): void;
212
- isLockedByReviewer(original: any): boolean;
213
- isApproved1(original: any): boolean;
214
- isRejected1(original: any): boolean;
215
- isApproved(original: any): boolean;
216
- isRejected(original: any): boolean;
217
- resetCheckbox(type: any, original: any): void;
218
- viewMode: "tangoreview" | "approve" | "review" | "tagging";
219
- getAction(original: any, type: "tagging" | "review" | "tangoreview" | "approve"): any;
220
- getCurrentReviewMapping(): any;
221
- isTicketFullyReviewed(mapping: any): boolean;
222
- getInitialsFromEmail(email?: string): string;
223
- confirmCloseTicket(): void;
224
- confirmCloseCancel(): void;
225
- imagePreviewPopup: ElementRef;
226
- previewList: any[];
227
- currentPreviewIndex: number;
228
- previewTitle: string;
229
- get currentPreviewItem(): any;
230
- getPreviewImageUrl(): any;
231
- overallMapping: any;
232
- openImagePreview(list: any, target: any, startIndex: number, title: string): void;
233
- private setPreviewIndex;
234
- overallApproveClosed(): boolean;
235
- getApproveActionForItem(item: any): any | null;
236
- canShowPreviewActions(item: any): boolean;
237
- prevPreview(): void;
238
- nextPreview(): void;
239
- popupValue: any;
240
- rejectedPopup(type: any, value: any): void;
241
- approvedPopup(type: any, value: any): void;
242
- get hasApproverAccess(): boolean;
243
- get hasReviewerAccess(): boolean;
244
- setDefaultRole(): void;
245
- SelectedRole(role: 'approver' | 'reviewer'): void;
246
- showApproveDetails: boolean;
247
- showTangoDetails: boolean;
248
- toggleRevisedDetails(mapping: any): void;
249
- reviwerList: any;
250
- reviewrReassignApi(): void;
251
- reviewrApi(): void;
252
- reviewerChange(event: any): void;
253
- assignTicketView(): void;
254
- cancelassign(): void;
255
- isTicketMenuOpen: boolean;
256
- toggleTicketMenu(event: MouseEvent): void;
257
- onDocumentClick(): void;
258
- onReassignClick(): void;
259
- ReassignTicketPopup: ElementRef;
260
- openReassignPopup(): void;
261
- onExportClick(): void;
262
- getMultipleTicketClose(): void;
263
- isRowSelectable(row: any): boolean;
264
- selectedTicketRows: any;
265
- isRowSelected(row: any): boolean;
266
- getSelectableRows(): any[];
267
- areAllSelectableRowsSelected(): boolean;
268
- closeMultiple: boolean;
269
- private updateCloseDisabled;
270
- toggleRowSelection(row: any, event: Event): void;
271
- toggleSelectAllRows(event: Event): void;
272
- showImagesModal: boolean;
273
- selectedImagesForPopup: any[];
274
- selectedComment: any | null;
275
- openImagesPopup(comment: any): void;
276
- closeImagesPopup(): void;
277
- getIconTypeList: any;
278
- tagIconMap: Record<string, string>;
279
- getIconType(): void;
280
- onFilterPanelClosed(): void;
281
- onFilterApply(filters: any): void;
282
- revFilter: 'all' | 'accept' | 'reject' | 'pending';
283
- onFilterChange(): any;
284
- private getItemStatus;
285
- matchesStatusFilter(item: any): boolean;
286
- selectPlanTrends(type: string): void;
287
- filteredList: any[];
288
- applyFilter1(mapping: any): void;
289
- static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
290
- static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
291
- }
@@ -1,15 +0,0 @@
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
- }