tango-app-ui-manage-tickets 3.7.0-beta.35 → 3.7.0-beta.36
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 +558 -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 +983 -197
- 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 +53 -8
- 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;
|
|
@@ -51,13 +68,16 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
51
68
|
hiddenColumns: string[];
|
|
52
69
|
generateColumns(firstRow: any): void;
|
|
53
70
|
formatColumnName(key: string): string;
|
|
54
|
-
detectColumnType(key: string): "
|
|
71
|
+
detectColumnType(key: string): "text" | "status" | "store" | "date";
|
|
55
72
|
currentPage: any;
|
|
56
73
|
pageSize: any;
|
|
57
74
|
onPageChange(pageOffset: number): void;
|
|
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;
|
|
@@ -158,9 +178,7 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
158
178
|
submitValue(status?: string, category?: string): void;
|
|
159
179
|
resetSelections(): void;
|
|
160
180
|
cancel(): void;
|
|
161
|
-
arrowshow: boolean;
|
|
162
181
|
openArrow(): void;
|
|
163
|
-
closeArrow(): void;
|
|
164
182
|
getOpenTicketList(data?: any): void;
|
|
165
183
|
isLockedByReviewer(original: any): boolean;
|
|
166
184
|
isApproved1(original: any): boolean;
|
|
@@ -182,11 +200,16 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
182
200
|
previewTitle: string;
|
|
183
201
|
get currentPreviewItem(): any;
|
|
184
202
|
getPreviewImageUrl(): any;
|
|
185
|
-
|
|
203
|
+
overallMapping: any;
|
|
204
|
+
openImagePreview(list: any, target: any, startIndex: number, title: string): void;
|
|
205
|
+
overallApproveClosed(): boolean;
|
|
206
|
+
getApproveActionForItem(item: any): any | null;
|
|
207
|
+
canShowPreviewActions(item: any): boolean;
|
|
186
208
|
prevPreview(): void;
|
|
187
209
|
nextPreview(): void;
|
|
188
|
-
|
|
189
|
-
|
|
210
|
+
popupValue: any;
|
|
211
|
+
rejectedPopup(type: any, value: any): void;
|
|
212
|
+
approvedPopup(type: any, value: any): void;
|
|
190
213
|
get hasApproverAccess(): boolean;
|
|
191
214
|
get hasReviewerAccess(): boolean;
|
|
192
215
|
setDefaultRole(): void;
|
|
@@ -194,6 +217,28 @@ export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
|
194
217
|
showApproveDetails: boolean;
|
|
195
218
|
showTangoDetails: boolean;
|
|
196
219
|
toggleRevisedDetails(mapping: any): void;
|
|
220
|
+
reviwerList: any;
|
|
221
|
+
reviewrApi(): void;
|
|
222
|
+
reviewerChange(event: any): void;
|
|
223
|
+
assignTicketView(): void;
|
|
224
|
+
cancelassign(): void;
|
|
225
|
+
isTicketMenuOpen: boolean;
|
|
226
|
+
toggleTicketMenu(event: MouseEvent): void;
|
|
227
|
+
onDocumentClick(): void;
|
|
228
|
+
onReassignClick(): void;
|
|
229
|
+
ReassignTicketPopup: ElementRef;
|
|
230
|
+
openReassignPopup(): void;
|
|
231
|
+
onExportClick(): void;
|
|
232
|
+
getMultipleTicketClose(): void;
|
|
233
|
+
isRowSelectable(row: any): boolean;
|
|
234
|
+
selectedTicketRows: any[];
|
|
235
|
+
isRowSelected(row: any): boolean;
|
|
236
|
+
getSelectableRows(): any[];
|
|
237
|
+
areAllSelectableRowsSelected(): boolean;
|
|
238
|
+
closeMultiple: boolean;
|
|
239
|
+
private updateCloseDisabled;
|
|
240
|
+
toggleRowSelection(row: any, event: Event): void;
|
|
241
|
+
toggleSelectAllRows(event: Event): void;
|
|
197
242
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
|
|
198
243
|
static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
199
244
|
}
|
|
@@ -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
|
}
|