tango-app-ui-ticket-user 3.0.53-dev → 3.0.54-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 +160 -0
- package/esm2022/lib/components/audit-workspace/audit-workspace.component.mjs +413 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +117 -0
- package/esm2022/lib/components/infratickets/infratickets.component.mjs +47 -12
- package/esm2022/lib/components/tango-ticket-users/tango-ticket-users.component.mjs +3 -3
- package/esm2022/lib/components/viewhistory/viewhistory.component.mjs +74 -0
- package/esm2022/lib/services/ticket-infra.service.mjs +39 -1
- package/esm2022/lib/tango-ticket-users-routing.module.mjs +2 -2
- package/esm2022/lib/tango-ticket-users.module.mjs +8 -4
- package/fesm2022/tango-app-ui-ticket-user.mjs +839 -41
- package/fesm2022/tango-app-ui-ticket-user.mjs.map +1 -1
- package/lib/components/audit-management/audit-management.component.d.ts +52 -0
- package/lib/components/audit-workspace/audit-workspace.component.d.ts +86 -0
- package/lib/components/dropdown/dropdown.component.d.ts +29 -0
- package/lib/components/infratickets/infratickets.component.d.ts +9 -1
- package/lib/components/viewhistory/viewhistory.component.d.ts +28 -0
- package/lib/services/ticket-infra.service.d.ts +12 -0
- package/lib/tango-ticket-users.module.d.ts +11 -7
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import dayjs from 'dayjs';
|
|
4
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AuditManagementComponent implements OnInit, OnChanges {
|
|
7
|
+
private changedetector;
|
|
8
|
+
private router;
|
|
9
|
+
private audit;
|
|
10
|
+
dataSource: any;
|
|
11
|
+
size: number;
|
|
12
|
+
offset: number;
|
|
13
|
+
offsetvalue: any;
|
|
14
|
+
pageValue: any;
|
|
15
|
+
pageDisplay: any;
|
|
16
|
+
pageStart: number;
|
|
17
|
+
pageEnd: number;
|
|
18
|
+
nextbtn: boolean;
|
|
19
|
+
backbtn: boolean;
|
|
20
|
+
paginationSize: number[];
|
|
21
|
+
currentValue: number;
|
|
22
|
+
recordsCount: any;
|
|
23
|
+
recordsTotal: number;
|
|
24
|
+
searchValue: any;
|
|
25
|
+
auditLoading: boolean;
|
|
26
|
+
auditNoData: boolean;
|
|
27
|
+
submitted: boolean;
|
|
28
|
+
singledate: any;
|
|
29
|
+
exportBtnText: string;
|
|
30
|
+
logdata: any;
|
|
31
|
+
activelognodata: boolean;
|
|
32
|
+
filter: any;
|
|
33
|
+
userinfo: any;
|
|
34
|
+
dayjs: typeof dayjs;
|
|
35
|
+
carddata: any;
|
|
36
|
+
user: any;
|
|
37
|
+
datalist: any;
|
|
38
|
+
itemheight: any;
|
|
39
|
+
searchAudit: any;
|
|
40
|
+
constructor(changedetector: ChangeDetectorRef, router: Router, audit: TicketsService);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
getauditdata(): void;
|
|
44
|
+
searchData(value: any): void;
|
|
45
|
+
mappingdata(data: any): void;
|
|
46
|
+
datechange(date: any): void;
|
|
47
|
+
getToday(): string;
|
|
48
|
+
onPageChange(pageOffset: any): void;
|
|
49
|
+
onPageSizeChange(pageSize: any): void;
|
|
50
|
+
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>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
|
+
import { ExcelService } from "../../services/excel.service";
|
|
7
|
+
import { TicketsService } from "../../services/ticket-infra.service";
|
|
8
|
+
import { DataService } from "../../services/data.service";
|
|
9
|
+
import dayjs from 'dayjs';
|
|
10
|
+
import { LayoutService } from "tango-app-ui-global";
|
|
11
|
+
import { AuthService } from "tango-app-ui-auth";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class AuditWorkspaceComponent implements OnInit, OnDestroy {
|
|
14
|
+
private route;
|
|
15
|
+
private router;
|
|
16
|
+
private cd;
|
|
17
|
+
private dataService;
|
|
18
|
+
private toastService;
|
|
19
|
+
private Service;
|
|
20
|
+
private dataservice;
|
|
21
|
+
gs: GlobalStateService;
|
|
22
|
+
private excel;
|
|
23
|
+
private modalservice;
|
|
24
|
+
private layout;
|
|
25
|
+
private service;
|
|
26
|
+
headerFilter: any;
|
|
27
|
+
userData: string;
|
|
28
|
+
user: any;
|
|
29
|
+
clientId: any;
|
|
30
|
+
dataObject: any;
|
|
31
|
+
dataObject1: any;
|
|
32
|
+
historyLoading: boolean;
|
|
33
|
+
historyNodata: boolean;
|
|
34
|
+
isOpen: boolean;
|
|
35
|
+
dropDown: boolean;
|
|
36
|
+
searchWorkspace: any;
|
|
37
|
+
offset: any;
|
|
38
|
+
sortBy: any;
|
|
39
|
+
limit: any;
|
|
40
|
+
sortColumName: any;
|
|
41
|
+
searchHistory: any;
|
|
42
|
+
ExportItems: any;
|
|
43
|
+
workHistorydata: any;
|
|
44
|
+
private readonly destroy$;
|
|
45
|
+
searchAudit: any;
|
|
46
|
+
filterByStoreId: any;
|
|
47
|
+
filterByStatus: any;
|
|
48
|
+
filterByType: any;
|
|
49
|
+
selectedExportIssue: any;
|
|
50
|
+
selectedIssue: any;
|
|
51
|
+
filterStores: any;
|
|
52
|
+
workHistoryTable: any;
|
|
53
|
+
dayjs: typeof dayjs;
|
|
54
|
+
private unsubscribe;
|
|
55
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
56
|
+
selectedDateRange: any;
|
|
57
|
+
selectedFilters: any;
|
|
58
|
+
users: any;
|
|
59
|
+
loaded: boolean;
|
|
60
|
+
fileType: any;
|
|
61
|
+
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
|
+
onClick(event: MouseEvent): void;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
datepicker(): void;
|
|
65
|
+
ranges: any;
|
|
66
|
+
onDateRangeChanged(event: any): void;
|
|
67
|
+
onStartDateChange(event: any): void;
|
|
68
|
+
datechange(event: any): void;
|
|
69
|
+
ngOnDestroy(): void;
|
|
70
|
+
openDropdown(event: MouseEvent): void;
|
|
71
|
+
userValue(data: any): void;
|
|
72
|
+
workHistory(): void;
|
|
73
|
+
searchAudits(event: any): void;
|
|
74
|
+
exportAuditAsXlsx(): void;
|
|
75
|
+
onPageChange(pageOffset: number): void;
|
|
76
|
+
onPageSizeChange(pageSize: number): void;
|
|
77
|
+
ExportHistoryasXlsx(): void;
|
|
78
|
+
sortData(value: any): void;
|
|
79
|
+
receiveData(data: any[]): void;
|
|
80
|
+
searchHistoryTable(): void;
|
|
81
|
+
selectExportItem(value: any): void;
|
|
82
|
+
viewHistory(data: any): void;
|
|
83
|
+
applyFilters(event: any): void;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditWorkspaceComponent, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditWorkspaceComponent, "lib-audit-workspace", never, {}, {}, never, never, false, never>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import dayjs from 'dayjs';
|
|
5
|
+
import 'dayjs/locale/en';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DropdownComponent implements OnInit {
|
|
8
|
+
Activemodal: NgbActiveModal;
|
|
9
|
+
private router;
|
|
10
|
+
dropdownItems: any;
|
|
11
|
+
dayjs: typeof dayjs;
|
|
12
|
+
dropDown: boolean;
|
|
13
|
+
selectedIssue: any;
|
|
14
|
+
searchWorkspace: any;
|
|
15
|
+
filteredItems: any[];
|
|
16
|
+
size: number;
|
|
17
|
+
userinfo: any;
|
|
18
|
+
user: any;
|
|
19
|
+
singledate: string;
|
|
20
|
+
constructor(Activemodal: NgbActiveModal, router: Router);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
onClick(event: MouseEvent): void;
|
|
23
|
+
openDropdown(event: MouseEvent): void;
|
|
24
|
+
selectItem(value: any): void;
|
|
25
|
+
searchTickets(): void;
|
|
26
|
+
mappingdata(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "lib-dropdown", never, {}, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -6,6 +6,7 @@ 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
8
|
import { ExcelService } from "../../services/excel.service";
|
|
9
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
11
12
|
private route;
|
|
@@ -17,6 +18,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
private dataservice;
|
|
18
19
|
gs: GlobalStateService;
|
|
19
20
|
private excel;
|
|
21
|
+
private modalservice;
|
|
20
22
|
selectedTab: any;
|
|
21
23
|
selectCard: any;
|
|
22
24
|
selectedIssue: any;
|
|
@@ -35,6 +37,7 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
35
37
|
dummyInprogress: any[];
|
|
36
38
|
dummyClosed: any[];
|
|
37
39
|
dropdownItems: any[];
|
|
40
|
+
ExportItems: any;
|
|
38
41
|
historyLoading: boolean;
|
|
39
42
|
historyNodata: boolean;
|
|
40
43
|
loading: any;
|
|
@@ -62,8 +65,10 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
62
65
|
user: any;
|
|
63
66
|
type: string | null;
|
|
64
67
|
uniqueArray: any;
|
|
68
|
+
searchAudit: any;
|
|
69
|
+
selectedExportIssue: any;
|
|
65
70
|
totalItems: any;
|
|
66
|
-
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService, excel: ExcelService);
|
|
71
|
+
constructor(route: ActivatedRoute, router: Router, cd: ChangeDetectorRef, dataService: DataService, toastService: ToastService, service: TicketsService, dataservice: DataService, gs: GlobalStateService, excel: ExcelService, modalservice: NgbModal);
|
|
67
72
|
onClick(event: MouseEvent): void;
|
|
68
73
|
ngOnInit(): void;
|
|
69
74
|
getdataObject(): void;
|
|
@@ -77,12 +82,15 @@ export declare class InfraticketsComponent implements OnInit, OnDestroy {
|
|
|
77
82
|
routetoTicket(value: any): void;
|
|
78
83
|
statusUpdate(value: any, issueType: any, status: any): void;
|
|
79
84
|
exportData(): void;
|
|
85
|
+
exportAuditAsXlsx(): void;
|
|
80
86
|
workHistory(): void;
|
|
81
87
|
selectItem(value: any): void;
|
|
88
|
+
selectExportItem(value: any): void;
|
|
82
89
|
selectDropdowns(): void;
|
|
83
90
|
openDropdown(event: MouseEvent): void;
|
|
84
91
|
userValue(data: any): void;
|
|
85
92
|
searchTickets(): void;
|
|
93
|
+
searchAudits(event: any): void;
|
|
86
94
|
searchHistoryTable(): void;
|
|
87
95
|
receiveData(data: any[]): void;
|
|
88
96
|
ExportHistoryasXlsx(): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { TicketsService } from '../../services/ticket-infra.service';
|
|
3
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ViewhistoryComponent implements OnInit, OnDestroy {
|
|
6
|
+
private auditservice;
|
|
7
|
+
activemodal: NgbActiveModal;
|
|
8
|
+
data: any;
|
|
9
|
+
datavalue: any;
|
|
10
|
+
Loading: any;
|
|
11
|
+
junkimage: any;
|
|
12
|
+
auditmappingdata: any;
|
|
13
|
+
customercount: any;
|
|
14
|
+
junkcount: any;
|
|
15
|
+
employeecount: any;
|
|
16
|
+
employeimage: any;
|
|
17
|
+
nodata: boolean;
|
|
18
|
+
constructor(auditservice: TicketsService, activemodal: NgbActiveModal);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
viewHistory(data: any): void;
|
|
22
|
+
currentGroupNumber: any;
|
|
23
|
+
getGroupNumber(obj: any): number | null;
|
|
24
|
+
resetGroupNumber(): void;
|
|
25
|
+
getFilteredData(count: number): any;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewhistoryComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewhistoryComponent, "lib-viewhistory", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -14,7 +14,9 @@ export declare class TicketsService {
|
|
|
14
14
|
clientApiUrl: string;
|
|
15
15
|
clientId: BehaviorSubject<string>;
|
|
16
16
|
clientData: BehaviorSubject<any>;
|
|
17
|
+
auditApiUrl: any;
|
|
17
18
|
dataSubject: BehaviorSubject<any>;
|
|
19
|
+
metricsApiUrl: any;
|
|
18
20
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
19
21
|
userTicketList(data: any): Observable<any>;
|
|
20
22
|
exportuserTicketList(data: any): Observable<any>;
|
|
@@ -48,6 +50,16 @@ export declare class TicketsService {
|
|
|
48
50
|
updateStore(id: any): Observable<any>;
|
|
49
51
|
getAllCounts(data: any): Observable<any>;
|
|
50
52
|
private handleError;
|
|
53
|
+
auditHistory(data: any): Observable<Object>;
|
|
54
|
+
getAuditMapping(id: any, name: any, limit: any, nextId: any): Observable<Object>;
|
|
55
|
+
export(offset: any, limit: any, searchValue: any, data: any): Observable<ArrayBuffer>;
|
|
56
|
+
getauditCard(filter: any, user: any): Observable<Object>;
|
|
57
|
+
getactivitylog(data: any): Observable<Object>;
|
|
58
|
+
getAudit(offset: any, limit: any, searchValue: any, data: any): Observable<Object>;
|
|
59
|
+
saveDraft(data: any): Observable<Object>;
|
|
60
|
+
getAuditmappinglist(data: any): Observable<Object>;
|
|
61
|
+
saveaudit(data: any): Observable<Object>;
|
|
62
|
+
userDetails(): Observable<any>;
|
|
51
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
52
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|
|
53
65
|
}
|
|
@@ -10,14 +10,18 @@ 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
12
|
import * as i11 from "./components/installation/installation.component";
|
|
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 "@
|
|
18
|
-
import * as i17 from "
|
|
13
|
+
import * as i12 from "./components/dropdown/dropdown.component";
|
|
14
|
+
import * as i13 from "./components/audit-management/audit-management.component";
|
|
15
|
+
import * as i14 from "./components/audit-workspace/audit-workspace.component";
|
|
16
|
+
import * as i15 from "./components/viewhistory/viewhistory.component";
|
|
17
|
+
import * as i16 from "@angular/common";
|
|
18
|
+
import * as i17 from "./tango-ticket-users-routing.module";
|
|
19
|
+
import * as i18 from "@angular/forms";
|
|
20
|
+
import * as i19 from "tango-app-ui-shared";
|
|
21
|
+
import * as i20 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
+
import * as i21 from "ngx-daterangepicker-material";
|
|
19
23
|
export declare class TangoTicketUsersModule {
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoTicketUsersModule, never>;
|
|
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
|
|
25
|
+
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.DropdownComponent, typeof i13.AuditManagementComponent, typeof i14.AuditWorkspaceComponent, typeof i15.ViewhistoryComponent], [typeof i16.CommonModule, typeof i17.TangoTicketUsersRoutingModule, typeof i18.FormsModule, typeof i19.CommonSharedModule, typeof i18.ReactiveFormsModule, typeof i20.NgbModalModule, typeof i20.NgbModule, typeof i21.NgxDaterangepickerMd], never>;
|
|
22
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoTicketUsersModule>;
|
|
23
27
|
}
|