tango-app-ui-manage-tickets 3.7.0-beta.7 → 3.7.0-beta.71
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/audit-report-popup/audit-report-popup.component.mjs +389 -0
- package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +480 -0
- package/esm2022/lib/components/custom-select/custom-select.component.mjs +187 -0
- package/esm2022/lib/components/filter-options/filter-options.component.mjs +41 -0
- package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +372 -205
- 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 +81 -0
- package/esm2022/lib/components/start-audit/start-audit.component.mjs +758 -0
- package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +7 -3
- package/esm2022/lib/components/ticket-filter-panel/ticket-filter-panel.component.mjs +435 -0
- package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +2488 -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 +196 -35
- 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 +60 -5
- package/fesm2022/tango-app-ui-manage-tickets.mjs +7345 -337
- 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 +52 -0
- package/lib/components/audit-retag/audit-retag.component.d.ts +59 -0
- package/lib/components/custom-select/custom-select.component.d.ts +35 -0
- package/lib/components/filter-options/filter-options.component.d.ts +15 -0
- package/lib/components/footfall-dic/footfall-dic.component.d.ts +22 -9
- 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-filter-panel/ticket-filter-panel.component.d.ts +79 -0
- package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +293 -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 +46 -8
- package/lib/services/timer.service.d.ts +22 -0
- package/lib/tango-manage-tickets.module.d.ts +22 -5
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
submitaudit(): void;
|
|
65
|
+
setValue(i: any): any;
|
|
66
|
+
currentGroupNumber: any;
|
|
67
|
+
getGroupNumber(obj: any): number | null;
|
|
68
|
+
resetGroupNumber(): void;
|
|
69
|
+
getFilteredData(count: number): any;
|
|
70
|
+
toggleImage(img_name: any): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditMappingListComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditMappingListComponent, "lib-audit-mapping-list", never, {}, {}, never, never, false, never>;
|
|
73
|
+
}
|
|
@@ -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,52 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { AuditService } from '../../services/audit.service';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { TimerService } from '../../services/timer.service';
|
|
8
|
+
import { TicketService } from '../../services/ticket.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AuditReportPopupComponent implements OnInit, OnDestroy {
|
|
11
|
+
modalService: NgbModal;
|
|
12
|
+
activeModal: NgbActiveModal;
|
|
13
|
+
private service;
|
|
14
|
+
router: Router;
|
|
15
|
+
private timerService;
|
|
16
|
+
private cd;
|
|
17
|
+
apiservice: AuditService;
|
|
18
|
+
private route;
|
|
19
|
+
private toast;
|
|
20
|
+
Retagjunkcount: any;
|
|
21
|
+
Retagemployeecount: any;
|
|
22
|
+
Retagcustomercount: any;
|
|
23
|
+
demographicCount: any;
|
|
24
|
+
retagjunkdata: any;
|
|
25
|
+
retagemployeedata: any;
|
|
26
|
+
retagcustomerdata: any;
|
|
27
|
+
totalfiles: any;
|
|
28
|
+
auth: boolean;
|
|
29
|
+
submitauth: boolean;
|
|
30
|
+
Errormsg: any;
|
|
31
|
+
selectedType: any;
|
|
32
|
+
confirmerror: any;
|
|
33
|
+
private readonly destroy$;
|
|
34
|
+
timePassed: number;
|
|
35
|
+
subscription: Subscription | null;
|
|
36
|
+
formattedTime: string;
|
|
37
|
+
category: any;
|
|
38
|
+
centralOpsData: any;
|
|
39
|
+
tangoData: any;
|
|
40
|
+
tangoAccuracy: any;
|
|
41
|
+
constructor(modalService: NgbModal, activeModal: NgbActiveModal, service: TicketService, router: Router, timerService: TimerService, cd: ChangeDetectorRef, apiservice: AuditService, route: ActivatedRoute, toast: ToastService);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
setTimer(): void;
|
|
44
|
+
handleGlobalMouseEvent: () => void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
changebrand(): void;
|
|
47
|
+
nextfile(): void;
|
|
48
|
+
closepopup(): void;
|
|
49
|
+
reviewdata(): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditReportPopupComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditReportPopupComponent, "lib-audit-report-popup", never, { "selectedType": { "alias": "selectedType"; "required": false; }; }, {}, never, never, false, never>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
3
|
+
import { AuditService } from '../../services/audit.service';
|
|
4
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { TimerService } from '../../services/timer.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AuditRetagComponent implements OnInit, OnDestroy {
|
|
10
|
+
modalService: NgbModal;
|
|
11
|
+
private router;
|
|
12
|
+
private $api;
|
|
13
|
+
private toastr;
|
|
14
|
+
private route;
|
|
15
|
+
private timerService;
|
|
16
|
+
private cd;
|
|
17
|
+
totalfile: number;
|
|
18
|
+
customer: number;
|
|
19
|
+
junk: number;
|
|
20
|
+
employee: number;
|
|
21
|
+
junkimage: any;
|
|
22
|
+
retagimage: any;
|
|
23
|
+
submitvalue: boolean;
|
|
24
|
+
auditmappingdata: any;
|
|
25
|
+
customercount: any;
|
|
26
|
+
junkcount: any;
|
|
27
|
+
employeecount: any;
|
|
28
|
+
employeimage: any;
|
|
29
|
+
filedetails: any;
|
|
30
|
+
auditLoading: boolean;
|
|
31
|
+
selectedType: any;
|
|
32
|
+
private readonly destroy$;
|
|
33
|
+
timePassed: number;
|
|
34
|
+
subscription: Subscription | null;
|
|
35
|
+
formattedTime: string;
|
|
36
|
+
openmodel: boolean;
|
|
37
|
+
category: any;
|
|
38
|
+
handleKeyPress(event: KeyboardEvent): void;
|
|
39
|
+
constructor(modalService: NgbModal, router: Router, $api: AuditService, toastr: ToastService, route: ActivatedRoute, timerService: TimerService, cd: ChangeDetectorRef);
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
getAuditConfig(): void;
|
|
42
|
+
setTimer(): void;
|
|
43
|
+
handleGlobalMouseEvent: () => void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
initial_data_loading(): void;
|
|
46
|
+
getmappingdata(): void;
|
|
47
|
+
reviewdata(): void;
|
|
48
|
+
retagallowDrop(event: any): void;
|
|
49
|
+
dragStart(event: any): void;
|
|
50
|
+
dropretag(event: any): void;
|
|
51
|
+
selectretagimage(res: any): void;
|
|
52
|
+
selectgroupimage(res: any): void;
|
|
53
|
+
removeaudit(data: any): void;
|
|
54
|
+
submitaudit(): void;
|
|
55
|
+
viewcategory(data: any): void;
|
|
56
|
+
dropImage(event: any): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditRetagComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditRetagComponent, "lib-audit-retag", never, {}, {}, never, never, false, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
getInitialsFromEmail(email?: string): string;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSelectComponent, never>;
|
|
34
|
+
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>;
|
|
35
|
+
}
|
|
@@ -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,11 +38,11 @@ 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;
|
|
41
|
-
getTicketSummary(): void;
|
|
45
|
+
getTicketSummary(type: any): void;
|
|
42
46
|
offset: number;
|
|
43
47
|
limit: number;
|
|
44
48
|
isExport: 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;
|
|
@@ -77,6 +83,7 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
77
83
|
hasInitialStoreSynced: boolean;
|
|
78
84
|
addStoreIfNotExists(store: any): void;
|
|
79
85
|
selecteValues: any;
|
|
86
|
+
selectedStatus: any;
|
|
80
87
|
dataStoreView(data?: any): void;
|
|
81
88
|
isCollapsed: boolean;
|
|
82
89
|
toggleSidebar(): void;
|
|
@@ -89,6 +96,9 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
89
96
|
onFootfallPageSizeChange(pageSize: number): void;
|
|
90
97
|
totalItemsFootfall: any;
|
|
91
98
|
setFootfallpageSize(): any;
|
|
99
|
+
footfallMulticurrentPage: any;
|
|
100
|
+
onFootfallMultiPageChange(pageOffset: number): void;
|
|
101
|
+
onFootfallMultiPageSizeChange(pageSize: number): void;
|
|
92
102
|
toggleStoreSelection(store: any): void;
|
|
93
103
|
toggleSelectAll(): void;
|
|
94
104
|
isSelected(store: any): boolean;
|
|
@@ -97,6 +107,8 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
97
107
|
selectedDuplicateImagesList: any[];
|
|
98
108
|
selectedHousekeepingImagesList: any[];
|
|
99
109
|
selectedEmployeeImagesList: any[];
|
|
110
|
+
selectedJunkImagesList: any[];
|
|
111
|
+
junkACCount: any;
|
|
100
112
|
houseKeepingACCount: any;
|
|
101
113
|
employeeACCount: any;
|
|
102
114
|
duplicateACCount: any;
|
|
@@ -119,6 +131,7 @@ export declare class FootfallDicComponent implements OnInit, OnDestroy {
|
|
|
119
131
|
popupType: any;
|
|
120
132
|
popupOpen(type: any, value: any): void;
|
|
121
133
|
cancel(): void;
|
|
134
|
+
clear(): void;
|
|
122
135
|
ClusterList: any;
|
|
123
136
|
getAllGroups(): void;
|
|
124
137
|
groups: any;
|
|
@@ -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,79 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TicketService } from '../../services/ticket.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TicketFilterPanelComponent implements OnChanges {
|
|
6
|
+
private fb;
|
|
7
|
+
private eRef;
|
|
8
|
+
private service;
|
|
9
|
+
apply: EventEmitter<any>;
|
|
10
|
+
panelClosed: EventEmitter<void>;
|
|
11
|
+
permissionType: string | null;
|
|
12
|
+
userType: string | null;
|
|
13
|
+
client: any;
|
|
14
|
+
onDocumentClick(event: MouseEvent): void;
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
open(): void;
|
|
17
|
+
close(): void;
|
|
18
|
+
showPanel: boolean;
|
|
19
|
+
statusOptions: any[];
|
|
20
|
+
conditionOptions: {
|
|
21
|
+
value: string;
|
|
22
|
+
label: string;
|
|
23
|
+
}[];
|
|
24
|
+
filterForm: FormGroup;
|
|
25
|
+
constructor(fb: FormBuilder, eRef: ElementRef, service: TicketService);
|
|
26
|
+
limitValue(event: any, controlName: string): void;
|
|
27
|
+
get isTango(): boolean;
|
|
28
|
+
get showReviewerAccuracy(): boolean;
|
|
29
|
+
get showReviewedBy(): boolean;
|
|
30
|
+
get showApproverAccuracy(): boolean;
|
|
31
|
+
get showApprovedBy(): boolean;
|
|
32
|
+
get showTangoAccuracy(): boolean;
|
|
33
|
+
statusDropdownOpen: boolean;
|
|
34
|
+
isStatusSelected(status: string): boolean;
|
|
35
|
+
onStatusChange(event: Event, status: string): void;
|
|
36
|
+
toggleStatusDropdown(event?: MouseEvent): void;
|
|
37
|
+
areAllStatusesSelected(): boolean;
|
|
38
|
+
onStatusSelectAllChange(event: Event): void;
|
|
39
|
+
get selectedStatuses(): string[];
|
|
40
|
+
isBetween(controlName: string): boolean;
|
|
41
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
+
userList: any[];
|
|
43
|
+
reviewerSearchTerm: string;
|
|
44
|
+
get filteredReviewerList(): {
|
|
45
|
+
email: string;
|
|
46
|
+
name?: string;
|
|
47
|
+
}[];
|
|
48
|
+
approverSearchTerm: any;
|
|
49
|
+
get filteredApproverList(): any[];
|
|
50
|
+
onApproverSearch(value: string): void;
|
|
51
|
+
private loadReviewerList;
|
|
52
|
+
reviewerDropdownOpen: boolean;
|
|
53
|
+
approverDropdownOpen: boolean;
|
|
54
|
+
get selectedReviewedBy(): string[];
|
|
55
|
+
get selectedApprovedBy(): string[];
|
|
56
|
+
toggleReviewerDropdown(event?: MouseEvent): void;
|
|
57
|
+
isReviewerSelected(email: string): boolean;
|
|
58
|
+
onReviewerChange(event: Event, email: string): void;
|
|
59
|
+
areAllReviewersSelected(): boolean;
|
|
60
|
+
onReviewerSelectAll(event: Event): void;
|
|
61
|
+
toggleApproverDropdown(event?: MouseEvent): void;
|
|
62
|
+
isApproverSelected(email: string): boolean;
|
|
63
|
+
onApproverChange(event: Event, email: string): void;
|
|
64
|
+
areAllApproversSelected(): boolean;
|
|
65
|
+
onApproverSelectAll(event: Event): void;
|
|
66
|
+
onReset(): void;
|
|
67
|
+
private mapAccuracy;
|
|
68
|
+
onApply(): void;
|
|
69
|
+
dropdownState: {
|
|
70
|
+
status: boolean;
|
|
71
|
+
reviewer: boolean;
|
|
72
|
+
approver: boolean;
|
|
73
|
+
};
|
|
74
|
+
closeAll(): void;
|
|
75
|
+
toggleDropdown(type: 'status' | 'reviewer' | 'approver', event: MouseEvent): void;
|
|
76
|
+
isDropdownOpen(type: 'status' | 'reviewer' | 'approver'): boolean;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketFilterPanelComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketFilterPanelComponent, "lib-ticket-filter-panel", never, { "permissionType": { "alias": "permissionType"; "required": false; }; "userType": { "alias": "userType"; "required": false; }; "client": { "alias": "client"; "required": false; }; }, { "apply": "apply"; "panelClosed": "panelClosed"; }, never, never, false, never>;
|
|
79
|
+
}
|