tango-app-ui-manage-tickets 3.3.0-beta.9 → 3.7.0-beta.1

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.
@@ -0,0 +1,127 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, ElementRef } from '@angular/core';
2
+ import { GlobalStateService } from 'tango-app-ui-global';
3
+ import { TicketService } from '../../services/ticket.service';
4
+ import { ToastService } from 'tango-app-ui-shared';
5
+ import { ExcelService } from '../../services/excel.service';
6
+ import { FormBuilder, FormControl } from '@angular/forms';
7
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
+ import * as i0 from "@angular/core";
9
+ export declare class FootfallDicComponent implements OnInit, OnDestroy {
10
+ private gs;
11
+ private ticketService;
12
+ private cd;
13
+ private toast;
14
+ private modalService;
15
+ private excelservice;
16
+ private fb;
17
+ searchValue: any;
18
+ loading: boolean;
19
+ noData: boolean;
20
+ sortedColumn: any;
21
+ sortDirection: any;
22
+ footfallView: boolean;
23
+ headerFilters: any;
24
+ footfallList_req: any;
25
+ form: any;
26
+ selectedRevopsType: FormControl;
27
+ revopsTypeArray: any;
28
+ type: any;
29
+ pendingArray: any;
30
+ actionStatus: FormControl;
31
+ filterForm: any;
32
+ ticketData: any;
33
+ selectedStores: any[];
34
+ allSelected: boolean;
35
+ stores: any[];
36
+ private readonly destroy$;
37
+ constructor(gs: GlobalStateService, ticketService: TicketService, cd: ChangeDetectorRef, toast: ToastService, modalService: NgbModal, excelservice: ExcelService, fb: FormBuilder);
38
+ ngOnDestroy(): void;
39
+ ngOnInit(): void;
40
+ getFootfallSummaryData: any;
41
+ getTicketSummary(): void;
42
+ offset: number;
43
+ limit: number;
44
+ isExport: any;
45
+ footfallListData: any;
46
+ totalItems: any;
47
+ paginationSizes: number[];
48
+ getTicketList(): void;
49
+ currentPage: any;
50
+ pageSize: any;
51
+ onPageChange(pageOffset: number): void;
52
+ onPageSizeChange(pageSize: number): void;
53
+ setpageSize(): any;
54
+ searchData(): void;
55
+ exportXLSX(): void;
56
+ onSort(column: string): void;
57
+ storeCount: any;
58
+ searchStoresData(): void;
59
+ StoresSearchValue: any;
60
+ getStores(): void;
61
+ getTaggedStoresData: any;
62
+ typeChange(event: any): void;
63
+ pendingChange(event: any): void;
64
+ RevopsTypeChange(event: any): void;
65
+ footfalloffset: number;
66
+ footfalllimit: number;
67
+ footfallTicketsData: any;
68
+ storeIdValue: any;
69
+ dataReset(): void;
70
+ dataApply(): void;
71
+ imageUrl: any;
72
+ dataIndexId: any;
73
+ dateString: any;
74
+ footfallNoData: boolean;
75
+ footfallLoading: boolean;
76
+ private lastSelectedTicket;
77
+ hasInitialStoreSynced: boolean;
78
+ addStoreIfNotExists(store: any): void;
79
+ dataStoreView(data?: any): void;
80
+ isCollapsed: boolean;
81
+ toggleSidebar(): void;
82
+ matchedType: any;
83
+ matchedArray: any;
84
+ onFilterApply(): void;
85
+ pageSizeFootfall: any;
86
+ footfallcurrentPage: any;
87
+ onFootfallPageChange(pageOffset: number): void;
88
+ onFootfallPageSizeChange(pageSize: number): void;
89
+ totalItemsFootfall: any;
90
+ setFootfallpageSize(): any;
91
+ toggleStoreSelection(store: any): void;
92
+ toggleSelectAll(): void;
93
+ isSelected(store: any): boolean;
94
+ imgtoggleSelectAll(): void;
95
+ selectedImagesList: any[];
96
+ selectedDuplicateImagesList: any[];
97
+ selectedHousekeepingImagesList: any[];
98
+ selectedEmployeeImagesList: any[];
99
+ houseKeepingACCount: any;
100
+ employeeACCount: any;
101
+ duplicateACCount: any;
102
+ cloneWithoutSelected(obj: any): any;
103
+ allSelectValue: boolean;
104
+ cloneWithoutSelected1(data: any): any;
105
+ onImageCheckboxChange1(data: any, category: string, parentOriginal?: any): void;
106
+ selectAllValue(): void;
107
+ areAllCheckboxesSelected(): boolean;
108
+ checkedValue: boolean;
109
+ onImageCheckboxChange(data: any, category: string, parentOriginal?: any): void;
110
+ commentText: any;
111
+ submitValue(status?: string, category?: string): void;
112
+ searchTerm: any;
113
+ get filteredStores(): any[];
114
+ onImageError(event: any): void;
115
+ backToNavigation(): void;
116
+ zoomPopup: ElementRef;
117
+ popupvalue: any;
118
+ popupType: any;
119
+ popupOpen(type: any, value: any): void;
120
+ cancel(): void;
121
+ ClusterList: any;
122
+ getAllGroups(): void;
123
+ groups: any;
124
+ ongroupSelect(event: any): void;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<FootfallDicComponent, never>;
126
+ static ɵcmp: i0.ɵɵComponentDeclaration<FootfallDicComponent, "lib-footfall-dic", never, {}, {}, never, never, false, never>;
127
+ }
@@ -0,0 +1,33 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { TicketService } from '../../services/ticket.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GroupSelectComponent implements OnInit, OnChanges {
5
+ private cd;
6
+ private authService;
7
+ onClick(event: MouseEvent): void;
8
+ items: any;
9
+ searchField: string;
10
+ multi: boolean;
11
+ idField: string;
12
+ selectedValues: any;
13
+ disabled: boolean | undefined;
14
+ label: string;
15
+ selected: EventEmitter<any>;
16
+ filteredValues: any;
17
+ showDropdown: boolean;
18
+ searchValue: string;
19
+ instanceId: any;
20
+ constructor(cd: ChangeDetectorRef, authService: TicketService);
21
+ ngOnInit(): void;
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ initializeItems(): void;
24
+ updateSelectedValues(): void;
25
+ openDropdown(event: any): void;
26
+ onInput(event: any): void;
27
+ onSelect(event: any, item: any): void;
28
+ onSelectAll(event: any): void;
29
+ emitSelectedValues(values: any[]): void;
30
+ checkIfAllSelected(): any;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupSelectComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupSelectComponent, "lib-group-select", never, { "items": { "alias": "items"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "selectedValues": { "alias": "selectedValues"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
33
+ }
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { TicketService } from '../../services/ticket.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ReactiveSelectComponent implements ControlValueAccessor, OnInit {
6
+ private apiService;
7
+ private cd;
8
+ private onTouched;
9
+ private onChanged;
10
+ isDisabled: boolean;
11
+ idField: string;
12
+ nameField: string;
13
+ label: string;
14
+ data: any;
15
+ itemChange: EventEmitter<any>;
16
+ protected isOpened: boolean;
17
+ protected selected: Record<string, any> | null;
18
+ protected selectedId: string | number;
19
+ instanceId: string;
20
+ constructor(apiService: TicketService, cd: ChangeDetectorRef);
21
+ ngOnInit(): void;
22
+ writeValue(val: string | number): void;
23
+ registerOnChange(fn: any): void;
24
+ registerOnTouched(fn: any): void;
25
+ setDisabledState?(isDisabled: boolean): void;
26
+ onSelect(item: Record<string, any>): void;
27
+ onClick(event: MouseEvent): void;
28
+ isComponentClicked(targetElement: HTMLElement): boolean;
29
+ openDropdown(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveSelectComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReactiveSelectComponent, "lib-reactive-select", never, { "isDisabled": { "alias": "isDisabled"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "itemChange": "itemChange"; }, never, never, false, never>;
32
+ }
@@ -78,6 +78,7 @@ export declare class TicketsComponent implements OnInit, OnDestroy {
78
78
  clientTickets(clientId: any, storeId: any, clientName: any): void;
79
79
  storeTickets(clientId: any, storeId: any, clientName: any): void;
80
80
  userTickets(clientId: any, storeId: any): void;
81
+ setpageSize(): number;
81
82
  static ɵfac: i0.ɵɵFactoryDeclaration<TicketsComponent, never>;
82
83
  static ɵcmp: i0.ɵɵComponentDeclaration<TicketsComponent, "lib-tickets", never, {}, {}, never, never, false, never>;
83
84
  }
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { GlobalStateService } from 'tango-app-ui-global';
3
- import { Observable } from "rxjs";
3
+ import { BehaviorSubject, Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TicketService {
6
6
  private http;
@@ -10,6 +10,10 @@ export declare class TicketService {
10
10
  auditApiUrl: any;
11
11
  auditmetricApiUrl: any;
12
12
  zoneauditApiUrl: any;
13
+ footfallDirapiUrl: any;
14
+ footfallCDN: any;
15
+ trafficApiUrl: any;
16
+ dropDownTrigger: BehaviorSubject<any>;
13
17
  constructor(http: HttpClient, gs: GlobalStateService);
14
18
  getUserList(params: any): Observable<any>;
15
19
  exportInstallationList(data: any): Observable<ArrayBuffer>;
@@ -33,6 +37,13 @@ export declare class TicketService {
33
37
  getstoreList(data: any): Observable<Object>;
34
38
  getAuditImages(data: any): Observable<Object>;
35
39
  ExportAuditImagesasxlsx(data: any): Observable<ArrayBuffer>;
40
+ getTicketSummaryApi(client: any, fromDate: any, toDate: any): Observable<any>;
41
+ getTicketListApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
42
+ getTicketListExportApi(client: any, fromDate: any, toDate: any, searchvalue: any, limit: any, offset: any, isExport: any, sortBy: any, sortOrder: any): Observable<any>;
43
+ getTicketsApi(store: any, fromDate: any, toDate: any, revopsType: any, status: any, action: any, offset: any, limit: any): Observable<any>;
44
+ getTaggedStoresApi(client: any, fromDate: any, toDate: any, searchValue: any, clusters: any): Observable<any>;
45
+ getUpdateStatusApi(data: any): Observable<any>;
46
+ getclusters(data: any): Observable<Object>;
36
47
  static ɵfac: i0.ɵɵFactoryDeclaration<TicketService, never>;
37
48
  static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
38
49
  }
@@ -7,12 +7,15 @@ import * as i5 from "./components/audit-metrics/audit-metrics.component";
7
7
  import * as i6 from "./components/re-trigger/re-trigger.component";
8
8
  import * as i7 from "./components/audit-log/audit-log.component";
9
9
  import * as i8 from "./components/count/count.component";
10
- import * as i9 from "@angular/common";
11
- import * as i10 from "./tango-manage-tickets-routing.module";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "tango-app-ui-shared";
10
+ import * as i9 from "./components/footfall-dic/footfall-dic.component";
11
+ import * as i10 from "./components/reactive-select/reactive-select.component";
12
+ import * as i11 from "./components/group-select/group-select.component";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "./tango-manage-tickets-routing.module";
15
+ import * as i14 from "@angular/forms";
16
+ import * as i15 from "tango-app-ui-shared";
14
17
  export declare class TangoManageTicketsModule {
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageTicketsModule, [typeof i1.TangoManageTicketsComponent, typeof i2.TicketsComponent, typeof i3.AddCsmModalComponent, typeof i4.CommentModelComponent, typeof i5.AuditMetricsComponent, typeof i6.ReTriggerComponent, typeof i7.AuditLogComponent, typeof i8.CountComponent], [typeof i9.CommonModule, typeof i10.TangoManageTicketsRoutingModule, typeof i11.FormsModule, typeof i12.CommonSharedModule], never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageTicketsModule, [typeof i1.TangoManageTicketsComponent, typeof i2.TicketsComponent, typeof i3.AddCsmModalComponent, typeof i4.CommentModelComponent, typeof i5.AuditMetricsComponent, typeof i6.ReTriggerComponent, typeof i7.AuditLogComponent, typeof i8.CountComponent, typeof i9.FootfallDicComponent, typeof i10.ReactiveSelectComponent, typeof i11.GroupSelectComponent], [typeof i12.CommonModule, typeof i13.TangoManageTicketsRoutingModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.CommonSharedModule], never>;
17
20
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsModule>;
18
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-manage-tickets",
3
- "version": "3.3.0-beta.9",
3
+ "version": "3.7.0-beta.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"