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

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 +2511 -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 +9945 -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,88 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
2
+ import { ActivatedRoute, Router } from "@angular/router";
3
+ import { GlobalStateService } from "tango-app-ui-global";
4
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
5
+ import { TicketService } from "../../services/ticket.service";
6
+ import { ExcelService } from '../../services/excel.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TicketsComponent implements OnInit, OnDestroy {
9
+ private cd;
10
+ private router;
11
+ private route;
12
+ gs: GlobalStateService;
13
+ private modalService;
14
+ private service;
15
+ private excelservice;
16
+ type: string;
17
+ searchValue: any;
18
+ selectedTab: any;
19
+ itemsPerPage: number;
20
+ currentPage: number;
21
+ totalItems: number;
22
+ paginationSizes: number[];
23
+ pageSize: number;
24
+ private readonly destroy$;
25
+ assignTicket: boolean;
26
+ filterByStores: any;
27
+ filterByinstalled: any;
28
+ filterByStatus: any;
29
+ filterByQueryType: any;
30
+ issueType: any;
31
+ sortedColumn: string;
32
+ sortDirection: number;
33
+ headerFilters: any;
34
+ userList_req: any;
35
+ userList: any;
36
+ dataObject: any;
37
+ storeList: any;
38
+ statusType: {
39
+ text: string;
40
+ id: string;
41
+ }[];
42
+ typeName: string;
43
+ users: any;
44
+ limit: number;
45
+ offset: number;
46
+ sortBy: any;
47
+ sortColumName: any;
48
+ listArray: any;
49
+ tableListArray: any;
50
+ loading: boolean;
51
+ noData: boolean;
52
+ selectAll: any;
53
+ assignStores: any;
54
+ issueTypeList: any;
55
+ queryTypeList: any;
56
+ ClusterList: any[];
57
+ filterByCluster: any[];
58
+ showClusterFilter: boolean;
59
+ constructor(cd: ChangeDetectorRef, router: Router, route: ActivatedRoute, gs: GlobalStateService, modalService: NgbModal, service: TicketService, excelservice: ExcelService);
60
+ ngOnInit(): void;
61
+ getInitload(): void;
62
+ getstoreFilter(): void;
63
+ getuserlist(): void;
64
+ ngOnDestroy(): void;
65
+ searchData(): void;
66
+ onSort(column: string): void;
67
+ exportXLSX(): void;
68
+ selectedTabs(type: any): void;
69
+ transformName(name: string): string;
70
+ onPageChange(pageOffset: number): void;
71
+ onPageSizeChange(pageSize: number): void;
72
+ selectAllStore(event: any): void;
73
+ getAllGroups(): void;
74
+ updateCheck(event: any, ticketId: any): void;
75
+ addAssignTicket(): void;
76
+ applyFilters(event: any): void;
77
+ getTable(): void;
78
+ routeToStore(storeId: any, clientId: any): void;
79
+ routeToMat(storeId: any, clientId: any, clientName: any): void;
80
+ commentModal(obj: any): void;
81
+ tickets(type: any, clientId: any, storeId: any, clientName: any): void;
82
+ clientTickets(clientId: any, storeId: any, clientName: any): void;
83
+ storeTickets(clientId: any, storeId: any, clientName: any): void;
84
+ userTickets(clientId: any, storeId: any): void;
85
+ setpageSize(): number;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketsComponent, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketsComponent, "lib-tickets", never, {}, {}, never, never, false, never>;
88
+ }
@@ -0,0 +1,16 @@
1
+ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ViewcategoryComponent {
4
+ modalService: NgbModal;
5
+ activeModel: NgbActiveModal;
6
+ maindata: any;
7
+ imagelist: any;
8
+ counter: any;
9
+ data: any;
10
+ constructor(modalService: NgbModal, activeModel: NgbActiveModal);
11
+ ngOnInit(): void;
12
+ removeimage(data: any): void;
13
+ closepopup(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewcategoryComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewcategoryComponent, "lib-viewcategory", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,36 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable, BehaviorSubject } from 'rxjs';
3
+ import { GlobalStateService } from 'tango-app-ui-global';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AuditService {
6
+ private http;
7
+ private gs;
8
+ ticketApiUrl: any;
9
+ storeApiUrl: any;
10
+ data: any;
11
+ userUrl: any;
12
+ tokenStorage: any;
13
+ zoneauditApiUrl: any;
14
+ edgeAppApiUrl: any;
15
+ clientApiUrl: string;
16
+ clientId: BehaviorSubject<string>;
17
+ clientData: BehaviorSubject<any>;
18
+ auditApiUrl: any;
19
+ traxauditApiUrl: any;
20
+ vmsAuditUrl: any;
21
+ footfallDirapiUrl: any;
22
+ dropDownTrigger: BehaviorSubject<any>;
23
+ constructor(http: HttpClient, gs: GlobalStateService);
24
+ getAuditMapping(payload: any): Observable<Object>;
25
+ getAuditconfig(clientId: any): Observable<Object>;
26
+ export(data: any): Observable<ArrayBuffer>;
27
+ getauditCard(filter: any, user: any): Observable<Object>;
28
+ getactivitylog(data: any): Observable<Object>;
29
+ saveDraft(data: any): Observable<Object>;
30
+ getAuditmappinglist(payload: any): Observable<Object>;
31
+ saveaudit(data: any): Observable<Object>;
32
+ userDetails(): Observable<any>;
33
+ private handleError;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuditService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuditService>;
36
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ExcelService {
3
+ constructor();
4
+ exportAsExcelFile(json: any[], excelFileName: string): void;
5
+ saveAsExcelFile(buffer: any, fileName: string): void;
6
+ private saveAsTemplate;
7
+ saveAsZipFile(buffer: any, fileName: string): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExcelService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExcelService>;
10
+ }
@@ -0,0 +1,87 @@
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { GlobalStateService } from "tango-app-ui-global";
3
+ import { BehaviorSubject, Observable } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export declare class TicketService {
6
+ private http;
7
+ private gs;
8
+ userApiUrl: any;
9
+ ticketsApiUrl: any;
10
+ auditApiUrl: any;
11
+ auditmetricApiUrl: any;
12
+ zoneauditApiUrl: any;
13
+ footfallDirapiUrl: any;
14
+ footfallCDN: any;
15
+ trafficApiUrl: any;
16
+ revopApiUrl: any;
17
+ clientApiUrl: any;
18
+ vmsAuditUrl: any;
19
+ dropDownTrigger: BehaviorSubject<any>;
20
+ constructor(http: HttpClient, gs: GlobalStateService);
21
+ getUserList(params: any): Observable<any>;
22
+ exportInstallationList(data: any): Observable<ArrayBuffer>;
23
+ exportInfraList(data: any): Observable<ArrayBuffer>;
24
+ exportMatList(data: any): Observable<ArrayBuffer>;
25
+ getSotresList(data: any): Observable<any>;
26
+ getInstallationList(data: any): Observable<any>;
27
+ getInfraList(data: any): Observable<any>;
28
+ getAssignTicket(data: any): Observable<any>;
29
+ getMatList(data: any): Observable<any>;
30
+ updateTicketIssue(data: any): Observable<any>;
31
+ getUserActiveList(params: any): Observable<any>;
32
+ getAllCounts(data: any): Observable<any>;
33
+ getstoreMetrics(data: any): Observable<Object>;
34
+ getstoreMetricsExport(data: any): Observable<ArrayBuffer>;
35
+ getclientList(): Observable<Object>;
36
+ getuserList(): Observable<Object>;
37
+ auditretrigger(data: any): Observable<Object>;
38
+ getfootfallcount(data: any): Observable<Object>;
39
+ getstoreList(data: any): Observable<Object>;
40
+ checkTicketExists(data: any): Observable<Object>;
41
+ mergeticket(data: any): Observable<Object>;
42
+ getDataMismathList(data: any): Observable<any>;
43
+ accuracyReasonsupdate(data: any): Observable<any>;
44
+ exportDataMismatchList(data: any): Observable<ArrayBuffer>;
45
+ getAuditImages(data: any): Observable<Object>;
46
+ ExportAuditImagesasxlsx(data: any): Observable<ArrayBuffer>;
47
+ getTicketSummaryApi(client: any, fromDate: any, toDate: any, tangoType: any, permissionType?: string | null): Observable<any>;
48
+ accuracyReasons(client: any): Observable<any>;
49
+ getTicketListOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
50
+ getTicketListApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: any, permissionType?: string | null, filters?: {
51
+ filterByStatus: any[];
52
+ filterByReviewer: any | null;
53
+ filterByApprover: any | null;
54
+ filterByTango: any | null;
55
+ filterByReviewedBy: any[];
56
+ fileterByApprovedBy: any[];
57
+ }): Observable<any>;
58
+ getTicketListExportOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
59
+ getTicketListExportApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: any, permissionType?: string | null, filters?: {
60
+ filterByStatus?: string[];
61
+ filterByReviewer?: string | null;
62
+ filterByApprover?: string | null;
63
+ filterByTango?: string | null;
64
+ filterByReviewedBy?: string[];
65
+ fileterByApprovedBy?: string[];
66
+ }): Observable<any>;
67
+ getTicketsApi(store: any, fromDate: any, toDate: any, revopsType: any, status: any, action: any, offset: any, limit: any): Observable<any>;
68
+ getTicketsNewApi(ticketId: any): Observable<any>;
69
+ getTaggedStoresApi(client: any, fromDate: any, toDate: any, searchValue: any, clusters: any, sortOrder: any): Observable<any>;
70
+ getUpdateStatusApi(data: any): Observable<any>;
71
+ getUpdateTempStatusApi(data: any): Observable<any>;
72
+ getOpenTicketListApi(data: any): Observable<any>;
73
+ getUpdateTicketStatusApi(data: any): Observable<any>;
74
+ getCreateTicketListApi(data: any): Observable<any>;
75
+ CreateinternalTicketApi(data: any): Observable<any>;
76
+ getclusters(data: any): Observable<Object>;
77
+ getReviewerApi(clientId: any, type: any, tangotype: any): Observable<any>;
78
+ getTicketAssignApi(data: any): Observable<any>;
79
+ reAssignAudit(data: any): Observable<any>;
80
+ getMultiCloseTicketApi(data: any): Observable<any>;
81
+ getTypeFunction(clientId: any): Observable<any>;
82
+ private footfallData;
83
+ setFootfallData(data: any): void;
84
+ getFootfallData(): any;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketService, never>;
86
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
87
+ }
@@ -0,0 +1,22 @@
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TimerService {
5
+ private route;
6
+ private timePassed;
7
+ private subscription;
8
+ private inactivityTimeout;
9
+ private INACTIVITY_LIMIT;
10
+ constructor(route: ActivatedRoute);
11
+ startTimer(): void;
12
+ stopTimer(): void;
13
+ stopTimerAfterInactivity(): void;
14
+ resetInactivityTimeout(): void;
15
+ getTimePassed(): BehaviorSubject<number>;
16
+ clearTimer(): void;
17
+ resetTimer(): void;
18
+ formatTime(seconds: number): string;
19
+ private padZero;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimerService>;
22
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class TangoManageTicketsRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageTicketsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsRoutingModule>;
7
+ }
@@ -0,0 +1,38 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/tango-manage-tickets/tango-manage-tickets.component";
3
+ import * as i2 from "./components/tickets/tickets.component";
4
+ import * as i3 from "./components/add-csm-modal/add-csm-modal.component";
5
+ import * as i4 from "./components/comment-model/comment-model.component";
6
+ import * as i5 from "./components/audit-metrics/audit-metrics.component";
7
+ import * as i6 from "./components/re-trigger/re-trigger.component";
8
+ import * as i7 from "./components/audit-log/audit-log.component";
9
+ import * as i8 from "./components/count/count.component";
10
+ import * as i9 from "./components/footfall-dic/footfall-dic.component";
11
+ import * as i10 from "./components/reactive-select/reactive-select.component";
12
+ import * as i11 from "./components/group-select/group-select.component";
13
+ import * as i12 from "./components/footfall-dicview/footfall-dicview.component";
14
+ import * as i13 from "./components/audit-mapping-list/audit-mapping-list.component";
15
+ import * as i14 from "./components/start-audit/start-audit.component";
16
+ import * as i15 from "./components/viewcategory/viewcategory.component";
17
+ import * as i16 from "./components/remove-audit/remove-audit.component";
18
+ import * as i17 from "./components/ticket-footfall-new/ticket-footfall-new.component";
19
+ import * as i18 from "./components/footfall-popup/footfall-popup.component";
20
+ import * as i19 from "./components/filter-options/filter-options.component";
21
+ import * as i20 from "./components/audit-report-popup/audit-report-popup.component";
22
+ import * as i21 from "./components/audit-retag/audit-retag.component";
23
+ import * as i22 from "./components/ticketclosepopup/ticketclosepopup.component";
24
+ import * as i23 from "./components/custom-select/custom-select.component";
25
+ import * as i24 from "./components/ticket-filter-panel/ticket-filter-panel.component";
26
+ import * as i25 from "@angular/common";
27
+ import * as i26 from "./tango-manage-tickets-routing.module";
28
+ import * as i27 from "@angular/forms";
29
+ import * as i28 from "tango-app-ui-shared";
30
+ import * as i29 from "ngx-daterangepicker-material";
31
+ import * as i30 from "@ng-bootstrap/ng-bootstrap";
32
+ import * as i31 from "ngx-spinner";
33
+ import * as i32 from "@angular/material/tooltip";
34
+ export declare class TangoManageTicketsModule {
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsModule, never>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageTicketsModule, [typeof i1.TangoManageTicketsComponent, typeof i2.TicketsComponent, typeof i3.AddCsmModalComponent, typeof i4.CommentModelComponent, typeof i5.AuditMetricsComponent, typeof i6.ReTriggerComponent, typeof i7.AuditLogComponent, typeof i8.CountComponent, typeof i9.FootfallDicComponent, typeof i10.ReactiveSelectComponent, typeof i11.GroupSelectComponent, typeof i12.FootfallDicviewComponent, typeof i13.AuditMappingListComponent, typeof i14.StartAuditComponent, typeof i15.ViewcategoryComponent, typeof i16.RemoveAuditComponent, typeof i17.TicketFootfallNewComponent, typeof i18.FootfallPopupComponent, typeof i19.FilterOptionsComponent, typeof i20.AuditReportPopupComponent, typeof i21.AuditRetagComponent, typeof i22.TicketclosepopupComponent, typeof i23.CustomSelectComponent, typeof i24.TicketFilterPanelComponent], [typeof i25.CommonModule, typeof i26.TangoManageTicketsRoutingModule, typeof i27.FormsModule, typeof i27.ReactiveFormsModule, typeof i28.CommonSharedModule, typeof i29.NgxDaterangepickerMd, typeof i30.NgbAccordionModule, typeof i31.NgxSpinnerModule, typeof i32.MatTooltipModule], never>;
37
+ static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsModule>;
38
+ }
package/package.json CHANGED
@@ -1,12 +1,25 @@
1
- {
2
- "name": "tango-app-ui-manage-tickets",
3
- "version": "3.7.0-beta.70",
4
- "peerDependencies": {
5
- "@angular/common": "^17.0.0",
6
- "@angular/core": "^17.0.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- },
11
- "sideEffects": false
12
- }
1
+ {
2
+ "name": "tango-app-ui-manage-tickets",
3
+ "version": "3.7.0-beta.72",
4
+ "peerDependencies": {
5
+ "@angular/common": "^17.0.0",
6
+ "@angular/core": "^17.0.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/tango-app-ui-manage-tickets.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "esm2022": "./esm2022/tango-app-ui-manage-tickets.mjs",
21
+ "esm": "./esm2022/tango-app-ui-manage-tickets.mjs",
22
+ "default": "./fesm2022/tango-app-ui-manage-tickets.mjs"
23
+ }
24
+ }
25
+ }
@@ -1,8 +1,2 @@
1
- /*
2
- * Public API Surface of tango-manage-tickets
3
- */
4
-
5
- export * from './lib/tango-manage-tickets.module';
6
-
7
- export * from './lib/components/tango-manage-tickets/tango-manage-tickets.component';
8
-
1
+ export * from './lib/tango-manage-tickets.module';
2
+ export * from './lib/components/tango-manage-tickets/tango-manage-tickets.component';
package/.eslintrc.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "extends": "../../.eslintrc.json",
3
- "ignorePatterns": [
4
- "!**/*"
5
- ],
6
- "overrides": [
7
- {
8
- "files": [
9
- "*.ts"
10
- ],
11
- "rules": {
12
- "@angular-eslint/directive-selector": [
13
- "error",
14
- {
15
- "type": "attribute",
16
- "prefix": "lib",
17
- "style": "camelCase"
18
- }
19
- ],
20
- "@angular-eslint/component-selector": [
21
- "error",
22
- {
23
- "type": "element",
24
- "prefix": "lib",
25
- "style": "kebab-case"
26
- }
27
- ]
28
- }
29
- },
30
- {
31
- "files": [
32
- "*.html"
33
- ],
34
- "rules": {}
35
- }
36
- ]
37
- }
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/tango-manage-tickets",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,32 +0,0 @@
1
- <div class="card py-0">
2
- <div class="card-body py-0 d-flex flex-start flex-column p-9 ">
3
- <div class="my-5">
4
- <div class="symbol symbol-75px symbol-circle">
5
- <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
6
- <rect x="4" y="4" width="48" height="48" rx="24" fill="#DAF1FF"/>
7
- <rect x="4" y="4" width="48" height="48" rx="24" stroke="#EAF8FF" stroke-width="8"/>
8
- <path d="M32 37V35C32 33.9391 31.5786 32.9217 30.8284 32.1716C30.0783 31.4214 29.0609 31 28 31H21C19.9391 31 18.9217 31.4214 18.1716 32.1716C17.4214 32.9217 17 33.9391 17 35V37M36 24V30M39 27H33M28.5 23C28.5 25.2091 26.7091 27 24.5 27C22.2909 27 20.5 25.2091 20.5 23C20.5 20.7909 22.2909 19 24.5 19C26.7091 19 28.5 20.7909 28.5 23Z" stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
9
- </svg>
10
- </div>
11
- </div>
12
- <a class="fs-4 text-gray-800 text-hover-primary fw-bold mb-0 title cursor-pointer">Assign Ticket</a>
13
- <p class="text-sub">Assign the ticket to a particular user</p>
14
- <div class="mt-5 w-100">
15
- <!-- <lib-reactive-select [formControl]="csmSelectInput" [idField]="'email'" [nameField]="'userName'" [data]="csmUserList" ></lib-reactive-select> -->
16
-
17
- <!-- <select [formControl]="csmSelectInput" class="form-select border-val my-3">
18
- <option [value]="user.email" *ngFor="let user of csmUserList">{{user.userName}}</option>
19
- </select> -->
20
-
21
- <lib-select [items]="userList" [multi]="false" [searchField]="'userName'" [idField]="'_id'"
22
- (selected)="onCsmSelect($event)" ></lib-select>
23
-
24
- <div class="d-flex my-7" role="group">
25
- <button class="btn btn-outline w-100 me-3" (click)="cancel()">Cancel</button>
26
- <button class="btn btn-primary w-100 ms-3" [disabled]="!csmSelectInput.value" (click)="assignCsm()">Submit</button>
27
- </div>
28
-
29
- </div>
30
-
31
- </div>
32
- </div>
@@ -1,14 +0,0 @@
1
- ::ng-deep.modal-content {
2
- border-radius: 12px !important;
3
- overflow: unset !important;
4
- }
5
-
6
- ::ng-deep ngb-modal-window .component-host-scrollable {
7
- overflow: unset !important;
8
- }
9
- .text-sub{
10
- color: var(--Gray-500, #667085) !important;
11
- font-size: 14px;
12
- font-weight: 400;
13
- line-height: 20px;
14
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AddCsmModalComponent } from './add-csm-modal.component';
4
-
5
- describe('AddCsmModalComponent', () => {
6
- let component: AddCsmModalComponent;
7
- let fixture: ComponentFixture<AddCsmModalComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [AddCsmModalComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AddCsmModalComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,94 +0,0 @@
1
- import { Component, Input, OnDestroy, OnInit } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
4
- import { Subject, takeUntil } from 'rxjs';
5
- import { GlobalStateService } from 'tango-app-ui-global';
6
- import { TicketService } from '../../services/ticket.service';
7
- import { ToastService } from 'tango-app-ui-shared';
8
-
9
- @Component({
10
- selector: "lib-add-csm-modal",
11
- templateUrl: "./add-csm-modal.component.html",
12
- styleUrl: "./add-csm-modal.component.scss",
13
- })
14
- export class AddCsmModalComponent implements OnInit, OnDestroy {
15
- @Input() ticketId: any;
16
- csmUserList: any = [];
17
- csmSelectInput = new FormControl("");
18
- private readonly destroy$ = new Subject();
19
- headerFilters: any;
20
- userList_req: {};
21
- users: any=[];
22
- userList: any=[];
23
-
24
- constructor(
25
- private activeModal: NgbActiveModal,
26
- public gs: GlobalStateService,
27
- private service: TicketService,
28
- private toast: ToastService
29
- ) {}
30
- ngOnInit(): void {
31
- const userData: any = JSON.parse(localStorage.getItem("user-info") || "{}");
32
- this.users = userData;
33
- this.gs.dataRangeValue?.pipe(takeUntil(this.destroy$))?.subscribe({
34
- next: (data: any) => {
35
- if (data) {
36
- this.headerFilters = data;
37
- this.userList_req = {
38
- "userType": this.users.userType, "isActive": true
39
- // clientId: this.headerFilters.client,
40
- // limit: 10000,
41
- // offset: 1,
42
- // userType: this.users.userType,
43
- // FilterByStatus:'isActive'
44
- };
45
- this.getuserlist();
46
- }
47
- },
48
- });
49
- }
50
- ngOnDestroy(): void {
51
- this.destroy$.next(true);
52
- this.destroy$.complete();
53
- }
54
-
55
- getuserlist() {
56
- this.service
57
- .getUserActiveList(this.userList_req)
58
- .pipe(takeUntil(this.destroy$))
59
- .subscribe((res: any) => {
60
- if (res && res.code === 200) {
61
- this.userList = res?.data?.result;
62
- }
63
- });
64
- }
65
-
66
- assignCsm() {
67
- let obj = {
68
- tickets: this.ticketId,
69
- user: this.csmSelectInput.value,
70
- };
71
- this.service
72
- .getAssignTicket(obj)
73
- .pipe(takeUntil(this.destroy$))
74
- .subscribe({
75
- next: (res: any) => {
76
- if (res && res.code === 200) {
77
- this.toast.getSuccessToast(res.message);
78
- this.activeModal.close("submit");
79
- }
80
- },
81
- error: (err: any) => {
82
- this.toast.getErrorToast(err.error.error ? err.error.error : err.error);
83
- },
84
- complete: () => {},
85
- });
86
- }
87
-
88
- onCsmSelect(selectedCsm: any) {
89
- this.csmSelectInput.setValue(selectedCsm?._id);
90
- }
91
- cancel() {
92
- this.activeModal.close("submit");
93
- }
94
- }
@@ -1 +0,0 @@
1
- <p>audit-log works!</p>
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AuditLogComponent } from './audit-log.component';
4
-
5
- describe('AuditLogComponent', () => {
6
- let component: AuditLogComponent;
7
- let fixture: ComponentFixture<AuditLogComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [AuditLogComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AuditLogComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,10 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-audit-log',
5
- templateUrl: './audit-log.component.html',
6
- styleUrl: './audit-log.component.scss'
7
- })
8
- export class AuditLogComponent {
9
-
10
- }