tango-app-ui-manage-tickets 3.7.0-beta.3 → 3.7.0-beta.31
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 +498 -0
- package/esm2022/lib/components/filter-options/filter-options.component.mjs +41 -0
- package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +394 -190
- 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 +738 -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 +1323 -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 +85 -0
- package/esm2022/lib/services/ticket.service.mjs +37 -4
- package/esm2022/lib/services/timer.service.mjs +84 -0
- package/esm2022/lib/tango-manage-tickets-routing.module.mjs +16 -1
- package/esm2022/lib/tango-manage-tickets.module.mjs +41 -5
- package/fesm2022/tango-app-ui-manage-tickets.mjs +4504 -281
- package/fesm2022/tango-app-ui-manage-tickets.mjs.map +1 -1
- package/lib/components/audit-mapping-list/audit-mapping-list.component.d.ts +72 -0
- package/lib/components/audit-metrics/audit-metrics.component.d.ts +1 -1
- package/lib/components/filter-options/filter-options.component.d.ts +15 -0
- package/lib/components/footfall-dic/footfall-dic.component.d.ts +24 -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 +193 -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 +34 -0
- package/lib/services/ticket.service.d.ts +13 -3
- package/lib/services/timer.service.d.ts +22 -0
- package/lib/tango-manage-tickets.module.d.ts +16 -5
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import { AuditService } from '../../services/audit.service';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { TimerService } from '../../services/timer.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AuditMappingListComponent {
|
|
10
|
+
modalService: NgbModal;
|
|
11
|
+
private router;
|
|
12
|
+
private auditService;
|
|
13
|
+
private toastr;
|
|
14
|
+
private route;
|
|
15
|
+
private cd;
|
|
16
|
+
private timerService;
|
|
17
|
+
totalfile: number;
|
|
18
|
+
customer: number;
|
|
19
|
+
junk: number;
|
|
20
|
+
employee: number;
|
|
21
|
+
currentValue: any;
|
|
22
|
+
showvalue: boolean;
|
|
23
|
+
retggingpage: boolean;
|
|
24
|
+
showvalue1: boolean;
|
|
25
|
+
junkimage: any;
|
|
26
|
+
retagimage: any;
|
|
27
|
+
submitvalue: boolean;
|
|
28
|
+
auditmappingdata: any;
|
|
29
|
+
customercount: any;
|
|
30
|
+
auditLoading: boolean;
|
|
31
|
+
selectedType: any;
|
|
32
|
+
junkcount: any;
|
|
33
|
+
employeecount: any;
|
|
34
|
+
employeimage: any;
|
|
35
|
+
filedetails: any;
|
|
36
|
+
demographic: any;
|
|
37
|
+
submitted: boolean;
|
|
38
|
+
dummymapping: any;
|
|
39
|
+
private readonly destroy$;
|
|
40
|
+
timePassed: number;
|
|
41
|
+
subscription: Subscription | null;
|
|
42
|
+
formattedTime: string;
|
|
43
|
+
count: any;
|
|
44
|
+
category: any;
|
|
45
|
+
confirmDraft: any;
|
|
46
|
+
constructor(modalService: NgbModal, router: Router, auditService: AuditService, toastr: ToastService, route: ActivatedRoute, cd: ChangeDetectorRef, timerService: TimerService);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
getAuditConfig(): void;
|
|
49
|
+
setTimer(): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
handleGlobalMouseEvent: () => void;
|
|
52
|
+
initial_data_loading(): void;
|
|
53
|
+
getmappingdata(): void;
|
|
54
|
+
redireact: boolean;
|
|
55
|
+
backToTagging(): void;
|
|
56
|
+
changesdata(): void;
|
|
57
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
58
|
+
allowDrop(ev: any): void;
|
|
59
|
+
drag(ev: any): void;
|
|
60
|
+
dropforretag(ev: any): void;
|
|
61
|
+
removeimage(data: any): void;
|
|
62
|
+
saveDraftimg(): void;
|
|
63
|
+
taggingview(): void;
|
|
64
|
+
setValue(i: any): any;
|
|
65
|
+
currentGroupNumber: any;
|
|
66
|
+
getGroupNumber(obj: any): number | null;
|
|
67
|
+
resetGroupNumber(): void;
|
|
68
|
+
getFilteredData(count: number): any;
|
|
69
|
+
toggleImage(img_name: any): void;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditMappingListComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditMappingListComponent, "lib-audit-mapping-list", never, {}, {}, never, never, false, never>;
|
|
72
|
+
}
|
|
@@ -52,7 +52,7 @@ export declare class AuditMetricsComponent implements OnInit, OnDestroy {
|
|
|
52
52
|
openAftercount(value: any): void;
|
|
53
53
|
openView(): void;
|
|
54
54
|
openreTrigger(value: any): void;
|
|
55
|
-
statusBadge(value: any): "badge-light-
|
|
55
|
+
statusBadge(value: any): "badge-light-warning" | "badge-light-primary" | "badge-light-success";
|
|
56
56
|
sortData(value: any): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditMetricsComponent, never>;
|
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuditMetricsComponent, "lib-audit-metrics", never, {}, {}, never, never, false, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterOptionsComponent {
|
|
4
|
+
applyFilters: EventEmitter<any>;
|
|
5
|
+
closePanel: EventEmitter<void>;
|
|
6
|
+
status: string;
|
|
7
|
+
condition: string;
|
|
8
|
+
ticketValue: number | null;
|
|
9
|
+
reviewer: string;
|
|
10
|
+
apply(): void;
|
|
11
|
+
close(): void;
|
|
12
|
+
reset(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterOptionsComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterOptionsComponent, "lib-filter-options", never, {}, { "applyFilters": "applyFilters"; "closePanel": "closePanel"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, ElementRef } from
|
|
2
|
-
import { GlobalStateService } from
|
|
3
|
-
import { TicketService } from
|
|
4
|
-
import { ToastService } from
|
|
5
|
-
import { ExcelService } from
|
|
6
|
-
import { FormBuilder, FormControl } from
|
|
7
|
-
import { NgbModal } from
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, ElementRef } from "@angular/core";
|
|
2
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
3
|
+
import { TicketService } from "../../services/ticket.service";
|
|
4
|
+
import { ToastService } from "tango-app-ui-shared";
|
|
5
|
+
import { ExcelService } from "../../services/excel.service";
|
|
6
|
+
import { FormBuilder, FormControl } from "@angular/forms";
|
|
7
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
8
|
+
import { Router } from "@angular/router";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
10
11
|
private gs;
|
|
11
12
|
private ticketService;
|
|
12
13
|
private cd;
|
|
14
|
+
private router;
|
|
13
15
|
private toast;
|
|
14
16
|
private modalService;
|
|
15
17
|
private excelservice;
|
|
@@ -19,6 +21,8 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
19
21
|
noData: boolean;
|
|
20
22
|
sortedColumn: any;
|
|
21
23
|
sortDirection: any;
|
|
24
|
+
sortedColumn1: any;
|
|
25
|
+
sortDirection1: any;
|
|
22
26
|
footfallView: boolean;
|
|
23
27
|
headerFilters: any;
|
|
24
28
|
footfallList_req: any;
|
|
@@ -34,7 +38,7 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
34
38
|
allSelected: boolean;
|
|
35
39
|
stores: any[];
|
|
36
40
|
private readonly destroy$;
|
|
37
|
-
constructor(gs: GlobalStateService, ticketService: TicketService, cd: ChangeDetectorRef, toast: ToastService, modalService: NgbModal, excelservice: ExcelService, fb: FormBuilder);
|
|
41
|
+
constructor(gs: GlobalStateService, ticketService: TicketService, cd: ChangeDetectorRef, router: Router, toast: ToastService, modalService: NgbModal, excelservice: ExcelService, fb: FormBuilder);
|
|
38
42
|
ngOnDestroy(): void;
|
|
39
43
|
ngOnInit(): void;
|
|
40
44
|
getFootfallSummaryData: any;
|
|
@@ -57,6 +61,8 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
57
61
|
storeCount: any;
|
|
58
62
|
searchStoresData(): void;
|
|
59
63
|
StoresSearchValue: any;
|
|
64
|
+
sortOrderStores: any;
|
|
65
|
+
sortValue(column: string): void;
|
|
60
66
|
getStores(): void;
|
|
61
67
|
getTaggedStoresData: any;
|
|
62
68
|
typeChange(event: any): void;
|
|
@@ -76,6 +82,8 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
76
82
|
private lastSelectedTicket;
|
|
77
83
|
hasInitialStoreSynced: boolean;
|
|
78
84
|
addStoreIfNotExists(store: any): void;
|
|
85
|
+
selecteValues: any;
|
|
86
|
+
selectedStatus: any;
|
|
79
87
|
dataStoreView(data?: any): void;
|
|
80
88
|
isCollapsed: boolean;
|
|
81
89
|
toggleSidebar(): void;
|
|
@@ -88,6 +96,9 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
88
96
|
onFootfallPageSizeChange(pageSize: number): void;
|
|
89
97
|
totalItemsFootfall: any;
|
|
90
98
|
setFootfallpageSize(): any;
|
|
99
|
+
footfallMulticurrentPage: any;
|
|
100
|
+
onFootfallMultiPageChange(pageOffset: number): void;
|
|
101
|
+
onFootfallMultiPageSizeChange(pageSize: number): void;
|
|
91
102
|
toggleStoreSelection(store: any): void;
|
|
92
103
|
toggleSelectAll(): void;
|
|
93
104
|
isSelected(store: any): boolean;
|
|
@@ -96,6 +107,8 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
96
107
|
selectedDuplicateImagesList: any[];
|
|
97
108
|
selectedHousekeepingImagesList: any[];
|
|
98
109
|
selectedEmployeeImagesList: any[];
|
|
110
|
+
selectedJunkImagesList: any[];
|
|
111
|
+
junkACCount: any;
|
|
99
112
|
houseKeepingACCount: any;
|
|
100
113
|
employeeACCount: any;
|
|
101
114
|
duplicateACCount: any;
|
|
@@ -118,10 +131,13 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
118
131
|
popupType: any;
|
|
119
132
|
popupOpen(type: any, value: any): void;
|
|
120
133
|
cancel(): void;
|
|
134
|
+
clear(): void;
|
|
121
135
|
ClusterList: any;
|
|
122
136
|
getAllGroups(): void;
|
|
123
137
|
groups: any;
|
|
124
138
|
ongroupSelect(event: any): void;
|
|
139
|
+
getFormattedEntryTime(entryTime: string): string;
|
|
140
|
+
showSelectAllBox(): void;
|
|
125
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<FootfallDicComponent, never>;
|
|
126
142
|
static ɵcmp: i0.ɵɵComponentDeclaration<FootfallDicComponent, "lib-footfall-dic", never, {}, {}, never, never, false, never>;
|
|
127
143
|
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from "@angular/core";
|
|
2
|
+
import { FormBuilder } from "@angular/forms";
|
|
3
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
+
import { GlobalStateService, PageInfoService } from "tango-app-ui-global";
|
|
5
|
+
import { TicketService } from "../../services/ticket.service";
|
|
6
|
+
import { ToastService } from "tango-app-ui-shared";
|
|
7
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
8
|
+
import dayjs from "dayjs";
|
|
9
|
+
import "dayjs/locale/en";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class FootfallDicviewComponent implements OnInit {
|
|
12
|
+
private gs;
|
|
13
|
+
private ticketService;
|
|
14
|
+
private pageInfo;
|
|
15
|
+
private cd;
|
|
16
|
+
private router;
|
|
17
|
+
private route;
|
|
18
|
+
private toast;
|
|
19
|
+
private modalService;
|
|
20
|
+
private fb;
|
|
21
|
+
dayjs: typeof dayjs;
|
|
22
|
+
filterForm: any;
|
|
23
|
+
form: any;
|
|
24
|
+
paginationSizes: number[];
|
|
25
|
+
selectedRevopsType: any;
|
|
26
|
+
revopsTypeArray: any;
|
|
27
|
+
type: any;
|
|
28
|
+
pendingArray: any;
|
|
29
|
+
storeCount: any;
|
|
30
|
+
constructor(gs: GlobalStateService, ticketService: TicketService, pageInfo: PageInfoService, cd: ChangeDetectorRef, router: Router, route: ActivatedRoute, toast: ToastService, modalService: NgbModal, fb: FormBuilder);
|
|
31
|
+
selectedStores: any[];
|
|
32
|
+
allSelected: boolean;
|
|
33
|
+
stores: any[];
|
|
34
|
+
selectedDateRange: any;
|
|
35
|
+
selectedDate: any;
|
|
36
|
+
isCustomDate: any;
|
|
37
|
+
private readonly destroy$;
|
|
38
|
+
ticketDataList: any;
|
|
39
|
+
setPageData(): void;
|
|
40
|
+
users: any;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
headDate: any;
|
|
43
|
+
headDateEnd: any;
|
|
44
|
+
datechange(event: any): void;
|
|
45
|
+
onStartDateChange(event: any): void;
|
|
46
|
+
resetValidation(): void;
|
|
47
|
+
ClusterList: any;
|
|
48
|
+
client: any;
|
|
49
|
+
getAllGroups(): void;
|
|
50
|
+
groups: any;
|
|
51
|
+
ongroupSelect(event: any): void;
|
|
52
|
+
searchStoresData(): void;
|
|
53
|
+
StoresSearchValue: any;
|
|
54
|
+
sortOrderStores: any;
|
|
55
|
+
sortedColumn1: any;
|
|
56
|
+
sortDirection1: any;
|
|
57
|
+
sortValue(column: string): void;
|
|
58
|
+
getStores(): void;
|
|
59
|
+
toggleStoreSelection(store: any): void;
|
|
60
|
+
toggleSelectAll(): void;
|
|
61
|
+
isSelected(store: any): boolean;
|
|
62
|
+
backToNavigation(): void;
|
|
63
|
+
cancel(): void;
|
|
64
|
+
clear(): void;
|
|
65
|
+
ticketData: any;
|
|
66
|
+
imgtoggleSelectAll(): void;
|
|
67
|
+
selectedImagesList: any[];
|
|
68
|
+
selectedDuplicateImagesList: any[];
|
|
69
|
+
selectedHousekeepingImagesList: any[];
|
|
70
|
+
selectedEmployeeImagesList: any[];
|
|
71
|
+
houseKeepingACCount: any;
|
|
72
|
+
employeeACCount: any;
|
|
73
|
+
duplicateACCount: any;
|
|
74
|
+
junkACCount: any;
|
|
75
|
+
selectedJunkImagesList: any[];
|
|
76
|
+
cloneWithoutSelected(obj: any): any;
|
|
77
|
+
allSelectValue: boolean;
|
|
78
|
+
cloneWithoutSelected1(data: any): any;
|
|
79
|
+
onImageCheckboxChange1(data: any, category: string, parentOriginal?: any): void;
|
|
80
|
+
selectAllValue(): void;
|
|
81
|
+
areAllCheckboxesSelected(): boolean;
|
|
82
|
+
checkedValue: boolean;
|
|
83
|
+
onImageCheckboxChange(data: any, category: string, parentOriginal?: any): void;
|
|
84
|
+
commentText: any;
|
|
85
|
+
submitValue(status?: string, category?: string): void;
|
|
86
|
+
searchTerm: any;
|
|
87
|
+
get filteredStores(): any[];
|
|
88
|
+
onImageError(event: any): void;
|
|
89
|
+
isCollapsed: boolean;
|
|
90
|
+
toggleSidebar(): void;
|
|
91
|
+
matchedType: any;
|
|
92
|
+
matchedArray: any;
|
|
93
|
+
onFilterApply(): void;
|
|
94
|
+
pageSizeFootfall: any;
|
|
95
|
+
footfallcurrentPage: any;
|
|
96
|
+
onFootfallPageChange(pageOffset: number): void;
|
|
97
|
+
onFootfallPageSizeChange(pageSize: number): void;
|
|
98
|
+
totalItemsFootfall: any;
|
|
99
|
+
setFootfallpageSize(): any;
|
|
100
|
+
footfallMulticurrentPage: any;
|
|
101
|
+
onFootfallMultiPageChange(pageOffset: number): void;
|
|
102
|
+
onFootfallMultiPageSizeChange(pageSize: number): void;
|
|
103
|
+
typeChange(event: any): void;
|
|
104
|
+
pendingChange(event: any): void;
|
|
105
|
+
RevopsTypeChange(event: any): void;
|
|
106
|
+
footfalloffset: number;
|
|
107
|
+
footfalllimit: number;
|
|
108
|
+
footfallTicketsData: any;
|
|
109
|
+
storeIdValue: any;
|
|
110
|
+
dataReset(): void;
|
|
111
|
+
dataApply(): void;
|
|
112
|
+
imageUrl: any;
|
|
113
|
+
dataIndexId: any;
|
|
114
|
+
dateString: any;
|
|
115
|
+
footfallNoData: boolean;
|
|
116
|
+
footfallLoading: boolean;
|
|
117
|
+
private lastSelectedTicket;
|
|
118
|
+
hasInitialStoreSynced: boolean;
|
|
119
|
+
addStoreIfNotExists(store: any): void;
|
|
120
|
+
selecteValues: any;
|
|
121
|
+
selectedStatus: any;
|
|
122
|
+
dataStoreView(data?: any): void;
|
|
123
|
+
zoomPopup: ElementRef;
|
|
124
|
+
popupvalue: any;
|
|
125
|
+
popupType: any;
|
|
126
|
+
popupOpen(type: any, value: any): void;
|
|
127
|
+
getFormattedEntryTime(entryTime: string): string;
|
|
128
|
+
showSelectAllBox(): void;
|
|
129
|
+
scrollToStore(store: any): void;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FootfallDicviewComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FootfallDicviewComponent, "lib-footfall-dicview", never, {}, {}, never, never, false, never>;
|
|
132
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FootfallPopupComponent {
|
|
3
|
+
comment: any;
|
|
4
|
+
cancel(): void;
|
|
5
|
+
commentSubmit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FootfallPopupComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FootfallPopupComponent, "lib-footfall-popup", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RemoveAuditComponent implements OnInit {
|
|
5
|
+
private modalService;
|
|
6
|
+
activeModal: NgbActiveModal;
|
|
7
|
+
imagelist: any;
|
|
8
|
+
maindata: any;
|
|
9
|
+
data: any;
|
|
10
|
+
constructor(modalService: NgbModal, activeModal: NgbActiveModal);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
removeimage(data: any): void;
|
|
13
|
+
closepopup(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveAuditComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveAuditComponent, "lib-remove-audit", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { Subject, Subscription } from 'rxjs';
|
|
5
|
+
import { AuditService } from '../../services/audit.service';
|
|
6
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { NgxSpinnerService } from 'ngx-spinner';
|
|
8
|
+
import { ExcelService } from '../../services/excel.service';
|
|
9
|
+
import { TimerService } from '../../services/timer.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class StartAuditComponent implements OnInit, OnDestroy {
|
|
12
|
+
private excel;
|
|
13
|
+
private auditservice;
|
|
14
|
+
private toastr;
|
|
15
|
+
private router;
|
|
16
|
+
private cd;
|
|
17
|
+
private modalService;
|
|
18
|
+
private timerService;
|
|
19
|
+
private spinnerService;
|
|
20
|
+
private route;
|
|
21
|
+
junkimage: any;
|
|
22
|
+
employeimage: any;
|
|
23
|
+
filedetails: any;
|
|
24
|
+
datareason: any;
|
|
25
|
+
limit: any;
|
|
26
|
+
nextId: any;
|
|
27
|
+
spinnerstart: boolean;
|
|
28
|
+
submitted: boolean;
|
|
29
|
+
auditId: any;
|
|
30
|
+
customercount: number;
|
|
31
|
+
junkcount: number;
|
|
32
|
+
employeecount: number;
|
|
33
|
+
demographic: any;
|
|
34
|
+
id: any;
|
|
35
|
+
queueName: any;
|
|
36
|
+
auditmappingdata: any;
|
|
37
|
+
totalfile: any;
|
|
38
|
+
auditLoading: boolean;
|
|
39
|
+
badge: boolean;
|
|
40
|
+
imagelist: any;
|
|
41
|
+
selected: any;
|
|
42
|
+
selectedType: any;
|
|
43
|
+
auditLoading1: boolean;
|
|
44
|
+
Nodata: boolean;
|
|
45
|
+
counter: any;
|
|
46
|
+
clickedImages: boolean[];
|
|
47
|
+
confirmDraft: any;
|
|
48
|
+
confirmerror: any;
|
|
49
|
+
Errormsg: any;
|
|
50
|
+
storedetails: any;
|
|
51
|
+
openmodel: boolean;
|
|
52
|
+
private readonly destroy$;
|
|
53
|
+
getBack: boolean;
|
|
54
|
+
category: any;
|
|
55
|
+
onScroll(): void;
|
|
56
|
+
handleKeyPress(event: KeyboardEvent): void;
|
|
57
|
+
constructor(excel: ExcelService, auditservice: AuditService, toastr: ToastService, router: Router, cd: ChangeDetectorRef, modalService: NgbModal, timerService: TimerService, spinnerService: NgxSpinnerService, route: ActivatedRoute);
|
|
58
|
+
destroy: Subject<unknown>;
|
|
59
|
+
showDialog: boolean;
|
|
60
|
+
timePassed: number;
|
|
61
|
+
subscription: Subscription | null;
|
|
62
|
+
formattedTime: string;
|
|
63
|
+
notice: string;
|
|
64
|
+
showNotice: boolean;
|
|
65
|
+
rxjsTimer: Subscription[];
|
|
66
|
+
ngOnInit(): void;
|
|
67
|
+
setTimer(): void;
|
|
68
|
+
handleGlobalMouseEvent: () => void;
|
|
69
|
+
ngOnDestroy(): void;
|
|
70
|
+
initial_data_loading(): void;
|
|
71
|
+
toggleImage(img_name: any): void;
|
|
72
|
+
getAuditConfig(): void;
|
|
73
|
+
getMapping(nextId?: any): void;
|
|
74
|
+
removeaudit(data: any): void;
|
|
75
|
+
allowDrop(event: any): void;
|
|
76
|
+
dragImage(event: any): void;
|
|
77
|
+
dropImage(event: any): void;
|
|
78
|
+
dragStart(event: DragEvent): void;
|
|
79
|
+
Reviewdata(): void;
|
|
80
|
+
viewcategory(data: any): void;
|
|
81
|
+
savedraft(): Promise<void>;
|
|
82
|
+
backtotickets(): void;
|
|
83
|
+
cameraPreview(): void;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartAuditComponent, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartAuditComponent, "lib-start-audit", never, {}, {}, never, never, false, never>;
|
|
86
|
+
}
|
|
@@ -15,6 +15,7 @@ export declare class TangoManageTicketsComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
ticketAllCount: any;
|
|
16
16
|
users: any;
|
|
17
17
|
constructor(pageInfo: PageInfoService, route: ActivatedRoute, router: Router, gs: GlobalStateService, service: TicketService);
|
|
18
|
+
clientData: any;
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
updateStoreIdQueryParam(): void;
|
|
20
21
|
setPageData(): void;
|
|
@@ -0,0 +1,193 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
10
|
+
export declare class TicketFootfallNewComponent implements OnInit, OnDestroy {
|
|
11
|
+
private modalService;
|
|
12
|
+
gs: GlobalStateService;
|
|
13
|
+
private service;
|
|
14
|
+
private cd;
|
|
15
|
+
private excelService;
|
|
16
|
+
private ts;
|
|
17
|
+
private fb;
|
|
18
|
+
private router;
|
|
19
|
+
searchValue: any;
|
|
20
|
+
sortedColumn: string;
|
|
21
|
+
sortDirection: number;
|
|
22
|
+
private readonly destroy$;
|
|
23
|
+
constructor(modalService: NgbModal, gs: GlobalStateService, service: TicketService, cd: ChangeDetectorRef, excelService: ExcelService, ts: ToastService, fb: FormBuilder, router: Router);
|
|
24
|
+
headerFilters: any;
|
|
25
|
+
footfallList_req: any;
|
|
26
|
+
usersDetails: any;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
private areAllItemsReviewed;
|
|
29
|
+
private hasReviewDecision;
|
|
30
|
+
selectedRole: 'approver' | 'reviewer' | '';
|
|
31
|
+
getHeaderStatus(): string;
|
|
32
|
+
getCurrentRoleMapping(): any;
|
|
33
|
+
getStatusBadgeClass(status: string): string;
|
|
34
|
+
getFootfallSummaryData: any;
|
|
35
|
+
getTicketSummary(): void;
|
|
36
|
+
offset: number;
|
|
37
|
+
limit: number;
|
|
38
|
+
isExport: any;
|
|
39
|
+
footfallListData: any;
|
|
40
|
+
totalItems: any;
|
|
41
|
+
paginationSizes: number[];
|
|
42
|
+
loading: boolean;
|
|
43
|
+
noData: boolean;
|
|
44
|
+
tangoType: any;
|
|
45
|
+
getTicketList(): void;
|
|
46
|
+
tableColumns: any[];
|
|
47
|
+
labelOverrides: Record<string, string>;
|
|
48
|
+
hiddenColumns: string[];
|
|
49
|
+
generateColumns(firstRow: any): void;
|
|
50
|
+
formatColumnName(key: string): string;
|
|
51
|
+
detectColumnType(key: string): "store" | "date" | "status" | "text";
|
|
52
|
+
currentPage: any;
|
|
53
|
+
pageSize: any;
|
|
54
|
+
onPageChange(pageOffset: number): void;
|
|
55
|
+
onPageSizeChange(pageSize: number): void;
|
|
56
|
+
setpageSize(): any;
|
|
57
|
+
searchData(): void;
|
|
58
|
+
exportXLSX(): void;
|
|
59
|
+
onSort(column: string): void;
|
|
60
|
+
select: string;
|
|
61
|
+
ticketData: any;
|
|
62
|
+
startAudit(): void;
|
|
63
|
+
backToNavigation(): void;
|
|
64
|
+
isCollapsed: boolean;
|
|
65
|
+
toggleSidebar(): void;
|
|
66
|
+
toggleFilter(): void;
|
|
67
|
+
isFilterOpen: boolean;
|
|
68
|
+
filterForm: FormGroup;
|
|
69
|
+
filterChange: EventEmitter<any>;
|
|
70
|
+
newForm(): void;
|
|
71
|
+
applyFilter(): void;
|
|
72
|
+
resetFilter(): void;
|
|
73
|
+
close(): void;
|
|
74
|
+
StoresSearchValue: any;
|
|
75
|
+
sortedColumn1: string;
|
|
76
|
+
sortDirection1: number;
|
|
77
|
+
searchStoresData(): void;
|
|
78
|
+
sortValue(column: string): void;
|
|
79
|
+
openTicketsList: any[];
|
|
80
|
+
selectedStores: any[];
|
|
81
|
+
allSelected: boolean;
|
|
82
|
+
get storeCount(): number;
|
|
83
|
+
isSelected(store: any): boolean;
|
|
84
|
+
private handleStoreSelected;
|
|
85
|
+
toggleStoreSelection(store: any): void;
|
|
86
|
+
toggleSelectAll(): void;
|
|
87
|
+
originalImage: any;
|
|
88
|
+
ticket: any;
|
|
89
|
+
imageUrl: any;
|
|
90
|
+
getFormattedEntryTime(entryTime: any): string;
|
|
91
|
+
duplicates: any;
|
|
92
|
+
selectedDuplicatesByParent: {
|
|
93
|
+
[parentId: number]: number[];
|
|
94
|
+
};
|
|
95
|
+
isDuplicateSelected(parentId: number, duplicateId: number): boolean;
|
|
96
|
+
onDuplicateCheckboxChange(parentId: number, duplicateId: number, event: Event): void;
|
|
97
|
+
areAllDuplicatesSelected(original: any): boolean;
|
|
98
|
+
onToggleSelectAllDuplicates(original: any, event: Event): void;
|
|
99
|
+
commentModal(obj: any): void;
|
|
100
|
+
commentsAccordionOpen: boolean;
|
|
101
|
+
toggleCommentsAccordion(): void;
|
|
102
|
+
ngOnDestroy(): void;
|
|
103
|
+
comments: any;
|
|
104
|
+
showRevisedDetails: boolean;
|
|
105
|
+
footfallNoData: boolean;
|
|
106
|
+
footfallLoading: boolean;
|
|
107
|
+
footfalloffset: number;
|
|
108
|
+
footfalllimit: number;
|
|
109
|
+
totalItemsFootfall: any;
|
|
110
|
+
dataIndexId: string;
|
|
111
|
+
dateString: string;
|
|
112
|
+
storeIdValue: any;
|
|
113
|
+
lastSelectedTicket: any;
|
|
114
|
+
selecteValues: any;
|
|
115
|
+
hasInitialStoreSynced: boolean;
|
|
116
|
+
pageSizeFootfall: number;
|
|
117
|
+
paginationSizesFootfall: number[];
|
|
118
|
+
addStoreIfNotExists(store: any): void;
|
|
119
|
+
hasRevopsType(type: string): boolean;
|
|
120
|
+
overallSelectedIds: any;
|
|
121
|
+
overallSelect(event: any): void;
|
|
122
|
+
getAllParentItems(): any[];
|
|
123
|
+
isCheckboxEnable: boolean;
|
|
124
|
+
closeBtn: boolean;
|
|
125
|
+
closeDisabled: boolean;
|
|
126
|
+
startReview(): void;
|
|
127
|
+
closePopup: ElementRef;
|
|
128
|
+
stopReview(): void;
|
|
129
|
+
ticketView(data?: any): void;
|
|
130
|
+
dataStoreView(data?: any): void;
|
|
131
|
+
footfallTicketsData: any[];
|
|
132
|
+
selectedByType?: any;
|
|
133
|
+
selectAllByType: any;
|
|
134
|
+
getListByType(type: "junk" | "employee" | "houseKeeping"): any[];
|
|
135
|
+
private updateOverallSelectedIds;
|
|
136
|
+
selectedCategories: string[];
|
|
137
|
+
get selectedCategoriesLabel(): string;
|
|
138
|
+
type: any;
|
|
139
|
+
popupvalue: "employee" | "houseKeeping" | "duplicate" | "junk" | "";
|
|
140
|
+
onSelectAll(type: "junk" | "employee" | "houseKeeping", event: any): void;
|
|
141
|
+
onImageCheckboxChange(type: "junk" | "employee" | "houseKeeping", id: any): void;
|
|
142
|
+
remarks: any;
|
|
143
|
+
zoomPopup: ElementRef;
|
|
144
|
+
popupType: any;
|
|
145
|
+
popupIds: any[];
|
|
146
|
+
popupOpen(type: any, value?: any | "employee" | "junk" | "houseKeeping" | "duplicate"): void;
|
|
147
|
+
houseKeepingACCount: any;
|
|
148
|
+
employeeACCount: any;
|
|
149
|
+
duplicateACCount: any;
|
|
150
|
+
junkACCount: any;
|
|
151
|
+
selectedDuplicateImagesList: any[];
|
|
152
|
+
selectedHousekeepingImagesList: any[];
|
|
153
|
+
selectedEmployeeImagesList: any[];
|
|
154
|
+
selectedJunkImagesList: any[];
|
|
155
|
+
submitValue(status?: string, category?: string): void;
|
|
156
|
+
resetSelections(): void;
|
|
157
|
+
cancel(): void;
|
|
158
|
+
arrowshow: boolean;
|
|
159
|
+
openArrow(): void;
|
|
160
|
+
closeArrow(): void;
|
|
161
|
+
getOpenTicketList(data?: any): void;
|
|
162
|
+
isLockedByReviewer(original: any): boolean;
|
|
163
|
+
isApproved1(original: any): boolean;
|
|
164
|
+
isRejected1(original: any): boolean;
|
|
165
|
+
isApproved(original: any): boolean;
|
|
166
|
+
isRejected(original: any): boolean;
|
|
167
|
+
resetCheckbox(type: "duplicate" | "employee" | "junk" | "houseKeeping", original: any): void;
|
|
168
|
+
viewMode: "tangoreview" | "approve" | "review" | "tagging";
|
|
169
|
+
getAction(original: any, type: "tagging" | "review" | "tangoreview" | "approve"): any;
|
|
170
|
+
updateCloseButtonFromStore(): void;
|
|
171
|
+
getCurrentReviewMapping(): any;
|
|
172
|
+
isTicketFullyReviewed(mapping: any): boolean;
|
|
173
|
+
getInitialsFromEmail(email?: string): string;
|
|
174
|
+
confirmCloseTicket(): void;
|
|
175
|
+
confirmCloseCancel(): void;
|
|
176
|
+
imagePreviewPopup: ElementRef;
|
|
177
|
+
previewList: any[];
|
|
178
|
+
currentPreviewIndex: number;
|
|
179
|
+
previewTitle: string;
|
|
180
|
+
get currentPreviewItem(): any;
|
|
181
|
+
getPreviewImageUrl(): any;
|
|
182
|
+
openImagePreview(list: any[], startIndex: number, title: string): void;
|
|
183
|
+
prevPreview(): void;
|
|
184
|
+
nextPreview(): void;
|
|
185
|
+
rejectPopup(): void;
|
|
186
|
+
acceptPopup(): void;
|
|
187
|
+
get hasApproverAccess(): boolean;
|
|
188
|
+
get hasReviewerAccess(): boolean;
|
|
189
|
+
setDefaultRole(): void;
|
|
190
|
+
SelectedRole(role: 'approver' | 'reviewer'): void;
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketFootfallNewComponent, never>;
|
|
192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketFootfallNewComponent, "lib-ticket-footfall-new", never, {}, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
193
|
+
}
|
|
@@ -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
|
+
}
|