tango-app-ui-manage-tickets 3.7.0-beta.4 → 3.7.0-beta.40
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.
- package/esm2022/lib/components/audit-mapping-list/audit-mapping-list.component.mjs +486 -0
- package/esm2022/lib/components/audit-report-popup/audit-report-popup.component.mjs +358 -0
- package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +457 -0
- package/esm2022/lib/components/custom-select/custom-select.component.mjs +174 -0
- package/esm2022/lib/components/filter-options/filter-options.component.mjs +41 -0
- package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +374 -196
- package/esm2022/lib/components/footfall-dicview/footfall-dicview.component.mjs +1014 -0
- package/esm2022/lib/components/footfall-popup/footfall-popup.component.mjs +15 -0
- package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +3 -3
- package/esm2022/lib/components/remove-audit/remove-audit.component.mjs +80 -0
- package/esm2022/lib/components/start-audit/start-audit.component.mjs +742 -0
- package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +7 -3
- package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +2173 -0
- package/esm2022/lib/components/ticketclosepopup/ticketclosepopup.component.mjs +43 -0
- package/esm2022/lib/components/tickets/tickets.component.mjs +62 -8
- package/esm2022/lib/components/viewcategory/viewcategory.component.mjs +89 -0
- package/esm2022/lib/services/audit.service.mjs +88 -0
- package/esm2022/lib/services/ticket.service.mjs +128 -33
- package/esm2022/lib/services/timer.service.mjs +84 -0
- package/esm2022/lib/tango-manage-tickets-routing.module.mjs +22 -2
- package/esm2022/lib/tango-manage-tickets.module.mjs +57 -5
- package/fesm2022/tango-app-ui-manage-tickets.mjs +6425 -312
- package/fesm2022/tango-app-ui-manage-tickets.mjs.map +1 -1
- package/lib/components/audit-mapping-list/audit-mapping-list.component.d.ts +73 -0
- package/lib/components/audit-metrics/audit-metrics.component.d.ts +1 -1
- package/lib/components/audit-report-popup/audit-report-popup.component.d.ts +47 -0
- package/lib/components/audit-retag/audit-retag.component.d.ts +59 -0
- package/lib/components/custom-select/custom-select.component.d.ts +34 -0
- package/lib/components/filter-options/filter-options.component.d.ts +15 -0
- package/lib/components/footfall-dic/footfall-dic.component.d.ts +23 -8
- package/lib/components/footfall-dicview/footfall-dicview.component.d.ts +132 -0
- package/lib/components/footfall-popup/footfall-popup.component.d.ts +8 -0
- package/lib/components/remove-audit/remove-audit.component.d.ts +16 -0
- package/lib/components/start-audit/start-audit.component.d.ts +86 -0
- package/lib/components/tango-manage-tickets/tango-manage-tickets.component.d.ts +1 -0
- package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +251 -0
- package/lib/components/ticketclosepopup/ticketclosepopup.component.d.ts +15 -0
- package/lib/components/tickets/tickets.component.d.ts +4 -0
- package/lib/components/viewcategory/viewcategory.component.d.ts +16 -0
- package/lib/services/audit.service.d.ts +36 -0
- package/lib/services/ticket.service.d.ts +25 -7
- package/lib/services/timer.service.d.ts +22 -0
- package/lib/tango-manage-tickets.module.d.ts +21 -5
- package/package.json +1 -1
|
@@ -0,0 +1,251 @@
|
|
|
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
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
39
|
+
tooltip: MatTooltip;
|
|
40
|
+
footfallcount: any;
|
|
41
|
+
disableAudit: boolean;
|
|
42
|
+
internalticket: any;
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
viewTicket(type: any): void;
|
|
45
|
+
private areAllItemsReviewed;
|
|
46
|
+
private hasReviewDecision;
|
|
47
|
+
selectedRole: 'approver' | 'reviewer' | '';
|
|
48
|
+
statusVal: any;
|
|
49
|
+
getHeaderStatus(): string;
|
|
50
|
+
approverClosed: any;
|
|
51
|
+
getCurrentRoleMapping(): any;
|
|
52
|
+
datechange(event: any): void;
|
|
53
|
+
getStatusBadgeClass(status: string): string;
|
|
54
|
+
getFootfallSummaryData: any;
|
|
55
|
+
getTicketSummary(): void;
|
|
56
|
+
offset: number;
|
|
57
|
+
limit: number;
|
|
58
|
+
isExport: any;
|
|
59
|
+
footfallListData: any;
|
|
60
|
+
totalItems: any;
|
|
61
|
+
paginationSizes: number[];
|
|
62
|
+
loading: boolean;
|
|
63
|
+
noData: boolean;
|
|
64
|
+
tangoType: any;
|
|
65
|
+
getTicketList(type: any): void;
|
|
66
|
+
tableColumns: any[];
|
|
67
|
+
labelOverrides: Record<string, string>;
|
|
68
|
+
hiddenColumns: string[];
|
|
69
|
+
generateColumns(firstRow: any): void;
|
|
70
|
+
formatColumnName(key: string): string;
|
|
71
|
+
detectColumnType(key: string): "store" | "date" | "status" | "text";
|
|
72
|
+
currentPage: any;
|
|
73
|
+
pageSize: any;
|
|
74
|
+
onPageChange(pageOffset: number): void;
|
|
75
|
+
onPageSizeChange(pageSize: number): void;
|
|
76
|
+
setpageSize(): any;
|
|
77
|
+
searchData(): void;
|
|
78
|
+
storeChange(event: any): void;
|
|
79
|
+
onStartDateChange(event: any): void;
|
|
80
|
+
createInternalticket(): void;
|
|
81
|
+
exportXLSX(): void;
|
|
82
|
+
onSort(column: string): void;
|
|
83
|
+
select: string;
|
|
84
|
+
ticketData: any;
|
|
85
|
+
startAudit(): void;
|
|
86
|
+
backToNavigation(): void;
|
|
87
|
+
isCollapsed: boolean;
|
|
88
|
+
toggleSidebar(): void;
|
|
89
|
+
toggleFilter(): void;
|
|
90
|
+
isFilterOpen: boolean;
|
|
91
|
+
filterForm: FormGroup;
|
|
92
|
+
filterChange: EventEmitter<any>;
|
|
93
|
+
newForm(): void;
|
|
94
|
+
applyFilter(): void;
|
|
95
|
+
resetFilter(): void;
|
|
96
|
+
close(): void;
|
|
97
|
+
StoresSearchValue: any;
|
|
98
|
+
sortedColumn1: string;
|
|
99
|
+
sortDirection1: number;
|
|
100
|
+
searchStoresData(): void;
|
|
101
|
+
sortValue(column: string): void;
|
|
102
|
+
openTicketsList: any[];
|
|
103
|
+
selectedStores: any[];
|
|
104
|
+
allSelected: boolean;
|
|
105
|
+
get storeCount(): number;
|
|
106
|
+
isSelected(store: any): boolean;
|
|
107
|
+
toggleStoreSelection(store: any): void;
|
|
108
|
+
toggleSelectAll(): void;
|
|
109
|
+
ticketViewChanges(store: any): void;
|
|
110
|
+
originalImage: any;
|
|
111
|
+
ticket: any;
|
|
112
|
+
imageUrl: any;
|
|
113
|
+
getFormattedEntryTime(entryTime: any): string;
|
|
114
|
+
duplicates: any;
|
|
115
|
+
selectedDuplicatesByParent: {
|
|
116
|
+
[parentId: number]: number[];
|
|
117
|
+
};
|
|
118
|
+
isDuplicateSelected(parentId: number, duplicateId: number): boolean;
|
|
119
|
+
onDuplicateCheckboxChange(parentId: number, duplicateId: number, event: Event): void;
|
|
120
|
+
areAllDuplicatesSelected(original: any): boolean;
|
|
121
|
+
onToggleSelectAllDuplicates(original: any, event: Event): void;
|
|
122
|
+
commentModal(obj: any): void;
|
|
123
|
+
commentsAccordionOpen: boolean;
|
|
124
|
+
toggleCommentsAccordion(): void;
|
|
125
|
+
ngOnDestroy(): void;
|
|
126
|
+
activityData: any;
|
|
127
|
+
activityData1: any;
|
|
128
|
+
comments: any;
|
|
129
|
+
showRevisedDetails: boolean;
|
|
130
|
+
footfallNoData: boolean;
|
|
131
|
+
footfallLoading: boolean;
|
|
132
|
+
footfalloffset: number;
|
|
133
|
+
footfalllimit: number;
|
|
134
|
+
totalItemsFootfall: any;
|
|
135
|
+
dataIndexId: string;
|
|
136
|
+
dateString: string;
|
|
137
|
+
storeIdValue: any;
|
|
138
|
+
lastSelectedTicket: any;
|
|
139
|
+
selecteValues: any;
|
|
140
|
+
hasInitialStoreSynced: boolean;
|
|
141
|
+
pageSizeFootfall: number;
|
|
142
|
+
paginationSizesFootfall: number[];
|
|
143
|
+
addStoreIfNotExists(store: any): void;
|
|
144
|
+
hasRevopsType(type: string): boolean;
|
|
145
|
+
overallSelectedIds: any;
|
|
146
|
+
overallSelect(event: any): void;
|
|
147
|
+
getAllParentItems(): any[];
|
|
148
|
+
isCheckboxEnable: boolean;
|
|
149
|
+
closeBtn: boolean;
|
|
150
|
+
closeDisabled: boolean;
|
|
151
|
+
startReview(): void;
|
|
152
|
+
closePopup: ElementRef;
|
|
153
|
+
stopReview(): void;
|
|
154
|
+
ticketView(data?: any): void;
|
|
155
|
+
dataStoreView(data?: any): void;
|
|
156
|
+
footfallTicketsData: any[];
|
|
157
|
+
selectedByType?: any;
|
|
158
|
+
selectAllByType: any;
|
|
159
|
+
getListByType(type: "junk" | "employee" | "houseKeeping"): any[];
|
|
160
|
+
private updateOverallSelectedIds;
|
|
161
|
+
selectedCategories: string[];
|
|
162
|
+
get selectedCategoriesLabel(): string;
|
|
163
|
+
type: any;
|
|
164
|
+
popupvalue: "employee" | "houseKeeping" | "duplicate" | "junk" | "";
|
|
165
|
+
onSelectAll(type: "junk" | "employee" | "houseKeeping", event: any): void;
|
|
166
|
+
onImageCheckboxChange(type: "junk" | "employee" | "houseKeeping", id: any): void;
|
|
167
|
+
remarks: any;
|
|
168
|
+
zoomPopup: ElementRef;
|
|
169
|
+
popupType: any;
|
|
170
|
+
popupIds: any[];
|
|
171
|
+
popupOpen(type: any, value?: any | "employee" | "junk" | "houseKeeping" | "duplicate"): void;
|
|
172
|
+
houseKeepingACCount: any;
|
|
173
|
+
employeeACCount: any;
|
|
174
|
+
duplicateACCount: any;
|
|
175
|
+
junkACCount: any;
|
|
176
|
+
selectedDuplicateImagesList: any[];
|
|
177
|
+
selectedHousekeepingImagesList: any[];
|
|
178
|
+
selectedEmployeeImagesList: any[];
|
|
179
|
+
selectedJunkImagesList: any[];
|
|
180
|
+
submitValue(status?: string, category?: string): void;
|
|
181
|
+
resetSelections(): void;
|
|
182
|
+
cancel(): void;
|
|
183
|
+
openArrow(): void;
|
|
184
|
+
getOpenTicketList(data?: any): void;
|
|
185
|
+
isLockedByReviewer(original: any): boolean;
|
|
186
|
+
isApproved1(original: any): boolean;
|
|
187
|
+
isRejected1(original: any): boolean;
|
|
188
|
+
isApproved(original: any): boolean;
|
|
189
|
+
isRejected(original: any): boolean;
|
|
190
|
+
resetCheckbox(type: "duplicate" | "employee" | "junk" | "houseKeeping", original: any): void;
|
|
191
|
+
viewMode: "tangoreview" | "approve" | "review" | "tagging";
|
|
192
|
+
getAction(original: any, type: "tagging" | "review" | "tangoreview" | "approve"): any;
|
|
193
|
+
updateCloseButtonFromStore(): void;
|
|
194
|
+
getCurrentReviewMapping(): any;
|
|
195
|
+
isTicketFullyReviewed(mapping: any): boolean;
|
|
196
|
+
getInitialsFromEmail(email?: string): string;
|
|
197
|
+
confirmCloseTicket(): void;
|
|
198
|
+
confirmCloseCancel(): void;
|
|
199
|
+
imagePreviewPopup: ElementRef;
|
|
200
|
+
previewList: any[];
|
|
201
|
+
currentPreviewIndex: number;
|
|
202
|
+
previewTitle: string;
|
|
203
|
+
get currentPreviewItem(): any;
|
|
204
|
+
getPreviewImageUrl(): any;
|
|
205
|
+
overallMapping: any;
|
|
206
|
+
openImagePreview(list: any, target: any, startIndex: number, title: string): void;
|
|
207
|
+
overallApproveClosed(): boolean;
|
|
208
|
+
getApproveActionForItem(item: any): any | null;
|
|
209
|
+
canShowPreviewActions(item: any): boolean;
|
|
210
|
+
prevPreview(): void;
|
|
211
|
+
nextPreview(): void;
|
|
212
|
+
popupValue: any;
|
|
213
|
+
rejectedPopup(type: any, value: any): void;
|
|
214
|
+
approvedPopup(type: any, value: any): void;
|
|
215
|
+
get hasApproverAccess(): boolean;
|
|
216
|
+
get hasReviewerAccess(): boolean;
|
|
217
|
+
setDefaultRole(): void;
|
|
218
|
+
SelectedRole(role: 'approver' | 'reviewer'): void;
|
|
219
|
+
showApproveDetails: boolean;
|
|
220
|
+
showTangoDetails: boolean;
|
|
221
|
+
toggleRevisedDetails(mapping: any): void;
|
|
222
|
+
reviwerList: any;
|
|
223
|
+
reviewrApi(): void;
|
|
224
|
+
reviewerChange(event: any): void;
|
|
225
|
+
assignTicketView(): void;
|
|
226
|
+
cancelassign(): void;
|
|
227
|
+
isTicketMenuOpen: boolean;
|
|
228
|
+
toggleTicketMenu(event: MouseEvent): void;
|
|
229
|
+
onDocumentClick(): void;
|
|
230
|
+
onReassignClick(): void;
|
|
231
|
+
ReassignTicketPopup: ElementRef;
|
|
232
|
+
openReassignPopup(): void;
|
|
233
|
+
onExportClick(): void;
|
|
234
|
+
getMultipleTicketClose(): void;
|
|
235
|
+
isRowSelectable(row: any): boolean;
|
|
236
|
+
selectedTicketRows: any[];
|
|
237
|
+
isRowSelected(row: any): boolean;
|
|
238
|
+
getSelectableRows(): any[];
|
|
239
|
+
areAllSelectableRowsSelected(): boolean;
|
|
240
|
+
closeMultiple: boolean;
|
|
241
|
+
private updateCloseDisabled;
|
|
242
|
+
toggleRowSelection(row: any, event: Event): void;
|
|
243
|
+
toggleSelectAllRows(event: Event): void;
|
|
244
|
+
showImagesModal: boolean;
|
|
245
|
+
selectedImagesForPopup: any[];
|
|
246
|
+
selectedComment: any | null;
|
|
247
|
+
openImagesPopup(comment: any): void;
|
|
248
|
+
closeImagesPopup(): void;
|
|
249
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
|
|
250
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
251
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -53,6 +53,9 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
53
53
|
assignStores: any;
|
|
54
54
|
issueTypeList: any;
|
|
55
55
|
queryTypeList: any;
|
|
56
|
+
ClusterList: any[];
|
|
57
|
+
filterByCluster: any[];
|
|
58
|
+
showClusterFilter: boolean;
|
|
56
59
|
constructor(cd: ChangeDetectorRef, router: Router, route: ActivatedRoute, gs: GlobalStateService, modalService: NgbModal, service: TicketService, excelservice: ExcelService);
|
|
57
60
|
ngOnInit(): void;
|
|
58
61
|
getInitload(): void;
|
|
@@ -67,6 +70,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
67
70
|
onPageChange(pageOffset: number): void;
|
|
68
71
|
onPageSizeChange(pageSize: number): void;
|
|
69
72
|
selectAllStore(event: any): void;
|
|
73
|
+
getAllGroups(): void;
|
|
70
74
|
updateCheck(event: any, ticketId: any): void;
|
|
71
75
|
addAssignTicket(): void;
|
|
72
76
|
applyFilters(event: any): void;
|
|
@@ -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
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpClient } from
|
|
2
|
-
import { GlobalStateService } from
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
3
3
|
import { BehaviorSubject, Observable } from "rxjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TicketService {
|
|
@@ -13,6 +13,7 @@ export declare class TicketService {
|
|
|
13
13
|
footfallDirapiUrl: any;
|
|
14
14
|
footfallCDN: any;
|
|
15
15
|
trafficApiUrl: any;
|
|
16
|
+
revopApiUrl: any;
|
|
16
17
|
dropDownTrigger: BehaviorSubject<any>;
|
|
17
18
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
18
19
|
getUserList(params: any): Observable<any>;
|
|
@@ -26,24 +27,41 @@ export declare class TicketService {
|
|
|
26
27
|
getMatList(data: any): Observable<any>;
|
|
27
28
|
updateTicketIssue(data: any): Observable<any>;
|
|
28
29
|
getUserActiveList(params: any): Observable<any>;
|
|
29
|
-
getDataMismathList(data: any): Observable<any>;
|
|
30
|
-
exportDataMismatchList(data: any): Observable<ArrayBuffer>;
|
|
31
30
|
getAllCounts(data: any): Observable<any>;
|
|
32
31
|
getstoreMetrics(data: any): Observable<Object>;
|
|
33
32
|
getstoreMetricsExport(data: any): Observable<ArrayBuffer>;
|
|
34
33
|
getclientList(): Observable<Object>;
|
|
35
34
|
getuserList(): Observable<Object>;
|
|
36
35
|
auditretrigger(data: any): Observable<Object>;
|
|
36
|
+
getfootfallcount(data: any): Observable<Object>;
|
|
37
37
|
getstoreList(data: any): Observable<Object>;
|
|
38
|
+
checkTicketExists(data: any): Observable<Object>;
|
|
39
|
+
mergeticket(data: any): Observable<Object>;
|
|
40
|
+
getDataMismathList(data: any): Observable<any>;
|
|
41
|
+
exportDataMismatchList(data: any): Observable<ArrayBuffer>;
|
|
38
42
|
getAuditImages(data: any): Observable<Object>;
|
|
39
43
|
ExportAuditImagesasxlsx(data: any): Observable<ArrayBuffer>;
|
|
40
44
|
getTicketSummaryApi(client: any, fromDate: any, toDate: any): Observable<any>;
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
getTicketListOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
|
|
46
|
+
getTicketListApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: any, permissionType?: string | null): Observable<any>;
|
|
47
|
+
getTicketListExportOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
|
|
48
|
+
getTicketListExportApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: any, permissionType?: string | null): Observable<any>;
|
|
43
49
|
getTicketsApi(store: any, fromDate: any, toDate: any, revopsType: any, status: any, action: any, offset: any, limit: any): Observable<any>;
|
|
44
|
-
|
|
50
|
+
getTicketsNewApi(ticketId: any): Observable<any>;
|
|
51
|
+
getTaggedStoresApi(client: any, fromDate: any, toDate: any, searchValue: any, clusters: any, sortOrder: any): Observable<any>;
|
|
45
52
|
getUpdateStatusApi(data: any): Observable<any>;
|
|
53
|
+
getUpdateTempStatusApi(data: any): Observable<any>;
|
|
54
|
+
getOpenTicketListApi(data: any): Observable<any>;
|
|
55
|
+
getUpdateTicketStatusApi(data: any): Observable<any>;
|
|
56
|
+
getCreateTicketListApi(data: any): Observable<any>;
|
|
57
|
+
CreateinternalTicketApi(data: any): Observable<any>;
|
|
46
58
|
getclusters(data: any): Observable<Object>;
|
|
59
|
+
getReviewerApi(clientId: any, type: any): Observable<any>;
|
|
60
|
+
getTicketAssignApi(data: any): Observable<any>;
|
|
61
|
+
getMultiCloseTicketApi(data: any): Observable<any>;
|
|
62
|
+
private footfallData;
|
|
63
|
+
setFootfallData(data: any): void;
|
|
64
|
+
getFootfallData(): any;
|
|
47
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketService, never>;
|
|
48
66
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
|
|
49
67
|
}
|
|
@@ -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
|
+
}
|
|
@@ -10,12 +10,28 @@ import * as i8 from "./components/count/count.component";
|
|
|
10
10
|
import * as i9 from "./components/footfall-dic/footfall-dic.component";
|
|
11
11
|
import * as i10 from "./components/reactive-select/reactive-select.component";
|
|
12
12
|
import * as i11 from "./components/group-select/group-select.component";
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
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 "@angular/common";
|
|
26
|
+
import * as i25 from "./tango-manage-tickets-routing.module";
|
|
27
|
+
import * as i26 from "@angular/forms";
|
|
28
|
+
import * as i27 from "tango-app-ui-shared";
|
|
29
|
+
import * as i28 from "ngx-daterangepicker-material";
|
|
30
|
+
import * as i29 from "@ng-bootstrap/ng-bootstrap";
|
|
31
|
+
import * as i30 from "ngx-spinner";
|
|
32
|
+
import * as i31 from "@angular/material/tooltip";
|
|
17
33
|
export declare class TangoManageTicketsModule {
|
|
18
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsModule, never>;
|
|
19
|
-
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
|
|
35
|
+
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.CommonModule, typeof i25.TangoManageTicketsRoutingModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.CommonSharedModule, typeof i28.NgxDaterangepickerMd, typeof i29.NgbAccordionModule, typeof i30.NgxSpinnerModule, typeof i31.MatTooltipModule], never>;
|
|
20
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsModule>;
|
|
21
37
|
}
|