tango-app-ui-ticket-user 3.0.54-dev → 3.0.55-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/audit-management/audit-management.component.mjs +97 -48
- package/esm2022/lib/components/audit-workspace/audit-workspace.component.mjs +126 -79
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +3 -3
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/components/edge-cameraview/edge-cameraview.component.mjs +3 -3
- package/esm2022/lib/components/edgeapp-log/edgeapp-log.component.mjs +3 -3
- package/esm2022/lib/components/edit-details/edit-details.component.mjs +3 -3
- package/esm2022/lib/components/infratickets/infratickets.component.mjs +9 -8
- package/esm2022/lib/components/installation/installation.component.mjs +3 -3
- package/esm2022/lib/components/store-activity/store-activity.component.mjs +3 -3
- package/esm2022/lib/components/store-info/store-info.component.mjs +3 -3
- package/esm2022/lib/components/takeremote/takeremote.component.mjs +3 -3
- package/esm2022/lib/components/tango-ticket-users/tango-ticket-users.component.mjs +5 -4
- package/esm2022/lib/components/tickets/tickets.component.mjs +3 -3
- package/esm2022/lib/components/viewhistory/viewhistory.component.mjs +10 -6
- package/esm2022/lib/route-wrappers/edge-wrapper.module.mjs +4 -4
- package/esm2022/lib/services/data.service.mjs +3 -3
- package/esm2022/lib/services/excel.service.mjs +3 -3
- package/esm2022/lib/services/ticket-infra.service.mjs +7 -4
- package/esm2022/lib/tango-ticket-users-routing.module.mjs +4 -4
- package/esm2022/lib/tango-ticket-users.module.mjs +4 -4
- package/fesm2022/{tango-app-ui-ticket-user-edge-wrapper.module-fMqNK7aH.mjs → tango-app-ui-ticket-user-edge-wrapper.module-CFDk0tvS.mjs} +5 -5
- package/fesm2022/{tango-app-ui-ticket-user-edge-wrapper.module-fMqNK7aH.mjs.map → tango-app-ui-ticket-user-edge-wrapper.module-CFDk0tvS.mjs.map} +1 -1
- package/fesm2022/tango-app-ui-ticket-user.mjs +287 -186
- package/fesm2022/tango-app-ui-ticket-user.mjs.map +1 -1
- package/lib/components/audit-management/audit-management.component.d.ts +22 -4
- package/lib/components/audit-workspace/audit-workspace.component.d.ts +14 -3
- package/lib/components/infratickets/infratickets.component.d.ts +1 -0
- package/lib/components/tango-ticket-users/tango-ticket-users.component.d.ts +1 -0
- package/lib/components/viewhistory/viewhistory.component.d.ts +1 -0
- package/lib/services/ticket-infra.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
4
|
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AuditManagementComponent implements OnInit, OnChanges {
|
|
8
|
+
export declare class AuditManagementComponent implements OnInit, OnChanges, OnDestroy {
|
|
7
9
|
private changedetector;
|
|
8
10
|
private router;
|
|
9
11
|
private audit;
|
|
12
|
+
private gs;
|
|
13
|
+
private modalService;
|
|
10
14
|
dataSource: any;
|
|
11
15
|
size: number;
|
|
12
16
|
offset: number;
|
|
@@ -37,16 +41,30 @@ export declare class AuditManagementComponent implements OnInit, OnChanges {
|
|
|
37
41
|
datalist: any;
|
|
38
42
|
itemheight: any;
|
|
39
43
|
searchAudit: any;
|
|
40
|
-
|
|
44
|
+
selectedType: any;
|
|
45
|
+
selectedClient: any;
|
|
46
|
+
cildEvent: EventEmitter<any>;
|
|
47
|
+
sortColumName: any;
|
|
48
|
+
sortBy: any;
|
|
49
|
+
private unsubscribe;
|
|
50
|
+
private readonly destroy$;
|
|
51
|
+
headerFilter: any;
|
|
52
|
+
paginationSizes: any;
|
|
53
|
+
constructor(changedetector: ChangeDetectorRef, router: Router, audit: TicketsService, gs: GlobalStateService, modalService: NgbModal);
|
|
41
54
|
ngOnInit(): void;
|
|
55
|
+
ngOnDestroy(): void;
|
|
42
56
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
57
|
getauditdata(): void;
|
|
44
58
|
searchData(value: any): void;
|
|
45
59
|
mappingdata(data: any): void;
|
|
46
60
|
datechange(date: any): void;
|
|
61
|
+
redirectTozone(source: any): void;
|
|
62
|
+
startZoneAudit(data: any): void;
|
|
47
63
|
getToday(): string;
|
|
48
64
|
onPageChange(pageOffset: any): void;
|
|
49
65
|
onPageSizeChange(pageSize: any): void;
|
|
66
|
+
sortData(value: any): void;
|
|
67
|
+
setpageSize(): number;
|
|
50
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditManagementComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditManagementComponent, "lib-audit-management", never, { "searchAudit": { "alias": "searchAudit"; "required": false; }; }, {}, never, never, false, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditManagementComponent, "lib-audit-management", never, { "searchAudit": { "alias": "searchAudit"; "required": false; }; "selectedType": { "alias": "selectedType"; "required": false; }; "selectedClient": { "alias": "selectedClient"; "required": false; }; }, { "cildEvent": "cildEvent"; }, never, never, false, never>;
|
|
52
70
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { ToastService } from 'tango-app-ui-shared';
|
|
4
|
-
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
|
+
import { GlobalStateService, LayoutService } from 'tango-app-ui-global';
|
|
5
5
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import { ExcelService } from "../../services/excel.service";
|
|
7
7
|
import { TicketsService } from "../../services/ticket-infra.service";
|
|
8
8
|
import { DataService } from "../../services/data.service";
|
|
9
9
|
import dayjs from 'dayjs';
|
|
10
|
-
import { LayoutService } from "tango-app-ui-global";
|
|
11
10
|
import { AuthService } from "tango-app-ui-auth";
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
@@ -28,7 +27,6 @@ export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
|
28
27
|
user: any;
|
|
29
28
|
clientId: any;
|
|
30
29
|
dataObject: any;
|
|
31
|
-
dataObject1: any;
|
|
32
30
|
historyLoading: boolean;
|
|
33
31
|
historyNodata: boolean;
|
|
34
32
|
isOpen: boolean;
|
|
@@ -46,8 +44,11 @@ export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
|
46
44
|
filterByStoreId: any;
|
|
47
45
|
filterByStatus: any;
|
|
48
46
|
filterByType: any;
|
|
47
|
+
selectedClient: any;
|
|
49
48
|
selectedExportIssue: any;
|
|
50
49
|
selectedIssue: any;
|
|
50
|
+
userId: any;
|
|
51
|
+
selectedType: any;
|
|
51
52
|
filterStores: any;
|
|
52
53
|
workHistoryTable: any;
|
|
53
54
|
dayjs: typeof dayjs;
|
|
@@ -58,6 +59,11 @@ export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
|
58
59
|
users: any;
|
|
59
60
|
loaded: boolean;
|
|
60
61
|
fileType: any;
|
|
62
|
+
storeList: any;
|
|
63
|
+
startDate: string;
|
|
64
|
+
endDate: string;
|
|
65
|
+
totalCount: any;
|
|
66
|
+
paginationSizes: any;
|
|
61
67
|
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, Service: TicketsService, dataservice: DataService, gs: GlobalStateService, excel: ExcelService, modalservice: NgbModal, layout: LayoutService, service: AuthService);
|
|
62
68
|
onClick(event: MouseEvent): void;
|
|
63
69
|
ngOnInit(): void;
|
|
@@ -69,7 +75,10 @@ export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
|
69
75
|
ngOnDestroy(): void;
|
|
70
76
|
openDropdown(event: MouseEvent): void;
|
|
71
77
|
userValue(data: any): void;
|
|
78
|
+
selectType(type: any): void;
|
|
72
79
|
workHistory(): void;
|
|
80
|
+
setLimit(): any;
|
|
81
|
+
getstoreList(): void;
|
|
73
82
|
searchAudits(event: any): void;
|
|
74
83
|
exportAuditAsXlsx(): void;
|
|
75
84
|
onPageChange(pageOffset: number): void;
|
|
@@ -81,6 +90,8 @@ export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
|
81
90
|
selectExportItem(value: any): void;
|
|
82
91
|
viewHistory(data: any): void;
|
|
83
92
|
applyFilters(event: any): void;
|
|
93
|
+
backtoZone(): void;
|
|
94
|
+
fromChild(event: any): void;
|
|
84
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditWorkspaceComponent, never>;
|
|
85
96
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuditWorkspaceComponent, "lib-audit-workspace", never, {}, {}, never, never, false, never>;
|
|
86
97
|
}
|
|
@@ -68,6 +68,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
68
68
|
searchAudit: any;
|
|
69
69
|
selectedExportIssue: any;
|
|
70
70
|
totalItems: any;
|
|
71
|
+
userId: string | null;
|
|
71
72
|
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService, excel: ExcelService, modalservice: NgbModal);
|
|
72
73
|
onClick(event: MouseEvent): void;
|
|
73
74
|
ngOnInit(): void;
|
|
@@ -12,6 +12,7 @@ export declare class TangoTicketUsersComponent implements OnInit {
|
|
|
12
12
|
private readonly destroy$;
|
|
13
13
|
headerFilters: any;
|
|
14
14
|
ticketAllCount: any;
|
|
15
|
+
userId: any;
|
|
15
16
|
constructor(pageInfo: PageInfoService, route: ActivatedRoute, gs: GlobalStateService, service: TicketsService);
|
|
16
17
|
ngOnInit(): void;
|
|
17
18
|
setPageData(): void;
|
|
@@ -15,6 +15,7 @@ export declare class ViewhistoryComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
employeecount: any;
|
|
16
16
|
employeimage: any;
|
|
17
17
|
nodata: boolean;
|
|
18
|
+
private readonly destroy$;
|
|
18
19
|
constructor(auditservice: TicketsService, activemodal: NgbActiveModal);
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
ngOnDestroy(): void;
|
|
@@ -59,6 +59,7 @@ export declare class TicketsService {
|
|
|
59
59
|
saveDraft(data: any): Observable<Object>;
|
|
60
60
|
getAuditmappinglist(data: any): Observable<Object>;
|
|
61
61
|
saveaudit(data: any): Observable<Object>;
|
|
62
|
+
getstoreList(data: any): Observable<Object>;
|
|
62
63
|
userDetails(): Observable<any>;
|
|
63
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
64
65
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|