tango-app-ui-ticket-user 3.0.4-dev → 3.0.6-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/contact-details/contact-details.component.mjs +27 -12
- package/esm2022/lib/components/edge-cameraview/edge-cameraview.component.mjs +19 -7
- package/esm2022/lib/components/edgeapp-log/edgeapp-log.component.mjs +24 -15
- package/esm2022/lib/components/edit-details/edit-details.component.mjs +22 -16
- package/esm2022/lib/components/infratickets/infratickets.component.mjs +48 -25
- package/esm2022/lib/components/installation/installation.component.mjs +454 -0
- package/esm2022/lib/components/store-activity/store-activity.component.mjs +30 -10
- package/esm2022/lib/components/store-info/store-info.component.mjs +546 -34
- package/esm2022/lib/components/takeremote/takeremote.component.mjs +17 -13
- package/esm2022/lib/components/tango-ticket-users/tango-ticket-users.component.mjs +5 -5
- package/esm2022/lib/components/tickets/tickets.component.mjs +109 -22
- package/esm2022/lib/route-wrappers/edge-wrapper.module.mjs +18 -0
- package/esm2022/lib/services/data.service.mjs +3 -3
- package/esm2022/lib/services/excel.service.mjs +30 -0
- package/esm2022/lib/services/ticket-infra.service.mjs +21 -4
- package/esm2022/lib/tango-ticket-users-routing.module.mjs +16 -9
- package/esm2022/lib/tango-ticket-users.module.mjs +7 -6
- package/fesm2022/tango-app-ui-ticket-user-edge-wrapper.module-DM8Er_Bd.mjs +21 -0
- package/fesm2022/tango-app-ui-ticket-user-edge-wrapper.module-DM8Er_Bd.mjs.map +1 -0
- package/fesm2022/tango-app-ui-ticket-user.mjs +1354 -183
- package/fesm2022/tango-app-ui-ticket-user.mjs.map +1 -1
- package/lib/components/contact-details/contact-details.component.d.ts +3 -1
- package/lib/components/edge-cameraview/edge-cameraview.component.d.ts +2 -0
- package/lib/components/edgeapp-log/edgeapp-log.component.d.ts +5 -1
- package/lib/components/edit-details/edit-details.component.d.ts +4 -1
- package/lib/components/infratickets/infratickets.component.d.ts +5 -2
- package/lib/components/installation/installation.component.d.ts +106 -0
- package/lib/components/store-activity/store-activity.component.d.ts +3 -1
- package/lib/components/store-info/store-info.component.d.ts +21 -9
- package/lib/components/takeremote/takeremote.component.d.ts +6 -2
- package/lib/components/tickets/tickets.component.d.ts +11 -1
- package/lib/route-wrappers/edge-wrapper.module.d.ts +7 -0
- package/lib/services/excel.service.d.ts +8 -0
- package/lib/services/ticket-infra.service.d.ts +6 -0
- package/lib/tango-ticket-users.module.d.ts +8 -7
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { NgbModal, NgbActiveModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
4
|
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ContactDetailsComponent implements OnInit {
|
|
7
8
|
private modalService;
|
|
@@ -9,13 +10,14 @@ export declare class ContactDetailsComponent implements OnInit {
|
|
|
9
10
|
private service;
|
|
10
11
|
private cd;
|
|
11
12
|
private toast;
|
|
13
|
+
gs: GlobalStateService;
|
|
12
14
|
confirmationModal: any;
|
|
13
15
|
modalRef: NgbModalRef | undefined;
|
|
14
16
|
spocDetials: any;
|
|
15
17
|
limit: number;
|
|
16
18
|
offset: number;
|
|
17
19
|
value: any;
|
|
18
|
-
constructor(modalService: NgbModal, activeModal: NgbActiveModal, service: TicketsService, cd: ChangeDetectorRef, toast: ToastService);
|
|
20
|
+
constructor(modalService: NgbModal, activeModal: NgbActiveModal, service: TicketsService, cd: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService);
|
|
19
21
|
ngOnInit(): void;
|
|
20
22
|
getSpocLog(): void;
|
|
21
23
|
accept(): void;
|
|
@@ -9,9 +9,11 @@ export declare class EdgeCameraviewComponent implements OnInit {
|
|
|
9
9
|
viewEdgeAppLogList: any;
|
|
10
10
|
currentDate: Date;
|
|
11
11
|
value: any;
|
|
12
|
+
CameraDetails: any;
|
|
12
13
|
constructor(infraService: TicketsService, cd: ChangeDetectorRef);
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
getViewEdgeAppLog(): void;
|
|
16
|
+
getCameraImages(): void;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<EdgeCameraviewComponent, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<EdgeCameraviewComponent, "lib-edge-cameraview", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
19
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
4
|
import { DataService } from '../../services/data.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import dayjs from 'dayjs';
|
|
6
7
|
import 'dayjs/locale/en';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
@@ -10,13 +11,16 @@ export declare class EdgeappLogComponent implements OnInit {
|
|
|
10
11
|
private infraService;
|
|
11
12
|
private cd;
|
|
12
13
|
private dataservice;
|
|
14
|
+
gs: GlobalStateService;
|
|
13
15
|
noData: boolean;
|
|
14
16
|
loading: boolean;
|
|
15
17
|
getEdgeAppLoveValue: any;
|
|
16
18
|
storeId: any;
|
|
17
19
|
selectedDateRange: any;
|
|
18
20
|
dayjs: typeof dayjs;
|
|
19
|
-
|
|
21
|
+
private readonly destroy$;
|
|
22
|
+
selectedDate: any;
|
|
23
|
+
constructor(modalService: NgbModal, infraService: TicketsService, cd: ChangeDetectorRef, dataservice: DataService, gs: GlobalStateService);
|
|
20
24
|
ngOnInit(): void;
|
|
21
25
|
getEdgeAppLogTable(): void;
|
|
22
26
|
datechange(event: any): void;
|
|
@@ -2,17 +2,19 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class EditDetailsComponent implements OnInit {
|
|
8
9
|
private activeModel;
|
|
9
10
|
private service;
|
|
10
11
|
private toast;
|
|
12
|
+
private gs;
|
|
11
13
|
myForm: FormGroup;
|
|
12
14
|
spocDetails: any;
|
|
13
15
|
editSpoc: any;
|
|
14
16
|
data: any;
|
|
15
|
-
constructor(activeModel: NgbActiveModal, service: TicketsService, toast: ToastService);
|
|
17
|
+
constructor(activeModel: NgbActiveModal, service: TicketsService, toast: ToastService, gs: GlobalStateService);
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
get email(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
18
20
|
get contact(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
@@ -20,6 +22,7 @@ export declare class EditDetailsComponent implements OnInit {
|
|
|
20
22
|
updateEditDetails(): void;
|
|
21
23
|
addSingleSpoc(): void;
|
|
22
24
|
cancelPopup(): void;
|
|
25
|
+
omit_special_char(event: any): boolean;
|
|
23
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditDetailsComponent, never>;
|
|
24
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditDetailsComponent, "lib-edit-details", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
28
|
}
|
|
@@ -5,6 +5,7 @@ import { TicketsService } from '../../services/ticket-infra.service';
|
|
|
5
5
|
import { DataService } from '../../services/data.service';
|
|
6
6
|
import { ToastService } from 'tango-app-ui-shared';
|
|
7
7
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
8
|
+
import { ExcelService } from '../../services/excel.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
10
11
|
private route;
|
|
@@ -14,7 +15,8 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
14
15
|
private toastService;
|
|
15
16
|
private service;
|
|
16
17
|
private dataservice;
|
|
17
|
-
|
|
18
|
+
gs: GlobalStateService;
|
|
19
|
+
private excel;
|
|
18
20
|
selectedTab: any;
|
|
19
21
|
selectCard: any;
|
|
20
22
|
selectedIssue: any;
|
|
@@ -57,7 +59,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
57
59
|
private readonly destroy$;
|
|
58
60
|
user: any;
|
|
59
61
|
type: string | null;
|
|
60
|
-
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService);
|
|
62
|
+
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService, excel: ExcelService);
|
|
61
63
|
onClick(event: MouseEvent): void;
|
|
62
64
|
ngOnInit(): void;
|
|
63
65
|
ngOnDestroy(): void;
|
|
@@ -67,6 +69,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
67
69
|
selectTicket(): void;
|
|
68
70
|
selectView(e: MouseEvent, index: any, value: any): void;
|
|
69
71
|
routetoTicket(value: any): void;
|
|
72
|
+
exportData(): void;
|
|
70
73
|
workHistory(): void;
|
|
71
74
|
selectItem(value: any): void;
|
|
72
75
|
openDropdown(event: MouseEvent): void;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { NgbModal, NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
7
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class InstallationComponent implements OnInit, OnDestroy {
|
|
10
|
+
private modalService;
|
|
11
|
+
private router;
|
|
12
|
+
private service;
|
|
13
|
+
private cd;
|
|
14
|
+
private route;
|
|
15
|
+
private toastService;
|
|
16
|
+
gs: GlobalStateService;
|
|
17
|
+
SelectedTab: any;
|
|
18
|
+
selectedIssue: any;
|
|
19
|
+
prerequestFailed: boolean;
|
|
20
|
+
secondaryIssues: any;
|
|
21
|
+
issueStatus: any;
|
|
22
|
+
comments: any;
|
|
23
|
+
primaryIssues: any;
|
|
24
|
+
dropdownItems: any[];
|
|
25
|
+
othersIssue: any[];
|
|
26
|
+
cameraIssue: boolean;
|
|
27
|
+
cameraSelectWork: boolean;
|
|
28
|
+
showSubmit: boolean;
|
|
29
|
+
cameraSelect: any;
|
|
30
|
+
state: any;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
noData: boolean;
|
|
33
|
+
inputHibernation: any;
|
|
34
|
+
count: any;
|
|
35
|
+
isChecked: boolean[];
|
|
36
|
+
resolvedIssue: boolean;
|
|
37
|
+
dropDown: boolean;
|
|
38
|
+
ticketId: string | null;
|
|
39
|
+
ticketInfo: any;
|
|
40
|
+
activeTicketDetails: any;
|
|
41
|
+
storeAddress: any;
|
|
42
|
+
replyOpen: boolean;
|
|
43
|
+
repliedIssue: any;
|
|
44
|
+
viewTicketData: any;
|
|
45
|
+
currentTime: Date;
|
|
46
|
+
targetTime: Date;
|
|
47
|
+
selectedFiles: any;
|
|
48
|
+
brandLogo: string | ArrayBuffer | null;
|
|
49
|
+
lastModifiedDateString: string;
|
|
50
|
+
fileInput: any;
|
|
51
|
+
tooltipContent: NgbTooltip;
|
|
52
|
+
private readonly destroy$;
|
|
53
|
+
headerFilter: any;
|
|
54
|
+
user: any;
|
|
55
|
+
updatedDate: Date;
|
|
56
|
+
isGreaterThan5_30Hours: boolean;
|
|
57
|
+
storeId: string | null;
|
|
58
|
+
storeDropDown: boolean;
|
|
59
|
+
selectedOption: any;
|
|
60
|
+
Hibernation: any;
|
|
61
|
+
clientId: any;
|
|
62
|
+
installationStart: boolean;
|
|
63
|
+
configuring: boolean;
|
|
64
|
+
installationResume: boolean;
|
|
65
|
+
showform: boolean;
|
|
66
|
+
storeName: any;
|
|
67
|
+
notworkingCamaralist: any[];
|
|
68
|
+
constructor(modalService: NgbModal, router: Router, service: TicketsService, cd: ChangeDetectorRef, route: ActivatedRoute, toastService: ToastService, gs: GlobalStateService);
|
|
69
|
+
onClick(event: MouseEvent): void;
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngOnDestroy(): void;
|
|
72
|
+
viewTicket(): void;
|
|
73
|
+
getCameraList(notworkingCamera: any): void;
|
|
74
|
+
updateIssue(): void;
|
|
75
|
+
getRelativeTime(timestamp: string): string;
|
|
76
|
+
activeTicket(): void;
|
|
77
|
+
getstoreAddress(details: any): void;
|
|
78
|
+
PrevRoute(): void;
|
|
79
|
+
primaryReason(): void;
|
|
80
|
+
secondaryReason(value: any): void;
|
|
81
|
+
updateTicket(): void;
|
|
82
|
+
statusUpdate(): void;
|
|
83
|
+
addComment(): void;
|
|
84
|
+
selectItem(value: any): void;
|
|
85
|
+
downloadimage(url: any): void;
|
|
86
|
+
openRemote(): void;
|
|
87
|
+
cameraSelected(value: any): void;
|
|
88
|
+
proceddImage(value: any): void;
|
|
89
|
+
SelectedTabs(value: any): void;
|
|
90
|
+
toggleCheckbox(index: number): void;
|
|
91
|
+
toggleRadiobox(others: any): void;
|
|
92
|
+
decreseCount(): any;
|
|
93
|
+
increaseCount(): any;
|
|
94
|
+
openContact(): void;
|
|
95
|
+
openDropdown(event: MouseEvent): void;
|
|
96
|
+
storeChange(event: MouseEvent): void;
|
|
97
|
+
openFileInput(): void;
|
|
98
|
+
onFileSelected(event: any): void;
|
|
99
|
+
closeTooltip(): void;
|
|
100
|
+
showTooltip(): void;
|
|
101
|
+
startInstallation(): void;
|
|
102
|
+
Configuring(): void;
|
|
103
|
+
resumeInstallation(): void;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InstallationComponent, never>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InstallationComponent, "lib-installation", never, {}, {}, never, never, false, never>;
|
|
106
|
+
}
|
|
@@ -8,7 +8,7 @@ export declare class StoreActivityComponent implements OnInit, OnDestroy {
|
|
|
8
8
|
private service;
|
|
9
9
|
private dataservice;
|
|
10
10
|
private cd;
|
|
11
|
-
|
|
11
|
+
gs: GlobalStateService;
|
|
12
12
|
selectCard: any;
|
|
13
13
|
state: any;
|
|
14
14
|
filteredIssue: any;
|
|
@@ -29,6 +29,7 @@ export declare class StoreActivityComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
viewTicketData: any;
|
|
30
30
|
headerFilter: any;
|
|
31
31
|
user: any;
|
|
32
|
+
notworkingCamaralist: any;
|
|
32
33
|
private readonly destroy$;
|
|
33
34
|
storeId: any;
|
|
34
35
|
constructor(service: TicketsService, dataservice: DataService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
@@ -44,6 +45,7 @@ export declare class StoreActivityComponent implements OnInit, OnDestroy {
|
|
|
44
45
|
FilterIssue(value: any): void;
|
|
45
46
|
selectItem(value: any): void;
|
|
46
47
|
openDropdown(event: MouseEvent): void;
|
|
48
|
+
getCameraList(notworkingCamera: any): void;
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreActivityComponent, never>;
|
|
48
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<StoreActivityComponent, "lib-store-activity", never, { "storeId": { "alias": "storeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
51
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
import 'dayjs/locale/en';
|
|
4
4
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class StoreInfoComponent implements OnInit {
|
|
6
|
+
export declare class StoreInfoComponent implements OnInit, OnDestroy {
|
|
7
7
|
private service;
|
|
8
|
+
private cd;
|
|
8
9
|
imageUrl: any[];
|
|
9
|
-
timeSeries: any[];
|
|
10
10
|
storeTicket: any;
|
|
11
11
|
firstIndex: any;
|
|
12
12
|
lastIndex: any;
|
|
@@ -18,23 +18,35 @@ export declare class StoreInfoComponent implements OnInit {
|
|
|
18
18
|
selectedDateRange: any;
|
|
19
19
|
showIncidentPopIndex: number;
|
|
20
20
|
showIncidentOptions: any;
|
|
21
|
+
private readonly destroy$;
|
|
22
|
+
timeSeries: any[];
|
|
21
23
|
dayjs: typeof dayjs;
|
|
22
24
|
totalImageUrl: any[];
|
|
23
25
|
selectedUrl: any;
|
|
26
|
+
anglechangeData: any;
|
|
27
|
+
totalDowntime: number;
|
|
28
|
+
resolutiontype: boolean;
|
|
24
29
|
storeId: string;
|
|
25
|
-
|
|
30
|
+
DowmTimeArray: any[];
|
|
31
|
+
cameraImages: any;
|
|
32
|
+
selectedDate: string;
|
|
33
|
+
totalDownTime: any;
|
|
34
|
+
constructor(service: TicketsService, cd: ChangeDetectorRef);
|
|
26
35
|
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
getCameraImages(): void;
|
|
38
|
+
getAngleChange(stream: any): void;
|
|
39
|
+
DowmTime(): void;
|
|
27
40
|
hideDialogBox(): void;
|
|
28
|
-
getStyle(): {
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
showIncidentType(incidents: any[]): "negative" | "positive" | "storeop" | "normal";
|
|
41
|
+
getStyle(): {};
|
|
42
|
+
showIncidentType(timeSeries: any, i: any): "negative" | "positive" | "normal";
|
|
32
43
|
showDialogBox(time: any, index: number): void;
|
|
33
44
|
displayCategory(category: any, type: any): "Mobile Usage Detection" | "Checklist Submission" | "Submission Delayed" | "Store Open Close" | "Uniform Detection" | undefined;
|
|
34
|
-
selectedImg(
|
|
45
|
+
selectedImg(data: any): void;
|
|
35
46
|
prevImages(): void;
|
|
36
47
|
nextImages(): void;
|
|
37
48
|
datechange(event: any): void;
|
|
49
|
+
showHours(time: any): any;
|
|
38
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreInfoComponent, never>;
|
|
39
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<StoreInfoComponent, "lib-store-info", never, { "storeId": { "alias": "storeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
52
|
}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
1
2
|
import { FormGroup } from '@angular/forms';
|
|
2
3
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
4
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
5
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TakeremoteComponent {
|
|
8
|
+
export declare class TakeremoteComponent implements OnInit {
|
|
7
9
|
private Activemodal;
|
|
8
10
|
private service;
|
|
9
11
|
private toast;
|
|
12
|
+
gs: GlobalStateService;
|
|
10
13
|
myForm: FormGroup;
|
|
11
14
|
readOnly: boolean;
|
|
12
15
|
viewEdit: boolean;
|
|
13
16
|
show: boolean;
|
|
14
17
|
remote: any;
|
|
15
18
|
storeDetails: any;
|
|
16
|
-
|
|
19
|
+
private readonly destroy$;
|
|
20
|
+
constructor(Activemodal: NgbActiveModal, service: TicketsService, toast: ToastService, gs: GlobalStateService);
|
|
17
21
|
ngOnInit(): void;
|
|
18
22
|
getRemote(): void;
|
|
19
23
|
onSubmit(): void;
|
|
@@ -13,7 +13,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
private cd;
|
|
14
14
|
private route;
|
|
15
15
|
private toastService;
|
|
16
|
-
|
|
16
|
+
gs: GlobalStateService;
|
|
17
17
|
SelectedTab: any;
|
|
18
18
|
selectedIssue: any;
|
|
19
19
|
secondaryIssues: any;
|
|
@@ -58,11 +58,19 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
58
58
|
selectedOption: any;
|
|
59
59
|
Hibernation: any;
|
|
60
60
|
clientId: any;
|
|
61
|
+
showcamIssue: boolean;
|
|
62
|
+
cameraListImages: any;
|
|
63
|
+
finalCamList: any;
|
|
64
|
+
storeName: any;
|
|
65
|
+
notworkingCamaralist: any;
|
|
61
66
|
constructor(modalService: NgbModal, router: Router, service: TicketsService, cd: ChangeDetectorRef, route: ActivatedRoute, toastService: ToastService, gs: GlobalStateService);
|
|
62
67
|
onClick(event: MouseEvent): void;
|
|
63
68
|
ngOnInit(): void;
|
|
64
69
|
ngOnDestroy(): void;
|
|
65
70
|
viewTicket(): void;
|
|
71
|
+
getCameraList(notworkingCamera: any): void;
|
|
72
|
+
cameraSelection(index: any, type: any): void;
|
|
73
|
+
updateCamStatus(): void;
|
|
66
74
|
getRelativeTime(timestamp: string): string;
|
|
67
75
|
activeTicket(): void;
|
|
68
76
|
getstoreAddress(details: any): void;
|
|
@@ -73,6 +81,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
73
81
|
statusUpdate(): void;
|
|
74
82
|
addComment(): void;
|
|
75
83
|
selectItem(value: any): void;
|
|
84
|
+
cameraList(storeId: any): void;
|
|
76
85
|
openRemote(): void;
|
|
77
86
|
cameraSelected(value: any): void;
|
|
78
87
|
proceddImage(value: any): void;
|
|
@@ -85,6 +94,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
85
94
|
openDropdown(event: MouseEvent): void;
|
|
86
95
|
storeChange(event: MouseEvent): void;
|
|
87
96
|
openFileInput(): void;
|
|
97
|
+
downloadimage(url: any): void;
|
|
88
98
|
onFileSelected(event: any): void;
|
|
89
99
|
closeTooltip(): void;
|
|
90
100
|
showTooltip(): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-stores-edgeapp";
|
|
3
|
+
export declare class TangoEdgeAppWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TangoEdgeAppWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoEdgeAppWrapperModule, never, [typeof i1.TangoStoresEdgeappModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TangoEdgeAppWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ExcelService {
|
|
3
|
+
constructor();
|
|
4
|
+
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
5
|
+
saveAsExcelFile(buffer: any, fileName: string): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExcelService>;
|
|
8
|
+
}
|
|
@@ -10,8 +10,10 @@ export declare class TicketsService {
|
|
|
10
10
|
data: any;
|
|
11
11
|
userUrl: any;
|
|
12
12
|
tokenStorage: any;
|
|
13
|
+
edgeAppApiUrl: any;
|
|
13
14
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
14
15
|
userTicketList(data: any): Observable<any>;
|
|
16
|
+
exportuserTicketList(data: any): Observable<any>;
|
|
15
17
|
userTakeTicket(data: any): Observable<any>;
|
|
16
18
|
primaryReason(data: any): Observable<any>;
|
|
17
19
|
secondaryReason(data: any): Observable<any>;
|
|
@@ -24,16 +26,20 @@ export declare class TicketsService {
|
|
|
24
26
|
storeTicketList(data: any): Observable<any>;
|
|
25
27
|
storeTicketListExport(data: any): Observable<ArrayBuffer>;
|
|
26
28
|
viewTicket(data: any): Observable<any>;
|
|
29
|
+
getCameraList(data: any): Observable<any>;
|
|
27
30
|
statusUpdate(data: any): Observable<any>;
|
|
28
31
|
workHistory(data: any): Observable<any>;
|
|
29
32
|
workHistoryExport(data: any): Observable<any>;
|
|
30
33
|
getSpocLogData(data: any): Observable<any>;
|
|
34
|
+
cameraAngleChange(data: any): Observable<any>;
|
|
35
|
+
cameraList(storeId: any): Observable<Object>;
|
|
31
36
|
addSingleSpoc(id: any, data: any): Observable<Object>;
|
|
32
37
|
updateSpoc(id: any, data: any): Observable<Object>;
|
|
33
38
|
deleteSpoc(id: any, data: any): Observable<Object>;
|
|
34
39
|
getRemote(id: any, data: any): Observable<Object>;
|
|
35
40
|
updateRemote(id: any, data: any): Observable<Object>;
|
|
36
41
|
activeTicket(data: any): Observable<Object>;
|
|
42
|
+
getCameraImages(params: any): Observable<any>;
|
|
37
43
|
private handleError;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
39
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|
|
@@ -9,14 +9,15 @@ import * as i7 from "./components/store-info/store-info.component";
|
|
|
9
9
|
import * as i8 from "./components/edgeapp-log/edgeapp-log.component";
|
|
10
10
|
import * as i9 from "./components/store-activity/store-activity.component";
|
|
11
11
|
import * as i10 from "./components/edge-cameraview/edge-cameraview.component";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
12
|
+
import * as i11 from "./components/installation/installation.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "./tango-ticket-users-routing.module";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "tango-app-ui-shared";
|
|
17
|
+
import * as i16 from "@ng-bootstrap/ng-bootstrap";
|
|
18
|
+
import * as i17 from "ngx-daterangepicker-material";
|
|
18
19
|
export declare class TangoTicketUsersModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoTicketUsersModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoTicketUsersModule, [typeof i1.TangoTicketUsersComponent, typeof i2.InfraticketsComponent, typeof i3.TicketsComponent, typeof i4.ContactDetailsComponent, typeof i5.EditDetailsComponent, typeof i6.TakeremoteComponent, typeof i7.StoreInfoComponent, typeof i8.EdgeappLogComponent, typeof i9.StoreActivityComponent, typeof i10.EdgeCameraviewComponent], [typeof
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoTicketUsersModule, [typeof i1.TangoTicketUsersComponent, typeof i2.InfraticketsComponent, typeof i3.TicketsComponent, typeof i4.ContactDetailsComponent, typeof i5.EditDetailsComponent, typeof i6.TakeremoteComponent, typeof i7.StoreInfoComponent, typeof i8.EdgeappLogComponent, typeof i9.StoreActivityComponent, typeof i10.EdgeCameraviewComponent, typeof i11.InstallationComponent], [typeof i12.CommonModule, typeof i13.TangoTicketUsersRoutingModule, typeof i14.FormsModule, typeof i15.CommonSharedModule, typeof i14.ReactiveFormsModule, typeof i16.NgbModalModule, typeof i16.NgbModule, typeof i17.NgxDaterangepickerMd], never>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoTicketUsersModule>;
|
|
22
23
|
}
|