tango-app-ui-ticket-user 3.0.0 → 3.0.3-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 +108 -0
- package/esm2022/lib/components/edge-cameraview/edge-cameraview.component.mjs +59 -0
- package/esm2022/lib/components/edgeapp-log/edgeapp-log.component.mjs +111 -0
- package/esm2022/lib/components/edit-details/edit-details.component.mjs +106 -0
- package/esm2022/lib/components/infratickets/infratickets.component.mjs +362 -0
- package/esm2022/lib/components/store-activity/store-activity.component.mjs +210 -0
- package/esm2022/lib/components/store-info/store-info.component.mjs +163 -0
- package/esm2022/lib/components/takeremote/takeremote.component.mjs +92 -0
- package/esm2022/lib/components/tango-ticket-users/tango-ticket-users.component.mjs +35 -5
- package/esm2022/lib/components/tickets/tickets.component.mjs +397 -0
- package/esm2022/lib/services/data.service.mjs +42 -0
- package/esm2022/lib/services/ticket-infra.service.mjs +106 -0
- package/esm2022/lib/tango-ticket-users-routing.module.mjs +16 -2
- package/esm2022/lib/tango-ticket-users.module.mjs +37 -6
- package/fesm2022/tango-app-ui-ticket-user.mjs +1751 -13
- package/fesm2022/tango-app-ui-ticket-user.mjs.map +1 -1
- package/lib/components/contact-details/contact-details.component.d.ts +28 -0
- package/lib/components/edge-cameraview/edge-cameraview.component.d.ts +17 -0
- package/lib/components/edgeapp-log/edgeapp-log.component.d.ts +27 -0
- package/lib/components/edit-details/edit-details.component.d.ts +25 -0
- package/lib/components/infratickets/infratickets.component.d.ts +84 -0
- package/lib/components/store-activity/store-activity.component.d.ts +49 -0
- package/lib/components/store-info/store-info.component.d.ts +40 -0
- package/lib/components/takeremote/takeremote.component.d.ts +26 -0
- package/lib/components/tango-ticket-users/tango-ticket-users.component.d.ts +11 -1
- package/lib/components/tickets/tickets.component.d.ts +93 -0
- package/lib/services/data.service.d.ts +12 -0
- package/lib/services/ticket-infra.service.d.ts +40 -0
- package/lib/tango-ticket-users.module.d.ts +16 -3
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal, NgbActiveModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContactDetailsComponent implements OnInit {
|
|
7
|
+
private modalService;
|
|
8
|
+
private activeModal;
|
|
9
|
+
private service;
|
|
10
|
+
private cd;
|
|
11
|
+
private toast;
|
|
12
|
+
confirmationModal: any;
|
|
13
|
+
modalRef: NgbModalRef | undefined;
|
|
14
|
+
spocDetials: any;
|
|
15
|
+
limit: number;
|
|
16
|
+
offset: number;
|
|
17
|
+
value: any;
|
|
18
|
+
constructor(modalService: NgbModal, activeModal: NgbActiveModal, service: TicketsService, cd: ChangeDetectorRef, toast: ToastService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getSpocLog(): void;
|
|
21
|
+
accept(): void;
|
|
22
|
+
addContact(): void;
|
|
23
|
+
editOpen(data: any): void;
|
|
24
|
+
deleteContact(data: any): void;
|
|
25
|
+
closeModal(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactDetailsComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactDetailsComponent, "lib-contact-details", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EdgeCameraviewComponent implements OnInit {
|
|
5
|
+
private infraService;
|
|
6
|
+
private cd;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
noData: boolean;
|
|
9
|
+
viewEdgeAppLogList: any;
|
|
10
|
+
currentDate: Date;
|
|
11
|
+
value: any;
|
|
12
|
+
constructor(infraService: TicketsService, cd: ChangeDetectorRef);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getViewEdgeAppLog(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EdgeCameraviewComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EdgeCameraviewComponent, "lib-edge-cameraview", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
|
+
import { DataService } from '../../services/data.service';
|
|
5
|
+
import dayjs from 'dayjs';
|
|
6
|
+
import 'dayjs/locale/en';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class EdgeappLogComponent implements OnInit {
|
|
9
|
+
private modalService;
|
|
10
|
+
private infraService;
|
|
11
|
+
private cd;
|
|
12
|
+
private dataservice;
|
|
13
|
+
noData: boolean;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
getEdgeAppLoveValue: any;
|
|
16
|
+
storeId: any;
|
|
17
|
+
selectedDateRange: any;
|
|
18
|
+
dayjs: typeof dayjs;
|
|
19
|
+
constructor(modalService: NgbModal, infraService: TicketsService, cd: ChangeDetectorRef, dataservice: DataService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
getEdgeAppLogTable(): void;
|
|
22
|
+
datechange(event: any): void;
|
|
23
|
+
edgeAppExportasXlsx(): void;
|
|
24
|
+
openCameraView(data: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EdgeappLogComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EdgeappLogComponent, "lib-edgeapp-log", never, { "storeId": { "alias": "storeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditDetailsComponent implements OnInit {
|
|
8
|
+
private activeModel;
|
|
9
|
+
private service;
|
|
10
|
+
private toast;
|
|
11
|
+
myForm: FormGroup;
|
|
12
|
+
spocDetails: any;
|
|
13
|
+
editSpoc: any;
|
|
14
|
+
data: any;
|
|
15
|
+
constructor(activeModel: NgbActiveModal, service: TicketsService, toast: ToastService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
get email(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
18
|
+
get contact(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
19
|
+
onSubmit(): void;
|
|
20
|
+
updateEditDetails(): void;
|
|
21
|
+
addSingleSpoc(): void;
|
|
22
|
+
cancelPopup(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditDetailsComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditDetailsComponent, "lib-edit-details", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { OnDestroy, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import { DataService } from '../../services/data.service';
|
|
6
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { GlobalStateService } from 'tango-app-ui-shared';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
10
|
+
private route;
|
|
11
|
+
private router;
|
|
12
|
+
private cd;
|
|
13
|
+
private dataService;
|
|
14
|
+
private toastService;
|
|
15
|
+
private service;
|
|
16
|
+
private dataservice;
|
|
17
|
+
private gs;
|
|
18
|
+
selectedTab: any;
|
|
19
|
+
selectCard: any;
|
|
20
|
+
selectedIssue: any;
|
|
21
|
+
userData: any;
|
|
22
|
+
workHistoryTable: any;
|
|
23
|
+
cardView: boolean;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
dropDown: boolean;
|
|
26
|
+
searchWorkspace: any;
|
|
27
|
+
offset: any;
|
|
28
|
+
sortBy: any;
|
|
29
|
+
limit: any;
|
|
30
|
+
sortColumName: any;
|
|
31
|
+
searchHistory: any;
|
|
32
|
+
dummyOpen: any[];
|
|
33
|
+
dummyInprogress: any[];
|
|
34
|
+
dummyClosed: any[];
|
|
35
|
+
dropdownItems: any[];
|
|
36
|
+
dataObject: any;
|
|
37
|
+
historyLoading: boolean;
|
|
38
|
+
historyNodata: boolean;
|
|
39
|
+
loading: any;
|
|
40
|
+
noData: any;
|
|
41
|
+
pagination: {
|
|
42
|
+
offset: number;
|
|
43
|
+
limit: number;
|
|
44
|
+
totalCount: number;
|
|
45
|
+
totalPages: number;
|
|
46
|
+
};
|
|
47
|
+
statusOpen: any;
|
|
48
|
+
statusClosed: any;
|
|
49
|
+
statusInprogress: any;
|
|
50
|
+
dummyHistory: any;
|
|
51
|
+
headerFilter: any;
|
|
52
|
+
filteredData: any[];
|
|
53
|
+
dateFilter: any;
|
|
54
|
+
storeFilter: any;
|
|
55
|
+
issueFilter: any;
|
|
56
|
+
filterStores: any;
|
|
57
|
+
private readonly destroy$;
|
|
58
|
+
user: any;
|
|
59
|
+
type: string | null;
|
|
60
|
+
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService);
|
|
61
|
+
onClick(event: MouseEvent): void;
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
userTicketList(value: any): void;
|
|
65
|
+
takeTicket(): void;
|
|
66
|
+
ShowTicket(index: any): void;
|
|
67
|
+
selectTicket(): void;
|
|
68
|
+
selectView(e: MouseEvent, index: any, value: any): void;
|
|
69
|
+
routetoTicket(value: any): void;
|
|
70
|
+
workHistory(): void;
|
|
71
|
+
selectItem(value: any): void;
|
|
72
|
+
openDropdown(event: MouseEvent): void;
|
|
73
|
+
userValue(e: any): void;
|
|
74
|
+
searchTickets(): void;
|
|
75
|
+
searchHistoryTable(): void;
|
|
76
|
+
receiveData(data: any[]): void;
|
|
77
|
+
ExportHistoryasXlsx(): void;
|
|
78
|
+
sortData(value: any): void;
|
|
79
|
+
onPageChange(pageOffset: number): void;
|
|
80
|
+
onPageSizeChange(pageSize: number): void;
|
|
81
|
+
storeFilters(): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfraticketsComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfraticketsComponent, "lib-infratickets", never, {}, {}, never, never, false, never>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { DataService } from '../../services/data.service';
|
|
4
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-shared';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class StoreActivityComponent implements OnInit, OnDestroy {
|
|
8
|
+
private service;
|
|
9
|
+
private dataservice;
|
|
10
|
+
private cd;
|
|
11
|
+
private gs;
|
|
12
|
+
selectCard: any;
|
|
13
|
+
state: any;
|
|
14
|
+
filteredIssue: any;
|
|
15
|
+
selectedIssue: any;
|
|
16
|
+
updated: boolean;
|
|
17
|
+
noData: boolean;
|
|
18
|
+
loading: boolean;
|
|
19
|
+
storeTicket: any;
|
|
20
|
+
ticketInfo: any;
|
|
21
|
+
resolvedIssue: boolean;
|
|
22
|
+
issueObject: any[];
|
|
23
|
+
dropDown: boolean;
|
|
24
|
+
dropdownItems: any[];
|
|
25
|
+
selectedDateRange: any;
|
|
26
|
+
ticketId: any;
|
|
27
|
+
dateRangeFilter: any;
|
|
28
|
+
ticketCard: any;
|
|
29
|
+
viewTicketData: any;
|
|
30
|
+
headerFilter: any;
|
|
31
|
+
user: any;
|
|
32
|
+
private readonly destroy$;
|
|
33
|
+
storeId: any;
|
|
34
|
+
constructor(service: TicketsService, dataservice: DataService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
35
|
+
onClick(event: MouseEvent): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
storeTicketcard(): void;
|
|
39
|
+
storeTicketList(): void;
|
|
40
|
+
viewTicket(): void;
|
|
41
|
+
getRelativeTime(timestamp: string): string;
|
|
42
|
+
exportStoreListasXlsx(): void;
|
|
43
|
+
ShowTicket(index: any, value: any): void;
|
|
44
|
+
FilterIssue(value: any): void;
|
|
45
|
+
selectItem(value: any): void;
|
|
46
|
+
openDropdown(event: MouseEvent): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreActivityComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreActivityComponent, "lib-store-activity", never, { "storeId": { "alias": "storeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StoreInfoComponent implements OnInit {
|
|
7
|
+
private service;
|
|
8
|
+
imageUrl: any[];
|
|
9
|
+
timeSeries: any[];
|
|
10
|
+
storeTicket: any;
|
|
11
|
+
firstIndex: any;
|
|
12
|
+
lastIndex: any;
|
|
13
|
+
showPrev: boolean;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
noData: boolean;
|
|
16
|
+
showNext: boolean;
|
|
17
|
+
showIncidentPop: boolean;
|
|
18
|
+
selectedDateRange: any;
|
|
19
|
+
showIncidentPopIndex: number;
|
|
20
|
+
showIncidentOptions: any;
|
|
21
|
+
dayjs: typeof dayjs;
|
|
22
|
+
totalImageUrl: any[];
|
|
23
|
+
selectedUrl: any;
|
|
24
|
+
storeId: string;
|
|
25
|
+
constructor(service: TicketsService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
hideDialogBox(): void;
|
|
28
|
+
getStyle(): {
|
|
29
|
+
'margin-left': string;
|
|
30
|
+
};
|
|
31
|
+
showIncidentType(incidents: any[]): "negative" | "positive" | "storeop" | "normal";
|
|
32
|
+
showDialogBox(time: any, index: number): void;
|
|
33
|
+
displayCategory(category: any, type: any): "Mobile Usage Detection" | "Checklist Submission" | "Submission Delayed" | "Store Open Close" | "Uniform Detection" | undefined;
|
|
34
|
+
selectedImg(index: any): void;
|
|
35
|
+
prevImages(): void;
|
|
36
|
+
nextImages(): void;
|
|
37
|
+
datechange(event: any): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreInfoComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreInfoComponent, "lib-store-info", never, { "storeId": { "alias": "storeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
4
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TakeremoteComponent {
|
|
7
|
+
private Activemodal;
|
|
8
|
+
private service;
|
|
9
|
+
private toast;
|
|
10
|
+
myForm: FormGroup;
|
|
11
|
+
readOnly: boolean;
|
|
12
|
+
viewEdit: boolean;
|
|
13
|
+
show: boolean;
|
|
14
|
+
remote: any;
|
|
15
|
+
storeDetails: any;
|
|
16
|
+
constructor(Activemodal: NgbActiveModal, service: TicketsService, toast: ToastService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
getRemote(): void;
|
|
19
|
+
onSubmit(): void;
|
|
20
|
+
showPassword(): void;
|
|
21
|
+
cancelRemote(): void;
|
|
22
|
+
viewandEdit(): void;
|
|
23
|
+
dismissModal(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TakeremoteComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TakeremoteComponent, "lib-takeremote", never, { "storeDetails": { "alias": "storeDetails"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { PageInfoService } from 'tango-app-ui-metronics';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TangoTicketUsersComponent {
|
|
5
|
+
export declare class TangoTicketUsersComponent implements OnInit {
|
|
6
|
+
private pageInfo;
|
|
7
|
+
private route;
|
|
8
|
+
SelectedTab: any;
|
|
9
|
+
constructor(pageInfo: PageInfoService, route: ActivatedRoute);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
setPageData(): void;
|
|
12
|
+
Selectedtabs(value: any): void;
|
|
3
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoTicketUsersComponent, never>;
|
|
4
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<TangoTicketUsersComponent, "lib-tango-ticket-users", never, {}, {}, never, never, false, never>;
|
|
5
15
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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-shared';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TicketsComponent implements OnInit, OnDestroy {
|
|
10
|
+
private modalService;
|
|
11
|
+
private router;
|
|
12
|
+
private service;
|
|
13
|
+
private cd;
|
|
14
|
+
private route;
|
|
15
|
+
private toastService;
|
|
16
|
+
private gs;
|
|
17
|
+
SelectedTab: any;
|
|
18
|
+
selectedIssue: any;
|
|
19
|
+
secondaryIssues: any;
|
|
20
|
+
issueStatus: any;
|
|
21
|
+
comments: any;
|
|
22
|
+
primaryIssues: any;
|
|
23
|
+
dropdownItems: any[];
|
|
24
|
+
othersIssue: any[];
|
|
25
|
+
cameraIssue: boolean;
|
|
26
|
+
cameraSelectWork: boolean;
|
|
27
|
+
showSubmit: boolean;
|
|
28
|
+
cameraSelect: any;
|
|
29
|
+
state: any;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
noData: boolean;
|
|
32
|
+
inputHibernation: any;
|
|
33
|
+
count: any;
|
|
34
|
+
isChecked: boolean[];
|
|
35
|
+
resolvedIssue: boolean;
|
|
36
|
+
dropDown: boolean;
|
|
37
|
+
ticketId: string | null;
|
|
38
|
+
ticketInfo: any;
|
|
39
|
+
activeTicketDetails: any;
|
|
40
|
+
storeAddress: any;
|
|
41
|
+
replyOpen: boolean;
|
|
42
|
+
repliedIssue: any;
|
|
43
|
+
viewTicketData: any;
|
|
44
|
+
currentTime: Date;
|
|
45
|
+
targetTime: Date;
|
|
46
|
+
selectedFiles: any;
|
|
47
|
+
brandLogo: string | ArrayBuffer | null;
|
|
48
|
+
lastModifiedDateString: string;
|
|
49
|
+
fileInput: any;
|
|
50
|
+
tooltipContent: NgbTooltip;
|
|
51
|
+
private readonly destroy$;
|
|
52
|
+
headerFilter: any;
|
|
53
|
+
user: any;
|
|
54
|
+
updatedDate: Date;
|
|
55
|
+
isGreaterThan5_30Hours: boolean;
|
|
56
|
+
storeId: string | null;
|
|
57
|
+
storeDropDown: boolean;
|
|
58
|
+
selectedOption: any;
|
|
59
|
+
Hibernation: any;
|
|
60
|
+
clientId: any;
|
|
61
|
+
constructor(modalService: NgbModal, router: Router, service: TicketsService, cd: ChangeDetectorRef, route: ActivatedRoute, toastService: ToastService, gs: GlobalStateService);
|
|
62
|
+
onClick(event: MouseEvent): void;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
viewTicket(): void;
|
|
66
|
+
getRelativeTime(timestamp: string): string;
|
|
67
|
+
activeTicket(): void;
|
|
68
|
+
getstoreAddress(details: any): void;
|
|
69
|
+
PrevRoute(): void;
|
|
70
|
+
primaryReason(): void;
|
|
71
|
+
secondaryReason(value: any): void;
|
|
72
|
+
updateTicket(): void;
|
|
73
|
+
statusUpdate(): void;
|
|
74
|
+
addComment(): void;
|
|
75
|
+
selectItem(value: any): void;
|
|
76
|
+
openRemote(): void;
|
|
77
|
+
cameraSelected(value: any): void;
|
|
78
|
+
proceddImage(value: any): void;
|
|
79
|
+
SelectedTabs(value: any): void;
|
|
80
|
+
toggleCheckbox(index: number): void;
|
|
81
|
+
toggleRadiobox(others: any): void;
|
|
82
|
+
decreseCount(): any;
|
|
83
|
+
increaseCount(): any;
|
|
84
|
+
openContact(): void;
|
|
85
|
+
openDropdown(event: MouseEvent): void;
|
|
86
|
+
storeChange(event: MouseEvent): void;
|
|
87
|
+
openFileInput(): void;
|
|
88
|
+
onFileSelected(event: any): void;
|
|
89
|
+
closeTooltip(): void;
|
|
90
|
+
showTooltip(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketsComponent, "lib-tickets", never, {}, {}, never, never, false, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DataService {
|
|
3
|
+
constructor();
|
|
4
|
+
private dataSubject;
|
|
5
|
+
data$: import("rxjs").Observable<any>;
|
|
6
|
+
setData(data: any): void;
|
|
7
|
+
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
8
|
+
saveAsExcelFile(buffer: any, fileName: string): void;
|
|
9
|
+
private saveAsTemplate;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TicketsService {
|
|
6
|
+
private http;
|
|
7
|
+
private gs;
|
|
8
|
+
ticketApiUrl: any;
|
|
9
|
+
storeApiUrl: any;
|
|
10
|
+
data: any;
|
|
11
|
+
userUrl: any;
|
|
12
|
+
tokenStorage: any;
|
|
13
|
+
constructor(http: HttpClient, gs: GlobalStateService);
|
|
14
|
+
userTicketList(data: any): Observable<any>;
|
|
15
|
+
userTakeTicket(data: any): Observable<any>;
|
|
16
|
+
primaryReason(data: any): Observable<any>;
|
|
17
|
+
secondaryReason(data: any): Observable<any>;
|
|
18
|
+
edgeAppLogTable(data: any): Observable<any>;
|
|
19
|
+
edgeAppLogTableExport(data: any): Observable<any>;
|
|
20
|
+
uploadAttachments(ticketId: any, formData: any): Observable<any>;
|
|
21
|
+
viewedgeAppLog(data: any): Observable<any>;
|
|
22
|
+
updateTicket(data: any): Observable<any>;
|
|
23
|
+
storeTicketcard(data: any): Observable<any>;
|
|
24
|
+
storeTicketList(data: any): Observable<any>;
|
|
25
|
+
storeTicketListExport(data: any): Observable<ArrayBuffer>;
|
|
26
|
+
viewTicket(data: any): Observable<any>;
|
|
27
|
+
statusUpdate(data: any): Observable<any>;
|
|
28
|
+
workHistory(data: any): Observable<any>;
|
|
29
|
+
workHistoryExport(data: any): Observable<any>;
|
|
30
|
+
getSpocLogData(data: any): Observable<any>;
|
|
31
|
+
addSingleSpoc(id: any, data: any): Observable<Object>;
|
|
32
|
+
updateSpoc(id: any, data: any): Observable<Object>;
|
|
33
|
+
deleteSpoc(id: any, data: any): Observable<Object>;
|
|
34
|
+
getRemote(id: any, data: any): Observable<Object>;
|
|
35
|
+
updateRemote(id: any, data: any): Observable<Object>;
|
|
36
|
+
activeTicket(data: any): Observable<Object>;
|
|
37
|
+
private handleError;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|
|
40
|
+
}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./components/tango-ticket-users/tango-ticket-users.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "./
|
|
3
|
+
import * as i2 from "./components/infratickets/infratickets.component";
|
|
4
|
+
import * as i3 from "./components/tickets/tickets.component";
|
|
5
|
+
import * as i4 from "./components/contact-details/contact-details.component";
|
|
6
|
+
import * as i5 from "./components/edit-details/edit-details.component";
|
|
7
|
+
import * as i6 from "./components/takeremote/takeremote.component";
|
|
8
|
+
import * as i7 from "./components/store-info/store-info.component";
|
|
9
|
+
import * as i8 from "./components/edgeapp-log/edgeapp-log.component";
|
|
10
|
+
import * as i9 from "./components/store-activity/store-activity.component";
|
|
11
|
+
import * as i10 from "./components/edge-cameraview/edge-cameraview.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "./tango-ticket-users-routing.module";
|
|
14
|
+
import * as i13 from "@angular/forms";
|
|
15
|
+
import * as i14 from "tango-app-ui-shared";
|
|
16
|
+
import * as i15 from "@ng-bootstrap/ng-bootstrap";
|
|
17
|
+
import * as i16 from "ngx-daterangepicker-material";
|
|
5
18
|
export declare class TangoTicketUsersModule {
|
|
6
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoTicketUsersModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoTicketUsersModule, [typeof i1.TangoTicketUsersComponent], [typeof
|
|
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 i11.CommonModule, typeof i12.TangoTicketUsersRoutingModule, typeof i13.FormsModule, typeof i14.CommonSharedModule, typeof i13.ReactiveFormsModule, typeof i15.NgbModalModule, typeof i15.NgbModule, typeof i16.NgxDaterangepickerMd], never>;
|
|
8
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoTicketUsersModule>;
|
|
9
22
|
}
|