tango-app-ui-ticket-user 3.0.5-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 +24 -10
- package/esm2022/lib/components/edgeapp-log/edgeapp-log.component.mjs +19 -12
- package/esm2022/lib/components/edit-details/edit-details.component.mjs +20 -12
- package/esm2022/lib/components/infratickets/infratickets.component.mjs +7 -14
- package/esm2022/lib/components/installation/installation.component.mjs +34 -12
- package/esm2022/lib/components/store-activity/store-activity.component.mjs +24 -4
- package/esm2022/lib/components/store-info/store-info.component.mjs +53 -29
- package/esm2022/lib/components/takeremote/takeremote.component.mjs +13 -11
- package/esm2022/lib/components/tickets/tickets.component.mjs +23 -12
- package/esm2022/lib/services/ticket-infra.service.mjs +5 -2
- package/fesm2022/tango-app-ui-ticket-user.mjs +217 -116
- 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/edgeapp-log/edgeapp-log.component.d.ts +4 -1
- package/lib/components/edit-details/edit-details.component.d.ts +4 -1
- package/lib/components/infratickets/infratickets.component.d.ts +1 -2
- package/lib/components/installation/installation.component.d.ts +6 -3
- package/lib/components/store-activity/store-activity.component.d.ts +3 -1
- package/lib/components/store-info/store-info.component.d.ts +11 -3
- package/lib/components/takeremote/takeremote.component.d.ts +5 -2
- package/lib/components/tickets/tickets.component.d.ts +2 -1
- package/lib/services/ticket-infra.service.d.ts +1 -0
- 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;
|
|
@@ -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,6 +11,7 @@ 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;
|
|
@@ -17,7 +19,8 @@ export declare class EdgeappLogComponent implements OnInit {
|
|
|
17
19
|
selectedDateRange: any;
|
|
18
20
|
dayjs: typeof dayjs;
|
|
19
21
|
private readonly destroy$;
|
|
20
|
-
|
|
22
|
+
selectedDate: any;
|
|
23
|
+
constructor(modalService: NgbModal, infraService: TicketsService, cd: ChangeDetectorRef, dataservice: DataService, gs: GlobalStateService);
|
|
21
24
|
ngOnInit(): void;
|
|
22
25
|
getEdgeAppLogTable(): void;
|
|
23
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
|
}
|
|
@@ -15,7 +15,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
private toastService;
|
|
16
16
|
private service;
|
|
17
17
|
private dataservice;
|
|
18
|
-
|
|
18
|
+
gs: GlobalStateService;
|
|
19
19
|
private excel;
|
|
20
20
|
selectedTab: any;
|
|
21
21
|
selectCard: any;
|
|
@@ -82,7 +82,6 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
82
82
|
onPageChange(pageOffset: number): void;
|
|
83
83
|
onPageSizeChange(pageSize: number): void;
|
|
84
84
|
storeFilters(): void;
|
|
85
|
-
routeToStore(storeId: any): void;
|
|
86
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfraticketsComponent, never>;
|
|
87
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<InfraticketsComponent, "lib-infratickets", never, {}, {}, never, never, false, never>;
|
|
88
87
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgbModal, NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -6,14 +6,14 @@ import { ToastService } from 'tango-app-ui-shared';
|
|
|
6
6
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
7
7
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class InstallationComponent {
|
|
9
|
+
export declare class InstallationComponent implements OnInit, OnDestroy {
|
|
10
10
|
private modalService;
|
|
11
11
|
private router;
|
|
12
12
|
private service;
|
|
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
|
prerequestFailed: boolean;
|
|
@@ -64,11 +64,13 @@ export declare class InstallationComponent {
|
|
|
64
64
|
installationResume: boolean;
|
|
65
65
|
showform: boolean;
|
|
66
66
|
storeName: any;
|
|
67
|
+
notworkingCamaralist: any[];
|
|
67
68
|
constructor(modalService: NgbModal, router: Router, service: TicketsService, cd: ChangeDetectorRef, route: ActivatedRoute, toastService: ToastService, gs: GlobalStateService);
|
|
68
69
|
onClick(event: MouseEvent): void;
|
|
69
70
|
ngOnInit(): void;
|
|
70
71
|
ngOnDestroy(): void;
|
|
71
72
|
viewTicket(): void;
|
|
73
|
+
getCameraList(notworkingCamera: any): void;
|
|
72
74
|
updateIssue(): void;
|
|
73
75
|
getRelativeTime(timestamp: string): string;
|
|
74
76
|
activeTicket(): void;
|
|
@@ -80,6 +82,7 @@ export declare class InstallationComponent {
|
|
|
80
82
|
statusUpdate(): void;
|
|
81
83
|
addComment(): void;
|
|
82
84
|
selectItem(value: any): void;
|
|
85
|
+
downloadimage(url: any): void;
|
|
83
86
|
openRemote(): void;
|
|
84
87
|
cameraSelected(value: any): void;
|
|
85
88
|
proceddImage(value: any): void;
|
|
@@ -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,9 +1,9 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef } 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
8
|
private cd;
|
|
9
9
|
imageUrl: any[];
|
|
@@ -18,23 +18,31 @@ export declare class StoreInfoComponent implements OnInit {
|
|
|
18
18
|
selectedDateRange: any;
|
|
19
19
|
showIncidentPopIndex: number;
|
|
20
20
|
showIncidentOptions: any;
|
|
21
|
+
private readonly destroy$;
|
|
21
22
|
timeSeries: any[];
|
|
22
23
|
dayjs: typeof dayjs;
|
|
23
24
|
totalImageUrl: any[];
|
|
24
25
|
selectedUrl: any;
|
|
26
|
+
anglechangeData: any;
|
|
27
|
+
totalDowntime: number;
|
|
28
|
+
resolutiontype: boolean;
|
|
25
29
|
storeId: string;
|
|
26
30
|
DowmTimeArray: any[];
|
|
27
31
|
cameraImages: any;
|
|
32
|
+
selectedDate: string;
|
|
33
|
+
totalDownTime: any;
|
|
28
34
|
constructor(service: TicketsService, cd: ChangeDetectorRef);
|
|
29
35
|
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
30
37
|
getCameraImages(): void;
|
|
38
|
+
getAngleChange(stream: any): void;
|
|
31
39
|
DowmTime(): void;
|
|
32
40
|
hideDialogBox(): void;
|
|
33
41
|
getStyle(): {};
|
|
34
42
|
showIncidentType(timeSeries: any, i: any): "negative" | "positive" | "normal";
|
|
35
43
|
showDialogBox(time: any, index: number): void;
|
|
36
44
|
displayCategory(category: any, type: any): "Mobile Usage Detection" | "Checklist Submission" | "Submission Delayed" | "Store Open Close" | "Uniform Detection" | undefined;
|
|
37
|
-
selectedImg(
|
|
45
|
+
selectedImg(data: any): void;
|
|
38
46
|
prevImages(): void;
|
|
39
47
|
nextImages(): void;
|
|
40
48
|
datechange(event: any): void;
|
|
@@ -1,12 +1,15 @@
|
|
|
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;
|
|
@@ -14,7 +17,7 @@ export declare class TakeremoteComponent {
|
|
|
14
17
|
remote: any;
|
|
15
18
|
storeDetails: any;
|
|
16
19
|
private readonly destroy$;
|
|
17
|
-
constructor(Activemodal: NgbActiveModal, service: TicketsService, toast: ToastService);
|
|
20
|
+
constructor(Activemodal: NgbActiveModal, service: TicketsService, toast: ToastService, gs: GlobalStateService);
|
|
18
21
|
ngOnInit(): void;
|
|
19
22
|
getRemote(): void;
|
|
20
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;
|
|
@@ -94,6 +94,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
|
94
94
|
openDropdown(event: MouseEvent): void;
|
|
95
95
|
storeChange(event: MouseEvent): void;
|
|
96
96
|
openFileInput(): void;
|
|
97
|
+
downloadimage(url: any): void;
|
|
97
98
|
onFileSelected(event: any): void;
|
|
98
99
|
closeTooltip(): void;
|
|
99
100
|
showTooltip(): void;
|
|
@@ -31,6 +31,7 @@ export declare class TicketsService {
|
|
|
31
31
|
workHistory(data: any): Observable<any>;
|
|
32
32
|
workHistoryExport(data: any): Observable<any>;
|
|
33
33
|
getSpocLogData(data: any): Observable<any>;
|
|
34
|
+
cameraAngleChange(data: any): Observable<any>;
|
|
34
35
|
cameraList(storeId: any): Observable<Object>;
|
|
35
36
|
addSingleSpoc(id: any, data: any): Observable<Object>;
|
|
36
37
|
updateSpoc(id: any, data: any): Observable<Object>;
|