tango-app-ui-manage-tickets 3.7.0-beta.35 → 3.7.0-beta.37
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-report-popup/audit-report-popup.component.mjs +3 -1
- package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +17 -1
- package/esm2022/lib/components/custom-select/custom-select.component.mjs +174 -0
- package/esm2022/lib/components/start-audit/start-audit.component.mjs +10 -7
- package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +732 -67
- package/esm2022/lib/components/ticketclosepopup/ticketclosepopup.component.mjs +43 -0
- package/esm2022/lib/services/audit.service.mjs +2 -1
- package/esm2022/lib/services/ticket.service.mjs +100 -38
- package/esm2022/lib/tango-manage-tickets.module.mjs +15 -5
- package/fesm2022/tango-app-ui-manage-tickets.mjs +1179 -219
- package/fesm2022/tango-app-ui-manage-tickets.mjs.map +1 -1
- package/lib/components/custom-select/custom-select.component.d.ts +34 -0
- package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +58 -7
- package/lib/components/ticketclosepopup/ticketclosepopup.component.d.ts +15 -0
- package/lib/services/audit.service.d.ts +1 -0
- package/lib/services/ticket.service.d.ts +14 -6
- package/lib/tango-manage-tickets.module.d.ts +11 -8
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
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 CustomSelectComponent implements OnChanges, OnInit {
|
|
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
|
+
onItemClick(item: any, event: MouseEvent): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSelectComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSelectComponent, "team-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>;
|
|
34
|
+
}
|
|
@@ -6,6 +6,10 @@ import { ExcelService } from "../../services/excel.service";
|
|
|
6
6
|
import { ToastService } from "tango-app-ui-shared";
|
|
7
7
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
8
8
|
import { Router } from "@angular/router";
|
|
9
|
+
import 'dayjs/locale/en';
|
|
10
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
11
|
+
import * as dayjs from 'dayjs';
|
|
12
|
+
import { AuditService } from "../../services/audit.service";
|
|
9
13
|
import * as i0 from "@angular/core";
|
|
10
14
|
export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
11
15
|
private modalService;
|
|
@@ -16,14 +20,26 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
16
20
|
private ts;
|
|
17
21
|
private fb;
|
|
18
22
|
private router;
|
|
23
|
+
private auditservice;
|
|
19
24
|
searchValue: any;
|
|
20
25
|
sortedColumn: string;
|
|
21
26
|
sortDirection: number;
|
|
22
27
|
private readonly destroy$;
|
|
23
|
-
constructor(modalService: NgbModal, gs: GlobalStateService, service: TicketService, cd: ChangeDetectorRef, excelService: ExcelService, ts: ToastService, fb: FormBuilder, router: Router);
|
|
28
|
+
constructor(modalService: NgbModal, gs: GlobalStateService, service: TicketService, cd: ChangeDetectorRef, excelService: ExcelService, ts: ToastService, fb: FormBuilder, router: Router, auditservice: AuditService);
|
|
24
29
|
headerFilters: any;
|
|
25
30
|
footfallList_req: any;
|
|
26
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;
|
|
27
43
|
ngOnInit(): void;
|
|
28
44
|
viewTicket(type: any): void;
|
|
29
45
|
private areAllItemsReviewed;
|
|
@@ -33,6 +49,7 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
33
49
|
getHeaderStatus(): string;
|
|
34
50
|
approverClosed: any;
|
|
35
51
|
getCurrentRoleMapping(): any;
|
|
52
|
+
datechange(event: any): void;
|
|
36
53
|
getStatusBadgeClass(status: string): string;
|
|
37
54
|
getFootfallSummaryData: any;
|
|
38
55
|
getTicketSummary(): void;
|
|
@@ -58,6 +75,9 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
58
75
|
onPageSizeChange(pageSize: number): void;
|
|
59
76
|
setpageSize(): any;
|
|
60
77
|
searchData(): void;
|
|
78
|
+
storeChange(event: any): void;
|
|
79
|
+
onStartDateChange(event: any): void;
|
|
80
|
+
createInternalticket(): void;
|
|
61
81
|
exportXLSX(): void;
|
|
62
82
|
onSort(column: string): void;
|
|
63
83
|
select: string;
|
|
@@ -84,9 +104,9 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
84
104
|
allSelected: boolean;
|
|
85
105
|
get storeCount(): number;
|
|
86
106
|
isSelected(store: any): boolean;
|
|
87
|
-
private handleStoreSelected;
|
|
88
107
|
toggleStoreSelection(store: any): void;
|
|
89
108
|
toggleSelectAll(): void;
|
|
109
|
+
ticketViewChanges(store: any): void;
|
|
90
110
|
originalImage: any;
|
|
91
111
|
ticket: any;
|
|
92
112
|
imageUrl: any;
|
|
@@ -103,6 +123,7 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
103
123
|
commentsAccordionOpen: boolean;
|
|
104
124
|
toggleCommentsAccordion(): void;
|
|
105
125
|
ngOnDestroy(): void;
|
|
126
|
+
activityData: any;
|
|
106
127
|
comments: any;
|
|
107
128
|
showRevisedDetails: boolean;
|
|
108
129
|
footfallNoData: boolean;
|
|
@@ -158,9 +179,7 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
158
179
|
submitValue(status?: string, category?: string): void;
|
|
159
180
|
resetSelections(): void;
|
|
160
181
|
cancel(): void;
|
|
161
|
-
arrowshow: boolean;
|
|
162
182
|
openArrow(): void;
|
|
163
|
-
closeArrow(): void;
|
|
164
183
|
getOpenTicketList(data?: any): void;
|
|
165
184
|
isLockedByReviewer(original: any): boolean;
|
|
166
185
|
isApproved1(original: any): boolean;
|
|
@@ -182,11 +201,16 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
182
201
|
previewTitle: string;
|
|
183
202
|
get currentPreviewItem(): any;
|
|
184
203
|
getPreviewImageUrl(): any;
|
|
185
|
-
|
|
204
|
+
overallMapping: any;
|
|
205
|
+
openImagePreview(list: any, target: any, startIndex: number, title: string): void;
|
|
206
|
+
overallApproveClosed(): boolean;
|
|
207
|
+
getApproveActionForItem(item: any): any | null;
|
|
208
|
+
canShowPreviewActions(item: any): boolean;
|
|
186
209
|
prevPreview(): void;
|
|
187
210
|
nextPreview(): void;
|
|
188
|
-
|
|
189
|
-
|
|
211
|
+
popupValue: any;
|
|
212
|
+
rejectedPopup(type: any, value: any): void;
|
|
213
|
+
approvedPopup(type: any, value: any): void;
|
|
190
214
|
get hasApproverAccess(): boolean;
|
|
191
215
|
get hasReviewerAccess(): boolean;
|
|
192
216
|
setDefaultRole(): void;
|
|
@@ -194,6 +218,33 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
194
218
|
showApproveDetails: boolean;
|
|
195
219
|
showTangoDetails: boolean;
|
|
196
220
|
toggleRevisedDetails(mapping: any): void;
|
|
221
|
+
reviwerList: any;
|
|
222
|
+
reviewrApi(): void;
|
|
223
|
+
reviewerChange(event: any): void;
|
|
224
|
+
assignTicketView(): void;
|
|
225
|
+
cancelassign(): void;
|
|
226
|
+
isTicketMenuOpen: boolean;
|
|
227
|
+
toggleTicketMenu(event: MouseEvent): void;
|
|
228
|
+
onDocumentClick(): void;
|
|
229
|
+
onReassignClick(): void;
|
|
230
|
+
ReassignTicketPopup: ElementRef;
|
|
231
|
+
openReassignPopup(): void;
|
|
232
|
+
onExportClick(): void;
|
|
233
|
+
getMultipleTicketClose(): void;
|
|
234
|
+
isRowSelectable(row: any): boolean;
|
|
235
|
+
selectedTicketRows: any[];
|
|
236
|
+
isRowSelected(row: any): boolean;
|
|
237
|
+
getSelectableRows(): any[];
|
|
238
|
+
areAllSelectableRowsSelected(): boolean;
|
|
239
|
+
closeMultiple: boolean;
|
|
240
|
+
private updateCloseDisabled;
|
|
241
|
+
toggleRowSelection(row: any, event: Event): void;
|
|
242
|
+
toggleSelectAllRows(event: Event): void;
|
|
243
|
+
showImagesModal: boolean;
|
|
244
|
+
selectedImagesForPopup: any[];
|
|
245
|
+
selectedComment: any | null;
|
|
246
|
+
openImagesPopup(comment: any): void;
|
|
247
|
+
closeImagesPopup(): void;
|
|
197
248
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
|
|
198
249
|
static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
199
250
|
}
|
|
@@ -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
|
+
}
|
|
@@ -19,6 +19,7 @@ export declare class AuditService {
|
|
|
19
19
|
traxauditApiUrl: any;
|
|
20
20
|
vmsAuditUrl: any;
|
|
21
21
|
footfallDirapiUrl: any;
|
|
22
|
+
dropDownTrigger: BehaviorSubject<any>;
|
|
22
23
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
23
24
|
getAuditMapping(payload: any): Observable<Object>;
|
|
24
25
|
getAuditconfig(clientId: any): Observable<Object>;
|
|
@@ -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,22 +27,25 @@ 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
45
|
getTicketListOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
|
|
42
|
-
getTicketListApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: 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>;
|
|
43
47
|
getTicketListExportOldApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
|
|
44
|
-
getTicketListExportApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any, tangoType: 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>;
|
|
45
49
|
getTicketsApi(store: any, fromDate: any, toDate: any, revopsType: any, status: any, action: any, offset: any, limit: any): Observable<any>;
|
|
46
50
|
getTicketsNewApi(ticketId: any): Observable<any>;
|
|
47
51
|
getTaggedStoresApi(client: any, fromDate: any, toDate: any, searchValue: any, clusters: any, sortOrder: any): Observable<any>;
|
|
@@ -50,7 +54,11 @@ export declare class TicketService {
|
|
|
50
54
|
getOpenTicketListApi(data: any): Observable<any>;
|
|
51
55
|
getUpdateTicketStatusApi(data: any): Observable<any>;
|
|
52
56
|
getCreateTicketListApi(data: any): Observable<any>;
|
|
57
|
+
CreateinternalTicketApi(data: any): Observable<any>;
|
|
53
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>;
|
|
54
62
|
private footfallData;
|
|
55
63
|
setFootfallData(data: any): void;
|
|
56
64
|
getFootfallData(): any;
|
|
@@ -20,15 +20,18 @@ import * as i18 from "./components/footfall-popup/footfall-popup.component";
|
|
|
20
20
|
import * as i19 from "./components/filter-options/filter-options.component";
|
|
21
21
|
import * as i20 from "./components/audit-report-popup/audit-report-popup.component";
|
|
22
22
|
import * as i21 from "./components/audit-retag/audit-retag.component";
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "./
|
|
25
|
-
import * as i24 from "@angular/
|
|
26
|
-
import * as i25 from "tango-
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "ngx-
|
|
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";
|
|
30
33
|
export declare class TangoManageTicketsModule {
|
|
31
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsModule, never>;
|
|
32
|
-
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
|
|
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>;
|
|
33
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsModule>;
|
|
34
37
|
}
|