tango-app-ui-store-ticket-infra 3.0.19-dev → 3.0.21-dev
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/analyze-report/analyze-report.component.mjs +10 -8
- package/esm2022/lib/components/create-ticket/create-ticket.component.mjs +20 -5
- package/esm2022/lib/components/data-mismatch/data-mismatch.component.mjs +3 -3
- package/esm2022/lib/components/tango-store-infra/tango-store-infra.component.mjs +3 -4
- package/esm2022/lib/components/ticket-infra/ticket-infra.component.mjs +133 -17
- package/esm2022/lib/services/tickets.service.mjs +9 -1
- package/fesm2022/tango-app-ui-store-ticket-infra.mjs +978 -838
- package/fesm2022/tango-app-ui-store-ticket-infra.mjs.map +1 -1
- package/lib/components/analyze-report/analyze-report.component.d.ts +1 -0
- package/lib/components/create-ticket/create-ticket.component.d.ts +3 -0
- package/lib/components/ticket-infra/ticket-infra.component.d.ts +13 -2
- package/lib/services/tickets.service.d.ts +3 -0
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare class AnalyzeReportComponent implements OnInit {
|
|
|
21
21
|
angleChange: any;
|
|
22
22
|
streamDetails: any;
|
|
23
23
|
activeStream: any;
|
|
24
|
+
successRate: any;
|
|
24
25
|
constructor(modalService: NgbModal, activeModal: NgbActiveModal, service: TicketsService, cd: ChangeDetectorRef);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
handleClick(event: MouseEvent): void;
|
|
@@ -14,9 +14,11 @@ export declare class CreateTicketComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
Features: any;
|
|
15
15
|
filteredStore: any;
|
|
16
16
|
filteredFeature: any;
|
|
17
|
+
searchData: any;
|
|
17
18
|
dropDownFeature: any;
|
|
18
19
|
dropDownStore: any;
|
|
19
20
|
email: any;
|
|
21
|
+
filteredItems: any;
|
|
20
22
|
emailError: any;
|
|
21
23
|
selectedFilters: any;
|
|
22
24
|
selectedDateRange: any;
|
|
@@ -33,6 +35,7 @@ export declare class CreateTicketComponent implements OnInit, OnDestroy {
|
|
|
33
35
|
ngOnInit(): void;
|
|
34
36
|
onStartDateChange(event: any): void;
|
|
35
37
|
getStore(): void;
|
|
38
|
+
searchStore(): void;
|
|
36
39
|
datechange(event: any): void;
|
|
37
40
|
ngOnDestroy(): void;
|
|
38
41
|
cancel(): void;
|
|
@@ -3,6 +3,8 @@ import { TicketsService } from '../../services/tickets.service';
|
|
|
3
3
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import { ExcelService } from '../../services/excel.service';
|
|
5
5
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import dayjs from 'dayjs';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare class TicketInfraComponent implements OnInit, OnDestroy {
|
|
8
10
|
private ticketservice;
|
|
@@ -10,6 +12,8 @@ export declare class TicketInfraComponent implements OnInit, OnDestroy {
|
|
|
10
12
|
gs: GlobalStateService;
|
|
11
13
|
private toastService;
|
|
12
14
|
private excel;
|
|
15
|
+
private modalService;
|
|
16
|
+
dayjs: typeof dayjs;
|
|
13
17
|
selectCard: any;
|
|
14
18
|
selectedIssue: any;
|
|
15
19
|
cameraSelect: any;
|
|
@@ -44,16 +48,19 @@ export declare class TicketInfraComponent implements OnInit, OnDestroy {
|
|
|
44
48
|
finalCamList: any;
|
|
45
49
|
comments: any;
|
|
46
50
|
notworkingCamaralist: any;
|
|
51
|
+
selectedTab: any;
|
|
47
52
|
private readonly destroy$;
|
|
48
53
|
selectedOption: string;
|
|
49
54
|
userpermission: any;
|
|
50
55
|
userType: any;
|
|
51
|
-
|
|
56
|
+
clientId: any;
|
|
57
|
+
constructor(ticketservice: TicketsService, cd: ChangeDetectorRef, gs: GlobalStateService, toastService: ToastService, excel: ExcelService, modalService: NgbModal);
|
|
52
58
|
onClick(event: MouseEvent): void;
|
|
53
59
|
ngOnInit(): void;
|
|
54
60
|
ngOnDestroy(): void;
|
|
55
61
|
openDropdown(event: MouseEvent): void;
|
|
56
62
|
selectItem(value: any): void;
|
|
63
|
+
createTicket(): void;
|
|
57
64
|
ShowTicket(value: any, index: any): void;
|
|
58
65
|
choosenIssue(value: any): void;
|
|
59
66
|
cameraList(storeId: any): void;
|
|
@@ -71,14 +78,18 @@ export declare class TicketInfraComponent implements OnInit, OnDestroy {
|
|
|
71
78
|
getCameraList(notworkingCamera: any): void;
|
|
72
79
|
replyYesforIssue(value: any): void;
|
|
73
80
|
issueResolved(): void;
|
|
81
|
+
formatDateToRelative(dateString: string): string;
|
|
74
82
|
getRelativeTime(timestamp: string): string;
|
|
75
83
|
storeTicketcard(): void;
|
|
84
|
+
getdataMismatchActivityList(): void;
|
|
85
|
+
getdataMismatchShowActivity(): void;
|
|
76
86
|
storeTicketList(): void;
|
|
77
87
|
exportStoreListasXlsx(): void;
|
|
78
88
|
getInfraTicket(): void;
|
|
79
89
|
isResponseGreaterThan5_30Hours(responseDatetime: Date): boolean;
|
|
80
90
|
secondaryReason(value: any): void;
|
|
81
91
|
omit_special_char(event: any): boolean;
|
|
92
|
+
downloadUrl(type: any): void;
|
|
82
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketInfraComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TicketInfraComponent, "lib-ticket-infra", never, {}, {}, never, never, false, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketInfraComponent, "lib-ticket-infra", never, { "selectedTab": { "alias": "selectedTab"; "required": false; }; }, {}, never, never, false, never>;
|
|
84
95
|
}
|
|
@@ -10,6 +10,7 @@ export declare class TicketsService {
|
|
|
10
10
|
ticketsApiUrl: any;
|
|
11
11
|
edgeAppApiUrl: any;
|
|
12
12
|
storeApiUrl: any;
|
|
13
|
+
dataMismatchApiUrl: any;
|
|
13
14
|
constructor(router: Router, http: HttpClient, gs: GlobalStateService);
|
|
14
15
|
getTicketInfo(data: any): Observable<any>;
|
|
15
16
|
cameraList(storeId: any): Observable<Object>;
|
|
@@ -25,6 +26,8 @@ export declare class TicketsService {
|
|
|
25
26
|
createTicket(data: any): Observable<any>;
|
|
26
27
|
getCameraImages(params: any): Observable<any>;
|
|
27
28
|
cameraAngleChange(data: any): Observable<any>;
|
|
29
|
+
dataMismatchActivityList(data: any): Observable<any>;
|
|
30
|
+
dataMismatchShowActivity(data: any): Observable<any>;
|
|
28
31
|
secondaryReason(data: any): Observable<any>;
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
30
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|